zen-gitsync 2.16.49 → 2.16.50
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/README.md +8 -6
- package/package.json +1 -1
- package/src/ui/public/assets/{AgentView-CZhZ-RtZ.js → AgentView-BgWYXDtl.js} +3 -3
- package/src/ui/public/assets/AppVersionBadge-BCIsBONZ.js +2 -0
- package/src/ui/public/assets/BranchSelector-BobZDQ3H.js +1 -0
- package/src/ui/public/assets/CommitForm-B5gIj9Ib.js +6 -0
- package/src/ui/public/assets/CommonDialog-CpMIq-Hr.js +1 -0
- package/src/ui/public/assets/EditorView-CH98t3V5.js +1 -0
- package/src/ui/public/assets/{FlowExecutionViewer-CuID17Kg.js → FlowExecutionViewer-DlsUDtqp.js} +1 -1
- package/src/ui/public/assets/FlowOrchestrationWorkspace-18v5NKYl.js +21 -0
- package/src/ui/public/assets/LogList-BYiEpIUO.js +7 -0
- package/src/ui/public/assets/MindmapView-CUC7icIE.js +2 -0
- package/src/ui/public/assets/MonitorView-ggIzE5af.js +1 -0
- package/src/ui/public/assets/ProjectStartupButton-BatNYldf.js +1 -0
- package/src/ui/public/assets/RemoteManagerDialog-Be7FyEZR.js +4 -0
- package/src/ui/public/assets/RemoteRepoCard-5kcQFW__.js +7 -0
- package/src/ui/public/assets/SourceMapView-C5bto8pg.js +3 -0
- package/src/ui/public/assets/SvgIcon-uPiOGYUG.js +1 -0
- package/src/ui/public/assets/UserInputNode-BaWZXnvN.js +1 -0
- package/src/ui/public/assets/WorkbenchView-CR9FKLxj.css +1 -0
- package/src/ui/public/assets/WorkbenchView-DYS6reGa.js +31 -0
- package/src/ui/public/assets/{_plugin-vue_export-helper-VkarRGOe.js → _plugin-vue_export-helper-SBtt0pJv.js} +5 -5
- package/src/ui/public/assets/{configStore-vksEBmTc.js → configStore-B93BSbxD.js} +1 -1
- package/src/ui/public/assets/{element-plus-C3mePHEv.js → element-plus-DhvzaBj9.js} +3 -3
- package/src/ui/public/assets/{flow-mindmap-BzX-PWap.js → flow-mindmap-iFPJqeGK.js} +12 -12
- package/src/ui/public/assets/index-CfUzUz7b.js +98 -0
- package/src/ui/public/assets/index-Ci3lbjk2.css +1 -0
- package/src/ui/public/assets/{office-docx-pY9m7PMg.js → office-docx-lTQk2xZI.js} +6 -6
- package/src/ui/public/assets/{office-excel-F21cTf8V.js → office-excel-DLpZO4xP.js} +1 -1
- package/src/ui/public/assets/{office-pptx-XHr0prIp.js → office-pptx-COhadcNP.js} +1 -1
- package/src/ui/public/assets/{toolsStore-CHBnAWFM.js → toolsStore-vZowzNpd.js} +1 -1
- package/src/ui/public/assets/{vendor-EBzJAuo1.js → vendor-CjAdbnlA.js} +42 -42
- package/src/ui/public/assets/vue-flow-Cn2Hs-io.js +39 -0
- package/src/ui/public/index.html +11 -11
- package/src/ui/server/utils/directoryGitState.js +92 -7
- package/src/ui/server/utils/directoryGitState.test.js +135 -2
- package/src/ui/public/assets/AppVersionBadge-CGLBfOhF.js +0 -2
- package/src/ui/public/assets/BranchSelector-DO0xkvYF.js +0 -1
- package/src/ui/public/assets/CommitForm-ickhPe9o.js +0 -6
- package/src/ui/public/assets/CommonDialog-CliNZp_i.js +0 -1
- package/src/ui/public/assets/EditorView-Bj5Buc8r.js +0 -1
- package/src/ui/public/assets/FlowOrchestrationWorkspace-BWynSUhQ.js +0 -21
- package/src/ui/public/assets/LogList-C8fYaGlz.js +0 -7
- package/src/ui/public/assets/MindmapView-Co2ys9e3.js +0 -2
- package/src/ui/public/assets/MonitorView-BxFwNYjB.js +0 -1
- package/src/ui/public/assets/ProjectStartupButton-DKspkGJC.js +0 -1
- package/src/ui/public/assets/RemoteManagerDialog-CRq596ya.js +0 -4
- package/src/ui/public/assets/RemoteRepoCard-9_Y3iDT6.js +0 -7
- package/src/ui/public/assets/SourceMapView-CFv9JUGZ.js +0 -3
- package/src/ui/public/assets/SvgIcon-koi3MuB8.js +0 -1
- package/src/ui/public/assets/UserInputNode-CUTCIcEc.js +0 -1
- package/src/ui/public/assets/WorkbenchView-Bp2YaSGS.css +0 -1
- package/src/ui/public/assets/WorkbenchView-COoRqTST.js +0 -28
- package/src/ui/public/assets/index-C3zoLat6.css +0 -1
- package/src/ui/public/assets/index-Cn4CA40E.js +0 -97
- package/src/ui/public/assets/vue-flow-DB6byJul.js +0 -39
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{a as e,n as t,r as n,t as r}from"./rolldown-runtime-BM3Ffeng.js";import{Ar as i,Cr as a,Dr as o,Er as s,Fr as c,
|
|
2
|
-
Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function be(e){throw e}function xe(e){console.warn(`[Vue warn] ${e.message}`)}function V(e,t,n,r){let i=(n||Cr)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}function Se(e,t,n=!1,r=[],i=Object.create(null)){}function Ce(e,t,n){return!1}function we(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function Te(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function Ee(e,t){for(let n of e.params)for(let e of ke(n))t(e)}function De(e,t){for(let n of e.body)if(n.type===`VariableDeclaration`){if(n.declare)continue;for(let e of n.declarations)for(let n of ke(e.id))t(n)}else if(n.type===`FunctionDeclaration`||n.type===`ClassDeclaration`){if(n.declare||!n.id)continue;t(n.id)}else Oe(n)&&H(n,!0,t)}function Oe(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function H(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of ke(e.id))n(t)}function ke(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?ke(n.argument,t):ke(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&ke(e,t)});break;case`RestElement`:ke(e.argument,t);break;case`AssignmentPattern`:ke(e.left,t);break}return t}function Ae(e){return Dr.includes(e.type)?Ae(e.expression):e}function je(e){switch(e){case`Teleport`:case`teleport`:return Dn;case`Suspense`:case`suspense`:return On;case`KeepAlive`:case`keep-alive`:return kn;case`BaseTransition`:case`base-transition`:return An}}function Me(e,t,n=t.length){return Ne({offset:e.offset,line:e.line,column:e.column},t,n)}function Ne(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Pe(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function Fe(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(
|
|
3
|
-
`);else if(at(i.content)){let a=e[t-1]&&e[t-1].type,o=e[t+1]&&e[t+1].type;!a||!o||n&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&ot(i.content)))?(r=!0,e[t]=null):i.content=` `}else n&&(i.content=st(i.content))}return r?e.filter(Boolean):e}function at(e){for(let t=0;t<e.length;t++)if(!pe(e.charCodeAt(t)))return!1;return!0}function ot(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function st(e){let t=``,n=!1;for(let r=0;r<e.length;r++)pe(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function ct(e){(Q[0]||Gr).children.push(e)}function W(e,t){return{start:$.getPos(e),end:t==null?t:$.getPos(t),source:t==null?t:U(e,t)}}function lt(e){return W(e.start.offset,e.end.offset)}function ut(e,t){e.end=$.getPos(t),e.source=U(e.start.offset,t)}function dt(e){let t={type:6,name:e.rawName,nameLoc:W(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function ft(e,t=!1,n,r=0,i=0){return L(e,t,n,r)}function pt(e,t,n){X.onError(V(e,W(t,t),void 0,n))}function mt(){$.reset(),qr=null,Z=null,Jr=``,Yr=-1,Xr=-1,Q.length=0}function ht(e,t){if(mt(),Kr=e,X=
|
|
1
|
+
import{a as e,n as t,r as n,t as r}from"./rolldown-runtime-BM3Ffeng.js";import{Ar as i,Cr as a,Dr as o,Er as s,Fr as c,Hr as l,Ir as u,Kr as d,Lr as f,Mr as p,Nr as m,Or as h,Pr as g,Rr as _,Sr as v,Tr as y,Ur as b,Wr as x,an as S,br as C,jr as w,kr as T,on as E,vr as D,wr as O,xr as k,yr as A}from"./element-plus-DhvzaBj9.js";function j(e){Object.getOwnPropertySymbols(e).forEach(t=>{dr[t]=e[t]})}function M(e,t=``){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Y}}function N(e,t,n,r,i,a,o,s=!1,c=!1,l=!1,u=Y){return e&&(s?(e.helper(jn),e.helper(ue(e.inSSR,l))):e.helper(le(e.inSSR,l)),o&&e.helper(Un)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:s,disableTracking:c,isComponent:l,loc:u}}function P(e,t=Y){return{type:17,loc:t,elements:e}}function F(e,t=Y){return{type:15,loc:t,properties:e}}function I(e,t){return{type:16,loc:Y,key:c(e)?L(e,!0):e,value:t}}function L(e,t=!1,n=Y,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function R(e,t){return{type:5,loc:t,content:c(e)?L(e,!1,t):e}}function z(e,t=Y){return{type:8,loc:t,children:e}}function B(e,t=[],n=Y){return{type:14,loc:n,callee:e,arguments:t}}function ee(e,t=void 0,n=!1,r=!1,i=Y){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function te(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Y}}function ne(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Y}}function re(e){return{type:21,body:e,loc:Y}}function ie(e){return{type:22,elements:e,loc:Y}}function ae(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Y}}function oe(e,t){return{type:24,left:e,right:t,loc:Y}}function se(e){return{type:25,expressions:e,loc:Y}}function ce(e){return{type:26,returns:e,loc:Y}}function le(e,t){return e||t?Pn:Fn}function ue(e,t){return e||t?Mn:Nn}function de(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(le(r,e.isComponent)),t(jn),t(ue(r,e.isComponent)))}function fe(e){return e>=97&&e<=122||e>=65&&e<=90}function pe(e){return e===32||e===10||e===9||e===12||e===13}function me(e){return e===47||e===62||pe(e)}function he(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function ge(e,{compatConfig:t}){let n=t&&t[e];return e===`MODE`?n||3:n}function _e(e,t){let n=ge(`MODE`,t),r=ge(e,t);return n===3?r===!0:r!==!1}function ve(e,t,n,...r){let i=_e(e,t);return i&&ye(e,t,n,...r),i}function ye(e,t,n,...r){if(ge(e,t)===`suppress-warning`)return;let{message:i,link:a}=xr[e],o=`(deprecation ${e}) ${typeof i==`function`?i(...r):i}${a?`
|
|
2
|
+
Details: ${a}`:``}`,s=SyntaxError(o);s.code=e,n&&(s.loc=n),t.onWarn(s)}function be(e){throw e}function xe(e){console.warn(`[Vue warn] ${e.message}`)}function V(e,t,n,r){let i=(n||Cr)[e]+(r||``),a=SyntaxError(String(i));return a.code=e,a.loc=t,a}function Se(e,t,n=!1,r=[],i=Object.create(null)){}function Ce(e,t,n){return!1}function we(e,t){if(e&&(e.type===`ObjectProperty`||e.type===`ArrayPattern`)){let e=t.length;for(;e--;){let n=t[e];if(n.type===`AssignmentExpression`)return!0;if(n.type!==`ObjectProperty`&&!n.type.endsWith(`Pattern`))break}}return!1}function Te(e){let t=e.length;for(;t--;){let n=e[t];if(n.type===`NewExpression`)return!0;if(n.type!==`MemberExpression`)break}return!1}function Ee(e,t){for(let n of e.params)for(let e of ke(n))t(e)}function De(e,t){for(let n of e.body)if(n.type===`VariableDeclaration`){if(n.declare)continue;for(let e of n.declarations)for(let n of ke(e.id))t(n)}else if(n.type===`FunctionDeclaration`||n.type===`ClassDeclaration`){if(n.declare||!n.id)continue;t(n.id)}else Oe(n)&&H(n,!0,t)}function Oe(e){return e.type===`ForOfStatement`||e.type===`ForInStatement`||e.type===`ForStatement`}function H(e,t,n){let r=e.type===`ForStatement`?e.init:e.left;if(r&&r.type===`VariableDeclaration`&&(r.kind===`var`?t:!t))for(let e of r.declarations)for(let t of ke(e.id))n(t)}function ke(e,t=[]){switch(e.type){case`Identifier`:t.push(e);break;case`MemberExpression`:let n=e;for(;n.type===`MemberExpression`;)n=n.object;t.push(n);break;case`ObjectPattern`:for(let n of e.properties)n.type===`RestElement`?ke(n.argument,t):ke(n.value,t);break;case`ArrayPattern`:e.elements.forEach(e=>{e&&ke(e,t)});break;case`RestElement`:ke(e.argument,t);break;case`AssignmentPattern`:ke(e.left,t);break}return t}function Ae(e){return Dr.includes(e.type)?Ae(e.expression):e}function je(e){switch(e){case`Teleport`:case`teleport`:return Dn;case`Suspense`:case`suspense`:return On;case`KeepAlive`:case`keep-alive`:return kn;case`BaseTransition`:case`base-transition`:return An}}function Me(e,t,n=t.length){return Ne({offset:e.offset,line:e.line,column:e.column},t,n)}function Ne(e,t,n=t.length){let r=0,i=-1;for(let e=0;e<n;e++)t.charCodeAt(e)===10&&(r++,i=e);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Pe(e,t){if(!e)throw Error(t||`unexpected compiler condition`)}function Fe(e,t,n=!1){for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&(n||i.exp)&&(c(t)?i.name===t:t.test(i.name)))return i}}function Ie(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name===`bind`&&(a.exp||r)&&Le(a.arg,t))return a}}function Le(e,t){return!!(e&&Or(e)&&e.content===t)}function Re(e){return e.props.some(e=>e.type===7&&e.name===`bind`&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function ze(e){return e.type===5||e.type===2}function Be(e){return e.type===7&&e.name===`slot`}function Ve(e){return e.type===1&&e.tagType===3}function He(e){return e.type===1&&e.tagType===2}function Ue(e,t=[]){if(e&&!c(e)&&e.type===14){let n=e.callee;if(!c(n)&&Hr.has(n))return Ue(e.arguments[0],t.concat(e))}return[e,t]}function We(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!c(i)&&i.type===14){let e=Ue(i);i=e[0],a=e[1],o=a[a.length-1]}if(i==null||c(i))r=F([t]);else if(i.type===14){let e=i.arguments[0];!c(e)&&e.type===15?Ge(t,e)||e.properties.unshift(t):i.callee===$n?r=B(n.helper(Jn),[F([t]),i]):i.arguments.unshift(F([t])),!r&&(r=i)}else i.type===15?(Ge(t,i)||i.properties.unshift(t),r=i):(r=B(n.helper(Jn),[F([t]),i]),o&&o.callee===Qn&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function Ge(e,t){let n=!1;if(e.key.type===4){let r=e.key.content;n=t.properties.some(e=>e.key.type===4&&e.key.content===r)}return n}function Ke(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,n)=>t===`-`?`_`:e.charCodeAt(n).toString())}`}function qe(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){let r=e.props[n];if(r.type===7&&(qe(r.arg,t)||qe(r.exp,t)))return!0}return e.children.some(e=>qe(e,t));case 11:return qe(e.source,t)?!0:e.children.some(e=>qe(e,t));case 9:return e.branches.some(e=>qe(e,t));case 10:return qe(e.condition,t)?!0:e.children.some(e=>qe(e,t));case 4:return!e.isStatic&&Ar(e.content)&&!!t[e.content];case 8:return e.children.some(e=>w(e)&&qe(e,t));case 5:case 12:return qe(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Je(e){return e.type===14&&e.callee===lr?e.arguments[1].returns:e}function Ye(e){let t=e.loc,n=e.content,r=n.match(Ur);if(!r)return;let[,i,a]=r,o=(e,n,r=!1)=>{let i=t.start.offset+n;return ft(e,!1,W(i,i+e.length),0,+!!r)},s={source:o(a.trim(),n.indexOf(a,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1},c=i.trim().replace(ti,``).trim(),l=i.indexOf(c),u=c.match(ei);if(u){c=c.replace(ei,``).trim();let e=u[1].trim(),t;if(e&&(t=n.indexOf(e,l+c.length),s.key=o(e,t,!0)),u[2]){let r=u[2].trim();r&&(s.index=o(r,n.indexOf(r,s.key?t+e.length:l+c.length),!0))}}return c&&(s.value=o(c,l,!0)),s}function U(e,t){return Kr.slice(e,t)}function Xe(e){$.inSFCRoot&&(qr.innerLoc=W(e+1,e+1)),ct(qr);let{tag:t,ns:n}=qr;n===0&&X.isPreTag(t)&&Zr++,X.isVoidTag(t)?Qe(qr,e):(Q.unshift(qr),(n===1||n===2)&&($.inXML=!0)),qr=null}function Ze(e,t,n){{let t=Q[0]&&Q[0].tag;t!==`script`&&t!==`style`&&e.includes(`&`)&&(e=X.decodeEntities(e,!1))}let r=Q[0]||Gr,i=r.children[r.children.length-1];i&&i.type===2?(i.content+=e,ut(i.loc,n)):r.children.push({type:2,content:e,loc:W(t,n)})}function Qe(e,t,n=!1){n?ut(e.loc,et(t,60)):ut(e.loc,$e(t,62)+1),$.inSFCRoot&&(e.children.length?e.innerLoc.end=O({},e.children[e.children.length-1].loc.end):e.innerLoc.end=O({},e.innerLoc.start),e.innerLoc.source=U(e.innerLoc.start.offset,e.innerLoc.end.offset));let{tag:r,ns:i,children:a}=e;if(Qr||(r===`slot`?e.tagType=2:tt(e)?e.tagType=3:nt(e)&&(e.tagType=1)),$.inRCDATA||(e.children=it(a)),i===0&&X.isIgnoreNewlineTag(r)){let e=a[0];e&&e.type===2&&(e.content=e.content.replace(/^\r?\n/,``))}i===0&&X.isPreTag(r)&&Zr--,$r===e&&(Qr=$.inVPre=!1,$r=null),$.inXML&&(Q[0]?Q[0].ns:X.ns)===0&&($.inXML=!1);{let t=e.props;if(_e(`COMPILER_V_IF_V_FOR_PRECEDENCE`,X)){let n=!1,r=!1;for(let i=0;i<t.length;i++){let a=t[i];if(a.type===7&&(a.name===`if`?n=!0:a.name===`for`&&(r=!0)),n&&r){ye(`COMPILER_V_IF_V_FOR_PRECEDENCE`,X,e.loc);break}}}if(!$.inSFCRoot&&_e(`COMPILER_NATIVE_TEMPLATE`,X)&&e.tag===`template`&&!tt(e)){ye(`COMPILER_NATIVE_TEMPLATE`,X,e.loc);let t=Q[0]||Gr,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}let n=t.find(e=>e.type===6&&e.name===`inline-template`);n&&ve(`COMPILER_INLINE_TEMPLATE`,X,n.loc)&&e.children.length&&(n.value={type:2,content:U(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function $e(e,t){let n=e;for(;Kr.charCodeAt(n)!==t&&n<Kr.length-1;)n++;return n}function et(e,t){let n=e;for(;Kr.charCodeAt(n)!==t&&n>=0;)n--;return n}function tt({tag:e,props:t}){if(e===`template`){for(let e=0;e<t.length;e++)if(t[e].type===7&&ni.has(t[e].name))return!0}return!1}function nt({tag:e,props:t}){if(X.isCustomElement(e))return!1;if(e===`component`||rt(e.charCodeAt(0))||je(e)||X.isBuiltInComponent&&X.isBuiltInComponent(e)||X.isNativeTag&&!X.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){let n=t[e];if(n.type===6){if(n.name===`is`&&n.value&&(n.value.content.startsWith(`vue:`)||ve(`COMPILER_IS_ON_ELEMENT`,X,n.loc)))return!0}else if(n.name===`bind`&&Le(n.arg,`is`)&&ve(`COMPILER_IS_ON_ELEMENT`,X,n.loc))return!0}return!1}function rt(e){return e>64&&e<91}function it(e,t){let n=X.whitespace!==`preserve`,r=!1;for(let t=0;t<e.length;t++){let i=e[t];if(i.type===2)if(Zr)i.content=i.content.replace(ri,`
|
|
3
|
+
`);else if(at(i.content)){let a=e[t-1]&&e[t-1].type,o=e[t+1]&&e[t+1].type;!a||!o||n&&(a===3&&(o===3||o===1)||a===1&&(o===3||o===1&&ot(i.content)))?(r=!0,e[t]=null):i.content=` `}else n&&(i.content=st(i.content))}return r?e.filter(Boolean):e}function at(e){for(let t=0;t<e.length;t++)if(!pe(e.charCodeAt(t)))return!1;return!0}function ot(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function st(e){let t=``,n=!1;for(let r=0;r<e.length;r++)pe(e.charCodeAt(r))?n||=(t+=` `,!0):(t+=e[r],n=!1);return t}function ct(e){(Q[0]||Gr).children.push(e)}function W(e,t){return{start:$.getPos(e),end:t==null?t:$.getPos(t),source:t==null?t:U(e,t)}}function lt(e){return W(e.start.offset,e.end.offset)}function ut(e,t){e.end=$.getPos(t),e.source=U(e.start.offset,t)}function dt(e){let t={type:6,name:e.rawName,nameLoc:W(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){let n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function ft(e,t=!1,n,r=0,i=0){return L(e,t,n,r)}function pt(e,t,n){X.onError(V(e,W(t,t),void 0,n))}function mt(){$.reset(),qr=null,Z=null,Jr=``,Yr=-1,Xr=-1,Q.length=0}function ht(e,t){if(mt(),Kr=e,X=O({},Wr),t){let e;for(e in t)t[e]!=null&&(X[e]=t[e])}if(!X.decodeEntities)throw Error(`[@vue/compiler-core] decodeEntities option is required in browser builds.`);$.mode=X.parseMode===`html`?1:X.parseMode===`sfc`?2:0,$.inXML=X.ns===1||X.ns===2;let n=t&&t.delimiters;n&&($.delimiterOpen=he(n[0]),$.delimiterClose=he(n[1]));let r=Gr=M([],e);return $.parse(Kr),r.loc=W(0,e.length),r.children=it(r.children),Gr=null,r}function gt(e,t){vt(e,void 0,t,_t(e,e.children[0]))}function _t(e,t){let{children:n}=e;return n.length===1&&t.type===1&&!He(t)}function vt(e,t,n,r=!1,i=!1){let{children:a}=e,s=[];for(let t=0;t<a.length;t++){let o=a[t];if(o.type===1&&o.tagType===0){let e=r?0:yt(o,n);if(e>0){if(e>=2){o.codegenNode.patchFlag=-1,s.push(o);continue}}else{let e=o.codegenNode;if(e.type===13){let t=e.patchFlag;if((t===void 0||t===512||t===1)&&xt(o,n)>=2){let t=G(o);t&&(e.props=n.hoist(t))}e.dynamicProps&&=n.hoist(e.dynamicProps)}}}else if(o.type===12&&(r?0:yt(o,n))>=2){s.push(o);continue}if(o.type===1){let t=o.tagType===1;t&&n.scopes.vSlot++,vt(o,e,n,!1,i),t&&n.scopes.vSlot--}else if(o.type===11)vt(o,e,n,o.children.length===1,!0);else if(o.type===9)for(let t=0;t<o.branches.length;t++)vt(o.branches[t],e,n,o.branches[t].children.length===1,i)}let c=!1;if(s.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&o(e.codegenNode.children))e.codegenNode.children=l(P(e.codegenNode.children)),c=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!o(e.codegenNode.children)&&e.codegenNode.children.type===15){let t=u(e.codegenNode,`default`);t&&(t.returns=l(P(t.returns)),c=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!o(t.codegenNode.children)&&t.codegenNode.children.type===15){let n=Fe(e,`slot`,!0),r=n&&n.arg&&u(t.codegenNode,n.arg);r&&(r.returns=l(P(r.returns)),c=!0)}}if(!c)for(let e of s)e.codegenNode=n.cache(e.codegenNode);function l(e){let t=n.cache(e);return i&&n.hmr&&(t.needArraySpread=!0),t}function u(e,t){if(e.children&&!o(e.children)&&e.children.type===15){let n=e.children.properties.find(e=>e.key===t||e.key.content===t);return n&&n.value}}s.length&&n.transformHoist&&n.transformHoist(a,n,e)}function yt(e,t){let{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;let r=n.get(e);if(r!==void 0)return r;let i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!==`svg`&&e.tag!==`foreignObject`&&e.tag!==`math`)return 0;if(i.patchFlag===void 0){let r=3,a=xt(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let i=0;i<e.children.length;i++){let a=yt(e.children[i],t);if(a===0)return n.set(e,0),0;a<r&&(r=a)}if(r>1)for(let i=0;i<e.props.length;i++){let a=e.props[i];if(a.type===7&&a.name===`bind`&&a.exp){let i=yt(a.exp,t);if(i===0)return n.set(e,0),0;i<r&&(r=i)}}if(i.isBlock){for(let t=0;t<e.props.length;t++)if(e.props[t].type===7)return n.set(e,0),0;t.removeHelper(jn),t.removeHelper(ue(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(le(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return yt(e.content,t);case 4:return e.constType;case 8:let a=3;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(c(r)||u(r))continue;let i=yt(r,t);if(i===0)return 0;i<a&&(a=i)}return a;case 20:return 2;default:return 0}}function bt(e,t){if(e.type===14&&!c(e.callee)&&ii.has(e.callee)){let n=e.arguments[0];if(n.type===4)return yt(n,t);if(n.type===14)return bt(n,t)}return 0}function xt(e,t){let n=3,r=G(e);if(r&&r.type===15){let{properties:e}=r;for(let r=0;r<e.length;r++){let{key:i,value:a}=e[r],o=yt(i,t);if(o===0)return o;o<n&&(n=o);let s;if(s=a.type===4?yt(a,t):a.type===14?bt(a,t):0,s===0)return s;s<n&&(n=s)}}return n}function G(e){let t=e.codegenNode;if(t.type===13)return t.props}function K(e,{filename:t=``,prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:s=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:d=C,isCustomElement:f=C,expressionPlugins:p=[],scopeId:m=null,slotted:h=!0,ssr:g=!1,inSSR:_=!1,ssrCssVars:y=``,bindingMetadata:b=D,inline:x=!1,isTS:S=!1,onError:w=be,onWarn:T=xe,compatConfig:E}){let O=t.replace(/\?.*$/,``).match(/([^/\\]+)\.\w+$/),k={filename:t,selfName:O&&a(v(O[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:o,nodeTransforms:s,directiveTransforms:l,transformHoist:u,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:p,scopeId:m,slotted:h,ssr:g,inSSR:_,ssrCssVars:y,bindingMetadata:b,inline:x,isTS:S,onError:w,onWarn:T,compatConfig:E,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){let t=k.helpers.get(e)||0;return k.helpers.set(e,t+1),e},removeHelper(e){let t=k.helpers.get(e);if(t){let n=t-1;n?k.helpers.set(e,n):k.helpers.delete(e)}},helperString(e){return`_${dr[k.helper(e)]}`},replaceNode(e){if(!k.currentNode)throw Error(`Node being replaced is already removed.`);if(!k.parent)throw Error(`Cannot replace root node.`);k.parent.children[k.childIndex]=k.currentNode=e},removeNode(e){if(!k.parent)throw Error(`Cannot remove root node.`);let t=k.parent.children,n=e?t.indexOf(e):k.currentNode?k.childIndex:-1;if(n<0)throw Error(`node being removed is not a child of current parent`);!e||e===k.currentNode?(k.currentNode=null,k.onNodeRemoved()):k.childIndex>n&&(k.childIndex--,k.onNodeRemoved()),k.parent.children.splice(n,1)},onNodeRemoved:C,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){c(e)&&(e=L(e)),k.hoists.push(e);let t=L(`_hoisted_${k.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,n=!1){let r=ne(k.cached.length,e,t,n);return k.cached.push(r),r}};return k.filters=new Set,k}function St(e,t){let n=K(e,t);Tt(e,n),t.hoistStatic&>(e,n),t.ssr||Ct(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Ct(e,t){let{helper:n}=t,{children:r}=e;if(r.length===1){let n=r[0];if(_t(e,n)&&n.codegenNode){let r=n.codegenNode;r.type===13&&de(r,t),e.codegenNode=r}else e.codegenNode=n}else if(r.length>1){let i=64;r.filter(e=>e.type!==3).length===1&&(i|=2048),e.codegenNode=N(t,n(En),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function wt(e,t){let n=0,r=()=>{n--};for(;n<e.children.length;n++){let i=e.children[n];c(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Tt(i,t))}}function Tt(e,t){t.currentNode=e;let{nodeTransforms:n}=t,r=[];for(let i=0;i<n.length;i++){let a=n[i](e,t);if(a&&(o(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(In);break;case 5:t.ssr||t.helper(qn);break;case 9:for(let n=0;n<e.branches.length;n++)Tt(e.branches[n],t);break;case 10:case 11:case 1:case 0:wt(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function q(e,t){let n=c(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(e.type===1){let{props:i}=e;if(e.tagType===3&&i.some(Be))return;let a=[];for(let o=0;o<i.length;o++){let s=i[o];if(s.type===7&&n(s.name)){i.splice(o,1),o--;let n=t(e,s,r);n&&a.push(n)}}return a}}}function Et(e,{mode:t=`function`,prefixIdentifiers:n=t===`module`,sourceMap:r=!1,filename:i=`template.vue.html`,scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:s=`Vue`,runtimeModuleName:c=`vue`,ssrRuntimeModuleName:l=`vue/server-renderer`,ssr:u=!1,isTS:d=!1,inSSR:f=!1}){let p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:s,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:d,inSSR:f,source:e.source,code:``,column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(e){return`_${dr[e]}`},push(e,t=-2,n){p.code+=e},indent(){m(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:m(--p.indentLevel)},newline(){m(p.indentLevel)}};function m(e){p.push(`
|
|
4
4
|
`+` `.repeat(e),0)}return p}function Dt(e,t={}){let n=Et(e,t);t.onContextCreated&&t.onContextCreated(n);let{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:s,newline:c,scopeId:l,ssr:u}=n,d=Array.from(e.helpers),f=d.length>0,p=!a&&r!==`module`;if(Ot(e,n),i(`function ${u?`ssrRender`:`render`}(${(u?[`_ctx`,`_push`,`_parent`,`_attrs`]:[`_ctx`,`_cache`]).join(`, `)}) {`),o(),p&&(i(`with (_ctx) {`),o(),f&&(i(`const { ${d.map(oi).join(`, `)} } = _Vue
|
|
5
5
|
`,-1),c())),e.components.length&&(J(e.components,`component`,n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(J(e.directives,`directive`,n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),J(e.filters,`filter`,n),c()),e.temps>0){i(`let `);for(let t=0;t<e.temps;t++)i(`${t>0?`, `:``}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
6
6
|
`,0),c()),u||i(`return `),e.codegenNode?Nt(e.codegenNode,n):i(`null`),p&&(s(),i(`}`)),s(),i(`}`),{ast:e,code:n.code,preamble:``,map:n.map?n.map.toJSON():void 0}}function Ot(e,t){let{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:s,ssrRuntimeModuleName:c}=t,l=s,u=Array.from(e.helpers);u.length>0&&(i(`const _Vue = ${l}
|
|
7
7
|
`,-1),e.hoists.length&&i(`const { ${[Pn,Fn,In,Ln,Rn].filter(e=>u.includes(e)).map(oi).join(`, `)} } = _Vue
|
|
8
|
-
`,-1)),kt(e.hoists,t),a(),i(`return `)}function J(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?Hn:t===`component`?zn:Vn);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Ke(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function kt(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),Nt(a,t),r())}t.pure=!1}function At(e){return u(e)||e.type===4||e.type===2||e.type===5||e.type===8}function jt(e,t){let n=e.length>3||e.some(e=>m(e)||!At(e));t.push(`[`),n&&t.indent(),Mt(e,t,n),n&&t.deindent(),t.push(`]`)}function Mt(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let o=0;o<e.length;o++){let s=e[o];u(s)?i(s,-3):m(s)?jt(s,t):Nt(s,t),o<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function Nt(e,t){if(u(e)){t.push(e,-3);return}if(d(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Pe(e.codegenNode!=null,`Codegen node is missing for element/if/for node. Apply appropriate transforms first.`),Nt(e.codegenNode,t);break;case 2:Pt(e,t);break;case 4:Ft(e,t);break;case 5:It(e,t);break;case 12:Nt(e.codegenNode,t);break;case 8:Lt(e,t);break;case 3:zt(e,t);break;case 13:Bt(e,t);break;case 14:Ht(e,t);break;case 15:Ut(e,t);break;case 17:Wt(e,t);break;case 18:Gt(e,t);break;case 19:Kt(e,t);break;case 20:qt(e,t);break;case 21:Mt(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:return Pe(!1,`unhandled codegen node type: ${e.type}`),e}}function Pt(e,t){t.push(JSON.stringify(e.content),-3,e)}function Ft(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function It(e,t){let{push:n,helper:r,pure:i}=t;i&&n(ai),n(`${r(qn)}(`),Nt(e.content,t),n(`)`)}function Lt(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];u(r)?t.push(r,-3):Nt(r,t)}}function Rt(e,t){let{push:n}=t;e.type===8?(n(`[`),Lt(e,t),n(`]`)):e.isStatic?n(Ar(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function zt(e,t){let{push:n,helper:r,pure:i}=t;i&&n(ai),n(`${r(In)}(${JSON.stringify(e.content)})`,-3,e)}function Bt(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=c<0?c+` /* ${_[c]} */`:c+` /* ${Object.keys(_).map(Number).filter(e=>e>0&&c&e).map(e=>_[e]).join(`, `)} */`),u&&n(r(Un)+`(`),d&&n(`(${r(jn)}(${f?`true`:``}), `),i&&n(ai),n(r(d?ue(t.inSSR,p):le(t.inSSR,p))+`(`,-2,e),Mt(Vt([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),Nt(u,t),n(`)`))}function Vt(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Ht(e,t){let{push:n,helper:r,pure:i}=t,a=u(e.callee)?e.callee:r(e.callee);i&&n(ai),n(a+`(`,-2,e),Mt(e.arguments,t),n(`)`)}function Ut(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||o.some(e=>e.value.type!==4);n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];Rt(r,t),n(`: `),Nt(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Wt(e,t){jt(e.elements,t)}function Gt(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:s,newline:c,isSlot:l}=e;l&&n(`_${dr[or]}(`),n(`(`,-2,e),m(a)?Mt(a,t):a&&Nt(a,t),n(`) => `),(c||s)&&(n(`{`),r()),o?(c&&n(`return `),m(o)?jt(o,t):Nt(o,t)):s&&Nt(s,t),(c||s)&&(i(),n(`}`)),l&&(e.isNonScopedSlot&&n(`, undefined, true`),n(`)`))}function Kt(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Ar(n.content);e&&o(`(`),Ft(n,t),e&&o(`)`)}else o(`(`),Nt(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),Nt(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,Nt(i,t),u||t.indentLevel--,a&&c(!0)}function qt(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(rr)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),Nt(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(rr)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function Jt(e,t,n=!1,r=!1){let i=e.content;if(i.trim())try{Function(r?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(n){let r=n.message,a=i.replace(ci,``).match(si);a&&(r=`avoid using JavaScript keyword as property name: "${a[0]}"`),t.onError(V(45,e.loc,void 0,r))}}function Yt(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return Jt(e,t,n,r),e}function Xt(e){return u(e)?e:e.type===4?e.content:e.children.map(Xt).join(``)}function Zt(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(V(28,t.loc)),t.exp=L(`true`,!1,r)}if(t.exp&&Jt(t.exp,n),t.name===`if`){let i=Qt(e,t),a={type:9,loc:lt(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=[],o=i.indexOf(e);for(;o-->=-1;){let s=i[o];if(s&&s.type===3){n.removeNode(s),a.unshift(s);continue}if(s&&s.type===2&&!s.content.trim().length){n.removeNode(s);continue}if(s&&s.type===9){t.name===`else-if`&&s.branches[s.branches.length-1].condition===void 0&&n.onError(V(30,e.loc)),n.removeNode();let i=Qt(e,t);a.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag===`transition`||n.parent.tag===`Transition`))&&(i.children=[...a,...i.children]);{let e=i.userKey;e&&s.branches.forEach(({userKey:t})=>{tn(t,e)&&n.onError(V(29,i.userKey.loc))})}s.branches.push(i);let o=r&&r(s,i,!1);Tt(i,n),o&&o(),n.currentNode=null}else n.onError(V(30,e.loc));break}}}function Qt(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!Fe(e,`for`)?e.children:[e],userKey:Ie(e,`key`),isTemplateIf:n}}function $t(e,t,n){return e.condition?te(e.condition,en(e,t,n),B(n.helper(In),[`"v-if"`,`true`])):en(e,t,n)}function en(e,t,n){let{helper:r}=n,i=I(`key`,L(`${t}`,!1,Y,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return We(e,i,n),e}else{let t=64;return!e.isTemplateIf&&a.filter(e=>e.type!==3).length===1&&(t|=2048),N(n,r(En),F([i]),a,t,void 0,void 0,!0,!1,!1,e.loc)}else{let e=o.codegenNode,t=Je(e);return t.type===13&&de(t,n),We(t,i,n),e}}function tn(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{let n=e.exp,r=t.exp;if(n.type!==r.type||n.type!==4||n.isStatic!==r.isStatic||n.content!==r.content)return!1}return!0}function nn(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}function rn(e,t,n,r){if(!t.exp){n.onError(V(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(V(32,t.loc));return}an(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Ve(e)?e.children:[e]};n.replaceNode(f),s.vFor++;let p=r&&r(f);return()=>{s.vFor--,p&&p()}}function an(e,t){e.finalized||=(Jt(e.source,t),e.key&&Jt(e.key,t,!0),e.index&&Jt(e.index,t,!0),e.value&&Jt(e.value,t,!0),!0)}function on({value:e,key:t,index:n},r=[]){return sn([e,t,n,...r])}function sn(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||L(`_`.repeat(t+1),!1))}function cn(e,t,n=vi){t.helper(or);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0,c=Fe(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!Or(e)&&(s=!0),a.push(I(e||L(`default`,!0),n(t,void 0,r,i)))}let u=!1,d=!1,f=[],p=new Set,m=0;for(let e=0;e<r.length;e++){let i=r[e],l;if(!Ve(i)||!(l=Fe(i,`slot`,!0))){i.type!==3&&f.push(i);continue}if(c){t.onError(V(37,l.loc));break}u=!0;let{children:h,loc:g}=i,{arg:_=L(`default`,!0),exp:v,loc:y}=l,b;Or(_)?b=_?_.content:`default`:s=!0;let x=Fe(i,`for`),S=n(v,x,h,g),C,w;if(C=Fe(i,`if`))s=!0,o.push(te(C.exp,ln(_,S,m++),hi));else if(w=Fe(i,/^else(-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],i.type===3););if(i&&Ve(i)&&Fe(i,/^(else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?te(w.exp,ln(_,S,m++),hi):ln(_,S,m++)}else t.onError(V(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(an(e,t),o.push(B(t.helper(Wn),[e.source,ee(on(e),ln(_,S),!0)]))):t.onError(V(32,x.loc))}else{if(b){if(p.has(b)){t.onError(V(38,y));continue}p.add(b),b===`default`&&(d=!0)}a.push(I(_,S))}}if(!c){let e=(e,r)=>{let a=n(e,void 0,r,i);return t.compatConfig&&(a.isNonScopedSlot=!0),I(`default`,a)};u?f.length&&f.some(e=>dn(e))&&(d?t.onError(V(39,f[0].loc)):a.push(e(void 0,f))):a.push(e(void 0,r))}let h=s?2:un(e.children)?3:1,g=F(a.concat(I(`_`,L(h+` /* ${l[h]} */`,!1))),i);return o.length&&(g=B(t.helper(Kn),[g,P(o)])),{slots:g,hasDynamicSlots:s}}function ln(e,t,n){let r=[I(`name`,e),I(`fn`,t)];return n!=null&&r.push(I(`key`,L(String(n),!0))),F(r)}function un(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||un(n.children))return!0;break;case 9:if(un(n.branches))return!0;break;case 10:case 11:if(un(n.children))return!0;break}}return!1}function dn(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():dn(e.content)}function fn(e,t,n=!1){let{tag:r}=e,i=vn(r),a=Ie(e,`is`,!1,!0);if(a)if(i||_e(`COMPILER_IS_ON_ELEMENT`,t)){let e;if(a.type===6?e=a.value&&L(a.value.content,!0):(e=a.exp,e||=L(`is`,!1,a.arg.loc)),e)return B(t.helper(Bn),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=je(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(zn),t.components.add(r),Ke(r,`component`))}function pn(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:s,children:c}=e,l=[],u=[],f=[],m=c.length>0,g=!1,_=0,v=!1,y=!1,b=!1,x=!1,S=!1,w=!1,T=[],E=e=>{l.length&&(u.push(F(mn(l),s)),l=[]),e&&u.push(e)},D=()=>{t.scopes.vFor>0&&l.push(I(L(`ref_for`,!0),L(`true`)))},O=({key:e,value:n})=>{if(Or(e)){let a=e.content,o=p(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!h(a)&&(x=!0),o&&h(a)&&(w=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&yt(n,t)>0)return;a===`ref`?v=!0:a===`class`?y=!0:a===`style`?b=!0:a!==`key`&&!T.includes(a)&&T.push(a),r&&(a===`class`||a===`style`)&&!T.includes(a)&&T.push(a)}else S=!0};for(let i=0;i<n.length;i++){let c=n[i];if(c.type===6){let{loc:e,name:n,nameLoc:r,value:i}=c;if(n===`ref`&&(v=!0,D()),n===`is`&&(vn(o)||i&&i.content.startsWith(`vue:`)||_e(`COMPILER_IS_ON_ELEMENT`,t)))continue;l.push(I(L(n,!0,r),L(i?i.content:``,!0,i?i.loc:e)))}else{let{name:n,arg:i,exp:h,loc:v,modifiers:y}=c,b=n===`bind`,x=n===`on`;if(n===`slot`){r||t.onError(V(40,v));continue}if(n===`once`||n===`memo`||n===`is`||b&&Le(i,`is`)&&(vn(o)||_e(`COMPILER_IS_ON_ELEMENT`,t))||x&&a)continue;if((b&&Le(i,`key`)||x&&m&&Le(i,`vue:before-update`))&&(g=!0),b&&Le(i,`ref`)&&D(),!i&&(b||x)){if(S=!0,h)if(b){if(D(),E(),u.some(e=>e.type===15?e.properties.some(({key:e})=>e.type!==4||!e.isStatic?!0:e.content!==`class`&&e.content!==`style`&&!p(e.content)):!0)&&ve(`COMPILER_V_BIND_OBJECT_ORDER`,t,v),_e(`COMPILER_V_BIND_OBJECT_ORDER`,t)){u.unshift(h);continue}u.push(h)}else E({type:14,loc:v,callee:t.helper($n),arguments:r?[h]:[h,`true`]});else t.onError(V(b?34:35,v));continue}b&&y.some(e=>e.content===`prop`)&&(_|=32);let w=t.directiveTransforms[n];if(w){let{props:n,needRuntime:r}=w(c,e,t);!a&&n.forEach(O),x&&i&&!Or(i)?E(F(n,s)):l.push(...n),r&&(f.push(c),d(r)&&yi.set(c,r))}else C(n)||(f.push(c),m&&(g=!0))}}let k;if(u.length?(E(),k=u.length>1?B(t.helper(Jn),u,s):u[0]):l.length&&(k=F(mn(l),s)),S?_|=16:(y&&!r&&(_|=2),b&&!r&&(_|=4),T.length&&(_|=8),x&&(_|=32)),!g&&(_===0||_===32)&&(v||w||f.length>0)&&(_|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<k.properties.length;t++){let i=k.properties[t].key;Or(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=k.properties[e],a=k.properties[n];r?k=B(t.helper(Zn),[k]):(i&&!Or(i.value)&&(i.value=B(t.helper(Yn),[i.value])),a&&(b||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=B(t.helper(Xn),[a.value])));break;case 14:break;default:k=B(t.helper(Zn),[B(t.helper(Qn),[k])]);break}return{props:k,directives:f,patchFlag:_,dynamicPropNames:T,shouldUseBlock:g}}function mn(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let a=i.key.content,o=t.get(a);o?(a===`style`||a===`class`||p(a))&&hn(o,i):(t.set(a,i),n.push(i))}return n}function hn(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=P([e.value,t.value],e.loc)}function gn(e,t){let n=[],r=yi.get(e);r?n.push(t.helperString(r)):(t.helper(Vn),t.directives.add(e.name),n.push(Ke(e.name,`directive`)));let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=L(`true`,!1,i);n.push(F(e.modifiers.map(e=>I(e,t)),i))}return P(n,e.loc)}function _n(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function vn(e){return e===`component`||e===`Component`}function yn(e,t){let n=`"default"`,r,i=[];for(let t=0;t<e.props.length;t++){let r=e.props[t];r.type===6?r.value&&(r.name===`name`?n=JSON.stringify(r.value.content):(r.name=a(r.name),i.push(r))):r.name===`bind`&&Le(r.arg,`name`)?r.exp?n=r.exp:r.arg&&r.arg.type===4&&(n=r.exp=L(a(r.arg.content),!1,r.arg.loc)):(r.name===`bind`&&r.arg&&Or(r.arg)&&(r.arg.content=a(r.arg.content)),i.push(r))}if(i.length>0){let{props:n,directives:a}=pn(e,t,i,!1,!1);r=n,a.length&&t.onError(V(36,a[0].loc))}return{slotName:n,slotProps:r}}function bn(e=[]){return{props:e}}function xn(e,t){if(e.type===4)Sn(e,t);else for(let n=0;n<e.children.length;n++){let r=e.children[n];typeof r==`object`&&(r.type===4?Sn(r,t):r.type===8?xn(e,t):r.type===5&&xn(r.content,t))}}function Sn(e,t){let n=e.content,r=!1,i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0,d,f,p,m,h=[];for(p=0;p<n.length;p++)if(f=d,d=n.charCodeAt(p),r)d===39&&f!==92&&(r=!1);else if(i)d===34&&f!==92&&(i=!1);else if(a)d===96&&f!==92&&(a=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!c&&!l)m===void 0?(u=p+1,m=n.slice(0,p).trim()):g();else{switch(d){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:s++;break;case 125:s--;break}if(d===47){let e=p-1,t;for(;e>=0&&(t=n.charAt(e),t===` `);e--);(!t||!Di.test(t))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():u!==0&&g();function g(){h.push(n.slice(u,p).trim()),u=p+1}if(h.length){for(ye(`COMPILER_FILTERS`,t,e.loc),p=0;p<h.length;p++)m=Cn(m,h[p],t);e.content=m,e.ast=void 0}}function Cn(e,t,n){n.helper(Hn);let r=t.indexOf(`(`);if(r<0)return n.filters.add(t),`${Ke(t,`filter`)}(${e})`;{let i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${Ke(i,`filter`)}(${e}${a===`)`?a:`,`+a}`}}function wn(e){return[[Ti,ui,Ai,mi,Oi,li,xi,bi,gi,Ci],{on:Si,bind:di,model:Ei}]}function Tn(e,t={}){let n=t.onError||be,r=t.mode===`module`;t.prefixIdentifiers===!0?n(V(47)):r&&n(V(48)),t.cacheHandlers&&n(V(49)),t.scopeId&&!r&&n(V(50));let i=v({},t,{prefixIdentifiers:!1}),a=u(e)?ht(e,i):e,[o,s]=wn();return St(a,v({},i,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:v({},s,t.directiveTransforms||{})})),Dt(a,i)}var En,Dn,On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,$n,er,tr,nr,rr,ir,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,hr,Y,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr,Hr,Ur,Wr,X,Gr,Kr,qr,Z,Jr,Yr,Xr,Zr,Qr,$r,Q,$,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi,mi,hi,gi,_i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,Di,Oi,ki,Ai,ji,Mi,Ni=t((()=>{o(),En=Symbol(`Fragment`),Dn=Symbol(`Teleport`),On=Symbol(`Suspense`),kn=Symbol(`KeepAlive`),An=Symbol(`BaseTransition`),jn=Symbol(`openBlock`),Mn=Symbol(`createBlock`),Nn=Symbol(`createElementBlock`),Pn=Symbol(`createVNode`),Fn=Symbol(`createElementVNode`),In=Symbol(`createCommentVNode`),Ln=Symbol(`createTextVNode`),Rn=Symbol(`createStaticVNode`),zn=Symbol(`resolveComponent`),Bn=Symbol(`resolveDynamicComponent`),Vn=Symbol(`resolveDirective`),Hn=Symbol(`resolveFilter`),Un=Symbol(`withDirectives`),Wn=Symbol(`renderList`),Gn=Symbol(`renderSlot`),Kn=Symbol(`createSlots`),qn=Symbol(`toDisplayString`),Jn=Symbol(`mergeProps`),Yn=Symbol(`normalizeClass`),Xn=Symbol(`normalizeStyle`),Zn=Symbol(`normalizeProps`),Qn=Symbol(`guardReactiveProps`),$n=Symbol(`toHandlers`),er=Symbol(`camelize`),tr=Symbol(`capitalize`),nr=Symbol(`toHandlerKey`),rr=Symbol(`setBlockTracking`),ir=Symbol(`pushScopeId`),ar=Symbol(`popScopeId`),or=Symbol(`withCtx`),sr=Symbol(`unref`),cr=Symbol(`isRef`),lr=Symbol(`withMemo`),ur=Symbol(`isMemoSame`),dr={[En]:`Fragment`,[Dn]:`Teleport`,[On]:`Suspense`,[kn]:`KeepAlive`,[An]:`BaseTransition`,[jn]:`openBlock`,[Mn]:`createBlock`,[Nn]:`createElementBlock`,[Pn]:`createVNode`,[Fn]:`createElementVNode`,[In]:`createCommentVNode`,[Ln]:`createTextVNode`,[Rn]:`createStaticVNode`,[zn]:`resolveComponent`,[Bn]:`resolveDynamicComponent`,[Vn]:`resolveDirective`,[Hn]:`resolveFilter`,[Un]:`withDirectives`,[Wn]:`renderList`,[Gn]:`renderSlot`,[Kn]:`createSlots`,[qn]:`toDisplayString`,[Jn]:`mergeProps`,[Yn]:`normalizeClass`,[Xn]:`normalizeStyle`,[Zn]:`normalizeProps`,[Qn]:`guardReactiveProps`,[$n]:`toHandlers`,[er]:`camelize`,[tr]:`capitalize`,[nr]:`toHandlerKey`,[rr]:`setBlockTracking`,[ir]:`pushScopeId`,[ar]:`popScopeId`,[or]:`withCtx`,[sr]:`unref`,[cr]:`isRef`,[lr]:`withMemo`,[ur]:`isMemoSame`},fr={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},pr={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},mr={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},hr={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},Y={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``},gr=new Uint8Array([123,123]),_r=new Uint8Array([125,125]),vr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},yr=class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=gr,this.delimiterClose=_r,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=gr,this.delimiterClose=_r}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){let i=this.newlines[r];if(e>i){t=r+2,n=e-i;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?me(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||pe(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===vr.TitleEnd||this.currentSequence===vr.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===vr.Cdata[this.sequenceIndex]?++this.sequenceIndex===vr.Cdata.length&&(this.state=28,this.currentSequence=vr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===vr.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):fe(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){me(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(me(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(he(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){pe(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=fe(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||pe(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):pe(e)||(e===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):pe(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||me(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):(e===34||e===39||e===60)&&this.cbs.onerr(17,this.index)}stateInDirName(e){e===61||me(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||me(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||me(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||me(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):pe(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):pe(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){pe(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===34||e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=vr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===vr.ScriptEnd[3]?this.startSpecial(vr.ScriptEnd,4):e===vr.StyleEnd[3]?this.startSpecial(vr.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===vr.TitleEnd[3]?this.startSpecial(vr.TitleEnd,4):e===vr.TextareaEnd[3]?this.startSpecial(vr.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();break}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===vr.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}},br={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},xr={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_OBJECT_ORDER:{message:`v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-bind.html`},COMPILER_V_ON_NATIVE:{message:`.native modifier for v-on has been removed as is no longer necessary.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:`v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`},COMPILER_NATIVE_TEMPLATE:{message:`<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`},COMPILER_INLINE_TEMPLATE:{message:`"inline-template" has been removed in Vue 3.`,link:`https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`},COMPILER_FILTERS:{message:`filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,link:`https://v3-migration.vuejs.org/breaking-changes/filters.html`}},Sr={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:`ABRUPT_CLOSING_OF_EMPTY_COMMENT`,CDATA_IN_HTML_CONTENT:1,1:`CDATA_IN_HTML_CONTENT`,DUPLICATE_ATTRIBUTE:2,2:`DUPLICATE_ATTRIBUTE`,END_TAG_WITH_ATTRIBUTES:3,3:`END_TAG_WITH_ATTRIBUTES`,END_TAG_WITH_TRAILING_SOLIDUS:4,4:`END_TAG_WITH_TRAILING_SOLIDUS`,EOF_BEFORE_TAG_NAME:5,5:`EOF_BEFORE_TAG_NAME`,EOF_IN_CDATA:6,6:`EOF_IN_CDATA`,EOF_IN_COMMENT:7,7:`EOF_IN_COMMENT`,EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:`EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT`,EOF_IN_TAG:9,9:`EOF_IN_TAG`,INCORRECTLY_CLOSED_COMMENT:10,10:`INCORRECTLY_CLOSED_COMMENT`,INCORRECTLY_OPENED_COMMENT:11,11:`INCORRECTLY_OPENED_COMMENT`,INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:`INVALID_FIRST_CHARACTER_OF_TAG_NAME`,MISSING_ATTRIBUTE_VALUE:13,13:`MISSING_ATTRIBUTE_VALUE`,MISSING_END_TAG_NAME:14,14:`MISSING_END_TAG_NAME`,MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:`MISSING_WHITESPACE_BETWEEN_ATTRIBUTES`,NESTED_COMMENT:16,16:`NESTED_COMMENT`,UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:`UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME`,UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:`UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE`,UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:`UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME`,UNEXPECTED_NULL_CHARACTER:20,20:`UNEXPECTED_NULL_CHARACTER`,UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:`UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME`,UNEXPECTED_SOLIDUS_IN_TAG:22,22:`UNEXPECTED_SOLIDUS_IN_TAG`,X_INVALID_END_TAG:23,23:`X_INVALID_END_TAG`,X_MISSING_END_TAG:24,24:`X_MISSING_END_TAG`,X_MISSING_INTERPOLATION_END:25,25:`X_MISSING_INTERPOLATION_END`,X_MISSING_DIRECTIVE_NAME:26,26:`X_MISSING_DIRECTIVE_NAME`,X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:`X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END`,X_V_IF_NO_EXPRESSION:28,28:`X_V_IF_NO_EXPRESSION`,X_V_IF_SAME_KEY:29,29:`X_V_IF_SAME_KEY`,X_V_ELSE_NO_ADJACENT_IF:30,30:`X_V_ELSE_NO_ADJACENT_IF`,X_V_FOR_NO_EXPRESSION:31,31:`X_V_FOR_NO_EXPRESSION`,X_V_FOR_MALFORMED_EXPRESSION:32,32:`X_V_FOR_MALFORMED_EXPRESSION`,X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:`X_V_FOR_TEMPLATE_KEY_PLACEMENT`,X_V_BIND_NO_EXPRESSION:34,34:`X_V_BIND_NO_EXPRESSION`,X_V_ON_NO_EXPRESSION:35,35:`X_V_ON_NO_EXPRESSION`,X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:`X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET`,X_V_SLOT_MIXED_SLOT_USAGE:37,37:`X_V_SLOT_MIXED_SLOT_USAGE`,X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:`X_V_SLOT_DUPLICATE_SLOT_NAMES`,X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:`X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN`,X_V_SLOT_MISPLACED:40,40:`X_V_SLOT_MISPLACED`,X_V_MODEL_NO_EXPRESSION:41,41:`X_V_MODEL_NO_EXPRESSION`,X_V_MODEL_MALFORMED_EXPRESSION:42,42:`X_V_MODEL_MALFORMED_EXPRESSION`,X_V_MODEL_ON_SCOPE_VARIABLE:43,43:`X_V_MODEL_ON_SCOPE_VARIABLE`,X_V_MODEL_ON_PROPS:44,44:`X_V_MODEL_ON_PROPS`,X_INVALID_EXPRESSION:45,45:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:46,46:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:47,47:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:48,48:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:49,49:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:50,50:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:51,51:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:53,53:`__EXTEND_POINT__`},Cr={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '<' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,52:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
9
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`Error parsing JavaScript expression: `,46:`<KeepAlive> expects exactly one child component.`,51:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,47:`"prefixIdentifiers" option is not supported in this build of compiler.`,48:`ES module mode is not supported in this build of compiler.`,49:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,50:`"scopeId" option is only supported in module mode.`,53:``},wr=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Tr=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,Er=(e,t)=>Tr(t)&&t.key===e,Dr=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`],Or=e=>e.type===4&&e.isStatic,kr=/^\d|[^\$\w\xA0-\uFFFF]/,Ar=e=>!kr.test(e),jr=/[A-Za-z_$\xA0-\uFFFF]/,Mr=/[\.\?\w$\xA0-\uFFFF]/,Nr=/\s+[.[]\s*|\s*[.[]\s+/g,Pr=e=>e.type===4?e.content:e.loc.source,Fr=e=>{let t=Pr(e).trim().replace(Nr,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?jr:Mr).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},Ir=O,Lr=Fr,Rr=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,zr=e=>Rr.test(Pr(e)),Br=O,Vr=zr,Hr=new Set([Zn,Qn]),Ur=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Wr={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:x,isPreTag:x,isIgnoreNewlineTag:x,isCustomElement:x,onError:be,onWarn:xe,comments:!0,prefixIdentifiers:!1},X=Wr,Gr=null,Kr=``,qr=null,Z=null,Jr=``,Yr=-1,Xr=-1,Zr=0,Qr=!1,$r=null,Q=[],$=new yr(Q,{onerr:pt,ontext(e,t){Ze(U(e,t),e,t)},ontextentity(e,t,n){Ze(e,t,n)},oninterpolation(e,t){if(Qr)return Ze(U(e,t),e,t);let n=e+$.delimiterOpen.length,r=t-$.delimiterClose.length;for(;pe(Kr.charCodeAt(n));)n++;for(;pe(Kr.charCodeAt(r-1));)r--;let i=U(n,r);i.includes(`&`)&&(i=X.decodeEntities(i,!1)),ct({type:5,content:ft(i,!1,W(n,r)),loc:W(e,t)})},onopentagname(e,t){let n=U(e,t);qr={type:1,tag:n,ns:X.getNamespace(n,Q[0],X.ns),tagType:0,props:[],children:[],loc:W(e-1,t),codegenNode:void 0}},onopentagend(e){Xe(e)},onclosetag(e,t){let n=U(e,t);if(!X.isVoidTag(n)){let r=!1;for(let e=0;e<Q.length;e++)if(Q[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&pt(24,Q[0].loc.start.offset);for(let n=0;n<=e;n++)Qe(Q.shift(),t,n<e);break}r||pt(23,et(e,60))}},onselfclosingtag(e){let t=qr.tag;qr.isSelfClosing=!0,Xe(e),Q[0]&&Q[0].tag===t&&Qe(Q.shift(),e)},onattribname(e,t){Z={type:6,name:U(e,t),nameLoc:W(e,t),value:void 0,loc:W(e)}},ondirname(e,t){let n=U(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!Qr&&r===``&&pt(26,e),Qr||r===``)Z={type:6,name:n,nameLoc:W(e,t),value:void 0,loc:W(e)};else if(Z={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[L(`prop`)]:[],loc:W(e)},r===`pre`){Qr=$.inVPre=!0,$r=qr;let e=qr.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=dt(e[t]))}},ondirarg(e,t){if(e===t)return;let n=U(e,t);if(Qr)Z.name+=n,ut(Z.nameLoc,t);else{let r=n[0]!==`[`;Z.arg=ft(r?n:n.slice(1,-1),r,W(e,t),r?3:0)}},ondirmodifier(e,t){let n=U(e,t);if(Qr)Z.name+=`.`+n,ut(Z.nameLoc,t);else if(Z.name===`slot`){let e=Z.arg;e&&(e.content+=`.`+n,ut(e.loc,t))}else{let r=L(n,!0,W(e,t));Z.modifiers.push(r)}},onattribdata(e,t){Jr+=U(e,t),Yr<0&&(Yr=e),Xr=t},onattribentity(e,t,n){Jr+=e,Yr<0&&(Yr=t),Xr=n},onattribnameend(e){let t=Z.loc.start.offset,n=U(t,e);Z.type===7&&(Z.rawName=n),qr.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&pt(2,t)},onattribend(e,t){if(qr&&Z){if(ut(Z.loc,t),e!==0)if(Jr.includes(`&`)&&(Jr=X.decodeEntities(Jr,!0)),Z.type===6)Z.name===`class`&&(Jr=st(Jr).trim()),e===1&&!Jr&&pt(13,t),Z.value={type:2,content:Jr,loc:e===1?W(Yr,Xr):W(Yr-1,Xr+1)},$.inSFCRoot&&qr.tag===`template`&&Z.name===`lang`&&Jr&&Jr!==`html`&&$.enterRCDATA(he(`</template`),0);else{Z.exp=ft(Jr,!1,W(Yr,Xr),0,0),Z.name===`for`&&(Z.forParseResult=Ye(Z.exp));let e=-1;Z.name===`bind`&&(e=Z.modifiers.findIndex(e=>e.content===`sync`))>-1&&ve(`COMPILER_V_BIND_SYNC`,X,Z.loc,Z.rawName)&&(Z.name=`model`,Z.modifiers.splice(e,1))}(Z.type!==7||Z.name!==`pre`)&&qr.props.push(Z)}Jr=``,Yr=Xr=-1},oncomment(e,t){X.comments&&ct({type:3,content:U(e,t),loc:W(e-4,t+3)})},onend(){let e=Kr.length;if($.state!==1)switch($.state){case 5:case 8:pt(5,e);break;case 3:case 4:pt(25,$.sectionStart);break;case 28:$.currentSequence===vr.CdataEnd?pt(6,e):pt(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:pt(9,e);break}for(let t=0;t<Q.length;t++)Qe(Q[t],e-1),pt(24,Q[t].loc.start.offset)},oncdata(e,t){Q[0].ns===0?pt(1,e-9):Ze(U(e,t),e,t)},onprocessinginstruction(e){(Q[0]?Q[0].ns:X.ns)===0&&pt(21,e-1)}}),ei=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ti=/^\(|\)$/g,ni=new Set([`if`,`else`,`else-if`,`for`,`slot`]),ri=/\r\n/g,ii=new Set([Yn,Xn,Zn,Qn]),ai=`/*@__PURE__*/`,oi=e=>`${dr[e]}: _${dr[e]}`,si=RegExp(`\\b`+`arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield`.split(`,`).join(`\\b|\\b`)+`\\b`),ci=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g,li=(e,t)=>{if(e.type===5)e.content=Yt(e.content,t);else if(e.type===1){let n=Fe(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let e=i.exp,r=i.arg;e&&e.type===4&&!(i.name===`on`&&r)&&!(n&&r&&r.type===4&&r.content===`key`)&&(i.exp=Yt(e,t,i.name===`slot`)),r&&r.type===4&&!r.isStatic&&(i.arg=Yt(r,t))}}}},ui=q(/^(if|else|else-if)$/,(e,t,n)=>Zt(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=$t(t,o,n);else{let r=nn(e.codegenNode);r.alternate=$t(t,o+e.branches.length-1,n)}}})),di=(e,t,n)=>{let{modifiers:r,loc:i}=e,o=e.arg,{exp:s}=e;if(s&&s.type===4&&!s.content.trim()&&(s=void 0),!s){if(o.type!==4||!o.isStatic)return n.onError(V(52,o.loc)),{props:[I(o,L(``,!0,i))]};fi(e),s=e.exp}return o.type===4?o.isStatic||(o.content=`${o.content} || ""`):(o.children.unshift(`(`),o.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(o.type===4?o.isStatic?o.content=a(o.content):o.content=`${n.helperString(er)}(${o.content})`:(o.children.unshift(`${n.helperString(er)}(`),o.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&pi(o,`.`),r.some(e=>e.content===`attr`)&&pi(o,`^`)),{props:[I(o,s)]}},fi=(e,t)=>{let n=e.arg;e.exp=L(a(n.content),!1,n.loc)},pi=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},mi=q(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return rn(e,t,n,t=>{let a=B(r(Wn),[t.source]),o=Ve(e),s=Fe(e,`memo`),c=Ie(e,`key`,!1,!0);c&&c.type===7&&!c.exp&&fi(c);let l=c&&(c.type===6?c.value?L(c.value.content,!0):void 0:c.exp),u=c&&l?I(`key`,l):null,d=t.source.type===4&&t.source.constType>0,f=d?64:c?128:256;return t.codegenNode=N(n,r(En),void 0,a,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let c,{children:f}=t;o&&e.children.some(e=>{if(e.type===1){let t=Ie(e,`key`);if(t)return n.onError(V(33,t.loc)),!0}});let p=f.length!==1||f[0].type!==1,m=He(e)?e:o&&e.children.length===1&&He(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&u&&We(c,u,n)):p?c=N(n,r(En),u?F([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,o&&u&&We(c,u,n),c.isBlock!==!d&&(c.isBlock?(i(jn),i(ue(n.inSSR,c.isComponent))):i(le(n.inSSR,c.isComponent))),c.isBlock=!d,c.isBlock?(r(jn),r(ue(n.inSSR,c.isComponent))):r(le(n.inSSR,c.isComponent))),s){let e=ee(on(t.parseResult,[L(`_cached`)]));e.body=re([z([`const _memo = (`,s.exp,`)`]),z([`if (_cached`,...l?[` && _cached.key === `,l]:[],` && ${n.helperString(ur)}(_cached, _memo)) return _cached`]),z([`const _item = `,c]),L(`_item.memo = _memo`),L(`return _item`)]),a.arguments.push(e,L(`_cache`),L(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(ee(on(t.parseResult),c,!0))}})}),hi=L(`undefined`,!1),gi=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=Fe(e,`slot`);if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},_i=(e,t)=>{let n;if(Ve(e)&&e.props.some(Be)&&(n=Fe(e,`for`))){let e=n.forParseResult;if(e){an(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},vi=(e,t,n,r)=>ee(e,n,!1,!0,n.length?n[0].loc:r),yi=new WeakMap,bi=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?fn(e,t):`"${n}"`,o=f(a)&&a.callee===Bn,s,c,l=0,u,d,p,m=o||a===Dn||a===On||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=pn(e,t,void 0,i,o);s=n.props,l=n.patchFlag,d=n.dynamicPropNames;let r=n.directives;p=r&&r.length?P(r.map(e=>gn(e,t))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(a===kn&&(m=!0,l|=1024,e.children.length>1&&t.onError(V(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}))),i&&a!==Dn&&a!==kn){let{slots:n,hasDynamicSlots:r}=cn(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==Dn){let n=e.children[0],r=n.type,i=r===5||r===8;i&&yt(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;d&&d.length&&(u=_n(d)),e.codegenNode=N(t,a,s,c,l===0?void 0:l,u,p,!!m,!1,i,e.loc)},xi=(e,t)=>{if(He(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=yn(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=ee([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=B(t.helper(Gn),o,r)}},Si=(e,t,n,r)=>{let{loc:i,modifiers:o,arg:s}=e;!e.exp&&!o.length&&n.onError(V(35,i));let c;if(s.type===4)if(s.isStatic){let e=s.content;e.startsWith(`vnode`)&&n.onError(V(51,s.loc)),e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),c=L(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?T(a(e)):`on:${e}`,!0,s.loc)}else c=z([`${n.helperString(nr)}(`,s,`)`]);else c=s,c.children.unshift(`${n.helperString(nr)}(`),c.children.push(`)`);let l=e.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){let e=Lr(l),t=!(e||Vr(l)),r=l.content.includes(`;`);Jt(l,n,!1,r),(t||u&&e)&&(l=z([`${t?`$event`:`(...args)`} => ${r?`{`:`(`}`,l,r?`}`:`)`]))}let d={props:[I(c,l||L(`() => {}`,!1,i))]};return r&&(d=r(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(e=>e.key.isHandlerKey=!0),d},Ci=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(ze(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(ze(a))r||=n[e]=z([t],t.loc),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name])&&e.tag!==`template`)))for(let e=0;e<n.length;e++){let r=n[e];if(ze(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&yt(r,t)===0&&i.push(`1 /* ${_[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:B(t.helper(Ln),i)}}}}},wi=new WeakSet,Ti=(e,t)=>{if(e.type===1&&Fe(e,`once`,!0))return wi.has(e)||t.inVOnce||t.inSSR?void 0:(wi.add(e),t.inVOnce=!0,t.helper(rr),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&=t.cache(e.codegenNode,!0,!0)})},Ei=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(V(41,e.loc)),bn();let o=r.loc.source.trim(),s=r.type===4?r.content:o,c=n.bindingMetadata[o];if(c===`props`||c===`props-aliased`)return n.onError(V(44,r.loc)),bn();if(!s.trim()||!Lr(r))return n.onError(V(42,r.loc)),bn();let l=i||L(`modelValue`,!0),u=i?Or(i)?`onUpdate:${a(i.content)}`:z([`"onUpdate:" + `,i]):`onUpdate:modelValue`,d;d=z([`${n.isTS?`($event: any)`:`$event`} => ((`,r,`) = $event)`]);let f=[I(l,e.exp),I(u,d)];if(e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(Ar(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?Or(i)?`${i.content}Modifiers`:z([i,` + "Modifiers"`]):`modelModifiers`;f.push(I(n,L(`{ ${t} }`,!1,e.loc,2)))}return bn(f)},Di=/[\w).+\-_$\]]/,Oi=(e,t)=>{_e(`COMPILER_FILTERS`,t)&&(e.type===5?xn(e.content,t):e.type===1&&e.props.forEach(e=>{e.type===7&&e.name!==`for`&&e.exp&&xn(e.exp,t)}))},ki=new WeakSet,Ai=(e,t)=>{if(e.type===1){let n=Fe(e,`memo`);return!n||ki.has(e)?void 0:(ki.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&de(r,t),e.codegenNode=B(t.helper(lr),[n.exp,ee(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},ji={DATA:`data`,PROPS:`props`,PROPS_ALIASED:`props-aliased`,SETUP_LET:`setup-let`,SETUP_CONST:`setup-const`,SETUP_REACTIVE_CONST:`setup-reactive-const`,SETUP_MAYBE_REF:`setup-maybe-ref`,SETUP_REF:`setup-ref`,OPTIONS:`options`,LITERAL_CONST:`literal-const`},Mi=()=>({props:[]})})),Pi=n({BASE_TRANSITION:()=>An,BindingTypes:()=>ji,CAMELIZE:()=>er,CAPITALIZE:()=>tr,CREATE_BLOCK:()=>Mn,CREATE_COMMENT:()=>In,CREATE_ELEMENT_BLOCK:()=>Nn,CREATE_ELEMENT_VNODE:()=>Fn,CREATE_SLOTS:()=>Kn,CREATE_STATIC:()=>Rn,CREATE_TEXT:()=>Ln,CREATE_VNODE:()=>Pn,CompilerDeprecationTypes:()=>br,ConstantTypes:()=>hr,DOMDirectiveTransforms:()=>wa,DOMErrorCodes:()=>ta,DOMErrorMessages:()=>na,DOMNodeTransforms:()=>Ca,ElementTypes:()=>mr,ErrorCodes:()=>Sr,FRAGMENT:()=>En,GUARD_REACTIVE_PROPS:()=>Qn,IS_MEMO_SAME:()=>ur,IS_REF:()=>cr,KEEP_ALIVE:()=>kn,MERGE_PROPS:()=>Jn,NORMALIZE_CLASS:()=>Yn,NORMALIZE_PROPS:()=>Zn,NORMALIZE_STYLE:()=>Xn,Namespaces:()=>fr,NodeTypes:()=>pr,OPEN_BLOCK:()=>jn,POP_SCOPE_ID:()=>ar,PUSH_SCOPE_ID:()=>ir,RENDER_LIST:()=>Wn,RENDER_SLOT:()=>Gn,RESOLVE_COMPONENT:()=>zn,RESOLVE_DIRECTIVE:()=>Vn,RESOLVE_DYNAMIC_COMPONENT:()=>Bn,RESOLVE_FILTER:()=>Hn,SET_BLOCK_TRACKING:()=>rr,SUSPENSE:()=>On,TELEPORT:()=>Dn,TO_DISPLAY_STRING:()=>qn,TO_HANDLERS:()=>$n,TO_HANDLER_KEY:()=>nr,TRANSITION:()=>Yi,TRANSITION_GROUP:()=>Xi,TS_NODE_TYPES:()=>Dr,UNREF:()=>sr,V_MODEL_CHECKBOX:()=>Hi,V_MODEL_DYNAMIC:()=>Gi,V_MODEL_RADIO:()=>Vi,V_MODEL_SELECT:()=>Wi,V_MODEL_TEXT:()=>Ui,V_ON_WITH_KEYS:()=>qi,V_ON_WITH_MODIFIERS:()=>Ki,V_SHOW:()=>Ji,WITH_CTX:()=>or,WITH_DIRECTIVES:()=>Un,WITH_MEMO:()=>lr,advancePositionWithClone:()=>Me,advancePositionWithMutation:()=>Ne,assert:()=>Pe,baseCompile:()=>Tn,baseParse:()=>ht,buildDirectiveArgs:()=>gn,buildProps:()=>pn,buildSlots:()=>cn,checkCompatEnabled:()=>ve,compile:()=>zi,convertToBlock:()=>de,createArrayExpression:()=>P,createAssignmentExpression:()=>oe,createBlockStatement:()=>re,createCacheExpression:()=>ne,createCallExpression:()=>B,createCompilerError:()=>V,createCompoundExpression:()=>z,createConditionalExpression:()=>te,createDOMCompilerError:()=>Ii,createForLoopParams:()=>on,createFunctionExpression:()=>ee,createIfStatement:()=>ae,createInterpolation:()=>R,createObjectExpression:()=>F,createObjectProperty:()=>I,createReturnStatement:()=>ce,createRoot:()=>M,createSequenceExpression:()=>se,createSimpleExpression:()=>L,createStructuralDirectiveTransform:()=>q,createTemplateLiteral:()=>ie,createTransformContext:()=>K,createVNodeCall:()=>N,errorMessages:()=>Cr,extractIdentifiers:()=>ke,findDir:()=>Fe,findProp:()=>Ie,forAliasRE:()=>Ur,generate:()=>Dt,generateCodeFrame:()=>s,getBaseTransformPreset:()=>wn,getConstantType:()=>yt,getMemoedVNodeCall:()=>Je,getVNodeBlockHelper:()=>ue,getVNodeHelper:()=>le,hasDynamicKeyVBind:()=>Re,hasScopeRef:()=>qe,helperNameMap:()=>dr,injectProp:()=>We,isCoreComponent:()=>je,isFnExpression:()=>Vr,isFnExpressionBrowser:()=>zr,isFnExpressionNode:()=>Br,isFunctionType:()=>wr,isInDestructureAssignment:()=>we,isInNewExpression:()=>Te,isMemberExpression:()=>Lr,isMemberExpressionBrowser:()=>Fr,isMemberExpressionNode:()=>Ir,isReferencedIdentifier:()=>Ce,isSimpleIdentifier:()=>Ar,isSlotOutlet:()=>He,isStaticArgOf:()=>Le,isStaticExp:()=>Or,isStaticProperty:()=>Tr,isStaticPropertyKey:()=>Er,isTemplateNode:()=>Ve,isText:()=>ze,isVSlot:()=>Be,locStub:()=>Y,noopDirectiveTransform:()=>Mi,parse:()=>Bi,parserOptions:()=>Qi,processExpression:()=>Yt,processFor:()=>rn,processIf:()=>Zt,processSlotOutlet:()=>yn,registerRuntimeHelpers:()=>j,resolveComponentType:()=>fn,stringifyExpression:()=>Xt,toValidAssetId:()=>Ke,trackSlotScopes:()=>gi,trackVForSlotScopes:()=>_i,transform:()=>St,transformBind:()=>di,transformElement:()=>bi,transformExpression:()=>li,transformModel:()=>Ei,transformOn:()=>Si,transformStyle:()=>$i,traverseNode:()=>Tt,unwrapTSNode:()=>Ae,walkBlockDeclarations:()=>De,walkFunctionParams:()=>Ee,walkIdentifiers:()=>Se,warnDeprecation:()=>ye});function Fi(e,t=!1){return Zi||=document.createElement(`div`),t?(Zi.innerHTML=`<div foo="${e.replace(/"/g,`"`)}">`,Zi.children[0].getAttribute(`foo`)):(Zi.innerHTML=e,Zi.textContent)}function Ii(e,t){return V(e,t,na)}function Li(e){let t=e.children=e.children.filter(e=>e.type!==3&&!(e.type===2&&!e.content.trim())),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Li)}function Ri(e,t){return e in va?va[e].has(t):t in ya?ya[t].has(e):!(e in ba&&ba[e].has(t)||t in xa&&xa[t].has(e))}function zi(e,t={}){return Tn(e,v({},Qi,t,{nodeTransforms:[ha,...Ca,...t.nodeTransforms||[]],directiveTransforms:v({},wa,t.directiveTransforms||{}),transformHoist:null}))}function Bi(e,t={}){return ht(e,v({},Qi,t))}var Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta=t((()=>{Ni(),Ni(),o(),Vi=Symbol(`vModelRadio`),Hi=Symbol(`vModelCheckbox`),Ui=Symbol(`vModelText`),Wi=Symbol(`vModelSelect`),Gi=Symbol(`vModelDynamic`),Ki=Symbol(`vOnModifiersGuard`),qi=Symbol(`vOnKeysGuard`),Ji=Symbol(`vShow`),Yi=Symbol(`Transition`),Xi=Symbol(`TransitionGroup`),j({[Vi]:`vModelRadio`,[Hi]:`vModelCheckbox`,[Ui]:`vModelText`,[Wi]:`vModelSelect`,[Gi]:`vModelDynamic`,[Ki]:`withModifiers`,[qi]:`withKeys`,[Ji]:`vShow`,[Yi]:`Transition`,[Xi]:`TransitionGroup`}),Qi={parseMode:`html`,isVoidTag:g,isNativeTag:e=>i(e)||c(e)||S(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:Fi,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return Yi;if(e===`TransitionGroup`||e===`transition-group`)return Xi},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(e===`svg`)return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else /^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(e===`svg`)return 1;if(e===`math`)return 2}return r}},$i=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:L(`style`,!0,t.loc),exp:ea(t.value.content,t.loc),modifiers:[],loc:t.loc})})},ea=(e,t)=>{let n=y(e);return L(JSON.stringify(n),!1,t,3)},ta={X_V_HTML_NO_EXPRESSION:53,53:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:54,54:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:55,55:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:56,56:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:57,57:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:58,58:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:60,60:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:61,61:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVALID_CHILDREN:62,62:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:63,63:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:64,64:`__EXTEND_POINT__`},na={53:`v-html is missing expression.`,54:`v-html will override element children.`,55:`v-text is missing expression.`,56:`v-text will override element children.`,57:`v-model can only be used on <input>, <textarea> and <select> elements.`,58:`v-model argument is not supported on plain elements.`,59:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,60:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,61:`v-show is missing expression.`,62:`<Transition> expects exactly one child element or component.`,63:`Tags with side effect (<script> and <style>) are ignored in client component templates.`},ra=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Ii(53,i)),t.children.length&&(n.onError(Ii(54,i)),t.children.length=0),{props:[I(L(`innerHTML`,!0,i),r||L(``,!0))]}},ia=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Ii(55,i)),t.children.length&&(n.onError(Ii(56,i)),t.children.length=0),{props:[I(L(`textContent`,!0),r?yt(r,n)>0?r:B(n.helperString(qn),[r],i):L(``,!0))]}},aa=(e,t,n)=>{let r=Ei(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Ii(58,e.arg.loc));function i(){let e=Fe(t,`bind`);e&&Le(e.arg,`value`)&&n.onError(Ii(60,e.loc))}let{tag:a}=t,o=n.isCustomElement(a);if(a===`input`||a===`textarea`||a===`select`||o){let s=Ui,c=!1;if(a===`input`||o){let r=Ie(t,`type`);if(r){if(r.type===7)s=Gi;else if(r.value)switch(r.value.content){case`radio`:s=Vi;break;case`checkbox`:s=Hi;break;case`file`:c=!0,n.onError(Ii(59,e.loc));break;default:i();break}}else Re(t)?s=Gi:i()}else a===`select`?s=Wi:i();c||(r.needRuntime=n.helper(s))}else n.onError(Ii(57,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},oa=A(`passive,once,capture`),sa=A(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),ca=A(`left,right`),la=A(`onkeyup,onkeydown,onkeypress`),ua=(e,t,n,r)=>{let i=[],a=[],o=[];for(let s=0;s<t.length;s++){let c=t[s].content;c===`native`&&ve(`COMPILER_V_ON_NATIVE`,n,r)||oa(c)?o.push(c):ca(c)?Or(e)?la(e.content.toLowerCase())?i.push(c):a.push(c):(i.push(c),a.push(c)):sa(c)?a.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},da=(e,t)=>Or(e)&&e.content.toLowerCase()===`onclick`?L(t,!0):e.type===4?e:z([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),fa=(e,t,n)=>Si(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:a}=t.props[0],{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:c}=ua(i,r,n,e.loc);if(s.includes(`right`)&&(i=da(i,`onContextmenu`)),s.includes(`middle`)&&(i=da(i,`onMouseup`)),s.length&&(a=B(n.helper(Ki),[a,JSON.stringify(s)])),o.length&&(!Or(i)||la(i.content.toLowerCase()))&&(a=B(n.helper(qi),[a,JSON.stringify(o)])),c.length){let e=c.map(D).join(``);i=Or(i)?L(`${i.content}${e}`,!0):z([`(`,i,`) + "${e}"`])}return{props:[I(i,a)]}}),pa=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Ii(61,i)),{props:[],needRuntime:n.helper(Ji)}},ma=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Yi)return()=>{if(!e.children.length)return;Li(e)&&t.onError(Ii(62,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}));let n=e.children[0];if(n.type===1)for(let t of n.props)t.type===7&&t.name===`show`&&e.props.push({type:6,name:`persisted`,nameLoc:e.loc,value:void 0,loc:e.loc})}},ha=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&(t.onError(Ii(63,e.loc)),t.removeNode())},ga=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),_a=new Set([]),va={head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`,`hr`]),table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),script:_a,iframe:_a,option:_a,textarea:_a,style:_a,title:_a},ya={html:_a,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},ba={p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},xa={a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:ga,h2:ga,h3:ga,h4:ga,h5:ga,h6:ga},Sa=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!Ri(t.parent.tag,e.tag)){let n=SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},Ca=[$i,ma,Sa],wa={cloak:Mi,html:ra,text:ia,model:aa,on:fa,show:pa}})),Ea=r((t=>{Object.defineProperty(t,`__esModule`,{value:!0});var n=(Ta(),e(Pi)),r=(w(),e(E)),i=(o(),e(b));function a(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var s=a(r),c=Object.create(null);function l(e,t){if(!i.isString(e))if(e.nodeType)e=e.innerHTML;else return r.warn(`invalid template option: `,e),i.NOOP;let a=i.genCacheKey(e,t),o=c[a];if(o)return o;if(e[0]===`#`){let t=document.querySelector(e);t||r.warn(`Template element not found or is empty: ${e}`),e=t?t.innerHTML:``}let l=i.extend({hoistStatic:!0,onError:d,onWarn:e=>d(e,!0)},t);!l.isCustomElement&&typeof customElements<`u`&&(l.isCustomElement=e=>!!customElements.get(e));let{code:u}=n.compile(e,l);function d(t,n=!1){let a=n?t.message:`Template compilation error: ${t.message}`,o=t.loc&&i.generateCodeFrame(e,t.loc.start.offset,t.loc.end.offset);r.warn(o?`${a}
|
|
10
|
-
${o}`:a)}let f=Function(`Vue`,u)(
|
|
8
|
+
`,-1)),kt(e.hoists,t),a(),i(`return `)}function J(e,t,{helper:n,push:r,newline:i,isTS:a}){let o=n(t===`filter`?Hn:t===`component`?zn:Vn);for(let n=0;n<e.length;n++){let s=e[n],c=s.endsWith(`__self`);c&&(s=s.slice(0,-6)),r(`const ${Ke(s,t)} = ${o}(${JSON.stringify(s)}${c?`, true`:``})${a?`!`:``}`),n<e.length-1&&i()}}function kt(e,t){if(!e.length)return;t.pure=!0;let{push:n,newline:r}=t;r();for(let i=0;i<e.length;i++){let a=e[i];a&&(n(`const _hoisted_${i+1} = `),Nt(a,t),r())}t.pure=!1}function At(e){return c(e)||e.type===4||e.type===2||e.type===5||e.type===8}function jt(e,t){let n=e.length>3||e.some(e=>o(e)||!At(e));t.push(`[`),n&&t.indent(),Mt(e,t,n),n&&t.deindent(),t.push(`]`)}function Mt(e,t,n=!1,r=!0){let{push:i,newline:a}=t;for(let s=0;s<e.length;s++){let l=e[s];c(l)?i(l,-3):o(l)?jt(l,t):Nt(l,t),s<e.length-1&&(n?(r&&i(`,`),a()):r&&i(`, `))}}function Nt(e,t){if(c(e)){t.push(e,-3);return}if(u(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Pe(e.codegenNode!=null,`Codegen node is missing for element/if/for node. Apply appropriate transforms first.`),Nt(e.codegenNode,t);break;case 2:Pt(e,t);break;case 4:Ft(e,t);break;case 5:It(e,t);break;case 12:Nt(e.codegenNode,t);break;case 8:Lt(e,t);break;case 3:zt(e,t);break;case 13:Bt(e,t);break;case 14:Ht(e,t);break;case 15:Ut(e,t);break;case 17:Wt(e,t);break;case 18:Gt(e,t);break;case 19:Kt(e,t);break;case 20:qt(e,t);break;case 21:Mt(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:return Pe(!1,`unhandled codegen node type: ${e.type}`),e}}function Pt(e,t){t.push(JSON.stringify(e.content),-3,e)}function Ft(e,t){let{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function It(e,t){let{push:n,helper:r,pure:i}=t;i&&n(ai),n(`${r(qn)}(`),Nt(e.content,t),n(`)`)}function Lt(e,t){for(let n=0;n<e.children.length;n++){let r=e.children[n];c(r)?t.push(r,-3):Nt(r,t)}}function Rt(e,t){let{push:n}=t;e.type===8?(n(`[`),Lt(e,t),n(`]`)):e.isStatic?n(Ar(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}function zt(e,t){let{push:n,helper:r,pure:i}=t;i&&n(ai),n(`${r(In)}(${JSON.stringify(e.content)})`,-3,e)}function Bt(e,t){let{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:s,patchFlag:c,dynamicProps:l,directives:u,isBlock:d,disableTracking:f,isComponent:p}=e,m;c&&(m=c<0?c+` /* ${k[c]} */`:c+` /* ${Object.keys(k).map(Number).filter(e=>e>0&&c&e).map(e=>k[e]).join(`, `)} */`),u&&n(r(Un)+`(`),d&&n(`(${r(jn)}(${f?`true`:``}), `),i&&n(ai),n(r(d?ue(t.inSSR,p):le(t.inSSR,p))+`(`,-2,e),Mt(Vt([a,o,s,m,l]),t),n(`)`),d&&n(`)`),u&&(n(`, `),Nt(u,t),n(`)`))}function Vt(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(e=>e||`null`)}function Ht(e,t){let{push:n,helper:r,pure:i}=t,a=c(e.callee)?e.callee:r(e.callee);i&&n(ai),n(a+`(`,-2,e),Mt(e.arguments,t),n(`)`)}function Ut(e,t){let{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n(`{}`,-2,e);return}let s=o.length>1||o.some(e=>e.value.type!==4);n(s?`{`:`{ `),s&&r();for(let e=0;e<o.length;e++){let{key:r,value:i}=o[e];Rt(r,t),n(`: `),Nt(i,t),e<o.length-1&&(n(`,`),a())}s&&i(),n(s?`}`:` }`)}function Wt(e,t){jt(e.elements,t)}function Gt(e,t){let{push:n,indent:r,deindent:i}=t,{params:a,returns:s,body:c,newline:l,isSlot:u}=e;u&&n(`_${dr[or]}(`),n(`(`,-2,e),o(a)?Mt(a,t):a&&Nt(a,t),n(`) => `),(l||c)&&(n(`{`),r()),s?(l&&n(`return `),o(s)?jt(s,t):Nt(s,t)):c&&Nt(c,t),(l||c)&&(i(),n(`}`)),u&&(e.isNonScopedSlot&&n(`, undefined, true`),n(`)`))}function Kt(e,t){let{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:s,deindent:c,newline:l}=t;if(n.type===4){let e=!Ar(n.content);e&&o(`(`),Ft(n,t),e&&o(`)`)}else o(`(`),Nt(n,t),o(`)`);a&&s(),t.indentLevel++,a||o(` `),o(`? `),Nt(r,t),t.indentLevel--,a&&l(),a||o(` `),o(`: `);let u=i.type===19;u||t.indentLevel++,Nt(i,t),u||t.indentLevel--,a&&c(!0)}function qt(e,t){let{push:n,helper:r,indent:i,deindent:a,newline:o}=t,{needPauseTracking:s,needArraySpread:c}=e;c&&n(`[...(`),n(`_cache[${e.index}] || (`),s&&(i(),n(`${r(rr)}(-1`),e.inVOnce&&n(`, true`),n(`),`),o(),n(`(`)),n(`_cache[${e.index}] = `),Nt(e.value,t),s&&(n(`).cacheIndex = ${e.index},`),o(),n(`${r(rr)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(`)`),c&&n(`)]`)}function Jt(e,t,n=!1,r=!1){let i=e.content;if(i.trim())try{Function(r?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(n){let r=n.message,a=i.replace(ci,``).match(si);a&&(r=`avoid using JavaScript keyword as property name: "${a[0]}"`),t.onError(V(45,e.loc,void 0,r))}}function Yt(e,t,n=!1,r=!1,i=Object.create(t.identifiers)){return Jt(e,t,n,r),e}function Xt(e){return c(e)?e:e.type===4?e.content:e.children.map(Xt).join(``)}function Zt(e,t,n,r){if(t.name!==`else`&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:e.loc;n.onError(V(28,t.loc)),t.exp=L(`true`,!1,r)}if(t.exp&&Jt(t.exp,n),t.name===`if`){let i=Qt(e,t),a={type:9,loc:lt(e.loc),branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{let i=n.parent.children,a=[],o=i.indexOf(e);for(;o-->=-1;){let s=i[o];if(s&&s.type===3){n.removeNode(s),a.unshift(s);continue}if(s&&s.type===2&&!s.content.trim().length){n.removeNode(s);continue}if(s&&s.type===9){t.name===`else-if`&&s.branches[s.branches.length-1].condition===void 0&&n.onError(V(30,e.loc)),n.removeNode();let i=Qt(e,t);a.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag===`transition`||n.parent.tag===`Transition`))&&(i.children=[...a,...i.children]);{let e=i.userKey;e&&s.branches.forEach(({userKey:t})=>{tn(t,e)&&n.onError(V(29,i.userKey.loc))})}s.branches.push(i);let o=r&&r(s,i,!1);Tt(i,n),o&&o(),n.currentNode=null}else n.onError(V(30,e.loc));break}}}function Qt(e,t){let n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name===`else`?void 0:t.exp,children:n&&!Fe(e,`for`)?e.children:[e],userKey:Ie(e,`key`),isTemplateIf:n}}function $t(e,t,n){return e.condition?te(e.condition,en(e,t,n),B(n.helper(In),[`"v-if"`,`true`])):en(e,t,n)}function en(e,t,n){let{helper:r}=n,i=I(`key`,L(`${t}`,!1,Y,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){let e=o.codegenNode;return We(e,i,n),e}else{let t=64;return!e.isTemplateIf&&a.filter(e=>e.type!==3).length===1&&(t|=2048),N(n,r(En),F([i]),a,t,void 0,void 0,!0,!1,!1,e.loc)}else{let e=o.codegenNode,t=Je(e);return t.type===13&&de(t,n),We(t,i,n),e}}function tn(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{let n=e.exp,r=t.exp;if(n.type!==r.type||n.type!==4||n.isStatic!==r.isStatic||n.content!==r.content)return!1}return!0}function nn(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}function rn(e,t,n,r){if(!t.exp){n.onError(V(31,t.loc));return}let i=t.forParseResult;if(!i){n.onError(V(32,t.loc));return}an(i,n);let{addIdentifiers:a,removeIdentifiers:o,scopes:s}=n,{source:c,value:l,key:u,index:d}=i,f={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Ve(e)?e.children:[e]};n.replaceNode(f),s.vFor++;let p=r&&r(f);return()=>{s.vFor--,p&&p()}}function an(e,t){e.finalized||=(Jt(e.source,t),e.key&&Jt(e.key,t,!0),e.index&&Jt(e.index,t,!0),e.value&&Jt(e.value,t,!0),!0)}function on({value:e,key:t,index:n},r=[]){return sn([e,t,n,...r])}function sn(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||L(`_`.repeat(t+1),!1))}function cn(e,t,n=vi){t.helper(or);let{children:r,loc:i}=e,a=[],o=[],s=t.scopes.vSlot>0||t.scopes.vFor>0,c=Fe(e,`slot`,!0);if(c){let{arg:e,exp:t}=c;e&&!Or(e)&&(s=!0),a.push(I(e||L(`default`,!0),n(t,void 0,r,i)))}let l=!1,u=!1,d=[],f=new Set,p=0;for(let e=0;e<r.length;e++){let i=r[e],m;if(!Ve(i)||!(m=Fe(i,`slot`,!0))){i.type!==3&&d.push(i);continue}if(c){t.onError(V(37,m.loc));break}l=!0;let{children:h,loc:g}=i,{arg:_=L(`default`,!0),exp:v,loc:y}=m,b;Or(_)?b=_?_.content:`default`:s=!0;let x=Fe(i,`for`),S=n(v,x,h,g),C,w;if(C=Fe(i,`if`))s=!0,o.push(te(C.exp,ln(_,S,p++),hi));else if(w=Fe(i,/^else(-if)?$/,!0)){let n=e,i;for(;n--&&(i=r[n],i.type===3););if(i&&Ve(i)&&Fe(i,/^(else-)?if$/)){let e=o[o.length-1];for(;e.alternate.type===19;)e=e.alternate;e.alternate=w.exp?te(w.exp,ln(_,S,p++),hi):ln(_,S,p++)}else t.onError(V(30,w.loc))}else if(x){s=!0;let e=x.forParseResult;e?(an(e,t),o.push(B(t.helper(Wn),[e.source,ee(on(e),ln(_,S),!0)]))):t.onError(V(32,x.loc))}else{if(b){if(f.has(b)){t.onError(V(38,y));continue}f.add(b),b===`default`&&(u=!0)}a.push(I(_,S))}}if(!c){let e=(e,r)=>{let a=n(e,void 0,r,i);return t.compatConfig&&(a.isNonScopedSlot=!0),I(`default`,a)};l?d.length&&d.some(e=>dn(e))&&(u?t.onError(V(39,d[0].loc)):a.push(e(void 0,d))):a.push(e(void 0,r))}let m=s?2:un(e.children)?3:1,h=F(a.concat(I(`_`,L(m+` /* ${x[m]} */`,!1))),i);return o.length&&(h=B(t.helper(Kn),[h,P(o)])),{slots:h,hasDynamicSlots:s}}function ln(e,t,n){let r=[I(`name`,e),I(`fn`,t)];return n!=null&&r.push(I(`key`,L(String(n),!0))),F(r)}function un(e){for(let t=0;t<e.length;t++){let n=e[t];switch(n.type){case 1:if(n.tagType===2||un(n.children))return!0;break;case 9:if(un(n.branches))return!0;break;case 10:case 11:if(un(n.children))return!0;break}}return!1}function dn(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():dn(e.content)}function fn(e,t,n=!1){let{tag:r}=e,i=vn(r),a=Ie(e,`is`,!1,!0);if(a)if(i||_e(`COMPILER_IS_ON_ELEMENT`,t)){let e;if(a.type===6?e=a.value&&L(a.value.content,!0):(e=a.exp,e||=L(`is`,!1,a.arg.loc)),e)return B(t.helper(Bn),[e])}else a.type===6&&a.value.content.startsWith(`vue:`)&&(r=a.value.content.slice(4));let o=je(r)||t.isBuiltInComponent(r);return o?(n||t.helper(o),o):(t.helper(zn),t.components.add(r),Ke(r,`component`))}function pn(e,t,n=e.props,r,i,a=!1){let{tag:o,loc:s,children:c}=e,l=[],d=[],f=[],g=c.length>0,_=!1,v=0,y=!1,b=!1,x=!1,S=!1,C=!1,w=!1,T=[],E=e=>{l.length&&(d.push(F(mn(l),s)),l=[]),e&&d.push(e)},D=()=>{t.scopes.vFor>0&&l.push(I(L(`ref_for`,!0),L(`true`)))},O=({key:e,value:n})=>{if(Or(e)){let a=e.content,o=p(a);if(o&&(!r||i)&&a.toLowerCase()!==`onclick`&&a!==`onUpdate:modelValue`&&!m(a)&&(S=!0),o&&m(a)&&(w=!0),o&&n.type===14&&(n=n.arguments[0]),n.type===20||(n.type===4||n.type===8)&&yt(n,t)>0)return;a===`ref`?y=!0:a===`class`?b=!0:a===`style`?x=!0:a!==`key`&&!T.includes(a)&&T.push(a),r&&(a===`class`||a===`style`)&&!T.includes(a)&&T.push(a)}else C=!0};for(let i=0;i<n.length;i++){let c=n[i];if(c.type===6){let{loc:e,name:n,nameLoc:r,value:i}=c;if(n===`ref`&&(y=!0,D()),n===`is`&&(vn(o)||i&&i.content.startsWith(`vue:`)||_e(`COMPILER_IS_ON_ELEMENT`,t)))continue;l.push(I(L(n,!0,r),L(i?i.content:``,!0,i?i.loc:e)))}else{let{name:n,arg:i,exp:m,loc:y,modifiers:b}=c,x=n===`bind`,S=n===`on`;if(n===`slot`){r||t.onError(V(40,y));continue}if(n===`once`||n===`memo`||n===`is`||x&&Le(i,`is`)&&(vn(o)||_e(`COMPILER_IS_ON_ELEMENT`,t))||S&&a)continue;if((x&&Le(i,`key`)||S&&g&&Le(i,`vue:before-update`))&&(_=!0),x&&Le(i,`ref`)&&D(),!i&&(x||S)){if(C=!0,m)if(x){if(D(),E(),d.some(e=>e.type===15?e.properties.some(({key:e})=>e.type!==4||!e.isStatic?!0:e.content!==`class`&&e.content!==`style`&&!p(e.content)):!0)&&ve(`COMPILER_V_BIND_OBJECT_ORDER`,t,y),_e(`COMPILER_V_BIND_OBJECT_ORDER`,t)){d.unshift(m);continue}d.push(m)}else E({type:14,loc:y,callee:t.helper($n),arguments:r?[m]:[m,`true`]});else t.onError(V(x?34:35,y));continue}x&&b.some(e=>e.content===`prop`)&&(v|=32);let w=t.directiveTransforms[n];if(w){let{props:n,needRuntime:r}=w(c,e,t);!a&&n.forEach(O),S&&i&&!Or(i)?E(F(n,s)):l.push(...n),r&&(f.push(c),u(r)&&yi.set(c,r))}else h(n)||(f.push(c),g&&(_=!0))}}let k;if(d.length?(E(),k=d.length>1?B(t.helper(Jn),d,s):d[0]):l.length&&(k=F(mn(l),s)),C?v|=16:(b&&!r&&(v|=2),x&&!r&&(v|=4),T.length&&(v|=8),S&&(v|=32)),!_&&(v===0||v===32)&&(y||w||f.length>0)&&(v|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<k.properties.length;t++){let i=k.properties[t].key;Or(i)?i.content===`class`?e=t:i.content===`style`&&(n=t):i.isHandlerKey||(r=!0)}let i=k.properties[e],a=k.properties[n];r?k=B(t.helper(Zn),[k]):(i&&!Or(i.value)&&(i.value=B(t.helper(Yn),[i.value])),a&&(x||a.value.type===4&&a.value.content.trim()[0]===`[`||a.value.type===17)&&(a.value=B(t.helper(Xn),[a.value])));break;case 14:break;default:k=B(t.helper(Zn),[B(t.helper(Qn),[k])]);break}return{props:k,directives:f,patchFlag:v,dynamicPropNames:T,shouldUseBlock:_}}function mn(e){let t=new Map,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}let a=i.key.content,o=t.get(a);o?(a===`style`||a===`class`||p(a))&&hn(o,i):(t.set(a,i),n.push(i))}return n}function hn(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=P([e.value,t.value],e.loc)}function gn(e,t){let n=[],r=yi.get(e);r?n.push(t.helperString(r)):(t.helper(Vn),t.directives.add(e.name),n.push(Ke(e.name,`directive`)));let{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push(`void 0`),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push(`void 0`),n.push(`void 0`));let t=L(`true`,!1,i);n.push(F(e.modifiers.map(e=>I(e,t)),i))}return P(n,e.loc)}function _n(e){let t=`[`;for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=`, `);return t+`]`}function vn(e){return e===`component`||e===`Component`}function yn(e,t){let n=`"default"`,r,i=[];for(let t=0;t<e.props.length;t++){let r=e.props[t];r.type===6?r.value&&(r.name===`name`?n=JSON.stringify(r.value.content):(r.name=v(r.name),i.push(r))):r.name===`bind`&&Le(r.arg,`name`)?r.exp?n=r.exp:r.arg&&r.arg.type===4&&(n=r.exp=L(v(r.arg.content),!1,r.arg.loc)):(r.name===`bind`&&r.arg&&Or(r.arg)&&(r.arg.content=v(r.arg.content)),i.push(r))}if(i.length>0){let{props:n,directives:a}=pn(e,t,i,!1,!1);r=n,a.length&&t.onError(V(36,a[0].loc))}return{slotName:n,slotProps:r}}function bn(e=[]){return{props:e}}function xn(e,t){if(e.type===4)Sn(e,t);else for(let n=0;n<e.children.length;n++){let r=e.children[n];typeof r==`object`&&(r.type===4?Sn(r,t):r.type===8?xn(e,t):r.type===5&&xn(r.content,t))}}function Sn(e,t){let n=e.content,r=!1,i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0,d,f,p,m,h=[];for(p=0;p<n.length;p++)if(f=d,d=n.charCodeAt(p),r)d===39&&f!==92&&(r=!1);else if(i)d===34&&f!==92&&(i=!1);else if(a)d===96&&f!==92&&(a=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!c&&!l)m===void 0?(u=p+1,m=n.slice(0,p).trim()):g();else{switch(d){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:l++;break;case 41:l--;break;case 91:c++;break;case 93:c--;break;case 123:s++;break;case 125:s--;break}if(d===47){let e=p-1,t;for(;e>=0&&(t=n.charAt(e),t===` `);e--);(!t||!Di.test(t))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():u!==0&&g();function g(){h.push(n.slice(u,p).trim()),u=p+1}if(h.length){for(ye(`COMPILER_FILTERS`,t,e.loc),p=0;p<h.length;p++)m=Cn(m,h[p],t);e.content=m,e.ast=void 0}}function Cn(e,t,n){n.helper(Hn);let r=t.indexOf(`(`);if(r<0)return n.filters.add(t),`${Ke(t,`filter`)}(${e})`;{let i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${Ke(i,`filter`)}(${e}${a===`)`?a:`,`+a}`}}function wn(e){return[[Ti,ui,Ai,mi,Oi,li,xi,bi,gi,Ci],{on:Si,bind:di,model:Ei}]}function Tn(e,t={}){let n=t.onError||be,r=t.mode===`module`;t.prefixIdentifiers===!0?n(V(47)):r&&n(V(48)),t.cacheHandlers&&n(V(49)),t.scopeId&&!r&&n(V(50));let i=O({},t,{prefixIdentifiers:!1}),a=c(e)?ht(e,i):e,[o,s]=wn();return St(a,O({},i,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:O({},s,t.directiveTransforms||{})})),Dt(a,i)}var En,Dn,On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,$n,er,tr,nr,rr,ir,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,hr,Y,gr,_r,vr,yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr,Hr,Ur,Wr,X,Gr,Kr,qr,Z,Jr,Yr,Xr,Zr,Qr,$r,Q,$,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi,mi,hi,gi,_i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,Di,Oi,ki,Ai,ji,Mi,Ni=t((()=>{s(),En=Symbol(`Fragment`),Dn=Symbol(`Teleport`),On=Symbol(`Suspense`),kn=Symbol(`KeepAlive`),An=Symbol(`BaseTransition`),jn=Symbol(`openBlock`),Mn=Symbol(`createBlock`),Nn=Symbol(`createElementBlock`),Pn=Symbol(`createVNode`),Fn=Symbol(`createElementVNode`),In=Symbol(`createCommentVNode`),Ln=Symbol(`createTextVNode`),Rn=Symbol(`createStaticVNode`),zn=Symbol(`resolveComponent`),Bn=Symbol(`resolveDynamicComponent`),Vn=Symbol(`resolveDirective`),Hn=Symbol(`resolveFilter`),Un=Symbol(`withDirectives`),Wn=Symbol(`renderList`),Gn=Symbol(`renderSlot`),Kn=Symbol(`createSlots`),qn=Symbol(`toDisplayString`),Jn=Symbol(`mergeProps`),Yn=Symbol(`normalizeClass`),Xn=Symbol(`normalizeStyle`),Zn=Symbol(`normalizeProps`),Qn=Symbol(`guardReactiveProps`),$n=Symbol(`toHandlers`),er=Symbol(`camelize`),tr=Symbol(`capitalize`),nr=Symbol(`toHandlerKey`),rr=Symbol(`setBlockTracking`),ir=Symbol(`pushScopeId`),ar=Symbol(`popScopeId`),or=Symbol(`withCtx`),sr=Symbol(`unref`),cr=Symbol(`isRef`),lr=Symbol(`withMemo`),ur=Symbol(`isMemoSame`),dr={[En]:`Fragment`,[Dn]:`Teleport`,[On]:`Suspense`,[kn]:`KeepAlive`,[An]:`BaseTransition`,[jn]:`openBlock`,[Mn]:`createBlock`,[Nn]:`createElementBlock`,[Pn]:`createVNode`,[Fn]:`createElementVNode`,[In]:`createCommentVNode`,[Ln]:`createTextVNode`,[Rn]:`createStaticVNode`,[zn]:`resolveComponent`,[Bn]:`resolveDynamicComponent`,[Vn]:`resolveDirective`,[Hn]:`resolveFilter`,[Un]:`withDirectives`,[Wn]:`renderList`,[Gn]:`renderSlot`,[Kn]:`createSlots`,[qn]:`toDisplayString`,[Jn]:`mergeProps`,[Yn]:`normalizeClass`,[Xn]:`normalizeStyle`,[Zn]:`normalizeProps`,[Qn]:`guardReactiveProps`,[$n]:`toHandlers`,[er]:`camelize`,[tr]:`capitalize`,[nr]:`toHandlerKey`,[rr]:`setBlockTracking`,[ir]:`pushScopeId`,[ar]:`popScopeId`,[or]:`withCtx`,[sr]:`unref`,[cr]:`isRef`,[lr]:`withMemo`,[ur]:`isMemoSame`},fr={HTML:0,0:`HTML`,SVG:1,1:`SVG`,MATH_ML:2,2:`MATH_ML`},pr={ROOT:0,0:`ROOT`,ELEMENT:1,1:`ELEMENT`,TEXT:2,2:`TEXT`,COMMENT:3,3:`COMMENT`,SIMPLE_EXPRESSION:4,4:`SIMPLE_EXPRESSION`,INTERPOLATION:5,5:`INTERPOLATION`,ATTRIBUTE:6,6:`ATTRIBUTE`,DIRECTIVE:7,7:`DIRECTIVE`,COMPOUND_EXPRESSION:8,8:`COMPOUND_EXPRESSION`,IF:9,9:`IF`,IF_BRANCH:10,10:`IF_BRANCH`,FOR:11,11:`FOR`,TEXT_CALL:12,12:`TEXT_CALL`,VNODE_CALL:13,13:`VNODE_CALL`,JS_CALL_EXPRESSION:14,14:`JS_CALL_EXPRESSION`,JS_OBJECT_EXPRESSION:15,15:`JS_OBJECT_EXPRESSION`,JS_PROPERTY:16,16:`JS_PROPERTY`,JS_ARRAY_EXPRESSION:17,17:`JS_ARRAY_EXPRESSION`,JS_FUNCTION_EXPRESSION:18,18:`JS_FUNCTION_EXPRESSION`,JS_CONDITIONAL_EXPRESSION:19,19:`JS_CONDITIONAL_EXPRESSION`,JS_CACHE_EXPRESSION:20,20:`JS_CACHE_EXPRESSION`,JS_BLOCK_STATEMENT:21,21:`JS_BLOCK_STATEMENT`,JS_TEMPLATE_LITERAL:22,22:`JS_TEMPLATE_LITERAL`,JS_IF_STATEMENT:23,23:`JS_IF_STATEMENT`,JS_ASSIGNMENT_EXPRESSION:24,24:`JS_ASSIGNMENT_EXPRESSION`,JS_SEQUENCE_EXPRESSION:25,25:`JS_SEQUENCE_EXPRESSION`,JS_RETURN_STATEMENT:26,26:`JS_RETURN_STATEMENT`},mr={ELEMENT:0,0:`ELEMENT`,COMPONENT:1,1:`COMPONENT`,SLOT:2,2:`SLOT`,TEMPLATE:3,3:`TEMPLATE`},hr={NOT_CONSTANT:0,0:`NOT_CONSTANT`,CAN_SKIP_PATCH:1,1:`CAN_SKIP_PATCH`,CAN_CACHE:2,2:`CAN_CACHE`,CAN_STRINGIFY:3,3:`CAN_STRINGIFY`},Y={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:``},gr=new Uint8Array([123,123]),_r=new Uint8Array([125,125]),vr={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},yr=class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer=``,this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=gr,this.delimiterClose=_r,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer=``,this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=gr,this.delimiterClose=_r}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){let i=this.newlines[r];if(e>i){t=r+2,n=e-i;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(!(t?me(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!t){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||pe(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.sectionStart=t+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===vr.TitleEnd||this.currentSequence===vr.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===60)}stateCDATASequence(e){e===vr.Cdata[this.sequenceIndex]?++this.sequenceIndex===vr.Cdata.length&&(this.state=28,this.currentSequence=vr.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){let t=this.buffer.charCodeAt(this.index);if(t===10&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===vr.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):fe(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){me(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(me(e)){let t=this.buffer.slice(this.sectionStart,this.index);t!==`template`&&this.enterRCDATA(he(`</`+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){pe(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=fe(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||pe(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):pe(e)||(e===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):pe(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||me(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):(e===34||e===39||e===60)&&this.cbs.onerr(17,this.index)}stateInDirName(e){e===61||me(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||me(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||me(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||me(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):pe(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):pe(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){pe(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===34||e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=vr.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===vr.ScriptEnd[3]?this.startSpecial(vr.ScriptEnd,4):e===vr.StyleEnd[3]?this.startSpecial(vr.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===vr.TitleEnd[3]?this.startSpecial(vr.TitleEnd,4):e===vr.TextareaEnd[3]?this.startSpecial(vr.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity();break}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===vr.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}},br={COMPILER_IS_ON_ELEMENT:`COMPILER_IS_ON_ELEMENT`,COMPILER_V_BIND_SYNC:`COMPILER_V_BIND_SYNC`,COMPILER_V_BIND_OBJECT_ORDER:`COMPILER_V_BIND_OBJECT_ORDER`,COMPILER_V_ON_NATIVE:`COMPILER_V_ON_NATIVE`,COMPILER_V_IF_V_FOR_PRECEDENCE:`COMPILER_V_IF_V_FOR_PRECEDENCE`,COMPILER_NATIVE_TEMPLATE:`COMPILER_NATIVE_TEMPLATE`,COMPILER_INLINE_TEMPLATE:`COMPILER_INLINE_TEMPLATE`,COMPILER_FILTERS:`COMPILER_FILTERS`},xr={COMPILER_IS_ON_ELEMENT:{message:`Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".`,link:`https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-model.html`},COMPILER_V_BIND_OBJECT_ORDER:{message:`v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-bind.html`},COMPILER_V_ON_NATIVE:{message:`.native modifier for v-on has been removed as is no longer necessary.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:`v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.`,link:`https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`},COMPILER_NATIVE_TEMPLATE:{message:`<template> with no special directives will render as a native template element instead of its inner content in Vue 3.`},COMPILER_INLINE_TEMPLATE:{message:`"inline-template" has been removed in Vue 3.`,link:`https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`},COMPILER_FILTERS:{message:`filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.`,link:`https://v3-migration.vuejs.org/breaking-changes/filters.html`}},Sr={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:`ABRUPT_CLOSING_OF_EMPTY_COMMENT`,CDATA_IN_HTML_CONTENT:1,1:`CDATA_IN_HTML_CONTENT`,DUPLICATE_ATTRIBUTE:2,2:`DUPLICATE_ATTRIBUTE`,END_TAG_WITH_ATTRIBUTES:3,3:`END_TAG_WITH_ATTRIBUTES`,END_TAG_WITH_TRAILING_SOLIDUS:4,4:`END_TAG_WITH_TRAILING_SOLIDUS`,EOF_BEFORE_TAG_NAME:5,5:`EOF_BEFORE_TAG_NAME`,EOF_IN_CDATA:6,6:`EOF_IN_CDATA`,EOF_IN_COMMENT:7,7:`EOF_IN_COMMENT`,EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:`EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT`,EOF_IN_TAG:9,9:`EOF_IN_TAG`,INCORRECTLY_CLOSED_COMMENT:10,10:`INCORRECTLY_CLOSED_COMMENT`,INCORRECTLY_OPENED_COMMENT:11,11:`INCORRECTLY_OPENED_COMMENT`,INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:`INVALID_FIRST_CHARACTER_OF_TAG_NAME`,MISSING_ATTRIBUTE_VALUE:13,13:`MISSING_ATTRIBUTE_VALUE`,MISSING_END_TAG_NAME:14,14:`MISSING_END_TAG_NAME`,MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:`MISSING_WHITESPACE_BETWEEN_ATTRIBUTES`,NESTED_COMMENT:16,16:`NESTED_COMMENT`,UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:`UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME`,UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:`UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE`,UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:`UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME`,UNEXPECTED_NULL_CHARACTER:20,20:`UNEXPECTED_NULL_CHARACTER`,UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:`UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME`,UNEXPECTED_SOLIDUS_IN_TAG:22,22:`UNEXPECTED_SOLIDUS_IN_TAG`,X_INVALID_END_TAG:23,23:`X_INVALID_END_TAG`,X_MISSING_END_TAG:24,24:`X_MISSING_END_TAG`,X_MISSING_INTERPOLATION_END:25,25:`X_MISSING_INTERPOLATION_END`,X_MISSING_DIRECTIVE_NAME:26,26:`X_MISSING_DIRECTIVE_NAME`,X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:`X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END`,X_V_IF_NO_EXPRESSION:28,28:`X_V_IF_NO_EXPRESSION`,X_V_IF_SAME_KEY:29,29:`X_V_IF_SAME_KEY`,X_V_ELSE_NO_ADJACENT_IF:30,30:`X_V_ELSE_NO_ADJACENT_IF`,X_V_FOR_NO_EXPRESSION:31,31:`X_V_FOR_NO_EXPRESSION`,X_V_FOR_MALFORMED_EXPRESSION:32,32:`X_V_FOR_MALFORMED_EXPRESSION`,X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:`X_V_FOR_TEMPLATE_KEY_PLACEMENT`,X_V_BIND_NO_EXPRESSION:34,34:`X_V_BIND_NO_EXPRESSION`,X_V_ON_NO_EXPRESSION:35,35:`X_V_ON_NO_EXPRESSION`,X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:`X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET`,X_V_SLOT_MIXED_SLOT_USAGE:37,37:`X_V_SLOT_MIXED_SLOT_USAGE`,X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:`X_V_SLOT_DUPLICATE_SLOT_NAMES`,X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:`X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN`,X_V_SLOT_MISPLACED:40,40:`X_V_SLOT_MISPLACED`,X_V_MODEL_NO_EXPRESSION:41,41:`X_V_MODEL_NO_EXPRESSION`,X_V_MODEL_MALFORMED_EXPRESSION:42,42:`X_V_MODEL_MALFORMED_EXPRESSION`,X_V_MODEL_ON_SCOPE_VARIABLE:43,43:`X_V_MODEL_ON_SCOPE_VARIABLE`,X_V_MODEL_ON_PROPS:44,44:`X_V_MODEL_ON_PROPS`,X_INVALID_EXPRESSION:45,45:`X_INVALID_EXPRESSION`,X_KEEP_ALIVE_INVALID_CHILDREN:46,46:`X_KEEP_ALIVE_INVALID_CHILDREN`,X_PREFIX_ID_NOT_SUPPORTED:47,47:`X_PREFIX_ID_NOT_SUPPORTED`,X_MODULE_MODE_NOT_SUPPORTED:48,48:`X_MODULE_MODE_NOT_SUPPORTED`,X_CACHE_HANDLER_NOT_SUPPORTED:49,49:`X_CACHE_HANDLER_NOT_SUPPORTED`,X_SCOPE_ID_NOT_SUPPORTED:50,50:`X_SCOPE_ID_NOT_SUPPORTED`,X_VNODE_HOOKS:51,51:`X_VNODE_HOOKS`,X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:`X_V_BIND_INVALID_SAME_NAME_ARGUMENT`,__EXTEND_POINT__:53,53:`__EXTEND_POINT__`},Cr={0:`Illegal comment.`,1:`CDATA section is allowed only in XML context.`,2:`Duplicate attribute.`,3:`End tag cannot have attributes.`,4:`Illegal '/' in tags.`,5:`Unexpected EOF in tag.`,6:`Unexpected EOF in CDATA section.`,7:`Unexpected EOF in comment.`,8:`Unexpected EOF in script.`,9:`Unexpected EOF in tag.`,10:`Incorrectly closed comment.`,11:`Incorrectly opened comment.`,12:`Illegal tag name. Use '<' to print '<'.`,13:`Attribute value was expected.`,14:`End tag name was expected.`,15:`Whitespace was expected.`,16:`Unexpected '<!--' in comment.`,17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:`Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (\`).`,19:`Attribute name cannot start with '='.`,21:`'<?' is allowed only in XML context.`,20:`Unexpected null character.`,22:`Illegal '/' in tags.`,23:`Invalid end tag.`,24:`Element is missing end tag.`,25:`Interpolation end sign was not found.`,27:`End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.`,26:`Legal directive name was expected.`,28:`v-if/v-else-if is missing expression.`,29:`v-if/else branches must use unique keys.`,30:`v-else/v-else-if has no adjacent v-if or v-else-if.`,31:`v-for is missing expression.`,32:`v-for has invalid expression.`,33:`<template v-for> key should be placed on the <template> tag.`,34:`v-bind is missing expression.`,52:`v-bind with same-name shorthand only allows static argument.`,35:`v-on is missing expression.`,36:`Unexpected custom directive on <slot> outlet.`,37:`Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,38:`Duplicate slot names found. `,39:`Extraneous children found when component already has explicitly named default slot. These children will be ignored.`,40:`v-slot can only be used on components or <template> tags.`,41:`v-model is missing expression.`,42:`v-model value must be a valid JavaScript member expression.`,43:`v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
9
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:`Error parsing JavaScript expression: `,46:`<KeepAlive> expects exactly one child component.`,51:`@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,47:`"prefixIdentifiers" option is not supported in this build of compiler.`,48:`ES module mode is not supported in this build of compiler.`,49:`"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,50:`"scopeId" option is only supported in module mode.`,53:``},wr=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Tr=e=>e&&(e.type===`ObjectProperty`||e.type===`ObjectMethod`)&&!e.computed,Er=(e,t)=>Tr(t)&&t.key===e,Dr=[`TSAsExpression`,`TSTypeAssertion`,`TSNonNullExpression`,`TSInstantiationExpression`,`TSSatisfiesExpression`],Or=e=>e.type===4&&e.isStatic,kr=/^\d|[^\$\w\xA0-\uFFFF]/,Ar=e=>!kr.test(e),jr=/[A-Za-z_$\xA0-\uFFFF]/,Mr=/[\.\?\w$\xA0-\uFFFF]/,Nr=/\s+[.[]\s*|\s*[.[]\s+/g,Pr=e=>e.type===4?e.content:e.loc.source,Fr=e=>{let t=Pr(e).trim().replace(Nr,e=>e.trim()),n=0,r=[],i=0,a=0,o=null;for(let e=0;e<t.length;e++){let s=t.charAt(e);switch(n){case 0:if(s===`[`)r.push(n),n=1,i++;else if(s===`(`)r.push(n),n=2,a++;else if(!(e===0?jr:Mr).test(s))return!1;break;case 1:s===`'`||s===`"`||s==="`"?(r.push(n),n=3,o=s):s===`[`?i++:s===`]`&&(--i||(n=r.pop()));break;case 2:if(s===`'`||s===`"`||s==="`")r.push(n),n=3,o=s;else if(s===`(`)a++;else if(s===`)`){if(e===t.length-1)return!1;--a||(n=r.pop())}break;case 3:s===o&&(n=r.pop(),o=null);break}}return!i&&!a},Ir=C,Lr=Fr,Rr=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,zr=e=>Rr.test(Pr(e)),Br=C,Vr=zr,Hr=new Set([Zn,Qn]),Ur=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,Wr={parseMode:`base`,ns:0,delimiters:[`{{`,`}}`],getNamespace:()=>0,isVoidTag:A,isPreTag:A,isIgnoreNewlineTag:A,isCustomElement:A,onError:be,onWarn:xe,comments:!0,prefixIdentifiers:!1},X=Wr,Gr=null,Kr=``,qr=null,Z=null,Jr=``,Yr=-1,Xr=-1,Zr=0,Qr=!1,$r=null,Q=[],$=new yr(Q,{onerr:pt,ontext(e,t){Ze(U(e,t),e,t)},ontextentity(e,t,n){Ze(e,t,n)},oninterpolation(e,t){if(Qr)return Ze(U(e,t),e,t);let n=e+$.delimiterOpen.length,r=t-$.delimiterClose.length;for(;pe(Kr.charCodeAt(n));)n++;for(;pe(Kr.charCodeAt(r-1));)r--;let i=U(n,r);i.includes(`&`)&&(i=X.decodeEntities(i,!1)),ct({type:5,content:ft(i,!1,W(n,r)),loc:W(e,t)})},onopentagname(e,t){let n=U(e,t);qr={type:1,tag:n,ns:X.getNamespace(n,Q[0],X.ns),tagType:0,props:[],children:[],loc:W(e-1,t),codegenNode:void 0}},onopentagend(e){Xe(e)},onclosetag(e,t){let n=U(e,t);if(!X.isVoidTag(n)){let r=!1;for(let e=0;e<Q.length;e++)if(Q[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&pt(24,Q[0].loc.start.offset);for(let n=0;n<=e;n++)Qe(Q.shift(),t,n<e);break}r||pt(23,et(e,60))}},onselfclosingtag(e){let t=qr.tag;qr.isSelfClosing=!0,Xe(e),Q[0]&&Q[0].tag===t&&Qe(Q.shift(),e)},onattribname(e,t){Z={type:6,name:U(e,t),nameLoc:W(e,t),value:void 0,loc:W(e)}},ondirname(e,t){let n=U(e,t),r=n===`.`||n===`:`?`bind`:n===`@`?`on`:n===`#`?`slot`:n.slice(2);if(!Qr&&r===``&&pt(26,e),Qr||r===``)Z={type:6,name:n,nameLoc:W(e,t),value:void 0,loc:W(e)};else if(Z={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:n===`.`?[L(`prop`)]:[],loc:W(e)},r===`pre`){Qr=$.inVPre=!0,$r=qr;let e=qr.props;for(let t=0;t<e.length;t++)e[t].type===7&&(e[t]=dt(e[t]))}},ondirarg(e,t){if(e===t)return;let n=U(e,t);if(Qr)Z.name+=n,ut(Z.nameLoc,t);else{let r=n[0]!==`[`;Z.arg=ft(r?n:n.slice(1,-1),r,W(e,t),r?3:0)}},ondirmodifier(e,t){let n=U(e,t);if(Qr)Z.name+=`.`+n,ut(Z.nameLoc,t);else if(Z.name===`slot`){let e=Z.arg;e&&(e.content+=`.`+n,ut(e.loc,t))}else{let r=L(n,!0,W(e,t));Z.modifiers.push(r)}},onattribdata(e,t){Jr+=U(e,t),Yr<0&&(Yr=e),Xr=t},onattribentity(e,t,n){Jr+=e,Yr<0&&(Yr=t),Xr=n},onattribnameend(e){let t=Z.loc.start.offset,n=U(t,e);Z.type===7&&(Z.rawName=n),qr.props.some(e=>(e.type===7?e.rawName:e.name)===n)&&pt(2,t)},onattribend(e,t){if(qr&&Z){if(ut(Z.loc,t),e!==0)if(Jr.includes(`&`)&&(Jr=X.decodeEntities(Jr,!0)),Z.type===6)Z.name===`class`&&(Jr=st(Jr).trim()),e===1&&!Jr&&pt(13,t),Z.value={type:2,content:Jr,loc:e===1?W(Yr,Xr):W(Yr-1,Xr+1)},$.inSFCRoot&&qr.tag===`template`&&Z.name===`lang`&&Jr&&Jr!==`html`&&$.enterRCDATA(he(`</template`),0);else{Z.exp=ft(Jr,!1,W(Yr,Xr),0,0),Z.name===`for`&&(Z.forParseResult=Ye(Z.exp));let e=-1;Z.name===`bind`&&(e=Z.modifiers.findIndex(e=>e.content===`sync`))>-1&&ve(`COMPILER_V_BIND_SYNC`,X,Z.loc,Z.rawName)&&(Z.name=`model`,Z.modifiers.splice(e,1))}(Z.type!==7||Z.name!==`pre`)&&qr.props.push(Z)}Jr=``,Yr=Xr=-1},oncomment(e,t){X.comments&&ct({type:3,content:U(e,t),loc:W(e-4,t+3)})},onend(){let e=Kr.length;if($.state!==1)switch($.state){case 5:case 8:pt(5,e);break;case 3:case 4:pt(25,$.sectionStart);break;case 28:$.currentSequence===vr.CdataEnd?pt(6,e):pt(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:pt(9,e);break}for(let t=0;t<Q.length;t++)Qe(Q[t],e-1),pt(24,Q[t].loc.start.offset)},oncdata(e,t){Q[0].ns===0?pt(1,e-9):Ze(U(e,t),e,t)},onprocessinginstruction(e){(Q[0]?Q[0].ns:X.ns)===0&&pt(21,e-1)}}),ei=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ti=/^\(|\)$/g,ni=new Set([`if`,`else`,`else-if`,`for`,`slot`]),ri=/\r\n/g,ii=new Set([Yn,Xn,Zn,Qn]),ai=`/*@__PURE__*/`,oi=e=>`${dr[e]}: _${dr[e]}`,si=RegExp(`\\b`+`arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield`.split(`,`).join(`\\b|\\b`)+`\\b`),ci=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g,li=(e,t)=>{if(e.type===5)e.content=Yt(e.content,t);else if(e.type===1){let n=Fe(e,`memo`);for(let r=0;r<e.props.length;r++){let i=e.props[r];if(i.type===7&&i.name!==`for`){let e=i.exp,r=i.arg;e&&e.type===4&&!(i.name===`on`&&r)&&!(n&&r&&r.type===4&&r.content===`key`)&&(i.exp=Yt(e,t,i.name===`slot`)),r&&r.type===4&&!r.isStatic&&(i.arg=Yt(r,t))}}}},ui=q(/^(if|else|else-if)$/,(e,t,n)=>Zt(e,t,n,(e,t,r)=>{let i=n.parent.children,a=i.indexOf(e),o=0;for(;a-->=0;){let e=i[a];e&&e.type===9&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=$t(t,o,n);else{let r=nn(e.codegenNode);r.alternate=$t(t,o+e.branches.length-1,n)}}})),di=(e,t,n)=>{let{modifiers:r,loc:i}=e,a=e.arg,{exp:o}=e;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(a.type!==4||!a.isStatic)return n.onError(V(52,a.loc)),{props:[I(a,L(``,!0,i))]};fi(e),o=e.exp}return a.type===4?a.isStatic||(a.content=`${a.content} || ""`):(a.children.unshift(`(`),a.children.push(`) || ""`)),r.some(e=>e.content===`camel`)&&(a.type===4?a.isStatic?a.content=v(a.content):a.content=`${n.helperString(er)}(${a.content})`:(a.children.unshift(`${n.helperString(er)}(`),a.children.push(`)`))),n.inSSR||(r.some(e=>e.content===`prop`)&&pi(a,`.`),r.some(e=>e.content===`attr`)&&pi(a,`^`)),{props:[I(a,o)]}},fi=(e,t)=>{let n=e.arg;e.exp=L(v(n.content),!1,n.loc)},pi=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(`)`))},mi=q(`for`,(e,t,n)=>{let{helper:r,removeHelper:i}=n;return rn(e,t,n,t=>{let a=B(r(Wn),[t.source]),o=Ve(e),s=Fe(e,`memo`),c=Ie(e,`key`,!1,!0);c&&c.type===7&&!c.exp&&fi(c);let l=c&&(c.type===6?c.value?L(c.value.content,!0):void 0:c.exp),u=c&&l?I(`key`,l):null,d=t.source.type===4&&t.source.constType>0,f=d?64:c?128:256;return t.codegenNode=N(n,r(En),void 0,a,f,void 0,void 0,!0,!d,!1,e.loc),()=>{let c,{children:f}=t;o&&e.children.some(e=>{if(e.type===1){let t=Ie(e,`key`);if(t)return n.onError(V(33,t.loc)),!0}});let p=f.length!==1||f[0].type!==1,m=He(e)?e:o&&e.children.length===1&&He(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,o&&u&&We(c,u,n)):p?c=N(n,r(En),u?F([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,o&&u&&We(c,u,n),c.isBlock!==!d&&(c.isBlock?(i(jn),i(ue(n.inSSR,c.isComponent))):i(le(n.inSSR,c.isComponent))),c.isBlock=!d,c.isBlock?(r(jn),r(ue(n.inSSR,c.isComponent))):r(le(n.inSSR,c.isComponent))),s){let e=ee(on(t.parseResult,[L(`_cached`)]));e.body=re([z([`const _memo = (`,s.exp,`)`]),z([`if (_cached`,...l?[` && _cached.key === `,l]:[],` && ${n.helperString(ur)}(_cached, _memo)) return _cached`]),z([`const _item = `,c]),L(`_item.memo = _memo`),L(`return _item`)]),a.arguments.push(e,L(`_cache`),L(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(ee(on(t.parseResult),c,!0))}})}),hi=L(`undefined`,!1),gi=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){let n=Fe(e,`slot`);if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},_i=(e,t)=>{let n;if(Ve(e)&&e.props.some(Be)&&(n=Fe(e,`for`))){let e=n.forParseResult;if(e){an(e,t);let{value:n,key:r,index:i}=e,{addIdentifiers:a,removeIdentifiers:o}=t;return n&&a(n),r&&a(r),i&&a(i),()=>{n&&o(n),r&&o(r),i&&o(i)}}}},vi=(e,t,n,r)=>ee(e,n,!1,!0,n.length?n[0].loc:r),yi=new WeakMap,bi=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;let{tag:n,props:r}=e,i=e.tagType===1,a=i?fn(e,t):`"${n}"`,o=w(a)&&a.callee===Bn,s,c,l=0,u,d,f,p=o||a===Dn||a===On||!i&&(n===`svg`||n===`foreignObject`||n===`math`);if(r.length>0){let n=pn(e,t,void 0,i,o);s=n.props,l=n.patchFlag,d=n.dynamicPropNames;let r=n.directives;f=r&&r.length?P(r.map(e=>gn(e,t))):void 0,n.shouldUseBlock&&(p=!0)}if(e.children.length>0)if(a===kn&&(p=!0,l|=1024,e.children.length>1&&t.onError(V(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}))),i&&a!==Dn&&a!==kn){let{slots:n,hasDynamicSlots:r}=cn(e,t);c=n,r&&(l|=1024)}else if(e.children.length===1&&a!==Dn){let n=e.children[0],r=n.type,i=r===5||r===8;i&&yt(n,t)===0&&(l|=1),c=i||r===2?n:e.children}else c=e.children;d&&d.length&&(u=_n(d)),e.codegenNode=N(t,a,s,c,l===0?void 0:l,u,f,!!p,!1,i,e.loc)},xi=(e,t)=>{if(He(e)){let{children:n,loc:r}=e,{slotName:i,slotProps:a}=yn(e,t),o=[t.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,`{}`,`undefined`,`true`],s=2;a&&(o[2]=a,s=3),n.length&&(o[3]=ee([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),o.splice(s),e.codegenNode=B(t.helper(Gn),o,r)}},Si=(e,t,n,r)=>{let{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(V(35,i));let s;if(o.type===4)if(o.isStatic){let e=o.content;e.startsWith(`vnode`)&&n.onError(V(51,o.loc)),e.startsWith(`vue:`)&&(e=`vnode-${e.slice(4)}`),s=L(t.tagType!==0||e.startsWith(`vnode`)||!/[A-Z]/.test(e)?d(v(e)):`on:${e}`,!0,o.loc)}else s=z([`${n.helperString(nr)}(`,o,`)`]);else s=o,s.children.unshift(`${n.helperString(nr)}(`),s.children.push(`)`);let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=n.cacheHandlers&&!c&&!n.inVOnce;if(c){let e=Lr(c),t=!(e||Vr(c)),r=c.content.includes(`;`);Jt(c,n,!1,r),(t||l&&e)&&(c=z([`${t?`$event`:`(...args)`} => ${r?`{`:`(`}`,c,r?`}`:`)`]))}let u={props:[I(s,c||L(`() => {}`,!1,i))]};return r&&(u=r(u)),l&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},Ci=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{let n=e.children,r,i=!1;for(let e=0;e<n.length;e++){let t=n[e];if(ze(t)){i=!0;for(let i=e+1;i<n.length;i++){let a=n[i];if(ze(a))r||=n[e]=z([t],t.loc),r.children.push(` + `,a),n.splice(i,1),i--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(e=>e.type===7&&!t.directiveTransforms[e.name])&&e.tag!==`template`)))for(let e=0;e<n.length;e++){let r=n[e];if(ze(r)||r.type===8){let i=[];(r.type!==2||r.content!==` `)&&i.push(r),!t.ssr&&yt(r,t)===0&&i.push(`1 /* ${k[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:B(t.helper(Ln),i)}}}}},wi=new WeakSet,Ti=(e,t)=>{if(e.type===1&&Fe(e,`once`,!0))return wi.has(e)||t.inVOnce||t.inSSR?void 0:(wi.add(e),t.inVOnce=!0,t.helper(rr),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&=t.cache(e.codegenNode,!0,!0)})},Ei=(e,t,n)=>{let{exp:r,arg:i}=e;if(!r)return n.onError(V(41,e.loc)),bn();let a=r.loc.source.trim(),o=r.type===4?r.content:a,s=n.bindingMetadata[a];if(s===`props`||s===`props-aliased`)return n.onError(V(44,r.loc)),bn();if(!o.trim()||!Lr(r))return n.onError(V(42,r.loc)),bn();let c=i||L(`modelValue`,!0),l=i?Or(i)?`onUpdate:${v(i.content)}`:z([`"onUpdate:" + `,i]):`onUpdate:modelValue`,u;u=z([`${n.isTS?`($event: any)`:`$event`} => ((`,r,`) = $event)`]);let d=[I(c,e.exp),I(l,u)];if(e.modifiers.length&&t.tagType===1){let t=e.modifiers.map(e=>e.content).map(e=>(Ar(e)?e:JSON.stringify(e))+`: true`).join(`, `),n=i?Or(i)?`${i.content}Modifiers`:z([i,` + "Modifiers"`]):`modelModifiers`;d.push(I(n,L(`{ ${t} }`,!1,e.loc,2)))}return bn(d)},Di=/[\w).+\-_$\]]/,Oi=(e,t)=>{_e(`COMPILER_FILTERS`,t)&&(e.type===5?xn(e.content,t):e.type===1&&e.props.forEach(e=>{e.type===7&&e.name!==`for`&&e.exp&&xn(e.exp,t)}))},ki=new WeakSet,Ai=(e,t)=>{if(e.type===1){let n=Fe(e,`memo`);return!n||ki.has(e)?void 0:(ki.add(e),()=>{let r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&de(r,t),e.codegenNode=B(t.helper(lr),[n.exp,ee(void 0,r),`_cache`,String(t.cached.length)]),t.cached.push(null))})}},ji={DATA:`data`,PROPS:`props`,PROPS_ALIASED:`props-aliased`,SETUP_LET:`setup-let`,SETUP_CONST:`setup-const`,SETUP_REACTIVE_CONST:`setup-reactive-const`,SETUP_MAYBE_REF:`setup-maybe-ref`,SETUP_REF:`setup-ref`,OPTIONS:`options`,LITERAL_CONST:`literal-const`},Mi=()=>({props:[]})})),Pi=n({BASE_TRANSITION:()=>An,BindingTypes:()=>ji,CAMELIZE:()=>er,CAPITALIZE:()=>tr,CREATE_BLOCK:()=>Mn,CREATE_COMMENT:()=>In,CREATE_ELEMENT_BLOCK:()=>Nn,CREATE_ELEMENT_VNODE:()=>Fn,CREATE_SLOTS:()=>Kn,CREATE_STATIC:()=>Rn,CREATE_TEXT:()=>Ln,CREATE_VNODE:()=>Pn,CompilerDeprecationTypes:()=>br,ConstantTypes:()=>hr,DOMDirectiveTransforms:()=>wa,DOMErrorCodes:()=>ta,DOMErrorMessages:()=>na,DOMNodeTransforms:()=>Ca,ElementTypes:()=>mr,ErrorCodes:()=>Sr,FRAGMENT:()=>En,GUARD_REACTIVE_PROPS:()=>Qn,IS_MEMO_SAME:()=>ur,IS_REF:()=>cr,KEEP_ALIVE:()=>kn,MERGE_PROPS:()=>Jn,NORMALIZE_CLASS:()=>Yn,NORMALIZE_PROPS:()=>Zn,NORMALIZE_STYLE:()=>Xn,Namespaces:()=>fr,NodeTypes:()=>pr,OPEN_BLOCK:()=>jn,POP_SCOPE_ID:()=>ar,PUSH_SCOPE_ID:()=>ir,RENDER_LIST:()=>Wn,RENDER_SLOT:()=>Gn,RESOLVE_COMPONENT:()=>zn,RESOLVE_DIRECTIVE:()=>Vn,RESOLVE_DYNAMIC_COMPONENT:()=>Bn,RESOLVE_FILTER:()=>Hn,SET_BLOCK_TRACKING:()=>rr,SUSPENSE:()=>On,TELEPORT:()=>Dn,TO_DISPLAY_STRING:()=>qn,TO_HANDLERS:()=>$n,TO_HANDLER_KEY:()=>nr,TRANSITION:()=>Yi,TRANSITION_GROUP:()=>Xi,TS_NODE_TYPES:()=>Dr,UNREF:()=>sr,V_MODEL_CHECKBOX:()=>Hi,V_MODEL_DYNAMIC:()=>Gi,V_MODEL_RADIO:()=>Vi,V_MODEL_SELECT:()=>Wi,V_MODEL_TEXT:()=>Ui,V_ON_WITH_KEYS:()=>qi,V_ON_WITH_MODIFIERS:()=>Ki,V_SHOW:()=>Ji,WITH_CTX:()=>or,WITH_DIRECTIVES:()=>Un,WITH_MEMO:()=>lr,advancePositionWithClone:()=>Me,advancePositionWithMutation:()=>Ne,assert:()=>Pe,baseCompile:()=>Tn,baseParse:()=>ht,buildDirectiveArgs:()=>gn,buildProps:()=>pn,buildSlots:()=>cn,checkCompatEnabled:()=>ve,compile:()=>zi,convertToBlock:()=>de,createArrayExpression:()=>P,createAssignmentExpression:()=>oe,createBlockStatement:()=>re,createCacheExpression:()=>ne,createCallExpression:()=>B,createCompilerError:()=>V,createCompoundExpression:()=>z,createConditionalExpression:()=>te,createDOMCompilerError:()=>Ii,createForLoopParams:()=>on,createFunctionExpression:()=>ee,createIfStatement:()=>ae,createInterpolation:()=>R,createObjectExpression:()=>F,createObjectProperty:()=>I,createReturnStatement:()=>ce,createRoot:()=>M,createSequenceExpression:()=>se,createSimpleExpression:()=>L,createStructuralDirectiveTransform:()=>q,createTemplateLiteral:()=>ie,createTransformContext:()=>K,createVNodeCall:()=>N,errorMessages:()=>Cr,extractIdentifiers:()=>ke,findDir:()=>Fe,findProp:()=>Ie,forAliasRE:()=>Ur,generate:()=>Dt,generateCodeFrame:()=>y,getBaseTransformPreset:()=>wn,getConstantType:()=>yt,getMemoedVNodeCall:()=>Je,getVNodeBlockHelper:()=>ue,getVNodeHelper:()=>le,hasDynamicKeyVBind:()=>Re,hasScopeRef:()=>qe,helperNameMap:()=>dr,injectProp:()=>We,isCoreComponent:()=>je,isFnExpression:()=>Vr,isFnExpressionBrowser:()=>zr,isFnExpressionNode:()=>Br,isFunctionType:()=>wr,isInDestructureAssignment:()=>we,isInNewExpression:()=>Te,isMemberExpression:()=>Lr,isMemberExpressionBrowser:()=>Fr,isMemberExpressionNode:()=>Ir,isReferencedIdentifier:()=>Ce,isSimpleIdentifier:()=>Ar,isSlotOutlet:()=>He,isStaticArgOf:()=>Le,isStaticExp:()=>Or,isStaticProperty:()=>Tr,isStaticPropertyKey:()=>Er,isTemplateNode:()=>Ve,isText:()=>ze,isVSlot:()=>Be,locStub:()=>Y,noopDirectiveTransform:()=>Mi,parse:()=>Bi,parserOptions:()=>Qi,processExpression:()=>Yt,processFor:()=>rn,processIf:()=>Zt,processSlotOutlet:()=>yn,registerRuntimeHelpers:()=>j,resolveComponentType:()=>fn,stringifyExpression:()=>Xt,toValidAssetId:()=>Ke,trackSlotScopes:()=>gi,trackVForSlotScopes:()=>_i,transform:()=>St,transformBind:()=>di,transformElement:()=>bi,transformExpression:()=>li,transformModel:()=>Ei,transformOn:()=>Si,transformStyle:()=>$i,traverseNode:()=>Tt,unwrapTSNode:()=>Ae,walkBlockDeclarations:()=>De,walkFunctionParams:()=>Ee,walkIdentifiers:()=>Se,warnDeprecation:()=>ye});function Fi(e,t=!1){return Zi||=document.createElement(`div`),t?(Zi.innerHTML=`<div foo="${e.replace(/"/g,`"`)}">`,Zi.children[0].getAttribute(`foo`)):(Zi.innerHTML=e,Zi.textContent)}function Ii(e,t){return V(e,t,na)}function Li(e){let t=e.children=e.children.filter(e=>e.type!==3&&!(e.type===2&&!e.content.trim())),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Li)}function Ri(e,t){return e in va?va[e].has(t):t in ya?ya[t].has(e):!(e in ba&&ba[e].has(t)||t in xa&&xa[t].has(e))}function zi(e,t={}){return Tn(e,O({},Qi,t,{nodeTransforms:[ha,...Ca,...t.nodeTransforms||[]],directiveTransforms:O({},wa,t.directiveTransforms||{}),transformHoist:null}))}function Bi(e,t={}){return ht(e,O({},Qi,t))}var Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta=t((()=>{Ni(),Ni(),s(),Vi=Symbol(`vModelRadio`),Hi=Symbol(`vModelCheckbox`),Ui=Symbol(`vModelText`),Wi=Symbol(`vModelSelect`),Gi=Symbol(`vModelDynamic`),Ki=Symbol(`vOnModifiersGuard`),qi=Symbol(`vOnKeysGuard`),Ji=Symbol(`vShow`),Yi=Symbol(`Transition`),Xi=Symbol(`TransitionGroup`),j({[Vi]:`vModelRadio`,[Hi]:`vModelCheckbox`,[Ui]:`vModelText`,[Wi]:`vModelSelect`,[Gi]:`vModelDynamic`,[Ki]:`withModifiers`,[qi]:`withKeys`,[Ji]:`vShow`,[Yi]:`Transition`,[Xi]:`TransitionGroup`}),Qi={parseMode:`html`,isVoidTag:f,isNativeTag:e=>T(e)||g(e)||i(e),isPreTag:e=>e===`pre`,isIgnoreNewlineTag:e=>e===`pre`||e===`textarea`,decodeEntities:Fi,isBuiltInComponent:e=>{if(e===`Transition`||e===`transition`)return Yi;if(e===`TransitionGroup`||e===`transition-group`)return Xi},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag===`annotation-xml`){if(e===`svg`)return 1;t.props.some(e=>e.type===6&&e.name===`encoding`&&e.value!=null&&(e.value.content===`text/html`||e.value.content===`application/xhtml+xml`))&&(r=0)}else /^m(?:[ions]|text)$/.test(t.tag)&&e!==`mglyph`&&e!==`malignmark`&&(r=0);else t&&r===1&&(t.tag===`foreignObject`||t.tag===`desc`||t.tag===`title`)&&(r=0);if(r===0){if(e===`svg`)return 1;if(e===`math`)return 2}return r}},$i=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name===`style`&&t.value&&(e.props[n]={type:7,name:`bind`,arg:L(`style`,!0,t.loc),exp:ea(t.value.content,t.loc),modifiers:[],loc:t.loc})})},ea=(e,t)=>{let n=l(e);return L(JSON.stringify(n),!1,t,3)},ta={X_V_HTML_NO_EXPRESSION:53,53:`X_V_HTML_NO_EXPRESSION`,X_V_HTML_WITH_CHILDREN:54,54:`X_V_HTML_WITH_CHILDREN`,X_V_TEXT_NO_EXPRESSION:55,55:`X_V_TEXT_NO_EXPRESSION`,X_V_TEXT_WITH_CHILDREN:56,56:`X_V_TEXT_WITH_CHILDREN`,X_V_MODEL_ON_INVALID_ELEMENT:57,57:`X_V_MODEL_ON_INVALID_ELEMENT`,X_V_MODEL_ARG_ON_ELEMENT:58,58:`X_V_MODEL_ARG_ON_ELEMENT`,X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:`X_V_MODEL_ON_FILE_INPUT_ELEMENT`,X_V_MODEL_UNNECESSARY_VALUE:60,60:`X_V_MODEL_UNNECESSARY_VALUE`,X_V_SHOW_NO_EXPRESSION:61,61:`X_V_SHOW_NO_EXPRESSION`,X_TRANSITION_INVALID_CHILDREN:62,62:`X_TRANSITION_INVALID_CHILDREN`,X_IGNORED_SIDE_EFFECT_TAG:63,63:`X_IGNORED_SIDE_EFFECT_TAG`,__EXTEND_POINT__:64,64:`__EXTEND_POINT__`},na={53:`v-html is missing expression.`,54:`v-html will override element children.`,55:`v-text is missing expression.`,56:`v-text will override element children.`,57:`v-model can only be used on <input>, <textarea> and <select> elements.`,58:`v-model argument is not supported on plain elements.`,59:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,60:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,61:`v-show is missing expression.`,62:`<Transition> expects exactly one child element or component.`,63:`Tags with side effect (<script> and <style>) are ignored in client component templates.`},ra=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Ii(53,i)),t.children.length&&(n.onError(Ii(54,i)),t.children.length=0),{props:[I(L(`innerHTML`,!0,i),r||L(``,!0))]}},ia=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Ii(55,i)),t.children.length&&(n.onError(Ii(56,i)),t.children.length=0),{props:[I(L(`textContent`,!0),r?yt(r,n)>0?r:B(n.helperString(qn),[r],i):L(``,!0))]}},aa=(e,t,n)=>{let r=Ei(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Ii(58,e.arg.loc));function i(){let e=Fe(t,`bind`);e&&Le(e.arg,`value`)&&n.onError(Ii(60,e.loc))}let{tag:a}=t,o=n.isCustomElement(a);if(a===`input`||a===`textarea`||a===`select`||o){let s=Ui,c=!1;if(a===`input`||o){let r=Ie(t,`type`);if(r){if(r.type===7)s=Gi;else if(r.value)switch(r.value.content){case`radio`:s=Vi;break;case`checkbox`:s=Hi;break;case`file`:c=!0,n.onError(Ii(59,e.loc));break;default:i();break}}else Re(t)?s=Gi:i()}else a===`select`?s=Wi:i();c||(r.needRuntime=n.helper(s))}else n.onError(Ii(57,e.loc));return r.props=r.props.filter(e=>!(e.key.type===4&&e.key.content===`modelValue`)),r},oa=_(`passive,once,capture`),sa=_(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`),ca=_(`left,right`),la=_(`onkeyup,onkeydown,onkeypress`),ua=(e,t,n,r)=>{let i=[],a=[],o=[];for(let s=0;s<t.length;s++){let c=t[s].content;c===`native`&&ve(`COMPILER_V_ON_NATIVE`,n,r)||oa(c)?o.push(c):ca(c)?Or(e)?la(e.content.toLowerCase())?i.push(c):a.push(c):(i.push(c),a.push(c)):sa(c)?a.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},da=(e,t)=>Or(e)&&e.content.toLowerCase()===`onclick`?L(t,!0):e.type===4?e:z([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]),fa=(e,t,n)=>Si(e,t,n,t=>{let{modifiers:r}=e;if(!r.length)return t;let{key:i,value:o}=t.props[0],{keyModifiers:s,nonKeyModifiers:c,eventOptionModifiers:l}=ua(i,r,n,e.loc);if(c.includes(`right`)&&(i=da(i,`onContextmenu`)),c.includes(`middle`)&&(i=da(i,`onMouseup`)),c.length&&(o=B(n.helper(Ki),[o,JSON.stringify(c)])),s.length&&(!Or(i)||la(i.content.toLowerCase()))&&(o=B(n.helper(qi),[o,JSON.stringify(s)])),l.length){let e=l.map(a).join(``);i=Or(i)?L(`${i.content}${e}`,!0):z([`(`,i,`) + "${e}"`])}return{props:[I(i,o)]}}),pa=(e,t,n)=>{let{exp:r,loc:i}=e;return r||n.onError(Ii(61,i)),{props:[],needRuntime:n.helper(Ji)}},ma=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Yi)return()=>{if(!e.children.length)return;Li(e)&&t.onError(Ii(62,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:``}));let n=e.children[0];if(n.type===1)for(let t of n.props)t.type===7&&t.name===`show`&&e.props.push({type:6,name:`persisted`,nameLoc:e.loc,value:void 0,loc:e.loc})}},ha=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag===`script`||e.tag===`style`)&&(t.onError(Ii(63,e.loc)),t.removeNode())},ga=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),_a=new Set([]),va={head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`,`hr`]),table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),script:_a,iframe:_a,option:_a,textarea:_a,style:_a,title:_a},ya={html:_a,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},ba={p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},xa={a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:ga,h2:ga,h3:ga,h4:ga,h5:ga,h6:ga},Sa=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!Ri(t.parent.tag,e.tag)){let n=SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},Ca=[$i,ma,Sa],wa={cloak:Mi,html:ra,text:ia,model:aa,on:fa,show:pa}})),Ea=r((t=>{Object.defineProperty(t,`__esModule`,{value:!0});var n=(Ta(),e(Pi)),r=(S(),e(E)),i=(s(),e(b));function a(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var o=a(r),c=Object.create(null);function l(e,t){if(!i.isString(e))if(e.nodeType)e=e.innerHTML;else return r.warn(`invalid template option: `,e),i.NOOP;let a=i.genCacheKey(e,t),s=c[a];if(s)return s;if(e[0]===`#`){let t=document.querySelector(e);t||r.warn(`Template element not found or is empty: ${e}`),e=t?t.innerHTML:``}let l=i.extend({hoistStatic:!0,onError:d,onWarn:e=>d(e,!0)},t);!l.isCustomElement&&typeof customElements<`u`&&(l.isCustomElement=e=>!!customElements.get(e));let{code:u}=n.compile(e,l);function d(t,n=!1){let a=n?t.message:`Template compilation error: ${t.message}`,o=t.loc&&i.generateCodeFrame(e,t.loc.start.offset,t.loc.end.offset);r.warn(o?`${a}
|
|
10
|
+
${o}`:a)}let f=Function(`Vue`,u)(o);return f._rc=!0,c[a]=f}r.registerRuntimeCompiler(l),t.compile=l,Object.keys(r).forEach(function(e){e!==`default`&&!Object.prototype.hasOwnProperty.call(t,e)&&(t[e]=r[e])})})),Da=r(((e,t)=>{t.exports=Ea()})),Oa=r((e=>{var t=Da();Object.keys(t).forEach(function(n){e[n]=t[n]}),e.set=function(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)},e.del=function(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]},e.Vue=t,e.Vue2=void 0,e.isVue2=!1,e.isVue3=!0,e.install=function(){}})),ka=r(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Oa(),Da()):typeof define==`function`&&define.amd?define([`vue-demi`,`vue`],r):(n=typeof globalThis<`u`?globalThis:n||self,n[`vue-office-docx`]=r(n.VueDemi,n.Vue))})(e,function(e,t){var n=Object.defineProperty,r=Object.defineProperties,i=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var n in t||={})o.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))s.call(t,n)&&c(e,n,t[n]);return e},u=(e,t)=>r(e,i(t)),d=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())});window.setImmediate===void 0&&(window.setImmediate=function(e,...t){setTimeout(()=>e(t))});var f=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function m(e){throw Error(`Could not dynamically require "`+e+`". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.`)}var h={exports:{}};(function(e,t){(function(t){e.exports=t()})(function(){return function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){var c=typeof m==`function`&&m;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var l=Error(`Cannot find module '`+o+`'`);throw l.code=`MODULE_NOT_FOUND`,l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var a=typeof m==`function`&&m,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(e,t,n){var r=e(`./utils`),i=e(`./support`),a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;n.encode=function(e){for(var t,n,i,o,s,c,l,u=[],d=0,f=e.length,p=f,m=r.getTypeOf(e)!==`string`;d<e.length;)p=f-d,i=m?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|n>>4,c=1<p?(15&n)<<2|i>>6:64,l=2<p?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join(``)},n.decode=function(e){var t,n,r,o,s,c,l=0,u=0,d=`data:`;if(e.substr(0,d.length)===d)throw Error(`Invalid base64 input, it looks like a data url.`);var f,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,``)).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw Error(`Invalid base64 input, bad content length.`);for(f=i.uint8array?new Uint8Array(0|p):Array(0|p);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=`
|
|
11
11
|
\0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,o){var s=a.transformTo(`string`,o(i));return l.CENTRAL_DIRECTORY_END+`\0\0\0\0`+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on(`error`,function(e){t.error(e)}),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e(`../compressions`),i=e(`./ZipFileWorker`);n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+` is not a valid compression method !`);return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)}),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw Error(`The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.`);this.files=Object.create(null),this.comment=null,this.root=``,this.clone=function(){var e=new r;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}(r.prototype=e(`./object`)).loadAsync=e(`./load`),r.support=e(`./support`),r.defaults=e(`./defaults`),r.version=`3.10.1`,r.loadAsync=function(e,t){return new r().loadAsync(e,t)},r.external=e(`./external`),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e(`./utils`),i=e(`./external`),a=e(`./utf8`),o=e(`./zipEntries`),s=e(`./stream/Crc32Probe`),c=e(`./nodejsUtils`);function l(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on(`error`,function(e){n(e)}).on(`end`,function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(Error(`Corrupted zip : CRC32 mismatch`))}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(Error(`JSZip can't accept a stream when loading a zip file.`)):r.prepareContent(`the loaded zip file`,e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new o(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var a=0;a<r.length;a++)n.push(l(r[a]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=r.resolve(s.fileNameStr);n.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(n.comment=i.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e(`../utils`),i=e(`../stream/GenericWorker`);function a(e,t){i.call(this,`Nodejs stream input adapter for `+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on(`data`,function(e){t.push({data:e,meta:{percent:0}})}).on(`error`,function(e){t.isPaused?this.generatedError=e:t.error(e)}).on(`end`,function(){t.isPaused?t._upstreamEnded=!0:t.end()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e(`readable-stream`).Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on(`data`,function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on(`error`,function(e){i.emit(`error`,e)}).on(`end`,function(){i.push(null)})}e(`../utils`).inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:typeof Buffer<`u`,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e==`number`)throw Error(`The "data" argument must not be a number`);return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on==`function`&&typeof e.pause==`function`&&typeof e.resume==`function`}}},{}],15:[function(e,t,n){function r(e,t,n){var r,i=a.getTypeOf(t),s=a.extend(n||{},c);s.date=s.date||new Date,s.compression!==null&&(s.compression=s.compression.toUpperCase()),typeof s.unixPermissions==`string`&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=h(e)),s.createFolders&&(r=m(e))&&g.call(this,r,!0);var d=i===`string`&&s.binary===!1&&s.base64===!1;n&&n.binary!==void 0||(s.binary=!d),(t instanceof l&&t.uncompressedSize===0||s.dir||!t||t.length===0)&&(s.base64=!1,s.binary=!0,t=``,s.compression=`STORE`,i=`string`);var _=null;_=t instanceof l||t instanceof o?t:f.isNode&&f.isStream(t)?new p(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,_,s);this.files[e]=v}var i=e(`./utf8`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=e(`./stream/StreamHelper`),c=e(`./defaults`),l=e(`./compressedObject`),u=e(`./zipObject`),d=e(`./generate`),f=e(`./nodejsUtils`),p=e(`./nodejs/NodejsStreamInputAdapter`),m=function(e){e.slice(-1)===`/`&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(`/`);return 0<t?e.substring(0,t):``},h=function(e){return e.slice(-1)!==`/`&&(e+=`/`),e},g=function(e,t){return t=t===void 0?c.createFolders:t,e=h(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports={load:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length!==1)return e=this.root+e,r.call(this,e,t,n),this;if(_(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(_(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||=(e.slice(-1)!==`/`&&(e+=`/`),this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},generateInternalStream:function(e){var t,n={};try{if((n=a.extend(e||{},{streamFiles:!1,compression:`STORE`,compressionOptions:null,type:``,platform:`DOS`,comment:null,mimeType:`application/zip`,encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type===`binarystring`&&(n.type=`string`),!n.type)throw Error(`No output type specified.`);a.checkSupport(n.type),n.platform!==`darwin`&&n.platform!==`freebsd`&&n.platform!==`linux`&&n.platform!==`sunos`||(n.platform=`UNIX`),n.platform===`win32`&&(n.platform=`DOS`);var r=n.comment||this.comment||``;t=d.generateWorker(this,n,r)}catch(e){(t=new o(`error`)).error(e)}return new s(t,n.type||`string`,n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e||={}).type||(e.type=`nodebuffer`),this.generateInternalStream(e).toNodejsStream(t)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e(`stream`)},{stream:void 0}],17:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var r=e(`../utils`);function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error(`End of data reached (data length = `+this.length+`, asked index = `+e+`). Corrupted zip ?`)},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){var r=e(`./Uint8ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e(`./ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e(`../utils`),i=e(`../support`),a=e(`./ArrayReader`),o=e(`./StringReader`),s=e(`./NodeBufferReader`),c=e(`./Uint8ArrayReader`);t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),t!==`string`||i.uint8array?t===`nodebuffer`?new s(e):i.uint8array?new c(r.transformTo(`uint8array`,e)):new a(r.transformTo(`array`,e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=`PK`,n.CENTRAL_FILE_HEADER=`PK`,n.CENTRAL_DIRECTORY_END=`PK`,n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,n.ZIP64_CENTRAL_DIRECTORY_END=`PK`,n.DATA_DESCRIPTOR=`PK\x07\b`},{}],24:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../utils`);function a(e){r.call(this,`ConvertWorker to `+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../crc32`);function a(){r.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}e(`../utils`).inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataWorker`);var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=``,this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case`string`:e=this.data.substring(this.index,t);break;case`uint8array`:e=this.data.subarray(this.index,t);break;case`array`:case`nodebuffer`:e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||`default`,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit(`data`,e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(`end`),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(`error`,e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(`error`,e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.end()}),e.on(`error`,function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e=`Worker `+this.name;return this.previous?this.previous+` -> `+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e(`../utils`),i=e(`./ConvertWorker`),a=e(`./GenericWorker`),o=e(`../base64`),s=e(`../support`),c=e(`../external`),l=null;if(s.nodestream)try{l=e(`../nodejs/NodejsStreamOutputAdapter`)}catch{}function u(e,t){return new c.Promise(function(n,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on(`data`,function(e,n){a.push(e),t&&t(n)}).on(`error`,function(e){a=[],i(e)}).on(`end`,function(){try{n(function(e,t,n){switch(e){case`blob`:return r.newBlob(r.transformTo(`arraybuffer`,t),n);case`base64`:return o.encode(t);default:return r.transformTo(e,t)}}(c,function(e,t){var n,r=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case`string`:return t.join(``);case`array`:return Array.prototype.concat.apply([],t);case`uint8array`:for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case`nodebuffer`:return Buffer.concat(t);default:throw Error(`concat : unsupported type '`+e+`'`)}}(s,a),l))}catch(e){i(e)}a=[]}).resume()})}function d(e,t,n){var o=t;switch(t){case`blob`:case`arraybuffer`:o=`uint8array`;break;case`base64`:o=`string`}try{this._internalType=o,this._outputType=t,this._mimeType=n,r.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a(`error`),this._worker.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return e===`data`?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport(`nodestream`),this._outputType!==`nodebuffer`)throw Error(this._outputType+` is not supported by this method`);return new l(this,{objectMode:this._outputType!==`nodebuffer`},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<`u`&&typeof Uint8Array<`u`,n.nodebuffer=typeof Buffer<`u`,n.uint8array=typeof Uint8Array<`u`,typeof ArrayBuffer>`u`)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=new Blob([r],{type:`application/zip`}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=i.getBlob(`application/zip`).size===0}catch{n.blob=!1}}}try{n.nodestream=!!e(`readable-stream`).Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e(`./utils`),i=e(`./support`),a=e(`./nodejsUtils`),o=e(`./stream/GenericWorker`),s=Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;s[254]=s[254]=1;function l(){o.call(this,`utf-8 decode`),this.leftOver=null}function u(){o.call(this,`utf-8 encode`)}n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,`utf-8`):function(e){var t,n,r,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(c):Array(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo(`nodebuffer`,e).toString(`utf-8`):function(e){var t,n,i,a,o=e.length,c=Array(2*o);for(t=n=0;t<o;)if((i=e[t++])<128)c[n++]=i;else if(4<(a=s[i]))c[n++]=65533,t+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;1<a?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?`uint8array`:`array`,e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?`uint8array`:`array`,e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+s[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e(`./support`),i=e(`./base64`),a=e(`./nodejsUtils`),o=e(`./external`);function s(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e(`setimmediate`),n.newBlob=function(e,t){n.checkSupport(`blob`);try{return new Blob([e],{type:t})}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch{throw Error(`Bug : can't construct the Blob.`)}}};var l={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t===`array`||t===`nodebuffer`?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join(``)},stringifyByChar:function(e){for(var t=``,n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if(r===`uint8array`?i=l.applyCanBeUsed.uint8array:r===`nodebuffer`&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch{t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},f.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},f.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},f.nodebuffer={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){return t||=``,e?(n.checkSupport(e),f[n.getTypeOf(t)][e](t)):t},n.resolve=function(e){for(var t=e.split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];i===`.`||i===``&&r!==0&&r!==t.length-1||(i===`..`?n.pop():n.push(i))}return n.join(`/`)},n.getTypeOf=function(e){return typeof e==`string`?`string`:Object.prototype.toString.call(e)===`[object Array]`?`array`:r.nodebuffer&&a.isBuffer(e)?`nodebuffer`:r.uint8array&&e instanceof Uint8Array?`uint8array`:r.arraybuffer&&e instanceof ArrayBuffer?`arraybuffer`:void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw Error(e+` is not supported by this platform`)},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r=``;for(n=0;n<(e||``).length;n++)r+=`\\x`+((t=e.charCodeAt(n))<16?`0`:``)+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&n[t]===void 0&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,a,s,l){return o.Promise.resolve(t).then(function(e){return r.blob&&(e instanceof Blob||[`[object File]`,`[object Blob]`].indexOf(Object.prototype.toString.call(e))!==-1)&&typeof FileReader<`u`?new o.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var u=n.getTypeOf(t);return u?(u===`arraybuffer`?t=n.transformTo(`uint8array`,t):u===`string`&&(l?t=i.decode(t):a&&s!==!0&&(t=function(e){return c(e,r.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):o.Promise.reject(Error(`Can't read the data of '`+e+`'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?`))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./signature`),o=e(`./zipEntry`),s=e(`./support`);function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error(`Corrupted zip or bug: unexpected signature (`+i.pretty(t)+`, expected `+i.pretty(e)+`)`)}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?`uint8array`:`array`,n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error(`Multi-volumes zip are not supported`)},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw Error(`Corrupted zip or bug: expected `+this.centralDirRecords+` records in central dir, got `+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?Error(`Corrupted zip: can't find end of central directory`):Error(`Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html`);this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error(`Corrupted zip: can't find the ZIP64 end of central directory locator`);if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error(`Corrupted zip: can't find the ZIP64 end of central directory`);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error(`Corrupted zip: missing `+Math.abs(r)+` bytes.`)},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./compressedObject`),o=e(`./crc32`),s=e(`./utf8`),c=e(`./compressions`),l=e(`./support`);function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error(`Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)`);if((t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod))===null)throw Error(`Corrupted zip : compression `+i.pretty(this.compressionMethod)+` unknown (inner file : `+i.transformTo(`string`,this.fileName)+`)`);this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error(`Encrypted zip are not supported`);e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!==`/`||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||={};e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?`uint8array`:`array`;if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return t.readInt(1)!==1||o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return t.readInt(1)!==1||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e(`./stream/StreamHelper`),a=e(`./stream/DataWorker`),o=e(`./utf8`),s=e(`./compressedObject`),c=e(`./stream/GenericWorker`);r.prototype={internalStream:function(e){var t=null,n=`string`;try{if(!e)throw Error(`No output type specified.`);var r=(n=e.toLowerCase())===`string`||n===`text`;n!==`binarystring`&&n!==`text`||(n=`string`),t=this._decompressWorker();var a=!this._dataBinary;a&&!r&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&r&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new c(`error`)).error(e)}return new i(t,n,``)},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||`nodebuffer`).toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof c?this._data:new a(this._data)}};for(var l=[`asText`,`asBinary`,`asNodeBuffer`,`asUint8Array`,`asArrayBuffer`],u=function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},d=0;d<l.length;d++)r.prototype[l[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(u),s=e.document.createTextNode(``);o.observe(s,{characterData:!0}),n=function(){s.data=a=++a%2}}else if(e.setImmediate||e.MessageChannel===void 0)n=`document`in e&&`onreadystatechange`in e.document.createElement(`script`)?function(){var t=e.document.createElement(`script`);t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){l.push(e)!==1||r||n()}}).call(this,f===void 0?typeof self<`u`?self:typeof window<`u`?window:{}:f)},{}],37:[function(e,t,n){var r=e(`immediate`);function i(){}var a={},o=[`REJECTED`],s=[`FULFILLED`],c=[`PENDING`];function l(e){if(typeof e!=`function`)throw TypeError(`resolver must be a function`);this.state=c,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function u(e,t,n){this.promise=e,typeof t==`function`&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n==`function`&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,TypeError(`Cannot resolve promise with itself`)):a.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&(typeof e==`object`||typeof e==`function`)&&typeof t==`function`)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function i(t){n||(n=!0,a.resolve(e,t))}var o=m(function(){t(i,r)});o.status===`error`&&r(o.value)}function m(e,t){var n={};try{n.value=e(t),n.status=`success`}catch(e){n.status=`error`,n.value=e}return n}(t.exports=l).prototype.finally=function(e){if(typeof e!=`function`)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if(typeof e!=`function`&&this.state===s||typeof t!=`function`&&this.state===o)return this;var n=new this.constructor(i);return this.state===c?this.queue.push(new u(n,e,t)):d(n,this.state===s?e:t,this.outcome),n},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=m(f,t);if(n.status===`error`)return a.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return a.reject(t,e)},l.all=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=Array(n),s=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then(function(e){o[i]=e,++s!==n||r||(r=!0,a.resolve(l,o))},function(e){r||(r=!0,a.reject(l,e))})}},l.race=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(i);++o<n;)c=e[o],t.resolve(c).then(function(e){r||(r=!0,a.resolve(s,e))},function(e){r||(r=!0,a.reject(s,e))});var c;return s}},{immediate:36}],38:[function(e,t,n){var r={};(0,e(`./lib/utils/common`).assign)(r,e(`./lib/deflate`),e(`./lib/inflate`),e(`./lib/zlib/constants`)),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e(`./zlib/deflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/messages`),s=e(`./zlib/zstream`),c=Object.prototype.toString,l=0,u=-1,d=0,f=8;function p(e){if(!(this instanceof p))return new p(e);this.options=i.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:``},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var m;if(m=typeof t.dictionary==`string`?a.string2buf(t.dictionary):c.call(t.dictionary)===`[object ArrayBuffer]`?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,m))!==l)throw Error(o[n]);this._dict_set=!0}}function m(e,t){var n=new p(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}p.prototype.push=function(e,t){var n,o,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:t===!0?4:0,typeof e==`string`?s.input=a.string2buf(e):c.call(e)===`[object ArrayBuffer]`?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),(n=r.deflate(s,o))!==1&&n!==l)return this.onEnd(n),!(this.ended=!0);s.avail_out!==0&&(s.avail_in!==0||o!==4&&o!==2)||(this.options.to===`string`?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||s.avail_out===0)&&n!==1);return o===4?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):o!==2||(this.onEnd(l),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===l&&(this.options.to===`string`?this.result=this.chunks.join(``):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=p,n.deflate=m,n.deflateRaw=function(e,t){return(t||={}).raw=!0,m(e,t)},n.gzip=function(e,t){return(t||={}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e(`./zlib/inflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/constants`),s=e(`./zlib/messages`),c=e(`./zlib/zstream`),l=e(`./zlib/gzheader`),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:``},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,c,l,d,f,p=this.strm,m=this.options.chunkSize,h=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:t===!0?o.Z_FINISH:o.Z_NO_FLUSH,typeof e==`string`?p.input=a.binstring2buf(e):u.call(e)===`[object ArrayBuffer]`?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(p.avail_out===0&&(p.output=new i.Buf8(m),p.next_out=0,p.avail_out=m),(n=r.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(f=typeof h==`string`?a.string2buf(h):u.call(h)===`[object ArrayBuffer]`?new Uint8Array(h):h,n=r.inflateSetDictionary(this.strm,f)),n===o.Z_BUF_ERROR&&g===!0&&(n=o.Z_OK,g=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(p.avail_out!==0&&n!==o.Z_STREAM_END&&(p.avail_in!==0||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||(this.options.to===`string`?(c=a.utf8border(p.output,p.next_out),l=p.next_out-c,d=a.buf2string(p.output,c),p.next_out=l,p.avail_out=m-l,l&&i.arraySet(p.output,p.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),p.avail_in===0&&p.avail_out===0&&(g=!0)}while((0<p.avail_in||p.avail_out===0)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&(this.options.to===`string`?this.result=this.chunks.join(``):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=f,n.inflateRaw=function(e,t){return(t||={}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(typeof n!=`object`)throw TypeError(n+`must be non-object`);for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e(`./common`),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function c(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n=``,o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,a,s=t||e.length,l=Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)l[r++]=i;else if(4<(a=o[i]))l[r++]=65533,n+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&n<s;)i=i<<6|63&e[n++],a--;1<a?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;n!==0;){for(n-=o=2e3<n?2e3:n;a=a+(i=i+t[r++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e(`../utils/common`),a=e(`./trees`),o=e(`./adler32`),s=e(`./crc32`),c=e(`./messages`),l=0,u=4,d=0,f=-2,p=-1,m=4,h=2,g=8,_=9,v=286,y=30,b=19,x=2*v+1,S=15,C=3,w=258,T=w+C+1,E=42,D=113,O=1,k=2,A=3,j=4;function M(e,t){return e.msg=c[t],t}function N(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function I(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function R(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+w,p=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+o]===m&&l[n+o-1]===p&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do;while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&a<f);if(r=w-(f-a),a=f-w,o<r){if(e.match_start=t,s<=(o=r))break;p=l[a+o-1],m=l[a+o]}}while((t=d[t&u])>c&&--i!=0);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,a,c,l,u,d,f,p,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-T)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(e.strm.avail_in===0)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=l.avail_in,f<p&&(p=f),n=p===0?0:(l.avail_in-=p,i.arraySet(u,l.input,l.next_in,p,d),l.state.wrap===1?l.adler=o(l.adler,u,p,d):l.state.wrap===2&&(l.adler=s(l.adler,u,p,d)),l.next_in+=p,l.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=C)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+C-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<C)););}while(e.lookahead<T&&e.strm.avail_in!==0)}function ee(e,t){for(var n,r;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n)),e.match_length>=C)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function te(e,t){for(var n,r,i;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=C-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===C&&4096<e.strstart-e.match_start)&&(e.match_length=C-1)),e.prev_length>=C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=C-1,e.strstart++,r&&(I(e,!1),e.strm.avail_out===0))return O}else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&I(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=a._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function ne(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function re(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*x),this.dyn_dtree=new i.Buf16(2*(2*y+1)),this.bl_tree=new i.Buf16(2*(2*b+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*v+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*v+1),P(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ie(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=h,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:D,e.adler=t.wrap===2?0:1,t.last_flush=l,a._tr_init(t),d):M(e,f)}function ae(e){var t=ie(e);return t===d&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=C-1,e.match_available=0,e.ins_h=0}(e.state),t}function oe(e,t,n,r,a,o){if(!e)return f;var s=1;if(t===p&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),a<1||_<a||n!==g||r<8||15<r||t<0||9<t||o<0||m<o)return M(e,f);r===8&&(r=9);var c=new re;return(e.state=c).strm=e,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+C-1)/C),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,ae(e)}r=[new ne(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),e.lookahead===0&&t===l)return O;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,I(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):(e.strstart>e.block_start&&(I(e,!1),e.strm.avail_out),O)}),new ne(4,4,8,4,ee),new ne(4,5,16,8,ee),new ne(4,6,32,32,ee),new ne(4,4,16,16,te),new ne(8,16,32,32,te),new ne(8,16,128,128,te),new ne(8,32,128,256,te),new ne(32,128,258,1024,te),new ne(32,258,258,4096,te)],n.deflateInit=function(e,t){return oe(e,t,g,15,8,0)},n.deflateInit2=oe,n.deflateReset=ae,n.deflateResetKeep=ie,n.deflateSetHeader=function(e,t){return e&&e.state&&e.state.wrap===2?(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||5<t||t<0)return e?M(e,f):f;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===666&&t!==u)return M(e,e.avail_out===0?-5:f);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===E)if(i.wrap===2)e.adler=0,L(i,31),L(i,139),L(i,8),i.gzhead?(L(i,+!!i.gzhead.text+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),L(i,255&i.gzhead.time),L(i,i.gzhead.time>>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=D);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(p|=32),p+=31-p%31,i.status=D,R(i,p),i.strstart!==0&&(R(i,e.adler>>>16),R(i,65535&e.adler)),e.adler=1}if(i.status===69)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(i.status===73)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.gzindex=0,i.status=91)}else i.status=91;if(i.status===91)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.status=103)}else i.status=103;if(i.status===103&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=D)):i.status=D),i.pending!==0){if(F(e),e.avail_out===0)return i.last_flush=-1,d}else if(e.avail_in===0&&N(t)<=N(n)&&t!==u)return M(e,-5);if(i.status===666&&e.avail_in!==0)return M(e,-5);if(e.avail_in!==0||i.lookahead!==0||t!==l&&i.status!==666){var m=i.strategy===2?function(e,t){for(var n;;){if(e.lookahead===0&&(B(e),e.lookahead===0)){if(t===l)return O;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):i.strategy===3?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=w){if(B(e),e.lookahead<=w&&t===l)return O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=C&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+w;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);e.match_length=w-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(n=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):r[i.level].func(i,t);if(m!==A&&m!==j||(i.status=666),m===O||m===A)return e.avail_out===0&&(i.last_flush=-1),d;if(m===k&&(t===1?a._tr_align(i):t!==5&&(a._tr_stored_block(i,0,0,!1),t===3&&(P(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),e.avail_out===0))return i.last_flush=-1,d}return t===u?i.wrap<=0?1:(i.wrap===2?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(R(i,e.adler>>>16),R(i,65535&e.adler)),F(e),0<i.wrap&&(i.wrap=-i.wrap),i.pending===0?1:d):d},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&t!==69&&t!==73&&t!==91&&t!==103&&t!==D&&t!==666?M(e,f):(e.state=null,t===D?M(e,-3):d):f},n.deflateSetDictionary=function(e,t){var n,r,a,s,c,l,u,p,m=t.length;if(!e||!e.state||(s=(n=e.state).wrap)===2||s===1&&n.status!==E||n.lookahead)return f;for(s===1&&(e.adler=o(e.adler,t,m,0)),n.wrap=0,m>=n.w_size&&(s===0&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,m-n.w_size,n.w_size,0),t=p,m=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,B(n);n.lookahead>=C;){for(r=n.strstart,a=n.lookahead-(C-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+C-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--a;);n.strstart=r,n.lookahead=C-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=C-1,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=s,d},n.deflateInfo=`pako deflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=``,this.comment=``,this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){t.exports=function(e,t){var n=e.state,r=e.next_in,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=e.input,E;i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,f=n.window,p=n.hold,m=n.bits,h=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;t:do{m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=h[p&_];e:for(;;){if(p>>>=b=y>>>24,m-=b,(b=y>>>16&255)==0)E[a++]=65535&y;else{if(!(16&b)){if(!(64&b)){y=h[(65535&y)+(p&(1<<b)-1)];continue e}if(32&b){n.mode=12;break t}e.msg=`invalid literal/length code`,n.mode=30;break t}x=65535&y,(b&=15)&&(m<b&&(p+=T[r++]<<m,m+=8),x+=p&(1<<b)-1,p>>>=b,m-=b),m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=g[p&v];r:for(;;){if(p>>>=b=y>>>24,m-=b,!(16&(b=y>>>16&255))){if(!(64&b)){y=g[(65535&y)+(p&(1<<b)-1)];continue r}e.msg=`invalid distance code`,n.mode=30;break t}if(S=65535&y,m<(b&=15)&&(p+=T[r++]<<m,(m+=8)<b&&(p+=T[r++]<<m,m+=8)),c<(S+=p&(1<<b)-1)){e.msg=`invalid distance too far back`,n.mode=30;break t}if(p>>>=b,m-=b,(b=a-o)<S){if(u<(b=S-b)&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break t}if(w=f,(C=0)===d){if(C+=l-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}}else if(d<b){if(C+=l+d-b,(b-=d)<x){for(x-=b;E[a++]=f[C++],--b;);if(C=0,d<x){for(x-=b=d;E[a++]=f[C++],--b;);C=a-S,w=E}}}else if(C+=d-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}for(;2<x;)E[a++]=w[C++],E[a++]=w[C++],E[a++]=w[C++],x-=3;x&&(E[a++]=w[C++],1<x&&(E[a++]=w[C++]))}else{for(C=a-S;E[a++]=E[C++],E[a++]=E[C++],E[a++]=E[C++],2<(x-=3););x&&(E[a++]=E[C++],1<x&&(E[a++]=E[C++]))}break}}break}}while(r<i&&a<s);r-=x=m>>3,p&=(1<<(m-=x<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=p,n.bits=m}},{}],49:[function(e,t,n){var r=e(`../utils/common`),i=e(`./adler32`),a=e(`./crc32`),o=e(`./inffast`),s=e(`./inftrees`),c=1,l=2,u=0,d=-2,f=1,p=852,m=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=1&t.wrap),t.mode=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):d}function b(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=y(e,t))!==u&&(e.state=null),n):d}var x,S,C=!0;function w(e){if(C){var t;for(x=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,x,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,S,0,e.work,{bits:5}),C=!1}e.lencode=x,e.lenbits=9,e.distcode=S,e.distbits=5}function T(e,t,n,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=_,n.inflateInit=function(e){return b(e,15)},n.inflateInit2=b,n.inflate=function(e,t){var n,p,m,g,_,v,y,b,x,S,C,E,D,O,k,A,j,M,N,P,F,I,L,R,z=0,B=new r.Buf8(4),ee=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return d;(n=e.state).mode===12&&(n.mode=13),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,S=v,C=y,I=u;t:for(;;)switch(n.mode){case f:if(n.wrap===0){n.mode=13;break}for(;x<16;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(2&n.wrap&&b===35615){B[n.check=0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0),x=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg=`incorrect header check`,n.mode=30;break}if((15&b)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(x-=4,F=8+(15&(b>>>=4)),n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg=`invalid window size`,n.mode=30;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=512&b?10:12,x=b=0;break;case 2:for(;x<16;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(n.flags=b,(255&n.flags)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(57344&n.flags){e.msg=`unknown header flags set`,n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=3;case 3:for(;x<32;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.time=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),x=b=0,n.mode=4;case 4:for(;x<16;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,F)),512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,n.length-=E),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(v===0)break t;for(E=0;F=p[g+ E++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(v===0)break t;for(E=0;F=p[g+ E++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;x<16;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(b!==(65535&n.check)){e.msg=`header crc mismatch`,n.mode=30;break}x=b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}e.adler=n.check=h(b),x=b=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break t;case 13:if(n.last){b>>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}switch(n.last=1&b,--x,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,t!==6)break;b>>>=2,x-=2;break t;case 2:n.mode=17;break;case 3:e.msg=`invalid block type`,n.mode=30}b>>>=2,x-=2;break;case 14:for(b>>>=7&x,x-=7&x;x<32;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if((65535&b)!=(b>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=30;break}if(n.length=65535&b,x=b=0,n.mode=15,t===6)break t;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),y<E&&(E=y),E===0)break t;r.arraySet(m,p,g,E,_),v-=E,g+=E,y-=E,_+=E,n.length-=E;break}n.mode=12;break;case 17:for(;x<14;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(n.nlen=257+(31&b),b>>>=5,x-=5,n.ndist=1+(31&b),b>>>=5,x-=5,n.ncode=4+(15&b),b>>>=4,x-=4,286<n.nlen||30<n.ndist){e.msg=`too many length or distance symbols`,n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;x<3;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}n.lens[ee[n.have++]]=7&b,b>>>=3,x-=3}for(;n.have<19;)n.lens[ee[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},I=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid code lengths set`,n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(j<16)b>>>=k,x-=k,n.lens[n.have++]=j;else{if(j===16){for(R=k+2;x<R;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(b>>>=k,x-=k,n.have===0){e.msg=`invalid bit length repeat`,n.mode=30;break}F=n.lens[n.have-1],E=3+(3&b),b>>>=2,x-=2}else if(j===17){for(R=k+3;x<R;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=3+(7&(b>>>=k)),b>>>=3,x-=3}else{for(R=k+7;x<R;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=11+(127&(b>>>=k)),b>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=30;break}for(;E--;)n.lens[n.have++]=F}}if(n.mode===30)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},I=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid literal/lengths set`,n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},I=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,I){e.msg=`invalid distances set`,n.mode=30;break}if(n.mode=20,t===6)break t;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,o(e,C),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(A&&!(240&A)){for(M=k,N=A,P=j;A=(z=n.lencode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,n.length=j,A===0){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg=`invalid literal/length code`,n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(R=n.extra;x<R;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(z=n.distcode[b&(1<<n.distbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(!(240&A)){for(M=k,N=A,P=j;A=(z=n.distcode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,64&A){e.msg=`invalid distance code`,n.mode=30;break}n.offset=j,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(R=n.extra;x<R;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=30;break}n.mode=25;case 25:if(y===0)break t;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break}D=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=m,D=_-n.offset,E=n.length;for(y<E&&(E=y),y-=E,n.length-=E;m[_++]=O[D++],--E;);n.length===0&&(n.mode=21);break;case 26:if(y===0)break t;m[_++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;x<32;){if(v===0)break t;v--,b|=p[g++]<<x,x+=8}if(C-=y,e.total_out+=C,n.total+=C,C&&(e.adler=n.check=n.flags?a(n.check,m,C,_-C):i(n.check,m,C,_-C)),C=y,(n.flags?b:h(b))!==n.check){e.msg=`incorrect data check`,n.mode=30;break}x=b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;x<32;){if(v===0)break t;v--,b+=p[g++]<<x,x+=8}if(b!==(4294967295&n.total)){e.msg=`incorrect length check`,n.mode=30;break}x=b=0}n.mode=29;case 29:I=1;break t;case 30:I=-3;break t;case 31:return-4;case 32:default:return d}return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,(n.wsize||C!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&T(e,e.output,e.next_out,C-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,C-=e.avail_out,e.total_in+=S,e.total_out+=C,n.total+=C,n.wrap&&C&&(e.adler=n.check=n.flags?a(n.check,m,C,e.next_out-C):i(n.check,m,C,e.next_out-C)),e.data_type=n.bits+(n.last?64:0)+(n.mode===12?128:0)+(n.mode===20||n.mode===15?256:0),(S==0&&C===0||t===4)&&I===u&&(I=-5),I)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&=null,e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?(n=e.state).wrap!==0&&n.mode!==11?d:n.mode===11&&i(1,t,r,0)!==n.check?-3:T(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo=`pako inflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=e(`../utils/common`),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,l,u,d,f){var p,m,h,g,_,v,y,b,x,S=f.bits,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A=0,j=0,M=0,N=null,P=0,F=new r.Buf16(16),I=new r.Buf16(16),L=null,R=0;for(C=0;C<=15;C++)F[C]=0;for(w=0;w<c;w++)F[t[n+w]]++;for(D=S,E=15;1<=E&&F[E]===0;E--);if(E<D&&(D=E),E===0)return l[u++]=20971520,l[u++]=20971520,f.bits=1,0;for(T=1;T<E&&F[T]===0;T++);for(D<T&&(D=T),C=A=1;C<=15;C++)if(A<<=1,(A-=F[C])<0)return-1;if(0<A&&(e===0||E!==1))return-1;for(I[1]=0,C=1;C<15;C++)I[C+1]=I[C]+F[C];for(w=0;w<c;w++)t[n+w]!==0&&(d[I[t[n+w]]++]=w);if(v=e===0?(N=L=d,19):e===1?(N=i,P-=257,L=a,R-=257,256):(N=o,L=s,-1),C=T,_=u,k=w=M=0,h=-1,g=(j=1<<(O=D))-1,e===1&&852<j||e===2&&592<j)return 1;for(;;){for(y=C-k,x=d[w]<v?(b=0,d[w]):d[w]>v?(b=L[R+d[w]],N[P+d[w]]):(b=96,0),p=1<<C-k,T=m=1<<O;l[_+(M>>k)+(m-=p)]=y<<24|b<<16|x|0,m!==0;);for(p=1<<C-1;M&p;)p>>=1;if(p===0?M=0:(M&=p-1,M+=p),w++,--F[C]==0){if(C===E)break;C=t[n+d[w]]}if(D<C&&(M&g)!==h){for(k===0&&(k=D),_+=T,A=1<<(O=C-k);O+k<E&&!((A-=F[O+k])<=0);)O++,A<<=1;if(j+=1<<O,e===1&&852<j||e===2&&592<j)return 1;l[h=M&g]=D<<24|O<<16|_-u|0}}return M!==0&&(l[_+M]=C-k<<24|4194304),f.bits=D,0}},{"../utils/common":41}],51:[function(e,t,n){t.exports={2:`need dictionary`,1:`stream end`,0:``,"-1":`file error`,"-2":`stream error`,"-3":`data error`,"-4":`insufficient memory`,"-5":`buffer error`,"-6":`incompatible version`}},{}],52:[function(e,t,n){var r=e(`../utils/common`),i=0,a=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,c=29,l=256,u=l+1+c,d=30,f=19,p=2*u+1,m=15,h=16,g=7,_=256,v=16,y=17,b=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=Array(2*(u+2));o(T);var E=Array(2*d);o(E);var D=Array(512);o(D);var O=Array(256);o(O);var k=Array(c);o(k);var A,j,M,N=Array(d);function P(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function I(e){return e<256?D[e]:D[256+(e>>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function R(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<<e.bi_valid&65535,L(e,e.bi_buf),e.bi_buf=t>>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){R(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function ee(e,t,n){var r,i,a=Array(m+1),o=0;for(r=1;r<=m;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=B(a[s]++,s))}}function te(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<f;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function ne(e){8<e.bi_valid?L(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function re(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function ie(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&re(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!re(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function ae(e,t,n){var r,i,a,o,s=0;if(e.last_lit!==0)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,r===0?z(e,i,t):(z(e,(a=O[i])+l+1,t),(o=x[a])!==0&&R(e,i-=k[a],o),z(e,a=I(--r),n),(o=S[a])!==0&&R(e,r-=N[a],o)),s<e.last_lit;);z(e,_,t)}function oe(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=p,n=0;n<c;n++)a[2*n]===0?a[2*n+1]=0:(e.heap[++e.heap_len]=l=n,e.depth[n]=0);for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)ie(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ie(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,ie(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<p;n++)g<(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(a=g,_++),c[2*r+1]=a,l<r||(e.bl_count[a]++,o=0,h<=r&&(o=f[r-h]),s=c[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(u[2*r+1]+o)));if(_!==0){do{for(a=g-1;e.bl_count[a]===0;)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,_-=2}while(0<_);for(a=g;a!==0;a--)for(r=e.bl_count[a];r!==0;)l<(i=e.heap[--n])||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),r--)}}(e,t),ee(a,l,e.bl_count)}function se(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:i===0?s<=10?e.bl_tree[2*y]++:e.bl_tree[2*b]++:(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*v]++),a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4))}function ce(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<c&&i===o)){if(s<l)for(;z(e,i,e.bl_tree),--s!=0;);else i===0?s<=10?(z(e,y,e.bl_tree),R(e,s-3,3)):(z(e,b,e.bl_tree),R(e,s-11,7)):(i!==a&&(z(e,i,e.bl_tree),s--),z(e,v,e.bl_tree),R(e,s-3,2));a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4)}}o(N);var le=!1;function ue(e,t,n,i){R(e,(s<<1)+ +!!i,3),function(e,t,n,i){ne(e),i&&(L(e,n),L(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){le||=(function(){var e,t,n,r,i,a=Array(m+1);for(r=n=0;r<c-1;r++)for(k[r]=n,e=0;e<1<<x[r];e++)O[n++]=r;for(O[n-1]=r,r=i=0;r<16;r++)for(N[r]=i,e=0;e<1<<S[r];e++)D[i++]=r;for(i>>=7;r<d;r++)for(N[r]=i<<7,e=0;e<1<<S[r]-7;e++)D[256+ i++]=r;for(t=0;t<=m;t++)a[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,a[8]++;for(;e<=255;)T[2*e+1]=9,e++,a[9]++;for(;e<=279;)T[2*e+1]=7,e++,a[7]++;for(;e<=287;)T[2*e+1]=8,e++,a[8]++;for(ee(T,u+1,a),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);A=new P(T,x,l+1,u,m),j=new P(E,S,0,d,m),M=new P([],C,0,f,g)}(),!0),e.l_desc=new F(e.dyn_ltree,A),e.d_desc=new F(e.dyn_dtree,j),e.bl_desc=new F(e.bl_tree,M),e.bi_buf=0,e.bi_valid=0,te(e)},n._tr_stored_block=ue,n._tr_flush_block=function(e,t,n,r){var o,s,c=0;0<e.level?(e.strm.data_type===2&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&e.dyn_ltree[2*t]!==0)return i;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return a;for(t=32;t<l;t++)if(e.dyn_ltree[2*t]!==0)return a;return i}(e)),oe(e,e.l_desc),oe(e,e.d_desc),c=function(e){var t;for(se(e,e.dyn_ltree,e.l_desc.max_code),se(e,e.dyn_dtree,e.d_desc.max_code),oe(e,e.bl_desc),t=f-1;3<=t&&e.bl_tree[2*w[t]+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&t!==-1?ue(e,t,n,r):e.strategy===4||s===o?(R(e,2+ +!!r,3),ae(e,T,E)):(R(e,4+ +!!r,3),function(e,t,n,r){var i;for(R(e,t-257,5),R(e,n-1,5),R(e,r-4,4),i=0;i<r;i++)R(e,e.bl_tree[2*w[i]+1],3);ce(e,e.dyn_ltree,t-1),ce(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),ae(e,e.dyn_ltree,e.dyn_dtree)),te(e),r&&ne(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+l+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){R(e,2,3),z(e,_,T),function(e){e.bi_valid===16?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){(function(e,t){if(!e.setImmediate){var n,r,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n={}.toString.call(e.process)===`[object process]`?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}()?(a=`setImmediate$`+Math.random()+`$`,e.addEventListener?e.addEventListener(`message`,p,!1):e.attachEvent(`onmessage`,p),function(t){e.postMessage(a+t,`*`)}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):l&&`onreadystatechange`in l.createElement(`script`)?(r=l.documentElement,function(e){var t=l.createElement(`script`);t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},u.setImmediate=function(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return s[o]={callback:e,args:t},n(o),o++},u.clearImmediate=d}function d(e){delete s[e]}function f(e){if(c)setTimeout(f,0,e);else{var n=s[e];if(n){c=!0;try{(function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}})(n)}finally{d(e),c=!1}}}}function p(t){t.source===e&&typeof t.data==`string`&&t.data.indexOf(a)===0&&f(+t.data.slice(a.length))}})(typeof self>`u`?e===void 0?this:e:self)}).call(this,f===void 0?typeof self<`u`?self:typeof window<`u`?window:{}:f)},{}]},{},[10])(10)})})(h);var g=h.exports;let _=p(g);var v;(function(e){e.OfficeDocument=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,e.FontTable=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable`,e.Image=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,e.Numbering=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering`,e.Styles=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,e.StylesWithEffects=`http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects`,e.Theme=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,e.Settings=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings`,e.WebSettings=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings`,e.Hyperlink=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,e.Footnotes=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes`,e.Endnotes=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes`,e.Footer=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer`,e.Header=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/header`,e.ExtendedProperties=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties`,e.CoreProperties=`http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties`,e.CustomProperties=`http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties`,e.Comments=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`,e.CommentsExtended=`http://schemas.microsoft.com/office/2011/relationships/commentsExtended`})(v||={});function y(e,t){return t.elements(e).map(e=>({id:t.attr(e,`Id`),type:t.attr(e,`Type`),target:t.attr(e,`Target`),targetMode:t.attr(e,`TargetMode`)}))}let b={wordml:`http://schemas.openxmlformats.org/wordprocessingml/2006/main`,drawingml:`http://schemas.openxmlformats.org/drawingml/2006/main`,picture:`http://schemas.openxmlformats.org/drawingml/2006/picture`,compatibility:`http://schemas.openxmlformats.org/markup-compatibility/2006`,math:`http://schemas.openxmlformats.org/officeDocument/2006/math`},x={Dxa:{mul:.05,unit:`pt`},Emu:{mul:1/12700,unit:`pt`},FontSize:{mul:.5,unit:`pt`},Border:{mul:.125,unit:`pt`},Point:{mul:1,unit:`pt`},Percent:{mul:.02,unit:`%`},LineHeight:{mul:1/240,unit:``},VmlEmu:{mul:1/12700,unit:``}};function S(e,t=x.Dxa){return e==null||/.+(p[xt]|[%])$/.test(e)?e:`${(parseInt(e)*t.mul).toFixed(2)}${t.unit}`}function C(e,t=!1){switch(e){case`1`:return!0;case`0`:return!1;case`on`:return!0;case`off`:return!1;case`true`:return!0;case`false`:return!1;default:return t}}function w(e,t,n){if(e.namespaceURI!=b.wordml)return!1;switch(e.localName){case`color`:t.color=n.attr(e,`val`);break;case`sz`:t.fontSize=n.lengthAttr(e,`val`,x.FontSize);break;default:return!1}return!0}function T(e,t=!1){t&&(e=e.replace(/<[?].*[?]>/,``)),e=D(e);let n=new DOMParser().parseFromString(e,`application/xml`),r=E(n);if(r)throw Error(r);return n}function E(e){return e.getElementsByTagName(`parsererror`)[0]?.textContent}function D(e){return e.charCodeAt(0)===65279?e.substring(1):e}function O(e){return new XMLSerializer().serializeToString(e)}class k{elements(e,t=null){let n=[];for(let r=0,i=e.childNodes.length;r<i;r++){let i=e.childNodes.item(r);i.nodeType==1&&(t==null||i.localName==t)&&n.push(i)}return n}element(e,t){for(let n=0,r=e.childNodes.length;n<r;n++){let r=e.childNodes.item(n);if(r.nodeType==1&&r.localName==t)return r}return null}elementAttr(e,t,n){var r=this.element(e,t);return r?this.attr(r,n):void 0}attrs(e){return Array.from(e.attributes)}attr(e,t){for(let n=0,r=e.attributes.length;n<r;n++){let r=e.attributes.item(n);if(r.localName==t)return r.value}return null}intAttr(e,t,n=null){var r=this.attr(e,t);return r?parseInt(r):n}hexAttr(e,t,n=null){var r=this.attr(e,t);return r?parseInt(r,16):n}floatAttr(e,t,n=null){var r=this.attr(e,t);return r?parseFloat(r):n}boolAttr(e,t,n=null){return C(this.attr(e,t),n)}lengthAttr(e,t,n=x.Dxa){return S(this.attr(e,t),n)}}let A=new k;class j{constructor(e,t){this._package=e,this.path=t}load(){return d(this,null,function*(){this.rels=yield this._package.loadRelationships(this.path);let e=yield this._package.load(this.path),t=this._package.parseXmlDocument(e);this._package.options.keepOrigin&&(this._xmlDocument=t),this.parseXml(t.firstElementChild)})}save(){this._package.update(this.path,O(this._xmlDocument))}parseXml(e){}}let M={embedRegular:`regular`,embedBold:`bold`,embedItalic:`italic`,embedBoldItalic:`boldItalic`};function N(e,t){return t.elements(e).map(e=>P(e,t))}function P(e,t){let n={name:t.attr(e,`name`),embedFontRefs:[]};for(let r of t.elements(e))switch(r.localName){case`family`:n.family=t.attr(r,`val`);break;case`altName`:n.altName=t.attr(r,`val`);break;case`embedRegular`:case`embedBold`:case`embedItalic`:case`embedBoldItalic`:n.embedFontRefs.push(F(r,t));break}return n}function F(e,t){return{id:t.attr(e,`id`),key:t.attr(e,`fontKey`),type:M[e.localName]}}class I extends j{parseXml(e){this.fonts=N(e,this._package.xmlParser)}}function L(e){return e?.replace(/[ .]+/g,`-`).replace(/[&]+/g,`and`).toLowerCase()}function R(e){let t=e.lastIndexOf(`/`)+1;return[t==0?``:e.substring(0,t),t==0?e:e.substring(t)]}function z(e,t){try{return new URL(e,`http://docx/`+t).toString().substring(12)}catch{return`${t}${e}`}}function B(e,t){return e.reduce((e,n)=>(e[t(n)]=n,e),{})}function ee(e){return new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=()=>n(),r.readAsDataURL(e)})}function te(e){return e&&typeof e==`object`&&!Array.isArray(e)}function ne(e){return typeof e==`string`||e instanceof String}function re(e,...t){if(!t.length)return e;let n=t.shift();if(te(e)&&te(n))for(let t in n)te(n[t])?re(e[t]??(e[t]={}),n[t]):e[t]=n[t];return re(e,...t)}function ie(e){return Array.isArray(e)?e:[e]}class ae{constructor(e,t){this._zip=e,this.options=t,this.xmlParser=new k}get(e){let t=oe(e);return this._zip.files[t]??this._zip.files[t.replace(/\//g,`\\`)]}update(e,t){this._zip.file(e,t)}static load(e,t){return d(this,null,function*(){return new ae(yield _.loadAsync(e),t)})}save(e=`blob`){return this._zip.generateAsync({type:e})}load(e,t=`string`){return this.get(e)?.async(t)??Promise.resolve(null)}loadRelationships(e=null){return d(this,null,function*(){let t=`_rels/.rels`;if(e!=null){let[n,r]=R(e);t=`${n}_rels/${r}.rels`}let n=yield this.load(t);return n?y(this.parseXmlDocument(n).firstElementChild,this.xmlParser):null})}parseXmlDocument(e){return T(e,this.options.trimXmlDeclaration)}}function oe(e){return e.startsWith(`/`)?e.substr(1):e}class se extends j{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.body=this._documentParser.parseDocumentFile(e)}}function ce(e,t){return{type:t.attr(e,`val`),color:t.attr(e,`color`),size:t.lengthAttr(e,`sz`,x.Border),offset:t.lengthAttr(e,`space`,x.Point),frame:t.boolAttr(e,`frame`),shadow:t.boolAttr(e,`shadow`)}}function le(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case`left`:n.left=ce(r,t);break;case`top`:n.top=ce(r,t);break;case`right`:n.right=ce(r,t);break;case`bottom`:n.bottom=ce(r,t);break}return n}var ue;(function(e){e.Continuous=`continuous`,e.NextPage=`nextPage`,e.NextColumn=`nextColumn`,e.EvenPage=`evenPage`,e.OddPage=`oddPage`})(ue||={});function de(e,t=A){var n={};for(let r of t.elements(e))switch(r.localName){case`pgSz`:n.pageSize={width:t.lengthAttr(r,`w`),height:t.lengthAttr(r,`h`),orientation:t.attr(r,`orient`)};break;case`type`:n.type=t.attr(r,`val`);break;case`pgMar`:n.pageMargins={left:t.lengthAttr(r,`left`),right:t.lengthAttr(r,`right`),top:t.lengthAttr(r,`top`),bottom:t.lengthAttr(r,`bottom`),header:t.lengthAttr(r,`header`),footer:t.lengthAttr(r,`footer`),gutter:t.lengthAttr(r,`gutter`)};break;case`cols`:n.columns=fe(r,t);break;case`headerReference`:(n.headerRefs??=[]).push(me(r,t));break;case`footerReference`:(n.footerRefs??=[]).push(me(r,t));break;case`titlePg`:n.titlePage=t.boolAttr(r,`val`,!0);break;case`pgBorders`:n.pageBorders=le(r,t);break;case`pgNumType`:n.pageNumber=pe(r,t);break}return n}function fe(e,t){return{numberOfColumns:t.intAttr(e,`num`),space:t.lengthAttr(e,`space`),separator:t.boolAttr(e,`sep`),equalWidth:t.boolAttr(e,`equalWidth`,!0),columns:t.elements(e,`col`).map(e=>({width:t.lengthAttr(e,`w`),space:t.lengthAttr(e,`space`)}))}}function pe(e,t){return{chapSep:t.attr(e,`chapSep`),chapStyle:t.attr(e,`chapStyle`),format:t.attr(e,`fmt`),start:t.intAttr(e,`start`)}}function me(e,t){return{id:t.attr(e,`id`),type:t.attr(e,`type`)}}function he(e,t){return{before:t.lengthAttr(e,`before`),after:t.lengthAttr(e,`after`),line:t.intAttr(e,`line`),lineRule:t.attr(e,`lineRule`)}}function ge(e,t){let n={};for(let r of t.elements(e))_e(r,n,t);return n}function _e(e,t,n){return!!w(e,t,n)}function ve(e,t){let n={};for(let r of t.elements(e))ye(r,n,t);return n}function ye(e,t,n){if(e.namespaceURI!=b.wordml)return!1;if(w(e,t,n))return!0;switch(e.localName){case`tabs`:t.tabs=be(e,n);break;case`sectPr`:t.sectionProps=de(e,n);break;case`numPr`:t.numbering=xe(e,n);break;case`spacing`:return t.lineSpacing=he(e,n),!1;case`textAlignment`:return t.textAlignment=n.attr(e,`val`),!1;case`keepLines`:t.keepLines=n.boolAttr(e,`val`,!0);break;case`keepNext`:t.keepNext=n.boolAttr(e,`val`,!0);break;case`pageBreakBefore`:t.pageBreakBefore=n.boolAttr(e,`val`,!0);break;case`outlineLvl`:t.outlineLevel=n.intAttr(e,`val`);break;case`pStyle`:t.styleName=n.attr(e,`val`);break;case`rPr`:t.runProps=ge(e,n);break;default:return!1}return!0}function be(e,t){return t.elements(e,`tab`).map(e=>({position:t.lengthAttr(e,`pos`),leader:t.attr(e,`leader`),style:t.attr(e,`val`)}))}function xe(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case`numId`:n.id=t.attr(r,`val`);break;case`ilvl`:n.level=t.intAttr(r,`val`);break}return n}function V(e,t){let n={numberings:[],abstractNumberings:[],bulletPictures:[]};for(let r of t.elements(e))switch(r.localName){case`num`:n.numberings.push(Se(r,t));break;case`abstractNum`:n.abstractNumberings.push(Ce(r,t));break;case`numPicBullet`:n.bulletPictures.push(Ee(r,t));break}return n}function Se(e,t){let n={id:t.attr(e,`numId`),overrides:[]};for(let r of t.elements(e))switch(r.localName){case`abstractNumId`:n.abstractId=t.attr(r,`val`);break;case`lvlOverride`:n.overrides.push(Te(r,t));break}return n}function Ce(e,t){let n={id:t.attr(e,`abstractNumId`),levels:[]};for(let r of t.elements(e))switch(r.localName){case`name`:n.name=t.attr(r,`val`);break;case`multiLevelType`:n.multiLevelType=t.attr(r,`val`);break;case`numStyleLink`:n.numberingStyleLink=t.attr(r,`val`);break;case`styleLink`:n.styleLink=t.attr(r,`val`);break;case`lvl`:n.levels.push(we(r,t));break}return n}function we(e,t){let n={level:t.intAttr(e,`ilvl`)};for(let r of t.elements(e))switch(r.localName){case`start`:n.start=t.attr(r,`val`);break;case`lvlRestart`:n.restart=t.intAttr(r,`val`);break;case`numFmt`:n.format=t.attr(r,`val`);break;case`lvlText`:n.text=t.attr(r,`val`);break;case`lvlJc`:n.justification=t.attr(r,`val`);break;case`lvlPicBulletId`:n.bulletPictureId=t.attr(r,`val`);break;case`pStyle`:n.paragraphStyle=t.attr(r,`val`);break;case`pPr`:n.paragraphProps=ve(r,t);break;case`rPr`:n.runProps=ge(r,t);break}return n}function Te(e,t){let n={level:t.intAttr(e,`ilvl`)};for(let r of t.elements(e))switch(r.localName){case`startOverride`:n.start=t.intAttr(r,`val`);break;case`lvl`:n.numberingLevel=we(r,t);break}return n}function Ee(e,t){var n=t.element(e,`pict`),r=n&&t.element(n,`shape`),i=r&&t.element(r,`imagedata`);return i?{id:t.attr(e,`numPicBulletId`),referenceId:t.attr(i,`id`),style:t.attr(r,`style`)}:null}class De extends j{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){Object.assign(this,V(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}}class Oe extends j{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.styles=this._documentParser.parseStylesFile(e)}}var H;(function(e){e.Document=`document`,e.Paragraph=`paragraph`,e.Run=`run`,e.Break=`break`,e.NoBreakHyphen=`noBreakHyphen`,e.Table=`table`,e.Row=`row`,e.Cell=`cell`,e.Hyperlink=`hyperlink`,e.SmartTag=`smartTag`,e.Drawing=`drawing`,e.Image=`image`,e.Text=`text`,e.Tab=`tab`,e.Symbol=`symbol`,e.BookmarkStart=`bookmarkStart`,e.BookmarkEnd=`bookmarkEnd`,e.Footer=`footer`,e.Header=`header`,e.FootnoteReference=`footnoteReference`,e.EndnoteReference=`endnoteReference`,e.Footnote=`footnote`,e.Endnote=`endnote`,e.SimpleField=`simpleField`,e.ComplexField=`complexField`,e.Instruction=`instruction`,e.VmlPicture=`vmlPicture`,e.MmlMath=`mmlMath`,e.MmlMathParagraph=`mmlMathParagraph`,e.MmlFraction=`mmlFraction`,e.MmlFunction=`mmlFunction`,e.MmlFunctionName=`mmlFunctionName`,e.MmlNumerator=`mmlNumerator`,e.MmlDenominator=`mmlDenominator`,e.MmlRadical=`mmlRadical`,e.MmlBase=`mmlBase`,e.MmlDegree=`mmlDegree`,e.MmlSuperscript=`mmlSuperscript`,e.MmlSubscript=`mmlSubscript`,e.MmlPreSubSuper=`mmlPreSubSuper`,e.MmlSubArgument=`mmlSubArgument`,e.MmlSuperArgument=`mmlSuperArgument`,e.MmlNary=`mmlNary`,e.MmlDelimiter=`mmlDelimiter`,e.MmlRun=`mmlRun`,e.MmlEquationArray=`mmlEquationArray`,e.MmlLimit=`mmlLimit`,e.MmlLimitLower=`mmlLimitLower`,e.MmlMatrix=`mmlMatrix`,e.MmlMatrixRow=`mmlMatrixRow`,e.MmlBox=`mmlBox`,e.MmlBar=`mmlBar`,e.MmlGroupChar=`mmlGroupChar`,e.VmlElement=`vmlElement`,e.Inserted=`inserted`,e.Deleted=`deleted`,e.DeletedText=`deletedText`,e.Comment=`comment`,e.CommentReference=`commentReference`,e.CommentRangeStart=`commentRangeStart`,e.CommentRangeEnd=`commentRangeEnd`})(H||={});class ke{constructor(){this.children=[],this.cssStyle={}}}class Ae extends ke{constructor(){super(...arguments),this.type=H.Header}}class je extends ke{constructor(){super(...arguments),this.type=H.Footer}}class Me extends j{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}}class Ne extends Me{createRootElement(){return new Ae}}class Pe extends Me{createRootElement(){return new je}}function Fe(e,t){let n={};for(let r of t.elements(e))switch(r.localName){case`Template`:n.template=r.textContent;break;case`Pages`:n.pages=Ie(r.textContent);break;case`Words`:n.words=Ie(r.textContent);break;case`Characters`:n.characters=Ie(r.textContent);break;case`Application`:n.application=r.textContent;break;case`Lines`:n.lines=Ie(r.textContent);break;case`Paragraphs`:n.paragraphs=Ie(r.textContent);break;case`Company`:n.company=r.textContent;break;case`AppVersion`:n.appVersion=r.textContent;break}return n}function Ie(e){if(e!==void 0)return parseInt(e)}class Le extends j{parseXml(e){this.props=Fe(e,this._package.xmlParser)}}function Re(e,t){let n={};for(let r of t.elements(e))switch(r.localName){case`title`:n.title=r.textContent;break;case`description`:n.description=r.textContent;break;case`subject`:n.subject=r.textContent;break;case`creator`:n.creator=r.textContent;break;case`keywords`:n.keywords=r.textContent;break;case`language`:n.language=r.textContent;break;case`lastModifiedBy`:n.lastModifiedBy=r.textContent;break;case`revision`:r.textContent&&(n.revision=parseInt(r.textContent));break}return n}class ze extends j{parseXml(e){this.props=Re(e,this._package.xmlParser)}}class Be{}function Ve(e,t){var n=new Be,r=t.element(e,`themeElements`);for(let e of t.elements(r))switch(e.localName){case`clrScheme`:n.colorScheme=He(e,t);break;case`fontScheme`:n.fontScheme=Ue(e,t);break}return n}function He(e,t){var n={name:t.attr(e,`name`),colors:{}};for(let a of t.elements(e)){var r=t.element(a,`srgbClr`),i=t.element(a,`sysClr`);r?n.colors[a.localName]=t.attr(r,`val`):i&&(n.colors[a.localName]=t.attr(i,`lastClr`))}return n}function Ue(e,t){var n={name:t.attr(e,`name`)};for(let r of t.elements(e))switch(r.localName){case`majorFont`:n.majorFont=We(r,t);break;case`minorFont`:n.minorFont=We(r,t);break}return n}function We(e,t){return{latinTypeface:t.elementAttr(e,`latin`,`typeface`),eaTypeface:t.elementAttr(e,`ea`,`typeface`),csTypeface:t.elementAttr(e,`cs`,`typeface`)}}class Ge extends j{constructor(e,t){super(e,t)}parseXml(e){this.theme=Ve(e,this._package.xmlParser)}}class Ke{}class qe extends Ke{constructor(){super(...arguments),this.type=H.Footnote}}class Je extends Ke{constructor(){super(...arguments),this.type=H.Endnote}}class Ye extends j{constructor(e,t,n){super(e,t),this._documentParser=n}}class U extends Ye{constructor(e,t,n){super(e,t,n)}parseXml(e){this.notes=this._documentParser.parseNotes(e,`footnote`,qe)}}class Xe extends Ye{constructor(e,t,n){super(e,t,n)}parseXml(e){this.notes=this._documentParser.parseNotes(e,`endnote`,Je)}}function Ze(e,t){var n={};for(let r of t.elements(e))switch(r.localName){case`defaultTabStop`:n.defaultTabStop=t.lengthAttr(r,`val`);break;case`footnotePr`:n.footnoteProps=Qe(r,t);break;case`endnotePr`:n.endnoteProps=Qe(r,t);break;case`autoHyphenation`:n.autoHyphenation=t.boolAttr(r,`val`);break}return n}function Qe(e,t){var n={defaultNoteIds:[]};for(let r of t.elements(e))switch(r.localName){case`numFmt`:n.nummeringFormat=t.attr(r,`val`);break;case`footnote`:case`endnote`:n.defaultNoteIds.push(t.attr(r,`id`));break}return n}class $e extends j{constructor(e,t){super(e,t)}parseXml(e){this.settings=Ze(e,this._package.xmlParser)}}function et(e,t){return t.elements(e,`property`).map(e=>{let n=e.firstChild;return{formatId:t.attr(e,`fmtid`),name:t.attr(e,`name`),type:n.nodeName,value:n.textContent}})}class tt extends j{parseXml(e){this.props=et(e,this._package.xmlParser)}}class nt extends j{constructor(e,t,n){super(e,t),this._documentParser=n}parseXml(e){this.comments=this._documentParser.parseComments(e),this.commentMap=B(this.comments,e=>e.id)}}class rt extends j{constructor(e,t){super(e,t),this.comments=[]}parseXml(e){let t=this._package.xmlParser;for(let n of t.elements(e,`commentEx`))this.comments.push({paraId:t.attr(n,`paraId`),paraIdParent:t.attr(n,`paraIdParent`),done:t.boolAttr(n,`done`)});this.commentMap=B(this.comments,e=>e.paraId)}}let it=[{type:v.OfficeDocument,target:`word/document.xml`},{type:v.ExtendedProperties,target:`docProps/app.xml`},{type:v.CoreProperties,target:`docProps/core.xml`},{type:v.CustomProperties,target:`docProps/custom.xml`}];class at{constructor(){this.parts=[],this.partsMap={}}static load(e,t,n){return d(this,null,function*(){var r=new at;return r._options=n,r._parser=t,r._package=yield ae.load(e,n),r.rels=yield r._package.loadRelationships(),yield Promise.all(it.map(e=>{let t=r.rels.find(t=>t.type===e.type)??e;return r.loadRelationshipPart(t.target,t.type)})),r})}save(e=`blob`){return this._package.save(e)}loadRelationshipPart(e,t){return d(this,null,function*(){if(this.partsMap[e])return this.partsMap[e];if(!this._package.get(e))return null;let n=null;switch(t){case v.OfficeDocument:this.documentPart=n=new se(this._package,e,this._parser);break;case v.FontTable:this.fontTablePart=n=new I(this._package,e);break;case v.Numbering:this.numberingPart=n=new De(this._package,e,this._parser);break;case v.Styles:this.stylesPart=n=new Oe(this._package,e,this._parser);break;case v.Theme:this.themePart=n=new Ge(this._package,e);break;case v.Footnotes:this.footnotesPart=n=new U(this._package,e,this._parser);break;case v.Endnotes:this.endnotesPart=n=new Xe(this._package,e,this._parser);break;case v.Footer:n=new Pe(this._package,e,this._parser);break;case v.Header:n=new Ne(this._package,e,this._parser);break;case v.CoreProperties:this.corePropsPart=n=new ze(this._package,e);break;case v.ExtendedProperties:this.extendedPropsPart=n=new Le(this._package,e);break;case v.CustomProperties:n=new tt(this._package,e);break;case v.Settings:this.settingsPart=n=new $e(this._package,e);break;case v.Comments:this.commentsPart=n=new nt(this._package,e,this._parser);break;case v.CommentsExtended:this.commentsExtendedPart=n=new rt(this._package,e);break}if(n==null)return Promise.resolve(null);if(this.partsMap[e]=n,this.parts.push(n),yield n.load(),n.rels?.length>0){let[e]=R(n.path);yield Promise.all(n.rels.map(t=>this.loadRelationshipPart(z(t.target,e),t.type)))}return n})}loadDocumentImage(e,t){return d(this,null,function*(){let n=yield this.loadResource(t??this.documentPart,e,`blob`);return this.blobToURL(n)})}loadNumberingImage(e){return d(this,null,function*(){let t=yield this.loadResource(this.numberingPart,e,`blob`);return this.blobToURL(t)})}loadFont(e,t){return d(this,null,function*(){let n=yield this.loadResource(this.fontTablePart,e,`uint8array`);return n&&this.blobToURL(new Blob([ot(n,t)]))})}blobToURL(e){return e?this._options.useBase64URL?ee(e):URL.createObjectURL(e):null}findPartByRelId(e,t=null){var n=(t.rels??this.rels).find(t=>t.id==e);let r=t?R(t.path)[0]:``;return n?this.partsMap[z(n.target,r)]:null}getPathById(e,t){let n=e.rels.find(e=>e.id==t),[r]=R(e.path);return n?z(n.target,r):null}loadResource(e,t,n){let r=this.getPathById(e,t);return r?this._package.load(r,n):Promise.resolve(null)}}function ot(e,t){let n=t.replace(/{|}|-/g,``),r=Array(16);for(let e=0;e<16;e++)r[16-e-1]=parseInt(n.substr(e*2,2),16);for(let t=0;t<32;t++)e[t]=e[t]^r[t%16];return e}function st(e,t){return{type:H.BookmarkStart,id:t.attr(e,`id`),name:t.attr(e,`name`),colFirst:t.intAttr(e,`colFirst`),colLast:t.intAttr(e,`colLast`)}}function ct(e,t){return{type:H.BookmarkEnd,id:t.attr(e,`id`)}}class W extends ke{constructor(){super(...arguments),this.type=H.VmlElement,this.attrs={}}}function lt(e,t){var n=new W;switch(e.localName){case`rect`:n.tagName=`rect`,Object.assign(n.attrs,{width:`100%`,height:`100%`});break;case`oval`:n.tagName=`ellipse`,Object.assign(n.attrs,{cx:`50%`,cy:`50%`,rx:`50%`,ry:`50%`});break;case`line`:n.tagName=`line`;break;case`shape`:n.tagName=`g`;break;case`textbox`:n.tagName=`foreignObject`,Object.assign(n.attrs,{width:`100%`,height:`100%`});break;default:return null}for(let t of A.attrs(e))switch(t.localName){case`style`:n.cssStyleText=t.value;break;case`fillcolor`:n.attrs.fill=t.value;break;case`from`:let[e,r]=ft(t.value);Object.assign(n.attrs,{x1:e,y1:r});break;case`to`:let[i,a]=ft(t.value);Object.assign(n.attrs,{x2:i,y2:a});break}for(let r of A.elements(e))switch(r.localName){case`stroke`:Object.assign(n.attrs,ut(r));break;case`fill`:Object.assign(n.attrs,dt());break;case`imagedata`:n.tagName=`image`,Object.assign(n.attrs,{width:`100%`,height:`100%`}),n.imageHref={id:A.attr(r,`id`),title:A.attr(r,`title`)};break;case`txbxContent`:n.children.push(...t.parseBodyElements(r));break;default:let e=lt(r,t);e&&n.children.push(e);break}return n}function ut(e){return{stroke:A.attr(e,`color`),"stroke-width":A.lengthAttr(e,`weight`,x.Emu)??`1px`}}function dt(e){return{}}function ft(e){return e.split(`,`)}class pt extends ke{constructor(){super(...arguments),this.type=H.Comment}}class mt extends ke{constructor(e){super(),this.id=e,this.type=H.CommentReference}}class ht extends ke{constructor(e){super(),this.id=e,this.type=H.CommentRangeStart}}class gt extends ke{constructor(e){super(),this.id=e,this.type=H.CommentRangeEnd}}var _t={shd:`inherit`,color:`black`,borderColor:`black`,highlight:`transparent`};let vt=[],yt={oMath:H.MmlMath,oMathPara:H.MmlMathParagraph,f:H.MmlFraction,func:H.MmlFunction,fName:H.MmlFunctionName,num:H.MmlNumerator,den:H.MmlDenominator,rad:H.MmlRadical,deg:H.MmlDegree,e:H.MmlBase,sSup:H.MmlSuperscript,sSub:H.MmlSubscript,sPre:H.MmlPreSubSuper,sup:H.MmlSuperArgument,sub:H.MmlSubArgument,d:H.MmlDelimiter,nary:H.MmlNary,eqArr:H.MmlEquationArray,lim:H.MmlLimit,limLow:H.MmlLimitLower,m:H.MmlMatrix,mr:H.MmlMatrixRow,box:H.MmlBox,bar:H.MmlBar,groupChr:H.MmlGroupChar};class bt{constructor(e){this.options=l({ignoreWidth:!1,debug:!1},e)}parseNotes(e,t,n){var r=[];for(let i of A.elements(e,t)){let e=new n;e.id=A.attr(i,`id`),e.noteType=A.attr(i,`type`),e.children=this.parseBodyElements(i),r.push(e)}return r}parseComments(e){var t=[];for(let n of A.elements(e,`comment`)){let e=new pt;e.id=A.attr(n,`id`),e.author=A.attr(n,`author`),e.initials=A.attr(n,`initials`),e.date=A.attr(n,`date`),e.children=this.parseBodyElements(n),t.push(e)}return t}parseDocumentFile(e){var t=A.element(e,`body`),n=A.element(e,`background`),r=A.element(t,`sectPr`);return{type:H.Document,children:this.parseBodyElements(t),props:r?de(r,A):{},cssStyle:n?this.parseBackground(n):{}}}parseBackground(e){var t={},n=G.colorAttr(e,`color`);return n&&(t[`background-color`]=n),t}parseBodyElements(e){var t=[];for(let n of A.elements(e))switch(n.localName){case`p`:t.push(this.parseParagraph(n));break;case`tbl`:t.push(this.parseTable(n));break;case`sdt`:t.push(...this.parseSdt(n,e=>this.parseBodyElements(e)));break}return t}parseStylesFile(e){var t=[];return G.foreach(e,e=>{switch(e.localName){case`style`:t.push(this.parseStyle(e));break;case`docDefaults`:t.push(this.parseDefaultStyles(e));break}}),t}parseDefaultStyles(e){var t={id:null,name:null,target:null,basedOn:null,styles:[]};return G.foreach(e,e=>{switch(e.localName){case`rPrDefault`:var n=A.element(e,`rPr`);n&&t.styles.push({target:`span`,values:this.parseDefaultProperties(n,{})});break;case`pPrDefault`:var r=A.element(e,`pPr`);r&&t.styles.push({target:`p`,values:this.parseDefaultProperties(r,{})});break}}),t}parseStyle(e){var t={id:A.attr(e,`styleId`),isDefault:A.boolAttr(e,`default`),name:null,target:null,basedOn:null,styles:[],linked:null};switch(A.attr(e,`type`)){case`paragraph`:t.target=`p`;break;case`table`:t.target=`table`;break;case`character`:t.target=`span`;break}return G.foreach(e,e=>{switch(e.localName){case`basedOn`:t.basedOn=A.attr(e,`val`);break;case`name`:t.name=A.attr(e,`val`);break;case`link`:t.linked=A.attr(e,`val`);break;case`next`:t.next=A.attr(e,`val`);break;case`aliases`:t.aliases=A.attr(e,`val`).split(`,`);break;case`pPr`:t.styles.push({target:`p`,values:this.parseDefaultProperties(e,{})}),t.paragraphProps=ve(e,A);break;case`rPr`:t.styles.push({target:`span`,values:this.parseDefaultProperties(e,{})}),t.runProps=ge(e,A);break;case`tblPr`:case`tcPr`:t.styles.push({target:`td`,values:this.parseDefaultProperties(e,{})});break;case`tblStylePr`:for(let n of this.parseTableStyle(e))t.styles.push(n);break;case`rsid`:case`qFormat`:case`hidden`:case`semiHidden`:case`unhideWhenUsed`:case`autoRedefine`:case`uiPriority`:break;default:this.options.debug&&console.warn(`DOCX: Unknown style element: ${e.localName}`)}}),t}parseTableStyle(e){var t=[],n=A.attr(e,`type`),r=``,i=``;switch(n){case`firstRow`:i=`.first-row`,r=`tr.first-row td`;break;case`lastRow`:i=`.last-row`,r=`tr.last-row td`;break;case`firstCol`:i=`.first-col`,r=`td.first-col`;break;case`lastCol`:i=`.last-col`,r=`td.last-col`;break;case`band1Vert`:i=`:not(.no-vband)`,r=`td.odd-col`;break;case`band2Vert`:i=`:not(.no-vband)`,r=`td.even-col`;break;case`band1Horz`:i=`:not(.no-hband)`,r=`tr.odd-row`;break;case`band2Horz`:i=`:not(.no-hband)`,r=`tr.even-row`;break;default:return[]}return G.foreach(e,e=>{switch(e.localName){case`pPr`:t.push({target:`${r} p`,mod:i,values:this.parseDefaultProperties(e,{})});break;case`rPr`:t.push({target:`${r} span`,mod:i,values:this.parseDefaultProperties(e,{})});break;case`tblPr`:case`tcPr`:t.push({target:r,mod:i,values:this.parseDefaultProperties(e,{})});break}}),t}parseNumberingFile(e){var t=[],n={},r=[];return G.foreach(e,e=>{switch(e.localName){case`abstractNum`:this.parseAbstractNumbering(e,r).forEach(e=>t.push(e));break;case`numPicBullet`:r.push(this.parseNumberingPicBullet(e));break;case`num`:var i=A.attr(e,`numId`),a=A.elementAttr(e,`abstractNumId`,`val`);n[a]=i;break}}),t.forEach(e=>e.id=n[e.id]),t}parseNumberingPicBullet(e){var t=A.element(e,`pict`),n=t&&A.element(t,`shape`),r=n&&A.element(n,`imagedata`);return r?{id:A.intAttr(e,`numPicBulletId`),src:A.attr(r,`id`),style:A.attr(n,`style`)}:null}parseAbstractNumbering(e,t){var n=[],r=A.attr(e,`abstractNumId`);return G.foreach(e,e=>{switch(e.localName){case`lvl`:n.push(this.parseNumberingLevel(r,e,t));break}}),n}parseNumberingLevel(e,t,n){var r={id:e,level:A.intAttr(t,`ilvl`),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:`tab`};return G.foreach(t,e=>{switch(e.localName){case`start`:r.start=A.intAttr(e,`val`);break;case`pPr`:this.parseDefaultProperties(e,r.pStyle);break;case`rPr`:this.parseDefaultProperties(e,r.rStyle);break;case`lvlPicBulletId`:var t=A.intAttr(e,`val`);r.bullet=n.find(e=>e?.id==t);break;case`lvlText`:r.levelText=A.attr(e,`val`);break;case`pStyle`:r.pStyleName=A.attr(e,`val`);break;case`numFmt`:r.format=A.attr(e,`val`);break;case`suff`:r.suff=A.attr(e,`val`);break}}),r}parseSdt(e,t){let n=A.element(e,`sdtContent`);return n?t(n):[]}parseInserted(e,t){return{type:H.Inserted,children:t(e)?.children??[]}}parseDeleted(e,t){return{type:H.Deleted,children:t(e)?.children??[]}}parseParagraph(e){var t={type:H.Paragraph,children:[]};for(let n of A.elements(e))switch(n.localName){case`pPr`:this.parseParagraphProperties(n,t);break;case`r`:t.children.push(this.parseRun(n,t));break;case`hyperlink`:t.children.push(this.parseHyperlink(n,t));break;case`smartTag`:t.children.push(this.parseSmartTag(n,t));break;case`bookmarkStart`:t.children.push(st(n,A));break;case`bookmarkEnd`:t.children.push(ct(n,A));break;case`commentRangeStart`:t.children.push(new ht(A.attr(n,`id`)));break;case`commentRangeEnd`:t.children.push(new gt(A.attr(n,`id`)));break;case`oMath`:case`oMathPara`:t.children.push(this.parseMathElement(n));break;case`sdt`:t.children.push(...this.parseSdt(n,e=>this.parseParagraph(e).children));break;case`ins`:t.children.push(this.parseInserted(n,e=>this.parseParagraph(e)));break;case`del`:t.children.push(this.parseDeleted(n,e=>this.parseParagraph(e)));break}return t}parseParagraphProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,e=>{if(ye(e,t,A))return!0;switch(e.localName){case`pStyle`:t.styleName=A.attr(e,`val`);break;case`cnfStyle`:t.className=K.classNameOfCnfStyle(e);break;case`framePr`:this.parseFrame(e,t);break;case`rPr`:break;default:return!1}return!0})}parseFrame(e,t){A.attr(e,`dropCap`)==`drop`&&(t.cssStyle.float=`left`)}parseHyperlink(e,t){var n={type:H.Hyperlink,parent:t,children:[]},r=A.attr(e,`anchor`),i=A.attr(e,`id`);return r&&(n.href=`#`+r),i&&(n.id=i),G.foreach(e,e=>{switch(e.localName){case`r`:n.children.push(this.parseRun(e,n));break}}),n}parseSmartTag(e,t){var n={type:H.SmartTag,parent:t,children:[]},r=A.attr(e,`uri`),i=A.attr(e,`element`);return r&&(n.uri=r),i&&(n.element=i),G.foreach(e,e=>{switch(e.localName){case`r`:n.children.push(this.parseRun(e,n));break}}),n}parseRun(e,t){var n={type:H.Run,parent:t,children:[]};return G.foreach(e,e=>{switch(e=this.checkAlternateContent(e),e.localName){case`t`:n.children.push({type:H.Text,text:e.textContent});break;case`delText`:n.children.push({type:H.DeletedText,text:e.textContent});break;case`commentReference`:n.children.push(new mt(A.attr(e,`id`)));break;case`fldSimple`:n.children.push({type:H.SimpleField,instruction:A.attr(e,`instr`),lock:A.boolAttr(e,`lock`,!1),dirty:A.boolAttr(e,`dirty`,!1)});break;case`instrText`:n.fieldRun=!0,n.children.push({type:H.Instruction,text:e.textContent});break;case`fldChar`:n.fieldRun=!0,n.children.push({type:H.ComplexField,charType:A.attr(e,`fldCharType`),lock:A.boolAttr(e,`lock`,!1),dirty:A.boolAttr(e,`dirty`,!1)});break;case`noBreakHyphen`:n.children.push({type:H.NoBreakHyphen});break;case`br`:n.children.push({type:H.Break,break:A.attr(e,`type`)||`textWrapping`});break;case`lastRenderedPageBreak`:n.children.push({type:H.Break,break:`lastRenderedPageBreak`});break;case`sym`:n.children.push({type:H.Symbol,font:A.attr(e,`font`),char:A.attr(e,`char`)});break;case`tab`:n.children.push({type:H.Tab});break;case`footnoteReference`:n.children.push({type:H.FootnoteReference,id:A.attr(e,`id`)});break;case`endnoteReference`:n.children.push({type:H.EndnoteReference,id:A.attr(e,`id`)});break;case`drawing`:let t=this.parseDrawing(e);t&&(n.children=[t]);break;case`pict`:n.children.push(this.parseVmlPicture(e));break;case`rPr`:this.parseRunProperties(e,n);break}}),n}parseMathElement(e){let t=`${e.localName}Pr`,n={type:yt[e.localName],children:[]};for(let i of A.elements(e))if(yt[i.localName])n.children.push(this.parseMathElement(i));else if(i.localName==`r`){var r=this.parseRun(i);r.type=H.MmlRun,n.children.push(r)}else i.localName==t&&(n.props=this.parseMathProperies(i));return n}parseMathProperies(e){let t={};for(let n of A.elements(e))switch(n.localName){case`chr`:t.char=A.attr(n,`val`);break;case`vertJc`:t.verticalJustification=A.attr(n,`val`);break;case`pos`:t.position=A.attr(n,`val`);break;case`degHide`:t.hideDegree=A.boolAttr(n,`val`);break;case`begChr`:t.beginChar=A.attr(n,`val`);break;case`endChr`:t.endChar=A.attr(n,`val`);break}return t}parseRunProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,e=>{switch(e.localName){case`rStyle`:t.styleName=A.attr(e,`val`);break;case`vertAlign`:t.verticalAlign=K.valueOfVertAlign(e,!0);break;default:return!1}return!0})}parseVmlPicture(e){let t={type:H.VmlPicture,children:[]};for(let n of A.elements(e)){let e=lt(n,this);e&&t.children.push(e)}return t}checkAlternateContent(e){if(e.localName!=`AlternateContent`)return e;var t=A.element(e,`Choice`);if(t){var n=A.attr(t,`Requires`),r=e.lookupNamespaceURI(n);if(vt.includes(r))return t.firstElementChild}return A.element(e,`Fallback`)?.firstElementChild}parseDrawing(e){for(var t of A.elements(e))switch(t.localName){case`inline`:case`anchor`:return this.parseDrawingWrapper(t)}}parseDrawingWrapper(e){var t={type:H.Drawing,children:[],cssStyle:{}},n=e.localName==`anchor`;let r=null,i=A.boolAttr(e,`simplePos`);A.boolAttr(e,`behindDoc`);let a={relative:`page`,align:`left`,offset:`0`},o={relative:`page`,align:`top`,offset:`0`};for(var s of A.elements(e))switch(s.localName){case`simplePos`:i&&(a.offset=A.lengthAttr(s,`x`,x.Emu),o.offset=A.lengthAttr(s,`y`,x.Emu));break;case`extent`:t.cssStyle.width=A.lengthAttr(s,`cx`,x.Emu),t.cssStyle.height=A.lengthAttr(s,`cy`,x.Emu);break;case`positionH`:case`positionV`:if(!i){let e=s.localName==`positionH`?a:o;var c=A.element(s,`align`),l=A.element(s,`posOffset`);e.relative=A.attr(s,`relativeFrom`)??e.relative,c&&(e.align=c.textContent),l&&(e.offset=G.sizeValue(l,x.Emu))}break;case`wrapTopAndBottom`:r=`wrapTopAndBottom`;break;case`wrapNone`:r=`wrapNone`;break;case`graphic`:var u=this.parseGraphic(s);u&&t.children.push(u);break}return r==`wrapTopAndBottom`?(t.cssStyle.display=`block`,a.align&&(t.cssStyle[`text-align`]=a.align,t.cssStyle.width=`100%`)):r==`wrapNone`?(t.cssStyle.display=`block`,t.cssStyle.position=`relative`,t.cssStyle.width=`0px`,t.cssStyle.height=`0px`,a.offset&&(t.cssStyle.left=a.offset),o.offset&&(t.cssStyle.top=o.offset)):n&&(a.align==`left`||a.align==`right`)&&(t.cssStyle.float=a.align),t}parseGraphic(e){var t=A.element(e,`graphicData`);for(let e of A.elements(t))switch(e.localName){case`pic`:return this.parsePicture(e)}return null}parsePicture(e){var t={type:H.Image,src:``,cssStyle:{}},n=A.element(e,`blipFill`),r=A.element(n,`blip`);t.src=A.attr(r,`embed`);var i=A.element(e,`spPr`),a=A.element(i,`xfrm`);t.cssStyle.position=`relative`;for(var o of A.elements(a))switch(o.localName){case`ext`:t.cssStyle.width=A.lengthAttr(o,`cx`,x.Emu),t.cssStyle.height=A.lengthAttr(o,`cy`,x.Emu);break;case`off`:t.cssStyle.left=A.lengthAttr(o,`x`,x.Emu),t.cssStyle.top=A.lengthAttr(o,`y`,x.Emu);break}return t}parseTable(e){var t={type:H.Table,children:[]};return G.foreach(e,e=>{switch(e.localName){case`tr`:t.children.push(this.parseTableRow(e));break;case`tblGrid`:t.columns=this.parseTableColumns(e);break;case`tblPr`:this.parseTableProperties(e,t);break}}),t}parseTableColumns(e){var t=[];return G.foreach(e,e=>{switch(e.localName){case`gridCol`:t.push({width:A.lengthAttr(e,`w`)});break}}),t}parseTableProperties(e,t){switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,e=>{switch(e.localName){case`tblStyle`:t.styleName=A.attr(e,`val`);break;case`tblLook`:t.className=K.classNameOftblLook(e);break;case`tblpPr`:this.parseTablePosition(e,t);break;case`tblStyleColBandSize`:t.colBandSize=A.intAttr(e,`val`);break;case`tblStyleRowBandSize`:t.rowBandSize=A.intAttr(e,`val`);break;default:return!1}return!0}),t.cssStyle[`text-align`]){case`center`:delete t.cssStyle[`text-align`],t.cssStyle[`margin-left`]=`auto`,t.cssStyle[`margin-right`]=`auto`;break;case`right`:delete t.cssStyle[`text-align`],t.cssStyle[`margin-left`]=`auto`;break}}parseTablePosition(e,t){var n=A.lengthAttr(e,`topFromText`),r=A.lengthAttr(e,`bottomFromText`),i=A.lengthAttr(e,`rightFromText`),a=A.lengthAttr(e,`leftFromText`);t.cssStyle.float=`left`,t.cssStyle[`margin-bottom`]=K.addSize(t.cssStyle[`margin-bottom`],r),t.cssStyle[`margin-left`]=K.addSize(t.cssStyle[`margin-left`],a),t.cssStyle[`margin-right`]=K.addSize(t.cssStyle[`margin-right`],i),t.cssStyle[`margin-top`]=K.addSize(t.cssStyle[`margin-top`],n)}parseTableRow(e){var t={type:H.Row,children:[]};return G.foreach(e,e=>{switch(e.localName){case`tc`:t.children.push(this.parseTableCell(e));break;case`trPr`:this.parseTableRowProperties(e,t);break}}),t}parseTableRowProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,e=>{switch(e.localName){case`cnfStyle`:t.className=K.classNameOfCnfStyle(e);break;case`tblHeader`:t.isHeader=A.boolAttr(e,`val`);break;default:return!1}return!0})}parseTableCell(e){var t={type:H.Cell,children:[]};return G.foreach(e,e=>{switch(e.localName){case`tbl`:t.children.push(this.parseTable(e));break;case`p`:t.children.push(this.parseParagraph(e));break;case`tcPr`:this.parseTableCellProperties(e,t);break}}),t}parseTableCellProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,e=>{switch(e.localName){case`gridSpan`:t.span=A.intAttr(e,`val`,null);break;case`vMerge`:t.verticalMerge=A.attr(e,`val`)??`continue`;break;case`cnfStyle`:t.className=K.classNameOfCnfStyle(e);break;default:return!1}return!0})}parseDefaultProperties(e,t=null,n=null,r=null){return t||={},G.foreach(e,i=>{if(!(r!=null&&r(i)))switch(i.localName){case`jc`:t[`text-align`]=K.valueOfJc(i);break;case`textAlignment`:t[`vertical-align`]=K.valueOfTextAlignment(i);break;case`color`:t.color=G.colorAttr(i,`val`,null,_t.color);break;case`sz`:t[`font-size`]=t[`min-height`]=A.lengthAttr(i,`val`,x.FontSize);break;case`shd`:t[`background-color`]=G.colorAttr(i,`fill`,null,_t.shd);break;case`highlight`:t[`background-color`]=G.colorAttr(i,`val`,null,_t.highlight);break;case`vertAlign`:break;case`position`:t.verticalAlign=A.lengthAttr(i,`val`,x.FontSize);break;case`tcW`:if(this.options.ignoreWidth)break;case`tblW`:t.width=K.valueOfSize(i,`w`);break;case`trHeight`:this.parseTrHeight(i,t);break;case`strike`:t[`text-decoration`]=A.boolAttr(i,`val`,!0)?`line-through`:`none`;break;case`b`:t[`font-weight`]=A.boolAttr(i,`val`,!0)?`bold`:`normal`;break;case`i`:t[`font-style`]=A.boolAttr(i,`val`,!0)?`italic`:`normal`;break;case`caps`:t[`text-transform`]=A.boolAttr(i,`val`,!0)?`uppercase`:`none`;break;case`smallCaps`:t[`font-variant`]=A.boolAttr(i,`val`,!0)?`small-caps`:`none`;break;case`u`:this.parseUnderline(i,t);break;case`ind`:case`tblInd`:this.parseIndentation(i,t);break;case`rFonts`:this.parseFont(i,t);break;case`tblBorders`:this.parseBorderProperties(i,n||t);break;case`tblCellSpacing`:t[`border-spacing`]=K.valueOfMargin(i),t[`border-collapse`]=`separate`;break;case`pBdr`:this.parseBorderProperties(i,t);break;case`bdr`:t.border=K.valueOfBorder(i);break;case`tcBorders`:this.parseBorderProperties(i,t);break;case`vanish`:A.boolAttr(i,`val`,!0)&&(t.display=`none`);break;case`kern`:break;case`noWrap`:break;case`tblCellMar`:case`tcMar`:this.parseMarginProperties(i,n||t);break;case`tblLayout`:t[`table-layout`]=K.valueOfTblLayout(i);break;case`vAlign`:t[`vertical-align`]=K.valueOfTextAlignment(i);break;case`spacing`:e.localName==`pPr`&&this.parseSpacing(i,t);break;case`wordWrap`:A.boolAttr(i,`val`)&&(t[`overflow-wrap`]=`break-word`);break;case`suppressAutoHyphens`:t.hyphens=A.boolAttr(i,`val`,!0)?`none`:`auto`;break;case`lang`:t.$lang=A.attr(i,`val`);break;case`bCs`:case`iCs`:case`szCs`:case`tabs`:case`outlineLvl`:case`contextualSpacing`:case`tblStyleColBandSize`:case`tblStyleRowBandSize`:case`webHidden`:case`pageBreakBefore`:case`suppressLineNumbers`:case`keepLines`:case`keepNext`:case`widowControl`:case`bidi`:case`rtl`:case`noProof`:break;default:this.options.debug&&console.warn(`DOCX: Unknown document element: ${e.localName}.${i.localName}`);break}}),t}parseUnderline(e,t){var n=A.attr(e,`val`);if(n!=null){switch(n){case`dash`:case`dashDotDotHeavy`:case`dashDotHeavy`:case`dashedHeavy`:case`dashLong`:case`dashLongHeavy`:case`dotDash`:case`dotDotDash`:t[`text-decoration`]=`underline dashed`;break;case`dotted`:case`dottedHeavy`:t[`text-decoration`]=`underline dotted`;break;case`double`:t[`text-decoration`]=`underline double`;break;case`single`:case`thick`:t[`text-decoration`]=`underline`;break;case`wave`:case`wavyDouble`:case`wavyHeavy`:t[`text-decoration`]=`underline wavy`;break;case`words`:t[`text-decoration`]=`underline`;break;case`none`:t[`text-decoration`]=`none`;break}var r=G.colorAttr(e,`color`);r&&(t[`text-decoration-color`]=r)}}parseFont(e,t){var n=[A.attr(e,`ascii`),K.themeValue(e,`asciiTheme`)].filter(e=>e).join(`, `);n.length>0&&(t[`font-family`]=n)}parseIndentation(e,t){var n=A.lengthAttr(e,`firstLine`),r=A.lengthAttr(e,`hanging`),i=A.lengthAttr(e,`left`),a=A.lengthAttr(e,`start`),o=A.lengthAttr(e,`right`),s=A.lengthAttr(e,`end`);n&&(t[`text-indent`]=n),r&&(t[`text-indent`]=`-${r}`),(i||a)&&(t[`margin-left`]=i||a),(o||s)&&(t[`margin-right`]=o||s)}parseSpacing(e,t){var n=A.lengthAttr(e,`before`),r=A.lengthAttr(e,`after`),i=A.intAttr(e,`line`,null),a=A.attr(e,`lineRule`);if(n&&(t[`margin-top`]=n),r&&(t[`margin-bottom`]=r),i!==null)switch(a){case`auto`:t[`line-height`]=`${(i/240).toFixed(2)}`;break;case`atLeast`:t[`line-height`]=`calc(100% + ${i/20}pt)`;break;default:t[`line-height`]=t[`min-height`]=`${i/20}pt`;break}}parseMarginProperties(e,t){G.foreach(e,e=>{switch(e.localName){case`left`:t[`padding-left`]=K.valueOfMargin(e);break;case`right`:t[`padding-right`]=K.valueOfMargin(e);break;case`top`:t[`padding-top`]=K.valueOfMargin(e);break;case`bottom`:t[`padding-bottom`]=K.valueOfMargin(e);break}})}parseTrHeight(e,t){switch(A.attr(e,`hRule`)){case`exact`:t.height=A.lengthAttr(e,`val`);break;default:t.height=A.lengthAttr(e,`val`);break}}parseBorderProperties(e,t){G.foreach(e,e=>{switch(e.localName){case`start`:case`left`:t[`border-left`]=K.valueOfBorder(e);break;case`end`:case`right`:t[`border-right`]=K.valueOfBorder(e);break;case`top`:t[`border-top`]=K.valueOfBorder(e);break;case`bottom`:t[`border-bottom`]=K.valueOfBorder(e);break}})}}let xt=[`black`,`blue`,`cyan`,`darkBlue`,`darkCyan`,`darkGray`,`darkGreen`,`darkMagenta`,`darkRed`,`darkYellow`,`green`,`lightGray`,`magenta`,`none`,`red`,`white`,`yellow`];class G{static foreach(e,t){for(var n=0;n<e.childNodes.length;n++){let r=e.childNodes[n];r.nodeType==Node.ELEMENT_NODE&&t(r)}}static colorAttr(e,t,n=null,r=`black`){var i=A.attr(e,t);if(i)return i==`auto`?r:xt.includes(i)?i:`#${i}`;var a=A.attr(e,`themeColor`);return a?`var(--docx-${a}-color)`:n}static sizeValue(e,t=x.Dxa){return S(e.textContent,t)}}class K{static themeValue(e,t){var n=A.attr(e,t);return n?`var(--docx-${n}-font)`:null}static valueOfSize(e,t){var n=x.Dxa;switch(A.attr(e,`type`)){case`dxa`:break;case`pct`:n=x.Percent;break;case`auto`:return`auto`}return A.lengthAttr(e,t,n)}static valueOfMargin(e){return A.lengthAttr(e,`w`)}static valueOfBorder(e){if(A.attr(e,`val`)==`nil`)return`none`;var t=G.colorAttr(e,`color`);return`${A.lengthAttr(e,`sz`,x.Border)} solid ${t==`auto`?_t.borderColor:t}`}static valueOfTblLayout(e){return A.attr(e,`val`)==`fixed`?`fixed`:`auto`}static classNameOfCnfStyle(e){let t=A.attr(e,`val`);return[`first-row`,`last-row`,`first-col`,`last-col`,`odd-col`,`even-col`,`odd-row`,`even-row`,`ne-cell`,`nw-cell`,`se-cell`,`sw-cell`].filter((e,n)=>t[n]==`1`).join(` `)}static valueOfJc(e){var t=A.attr(e,`val`);switch(t){case`start`:case`left`:return`left`;case`center`:return`center`;case`end`:case`right`:return`right`;case`both`:return`justify`}return t}static valueOfVertAlign(e,t=!1){var n=A.attr(e,`val`);switch(n){case`subscript`:return`sub`;case`superscript`:return t?`sup`:`super`}return t?null:n}static valueOfTextAlignment(e){var t=A.attr(e,`val`);switch(t){case`auto`:case`baseline`:return`baseline`;case`top`:return`top`;case`center`:return`middle`;case`bottom`:return`bottom`}return t}static addSize(e,t){return e==null?t:t==null?e:`calc(${e} + ${t})`}static classNameOftblLook(e){let t=A.hexAttr(e,`val`,0),n=``;return(A.boolAttr(e,`firstRow`)||t&32)&&(n+=` first-row`),(A.boolAttr(e,`lastRow`)||t&64)&&(n+=` last-row`),(A.boolAttr(e,`firstColumn`)||t&128)&&(n+=` first-col`),(A.boolAttr(e,`lastColumn`)||t&256)&&(n+=` last-col`),(A.boolAttr(e,`noHBand`)||t&512)&&(n+=` no-hband`),(A.boolAttr(e,`noVBand`)||t&1024)&&(n+=` no-vband`),n.trim()}}let St={pos:0,leader:`none`,style:`left`};function Ct(e=document.body){let t=document.createElement(`div`);t.style.width=`100pt`,e.appendChild(t);let n=100/t.offsetWidth;return e.removeChild(t),n}function wt(e,t,n,r=72/96){let i=e.closest(`p`),a=e.getBoundingClientRect(),o=i.getBoundingClientRect(),s=getComputedStyle(i),c=t?.length>0?t.map(e=>({pos:Tt(e.position),leader:e.leader,style:e.style})).sort((e,t)=>e.pos-t.pos):[St],d=c[c.length-1],f=o.width*r,p=Tt(n),m=d.pos+p;if(m<f)for(;m<f&&c.length<50;m+=p)c.push(u(l({},St),{pos:m}));let h=parseFloat(s.marginLeft),g=o.left+h,_=(a.left-g)*r,v=c.find(e=>e.style!=`clear`&&e.pos>_);if(v==null)return;let y=1;if(v.style==`right`||v.style==`center`){let t=Array.from(i.querySelectorAll(`.${e.className}`)),n=t.indexOf(e)+1,a=document.createRange();a.setStart(e,1),n<t.length?a.setEndBefore(t[n]):a.setEndAfter(i);let s=v.style==`center`?.5:1,c=a.getBoundingClientRect(),l=c.left+s*c.width-(o.left-h);y=v.pos-l*r}else y=v.pos-_;switch(e.innerHTML=` `,e.style.textDecoration=`inherit`,e.style.wordSpacing=`${y.toFixed(0)}pt`,v.leader){case`dot`:case`middleDot`:e.style.textDecoration=`underline`,e.style.textDecorationStyle=`dotted`;break;case`hyphen`:case`heavy`:case`underscore`:e.style.textDecoration=`underline`;break}}function Tt(e){return parseFloat(e)}let q={svg:`http://www.w3.org/2000/svg`,mathML:`http://www.w3.org/1998/Math/MathML`};class Et{constructor(e){this.htmlDocument=e,this.className=`docx`,this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.tabsTimeout=0,this.commentMap={},this.tasks=[],this.postRenderTasks=[],this.createElement=Dt}render(e,t,n=null,r){this.document=e,this.options=r,this.className=r.className,this.rootSelector=r.inWrapper?`.${this.className}-wrapper`:`:root`,this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight),n||=t,kt(n),kt(t),Mt(n,`docxjs library predefined styles`),n.appendChild(this.renderDefaultStyle()),e.themePart&&(Mt(n,`docxjs document theme values`),this.renderTheme(e.themePart,n)),e.stylesPart!=null&&(this.styleMap=this.processStyles(e.stylesPart.styles),Mt(n,`docxjs document styles`),n.appendChild(this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),Mt(n,`docxjs document numbering styles`),n.appendChild(this.renderNumbering(e.numberingPart.domNumberings,n))),e.footnotesPart&&(this.footnoteMap=B(e.footnotesPart.notes,e=>e.id)),e.endnotesPart&&(this.endnoteMap=B(e.endnotesPart.notes,e=>e.id)),e.settingsPart&&(this.defaultTabSize=e.settingsPart.settings?.defaultTabStop),!r.ignoreFonts&&e.fontTablePart&&this.renderFontTable(e.fontTablePart,n);var i=this.renderSections(e.documentPart.body);this.options.inWrapper?t.appendChild(this.renderWrapper(i)):At(t,i),this.commentHighlight&&r.renderComments&&CSS.highlights.set(`${this.className}-comments`,this.commentHighlight),this.refreshTabStops(),this.postRenderTasks.forEach(e=>e())}renderTheme(e,t){let n={},r=e.theme?.fontScheme;r&&(r.majorFont&&(n[`--docx-majorHAnsi-font`]=r.majorFont.latinTypeface),r.minorFont&&(n[`--docx-minorHAnsi-font`]=r.minorFont.latinTypeface));let i=e.theme?.colorScheme;if(i)for(let[e,t]of Object.entries(i.colors))n[`--docx-${e}-color`]=`#${t}`;let a=this.styleToString(`.${this.className}`,n);t.appendChild(jt(a))}renderFontTable(e,t){for(let n of e.fonts)for(let e of n.embedFontRefs)this.tasks.push(this.document.loadFont(e.id,e.key).then(r=>{let i={"font-family":n.name,src:`url(${r})`};(e.type==`bold`||e.type==`boldItalic`)&&(i[`font-weight`]=`bold`),(e.type==`italic`||e.type==`boldItalic`)&&(i[`font-style`]=`italic`),Mt(t,`docxjs ${n.name} font`);let a=this.styleToString(`@font-face`,i);t.appendChild(jt(a)),this.refreshTabStops()}))}processStyleName(e){return e?`${this.className}_${L(e)}`:this.className}processStyles(e){let t=B(e.filter(e=>e.id!=null),e=>e.id);for(let r of e.filter(e=>e.basedOn)){var n=t[r.basedOn];if(n){r.paragraphProps=re(r.paragraphProps,n.paragraphProps),r.runProps=re(r.runProps,n.runProps);for(let e of n.styles){let t=r.styles.find(t=>t.target==e.target);t?this.copyStyleProperties(e.values,t.values):r.styles.push(u(l({},e),{values:l({},e.values)}))}}else this.options.debug&&console.warn(`Can't find base style ${r.basedOn}`)}for(let t of e)t.cssName=this.processStyleName(t.id);return t}prodessNumberings(e){var t;for(let n of e.filter(e=>e.pStyleName)){let e=this.findStyle(n.pStyleName);(t=e?.paragraphProps)!=null&&t.numbering&&(e.paragraphProps.numbering.level=n.level)}}processElement(e){if(e.children)for(var t of e.children)t.parent=e,t.type==H.Table?this.processTable(t):this.processElement(t)}processTable(e){for(var t of e.children)for(var n of t.children)n.cssStyle=this.copyStyleProperties(e.cellStyle,n.cssStyle,[`border-left`,`border-right`,`border-top`,`border-bottom`,`padding-left`,`padding-right`,`padding-top`,`padding-bottom`]),this.processElement(n)}copyStyleProperties(e,t,n=null){if(!e)return t;t??={},n??=Object.getOwnPropertyNames(e);for(var r of n)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r]);return t}createPageElement(e,t){var n=this.createElement(`section`,{className:e});return t&&(t.pageMargins&&(n.style.paddingLeft=t.pageMargins.left,n.style.paddingRight=t.pageMargins.right,n.style.paddingTop=t.pageMargins.top,n.style.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(n.style.width=t.pageSize.width),this.options.ignoreHeight||(n.style.minHeight=t.pageSize.height))),n}createSectionContent(e){var t=this.createElement(`article`);return e.columns&&e.columns.numberOfColumns&&(t.style.columnCount=`${e.columns.numberOfColumns}`,t.style.columnGap=e.columns.space,e.columns.separator&&(t.style.columnRule=`1px solid black`)),t}renderSections(e){let t=[];this.processElement(e);let n=this.splitBySection(e.children,e.props),r=this.groupByPageBreaks(n),i=null;for(let n=0,o=r.length;n<o;n++){this.currentFootnoteIds=[];let s=r[n][0].sectProps,c=this.createPageElement(this.className,s);this.renderStyleValues(e.cssStyle,c),this.options.renderHeaders&&this.renderHeaderFooter(s.headerRefs,s,t.length,i!=s,c);for(let e of r[n]){var a=this.createSectionContent(e.sectProps);this.renderElements(e.elements,a),c.appendChild(a),s=e.sectProps}this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,c),this.options.renderEndnotes&&n==o-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,c),this.options.renderFooters&&this.renderHeaderFooter(s.footerRefs,s,t.length,i!=s,c),t.push(c),i=s}return t}renderHeaderFooter(e,t,n,r,i){if(e){var a=(t.titlePage&&r?e.find(e=>e.type==`first`):null)??(n%2==1?e.find(e=>e.type==`even`):null)??e.find(e=>e.type==`default`),o=a&&this.document.findPartByRelId(a.id,this.document.documentPart);if(o){this.currentPart=o,this.usedHederFooterParts.includes(o.path)||(this.processElement(o.rootElement),this.usedHederFooterParts.push(o.path));let[e]=this.renderElements([o.rootElement],i);t!=null&&t.pageMargins&&(o.rootElement.type===H.Header?(e.style.marginTop=`calc(${t.pageMargins.header} - ${t.pageMargins.top})`,e.style.minHeight=`calc(${t.pageMargins.top} - ${t.pageMargins.header})`):o.rootElement.type===H.Footer&&(e.style.marginBottom=`calc(${t.pageMargins.footer} - ${t.pageMargins.bottom})`,e.style.minHeight=`calc(${t.pageMargins.bottom} - ${t.pageMargins.footer})`)),this.currentPart=null}}}isPageBreakElement(e){return e.type==H.Break?e.break==`lastRenderedPageBreak`?!this.options.ignoreLastRenderedPageBreak:e.break==`page`:!1}isPageBreakSection(e,t){return!e||!t?!1:e.pageSize?.orientation!=t.pageSize?.orientation||e.pageSize?.width!=t.pageSize?.width||e.pageSize?.height!=t.pageSize?.height}splitBySection(e,t){var n,r={sectProps:null,elements:[],pageBreak:!1},i=[r];for(let t of e)if(t.type==H.Paragraph&&(n=this.findStyle(t.styleName)?.paragraphProps)!=null&&n.pageBreakBefore&&(r.sectProps=a,r.pageBreak=!0,r={sectProps:null,elements:[],pageBreak:!1},i.push(r)),r.elements.push(t),t.type==H.Paragraph){let e=t;var a=e.sectionProps,o=-1,s=-1;if(this.options.breakPages&&e.children&&(o=e.children.findIndex(e=>(s=e.children?.findIndex(this.isPageBreakElement.bind(this))??-1,s!=-1))),(a||o!=-1)&&(r.sectProps=a,r.pageBreak=o!=-1,r={sectProps:null,elements:[],pageBreak:!1},i.push(r)),o!=-1){let n=e.children[o],i=s<n.children.length-1;if(o<e.children.length-1||i){var c=t.children,d=u(l({},t),{children:c.slice(o)});if(t.children=c.slice(0,o),r.elements.push(d),i){let e=n.children,r=u(l({},n),{children:e.slice(0,s)});t.children.push(r),n.children=e.slice(s)}}}}let f=null;for(let e=i.length-1;e>=0;e--)i[e].sectProps==null?i[e].sectProps=f??t:f=i[e].sectProps;return i}groupByPageBreaks(e){let t=[],n,r=[t];for(let i of e)t.push(i),(this.options.ignoreLastRenderedPageBreak||i.pageBreak||this.isPageBreakSection(n,i.sectProps))&&r.push(t=[]),n=i.sectProps;return r.filter(e=>e.length>0)}renderWrapper(e){return this.createElement(`div`,{className:`${this.className}-wrapper`},e)}renderDefaultStyle(){var e=this.className,t=`
|
|
12
12
|
.${e}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; }
|
|
13
13
|
.${e}-wrapper>section.${e} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }
|