@simon_he/pi 0.0.41 → 0.0.42
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/dist/index.cjs +11 -13
- package/dist/index.js +11 -13
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -37,7 +37,7 @@ const ${r.helpers.map(l=>`_${Et[l]} = ${Et[l]}`).join(", ")}
|
|
|
37
37
|
`)),r.ssrHelpers&&r.ssrHelpers.length&&s(`import { ${r.ssrHelpers.map(l=>`${Et[l]} as _${Et[l]}`).join(", ")} } from "${u}"
|
|
38
38
|
`),r.imports.length&&(G6(r.imports,e),n()),$2(r.hoists,e),n(),i||s("export ")}function Gy(r,e,{helper:t,push:i,newline:s,isTS:n}){let a=t(e==="component"?Ga:Ol);for(let o=0;o<r.length;o++){let u=r[o],l=u.endsWith("__self");l&&(u=u.slice(0,-6)),i(`const ${no(u,e)} = ${a}(${JSON.stringify(u)}${l?", true":""})${n?"!":""}`),o<r.length-1&&s()}}function $2(r,e){if(!r.length)return;e.pure=!0;let{push:t,newline:i,helper:s,scopeId:n,mode:a}=e,o=n!=null&&a!=="function";i(),o&&(t(`const _withScopeId = n => (${s(Fl)}("${n}"),n=n(),${s(Ul)}(),n)`),i());for(let u=0;u<r.length;u++){let l=r[u];if(l){let c=o&&l.type===13;t(`const _hoisted_${u+1} = ${c?`${Co} _withScopeId(() => `:""}`),Re(l,e),c&&t(")"),i()}}e.pure=!1}function G6(r,e){!r.length||r.forEach(t=>{e.push("import "),Re(t.exp,e),e.push(` from '${t.path}'`),e.newline()})}function W6(r){return ve(r)||r.type===4||r.type===2||r.type===5||r.type===8}function Gl(r,e){let t=r.length>3||r.some(i=>Wt(i)||!W6(i));e.push("["),t&&e.indent(),_n(r,e,t),t&&e.deindent(),e.push("]")}function _n(r,e,t=!1,i=!0){let{push:s,newline:n}=e;for(let a=0;a<r.length;a++){let o=r[a];ve(o)?s(o):Wt(o)?Gl(o,e):Re(o,e),a<r.length-1&&(t?(i&&s(","),n()):i&&s(", "))}}function Re(r,e){if(ve(r)){e.push(r);return}if(So(r)){e.push(e.helper(r));return}switch(r.type){case 1:case 9:case 11:Gh(r.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Re(r.codegenNode,e);break;case 2:Y6(r,e);break;case 4:j2(r,e);break;case 5:K6(r,e);break;case 12:Re(r.codegenNode,e);break;case 8:V2(r,e);break;case 3:Q6(r,e);break;case 13:X6(r,e);break;case 14:eP(r,e);break;case 15:tP(r,e);break;case 17:rP(r,e);break;case 18:iP(r,e);break;case 19:sP(r,e);break;case 20:nP(r,e);break;case 21:_n(r.body,e,!0,!1);break;case 22:aP(r,e);break;case 23:z2(r,e);break;case 24:oP(r,e);break;case 25:uP(r,e);break;case 26:lP(r,e);break;case 10:break;default:return Gh(!1,`unhandled codegen node type: ${r.type}`),r}}function Y6(r,e){e.push(JSON.stringify(r.content),r)}function j2(r,e){let{content:t,isStatic:i}=r;e.push(i?JSON.stringify(t):t,r)}function K6(r,e){let{push:t,helper:i,pure:s}=e;s&&t(Co),t(`${i(Eo)}(`),Re(r.content,e),t(")")}function V2(r,e){for(let t=0;t<r.children.length;t++){let i=r.children[t];ve(i)?e.push(i):Re(i,e)}}function J6(r,e){let{push:t}=e;if(r.type===8)t("["),V2(r,e),t("]");else if(r.isStatic){let i=Si(r.content)?r.content:JSON.stringify(r.content);t(i,r)}else t(`[${r.content}]`,r)}function Q6(r,e){let{push:t,helper:i,pure:s}=e;s&&t(Co),t(`${i(xn)}(${JSON.stringify(r.content)})`,r)}function X6(r,e){let{push:t,helper:i,pure:s}=e,{tag:n,props:a,children:o,patchFlag:u,dynamicProps:l,directives:c,isBlock:f,disableTracking:h,isComponent:d}=r;c&&t(i(Ml)+"("),f&&t(`(${i(xi)}(${h?"true":""}), `),s&&t(Co);let w=f?os(e.inSSR,d):as(e.inSSR,d);t(i(w)+"(",r),_n(Z6([n,a,o,u,l]),e),t(")"),f&&t(")"),c&&(t(", "),Re(c,e),t(")"))}function Z6(r){let e=r.length;for(;e--&&r[e]==null;);return r.slice(0,e+1).map(t=>t||"null")}function eP(r,e){let{push:t,helper:i,pure:s}=e,n=ve(r.callee)?r.callee:i(r.callee);s&&t(Co),t(n+"(",r),_n(r.arguments,e),t(")")}function tP(r,e){let{push:t,indent:i,deindent:s,newline:n}=e,{properties:a}=r;if(!a.length){t("{}",r);return}let o=a.length>1||a.some(u=>u.value.type!==4);t(o?"{":"{ "),o&&i();for(let u=0;u<a.length;u++){let{key:l,value:c}=a[u];J6(l,e),t(": "),Re(c,e),u<a.length-1&&(t(","),n())}o&&s(),t(o?"}":" }")}function rP(r,e){Gl(r.elements,e)}function iP(r,e){let{push:t,indent:i,deindent:s}=e,{params:n,returns:a,body:o,newline:u,isSlot:l}=r;l&&t(`_${Et[ql]}(`),t("(",r),Wt(n)?_n(n,e):n&&Re(n,e),t(") => "),(u||o)&&(t("{"),i()),a?(u&&t("return "),Wt(a)?Gl(a,e):Re(a,e)):o&&Re(o,e),(u||o)&&(s(),t("}")),l&&t(")")}function sP(r,e){let{test:t,consequent:i,alternate:s,newline:n}=r,{push:a,indent:o,deindent:u,newline:l}=e;if(t.type===4){let f=!Si(t.content);f&&a("("),j2(t,e),f&&a(")")}else a("("),Re(t,e),a(")");n&&o(),e.indentLevel++,n||a(" "),a("? "),Re(i,e),e.indentLevel--,n&&l(),n||a(" "),a(": ");let c=s.type===19;c||e.indentLevel++,Re(s,e),c||e.indentLevel--,n&&u(!0)}function nP(r,e){let{push:t,helper:i,indent:s,deindent:n,newline:a}=e;t(`_cache[${r.index}] || (`),r.isVNode&&(s(),t(`${i(Ka)}(-1),`),a()),t(`_cache[${r.index}] = `),Re(r.value,e),r.isVNode&&(t(","),a(),t(`${i(Ka)}(1),`),a(),t(`_cache[${r.index}]`),n()),t(")")}function aP(r,e){let{push:t,indent:i,deindent:s}=e;t("`");let n=r.elements.length,a=n>3;for(let o=0;o<n;o++){let u=r.elements[o];ve(u)?t(u.replace(/(`|\$|\\)/g,"\\$1")):(t("${"),a&&i(),Re(u,e),a&&s(),t("}"))}t("`")}function z2(r,e){let{push:t,indent:i,deindent:s}=e,{test:n,consequent:a,alternate:o}=r;t("if ("),Re(n,e),t(") {"),i(),Re(a,e),s(),t("}"),o&&(t(" else "),o.type===23?z2(o,e):(t("{"),i(),Re(o,e),s(),t("}")))}function oP(r,e){Re(r.left,e),e.push(" = "),Re(r.right,e)}function uP(r,e){e.push("("),_n(r.expressions,e),e.push(")")}function lP({returns:r},e){e.push("return "),Wt(r)?Gl(r,e):Re(r,e)}var Qh=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,i,s){e&&(i!==null?e[t][i]=s:e[t]=s)}remove(e,t,i){e&&(i!==null?e[t].splice(i,1):delete e[t])}},Xh=class extends Qh{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,i,s){if(e){if(this.enter){let n=this.should_skip,a=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,i,s),this.replacement&&(e=this.replacement,this.replace(t,i,s,e)),this.should_remove&&this.remove(t,i,s);let u=this.should_skip,l=this.should_remove;if(this.should_skip=n,this.should_remove=a,this.replacement=o,u)return e;if(l)return null}for(let n in e){let a=e[n];if(typeof a=="object")if(Array.isArray(a))for(let o=0;o<a.length;o+=1)a[o]!==null&&typeof a[o].type=="string"&&(this.visit(a[o],e,n,o)||o--);else a!==null&&typeof a.type=="string"&&this.visit(a,e,n,null)}if(this.leave){let n=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,i,s),this.replacement&&(e=this.replacement,this.replace(t,i,s,e)),this.should_remove&&this.remove(t,i,s);let o=this.should_remove;if(this.replacement=n,this.should_remove=a,o)return null}}return e}};function cP(r,{enter:e,leave:t}){return new Xh(e,t).visit(r,null)}function rd(r,e,t=!1,i=[],s=Object.create(null)){let n=r.type==="Program"&&r.body[0].type==="ExpressionStatement"&&r.body[0].expression;cP(r,{enter(a,o){if(o&&i.push(o),o&&o.type.startsWith("TS")&&o.type!=="TSAsExpression"&&o.type!=="TSNonNullExpression"&&o.type!=="TSTypeAssertion")return this.skip();if(a.type==="Identifier"){let u=!!s[a.name],l=H2(a,o,i);(t||l&&!u)&&e(a,o,i,l,u)}else a.type==="ObjectProperty"&&o.type==="ObjectPattern"?a.inPattern=!0:Y2(a)?G2(a,u=>Wy(a,u,s)):a.type==="BlockStatement"&&W2(a,u=>Wy(a,u,s))},leave(a,o){if(o&&i.pop(),a!==n&&a.scopeIds)for(let u of a.scopeIds)s[u]--,s[u]===0&&delete s[u]}})}function H2(r,e,t){if(!e)return!0;if(r.name==="arguments")return!1;if(fP(r,e))return!0;switch(e.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return id(e,t)}return!1}function id(r,e){if(r&&(r.type==="ObjectProperty"||r.type==="ArrayPattern")){let t=e.length;for(;t--;){let i=e[t];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function G2(r,e){for(let t of r.params)for(let i of yi(t))e(i)}function W2(r,e){for(let t of r.body)if(t.type==="VariableDeclaration"){if(t.declare)continue;for(let i of t.declarations)for(let s of yi(i.id))e(s)}else if(t.type==="FunctionDeclaration"||t.type==="ClassDeclaration"){if(t.declare||!t.id)continue;e(t.id)}}function yi(r,e=[]){switch(r.type){case"Identifier":e.push(r);break;case"MemberExpression":let t=r;for(;t.type==="MemberExpression";)t=t.object;e.push(t);break;case"ObjectPattern":for(let i of r.properties)i.type==="RestElement"?yi(i.argument,e):yi(i.value,e);break;case"ArrayPattern":r.elements.forEach(i=>{i&&yi(i,e)});break;case"RestElement":yi(r.argument,e);break;case"AssignmentPattern":yi(r.left,e);break}return e}function Wy(r,e,t){let{name:i}=e;r.scopeIds&&r.scopeIds.has(i)||(i in t?t[i]++:t[i]=1,(r.scopeIds||(r.scopeIds=new Set)).add(i))}var Y2=r=>/Function(?:Expression|Declaration)$|Method$/.test(r.type),sd=r=>r&&(r.type==="ObjectProperty"||r.type==="ObjectMethod")&&!r.computed,K2=(r,e)=>sd(e)&&e.key===r;function fP(r,e,t){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===r?!!e.computed:e.object===r;case"JSXMemberExpression":return e.object===r;case"VariableDeclarator":return e.init===r;case"ArrowFunctionExpression":return e.body===r;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===r?!!e.computed:!1;case"ObjectProperty":return e.key===r?!!e.computed:!t||t.type!=="ObjectPattern";case"ClassProperty":return e.key===r?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==r;case"ClassDeclaration":case"ClassExpression":return e.superClass===r;case"AssignmentExpression":return e.right===r;case"AssignmentPattern":return e.right===r;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return t!=null&&t.source?!1:e.local===r;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==r;case"TSEnumMember":return e.id!==r;case"TSPropertySignature":return e.key===r?!!e.computed:!0}return!0}var hP=it("true,false,null,this"),J2=(r,e)=>{if(r.type===5)r.content=Mt(r.content,e);else if(r.type===1)for(let t=0;t<r.props.length;t++){let i=r.props[t];if(i.type===7&&i.name!=="for"){let s=i.exp,n=i.arg;s&&s.type===4&&!(i.name==="on"&&n)&&(i.exp=Mt(s,e,i.name==="slot")),n&&n.type===4&&!n.isStatic&&(i.arg=Mt(n,e))}}};function Mt(r,e,t=!1,i=!1,s=Object.create(e.identifiers)){if(!e.prefixIdentifiers||!r.content.trim())return r;let{inline:n,bindingMetadata:a}=e,o=(m,S,g)=>{let b=aC(a,m)&&a[m];if(n){let p=S&&S.type==="AssignmentExpression"&&S.left===g,y=S&&S.type==="UpdateExpression"&&S.argument===g,_=S&&id(S,d);if(b==="setup-const"||b==="setup-reactive-const"||s[m])return m;if(b==="setup-ref")return`${m}.value`;if(b==="setup-maybe-ref")return p||y||_?`${m}.value`:`${e.helperString(Ja)}(${m})`;if(b==="setup-let")if(p){let{right:A,operator:E}=S,T=u.slice(A.start-1,A.end-1),I=nd(Mt(J(T,!1),e,!1,!1,w));return`${e.helperString(Qa)}(${m})${e.isTS?` //@ts-ignore
|
|
39
39
|
`:""} ? ${m}.value ${E} ${I} : ${m}`}else if(y){g.start=S.start,g.end=S.end;let{prefix:A,operator:E}=S,T=A?E:"",I=A?"":E;return`${e.helperString(Qa)}(${m})${e.isTS?` //@ts-ignore
|
|
40
|
-
`:""} ? ${T}${m}.value${I} : ${T}${m}${I}`}else return _?m:`${e.helperString(Ja)}(${m})`;else{if(b==="props")return wy(m);if(b==="props-aliased")return wy(a.__propsAliases[m])}}else{if(b&&b.startsWith("setup"))return`$setup.${m}`;if(b==="props-aliased")return`$props['${a.__propsAliases[m]}']`;if(b)return`$${b}.${m}`}return`_ctx.${m}`},u=r.content,l=u.indexOf("(")>-1||u.indexOf(".")>0;if(Si(u)){let m=e.identifiers[u],S=Bb(u),g=hP(u);return!t&&!m&&!S&&!g?(a[r.content]==="setup-const"&&(r.constType=1),r.content=o(u)):m||(g?r.constType=3:r.constType=2),r}let c,f=i?` ${u} `:`(${u})${t?"=>{}":""}`;try{c=z4(f,{plugins:e.expressionPlugins}).program}catch(m){return e.onError(Ae(45,r.loc,void 0,m.message)),r}let h=[],d=[],w=Object.create(e.identifiers);rd(c,(m,S,g,b,p)=>{if(K2(m,S))return;let y=b&&pP(m);y&&!p?(sd(S)&&S.shorthand&&(m.prefix=`${m.name}: `),m.name=o(m.name,S,m),h.push(m)):(!(y&&p)&&!l&&(m.isConstant=!0),h.push(m))},!0,d,w);let v=[];h.sort((m,S)=>m.start-S.start),h.forEach((m,S)=>{let g=m.start-1,b=m.end-1,p=h[S-1],y=u.slice(p?p.end-1:0,g);(y.length||m.prefix)&&v.push(y+(m.prefix||""));let _=u.slice(g,b);v.push(J(m.name,!1,{source:_,start:ss(r.loc.start,_,g),end:ss(r.loc.start,_,b)},m.isConstant?3:0)),S===h.length-1&&b<u.length&&v.push(u.slice(b))});let x;return v.length?x=yt(v,r.loc):(x=r,x.constType=l?0:3),x.identifiers=Object.keys(w),x}function pP(r){return!(Bb(r.name)||r.name==="require")}function nd(r){return ve(r)?r:r.type===4?r.content:r.children.map(nd).join("")}var dP=_o(/^(if|else|else-if)$/,(r,e,t)=>ad(r,e,t,(i,s,n)=>{let a=t.parent.children,o=a.indexOf(i),u=0;for(;o-->=0;){let l=a[o];l&&l.type===9&&(u+=l.branches.length)}return()=>{if(n)i.codegenNode=Ky(s,u,t);else{let l=gP(i.codegenNode);l.alternate=Ky(s,u+i.branches.length-1,t)}}}));function ad(r,e,t,i){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){let s=e.exp?e.exp.loc:r.loc;t.onError(Ae(28,e.loc)),e.exp=J("true",!1,s)}if(t.prefixIdentifiers&&e.exp&&(e.exp=Mt(e.exp,t)),e.name==="if"){let s=Yy(r,e),n={type:9,loc:r.loc,branches:[s]};if(t.replaceNode(n),i)return i(n,s,!0)}else{let s=t.parent.children,n=[],a=s.indexOf(r);for(;a-->=-1;){let o=s[a];if(o&&o.type===3){t.removeNode(o),n.unshift(o);continue}if(o&&o.type===2&&!o.content.trim().length){t.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&t.onError(Ae(30,r.loc)),t.removeNode();let u=Yy(r,e);n.length&&!(t.parent&&t.parent.type===1&&bi(t.parent.tag,"transition"))&&(u.children=[...n,...u.children]);{let c=u.userKey;c&&o.branches.forEach(({userKey:f})=>{mP(f,c)&&t.onError(Ae(29,u.userKey.loc))})}o.branches.push(u);let l=i&&i(o,u,!1);To(u,t),l&&l(),t.currentNode=null}else t.onError(Ae(30,r.loc));break}}}function Yy(r,e){let t=r.tagType===3;return{type:10,loc:r.loc,condition:e.name==="else"?void 0:e.exp,children:t&&!Tt(r,"for")?r.children:[r],userKey:ns(r,"key"),isTemplateIf:t}}function Ky(r,e,t){return r.condition?al(r.condition,Jy(r,e,t),$e(t.helper(xn),['"v-if"',"true"])):Jy(r,e,t)}function Jy(r,e,t){let{helper:i}=t,s=De("key",J(`${e}`,!1,Ge,2)),{children:n}=r,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let u=a.codegenNode;return so(u,s,t),u}else{let u=64,l=_r[64];return!r.isTemplateIf&&n.filter(c=>c.type!==3).length===1&&(u|=2048,l+=`, ${_r[2048]}`),nn(t,i(rn),kt([s]),n,u+` /* ${l} */`,void 0,void 0,!0,!1,!1,r.loc)}else{let u=a.codegenNode,l=T2(u);return l.type===13&&Vl(l,t),so(l,s,t),u}}function mP(r,e){if(!r||r.type!==e.type)return!1;if(r.type===6){if(r.value.content!==e.value.content)return!1}else{let t=r.exp,i=e.exp;if(t.type!==i.type||t.type!==4||t.isStatic!==i.isStatic||t.content!==i.content)return!1}return!0}function gP(r){for(;;)if(r.type===19)if(r.alternate.type===19)r=r.alternate;else return r;else r.type===20&&(r=r.value)}var yP=_o("for",(r,e,t)=>{let{helper:i,removeHelper:s}=t;return od(r,e,t,n=>{let a=$e(i(Ll),[n.source]),o=fn(r),u=Tt(r,"memo"),l=ns(r,"key"),c=l&&(l.type===6?J(l.value.content,!0):l.exp),f=l?De("key",c):null;o&&(u&&(u.exp=Mt(u.exp,t)),f&&l.type!==6&&(f.value=Mt(f.value,t)));let h=n.source.type===4&&n.source.constType>0,d=h?64:l?128:256;return n.codegenNode=nn(t,i(rn),void 0,a,d+` /* ${_r[d]} */`,void 0,void 0,!0,!h,!1,r.loc),()=>{let w,{children:v}=n;o&&r.children.some(S=>{if(S.type===1){let g=ns(S,"key");if(g)return t.onError(Ae(33,g.loc)),!0}});let x=v.length!==1||v[0].type!==1,m=io(r)?r:o&&r.children.length===1&&io(r.children[0])?r.children[0]:null;if(m?(w=m.codegenNode,o&&f&&so(w,f,t)):x?w=nn(t,i(rn),f?kt([f]):void 0,r.children,64+` /* ${_r[64]} */`,void 0,void 0,!0,void 0,!1):(w=v[0].codegenNode,o&&f&&so(w,f,t),w.isBlock!==!h&&(w.isBlock?(s(xi),s(os(t.inSSR,w.isComponent))):s(as(t.inSSR,w.isComponent))),w.isBlock=!h,w.isBlock?(i(xi),i(os(t.inSSR,w.isComponent))):i(as(t.inSSR,w.isComponent))),u){let S=ts(ml(n.parseResult,[J("_cached")]));S.body=Jb([yt(["const _memo = (",u.exp,")"]),yt(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${t.helperString(Ap)}(_cached, _memo)) return _cached`]),yt(["const _item = ",w]),J("_item.memo = _memo"),J("return _item")]),a.arguments.push(S,J("_cache"),J(String(t.cached++)))}else a.arguments.push(ts(ml(n.parseResult),w,!0))}})});function od(r,e,t,i){if(!e.exp){t.onError(Ae(31,e.loc));return}let s=ud(e.exp,t);if(!s){t.onError(Ae(32,e.loc));return}let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=t,{source:u,value:l,key:c,index:f}=s,h={type:11,loc:e.loc,source:u,valueAlias:l,keyAlias:c,objectIndexAlias:f,parseResult:s,children:fn(r)?r.children:[r]};t.replaceNode(h),o.vFor++,t.prefixIdentifiers&&(l&&n(l),c&&n(c),f&&n(f));let d=i&&i(h);return()=>{o.vFor--,t.prefixIdentifiers&&(l&&a(l),c&&a(c),f&&a(f)),d&&d()}}var bP=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,vP=/^\(|\)$/g;function ud(r,e){let t=r.loc,i=r.content,s=i.match(bP);if(!s)return;let[,n,a]=s,o={source:Ou(t,a.trim(),i.indexOf(a,n.length)),value:void 0,key:void 0,index:void 0};e.prefixIdentifiers&&(o.source=Mt(o.source,e));let u=n.trim().replace(vP,"").trim(),l=n.indexOf(u),c=u.match(Qy);if(c){u=u.replace(Qy,"").trim();let f=c[1].trim(),h;if(f&&(h=i.indexOf(f,l+u.length),o.key=Ou(t,f,h),e.prefixIdentifiers&&(o.key=Mt(o.key,e,!0))),c[2]){let d=c[2].trim();d&&(o.index=Ou(t,d,i.indexOf(d,o.key?h+f.length:l+u.length)),e.prefixIdentifiers&&(o.index=Mt(o.index,e,!0)))}}return u&&(o.value=Ou(t,u,l),e.prefixIdentifiers&&(o.value=Mt(o.value,e,!0))),o}function Ou(r,e,t){return J(e,!1,Wp(r,t,e.length))}function ml({value:r,key:e,index:t},i=[]){return xP([r,e,t,...i])}function xP(r){let e=r.length;for(;e--&&!r[e];);return r.slice(0,e+1).map((t,i)=>t||J("_".repeat(i+1),!1))}var Xy=J("undefined",!1),Q2=(r,e)=>{if(r.type===1&&(r.tagType===1||r.tagType===3)){let t=Tt(r,"slot");if(t){let i=t.exp;return e.prefixIdentifiers&&i&&e.addIdentifiers(i),e.scopes.vSlot++,()=>{e.prefixIdentifiers&&i&&e.removeIdentifiers(i),e.scopes.vSlot--}}}},X2=(r,e)=>{let t;if(fn(r)&&r.props.some(Yp)&&(t=Tt(r,"for"))){let i=t.parseResult=ud(t.exp,e);if(i){let{value:s,key:n,index:a}=i,{addIdentifiers:o,removeIdentifiers:u}=e;return s&&o(s),n&&o(n),a&&o(a),()=>{s&&u(s),n&&u(n),a&&u(a)}}}},wP=(r,e,t)=>ts(r,e,!1,!0,e.length?e[0].loc:t);function Z2(r,e,t=wP){e.helper(ql);let{children:i,loc:s}=r,n=[],a=[],o=e.scopes.vSlot>0||e.scopes.vFor>0;!e.ssr&&e.prefixIdentifiers&&(o=St(r,e.identifiers));let u=Tt(r,"slot",!0);if(u){let{arg:x,exp:m}=u;x&&!bt(x)&&(o=!0),n.push(De(x||J("default",!0),t(m,i,s)))}let l=!1,c=!1,f=[],h=new Set,d=0;for(let x=0;x<i.length;x++){let m=i[x],S;if(!fn(m)||!(S=Tt(m,"slot",!0))){m.type!==3&&f.push(m);continue}if(u){e.onError(Ae(37,S.loc));break}l=!0;let{children:g,loc:b}=m,{arg:p=J("default",!0),exp:y,loc:_}=S,A;bt(p)?A=p?p.content:"default":o=!0;let E=t(y,g,b),T,I,P;if(T=Tt(m,"if"))o=!0,a.push(al(T.exp,Mu(p,E,d++),Xy));else if(I=Tt(m,/^else(-if)?$/,!0)){let z=x,H;for(;z--&&(H=i[z],H.type===3););if(H&&fn(H)&&Tt(H,"if")){i.splice(x,1),x--;let X=a[a.length-1];for(;X.alternate.type===19;)X=X.alternate;X.alternate=I.exp?al(I.exp,Mu(p,E,d++),Xy):Mu(p,E,d++)}else e.onError(Ae(30,I.loc))}else if(P=Tt(m,"for")){o=!0;let z=P.parseResult||ud(P.exp,e);z?a.push($e(e.helper(Ll),[z.source,ts(ml(z),Mu(p,E),!0)])):e.onError(Ae(32,P.loc))}else{if(A){if(h.has(A)){e.onError(Ae(38,_));continue}h.add(A),A==="default"&&(c=!0)}n.push(De(p,E))}}if(!u){let x=(m,S)=>{let g=t(m,S,s);return De("default",g)};l?f.length&&f.some(m=>ev(m))&&(c?e.onError(Ae(39,f[0].loc)):n.push(x(void 0,f))):n.push(x(void 0,i))}let w=o?2:Zu(r.children)?3:1,v=kt(n.concat(De("_",J(w+` /* ${qA[w]} */`,!1))),s);return a.length&&(v=$e(e.helper(_p),[v,Sn(a)])),{slots:v,hasDynamicSlots:o}}function Mu(r,e,t){let i=[De("name",r),De("fn",e)];return t!=null&&i.push(De("key",J(String(t),!0))),kt(i)}function Zu(r){for(let e=0;e<r.length;e++){let t=r[e];switch(t.type){case 1:if(t.tagType===2||Zu(t.children))return!0;break;case 9:if(Zu(t.branches))return!0;break;case 10:case 11:if(Zu(t.children))return!0;break}}return!1}function ev(r){return r.type!==2&&r.type!==12?!0:r.type===2?!!r.content.trim():ev(r.content)}var tv=new WeakMap,rv=(r,e)=>function(){if(r=e.currentNode,!(r.type===1&&(r.tagType===0||r.tagType===1)))return;let{tag:i,props:s}=r,n=r.tagType===1,a=n?iv(r,e):`"${i}"`,o=vn(a)&&a.callee===Wa,u,l,c,f=0,h,d,w,v=o||a===Ys||a===Cl||!n&&(i==="svg"||i==="foreignObject");if(s.length>0){let x=ld(r,e,void 0,n,o);u=x.props,f=x.patchFlag,d=x.dynamicPropNames;let m=x.directives;w=m&&m.length?Sn(m.map(S=>sv(S,e))):void 0,x.shouldUseBlock&&(v=!0)}if(r.children.length>0)if(a===Ha&&(v=!0,f|=1024,r.children.length>1&&e.onError(Ae(46,{start:r.children[0].loc.start,end:r.children[r.children.length-1].loc.end,source:""}))),n&&a!==Ys&&a!==Ha){let{slots:m,hasDynamicSlots:S}=Z2(r,e);l=m,S&&(f|=1024)}else if(r.children.length===1&&a!==Ys){let m=r.children[0],S=m.type,g=S===5||S===8;g&&Ot(m,e)===0&&(f|=1),g||S===2?l=m:l=r.children}else l=r.children;if(f!==0){if(f<0)c=f+` /* ${_r[f]} */`;else{let x=Object.keys(_r).map(Number).filter(m=>m>0&&f&m).map(m=>_r[m]).join(", ");c=f+` /* ${x} */`}d&&d.length&&(h=EP(d))}r.codegenNode=nn(e,a,u,l,c,h,w,!!v,!1,n,r.loc)};function iv(r,e,t=!1){let{tag:i}=r,s=ep(i),n=ns(r,"is");if(n)if(s){let u=n.type===6?n.value&&J(n.value.content,!0):n.exp;if(u)return $e(e.helper(Wa),[u])}else n.type===6&&n.value.content.startsWith("vue:")&&(i=n.value.content.slice(4));let a=!s&&Tt(r,"is");if(a&&a.exp)return $e(e.helper(Wa),[a.exp]);let o=Hp(i)||e.isBuiltInComponent(i);if(o)return t||e.helper(o),o;{let u=Zh(i,e);if(u)return u;let l=i.indexOf(".");if(l>0){let c=Zh(i.slice(0,l),e);if(c)return c+i.slice(l)}}return e.selfName&&es(Ar(i))===e.selfName?(e.helper(Ga),e.components.add(i+"__self"),no(i,"component")):(e.helper(Ga),e.components.add(i),no(i,"component"))}function Zh(r,e){let t=e.bindingMetadata;if(!t||t.__isScriptSetup===!1)return;let i=Ar(r),s=es(i),n=u=>{if(t[r]===u)return r;if(t[i]===u)return i;if(t[s]===u)return s},a=n("setup-const")||n("setup-reactive-const");if(a)return e.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return e.inline?`${e.helperString(Ja)}(${o})`:`$setup[${JSON.stringify(o)}]`}function ld(r,e,t=r.props,i,s,n=!1){let{tag:a,loc:o,children:u}=r,l=[],c=[],f=[],h=u.length>0,d=!1,w=0,v=!1,x=!1,m=!1,S=!1,g=!1,b=!1,p=[],y=E=>{l.length&&(c.push(kt(Zy(l),o)),l=[]),E&&c.push(E)},_=({key:E,value:T})=>{if(bt(E)){let I=E.content,P=Vb(I);if(P&&(!i||s)&&I.toLowerCase()!=="onclick"&&I!=="onUpdate:modelValue"&&!xy(I)&&(S=!0),P&&xy(I)&&(b=!0),T.type===20||(T.type===4||T.type===8)&&Ot(T,e)>0)return;I==="ref"?v=!0:I==="class"?x=!0:I==="style"?m=!0:I!=="key"&&!p.includes(I)&&p.push(I),i&&(I==="class"||I==="style")&&!p.includes(I)&&p.push(I)}else g=!0};for(let E=0;E<t.length;E++){let T=t[E];if(T.type===6){let{loc:I,name:P,value:z}=T,H=!0;if(P==="ref"&&(v=!0,e.scopes.vFor>0&&l.push(De(J("ref_for",!0),J("true"))),z&&e.inline)){let X=e.bindingMetadata[z.content];(X==="setup-let"||X==="setup-ref"||X==="setup-maybe-ref")&&(H=!1,l.push(De(J("ref_key",!0),J(z.content,!0,z.loc))))}if(P==="is"&&(ep(a)||z&&z.content.startsWith("vue:")||!1))continue;l.push(De(J(P,!0,Wp(I,0,P.length)),J(z?z.content:"",H,z?z.loc:I)))}else{let{name:I,arg:P,exp:z,loc:H}=T,X=I==="bind",oe=I==="on";if(I==="slot"){i||e.onError(Ae(40,H));continue}if(I==="once"||I==="memo"||I==="is"||X&&vi(P,"is")&&(ep(a)||!1)||oe&&n)continue;if((X&&vi(P,"key")||oe&&h&&vi(P,"vue:before-update"))&&(d=!0),X&&vi(P,"ref")&&e.scopes.vFor>0&&l.push(De(J("ref_for",!0),J("true"))),!P&&(X||oe)){g=!0,z?X?(y(),c.push(z)):y({type:14,loc:H,callee:e.helper(Bl),arguments:i?[z]:[z,"true"]}):e.onError(Ae(X?34:35,H));continue}let Q=e.directiveTransforms[I];if(Q){let{props:Ze,needRuntime:qt}=Q(T,r,e);!n&&Ze.forEach(_),oe&&P&&!bt(P)?y(kt(Ze,o)):l.push(...Ze),qt&&(f.push(T),So(qt)&&tv.set(T,qt))}else fC(I)||(f.push(T),h&&(d=!0))}}let A;if(c.length?(y(),c.length>1?A=$e(e.helper(Ya),c,o):A=c[0]):l.length&&(A=kt(Zy(l),o)),g?w|=16:(x&&!i&&(w|=2),m&&!i&&(w|=4),p.length&&(w|=8),S&&(w|=32)),!d&&(w===0||w===32)&&(v||b||f.length>0)&&(w|=512),!e.inSSR&&A)switch(A.type){case 15:let E=-1,T=-1,I=!1;for(let H=0;H<A.properties.length;H++){let X=A.properties[H].key;bt(X)?X.content==="class"?E=H:X.content==="style"&&(T=H):X.isHandlerKey||(I=!0)}let P=A.properties[E],z=A.properties[T];I?A=$e(e.helper(sn),[A]):(P&&!bt(P.value)&&(P.value=$e(e.helper(Dl),[P.value])),z&&(m||z.value.type===4&&z.value.content.trim()[0]==="["||z.value.type===17)&&(z.value=$e(e.helper(Rl),[z.value])));break;case 14:break;default:A=$e(e.helper(sn),[$e(e.helper(wn),[A])]);break}return{props:A,directives:f,patchFlag:w,dynamicPropNames:p,shouldUseBlock:d}}function Zy(r){let e=new Map,t=[];for(let i=0;i<r.length;i++){let s=r[i];if(s.key.type===8||!s.key.isStatic){t.push(s);continue}let n=s.key.content,a=e.get(n);a?(n==="style"||n==="class"||Vb(n))&&SP(a,s):(e.set(n,s),t.push(s))}return t}function SP(r,e){r.value.type===17?r.value.elements.push(e.value):r.value=Sn([r.value,e.value],r.loc)}function sv(r,e){let t=[],i=tv.get(r);if(i)t.push(e.helperString(i));else{let n=Zh("v-"+r.name,e);n?t.push(n):(e.helper(Ol),e.directives.add(r.name),t.push(no(r.name,"directive")))}let{loc:s}=r;if(r.exp&&t.push(r.exp),r.arg&&(r.exp||t.push("void 0"),t.push(r.arg)),Object.keys(r.modifiers).length){r.arg||(r.exp||t.push("void 0"),t.push("void 0"));let n=J("true",!1,s);t.push(kt(r.modifiers.map(a=>De(a,n)),s))}return Sn(t,r.loc)}function EP(r){let e="[";for(let t=0,i=r.length;t<i;t++)e+=JSON.stringify(r[t]),t<i-1&&(e+=", ");return e+"]"}function ep(r){return r==="component"||r==="Component"}var TP=(r,e)=>{if(io(r)){let{children:t,loc:i}=r,{slotName:s,slotProps:n}=nv(r,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),t.length&&(a[3]=ts([],t,!1,!1,i),o=4),e.scopeId&&!e.slotted&&(o=5),a.splice(o),r.codegenNode=$e(e.helper(Tp),a,i)}};function nv(r,e){let t='"default"',i,s=[];for(let n=0;n<r.props.length;n++){let a=r.props[n];a.type===6?a.value&&(a.name==="name"?t=JSON.stringify(a.value.content):(a.name=Ar(a.name),s.push(a))):a.name==="bind"&&vi(a.arg,"name")?a.exp&&(t=a.exp):(a.name==="bind"&&a.arg&&bt(a.arg)&&(a.arg.content=Ar(a.arg.content)),s.push(a))}if(s.length>0){let{props:n,directives:a}=ld(r,e,s,!1,!1);i=n,a.length&&e.onError(Ae(36,a[0].loc))}return{slotName:t,slotProps:i}}var _P=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,cd=(r,e,t,i)=>{let{loc:s,modifiers:n,arg:a}=r;!r.exp&&!n.length&&t.onError(Ae(35,s));let o;if(a.type===4)if(a.isStatic){let f=a.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);let h=e.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?dC(Ar(f)):`on:${f}`;o=J(h,!0,a.loc)}else o=yt([`${t.helperString(nl)}(`,a,")"]);else o=a,o.children.unshift(`${t.helperString(nl)}(`),o.children.push(")");let u=r.exp;u&&!u.content.trim()&&(u=void 0);let l=t.cacheHandlers&&!u&&!t.inVOnce;if(u){let f=Gp(u.content,t),h=!(f||_P.test(u.content)),d=u.content.includes(";");t.prefixIdentifiers&&(h&&t.addIdentifiers("$event"),u=r.exp=Mt(u,t,!1,d),h&&t.removeIdentifiers("$event"),l=t.cacheHandlers&&!t.inVOnce&&!(u.type===4&&u.constType>0)&&!(f&&e.tagType===1)&&!St(u,t.identifiers),l&&f&&(u.type===4?u.content=`${u.content} && ${u.content}(...args)`:u.children=[...u.children," && ",...u.children,"(...args)"])),(h||l&&f)&&(u=yt([`${h?t.isTS?"($event: any)":"$event":`${t.isTS?`
|
|
40
|
+
`:""} ? ${T}${m}.value${I} : ${T}${m}${I}`}else return _?m:`${e.helperString(Ja)}(${m})`;else{if(b==="props")return wy(m);if(b==="props-aliased")return wy(a.__propsAliases[m])}}else{if(b&&b.startsWith("setup"))return`$setup.${m}`;if(b==="props-aliased")return`$props['${a.__propsAliases[m]}']`;if(b)return`$${b}.${m}`}return`_ctx.${m}`},u=r.content,l=u.indexOf("(")>-1||u.indexOf(".")>0;if(Si(u)){let m=e.identifiers[u],S=Bb(u),g=hP(u);return!t&&!m&&!S&&!g?(a[r.content]==="setup-const"&&(r.constType=1),r.content=o(u)):m||(g?r.constType=3:r.constType=2),r}let c,f=i?` ${u} `:`(${u})${t?"=>{}":""}`;try{c=z4(f,{plugins:e.expressionPlugins}).program}catch(m){return e.onError(Ae(45,r.loc,void 0,m.message)),r}let h=[],d=[],w=Object.create(e.identifiers);rd(c,(m,S,g,b,p)=>{if(K2(m,S))return;let y=b&&pP(m);y&&!p?(sd(S)&&S.shorthand&&(m.prefix=`${m.name}: `),m.name=o(m.name,S,m),h.push(m)):(!(y&&p)&&!l&&(m.isConstant=!0),h.push(m))},!0,d,w);let v=[];h.sort((m,S)=>m.start-S.start),h.forEach((m,S)=>{let g=m.start-1,b=m.end-1,p=h[S-1],y=u.slice(p?p.end-1:0,g);(y.length||m.prefix)&&v.push(y+(m.prefix||""));let _=u.slice(g,b);v.push(J(m.name,!1,{source:_,start:ss(r.loc.start,_,g),end:ss(r.loc.start,_,b)},m.isConstant?3:0)),S===h.length-1&&b<u.length&&v.push(u.slice(b))});let x;return v.length?x=yt(v,r.loc):(x=r,x.constType=l?0:3),x.identifiers=Object.keys(w),x}function pP(r){return!(Bb(r.name)||r.name==="require")}function nd(r){return ve(r)?r:r.type===4?r.content:r.children.map(nd).join("")}var dP=_o(/^(if|else|else-if)$/,(r,e,t)=>ad(r,e,t,(i,s,n)=>{let a=t.parent.children,o=a.indexOf(i),u=0;for(;o-->=0;){let l=a[o];l&&l.type===9&&(u+=l.branches.length)}return()=>{if(n)i.codegenNode=Ky(s,u,t);else{let l=gP(i.codegenNode);l.alternate=Ky(s,u+i.branches.length-1,t)}}}));function ad(r,e,t,i){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){let s=e.exp?e.exp.loc:r.loc;t.onError(Ae(28,e.loc)),e.exp=J("true",!1,s)}if(t.prefixIdentifiers&&e.exp&&(e.exp=Mt(e.exp,t)),e.name==="if"){let s=Yy(r,e),n={type:9,loc:r.loc,branches:[s]};if(t.replaceNode(n),i)return i(n,s,!0)}else{let s=t.parent.children,n=[],a=s.indexOf(r);for(;a-->=-1;){let o=s[a];if(o&&o.type===3){t.removeNode(o),n.unshift(o);continue}if(o&&o.type===2&&!o.content.trim().length){t.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&t.onError(Ae(30,r.loc)),t.removeNode();let u=Yy(r,e);n.length&&!(t.parent&&t.parent.type===1&&bi(t.parent.tag,"transition"))&&(u.children=[...n,...u.children]);{let c=u.userKey;c&&o.branches.forEach(({userKey:f})=>{mP(f,c)&&t.onError(Ae(29,u.userKey.loc))})}o.branches.push(u);let l=i&&i(o,u,!1);To(u,t),l&&l(),t.currentNode=null}else t.onError(Ae(30,r.loc));break}}}function Yy(r,e){let t=r.tagType===3;return{type:10,loc:r.loc,condition:e.name==="else"?void 0:e.exp,children:t&&!Tt(r,"for")?r.children:[r],userKey:ns(r,"key"),isTemplateIf:t}}function Ky(r,e,t){return r.condition?al(r.condition,Jy(r,e,t),$e(t.helper(xn),['"v-if"',"true"])):Jy(r,e,t)}function Jy(r,e,t){let{helper:i}=t,s=De("key",J(`${e}`,!1,Ge,2)),{children:n}=r,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let u=a.codegenNode;return so(u,s,t),u}else{let u=64,l=_r[64];return!r.isTemplateIf&&n.filter(c=>c.type!==3).length===1&&(u|=2048,l+=`, ${_r[2048]}`),nn(t,i(rn),kt([s]),n,u+` /* ${l} */`,void 0,void 0,!0,!1,!1,r.loc)}else{let u=a.codegenNode,l=T2(u);return l.type===13&&Vl(l,t),so(l,s,t),u}}function mP(r,e){if(!r||r.type!==e.type)return!1;if(r.type===6){if(r.value.content!==e.value.content)return!1}else{let t=r.exp,i=e.exp;if(t.type!==i.type||t.type!==4||t.isStatic!==i.isStatic||t.content!==i.content)return!1}return!0}function gP(r){for(;;)if(r.type===19)if(r.alternate.type===19)r=r.alternate;else return r;else r.type===20&&(r=r.value)}var yP=_o("for",(r,e,t)=>{let{helper:i,removeHelper:s}=t;return od(r,e,t,n=>{let a=$e(i(Ll),[n.source]),o=fn(r),u=Tt(r,"memo"),l=ns(r,"key"),c=l&&(l.type===6?J(l.value.content,!0):l.exp),f=l?De("key",c):null;o&&(u&&(u.exp=Mt(u.exp,t)),f&&l.type!==6&&(f.value=Mt(f.value,t)));let h=n.source.type===4&&n.source.constType>0,d=h?64:l?128:256;return n.codegenNode=nn(t,i(rn),void 0,a,d+` /* ${_r[d]} */`,void 0,void 0,!0,!h,!1,r.loc),()=>{let w,{children:v}=n;o&&r.children.some(S=>{if(S.type===1){let g=ns(S,"key");if(g)return t.onError(Ae(33,g.loc)),!0}});let x=v.length!==1||v[0].type!==1,m=io(r)?r:o&&r.children.length===1&&io(r.children[0])?r.children[0]:null;if(m?(w=m.codegenNode,o&&f&&so(w,f,t)):x?w=nn(t,i(rn),f?kt([f]):void 0,r.children,64+` /* ${_r[64]} */`,void 0,void 0,!0,void 0,!1):(w=v[0].codegenNode,o&&f&&so(w,f,t),w.isBlock!==!h&&(w.isBlock?(s(xi),s(os(t.inSSR,w.isComponent))):s(as(t.inSSR,w.isComponent))),w.isBlock=!h,w.isBlock?(i(xi),i(os(t.inSSR,w.isComponent))):i(as(t.inSSR,w.isComponent))),u){let S=ts(ml(n.parseResult,[J("_cached")]));S.body=Jb([yt(["const _memo = (",u.exp,")"]),yt(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${t.helperString(Ap)}(_cached, _memo)) return _cached`]),yt(["const _item = ",w]),J("_item.memo = _memo"),J("return _item")]),a.arguments.push(S,J("_cache"),J(String(t.cached++)))}else a.arguments.push(ts(ml(n.parseResult),w,!0))}})});function od(r,e,t,i){if(!e.exp){t.onError(Ae(31,e.loc));return}let s=ud(e.exp,t);if(!s){t.onError(Ae(32,e.loc));return}let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=t,{source:u,value:l,key:c,index:f}=s,h={type:11,loc:e.loc,source:u,valueAlias:l,keyAlias:c,objectIndexAlias:f,parseResult:s,children:fn(r)?r.children:[r]};t.replaceNode(h),o.vFor++,t.prefixIdentifiers&&(l&&n(l),c&&n(c),f&&n(f));let d=i&&i(h);return()=>{o.vFor--,t.prefixIdentifiers&&(l&&a(l),c&&a(c),f&&a(f)),d&&d()}}var bP=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,vP=/^\(|\)$/g;function ud(r,e){let t=r.loc,i=r.content,s=i.match(bP);if(!s)return;let[,n,a]=s,o={source:Ou(t,a.trim(),i.indexOf(a,n.length)),value:void 0,key:void 0,index:void 0};e.prefixIdentifiers&&(o.source=Mt(o.source,e));let u=n.trim().replace(vP,"").trim(),l=n.indexOf(u),c=u.match(Qy);if(c){u=u.replace(Qy,"").trim();let f=c[1].trim(),h;if(f&&(h=i.indexOf(f,l+u.length),o.key=Ou(t,f,h),e.prefixIdentifiers&&(o.key=Mt(o.key,e,!0))),c[2]){let d=c[2].trim();d&&(o.index=Ou(t,d,i.indexOf(d,o.key?h+f.length:l+u.length)),e.prefixIdentifiers&&(o.index=Mt(o.index,e,!0)))}}return u&&(o.value=Ou(t,u,l),e.prefixIdentifiers&&(o.value=Mt(o.value,e,!0))),o}function Ou(r,e,t){return J(e,!1,Wp(r,t,e.length))}function ml({value:r,key:e,index:t},i=[]){return xP([r,e,t,...i])}function xP(r){let e=r.length;for(;e--&&!r[e];);return r.slice(0,e+1).map((t,i)=>t||J("_".repeat(i+1),!1))}var Xy=J("undefined",!1),Q2=(r,e)=>{if(r.type===1&&(r.tagType===1||r.tagType===3)){let t=Tt(r,"slot");if(t){let i=t.exp;return e.prefixIdentifiers&&i&&e.addIdentifiers(i),e.scopes.vSlot++,()=>{e.prefixIdentifiers&&i&&e.removeIdentifiers(i),e.scopes.vSlot--}}}},X2=(r,e)=>{let t;if(fn(r)&&r.props.some(Yp)&&(t=Tt(r,"for"))){let i=t.parseResult=ud(t.exp,e);if(i){let{value:s,key:n,index:a}=i,{addIdentifiers:o,removeIdentifiers:u}=e;return s&&o(s),n&&o(n),a&&o(a),()=>{s&&u(s),n&&u(n),a&&u(a)}}}},wP=(r,e,t)=>ts(r,e,!1,!0,e.length?e[0].loc:t);function Z2(r,e,t=wP){e.helper(ql);let{children:i,loc:s}=r,n=[],a=[],o=e.scopes.vSlot>0||e.scopes.vFor>0;!e.ssr&&e.prefixIdentifiers&&(o=St(r,e.identifiers));let u=Tt(r,"slot",!0);if(u){let{arg:x,exp:m}=u;x&&!bt(x)&&(o=!0),n.push(De(x||J("default",!0),t(m,i,s)))}let l=!1,c=!1,f=[],h=new Set,d=0;for(let x=0;x<i.length;x++){let m=i[x],S;if(!fn(m)||!(S=Tt(m,"slot",!0))){m.type!==3&&f.push(m);continue}if(u){e.onError(Ae(37,S.loc));break}l=!0;let{children:g,loc:b}=m,{arg:p=J("default",!0),exp:y,loc:_}=S,A;bt(p)?A=p?p.content:"default":o=!0;let E=t(y,g,b),T,I,P;if(T=Tt(m,"if"))o=!0,a.push(al(T.exp,Mu(p,E,d++),Xy));else if(I=Tt(m,/^else(-if)?$/,!0)){let z=x,H;for(;z--&&(H=i[z],H.type===3););if(H&&fn(H)&&Tt(H,"if")){i.splice(x,1),x--;let Z=a[a.length-1];for(;Z.alternate.type===19;)Z=Z.alternate;Z.alternate=I.exp?al(I.exp,Mu(p,E,d++),Xy):Mu(p,E,d++)}else e.onError(Ae(30,I.loc))}else if(P=Tt(m,"for")){o=!0;let z=P.parseResult||ud(P.exp,e);z?a.push($e(e.helper(Ll),[z.source,ts(ml(z),Mu(p,E),!0)])):e.onError(Ae(32,P.loc))}else{if(A){if(h.has(A)){e.onError(Ae(38,_));continue}h.add(A),A==="default"&&(c=!0)}n.push(De(p,E))}}if(!u){let x=(m,S)=>{let g=t(m,S,s);return De("default",g)};l?f.length&&f.some(m=>ev(m))&&(c?e.onError(Ae(39,f[0].loc)):n.push(x(void 0,f))):n.push(x(void 0,i))}let w=o?2:Zu(r.children)?3:1,v=kt(n.concat(De("_",J(w+` /* ${qA[w]} */`,!1))),s);return a.length&&(v=$e(e.helper(_p),[v,Sn(a)])),{slots:v,hasDynamicSlots:o}}function Mu(r,e,t){let i=[De("name",r),De("fn",e)];return t!=null&&i.push(De("key",J(String(t),!0))),kt(i)}function Zu(r){for(let e=0;e<r.length;e++){let t=r[e];switch(t.type){case 1:if(t.tagType===2||Zu(t.children))return!0;break;case 9:if(Zu(t.branches))return!0;break;case 10:case 11:if(Zu(t.children))return!0;break}}return!1}function ev(r){return r.type!==2&&r.type!==12?!0:r.type===2?!!r.content.trim():ev(r.content)}var tv=new WeakMap,rv=(r,e)=>function(){if(r=e.currentNode,!(r.type===1&&(r.tagType===0||r.tagType===1)))return;let{tag:i,props:s}=r,n=r.tagType===1,a=n?iv(r,e):`"${i}"`,o=vn(a)&&a.callee===Wa,u,l,c,f=0,h,d,w,v=o||a===Ys||a===Cl||!n&&(i==="svg"||i==="foreignObject");if(s.length>0){let x=ld(r,e,void 0,n,o);u=x.props,f=x.patchFlag,d=x.dynamicPropNames;let m=x.directives;w=m&&m.length?Sn(m.map(S=>sv(S,e))):void 0,x.shouldUseBlock&&(v=!0)}if(r.children.length>0)if(a===Ha&&(v=!0,f|=1024,r.children.length>1&&e.onError(Ae(46,{start:r.children[0].loc.start,end:r.children[r.children.length-1].loc.end,source:""}))),n&&a!==Ys&&a!==Ha){let{slots:m,hasDynamicSlots:S}=Z2(r,e);l=m,S&&(f|=1024)}else if(r.children.length===1&&a!==Ys){let m=r.children[0],S=m.type,g=S===5||S===8;g&&Ot(m,e)===0&&(f|=1),g||S===2?l=m:l=r.children}else l=r.children;if(f!==0){if(f<0)c=f+` /* ${_r[f]} */`;else{let x=Object.keys(_r).map(Number).filter(m=>m>0&&f&m).map(m=>_r[m]).join(", ");c=f+` /* ${x} */`}d&&d.length&&(h=EP(d))}r.codegenNode=nn(e,a,u,l,c,h,w,!!v,!1,n,r.loc)};function iv(r,e,t=!1){let{tag:i}=r,s=ep(i),n=ns(r,"is");if(n)if(s){let u=n.type===6?n.value&&J(n.value.content,!0):n.exp;if(u)return $e(e.helper(Wa),[u])}else n.type===6&&n.value.content.startsWith("vue:")&&(i=n.value.content.slice(4));let a=!s&&Tt(r,"is");if(a&&a.exp)return $e(e.helper(Wa),[a.exp]);let o=Hp(i)||e.isBuiltInComponent(i);if(o)return t||e.helper(o),o;{let u=Zh(i,e);if(u)return u;let l=i.indexOf(".");if(l>0){let c=Zh(i.slice(0,l),e);if(c)return c+i.slice(l)}}return e.selfName&&es(Ar(i))===e.selfName?(e.helper(Ga),e.components.add(i+"__self"),no(i,"component")):(e.helper(Ga),e.components.add(i),no(i,"component"))}function Zh(r,e){let t=e.bindingMetadata;if(!t||t.__isScriptSetup===!1)return;let i=Ar(r),s=es(i),n=u=>{if(t[r]===u)return r;if(t[i]===u)return i;if(t[s]===u)return s},a=n("setup-const")||n("setup-reactive-const");if(a)return e.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return e.inline?`${e.helperString(Ja)}(${o})`:`$setup[${JSON.stringify(o)}]`}function ld(r,e,t=r.props,i,s,n=!1){let{tag:a,loc:o,children:u}=r,l=[],c=[],f=[],h=u.length>0,d=!1,w=0,v=!1,x=!1,m=!1,S=!1,g=!1,b=!1,p=[],y=E=>{l.length&&(c.push(kt(Zy(l),o)),l=[]),E&&c.push(E)},_=({key:E,value:T})=>{if(bt(E)){let I=E.content,P=Vb(I);if(P&&(!i||s)&&I.toLowerCase()!=="onclick"&&I!=="onUpdate:modelValue"&&!xy(I)&&(S=!0),P&&xy(I)&&(b=!0),T.type===20||(T.type===4||T.type===8)&&Ot(T,e)>0)return;I==="ref"?v=!0:I==="class"?x=!0:I==="style"?m=!0:I!=="key"&&!p.includes(I)&&p.push(I),i&&(I==="class"||I==="style")&&!p.includes(I)&&p.push(I)}else g=!0};for(let E=0;E<t.length;E++){let T=t[E];if(T.type===6){let{loc:I,name:P,value:z}=T,H=!0;if(P==="ref"&&(v=!0,e.scopes.vFor>0&&l.push(De(J("ref_for",!0),J("true"))),z&&e.inline)){let Z=e.bindingMetadata[z.content];(Z==="setup-let"||Z==="setup-ref"||Z==="setup-maybe-ref")&&(H=!1,l.push(De(J("ref_key",!0),J(z.content,!0,z.loc))))}if(P==="is"&&(ep(a)||z&&z.content.startsWith("vue:")||!1))continue;l.push(De(J(P,!0,Wp(I,0,P.length)),J(z?z.content:"",H,z?z.loc:I)))}else{let{name:I,arg:P,exp:z,loc:H}=T,Z=I==="bind",oe=I==="on";if(I==="slot"){i||e.onError(Ae(40,H));continue}if(I==="once"||I==="memo"||I==="is"||Z&&vi(P,"is")&&(ep(a)||!1)||oe&&n)continue;if((Z&&vi(P,"key")||oe&&h&&vi(P,"vue:before-update"))&&(d=!0),Z&&vi(P,"ref")&&e.scopes.vFor>0&&l.push(De(J("ref_for",!0),J("true"))),!P&&(Z||oe)){g=!0,z?Z?(y(),c.push(z)):y({type:14,loc:H,callee:e.helper(Bl),arguments:i?[z]:[z,"true"]}):e.onError(Ae(Z?34:35,H));continue}let Q=e.directiveTransforms[I];if(Q){let{props:Ze,needRuntime:qt}=Q(T,r,e);!n&&Ze.forEach(_),oe&&P&&!bt(P)?y(kt(Ze,o)):l.push(...Ze),qt&&(f.push(T),So(qt)&&tv.set(T,qt))}else fC(I)||(f.push(T),h&&(d=!0))}}let A;if(c.length?(y(),c.length>1?A=$e(e.helper(Ya),c,o):A=c[0]):l.length&&(A=kt(Zy(l),o)),g?w|=16:(x&&!i&&(w|=2),m&&!i&&(w|=4),p.length&&(w|=8),S&&(w|=32)),!d&&(w===0||w===32)&&(v||b||f.length>0)&&(w|=512),!e.inSSR&&A)switch(A.type){case 15:let E=-1,T=-1,I=!1;for(let H=0;H<A.properties.length;H++){let Z=A.properties[H].key;bt(Z)?Z.content==="class"?E=H:Z.content==="style"&&(T=H):Z.isHandlerKey||(I=!0)}let P=A.properties[E],z=A.properties[T];I?A=$e(e.helper(sn),[A]):(P&&!bt(P.value)&&(P.value=$e(e.helper(Dl),[P.value])),z&&(m||z.value.type===4&&z.value.content.trim()[0]==="["||z.value.type===17)&&(z.value=$e(e.helper(Rl),[z.value])));break;case 14:break;default:A=$e(e.helper(sn),[$e(e.helper(wn),[A])]);break}return{props:A,directives:f,patchFlag:w,dynamicPropNames:p,shouldUseBlock:d}}function Zy(r){let e=new Map,t=[];for(let i=0;i<r.length;i++){let s=r[i];if(s.key.type===8||!s.key.isStatic){t.push(s);continue}let n=s.key.content,a=e.get(n);a?(n==="style"||n==="class"||Vb(n))&&SP(a,s):(e.set(n,s),t.push(s))}return t}function SP(r,e){r.value.type===17?r.value.elements.push(e.value):r.value=Sn([r.value,e.value],r.loc)}function sv(r,e){let t=[],i=tv.get(r);if(i)t.push(e.helperString(i));else{let n=Zh("v-"+r.name,e);n?t.push(n):(e.helper(Ol),e.directives.add(r.name),t.push(no(r.name,"directive")))}let{loc:s}=r;if(r.exp&&t.push(r.exp),r.arg&&(r.exp||t.push("void 0"),t.push(r.arg)),Object.keys(r.modifiers).length){r.arg||(r.exp||t.push("void 0"),t.push("void 0"));let n=J("true",!1,s);t.push(kt(r.modifiers.map(a=>De(a,n)),s))}return Sn(t,r.loc)}function EP(r){let e="[";for(let t=0,i=r.length;t<i;t++)e+=JSON.stringify(r[t]),t<i-1&&(e+=", ");return e+"]"}function ep(r){return r==="component"||r==="Component"}var TP=(r,e)=>{if(io(r)){let{children:t,loc:i}=r,{slotName:s,slotProps:n}=nv(r,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),t.length&&(a[3]=ts([],t,!1,!1,i),o=4),e.scopeId&&!e.slotted&&(o=5),a.splice(o),r.codegenNode=$e(e.helper(Tp),a,i)}};function nv(r,e){let t='"default"',i,s=[];for(let n=0;n<r.props.length;n++){let a=r.props[n];a.type===6?a.value&&(a.name==="name"?t=JSON.stringify(a.value.content):(a.name=Ar(a.name),s.push(a))):a.name==="bind"&&vi(a.arg,"name")?a.exp&&(t=a.exp):(a.name==="bind"&&a.arg&&bt(a.arg)&&(a.arg.content=Ar(a.arg.content)),s.push(a))}if(s.length>0){let{props:n,directives:a}=ld(r,e,s,!1,!1);i=n,a.length&&e.onError(Ae(36,a[0].loc))}return{slotName:t,slotProps:i}}var _P=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,cd=(r,e,t,i)=>{let{loc:s,modifiers:n,arg:a}=r;!r.exp&&!n.length&&t.onError(Ae(35,s));let o;if(a.type===4)if(a.isStatic){let f=a.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);let h=e.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?dC(Ar(f)):`on:${f}`;o=J(h,!0,a.loc)}else o=yt([`${t.helperString(nl)}(`,a,")"]);else o=a,o.children.unshift(`${t.helperString(nl)}(`),o.children.push(")");let u=r.exp;u&&!u.content.trim()&&(u=void 0);let l=t.cacheHandlers&&!u&&!t.inVOnce;if(u){let f=Gp(u.content,t),h=!(f||_P.test(u.content)),d=u.content.includes(";");t.prefixIdentifiers&&(h&&t.addIdentifiers("$event"),u=r.exp=Mt(u,t,!1,d),h&&t.removeIdentifiers("$event"),l=t.cacheHandlers&&!t.inVOnce&&!(u.type===4&&u.constType>0)&&!(f&&e.tagType===1)&&!St(u,t.identifiers),l&&f&&(u.type===4?u.content=`${u.content} && ${u.content}(...args)`:u.children=[...u.children," && ",...u.children,"(...args)"])),(h||l&&f)&&(u=yt([`${h?t.isTS?"($event: any)":"$event":`${t.isTS?`
|
|
41
41
|
//@ts-ignore
|
|
42
42
|
`:""}(...args)`} => ${d?"{":"("}`,u,d?"}":")"]))}let c={props:[De(o,u||J("() => {}",!1,s))]};return i&&(c=i(c)),l&&(c.props[0].value=t.cache(c.props[0].value)),c.props.forEach(f=>f.key.isHandlerKey=!0),c},av=(r,e,t)=>{let{exp:i,modifiers:s,loc:n}=r,a=r.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),s.includes("camel")&&(a.type===4?a.isStatic?a.content=Ar(a.content):a.content=`${t.helperString(sl)}(${a.content})`:(a.children.unshift(`${t.helperString(sl)}(`),a.children.push(")"))),t.inSSR||(s.includes("prop")&&eb(a,"."),s.includes("attr")&&eb(a,"^")),!i||i.type===4&&!i.content.trim()?(t.onError(Ae(34,n)),{props:[De(a,J("",!0,n))]}):{props:[De(a,i)]}},eb=(r,e)=>{r.type===4?r.isStatic?r.content=e+r.content:r.content=`\`${e}\${${r.content}}\``:(r.children.unshift(`'${e}' + (`),r.children.push(")"))},AP=(r,e)=>{if(r.type===0||r.type===1||r.type===11||r.type===10)return()=>{let t=r.children,i,s=!1;for(let n=0;n<t.length;n++){let a=t[n];if(Ju(a)){s=!0;for(let o=n+1;o<t.length;o++){let u=t[o];if(Ju(u))i||(i=t[n]=yt([a],a.loc)),i.children.push(" + ",u),t.splice(o,1),o--;else{i=void 0;break}}}}if(!(!s||t.length===1&&(r.type===0||r.type===1&&r.tagType===0&&!r.props.find(n=>n.type===7&&!e.directiveTransforms[n.name])&&!0)))for(let n=0;n<t.length;n++){let a=t[n];if(Ju(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),!e.ssr&&Ot(a,e)===0&&o.push(1+` /* ${_r[1]} */`),t[n]={type:12,content:a,loc:a.loc,codegenNode:$e(e.helper(Nl),o)}}}}},tb=new WeakSet,CP=(r,e)=>{if(r.type===1&&Tt(r,"once",!0))return tb.has(r)||e.inVOnce?void 0:(tb.add(r),e.inVOnce=!0,e.helper(Ka),()=>{e.inVOnce=!1;let t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))})},fd=(r,e,t)=>{let{exp:i,arg:s}=r;if(!i)return t.onError(Ae(41,r.loc)),Ia();let n=i.loc.source,a=i.type===4?i.content:n,o=t.bindingMetadata[n];if(o==="props"||o==="props-aliased")return t.onError(Ae(44,i.loc)),Ia();let u=t.inline&&(o==="setup-let"||o==="setup-ref"||o==="setup-maybe-ref");if(!a.trim()||!Gp(a,t)&&!u)return t.onError(Ae(42,i.loc)),Ia();if(t.prefixIdentifiers&&Si(a)&&t.identifiers[a])return t.onError(Ae(43,i.loc)),Ia();let l=s||J("modelValue",!0),c=s?bt(s)?`onUpdate:${s.content}`:yt(['"onUpdate:" + ',s]):"onUpdate:modelValue",f,h=t.isTS?"($event: any)":"$event";if(u)if(o==="setup-ref")f=yt([`${h} => ((`,J(n,!1,i.loc),").value = $event)"]);else{let w=o==="setup-let"?`${n} = $event`:"null";f=yt([`${h} => (${t.helperString(Qa)}(${n}) ? (`,J(n,!1,i.loc),`).value = $event : ${w})`])}else f=yt([`${h} => ((`,i,") = $event)"]);let d=[De(l,r.exp),De(c,f)];if(t.prefixIdentifiers&&!t.inVOnce&&t.cacheHandlers&&!St(i,t.identifiers)&&(d[1].value=t.cache(d[1].value)),r.modifiers.length&&e.tagType===1){let w=r.modifiers.map(x=>(Si(x)?x:JSON.stringify(x))+": true").join(", "),v=s?bt(s)?`${s.content}Modifiers`:yt([s,' + "Modifiers"']):"modelModifiers";d.push(De(v,J(`{ ${w} }`,!1,r.loc,2)))}return Ia(d)};function Ia(r=[]){return{props:r}}var rb=new WeakSet,PP=(r,e)=>{if(r.type===1){let t=Tt(r,"memo");return!t||rb.has(r)?void 0:(rb.add(r),()=>{let i=r.codegenNode||e.currentNode.codegenNode;i&&i.type===13&&(r.tagType!==1&&Vl(i,e),r.codegenNode=$e(e.helper($l),[t.exp,ts(void 0,i),"_cache",String(e.cached++)]))})}};function hd(r){return[[CP,dP,PP,yP,...r?[X2,J2]:[],TP,rv,Q2,AP],{on:cd,bind:av,model:fd}]}function ov(r,e={}){let t=e.onError||xp,i=e.mode==="module",s=e.prefixIdentifiers===!0||i;!s&&e.cacheHandlers&&t(Ae(49)),e.scopeId&&!i&&t(Ae(50));let n=ve(r)?Kp(r,e):r,[a,o]=hd(s);if(e.isTS){let{expressionPlugins:u}=e;(!u||!u.includes("typescript"))&&(e.expressionPlugins=[...u||[],"typescript"])}return Qp(n,Gr({},e,{prefixIdentifiers:s,nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Gr({},o,e.directiveTransforms||{})})),q2(n,Gr({},e,{prefixIdentifiers:s}))}var uv=()=>({props:[]}),pd=Symbol("vModelRadio"),dd=Symbol("vModelCheckbox"),md=Symbol("vModelText"),gd=Symbol("vModelSelect"),gl=Symbol("vModelDynamic"),yd=Symbol("vOnModifiersGuard"),bd=Symbol("vOnKeysGuard"),vd=Symbol("vShow"),Wl=Symbol("Transition"),xd=Symbol("TransitionGroup");Cp({[pd]:"vModelRadio",[dd]:"vModelCheckbox",[md]:"vModelText",[gd]:"vModelSelect",[gl]:"vModelDynamic",[yd]:"withModifiers",[bd]:"withKeys",[vd]:"vShow",[Wl]:"Transition",[xd]:"TransitionGroup"});var ib={GT:">",gt:">",LT:"<",lt:"<","ac;":"\u223E","af;":"\u2061",AMP:"&",amp:"&","ap;":"\u2248","DD;":"\u2145","dd;":"\u2146",deg:"\xB0","ee;":"\u2147","eg;":"\u2A9A","el;":"\u2A99",ETH:"\xD0",eth:"\xF0","gE;":"\u2267","ge;":"\u2265","Gg;":"\u22D9","gg;":"\u226B","gl;":"\u2277","GT;":">","Gt;":"\u226B","gt;":">","ic;":"\u2063","ii;":"\u2148","Im;":"\u2111","in;":"\u2208","it;":"\u2062","lE;":"\u2266","le;":"\u2264","lg;":"\u2276","Ll;":"\u22D8","ll;":"\u226A","LT;":"<","Lt;":"\u226A","lt;":"<","mp;":"\u2213","Mu;":"\u039C","mu;":"\u03BC","ne;":"\u2260","ni;":"\u220B",not:"\xAC","Nu;":"\u039D","nu;":"\u03BD","Or;":"\u2A54","or;":"\u2228","oS;":"\u24C8","Pi;":"\u03A0","pi;":"\u03C0","pm;":"\xB1","Pr;":"\u2ABB","pr;":"\u227A","Re;":"\u211C",REG:"\xAE",reg:"\xAE","rx;":"\u211E","Sc;":"\u2ABC","sc;":"\u227B",shy:"\xAD",uml:"\xA8","wp;":"\u2118","wr;":"\u2240","Xi;":"\u039E","xi;":"\u03BE",yen:"\xA5","acd;":"\u223F","acE;":"\u223E\u0333","Acy;":"\u0410","acy;":"\u0430","Afr;":"\u{1D504}","afr;":"\u{1D51E}","AMP;":"&","amp;":"&","And;":"\u2A53","and;":"\u2227","ang;":"\u2220","apE;":"\u2A70","ape;":"\u224A","ast;":"*",Auml:"\xC4",auml:"\xE4","Bcy;":"\u0411","bcy;":"\u0431","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bne;":"=\u20E5","bot;":"\u22A5","Cap;":"\u22D2","cap;":"\u2229",cent:"\xA2","Cfr;":"\u212D","cfr;":"\u{1D520}","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB",COPY:"\xA9",copy:"\xA9","Cup;":"\u22D3","cup;":"\u222A","Dcy;":"\u0414","dcy;":"\u0434","deg;":"\xB0","Del;":"\u2207","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","die;":"\xA8","div;":"\xF7","Dot;":"\xA8","dot;":"\u02D9","Ecy;":"\u042D","ecy;":"\u044D","Efr;":"\u{1D508}","efr;":"\u{1D522}","egs;":"\u2A96","ell;":"\u2113","els;":"\u2A95","ENG;":"\u014A","eng;":"\u014B","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0","eth;":"\xF0",Euml:"\xCB",euml:"\xEB","Fcy;":"\u0424","fcy;":"\u0444","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","gap;":"\u2A86","Gcy;":"\u0413","gcy;":"\u0433","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","ges;":"\u2A7E","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","ggg;":"\u22D9","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnE;":"\u2269","gne;":"\u2A88","Hat;":"^","Hfr;":"\u210C","hfr;":"\u{1D525}","Icy;":"\u0418","icy;":"\u0438","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Int;":"\u222C","int;":"\u222B",Iuml:"\xCF",iuml:"\xEF","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","lap;":"\u2A85","lat;":"\u2AAB","Lcy;":"\u041B","lcy;":"\u043B","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","les;":"\u2A7D","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lgE;":"\u2A91","lnE;":"\u2268","lne;":"\u2A87","loz;":"\u25CA","lrm;":"\u200E","Lsh;":"\u21B0","lsh;":"\u21B0",macr:"\xAF","Map;":"\u2905","map;":"\u21A6","Mcy;":"\u041C","mcy;":"\u043C","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","mid;":"\u2223","nap;":"\u2249",nbsp:"\xA0","Ncy;":"\u041D","ncy;":"\u043D","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","nGg;":"\u22D9\u0338","nGt;":"\u226B\u20D2","ngt;":"\u226F","nis;":"\u22FC","niv;":"\u220B","nlE;":"\u2266\u0338","nle;":"\u2270","nLl;":"\u22D8\u0338","nLt;":"\u226A\u20D2","nlt;":"\u226E","Not;":"\u2AEC","not;":"\xAC","npr;":"\u2280","nsc;":"\u2281","num;":"#","Ocy;":"\u041E","ocy;":"\u043E","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogt;":"\u29C1","ohm;":"\u03A9","olt;":"\u29C0","ord;":"\u2A5D",ordf:"\xAA",ordm:"\xBA","orv;":"\u2A5B",Ouml:"\xD6",ouml:"\xF6","par;":"\u2225",para:"\xB6","Pcy;":"\u041F","pcy;":"\u043F","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","piv;":"\u03D6","prE;":"\u2AB3","pre;":"\u2AAF","Psi;":"\u03A8","psi;":"\u03C8","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}",QUOT:'"',quot:'"',"Rcy;":"\u0420","rcy;":"\u0440","REG;":"\xAE","reg;":"\xAE","Rfr;":"\u211C","rfr;":"\u{1D52F}","Rho;":"\u03A1","rho;":"\u03C1","rlm;":"\u200F","Rsh;":"\u21B1","rsh;":"\u21B1","scE;":"\u2AB4","sce;":"\u2AB0","Scy;":"\u0421","scy;":"\u0441",sect:"\xA7","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","shy;":"\xAD","sim;":"\u223C","smt;":"\u2AAA","sol;":"/","squ;":"\u25A1","Sub;":"\u22D0","sub;":"\u2282","Sum;":"\u2211","sum;":"\u2211","Sup;":"\u22D1","sup;":"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3","Tab;":" ","Tau;":"\u03A4","tau;":"\u03C4","Tcy;":"\u0422","tcy;":"\u0442","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","top;":"\u22A4","Ucy;":"\u0423","ucy;":"\u0443","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","uml;":"\xA8",Uuml:"\xDC",uuml:"\xFC","Vcy;":"\u0412","vcy;":"\u0432","Vee;":"\u22C1","vee;":"\u2228","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}",yuml:"\xFF","Zcy;":"\u0417","zcy;":"\u0437","Zfr;":"\u2128","zfr;":"\u{1D537}","zwj;":"\u200D",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6","andd;":"\u2A5C","andv;":"\u2A5A","ange;":"\u29A4","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","apid;":"\u224B","apos;":"'",Aring:"\xC5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Auml;":"\xC4","auml;":"\xE4","Barv;":"\u2AE7","bbrk;":"\u23B5","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","boxH;":"\u2550","boxh;":"\u2500","boxV;":"\u2551","boxv;":"\u2502","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsim;":"\u223D","bsol;":"\\","bull;":"\u2022","bump;":"\u224E","caps;":"\u2229\uFE00","Cdot;":"\u010A","cdot;":"\u010B",cedil:"\xB8","cent;":"\xA2","CHcy;":"\u0427","chcy;":"\u0447","circ;":"\u02C6","cirE;":"\u29C3","cire;":"\u2257","comp;":"\u2201","cong;":"\u2245","Copf;":"\u2102","copf;":"\u{1D554}","COPY;":"\xA9","copy;":"\xA9","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csup;":"\u2AD0","cups;":"\u222A\uFE00","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","dHar;":"\u2965","diam;":"\u22C4","DJcy;":"\u0402","djcy;":"\u0452","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","dtri;":"\u25BF","DZcy;":"\u040F","dzcy;":"\u045F","ecir;":"\u2256",Ecirc:"\xCA",ecirc:"\xEA","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","emsp;":"\u2003","ensp;":"\u2002","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","epsi;":"\u03B5","Escr;":"\u2130","escr;":"\u212F","Esim;":"\u2A73","esim;":"\u2242","Euml;":"\xCB","euml;":"\xEB","euro;":"\u20AC","excl;":"!","flat;":"\u266D","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","fork;":"\u22D4","Fscr;":"\u2131","fscr;":"\u{1D4BB}","Gdot;":"\u0120","gdot;":"\u0121","geqq;":"\u2267","gesl;":"\u22DB\uFE00","GJcy;":"\u0403","gjcy;":"\u0453","gnap;":"\u2A8A","gneq;":"\u2A88","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gtcc;":"\u2AA7","gvnE;":"\u2269\uFE00","half;":"\xBD","hArr;":"\u21D4","harr;":"\u2194","hbar;":"\u210F","Hopf;":"\u210D","hopf;":"\u{1D559}","Hscr;":"\u210B","hscr;":"\u{1D4BD}",Icirc:"\xCE",icirc:"\xEE","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435",iexcl:"\xA1","imof;":"\u22B7","IOcy;":"\u0401","iocy;":"\u0451","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","Iuml;":"\xCF","iuml;":"\xEF","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","Lang;":"\u27EA","lang;":"\u27E8",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","late;":"\u2AAD","lcub;":"{","ldca;":"\u2936","ldsh;":"\u21B2","leqq;":"\u2266","lesg;":"\u22DA\uFE00","lHar;":"\u2962","LJcy;":"\u0409","ljcy;":"\u0459","lnap;":"\u2A89","lneq;":"\u2A87","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","lozf;":"\u29EB","lpar;":"(","Lscr;":"\u2112","lscr;":"\u{1D4C1}","lsim;":"\u2272","lsqb;":"[","ltcc;":"\u2AA6","ltri;":"\u25C3","lvnE;":"\u2268\uFE00","macr;":"\xAF","male;":"\u2642","malt;":"\u2720",micro:"\xB5","mlcp;":"\u2ADB","mldr;":"\u2026","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","Mscr;":"\u2133","mscr;":"\u{1D4C2}","nang;":"\u2220\u20D2","napE;":"\u2A70\u0338","nbsp;":"\xA0","ncap;":"\u2A43","ncup;":"\u2A42","ngeq;":"\u2271","nges;":"\u2A7E\u0338","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nisd;":"\u22FA","NJcy;":"\u040A","njcy;":"\u045A","nldr;":"\u2025","nleq;":"\u2270","nles;":"\u2A7D\u0338","nLtv;":"\u226A\u0338","nmid;":"\u2224","Nopf;":"\u2115","nopf;":"\u{1D55F}","npar;":"\u2226","npre;":"\u2AAF\u0338","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nsim;":"\u2241","nsub;":"\u2284","nsup;":"\u2285","ntgl;":"\u2279","ntlg;":"\u2278","nvap;":"\u224D\u20D2","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","oast;":"\u229B","ocir;":"\u229A",Ocirc:"\xD4",ocirc:"\xF4","odiv;":"\u2A38","odot;":"\u2299","ogon;":"\u02DB","oint;":"\u222E","omid;":"\u29B6","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","ordf;":"\xAA","ordm;":"\xBA","oror;":"\u2A56","Oscr;":"\u{1D4AA}","oscr;":"\u2134","osol;":"\u2298","Ouml;":"\xD6","ouml;":"\xF6","para;":"\xB6","part;":"\u2202","perp;":"\u22A5","phiv;":"\u03D5","plus;":"+","Popf;":"\u2119","popf;":"\u{1D561}",pound:"\xA3","prap;":"\u2AB7","prec;":"\u227A","prnE;":"\u2AB5","prod;":"\u220F","prop;":"\u221D","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","QUOT;":'"',"quot;":'"',"race;":"\u223D\u0331","Rang;":"\u27EB","rang;":"\u27E9",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rcub;":"}","rdca;":"\u2937","rdsh;":"\u21B3","real;":"\u211C","rect;":"\u25AD","rHar;":"\u2964","rhov;":"\u03F1","ring;":"\u02DA","Ropf;":"\u211D","ropf;":"\u{1D563}","rpar;":")","Rscr;":"\u211B","rscr;":"\u{1D4C7}","rsqb;":"]","rtri;":"\u25B9","scap;":"\u2AB8","scnE;":"\u2AB6","sdot;":"\u22C5","sect;":"\xA7","semi;":";","sext;":"\u2736","SHcy;":"\u0428","shcy;":"\u0448","sime;":"\u2243","simg;":"\u2A9E","siml;":"\u2A9D","smid;":"\u2223","smte;":"\u2AAC","solb;":"\u29C4","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spar;":"\u2225","Sqrt;":"\u221A","squf;":"\u25AA","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","Star;":"\u22C6","star;":"\u2606","subE;":"\u2AC5","sube;":"\u2286","succ;":"\u227B","sung;":"\u266A","sup1;":"\xB9","sup2;":"\xB2","sup3;":"\xB3","supE;":"\u2AC6","supe;":"\u2287",szlig:"\xDF","tbrk;":"\u23B4","tdot;":"\u20DB",THORN:"\xDE",thorn:"\xFE",times:"\xD7","tint;":"\u222D","toea;":"\u2928","Topf;":"\u{1D54B}","topf;":"\u{1D565}","tosa;":"\u2929","trie;":"\u225C","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191",Ucirc:"\xDB",ucirc:"\xFB","uHar;":"\u2963","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","Upsi;":"\u03D2","upsi;":"\u03C5","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utri;":"\u25B5","Uuml;":"\xDC","uuml;":"\xFC","vArr;":"\u21D5","varr;":"\u2195","Vbar;":"\u2AEB","vBar;":"\u2AE8","Vert;":"\u2016","vert;":"|","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcup;":"\u22C3","xmap;":"\u27FC","xnis;":"\u22FB","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xvee;":"\u22C1","YAcy;":"\u042F","yacy;":"\u044F","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF","Zdot;":"\u017B","zdot;":"\u017C","Zeta;":"\u0396","zeta;":"\u03B6","ZHcy;":"\u0416","zhcy;":"\u0436","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwnj;":"\u200C",Aacute:"\xC1",aacute:"\xE1","Acirc;":"\xC2","acirc;":"\xE2","acute;":"\xB4","AElig;":"\xC6","aelig;":"\xE6",Agrave:"\xC0",agrave:"\xE0","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","angle;":"\u2220","angrt;":"\u221F","angst;":"\xC5","Aogon;":"\u0104","aogon;":"\u0105","Aring;":"\xC5","aring;":"\xE5","asymp;":"\u2248",Atilde:"\xC3",atilde:"\xE3","awint;":"\u2A11","bcong;":"\u224C","bdquo;":"\u201E","bepsi;":"\u03F6","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","Breve;":"\u02D8","breve;":"\u02D8",brvbar:"\xA6","bsemi;":"\u204F","bsime;":"\u22CD","bsolb;":"\u29C5","bumpE;":"\u2AAE","bumpe;":"\u224F","caret;":"\u2041","caron;":"\u02C7","ccaps;":"\u2A4D",Ccedil:"\xC7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","ccups;":"\u2A4C","cedil;":"\xB8","check;":"\u2713","clubs;":"\u2663","Colon;":"\u2237","colon;":":","comma;":",","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","csube;":"\u2AD1","csupe;":"\u2AD2","ctdot;":"\u22EF","cuepr;":"\u22DE","cuesc;":"\u22DF","cupor;":"\u2A45",curren:"\xA4","cuvee;":"\u22CE","cuwed;":"\u22CF","cwint;":"\u2231","Dashv;":"\u2AE4","dashv;":"\u22A3","dblac;":"\u02DD","ddarr;":"\u21CA","Delta;":"\u0394","delta;":"\u03B4","dharl;":"\u21C3","dharr;":"\u21C2","diams;":"\u2666","disin;":"\u22F2",divide:"\xF7","doteq;":"\u2250","dtdot;":"\u22F1","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F",Eacute:"\xC9",eacute:"\xE9","Ecirc;":"\xCA","ecirc;":"\xEA","eDDot;":"\u2A77","efDot;":"\u2252",Egrave:"\xC8",egrave:"\xE8","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","Eogon;":"\u0118","eogon;":"\u0119","eplus;":"\u2A71","epsiv;":"\u03F5","eqsim;":"\u2242","Equal;":"\u2A75","equiv;":"\u2261","erarr;":"\u2971","erDot;":"\u2253","esdot;":"\u2250","exist;":"\u2203","fflig;":"\uFB00","filig;":"\uFB01","fjlig;":"fj","fllig;":"\uFB02","fltns;":"\u25B1","forkv;":"\u2AD9",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE","frasl;":"\u2044","frown;":"\u2322","Gamma;":"\u0393","gamma;":"\u03B3","Gcirc;":"\u011C","gcirc;":"\u011D","gescc;":"\u2AA9","gimel;":"\u2137","gneqq;":"\u2269","gnsim;":"\u22E7","grave;":"`","gsime;":"\u2A8E","gsiml;":"\u2A90","gtcir;":"\u2A7A","gtdot;":"\u22D7","Hacek;":"\u02C7","harrw;":"\u21AD","Hcirc;":"\u0124","hcirc;":"\u0125","hoarr;":"\u21FF",Iacute:"\xCD",iacute:"\xED","Icirc;":"\xCE","icirc;":"\xEE","iexcl;":"\xA1",Igrave:"\xCC",igrave:"\xEC","iiint;":"\u222D","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","imath;":"\u0131","imped;":"\u01B5","infin;":"\u221E","Iogon;":"\u012E","iogon;":"\u012F","iprod;":"\u2A3C",iquest:"\xBF","isinE;":"\u22F9","isins;":"\u22F4","isinv;":"\u2208","Iukcy;":"\u0406","iukcy;":"\u0456","Jcirc;":"\u0134","jcirc;":"\u0135","jmath;":"\u0237","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","lAarr;":"\u21DA","langd;":"\u2991","laquo;":"\xAB","larrb;":"\u21E4","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrke;":"\u298B","lceil;":"\u2308","ldquo;":"\u201C","lescc;":"\u2AA8","lhard;":"\u21BD","lharu;":"\u21BC","lhblk;":"\u2584","llarr;":"\u21C7","lltri;":"\u25FA","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","lopar;":"\u2985","lrarr;":"\u21C6","lrhar;":"\u21CB","lrtri;":"\u22BF","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsquo;":"\u2018","ltcir;":"\u2A79","ltdot;":"\u22D6","ltrie;":"\u22B4","ltrif;":"\u25C2","mdash;":"\u2014","mDDot;":"\u223A","micro;":"\xB5",middot:"\xB7","minus;":"\u2212","mumap;":"\u22B8","nabla;":"\u2207","napid;":"\u224B\u0338","napos;":"\u0149","natur;":"\u266E","nbump;":"\u224E\u0338","ncong;":"\u2247","ndash;":"\u2013","neArr;":"\u21D7","nearr;":"\u2197","nedot;":"\u2250\u0338","nesim;":"\u2242\u0338","ngeqq;":"\u2267\u0338","ngsim;":"\u2275","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","nlArr;":"\u21CD","nlarr;":"\u219A","nleqq;":"\u2266\u0338","nless;":"\u226E","nlsim;":"\u2274","nltri;":"\u22EA","notin;":"\u2209","notni;":"\u220C","npart;":"\u2202\u0338","nprec;":"\u2280","nrArr;":"\u21CF","nrarr;":"\u219B","nrtri;":"\u22EB","nsime;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsucc;":"\u2281","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289",Ntilde:"\xD1",ntilde:"\xF1","numsp;":"\u2007","nvsim;":"\u223C\u20D2","nwArr;":"\u21D6","nwarr;":"\u2196",Oacute:"\xD3",oacute:"\xF3","Ocirc;":"\xD4","ocirc;":"\xF4","odash;":"\u229D","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF",Ograve:"\xD2",ograve:"\xF2","ohbar;":"\u29B5","olarr;":"\u21BA","olcir;":"\u29BE","oline;":"\u203E","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","operp;":"\u29B9","oplus;":"\u2295","orarr;":"\u21BB","order;":"\u2134",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5","ovbar;":"\u233D","parsl;":"\u2AFD","phone;":"\u260E","plusb;":"\u229E","pluse;":"\u2A72",plusmn:"\xB1","pound;":"\xA3","prcue;":"\u227C","Prime;":"\u2033","prime;":"\u2032","prnap;":"\u2AB9","prsim;":"\u227E","quest;":"?","rAarr;":"\u21DB","radic;":"\u221A","rangd;":"\u2992","range;":"\u29A5","raquo;":"\xBB","rarrb;":"\u21E5","rarrc;":"\u2933","rarrw;":"\u219D","ratio;":"\u2236","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrke;":"\u298C","rceil;":"\u2309","rdquo;":"\u201D","reals;":"\u211D","rhard;":"\u21C1","rharu;":"\u21C0","rlarr;":"\u21C4","rlhar;":"\u21CC","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","rrarr;":"\u21C9","rsquo;":"\u2019","rtrie;":"\u22B5","rtrif;":"\u25B8","sbquo;":"\u201A","sccue;":"\u227D","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scsim;":"\u227F","sdotb;":"\u22A1","sdote;":"\u2A66","seArr;":"\u21D8","searr;":"\u2198","setmn;":"\u2216","sharp;":"\u266F","Sigma;":"\u03A3","sigma;":"\u03C3","simeq;":"\u2243","simgE;":"\u2AA0","simlE;":"\u2A9F","simne;":"\u2246","slarr;":"\u2190","smile;":"\u2323","smtes;":"\u2AAC\uFE00","sqcap;":"\u2293","sqcup;":"\u2294","sqsub;":"\u228F","sqsup;":"\u2290","srarr;":"\u2192","starf;":"\u2605","strns;":"\xAF","subnE;":"\u2ACB","subne;":"\u228A","supnE;":"\u2ACC","supne;":"\u228B","swArr;":"\u21D9","swarr;":"\u2199","szlig;":"\xDF","Theta;":"\u0398","theta;":"\u03B8","thkap;":"\u2248","THORN;":"\xDE","thorn;":"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","times;":"\xD7","TRADE;":"\u2122","trade;":"\u2122","trisb;":"\u29CD","TSHcy;":"\u040B","tshcy;":"\u045B","twixt;":"\u226C",Uacute:"\xDA",uacute:"\xFA","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ucirc;":"\xDB","ucirc;":"\xFB","udarr;":"\u21C5","udhar;":"\u296E",Ugrave:"\xD9",ugrave:"\xF9","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","Union;":"\u22C3","Uogon;":"\u0172","uogon;":"\u0173","uplus;":"\u228E","upsih;":"\u03D2","UpTee;":"\u22A5","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","utdot;":"\u22F0","utrif;":"\u25B4","uuarr;":"\u21C8","varpi;":"\u03D6","vBarv;":"\u2AE9","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","veeeq;":"\u225A","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","vprop;":"\u221D","vrtri;":"\u22B3","Wcirc;":"\u0174","wcirc;":"\u0175","Wedge;":"\u22C0","wedge;":"\u2227","xcirc;":"\u25EF","xdtri;":"\u25BD","xhArr;":"\u27FA","xharr;":"\u27F7","xlArr;":"\u27F8","xlarr;":"\u27F5","xodot;":"\u2A00","xrArr;":"\u27F9","xrarr;":"\u27F6","xutri;":"\u25B3",Yacute:"\xDD",yacute:"\xFD","Ycirc;":"\u0176","ycirc;":"\u0177","Aacute;":"\xC1","aacute;":"\xE1","Abreve;":"\u0102","abreve;":"\u0103","Agrave;":"\xC0","agrave;":"\xE0","andand;":"\u2A55","angmsd;":"\u2221","angsph;":"\u2222","apacir;":"\u2A6F","approx;":"\u2248","Assign;":"\u2254","Atilde;":"\xC3","atilde;":"\xE3","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","becaus;":"\u2235","bernou;":"\u212C","bigcap;":"\u22C2","bigcup;":"\u22C3","bigvee;":"\u22C1","bkarow;":"\u290D","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","bprime;":"\u2035","brvbar;":"\xA6","bullet;":"\u2022","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","capand;":"\u2A44","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7","ccedil;":"\xE7","circeq;":"\u2257","cirmid;":"\u2AEF","Colone;":"\u2A74","colone;":"\u2254","commat;":"@","compfn;":"\u2218","Conint;":"\u222F","conint;":"\u222E","coprod;":"\u2210","copysr;":"\u2117","cularr;":"\u21B6","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","curarr;":"\u21B7","curren;":"\xA4","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Dcaron;":"\u010E","dcaron;":"\u010F","dfisht;":"\u297F","divide;":"\xF7","divonx;":"\u22C7","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","DotDot;":"\u20DC","drcorn;":"\u231F","drcrop;":"\u230C","Dstrok;":"\u0110","dstrok;":"\u0111","Eacute;":"\xC9","eacute;":"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecolon;":"\u2255","Egrave;":"\xC8","egrave;":"\xE8","egsdot;":"\u2A98","elsdot;":"\u2A97","emptyv;":"\u2205","emsp13;":"\u2004","emsp14;":"\u2005","eparsl;":"\u29E3","eqcirc;":"\u2256","equals;":"=","equest;":"\u225F","Exists;":"\u2203","female;":"\u2640","ffilig;":"\uFB03","ffllig;":"\uFB04","ForAll;":"\u2200","forall;":"\u2200","frac12;":"\xBD","frac13;":"\u2153","frac14;":"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","gacute;":"\u01F5","Gammad;":"\u03DC","gammad;":"\u03DD","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","gesdot;":"\u2A80","gesles;":"\u2A94","gtlPar;":"\u2995","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtrsim;":"\u2273","hairsp;":"\u200A","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hearts;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","homtht;":"\u223B","horbar;":"\u2015","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD","iacute;":"\xED","Igrave;":"\xCC","igrave;":"\xEC","iiiint;":"\u2A0C","iinfin;":"\u29DC","incare;":"\u2105","inodot;":"\u0131","intcal;":"\u22BA","iquest;":"\xBF","isinsv;":"\u22F3","Itilde;":"\u0128","itilde;":"\u0129","Jsercy;":"\u0408","jsercy;":"\u0458","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","kgreen;":"\u0138","Lacute;":"\u0139","lacute;":"\u013A","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","langle;":"\u27E8","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrtl;":"\u21A2","lAtail;":"\u291B","latail;":"\u2919","lbrace;":"{","lbrack;":"[","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","ldquor;":"\u201E","lesdot;":"\u2A7F","lesges;":"\u2A93","lfisht;":"\u297C","lfloor;":"\u230A","lharul;":"\u296A","llhard;":"\u296B","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","loplus;":"\u2A2D","lowast;":"\u2217","lowbar;":"_","lparlt;":"\u2993","lrhard;":"\u296D","lsaquo;":"\u2039","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltrPar;":"\u2996","mapsto;":"\u21A6","marker;":"\u25AE","mcomma;":"\u2A29","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7","minusb;":"\u229F","minusd;":"\u2238","mnplus;":"\u2213","models;":"\u22A7","mstpos;":"\u223E","Nacute;":"\u0143","nacute;":"\u0144","nbumpe;":"\u224F\u0338","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","nearhk;":"\u2924","nequiv;":"\u2262","nesear;":"\u2928","nexist;":"\u2204","nltrie;":"\u22EC","notinE;":"\u22F9\u0338","nparsl;":"\u2AFD\u20E5","nprcue;":"\u22E0","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nrtrie;":"\u22ED","nsccue;":"\u22E1","nsimeq;":"\u2244","Ntilde;":"\xD1","ntilde;":"\xF1","numero;":"\u2116","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvHarr;":"\u2904","nvlArr;":"\u2902","nvrArr;":"\u2903","nwarhk;":"\u2923","nwnear;":"\u2927","Oacute;":"\xD3","oacute;":"\xF3","Odblac;":"\u0150","odblac;":"\u0151","odsold;":"\u29BC","Ograve;":"\xD2","ograve;":"\xF2","ominus;":"\u2296","origof;":"\u22B6","Oslash;":"\xD8","oslash;":"\xF8","Otilde;":"\xD5","otilde;":"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","parsim;":"\u2AF3","percnt;":"%","period;":".","permil;":"\u2030","phmmat;":"\u2133","planck;":"\u210F","plankv;":"\u210F","plusdo;":"\u2214","plusdu;":"\u2A25","plusmn;":"\xB1","preceq;":"\u2AAF","primes;":"\u2119","prnsim;":"\u22E8","propto;":"\u221D","prurel;":"\u22B0","puncsp;":"\u2008","qprime;":"\u2057","Racute;":"\u0154","racute;":"\u0155","rangle;":"\u27E9","rarrap;":"\u2975","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rAtail;":"\u291C","ratail;":"\u291A","rbrace;":"}","rbrack;":"]","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rdquor;":"\u201D","rfisht;":"\u297D","rfloor;":"\u230B","rharul;":"\u296C","rmoust;":"\u23B1","roplus;":"\u2A2E","rpargt;":"\u2994","rsaquo;":"\u203A","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","Sacute;":"\u015A","sacute;":"\u015B","Scaron;":"\u0160","scaron;":"\u0161","Scedil;":"\u015E","scedil;":"\u015F","scnsim;":"\u22E9","searhk;":"\u2925","seswar;":"\u2929","sfrown;":"\u2322","SHCHcy;":"\u0429","shchcy;":"\u0449","sigmaf;":"\u03C2","sigmav;":"\u03C2","simdot;":"\u2A6A","smashp;":"\u2A33","SOFTcy;":"\u042C","softcy;":"\u044C","solbar;":"\u233F","spades;":"\u2660","sqcaps;":"\u2293\uFE00","sqcups;":"\u2294\uFE00","sqsube;":"\u2291","sqsupe;":"\u2292","Square;":"\u25A1","square;":"\u25A1","squarf;":"\u25AA","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","subdot;":"\u2ABD","Subset;":"\u22D0","subset;":"\u2282","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succeq;":"\u2AB0","supdot;":"\u2ABE","Supset;":"\u22D1","supset;":"\u2283","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swnwar;":"\u292A","target;":"\u2316","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","telrec;":"\u2315","there4;":"\u2234","thetav;":"\u03D1","thinsp;":"\u2009","thksim;":"\u223C","timesb;":"\u22A0","timesd;":"\u2A30","topbot;":"\u2336","topcir;":"\u2AF1","tprime;":"\u2034","tridot;":"\u25EC","Tstrok;":"\u0166","tstrok;":"\u0167","Uacute;":"\xDA","uacute;":"\xFA","Ubreve;":"\u016C","ubreve;":"\u016D","Udblac;":"\u0170","udblac;":"\u0171","ufisht;":"\u297E","Ugrave;":"\xD9","ugrave;":"\xF9","ulcorn;":"\u231C","ulcrop;":"\u230F","urcorn;":"\u231D","urcrop;":"\u230E","Utilde;":"\u0168","utilde;":"\u0169","vangrt;":"\u299C","varphi;":"\u03D5","varrho;":"\u03F1","Vdashl;":"\u2AE6","veebar;":"\u22BB","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","wedbar;":"\u2A5F","wedgeq;":"\u2259","weierp;":"\u2118","wreath;":"\u2240","xoplus;":"\u2A01","xotime;":"\u2A02","xsqcup;":"\u2A06","xuplus;":"\u2A04","xwedge;":"\u22C0","Yacute;":"\xDD","yacute;":"\xFD","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","zeetrf;":"\u2128","alefsym;":"\u2135","angrtvb;":"\u22BE","angzarr;":"\u237C","asympeq;":"\u224D","backsim;":"\u223D","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","between;":"\u226C","bigcirc;":"\u25EF","bigodot;":"\u2A00","bigstar;":"\u2605","bnequiv;":"\u2261\u20E5","boxplus;":"\u229E","Cayleys;":"\u212D","Cconint;":"\u2230","ccupssm;":"\u2A50","Cedilla;":"\xB8","cemptyv;":"\u29B2","cirscir;":"\u29C2","coloneq;":"\u2254","congdot;":"\u2A6D","cudarrl;":"\u2938","cudarrr;":"\u2935","cularrp;":"\u293D","curarrm;":"\u293C","dbkarow;":"\u290F","ddagger;":"\u2021","ddotseq;":"\u2A77","demptyv;":"\u29B1","Diamond;":"\u22C4","diamond;":"\u22C4","digamma;":"\u03DD","dotplus;":"\u2214","DownTee;":"\u22A4","dwangle;":"\u29A6","Element;":"\u2208","Epsilon;":"\u0395","epsilon;":"\u03B5","eqcolon;":"\u2255","equivDD;":"\u2A78","gesdoto;":"\u2A82","gtquest;":"\u2A7C","gtrless;":"\u2277","harrcir;":"\u2948","Implies;":"\u21D2","intprod;":"\u2A3C","isindot;":"\u22F5","larrbfs;":"\u291F","larrsim;":"\u2973","lbrksld;":"\u298F","lbrkslu;":"\u298D","ldrdhar;":"\u2967","LeftTee;":"\u22A3","lesdoto;":"\u2A81","lessdot;":"\u22D6","lessgtr;":"\u2276","lesssim;":"\u2272","lotimes;":"\u2A34","lozenge;":"\u25CA","ltquest;":"\u2A7B","luruhar;":"\u2966","maltese;":"\u2720","minusdu;":"\u2A2A","napprox;":"\u2249","natural;":"\u266E","nearrow;":"\u2197","NewLine;":`
|
|
43
43
|
`,"nexists;":"\u2204","NoBreak;":"\u2060","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLess;":"\u226E","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","npolint;":"\u2A14","npreceq;":"\u2AAF\u0338","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsubset;":"\u2282\u20D2","nsucceq;":"\u2AB0\u0338","nsupset;":"\u2283\u20D2","nvinfin;":"\u29DE","nvltrie;":"\u22B4\u20D2","nvrtrie;":"\u22B5\u20D2","nwarrow;":"\u2196","olcross;":"\u29BB","Omicron;":"\u039F","omicron;":"\u03BF","orderof;":"\u2134","orslope;":"\u2A57","OverBar;":"\u203E","pertenk;":"\u2031","planckh;":"\u210E","pluscir;":"\u2A22","plussim;":"\u2A26","plustwo;":"\u2A27","precsim;":"\u227E","Product;":"\u220F","quatint;":"\u2A16","questeq;":"\u225F","rarrbfs;":"\u2920","rarrsim;":"\u2974","rbrksld;":"\u298E","rbrkslu;":"\u2990","rdldhar;":"\u2969","realine;":"\u211B","rotimes;":"\u2A35","ruluhar;":"\u2968","searrow;":"\u2198","simplus;":"\u2A24","simrarr;":"\u2972","subedot;":"\u2AC3","submult;":"\u2AC1","subplus;":"\u2ABF","subrarr;":"\u2979","succsim;":"\u227F","supdsub;":"\u2AD8","supedot;":"\u2AC4","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supplus;":"\u2AC0","swarrow;":"\u2199","topfork;":"\u2ADA","triplus;":"\u2A39","tritime;":"\u2A3B","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","Upsilon;":"\u03A5","upsilon;":"\u03C5","uwangle;":"\u29A7","vzigzag;":"\u299A","zigrarr;":"\u21DD","andslope;":"\u2A58","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrtvbd;":"\u299D","approxeq;":"\u224A","awconint;":"\u2233","backcong;":"\u224C","barwedge;":"\u2305","bbrktbrk;":"\u23B6","bigoplus;":"\u2A01","bigsqcup;":"\u2A06","biguplus;":"\u2A04","bigwedge;":"\u22C0","boxminus;":"\u229F","boxtimes;":"\u22A0","bsolhsub;":"\u27C8","capbrcup;":"\u2A49","circledR;":"\xAE","circledS;":"\u24C8","cirfnint;":"\u2A10","clubsuit;":"\u2663","cupbrcap;":"\u2A48","curlyvee;":"\u22CE","cwconint;":"\u2232","DDotrahd;":"\u2911","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","drbkarow;":"\u2910","dzigrarr;":"\u27FF","elinters;":"\u23E7","emptyset;":"\u2205","eqvparsl;":"\u29E5","fpartint;":"\u2A0D","geqslant;":"\u2A7E","gesdotol;":"\u2A84","gnapprox;":"\u2A8A","hksearow;":"\u2925","hkswarow;":"\u2926","imagline;":"\u2110","imagpart;":"\u2111","infintie;":"\u29DD","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","intlarhk;":"\u2A17","laemptyv;":"\u29B4","ldrushar;":"\u294B","leqslant;":"\u2A7D","lesdotor;":"\u2A83","LessLess;":"\u2AA1","llcorner;":"\u231E","lnapprox;":"\u2A89","lrcorner;":"\u231F","lurdshar;":"\u294A","mapstoup;":"\u21A5","multimap;":"\u22B8","naturals;":"\u2115","ncongdot;":"\u2A6D\u0338","NotEqual;":"\u2260","notindot;":"\u22F5\u0338","NotTilde;":"\u2241","otimesas;":"\u2A36","parallel;":"\u2225","PartialD;":"\u2202","plusacir;":"\u2A23","pointint;":"\u2A15","Precedes;":"\u227A","precneqq;":"\u2AB5","precnsim;":"\u22E8","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","raemptyv;":"\u29B3","realpart;":"\u211C","RightTee;":"\u22A2","rppolint;":"\u2A12","rtriltri;":"\u29CE","scpolint;":"\u2A13","setminus;":"\u2216","shortmid;":"\u2223","smeparsl;":"\u29E4","sqsubset;":"\u228F","sqsupset;":"\u2290","subseteq;":"\u2286","Succeeds;":"\u227B","succneqq;":"\u2AB6","succnsim;":"\u22E9","SuchThat;":"\u220B","Superset;":"\u2283","supseteq;":"\u2287","thetasym;":"\u03D1","thicksim;":"\u223C","timesbar;":"\u2A31","triangle;":"\u25B5","triminus;":"\u2A3A","trpezium;":"\u23E2","Uarrocir;":"\u2949","ulcorner;":"\u231C","UnderBar;":"_","urcorner;":"\u231D","varkappa;":"\u03F0","varsigma;":"\u03C2","vartheta;":"\u03D1","backprime;":"\u2035","backsimeq;":"\u22CD","Backslash;":"\u2216","bigotimes;":"\u2A02","CenterDot;":"\xB7","centerdot;":"\xB7","checkmark;":"\u2713","CircleDot;":"\u2299","complexes;":"\u2102","Congruent;":"\u2261","Coproduct;":"\u2210","dotsquare;":"\u22A1","DoubleDot;":"\xA8","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownBreve;":"\u0311","gtrapprox;":"\u2A86","gtreqless;":"\u22DB","gvertneqq;":"\u2269\uFE00","heartsuit;":"\u2665","HumpEqual;":"\u224F","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftFloor;":"\u230A","lesseqgtr;":"\u22DA","LessTilde;":"\u2272","lvertneqq;":"\u2268\uFE00","Mellintrf;":"\u2133","MinusPlus;":"\u2213","ngeqslant;":"\u2A7E\u0338","nleqslant;":"\u2A7D\u0338","NotCupCap;":"\u226D","NotExists;":"\u2204","NotSubset;":"\u2282\u20D2","nparallel;":"\u2226","nshortmid;":"\u2224","nsubseteq;":"\u2288","nsupseteq;":"\u2289","OverBrace;":"\u23DE","pitchfork;":"\u22D4","PlusMinus;":"\xB1","rationals;":"\u211A","spadesuit;":"\u2660","subseteqq;":"\u2AC5","subsetneq;":"\u228A","supseteqq;":"\u2AC6","supsetneq;":"\u228B","Therefore;":"\u2234","therefore;":"\u2234","ThinSpace;":"\u2009","triangleq;":"\u225C","TripleDot;":"\u20DB","UnionPlus;":"\u228E","varpropto;":"\u221D","Bernoullis;":"\u212C","circledast;":"\u229B","CirclePlus;":"\u2295","complement;":"\u2201","curlywedge;":"\u22CF","eqslantgtr;":"\u2A96","EqualTilde;":"\u2242","Fouriertrf;":"\u2131","gtreqqless;":"\u2A8C","ImaginaryI;":"\u2148","Laplacetrf;":"\u2112","LeftVector;":"\u21BC","lessapprox;":"\u2A85","lesseqqgtr;":"\u2A8B","Lleftarrow;":"\u21DA","lmoustache;":"\u23B0","longmapsto;":"\u27FC","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","NotElement;":"\u2209","NotGreater;":"\u226F","nsubseteqq;":"\u2AC5\u0338","nsupseteqq;":"\u2AC6\u0338","precapprox;":"\u2AB7","Proportion;":"\u2237","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightFloor;":"\u230B","rmoustache;":"\u23B1","sqsubseteq;":"\u2291","sqsupseteq;":"\u2292","subsetneqq;":"\u2ACB","succapprox;":"\u2AB8","supsetneqq;":"\u2ACC","ThickSpace;":"\u205F\u200A","TildeEqual;":"\u2243","TildeTilde;":"\u2248","UnderBrace;":"\u23DF","UpArrowBar;":"\u2912","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","varepsilon;":"\u03F5","varnothing;":"\u2205","backepsilon;":"\u03F6","blacksquare;":"\u25AA","circledcirc;":"\u229A","circleddash;":"\u229D","CircleMinus;":"\u2296","CircleTimes;":"\u2297","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","diamondsuit;":"\u2666","eqslantless;":"\u2A95","Equilibrium;":"\u21CC","expectation;":"\u2130","GreaterLess;":"\u2277","LeftCeiling;":"\u2308","LessGreater;":"\u2276","MediumSpace;":"\u205F","NotLessLess;":"\u226A\u0338","NotPrecedes;":"\u2280","NotSucceeds;":"\u2281","NotSuperset;":"\u2283\u20D2","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","OverBracket;":"\u23B4","preccurlyeq;":"\u227C","precnapprox;":"\u2AB9","quaternions;":"\u210D","RightVector;":"\u21C0","Rrightarrow;":"\u21DB","RuleDelayed;":"\u29F4","SmallCircle;":"\u2218","SquareUnion;":"\u2294","straightphi;":"\u03D5","SubsetEqual;":"\u2286","succcurlyeq;":"\u227D","succnapprox;":"\u2ABA","thickapprox;":"\u2248","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","VerticalBar;":"\u2223","blacklozenge;":"\u29EB","DownArrowBar;":"\u2913","DownTeeArrow;":"\u21A7","ExponentialE;":"\u2147","exponentiale;":"\u2147","GreaterEqual;":"\u2265","GreaterTilde;":"\u2273","HilbertSpace;":"\u210B","HumpDownHump;":"\u224E","Intersection;":"\u22C2","LeftArrowBar;":"\u21E4","LeftTeeArrow;":"\u21A4","LeftTriangle;":"\u22B2","LeftUpVector;":"\u21BF","NotCongruent;":"\u2262","NotHumpEqual;":"\u224F\u0338","NotLessEqual;":"\u2270","NotLessTilde;":"\u2274","Proportional;":"\u221D","RightCeiling;":"\u2309","risingdotseq;":"\u2253","RoundImplies;":"\u2970","ShortUpArrow;":"\u2191","SquareSubset;":"\u228F","triangledown;":"\u25BF","triangleleft;":"\u25C3","UnderBracket;":"\u23B5","varsubsetneq;":"\u228A\uFE00","varsupsetneq;":"\u228B\uFE00","VerticalLine;":"|","ApplyFunction;":"\u2061","bigtriangleup;":"\u25B3","blacktriangle;":"\u25B4","DifferentialD;":"\u2146","divideontimes;":"\u22C7","DoubleLeftTee;":"\u2AE4","DoubleUpArrow;":"\u21D1","fallingdotseq;":"\u2252","hookleftarrow;":"\u21A9","leftarrowtail;":"\u21A2","leftharpoonup;":"\u21BC","LeftTeeVector;":"\u295A","LeftVectorBar;":"\u2952","LessFullEqual;":"\u2266","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","looparrowleft;":"\u21AB","measuredangle;":"\u2221","NotEqualTilde;":"\u2242\u0338","NotTildeEqual;":"\u2244","NotTildeTilde;":"\u2249","ntriangleleft;":"\u22EA","Poincareplane;":"\u210C","PrecedesEqual;":"\u2AAF","PrecedesTilde;":"\u227E","RightArrowBar;":"\u21E5","RightTeeArrow;":"\u21A6","RightTriangle;":"\u22B3","RightUpVector;":"\u21BE","shortparallel;":"\u2225","smallsetminus;":"\u2216","SucceedsEqual;":"\u2AB0","SucceedsTilde;":"\u227F","SupersetEqual;":"\u2287","triangleright;":"\u25B9","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneqq;":"\u2ACC\uFE00","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","curvearrowleft;":"\u21B6","DiacriticalDot;":"\u02D9","doublebarwedge;":"\u2306","DoubleRightTee;":"\u22A8","downdownarrows;":"\u21CA","DownLeftVector;":"\u21BD","GreaterGreater;":"\u2AA2","hookrightarrow;":"\u21AA","HorizontalLine;":"\u2500","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","LeftDownVector;":"\u21C3","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftthreetimes;":"\u22CB","LessSlantEqual;":"\u2A7D","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowright;":"\u21AC","LowerLeftArrow;":"\u2199","NestedLessLess;":"\u226A","NotGreaterLess;":"\u2279","NotLessGreater;":"\u2278","NotSubsetEqual;":"\u2288","NotVerticalBar;":"\u2224","nshortparallel;":"\u2226","ntriangleright;":"\u22EB","OpenCurlyQuote;":"\u2018","ReverseElement;":"\u220B","rightarrowtail;":"\u21A3","rightharpoonup;":"\u21C0","RightTeeVector;":"\u295B","RightVectorBar;":"\u2953","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","SquareSuperset;":"\u2290","TildeFullEqual;":"\u2245","trianglelefteq;":"\u22B4","upharpoonright;":"\u21BE","UpperLeftArrow;":"\u2196","ZeroWidthSpace;":"\u200B","bigtriangledown;":"\u25BD","circlearrowleft;":"\u21BA","CloseCurlyQuote;":"\u2019","ContourIntegral;":"\u222E","curvearrowright;":"\u21B7","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","downharpoonleft;":"\u21C3","DownRightVector;":"\u21C1","leftharpoondown;":"\u21BD","leftrightarrows;":"\u21C6","LeftRightVector;":"\u294E","LeftTriangleBar;":"\u29CF","LeftUpTeeVector;":"\u2960","LeftUpVectorBar;":"\u2958","LowerRightArrow;":"\u2198","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","NotGreaterEqual;":"\u2271","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotLeftTriangle;":"\u22EA","NotSquareSubset;":"\u228F\u0338","ntrianglelefteq;":"\u22EC","OverParenthesis;":"\u23DC","RightDownVector;":"\u21C2","rightleftarrows;":"\u21C4","rightsquigarrow;":"\u219D","rightthreetimes;":"\u22CC","ShortRightArrow;":"\u2192","straightepsilon;":"\u03F5","trianglerighteq;":"\u22B5","UpperRightArrow;":"\u2197","vartriangleleft;":"\u22B2","circlearrowright;":"\u21BB","DiacriticalAcute;":"\xB4","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","DoubleRightArrow;":"\u21D2","DownArrowUpArrow;":"\u21F5","downharpoonright;":"\u21C2","EmptySmallSquare;":"\u25FB","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","LeftAngleBracket;":"\u27E8","LeftUpDownVector;":"\u2951","LessEqualGreater;":"\u22DA","NonBreakingSpace;":"\xA0","NotPrecedesEqual;":"\u2AAF\u0338","NotRightTriangle;":"\u22EB","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsTilde;":"\u227F\u0338","NotSupersetEqual;":"\u2289","ntrianglerighteq;":"\u22ED","rightharpoondown;":"\u21C1","rightrightarrows;":"\u21C9","RightTriangleBar;":"\u29D0","RightUpTeeVector;":"\u295C","RightUpVectorBar;":"\u2954","twoheadleftarrow;":"\u219E","UnderParenthesis;":"\u23DD","UpArrowDownArrow;":"\u21C5","vartriangleright;":"\u22B3","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownLeftTeeVector;":"\u295E","DownLeftVectorBar;":"\u2956","FilledSmallSquare;":"\u25FC","GreaterSlantEqual;":"\u2A7E","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVectorBar;":"\u2959","leftrightharpoons;":"\u21CB","LeftTriangleEqual;":"\u22B4","NegativeThinSpace;":"\u200B","NotGreaterGreater;":"\u226B\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotNestedLessLess;":"\u2AA1\u0338","NotReverseElement;":"\u220C","NotSquareSuperset;":"\u2290\u0338","NotTildeFullEqual;":"\u2247","RightAngleBracket;":"\u27E9","rightleftharpoons;":"\u21CC","RightUpDownVector;":"\u294F","SquareSubsetEqual;":"\u2291","twoheadrightarrow;":"\u21A0","VerticalSeparator;":"\u2758","blacktriangleright;":"\u25B8","DownRightTeeVector;":"\u295F","DownRightVectorBar;":"\u2957","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","NegativeThickSpace;":"\u200B","NotLeftTriangleBar;":"\u29CF\u0338","PrecedesSlantEqual;":"\u227C","ReverseEquilibrium;":"\u21CB","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVectorBar;":"\u2955","RightTriangleEqual;":"\u22B5","SquareIntersection;":"\u2293","SucceedsSlantEqual;":"\u227D","DoubleLongLeftArrow;":"\u27F8","DownLeftRightVector;":"\u2950","LeftArrowRightArrow;":"\u21C6","leftrightsquigarrow;":"\u21AD","NegativeMediumSpace;":"\u200B","NotGreaterFullEqual;":"\u2267\u0338","NotRightTriangleBar;":"\u29D0\u0338","RightArrowLeftArrow;":"\u21C4","SquareSupersetEqual;":"\u2292","CapitalDifferentialD;":"\u2145","DoubleLeftRightArrow;":"\u21D4","DoubleLongRightArrow;":"\u27F9","EmptyVerySmallSquare;":"\u25AB","NestedGreaterGreater;":"\u226B","NotDoubleVerticalBar;":"\u2226","NotGreaterSlantEqual;":"\u2A7E\u0338","NotLeftTriangleEqual;":"\u22EC","NotSquareSubsetEqual;":"\u22E2","OpenCurlyDoubleQuote;":"\u201C","ReverseUpEquilibrium;":"\u296F","CloseCurlyDoubleQuote;":"\u201D","DoubleContourIntegral;":"\u222F","FilledVerySmallSquare;":"\u25AA","NegativeVeryThinSpace;":"\u200B","NotPrecedesSlantEqual;":"\u22E0","NotRightTriangleEqual;":"\u22ED","NotSucceedsSlantEqual;":"\u22E1","DiacriticalDoubleAcute;":"\u02DD","NotSquareSupersetEqual;":"\u22E3","NotNestedGreaterGreater;":"\u2AA2\u0338","ClockwiseContourIntegral;":"\u2232","DoubleLongLeftRightArrow;":"\u27FA","CounterClockwiseContourIntegral;":"\u2233"},fh,IP=(r,e)=>{let t=0,i=r.length,s="";function n(a){t+=a,r=r.slice(a)}for(;t<i;){let a=/&(?:#x?)?/i.exec(r);if(!a||t+a.index>=i){let o=i-t;s+=r.slice(0,o),n(o);break}if(s+=r.slice(0,a.index),n(a.index),a[0]==="&"){let o="",u;if(/[0-9a-z]/i.test(r[1])){fh||(fh=Object.keys(ib).reduce((l,c)=>Math.max(l,c.length),0));for(let l=fh;!u&&l>0;--l)o=r.slice(1,1+l),u=ib[o];if(u){let l=o.endsWith(";");e&&!l&&/[=a-z0-9]/i.test(r[o.length+1]||"")?(s+="&"+o,n(1+o.length)):(s+=u,n(1+o.length))}else s+="&"+o,n(1+o.length)}else s+="&",n(1)}else{let o=a[0]==="&#x",l=(o?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(r);if(!l)s+=a[0],n(a[0].length);else{let c=Number.parseInt(l[1],o?16:10);c===0||c>1114111||c>=55296&&c<=57343?c=65533:c>=64976&&c<=65007||(c&65534)===65534||(c>=1&&c<=8||c===11||c>=13&&c<=31||c>=127&&c<=159)&&(c=NP[c]||c),s+=String.fromCodePoint(c),n(l[0].length)}}}return s},NP={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},kP=it("style,iframe,script,noscript",!0),uo={isVoidTag:$b,isNativeTag:r=>JA(r)||QA(r),isPreTag:r=>r==="pre",decodeEntities:IP,isBuiltInComponent:r=>{if(bi(r,"Transition"))return Wl;if(bi(r,"TransitionGroup"))return xd},getNamespace(r,e){let t=e?e.ns:0;if(e&&t===2)if(e.tag==="annotation-xml"){if(r==="svg")return 1;e.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(t=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&r!=="mglyph"&&r!=="malignmark"&&(t=0);else e&&t===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(t=0);if(t===0){if(r==="svg")return 1;if(r==="math")return 2}return t},getTextMode({tag:r,ns:e}){if(e===0){if(r==="textarea"||r==="title")return 1;if(kP(r))return 2}return 0}},lv=r=>{r.type===1&&r.props.forEach((e,t)=>{e.type===6&&e.name==="style"&&e.value&&(r.props[t]={type:7,name:"bind",arg:J("style",!0,e.loc),exp:OP(e.value.content,e.loc),modifiers:[],loc:e.loc})})},OP=(r,e)=>{let t=Ub(r);return J(JSON.stringify(t),!1,e,3)};function Gt(r,e){return Ae(r,e,MP)}var MP={[51]:"v-html is missing expression.",[52]:"v-html will override element children.",[53]:"v-text is missing expression.",[54]:"v-text will override element children.",[55]:"v-model can only be used on <input>, <textarea> and <select> elements.",[56]:"v-model argument is not supported on plain elements.",[57]:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",[58]:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",[59]:"v-show is missing expression.",[60]:"<Transition> expects exactly one child element or component.",[61]:"Tags with side effect (<script> and <style>) are ignored in client component templates."},LP=(r,e,t)=>{let{exp:i,loc:s}=r;return i||t.onError(Gt(51,s)),e.children.length&&(t.onError(Gt(52,s)),e.children.length=0),{props:[De(J("innerHTML",!0,s),i||J("",!0))]}},DP=(r,e,t)=>{let{exp:i,loc:s}=r;return i||t.onError(Gt(53,s)),e.children.length&&(t.onError(Gt(54,s)),e.children.length=0),{props:[De(J("textContent",!0),i?Ot(i,t)>0?i:$e(t.helperString(Eo),[i],s):J("",!0))]}},RP=(r,e,t)=>{let i=fd(r,e,t);if(!i.props.length||e.tagType===1)return i;r.arg&&t.onError(Gt(56,r.arg.loc));function s(){let o=ns(e,"value");o&&t.onError(Gt(58,o.loc))}let{tag:n}=e,a=t.isCustomElement(n);if(n==="input"||n==="textarea"||n==="select"||a){let o=md,u=!1;if(n==="input"||a){let l=ns(e,"type");if(l){if(l.type===7)o=gl;else if(l.value)switch(l.value.content){case"radio":o=pd;break;case"checkbox":o=dd;break;case"file":u=!0,t.onError(Gt(57,r.loc));break;default:s();break}}else S2(e)?o=gl:s()}else n==="select"?o=gd:s();u||(i.needRuntime=t.helper(o))}else t.onError(Gt(55,r.loc));return i.props=i.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),i},BP=it("passive,once,capture"),FP=it("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),UP=it("left,right"),cv=it("onkeyup,onkeydown,onkeypress",!0),qP=(r,e,t,i)=>{let s=[],n=[],a=[];for(let o=0;o<e.length;o++){let u=e[o];BP(u)?a.push(u):UP(u)?bt(r)?cv(r.content)?s.push(u):n.push(u):(s.push(u),n.push(u)):FP(u)?n.push(u):s.push(u)}return{keyModifiers:s,nonKeyModifiers:n,eventOptionModifiers:a}},sb=(r,e)=>bt(r)&&r.content.toLowerCase()==="onclick"?J(e,!0):r.type!==4?yt(["(",r,`) === "onClick" ? "${e}" : (`,r,")"]):r,$P=(r,e,t)=>cd(r,e,t,i=>{let{modifiers:s}=r;if(!s.length)return i;let{key:n,value:a}=i.props[0],{keyModifiers:o,nonKeyModifiers:u,eventOptionModifiers:l}=qP(n,s,t,r.loc);if(u.includes("right")&&(n=sb(n,"onContextmenu")),u.includes("middle")&&(n=sb(n,"onMouseup")),u.length&&(a=$e(t.helper(yd),[a,JSON.stringify(u)])),o.length&&(!bt(n)||cv(n.content))&&(a=$e(t.helper(bd),[a,JSON.stringify(o)])),l.length){let c=l.map(es).join("");n=bt(n)?J(`${n.content}${c}`,!0):yt(["(",n,`) + "${c}"`])}return{props:[De(n,a)]}}),jP=(r,e,t)=>{let{exp:i,loc:s}=r;return i||t.onError(Gt(59,s)),{props:[],needRuntime:t.helper(vd)}},VP=(r,e)=>{if(r.type===1&&r.tagType===1&&e.isBuiltInComponent(r.tag)===Wl)return()=>{if(!r.children.length)return;fv(r)&&e.onError(Gt(60,{start:r.children[0].loc.start,end:r.children[r.children.length-1].loc.end,source:""}));let i=r.children[0];if(i.type===1)for(let s of i.props)s.type===7&&s.name==="show"&&r.props.push({type:6,name:"persisted",value:void 0,loc:r.loc})}};function fv(r){let e=r.children=r.children.filter(i=>i.type!==3&&!(i.type===2&&!i.content.trim())),t=e[0];return e.length!==1||t.type===11||t.type===9&&t.branches.some(fv)}var zP=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,HP=(r,e,t)=>{if(e.scopes.vSlot>0)return;let i=0,s=0,n=[],a=u=>{if(i>=20||s>=5){let l=$e(e.helper(kl),[JSON.stringify(n.map(c=>wd(c,e)).join("")).replace(zP,'" + $1 + "'),String(n.length)]);if(ab(n[0],l,e),n.length>1){for(let f=1;f<n.length;f++)ab(n[f],null,e);let c=n.length-1;return r.splice(u-n.length+1,c),c}}return 0},o=0;for(;o<r.length;o++){let u=r[o];if(GP(u)){let c=u,f=KP(c);if(f){i+=f[0],s+=f[1],n.push(c);continue}}o-=a(o),i=0,s=0,n.length=0}a(o)},GP=r=>(r.type===1&&r.tagType===0||r.type==12)&&r.codegenNode&&r.codegenNode.type===4&&r.codegenNode.hoisted,WP=/^(data|aria)-/,nb=(r,e)=>(e===0?eC(r):e===1?tC(r):!1)||WP.test(r),ab=(r,e,t)=>{let i=r.codegenNode.hoisted;t.hoists[t.hoists.indexOf(i)]=e},YP=it("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function KP(r){if(r.type===1&&YP(r.tag))return!1;if(r.type===12)return[1,0];let e=1,t=r.props.length>0?1:0,i=!1,s=()=>(i=!0,!1);function n(a){for(let o=0;o<a.props.length;o++){let u=a.props[o];if(u.type===6&&!nb(u.name,a.ns)||u.type===7&&u.name==="bind"&&(u.arg&&(u.arg.type===8||u.arg.isStatic&&!nb(u.arg.content,a.ns))||u.exp&&(u.exp.type===8||u.exp.constType<3)))return s()}for(let o=0;o<a.children.length;o++){e++;let u=a.children[o];if(u.type===1&&(u.props.length>0&&t++,n(u),i))return!1}return!0}return n(r)?[e,t]:!1}function wd(r,e){if(ve(r))return r;if(So(r))return"";switch(r.type){case 1:return JP(r,e);case 2:return Gi(r.content);case 3:return`<!--${Gi(r.content)}-->`;case 5:return Gi(bp(Xi(r.content)));case 8:return Gi(Xi(r));case 12:return wd(r.content,e);default:return""}}function JP(r,e){let t=`<${r.tag}`,i="";for(let s=0;s<r.props.length;s++){let n=r.props[s];if(n.type===6)t+=` ${n.name}`,n.value&&(t+=`="${Gi(n.value.content)}"`);else if(n.type===7)if(n.name==="bind"){let a=n.exp;if(a.content[0]==="_"){t+=` ${n.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(ZA(n.arg.content)&&a.content==="false")continue;let o=Xi(a);if(o!=null){let u=n.arg&&n.arg.content;u==="class"?o=qb(o):u==="style"&&(o=GA(Fb(o))),t+=` ${n.arg.content}="${Gi(o)}"`}}else n.name==="html"?i=Xi(n.exp):n.name==="text"&&(i=Gi(bp(Xi(n.exp))))}if(e.scopeId&&(t+=` ${e.scopeId}`),t+=">",i)t+=i;else for(let s=0;s<r.children.length;s++)t+=wd(r.children[s],e);return $b(r.tag)||(t+=`</${r.tag}>`),t}function Xi(r){if(r.type===4)return new Function(`return ${r.content}`)();{let e="";return r.children.forEach(t=>{ve(t)||So(t)||(t.type===2?e+=t.content:t.type===5?e+=bp(Xi(t.content)):e+=Xi(t))}),e}}var QP=(r,e)=>{r.type===1&&r.tagType===0&&(r.tag==="script"||r.tag==="style")&&(e.onError(Gt(61,r.loc)),e.removeNode())},Sd=[lv,VP],Ed={cloak:uv,html:LP,text:DP,model:RP,on:$P,show:jP};function XP(r,e={}){return ov(r,Gr({},uo,e,{nodeTransforms:[QP,...Sd,...e.nodeTransforms||[]],directiveTransforms:Gr({},Ed,e.directiveTransforms||{}),transformHoist:HP}))}function ZP(r,e={}){return Kp(r,Gr({},uo,e))}var eI=Object.freeze({__proto__:null,parserOptions:uo,DOMNodeTransforms:Sd,DOMDirectiveTransforms:Ed,compile:XP,parse:ZP,transformStyle:lv,createDOMCompilerError:Gt,V_MODEL_RADIO:pd,V_MODEL_CHECKBOX:dd,V_MODEL_TEXT:md,V_MODEL_SELECT:gd,V_MODEL_DYNAMIC:gl,V_ON_WITH_MODIFIERS:yd,V_ON_WITH_KEYS:bd,V_SHOW:vd,TRANSITION:Wl,TRANSITION_GROUP:xd,baseCompile:ov,baseParse:Kp,transform:Qp,createTransformContext:k2,traverseNode:To,createStructuralDirectiveTransform:_o,generate:q2,createCompilerError:Ae,getBaseTransformPreset:hd,transformModel:fd,transformOn:cd,transformBind:av,noopDirectiveTransform:uv,processIf:ad,processFor:od,createForLoopParams:ml,transformExpression:J2,processExpression:Mt,stringifyExpression:nd,buildSlots:Z2,trackVForSlotScopes:X2,trackSlotScopes:Q2,transformElement:rv,resolveComponentType:iv,buildProps:ld,buildDirectiveArgs:sv,processSlotOutlet:nv,getConstantType:Ot,generateCodeFrame:jA,checkCompatEnabled:Z4,warnDeprecation:_2,locStub:Ge,createRoot:Pp,createVNodeCall:nn,createArrayExpression:Sn,createObjectExpression:kt,createObjectProperty:De,createSimpleExpression:J,createInterpolation:yC,createCompoundExpression:yt,createCallExpression:$e,createFunctionExpression:ts,createConditionalExpression:al,createCacheExpression:Kb,createBlockStatement:Jb,createTemplateLiteral:bC,createIfStatement:vC,createAssignmentExpression:xC,createSequenceExpression:wC,createReturnStatement:SC,isStaticExp:bt,isBuiltInType:bi,isCoreComponent:Hp,isSimpleIdentifier:Si,isMemberExpressionBrowser:K4,isMemberExpressionNode:w2,isMemberExpression:Gp,getInnerRange:Wp,advancePositionWithClone:ss,advancePositionWithMutation:cn,assert:Gh,findDir:Tt,findProp:ns,isStaticArgOf:vi,hasDynamicKeyVBind:S2,isText:Ju,isVSlot:Yp,isTemplateNode:fn,isSlotOutlet:io,getVNodeHelper:as,getVNodeBlockHelper:os,injectProp:so,toValidAssetId:no,hasScopeRef:St,getMemoedVNodeCall:T2,makeBlock:Vl,walkIdentifiers:rd,isReferencedIdentifier:H2,isInDestructureAssignment:id,walkFunctionParams:G2,walkBlockDeclarations:W2,extractIdentifiers:yi,isFunctionType:Y2,isStaticProperty:sd,isStaticPropertyKey:K2,FRAGMENT:rn,TELEPORT:Ys,SUSPENSE:Cl,KEEP_ALIVE:Ha,BASE_TRANSITION:wp,OPEN_BLOCK:xi,CREATE_BLOCK:Sp,CREATE_ELEMENT_BLOCK:Ep,CREATE_VNODE:Pl,CREATE_ELEMENT_VNODE:Il,CREATE_COMMENT:xn,CREATE_TEXT:Nl,CREATE_STATIC:kl,RESOLVE_COMPONENT:Ga,RESOLVE_DYNAMIC_COMPONENT:Wa,RESOLVE_DIRECTIVE:Ol,RESOLVE_FILTER:Wb,WITH_DIRECTIVES:Ml,RENDER_LIST:Ll,RENDER_SLOT:Tp,CREATE_SLOTS:_p,TO_DISPLAY_STRING:Eo,MERGE_PROPS:Ya,NORMALIZE_CLASS:Dl,NORMALIZE_STYLE:Rl,NORMALIZE_PROPS:sn,GUARD_REACTIVE_PROPS:wn,TO_HANDLERS:Bl,CAMELIZE:sl,CAPITALIZE:Yb,TO_HANDLER_KEY:nl,SET_BLOCK_TRACKING:Ka,PUSH_SCOPE_ID:Fl,POP_SCOPE_ID:Ul,WITH_CTX:ql,UNREF:Ja,IS_REF:Qa,WITH_MEMO:$l,IS_MEMO_SAME:Ap,helperNameMap:Et,registerRuntimeHelpers:Cp});function tI(r,e){for(;r.length<e;)r="0"+r;return r}function qr(r,e){var t,i,s;if(e.length===0)return r;for(t=0,s=e.length;t<s;t++)i=e.charCodeAt(t),r=(r<<5)-r+i,r|=0;return r<0?r*-2:r}function rI(r,e,t){return Object.keys(e).sort().reduce(i,r);function i(s,n){return hv(s,e[n],n,t)}}function hv(r,e,t,i){var s=qr(qr(qr(r,t),iI(e)),typeof e);if(e===null)return qr(s,"null");if(e===void 0)return qr(s,"undefined");if(typeof e=="object"||typeof e=="function"){if(i.indexOf(e)!==-1)return qr(s,"[Circular]"+t);i.push(e);var n=rI(s,e,i);if(!("valueOf"in e)||typeof e.valueOf!="function")return n;try{return qr(n,String(e.valueOf()))}catch(a){return qr(n,"[valueOf exception]"+(a.stack||a.message))}}return qr(s,e.toString())}function iI(r){return Object.prototype.toString.call(r)}function sI(r){return tI(hv(0,r,"",[]).toString(16),8)}var nI=sI;function aI(r,e,t){return t?nI(r+e):`${r}-${e.replace(/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g,i=>`\\${i}`)}`}function pv(r){return r=r.trim(),r[0]==="'"&&r[r.length-1]==="'"||r[0]==='"'&&r[r.length-1]==='"'?r.slice(1,-1):r}var el=/v-bind\s*\(/g;function oI(r){let e=[];return r.styles.forEach(t=>{let i,s=t.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;i=el.exec(s);){let n=i.index+i[0].length,a=dv(s,n);if(a!==null){let o=pv(s.slice(n,a));e.includes(o)||e.push(o)}}}),e}function dv(r,e){let t=0,i=0;for(let s=e;s<r.length;s++){let n=r.charAt(s);switch(t){case 0:if(n==="'")t=1;else if(n==='"')t=2;else if(n==="(")i++;else if(n===")")if(i>0)i--;else return s;break;case 1:n==="'"&&(t=0);break;case 2:n==='"'&&(t=0);break}}return null}var uI=r=>{let{id:e,isProd:t}=r;return{postcssPlugin:"vue-sfc-vars",Declaration(i){let s=i.value;if(el.test(s)){el.lastIndex=0;let n="",a=0,o;for(;o=el.exec(s);){let u=o.index+o[0].length,l=dv(s,u);if(l!==null){let c=pv(s.slice(u,l));n+=s.slice(a,o.index)+`var(--${aI(e,c,t)})`,a=l+1}}i.value=n+s.slice(a)}}}};uI.postcss=!0;function mv(r=500){return new Map}var Ei=typeof Ei!="undefined"?Ei:typeof self!="undefined"?self:typeof window!="undefined"?window:{},Er=[],zt=[],lI=typeof Uint8Array!="undefined"?Uint8Array:Array,Td=!1;function gv(){Td=!0;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=r.length;e<t;++e)Er[e]=r[e],zt[r.charCodeAt(e)]=e;zt["-".charCodeAt(0)]=62,zt["_".charCodeAt(0)]=63}function cI(r){Td||gv();var e,t,i,s,n,a,o=r.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");n=r[o-2]==="="?2:r[o-1]==="="?1:0,a=new lI(o*3/4-n),i=n>0?o-4:o;var u=0;for(e=0,t=0;e<i;e+=4,t+=3)s=zt[r.charCodeAt(e)]<<18|zt[r.charCodeAt(e+1)]<<12|zt[r.charCodeAt(e+2)]<<6|zt[r.charCodeAt(e+3)],a[u++]=s>>16&255,a[u++]=s>>8&255,a[u++]=s&255;return n===2?(s=zt[r.charCodeAt(e)]<<2|zt[r.charCodeAt(e+1)]>>4,a[u++]=s&255):n===1&&(s=zt[r.charCodeAt(e)]<<10|zt[r.charCodeAt(e+1)]<<4|zt[r.charCodeAt(e+2)]>>2,a[u++]=s>>8&255,a[u++]=s&255),a}function fI(r){return Er[r>>18&63]+Er[r>>12&63]+Er[r>>6&63]+Er[r&63]}function hI(r,e,t){for(var i,s=[],n=e;n<t;n+=3)i=(r[n]<<16)+(r[n+1]<<8)+r[n+2],s.push(fI(i));return s.join("")}function ob(r){Td||gv();for(var e,t=r.length,i=t%3,s="",n=[],a=16383,o=0,u=t-i;o<u;o+=a)n.push(hI(r,o,o+a>u?u:o+a));return i===1?(e=r[t-1],s+=Er[e>>2],s+=Er[e<<4&63],s+="=="):i===2&&(e=(r[t-2]<<8)+r[t-1],s+=Er[e>>10],s+=Er[e>>4&63],s+=Er[e<<2&63],s+="="),n.push(s),n.join("")}function Yl(r,e,t,i,s){var n,a,o=s*8-i-1,u=(1<<o)-1,l=u>>1,c=-7,f=t?s-1:0,h=t?-1:1,d=r[e+f];for(f+=h,n=d&(1<<-c)-1,d>>=-c,c+=o;c>0;n=n*256+r[e+f],f+=h,c-=8);for(a=n&(1<<-c)-1,n>>=-c,c+=i;c>0;a=a*256+r[e+f],f+=h,c-=8);if(n===0)n=1-l;else{if(n===u)return a?NaN:(d?-1:1)*(1/0);a=a+Math.pow(2,i),n=n-l}return(d?-1:1)*a*Math.pow(2,n-i)}function yv(r,e,t,i,s,n){var a,o,u,l=n*8-s-1,c=(1<<l)-1,f=c>>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:n-1,w=i?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?e+=h/u:e+=h*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=c?(o=0,a=c):a+f>=1?(o=(e*u-1)*Math.pow(2,s),a=a+f):(o=e*Math.pow(2,f-1)*Math.pow(2,s),a=0));s>=8;r[t+d]=o&255,d+=w,o/=256,s-=8);for(a=a<<s|o,l+=s;l>0;r[t+d]=a&255,d+=w,a/=256,l-=8);r[t+d-w]|=v*128}var pI={}.toString,bv=Array.isArray||function(r){return pI.call(r)=="[object Array]"};var dI=50;M.TYPED_ARRAY_SUPPORT=Ei.TYPED_ARRAY_SUPPORT!==void 0?Ei.TYPED_ARRAY_SUPPORT:!0;function tp(){return M.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Vr(r,e){if(tp()<e)throw new RangeError("Invalid typed array length");return M.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e),r.__proto__=M.prototype):(r===null&&(r=new M(e)),r.length=e),r}function M(r,e,t){if(!M.TYPED_ARRAY_SUPPORT&&!(this instanceof M))return new M(r,e,t);if(typeof r=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return _d(this,r)}return vv(this,r,e,t)}M.poolSize=8192;M._augment=function(r){return r.__proto__=M.prototype,r};function vv(r,e,t,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?yI(r,e,t,i):typeof e=="string"?gI(r,e,t):bI(r,e)}M.from=function(r,e,t){return vv(null,r,e,t)};M.TYPED_ARRAY_SUPPORT&&(M.prototype.__proto__=Uint8Array.prototype,M.__proto__=Uint8Array);function xv(r){if(typeof r!="number")throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function mI(r,e,t,i){return xv(e),e<=0?Vr(r,e):t!==void 0?typeof i=="string"?Vr(r,e).fill(t,i):Vr(r,e).fill(t):Vr(r,e)}M.alloc=function(r,e,t){return mI(null,r,e,t)};function _d(r,e){if(xv(e),r=Vr(r,e<0?0:Ad(e)|0),!M.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)r[t]=0;return r}M.allocUnsafe=function(r){return _d(null,r)};M.allocUnsafeSlow=function(r){return _d(null,r)};function gI(r,e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!M.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=wv(e,t)|0;r=Vr(r,i);var s=r.write(e,t);return s!==i&&(r=r.slice(0,s)),r}function rp(r,e){var t=e.length<0?0:Ad(e.length)|0;r=Vr(r,t);for(var i=0;i<t;i+=1)r[i]=e[i]&255;return r}function yI(r,e,t,i){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");return t===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,t):e=new Uint8Array(e,t,i),M.TYPED_ARRAY_SUPPORT?(r=e,r.__proto__=M.prototype):r=rp(r,e),r}function bI(r,e){if(Pr(e)){var t=Ad(e.length)|0;return r=Vr(r,t),r.length===0||e.copy(r,0,0,t),r}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||BI(e.length)?Vr(r,0):rp(r,e);if(e.type==="Buffer"&&bv(e.data))return rp(r,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Ad(r){if(r>=tp())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+tp().toString(16)+" bytes");return r|0}M.isBuffer=FI;function Pr(r){return!!(r!=null&&r._isBuffer)}M.compare=function(e,t){if(!Pr(e)||!Pr(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,s=t.length,n=0,a=Math.min(i,s);n<a;++n)if(e[n]!==t[n]){i=e[n],s=t[n];break}return i<s?-1:s<i?1:0};M.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};M.concat=function(e,t){if(!bv(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return M.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var s=M.allocUnsafe(t),n=0;for(i=0;i<e.length;++i){var a=e[i];if(!Pr(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(s,n),n+=a.length}return s};function wv(r,e){if(Pr(r))return r.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;typeof r!="string"&&(r=""+r);var t=r.length;if(t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return yl(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Pv(r).length;default:if(i)return yl(r).length;e=(""+e).toLowerCase(),i=!0}}M.byteLength=wv;function vI(r,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return II(this,e,t);case"utf8":case"utf-8":return Tv(this,e,t);case"ascii":return CI(this,e,t);case"latin1":case"binary":return PI(this,e,t);case"base64":return _I(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return NI(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),i=!0}}M.prototype._isBuffer=!0;function Ki(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}M.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Ki(this,t,t+1);return this};M.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Ki(this,t,t+3),Ki(this,t+1,t+2);return this};M.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Ki(this,t,t+7),Ki(this,t+1,t+6),Ki(this,t+2,t+5),Ki(this,t+3,t+4);return this};M.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?Tv(this,0,e):vI.apply(this,arguments)};M.prototype.equals=function(e){if(!Pr(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:M.compare(this,e)===0};M.prototype.inspect=function(){var e="",t=dI;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"};M.prototype.compare=function(e,t,i,s,n){if(!Pr(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),i===void 0&&(i=e?e.length:0),s===void 0&&(s=0),n===void 0&&(n=this.length),t<0||i>e.length||s<0||n>this.length)throw new RangeError("out of range index");if(s>=n&&t>=i)return 0;if(s>=n)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,s>>>=0,n>>>=0,this===e)return 0;for(var a=n-s,o=i-t,u=Math.min(a,o),l=this.slice(s,n),c=e.slice(t,i),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],o=c[f];break}return a<o?-1:o<a?1:0};function Sv(r,e,t,i,s){if(r.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=s?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(s)return-1;t=r.length-1}else if(t<0)if(s)t=0;else return-1;if(typeof e=="string"&&(e=M.from(e,i)),Pr(e))return e.length===0?-1:ub(r,e,t,i,s);if(typeof e=="number")return e=e&255,M.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ub(r,[e],t,i,s);throw new TypeError("val must be string, number or Buffer")}function ub(r,e,t,i,s){var n=1,a=r.length,o=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(r.length<2||e.length<2)return-1;n=2,a/=2,o/=2,t/=2}function u(d,w){return n===1?d[w]:d.readUInt16BE(w*n)}var l;if(s){var c=-1;for(l=t;l<a;l++)if(u(r,l)===u(e,c===-1?0:l-c)){if(c===-1&&(c=l),l-c+1===o)return c*n}else c!==-1&&(l-=l-c),c=-1}else for(t+o>a&&(t=a-o),l=t;l>=0;l--){for(var f=!0,h=0;h<o;h++)if(u(r,l+h)!==u(e,h)){f=!1;break}if(f)return l}return-1}M.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1};M.prototype.indexOf=function(e,t,i){return Sv(this,e,t,i,!0)};M.prototype.lastIndexOf=function(e,t,i){return Sv(this,e,t,i,!1)};function xI(r,e,t,i){t=Number(t)||0;var s=r.length-t;i?(i=Number(i),i>s&&(i=s)):i=s;var n=e.length;if(n%2!==0)throw new TypeError("Invalid hex string");i>n/2&&(i=n/2);for(var a=0;a<i;++a){var o=parseInt(e.substr(a*2,2),16);if(isNaN(o))return a;r[t+a]=o}return a}function wI(r,e,t,i){return Ql(yl(e,r.length-t),r,t,i)}function Ev(r,e,t,i){return Ql(DI(e),r,t,i)}function SI(r,e,t,i){return Ev(r,e,t,i)}function EI(r,e,t,i){return Ql(Pv(e),r,t,i)}function TI(r,e,t,i){return Ql(RI(e,r.length-t),r,t,i)}M.prototype.write=function(e,t,i,s){if(t===void 0)s="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")s=t,i=this.length,t=0;else if(isFinite(t))t=t|0,isFinite(i)?(i=i|0,s===void 0&&(s="utf8")):(s=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n=this.length-t;if((i===void 0||i>n)&&(i=n),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var a=!1;;)switch(s){case"hex":return xI(this,e,t,i);case"utf8":case"utf-8":return wI(this,e,t,i);case"ascii":return Ev(this,e,t,i);case"latin1":case"binary":return SI(this,e,t,i);case"base64":return EI(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return TI(this,e,t,i);default:if(a)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),a=!0}};M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _I(r,e,t){return e===0&&t===r.length?ob(r):ob(r.slice(e,t))}function Tv(r,e,t){t=Math.min(r.length,t);for(var i=[],s=e;s<t;){var n=r[s],a=null,o=n>239?4:n>223?3:n>191?2:1;if(s+o<=t){var u,l,c,f;switch(o){case 1:n<128&&(a=n);break;case 2:u=r[s+1],(u&192)===128&&(f=(n&31)<<6|u&63,f>127&&(a=f));break;case 3:u=r[s+1],l=r[s+2],(u&192)===128&&(l&192)===128&&(f=(n&15)<<12|(u&63)<<6|l&63,f>2047&&(f<55296||f>57343)&&(a=f));break;case 4:u=r[s+1],l=r[s+2],c=r[s+3],(u&192)===128&&(l&192)===128&&(c&192)===128&&(f=(n&15)<<18|(u&63)<<12|(l&63)<<6|c&63,f>65535&&f<1114112&&(a=f))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|a&1023),i.push(a),s+=o}return AI(i)}var lb=4096;function AI(r){var e=r.length;if(e<=lb)return String.fromCharCode.apply(String,r);for(var t="",i=0;i<e;)t+=String.fromCharCode.apply(String,r.slice(i,i+=lb));return t}function CI(r,e,t){var i="";t=Math.min(r.length,t);for(var s=e;s<t;++s)i+=String.fromCharCode(r[s]&127);return i}function PI(r,e,t){var i="";t=Math.min(r.length,t);for(var s=e;s<t;++s)i+=String.fromCharCode(r[s]);return i}function II(r,e,t){var i=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var s="",n=e;n<t;++n)s+=LI(r[n]);return s}function NI(r,e,t){for(var i=r.slice(e,t),s="",n=0;n<i.length;n+=2)s+=String.fromCharCode(i[n]+i[n+1]*256);return s}M.prototype.slice=function(e,t){var i=this.length;e=~~e,t=t===void 0?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e);var s;if(M.TYPED_ARRAY_SUPPORT)s=this.subarray(e,t),s.__proto__=M.prototype;else{var n=t-e;s=new M(n,void 0);for(var a=0;a<n;++a)s[a]=this[a+e]}return s};function st(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}M.prototype.readUIntLE=function(e,t,i){e=e|0,t=t|0,i||st(e,t,this.length);for(var s=this[e],n=1,a=0;++a<t&&(n*=256);)s+=this[e+a]*n;return s};M.prototype.readUIntBE=function(e,t,i){e=e|0,t=t|0,i||st(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s};M.prototype.readUInt8=function(e,t){return t||st(e,1,this.length),this[e]};M.prototype.readUInt16LE=function(e,t){return t||st(e,2,this.length),this[e]|this[e+1]<<8};M.prototype.readUInt16BE=function(e,t){return t||st(e,2,this.length),this[e]<<8|this[e+1]};M.prototype.readUInt32LE=function(e,t){return t||st(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};M.prototype.readUInt32BE=function(e,t){return t||st(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};M.prototype.readIntLE=function(e,t,i){e=e|0,t=t|0,i||st(e,t,this.length);for(var s=this[e],n=1,a=0;++a<t&&(n*=256);)s+=this[e+a]*n;return n*=128,s>=n&&(s-=Math.pow(2,8*t)),s};M.prototype.readIntBE=function(e,t,i){e=e|0,t=t|0,i||st(e,t,this.length);for(var s=t,n=1,a=this[e+--s];s>0&&(n*=256);)a+=this[e+--s]*n;return n*=128,a>=n&&(a-=Math.pow(2,8*t)),a};M.prototype.readInt8=function(e,t){return t||st(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};M.prototype.readInt16LE=function(e,t){t||st(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};M.prototype.readInt16BE=function(e,t){t||st(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};M.prototype.readInt32LE=function(e,t){return t||st(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};M.prototype.readInt32BE=function(e,t){return t||st(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};M.prototype.readFloatLE=function(e,t){return t||st(e,4,this.length),Yl(this,e,!0,23,4)};M.prototype.readFloatBE=function(e,t){return t||st(e,4,this.length),Yl(this,e,!1,23,4)};M.prototype.readDoubleLE=function(e,t){return t||st(e,8,this.length),Yl(this,e,!0,52,8)};M.prototype.readDoubleBE=function(e,t){return t||st(e,8,this.length),Yl(this,e,!1,52,8)};function _t(r,e,t,i,s,n){if(!Pr(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||e<n)throw new RangeError('"value" argument is out of bounds');if(t+i>r.length)throw new RangeError("Index out of range")}M.prototype.writeUIntLE=function(e,t,i,s){if(e=+e,t=t|0,i=i|0,!s){var n=Math.pow(2,8*i)-1;_t(this,e,t,i,n,0)}var a=1,o=0;for(this[t]=e&255;++o<i&&(a*=256);)this[t+o]=e/a&255;return t+i};M.prototype.writeUIntBE=function(e,t,i,s){if(e=+e,t=t|0,i=i|0,!s){var n=Math.pow(2,8*i)-1;_t(this,e,t,i,n,0)}var a=i-1,o=1;for(this[t+a]=e&255;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+i};M.prototype.writeUInt8=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,1,255,0),M.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};function Kl(r,e,t,i){e<0&&(e=65535+e+1);for(var s=0,n=Math.min(r.length-t,2);s<n;++s)r[t+s]=(e&255<<8*(i?s:1-s))>>>(i?s:1-s)*8}M.prototype.writeUInt16LE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,2,65535,0),M.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Kl(this,e,t,!0),t+2};M.prototype.writeUInt16BE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,2,65535,0),M.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Kl(this,e,t,!1),t+2};function Jl(r,e,t,i){e<0&&(e=4294967295+e+1);for(var s=0,n=Math.min(r.length-t,4);s<n;++s)r[t+s]=e>>>(i?s:3-s)*8&255}M.prototype.writeUInt32LE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,4,4294967295,0),M.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):Jl(this,e,t,!0),t+4};M.prototype.writeUInt32BE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,4,4294967295,0),M.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Jl(this,e,t,!1),t+4};M.prototype.writeIntLE=function(e,t,i,s){if(e=+e,t=t|0,!s){var n=Math.pow(2,8*i-1);_t(this,e,t,i,n-1,-n)}var a=0,o=1,u=0;for(this[t]=e&255;++a<i&&(o*=256);)e<0&&u===0&&this[t+a-1]!==0&&(u=1),this[t+a]=(e/o>>0)-u&255;return t+i};M.prototype.writeIntBE=function(e,t,i,s){if(e=+e,t=t|0,!s){var n=Math.pow(2,8*i-1);_t(this,e,t,i,n-1,-n)}var a=i-1,o=1,u=0;for(this[t+a]=e&255;--a>=0&&(o*=256);)e<0&&u===0&&this[t+a+1]!==0&&(u=1),this[t+a]=(e/o>>0)-u&255;return t+i};M.prototype.writeInt8=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,1,127,-128),M.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1};M.prototype.writeInt16LE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,2,32767,-32768),M.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Kl(this,e,t,!0),t+2};M.prototype.writeInt16BE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,2,32767,-32768),M.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Kl(this,e,t,!1),t+2};M.prototype.writeInt32LE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,4,2147483647,-2147483648),M.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Jl(this,e,t,!0),t+4};M.prototype.writeInt32BE=function(e,t,i){return e=+e,t=t|0,i||_t(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),M.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):Jl(this,e,t,!1),t+4};function _v(r,e,t,i,s,n){if(t+i>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Av(r,e,t,i,s){return s||_v(r,e,t,4),yv(r,e,t,i,23,4),t+4}M.prototype.writeFloatLE=function(e,t,i){return Av(this,e,t,!0,i)};M.prototype.writeFloatBE=function(e,t,i){return Av(this,e,t,!1,i)};function Cv(r,e,t,i,s){return s||_v(r,e,t,8),yv(r,e,t,i,52,8),t+8}M.prototype.writeDoubleLE=function(e,t,i){return Cv(this,e,t,!0,i)};M.prototype.writeDoubleBE=function(e,t,i){return Cv(this,e,t,!1,i)};M.prototype.copy=function(e,t,i,s){if(i||(i=0),!s&&s!==0&&(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<i&&(s=i),s===i||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-i&&(s=e.length-t+i);var n=s-i,a;if(this===e&&i<t&&t<s)for(a=n-1;a>=0;--a)e[a+t]=this[a+i];else if(n<1e3||!M.TYPED_ARRAY_SUPPORT)for(a=0;a<n;++a)e[a+t]=this[a+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+n),t);return n};M.prototype.fill=function(e,t,i,s){if(typeof e=="string"){if(typeof t=="string"?(s=t,t=0,i=this.length):typeof i=="string"&&(s=i,i=this.length),e.length===1){var n=e.charCodeAt(0);n<256&&(e=n)}if(s!==void 0&&typeof s!="string")throw new TypeError("encoding must be a string");if(typeof s=="string"&&!M.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}else typeof e=="number"&&(e=e&255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var a;if(typeof e=="number")for(a=t;a<i;++a)this[a]=e;else{var o=Pr(e)?e:yl(new M(e,s).toString()),u=o.length;for(a=0;a<i-t;++a)this[a+t]=o[a%u]}return this};var kI=/[^+\/0-9A-Za-z-_]/g;function OI(r){if(r=MI(r).replace(kI,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function MI(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}function LI(r){return r<16?"0"+r.toString(16):r.toString(16)}function yl(r,e){e=e||1/0;for(var t,i=r.length,s=null,n=[],a=0;a<i;++a){if(t=r.charCodeAt(a),t>55295&&t<57344){if(!s){if(t>56319){(e-=3)>-1&&n.push(239,191,189);continue}else if(a+1===i){(e-=3)>-1&&n.push(239,191,189);continue}s=t;continue}if(t<56320){(e-=3)>-1&&n.push(239,191,189),s=t;continue}t=(s-55296<<10|t-56320)+65536}else s&&(e-=3)>-1&&n.push(239,191,189);if(s=null,t<128){if((e-=1)<0)break;n.push(t)}else if(t<2048){if((e-=2)<0)break;n.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;n.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;n.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return n}function DI(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function RI(r,e){for(var t,i,s,n=[],a=0;a<r.length&&!((e-=2)<0);++a)t=r.charCodeAt(a),i=t>>8,s=t%256,n.push(s),n.push(i);return n}function Pv(r){return cI(OI(r))}function Ql(r,e,t,i){for(var s=0;s<i&&!(s+t>=e.length||s>=r.length);++s)e[s+t]=r[s];return s}function BI(r){return r!==r}function FI(r){return r!=null&&(!!r._isBuffer||Iv(r)||UI(r))}function Iv(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function UI(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&Iv(r.slice(0,0))}var qI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function $I(r){for(var e=0,t=0,i=0,s=0,n="",a=0;a<r.length;a++){var o=r[a];if(a>0&&(n+=";"),o.length!==0){for(var u=0,l=[],c=0,f=o;c<f.length;c++){var h=f[c],d=Na(h[0]-u);u=h[0],h.length>1&&(d+=Na(h[1]-e)+Na(h[2]-t)+Na(h[3]-i),e=h[1],t=h[2],i=h[3]),h.length===5&&(d+=Na(h[4]-s),s=h[4]),l.push(d)}n+=l.join(",")}}return n}function Na(r){var e="";r=r<0?-r<<1|1:r<<1;do{var t=r&31;r>>>=5,r>0&&(t|=32),e+=qI[t]}while(r>0);return e}var Xl=function r(e){this.bits=e instanceof r?e.bits.slice():[]};Xl.prototype.add=function(e){this.bits[e>>5]|=1<<(e&31)};Xl.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(e&31))};var ot=function(e,t,i){this.start=e,this.end=t,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};ot.prototype.appendLeft=function(e){this.outro+=e};ot.prototype.appendRight=function(e){this.intro=this.intro+e};ot.prototype.clone=function(){var e=new ot(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e};ot.prototype.contains=function(e){return this.start<e&&e<this.end};ot.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next};ot.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous};ot.prototype.edit=function(e,t,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this};ot.prototype.prependLeft=function(e){this.outro=e+this.outro};ot.prototype.prependRight=function(e){this.intro=e+this.intro};ot.prototype.split=function(e){var t=e-this.start,i=this.original.slice(0,t),s=this.original.slice(t);this.original=i;var n=new ot(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=i,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n};ot.prototype.toString=function(){return this.intro+this.content+this.outro};ot.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");if(t.length)return t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0};ot.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");if(t.length)return t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0};var ip=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window!="undefined"&&typeof window.btoa=="function"?ip=function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof M=="function"&&(ip=function(r){return M.from(r,"utf-8").toString("base64")});var Cd=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=$I(e.mappings)};Cd.prototype.toString=function(){return JSON.stringify(this)};Cd.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+ip(this.toString())};function jI(r){var e=r.split(`
|
|
@@ -57,7 +57,7 @@ const ${r.helpers.map(l=>`_${Et[l]} = ${Et[l]}`).join(", ")}
|
|
|
57
57
|
`)>=0,s+n.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?t[0]+(e===""?"":e+`
|
|
58
58
|
`)+" "+r.join(`,
|
|
59
59
|
`)+" "+t[1]:t[0]+e+" "+r.join(", ")+" "+t[1]}function Md(r){return Array.isArray(r)}function tc(r){return typeof r=="boolean"}function Hr(r){return r===null}function Ld(r){return r==null}function Dd(r){return typeof r=="number"}function Ti(r){return typeof r=="string"}function Wv(r){return typeof r=="symbol"}function Tr(r){return r===void 0}function $a(r){return Zr(r)&&Rd(r)==="[object RegExp]"}function Zr(r){return typeof r=="object"&&r!==null}function xl(r){return Zr(r)&&Rd(r)==="[object Date]"}function ja(r){return Zr(r)&&(Rd(r)==="[object Error]"||r instanceof Error)}function Va(r){return typeof r=="function"}function Yv(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||typeof r=="undefined"}function Kv(r){return M.isBuffer(r)}function Rd(r){return Object.prototype.toString.call(r)}function yh(r){return r<10?"0"+r.toString(10):r.toString(10)}var z8=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H8(){var r=new Date,e=[yh(r.getHours()),yh(r.getMinutes()),yh(r.getSeconds())].join(":");return[r.getDate(),z8[r.getMonth()],e].join(" ")}function Jv(){console.log("%s - %s",H8(),ec.apply(null,arguments))}function Bd(r,e){if(!e||!Zr(e))return r;for(var t=Object.keys(e),i=t.length;i--;)r[t[i]]=e[t[i]];return r}function Qv(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var G8={inherits:Hv,_extend:Bd,log:Jv,isBuffer:Kv,isPrimitive:Yv,isFunction:Va,isError:ja,isDate:xl,isObject:Zr,isRegExp:$a,isUndefined:Tr,isSymbol:Wv,isString:Ti,isNumber:Dd,isNullOrUndefined:Ld,isNull:Hr,isBoolean:tc,isArray:Md,inspect:Cr,deprecate:Od,format:ec,debuglog:Gv},W8=Object.freeze({__proto__:null,format:ec,deprecate:Od,debuglog:Gv,inspect:Cr,isArray:Md,isBoolean:tc,isNull:Hr,isNullOrUndefined:Ld,isNumber:Dd,isString:Ti,isSymbol:Wv,isUndefined:Tr,isRegExp:$a,isObject:Zr,isDate:xl,isError:ja,isFunction:Va,isPrimitive:Yv,isBuffer:Kv,log:Jv,inherits:Hv,_extend:Bd,default:G8});function Y8(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var Xv=Array.isArray||function(r){return Object.prototype.toString.call(r)==="[object Array]"};function Oa(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}}function K8(r,e,t,i){return e=e||"&",t=t||"=",r===null&&(r=void 0),typeof r=="object"?hb(J8(r),function(s){var n=encodeURIComponent(Oa(s))+t;return Xv(r[s])?hb(r[s],function(a){return n+encodeURIComponent(Oa(a))}).join(e):n+encodeURIComponent(Oa(r[s]))}).join(e):i?encodeURIComponent(Oa(i))+t+encodeURIComponent(Oa(r)):""}function hb(r,e){if(r.map)return r.map(e);for(var t=[],i=0;i<r.length;i++)t.push(e(r[i],i));return t}var J8=Object.keys||function(r){var e=[];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e};function pb(r,e,t,i){e=e||"&",t=t||"=";var s={};if(typeof r!="string"||r.length===0)return s;var n=/\+/g;r=r.split(e);var a=1e3;i&&typeof i.maxKeys=="number"&&(a=i.maxKeys);var o=r.length;a>0&&o>a&&(o=a);for(var u=0;u<o;++u){var l=r[u].replace(n,"%20"),c=l.indexOf(t),f,h,d,w;c>=0?(f=l.substr(0,c),h=l.substr(c+1)):(f=l,h=""),d=decodeURIComponent(f),w=decodeURIComponent(h),Y8(s,d)?Xv(s[d])?s[d].push(w):s[d]=[s[d],w]:s[d]=w}return s}var Q8={parse:Po,resolve:tx,resolveObject:rx,format:ex,Url:ur};function ur(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var X8=/^([a-z0-9.+-]+:)/i,Z8=/:[0-9]*$/,eN=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,tN=["<",">",'"',"`"," ","\r",`
|
|
60
|
-
`," "],rN=["{","}","|","\\","^","`"].concat(tN),op=["'"].concat(rN),db=["%","/","?",";","#"].concat(op),mb=["/","?","#"],iN=255,gb=/^[+a-z0-9A-Z_-]{0,63}$/,sN=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,nN={javascript:!0,"javascript:":!0},up={javascript:!0,"javascript:":!0},tn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Po(r,e,t){if(r&&Zr(r)&&r instanceof ur)return r;var i=new ur;return i.parse(r,e,t),i}ur.prototype.parse=function(r,e,t){return Zv(this,r,e,t)};function Zv(r,e,t,i){if(!Ti(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),n=s!==-1&&s<e.indexOf("#")?"?":"#",a=e.split(n),o=/\\/g;a[0]=a[0].replace(o,"/"),e=a.join(n);var u=e;if(u=u.trim(),!i&&e.split("#").length===1){var l=eN.exec(u);if(l)return r.path=u,r.href=u,r.pathname=l[1],l[2]?(r.search=l[2],t?r.query=pb(r.search.substr(1)):r.query=r.search.substr(1)):t&&(r.search="",r.query={}),r}var c=X8.exec(u);if(c){c=c[0];var f=c.toLowerCase();r.protocol=f,u=u.substr(c.length)}if(i||c||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var h=u.substr(0,2)==="//";h&&!(c&&up[c])&&(u=u.substr(2),r.slashes=!0)}var d,w,v,x;if(!up[c]&&(h||c&&!tn[c])){var m=-1;for(d=0;d<mb.length;d++)w=u.indexOf(mb[d]),w!==-1&&(m===-1||w<m)&&(m=w);var S,g;for(m===-1?g=u.lastIndexOf("@"):g=u.lastIndexOf("@",m),g!==-1&&(S=u.slice(0,g),u=u.slice(g+1),r.auth=decodeURIComponent(S)),m=-1,d=0;d<db.length;d++)w=u.indexOf(db[d]),w!==-1&&(m===-1||w<m)&&(m=w);m===-1&&(m=u.length),r.host=u.slice(0,m),u=u.slice(m),ix(r),r.hostname=r.hostname||"";var b=r.hostname[0]==="["&&r.hostname[r.hostname.length-1]==="]";if(!b){var p=r.hostname.split(/\./);for(d=0,v=p.length;d<v;d++){var y=p[d];if(!!y&&!y.match(gb)){for(var _="",A=0,E=y.length;A<E;A++)y.charCodeAt(A)>127?_+="x":_+=y[A];if(!_.match(gb)){var T=p.slice(0,d),I=p.slice(d+1),P=y.match(sN);P&&(T.push(P[1]),I.unshift(P[2])),I.length&&(u="/"+I.join(".")+u),r.hostname=T.join(".");break}}}}r.hostname.length>iN?r.hostname="":r.hostname=r.hostname.toLowerCase(),b||(r.hostname=l8(r.hostname)),x=r.port?":"+r.port:"";var z=r.hostname||"";r.host=z+x,r.href+=r.host,b&&(r.hostname=r.hostname.substr(1,r.hostname.length-2),u[0]!=="/"&&(u="/"+u))}if(!nN[f])for(d=0,v=op.length;d<v;d++){var H=op[d];if(u.indexOf(H)!==-1){var
|
|
60
|
+
`," "],rN=["{","}","|","\\","^","`"].concat(tN),op=["'"].concat(rN),db=["%","/","?",";","#"].concat(op),mb=["/","?","#"],iN=255,gb=/^[+a-z0-9A-Z_-]{0,63}$/,sN=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,nN={javascript:!0,"javascript:":!0},up={javascript:!0,"javascript:":!0},tn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Po(r,e,t){if(r&&Zr(r)&&r instanceof ur)return r;var i=new ur;return i.parse(r,e,t),i}ur.prototype.parse=function(r,e,t){return Zv(this,r,e,t)};function Zv(r,e,t,i){if(!Ti(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),n=s!==-1&&s<e.indexOf("#")?"?":"#",a=e.split(n),o=/\\/g;a[0]=a[0].replace(o,"/"),e=a.join(n);var u=e;if(u=u.trim(),!i&&e.split("#").length===1){var l=eN.exec(u);if(l)return r.path=u,r.href=u,r.pathname=l[1],l[2]?(r.search=l[2],t?r.query=pb(r.search.substr(1)):r.query=r.search.substr(1)):t&&(r.search="",r.query={}),r}var c=X8.exec(u);if(c){c=c[0];var f=c.toLowerCase();r.protocol=f,u=u.substr(c.length)}if(i||c||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var h=u.substr(0,2)==="//";h&&!(c&&up[c])&&(u=u.substr(2),r.slashes=!0)}var d,w,v,x;if(!up[c]&&(h||c&&!tn[c])){var m=-1;for(d=0;d<mb.length;d++)w=u.indexOf(mb[d]),w!==-1&&(m===-1||w<m)&&(m=w);var S,g;for(m===-1?g=u.lastIndexOf("@"):g=u.lastIndexOf("@",m),g!==-1&&(S=u.slice(0,g),u=u.slice(g+1),r.auth=decodeURIComponent(S)),m=-1,d=0;d<db.length;d++)w=u.indexOf(db[d]),w!==-1&&(m===-1||w<m)&&(m=w);m===-1&&(m=u.length),r.host=u.slice(0,m),u=u.slice(m),ix(r),r.hostname=r.hostname||"";var b=r.hostname[0]==="["&&r.hostname[r.hostname.length-1]==="]";if(!b){var p=r.hostname.split(/\./);for(d=0,v=p.length;d<v;d++){var y=p[d];if(!!y&&!y.match(gb)){for(var _="",A=0,E=y.length;A<E;A++)y.charCodeAt(A)>127?_+="x":_+=y[A];if(!_.match(gb)){var T=p.slice(0,d),I=p.slice(d+1),P=y.match(sN);P&&(T.push(P[1]),I.unshift(P[2])),I.length&&(u="/"+I.join(".")+u),r.hostname=T.join(".");break}}}}r.hostname.length>iN?r.hostname="":r.hostname=r.hostname.toLowerCase(),b||(r.hostname=l8(r.hostname)),x=r.port?":"+r.port:"";var z=r.hostname||"";r.host=z+x,r.href+=r.host,b&&(r.hostname=r.hostname.substr(1,r.hostname.length-2),u[0]!=="/"&&(u="/"+u))}if(!nN[f])for(d=0,v=op.length;d<v;d++){var H=op[d];if(u.indexOf(H)!==-1){var Z=encodeURIComponent(H);Z===H&&(Z=escape(H)),u=u.split(H).join(Z)}}var oe=u.indexOf("#");oe!==-1&&(r.hash=u.substr(oe),u=u.slice(0,oe));var Q=u.indexOf("?");if(Q!==-1?(r.search=u.substr(Q),r.query=u.substr(Q+1),t&&(r.query=pb(r.query)),u=u.slice(0,Q)):t&&(r.search="",r.query={}),u&&(r.pathname=u),tn[f]&&r.hostname&&!r.pathname&&(r.pathname="/"),r.pathname||r.search){x=r.pathname||"";var Ze=r.search||"";r.path=x+Ze}return r.href=Fd(r),r}function ex(r){return Ti(r)&&(r=Zv({},r)),Fd(r)}function Fd(r){var e=r.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=r.protocol||"",i=r.pathname||"",s=r.hash||"",n=!1,a="";r.host?n=e+r.host:r.hostname&&(n=e+(r.hostname.indexOf(":")===-1?r.hostname:"["+this.hostname+"]"),r.port&&(n+=":"+r.port)),r.query&&Zr(r.query)&&Object.keys(r.query).length&&(a=K8(r.query));var o=r.search||a&&"?"+a||"";return t&&t.substr(-1)!==":"&&(t+=":"),r.slashes||(!t||tn[t])&&n!==!1?(n="//"+(n||""),i&&i.charAt(0)!=="/"&&(i="/"+i)):n||(n=""),s&&s.charAt(0)!=="#"&&(s="#"+s),o&&o.charAt(0)!=="?"&&(o="?"+o),i=i.replace(/[?#]/g,function(u){return encodeURIComponent(u)}),o=o.replace("#","%23"),t+n+i+o+s}ur.prototype.format=function(){return Fd(this)};function tx(r,e){return Po(r,!1,!0).resolve(e)}ur.prototype.resolve=function(r){return this.resolveObject(Po(r,!1,!0)).format()};function rx(r,e){return r?Po(r,!1,!0).resolveObject(e):e}ur.prototype.resolveObject=function(r){if(Ti(r)){var e=new ur;e.parse(r,!1,!0),r=e}for(var t=new ur,i=Object.keys(this),s=0;s<i.length;s++){var n=i[s];t[n]=this[n]}if(t.hash=r.hash,r.href==="")return t.href=t.format(),t;if(r.slashes&&!r.protocol){for(var a=Object.keys(r),o=0;o<a.length;o++){var u=a[o];u!=="protocol"&&(t[u]=r[u])}return tn[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}var l;if(r.protocol&&r.protocol!==t.protocol){if(!tn[r.protocol]){for(var c=Object.keys(r),f=0;f<c.length;f++){var h=c[f];t[h]=r[h]}return t.href=t.format(),t}if(t.protocol=r.protocol,!r.host&&!up[r.protocol]){for(l=(r.pathname||"").split("/");l.length&&!(r.host=l.shift()););r.host||(r.host=""),r.hostname||(r.hostname=""),l[0]!==""&&l.unshift(""),l.length<2&&l.unshift(""),t.pathname=l.join("/")}else t.pathname=r.pathname;if(t.search=r.search,t.query=r.query,t.host=r.host||"",t.auth=r.auth,t.hostname=r.hostname||r.host,t.port=r.port,t.pathname||t.search){var d=t.pathname||"",w=t.search||"";t.path=d+w}return t.slashes=t.slashes||r.slashes,t.href=t.format(),t}var v=t.pathname&&t.pathname.charAt(0)==="/",x=r.host||r.pathname&&r.pathname.charAt(0)==="/",m=x||v||t.host&&r.pathname,S=m,g=t.pathname&&t.pathname.split("/")||[],b=t.protocol&&!tn[t.protocol];l=r.pathname&&r.pathname.split("/")||[],b&&(t.hostname="",t.port=null,t.host&&(g[0]===""?g[0]=t.host:g.unshift(t.host)),t.host="",r.protocol&&(r.hostname=null,r.port=null,r.host&&(l[0]===""?l[0]=r.host:l.unshift(r.host)),r.host=null),m=m&&(l[0]===""||g[0]===""));var p;if(x)t.host=r.host||r.host===""?r.host:t.host,t.hostname=r.hostname||r.hostname===""?r.hostname:t.hostname,t.search=r.search,t.query=r.query,g=l;else if(l.length)g||(g=[]),g.pop(),g=g.concat(l),t.search=r.search,t.query=r.query;else if(!Ld(r.search))return b&&(t.hostname=t.host=g.shift(),p=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1,p&&(t.auth=p.shift(),t.host=t.hostname=p.shift())),t.search=r.search,t.query=r.query,(!Hr(t.pathname)||!Hr(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!g.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var y=g.slice(-1)[0],_=(t.host||r.host||g.length>1)&&(y==="."||y==="..")||y==="",A=0,E=g.length;E>=0;E--)y=g[E],y==="."?g.splice(E,1):y===".."?(g.splice(E,1),A++):A&&(g.splice(E,1),A--);if(!m&&!S)for(;A--;A)g.unshift("..");m&&g[0]!==""&&(!g[0]||g[0].charAt(0)!=="/")&&g.unshift(""),_&&g.join("/").substr(-1)!=="/"&&g.push("");var T=g[0]===""||g[0]&&g[0].charAt(0)==="/";return b&&(t.hostname=t.host=T?"":g.length?g.shift():"",p=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1,p&&(t.auth=p.shift(),t.host=t.hostname=p.shift())),m=m||t.host&&g.length,m&&!T&&g.unshift(""),g.length?t.pathname=g.join("/"):(t.pathname=null,t.path=null),(!Hr(t.pathname)||!Hr(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=r.auth||t.auth,t.slashes=t.slashes||r.slashes,t.href=t.format(),t};ur.prototype.parseHost=function(){return ix(this)};function ix(r){var e=r.host,t=Z8.exec(e);t&&(t=t[0],t!==":"&&(r.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(r.hostname=e)}var aN=Object.freeze({__proto__:null,parse:Po,resolve:tx,resolveObject:rx,format:ex,default:Q8,Url:ur});var oN=Symbol("ssrInterpolate"),uN=Symbol("ssrRenderVNode"),lN=Symbol("ssrRenderComponent"),cN=Symbol("ssrRenderSlot"),fN=Symbol("ssrRenderSlotInner"),hN=Symbol("ssrRenderClass"),pN=Symbol("ssrRenderStyle"),dN=Symbol("ssrRenderAttrs"),mN=Symbol("ssrRenderAttr"),gN=Symbol("ssrRenderDynamicAttr"),yN=Symbol("ssrRenderList"),bN=Symbol("ssrIncludeBooleanAttr"),vN=Symbol("ssrLooseEqual"),xN=Symbol("ssrLooseContain"),wN=Symbol("ssrRenderDynamicModel"),SN=Symbol("ssrGetDynamicModelProps"),EN=Symbol("ssrRenderTeleport"),TN=Symbol("ssrRenderSuspense"),_N=Symbol("ssrGetDirectiveProps"),AN={[oN]:"ssrInterpolate",[uN]:"ssrRenderVNode",[lN]:"ssrRenderComponent",[cN]:"ssrRenderSlot",[fN]:"ssrRenderSlotInner",[hN]:"ssrRenderClass",[pN]:"ssrRenderStyle",[dN]:"ssrRenderAttrs",[mN]:"ssrRenderAttr",[gN]:"ssrRenderDynamicAttr",[yN]:"ssrRenderList",[bN]:"ssrIncludeBooleanAttr",[vN]:"ssrLooseEqual",[xN]:"ssrLooseContain",[wN]:"ssrRenderDynamicModel",[SN]:"ssrGetDynamicModelProps",[EN]:"ssrRenderTeleport",[TN]:"ssrRenderSuspense",[_N]:"ssrGetDirectiveProps"};Cp(AN);var J9=_o(/^(if|else|else-if)$/,ad);var Q9=_o("for",od);var X9=Symbol();var[CN,PN]=hd(!0),Z9=[...CN,...Sd],e7=Object.assign(Object.assign({},PN),Ed);var IN={},NN=Object.freeze({__proto__:null,default:IN}),kN=Ao(NN),Ud=Ao(KI),ON=Ao(W8);function yb(r){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${r}\x1B[0m
|
|
61
61
|
`)}var MN=it("once,memo,if,for,else,else-if,slot,text,html,on,bind,model,show,cloak,is");var bb=mv();function LN(r){let{content:e,ast:t}=r.template,i=bb.get(e);if(i)return i;let s="";return Qp(Pp([t]),{nodeTransforms:[n=>{if(n.type===1){!uo.isNativeTag(n.tag)&&!uo.isBuiltInComponent(n.tag)&&(s+=`,${Ar(n.tag)},${es(Ar(n.tag))}`);for(let a=0;a<n.props.length;a++){let o=n.props[a];o.type===7&&(MN(o.name)||(s+=`,v${es(Ar(o.name))}`),o.exp&&(s+=`,${wl(o.exp.content,o.name)}`))}}else n.type===5&&(s+=`,${wl(n.content.content)}`)}]}),s+=";",bb.set(e,s),s}var DN=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function wl(r,e){if(/ as\s+\w|<.*>|:/.test(r)){if(e==="slot")r=`(${r})=>{}`;else if(e==="on")r=`()=>{return ${r}}`;else if(e==="for"){let s=r.match(DN);if(s){let[,n,a]=s;return wl(`(${n})=>{}`)+wl(a)}}let t="",i=x2(r,{plugins:["typescript"]});return rd(i,s=>{t+=","+s.name}),t}return RN(r)}function RN(r){return r.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,BN)}function BN(r){let e=r.match(/\${[^}]+}/g);return e?e.map(t=>t.slice(2,-1)).join(","):""}function FN(r,e){return new RegExp(`[^\\w$_]${r.replace(/\$/g,"\\$")}[^\\w$_]`).test(LN(e))}function UN(r,e){if(!e.scriptSetup||e.scriptSetup.lang!=="ts"&&e.scriptSetup.lang!=="tsx")return!1;for(let t in r)if(!r[t].isUsedInTemplate&&FN(t,e))return!0;return!1}var qN="anonymous.vue",vb=mv();function rc(r,{sourceMap:e=!0,filename:t=qN,sourceRoot:i="",pad:s=!1,ignoreEmpty:n=!0,compiler:a=eI}={}){let o=r+e+t+i+s+a.parse,u=vb.get(o);if(u)return u;let l={filename:t,source:r,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:w=>UN(w,l)},c=[];if(a.parse(r,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:w,props:v},x)=>!x&&w!=="template"||w==="template"&&v.some(m=>m.type===6&&m.name==="lang"&&m.value&&m.value.content&&m.value.content!=="html")?2:0,onError:w=>{c.push(w)}}).children.forEach(w=>{if(w.type===1&&!(n&&w.tag!=="template"&&GN(w)&&!HN(w)))switch(w.tag){case"template":if(l.template)c.push(xb(w));else{let S=l.template=Du(w,r,!1);if(S.ast=w,S.attrs.functional){let g=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");g.loc=w.props.find(b=>b.name==="functional").loc,c.push(g)}}break;case"script":let v=Du(w,r,s),x=!!v.attrs.setup;if(x&&!l.scriptSetup){l.scriptSetup=v;break}if(!x&&!l.script){l.script=v;break}c.push(xb(w,x));break;case"style":let m=Du(w,r,s);m.attrs.vars&&c.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),l.styles.push(m);break;default:l.customBlocks.push(Du(w,r,s));break}}),!l.template&&!l.script&&!l.scriptSetup&&c.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),l.scriptSetup&&(l.scriptSetup.src&&(c.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),l.scriptSetup=null),l.script&&l.script.src&&(c.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),l.script=null)),e){let w=v=>{v&&!v.src&&(v.map=VN(t,r,v.content,i,!s||v.type==="template"?v.loc.start.line-1:0))};w(l.template),w(l.script),l.styles.forEach(w),l.customBlocks.forEach(w)}l.cssVars=oI(l);let h=/(?:::v-|:)slotted\(/;l.slotted=l.styles.some(w=>w.scoped&&h.test(w.content));let d={descriptor:l,errors:c};return vb.set(o,d),d}function xb(r,e=!1){let t=new SyntaxError(`Single file component can contain only one <${r.tag}${e?" setup":""}> element`);return t.loc=r.loc,t}function Du(r,e,t){let i=r.tag,{start:s,end:n}=r.loc,a="";if(r.children.length)s=r.children[0].loc.start,n=r.children[r.children.length-1].loc.end,a=e.slice(s.offset,n.offset);else{let c=r.loc.source.indexOf("</");c>-1&&(s={line:s.line,column:s.column+c,offset:s.offset+c}),n=Object.assign({},s)}let o={source:a,start:s,end:n},u={},l={type:i,content:a,loc:o,attrs:u};return t&&(l.content=zN(e,l,t)+l.content),r.props.forEach(c=>{c.type===6&&(u[c.name]=c.value&&c.value.content||!0,c.name==="lang"?l.lang=c.value&&c.value.content:c.name==="src"?l.src=c.value&&c.value.content:i==="style"?c.name==="scoped"?l.scoped=!0:c.name==="module"&&(l.module=u[c.name]):i==="script"&&c.name==="setup"&&(l.setup=u.setup))}),l}var sx=/\r?\n/g,$N=/^(?:\/\/)?\s*$/,jN=/./g;function VN(r,e,t,i,s){let n=new td({file:r.replace(/\\/g,"/"),sourceRoot:i.replace(/\\/g,"/")});return n.setSourceContent(r,e),t.split(sx).forEach((a,o)=>{if(!$N.test(a)){let u=o+1+s,l=o+1;for(let c=0;c<a.length;c++)/\s/.test(a[c])||n.addMapping({source:r,original:{line:u,column:c},generated:{line:l,column:c}})}}),JSON.parse(n.toString())}function zN(r,e,t){if(r=r.slice(0,e.loc.start.offset),t==="space")return r.replace(jN," ");{let i=r.split(sx).length,s=e.type==="script"&&!e.lang?`//
|
|
62
62
|
`:`
|
|
63
63
|
`;return Array(i).join(s)}}function HN(r){return r.props.some(e=>e.type!==6?!1:e.name==="src")}function GN(r){for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.type!==2||t.content.trim()!=="")return!1}return!0}function nx(){return!1}function ax(){throw new Error("tty.ReadStream is not implemented")}function ox(){throw new Error("tty.ReadStream is not implemented")}var WN={isatty:nx,ReadStream:ax,WriteStream:ox},YN=Object.freeze({__proto__:null,isatty:nx,ReadStream:ax,WriteStream:ox,default:WN}),KN=Ao(YN),JN=!("NO_COLOR"in{}||en.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||en.argv.includes("--color")||!1||KN.isatty(1)&&{}.TERM!=="dumb"||"CI"in{}),Le=(r,e,t=r)=>i=>{let s=""+i,n=s.indexOf(e,r.length);return~n?r+ux(s,e,t,n)+e:r+s+e},ux=(r,e,t,i)=>{let s=r.substring(0,i)+t,n=r.substring(i+e.length),a=n.indexOf(e);return~a?s+ux(n,e,t,a):s+n},lx=(r=JN)=>({isColorSupported:r,reset:r?e=>`\x1B[0m${e}\x1B[0m`:String,bold:r?Le("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:r?Le("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:r?Le("\x1B[3m","\x1B[23m"):String,underline:r?Le("\x1B[4m","\x1B[24m"):String,inverse:r?Le("\x1B[7m","\x1B[27m"):String,hidden:r?Le("\x1B[8m","\x1B[28m"):String,strikethrough:r?Le("\x1B[9m","\x1B[29m"):String,black:r?Le("\x1B[30m","\x1B[39m"):String,red:r?Le("\x1B[31m","\x1B[39m"):String,green:r?Le("\x1B[32m","\x1B[39m"):String,yellow:r?Le("\x1B[33m","\x1B[39m"):String,blue:r?Le("\x1B[34m","\x1B[39m"):String,magenta:r?Le("\x1B[35m","\x1B[39m"):String,cyan:r?Le("\x1B[36m","\x1B[39m"):String,white:r?Le("\x1B[37m","\x1B[39m"):String,gray:r?Le("\x1B[90m","\x1B[39m"):String,bgBlack:r?Le("\x1B[40m","\x1B[49m"):String,bgRed:r?Le("\x1B[41m","\x1B[49m"):String,bgGreen:r?Le("\x1B[42m","\x1B[49m"):String,bgYellow:r?Le("\x1B[43m","\x1B[49m"):String,bgBlue:r?Le("\x1B[44m","\x1B[49m"):String,bgMagenta:r?Le("\x1B[45m","\x1B[49m"):String,bgCyan:r?Le("\x1B[46m","\x1B[49m"):String,bgWhite:r?Le("\x1B[47m","\x1B[49m"):String}),rt=lx(),QN=lx;rt.createColors=QN;var bh="'".charCodeAt(0),wb='"'.charCodeAt(0),Ru="\\".charCodeAt(0),Sb="/".charCodeAt(0),Bu=`
|
|
@@ -79,7 +79,7 @@ const ${r.helpers.map(l=>`_${Et[l]} = ${Et[l]}`).join(", ")}
|
|
|
79
79
|
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after!="undefined")return t=i.raws.after,t.includes(`
|
|
80
80
|
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(i=>{if(i.type!=="decl"&&(t=i.raws.between,typeof t!="undefined"))return!1}),t}rawColon(e){let t;return e.walkDecls(i=>{if(typeof i.raws.between!="undefined")return t=i.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let i;e.type==="decl"?i=this.raw(e,null,"beforeDecl"):e.type==="comment"?i=this.raw(e,null,"beforeComment"):t==="before"?i=this.raw(e,null,"beforeRule"):i=this.raw(e,null,"beforeClose");let s=e.parent,n=0;for(;s&&s.type!=="root";)n+=1,s=s.parent;if(i.includes(`
|
|
81
81
|
`)){let a=this.raw(e,null,"indent");if(a.length)for(let o=0;o<n;o++)i+=a}return i}rawValue(e,t){let i=e[t],s=e.raws[t];return s&&s.value===i?s.raw:i}},px=lo;lo.default=lo;function lp(r,e){new px(e).stringify(r)}var ic=lp;lp.default=lp;var{isClean:Vu,my:mk}=qd;function cp(r,e){let t=new r.constructor;for(let i in r){if(!Object.prototype.hasOwnProperty.call(r,i)||i==="proxyCache")continue;let s=r[i],n=typeof s;i==="parent"&&n==="object"?e&&(t[i]=e):i==="source"?t[i]=s:Array.isArray(s)?t[i]=s.map(a=>cp(a,t)):(n==="object"&&s!==null&&(s=cp(s)),t[i]=s)}return t}var co=class{constructor(e={}){this.raws={},this[Vu]=!1,this[mk]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let i of e[t])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:i,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:i.line,column:i.column},{line:s.line,column:s.column},t)}return new Sl(e)}warn(e,t,i){let s={node:this};for(let n in i)s[n]=i[n];return e.warn(t,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=ic){e.stringify&&(e=e.stringify);let t="";return e(this,i=>{t+=i}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=cp(this);for(let i in e)t[i]=e[i];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,i=!1;for(let s of e)s===this?i=!0:i?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);i||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,t){return new px().raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let i={},s=t==null;t=t||new Map;let n=0;for(let a in this){if(!Object.prototype.hasOwnProperty.call(this,a)||a==="parent"||a==="proxyCache")continue;let o=this[a];if(Array.isArray(o))i[a]=o.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,t):u);else if(typeof o=="object"&&o.toJSON)i[a]=o.toJSON(null,t);else if(a==="source"){let u=t.get(o.input);u==null&&(u=n,t.set(o.input,n),n++),i[a]={inputId:u,start:o.start,end:o.end}}else i[a]=o}return s&&(i.inputs=[...t.keys()].map(a=>a.toJSON())),i}positionInside(e){let t=this.toString(),i=this.source.start.column,s=this.source.start.line;for(let n=0;n<e;n++)t[n]===`
|
|
82
|
-
`?(i=1,s+=1):i+=1;return{line:s,column:i}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(t=this.positionInside(i))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},i=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);s!==-1&&(t=this.positionInside(s),i=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?i={line:e.end.line,column:e.end.column}:e.endIndex?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<t.line||i.line===t.line&&i.column<=t.column)&&(i={line:t.line,column:t.column+1}),{start:t,end:i}}getProxyProcessor(){return{set(e,t,i){return e[t]===i||(e[t]=i,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0},get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[Vu]){this[Vu]=!1;let e=this;for(;e=e.parent;)e[Vu]=!1}}get proxyOf(){return this}},sc=co;co.default=co;var fo=class extends sc{constructor(e){e&&typeof e.value!="undefined"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}},An=fo;fo.default=fo;var _b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),gk=function(r){if(0<=r&&r<_b.length)return _b[r];throw new TypeError("Must be between 0 and 63: "+r)},yk=function(r){var e=65,t=90,i=97,s=122,n=48,a=57,o=43,u=47,l=26,c=52;return e<=r&&r<=t?r-e:i<=r&&r<=s?r-i+l:n<=r&&r<=a?r-n+c:r==o?62:r==u?63:-1},dx={encode:gk,decode:yk},$d=5,mx=1<<$d,gx=mx-1,yx=mx;function bk(r){return r<0?(-r<<1)+1:(r<<1)+0}function vk(r){var e=(r&1)===1,t=r>>1;return e?-t:t}var xk=function(e){var t="",i,s=bk(e);do i=s&gx,s>>>=$d,s>0&&(i|=yx),t+=dx.encode(i);while(s>0);return t},wk=function(e,t,i){var s=e.length,n=0,a=0,o,u;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(u=dx.decode(e.charCodeAt(t++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(u&yx),u&=gx,n=n+(u<<a),a+=$d}while(o);i.value=vk(n),i.rest=t},zs={encode:xk,decode:wk},R=de(function(r,e){function t(E,T,I){if(T in E)return E[T];if(arguments.length===3)return I;throw new Error('"'+T+'" is a required argument.')}e.getArg=t;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function n(E){var T=E.match(i);return T?{scheme:T[1],auth:T[2],host:T[3],port:T[4],path:T[5]}:null}e.urlParse=n;function a(E){var T="";return E.scheme&&(T+=E.scheme+":"),T+="//",E.auth&&(T+=E.auth+"@"),E.host&&(T+=E.host),E.port&&(T+=":"+E.port),E.path&&(T+=E.path),T}e.urlGenerate=a;var o=32;function u(E){var T=[];return function(I){for(var P=0;P<T.length;P++)if(T[P].input===I){var z=T[0];return T[0]=T[P],T[P]=z,T[0].result}var H=E(I);return T.unshift({input:I,result:H}),T.length>o&&T.pop(),H}}var l=u(function(T){var I=T,P=n(T);if(P){if(!P.path)return T;I=P.path}for(var z=e.isAbsolute(I),H=[],X=0,oe=0;;)if(X=oe,oe=I.indexOf("/",X),oe===-1){H.push(I.slice(X));break}else for(H.push(I.slice(X,oe));oe<I.length&&I[oe]==="/";)oe++;for(var Q,Ze=0,oe=H.length-1;oe>=0;oe--)Q=H[oe],Q==="."?H.splice(oe,1):Q===".."?Ze++:Ze>0&&(Q===""?(H.splice(oe+1,Ze),Ze=0):(H.splice(oe,2),Ze--));return I=H.join("/"),I===""&&(I=z?"/":"."),P?(P.path=I,a(P)):I});e.normalize=l;function c(E,T){E===""&&(E="."),T===""&&(T=".");var I=n(T),P=n(E);if(P&&(E=P.path||"/"),I&&!I.scheme)return P&&(I.scheme=P.scheme),a(I);if(I||T.match(s))return T;if(P&&!P.host&&!P.path)return P.host=T,a(P);var z=T.charAt(0)==="/"?T:l(E.replace(/\/+$/,"")+"/"+T);return P?(P.path=z,a(P)):z}e.join=c,e.isAbsolute=function(E){return E.charAt(0)==="/"||i.test(E)};function f(E,T){E===""&&(E="."),E=E.replace(/\/$/,"");for(var I=0;T.indexOf(E+"/")!==0;){var P=E.lastIndexOf("/");if(P<0||(E=E.slice(0,P),E.match(/^([^\/]+:\/)?\/*$/)))return T;++I}return Array(I+1).join("../")+T.substr(E.length+1)}e.relative=f;var h=function(){var E=Object.create(null);return!("__proto__"in E)}();function d(E){return E}function w(E){return x(E)?"$"+E:E}e.toSetString=h?d:w;function v(E){return x(E)?E.slice(1):E}e.fromSetString=h?d:v;function x(E){if(!E)return!1;var T=E.length;if(T<9||E.charCodeAt(T-1)!==95||E.charCodeAt(T-2)!==95||E.charCodeAt(T-3)!==111||E.charCodeAt(T-4)!==116||E.charCodeAt(T-5)!==111||E.charCodeAt(T-6)!==114||E.charCodeAt(T-7)!==112||E.charCodeAt(T-8)!==95||E.charCodeAt(T-9)!==95)return!1;for(var I=T-10;I>=0;I--)if(E.charCodeAt(I)!==36)return!1;return!0}function m(E,T,I){var P=p(E.source,T.source);return P!==0||(P=E.originalLine-T.originalLine,P!==0)||(P=E.originalColumn-T.originalColumn,P!==0||I)||(P=E.generatedColumn-T.generatedColumn,P!==0)||(P=E.generatedLine-T.generatedLine,P!==0)?P:p(E.name,T.name)}e.compareByOriginalPositions=m;function S(E,T,I){var P;return P=E.originalLine-T.originalLine,P!==0||(P=E.originalColumn-T.originalColumn,P!==0||I)||(P=E.generatedColumn-T.generatedColumn,P!==0)||(P=E.generatedLine-T.generatedLine,P!==0)?P:p(E.name,T.name)}e.compareByOriginalPositionsNoSource=S;function g(E,T,I){var P=E.generatedLine-T.generatedLine;return P!==0||(P=E.generatedColumn-T.generatedColumn,P!==0||I)||(P=p(E.source,T.source),P!==0)||(P=E.originalLine-T.originalLine,P!==0)||(P=E.originalColumn-T.originalColumn,P!==0)?P:p(E.name,T.name)}e.compareByGeneratedPositionsDeflated=g;function b(E,T,I){var P=E.generatedColumn-T.generatedColumn;return P!==0||I||(P=p(E.source,T.source),P!==0)||(P=E.originalLine-T.originalLine,P!==0)||(P=E.originalColumn-T.originalColumn,P!==0)?P:p(E.name,T.name)}e.compareByGeneratedPositionsDeflatedNoLine=b;function p(E,T){return E===T?0:E===null?1:T===null?-1:E>T?1:-1}function y(E,T){var I=E.generatedLine-T.generatedLine;return I!==0||(I=E.generatedColumn-T.generatedColumn,I!==0)||(I=p(E.source,T.source),I!==0)||(I=E.originalLine-T.originalLine,I!==0)||(I=E.originalColumn-T.originalColumn,I!==0)?I:p(E.name,T.name)}e.compareByGeneratedPositionsInflated=y;function _(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=_;function A(E,T,I){if(T=T||"",E&&(E[E.length-1]!=="/"&&T[0]!=="/"&&(E+="/"),T=E+T),I){var P=n(I);if(!P)throw new Error("sourceMapURL could not be parsed");if(P.path){var z=P.path.lastIndexOf("/");z>=0&&(P.path=P.path.substring(0,z+1))}T=c(a(P),T)}return l(T)}e.computeSourceURL=A}),jd=Object.prototype.hasOwnProperty,Zi=typeof Map!="undefined";function Xr(){this._array=[],this._set=Zi?new Map:Object.create(null)}Xr.fromArray=function(e,t){for(var i=new Xr,s=0,n=e.length;s<n;s++)i.add(e[s],t);return i};Xr.prototype.size=function(){return Zi?this._set.size:Object.getOwnPropertyNames(this._set).length};Xr.prototype.add=function(e,t){var i=Zi?e:R.toSetString(e),s=Zi?this.has(e):jd.call(this._set,i),n=this._array.length;(!s||t)&&this._array.push(e),s||(Zi?this._set.set(e,n):this._set[i]=n)};Xr.prototype.has=function(e){if(Zi)return this._set.has(e);var t=R.toSetString(e);return jd.call(this._set,t)};Xr.prototype.indexOf=function(e){if(Zi){var t=this._set.get(e);if(t>=0)return t}else{var i=R.toSetString(e);if(jd.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Xr.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Xr.prototype.toArray=function(){return this._array.slice()};var Sk=Xr,bx={ArraySet:Sk};function Ek(r,e){var t=r.generatedLine,i=e.generatedLine,s=r.generatedColumn,n=e.generatedColumn;return i>t||i==t&&n>=s||R.compareByGeneratedPositionsInflated(r,e)<=0}function nc(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}nc.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};nc.prototype.add=function(e){Ek(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};nc.prototype.toArray=function(){return this._sorted||(this._array.sort(R.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var Tk=nc,_k={MappingList:Tk},El=bx.ArraySet,Ak=_k.MappingList;function Kt(r){r||(r={}),this._file=R.getArg(r,"file",null),this._sourceRoot=R.getArg(r,"sourceRoot",null),this._skipValidation=R.getArg(r,"skipValidation",!1),this._sources=new El,this._names=new El,this._mappings=new Ak,this._sourcesContents=null}Kt.prototype._version=3;Kt.fromSourceMap=function(e){var t=e.sourceRoot,i=new Kt({file:e.file,sourceRoot:t});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,t!=null&&(n.source=R.relative(t,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),i.addMapping(n)}),e.sources.forEach(function(s){var n=s;t!==null&&(n=R.relative(t,s)),i._sources.has(n)||i._sources.add(n);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};Kt.prototype.addMapping=function(e){var t=R.getArg(e,"generated"),i=R.getArg(e,"original",null),s=R.getArg(e,"source",null),n=R.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,i,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:s,name:n})};Kt.prototype.setSourceContent=function(e,t){var i=e;this._sourceRoot!=null&&(i=R.relative(this._sourceRoot,i)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[R.toSetString(i)]=t):this._sourcesContents&&(delete this._sourcesContents[R.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Kt.prototype.applySourceMap=function(e,t,i){var s=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var n=this._sourceRoot;n!=null&&(s=R.relative(n,s));var a=new El,o=new El;this._mappings.unsortedForEach(function(u){if(u.source===s&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,i!=null&&(u.source=R.join(i,u.source)),n!=null&&(u.source=R.relative(n,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!a.has(c)&&a.add(c);var f=u.name;f!=null&&!o.has(f)&&o.add(f)},this),this._sources=a,this._names=o,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(i!=null&&(u=R.join(i,u)),n!=null&&(u=R.relative(n,u)),this.setSourceContent(u,l))},this)};Kt.prototype._validateMapping=function(e,t,i,s){if(t&&typeof t.line!="number"&&typeof t.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!i&&!s)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:t,name:s}))}};Kt.prototype._serializeMappings=function(){for(var e=0,t=1,i=0,s=0,n=0,a=0,o="",u,l,c,f,h=this._mappings.toArray(),d=0,w=h.length;d<w;d++){if(l=h[d],u="",l.generatedLine!==t)for(e=0;l.generatedLine!==t;)u+=";",t++;else if(d>0){if(!R.compareByGeneratedPositionsInflated(l,h[d-1]))continue;u+=","}u+=zs.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=zs.encode(f-a),a=f,u+=zs.encode(l.originalLine-1-s),s=l.originalLine-1,u+=zs.encode(l.originalColumn-i),i=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=zs.encode(c-n),n=c)),o+=u}return o};Kt.prototype._generateSourcesContent=function(e,t){return e.map(function(i){if(!this._sourcesContents)return null;t!=null&&(i=R.relative(t,i));var s=R.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Kt.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Kt.prototype.toString=function(){return JSON.stringify(this.toJSON())};var Ck=Kt,vx={SourceMapGenerator:Ck},Vd=de(function(r,e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(i,s,n,a,o,u){var l=Math.floor((s-i)/2)+i,c=o(n,a[l],!0);return c===0?l:c>0?s-l>1?t(l,s,n,a,o,u):u==e.LEAST_UPPER_BOUND?s<a.length?s:-1:l:l-i>1?t(i,l,n,a,o,u):u==e.LEAST_UPPER_BOUND?l:i<0?-1:i}e.search=function(s,n,a,o){if(n.length===0)return-1;var u=t(-1,n.length,s,n,a,o||e.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&a(n[u],n[u-1],!0)===0;)--u;return u}});function Pk(r){function e(s,n,a){var o=s[n];s[n]=s[a],s[a]=o}function t(s,n){return Math.round(s+Math.random()*(n-s))}function i(s,n,a,o){if(a<o){var u=t(a,o),l=a-1;e(s,u,o);for(var c=s[o],f=a;f<o;f++)n(s[f],c,!1)<=0&&(l+=1,e(s,l,f));e(s,l+1,f);var h=l+1;i(s,n,a,h-1),i(s,n,h+1,o)}}return i}function Ik(r){let e=Pk.toString();return new Function(`return ${e}`)()(r)}var Ab=new WeakMap,Nk=function(r,e,t=0){let i=Ab.get(e);i===void 0&&(i=Ik(e),Ab.set(e,i)),i(r,e,t,r.length-1)},kk={quickSort:Nk},dn=bx.ArraySet,ho=kk.quickSort;function Me(r,e){var t=r;return typeof r=="string"&&(t=R.parseSourceMapInput(r)),t.sections!=null?new fr(t,e):new ut(t,e)}Me.fromSourceMap=function(r,e){return ut.fromSourceMap(r,e)};Me.prototype._version=3;Me.prototype.__generatedMappings=null;Object.defineProperty(Me.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Me.prototype.__originalMappings=null;Object.defineProperty(Me.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Me.prototype._charIsMappingSeparator=function(e,t){var i=e.charAt(t);return i===";"||i===","};Me.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};Me.GENERATED_ORDER=1;Me.ORIGINAL_ORDER=2;Me.GREATEST_LOWER_BOUND=1;Me.LEAST_UPPER_BOUND=2;Me.prototype.eachMapping=function(e,t,i){var s=t||null,n=i||Me.GENERATED_ORDER,a;switch(n){case Me.GENERATED_ORDER:a=this._generatedMappings;break;case Me.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,u=e.bind(s),l=this._names,c=this._sources,f=this._sourceMapURL,h=0,d=a.length;h<d;h++){var w=a[h],v=w.source===null?null:c.at(w.source);v=R.computeSourceURL(o,v,f),u({source:v,generatedLine:w.generatedLine,generatedColumn:w.generatedColumn,originalLine:w.originalLine,originalColumn:w.originalColumn,name:w.name===null?null:l.at(w.name)})}};Me.prototype.allGeneratedPositionsFor=function(e){var t=R.getArg(e,"line"),i={source:R.getArg(e,"source"),originalLine:t,originalColumn:R.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var s=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",R.compareByOriginalPositions,Vd.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)s.push({line:R.getArg(a,"generatedLine",null),column:R.getArg(a,"generatedColumn",null),lastColumn:R.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var u=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==u;)s.push({line:R.getArg(a,"generatedLine",null),column:R.getArg(a,"generatedColumn",null),lastColumn:R.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};var Ok=Me;function ut(r,e){var t=r;typeof r=="string"&&(t=R.parseSourceMapInput(r));var i=R.getArg(t,"version"),s=R.getArg(t,"sources"),n=R.getArg(t,"names",[]),a=R.getArg(t,"sourceRoot",null),o=R.getArg(t,"sourcesContent",null),u=R.getArg(t,"mappings"),l=R.getArg(t,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=R.normalize(a)),s=s.map(String).map(R.normalize).map(function(c){return a&&R.isAbsolute(a)&&R.isAbsolute(c)?R.relative(a,c):c}),this._names=dn.fromArray(n.map(String),!0),this._sources=dn.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return R.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=u,this._sourceMapURL=e,this.file=l}ut.prototype=Object.create(Me.prototype);ut.prototype.consumer=Me;ut.prototype._findSourceIndex=function(r){var e=r;if(this.sourceRoot!=null&&(e=R.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==r)return t;return-1};ut.fromSourceMap=function(e,t){var i=Object.create(ut.prototype),s=i._names=dn.fromArray(e._names.toArray(),!0),n=i._sources=dn.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=t,i._absoluteSources=i._sources.toArray().map(function(d){return R.computeSourceURL(i.sourceRoot,d,t)});for(var a=e._mappings.toArray().slice(),o=i.__generatedMappings=[],u=i.__originalMappings=[],l=0,c=a.length;l<c;l++){var f=a[l],h=new xx;h.generatedLine=f.generatedLine,h.generatedColumn=f.generatedColumn,f.source&&(h.source=n.indexOf(f.source),h.originalLine=f.originalLine,h.originalColumn=f.originalColumn,f.name&&(h.name=s.indexOf(f.name)),u.push(h)),o.push(h)}return ho(i.__originalMappings,R.compareByOriginalPositions),i};ut.prototype._version=3;Object.defineProperty(ut.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function xx(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var vh=R.compareByGeneratedPositionsDeflatedNoLine;function Cb(r,e){let t=r.length,i=r.length-e;if(!(i<=1))if(i==2){let s=r[e],n=r[e+1];vh(s,n)>0&&(r[e]=n,r[e+1]=s)}else if(i<20)for(let s=e;s<t;s++)for(let n=s;n>e;n--){let a=r[n-1],o=r[n];if(vh(a,o)<=0)break;r[n-1]=o,r[n]=a}else ho(r,vh,e)}ut.prototype._parseMappings=function(e,t){var i=1,s=0,n=0,a=0,o=0,u=0,l=e.length,c=0,f={},h=[],d=[],w,v,x,m;let S=0;for(;c<l;)if(e.charAt(c)===";")i++,c++,s=0,Cb(d,S),S=d.length;else if(e.charAt(c)===",")c++;else{for(w=new xx,w.generatedLine=i,x=c;x<l&&!this._charIsMappingSeparator(e,x);x++);for(e.slice(c,x),v=[];c<x;)zs.decode(e,c,f),m=f.value,c=f.rest,v.push(m);if(v.length===2)throw new Error("Found a source, but no line and column");if(v.length===3)throw new Error("Found a source and line, but no column");if(w.generatedColumn=s+v[0],s=w.generatedColumn,v.length>1&&(w.source=o+v[1],o+=v[1],w.originalLine=n+v[2],n=w.originalLine,w.originalLine+=1,w.originalColumn=a+v[3],a=w.originalColumn,v.length>4&&(w.name=u+v[4],u+=v[4])),d.push(w),typeof w.originalLine=="number"){let b=w.source;for(;h.length<=b;)h.push(null);h[b]===null&&(h[b]=[]),h[b].push(w)}}Cb(d,S),this.__generatedMappings=d;for(var g=0;g<h.length;g++)h[g]!=null&&ho(h[g],R.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...h)};ut.prototype._findMapping=function(e,t,i,s,n,a){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Vd.search(e,t,n,a)};ut.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(t.generatedLine===i.generatedLine){t.lastGeneratedColumn=i.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};ut.prototype.originalPositionFor=function(e){var t={generatedLine:R.getArg(e,"line"),generatedColumn:R.getArg(e,"column")},i=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",R.compareByGeneratedPositionsDeflated,R.getArg(e,"bias",Me.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===t.generatedLine){var n=R.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=R.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=R.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:R.getArg(s,"originalLine",null),column:R.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};ut.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ut.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var s=e;this.sourceRoot!=null&&(s=R.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=R.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(t)return null;throw new Error('"'+s+'" is not in the SourceMap.')};ut.prototype.generatedPositionFor=function(e){var t=R.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var i={source:t,originalLine:R.getArg(e,"line"),originalColumn:R.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",R.compareByOriginalPositions,R.getArg(e,"bias",Me.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:R.getArg(n,"generatedLine",null),column:R.getArg(n,"generatedColumn",null),lastColumn:R.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var Mk=ut;function fr(r,e){var t=r;typeof r=="string"&&(t=R.parseSourceMapInput(r));var i=R.getArg(t,"version"),s=R.getArg(t,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new dn,this._names=new dn;var n={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=R.getArg(a,"offset"),u=R.getArg(o,"line"),l=R.getArg(o,"column");if(u<n.line||u===n.line&&l<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new Me(R.getArg(a,"map"),e)}})}fr.prototype=Object.create(Me.prototype);fr.prototype.constructor=Me;fr.prototype._version=3;Object.defineProperty(fr.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)r.push(this._sections[e].consumer.sources[t]);return r}});fr.prototype.originalPositionFor=function(e){var t={generatedLine:R.getArg(e,"line"),generatedColumn:R.getArg(e,"column")},i=Vd.search(t,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[i];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};fr.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};fr.prototype.sourceContentFor=function(e,t){for(var i=0;i<this._sections.length;i++){var s=this._sections[i],n=s.consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};fr.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var i=this._sections[t];if(i.consumer._findSourceIndex(R.getArg(e,"source"))!==-1){var s=i.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(i.generatedOffset.generatedLine-1),column:s.column+(i.generatedOffset.generatedLine===s.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};fr.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var s=this._sections[i],n=s.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],u=s.consumer._sources.at(o.source);u=R.computeSourceURL(s.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;o.name&&(l=s.consumer._names.at(o.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}ho(this.__generatedMappings,R.compareByGeneratedPositionsDeflated),ho(this.__originalMappings,R.compareByOriginalPositions)};var Lk=fr,Dk={SourceMapConsumer:Ok,BasicSourceMapConsumer:Mk,IndexedSourceMapConsumer:Lk},Rk=vx.SourceMapGenerator,Bk=/(\r?\n)/,Fk=10,Cn="$$$isSourceNode$$$";function Rt(r,e,t,i,s){this.children=[],this.sourceContents={},this.line=r==null?null:r,this.column=e==null?null:e,this.source=t==null?null:t,this.name=s==null?null:s,this[Cn]=!0,i!=null&&this.add(i)}Rt.fromStringWithSourceMap=function(e,t,i){var s=new Rt,n=e.split(Bk),a=0,o=function(){var h=w(),d=w()||"";return h+d;function w(){return a<n.length?n[a++]:void 0}},u=1,l=0,c=null;return t.eachMapping(function(h){if(c!==null)if(u<h.generatedLine)f(c,o()),u++,l=0;else{var d=n[a]||"",w=d.substr(0,h.generatedColumn-l);n[a]=d.substr(h.generatedColumn-l),l=h.generatedColumn,f(c,w),c=h;return}for(;u<h.generatedLine;)s.add(o()),u++;if(l<h.generatedColumn){var d=n[a]||"";s.add(d.substr(0,h.generatedColumn)),n[a]=d.substr(h.generatedColumn),l=h.generatedColumn}c=h},this),a<n.length&&(c&&f(c,o()),s.add(n.splice(a).join(""))),t.sources.forEach(function(h){var d=t.sourceContentFor(h);d!=null&&(i!=null&&(h=R.join(i,h)),s.setSourceContent(h,d))}),s;function f(h,d){if(h===null||h.source===void 0)s.add(d);else{var w=i?R.join(i,h.source):h.source;s.add(new Rt(h.originalLine,h.originalColumn,w,d,h.name))}}};Rt.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[Cn]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Rt.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[Cn]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Rt.prototype.walk=function(e){for(var t,i=0,s=this.children.length;i<s;i++)t=this.children[i],t[Cn]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};Rt.prototype.join=function(e){var t,i,s=this.children.length;if(s>0){for(t=[],i=0;i<s-1;i++)t.push(this.children[i]),t.push(e);t.push(this.children[i]),this.children=t}return this};Rt.prototype.replaceRight=function(e,t){var i=this.children[this.children.length-1];return i[Cn]?i.replaceRight(e,t):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,t):this.children.push("".replace(e,t)),this};Rt.prototype.setSourceContent=function(e,t){this.sourceContents[R.toSetString(e)]=t};Rt.prototype.walkSourceContents=function(e){for(var t=0,i=this.children.length;t<i;t++)this.children[t][Cn]&&this.children[t].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),t=0,i=s.length;t<i;t++)e(R.fromSetString(s[t]),this.sourceContents[s[t]])};Rt.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};Rt.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},i=new Rk(e),s=!1,n=null,a=null,o=null,u=null;return this.walk(function(l,c){t.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||u!==c.name)&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,a=c.line,o=c.column,u=c.name,s=!0):s&&(i.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var f=0,h=l.length;f<h;f++)l.charCodeAt(f)===Fk?(t.line++,t.column=0,f+1===h?(n=null,s=!1):s&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++}),this.walkSourceContents(function(l,c){i.setSourceContent(l,c)}),{code:t.code,map:i}};var Uk=Rt,qk={SourceNode:Uk},$k=vx.SourceMapGenerator,jk=Dk.SourceMapConsumer,Vk=qk.SourceNode,zd={SourceMapGenerator:$k,SourceMapConsumer:jk,SourceNode:Vk},zk="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Hk=(r,e)=>()=>{let t="",i=e;for(;i--;)t+=r[Math.random()*r.length|0];return t},Gk=(r=21)=>{let e="",t=r;for(;t--;)e+=zk[Math.random()*64|0];return e},Wk={nanoid:Gk,customAlphabet:Hk},{SourceMapConsumer:Pb,SourceMapGenerator:Ib}=zd,{existsSync:Yk,readFileSync:Kk}=kN,{dirname:xh,join:Jk}=Ud;function Qk(r){return M?M.from(r,"base64").toString():window.atob(r)}var po=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let i=t.map?t.map.prev:void 0,s=this.loadMap(t.from,i);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=xh(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Pb(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return e?e.substr(0,t.length)===t:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let i=e.lastIndexOf(t.pop()),s=e.indexOf("*/",i);i>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(i,s)))}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(s.test(e)||n.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||i.test(e))return Qk(e.substr(RegExp.lastMatch.length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}loadFile(e){if(this.root=xh(e),Yk(e))return this.mapFile=e,Kk(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let i=t(e);if(i){let s=this.loadFile(i);if(!s)throw new Error("Unable to load previous source map: "+i.toString());return s}}else{if(t instanceof Pb)return Ib.fromSourceMap(t).toString();if(t instanceof Ib)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return e&&(i=Jk(xh(e),i)),this.loadFile(i)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}},wx=po;po.default=po;var Sx=Ao(aN),{SourceMapConsumer:Xk,SourceMapGenerator:Zk}=zd,{fileURLToPath:Nb,pathToFileURL:zu}=Sx,{resolve:fp,isAbsolute:hp}=Ud,{nanoid:eO}=Wk,wh=Symbol("fromOffsetCache"),tO=Boolean(Xk&&Zk),kb=Boolean(fp&&hp),mn=class{constructor(e,t={}){if(e===null||typeof e=="undefined"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!kb||/^\w+:\/\//.test(t.from)||hp(t.from)?this.file=t.from:this.file=fp(t.from)),kb&&tO){let i=new wx(this.css,t);if(i.text){this.map=i;let s=i.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+eO(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,i;if(this[wh])i=this[wh];else{let n=this.css.split(`
|
|
82
|
+
`?(i=1,s+=1):i+=1;return{line:s,column:i}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(t=this.positionInside(i))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},i=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);s!==-1&&(t=this.positionInside(s),i=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?i={line:e.end.line,column:e.end.column}:e.endIndex?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<t.line||i.line===t.line&&i.column<=t.column)&&(i={line:t.line,column:t.column+1}),{start:t,end:i}}getProxyProcessor(){return{set(e,t,i){return e[t]===i||(e[t]=i,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0},get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[Vu]){this[Vu]=!1;let e=this;for(;e=e.parent;)e[Vu]=!1}}get proxyOf(){return this}},sc=co;co.default=co;var fo=class extends sc{constructor(e){e&&typeof e.value!="undefined"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}},An=fo;fo.default=fo;var _b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),gk=function(r){if(0<=r&&r<_b.length)return _b[r];throw new TypeError("Must be between 0 and 63: "+r)},yk=function(r){var e=65,t=90,i=97,s=122,n=48,a=57,o=43,u=47,l=26,c=52;return e<=r&&r<=t?r-e:i<=r&&r<=s?r-i+l:n<=r&&r<=a?r-n+c:r==o?62:r==u?63:-1},dx={encode:gk,decode:yk},$d=5,mx=1<<$d,gx=mx-1,yx=mx;function bk(r){return r<0?(-r<<1)+1:(r<<1)+0}function vk(r){var e=(r&1)===1,t=r>>1;return e?-t:t}var xk=function(e){var t="",i,s=bk(e);do i=s&gx,s>>>=$d,s>0&&(i|=yx),t+=dx.encode(i);while(s>0);return t},wk=function(e,t,i){var s=e.length,n=0,a=0,o,u;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(u=dx.decode(e.charCodeAt(t++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(u&yx),u&=gx,n=n+(u<<a),a+=$d}while(o);i.value=vk(n),i.rest=t},zs={encode:xk,decode:wk},R=de(function(r,e){function t(E,T,I){if(T in E)return E[T];if(arguments.length===3)return I;throw new Error('"'+T+'" is a required argument.')}e.getArg=t;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function n(E){var T=E.match(i);return T?{scheme:T[1],auth:T[2],host:T[3],port:T[4],path:T[5]}:null}e.urlParse=n;function a(E){var T="";return E.scheme&&(T+=E.scheme+":"),T+="//",E.auth&&(T+=E.auth+"@"),E.host&&(T+=E.host),E.port&&(T+=":"+E.port),E.path&&(T+=E.path),T}e.urlGenerate=a;var o=32;function u(E){var T=[];return function(I){for(var P=0;P<T.length;P++)if(T[P].input===I){var z=T[0];return T[0]=T[P],T[P]=z,T[0].result}var H=E(I);return T.unshift({input:I,result:H}),T.length>o&&T.pop(),H}}var l=u(function(T){var I=T,P=n(T);if(P){if(!P.path)return T;I=P.path}for(var z=e.isAbsolute(I),H=[],Z=0,oe=0;;)if(Z=oe,oe=I.indexOf("/",Z),oe===-1){H.push(I.slice(Z));break}else for(H.push(I.slice(Z,oe));oe<I.length&&I[oe]==="/";)oe++;for(var Q,Ze=0,oe=H.length-1;oe>=0;oe--)Q=H[oe],Q==="."?H.splice(oe,1):Q===".."?Ze++:Ze>0&&(Q===""?(H.splice(oe+1,Ze),Ze=0):(H.splice(oe,2),Ze--));return I=H.join("/"),I===""&&(I=z?"/":"."),P?(P.path=I,a(P)):I});e.normalize=l;function c(E,T){E===""&&(E="."),T===""&&(T=".");var I=n(T),P=n(E);if(P&&(E=P.path||"/"),I&&!I.scheme)return P&&(I.scheme=P.scheme),a(I);if(I||T.match(s))return T;if(P&&!P.host&&!P.path)return P.host=T,a(P);var z=T.charAt(0)==="/"?T:l(E.replace(/\/+$/,"")+"/"+T);return P?(P.path=z,a(P)):z}e.join=c,e.isAbsolute=function(E){return E.charAt(0)==="/"||i.test(E)};function f(E,T){E===""&&(E="."),E=E.replace(/\/$/,"");for(var I=0;T.indexOf(E+"/")!==0;){var P=E.lastIndexOf("/");if(P<0||(E=E.slice(0,P),E.match(/^([^\/]+:\/)?\/*$/)))return T;++I}return Array(I+1).join("../")+T.substr(E.length+1)}e.relative=f;var h=function(){var E=Object.create(null);return!("__proto__"in E)}();function d(E){return E}function w(E){return x(E)?"$"+E:E}e.toSetString=h?d:w;function v(E){return x(E)?E.slice(1):E}e.fromSetString=h?d:v;function x(E){if(!E)return!1;var T=E.length;if(T<9||E.charCodeAt(T-1)!==95||E.charCodeAt(T-2)!==95||E.charCodeAt(T-3)!==111||E.charCodeAt(T-4)!==116||E.charCodeAt(T-5)!==111||E.charCodeAt(T-6)!==114||E.charCodeAt(T-7)!==112||E.charCodeAt(T-8)!==95||E.charCodeAt(T-9)!==95)return!1;for(var I=T-10;I>=0;I--)if(E.charCodeAt(I)!==36)return!1;return!0}function m(E,T,I){var P=p(E.source,T.source);return P!==0||(P=E.originalLine-T.originalLine,P!==0)||(P=E.originalColumn-T.originalColumn,P!==0||I)||(P=E.generatedColumn-T.generatedColumn,P!==0)||(P=E.generatedLine-T.generatedLine,P!==0)?P:p(E.name,T.name)}e.compareByOriginalPositions=m;function S(E,T,I){var P;return P=E.originalLine-T.originalLine,P!==0||(P=E.originalColumn-T.originalColumn,P!==0||I)||(P=E.generatedColumn-T.generatedColumn,P!==0)||(P=E.generatedLine-T.generatedLine,P!==0)?P:p(E.name,T.name)}e.compareByOriginalPositionsNoSource=S;function g(E,T,I){var P=E.generatedLine-T.generatedLine;return P!==0||(P=E.generatedColumn-T.generatedColumn,P!==0||I)||(P=p(E.source,T.source),P!==0)||(P=E.originalLine-T.originalLine,P!==0)||(P=E.originalColumn-T.originalColumn,P!==0)?P:p(E.name,T.name)}e.compareByGeneratedPositionsDeflated=g;function b(E,T,I){var P=E.generatedColumn-T.generatedColumn;return P!==0||I||(P=p(E.source,T.source),P!==0)||(P=E.originalLine-T.originalLine,P!==0)||(P=E.originalColumn-T.originalColumn,P!==0)?P:p(E.name,T.name)}e.compareByGeneratedPositionsDeflatedNoLine=b;function p(E,T){return E===T?0:E===null?1:T===null?-1:E>T?1:-1}function y(E,T){var I=E.generatedLine-T.generatedLine;return I!==0||(I=E.generatedColumn-T.generatedColumn,I!==0)||(I=p(E.source,T.source),I!==0)||(I=E.originalLine-T.originalLine,I!==0)||(I=E.originalColumn-T.originalColumn,I!==0)?I:p(E.name,T.name)}e.compareByGeneratedPositionsInflated=y;function _(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=_;function A(E,T,I){if(T=T||"",E&&(E[E.length-1]!=="/"&&T[0]!=="/"&&(E+="/"),T=E+T),I){var P=n(I);if(!P)throw new Error("sourceMapURL could not be parsed");if(P.path){var z=P.path.lastIndexOf("/");z>=0&&(P.path=P.path.substring(0,z+1))}T=c(a(P),T)}return l(T)}e.computeSourceURL=A}),jd=Object.prototype.hasOwnProperty,Zi=typeof Map!="undefined";function Xr(){this._array=[],this._set=Zi?new Map:Object.create(null)}Xr.fromArray=function(e,t){for(var i=new Xr,s=0,n=e.length;s<n;s++)i.add(e[s],t);return i};Xr.prototype.size=function(){return Zi?this._set.size:Object.getOwnPropertyNames(this._set).length};Xr.prototype.add=function(e,t){var i=Zi?e:R.toSetString(e),s=Zi?this.has(e):jd.call(this._set,i),n=this._array.length;(!s||t)&&this._array.push(e),s||(Zi?this._set.set(e,n):this._set[i]=n)};Xr.prototype.has=function(e){if(Zi)return this._set.has(e);var t=R.toSetString(e);return jd.call(this._set,t)};Xr.prototype.indexOf=function(e){if(Zi){var t=this._set.get(e);if(t>=0)return t}else{var i=R.toSetString(e);if(jd.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Xr.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Xr.prototype.toArray=function(){return this._array.slice()};var Sk=Xr,bx={ArraySet:Sk};function Ek(r,e){var t=r.generatedLine,i=e.generatedLine,s=r.generatedColumn,n=e.generatedColumn;return i>t||i==t&&n>=s||R.compareByGeneratedPositionsInflated(r,e)<=0}function nc(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}nc.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};nc.prototype.add=function(e){Ek(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};nc.prototype.toArray=function(){return this._sorted||(this._array.sort(R.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var Tk=nc,_k={MappingList:Tk},El=bx.ArraySet,Ak=_k.MappingList;function Kt(r){r||(r={}),this._file=R.getArg(r,"file",null),this._sourceRoot=R.getArg(r,"sourceRoot",null),this._skipValidation=R.getArg(r,"skipValidation",!1),this._sources=new El,this._names=new El,this._mappings=new Ak,this._sourcesContents=null}Kt.prototype._version=3;Kt.fromSourceMap=function(e){var t=e.sourceRoot,i=new Kt({file:e.file,sourceRoot:t});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,t!=null&&(n.source=R.relative(t,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),i.addMapping(n)}),e.sources.forEach(function(s){var n=s;t!==null&&(n=R.relative(t,s)),i._sources.has(n)||i._sources.add(n);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};Kt.prototype.addMapping=function(e){var t=R.getArg(e,"generated"),i=R.getArg(e,"original",null),s=R.getArg(e,"source",null),n=R.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,i,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:s,name:n})};Kt.prototype.setSourceContent=function(e,t){var i=e;this._sourceRoot!=null&&(i=R.relative(this._sourceRoot,i)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[R.toSetString(i)]=t):this._sourcesContents&&(delete this._sourcesContents[R.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Kt.prototype.applySourceMap=function(e,t,i){var s=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var n=this._sourceRoot;n!=null&&(s=R.relative(n,s));var a=new El,o=new El;this._mappings.unsortedForEach(function(u){if(u.source===s&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,i!=null&&(u.source=R.join(i,u.source)),n!=null&&(u.source=R.relative(n,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!a.has(c)&&a.add(c);var f=u.name;f!=null&&!o.has(f)&&o.add(f)},this),this._sources=a,this._names=o,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(i!=null&&(u=R.join(i,u)),n!=null&&(u=R.relative(n,u)),this.setSourceContent(u,l))},this)};Kt.prototype._validateMapping=function(e,t,i,s){if(t&&typeof t.line!="number"&&typeof t.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!i&&!s)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:t,name:s}))}};Kt.prototype._serializeMappings=function(){for(var e=0,t=1,i=0,s=0,n=0,a=0,o="",u,l,c,f,h=this._mappings.toArray(),d=0,w=h.length;d<w;d++){if(l=h[d],u="",l.generatedLine!==t)for(e=0;l.generatedLine!==t;)u+=";",t++;else if(d>0){if(!R.compareByGeneratedPositionsInflated(l,h[d-1]))continue;u+=","}u+=zs.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=zs.encode(f-a),a=f,u+=zs.encode(l.originalLine-1-s),s=l.originalLine-1,u+=zs.encode(l.originalColumn-i),i=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=zs.encode(c-n),n=c)),o+=u}return o};Kt.prototype._generateSourcesContent=function(e,t){return e.map(function(i){if(!this._sourcesContents)return null;t!=null&&(i=R.relative(t,i));var s=R.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Kt.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Kt.prototype.toString=function(){return JSON.stringify(this.toJSON())};var Ck=Kt,vx={SourceMapGenerator:Ck},Vd=de(function(r,e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(i,s,n,a,o,u){var l=Math.floor((s-i)/2)+i,c=o(n,a[l],!0);return c===0?l:c>0?s-l>1?t(l,s,n,a,o,u):u==e.LEAST_UPPER_BOUND?s<a.length?s:-1:l:l-i>1?t(i,l,n,a,o,u):u==e.LEAST_UPPER_BOUND?l:i<0?-1:i}e.search=function(s,n,a,o){if(n.length===0)return-1;var u=t(-1,n.length,s,n,a,o||e.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&a(n[u],n[u-1],!0)===0;)--u;return u}});function Pk(r){function e(s,n,a){var o=s[n];s[n]=s[a],s[a]=o}function t(s,n){return Math.round(s+Math.random()*(n-s))}function i(s,n,a,o){if(a<o){var u=t(a,o),l=a-1;e(s,u,o);for(var c=s[o],f=a;f<o;f++)n(s[f],c,!1)<=0&&(l+=1,e(s,l,f));e(s,l+1,f);var h=l+1;i(s,n,a,h-1),i(s,n,h+1,o)}}return i}function Ik(r){let e=Pk.toString();return new Function(`return ${e}`)()(r)}var Ab=new WeakMap,Nk=function(r,e,t=0){let i=Ab.get(e);i===void 0&&(i=Ik(e),Ab.set(e,i)),i(r,e,t,r.length-1)},kk={quickSort:Nk},dn=bx.ArraySet,ho=kk.quickSort;function Me(r,e){var t=r;return typeof r=="string"&&(t=R.parseSourceMapInput(r)),t.sections!=null?new fr(t,e):new ut(t,e)}Me.fromSourceMap=function(r,e){return ut.fromSourceMap(r,e)};Me.prototype._version=3;Me.prototype.__generatedMappings=null;Object.defineProperty(Me.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Me.prototype.__originalMappings=null;Object.defineProperty(Me.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Me.prototype._charIsMappingSeparator=function(e,t){var i=e.charAt(t);return i===";"||i===","};Me.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};Me.GENERATED_ORDER=1;Me.ORIGINAL_ORDER=2;Me.GREATEST_LOWER_BOUND=1;Me.LEAST_UPPER_BOUND=2;Me.prototype.eachMapping=function(e,t,i){var s=t||null,n=i||Me.GENERATED_ORDER,a;switch(n){case Me.GENERATED_ORDER:a=this._generatedMappings;break;case Me.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,u=e.bind(s),l=this._names,c=this._sources,f=this._sourceMapURL,h=0,d=a.length;h<d;h++){var w=a[h],v=w.source===null?null:c.at(w.source);v=R.computeSourceURL(o,v,f),u({source:v,generatedLine:w.generatedLine,generatedColumn:w.generatedColumn,originalLine:w.originalLine,originalColumn:w.originalColumn,name:w.name===null?null:l.at(w.name)})}};Me.prototype.allGeneratedPositionsFor=function(e){var t=R.getArg(e,"line"),i={source:R.getArg(e,"source"),originalLine:t,originalColumn:R.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var s=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",R.compareByOriginalPositions,Vd.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)s.push({line:R.getArg(a,"generatedLine",null),column:R.getArg(a,"generatedColumn",null),lastColumn:R.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var u=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==u;)s.push({line:R.getArg(a,"generatedLine",null),column:R.getArg(a,"generatedColumn",null),lastColumn:R.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};var Ok=Me;function ut(r,e){var t=r;typeof r=="string"&&(t=R.parseSourceMapInput(r));var i=R.getArg(t,"version"),s=R.getArg(t,"sources"),n=R.getArg(t,"names",[]),a=R.getArg(t,"sourceRoot",null),o=R.getArg(t,"sourcesContent",null),u=R.getArg(t,"mappings"),l=R.getArg(t,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=R.normalize(a)),s=s.map(String).map(R.normalize).map(function(c){return a&&R.isAbsolute(a)&&R.isAbsolute(c)?R.relative(a,c):c}),this._names=dn.fromArray(n.map(String),!0),this._sources=dn.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return R.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=u,this._sourceMapURL=e,this.file=l}ut.prototype=Object.create(Me.prototype);ut.prototype.consumer=Me;ut.prototype._findSourceIndex=function(r){var e=r;if(this.sourceRoot!=null&&(e=R.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==r)return t;return-1};ut.fromSourceMap=function(e,t){var i=Object.create(ut.prototype),s=i._names=dn.fromArray(e._names.toArray(),!0),n=i._sources=dn.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=t,i._absoluteSources=i._sources.toArray().map(function(d){return R.computeSourceURL(i.sourceRoot,d,t)});for(var a=e._mappings.toArray().slice(),o=i.__generatedMappings=[],u=i.__originalMappings=[],l=0,c=a.length;l<c;l++){var f=a[l],h=new xx;h.generatedLine=f.generatedLine,h.generatedColumn=f.generatedColumn,f.source&&(h.source=n.indexOf(f.source),h.originalLine=f.originalLine,h.originalColumn=f.originalColumn,f.name&&(h.name=s.indexOf(f.name)),u.push(h)),o.push(h)}return ho(i.__originalMappings,R.compareByOriginalPositions),i};ut.prototype._version=3;Object.defineProperty(ut.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function xx(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var vh=R.compareByGeneratedPositionsDeflatedNoLine;function Cb(r,e){let t=r.length,i=r.length-e;if(!(i<=1))if(i==2){let s=r[e],n=r[e+1];vh(s,n)>0&&(r[e]=n,r[e+1]=s)}else if(i<20)for(let s=e;s<t;s++)for(let n=s;n>e;n--){let a=r[n-1],o=r[n];if(vh(a,o)<=0)break;r[n-1]=o,r[n]=a}else ho(r,vh,e)}ut.prototype._parseMappings=function(e,t){var i=1,s=0,n=0,a=0,o=0,u=0,l=e.length,c=0,f={},h=[],d=[],w,v,x,m;let S=0;for(;c<l;)if(e.charAt(c)===";")i++,c++,s=0,Cb(d,S),S=d.length;else if(e.charAt(c)===",")c++;else{for(w=new xx,w.generatedLine=i,x=c;x<l&&!this._charIsMappingSeparator(e,x);x++);for(e.slice(c,x),v=[];c<x;)zs.decode(e,c,f),m=f.value,c=f.rest,v.push(m);if(v.length===2)throw new Error("Found a source, but no line and column");if(v.length===3)throw new Error("Found a source and line, but no column");if(w.generatedColumn=s+v[0],s=w.generatedColumn,v.length>1&&(w.source=o+v[1],o+=v[1],w.originalLine=n+v[2],n=w.originalLine,w.originalLine+=1,w.originalColumn=a+v[3],a=w.originalColumn,v.length>4&&(w.name=u+v[4],u+=v[4])),d.push(w),typeof w.originalLine=="number"){let b=w.source;for(;h.length<=b;)h.push(null);h[b]===null&&(h[b]=[]),h[b].push(w)}}Cb(d,S),this.__generatedMappings=d;for(var g=0;g<h.length;g++)h[g]!=null&&ho(h[g],R.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...h)};ut.prototype._findMapping=function(e,t,i,s,n,a){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Vd.search(e,t,n,a)};ut.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(t.generatedLine===i.generatedLine){t.lastGeneratedColumn=i.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};ut.prototype.originalPositionFor=function(e){var t={generatedLine:R.getArg(e,"line"),generatedColumn:R.getArg(e,"column")},i=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",R.compareByGeneratedPositionsDeflated,R.getArg(e,"bias",Me.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===t.generatedLine){var n=R.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=R.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=R.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:R.getArg(s,"originalLine",null),column:R.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};ut.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ut.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var s=e;this.sourceRoot!=null&&(s=R.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=R.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(t)return null;throw new Error('"'+s+'" is not in the SourceMap.')};ut.prototype.generatedPositionFor=function(e){var t=R.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var i={source:t,originalLine:R.getArg(e,"line"),originalColumn:R.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",R.compareByOriginalPositions,R.getArg(e,"bias",Me.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:R.getArg(n,"generatedLine",null),column:R.getArg(n,"generatedColumn",null),lastColumn:R.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var Mk=ut;function fr(r,e){var t=r;typeof r=="string"&&(t=R.parseSourceMapInput(r));var i=R.getArg(t,"version"),s=R.getArg(t,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new dn,this._names=new dn;var n={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=R.getArg(a,"offset"),u=R.getArg(o,"line"),l=R.getArg(o,"column");if(u<n.line||u===n.line&&l<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new Me(R.getArg(a,"map"),e)}})}fr.prototype=Object.create(Me.prototype);fr.prototype.constructor=Me;fr.prototype._version=3;Object.defineProperty(fr.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)r.push(this._sections[e].consumer.sources[t]);return r}});fr.prototype.originalPositionFor=function(e){var t={generatedLine:R.getArg(e,"line"),generatedColumn:R.getArg(e,"column")},i=Vd.search(t,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[i];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};fr.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};fr.prototype.sourceContentFor=function(e,t){for(var i=0;i<this._sections.length;i++){var s=this._sections[i],n=s.consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};fr.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var i=this._sections[t];if(i.consumer._findSourceIndex(R.getArg(e,"source"))!==-1){var s=i.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(i.generatedOffset.generatedLine-1),column:s.column+(i.generatedOffset.generatedLine===s.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};fr.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var s=this._sections[i],n=s.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],u=s.consumer._sources.at(o.source);u=R.computeSourceURL(s.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;o.name&&(l=s.consumer._names.at(o.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}ho(this.__generatedMappings,R.compareByGeneratedPositionsDeflated),ho(this.__originalMappings,R.compareByOriginalPositions)};var Lk=fr,Dk={SourceMapConsumer:Ok,BasicSourceMapConsumer:Mk,IndexedSourceMapConsumer:Lk},Rk=vx.SourceMapGenerator,Bk=/(\r?\n)/,Fk=10,Cn="$$$isSourceNode$$$";function Rt(r,e,t,i,s){this.children=[],this.sourceContents={},this.line=r==null?null:r,this.column=e==null?null:e,this.source=t==null?null:t,this.name=s==null?null:s,this[Cn]=!0,i!=null&&this.add(i)}Rt.fromStringWithSourceMap=function(e,t,i){var s=new Rt,n=e.split(Bk),a=0,o=function(){var h=w(),d=w()||"";return h+d;function w(){return a<n.length?n[a++]:void 0}},u=1,l=0,c=null;return t.eachMapping(function(h){if(c!==null)if(u<h.generatedLine)f(c,o()),u++,l=0;else{var d=n[a]||"",w=d.substr(0,h.generatedColumn-l);n[a]=d.substr(h.generatedColumn-l),l=h.generatedColumn,f(c,w),c=h;return}for(;u<h.generatedLine;)s.add(o()),u++;if(l<h.generatedColumn){var d=n[a]||"";s.add(d.substr(0,h.generatedColumn)),n[a]=d.substr(h.generatedColumn),l=h.generatedColumn}c=h},this),a<n.length&&(c&&f(c,o()),s.add(n.splice(a).join(""))),t.sources.forEach(function(h){var d=t.sourceContentFor(h);d!=null&&(i!=null&&(h=R.join(i,h)),s.setSourceContent(h,d))}),s;function f(h,d){if(h===null||h.source===void 0)s.add(d);else{var w=i?R.join(i,h.source):h.source;s.add(new Rt(h.originalLine,h.originalColumn,w,d,h.name))}}};Rt.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[Cn]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Rt.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[Cn]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};Rt.prototype.walk=function(e){for(var t,i=0,s=this.children.length;i<s;i++)t=this.children[i],t[Cn]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};Rt.prototype.join=function(e){var t,i,s=this.children.length;if(s>0){for(t=[],i=0;i<s-1;i++)t.push(this.children[i]),t.push(e);t.push(this.children[i]),this.children=t}return this};Rt.prototype.replaceRight=function(e,t){var i=this.children[this.children.length-1];return i[Cn]?i.replaceRight(e,t):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,t):this.children.push("".replace(e,t)),this};Rt.prototype.setSourceContent=function(e,t){this.sourceContents[R.toSetString(e)]=t};Rt.prototype.walkSourceContents=function(e){for(var t=0,i=this.children.length;t<i;t++)this.children[t][Cn]&&this.children[t].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),t=0,i=s.length;t<i;t++)e(R.fromSetString(s[t]),this.sourceContents[s[t]])};Rt.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};Rt.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},i=new Rk(e),s=!1,n=null,a=null,o=null,u=null;return this.walk(function(l,c){t.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||u!==c.name)&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,a=c.line,o=c.column,u=c.name,s=!0):s&&(i.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var f=0,h=l.length;f<h;f++)l.charCodeAt(f)===Fk?(t.line++,t.column=0,f+1===h?(n=null,s=!1):s&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++}),this.walkSourceContents(function(l,c){i.setSourceContent(l,c)}),{code:t.code,map:i}};var Uk=Rt,qk={SourceNode:Uk},$k=vx.SourceMapGenerator,jk=Dk.SourceMapConsumer,Vk=qk.SourceNode,zd={SourceMapGenerator:$k,SourceMapConsumer:jk,SourceNode:Vk},zk="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Hk=(r,e)=>()=>{let t="",i=e;for(;i--;)t+=r[Math.random()*r.length|0];return t},Gk=(r=21)=>{let e="",t=r;for(;t--;)e+=zk[Math.random()*64|0];return e},Wk={nanoid:Gk,customAlphabet:Hk},{SourceMapConsumer:Pb,SourceMapGenerator:Ib}=zd,{existsSync:Yk,readFileSync:Kk}=kN,{dirname:xh,join:Jk}=Ud;function Qk(r){return M?M.from(r,"base64").toString():window.atob(r)}var po=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let i=t.map?t.map.prev:void 0,s=this.loadMap(t.from,i);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=xh(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Pb(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return e?e.substr(0,t.length)===t:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let i=e.lastIndexOf(t.pop()),s=e.indexOf("*/",i);i>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(i,s)))}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(s.test(e)||n.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||i.test(e))return Qk(e.substr(RegExp.lastMatch.length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}loadFile(e){if(this.root=xh(e),Yk(e))return this.mapFile=e,Kk(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let i=t(e);if(i){let s=this.loadFile(i);if(!s)throw new Error("Unable to load previous source map: "+i.toString());return s}}else{if(t instanceof Pb)return Ib.fromSourceMap(t).toString();if(t instanceof Ib)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return e&&(i=Jk(xh(e),i)),this.loadFile(i)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}},wx=po;po.default=po;var Sx=Ao(aN),{SourceMapConsumer:Xk,SourceMapGenerator:Zk}=zd,{fileURLToPath:Nb,pathToFileURL:zu}=Sx,{resolve:fp,isAbsolute:hp}=Ud,{nanoid:eO}=Wk,wh=Symbol("fromOffsetCache"),tO=Boolean(Xk&&Zk),kb=Boolean(fp&&hp),mn=class{constructor(e,t={}){if(e===null||typeof e=="undefined"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!kb||/^\w+:\/\//.test(t.from)||hp(t.from)?this.file=t.from:this.file=fp(t.from)),kb&&tO){let i=new wx(this.css,t);if(i.text){this.map=i;let s=i.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+eO(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,i;if(this[wh])i=this[wh];else{let n=this.css.split(`
|
|
83
83
|
`);i=new Array(n.length);let a=0;for(let o=0,u=n.length;o<u;o++)i[o]=a,a+=n[o].length+1;this[wh]=i}t=i[i.length-1];let s=0;if(e>=t)s=i.length-1;else{let n=i.length-2,a;for(;s<n;)if(a=s+(n-s>>1),e<i[a])n=a-1;else if(e>=i[a+1])s=a+1;else{s=a;break}}return{line:s+1,col:e-i[s]+1}}error(e,t,i,s={}){let n,a,o;if(t&&typeof t=="object"){let l=t,c=i;if(typeof t.offset=="number"){let f=this.fromOffset(l.offset);t=f.line,i=f.col}else t=l.line,i=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);a=f.line,o=f.col}else a=c.line,o=c.column}else if(!i){let l=this.fromOffset(t);t=l.line,i=l.col}let u=this.origin(t,i,a,o);return u?n=new Sl(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,s.plugin):n=new Sl(e,a===void 0?t:{line:t,column:i},a===void 0?i:{line:a,column:o},this.css,this.file,s.plugin),n.input={line:t,column:i,endLine:a,endColumn:o,source:this.css},this.file&&(zu&&(n.input.url=zu(this.file).toString()),n.input.file=this.file),n}origin(e,t,i,s){if(!this.map)return!1;let n=this.map.consumer(),a=n.originalPositionFor({line:e,column:t});if(!a.source)return!1;let o;typeof i=="number"&&(o=n.originalPositionFor({line:i,column:s}));let u;hp(a.source)?u=zu(a.source):u=new URL(a.source,this.map.consumer().sourceRoot||zu(this.map.mapFile));let l={url:u.toString(),line:a.line,column:a.column,endLine:o&&o.line,endColumn:o&&o.column};if(u.protocol==="file:")if(Nb)l.file=Nb(u);else throw new Error("file: protocol is not available in this PostCSS build");let c=n.sourceContentFor(a.source);return c&&(l.source=c),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:fp(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}},ac=mn;mn.default=mn;za&&za.registerInput&&za.registerInput(mn);var{SourceMapConsumer:Ex,SourceMapGenerator:rl}=zd,{dirname:il,resolve:Tx,relative:_x,sep:Ax}=Ud,{pathToFileURL:Ob}=Sx,rO=Boolean(Ex&&rl),iO=Boolean(il&&Tx&&_x&&Ax),pp=class{constructor(e,t,i,s){this.stringify=e,this.mapOpts=i.map||{},this.root=t,this.opts=i,this.css=s}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new ac(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e!="undefined"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let i=t.source.input.from;i&&!e[i]&&(e[i]=!0,this.map.setSourceContent(this.toUrl(this.path(i)),t.source.input.css))}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),i=e.root||il(e.file),s;this.mapOpts.sourcesContent===!1?(s=new Ex(e.text),s.sourcesContent&&(s.sourcesContent=s.sourcesContent.map(()=>null))):s=e.consumer(),this.map.applySourceMap(s,t,this.toUrl(this.path(i)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}toBase64(e){return M?M.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
|
|
84
84
|
`;this.css.includes(`\r
|
|
85
85
|
`)&&(t=`\r
|
|
@@ -92,8 +92,8 @@ You tried to parse Less with the standard CSS parser; try again with the postcss
|
|
|
92
92
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`);function i(...n){let a=t(...n);return a.postcssPlugin=e,a.postcssVersion=new Yd().version,a}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(n,a,o){return Ce([i(o)]).process(n,a)},i};Ce.stringify=ic;Ce.parse=Wd;Ce.fromJSON=cO;Ce.list=Ux;Ce.comment=r=>new Pn(r);Ce.atRule=r=>new uc(r);Ce.decl=r=>new An(r);Ce.rule=r=>new vo(r);Ce.root=r=>new In(r);Ce.document=r=>new oc(r);Ce.CssSyntaxError=Sl;Ce.Declaration=An;Ce.Container=ei;Ce.Processor=Yd;Ce.Document=oc;Ce.Comment=Pn;Ce.Warning=Rx;Ce.AtRule=uc;Ce.Result=Tl;Ce.Input=ac;Ce.Rule=vo;Ce.Root=In;Ce.Node=sc;$x.registerPostcss(Ce);Ce.default=Ce;var fO=()=>({postcssPlugin:"vue-sfc-trim",Once(r){r.walk(({type:e,raws:t})=>{(e==="rule"||e==="atrule")&&(t.before&&(t.before=`
|
|
93
93
|
`),"after"in t&&t.after&&(t.after=`
|
|
94
94
|
`))})}});fO.postcss=!0;var jx=de(function(r,e){e.__esModule=!0,e.default=s;function t(n){for(var a=n.toLowerCase(),o="",u=!1,l=0;l<6&&a[l]!==void 0;l++){var c=a.charCodeAt(l),f=c>=97&&c<=102||c>=48&&c<=57;if(u=c===32,!f)break;o+=a[l]}if(o.length!==0){var h=parseInt(o,16),d=h>=55296&&h<=57343;return d||h===0||h>1114111?["\uFFFD",o.length+(u?1:0)]:[String.fromCodePoint(h),o.length+(u?1:0)]}}var i=/\\/;function s(n){var a=i.test(n);if(!a)return n;for(var o="",u=0;u<n.length;u++){if(n[u]==="\\"){var l=t(n.slice(u+1,u+7));if(l!==void 0){o+=l[0],u+=l[1];continue}if(n[u+1]==="\\"){o+="\\",u++;continue}n.length===u+1&&(o+=n[u]);continue}o+=n[u]}return o}r.exports=e.default}),hO=de(function(r,e){e.__esModule=!0,e.default=t;function t(i){for(var s=arguments.length,n=new Array(s>1?s-1:0),a=1;a<s;a++)n[a-1]=arguments[a];for(;n.length>0;){var o=n.shift();if(!i[o])return;i=i[o]}return i}r.exports=e.default}),pO=de(function(r,e){e.__esModule=!0,e.default=t;function t(i){for(var s=arguments.length,n=new Array(s>1?s-1:0),a=1;a<s;a++)n[a-1]=arguments[a];for(;n.length>0;){var o=n.shift();i[o]||(i[o]={}),i=i[o]}}r.exports=e.default}),dO=de(function(r,e){e.__esModule=!0,e.default=t;function t(i){for(var s="",n=i.indexOf("/*"),a=0;n>=0;){s=s+i.slice(a,n);var o=i.indexOf("*/",n+2);if(o<0)return s;a=o+2,n=i.indexOf("/*",a)}return s=s+i.slice(a),s}r.exports=e.default}),_e=de(function(r,e){e.__esModule=!0,e.stripComments=e.ensureObject=e.getProp=e.unesc=void 0;var t=a(jx);e.unesc=t.default;var i=a(hO);e.getProp=i.default;var s=a(pO);e.ensureObject=s.default;var n=a(dO);e.stripComments=n.default;function a(o){return o&&o.__esModule?o:{default:o}}}),_i=de(function(r,e){e.__esModule=!0,e.default=void 0;function t(a,o){for(var u=0;u<o.length;u++){var l=o[u];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(a,l.key,l)}}function i(a,o,u){return o&&t(a.prototype,o),u&&t(a,u),a}var s=function a(o,u){if(typeof o!="object"||o===null)return o;var l=new o.constructor;for(var c in o)if(!!o.hasOwnProperty(c)){var f=o[c],h=typeof f;c==="parent"&&h==="object"?u&&(l[c]=u):f instanceof Array?l[c]=f.map(function(d){return a(d,l)}):l[c]=a(f,l)}return l},n=function(){function a(u){u===void 0&&(u={}),Object.assign(this,u),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var o=a.prototype;return o.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},o.replaceWith=function(){if(this.parent){for(var l in arguments)this.parent.insertBefore(this,arguments[l]);this.remove()}return this},o.next=function(){return this.parent.at(this.parent.index(this)+1)},o.prev=function(){return this.parent.at(this.parent.index(this)-1)},o.clone=function(l){l===void 0&&(l={});var c=s(this);for(var f in l)c[f]=l[f];return c},o.appendToPropertyAndEscape=function(l,c,f){this.raws||(this.raws={});var h=this[l],d=this.raws[l];this[l]=h+c,d||f!==c?this.raws[l]=(d||h)+f:delete this.raws[l]},o.setPropertyAndEscape=function(l,c,f){this.raws||(this.raws={}),this[l]=c,this.raws[l]=f},o.setPropertyWithoutEscape=function(l,c){this[l]=c,this.raws&&delete this.raws[l]},o.isAtPosition=function(l,c){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>l||this.source.end.line<l||this.source.start.line===l&&this.source.start.column>c||this.source.end.line===l&&this.source.end.column<c)},o.stringifyProperty=function(l){return this.raws&&this.raws[l]||this[l]},o.valueToString=function(){return String(this.stringifyProperty("value"))},o.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(a,[{key:"rawSpaceBefore",get:function(){var l=this.raws&&this.raws.spaces&&this.raws.spaces.before;return l===void 0&&(l=this.spaces&&this.spaces.before),l||""},set:function(l){(0,_e.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=l}},{key:"rawSpaceAfter",get:function(){var l=this.raws&&this.raws.spaces&&this.raws.spaces.after;return l===void 0&&(l=this.spaces.after),l||""},set:function(l){(0,_e.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=l}}]),a}();e.default=n,r.exports=e.default}),se=de(function(r,e){e.__esModule=!0,e.UNIVERSAL=e.ATTRIBUTE=e.CLASS=e.COMBINATOR=e.COMMENT=e.ID=e.NESTING=e.PSEUDO=e.ROOT=e.SELECTOR=e.STRING=e.TAG=void 0;var t="tag";e.TAG=t;var i="string";e.STRING=i;var s="selector";e.SELECTOR=s;var n="root";e.ROOT=n;var a="pseudo";e.PSEUDO=a;var o="nesting";e.NESTING=o;var u="id";e.ID=u;var l="comment";e.COMMENT=l;var c="combinator";e.COMBINATOR=c;var f="class";e.CLASS=f;var h="attribute";e.ATTRIBUTE=h;var d="universal";e.UNIVERSAL=d}),Kd=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=a(_i),i=n(se);function s(){if(typeof WeakMap!="function")return null;var v=new WeakMap;return s=function(){return v},v}function n(v){if(v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var x=s();if(x&&x.has(v))return x.get(v);var m={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in v)if(Object.prototype.hasOwnProperty.call(v,g)){var b=S?Object.getOwnPropertyDescriptor(v,g):null;b&&(b.get||b.set)?Object.defineProperty(m,g,b):m[g]=v[g]}return m.default=v,x&&x.set(v,m),m}function a(v){return v&&v.__esModule?v:{default:v}}function o(v,x){var m;if(typeof Symbol=="undefined"||v[Symbol.iterator]==null){if(Array.isArray(v)||(m=u(v))||x&&v&&typeof v.length=="number"){m&&(v=m);var S=0;return function(){return S>=v.length?{done:!0}:{done:!1,value:v[S++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
95
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return m=v[Symbol.iterator](),m.next.bind(m)}function u(v,x){if(!!v){if(typeof v=="string")return l(v,x);var m=Object.prototype.toString.call(v).slice(8,-1);if(m==="Object"&&v.constructor&&(m=v.constructor.name),m==="Map"||m==="Set")return Array.from(v);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return l(v,x)}}function l(v,x){(x==null||x>v.length)&&(x=v.length);for(var m=0,S=new Array(x);m<x;m++)S[m]=v[m];return S}function c(v,x){for(var m=0;m<x.length;m++){var S=x[m];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(v,S.key,S)}}function f(v,x,m){return x&&c(v.prototype,x),m&&c(v,m),v}function h(v,x){v.prototype=Object.create(x.prototype),v.prototype.constructor=v,d(v,x)}function d(v,x){return d=Object.setPrototypeOf||function(S,g){return S.__proto__=g,S},d(v,x)}var w=function(v){h(x,v);function x(S){var g;return g=v.call(this,S)||this,g.nodes||(g.nodes=[]),g}var m=x.prototype;return m.append=function(g){return g.parent=this,this.nodes.push(g),this},m.prepend=function(g){return g.parent=this,this.nodes.unshift(g),this},m.at=function(g){return this.nodes[g]},m.index=function(g){return typeof g=="number"?g:this.nodes.indexOf(g)},m.removeChild=function(g){g=this.index(g),this.at(g).parent=void 0,this.nodes.splice(g,1);var b;for(var p in this.indexes)b=this.indexes[p],b>=g&&(this.indexes[p]=b-1);return this},m.removeAll=function(){for(var g=o(this.nodes),b;!(b=g()).done;){var p=b.value;p.parent=void 0}return this.nodes=[],this},m.empty=function(){return this.removeAll()},m.insertAfter=function(g,b){b.parent=this;var p=this.index(g);this.nodes.splice(p+1,0,b),b.parent=this;var y;for(var _ in this.indexes)y=this.indexes[_],p<=y&&(this.indexes[_]=y+1);return this},m.insertBefore=function(g,b){b.parent=this;var p=this.index(g);this.nodes.splice(p,0,b),b.parent=this;var y;for(var _ in this.indexes)y=this.indexes[_],y<=p&&(this.indexes[_]=y+1);return this},m._findChildAtPosition=function(g,b){var p=void 0;return this.each(function(y){if(y.atPosition){var _=y.atPosition(g,b);if(_)return p=_,!1}else if(y.isAtPosition(g,b))return p=y,!1}),p},m.atPosition=function(g,b){if(this.isAtPosition(g,b))return this._findChildAtPosition(g,b)||this},m._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},m.each=function(g){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var b=this.lastEach;if(this.indexes[b]=0,!!this.length){for(var p,y;this.indexes[b]<this.length&&(p=this.indexes[b],y=g(this.at(p),p),y!==!1);)this.indexes[b]+=1;if(delete this.indexes[b],y===!1)return!1}},m.walk=function(g){return this.each(function(b,p){var y=g(b,p);if(y!==!1&&b.length&&(y=b.walk(g)),y===!1)return!1})},m.walkAttributes=function(g){var b=this;return this.walk(function(p){if(p.type===i.ATTRIBUTE)return g.call(b,p)})},m.walkClasses=function(g){var b=this;return this.walk(function(p){if(p.type===i.CLASS)return g.call(b,p)})},m.walkCombinators=function(g){var b=this;return this.walk(function(p){if(p.type===i.COMBINATOR)return g.call(b,p)})},m.walkComments=function(g){var b=this;return this.walk(function(p){if(p.type===i.COMMENT)return g.call(b,p)})},m.walkIds=function(g){var b=this;return this.walk(function(p){if(p.type===i.ID)return g.call(b,p)})},m.walkNesting=function(g){var b=this;return this.walk(function(p){if(p.type===i.NESTING)return g.call(b,p)})},m.walkPseudos=function(g){var b=this;return this.walk(function(p){if(p.type===i.PSEUDO)return g.call(b,p)})},m.walkTags=function(g){var b=this;return this.walk(function(p){if(p.type===i.TAG)return g.call(b,p)})},m.walkUniversals=function(g){var b=this;return this.walk(function(p){if(p.type===i.UNIVERSAL)return g.call(b,p)})},m.split=function(g){var b=this,p=[];return this.reduce(function(y,_,A){var E=g.call(b,_);return p.push(_),E?(y.push(p),p=[]):A===b.length-1&&y.push(p),y},[])},m.map=function(g){return this.nodes.map(g)},m.reduce=function(g,b){return this.nodes.reduce(g,b)},m.every=function(g){return this.nodes.every(g)},m.some=function(g){return this.nodes.some(g)},m.filter=function(g){return this.nodes.filter(g)},m.sort=function(g){return this.nodes.sort(g)},m.toString=function(){return this.map(String).join("")},f(x,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),x}(t.default);e.default=w,r.exports=e.default}),Vx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Kd);function i(l){return l&&l.__esModule?l:{default:l}}function s(l,c){for(var f=0;f<c.length;f++){var h=c[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(l,h.key,h)}}function n(l,c,f){return c&&s(l.prototype,c),f&&s(l,f),l}function a(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,o(l,c)}function o(l,c){return o=Object.setPrototypeOf||function(h,d){return h.__proto__=d,h},o(l,c)}var u=function(l){a(c,l);function c(h){var d;return d=l.call(this,h)||this,d.type=se.ROOT,d}var f=c.prototype;return f.toString=function(){var d=this.reduce(function(w,v){return w.push(String(v)),w},[]).join(",");return this.trailingComma?d+",":d},f.error=function(d,w){return this._error?this._error(d,w):new Error(d)},n(c,[{key:"errorGenerator",set:function(d){this._error=d}}]),c}(t.default);e.default=u,r.exports=e.default}),zx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Kd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.SELECTOR,c}return u}(t.default);e.default=a,r.exports=e.default});var mO={},gO=mO.hasOwnProperty,yO=function(e,t){if(!e)return t;var i={};for(var s in t)i[s]=gO.call(e,s)?e[s]:t[s];return i},bO=/[ -,\.\/:-@\[-\^`\{-~]/,vO=/[ -,\.\/:-@\[\]\^`\{-~]/,xO=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Jd=function r(e,t){t=yO(t,r.options),t.quotes!="single"&&t.quotes!="double"&&(t.quotes="single");for(var i=t.quotes=="double"?'"':"'",s=t.isIdentifier,n=e.charAt(0),a="",o=0,u=e.length;o<u;){var l=e.charAt(o++),c=l.charCodeAt(),f=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&o<u){var h=e.charCodeAt(o++);(h&64512)==56320?c=((c&1023)<<10)+(h&1023)+65536:o--}f="\\"+c.toString(16).toUpperCase()+" "}else t.escapeEverything?bO.test(l)?f="\\"+l:f="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?f="\\"+c.toString(16).toUpperCase()+" ":l=="\\"||!s&&(l=='"'&&i==l||l=="'"&&i==l)||s&&vO.test(l)?f="\\"+l:f=l;a+=f}return s&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(n)&&(a="\\3"+n+" "+a.slice(1))),a=a.replace(xO,function(d,w,v){return w&&w.length%2?d:(w||"")+v}),!s&&t.wrap?i+a+i:a};Jd.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Jd.version="3.0.0";var Qd=Jd,Hx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=s(Qd),i=s(_i);function s(c){return c&&c.__esModule?c:{default:c}}function n(c,f){for(var h=0;h<f.length;h++){var d=f[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,f,h){return f&&n(c.prototype,f),h&&n(c,h),c}function o(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,u(c,f)}function u(c,f){return u=Object.setPrototypeOf||function(d,w){return d.__proto__=w,d},u(c,f)}var l=function(c){o(f,c);function f(d){var w;return w=c.call(this,d)||this,w.type=se.CLASS,w._constructed=!0,w}var h=f.prototype;return h.valueToString=function(){return"."+c.prototype.valueToString.call(this)},a(f,[{key:"value",get:function(){return this._value},set:function(w){if(this._constructed){var v=(0,t.default)(w,{isIdentifier:!0});v!==w?((0,_e.ensureObject)(this,"raws"),this.raws.value=v):this.raws&&delete this.raws.value}this._value=w}}]),f}(i.default);e.default=l,r.exports=e.default}),Gx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.COMMENT,c}return u}(t.default);e.default=a,r.exports=e.default}),Wx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(c){var f;return f=o.call(this,c)||this,f.type=se.ID,f}var l=u.prototype;return l.valueToString=function(){return"#"+o.prototype.valueToString.call(this)},u}(t.default);e.default=a,r.exports=e.default}),Xd=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=s(Qd),i=s(_i);function s(c){return c&&c.__esModule?c:{default:c}}function n(c,f){for(var h=0;h<f.length;h++){var d=f[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,f,h){return f&&n(c.prototype,f),h&&n(c,h),c}function o(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,u(c,f)}function u(c,f){return u=Object.setPrototypeOf||function(d,w){return d.__proto__=w,d},u(c,f)}var l=function(c){o(f,c);function f(){return c.apply(this,arguments)||this}var h=f.prototype;return h.qualifiedName=function(w){return this.namespace?this.namespaceString+"|"+w:w},h.valueToString=function(){return this.qualifiedName(c.prototype.valueToString.call(this))},a(f,[{key:"namespace",get:function(){return this._namespace},set:function(w){if(w===!0||w==="*"||w==="&"){this._namespace=w,this.raws&&delete this.raws.namespace;return}var v=(0,t.default)(w,{isIdentifier:!0});this._namespace=w,v!==w?((0,_e.ensureObject)(this,"raws"),this.raws.namespace=v):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(w){this.namespace=w}},{key:"namespaceString",get:function(){if(this.namespace){var w=this.stringifyProperty("namespace");return w===!0?"":w}else return""}}]),f}(i.default);e.default=l,r.exports=e.default}),Yx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Xd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.TAG,c}return u}(t.default);e.default=a,r.exports=e.default}),Kx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.STRING,c}return u}(t.default);e.default=a,r.exports=e.default}),Jx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Kd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(c){var f;return f=o.call(this,c)||this,f.type=se.PSEUDO,f}var l=u.prototype;return l.toString=function(){var f=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),f,this.rawSpaceAfter].join("")},u}(t.default);e.default=a,r.exports=e.default}),Da=ON.deprecate,Qx=de(function(r,e){e.__esModule=!0,e.unescapeValue=v,e.default=void 0;var t=a(Qd),i=a(jx),s=a(Xd),n;function a(b){return b&&b.__esModule?b:{default:b}}function o(b,p){for(var y=0;y<p.length;y++){var _=p[y];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(b,_.key,_)}}function u(b,p,y){return p&&o(b.prototype,p),y&&o(b,y),b}function l(b,p){b.prototype=Object.create(p.prototype),b.prototype.constructor=b,c(b,p)}function c(b,p){return c=Object.setPrototypeOf||function(_,A){return _.__proto__=A,_},c(b,p)}var f=/^('|")([^]*)\1$/,h=Da(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),d=Da(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),w=Da(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function v(b){var p=!1,y=null,_=b,A=_.match(f);return A&&(y=A[1],_=A[2]),_=(0,i.default)(_),_!==b&&(p=!0),{deprecatedUsage:p,unescaped:_,quoteMark:y}}function x(b){if(b.quoteMark!==void 0||b.value===void 0)return b;w();var p=v(b.value),y=p.quoteMark,_=p.unescaped;return b.raws||(b.raws={}),b.raws.value===void 0&&(b.raws.value=b.value),b.value=_,b.quoteMark=y,b}var m=function(b){l(p,b);function p(_){var A;return _===void 0&&(_={}),A=b.call(this,x(_))||this,A.type=se.ATTRIBUTE,A.raws=A.raws||{},Object.defineProperty(A.raws,"unquoted",{get:Da(function(){return A.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Da(function(){return A.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),A._constructed=!0,A}var y=p.prototype;return y.getQuotedValue=function(A){A===void 0&&(A={});var E=this._determineQuoteMark(A),T=S[E],I=(0,t.default)(this._value,T);return I},y._determineQuoteMark=function(A){return A.smart?this.smartQuoteMark(A):this.preferredQuoteMark(A)},y.setValue=function(A,E){E===void 0&&(E={}),this._value=A,this._quoteMark=this._determineQuoteMark(E),this._syncRawValue()},y.smartQuoteMark=function(A){var E=this.value,T=E.replace(/[^']/g,"").length,I=E.replace(/[^"]/g,"").length;if(T+I===0){var P=(0,t.default)(E,{isIdentifier:!0});if(P===E)return p.NO_QUOTE;var z=this.preferredQuoteMark(A);if(z===p.NO_QUOTE){var H=this.quoteMark||A.quoteMark||p.DOUBLE_QUOTE,X=S[H],oe=(0,t.default)(E,X);if(oe.length<P.length)return H}return z}else return I===T?this.preferredQuoteMark(A):I<T?p.DOUBLE_QUOTE:p.SINGLE_QUOTE},y.preferredQuoteMark=function(A){var E=A.preferCurrentQuoteMark?this.quoteMark:A.quoteMark;return E===void 0&&(E=A.preferCurrentQuoteMark?A.quoteMark:this.quoteMark),E===void 0&&(E=p.DOUBLE_QUOTE),E},y._syncRawValue=function(){var A=(0,t.default)(this._value,S[this.quoteMark]);A===this._value?this.raws&&delete this.raws.value:this.raws.value=A},y._handleEscapes=function(A,E){if(this._constructed){var T=(0,t.default)(E,{isIdentifier:!0});T!==E?this.raws[A]=T:delete this.raws[A]}},y._spacesFor=function(A){var E={before:"",after:""},T=this.spaces[A]||{},I=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(E,T,I)},y._stringFor=function(A,E,T){E===void 0&&(E=A),T===void 0&&(T=g);var I=this._spacesFor(E);return T(this.stringifyProperty(A),I)},y.offsetOf=function(A){var E=1,T=this._spacesFor("attribute");if(E+=T.before.length,A==="namespace"||A==="ns")return this.namespace?E:-1;if(A==="attributeNS"||(E+=this.namespaceString.length,this.namespace&&(E+=1),A==="attribute"))return E;E+=this.stringifyProperty("attribute").length,E+=T.after.length;var I=this._spacesFor("operator");E+=I.before.length;var P=this.stringifyProperty("operator");if(A==="operator")return P?E:-1;E+=P.length,E+=I.after.length;var z=this._spacesFor("value");E+=z.before.length;var H=this.stringifyProperty("value");if(A==="value")return H?E:-1;E+=H.length,E+=z.after.length;var X=this._spacesFor("insensitive");return E+=X.before.length,A==="insensitive"&&this.insensitive?E:-1},y.toString=function(){var A=this,E=[this.rawSpaceBefore,"["];return E.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(E.push(this._stringFor("operator")),E.push(this._stringFor("value")),E.push(this._stringFor("insensitiveFlag","insensitive",function(T,I){return T.length>0&&!A.quoted&&I.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(I.before=" "),g(T,I)}))),E.push("]"),E.push(this.rawSpaceAfter),E.join("")},u(p,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){d()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(A){if(!this._constructed){this._quoteMark=A;return}this._quoteMark!==A&&(this._quoteMark=A,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(A){if(this._constructed){var E=v(A),T=E.deprecatedUsage,I=E.unescaped,P=E.quoteMark;if(T&&h(),I===this._value&&P===this._quoteMark)return;this._value=I,this._quoteMark=P,this._syncRawValue()}else this._value=A}},{key:"attribute",get:function(){return this._attribute},set:function(A){this._handleEscapes("attribute",A),this._attribute=A}}]),p}(s.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var S=(n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},n[null]={isIdentifier:!0},n);function g(b,p){return""+p.before+b+p.after}}),Xx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Xd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.UNIVERSAL,c.value="*",c}return u}(t.default);e.default=a,r.exports=e.default}),Zx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.COMBINATOR,c}return u}(t.default);e.default=a,r.exports=e.default}),ew=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.NESTING,c.value="&",c}return u}(t.default);e.default=a,r.exports=e.default}),wO=de(function(r,e){e.__esModule=!0,e.default=t;function t(i){return i.sort(function(s,n){return s-n})}r.exports=e.default}),tw=de(function(r,e){e.__esModule=!0,e.combinator=e.word=e.comment=e.str=e.tab=e.newline=e.feed=e.cr=e.backslash=e.bang=e.slash=e.doubleQuote=e.singleQuote=e.space=e.greaterThan=e.pipe=e.equals=e.plus=e.caret=e.tilde=e.dollar=e.closeSquare=e.openSquare=e.closeParenthesis=e.openParenthesis=e.semicolon=e.colon=e.comma=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var i=42;e.asterisk=i;var s=64;e.at=s;var n=44;e.comma=n;var a=58;e.colon=a;var o=59;e.semicolon=o;var u=40;e.openParenthesis=u;var l=41;e.closeParenthesis=l;var c=91;e.openSquare=c;var f=93;e.closeSquare=f;var h=36;e.dollar=h;var d=126;e.tilde=d;var w=94;e.caret=w;var v=43;e.plus=v;var x=61;e.equals=x;var m=124;e.pipe=m;var S=62;e.greaterThan=S;var g=32;e.space=g;var b=39;e.singleQuote=b;var p=34;e.doubleQuote=p;var y=47;e.slash=y;var _=33;e.bang=_;var A=92;e.backslash=A;var E=13;e.cr=E;var T=12;e.feed=T;var I=10;e.newline=I;var P=9;e.tab=P;var z=b;e.str=z;var H=-1;e.comment=H;var X=-2;e.word=X;var oe=-3;e.combinator=oe}),SO=de(function(r,e){e.__esModule=!0,e.default=v,e.FIELDS=void 0;var t=a(tw),i,s;function n(){if(typeof WeakMap!="function")return null;var x=new WeakMap;return n=function(){return x},x}function a(x){if(x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var m=n();if(m&&m.has(x))return m.get(x);var S={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in x)if(Object.prototype.hasOwnProperty.call(x,b)){var p=g?Object.getOwnPropertyDescriptor(x,b):null;p&&(p.get||p.set)?Object.defineProperty(S,b,p):S[b]=x[b]}return S.default=x,m&&m.set(x,S),S}for(var o=(i={},i[t.tab]=!0,i[t.newline]=!0,i[t.cr]=!0,i[t.feed]=!0,i),u=(s={},s[t.space]=!0,s[t.tab]=!0,s[t.newline]=!0,s[t.cr]=!0,s[t.feed]=!0,s[t.ampersand]=!0,s[t.asterisk]=!0,s[t.bang]=!0,s[t.comma]=!0,s[t.colon]=!0,s[t.semicolon]=!0,s[t.openParenthesis]=!0,s[t.closeParenthesis]=!0,s[t.openSquare]=!0,s[t.closeSquare]=!0,s[t.singleQuote]=!0,s[t.doubleQuote]=!0,s[t.plus]=!0,s[t.pipe]=!0,s[t.tilde]=!0,s[t.greaterThan]=!0,s[t.equals]=!0,s[t.dollar]=!0,s[t.caret]=!0,s[t.slash]=!0,s),l={},c="0123456789abcdefABCDEF",f=0;f<c.length;f++)l[c.charCodeAt(f)]=!0;function h(x,m){var S=m,g;do{if(g=x.charCodeAt(S),u[g])return S-1;g===t.backslash?S=d(x,S)+1:S++}while(S<x.length);return S-1}function d(x,m){var S=m,g=x.charCodeAt(S+1);if(!o[g])if(l[g]){var b=0;do S++,b++,g=x.charCodeAt(S+1);while(l[g]&&b<6);b<6&&g===t.space&&S++}else S++;return S}var w={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=w;function v(x){var m=[],S=x.css.valueOf(),g=S,b=g.length,p=-1,y=1,_=0,A=0,E,T,I,P,z,H,X,oe,Q,Ze,qt,$,q;function j(N,B){if(x.safe)S+=B,Q=S.length-1;else throw x.error("Unclosed "+N,y,_-p,_)}for(;_<b;){switch(E=S.charCodeAt(_),E===t.newline&&(p=_,y+=1),E){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:Q=_;do Q+=1,E=S.charCodeAt(Q),E===t.newline&&(p=Q,y+=1);while(E===t.space||E===t.newline||E===t.tab||E===t.cr||E===t.feed);q=t.space,P=y,I=Q-p-1,A=Q;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:Q=_;do Q+=1,E=S.charCodeAt(Q);while(E===t.plus||E===t.greaterThan||E===t.tilde||E===t.pipe);q=t.combinator,P=y,I=_-p,A=Q;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:Q=_,q=E,P=y,I=_-p,A=Q+1;break;case t.singleQuote:case t.doubleQuote:$=E===t.singleQuote?"'":'"',Q=_;do for(z=!1,Q=S.indexOf($,Q+1),Q===-1&&j("quote",$),H=Q;S.charCodeAt(H-1)===t.backslash;)H-=1,z=!z;while(z);q=t.str,P=y,I=_-p,A=Q+1;break;default:E===t.slash&&S.charCodeAt(_+1)===t.asterisk?(Q=S.indexOf("*/",_+2)+1,Q===0&&j("comment","*/"),T=S.slice(_,Q+1),oe=T.split(`
|
|
96
|
-
`),X=oe.length-1,X>0?(Ze=y+X,qt=Q-oe[X].length):(Ze=y,qt=p),q=t.comment,y=Ze,P=Ze,I=Q-qt):E===t.slash?(Q=_,q=E,P=y,I=_-p,A=Q+1):(Q=h(S,_),q=t.word,P=y,I=Q-p),A=Q+1;break}m.push([q,y,_-p,P,I,_,A]),qt&&(p=qt,qt=null),_=A}return m}}),EO=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=y(Vx),i=y(zx),s=y(Hx),n=y(Gx),a=y(Wx),o=y(Yx),u=y(Kx),l=y(Jx),c=p(Qx),f=y(Xx),h=y(Zx),d=y(ew),w=y(wO),v=p(SO),x=p(tw),m=p(se),S,g;function b(){if(typeof WeakMap!="function")return null;var $=new WeakMap;return b=function(){return $},$}function p($){if($&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var q=b();if(q&&q.has($))return q.get($);var j={},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in $)if(Object.prototype.hasOwnProperty.call($,B)){var Z=N?Object.getOwnPropertyDescriptor($,B):null;Z&&(Z.get||Z.set)?Object.defineProperty(j,B,Z):j[B]=$[B]}return j.default=$,q&&q.set($,j),j}function y($){return $&&$.__esModule?$:{default:$}}function _($,q){for(var j=0;j<q.length;j++){var N=q[j];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty($,N.key,N)}}function A($,q,j){return q&&_($.prototype,q),j&&_($,j),$}var E=(S={},S[x.space]=!0,S[x.cr]=!0,S[x.feed]=!0,S[x.newline]=!0,S[x.tab]=!0,S),T=Object.assign({},E,(g={},g[x.comment]=!0,g));function I($){return{line:$[v.FIELDS.START_LINE],column:$[v.FIELDS.START_COL]}}function P($){return{line:$[v.FIELDS.END_LINE],column:$[v.FIELDS.END_COL]}}function z($,q,j,N){return{start:{line:$,column:q},end:{line:j,column:N}}}function H($){return z($[v.FIELDS.START_LINE],$[v.FIELDS.START_COL],$[v.FIELDS.END_LINE],$[v.FIELDS.END_COL])}function X($,q){if(!!$)return z($[v.FIELDS.START_LINE],$[v.FIELDS.START_COL],q[v.FIELDS.END_LINE],q[v.FIELDS.END_COL])}function oe($,q){var j=$[q];if(typeof j=="string")return j.indexOf("\\")!==-1&&((0,_e.ensureObject)($,"raws"),$[q]=(0,_e.unesc)(j),$.raws[q]===void 0&&($.raws[q]=j)),$}function Q($,q){for(var j=-1,N=[];(j=$.indexOf(q,j+1))!==-1;)N.push(j);return N}function Ze(){var $=Array.prototype.concat.apply([],arguments);return $.filter(function(q,j){return j===$.indexOf(q)})}var qt=function(){function $(j,N){N===void 0&&(N={}),this.rule=j,this.options=Object.assign({lossy:!1,safe:!1},N),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,v.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var B=X(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new t.default({source:B}),this.root.errorGenerator=this._errorGenerator();var Z=new i.default({source:{start:{line:1,column:1}}});this.root.append(Z),this.current=Z,this.loop()}var q=$.prototype;return q._errorGenerator=function(){var N=this;return function(B,Z){return typeof N.rule=="string"?new Error(B):N.rule.error(B,Z)}},q.attribute=function(){var N=[],B=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==x.closeSquare;)N.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==x.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var Z=N.length,O={source:z(B[1],B[2],this.currToken[3],this.currToken[4]),sourceIndex:B[v.FIELDS.START_POS]};if(Z===1&&!~[x.word].indexOf(N[0][v.FIELDS.TYPE]))return this.expected("attribute",N[0][v.FIELDS.START_POS]);for(var ne=0,Ee="",me="",ee=null,Ie=!1;ne<Z;){var et=N[ne],ie=this.content(et),qe=N[ne+1];switch(et[v.FIELDS.TYPE]){case x.space:if(Ie=!0,this.options.lossy)break;if(ee){(0,_e.ensureObject)(O,"spaces",ee);var Br=O.spaces[ee].after||"";O.spaces[ee].after=Br+ie;var br=(0,_e.getProp)(O,"raws","spaces",ee,"after")||null;br&&(O.raws.spaces[ee].after=br+ie)}else Ee=Ee+ie,me=me+ie;break;case x.asterisk:if(qe[v.FIELDS.TYPE]===x.equals)O.operator=ie,ee="operator";else if((!O.namespace||ee==="namespace"&&!Ie)&&qe){Ee&&((0,_e.ensureObject)(O,"spaces","attribute"),O.spaces.attribute.before=Ee,Ee=""),me&&((0,_e.ensureObject)(O,"raws","spaces","attribute"),O.raws.spaces.attribute.before=Ee,me=""),O.namespace=(O.namespace||"")+ie;var Ct=(0,_e.getProp)(O,"raws","namespace")||null;Ct&&(O.raws.namespace+=ie),ee="namespace"}Ie=!1;break;case x.dollar:if(ee==="value"){var ft=(0,_e.getProp)(O,"raws","value");O.value+="$",ft&&(O.raws.value=ft+"$");break}case x.caret:qe[v.FIELDS.TYPE]===x.equals&&(O.operator=ie,ee="operator"),Ie=!1;break;case x.combinator:if(ie==="~"&&qe[v.FIELDS.TYPE]===x.equals&&(O.operator=ie,ee="operator"),ie!=="|"){Ie=!1;break}qe[v.FIELDS.TYPE]===x.equals?(O.operator=ie,ee="operator"):!O.namespace&&!O.attribute&&(O.namespace=!0),Ie=!1;break;case x.word:if(qe&&this.content(qe)==="|"&&N[ne+2]&&N[ne+2][v.FIELDS.TYPE]!==x.equals&&!O.operator&&!O.namespace)O.namespace=ie,ee="namespace";else if(!O.attribute||ee==="attribute"&&!Ie){Ee&&((0,_e.ensureObject)(O,"spaces","attribute"),O.spaces.attribute.before=Ee,Ee=""),me&&((0,_e.ensureObject)(O,"raws","spaces","attribute"),O.raws.spaces.attribute.before=me,me=""),O.attribute=(O.attribute||"")+ie;var rr=(0,_e.getProp)(O,"raws","attribute")||null;rr&&(O.raws.attribute+=ie),ee="attribute"}else if(!O.value&&O.value!==""||ee==="value"&&!Ie){var ir=(0,_e.unesc)(ie),si=(0,_e.getProp)(O,"raws","value")||"",iu=O.value||"";O.value=iu+ir,O.quoteMark=null,(ir!==ie||si)&&((0,_e.ensureObject)(O,"raws"),O.raws.value=(si||iu)+ie),ee="value"}else{var su=ie==="i"||ie==="I";(O.value||O.value==="")&&(O.quoteMark||Ie)?(O.insensitive=su,(!su||ie==="I")&&((0,_e.ensureObject)(O,"raws"),O.raws.insensitiveFlag=ie),ee="insensitive",Ee&&((0,_e.ensureObject)(O,"spaces","insensitive"),O.spaces.insensitive.before=Ee,Ee=""),me&&((0,_e.ensureObject)(O,"raws","spaces","insensitive"),O.raws.spaces.insensitive.before=me,me="")):(O.value||O.value==="")&&(ee="value",O.value+=ie,O.raws.value&&(O.raws.value+=ie))}Ie=!1;break;case x.str:if(!O.attribute||!O.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:et[v.FIELDS.START_POS]});var Jn=(0,c.unescapeValue)(ie),vT=Jn.unescaped,xT=Jn.quoteMark;O.value=vT,O.quoteMark=xT,ee="value",(0,_e.ensureObject)(O,"raws"),O.raws.value=ie,Ie=!1;break;case x.equals:if(!O.attribute)return this.expected("attribute",et[v.FIELDS.START_POS],ie);if(O.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:et[v.FIELDS.START_POS]});O.operator=O.operator?O.operator+ie:ie,ee="operator",Ie=!1;break;case x.comment:if(ee)if(Ie||qe&&qe[v.FIELDS.TYPE]===x.space||ee==="insensitive"){var wT=(0,_e.getProp)(O,"spaces",ee,"after")||"",ST=(0,_e.getProp)(O,"raws","spaces",ee,"after")||wT;(0,_e.ensureObject)(O,"raws","spaces",ee),O.raws.spaces[ee].after=ST+ie}else{var ET=O[ee]||"",TT=(0,_e.getProp)(O,"raws",ee)||ET;(0,_e.ensureObject)(O,"raws"),O.raws[ee]=TT+ie}else me=me+ie;break;default:return this.error('Unexpected "'+ie+'" found.',{index:et[v.FIELDS.START_POS]})}ne++}oe(O,"attribute"),oe(O,"namespace"),this.newNode(new c.default(O)),this.position++},q.parseWhitespaceEquivalentTokens=function(N){N<0&&(N=this.tokens.length);var B=this.position,Z=[],O="",ne=void 0;do if(E[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(O+=this.content());else if(this.currToken[v.FIELDS.TYPE]===x.comment){var Ee={};O&&(Ee.before=O,O=""),ne=new n.default({value:this.content(),source:H(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],spaces:Ee}),Z.push(ne)}while(++this.position<N);if(O){if(ne)ne.spaces.after=O;else if(!this.options.lossy){var me=this.tokens[B],ee=this.tokens[this.position-1];Z.push(new u.default({value:"",source:z(me[v.FIELDS.START_LINE],me[v.FIELDS.START_COL],ee[v.FIELDS.END_LINE],ee[v.FIELDS.END_COL]),sourceIndex:me[v.FIELDS.START_POS],spaces:{before:O,after:""}}))}}return Z},q.convertWhitespaceNodesToSpace=function(N,B){var Z=this;B===void 0&&(B=!1);var O="",ne="";N.forEach(function(me){var ee=Z.lossySpace(me.spaces.before,B),Ie=Z.lossySpace(me.rawSpaceBefore,B);O+=ee+Z.lossySpace(me.spaces.after,B&&ee.length===0),ne+=ee+me.value+Z.lossySpace(me.rawSpaceAfter,B&&Ie.length===0)}),ne===O&&(ne=void 0);var Ee={space:O,rawSpace:ne};return Ee},q.isNamedCombinator=function(N){return N===void 0&&(N=this.position),this.tokens[N+0]&&this.tokens[N+0][v.FIELDS.TYPE]===x.slash&&this.tokens[N+1]&&this.tokens[N+1][v.FIELDS.TYPE]===x.word&&this.tokens[N+2]&&this.tokens[N+2][v.FIELDS.TYPE]===x.slash},q.namedCombinator=function(){if(this.isNamedCombinator()){var N=this.content(this.tokens[this.position+1]),B=(0,_e.unesc)(N).toLowerCase(),Z={};B!==N&&(Z.value="/"+N+"/");var O=new h.default({value:"/"+B+"/",source:z(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:Z});return this.position=this.position+3,O}else this.unexpected()},q.combinator=function(){var N=this;if(this.content()==="|")return this.namespace();var B=this.locateNextMeaningfulToken(this.position);if(B<0||this.tokens[B][v.FIELDS.TYPE]===x.comma){var Z=this.parseWhitespaceEquivalentTokens(B);if(Z.length>0){var O=this.current.last;if(O){var ne=this.convertWhitespaceNodesToSpace(Z),Ee=ne.space,me=ne.rawSpace;me!==void 0&&(O.rawSpaceAfter+=me),O.spaces.after+=Ee}else Z.forEach(function(si){return N.newNode(si)})}return}var ee=this.currToken,Ie=void 0;B>this.position&&(Ie=this.parseWhitespaceEquivalentTokens(B));var et;if(this.isNamedCombinator()?et=this.namedCombinator():this.currToken[v.FIELDS.TYPE]===x.combinator?(et=new h.default({value:this.content(),source:H(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):E[this.currToken[v.FIELDS.TYPE]]||Ie||this.unexpected(),et){if(Ie){var ie=this.convertWhitespaceNodesToSpace(Ie),qe=ie.space,Br=ie.rawSpace;et.spaces.before=qe,et.rawSpaceBefore=Br}}else{var br=this.convertWhitespaceNodesToSpace(Ie,!0),Ct=br.space,ft=br.rawSpace;ft||(ft=Ct);var rr={},ir={spaces:{}};Ct.endsWith(" ")&&ft.endsWith(" ")?(rr.before=Ct.slice(0,Ct.length-1),ir.spaces.before=ft.slice(0,ft.length-1)):Ct.startsWith(" ")&&ft.startsWith(" ")?(rr.after=Ct.slice(1),ir.spaces.after=ft.slice(1)):ir.value=ft,et=new h.default({value:" ",source:X(ee,this.tokens[this.position-1]),sourceIndex:ee[v.FIELDS.START_POS],spaces:rr,raws:ir})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===x.space&&(et.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(et)},q.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var N=new i.default({source:{start:I(this.tokens[this.position+1])}});this.current.parent.append(N),this.current=N,this.position++},q.comment=function(){var N=this.currToken;this.newNode(new n.default({value:this.content(),source:H(N),sourceIndex:N[v.FIELDS.START_POS]})),this.position++},q.error=function(N,B){throw this.root.error(N,B)},q.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},q.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},q.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},q.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},q.namespace=function(){var N=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[v.FIELDS.TYPE]===x.word)return this.position++,this.word(N);if(this.nextToken[v.FIELDS.TYPE]===x.asterisk)return this.position++,this.universal(N)},q.nesting=function(){if(this.nextToken){var N=this.content(this.nextToken);if(N==="|"){this.position++;return}}var B=this.currToken;this.newNode(new d.default({value:this.content(),source:H(B),sourceIndex:B[v.FIELDS.START_POS]})),this.position++},q.parentheses=function(){var N=this.current.last,B=1;if(this.position++,N&&N.type===m.PSEUDO){var Z=new i.default({source:{start:I(this.tokens[this.position-1])}}),O=this.current;for(N.append(Z),this.current=Z;this.position<this.tokens.length&&B;)this.currToken[v.FIELDS.TYPE]===x.openParenthesis&&B++,this.currToken[v.FIELDS.TYPE]===x.closeParenthesis&&B--,B?this.parse():(this.current.source.end=P(this.currToken),this.current.parent.source.end=P(this.currToken),this.position++);this.current=O}else{for(var ne=this.currToken,Ee="(",me;this.position<this.tokens.length&&B;)this.currToken[v.FIELDS.TYPE]===x.openParenthesis&&B++,this.currToken[v.FIELDS.TYPE]===x.closeParenthesis&&B--,me=this.currToken,Ee+=this.parseParenthesisToken(this.currToken),this.position++;N?N.appendToPropertyAndEscape("value",Ee,Ee):this.newNode(new u.default({value:Ee,source:z(ne[v.FIELDS.START_LINE],ne[v.FIELDS.START_COL],me[v.FIELDS.END_LINE],me[v.FIELDS.END_COL]),sourceIndex:ne[v.FIELDS.START_POS]}))}if(B)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},q.pseudo=function(){for(var N=this,B="",Z=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===x.colon;)B+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[v.FIELDS.TYPE]===x.word)this.splitWord(!1,function(O,ne){B+=O,N.newNode(new l.default({value:B,source:X(Z,N.currToken),sourceIndex:Z[v.FIELDS.START_POS]})),ne>1&&N.nextToken&&N.nextToken[v.FIELDS.TYPE]===x.openParenthesis&&N.error("Misplaced parenthesis.",{index:N.nextToken[v.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[v.FIELDS.START_POS])},q.space=function(){var N=this.content();this.position===0||this.prevToken[v.FIELDS.TYPE]===x.comma||this.prevToken[v.FIELDS.TYPE]===x.openParenthesis||this.current.nodes.every(function(B){return B.type==="comment"})?(this.spaces=this.optionalSpace(N),this.position++):this.position===this.tokens.length-1||this.nextToken[v.FIELDS.TYPE]===x.comma||this.nextToken[v.FIELDS.TYPE]===x.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(N),this.position++):this.combinator()},q.string=function(){var N=this.currToken;this.newNode(new u.default({value:this.content(),source:H(N),sourceIndex:N[v.FIELDS.START_POS]})),this.position++},q.universal=function(N){var B=this.nextToken;if(B&&this.content(B)==="|")return this.position++,this.namespace();var Z=this.currToken;this.newNode(new f.default({value:this.content(),source:H(Z),sourceIndex:Z[v.FIELDS.START_POS]}),N),this.position++},q.splitWord=function(N,B){for(var Z=this,O=this.nextToken,ne=this.content();O&&~[x.dollar,x.caret,x.equals,x.word].indexOf(O[v.FIELDS.TYPE]);){this.position++;var Ee=this.content();if(ne+=Ee,Ee.lastIndexOf("\\")===Ee.length-1){var me=this.nextToken;me&&me[v.FIELDS.TYPE]===x.space&&(ne+=this.requiredSpace(this.content(me)),this.position++)}O=this.nextToken}var ee=Q(ne,".").filter(function(qe){var Br=ne[qe-1]==="\\",br=/^\d+\.\d+%$/.test(ne);return!Br&&!br}),Ie=Q(ne,"#").filter(function(qe){return ne[qe-1]!=="\\"}),et=Q(ne,"#{");et.length&&(Ie=Ie.filter(function(qe){return!~et.indexOf(qe)}));var ie=(0,w.default)(Ze([0].concat(ee,Ie)));ie.forEach(function(qe,Br){var br=ie[Br+1]||ne.length,Ct=ne.slice(qe,br);if(Br===0&&B)return B.call(Z,Ct,ie.length);var ft,rr=Z.currToken,ir=rr[v.FIELDS.START_POS]+ie[Br],si=z(rr[1],rr[2]+qe,rr[3],rr[2]+(br-1));if(~ee.indexOf(qe)){var iu={value:Ct.slice(1),source:si,sourceIndex:ir};ft=new s.default(oe(iu,"value"))}else if(~Ie.indexOf(qe)){var su={value:Ct.slice(1),source:si,sourceIndex:ir};ft=new a.default(oe(su,"value"))}else{var Jn={value:Ct,source:si,sourceIndex:ir};oe(Jn,"value"),ft=new o.default(Jn)}Z.newNode(ft,N),N=null}),this.position++},q.word=function(N){var B=this.nextToken;return B&&this.content(B)==="|"?(this.position++,this.namespace()):this.splitWord(N)},q.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},q.parse=function(N){switch(this.currToken[v.FIELDS.TYPE]){case x.space:this.space();break;case x.comment:this.comment();break;case x.openParenthesis:this.parentheses();break;case x.closeParenthesis:N&&this.missingParenthesis();break;case x.openSquare:this.attribute();break;case x.dollar:case x.caret:case x.equals:case x.word:this.word();break;case x.colon:this.pseudo();break;case x.comma:this.comma();break;case x.asterisk:this.universal();break;case x.ampersand:this.nesting();break;case x.slash:case x.combinator:this.combinator();break;case x.str:this.string();break;case x.closeSquare:this.missingSquareBracket();case x.semicolon:this.missingBackslash();default:this.unexpected()}},q.expected=function(N,B,Z){if(Array.isArray(N)){var O=N.pop();N=N.join(", ")+" or "+O}var ne=/^[aeiou]/.test(N[0])?"an":"a";return Z?this.error("Expected "+ne+" "+N+', found "'+Z+'" instead.',{index:B}):this.error("Expected "+ne+" "+N+".",{index:B})},q.requiredSpace=function(N){return this.options.lossy?" ":N},q.optionalSpace=function(N){return this.options.lossy?"":N},q.lossySpace=function(N,B){return this.options.lossy?B?" ":"":N},q.parseParenthesisToken=function(N){var B=this.content(N);return N[v.FIELDS.TYPE]===x.space?this.requiredSpace(B):B},q.newNode=function(N,B){return B&&(/^ +$/.test(B)&&(this.options.lossy||(this.spaces=(this.spaces||"")+B),B=!0),N.namespace=B,oe(N,"namespace")),this.spaces&&(N.spaces.before=this.spaces,this.spaces=""),this.current.append(N)},q.content=function(N){return N===void 0&&(N=this.currToken),this.css.slice(N[v.FIELDS.START_POS],N[v.FIELDS.END_POS])},q.locateNextMeaningfulToken=function(N){N===void 0&&(N=this.position+1);for(var B=N;B<this.tokens.length;)if(T[this.tokens[B][v.FIELDS.TYPE]]){B++;continue}else return B;return-1},A($,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),$}();e.default=qt,r.exports=e.default}),TO=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(EO);function i(n){return n&&n.__esModule?n:{default:n}}var s=function(){function n(o,u){this.func=o||function(){},this.funcRes=null,this.options=u}var a=n.prototype;return a._shouldUpdateSelector=function(u,l){l===void 0&&(l={});var c=Object.assign({},this.options,l);return c.updateSelector===!1?!1:typeof u!="string"},a._isLossy=function(u){u===void 0&&(u={});var l=Object.assign({},this.options,u);return l.lossless===!1},a._root=function(u,l){l===void 0&&(l={});var c=new t.default(u,this._parseOptions(l));return c.root},a._parseOptions=function(u){return{lossy:this._isLossy(u)}},a._run=function(u,l){var c=this;return l===void 0&&(l={}),new Promise(function(f,h){try{var d=c._root(u,l);Promise.resolve(c.func(d)).then(function(w){var v=void 0;return c._shouldUpdateSelector(u,l)&&(v=d.toString(),u.selector=v),{transform:w,root:d,string:v}}).then(f,h)}catch(w){h(w);return}})},a._runSync=function(u,l){l===void 0&&(l={});var c=this._root(u,l),f=this.func(c);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var h=void 0;return l.updateSelector&&typeof u!="string"&&(h=c.toString(),u.selector=h),{transform:f,root:c,string:h}},a.ast=function(u,l){return this._run(u,l).then(function(c){return c.root})},a.astSync=function(u,l){return this._runSync(u,l).root},a.transform=function(u,l){return this._run(u,l).then(function(c){return c.transform})},a.transformSync=function(u,l){return this._runSync(u,l).transform},a.process=function(u,l){return this._run(u,l).then(function(c){return c.string||c.root.toString()})},a.processSync=function(u,l){var c=this._runSync(u,l);return c.string||c.root.toString()},n}();e.default=s,r.exports=e.default}),Sh=de(function(r,e){e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=w(Qx),i=w(Hx),s=w(Zx),n=w(Gx),a=w(Wx),o=w(ew),u=w(Jx),l=w(Vx),c=w(zx),f=w(Kx),h=w(Yx),d=w(Xx);function w(I){return I&&I.__esModule?I:{default:I}}var v=function(P){return new t.default(P)};e.attribute=v;var x=function(P){return new i.default(P)};e.className=x;var m=function(P){return new s.default(P)};e.combinator=m;var S=function(P){return new n.default(P)};e.comment=S;var g=function(P){return new a.default(P)};e.id=g;var b=function(P){return new o.default(P)};e.nesting=b;var p=function(P){return new u.default(P)};e.pseudo=p;var y=function(P){return new l.default(P)};e.root=y;var _=function(P){return new c.default(P)};e.selector=_;var A=function(P){return new f.default(P)};e.string=A;var E=function(P){return new h.default(P)};e.tag=E;var T=function(P){return new d.default(P)};e.universal=T}),Eh=de(function(r,e){e.__esModule=!0,e.isNode=s,e.isPseudoElement=S,e.isPseudoClass=g,e.isContainer=b,e.isNamespace=p,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0;var t,i=(t={},t[se.ATTRIBUTE]=!0,t[se.CLASS]=!0,t[se.COMBINATOR]=!0,t[se.COMMENT]=!0,t[se.ID]=!0,t[se.NESTING]=!0,t[se.PSEUDO]=!0,t[se.ROOT]=!0,t[se.SELECTOR]=!0,t[se.STRING]=!0,t[se.TAG]=!0,t[se.UNIVERSAL]=!0,t);function s(y){return typeof y=="object"&&i[y.type]}function n(y,_){return s(_)&&_.type===y}var a=n.bind(null,se.ATTRIBUTE);e.isAttribute=a;var o=n.bind(null,se.CLASS);e.isClassName=o;var u=n.bind(null,se.COMBINATOR);e.isCombinator=u;var l=n.bind(null,se.COMMENT);e.isComment=l;var c=n.bind(null,se.ID);e.isIdentifier=c;var f=n.bind(null,se.NESTING);e.isNesting=f;var h=n.bind(null,se.PSEUDO);e.isPseudo=h;var d=n.bind(null,se.ROOT);e.isRoot=d;var w=n.bind(null,se.SELECTOR);e.isSelector=w;var v=n.bind(null,se.STRING);e.isString=v;var x=n.bind(null,se.TAG);e.isTag=x;var m=n.bind(null,se.UNIVERSAL);e.isUniversal=m;function S(y){return h(y)&&y.value&&(y.value.startsWith("::")||y.value.toLowerCase()===":before"||y.value.toLowerCase()===":after")}function g(y){return h(y)&&!S(y)}function b(y){return!!(s(y)&&y.walk)}function p(y){return a(y)||x(y)}}),_O=de(function(r,e){e.__esModule=!0,Object.keys(se).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===se[t]||(e[t]=se[t])}),Object.keys(Sh).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===Sh[t]||(e[t]=Sh[t])}),Object.keys(Eh).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===Eh[t]||(e[t]=Eh[t])})}),AO=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=a(TO),i=n(_O);function s(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return s=function(){return l},l}function n(l){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var c=s();if(c&&c.has(l))return c.get(l);var f={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in l)if(Object.prototype.hasOwnProperty.call(l,d)){var w=h?Object.getOwnPropertyDescriptor(l,d):null;w&&(w.get||w.set)?Object.defineProperty(f,d,w):f[d]=l[d]}return f.default=l,c&&c.set(l,f),f}function a(l){return l&&l.__esModule?l:{default:l}}var o=function(c){return new t.default(c)};Object.assign(o,i),delete o.__esModule;var u=o;e.default=u,r.exports=e.default}),yp=E6(AO),CO=/^(-\w+-)?animation-name$/,PO=/^(-\w+-)?animation$/,IO=(r="")=>{let e=Object.create(null),t=r.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){NO(r,i)},AtRule(i){/-?keyframes$/.test(i.name)&&!i.params.endsWith(`-${t}`)&&(e[i.params]=i.params=i.params+"-"+t)},OnceExit(i){Object.keys(e).length&&i.walkDecls(s=>{CO.test(s.prop)&&(s.value=s.value.split(",").map(n=>e[n.trim()]||n.trim()).join(",")),PO.test(s.prop)&&(s.value=s.value.split(",").map(n=>{let a=n.trim().split(/\s+/),o=a.findIndex(u=>e[u]);return o!==-1?(a.splice(o,1,e[a[o]]),a.join(" ")):n}).join(","))})}}},Db=new WeakSet;function NO(r,e){Db.has(e)||e.parent&&e.parent.type==="atrule"&&/-?keyframes$/.test(e.parent.name)||(Db.add(e),e.selector=yp(t=>{t.each(i=>{rw(r,i,t)})}).processSync(e.selector))}function rw(r,e,t,i=!1){let s=null,n=!0;if(e.each(a=>{if(a.type==="combinator"&&(a.value===">>>"||a.value==="/deep/"))return a.value=" ",a.spaces.before=a.spaces.after="",yb("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(a.type==="pseudo"){let{value:o}=a;if(o===":deep"||o==="::v-deep"){if(a.nodes.length){let u=a;a.nodes[0].each(c=>{e.insertAfter(u,c),u=c});let l=e.at(e.index(a)-1);(!l||!Rb(l))&&e.insertAfter(a,yp.combinator({value:" "})),e.removeChild(a)}else{yb("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");let u=e.at(e.index(a)-1);u&&Rb(u)&&e.removeChild(u),e.removeChild(a)}return!1}if(o===":slotted"||o==="::v-slotted"){rw(r,a.nodes[0],t,!0);let u=a;return a.nodes[0].each(l=>{e.insertAfter(u,l),u=l}),e.removeChild(a),n=!1,!1}if(o===":global"||o==="::v-global")return t.insertAfter(e,a.nodes[0]),t.removeChild(e),!1}a.type!=="pseudo"&&a.type!=="combinator"&&(s=a)}),s?s.spaces.after="":e.first.spaces.before="",n){let a=i?r+"-s":r;e.insertAfter(s,yp.attribute({attribute:a,value:a,raws:{},quoteMark:'"'}))}}function Rb(r){return r.type==="combinator"&&/^\s+$/.test(r.value)}IO.postcss=!0;var t7=U2.SourceMapConsumer,r7=U2.SourceMapGenerator;function h7(r,e,t={compare:"same",result:"value"}){let i=r.filter(o=>e.includes(o)),s=r.filter(o=>!e.includes(o)).concat(e.filter(o=>!r.includes(o))),{compare:n="same",result:a="value"}=t;return n==="same"?a==="value"?i:i.map(o=>r.indexOf(o)):a==="value"?kO(s):s.map(o=>r.indexOf(o)).filter(o=>o>=0)}function kO(r){if(!r.length)return r;let e=Math.floor(r.length/2),t=r.slice(0,e),i=r.slice(e),s=[];for(let n=0;n<e;n++)s.push([t[n],i[n]]);return s}function At(r){return typeof r>"u"}function p7(r,e){for(let t=0;t<r.length;t++){let i=e(r[t],t,r);if(!At(i))return i}}function d7(r,e=2){return(r.reduce((t,i)=>t+i)/r.length).toFixed(e)}var We=Array.isArray;function gc(r){return typeof r<"u"}function m7(array,key){let reg=/\/[\w._ $]+\/[gims]*/;return array.filter(r=>We(key)?key.some(e=>findItem(r,e)):findItem(r,key));function findItem(item,key){let[_key,_value]=key.split("=");return At(item[_key])?!1:gc(_value)?reg.test(_value)?new RegExp(eval(_value)).test(item[_key]):_value===item[_key]:/.*/.test(item[key])}}function g7(r,e){let t=new Map;return r.forEach((i,s)=>t.set(i[e],s)),new OO(r,t,e)}var OO=class{constructor(r,e,t){this.array=r,this.indexMap=e,this.id=t,this.array=r,this.indexMap=e,this.id=t}find(r){let e=this.indexMap.get(r);if(!At(e))return this.array[e]}_update(r,e,t){if(At(e)){let i=this.indexMap.get(r);if(At(i))throw new Error("\u5F53\u524Did\u4E0D\u5B58\u5728");if(t[this.id]!==r)throw new Error("\u4E0D\u53EF\u4FEE\u6539\u552F\u4E00id");this.array[i]=t}else{let i=this.find(r);if(At(i))return;i[e]=t}return this.array}delete(r){let e=this.indexMap.get(r);if(!At(e))return this.array.splice(e,1),this.indexMap.delete(r),this.array}set(r,e,t){let i=this.indexMap.get(r);if(At(t)){if(At(e))return;t=e,e=void 0}if(gc(i))return this._update(r,e,t);if(At(t[this.id]))throw new Error("\u65B0\u589E\u7684\u6570\u636E\u5FC5\u987B\u5305\u542B\u552F\u4E00id");if(t[this.id]!==r)throw new Error("\u65B0\u589E\u7684\u6570\u636Eid\u5FC5\u987B\u4E0E\u5F53\u524Did\u4E00\u81F4");return this.indexMap.set(r,this.array.length),this.array.push(t),this.array}};function re(r){return typeof r=="string"}function Nr(r){return typeof r=="function"}var Ai=Object.prototype.toString,y7=/(?<=\s|^|;)import\s*(["'\s]*(?<imports>[\w*${}\n\r\t, /]+)from\s*)?["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][\s;]*/gm,b7=/import\s*\((?<expression>(?:[^)(]+|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gm,v7=/\bexport\s+(?<declaration>(async function|function|let|const|var|class))\s+(?<name>[\w$_]+)/g,x7=/\bexport\s+{(?<exports>[^}]+)}(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][^\n]*)?/g,w7=/\bexport\s*(\*)(\s*as\s+(?<name>[\w$_]+)\s+)?\s*(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][^\n]*)?/g,S7=/\bexport\s+default\s+/g;function vt(r){return Ai.call(r)==="[object Object]"}function MO(r){return Ai.call(r)==="[object Set]"}function iw(r){return Ai.call(r)==="[object Map]"}function t0(r){return typeof r=="object"&&r.constructor===RegExp}function LO(r){return Number.isNaN(r)}function Mo(r){return r===null}function DO(r){return typeof r=="symbol"}function ko(r){return typeof r=="boolean"}function ms(r){return typeof r=="number"}function RO(r){return Ai.call(r)==="[object Promise]"}function BO(r){return r instanceof Date}function sw(r){return Ai.call(r)==="[object WeakMap]"}function nw(r){return Ai.call(r)==="[object WeakSet]"}function Oo(r,e){if(e=e.toLocaleLowerCase(),!e)throw new Error("type is required");let t={str:re,s:re,string:re,fn:Nr,f:Nr,function:Nr,object:vt,o:vt,array:We,a:We,set:MO,map:iw,m:iw,reg:t0,r:t0,b:ko,boolean:ko,n:ms,number:ms,u:At,undefined:At,null:Mo,symbol:DO,nan:LO,wm:sw,ws:nw,promise:RO,weakmap:sw,weakset:nw,date:BO};return e.split("|").some(i=>{var s;return(s=t[i.trim()])==null?void 0:s.call(t,r)})}function E7(r,e){return Oo(e,"s|n")&&(e=[`${e}`]),e.reduce((t,i)=>{let s=!1;return i[0]==="-"&&(s=!0,i=i.slice(1)),t.sort((n,a)=>i!=="1"&&a[i]===n[i]?0:s?i==="1"?a>n?1:-1:a[i]>n[i]?1:-1:i==="1"?n>a?1:-1:a[i]>n[i]?-1:1)},r)}function T7(r,e,t){if(!e)return r;let i=[],s,n=t?t.split("."):void 0;return e.forEach((o,u)=>{if(o==="*")return s=u;let l=r.findIndex(c=>a(n,c)===o);l!==-1&&(i.push(r[l]),r.splice(l,1))}),gc(s)?i.splice(s,0,...r):i.concat(r),i;function a(o,u){return o?o.reduce((l,c)=>l==null?void 0:l[c],u):u}}function _7(r){return r.reduce((e,t)=>((Oo(t,"o|a")&&!FO(e,t)||!e.includes(t))&&e.push(t),e),[])}function ww(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(let t in r)if(Oo(r[t],"o|a")&&Oo(e[t],"o|a")&&!ww(r[t],e[t])||r[t]!==e[t])return!1;return!0}function FO(r,e){return r.some(t=>Oo(t,"o|a")&&ww(e,t))}function A7(r,e=1){if(e<1)return[];let t=[];for(let i=0;i<r.length;i+=e)t.push(r.slice(i,i+e));return t}function C7(r,e){return r.reduce((t,i)=>{let s=e(i);return t[s]?t[s]++:t[s]=1,t},{})}function UO(r,e="children",t=!1,i=[]){return r=We(r)?r:[r],r.forEach(s=>{let n=s[e];t||i.push(s),n?UO(n,e,t,i):t&&i.push(s)}),i}function P7(r){return r.filter(Boolean)}var Sw=class{constructor(r,e){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));return r&&(this.canvas.width=r),e&&(this.canvas.height=e),this}};function Bt(r,e=!1,t=document){if(!Mo(e))return ko(e)||(t=e,e=!1),We(r)?r.reduce((i,s)=>{let n=e?t.querySelectorAll(s):t.querySelector(s);return n?i=e?[...i,...n]:[...i,n]:i},[]):e?t.querySelectorAll(r):t.querySelector(r)}function Ye(...r){let e=r.length,t=[...r],i=t.slice(0,e-1),s=t.slice(-1)[0],n=!1,a=!1;o(),document.addEventListener("DOMContentLoaded",o),setTimeout(()=>document.removeEventListener("DOMContentLoaded",o));function o(){if(!a){if(i.forEach((u,l)=>re(u)&&(i[l]=Bt(u)||u)),!n&&i.some(re))return n=!0;if(i.some(re))throw new Error(`${i.filter(re).join(", ")} is not a HTMLElement`);s==null||s(...i),a=!0}}}function Lo(r,e,t){return Ye(r,e,(i,s)=>i.insertBefore(s,Mo(t)?null:t||i.firstChild))}function Do(r){if(re(r)&&(r=Bt(r)||r),re(r))throw new Error(`${r} is not a element`);let e=r.parentElement;return e&&e.removeChild(r),e}function p0(r){let e=window.onunload||function(){};return window.onunload=function(t){r==null||r(t),e.call(this,t)},r}function xe(r,e,t,i,s){let n=!1,a,o;e==="DOMContentLoaded"&&(n=!0);function u(l){var c;try{(c=t==null?void 0:t.call)==null||c.call(t,l.target,l)}catch(f){throw o==null||o(),new Error(f)}s&&a()}return p0(()=>a==null?void 0:a()),Ye(r,l=>{let c=l==null?void 0:l[e],f=h=>{try{!(c&&c.toString().includes("() { [native code] }"))&&c&&(c==null||c())}catch(d){console.error(d)}u(h)};l.addEventListener(e,f,i),a=()=>l.removeEventListener(e,f,i),n&&(a==null||a())}),()=>{if(!a)return n=!0;a==null||a()}}function aw(r,e){return xe(document,"keydown",t=>{let i="",s=t.key;t.shiftKey&&s!=="Shift"&&(i+="Shift+"),t.ctrlKey&&s!=="Control"&&(i+="Ctrl+"),t.altKey&&s!=="Alt"&&(i+="Alt+"),t.metaKey&&s!=="Meta"&&(i+="Meta+"),t.code==="Space"&&(i+="Space"),i+=s,i===r&&e(i)})}var I7=class{constructor(r=2,e=400,t=400,i="#000000"){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));be(this,"stop",[]);be(this,"active",!1);be(this,"historyStack",[]);be(this,"resetStack",[]);be(this,"color","#000000");this.color=i,this.createCanvas(r,e,t),window.onunload=()=>this.unmount()}createCanvas(r=2,e=400,t=400){this.canvas.width=e,this.canvas.height=t,this.ctx.fillStyle="rgba(255, 255, 255, 0)",this.ctx.fillRect(0,0,e,t),this.ctx.strokeStyle=this.color,this.ctx.lineWidth=r,this.ctx.lineCap="round";let i=0,s=0;this.stop.push(xe(this.canvas,"touchstart",a=>{i=this.canvas.offsetTop,s=this.canvas.offsetLeft,this.ctx.beginPath(),this.ctx.moveTo(a.changedTouches[0].pageX+2-s,a.changedTouches[0].pageY-i)},!1));let n=!1;this.stop.push(xe(this.canvas,"mousedown",a=>{i=this.canvas.offsetTop,s=this.canvas.offsetLeft,n=!0,this.ctx.beginPath(),this.ctx.moveTo(a.pageX+2-s,a.pageY-i)},!1)),this.stop.push(xe(this.canvas,"mousemove",a=>{!n||(this.ctx.lineTo(a.pageX+2-s,a.pageY-i),this.ctx.stroke())},!1)),this.stop.push(xe(this.canvas,"mouseup",()=>n=!1)),this.stop.push(xe(this.canvas,"mouseout",()=>n=!1)),this.stop.push(xe(this.canvas,"touchmove",a=>{this.ctx.lineTo(a.changedTouches[0].pageX+2-s,a.changedTouches[0].pageY-i),this.ctx.stroke()},!1))}clearCanvas(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}mount(r){return Lo(r,this.canvas,null),this.listen(),this}setColor(r){this.color=r,this.ctx.strokeStyle=r}unmount(){Do(this.canvas),this.stop.forEach(r=>r())}listen(){xe(this.canvas,"mousedown",()=>{this.active=!0}),xe(this.canvas,"mouseup",()=>{this.active=!1;let{width:r,height:e}=this.canvas,t=this.ctx.getImageData(0,0,r,e);this.historyStack.push(t)}),xe(this.canvas,"mouseout",()=>{this.active=!1}),aw("Ctrl+z",()=>this.undo()),aw("Ctrl+x",()=>this.redo())}undo(){this.historyStack.length!==0&&(this.clearCanvas(),this.resetStack.push(this.historyStack.pop()),this.historyStack.forEach(r=>this.ctx.putImageData(r,0,0)))}redo(){this.resetStack.length!==0&&(this.clearCanvas(),this.historyStack.push(this.resetStack.pop()),this.historyStack.forEach(r=>this.ctx.putImageData(r,0,0)))}erase(r=2){this.ctx.lineWidth=r,this.ctx.strokeStyle="rgba(255, 255, 255, 1)",this.ctx.globalCompositeOperation="destination-out"}unerased(){this.ctx.strokeStyle=this.color,this.ctx.globalCompositeOperation="source-over"}save(){return this.canvas.toDataURL("image/png")}};function Ew(r,e=new Map){return function(...t){let i=JSON.stringify(t);if(e.has(i))return e.get(i);let s=r.apply(r,t);return e.set(i,s),s}}function Tw(r,e=2e3,t){Nr(e)&&(t=e,e=2e3);let i=!0,s=window.requestIdleCallback||function(u){let l=Date.now();return setTimeout(()=>u({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-l))}}),1)},n=window.cancelIdleCallback||clearTimeout,a=s(async function u(l){var c;!i||((l.timeRemaining()>0||l.didTimeout)&&r.length>0&&((c=r.shift())==null||c()),r.length>0?s(u):(t==null||t(),o()))},{timeout:e});function o(){i=!1,n(a)}return o}function lt(r,e,t,i){let s=document.createElement(r,i);if(!e)return s;for(let n in e)s.setAttribute(n,e[n]);return t&&(s.innerHTML=t),s}var N7=class{constructor(r,e,t,i="#fff"){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));be(this,"points",new Map);be(this,"originSrc","");be(this,"color","");be(this,"fontWeight",1);be(this,"status","pending");be(this,"bgColor");this.initOptions(r,e,t,i),this.executor()}createDotImage(r){this.canvas.width=r.width,this.canvas.height=r.height,this.ctx.drawImage(r,0,0,this.canvas.width,this.canvas.height);let{data:e,width:t,height:i}=this.ctx.getImageData(0,0,this.canvas.width,this.canvas.height),s=[];for(let n=0;n<i;n++){let a=[];s.push(a);for(let o=0;o<t;o++){let u=n*t*4+o*4,l={r:e[u],g:e[u+1],b:e[u+2],a:e[u+3]},c=`rgba(${l.r},${l.g},${l.b},${l.a})`;l.r>230&&l.g>230&&l.b>230?a.push(this.color?0:this.bgColor):a.push(l.a?c:0)}}return this.points.set(this.originSrc,{width:this.canvas.width,imagePointSet:s,height:this.canvas.height}),s}createImage(){if(this.hasImage()){let{imagePointSet:e,width:t,height:i}=this.points.get(this.originSrc),s=window.devicePixelRatio||1;this.canvas.width=t*s,this.canvas.height=i*s,this.getCanvas(e);return}let r=lt("img",{crossOrigin:"anonymous",src:this.originSrc});return new Promise(e=>{r.onload=()=>{this.getCanvas(this.createDotImage(r)),e(r)},r.onerror=()=>{this.status="fail"}})}hasImage(){return this.points.has(this.originSrc)}async executor(){try{this.createImage()}catch(r){}return this}getCanvas(r){var e;this.clearCanvas();let t=r.length,i=(e=r[0])==null?void 0:e.length,s=this.canvas.width*1/t,n=this.fontWeight*50/this.canvas.width,a=Ew(u=>s*(u+.5)),o=[];for(let u=0;u<t;u++)o.push(()=>{for(let l=0;l<i;l++){let c=r[u][l];this.ctx.beginPath(),this.ctx.arc(a(l),a(u),n,0,Math.PI*2),this.ctx.fillStyle=c?this.color||String(c):this.bgColor||"#fff",this.ctx.fill()}});Tw(o,()=>{this.status="success"})}initOptions(r,e,t,i){this.originSrc=r,this.color=e,this.fontWeight=t,this.bgColor=i}async repaint(r,e,t,i="#fff"){let s=Do(this.canvas);if(this.status="pending",this.initOptions(r,e,t,i),!s)throw new Error("repaint error not found canvas container or has been removed");return Object.assign(this,await this.executor()).append(s)}clearCanvas(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}append(r){return Lo(r,this.canvas),this}},qO=class{constructor(r,e,t,i){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));be(this,"points",new Map);be(this,"originText");be(this,"fontSize");be(this,"color");be(this,"fontWeight");be(this,"textPointSet",[]);be(this,"status","pending");be(this,"container");this.originText=r,this.fontSize=e,this.color=t,this.fontWeight=i,this.executor()}createTextPoint(r){let e=document.createElement("canvas"),t=e.getContext("2d"),i=window.devicePixelRatio||1,s=16*i;e.width=e.height=s,t.font=`${s}px SimSun`,t.fillText(r,0,14*i);let{data:n,width:a,height:o}=t.getImageData(0,0,s,s),u=[];for(let l=0;l<o;l++){let c=[];u.push(c);for(let f=0;f<a;f++){let h=l*a*4+f*4;c.push(n[h+3]?1:0)}}return this.points.set(r,u),u}executor(){this.originText.split("").forEach(r=>this.getText(r)),this.textPointSet=this.combineText(),this.getCanvas()}getText(r){return this.points.has(r)?this.points.get(r):this.createTextPoint(r)}combineText(){let r=[[]],e=this.originText.length;for(let t=0;t<e;t++)(this.points.get(this.originText[t])||[]).forEach((i,s)=>{r[s]=(r[s]||[]).concat(i)});return r}getCanvas(){let r=this.textPointSet.length,e=this.textPointSet[0].length,t=this.fontSize/r,i=[],s=Ew(a=>t*(a+.5)),n=t*this.fontWeight/r;this.canvas.height=this.fontSize,this.canvas.width=this.fontSize*this.originText.length;for(let a=0;a<r;a++)i.push(()=>{for(let o=0;o<e;o++)this.textPointSet[a][o]&&(this.ctx.beginPath(),this.ctx.arc(s(o),s(a),n,0,Math.PI*2),this.ctx.fillStyle=this.color,this.ctx.fill())});Tw(i,()=>this.status="success")}repaint(r,e,t,i){let s=Do(this.canvas);if(!s)throw new Error("repaint error not found canvas container or has been removed");return this.status="pending",this.originText!==r?Object.assign(this,new qO(r,e,t,i)).append(s):(this.fontSize=e,this.color=t,this.fontWeight=i,this.clearCanvas(),this.getCanvas(),this.append(s))}clearCanvas(){var r;(r=this.ctx)==null||r.clearRect(0,0,this.canvas.width,this.canvas.height)}append(r){return Lo(r,this.canvas),this}};function k7(r){return new Promise((e,t)=>{try{let i=new Image;i.src=r,i.onload=function(){let{width:s,height:n}=i,{ctx:a}=new Sw(s,n);a.drawImage(i,0,0),e({width:s,height:n,data:a.getImageData(0,0,s,n).data})},i.onerror=t}catch(i){t(i)}})}function O7(r){let e=0,t={},i=r[0].length,s=r.length,n=[],a=[];for(let l=0;l<s;l++)for(let c=0;c<i;c++)r[l][c]===0&&e++,r[l][c]===0&&(t[c]||(t[c]=0),t[c]++),l===s-1&&t[c]===s&&a.push(c),c===i-1&&e===i&&n.push(l),c===i-1&&(e=0);let o=0;for(let l=0;l<n.length&&n[l]===o;l++)o++;let u=n[n.length-1];for(let l=n.length;l>o&&n[l-1]===u;l--)u--;u>o&&r.splice(u,n[n.length-1]),r.splice(0,o),o=0;for(let l=0;l<a.length&&a[l]===o;l++)o++;u=a[a.length-1];for(let l=a.length;l>o&&a[l-1]===u;l--)u--;for(let l=0;l<r.length;l++)u>o&&r[l].splice(u,a[a.length-1]),r[l].splice(0,o);return r}function $O(r){return r.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function M7(r){if(r=(r||window.location.search).split("?")[1],!!r)return r.split("&").reduce((e,t)=>{let[i,s]=t.split("=");return e[i]=s,e},{})}function _w(r){return r.replace(/([A-Z])/g,"-$1").toLowerCase()}function L7(r,e=6){let t=0;return r=`${r}`,r.match(/[a-z]/g)&&t++,r.match(/[A-Z]/g)&&t++,r.match(/[0-9]/g)&&t++,r.match(/[^a-zA-Z0-9]/g)&&t++,r.length<e&&(t=0),t}function jO(r,e="around"){return e==="pre"?r.replace(/(^\s*)/g,""):e==="post"?r.replace(/(\s*$)/g,""):e==="all"?r.replace(/\s+/g,""):e==="around"?r.replace(/(^\s*)|(\s*$)/g,""):r}var VO=/\s+(?!['"])([\w_\-\$\.]+):/gm,zO=/:\s*(?!['"])([\w_\-\$\.]+)/gm,HO=/:\s*("[\w_\-\$\.]+")\s*(?!,)"/gm,GO=/:\s*("[\w_\-\$\.]+"\s*,)\s*}/gm;function D7(r){return JSON.parse(r.replace(VO,(e,t)=>e.replace(t,`"${t}"`)).replace(zO,(e,t)=>e.replace(t,`"${t}"`)).replace(HO,(e,t)=>e.replace(t,`${t},`)).replace(GO,e=>e.replace(",","")))}function Ro(r,e=" "){return r.replace(/\s+/g,e)}function WO(r){let e=r.split(":"),t=e.length-1;return e.reduce((i,s,n)=>i+ +s*60**(t-n),0)}function R7(r){return r.split(`
|
|
95
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return m=v[Symbol.iterator](),m.next.bind(m)}function u(v,x){if(!!v){if(typeof v=="string")return l(v,x);var m=Object.prototype.toString.call(v).slice(8,-1);if(m==="Object"&&v.constructor&&(m=v.constructor.name),m==="Map"||m==="Set")return Array.from(v);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return l(v,x)}}function l(v,x){(x==null||x>v.length)&&(x=v.length);for(var m=0,S=new Array(x);m<x;m++)S[m]=v[m];return S}function c(v,x){for(var m=0;m<x.length;m++){var S=x[m];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(v,S.key,S)}}function f(v,x,m){return x&&c(v.prototype,x),m&&c(v,m),v}function h(v,x){v.prototype=Object.create(x.prototype),v.prototype.constructor=v,d(v,x)}function d(v,x){return d=Object.setPrototypeOf||function(S,g){return S.__proto__=g,S},d(v,x)}var w=function(v){h(x,v);function x(S){var g;return g=v.call(this,S)||this,g.nodes||(g.nodes=[]),g}var m=x.prototype;return m.append=function(g){return g.parent=this,this.nodes.push(g),this},m.prepend=function(g){return g.parent=this,this.nodes.unshift(g),this},m.at=function(g){return this.nodes[g]},m.index=function(g){return typeof g=="number"?g:this.nodes.indexOf(g)},m.removeChild=function(g){g=this.index(g),this.at(g).parent=void 0,this.nodes.splice(g,1);var b;for(var p in this.indexes)b=this.indexes[p],b>=g&&(this.indexes[p]=b-1);return this},m.removeAll=function(){for(var g=o(this.nodes),b;!(b=g()).done;){var p=b.value;p.parent=void 0}return this.nodes=[],this},m.empty=function(){return this.removeAll()},m.insertAfter=function(g,b){b.parent=this;var p=this.index(g);this.nodes.splice(p+1,0,b),b.parent=this;var y;for(var _ in this.indexes)y=this.indexes[_],p<=y&&(this.indexes[_]=y+1);return this},m.insertBefore=function(g,b){b.parent=this;var p=this.index(g);this.nodes.splice(p,0,b),b.parent=this;var y;for(var _ in this.indexes)y=this.indexes[_],y<=p&&(this.indexes[_]=y+1);return this},m._findChildAtPosition=function(g,b){var p=void 0;return this.each(function(y){if(y.atPosition){var _=y.atPosition(g,b);if(_)return p=_,!1}else if(y.isAtPosition(g,b))return p=y,!1}),p},m.atPosition=function(g,b){if(this.isAtPosition(g,b))return this._findChildAtPosition(g,b)||this},m._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},m.each=function(g){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var b=this.lastEach;if(this.indexes[b]=0,!!this.length){for(var p,y;this.indexes[b]<this.length&&(p=this.indexes[b],y=g(this.at(p),p),y!==!1);)this.indexes[b]+=1;if(delete this.indexes[b],y===!1)return!1}},m.walk=function(g){return this.each(function(b,p){var y=g(b,p);if(y!==!1&&b.length&&(y=b.walk(g)),y===!1)return!1})},m.walkAttributes=function(g){var b=this;return this.walk(function(p){if(p.type===i.ATTRIBUTE)return g.call(b,p)})},m.walkClasses=function(g){var b=this;return this.walk(function(p){if(p.type===i.CLASS)return g.call(b,p)})},m.walkCombinators=function(g){var b=this;return this.walk(function(p){if(p.type===i.COMBINATOR)return g.call(b,p)})},m.walkComments=function(g){var b=this;return this.walk(function(p){if(p.type===i.COMMENT)return g.call(b,p)})},m.walkIds=function(g){var b=this;return this.walk(function(p){if(p.type===i.ID)return g.call(b,p)})},m.walkNesting=function(g){var b=this;return this.walk(function(p){if(p.type===i.NESTING)return g.call(b,p)})},m.walkPseudos=function(g){var b=this;return this.walk(function(p){if(p.type===i.PSEUDO)return g.call(b,p)})},m.walkTags=function(g){var b=this;return this.walk(function(p){if(p.type===i.TAG)return g.call(b,p)})},m.walkUniversals=function(g){var b=this;return this.walk(function(p){if(p.type===i.UNIVERSAL)return g.call(b,p)})},m.split=function(g){var b=this,p=[];return this.reduce(function(y,_,A){var E=g.call(b,_);return p.push(_),E?(y.push(p),p=[]):A===b.length-1&&y.push(p),y},[])},m.map=function(g){return this.nodes.map(g)},m.reduce=function(g,b){return this.nodes.reduce(g,b)},m.every=function(g){return this.nodes.every(g)},m.some=function(g){return this.nodes.some(g)},m.filter=function(g){return this.nodes.filter(g)},m.sort=function(g){return this.nodes.sort(g)},m.toString=function(){return this.map(String).join("")},f(x,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),x}(t.default);e.default=w,r.exports=e.default}),Vx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Kd);function i(l){return l&&l.__esModule?l:{default:l}}function s(l,c){for(var f=0;f<c.length;f++){var h=c[f];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(l,h.key,h)}}function n(l,c,f){return c&&s(l.prototype,c),f&&s(l,f),l}function a(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,o(l,c)}function o(l,c){return o=Object.setPrototypeOf||function(h,d){return h.__proto__=d,h},o(l,c)}var u=function(l){a(c,l);function c(h){var d;return d=l.call(this,h)||this,d.type=se.ROOT,d}var f=c.prototype;return f.toString=function(){var d=this.reduce(function(w,v){return w.push(String(v)),w},[]).join(",");return this.trailingComma?d+",":d},f.error=function(d,w){return this._error?this._error(d,w):new Error(d)},n(c,[{key:"errorGenerator",set:function(d){this._error=d}}]),c}(t.default);e.default=u,r.exports=e.default}),zx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Kd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.SELECTOR,c}return u}(t.default);e.default=a,r.exports=e.default});var mO={},gO=mO.hasOwnProperty,yO=function(e,t){if(!e)return t;var i={};for(var s in t)i[s]=gO.call(e,s)?e[s]:t[s];return i},bO=/[ -,\.\/:-@\[-\^`\{-~]/,vO=/[ -,\.\/:-@\[\]\^`\{-~]/,xO=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Jd=function r(e,t){t=yO(t,r.options),t.quotes!="single"&&t.quotes!="double"&&(t.quotes="single");for(var i=t.quotes=="double"?'"':"'",s=t.isIdentifier,n=e.charAt(0),a="",o=0,u=e.length;o<u;){var l=e.charAt(o++),c=l.charCodeAt(),f=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&o<u){var h=e.charCodeAt(o++);(h&64512)==56320?c=((c&1023)<<10)+(h&1023)+65536:o--}f="\\"+c.toString(16).toUpperCase()+" "}else t.escapeEverything?bO.test(l)?f="\\"+l:f="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?f="\\"+c.toString(16).toUpperCase()+" ":l=="\\"||!s&&(l=='"'&&i==l||l=="'"&&i==l)||s&&vO.test(l)?f="\\"+l:f=l;a+=f}return s&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(n)&&(a="\\3"+n+" "+a.slice(1))),a=a.replace(xO,function(d,w,v){return w&&w.length%2?d:(w||"")+v}),!s&&t.wrap?i+a+i:a};Jd.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Jd.version="3.0.0";var Qd=Jd,Hx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=s(Qd),i=s(_i);function s(c){return c&&c.__esModule?c:{default:c}}function n(c,f){for(var h=0;h<f.length;h++){var d=f[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,f,h){return f&&n(c.prototype,f),h&&n(c,h),c}function o(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,u(c,f)}function u(c,f){return u=Object.setPrototypeOf||function(d,w){return d.__proto__=w,d},u(c,f)}var l=function(c){o(f,c);function f(d){var w;return w=c.call(this,d)||this,w.type=se.CLASS,w._constructed=!0,w}var h=f.prototype;return h.valueToString=function(){return"."+c.prototype.valueToString.call(this)},a(f,[{key:"value",get:function(){return this._value},set:function(w){if(this._constructed){var v=(0,t.default)(w,{isIdentifier:!0});v!==w?((0,_e.ensureObject)(this,"raws"),this.raws.value=v):this.raws&&delete this.raws.value}this._value=w}}]),f}(i.default);e.default=l,r.exports=e.default}),Gx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.COMMENT,c}return u}(t.default);e.default=a,r.exports=e.default}),Wx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(c){var f;return f=o.call(this,c)||this,f.type=se.ID,f}var l=u.prototype;return l.valueToString=function(){return"#"+o.prototype.valueToString.call(this)},u}(t.default);e.default=a,r.exports=e.default}),Xd=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=s(Qd),i=s(_i);function s(c){return c&&c.__esModule?c:{default:c}}function n(c,f){for(var h=0;h<f.length;h++){var d=f[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,f,h){return f&&n(c.prototype,f),h&&n(c,h),c}function o(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,u(c,f)}function u(c,f){return u=Object.setPrototypeOf||function(d,w){return d.__proto__=w,d},u(c,f)}var l=function(c){o(f,c);function f(){return c.apply(this,arguments)||this}var h=f.prototype;return h.qualifiedName=function(w){return this.namespace?this.namespaceString+"|"+w:w},h.valueToString=function(){return this.qualifiedName(c.prototype.valueToString.call(this))},a(f,[{key:"namespace",get:function(){return this._namespace},set:function(w){if(w===!0||w==="*"||w==="&"){this._namespace=w,this.raws&&delete this.raws.namespace;return}var v=(0,t.default)(w,{isIdentifier:!0});this._namespace=w,v!==w?((0,_e.ensureObject)(this,"raws"),this.raws.namespace=v):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(w){this.namespace=w}},{key:"namespaceString",get:function(){if(this.namespace){var w=this.stringifyProperty("namespace");return w===!0?"":w}else return""}}]),f}(i.default);e.default=l,r.exports=e.default}),Yx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Xd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.TAG,c}return u}(t.default);e.default=a,r.exports=e.default}),Kx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.STRING,c}return u}(t.default);e.default=a,r.exports=e.default}),Jx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Kd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(c){var f;return f=o.call(this,c)||this,f.type=se.PSEUDO,f}var l=u.prototype;return l.toString=function(){var f=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),f,this.rawSpaceAfter].join("")},u}(t.default);e.default=a,r.exports=e.default}),Da=ON.deprecate,Qx=de(function(r,e){e.__esModule=!0,e.unescapeValue=v,e.default=void 0;var t=a(Qd),i=a(jx),s=a(Xd),n;function a(b){return b&&b.__esModule?b:{default:b}}function o(b,p){for(var y=0;y<p.length;y++){var _=p[y];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(b,_.key,_)}}function u(b,p,y){return p&&o(b.prototype,p),y&&o(b,y),b}function l(b,p){b.prototype=Object.create(p.prototype),b.prototype.constructor=b,c(b,p)}function c(b,p){return c=Object.setPrototypeOf||function(_,A){return _.__proto__=A,_},c(b,p)}var f=/^('|")([^]*)\1$/,h=Da(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),d=Da(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),w=Da(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function v(b){var p=!1,y=null,_=b,A=_.match(f);return A&&(y=A[1],_=A[2]),_=(0,i.default)(_),_!==b&&(p=!0),{deprecatedUsage:p,unescaped:_,quoteMark:y}}function x(b){if(b.quoteMark!==void 0||b.value===void 0)return b;w();var p=v(b.value),y=p.quoteMark,_=p.unescaped;return b.raws||(b.raws={}),b.raws.value===void 0&&(b.raws.value=b.value),b.value=_,b.quoteMark=y,b}var m=function(b){l(p,b);function p(_){var A;return _===void 0&&(_={}),A=b.call(this,x(_))||this,A.type=se.ATTRIBUTE,A.raws=A.raws||{},Object.defineProperty(A.raws,"unquoted",{get:Da(function(){return A.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Da(function(){return A.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),A._constructed=!0,A}var y=p.prototype;return y.getQuotedValue=function(A){A===void 0&&(A={});var E=this._determineQuoteMark(A),T=S[E],I=(0,t.default)(this._value,T);return I},y._determineQuoteMark=function(A){return A.smart?this.smartQuoteMark(A):this.preferredQuoteMark(A)},y.setValue=function(A,E){E===void 0&&(E={}),this._value=A,this._quoteMark=this._determineQuoteMark(E),this._syncRawValue()},y.smartQuoteMark=function(A){var E=this.value,T=E.replace(/[^']/g,"").length,I=E.replace(/[^"]/g,"").length;if(T+I===0){var P=(0,t.default)(E,{isIdentifier:!0});if(P===E)return p.NO_QUOTE;var z=this.preferredQuoteMark(A);if(z===p.NO_QUOTE){var H=this.quoteMark||A.quoteMark||p.DOUBLE_QUOTE,Z=S[H],oe=(0,t.default)(E,Z);if(oe.length<P.length)return H}return z}else return I===T?this.preferredQuoteMark(A):I<T?p.DOUBLE_QUOTE:p.SINGLE_QUOTE},y.preferredQuoteMark=function(A){var E=A.preferCurrentQuoteMark?this.quoteMark:A.quoteMark;return E===void 0&&(E=A.preferCurrentQuoteMark?A.quoteMark:this.quoteMark),E===void 0&&(E=p.DOUBLE_QUOTE),E},y._syncRawValue=function(){var A=(0,t.default)(this._value,S[this.quoteMark]);A===this._value?this.raws&&delete this.raws.value:this.raws.value=A},y._handleEscapes=function(A,E){if(this._constructed){var T=(0,t.default)(E,{isIdentifier:!0});T!==E?this.raws[A]=T:delete this.raws[A]}},y._spacesFor=function(A){var E={before:"",after:""},T=this.spaces[A]||{},I=this.raws.spaces&&this.raws.spaces[A]||{};return Object.assign(E,T,I)},y._stringFor=function(A,E,T){E===void 0&&(E=A),T===void 0&&(T=g);var I=this._spacesFor(E);return T(this.stringifyProperty(A),I)},y.offsetOf=function(A){var E=1,T=this._spacesFor("attribute");if(E+=T.before.length,A==="namespace"||A==="ns")return this.namespace?E:-1;if(A==="attributeNS"||(E+=this.namespaceString.length,this.namespace&&(E+=1),A==="attribute"))return E;E+=this.stringifyProperty("attribute").length,E+=T.after.length;var I=this._spacesFor("operator");E+=I.before.length;var P=this.stringifyProperty("operator");if(A==="operator")return P?E:-1;E+=P.length,E+=I.after.length;var z=this._spacesFor("value");E+=z.before.length;var H=this.stringifyProperty("value");if(A==="value")return H?E:-1;E+=H.length,E+=z.after.length;var Z=this._spacesFor("insensitive");return E+=Z.before.length,A==="insensitive"&&this.insensitive?E:-1},y.toString=function(){var A=this,E=[this.rawSpaceBefore,"["];return E.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(E.push(this._stringFor("operator")),E.push(this._stringFor("value")),E.push(this._stringFor("insensitiveFlag","insensitive",function(T,I){return T.length>0&&!A.quoted&&I.before.length===0&&!(A.spaces.value&&A.spaces.value.after)&&(I.before=" "),g(T,I)}))),E.push("]"),E.push(this.rawSpaceAfter),E.join("")},u(p,[{key:"quoted",get:function(){var A=this.quoteMark;return A==="'"||A==='"'},set:function(A){d()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(A){if(!this._constructed){this._quoteMark=A;return}this._quoteMark!==A&&(this._quoteMark=A,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(A){if(this._constructed){var E=v(A),T=E.deprecatedUsage,I=E.unescaped,P=E.quoteMark;if(T&&h(),I===this._value&&P===this._quoteMark)return;this._value=I,this._quoteMark=P,this._syncRawValue()}else this._value=A}},{key:"attribute",get:function(){return this._attribute},set:function(A){this._handleEscapes("attribute",A),this._attribute=A}}]),p}(s.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var S=(n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},n[null]={isIdentifier:!0},n);function g(b,p){return""+p.before+b+p.after}}),Xx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(Xd);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.UNIVERSAL,c.value="*",c}return u}(t.default);e.default=a,r.exports=e.default}),Zx=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.COMBINATOR,c}return u}(t.default);e.default=a,r.exports=e.default}),ew=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(_i);function i(o){return o&&o.__esModule?o:{default:o}}function s(o,u){o.prototype=Object.create(u.prototype),o.prototype.constructor=o,n(o,u)}function n(o,u){return n=Object.setPrototypeOf||function(c,f){return c.__proto__=f,c},n(o,u)}var a=function(o){s(u,o);function u(l){var c;return c=o.call(this,l)||this,c.type=se.NESTING,c.value="&",c}return u}(t.default);e.default=a,r.exports=e.default}),wO=de(function(r,e){e.__esModule=!0,e.default=t;function t(i){return i.sort(function(s,n){return s-n})}r.exports=e.default}),tw=de(function(r,e){e.__esModule=!0,e.combinator=e.word=e.comment=e.str=e.tab=e.newline=e.feed=e.cr=e.backslash=e.bang=e.slash=e.doubleQuote=e.singleQuote=e.space=e.greaterThan=e.pipe=e.equals=e.plus=e.caret=e.tilde=e.dollar=e.closeSquare=e.openSquare=e.closeParenthesis=e.openParenthesis=e.semicolon=e.colon=e.comma=e.at=e.asterisk=e.ampersand=void 0;var t=38;e.ampersand=t;var i=42;e.asterisk=i;var s=64;e.at=s;var n=44;e.comma=n;var a=58;e.colon=a;var o=59;e.semicolon=o;var u=40;e.openParenthesis=u;var l=41;e.closeParenthesis=l;var c=91;e.openSquare=c;var f=93;e.closeSquare=f;var h=36;e.dollar=h;var d=126;e.tilde=d;var w=94;e.caret=w;var v=43;e.plus=v;var x=61;e.equals=x;var m=124;e.pipe=m;var S=62;e.greaterThan=S;var g=32;e.space=g;var b=39;e.singleQuote=b;var p=34;e.doubleQuote=p;var y=47;e.slash=y;var _=33;e.bang=_;var A=92;e.backslash=A;var E=13;e.cr=E;var T=12;e.feed=T;var I=10;e.newline=I;var P=9;e.tab=P;var z=b;e.str=z;var H=-1;e.comment=H;var Z=-2;e.word=Z;var oe=-3;e.combinator=oe}),SO=de(function(r,e){e.__esModule=!0,e.default=v,e.FIELDS=void 0;var t=a(tw),i,s;function n(){if(typeof WeakMap!="function")return null;var x=new WeakMap;return n=function(){return x},x}function a(x){if(x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var m=n();if(m&&m.has(x))return m.get(x);var S={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in x)if(Object.prototype.hasOwnProperty.call(x,b)){var p=g?Object.getOwnPropertyDescriptor(x,b):null;p&&(p.get||p.set)?Object.defineProperty(S,b,p):S[b]=x[b]}return S.default=x,m&&m.set(x,S),S}for(var o=(i={},i[t.tab]=!0,i[t.newline]=!0,i[t.cr]=!0,i[t.feed]=!0,i),u=(s={},s[t.space]=!0,s[t.tab]=!0,s[t.newline]=!0,s[t.cr]=!0,s[t.feed]=!0,s[t.ampersand]=!0,s[t.asterisk]=!0,s[t.bang]=!0,s[t.comma]=!0,s[t.colon]=!0,s[t.semicolon]=!0,s[t.openParenthesis]=!0,s[t.closeParenthesis]=!0,s[t.openSquare]=!0,s[t.closeSquare]=!0,s[t.singleQuote]=!0,s[t.doubleQuote]=!0,s[t.plus]=!0,s[t.pipe]=!0,s[t.tilde]=!0,s[t.greaterThan]=!0,s[t.equals]=!0,s[t.dollar]=!0,s[t.caret]=!0,s[t.slash]=!0,s),l={},c="0123456789abcdefABCDEF",f=0;f<c.length;f++)l[c.charCodeAt(f)]=!0;function h(x,m){var S=m,g;do{if(g=x.charCodeAt(S),u[g])return S-1;g===t.backslash?S=d(x,S)+1:S++}while(S<x.length);return S-1}function d(x,m){var S=m,g=x.charCodeAt(S+1);if(!o[g])if(l[g]){var b=0;do S++,b++,g=x.charCodeAt(S+1);while(l[g]&&b<6);b<6&&g===t.space&&S++}else S++;return S}var w={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};e.FIELDS=w;function v(x){var m=[],S=x.css.valueOf(),g=S,b=g.length,p=-1,y=1,_=0,A=0,E,T,I,P,z,H,Z,oe,Q,Ze,qt,$,q;function j(N,B){if(x.safe)S+=B,Q=S.length-1;else throw x.error("Unclosed "+N,y,_-p,_)}for(;_<b;){switch(E=S.charCodeAt(_),E===t.newline&&(p=_,y+=1),E){case t.space:case t.tab:case t.newline:case t.cr:case t.feed:Q=_;do Q+=1,E=S.charCodeAt(Q),E===t.newline&&(p=Q,y+=1);while(E===t.space||E===t.newline||E===t.tab||E===t.cr||E===t.feed);q=t.space,P=y,I=Q-p-1,A=Q;break;case t.plus:case t.greaterThan:case t.tilde:case t.pipe:Q=_;do Q+=1,E=S.charCodeAt(Q);while(E===t.plus||E===t.greaterThan||E===t.tilde||E===t.pipe);q=t.combinator,P=y,I=_-p,A=Q;break;case t.asterisk:case t.ampersand:case t.bang:case t.comma:case t.equals:case t.dollar:case t.caret:case t.openSquare:case t.closeSquare:case t.colon:case t.semicolon:case t.openParenthesis:case t.closeParenthesis:Q=_,q=E,P=y,I=_-p,A=Q+1;break;case t.singleQuote:case t.doubleQuote:$=E===t.singleQuote?"'":'"',Q=_;do for(z=!1,Q=S.indexOf($,Q+1),Q===-1&&j("quote",$),H=Q;S.charCodeAt(H-1)===t.backslash;)H-=1,z=!z;while(z);q=t.str,P=y,I=_-p,A=Q+1;break;default:E===t.slash&&S.charCodeAt(_+1)===t.asterisk?(Q=S.indexOf("*/",_+2)+1,Q===0&&j("comment","*/"),T=S.slice(_,Q+1),oe=T.split(`
|
|
96
|
+
`),Z=oe.length-1,Z>0?(Ze=y+Z,qt=Q-oe[Z].length):(Ze=y,qt=p),q=t.comment,y=Ze,P=Ze,I=Q-qt):E===t.slash?(Q=_,q=E,P=y,I=_-p,A=Q+1):(Q=h(S,_),q=t.word,P=y,I=Q-p),A=Q+1;break}m.push([q,y,_-p,P,I,_,A]),qt&&(p=qt,qt=null),_=A}return m}}),EO=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=y(Vx),i=y(zx),s=y(Hx),n=y(Gx),a=y(Wx),o=y(Yx),u=y(Kx),l=y(Jx),c=p(Qx),f=y(Xx),h=y(Zx),d=y(ew),w=y(wO),v=p(SO),x=p(tw),m=p(se),S,g;function b(){if(typeof WeakMap!="function")return null;var $=new WeakMap;return b=function(){return $},$}function p($){if($&&$.__esModule)return $;if($===null||typeof $!="object"&&typeof $!="function")return{default:$};var q=b();if(q&&q.has($))return q.get($);var j={},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in $)if(Object.prototype.hasOwnProperty.call($,B)){var ee=N?Object.getOwnPropertyDescriptor($,B):null;ee&&(ee.get||ee.set)?Object.defineProperty(j,B,ee):j[B]=$[B]}return j.default=$,q&&q.set($,j),j}function y($){return $&&$.__esModule?$:{default:$}}function _($,q){for(var j=0;j<q.length;j++){var N=q[j];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty($,N.key,N)}}function A($,q,j){return q&&_($.prototype,q),j&&_($,j),$}var E=(S={},S[x.space]=!0,S[x.cr]=!0,S[x.feed]=!0,S[x.newline]=!0,S[x.tab]=!0,S),T=Object.assign({},E,(g={},g[x.comment]=!0,g));function I($){return{line:$[v.FIELDS.START_LINE],column:$[v.FIELDS.START_COL]}}function P($){return{line:$[v.FIELDS.END_LINE],column:$[v.FIELDS.END_COL]}}function z($,q,j,N){return{start:{line:$,column:q},end:{line:j,column:N}}}function H($){return z($[v.FIELDS.START_LINE],$[v.FIELDS.START_COL],$[v.FIELDS.END_LINE],$[v.FIELDS.END_COL])}function Z($,q){if(!!$)return z($[v.FIELDS.START_LINE],$[v.FIELDS.START_COL],q[v.FIELDS.END_LINE],q[v.FIELDS.END_COL])}function oe($,q){var j=$[q];if(typeof j=="string")return j.indexOf("\\")!==-1&&((0,_e.ensureObject)($,"raws"),$[q]=(0,_e.unesc)(j),$.raws[q]===void 0&&($.raws[q]=j)),$}function Q($,q){for(var j=-1,N=[];(j=$.indexOf(q,j+1))!==-1;)N.push(j);return N}function Ze(){var $=Array.prototype.concat.apply([],arguments);return $.filter(function(q,j){return j===$.indexOf(q)})}var qt=function(){function $(j,N){N===void 0&&(N={}),this.rule=j,this.options=Object.assign({lossy:!1,safe:!1},N),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,v.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var B=Z(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new t.default({source:B}),this.root.errorGenerator=this._errorGenerator();var ee=new i.default({source:{start:{line:1,column:1}}});this.root.append(ee),this.current=ee,this.loop()}var q=$.prototype;return q._errorGenerator=function(){var N=this;return function(B,ee){return typeof N.rule=="string"?new Error(B):N.rule.error(B,ee)}},q.attribute=function(){var N=[],B=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[v.FIELDS.TYPE]!==x.closeSquare;)N.push(this.currToken),this.position++;if(this.currToken[v.FIELDS.TYPE]!==x.closeSquare)return this.expected("closing square bracket",this.currToken[v.FIELDS.START_POS]);var ee=N.length,O={source:z(B[1],B[2],this.currToken[3],this.currToken[4]),sourceIndex:B[v.FIELDS.START_POS]};if(ee===1&&!~[x.word].indexOf(N[0][v.FIELDS.TYPE]))return this.expected("attribute",N[0][v.FIELDS.START_POS]);for(var ne=0,Ee="",me="",te=null,Ie=!1;ne<ee;){var et=N[ne],ie=this.content(et),qe=N[ne+1];switch(et[v.FIELDS.TYPE]){case x.space:if(Ie=!0,this.options.lossy)break;if(te){(0,_e.ensureObject)(O,"spaces",te);var Br=O.spaces[te].after||"";O.spaces[te].after=Br+ie;var br=(0,_e.getProp)(O,"raws","spaces",te,"after")||null;br&&(O.raws.spaces[te].after=br+ie)}else Ee=Ee+ie,me=me+ie;break;case x.asterisk:if(qe[v.FIELDS.TYPE]===x.equals)O.operator=ie,te="operator";else if((!O.namespace||te==="namespace"&&!Ie)&&qe){Ee&&((0,_e.ensureObject)(O,"spaces","attribute"),O.spaces.attribute.before=Ee,Ee=""),me&&((0,_e.ensureObject)(O,"raws","spaces","attribute"),O.raws.spaces.attribute.before=Ee,me=""),O.namespace=(O.namespace||"")+ie;var Ct=(0,_e.getProp)(O,"raws","namespace")||null;Ct&&(O.raws.namespace+=ie),te="namespace"}Ie=!1;break;case x.dollar:if(te==="value"){var ft=(0,_e.getProp)(O,"raws","value");O.value+="$",ft&&(O.raws.value=ft+"$");break}case x.caret:qe[v.FIELDS.TYPE]===x.equals&&(O.operator=ie,te="operator"),Ie=!1;break;case x.combinator:if(ie==="~"&&qe[v.FIELDS.TYPE]===x.equals&&(O.operator=ie,te="operator"),ie!=="|"){Ie=!1;break}qe[v.FIELDS.TYPE]===x.equals?(O.operator=ie,te="operator"):!O.namespace&&!O.attribute&&(O.namespace=!0),Ie=!1;break;case x.word:if(qe&&this.content(qe)==="|"&&N[ne+2]&&N[ne+2][v.FIELDS.TYPE]!==x.equals&&!O.operator&&!O.namespace)O.namespace=ie,te="namespace";else if(!O.attribute||te==="attribute"&&!Ie){Ee&&((0,_e.ensureObject)(O,"spaces","attribute"),O.spaces.attribute.before=Ee,Ee=""),me&&((0,_e.ensureObject)(O,"raws","spaces","attribute"),O.raws.spaces.attribute.before=me,me=""),O.attribute=(O.attribute||"")+ie;var rr=(0,_e.getProp)(O,"raws","attribute")||null;rr&&(O.raws.attribute+=ie),te="attribute"}else if(!O.value&&O.value!==""||te==="value"&&!Ie){var ir=(0,_e.unesc)(ie),si=(0,_e.getProp)(O,"raws","value")||"",iu=O.value||"";O.value=iu+ir,O.quoteMark=null,(ir!==ie||si)&&((0,_e.ensureObject)(O,"raws"),O.raws.value=(si||iu)+ie),te="value"}else{var su=ie==="i"||ie==="I";(O.value||O.value==="")&&(O.quoteMark||Ie)?(O.insensitive=su,(!su||ie==="I")&&((0,_e.ensureObject)(O,"raws"),O.raws.insensitiveFlag=ie),te="insensitive",Ee&&((0,_e.ensureObject)(O,"spaces","insensitive"),O.spaces.insensitive.before=Ee,Ee=""),me&&((0,_e.ensureObject)(O,"raws","spaces","insensitive"),O.raws.spaces.insensitive.before=me,me="")):(O.value||O.value==="")&&(te="value",O.value+=ie,O.raws.value&&(O.raws.value+=ie))}Ie=!1;break;case x.str:if(!O.attribute||!O.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:et[v.FIELDS.START_POS]});var Jn=(0,c.unescapeValue)(ie),vT=Jn.unescaped,xT=Jn.quoteMark;O.value=vT,O.quoteMark=xT,te="value",(0,_e.ensureObject)(O,"raws"),O.raws.value=ie,Ie=!1;break;case x.equals:if(!O.attribute)return this.expected("attribute",et[v.FIELDS.START_POS],ie);if(O.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:et[v.FIELDS.START_POS]});O.operator=O.operator?O.operator+ie:ie,te="operator",Ie=!1;break;case x.comment:if(te)if(Ie||qe&&qe[v.FIELDS.TYPE]===x.space||te==="insensitive"){var wT=(0,_e.getProp)(O,"spaces",te,"after")||"",ST=(0,_e.getProp)(O,"raws","spaces",te,"after")||wT;(0,_e.ensureObject)(O,"raws","spaces",te),O.raws.spaces[te].after=ST+ie}else{var ET=O[te]||"",TT=(0,_e.getProp)(O,"raws",te)||ET;(0,_e.ensureObject)(O,"raws"),O.raws[te]=TT+ie}else me=me+ie;break;default:return this.error('Unexpected "'+ie+'" found.',{index:et[v.FIELDS.START_POS]})}ne++}oe(O,"attribute"),oe(O,"namespace"),this.newNode(new c.default(O)),this.position++},q.parseWhitespaceEquivalentTokens=function(N){N<0&&(N=this.tokens.length);var B=this.position,ee=[],O="",ne=void 0;do if(E[this.currToken[v.FIELDS.TYPE]])this.options.lossy||(O+=this.content());else if(this.currToken[v.FIELDS.TYPE]===x.comment){var Ee={};O&&(Ee.before=O,O=""),ne=new n.default({value:this.content(),source:H(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS],spaces:Ee}),ee.push(ne)}while(++this.position<N);if(O){if(ne)ne.spaces.after=O;else if(!this.options.lossy){var me=this.tokens[B],te=this.tokens[this.position-1];ee.push(new u.default({value:"",source:z(me[v.FIELDS.START_LINE],me[v.FIELDS.START_COL],te[v.FIELDS.END_LINE],te[v.FIELDS.END_COL]),sourceIndex:me[v.FIELDS.START_POS],spaces:{before:O,after:""}}))}}return ee},q.convertWhitespaceNodesToSpace=function(N,B){var ee=this;B===void 0&&(B=!1);var O="",ne="";N.forEach(function(me){var te=ee.lossySpace(me.spaces.before,B),Ie=ee.lossySpace(me.rawSpaceBefore,B);O+=te+ee.lossySpace(me.spaces.after,B&&te.length===0),ne+=te+me.value+ee.lossySpace(me.rawSpaceAfter,B&&Ie.length===0)}),ne===O&&(ne=void 0);var Ee={space:O,rawSpace:ne};return Ee},q.isNamedCombinator=function(N){return N===void 0&&(N=this.position),this.tokens[N+0]&&this.tokens[N+0][v.FIELDS.TYPE]===x.slash&&this.tokens[N+1]&&this.tokens[N+1][v.FIELDS.TYPE]===x.word&&this.tokens[N+2]&&this.tokens[N+2][v.FIELDS.TYPE]===x.slash},q.namedCombinator=function(){if(this.isNamedCombinator()){var N=this.content(this.tokens[this.position+1]),B=(0,_e.unesc)(N).toLowerCase(),ee={};B!==N&&(ee.value="/"+N+"/");var O=new h.default({value:"/"+B+"/",source:z(this.currToken[v.FIELDS.START_LINE],this.currToken[v.FIELDS.START_COL],this.tokens[this.position+2][v.FIELDS.END_LINE],this.tokens[this.position+2][v.FIELDS.END_COL]),sourceIndex:this.currToken[v.FIELDS.START_POS],raws:ee});return this.position=this.position+3,O}else this.unexpected()},q.combinator=function(){var N=this;if(this.content()==="|")return this.namespace();var B=this.locateNextMeaningfulToken(this.position);if(B<0||this.tokens[B][v.FIELDS.TYPE]===x.comma){var ee=this.parseWhitespaceEquivalentTokens(B);if(ee.length>0){var O=this.current.last;if(O){var ne=this.convertWhitespaceNodesToSpace(ee),Ee=ne.space,me=ne.rawSpace;me!==void 0&&(O.rawSpaceAfter+=me),O.spaces.after+=Ee}else ee.forEach(function(si){return N.newNode(si)})}return}var te=this.currToken,Ie=void 0;B>this.position&&(Ie=this.parseWhitespaceEquivalentTokens(B));var et;if(this.isNamedCombinator()?et=this.namedCombinator():this.currToken[v.FIELDS.TYPE]===x.combinator?(et=new h.default({value:this.content(),source:H(this.currToken),sourceIndex:this.currToken[v.FIELDS.START_POS]}),this.position++):E[this.currToken[v.FIELDS.TYPE]]||Ie||this.unexpected(),et){if(Ie){var ie=this.convertWhitespaceNodesToSpace(Ie),qe=ie.space,Br=ie.rawSpace;et.spaces.before=qe,et.rawSpaceBefore=Br}}else{var br=this.convertWhitespaceNodesToSpace(Ie,!0),Ct=br.space,ft=br.rawSpace;ft||(ft=Ct);var rr={},ir={spaces:{}};Ct.endsWith(" ")&&ft.endsWith(" ")?(rr.before=Ct.slice(0,Ct.length-1),ir.spaces.before=ft.slice(0,ft.length-1)):Ct.startsWith(" ")&&ft.startsWith(" ")?(rr.after=Ct.slice(1),ir.spaces.after=ft.slice(1)):ir.value=ft,et=new h.default({value:" ",source:Z(te,this.tokens[this.position-1]),sourceIndex:te[v.FIELDS.START_POS],spaces:rr,raws:ir})}return this.currToken&&this.currToken[v.FIELDS.TYPE]===x.space&&(et.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(et)},q.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var N=new i.default({source:{start:I(this.tokens[this.position+1])}});this.current.parent.append(N),this.current=N,this.position++},q.comment=function(){var N=this.currToken;this.newNode(new n.default({value:this.content(),source:H(N),sourceIndex:N[v.FIELDS.START_POS]})),this.position++},q.error=function(N,B){throw this.root.error(N,B)},q.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[v.FIELDS.START_POS]})},q.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[v.FIELDS.START_POS])},q.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[v.FIELDS.START_POS])},q.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[v.FIELDS.START_POS])},q.namespace=function(){var N=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[v.FIELDS.TYPE]===x.word)return this.position++,this.word(N);if(this.nextToken[v.FIELDS.TYPE]===x.asterisk)return this.position++,this.universal(N)},q.nesting=function(){if(this.nextToken){var N=this.content(this.nextToken);if(N==="|"){this.position++;return}}var B=this.currToken;this.newNode(new d.default({value:this.content(),source:H(B),sourceIndex:B[v.FIELDS.START_POS]})),this.position++},q.parentheses=function(){var N=this.current.last,B=1;if(this.position++,N&&N.type===m.PSEUDO){var ee=new i.default({source:{start:I(this.tokens[this.position-1])}}),O=this.current;for(N.append(ee),this.current=ee;this.position<this.tokens.length&&B;)this.currToken[v.FIELDS.TYPE]===x.openParenthesis&&B++,this.currToken[v.FIELDS.TYPE]===x.closeParenthesis&&B--,B?this.parse():(this.current.source.end=P(this.currToken),this.current.parent.source.end=P(this.currToken),this.position++);this.current=O}else{for(var ne=this.currToken,Ee="(",me;this.position<this.tokens.length&&B;)this.currToken[v.FIELDS.TYPE]===x.openParenthesis&&B++,this.currToken[v.FIELDS.TYPE]===x.closeParenthesis&&B--,me=this.currToken,Ee+=this.parseParenthesisToken(this.currToken),this.position++;N?N.appendToPropertyAndEscape("value",Ee,Ee):this.newNode(new u.default({value:Ee,source:z(ne[v.FIELDS.START_LINE],ne[v.FIELDS.START_COL],me[v.FIELDS.END_LINE],me[v.FIELDS.END_COL]),sourceIndex:ne[v.FIELDS.START_POS]}))}if(B)return this.expected("closing parenthesis",this.currToken[v.FIELDS.START_POS])},q.pseudo=function(){for(var N=this,B="",ee=this.currToken;this.currToken&&this.currToken[v.FIELDS.TYPE]===x.colon;)B+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[v.FIELDS.TYPE]===x.word)this.splitWord(!1,function(O,ne){B+=O,N.newNode(new l.default({value:B,source:Z(ee,N.currToken),sourceIndex:ee[v.FIELDS.START_POS]})),ne>1&&N.nextToken&&N.nextToken[v.FIELDS.TYPE]===x.openParenthesis&&N.error("Misplaced parenthesis.",{index:N.nextToken[v.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[v.FIELDS.START_POS])},q.space=function(){var N=this.content();this.position===0||this.prevToken[v.FIELDS.TYPE]===x.comma||this.prevToken[v.FIELDS.TYPE]===x.openParenthesis||this.current.nodes.every(function(B){return B.type==="comment"})?(this.spaces=this.optionalSpace(N),this.position++):this.position===this.tokens.length-1||this.nextToken[v.FIELDS.TYPE]===x.comma||this.nextToken[v.FIELDS.TYPE]===x.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(N),this.position++):this.combinator()},q.string=function(){var N=this.currToken;this.newNode(new u.default({value:this.content(),source:H(N),sourceIndex:N[v.FIELDS.START_POS]})),this.position++},q.universal=function(N){var B=this.nextToken;if(B&&this.content(B)==="|")return this.position++,this.namespace();var ee=this.currToken;this.newNode(new f.default({value:this.content(),source:H(ee),sourceIndex:ee[v.FIELDS.START_POS]}),N),this.position++},q.splitWord=function(N,B){for(var ee=this,O=this.nextToken,ne=this.content();O&&~[x.dollar,x.caret,x.equals,x.word].indexOf(O[v.FIELDS.TYPE]);){this.position++;var Ee=this.content();if(ne+=Ee,Ee.lastIndexOf("\\")===Ee.length-1){var me=this.nextToken;me&&me[v.FIELDS.TYPE]===x.space&&(ne+=this.requiredSpace(this.content(me)),this.position++)}O=this.nextToken}var te=Q(ne,".").filter(function(qe){var Br=ne[qe-1]==="\\",br=/^\d+\.\d+%$/.test(ne);return!Br&&!br}),Ie=Q(ne,"#").filter(function(qe){return ne[qe-1]!=="\\"}),et=Q(ne,"#{");et.length&&(Ie=Ie.filter(function(qe){return!~et.indexOf(qe)}));var ie=(0,w.default)(Ze([0].concat(te,Ie)));ie.forEach(function(qe,Br){var br=ie[Br+1]||ne.length,Ct=ne.slice(qe,br);if(Br===0&&B)return B.call(ee,Ct,ie.length);var ft,rr=ee.currToken,ir=rr[v.FIELDS.START_POS]+ie[Br],si=z(rr[1],rr[2]+qe,rr[3],rr[2]+(br-1));if(~te.indexOf(qe)){var iu={value:Ct.slice(1),source:si,sourceIndex:ir};ft=new s.default(oe(iu,"value"))}else if(~Ie.indexOf(qe)){var su={value:Ct.slice(1),source:si,sourceIndex:ir};ft=new a.default(oe(su,"value"))}else{var Jn={value:Ct,source:si,sourceIndex:ir};oe(Jn,"value"),ft=new o.default(Jn)}ee.newNode(ft,N),N=null}),this.position++},q.word=function(N){var B=this.nextToken;return B&&this.content(B)==="|"?(this.position++,this.namespace()):this.splitWord(N)},q.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},q.parse=function(N){switch(this.currToken[v.FIELDS.TYPE]){case x.space:this.space();break;case x.comment:this.comment();break;case x.openParenthesis:this.parentheses();break;case x.closeParenthesis:N&&this.missingParenthesis();break;case x.openSquare:this.attribute();break;case x.dollar:case x.caret:case x.equals:case x.word:this.word();break;case x.colon:this.pseudo();break;case x.comma:this.comma();break;case x.asterisk:this.universal();break;case x.ampersand:this.nesting();break;case x.slash:case x.combinator:this.combinator();break;case x.str:this.string();break;case x.closeSquare:this.missingSquareBracket();case x.semicolon:this.missingBackslash();default:this.unexpected()}},q.expected=function(N,B,ee){if(Array.isArray(N)){var O=N.pop();N=N.join(", ")+" or "+O}var ne=/^[aeiou]/.test(N[0])?"an":"a";return ee?this.error("Expected "+ne+" "+N+', found "'+ee+'" instead.',{index:B}):this.error("Expected "+ne+" "+N+".",{index:B})},q.requiredSpace=function(N){return this.options.lossy?" ":N},q.optionalSpace=function(N){return this.options.lossy?"":N},q.lossySpace=function(N,B){return this.options.lossy?B?" ":"":N},q.parseParenthesisToken=function(N){var B=this.content(N);return N[v.FIELDS.TYPE]===x.space?this.requiredSpace(B):B},q.newNode=function(N,B){return B&&(/^ +$/.test(B)&&(this.options.lossy||(this.spaces=(this.spaces||"")+B),B=!0),N.namespace=B,oe(N,"namespace")),this.spaces&&(N.spaces.before=this.spaces,this.spaces=""),this.current.append(N)},q.content=function(N){return N===void 0&&(N=this.currToken),this.css.slice(N[v.FIELDS.START_POS],N[v.FIELDS.END_POS])},q.locateNextMeaningfulToken=function(N){N===void 0&&(N=this.position+1);for(var B=N;B<this.tokens.length;)if(T[this.tokens[B][v.FIELDS.TYPE]]){B++;continue}else return B;return-1},A($,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),$}();e.default=qt,r.exports=e.default}),TO=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=i(EO);function i(n){return n&&n.__esModule?n:{default:n}}var s=function(){function n(o,u){this.func=o||function(){},this.funcRes=null,this.options=u}var a=n.prototype;return a._shouldUpdateSelector=function(u,l){l===void 0&&(l={});var c=Object.assign({},this.options,l);return c.updateSelector===!1?!1:typeof u!="string"},a._isLossy=function(u){u===void 0&&(u={});var l=Object.assign({},this.options,u);return l.lossless===!1},a._root=function(u,l){l===void 0&&(l={});var c=new t.default(u,this._parseOptions(l));return c.root},a._parseOptions=function(u){return{lossy:this._isLossy(u)}},a._run=function(u,l){var c=this;return l===void 0&&(l={}),new Promise(function(f,h){try{var d=c._root(u,l);Promise.resolve(c.func(d)).then(function(w){var v=void 0;return c._shouldUpdateSelector(u,l)&&(v=d.toString(),u.selector=v),{transform:w,root:d,string:v}}).then(f,h)}catch(w){h(w);return}})},a._runSync=function(u,l){l===void 0&&(l={});var c=this._root(u,l),f=this.func(c);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var h=void 0;return l.updateSelector&&typeof u!="string"&&(h=c.toString(),u.selector=h),{transform:f,root:c,string:h}},a.ast=function(u,l){return this._run(u,l).then(function(c){return c.root})},a.astSync=function(u,l){return this._runSync(u,l).root},a.transform=function(u,l){return this._run(u,l).then(function(c){return c.transform})},a.transformSync=function(u,l){return this._runSync(u,l).transform},a.process=function(u,l){return this._run(u,l).then(function(c){return c.string||c.root.toString()})},a.processSync=function(u,l){var c=this._runSync(u,l);return c.string||c.root.toString()},n}();e.default=s,r.exports=e.default}),Sh=de(function(r,e){e.__esModule=!0,e.universal=e.tag=e.string=e.selector=e.root=e.pseudo=e.nesting=e.id=e.comment=e.combinator=e.className=e.attribute=void 0;var t=w(Qx),i=w(Hx),s=w(Zx),n=w(Gx),a=w(Wx),o=w(ew),u=w(Jx),l=w(Vx),c=w(zx),f=w(Kx),h=w(Yx),d=w(Xx);function w(I){return I&&I.__esModule?I:{default:I}}var v=function(P){return new t.default(P)};e.attribute=v;var x=function(P){return new i.default(P)};e.className=x;var m=function(P){return new s.default(P)};e.combinator=m;var S=function(P){return new n.default(P)};e.comment=S;var g=function(P){return new a.default(P)};e.id=g;var b=function(P){return new o.default(P)};e.nesting=b;var p=function(P){return new u.default(P)};e.pseudo=p;var y=function(P){return new l.default(P)};e.root=y;var _=function(P){return new c.default(P)};e.selector=_;var A=function(P){return new f.default(P)};e.string=A;var E=function(P){return new h.default(P)};e.tag=E;var T=function(P){return new d.default(P)};e.universal=T}),Eh=de(function(r,e){e.__esModule=!0,e.isNode=s,e.isPseudoElement=S,e.isPseudoClass=g,e.isContainer=b,e.isNamespace=p,e.isUniversal=e.isTag=e.isString=e.isSelector=e.isRoot=e.isPseudo=e.isNesting=e.isIdentifier=e.isComment=e.isCombinator=e.isClassName=e.isAttribute=void 0;var t,i=(t={},t[se.ATTRIBUTE]=!0,t[se.CLASS]=!0,t[se.COMBINATOR]=!0,t[se.COMMENT]=!0,t[se.ID]=!0,t[se.NESTING]=!0,t[se.PSEUDO]=!0,t[se.ROOT]=!0,t[se.SELECTOR]=!0,t[se.STRING]=!0,t[se.TAG]=!0,t[se.UNIVERSAL]=!0,t);function s(y){return typeof y=="object"&&i[y.type]}function n(y,_){return s(_)&&_.type===y}var a=n.bind(null,se.ATTRIBUTE);e.isAttribute=a;var o=n.bind(null,se.CLASS);e.isClassName=o;var u=n.bind(null,se.COMBINATOR);e.isCombinator=u;var l=n.bind(null,se.COMMENT);e.isComment=l;var c=n.bind(null,se.ID);e.isIdentifier=c;var f=n.bind(null,se.NESTING);e.isNesting=f;var h=n.bind(null,se.PSEUDO);e.isPseudo=h;var d=n.bind(null,se.ROOT);e.isRoot=d;var w=n.bind(null,se.SELECTOR);e.isSelector=w;var v=n.bind(null,se.STRING);e.isString=v;var x=n.bind(null,se.TAG);e.isTag=x;var m=n.bind(null,se.UNIVERSAL);e.isUniversal=m;function S(y){return h(y)&&y.value&&(y.value.startsWith("::")||y.value.toLowerCase()===":before"||y.value.toLowerCase()===":after")}function g(y){return h(y)&&!S(y)}function b(y){return!!(s(y)&&y.walk)}function p(y){return a(y)||x(y)}}),_O=de(function(r,e){e.__esModule=!0,Object.keys(se).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===se[t]||(e[t]=se[t])}),Object.keys(Sh).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===Sh[t]||(e[t]=Sh[t])}),Object.keys(Eh).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===Eh[t]||(e[t]=Eh[t])})}),AO=de(function(r,e){e.__esModule=!0,e.default=void 0;var t=a(TO),i=n(_O);function s(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return s=function(){return l},l}function n(l){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var c=s();if(c&&c.has(l))return c.get(l);var f={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in l)if(Object.prototype.hasOwnProperty.call(l,d)){var w=h?Object.getOwnPropertyDescriptor(l,d):null;w&&(w.get||w.set)?Object.defineProperty(f,d,w):f[d]=l[d]}return f.default=l,c&&c.set(l,f),f}function a(l){return l&&l.__esModule?l:{default:l}}var o=function(c){return new t.default(c)};Object.assign(o,i),delete o.__esModule;var u=o;e.default=u,r.exports=e.default}),yp=E6(AO),CO=/^(-\w+-)?animation-name$/,PO=/^(-\w+-)?animation$/,IO=(r="")=>{let e=Object.create(null),t=r.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){NO(r,i)},AtRule(i){/-?keyframes$/.test(i.name)&&!i.params.endsWith(`-${t}`)&&(e[i.params]=i.params=i.params+"-"+t)},OnceExit(i){Object.keys(e).length&&i.walkDecls(s=>{CO.test(s.prop)&&(s.value=s.value.split(",").map(n=>e[n.trim()]||n.trim()).join(",")),PO.test(s.prop)&&(s.value=s.value.split(",").map(n=>{let a=n.trim().split(/\s+/),o=a.findIndex(u=>e[u]);return o!==-1?(a.splice(o,1,e[a[o]]),a.join(" ")):n}).join(","))})}}},Db=new WeakSet;function NO(r,e){Db.has(e)||e.parent&&e.parent.type==="atrule"&&/-?keyframes$/.test(e.parent.name)||(Db.add(e),e.selector=yp(t=>{t.each(i=>{rw(r,i,t)})}).processSync(e.selector))}function rw(r,e,t,i=!1){let s=null,n=!0;if(e.each(a=>{if(a.type==="combinator"&&(a.value===">>>"||a.value==="/deep/"))return a.value=" ",a.spaces.before=a.spaces.after="",yb("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(a.type==="pseudo"){let{value:o}=a;if(o===":deep"||o==="::v-deep"){if(a.nodes.length){let u=a;a.nodes[0].each(c=>{e.insertAfter(u,c),u=c});let l=e.at(e.index(a)-1);(!l||!Rb(l))&&e.insertAfter(a,yp.combinator({value:" "})),e.removeChild(a)}else{yb("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");let u=e.at(e.index(a)-1);u&&Rb(u)&&e.removeChild(u),e.removeChild(a)}return!1}if(o===":slotted"||o==="::v-slotted"){rw(r,a.nodes[0],t,!0);let u=a;return a.nodes[0].each(l=>{e.insertAfter(u,l),u=l}),e.removeChild(a),n=!1,!1}if(o===":global"||o==="::v-global")return t.insertAfter(e,a.nodes[0]),t.removeChild(e),!1}a.type!=="pseudo"&&a.type!=="combinator"&&(s=a)}),s?s.spaces.after="":e.first.spaces.before="",n){let a=i?r+"-s":r;e.insertAfter(s,yp.attribute({attribute:a,value:a,raws:{},quoteMark:'"'}))}}function Rb(r){return r.type==="combinator"&&/^\s+$/.test(r.value)}IO.postcss=!0;var t7=U2.SourceMapConsumer,r7=U2.SourceMapGenerator;function h7(r,e,t={compare:"same",result:"value"}){let i=r.filter(o=>e.includes(o)),s=r.filter(o=>!e.includes(o)).concat(e.filter(o=>!r.includes(o))),{compare:n="same",result:a="value"}=t;return n==="same"?a==="value"?i:i.map(o=>r.indexOf(o)):a==="value"?kO(s):s.map(o=>r.indexOf(o)).filter(o=>o>=0)}function kO(r){if(!r.length)return r;let e=Math.floor(r.length/2),t=r.slice(0,e),i=r.slice(e),s=[];for(let n=0;n<e;n++)s.push([t[n],i[n]]);return s}function At(r){return typeof r>"u"}function p7(r,e){for(let t=0;t<r.length;t++){let i=e(r[t],t,r);if(!At(i))return i}}function d7(r,e=2){return(r.reduce((t,i)=>t+i)/r.length).toFixed(e)}var We=Array.isArray;function gc(r){return typeof r<"u"}function m7(array,key){let reg=/\/[\w._ $]+\/[gims]*/;return array.filter(r=>We(key)?key.some(e=>findItem(r,e)):findItem(r,key));function findItem(item,key){let[_key,_value]=key.split("=");return At(item[_key])?!1:gc(_value)?reg.test(_value)?new RegExp(eval(_value)).test(item[_key]):_value===item[_key]:/.*/.test(item[key])}}function g7(r,e){let t=new Map;return r.forEach((i,s)=>t.set(i[e],s)),new OO(r,t,e)}var OO=class{constructor(r,e,t){this.array=r,this.indexMap=e,this.id=t,this.array=r,this.indexMap=e,this.id=t}find(r){let e=this.indexMap.get(r);if(!At(e))return this.array[e]}_update(r,e,t){if(At(e)){let i=this.indexMap.get(r);if(At(i))throw new Error("\u5F53\u524Did\u4E0D\u5B58\u5728");if(t[this.id]!==r)throw new Error("\u4E0D\u53EF\u4FEE\u6539\u552F\u4E00id");this.array[i]=t}else{let i=this.find(r);if(At(i))return;i[e]=t}return this.array}delete(r){let e=this.indexMap.get(r);if(!At(e))return this.array.splice(e,1),this.indexMap.delete(r),this.array}set(r,e,t){let i=this.indexMap.get(r);if(At(t)){if(At(e))return;t=e,e=void 0}if(gc(i))return this._update(r,e,t);if(At(t[this.id]))throw new Error("\u65B0\u589E\u7684\u6570\u636E\u5FC5\u987B\u5305\u542B\u552F\u4E00id");if(t[this.id]!==r)throw new Error("\u65B0\u589E\u7684\u6570\u636Eid\u5FC5\u987B\u4E0E\u5F53\u524Did\u4E00\u81F4");return this.indexMap.set(r,this.array.length),this.array.push(t),this.array}};function re(r){return typeof r=="string"}function Nr(r){return typeof r=="function"}var Ai=Object.prototype.toString,y7=/(?<=\s|^|;)import\s*(["'\s]*(?<imports>[\w*${}\n\r\t, /]+)from\s*)?["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][\s;]*/gm,b7=/import\s*\((?<expression>(?:[^)(]+|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gm,v7=/\bexport\s+(?<declaration>(async function|function|let|const|var|class))\s+(?<name>[\w$_]+)/g,x7=/\bexport\s+{(?<exports>[^}]+)}(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][^\n]*)?/g,w7=/\bexport\s*(\*)(\s*as\s+(?<name>[\w$_]+)\s+)?\s*(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][^\n]*)?/g,S7=/\bexport\s+default\s+/g;function vt(r){return Ai.call(r)==="[object Object]"}function MO(r){return Ai.call(r)==="[object Set]"}function iw(r){return Ai.call(r)==="[object Map]"}function t0(r){return typeof r=="object"&&r.constructor===RegExp}function LO(r){return Number.isNaN(r)}function Mo(r){return r===null}function DO(r){return typeof r=="symbol"}function ko(r){return typeof r=="boolean"}function ms(r){return typeof r=="number"}function RO(r){return Ai.call(r)==="[object Promise]"}function BO(r){return r instanceof Date}function sw(r){return Ai.call(r)==="[object WeakMap]"}function nw(r){return Ai.call(r)==="[object WeakSet]"}function Oo(r,e){if(e=e.toLocaleLowerCase(),!e)throw new Error("type is required");let t={str:re,s:re,string:re,fn:Nr,f:Nr,function:Nr,object:vt,o:vt,array:We,a:We,set:MO,map:iw,m:iw,reg:t0,r:t0,b:ko,boolean:ko,n:ms,number:ms,u:At,undefined:At,null:Mo,symbol:DO,nan:LO,wm:sw,ws:nw,promise:RO,weakmap:sw,weakset:nw,date:BO};return e.split("|").some(i=>{var s;return(s=t[i.trim()])==null?void 0:s.call(t,r)})}function E7(r,e){return Oo(e,"s|n")&&(e=[`${e}`]),e.reduce((t,i)=>{let s=!1;return i[0]==="-"&&(s=!0,i=i.slice(1)),t.sort((n,a)=>i!=="1"&&a[i]===n[i]?0:s?i==="1"?a>n?1:-1:a[i]>n[i]?1:-1:i==="1"?n>a?1:-1:a[i]>n[i]?-1:1)},r)}function T7(r,e,t){if(!e)return r;let i=[],s,n=t?t.split("."):void 0;return e.forEach((o,u)=>{if(o==="*")return s=u;let l=r.findIndex(c=>a(n,c)===o);l!==-1&&(i.push(r[l]),r.splice(l,1))}),gc(s)?i.splice(s,0,...r):i.concat(r),i;function a(o,u){return o?o.reduce((l,c)=>l==null?void 0:l[c],u):u}}function _7(r){return r.reduce((e,t)=>((Oo(t,"o|a")&&!FO(e,t)||!e.includes(t))&&e.push(t),e),[])}function ww(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(let t in r)if(Oo(r[t],"o|a")&&Oo(e[t],"o|a")&&!ww(r[t],e[t])||r[t]!==e[t])return!1;return!0}function FO(r,e){return r.some(t=>Oo(t,"o|a")&&ww(e,t))}function A7(r,e=1){if(e<1)return[];let t=[];for(let i=0;i<r.length;i+=e)t.push(r.slice(i,i+e));return t}function C7(r,e){return r.reduce((t,i)=>{let s=e(i);return t[s]?t[s]++:t[s]=1,t},{})}function UO(r,e="children",t=!1,i=[]){return r=We(r)?r:[r],r.forEach(s=>{let n=s[e];t||i.push(s),n?UO(n,e,t,i):t&&i.push(s)}),i}function P7(r){return r.filter(Boolean)}var Sw=class{constructor(r,e){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));return r&&(this.canvas.width=r),e&&(this.canvas.height=e),this}};function Bt(r,e=!1,t=document){if(!Mo(e))return ko(e)||(t=e,e=!1),We(r)?r.reduce((i,s)=>{let n=e?t.querySelectorAll(s):t.querySelector(s);return n?i=e?[...i,...n]:[...i,n]:i},[]):e?t.querySelectorAll(r):t.querySelector(r)}function Ye(...r){let e=r.length,t=[...r],i=t.slice(0,e-1),s=t.slice(-1)[0],n=!1,a=!1;o(),document.addEventListener("DOMContentLoaded",o),setTimeout(()=>document.removeEventListener("DOMContentLoaded",o));function o(){if(!a){if(i.forEach((u,l)=>re(u)&&(i[l]=Bt(u)||u)),!n&&i.some(re))return n=!0;if(i.some(re))throw new Error(`${i.filter(re).join(", ")} is not a HTMLElement`);s==null||s(...i),a=!0}}}function Lo(r,e,t){return Ye(r,e,(i,s)=>i.insertBefore(s,Mo(t)?null:t||i.firstChild))}function Do(r){if(re(r)&&(r=Bt(r)||r),re(r))throw new Error(`${r} is not a element`);let e=r.parentElement;return e&&e.removeChild(r),e}function p0(r){let e=window.onunload||function(){};return window.onunload=function(t){r==null||r(t),e.call(this,t)},r}function xe(r,e,t,i,s){let n=!1,a,o;e==="DOMContentLoaded"&&(n=!0);function u(l){var c;try{(c=t==null?void 0:t.call)==null||c.call(t,l.target,l)}catch(f){throw o==null||o(),new Error(f)}s&&a()}return p0(()=>a==null?void 0:a()),Ye(r,l=>{let c=l==null?void 0:l[e],f=h=>{try{!(c&&c.toString().includes("() { [native code] }"))&&c&&(c==null||c())}catch(d){console.error(d)}u(h)};l.addEventListener(e,f,i),a=()=>l.removeEventListener(e,f,i),n&&(a==null||a())}),()=>{if(!a)return n=!0;a==null||a()}}function aw(r,e){return xe(document,"keydown",t=>{let i="",s=t.key;t.shiftKey&&s!=="Shift"&&(i+="Shift+"),t.ctrlKey&&s!=="Control"&&(i+="Ctrl+"),t.altKey&&s!=="Alt"&&(i+="Alt+"),t.metaKey&&s!=="Meta"&&(i+="Meta+"),t.code==="Space"&&(i+="Space"),i+=s,i===r&&e(i)})}var I7=class{constructor(r=2,e=400,t=400,i="#000000"){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));be(this,"stop",[]);be(this,"active",!1);be(this,"historyStack",[]);be(this,"resetStack",[]);be(this,"color","#000000");this.color=i,this.createCanvas(r,e,t),window.onunload=()=>this.unmount()}createCanvas(r=2,e=400,t=400){this.canvas.width=e,this.canvas.height=t,this.ctx.fillStyle="rgba(255, 255, 255, 0)",this.ctx.fillRect(0,0,e,t),this.ctx.strokeStyle=this.color,this.ctx.lineWidth=r,this.ctx.lineCap="round";let i=0,s=0;this.stop.push(xe(this.canvas,"touchstart",a=>{i=this.canvas.offsetTop,s=this.canvas.offsetLeft,this.ctx.beginPath(),this.ctx.moveTo(a.changedTouches[0].pageX+2-s,a.changedTouches[0].pageY-i)},!1));let n=!1;this.stop.push(xe(this.canvas,"mousedown",a=>{i=this.canvas.offsetTop,s=this.canvas.offsetLeft,n=!0,this.ctx.beginPath(),this.ctx.moveTo(a.pageX+2-s,a.pageY-i)},!1)),this.stop.push(xe(this.canvas,"mousemove",a=>{!n||(this.ctx.lineTo(a.pageX+2-s,a.pageY-i),this.ctx.stroke())},!1)),this.stop.push(xe(this.canvas,"mouseup",()=>n=!1)),this.stop.push(xe(this.canvas,"mouseout",()=>n=!1)),this.stop.push(xe(this.canvas,"touchmove",a=>{this.ctx.lineTo(a.changedTouches[0].pageX+2-s,a.changedTouches[0].pageY-i),this.ctx.stroke()},!1))}clearCanvas(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}mount(r){return Lo(r,this.canvas,null),this.listen(),this}setColor(r){this.color=r,this.ctx.strokeStyle=r}unmount(){Do(this.canvas),this.stop.forEach(r=>r())}listen(){xe(this.canvas,"mousedown",()=>{this.active=!0}),xe(this.canvas,"mouseup",()=>{this.active=!1;let{width:r,height:e}=this.canvas,t=this.ctx.getImageData(0,0,r,e);this.historyStack.push(t)}),xe(this.canvas,"mouseout",()=>{this.active=!1}),aw("Ctrl+z",()=>this.undo()),aw("Ctrl+x",()=>this.redo())}undo(){this.historyStack.length!==0&&(this.clearCanvas(),this.resetStack.push(this.historyStack.pop()),this.historyStack.forEach(r=>this.ctx.putImageData(r,0,0)))}redo(){this.resetStack.length!==0&&(this.clearCanvas(),this.historyStack.push(this.resetStack.pop()),this.historyStack.forEach(r=>this.ctx.putImageData(r,0,0)))}erase(r=2){this.ctx.lineWidth=r,this.ctx.strokeStyle="rgba(255, 255, 255, 1)",this.ctx.globalCompositeOperation="destination-out"}unerased(){this.ctx.strokeStyle=this.color,this.ctx.globalCompositeOperation="source-over"}save(){return this.canvas.toDataURL("image/png")}};function Ew(r,e=new Map){return function(...t){let i=JSON.stringify(t);if(e.has(i))return e.get(i);let s=r.apply(r,t);return e.set(i,s),s}}function Tw(r,e=2e3,t){Nr(e)&&(t=e,e=2e3);let i=!0,s=window.requestIdleCallback||function(u){let l=Date.now();return setTimeout(()=>u({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-l))}}),1)},n=window.cancelIdleCallback||clearTimeout,a=s(async function u(l){var c;!i||((l.timeRemaining()>0||l.didTimeout)&&r.length>0&&((c=r.shift())==null||c()),r.length>0?s(u):(t==null||t(),o()))},{timeout:e});function o(){i=!1,n(a)}return o}function lt(r,e,t,i){let s=document.createElement(r,i);if(!e)return s;for(let n in e)s.setAttribute(n,e[n]);return t&&(s.innerHTML=t),s}var N7=class{constructor(r,e,t,i="#fff"){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));be(this,"points",new Map);be(this,"originSrc","");be(this,"color","");be(this,"fontWeight",1);be(this,"status","pending");be(this,"bgColor");this.initOptions(r,e,t,i),this.executor()}createDotImage(r){this.canvas.width=r.width,this.canvas.height=r.height,this.ctx.drawImage(r,0,0,this.canvas.width,this.canvas.height);let{data:e,width:t,height:i}=this.ctx.getImageData(0,0,this.canvas.width,this.canvas.height),s=[];for(let n=0;n<i;n++){let a=[];s.push(a);for(let o=0;o<t;o++){let u=n*t*4+o*4,l={r:e[u],g:e[u+1],b:e[u+2],a:e[u+3]},c=`rgba(${l.r},${l.g},${l.b},${l.a})`;l.r>230&&l.g>230&&l.b>230?a.push(this.color?0:this.bgColor):a.push(l.a?c:0)}}return this.points.set(this.originSrc,{width:this.canvas.width,imagePointSet:s,height:this.canvas.height}),s}createImage(){if(this.hasImage()){let{imagePointSet:e,width:t,height:i}=this.points.get(this.originSrc),s=window.devicePixelRatio||1;this.canvas.width=t*s,this.canvas.height=i*s,this.getCanvas(e);return}let r=lt("img",{crossOrigin:"anonymous",src:this.originSrc});return new Promise(e=>{r.onload=()=>{this.getCanvas(this.createDotImage(r)),e(r)},r.onerror=()=>{this.status="fail"}})}hasImage(){return this.points.has(this.originSrc)}async executor(){try{this.createImage()}catch(r){}return this}getCanvas(r){var e;this.clearCanvas();let t=r.length,i=(e=r[0])==null?void 0:e.length,s=this.canvas.width*1/t,n=this.fontWeight*50/this.canvas.width,a=Ew(u=>s*(u+.5)),o=[];for(let u=0;u<t;u++)o.push(()=>{for(let l=0;l<i;l++){let c=r[u][l];this.ctx.beginPath(),this.ctx.arc(a(l),a(u),n,0,Math.PI*2),this.ctx.fillStyle=c?this.color||String(c):this.bgColor||"#fff",this.ctx.fill()}});Tw(o,()=>{this.status="success"})}initOptions(r,e,t,i){this.originSrc=r,this.color=e,this.fontWeight=t,this.bgColor=i}async repaint(r,e,t,i="#fff"){let s=Do(this.canvas);if(this.status="pending",this.initOptions(r,e,t,i),!s)throw new Error("repaint error not found canvas container or has been removed");return Object.assign(this,await this.executor()).append(s)}clearCanvas(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}append(r){return Lo(r,this.canvas),this}},qO=class{constructor(r,e,t,i){be(this,"canvas",document.createElement("canvas"));be(this,"ctx",this.canvas.getContext("2d"));be(this,"points",new Map);be(this,"originText");be(this,"fontSize");be(this,"color");be(this,"fontWeight");be(this,"textPointSet",[]);be(this,"status","pending");be(this,"container");this.originText=r,this.fontSize=e,this.color=t,this.fontWeight=i,this.executor()}createTextPoint(r){let e=document.createElement("canvas"),t=e.getContext("2d"),i=window.devicePixelRatio||1,s=16*i;e.width=e.height=s,t.font=`${s}px SimSun`,t.fillText(r,0,14*i);let{data:n,width:a,height:o}=t.getImageData(0,0,s,s),u=[];for(let l=0;l<o;l++){let c=[];u.push(c);for(let f=0;f<a;f++){let h=l*a*4+f*4;c.push(n[h+3]?1:0)}}return this.points.set(r,u),u}executor(){this.originText.split("").forEach(r=>this.getText(r)),this.textPointSet=this.combineText(),this.getCanvas()}getText(r){return this.points.has(r)?this.points.get(r):this.createTextPoint(r)}combineText(){let r=[[]],e=this.originText.length;for(let t=0;t<e;t++)(this.points.get(this.originText[t])||[]).forEach((i,s)=>{r[s]=(r[s]||[]).concat(i)});return r}getCanvas(){let r=this.textPointSet.length,e=this.textPointSet[0].length,t=this.fontSize/r,i=[],s=Ew(a=>t*(a+.5)),n=t*this.fontWeight/r;this.canvas.height=this.fontSize,this.canvas.width=this.fontSize*this.originText.length;for(let a=0;a<r;a++)i.push(()=>{for(let o=0;o<e;o++)this.textPointSet[a][o]&&(this.ctx.beginPath(),this.ctx.arc(s(o),s(a),n,0,Math.PI*2),this.ctx.fillStyle=this.color,this.ctx.fill())});Tw(i,()=>this.status="success")}repaint(r,e,t,i){let s=Do(this.canvas);if(!s)throw new Error("repaint error not found canvas container or has been removed");return this.status="pending",this.originText!==r?Object.assign(this,new qO(r,e,t,i)).append(s):(this.fontSize=e,this.color=t,this.fontWeight=i,this.clearCanvas(),this.getCanvas(),this.append(s))}clearCanvas(){var r;(r=this.ctx)==null||r.clearRect(0,0,this.canvas.width,this.canvas.height)}append(r){return Lo(r,this.canvas),this}};function k7(r){return new Promise((e,t)=>{try{let i=new Image;i.src=r,i.onload=function(){let{width:s,height:n}=i,{ctx:a}=new Sw(s,n);a.drawImage(i,0,0),e({width:s,height:n,data:a.getImageData(0,0,s,n).data})},i.onerror=t}catch(i){t(i)}})}function O7(r){let e=0,t={},i=r[0].length,s=r.length,n=[],a=[];for(let l=0;l<s;l++)for(let c=0;c<i;c++)r[l][c]===0&&e++,r[l][c]===0&&(t[c]||(t[c]=0),t[c]++),l===s-1&&t[c]===s&&a.push(c),c===i-1&&e===i&&n.push(l),c===i-1&&(e=0);let o=0;for(let l=0;l<n.length&&n[l]===o;l++)o++;let u=n[n.length-1];for(let l=n.length;l>o&&n[l-1]===u;l--)u--;u>o&&r.splice(u,n[n.length-1]),r.splice(0,o),o=0;for(let l=0;l<a.length&&a[l]===o;l++)o++;u=a[a.length-1];for(let l=a.length;l>o&&a[l-1]===u;l--)u--;for(let l=0;l<r.length;l++)u>o&&r[l].splice(u,a[a.length-1]),r[l].splice(0,o);return r}function $O(r){return r.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function M7(r){if(r=(r||window.location.search).split("?")[1],!!r)return r.split("&").reduce((e,t)=>{let[i,s]=t.split("=");return e[i]=s,e},{})}function _w(r){return r.replace(/([A-Z])/g,"-$1").toLowerCase()}function L7(r,e=6){let t=0;return r=`${r}`,r.match(/[a-z]/g)&&t++,r.match(/[A-Z]/g)&&t++,r.match(/[0-9]/g)&&t++,r.match(/[^a-zA-Z0-9]/g)&&t++,r.length<e&&(t=0),t}function jO(r,e="around"){return e==="pre"?r.replace(/(^\s*)/g,""):e==="post"?r.replace(/(\s*$)/g,""):e==="all"?r.replace(/\s+/g,""):e==="around"?r.replace(/(^\s*)|(\s*$)/g,""):r}var VO=/\s+(?!['"])([\w_\-\$\.]+):/gm,zO=/:\s*(?!['"])([\w_\-\$\.]+)/gm,HO=/:\s*("[\w_\-\$\.]+")\s*(?!,)"/gm,GO=/:\s*("[\w_\-\$\.]+"\s*,)\s*}/gm;function D7(r){return JSON.parse(r.replace(VO,(e,t)=>e.replace(t,`"${t}"`)).replace(zO,(e,t)=>e.replace(t,`"${t}"`)).replace(HO,(e,t)=>e.replace(t,`${t},`)).replace(GO,e=>e.replace(",","")))}function Ro(r,e=" "){return r.replace(/\s+/g,e)}function WO(r){let e=r.split(":"),t=e.length-1;return e.reduce((i,s,n)=>i+ +s*60**(t-n),0)}function R7(r){return r.split(`
|
|
97
97
|
`).reduce((e,t)=>{let i=t.split("]"),s=i[0].slice(1);return e.push({time:WO(s),words:i[1]}),e},[])}function YO(r,e){return r.replace(/([\.#]*\w+)[\s.>+\w]*{/gm,(t,i)=>t.replace(i,`[${e}] ${i}`))}function KO(r,e){let t=re(r)?r:Object.keys(r).reduce((s,n)=>{let a=r[n];return s+=`${n} { ${Object.keys(a).reduce((o,u)=>o+=`${_w(u)}: ${a[u]};`,"")} }`},""),i=lt("style",{type:"text/css"},e?YO(t,e):t);return Lo(document.head,i,null),()=>Do(i)}function JO(){let r=navigator.userAgent,e=()=>{let t=[{name:"sgssapp",it:/sogousearch/i.test(r)},{name:"wechat",it:/MicroMessenger/i.test(r)},{name:"weibo",it:!!r.match(/Weibo/i)},{name:"uc",it:!!r.match(/UCBrowser/i)||r.includes(" UBrowser")},{name:"sogou",it:r.includes("MetaSr")||r.includes("Sogou")},{name:"xiaomi",it:r.includes("MiuiBrowser")},{name:"baidu",it:r.includes("Baidu")||r.includes("BIDUBrowser")},{name:"360",it:r.includes("360EE")||r.includes("360SE")},{name:"2345",it:r.includes("2345Explorer")},{name:"edge",it:r.includes("Edge")},{name:"ie11",it:r.includes("Trident")&&r.includes("rv:11.0")},{name:"ie",it:r.includes("compatible")&&r.includes("MSIE")},{name:"firefox",it:r.includes("Firefox")},{name:"safari",it:r.includes("Safari")&&!r.includes("Chrome")},{name:"qqbrowser",it:r.includes("MQQBrowser")&&!r.includes(" QQ")},{name:"qq",it:r.includes("QQ")},{name:"chrome",it:r.includes("Chrome")||r.includes("CriOS")},{name:"opera",it:r.includes("Opera")||r.includes("OPR")}];for(let i=0;i<t.length;i++)if(t[i].it)return t[i].name;return"other"};return{os:(()=>!!r.match(/compatible/i)||r.match(/Windows/i)?"windows":!!r.match(/Macintosh/i)||r.match(/MacIntel/i)?"macOS":!!r.match(/iphone/i)||r.match(/Ipad/i)?"ios":r.match(/android/i)?"android":r.match(/Ubuntu/i)?"Ubuntu":"other")(),dev:e()}}function QO(r,e={},t){let{os:i}=JO(),s=i==="ios"||i==="android",n=[],a=!1;return Ye(r,o=>{let u=!1;s?(n.push(xe(o,"touchstart",c=>{e.dragStart&&e.dragStart(l(c))},!1)),e.dragMove&&n.push(xe(o,"touchmove",c=>{var f;(!t||u)&&((f=e.dragMove)==null||f.call(e,l(c)))},!1)),e.dragEnd&&n.push(xe(o,"touchend",c=>{var f;(f=e.dragEnd)==null||f.call(e,l(c)),u=!1},!1))):(n.push(xe(o,"mousedown",c=>{u=!0,e.dragStart&&e.dragStart(c)},!1)),e.dragMove&&n.push(xe(o,"mousemove",c=>{var f;(!t||u)&&((f=e.dragMove)==null||f.call(e,c))},!1)),e.dragEnd&&n.push(xe(o,"mouseup",c=>{var f;(f=e.dragEnd)==null||f.call(e,c),u=!1},!1))),a&&n.forEach(c=>c());function l(c){let{clientX:f,clientY:h,pageX:d,pageY:w,screenX:v,screenY:x}=c==null?void 0:c.changedTouches[0];return c.clientX=f,c.clientY=h,c.pageX=d,c.pageY=w,c.screenX=v,c.screenY=x,c}}),()=>{if(!n.length)return a=!0;n.forEach(o=>o==null?void 0:o())}}function ow(r=Number.MIN_SAFE_INTEGER,e=Number.MAX_VALUE){return Math.floor(Math.random()*(e-r+1))+r}async function B7(r,e,t=42,i){if(Nr(t)&&(i=t,t=42),re(e)&&(e=Bt(e)||e),re(e))throw new Error(`${e} is not a HTMLElement`);let s=new Image;s.src=r,s.onload=()=>{let n=lt("div",{style:"position:relative"}),a=Math.PI,o=document.createElement("canvas"),u=o.cloneNode(),l=u.getContext("2d"),c=o.getContext("2d"),f=s.width,h=s.height,d=9,w=+t+d*2+3,v=ow(w+10,f-(w+10)),x=ow(10+d*2,h-(w+10)),m=x-d*2-1,S=(p,y,_,A)=>{p.beginPath(),p.moveTo(y,_),p.arc(y+ +t/2,_-d+2,d,.72*a,2.26*a),p.lineTo(y+ +t,_),p.arc(y+ +t+d-2,_+ +t/2,d,1.21*a,2.78*a),p.lineTo(y+ +t,_+ +t),p.lineTo(y,_+ +t),p.arc(y+d-2,_+ +t/2,d+.4,2.76*a,1.24*a,!0),p.lineTo(y,_),p.lineWidth=2,p.fillStyle="#fff",p.strokeStyle="rgba(255, 255, 255, 0.7)",p.stroke(),p.globalCompositeOperation="destination-over",A==="fill"?p.fill():p.clip()};o.width=f,o.height=h,u.width=f,u.height=h,S(c,v,x,"fill"),S(l,v,x,"clip"),c.drawImage(s,0,0,f,h),l.drawImage(s,0,0,f,h);let g=l.getImageData(v-3,m,w,w);u.width=w,l.putImageData(g,0,m);let b;QO(u,{dragStart(p){b=p.clientX-p.target.offsetLeft},dragMove(p){let y=p.clientX-b;y<0||y>f-w||(u.style.left=`${y}px`)},dragEnd(p){let y=p.clientX-b;y>v-10&&y<v+8?(u.style.left=`${v-3}px`,i==null||i()):(u.className="animate-head-shake",u.style.left="0px",setTimeout(()=>{u.className=""},200))}}),u.style.position="absolute",u.style.top="0px",n.appendChild(o),n.appendChild(u),e.appendChild(n)},KO(`@keyframes head-shake {
|
|
98
98
|
0% {
|
|
99
99
|
transform: translateX(0);
|
|
@@ -116,11 +116,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
116
116
|
}
|
|
117
117
|
.animate-head-shake {
|
|
118
118
|
animation: head-shake 1s ease-in-out 1;
|
|
119
|
-
}`)}function F7(r){return jO(r.replace(/\/\*(.|\n)*?\*\//g,"").replace(/\s*([\{\}\:\;\,])\s*/g,"$1").replace(/;\s*;/g,";"))}function hr(r){if(re(r))try{return Aw.default.statSync(r).isFile()}catch(e){return!1}return Ai.call(r)==="[object File]"}function U7(r,e={}){return new Promise(t=>{let{quality:i=.1,maxWidth:s,maxHeight:n,type:a="base64"}=e;XO(r,t,i,a,s,n)})}function XO(r,e,t,i,s,n){if(hr(r)){let c=new FileReader;c.readAsDataURL(r),c.onload=function(f){var h;a((h=f.target)==null?void 0:h.result)}}else a(r);function a(c){let f=new Image;f.src=c,s&&(f.width=s),n&&(f.height=n),f.onload=function(){o(f)}}function o(c){let{canvas:f,ctx:h}=new Sw;f.width=c.width,f.height=c.height,h.drawImage(c,0,0,f.width,f.height),i==="blob"?u(f):l(f)}function u(c){c.toBlob(f=>e(f),"image/jpeg",t)}function l(c){e(c.toDataURL("image/jpeg",t))}}var ZO=/(<.* class=["']([\w\-\_$ ]*)["'_\-\w$=:\/ ]*\>)/gm;function q7(r,e){let t=0;return r.replace(ZO,(i,s,n)=>i.replace(n,e(n,s,t++)))}function $7(r,e,t){return Ye(r,i=>t==null?void 0:t(getComputedStyle(i).getPropertyValue(e)))}function j7(r,e){return r.classList.contains(e)}function V7(r,e){return Ye(r,t=>e&&Object.keys(e).forEach(i=>t.style.setProperty(i,e[i])))}var ps=(r,e,t,i,s)=>{let n=`${r}-${e}`;return t&&(n+=`-${t}`),i&&(n+=`__${i}`),s&&(n+=`--${s}`),n},z7=r=>e=>{let t=r;return{namespace:t,b:(i="")=>ps(t,e,i,"",""),e:i=>i?ps(t,e,"",i,""):"",m:i=>i?ps(t,e,"","",i):"",be:(i,s)=>i&&s?ps(t,e,i,s,""):"",em:(i,s)=>i&&s?ps(t,e,"",i,s):"",bm:(i,s)=>i&&s?ps(t,e,i,"",s):"",bem:(i,s,n)=>i&&s&&n?ps(t,e,i,s,n):"",is:(i,...s)=>{let n=s.length>=1?s[0]:!0;return i&&n?`is-${i}`:""},cssVar:i=>{let s={};for(let n in i)i[n]&&(s[`--${t}-${n}`]=i[n]);return s},cssVarName:i=>`--${t}-${i}`,cssVarBlock:i=>{let s={};for(let n in i)i[n]&&(s[`--${t}-${e}-${n}`]=i[n]);return s},cssVarBlockName:i=>`--${t}-${e}-${i}`}};function pc(r,e={}){let{sep:t="&",eq:i="=",hyp:s=!1,px:n=!1,encode:a=!0}=e;return Object.keys(r).map(o=>`${s?_w(o):o}${i}${e5(a,n,r,o)}`).join(t)}function e5(r,e,t,i){let s=e&&ms(t[i])?`${t[i]}px`:t[i].toString();return r?encodeURI(s):s}function H7(r,e){let t=pc(e,{sep:";",eq:":",hyp:!0});return Ye(r,i=>{i.style.cssText=i.style.cssText+t})}function G7(r,e){let t=We(e)?e:[e];return Ye(r,i=>{let s=i.style.cssText;i.style.cssText=t.reduce((n,a)=>n.replace(t5(a),""),s).trim()})}function t5(r){return new RegExp(`${r}: [\\w()!\\-,.\\s0-9]+;`)}function W7(r,e){return Reflect.has(r,e)}var Y7=Object.assign;function r5(r){let e=window.onbeforeunload||function(){};return window.onbeforeunload=function(t){r==null||r(t),e.call(this,t)},r}function K7(r,e){Ye(()=>{document.styleSheets[0].insertRule(r,e)})}function J7(r,e){return Ye(r,t=>t.classList.add(e))}function Q7(r,e){return Ye(r,t=>t.classList.remove(e))}function i5(r,e="yyyy-MM-dd"){let t={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours()%12===0?12:r.getHours()%12,"H+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),S:r.getMilliseconds()},i={0:"/u65e5",1:"/u4e00",2:"/u4e8c",3:"/u4e09",4:"/u56db",5:"/u4e94",6:"/u516d"};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,`${r.getFullYear()}`.substr(4-RegExp.$1.length))),/(E+)/.test(e)&&(e=e.replace(RegExp.$1,(RegExp.$1.length>1?RegExp.$1.length>2?"/u661f/u671f":"/u5468":"")+i[r.getDay()]));for(let s in t)new RegExp(`(${s})`).test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length===1?t[s]:`00${t[s]}`.substr(`${t[s]}`.length)));return e}function X7(r,e=0){let t=r.includes("-")?"-":"/",[i,s,n]=r.split(t),a=new Date(+i,+s-1,+n).getTime(),o=[],u=!0;e<0&&(u=!1),e=Math.abs(e);for(let l=0;l<=e;l++){let c=u?a+l*24*60*60*1e3:a-l*24*60*60*1e3;o.push(i5(new Date(c)))}return o}function s5(){return document.createDocumentFragment()}function uw(r,e){let t,i=!1;return Ye(r,s=>{t=xe(s,"click",e),i&&(t==null||t())}),()=>{if(!t)return i=!0;t==null||t()}}function Z7(r,e){return Ye(r,t=>e==null?void 0:e((r=t).getBoundingClientRect())),xe(window,"scroll",()=>e==null?void 0:e(r.getBoundingClientRect()))}function eB(r){Ye(r,e=>{var t;return(t=Bt("input",e.parentElement))==null?void 0:t.focus()})}function tB(r,e){let t=!1,i=[];return Ye(r,s=>{i.push(xe(s,"mouseenter",n=>e(!0,n))),i.push(xe(s,"mouseleave",n=>e(!1,n))),t&&i.forEach(n=>n())}),()=>{if(!i.length)return t=!0;i.forEach(s=>s())}}function n5(r,e,t){let i=!1,s;return p0(()=>s==null?void 0:s()),Ye(r,n=>{(t==null?void 0:t.root)&&re(t.root)&&(t.root=Bt(t.root));let a=new IntersectionObserver(e,t);a.observe(n),s=()=>a.disconnect(),i&&s()}),()=>{if(!s)return i=!0;s==null||s()}}function rB(r,e){if(!Nr(r))return;let t=setInterval(r,e);return()=>clearInterval(t)}function iB(r,e=0){let t=Date.now();return xe(window,"mousemove",i=>{Date.now()-t>=e&&(t=Date.now(),r(i))})}function Cw(r,e,t={childList:!0}){if(!r)return;let i=!1,s;return Ye(r,n=>{let a=new MutationObserver(e);a.observe(n,t),s=()=>a.disconnect(),i&&s()}),p0(()=>s==null?void 0:s()),()=>{if(!s)return i=!0;s==null||s()}}function sB(r){return xe(window,"resize",()=>r==null?void 0:r(document.documentElement.clientWidth||document.body.clientWidth,document.documentElement.clientHeight||document.body.clientHeight))}function nB(r){return xe(document,"scroll",()=>r==null?void 0:r(document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop))}function a5(r,e=0){if(!Nr(r))return;let t=setTimeout(r,e);return()=>clearTimeout(t)}function aB(r,e){let t=re(r)?Bt(r):r,i=re(e)?Bt(e):e;if(!t||!i)return!1;let s=t.offsetLeft,n=t.offsetLeft+t.offsetWidth,a=i.offsetLeft,o=i.offsetLeft+i.offsetWidth,u=t.offsetTop,l=t.offsetTop+t.offsetHeight,c=i.offsetTop,f=i.offsetTop+i.offsetHeight;return!(s>o||n<a||u>f||l<c)}function Pw(r,e=""){try{lt("a",{href:r,download:e}).click()}catch(t){throw new Error(t)}}function oB(r){let{title:e,meta:t,script:i,link:s}=r,n=s5();return e&&(document.title=re(e)?e:e()),t&&t.length&&u5(n,t),i&&i.length&&l5(n,i),s&&s.length&&o5(n,s),Lo(document.head,n),Do(n)}function o5(r,e){r.append(...e.map(({rel:t,href:i})=>lt("link",{rel:t,href:i})))}function u5(r,e){r.append(...e.map(({name:t,content:i})=>lt("meta",{name:t,content:i})))}function l5(r,e){r.append(...e.map(({src:t,type:i})=>lt("script",Object.assign({src:t},c5(i)?{type:i}:{[i]:""}))))}function c5(r){return r==="module"||r==="nomodule"}function uB(r,e,t){let i=[],s=!1;return Ye(r,n=>{let a,o,u=document.createEvent("Event");u.initEvent("longpress",!0,!0),i.push(xe(n,"mousedown",()=>{o=Date.now(),a=a5(()=>n.dispatchEvent(u),e)},!1)),i.push(xe(n,"mouseup",()=>{Date.now()-o<e?a==null||a():t==null||t()},!1)),s&&i.forEach(l=>l())}),()=>{i.length?i.forEach(n=>n()):s=!0}}function lB(r,e){let t=!1,i=[],s=!1;return Ye(r,n=>{i.push(uw(n,a=>{t=!0,a.preventDefault(),a.stopPropagation()})),i.push(uw(document,()=>{!t||(t=!1,e==null||e())})),s&&i.forEach(a=>a())}),()=>{if(!i.length)return s=!0;i.forEach(n=>n())}}function f5(r){return document.createTextNode(r)}var h5=["3g2","3gp","aaf","asf","avchd","avi","drc","flv","m2v","m3u8","m4p","m4v","mkv","mng","mov","mp2","mp4","mpe","mpeg","mpg","mpv","mxf","nsv","ogg","ogv","qt","rm","rmvb","roq","svi","vob","webm","wmv","yuv"];function p5(r){let e=r.lastIndexOf(".")+1;return h5.includes(r.slice(e,r.length).toLowerCase())}function lw(r,e){let t,i;return We(r)||(r=[r]),r.map(a=>p5(a)?n(a):s(a));function s(a){t||(t=new Image);let o=t.cloneNode();return o.src=a,e&&o.setAttribute("style",e),o}function n(a){i||(i=lt("video"));let o=i.cloneNode();return o.src=a,e&&o.setAttribute("style",e),o}}function cB(r,e,t=200,i=20){ms(e)&&(t=e,e="body"),e||(e="body");let s=lw(r,`width:${t}px;position:absolute;`),n=lt("div",{id:"simon-waterfall",style:"position:relative;width:100%;height:100%;"});xe(window,"resize",()=>a(e));async function a(u){let l=t+i,c=Math.floor(u.offsetWidth/l),f=new Array(c).fill(0);function h(w){return w.map(v=>{let x=f.indexOf(Math.min(...f)),m=v.height*t/v.width;return v.style.left=`${x*l}px`,v.style.top=`${f[x]}px`,f[x]+=m+i,v})}function d(){return new Promise(w=>{let v=[],x=s.length;s.forEach((m,S)=>{m.complete?(x--,v[S]=m,x===0&&w(h(v))):m.onload=()=>{x--,v[S]=m,x===0&&w(h(v))}})})}(await d()).forEach(w=>n.appendChild(w)),o(u),u.appendChild(n)}return Ye(e,u=>a(e=u)),u=>{let l=lw(u,`width:${t}px;position:absolute;`);s.push(...l),a(e)};function o(u){for(let l=0;l<u.children.length;l++)if(u.children[l].id==="simon-waterfall")return u.removeChild(u.children[l])}}function fB(r){return r.replace(/[&<>'"]/g,e=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[e]||e)}function pB(r="",e={}){return new Promise((t,i)=>{let s=new ua((a,o)=>{a?i(new Error(a)):t(Iw(o,e))}),n=new ea(s,{recognizeSelfClosing:!0,xmlMode:!0});n.write(r),n.end()})}function Iw(r,e){return r.reduce((t,i)=>{var s,n;let a=[],o={setAttribs:u,beforeInsert:c,afterInsert:f,renameAttribs:l};if(i.type==="tag"||i.type==="script"){(s=e["*"])==null||s.call(e,i,o),(n=e[i.tagName])==null||n.call(e,i,o);for(let h in i.attribs){let d=e[`$attr$${h}`];if(d){d(i,o);break}}t+=i.tagName?`<${i.tagName}${d5(i.attribs)}>${Iw(i.children,e)}</${i.tagName}>`:"",a.forEach(h=>h())}if(i.type==="text"&&(t+=i.data),i.type==="comment"){let h=e.comment;h&&h(i,o),t+=`<!--${i.data}-->`}return t;function u(h,d){i.attribs[h]=d}function l(h,d){i.attribs[d]=i.attribs[h],delete i.attribs[h]}function c(h){t+=h}function f(h){a.push(()=>t+=h)}},"")}function d5(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i===""?e+=` ${t}`:i&&(e+=` ${t}="${i}"`),e},"")}function dB(r){return r.replace(/&|<|>|'|"/g,e=>({"&":"&","<":"<",">":">","'":"'",""":'"'})[e]||e)}var m5=/(<.* style=['"]([ \w$\-\_:;\n]*)['"][\/ "'$\-_\w]*>)/gm;function mB(r,e){let t=0;return r.replace(m5,(i,s,n)=>i.replace(n,e(n,s,t++)))}function gB(){location.protocol!=="https:"&&location.replace(`https://${location.href.split("//")[1]}`)}function g5(r){return/^\/|^\\|^[a-zA-Z]:[/\\]/.test(r)}function y5(r){return Ai.call(r)==="[object Blob]"}function yB(r=0){try{return document.documentElement.clientHeight+window.scrollY+r>=(document.documentElement.scrollHeight||document.documentElement.clientHeight)}catch(e){throw new Error(e)}}var bB=()=>gc(window);function vB(r){return/[\u4E00-\u9FA5]/.test(r)}function b5(r){return typeof r=="object"&&r instanceof HTMLElement}function r0(r,e){if(r===e)return!0;if(vt(r)&&vt(e)){let t=Object.keys(r),i=Object.keys(e);if(t.length!==i.length)return!1;for(let s of t)if(!r0(r[s],e[s]))return!1;return!0}else if(We(r)&&We(e)){if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(!r0(r[t],e[t]))return!1;return!0}return!1}function xB(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}function ds(r){return g5(r)?r:Ow.default.resolve(kw.default.cwd(),r)}function wB(r){try{return Nw.default.accessSync(ds(r)),!0}catch(e){return!1}}function SB(r){return r===!1}function EB(r,e){return new RegExp(`\\.${e}(\\?[^.]+)?$`).test(r)}function te(r,e=[],t="inherit",i){return ko(e)?(i=e,e=[],t="inherit"):re(e)&&(t=e,e=[]),We(r)?r.map(n=>s(n)):s(r);function s(n){var a;let{status:o,output:u}=Lw.default.spawnSync(n,e,{shell:!0,encoding:"utf8",stdio:t==="inherit"?"inherit":["inherit","pipe","inherit"]});o===130&&(console.log("\u5DF2\u53D6\u6D88..."),process.exit(1));let l=(a=u[1])==null?void 0:a.trim();return o!==0&&(console.log(l),i&&process.exit(1)),{status:o,result:l}}}function Dw(){let r=process.cwd(),e=Mw.default.resolve(r,"go.mod"),{result:t}=te(`(test -f "main.go" || test -f "${e}") && echo "0"|| echo "1"`,"pipe");return t==="0"}function TB(r){return/^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$/.test(r)}function _B(r){return/^([\da-fA-F]{1,4}:){6}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^::([\da-fA-F]{1,4}:){0,4}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:):([\da-fA-F]{1,4}:){0,3}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){2}:([\da-fA-F]{1,4}:){0,2}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){3}:([\da-fA-F]{1,4}:){0,1}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){4}:((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){7}[\da-fA-F]{1,4}$|^:((:[\da-fA-F]{1,4}){1,6}|:)$|^[\da-fA-F]{1,4}:((:[\da-fA-F]{1,4}){1,5}|:)$|^([\da-fA-F]{1,4}:){2}((:[\da-fA-F]{1,4}){1,4}|:)$|^([\da-fA-F]{1,4}:){3}((:[\da-fA-F]{1,4}){1,3}|:)$|^([\da-fA-F]{1,4}:){4}((:[\da-fA-F]{1,4}){1,2}|:)$|^([\da-fA-F]{1,4}:){5}:([\da-fA-F]{1,4})?$|^([\da-fA-F]{1,4}:){6}:$/.test(r)}function AB(r){return/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(r)}function CB(r){return r%400===0||r%4===0&&r%100!==0}function PB(r){return/^((13[0-9])|(14[5-9])|(15([0-3]|[5-9]))|(16[6-7])|(17[1-8])|(18[0-9])|(19[1|3])|(19[5|6])|(19[8|9]))\d{8}$/.test(r)}function IB(r){return r==null}function dc(r){return typeof r=="object"}function NB(r=process.cwd()){let e=Rw.default.resolve(r.replace(/package.json$/,""),"package.json"),{result:t}=te(`test -f "${e}" && echo "0"|| echo "1"`,"pipe");return t==="0"}function kB(r){return/^[1-9][0-9]{5}$/.test(r.toString())}function OB(r){return/^(\.\.\/|\.\/)/.test(r)}function Fw(){let r=process.cwd(),e=Bw.default.resolve(r,"Cargo.toml"),{result:t}=te(`test -f "${e}" && echo "0"|| echo "1"`,"pipe");return t==="0"}function MB(r,e){return r.getFullYear()===e.getFullYear()&&r.getMonth()===e.getMonth()&&r.getDate()===e.getDate()}function LB(){return!!(navigator&&(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia))}function DB(){try{return document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")===0}catch(r){return!1}}function RB(r){return r===!0}function BB(r){return/^http[s]?:\/\/.*/.test(r)}function FB(){return process.platform==="win32"}function v5(r){return r.startsWith("ws://")||r.startsWith("wss://")}function UB(r){return/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*/i.test(r)}var qB=r=>/^[GCDZTSPKXLY1-9]\d{1,4}$/.test(r),$B=r=>/^(?:[\u4E00-\u9FA5·]{2,16})$/.test(r),jB=r=>/(^[a-zA-Z][a-zA-Z\s]{0,20}[a-zA-Z]$)/.test(r),VB=r=>/^[\u4E00-\u9FA5](字第)([0-9a-zA-Z]{4,8})(号?)$/.test(r),x5=/^[0-9]+$/;function zB(r){return r.split(".").every(e=>x5.test(e))}function HB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="DIV"}function GB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="IFRAME"}function WB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="IMG"}function YB(r){return r instanceof Node||ms(r==null?void 0:r.nodeType)}function KB(r){return toString.call(r)==="[object ProxyDocument]"}function JB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="SCRIPT"}function QB(r){return typeof ShadowRoot<"u"&&r instanceof ShadowRoot}function XB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="STYLE"}function Uw(r){return r.endsWith(".vue")}function ZB(r){try{return i0.default.accessSync(r,i0.default.constants.W_OK),!0}catch(e){return!1}}function eF(r){return/<! -{2,}.*?-{2,}>/.test(r)}function tF(r){return Cw(r,()=>{console.groupCollapsed("childList or sub tree or attributes changed"),console.trace(),console.groupEnd()},{childList:!0,subtree:!0,attributes:!0})}function rF(r){try{let e=lt("textarea",{readonly:"readonly"},r);document.body.appendChild(e),e.select();let t=document.execCommand("copy");return document.body.removeChild(e),t}catch(e){throw new Error(e)}}function iF(r){let e=(...t)=>t.length>=r.length?r(...t):(...i)=>e(...t,...i);return e}function sF(r){return new Promise(e=>setTimeout(e,r))}function w5(r,e){return Promise.all(r.map(e))}async function S5(r,e){let t;try{t=await(Nr(r)?r():r)}finally{e()}return t}var nF=function(r,e,t){let i,s=S5(r,()=>clearTimeout(i)),n=new Promise((a,o)=>{i=setTimeout(()=>o(new Error(t)),e)});return Promise.race([s,n])};function E5(){}function aF(...r){return r.length===0?E5:r.length===1?r[0]:function(...e){let t;for(let i of r)t=i.apply(this,e)||t;return t}}function oF(r){if(typeof Promise!==void 0)Promise.resolve().then(r);else if(typeof MutationObserver!==void 0){let e=f5("0");Cw(e,r,{characterData:!0}),e.data="1"}else setTimeout(r)}function uF(r){let e;return new Proxy(r,{construct(t,i){return e||(e=new t(...i)),e}})}function qw(r){let e=new Blob([`(${r.toString()})()`],{type:"text/javascript"});return URL.createObjectURL(e)}function lF(r){let e=new Worker(re(r)?r:qw(r)),t,i,s=a=>t=a,n=a=>i=a;return e.onerror=a=>i==null?void 0:i(a),e.onmessage=a=>t==null?void 0:t(a.data),{emit:a=>e.postMessage(a),on:s,error:n}}function cF(r,e){return"serviceWorker"in navigator?navigator.serviceWorker.register(re(r)?r:qw(r),e):Promise.reject(new Error("ServiceWorker not support"))}var fF=()=>!1;function hF(r,e){let t=null;return function(i){Mo(t)||clearTimeout(t),t=setTimeout(()=>{let s=r.call(this,i);return t=null,s},e)}}async function pF(r,e=1024*100){let{HASH:t,suffix:i}=await u(),s=[],n=e,a=Math.ceil(r.size/n),o=0;for(a>100&&(a=100,n=r.size/a);o<a;)s.push({file:r.slice(o*n,(o+1)*n),filename:`${t}_${o+1}.${i}`}),o++;return s;function u(){let l=new FileReader;return l.readAsArrayBuffer(r),new Promise((c,f)=>{try{l.onload=function(h){let d=h==null?void 0:h.target.result,w=new $w.default.ArrayBuffer;w.append(d);let v=w.end(),x=/\.([a-zA-Z0-9]+)$/.exec(r.name)[1],m=`${v}.${x}`;c({HASH:v,suffix:x,filename:m,buffer:d})}}catch(h){f(new Error(h))}})}}function dF(r=50){return{set(e,t){this.cache.has(e)&&this.cache.delete(e),this.cache.set(e,t),this.cache.size>this.max&&this.cache.delete(this.cache.keys().next().value)},get(e){if(this.cache.has(e)){let t=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,t),t}},cache:new Map,max:r,size(){return this.cache.size}}}var T5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K";function mF(r,e=T5){return Ye(r,t=>{Bt(["img","video"],!0,t).forEach(i=>{let s=i.dataset.src,n=s||i.src;s||(i.src=e);let a=n5(i,o=>{o.forEach(u=>{u.isIntersecting&&(a(),u.target.src=n)})})})})}function gF(r,e){let t=0;return function(i){let s=Date.now();if(s-t>=e){let n=r.call(this,i);return t=s,n}}}function d0(r,e=0,t=!1){let i,s=!0,n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||(l=>setTimeout(l,1e3/60)),a=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout,o=n(function l(c=Date.now()){!s||(At(i)?i=c:c-i>e&&(r==null||r(c),i=c,t&&u()),n(l))});function u(){s=!1,a(o)}return u}function yF(r){let e=!1;return function(...t){if(!e)return e=!0,r.apply(this,t)}}var _5=/<script .*src=["']([\w?=.\/@]+)["']><\/script>/gm,lc;function bF(r=2e3,e){return d0(async()=>{await C5()&&(console.log("\u9875\u9762\u6709\u66F4\u65B0"),e==null||e())},r)}async function A5(){let r=await fetch(`/?_timestamp=${Date.now()}`).then(i=>i.text()),e=[],t;for(;(t=_5.exec(r))&&!e.includes(t[1]);)e.push(t[1]);return e}async function C5(){let r=await A5();return lc?r0(lc,r)?!1:(lc=r,!0):(lc=r,!1)}async function P5(r){if(hr(r)||y5(r))return await I5(r);if(re(r))return await N5(r);throw new Error("type must be file or blob or url")}function I5(r){return new Promise((e,t)=>{let i=new FileReader;i.readAsDataURL(r);try{i.onload=function(s){var n;e((n=s==null?void 0:s.target)==null?void 0:n.result)}}catch(s){t(new Error(s))}})}function N5(r){return new Promise((e,t)=>{try{let i=document.createElement("canvas"),s=i.getContext("2d"),n=lt("img",{src:`${r}?timeStamp=${new Date().getTime()}`,crossOrigin:"anonymous"});n.onload=function(){s==null||s.drawImage(n,0,0,i.width=n.width,i.height=n.height),e(i.toDataURL("image/png"))}}catch(i){t(new Error(i))}})}async function vF(r){return await P5(new Blob([r],{type:"image/*"}))}async function xF(r,e){let t="",i=/data: ({.*})/gm;for(;;){let{done:s,value:n}=await r.read();if(s){console.log("The stream is done.");break}let a="";String.fromCharCode.apply(null,n).replace(i,(o,u)=>a=u),a=JSON.parse(a),t+=(e==null?void 0:e(a))||""}return t}var jw=class extends Error{constructor(r){super(r),this.name="CustomerError"}};function wF(r,e){throw new jw(`[${r}] ${e}`)}function SF(r,e){if(process.env.NODE_ENV!=="production"){let t=re(r)?new jw(`[${r}] ${e}`):r;console.warn(t)}}function k5(r,e={},t="log"){console[t]("%c%s",re(e)?e:pc(e,{sep:";",eq:":",hyp:!0,px:!0,encode:!1}),r)}function EF(){return xe(window,"error",r=>{let{colno:e,lineno:t,error:i,filename:s,message:n}=r;if(n.toLowerCase().includes("script error"))return;let a=[`Message: ${n}
|
|
119
|
+
}`)}function F7(r){return jO(r.replace(/\/\*(.|\n)*?\*\//g,"").replace(/\s*([\{\}\:\;\,])\s*/g,"$1").replace(/;\s*;/g,";"))}function hr(r){if(re(r))try{return Aw.default.statSync(r).isFile()}catch(e){return!1}return Ai.call(r)==="[object File]"}function U7(r,e={}){return new Promise(t=>{let{quality:i=.1,maxWidth:s,maxHeight:n,type:a="base64"}=e;XO(r,t,i,a,s,n)})}function XO(r,e,t,i,s,n){if(hr(r)){let c=new FileReader;c.readAsDataURL(r),c.onload=function(f){var h;a((h=f.target)==null?void 0:h.result)}}else a(r);function a(c){let f=new Image;f.src=c,s&&(f.width=s),n&&(f.height=n),f.onload=function(){o(f)}}function o(c){let{canvas:f,ctx:h}=new Sw;f.width=c.width,f.height=c.height,h.drawImage(c,0,0,f.width,f.height),i==="blob"?u(f):l(f)}function u(c){c.toBlob(f=>e(f),"image/jpeg",t)}function l(c){e(c.toDataURL("image/jpeg",t))}}var ZO=/(<.* class=["']([\w\-\_$ ]*)["'_\-\w$=:\/ ]*\>)/gm;function q7(r,e){let t=0;return r.replace(ZO,(i,s,n)=>i.replace(n,e(n,s,t++)))}function $7(r,e,t){return Ye(r,i=>t==null?void 0:t(getComputedStyle(i).getPropertyValue(e)))}function j7(r,e){return r.classList.contains(e)}function V7(r,e){return Ye(r,t=>e&&Object.keys(e).forEach(i=>t.style.setProperty(i,e[i])))}var ps=(r,e,t,i,s)=>{let n=`${r}-${e}`;return t&&(n+=`-${t}`),i&&(n+=`__${i}`),s&&(n+=`--${s}`),n},z7=r=>e=>{let t=r;return{namespace:t,b:(i="")=>ps(t,e,i,"",""),e:i=>i?ps(t,e,"",i,""):"",m:i=>i?ps(t,e,"","",i):"",be:(i,s)=>i&&s?ps(t,e,i,s,""):"",em:(i,s)=>i&&s?ps(t,e,"",i,s):"",bm:(i,s)=>i&&s?ps(t,e,i,"",s):"",bem:(i,s,n)=>i&&s&&n?ps(t,e,i,s,n):"",is:(i,...s)=>{let n=s.length>=1?s[0]:!0;return i&&n?`is-${i}`:""},cssVar:i=>{let s={};for(let n in i)i[n]&&(s[`--${t}-${n}`]=i[n]);return s},cssVarName:i=>`--${t}-${i}`,cssVarBlock:i=>{let s={};for(let n in i)i[n]&&(s[`--${t}-${e}-${n}`]=i[n]);return s},cssVarBlockName:i=>`--${t}-${e}-${i}`}};function pc(r,e={}){let{sep:t="&",eq:i="=",hyp:s=!1,px:n=!1,encode:a=!0}=e;return Object.keys(r).map(o=>`${s?_w(o):o}${i}${e5(a,n,r,o)}`).join(t)}function e5(r,e,t,i){let s=e&&ms(t[i])?`${t[i]}px`:t[i].toString();return r?encodeURI(s):s}function H7(r,e){let t=pc(e,{sep:";",eq:":",hyp:!0});return Ye(r,i=>{i.style.cssText=i.style.cssText+t})}function G7(r,e){let t=We(e)?e:[e];return Ye(r,i=>{let s=i.style.cssText;i.style.cssText=t.reduce((n,a)=>n.replace(t5(a),""),s).trim()})}function t5(r){return new RegExp(`${r}: [\\w()!\\-,.\\s0-9]+;`)}function W7(r,e){return Reflect.has(r,e)}var Y7=Object.assign;function r5(r){let e=window.onbeforeunload||function(){};return window.onbeforeunload=function(t){r==null||r(t),e.call(this,t)},r}function K7(r,e){Ye(()=>{document.styleSheets[0].insertRule(r,e)})}function J7(r,e){return Ye(r,t=>t.classList.add(e))}function Q7(r,e){return Ye(r,t=>t.classList.remove(e))}function i5(r,e="yyyy-MM-dd"){let t={"M+":r.getMonth()+1,"d+":r.getDate(),"h+":r.getHours()%12===0?12:r.getHours()%12,"H+":r.getHours(),"m+":r.getMinutes(),"s+":r.getSeconds(),"q+":Math.floor((r.getMonth()+3)/3),S:r.getMilliseconds()},i={0:"/u65e5",1:"/u4e00",2:"/u4e8c",3:"/u4e09",4:"/u56db",5:"/u4e94",6:"/u516d"};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,`${r.getFullYear()}`.substr(4-RegExp.$1.length))),/(E+)/.test(e)&&(e=e.replace(RegExp.$1,(RegExp.$1.length>1?RegExp.$1.length>2?"/u661f/u671f":"/u5468":"")+i[r.getDay()]));for(let s in t)new RegExp(`(${s})`).test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length===1?t[s]:`00${t[s]}`.substr(`${t[s]}`.length)));return e}function X7(r,e=0){let t=r.includes("-")?"-":"/",[i,s,n]=r.split(t),a=new Date(+i,+s-1,+n).getTime(),o=[],u=!0;e<0&&(u=!1),e=Math.abs(e);for(let l=0;l<=e;l++){let c=u?a+l*24*60*60*1e3:a-l*24*60*60*1e3;o.push(i5(new Date(c)))}return o}function s5(){return document.createDocumentFragment()}function uw(r,e){let t,i=!1;return Ye(r,s=>{t=xe(s,"click",e),i&&(t==null||t())}),()=>{if(!t)return i=!0;t==null||t()}}function Z7(r,e){return Ye(r,t=>e==null?void 0:e((r=t).getBoundingClientRect())),xe(window,"scroll",()=>e==null?void 0:e(r.getBoundingClientRect()))}function eB(r){Ye(r,e=>{var t;return(t=Bt("input",e.parentElement))==null?void 0:t.focus()})}function tB(r,e){let t=!1,i=[];return Ye(r,s=>{i.push(xe(s,"mouseenter",n=>e(!0,n))),i.push(xe(s,"mouseleave",n=>e(!1,n))),t&&i.forEach(n=>n())}),()=>{if(!i.length)return t=!0;i.forEach(s=>s())}}function n5(r,e,t){let i=!1,s;return p0(()=>s==null?void 0:s()),Ye(r,n=>{(t==null?void 0:t.root)&&re(t.root)&&(t.root=Bt(t.root));let a=new IntersectionObserver(e,t);a.observe(n),s=()=>a.disconnect(),i&&s()}),()=>{if(!s)return i=!0;s==null||s()}}function rB(r,e){if(!Nr(r))return;let t=setInterval(r,e);return()=>clearInterval(t)}function iB(r,e=0){let t=Date.now();return xe(window,"mousemove",i=>{Date.now()-t>=e&&(t=Date.now(),r(i))})}function Cw(r,e,t={childList:!0}){if(!r)return;let i=!1,s;return Ye(r,n=>{let a=new MutationObserver(e);a.observe(n,t),s=()=>a.disconnect(),i&&s()}),p0(()=>s==null?void 0:s()),()=>{if(!s)return i=!0;s==null||s()}}function sB(r){return xe(window,"resize",()=>r==null?void 0:r(document.documentElement.clientWidth||document.body.clientWidth,document.documentElement.clientHeight||document.body.clientHeight))}function nB(r){return xe(document,"scroll",()=>r==null?void 0:r(document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop))}function a5(r,e=0){if(!Nr(r))return;let t=setTimeout(r,e);return()=>clearTimeout(t)}function aB(r,e){let t=re(r)?Bt(r):r,i=re(e)?Bt(e):e;if(!t||!i)return!1;let s=t.offsetLeft,n=t.offsetLeft+t.offsetWidth,a=i.offsetLeft,o=i.offsetLeft+i.offsetWidth,u=t.offsetTop,l=t.offsetTop+t.offsetHeight,c=i.offsetTop,f=i.offsetTop+i.offsetHeight;return!(s>o||n<a||u>f||l<c)}function Pw(r,e=""){try{lt("a",{href:r,download:e}).click()}catch(t){throw new Error(t)}}function oB(r){let{title:e,meta:t,script:i,link:s}=r,n=s5();return e&&(document.title=re(e)?e:e()),t&&t.length&&u5(n,t),i&&i.length&&l5(n,i),s&&s.length&&o5(n,s),Lo(document.head,n),Do(n)}function o5(r,e){r.append(...e.map(({rel:t,href:i})=>lt("link",{rel:t,href:i})))}function u5(r,e){r.append(...e.map(({name:t,content:i})=>lt("meta",{name:t,content:i})))}function l5(r,e){r.append(...e.map(({src:t,type:i})=>lt("script",Object.assign({src:t},c5(i)?{type:i}:{[i]:""}))))}function c5(r){return r==="module"||r==="nomodule"}function uB(r,e,t){let i=[],s=!1;return Ye(r,n=>{let a,o,u=document.createEvent("Event");u.initEvent("longpress",!0,!0),i.push(xe(n,"mousedown",()=>{o=Date.now(),a=a5(()=>n.dispatchEvent(u),e)},!1)),i.push(xe(n,"mouseup",()=>{Date.now()-o<e?a==null||a():t==null||t()},!1)),s&&i.forEach(l=>l())}),()=>{i.length?i.forEach(n=>n()):s=!0}}function lB(r,e){let t=!1,i=[],s=!1;return Ye(r,n=>{i.push(uw(n,a=>{t=!0,a.preventDefault(),a.stopPropagation()})),i.push(uw(document,()=>{!t||(t=!1,e==null||e())})),s&&i.forEach(a=>a())}),()=>{if(!i.length)return s=!0;i.forEach(n=>n())}}function f5(r){return document.createTextNode(r)}var h5=["3g2","3gp","aaf","asf","avchd","avi","drc","flv","m2v","m3u8","m4p","m4v","mkv","mng","mov","mp2","mp4","mpe","mpeg","mpg","mpv","mxf","nsv","ogg","ogv","qt","rm","rmvb","roq","svi","vob","webm","wmv","yuv"];function p5(r){let e=r.lastIndexOf(".")+1;return h5.includes(r.slice(e,r.length).toLowerCase())}function lw(r,e){let t,i;return We(r)||(r=[r]),r.map(a=>p5(a)?n(a):s(a));function s(a){t||(t=new Image);let o=t.cloneNode();return o.src=a,e&&o.setAttribute("style",e),o}function n(a){i||(i=lt("video"));let o=i.cloneNode();return o.src=a,e&&o.setAttribute("style",e),o}}function cB(r,e,t=200,i=20){ms(e)&&(t=e,e="body"),e||(e="body");let s=lw(r,`width:${t}px;position:absolute;`),n=lt("div",{id:"simon-waterfall",style:"position:relative;width:100%;height:100%;"});xe(window,"resize",()=>a(e));async function a(u){let l=t+i,c=Math.floor(u.offsetWidth/l),f=new Array(c).fill(0);function h(w){return w.map(v=>{let x=f.indexOf(Math.min(...f)),m=v.height*t/v.width;return v.style.left=`${x*l}px`,v.style.top=`${f[x]}px`,f[x]+=m+i,v})}function d(){return new Promise(w=>{let v=[],x=s.length;s.forEach((m,S)=>{m.complete?(x--,v[S]=m,x===0&&w(h(v))):m.onload=()=>{x--,v[S]=m,x===0&&w(h(v))}})})}(await d()).forEach(w=>n.appendChild(w)),o(u),u.appendChild(n)}return Ye(e,u=>a(e=u)),u=>{let l=lw(u,`width:${t}px;position:absolute;`);s.push(...l),a(e)};function o(u){for(let l=0;l<u.children.length;l++)if(u.children[l].id==="simon-waterfall")return u.removeChild(u.children[l])}}function fB(r){return r.replace(/[&<>'"]/g,e=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[e]||e)}function pB(r="",e={}){return new Promise((t,i)=>{let s=new ua((a,o)=>{a?i(new Error(a)):t(Iw(o,e))}),n=new ea(s,{recognizeSelfClosing:!0,xmlMode:!0});n.write(r),n.end()})}function Iw(r,e){return r.reduce((t,i)=>{var s,n;let a=[],o={setAttribs:u,beforeInsert:c,afterInsert:f,renameAttribs:l};if(i.type==="tag"||i.type==="script"){(s=e["*"])==null||s.call(e,i,o),(n=e[i.tagName])==null||n.call(e,i,o);for(let h in i.attribs){let d=e[`$attr$${h}`];if(d){d(i,o);break}}t+=i.tagName?`<${i.tagName}${d5(i.attribs)}>${Iw(i.children,e)}</${i.tagName}>`:"",a.forEach(h=>h())}if(i.type==="text"&&(t+=i.data),i.type==="comment"){let h=e.comment;h&&h(i,o),t+=`<!--${i.data}-->`}return t;function u(h,d){i.attribs[h]=d}function l(h,d){i.attribs[d]=i.attribs[h],delete i.attribs[h]}function c(h){t+=h}function f(h){a.push(()=>t+=h)}},"")}function d5(r){return Object.keys(r).reduce((e,t)=>{let i=r[t];return i===""?e+=` ${t}`:i&&(e+=` ${t}="${i}"`),e},"")}function dB(r){return r.replace(/&|<|>|'|"/g,e=>({"&":"&","<":"<",">":">","'":"'",""":'"'})[e]||e)}var m5=/(<.* style=['"]([ \w$\-\_:;\n]*)['"][\/ "'$\-_\w]*>)/gm;function mB(r,e){let t=0;return r.replace(m5,(i,s,n)=>i.replace(n,e(n,s,t++)))}function gB(){location.protocol!=="https:"&&location.replace(`https://${location.href.split("//")[1]}`)}function g5(r){return/^\/|^\\|^[a-zA-Z]:[/\\]/.test(r)}function y5(r){return Ai.call(r)==="[object Blob]"}function yB(r=0){try{return document.documentElement.clientHeight+window.scrollY+r>=(document.documentElement.scrollHeight||document.documentElement.clientHeight)}catch(e){throw new Error(e)}}var bB=()=>gc(window);function vB(r){return/[\u4E00-\u9FA5]/.test(r)}function b5(r){return typeof r=="object"&&r instanceof HTMLElement}function r0(r,e){if(r===e)return!0;if(vt(r)&&vt(e)){let t=Object.keys(r),i=Object.keys(e);if(t.length!==i.length)return!1;for(let s of t)if(!r0(r[s],e[s]))return!1;return!0}else if(We(r)&&We(e)){if(r.length!==e.length)return!1;for(let t=0;t<r.length;t++)if(!r0(r[t],e[t]))return!1;return!0}return!1}function xB(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}function ds(r){return g5(r)?r:Ow.default.resolve(kw.default.cwd(),r)}function wB(r){try{return Nw.default.accessSync(ds(r)),!0}catch(e){return!1}}function SB(r){return r===!1}function EB(r,e){return new RegExp(`\\.${e}(\\?[^.]+)?$`).test(r)}function X(r,e=[],t="inherit",i){return ko(e)?(i=e,e=[],t="inherit"):re(e)&&(t=e,e=[]),We(r)?r.map(n=>s(n)):s(r);function s(n){var a;let{status:o,output:u}=Lw.default.spawnSync(n,e,{shell:!0,encoding:"utf8",stdio:t==="inherit"?"inherit":["inherit","pipe","inherit"]});o===130&&(console.log("\u5DF2\u53D6\u6D88..."),process.exit(1));let l=(a=u[1])==null?void 0:a.trim();return o!==0&&(console.log(l),i&&process.exit(1)),{status:o,result:l}}}function Dw(){let r=process.cwd(),e=Mw.default.resolve(r,"go.mod"),{result:t}=X(`(test -f "main.go" || test -f "${e}") && echo "0"|| echo "1"`,"pipe");return t==="0"}function TB(r){return/^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$/.test(r)}function _B(r){return/^([\da-fA-F]{1,4}:){6}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^::([\da-fA-F]{1,4}:){0,4}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:):([\da-fA-F]{1,4}:){0,3}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){2}:([\da-fA-F]{1,4}:){0,2}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){3}:([\da-fA-F]{1,4}:){0,1}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){4}:((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){7}[\da-fA-F]{1,4}$|^:((:[\da-fA-F]{1,4}){1,6}|:)$|^[\da-fA-F]{1,4}:((:[\da-fA-F]{1,4}){1,5}|:)$|^([\da-fA-F]{1,4}:){2}((:[\da-fA-F]{1,4}){1,4}|:)$|^([\da-fA-F]{1,4}:){3}((:[\da-fA-F]{1,4}){1,3}|:)$|^([\da-fA-F]{1,4}:){4}((:[\da-fA-F]{1,4}){1,2}|:)$|^([\da-fA-F]{1,4}:){5}:([\da-fA-F]{1,4})?$|^([\da-fA-F]{1,4}:){6}:$/.test(r)}function AB(r){return/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(r)}function CB(r){return r%400===0||r%4===0&&r%100!==0}function PB(r){return/^((13[0-9])|(14[5-9])|(15([0-3]|[5-9]))|(16[6-7])|(17[1-8])|(18[0-9])|(19[1|3])|(19[5|6])|(19[8|9]))\d{8}$/.test(r)}function IB(r){return r==null}function dc(r){return typeof r=="object"}function NB(r=process.cwd()){let e=Rw.default.resolve(r.replace(/package.json$/,""),"package.json"),{result:t}=X(`test -f "${e}" && echo "0"|| echo "1"`,"pipe");return t==="0"}function kB(r){return/^[1-9][0-9]{5}$/.test(r.toString())}function OB(r){return/^(\.\.\/|\.\/)/.test(r)}function Fw(){let r=process.cwd(),e=Bw.default.resolve(r,"Cargo.toml"),{result:t}=X(`test -f "${e}" && echo "0"|| echo "1"`,"pipe");return t==="0"}function MB(r,e){return r.getFullYear()===e.getFullYear()&&r.getMonth()===e.getMonth()&&r.getDate()===e.getDate()}function LB(){return!!(navigator&&(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia))}function DB(){try{return document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")===0}catch(r){return!1}}function RB(r){return r===!0}function BB(r){return/^http[s]?:\/\/.*/.test(r)}function FB(){return process.platform==="win32"}function v5(r){return r.startsWith("ws://")||r.startsWith("wss://")}function UB(r){return/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*/i.test(r)}var qB=r=>/^[GCDZTSPKXLY1-9]\d{1,4}$/.test(r),$B=r=>/^(?:[\u4E00-\u9FA5·]{2,16})$/.test(r),jB=r=>/(^[a-zA-Z][a-zA-Z\s]{0,20}[a-zA-Z]$)/.test(r),VB=r=>/^[\u4E00-\u9FA5](字第)([0-9a-zA-Z]{4,8})(号?)$/.test(r),x5=/^[0-9]+$/;function zB(r){return r.split(".").every(e=>x5.test(e))}function HB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="DIV"}function GB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="IFRAME"}function WB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="IMG"}function YB(r){return r instanceof Node||ms(r==null?void 0:r.nodeType)}function KB(r){return toString.call(r)==="[object ProxyDocument]"}function JB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="SCRIPT"}function QB(r){return typeof ShadowRoot<"u"&&r instanceof ShadowRoot}function XB(r){var e;return((e=r==null?void 0:r.tagName)==null?void 0:e.toUpperCase())==="STYLE"}function Uw(r){return r.endsWith(".vue")}function ZB(r){try{return i0.default.accessSync(r,i0.default.constants.W_OK),!0}catch(e){return!1}}function eF(r){return/<! -{2,}.*?-{2,}>/.test(r)}function tF(r){return Cw(r,()=>{console.groupCollapsed("childList or sub tree or attributes changed"),console.trace(),console.groupEnd()},{childList:!0,subtree:!0,attributes:!0})}function rF(r){try{let e=lt("textarea",{readonly:"readonly"},r);document.body.appendChild(e),e.select();let t=document.execCommand("copy");return document.body.removeChild(e),t}catch(e){throw new Error(e)}}function iF(r){let e=(...t)=>t.length>=r.length?r(...t):(...i)=>e(...t,...i);return e}function sF(r){return new Promise(e=>setTimeout(e,r))}function w5(r,e){return Promise.all(r.map(e))}async function S5(r,e){let t;try{t=await(Nr(r)?r():r)}finally{e()}return t}var nF=function(r,e,t){let i,s=S5(r,()=>clearTimeout(i)),n=new Promise((a,o)=>{i=setTimeout(()=>o(new Error(t)),e)});return Promise.race([s,n])};function E5(){}function aF(...r){return r.length===0?E5:r.length===1?r[0]:function(...e){let t;for(let i of r)t=i.apply(this,e)||t;return t}}function oF(r){if(typeof Promise!==void 0)Promise.resolve().then(r);else if(typeof MutationObserver!==void 0){let e=f5("0");Cw(e,r,{characterData:!0}),e.data="1"}else setTimeout(r)}function uF(r){let e;return new Proxy(r,{construct(t,i){return e||(e=new t(...i)),e}})}function qw(r){let e=new Blob([`(${r.toString()})()`],{type:"text/javascript"});return URL.createObjectURL(e)}function lF(r){let e=new Worker(re(r)?r:qw(r)),t,i,s=a=>t=a,n=a=>i=a;return e.onerror=a=>i==null?void 0:i(a),e.onmessage=a=>t==null?void 0:t(a.data),{emit:a=>e.postMessage(a),on:s,error:n}}function cF(r,e){return"serviceWorker"in navigator?navigator.serviceWorker.register(re(r)?r:qw(r),e):Promise.reject(new Error("ServiceWorker not support"))}var fF=()=>!1;function hF(r,e){let t=null;return function(i){Mo(t)||clearTimeout(t),t=setTimeout(()=>{let s=r.call(this,i);return t=null,s},e)}}async function pF(r,e=1024*100){let{HASH:t,suffix:i}=await u(),s=[],n=e,a=Math.ceil(r.size/n),o=0;for(a>100&&(a=100,n=r.size/a);o<a;)s.push({file:r.slice(o*n,(o+1)*n),filename:`${t}_${o+1}.${i}`}),o++;return s;function u(){let l=new FileReader;return l.readAsArrayBuffer(r),new Promise((c,f)=>{try{l.onload=function(h){let d=h==null?void 0:h.target.result,w=new $w.default.ArrayBuffer;w.append(d);let v=w.end(),x=/\.([a-zA-Z0-9]+)$/.exec(r.name)[1],m=`${v}.${x}`;c({HASH:v,suffix:x,filename:m,buffer:d})}}catch(h){f(new Error(h))}})}}function dF(r=50){return{set(e,t){this.cache.has(e)&&this.cache.delete(e),this.cache.set(e,t),this.cache.size>this.max&&this.cache.delete(this.cache.keys().next().value)},get(e){if(this.cache.has(e)){let t=this.cache.get(e);return this.cache.delete(e),this.cache.set(e,t),t}},cache:new Map,max:r,size(){return this.cache.size}}}var T5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K";function mF(r,e=T5){return Ye(r,t=>{Bt(["img","video"],!0,t).forEach(i=>{let s=i.dataset.src,n=s||i.src;s||(i.src=e);let a=n5(i,o=>{o.forEach(u=>{u.isIntersecting&&(a(),u.target.src=n)})})})})}function gF(r,e){let t=0;return function(i){let s=Date.now();if(s-t>=e){let n=r.call(this,i);return t=s,n}}}function d0(r,e=0,t=!1){let i,s=!0,n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||(l=>setTimeout(l,1e3/60)),a=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout,o=n(function l(c=Date.now()){!s||(At(i)?i=c:c-i>e&&(r==null||r(c),i=c,t&&u()),n(l))});function u(){s=!1,a(o)}return u}function yF(r){let e=!1;return function(...t){if(!e)return e=!0,r.apply(this,t)}}var _5=/<script .*src=["']([\w?=.\/@]+)["']><\/script>/gm,lc;function bF(r=2e3,e){return d0(async()=>{await C5()&&(console.log("\u9875\u9762\u6709\u66F4\u65B0"),e==null||e())},r)}async function A5(){let r=await fetch(`/?_timestamp=${Date.now()}`).then(i=>i.text()),e=[],t;for(;(t=_5.exec(r))&&!e.includes(t[1]);)e.push(t[1]);return e}async function C5(){let r=await A5();return lc?r0(lc,r)?!1:(lc=r,!0):(lc=r,!1)}async function P5(r){if(hr(r)||y5(r))return await I5(r);if(re(r))return await N5(r);throw new Error("type must be file or blob or url")}function I5(r){return new Promise((e,t)=>{let i=new FileReader;i.readAsDataURL(r);try{i.onload=function(s){var n;e((n=s==null?void 0:s.target)==null?void 0:n.result)}}catch(s){t(new Error(s))}})}function N5(r){return new Promise((e,t)=>{try{let i=document.createElement("canvas"),s=i.getContext("2d"),n=lt("img",{src:`${r}?timeStamp=${new Date().getTime()}`,crossOrigin:"anonymous"});n.onload=function(){s==null||s.drawImage(n,0,0,i.width=n.width,i.height=n.height),e(i.toDataURL("image/png"))}}catch(i){t(new Error(i))}})}async function vF(r){return await P5(new Blob([r],{type:"image/*"}))}async function xF(r,e){let t="",i=/data: ({.*})/gm;for(;;){let{done:s,value:n}=await r.read();if(s){console.log("The stream is done.");break}let a="";String.fromCharCode.apply(null,n).replace(i,(o,u)=>a=u),a=JSON.parse(a),t+=(e==null?void 0:e(a))||""}return t}var jw=class extends Error{constructor(r){super(r),this.name="CustomerError"}};function wF(r,e){throw new jw(`[${r}] ${e}`)}function SF(r,e){if(process.env.NODE_ENV!=="production"){let t=re(r)?new jw(`[${r}] ${e}`):r;console.warn(t)}}function k5(r,e={},t="log"){console[t]("%c%s",re(e)?e:pc(e,{sep:";",eq:":",hyp:!0,px:!0,encode:!1}),r)}function EF(){return xe(window,"error",r=>{let{colno:e,lineno:t,error:i,filename:s,message:n}=r;if(n.toLowerCase().includes("script error"))return;let a=[`Message: ${n}
|
|
120
120
|
`,`URL: ${s}:${t}:${e}
|
|
121
121
|
`,`Line: ${t}
|
|
122
122
|
`,`Column: ${e}
|
|
123
|
-
`,`Error object: ${JSON.stringify(i)}`].join("-");return k5(a,{color:"#337ecc",padding:"2px 10px",fontSize:14,fontWeight:"bold"},"error"),!1})}function TF(r){return new Promise((e,t)=>{try{e(r())}catch(i){t(new Error(i))}})}function _F(){return{data:Object.create(null),emit(r,e){(this.data[r]||[]).forEach(t=>t(e))},on(r,e){this.data[r]||(this.data[r]=[]),this.data[r].push(e)},off(r,e){let t=(this.data[r]||[]).findIndex(i=>i===e);t>-1&&this.data[r].splice(t,1),this.data[r].length===0&&delete this.data[r]}}}function Vw(r,e){let t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(e=e||t.length,r){let s=ms(e)?e:36;for(let n=0;n<r;n++)i[n]=t[0|Math.random()*s]}else{if(r)for(let s=0;s<r;s++)i[s]=t[0|Math.random()*t.length];i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(let s=0;s<36;s++)if(!i[s]){let n=0|Math.random()*16;i[s]=t[s===19?n&3|8:n]}}return i.join("")}var s0="@simon_he/storage";function AF(r){return xe(window,"storage",e=>{let{key:t,newValue:i,oldValue:s}=e,n=t!=null&&t.startsWith(s0)?t.slice(s0.length):t;r(n,i,s)})}function CF(r,e){localStorage.setItem(s0+r,JSON.stringify({value:e,__temp:Vw(6)}))}function PF(r,e){r=v5(r)?r:`ws://${r.replace(/^http[s:\/\/]/,"")}`;let t=new WebSocket(r,e),i=o=>t.addEventListener("message",o),s=o=>t.addEventListener("open",o),n=o=>t.addEventListener("close",o),a=o=>t.addEventListener("error",o);return{socket:t,receive:i,send:t.send.bind(t),open:s,close:n,error:a}}function IF(){let r,e=0;return d0(t=>{e++,r||(r=t),t-r>1e3&&(console.log("FPS:",Math.round(e*1e3)/(t-r)),e=0,r=t)},0)}function O5(){let r={};try{let e=performance.getEntriesByType("navigation")[0];if(e.domComplete===0){setTimeout(()=>{O5()},200);return}r.\u91CD\u5B9A\u5411\u65F6\u95F4=(e.redirectEnd-e.redirectStart)/1e3,r.\u91CD\u5B9A\u5411\u6B21\u6570=e.redirectCount,r.\u9996\u5C4F\u65F6\u95F4=e.domInteractive-e.fetchStart,r.\u4E0A\u4E00\u9875\u5378\u8F7D\u65F6\u95F4=e.unloadEventEnd-e.unloadEventStart,r.\u6D4F\u89C8\u5668\u8BFB\u53D6\u7F13\u5B58\u65F6\u95F4=e.domainLookupStart-e.fetchStart,r.DNS\u89E3\u6790\u65F6\u95F4=(e.domainLookupEnd-e.domainLookupStart)/1e3,r.TCP\u5B8C\u6210\u63E1\u624B\u65F6\u95F4=(e.connectEnd-e.connectStart)/1e3,r.HTTP\u8BF7\u6C42\u54CD\u5E94\u5B8C\u6210\u65F6\u95F4=(e.responseEnd-e.requestStart)/1e3,r.DOM\u5F00\u59CB\u52A0\u8F7D\u524D\u6240\u82B1\u8D39\u65F6\u95F4=(e.responseEnd-e.fetchStart)/1e3,r.DOM\u52A0\u8F7D\u5B8C\u6210\u65F6\u95F4=(e.domComplete-e.domInteractive)/1e3,r.\u811A\u672C\u52A0\u8F7D\u65F6\u95F4=(e.domContentLoadedEventEnd-e.domContentLoadedEventStart)/1e3,r.onload\u4E8B\u4EF6\u65F6\u95F4=(e.loadEventEnd-e.loadEventStart)/1e3,r.\u9875\u9762\u5B8C\u5168\u52A0\u8F7D\u65F6\u95F4=(e.loadEventEnd-e.fetchStart)/1e3,console.table(r)}catch(e){console.log(r),console.log(performance.timing)}}function NF(r){let e=new Date().getTime();r();let t=(new Date().getTime()-e)/1e3;return console.log(`timeCost: ${t}s`),t}function kF(r=!1,e=5e3,t=0){return new Promise((i,s)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(M5(i),L5(s),{enableHighAccuracy:r,maximumAge:t,timeout:e}):s(new Error("\u8BE5\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5B9A\u4F4D\u529F\u80FD\uFF01"))})}function M5(r){return function(e){r(e.coords)}}function L5(r){return function(e){switch(e.code){case e.PERMISSION_DENIED:return r(new Error("\u7528\u6237\u4E0D\u5141\u8BB8\u4F7F\u7528\u4F4D\u7F6E\u670D\u52A1"));case e.POSITION_UNAVAILABLE:return r(new Error("\u4F4D\u7F6E\u4FE1\u606F\u4E0D\u53EF\u7528"));case e.TIMEOUT:return r(new Error("\u8BF7\u6C42\u83B7\u53D6\u7528\u6237\u4F4D\u7F6E\u8D85\u65F6"));default:return r(new Error("\u672A\u77E5\u9519\u8BEF"))}}}function OF(r,e){return te(`cp -r {${r.join(",")}} ${e}`,"pipe")}async function MF(r){if(/[./]/.test(r))throw new Error("module must be a npm module");let e=a0.default.resolve(zw.default.cwd(),"node_modules",r,"package.json"),{module:t,main:i}=JSON.parse(await n0.default.readFile(e,"utf-8")),s=a0.default.resolve(`./node_modules/${r}`,t||i);return n0.default.readFile(s,"utf-8")}function D5(r,e){return e.endsWith(r)?e:e+r}async function yc(r="./package.json"){let e=ds(D5("/package.json",r));if(!hr(e))throw new Error(`${e} is not a file`);return JSON.parse(await Hw.default.readFile(e,"utf-8"))}async function Ci(){var r;let e=(((r=await yc())==null?void 0:r.packageManager)||"").split("@")[0];if(e)return e;switch(!0){case hr(ds("./yarn.lock")):case hr(ds("./lerna.json")):return"yarn";case hr(ds("./pnpm-lock.yaml")):case hr(ds("./pnpm-workspace.yaml")):return"pnpm";case hr(ds("./bun.lockb")):return"bun";default:return"npm"}}function LF(){var r,e;return(e=(r=Gw.default)==null?void 0:r.argv)==null?void 0:e.slice(2).reduce((t,i)=>{let[s,n]=i.split("=");return t[s.slice(2)]=n||!0,t},{})}async function pr(r,e){let t="../node_modules/lazy-js-utils/dist/node/useNodeWorkerThread.cjs",i="./node/useNodeWorkerThread.cjs";e=e||o0.default.resolve(__dirname,i),e.includes("node_modules")||(e=o0.default.resolve(__dirname,t));let{params:s,stdio:n}=re(r)?{params:r,stdio:"pipe"}:r,a=We(s)?s:s.split("&&"),o=await w5(a,l=>u({params:l,stdio:n}));return setTimeout(Ww.default.exit),o.length===1?o[0]:o;function u(l){let{Worker:c}=m0.default;return new Promise(f=>{let h=new c(e);h.on("message",f),h.postMessage(l)})}}function DF(r){let{parentPort:e}=m0.default;e.on("message",async t=>e==null?void 0:e.postMessage(await(r==null?void 0:r(t))||(()=>"")))}var RF=(r,e)=>Object.assign(e,{displayName:r});function BF(r,e,t="utf-8"){re(r)&&(r=[r]),r.forEach(async(i,s)=>{let n=await u0.default.readFile(i,t),a=(e==null?void 0:e(n,s))||n;u0.default.writeFile(i,a).catch(o=>{throw o})})}function Kw(r){let e=Yw.default.resolve(r,"package.json"),{result:t}=te(`test -f "${e}" && echo "0"|| echo "1"`,"pipe");return t==="0"}var FF={add(...r){return r.reduce((e,t)=>cw(+e,+t))},sub(...r){return r.reduce((e,t)=>cw(+e,-t))},mul(...r){return r.reduce((e,t)=>R5(+e,+t))},div(...r){return r.reduce((e,t)=>B5(+e,+t))}};function cw(r,e){let t,i;try{t=r.toString().split(".")[1].length}catch(n){t=0}try{i=e.toString().split(".")[1].length}catch(n){i=0}let s=10**Math.max(t,i);return(r*s+e*s)/s}function R5(r,e){let t=0,i=r.toString(),s=e.toString();try{t+=i.split(".")[1].length}catch(n){}try{t+=s.split(".")[1].length}catch(n){}return Number(i.replace(".",""))*Number(s.replace(".",""))/10**t}function B5(r,e){let t=0,i=0;try{t=r.toString().split(".")[1].length}catch(a){}try{i=e.toString().split(".")[1].length}catch(a){}let s=Number(r.toString().replace(".","")),n=Number(e.toString().replace(".",""));return s/n*10**(i-t)}function UF(r,e=2,t="ceil"){r=`${r}`.replace(/[^0-9+-Ee.]/g,"");let i=isFinite(+r)?+r:0,s=isFinite(+e)?Math.abs(e):0,n=",",a=".",o=(s?l(i,s):`${Math.round(i)}`).split("."),u=/(-?\d+)(\d{3})/;for(;u.test(o[0]);)o[0]=o[0].replace(u,`$1${n}$2`);return(o[1]||"").length<s&&(o[1]=o[1]||"",o[1]+=new Array(s-o[1].length+1).join("0")),o.join(a);function l(c,f){let h=10**f;return`${t==="ceil"?Math.ceil(c*h)/h:Math.floor(c*h)/h}`}}function qF(r){let e=["\u89D2","\u5206"],t=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],i=[["\u5143","\u4E07","\u4EBF"],["","\u62FE","\u4F70","\u4EDF"]],s=r<0?"\u6B20":"";r=Math.abs(r);let n="";for(let a=0;a<e.length;a++)n+=(t[Math.floor(r*10*10**a)%10]+e[a]).replace(/零./,"");n=n||"\u6574",r=Math.floor(r);for(let a=0;a<i[0].length&&r>0;a++){let o="";for(let u=0;u<i[1].length&&r>0;u++)o=t[r%10]+i[1][u]+o,r=Math.floor(r/10);n=o.replace(/(零.)*零$/,"").replace(/^$/,"\u96F6")+i[0][a]+n}return s+n.replace(/(零.)*零元/,"\u5143").replace(/(零.)+/g,"\u96F6").replace(/^整$/,"\u96F6\u5143\u6574")}function $F(r,e){return ms(r)?r*e:r.repeat(e)}function jF(r){return+r%2===0}function mc(r,...e){return vt(r)&&e.forEach(t=>{if(!vt(t))throw new Error(`${t} is not objectType`);if(!Object.keys(r).length)Object.assign(r,t);else for(let i in t)i in r&&vt(r[i])&&vt(t[i])?mc(r[i],t[i]):r[i]=t[i]}),r}var fw=/(\w+)\[(\w+)\]/;function VF(r,e,t){return Object.keys(r).reduce((i,s)=>{let n=r[s];return F5(n[t],i,n[e])},{})}function F5(r,e,t){let i=r.split(".");return i.reduce((s,n,a)=>{var o;if(a===i.length-1)s[n]=t;else if(fw.test(n)){let u;return n.replace(fw,(l,c,f)=>{var h,d;s[c]=(h=s[c])!=null?h:[],u=s[c][f]=(d=s[c][f])!=null?d:{}}),u}else if(a!==i.length-1)return s[n]=(o=s[n])!=null?o:{};return s},e),e}var Nn=/(\w+)\[(\w+)\]/;function zF(r,e,t=!1){let i=Object.keys(e).reduce((o,u)=>(o[e[u]]=U5(u,r),o),{});if(!t)return i;let s=Object.keys(e),n=JSON.parse(JSON.stringify(r));s.forEach(o=>{let u=o.split("."),l=u.length-1;u.reduce((c,f,h)=>{if(l===h&&delete c[f],Nn.test(f)){let d;return f.replace(Nn,(w,v,x)=>d=c[v][x]),d}return c[f]},n)});let a=l0(n);return Object.assign(a,i)}function HF(r,e,t=!1){let i=Object.entries(e).reduce((a,[o,u])=>q5(o,a,r[u]),{});if(!t)return i;let s=Object.values(e),n=Object.keys(r).filter(a=>!s.includes(a)).reduce((a,o)=>(a[o]=r[o],a),{});return Object.assign(n,i)}function U5(r,e){return r.split(".").reduce((t,i)=>Nn.test(i)?JSON.parse(i.replace(Nn,(s,n,a)=>JSON.stringify(t[n][a]))):t[i],e)}function q5(r,e,t){let i=r.split(".");return i.reduce((s,n,a)=>{var o;if(a===i.length-1)s[n]=t;else if(Nn.test(n)){let u;return n.replace(Nn,(l,c,f)=>{var h,d;s[c]=(h=s[c])!=null?h:[],u=s[c][f]=(d=s[c][f])!=null?d:{}}),u}else if(a!==i.length-1)return s[n]=(o=s[n])!=null?o:{};return s},e),e}function l0(r){for(let e in r){let t=r[e];vt(t)?Object.keys(t).length?l0(t):delete r[e]:We(t)&&(!t.length||!Object.keys(t[0]).length?delete r[e]:t.forEach(i=>l0(i)))}return r}function GF(r,e){return dc(r)?We(r)?r.map(t=>hw(t,e)):hw(r,e):r}function hw(r,e){for(let t in e){let i="",s=null,n=t.split("."),a=n.reduce((o,u,l)=>(l===n.length-1&&(i=u,s=o),o[u]),r);s[e[t]]=a,delete s[i]}return r}function WF(r,e={}){return dc(r)&&(We(r)?r.forEach((t,i)=>pw(t,i,e)):pw(r,0,e)),r}function pw(r,e,t={}){for(let i in t){let s=i.split(".").reduce((n,a)=>n[a],r);t[i](s,e,r)}}var $5=[Set,Map,WeakMap,WeakSet,RegExp,Date],Zd=new WeakMap;function j5(r){if(Zd.has(r))return Zd.get(r);if(Nr(r)||Mo(r))return r;if($5.includes(r.constructor))return new r.constructor(r);if(!dc(r))return r;let e=Object.create(Object.getPrototypeOf(r),Object.getOwnPropertyDescriptors(r));Zd.set(r,e);for(let t of Reflect.ownKeys(r))dc(r[t])?e[t]=j5(r[t]):e[t]=r[t];return e}function dw(r,e,t,i=[],s=[],n,a){if(vt(r)&&vt(e)){let o=Object.keys(r).length>=Object.keys(e).length?r:e;for(let u in o){if(We(t)&&t.includes(u)||t0(t)&&t.test(u))continue;let l=r[u],c=e[u],f=n?`${n}.${u}`:u;dw(l,c,t,i,s,f)}}else if(We(r)&&We(e)){let o=r.length>=e.length?r:e;for(let u in o){let l=r[u],c=e[u];dw(l,c,t,i,s,n,u)}}else if(r!==e){n=n||"array";let o=a?`${n}\u6570\u636E\u4E0D\u4E00\u81F4\uFF0C\u7B2C${a}\u9879,\u5206\u522B\u4E3A${r} => ${e}`:`${n}\u6570\u636E\u4E0D\u4E00\u81F4\uFF0C\u5206\u522B\u4E3A${r} => ${e}`;i.push(n),s.push(o)}return{error:i,errorMsg:s}}function YF(r,e={}){let{sep:t="&",eq:i="=",camel:s=!1}=e;return r.split(t).reduce((n,a)=>{let[o,u]=a.split(i);return s?n[$O(o)]=u:n[o]=u,n},{})}function KF(r){let e=/[\n\s]*([.#][\w\-_ .#\>\+\&]+){[\n\s]*([ :;\w\-\n]*)+}[\n\s]*/gm,t=/\s{2,}/g,i={};return r.replace(e,(s,n,a)=>(i[n.replace(t," ").trim()]=a.replace(/\n\s*/g,""),s)),i}var V5=/^\w+:(\/\/)?/,z5=/^\/\/[^/]+/;function H5(r,e=!1){return V5.test(r)||e&&z5.test(r)}function G5(r="",e){if(!H5(r,!0))return e?G5(e+r):mw(r);let[t="",i,s=""]=(r.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[n="",a=""]=(s.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:o,search:u,hash:l}=mw(a);return{protocol:t,auth:i?i.substr(0,i.length-1):"",host:n,pathname:o,search:u,hash:l}}function mw(r=""){let[e="",t="",i=""]=(r.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:t,hash:i}}function JF(r,e,t){return new Promise((i,s)=>{let n;b5(r)?n="toCanvas":e?n="toDataURL":n="toString",Jw.default[n](r,t,(a,o)=>{a&&s(a),i(o)})})}function QF(r="1999/01/1",e){let t=new Date,i=r.includes("/")?"/":"-",[s,n,a]=(e||"").split(i),o=+s||t.getFullYear(),u=+n||t.getMonth()+1,l=+a||t.getDate(),[c,f,h]=r.split("/"),d=new Date(+c,+f,+h).getTime(),w=new Date(o,u,l).getTime();return new Date(d+Math.round(Math.random()*(w-d)))}function XF(){return`#${(Math.random()*1048575*1e6).toString(16).slice(0,6)}`}function ZF(r=1){return`rgba(${Math.random()*255}, ${Math.random()*255}, ${Math.random()*255}, ${r})`}var Io=new Map,cc=class{constructor(r){be(this,"config");let{baseURL:e="",headers:t={},timeout:i=20*1e3,interceptors:s}=r||{};this.config={baseURL:e,headers:t,timeout:i,interceptors:s}}init(r){let{url:e,method:t="GET",headers:i={},bodyType:s="json",params:n={},credentials:a="omit",integrity:o,referrerPolicy:u="no-referrer-when-downgrade",referrer:l="",responseType:c="json",keepalive:f=!1,timeout:h,transformResponse:d,cache:w="default",redirect:v="follow",mode:x="no-cors"}=r;return this.config=Object.assign(this.config,{url:e!=null&&e.startsWith("http")?e:(this.config.baseURL||"")+(e||""),method:t,bodyType:s,credentials:a,responseType:c,timeout:h||this.config.timeout,transformResponse:d,cache:w,redirect:v,mode:x,body:n,keepalive:f,integrity:o,referrerPolicy:u,referrer:l,headers:Object.assign({"Content-Type":"application/json"},this.config.headers,i)}),this.config.method==="GET"&&(Object.keys(n).length&&(this.config.url+=`?${pc(n)}`),this.config.body=void 0),this.request()}request(){var r,e,t,i,s;let n=new AbortController,a=n.signal;this.config.signal=a,this.config.cancel=()=>n.abort();let{body:o,method:u,bodyType:l,url:c,timeout:f,responseType:h,transformResponse:d}=this.config;o&&u!=="GET"&&(l==="form"?(mc(this.config.headers,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}),this.config.body=pc(o)):l==="file"?(mc(this.config.headers,{"Content-Type":"multipart/form-data"}),this.config.body=Object.keys(o).reduce((v,x)=>(v.append(x,o[x]),v),new FormData)):l==="json"&&(this.config.body=JSON.stringify(o)));let w=e0(this.config);return Io.has(w)&&((r=Io.get(w))==null||r()),Io.set(w,this.config.cancel),Promise.race([fetch(c,((s=(i=(t=(e=this.config)==null?void 0:e.interceptors)==null?void 0:t.request)==null?void 0:i.success)==null?void 0:s.call(i,this.config))||this.config),new Promise(v=>{setTimeout(()=>{v(new Response("timeout",{status:504,statusText:"timeout "})),n.abort()},f||20*1e3)})]).then(v=>{var x,m,S,g;return v.status===200?d?d(v):v:((g=(S=(m=(x=this.config)==null?void 0:x.interceptors)==null?void 0:m.response)==null?void 0:S.error)==null?void 0:g.call(S,v))||Promise.reject(v)},v=>{var x,m,S,g;return((g=(S=(m=(x=this.config)==null?void 0:x.interceptors)==null?void 0:m.request)==null?void 0:S.error)==null?void 0:g.call(S,v))||Promise.reject(v)}).then(async v=>{var x,m,S,g,b,p,y,_;try{let A=await this.getResponseData(v,h);return Io.delete(e0(this.config)),((g=(S=(m=(x=this.config)==null?void 0:x.interceptors)==null?void 0:m.response)==null?void 0:S.success)==null?void 0:g.call(S,A))||A}catch(A){return Io.delete(e0(this.config)),((_=(y=(p=(b=this.config)==null?void 0:b.interceptors)==null?void 0:p.response)==null?void 0:y.error)==null?void 0:_.call(y,A))||Promise.reject(A)}})}getResponseData(r,e){if(e==="json")return r==null?void 0:r.json();if(e==="text")return r==null?void 0:r.text();if(e==="blob")return r==null?void 0:r.blob();if(e==="formData")return r==null?void 0:r.formData();if(e==="arrayBuffer")return r==null?void 0:r.arrayBuffer()}get(r,e){let{retry:t=0}=e||{};return Qw(()=>new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"GET"})),t)}post(r,e){return new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"post"}))}put(r,e){return re(e)&&(e={url:e}),new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"put"}))}delete(r,e){return re(e)&&(e={url:e}),new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"delete"}))}};function e0(r){let{url:e,method:t,params:i,data:s}=r;return`${e}-${t}-${JSON.stringify(t==="get"?i:s)}`}function Qw(r,e,t=0,i,s){return new Promise((n,a)=>{i=i||n,s=s||a;let o=r();o.then(i),o.catch(u=>{t<e?(t++,Qw(r,e,t,i,s)):s(u)})})}function eU(r=4,e){let t=e.length,i=[],s=0,n=new Array(r).fill(0);return n=n.map(()=>new Promise((a,o)=>{let u=()=>{if(s>=t)return a("done");let l=s;e[s++]().then(c=>{i[l]=c,u()}).catch(c=>o(c))};u()})),Promise.all(n).then(()=>i)}function tU(r,e){return xe(document,"visibilitychange",()=>document.visibilityState==="hidden"&&navigator.sendBeacon(r,e))}function rU(){try{let r=parent.documentElement,e=(r==null?void 0:r.cancelFullScreen)||(r==null?void 0:r.webkitCancelFullScreen)||(r==null?void 0:r.mozCancelFullScreen)||(r==null?void 0:r.exitFullScreen);if(e)e.call(r);else return new Error("\u5207\u6362\u5931\u8D25,\u53EF\u5C1D\u8BD5Esc\u9000\u51FA")}catch(r){throw new Error(r)}}function iU(){try{let r=document.documentElement,e=r.requestFullScreen||r.webkitRequestFullScreen||r.mozRequestFullScreen||r.msRequestFullScreen;if(e)e.call(r);else return new Error("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F")}catch(r){throw new Error(r)}}function sU(r){return async()=>{if(re(r)&&(r=Bt(r)||r),re(r))throw new Error(`${r} is not a HTMLVideoElement`);try{r!==document.pictureInPictureElement?await r.requestPictureInPicture():await document.exitPictureInPicture()}catch(e){throw new Error(e)}}}function nU(r,e){return new Promise((t,i)=>{navigator.mediaDevices.getDisplayMedia({video:!0}).then(s,i);function s(n){let a=lt("video",{autoplay:"",playsinline:"",muted:""});a.srcObject=n,re(r)&&(r=Bt(r)||r),re(r)&&i(new Error(`${r} container is not a HTMLElement`)),t("success"),n.getVideoTracks()[0].addEventListener("ended",()=>e("\u5DF2\u505C\u6B62\u5171\u4EAB")),r.appendChild(a)}})}function aU(r={width:640,height:480},e="video",t){if(!navigator)return console.error("Not support navigator");ko(r)&&(t=r,r={width:640,height:480});let i;return navigator.mediaDevices.getUserMedia({video:r}).then(s=>{if(i=re(e)?Bt(e):e,!r)return console.error("video element not found");i.srcObject=s,t&&(i.onloadedmetadata=()=>i.play())}),()=>i?i.paused?i.play():i.pause():t=!0}function oU(r={}){if(!navigator||!navigator.canShare)throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u5206\u4EAB");if(!r.files||navigator.canShare({files:r.files}))return navigator.share(r)}function uU(r=[],e){let t=lt("video"),{controls:i=!0,width:s,height:n,className:a,style:o}=e,u=e.container;return t.controls=i,s&&(t.width=s),n&&(t.height=n),a&&(t.className=a),o&&(t.style.cssText=o),xe(document,"DOMContentLoaded",c),xe(t,"timeupdate",()=>t.currentTime>=t.duration&&l()),{play(){t.paused?t.play():t.pause()},playReset:l,playRate(f=1){t.playbackRate=+f},playTime(f=0){t.currentTime+=+f},playProgress(f=0){t.currentTime=+f}};function l(){t.currentTime=0}function c(){let f=lt("source");r.forEach(({src:h,type:d})=>{let w=f.cloneNode();w.setAttribute("src",h),w.setAttribute("type",d),t.appendChild(w)}),u.appendChild(t)}}async function lU(r=String(new Date().getTime())){let e=await navigator.mediaDevices.getDisplayMedia({video:!0}),t=await navigator.mediaDevices.getUserMedia({audio:!0}),i=[];e.getVideoTracks().forEach(o=>i.push(o)),t.getAudioTracks().forEach(o=>i.push(o));let s=new MediaStream(i),n=new MediaRecorder(s),a=[];return n.ondataavailable=o=>{a.push(o.data)},n.onstop=()=>{let{stream:o,mimeType:u}=n;o.getTracks().forEach(f=>f.stop());let l=new Blob(a,{type:u}),c=URL.createObjectURL(l);Pw(c,`${r}.webm`)},n.start(),()=>n.stop()}function W5(r){return We(r)?r:[r]}function cU(r,e="zh"){let t=W5(r).map(Y5).join(`
|
|
123
|
+
`,`Error object: ${JSON.stringify(i)}`].join("-");return k5(a,{color:"#337ecc",padding:"2px 10px",fontSize:14,fontWeight:"bold"},"error"),!1})}function TF(r){return new Promise((e,t)=>{try{e(r())}catch(i){t(new Error(i))}})}function _F(){return{data:Object.create(null),emit(r,e){(this.data[r]||[]).forEach(t=>t(e))},on(r,e){this.data[r]||(this.data[r]=[]),this.data[r].push(e)},off(r,e){let t=(this.data[r]||[]).findIndex(i=>i===e);t>-1&&this.data[r].splice(t,1),this.data[r].length===0&&delete this.data[r]}}}function Vw(r,e){let t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(e=e||t.length,r){let s=ms(e)?e:36;for(let n=0;n<r;n++)i[n]=t[0|Math.random()*s]}else{if(r)for(let s=0;s<r;s++)i[s]=t[0|Math.random()*t.length];i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(let s=0;s<36;s++)if(!i[s]){let n=0|Math.random()*16;i[s]=t[s===19?n&3|8:n]}}return i.join("")}var s0="@simon_he/storage";function AF(r){return xe(window,"storage",e=>{let{key:t,newValue:i,oldValue:s}=e,n=t!=null&&t.startsWith(s0)?t.slice(s0.length):t;r(n,i,s)})}function CF(r,e){localStorage.setItem(s0+r,JSON.stringify({value:e,__temp:Vw(6)}))}function PF(r,e){r=v5(r)?r:`ws://${r.replace(/^http[s:\/\/]/,"")}`;let t=new WebSocket(r,e),i=o=>t.addEventListener("message",o),s=o=>t.addEventListener("open",o),n=o=>t.addEventListener("close",o),a=o=>t.addEventListener("error",o);return{socket:t,receive:i,send:t.send.bind(t),open:s,close:n,error:a}}function IF(){let r,e=0;return d0(t=>{e++,r||(r=t),t-r>1e3&&(console.log("FPS:",Math.round(e*1e3)/(t-r)),e=0,r=t)},0)}function O5(){let r={};try{let e=performance.getEntriesByType("navigation")[0];if(e.domComplete===0){setTimeout(()=>{O5()},200);return}r.\u91CD\u5B9A\u5411\u65F6\u95F4=(e.redirectEnd-e.redirectStart)/1e3,r.\u91CD\u5B9A\u5411\u6B21\u6570=e.redirectCount,r.\u9996\u5C4F\u65F6\u95F4=e.domInteractive-e.fetchStart,r.\u4E0A\u4E00\u9875\u5378\u8F7D\u65F6\u95F4=e.unloadEventEnd-e.unloadEventStart,r.\u6D4F\u89C8\u5668\u8BFB\u53D6\u7F13\u5B58\u65F6\u95F4=e.domainLookupStart-e.fetchStart,r.DNS\u89E3\u6790\u65F6\u95F4=(e.domainLookupEnd-e.domainLookupStart)/1e3,r.TCP\u5B8C\u6210\u63E1\u624B\u65F6\u95F4=(e.connectEnd-e.connectStart)/1e3,r.HTTP\u8BF7\u6C42\u54CD\u5E94\u5B8C\u6210\u65F6\u95F4=(e.responseEnd-e.requestStart)/1e3,r.DOM\u5F00\u59CB\u52A0\u8F7D\u524D\u6240\u82B1\u8D39\u65F6\u95F4=(e.responseEnd-e.fetchStart)/1e3,r.DOM\u52A0\u8F7D\u5B8C\u6210\u65F6\u95F4=(e.domComplete-e.domInteractive)/1e3,r.\u811A\u672C\u52A0\u8F7D\u65F6\u95F4=(e.domContentLoadedEventEnd-e.domContentLoadedEventStart)/1e3,r.onload\u4E8B\u4EF6\u65F6\u95F4=(e.loadEventEnd-e.loadEventStart)/1e3,r.\u9875\u9762\u5B8C\u5168\u52A0\u8F7D\u65F6\u95F4=(e.loadEventEnd-e.fetchStart)/1e3,console.table(r)}catch(e){console.log(r),console.log(performance.timing)}}function NF(r){let e=new Date().getTime();r();let t=(new Date().getTime()-e)/1e3;return console.log(`timeCost: ${t}s`),t}function kF(r=!1,e=5e3,t=0){return new Promise((i,s)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(M5(i),L5(s),{enableHighAccuracy:r,maximumAge:t,timeout:e}):s(new Error("\u8BE5\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5B9A\u4F4D\u529F\u80FD\uFF01"))})}function M5(r){return function(e){r(e.coords)}}function L5(r){return function(e){switch(e.code){case e.PERMISSION_DENIED:return r(new Error("\u7528\u6237\u4E0D\u5141\u8BB8\u4F7F\u7528\u4F4D\u7F6E\u670D\u52A1"));case e.POSITION_UNAVAILABLE:return r(new Error("\u4F4D\u7F6E\u4FE1\u606F\u4E0D\u53EF\u7528"));case e.TIMEOUT:return r(new Error("\u8BF7\u6C42\u83B7\u53D6\u7528\u6237\u4F4D\u7F6E\u8D85\u65F6"));default:return r(new Error("\u672A\u77E5\u9519\u8BEF"))}}}function OF(r,e){return X(`cp -r {${r.join(",")}} ${e}`,"pipe")}async function MF(r){if(/[./]/.test(r))throw new Error("module must be a npm module");let e=a0.default.resolve(zw.default.cwd(),"node_modules",r,"package.json"),{module:t,main:i}=JSON.parse(await n0.default.readFile(e,"utf-8")),s=a0.default.resolve(`./node_modules/${r}`,t||i);return n0.default.readFile(s,"utf-8")}function D5(r,e){return e.endsWith(r)?e:e+r}async function yc(r="./package.json"){let e=ds(D5("/package.json",r));if(!hr(e))throw new Error(`${e} is not a file`);return JSON.parse(await Hw.default.readFile(e,"utf-8"))}async function Ci(){var r;let e=(((r=await yc())==null?void 0:r.packageManager)||"").split("@")[0];if(e)return e;switch(!0){case hr(ds("./yarn.lock")):case hr(ds("./lerna.json")):return"yarn";case hr(ds("./pnpm-lock.yaml")):case hr(ds("./pnpm-workspace.yaml")):return"pnpm";case hr(ds("./bun.lockb")):return"bun";default:return"npm"}}function LF(){var r,e;return(e=(r=Gw.default)==null?void 0:r.argv)==null?void 0:e.slice(2).reduce((t,i)=>{let[s,n]=i.split("=");return t[s.slice(2)]=n||!0,t},{})}async function pr(r,e){let t="../node_modules/lazy-js-utils/dist/node/useNodeWorkerThread.cjs",i="./node/useNodeWorkerThread.cjs";e=e||o0.default.resolve(__dirname,i),e.includes("node_modules")||(e=o0.default.resolve(__dirname,t));let{params:s,stdio:n}=re(r)?{params:r,stdio:"pipe"}:r,a=We(s)?s:s.split("&&"),o=await w5(a,l=>u({params:l,stdio:n}));return setTimeout(Ww.default.exit),o.length===1?o[0]:o;function u(l){let{Worker:c}=m0.default;return new Promise(f=>{let h=new c(e);h.on("message",f),h.postMessage(l)})}}function DF(r){let{parentPort:e}=m0.default;e.on("message",async t=>e==null?void 0:e.postMessage(await(r==null?void 0:r(t))||(()=>"")))}var RF=(r,e)=>Object.assign(e,{displayName:r});function BF(r,e,t="utf-8"){re(r)&&(r=[r]),r.forEach(async(i,s)=>{let n=await u0.default.readFile(i,t),a=(e==null?void 0:e(n,s))||n;u0.default.writeFile(i,a).catch(o=>{throw o})})}function Kw(r){let e=Yw.default.resolve(r,"package.json"),{result:t}=X(`test -f "${e}" && echo "0"|| echo "1"`,"pipe");return t==="0"}var FF={add(...r){return r.reduce((e,t)=>cw(+e,+t))},sub(...r){return r.reduce((e,t)=>cw(+e,-t))},mul(...r){return r.reduce((e,t)=>R5(+e,+t))},div(...r){return r.reduce((e,t)=>B5(+e,+t))}};function cw(r,e){let t,i;try{t=r.toString().split(".")[1].length}catch(n){t=0}try{i=e.toString().split(".")[1].length}catch(n){i=0}let s=10**Math.max(t,i);return(r*s+e*s)/s}function R5(r,e){let t=0,i=r.toString(),s=e.toString();try{t+=i.split(".")[1].length}catch(n){}try{t+=s.split(".")[1].length}catch(n){}return Number(i.replace(".",""))*Number(s.replace(".",""))/10**t}function B5(r,e){let t=0,i=0;try{t=r.toString().split(".")[1].length}catch(a){}try{i=e.toString().split(".")[1].length}catch(a){}let s=Number(r.toString().replace(".","")),n=Number(e.toString().replace(".",""));return s/n*10**(i-t)}function UF(r,e=2,t="ceil"){r=`${r}`.replace(/[^0-9+-Ee.]/g,"");let i=isFinite(+r)?+r:0,s=isFinite(+e)?Math.abs(e):0,n=",",a=".",o=(s?l(i,s):`${Math.round(i)}`).split("."),u=/(-?\d+)(\d{3})/;for(;u.test(o[0]);)o[0]=o[0].replace(u,`$1${n}$2`);return(o[1]||"").length<s&&(o[1]=o[1]||"",o[1]+=new Array(s-o[1].length+1).join("0")),o.join(a);function l(c,f){let h=10**f;return`${t==="ceil"?Math.ceil(c*h)/h:Math.floor(c*h)/h}`}}function qF(r){let e=["\u89D2","\u5206"],t=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],i=[["\u5143","\u4E07","\u4EBF"],["","\u62FE","\u4F70","\u4EDF"]],s=r<0?"\u6B20":"";r=Math.abs(r);let n="";for(let a=0;a<e.length;a++)n+=(t[Math.floor(r*10*10**a)%10]+e[a]).replace(/零./,"");n=n||"\u6574",r=Math.floor(r);for(let a=0;a<i[0].length&&r>0;a++){let o="";for(let u=0;u<i[1].length&&r>0;u++)o=t[r%10]+i[1][u]+o,r=Math.floor(r/10);n=o.replace(/(零.)*零$/,"").replace(/^$/,"\u96F6")+i[0][a]+n}return s+n.replace(/(零.)*零元/,"\u5143").replace(/(零.)+/g,"\u96F6").replace(/^整$/,"\u96F6\u5143\u6574")}function $F(r,e){return ms(r)?r*e:r.repeat(e)}function jF(r){return+r%2===0}function mc(r,...e){return vt(r)&&e.forEach(t=>{if(!vt(t))throw new Error(`${t} is not objectType`);if(!Object.keys(r).length)Object.assign(r,t);else for(let i in t)i in r&&vt(r[i])&&vt(t[i])?mc(r[i],t[i]):r[i]=t[i]}),r}var fw=/(\w+)\[(\w+)\]/;function VF(r,e,t){return Object.keys(r).reduce((i,s)=>{let n=r[s];return F5(n[t],i,n[e])},{})}function F5(r,e,t){let i=r.split(".");return i.reduce((s,n,a)=>{var o;if(a===i.length-1)s[n]=t;else if(fw.test(n)){let u;return n.replace(fw,(l,c,f)=>{var h,d;s[c]=(h=s[c])!=null?h:[],u=s[c][f]=(d=s[c][f])!=null?d:{}}),u}else if(a!==i.length-1)return s[n]=(o=s[n])!=null?o:{};return s},e),e}var Nn=/(\w+)\[(\w+)\]/;function zF(r,e,t=!1){let i=Object.keys(e).reduce((o,u)=>(o[e[u]]=U5(u,r),o),{});if(!t)return i;let s=Object.keys(e),n=JSON.parse(JSON.stringify(r));s.forEach(o=>{let u=o.split("."),l=u.length-1;u.reduce((c,f,h)=>{if(l===h&&delete c[f],Nn.test(f)){let d;return f.replace(Nn,(w,v,x)=>d=c[v][x]),d}return c[f]},n)});let a=l0(n);return Object.assign(a,i)}function HF(r,e,t=!1){let i=Object.entries(e).reduce((a,[o,u])=>q5(o,a,r[u]),{});if(!t)return i;let s=Object.values(e),n=Object.keys(r).filter(a=>!s.includes(a)).reduce((a,o)=>(a[o]=r[o],a),{});return Object.assign(n,i)}function U5(r,e){return r.split(".").reduce((t,i)=>Nn.test(i)?JSON.parse(i.replace(Nn,(s,n,a)=>JSON.stringify(t[n][a]))):t[i],e)}function q5(r,e,t){let i=r.split(".");return i.reduce((s,n,a)=>{var o;if(a===i.length-1)s[n]=t;else if(Nn.test(n)){let u;return n.replace(Nn,(l,c,f)=>{var h,d;s[c]=(h=s[c])!=null?h:[],u=s[c][f]=(d=s[c][f])!=null?d:{}}),u}else if(a!==i.length-1)return s[n]=(o=s[n])!=null?o:{};return s},e),e}function l0(r){for(let e in r){let t=r[e];vt(t)?Object.keys(t).length?l0(t):delete r[e]:We(t)&&(!t.length||!Object.keys(t[0]).length?delete r[e]:t.forEach(i=>l0(i)))}return r}function GF(r,e){return dc(r)?We(r)?r.map(t=>hw(t,e)):hw(r,e):r}function hw(r,e){for(let t in e){let i="",s=null,n=t.split("."),a=n.reduce((o,u,l)=>(l===n.length-1&&(i=u,s=o),o[u]),r);s[e[t]]=a,delete s[i]}return r}function WF(r,e={}){return dc(r)&&(We(r)?r.forEach((t,i)=>pw(t,i,e)):pw(r,0,e)),r}function pw(r,e,t={}){for(let i in t){let s=i.split(".").reduce((n,a)=>n[a],r);t[i](s,e,r)}}var $5=[Set,Map,WeakMap,WeakSet,RegExp,Date],Zd=new WeakMap;function j5(r){if(Zd.has(r))return Zd.get(r);if(Nr(r)||Mo(r))return r;if($5.includes(r.constructor))return new r.constructor(r);if(!dc(r))return r;let e=Object.create(Object.getPrototypeOf(r),Object.getOwnPropertyDescriptors(r));Zd.set(r,e);for(let t of Reflect.ownKeys(r))dc(r[t])?e[t]=j5(r[t]):e[t]=r[t];return e}function dw(r,e,t,i=[],s=[],n,a){if(vt(r)&&vt(e)){let o=Object.keys(r).length>=Object.keys(e).length?r:e;for(let u in o){if(We(t)&&t.includes(u)||t0(t)&&t.test(u))continue;let l=r[u],c=e[u],f=n?`${n}.${u}`:u;dw(l,c,t,i,s,f)}}else if(We(r)&&We(e)){let o=r.length>=e.length?r:e;for(let u in o){let l=r[u],c=e[u];dw(l,c,t,i,s,n,u)}}else if(r!==e){n=n||"array";let o=a?`${n}\u6570\u636E\u4E0D\u4E00\u81F4\uFF0C\u7B2C${a}\u9879,\u5206\u522B\u4E3A${r} => ${e}`:`${n}\u6570\u636E\u4E0D\u4E00\u81F4\uFF0C\u5206\u522B\u4E3A${r} => ${e}`;i.push(n),s.push(o)}return{error:i,errorMsg:s}}function YF(r,e={}){let{sep:t="&",eq:i="=",camel:s=!1}=e;return r.split(t).reduce((n,a)=>{let[o,u]=a.split(i);return s?n[$O(o)]=u:n[o]=u,n},{})}function KF(r){let e=/[\n\s]*([.#][\w\-_ .#\>\+\&]+){[\n\s]*([ :;\w\-\n]*)+}[\n\s]*/gm,t=/\s{2,}/g,i={};return r.replace(e,(s,n,a)=>(i[n.replace(t," ").trim()]=a.replace(/\n\s*/g,""),s)),i}var V5=/^\w+:(\/\/)?/,z5=/^\/\/[^/]+/;function H5(r,e=!1){return V5.test(r)||e&&z5.test(r)}function G5(r="",e){if(!H5(r,!0))return e?G5(e+r):mw(r);let[t="",i,s=""]=(r.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[n="",a=""]=(s.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:o,search:u,hash:l}=mw(a);return{protocol:t,auth:i?i.substr(0,i.length-1):"",host:n,pathname:o,search:u,hash:l}}function mw(r=""){let[e="",t="",i=""]=(r.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:t,hash:i}}function JF(r,e,t){return new Promise((i,s)=>{let n;b5(r)?n="toCanvas":e?n="toDataURL":n="toString",Jw.default[n](r,t,(a,o)=>{a&&s(a),i(o)})})}function QF(r="1999/01/1",e){let t=new Date,i=r.includes("/")?"/":"-",[s,n,a]=(e||"").split(i),o=+s||t.getFullYear(),u=+n||t.getMonth()+1,l=+a||t.getDate(),[c,f,h]=r.split("/"),d=new Date(+c,+f,+h).getTime(),w=new Date(o,u,l).getTime();return new Date(d+Math.round(Math.random()*(w-d)))}function XF(){return`#${(Math.random()*1048575*1e6).toString(16).slice(0,6)}`}function ZF(r=1){return`rgba(${Math.random()*255}, ${Math.random()*255}, ${Math.random()*255}, ${r})`}var Io=new Map,cc=class{constructor(r){be(this,"config");let{baseURL:e="",headers:t={},timeout:i=20*1e3,interceptors:s}=r||{};this.config={baseURL:e,headers:t,timeout:i,interceptors:s}}init(r){let{url:e,method:t="GET",headers:i={},bodyType:s="json",params:n={},credentials:a="omit",integrity:o,referrerPolicy:u="no-referrer-when-downgrade",referrer:l="",responseType:c="json",keepalive:f=!1,timeout:h,transformResponse:d,cache:w="default",redirect:v="follow",mode:x="no-cors"}=r;return this.config=Object.assign(this.config,{url:e!=null&&e.startsWith("http")?e:(this.config.baseURL||"")+(e||""),method:t,bodyType:s,credentials:a,responseType:c,timeout:h||this.config.timeout,transformResponse:d,cache:w,redirect:v,mode:x,body:n,keepalive:f,integrity:o,referrerPolicy:u,referrer:l,headers:Object.assign({"Content-Type":"application/json"},this.config.headers,i)}),this.config.method==="GET"&&(Object.keys(n).length&&(this.config.url+=`?${pc(n)}`),this.config.body=void 0),this.request()}request(){var r,e,t,i,s;let n=new AbortController,a=n.signal;this.config.signal=a,this.config.cancel=()=>n.abort();let{body:o,method:u,bodyType:l,url:c,timeout:f,responseType:h,transformResponse:d}=this.config;o&&u!=="GET"&&(l==="form"?(mc(this.config.headers,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}),this.config.body=pc(o)):l==="file"?(mc(this.config.headers,{"Content-Type":"multipart/form-data"}),this.config.body=Object.keys(o).reduce((v,x)=>(v.append(x,o[x]),v),new FormData)):l==="json"&&(this.config.body=JSON.stringify(o)));let w=e0(this.config);return Io.has(w)&&((r=Io.get(w))==null||r()),Io.set(w,this.config.cancel),Promise.race([fetch(c,((s=(i=(t=(e=this.config)==null?void 0:e.interceptors)==null?void 0:t.request)==null?void 0:i.success)==null?void 0:s.call(i,this.config))||this.config),new Promise(v=>{setTimeout(()=>{v(new Response("timeout",{status:504,statusText:"timeout "})),n.abort()},f||20*1e3)})]).then(v=>{var x,m,S,g;return v.status===200?d?d(v):v:((g=(S=(m=(x=this.config)==null?void 0:x.interceptors)==null?void 0:m.response)==null?void 0:S.error)==null?void 0:g.call(S,v))||Promise.reject(v)},v=>{var x,m,S,g;return((g=(S=(m=(x=this.config)==null?void 0:x.interceptors)==null?void 0:m.request)==null?void 0:S.error)==null?void 0:g.call(S,v))||Promise.reject(v)}).then(async v=>{var x,m,S,g,b,p,y,_;try{let A=await this.getResponseData(v,h);return Io.delete(e0(this.config)),((g=(S=(m=(x=this.config)==null?void 0:x.interceptors)==null?void 0:m.response)==null?void 0:S.success)==null?void 0:g.call(S,A))||A}catch(A){return Io.delete(e0(this.config)),((_=(y=(p=(b=this.config)==null?void 0:b.interceptors)==null?void 0:p.response)==null?void 0:y.error)==null?void 0:_.call(y,A))||Promise.reject(A)}})}getResponseData(r,e){if(e==="json")return r==null?void 0:r.json();if(e==="text")return r==null?void 0:r.text();if(e==="blob")return r==null?void 0:r.blob();if(e==="formData")return r==null?void 0:r.formData();if(e==="arrayBuffer")return r==null?void 0:r.arrayBuffer()}get(r,e){let{retry:t=0}=e||{};return Qw(()=>new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"GET"})),t)}post(r,e){return new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"post"}))}put(r,e){return re(e)&&(e={url:e}),new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"put"}))}delete(r,e){return re(e)&&(e={url:e}),new cc(this.config).init(Object.assign(re(r)?Object.assign(e||{},{url:r}):r,{method:"delete"}))}};function e0(r){let{url:e,method:t,params:i,data:s}=r;return`${e}-${t}-${JSON.stringify(t==="get"?i:s)}`}function Qw(r,e,t=0,i,s){return new Promise((n,a)=>{i=i||n,s=s||a;let o=r();o.then(i),o.catch(u=>{t<e?(t++,Qw(r,e,t,i,s)):s(u)})})}function eU(r=4,e){let t=e.length,i=[],s=0,n=new Array(r).fill(0);return n=n.map(()=>new Promise((a,o)=>{let u=()=>{if(s>=t)return a("done");let l=s;e[s++]().then(c=>{i[l]=c,u()}).catch(c=>o(c))};u()})),Promise.all(n).then(()=>i)}function tU(r,e){return xe(document,"visibilitychange",()=>document.visibilityState==="hidden"&&navigator.sendBeacon(r,e))}function rU(){try{let r=parent.documentElement,e=(r==null?void 0:r.cancelFullScreen)||(r==null?void 0:r.webkitCancelFullScreen)||(r==null?void 0:r.mozCancelFullScreen)||(r==null?void 0:r.exitFullScreen);if(e)e.call(r);else return new Error("\u5207\u6362\u5931\u8D25,\u53EF\u5C1D\u8BD5Esc\u9000\u51FA")}catch(r){throw new Error(r)}}function iU(){try{let r=document.documentElement,e=r.requestFullScreen||r.webkitRequestFullScreen||r.mozRequestFullScreen||r.msRequestFullScreen;if(e)e.call(r);else return new Error("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F")}catch(r){throw new Error(r)}}function sU(r){return async()=>{if(re(r)&&(r=Bt(r)||r),re(r))throw new Error(`${r} is not a HTMLVideoElement`);try{r!==document.pictureInPictureElement?await r.requestPictureInPicture():await document.exitPictureInPicture()}catch(e){throw new Error(e)}}}function nU(r,e){return new Promise((t,i)=>{navigator.mediaDevices.getDisplayMedia({video:!0}).then(s,i);function s(n){let a=lt("video",{autoplay:"",playsinline:"",muted:""});a.srcObject=n,re(r)&&(r=Bt(r)||r),re(r)&&i(new Error(`${r} container is not a HTMLElement`)),t("success"),n.getVideoTracks()[0].addEventListener("ended",()=>e("\u5DF2\u505C\u6B62\u5171\u4EAB")),r.appendChild(a)}})}function aU(r={width:640,height:480},e="video",t){if(!navigator)return console.error("Not support navigator");ko(r)&&(t=r,r={width:640,height:480});let i;return navigator.mediaDevices.getUserMedia({video:r}).then(s=>{if(i=re(e)?Bt(e):e,!r)return console.error("video element not found");i.srcObject=s,t&&(i.onloadedmetadata=()=>i.play())}),()=>i?i.paused?i.play():i.pause():t=!0}function oU(r={}){if(!navigator||!navigator.canShare)throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u5206\u4EAB");if(!r.files||navigator.canShare({files:r.files}))return navigator.share(r)}function uU(r=[],e){let t=lt("video"),{controls:i=!0,width:s,height:n,className:a,style:o}=e,u=e.container;return t.controls=i,s&&(t.width=s),n&&(t.height=n),a&&(t.className=a),o&&(t.style.cssText=o),xe(document,"DOMContentLoaded",c),xe(t,"timeupdate",()=>t.currentTime>=t.duration&&l()),{play(){t.paused?t.play():t.pause()},playReset:l,playRate(f=1){t.playbackRate=+f},playTime(f=0){t.currentTime+=+f},playProgress(f=0){t.currentTime=+f}};function l(){t.currentTime=0}function c(){let f=lt("source");r.forEach(({src:h,type:d})=>{let w=f.cloneNode();w.setAttribute("src",h),w.setAttribute("type",d),t.appendChild(w)}),u.appendChild(t)}}async function lU(r=String(new Date().getTime())){let e=await navigator.mediaDevices.getDisplayMedia({video:!0}),t=await navigator.mediaDevices.getUserMedia({audio:!0}),i=[];e.getVideoTracks().forEach(o=>i.push(o)),t.getAudioTracks().forEach(o=>i.push(o));let s=new MediaStream(i),n=new MediaRecorder(s),a=[];return n.ondataavailable=o=>{a.push(o.data)},n.onstop=()=>{let{stream:o,mimeType:u}=n;o.getTracks().forEach(f=>f.stop());let l=new Blob(a,{type:u}),c=URL.createObjectURL(l);Pw(c,`${r}.webm`)},n.start(),()=>n.stop()}function W5(r){return We(r)?r:[r]}function cU(r,e="zh"){let t=W5(r).map(Y5).join(`
|
|
124
124
|
`);K5(t,e)}function Y5(r){let{start:e,end:t,left:i,top:s,content:n,duration:a}=r,o=gw(e),u=gw(t||e+(a!=null?a:0));return`${o} --> ${u} line:${i}% position:${s}% ${n}`}function gw(r){let e=Math.floor(r/1e3),t=fc(r%1e3,3),i=Math.floor(e/60),s=fc(e%60,2),n=fc(Math.floor(i/60),2),a=fc(i%60,2);return`${n}:${a}:${s}.${t}`}function fc(r,e){if(String(r).length===e)return r;let t=e-String(r).length;return"0".repeat(t)+r}function K5(r,e){Xw.default.writeFile(`${e}.vtt`,r,"utf-8")}function fU(r){if(!navigator)return console.error("Not support navigator");let e=!1,t,i;return navigator.mediaDevices.getUserMedia({audio:!0}).then(n=>{let a=[],o=re(r)?Bt(r):r;if(!o)return console.error("audio element not found");t=new MediaRecorder(n),t.ondataavailable=u=>a.push(u.data),t.onstop=()=>{let u=new Blob(a,{type:"audio/ogg; codecs=opus"});a.length=0,i=window.URL.createObjectURL(u),o.src=i},e&&s()},()=>{console.error("\u6388\u6743\u5931\u8D25\uFF01")}),{toggle(){return t?s():e=!0},download(){Pw(i)}};function s(){return t.state==="recording"?t.stop():t.start()}}function hU(r){let e=lt("link",{rel:"stylesheet",href:r,type:"text/css"});return document.head.appendChild(e),()=>document.head.removeChild(e)}function pU(r){var e;try{let t=document.getElementsByTagName("script")[0],i=lt("script",{type:"text/javascript",src:r,async:""});return(e=t.parentNode)==null||e.insertBefore(i,t),()=>{var s;return(s=t.parentNode)==null?void 0:s.removeChild(i)}}catch(t){throw new Error(t)}}function dU(r=window){return{x:r.scrollX,y:r.scrollY}}function mU(){try{let r,e=d0(()=>{let t=document.documentElement.scrollTop||document.body.scrollTop;At(r)&&(r=t),(r<t&&r*8/7!==t||t===0)&&e(),window.scrollTo(0,r=7*t/8)},0)}catch(r){throw new Error(r)}}function gU(r,e){try{if(re(r)&&(r=Bt(r)),!r)return;r.scrollIntoView(Object.assign({behavior:"smooth"},e))}catch(t){throw new Error(t)}}var hc,yw={text:"",lang:"zh-CN",volume:1,rate:1,pitch:.5,voice:null};function yU(r){let e=bw(r),t=!0,i=()=>speechSynthesis.cancel();return r5(i),{cancel:i,pause:()=>speechSynthesis.pause(),resume:()=>speechSynthesis.resume(),speak:s=>{if(re(s)){if(s===e&&(t=!t,!t))return i();e=s}else if(s){let{text:n}=s;if(n===e&&(t=!t,!t))return i();e=n}s=s||e,s&&(bw(s),speechSynthesis.speak(hc))},isSpeaking:()=>speechSynthesis.speaking}}function bw(r){return hc=Object.assign(hc||new SpeechSynthesisUtterance,re(r)?{...yw,text:r}:{...yw,...r}),hc.text}var vw={continuous:!0,interimResults:!1,lang:"zh-CN",maxAlternatives:1};function bU(r=vw,e){let t=!1;Nr(r)&&(e=r,r=vw);let i=window.SpeechRecognition||window.webkitSpeechRecognition,s=new i;return Object.assign(s,r),s.onresult=n=>e==null?void 0:e(n.results),{toggle:()=>{t?s.stop():s.start(),t=!t},abort:()=>s.abort()}}function vU(){return new Promise((r,e)=>{let t=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.msIndexedDB;t||e(new Error("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301indexedDB"));let i=t.open("simon");i.onerror=function(){e(new Error("\u6570\u636E\u5E93\u6253\u5F00\u5931\u8D25"))};let s;i.onsuccess=function(n){var a;s=((a=n==null?void 0:n.target)==null?void 0:a.result).transaction(["simonDb"],"readwrite").objectStore("simonDb");function o(l){return new Promise((c,f)=>{let h=s.get(l);h.onsuccess=function(){c(h.result)},h.onerror=function(d){f(new Error(d))}})}function u(l,c,f){let h=s.put(l);h.onsuccess=function(){c("\u6570\u636E\u66F4\u65B0\u6210\u529F")},h.onerror=function(){f(new Error("\u6570\u636E\u66F4\u65B0\u5931\u8D25"))}}r({async set(l,c={}){let f=await o(c.key||l);return new Promise((h,d)=>{if(c.key=l,f)return u(c,h,d);let w=s.add(c);w.onsuccess=function(){h("\u6DFB\u52A0\u6210\u529F")},w.onerror=function(){d(new Error("\u6DFB\u52A0\u5931\u8D25"))}})},get:o,remove(l){return new Promise((c,f)=>{let h=s.delete(l);h.onsuccess=function(){c("\u5220\u9664\u6210\u529F")},h.onerror=function(){f(new Error("\u5220\u9664\u5931\u8D25"))}})}})},i.onupgradeneeded=function(n){var a;let o=(a=n==null?void 0:n.target)==null?void 0:a.result;o.objectStoreNames.contains("simonDb")||o.createObjectStore("simonDb",{keyPath:"key"})}})}var xU={get(r){try{let e=`${r}=`,t=document.cookie.split(";");for(let i=0;i<t.length;i++){let s=t[i].trim();if(s.indexOf(e)===0)return s.substring(e.length,s.length)}return""}catch(e){throw new Error(e)}},set(r,e,t){try{let i=new Date;i.setTime(i.getTime()+t*24*60*60*1e3);let s=`expires=${i.toUTCString()}`;document.cookie=`${r}=${e}; ${s}`}catch(i){throw new Error(i)}},delete(r){this.set(r,"",-1)}};function wU(){return{set(r,e){vt(r)?Object.keys(r).forEach(t=>localStorage.setItem(t,r[t])):localStorage.setItem(r,e)},get(r){return localStorage.getItem(r)},delete(r){We(r)?r.forEach(e=>localStorage.removeItem(e)):localStorage.removeItem(r)},clear(){localStorage.clear()}}}function SU(){return{set(r,e){vt(r)?Object.keys(r).forEach(t=>sessionStorage.setItem(t,r[t])):sessionStorage.setItem(r,e)},get(r){return sessionStorage.getItem(r)},delete(r){We(r)?r.forEach(e=>sessionStorage.removeItem(e)):sessionStorage.removeItem(r)},clear(){sessionStorage.clear()}}}function EU(r){let{data:e,filename:t=Vw(),title:i,filter:s}=r;if(!e)return;let n=typeof e!="object"?JSON.parse(e):e,a=`<table><tr>${i?i.map(o=>`<th align='center'>${o}</th>`).join(""):Object.keys(n[0]).map(o=>s&&s.includes(o)?"":`<th align='center'>${o}</th>`).join("")}</tr>`;for(let o=0;o<n.length;o++){let u="<tr>";for(let l in n[o])if(s){if(!s.includes(l)){let c=n[o][l]==null?"":n[o][l];if(re(c))u+=`<td>${c}</td>`;else{let{value:f,width:h,colspan:d=0,rowspan:w=0}=c;u+=`<td width=${h} colspan=${d} rowspan=${w} style="${xw(c)}">${f}</td>`}}}else{let c=n[o][l]==null?"":n[o][l];if(re(c))u+=`<td align='center'>${c}</td>`;else{let{value:f,width:h,colspan:d=0,rowspan:w=0}=c;u+=`<td align='center' width=${h} colspan=${d} rowspan=${w} style="${xw(c)}">${f}</td>`}}a+=`${u}</tr>`}a+="</table>",lt("a",{href:`data:application/vnd.ms-excel;charset=utf-8,${encodeURIComponent(J5(a))}`,style:"visibility:hidden",download:`${t}.xls`}).click()}function xw(r){let e="",{style:t="",background:i,color:s}=r;return i&&(e+=`background:${i};`),s&&(e+=`color:${s};`),e+=t}function J5(r){return`<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:x='urn:schemas-microsoft-com:office:excel' xmlns='http://www.w3.org/TR/REC-html40'><meta http-equiv="content-type" content="application/vnd.ms-excel; charset=UTF-8">
|
|
125
125
|
<meta http-equiv="content-type" content="application/vnd.ms-excel';charset=UTF-8"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body>${r}</body></html>`}function TU(r,e=0,t={}){vt(e)&&(t=e,e=0);let{id:i="id",pid:s="pid",children:n="children"}=t;return a(e)[0];function a(o){return r.filter(u=>u[s]===o).map(u=>({...u,[n]:a(u[i])}))}}function _U(r){var e,t;let i=r.split(","),s=(t=(e=i[0])==null?void 0:e.match(/:(.*?);/))==null?void 0:t[1],n=atob(i[1]),a=n.length,o=new Uint8Array(a);for(;a--;)o[a]=n.charCodeAt(a);return new Blob([o],{type:s})}function AU(r,e){var t,i;let s=r.split(","),n=(i=(t=s[0])==null?void 0:t.match(/:(.*?);/))==null?void 0:i[1],a=atob(s[1]),o=a.length,u=new Uint8Array(o);for(;o--;)u[o]=a.charCodeAt(o);return new File([u],e,{type:n})}function CU(r,e){e=e||0;let t=r.length-e,i=new Array(t);for(;t--;)i[t]=r[t+e];return i}function PU(r,e){return r.reduce((t,i)=>vt(i)?Object.keys(i).reduce((s,n)=>(e&&!e.includes(n)||(s[n]||(s[n]=[]),s[n].push(i[n])),s),t):t,{})}function IU(r={},e="children"){let t=[];return t.push({...r}),r[e].length&&Zw(r[e],t),t.filter(i=>delete i[e])}function Zw(r,e=[]){return r.reduce((t,i)=>(t.push({...i}),i.children.length?Zw(i.children,t):t),e)}function Q5(r){return new Promise((e,t)=>{let i=new FileReader;i.onload=function(){let s=new Uint8Array(i.result);e(s)},i.onerror=t,i.readAsArrayBuffer(r)})}async function NU(r){let e=await Q5(r);return new Blob([e],{type:"application/pdf;chartset=UTF-8"})}function kU(r){return window.URL.createObjectURL(r)}async function OU(r){let e=await c0.default.readFile(f0.default.resolve(eS.default.cwd(),r),"utf-8");return{name:"vite-plugin-copy-html",writeBundle(t,i){let s=`${t.dir}/index.html`,n=[],a=[];for(let o in i)o.endsWith(".css")?n.push(o):o.endsWith(".js")&&a.push(o);n.length&&(e=e.replace(/<\/head>/,()=>`</head>
|
|
126
126
|
${n.map(o=>`<link rel="stylesheet" href="/${o}">`)}`)),a.length&&(e=e.replace(/<\/body>/,()=>` ${a.map(o=>`<script src="/${o}" type="module"><\/script>`)}
|
|
@@ -132,20 +132,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
132
132
|
`);return n!==-1&&(e=mS(e,s,i,n)),i+e+s};Object.defineProperties(Uo.prototype,On);var hM=Uo(),kq=Uo({level:yS?yS.level:0});var mr=hM;var A0=K(require("process"),1);var IS=K(require("process"),1),NS=K(SS(),1),kS=K(PS(),1),dM=(0,NS.default)(()=>{(0,kS.default)(()=>{IS.default.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),OS=dM;var Cc=!1,Rn={};Rn.show=(r=A0.default.stderr)=>{!r.isTTY||(Cc=!1,r.write("\x1B[?25h"))};Rn.hide=(r=A0.default.stderr)=>{!r.isTTY||(OS(),Cc=!0,r.write("\x1B[?25l"))};Rn.toggle=(r,e)=>{r!==void 0&&(Cc=r),Cc?Rn.show(e):Rn.hide(e)};var C0=Rn;var ru=K(RS(),1);var Xt=K(require("process"),1);function $o(){return Xt.default.platform!=="win32"?Xt.default.env.TERM!=="linux":Boolean(Xt.default.env.CI)||Boolean(Xt.default.env.WT_SESSION)||Boolean(Xt.default.env.TERMINUS_SUBLIME)||Xt.default.env.ConEmuTask==="{cmd::Cmder}"||Xt.default.env.TERM_PROGRAM==="Terminus-Sublime"||Xt.default.env.TERM_PROGRAM==="vscode"||Xt.default.env.TERM==="xterm-256color"||Xt.default.env.TERM==="alacritty"||Xt.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var gM={info:mr.blue("\u2139"),success:mr.green("\u2714"),warning:mr.yellow("\u26A0"),error:mr.red("\u2716")},yM={info:mr.blue("i"),success:mr.green("\u221A"),warning:mr.yellow("\u203C"),error:mr.red("\xD7")},bM=$o()?gM:yM,jo=bM;function P0({onlyFirst:r=!1}={}){let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,r?void 0:"g")}function I0(r){if(typeof r!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof r}\``);return r.replace(P0(),"")}var tT=K(HS(),1);function k0({stream:r=process.stdout}={}){return Boolean(r&&r.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var tr=K(require("process"),1),ZE=K(require("readline"),1),eT=K(XE(),1);var _D=3,ri,eu,$n,Mi,Gc=class{constructor(){ze(this,ri,0);ze(this,eu,new eT.BufferListStream);ze(this,$n,void 0);ze(this,Mi,void 0);F(this,eu).pipe(tr.default.stdout);let e=this;ge(this,$n,function(t,i,...s){let{stdin:n}=tr.default;if(F(e,ri)>0||n.emit===F(e,$n)){if(t==="keypress")return;t==="data"&&i.includes(_D)&&tr.default.emit("SIGINT"),Reflect.apply(F(e,$n),this,[t,i,...s])}else Reflect.apply(tr.default.stdin.emit,this,[t,i,...s])})}start(){Xn(this,ri)._++,F(this,ri)===1&&this._realStart()}stop(){if(F(this,ri)<=0)throw new Error("`stop` called more times than `start`");Xn(this,ri)._--,F(this,ri)===0&&this._realStop()}_realStart(){tr.default.platform!=="win32"&&(ge(this,Mi,ZE.default.createInterface({input:tr.default.stdin,output:F(this,eu)})),F(this,Mi).on("SIGINT",()=>{tr.default.listenerCount("SIGINT")===0?tr.default.emit("SIGINT"):(F(this,Mi).close(),tr.default.kill(tr.default.pid,"SIGINT"))}))}_realStop(){tr.default.platform!=="win32"&&(F(this,Mi).close(),ge(this,Mi,void 0))}};ri=new WeakMap,eu=new WeakMap,$n=new WeakMap,Mi=new WeakMap;var Wc,Li,jn,Ts,ii,Xe,Mr,ct,_s,Vn,Lr,Dr,Rr,zn,yr,lm=class{constructor(e){ze(this,Li,0);ze(this,jn,!1);ze(this,Ts,0);ze(this,ii,0);ze(this,Xe,void 0);ze(this,Mr,void 0);ze(this,ct,void 0);ze(this,_s,void 0);ze(this,Vn,void 0);ze(this,Lr,void 0);ze(this,Dr,void 0);ze(this,Rr,void 0);ze(this,zn,void 0);ze(this,yr,void 0);be(this,"color");Wc||(Wc=new Gc),typeof e=="string"&&(e={text:e}),ge(this,Xe,{color:"cyan",stream:tu.default.stderr,discardStdin:!0,hideCursor:!0,...e}),this.color=F(this,Xe).color,this.spinner=F(this,Xe).spinner,ge(this,Vn,F(this,Xe).interval),ge(this,ct,F(this,Xe).stream),ge(this,Lr,typeof F(this,Xe).isEnabled=="boolean"?F(this,Xe).isEnabled:k0({stream:F(this,ct)})),ge(this,Dr,typeof F(this,Xe).isSilent=="boolean"?F(this,Xe).isSilent:!1),this.text=F(this,Xe).text,this.prefixText=F(this,Xe).prefixText,this.indent=F(this,Xe).indent,tu.default.env.NODE_ENV==="test"&&(this._stream=F(this,ct),this._isEnabled=F(this,Lr),Object.defineProperty(this,"_linesToClear",{get(){return F(this,Li)},set(t){ge(this,Li,t)}}),Object.defineProperty(this,"_frameIndex",{get(){return F(this,ii)}}),Object.defineProperty(this,"_lineCount",{get(){return F(this,Ts)}}))}get indent(){return F(this,Rr)}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");ge(this,Rr,e),this.updateLineCount()}get interval(){return F(this,Vn)||F(this,Mr).interval||100}get spinner(){return F(this,Mr)}set spinner(e){if(ge(this,ii,0),ge(this,Vn,void 0),typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");ge(this,Mr,e)}else if(!$o())ge(this,Mr,ru.default.line);else if(e===void 0)ge(this,Mr,ru.default.dots);else if(e!=="default"&&ru.default[e])ge(this,Mr,ru.default[e]);else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return F(this,zn)}set text(e){ge(this,zn,e||""),this.updateLineCount()}get prefixText(){return F(this,yr)}set prefixText(e){ge(this,yr,e||""),this.updateLineCount()}get isSpinning(){return F(this,_s)!==void 0}getFullPrefixText(e=F(this,yr),t=" "){return typeof e=="string"&&e!==""?e+t:typeof e=="function"?e()+t:""}updateLineCount(){let e=F(this,ct).columns||80,t=this.getFullPrefixText(F(this,yr),"-");ge(this,Ts,0);for(let i of I0(" ".repeat(F(this,Rr))+t+"--"+F(this,zn)).split(`
|
|
133
133
|
`))ge(this,Ts,F(this,Ts)+Math.max(1,Math.ceil((0,tT.default)(i)/e)))}get isEnabled(){return F(this,Lr)&&!F(this,Dr)}set isEnabled(e){if(typeof e!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");ge(this,Lr,e)}get isSilent(){return F(this,Dr)}set isSilent(e){if(typeof e!="boolean")throw new TypeError("The `isSilent` option must be a boolean");ge(this,Dr,e)}frame(){let{frames:e}=F(this,Mr),t=e[F(this,ii)];this.color&&(t=mr[this.color](t)),ge(this,ii,++Xn(this,ii)._%e.length);let i=typeof F(this,yr)=="string"&&F(this,yr)!==""?F(this,yr)+" ":"",s=typeof this.text=="string"?" "+this.text:"";return i+t+s}clear(){if(!F(this,Lr)||!F(this,ct).isTTY)return this;F(this,ct).cursorTo(0);for(let e=0;e<F(this,Li);e++)e>0&&F(this,ct).moveCursor(0,-1),F(this,ct).clearLine(1);return(F(this,Rr)||this.lastIndent!==F(this,Rr))&&F(this,ct).cursorTo(F(this,Rr)),this.lastIndent=F(this,Rr),ge(this,Li,0),this}render(){return F(this,Dr)?this:(this.clear(),F(this,ct).write(this.frame()),ge(this,Li,F(this,Ts)),this)}start(e){return e&&(this.text=e),F(this,Dr)?this:F(this,Lr)?this.isSpinning?this:(F(this,Xe).hideCursor&&C0.hide(F(this,ct)),F(this,Xe).discardStdin&&tu.default.stdin.isTTY&&(ge(this,jn,!0),Wc.start()),this.render(),ge(this,_s,setInterval(this.render.bind(this),this.interval)),this):(this.text&&F(this,ct).write(`- ${this.text}
|
|
134
134
|
`),this)}stop(){return F(this,Lr)?(clearInterval(F(this,_s)),ge(this,_s,void 0),ge(this,ii,0),this.clear(),F(this,Xe).hideCursor&&C0.show(F(this,ct)),F(this,Xe).discardStdin&&tu.default.stdin.isTTY&&F(this,jn)&&(Wc.stop(),ge(this,jn,!1)),this):this}succeed(e){return this.stopAndPersist({symbol:jo.success,text:e})}fail(e){return this.stopAndPersist({symbol:jo.error,text:e})}warn(e){return this.stopAndPersist({symbol:jo.warning,text:e})}info(e){return this.stopAndPersist({symbol:jo.info,text:e})}stopAndPersist(e={}){if(F(this,Dr))return this;let t=e.prefixText||F(this,yr),i=e.text||this.text,s=typeof i=="string"?" "+i:"";return this.stop(),F(this,ct).write(`${this.getFullPrefixText(t," ")}${e.symbol||" "}${s}
|
|
135
|
-
`),this}};Li=new WeakMap,jn=new WeakMap,Ts=new WeakMap,ii=new WeakMap,Xe=new WeakMap,Mr=new WeakMap,ct=new WeakMap,_s=new WeakMap,Vn=new WeakMap,Lr=new WeakMap,Dr=new WeakMap,Rr=new WeakMap,zn=new WeakMap,yr=new WeakMap;function cm(r){return new lm(r)}var Hn=/-DW\s*$/,Di=/-W\s*$/,Gn=/-Dw\s*$/,Wn=/-w\s*$/,Yc=/-D\s*$/,Kc=/-d\s*$/;async function Yn(r){var t,i;let e=process.cwd();switch(await Ci()){case"pnpm":if(!hr(fm.default.resolve(e,"./pnpm-workspace.yaml"))){if(Hn.test(r))return r.replace(Hn,"-D");if(Gn.test(r))return r.replace(Gn,"-D");if(Di.test(r))return r.replace(Di,"");if(Wn.test(r))return r.replace(Wn,"")}return hr("./pnpm-workspace.yaml")?Yc.test(r)?r.replace(Yc,"-Dw"):Kc.test(r)?r.replace(Kc,"-Dw"):!r||Wn.test(r)?r:`${r} -w`:Hn.test(r)?r.replace(Hn,"-Dw"):Di.test(r)?r.replace(Di,"-w"):r;case"yarn":if(!((t=await yc(fm.default.resolve(e,"./package.json")))!=null&&t.workspaces)){if(Gn.test(r))return r.replace(Gn,"-D");if(Hn.test(r))return r.replace(Hn,"-D");if(Di.test(r))return r.replace(Di,"");if(Wn.test(r))return r.replace(Wn,"")}return(i=await yc())!=null&&i.workspaces?Yc.test(r)?r.replace(Yc,"-DW"):Kc.test(r)?r.replace(Kc,"-DW"):!r||Di.test(r)?r:`${r} -W`:Gn.test(r)?r.replace(Gn,"-DW"):Di.test(r)?r.replace(Wn,"-W"):r;default:return r}}async function Ft(r){let{color:e,spinner:t}=await AD();return cm({text:r,spinner:t,color:e,discardStdin:!0}).start()}async function AD(){let{result:r
|
|
136
|
-
`:`Updating dependency ...
|
|
137
|
-
`,s=e?`Installed ${e} successfully! \u{1F60A}`:"Updated dependency successfully! \u{1F60A}",n=e?`Failed to install ${e} \u{1F62D}`:"Failed to update dependency! \u{1F62D}",a;try{a=await Yn(r)}catch(w){console.log(Jc.default.red(`package.json has not been found in ${hm.default.cwd()}`));return}let o="pipe",u,{result:l}=await te("echo $PI_DEFAULT","pipe"),c=await Ci(),f=l==="yarn"||c==="yarn"?a?"add":"":"install";c==="npm"?l?(t=`${l} ${f}`,u=await Ft(i)):o="inherit":(t=`${c} ${f}`,u=await Ft(i));let{status:h,result:d}=await pr({params:`${t}${a?` ${a}`:""}`,stdio:o});if(o==="inherit"&&(u=await Ft("")),h===0?u.succeed(Jc.default.green(s)):u.fail(Jc.default.red(d?`${d}
|
|
135
|
+
`),this}};Li=new WeakMap,jn=new WeakMap,Ts=new WeakMap,ii=new WeakMap,Xe=new WeakMap,Mr=new WeakMap,ct=new WeakMap,_s=new WeakMap,Vn=new WeakMap,Lr=new WeakMap,Dr=new WeakMap,Rr=new WeakMap,zn=new WeakMap,yr=new WeakMap;function cm(r){return new lm(r)}var Hn=/-DW\s*$/,Di=/-W\s*$/,Gn=/-Dw\s*$/,Wn=/-w\s*$/,Yc=/-D\s*$/,Kc=/-d\s*$/;async function Yn(r){var t,i;let e=process.cwd();switch(await Ci()){case"pnpm":if(!hr(fm.default.resolve(e,"./pnpm-workspace.yaml"))){if(Hn.test(r))return r.replace(Hn,"-D");if(Gn.test(r))return r.replace(Gn,"-D");if(Di.test(r))return r.replace(Di,"");if(Wn.test(r))return r.replace(Wn,"")}return hr("./pnpm-workspace.yaml")?Yc.test(r)?r.replace(Yc,"-Dw"):Kc.test(r)?r.replace(Kc,"-Dw"):!r||Wn.test(r)?r:`${r} -w`:Hn.test(r)?r.replace(Hn,"-Dw"):Di.test(r)?r.replace(Di,"-w"):r;case"yarn":if(!((t=await yc(fm.default.resolve(e,"./package.json")))!=null&&t.workspaces)){if(Gn.test(r))return r.replace(Gn,"-D");if(Hn.test(r))return r.replace(Hn,"-D");if(Di.test(r))return r.replace(Di,"");if(Wn.test(r))return r.replace(Wn,"")}return(i=await yc())!=null&&i.workspaces?Yc.test(r)?r.replace(Yc,"-DW"):Kc.test(r)?r.replace(Kc,"-DW"):!r||Di.test(r)?r:`${r} -W`:Gn.test(r)?r.replace(Gn,"-DW"):Di.test(r)?r.replace(Wn,"-W"):r;default:return r}}async function Ft(r){let{color:e,spinner:t}=await AD();return cm({text:r,spinner:t,color:e,discardStdin:!0}).start()}async function AD(){let[{result:r},{result:e}]=await Promise.all([X("echo $PI_COLOR","pipe"),X("echo $PI_SPINNER","pipe")]);return{color:r||"yellow",spinner:e||"star"}}var rT="0.0.42";function iT(r){let e=r[0];e==="-v"||e==="--version"?(X(`gum style --foreground 212 --border-foreground 212 --border double --align center --width 50 --margin "1 2" --padding "2 4" 'pi version:${rT}' 'Please give me a \u{1F31F} for my efforts'`),process.exit(0)):(e==="-h"||e==="--help")&&(X(`gum style --foreground 212 --border-foreground 212 --border double --align left --width 50 --margin "1 2" --padding "1 1" 'PI Commands:' '~ pi: install package' '~ pix: npx package' '~ pui: uninstall package' '~ prun: run package script' '~ pinit: package init' '~ pbuild: go build | cargo build' '~ pfind: find monorepo of yarn or pnpm' '~ pa: agent alias' '~ pu: package upgrade' '~ pci: package clean install' '~ pil: package latest install'`),process.exit(0))}async function sT(){let{status:r}=X("gum -v","pipe");r===1&&await X("brew install gum","pipe");let{status:e}=X("ni -v","pipe");e===1&&await X("npm i -g @antfu/ni","pipe");let{status:t}=X("ccommand -v","pipe");t===1&&await X("npm i -g ccommand","pipe")}var hm=K(require("process"),1);var Jc=K(Bo(),1);async function Kn(r,e,t="ni"){let i=e?`Installing ${e} ...`:"Updating dependency ...",s=e?`Installed ${e} successfully! \u{1F60A}`:"Updated dependency successfully! \u{1F60A}",n=e?`Failed to install ${e} \u{1F62D}`:"Failed to update dependency! \u{1F62D}",a;try{a=await Yn(r)}catch(m){console.log(Jc.default.red(`package.json has not been found in ${hm.default.cwd()}`));return}let o="pipe",u,[{result:l},{result:c},f]=await Promise.all([X("echo $PI_DEFAULT","pipe"),X("echo $PI_MaxSockets","pipe"),Ci()]),h=c||4,d=l==="yarn"||f==="yarn"?a?"add":"":"install";f==="npm"?l?(t=`${l} ${d}`,u=await Ft(i)):o="inherit":(t=`${f} ${d}`,u=await Ft(i));let w=f==="npm"?` --max-sockets=${h}`:f==="yarn"?` --mutex network --network-concurrency ${h}`:"",{status:v,result:x}=await pr({params:`${t}${a?` ${a}`:w}`,stdio:o});if(o==="inherit"&&(u=await Ft("")),v===0?u.succeed(Jc.default.green(s)):u.fail(Jc.default.red(x?`${x}
|
|
138
136
|
|
|
139
|
-
${n}`:n)),
|
|
137
|
+
${n}`:n)),x){let m=/ No matching version found for ([\w\-\_@\^.]+)/,S=x.match(m);if(S){let g=S[1];X(`pi ${g}`)}}hm.default.exit()}function nT(){return X("na")}function aT(r,e){return Kn(r,e,"nci")}function oT(r){return X(`ccommand find ${r}`)}async function uT(r,e){let t=Ro(r,"@latest "),i="",s=/(-[dDwW]+)/g;(await Yn(t)).replace(s,(a,o)=>(i+=` ${o}`,a.replace(o,"")));let n=e?Ro(`${e} `,"@latest ").trim()+i:`${i}`;return Kn(n,n)}async function lT(){switch(console.log("Initializing project..."),await Ci()){case"npm":X("npm init -y");return;case"yarn":X("yarn init -y");return;case"pnpm":X("pnpm init -y");return;default:X("npm init -y")}}async function cT(r){switch(Ci()){case"bun":return X(`bunx ${r}`);default:return X(`npx ${r}`)}}function fT(r){return X(`ccommand ${r}`)}function hT(){return X("nu")}var pm=K(Bo(),1);async function pT(r,e){let t=`Uninstalling ${e} ...
|
|
140
138
|
`,i=`
|
|
141
139
|
UnInstalled ${e} successfully! \u{1F60A}`,s=`
|
|
142
140
|
Failed to uninstall ${e} \u{1F62D}`;e||(console.log("Need to specify an uninstall package name"),process.exit(1));let n=await Ft(t),{status:a}=await pr(`nun ${r}`);a===0?n.succeed(pm.default.green(i)):n.fail(pm.default.red(s)),process.exit()}var dT=K(require("process"),1);var dm=K(Bo(),1);async function mT(r,e,t="ni"){let i=e?`Installed ${e} successfully! \u{1F60A}`:"Updated dependency successfully! \u{1F60A}",s=e?`Failed to install ${e} \u{1F62D}`:"Failed to update dependency! \u{1F62D}",n="--prefer-offline",a=await Yn(r),{status:o,result:u}=await pr({params:`${t} ${a} ${n}`,stdio:"inherit"}),l=await Ft("");o===0?l.succeed(dm.default.green(i)):l.fail(dm.default.red(u?`${u}
|
|
143
141
|
|
|
144
142
|
${s}`:s)),dT.default.exit()}var PD=As.default.cwd(),gT={pi:Kn,pix:cT,pa:nT,pui:pT,pu:hT,pil:uT,pci:aT,prun:fT,pinit:lT,pfind:oT,pio:mT};async function bT(){let r=As.default.argv[1],e=r.lastIndexOf("/")+1,t=r.slice(e,r.length),i=As.default.argv.slice(2);iT(i);let s=Ro(i.join(" ")).trim();if(!Kw(PD)){if(Dw()){if(t==="pi"){let a=await Ft(`Installing ${s} ...
|
|
145
143
|
`),{status:o}=await pr(`go get ${s}`);o===0?a.succeed(Ut.default.green("Installed successfully! \u{1F60A}")):a.fail(Ut.default.red("Failed to install \u{1F62D}"))}else if(t==="pui"){let a=await Ft(`Uninstalling ${s} ...
|
|
146
|
-
`),{status:o}=await pr(`go clean ${s}`);o===0?a.succeed(Ut.default.green("Uninstalled successfully! \u{1F60A}")):a.fail(Ut.default.red("Failed to uninstall \u{1F62D}"))}else if(t==="prun"){let a=s?s.endsWith(".go")?[`**/${s}`]:[`**/${s}.go`,`**/${s}/main.go`]:"main.go",o=(await(0,yT.default)(a))[0];o||(console.log(Ut.default.red("No such file")),As.default.exit(1)),
|
|
144
|
+
`),{status:o}=await pr(`go clean ${s}`);o===0?a.succeed(Ut.default.green("Uninstalled successfully! \u{1F60A}")):a.fail(Ut.default.red("Failed to uninstall \u{1F62D}"))}else if(t==="prun"){let a=s?s.endsWith(".go")?[`**/${s}`]:[`**/${s}.go`,`**/${s}/main.go`]:"main.go",o=(await(0,yT.default)(a))[0];o||(console.log(Ut.default.red("No such file")),As.default.exit(1)),X(`go run ${o}`)}else t==="pinit"?X(`go mod init ${s}`):t==="pbuild"?X(`go build ${s}`):console.log(Ut.default.red("The commands is not supported"));As.default.exit()}if(Fw()){if(t==="pi"){let a=await Ft(`Installing ${s} ...
|
|
147
145
|
`),{status:o}=await pr(`cargo install ${s}`);o===0?a.succeed(Ut.default.green("Installed successfully! \u{1F60A}")):a.fail(Ut.default.red("Failed to install \u{1F62D}"))}else if(t==="pui"){let a=await Ft(`Uninstalling ${s} ...
|
|
148
|
-
`),{status:o}=await pr(`cargo uninstall ${s}`);o===0?a.succeed(Ut.default.green("Uninstalled successfully! \u{1F60A}")):a.fail(Ut.default.red("Failed to uninstall \u{1F62D}"))}else t==="prun"?
|
|
146
|
+
`),{status:o}=await pr(`cargo uninstall ${s}`);o===0?a.succeed(Ut.default.green("Uninstalled successfully! \u{1F60A}")):a.fail(Ut.default.red("Failed to uninstall \u{1F62D}"))}else t==="prun"?X(`cargo run ${s}`):t==="pinit"?X(`cargo init ${s}`):t==="pbuild"?X(`cargo build ${s}`):console.log(Ut.default.red("The commands is not supported"));As.default.exit()}if(!gT[t]){console.log(Ut.default.yellow("The command does not exist, please execute pi -h to view the help"));return}}let n=i.filter(a=>!a.startsWith("-")).join(" ");await sT(),gT[t](s,n)}bT();0&&(module.exports={setup});
|
|
149
147
|
/*!
|
|
150
148
|
* The buffer module from node.js, for the browser.
|
|
151
149
|
*
|