diff --git a/dist/assets/dashboard.55c05c67.js b/dist/assets/dashboard.e4df7e81.js similarity index 99% rename from dist/assets/dashboard.55c05c67.js rename to dist/assets/dashboard.e4df7e81.js index 3350b32..91f9e51 100644 --- a/dist/assets/dashboard.55c05c67.js +++ b/dist/assets/dashboard.e4df7e81.js @@ -1 +1 @@ -import{o as e,u as a,S as l,L as t,T as u}from"./index.e8e9c4ba.js";/* empty css *//* empty css */import{i as n}from"./typed.8fe96a35.js";import{d as o,f as s,x as d,X as r,a2 as c,o as v,q as i,b as p,a3 as f,k as A,u as b,a as m,g as h,a4 as C,a5 as g,a6 as y,c as B,m as w,F,a7 as V,w as T,a8 as Q,a9 as U,aa as j,l as q,s as X,ab as k,ac as P,ad as x}from"./acro-design.370f9722.js";/* empty css */import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const E=h("i",{class:"fa-solid fa-rotate-left"},null,-1),M=h("i",{class:"fa-solid fa-ban"},null,-1),N=h("span",{class:"base-typed-container"},null,-1),H=h("br",null,null,-1),z=o({setup(a){const l=s(!1);let t=s(""),u=s(""),o=s(null),h=s(null);const y=s(!1),B=()=>{o.value=new n(".base-typed-container",{strings:[t.value],typeSpeed:60,cursorChar:" /",shuffle:!0,onStringTyped:function(){clearTimeout(h.value),l.value&&(h.value=setTimeout((()=>{o.value.destroy(),w()}),9e3))}})},w=()=>{try{fetch("https://api.vvhan.com/api/ian?type=json").then((async e=>{let a=await e.json();t.value=a.data.vhan,u.value=a.data.source,B()}))}catch(e){}};d((()=>{w()}));const F=()=>{var e;clearTimeout(h.value),l.value&&(null==(e=o.value)||e.destroy(),w())};return e((()=>{var e;y.value=!0,clearTimeout(h.value),null==(e=o.value)||e.destroy()})),r((()=>{y.value&&(B(),y.value=!1)})),(e,a)=>{const t=c,n=C,o=g;return v(),i(o,{bordered:!1,class:"base-typed"},{title:p((()=>[f(A(b(u)||"Welcome"),1)])),extra:p((()=>[m(n,{type:"button",modelValue:l.value,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),onChange:F},{default:p((()=>[m(t,{value:!0},{default:p((()=>[E])),_:1}),m(t,{value:!1},{default:p((()=>[M])),_:1})])),_:1},8,["modelValue"])])),default:p((()=>[N,H])),_:1})}}});const O=["src","onClick"],G=o({setup(e){const a=s([]),l=s(1);return fetch("https://api.vvhan.com/api/douban").then((async e=>{const l=await e.json();a.value=l.data})),(e,t)=>{const u=V,n=y,o=g;return v(),i(o,{bordered:!1,class:"base-carousel"},{title:p((()=>[f(A(a.value[l.value-1]&&a.value[l.value-1].title),1)])),extra:p((()=>[f(A(a.value[l.value-1]&&a.value[l.value-1].info.pingfen)+" 分",1)])),default:p((()=>[m(n,{current:l.value,"onUpdate:current":t[0]||(t[0]=e=>l.value=e),"indicator-position":"outer","animation-name":"card",class:"w-full h-3/4","auto-play":!0,"indicator-type":"dot","show-arrow":"hover"},{default:p((()=>[(v(!0),B(F,null,w(a.value,(e=>(v(),i(u,{class:"cursor-pointer",key:e.title},{default:p((()=>{var a;return[h("img",{src:null==(a=null==e?void 0:e.info)?void 0:a.imgurl,class:"h-full m-auto",onClick:a=>(e=>{var a;window.open(null==(a=null==e?void 0:e.info)?void 0:a.url)})(e)},null,8,O)]})),_:2},1024)))),128))])),_:1},8,["current"])])),_:1})}}});const I={key:0,class:"fa-regular fa-snowflake"},S={key:1,class:"fa-solid fa-clover"},D={key:2,class:"fa-solid fa-fan"},K=h("i",{class:"fa-solid fa-ban"},null,-1),L={key:0,class:"fa-solid fa-sun"},J={key:1,class:"fa-solid fa-moon"},R=o({props:{cardClass:String},setup(e){const n=e,o=a(),d=s({}),r=s([{label:"白羊座",value:"aries"},{label:"金牛座",value:"taurus"},{label:"双子座",value:"gemini"},{label:"巨蟹座",value:"cancer"},{label:"狮子座",value:"leo"},{label:"处女座",value:"virgo"},{label:"天秤座",value:"libra"},{label:"天蝎座",value:"scorpio"},{label:"射手座",value:"sagittarius"},{label:"摩羯座",value:"capricorn"},{label:"水瓶座",value:"aquarius"},{label:"双鱼座",value:"pisces"}]),h=s([{label:"今天",value:"today"},{label:"明天",value:"nextday"},{label:"本周",value:"week"},{label:"今年",value:"year"},{label:"❤️",value:"love"}]),y=s("aries"),V=s("today"),x=s([]),E=s([]);return T((()=>(async()=>{var e,a,l,t,u,n;try{let o=await fetch(`https://api.vvhan.com/api/horoscope?type=${y.value}&time=${V.value}`);const s=await o.json();s.success&&(d.value=Object.assign(d.value,s.data),E.value=Object.assign([],[{label:"更新时间",value:d.value.time},{label:"综合运势",value:d.value.fortune.all},{label:"爱情运势",value:d.value.fortune.love},{label:"学业工作",value:d.value.fortune.work},{label:"财富运势",value:d.value.fortune.money},{label:"健康指数",value:null==(a=null==(e=d.value)?void 0:e.index)?void 0:a.health},{label:"商谈指数",value:null==(t=null==(l=d.value)?void 0:l.index)?void 0:t.discuss},{label:"幸运颜色",value:d.value.luckycolor},{label:"幸运数字",value:d.value.luckynumber},{label:"速配星座",value:d.value.luckyconstellation},{label:"短评",value:d.value.shortcomment}]),x.value=Object.assign([],[{label:"综合运势",value:null==(n=null==(u=d.value)?void 0:u.fortunetext)?void 0:n.all},{label:"爱情运势",value:d.value.fortunetext.love},{label:"学业工作",value:d.value.fortunetext.work},{label:"财富运势",value:d.value.fortunetext.money},{label:"健康运势",value:d.value.fortunetext.health}]))}catch(o){}})())),(e,a)=>{const s=k,T=Q,M=U,N=j,H=g,z=P,O=c,G=C;return v(),B(F,null,[m(z,{span:8},{default:p((()=>[m(H,{bordered:!1,class:q([n.cardClass,"!rounded-b-lg"])},{title:p((()=>[m(M,{fill:"",align:"center"},{default:p((()=>[m(T,{placeholder:"Please select ...",modelValue:y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>y.value=e)},{default:p((()=>[(v(!0),B(F,null,w(r.value,(e=>(v(),i(s,{value:e.value,key:e.value},{default:p((()=>[f(A(e.label),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue"]),m(T,{placeholder:"Please select ...",modelValue:V.value,"onUpdate:modelValue":a[1]||(a[1]=e=>V.value=e)},{default:p((()=>[(v(!0),B(F,null,w(h.value,(e=>(v(),i(s,{value:e.value,key:e.value},{default:p((()=>[f(A(e.label),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue"])])),_:1})])),default:p((()=>[m(N,{class:"h-5/6 w-full overflow-auto",data:E.value,fill:"",column:2},null,8,["data"])])),_:1},8,["class"])])),_:1}),m(z,{span:16},{default:p((()=>[m(H,{bordered:!1,class:q([n.cardClass,"!rounded-bl-lg"])},{title:p((()=>[f(A(d.value.title),1)])),extra:p((()=>[m(G,{type:"button",modelValue:b(o).specialEfficiency,"onUpdate:modelValue":a[2]||(a[2]=e=>b(o).specialEfficiency=e),onChange:b(o).setSpecialEfficiency},{default:p((()=>[(v(!0),B(F,null,w(b(l),(e=>(v(),i(O,{value:e,key:e},{default:p((()=>[e===b(l).XH?(v(),B("i",I)):X("",!0),e===b(l).YH?(v(),B("i",S)):X("",!0),e===b(l).MH?(v(),B("i",D)):X("",!0)])),_:2},1032,["value"])))),128)),m(O,{value:!1},{default:p((()=>[K])),_:1})])),_:1},8,["modelValue","onChange"]),m(G,{type:"button",class:"ml-4",modelValue:b(o).lang,"onUpdate:modelValue":a[3]||(a[3]=e=>b(o).lang=e),onChange:b(o).setLang},{default:p((()=>[(v(!0),B(F,null,w(b(t),(e=>(v(),i(O,{value:e,key:e},{default:p((()=>[f(A(e.toLocaleUpperCase()),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onChange"]),m(G,{type:"button",class:"ml-4",modelValue:b(o).theme,"onUpdate:modelValue":a[4]||(a[4]=e=>b(o).theme=e),onChange:b(o).setTheme},{default:p((()=>[(v(!0),B(F,null,w(b(u),(e=>(v(),i(O,{value:e,key:e},{default:p((()=>[e===b(u).LIGHT?(v(),B("i",L)):X("",!0),e===b(u).DARK?(v(),B("i",J)):X("",!0)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onChange"])])),default:p((()=>[m(N,{class:"h-5/6 w-full overflow-auto",data:x.value,fill:"",column:1},null,8,["data"])])),_:1},8,["class"])])),_:1})],64)}}});const W={class:"absolute bottom-1 right-1.5"},Z=h("div",{class:"h-4/5 overflow-scroll"},[h("span",{class:"weibo-container"})],-1),Y=o({setup(e){s([]);const a=s(),l=s("0 / 0");return d((()=>{fetch("https://api.vvhan.com/api/60s?type=json").then((async e=>{const t=await e.json();a.value=new n(".weibo-container",{strings:t.data,typeSpeed:60,cursorChar:" /",backDelay:6e3,fadeOut:!0,preStringTyped(e){l.value=`${e+1} / ${t.data.length}`},onStringTyped(e){}})}))})),(e,a)=>{const t=g;return v(),i(t,{bordered:!1,class:"base-weibo h-auto overflow-hidden py-1 relative"},{default:p((()=>[h("div",W,A(l.value),1),Z])),_:1})}}}),_=o({setup(e){const a=s(null);return d((()=>{a.value=echarts.init(document.getElementById("base-wordcloud"));(new Image).src="data:image/png;base64,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",fetch("https://api.vvhan.com/api/wbhot").then((async e=>{const l=await e.json();b(a).on("click",(function(e){var a;window.open(null==(a=null==e?void 0:e.data)?void 0:a.url)})),b(a).setOption({series:[{type:"wordCloud",shape:"circle",keepAspect:!1,left:"center",top:"center",width:"100%",height:"100%",right:"center",bottom:"center",sizeRange:[8,22],rotationRange:[0,0],rotationStep:45,gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,layoutAnimation:!0,textStyle:{color:function(){return"rgb("+[Math.round(160*Math.random()),Math.round(160*Math.random()),Math.round(160*Math.random())].join(",")+")"}},emphasis:{focus:"self",textStyle:{textShadowBlur:10}},data:l.data.map(((e,a)=>Object.assign(e,{value:e.hot/100,name:e.title})))}]})}))})),(e,a)=>{const l=g;return v(),i(l,{bordered:!1,id:"base-wordcloud"})}}});const $={class:"h-full pl-2.5 dashboard-container"},ee=h("a",{href:"https://beian.miit.gov.cn"},"豫ICP备2023002857",-1),ae=o({setup:e=>(e,a)=>{const l=P,t=g,u=x;return v(),B("div",$,[m(u,{gutter:10},{default:p((()=>[m(R,{"card-class":"dashboard-container-card mb-2.5 n-bt"}),m(l,{span:8},{default:p((()=>[m(Y,{class:"dashboard-container-card !rounded-xl mb-2.5"})])),_:1}),m(l,{span:8},{default:p((()=>[m(t,{bordered:!1,class:"dashboard-container-card !rounded-xl mb-2.5"})])),_:1}),m(l,{span:8},{default:p((()=>[m(G,{class:"dashboard-container-card !rounded-l-xl mb-2.5"})])),_:1}),m(l,{span:16},{default:p((()=>[m(_,{class:"dashboard-container-card !rounded-xl mb-2.5"})])),_:1}),m(l,{span:8},{default:p((()=>[m(z,{class:"dashboard-container-card !rounded-l-xl mb-2.5"})])),_:1})])),_:1}),m(t,{bordered:!1,class:"text-center !rounded-tl-xl dashboard-beian"},{default:p((()=>[ee])),_:1})])}});export{ae as default}; +import{o as e,u as a,S as l,L as t,T as u}from"./index.d37669f8.js";/* empty css *//* empty css */import{i as n}from"./typed.8fe96a35.js";import{d as o,f as s,x as d,X as r,a2 as c,o as v,q as i,b as p,a3 as f,k as A,u as b,a as m,g as h,a4 as C,a5 as g,a6 as y,c as B,m as w,F,a7 as V,w as T,a8 as Q,a9 as U,aa as j,l as q,s as X,ab as k,ac as P,ad as x}from"./acro-design.370f9722.js";/* empty css */import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const E=h("i",{class:"fa-solid fa-rotate-left"},null,-1),M=h("i",{class:"fa-solid fa-ban"},null,-1),N=h("span",{class:"base-typed-container"},null,-1),H=h("br",null,null,-1),z=o({setup(a){const l=s(!1);let t=s(""),u=s(""),o=s(null),h=s(null);const y=s(!1),B=()=>{o.value=new n(".base-typed-container",{strings:[t.value],typeSpeed:60,cursorChar:" /",shuffle:!0,onStringTyped:function(){clearTimeout(h.value),l.value&&(h.value=setTimeout((()=>{o.value.destroy(),w()}),9e3))}})},w=()=>{try{fetch("https://api.vvhan.com/api/ian?type=json").then((async e=>{let a=await e.json();t.value=a.data.vhan,u.value=a.data.source,B()}))}catch(e){}};d((()=>{w()}));const F=()=>{var e;clearTimeout(h.value),l.value&&(null==(e=o.value)||e.destroy(),w())};return e((()=>{var e;y.value=!0,clearTimeout(h.value),null==(e=o.value)||e.destroy()})),r((()=>{y.value&&(B(),y.value=!1)})),(e,a)=>{const t=c,n=C,o=g;return v(),i(o,{bordered:!1,class:"base-typed"},{title:p((()=>[f(A(b(u)||"Welcome"),1)])),extra:p((()=>[m(n,{type:"button",modelValue:l.value,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value=e),onChange:F},{default:p((()=>[m(t,{value:!0},{default:p((()=>[E])),_:1}),m(t,{value:!1},{default:p((()=>[M])),_:1})])),_:1},8,["modelValue"])])),default:p((()=>[N,H])),_:1})}}});const O=["src","onClick"],G=o({setup(e){const a=s([]),l=s(1);return fetch("https://api.vvhan.com/api/douban").then((async e=>{const l=await e.json();a.value=l.data})),(e,t)=>{const u=V,n=y,o=g;return v(),i(o,{bordered:!1,class:"base-carousel"},{title:p((()=>[f(A(a.value[l.value-1]&&a.value[l.value-1].title),1)])),extra:p((()=>[f(A(a.value[l.value-1]&&a.value[l.value-1].info.pingfen)+" 分",1)])),default:p((()=>[m(n,{current:l.value,"onUpdate:current":t[0]||(t[0]=e=>l.value=e),"indicator-position":"outer","animation-name":"card",class:"w-full h-3/4","auto-play":!0,"indicator-type":"dot","show-arrow":"hover"},{default:p((()=>[(v(!0),B(F,null,w(a.value,(e=>(v(),i(u,{class:"cursor-pointer",key:e.title},{default:p((()=>{var a;return[h("img",{src:null==(a=null==e?void 0:e.info)?void 0:a.imgurl,class:"h-full m-auto",onClick:a=>(e=>{var a;window.open(null==(a=null==e?void 0:e.info)?void 0:a.url)})(e)},null,8,O)]})),_:2},1024)))),128))])),_:1},8,["current"])])),_:1})}}});const I={key:0,class:"fa-regular fa-snowflake"},S={key:1,class:"fa-solid fa-clover"},D={key:2,class:"fa-solid fa-fan"},K=h("i",{class:"fa-solid fa-ban"},null,-1),L={key:0,class:"fa-solid fa-sun"},J={key:1,class:"fa-solid fa-moon"},R=o({props:{cardClass:String},setup(e){const n=e,o=a(),d=s({}),r=s([{label:"白羊座",value:"aries"},{label:"金牛座",value:"taurus"},{label:"双子座",value:"gemini"},{label:"巨蟹座",value:"cancer"},{label:"狮子座",value:"leo"},{label:"处女座",value:"virgo"},{label:"天秤座",value:"libra"},{label:"天蝎座",value:"scorpio"},{label:"射手座",value:"sagittarius"},{label:"摩羯座",value:"capricorn"},{label:"水瓶座",value:"aquarius"},{label:"双鱼座",value:"pisces"}]),h=s([{label:"今天",value:"today"},{label:"明天",value:"nextday"},{label:"本周",value:"week"},{label:"今年",value:"year"},{label:"❤️",value:"love"}]),y=s("aries"),V=s("today"),x=s([]),E=s([]);return T((()=>(async()=>{var e,a,l,t,u,n;try{let o=await fetch(`https://api.vvhan.com/api/horoscope?type=${y.value}&time=${V.value}`);const s=await o.json();s.success&&(d.value=Object.assign(d.value,s.data),E.value=Object.assign([],[{label:"更新时间",value:d.value.time},{label:"综合运势",value:d.value.fortune.all},{label:"爱情运势",value:d.value.fortune.love},{label:"学业工作",value:d.value.fortune.work},{label:"财富运势",value:d.value.fortune.money},{label:"健康指数",value:null==(a=null==(e=d.value)?void 0:e.index)?void 0:a.health},{label:"商谈指数",value:null==(t=null==(l=d.value)?void 0:l.index)?void 0:t.discuss},{label:"幸运颜色",value:d.value.luckycolor},{label:"幸运数字",value:d.value.luckynumber},{label:"速配星座",value:d.value.luckyconstellation},{label:"短评",value:d.value.shortcomment}]),x.value=Object.assign([],[{label:"综合运势",value:null==(n=null==(u=d.value)?void 0:u.fortunetext)?void 0:n.all},{label:"爱情运势",value:d.value.fortunetext.love},{label:"学业工作",value:d.value.fortunetext.work},{label:"财富运势",value:d.value.fortunetext.money},{label:"健康运势",value:d.value.fortunetext.health}]))}catch(o){}})())),(e,a)=>{const s=k,T=Q,M=U,N=j,H=g,z=P,O=c,G=C;return v(),B(F,null,[m(z,{span:8},{default:p((()=>[m(H,{bordered:!1,class:q([n.cardClass,"!rounded-b-lg"])},{title:p((()=>[m(M,{fill:"",align:"center"},{default:p((()=>[m(T,{placeholder:"Please select ...",modelValue:y.value,"onUpdate:modelValue":a[0]||(a[0]=e=>y.value=e)},{default:p((()=>[(v(!0),B(F,null,w(r.value,(e=>(v(),i(s,{value:e.value,key:e.value},{default:p((()=>[f(A(e.label),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue"]),m(T,{placeholder:"Please select ...",modelValue:V.value,"onUpdate:modelValue":a[1]||(a[1]=e=>V.value=e)},{default:p((()=>[(v(!0),B(F,null,w(h.value,(e=>(v(),i(s,{value:e.value,key:e.value},{default:p((()=>[f(A(e.label),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue"])])),_:1})])),default:p((()=>[m(N,{class:"h-5/6 w-full overflow-auto",data:E.value,fill:"",column:2},null,8,["data"])])),_:1},8,["class"])])),_:1}),m(z,{span:16},{default:p((()=>[m(H,{bordered:!1,class:q([n.cardClass,"!rounded-bl-lg"])},{title:p((()=>[f(A(d.value.title),1)])),extra:p((()=>[m(G,{type:"button",modelValue:b(o).specialEfficiency,"onUpdate:modelValue":a[2]||(a[2]=e=>b(o).specialEfficiency=e),onChange:b(o).setSpecialEfficiency},{default:p((()=>[(v(!0),B(F,null,w(b(l),(e=>(v(),i(O,{value:e,key:e},{default:p((()=>[e===b(l).XH?(v(),B("i",I)):X("",!0),e===b(l).YH?(v(),B("i",S)):X("",!0),e===b(l).MH?(v(),B("i",D)):X("",!0)])),_:2},1032,["value"])))),128)),m(O,{value:!1},{default:p((()=>[K])),_:1})])),_:1},8,["modelValue","onChange"]),m(G,{type:"button",class:"ml-4",modelValue:b(o).lang,"onUpdate:modelValue":a[3]||(a[3]=e=>b(o).lang=e),onChange:b(o).setLang},{default:p((()=>[(v(!0),B(F,null,w(b(t),(e=>(v(),i(O,{value:e,key:e},{default:p((()=>[f(A(e.toLocaleUpperCase()),1)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onChange"]),m(G,{type:"button",class:"ml-4",modelValue:b(o).theme,"onUpdate:modelValue":a[4]||(a[4]=e=>b(o).theme=e),onChange:b(o).setTheme},{default:p((()=>[(v(!0),B(F,null,w(b(u),(e=>(v(),i(O,{value:e,key:e},{default:p((()=>[e===b(u).LIGHT?(v(),B("i",L)):X("",!0),e===b(u).DARK?(v(),B("i",J)):X("",!0)])),_:2},1032,["value"])))),128))])),_:1},8,["modelValue","onChange"])])),default:p((()=>[m(N,{class:"h-5/6 w-full overflow-auto",data:x.value,fill:"",column:1},null,8,["data"])])),_:1},8,["class"])])),_:1})],64)}}});const W={class:"absolute bottom-1 right-1.5"},Z=h("div",{class:"h-4/5 overflow-scroll"},[h("span",{class:"weibo-container"})],-1),Y=o({setup(e){s([]);const a=s(),l=s("0 / 0");return d((()=>{fetch("https://api.vvhan.com/api/60s?type=json").then((async e=>{const t=await e.json();a.value=new n(".weibo-container",{strings:t.data,typeSpeed:60,cursorChar:" /",backDelay:6e3,fadeOut:!0,preStringTyped(e){l.value=`${e+1} / ${t.data.length}`},onStringTyped(e){}})}))})),(e,a)=>{const t=g;return v(),i(t,{bordered:!1,class:"base-weibo h-auto overflow-hidden py-1 relative"},{default:p((()=>[h("div",W,A(l.value),1),Z])),_:1})}}}),_=o({setup(e){const a=s(null);return d((()=>{a.value=echarts.init(document.getElementById("base-wordcloud"));(new Image).src="data:image/png;base64,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",fetch("https://api.vvhan.com/api/wbhot").then((async e=>{const l=await e.json();b(a).on("click",(function(e){var a;window.open(null==(a=null==e?void 0:e.data)?void 0:a.url)})),b(a).setOption({series:[{type:"wordCloud",shape:"circle",keepAspect:!1,left:"center",top:"center",width:"100%",height:"100%",right:"center",bottom:"center",sizeRange:[8,22],rotationRange:[0,0],rotationStep:45,gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,layoutAnimation:!0,textStyle:{color:function(){return"rgb("+[Math.round(160*Math.random()),Math.round(160*Math.random()),Math.round(160*Math.random())].join(",")+")"}},emphasis:{focus:"self",textStyle:{textShadowBlur:10}},data:l.data.map(((e,a)=>Object.assign(e,{value:e.hot/100,name:e.title})))}]})}))})),(e,a)=>{const l=g;return v(),i(l,{bordered:!1,id:"base-wordcloud"})}}});const $={class:"h-full pl-2.5 dashboard-container"},ee=h("a",{href:"https://beian.miit.gov.cn"},"豫ICP备2023002857",-1),ae=o({setup:e=>(e,a)=>{const l=P,t=g,u=x;return v(),B("div",$,[m(u,{gutter:10},{default:p((()=>[m(R,{"card-class":"dashboard-container-card mb-2.5 n-bt"}),m(l,{span:8},{default:p((()=>[m(Y,{class:"dashboard-container-card !rounded-xl mb-2.5"})])),_:1}),m(l,{span:8},{default:p((()=>[m(t,{bordered:!1,class:"dashboard-container-card !rounded-xl mb-2.5"})])),_:1}),m(l,{span:8},{default:p((()=>[m(G,{class:"dashboard-container-card !rounded-l-xl mb-2.5"})])),_:1}),m(l,{span:16},{default:p((()=>[m(_,{class:"dashboard-container-card !rounded-xl mb-2.5"})])),_:1}),m(l,{span:8},{default:p((()=>[m(z,{class:"dashboard-container-card !rounded-l-xl mb-2.5"})])),_:1})])),_:1}),m(t,{bordered:!1,class:"text-center !rounded-tl-xl dashboard-beian"},{default:p((()=>[ee])),_:1})])}});export{ae as default}; diff --git a/dist/assets/dashboard.55c05c67.js.gz b/dist/assets/dashboard.e4df7e81.js.gz similarity index 98% rename from dist/assets/dashboard.55c05c67.js.gz rename to dist/assets/dashboard.e4df7e81.js.gz index ac84905..f3b53fe 100644 Binary files a/dist/assets/dashboard.55c05c67.js.gz and b/dist/assets/dashboard.e4df7e81.js.gz differ diff --git a/dist/assets/demo.cc0e684a.js b/dist/assets/demo.a8c7eecb.js similarity index 87% rename from dist/assets/demo.cc0e684a.js rename to dist/assets/demo.a8c7eecb.js index 586d076..68a6a3c 100644 --- a/dist/assets/demo.cc0e684a.js +++ b/dist/assets/demo.a8c7eecb.js @@ -1 +1 @@ -import{o as e}from"./index.e8e9c4ba.js";/* empty css */import{d as a,an as l,f as u,e as v,X as n,x as t,a5 as o,o as s,q as r,b as d,g as i,k as m,a3 as c,u as h,n as w}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const f={class:"centers"},M=i("div",{class:"lineX"},null,-1),p=i("div",{class:"lineY"},null,-1),b=a({setup(a){l((e=>({"1c6e5eb4":x.value})));const b=u(0),E=u(0),L=u(0),j=u(0),x=u("none"),g=u(0),I=u(""),P=({x:e,y:a})=>{if(b.value=e,E.value=a,b.value>=L.value/2)if(E.value>=j.value/2){const e=E.value-j.value/2,a=b.value-L.value/2;g.value=Math.round(180*Math.atan(e/a)/Math.PI)+90,I.value="四"}else{const e=b.value-L.value/2,a=j.value/2-E.value;g.value=Math.round(180*Math.atan(e/a)/Math.PI),I.value="一"}else if(E.value>=j.value/2){I.value="三";const e=b.value-L.value/2,a=j.value/2-E.value;g.value=Math.round(180*Math.atan(e/a)/Math.PI)+180}else{I.value="二";const e=b.value-L.value/2,a=E.value-j.value/2;g.value=Math.round(180*Math.atan(a/e)/Math.PI)+270}},$=()=>{x.value="block"},k=()=>{x.value="none"},y=v((()=>({top:`${Math.floor(E.value/j.value*100)}%`,left:`${Math.floor(b.value/L.value*100)}%`})));return n((()=>{window.addEventListener("mousemove",P),window.addEventListener("mouseover",$),window.addEventListener("mouseout",k)})),e((()=>{window.removeEventListener("mousemove",P),window.removeEventListener("mouseover",$),window.removeEventListener("mouseout",k)})),t((()=>{L.value=window.innerWidth,j.value=window.innerHeight})),(e,a)=>{const l=o;return s(),r(l,{bordered:!1,class:"demo p-2.5 h-full ml-2.5 relative",id:"demoContainer"},{default:d((()=>[i("p",null,m(b.value)+"/ "+m(L.value),1),i("p",null,m(E.value)+"/"+m(j.value),1),c(" "+m(h(y))+" ",1),i("div",null," 角度: "+m(g.value)+"度",1),i("div",null," 象限: 第"+m(I.value)+"象限",1),i("div",f,[i("div",{class:"wtf",style:w({transform:`translate(-50%, -50%) rotate(${g.value}deg)`})},null,4),M,p])])),_:1})}}});export{b as default}; +import{o as e}from"./index.d37669f8.js";/* empty css */import{d as a,an as l,f as u,e as v,X as n,x as t,a5 as o,o as s,q as d,b as r,g as i,k as m,a3 as c,u as h,n as w}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const f={class:"centers"},M=i("div",{class:"lineX"},null,-1),p=i("div",{class:"lineY"},null,-1),b=a({setup(a){l((e=>({"1c6e5eb4":x.value})));const b=u(0),E=u(0),L=u(0),j=u(0),x=u("none"),g=u(0),I=u(""),P=({x:e,y:a})=>{if(b.value=e,E.value=a,b.value>=L.value/2)if(E.value>=j.value/2){const e=E.value-j.value/2,a=b.value-L.value/2;g.value=Math.round(180*Math.atan(e/a)/Math.PI)+90,I.value="四"}else{const e=b.value-L.value/2,a=j.value/2-E.value;g.value=Math.round(180*Math.atan(e/a)/Math.PI),I.value="一"}else if(E.value>=j.value/2){I.value="三";const e=b.value-L.value/2,a=j.value/2-E.value;g.value=Math.round(180*Math.atan(e/a)/Math.PI)+180}else{I.value="二";const e=b.value-L.value/2,a=E.value-j.value/2;g.value=Math.round(180*Math.atan(a/e)/Math.PI)+270}},$=()=>{x.value="block"},k=()=>{x.value="none"},y=v((()=>({top:`${Math.floor(E.value/j.value*100)}%`,left:`${Math.floor(b.value/L.value*100)}%`})));return n((()=>{window.addEventListener("mousemove",P),window.addEventListener("mouseover",$),window.addEventListener("mouseout",k)})),e((()=>{window.removeEventListener("mousemove",P),window.removeEventListener("mouseover",$),window.removeEventListener("mouseout",k)})),t((()=>{L.value=window.innerWidth,j.value=window.innerHeight})),(e,a)=>{const l=o;return s(),d(l,{bordered:!1,class:"demo p-2.5 h-full ml-2.5 relative",id:"demoContainer"},{default:r((()=>[i("p",null,m(b.value)+"/ "+m(L.value),1),i("p",null,m(E.value)+"/"+m(j.value),1),c(" "+m(h(y))+" ",1),i("div",null," 角度: "+m(g.value)+"度",1),i("div",null," 象限: 第"+m(I.value)+"象限",1),i("div",f,[i("div",{class:"wtf",style:w({transform:`translate(-50%, -50%) rotate(${g.value}deg)`})},null,4),M,p])])),_:1})}}});export{b as default}; diff --git a/dist/assets/demo.a8c7eecb.js.gz b/dist/assets/demo.a8c7eecb.js.gz new file mode 100644 index 0000000..fdf2730 Binary files /dev/null and b/dist/assets/demo.a8c7eecb.js.gz differ diff --git a/dist/assets/demo.cc0e684a.js.gz b/dist/assets/demo.cc0e684a.js.gz deleted file mode 100644 index 4605840..0000000 Binary files a/dist/assets/demo.cc0e684a.js.gz and /dev/null differ diff --git a/dist/assets/index.40a0434d.css b/dist/assets/index.40a0434d.css deleted file mode 100644 index c287b5b..0000000 --- a/dist/assets/index.40a0434d.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.base-container{width:100px;height:100px;perspective:780px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.base-child{position:absolute;width:100%;height:100%;box-sizing:border-box;border-radius:50%}.base-child:nth-of-type(1){left:0%;top:0%;-webkit-animation:rotate-one 1.15s linear infinite;animation:rotate-one 1.15s linear infinite;border-bottom:3px solid #5c5edc}.base-child:nth-of-type(2){right:0%;top:0%;-webkit-animation:rotate-two 1.15s linear infinite;animation:rotate-two 1.15s linear infinite;border-right:3px solid #9e85c3}.base-child:nth-of-type(3){right:0%;bottom:0%;-webkit-animation:rotate-three 1.15s linear infinite;animation:rotate-three 1.15s linear infinite;border-top:3px solid #e9908a}@-webkit-keyframes rotate-one{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(360deg)}}@keyframes rotate-one{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(360deg)}}@-webkit-keyframes rotate-two{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(360deg)}}@keyframes rotate-two{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(360deg)}}@-webkit-keyframes rotate-three{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(360deg)}}@keyframes rotate-three{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(360deg)}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.relative{position:relative}.inset-x-1\/2{left:50%;right:50%}.inset-y-1\/2{top:50%;bottom:50%}.bottom-1{bottom:.25rem}.right-1\.5{right:.375rem}.right-1{right:.25rem}.float-right{float:right}.m-2{margin:.5rem}.m-auto{margin:auto}.\!my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-2{margin-bottom:.5rem}.ml-2\.5{margin-left:.625rem}.ml-2{margin-left:.5rem}.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.\!mt-1{margin-top:.25rem!important}.\!mb-2{margin-bottom:.5rem!important}.ml-4{margin-left:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.h-screen{height:100vh}.h-full{height:100%}.h-10{height:2.5rem}.h-3\/4{height:75%}.h-1\/6{height:16.666667%}.h-5\/6{height:83.333333%}.h-5{height:1.25rem}.h-4{height:1rem}.h-auto{height:auto}.h-4\/5{height:80%}.w-screen{width:100vw}.w-52{width:13rem}.w-20{width:5rem}.w-full{width:100%}.\!w-1\/3{width:33.333333%!important}.w-10{width:2.5rem}.w-4{width:1rem}.flex-none{flex:none}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.grow{flex-grow:1}.-translate-x-2\/4{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-2\/4{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-items-end{justify-items:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.\!rounded-xl{border-radius:.75rem!important}.rounded-full{border-radius:9999px}.\!rounded-l-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.\!rounded-b-lg{border-bottom-right-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.\!rounded-tl-xl{border-top-left-radius:.75rem!important}.\!rounded-bl-lg{border-bottom-left-radius:.5rem!important}.border-r{border-right-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.p-2\.5{padding:.625rem}.p-2{padding:.5rem}.\!p-1{padding:.25rem!important}.py-8{padding-top:2rem;padding-bottom:2rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-0{padding-left:0;padding-right:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.outline{outline-style:solid}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark .dark\:border-r-zinc-100{--tw-border-opacity: 1;border-right-color:rgb(244 244 245 / var(--tw-border-opacity))}.dark .dark\:bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.dark .dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}*{-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:rgba(255,255,255,0)}html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0}header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block}table{border-collapse:collapse;border-spacing:0}caption,th{text-align:left;font-weight:400}html,body,fieldset,img,iframe,abbr{border:0}i,cite,em,var,address,dfn{font-style:normal}[hidefocus],summary{outline:0}li{list-style:none}h1,h2,h3,h4,h5,h6,small{font-size:100%}sup,sub{font-size:83%}pre,code,kbd,samp{font-family:inherit}q:before,q:after{content:none}textarea{overflow:auto;resize:none}label,summary{cursor:default}a,button{cursor:pointer}h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:700}del,ins,u,s,a,a:hover{text-decoration:none}body,textarea,input,button,select,keygen,legend{font:12px/1.14 arial,\5b8b\4f53;color:#333;outline:0}body{background:#fff}a,a:hover{color:#333}.w-100{width:100%}.h-100{height:100%}.vh-100{height:100vh}.vw-100{width:100vw}#nprogress{pointer-events:none}#nprogress .bar{background:linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6))),0 0 5px linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));border-left-color:linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-size:1em;font-family:monospace,monospace}a{background-color:transparent}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:none}b,strong{font-weight:bolder}code,kbd,samp{font-size:1em;font-family:monospace,monospace}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-size:100%;font-family:inherit;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.arco-icon{display:inline-block;width:1em;height:1em;color:inherit;font-style:normal;vertical-align:-2px;outline:none;stroke:currentColor}.arco-icon-loading,.arco-icon-spin{-webkit-animation:arco-loading-circle 1s infinite cubic-bezier(0,0,1,1);animation:arco-loading-circle 1s infinite cubic-bezier(0,0,1,1)}@-webkit-keyframes arco-loading-circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes arco-loading-circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arco-icon-hover{position:relative;display:inline-block;cursor:pointer;line-height:12px}.arco-icon-hover .arco-icon{position:relative}.arco-icon-hover:before{position:absolute;display:block;box-sizing:border-box;background-color:transparent;border-radius:var(--border-radius-circle);transition:background-color .1s cubic-bezier(0,0,1,1);content:""}.arco-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-icon-hover.arco-icon-hover-disabled:before{opacity:0}.arco-icon-hover:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-mini{line-height:12px}.arco-icon-hover-size-mini:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-small{line-height:12px}.arco-icon-hover-size-small:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-large{line-height:12px}.arco-icon-hover-size-large:before{top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.arco-icon-hover-size-huge{line-height:12px}.arco-icon-hover-size-huge:before{top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.fade-in-standard-enter-from,.fade-in-standard-appear-from{opacity:0}.fade-in-standard-enter-to,.fade-in-standard-appear-to{opacity:1}.fade-in-standard-enter-active,.fade-in-standard-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-in-standard-leave-from{opacity:1}.fade-in-standard-leave-to{opacity:0}.fade-in-standard-leave-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-in-enter-from,.fade-in-appear-from{opacity:0}.fade-in-enter-to,.fade-in-appear-to{opacity:1}.fade-in-enter-active,.fade-in-appear-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.fade-in-leave-from{opacity:1}.fade-in-leave-to{opacity:0}.fade-in-leave-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.zoom-in-enter-from,.zoom-in-appear-from{transform:scale(.5);opacity:0}.zoom-in-enter-to,.zoom-in-appear-to{transform:scale(1);opacity:1}.zoom-in-enter-active,.zoom-in-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1),transform .3s cubic-bezier(.34,.69,.1,1)}.zoom-in-leave-from{transform:scale(1);opacity:1}.zoom-in-leave-to{transform:scale(.5);opacity:0}.zoom-in-leave-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-fade-out-enter-from,.zoom-in-fade-out-appear-from{transform:scale(.5);opacity:0}.zoom-in-fade-out-enter-to,.zoom-in-fade-out-appear-to{transform:scale(1);opacity:1}.zoom-in-fade-out-enter-active,.zoom-in-fade-out-appear-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-fade-out-leave-from{transform:scale(1);opacity:1}.zoom-in-fade-out-leave-to{transform:scale(.5);opacity:0}.zoom-in-fade-out-leave-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-big-enter-from,.zoom-in-big-appear-from{transform:scale(.5);opacity:0}.zoom-in-big-enter-to,.zoom-in-big-appear-to{transform:scale(1);opacity:1}.zoom-in-big-enter-active,.zoom-in-big-appear-active{transition:opacity .2s cubic-bezier(0,0,1,1),transform .2s cubic-bezier(0,0,1,1)}.zoom-in-big-leave-from{transform:scale(1);opacity:1}.zoom-in-big-leave-to{transform:scale(.2);opacity:0}.zoom-in-big-leave-active{transition:opacity .2s cubic-bezier(0,0,1,1),transform .2s cubic-bezier(0,0,1,1)}.zoom-in-left-enter-from,.zoom-in-left-appear-from{transform:scale(.1);opacity:.1}.zoom-in-left-enter-to,.zoom-in-left-appear-to{transform:scale(1);opacity:1}.zoom-in-left-enter-active,.zoom-in-left-appear-active{transform-origin:0 50%;transition:opacity .3s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-left-leave-from{transform:scale(1);opacity:1}.zoom-in-left-leave-to{transform:scale(.1);opacity:.1}.zoom-in-left-leave-active{transform-origin:0 50%;transition:opacity .3s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-top-enter-from,.zoom-in-top-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-top-enter-to,.zoom-in-top-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-top-enter-active,.zoom-in-top-appear-active{transform-origin:0 0;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-top-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-top-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-top-leave-active{transform-origin:0 0;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-bottom-enter-from,.zoom-in-bottom-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-bottom-enter-to,.zoom-in-bottom-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-bottom-enter-active,.zoom-in-bottom-appear-active{transform-origin:100% 100%;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-bottom-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-bottom-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-bottom-leave-active{transform-origin:100% 100%;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.slide-dynamic-origin-enter-from,.slide-dynamic-origin-appear-from{transform:scaleY(.9);transform-origin:0 0;opacity:0}.slide-dynamic-origin-enter-to,.slide-dynamic-origin-appear-to{transform:scaleY(1);transform-origin:0 0;opacity:1}.slide-dynamic-origin-enter-active,.slide-dynamic-origin-appear-active{transition:transform .2s cubic-bezier(.34,.69,.1,1),opacity .2s cubic-bezier(.34,.69,.1,1)}.slide-dynamic-origin-leave-from{transform:scaleY(1);transform-origin:0 0;opacity:1}.slide-dynamic-origin-leave-to{transform:scaleY(.9);transform-origin:0 0;opacity:0}.slide-dynamic-origin-leave-active{transition:transform .2s cubic-bezier(.34,.69,.1,1),opacity .2s cubic-bezier(.34,.69,.1,1)}.slide-left-enter-from,.slide-left-appear-from{transform:translate(-100%)}.slide-left-enter-to,.slide-left-appear-to{transform:translate(0)}.slide-left-enter-active,.slide-left-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-left-leave-from{transform:translate(0)}.slide-left-leave-to{transform:translate(-100%)}.slide-left-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-enter-from,.slide-right-appear-from{transform:translate(100%)}.slide-right-enter-to,.slide-right-appear-to{transform:translate(0)}.slide-right-enter-active,.slide-right-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-leave-from{transform:translate(0)}.slide-right-leave-to{transform:translate(100%)}.slide-right-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-enter-from,.slide-top-appear-from{transform:translateY(-100%)}.slide-top-enter-to,.slide-top-appear-to{transform:translateY(0)}.slide-top-enter-active,.slide-top-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-leave-from{transform:translateY(0)}.slide-top-leave-to{transform:translateY(-100%)}.slide-top-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-enter-from,.slide-bottom-appear-from{transform:translateY(100%)}.slide-bottom-enter-to,.slide-bottom-appear-to{transform:translateY(0)}.slide-bottom-enter-active,.slide-bottom-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-leave-from{transform:translateY(0)}.slide-bottom-leave-to{transform:translateY(100%)}.slide-bottom-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}body{--red-1: 255,236,232;--red-2: 253,205,197;--red-3: 251,172,163;--red-4: 249,137,129;--red-5: 247,101,96;--red-6: 245,63,63;--red-7: 203,39,45;--red-8: 161,21,30;--red-9: 119,8,19;--red-10: 77,0,10;--orangered-1: 255,243,232;--orangered-2: 253,221,195;--orangered-3: 252,197,159;--orangered-4: 250,172,123;--orangered-5: 249,144,87;--orangered-6: 247,114,52;--orangered-7: 204,81,32;--orangered-8: 162,53,17;--orangered-9: 119,31,6;--orangered-10: 77,14,0;--orange-1: 255,247,232;--orange-2: 255,228,186;--orange-3: 255,207,139;--orange-4: 255,182,93;--orange-5: 255,154,46;--orange-6: 255,125,0;--orange-7: 210,95,0;--orange-8: 166,69,0;--orange-9: 121,46,0;--orange-10: 77,27,0;--gold-1: 255,252,232;--gold-2: 253,244,191;--gold-3: 252,233,150;--gold-4: 250,220,109;--gold-5: 249,204,69;--gold-6: 247,186,30;--gold-7: 204,146,19;--gold-8: 162,109,10;--gold-9: 119,75,4;--gold-10: 77,45,0;--yellow-1: 254,255,232;--yellow-2: 254,254,190;--yellow-3: 253,250,148;--yellow-4: 252,242,107;--yellow-5: 251,232,66;--yellow-6: 250,220,25;--yellow-7: 207,175,15;--yellow-8: 163,132,8;--yellow-9: 120,93,3;--yellow-10: 77,56,0;--lime-1: 252,255,232;--lime-2: 237,248,187;--lime-3: 220,241,144;--lime-4: 201,233,104;--lime-5: 181,226,65;--lime-6: 159,219,29;--lime-7: 126,183,18;--lime-8: 95,148,10;--lime-9: 67,112,4;--lime-10: 42,77,0;--green-1: 232,255,234;--green-2: 175,240,181;--green-3: 123,225,136;--green-4: 76,210,99;--green-5: 35,195,67;--green-6: 0,180,42;--green-7: 0,154,41;--green-8: 0,128,38;--green-9: 0,102,34;--green-10: 0,77,28;--cyan-1: 232,255,251;--cyan-2: 183,244,236;--cyan-3: 137,233,224;--cyan-4: 94,223,214;--cyan-5: 55,212,207;--cyan-6: 20,201,201;--cyan-7: 13,165,170;--cyan-8: 7,130,139;--cyan-9: 3,97,108;--cyan-10: 0,66,77;--blue-1: 232,247,255;--blue-2: 195,231,254;--blue-3: 159,212,253;--blue-4: 123,192,252;--blue-5: 87,169,251;--blue-6: 52,145,250;--blue-7: 32,108,207;--blue-8: 17,75,163;--blue-9: 6,48,120;--blue-10: 0,26,77;--arcoblue-1: 232,243,255;--arcoblue-2: 190,218,255;--arcoblue-3: 148,191,255;--arcoblue-4: 106,161,255;--arcoblue-5: 64,128,255;--arcoblue-6: 22,93,255;--arcoblue-7: 14,66,210;--arcoblue-8: 7,44,166;--arcoblue-9: 3,26,121;--arcoblue-10: 0,13,77;--purple-1: 245,232,255;--purple-2: 221,190,246;--purple-3: 195,150,237;--purple-4: 168,113,227;--purple-5: 141,78,218;--purple-6: 114,46,209;--purple-7: 85,29,176;--purple-8: 60,16,143;--purple-9: 39,6,110;--purple-10: 22,0,77;--pinkpurple-1: 255,232,251;--pinkpurple-2: 247,186,239;--pinkpurple-3: 240,142,230;--pinkpurple-4: 232,101,223;--pinkpurple-5: 225,62,219;--pinkpurple-6: 217,26,217;--pinkpurple-7: 176,16,182;--pinkpurple-8: 138,9,147;--pinkpurple-9: 101,3,112;--pinkpurple-10: 66,0,77;--magenta-1: 255,232,241;--magenta-2: 253,194,219;--magenta-3: 251,157,199;--magenta-4: 249,121,183;--magenta-5: 247,84,168;--magenta-6: 245,49,157;--magenta-7: 203,30,131;--magenta-8: 161,16,105;--magenta-9: 119,6,79;--magenta-10: 77,0,52;--gray-1: 247,248,250;--gray-2: 242,243,245;--gray-3: 229,230,235;--gray-4: 201,205,212;--gray-5: 169,174,184;--gray-6: 134,144,156;--gray-7: 107,119,133;--gray-8: 78,89,105;--gray-9: 39,46,59;--gray-10: 29,33,41;--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--primary-1: var(--arcoblue-1);--primary-2: var(--arcoblue-2);--primary-3: var(--arcoblue-3);--primary-4: var(--arcoblue-4);--primary-5: var(--arcoblue-5);--primary-6: var(--arcoblue-6);--primary-7: var(--arcoblue-7);--primary-8: var(--arcoblue-8);--primary-9: var(--arcoblue-9);--primary-10: var(--arcoblue-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10);--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10)}body[arco-theme=dark]{--red-1: 77,0,10;--red-2: 119,6,17;--red-3: 161,22,31;--red-4: 203,46,52;--red-5: 245,78,78;--red-6: 247,105,101;--red-7: 249,141,134;--red-8: 251,176,167;--red-9: 253,209,202;--red-10: 255,240,236;--orangered-1: 77,14,0;--orangered-2: 119,30,5;--orangered-3: 162,55,20;--orangered-4: 204,87,41;--orangered-5: 247,126,69;--orangered-6: 249,146,90;--orangered-7: 250,173,125;--orangered-8: 252,198,161;--orangered-9: 253,222,197;--orangered-10: 255,244,235;--orange-1: 77,27,0;--orange-2: 121,48,4;--orange-3: 166,75,10;--orange-4: 210,105,19;--orange-5: 255,141,31;--orange-6: 255,150,38;--orange-7: 255,179,87;--orange-8: 255,205,135;--orange-9: 255,227,184;--orange-10: 255,247,232;--gold-1: 77,45,0;--gold-2: 119,75,4;--gold-3: 162,111,15;--gold-4: 204,150,31;--gold-5: 247,192,52;--gold-6: 249,204,68;--gold-7: 250,220,108;--gold-8: 252,233,149;--gold-9: 253,244,190;--gold-10: 255,252,232;--yellow-1: 77,56,0;--yellow-2: 120,94,7;--yellow-3: 163,134,20;--yellow-4: 207,179,37;--yellow-5: 250,225,60;--yellow-6: 251,233,75;--yellow-7: 252,243,116;--yellow-8: 253,250,157;--yellow-9: 254,254,198;--yellow-10: 254,255,240;--lime-1: 42,77,0;--lime-2: 68,112,6;--lime-3: 98,148,18;--lime-4: 132,183,35;--lime-5: 168,219,57;--lime-6: 184,226,75;--lime-7: 203,233,112;--lime-8: 222,241,152;--lime-9: 238,248,194;--lime-10: 253,255,238;--green-1: 0,77,28;--green-2: 4,102,37;--green-3: 10,128,45;--green-4: 18,154,55;--green-5: 29,180,64;--green-6: 39,195,70;--green-7: 80,210,102;--green-8: 126,225,139;--green-9: 178,240,183;--green-10: 235,255,236;--cyan-1: 0,66,77;--cyan-2: 6,97,108;--cyan-3: 17,131,139;--cyan-4: 31,166,170;--cyan-5: 48,201,201;--cyan-6: 63,212,207;--cyan-7: 102,223,215;--cyan-8: 144,233,225;--cyan-9: 190,244,237;--cyan-10: 240,255,252;--blue-1: 0,26,77;--blue-2: 5,47,120;--blue-3: 19,76,163;--blue-4: 41,113,207;--blue-5: 70,154,250;--blue-6: 90,170,251;--blue-7: 125,193,252;--blue-8: 161,213,253;--blue-9: 198,232,254;--blue-10: 234,248,255;--arcoblue-1: 0,13,77;--arcoblue-2: 4,27,121;--arcoblue-3: 14,50,166;--arcoblue-4: 29,77,210;--arcoblue-5: 48,111,255;--arcoblue-6: 60,126,255;--arcoblue-7: 104,159,255;--arcoblue-8: 147,190,255;--arcoblue-9: 190,218,255;--arcoblue-10: 234,244,255;--purple-1: 22,0,77;--purple-2: 39,6,110;--purple-3: 62,19,143;--purple-4: 90,37,176;--purple-5: 123,61,209;--purple-6: 142,81,218;--purple-7: 169,116,227;--purple-8: 197,154,237;--purple-9: 223,194,246;--purple-10: 247,237,255;--pinkpurple-1: 66,0,77;--pinkpurple-2: 101,3,112;--pinkpurple-3: 138,13,147;--pinkpurple-4: 176,27,182;--pinkpurple-5: 217,46,217;--pinkpurple-6: 225,61,219;--pinkpurple-7: 232,102,223;--pinkpurple-8: 240,146,230;--pinkpurple-9: 247,193,240;--pinkpurple-10: 255,242,253;--magenta-1: 77,0,52;--magenta-2: 119,8,80;--magenta-3: 161,23,108;--magenta-4: 203,43,136;--magenta-5: 245,69,166;--magenta-6: 247,86,169;--magenta-7: 249,122,184;--magenta-8: 251,158,200;--magenta-9: 253,195,219;--magenta-10: 255,232,241;--gray-1: 23,23,26;--gray-2: 46,46,48;--gray-3: 72,72,73;--gray-4: 95,95,96;--gray-5: 120,120,122;--gray-6: 146,146,147;--gray-7: 171,171,172;--gray-8: 197,197,197;--gray-9: 223,223,223;--gray-10: 246,246,246;--primary-1: var(--arcoblue-1);--primary-2: var(--arcoblue-2);--primary-3: var(--arcoblue-3);--primary-4: var(--arcoblue-4);--primary-5: var(--arcoblue-5);--primary-6: var(--arcoblue-6);--primary-7: var(--arcoblue-7);--primary-8: var(--arcoblue-8);--primary-9: var(--arcoblue-9);--primary-10: var(--arcoblue-10);--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10);--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10)}body{--color-white: #ffffff;--color-black: #000000;--color-border: rgb(var(--gray-3));--color-bg-popup: var(--color-bg-5);--color-bg-1: #fff;--color-bg-2: #fff;--color-bg-3: #fff;--color-bg-4: #fff;--color-bg-5: #fff;--color-bg-white: #fff;--color-neutral-1: rgb(var(--gray-1));--color-neutral-2: rgb(var(--gray-2));--color-neutral-3: rgb(var(--gray-3));--color-neutral-4: rgb(var(--gray-4));--color-neutral-5: rgb(var(--gray-5));--color-neutral-6: rgb(var(--gray-6));--color-neutral-7: rgb(var(--gray-7));--color-neutral-8: rgb(var(--gray-8));--color-neutral-9: rgb(var(--gray-9));--color-neutral-10: rgb(var(--gray-10));--color-text-1: var(--color-neutral-10);--color-text-2: var(--color-neutral-8);--color-text-3: var(--color-neutral-6);--color-text-4: var(--color-neutral-4);--color-border-1: var(--color-neutral-2);--color-border-2: var(--color-neutral-3);--color-border-3: var(--color-neutral-4);--color-border-4: var(--color-neutral-6);--color-fill-1: var(--color-neutral-1);--color-fill-2: var(--color-neutral-2);--color-fill-3: var(--color-neutral-3);--color-fill-4: var(--color-neutral-4);--color-primary-light-1: rgb(var(--primary-1));--color-primary-light-2: rgb(var(--primary-2));--color-primary-light-3: rgb(var(--primary-3));--color-primary-light-4: rgb(var(--primary-4));--color-link-light-1: rgb(var(--link-1));--color-link-light-2: rgb(var(--link-2));--color-link-light-3: rgb(var(--link-3));--color-link-light-4: rgb(var(--link-4));--color-secondary: var(--color-neutral-2);--color-secondary-hover: var(--color-neutral-3);--color-secondary-active: var(--color-neutral-4);--color-secondary-disabled: var(--color-neutral-1);--color-danger-light-1: rgb(var(--danger-1));--color-danger-light-2: rgb(var(--danger-2));--color-danger-light-3: rgb(var(--danger-3));--color-danger-light-4: rgb(var(--danger-4));--color-success-light-1: rgb(var(--success-1));--color-success-light-2: rgb(var(--success-2));--color-success-light-3: rgb(var(--success-3));--color-success-light-4: rgb(var(--success-4));--color-warning-light-1: rgb(var(--warning-1));--color-warning-light-2: rgb(var(--warning-2));--color-warning-light-3: rgb(var(--warning-3));--color-warning-light-4: rgb(var(--warning-4));--border-radius-none: 0;--border-radius-small: 2px;--border-radius-medium: 4px;--border-radius-large: 8px;--border-radius-circle: 50%;--color-tooltip-bg: rgb(var(--gray-10));--color-spin-layer-bg: rgba(255, 255, 255, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #ffffff;--color-menu-dark-hover: rgba(255, 255, 255, .04);--color-mask-bg: rgba(29, 33, 41, .6)}body[arco-theme=dark]{--color-white: rgba(255, 255, 255, .9);--color-black: #000000;--color-border: #333335;--color-bg-1: #17171a;--color-bg-2: #232324;--color-bg-3: #2a2a2b;--color-bg-4: #313132;--color-bg-5: #373739;--color-bg-white: #f6f6f6;--color-text-1: rgba(255, 255, 255, .9);--color-text-2: rgba(255, 255, 255, .7);--color-text-3: rgba(255, 255, 255, .5);--color-text-4: rgba(255, 255, 255, .3);--color-fill-1: rgba(255, 255, 255, .04);--color-fill-2: rgba(255, 255, 255, .08);--color-fill-3: rgba(255, 255, 255, .12);--color-fill-4: rgba(255, 255, 255, .16);--color-primary-light-1: rgba(var(--primary-6), .2);--color-primary-light-2: rgba(var(--primary-6), .35);--color-primary-light-3: rgba(var(--primary-6), .5);--color-primary-light-4: rgba(var(--primary-6), .65);--color-secondary: rgba(var(--gray-9), .08);--color-secondary-hover: rgba(var(--gray-8), .16);--color-secondary-active: rgba(var(--gray-7), .24);--color-secondary-disabled: rgba(var(--gray-9), .08);--color-danger-light-1: rgba(var(--danger-6), .2);--color-danger-light-2: rgba(var(--danger-6), .35);--color-danger-light-3: rgba(var(--danger-6), .5);--color-danger-light-4: rgba(var(--danger-6), .65);--color-success-light-1: rgb(var(--success-6), .2);--color-success-light-2: rgb(var(--success-6), .35);--color-success-light-3: rgb(var(--success-6), .5);--color-success-light-4: rgb(var(--success-6), .65);--color-warning-light-1: rgb(var(--warning-6), .2);--color-warning-light-2: rgb(var(--warning-6), .35);--color-warning-light-3: rgb(var(--warning-6), .5);--color-warning-light-4: rgb(var(--warning-6), .65);--color-link-light-1: rgb(var(--link-6), .2);--color-link-light-2: rgb(var(--link-6), .35);--color-link-light-3: rgb(var(--link-6), .5);--color-link-light-4: rgb(var(--link-6), .65);--color-tooltip-bg: #373739;--color-spin-layer-bg: rgba(51, 51, 51, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #232324;--color-menu-dark-hover: var(--color-fill-2);--color-mask-bg: rgba(23, 23, 26, .6)}body{font-size:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,noto sans,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.arco-notification-list{position:fixed;z-index:1003}.arco-notification-list-top-left{top:20px;left:20px}.arco-notification-list-top-right{top:20px;right:20px}.arco-notification-list-top-right .arco-notification{margin-left:auto}.arco-notification-list-bottom-left{bottom:20px;left:20px}.arco-notification-list-bottom-right{right:20px;bottom:20px}.arco-notification-list-bottom-right .arco-notification{margin-left:auto}.arco-notification{position:relative;display:flex;box-sizing:border-box;width:340px;margin-bottom:20px;padding:20px;overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 12px #00000026;opacity:1;transition:opacity .2s cubic-bezier(0,0,1,1)}.arco-notification-icon{display:inline-flex;align-items:center;font-size:24px}.arco-notification-info{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-info .arco-notification-icon{color:rgb(var(--primary-6))}.arco-notification-success{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-success .arco-notification-icon{color:rgb(var(--success-6))}.arco-notification-warning{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-warning .arco-notification-icon{color:rgb(var(--warning-6))}.arco-notification-error{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-error .arco-notification-icon{color:rgb(var(--danger-6))}.arco-notification-left{padding-right:16px}.arco-notification-right{flex:1;word-break:break-word}.arco-notification-title{margin-bottom:4px;color:var(--color-text-1);font-weight:500;font-size:16px}.arco-notification-content{color:var(--color-text-1);font-size:14px}.arco-notification-info .arco-notification-title,.arco-notification-info .arco-notification-content,.arco-notification-success .arco-notification-title,.arco-notification-success .arco-notification-content,.arco-notification-warning .arco-notification-title,.arco-notification-warning .arco-notification-content,.arco-notification-error .arco-notification-title,.arco-notification-error .arco-notification-content{color:var(--color-text-1)}.arco-notification-footer{margin-top:16px;text-align:right}.arco-notification-close-btn{position:absolute;top:12px;right:12px;color:var(--color-text-1);font-size:12px;cursor:pointer}.arco-notification-close-btn>svg{position:relative}.arco-notification .arco-icon-hover.arco-notification-icon-hover:before{width:20px;height:20px}.slide-left-notification-enter-from,.slide-left-notification-appear-from{transform:translate(-100%)}.slide-left-notification-enter-to,.slide-left-notification-appear-to{transform:translate(0)}.slide-left-notification-enter-active,.slide-left-notification-appear-active{transition:transform .4s cubic-bezier(.3,1.3,.3,1)}.slide-left-notification-leave-from{opacity:1}.slide-left-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-left-notification-leave-active{transition:all .3s cubic-bezier(.34,.69,.1,1)}.slide-right-notification-enter-from,.slide-right-notification-appear-from{transform:translate(100%)}.slide-right-notification-enter-to,.slide-right-notification-appear-to{transform:translate(0)}.slide-right-notification-enter-active,.slide-right-notification-appear-active{transition:transform .4s cubic-bezier(.3,1.3,.3,1)}.slide-right-notification-leave-from{opacity:1}.slide-right-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-right-notification-leave-active{transition:all .3s cubic-bezier(.34,.69,.1,1)} diff --git a/dist/assets/index.40a0434d.css.gz b/dist/assets/index.40a0434d.css.gz deleted file mode 100644 index 75b5761..0000000 Binary files a/dist/assets/index.40a0434d.css.gz and /dev/null differ diff --git a/dist/assets/index.64915100.js b/dist/assets/index.64915100.js deleted file mode 100644 index 599e1d0..0000000 --- a/dist/assets/index.64915100.js +++ /dev/null @@ -1 +0,0 @@ -import{a,b as e,f as s,u as t}from"./index.e8e9c4ba.js";/* empty css *//* empty css */import{d as l,e as o,f as n,at as u,o as i,q as c,b as d,c as r,m,au as p,a3 as f,k as _,u as k,F as b,av as v,Y as y,aw as j,a as x,s as h,ax as w,ay as C}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const g=l({setup(t){const l=a(),y=e();l.options;const j=o((()=>s||[])),x=n([y.name]),h=a=>{l.push({name:a})};return(a,e)=>{const s=v,t=u;return i(),c(t,{class:"base-layout-menu","selected-keys":x.value,"onUpdate:selected-keys":e[0]||(e[0]=a=>x.value=a),breakpoint:"xl",accordion:"","auto-open-selected":"",onMenuItemClick:h},{default:d((()=>[(i(!0),r(b,null,m(k(j),(e=>(i(),c(s,{key:e.name},{icon:d((()=>{var a;return[(i(),c(p(null==(a=null==e?void 0:e.meta)?void 0:a.icon)))]})),default:d((()=>[f(" "+_(a.$t(`menu.${String(e.name)}`)),1)])),_:2},1024)))),128))])),_:1},8,["selected-keys"])}}});const I=l({setup(a){const e=t();return(a,s)=>{const t=C,l=y("router-view"),o=j;return i(),c(o,{class:"micro-base-layout"},{default:d((()=>[x(t,{breakpoint:"lg",width:160,onCollapse:k(e).setCollapsed,collapsible:"",collapsed:k(e).collapsed},{default:d((()=>[x(g)])),_:1},8,["onCollapse","collapsed"]),x(o,{class:"micro-base-layout-view"},{default:d((()=>[x(l,null,{default:d((({Component:a,route:e})=>[e.meta.keepAlive?h("",!0):(i(),c(p(a),{key:e.fullPath,class:"animate__animated animate__fadeIn"})),(i(),c(w,null,[e.meta.keepAlive?(i(),c(p(a),{key:e.fullPath,class:"animate__animated animate__fadeIn"})):h("",!0)],1024))])),_:1})])),_:1})])),_:1})}}});export{I as default}; diff --git a/dist/assets/index.64915100.js.gz b/dist/assets/index.64915100.js.gz deleted file mode 100644 index 92db436..0000000 Binary files a/dist/assets/index.64915100.js.gz and /dev/null differ diff --git a/dist/assets/index.d0527b54.css b/dist/assets/index.d0527b54.css new file mode 100644 index 0000000..e87b18f --- /dev/null +++ b/dist/assets/index.d0527b54.css @@ -0,0 +1 @@ +@charset "UTF-8";.base-container{width:100px;height:100px;perspective:780px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.base-child{position:absolute;width:100%;height:100%;box-sizing:border-box;border-radius:50%}.base-child:nth-of-type(1){left:0%;top:0%;-webkit-animation:rotate-one 1.15s linear infinite;animation:rotate-one 1.15s linear infinite;border-bottom:3px solid #5c5edc}.base-child:nth-of-type(2){right:0%;top:0%;-webkit-animation:rotate-two 1.15s linear infinite;animation:rotate-two 1.15s linear infinite;border-right:3px solid #9e85c3}.base-child:nth-of-type(3){right:0%;bottom:0%;-webkit-animation:rotate-three 1.15s linear infinite;animation:rotate-three 1.15s linear infinite;border-top:3px solid #e9908a}@-webkit-keyframes rotate-one{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(360deg)}}@keyframes rotate-one{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(360deg)}}@-webkit-keyframes rotate-two{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(360deg)}}@keyframes rotate-two{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(360deg)}}@-webkit-keyframes rotate-three{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(360deg)}}@keyframes rotate-three{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(360deg)}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.absolute{position:absolute}.relative{position:relative}.inset-x-1\/2{left:50%;right:50%}.inset-y-1\/2{top:50%;bottom:50%}.bottom-1{bottom:.25rem}.right-1\.5{right:.375rem}.right-1{right:.25rem}.float-right{float:right}.m-2{margin:.5rem}.m-auto{margin:auto}.\!my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.mx-2{margin-left:.5rem;margin-right:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-2{margin-bottom:.5rem}.ml-2\.5{margin-left:.625rem}.ml-2{margin-left:.5rem}.mb-4{margin-bottom:1rem}.mr-4{margin-right:1rem}.\!mt-1{margin-top:.25rem!important}.\!mb-2{margin-bottom:.5rem!important}.ml-4{margin-left:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.h-screen{height:100vh}.h-full{height:100%}.h-10{height:2.5rem}.h-3\/4{height:75%}.h-1\/6{height:16.666667%}.h-5\/6{height:83.333333%}.h-5{height:1.25rem}.h-4{height:1rem}.h-auto{height:auto}.h-4\/5{height:80%}.w-screen{width:100vw}.w-52{width:13rem}.w-20{width:5rem}.w-full{width:100%}.\!w-1\/3{width:33.333333%!important}.w-10{width:2.5rem}.w-4{width:1rem}.flex-none{flex:none}.flex-1{flex:1 1 0%}.shrink{flex-shrink:1}.grow{flex-grow:1}.-translate-x-2\/4{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-2\/4{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-items-end{justify-items:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.\!rounded-xl{border-radius:.75rem!important}.rounded-full{border-radius:9999px}.\!rounded-l-xl{border-top-left-radius:.75rem!important;border-bottom-left-radius:.75rem!important}.\!rounded-b-lg{border-bottom-right-radius:.5rem!important;border-bottom-left-radius:.5rem!important}.\!rounded-tl-xl{border-top-left-radius:.75rem!important}.\!rounded-bl-lg{border-bottom-left-radius:.5rem!important}.border-r{border-right-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.p-2\.5{padding:.625rem}.p-2{padding:.5rem}.\!p-1{padding:.25rem!important}.py-8{padding-top:2rem;padding-bottom:2rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-0{padding-left:0;padding-right:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.outline{outline-style:solid}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark .dark\:border-r-zinc-100{--tw-border-opacity: 1;border-right-color:rgb(244 244 245 / var(--tw-border-opacity))}.dark .dark\:bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.dark .dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}*{-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:rgba(255,255,255,0)}html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0}header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block}table{border-collapse:collapse;border-spacing:0}caption,th{text-align:left;font-weight:400}html,body,fieldset,img,iframe,abbr{border:0}i,cite,em,var,address,dfn{font-style:normal}[hidefocus],summary{outline:0}li{list-style:none}h1,h2,h3,h4,h5,h6,small{font-size:100%}sup,sub{font-size:83%}pre,code,kbd,samp{font-family:inherit}q:before,q:after{content:none}textarea{overflow:auto;resize:none}label,summary{cursor:default}a,button{cursor:pointer}h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:700}del,ins,u,s,a,a:hover{text-decoration:none}body,textarea,input,button,select,keygen,legend{font:12px/1.14 arial,\5b8b\4f53;color:#333;outline:0}body{background:#fff}a,a:hover{color:#333}.w-100{width:100%}.h-100{height:100%}.vh-100{height:100vh}.vw-100{width:100vw}#nprogress{pointer-events:none}#nprogress .bar{background:linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6))),0 0 5px linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));border-left-color:linear-gradient(to right,rgb(var(--danger-6)),rgb(var(--primary-6)));border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-size:1em;font-family:monospace,monospace}a{background-color:transparent}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:none}b,strong{font-weight:bolder}code,kbd,samp{font-size:1em;font-family:monospace,monospace}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-size:100%;font-family:inherit;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.arco-icon{display:inline-block;width:1em;height:1em;color:inherit;font-style:normal;vertical-align:-2px;outline:none;stroke:currentColor}.arco-icon-loading,.arco-icon-spin{-webkit-animation:arco-loading-circle 1s infinite cubic-bezier(0,0,1,1);animation:arco-loading-circle 1s infinite cubic-bezier(0,0,1,1)}@-webkit-keyframes arco-loading-circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes arco-loading-circle{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arco-icon-hover{position:relative;display:inline-block;cursor:pointer;line-height:12px}.arco-icon-hover .arco-icon{position:relative}.arco-icon-hover:before{position:absolute;display:block;box-sizing:border-box;background-color:transparent;border-radius:var(--border-radius-circle);transition:background-color .1s cubic-bezier(0,0,1,1);content:""}.arco-icon-hover:hover:before{background-color:var(--color-fill-2)}.arco-icon-hover.arco-icon-hover-disabled:before{opacity:0}.arco-icon-hover:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-mini{line-height:12px}.arco-icon-hover-size-mini:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-small{line-height:12px}.arco-icon-hover-size-small:before{top:50%;left:50%;width:20px;height:20px;transform:translate(-50%,-50%)}.arco-icon-hover-size-large{line-height:12px}.arco-icon-hover-size-large:before{top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.arco-icon-hover-size-huge{line-height:12px}.arco-icon-hover-size-huge:before{top:50%;left:50%;width:24px;height:24px;transform:translate(-50%,-50%)}.fade-in-standard-enter-from,.fade-in-standard-appear-from{opacity:0}.fade-in-standard-enter-to,.fade-in-standard-appear-to{opacity:1}.fade-in-standard-enter-active,.fade-in-standard-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-in-standard-leave-from{opacity:1}.fade-in-standard-leave-to{opacity:0}.fade-in-standard-leave-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1)}.fade-in-enter-from,.fade-in-appear-from{opacity:0}.fade-in-enter-to,.fade-in-appear-to{opacity:1}.fade-in-enter-active,.fade-in-appear-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.fade-in-leave-from{opacity:1}.fade-in-leave-to{opacity:0}.fade-in-leave-active{transition:opacity .1s cubic-bezier(0,0,1,1)}.zoom-in-enter-from,.zoom-in-appear-from{transform:scale(.5);opacity:0}.zoom-in-enter-to,.zoom-in-appear-to{transform:scale(1);opacity:1}.zoom-in-enter-active,.zoom-in-appear-active{transition:opacity .3s cubic-bezier(.34,.69,.1,1),transform .3s cubic-bezier(.34,.69,.1,1)}.zoom-in-leave-from{transform:scale(1);opacity:1}.zoom-in-leave-to{transform:scale(.5);opacity:0}.zoom-in-leave-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-fade-out-enter-from,.zoom-in-fade-out-appear-from{transform:scale(.5);opacity:0}.zoom-in-fade-out-enter-to,.zoom-in-fade-out-appear-to{transform:scale(1);opacity:1}.zoom-in-fade-out-enter-active,.zoom-in-fade-out-appear-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-fade-out-leave-from{transform:scale(1);opacity:1}.zoom-in-fade-out-leave-to{transform:scale(.5);opacity:0}.zoom-in-fade-out-leave-active{transition:opacity .3s cubic-bezier(.3,1.3,.3,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-big-enter-from,.zoom-in-big-appear-from{transform:scale(.5);opacity:0}.zoom-in-big-enter-to,.zoom-in-big-appear-to{transform:scale(1);opacity:1}.zoom-in-big-enter-active,.zoom-in-big-appear-active{transition:opacity .2s cubic-bezier(0,0,1,1),transform .2s cubic-bezier(0,0,1,1)}.zoom-in-big-leave-from{transform:scale(1);opacity:1}.zoom-in-big-leave-to{transform:scale(.2);opacity:0}.zoom-in-big-leave-active{transition:opacity .2s cubic-bezier(0,0,1,1),transform .2s cubic-bezier(0,0,1,1)}.zoom-in-left-enter-from,.zoom-in-left-appear-from{transform:scale(.1);opacity:.1}.zoom-in-left-enter-to,.zoom-in-left-appear-to{transform:scale(1);opacity:1}.zoom-in-left-enter-active,.zoom-in-left-appear-active{transform-origin:0 50%;transition:opacity .3s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-left-leave-from{transform:scale(1);opacity:1}.zoom-in-left-leave-to{transform:scale(.1);opacity:.1}.zoom-in-left-leave-active{transform-origin:0 50%;transition:opacity .3s cubic-bezier(0,0,1,1),transform .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-top-enter-from,.zoom-in-top-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-top-enter-to,.zoom-in-top-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-top-enter-active,.zoom-in-top-appear-active{transform-origin:0 0;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-top-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-top-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-top-leave-active{transform-origin:0 0;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-bottom-enter-from,.zoom-in-bottom-appear-from{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-bottom-enter-to,.zoom-in-bottom-appear-to{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-bottom-enter-active,.zoom-in-bottom-appear-active{transform-origin:100% 100%;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.zoom-in-bottom-leave-from{transform:scaleY(1) translateZ(0);opacity:1}.zoom-in-bottom-leave-to{transform:scaleY(.8) translateZ(0);opacity:0}.zoom-in-bottom-leave-active{transform-origin:100% 100%;transition:transform .3s cubic-bezier(.3,1.3,.3,1),opacity .3s cubic-bezier(.3,1.3,.3,1)}.slide-dynamic-origin-enter-from,.slide-dynamic-origin-appear-from{transform:scaleY(.9);transform-origin:0 0;opacity:0}.slide-dynamic-origin-enter-to,.slide-dynamic-origin-appear-to{transform:scaleY(1);transform-origin:0 0;opacity:1}.slide-dynamic-origin-enter-active,.slide-dynamic-origin-appear-active{transition:transform .2s cubic-bezier(.34,.69,.1,1),opacity .2s cubic-bezier(.34,.69,.1,1)}.slide-dynamic-origin-leave-from{transform:scaleY(1);transform-origin:0 0;opacity:1}.slide-dynamic-origin-leave-to{transform:scaleY(.9);transform-origin:0 0;opacity:0}.slide-dynamic-origin-leave-active{transition:transform .2s cubic-bezier(.34,.69,.1,1),opacity .2s cubic-bezier(.34,.69,.1,1)}.slide-left-enter-from,.slide-left-appear-from{transform:translate(-100%)}.slide-left-enter-to,.slide-left-appear-to{transform:translate(0)}.slide-left-enter-active,.slide-left-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-left-leave-from{transform:translate(0)}.slide-left-leave-to{transform:translate(-100%)}.slide-left-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-enter-from,.slide-right-appear-from{transform:translate(100%)}.slide-right-enter-to,.slide-right-appear-to{transform:translate(0)}.slide-right-enter-active,.slide-right-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-right-leave-from{transform:translate(0)}.slide-right-leave-to{transform:translate(100%)}.slide-right-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-enter-from,.slide-top-appear-from{transform:translateY(-100%)}.slide-top-enter-to,.slide-top-appear-to{transform:translateY(0)}.slide-top-enter-active,.slide-top-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-top-leave-from{transform:translateY(0)}.slide-top-leave-to{transform:translateY(-100%)}.slide-top-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-enter-from,.slide-bottom-appear-from{transform:translateY(100%)}.slide-bottom-enter-to,.slide-bottom-appear-to{transform:translateY(0)}.slide-bottom-enter-active,.slide-bottom-appear-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}.slide-bottom-leave-from{transform:translateY(0)}.slide-bottom-leave-to{transform:translateY(100%)}.slide-bottom-leave-active{transition:transform .3s cubic-bezier(.34,.69,.1,1)}body{--red-1: 255,236,232;--red-2: 253,205,197;--red-3: 251,172,163;--red-4: 249,137,129;--red-5: 247,101,96;--red-6: 245,63,63;--red-7: 203,39,45;--red-8: 161,21,30;--red-9: 119,8,19;--red-10: 77,0,10;--orangered-1: 255,243,232;--orangered-2: 253,221,195;--orangered-3: 252,197,159;--orangered-4: 250,172,123;--orangered-5: 249,144,87;--orangered-6: 247,114,52;--orangered-7: 204,81,32;--orangered-8: 162,53,17;--orangered-9: 119,31,6;--orangered-10: 77,14,0;--orange-1: 255,247,232;--orange-2: 255,228,186;--orange-3: 255,207,139;--orange-4: 255,182,93;--orange-5: 255,154,46;--orange-6: 255,125,0;--orange-7: 210,95,0;--orange-8: 166,69,0;--orange-9: 121,46,0;--orange-10: 77,27,0;--gold-1: 255,252,232;--gold-2: 253,244,191;--gold-3: 252,233,150;--gold-4: 250,220,109;--gold-5: 249,204,69;--gold-6: 247,186,30;--gold-7: 204,146,19;--gold-8: 162,109,10;--gold-9: 119,75,4;--gold-10: 77,45,0;--yellow-1: 254,255,232;--yellow-2: 254,254,190;--yellow-3: 253,250,148;--yellow-4: 252,242,107;--yellow-5: 251,232,66;--yellow-6: 250,220,25;--yellow-7: 207,175,15;--yellow-8: 163,132,8;--yellow-9: 120,93,3;--yellow-10: 77,56,0;--lime-1: 252,255,232;--lime-2: 237,248,187;--lime-3: 220,241,144;--lime-4: 201,233,104;--lime-5: 181,226,65;--lime-6: 159,219,29;--lime-7: 126,183,18;--lime-8: 95,148,10;--lime-9: 67,112,4;--lime-10: 42,77,0;--green-1: 232,255,234;--green-2: 175,240,181;--green-3: 123,225,136;--green-4: 76,210,99;--green-5: 35,195,67;--green-6: 0,180,42;--green-7: 0,154,41;--green-8: 0,128,38;--green-9: 0,102,34;--green-10: 0,77,28;--cyan-1: 232,255,251;--cyan-2: 183,244,236;--cyan-3: 137,233,224;--cyan-4: 94,223,214;--cyan-5: 55,212,207;--cyan-6: 20,201,201;--cyan-7: 13,165,170;--cyan-8: 7,130,139;--cyan-9: 3,97,108;--cyan-10: 0,66,77;--blue-1: 232,247,255;--blue-2: 195,231,254;--blue-3: 159,212,253;--blue-4: 123,192,252;--blue-5: 87,169,251;--blue-6: 52,145,250;--blue-7: 32,108,207;--blue-8: 17,75,163;--blue-9: 6,48,120;--blue-10: 0,26,77;--arcoblue-1: 232,243,255;--arcoblue-2: 190,218,255;--arcoblue-3: 148,191,255;--arcoblue-4: 106,161,255;--arcoblue-5: 64,128,255;--arcoblue-6: 22,93,255;--arcoblue-7: 14,66,210;--arcoblue-8: 7,44,166;--arcoblue-9: 3,26,121;--arcoblue-10: 0,13,77;--purple-1: 245,232,255;--purple-2: 221,190,246;--purple-3: 195,150,237;--purple-4: 168,113,227;--purple-5: 141,78,218;--purple-6: 114,46,209;--purple-7: 85,29,176;--purple-8: 60,16,143;--purple-9: 39,6,110;--purple-10: 22,0,77;--pinkpurple-1: 255,232,251;--pinkpurple-2: 247,186,239;--pinkpurple-3: 240,142,230;--pinkpurple-4: 232,101,223;--pinkpurple-5: 225,62,219;--pinkpurple-6: 217,26,217;--pinkpurple-7: 176,16,182;--pinkpurple-8: 138,9,147;--pinkpurple-9: 101,3,112;--pinkpurple-10: 66,0,77;--magenta-1: 255,232,241;--magenta-2: 253,194,219;--magenta-3: 251,157,199;--magenta-4: 249,121,183;--magenta-5: 247,84,168;--magenta-6: 245,49,157;--magenta-7: 203,30,131;--magenta-8: 161,16,105;--magenta-9: 119,6,79;--magenta-10: 77,0,52;--gray-1: 247,248,250;--gray-2: 242,243,245;--gray-3: 229,230,235;--gray-4: 201,205,212;--gray-5: 169,174,184;--gray-6: 134,144,156;--gray-7: 107,119,133;--gray-8: 78,89,105;--gray-9: 39,46,59;--gray-10: 29,33,41;--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--primary-1: var(--arcoblue-1);--primary-2: var(--arcoblue-2);--primary-3: var(--arcoblue-3);--primary-4: var(--arcoblue-4);--primary-5: var(--arcoblue-5);--primary-6: var(--arcoblue-6);--primary-7: var(--arcoblue-7);--primary-8: var(--arcoblue-8);--primary-9: var(--arcoblue-9);--primary-10: var(--arcoblue-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10);--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10)}body[arco-theme=dark]{--red-1: 77,0,10;--red-2: 119,6,17;--red-3: 161,22,31;--red-4: 203,46,52;--red-5: 245,78,78;--red-6: 247,105,101;--red-7: 249,141,134;--red-8: 251,176,167;--red-9: 253,209,202;--red-10: 255,240,236;--orangered-1: 77,14,0;--orangered-2: 119,30,5;--orangered-3: 162,55,20;--orangered-4: 204,87,41;--orangered-5: 247,126,69;--orangered-6: 249,146,90;--orangered-7: 250,173,125;--orangered-8: 252,198,161;--orangered-9: 253,222,197;--orangered-10: 255,244,235;--orange-1: 77,27,0;--orange-2: 121,48,4;--orange-3: 166,75,10;--orange-4: 210,105,19;--orange-5: 255,141,31;--orange-6: 255,150,38;--orange-7: 255,179,87;--orange-8: 255,205,135;--orange-9: 255,227,184;--orange-10: 255,247,232;--gold-1: 77,45,0;--gold-2: 119,75,4;--gold-3: 162,111,15;--gold-4: 204,150,31;--gold-5: 247,192,52;--gold-6: 249,204,68;--gold-7: 250,220,108;--gold-8: 252,233,149;--gold-9: 253,244,190;--gold-10: 255,252,232;--yellow-1: 77,56,0;--yellow-2: 120,94,7;--yellow-3: 163,134,20;--yellow-4: 207,179,37;--yellow-5: 250,225,60;--yellow-6: 251,233,75;--yellow-7: 252,243,116;--yellow-8: 253,250,157;--yellow-9: 254,254,198;--yellow-10: 254,255,240;--lime-1: 42,77,0;--lime-2: 68,112,6;--lime-3: 98,148,18;--lime-4: 132,183,35;--lime-5: 168,219,57;--lime-6: 184,226,75;--lime-7: 203,233,112;--lime-8: 222,241,152;--lime-9: 238,248,194;--lime-10: 253,255,238;--green-1: 0,77,28;--green-2: 4,102,37;--green-3: 10,128,45;--green-4: 18,154,55;--green-5: 29,180,64;--green-6: 39,195,70;--green-7: 80,210,102;--green-8: 126,225,139;--green-9: 178,240,183;--green-10: 235,255,236;--cyan-1: 0,66,77;--cyan-2: 6,97,108;--cyan-3: 17,131,139;--cyan-4: 31,166,170;--cyan-5: 48,201,201;--cyan-6: 63,212,207;--cyan-7: 102,223,215;--cyan-8: 144,233,225;--cyan-9: 190,244,237;--cyan-10: 240,255,252;--blue-1: 0,26,77;--blue-2: 5,47,120;--blue-3: 19,76,163;--blue-4: 41,113,207;--blue-5: 70,154,250;--blue-6: 90,170,251;--blue-7: 125,193,252;--blue-8: 161,213,253;--blue-9: 198,232,254;--blue-10: 234,248,255;--arcoblue-1: 0,13,77;--arcoblue-2: 4,27,121;--arcoblue-3: 14,50,166;--arcoblue-4: 29,77,210;--arcoblue-5: 48,111,255;--arcoblue-6: 60,126,255;--arcoblue-7: 104,159,255;--arcoblue-8: 147,190,255;--arcoblue-9: 190,218,255;--arcoblue-10: 234,244,255;--purple-1: 22,0,77;--purple-2: 39,6,110;--purple-3: 62,19,143;--purple-4: 90,37,176;--purple-5: 123,61,209;--purple-6: 142,81,218;--purple-7: 169,116,227;--purple-8: 197,154,237;--purple-9: 223,194,246;--purple-10: 247,237,255;--pinkpurple-1: 66,0,77;--pinkpurple-2: 101,3,112;--pinkpurple-3: 138,13,147;--pinkpurple-4: 176,27,182;--pinkpurple-5: 217,46,217;--pinkpurple-6: 225,61,219;--pinkpurple-7: 232,102,223;--pinkpurple-8: 240,146,230;--pinkpurple-9: 247,193,240;--pinkpurple-10: 255,242,253;--magenta-1: 77,0,52;--magenta-2: 119,8,80;--magenta-3: 161,23,108;--magenta-4: 203,43,136;--magenta-5: 245,69,166;--magenta-6: 247,86,169;--magenta-7: 249,122,184;--magenta-8: 251,158,200;--magenta-9: 253,195,219;--magenta-10: 255,232,241;--gray-1: 23,23,26;--gray-2: 46,46,48;--gray-3: 72,72,73;--gray-4: 95,95,96;--gray-5: 120,120,122;--gray-6: 146,146,147;--gray-7: 171,171,172;--gray-8: 197,197,197;--gray-9: 223,223,223;--gray-10: 246,246,246;--primary-1: var(--arcoblue-1);--primary-2: var(--arcoblue-2);--primary-3: var(--arcoblue-3);--primary-4: var(--arcoblue-4);--primary-5: var(--arcoblue-5);--primary-6: var(--arcoblue-6);--primary-7: var(--arcoblue-7);--primary-8: var(--arcoblue-8);--primary-9: var(--arcoblue-9);--primary-10: var(--arcoblue-10);--success-1: var(--green-1);--success-2: var(--green-2);--success-3: var(--green-3);--success-4: var(--green-4);--success-5: var(--green-5);--success-6: var(--green-6);--success-7: var(--green-7);--success-8: var(--green-8);--success-9: var(--green-9);--success-10: var(--green-10);--danger-1: var(--red-1);--danger-2: var(--red-2);--danger-3: var(--red-3);--danger-4: var(--red-4);--danger-5: var(--red-5);--danger-6: var(--red-6);--danger-7: var(--red-7);--danger-8: var(--red-8);--danger-9: var(--red-9);--danger-10: var(--red-10);--warning-1: var(--orange-1);--warning-2: var(--orange-2);--warning-3: var(--orange-3);--warning-4: var(--orange-4);--warning-5: var(--orange-5);--warning-6: var(--orange-6);--warning-7: var(--orange-7);--warning-8: var(--orange-8);--warning-9: var(--orange-9);--warning-10: var(--orange-10);--link-1: var(--arcoblue-1);--link-2: var(--arcoblue-2);--link-3: var(--arcoblue-3);--link-4: var(--arcoblue-4);--link-5: var(--arcoblue-5);--link-6: var(--arcoblue-6);--link-7: var(--arcoblue-7);--link-8: var(--arcoblue-8);--link-9: var(--arcoblue-9);--link-10: var(--arcoblue-10)}body{--color-white: #ffffff;--color-black: #000000;--color-border: rgb(var(--gray-3));--color-bg-popup: var(--color-bg-5);--color-bg-1: #fff;--color-bg-2: #fff;--color-bg-3: #fff;--color-bg-4: #fff;--color-bg-5: #fff;--color-bg-white: #fff;--color-neutral-1: rgb(var(--gray-1));--color-neutral-2: rgb(var(--gray-2));--color-neutral-3: rgb(var(--gray-3));--color-neutral-4: rgb(var(--gray-4));--color-neutral-5: rgb(var(--gray-5));--color-neutral-6: rgb(var(--gray-6));--color-neutral-7: rgb(var(--gray-7));--color-neutral-8: rgb(var(--gray-8));--color-neutral-9: rgb(var(--gray-9));--color-neutral-10: rgb(var(--gray-10));--color-text-1: var(--color-neutral-10);--color-text-2: var(--color-neutral-8);--color-text-3: var(--color-neutral-6);--color-text-4: var(--color-neutral-4);--color-border-1: var(--color-neutral-2);--color-border-2: var(--color-neutral-3);--color-border-3: var(--color-neutral-4);--color-border-4: var(--color-neutral-6);--color-fill-1: var(--color-neutral-1);--color-fill-2: var(--color-neutral-2);--color-fill-3: var(--color-neutral-3);--color-fill-4: var(--color-neutral-4);--color-primary-light-1: rgb(var(--primary-1));--color-primary-light-2: rgb(var(--primary-2));--color-primary-light-3: rgb(var(--primary-3));--color-primary-light-4: rgb(var(--primary-4));--color-link-light-1: rgb(var(--link-1));--color-link-light-2: rgb(var(--link-2));--color-link-light-3: rgb(var(--link-3));--color-link-light-4: rgb(var(--link-4));--color-secondary: var(--color-neutral-2);--color-secondary-hover: var(--color-neutral-3);--color-secondary-active: var(--color-neutral-4);--color-secondary-disabled: var(--color-neutral-1);--color-danger-light-1: rgb(var(--danger-1));--color-danger-light-2: rgb(var(--danger-2));--color-danger-light-3: rgb(var(--danger-3));--color-danger-light-4: rgb(var(--danger-4));--color-success-light-1: rgb(var(--success-1));--color-success-light-2: rgb(var(--success-2));--color-success-light-3: rgb(var(--success-3));--color-success-light-4: rgb(var(--success-4));--color-warning-light-1: rgb(var(--warning-1));--color-warning-light-2: rgb(var(--warning-2));--color-warning-light-3: rgb(var(--warning-3));--color-warning-light-4: rgb(var(--warning-4));--border-radius-none: 0;--border-radius-small: 2px;--border-radius-medium: 4px;--border-radius-large: 8px;--border-radius-circle: 50%;--color-tooltip-bg: rgb(var(--gray-10));--color-spin-layer-bg: rgba(255, 255, 255, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #ffffff;--color-menu-dark-hover: rgba(255, 255, 255, .04);--color-mask-bg: rgba(29, 33, 41, .6)}body[arco-theme=dark]{--color-white: rgba(255, 255, 255, .9);--color-black: #000000;--color-border: #333335;--color-bg-1: #17171a;--color-bg-2: #232324;--color-bg-3: #2a2a2b;--color-bg-4: #313132;--color-bg-5: #373739;--color-bg-white: #f6f6f6;--color-text-1: rgba(255, 255, 255, .9);--color-text-2: rgba(255, 255, 255, .7);--color-text-3: rgba(255, 255, 255, .5);--color-text-4: rgba(255, 255, 255, .3);--color-fill-1: rgba(255, 255, 255, .04);--color-fill-2: rgba(255, 255, 255, .08);--color-fill-3: rgba(255, 255, 255, .12);--color-fill-4: rgba(255, 255, 255, .16);--color-primary-light-1: rgba(var(--primary-6), .2);--color-primary-light-2: rgba(var(--primary-6), .35);--color-primary-light-3: rgba(var(--primary-6), .5);--color-primary-light-4: rgba(var(--primary-6), .65);--color-secondary: rgba(var(--gray-9), .08);--color-secondary-hover: rgba(var(--gray-8), .16);--color-secondary-active: rgba(var(--gray-7), .24);--color-secondary-disabled: rgba(var(--gray-9), .08);--color-danger-light-1: rgba(var(--danger-6), .2);--color-danger-light-2: rgba(var(--danger-6), .35);--color-danger-light-3: rgba(var(--danger-6), .5);--color-danger-light-4: rgba(var(--danger-6), .65);--color-success-light-1: rgb(var(--success-6), .2);--color-success-light-2: rgb(var(--success-6), .35);--color-success-light-3: rgb(var(--success-6), .5);--color-success-light-4: rgb(var(--success-6), .65);--color-warning-light-1: rgb(var(--warning-6), .2);--color-warning-light-2: rgb(var(--warning-6), .35);--color-warning-light-3: rgb(var(--warning-6), .5);--color-warning-light-4: rgb(var(--warning-6), .65);--color-link-light-1: rgb(var(--link-6), .2);--color-link-light-2: rgb(var(--link-6), .35);--color-link-light-3: rgb(var(--link-6), .5);--color-link-light-4: rgb(var(--link-6), .65);--color-tooltip-bg: #373739;--color-spin-layer-bg: rgba(51, 51, 51, .6);--color-menu-dark-bg: #232324;--color-menu-light-bg: #232324;--color-menu-dark-hover: var(--color-fill-2);--color-mask-bg: rgba(23, 23, 26, .6)}body{font-size:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,noto sans,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}.arco-notification-list{position:fixed;z-index:1003}.arco-notification-list-top-left{top:20px;left:20px}.arco-notification-list-top-right{top:20px;right:20px}.arco-notification-list-top-right .arco-notification{margin-left:auto}.arco-notification-list-bottom-left{bottom:20px;left:20px}.arco-notification-list-bottom-right{right:20px;bottom:20px}.arco-notification-list-bottom-right .arco-notification{margin-left:auto}.arco-notification{position:relative;display:flex;box-sizing:border-box;width:340px;margin-bottom:20px;padding:20px;overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 4px 12px #00000026;opacity:1;transition:opacity .2s cubic-bezier(0,0,1,1)}.arco-notification-icon{display:inline-flex;align-items:center;font-size:24px}.arco-notification-info{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-info .arco-notification-icon{color:rgb(var(--primary-6))}.arco-notification-success{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-success .arco-notification-icon{color:rgb(var(--success-6))}.arco-notification-warning{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-warning .arco-notification-icon{color:rgb(var(--warning-6))}.arco-notification-error{background-color:var(--color-bg-popup);border-color:var(--color-neutral-3)}.arco-notification-error .arco-notification-icon{color:rgb(var(--danger-6))}.arco-notification-left{padding-right:16px}.arco-notification-right{flex:1;word-break:break-word}.arco-notification-title{margin-bottom:4px;color:var(--color-text-1);font-weight:500;font-size:16px}.arco-notification-content{color:var(--color-text-1);font-size:14px}.arco-notification-info .arco-notification-title,.arco-notification-info .arco-notification-content,.arco-notification-success .arco-notification-title,.arco-notification-success .arco-notification-content,.arco-notification-warning .arco-notification-title,.arco-notification-warning .arco-notification-content,.arco-notification-error .arco-notification-title,.arco-notification-error .arco-notification-content{color:var(--color-text-1)}.arco-notification-footer{margin-top:16px;text-align:right}.arco-notification-close-btn{position:absolute;top:12px;right:12px;color:var(--color-text-1);font-size:12px;cursor:pointer}.arco-notification-close-btn>svg{position:relative}.arco-notification .arco-icon-hover.arco-notification-icon-hover:before{width:20px;height:20px}.slide-left-notification-enter-from,.slide-left-notification-appear-from{transform:translate(-100%)}.slide-left-notification-enter-to,.slide-left-notification-appear-to{transform:translate(0)}.slide-left-notification-enter-active,.slide-left-notification-appear-active{transition:transform .4s cubic-bezier(.3,1.3,.3,1)}.slide-left-notification-leave-from{opacity:1}.slide-left-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-left-notification-leave-active{transition:all .3s cubic-bezier(.34,.69,.1,1)}.slide-right-notification-enter-from,.slide-right-notification-appear-from{transform:translate(100%)}.slide-right-notification-enter-to,.slide-right-notification-appear-to{transform:translate(0)}.slide-right-notification-enter-active,.slide-right-notification-appear-active{transition:transform .4s cubic-bezier(.3,1.3,.3,1)}.slide-right-notification-leave-from{opacity:1}.slide-right-notification-leave-to{height:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}.slide-right-notification-leave-active{transition:all .3s cubic-bezier(.34,.69,.1,1)} diff --git a/dist/assets/index.d0527b54.css.gz b/dist/assets/index.d0527b54.css.gz new file mode 100644 index 0000000..e43aae4 Binary files /dev/null and b/dist/assets/index.d0527b54.css.gz differ diff --git a/dist/assets/index.e8e9c4ba.js b/dist/assets/index.d37669f8.js similarity index 99% rename from dist/assets/index.e8e9c4ba.js rename to dist/assets/index.d37669f8.js index 1ec65cc..10b3544 100644 --- a/dist/assets/index.e8e9c4ba.js +++ b/dist/assets/index.d37669f8.js @@ -26,4 +26,4 @@ let G;const q=e=>G=e,K=Symbol();function Y(e){return e&&"object"==typeof e&&"[ob * @license MIT */null!==Vn&&(Bn.data=JSON.parse(Vn)),Bn.write();const Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,Yn=e=>Kn?Symbol(e):"_vr_"+e,Qn=Yn("rvlm"),Zn=Yn("rvd"),Xn=Yn("r"),Jn=Yn("rl"),er=Yn("rvl"),tr="undefined"!=typeof window;const nr=Object.assign;function rr(e,t){const n={};for(const r in t){const a=t[r];n[r]=Array.isArray(a)?a.map(e):e(a)}return n}const ar=()=>{},or=/\/$/;function sr(e,t,n="/"){let r,a={},o="",s="";const i=t.indexOf("?"),l=t.indexOf("#",i>-1?i:0);return i>-1&&(r=t.slice(0,i),o=t.slice(i+1,l>-1?l:t.length),a=e(o)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let a,o,s=n.length-1;for(a=0;ae===t[n])):1===e.length&&e[0]===t}var dr,hr,fr,mr;function gr(e){if(!e)if(tr){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(or,"")}(hr=dr||(dr={})).pop="pop",hr.push="push",(mr=fr||(fr={})).back="back",mr.forward="forward",mr.unknown="";const vr=/^[^#]+#/;function br(e,t){return e.replace(vr,"#")+t}const _r=()=>({left:window.pageXOffset,top:window.pageYOffset});function yr(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),a="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function wr(e,t){return(history.state?history.state.position-t:-1)+e}const Er=new Map;function Ar(e,t){const{pathname:n,search:r,hash:a}=t,o=e.indexOf("#");if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return"/"!==n[0]&&(n="/"+n),ir(n,"")}return ir(n,e)+r+a}function Sr(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?_r():null}}function kr(e){const{history:t,location:n}=window,r={value:Ar(e,n)},a={value:t.state};function o(r,o,s){const i=e.indexOf("#"),l=i>-1?(n.host&&document.querySelector("base")?e:e.slice(i))+r:location.protocol+"//"+location.host+e+r;try{t[s?"replaceState":"pushState"](o,"",l),a.value=o}catch(c){n[s?"replace":"assign"](l)}}return a.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:a,push:function(e,n){const s=nr({},a.value,t.state,{forward:e,scroll:_r()});o(s.current,s,!0),o(e,nr({},Sr(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){o(e,nr({},t.state,Sr(a.value.back,e,a.value.forward,!0),n,{position:a.value.position}),!0),r.value=e}}}function Pr(e){return"string"==typeof e||"symbol"==typeof e}const Rr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Lr=Yn("nf");var Nr,Cr;function Or(e,t){return nr(new Error,{type:e,[Lr]:!0},t)}function Mr(e,t){return e instanceof Error&&Lr in e&&(null==t||!!(e.type&t))}(Cr=Nr||(Nr={}))[Cr.aborted=4]="aborted",Cr[Cr.cancelled=8]="cancelled",Cr[Cr.duplicated=16]="duplicated";const Ir={sensitive:!1,strict:!1,start:!0,end:!0},Dr=/[.+*?^${}()[\]/\\]/g;function Tr(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function xr(e,t){let n=0;const r=e.score,a=t.score;for(;n1&&("*"===i||"+"===i)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),c="")}function d(){c+=i}for(;l{o(d)}:ar}function o(e){if(Pr(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!zr(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Hr(e)&&r.set(e.record.name,e)}return t=Vr({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>a(e))),{addRoute:a,resolve:function(e,t){let a,o,s,i={};if("name"in e&&e.name){if(a=r.get(e.name),!a)throw Or(1,{location:e});s=a.record.name,i=nr(function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(t.params,a.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),o=a.stringify(i)}else if("path"in e)o=e.path,a=n.find((e=>e.re.test(o))),a&&(i=a.parse(o),s=a.record.name);else{if(a=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!a)throw Or(1,{location:e,currentLocation:t});s=a.record.name,i=nr({},t.params,e.params),o=a.stringify(i)}const l=[];let c=a;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:o,params:i,matched:l,meta:Br(l)}},removeRoute:o,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function jr(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function Hr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Br(e){return e.reduce(((e,t)=>nr(e,t.meta)),{})}function Vr(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function zr(e,t){return t.children.some((t=>t===e||zr(e,t)))}const Gr=/#/g,qr=/&/g,Kr=/\//g,Yr=/=/g,Qr=/\?/g,Zr=/\+/g,Xr=/%5B/g,Jr=/%5D/g,ea=/%5E/g,ta=/%60/g,na=/%7B/g,ra=/%7C/g,aa=/%7D/g,oa=/%20/g;function sa(e){return encodeURI(""+e).replace(ra,"|").replace(Xr,"[").replace(Jr,"]")}function ia(e){return sa(e).replace(Zr,"%2B").replace(oa,"+").replace(Gr,"%23").replace(qr,"%26").replace(ta,"`").replace(na,"{").replace(aa,"}").replace(ea,"^")}function la(e){return null==e?"":function(e){return sa(e).replace(Gr,"%23").replace(Qr,"%3F")}(e).replace(Kr,"%2F")}function ca(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ua(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;re&&ia(e))):[r&&ia(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function da(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=Array.isArray(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}function ha(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function fa(e){const t=a(Qn,{}).value;t&&function(e,t,n){const r=()=>{e[t].delete(n)};u(r),E(r),A((()=>{e[t].add(n)})),e[t].add(n)}(t,"leaveGuards",e)}function ma(e,t,n,r,a){const o=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise(((s,i)=>{const l=e=>{var l;!1===e?i(Or(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(l=e)||l&&"object"==typeof l?i(Or(2,{from:t,to:e})):(o&&r.enterCallbacks[a]===o&&"function"==typeof e&&o.push(e),s())},c=e.call(r&&r.instances[a],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>i(e)))}))}function ga(e,t,n,r){const a=[];for(const s of e)for(const e in s.components){let i=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(o=i)||"displayName"in o||"props"in o||"__vccOpts"in o){const o=(i.__vccOpts||i)[t];o&&a.push(ma(o,n,r,s,e))}else{let o=i();a.push((()=>o.then((a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const o=(i=a).__esModule||Kn&&"Module"===i[Symbol.toStringTag]?a.default:a;var i;s.components[e]=o;const l=(o.__vccOpts||o)[t];return l&&ma(l,n,r,s,e)()}))))}}var o;return a}function va(e){const t=a(Xn),n=a(Jn),r=h((()=>t.resolve(w(e.to)))),o=h((()=>{const{matched:e}=r.value,{length:t}=e,a=e[t-1],o=n.matched;if(!a||!o.length)return-1;const s=o.findIndex(lr.bind(null,a));if(s>-1)return s;const i=_a(e[t-2]);return t>1&&_a(a)===i&&o[o.length-1].path!==i?o.findIndex(lr.bind(null,e[t-2])):s})),s=h((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],a=e[n];if("string"==typeof r){if(r!==a)return!1}else if(!Array.isArray(a)||a.length!==r.length||r.some(((e,t)=>e!==a[t])))return!1}return!0}(n.params,r.value.params))),i=h((()=>o.value>-1&&o.value===n.matched.length-1&&cr(n.params,r.value.params)));return{route:r,href:h((()=>r.value.href)),isActive:s,isExactActive:i,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[w(e.replace)?"replace":"push"](w(e.to)).catch(ar):Promise.resolve()}}}const ba=S({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:va,setup(e,{slots:t}){const n=s(va(e)),{options:r}=a(Xn),o=h((()=>({[ya(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ya(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:m("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function _a(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ya=(e,t,n)=>null!=e?e:null!=t?t:n;function wa(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ea=S({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:n,slots:r}){const s=a(er),i=h((()=>e.route||s.value)),l=a(Zn,0),c=h((()=>i.value.matched[l]));k(Zn,l+1),k(Qn,c),k(er,i);const u=t();return o((()=>[u.value,c.value,e.name]),(([e,t,n],[r,a,o])=>{t&&(t.instances[n]=e,a&&a!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=a.leaveGuards),t.updateGuards.size||(t.updateGuards=a.updateGuards))),!e||!t||a&&lr(t,a)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const t=i.value,a=c.value,o=a&&a.components[e.name],s=e.name;if(!o)return wa(r.default,{Component:o,route:t});const l=a.props[e.name],p=l?!0===l?t.params:"function"==typeof l?l(t):l:null,d=m(o,nr({},p,n,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[s]=null)},ref:u}));return wa(r.default,{Component:d,route:t})||d}}});function Aa(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function Sa(){return a(Xn)}function ka(){return a(Jn)}const Pa=oe({id:"db",actions:{set({dbName:e="database",path:t="",value:n="",user:r=!1}){!function({dbName:e="database",path:t="",value:n="",user:r=!1}){Bn.data=Bn.chain.set(zn({dbName:e,path:t,user:r}),n).value(),Bn.write()}({dbName:e,path:t,value:n,user:r})},get:({dbName:e="database",path:t="",defaultValue:n="",user:r=!1})=>Gn({dbName:e,path:t,defaultValue:n,user:r}),database:({user:e=!1}={})=>qn({user:e,defaultValue:{}}),databaseClear:({user:e=!1}={})=>qn({user:e,validator:()=>!1,defaultValue:{}}),databasePage:({basis:e="fullPath",user:t=!1}={})=>qn({path:`$page.${ka()[e]}`,user:t,defaultValue:{}}),databasePageClear:({basis:e="fullPath",user:t=!1}={})=>qn({path:`$page.${ka()[e]}`,user:t,validator:()=>!1,defaultValue:{}}),pageSet:({instance:e,basis:t="fullPath",user:n=!1})=>qn({path:`$page.${ka()[t]}.$data`,user:n,validator:()=>!1,defaultValue:j.exports.cloneDeep(e.$data)}),pageGet:({instance:e,basis:t="fullPath",user:n=!1})=>Gn({path:`$page.${ka()[t]}.$data`,user:n,defaultValue:j.exports.cloneDeep(e.$data)}),pageClear:({basis:e="fullPath",user:t=!1})=>qn({path:`$page.${ka()[e]}.$data`,user:t,validator:()=>!1,defaultValue:{}})}});var Ra=(e=>(e.DATABASE="database",e.SYSTEM="system",e))(Ra||{}),La=(e=>(e.LANG="lang",e.THEME="theme",e.SPCIALEFFICIENCY="specialEfficiency",e.COLLAPSED="collapsed",e.ASYNCMENU="asyncMenu",e))(La||{});const Na=oe({id:"app",state:()=>({theme:"",lang:"",collapsed:!0,specialEfficiency:!1}),getters:{getTheme:e=>e.theme,getCollapsed:e=>e.collapsed,getSpecialEfficiency:e=>e.specialEfficiency},actions:{reload(){const e=Pa().get({dbName:Ra.SYSTEM,defaultValue:{}});this.setTheme(null==e?void 0:e.theme),this.setLang(null==e?void 0:e.lang),this.setCollapsed(null==e?void 0:e.collapsed),this.setSpecialEfficiency(null==e?void 0:e.specialEfficiency),this.fetchSpecialEfficiency()},setTheme(e=B.DARK){const t=Pa();this.theme=e,document.body.setAttribute("arco-theme",e),t.set({dbName:Ra.SYSTEM,path:La.THEME,value:e})},setLang(e=V.ZH){const t=Pa();this.lang=e,jn.global.locale=e,t.set({dbName:Ra.SYSTEM,path:La.LANG,value:e})},setCollapsed(e,t){if([void 0,"clickTrigger"].includes(t)){const t=Pa();this.collapsed=e,t.set({dbName:Ra.SYSTEM,path:La.COLLAPSED,value:e})}},setSpecialEfficiency(e=!1,t){const n=Pa();this.specialEfficiency=e,n.set({dbName:Ra.SYSTEM,path:La.SPCIALEFFICIENCY,value:e}),t&&location.reload()},fetchSpecialEfficiency(){if(this.specialEfficiency){const e=document.createElement("script");e.src=`${this.getSpecialEfficiency}`,p((()=>{document.body.appendChild(e)}))}}}}),Ca=S({setup:e=>(Na().reload(),(e,t)=>{const n=P("router-view");return R(),L(n)})});const Oa="undefined"!=typeof window,Ma="undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:Function("return this")(),Ia=()=>{},Da=()=>!1,Ta=Array.isArray,xa=Object.assign,Wa=Object.defineProperty,Fa=Object.defineProperties,Ua=Object.prototype.hasOwnProperty;function $a(e){return void 0===e}function ja(e){return null===e}function Ha(e){return"string"==typeof e}function Ba(e){return"boolean"==typeof e}function Va(e){return"number"==typeof e}function za(e){return"function"==typeof e}function Ga(e){return"[object Object]"===toString.call(e)}function qa(e){return"object"==typeof e}function Ka(e){return"[object Promise]"===toString.call(e)}function Ya(e){var t;if(za(e)){const n=e.toString();return(null===(t=e.prototype)||void 0===t?void 0:t.constructor)===e&&Object.getOwnPropertyNames(e.prototype).length>1||/^function\s+[A-Z]/.test(n)||/^class\s+/.test(n)}return!1}function Qa(e){return e instanceof URL}function Za(e){return e instanceof Element}function Xa(e){return e instanceof Node}function Ja(e,t=null,...n){t&&Ha(t);Ha(e)}function eo(e,t=null,...n){t&&Ha(t);Ha(e)}function to(e,...t){Promise.resolve().then(e.bind(null,...t))}const no=function(){class e extends URL{}return(t,n)=>n?new e(""+t,n):new e(""+t)}();function ro(e){return e.startsWith("//")?`${Ma.location.protocol}${e}`:e}function ao(e,t=null){if(!Ha(e)||!e)return"";try{const{origin:t,pathname:n,search:r}=no(ro(e));if(/\.(\w+)$/.test(n))return`${t}${n}${r}`;const a=`${t}${n}/`.replace(/\/\/$/,"/");return/^https?:\/\//.test(a)?`${a}${r}`:""}catch(n){return Ja(n,t),""}}function oo(e){return Ha(e)&&e?e.replace(/(^\d+)|([^\w\d-_])/gi,""):""}function so(e){const{origin:t,pathname:n}=no(e);if(/\.(\w+)$/.test(n)){const e=`${t}${n}`.split("/");return e.pop(),e.join("/")+"/"}return`${t}${n}/`.replace(/\/\/$/,"/")}function io(e,t){return!e||/^((((ht|f)tps?)|file):)?\/\//.test(e)||/^(data|blob):/.test(e)?e:no(e,so(ro(t))).toString()}function lo(e,t,n,r){let a=0;function o(){++a===e.length&&r&&r()}e.forEach(((e,r)=>{Ka(e)?e.then((e=>{t({data:e,index:r}),o()})).catch((e=>{n({error:e,index:r}),o()})):(t({data:e,index:r}),o())}))}const co=Ma.requestIdleCallback||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})}),1)};function uo(e){return new Promise((t=>{co((()=>{e(t)}))}))}let po=null;function ho(e){po=e}function fo(e){po!==e&&(ho(e),to((()=>{ho(null)})))}function mo(){return po}function go(){ho(null)}function vo(e,t){const n=document.createElement(e,t);return n.__MICRO_APP_NAME__&&delete n.__MICRO_APP_NAME__,n.__PURE_ELEMENT__=!0,n}function bo(e,t,n){if(t.innerHTML="",n){const n=e.cloneNode(!0),r=document.createDocumentFragment();Array.from(n.childNodes).forEach((e=>{r.appendChild(e)})),t.appendChild(r)}else Array.from(e.childNodes).forEach((e=>{t.appendChild(e)}))}function _o(e){return!e||/(^\d)|([^\w\d-_\u4e00-\u9fa5])/gi.test(e)}function yo(e){return/^body$/i.test(e)||/^head$/i.test(e)||/^html$/i.test(e)||/^title$/i.test(e)}function wo(e){return function(e){return"undefined"!=typeof ShadowRoot&&e instanceof ShadowRoot}(e)?e.host:e}function Eo(e){return e?e.replace(/^\s+|\s+$/g,""):""}function Ao(){return navigator.userAgent.indexOf("Firefox")>-1}function So(e){const t={},n=e.split("&");for(const r of n){const e=r.indexOf("="),n=e<0?r:r.slice(0,e),a=e<0?null:r.slice(e+1);if(n in t){let e=t[n];Ta(e)||(e=t[n]=[e]),e.push(a)}else t[n]=a}return t}function ko(e){let t="";for(const n in e){const r=e[n];if(ja(r))t+=(t.length?"&":"")+n;else{(Ta(r)?r:[r]).forEach((e=>{$a(e)||(t+=(t.length?"&":"")+n,ja(e)||(t+="="+e))}))}}return t}function Po(){const e=new Set;return{add:function(t){return e.add(t),()=>!!e.has(t)&&e.delete(t)},list:()=>e}}function Ro(e){const t=e.attributes,n=new Map;for(let r=0;ruo((e=>{t(),e()})))):t()}function No(e){return(null==e?void 0:e.reduce(((e,t)=>e.then(t)),Promise.resolve()))||null}function Co(e){return e.startsWith("inline-")}function Oo(e,t,n,...r){try{za(e)&&e(...r)}catch(a){Ja(`an error occurred in app ${t} ${n} \n`,null)}}var Mo,Io,Do,To,xo,Wo,Fo,Uo,$o,jo,Ho,Bo;(Io=Mo||(Mo={})).NAME="name",Io.URL="url",(To=Do||(Do={})).CREATED="created",To.LOADING="loading",To.LOADED="loaded",To.LOAD_FAILED="load_failed",To.MOUNTING="mounting",To.MOUNTED="mounted",To.UNMOUNT="unmount",(Wo=xo||(xo={})).CREATED="created",Wo.BEFOREMOUNT="beforemount",Wo.MOUNTED="mounted",Wo.UNMOUNT="unmount",Wo.ERROR="error",Wo.BEFORESHOW="beforeshow",Wo.AFTERSHOW="aftershow",Wo.AFTERHIDDEN="afterhidden",(Uo=Fo||(Fo={})).ONMOUNT="onmount",Uo.ONUNMOUNT="onunmount",(jo=$o||($o={})).KEEP_ALIVE_SHOW="keep_alive_show",jo.KEEP_ALIVE_HIDDEN="keep_alive_hidden",(Bo=Ho||(Ho={})).DESTROY="destroy",Bo.DESTORY="destory",Bo.INLINE="inline",Bo.DISABLESCOPECSS="disableScopecss",Bo.DISABLESANDBOX="disableSandbox",Bo.DISABLE_SCOPECSS="disable-scopecss",Bo.DISABLE_SANDBOX="disable-sandbox",Bo.DISABLE_MEMORY_ROUTER="disable-memory-router",Bo.DISABLE_PATCH_REQUEST="disable-patch-request",Bo.KEEP_ROUTER_STATE="keep-router-state",Bo.HIDDEN_ROUTER="hidden-router",Bo.KEEP_ALIVE="keep-alive",Bo.CLEAR_DATA="clear-data",Bo.ESMODULE="esmodule",Bo.SSR="ssr",Bo.FIBER="fiber";const Vo=[1,2,3],zo="window,self,globalThis,document,Document,Array,Object,String,Boolean,Math,Number,Symbol,Date,Function,Proxy,WeakMap,WeakSet,Set,Map,Reflect,Element,Node,RegExp,Error,TypeError,JSON,isNaN,parseFloat,parseInt,performance,console,decodeURI,encodeURI,decodeURIComponent,encodeURIComponent,navigator,undefined,location,history";function Go(e,t=null,n={}){return go(),za(Ji.options.fetch)?Ji.options.fetch(e,n,t):window.fetch(e,n).then((e=>e.text()))}class qo{static getInstance(){return this.instance||(this.instance=new qo),this.instance}run(e,t){const n=e.name,r=e.ssrUrl||e.url;Go(r,n,{cache:"no-cache"}).then((a=>{if(!a){const t="html is empty, please check in detail";return e.onerror(new Error(t)),Ja(t,n)}a=this.formatHTML(r,a,n),t(a,e)})).catch((t=>{Ja(`Failed to fetch data from ${e.url}, micro-app stop rendering`,n),e.onLoadError(t)}))}formatHTML(e,t,n){return this.processHtml(e,t,n,Ji.options.plugins).replace(/]*>[\s\S]*?<\/head>/i,(e=>e.replace(//i,""))).replace(/]*>[\s\S]*?<\/body>/i,(e=>e.replace(//i,"")))}processHtml(e,t,n,r){var a;if(!r)return t;const o=[];return r.global&&o.push(...r.global),(null===(a=r.modules)||void 0===a?void 0:a[n])&&o.push(...r.modules[n]),o.length>0?o.reduce(((t,n)=>Ga(n)&&za(n.processHtml)?n.processHtml(t,e):t),t):t}}const Ko=/(^|\s+)(html|:root)(?=[\s>~[.#:]+|$)/,Yo=/(^|\s+)((html[\s>~]+body)|body)(?=[\s>~[.#:]+|$)/;function Qo(e,t){e=t?`${t} ${e}`:e;const n=new Error(e);throw n.reason=e,t&&(n.filename=t),n}class Zo{constructor(){this.cssText="",this.prefix="",this.baseURI="",this.linkPath="",this.result="",this.scopecssDisable=!1,this.scopecssDisableSelectors=[],this.scopecssDisableNextLine=!1,this.mediaRule=this.createMatcherForRuleWithChildRule(/^@media *([^{]+)/,"@media"),this.supportsRule=this.createMatcherForRuleWithChildRule(/^@supports *([^{]+)/,"@supports"),this.documentRule=this.createMatcherForRuleWithChildRule(/^@([-\w]+)?document *([^{]+)/,"@document"),this.hostRule=this.createMatcherForRuleWithChildRule(/^@host\s*/,"@host"),this.importRule=this.createMatcherForNoneBraceAtRule("import"),this.charsetRule=this.createMatcherForNoneBraceAtRule("charset"),this.namespaceRule=this.createMatcherForNoneBraceAtRule("namespace")}exec(e,t,n,r){return this.cssText=e,this.prefix=t,this.baseURI=n,this.linkPath=r||"",this.matchRules(),Ao()?decodeURIComponent(this.result):this.result}reset(){this.cssText=this.prefix=this.baseURI=this.linkPath=this.result="",this.scopecssDisable=this.scopecssDisableNextLine=!1,this.scopecssDisableSelectors=[]}matchRules(){for(this.matchLeadingSpaces(),this.matchComments();this.cssText.length&&"}"!==this.cssText.charAt(0)&&(this.matchAtRule()||this.matchStyleRule());)this.matchComments()}matchStyleRule(){const e=this.formatSelector(!0);return this.scopecssDisableNextLine=!1,e?(this.recordResult(e),this.matchComments(),this.styleDeclarations(),this.matchLeadingSpaces(),!0):Qo("selector missing",this.linkPath)}formatSelector(e){const t=this.commonMatch(/^[^{]+/,e);return!!t&&t[0].replace(/(^|,[\n\s]*)([^,]+)/g,((e,t,n)=>(n=Eo(n),this.scopecssDisableNextLine||this.scopecssDisable&&(!this.scopecssDisableSelectors.length||this.scopecssDisableSelectors.includes(n))||Ko.test(n)||(n=Yo.test(n)?n.replace(Yo,this.prefix+" micro-app-body"):this.prefix+" "+n),t+n)))}styleDeclarations(){return this.matchOpenBrace()?(this.matchAllDeclarations(),!!this.matchCloseBrace()||Qo("Declaration missing '}'",this.linkPath)):Qo("Declaration missing '{'",this.linkPath)}matchAllDeclarations(){let e=this.commonMatch(/^(?:url\(["']?(?:[^)"'}]+)["']?\)|[^}/])*/,!0)[0];if(e&&(this.scopecssDisableNextLine||this.scopecssDisable&&!this.scopecssDisableSelectors.length||(e=e.replace(/url\(["']?([^)"']+)["']?\)/gm,((e,t)=>/^((data|blob):|#)/.test(t)||/^(https?:)?\/\//.test(t)?e:(/^((\.\.?\/)|[^/])/.test(t)&&this.linkPath&&(this.baseURI=function(e){const t=e.split("/");return t.pop(),ro(t.join("/")+"/")}(this.linkPath)),`url("${io(t,this.baseURI)}")`)))),this.recordResult(e)),this.scopecssDisableNextLine=!1,this.cssText&&"}"!==this.cssText.charAt(0))return"/"===this.cssText.charAt(0)&&"*"===this.cssText.charAt(1)?this.matchComments():this.commonMatch(/\/+/),this.matchAllDeclarations()}matchAtRule(){return"@"===this.cssText[0]&&(this.scopecssDisableNextLine=!1,this.keyframesRule()||this.mediaRule()||this.customMediaRule()||this.supportsRule()||this.importRule()||this.charsetRule()||this.namespaceRule()||this.documentRule()||this.pageRule()||this.hostRule()||this.fontFaceRule())}keyframesRule(){if(!this.commonMatch(/^@([-\w]+)?keyframes\s*/))return!1;if(!this.commonMatch(/^[^{]+/))return Qo("@keyframes missing name",this.linkPath);if(this.matchComments(),!this.matchOpenBrace())return Qo("@keyframes missing '{'",this.linkPath);for(this.matchComments();this.keyframeRule();)this.matchComments();return this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Qo("@keyframes missing '}'",this.linkPath)}keyframeRule(){let e;const t=[];for(;e=this.commonMatch(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),this.commonMatch(/^,\s*/);return!!t.length&&(this.styleDeclarations(),this.matchLeadingSpaces(),!0)}customMediaRule(){return!!this.commonMatch(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/)&&(this.matchLeadingSpaces(),!0)}pageRule(){return!!this.commonMatch(/^@page */)&&(this.formatSelector(!1),this.scopecssDisableNextLine=!1,this.commonHandlerForAtRuleWithSelfRule("page"))}fontFaceRule(){return!!this.commonMatch(/^@font-face\s*/)&&this.commonHandlerForAtRuleWithSelfRule("font-face")}createMatcherForRuleWithChildRule(e,t){return()=>!!this.commonMatch(e)&&(this.matchOpenBrace()?(this.matchComments(),this.matchRules(),this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Qo(`${t} missing '}'`,this.linkPath)):Qo(`${t} missing '{'`,this.linkPath))}createMatcherForNoneBraceAtRule(e){const t=new RegExp("^@"+e+"\\s*([^;]+);");return()=>!!this.commonMatch(t)&&(this.matchLeadingSpaces(),!0)}commonHandlerForAtRuleWithSelfRule(e){return this.matchOpenBrace()?(this.matchAllDeclarations(),this.matchCloseBrace()?(this.matchLeadingSpaces(),!0):Qo(`@${e} missing '}'`,this.linkPath)):Qo(`@${e} missing '{'`,this.linkPath)}matchComments(){for(;this.matchComment(););}matchComment(){if("/"!==this.cssText.charAt(0)||"*"!==this.cssText.charAt(1))return!1;this.scopecssDisableNextLine=!1;let e=2;for(;""!==this.cssText.charAt(e)&&("*"!==this.cssText.charAt(e)||"/"!==this.cssText.charAt(e+1));)++e;if(e+=2,""===this.cssText.charAt(e-1))return Qo("End of comment missing",this.linkPath);let t=this.cssText.slice(2,e-2);if(this.recordResult(`/*${t}*/`),t=Eo(t.replace(/^\s*!/,"")),"scopecss-disable-next-line"===t)this.scopecssDisableNextLine=!0;else if(/^scopecss-disable/.test(t))if("scopecss-disable"===t)this.scopecssDisable=!0;else{this.scopecssDisable=!0;t.replace("scopecss-disable","").split(",").forEach((e=>{this.scopecssDisableSelectors.push(Eo(e))}))}else"scopecss-enable"===t&&(this.scopecssDisable=!1,this.scopecssDisableSelectors=[]);return this.cssText=this.cssText.slice(e),this.matchLeadingSpaces(),!0}commonMatch(e,t=!1){const n=e.exec(this.cssText);if(!n)return;const r=n[0];return this.cssText=this.cssText.slice(r.length),t||this.recordResult(r),n}matchOpenBrace(){return this.commonMatch(/^{\s*/)}matchCloseBrace(){return this.commonMatch(/^}/)}matchLeadingSpaces(){this.commonMatch(/^\s*/)}recordResult(e){Ao()?this.result+=encodeURIComponent(e):this.result+=e}}function Xo(e,t,n,r,a){if(!e.__MICRO_APP_HAS_SCOPED__){e.__MICRO_APP_HAS_SCOPED__=!0;let s=null;try{s=Jo.exec(e.textContent,n,r,a),Jo.reset()}catch(o){Jo.reset(),Ja("An error occurred while parsing CSS:\n",t)}s&&(e.textContent=s)}}let Jo;function es(e,t,n){if(t.scopecss){const r=ts(t.name);if(Jo||(Jo=new Zo),e.textContent)Xo(e,t.name,r,t.url,n);else{const a=new MutationObserver((function(){a.disconnect(),e.textContent&&!e.hasAttribute("data-styled")&&Xo(e,t.name,r,t.url,n)}));a.observe(e,{childList:!0})}}return e}function ts(e,t=!1){const n=t?"\\":"";return`${Ji.tagName}${n}[name=${e}${n}]`}function ns(e,t){Object.defineProperties(e,{currentTarget:{get:()=>t},srcElement:{get:()=>t},target:{get:()=>t}})}function rs(e){const t=new CustomEvent("load");ns(t,e),za(e.onload)?e.onload(t):e.dispatchEvent(t)}function as(e){const t=new CustomEvent("error");ns(t,e),za(e.onerror)?e.onerror(t):e.dispatchEvent(t)}var os=function(){const e=new Map,t=new Map;function n(e){return{setInfo(t,n){e.set(t,n)},getInfo(t){var n;return null!==(n=e.get(t))&&void 0!==n?n:null},hasInfo:t=>e.has(t),deleteInfo:t=>e.delete(t)}}return{link:n(e),script:Object.assign(Object.assign({},n(t)),{deleteInlineInfo(e){e.forEach((e=>{Co(e)&&t.delete(e)}))}})}}();function ss(e,t,n,r=!1){const a=e.getAttribute("rel");let o=e.getAttribute("href"),s=null;if("stylesheet"===a&&o){o=io(o,n.url);let t=os.link.getInfo(o);const a={attrs:Ro(e)};if(t?t.appSpace[n.name]=t.appSpace[n.name]||a:t={code:"",appSpace:{[n.name]:a}},os.link.setInfo(o,t),r)return{address:o,linkInfo:t};n.source.links.add(o),s=document.createComment(`link element with href=${o} move to micro-app-head as style element`),t.appSpace[n.name].placeholder=s}else a&&["prefetch","preload","prerender","icon","apple-touch-icon"].includes(a)?r?s=document.createComment(`link element with rel=${a}${o?" & href="+o:""} removed by micro-app`):t.removeChild(e):o&&e.setAttribute("href",io(o,n.url));return r?{replaceComment:s}:s?t.replaceChild(s,e):void 0}function is(e,t,n,r){const a=Array.from(t.source.links),o=a.map((e=>{const n=os.link.getInfo(e);return n.code?n.code:Go(e,t.name)})),s=t.isPrefetch||t.fiber?[]:null;lo(o,(e=>{Lo(s,(()=>function(e,t,n,r){const a=os.link.getInfo(e);a.code=t;const o=a.appSpace[r.name],s=o.placeholder;if(s){const t=vo("style");ls(r,e,t,a,o.attrs),s.parentNode?s.parentNode.replaceChild(t,s):n.appendChild(t),o.placeholder=null}}(a[e.index],e.data,n,t)))}),(e=>{Ja(e,t.name)}),(()=>{s?r.then((()=>{s.push((()=>Promise.resolve(t.onLoad(e)))),No(s)})):t.onLoad(e)}))}function ls(e,t,n,r,a){if(e.scopecss){const a=r.appSpace[e.name];if(a.prefix=a.prefix||ts(e.name),a.parsedCode)n.textContent=a.parsedCode;else{const o=function(e,t,n){const r=n.appSpace;for(const a in r)if(a!==e){const e=r[a];if(e.parsedCode)return e.parsedCode.replaceAll(new RegExp(ts(a,!0),"g"),t)}}(e.name,a.prefix,r);o?n.textContent=o:(n.textContent=r.code,es(n,e,t)),a.parsedCode=n.textContent}}else n.textContent=r.code;!function(e,t){t.forEach(((t,n)=>{"rel"!==n&&("href"===n&&(n="data-origin-href"),e.setAttribute(n,t))}))}(n,a)}class cs{constructor(){this.escapeSetterKeyList=["location"],this.staticEscapeProperties=["System","__cjsWrapper"],this.staticScopeProperties=["webpackJsonp","webpackHotUpdate","Vue"],this.injectReactHRMProperty()}injectReactHRMProperty(){}}function us(e,t){const n=Object.getOwnPropertyDescriptor(e,"parentNode");n&&!n.configurable||Wa(e,"parentNode",{value:t,configurable:!0})}const ps=new WeakMap;function ds(e,t,n){if(t instanceof HTMLStyleElement){if(t.hasAttribute("exclude")){const e=document.createComment("style element with exclude attribute ignored by micro-app");return ps.set(t,e),e}return n.scopecss&&!t.hasAttribute("ignore")?es(t,n):t}if(t instanceof HTMLLinkElement){if(t.hasAttribute("exclude")||Ms(t.getAttribute("href"),n.name)){const e=document.createComment("link element with exclude attribute ignored by micro-app");return ps.set(t,e),e}if(t.hasAttribute("ignore")||Is(t.getAttribute("href"),n.name)||t.href&&za(Ji.options.excludeAssetFilter)&&Ji.options.excludeAssetFilter(t.href))return t;const{address:r,linkInfo:a,replaceComment:o}=ss(t,e,n,!0);if(r&&a){const e=function(e,t,n,r){const a=vo("style"),o=()=>{ls(t,e,a,n,n.appSpace[t.name].attrs),rs(r)};return n.code?to(o):Go(e,t.name).then((e=>{n.code=e,o()})).catch((e=>{Ja(e,t.name),as(r)})),a}(r,n,a,t);return ps.set(t,e),e}return o?(ps.set(t,o),o):t}if(t instanceof HTMLScriptElement){if(t.src&&za(Ji.options.excludeAssetFilter)&&Ji.options.excludeAssetFilter(t.src))return t;const{replaceComment:r,address:a,scriptInfo:o}=Cs(t,e,n,!0)||{};if(a&&o){const e=o.isExternal?function(e,t,n,r){const a=Ps(t,n)?vo("script"):document.createComment("dynamic script extract by micro-app"),o=()=>rs(r),s=()=>{const s=Object.getOwnPropertyDescriptor(Es.rawDocument,"currentScript");s&&!s.configurable||Object.defineProperty(Es.rawDocument,"currentScript",{value:r,configurable:!0}),Ts(e,t,n,o,a),!ks(t,n)&&o()};n.code?to(s):Go(e,t.name).then((e=>{n.code=e,s()})).catch((e=>{Ja(e,t.name),as(r)}));return a}(a,n,o,t):function(e,t,n){const r=Ps(t,n)?vo("script"):document.createComment("dynamic script extract by micro-app");return Ts(e,t,n,void 0,r),r}(a,n,o);return ps.set(t,e),e}return r?(ps.set(t,r),r):t}return t}function hs(e,t,n,r,a){const o=function(e,t){if(e===document.head)return null==t?void 0:t.querySelector("micro-app-head");if(e===document.body)return null==t?void 0:t.querySelector("micro-app-body");return null}(n,e);if(o){if("MICRO-APP-BODY"===o.tagName&&t!==Es.rawRemoveChild){const t=Object.getOwnPropertyDescriptor(r,"parentNode");t&&!t.configurable||Wa(r,"parentNode",{configurable:!0,get:()=>e.container?document.body:o})}return a&&!o.contains(a)?Es.rawAppendChild.call(o,r):t!==Es.rawRemoveChild||o.contains(r)?fs(t,o,r,a):n.contains(r)?t.call(n,r):r}return fs(t,n,r,a)}function fs(e,t,n,r){return(a=e)===Es.rawAppend||a===Es.rawPrepend?e.call(t,n):e.call(t,n,r);var a}function ms(e){var t;return null!==(t=ps.get(e))&&void 0!==t?t:e}function gs(e,t,n,r){const a=mo();if(Xa(t)&&(t.__MICRO_APP_NAME__||a&&!t.__PURE_ELEMENT__)){t.__MICRO_APP_NAME__=t.__MICRO_APP_NAME__||a;const o=Hi.get(t.__MICRO_APP_NAME__);if(null==o?void 0:o.container)return Za(t)&&(/^(img|script)$/i.test(t.tagName)?(t.hasAttribute("src")&&Es.rawSetAttribute.call(t,"src",io(t.getAttribute("src"),o.url)),t.hasAttribute("srcset")&&Es.rawSetAttribute.call(t,"srcset",io(t.getAttribute("srcset"),o.url))):/^link$/i.test(t.tagName)&&t.hasAttribute("href")&&Es.rawSetAttribute.call(t,"href",io(t.getAttribute("href"),o.url))),hs(o,r,e,ds(e,t,o),n&&ms(n));if(r===Es.rawAppend||r===Es.rawPrepend)return r.call(e,t)}else if(r===Es.rawAppend||r===Es.rawPrepend){if(!Xa(t)&&a){const n=Hi.get(a);if(null==n?void 0:n.container){if(e===document.head)return r.call(n.querySelector("micro-app-head"),t);if(e===document.body)return r.call(n.querySelector("micro-app-body"),t)}}return r.call(e,t)}return r.call(e,t,n)}function vs(){function e(e){const t=mo();if((e===document.body||e===document.head)&&t){const n=Hi.get(t);if(null==n?void 0:n.container){if(e===document.body)return n.querySelector("micro-app-body");if(e===document.head)return n.querySelector("micro-app-head")}}return null}!function(){const e=Es.rawDocument,t=Es.rawRootDocument;function n(t){return function(e){return"[object ProxyDocument]"===toString.call(e)}(t)?e:t}function r(t){var r,a,o;const s=n(this),i=mo();return i&&(null===(r=Hi.get(i))||void 0===r?void 0:r.container)&&t&&!yo(t)&&e===s?null!==(o=null===(a=Hi.get(i))||void 0===a?void 0:a.querySelector(t))&&void 0!==o?o:null:Es.rawQuerySelector.call(s,t)}function a(t){var r,a,o;const s=n(this),i=mo();return i&&(null===(r=Hi.get(i))||void 0===r?void 0:r.container)&&t&&!yo(t)&&e===s?null!==(o=null===(a=Hi.get(i))||void 0===a?void 0:a.querySelectorAll(t))&&void 0!==o?o:[]:Es.rawQuerySelectorAll.call(s,t)}t.prototype.createElement=function(e,t){return bs(Es.rawCreateElement.call(n(this),e,t))},t.prototype.createElementNS=function(e,t,r){return bs(Es.rawCreateElementNS.call(n(this),e,t,r))},t.prototype.createDocumentFragment=function(){return bs(Es.rawCreateDocumentFragment.call(n(this)))},t.prototype.querySelector=r,t.prototype.querySelectorAll=a,t.prototype.getElementById=function(e){const t=n(this);if(!mo()||_o(e))return Es.rawGetElementById.call(t,e);try{return r.call(t,`#${e}`)}catch(a){return Es.rawGetElementById.call(t,e)}},t.prototype.getElementsByClassName=function(e){const t=n(this);if(!mo()||_o(e))return Es.rawGetElementsByClassName.call(t,e);try{return a.call(t,`.${e}`)}catch(r){return Es.rawGetElementsByClassName.call(t,e)}},t.prototype.getElementsByTagName=function(e){var t;const r=n(this),o=mo();if(!o||yo(e)||_o(e)||!(null===(t=Hi.get(o))||void 0===t?void 0:t.inline)&&/^script$/i.test(e))return Es.rawGetElementsByTagName.call(r,e);try{return a.call(r,e)}catch(s){return Es.rawGetElementsByTagName.call(r,e)}},t.prototype.getElementsByName=function(e){const t=n(this);if(!mo()||_o(e))return Es.rawGetElementsByName.call(t,e);try{return a.call(t,`[name=${e}]`)}catch(r){return Es.rawGetElementsByName.call(t,e)}}}(),Element.prototype.appendChild=function(e){return gs(this,e,null,Es.rawAppendChild)},Element.prototype.insertBefore=function(e,t){return gs(this,e,t,Es.rawInsertBefore)},Element.prototype.replaceChild=function(e,t){return gs(this,e,t,Es.rawReplaceChild)},Element.prototype.append=function(...e){let t=0;const n=e.length;for(;t0;)gs(this,e[t-1],null,Es.rawPrepend),t--},Element.prototype.removeChild=function(e){if(null==e?void 0:e.__MICRO_APP_NAME__){const n=Hi.get(e.__MICRO_APP_NAME__);if(null==n?void 0:n.container)return hs(n,Es.rawRemoveChild,this,ms(e));try{return Es.rawRemoveChild.call(this,e)}catch(t){return(null==e?void 0:e.parentNode)&&Es.rawRemoveChild.call(e.parentNode,e)}}return Es.rawRemoveChild.call(this,e)},Element.prototype.cloneNode=function(e){const t=Es.rawCloneNode.call(this,e);return this.__MICRO_APP_NAME__&&(t.__MICRO_APP_NAME__=this.__MICRO_APP_NAME__),t},Element.prototype.querySelector=function(t){var n;const r=null!==(n=e(this))&&void 0!==n?n:this;return Es.rawElementQuerySelector.call(r,t)},Element.prototype.querySelectorAll=function(t){var n;const r=null!==(n=e(this))&&void 0!==n?n:this;return Es.rawElementQuerySelectorAll.call(r,t)},Wa(Element.prototype,"innerHTML",{get(){return Es.rawInnerHTMLDesc.get.call(this)},set(e){Es.rawInnerHTMLDesc.set.call(this,e);const t=mo();Array.from(this.children).forEach((e=>{Za(e)&&t&&(e.__MICRO_APP_NAME__=t)}))}})}function bs(e){const t=mo();return t&&(e.__MICRO_APP_NAME__=t),e}let _s=!1;function ys(){go(),function(){const e=Es.rawRootDocument;e.prototype.createElement=Es.rawCreateElement,e.prototype.createElementNS=Es.rawCreateElementNS,e.prototype.createDocumentFragment=Es.rawCreateDocumentFragment,e.prototype.querySelector=Es.rawQuerySelector,e.prototype.querySelectorAll=Es.rawQuerySelectorAll,e.prototype.getElementById=Es.rawGetElementById,e.prototype.getElementsByClassName=Es.rawGetElementsByClassName,e.prototype.getElementsByTagName=Es.rawGetElementsByTagName,e.prototype.getElementsByName=Es.rawGetElementsByName}(),Element.prototype.appendChild=Es.rawAppendChild,Element.prototype.insertBefore=Es.rawInsertBefore,Element.prototype.replaceChild=Es.rawReplaceChild,Element.prototype.removeChild=Es.rawRemoveChild,Element.prototype.append=Es.rawAppend,Element.prototype.prepend=Es.rawPrepend,Element.prototype.cloneNode=Es.rawCloneNode,Element.prototype.querySelector=Es.rawElementQuerySelector,Element.prototype.querySelectorAll=Es.rawElementQuerySelectorAll,Wa(Element.prototype,"innerHTML",Es.rawInnerHTMLDesc)}let ws=!1;const Es={};function As(){if(Oa){const e=Function("return window")(),t=Function("return document")(),n=Function("return Document")(),r="noModule"in document.createElement("script"),a=Element.prototype.setAttribute,o=Element.prototype.appendChild,s=Element.prototype.insertBefore,i=Element.prototype.replaceChild,l=Element.prototype.removeChild,c=Element.prototype.append,u=Element.prototype.prepend,p=Element.prototype.cloneNode,d=Element.prototype.querySelector,h=Element.prototype.querySelectorAll,f=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML"),m=n.prototype.createElement,g=n.prototype.createElementNS,v=n.prototype.createDocumentFragment,b=n.prototype.querySelector,_=n.prototype.querySelectorAll,y=n.prototype.getElementById,w=n.prototype.getElementsByClassName,E=n.prototype.getElementsByTagName,A=n.prototype.getElementsByName,S=new Proxy(Image,{construct(e,t){const n=new e(...t);return n.__MICRO_APP_NAME__=mo(),n}}),k=e.addEventListener,P=e.removeEventListener,R=e.setInterval,L=e.setTimeout,N=e.clearInterval,C=e.clearTimeout,O=e.history.pushState,M=e.history.replaceState,I=t.addEventListener,D=t.removeEventListener;window.__MICRO_APP_BASE_APPLICATION__=!0,xa(Es,{rawWindow:e,rawDocument:t,rawRootDocument:n,supportModuleScript:r,rawSetAttribute:a,rawAppendChild:o,rawInsertBefore:s,rawReplaceChild:i,rawRemoveChild:l,rawAppend:c,rawPrepend:u,rawCloneNode:p,rawElementQuerySelector:d,rawElementQuerySelectorAll:h,rawInnerHTMLDesc:f,rawCreateElement:m,rawCreateElementNS:g,rawCreateDocumentFragment:v,rawQuerySelector:b,rawQuerySelectorAll:_,rawGetElementById:y,rawGetElementsByClassName:w,rawGetElementsByTagName:E,rawGetElementsByName:A,ImageProxy:S,rawWindowAddEventListener:k,rawWindowRemoveEventListener:P,rawSetInterval:R,rawSetTimeout:L,rawClearInterval:N,rawClearTimeout:C,rawDocumentAddEventListener:I,rawDocumentRemoveEventListener:D,rawPushState:O,rawReplaceState:M}),function(){if(!ws){ws=!0;const e=vo("style");Es.rawSetAttribute.call(e,"type","text/css"),e.textContent=`\n${Ji.tagName}, micro-app-body { display: block; } \nmicro-app-head { display: none; }`,Es.rawDocument.head.appendChild(e)}}()}}const Ss=["text/javascript","text/ecmascript","application/javascript","application/ecmascript","module","systemjs-module","systemjs-importmap"];function ks(e,t){return t.appSpace[e.name].module&&(!e.useSandbox||e.esmodule)}function Ps(e,t){return e.inline||t.appSpace[e.name].inline||ks(e,t)||function(e,t){return t.appSpace[e.name].attrs.has("id")}(e,t)}function Rs(e,t,n){return function(e,t,n){const r=t.appSpace;for(const a in r)if(a!==e){const e=r[a];if(e.parsedCode===n&&e.parsedFunction)return e.parsedFunction}}(e.name,t,n)||new Function(n)}function Ls(){const e="inline-"+Math.random().toString(36).substr(2,15);return os.script.hasInfo(e)?Ls():e}function Ns(e,t){return e.useSandbox&&!ks(e,t)}function Cs(e,t,n,r=!1){let a=null,o=e.getAttribute("src");if(o&&(o=io(o,n.url)),e.hasAttribute("exclude")||Ms(o,n.name))a=document.createComment("script element with exclude attribute removed by micro-app");else{if(e.type&&!Ss.includes(e.type)||e.hasAttribute("ignore")||Is(o,n.name))return null;if(Es.supportModuleScript&&e.noModule||!Es.supportModuleScript&&"module"===e.type)a=document.createComment((e.noModule?"noModule":"module")+" script ignored by micro-app");else if(o){let t=os.script.getInfo(o);const s={async:e.hasAttribute("async"),defer:e.defer||"module"===e.type,module:"module"===e.type,inline:e.hasAttribute("inline"),pure:e.hasAttribute("pure"),attrs:Ro(e)};if(t?t.appSpace[n.name]=t.appSpace[n.name]||s:t={code:"",isExternal:!0,appSpace:{[n.name]:s}},os.script.setInfo(o,t),r)return{address:o,scriptInfo:t};n.source.scripts.add(o),a=document.createComment(`script with src='${o}' extract by micro-app`)}else if(e.textContent){const t=Ls(),o={code:e.textContent,isExternal:!1,appSpace:{[n.name]:{async:!1,defer:"module"===e.type,module:"module"===e.type,inline:e.hasAttribute("inline"),pure:e.hasAttribute("pure"),attrs:Ro(e)}}};if(r)return{address:t,scriptInfo:o};n.source.scripts.add(t),os.script.setInfo(t,o),a=document.createComment("inline script extract by micro-app")}else r||(a=document.createComment("script element removed by micro-app"))}return r?{replaceComment:a}:t.replaceChild(a,e)}function Os(e){var t,n,r;return[...(null===(t=Ji.options.plugins)||void 0===t?void 0:t.global)||[],...(null===(r=null===(n=Ji.options.plugins)||void 0===n?void 0:n.modules)||void 0===r?void 0:r[e])||[]]}function Ms(e,t){if(!e)return!1;return(Os(t)||[]).some((t=>!!t.excludeChecker&&t.excludeChecker(e)))}function Is(e,t){if(!e)return!1;return(Os(t)||[]).some((t=>!!t.ignoreChecker&&t.ignoreChecker(e)))}function Ds(e,t){const n=Array.from(t.source.scripts),r=[],a=[];for(const s of n){const e=os.script.getInfo(s),n=e.appSpace[t.name];(!n.defer&&!n.async||t.isPrefetch&&!t.isPrerender)&&(r.push(e.code?e.code:Go(s,t.name)),a.push([s,e]))}const o=t.isPrefetch||t.fiber?[]:null;r.length?lo(r,(e=>{Lo(o,(()=>function(e,t,n,r){if(t.code=n,r.isPrefetch&&2===r.prefetchLevel){const o=t.appSpace[r.name];if(!o.parsedCode&&(o.parsedCode=xs(e,r,n,t),o.wrapInSandBox=Ns(r,t),!Ps(r,t)))try{o.parsedFunction=Rs(r,t,o.parsedCode)}catch(a){eo("Something went wrong while handling preloaded resources",r.name)}}}(a[e.index][0],a[e.index][1],e.data,t)))}),(e=>{Ja(e,t.name)}),(()=>{o?(o.push((()=>Promise.resolve(t.onLoad(e)))),No(o)):t.onLoad(e)})):t.onLoad(e)}function Ts(e,t,n,r,a){var o;try{!function(e){!function(e){e.sandBox&&(Es.rawWindow.__MICRO_APP_PROXY_WINDOW__=e.sandBox.proxyWindow)}(e)}(t);const s=n.appSpace[t.name],i=Ns(t,n);if(s.parsedCode&&s.wrapInSandBox===i||(s.parsedCode=xs(e,t,n.code,n),s.wrapInSandBox=i,s.parsedFunction=null),Ps(t,n)){const i=a||vo("script");!function(e,t,n,r,a,o){if(n){if(Co(e)){const e=new Blob([t],{type:"text/javascript"});r.src=URL.createObjectURL(e)}else r.src=e;r.setAttribute("type","module"),o&&(o.moduleCount&&o.moduleCount--,r.onload=o.bind(r,0===o.moduleCount))}else r.textContent=t;!function(e,t){t.forEach(((t,n)=>{"type"===n&&"module"===t||"defer"===n||"async"===n||("src"===n&&(n="data-origin-src"),e.setAttribute(n,t))}))}(r,a)}(e,s.parsedCode,ks(t,n),i,s.attrs,r),a||null===(o=t.querySelector("micro-app-body"))||void 0===o||o.appendChild(i)}else!function(e,t){const n=t.appSpace[e.name];n.parsedFunction||(n.parsedFunction=Rs(e,t,n.parsedCode));n.parsedFunction.call(window)}(t,n)}catch(s){}}function xs(e,t,n,r){return Ga(Ji.options.plugins)&&(n=function(e,t,n,r){var a;const o=Ws(r.global,t,e);return Ws(null===(a=r.modules)||void 0===a?void 0:a[n],o,e)}(e,n,t.name,Ji.options.plugins)),Ns(t,r)?`;(function(proxyWindow){with(proxyWindow.__MICRO_APP_WINDOW__){(function(${zo}){;${n}\n${Co(e)?"":`//# sourceURL=${e}\n`}}).call(proxyWindow,${zo})}})(window.__MICRO_APP_PROXY_WINDOW__);`:n}function Ws(e,t,n){return Ta(e)?e.reduce(((e,t)=>Ga(t)&&za(t.loader)?t.loader(e,n):e),t):t}function Fs(e,t,n,r){const a=Array.from(e.children);a.length&&a.forEach((e=>{Fs(e,t,n,r)}));for(const o of a)o instanceof HTMLLinkElement?o.hasAttribute("exclude")||Ms(o.getAttribute("href"),t.name)?e.replaceChild(document.createComment("link element with exclude attribute ignored by micro-app"),o):o.hasAttribute("ignore")||Is(o.getAttribute("href"),t.name)?o.hasAttribute("href")&&o.setAttribute("href",io(o.getAttribute("href"),t.url)):ss(o,e,t):o instanceof HTMLStyleElement?o.hasAttribute("exclude")?e.replaceChild(document.createComment("style element with exclude attribute ignored by micro-app"),o):t.scopecss&&!o.hasAttribute("ignore")&&Lo(r,(()=>es(o,t))):o instanceof HTMLScriptElement?Cs(o,e,t):o instanceof HTMLImageElement&&o.hasAttribute("src")&&o.setAttribute("src",io(o.getAttribute("src"),t.url))}function Us(e,t){const n=function(e){const t=vo("div");return t.innerHTML=e,t}(e),r=Es.rawElementQuerySelector.call(n,"micro-app-head"),a=Es.rawElementQuerySelector.call(n,"micro-app-body");if(!r||!a){const e=`element ${r?"body":"head"} is missing`;return t.onerror(new Error(e)),Ja(e,t.name)}const o=t.isPrefetch||t.fiber?[]:null;Fs(n,t,r,o);const s=No(o);t.source.links.size?is(n,t,r,s):s?s.then((()=>t.onLoad(n))):t.onLoad(n),t.source.scripts.size?Ds(n,t):t.onLoad(n)}const $s=new class{constructor(){this.eventList=new Map,this.queue=[],this.recordStep={},this.process=()=>{var e,t;let n;const r=this.recordStep,a=this.queue;for(this.recordStep={},this.queue=[];n=a.shift();){const a=this.eventList.get(n),o=a.tempData,s=a.force;let i;if(a.tempData=null,a.force=!1,s||!this.isEqual(a.data,o)){a.data=o||a.data;for(const e of a.callbacks){const t=e(a.data);t&&(null!=i?i:i=[]).push(t)}null===(t=(e=r[n]).dispatchDataEvent)||void 0===t||t.call(e),r[n].nextStepList.forEach((e=>e(i)))}}}}isLegalName(e){return!!e||(Ja("event-center: Invalid name"),!1)}enqueue(e,t,n){this.recordStep[e]?(this.recordStep[e].nextStepList.push(t),n&&(this.recordStep[e].dispatchDataEvent=n)):this.recordStep[e]={nextStepList:[t],dispatchDataEvent:n},!this.queue.includes(e)&&1===this.queue.push(e)&&to(this.process)}isEqual(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==t[n])return!1;return!0}on(e,t,n=!1){if(this.isLegalName(e)){if(!za(t))return Ja("event-center: Invalid callback function");let r=this.eventList.get(e);r?n&&Object.keys(r.data).length&&(!this.queue.includes(e)||this.isEqual(r.data,r.tempData))&&t(r.data):(r={data:{},callbacks:new Set},this.eventList.set(e,r)),r.callbacks.add(t)}}off(e,t){if(this.isLegalName(e)){const n=this.eventList.get(e);n&&(za(t)?n.callbacks.delete(t):n.callbacks.clear())}}clearData(e){if(this.isLegalName(e)){const t=this.eventList.get(e);t&&(t.data={})}}dispatch(e,t,n,r,a){if(this.isLegalName(e)){if(!Ga(t))return Ja("event-center: data must be object");let o=this.eventList.get(e);o?(o.tempData=xa({},o.tempData||o.data,t),!o.force&&(o.force=!!r)):(o={data:t,callbacks:new Set},this.eventList.set(e,o),o.force=!0),this.enqueue(e,n,a)}}getData(e){var t;const n=this.eventList.get(e);return null!==(t=null==n?void 0:n.data)&&void 0!==t?t:null}};function js(e,t){return Ha(e)&&e?t?`__from_base_app_${e}__`:`__from_micro_app_${e}__`:""}class Hs{addGlobalDataListener(e,t){const n=this.appName;n&&(e.__APP_NAME__=n,e.__AUTO_TRIGGER__=t),$s.on("global",e,t)}removeGlobalDataListener(e){za(e)&&$s.off("global",e)}setGlobalData(e,t,n){go(),$s.dispatch("global",e,(e=>za(t)&&t(e)),n)}forceSetGlobalData(e,t){this.setGlobalData(e,t,!0)}getGlobalData(){return $s.getData("global")}clearGlobalData(){$s.clearData("global")}clearGlobalDataListener(){const e=this.appName,t=$s.eventList.get("global");if(t)for(const n of t.callbacks)(e&&e===n.__APP_NAME__||!e&&!n.__APP_NAME__)&&t.callbacks.delete(n)}}class Bs extends Hs{addDataListener(e,t,n){$s.on(js(oo(e),!1),t,n)}removeDataListener(e,t){za(t)&&$s.off(js(oo(e),!1),t)}getData(e,t=!1){return $s.getData(js(oo(e),t))}setData(e,t,n,r){$s.dispatch(js(oo(e),!0),t,(e=>za(n)&&n(e)),r)}forceSetData(e,t,n){this.setData(e,t,n,!0)}clearData(e,t=!0){$s.clearData(js(oo(e),t))}clearDataListener(e){$s.off(js(oo(e),!1))}}class Vs extends Hs{constructor(e){super(),this.appName=oo(e),!this.appName&&Ja(`Invalid appName ${e}`)}addDataListener(e,t){e.__AUTO_TRIGGER__=t,$s.on(js(this.appName,!0),e,t)}removeDataListener(e){za(e)&&$s.off(js(this.appName,!0),e)}getData(e=!0){return $s.getData(js(this.appName,e))}dispatch(e,t,n){go(),$s.dispatch(js(this.appName,!1),e,(e=>za(t)&&t(e)),n,(()=>{const t=Hi.get(this.appName);if((null==t?void 0:t.container)&&Ga(e)){const e=new CustomEvent("datachange",{detail:{data:$s.getData(js(this.appName,!1))}});wo(t.container).dispatchEvent(e)}}))}forceDispatch(e,t){this.dispatch(e,t,!0)}clearData(e=!1){$s.clearData(js(this.appName,e))}clearDataListener(){$s.off(js(this.appName,!0))}}class zs{constructor(){this.appInstanceMap=Hi}static getInstance(){return this.instance||(this.instance=new zs),this.instance}get(e){return this.appInstanceMap.get(e)}set(e,t){this.appInstanceMap.set(e,t)}getAll(){return Array.from(this.appInstanceMap.values())}clear(){this.appInstanceMap.clear()}}function Gs(){qs(),zs.getInstance().getAll().forEach((e=>{e.container&&wo(e.container).disconnectedCallback()})),!window.__MICRO_APP_UMD_MODE__&&zs.getInstance().clear()}function qs(){window.__MICRO_APP_ENVIRONMENT__&&window.removeEventListener("unmount",Gs,!1)}function Ks(e){return Ba(e.__MICRO_APP_IS_BOUND_FUNCTION__)?e.__MICRO_APP_IS_BOUND_FUNCTION__:e.__MICRO_APP_IS_BOUND_FUNCTION__=za(t=e)&&0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");var t}function Ys(e,t,n="WINDOW"){const r=`__MICRO_APP_BOUND_${n}_FUNCTION__`;if(t[r])return t[r];if(!function(e){return Ba(e.__MICRO_APP_IS_CONSTRUCTOR__)?e.__MICRO_APP_IS_CONSTRUCTOR__:e.__MICRO_APP_IS_CONSTRUCTOR__=Ya(e)}(t)&&!Ks(t)){const n=t.bind(e);for(const e in t)n[e]=t[e];return t.hasOwnProperty("prototype")&&Wa(n,"prototype",{value:t.prototype,configurable:!0,enumerable:!1,writable:!0}),t[r]=n}return t}const Qs=["unmount","appstate-change"];function Zs(e,t){var n;return Qs.includes(e)||("popstate"===e||"hashchange"===e)&&(null===(n=Hi.get(t))||void 0===n?void 0:n.useMemoryRouter)?`${e}-${t}`:e}const Xs=new Map;let Js=!1;const ei=new Map;function ti(){const{rawDocument:e,rawDocumentAddEventListener:t,rawDocumentRemoveEventListener:n}=Es;!Js&&function(){if(Js=!0,Object.getOwnPropertyDescriptor(document,"onclick"))return eo("Cannot redefine document property onclick");const e=document.onclick;document.onclick=null;let t=!1;function n(e){Xs.forEach((t=>{za(t)&&t.call(document,e)}))}Wa(document,"onclick",{configurable:!0,enumerable:!0,get(){const e=mo();return e?Xs.get(e):Xs.get("base")},set(e){const r=mo();r?Xs.set(r,e):Xs.set("base",e),!t&&za(e)&&(t=!0,Es.rawDocumentAddEventListener.call(Es.rawDocument,"click",n,!1))}}),e&&(document.onclick=e)}(),document.addEventListener=function(n,r,a){const o=mo();if(o){const e=ei.get(o);if(e){const t=e.get(n);t?t.add(r):e.set(n,new Set([r]))}else ei.set(o,new Map([[n,new Set([r])]]));r&&(r.__MICRO_APP_MARK_OPTIONS__=a)}t.call(e,n,r,a)},document.removeEventListener=function(t,r,a){const o=mo();if(o){const e=ei.get(o);if(e){const n=e.get(t);(null==n?void 0:n.size)&&n.has(r)&&n.delete(r)}}n.call(e,t,r,a)}}function ni(e,t){const n=new Map,r=new Map,a=new Map,{rawWindow:o,rawDocument:s,rawWindowAddEventListener:i,rawWindowRemoveEventListener:l,rawSetInterval:c,rawSetTimeout:u,rawClearInterval:p,rawClearTimeout:d,rawDocumentRemoveEventListener:h}=Es;t.addEventListener=function(t,r,a){t=Zs(t,e);const s=n.get(t);s?s.add(r):n.set(t,new Set([r])),r&&(r.__MICRO_APP_MARK_OPTIONS__=a),i.call(o,t,r,a)},t.removeEventListener=function(t,r,a){t=Zs(t,e);const s=n.get(t);(null==s?void 0:s.size)&&s.has(r)&&s.delete(r),l.call(o,t,r,a)},t.setInterval=function(e,t,...n){const a=c.call(o,e,t,...n);return r.set(a,{handler:e,timeout:t,args:n}),a},t.setTimeout=function(e,t,...n){const r=u.call(o,e,t,...n);return a.set(r,{handler:e,timeout:t,args:n}),r},t.clearInterval=function(e){r.delete(e),p.call(o,e)},t.clearTimeout=function(e){a.delete(e),d.call(o,e)};const f=new Map,m=new Map;let g,v=new Map,b=new Map;return{recordEffect:()=>{n.forEach(((e,t)=>{e.size&&f.set(t,new Set(e))})),r.size&&(v=new Map(r)),a.size&&(b=new Map(a)),g=Xs.get(e);const t=ei.get(e);t&&t.forEach(((e,t)=>{e.size&&m.set(t,new Set(e))}))},rebuildEffect:()=>{f.forEach(((e,n)=>{for(const r of e)t.addEventListener(n,r,null==r?void 0:r.__MICRO_APP_MARK_OPTIONS__)})),v.forEach((e=>{t.setInterval(e.handler,e.timeout,...e.args)})),b.forEach((e=>{t.setTimeout(e.handler,e.timeout,...e.args)})),g&&Xs.set(e,g),ho(e),m.forEach(((e,t)=>{for(const n of e)document.addEventListener(t,n,null==n?void 0:n.__MICRO_APP_MARK_OPTIONS__)})),go(),f.clear(),v.clear(),b.clear(),m.clear(),g=null},releaseEffect:()=>{n.size&&(n.forEach(((e,t)=>{for(const n of e)l.call(o,t,n)})),n.clear()),r.size&&(r.forEach(((e,t)=>{p.call(o,t)})),r.clear()),a.size&&(a.forEach(((e,t)=>{d.call(o,t)})),a.clear()),Xs.delete(e);const t=ei.get(e);t&&(t.forEach(((e,t)=>{for(const n of e)h.call(s,t,n)})),t.clear())}}}function ri(e,t){const n=Es.rawWindow.history.state,r={microAppState:xa({},null==n?void 0:n.microAppState,{[e]:t})};return xa({},n,r)}function ai(e){var t,n;return(null===(n=null===(t=Es.rawWindow.history.state)||void 0===t?void 0:t.microAppState)||void 0===n?void 0:n[e])||null}const oi=/&/g,si=/=/g,ii=/%M1/g,li=/%M2/g;function ci(e){return encodeURIComponent(pi(e).replace(oi,"%M1").replace(si,"%M2"))}function ui(e){return pi(e).replace(ii,"&").replace(li,"=")}function pi(e){try{const t=decodeURIComponent(e);return e===t||ii.test(t)||li.test(t)?t:pi(t)}catch(t){return e}}function di(e){var t,n;const r=Es.rawWindow.location,a=fi(r.search,r.hash),o=(null===(t=a.hashQuery)||void 0===t?void 0:t[e])||(null===(n=a.searchQuery)||void 0===n?void 0:n[e]);return Ha(o)?ui(o):null}function hi(e,t){let{pathname:n,search:r,hash:a}=Es.rawWindow.location;const o=fi(r,a),s=ci(t.pathname+t.search+t.hash);let i=!1;if(a&&!r){i=!0,o.hashQuery?o.hashQuery[e]=s:o.hashQuery={[e]:s};const t=a.includes("?")?a.slice(0,a.indexOf("?")+1):a+"?";a=t+ko(o.hashQuery)}else o.searchQuery?o.searchQuery[e]=s:o.searchQuery={[e]:s},r="?"+ko(o.searchQuery);return{fullPath:n+r+a,isAttach2Hash:i}}function fi(e,t){const n={};return""!==e&&"?"!==e&&(n.searchQuery=So(e.slice(1))),t.includes("?")&&(n.hashQuery=So(t.slice(t.indexOf("?")+1))),n}function mi(e){const t=Hi.get(e);return!(!t||t.isPrefetch)}function gi(e){const t=Es.rawWindow,n=t=>{if(qi({excludeHiddenApp:!0,excludePreRender:!0}).includes(e)&&!t.onlyForBrowser){const t=di(e),n=Hi.get(e).sandBox.proxyWindow;let r=!1;const a=n.location.href;if(t){const a=n.location.hash;Ci(e,t,n.location),r=n.location.hash!==a}!function(e,t){const n=new PopStateEvent(Zs("popstate",e),{state:ai(e)});Es.rawWindow.dispatchEvent(n),za(t.onpopstate)&&t.onpopstate(n)}(e,n),r&&function(e,t,n){const r=new HashChangeEvent(Zs("hashchange",e),{newURL:t.location.href,oldURL:n});Es.rawWindow.dispatchEvent(r),za(t.onhashchange)&&t.onhashchange(r)}(e,n,a),go()}};return t.addEventListener("popstate",n),()=>{t.removeEventListener("popstate",n)}}function vi(e,t,n){go(),mi(e)&&(function(e){const t=new PopStateEvent("popstate",{state:null});e&&(t.onlyForBrowser=!0),Es.rawWindow.dispatchEvent(t)}(t),n&&function(e){const t=new HashChangeEvent("hashchange",{newURL:Es.rawWindow.location.href,oldURL:e});Es.rawWindow.dispatchEvent(t)}(n))}function bi(e,t){const n=Es.rawWindow.history;function r(n){return function(...r){if(Ha(r[2])||Qa(r[2])){const a=no(r[2],t.href);if(a.origin===t.origin){yi(e,n,hi(e,a),!0,ri(e,r[0]),r[1]);const o=a.pathname+a.search+a.hash;return void(o!==t.fullPath&&Ci(e,o,t))}}_i(e,n,r[2],r[0],r[1])}}const a=r("pushState"),o=r("replaceState");return new Proxy(n,{get(t,n){if("state"===n)return ai(e);if("pushState"===n)return a;if("replaceState"===n)return o;const r=Reflect.get(t,n);return za(r)?Ys(t,r,"HISTORY"):r},set:(e,t,n)=>(Reflect.set(e,t,n),!0)})}function _i(e,t,n,r=null,a=""){if(mi(e)){("pushState"===t?Es.rawPushState:Es.rawReplaceState).call(Es.rawWindow.history,r,a,n)}}function yi(e,t,n,r,a,o){if(mi(e)){const s=Es.rawWindow.location,i=s.pathname+s.search+s.hash,l=n.isAttach2Hash&&i!==n.fullPath?s.href:null;_i(e,t,n.fullPath,a,o),i!==n.fullPath&&vi(e,r,l)}}function wi(e,t,n){yi(e,"replaceState",t,!0,n)}function Ei(e){const t=Es.rawWindow;return function(...n){var r;if((null===(r=t.history.state)||void 0===r?void 0:r.microAppState)&&(!Ga(n[0])||!n[0].microAppState)&&(Ha(n[2])||Qa(n[2]))){const e=t.location.href;no(n[2],e).href===e&&(n[0]=xa({},n[0],{microAppState:t.history.state.microAppState}))}e.apply(t.history,n),qi({excludeHiddenApp:!0,excludePreRender:!0}).forEach((e=>{const t=Hi.get(e);t.sandBox&&t.useMemoryRouter&&!di(e)&&wi(e,hi(e,t.sandBox.proxyWindow.location),ri(e,ai(e)))})),go()}}const{router:Ai,executeNavigationGuard:Si,clearRouterWhenUnmount:ki}=function(){function e(e,t,n,r){yi(e,t,hi(e,n),!1,ri(e,null!=r?r:null)),go()}function t(t){return function(n){const r=oo(n.name);if(r&&Ha(n.path)){const a=Hi.get(r);if(a&&(!a.sandBox||!a.useMemoryRouter))return Ja(`navigation failed, memory router of app ${r} is closed`);if(qi({excludePreRender:!0}).includes(r)){const o=a.sandBox.proxyWindow.location,s=no(n.path,o.href),i=s.pathname+s.search+s.hash;if(o.fullPath!==i||di(r)!==i){e(r,t&&!1!==n.replace||!0===n.replace?"replaceState":"pushState",s,n.state)}}else{const t=Es.rawWindow.location,a=no(n.path,t.origin),o=a.pathname+a.search+a.hash;di(r)!==o&&e(r,!1===n.replace?"pushState":"replaceState",a,n.state)}}else Ja("navigation failed, name & path are required when use router."+(t?"replace":"push"))}}function n(e){return function(...t){return Es.rawWindow.history[e](...t)}}const r=Po(),a=Po();function o(e,t,n,r){go();for(const a of r)za(a)?a(t,n,e):Ga(a)&&za(a[e])&&a[e](t,n)}function s(e){const t=Hi.get(e);t.sandBox&&t.useMemoryRouter&&wi(e,hi(e,t.sandBox.proxyWindow.location),ri(e,ai(e)))}const i=Object.assign(Object.assign({current:new Map,encode:ci,decode:ui,push:t(!1),replace:t(!0),go:n("go"),back:n("back"),forward:n("forward"),beforeEach:r.add,afterEach:a.add,attachToURL:function(e){(e=oo(e))&&qi().includes(e)&&s(e)},attachAllToURL:function({includeHiddenApp:e=!1,includePreRender:t=!1}){qi({excludeHiddenApp:!e,excludePreRender:!t}).forEach((e=>s(e)))}},function(){const e=function(){const e=new Map;return{add:function(t,n){return e.set(t,n),()=>!!e.has(t)&&e.delete(t)},get:t=>e.get(t),delete:t=>!!e.has(t)&&e.delete(t)}}();return{setDefaultPage:function(t){const n=oo(t.name);return n&&t.path?e.add(n,t.path):Da},removeDefaultPage:function(t){return!!(t=oo(t))&&e.delete(t)},getDefaultPage:e.get}}()),function(){let e=null;return{setBaseAppRouter:function(t){qa(t)&&(e=new Proxy(t,{get(e,t){go();const n=Reflect.get(e,t);return za(n)?Ys(e,n,"BASEROUTER"):n},set:(e,t,n)=>(Reflect.set(e,t,n),!0)}))},getBaseAppRouter:()=>e}}());return{router:i,executeNavigationGuard:function(e,t,n){i.current.set(e,t),o(e,t,n,r.list()),co((()=>{o(e,t,n,a.list())}))},clearRouterWhenUnmount:function(e){i.current.delete(e)}}}(),Pi=["href","pathname","search","hash"],Ri=[...Pi,"host","hostname","port","protocol","search"],Li=[...Ri,"origin","fullPath"];function Ni(e,t){const n=xa({name:e},t);for(const r of Li)n[r]=t[r];return n}function Ci(e,t,n,r){const a=no(t,n.href),o=Ni(e,n);for(const i of Ri)Pi.includes(i)?n.shadowLocation[i]=a[i]:n[i]=a[i];const s=Ni(e,n);("auto"===r||o.fullPath!==s.fullPath&&"prevent"!==r)&&Si(e,s,o)}function Oi(e,t){const n=function(e,t){const n=Es.rawWindow.location,r=no(t),a={href:r.href,pathname:r.pathname,search:r.search,hash:r.hash},o=(t,o)=>{const s=no(t,r.href);if(s.origin===r.origin){const r=hi(e,s);if(s.pathname===a.pathname&&s.search===a.search){let t=null;return s.hash!==a.hash&&(r.isAttach2Hash&&(t=n.href),_i(e,o,r.fullPath)),void(s.hash?vi(e,!1,t):l())}if(r.isAttach2Hash)return _i(e,o,r.fullPath),void l();t=r.fullPath}return t};function s(e,t){return{enumerable:!0,configurable:!0,get:e,set:t}}function i(n,r){const o=no(n,t);o[r]===a[r]&&a.hash?vi(e,!1):(_i(e,o[r]===a[r]?"replaceState":"pushState",hi(e,o).fullPath),l())}function l(){mi(e)&&n.reload()}Fa(r,{href:s((()=>a.href),(t=>{if(mi(e)){const e=o(t,"pushState");e&&(n.href=e)}})),pathname:s((()=>a.pathname),(e=>{i(("/"+e).replace(/^\/+/,"/")+a.search+a.hash,"pathname")})),search:s((()=>a.search),(e=>{i(a.pathname+("?"+e).replace(/^\?+/,"?")+a.hash,"search")})),hash:s((()=>a.hash),(n=>{const r=a.pathname+a.search+("#"+n).replace(/^#+/,"#"),o=no(r,t);o.hash!==a.hash&&yi(e,"pushState",hi(e,o),!1)})),fullPath:s((()=>a.pathname+a.search+a.hash),Ia)});const c=t=>function(r){if(mi(e)){const e=o(r,"assign"===t?"pushState":"replaceState");e&&n[t](e)}};return xa(r,{assign:c("assign"),replace:c("replace"),reload:e=>n.reload(e),shadowLocation:a})}(e,t);return{microLocation:n,microHistory:bi(e,n)}}function Mi(e,t,n){n&&Ci(e,n,t,"prevent"),wi(e,hi(e,t),ri(e,null)),function(e,t){Si(e,Ni(e,t),Ni(e,t))}(e,t)}function Ii(e){wi(e,function(e,t){var n,r,a,o;let{pathname:s,search:i,hash:l}=t||Es.rawWindow.location;const c=fi(i,l);let u=!1;if(null===(n=c.hashQuery)||void 0===n?void 0:n[e]){u=!0,null===(r=c.hashQuery)||void 0===r||delete r[e];const t=ko(c.hashQuery);l=l.slice(0,l.indexOf("?")+Number(Boolean(t)))+t}else if(null===(a=c.searchQuery)||void 0===a?void 0:a[e]){null===(o=c.searchQuery)||void 0===o||delete o[e];const t=ko(c.searchQuery);i=t?"?"+t:""}return{fullPath:s+i+l,isAttach2Hash:u}}(e),function(e,t){return Ga(null==t?void 0:t.microAppState)&&($a(t.microAppState[e])||delete t.microAppState[e],Object.keys(t.microAppState).length||delete t.microAppState),xa({},t)}(e,Es.rawWindow.history.state))}function Di(e,t){const n=$a(t)?Es.rawWindow.fetch:t;return za(n)?function(t,r,...a){return(Ha(t)||Qa(t))&&(t=no(t,e).toString()),go(),n.call(Es.rawWindow,t,r,...a)}:n}function Ti(e,t){const n=$a(t)?Es.rawWindow.XMLHttpRequest:t;return Ya(n)?class extends n{open(t,n,...r){(Ha(n)&&!/^f(ile|tp):\/\//.test(n)||Qa(n))&&(n=no(n,e).toString()),go(),super.open(t,n,...r)}}:n}const{createMicroEventSource:xi,clearMicroEventSource:Wi}=function(){let e;return{createMicroEventSource:function(t,n,r){const a=$a(r)?Es.rawWindow.EventSource:r;return Ya(a)?class extends a{constructor(r,a,...o){if((Ha(r)||Qa(r))&&(r=no(r,n).toString()),go(),super(r,a,...o),e){const n=e.get(t);n?n.add(this):e.set(t,new Set([this]))}else e=new Map([[t,new Set([this])]])}close(){var n;super.close(),null===(n=e.get(t))||void 0===n||n.delete(this)}}:a},clearMicroEventSource:function(t){const n=null==e?void 0:e.get(t);(null==n?void 0:n.size)&&(n.forEach((e=>{e.close()})),n.clear())}}}(),Fi=["window","self","globalThis"];class Ui{constructor(e,t){this.scopeProperties=[],this.escapeProperties=[],this.injectedKeys=new Set,this.escapeKeys=new Set,this.active=!1,this.microAppWindow={},this.adapter=new cs,this.getSpecialProperties(e),this.proxyWindow=this.createProxyWindow(e),this.effectController=ni(e,this.microAppWindow),this.initStaticGlobalKeys(this.microAppWindow,e,t)}start({umdMode:e,baseroute:t,useMemoryRouter:n,defaultPage:r,disablePatchRequest:a}){this.active||(this.active=!0,n?($a(this.microAppWindow.location)&&this.setMicroAppRouter(this.microAppWindow,this.microAppWindow.__MICRO_APP_NAME__,this.microAppWindow.__MICRO_APP_URL__),this.initRouteState(r),this.removeHistoryListener=gi(this.microAppWindow.__MICRO_APP_NAME__)):this.microAppWindow.__MICRO_APP_BASE_ROUTE__=this.microAppWindow.__MICRO_APP_BASE_URL__=t,e||this.initGlobalKeysWhenStart(this.microAppWindow,this.microAppWindow.__MICRO_APP_NAME__,this.microAppWindow.__MICRO_APP_URL__,a),1==++Ui.activeCount&&(ti(),vs(),window.__MICRO_APP_ENVIRONMENT__&&(qs(),window.addEventListener("unmount",Gs,!1)),function(){const e=Es.rawWindow;e.history.pushState=Ei(Es.rawPushState),e.history.replaceState=Ei(Es.rawReplaceState)}()),Es.rawWindow._babelPolyfill&&(Es.rawWindow._babelPolyfill=!1))}stop({umdMode:e,keepRouteState:t,clearEventSource:n,clearData:r}){this.active&&(this.releaseGlobalEffect(r),this.removeHistoryListener&&(this.clearRouteState(t),this.removeHistoryListener()),n&&Wi(this.microAppWindow.__MICRO_APP_NAME__),e||(this.injectedKeys.forEach((e=>{Reflect.deleteProperty(this.microAppWindow,e)})),this.injectedKeys.clear(),this.escapeKeys.forEach((e=>{Reflect.deleteProperty(Es.rawWindow,e)})),this.escapeKeys.clear()),0==--Ui.activeCount&&(document.addEventListener=Es.rawDocumentAddEventListener,document.removeEventListener=Es.rawDocumentRemoveEventListener,ys(),function(){const e=Es.rawWindow;e.history.pushState=Es.rawPushState,e.history.replaceState=Es.rawReplaceState}()),this.active=!1)}releaseGlobalEffect(e=!1){this.effectController.releaseEffect(),this.microAppWindow.microApp.clearDataListener(),this.microAppWindow.microApp.clearGlobalDataListener(),e&&(Ji.clearData(this.microAppWindow.__MICRO_APP_NAME__),this.microAppWindow.microApp.clearData())}recordEffectSnapshot(){this.effectController.recordEffect(),function(e){const t=e.appName;e.umdDataListeners={global:new Set,normal:new Set};const n=$s.eventList.get("global");if(n)for(const a of n.callbacks)t===a.__APP_NAME__&&e.umdDataListeners.global.add(a);const r=$s.eventList.get(js(t,!0));r&&(e.umdDataListeners.normal=new Set(r.callbacks))}(this.microAppWindow.microApp)}rebuildEffectSnapshot(){this.effectController.rebuildEffect(),function(e){for(const t of e.umdDataListeners.global)e.addGlobalDataListener(t,t.__AUTO_TRIGGER__);for(const t of e.umdDataListeners.normal)e.addDataListener(t,t.__AUTO_TRIGGER__)}(this.microAppWindow.microApp)}setPreRenderState(e){this.microAppWindow.__MICRO_APP_PRE_RENDER__=e}getSpecialProperties(e){var t;this.scopeProperties=this.scopeProperties.concat(this.adapter.staticScopeProperties),Ga(Ji.options.plugins)&&(this.commonActionForSpecialProperties(Ji.options.plugins.global),this.commonActionForSpecialProperties(null===(t=Ji.options.plugins.modules)||void 0===t?void 0:t[e]))}commonActionForSpecialProperties(e){if(Ta(e))for(const t of e)Ga(t)&&(Ta(t.scopeProperties)&&(this.scopeProperties=this.scopeProperties.concat(t.scopeProperties)),Ta(t.escapeProperties)&&(this.escapeProperties=this.escapeProperties.concat(t.escapeProperties)))}createProxyWindow(e){const t=Es.rawWindow,n=new Map;return new Proxy(this.microAppWindow,{get:(n,r)=>{if(fo(e),Reflect.has(n,r)||Ha(r)&&/^__MICRO_APP_/.test(r)||this.scopeProperties.includes(r))return Reflect.get(n,r);const a=Reflect.get(t,r);return za(a)?Ys(t,a):a},set:(e,n,r)=>{if(this.active){if(this.adapter.escapeSetterKeyList.includes(n))Reflect.set(t,n,r);else if(Ua.call(e,n)||!Ua.call(t,n)||this.scopeProperties.includes(n))Reflect.set(e,n,r),this.injectedKeys.add(n);else{const a=Object.getOwnPropertyDescriptor(t,n),{configurable:o,enumerable:s,writable:i,set:l}=a;Wa(e,n,{value:r,configurable:o,enumerable:s,writable:null!=i?i:!!l}),this.injectedKeys.add(n)}(this.escapeProperties.includes(n)||this.adapter.staticEscapeProperties.includes(n)&&!Reflect.has(t,n))&&!this.scopeProperties.includes(n)&&(Reflect.set(t,n,r),this.escapeKeys.add(n))}return!0},has:(e,n)=>this.scopeProperties.includes(n)?n in e:n in e||n in t,getOwnPropertyDescriptor:(e,r)=>{if(Ua.call(e,r))return n.set(r,"target"),Object.getOwnPropertyDescriptor(e,r);if(Ua.call(t,r)){n.set(r,"rawWindow");const e=Object.getOwnPropertyDescriptor(t,r);return e&&!e.configurable&&(e.configurable=!0),e}},defineProperty:(e,r,a)=>"rawWindow"===n.get(r)?Reflect.defineProperty(t,r,a):Reflect.defineProperty(e,r,a),ownKeys:e=>Reflect.ownKeys(t).concat(Reflect.ownKeys(e)).filter((function(e){return!(e in this)&&(this[e]=!0)}),Object.create(null)),deleteProperty:(e,n)=>!Ua.call(e,n)||(this.injectedKeys.has(n)&&this.injectedKeys.delete(n),this.escapeKeys.has(n)&&Reflect.deleteProperty(t,n),Reflect.deleteProperty(e,n))})}initStaticGlobalKeys(e,t,n){e.__MICRO_APP_ENVIRONMENT__=!0,e.__MICRO_APP_NAME__=t,e.__MICRO_APP_URL__=n,e.__MICRO_APP_PUBLIC_PATH__=so(n),e.__MICRO_APP_WINDOW__=e,e.__MICRO_APP_PRE_RENDER__=!1,e.rawWindow=Es.rawWindow,e.rawDocument=Es.rawDocument,e.microApp=xa(new Vs(t),{removeDomScope:go,pureCreateElement:vo,router:Ai}),this.setProxyDocument(e,t),this.setMappingPropertiesWithRawDescriptor(e)}setProxyDocument(e,t){const{proxyDocument:n,MicroDocument:r}=this.createProxyDocument(t);Fa(e,{document:{configurable:!1,enumerable:!0,get:()=>n},Document:{configurable:!1,enumerable:!1,get:()=>r}})}setMappingPropertiesWithRawDescriptor(e){let t,n;const r=Es.rawWindow;r===r.parent?t=n=this.proxyWindow:(t=r.top,n=r.parent),Wa(e,"top",this.createDescriptorForMicroAppWindow("top",t)),Wa(e,"parent",this.createDescriptorForMicroAppWindow("parent",n)),Fi.forEach((t=>{Wa(e,t,this.createDescriptorForMicroAppWindow(t,this.proxyWindow))}))}createDescriptorForMicroAppWindow(e,t){const{configurable:n=!0,enumerable:r=!0,writable:a,set:o}=Object.getOwnPropertyDescriptor(Es.rawWindow,e)||{writable:!0};return{value:t,configurable:n,enumerable:r,writable:null!=a?a:!!o}}initGlobalKeysWhenStart(e,t,n,r){e.hasOwnProperty=t=>Ua.call(e,t)||Ua.call(Es.rawWindow,t),this.setHijackProperty(e,t),r||this.patchRequestApi(e,t,n),this.setScopeProperties(e)}setHijackProperty(e,t){let n,r;Fa(e,{eval:{configurable:!0,enumerable:!1,get:()=>(fo(t),n||eval),set:e=>{n=e}},Image:{configurable:!0,enumerable:!1,get:()=>(fo(t),r||Es.ImageProxy),set:e=>{r=e}}})}patchRequestApi(e,t,n){let r=Di(n),a=Ti(n),o=xi(t,n);Fa(e,{fetch:{configurable:!0,enumerable:!0,get:()=>r,set(e){r=Di(n,e)}},XMLHttpRequest:{configurable:!0,enumerable:!0,get:()=>a,set(e){a=Ti(n,e)}},EventSource:{configurable:!0,enumerable:!0,get:()=>o,set(e){o=xi(t,n,e)}}})}setScopeProperties(e){this.scopeProperties.forEach((t=>{Reflect.set(e,t,e[t])}))}setMicroAppRouter(e,t,n){const{microLocation:r,microHistory:a}=Oi(t,n);Fa(e,{location:{configurable:!1,enumerable:!0,get:()=>r,set:e=>{Es.rawWindow.location=e}},history:{configurable:!0,enumerable:!0,get:()=>a}})}initRouteState(e){!function(e,t,n){const r=di(e);r?Ci(e,r,t,"auto"):Mi(e,t,n)}(this.proxyWindow.__MICRO_APP_NAME__,this.proxyWindow.location,e)}clearRouteState(e){!function(e,t,n,r){if(!r){const{pathname:r,search:a,hash:o}=no(t);Ci(e,r+a+o,n,"prevent")}Ii(e),ki(e)}(this.proxyWindow.__MICRO_APP_NAME__,this.proxyWindow.__MICRO_APP_URL__,this.proxyWindow.location,e)}setRouteInfoForKeepAliveApp(){Mi(this.proxyWindow.__MICRO_APP_NAME__,this.proxyWindow.location)}removeRouteInfoForKeepAliveApp(){Ii(this.proxyWindow.__MICRO_APP_NAME__)}createProxyDocument(e){const t=Es.rawDocument,n=Es.rawRootDocument,r=function(n,r){const a=Es.rawCreateElement.call(t,n,r);return a.__MICRO_APP_NAME__=e,a},a=new Proxy(t,{get:(n,o)=>{if(fo(e),function(e){const t=Es.rawDocument.firstElementChild;(null==t?void 0:t.parentNode)===Es.rawDocument&&(us(t,e),to((()=>{us(t,Es.rawDocument)})))}(a),"createElement"===o)return r;if(o===Symbol.toStringTag)return"ProxyDocument";if("defaultView"===o)return this.proxyWindow;const s=Reflect.get(n,o);return za(s)?Ys(t,s,"DOCUMENT"):s},set:(e,t,n)=>(Reflect.set(e,t,n),!0)});class o{static[Symbol.hasInstance](e){let t=e;for(;t=Object.getPrototypeOf(t);)if(t===o.prototype)return!0;return e===a||e instanceof n}}return Object.setPrototypeOf(o,n),Object.setPrototypeOf(o.prototype,new Proxy(n.prototype,{get(n,r){fo(e);const a=Reflect.get(n,r);return za(a)?Ys(t,a,"DOCUMENT"):a},set:(e,t,n)=>(Reflect.set(e,t,n),!0)})),{proxyDocument:a,MicroDocument:o}}}function $i(e,t,n,r){var a;if(!e)return Ja(`element does not exist in lifecycle ${n}`,t);e=wo(e),go();const o=xa({name:t,container:e},r&&{error:r}),s=new CustomEvent(n,{detail:o});!function(e,t){Object.defineProperties(e,{currentTarget:{get:()=>t},target:{get:()=>t}})}(s,e),za(null===(a=Ji.options.lifeCycles)||void 0===a?void 0:a[n])&&Ji.options.lifeCycles[n](s),e.dispatchEvent(s)}function ji(e,t,n={}){const r=new CustomEvent(Zs(e,t),{detail:n});window.dispatchEvent(r)}Ui.activeCount=0;const Hi=new Map;class Bi{constructor({name:e,url:t,container:n,scopecss:r,useSandbox:a,inline:o,esmodule:s,ssrUrl:i,isPrefetch:l,prefetchLevel:c}){this.state=Do.CREATED,this.keepAliveState=null,this.keepAliveContainer=null,this.loadSourceLevel=0,this.umdHookMount=null,this.umdHookUnmount=null,this.libraryName=null,this.umdMode=!1,this.sandBox=null,this.fiber=!1,this.useMemoryRouter=!0,this.name=e,this.url=t,this.useSandbox=a,this.scopecss=this.useSandbox&&r,this.inline=null!=o&&o,this.esmodule=null!=s&&s,this.container=null!=n?n:null,this.ssrUrl=null!=i?i:"",this.isPrefetch=null!=l&&l,this.isPrerender=3===c,this.prefetchLevel=c,Hi.set(this.name,this),this.source={html:null,links:new Set,scripts:new Set},this.loadSourceCode(),this.useSandbox&&(this.sandBox=new Ui(e,t))}loadSourceCode(){this.state=Do.LOADING,qo.getInstance().run(this,Us)}onLoad(e,t,n){var r;if(2==++this.loadSourceLevel)if(this.source.html=e,this.state=Do.LOADED,this.isPrefetch||Do.UNMOUNT===this.state){if(this.isPrerender){const e=vo("div");e.setAttribute("prerender","true"),null===(r=this.sandBox)||void 0===r||r.setPreRenderState(!0),this.mount({container:e,inline:this.inline,useMemoryRouter:!0,baseroute:"",fiber:!0,esmodule:this.esmodule,defaultPage:null!=t?t:"",disablePatchRequest:null!=n&&n})}}else wo(this.container).mount(this)}onLoadError(e){this.loadSourceLevel=-1,Do.UNMOUNT!==this.state&&(this.onerror(e),this.state=Do.LOAD_FAILED)}mount({container:e,inline:t,useMemoryRouter:n,defaultPage:r,baseroute:a,disablePatchRequest:o,fiber:s,esmodule:i}){var l,c,u,p,d,h;if(2!==this.loadSourceLevel)return this.container=e,this.isPrerender=!1,void(this.state=Do.LOADING);if(this.container instanceof HTMLDivElement&&this.container.hasAttribute("prerender"))return null===(l=this.sandBox)||void 0===l||l.rebuildEffectSnapshot(),bo(this.container,e,!1),this.container=e,null===(c=this.preRenderEvent)||void 0===c||c.forEach((e=>e())),this.isPrerender=!1,this.preRenderEvent=void 0,Ai.attachToURL(this.name),null===(u=this.sandBox)||void 0===u?void 0:u.setPreRenderState(!1);this.container=e,this.inline=t,this.esmodule=i,this.fiber=s,this.useMemoryRouter=n;const f=()=>{$i(this.container,this.name,xo.BEFOREMOUNT)};let m;if(this.isPrerender?(null!==(p=this.preRenderEvent)&&void 0!==p?p:this.preRenderEvent=[]).push(f):f(),this.state=Do.MOUNTING,bo(this.source.html,this.container,!this.umdMode),null===(d=this.sandBox)||void 0===d||d.start({umdMode:this.umdMode,baseroute:a,useMemoryRouter:n,defaultPage:r,disablePatchRequest:o}),this.umdMode){null===(h=this.sandBox)||void 0===h||h.rebuildEffectSnapshot();try{m=this.umdHookMount()}catch(g){Ja("an error occurred in the mount function \n",this.name)}this.handleMounted(m)}else{let e=!1;!function(e,t){const n=e.fiber?[]:null,r=Array.from(e.source.scripts),a=[],o=[];for(const s of r){const r=os.script.getInfo(s),i=r.appSpace[e.name];i.defer||i.async?(r.isExternal&&!r.code?a.push(Go(s,e.name)):a.push(r.code),o.push([s,r]),ks(e,r)&&(t.moduleCount=t.moduleCount?++t.moduleCount:1)):Lo(n,(()=>{Ts(s,e,r),t(!1)}))}a.length?lo(a,(e=>{const t=o[e.index][1];t.code=t.code||e.data}),(n=>{t.errorCount=t.errorCount?++t.errorCount:1,Ja(n,e.name)}),(()=>{o.forEach((([r,a])=>{a.code&&Lo(n,(()=>{Ts(r,e,a,t),!ks(e,a)&&t(!1)}))})),n?(n.push((()=>Promise.resolve(t($a(t.moduleCount)||t.errorCount===a.length)))),No(n)):t($a(t.moduleCount)||t.errorCount===a.length)})):n?(n.push((()=>Promise.resolve(t(!0)))),No(n)):t(!0)}(this,(t=>{var n;if(!this.umdMode){const{mount:e,unmount:t}=this.getUmdLibraryHooks();if(this.umdHookUnmount=t,za(e)&&za(t)){this.umdHookMount=e,this.umdMode=!0,this.sandBox&&(this.sandBox.proxyWindow.__MICRO_APP_UMD_MODE__=!0);try{m=this.umdHookMount(Ji.getData(this.name,!0))}catch(g){Ja("an error occurred in the mount function \n",this.name)}}}if(!e&&(!0===t||this.umdMode)){e=!0;const t=()=>this.handleMounted(m);this.isPrerender?((null!==(n=this.preRenderEvent)&&void 0!==n?n:this.preRenderEvent=[]).push(t),this.recordAndReleaseEffect()):t()}}))}}handleMounted(e){Ka(e)?e.then((()=>this.dispatchMountedEvent())).catch((e=>this.onerror(e))):this.dispatchMountedEvent()}dispatchMountedEvent(){Do.UNMOUNT!==this.state&&(this.state=Do.MOUNTED,Oo(this.getGlobalEventListener(Fo.ONMOUNT),this.name,`window.${Fo.ONMOUNT}`,Ji.getData(this.name,!0)),$i(this.container,this.name,xo.MOUNTED))}unmount({destroy:e,clearData:t,keepRouteState:n,unmountcb:r}){let a;if(this.state===Do.LOAD_FAILED&&(e=!0),this.state=Do.UNMOUNT,this.keepAliveState=null,this.keepAliveContainer=null,za(this.umdHookUnmount))try{a=this.umdHookUnmount(Ji.getData(this.name,!0))}catch(o){Ja("an error occurred in the unmount function \n",this.name)}Oo(this.getGlobalEventListener(Fo.ONUNMOUNT),this.name,`window.${Fo.ONUNMOUNT}`),ji("unmount",this.name),this.handleUnmounted(e,t,n,a,r)}handleUnmounted(e,t,n,r,a){const o={destroy:e,clearData:t,keepRouteState:n,unmountcb:a};Ka(r)?r.then((()=>this.actionsForUnmount(o))).catch((()=>this.actionsForUnmount(o))):this.actionsForUnmount(o)}actionsForUnmount({destroy:e,clearData:t,keepRouteState:n,unmountcb:r}){var a,o;e?this.actionsForCompletelyDestroy():this.umdMode&&this.container.childElementCount&&bo(this.container,this.source.html,!1),this.umdMode&&(null===(a=this.sandBox)||void 0===a||a.recordEffectSnapshot()),null===(o=this.sandBox)||void 0===o||o.stop({umdMode:this.umdMode,keepRouteState:n&&!e,clearEventSource:!this.umdMode||e,clearData:t||e}),qi().length||(_s=!1,Element.prototype.setAttribute=Es.rawSetAttribute),$i(this.container,this.name,xo.UNMOUNT),this.resetConfig(),r&&r()}resetConfig(){this.container.innerHTML="",this.container=null,this.isPrerender=!1,this.preRenderEvent=void 0}actionsForCompletelyDestroy(){!this.useSandbox&&this.umdMode&&delete window[this.libraryName],os.script.deleteInlineInfo(this.source.scripts),Hi.delete(this.name)}hiddenKeepAliveApp(e){var t;const n=this.container;bo(this.container,this.keepAliveContainer?this.keepAliveContainer:this.keepAliveContainer=document.createElement("div"),!1),this.container=this.keepAliveContainer,this.keepAliveState=$o.KEEP_ALIVE_HIDDEN,ji("appstate-change",this.name,{appState:"afterhidden"}),$i(n,this.name,xo.AFTERHIDDEN),this.useMemoryRouter&&(null===(t=this.sandBox)||void 0===t||t.removeRouteInfoForKeepAliveApp()),this.recordAndReleaseEffect(),e&&e()}showKeepAliveApp(e){var t,n;null===(t=this.sandBox)||void 0===t||t.rebuildEffectSnapshot(),ji("appstate-change",this.name,{appState:"beforeshow"}),$i(e,this.name,xo.BEFORESHOW),bo(this.container,e,!1),this.container=e,this.keepAliveState=$o.KEEP_ALIVE_SHOW,this.useMemoryRouter&&(null===(n=this.sandBox)||void 0===n||n.setRouteInfoForKeepAliveApp()),ji("appstate-change",this.name,{appState:"aftershow"}),$i(this.container,this.name,xo.AFTERSHOW)}onerror(e){$i(this.container,this.name,xo.ERROR,e)}getAppState(){return this.state}getKeepAliveState(){return this.keepAliveState}getUmdLibraryHooks(){var e,t,n,r;if(Do.UNMOUNT!==this.state){const a=null!==(t=null===(e=this.sandBox)||void 0===e?void 0:e.proxyWindow)&&void 0!==t?t:Es.rawWindow;return this.libraryName=wo(this.container).getAttribute("library")||`micro-app-${this.name}`,qa(a[this.libraryName])?a[this.libraryName]:{mount:null===(n=this.sandBox)||void 0===n?void 0:n.proxyWindow.mount,unmount:null===(r=this.sandBox)||void 0===r?void 0:r.proxyWindow.unmount}}return{}}getGlobalEventListener(e){var t;const n=null===(t=this.sandBox)||void 0===t?void 0:t.proxyWindow[e];return za(n)?n:null}recordAndReleaseEffect(){var e,t;null===(e=this.sandBox)||void 0===e||e.recordEffectSnapshot(),null===(t=this.sandBox)||void 0===t||t.releaseGlobalEffect()}querySelector(e){const t=this.container;return t?Es.rawElementQuerySelector.call(t,e):null}querySelectorAll(e){const t=this.container;return t?Es.rawElementQuerySelectorAll.call(t,e):[]}}function Vi(e){class t extends HTMLElement{constructor(){super(),this.isWaiting=!1,this.cacheData=null,this.connectedCount=0,this.connectStateMap=new Map,this.appName="",this.appUrl="",this.ssrUrl="",this.version="1.0.0-alpha.10",this.handleAttributeUpdate=()=>{if(this.isWaiting=!1,!this.connectStateMap.get(this.connectedCount))return;const e=oo(this.getAttribute("name")),t=ao(this.getAttribute("url"),this.appName);if(this.legalAttribute("name",e)&&this.legalAttribute("url",t)){const n=Hi.get(e);if(e!==this.appName&&n&&Do.UNMOUNT!==n.getAppState()&&$o.KEEP_ALIVE_HIDDEN!==n.getKeepAliveState()&&!n.isPrefetch)return this.setAttribute("name",this.appName),Ja(`app name conflict, an app named ${e} is running`);e===this.appName&&t===this.appUrl||(e===this.appName?this.handleUnmount(!0,(()=>{this.actionsForAttributeChange(e,t,n)})):this.getKeepAliveModeResult()?(this.handleHiddenKeepAliveApp(),this.actionsForAttributeChange(e,t,n)):this.handleUnmount(this.getDestroyCompatibleResult(),(()=>{this.actionsForAttributeChange(e,t,n)})))}else e!==this.appName&&this.setAttribute("name",this.appName)},_s||(_s=!0,Element.prototype.setAttribute=function(e,t){if(/^micro-app(-\S+)?/i.test(this.tagName)&&"data"===e)if(Ga(t)){const e={};Object.getOwnPropertyNames(t).forEach((n=>{Ha(n)&&0===n.indexOf("__")||(e[n]=t[n])})),this.data=e}else"[object Object]"!==t&&eo("property data must be an object",this.getAttribute("name"));else{const n=this.__MICRO_APP_NAME__||mo();if(n&&Hi.has(n)&&(("src"===e||"srcset"===e)&&/^(img|script)$/i.test(this.tagName)||"href"===e&&/^link$/i.test(this.tagName))){const e=Hi.get(n);t=io(t,e.url)}Es.rawSetAttribute.call(this,e,t)}})}static get observedAttributes(){return["name","url"]}connectedCallback(){const e=++this.connectedCount;this.connectStateMap.set(e,!0);const t=this.appName&&this.appUrl;to((()=>{this.connectStateMap.get(e)&&($i(this,this.appName,xo.CREATED),t&&this.handleConnected())}))}disconnectedCallback(){this.connectStateMap.set(this.connectedCount,!1),this.handleDisconnected()}reload(e){return new Promise((t=>{const n=()=>{this.removeEventListener(xo.MOUNTED,n),this.removeEventListener(xo.AFTERSHOW,n),t(!0)};this.addEventListener(xo.MOUNTED,n),this.addEventListener(xo.AFTERSHOW,n),this.handleDisconnected(e,(()=>{this.handleConnected()}))}))}handleDisconnected(e=!1,t){const n=Hi.get(this.appName);n&&n.getAppState()!==Do.UNMOUNT&&n.getKeepAliveState()!==$o.KEEP_ALIVE_HIDDEN&&(this.getKeepAliveModeResult()&&!e?this.handleHiddenKeepAliveApp(t):this.handleUnmount(e||this.getDestroyCompatibleResult(),t))}attributeChangedCallback(e,t,n){if(this.legalAttribute(e,n)&&this[e===Mo.NAME?"appName":"appUrl"]!==n)if(e!==Mo.URL||this.appUrl)if(e!==Mo.NAME||this.appName)this.isWaiting||(this.isWaiting=!0,to(this.handleAttributeUpdate));else{const e=oo(n);if(!e)return Ja(`Invalid attribute name ${n}`,this.appName);this.cacheData&&(Ji.setData(e,this.cacheData),this.cacheData=null),this.appName=e,e!==n&&this.setAttribute("name",this.appName),this.handleInitialNameAndUrl()}else{if(!(n=ao(n,this.appName)))return Ja(`Invalid attribute url ${n}`,this.appName);this.appUrl=n,this.handleInitialNameAndUrl()}}handleInitialNameAndUrl(){this.connectStateMap.get(this.connectedCount)&&this.handleConnected()}handleConnected(){if(this.appName&&this.appUrl)if(this.getDisposeResult("shadowDOM")&&!this.shadowRoot&&za(this.attachShadow)&&this.attachShadow({mode:"open"}),this.updateSsrUrl(this.appUrl),Hi.has(this.appName)){const e=Hi.get(this.appName),t=e.ssrUrl||e.url,n=this.ssrUrl||this.appUrl;e.getKeepAliveState()===$o.KEEP_ALIVE_HIDDEN&&e.url===this.appUrl?this.handleShowKeepAliveApp(e):t===n&&(e.getAppState()===Do.UNMOUNT||e.isPrefetch&&e.scopecss===this.isScopecss()&&e.useSandbox===this.isSandbox())?this.handleAppMount(e):e.isPrefetch||e.getAppState()===Do.UNMOUNT?this.handleCreateApp():Ja(`app name conflict, an app named: ${this.appName} with url: ${t} is running`)}else this.handleCreateApp()}actionsForAttributeChange(e,t,n){var r;this.updateSsrUrl(t),this.appName=e,this.appUrl=t,(null!==(r=this.shadowRoot)&&void 0!==r?r:this).innerHTML="",e!==this.getAttribute("name")&&this.setAttribute("name",this.appName),n?n.getKeepAliveState()===$o.KEEP_ALIVE_HIDDEN?n.url===this.appUrl?this.handleShowKeepAliveApp(n):Ja(`app name conflict, an app named ${this.appName} is running`):n.url===this.appUrl&&n.ssrUrl===this.ssrUrl?this.handleAppMount(n):this.handleCreateApp():this.handleCreateApp()}legalAttribute(e,t){return!(!Ha(t)||!t)||(Ja(`unexpected attribute ${e}, please check again`,this.appName),!1)}handleCreateApp(){var e;Hi.has(this.appName)&&Hi.get(this.appName).actionsForCompletelyDestroy(),new Bi({name:this.appName,url:this.appUrl,scopecss:this.isScopecss(),useSandbox:this.isSandbox(),inline:this.getDisposeResult("inline"),esmodule:this.getDisposeResult("esmodule"),container:null!==(e=this.shadowRoot)&&void 0!==e?e:this,ssrUrl:this.ssrUrl})}handleAppMount(e){e.isPrefetch=!1,to((()=>this.mount(e)))}mount(e){var t;e.mount({container:null!==(t=this.shadowRoot)&&void 0!==t?t:this,inline:this.getDisposeResult("inline"),useMemoryRouter:!this.getDisposeResult("disable-memory-router"),defaultPage:this.getDefaultPageValue(),baseroute:this.getBaseRouteCompatible(),disablePatchRequest:this.getDisposeResult("disable-patch-request"),fiber:this.getDisposeResult("fiber"),esmodule:this.getDisposeResult("esmodule")})}handleUnmount(e,t){const n=Hi.get(this.appName);n&&n.getAppState()!==Do.UNMOUNT&&n.unmount({destroy:e,clearData:this.getDisposeResult("clear-data"),keepRouteState:this.getDisposeResult("keep-router-state"),unmountcb:t})}handleHiddenKeepAliveApp(e){const t=Hi.get(this.appName);t&&t.getAppState()!==Do.UNMOUNT&&t.getKeepAliveState()!==$o.KEEP_ALIVE_HIDDEN&&t.hiddenKeepAliveApp(e)}handleShowKeepAliveApp(e){to((()=>{var t;return e.showKeepAliveApp(null!==(t=this.shadowRoot)&&void 0!==t?t:this)}))}getDisposeResult(e){return(this.compatibleSpecialProperties(e)||!!Ji.options[e])&&this.compatibleDisableSpecialProperties(e)}compatibleSpecialProperties(e){return"disable-scopecss"===e?this.hasAttribute("disable-scopecss")||this.hasAttribute("disableScopecss"):"disable-sandbox"===e?this.hasAttribute("disable-sandbox")||this.hasAttribute("disableSandbox"):this.hasAttribute(e)}compatibleDisableSpecialProperties(e){return"disable-scopecss"===e?"false"!==this.getAttribute("disable-scopecss")&&"false"!==this.getAttribute("disableScopecss"):"disable-sandbox"===e?"false"!==this.getAttribute("disable-sandbox")&&"false"!==this.getAttribute("disableSandbox"):"false"!==this.getAttribute(e)}isScopecss(){return!(this.getDisposeResult("disable-scopecss")||this.getDisposeResult("shadowDOM"))}isSandbox(){return!this.getDisposeResult("disable-sandbox")}getBaseRouteCompatible(){var e,t;return null!==(t=null!==(e=this.getAttribute("baseroute"))&&void 0!==e?e:this.getAttribute("baseurl"))&&void 0!==t?t:""}getDestroyCompatibleResult(){return this.getDisposeResult("destroy")||this.getDisposeResult("destory")}getKeepAliveModeResult(){return this.getDisposeResult("keep-alive")&&!this.getDestroyCompatibleResult()}updateSsrUrl(e){if(this.getDisposeResult("ssr"))if(this.getDisposeResult("disable-memory-router")||this.getDisposeResult("disableSandbox")){const t=Es.rawWindow.location;this.ssrUrl=io(t.pathname+t.search,e)}else{let t=function(e,t){const n=di(e);if(!n)return"";const r=no(n,t);return r.origin+r.pathname+r.search}(this.appName,e);const n=this.getDefaultPageValue();if(!t&&n){const r=no(n,e);t=r.origin+r.pathname+r.search}this.ssrUrl=t}else this.ssrUrl&&(this.ssrUrl="")}getDefaultPageValue(){return Ai.getDefaultPage(this.appName)||this.getAttribute("default-page")||this.getAttribute("defaultPage")||""}set data(e){this.appName?Ji.setData(this.appName,e):this.cacheData=e}get data(){return this.appName?Ji.getData(this.appName,!0):this.cacheData?this.cacheData:null}}Es.rawWindow.customElements.define(e,t)}function zi(e,t){if(!Oa)return Ja("preFetch is only supported in browser environment");co((()=>{const n=Va(t)?t:Ji.options.prefetchDelay;setTimeout((()=>{!function(e){za(e)&&(e=e()),Ta(e)&&e.reduce(((e,t)=>e.then((()=>{return e=t,uo((t=>{var n,r,a,o,s,i;if(Ga(e)&&navigator.onLine)if(e.name=oo(e.name),e.url=ao(e.url,e.name),e.name&&e.url&&!Hi.has(e.name)){const l=new Bi({name:e.name,url:e.url,isPrefetch:!0,scopecss:!(null!==(r=null!==(n=e["disable-scopecss"])&&void 0!==n?n:e.disableScopecss)&&void 0!==r?r:Ji.options["disable-scopecss"]),useSandbox:!(null!==(o=null!==(a=e["disable-sandbox"])&&void 0!==a?a:e.disableSandbox)&&void 0!==o?o:Ji.options["disable-sandbox"]),inline:null!==(s=e.inline)&&void 0!==s?s:Ji.options.inline,esmodule:null!==(i=e.esmodule)&&void 0!==i?i:Ji.options.esmodule,prefetchLevel:e.level&&Vo.includes(e.level)?e.level:Ji.options.prefetchLevel&&Vo.includes(Ji.options.prefetchLevel)?Ji.options.prefetchLevel:2}),c=l.onLoad,u=l.onLoadError;l.onLoad=n=>{t(),c.call(l,n,e["default-page"],e["disable-patch-request"])},l.onLoadError=(...e)=>{t(),u.call(l,...e)}}else t();else t()}));var e}))),Promise.resolve())}(e)}),Va(n)?n:3e3)}))}function Gi(e,t,n){if(Ta(e)){const r=e.filter((e=>Ha(e)&&e.includes(`.${t}`)&&!n.hasInfo(e)));lo(r.map((e=>Go(e))),(e=>{const a=r[e.index];"js"===t?n.hasInfo(a)||n.setInfo(a,{code:e.data,isExternal:!1,appSpace:{}}):n.hasInfo(a)||n.setInfo(a,{code:e.data,appSpace:{}})}),(e=>{Ja(e)}))}}function qi({excludeHiddenApp:e=!1,excludePreRender:t=!1}={}){const n=[];return Hi.forEach(((r,a)=>{Do.UNMOUNT===r.getAppState()||r.isPrefetch&&(!r.isPrerender||t)||e&&$o.KEEP_ALIVE_HIDDEN===r.getKeepAliveState()||n.push(a)})),n}function Ki(){return Array.from(Hi.keys())}function Yi(e,t){const n=Hi.get(oo(e));return new Promise((r=>{if(n)if(n.getAppState()===Do.UNMOUNT||n.isPrefetch)(null==t?void 0:t.destroy)&&n.actionsForCompletelyDestroy(),r(!0);else if(n.getKeepAliveState()===$o.KEEP_ALIVE_HIDDEN)(null==t?void 0:t.destroy)?n.unmount({destroy:!0,clearData:!0,keepRouteState:!0,unmountcb:r.bind(null,!0)}):(null==t?void 0:t.clearAliveState)?n.unmount({destroy:!1,clearData:!!t.clearData,keepRouteState:!0,unmountcb:r.bind(null,!0)}):r(!0);else{const e=wo(n.container),a=()=>{e.removeEventListener(xo.UNMOUNT,a),e.removeEventListener(xo.AFTERHIDDEN,o),r(!0)},o=()=>{e.removeEventListener(xo.UNMOUNT,a),e.removeEventListener(xo.AFTERHIDDEN,o),r(!0)};if(e.addEventListener(xo.UNMOUNT,a),e.addEventListener(xo.AFTERHIDDEN,o),null==t?void 0:t.destroy){let t,n;e.hasAttribute("destroy")&&(t=e.getAttribute("destroy")),e.hasAttribute("destory")&&(n=e.getAttribute("destory")),e.setAttribute("destroy","true"),e.parentNode.removeChild(e),e.removeAttribute("destroy"),Ha(t)&&e.setAttribute("destroy",t),Ha(n)&&e.setAttribute("destory",n)}else if((null==t?void 0:t.clearAliveState)&&e.hasAttribute("keep-alive")){const n=e.getAttribute("keep-alive");let r;e.removeAttribute("keep-alive"),t.clearData&&(r=e.getAttribute("clear-data"),e.setAttribute("clear-data","true")),e.parentNode.removeChild(e),e.setAttribute("keep-alive",n),Ha(r)&&e.setAttribute("clear-data",r)}else{let n;(null==t?void 0:t.clearData)&&(n=e.getAttribute("clear-data"),e.setAttribute("clear-data","true")),e.parentNode.removeChild(e),Ha(n)&&e.setAttribute("clear-data",n)}}else eo(`app ${e} does not exist`),r(!1)}))}function Qi(e){return Array.from(Hi.keys()).reduce(((t,n)=>t.then((()=>Yi(n,e)))),Promise.resolve(!0))}function Zi(e,t){return new Promise((n=>{const r=Hi.get(oo(e));if(r){const a=r.container&&wo(r.container);a?n(a.reload(t)):(eo(`app ${e} is not rendered, cannot use reload`),n(!1))}else eo(`app ${e} does not exist`),n(!1)}))}function Xi(e){return new Promise((t=>{if(!Ga(e))return Ja("renderApp options must be an object");const n=Za(e.container)?e.container:Ha(e.container)?document.querySelector(e.container):null;if(!Za(n))return Ja("Target container is not a DOM element.");const r=vo(Ji.tagName);for(const i in e)if("onDataChange"===i)za(e[i])&&r.addEventListener("datachange",e[i]);else if("lifeCycles"===i){const t=e[i];if(Ga(t))for(const e in t)e.toUpperCase()in xo&&za(t[e])&&r.addEventListener(e.toLowerCase(),t[e])}else"container"!==i&&r.setAttribute(i,e[i]);const a=()=>{s(),t(!0)},o=()=>{s(),t(!1)},s=()=>{r.removeEventListener(xo.MOUNTED,a),r.removeEventListener(xo.ERROR,o)};r.addEventListener(xo.MOUNTED,a),r.addEventListener(xo.ERROR,o),n.appendChild(r)}))}const Ji=new class extends Bs{constructor(){super(...arguments),this.tagName="micro-app",this.options={},this.router=Ai,this.preFetch=zi,this.unmountApp=Yi,this.unmountAllApps=Qi,this.getActiveApps=qi,this.getAllApps=Ki,this.reload=Zi,this.renderApp=Xi}start(e){var t,n,r;if(!Oa||!window.customElements)return Ja("micro-app is not supported in this environment");if(null==e?void 0:e.tagName){if(!/^micro-app(-\S+)?/.test(e.tagName))return Ja(`${e.tagName} is invalid tagName`);this.tagName=e.tagName}if(window.customElements.get(this.tagName))return eo(`element ${this.tagName} is already defined`);if(As(),Ga(e)&&(this.options=e,e["disable-scopecss"]=null!==(t=e["disable-scopecss"])&&void 0!==t?t:e.disableScopecss,e["disable-sandbox"]=null!==(n=e["disable-sandbox"])&&void 0!==n?n:e.disableSandbox,e.preFetchApps&&zi(e.preFetchApps),e.globalAssets&&(Ga(r=e.globalAssets)&&co((()=>{Gi(r.js,"js",os.script),Gi(r.css,"css",os.link)}))),Ga(e.plugins))){const t=e.plugins.modules;if(Ga(t))for(const e in t){const n=oo(e);n&&e!==n&&(t[n]=t[e],delete t[e])}}Vi(this.tagName)}},el={},tl=function(e,t){return t&&0!==t.length?Promise.all(t.map((e=>{if((e=`/${e}`)in el)return;el[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),t?new Promise(((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${e}`))))})):void 0}))).then((()=>e())):e()};var nl={exports:{}},rl=nl.exports=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function s(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,p=r.easing;return o.offsetWidth,i((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,s(e,u,p)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,s=t.querySelector(r.barSelector),i=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(s,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&h(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){p(document.documentElement,"nprogress-busy"),p(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function p(e,t){var n,r=d(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n}(); /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */const al=S({name:"IconQuestion",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-question`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),ol=["stroke-width","stroke-linecap","stroke-linejoin"],sl=[T("path",{d:"M13 17c0-5.523 4.925-10 11-10s11 4.477 11 10c0 3.607-2.1 6.767-5.25 8.526C26.857 27.142 24 29.686 24 33v3m0 5h.02v.02H24V41Z"},null,-1)];var il=O(al,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},sl,14,ol)}]]);const ll=Object.assign(il,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+il.name,il)}}),cl=S({name:"IconCodeSquare",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-code-square`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),ul=["stroke-width","stroke-linecap","stroke-linejoin"],pl=[T("path",{d:"M23.071 17 16 24.071l7.071 7.071m9.001-14.624-4.14 15.454M9 42h30a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1Z"},null,-1)];var dl=O(cl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},pl,14,ul)}]]);const hl=Object.assign(dl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+dl.name,dl)}}),fl=S({name:"IconCode",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-code`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),ml=["stroke-width","stroke-linecap","stroke-linejoin"],gl=[T("path",{d:"M16.734 12.686 5.42 24l11.314 11.314m14.521-22.628L42.57 24 31.255 35.314M27.2 6.28l-6.251 35.453"},null,-1)];var vl=O(fl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},gl,14,ml)}]]);const bl=Object.assign(vl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+vl.name,vl)}}),_l=S({name:"IconApps",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-apps`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),yl=["stroke-width","stroke-linecap","stroke-linejoin"],wl=[T("path",{d:"M7 7h13v13H7zM28 7h13v13H28zM7 28h13v13H7zM28 28h13v13H28z"},null,-1)];var El=O(_l,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},wl,14,yl)}]]);const Al=Object.assign(El,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+El.name,El)}}),Sl=S({name:"IconBug",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-bug`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),kl=["stroke-width","stroke-linecap","stroke-linejoin"],Pl=[T("path",{d:"M24 42c-6.075 0-11-4.925-11-11V18h22v13c0 6.075-4.925 11-11 11Zm0 0V23m11 4h8M5 27h8M7 14a4 4 0 0 0 4 4h26a4 4 0 0 0 4-4m0 28v-.5a6.5 6.5 0 0 0-6.5-6.5M7 42v-.5a6.5 6.5 0 0 1 6.5-6.5M17 14a7 7 0 1 1 14 0"},null,-1)];var Rl=O(Sl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},Pl,14,kl)}]]);const Ll=Object.assign(Rl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Rl.name,Rl)}}),Nl=S({name:"IconCommand",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-command`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),Cl=["stroke-width","stroke-linecap","stroke-linejoin"],Ol=[T("path",{d:"M29 19v-6a6 6 0 1 1 6 6h-6Zm0 0v10m0-10H19m10 10v6a6 6 0 1 0 6-6h-6Zm0 0H19m0-10v10m0-10v-6a6 6 0 1 0-6 6h6Zm0 10v6a6 6 0 1 1-6-6h6Z"},null,-1)];var Ml=O(Nl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},Ol,14,Cl)}]]);const Il=Object.assign(Ml,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Ml.name,Ml)}}),Dl=S({name:"IconStorage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-storage`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),Tl=["stroke-width","stroke-linecap","stroke-linejoin"],xl=[T("path",{d:"M7 18h34v12H7V18ZM40 6H8a1 1 0 0 0-1 1v11h34V7a1 1 0 0 0-1-1ZM7 30h34v11a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V30Z"},null,-1),T("path",{d:"M13.02 36H13v.02h.02V36Z"},null,-1),T("path",{d:"M13 12v-2h-2v2h2Zm.02 0h2v-2h-2v2Zm0 .02v2h2v-2h-2Zm-.02 0h-2v2h2v-2ZM13 14h.02v-4H13v4Zm-1.98-2v.02h4V12h-4Zm2-1.98H13v4h.02v-4Zm1.98 2V12h-4v.02h4Z",fill:"currentColor",stroke:"none"},null,-1),T("path",{d:"M13.02 24H13v.02h.02V24Z"},null,-1)];var Wl=O(Dl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},xl,14,Tl)}]]);const Fl=Object.assign(Wl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Wl.name,Wl)}}),Ul=S({name:"IconTool",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-tool`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),$l=["stroke-width","stroke-linecap","stroke-linejoin"],jl=[T("path",{d:"M19.994 11.035c3.66-3.659 9.094-4.46 13.531-2.405a.1.1 0 0 1 .028.16l-6.488 6.488a1 1 0 0 0 0 1.414l4.243 4.243a1 1 0 0 0 1.414 0l6.488-6.488a.1.1 0 0 1 .16.028c2.056 4.437 1.254 9.872-2.405 13.53-3.695 3.696-9.2 4.477-13.66 2.347L12.923 40.733a1 1 0 0 1-1.414 0L7.266 36.49a1 1 0 0 1 0-1.414l10.382-10.382c-2.13-4.46-1.349-9.965 2.346-13.66Z"},null,-1)];var Hl=O(Ul,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},jl,14,$l)}]]);const Bl=Object.assign(Hl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Hl.name,Hl)}});rl.configure({showSpinner:!1,easing:"ease",speed:1e3,minimum:.2,trickle:!1,trickleSpeed:800});const Vl=[{path:"/dashboard",name:"dashboard",meta:{icon:Il,keepAlive:!0},component:()=>tl((()=>import("./dashboard.55c05c67.js")),["assets/dashboard.55c05c67.js","assets/dashboard.8b7e85fb.css","assets/index.3a7f15df.css","assets/index.2582c0f1.css","assets/index.300258b7.css","assets/typed.8fe96a35.js","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])},{path:"/developer/:page*",name:"developer",meta:{icon:Bl,keepAlive:!0},component:()=>tl((()=>import("./developer.f63b9a2d.js")),["assets/developer.f63b9a2d.js","assets/acro-design.370f9722.js"])},{path:"/chat/:page*",name:"chat",meta:{icon:bl,keepAlive:!0},component:()=>tl((()=>import("./chat.3deef0d0.js")),["assets/chat.3deef0d0.js","assets/acro-design.370f9722.js"])},{path:"/playground",name:"playground",meta:{icon:hl,keepAlive:!0},component:()=>tl((()=>import("./playground.528bba34.js")),["assets/playground.528bba34.js","assets/playground.d11cc749.css","assets/index.3a7f15df.css","assets/vue-repl.bd87f200.js","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])},{path:"/player",name:"player",meta:{icon:Fl,keepAlive:!0},component:()=>tl((()=>import("./player.42a3c329.js")),["assets/player.42a3c329.js","assets/player.bac655ff.css","assets/index.3a7f15df.css","assets/index.0c85280a.css","assets/index.300258b7.css","assets/index.993ba193.css","assets/index.2582c0f1.css","assets/videojs-player-vue.6f00fb8d.js","assets/videoJs.931a04ef.js","assets/lodash.6aaafcb4.js","assets/lowdb.c138e033.js","assets/acro-design.370f9722.js"])},{path:"/demo",name:"demo",meta:{icon:Ll,keepAlive:!0},component:()=>tl((()=>import("./demo.cc0e684a.js")),["assets/demo.cc0e684a.js","assets/demo.116630c2.css","assets/index.3a7f15df.css","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])},{path:"/upload",name:"upload",meta:{icon:x,keepAlive:!0},component:()=>tl((()=>import("./upload.141c0fe7.js")),["assets/upload.141c0fe7.js","assets/upload.ec1e3e9c.css","assets/index.3a7f15df.css","assets/index.0c85280a.css","assets/index.300258b7.css","assets/index.993ba193.css","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])}],zl=[{path:"/",name:"layout",component:()=>tl((()=>import("./index.64915100.js")),["assets/index.64915100.js","assets/index.ae9c661b.css","assets/index.300258b7.css","assets/index.993ba193.css","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"]),meta:{icon:Al},redirect:"/dashboard/",children:[...Vl]},{path:"/:pathMatch(.*)*",name:"notFound",meta:{icon:ll},component:()=>tl((()=>import("./index.aee1716a.js")),["assets/index.aee1716a.js","assets/acro-design.370f9722.js"])}],Gl=function(e){const t=$r(e.routes,e),n=e.parseQuery||ua,r=e.stringifyQuery||pa,a=e.history,o=ha(),i=ha(),l=ha(),c=v(Rr);let u=Rr;tr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rr.bind(null,(e=>""+e)),f=rr.bind(null,la),m=rr.bind(null,ca);function g(e,o){if(o=nr({},o||c.value),"string"==typeof e){const r=sr(n,e,o.path),s=t.resolve({path:r.path},o),i=a.createHref(r.fullPath);return nr(r,s,{params:m(s.params),hash:ca(r.hash),redirectedFrom:void 0,href:i})}let s;if("path"in e)s=nr({},e,{path:sr(n,e.path,o.path).path});else{const t=nr({},e.params);for(const e in t)null==t[e]&&delete t[e];s=nr({},e,{params:f(e.params)}),o.params=f(o.params)}const i=t.resolve(s,o),l=e.hash||"";i.params=d(m(i.params));const u=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,nr({},e,{hash:(p=l,sa(p).replace(na,"{").replace(aa,"}").replace(ea,"^")),path:i.path}));var p;const h=a.createHref(u);return nr({fullPath:u,hash:l,query:r===pa?da(e.query):e.query||{}},i,{redirectedFrom:void 0,href:h})}function b(e){return"string"==typeof e?sr(n,e,c.value.path):nr({},e)}function _(e,t){if(u!==e)return Or(8,{from:t,to:e})}function y(e){return A(e)}function E(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=b(r):{path:r},r.params={}),nr({query:e.query,hash:e.hash,params:e.params},r)}}function A(e,t){const n=u=g(e),a=c.value,o=e.state,s=e.force,i=!0===e.replace,l=E(n);if(l)return A(nr(b(l),{state:o,force:s,replace:i}),t||n);const p=n;let d;return p.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&lr(t.matched[r],n.matched[a])&&cr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,a,n)&&(d=Or(16,{to:p,from:a}),T(a,a,!0,!1)),(d?Promise.resolve(d):k(p,a)).catch((e=>Mr(e)?Mr(e,2)?e:D(e):I(e,p,a))).then((e=>{if(e){if(Mr(e,2))return A(nr(b(e.to),{state:o,force:s,replace:i}),t||p)}else e=R(p,a,!0,i,o);return P(p,a,e),e}))}function S(e,t){const n=_(e,t);return n?Promise.reject(n):Promise.resolve()}function k(e,t){let n;const[r,a,s]=function(e,t){const n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;slr(e,o)))?r.push(o):n.push(o));const i=e.matched[s];i&&(t.matched.find((e=>lr(e,i)))||a.push(i))}return[n,r,a]}(e,t);n=ga(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(ma(r,e,t))}));const l=S.bind(null,e,t);return n.push(l),Aa(n).then((()=>{n=[];for(const r of o.list())n.push(ma(r,e,t));return n.push(l),Aa(n)})).then((()=>{n=ga(a,"beforeRouteUpdate",e,t);for(const r of a)r.updateGuards.forEach((r=>{n.push(ma(r,e,t))}));return n.push(l),Aa(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(Array.isArray(r.beforeEnter))for(const a of r.beforeEnter)n.push(ma(a,e,t));else n.push(ma(r.beforeEnter,e,t));return n.push(l),Aa(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=ga(s,"beforeRouteEnter",e,t),n.push(l),Aa(n)))).then((()=>{n=[];for(const r of i.list())n.push(ma(r,e,t));return n.push(l),Aa(n)})).catch((e=>Mr(e,8)?e:Promise.reject(e)))}function P(e,t,n){for(const r of l.list())r(e,t,n)}function R(e,t,n,r,o){const s=_(e,t);if(s)return s;const i=t===Rr,l=tr?history.state:{};n&&(r||i?a.replace(e.fullPath,nr({scroll:i&&l&&l.scroll},o)):a.push(e.fullPath,o)),c.value=e,T(e,t,n,i),D()}let L;function N(){L=a.listen(((e,t,n)=>{const r=g(e),o=E(r);if(o)return void A(nr(o,{replace:!0}),r).catch(ar);u=r;const s=c.value;var i,l;tr&&(i=wr(s.fullPath,n.delta),l=_r(),Er.set(i,l)),k(r,s).catch((e=>Mr(e,12)?e:Mr(e,2)?(A(e.to,r).then((e=>{Mr(e,20)&&!n.delta&&n.type===dr.pop&&a.go(-1,!1)})).catch(ar),Promise.reject()):(n.delta&&a.go(-n.delta,!1),I(e,r,s)))).then((e=>{(e=e||R(r,s,!1))&&(n.delta?a.go(-n.delta,!1):n.type===dr.pop&&Mr(e,20)&&a.go(-1,!1)),P(r,s,e)})).catch(ar)}))}let C,O=ha(),M=ha();function I(e,t,n){D(e);const r=M.list();return r.length&&r.forEach((r=>r(e,t,n))),Promise.reject(e)}function D(e){return C||(C=!e,N(),O.list().forEach((([t,n])=>e?n(e):t())),O.reset()),e}function T(t,n,r,a){const{scrollBehavior:o}=e;if(!tr||!o)return Promise.resolve();const s=!r&&function(e){const t=Er.get(e);return Er.delete(e),t}(wr(t.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return p().then((()=>o(t,n,s))).then((e=>e&&yr(e))).catch((e=>I(e,t,n)))}const x=e=>a.go(e);let W;const F=new Set;return{currentRoute:c,addRoute:function(e,n){let r,a;return Pr(e)?(r=t.getRecordMatcher(e),a=n):a=e,t.addRoute(a,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:g,options:e,push:y,replace:function(e){return y(nr(b(e),{replace:!0}))},go:x,back:()=>x(-1),forward:()=>x(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:M.add,isReady:function(){return C&&c.value!==Rr?Promise.resolve():new Promise(((e,t)=>{O.add([e,t])}))},install(e){e.component("RouterLink",ba),e.component("RouterView",Ea),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>w(c)}),tr&&!W&&c.value===Rr&&(W=!0,y(a.location).catch((e=>{})));const t={};for(const r in Rr)t[r]=h((()=>c.value[r]));e.provide(Xn,this),e.provide(Jn,s(t)),e.provide(er,c);const n=e.unmount;F.add(e),e.unmount=function(){F.delete(e),F.size<1&&(u=Rr,L&&L(),c.value=Rr,W=!1,C=!1),n()}}}}({history:function(e){const t=kr(e=gr(e)),n=function(e,t,n,r){let a=[],o=[],s=null;const i=({state:o})=>{const i=Ar(e,location),l=n.value,c=t.value;let u=0;if(o){if(n.value=i,t.value=o,s&&s===l)return void(s=null);u=c?o.position-c.position:0}else r(i);a.forEach((e=>{e(n.value,l,{delta:u,type:dr.pop,direction:u?u>0?fr.forward:fr.back:fr.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(nr({},e.state,{scroll:_r()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",l),{pauseListeners:function(){s=n.value},listen:function(e){a.push(e);const t=()=>{const t=a.indexOf(e);t>-1&&a.splice(t,1)};return o.push(t),t},destroy:function(){for(const e of o)e();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace),r=nr({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:br.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}("/base/"),routes:zl});Gl.beforeEach((async(e,t,n)=>{rl.isStarted()||rl.start(),n()})),Gl.afterEach((e=>{rl.done()}));const ql=function(){const r=e(!0),a=r.run((()=>t({})));let o=[],s=[];const i=n({install(e){q(i),i._a=e,e.provide(K,i),e.config.globalProperties.$pinia=i,s.forEach((e=>o.push(e))),s=[]},use(e){return this._a?o.push(e):s.push(e),this},_p:o,_a:null,_e:r,_s:new Map,state:a});return i}();Ji.start({"disable-memory-router":!0,"disable-patch-request":!0,inline:!1,destroy:!1,shadowDOM:!1,ssr:!1,"disable-scopecss":!1,"disable-sandbox":!1,"keep-alive":!0,"keep-router-state":!0,lifeCycles:{created(){},beforemount(){},mounted(){},unmount(){},error(){},aftershow(){},afterhidden(){},beforeshow(){}},plugins:{modules:{chat:[{loader:e=>e}],developer:[{loader:e=>e}]}},fetch(e,t,n){if("http://localhost:3001/error.js"===e)return Promise.resolve("");let r=null;return"http://localhost:3001/base/react16/"===e&&(r={headers:{"custom-head":"custom-head"}}),fetch(e,Object.assign(t,r)).then((e=>e.text()))}}),window.eventCenterForMicroVue=new Vs("chat"),Ji.addDataListener("chat",(function(e){const{callback:t}=e;t()}),!1),window.eventCenterForMicroReact=new Vs("developer"),Ji.addDataListener("developer",(function(e){const{callback:t}=e;t&&t()}),!1);const Kl=W(Ca);Kl.use(ql),Kl.use(Gl),Kl.use(jn),Kl.mount("#app");export{Fl as I,V as L,z as S,B as T,Sa as a,ka as b,Vl as f,jn as i,fa as o,Na as u}; + * @license MIT */const al=S({name:"IconQuestion",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-question`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),ol=["stroke-width","stroke-linecap","stroke-linejoin"],sl=[T("path",{d:"M13 17c0-5.523 4.925-10 11-10s11 4.477 11 10c0 3.607-2.1 6.767-5.25 8.526C26.857 27.142 24 29.686 24 33v3m0 5h.02v.02H24V41Z"},null,-1)];var il=O(al,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},sl,14,ol)}]]);const ll=Object.assign(il,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+il.name,il)}}),cl=S({name:"IconCodeSquare",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-code-square`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),ul=["stroke-width","stroke-linecap","stroke-linejoin"],pl=[T("path",{d:"M23.071 17 16 24.071l7.071 7.071m9.001-14.624-4.14 15.454M9 42h30a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1Z"},null,-1)];var dl=O(cl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},pl,14,ul)}]]);const hl=Object.assign(dl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+dl.name,dl)}}),fl=S({name:"IconCode",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-code`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),ml=["stroke-width","stroke-linecap","stroke-linejoin"],gl=[T("path",{d:"M16.734 12.686 5.42 24l11.314 11.314m14.521-22.628L42.57 24 31.255 35.314M27.2 6.28l-6.251 35.453"},null,-1)];var vl=O(fl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},gl,14,ml)}]]);const bl=Object.assign(vl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+vl.name,vl)}}),_l=S({name:"IconApps",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-apps`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),yl=["stroke-width","stroke-linecap","stroke-linejoin"],wl=[T("path",{d:"M7 7h13v13H7zM28 7h13v13H28zM7 28h13v13H7zM28 28h13v13H28z"},null,-1)];var El=O(_l,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},wl,14,yl)}]]);const Al=Object.assign(El,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+El.name,El)}}),Sl=S({name:"IconBug",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-bug`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),kl=["stroke-width","stroke-linecap","stroke-linejoin"],Pl=[T("path",{d:"M24 42c-6.075 0-11-4.925-11-11V18h22v13c0 6.075-4.925 11-11 11Zm0 0V23m11 4h8M5 27h8M7 14a4 4 0 0 0 4 4h26a4 4 0 0 0 4-4m0 28v-.5a6.5 6.5 0 0 0-6.5-6.5M7 42v-.5a6.5 6.5 0 0 1 6.5-6.5M17 14a7 7 0 1 1 14 0"},null,-1)];var Rl=O(Sl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},Pl,14,kl)}]]);const Ll=Object.assign(Rl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Rl.name,Rl)}}),Nl=S({name:"IconCommand",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-command`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),Cl=["stroke-width","stroke-linecap","stroke-linejoin"],Ol=[T("path",{d:"M29 19v-6a6 6 0 1 1 6 6h-6Zm0 0v10m0-10H19m10 10v6a6 6 0 1 0 6-6h-6Zm0 0H19m0-10v10m0-10v-6a6 6 0 1 0-6 6h6Zm0 10v6a6 6 0 1 1-6-6h6Z"},null,-1)];var Ml=O(Nl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},Ol,14,Cl)}]]);const Il=Object.assign(Ml,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Ml.name,Ml)}}),Dl=S({name:"IconStorage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-storage`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),Tl=["stroke-width","stroke-linecap","stroke-linejoin"],xl=[T("path",{d:"M7 18h34v12H7V18ZM40 6H8a1 1 0 0 0-1 1v11h34V7a1 1 0 0 0-1-1ZM7 30h34v11a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V30Z"},null,-1),T("path",{d:"M13.02 36H13v.02h.02V36Z"},null,-1),T("path",{d:"M13 12v-2h-2v2h2Zm.02 0h2v-2h-2v2Zm0 .02v2h2v-2h-2Zm-.02 0h-2v2h2v-2ZM13 14h.02v-4H13v4Zm-1.98-2v.02h4V12h-4Zm2-1.98H13v4h.02v-4Zm1.98 2V12h-4v.02h4Z",fill:"currentColor",stroke:"none"},null,-1),T("path",{d:"M13.02 24H13v.02h.02V24Z"},null,-1)];var Wl=O(Dl,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},xl,14,Tl)}]]);const Fl=Object.assign(Wl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Wl.name,Wl)}}),Ul=S({name:"IconTool",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=N("icon");return{cls:h((()=>[t,`${t}-tool`,{[`${t}-spin`]:e.spin}])),sizeStyle:h((()=>{if(e.size)return{fontSize:C(e.size)?`${e.size}px`:e.size}}))}}}),$l=["stroke-width","stroke-linecap","stroke-linejoin"],jl=[T("path",{d:"M19.994 11.035c3.66-3.659 9.094-4.46 13.531-2.405a.1.1 0 0 1 .028.16l-6.488 6.488a1 1 0 0 0 0 1.414l4.243 4.243a1 1 0 0 0 1.414 0l6.488-6.488a.1.1 0 0 1 .16.028c2.056 4.437 1.254 9.872-2.405 13.53-3.695 3.696-9.2 4.477-13.66 2.347L12.923 40.733a1 1 0 0 1-1.414 0L7.266 36.49a1 1 0 0 1 0-1.414l10.382-10.382c-2.13-4.46-1.349-9.965 2.346-13.66Z"},null,-1)];var Hl=O(Ul,[["render",function(e,t,n,r,a,o){return R(),M("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:I(e.cls),style:D(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},jl,14,$l)}]]);const Bl=Object.assign(Hl,{install:(e,t)=>{var n;const r=null!=(n=null==t?void 0:t.iconPrefix)?n:"";e.component(r+Hl.name,Hl)}});rl.configure({showSpinner:!1,easing:"ease",speed:1e3,minimum:.2,trickle:!1,trickleSpeed:800});const Vl=[{path:"/dashboard",name:"dashboard",meta:{icon:Il,keepAlive:!0},component:()=>tl((()=>import("./dashboard.e4df7e81.js")),["assets/dashboard.e4df7e81.js","assets/dashboard.8b7e85fb.css","assets/index.3a7f15df.css","assets/index.2582c0f1.css","assets/index.300258b7.css","assets/typed.8fe96a35.js","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])},{path:"/developer/:page*",name:"developer",meta:{icon:Bl,keepAlive:!0},component:()=>tl((()=>import("./developer.f63b9a2d.js")),["assets/developer.f63b9a2d.js","assets/acro-design.370f9722.js"])},{path:"/chat/:page*",name:"chat",meta:{icon:bl,keepAlive:!0},component:()=>tl((()=>import("./chat.3deef0d0.js")),["assets/chat.3deef0d0.js","assets/acro-design.370f9722.js"])},{path:"/playground",name:"playground",meta:{icon:hl,keepAlive:!0},component:()=>tl((()=>import("./playground.0c8096f3.js")),["assets/playground.0c8096f3.js","assets/playground.d11cc749.css","assets/index.3a7f15df.css","assets/vue-repl.bd87f200.js","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])},{path:"/player",name:"player",meta:{icon:Fl,keepAlive:!0},component:()=>tl((()=>import("./player.69a768ee.js")),["assets/player.69a768ee.js","assets/player.bac655ff.css","assets/index.3a7f15df.css","assets/index.0c85280a.css","assets/index.300258b7.css","assets/index.993ba193.css","assets/index.2582c0f1.css","assets/videojs-player-vue.6f00fb8d.js","assets/videoJs.931a04ef.js","assets/lodash.6aaafcb4.js","assets/lowdb.c138e033.js","assets/acro-design.370f9722.js"])},{path:"/demo",name:"demo",meta:{icon:Ll,keepAlive:!0},component:()=>tl((()=>import("./demo.a8c7eecb.js")),["assets/demo.a8c7eecb.js","assets/demo.116630c2.css","assets/index.3a7f15df.css","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])},{path:"/upload",name:"upload",meta:{icon:x,keepAlive:!0},component:()=>tl((()=>import("./upload.ad55d28a.js")),["assets/upload.ad55d28a.js","assets/upload.ec1e3e9c.css","assets/index.3a7f15df.css","assets/index.0c85280a.css","assets/index.300258b7.css","assets/index.993ba193.css","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"])}],zl=[{path:"/",name:"layout",component:()=>tl((()=>import("./index.ef34385e.js")),["assets/index.ef34385e.js","assets/index.ae9c661b.css","assets/index.300258b7.css","assets/index.993ba193.css","assets/acro-design.370f9722.js","assets/lowdb.c138e033.js","assets/lodash.6aaafcb4.js"]),meta:{icon:Al},redirect:"/dashboard/",children:[...Vl]},{path:"/:pathMatch(.*)*",name:"notFound",meta:{icon:ll},component:()=>tl((()=>import("./index.aee1716a.js")),["assets/index.aee1716a.js","assets/acro-design.370f9722.js"])}],Gl=function(e){const t=$r(e.routes,e),n=e.parseQuery||ua,r=e.stringifyQuery||pa,a=e.history,o=ha(),i=ha(),l=ha(),c=v(Rr);let u=Rr;tr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rr.bind(null,(e=>""+e)),f=rr.bind(null,la),m=rr.bind(null,ca);function g(e,o){if(o=nr({},o||c.value),"string"==typeof e){const r=sr(n,e,o.path),s=t.resolve({path:r.path},o),i=a.createHref(r.fullPath);return nr(r,s,{params:m(s.params),hash:ca(r.hash),redirectedFrom:void 0,href:i})}let s;if("path"in e)s=nr({},e,{path:sr(n,e.path,o.path).path});else{const t=nr({},e.params);for(const e in t)null==t[e]&&delete t[e];s=nr({},e,{params:f(e.params)}),o.params=f(o.params)}const i=t.resolve(s,o),l=e.hash||"";i.params=d(m(i.params));const u=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,nr({},e,{hash:(p=l,sa(p).replace(na,"{").replace(aa,"}").replace(ea,"^")),path:i.path}));var p;const h=a.createHref(u);return nr({fullPath:u,hash:l,query:r===pa?da(e.query):e.query||{}},i,{redirectedFrom:void 0,href:h})}function b(e){return"string"==typeof e?sr(n,e,c.value.path):nr({},e)}function _(e,t){if(u!==e)return Or(8,{from:t,to:e})}function y(e){return A(e)}function E(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=b(r):{path:r},r.params={}),nr({query:e.query,hash:e.hash,params:e.params},r)}}function A(e,t){const n=u=g(e),a=c.value,o=e.state,s=e.force,i=!0===e.replace,l=E(n);if(l)return A(nr(b(l),{state:o,force:s,replace:i}),t||n);const p=n;let d;return p.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&lr(t.matched[r],n.matched[a])&&cr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,a,n)&&(d=Or(16,{to:p,from:a}),T(a,a,!0,!1)),(d?Promise.resolve(d):k(p,a)).catch((e=>Mr(e)?Mr(e,2)?e:D(e):I(e,p,a))).then((e=>{if(e){if(Mr(e,2))return A(nr(b(e.to),{state:o,force:s,replace:i}),t||p)}else e=R(p,a,!0,i,o);return P(p,a,e),e}))}function S(e,t){const n=_(e,t);return n?Promise.reject(n):Promise.resolve()}function k(e,t){let n;const[r,a,s]=function(e,t){const n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;slr(e,o)))?r.push(o):n.push(o));const i=e.matched[s];i&&(t.matched.find((e=>lr(e,i)))||a.push(i))}return[n,r,a]}(e,t);n=ga(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(ma(r,e,t))}));const l=S.bind(null,e,t);return n.push(l),Aa(n).then((()=>{n=[];for(const r of o.list())n.push(ma(r,e,t));return n.push(l),Aa(n)})).then((()=>{n=ga(a,"beforeRouteUpdate",e,t);for(const r of a)r.updateGuards.forEach((r=>{n.push(ma(r,e,t))}));return n.push(l),Aa(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(Array.isArray(r.beforeEnter))for(const a of r.beforeEnter)n.push(ma(a,e,t));else n.push(ma(r.beforeEnter,e,t));return n.push(l),Aa(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=ga(s,"beforeRouteEnter",e,t),n.push(l),Aa(n)))).then((()=>{n=[];for(const r of i.list())n.push(ma(r,e,t));return n.push(l),Aa(n)})).catch((e=>Mr(e,8)?e:Promise.reject(e)))}function P(e,t,n){for(const r of l.list())r(e,t,n)}function R(e,t,n,r,o){const s=_(e,t);if(s)return s;const i=t===Rr,l=tr?history.state:{};n&&(r||i?a.replace(e.fullPath,nr({scroll:i&&l&&l.scroll},o)):a.push(e.fullPath,o)),c.value=e,T(e,t,n,i),D()}let L;function N(){L=a.listen(((e,t,n)=>{const r=g(e),o=E(r);if(o)return void A(nr(o,{replace:!0}),r).catch(ar);u=r;const s=c.value;var i,l;tr&&(i=wr(s.fullPath,n.delta),l=_r(),Er.set(i,l)),k(r,s).catch((e=>Mr(e,12)?e:Mr(e,2)?(A(e.to,r).then((e=>{Mr(e,20)&&!n.delta&&n.type===dr.pop&&a.go(-1,!1)})).catch(ar),Promise.reject()):(n.delta&&a.go(-n.delta,!1),I(e,r,s)))).then((e=>{(e=e||R(r,s,!1))&&(n.delta?a.go(-n.delta,!1):n.type===dr.pop&&Mr(e,20)&&a.go(-1,!1)),P(r,s,e)})).catch(ar)}))}let C,O=ha(),M=ha();function I(e,t,n){D(e);const r=M.list();return r.length&&r.forEach((r=>r(e,t,n))),Promise.reject(e)}function D(e){return C||(C=!e,N(),O.list().forEach((([t,n])=>e?n(e):t())),O.reset()),e}function T(t,n,r,a){const{scrollBehavior:o}=e;if(!tr||!o)return Promise.resolve();const s=!r&&function(e){const t=Er.get(e);return Er.delete(e),t}(wr(t.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return p().then((()=>o(t,n,s))).then((e=>e&&yr(e))).catch((e=>I(e,t,n)))}const x=e=>a.go(e);let W;const F=new Set;return{currentRoute:c,addRoute:function(e,n){let r,a;return Pr(e)?(r=t.getRecordMatcher(e),a=n):a=e,t.addRoute(a,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:g,options:e,push:y,replace:function(e){return y(nr(b(e),{replace:!0}))},go:x,back:()=>x(-1),forward:()=>x(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:M.add,isReady:function(){return C&&c.value!==Rr?Promise.resolve():new Promise(((e,t)=>{O.add([e,t])}))},install(e){e.component("RouterLink",ba),e.component("RouterView",Ea),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>w(c)}),tr&&!W&&c.value===Rr&&(W=!0,y(a.location).catch((e=>{})));const t={};for(const r in Rr)t[r]=h((()=>c.value[r]));e.provide(Xn,this),e.provide(Jn,s(t)),e.provide(er,c);const n=e.unmount;F.add(e),e.unmount=function(){F.delete(e),F.size<1&&(u=Rr,L&&L(),c.value=Rr,W=!1,C=!1),n()}}}}({history:function(e){const t=kr(e=gr(e)),n=function(e,t,n,r){let a=[],o=[],s=null;const i=({state:o})=>{const i=Ar(e,location),l=n.value,c=t.value;let u=0;if(o){if(n.value=i,t.value=o,s&&s===l)return void(s=null);u=c?o.position-c.position:0}else r(i);a.forEach((e=>{e(n.value,l,{delta:u,type:dr.pop,direction:u?u>0?fr.forward:fr.back:fr.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(nr({},e.state,{scroll:_r()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",l),{pauseListeners:function(){s=n.value},listen:function(e){a.push(e);const t=()=>{const t=a.indexOf(e);t>-1&&a.splice(t,1)};return o.push(t),t},destroy:function(){for(const e of o)e();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace),r=nr({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:br.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}("/base/"),routes:zl});Gl.beforeEach((async(e,t,n)=>{rl.isStarted()||rl.start(),n()})),Gl.afterEach((e=>{rl.done()}));const ql=function(){const r=e(!0),a=r.run((()=>t({})));let o=[],s=[];const i=n({install(e){q(i),i._a=e,e.provide(K,i),e.config.globalProperties.$pinia=i,s.forEach((e=>o.push(e))),s=[]},use(e){return this._a?o.push(e):s.push(e),this},_p:o,_a:null,_e:r,_s:new Map,state:a});return i}();Ji.start({"disable-memory-router":!0,"disable-patch-request":!0,inline:!1,destroy:!1,shadowDOM:!1,ssr:!1,"disable-scopecss":!1,"disable-sandbox":!1,"keep-alive":!0,"keep-router-state":!0,lifeCycles:{created(){},beforemount(){},mounted(){},unmount(){},error(){},aftershow(){},afterhidden(){},beforeshow(){}},plugins:{modules:{chat:[{loader:e=>e}],developer:[{loader:e=>e}]}},fetch(e,t,n){if("http://localhost:3001/error.js"===e)return Promise.resolve("");let r=null;return"http://localhost:3001/base/react16/"===e&&(r={headers:{"custom-head":"custom-head"}}),fetch(e,Object.assign(t,r)).then((e=>e.text()))}}),window.eventCenterForMicroVue=new Vs("chat"),Ji.addDataListener("chat",(function(e){const{callback:t}=e;t()}),!1),window.eventCenterForMicroReact=new Vs("developer"),Ji.addDataListener("developer",(function(e){const{callback:t}=e;t&&t()}),!1);const Kl=W(Ca);Kl.use(ql),Kl.use(Gl),Kl.use(jn),Kl.mount("#app");export{Fl as I,V as L,z as S,B as T,Sa as a,ka as b,Vl as f,jn as i,fa as o,Na as u}; diff --git a/dist/assets/index.e8e9c4ba.js.gz b/dist/assets/index.d37669f8.js.gz similarity index 93% rename from dist/assets/index.e8e9c4ba.js.gz rename to dist/assets/index.d37669f8.js.gz index ff78fc3..f12af7b 100644 Binary files a/dist/assets/index.e8e9c4ba.js.gz and b/dist/assets/index.d37669f8.js.gz differ diff --git a/dist/assets/index.ef34385e.js b/dist/assets/index.ef34385e.js new file mode 100644 index 0000000..8a046d5 --- /dev/null +++ b/dist/assets/index.ef34385e.js @@ -0,0 +1 @@ +import{a,b as e,f as s,u as t}from"./index.d37669f8.js";/* empty css *//* empty css */import{d as l,e as o,f as n,at as u,o as i,q as d,b as c,c as r,m,au as p,a3 as f,k as _,u as k,F as b,av as v,Y as y,aw as j,a as x,s as h,ax as w,ay as C}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const g=l({setup(t){const l=a(),y=e();l.options;const j=o((()=>s||[])),x=n([y.name]),h=a=>{l.push({name:a})};return(a,e)=>{const s=v,t=u;return i(),d(t,{class:"base-layout-menu","selected-keys":x.value,"onUpdate:selected-keys":e[0]||(e[0]=a=>x.value=a),breakpoint:"xl",accordion:"","auto-open-selected":"",onMenuItemClick:h},{default:c((()=>[(i(!0),r(b,null,m(k(j),(e=>(i(),d(s,{key:e.name},{icon:c((()=>{var a;return[(i(),d(p(null==(a=null==e?void 0:e.meta)?void 0:a.icon)))]})),default:c((()=>[f(" "+_(a.$t(`menu.${String(e.name)}`)),1)])),_:2},1024)))),128))])),_:1},8,["selected-keys"])}}});const I=l({setup(a){const e=t();return(a,s)=>{const t=C,l=y("router-view"),o=j;return i(),d(o,{class:"micro-base-layout"},{default:c((()=>[x(t,{breakpoint:"lg",width:160,onCollapse:k(e).setCollapsed,collapsible:"",collapsed:k(e).collapsed},{default:c((()=>[x(g)])),_:1},8,["onCollapse","collapsed"]),x(o,{class:"micro-base-layout-view"},{default:c((()=>[x(l,null,{default:c((({Component:a,route:e})=>[e.meta.keepAlive?h("",!0):(i(),d(p(a),{key:e.fullPath,class:"animate__animated animate__fadeIn"})),(i(),d(w,null,[e.meta.keepAlive?(i(),d(p(a),{key:e.fullPath,class:"animate__animated animate__fadeIn"})):h("",!0)],1024))])),_:1})])),_:1})])),_:1})}}});export{I as default}; diff --git a/dist/assets/index.ef34385e.js.gz b/dist/assets/index.ef34385e.js.gz new file mode 100644 index 0000000..195497e Binary files /dev/null and b/dist/assets/index.ef34385e.js.gz differ diff --git a/dist/assets/player.42a3c329.js.gz b/dist/assets/player.42a3c329.js.gz deleted file mode 100644 index 3f59bf2..0000000 Binary files a/dist/assets/player.42a3c329.js.gz and /dev/null differ diff --git a/dist/assets/player.42a3c329.js b/dist/assets/player.69a768ee.js similarity index 99% rename from dist/assets/player.42a3c329.js rename to dist/assets/player.69a768ee.js index f66d0b0..d54b26c 100644 --- a/dist/assets/player.42a3c329.js +++ b/dist/assets/player.69a768ee.js @@ -1 +1 @@ -import{I as e,i as t}from"./index.e8e9c4ba.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{R as s}from"./videojs-player-vue.6f00fb8d.js";import{d as i,Z as n,e as a,_ as o,$ as r,o as l,c,l as u,n as p,g as d,r as m,ae as k,q as v,b as y,a3 as f,k as g,F as h,u as b,s as w,af as z,ag as x,f as j,ah as S,ai as N,aj as $,ak as C,a as L,al as M,am as P,a5 as B}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";import"./videoJs.931a04ef.js";const I=i({name:"IconInfoCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-info-circle`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),W=["stroke-width","stroke-linecap","stroke-linejoin"],V=[d("path",{d:"M24 20v14m0-16v-4m18 10c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1)];var O=r(I,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},V,14,W)}]]);const R=Object.assign(O,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+O.name,O)}}),_=i({name:"IconDownload",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-download`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),Z=["stroke-width","stroke-linecap","stroke-linejoin"],q=[d("path",{d:"m33.072 22.071-9.07 9.071-9.072-9.07M24 5v26m16 4v6H8v-6"},null,-1)];var F=r(_,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},q,14,Z)}]]);const D=Object.assign(F,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+F.name,F)}}),A=i({name:"IconMusic",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-music`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),E=["stroke-width","stroke-linecap","stroke-linejoin"],G=[d("path",{d:"M15 37a4 4 0 1 0-8 0 4 4 0 0 0 8 0Zm0 0V18.5M41 37a4 4 0 1 0-8 0 4 4 0 0 0 8 0Zm0 0V16.5m-26 2V9.926a1 1 0 0 1 .923-.997l24-1.846A1 1 0 0 1 41 8.08v8.42m-26 2 26-2"},null,-1)];var H=r(A,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},G,14,E)}]]);const J=Object.assign(H,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+H.name,H)}}),K=i({name:"IconPlayCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-play-circle`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),U=["stroke-width","stroke-linecap","stroke-linejoin"],Q=[d("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6 6 14.059 6 24s8.059 18 18 18Z"},null,-1),d("path",{d:"M19 17v14l12-7-12-7Z"},null,-1)];var T=r(K,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},Q,14,U)}]]);const X=Object.assign(T,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+T.name,T)}}),Y=i({name:"IconBook",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-book`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),ee=["stroke-width","stroke-linecap","stroke-linejoin"],te=[d("path",{d:"M24 13 7 7v28l17 6 17-6V7l-17 6Zm0 0v27.5M29 18l7-2.5M29 25l7-2.5M29 32l7-2.5M19 18l-7-2.5m7 9.5-7-2.5m7 9.5-7-2.5"},null,-1)];var se=r(Y,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},te,14,ee)}]]);const ie=Object.assign(se,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+se.name,se)}});const ne=i({emits:["videoPlay","bookPreview"],setup(e,{emit:t}){const s=m({columns:[{title:"文件名",slotName:"name",sortable:{sortDirections:["ascend","descend"]}},{title:"大小",slotName:"size"},{title:"操作",slotName:"actions"}],data:[]}),i=(e,s)=>{t(s,{url:`https://eug.asia/minio/${e.parentName}/${e.name}`,path:e.parentName,fileName:e.name})};function n(e){if(e){var t="",s=(t=e<102.4?e.toFixed(2)+"B":e<104857.6?(e/1024).toFixed(2)+"KB":e<107374182.4?(e/1048576).toFixed(2)+"MB":(e/1073741824).toFixed(2)+"GB")+"",i=s.indexOf(".");return"00"==s.substr(i+1,2)?s.substring(0,i)+s.substr(i+3,2):t}}fetch("https://eug.asia/egg/api/minio/bucket/all").then((async e=>{let t=await e.json();s.data=t.data.map(((e,t)=>(e.key=t,e)))}));const a=(e,t)=>{fetch(`https://eug.asia/egg/api/minio/bucket/${e.name}`).then((async s=>{let i=await s.json();t(i.data.map(((t,s)=>(t.key=`${e.key}-${s}`,t.parentName=e.name,t.isLeaf=!0,t))))}))};return(e,t)=>{const o=x,r=k;return l(),v(r,{scroll:{x:"100%",y:"100%"},bordered:!1,pagination:!1,columns:b(s).columns,data:b(s).data,"load-more":a},{name:y((({record:e})=>[e.parentName?(l(),v(o,{key:0,href:e.parentName?`https://eug.asia/minio/${e.parentName}/${e.name}`:void 0},{default:y((()=>[f(g(e.name),1)])),_:2},1032,["href"])):(l(),c(h,{key:1},[f(g(e.name),1)],64))])),size:y((({record:e})=>[f(g(n(e.size)),1)])),actions:y((({record:e})=>[e.parentName&&"videos"===e.parentName?(l(),v(b(X),{key:0,size:24,class:"cursor-pointer",onClick:t=>i(e,"videoPlay")},null,8,["onClick"])):w("",!0),e.parentName&&"books"===e.parentName?(l(),v(b(ie),{key:1,size:24,class:"cursor-pointer",onClick:t=>i(e,"bookPreview")},null,8,["onClick"])):w("",!0),e.parentName&&"images"===e.parentName?(l(),v(b(z),{key:2,size:24,class:"cursor-pointer",onClick:t=>i(e,"imagesPreview")},null,8,["onClick"])):w("",!0),e.parentName&&"music"===e.parentName?(l(),v(b(J),{key:3,size:24,class:"cursor-pointer",onClick:t=>i(e,"musicPreview")},null,8,["onClick"])):w("",!0)])),_:1},8,["columns","data"])}}});const ae={key:1},oe={key:2},re={key:0,src:"/assets/zw.c8d9077e.svg",alt:"",style:{width:"100%",height:"calc(100% - 46px)"}},le=["src"],ce={class:"mx-2 cursor-pointer"},ue=["src"],pe=f(" Minio "),de=i({setup(t){const i=j(""),n=()=>{V.src=i.value},o=m({video:!1,pdf:!1,image:!1,music:!1}),r=a((()=>-1!=Object.keys(o).findIndex((e=>o[e])))),u=({video:e,pdf:t,image:s,music:i})=>{o.pdf=t,o.video=e,o.image=s,o.music=i},p=({url:e})=>{V.src=e,i.value=e,u({video:!0})},k=m({}),f=({url:e,path:t,fileName:s})=>{k.fileName=s,k.path=t,k.url=e},h=e=>{f(e),u({pdf:!0})},z=j(!1),x=e=>{f(e),u({image:!0})},I=()=>{},W=e=>{f(e),u({music:!0})},V=m({src:i.value,poster:"https://eug.asia/minio/images/ac4c5ed6-53eb-457c-8350-aef04814335c.jpg",volume:.2,playbackRate:1,language:"zh-CN",notSupportedMessage:"此视频暂无法播放,请稍后再试",playbackRates:[.5,1,1.5,2,2.5,3]}),O=j(!1),_=()=>{O.value=!0};return(t,a)=>{const u=S,m=P,f=N,j=$,Z=C,q=B;return l(),v(q,{bordered:!1,class:"base-player",id:"BasePlayer"},{title:y((()=>[b(o).video?(l(),v(u,{key:0,class:"!w-1/3",placeholder:"请输入视频地址",modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=e=>i.value=e),modelModifiers:{trim:!0},"allow-clear":"",onPressEnter:n},null,8,["modelValue"])):w("",!0),b(o).pdf||b(o).image||b(o).music?(l(),c("div",ae,g(b(k).fileName),1)):w("",!0),b(r)?w("",!0):(l(),c("div",oe,"一不小心空白啦~"))])),extra:y((()=>[L(m,{type:"outline",onClick:_,status:"normal",shape:"round"},{icon:y((()=>[L(b(e))])),_:1})])),default:y((()=>[b(r)?w("",!0):(l(),c("img",re)),b(o).video?(l(),v(b(s),{key:1,src:b(V).src,poster:b(V).poster,preload:"auto",loop:"",controls:"",liveui:"",muted:"",autoplay:"",playsinline:"",volume:b(V).volume,playbackRate:b(V).playbackRate,language:b(V).language,notSupportedMessage:b(V).notSupportedMessage,playbackRates:b(V).playbackRates,style:{width:"100%",height:"calc(100% - 46px)"}},null,8,["src","poster","volume","playbackRate","language","notSupportedMessage","playbackRates"])):w("",!0),b(o).pdf?(l(),c("iframe",{key:2,src:b(k).url,style:{width:"100%",height:"calc(100% - 46px)"}},null,8,le)):w("",!0),b(o).image?(l(),v(j,{key:3,"show-loader":"",src:b(k).url,title:b(k).path,description:b(k).fileName,style:{width:"100%",height:"calc(100% - 46px)"},"preview-visible":z.value,onPreviewVisibleChange:a[2]||(a[2]=()=>{z.value=!1})},{extra:y((()=>[d("div",null,[d("span",{class:"mx-2 cursor-pointer",onClick:a[1]||(a[1]=()=>{z.value=!0})},[L(b(M),{size:"26"})]),d("span",{class:"mx-2 cursor-pointer",onClick:I},[L(b(D),{size:"26"})]),L(f,{content:b(k).path},{default:y((()=>[d("span",ce,[L(b(R),{size:"26"})])])),_:1},8,["content"])])])),_:1},8,["src","title","description","preview-visible"])):w("",!0),b(o).music?(l(),c("audio",{key:4,class:"inset-x-1/2 -translate-x-2/4 -translate-y-2/4 inset-y-1/2 absolute",autoplay:"",loop:"",src:b(k).url,controls:""},null,8,ue)):w("",!0),L(Z,{"drawer-style":{zIndex:1},footer:!1,"popup-container":"#BasePlayer",width:"100%",onOk:a[3]||(a[3]=e=>O.value=!1),onCancel:a[4]||(a[4]=e=>O.value=!1),visible:O.value},{title:y((()=>[pe])),default:y((()=>[L(ne,{onVideoPlay:p,onBookPreview:h,onImagesPreview:x,onMusicPreview:W})])),_:1},8,["visible"])])),_:1})}}}),me=i({setup:e=>(e,t)=>(l(),v(de,{class:"h-full ml-2.5 relative"}))});export{me as default}; +import{I as e,i as t}from"./index.d37669f8.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{R as s}from"./videojs-player-vue.6f00fb8d.js";import{d as i,Z as n,e as a,_ as o,$ as r,o as l,c,l as u,n as p,g as d,r as m,ae as k,q as v,b as y,a3 as f,k as g,F as h,u as b,s as w,af as z,ag as x,f as j,ah as S,ai as N,aj as $,ak as C,a as L,al as M,am as P,a5 as B}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";import"./videoJs.931a04ef.js";const I=i({name:"IconInfoCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-info-circle`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),W=["stroke-width","stroke-linecap","stroke-linejoin"],V=[d("path",{d:"M24 20v14m0-16v-4m18 10c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1)];var O=r(I,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},V,14,W)}]]);const R=Object.assign(O,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+O.name,O)}}),_=i({name:"IconDownload",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-download`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),Z=["stroke-width","stroke-linecap","stroke-linejoin"],q=[d("path",{d:"m33.072 22.071-9.07 9.071-9.072-9.07M24 5v26m16 4v6H8v-6"},null,-1)];var F=r(_,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},q,14,Z)}]]);const D=Object.assign(F,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+F.name,F)}}),A=i({name:"IconMusic",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-music`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),E=["stroke-width","stroke-linecap","stroke-linejoin"],G=[d("path",{d:"M15 37a4 4 0 1 0-8 0 4 4 0 0 0 8 0Zm0 0V18.5M41 37a4 4 0 1 0-8 0 4 4 0 0 0 8 0Zm0 0V16.5m-26 2V9.926a1 1 0 0 1 .923-.997l24-1.846A1 1 0 0 1 41 8.08v8.42m-26 2 26-2"},null,-1)];var H=r(A,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},G,14,E)}]]);const J=Object.assign(H,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+H.name,H)}}),K=i({name:"IconPlayCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-play-circle`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),U=["stroke-width","stroke-linecap","stroke-linejoin"],Q=[d("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6 6 14.059 6 24s8.059 18 18 18Z"},null,-1),d("path",{d:"M19 17v14l12-7-12-7Z"},null,-1)];var T=r(K,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},Q,14,U)}]]);const X=Object.assign(T,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+T.name,T)}}),Y=i({name:"IconBook",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},spin:Boolean},setup(e){const t=n("icon");return{cls:a((()=>[t,`${t}-book`,{[`${t}-spin`]:e.spin}])),sizeStyle:a((()=>{if(e.size)return{fontSize:o(e.size)?`${e.size}px`:e.size}}))}}}),ee=["stroke-width","stroke-linecap","stroke-linejoin"],te=[d("path",{d:"M24 13 7 7v28l17 6 17-6V7l-17 6Zm0 0v27.5M29 18l7-2.5M29 25l7-2.5M29 32l7-2.5M19 18l-7-2.5m7 9.5-7-2.5m7 9.5-7-2.5"},null,-1)];var se=r(Y,[["render",function(e,t,s,i,n,a){return l(),c("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:u(e.cls),style:p(e.sizeStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},te,14,ee)}]]);const ie=Object.assign(se,{install:(e,t)=>{var s;const i=null!=(s=null==t?void 0:t.iconPrefix)?s:"";e.component(i+se.name,se)}});const ne=i({emits:["videoPlay","bookPreview"],setup(e,{emit:t}){const s=m({columns:[{title:"文件名",slotName:"name",sortable:{sortDirections:["ascend","descend"]}},{title:"大小",slotName:"size"},{title:"操作",slotName:"actions"}],data:[]}),i=(e,s)=>{t(s,{url:`https://eug.asia/minio/${e.parentName}/${e.name}`,path:e.parentName,fileName:e.name})};function n(e){if(e){var t="",s=(t=e<102.4?e.toFixed(2)+"B":e<104857.6?(e/1024).toFixed(2)+"KB":e<107374182.4?(e/1048576).toFixed(2)+"MB":(e/1073741824).toFixed(2)+"GB")+"",i=s.indexOf(".");return"00"==s.substr(i+1,2)?s.substring(0,i)+s.substr(i+3,2):t}}fetch("https://eug.asia/egg/api/minio/bucket/all").then((async e=>{let t=await e.json();s.data=t.data.map(((e,t)=>(e.key=t,e)))}));const a=(e,t)=>{fetch(`https://eug.asia/egg/api/minio/bucket/${e.name}`).then((async s=>{let i=await s.json();t(i.data.map(((t,s)=>(t.key=`${e.key}-${s}`,t.parentName=e.name,t.isLeaf=!0,t))))}))};return(e,t)=>{const o=x,r=k;return l(),v(r,{scroll:{x:"100%",y:"100%"},bordered:!1,pagination:!1,columns:b(s).columns,data:b(s).data,"load-more":a},{name:y((({record:e})=>[e.parentName?(l(),v(o,{key:0,href:e.parentName?`https://eug.asia/minio/${e.parentName}/${e.name}`:void 0},{default:y((()=>[f(g(e.name),1)])),_:2},1032,["href"])):(l(),c(h,{key:1},[f(g(e.name),1)],64))])),size:y((({record:e})=>[f(g(n(e.size)),1)])),actions:y((({record:e})=>[e.parentName&&"videos"===e.parentName?(l(),v(b(X),{key:0,size:24,class:"cursor-pointer",onClick:t=>i(e,"videoPlay")},null,8,["onClick"])):w("",!0),e.parentName&&"books"===e.parentName?(l(),v(b(ie),{key:1,size:24,class:"cursor-pointer",onClick:t=>i(e,"bookPreview")},null,8,["onClick"])):w("",!0),e.parentName&&"images"===e.parentName?(l(),v(b(z),{key:2,size:24,class:"cursor-pointer",onClick:t=>i(e,"imagesPreview")},null,8,["onClick"])):w("",!0),e.parentName&&"music"===e.parentName?(l(),v(b(J),{key:3,size:24,class:"cursor-pointer",onClick:t=>i(e,"musicPreview")},null,8,["onClick"])):w("",!0)])),_:1},8,["columns","data"])}}});const ae={key:1},oe={key:2},re={key:0,src:"/assets/zw.c8d9077e.svg",alt:"",style:{width:"100%",height:"calc(100% - 46px)"}},le=["src"],ce={class:"mx-2 cursor-pointer"},ue=["src"],pe=f(" Minio "),de=i({setup(t){const i=j(""),n=()=>{V.src=i.value},o=m({video:!1,pdf:!1,image:!1,music:!1}),r=a((()=>-1!=Object.keys(o).findIndex((e=>o[e])))),u=({video:e,pdf:t,image:s,music:i})=>{o.pdf=t,o.video=e,o.image=s,o.music=i},p=({url:e})=>{V.src=e,i.value=e,u({video:!0})},k=m({}),f=({url:e,path:t,fileName:s})=>{k.fileName=s,k.path=t,k.url=e},h=e=>{f(e),u({pdf:!0})},z=j(!1),x=e=>{f(e),u({image:!0})},I=()=>{},W=e=>{f(e),u({music:!0})},V=m({src:i.value,poster:"https://eug.asia/minio/images/ac4c5ed6-53eb-457c-8350-aef04814335c.jpg",volume:.2,playbackRate:1,language:"zh-CN",notSupportedMessage:"此视频暂无法播放,请稍后再试",playbackRates:[.5,1,1.5,2,2.5,3]}),O=j(!1),_=()=>{O.value=!0};return(t,a)=>{const u=S,m=P,f=N,j=$,Z=C,q=B;return l(),v(q,{bordered:!1,class:"base-player",id:"BasePlayer"},{title:y((()=>[b(o).video?(l(),v(u,{key:0,class:"!w-1/3",placeholder:"请输入视频地址",modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=e=>i.value=e),modelModifiers:{trim:!0},"allow-clear":"",onPressEnter:n},null,8,["modelValue"])):w("",!0),b(o).pdf||b(o).image||b(o).music?(l(),c("div",ae,g(b(k).fileName),1)):w("",!0),b(r)?w("",!0):(l(),c("div",oe,"一不小心空白啦~"))])),extra:y((()=>[L(m,{type:"outline",onClick:_,status:"normal",shape:"round"},{icon:y((()=>[L(b(e))])),_:1})])),default:y((()=>[b(r)?w("",!0):(l(),c("img",re)),b(o).video?(l(),v(b(s),{key:1,src:b(V).src,poster:b(V).poster,preload:"auto",loop:"",controls:"",liveui:"",muted:"",autoplay:"",playsinline:"",volume:b(V).volume,playbackRate:b(V).playbackRate,language:b(V).language,notSupportedMessage:b(V).notSupportedMessage,playbackRates:b(V).playbackRates,style:{width:"100%",height:"calc(100% - 46px)"}},null,8,["src","poster","volume","playbackRate","language","notSupportedMessage","playbackRates"])):w("",!0),b(o).pdf?(l(),c("iframe",{key:2,src:b(k).url,style:{width:"100%",height:"calc(100% - 46px)"}},null,8,le)):w("",!0),b(o).image?(l(),v(j,{key:3,"show-loader":"",src:b(k).url,title:b(k).path,description:b(k).fileName,style:{width:"100%",height:"calc(100% - 46px)"},"preview-visible":z.value,onPreviewVisibleChange:a[2]||(a[2]=()=>{z.value=!1})},{extra:y((()=>[d("div",null,[d("span",{class:"mx-2 cursor-pointer",onClick:a[1]||(a[1]=()=>{z.value=!0})},[L(b(M),{size:"26"})]),d("span",{class:"mx-2 cursor-pointer",onClick:I},[L(b(D),{size:"26"})]),L(f,{content:b(k).path},{default:y((()=>[d("span",ce,[L(b(R),{size:"26"})])])),_:1},8,["content"])])])),_:1},8,["src","title","description","preview-visible"])):w("",!0),b(o).music?(l(),c("audio",{key:4,class:"inset-x-1/2 -translate-x-2/4 -translate-y-2/4 inset-y-1/2 absolute",autoplay:"",loop:"",src:b(k).url,controls:""},null,8,ue)):w("",!0),L(Z,{"drawer-style":{zIndex:1},footer:!1,"popup-container":"#BasePlayer",width:"100%",onOk:a[3]||(a[3]=e=>O.value=!1),onCancel:a[4]||(a[4]=e=>O.value=!1),visible:O.value},{title:y((()=>[pe])),default:y((()=>[L(ne,{onVideoPlay:p,onBookPreview:h,onImagesPreview:x,onMusicPreview:W})])),_:1},8,["visible"])])),_:1})}}}),me=i({setup:e=>(e,t)=>(l(),v(de,{class:"h-full ml-2.5 relative"}))});export{me as default}; diff --git a/dist/assets/player.69a768ee.js.gz b/dist/assets/player.69a768ee.js.gz new file mode 100644 index 0000000..3bc5585 Binary files /dev/null and b/dist/assets/player.69a768ee.js.gz differ diff --git a/dist/assets/playground.528bba34.js b/dist/assets/playground.0c8096f3.js similarity index 95% rename from dist/assets/playground.528bba34.js rename to dist/assets/playground.0c8096f3.js index c7116f3..36d2025 100644 --- a/dist/assets/playground.528bba34.js +++ b/dist/assets/playground.0c8096f3.js @@ -1 +1 @@ -import{u as e,T as s}from"./index.e8e9c4ba.js";/* empty css */import{R as t,a as r}from"./vue-repl.bd87f200.js";import{d as a,w as o,a5 as d,o as l,q as i,b as n,l as u,u as p,a as c}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const j=a({setup(a){const j=e(),h=new URLSearchParams(location.search),m=new t({serializedState:location.hash.slice(1)||"eNp1UEtuwjAQvcrIG0AidkILalFArdQjdOkNJAO4ij+yx0hVlLvXSWhQ1XY57zPz5rXs1Tl+jci2rAyVV44gIEW3B2lAaWc9QQseT9DByVsNsySe/SBjwPeLjeFg6jd1VhQmKcZzRtY2YTBU1gSCepTs+p3z1QLuTGWjoRtR5PnThhePxfp5tVk/rBdJVoox4L73lITaNQfCIShAqYyLBNdM2xqbnWTjHcmAPh2m2UR9RJ9mrUwac8n+cw45fhu/5Zdi3/7x9HywLW//LaDrSpGkQ+57VrZkY2+ZPjj+EaxJxbf9YnkjUuQtDEiPTQ32qGQXIhe2QlS1SeYUV109N0jCOC0m7UvOc74RtQokcIQ4Bp0do6kb9MkpWX+gk6Zj3Rc5CKxo",showOutput:h.has("showOutput"),outputMode:h.get("outputMode")||"preview",defaultVueRuntimeURL:"https://cdn.jsdelivr.net/npm/vue@3.2.25/dist/vue.runtime.esm-browser.js",defaultVueServerRendererURL:"https://cdn.jsdelivr.net/npm/@vue/server-renderer@3.2.25/dist/server-renderer.cjs.prod.js"});return o((()=>history.replaceState({},"",m.serialize()))),m.setImportMap({imports:{"eug-tools":"https://cdn.jsdelivr.net/npm/eug-tools@0.0.6/dist/e-tools.esm-bundler.js"}}),(e,t)=>{const a=d;return l(),i(a,{class:u(["ml-2.5 h-full relative playground-container",{dark:p(j).theme===p(s).DARK}]),bordered:!1},{default:n((()=>[c(p(r),{store:p(m),style:{height:"100vh"}},null,8,["store"])])),_:1},8,["class"])}}});export{j as default}; +import{u as e,T as s}from"./index.d37669f8.js";/* empty css */import{R as t,a as r}from"./vue-repl.bd87f200.js";import{d as a,w as o,a5 as d,o as l,q as i,b as n,l as u,u as p,a as c}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const j=a({setup(a){const j=e(),h=new URLSearchParams(location.search),m=new t({serializedState:location.hash.slice(1)||"eNp1UEtuwjAQvcrIG0AidkILalFArdQjdOkNJAO4ij+yx0hVlLvXSWhQ1XY57zPz5rXs1Tl+jci2rAyVV44gIEW3B2lAaWc9QQseT9DByVsNsySe/SBjwPeLjeFg6jd1VhQmKcZzRtY2YTBU1gSCepTs+p3z1QLuTGWjoRtR5PnThhePxfp5tVk/rBdJVoox4L73lITaNQfCIShAqYyLBNdM2xqbnWTjHcmAPh2m2UR9RJ9mrUwac8n+cw45fhu/5Zdi3/7x9HywLW//LaDrSpGkQ+57VrZkY2+ZPjj+EaxJxbf9YnkjUuQtDEiPTQ32qGQXIhe2QlS1SeYUV109N0jCOC0m7UvOc74RtQokcIQ4Bp0do6kb9MkpWX+gk6Zj3Rc5CKxo",showOutput:h.has("showOutput"),outputMode:h.get("outputMode")||"preview",defaultVueRuntimeURL:"https://cdn.jsdelivr.net/npm/vue@3.2.25/dist/vue.runtime.esm-browser.js",defaultVueServerRendererURL:"https://cdn.jsdelivr.net/npm/@vue/server-renderer@3.2.25/dist/server-renderer.cjs.prod.js"});return o((()=>history.replaceState({},"",m.serialize()))),m.setImportMap({imports:{"eug-tools":"https://cdn.jsdelivr.net/npm/eug-tools@0.0.6/dist/e-tools.esm-bundler.js"}}),(e,t)=>{const a=d;return l(),i(a,{class:u(["ml-2.5 h-full relative playground-container",{dark:p(j).theme===p(s).DARK}]),bordered:!1},{default:n((()=>[c(p(r),{store:p(m),style:{height:"100vh"}},null,8,["store"])])),_:1},8,["class"])}}});export{j as default}; diff --git a/dist/assets/playground.0c8096f3.js.gz b/dist/assets/playground.0c8096f3.js.gz new file mode 100644 index 0000000..2e629f6 Binary files /dev/null and b/dist/assets/playground.0c8096f3.js.gz differ diff --git a/dist/assets/playground.528bba34.js.gz b/dist/assets/playground.528bba34.js.gz deleted file mode 100644 index bc3ca15..0000000 Binary files a/dist/assets/playground.528bba34.js.gz and /dev/null differ diff --git a/dist/assets/upload.141c0fe7.js b/dist/assets/upload.141c0fe7.js deleted file mode 100644 index 028e8b8..0000000 --- a/dist/assets/upload.141c0fe7.js +++ /dev/null @@ -1 +0,0 @@ -import"./index.e8e9c4ba.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as s,f as a,e,u as t,am as n,ao as o,ap as i,aq as l,ag as r,a5 as c,o as d,q as m,b as u,a as h,c as f,m as p,F as g,a3 as w,ar as j,as as x,k as $,s as y}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const k=w("清除全部"),b=s({setup(s){const b=a([]),E=a(new Map),T="https://eug.asia/egg/api",F=e((()=>{let s=0,a=0;return t(E).forEach(((e,t)=>{a+=1,e&&(s+=1)})),a&&+(s/a).toFixed(2)})),G=async()=>{let s=await fetch(`${T}/assets/list`,{method:"GET"}),a=await s.json();b.value=a.data};G();const P=s=>{const{onProgress:a,onError:e,onSuccess:n,fileItem:o,name:i}=s;t(E).clear();const l=((s,a=0,e=1048576)=>{const t=[];let n=1;for(;a{t(E).set(s.idx,!1);const a=new FormData;return a.append("chunk",s.chunk),new Promise(((e,n)=>{fetch(`${T}/assets/upload?idx=${s.idx}`,{method:"POST",body:a}).then((a=>{t(E).set(s.idx,!0),e(a)}))}))}));return Promise.all(r).then((async s=>{setTimeout((async()=>{let s=await fetch(`${T}/assets/finish?name=${o.name}&size=1048576&total=${l.length}`,{method:"GET"}),a=await s.json();200!==a.code?j.error({title:"上传失败",content:a.msg}):G()}))})).finally((()=>{})),{}};return(s,a)=>{const e=n,j=o,E=i,_=l,q=r,v=c;return d(),m(v,{bordered:!1,class:"h-full ml-2.5"},{default:u((()=>[h(e,{class:"float-right",onClick:a[0]||(a[0]=()=>(async s=>{let a=await fetch(`${T}/assets/cleans${s?`?dir=${s}`:""}`,{method:"GET"});await a.json(),G()})()),status:"danger"},{default:u((()=>[k])),_:1}),h(j,{"show-file-list":!1,"custom-request":P,class:"mb-4 mr-4"}),h(E,{steps:3,size:"small",percent:t(F)},null,8,["percent"]),h(_,{class:"!mt-1 !mb-2"}),(d(!0),f(g,null,p(b.value,((s,a)=>(d(),f(g,{key:s},[h(e,{class:"m-2",status:"danger",onClick:a=>(async s=>{let a=await fetch(`${T}/assets/delete?name=${s}`,{method:"GET"});await a.json(),G()})(s)},{icon:u((()=>[h(t(x))])),_:2},1032,["onClick"]),h(q,{href:`https://eug.asia/egg/api/assets/${s}`},{default:u((()=>[w($(s),1)])),_:2},1032,["href"]),a!==b.value.length-1?(d(),m(_,{key:0,class:"!my-1"})):y("",!0)],64)))),128))])),_:1})}}});export{b as default}; diff --git a/dist/assets/upload.141c0fe7.js.gz b/dist/assets/upload.141c0fe7.js.gz deleted file mode 100644 index bcee347..0000000 Binary files a/dist/assets/upload.141c0fe7.js.gz and /dev/null differ diff --git a/dist/assets/upload.ad55d28a.js b/dist/assets/upload.ad55d28a.js new file mode 100644 index 0000000..f571569 --- /dev/null +++ b/dist/assets/upload.ad55d28a.js @@ -0,0 +1 @@ +import"./index.d37669f8.js";/* empty css *//* empty css *//* empty css *//* empty css */import{d as s,f as a,e,u as t,am as n,ao as i,ap as l,aq as o,ag as c,a5 as r,o as d,q as m,b as u,a as h,g as f,c as p,m as g,F as w,a3 as x,ar as j,as as y,k as $,s as b}from"./acro-design.370f9722.js";import"./lowdb.c138e033.js";import"./lodash.6aaafcb4.js";const k=x("清除全部"),v={class:"overflow-y-auto",style:{height:"calc(100vh - 100px)"}},E=s({setup(s){const E=a([]),T=a(new Map),z="https://eug.asia/egg/api",F=e((()=>{let s=0,a=0;return t(T).forEach(((e,t)=>{a+=1,e&&(s+=1)})),a&&+(s/a).toFixed(2)})),G=async()=>{let s=await fetch(`${z}/assets/list`,{method:"GET"}),a=await s.json();E.value=a.data};G();const P=s=>{const{onProgress:a,onError:e,onSuccess:n,fileItem:i,name:l}=s;t(T).clear();const o=((s,a=0,e=1048576)=>{const t=[];let n=1;for(;a{t(T).set(s.idx,!1);const a=new FormData;return a.append("chunk",s.chunk),new Promise(((e,n)=>{fetch(`${z}/assets/upload?idx=${s.idx}`,{method:"POST",body:a}).then((a=>{t(T).set(s.idx,!0),e(a)}))}))}));return Promise.all(c).then((async s=>{setTimeout((async()=>{let s=await fetch(`${z}/assets/finish?name=${i.name}&size=1048576&total=${o.length}`,{method:"GET"}),a=await s.json();200!==a.code?j.error({title:"上传失败",content:a.msg}):G()}))})).finally((()=>{})),{}};return(s,a)=>{const e=n,j=i,_=l,q=o,C=c,S=r;return d(),m(S,{bordered:!1,class:"h-full ml-2.5"},{default:u((()=>[h(e,{class:"float-right",onClick:a[0]||(a[0]=()=>(async s=>{let a=await fetch(`${z}/assets/cleans${s?`?dir=${s}`:""}`,{method:"GET"});await a.json(),G()})()),status:"danger"},{default:u((()=>[k])),_:1}),h(j,{disabled:!!T.value.size&&1!==t(F),"show-file-list":!1,"custom-request":P,class:"mb-4 mr-4"},null,8,["disabled"]),h(_,{animation:!0,steps:5,size:"small",percent:t(F)},null,8,["percent"]),h(q,{class:"!mt-1 !mb-2"}),f("div",v,[(d(!0),p(w,null,g(E.value,((s,a)=>(d(),p(w,{key:s},[h(e,{class:"m-2",status:"danger",onClick:a=>(async s=>{let a=await fetch(`${z}/assets/delete?name=${s}`,{method:"GET"});await a.json(),G()})(s)},{icon:u((()=>[h(t(y))])),_:2},1032,["onClick"]),h(C,{href:`https://eug.asia/egg/api/assets/${s}`},{default:u((()=>[x($(s),1)])),_:2},1032,["href"]),a!==E.value.length-1?(d(),m(q,{key:0,class:"!my-1"})):b("",!0)],64)))),128))])])),_:1})}}});export{E as default}; diff --git a/dist/assets/upload.ad55d28a.js.gz b/dist/assets/upload.ad55d28a.js.gz new file mode 100644 index 0000000..d508e22 Binary files /dev/null and b/dist/assets/upload.ad55d28a.js.gz differ diff --git a/dist/index.html b/dist/index.html index 4bb5e6c..d3fa8fe 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -Base | Pro
\ No newline at end of file +Base | Pro
\ No newline at end of file diff --git a/dist/index.html.gz b/dist/index.html.gz index b237e10..f13541f 100644 Binary files a/dist/index.html.gz and b/dist/index.html.gz differ diff --git a/src/pages/upload.vue b/src/pages/upload.vue index 16a4503..9d8309a 100644 --- a/src/pages/upload.vue +++ b/src/pages/upload.vue @@ -3,7 +3,7 @@ * @Author : eug yyh3531@163.com * @Date : 2023-08-23 11:15:19 * @LastEditors : eug yyh3531@163.com - * @LastEditTime : 2023-09-01 11:11:30 + * @LastEditTime : 2023-09-01 11:39:13 * @FilePath : /micro-base/src/pages/upload.vue * @Description : filename * @@ -12,21 +12,30 @@