diff --git a/apps/base/utils.py b/apps/base/utils.py
index b3851fdee..5ba36a845 100644
--- a/apps/base/utils.py
+++ b/apps/base/utils.py
@@ -46,10 +46,10 @@ async def get_expire_info(expire_value: int, expire_style: str):
if int(settings.max_save_seconds) > 0:
max_timedelta = datetime.timedelta(seconds=settings.max_save_seconds)
detail = await max_save_times_desc(settings.max_save_seconds)
- detail = f'保存时间超过限制,{detail[0]}'
+ detail = f'限制最长时间为 {detail[0]},可换用其他方式'
else:
max_timedelta = datetime.timedelta(days=7)
- detail = '保存时间超过限制,最长保存时间:7天'
+ detail = '限制最长时间为 7天,可换用其他方式'
if expire_style == 'day':
if datetime.timedelta(days=expire_value) > max_timedelta:
raise HTTPException(status_code=403, detail=detail)
diff --git a/apps/base/views.py b/apps/base/views.py
index c838e2b47..8e553ebf2 100644
--- a/apps/base/views.py
+++ b/apps/base/views.py
@@ -23,6 +23,12 @@
# 分享文本的API
@share_api.post('/text/', dependencies=[Depends(admin_required)])
async def share_text(text: str = Form(...), expire_value: int = Form(default=1, gt=0), expire_style: str = Form(default='day'), ip: str = Depends(ip_limit['upload'])):
+ # 获取大小
+ text_size = len(text.encode('utf-8'))
+ # 限制 222KB
+ max_txt_size = 222 * 1024 # 转换为字节
+ if text_size > max_txt_size:
+ raise HTTPException(status_code=403, detail=f'内容过多,建议采用文件形式')
# 获取过期信息
expired_at, expired_count, used_count, code = await get_expire_info(expire_value, expire_style)
# 创建一个新的FileCodes实例
@@ -47,9 +53,10 @@ async def share_text(text: str = Form(...), expire_value: int = Form(default=1,
@share_api.post('/file/', dependencies=[Depends(admin_required)])
async def share_file(expire_value: int = Form(default=1, gt=0), expire_style: str = Form(default='day'), file: UploadFile = File(...),
ip: str = Depends(ip_limit['upload'])):
- # 检查文件大小是否超过限制
- if file.size > int(settings.uploadSize):
- raise HTTPException(status_code=403, detail=f'文件大小超过限制,最大为{settings.uploadSize}字节')
+ if file.size > settings.uploadSize:
+ # 转换为 MB 并格式化输出
+ max_size_mb = settings.uploadSize / (1024 * 1024)
+ raise HTTPException(status_code=403, detail=f'大小超过限制,最大为{max_size_mb:.2f} MB')
# 获取过期信息
if expire_style not in settings.expireStyle:
raise HTTPException(status_code=400, detail='过期时间类型错误')
diff --git a/core/settings.py b/core/settings.py
index ee516b2b5..6d2ad6d45 100644
--- a/core/settings.py
+++ b/core/settings.py
@@ -13,11 +13,11 @@
DEFAULT_CONFIG = {
'file_storage': 'local',
- 'name': '文件快递柜-FileCodeBox',
+ 'name': '文件快递柜 - FileCodeBox',
'description': '开箱即用的文件快传系统',
'notify_title': '系统通知',
- 'notify_content': '欢迎使用FileCodeBox,本程序开源于 Github ,欢迎Star和Fork。',
- 'page_explain': '根据《中华人民共和国网络安全法》、《中华人民共和国刑法》、《中华人民共和国治安管理处罚法》等相关规定。 传播或存储违法、违规内容,会受到相关处罚,严重者将承担刑事责任。请勿上传非法文件,本站坚决配合相关部门,确保网络内容的安全,和谐,打造绿色网络环境。',
+ 'notify_content': '欢迎使用 FileCodeBox,本程序开源于 Github ,欢迎Star和Fork。',
+ 'page_explain': '请勿上传或分享违法内容。根据《中华人民共和国网络安全法》、《中华人民共和国刑法》、《中华人民共和国治安管理处罚法》等相关规定。 传播或存储违法、违规内容,会受到相关处罚,严重者将承担刑事责任。本站坚决配合相关部门,确保网络内容的安全,和谐,打造绿色网络环境。',
'keywords': 'FileCodeBox, 文件快递柜, 口令传送箱, 匿名口令分享文本, 文件',
's3_access_key_id': '',
's3_secret_access_key': '',
diff --git a/fcb-fronted/dist/assets/AboutView-CgITFJ4T.js b/fcb-fronted/dist/assets/AboutView-C9NDvQ3V.js
similarity index 84%
rename from fcb-fronted/dist/assets/AboutView-CgITFJ4T.js
rename to fcb-fronted/dist/assets/AboutView-C9NDvQ3V.js
index 31bbee8f6..5e5236339 100644
--- a/fcb-fronted/dist/assets/AboutView-CgITFJ4T.js
+++ b/fcb-fronted/dist/assets/AboutView-C9NDvQ3V.js
@@ -1 +1 @@
-import{d as s,a8 as n,Y as c,W as e,a1 as r,$ as a,g as o,o as i}from"./index-BMDdhWSk.js";const l={style:{"text-align":"center"}},u={style:{color:"#333"},href:"https://github.com/vastsa/FileCodeBox"},f=s({__name:"AboutView",setup(_){const{t}=n();return(m,d)=>(i(),c("main",l,[e("span",null,[r(a(o(t)("admin.about.source1"))+" ",1),e("em",null,[e("a",u,a(o(t)("admin.about.source2")),1)])])]))}});export{f as default};
+import{d as s,a8 as n,Y as c,W as e,a1 as r,$ as a,g as o,o as i}from"./index-B8Am18SQ.js";const l={style:{"text-align":"center"}},u={style:{color:"#333"},href:"https://github.com/vastsa/FileCodeBox"},f=s({__name:"AboutView",setup(_){const{t}=n();return(m,d)=>(i(),c("main",l,[e("span",null,[r(a(o(t)("admin.about.source1"))+" ",1),e("em",null,[e("a",u,a(o(t)("admin.about.source2")),1)])])]))}});export{f as default};
diff --git a/fcb-fronted/dist/assets/AdminView-CqDFsuQK.js b/fcb-fronted/dist/assets/AdminView-DCdW5fL2.js
similarity index 98%
rename from fcb-fronted/dist/assets/AdminView-CqDFsuQK.js
rename to fcb-fronted/dist/assets/AdminView-DCdW5fL2.js
index 9aa3bf7d8..d8bc1879c 100644
--- a/fcb-fronted/dist/assets/AdminView-CqDFsuQK.js
+++ b/fcb-fronted/dist/assets/AdminView-DCdW5fL2.js
@@ -1 +1 @@
-import{T as Ue,t as de,E as Je,b as Ye}from"./el-input-Bra5w62E.js";import{E as Ze,a as Qe}from"./el-form-item-9LI72QqF.js";import"./el-tooltip-l0sNRNKZ.js";import{E as Te,C as Ke}from"./el-popper-DA6dI8BR.js";import{d as M,u as $,o as w,e as Q,w as S,r as T,aD as Pe,b1 as Xe,g,T as Oe,_ as W,aS as et,a as v,Y as z,f as R,h as Me,j as Ne,al as G,E as A,J as ue,F as fe,aJ as tt,b as Ie,aL as ne,l as me,t as x,b2 as nt,b3 as at,v as Ce,R as ie,p as be,S as Ee,U as Be,A as C,H as K,M as Ae,B as ze,D as ot,ab as pe,aQ as we,aR as xe,k as _e,m as st,b4 as lt,aH as ut,b5 as it,s as rt,an as $e,n as ct,aB as dt,V as He,W as ye,a1 as ae,$ as oe,aW as mt,aY as pt,aZ as ft,a8 as vt,aa as ht,af as gt,aG as ke,C as V,ac as bt}from"./index-BMDdhWSk.js";import{t as re}from"./aria-nkjrUMQ-.js";import{f as _t}from"./vnode-DODt4a8F.js";import"./_baseClone-CNjLZpcX.js";const yt=M({name:"ElCollapseTransition"}),Mt=M({...yt,setup(e){const a=$("collapse-transition"),n=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},s={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){n(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){n(t)},leaveCancelled(t){n(t)}};return(t,d)=>(w(),Q(Oe,Pe({name:g(a).b()},Xe(s)),{default:S(()=>[T(t.$slots,"default")]),_:3},16,["name"]))}});var ce=W(Mt,[["__file","collapse-transition.vue"]]);ce.install=e=>{e.component(ce.name,ce)};const It=ce,Ct=M({name:"ElContainer"}),Et=M({...Ct,props:{direction:{type:String}},setup(e){const a=e,n=et(),s=$("container"),t=v(()=>a.direction==="vertical"?!0:a.direction==="horizontal"?!1:n&&n.default?n.default().some(m=>{const h=m.type.name;return h==="ElHeader"||h==="ElFooter"}):!1);return(d,m)=>(w(),z("section",{class:R([g(s).b(),g(s).is("vertical",g(t))])},[T(d.$slots,"default")],2))}});var wt=W(Et,[["__file","container.vue"]]);const St=M({name:"ElAside"}),xt=M({...St,props:{width:{type:String,default:null}},setup(e){const a=e,n=$("aside"),s=v(()=>a.width?n.cssVarBlock({width:a.width}):{});return(t,d)=>(w(),z("aside",{class:R(g(n).b()),style:Me(g(s))},[T(t.$slots,"default")],6))}});var Le=W(xt,[["__file","aside.vue"]]);const $t=M({name:"ElFooter"}),kt=M({...$t,props:{height:{type:String,default:null}},setup(e){const a=e,n=$("footer"),s=v(()=>a.height?n.cssVarBlock({height:a.height}):{});return(t,d)=>(w(),z("footer",{class:R(g(n).b()),style:Me(g(s))},[T(t.$slots,"default")],6))}});var De=W(kt,[["__file","footer.vue"]]);const Tt=M({name:"ElHeader"}),Pt=M({...Tt,props:{height:{type:String,default:null}},setup(e){const a=e,n=$("header"),s=v(()=>a.height?n.cssVarBlock({height:a.height}):{});return(t,d)=>(w(),z("header",{class:R(g(n).b()),style:Me(g(s))},[T(t.$slots,"default")],6))}});var Ve=W(Pt,[["__file","header.vue"]]);const Ot=M({name:"ElMain"}),Nt=M({...Ot,setup(e){const a=$("main");return(n,s)=>(w(),z("main",{class:R(g(a).b())},[T(n.$slots,"default")],2))}});var Re=W(Nt,[["__file","main.vue"]]);const Bt=Ne(wt,{Aside:Le,Footer:De,Header:Ve,Main:Re});G(Le);G(De);const At=G(Ve),zt=G(Re);let Ht=class{constructor(a,n){this.parent=a,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(a){a===this.subMenuItems.length?a=0:a<0&&(a=this.subMenuItems.length-1),this.subMenuItems[a].focus(),this.subIndex=a}addListeners(){const a=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",s=>{let t=!1;switch(s.code){case A.down:{this.gotoSubIndex(this.subIndex+1),t=!0;break}case A.up:{this.gotoSubIndex(this.subIndex-1),t=!0;break}case A.tab:{re(a,"mouseleave");break}case A.enter:case A.space:{t=!0,s.currentTarget.click();break}}return t&&(s.preventDefault(),s.stopPropagation()),!1})})}},Lt=class{constructor(a,n){this.domNode=a,this.submenu=null,this.submenu=null,this.init(n)}init(a){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${a}-menu`);n&&(this.submenu=new Ht(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",a=>{let n=!1;switch(a.code){case A.down:{re(a.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case A.up:{re(a.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case A.tab:{re(a.currentTarget,"mouseleave");break}case A.enter:case A.space:{n=!0,a.currentTarget.click();break}}n&&a.preventDefault()})}},Dt=class{constructor(a,n){this.domNode=a,this.init(n)}init(a){const n=this.domNode.childNodes;Array.from(n).forEach(s=>{s.nodeType===1&&new Lt(s,a)})}};const Vt=M({name:"ElMenuCollapseTransition",setup(){const e=$("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,s){ue(n,`${e.namespace.value}-opacity-transition`),n.style.opacity="1",s()},onAfterEnter(n){fe(n,`${e.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),tt(n,e.m("collapse"))?(fe(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),ue(n,e.m("collapse"))):(ue(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),fe(n,e.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){ue(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function Rt(e,a,n,s,t,d){return w(),Q(Oe,Pe({mode:"out-in"},e.listeners),{default:S(()=>[T(e.$slots,"default")]),_:3},16)}var Wt=W(Vt,[["render",Rt],["__file","menu-collapse-transition.vue"]]);function We(e,a){const n=v(()=>{let t=e.parent;const d=[a.value];for(;t.type.name!=="ElMenu";)t.props.index&&d.unshift(t.props.index),t=t.parent;return d});return{parentMenu:v(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:n}}function Ft(e){return v(()=>{const n=e.backgroundColor;return n?new Ue(n).shade(20).toString():""})}const Fe=(e,a)=>{const n=$("menu");return v(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ft(e).value||"","active-color":e.activeTextColor||"",level:`${a}`}))},jt=Ie({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:ne},expandOpenIcon:{type:ne},collapseCloseIcon:{type:ne},collapseOpenIcon:{type:ne}}),ve="ElSubMenu";var Se=M({name:ve,props:jt,setup(e,{slots:a,expose:n}){const s=we(),{indexPath:t,parentMenu:d}=We(s,v(()=>e.index)),m=$("menu"),h=$("sub-menu"),u=me("rootMenu");u||de(ve,"can not inject root menu");const p=me(`subMenu:${d.value.uid}`);p||de(ve,"can not inject sub menu");const c=x({}),_=x({});let E;const P=x(!1),X=x(),U=x(null),H=v(()=>q.value==="horizontal"&&L.value?"bottom-start":"right-start"),F=v(()=>q.value==="horizontal"&&L.value||q.value==="vertical"&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?N.value?e.expandOpenIcon:e.expandCloseIcon:nt:e.collapseCloseIcon&&e.collapseOpenIcon?N.value?e.collapseOpenIcon:e.collapseCloseIcon:at),L=v(()=>p.level===0),j=v(()=>{const i=e.teleported;return i===void 0?L.value:i}),ee=v(()=>u.props.collapse?`${m.namespace.value}-zoom-in-left`:`${m.namespace.value}-zoom-in-top`),O=v(()=>q.value==="horizontal"&&L.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),N=v(()=>u.openedMenus.includes(e.index)),J=v(()=>{let i=!1;return Object.values(c.value).forEach(f=>{f.active&&(i=!0)}),Object.values(_.value).forEach(f=>{f.active&&(i=!0)}),i}),q=v(()=>u.props.mode),Y=Ce({index:e.index,indexPath:t,active:J}),te=Fe(u.props,p.level+1),se=v(()=>{var i;return(i=e.popperOffset)!=null?i:u.props.popperOffset}),Z=v(()=>{var i;return(i=e.popperClass)!=null?i:u.props.popperClass}),le=v(()=>{var i;return(i=e.showTimeout)!=null?i:u.props.showTimeout}),o=v(()=>{var i;return(i=e.hideTimeout)!=null?i:u.props.hideTimeout}),l=()=>{var i,f,I;return(I=(f=(i=U.value)==null?void 0:i.popperRef)==null?void 0:f.popperInstanceRef)==null?void 0:I.destroy()},r=i=>{i||l()},y=()=>{u.props.menuTrigger==="hover"&&u.props.mode==="horizontal"||u.props.collapse&&u.props.mode==="vertical"||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:t.value,active:J.value})},b=(i,f=le.value)=>{var I;if(i.type!=="focus"){if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"||e.disabled){p.mouseInChild.value=!0;return}p.mouseInChild.value=!0,E==null||E(),{stop:E}=xe(()=>{u.openMenu(e.index,t.value)},f),j.value&&((I=d.value.vnode.el)==null||I.dispatchEvent(new MouseEvent("mouseenter")))}},B=(i=!1)=>{var f;if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"){p.mouseInChild.value=!1;return}E==null||E(),p.mouseInChild.value=!1,{stop:E}=xe(()=>!P.value&&u.closeMenu(e.index,t.value),o.value),j.value&&i&&((f=p.handleMouseleave)==null||f.call(p,!0))};ie(()=>u.props.collapse,i=>r(!!i));{const i=I=>{_.value[I.index]=I},f=I=>{delete _.value[I.index]};be(`subMenu:${s.uid}`,{addSubMenu:i,removeSubMenu:f,handleMouseleave:B,mouseInChild:P,level:p.level+1})}return n({opened:N}),Ee(()=>{u.addSubMenu(Y),p.addSubMenu(Y)}),Be(()=>{p.removeSubMenu(Y),u.removeSubMenu(Y)}),()=>{var i;const f=[(i=a.title)==null?void 0:i.call(a),C(Ae,{class:h.e("icon-arrow"),style:{transform:N.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>K(F.value)?C(s.appContext.components[F.value]):C(F.value)})],I=u.isMenuPopup?C(Te,{ref:U,visible:N.value,effect:"light",pure:!0,offset:se.value,showArrow:!1,persistent:!0,popperClass:Z.value,placement:H.value,teleported:j.value,fallbackPlacements:O.value,transition:ee.value,gpuAcceleration:!1},{content:()=>{var k;return C("div",{class:[m.m(q.value),m.m("popup-container"),Z.value],onMouseenter:D=>b(D,100),onMouseleave:()=>B(!0),onFocus:D=>b(D,100)},[C("ul",{class:[m.b(),m.m("popup"),m.m(`popup-${H.value}`)],style:te.value},[(k=a.default)==null?void 0:k.call(a)])])},default:()=>C("div",{class:h.e("title"),onClick:y},f)}):C(pe,{},[C("div",{class:h.e("title"),ref:X,onClick:y},f),C(It,{},{default:()=>{var k;return ze(C("ul",{role:"menu",class:[m.b(),m.m("inline")],style:te.value},[(k=a.default)==null?void 0:k.call(a)]),[[ot,N.value]])}})]);return C("li",{class:[h.b(),h.is("active",J.value),h.is("opened",N.value),h.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:N.value,onMouseenter:b,onMouseleave:()=>B(),onFocus:b},[I])}}});const qt=Ie({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:_e(Array),default:()=>st([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:ne,default:()=>lt},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),he=e=>Array.isArray(e)&&e.every(a=>K(a)),Gt={close:(e,a)=>K(e)&&he(a),open:(e,a)=>K(e)&&he(a),select:(e,a,n,s)=>K(e)&&he(a)&&rt(n)&&(s===void 0||s instanceof Promise)};var Ut=M({name:"ElMenu",props:qt,emits:Gt,setup(e,{emit:a,slots:n,expose:s}){const t=we(),d=t.appContext.config.globalProperties.$router,m=x(),h=$("menu"),u=$("sub-menu"),p=x(-1),c=x(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),_=x(e.defaultActive),E=x({}),P=x({}),X=v(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),U=()=>{const o=_.value&&E.value[_.value];if(!o||e.mode==="horizontal"||e.collapse)return;o.indexPath.forEach(r=>{const y=P.value[r];y&&H(r,y.indexPath)})},H=(o,l)=>{c.value.includes(o)||(e.uniqueOpened&&(c.value=c.value.filter(r=>l.includes(r))),c.value.push(o),a("open",o,l))},F=o=>{const l=c.value.indexOf(o);l!==-1&&c.value.splice(l,1)},L=(o,l)=>{F(o),a("close",o,l)},j=({index:o,indexPath:l})=>{c.value.includes(o)?L(o,l):H(o,l)},ee=o=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:l,indexPath:r}=o;if(!($e(l)||$e(r)))if(e.router&&d){const y=o.route||l,b=d.push(y).then(B=>(B||(_.value=l),B));a("select",l,r,{index:l,indexPath:r,route:y},b)}else _.value=l,a("select",l,r,{index:l,indexPath:r})},O=o=>{const l=E.value,r=l[o]||_.value&&l[_.value]||l[e.defaultActive];r?_.value=r.index:_.value=o},N=o=>{const l=getComputedStyle(o),r=Number.parseInt(l.marginLeft,10),y=Number.parseInt(l.marginRight,10);return o.offsetWidth+r+y||0},J=()=>{var o,l;if(!m.value)return-1;const r=Array.from((l=(o=m.value)==null?void 0:o.childNodes)!=null?l:[]).filter(D=>D.nodeName!=="#comment"&&(D.nodeName!=="#text"||D.nodeValue)),y=64,b=getComputedStyle(m.value),B=Number.parseInt(b.paddingLeft,10),i=Number.parseInt(b.paddingRight,10),f=m.value.clientWidth-B-i;let I=0,k=0;return r.forEach((D,Ge)=>{I+=N(D),I<=f-y&&(k=Ge+1)}),k===r.length?-1:k},q=o=>P.value[o].indexPath,Y=(o,l=33.34)=>{let r;return()=>{r&&clearTimeout(r),r=setTimeout(()=>{o()},l)}};let te=!0;const se=()=>{if(p.value===J())return;const o=()=>{p.value=-1,ct(()=>{p.value=J()})};te?o():Y(o)(),te=!1};ie(()=>e.defaultActive,o=>{E.value[o]||(_.value=""),O(o)}),ie(()=>e.collapse,o=>{o&&(c.value=[])}),ie(E.value,U);let Z;ut(()=>{e.mode==="horizontal"&&e.ellipsis?Z=it(m,se).stop:Z==null||Z()});const le=x(!1);{const o=b=>{P.value[b.index]=b},l=b=>{delete P.value[b.index]};be("rootMenu",Ce({props:e,openedMenus:c,items:E,subMenus:P,activeIndex:_,isMenuPopup:X,addMenuItem:b=>{E.value[b.index]=b},removeMenuItem:b=>{delete E.value[b.index]},addSubMenu:o,removeSubMenu:l,openMenu:H,closeMenu:L,handleMenuItemClick:ee,handleSubMenuClick:j})),be(`subMenu:${t.uid}`,{addSubMenu:o,removeSubMenu:l,mouseInChild:le,level:0})}return Ee(()=>{e.mode==="horizontal"&&new Dt(t.vnode.el,h.namespace.value)}),s({open:l=>{const{indexPath:r}=P.value[l];r.forEach(y=>H(y,r))},close:F,handleResize:se}),()=>{var o,l;let r=(l=(o=n.default)==null?void 0:o.call(n))!=null?l:[];const y=[];if(e.mode==="horizontal"&&m.value){const f=_t(r),I=p.value===-1?f:f.slice(0,p.value),k=p.value===-1?[]:f.slice(p.value);k!=null&&k.length&&e.ellipsis&&(r=I,y.push(C(Se,{index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>C(Ae,{class:u.e("icon-more")},{default:()=>C(e.ellipsisIcon)}),default:()=>k})))}const b=Fe(e,0),B=e.closeOnClickOutside?[[Ke,()=>{c.value.length&&(le.value||(c.value.forEach(f=>a("close",f,q(f))),c.value=[]))}]]:[],i=ze(C("ul",{key:String(e.collapse),role:"menubar",ref:m,style:b.value,class:{[h.b()]:!0,[h.m(e.mode)]:!0,[h.m("collapse")]:e.collapse}},[...r,...y]),B);return e.collapseTransition&&e.mode==="vertical"?C(Wt,()=>i):i}}});const Jt=Ie({index:{type:_e([String,null]),default:null},route:{type:_e([String,Object])},disabled:Boolean}),Yt={click:e=>K(e.index)&&Array.isArray(e.indexPath)},ge="ElMenuItem",Zt=M({name:ge,components:{ElTooltip:Te},props:Jt,emits:Yt,setup(e,{emit:a}){const n=we(),s=me("rootMenu"),t=$("menu"),d=$("menu-item");s||de(ge,"can not inject root menu");const{parentMenu:m,indexPath:h}=We(n,dt(e,"index")),u=me(`subMenu:${m.value.uid}`);u||de(ge,"can not inject sub menu");const p=v(()=>e.index===s.activeIndex),c=Ce({index:e.index,indexPath:h,active:p}),_=()=>{e.disabled||(s.handleMenuItemClick({index:e.index,indexPath:h.value,route:e.route}),a("click",c))};return Ee(()=>{u.addSubMenu(c),s.addMenuItem(c)}),Be(()=>{u.removeSubMenu(c),s.removeMenuItem(c)}),{parentMenu:m,rootMenu:s,active:p,nsMenu:t,nsMenuItem:d,handleClick:_}}});function Qt(e,a,n,s,t,d){const m=He("el-tooltip");return w(),z("li",{class:R([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:a[0]||(a[0]=(...h)=>e.handleClick&&e.handleClick(...h))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(w(),Q(m,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:S(()=>[T(e.$slots,"title")]),default:S(()=>[ye("div",{class:R(e.nsMenu.be("tooltip","trigger"))},[T(e.$slots,"default")],2)]),_:3},8,["effect"])):(w(),z(pe,{key:1},[T(e.$slots,"default"),T(e.$slots,"title")],64))],2)}var je=W(Zt,[["render",Qt],["__file","menu-item.vue"]]);const Kt={title:String},Xt="ElMenuItemGroup",en=M({name:Xt,props:Kt,setup(){return{ns:$("menu-item-group")}}});function tn(e,a,n,s,t,d){return w(),z("li",{class:R(e.ns.b())},[ye("div",{class:R(e.ns.e("title"))},[e.$slots.title?T(e.$slots,"title",{key:1}):(w(),z(pe,{key:0},[ae(oe(e.title),1)],64))],2),ye("ul",null,[T(e.$slots,"default")])],2)}var qe=W(en,[["render",tn],["__file","menu-item-group.vue"]]);const nn=Ne(Ut,{MenuItem:je,MenuItemGroup:qe,SubMenu:Se}),an=G(je);G(qe);G(Se);const on=mt("adminData",()=>{const e=x(localStorage.getItem("adminPassword")||"");function a(n){e.value=n,localStorage.setItem("adminPassword",n)}return{adminPassword:e,updateAdminPwd:a}}),gn=M({__name:"AdminView",setup(e){const a=pt(),n=x(!1),s=ft(a),{t}=vt(),d=on(),m=ht(),h=x([{name:t("admin.menu.fileManage"),path:"/admin"},{name:t("admin.menu.systemSetting"),path:"/admin/setting"},{name:t("admin.menu.about"),path:"/admin/about"},{name:t("admin.menu.send"),path:"/#/send"},{name:t("admin.menu.receive"),path:"/#/"}]),u=()=>{d.updateAdminPwd(d.adminPassword),gt({url:"/admin/login",method:"post"}).then(p=>{p.code===200?(n.value=!0,ke.success(t("admin.login.loginSuccess"))):ke.error(t("admin.login.loginError"))})};return d.adminPassword!==""&&u(),(p,c)=>{const _=an,E=nn,P=At,X=He("router-view"),U=zt,H=Bt,F=Je,L=Ye,j=Qe,ee=Ze;return n.value?(w(),Q(H,{key:0,style:{height:"100vh",width:"100vw",position:"relative","user-select":"none"}},{default:S(()=>[V(P,null,{default:S(()=>[V(E,{mode:"horizontal",router:"","default-active":g(m).path},{default:S(()=>[(w(!0),z(pe,null,bt(h.value,O=>(w(),Q(_,{index:O.path,key:O.path},{default:S(()=>[ae(oe(O.name),1)]),_:2},1032,["index"]))),128)),V(_,{style:{float:"right"},onClick:c[0]||(c[0]=O=>g(s)(!g(a)))},{default:S(()=>[ae(oe(g(t)("admin.menu.color")),1)]),_:1}),V(_,{style:{float:"right"},onClick:c[1]||(c[1]=O=>{g(d).updateAdminPwd(""),n.value=!1})},{default:S(()=>[ae(oe(g(t)("admin.menu.signout")),1)]),_:1})]),_:1},8,["default-active"])]),_:1}),V(U,null,{default:S(()=>[V(X)]),_:1})]),_:1})):(w(),Q(ee,{key:1,size:"large"},{default:S(()=>[V(j,{label:g(t)("admin.login.managePassword")},{default:S(()=>[V(L,{modelValue:g(d).adminPassword,"onUpdate:modelValue":c[2]||(c[2]=O=>g(d).adminPassword=O),placeholder:g(t)("admin.login.passwordNotEmpty"),type:"password"},{append:S(()=>[V(F,{onClick:u},{default:S(()=>[ae(oe(g(t)("admin.login.login")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1}))}}});export{gn as default};
+import{T as Ue,t as de,E as Je,b as Ye}from"./el-input-DklOLKsm.js";import{E as Ze,a as Qe}from"./el-form-item-uebD4Mim.js";import"./el-tooltip-l0sNRNKZ.js";import{E as Te,C as Ke}from"./el-popper-CE96w3Lg.js";import{d as M,u as $,o as w,e as Q,w as S,r as T,aD as Pe,b1 as Xe,g,T as Oe,_ as W,aS as et,a as v,Y as z,f as R,h as Me,j as Ne,al as G,E as A,J as ue,F as fe,aJ as tt,b as Ie,aL as ne,l as me,t as x,b2 as nt,b3 as at,v as Ce,R as ie,p as be,S as Ee,U as Be,A as C,H as K,M as Ae,B as ze,D as ot,ab as pe,aQ as we,aR as xe,k as _e,m as st,b4 as lt,aH as ut,b5 as it,s as rt,an as $e,n as ct,aB as dt,V as He,W as ye,a1 as ae,$ as oe,aW as mt,aY as pt,aZ as ft,a8 as vt,aa as ht,af as gt,aG as ke,C as V,ac as bt}from"./index-B8Am18SQ.js";import{t as re}from"./aria-nkjrUMQ-.js";import{f as _t}from"./vnode-DxH7DBlv.js";import"./_baseClone-CCxqJySw.js";const yt=M({name:"ElCollapseTransition"}),Mt=M({...yt,setup(e){const a=$("collapse-transition"),n=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},s={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){n(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){n(t)},leaveCancelled(t){n(t)}};return(t,d)=>(w(),Q(Oe,Pe({name:g(a).b()},Xe(s)),{default:S(()=>[T(t.$slots,"default")]),_:3},16,["name"]))}});var ce=W(Mt,[["__file","collapse-transition.vue"]]);ce.install=e=>{e.component(ce.name,ce)};const It=ce,Ct=M({name:"ElContainer"}),Et=M({...Ct,props:{direction:{type:String}},setup(e){const a=e,n=et(),s=$("container"),t=v(()=>a.direction==="vertical"?!0:a.direction==="horizontal"?!1:n&&n.default?n.default().some(m=>{const h=m.type.name;return h==="ElHeader"||h==="ElFooter"}):!1);return(d,m)=>(w(),z("section",{class:R([g(s).b(),g(s).is("vertical",g(t))])},[T(d.$slots,"default")],2))}});var wt=W(Et,[["__file","container.vue"]]);const St=M({name:"ElAside"}),xt=M({...St,props:{width:{type:String,default:null}},setup(e){const a=e,n=$("aside"),s=v(()=>a.width?n.cssVarBlock({width:a.width}):{});return(t,d)=>(w(),z("aside",{class:R(g(n).b()),style:Me(g(s))},[T(t.$slots,"default")],6))}});var Le=W(xt,[["__file","aside.vue"]]);const $t=M({name:"ElFooter"}),kt=M({...$t,props:{height:{type:String,default:null}},setup(e){const a=e,n=$("footer"),s=v(()=>a.height?n.cssVarBlock({height:a.height}):{});return(t,d)=>(w(),z("footer",{class:R(g(n).b()),style:Me(g(s))},[T(t.$slots,"default")],6))}});var De=W(kt,[["__file","footer.vue"]]);const Tt=M({name:"ElHeader"}),Pt=M({...Tt,props:{height:{type:String,default:null}},setup(e){const a=e,n=$("header"),s=v(()=>a.height?n.cssVarBlock({height:a.height}):{});return(t,d)=>(w(),z("header",{class:R(g(n).b()),style:Me(g(s))},[T(t.$slots,"default")],6))}});var Ve=W(Pt,[["__file","header.vue"]]);const Ot=M({name:"ElMain"}),Nt=M({...Ot,setup(e){const a=$("main");return(n,s)=>(w(),z("main",{class:R(g(a).b())},[T(n.$slots,"default")],2))}});var Re=W(Nt,[["__file","main.vue"]]);const Bt=Ne(wt,{Aside:Le,Footer:De,Header:Ve,Main:Re});G(Le);G(De);const At=G(Ve),zt=G(Re);let Ht=class{constructor(a,n){this.parent=a,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(a){a===this.subMenuItems.length?a=0:a<0&&(a=this.subMenuItems.length-1),this.subMenuItems[a].focus(),this.subIndex=a}addListeners(){const a=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",s=>{let t=!1;switch(s.code){case A.down:{this.gotoSubIndex(this.subIndex+1),t=!0;break}case A.up:{this.gotoSubIndex(this.subIndex-1),t=!0;break}case A.tab:{re(a,"mouseleave");break}case A.enter:case A.space:{t=!0,s.currentTarget.click();break}}return t&&(s.preventDefault(),s.stopPropagation()),!1})})}},Lt=class{constructor(a,n){this.domNode=a,this.submenu=null,this.submenu=null,this.init(n)}init(a){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${a}-menu`);n&&(this.submenu=new Ht(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",a=>{let n=!1;switch(a.code){case A.down:{re(a.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case A.up:{re(a.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case A.tab:{re(a.currentTarget,"mouseleave");break}case A.enter:case A.space:{n=!0,a.currentTarget.click();break}}n&&a.preventDefault()})}},Dt=class{constructor(a,n){this.domNode=a,this.init(n)}init(a){const n=this.domNode.childNodes;Array.from(n).forEach(s=>{s.nodeType===1&&new Lt(s,a)})}};const Vt=M({name:"ElMenuCollapseTransition",setup(){const e=$("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,s){ue(n,`${e.namespace.value}-opacity-transition`),n.style.opacity="1",s()},onAfterEnter(n){fe(n,`${e.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),tt(n,e.m("collapse"))?(fe(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),ue(n,e.m("collapse"))):(ue(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),fe(n,e.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){ue(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function Rt(e,a,n,s,t,d){return w(),Q(Oe,Pe({mode:"out-in"},e.listeners),{default:S(()=>[T(e.$slots,"default")]),_:3},16)}var Wt=W(Vt,[["render",Rt],["__file","menu-collapse-transition.vue"]]);function We(e,a){const n=v(()=>{let t=e.parent;const d=[a.value];for(;t.type.name!=="ElMenu";)t.props.index&&d.unshift(t.props.index),t=t.parent;return d});return{parentMenu:v(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:n}}function Ft(e){return v(()=>{const n=e.backgroundColor;return n?new Ue(n).shade(20).toString():""})}const Fe=(e,a)=>{const n=$("menu");return v(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ft(e).value||"","active-color":e.activeTextColor||"",level:`${a}`}))},jt=Ie({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:ne},expandOpenIcon:{type:ne},collapseCloseIcon:{type:ne},collapseOpenIcon:{type:ne}}),ve="ElSubMenu";var Se=M({name:ve,props:jt,setup(e,{slots:a,expose:n}){const s=we(),{indexPath:t,parentMenu:d}=We(s,v(()=>e.index)),m=$("menu"),h=$("sub-menu"),u=me("rootMenu");u||de(ve,"can not inject root menu");const p=me(`subMenu:${d.value.uid}`);p||de(ve,"can not inject sub menu");const c=x({}),_=x({});let E;const P=x(!1),X=x(),U=x(null),H=v(()=>q.value==="horizontal"&&L.value?"bottom-start":"right-start"),F=v(()=>q.value==="horizontal"&&L.value||q.value==="vertical"&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?N.value?e.expandOpenIcon:e.expandCloseIcon:nt:e.collapseCloseIcon&&e.collapseOpenIcon?N.value?e.collapseOpenIcon:e.collapseCloseIcon:at),L=v(()=>p.level===0),j=v(()=>{const i=e.teleported;return i===void 0?L.value:i}),ee=v(()=>u.props.collapse?`${m.namespace.value}-zoom-in-left`:`${m.namespace.value}-zoom-in-top`),O=v(()=>q.value==="horizontal"&&L.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),N=v(()=>u.openedMenus.includes(e.index)),J=v(()=>{let i=!1;return Object.values(c.value).forEach(f=>{f.active&&(i=!0)}),Object.values(_.value).forEach(f=>{f.active&&(i=!0)}),i}),q=v(()=>u.props.mode),Y=Ce({index:e.index,indexPath:t,active:J}),te=Fe(u.props,p.level+1),se=v(()=>{var i;return(i=e.popperOffset)!=null?i:u.props.popperOffset}),Z=v(()=>{var i;return(i=e.popperClass)!=null?i:u.props.popperClass}),le=v(()=>{var i;return(i=e.showTimeout)!=null?i:u.props.showTimeout}),o=v(()=>{var i;return(i=e.hideTimeout)!=null?i:u.props.hideTimeout}),l=()=>{var i,f,I;return(I=(f=(i=U.value)==null?void 0:i.popperRef)==null?void 0:f.popperInstanceRef)==null?void 0:I.destroy()},r=i=>{i||l()},y=()=>{u.props.menuTrigger==="hover"&&u.props.mode==="horizontal"||u.props.collapse&&u.props.mode==="vertical"||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:t.value,active:J.value})},b=(i,f=le.value)=>{var I;if(i.type!=="focus"){if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"||e.disabled){p.mouseInChild.value=!0;return}p.mouseInChild.value=!0,E==null||E(),{stop:E}=xe(()=>{u.openMenu(e.index,t.value)},f),j.value&&((I=d.value.vnode.el)==null||I.dispatchEvent(new MouseEvent("mouseenter")))}},B=(i=!1)=>{var f;if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"){p.mouseInChild.value=!1;return}E==null||E(),p.mouseInChild.value=!1,{stop:E}=xe(()=>!P.value&&u.closeMenu(e.index,t.value),o.value),j.value&&i&&((f=p.handleMouseleave)==null||f.call(p,!0))};ie(()=>u.props.collapse,i=>r(!!i));{const i=I=>{_.value[I.index]=I},f=I=>{delete _.value[I.index]};be(`subMenu:${s.uid}`,{addSubMenu:i,removeSubMenu:f,handleMouseleave:B,mouseInChild:P,level:p.level+1})}return n({opened:N}),Ee(()=>{u.addSubMenu(Y),p.addSubMenu(Y)}),Be(()=>{p.removeSubMenu(Y),u.removeSubMenu(Y)}),()=>{var i;const f=[(i=a.title)==null?void 0:i.call(a),C(Ae,{class:h.e("icon-arrow"),style:{transform:N.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>K(F.value)?C(s.appContext.components[F.value]):C(F.value)})],I=u.isMenuPopup?C(Te,{ref:U,visible:N.value,effect:"light",pure:!0,offset:se.value,showArrow:!1,persistent:!0,popperClass:Z.value,placement:H.value,teleported:j.value,fallbackPlacements:O.value,transition:ee.value,gpuAcceleration:!1},{content:()=>{var k;return C("div",{class:[m.m(q.value),m.m("popup-container"),Z.value],onMouseenter:D=>b(D,100),onMouseleave:()=>B(!0),onFocus:D=>b(D,100)},[C("ul",{class:[m.b(),m.m("popup"),m.m(`popup-${H.value}`)],style:te.value},[(k=a.default)==null?void 0:k.call(a)])])},default:()=>C("div",{class:h.e("title"),onClick:y},f)}):C(pe,{},[C("div",{class:h.e("title"),ref:X,onClick:y},f),C(It,{},{default:()=>{var k;return ze(C("ul",{role:"menu",class:[m.b(),m.m("inline")],style:te.value},[(k=a.default)==null?void 0:k.call(a)]),[[ot,N.value]])}})]);return C("li",{class:[h.b(),h.is("active",J.value),h.is("opened",N.value),h.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:N.value,onMouseenter:b,onMouseleave:()=>B(),onFocus:b},[I])}}});const qt=Ie({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:_e(Array),default:()=>st([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:ne,default:()=>lt},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),he=e=>Array.isArray(e)&&e.every(a=>K(a)),Gt={close:(e,a)=>K(e)&&he(a),open:(e,a)=>K(e)&&he(a),select:(e,a,n,s)=>K(e)&&he(a)&&rt(n)&&(s===void 0||s instanceof Promise)};var Ut=M({name:"ElMenu",props:qt,emits:Gt,setup(e,{emit:a,slots:n,expose:s}){const t=we(),d=t.appContext.config.globalProperties.$router,m=x(),h=$("menu"),u=$("sub-menu"),p=x(-1),c=x(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),_=x(e.defaultActive),E=x({}),P=x({}),X=v(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),U=()=>{const o=_.value&&E.value[_.value];if(!o||e.mode==="horizontal"||e.collapse)return;o.indexPath.forEach(r=>{const y=P.value[r];y&&H(r,y.indexPath)})},H=(o,l)=>{c.value.includes(o)||(e.uniqueOpened&&(c.value=c.value.filter(r=>l.includes(r))),c.value.push(o),a("open",o,l))},F=o=>{const l=c.value.indexOf(o);l!==-1&&c.value.splice(l,1)},L=(o,l)=>{F(o),a("close",o,l)},j=({index:o,indexPath:l})=>{c.value.includes(o)?L(o,l):H(o,l)},ee=o=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:l,indexPath:r}=o;if(!($e(l)||$e(r)))if(e.router&&d){const y=o.route||l,b=d.push(y).then(B=>(B||(_.value=l),B));a("select",l,r,{index:l,indexPath:r,route:y},b)}else _.value=l,a("select",l,r,{index:l,indexPath:r})},O=o=>{const l=E.value,r=l[o]||_.value&&l[_.value]||l[e.defaultActive];r?_.value=r.index:_.value=o},N=o=>{const l=getComputedStyle(o),r=Number.parseInt(l.marginLeft,10),y=Number.parseInt(l.marginRight,10);return o.offsetWidth+r+y||0},J=()=>{var o,l;if(!m.value)return-1;const r=Array.from((l=(o=m.value)==null?void 0:o.childNodes)!=null?l:[]).filter(D=>D.nodeName!=="#comment"&&(D.nodeName!=="#text"||D.nodeValue)),y=64,b=getComputedStyle(m.value),B=Number.parseInt(b.paddingLeft,10),i=Number.parseInt(b.paddingRight,10),f=m.value.clientWidth-B-i;let I=0,k=0;return r.forEach((D,Ge)=>{I+=N(D),I<=f-y&&(k=Ge+1)}),k===r.length?-1:k},q=o=>P.value[o].indexPath,Y=(o,l=33.34)=>{let r;return()=>{r&&clearTimeout(r),r=setTimeout(()=>{o()},l)}};let te=!0;const se=()=>{if(p.value===J())return;const o=()=>{p.value=-1,ct(()=>{p.value=J()})};te?o():Y(o)(),te=!1};ie(()=>e.defaultActive,o=>{E.value[o]||(_.value=""),O(o)}),ie(()=>e.collapse,o=>{o&&(c.value=[])}),ie(E.value,U);let Z;ut(()=>{e.mode==="horizontal"&&e.ellipsis?Z=it(m,se).stop:Z==null||Z()});const le=x(!1);{const o=b=>{P.value[b.index]=b},l=b=>{delete P.value[b.index]};be("rootMenu",Ce({props:e,openedMenus:c,items:E,subMenus:P,activeIndex:_,isMenuPopup:X,addMenuItem:b=>{E.value[b.index]=b},removeMenuItem:b=>{delete E.value[b.index]},addSubMenu:o,removeSubMenu:l,openMenu:H,closeMenu:L,handleMenuItemClick:ee,handleSubMenuClick:j})),be(`subMenu:${t.uid}`,{addSubMenu:o,removeSubMenu:l,mouseInChild:le,level:0})}return Ee(()=>{e.mode==="horizontal"&&new Dt(t.vnode.el,h.namespace.value)}),s({open:l=>{const{indexPath:r}=P.value[l];r.forEach(y=>H(y,r))},close:F,handleResize:se}),()=>{var o,l;let r=(l=(o=n.default)==null?void 0:o.call(n))!=null?l:[];const y=[];if(e.mode==="horizontal"&&m.value){const f=_t(r),I=p.value===-1?f:f.slice(0,p.value),k=p.value===-1?[]:f.slice(p.value);k!=null&&k.length&&e.ellipsis&&(r=I,y.push(C(Se,{index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>C(Ae,{class:u.e("icon-more")},{default:()=>C(e.ellipsisIcon)}),default:()=>k})))}const b=Fe(e,0),B=e.closeOnClickOutside?[[Ke,()=>{c.value.length&&(le.value||(c.value.forEach(f=>a("close",f,q(f))),c.value=[]))}]]:[],i=ze(C("ul",{key:String(e.collapse),role:"menubar",ref:m,style:b.value,class:{[h.b()]:!0,[h.m(e.mode)]:!0,[h.m("collapse")]:e.collapse}},[...r,...y]),B);return e.collapseTransition&&e.mode==="vertical"?C(Wt,()=>i):i}}});const Jt=Ie({index:{type:_e([String,null]),default:null},route:{type:_e([String,Object])},disabled:Boolean}),Yt={click:e=>K(e.index)&&Array.isArray(e.indexPath)},ge="ElMenuItem",Zt=M({name:ge,components:{ElTooltip:Te},props:Jt,emits:Yt,setup(e,{emit:a}){const n=we(),s=me("rootMenu"),t=$("menu"),d=$("menu-item");s||de(ge,"can not inject root menu");const{parentMenu:m,indexPath:h}=We(n,dt(e,"index")),u=me(`subMenu:${m.value.uid}`);u||de(ge,"can not inject sub menu");const p=v(()=>e.index===s.activeIndex),c=Ce({index:e.index,indexPath:h,active:p}),_=()=>{e.disabled||(s.handleMenuItemClick({index:e.index,indexPath:h.value,route:e.route}),a("click",c))};return Ee(()=>{u.addSubMenu(c),s.addMenuItem(c)}),Be(()=>{u.removeSubMenu(c),s.removeMenuItem(c)}),{parentMenu:m,rootMenu:s,active:p,nsMenu:t,nsMenuItem:d,handleClick:_}}});function Qt(e,a,n,s,t,d){const m=He("el-tooltip");return w(),z("li",{class:R([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:a[0]||(a[0]=(...h)=>e.handleClick&&e.handleClick(...h))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(w(),Q(m,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:S(()=>[T(e.$slots,"title")]),default:S(()=>[ye("div",{class:R(e.nsMenu.be("tooltip","trigger"))},[T(e.$slots,"default")],2)]),_:3},8,["effect"])):(w(),z(pe,{key:1},[T(e.$slots,"default"),T(e.$slots,"title")],64))],2)}var je=W(Zt,[["render",Qt],["__file","menu-item.vue"]]);const Kt={title:String},Xt="ElMenuItemGroup",en=M({name:Xt,props:Kt,setup(){return{ns:$("menu-item-group")}}});function tn(e,a,n,s,t,d){return w(),z("li",{class:R(e.ns.b())},[ye("div",{class:R(e.ns.e("title"))},[e.$slots.title?T(e.$slots,"title",{key:1}):(w(),z(pe,{key:0},[ae(oe(e.title),1)],64))],2),ye("ul",null,[T(e.$slots,"default")])],2)}var qe=W(en,[["render",tn],["__file","menu-item-group.vue"]]);const nn=Ne(Ut,{MenuItem:je,MenuItemGroup:qe,SubMenu:Se}),an=G(je);G(qe);G(Se);const on=mt("adminData",()=>{const e=x(localStorage.getItem("adminPassword")||"");function a(n){e.value=n,localStorage.setItem("adminPassword",n)}return{adminPassword:e,updateAdminPwd:a}}),gn=M({__name:"AdminView",setup(e){const a=pt(),n=x(!1),s=ft(a),{t}=vt(),d=on(),m=ht(),h=x([{name:t("admin.menu.fileManage"),path:"/admin"},{name:t("admin.menu.systemSetting"),path:"/admin/setting"},{name:t("admin.menu.about"),path:"/admin/about"},{name:t("admin.menu.send"),path:"/#/send"},{name:t("admin.menu.receive"),path:"/#/"}]),u=()=>{d.updateAdminPwd(d.adminPassword),gt({url:"/admin/login",method:"post"}).then(p=>{p.code===200?(n.value=!0,ke.success(t("admin.login.loginSuccess"))):ke.error(t("admin.login.loginError"))})};return d.adminPassword!==""&&u(),(p,c)=>{const _=an,E=nn,P=At,X=He("router-view"),U=zt,H=Bt,F=Je,L=Ye,j=Qe,ee=Ze;return n.value?(w(),Q(H,{key:0,style:{height:"100vh",width:"100vw",position:"relative","user-select":"none"}},{default:S(()=>[V(P,null,{default:S(()=>[V(E,{mode:"horizontal",router:"","default-active":g(m).path},{default:S(()=>[(w(!0),z(pe,null,bt(h.value,O=>(w(),Q(_,{index:O.path,key:O.path},{default:S(()=>[ae(oe(O.name),1)]),_:2},1032,["index"]))),128)),V(_,{style:{float:"right"},onClick:c[0]||(c[0]=O=>g(s)(!g(a)))},{default:S(()=>[ae(oe(g(t)("admin.menu.color")),1)]),_:1}),V(_,{style:{float:"right"},onClick:c[1]||(c[1]=O=>{g(d).updateAdminPwd(""),n.value=!1})},{default:S(()=>[ae(oe(g(t)("admin.menu.signout")),1)]),_:1})]),_:1},8,["default-active"])]),_:1}),V(U,null,{default:S(()=>[V(X)]),_:1})]),_:1})):(w(),Q(ee,{key:1,size:"large"},{default:S(()=>[V(j,{label:g(t)("admin.login.managePassword")},{default:S(()=>[V(L,{modelValue:g(d).adminPassword,"onUpdate:modelValue":c[2]||(c[2]=O=>g(d).adminPassword=O),placeholder:g(t)("admin.login.passwordNotEmpty"),type:"password"},{append:S(()=>[V(F,{onClick:u},{default:S(()=>[ae(oe(g(t)("admin.login.login")),1)]),_:1})]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1}))}}});export{gn as default};
diff --git a/fcb-fronted/dist/assets/FileView-C65Ik9Hh.js b/fcb-fronted/dist/assets/FileView-e5CSuy2N.js
similarity index 99%
rename from fcb-fronted/dist/assets/FileView-C65Ik9Hh.js
rename to fcb-fronted/dist/assets/FileView-e5CSuy2N.js
index df0c66a15..11673b216 100644
--- a/fcb-fronted/dist/assets/FileView-C65Ik9Hh.js
+++ b/fcb-fronted/dist/assets/FileView-e5CSuy2N.js
@@ -1,4 +1,4 @@
-import{s as xn,o as En,j as kn,k as Qt,l as Nn,e as vl,U as ft,d as Pn,f as Ht,h as Bt,c as wt,g as gl,p as Ln,b as Rn,t as Mn,E as Fn}from"./el-input-Bra5w62E.js";import"./el-tag-BdmXuWOW.js";import{b as $n,i as ml,a as On,E as Tn,d as at,c as bl}from"./el-select-B1MAtda_.js";import{i as ht,g as zn,k as An,c as Wn,a as yl,b as Hn,d as Bn,e as Vn,f as _n,h as In,j as Kn,S as Dn,E as Cl,C as jn}from"./el-popper-DA6dI8BR.js";import"./el-tooltip-l0sNRNKZ.js";import{b6 as Vt,b7 as Un,b8 as wl,b9 as Sl,ba as qn,bb as Gn,bc as St,bd as Yn,be as Xn,G as Be,ag as pt,H as xt,q as Ce,ah as ot,l as fe,a as L,a5 as st,R as se,n as Me,aQ as re,t as N,am as Ve,ai as Et,s as kt,bf as Zt,aj as We,d as U,aS as xl,u as Q,o as O,e as ne,w as X,W as J,f as z,g as y,B as Re,Y as V,K as qe,X as rt,bg as it,r as Pe,ab as _e,a1 as ze,$ as Y,Z as ce,i as vt,_ as xe,h as $e,b as Fe,k as _t,p as It,y as El,j as Kt,al as Dt,aL as ut,ap as Le,M as Xe,m as kl,c as Nl,C as j,ac as dt,aH as He,bh as Jn,bi as el,bj as Qn,a0 as Zn,bk as ea,b3 as jt,bl as ta,A,a4 as Ge,a3 as tl,bm as ll,b2 as la,bn as na,V as we,bo as Pl,bp as Ll,S as Je,aX as aa,aE as Ut,J as ct,a7 as oa,aJ as Ze,F as Ye,bq as nl,b5 as al,D as ol,br as sa,P as ra,bs as ia,U as ua,a8 as da,af as mt,aG as bt}from"./index-BMDdhWSk.js";function ca(e,t){return xn(En(e,t,kn),e+"")}function fa(e,t,l){if(!Vt(l))return!1;var n=typeof t;return(n=="number"?ht(l)&&Un(t,l.length):n=="string"&&t in l)?wl(l[t],e):!1}function ha(e){return ca(function(t,l){var n=-1,o=l.length,r=o>1?l[o-1]:void 0,i=o>2?l[2]:void 0;for(r=e.length>3&&typeof r=="function"?(o--,r):void 0,i&&fa(l[0],l[1],i)&&(r=o<3?void 0:r,o=1),t=Object(t);++nBe?window.requestAnimationFrame(e):setTimeout(e,16);var sl=!1,Oe,Lt,Rt,et,tt,$l,lt,Mt,Ft,$t,Ol,Ot,Tt,Tl,zl;function pe(){if(!sl){sl=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),l=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Ot=/\b(iPhone|iP[ao]d)/.exec(e),Tt=/\b(iP[ao]d)/.exec(e),$t=/Android/i.exec(e),Tl=/FBAN\/\w+;/i.exec(e),zl=/Mobile/i.exec(e),Ol=!!/Win64/.exec(e),t){Oe=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Oe&&document&&document.documentMode&&(Oe=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);$l=n?parseFloat(n[1])+4:Oe,Lt=t[2]?parseFloat(t[2]):NaN,Rt=t[3]?parseFloat(t[3]):NaN,et=t[4]?parseFloat(t[4]):NaN,et?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),tt=t&&t[1]?parseFloat(t[1]):NaN):tt=NaN}else Oe=Lt=Rt=tt=et=NaN;if(l){if(l[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);lt=o?parseFloat(o[1].replace("_",".")):!0}else lt=!1;Mt=!!l[2],Ft=!!l[3]}else lt=Mt=Ft=!1}}var zt={ie:function(){return pe()||Oe},ieCompatibilityMode:function(){return pe()||$l>Oe},ie64:function(){return zt.ie()&&Ol},firefox:function(){return pe()||Lt},opera:function(){return pe()||Rt},webkit:function(){return pe()||et},safari:function(){return zt.webkit()},chrome:function(){return pe()||tt},windows:function(){return pe()||Mt},osx:function(){return pe()||lt},linux:function(){return pe()||Ft},iphone:function(){return pe()||Ot},mobile:function(){return pe()||Ot||Tt||$t||zl},nativeApp:function(){return pe()||Tl},android:function(){return pe()||$t},ipad:function(){return pe()||Tt}},$a=zt,Qe=!!(typeof window<"u"&&window.document&&window.document.createElement),Oa={canUseDOM:Qe,canUseWorkers:typeof Worker<"u",canUseEventListeners:Qe&&!!(window.addEventListener||window.attachEvent),canUseViewport:Qe&&!!window.screen,isInWorker:!Qe},Al=Oa,Wl;Al.canUseDOM&&(Wl=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Ta(e,t){if(!Al.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var o=document.createElement("div");o.setAttribute(l,"return;"),n=typeof o[l]=="function"}return!n&&Wl&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var za=Ta,rl=10,il=40,ul=800;function Hl(e){var t=0,l=0,n=0,o=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=t*rl,o=l*rl,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(e.deltaMode==1?(n*=il,o*=il):(n*=ul,o*=ul)),n&&!t&&(t=n<1?-1:1),o&&!l&&(l=o<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:o}}Hl.getEventType=function(){return $a.firefox()?"DOMMouseScroll":za("wheel")?"wheel":"mousewheel"};var Aa=Hl;/**
+import{s as xn,o as En,j as kn,k as Qt,l as Nn,e as vl,U as ft,d as Pn,f as Ht,h as Bt,c as wt,g as gl,p as Ln,b as Rn,t as Mn,E as Fn}from"./el-input-DklOLKsm.js";import"./el-tag-m5-RVRsg.js";import{b as $n,i as ml,a as On,E as Tn,d as at,c as bl}from"./el-select-3CzptGtE.js";import{i as ht,g as zn,k as An,c as Wn,a as yl,b as Hn,d as Bn,e as Vn,f as _n,h as In,j as Kn,S as Dn,E as Cl,C as jn}from"./el-popper-CE96w3Lg.js";import"./el-tooltip-l0sNRNKZ.js";import{b6 as Vt,b7 as Un,b8 as wl,b9 as Sl,ba as qn,bb as Gn,bc as St,bd as Yn,be as Xn,G as Be,ag as pt,H as xt,q as Ce,ah as ot,l as fe,a as L,a5 as st,R as se,n as Me,aQ as re,t as N,am as Ve,ai as Et,s as kt,bf as Zt,aj as We,d as U,aS as xl,u as Q,o as O,e as ne,w as X,W as J,f as z,g as y,B as Re,Y as V,K as qe,X as rt,bg as it,r as Pe,ab as _e,a1 as ze,$ as Y,Z as ce,i as vt,_ as xe,h as $e,b as Fe,k as _t,p as It,y as El,j as Kt,al as Dt,aL as ut,ap as Le,M as Xe,m as kl,c as Nl,C as j,ac as dt,aH as He,bh as Jn,bi as el,bj as Qn,a0 as Zn,bk as ea,b3 as jt,bl as ta,A,a4 as Ge,a3 as tl,bm as ll,b2 as la,bn as na,V as we,bo as Pl,bp as Ll,S as Je,aX as aa,aE as Ut,J as ct,a7 as oa,aJ as Ze,F as Ye,bq as nl,b5 as al,D as ol,br as sa,P as ra,bs as ia,U as ua,a8 as da,af as mt,aG as bt}from"./index-B8Am18SQ.js";function ca(e,t){return xn(En(e,t,kn),e+"")}function fa(e,t,l){if(!Vt(l))return!1;var n=typeof t;return(n=="number"?ht(l)&&Un(t,l.length):n=="string"&&t in l)?wl(l[t],e):!1}function ha(e){return ca(function(t,l){var n=-1,o=l.length,r=o>1?l[o-1]:void 0,i=o>2?l[2]:void 0;for(r=e.length>3&&typeof r=="function"?(o--,r):void 0,i&&fa(l[0],l[1],i)&&(r=o<3?void 0:r,o=1),t=Object(t);++nBe?window.requestAnimationFrame(e):setTimeout(e,16);var sl=!1,Oe,Lt,Rt,et,tt,$l,lt,Mt,Ft,$t,Ol,Ot,Tt,Tl,zl;function pe(){if(!sl){sl=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),l=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Ot=/\b(iPhone|iP[ao]d)/.exec(e),Tt=/\b(iP[ao]d)/.exec(e),$t=/Android/i.exec(e),Tl=/FBAN\/\w+;/i.exec(e),zl=/Mobile/i.exec(e),Ol=!!/Win64/.exec(e),t){Oe=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Oe&&document&&document.documentMode&&(Oe=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);$l=n?parseFloat(n[1])+4:Oe,Lt=t[2]?parseFloat(t[2]):NaN,Rt=t[3]?parseFloat(t[3]):NaN,et=t[4]?parseFloat(t[4]):NaN,et?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),tt=t&&t[1]?parseFloat(t[1]):NaN):tt=NaN}else Oe=Lt=Rt=tt=et=NaN;if(l){if(l[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);lt=o?parseFloat(o[1].replace("_",".")):!0}else lt=!1;Mt=!!l[2],Ft=!!l[3]}else lt=Mt=Ft=!1}}var zt={ie:function(){return pe()||Oe},ieCompatibilityMode:function(){return pe()||$l>Oe},ie64:function(){return zt.ie()&&Ol},firefox:function(){return pe()||Lt},opera:function(){return pe()||Rt},webkit:function(){return pe()||et},safari:function(){return zt.webkit()},chrome:function(){return pe()||tt},windows:function(){return pe()||Mt},osx:function(){return pe()||lt},linux:function(){return pe()||Ft},iphone:function(){return pe()||Ot},mobile:function(){return pe()||Ot||Tt||$t||zl},nativeApp:function(){return pe()||Tl},android:function(){return pe()||$t},ipad:function(){return pe()||Tt}},$a=zt,Qe=!!(typeof window<"u"&&window.document&&window.document.createElement),Oa={canUseDOM:Qe,canUseWorkers:typeof Worker<"u",canUseEventListeners:Qe&&!!(window.addEventListener||window.attachEvent),canUseViewport:Qe&&!!window.screen,isInWorker:!Qe},Al=Oa,Wl;Al.canUseDOM&&(Wl=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Ta(e,t){if(!Al.canUseDOM||t&&!("addEventListener"in document))return!1;var l="on"+e,n=l in document;if(!n){var o=document.createElement("div");o.setAttribute(l,"return;"),n=typeof o[l]=="function"}return!n&&Wl&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var za=Ta,rl=10,il=40,ul=800;function Hl(e){var t=0,l=0,n=0,o=0;return"detail"in e&&(l=e.detail),"wheelDelta"in e&&(l=-e.wheelDelta/120),"wheelDeltaY"in e&&(l=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=l,l=0),n=t*rl,o=l*rl,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(e.deltaMode==1?(n*=il,o*=il):(n*=ul,o*=ul)),n&&!t&&(t=n<1?-1:1),o&&!l&&(l=o<1?-1:1),{spinX:t,spinY:l,pixelX:n,pixelY:o}}Hl.getEventType=function(){return $a.firefox()?"DOMMouseScroll":za("wheel")?"wheel":"mousewheel"};var Aa=Hl;/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
diff --git a/fcb-fronted/dist/assets/HomeView-CeyZT6_Z.js b/fcb-fronted/dist/assets/HomeView-A33iSQLm.js
similarity index 98%
rename from fcb-fronted/dist/assets/HomeView-CeyZT6_Z.js
rename to fcb-fronted/dist/assets/HomeView-A33iSQLm.js
index 4740b582c..0ea04aa20 100644
--- a/fcb-fronted/dist/assets/HomeView-CeyZT6_Z.js
+++ b/fcb-fronted/dist/assets/HomeView-A33iSQLm.js
@@ -1 +1 @@
-import{E as Ae,a as We,b as Re,u as ye}from"./el-input-Bra5w62E.js";import{E as Xe,u as Ye,a as Je,b as Qe,c as xe,d as en,e as nn,f as tn,_ as on}from"./config-Dd9kAMTg.js";import{c as sn,n as O,E as ln,b as Ve,d as P,u as Oe,a as B,p as an,o as C,e as I,w as m,r as de,f as p,g as w,h as oe,i as D,_ as ce,j as Ne,k as K,m as U,l as rn,q as Ce,s as le,t as L,v as fe,x as un,y as Pe,z as ze,A as q,B as G,C as f,D as ne,T as je,F as se,G as De,H as ae,I as Z,J as he,K as dn,L as cn,M as fn,N as mn,O as Ee,P as we,Q as Be,R as ie,S as Fe,U as vn,V as j,W as $,X as Q,Y as F,Z as V,$ as R,a0 as x,a1 as W,a2 as _e,a3 as He,a4 as ke,a5 as pn,a6 as $e,a7 as Se,a8 as gn,a9 as bn,aa as yn,ab as Cn,ac as hn,ad as En,ae as wn,af as Bn}from"./index-BMDdhWSk.js";import{o as Ie}from"./aria-nkjrUMQ-.js";import"./el-tag-BdmXuWOW.js";import"./vnode-DODt4a8F.js";const kn=e=>["",...sn].includes(e),ue="_trap-focus-children",N=[],Le=e=>{if(N.length===0)return;const n=N[N.length-1][ue];if(n.length>0&&e.code===ln.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const t=e.shiftKey,s=e.target===n[0],i=e.target===n[n.length-1];s&&t&&(e.preventDefault(),n[n.length-1].focus()),i&&!t&&(e.preventDefault(),n[0].focus())}},$n={beforeMount(e){e[ue]=Ie(e),N.push(e),N.length<=1&&document.addEventListener("keydown",Le)},updated(e){O(()=>{e[ue]=Ie(e)})},unmounted(){N.shift(),N.length===0&&document.removeEventListener("keydown",Le)}},Ke=Symbol("rowContextKey"),Sn=["start","center","end","space-around","space-between","space-evenly"],In=["top","middle","bottom"],Ln=Ve({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Sn,default:"start"},align:{type:String,values:In}}),Tn=P({name:"ElRow"}),Mn=P({...Tn,props:Ln,setup(e){const n=e,t=Oe("row"),s=B(()=>n.gutter);an(Ke,{gutter:s});const i=B(()=>{const a={};return n.gutter&&(a.marginRight=a.marginLeft=`-${n.gutter/2}px`),a}),l=B(()=>[t.b(),t.is(`justify-${n.justify}`,n.justify!=="start"),t.is(`align-${n.align}`,!!n.align)]);return(a,d)=>(C(),I(D(a.tag),{class:p(w(l)),style:oe(w(i))},{default:m(()=>[de(a.$slots,"default")]),_:3},8,["class","style"]))}});var An=ce(Mn,[["__file","row.vue"]]);const Rn=Ne(An),Vn=Ve({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:K([Number,Object]),default:()=>U({})},sm:{type:K([Number,Object]),default:()=>U({})},md:{type:K([Number,Object]),default:()=>U({})},lg:{type:K([Number,Object]),default:()=>U({})},xl:{type:K([Number,Object]),default:()=>U({})}}),On=P({name:"ElCol"}),Nn=P({...On,props:Vn,setup(e){const n=e,{gutter:t}=rn(Ke,{gutter:B(()=>0)}),s=Oe("col"),i=B(()=>{const a={};return t.value&&(a.paddingLeft=a.paddingRight=`${t.value/2}px`),a}),l=B(()=>{const a=[];return["span","offset","pull","push"].forEach(o=>{const g=n[o];Ce(g)&&(o==="span"?a.push(s.b(`${n[o]}`)):g>0&&a.push(s.b(`${o}-${n[o]}`)))}),["xs","sm","md","lg","xl"].forEach(o=>{Ce(n[o])?a.push(s.b(`${o}-${n[o]}`)):le(n[o])&&Object.entries(n[o]).forEach(([g,b])=>{a.push(g!=="span"?s.b(`${o}-${g}-${b}`):s.b(`${o}-${b}`))})}),t.value&&a.push(s.is("guttered")),[s.b(),a]});return(a,d)=>(C(),I(D(a.tag),{class:p(w(l)),style:oe(w(i))},{default:m(()=>[de(a.$slots,"default")]),_:3},8,["class","style"]))}});var Pn=ce(Nn,[["__file","col.vue"]]);const zn=Ne(Pn);function jn(e){let n;const t=L(!1),s=fe({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(r){s.text=r}function l(){const r=s.parent,c=b.ns;if(!r.vLoadingAddClassList){let u=r.getAttribute("loading-number");u=Number.parseInt(u)-1,u?r.setAttribute("loading-number",u.toString()):(se(r,c.bm("parent","relative")),r.removeAttribute("loading-number")),se(r,c.bm("parent","hidden"))}a(),g.unmount()}function a(){var r,c;(c=(r=b.$el)==null?void 0:r.parentNode)==null||c.removeChild(b.$el)}function d(){var r;e.beforeClose&&!e.beforeClose()||(t.value=!0,clearTimeout(n),n=window.setTimeout(y,400),s.visible=!1,(r=e.closed)==null||r.call(e))}function y(){if(!t.value)return;const r=s.parent;t.value=!1,r.vLoadingAddClassList=void 0,l()}const o=P({name:"ElLoading",setup(r,{expose:c}){const{ns:u,zIndex:h}=ze("loading");return c({ns:u,zIndex:h}),()=>{const E=s.spinner||s.svg,k=q("svg",{class:"circular",viewBox:s.svgViewBox?s.svgViewBox:"0 0 50 50",...E?{innerHTML:E}:{}},[q("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),T=s.text?q("p",{class:u.b("text")},[s.text]):void 0;return q(je,{name:u.b("fade"),onAfterLeave:y},{default:m(()=>[G(f("div",{style:{backgroundColor:s.background||""},class:[u.b("mask"),s.customClass,s.fullscreen?"is-fullscreen":""]},[q("div",{class:u.b("spinner")},[k,T])]),[[ne,s.visible]])])})}}}),g=un(o),b=g.mount(document.createElement("div"));return{...Pe(s),setText:i,removeElLoadingChild:a,close:d,handleAfterLeave:y,vm:b,get $el(){return b.$el}}}let ee;const Dn=function(e={}){if(!De)return;const n=Fn(e);if(n.fullscreen&&ee)return ee;const t=jn({...n,closed:()=>{var i;(i=n.closed)==null||i.call(n),n.fullscreen&&(ee=void 0)}});_n(n,n.parent,t),Te(n,n.parent,t),n.parent.vLoadingAddClassList=()=>Te(n,n.parent,t);let s=n.parent.getAttribute("loading-number");return s?s=`${Number.parseInt(s)+1}`:s="1",n.parent.setAttribute("loading-number",s),n.parent.appendChild(t.$el),O(()=>t.visible.value=n.visible),n.fullscreen&&(ee=t),t},Fn=e=>{var n,t,s,i;let l;return ae(e.target)?l=(n=document.querySelector(e.target))!=null?n:document.body:l=e.target||document.body,{parent:l===document.body||e.body?document.body:l,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:l===document.body&&((t=e.fullscreen)!=null?t:!0),lock:(s=e.lock)!=null?s:!1,customClass:e.customClass||"",visible:(i=e.visible)!=null?i:!0,beforeClose:e.beforeClose,closed:e.closed,target:l}},_n=async(e,n,t)=>{const{nextZIndex:s}=t.vm.zIndex||t.vm._.exposed.zIndex,i={};if(e.fullscreen)t.originalPosition.value=Z(document.body,"position"),t.originalOverflow.value=Z(document.body,"overflow"),i.zIndex=s();else if(e.parent===document.body){t.originalPosition.value=Z(document.body,"position"),await O();for(const l of["top","left"]){const a=l==="top"?"scrollTop":"scrollLeft";i[l]=`${e.target.getBoundingClientRect()[l]+document.body[a]+document.documentElement[a]-Number.parseInt(Z(document.body,`margin-${l}`),10)}px`}for(const l of["height","width"])i[l]=`${e.target.getBoundingClientRect()[l]}px`}else t.originalPosition.value=Z(n,"position");for(const[l,a]of Object.entries(i))t.$el.style[l]=a},Te=(e,n,t)=>{const s=t.vm.ns||t.vm._.exposed.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?se(n,s.bm("parent","relative")):he(n,s.bm("parent","relative")),e.fullscreen&&e.lock?he(n,s.bm("parent","hidden")):se(n,s.bm("parent","hidden"))},te=Symbol("ElLoading"),Me=(e,n)=>{var t,s,i,l;const a=n.instance,d=r=>le(n.value)?n.value[r]:void 0,y=r=>{const c=ae(r)&&(a==null?void 0:a[r])||r;return c&&L(c)},o=r=>y(d(r)||e.getAttribute(`element-loading-${cn(r)}`)),g=(t=d("fullscreen"))!=null?t:n.modifiers.fullscreen,b={text:o("text"),svg:o("svg"),svgViewBox:o("svgViewBox"),spinner:o("spinner"),background:o("background"),customClass:o("customClass"),fullscreen:g,target:(s=d("target"))!=null?s:g?void 0:e,body:(i=d("body"))!=null?i:n.modifiers.body,lock:(l=d("lock"))!=null?l:n.modifiers.lock};e[te]={options:b,instance:Dn(b)}},Hn=(e,n)=>{for(const t of Object.keys(n))dn(n[t])&&(n[t].value=e[t])},Kn={mounted(e,n){n.value&&Me(e,n)},updated(e,n){const t=e[te];n.oldValue!==n.value&&(n.value&&!n.oldValue?Me(e,n):n.value&&n.oldValue?le(n.value)&&Hn(n.value,t.options):t==null||t.instance.close())},unmounted(e){var n;(n=e[te])==null||n.instance.close(),e[te]=null}},Un=P({name:"ElMessageBox",directives:{TrapFocus:$n},components:{ElButton:Ae,ElFocusTrap:We,ElInput:Re,ElOverlay:Xe,ElIcon:fn,...mn},inheritAttrs:!1,props:{buttonSize:{type:String,validator:kn},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:n}){const{locale:t,zIndex:s,ns:i,size:l}=ze("message-box",B(()=>e.buttonSize)),{t:a}=t,{nextZIndex:d}=s,y=L(!1),o=fe({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Ee(we),cancelButtonLoadingIcon:Ee(we),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:d()}),g=B(()=>{const v=o.type;return{[i.bm("icon",v)]:v&&Be[v]}}),b=ye(),r=ye(),c=B(()=>o.icon||Be[o.type]||""),u=B(()=>!!o.message),h=L(),E=L(),k=L(),T=L(),Y=L(),re=B(()=>o.confirmButtonClass);ie(()=>o.inputValue,async v=>{await O(),e.boxType==="prompt"&&v!==null&&pe()},{immediate:!0}),ie(()=>y.value,v=>{var M,z;v&&(e.boxType!=="prompt"&&(o.autofocus?k.value=(z=(M=Y.value)==null?void 0:M.$el)!=null?z:h.value:k.value=h.value),o.zIndex=d()),e.boxType==="prompt"&&(v?O().then(()=>{var be;T.value&&T.value.$el&&(o.autofocus?k.value=(be=Ze())!=null?be:h.value:k.value=h.value)}):(o.editorErrorMessage="",o.validateError=!1))});const S=B(()=>e.draggable),me=B(()=>e.overflow);Ye(h,E,S,me),Fe(async()=>{await O(),e.closeOnHashChange&&window.addEventListener("hashchange",H)}),vn(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",H)});function H(){y.value&&(y.value=!1,O(()=>{o.action&&n("action",o.action)}))}const ve=()=>{e.closeOnClickModal&&J(o.distinguishCancelAndClose?"close":"cancel")},Ue=Qe(ve),qe=v=>{if(o.inputType!=="textarea")return v.preventDefault(),J("confirm")},J=v=>{var M;e.boxType==="prompt"&&v==="confirm"&&!pe()||(o.action=v,o.beforeClose?(M=o.beforeClose)==null||M.call(o,v,o,H):H())},pe=()=>{if(e.boxType==="prompt"){const v=o.inputPattern;if(v&&!v.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||a("el.messagebox.error"),o.validateError=!0,!1;const M=o.inputValidator;if(typeof M=="function"){const z=M(o.inputValue);if(z===!1)return o.editorErrorMessage=o.inputErrorMessage||a("el.messagebox.error"),o.validateError=!0,!1;if(typeof z=="string")return o.editorErrorMessage=z,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},Ze=()=>{const v=T.value.$refs;return v.input||v.textarea},ge=()=>{J("close")},Ge=()=>{e.closeOnPressEscape&&ge()};return e.lockScroll&&Je(y),{...Pe(o),ns:i,overlayEvent:Ue,visible:y,hasMessage:u,typeClass:g,contentId:b,inputId:r,btnSize:l,iconComponent:c,confirmButtonClasses:re,rootRef:h,focusStartRef:k,headerRef:E,inputRef:T,confirmRef:Y,doClose:H,handleClose:ge,onCloseRequested:Ge,handleWrapperClick:ve,handleInputEnter:qe,handleAction:J,t:a}}}),qn=["aria-label","aria-describedby"],Zn=["aria-label"],Gn=["id"];function Wn(e,n,t,s,i,l){const a=j("el-icon"),d=j("close"),y=j("el-input"),o=j("el-button"),g=j("el-focus-trap"),b=j("el-overlay");return C(),I(je,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=r=>e.$emit("vanish")),persisted:""},{default:m(()=>[G(f(b,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:m(()=>[$("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:p(`${e.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...r)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...r)),onMousedown:n[9]||(n[9]=(...r)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...r)),onMouseup:n[10]||(n[10]=(...r)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...r))},[f(g,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:m(()=>[$("div",{ref:"rootRef",class:p([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=Q(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(C(),F("div",{key:0,ref:"headerRef",class:p([e.ns.e("header"),{"show-close":e.showClose}])},[$("div",{class:p(e.ns.e("title"))},[e.iconComponent&&e.center?(C(),I(a,{key:0,class:p([e.ns.e("status"),e.typeClass])},{default:m(()=>[(C(),I(D(e.iconComponent)))]),_:1},8,["class"])):V("v-if",!0),$("span",null,R(e.title),1)],2),e.showClose?(C(),F("button",{key:0,type:"button",class:p(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:n[0]||(n[0]=r=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=x(Q(r=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[f(a,{class:p(e.ns.e("close"))},{default:m(()=>[f(d)]),_:1},8,["class"])],42,Zn)):V("v-if",!0)],2)):V("v-if",!0),$("div",{id:e.contentId,class:p(e.ns.e("content"))},[$("div",{class:p(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(C(),I(a,{key:0,class:p([e.ns.e("status"),e.typeClass])},{default:m(()=>[(C(),I(D(e.iconComponent)))]),_:1},8,["class"])):V("v-if",!0),e.hasMessage?(C(),F("div",{key:1,class:p(e.ns.e("message"))},[de(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(C(),I(D(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(C(),I(D(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:m(()=>[W(R(e.dangerouslyUseHTMLString?"":e.message),1)]),_:1},8,["for"]))])],2)):V("v-if",!0)],2),G($("div",{class:p(e.ns.e("input"))},[f(y,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":n[2]||(n[2]=r=>e.inputValue=r),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:p({invalid:e.validateError}),onKeydown:x(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),$("div",{class:p(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},R(e.editorErrorMessage),7)],2),[[ne,e.showInput]])],10,Gn),$("div",{class:p(e.ns.e("btns"))},[e.showCancelButton?(C(),I(o,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:p([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:n[3]||(n[3]=r=>e.handleAction("cancel")),onKeydown:n[4]||(n[4]=x(Q(r=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:m(()=>[W(R(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size"])):V("v-if",!0),G(f(o,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:p([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:n[5]||(n[5]=r=>e.handleAction("confirm")),onKeydown:n[6]||(n[6]=x(Q(r=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:m(()=>[W(R(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size"]),[[ne,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,qn)]),_:3},8,["z-index","overlay-class","mask"]),[[ne,e.visible]])]),_:3})}var Xn=ce(Un,[["render",Wn],["__file","index.vue"]]);const X=new Map,Yn=e=>{let n=document.body;return e.appendTo&&(ae(e.appendTo)&&(n=document.querySelector(e.appendTo)),Se(e.appendTo)&&(n=e.appendTo),Se(n)||(n=document.body)),n},Jn=(e,n,t=null)=>{const s=f(Xn,e,$e(e.message)||_e(e.message)?{default:$e(e.message)?e.message:()=>e.message}:null);return s.appContext=t,He(s,n),Yn(e).appendChild(n.firstElementChild),s.component},Qn=()=>document.createElement("div"),xn=(e,n)=>{const t=Qn();e.onVanish=()=>{He(null,t),X.delete(i)},e.onAction=l=>{const a=X.get(i);let d;e.showInput?d={value:i.inputValue,action:l}:d=l,e.callback?e.callback(d,s.proxy):l==="cancel"||l==="close"?e.distinguishCancelAndClose&&l!=="cancel"?a.reject("close"):a.reject("cancel"):a.resolve(d)};const s=Jn(e,t,n),i=s.proxy;for(const l in e)ke(e,l)&&!ke(i.$props,l)&&(i[l]=e[l]);return i.visible=!0,i};function _(e,n=null){if(!De)return Promise.reject();let t;return ae(e)||_e(e)?e={message:e}:t=e.callback,new Promise((s,i)=>{const l=xn(e,n??_._context);X.set(l,{options:e,callback:t,resolve:s,reject:i})})}const et=["alert","confirm","prompt"],nt={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};et.forEach(e=>{_[e]=tt(e)});function tt(e){return(n,t,s,i)=>{let l="";return le(t)?(s=t,l=""):pn(t)?l="":l=t,_(Object.assign({title:l,message:n,type:"",...nt[e]},s,{boxType:e}),i)}}_.close=()=>{X.forEach((e,n)=>{n.doClose()}),X.clear()};_._context=null;const A=_;A.install=e=>{A._context=e._context,e.config.globalProperties.$msgbox=A,e.config.globalProperties.$messageBox=A,e.config.globalProperties.$alert=A.alert,e.config.globalProperties.$confirm=A.confirm,e.config.globalProperties.$prompt=A.prompt};const ot=A,st={style:{"text-align":"center","margin-top":"1rem",color:"#606266"}},lt=["href"],at={key:0,style:{color:"#606266","margin-left":"1rem","text-decoration":"none"},href:"#/admin"},mt=P({__name:"HomeView",setup(e){const n=xe(),t=en(),s=bn(),i=yn(),l=L(""),a=fe({readonly:!1,loading:!1}),{config:d}=nn(),y=()=>{ot.alert(d.explain,o("send.disclaimers"),{confirmButtonText:o("fileBox.ok")})},{t:o}=gn();Fe(()=>{const c=i.query.code;c&&(l.value=c)}),ie(l,c=>{c.length===5&&(a.readonly=!0,a.loading=!0,Bn({url:"/share/select/",method:"POST",data:{code:c}}).then(u=>{n.showFileBox=!0;let h=!0;t.receiveData.forEach(E=>{if(E.code===u.detail.code){h=!1;return}}),h&&t.addReceiveData(u.detail)}).finally(()=>{a.readonly=!1,a.loading=!1,l.value=""}))});const g=c=>{l.value.length<5&&(l.value+=c)},b=atob("RmlsZUNvZGVCb3ggVjIuMQ=="),r=atob("aHR0cHM6Ly9naXRodWIuY29tL3Zhc3RzYS9GaWxlQ29kZUJveA==");return(c,u)=>{const h=Re,E=zn,k=Ae,T=Rn,Y=tn,re=Kn;return C(),F("main",null,[f(Y,{class:"card",style:{"padding-bottom":"1rem"}},{default:m(()=>[f(on),f(T,{style:{"text-align":"center"}},{default:m(()=>[f(E,{span:24},{default:m(()=>[G(f(h,{readonly:a.readonly,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=S=>l.value=S),class:"code-input",round:"",autofocus:"",clearable:"",maxlength:"5",placeholder:w(o)("fileBox.inputNotEmpty")},null,8,["readonly","modelValue","placeholder"]),[[re,a.loading]])]),_:1}),(C(),F(Cn,null,hn(9,S=>f(E,{span:8,key:S},{default:m(()=>[f(k,{class:"key-button",round:"",onClick:me=>g(S)},{default:m(()=>[W(R(S),1)]),_:2},1032,["onClick"])]),_:2},1024)),64)),f(E,{span:8},{default:m(()=>[f(k,{onClick:u[1]||(u[1]=S=>w(s).push({name:"send"})),class:"key-button",icon:w(En),round:""},null,8,["icon"])]),_:1}),f(E,{span:8},{default:m(()=>[f(k,{class:"key-button",round:"",onClick:u[2]||(u[2]=S=>g(0))},{default:m(()=>[W("0")]),_:1})]),_:1}),f(E,{span:8},{default:m(()=>[f(k,{class:"key-button",round:"",icon:w(wn),onClick:u[3]||(u[3]=S=>w(n).showFileBox=!0)},null,8,["icon"])]),_:1})]),_:1})]),_:1}),$("div",st,[$("a",{style:{"text-decoration":"none",color:"#606266"},target:"_blank",href:w(r)},R(w(b)),9,lt),$("a",{onClick:y,style:{"text-decoration":"none",color:"#606266","margin-left":"1rem"},href:"javascript:void(0)"},R(w(o)("send.disclaimers")),1),w(d).show_admin_address?(C(),F("a",at,"Admin")):V("",!0)])])}}});export{mt as default};
+import{E as Ae,a as We,b as Re,u as ye}from"./el-input-DklOLKsm.js";import{E as Xe,u as Ye,a as Je,b as Qe,c as xe,d as en,e as nn,f as tn,_ as on}from"./config-DauDXcbs.js";import{c as sn,n as O,E as ln,b as Ve,d as P,u as Oe,a as B,p as an,o as C,e as I,w as m,r as de,f as p,g as w,h as oe,i as D,_ as ce,j as Ne,k as K,m as U,l as rn,q as Ce,s as le,t as L,v as fe,x as un,y as Pe,z as ze,A as q,B as G,C as f,D as ne,T as je,F as se,G as De,H as ae,I as Z,J as he,K as dn,L as cn,M as fn,N as mn,O as Ee,P as we,Q as Be,R as ie,S as Fe,U as vn,V as j,W as $,X as Q,Y as F,Z as V,$ as R,a0 as x,a1 as W,a2 as _e,a3 as He,a4 as ke,a5 as pn,a6 as $e,a7 as Se,a8 as gn,a9 as bn,aa as yn,ab as Cn,ac as hn,ad as En,ae as wn,af as Bn}from"./index-B8Am18SQ.js";import{o as Ie}from"./aria-nkjrUMQ-.js";import"./el-tag-m5-RVRsg.js";import"./vnode-DxH7DBlv.js";const kn=e=>["",...sn].includes(e),ue="_trap-focus-children",N=[],Le=e=>{if(N.length===0)return;const n=N[N.length-1][ue];if(n.length>0&&e.code===ln.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const t=e.shiftKey,s=e.target===n[0],i=e.target===n[n.length-1];s&&t&&(e.preventDefault(),n[n.length-1].focus()),i&&!t&&(e.preventDefault(),n[0].focus())}},$n={beforeMount(e){e[ue]=Ie(e),N.push(e),N.length<=1&&document.addEventListener("keydown",Le)},updated(e){O(()=>{e[ue]=Ie(e)})},unmounted(){N.shift(),N.length===0&&document.removeEventListener("keydown",Le)}},Ke=Symbol("rowContextKey"),Sn=["start","center","end","space-around","space-between","space-evenly"],In=["top","middle","bottom"],Ln=Ve({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Sn,default:"start"},align:{type:String,values:In}}),Tn=P({name:"ElRow"}),Mn=P({...Tn,props:Ln,setup(e){const n=e,t=Oe("row"),s=B(()=>n.gutter);an(Ke,{gutter:s});const i=B(()=>{const a={};return n.gutter&&(a.marginRight=a.marginLeft=`-${n.gutter/2}px`),a}),l=B(()=>[t.b(),t.is(`justify-${n.justify}`,n.justify!=="start"),t.is(`align-${n.align}`,!!n.align)]);return(a,d)=>(C(),I(D(a.tag),{class:p(w(l)),style:oe(w(i))},{default:m(()=>[de(a.$slots,"default")]),_:3},8,["class","style"]))}});var An=ce(Mn,[["__file","row.vue"]]);const Rn=Ne(An),Vn=Ve({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:K([Number,Object]),default:()=>U({})},sm:{type:K([Number,Object]),default:()=>U({})},md:{type:K([Number,Object]),default:()=>U({})},lg:{type:K([Number,Object]),default:()=>U({})},xl:{type:K([Number,Object]),default:()=>U({})}}),On=P({name:"ElCol"}),Nn=P({...On,props:Vn,setup(e){const n=e,{gutter:t}=rn(Ke,{gutter:B(()=>0)}),s=Oe("col"),i=B(()=>{const a={};return t.value&&(a.paddingLeft=a.paddingRight=`${t.value/2}px`),a}),l=B(()=>{const a=[];return["span","offset","pull","push"].forEach(o=>{const g=n[o];Ce(g)&&(o==="span"?a.push(s.b(`${n[o]}`)):g>0&&a.push(s.b(`${o}-${n[o]}`)))}),["xs","sm","md","lg","xl"].forEach(o=>{Ce(n[o])?a.push(s.b(`${o}-${n[o]}`)):le(n[o])&&Object.entries(n[o]).forEach(([g,b])=>{a.push(g!=="span"?s.b(`${o}-${g}-${b}`):s.b(`${o}-${b}`))})}),t.value&&a.push(s.is("guttered")),[s.b(),a]});return(a,d)=>(C(),I(D(a.tag),{class:p(w(l)),style:oe(w(i))},{default:m(()=>[de(a.$slots,"default")]),_:3},8,["class","style"]))}});var Pn=ce(Nn,[["__file","col.vue"]]);const zn=Ne(Pn);function jn(e){let n;const t=L(!1),s=fe({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(r){s.text=r}function l(){const r=s.parent,c=b.ns;if(!r.vLoadingAddClassList){let u=r.getAttribute("loading-number");u=Number.parseInt(u)-1,u?r.setAttribute("loading-number",u.toString()):(se(r,c.bm("parent","relative")),r.removeAttribute("loading-number")),se(r,c.bm("parent","hidden"))}a(),g.unmount()}function a(){var r,c;(c=(r=b.$el)==null?void 0:r.parentNode)==null||c.removeChild(b.$el)}function d(){var r;e.beforeClose&&!e.beforeClose()||(t.value=!0,clearTimeout(n),n=window.setTimeout(y,400),s.visible=!1,(r=e.closed)==null||r.call(e))}function y(){if(!t.value)return;const r=s.parent;t.value=!1,r.vLoadingAddClassList=void 0,l()}const o=P({name:"ElLoading",setup(r,{expose:c}){const{ns:u,zIndex:h}=ze("loading");return c({ns:u,zIndex:h}),()=>{const E=s.spinner||s.svg,k=q("svg",{class:"circular",viewBox:s.svgViewBox?s.svgViewBox:"0 0 50 50",...E?{innerHTML:E}:{}},[q("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),T=s.text?q("p",{class:u.b("text")},[s.text]):void 0;return q(je,{name:u.b("fade"),onAfterLeave:y},{default:m(()=>[G(f("div",{style:{backgroundColor:s.background||""},class:[u.b("mask"),s.customClass,s.fullscreen?"is-fullscreen":""]},[q("div",{class:u.b("spinner")},[k,T])]),[[ne,s.visible]])])})}}}),g=un(o),b=g.mount(document.createElement("div"));return{...Pe(s),setText:i,removeElLoadingChild:a,close:d,handleAfterLeave:y,vm:b,get $el(){return b.$el}}}let ee;const Dn=function(e={}){if(!De)return;const n=Fn(e);if(n.fullscreen&&ee)return ee;const t=jn({...n,closed:()=>{var i;(i=n.closed)==null||i.call(n),n.fullscreen&&(ee=void 0)}});_n(n,n.parent,t),Te(n,n.parent,t),n.parent.vLoadingAddClassList=()=>Te(n,n.parent,t);let s=n.parent.getAttribute("loading-number");return s?s=`${Number.parseInt(s)+1}`:s="1",n.parent.setAttribute("loading-number",s),n.parent.appendChild(t.$el),O(()=>t.visible.value=n.visible),n.fullscreen&&(ee=t),t},Fn=e=>{var n,t,s,i;let l;return ae(e.target)?l=(n=document.querySelector(e.target))!=null?n:document.body:l=e.target||document.body,{parent:l===document.body||e.body?document.body:l,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:l===document.body&&((t=e.fullscreen)!=null?t:!0),lock:(s=e.lock)!=null?s:!1,customClass:e.customClass||"",visible:(i=e.visible)!=null?i:!0,beforeClose:e.beforeClose,closed:e.closed,target:l}},_n=async(e,n,t)=>{const{nextZIndex:s}=t.vm.zIndex||t.vm._.exposed.zIndex,i={};if(e.fullscreen)t.originalPosition.value=Z(document.body,"position"),t.originalOverflow.value=Z(document.body,"overflow"),i.zIndex=s();else if(e.parent===document.body){t.originalPosition.value=Z(document.body,"position"),await O();for(const l of["top","left"]){const a=l==="top"?"scrollTop":"scrollLeft";i[l]=`${e.target.getBoundingClientRect()[l]+document.body[a]+document.documentElement[a]-Number.parseInt(Z(document.body,`margin-${l}`),10)}px`}for(const l of["height","width"])i[l]=`${e.target.getBoundingClientRect()[l]}px`}else t.originalPosition.value=Z(n,"position");for(const[l,a]of Object.entries(i))t.$el.style[l]=a},Te=(e,n,t)=>{const s=t.vm.ns||t.vm._.exposed.ns;["absolute","fixed","sticky"].includes(t.originalPosition.value)?se(n,s.bm("parent","relative")):he(n,s.bm("parent","relative")),e.fullscreen&&e.lock?he(n,s.bm("parent","hidden")):se(n,s.bm("parent","hidden"))},te=Symbol("ElLoading"),Me=(e,n)=>{var t,s,i,l;const a=n.instance,d=r=>le(n.value)?n.value[r]:void 0,y=r=>{const c=ae(r)&&(a==null?void 0:a[r])||r;return c&&L(c)},o=r=>y(d(r)||e.getAttribute(`element-loading-${cn(r)}`)),g=(t=d("fullscreen"))!=null?t:n.modifiers.fullscreen,b={text:o("text"),svg:o("svg"),svgViewBox:o("svgViewBox"),spinner:o("spinner"),background:o("background"),customClass:o("customClass"),fullscreen:g,target:(s=d("target"))!=null?s:g?void 0:e,body:(i=d("body"))!=null?i:n.modifiers.body,lock:(l=d("lock"))!=null?l:n.modifiers.lock};e[te]={options:b,instance:Dn(b)}},Hn=(e,n)=>{for(const t of Object.keys(n))dn(n[t])&&(n[t].value=e[t])},Kn={mounted(e,n){n.value&&Me(e,n)},updated(e,n){const t=e[te];n.oldValue!==n.value&&(n.value&&!n.oldValue?Me(e,n):n.value&&n.oldValue?le(n.value)&&Hn(n.value,t.options):t==null||t.instance.close())},unmounted(e){var n;(n=e[te])==null||n.instance.close(),e[te]=null}},Un=P({name:"ElMessageBox",directives:{TrapFocus:$n},components:{ElButton:Ae,ElFocusTrap:We,ElInput:Re,ElOverlay:Xe,ElIcon:fn,...mn},inheritAttrs:!1,props:{buttonSize:{type:String,validator:kn},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:n}){const{locale:t,zIndex:s,ns:i,size:l}=ze("message-box",B(()=>e.buttonSize)),{t:a}=t,{nextZIndex:d}=s,y=L(!1),o=fe({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Ee(we),cancelButtonLoadingIcon:Ee(we),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:d()}),g=B(()=>{const v=o.type;return{[i.bm("icon",v)]:v&&Be[v]}}),b=ye(),r=ye(),c=B(()=>o.icon||Be[o.type]||""),u=B(()=>!!o.message),h=L(),E=L(),k=L(),T=L(),Y=L(),re=B(()=>o.confirmButtonClass);ie(()=>o.inputValue,async v=>{await O(),e.boxType==="prompt"&&v!==null&&pe()},{immediate:!0}),ie(()=>y.value,v=>{var M,z;v&&(e.boxType!=="prompt"&&(o.autofocus?k.value=(z=(M=Y.value)==null?void 0:M.$el)!=null?z:h.value:k.value=h.value),o.zIndex=d()),e.boxType==="prompt"&&(v?O().then(()=>{var be;T.value&&T.value.$el&&(o.autofocus?k.value=(be=Ze())!=null?be:h.value:k.value=h.value)}):(o.editorErrorMessage="",o.validateError=!1))});const S=B(()=>e.draggable),me=B(()=>e.overflow);Ye(h,E,S,me),Fe(async()=>{await O(),e.closeOnHashChange&&window.addEventListener("hashchange",H)}),vn(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",H)});function H(){y.value&&(y.value=!1,O(()=>{o.action&&n("action",o.action)}))}const ve=()=>{e.closeOnClickModal&&J(o.distinguishCancelAndClose?"close":"cancel")},Ue=Qe(ve),qe=v=>{if(o.inputType!=="textarea")return v.preventDefault(),J("confirm")},J=v=>{var M;e.boxType==="prompt"&&v==="confirm"&&!pe()||(o.action=v,o.beforeClose?(M=o.beforeClose)==null||M.call(o,v,o,H):H())},pe=()=>{if(e.boxType==="prompt"){const v=o.inputPattern;if(v&&!v.test(o.inputValue||""))return o.editorErrorMessage=o.inputErrorMessage||a("el.messagebox.error"),o.validateError=!0,!1;const M=o.inputValidator;if(typeof M=="function"){const z=M(o.inputValue);if(z===!1)return o.editorErrorMessage=o.inputErrorMessage||a("el.messagebox.error"),o.validateError=!0,!1;if(typeof z=="string")return o.editorErrorMessage=z,o.validateError=!0,!1}}return o.editorErrorMessage="",o.validateError=!1,!0},Ze=()=>{const v=T.value.$refs;return v.input||v.textarea},ge=()=>{J("close")},Ge=()=>{e.closeOnPressEscape&&ge()};return e.lockScroll&&Je(y),{...Pe(o),ns:i,overlayEvent:Ue,visible:y,hasMessage:u,typeClass:g,contentId:b,inputId:r,btnSize:l,iconComponent:c,confirmButtonClasses:re,rootRef:h,focusStartRef:k,headerRef:E,inputRef:T,confirmRef:Y,doClose:H,handleClose:ge,onCloseRequested:Ge,handleWrapperClick:ve,handleInputEnter:qe,handleAction:J,t:a}}}),qn=["aria-label","aria-describedby"],Zn=["aria-label"],Gn=["id"];function Wn(e,n,t,s,i,l){const a=j("el-icon"),d=j("close"),y=j("el-input"),o=j("el-button"),g=j("el-focus-trap"),b=j("el-overlay");return C(),I(je,{name:"fade-in-linear",onAfterLeave:n[11]||(n[11]=r=>e.$emit("vanish")),persisted:""},{default:m(()=>[G(f(b,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:m(()=>[$("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:p(`${e.ns.namespace.value}-overlay-message-box`),onClick:n[8]||(n[8]=(...r)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...r)),onMousedown:n[9]||(n[9]=(...r)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...r)),onMouseup:n[10]||(n[10]=(...r)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...r))},[f(g,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:m(()=>[$("div",{ref:"rootRef",class:p([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:oe(e.customStyle),tabindex:"-1",onClick:n[7]||(n[7]=Q(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(C(),F("div",{key:0,ref:"headerRef",class:p([e.ns.e("header"),{"show-close":e.showClose}])},[$("div",{class:p(e.ns.e("title"))},[e.iconComponent&&e.center?(C(),I(a,{key:0,class:p([e.ns.e("status"),e.typeClass])},{default:m(()=>[(C(),I(D(e.iconComponent)))]),_:1},8,["class"])):V("v-if",!0),$("span",null,R(e.title),1)],2),e.showClose?(C(),F("button",{key:0,type:"button",class:p(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:n[0]||(n[0]=r=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:n[1]||(n[1]=x(Q(r=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[f(a,{class:p(e.ns.e("close"))},{default:m(()=>[f(d)]),_:1},8,["class"])],42,Zn)):V("v-if",!0)],2)):V("v-if",!0),$("div",{id:e.contentId,class:p(e.ns.e("content"))},[$("div",{class:p(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(C(),I(a,{key:0,class:p([e.ns.e("status"),e.typeClass])},{default:m(()=>[(C(),I(D(e.iconComponent)))]),_:1},8,["class"])):V("v-if",!0),e.hasMessage?(C(),F("div",{key:1,class:p(e.ns.e("message"))},[de(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(C(),I(D(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(C(),I(D(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:m(()=>[W(R(e.dangerouslyUseHTMLString?"":e.message),1)]),_:1},8,["for"]))])],2)):V("v-if",!0)],2),G($("div",{class:p(e.ns.e("input"))},[f(y,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":n[2]||(n[2]=r=>e.inputValue=r),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:p({invalid:e.validateError}),onKeydown:x(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),$("div",{class:p(e.ns.e("errormsg")),style:oe({visibility:e.editorErrorMessage?"visible":"hidden"})},R(e.editorErrorMessage),7)],2),[[ne,e.showInput]])],10,Gn),$("div",{class:p(e.ns.e("btns"))},[e.showCancelButton?(C(),I(o,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:p([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:n[3]||(n[3]=r=>e.handleAction("cancel")),onKeydown:n[4]||(n[4]=x(Q(r=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:m(()=>[W(R(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size"])):V("v-if",!0),G(f(o,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:p([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:n[5]||(n[5]=r=>e.handleAction("confirm")),onKeydown:n[6]||(n[6]=x(Q(r=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:m(()=>[W(R(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size"]),[[ne,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,qn)]),_:3},8,["z-index","overlay-class","mask"]),[[ne,e.visible]])]),_:3})}var Xn=ce(Un,[["render",Wn],["__file","index.vue"]]);const X=new Map,Yn=e=>{let n=document.body;return e.appendTo&&(ae(e.appendTo)&&(n=document.querySelector(e.appendTo)),Se(e.appendTo)&&(n=e.appendTo),Se(n)||(n=document.body)),n},Jn=(e,n,t=null)=>{const s=f(Xn,e,$e(e.message)||_e(e.message)?{default:$e(e.message)?e.message:()=>e.message}:null);return s.appContext=t,He(s,n),Yn(e).appendChild(n.firstElementChild),s.component},Qn=()=>document.createElement("div"),xn=(e,n)=>{const t=Qn();e.onVanish=()=>{He(null,t),X.delete(i)},e.onAction=l=>{const a=X.get(i);let d;e.showInput?d={value:i.inputValue,action:l}:d=l,e.callback?e.callback(d,s.proxy):l==="cancel"||l==="close"?e.distinguishCancelAndClose&&l!=="cancel"?a.reject("close"):a.reject("cancel"):a.resolve(d)};const s=Jn(e,t,n),i=s.proxy;for(const l in e)ke(e,l)&&!ke(i.$props,l)&&(i[l]=e[l]);return i.visible=!0,i};function _(e,n=null){if(!De)return Promise.reject();let t;return ae(e)||_e(e)?e={message:e}:t=e.callback,new Promise((s,i)=>{const l=xn(e,n??_._context);X.set(l,{options:e,callback:t,resolve:s,reject:i})})}const et=["alert","confirm","prompt"],nt={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};et.forEach(e=>{_[e]=tt(e)});function tt(e){return(n,t,s,i)=>{let l="";return le(t)?(s=t,l=""):pn(t)?l="":l=t,_(Object.assign({title:l,message:n,type:"",...nt[e]},s,{boxType:e}),i)}}_.close=()=>{X.forEach((e,n)=>{n.doClose()}),X.clear()};_._context=null;const A=_;A.install=e=>{A._context=e._context,e.config.globalProperties.$msgbox=A,e.config.globalProperties.$messageBox=A,e.config.globalProperties.$alert=A.alert,e.config.globalProperties.$confirm=A.confirm,e.config.globalProperties.$prompt=A.prompt};const ot=A,st={style:{"text-align":"center","margin-top":"1rem",color:"#606266"}},lt=["href"],at={key:0,style:{color:"#606266","margin-left":"1rem","text-decoration":"none"},href:"#/admin"},mt=P({__name:"HomeView",setup(e){const n=xe(),t=en(),s=bn(),i=yn(),l=L(""),a=fe({readonly:!1,loading:!1}),{config:d}=nn(),y=()=>{ot.alert(d.explain,o("send.disclaimers"),{confirmButtonText:o("fileBox.ok")})},{t:o}=gn();Fe(()=>{const c=i.query.code;c&&(l.value=c)}),ie(l,c=>{c.length===5&&(a.readonly=!0,a.loading=!0,Bn({url:"/share/select/",method:"POST",data:{code:c}}).then(u=>{n.showFileBox=!0;let h=!0;t.receiveData.forEach(E=>{if(E.code===u.detail.code){h=!1;return}}),h&&t.addReceiveData(u.detail)}).finally(()=>{a.readonly=!1,a.loading=!1,l.value=""}))});const g=c=>{l.value.length<5&&(l.value+=c)},b=atob("RmlsZUNvZGVCb3ggVjIuMQ=="),r=atob("aHR0cHM6Ly9naXRodWIuY29tL3Zhc3RzYS9GaWxlQ29kZUJveA==");return(c,u)=>{const h=Re,E=zn,k=Ae,T=Rn,Y=tn,re=Kn;return C(),F("main",null,[f(Y,{class:"card",style:{"padding-bottom":"1rem"}},{default:m(()=>[f(on),f(T,{style:{"text-align":"center"}},{default:m(()=>[f(E,{span:24},{default:m(()=>[G(f(h,{readonly:a.readonly,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=S=>l.value=S),class:"code-input",round:"",autofocus:"",clearable:"",maxlength:"5",placeholder:w(o)("fileBox.inputNotEmpty")},null,8,["readonly","modelValue","placeholder"]),[[re,a.loading]])]),_:1}),(C(),F(Cn,null,hn(9,S=>f(E,{span:8,key:S},{default:m(()=>[f(k,{class:"key-button",round:"",onClick:me=>g(S)},{default:m(()=>[W(R(S),1)]),_:2},1032,["onClick"])]),_:2},1024)),64)),f(E,{span:8},{default:m(()=>[f(k,{onClick:u[1]||(u[1]=S=>w(s).push({name:"send"})),class:"key-button",icon:w(En),round:""},null,8,["icon"])]),_:1}),f(E,{span:8},{default:m(()=>[f(k,{class:"key-button",round:"",onClick:u[2]||(u[2]=S=>g(0))},{default:m(()=>[W("0")]),_:1})]),_:1}),f(E,{span:8},{default:m(()=>[f(k,{class:"key-button",round:"",icon:w(wn),onClick:u[3]||(u[3]=S=>w(n).showFileBox=!0)},null,8,["icon"])]),_:1})]),_:1})]),_:1}),$("div",st,[$("a",{style:{"text-decoration":"none",color:"#606266"},target:"_blank",href:w(r)},R(w(b)),9,lt),$("a",{onClick:y,style:{"text-decoration":"none",color:"#606266","margin-left":"1rem"},href:"javascript:void(0)"},R(w(o)("send.disclaimers")),1),w(d).show_admin_address?(C(),F("a",at,"Admin")):V("",!0)])])}}});export{mt as default};
diff --git a/fcb-fronted/dist/assets/SendView-CGnS8xSG.js b/fcb-fronted/dist/assets/SendView-Bv3Zu6X5.js
similarity index 98%
rename from fcb-fronted/dist/assets/SendView-CGnS8xSG.js
rename to fcb-fronted/dist/assets/SendView-Bv3Zu6X5.js
index 4c970c355..d2e2ece41 100644
--- a/fcb-fronted/dist/assets/SendView-CGnS8xSG.js
+++ b/fcb-fronted/dist/assets/SendView-Bv3Zu6X5.js
@@ -1 +1 @@
-import{U as ae,C as et,c as tt,d as K,e as at,u as st,f as ot,g as lt,h as he,t as se,b as _e,E as nt}from"./el-input-Bra5w62E.js";import{g as rt,e as oe,c as Se,d as Ee,f as it,_ as ut}from"./config-Dd9kAMTg.js";import"./el-tag-BdmXuWOW.js";import{i as dt,E as ct,a as pt}from"./el-select-B1MAtda_.js";import"./el-popper-DA6dI8BR.js";import{b as O,ag as $e,H as ne,q as re,ah as ie,t as V,l as ke,a as x,ai as ue,aj as Ce,d as w,u as z,o as y,Y as k,W as R,B as Re,ak as we,g as e,K as Ue,f as _,X as B,r as U,a1 as q,$ as F,_ as N,n as De,h as Fe,S as xe,p as Le,v as ft,y as mt,R as Z,j as Pe,al as Te,am as Be,an as Ve,k as S,m as Q,ao as D,ap as vt,e as P,w as E,ab as Oe,ac as ze,a0 as Ie,Z as C,C as $,M as I,aq as yt,ar as gt,as as bt,at as ht,au as _t,av as St,aw as Et,ax as ee,ay as de,az as $t,a6 as kt,aA as Ct,U as Rt,aB as wt,aC as ce,aD as pe,a8 as le,aE as Ut,aF as Dt,aG as j,af as Ne}from"./index-BMDdhWSk.js";import{b as Ft}from"./_baseClone-CNjLZpcX.js";import"./vnode-DODt4a8F.js";var xt=1,Lt=4;function fe(o){return Ft(o,xt|Lt)}const Ae=O({modelValue:{type:[String,Number,Boolean],default:void 0},size:$e,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Pt=O({...Ae,border:Boolean}),je={[ae]:o=>ne(o)||re(o)||ie(o),[et]:o=>ne(o)||re(o)||ie(o)},qe=Symbol("radioGroupKey"),Ge=(o,i)=>{const t=V(),l=ke(qe,void 0),u=x(()=>!!l),c=x(()=>ue(o.value)?o.label:o.value),f=x({get(){return u.value?l.modelValue:o.modelValue},set(r){u.value?l.changeEvent(r):i&&i(ae,r),t.value.checked=o.modelValue===c.value}}),b=tt(x(()=>l==null?void 0:l.size)),p=K(x(()=>l==null?void 0:l.disabled)),v=V(!1),h=x(()=>p.value||u.value&&f.value!==c.value?-1:0);return Ce({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},x(()=>u.value&&ue(o.value))),{radioRef:t,isGroup:u,radioGroup:l,focus:v,size:b,disabled:p,tabIndex:h,modelValue:f,actualValue:c}},Tt=["value","name","disabled"],Bt=w({name:"ElRadio"}),Vt=w({...Bt,props:Pt,emits:je,setup(o,{emit:i}){const t=o,l=z("radio"),{radioRef:u,radioGroup:c,focus:f,size:b,disabled:p,modelValue:v,actualValue:h}=Ge(t,i);function r(){De(()=>i("change",v.value))}return(s,a)=>{var d;return y(),k("label",{class:_([e(l).b(),e(l).is("disabled",e(p)),e(l).is("focus",e(f)),e(l).is("bordered",s.border),e(l).is("checked",e(v)===e(h)),e(l).m(e(b))])},[R("span",{class:_([e(l).e("input"),e(l).is("disabled",e(p)),e(l).is("checked",e(v)===e(h))])},[Re(R("input",{ref_key:"radioRef",ref:u,"onUpdate:modelValue":a[0]||(a[0]=n=>Ue(v)?v.value=n:null),class:_(e(l).e("original")),value:e(h),name:s.name||((d=e(c))==null?void 0:d.name),disabled:e(p),type:"radio",onFocus:a[1]||(a[1]=n=>f.value=!0),onBlur:a[2]||(a[2]=n=>f.value=!1),onChange:r,onClick:a[3]||(a[3]=B(()=>{},["stop"]))},null,42,Tt),[[we,e(v)]]),R("span",{class:_(e(l).e("inner"))},null,2)],2),R("span",{class:_(e(l).e("label")),onKeydown:a[4]||(a[4]=B(()=>{},["stop"]))},[U(s.$slots,"default",{},()=>[q(F(s.label),1)])],34)],2)}}});var Ot=N(Vt,[["__file","radio.vue"]]);const zt=O({...Ae}),It=["value","name","disabled"],Nt=w({name:"ElRadioButton"}),At=w({...Nt,props:zt,setup(o){const i=o,t=z("radio"),{radioRef:l,focus:u,size:c,disabled:f,modelValue:b,radioGroup:p,actualValue:v}=Ge(i),h=x(()=>({backgroundColor:(p==null?void 0:p.fill)||"",borderColor:(p==null?void 0:p.fill)||"",boxShadow:p!=null&&p.fill?`-1px 0 0 0 ${p.fill}`:"",color:(p==null?void 0:p.textColor)||""}));return(r,s)=>{var a;return y(),k("label",{class:_([e(t).b("button"),e(t).is("active",e(b)===e(v)),e(t).is("disabled",e(f)),e(t).is("focus",e(u)),e(t).bm("button",e(c))])},[Re(R("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":s[0]||(s[0]=d=>Ue(b)?b.value=d:null),class:_(e(t).be("button","original-radio")),value:e(v),type:"radio",name:r.name||((a=e(p))==null?void 0:a.name),disabled:e(f),onFocus:s[1]||(s[1]=d=>u.value=!0),onBlur:s[2]||(s[2]=d=>u.value=!1),onClick:s[3]||(s[3]=B(()=>{},["stop"]))},null,42,It),[[we,e(b)]]),R("span",{class:_(e(t).be("button","inner")),style:Fe(e(b)===e(v)?e(h):{}),onKeydown:s[4]||(s[4]=B(()=>{},["stop"]))},[U(r.$slots,"default",{},()=>[q(F(r.label),1)])],38)],2)}}});var Me=N(At,[["__file","radio-button.vue"]]);const jt=O({id:{type:String,default:void 0},size:$e,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...at(["ariaLabel"])}),qt=je,Gt=["id","aria-label","aria-labelledby"],Mt=w({name:"ElRadioGroup"}),Kt=w({...Mt,props:jt,emits:qt,setup(o,{emit:i}){const t=o,l=z("radio"),u=st(),c=V(),{formItem:f}=ot(),{inputId:b,isLabeledByFormItem:p}=lt(t,{formItemContext:f}),v=r=>{i(ae,r),De(()=>i("change",r))};xe(()=>{const r=c.value.querySelectorAll("[type=radio]"),s=r[0];!Array.from(r).some(a=>a.checked)&&s&&(s.tabIndex=0)});const h=x(()=>t.name||u.value);return Le(qe,ft({...mt(t),changeEvent:v,name:h})),Z(()=>t.modelValue,()=>{t.validateEvent&&(f==null||f.validate("change").catch(r=>he()))}),Ce({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},x(()=>!!t.label)),(r,s)=>(y(),k("div",{id:e(b),ref_key:"radioGroupRef",ref:c,class:_(e(l).b("group")),role:"radiogroup","aria-label":e(p)?void 0:r.label||r.ariaLabel||"radio-group","aria-labelledby":e(p)?e(f).labelId:void 0},[U(r.$slots,"default")],10,Gt))}});var Ke=N(Kt,[["__file","radio-group.vue"]]);const Ht=Pe(Ot,{RadioButton:Me,RadioGroup:Ke}),Xt=Te(Ke);Te(Me);const He=Symbol("uploadContextKey"),Wt="ElUpload";class Yt extends Error{constructor(i,t,l,u){super(i),this.name="UploadAjaxError",this.status=t,this.method=l,this.url=u}}function me(o,i,t){let l;return t.response?l=`${t.response.error||t.response}`:t.responseText?l=`${t.responseText}`:l=`fail to ${i.method} ${o} ${t.status}`,new Yt(l,t.status,i.method,o)}function Jt(o){const i=o.responseText||o.response;if(!i)return i;try{return JSON.parse(i)}catch{return i}}const Zt=o=>{typeof XMLHttpRequest>"u"&&se(Wt,"XMLHttpRequest is undefined");const i=new XMLHttpRequest,t=o.action;i.upload&&i.upload.addEventListener("progress",c=>{const f=c;f.percent=c.total>0?c.loaded/c.total*100:0,o.onProgress(f)});const l=new FormData;if(o.data)for(const[c,f]of Object.entries(o.data))Be(f)&&f.length?l.append(c,...f):l.append(c,f);l.append(o.filename,o.file,o.file.name),i.addEventListener("error",()=>{o.onError(me(t,o,i))}),i.addEventListener("load",()=>{if(i.status<200||i.status>=300)return o.onError(me(t,o,i));o.onSuccess(Jt(i))}),i.open(o.method,t,!0),o.withCredentials&&"withCredentials"in i&&(i.withCredentials=!0);const u=o.headers||{};if(u instanceof Headers)u.forEach((c,f)=>i.setRequestHeader(f,c));else for(const[c,f]of Object.entries(u))Ve(f)||i.setRequestHeader(c,String(f));return i.send(l),i},Xe=["text","picture","picture-card"];let Qt=1;const te=()=>Date.now()+Qt++,We=O({action:{type:String,default:"#"},headers:{type:S(Object)},method:{type:String,default:"post"},data:{type:S([Object,Function,Promise]),default:()=>Q({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:S(Array),default:()=>Q([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:Xe,default:"text"},httpRequest:{type:S(Function),default:Zt},disabled:Boolean,limit:Number}),ea=O({...We,beforeUpload:{type:S(Function),default:D},beforeRemove:{type:S(Function)},onRemove:{type:S(Function),default:D},onChange:{type:S(Function),default:D},onPreview:{type:S(Function),default:D},onSuccess:{type:S(Function),default:D},onProgress:{type:S(Function),default:D},onError:{type:S(Function),default:D},onExceed:{type:S(Function),default:D},crossorigin:{type:S(String)}}),ta=O({files:{type:S(Array),default:()=>Q([])},disabled:{type:Boolean,default:!1},handlePreview:{type:S(Function),default:D},listType:{type:String,values:Xe,default:"text"},crossorigin:{type:S(String)}}),aa={remove:o=>!!o},sa=["onKeydown"],oa=["src","crossorigin"],la=["onClick"],na=["title"],ra=["onClick"],ia=["onClick"],ua=w({name:"ElUploadList"}),da=w({...ua,props:ta,emits:aa,setup(o,{emit:i}){const t=o,{t:l}=vt(),u=z("upload"),c=z("icon"),f=z("list"),b=K(),p=V(!1),v=x(()=>[u.b("list"),u.bm("list",t.listType),u.is("disabled",t.disabled)]),h=r=>{i("remove",r)};return(r,s)=>(y(),P(Et,{tag:"ul",class:_(e(v)),name:e(f).b()},{default:E(()=>[(y(!0),k(Oe,null,ze(r.files,a=>(y(),k("li",{key:a.uid||a.name,class:_([e(u).be("list","item"),e(u).is(a.status),{focusing:p.value}]),tabindex:"0",onKeydown:Ie(d=>!e(b)&&h(a),["delete"]),onFocus:s[0]||(s[0]=d=>p.value=!0),onBlur:s[1]||(s[1]=d=>p.value=!1),onClick:s[2]||(s[2]=d=>p.value=!1)},[U(r.$slots,"default",{file:a},()=>[r.listType==="picture"||a.status!=="uploading"&&r.listType==="picture-card"?(y(),k("img",{key:0,class:_(e(u).be("list","item-thumbnail")),src:a.url,crossorigin:r.crossorigin,alt:""},null,10,oa)):C("v-if",!0),a.status==="uploading"||r.listType!=="picture-card"?(y(),k("div",{key:1,class:_(e(u).be("list","item-info"))},[R("a",{class:_(e(u).be("list","item-name")),onClick:B(d=>r.handlePreview(a),["prevent"])},[$(e(I),{class:_(e(c).m("document"))},{default:E(()=>[$(e(yt))]),_:1},8,["class"]),R("span",{class:_(e(u).be("list","item-file-name")),title:a.name},F(a.name),11,na)],10,la),a.status==="uploading"?(y(),P(e(rt),{key:0,type:r.listType==="picture-card"?"circle":"line","stroke-width":r.listType==="picture-card"?6:2,percentage:Number(a.percentage),style:Fe(r.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):C("v-if",!0)],2)):C("v-if",!0),R("label",{class:_(e(u).be("list","item-status-label"))},[r.listType==="text"?(y(),P(e(I),{key:0,class:_([e(c).m("upload-success"),e(c).m("circle-check")])},{default:E(()=>[$(e(gt))]),_:1},8,["class"])):["picture-card","picture"].includes(r.listType)?(y(),P(e(I),{key:1,class:_([e(c).m("upload-success"),e(c).m("check")])},{default:E(()=>[$(e(bt))]),_:1},8,["class"])):C("v-if",!0)],2),e(b)?C("v-if",!0):(y(),P(e(I),{key:2,class:_(e(c).m("close")),onClick:d=>h(a)},{default:E(()=>[$(e(ht))]),_:2},1032,["class","onClick"])),C(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),C(" This is a bug which needs to be fixed "),C(" TODO: Fix the incorrect navigation interaction "),e(b)?C("v-if",!0):(y(),k("i",{key:3,class:_(e(c).m("close-tip"))},F(e(l)("el.upload.deleteTip")),3)),r.listType==="picture-card"?(y(),k("span",{key:4,class:_(e(u).be("list","item-actions"))},[R("span",{class:_(e(u).be("list","item-preview")),onClick:d=>r.handlePreview(a)},[$(e(I),{class:_(e(c).m("zoom-in"))},{default:E(()=>[$(e(_t))]),_:1},8,["class"])],10,ra),e(b)?C("v-if",!0):(y(),k("span",{key:0,class:_(e(u).be("list","item-delete")),onClick:d=>h(a)},[$(e(I),{class:_(e(c).m("delete"))},{default:E(()=>[$(e(St))]),_:1},8,["class"])],10,ia))],2)):C("v-if",!0)])],42,sa))),128)),U(r.$slots,"append")]),_:3},8,["class","name"]))}});var ve=N(da,[["__file","upload-list.vue"]]);const ca=O({disabled:{type:Boolean,default:!1}}),pa={file:o=>Be(o)},fa=["onDrop","onDragover"],Ye="ElUploadDrag",ma=w({name:Ye}),va=w({...ma,props:ca,emits:pa,setup(o,{emit:i}){ke(He)||se(Ye,"usage: ");const l=z("upload"),u=V(!1),c=K(),f=p=>{if(c.value)return;u.value=!1,p.stopPropagation();const v=Array.from(p.dataTransfer.files);i("file",v)},b=()=>{c.value||(u.value=!0)};return(p,v)=>(y(),k("div",{class:_([e(l).b("dragger"),e(l).is("dragover",u.value)]),onDrop:B(f,["prevent"]),onDragover:B(b,["prevent"]),onDragleave:v[0]||(v[0]=B(h=>u.value=!1,["prevent"]))},[U(p.$slots,"default")],42,fa))}});var ya=N(va,[["__file","upload-dragger.vue"]]);const ga=O({...We,beforeUpload:{type:S(Function),default:D},onRemove:{type:S(Function),default:D},onStart:{type:S(Function),default:D},onSuccess:{type:S(Function),default:D},onProgress:{type:S(Function),default:D},onError:{type:S(Function),default:D},onExceed:{type:S(Function),default:D}}),ba=["onKeydown"],ha=["name","multiple","accept"],_a=w({name:"ElUploadContent",inheritAttrs:!1}),Sa=w({..._a,props:ga,setup(o,{expose:i}){const t=o,l=z("upload"),u=K(),c=ee({}),f=ee(),b=n=>{if(n.length===0)return;const{autoUpload:g,limit:m,fileList:L,multiple:T,onStart:G,onExceed:H}=t;if(m&&L.length+n.length>m){H(n,L);return}T||(n=n.slice(0,1));for(const X of n){const M=X;M.uid=te(),G(M),g&&p(M)}},p=async n=>{if(f.value.value="",!t.beforeUpload)return h(n);let g,m={};try{const T=t.data,G=t.beforeUpload(n);m=de(t.data)?fe(t.data):t.data,g=await G,de(t.data)&&dt(T,m)&&(m=fe(t.data))}catch{g=!1}if(g===!1){t.onRemove(n);return}let L=n;g instanceof Blob&&(g instanceof File?L=g:L=new File([g],n.name,{type:n.type})),h(Object.assign(L,{uid:n.uid}),m)},v=async(n,g)=>kt(n)?n(g):n,h=async(n,g)=>{const{headers:m,data:L,method:T,withCredentials:G,name:H,action:X,onProgress:M,onSuccess:Je,onError:Ze,httpRequest:Qe}=t;try{g=await v(g??L,n)}catch{t.onRemove(n);return}const{uid:W}=n,Y={headers:m||{},withCredentials:G,file:n,data:g,method:T,filename:H,action:X,onProgress:A=>{M(A,n)},onSuccess:A=>{Je(A,n),delete c.value[W]},onError:A=>{Ze(A,n),delete c.value[W]}},J=Qe(Y);c.value[W]=J,J instanceof Promise&&J.then(Y.onSuccess,Y.onError)},r=n=>{const g=n.target.files;g&&b(Array.from(g))},s=()=>{u.value||(f.value.value="",f.value.click())},a=()=>{s()};return i({abort:n=>{$t(c.value).filter(n?([m])=>String(n.uid)===m:()=>!0).forEach(([m,L])=>{L instanceof XMLHttpRequest&&L.abort(),delete c.value[m]})},upload:p}),(n,g)=>(y(),k("div",{class:_([e(l).b(),e(l).m(n.listType),e(l).is("drag",n.drag)]),tabindex:"0",onClick:s,onKeydown:Ie(B(a,["self"]),["enter","space"])},[n.drag?(y(),P(ya,{key:0,disabled:e(u),onFile:b},{default:E(()=>[U(n.$slots,"default")]),_:3},8,["disabled"])):U(n.$slots,"default",{key:1}),R("input",{ref_key:"inputRef",ref:f,class:_(e(l).e("input")),name:n.name,multiple:n.multiple,accept:n.accept,type:"file",onChange:r,onClick:g[0]||(g[0]=B(()=>{},["stop"]))},null,42,ha)],42,ba))}});var ye=N(Sa,[["__file","upload-content.vue"]]);const ge="ElUpload",be=o=>{var i;(i=o.url)!=null&&i.startsWith("blob:")&&URL.revokeObjectURL(o.url)},Ea=(o,i)=>{const t=Ct(o,"fileList",void 0,{passive:!0}),l=s=>t.value.find(a=>a.uid===s.uid);function u(s){var a;(a=i.value)==null||a.abort(s)}function c(s=["ready","uploading","success","fail"]){t.value=t.value.filter(a=>!s.includes(a.status))}const f=(s,a)=>{const d=l(a);d&&(console.error(s),d.status="fail",t.value.splice(t.value.indexOf(d),1),o.onError(s,d,t.value),o.onChange(d,t.value))},b=(s,a)=>{const d=l(a);d&&(o.onProgress(s,d,t.value),d.status="uploading",d.percentage=Math.round(s.percent))},p=(s,a)=>{const d=l(a);d&&(d.status="success",d.response=s,o.onSuccess(s,d,t.value),o.onChange(d,t.value))},v=s=>{Ve(s.uid)&&(s.uid=te());const a={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(o.listType==="picture-card"||o.listType==="picture")try{a.url=URL.createObjectURL(s)}catch(d){he(ge,d.message),o.onError(d,a,t.value)}t.value=[...t.value,a],o.onChange(a,t.value)},h=async s=>{const a=s instanceof File?l(s):s;a||se(ge,"file to be removed not found");const d=n=>{u(n);const g=t.value;g.splice(g.indexOf(n),1),o.onRemove(n,g),be(n)};o.beforeRemove?await o.beforeRemove(a,t.value)!==!1&&d(a):d(a)};function r(){t.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var a;return s&&((a=i.value)==null?void 0:a.upload(s))})}return Z(()=>o.listType,s=>{s!=="picture-card"&&s!=="picture"||(t.value=t.value.map(a=>{const{raw:d,url:n}=a;if(!n&&d)try{a.url=URL.createObjectURL(d)}catch(g){o.onError(g,a,t.value)}return a}))}),Z(t,s=>{for(const a of s)a.uid||(a.uid=te()),a.status||(a.status="success")},{immediate:!0,deep:!0}),{uploadFiles:t,abort:u,clearFiles:c,handleError:f,handleProgress:b,handleStart:v,handleSuccess:p,handleRemove:h,submit:r,revokeFileObjectURL:be}},$a=w({name:"ElUpload"}),ka=w({...$a,props:ea,setup(o,{expose:i}){const t=o,l=K(),u=ee(),{abort:c,submit:f,clearFiles:b,uploadFiles:p,handleStart:v,handleError:h,handleRemove:r,handleSuccess:s,handleProgress:a,revokeFileObjectURL:d}=Ea(t,u),n=x(()=>t.listType==="picture-card"),g=x(()=>({...t,fileList:p.value,onStart:v,onProgress:a,onSuccess:s,onError:h,onRemove:r}));return Rt(()=>{p.value.forEach(d)}),Le(He,{accept:wt(t,"accept")}),i({abort:c,submit:f,clearFiles:b,handleStart:v,handleRemove:r}),(m,L)=>(y(),k("div",null,[e(n)&&m.showFileList?(y(),P(ve,{key:0,disabled:e(l),"list-type":m.listType,files:e(p),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:e(r)},ce({append:E(()=>[$(ye,pe({ref_key:"uploadRef",ref:u},e(g)),{default:E(()=>[m.$slots.trigger?U(m.$slots,"trigger",{key:0}):C("v-if",!0),!m.$slots.trigger&&m.$slots.default?U(m.$slots,"default",{key:1}):C("v-if",!0)]),_:3},16)]),_:2},[m.$slots.file?{name:"default",fn:E(({file:T})=>[U(m.$slots,"file",{file:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):C("v-if",!0),!e(n)||e(n)&&!m.showFileList?(y(),P(ye,pe({key:1,ref_key:"uploadRef",ref:u},e(g)),{default:E(()=>[m.$slots.trigger?U(m.$slots,"trigger",{key:0}):C("v-if",!0),!m.$slots.trigger&&m.$slots.default?U(m.$slots,"default",{key:1}):C("v-if",!0)]),_:3},16)):C("v-if",!0),m.$slots.trigger?U(m.$slots,"default",{key:2}):C("v-if",!0),U(m.$slots,"tip"),!e(n)&&m.showFileList?(y(),P(ve,{key:3,disabled:e(l),"list-type":m.listType,files:e(p),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:e(r)},ce({_:2},[m.$slots.file?{name:"default",fn:E(({file:T})=>[U(m.$slots,"file",{file:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):C("v-if",!0)]))}});var Ca=N(ka,[["__file","upload.vue"]]);const Ra=Pe(Ca),wa={class:"el-upload__text"},Ua={class:"el-upload__text",style:{"font-size":"10px"}},Da=R("div",{class:"el-upload__tip"},null,-1),Fa=w({__name:"UploadFile",props:{shareData:{type:Object,default:()=>({expire_value:1,expire_style:"day"})}},setup(o){const{config:i}=oe(),{t}=le(),l=Se(),u=Ee(),c=o,f=V([]),b=V(null),p=r=>{u.addShareData({name:r.name,text:"",status:r.status,percentage:0,size:r.size,type:r.raw.type,uid:r.uid})},v=r=>{l.showFileBox=!0;const s=new FormData;if(i.openUpload===0&&localStorage.getItem("adminPassword")===null){u.shareData.forEach(a=>{a.uid===r.file.uid&&(j.error(t("msg.uploadClose")),a.status="fail",a.code=t("msg.fileUploadFail"),u.save())});return}if(r.file.size>i.uploadSize){u.shareData.forEach(a=>{a.uid===r.file.uid&&(j.error(t("msg.fileOverSize")),a.status="fail",a.code=t("msg.fileOverSize"),u.save())});return}s.append("file",r.file),s.append("expire_value",c.shareData.expireValue),s.append("expire_style",c.shareData.expireStyle),Ne({url:"share/file/",method:"post",data:s,onUploadProgress:a=>{const d=Math.round(a.loaded*100/a.total)||0;u.shareData.forEach(n=>{n.uid===r.file.uid&&(n.percentage=d,u.save())})}}).then(a=>{const d=a.detail;u.shareData.forEach(n=>{n.uid===r.file.uid&&(n.status="success",n.text=d.text,n.code=d.code,j.success(t("msg.fileUploadSuccess")),u.save())})}).catch(()=>{u.shareData.forEach(a=>{a.uid===r.file.uid&&(a.status="fail",a.code=t("msg.fileUploadFail"),j.error(t("msg.fileUploadFail")),u.save())})})};function h(r){const s=r.clipboardData&&r.clipboardData.items;if(s&&s.length)for(let a=0;a{document.removeEventListener("paste",h)}),xe(()=>{document.addEventListener("paste",h)}),(r,s)=>{const a=I,d=Ra;return y(),k("div",null,[$(d,{class:"upload-demo",drag:"",multiple:"","show-file-list":!1,ref_key:"uploadBox",ref:b,"file-list":f.value,"onUpdate:fileList":s[0]||(s[0]=n=>f.value=n),"on-change":p,"http-request":v},{tip:E(()=>[Da]),default:E(()=>[$(a,{class:"el-icon--upload"},{default:E(()=>[$(e(Dt))]),_:1}),R("div",wa,[q(F(e(t)("send.prompt1")),1),R("em",null,F(e(t)("send.clickUpload")),1)]),R("div",Ua,F(e(t)("send.prompt2")),1)]),_:1},8,["file-list"])])}}}),xa={style:{position:"relative"}},La=w({__name:"UploadText",props:{shareData:{type:Object,default:()=>({expire_value:1,expire_style:"day"})}},setup(o){const i=V(""),{t}=le(),{config:l}=oe(),u=Se(),c=Ee(),f=o,b=()=>{if(i.value==="")j.warning(t("send.prompt3"));else if(l.openUpload===0&&localStorage.getItem("adminPassword")===null)j.error(t("msg.uploadClose"));else{const p=new FormData;p.append("text",i.value),p.append("expire_value",f.shareData.expireValue),p.append("expire_style",f.shareData.expireStyle),Ne({url:"share/text/",method:"post",data:p}).then(v=>{const h=v.detail;u.showFileBox=!0,c.addShareData({name:t("send.textShare"),text:h.text,code:h.code,status:"success",percentage:100,size:i.value.length,type:"text",uid:Date.now()})})}};return(p,v)=>{const h=_e,r=nt;return y(),k("div",xa,[$(h,{placeholder:e(t)("send.prompt3"),modelValue:i.value,"onUpdate:modelValue":v[0]||(v[0]=s=>i.value=s),type:"textarea",rows:9,"input-style":{"border-radius":"20px",border:"1px dashed var(--el-border-color)","box-shadow":"none"}},null,8,["placeholder","modelValue"]),$(r,{onClick:b,style:{position:"absolute",right:"0",bottom:"0","border-radius":"20px 0 20px 0",margin:"1px",background:"rgba(255,255,255,0.2)"},size:"large"},{default:E(()=>[q(F(e(t)("send.share")),1)]),_:1})])}}}),Pa={style:{display:"flex",margin:"1rem"}},Ta={key:0},Ba={key:1},Va={key:2},Oa={key:3},za={key:4},Ia={style:{margin:"1rem"}},Xa=w({__name:"SendView",setup(o){const{config:i}=oe(),{t}=le(),l=V({expireValue:1,expireStyle:i.expireStyle.length>0?i.expireStyle[0]:"day",targetType:"file"});return(u,c)=>{const f=pt,b=ct,p=_e,v=Ht,h=Xt,r=it;return y(),k("main",null,[$(r,{class:"card",style:{position:"relative"},"body-style":{padding:"0"}},{default:E(()=>[$(ut,{style:{padding:"1rem"}}),R("div",Pa,[R("div",null,[$(p,{modelValue:l.value.expireValue,"onUpdate:modelValue":c[1]||(c[1]=s=>l.value.expireValue=s),style:{width:"200px"},placeholder:e(t)("send.pleaseInputExpireValue")},{prepend:E(()=>[$(b,{modelValue:l.value.expireStyle,"onUpdate:modelValue":c[0]||(c[0]=s=>l.value.expireStyle=s),placeholder:e(t)("send.expireStyle"),style:{width:"75px"}},{default:E(()=>[(y(!0),k(Oe,null,ze(e(i).expireStyle,s=>(y(),P(f,{key:s,label:e(t)(`send.expireData.${s}`),value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),append:E(()=>[l.value.expireStyle=="day"?(y(),k("span",Ta,F(e(t)("send.expireValue.day")),1)):l.value.expireStyle=="hour"?(y(),k("span",Ba,F(e(t)("send.expireValue.hour")),1)):l.value.expireStyle=="minute"?(y(),k("span",Va,F(e(t)("send.expireValue.minute")),1)):l.value.expireStyle=="forever"?(y(),k("span",Oa,"👌")):l.value.expireStyle=="count"?(y(),k("span",za,F(e(t)("send.expireValue.count")),1)):C("",!0)]),_:1},8,["modelValue","placeholder"])]),$(h,{modelValue:l.value.targetType,"onUpdate:modelValue":c[2]||(c[2]=s=>l.value.targetType=s),style:{"margin-left":"1rem"}},{default:E(()=>[$(v,{label:"file"},{default:E(()=>[q(F(e(t)("send.fileType.file")),1)]),_:1}),$(v,{label:"text"},{default:E(()=>[q(F(e(t)("send.fileType.text")),1)]),_:1})]),_:1},8,["modelValue"])]),R("div",Ia,[l.value.targetType=="file"?(y(),P(Fa,{key:0,shareData:l.value},null,8,["shareData"])):l.value.targetType=="text"?(y(),P(La,{key:1,shareData:l.value},null,8,["shareData"])):C("",!0)])]),_:1})])}}});export{Xa as default};
+import{U as ae,C as et,c as tt,d as K,e as at,u as st,f as ot,g as lt,h as he,t as se,b as _e,E as nt}from"./el-input-DklOLKsm.js";import{g as rt,e as oe,c as Se,d as Ee,f as it,_ as ut}from"./config-DauDXcbs.js";import"./el-tag-m5-RVRsg.js";import{i as dt,E as ct,a as pt}from"./el-select-3CzptGtE.js";import"./el-popper-CE96w3Lg.js";import{b as O,ag as $e,H as ne,q as re,ah as ie,t as V,l as ke,a as x,ai as ue,aj as Ce,d as w,u as z,o as y,Y as k,W as R,B as Re,ak as we,g as e,K as Ue,f as _,X as B,r as U,a1 as q,$ as F,_ as N,n as De,h as Fe,S as xe,p as Le,v as ft,y as mt,R as Z,j as Pe,al as Te,am as Be,an as Ve,k as S,m as Q,ao as D,ap as vt,e as P,w as E,ab as Oe,ac as ze,a0 as Ie,Z as C,C as $,M as I,aq as yt,ar as gt,as as bt,at as ht,au as _t,av as St,aw as Et,ax as ee,ay as de,az as $t,a6 as kt,aA as Ct,U as Rt,aB as wt,aC as ce,aD as pe,a8 as le,aE as Ut,aF as Dt,aG as j,af as Ne}from"./index-B8Am18SQ.js";import{b as Ft}from"./_baseClone-CCxqJySw.js";import"./vnode-DxH7DBlv.js";var xt=1,Lt=4;function fe(o){return Ft(o,xt|Lt)}const Ae=O({modelValue:{type:[String,Number,Boolean],default:void 0},size:$e,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Pt=O({...Ae,border:Boolean}),je={[ae]:o=>ne(o)||re(o)||ie(o),[et]:o=>ne(o)||re(o)||ie(o)},qe=Symbol("radioGroupKey"),Ge=(o,i)=>{const t=V(),l=ke(qe,void 0),u=x(()=>!!l),c=x(()=>ue(o.value)?o.label:o.value),f=x({get(){return u.value?l.modelValue:o.modelValue},set(r){u.value?l.changeEvent(r):i&&i(ae,r),t.value.checked=o.modelValue===c.value}}),b=tt(x(()=>l==null?void 0:l.size)),p=K(x(()=>l==null?void 0:l.disabled)),v=V(!1),h=x(()=>p.value||u.value&&f.value!==c.value?-1:0);return Ce({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},x(()=>u.value&&ue(o.value))),{radioRef:t,isGroup:u,radioGroup:l,focus:v,size:b,disabled:p,tabIndex:h,modelValue:f,actualValue:c}},Tt=["value","name","disabled"],Bt=w({name:"ElRadio"}),Vt=w({...Bt,props:Pt,emits:je,setup(o,{emit:i}){const t=o,l=z("radio"),{radioRef:u,radioGroup:c,focus:f,size:b,disabled:p,modelValue:v,actualValue:h}=Ge(t,i);function r(){De(()=>i("change",v.value))}return(s,a)=>{var d;return y(),k("label",{class:_([e(l).b(),e(l).is("disabled",e(p)),e(l).is("focus",e(f)),e(l).is("bordered",s.border),e(l).is("checked",e(v)===e(h)),e(l).m(e(b))])},[R("span",{class:_([e(l).e("input"),e(l).is("disabled",e(p)),e(l).is("checked",e(v)===e(h))])},[Re(R("input",{ref_key:"radioRef",ref:u,"onUpdate:modelValue":a[0]||(a[0]=n=>Ue(v)?v.value=n:null),class:_(e(l).e("original")),value:e(h),name:s.name||((d=e(c))==null?void 0:d.name),disabled:e(p),type:"radio",onFocus:a[1]||(a[1]=n=>f.value=!0),onBlur:a[2]||(a[2]=n=>f.value=!1),onChange:r,onClick:a[3]||(a[3]=B(()=>{},["stop"]))},null,42,Tt),[[we,e(v)]]),R("span",{class:_(e(l).e("inner"))},null,2)],2),R("span",{class:_(e(l).e("label")),onKeydown:a[4]||(a[4]=B(()=>{},["stop"]))},[U(s.$slots,"default",{},()=>[q(F(s.label),1)])],34)],2)}}});var Ot=N(Vt,[["__file","radio.vue"]]);const zt=O({...Ae}),It=["value","name","disabled"],Nt=w({name:"ElRadioButton"}),At=w({...Nt,props:zt,setup(o){const i=o,t=z("radio"),{radioRef:l,focus:u,size:c,disabled:f,modelValue:b,radioGroup:p,actualValue:v}=Ge(i),h=x(()=>({backgroundColor:(p==null?void 0:p.fill)||"",borderColor:(p==null?void 0:p.fill)||"",boxShadow:p!=null&&p.fill?`-1px 0 0 0 ${p.fill}`:"",color:(p==null?void 0:p.textColor)||""}));return(r,s)=>{var a;return y(),k("label",{class:_([e(t).b("button"),e(t).is("active",e(b)===e(v)),e(t).is("disabled",e(f)),e(t).is("focus",e(u)),e(t).bm("button",e(c))])},[Re(R("input",{ref_key:"radioRef",ref:l,"onUpdate:modelValue":s[0]||(s[0]=d=>Ue(b)?b.value=d:null),class:_(e(t).be("button","original-radio")),value:e(v),type:"radio",name:r.name||((a=e(p))==null?void 0:a.name),disabled:e(f),onFocus:s[1]||(s[1]=d=>u.value=!0),onBlur:s[2]||(s[2]=d=>u.value=!1),onClick:s[3]||(s[3]=B(()=>{},["stop"]))},null,42,It),[[we,e(b)]]),R("span",{class:_(e(t).be("button","inner")),style:Fe(e(b)===e(v)?e(h):{}),onKeydown:s[4]||(s[4]=B(()=>{},["stop"]))},[U(r.$slots,"default",{},()=>[q(F(r.label),1)])],38)],2)}}});var Me=N(At,[["__file","radio-button.vue"]]);const jt=O({id:{type:String,default:void 0},size:$e,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...at(["ariaLabel"])}),qt=je,Gt=["id","aria-label","aria-labelledby"],Mt=w({name:"ElRadioGroup"}),Kt=w({...Mt,props:jt,emits:qt,setup(o,{emit:i}){const t=o,l=z("radio"),u=st(),c=V(),{formItem:f}=ot(),{inputId:b,isLabeledByFormItem:p}=lt(t,{formItemContext:f}),v=r=>{i(ae,r),De(()=>i("change",r))};xe(()=>{const r=c.value.querySelectorAll("[type=radio]"),s=r[0];!Array.from(r).some(a=>a.checked)&&s&&(s.tabIndex=0)});const h=x(()=>t.name||u.value);return Le(qe,ft({...mt(t),changeEvent:v,name:h})),Z(()=>t.modelValue,()=>{t.validateEvent&&(f==null||f.validate("change").catch(r=>he()))}),Ce({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},x(()=>!!t.label)),(r,s)=>(y(),k("div",{id:e(b),ref_key:"radioGroupRef",ref:c,class:_(e(l).b("group")),role:"radiogroup","aria-label":e(p)?void 0:r.label||r.ariaLabel||"radio-group","aria-labelledby":e(p)?e(f).labelId:void 0},[U(r.$slots,"default")],10,Gt))}});var Ke=N(Kt,[["__file","radio-group.vue"]]);const Ht=Pe(Ot,{RadioButton:Me,RadioGroup:Ke}),Xt=Te(Ke);Te(Me);const He=Symbol("uploadContextKey"),Wt="ElUpload";class Yt extends Error{constructor(i,t,l,u){super(i),this.name="UploadAjaxError",this.status=t,this.method=l,this.url=u}}function me(o,i,t){let l;return t.response?l=`${t.response.error||t.response}`:t.responseText?l=`${t.responseText}`:l=`fail to ${i.method} ${o} ${t.status}`,new Yt(l,t.status,i.method,o)}function Jt(o){const i=o.responseText||o.response;if(!i)return i;try{return JSON.parse(i)}catch{return i}}const Zt=o=>{typeof XMLHttpRequest>"u"&&se(Wt,"XMLHttpRequest is undefined");const i=new XMLHttpRequest,t=o.action;i.upload&&i.upload.addEventListener("progress",c=>{const f=c;f.percent=c.total>0?c.loaded/c.total*100:0,o.onProgress(f)});const l=new FormData;if(o.data)for(const[c,f]of Object.entries(o.data))Be(f)&&f.length?l.append(c,...f):l.append(c,f);l.append(o.filename,o.file,o.file.name),i.addEventListener("error",()=>{o.onError(me(t,o,i))}),i.addEventListener("load",()=>{if(i.status<200||i.status>=300)return o.onError(me(t,o,i));o.onSuccess(Jt(i))}),i.open(o.method,t,!0),o.withCredentials&&"withCredentials"in i&&(i.withCredentials=!0);const u=o.headers||{};if(u instanceof Headers)u.forEach((c,f)=>i.setRequestHeader(f,c));else for(const[c,f]of Object.entries(u))Ve(f)||i.setRequestHeader(c,String(f));return i.send(l),i},Xe=["text","picture","picture-card"];let Qt=1;const te=()=>Date.now()+Qt++,We=O({action:{type:String,default:"#"},headers:{type:S(Object)},method:{type:String,default:"post"},data:{type:S([Object,Function,Promise]),default:()=>Q({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:S(Array),default:()=>Q([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:Xe,default:"text"},httpRequest:{type:S(Function),default:Zt},disabled:Boolean,limit:Number}),ea=O({...We,beforeUpload:{type:S(Function),default:D},beforeRemove:{type:S(Function)},onRemove:{type:S(Function),default:D},onChange:{type:S(Function),default:D},onPreview:{type:S(Function),default:D},onSuccess:{type:S(Function),default:D},onProgress:{type:S(Function),default:D},onError:{type:S(Function),default:D},onExceed:{type:S(Function),default:D},crossorigin:{type:S(String)}}),ta=O({files:{type:S(Array),default:()=>Q([])},disabled:{type:Boolean,default:!1},handlePreview:{type:S(Function),default:D},listType:{type:String,values:Xe,default:"text"},crossorigin:{type:S(String)}}),aa={remove:o=>!!o},sa=["onKeydown"],oa=["src","crossorigin"],la=["onClick"],na=["title"],ra=["onClick"],ia=["onClick"],ua=w({name:"ElUploadList"}),da=w({...ua,props:ta,emits:aa,setup(o,{emit:i}){const t=o,{t:l}=vt(),u=z("upload"),c=z("icon"),f=z("list"),b=K(),p=V(!1),v=x(()=>[u.b("list"),u.bm("list",t.listType),u.is("disabled",t.disabled)]),h=r=>{i("remove",r)};return(r,s)=>(y(),P(Et,{tag:"ul",class:_(e(v)),name:e(f).b()},{default:E(()=>[(y(!0),k(Oe,null,ze(r.files,a=>(y(),k("li",{key:a.uid||a.name,class:_([e(u).be("list","item"),e(u).is(a.status),{focusing:p.value}]),tabindex:"0",onKeydown:Ie(d=>!e(b)&&h(a),["delete"]),onFocus:s[0]||(s[0]=d=>p.value=!0),onBlur:s[1]||(s[1]=d=>p.value=!1),onClick:s[2]||(s[2]=d=>p.value=!1)},[U(r.$slots,"default",{file:a},()=>[r.listType==="picture"||a.status!=="uploading"&&r.listType==="picture-card"?(y(),k("img",{key:0,class:_(e(u).be("list","item-thumbnail")),src:a.url,crossorigin:r.crossorigin,alt:""},null,10,oa)):C("v-if",!0),a.status==="uploading"||r.listType!=="picture-card"?(y(),k("div",{key:1,class:_(e(u).be("list","item-info"))},[R("a",{class:_(e(u).be("list","item-name")),onClick:B(d=>r.handlePreview(a),["prevent"])},[$(e(I),{class:_(e(c).m("document"))},{default:E(()=>[$(e(yt))]),_:1},8,["class"]),R("span",{class:_(e(u).be("list","item-file-name")),title:a.name},F(a.name),11,na)],10,la),a.status==="uploading"?(y(),P(e(rt),{key:0,type:r.listType==="picture-card"?"circle":"line","stroke-width":r.listType==="picture-card"?6:2,percentage:Number(a.percentage),style:Fe(r.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):C("v-if",!0)],2)):C("v-if",!0),R("label",{class:_(e(u).be("list","item-status-label"))},[r.listType==="text"?(y(),P(e(I),{key:0,class:_([e(c).m("upload-success"),e(c).m("circle-check")])},{default:E(()=>[$(e(gt))]),_:1},8,["class"])):["picture-card","picture"].includes(r.listType)?(y(),P(e(I),{key:1,class:_([e(c).m("upload-success"),e(c).m("check")])},{default:E(()=>[$(e(bt))]),_:1},8,["class"])):C("v-if",!0)],2),e(b)?C("v-if",!0):(y(),P(e(I),{key:2,class:_(e(c).m("close")),onClick:d=>h(a)},{default:E(()=>[$(e(ht))]),_:2},1032,["class","onClick"])),C(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),C(" This is a bug which needs to be fixed "),C(" TODO: Fix the incorrect navigation interaction "),e(b)?C("v-if",!0):(y(),k("i",{key:3,class:_(e(c).m("close-tip"))},F(e(l)("el.upload.deleteTip")),3)),r.listType==="picture-card"?(y(),k("span",{key:4,class:_(e(u).be("list","item-actions"))},[R("span",{class:_(e(u).be("list","item-preview")),onClick:d=>r.handlePreview(a)},[$(e(I),{class:_(e(c).m("zoom-in"))},{default:E(()=>[$(e(_t))]),_:1},8,["class"])],10,ra),e(b)?C("v-if",!0):(y(),k("span",{key:0,class:_(e(u).be("list","item-delete")),onClick:d=>h(a)},[$(e(I),{class:_(e(c).m("delete"))},{default:E(()=>[$(e(St))]),_:1},8,["class"])],10,ia))],2)):C("v-if",!0)])],42,sa))),128)),U(r.$slots,"append")]),_:3},8,["class","name"]))}});var ve=N(da,[["__file","upload-list.vue"]]);const ca=O({disabled:{type:Boolean,default:!1}}),pa={file:o=>Be(o)},fa=["onDrop","onDragover"],Ye="ElUploadDrag",ma=w({name:Ye}),va=w({...ma,props:ca,emits:pa,setup(o,{emit:i}){ke(He)||se(Ye,"usage: ");const l=z("upload"),u=V(!1),c=K(),f=p=>{if(c.value)return;u.value=!1,p.stopPropagation();const v=Array.from(p.dataTransfer.files);i("file",v)},b=()=>{c.value||(u.value=!0)};return(p,v)=>(y(),k("div",{class:_([e(l).b("dragger"),e(l).is("dragover",u.value)]),onDrop:B(f,["prevent"]),onDragover:B(b,["prevent"]),onDragleave:v[0]||(v[0]=B(h=>u.value=!1,["prevent"]))},[U(p.$slots,"default")],42,fa))}});var ya=N(va,[["__file","upload-dragger.vue"]]);const ga=O({...We,beforeUpload:{type:S(Function),default:D},onRemove:{type:S(Function),default:D},onStart:{type:S(Function),default:D},onSuccess:{type:S(Function),default:D},onProgress:{type:S(Function),default:D},onError:{type:S(Function),default:D},onExceed:{type:S(Function),default:D}}),ba=["onKeydown"],ha=["name","multiple","accept"],_a=w({name:"ElUploadContent",inheritAttrs:!1}),Sa=w({..._a,props:ga,setup(o,{expose:i}){const t=o,l=z("upload"),u=K(),c=ee({}),f=ee(),b=n=>{if(n.length===0)return;const{autoUpload:g,limit:m,fileList:L,multiple:T,onStart:G,onExceed:H}=t;if(m&&L.length+n.length>m){H(n,L);return}T||(n=n.slice(0,1));for(const X of n){const M=X;M.uid=te(),G(M),g&&p(M)}},p=async n=>{if(f.value.value="",!t.beforeUpload)return h(n);let g,m={};try{const T=t.data,G=t.beforeUpload(n);m=de(t.data)?fe(t.data):t.data,g=await G,de(t.data)&&dt(T,m)&&(m=fe(t.data))}catch{g=!1}if(g===!1){t.onRemove(n);return}let L=n;g instanceof Blob&&(g instanceof File?L=g:L=new File([g],n.name,{type:n.type})),h(Object.assign(L,{uid:n.uid}),m)},v=async(n,g)=>kt(n)?n(g):n,h=async(n,g)=>{const{headers:m,data:L,method:T,withCredentials:G,name:H,action:X,onProgress:M,onSuccess:Je,onError:Ze,httpRequest:Qe}=t;try{g=await v(g??L,n)}catch{t.onRemove(n);return}const{uid:W}=n,Y={headers:m||{},withCredentials:G,file:n,data:g,method:T,filename:H,action:X,onProgress:A=>{M(A,n)},onSuccess:A=>{Je(A,n),delete c.value[W]},onError:A=>{Ze(A,n),delete c.value[W]}},J=Qe(Y);c.value[W]=J,J instanceof Promise&&J.then(Y.onSuccess,Y.onError)},r=n=>{const g=n.target.files;g&&b(Array.from(g))},s=()=>{u.value||(f.value.value="",f.value.click())},a=()=>{s()};return i({abort:n=>{$t(c.value).filter(n?([m])=>String(n.uid)===m:()=>!0).forEach(([m,L])=>{L instanceof XMLHttpRequest&&L.abort(),delete c.value[m]})},upload:p}),(n,g)=>(y(),k("div",{class:_([e(l).b(),e(l).m(n.listType),e(l).is("drag",n.drag)]),tabindex:"0",onClick:s,onKeydown:Ie(B(a,["self"]),["enter","space"])},[n.drag?(y(),P(ya,{key:0,disabled:e(u),onFile:b},{default:E(()=>[U(n.$slots,"default")]),_:3},8,["disabled"])):U(n.$slots,"default",{key:1}),R("input",{ref_key:"inputRef",ref:f,class:_(e(l).e("input")),name:n.name,multiple:n.multiple,accept:n.accept,type:"file",onChange:r,onClick:g[0]||(g[0]=B(()=>{},["stop"]))},null,42,ha)],42,ba))}});var ye=N(Sa,[["__file","upload-content.vue"]]);const ge="ElUpload",be=o=>{var i;(i=o.url)!=null&&i.startsWith("blob:")&&URL.revokeObjectURL(o.url)},Ea=(o,i)=>{const t=Ct(o,"fileList",void 0,{passive:!0}),l=s=>t.value.find(a=>a.uid===s.uid);function u(s){var a;(a=i.value)==null||a.abort(s)}function c(s=["ready","uploading","success","fail"]){t.value=t.value.filter(a=>!s.includes(a.status))}const f=(s,a)=>{const d=l(a);d&&(console.error(s),d.status="fail",t.value.splice(t.value.indexOf(d),1),o.onError(s,d,t.value),o.onChange(d,t.value))},b=(s,a)=>{const d=l(a);d&&(o.onProgress(s,d,t.value),d.status="uploading",d.percentage=Math.round(s.percent))},p=(s,a)=>{const d=l(a);d&&(d.status="success",d.response=s,o.onSuccess(s,d,t.value),o.onChange(d,t.value))},v=s=>{Ve(s.uid)&&(s.uid=te());const a={name:s.name,percentage:0,status:"ready",size:s.size,raw:s,uid:s.uid};if(o.listType==="picture-card"||o.listType==="picture")try{a.url=URL.createObjectURL(s)}catch(d){he(ge,d.message),o.onError(d,a,t.value)}t.value=[...t.value,a],o.onChange(a,t.value)},h=async s=>{const a=s instanceof File?l(s):s;a||se(ge,"file to be removed not found");const d=n=>{u(n);const g=t.value;g.splice(g.indexOf(n),1),o.onRemove(n,g),be(n)};o.beforeRemove?await o.beforeRemove(a,t.value)!==!1&&d(a):d(a)};function r(){t.value.filter(({status:s})=>s==="ready").forEach(({raw:s})=>{var a;return s&&((a=i.value)==null?void 0:a.upload(s))})}return Z(()=>o.listType,s=>{s!=="picture-card"&&s!=="picture"||(t.value=t.value.map(a=>{const{raw:d,url:n}=a;if(!n&&d)try{a.url=URL.createObjectURL(d)}catch(g){o.onError(g,a,t.value)}return a}))}),Z(t,s=>{for(const a of s)a.uid||(a.uid=te()),a.status||(a.status="success")},{immediate:!0,deep:!0}),{uploadFiles:t,abort:u,clearFiles:c,handleError:f,handleProgress:b,handleStart:v,handleSuccess:p,handleRemove:h,submit:r,revokeFileObjectURL:be}},$a=w({name:"ElUpload"}),ka=w({...$a,props:ea,setup(o,{expose:i}){const t=o,l=K(),u=ee(),{abort:c,submit:f,clearFiles:b,uploadFiles:p,handleStart:v,handleError:h,handleRemove:r,handleSuccess:s,handleProgress:a,revokeFileObjectURL:d}=Ea(t,u),n=x(()=>t.listType==="picture-card"),g=x(()=>({...t,fileList:p.value,onStart:v,onProgress:a,onSuccess:s,onError:h,onRemove:r}));return Rt(()=>{p.value.forEach(d)}),Le(He,{accept:wt(t,"accept")}),i({abort:c,submit:f,clearFiles:b,handleStart:v,handleRemove:r}),(m,L)=>(y(),k("div",null,[e(n)&&m.showFileList?(y(),P(ve,{key:0,disabled:e(l),"list-type":m.listType,files:e(p),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:e(r)},ce({append:E(()=>[$(ye,pe({ref_key:"uploadRef",ref:u},e(g)),{default:E(()=>[m.$slots.trigger?U(m.$slots,"trigger",{key:0}):C("v-if",!0),!m.$slots.trigger&&m.$slots.default?U(m.$slots,"default",{key:1}):C("v-if",!0)]),_:3},16)]),_:2},[m.$slots.file?{name:"default",fn:E(({file:T})=>[U(m.$slots,"file",{file:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):C("v-if",!0),!e(n)||e(n)&&!m.showFileList?(y(),P(ye,pe({key:1,ref_key:"uploadRef",ref:u},e(g)),{default:E(()=>[m.$slots.trigger?U(m.$slots,"trigger",{key:0}):C("v-if",!0),!m.$slots.trigger&&m.$slots.default?U(m.$slots,"default",{key:1}):C("v-if",!0)]),_:3},16)):C("v-if",!0),m.$slots.trigger?U(m.$slots,"default",{key:2}):C("v-if",!0),U(m.$slots,"tip"),!e(n)&&m.showFileList?(y(),P(ve,{key:3,disabled:e(l),"list-type":m.listType,files:e(p),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:e(r)},ce({_:2},[m.$slots.file?{name:"default",fn:E(({file:T})=>[U(m.$slots,"file",{file:T})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):C("v-if",!0)]))}});var Ca=N(ka,[["__file","upload.vue"]]);const Ra=Pe(Ca),wa={class:"el-upload__text"},Ua={class:"el-upload__text",style:{"font-size":"10px"}},Da=R("div",{class:"el-upload__tip"},null,-1),Fa=w({__name:"UploadFile",props:{shareData:{type:Object,default:()=>({expire_value:1,expire_style:"day"})}},setup(o){const{config:i}=oe(),{t}=le(),l=Se(),u=Ee(),c=o,f=V([]),b=V(null),p=r=>{u.addShareData({name:r.name,text:"",status:r.status,percentage:0,size:r.size,type:r.raw.type,uid:r.uid})},v=r=>{l.showFileBox=!0;const s=new FormData;if(i.openUpload===0&&localStorage.getItem("adminPassword")===null){u.shareData.forEach(a=>{a.uid===r.file.uid&&(j.error(t("msg.uploadClose")),a.status="fail",a.code=t("msg.fileUploadFail"),u.save())});return}if(r.file.size>i.uploadSize){u.shareData.forEach(a=>{a.uid===r.file.uid&&(j.error(t("msg.fileOverSize")),a.status="fail",a.code=t("msg.fileOverSize"),u.save())});return}s.append("file",r.file),s.append("expire_value",c.shareData.expireValue),s.append("expire_style",c.shareData.expireStyle),Ne({url:"share/file/",method:"post",data:s,onUploadProgress:a=>{const d=Math.round(a.loaded*100/a.total)||0;u.shareData.forEach(n=>{n.uid===r.file.uid&&(n.percentage=d,u.save())})}}).then(a=>{const d=a.detail;u.shareData.forEach(n=>{n.uid===r.file.uid&&(n.status="success",n.text=d.text,n.code=d.code,j.success(t("msg.fileUploadSuccess")),u.save())})}).catch(()=>{u.shareData.forEach(a=>{a.uid===r.file.uid&&(a.status="fail",a.code=t("msg.fileUploadFail"),j.error(t("msg.fileUploadFail")),u.save())})})};function h(r){const s=r.clipboardData&&r.clipboardData.items;if(s&&s.length)for(let a=0;a{document.removeEventListener("paste",h)}),xe(()=>{document.addEventListener("paste",h)}),(r,s)=>{const a=I,d=Ra;return y(),k("div",null,[$(d,{class:"upload-demo",drag:"",multiple:"","show-file-list":!1,ref_key:"uploadBox",ref:b,"file-list":f.value,"onUpdate:fileList":s[0]||(s[0]=n=>f.value=n),"on-change":p,"http-request":v},{tip:E(()=>[Da]),default:E(()=>[$(a,{class:"el-icon--upload"},{default:E(()=>[$(e(Dt))]),_:1}),R("div",wa,[q(F(e(t)("send.prompt1")),1),R("em",null,F(e(t)("send.clickUpload")),1)]),R("div",Ua,F(e(t)("send.prompt2")),1)]),_:1},8,["file-list"])])}}}),xa={style:{position:"relative"}},La=w({__name:"UploadText",props:{shareData:{type:Object,default:()=>({expire_value:1,expire_style:"day"})}},setup(o){const i=V(""),{t}=le(),{config:l}=oe(),u=Se(),c=Ee(),f=o,b=()=>{if(i.value==="")j.warning(t("send.prompt3"));else if(l.openUpload===0&&localStorage.getItem("adminPassword")===null)j.error(t("msg.uploadClose"));else{const p=new FormData;p.append("text",i.value),p.append("expire_value",f.shareData.expireValue),p.append("expire_style",f.shareData.expireStyle),Ne({url:"share/text/",method:"post",data:p}).then(v=>{const h=v.detail;u.showFileBox=!0,c.addShareData({name:t("send.textShare"),text:h.text,code:h.code,status:"success",percentage:100,size:i.value.length,type:"text",uid:Date.now()})})}};return(p,v)=>{const h=_e,r=nt;return y(),k("div",xa,[$(h,{placeholder:e(t)("send.prompt3"),modelValue:i.value,"onUpdate:modelValue":v[0]||(v[0]=s=>i.value=s),type:"textarea",rows:9,"input-style":{"border-radius":"20px",border:"1px dashed var(--el-border-color)","box-shadow":"none"}},null,8,["placeholder","modelValue"]),$(r,{onClick:b,style:{position:"absolute",right:"0",bottom:"0","border-radius":"20px 0 20px 0",margin:"1px",background:"rgba(255,255,255,0.2)"},size:"large"},{default:E(()=>[q(F(e(t)("send.share")),1)]),_:1})])}}}),Pa={style:{display:"flex",margin:"1rem"}},Ta={key:0},Ba={key:1},Va={key:2},Oa={key:3},za={key:4},Ia={style:{margin:"1rem"}},Xa=w({__name:"SendView",setup(o){const{config:i}=oe(),{t}=le(),l=V({expireValue:1,expireStyle:i.expireStyle.length>0?i.expireStyle[0]:"day",targetType:"file"});return(u,c)=>{const f=pt,b=ct,p=_e,v=Ht,h=Xt,r=it;return y(),k("main",null,[$(r,{class:"card",style:{position:"relative"},"body-style":{padding:"0"}},{default:E(()=>[$(ut,{style:{padding:"1rem"}}),R("div",Pa,[R("div",null,[$(p,{modelValue:l.value.expireValue,"onUpdate:modelValue":c[1]||(c[1]=s=>l.value.expireValue=s),style:{width:"200px"},placeholder:e(t)("send.pleaseInputExpireValue")},{prepend:E(()=>[$(b,{modelValue:l.value.expireStyle,"onUpdate:modelValue":c[0]||(c[0]=s=>l.value.expireStyle=s),placeholder:e(t)("send.expireStyle"),style:{width:"75px"}},{default:E(()=>[(y(!0),k(Oe,null,ze(e(i).expireStyle,s=>(y(),P(f,{key:s,label:e(t)(`send.expireData.${s}`),value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),append:E(()=>[l.value.expireStyle=="day"?(y(),k("span",Ta,F(e(t)("send.expireValue.day")),1)):l.value.expireStyle=="hour"?(y(),k("span",Ba,F(e(t)("send.expireValue.hour")),1)):l.value.expireStyle=="minute"?(y(),k("span",Va,F(e(t)("send.expireValue.minute")),1)):l.value.expireStyle=="forever"?(y(),k("span",Oa,"👌")):l.value.expireStyle=="count"?(y(),k("span",za,F(e(t)("send.expireValue.count")),1)):C("",!0)]),_:1},8,["modelValue","placeholder"])]),$(h,{modelValue:l.value.targetType,"onUpdate:modelValue":c[2]||(c[2]=s=>l.value.targetType=s),style:{"margin-left":"1rem"}},{default:E(()=>[$(v,{label:"file"},{default:E(()=>[q(F(e(t)("send.fileType.file")),1)]),_:1}),$(v,{label:"text"},{default:E(()=>[q(F(e(t)("send.fileType.text")),1)]),_:1})]),_:1},8,["modelValue"])]),R("div",Ia,[l.value.targetType=="file"?(y(),P(Fa,{key:0,shareData:l.value},null,8,["shareData"])):l.value.targetType=="text"?(y(),P(La,{key:1,shareData:l.value},null,8,["shareData"])):C("",!0)])]),_:1})])}}});export{Xa as default};
diff --git a/fcb-fronted/dist/assets/SettingView-D_GDGq9D.js b/fcb-fronted/dist/assets/SettingView-0vJve8gN.js
similarity index 96%
rename from fcb-fronted/dist/assets/SettingView-D_GDGq9D.js
rename to fcb-fronted/dist/assets/SettingView-0vJve8gN.js
index c1424bca3..b57d45dab 100644
--- a/fcb-fronted/dist/assets/SettingView-D_GDGq9D.js
+++ b/fcb-fronted/dist/assets/SettingView-0vJve8gN.js
@@ -1 +1 @@
-import{b as U,E as k}from"./el-input-Bra5w62E.js";import{E as w,a as z}from"./el-form-item-9LI72QqF.js";import"./el-tag-BdmXuWOW.js";import{a as S,E as h}from"./el-select-B1MAtda_.js";import"./el-popper-DA6dI8BR.js";import{d as A,a8 as E,t as C,e as D,w as s,af as g,o as V,C as e,g as o,W as i,a1 as b,$ as m,Y as B,Z as M,aG as v}from"./index-BMDdhWSk.js";import"./_baseClone-CNjLZpcX.js";const N={style:{display:"flex",height:"38px",width:"45%"}},T={style:{display:"flex",height:"38px","margin-left":"20px"}},c={style:{"margin-left":"0.4rem"}},I={style:{"margin-left":"0.4rem"}},F={style:{"margin-left":"0.4rem"}},K={key:0},O={style:{display:"flex",height:"38px"}},q={style:{"margin-right":"0.4rem"}},G={style:{width:"200px","margin-left":"0.4rem"}},W={style:{display:"flex",height:"38px"}},Y={style:{width:"3rem","margin-right":"0.4rem"}},Z={style:{width:"200px","margin-left":"0.4rem"}},$={style:{display:"flex",height:"38px"}},j={style:{"margin-right":"0.4rem"}},H={style:{width:"200px","margin-left":"0.4rem"}},J={style:{display:"flex",height:"38px"}},L={style:{width:"3rem","margin-right":"0.4rem"}},P={style:{width:"200px","margin-left":"0.4rem"}},se=A({__name:"SettingView",setup(Q){const{t:n}=E(),l=C({name:"",description:"",file_storage:"",expireStyle:[],admin_token:"",robotsText:"",keywords:"",notify_title:"",notify_content:"",openUpload:1,uploadSize:1,uploadMinute:1,max_save_seconds:0,opacity:.9,s3_access_key_id:"",background:"",showAdminAddr:0,page_explain:"",s3_secret_access_key:"",aws_session_token:"",s3_signature_version:"",s3_region_name:"",s3_bucket_name:"",s3_endpoint_url:"",s3_hostname:"",uploadCount:1,errorMinute:1,errorCount:1});(()=>{g({url:"/admin/config/get",method:"get"}).then(p=>{l.value=p.detail})})();const f=()=>{g({url:"/admin/config/update",method:"patch",data:l.value}).then(p=>{p.code==200?v.success(n("admin.settings.saveSuccess")):v.error(p.message)})};return(p,a)=>{const u=U,d=z,r=S,_=h,y=k,x=w;return V(),D(x,null,{default:s(()=>[e(d,{size:"large",label:o(n)("admin.settings.name")},{default:s(()=>[e(u,{modelValue:l.value.name,"onUpdate:modelValue":a[0]||(a[0]=t=>l.value.name=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.description")},{default:s(()=>[e(u,{modelValue:l.value.description,"onUpdate:modelValue":a[1]||(a[1]=t=>l.value.description=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.keywords"),style:{"letter-spacing":"0.3rem"}},{default:s(()=>[e(u,{modelValue:l.value.keywords,"onUpdate:modelValue":a[2]||(a[2]=t=>l.value.keywords=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.notify_title")},{default:s(()=>[e(u,{modelValue:l.value.notify_title,"onUpdate:modelValue":a[3]||(a[3]=t=>l.value.notify_title=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.notify_content")},{default:s(()=>[e(u,{modelValue:l.value.notify_content,"onUpdate:modelValue":a[4]||(a[4]=t=>l.value.notify_content=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.background")},{default:s(()=>[i("span",N,[e(u,{modelValue:l.value.background,"onUpdate:modelValue":a[5]||(a[5]=t=>l.value.background=t),placeholder:"url"},null,8,["modelValue"])]),i("span",T,[b(" Opacity: "),e(u,{type:"number",modelValue:l.value.opacity,"onUpdate:modelValue":a[6]||(a[6]=t=>l.value.opacity=t)},null,8,["modelValue"])])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.showAdminAddr")},{default:s(()=>[e(_,{modelValue:l.value.showAdminAddr,"onUpdate:modelValue":a[7]||(a[7]=t=>l.value.showAdminAddr=t),style:{width:"80%"}},{default:s(()=>[e(r,{label:o(n)("admin.settings.showAdmin.open"),value:1},null,8,["label"]),e(r,{label:o(n)("admin.settings.showAdmin.close"),value:0},null,8,["label"])]),_:1},8,["modelValue"]),i("small",c,m(o(n)("admin.settings.showAdmin.note")),1)]),_:1},8,["label"]),e(d,{size:"large",label:"robots.Text"},{default:s(()=>[e(u,{type:"textarea",modelValue:l.value.robotsText,"onUpdate:modelValue":a[8]||(a[8]=t=>l.value.robotsText=t),placeholder:"explain"},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:o(n)("admin.settings.explain")},{default:s(()=>[e(u,{type:"textarea",modelValue:l.value.page_explain,"onUpdate:modelValue":a[9]||(a[9]=t=>l.value.page_explain=t),placeholder:"explain"},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.admin_token")},{default:s(()=>[e(u,{type:"password",modelValue:l.value.admin_token,"onUpdate:modelValue":a[10]||(a[10]=t=>l.value.admin_token=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.uploadSize")},{append:s(()=>[]),default:s(()=>[e(u,{type:"number",modelValue:l.value.uploadSize,"onUpdate:modelValue":a[11]||(a[11]=t=>l.value.uploadSize=t)},null,8,["modelValue"]),i("small",null,"Bytes:"+m(o(n)("admin.settings.uploadSizeNote")),1)]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.max_save_seconds")},{default:s(()=>[e(u,{type:"number",modelValue:l.value.max_save_seconds,"onUpdate:modelValue":a[12]||(a[12]=t=>l.value.max_save_seconds=t)},null,8,["modelValue"]),i("small",null,"Seconds:"+m(o(n)("admin.settings.maxSaveSecondsNote")),1)]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.expireStyle")},{default:s(()=>[e(_,{modelValue:l.value.expireStyle,"onUpdate:modelValue":a[13]||(a[13]=t=>l.value.expireStyle=t),multiple:"",style:{width:"100%"}},{default:s(()=>[e(r,{label:o(n)("send.expireData.day"),value:"day"},null,8,["label"]),e(r,{label:o(n)("send.expireData.hour"),value:"hour"},null,8,["label"]),e(r,{label:o(n)("send.expireData.minute"),value:"minute"},null,8,["label"]),e(r,{label:o(n)("send.expireData.forever"),value:"forever"},null,8,["label"]),e(r,{label:o(n)("send.expireData.count"),value:"count"},null,8,["label"])]),_:1},8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.openUpload.title")},{default:s(()=>[e(_,{modelValue:l.value.openUpload,"onUpdate:modelValue":a[14]||(a[14]=t=>l.value.openUpload=t),style:{width:"80%"}},{default:s(()=>[e(r,{label:o(n)("admin.settings.openUpload.open"),value:1},null,8,["label"]),e(r,{label:o(n)("admin.settings.openUpload.close"),value:0},null,8,["label"])]),_:1},8,["modelValue"]),i("small",I,m(o(n)("admin.settings.openUpload.note")),1)]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.file_storage.title")},{default:s(()=>[e(_,{modelValue:l.value.file_storage,"onUpdate:modelValue":a[15]||(a[15]=t=>l.value.file_storage=t),style:{width:"80%"}},{default:s(()=>[e(r,{label:o(n)("admin.settings.file_storage.local"),value:"local"},null,8,["label"]),e(r,{label:o(n)("admin.settings.file_storage.s3"),value:"s3"},null,8,["label"])]),_:1},8,["modelValue"]),i("small",F,m(o(n)("admin.settings.file_storage.note")),1)]),_:1},8,["label"]),l.value.file_storage==="s3"?(V(),B("div",K,[e(d,{size:"large",label:"S3 AccessKeyId"},{default:s(()=>[e(u,{modelValue:l.value.s3_access_key_id,"onUpdate:modelValue":a[16]||(a[16]=t=>l.value.s3_access_key_id=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 SecretAccessKey"},{default:s(()=>[e(u,{modelValue:l.value.s3_secret_access_key,"onUpdate:modelValue":a[17]||(a[17]=t=>l.value.s3_secret_access_key=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 BucketName"},{default:s(()=>[e(u,{modelValue:l.value.s3_bucket_name,"onUpdate:modelValue":a[18]||(a[18]=t=>l.value.s3_bucket_name=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 EndpointUrl"},{default:s(()=>[e(u,{modelValue:l.value.s3_endpoint_url,"onUpdate:modelValue":a[19]||(a[19]=t=>l.value.s3_endpoint_url=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 hostname"},{default:s(()=>[e(u,{modelValue:l.value.s3_hostname,"onUpdate:modelValue":a[20]||(a[20]=t=>l.value.s3_hostname=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 region name"},{default:s(()=>[e(u,{modelValue:l.value.s3_region_name,"onUpdate:modelValue":a[21]||(a[21]=t=>l.value.s3_region_name=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 Signature Version"},{default:s(()=>[e(u,{modelValue:l.value.s3_signature_version,"onUpdate:modelValue":a[22]||(a[22]=t=>l.value.s3_signature_version=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"Aws Session Token"},{default:s(()=>[e(u,{modelValue:l.value.aws_session_token,"onUpdate:modelValue":a[23]||(a[23]=t=>l.value.aws_session_token=t)},null,8,["modelValue"])]),_:1})])):M("",!0),e(d,{size:"large",label:o(n)("admin.settings.uploadlimit")},{default:s(()=>[i("span",O,[i("span",q,m(o(n)("admin.settings.mei")),1),e(u,{type:"number",modelValue:l.value.uploadMinute,"onUpdate:modelValue":a[24]||(a[24]=t=>l.value.uploadMinute=t)},null,8,["modelValue"]),i("span",G,m(o(n)("admin.settings.minute")),1)]),i("span",W,[i("span",Y,m(o(n)("admin.settings.upload")),1),e(u,{type:"number",modelValue:l.value.uploadCount,"onUpdate:modelValue":a[25]||(a[25]=t=>l.value.uploadCount=t)},null,8,["modelValue"]),i("span",Z,m(o(n)("admin.settings.files")),1)])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.errorlimit")},{default:s(()=>[i("span",$,[i("span",j,m(o(n)("admin.settings.mei")),1),e(u,{type:"number",modelValue:l.value.errorMinute,"onUpdate:modelValue":a[26]||(a[26]=t=>l.value.errorMinute=t)},null,8,["modelValue"]),i("span",H,m(o(n)("admin.settings.minute")),1)]),i("span",J,[i("span",L,m(o(n)("admin.settings.allow")),1),e(u,{type:"number",modelValue:l.value.errorCount,"onUpdate:modelValue":a[27]||(a[27]=t=>l.value.errorCount=t)},null,8,["modelValue"]),i("span",P,m(o(n)("admin.settings.errors")),1)])]),_:1},8,["label"]),e(d,null,{default:s(()=>[e(y,{onClick:f,type:"primary",style:{margin:"auto"}},{default:s(()=>[b(m(o(n)("admin.settings.save")),1)]),_:1})]),_:1})]),_:1})}}});export{se as default};
+import{b as U,E as k}from"./el-input-DklOLKsm.js";import{E as w,a as z}from"./el-form-item-uebD4Mim.js";import"./el-tag-m5-RVRsg.js";import{a as S,E as h}from"./el-select-3CzptGtE.js";import"./el-popper-CE96w3Lg.js";import{d as A,a8 as E,t as C,e as D,w as s,af as g,o as V,C as e,g as o,W as i,a1 as b,$ as m,Y as B,Z as M,aG as v}from"./index-B8Am18SQ.js";import"./_baseClone-CCxqJySw.js";const N={style:{display:"flex",height:"38px",width:"45%"}},T={style:{display:"flex",height:"38px","margin-left":"20px"}},c={style:{"margin-left":"0.4rem"}},I={style:{"margin-left":"0.4rem"}},F={style:{"margin-left":"0.4rem"}},K={key:0},O={style:{display:"flex",height:"38px"}},q={style:{"margin-right":"0.4rem"}},G={style:{width:"200px","margin-left":"0.4rem"}},W={style:{display:"flex",height:"38px"}},Y={style:{width:"3rem","margin-right":"0.4rem"}},Z={style:{width:"200px","margin-left":"0.4rem"}},$={style:{display:"flex",height:"38px"}},j={style:{"margin-right":"0.4rem"}},H={style:{width:"200px","margin-left":"0.4rem"}},J={style:{display:"flex",height:"38px"}},L={style:{width:"3rem","margin-right":"0.4rem"}},P={style:{width:"200px","margin-left":"0.4rem"}},se=A({__name:"SettingView",setup(Q){const{t:n}=E(),l=C({name:"",description:"",file_storage:"",expireStyle:[],admin_token:"",robotsText:"",keywords:"",notify_title:"",notify_content:"",openUpload:1,uploadSize:1,uploadMinute:1,max_save_seconds:0,opacity:.9,s3_access_key_id:"",background:"",showAdminAddr:0,page_explain:"",s3_secret_access_key:"",aws_session_token:"",s3_signature_version:"",s3_region_name:"",s3_bucket_name:"",s3_endpoint_url:"",s3_hostname:"",uploadCount:1,errorMinute:1,errorCount:1});(()=>{g({url:"/admin/config/get",method:"get"}).then(p=>{l.value=p.detail})})();const f=()=>{g({url:"/admin/config/update",method:"patch",data:l.value}).then(p=>{p.code==200?v.success(n("admin.settings.saveSuccess")):v.error(p.message)})};return(p,a)=>{const u=U,d=z,r=S,_=h,y=k,x=w;return V(),D(x,null,{default:s(()=>[e(d,{size:"large",label:o(n)("admin.settings.name")},{default:s(()=>[e(u,{modelValue:l.value.name,"onUpdate:modelValue":a[0]||(a[0]=t=>l.value.name=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.description")},{default:s(()=>[e(u,{modelValue:l.value.description,"onUpdate:modelValue":a[1]||(a[1]=t=>l.value.description=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.keywords"),style:{"letter-spacing":"0.3rem"}},{default:s(()=>[e(u,{modelValue:l.value.keywords,"onUpdate:modelValue":a[2]||(a[2]=t=>l.value.keywords=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.notify_title")},{default:s(()=>[e(u,{modelValue:l.value.notify_title,"onUpdate:modelValue":a[3]||(a[3]=t=>l.value.notify_title=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.notify_content")},{default:s(()=>[e(u,{modelValue:l.value.notify_content,"onUpdate:modelValue":a[4]||(a[4]=t=>l.value.notify_content=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.background")},{default:s(()=>[i("span",N,[e(u,{modelValue:l.value.background,"onUpdate:modelValue":a[5]||(a[5]=t=>l.value.background=t),placeholder:"url"},null,8,["modelValue"])]),i("span",T,[b(" Opacity: "),e(u,{type:"number",modelValue:l.value.opacity,"onUpdate:modelValue":a[6]||(a[6]=t=>l.value.opacity=t)},null,8,["modelValue"])])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.showAdminAddr")},{default:s(()=>[e(_,{modelValue:l.value.showAdminAddr,"onUpdate:modelValue":a[7]||(a[7]=t=>l.value.showAdminAddr=t),style:{width:"80%"}},{default:s(()=>[e(r,{label:o(n)("admin.settings.showAdmin.open"),value:1},null,8,["label"]),e(r,{label:o(n)("admin.settings.showAdmin.close"),value:0},null,8,["label"])]),_:1},8,["modelValue"]),i("small",c,m(o(n)("admin.settings.showAdmin.note")),1)]),_:1},8,["label"]),e(d,{size:"large",label:"robots.Text"},{default:s(()=>[e(u,{type:"textarea",modelValue:l.value.robotsText,"onUpdate:modelValue":a[8]||(a[8]=t=>l.value.robotsText=t),placeholder:"explain"},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:o(n)("admin.settings.explain")},{default:s(()=>[e(u,{type:"textarea",modelValue:l.value.page_explain,"onUpdate:modelValue":a[9]||(a[9]=t=>l.value.page_explain=t),placeholder:"explain"},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.admin_token")},{default:s(()=>[e(u,{type:"password",modelValue:l.value.admin_token,"onUpdate:modelValue":a[10]||(a[10]=t=>l.value.admin_token=t)},null,8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.uploadSize")},{append:s(()=>[]),default:s(()=>[e(u,{type:"number",modelValue:l.value.uploadSize,"onUpdate:modelValue":a[11]||(a[11]=t=>l.value.uploadSize=t)},null,8,["modelValue"]),i("small",null,"Bytes:"+m(o(n)("admin.settings.uploadSizeNote")),1)]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.max_save_seconds")},{default:s(()=>[e(u,{type:"number",modelValue:l.value.max_save_seconds,"onUpdate:modelValue":a[12]||(a[12]=t=>l.value.max_save_seconds=t)},null,8,["modelValue"]),i("small",null,"Seconds:"+m(o(n)("admin.settings.maxSaveSecondsNote")),1)]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.expireStyle")},{default:s(()=>[e(_,{modelValue:l.value.expireStyle,"onUpdate:modelValue":a[13]||(a[13]=t=>l.value.expireStyle=t),multiple:"",style:{width:"100%"}},{default:s(()=>[e(r,{label:o(n)("send.expireData.day"),value:"day"},null,8,["label"]),e(r,{label:o(n)("send.expireData.hour"),value:"hour"},null,8,["label"]),e(r,{label:o(n)("send.expireData.minute"),value:"minute"},null,8,["label"]),e(r,{label:o(n)("send.expireData.forever"),value:"forever"},null,8,["label"]),e(r,{label:o(n)("send.expireData.count"),value:"count"},null,8,["label"])]),_:1},8,["modelValue"])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.openUpload.title")},{default:s(()=>[e(_,{modelValue:l.value.openUpload,"onUpdate:modelValue":a[14]||(a[14]=t=>l.value.openUpload=t),style:{width:"80%"}},{default:s(()=>[e(r,{label:o(n)("admin.settings.openUpload.open"),value:1},null,8,["label"]),e(r,{label:o(n)("admin.settings.openUpload.close"),value:0},null,8,["label"])]),_:1},8,["modelValue"]),i("small",I,m(o(n)("admin.settings.openUpload.note")),1)]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.file_storage.title")},{default:s(()=>[e(_,{modelValue:l.value.file_storage,"onUpdate:modelValue":a[15]||(a[15]=t=>l.value.file_storage=t),style:{width:"80%"}},{default:s(()=>[e(r,{label:o(n)("admin.settings.file_storage.local"),value:"local"},null,8,["label"]),e(r,{label:o(n)("admin.settings.file_storage.s3"),value:"s3"},null,8,["label"])]),_:1},8,["modelValue"]),i("small",F,m(o(n)("admin.settings.file_storage.note")),1)]),_:1},8,["label"]),l.value.file_storage==="s3"?(V(),B("div",K,[e(d,{size:"large",label:"S3 AccessKeyId"},{default:s(()=>[e(u,{modelValue:l.value.s3_access_key_id,"onUpdate:modelValue":a[16]||(a[16]=t=>l.value.s3_access_key_id=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 SecretAccessKey"},{default:s(()=>[e(u,{modelValue:l.value.s3_secret_access_key,"onUpdate:modelValue":a[17]||(a[17]=t=>l.value.s3_secret_access_key=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 BucketName"},{default:s(()=>[e(u,{modelValue:l.value.s3_bucket_name,"onUpdate:modelValue":a[18]||(a[18]=t=>l.value.s3_bucket_name=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 EndpointUrl"},{default:s(()=>[e(u,{modelValue:l.value.s3_endpoint_url,"onUpdate:modelValue":a[19]||(a[19]=t=>l.value.s3_endpoint_url=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 hostname"},{default:s(()=>[e(u,{modelValue:l.value.s3_hostname,"onUpdate:modelValue":a[20]||(a[20]=t=>l.value.s3_hostname=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 region name"},{default:s(()=>[e(u,{modelValue:l.value.s3_region_name,"onUpdate:modelValue":a[21]||(a[21]=t=>l.value.s3_region_name=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"S3 Signature Version"},{default:s(()=>[e(u,{modelValue:l.value.s3_signature_version,"onUpdate:modelValue":a[22]||(a[22]=t=>l.value.s3_signature_version=t)},null,8,["modelValue"])]),_:1}),e(d,{size:"large",label:"Aws Session Token"},{default:s(()=>[e(u,{modelValue:l.value.aws_session_token,"onUpdate:modelValue":a[23]||(a[23]=t=>l.value.aws_session_token=t)},null,8,["modelValue"])]),_:1})])):M("",!0),e(d,{size:"large",label:o(n)("admin.settings.uploadlimit")},{default:s(()=>[i("span",O,[i("span",q,m(o(n)("admin.settings.mei")),1),e(u,{type:"number",modelValue:l.value.uploadMinute,"onUpdate:modelValue":a[24]||(a[24]=t=>l.value.uploadMinute=t)},null,8,["modelValue"]),i("span",G,m(o(n)("admin.settings.minute")),1)]),i("span",W,[i("span",Y,m(o(n)("admin.settings.upload")),1),e(u,{type:"number",modelValue:l.value.uploadCount,"onUpdate:modelValue":a[25]||(a[25]=t=>l.value.uploadCount=t)},null,8,["modelValue"]),i("span",Z,m(o(n)("admin.settings.files")),1)])]),_:1},8,["label"]),e(d,{size:"large",label:o(n)("admin.settings.errorlimit")},{default:s(()=>[i("span",$,[i("span",j,m(o(n)("admin.settings.mei")),1),e(u,{type:"number",modelValue:l.value.errorMinute,"onUpdate:modelValue":a[26]||(a[26]=t=>l.value.errorMinute=t)},null,8,["modelValue"]),i("span",H,m(o(n)("admin.settings.minute")),1)]),i("span",J,[i("span",L,m(o(n)("admin.settings.allow")),1),e(u,{type:"number",modelValue:l.value.errorCount,"onUpdate:modelValue":a[27]||(a[27]=t=>l.value.errorCount=t)},null,8,["modelValue"]),i("span",P,m(o(n)("admin.settings.errors")),1)])]),_:1},8,["label"]),e(d,null,{default:s(()=>[e(y,{onClick:f,type:"primary",style:{margin:"auto"}},{default:s(()=>[b(m(o(n)("admin.settings.save")),1)]),_:1})]),_:1})]),_:1})}}});export{se as default};
diff --git a/fcb-fronted/dist/assets/_baseClone-CNjLZpcX.js b/fcb-fronted/dist/assets/_baseClone-CCxqJySw.js
similarity index 94%
rename from fcb-fronted/dist/assets/_baseClone-CNjLZpcX.js
rename to fcb-fronted/dist/assets/_baseClone-CCxqJySw.js
index 45dfa3f4b..579a550cf 100644
--- a/fcb-fronted/dist/assets/_baseClone-CNjLZpcX.js
+++ b/fcb-fronted/dist/assets/_baseClone-CCxqJySw.js
@@ -1 +1 @@
-import{c as y,k as F,a as l,m as C,s as _,g as v,n as N,o as E,h as K,p as j,q as u,r as B,e as R,b as q,f as W,j as Y,S as H,t as J}from"./el-popper-DA6dI8BR.js";import{bu as $,b9 as x,b6 as Q,bc as V,bv as X}from"./index-BMDdhWSk.js";import{q as Z}from"./el-input-Bra5w62E.js";function z(e,r){for(var n=-1,s=e==null?0:e.length;++ne=>{t.forEach(a=>{xm(a)?a(e):a.value=e})},TE=(t,e,a,o)=>{let c={offsetX:0,offsetY:0};const s=_=>{const p=_.clientX,E=_.clientY,{offsetX:b,offsetY:O}=c,y=t.value.getBoundingClientRect(),R=y.left,M=y.top,L=y.width,D=y.height,G=document.documentElement.clientWidth,w=document.documentElement.clientHeight,U=-R+b,B=-M+O,z=G-R-L+b,$=w-M-D+O,W=re=>{let J=b+re.clientX-p,_e=O+re.clientY-E;o!=null&&o.value||(J=Math.min(Math.max(J,U),z),_e=Math.min(Math.max(_e,B),$)),c={offsetX:J,offsetY:_e},t.value&&(t.value.style.transform=`translate(${Fr(J)}, ${Fr(_e)})`)},ee=()=>{document.removeEventListener("mousemove",W),document.removeEventListener("mouseup",ee)};document.addEventListener("mousemove",W),document.addEventListener("mouseup",ee)},d=()=>{e.value&&t.value&&e.value.addEventListener("mousedown",s)},u=()=>{e.value&&t.value&&e.value.removeEventListener("mousedown",s)};Dl(()=>{Gg(()=>{a.value?d():u()})}),Yg(()=>{u()})},CE=(t,e={})=>{qg(t)||Pg("[useLockscreen]","You need to pass a ref param to this function");const a=e.ns||$n("popup"),o=et(()=>a.bm("parent","hidden"));if(!Mm||Su(document.body,o.value))return;let c=0,s=!1,d="0";const u=()=>{setTimeout(()=>{Wg(document==null?void 0:document.body,o.value),s&&document&&(document.body.style.width=d)},200)};Ol(t,_=>{if(!_){u();return}s=!Su(document.body,o.value),s&&(d=document.body.style.width),c=SE(a.namespace.value);const p=document.documentElement.clientHeight0&&(p||E==="scroll")&&s&&(document.body.style.width=`calc(100% - ${c}px)`),Hg(document.body,o.value)}),Vg(()=>u())},Vm=t=>{if(!t)return{onClick:Ba,onMousedown:Ba,onMouseup:Ba};let e=!1,a=!1;return{onClick:d=>{e&&a&&t(d),e=a=!1},onMousedown:d=>{e=d.target===d.currentTarget},onMouseup:d=>{a=d.target===d.currentTarget}}};var RE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ml(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}const NE=Kn({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:yn([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),yE=Tt({name:"ElCard"}),OE=Tt({...yE,props:NE,setup(t){const e=$n("card");return(a,o)=>(be(),qe("div",{class:Ge([V(e).b(),V(e).is(`${a.shadow}-shadow`)])},[a.$slots.header||a.header?(be(),qe("div",{key:0,class:Ge(V(e).e("header"))},[ft(a.$slots,"header",{},()=>[Kt(ut(a.header),1)])],2)):Lt("v-if",!0),Xe("div",{class:Ge([V(e).e("body"),a.bodyClass]),style:gn(a.bodyStyle)},[ft(a.$slots,"default")],6),a.$slots.footer||a.footer?(be(),qe("div",{key:1,class:Ge(V(e).e("footer"))},[ft(a.$slots,"footer",{},()=>[Kt(ut(a.footer),1)])],2)):Lt("v-if",!0)],2))}});var AE=pr(OE,[["__file","card.vue"]]);const vE=zr(AE),IE=Kn({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:yn([String,Array,Object])},zIndex:{type:yn([String,Number])}}),DE={click:t=>t instanceof MouseEvent},xE="overlay";var ME=Tt({name:"ElOverlay",props:IE,emits:DE,setup(t,{slots:e,emit:a}){const o=$n(xE),c=_=>{a("click",_)},{onClick:s,onMousedown:d,onMouseup:u}=Vm(t.customMaskEvent?void 0:c);return()=>t.mask?tt("div",{class:[o.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:s,onMousedown:d,onMouseup:u},[ft(e,"default")],Ua.STYLE|Ua.CLASS|Ua.PROPS,["onClick","onMouseup","onMousedown"]):qn("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ft(e,"default")])}});const Wm=ME,$m=Symbol("dialogInjectionKey"),Km=Kn({center:Boolean,alignCenter:Boolean,closeIcon:{type:$g},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),wE={close:()=>!0},LE=["aria-level"],kE=["aria-label"],PE=["id"],FE=Tt({name:"ElDialogContent"}),BE=Tt({...FE,props:Km,emits:wE,setup(t){const e=t,{t:a}=wm(),{Close:o}=Kg,{dialogRef:c,headerRef:s,bodyId:d,ns:u,style:_}=bu($m),{focusTrapRef:p}=bu(Fg),E=et(()=>[u.b(),u.is("fullscreen",e.fullscreen),u.is("draggable",e.draggable),u.is("align-center",e.alignCenter),{[u.m("center")]:e.center}]),b=hE(p,c),O=et(()=>e.draggable),y=et(()=>e.overflow);return TE(c,s,O,y),(R,M)=>(be(),qe("div",{ref:V(b),class:Ge(V(E)),style:gn(V(_)),tabindex:"-1"},[Xe("header",{ref_key:"headerRef",ref:s,class:Ge([V(u).e("header"),{"show-close":R.showClose}])},[ft(R.$slots,"header",{},()=>[Xe("span",{role:"heading","aria-level":R.ariaLevel,class:Ge(V(u).e("title"))},ut(R.title),11,LE)]),R.showClose?(be(),qe("button",{key:0,"aria-label":V(a)("el.dialog.close"),class:Ge(V(u).e("headerbtn")),type:"button",onClick:M[0]||(M[0]=L=>R.$emit("close"))},[tt(V(Hr),{class:Ge(V(u).e("close"))},{default:Me(()=>[(be(),St(Lm(R.closeIcon||V(o))))]),_:1},8,["class"])],10,kE)):Lt("v-if",!0)],2),Xe("div",{id:V(d),class:Ge(V(u).e("body"))},[ft(R.$slots,"default")],10,PE),R.$slots.footer?(be(),qe("footer",{key:0,class:Ge(V(u).e("footer"))},[ft(R.$slots,"footer")],2)):Lt("v-if",!0)],6))}});var UE=pr(BE,[["__file","dialog-content.vue"]]);const Qm=Kn({...Km,appendToBody:Boolean,appendTo:{type:yn(String),default:"body"},beforeClose:{type:yn(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}}),Xm={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Im]:t=>Qg(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Zm=(t,e)=>{var a;const c=eE().emit,{nextZIndex:s}=Xg();let d="";const u=fu(),_=fu(),p=ht(!1),E=ht(!1),b=ht(!1),O=ht((a=t.zIndex)!=null?a:s());let y,R;const M=Zg("namespace",Jg),L=et(()=>{const ce={},Ne=`--${M.value}-dialog`;return t.fullscreen||(t.top&&(ce[`${Ne}-margin-top`]=t.top),t.width&&(ce[`${Ne}-width`]=Fr(t.width))),ce}),D=et(()=>t.alignCenter?{display:"flex"}:{});function G(){c("opened")}function w(){c("closed"),c(Im,!1),t.destroyOnClose&&(b.value=!1)}function U(){c("close")}function B(){R==null||R(),y==null||y(),t.openDelay&&t.openDelay>0?{stop:y}=hu(()=>ee(),t.openDelay):ee()}function z(){y==null||y(),R==null||R(),t.closeDelay&&t.closeDelay>0?{stop:R}=hu(()=>re(),t.closeDelay):re()}function $(){function ce(Ne){Ne||(E.value=!0,p.value=!1)}t.beforeClose?t.beforeClose(ce):z()}function W(){t.closeOnClickModal&&$()}function ee(){Mm&&(p.value=!0)}function re(){p.value=!1}function J(){c("openAutoFocus")}function _e(){c("closeAutoFocus")}function fe(ce){var Ne;((Ne=ce.detail)==null?void 0:Ne.focusReason)==="pointer"&&ce.preventDefault()}t.lockScroll&&CE(p);function Se(){t.closeOnPressEscape&&$()}return Ol(()=>t.modelValue,ce=>{ce?(E.value=!1,B(),b.value=!0,O.value=Bg(t.zIndex)?s():O.value++,jg(()=>{c("open"),e.value&&(e.value.scrollTop=0)})):p.value&&z()}),Ol(()=>t.fullscreen,ce=>{e.value&&(ce?(d=e.value.style.transform,e.value.style.transform=""):e.value.style.transform=d)}),Dl(()=>{t.modelValue&&(p.value=!0,b.value=!0,B())}),{afterEnter:G,afterLeave:w,beforeLeave:U,handleClose:$,onModalClick:W,close:z,doClose:re,onOpenAutoFocus:J,onCloseAutoFocus:_e,onCloseRequested:Se,onFocusoutPrevented:fe,titleId:u,bodyId:_,closed:E,style:L,overlayDialogStyle:D,rendered:b,visible:p,zIndex:O}},GE=["aria-label","aria-labelledby","aria-describedby"],YE=Tt({name:"ElDialog",inheritAttrs:!1}),qE=Tt({...YE,props:Qm,emits:Xm,setup(t,{expose:e}){const a=t,o=km();Pm({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},et(()=>!!o.title));const c=$n("dialog"),s=ht(),d=ht(),u=ht(),{visible:_,titleId:p,bodyId:E,style:b,overlayDialogStyle:O,rendered:y,zIndex:R,afterEnter:M,afterLeave:L,beforeLeave:D,handleClose:G,onModalClick:w,onOpenAutoFocus:U,onCloseAutoFocus:B,onCloseRequested:z,onFocusoutPrevented:$}=Zm(a,s);tE($m,{dialogRef:s,headerRef:d,bodyId:E,ns:c,rendered:y,style:b});const W=Vm(w),ee=et(()=>a.draggable&&!a.fullscreen);return e({visible:_,dialogContentRef:u}),(re,J)=>(be(),St(Ym,{to:re.appendTo,disabled:re.appendTo!=="body"?!1:!re.appendToBody},[tt(Gm,{name:"dialog-fade",onAfterEnter:V(M),onAfterLeave:V(L),onBeforeLeave:V(D),persisted:""},{default:Me(()=>[Fm(tt(V(Wm),{"custom-mask-event":"",mask:re.modal,"overlay-class":re.modalClass,"z-index":V(R)},{default:Me(()=>[Xe("div",{role:"dialog","aria-modal":"true","aria-label":re.title||void 0,"aria-labelledby":re.title?void 0:V(p),"aria-describedby":V(E),class:Ge(`${V(c).namespace.value}-overlay-dialog`),style:gn(V(O)),onClick:J[0]||(J[0]=(..._e)=>V(W).onClick&&V(W).onClick(..._e)),onMousedown:J[1]||(J[1]=(..._e)=>V(W).onMousedown&&V(W).onMousedown(..._e)),onMouseup:J[2]||(J[2]=(..._e)=>V(W).onMouseup&&V(W).onMouseup(..._e))},[tt(V(Dm),{loop:"",trapped:V(_),"focus-start-el":"container",onFocusAfterTrapped:V(U),onFocusAfterReleased:V(B),onFocusoutPrevented:V($),onReleaseRequested:V(z)},{default:Me(()=>[V(y)?(be(),St(UE,Bm({key:0,ref_key:"dialogContentRef",ref:u},re.$attrs,{center:re.center,"align-center":re.alignCenter,"close-icon":re.closeIcon,draggable:V(ee),overflow:re.overflow,fullscreen:re.fullscreen,"show-close":re.showClose,title:re.title,"aria-level":re.headerAriaLevel,onClose:V(G)}),nE({header:Me(()=>[re.$slots.title?ft(re.$slots,"title",{key:1}):ft(re.$slots,"header",{key:0,close:V(G),titleId:V(p),titleClass:V(c).e("title")})]),default:Me(()=>[ft(re.$slots,"default")]),_:2},[re.$slots.footer?{name:"footer",fn:Me(()=>[ft(re.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):Lt("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,GE)]),_:3},8,["mask","overlay-class","z-index"]),[[Um,V(_)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var zE=pr(qE,[["__file","dialog.vue"]]);const HE=zr(zE),VE=Kn({...Qm,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),WE=Xm,$E=["aria-label","aria-labelledby","aria-describedby"],KE=["id","aria-level"],QE=["aria-label"],XE=["id"],ZE=Tt({name:"ElDrawer",inheritAttrs:!1}),JE=Tt({...ZE,props:VE,emits:WE,setup(t,{expose:e}){const a=t,o=km();Pm({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},et(()=>!!o.title));const c=ht(),s=ht(),d=$n("drawer"),{t:u}=wm(),{afterEnter:_,afterLeave:p,beforeLeave:E,visible:b,rendered:O,titleId:y,bodyId:R,zIndex:M,onModalClick:L,onOpenAutoFocus:D,onCloseAutoFocus:G,onFocusoutPrevented:w,onCloseRequested:U,handleClose:B}=Zm(a,c),z=et(()=>a.direction==="rtl"||a.direction==="ltr"),$=et(()=>Fr(a.size));return e({handleClose:B,afterEnter:_,afterLeave:p}),(W,ee)=>(be(),St(Ym,{to:"body",disabled:!W.appendToBody},[tt(Gm,{name:V(d).b("fade"),onAfterEnter:V(_),onAfterLeave:V(p),onBeforeLeave:V(E),persisted:""},{default:Me(()=>[Fm(tt(V(Wm),{mask:W.modal,"overlay-class":W.modalClass,"z-index":V(M),onClick:V(L)},{default:Me(()=>[tt(V(Dm),{loop:"",trapped:V(b),"focus-trap-el":c.value,"focus-start-el":s.value,onFocusAfterTrapped:V(D),onFocusAfterReleased:V(G),onFocusoutPrevented:V(w),onReleaseRequested:V(U)},{default:Me(()=>[Xe("div",Bm({ref_key:"drawerRef",ref:c,"aria-modal":"true","aria-label":W.title||void 0,"aria-labelledby":W.title?void 0:V(y),"aria-describedby":V(R)},W.$attrs,{class:[V(d).b(),W.direction,V(b)&&"open"],style:V(z)?"width: "+V($):"height: "+V($),role:"dialog",onClick:ee[1]||(ee[1]=rE(()=>{},["stop"]))}),[Xe("span",{ref_key:"focusStartRef",ref:s,class:Ge(V(d).e("sr-focus")),tabindex:"-1"},null,2),W.withHeader?(be(),qe("header",{key:0,class:Ge(V(d).e("header"))},[W.$slots.title?ft(W.$slots,"title",{key:1},()=>[Lt(" DEPRECATED SLOT ")]):ft(W.$slots,"header",{key:0,close:V(B),titleId:V(y),titleClass:V(d).e("title")},()=>[W.$slots.title?Lt("v-if",!0):(be(),qe("span",{key:0,id:V(y),role:"heading","aria-level":W.headerAriaLevel,class:Ge(V(d).e("title"))},ut(W.title),11,KE))]),W.showClose?(be(),qe("button",{key:2,"aria-label":V(u)("el.drawer.close"),class:Ge(V(d).e("close-btn")),type:"button",onClick:ee[0]||(ee[0]=(...re)=>V(B)&&V(B)(...re))},[tt(V(Hr),{class:Ge(V(d).e("close"))},{default:Me(()=>[tt(V(qm))]),_:1},8,["class"])],10,QE)):Lt("v-if",!0)],2)):Lt("v-if",!0),V(O)?(be(),qe("div",{key:1,id:V(R),class:Ge(V(d).e("body"))},[ft(W.$slots,"default")],10,XE)):Lt("v-if",!0),W.$slots.footer?(be(),qe("div",{key:2,class:Ge(V(d).e("footer"))},[ft(W.$slots,"footer")],2)):Lt("v-if",!0)],16,$E)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Um,V(b)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var jE=pr(JE,[["__file","drawer.vue"]]);const ef=zr(jE),tf=Kn({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:yn(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:yn([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:yn(Function),default:t=>`${t}%`}}),nf=["aria-valuenow"],rf={viewBox:"0 0 100 100"},af=["d","stroke","stroke-linecap","stroke-width"],of=["d","stroke","opacity","stroke-linecap","stroke-width"],sf={key:0},lf=Tt({name:"ElProgress"}),cf=Tt({...lf,props:tf,setup(t){const e=t,a={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=$n("progress"),c=et(()=>{const w={width:`${e.percentage}%`,animationDuration:`${e.duration}s`},U=G(e.percentage);return U.includes("gradient")?w.background=U:w.backgroundColor=U,w}),s=et(()=>(e.strokeWidth/e.width*100).toFixed(1)),d=et(()=>["circle","dashboard"].includes(e.type)?Number.parseInt(`${50-Number.parseFloat(s.value)/2}`,10):0),u=et(()=>{const w=d.value,U=e.type==="dashboard";return`
+import{t as Pg,F as Fg,U as Im,u as fu,i as Bg,a as Dm,E as Ug}from"./el-input-DklOLKsm.js";import{a6 as xm,S as Dl,aH as Gg,U as Yg,aI as Fr,K as qg,u as $n,a as tt,G as Mm,aJ as Su,R as Ol,I as zg,J as Hg,aK as Vg,F as Wg,ao as Ba,b as Kn,k as yn,d as Tt,o as be,Y as Ge,f as Ye,g as V,r as ft,a1 as Kt,$ as ut,Z as Lt,W as We,h as gn,_ as pr,j as zr,C as Ze,A as qn,aL as $g,ap as wm,l as bu,w as Me,e as bt,i as Lm,M as Hr,aM as Kg,ah as Qg,aN as Xg,t as ht,aO as Zg,aP as Jg,n as jg,aQ as eE,aR as hu,aS as km,aj as Pm,p as tE,B as Fm,aD as Bm,aC as nE,D as Um,T as Gm,aT as Ym,X as rE,at as qm,aU as aE,ar as iE,aV as oE,as as sE,H as Tu,aW as xl,v as Cu,aX as zm,a8 as lE,aa as Hm,ab as Ru,ac as Nu,aG as cE,a9 as uE,aY as dE,aZ as _E,a_ as mE,ad as pE,a$ as gE,b0 as EE,ae as fE}from"./index-B8Am18SQ.js";import{g as SE,E as bE}from"./el-tag-m5-RVRsg.js";import{P as Ua}from"./vnode-DxH7DBlv.js";const hE=(...t)=>e=>{t.forEach(a=>{xm(a)?a(e):a.value=e})},TE=(t,e,a,o)=>{let c={offsetX:0,offsetY:0};const s=_=>{const p=_.clientX,E=_.clientY,{offsetX:b,offsetY:O}=c,y=t.value.getBoundingClientRect(),R=y.left,M=y.top,L=y.width,D=y.height,G=document.documentElement.clientWidth,w=document.documentElement.clientHeight,U=-R+b,B=-M+O,z=G-R-L+b,$=w-M-D+O,W=re=>{let J=b+re.clientX-p,_e=O+re.clientY-E;o!=null&&o.value||(J=Math.min(Math.max(J,U),z),_e=Math.min(Math.max(_e,B),$)),c={offsetX:J,offsetY:_e},t.value&&(t.value.style.transform=`translate(${Fr(J)}, ${Fr(_e)})`)},ee=()=>{document.removeEventListener("mousemove",W),document.removeEventListener("mouseup",ee)};document.addEventListener("mousemove",W),document.addEventListener("mouseup",ee)},d=()=>{e.value&&t.value&&e.value.addEventListener("mousedown",s)},u=()=>{e.value&&t.value&&e.value.removeEventListener("mousedown",s)};Dl(()=>{Gg(()=>{a.value?d():u()})}),Yg(()=>{u()})},CE=(t,e={})=>{qg(t)||Pg("[useLockscreen]","You need to pass a ref param to this function");const a=e.ns||$n("popup"),o=tt(()=>a.bm("parent","hidden"));if(!Mm||Su(document.body,o.value))return;let c=0,s=!1,d="0";const u=()=>{setTimeout(()=>{Wg(document==null?void 0:document.body,o.value),s&&document&&(document.body.style.width=d)},200)};Ol(t,_=>{if(!_){u();return}s=!Su(document.body,o.value),s&&(d=document.body.style.width),c=SE(a.namespace.value);const p=document.documentElement.clientHeight0&&(p||E==="scroll")&&s&&(document.body.style.width=`calc(100% - ${c}px)`),Hg(document.body,o.value)}),Vg(()=>u())},Vm=t=>{if(!t)return{onClick:Ba,onMousedown:Ba,onMouseup:Ba};let e=!1,a=!1;return{onClick:d=>{e&&a&&t(d),e=a=!1},onMousedown:d=>{e=d.target===d.currentTarget},onMouseup:d=>{a=d.target===d.currentTarget}}};var RE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ml(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}const NE=Kn({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:yn([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),yE=Tt({name:"ElCard"}),OE=Tt({...yE,props:NE,setup(t){const e=$n("card");return(a,o)=>(be(),Ge("div",{class:Ye([V(e).b(),V(e).is(`${a.shadow}-shadow`)])},[a.$slots.header||a.header?(be(),Ge("div",{key:0,class:Ye(V(e).e("header"))},[ft(a.$slots,"header",{},()=>[Kt(ut(a.header),1)])],2)):Lt("v-if",!0),We("div",{class:Ye([V(e).e("body"),a.bodyClass]),style:gn(a.bodyStyle)},[ft(a.$slots,"default")],6),a.$slots.footer||a.footer?(be(),Ge("div",{key:1,class:Ye(V(e).e("footer"))},[ft(a.$slots,"footer",{},()=>[Kt(ut(a.footer),1)])],2)):Lt("v-if",!0)],2))}});var AE=pr(OE,[["__file","card.vue"]]);const vE=zr(AE),IE=Kn({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:yn([String,Array,Object])},zIndex:{type:yn([String,Number])}}),DE={click:t=>t instanceof MouseEvent},xE="overlay";var ME=Tt({name:"ElOverlay",props:IE,emits:DE,setup(t,{slots:e,emit:a}){const o=$n(xE),c=_=>{a("click",_)},{onClick:s,onMousedown:d,onMouseup:u}=Vm(t.customMaskEvent?void 0:c);return()=>t.mask?Ze("div",{class:[o.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:s,onMousedown:d,onMouseup:u},[ft(e,"default")],Ua.STYLE|Ua.CLASS|Ua.PROPS,["onClick","onMouseup","onMousedown"]):qn("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ft(e,"default")])}});const Wm=ME,$m=Symbol("dialogInjectionKey"),Km=Kn({center:Boolean,alignCenter:Boolean,closeIcon:{type:$g},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),wE={close:()=>!0},LE=["aria-level"],kE=["aria-label"],PE=["id"],FE=Tt({name:"ElDialogContent"}),BE=Tt({...FE,props:Km,emits:wE,setup(t){const e=t,{t:a}=wm(),{Close:o}=Kg,{dialogRef:c,headerRef:s,bodyId:d,ns:u,style:_}=bu($m),{focusTrapRef:p}=bu(Fg),E=tt(()=>[u.b(),u.is("fullscreen",e.fullscreen),u.is("draggable",e.draggable),u.is("align-center",e.alignCenter),{[u.m("center")]:e.center}]),b=hE(p,c),O=tt(()=>e.draggable),y=tt(()=>e.overflow);return TE(c,s,O,y),(R,M)=>(be(),Ge("div",{ref:V(b),class:Ye(V(E)),style:gn(V(_)),tabindex:"-1"},[We("header",{ref_key:"headerRef",ref:s,class:Ye([V(u).e("header"),{"show-close":R.showClose}])},[ft(R.$slots,"header",{},()=>[We("span",{role:"heading","aria-level":R.ariaLevel,class:Ye(V(u).e("title"))},ut(R.title),11,LE)]),R.showClose?(be(),Ge("button",{key:0,"aria-label":V(a)("el.dialog.close"),class:Ye(V(u).e("headerbtn")),type:"button",onClick:M[0]||(M[0]=L=>R.$emit("close"))},[Ze(V(Hr),{class:Ye(V(u).e("close"))},{default:Me(()=>[(be(),bt(Lm(R.closeIcon||V(o))))]),_:1},8,["class"])],10,kE)):Lt("v-if",!0)],2),We("div",{id:V(d),class:Ye(V(u).e("body"))},[ft(R.$slots,"default")],10,PE),R.$slots.footer?(be(),Ge("footer",{key:0,class:Ye(V(u).e("footer"))},[ft(R.$slots,"footer")],2)):Lt("v-if",!0)],6))}});var UE=pr(BE,[["__file","dialog-content.vue"]]);const Qm=Kn({...Km,appendToBody:Boolean,appendTo:{type:yn(String),default:"body"},beforeClose:{type:yn(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}}),Xm={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Im]:t=>Qg(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Zm=(t,e)=>{var a;const c=eE().emit,{nextZIndex:s}=Xg();let d="";const u=fu(),_=fu(),p=ht(!1),E=ht(!1),b=ht(!1),O=ht((a=t.zIndex)!=null?a:s());let y,R;const M=Zg("namespace",Jg),L=tt(()=>{const ce={},Ne=`--${M.value}-dialog`;return t.fullscreen||(t.top&&(ce[`${Ne}-margin-top`]=t.top),t.width&&(ce[`${Ne}-width`]=Fr(t.width))),ce}),D=tt(()=>t.alignCenter?{display:"flex"}:{});function G(){c("opened")}function w(){c("closed"),c(Im,!1),t.destroyOnClose&&(b.value=!1)}function U(){c("close")}function B(){R==null||R(),y==null||y(),t.openDelay&&t.openDelay>0?{stop:y}=hu(()=>ee(),t.openDelay):ee()}function z(){y==null||y(),R==null||R(),t.closeDelay&&t.closeDelay>0?{stop:R}=hu(()=>re(),t.closeDelay):re()}function $(){function ce(Ne){Ne||(E.value=!0,p.value=!1)}t.beforeClose?t.beforeClose(ce):z()}function W(){t.closeOnClickModal&&$()}function ee(){Mm&&(p.value=!0)}function re(){p.value=!1}function J(){c("openAutoFocus")}function _e(){c("closeAutoFocus")}function fe(ce){var Ne;((Ne=ce.detail)==null?void 0:Ne.focusReason)==="pointer"&&ce.preventDefault()}t.lockScroll&&CE(p);function Se(){t.closeOnPressEscape&&$()}return Ol(()=>t.modelValue,ce=>{ce?(E.value=!1,B(),b.value=!0,O.value=Bg(t.zIndex)?s():O.value++,jg(()=>{c("open"),e.value&&(e.value.scrollTop=0)})):p.value&&z()}),Ol(()=>t.fullscreen,ce=>{e.value&&(ce?(d=e.value.style.transform,e.value.style.transform=""):e.value.style.transform=d)}),Dl(()=>{t.modelValue&&(p.value=!0,b.value=!0,B())}),{afterEnter:G,afterLeave:w,beforeLeave:U,handleClose:$,onModalClick:W,close:z,doClose:re,onOpenAutoFocus:J,onCloseAutoFocus:_e,onCloseRequested:Se,onFocusoutPrevented:fe,titleId:u,bodyId:_,closed:E,style:L,overlayDialogStyle:D,rendered:b,visible:p,zIndex:O}},GE=["aria-label","aria-labelledby","aria-describedby"],YE=Tt({name:"ElDialog",inheritAttrs:!1}),qE=Tt({...YE,props:Qm,emits:Xm,setup(t,{expose:e}){const a=t,o=km();Pm({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},tt(()=>!!o.title));const c=$n("dialog"),s=ht(),d=ht(),u=ht(),{visible:_,titleId:p,bodyId:E,style:b,overlayDialogStyle:O,rendered:y,zIndex:R,afterEnter:M,afterLeave:L,beforeLeave:D,handleClose:G,onModalClick:w,onOpenAutoFocus:U,onCloseAutoFocus:B,onCloseRequested:z,onFocusoutPrevented:$}=Zm(a,s);tE($m,{dialogRef:s,headerRef:d,bodyId:E,ns:c,rendered:y,style:b});const W=Vm(w),ee=tt(()=>a.draggable&&!a.fullscreen);return e({visible:_,dialogContentRef:u}),(re,J)=>(be(),bt(Ym,{to:re.appendTo,disabled:re.appendTo!=="body"?!1:!re.appendToBody},[Ze(Gm,{name:"dialog-fade",onAfterEnter:V(M),onAfterLeave:V(L),onBeforeLeave:V(D),persisted:""},{default:Me(()=>[Fm(Ze(V(Wm),{"custom-mask-event":"",mask:re.modal,"overlay-class":re.modalClass,"z-index":V(R)},{default:Me(()=>[We("div",{role:"dialog","aria-modal":"true","aria-label":re.title||void 0,"aria-labelledby":re.title?void 0:V(p),"aria-describedby":V(E),class:Ye(`${V(c).namespace.value}-overlay-dialog`),style:gn(V(O)),onClick:J[0]||(J[0]=(..._e)=>V(W).onClick&&V(W).onClick(..._e)),onMousedown:J[1]||(J[1]=(..._e)=>V(W).onMousedown&&V(W).onMousedown(..._e)),onMouseup:J[2]||(J[2]=(..._e)=>V(W).onMouseup&&V(W).onMouseup(..._e))},[Ze(V(Dm),{loop:"",trapped:V(_),"focus-start-el":"container",onFocusAfterTrapped:V(U),onFocusAfterReleased:V(B),onFocusoutPrevented:V($),onReleaseRequested:V(z)},{default:Me(()=>[V(y)?(be(),bt(UE,Bm({key:0,ref_key:"dialogContentRef",ref:u},re.$attrs,{center:re.center,"align-center":re.alignCenter,"close-icon":re.closeIcon,draggable:V(ee),overflow:re.overflow,fullscreen:re.fullscreen,"show-close":re.showClose,title:re.title,"aria-level":re.headerAriaLevel,onClose:V(G)}),nE({header:Me(()=>[re.$slots.title?ft(re.$slots,"title",{key:1}):ft(re.$slots,"header",{key:0,close:V(G),titleId:V(p),titleClass:V(c).e("title")})]),default:Me(()=>[ft(re.$slots,"default")]),_:2},[re.$slots.footer?{name:"footer",fn:Me(()=>[ft(re.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):Lt("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,GE)]),_:3},8,["mask","overlay-class","z-index"]),[[Um,V(_)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var zE=pr(qE,[["__file","dialog.vue"]]);const HE=zr(zE),VE=Kn({...Qm,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),WE=Xm,$E=["aria-label","aria-labelledby","aria-describedby"],KE=["id","aria-level"],QE=["aria-label"],XE=["id"],ZE=Tt({name:"ElDrawer",inheritAttrs:!1}),JE=Tt({...ZE,props:VE,emits:WE,setup(t,{expose:e}){const a=t,o=km();Pm({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},tt(()=>!!o.title));const c=ht(),s=ht(),d=$n("drawer"),{t:u}=wm(),{afterEnter:_,afterLeave:p,beforeLeave:E,visible:b,rendered:O,titleId:y,bodyId:R,zIndex:M,onModalClick:L,onOpenAutoFocus:D,onCloseAutoFocus:G,onFocusoutPrevented:w,onCloseRequested:U,handleClose:B}=Zm(a,c),z=tt(()=>a.direction==="rtl"||a.direction==="ltr"),$=tt(()=>Fr(a.size));return e({handleClose:B,afterEnter:_,afterLeave:p}),(W,ee)=>(be(),bt(Ym,{to:"body",disabled:!W.appendToBody},[Ze(Gm,{name:V(d).b("fade"),onAfterEnter:V(_),onAfterLeave:V(p),onBeforeLeave:V(E),persisted:""},{default:Me(()=>[Fm(Ze(V(Wm),{mask:W.modal,"overlay-class":W.modalClass,"z-index":V(M),onClick:V(L)},{default:Me(()=>[Ze(V(Dm),{loop:"",trapped:V(b),"focus-trap-el":c.value,"focus-start-el":s.value,onFocusAfterTrapped:V(D),onFocusAfterReleased:V(G),onFocusoutPrevented:V(w),onReleaseRequested:V(U)},{default:Me(()=>[We("div",Bm({ref_key:"drawerRef",ref:c,"aria-modal":"true","aria-label":W.title||void 0,"aria-labelledby":W.title?void 0:V(y),"aria-describedby":V(R)},W.$attrs,{class:[V(d).b(),W.direction,V(b)&&"open"],style:V(z)?"width: "+V($):"height: "+V($),role:"dialog",onClick:ee[1]||(ee[1]=rE(()=>{},["stop"]))}),[We("span",{ref_key:"focusStartRef",ref:s,class:Ye(V(d).e("sr-focus")),tabindex:"-1"},null,2),W.withHeader?(be(),Ge("header",{key:0,class:Ye(V(d).e("header"))},[W.$slots.title?ft(W.$slots,"title",{key:1},()=>[Lt(" DEPRECATED SLOT ")]):ft(W.$slots,"header",{key:0,close:V(B),titleId:V(y),titleClass:V(d).e("title")},()=>[W.$slots.title?Lt("v-if",!0):(be(),Ge("span",{key:0,id:V(y),role:"heading","aria-level":W.headerAriaLevel,class:Ye(V(d).e("title"))},ut(W.title),11,KE))]),W.showClose?(be(),Ge("button",{key:2,"aria-label":V(u)("el.drawer.close"),class:Ye(V(d).e("close-btn")),type:"button",onClick:ee[0]||(ee[0]=(...re)=>V(B)&&V(B)(...re))},[Ze(V(Hr),{class:Ye(V(d).e("close"))},{default:Me(()=>[Ze(V(qm))]),_:1},8,["class"])],10,QE)):Lt("v-if",!0)],2)):Lt("v-if",!0),V(O)?(be(),Ge("div",{key:1,id:V(R),class:Ye(V(d).e("body"))},[ft(W.$slots,"default")],10,XE)):Lt("v-if",!0),W.$slots.footer?(be(),Ge("div",{key:2,class:Ye(V(d).e("footer"))},[ft(W.$slots,"footer")],2)):Lt("v-if",!0)],16,$E)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Um,V(b)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var jE=pr(JE,[["__file","drawer.vue"]]);const ef=zr(jE),tf=Kn({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:yn(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:yn([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:yn(Function),default:t=>`${t}%`}}),nf=["aria-valuenow"],rf={viewBox:"0 0 100 100"},af=["d","stroke","stroke-linecap","stroke-width"],of=["d","stroke","opacity","stroke-linecap","stroke-width"],sf={key:0},lf=Tt({name:"ElProgress"}),cf=Tt({...lf,props:tf,setup(t){const e=t,a={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=$n("progress"),c=tt(()=>{const w={width:`${e.percentage}%`,animationDuration:`${e.duration}s`},U=G(e.percentage);return U.includes("gradient")?w.background=U:w.backgroundColor=U,w}),s=tt(()=>(e.strokeWidth/e.width*100).toFixed(1)),d=tt(()=>["circle","dashboard"].includes(e.type)?Number.parseInt(`${50-Number.parseFloat(s.value)/2}`,10):0),u=tt(()=>{const w=d.value,U=e.type==="dashboard";return`
M 50 50
m 0 ${U?"":"-"}${w}
a ${w} ${w} 0 1 1 0 ${U?"-":""}${w*2}
a ${w} ${w} 0 1 1 0 ${U?"":"-"}${w*2}
- `}),_=et(()=>2*Math.PI*d.value),p=et(()=>e.type==="dashboard"?.75:1),E=et(()=>`${-1*_.value*(1-p.value)/2}px`),b=et(()=>({strokeDasharray:`${_.value*p.value}px, ${_.value}px`,strokeDashoffset:E.value})),O=et(()=>({strokeDasharray:`${_.value*p.value*(e.percentage/100)}px, ${_.value}px`,strokeDashoffset:E.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),y=et(()=>{let w;return e.color?w=G(e.percentage):w=a[e.status]||a.default,w}),R=et(()=>e.status==="warning"?aE:e.type==="line"?e.status==="success"?iE:oE:e.status==="success"?sE:qm),M=et(()=>e.type==="line"?12+e.strokeWidth*.4:e.width*.111111+2),L=et(()=>e.format(e.percentage));function D(w){const U=100/w.length;return w.map((z,$)=>Tu(z)?{color:z,percentage:($+1)*U}:z).sort((z,$)=>z.percentage-$.percentage)}const G=w=>{var U;const{color:B}=e;if(xm(B))return B(w);if(Tu(B))return B;{const z=D(B);for(const $ of z)if($.percentage>w)return $.color;return(U=z[z.length-1])==null?void 0:U.color}};return(w,U)=>(be(),qe("div",{class:Ge([V(o).b(),V(o).m(w.type),V(o).is(w.status),{[V(o).m("without-text")]:!w.showText,[V(o).m("text-inside")]:w.textInside}]),role:"progressbar","aria-valuenow":w.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[w.type==="line"?(be(),qe("div",{key:0,class:Ge(V(o).b("bar"))},[Xe("div",{class:Ge(V(o).be("bar","outer")),style:gn({height:`${w.strokeWidth}px`})},[Xe("div",{class:Ge([V(o).be("bar","inner"),{[V(o).bem("bar","inner","indeterminate")]:w.indeterminate},{[V(o).bem("bar","inner","striped")]:w.striped},{[V(o).bem("bar","inner","striped-flow")]:w.stripedFlow}]),style:gn(V(c))},[(w.showText||w.$slots.default)&&w.textInside?(be(),qe("div",{key:0,class:Ge(V(o).be("bar","innerText"))},[ft(w.$slots,"default",{percentage:w.percentage},()=>[Xe("span",null,ut(V(L)),1)])],2)):Lt("v-if",!0)],6)],6)],2)):(be(),qe("div",{key:1,class:Ge(V(o).b("circle")),style:gn({height:`${w.width}px`,width:`${w.width}px`})},[(be(),qe("svg",rf,[Xe("path",{class:Ge(V(o).be("circle","track")),d:V(u),stroke:`var(${V(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":w.strokeLinecap,"stroke-width":V(s),fill:"none",style:gn(V(b))},null,14,af),Xe("path",{class:Ge(V(o).be("circle","path")),d:V(u),stroke:V(y),fill:"none",opacity:w.percentage?1:0,"stroke-linecap":w.strokeLinecap,"stroke-width":V(s),style:gn(V(O))},null,14,of)]))],6)),(w.showText||w.$slots.default)&&!w.textInside?(be(),qe("div",{key:2,class:Ge(V(o).e("text")),style:gn({fontSize:`${V(M)}px`})},[ft(w.$slots,"default",{percentage:w.percentage},()=>[w.status?(be(),St(V(Hr),{key:1},{default:Me(()=>[(be(),St(Lm(V(R))))]),_:1})):(be(),qe("span",sf,ut(V(L)),1))])],6)):Lt("v-if",!0)],10,nf))}});var uf=pr(cf,[["__file","progress.vue"]]);const df=zr(uf),_f=xl("fileData",()=>{const t=Cu(JSON.parse(localStorage.getItem("receiveData")||"[]")||[]),e=Cu(JSON.parse(localStorage.getItem("shareData")||"[]")||[]);function a(){localStorage.setItem("receiveData",JSON.stringify(t)),localStorage.setItem("shareData",JSON.stringify(e))}function o(u){t.unshift(u),a()}function c(u){e.unshift(u),a()}function s(u){t.splice(u,1),a()}function d(u){e.splice(u,1),a()}return{receiveData:t,shareData:e,save:a,addShareData:c,addReceiveData:o,deleteReceiveData:s,deleteShareData:d}}),Jm=xl("fileBox",()=>({showFileBox:ht(!1)}));function jm(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const a=t[e],o=typeof a;(o==="object"||o==="function")&&!Object.isFrozen(a)&&jm(a)}),t}class yu{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ep(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Rn(t,...e){const a=Object.create(null);for(const o in t)a[o]=t[o];return e.forEach(function(o){for(const c in o)a[c]=o[c]}),a}const mf="",Ou=t=>!!t.scope,pf=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const a=t.split(".");return[`${e}${a.shift()}`,...a.map((o,c)=>`${o}${"_".repeat(c+1)}`)].join(" ")}return`${e}${t}`};class gf{constructor(e,a){this.buffer="",this.classPrefix=a.classPrefix,e.walk(this)}addText(e){this.buffer+=ep(e)}openNode(e){if(!Ou(e))return;const a=pf(e.scope,{prefix:this.classPrefix});this.span(a)}closeNode(e){Ou(e)&&(this.buffer+=mf)}value(){return this.buffer}span(e){this.buffer+=``}}const Au=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class wl{constructor(){this.rootNode=Au(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const a=Au({scope:e});this.add(a),this.stack.push(a)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,a){return typeof a=="string"?e.addText(a):a.children&&(e.openNode(a),a.children.forEach(o=>this._walk(e,o)),e.closeNode(a)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(a=>typeof a=="string")?e.children=[e.children.join("")]:e.children.forEach(a=>{wl._collapse(a)}))}}class Ef extends wl{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,a){const o=e.root;a&&(o.scope=`language:${a}`),this.add(o)}toHTML(){return new gf(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function lr(t){return t?typeof t=="string"?t:t.source:null}function tp(t){return Ln("(?=",t,")")}function ff(t){return Ln("(?:",t,")*")}function Sf(t){return Ln("(?:",t,")?")}function Ln(...t){return t.map(a=>lr(a)).join("")}function bf(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Ll(...t){return"("+(bf(t).capture?"":"?:")+t.map(o=>lr(o)).join("|")+")"}function np(t){return new RegExp(t.toString()+"|").exec("").length-1}function hf(t,e){const a=t&&t.exec(e);return a&&a.index===0}const Tf=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function kl(t,{joinWith:e}){let a=0;return t.map(o=>{a+=1;const c=a;let s=lr(o),d="";for(;s.length>0;){const u=Tf.exec(s);if(!u){d+=s;break}d+=s.substring(0,u.index),s=s.substring(u.index+u[0].length),u[0][0]==="\\"&&u[1]?d+="\\"+String(Number(u[1])+c):(d+=u[0],u[0]==="("&&a++)}return d}).map(o=>`(${o})`).join(e)}const Cf=/\b\B/,rp="[a-zA-Z]\\w*",Pl="[a-zA-Z_]\\w*",ap="\\b\\d+(\\.\\d+)?",ip="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",op="\\b(0b[01]+)",Rf="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Nf=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Ln(e,/.*\b/,t.binary,/\b.*/)),Rn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(a,o)=>{a.index!==0&&o.ignoreMatch()}},t)},cr={begin:"\\\\[\\s\\S]",relevance:0},yf={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[cr]},Of={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[cr]},Af={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Vr=function(t,e,a={}){const o=Rn({scope:"comment",begin:t,end:e,contains:[]},a);o.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const c=Ll("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return o.contains.push({begin:Ln(/[ ]+/,"(",c,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),o},vf=Vr("//","$"),If=Vr("/\\*","\\*/"),Df=Vr("#","$"),xf={scope:"number",begin:ap,relevance:0},Mf={scope:"number",begin:ip,relevance:0},wf={scope:"number",begin:op,relevance:0},Lf={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[cr,{begin:/\[/,end:/\]/,relevance:0,contains:[cr]}]},kf={scope:"title",begin:rp,relevance:0},Pf={scope:"title",begin:Pl,relevance:0},Ff={begin:"\\.\\s*"+Pl,relevance:0},Bf=function(t){return Object.assign(t,{"on:begin":(e,a)=>{a.data._beginMatch=e[1]},"on:end":(e,a)=>{a.data._beginMatch!==e[1]&&a.ignoreMatch()}})};var wr=Object.freeze({__proto__:null,APOS_STRING_MODE:yf,BACKSLASH_ESCAPE:cr,BINARY_NUMBER_MODE:wf,BINARY_NUMBER_RE:op,COMMENT:Vr,C_BLOCK_COMMENT_MODE:If,C_LINE_COMMENT_MODE:vf,C_NUMBER_MODE:Mf,C_NUMBER_RE:ip,END_SAME_AS_BEGIN:Bf,HASH_COMMENT_MODE:Df,IDENT_RE:rp,MATCH_NOTHING_RE:Cf,METHOD_GUARD:Ff,NUMBER_MODE:xf,NUMBER_RE:ap,PHRASAL_WORDS_MODE:Af,QUOTE_STRING_MODE:Of,REGEXP_MODE:Lf,RE_STARTERS_RE:Rf,SHEBANG:Nf,TITLE_MODE:kf,UNDERSCORE_IDENT_RE:Pl,UNDERSCORE_TITLE_MODE:Pf});function Uf(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Gf(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Yf(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Uf,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function qf(t,e){Array.isArray(t.illegal)&&(t.illegal=Ll(...t.illegal))}function zf(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Hf(t,e){t.relevance===void 0&&(t.relevance=1)}const Vf=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const a=Object.assign({},t);Object.keys(t).forEach(o=>{delete t[o]}),t.keywords=a.keywords,t.begin=Ln(a.beforeMatch,tp(a.begin)),t.starts={relevance:0,contains:[Object.assign(a,{endsParent:!0})]},t.relevance=0,delete a.beforeMatch},Wf=["of","and","for","in","not","or","if","then","parent","list","value"],$f="keyword";function sp(t,e,a=$f){const o=Object.create(null);return typeof t=="string"?c(a,t.split(" ")):Array.isArray(t)?c(a,t):Object.keys(t).forEach(function(s){Object.assign(o,sp(t[s],e,s))}),o;function c(s,d){e&&(d=d.map(u=>u.toLowerCase())),d.forEach(function(u){const _=u.split("|");o[_[0]]=[s,Kf(_[0],_[1])]})}}function Kf(t,e){return e?Number(e):Qf(t)?0:1}function Qf(t){return Wf.includes(t.toLowerCase())}const vu={},Mn=t=>{console.error(t)},Iu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Un=(t,e)=>{vu[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),vu[`${t}/${e}`]=!0)},Br=new Error;function lp(t,e,{key:a}){let o=0;const c=t[a],s={},d={};for(let u=1;u<=e.length;u++)d[u+o]=c[u],s[u+o]=!0,o+=np(e[u-1]);t[a]=d,t[a]._emit=s,t[a]._multi=!0}function Xf(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Mn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Br;if(typeof t.beginScope!="object"||t.beginScope===null)throw Mn("beginScope must be object"),Br;lp(t,t.begin,{key:"beginScope"}),t.begin=kl(t.begin,{joinWith:""})}}function Zf(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Mn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Br;if(typeof t.endScope!="object"||t.endScope===null)throw Mn("endScope must be object"),Br;lp(t,t.end,{key:"endScope"}),t.end=kl(t.end,{joinWith:""})}}function Jf(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function jf(t){Jf(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Xf(t),Zf(t)}function eS(t){function e(d,u){return new RegExp(lr(d),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(u?"g":""))}class a{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(u,_){_.position=this.position++,this.matchIndexes[this.matchAt]=_,this.regexes.push([_,u]),this.matchAt+=np(u)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const u=this.regexes.map(_=>_[1]);this.matcherRe=e(kl(u,{joinWith:"|"}),!0),this.lastIndex=0}exec(u){this.matcherRe.lastIndex=this.lastIndex;const _=this.matcherRe.exec(u);if(!_)return null;const p=_.findIndex((b,O)=>O>0&&b!==void 0),E=this.matchIndexes[p];return _.splice(0,p),Object.assign(_,E)}}class o{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(u){if(this.multiRegexes[u])return this.multiRegexes[u];const _=new a;return this.rules.slice(u).forEach(([p,E])=>_.addRule(p,E)),_.compile(),this.multiRegexes[u]=_,_}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(u,_){this.rules.push([u,_]),_.type==="begin"&&this.count++}exec(u){const _=this.getMatcher(this.regexIndex);_.lastIndex=this.lastIndex;let p=_.exec(u);if(this.resumingScanAtSamePosition()&&!(p&&p.index===this.lastIndex)){const E=this.getMatcher(0);E.lastIndex=this.lastIndex+1,p=E.exec(u)}return p&&(this.regexIndex+=p.position+1,this.regexIndex===this.count&&this.considerAll()),p}}function c(d){const u=new o;return d.contains.forEach(_=>u.addRule(_.begin,{rule:_,type:"begin"})),d.terminatorEnd&&u.addRule(d.terminatorEnd,{type:"end"}),d.illegal&&u.addRule(d.illegal,{type:"illegal"}),u}function s(d,u){const _=d;if(d.isCompiled)return _;[Gf,zf,jf,Vf].forEach(E=>E(d,u)),t.compilerExtensions.forEach(E=>E(d,u)),d.__beforeBegin=null,[Yf,qf,Hf].forEach(E=>E(d,u)),d.isCompiled=!0;let p=null;return typeof d.keywords=="object"&&d.keywords.$pattern&&(d.keywords=Object.assign({},d.keywords),p=d.keywords.$pattern,delete d.keywords.$pattern),p=p||/\w+/,d.keywords&&(d.keywords=sp(d.keywords,t.case_insensitive)),_.keywordPatternRe=e(p,!0),u&&(d.begin||(d.begin=/\B|\b/),_.beginRe=e(_.begin),!d.end&&!d.endsWithParent&&(d.end=/\B|\b/),d.end&&(_.endRe=e(_.end)),_.terminatorEnd=lr(_.end)||"",d.endsWithParent&&u.terminatorEnd&&(_.terminatorEnd+=(d.end?"|":"")+u.terminatorEnd)),d.illegal&&(_.illegalRe=e(d.illegal)),d.contains||(d.contains=[]),d.contains=[].concat(...d.contains.map(function(E){return tS(E==="self"?d:E)})),d.contains.forEach(function(E){s(E,_)}),d.starts&&s(d.starts,u),_.matcher=c(_),_}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Rn(t.classNameAliases||{}),s(t)}function cp(t){return t?t.endsWithParent||cp(t.starts):!1}function tS(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Rn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:cp(t)?Rn(t,{starts:t.starts?Rn(t.starts):null}):Object.isFrozen(t)?Rn(t):t}var nS="11.10.0";class rS extends Error{constructor(e,a){super(e),this.name="HTMLInjectionError",this.html=a}}const Ga=ep,Du=Rn,xu=Symbol("nomatch"),aS=7,up=function(t){const e=Object.create(null),a=Object.create(null),o=[];let c=!0;const s="Could not find the language '{}', did you forget to load/include a language module?",d={disableAutodetect:!0,name:"Plain text",contains:[]};let u={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ef};function _(K){return u.noHighlightRe.test(K)}function p(K){let ie=K.className+" ";ie+=K.parentNode?K.parentNode.className:"";const ge=u.languageDetectRe.exec(ie);if(ge){const Te=ee(ge[1]);return Te||(Iu(s.replace("{}",ge[1])),Iu("Falling back to no-highlight mode for this block.",K)),Te?ge[1]:"no-highlight"}return ie.split(/\s+/).find(Te=>_(Te)||ee(Te))}function E(K,ie,ge){let Te="",te="";typeof ie=="object"?(Te=K,ge=ie.ignoreIllegals,te=ie.language):(Un("10.7.0","highlight(lang, code, ...args) has been deprecated."),Un("10.7.0",`Please use highlight(code, options) instead.
-https://github.com/highlightjs/highlight.js/issues/2277`),te=K,Te=ie),ge===void 0&&(ge=!0);const ze={code:Te,language:te};ce("before:highlight",ze);const nt=ze.result?ze.result:b(ze.language,ze.code,ge);return nt.code=ze.code,ce("after:highlight",nt),nt}function b(K,ie,ge,Te){const te=Object.create(null);function ze(ne,le){return ne.keywords[le]}function nt(){if(!de.keywords){$e.addText(ke);return}let ne=0;de.keywordPatternRe.lastIndex=0;let le=de.keywordPatternRe.exec(ke),me="";for(;le;){me+=ke.substring(ne,le.index);const Re=pt.case_insensitive?le[0].toLowerCase():le[0],rt=ze(de,Re);if(rt){const[Ct,In]=rt;if($e.addText(me),me="",te[Re]=(te[Re]||0)+1,te[Re]<=aS&&(Vt+=In),Ct.startsWith("_"))me+=le[0];else{const Ue=pt.classNameAliases[Ct]||Ct;Oe(le[0],Ue)}}else me+=le[0];ne=de.keywordPatternRe.lastIndex,le=de.keywordPatternRe.exec(ke)}me+=ke.substring(ne),$e.addText(me)}function Ze(){if(ke==="")return;let ne=null;if(typeof de.subLanguage=="string"){if(!e[de.subLanguage]){$e.addText(ke);return}ne=b(de.subLanguage,ke,!0,Zt[de.subLanguage]),Zt[de.subLanguage]=ne._top}else ne=y(ke,de.subLanguage.length?de.subLanguage:null);de.relevance>0&&(Vt+=ne.relevance),$e.__addSublanguage(ne._emitter,ne.language)}function ye(){de.subLanguage!=null?Ze():nt(),ke=""}function Oe(ne,le){ne!==""&&($e.startScope(le),$e.addText(ne),$e.endScope())}function we(ne,le){let me=1;const Re=le.length-1;for(;me<=Re;){if(!ne._emit[me]){me++;continue}const rt=pt.classNameAliases[ne[me]]||ne[me],Ct=le[me];rt?Oe(Ct,rt):(ke=Ct,nt(),ke=""),me++}}function Ie(ne,le){return ne.scope&&typeof ne.scope=="string"&&$e.openNode(pt.classNameAliases[ne.scope]||ne.scope),ne.beginScope&&(ne.beginScope._wrap?(Oe(ke,pt.classNameAliases[ne.beginScope._wrap]||ne.beginScope._wrap),ke=""):ne.beginScope._multi&&(we(ne.beginScope,le),ke="")),de=Object.create(ne,{parent:{value:de}}),de}function Be(ne,le,me){let Re=hf(ne.endRe,me);if(Re){if(ne["on:end"]){const rt=new yu(ne);ne["on:end"](le,rt),rt.isMatchIgnored&&(Re=!1)}if(Re){for(;ne.endsParent&&ne.parent;)ne=ne.parent;return ne}}if(ne.endsWithParent)return Be(ne.parent,le,me)}function it(ne){return de.matcher.regexIndex===0?(ke+=ne[0],1):(At=!0,0)}function ot(ne){const le=ne[0],me=ne.rule,Re=new yu(me),rt=[me.__beforeBegin,me["on:begin"]];for(const Ct of rt)if(Ct&&(Ct(ne,Re),Re.isMatchIgnored))return it(le);return me.skip?ke+=le:(me.excludeBegin&&(ke+=le),ye(),!me.returnBegin&&!me.excludeBegin&&(ke=le)),Ie(me,ne),me.returnBegin?0:le.length}function mt(ne){const le=ne[0],me=ie.substring(ne.index),Re=Be(de,ne,me);if(!Re)return xu;const rt=de;de.endScope&&de.endScope._wrap?(ye(),Oe(le,de.endScope._wrap)):de.endScope&&de.endScope._multi?(ye(),we(de.endScope,ne)):rt.skip?ke+=le:(rt.returnEnd||rt.excludeEnd||(ke+=le),ye(),rt.excludeEnd&&(ke=le));do de.scope&&$e.closeNode(),!de.skip&&!de.subLanguage&&(Vt+=de.relevance),de=de.parent;while(de!==Re.parent);return Re.starts&&Ie(Re.starts,ne),rt.returnEnd?0:le.length}function yt(){const ne=[];for(let le=de;le!==pt;le=le.parent)le.scope&&ne.unshift(le.scope);ne.forEach(le=>$e.openNode(le))}let Xt={};function An(ne,le){const me=le&&le[0];if(ke+=ne,me==null)return ye(),0;if(Xt.type==="begin"&&le.type==="end"&&Xt.index===le.index&&me===""){if(ke+=ie.slice(le.index,le.index+1),!c){const Re=new Error(`0 width match regex (${K})`);throw Re.languageName=K,Re.badRule=Xt.rule,Re}return 1}if(Xt=le,le.type==="begin")return ot(le);if(le.type==="illegal"&&!ge){const Re=new Error('Illegal lexeme "'+me+'" for mode "'+(de.scope||"")+'"');throw Re.mode=de,Re}else if(le.type==="end"){const Re=mt(le);if(Re!==xu)return Re}if(le.type==="illegal"&&me==="")return 1;if(Wt>1e5&&Wt>le.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ke+=me,me.length}const pt=ee(K);if(!pt)throw Mn(s.replace("{}",K)),new Error('Unknown language: "'+K+'"');const vn=eS(pt);let xt="",de=Te||vn;const Zt={},$e=new u.__emitter(u);yt();let ke="",Vt=0,Ot=0,Wt=0,At=!1;try{if(pt.__emitTokens)pt.__emitTokens(ie,$e);else{for(de.matcher.considerAll();;){Wt++,At?At=!1:de.matcher.considerAll(),de.matcher.lastIndex=Ot;const ne=de.matcher.exec(ie);if(!ne)break;const le=ie.substring(Ot,ne.index),me=An(le,ne);Ot=ne.index+me}An(ie.substring(Ot))}return $e.finalize(),xt=$e.toHTML(),{language:K,value:xt,relevance:Vt,illegal:!1,_emitter:$e,_top:de}}catch(ne){if(ne.message&&ne.message.includes("Illegal"))return{language:K,value:Ga(ie),illegal:!0,relevance:0,_illegalBy:{message:ne.message,index:Ot,context:ie.slice(Ot-100,Ot+100),mode:ne.mode,resultSoFar:xt},_emitter:$e};if(c)return{language:K,value:Ga(ie),illegal:!1,relevance:0,errorRaised:ne,_emitter:$e,_top:de};throw ne}}function O(K){const ie={value:Ga(K),illegal:!1,relevance:0,_top:d,_emitter:new u.__emitter(u)};return ie._emitter.addText(K),ie}function y(K,ie){ie=ie||u.languages||Object.keys(e);const ge=O(K),Te=ie.filter(ee).filter(J).map(ye=>b(ye,K,!1));Te.unshift(ge);const te=Te.sort((ye,Oe)=>{if(ye.relevance!==Oe.relevance)return Oe.relevance-ye.relevance;if(ye.language&&Oe.language){if(ee(ye.language).supersetOf===Oe.language)return 1;if(ee(Oe.language).supersetOf===ye.language)return-1}return 0}),[ze,nt]=te,Ze=ze;return Ze.secondBest=nt,Ze}function R(K,ie,ge){const Te=ie&&a[ie]||ge;K.classList.add("hljs"),K.classList.add(`language-${Te}`)}function M(K){let ie=null;const ge=p(K);if(_(ge))return;if(ce("before:highlightElement",{el:K,language:ge}),K.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",K);return}if(K.children.length>0&&(u.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(K)),u.throwUnescapedHTML))throw new rS("One of your code blocks includes unescaped HTML.",K.innerHTML);ie=K;const Te=ie.textContent,te=ge?E(Te,{language:ge,ignoreIllegals:!0}):y(Te);K.innerHTML=te.value,K.dataset.highlighted="yes",R(K,ge,te.language),K.result={language:te.language,re:te.relevance,relevance:te.relevance},te.secondBest&&(K.secondBest={language:te.secondBest.language,relevance:te.secondBest.relevance}),ce("after:highlightElement",{el:K,result:te,text:Te})}function L(K){u=Du(u,K)}const D=()=>{U(),Un("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function G(){U(),Un("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let w=!1;function U(){if(document.readyState==="loading"){w=!0;return}document.querySelectorAll(u.cssSelector).forEach(M)}function B(){w&&U()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",B,!1);function z(K,ie){let ge=null;try{ge=ie(t)}catch(Te){if(Mn("Language definition for '{}' could not be registered.".replace("{}",K)),c)Mn(Te);else throw Te;ge=d}ge.name||(ge.name=K),e[K]=ge,ge.rawDefinition=ie.bind(null,t),ge.aliases&&re(ge.aliases,{languageName:K})}function $(K){delete e[K];for(const ie of Object.keys(a))a[ie]===K&&delete a[ie]}function W(){return Object.keys(e)}function ee(K){return K=(K||"").toLowerCase(),e[K]||e[a[K]]}function re(K,{languageName:ie}){typeof K=="string"&&(K=[K]),K.forEach(ge=>{a[ge.toLowerCase()]=ie})}function J(K){const ie=ee(K);return ie&&!ie.disableAutodetect}function _e(K){K["before:highlightBlock"]&&!K["before:highlightElement"]&&(K["before:highlightElement"]=ie=>{K["before:highlightBlock"](Object.assign({block:ie.el},ie))}),K["after:highlightBlock"]&&!K["after:highlightElement"]&&(K["after:highlightElement"]=ie=>{K["after:highlightBlock"](Object.assign({block:ie.el},ie))})}function fe(K){_e(K),o.push(K)}function Se(K){const ie=o.indexOf(K);ie!==-1&&o.splice(ie,1)}function ce(K,ie){const ge=K;o.forEach(function(Te){Te[ge]&&Te[ge](ie)})}function Ne(K){return Un("10.7.0","highlightBlock will be removed entirely in v12.0"),Un("10.7.0","Please use highlightElement now."),M(K)}Object.assign(t,{highlight:E,highlightAuto:y,highlightAll:U,highlightElement:M,highlightBlock:Ne,configure:L,initHighlighting:D,initHighlightingOnLoad:G,registerLanguage:z,unregisterLanguage:$,listLanguages:W,getLanguage:ee,registerAliases:re,autoDetection:J,inherit:Du,addPlugin:fe,removePlugin:Se}),t.debugMode=function(){c=!1},t.safeMode=function(){c=!0},t.versionString=nS,t.regex={concat:Ln,lookahead:tp,either:Ll,optional:Sf,anyNumberOfTimes:ff};for(const K in wr)typeof wr[K]=="object"&&jm(wr[K]);return Object.assign(t,wr),t},Hn=up({});Hn.newInstance=()=>up({});var iS=Hn;Hn.HighlightJS=Hn;Hn.default=Hn;var Ya,Mu;function oS(){if(Mu)return Ya;Mu=1;function t(e){const a="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",s="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",_="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",y="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",Te="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",nt="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Ze="null истина ложь неопределено",ye=e.inherit(e.NUMBER_MODE),Oe={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},we={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Ie={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},Be=e.inherit(e.C_LINE_COMMENT_MODE),it={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:a,keyword:s+_},contains:[Be]},ot={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},mt={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:a,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:a,keyword:"знач",literal:Ze},contains:[ye,Oe,we]},Be]},e.inherit(e.TITLE_MODE,{begin:a})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:a,keyword:s,built_in:y,class:Te,type:nt,literal:Ze},contains:[it,mt,Be,ot,ye,Oe,we,Ie]}}return Ya=t,Ya}var qa,wu;function sS(){if(wu)return qa;wu=1;function t(e){const a=e.regex,o=/^[a-zA-Z][a-zA-Z0-9-]*/,c=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],s=e.COMMENT(/;/,/$/),d={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},u={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},_={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},p={scope:"symbol",match:/%[si](?=".*")/},E={scope:"attribute",match:a.concat(o,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:c,contains:[{scope:"operator",match:/=\/?/},E,s,d,u,_,p,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return qa=t,qa}var za,Lu;function lS(){if(Lu)return za;Lu=1;function t(e){const a=e.regex,o=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:a.concat(/"/,a.either(...o)),end:/"/,keywords:o,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return za=t,za}var Ha,ku;function cS(){if(ku)return Ha;ku=1;function t(e){const a=e.regex,o=/[a-zA-Z_$][a-zA-Z0-9_$]*/,c=a.concat(o,a.concat("(\\.",o,")*")),s=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,d={className:"rest_arg",begin:/[.]{3}/,end:o,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,c],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,o],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d]},{begin:a.concat(/:\s*/,s)}]},e.METHOD_GUARD],illegal:/#/}}return Ha=t,Ha}var Va,Pu;function uS(){if(Pu)return Va;Pu=1;function t(e){const a="\\d(_|\\d)*",o="[eE][-+]?"+a,c=a+"(\\."+a+")?("+o+")?",s="\\w+",u="\\b("+(a+"#"+s+"(\\."+s+")?#("+o+")?")+"|"+c+")",_="[A-Za-z](_?[A-Za-z0-9.])*",p=`[]\\{\\}%#'"`,E=e.COMMENT("--","$"),b={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:p,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:_,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[E,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:u,relevance:0},{className:"symbol",begin:"'"+_},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:p},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[E,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:p},b,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:p}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:p},b]}}return Va=t,Va}var Wa,Fu;function dS(){if(Fu)return Wa;Fu=1;function t(e){const a={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},o={className:"symbol",begin:"[a-zA-Z0-9_]+@"},c={className:"keyword",begin:"<",end:">",contains:[a,o]};return a.contains=[c],o.contains=[c],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},a,o,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return Wa=t,Wa}var $a,Bu;function _S(){if(Bu)return $a;Bu=1;function t(e){const a={className:"number",begin:/[$%]\d+/},o={className:"number",begin:/\b\d+/},c={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},s={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[c,s,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",a]},c,o,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return $a=t,$a}var Ka,Uu;function mS(){if(Uu)return Ka;Uu=1;function t(e){const a=e.regex,o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,o]},s=e.COMMENT(/--/,/$/),d=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",s]}),u=[s,d,e.HASH_COMMENT_MODE],_=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],p=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[o,e.C_NUMBER_MODE,{className:"built_in",begin:a.concat(/\b/,a.either(...p),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:a.concat(/\b/,a.either(..._),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,c]},...u],illegal:/\/\/|->|=>|\[\[/}}return Ka=t,Ka}var Qa,Gu;function pS(){if(Gu)return Qa;Gu=1;function t(e){const a=e.regex,o="[A-Za-z_][0-9A-Za-z_]*",c={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},s=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","value","view"],d={className:"symbol",begin:"\\$"+a.either(...s)},u={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},_={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},p={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,_]};_.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,u,e.REGEXP_MODE];const E=_.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:c,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,u,{begin:/[{,]\s*/,relevance:0,contains:[{begin:o+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:o,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+o+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:o},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:E}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:o}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:E}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return Qa=t,Qa}var Xa,Yu;function gS(){if(Yu)return Xa;Yu=1;function t(a){const o=a.regex,c=a.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",d="[a-zA-Z_]\\w*::",_="(?!struct)("+s+"|"+o.optional(d)+"[a-zA-Z_]\\w*"+o.optional("<[^<>]+>")+")",p={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},b={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},a.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},O={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},y={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},a.inherit(b,{className:"string"}),{className:"string",begin:/<.*?>/},c,a.C_BLOCK_COMMENT_MODE]},R={className:"title",begin:o.optional(d)+a.IDENT_RE,relevance:0},M=o.optional(d)+a.IDENT_RE+"\\s*\\(",L=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],D=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],G=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],w=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],z={type:D,keyword:L,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:G},$={className:"function.dispatch",relevance:0,keywords:{_hint:w},begin:o.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,a.IDENT_RE,o.lookahead(/(<[^<>]+>|)\s*\(/))},W=[$,y,p,c,a.C_BLOCK_COMMENT_MODE,O,b],ee={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:z,contains:W.concat([{begin:/\(/,end:/\)/,keywords:z,contains:W.concat(["self"]),relevance:0}]),relevance:0},re={className:"function",begin:"("+_+"[\\*&\\s]+)+"+M,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:z,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:z,relevance:0},{begin:M,returnBegin:!0,contains:[R],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[b,O]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:z,relevance:0,contains:[c,a.C_BLOCK_COMMENT_MODE,b,O,p,{begin:/\(/,end:/\)/,keywords:z,relevance:0,contains:["self",c,a.C_BLOCK_COMMENT_MODE,b,O,p]}]},p,c,a.C_BLOCK_COMMENT_MODE,y]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:z,illegal:"",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(ee,re,$,W,[y,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:z,contains:["self",p]},{begin:a.IDENT_RE+"::",keywords:z},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(a){const o={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},c=t(a),s=c.keywords;return s.type=[...s.type,...o.type],s.literal=[...s.literal,...o.literal],s.built_in=[...s.built_in,...o.built_in],s._hints=o._hints,c.name="Arduino",c.aliases=["ino"],c.supersetOf="cpp",c}return Xa=e,Xa}var Za,qu;function ES(){if(qu)return Za;qu=1;function t(e){const a={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},a,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return Za=t,Za}var Ja,zu;function fS(){if(zu)return Ja;zu=1;function t(e){const a=e.regex,o=a.concat(/[\p{L}_]/u,a.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),c=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},u=e.inherit(d,{begin:/\(/,end:/\)/}),_=e.inherit(e.APOS_STRING_MODE,{className:"string"}),p=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),E={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:c,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,p,_,u,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,u,p,_]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[p]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/