From bd7a6a59b14138aaa0effea27a0ff76a2a94d58b Mon Sep 17 00:00:00 2001 From: chudong <1738613989@qq.com> Date: Sat, 24 May 2025 10:12:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B0=83=E6=95=B4=E3=80=91=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E8=AF=81=E4=B9=A6-=E8=AF=81=E4=B9=A6=E9=A2=81?= =?UTF-8?q?=E5=8F=91=E6=9C=BA=E6=9E=84/=E6=8E=88=E6=9D=83=EF=BC=88?= =?UTF-8?q?=E5=8F=AF=E9=80=89=EF=BC=89=E7=9A=84=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/index.html | 2 +- .../{Badge-CgU_X09j.js => Badge-CqHx9Tf7.js} | 2 +- build/static/js/CAManageForm-mhgVNYF7.js | 1 + build/static/js/CAManageForm-rh7R2w87.js | 1 - .../js/{Flow-B3iVpgSc.js => Flow-D8EIzUgU.js} | 2 +- ...d-Bv7lZ7V6.js => LockOutlined-vMZA0L98.js} | 2 +- .../js/{Tabs-Dr4JKa0V.js => Tabs-DWO1cj0i.js} | 2 +- ...{access-B4X6xtmm.js => access-FhEUImRw.js} | 2 +- ...iness-CHQBsAXz.js => business-_Rh7_-TN.js} | 2 +- .../js/{cert-mhsSCrIL.js => cert-B6n1PFp6.js} | 2 +- .../js/{data-BFMmsjgZ.js => data-DE4JXv04.js} | 2 +- .../{index-CtqD4msy.js => index-9yXMuG-J.js} | 2 +- .../{index-Drf8pGv8.js => index-B0Oz4u-p.js} | 2 +- build/static/js/index-B4jjq-On.js | 1 - .../{index-CiXlCrWk.js => index-BL1j0ssQ.js} | 2 +- .../{index-P-RSxeKl.js => index-BfiZrXAG.js} | 2 +- .../{index-hQeompmg.js => index-C-PiSnft.js} | 2 +- build/static/js/index-C5Gp6IlJ.js | 1 + .../{index-LKLPe19M.js => index-C8NKLf_M.js} | 2 +- .../{index-BJNUeE_-.js => index-CMwhkNZE.js} | 2 +- .../{index-CpcVhPm1.js => index-CPLaRXZR.js} | 2 +- .../{index-BG636NtA.js => index-CfanvO1F.js} | 2 +- .../{index-hczkfvnm.js => index-D5g5Z7WA.js} | 2 +- .../{index-BvQPqw9E.js => index-DG0B2su6.js} | 2 +- .../{index-CTQigr-B.js => index-DVPyxbgP.js} | 2 +- .../{index-D5MR8xE9.js => index-Dh2o934s.js} | 2 +- .../{index-g3SGqAl4.js => index-Di8lQRyt.js} | 2 +- .../{index-C9c_68Du.js => index-Dy4H4cJk.js} | 2 +- .../{index-Dfrf5BrW.js => index-LzQlVHhy.js} | 2 +- .../{index-CqgNeDtu.js => index-ZKxChdaz.js} | 2 +- .../{index-CrzggPms.js => index-nyjBI9lx.js} | 2 +- .../{index-DDxgyK5X.js => index-rVZjvqYb.js} | 2 +- .../js/{main-BFg_w1GP.js => main-BFwn2e3T.js} | 2 +- ...{public-CCP70CLD.js => public-CIep3lyx.js} | 2 +- ...etting-DGJTDRYI.js => setting-pEP5KeW9.js} | 2 +- ...ottle-BHKGqXBF.js => throttle-B9C3ruvZ.js} | 2 +- ...Store-CSzo38f-.js => useStore-3Yigt-U3.js} | 2 +- ...Store-JDVosxir.js => useStore-BJbmyusH.js} | 2 +- .../allin-ssl/cache/translation_cache.json | 21214 ++++++++-------- .../src/components/CAProviderSelect/index.tsx | 13 +- .../workflowView/node/apply/model.tsx | 53 +- 41 files changed, 10655 insertions(+), 10697 deletions(-) rename build/static/js/{Badge-CgU_X09j.js => Badge-CqHx9Tf7.js} (99%) create mode 100644 build/static/js/CAManageForm-mhgVNYF7.js delete mode 100644 build/static/js/CAManageForm-rh7R2w87.js rename build/static/js/{Flow-B3iVpgSc.js => Flow-D8EIzUgU.js} (96%) rename build/static/js/{LockOutlined-Bv7lZ7V6.js => LockOutlined-vMZA0L98.js} (90%) rename build/static/js/{Tabs-Dr4JKa0V.js => Tabs-DWO1cj0i.js} (99%) rename build/static/js/{access-B4X6xtmm.js => access-FhEUImRw.js} (87%) rename build/static/js/{business-CHQBsAXz.js => business-_Rh7_-TN.js} (99%) rename build/static/js/{cert-mhsSCrIL.js => cert-B6n1PFp6.js} (62%) rename build/static/js/{data-BFMmsjgZ.js => data-DE4JXv04.js} (97%) rename build/static/js/{index-CtqD4msy.js => index-9yXMuG-J.js} (97%) rename build/static/js/{index-Drf8pGv8.js => index-B0Oz4u-p.js} (93%) delete mode 100644 build/static/js/index-B4jjq-On.js rename build/static/js/{index-CiXlCrWk.js => index-BL1j0ssQ.js} (92%) rename build/static/js/{index-P-RSxeKl.js => index-BfiZrXAG.js} (94%) rename build/static/js/{index-hQeompmg.js => index-C-PiSnft.js} (99%) create mode 100644 build/static/js/index-C5Gp6IlJ.js rename build/static/js/{index-LKLPe19M.js => index-C8NKLf_M.js} (83%) rename build/static/js/{index-BJNUeE_-.js => index-CMwhkNZE.js} (84%) rename build/static/js/{index-CpcVhPm1.js => index-CPLaRXZR.js} (91%) rename build/static/js/{index-BG636NtA.js => index-CfanvO1F.js} (96%) rename build/static/js/{index-hczkfvnm.js => index-D5g5Z7WA.js} (98%) rename build/static/js/{index-BvQPqw9E.js => index-DG0B2su6.js} (96%) rename build/static/js/{index-CTQigr-B.js => index-DVPyxbgP.js} (99%) rename build/static/js/{index-D5MR8xE9.js => index-Dh2o934s.js} (98%) rename build/static/js/{index-g3SGqAl4.js => index-Di8lQRyt.js} (94%) rename build/static/js/{index-C9c_68Du.js => index-Dy4H4cJk.js} (95%) rename build/static/js/{index-Dfrf5BrW.js => index-LzQlVHhy.js} (96%) rename build/static/js/{index-CqgNeDtu.js => index-ZKxChdaz.js} (92%) rename build/static/js/{index-CrzggPms.js => index-nyjBI9lx.js} (98%) rename build/static/js/{index-DDxgyK5X.js => index-rVZjvqYb.js} (97%) rename build/static/js/{main-BFg_w1GP.js => main-BFwn2e3T.js} (99%) rename build/static/js/{public-CCP70CLD.js => public-CIep3lyx.js} (71%) rename build/static/js/{setting-DGJTDRYI.js => setting-pEP5KeW9.js} (81%) rename build/static/js/{throttle-BHKGqXBF.js => throttle-B9C3ruvZ.js} (96%) rename build/static/js/{useStore-CSzo38f-.js => useStore-3Yigt-U3.js} (90%) rename build/static/js/{useStore-JDVosxir.js => useStore-BJbmyusH.js} (82%) diff --git a/build/index.html b/build/index.html index 008008c..2c272d8 100644 --- a/build/index.html +++ b/build/index.html @@ -5,7 +5,7 @@ AllinSSL - + diff --git a/build/static/js/Badge-CgU_X09j.js b/build/static/js/Badge-CqHx9Tf7.js similarity index 99% rename from build/static/js/Badge-CgU_X09j.js rename to build/static/js/Badge-CqHx9Tf7.js index ccc095f..0441369 100644 --- a/build/static/js/Badge-CgU_X09j.js +++ b/build/static/js/Badge-CqHx9Tf7.js @@ -1 +1 @@ -import{d as e,r as n,l as a,x as t,V as r,J as o,H as i,D as s,aF as l,E as u,aG as d,F as m,G as p,aH as c,aI as f,au as b,R as v,T as h,aJ as g,aK as y,aL as x,I as w,K as $,aM as z,aN as N,o as P,aO as Y,aP as k,M as B,aQ as O}from"./main-BFg_w1GP.js";const S=e({name:"SlotMachineNumber",props:{clsPrefix:{type:String,required:!0},value:{type:[Number,String],required:!0},oldOriginalNumber:{type:Number,default:void 0},newOriginalNumber:{type:Number,default:void 0}},setup(e){const s=n(null),l=n(e.value),u=n(e.value),d=n("up"),m=n(!1),p=a((()=>m.value?`${e.clsPrefix}-base-slot-machine-current-number--${d.value}-scroll`:null)),c=a((()=>m.value?`${e.clsPrefix}-base-slot-machine-old-number--${d.value}-scroll`:null));function f(){const n=e.newOriginalNumber,a=e.oldOriginalNumber;void 0!==a&&void 0!==n&&(n>a?b("up"):a>n&&b("down"))}function b(e){d.value=e,m.value=!1,r((()=>{var e;null===(e=s.value)||void 0===e||e.offsetWidth,m.value=!0}))}return t(o(e,"value"),((e,n)=>{l.value=n,u.value=e,r(f)})),()=>{const{clsPrefix:n}=e;return i("span",{ref:s,class:`${n}-base-slot-machine-number`},null!==l.value?i("span",{class:[`${n}-base-slot-machine-old-number ${n}-base-slot-machine-old-number--top`,c.value]},l.value):null,i("span",{class:[`${n}-base-slot-machine-current-number`,p.value]},i("span",{ref:"numberWrapper",class:[`${n}-base-slot-machine-current-number__inner`,"number"!=typeof e.value&&`${n}-base-slot-machine-current-number__inner--not-number`]},u.value)),null!==l.value?i("span",{class:[`${n}-base-slot-machine-old-number ${n}-base-slot-machine-old-number--bottom`,c.value]},l.value):null)}}}),{cubicBezierEaseOut:C}=l;const E=s([s("@keyframes n-base-slot-machine-fade-up-in","\n from {\n transform: translateY(60%);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n "),s("@keyframes n-base-slot-machine-fade-down-in","\n from {\n transform: translateY(-60%);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n "),s("@keyframes n-base-slot-machine-fade-up-out","\n from {\n transform: translateY(0%);\n opacity: 1;\n }\n to {\n transform: translateY(-60%);\n opacity: 0;\n }\n "),s("@keyframes n-base-slot-machine-fade-down-out","\n from {\n transform: translateY(0%);\n opacity: 1;\n }\n to {\n transform: translateY(60%);\n opacity: 0;\n }\n "),u("base-slot-machine","\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n height: 18px;\n line-height: 18px;\n ",[u("base-slot-machine-number","\n display: inline-block;\n position: relative;\n height: 18px;\n width: .6em;\n max-width: .6em;\n ",[function({duration:e=".2s"}={}){return[s("&.fade-up-width-expand-transition-leave-active",{transition:`\n opacity ${e} ${C},\n max-width ${e} ${C},\n transform ${e} ${C}\n `}),s("&.fade-up-width-expand-transition-enter-active",{transition:`\n opacity ${e} ${C},\n max-width ${e} ${C},\n transform ${e} ${C}\n `}),s("&.fade-up-width-expand-transition-enter-to",{opacity:1,transform:"translateX(0) translateY(0)"}),s("&.fade-up-width-expand-transition-enter-from",{maxWidth:"0 !important",opacity:0,transform:"translateY(60%)"}),s("&.fade-up-width-expand-transition-leave-from",{opacity:1,transform:"translateY(0)"}),s("&.fade-up-width-expand-transition-leave-to",{maxWidth:"0 !important",opacity:0,transform:"translateY(60%)"})]}({duration:".2s"}),d({duration:".2s",delay:"0s"}),u("base-slot-machine-old-number","\n display: inline-block;\n opacity: 0;\n position: absolute;\n left: 0;\n right: 0;\n ",[m("top",{transform:"translateY(-100%)"}),m("bottom",{transform:"translateY(100%)"}),m("down-scroll",{animation:"n-base-slot-machine-fade-down-out .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1}),m("up-scroll",{animation:"n-base-slot-machine-fade-up-out .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1})]),u("base-slot-machine-current-number","\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 1;\n transform: translateY(0);\n width: .6em;\n ",[m("down-scroll",{animation:"n-base-slot-machine-fade-down-in .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1}),m("up-scroll",{animation:"n-base-slot-machine-fade-up-in .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1}),p("inner","\n display: inline-block;\n position: absolute;\n right: 0;\n top: 0;\n width: .6em;\n ",[m("not-number","\n right: unset;\n left: 0;\n ")])])])])]),I=e({name:"BaseSlotMachine",props:{clsPrefix:{type:String,required:!0},value:{type:[Number,String],default:0},max:{type:Number,default:void 0},appeared:{type:Boolean,required:!0}},setup(e){c("-base-slot-machine",E,o(e,"clsPrefix"));const r=n(),s=n(),l=a((()=>{if("string"==typeof e.value)return[];if(e.value<1)return[0];const n=[];let a=e.value;for(void 0!==e.max&&(a=Math.min(e.max,a));a>=1;)n.push(a%10),a/=10,a=Math.floor(a);return n.reverse(),n}));return t(o(e,"value"),((e,n)=>{"string"==typeof e?(s.value=void 0,r.value=void 0):"string"==typeof n?(s.value=e,r.value=void 0):(s.value=e,r.value=n)})),()=>{const{value:n,clsPrefix:a}=e;return"number"==typeof n?i("span",{class:`${a}-base-slot-machine`},i(f,{name:"fade-up-width-expand-transition",tag:"span"},{default:()=>l.value.map(((e,n)=>i(S,{clsPrefix:a,key:l.value.length-n-1,oldOriginalNumber:r.value,newOriginalNumber:s.value,value:e})))}),i(b,{key:"+",width:!0},{default:()=>void 0!==e.max&&e.maxe.show&&(e.dot||void 0!==e.value&&!(!e.showZero&&Number(e.value)<=0)||!N(t.value))));P((()=>{u.value&&(l.value=!0)}));const d=Y("Badge",i,r),m=a((()=>{const{type:n,color:a}=e,{common:{cubicBezierEaseInOut:t,cubicBezierEaseOut:r},self:{[k("color",n)]:o,fontFamily:i,fontSize:l}}=s.value;return{"--n-font-size":l,"--n-font-family":i,"--n-color":a||o,"--n-ripple-color":a||o,"--n-bezier":t,"--n-ripple-bezier":r}})),p=o?B("badge",a((()=>{let n="";const{type:a,color:t}=e;return a&&(n+=a[0]),t&&(n+=O(t)),n})),m,e):void 0,c=a((()=>{const{offset:n}=e;if(!n)return;const[a,t]=n,r="number"==typeof a?`${a}px`:a,o="number"==typeof t?`${t}px`:t;return{transform:`translate(calc(${(null==d?void 0:d.value)?"50%":"-50%"} + ${r}), ${o})`}}));return{rtlEnabled:d,mergedClsPrefix:r,appeared:l,showBadge:u,handleAfterEnter:()=>{l.value=!0},handleAfterLeave:()=>{l.value=!1},cssVars:o?void 0:m,themeClass:null==p?void 0:p.themeClass,onRender:null==p?void 0:p.onRender,offsetStyle:c}},render(){var e;const{mergedClsPrefix:n,onRender:a,themeClass:t,$slots:r}=this;null==a||a();const o=null===(e=r.default)||void 0===e?void 0:e.call(r);return i("div",{class:[`${n}-badge`,this.rtlEnabled&&`${n}-badge--rtl`,t,{[`${n}-badge--dot`]:this.dot,[`${n}-badge--as-is`]:!o}],style:this.cssVars},o,i(h,{name:"fade-in-scale-up-transition",onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>this.showBadge?i("sup",{class:`${n}-badge-sup`,title:g(this.value),style:this.offsetStyle},y(r.value,(()=>[this.dot?null:i(I,{clsPrefix:n,appeared:this.appeared,max:this.max,value:this.value})])),this.processing?i(x,{clsPrefix:n}):null):null}))}});export{F as N}; +import{d as e,r as n,l as a,x as t,V as r,J as o,H as i,D as s,aF as l,E as u,aG as d,F as m,G as p,aH as c,aI as f,au as b,R as v,T as h,aJ as g,aK as y,aL as x,I as w,K as $,aM as z,aN as N,o as P,aO as Y,aP as k,M as B,aQ as O}from"./main-BFwn2e3T.js";const S=e({name:"SlotMachineNumber",props:{clsPrefix:{type:String,required:!0},value:{type:[Number,String],required:!0},oldOriginalNumber:{type:Number,default:void 0},newOriginalNumber:{type:Number,default:void 0}},setup(e){const s=n(null),l=n(e.value),u=n(e.value),d=n("up"),m=n(!1),p=a((()=>m.value?`${e.clsPrefix}-base-slot-machine-current-number--${d.value}-scroll`:null)),c=a((()=>m.value?`${e.clsPrefix}-base-slot-machine-old-number--${d.value}-scroll`:null));function f(){const n=e.newOriginalNumber,a=e.oldOriginalNumber;void 0!==a&&void 0!==n&&(n>a?b("up"):a>n&&b("down"))}function b(e){d.value=e,m.value=!1,r((()=>{var e;null===(e=s.value)||void 0===e||e.offsetWidth,m.value=!0}))}return t(o(e,"value"),((e,n)=>{l.value=n,u.value=e,r(f)})),()=>{const{clsPrefix:n}=e;return i("span",{ref:s,class:`${n}-base-slot-machine-number`},null!==l.value?i("span",{class:[`${n}-base-slot-machine-old-number ${n}-base-slot-machine-old-number--top`,c.value]},l.value):null,i("span",{class:[`${n}-base-slot-machine-current-number`,p.value]},i("span",{ref:"numberWrapper",class:[`${n}-base-slot-machine-current-number__inner`,"number"!=typeof e.value&&`${n}-base-slot-machine-current-number__inner--not-number`]},u.value)),null!==l.value?i("span",{class:[`${n}-base-slot-machine-old-number ${n}-base-slot-machine-old-number--bottom`,c.value]},l.value):null)}}}),{cubicBezierEaseOut:C}=l;const E=s([s("@keyframes n-base-slot-machine-fade-up-in","\n from {\n transform: translateY(60%);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n "),s("@keyframes n-base-slot-machine-fade-down-in","\n from {\n transform: translateY(-60%);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n "),s("@keyframes n-base-slot-machine-fade-up-out","\n from {\n transform: translateY(0%);\n opacity: 1;\n }\n to {\n transform: translateY(-60%);\n opacity: 0;\n }\n "),s("@keyframes n-base-slot-machine-fade-down-out","\n from {\n transform: translateY(0%);\n opacity: 1;\n }\n to {\n transform: translateY(60%);\n opacity: 0;\n }\n "),u("base-slot-machine","\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n height: 18px;\n line-height: 18px;\n ",[u("base-slot-machine-number","\n display: inline-block;\n position: relative;\n height: 18px;\n width: .6em;\n max-width: .6em;\n ",[function({duration:e=".2s"}={}){return[s("&.fade-up-width-expand-transition-leave-active",{transition:`\n opacity ${e} ${C},\n max-width ${e} ${C},\n transform ${e} ${C}\n `}),s("&.fade-up-width-expand-transition-enter-active",{transition:`\n opacity ${e} ${C},\n max-width ${e} ${C},\n transform ${e} ${C}\n `}),s("&.fade-up-width-expand-transition-enter-to",{opacity:1,transform:"translateX(0) translateY(0)"}),s("&.fade-up-width-expand-transition-enter-from",{maxWidth:"0 !important",opacity:0,transform:"translateY(60%)"}),s("&.fade-up-width-expand-transition-leave-from",{opacity:1,transform:"translateY(0)"}),s("&.fade-up-width-expand-transition-leave-to",{maxWidth:"0 !important",opacity:0,transform:"translateY(60%)"})]}({duration:".2s"}),d({duration:".2s",delay:"0s"}),u("base-slot-machine-old-number","\n display: inline-block;\n opacity: 0;\n position: absolute;\n left: 0;\n right: 0;\n ",[m("top",{transform:"translateY(-100%)"}),m("bottom",{transform:"translateY(100%)"}),m("down-scroll",{animation:"n-base-slot-machine-fade-down-out .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1}),m("up-scroll",{animation:"n-base-slot-machine-fade-up-out .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1})]),u("base-slot-machine-current-number","\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 1;\n transform: translateY(0);\n width: .6em;\n ",[m("down-scroll",{animation:"n-base-slot-machine-fade-down-in .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1}),m("up-scroll",{animation:"n-base-slot-machine-fade-up-in .2s cubic-bezier(0, 0, .2, 1)",animationIterationCount:1}),p("inner","\n display: inline-block;\n position: absolute;\n right: 0;\n top: 0;\n width: .6em;\n ",[m("not-number","\n right: unset;\n left: 0;\n ")])])])])]),I=e({name:"BaseSlotMachine",props:{clsPrefix:{type:String,required:!0},value:{type:[Number,String],default:0},max:{type:Number,default:void 0},appeared:{type:Boolean,required:!0}},setup(e){c("-base-slot-machine",E,o(e,"clsPrefix"));const r=n(),s=n(),l=a((()=>{if("string"==typeof e.value)return[];if(e.value<1)return[0];const n=[];let a=e.value;for(void 0!==e.max&&(a=Math.min(e.max,a));a>=1;)n.push(a%10),a/=10,a=Math.floor(a);return n.reverse(),n}));return t(o(e,"value"),((e,n)=>{"string"==typeof e?(s.value=void 0,r.value=void 0):"string"==typeof n?(s.value=e,r.value=void 0):(s.value=e,r.value=n)})),()=>{const{value:n,clsPrefix:a}=e;return"number"==typeof n?i("span",{class:`${a}-base-slot-machine`},i(f,{name:"fade-up-width-expand-transition",tag:"span"},{default:()=>l.value.map(((e,n)=>i(S,{clsPrefix:a,key:l.value.length-n-1,oldOriginalNumber:r.value,newOriginalNumber:s.value,value:e})))}),i(b,{key:"+",width:!0},{default:()=>void 0!==e.max&&e.maxe.show&&(e.dot||void 0!==e.value&&!(!e.showZero&&Number(e.value)<=0)||!N(t.value))));P((()=>{u.value&&(l.value=!0)}));const d=Y("Badge",i,r),m=a((()=>{const{type:n,color:a}=e,{common:{cubicBezierEaseInOut:t,cubicBezierEaseOut:r},self:{[k("color",n)]:o,fontFamily:i,fontSize:l}}=s.value;return{"--n-font-size":l,"--n-font-family":i,"--n-color":a||o,"--n-ripple-color":a||o,"--n-bezier":t,"--n-ripple-bezier":r}})),p=o?B("badge",a((()=>{let n="";const{type:a,color:t}=e;return a&&(n+=a[0]),t&&(n+=O(t)),n})),m,e):void 0,c=a((()=>{const{offset:n}=e;if(!n)return;const[a,t]=n,r="number"==typeof a?`${a}px`:a,o="number"==typeof t?`${t}px`:t;return{transform:`translate(calc(${(null==d?void 0:d.value)?"50%":"-50%"} + ${r}), ${o})`}}));return{rtlEnabled:d,mergedClsPrefix:r,appeared:l,showBadge:u,handleAfterEnter:()=>{l.value=!0},handleAfterLeave:()=>{l.value=!1},cssVars:o?void 0:m,themeClass:null==p?void 0:p.themeClass,onRender:null==p?void 0:p.onRender,offsetStyle:c}},render(){var e;const{mergedClsPrefix:n,onRender:a,themeClass:t,$slots:r}=this;null==a||a();const o=null===(e=r.default)||void 0===e?void 0:e.call(r);return i("div",{class:[`${n}-badge`,this.rtlEnabled&&`${n}-badge--rtl`,t,{[`${n}-badge--dot`]:this.dot,[`${n}-badge--as-is`]:!o}],style:this.cssVars},o,i(h,{name:"fade-in-scale-up-transition",onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>this.showBadge?i("sup",{class:`${n}-badge-sup`,title:g(this.value),style:this.offsetStyle},y(r.value,(()=>[this.dot?null:i(I,{clsPrefix:n,appeared:this.appeared,max:this.max,value:this.value})])),this.processing?i(x,{clsPrefix:n}):null):null}))}});export{F as N}; diff --git a/build/static/js/CAManageForm-mhgVNYF7.js b/build/static/js/CAManageForm-mhgVNYF7.js new file mode 100644 index 0000000..c981f3e --- /dev/null +++ b/build/static/js/CAManageForm-mhgVNYF7.js @@ -0,0 +1 @@ +import{u as s}from"./index-D5g5Z7WA.js";import{d as t,c as o}from"./main-BFwn2e3T.js";import"./useStore-3Yigt-U3.js";import"./index-DVPyxbgP.js";import"./access-FhEUImRw.js";import"./index-BL1j0ssQ.js";import"./throttle-B9C3ruvZ.js";import"./index-BfiZrXAG.js";import"./data-DE4JXv04.js";import"./index-CMwhkNZE.js";import"./business-_Rh7_-TN.js";import"./index-9yXMuG-J.js";const r=t({name:"CAManageForm",setup(){const{CAForm:t}=s();return()=>o(t,{labelPlacement:"top"},null)}});export{r as default}; diff --git a/build/static/js/CAManageForm-rh7R2w87.js b/build/static/js/CAManageForm-rh7R2w87.js deleted file mode 100644 index 1c85fcf..0000000 --- a/build/static/js/CAManageForm-rh7R2w87.js +++ /dev/null @@ -1 +0,0 @@ -import{u as s}from"./index-hczkfvnm.js";import{d as t,c as o}from"./main-BFg_w1GP.js";import"./useStore-CSzo38f-.js";import"./index-CTQigr-B.js";import"./access-B4X6xtmm.js";import"./index-CiXlCrWk.js";import"./throttle-BHKGqXBF.js";import"./index-P-RSxeKl.js";import"./data-BFMmsjgZ.js";import"./index-BJNUeE_-.js";import"./business-CHQBsAXz.js";import"./index-CtqD4msy.js";const r=t({name:"CAManageForm",setup(){const{CAForm:t}=s();return()=>o(t,{labelPlacement:"top"},null)}});export{r as default}; diff --git a/build/static/js/Flow-B3iVpgSc.js b/build/static/js/Flow-D8EIzUgU.js similarity index 96% rename from build/static/js/Flow-B3iVpgSc.js rename to build/static/js/Flow-D8EIzUgU.js index ba8f1b7..7d563e5 100644 --- a/build/static/js/Flow-B3iVpgSc.js +++ b/build/static/js/Flow-D8EIzUgU.js @@ -1 +1 @@ -import{d as a,Y as l,Z as n,_ as r}from"./main-BFg_w1GP.js";const t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20"},o=a({name:"Certificate20Regular",render:function(a,o){return n(),l("svg",t,o[0]||(o[0]=[r("g",{fill:"none"},[r("path",{d:"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3.146a4.508 4.508 0 0 0-1-.678V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h7.258c.076.113.157.223.242.329V15H4a2 2 0 0 1-2-2V5zm16.5 6.5c0 .954-.381 1.818-1 2.45V18a.5.5 0 0 1-.8.4l-1.4-1.05a.5.5 0 0 0-.6 0l-1.4 1.05a.5.5 0 0 1-.8-.4v-4.05a3.5 3.5 0 1 1 6-2.45zM15 15c-.537 0-1.045-.12-1.5-.337v2.087l1.243-.746a.5.5 0 0 1 .514 0l1.243.746v-2.087A3.486 3.486 0 0 1 15 15zm0-1a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5zM5 6.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm.5 4.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4z",fill:"currentColor"})],-1)]))}}),h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},w=a({name:"CloudMonitoring",render:function(a,t){return n(),l("svg",h,t[0]||(t[0]=[r("path",{d:"M28 16v6H4V6h7V4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v4H8v2h16v-2h-4v-4h8a2 2 0 0 0 2-2v-6zM18 28h-4v-4h4z",fill:"currentColor"},null,-1),r("path",{d:"M18 18h-.01a1 1 0 0 1-.951-.725L15.246 11H11V9h5a1 1 0 0 1 .962.725l1.074 3.76l3.009-9.78A1.014 1.014 0 0 1 22 3a.98.98 0 0 1 .949.684L24.72 9H30v2h-6a1 1 0 0 1-.949-.684l-1.013-3.04l-3.082 10.018A1 1 0 0 1 18 18z",fill:"currentColor"},null,-1)]))}}),v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},e=a({name:"Flow",render:function(a,t){return n(),l("svg",v,t[0]||(t[0]=[r("path",{d:"M27 22.14V17a2 2 0 0 0-2-2h-8V9.86a4 4 0 1 0-2 0V15H7a2 2 0 0 0-2 2v5.14a4 4 0 1 0 2 0V17h18v5.14a4 4 0 1 0 2 0zM8 26a2 2 0 1 1-2-2a2 2 0 0 1 2 2zm6-20a2 2 0 1 1 2 2a2 2 0 0 1-2-2zm12 22a2 2 0 1 1 2-2a2 2 0 0 1-2 2z",fill:"currentColor"},null,-1)]))}});export{o as C,e as F,w as a}; +import{d as a,Y as l,Z as n,_ as r}from"./main-BFwn2e3T.js";const t={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 20 20"},o=a({name:"Certificate20Regular",render:function(a,o){return n(),l("svg",t,o[0]||(o[0]=[r("g",{fill:"none"},[r("path",{d:"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3.146a4.508 4.508 0 0 0-1-.678V5a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h7.258c.076.113.157.223.242.329V15H4a2 2 0 0 1-2-2V5zm16.5 6.5c0 .954-.381 1.818-1 2.45V18a.5.5 0 0 1-.8.4l-1.4-1.05a.5.5 0 0 0-.6 0l-1.4 1.05a.5.5 0 0 1-.8-.4v-4.05a3.5 3.5 0 1 1 6-2.45zM15 15c-.537 0-1.045-.12-1.5-.337v2.087l1.243-.746a.5.5 0 0 1 .514 0l1.243.746v-2.087A3.486 3.486 0 0 1 15 15zm0-1a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5zM5 6.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm.5 4.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4z",fill:"currentColor"})],-1)]))}}),h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},w=a({name:"CloudMonitoring",render:function(a,t){return n(),l("svg",h,t[0]||(t[0]=[r("path",{d:"M28 16v6H4V6h7V4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v4H8v2h16v-2h-4v-4h8a2 2 0 0 0 2-2v-6zM18 28h-4v-4h4z",fill:"currentColor"},null,-1),r("path",{d:"M18 18h-.01a1 1 0 0 1-.951-.725L15.246 11H11V9h5a1 1 0 0 1 .962.725l1.074 3.76l3.009-9.78A1.014 1.014 0 0 1 22 3a.98.98 0 0 1 .949.684L24.72 9H30v2h-6a1 1 0 0 1-.949-.684l-1.013-3.04l-3.082 10.018A1 1 0 0 1 18 18z",fill:"currentColor"},null,-1)]))}}),v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},e=a({name:"Flow",render:function(a,t){return n(),l("svg",v,t[0]||(t[0]=[r("path",{d:"M27 22.14V17a2 2 0 0 0-2-2h-8V9.86a4 4 0 1 0-2 0V15H7a2 2 0 0 0-2 2v5.14a4 4 0 1 0 2 0V17h18v5.14a4 4 0 1 0 2 0zM8 26a2 2 0 1 1-2-2a2 2 0 0 1 2 2zm6-20a2 2 0 1 1 2 2a2 2 0 0 1-2-2zm12 22a2 2 0 1 1 2-2a2 2 0 0 1-2 2z",fill:"currentColor"},null,-1)]))}});export{o as C,e as F,w as a}; diff --git a/build/static/js/LockOutlined-Bv7lZ7V6.js b/build/static/js/LockOutlined-vMZA0L98.js similarity index 90% rename from build/static/js/LockOutlined-Bv7lZ7V6.js rename to build/static/js/LockOutlined-vMZA0L98.js index a16d2ca..2db953e 100644 --- a/build/static/js/LockOutlined-Bv7lZ7V6.js +++ b/build/static/js/LockOutlined-vMZA0L98.js @@ -1 +1 @@ -import{d as c,Y as n,Z as r,_ as t}from"./main-BFg_w1GP.js";const o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},s=c({name:"LockOutlined",render:function(c,s){return r(),n("svg",o,s[0]||(s[0]=[t("path",{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z",fill:"currentColor"},null,-1)]))}});export{s as L}; +import{d as c,Y as n,Z as r,_ as t}from"./main-BFwn2e3T.js";const o={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},s=c({name:"LockOutlined",render:function(c,s){return r(),n("svg",o,s[0]||(s[0]=[t("path",{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z",fill:"currentColor"},null,-1)]))}});export{s as L}; diff --git a/build/static/js/Tabs-Dr4JKa0V.js b/build/static/js/Tabs-DWO1cj0i.js similarity index 99% rename from build/static/js/Tabs-Dr4JKa0V.js rename to build/static/js/Tabs-DWO1cj0i.js index 8d4922f..a76deab 100644 --- a/build/static/js/Tabs-Dr4JKa0V.js +++ b/build/static/js/Tabs-DWO1cj0i.js @@ -1 +1 @@ -import{d as e,H as t,r as n,bR as a,bS as r,bT as o,O as s,A as i,b1 as l,aC as d,an as b,ar as c,ag as p,bU as f,bV as v,l as u,bW as h,E as g,F as x,D as m,G as y,al as w,aY as $,b6 as C,av as z,I as R,K as S,bX as P,az as T,aj as L,x as W,V as A,o as j,W as B,J as k,bY as _,ay as E,aP as N,bZ as H,M as O,bB as F,b_ as D,b$ as I,aI as V,c0 as X,ak as M}from"./main-BFg_w1GP.js";import{t as U}from"./throttle-BHKGqXBF.js";const Y=r(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[r("&::-webkit-scrollbar",{width:0,height:0})]),G=e({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=n(null);const t=a();Y.mount({id:"vueuc/x-scroll",head:!0,anchorMetaName:o,ssr:t});const r={scrollTo(...t){var n;null===(n=e.value)||void 0===n||n.scrollTo(...t)}};return Object.assign({selfRef:e,handleWheel:function(e){e.currentTarget.offsetWidth{if(e.internalAddable)return!1;const{closable:t}=e;return void 0===t?r.value:t})),style:o,addStyle:s,tabClass:l,addTabClass:d,clsPrefix:t,value:n,type:a,handleClose(t){t.stopPropagation(),e.disabled||h(e.name)},activateTab(){if(e.disabled)return;if(e.internalAddable)return void f();const{name:t}=e,a=++b.id;if(t!==n.value){const{value:r}=c;r?Promise.resolve(r(e.name,n.value)).then((e=>{e&&b.id===a&&v(t)})):v(t)}}}},render(){const{internalAddable:e,clsPrefix:n,name:a,disabled:r,label:o,tab:s,value:i,mergedClosable:l,trigger:u,$slots:{default:h}}=this,g=null!=o?o:s;return t("div",{class:`${n}-tabs-tab-wrapper`},this.internalLeftPadded?t("div",{class:`${n}-tabs-tab-pad`}):null,t("div",Object.assign({key:a,"data-name":a,"data-disabled":!!r||void 0},d({class:[`${n}-tabs-tab`,i===a&&`${n}-tabs-tab--active`,r&&`${n}-tabs-tab--disabled`,l&&`${n}-tabs-tab--closable`,e&&`${n}-tabs-tab--addable`,e?this.addTabClass:this.tabClass],onClick:"click"===u?this.activateTab:void 0,onMouseenter:"hover"===u?this.activateTab:void 0,style:e?this.addStyle:this.style},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),t("span",{class:`${n}-tabs-tab__label`},e?t(c,null,t("div",{class:`${n}-tabs-tab__height-placeholder`}," "),t(p,{clsPrefix:n},{default:()=>t(f,null)})):h?h():"object"==typeof g?g:b(null!=g?g:a)),l&&"card"===this.type?t(v,{clsPrefix:n,class:`${n}-tabs-tab__close`,onClick:this.handleClose,disabled:r}):null))}}),Q=g("tabs","\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-direction: column;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n",[x("segment-type",[g("tabs-rail",[m("&.transition-disabled",[g("tabs-capsule","\n transition: none;\n ")])])]),x("top",[g("tab-pane","\n padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);\n ")]),x("left",[g("tab-pane","\n padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);\n ")]),x("left, right","\n flex-direction: row;\n ",[g("tabs-bar","\n width: 2px;\n right: 0;\n transition:\n top .2s var(--n-bezier),\n max-height .2s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),g("tabs-tab","\n padding: var(--n-tab-padding-vertical); \n ")]),x("right","\n flex-direction: row-reverse;\n ",[g("tab-pane","\n padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);\n "),g("tabs-bar","\n left: 0;\n ")]),x("bottom","\n flex-direction: column-reverse;\n justify-content: flex-end;\n ",[g("tab-pane","\n padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);\n "),g("tabs-bar","\n top: 0;\n ")]),g("tabs-rail","\n position: relative;\n padding: 3px;\n border-radius: var(--n-tab-border-radius);\n width: 100%;\n background-color: var(--n-color-segment);\n transition: background-color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n ",[g("tabs-capsule","\n border-radius: var(--n-tab-border-radius);\n position: absolute;\n pointer-events: none;\n background-color: var(--n-tab-color-segment);\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);\n transition: transform 0.3s var(--n-bezier);\n "),g("tabs-tab-wrapper","\n flex-basis: 0;\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[g("tabs-tab","\n overflow: hidden;\n border-radius: var(--n-tab-border-radius);\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[x("active","\n font-weight: var(--n-font-weight-strong);\n color: var(--n-tab-text-color-active);\n "),m("&:hover","\n color: var(--n-tab-text-color-hover);\n ")])])]),x("flex",[g("tabs-nav","\n width: 100%;\n position: relative;\n ",[g("tabs-wrapper","\n width: 100%;\n ",[g("tabs-tab","\n margin-right: 0;\n ")])])]),g("tabs-nav","\n box-sizing: border-box;\n line-height: 1.5;\n display: flex;\n transition: border-color .3s var(--n-bezier);\n ",[y("prefix, suffix","\n display: flex;\n align-items: center;\n "),y("prefix","padding-right: 16px;"),y("suffix","padding-left: 16px;")]),x("top, bottom",[g("tabs-nav-scroll-wrapper",[m("&::before","\n top: 0;\n bottom: 0;\n left: 0;\n width: 20px;\n "),m("&::after","\n top: 0;\n bottom: 0;\n right: 0;\n width: 20px;\n "),x("shadow-start",[m("&::before","\n box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);\n ")]),x("shadow-end",[m("&::after","\n box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);\n ")])])]),x("left, right",[g("tabs-nav-scroll-content","\n flex-direction: column;\n "),g("tabs-nav-scroll-wrapper",[m("&::before","\n top: 0;\n left: 0;\n right: 0;\n height: 20px;\n "),m("&::after","\n bottom: 0;\n left: 0;\n right: 0;\n height: 20px;\n "),x("shadow-start",[m("&::before","\n box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);\n ")]),x("shadow-end",[m("&::after","\n box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);\n ")])])]),g("tabs-nav-scroll-wrapper","\n flex: 1;\n position: relative;\n overflow: hidden;\n ",[g("tabs-nav-y-scroll","\n height: 100%;\n width: 100%;\n overflow-y: auto; \n scrollbar-width: none;\n ",[m("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n ")]),m("&::before, &::after",'\n transition: box-shadow .3s var(--n-bezier);\n pointer-events: none;\n content: "";\n position: absolute;\n z-index: 1;\n ')]),g("tabs-nav-scroll-content","\n display: flex;\n position: relative;\n min-width: 100%;\n min-height: 100%;\n width: fit-content;\n box-sizing: border-box;\n "),g("tabs-wrapper","\n display: inline-flex;\n flex-wrap: nowrap;\n position: relative;\n "),g("tabs-tab-wrapper","\n display: flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n flex-grow: 0;\n "),g("tabs-tab","\n cursor: pointer;\n white-space: nowrap;\n flex-wrap: nowrap;\n display: inline-flex;\n align-items: center;\n color: var(--n-tab-text-color);\n font-size: var(--n-tab-font-size);\n background-clip: padding-box;\n padding: var(--n-tab-padding);\n transition:\n box-shadow .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[x("disabled",{cursor:"not-allowed"}),y("close","\n margin-left: 6px;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),y("label","\n display: flex;\n align-items: center;\n z-index: 1;\n ")]),g("tabs-bar","\n position: absolute;\n bottom: 0;\n height: 2px;\n border-radius: 1px;\n background-color: var(--n-bar-color);\n transition:\n left .2s var(--n-bezier),\n max-width .2s var(--n-bezier),\n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[m("&.transition-disabled","\n transition: none;\n "),x("disabled","\n background-color: var(--n-tab-text-color-disabled)\n ")]),g("tabs-pane-wrapper","\n position: relative;\n overflow: hidden;\n transition: max-height .2s var(--n-bezier);\n "),g("tab-pane","\n color: var(--n-pane-text-color);\n width: 100%;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .2s var(--n-bezier);\n left: 0;\n right: 0;\n top: 0;\n ",[m("&.next-transition-leave-active, &.prev-transition-leave-active, &.next-transition-enter-active, &.prev-transition-enter-active","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n transform .2s var(--n-bezier),\n opacity .2s var(--n-bezier);\n "),m("&.next-transition-leave-active, &.prev-transition-leave-active","\n position: absolute;\n "),m("&.next-transition-enter-from, &.prev-transition-leave-to","\n transform: translateX(32px);\n opacity: 0;\n "),m("&.next-transition-leave-to, &.prev-transition-enter-from","\n transform: translateX(-32px);\n opacity: 0;\n "),m("&.next-transition-leave-from, &.next-transition-enter-to, &.prev-transition-leave-from, &.prev-transition-enter-to","\n transform: translateX(0);\n opacity: 1;\n ")]),g("tabs-tab-pad","\n box-sizing: border-box;\n width: var(--n-tab-gap);\n flex-grow: 0;\n flex-shrink: 0;\n "),x("line-type, bar-type",[g("tabs-tab","\n font-weight: var(--n-tab-font-weight);\n box-sizing: border-box;\n vertical-align: bottom;\n ",[m("&:hover",{color:"var(--n-tab-text-color-hover)"}),x("active","\n color: var(--n-tab-text-color-active);\n font-weight: var(--n-tab-font-weight-active);\n "),x("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),g("tabs-nav",[x("line-type",[x("top",[y("prefix, suffix","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n bottom: -1px;\n ")]),x("left",[y("prefix, suffix","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n right: -1px;\n ")]),x("right",[y("prefix, suffix","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n left: -1px;\n ")]),x("bottom",[y("prefix, suffix","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n top: -1px;\n ")]),y("prefix, suffix","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-nav-scroll-content","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-bar","\n border-radius: 0;\n ")]),x("card-type",[y("prefix, suffix","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-pad","\n flex-grow: 1;\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-tab-pad","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-tab","\n font-weight: var(--n-tab-font-weight);\n border: 1px solid var(--n-tab-border-color);\n background-color: var(--n-tab-color);\n box-sizing: border-box;\n position: relative;\n vertical-align: bottom;\n display: flex;\n justify-content: space-between;\n font-size: var(--n-tab-font-size);\n color: var(--n-tab-text-color);\n ",[x("addable","\n padding-left: 8px;\n padding-right: 8px;\n font-size: 16px;\n justify-content: center;\n ",[y("height-placeholder","\n width: 0;\n font-size: var(--n-tab-font-size);\n "),w("disabled",[m("&:hover","\n color: var(--n-tab-text-color-hover);\n ")])]),x("closable","padding-right: 8px;"),x("active","\n background-color: #0000;\n font-weight: var(--n-tab-font-weight-active);\n color: var(--n-tab-text-color-active);\n "),x("disabled","color: var(--n-tab-text-color-disabled);")])]),x("left, right","\n flex-direction: column; \n ",[y("prefix, suffix","\n padding: var(--n-tab-padding-vertical);\n "),g("tabs-wrapper","\n flex-direction: column;\n "),g("tabs-tab-wrapper","\n flex-direction: column;\n ",[g("tabs-tab-pad","\n height: var(--n-tab-gap-vertical);\n width: 100%;\n ")])]),x("top",[x("card-type",[g("tabs-scroll-padding","border-bottom: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-top-left-radius: var(--n-tab-border-radius);\n border-top-right-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-bottom: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-bottom: 1px solid var(--n-tab-border-color);\n ")])]),x("left",[x("card-type",[g("tabs-scroll-padding","border-right: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-top-left-radius: var(--n-tab-border-radius);\n border-bottom-left-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-right: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-right: 1px solid var(--n-tab-border-color);\n ")])]),x("right",[x("card-type",[g("tabs-scroll-padding","border-left: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-top-right-radius: var(--n-tab-border-radius);\n border-bottom-right-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-left: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-left: 1px solid var(--n-tab-border-color);\n ")])]),x("bottom",[x("card-type",[g("tabs-scroll-padding","border-top: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-bottom-left-radius: var(--n-tab-border-radius);\n border-bottom-right-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-top: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-top: 1px solid var(--n-tab-border-color);\n ")])])])]),ee=e({name:"Tabs",props:Object.assign(Object.assign({},S.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],tabClass:String,addTabStyle:[String,Object],addTabClass:String,barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),slots:Object,setup(e,{slots:t}){var a,r,o,s;const{mergedClsPrefixRef:i,inlineThemeDisabled:l}=R(e),d=S("Tabs","-tabs",Q,P,e,i),b=n(null),c=n(null),p=n(null),f=n(null),v=n(null),h=n(null),g=n(!0),x=n(!0),m=T(e,["labelSize","size"]),y=T(e,["activeName","value"]),w=n(null!==(r=null!==(a=y.value)&&void 0!==a?a:e.defaultValue)&&void 0!==r?r:t.default?null===(s=null===(o=$(t.default())[0])||void 0===o?void 0:o.props)||void 0===s?void 0:s.name:null),C=L(y,w),z={id:0},D=u((()=>{if(e.justifyContent&&"card"!==e.type)return{display:"flex",justifyContent:e.justifyContent}}));function I(){var e;const{value:t}=C;if(null===t)return null;return null===(e=b.value)||void 0===e?void 0:e.querySelector(`[data-name="${t}"]`)}function V(e){const{value:t}=c;if(t)for(const n of e)t.style[n]=""}function X(){if("card"===e.type)return;const t=I();t?function(t){if("card"===e.type)return;const{value:n}=c;if(!n)return;const a="0"===n.style.opacity;if(t){const r=`${i.value}-tabs-bar--disabled`,{barWidth:o,placement:s}=e;if("true"===t.dataset.disabled?n.classList.add(r):n.classList.remove(r),["top","bottom"].includes(s)){if(V(["top","maxHeight","height"]),"number"==typeof o&&t.offsetWidth>=o){const e=Math.floor((t.offsetWidth-o)/2)+t.offsetLeft;n.style.left=`${e}px`,n.style.maxWidth=`${o}px`}else n.style.left=`${t.offsetLeft}px`,n.style.maxWidth=`${t.offsetWidth}px`;n.style.width="8192px",a&&(n.style.transition="none"),n.offsetWidth,a&&(n.style.transition="",n.style.opacity="1")}else{if(V(["left","maxWidth","width"]),"number"==typeof o&&t.offsetHeight>=o){const e=Math.floor((t.offsetHeight-o)/2)+t.offsetTop;n.style.top=`${e}px`,n.style.maxHeight=`${o}px`}else n.style.top=`${t.offsetTop}px`,n.style.maxHeight=`${t.offsetHeight}px`;n.style.height="8192px",a&&(n.style.transition="none"),n.offsetHeight,a&&(n.style.transition="",n.style.opacity="1")}}}(t):function(){if("card"===e.type)return;const{value:t}=c;t&&(t.style.opacity="0")}()}function Y(){var e;const t=null===(e=v.value)||void 0===e?void 0:e.$el;if(!t)return;const n=I();if(!n)return;const{scrollLeft:a,offsetWidth:r}=t,{offsetLeft:o,offsetWidth:s}=n;a>o?t.scrollTo({top:0,left:o,behavior:"smooth"}):o+s>a+r&&t.scrollTo({top:0,left:o+s-r,behavior:"smooth"})}W(C,(()=>{z.id=0,X(),Y()}));const G=n(null);let J=0,K=null;const Z={value:[]},ee=n("next");function te(){const{value:e}=c;if(!e)return;const t="transition-disabled";e.classList.add(t),X(),e.classList.remove(t)}const ne=n(null);function ae({transitionDisabled:e}){const t=b.value;if(!t)return;e&&t.classList.add("transition-disabled");const n=I();n&&ne.value&&(ne.value.style.width=`${n.offsetWidth}px`,ne.value.style.height=`${n.offsetHeight}px`,ne.value.style.transform=`translateX(${n.offsetLeft-F(getComputedStyle(t).paddingLeft)}px)`,e&&ne.value.offsetWidth),e&&t.classList.remove("transition-disabled")}W([C],(()=>{"segment"===e.type&&A((()=>{ae({transitionDisabled:!1})}))})),j((()=>{"segment"===e.type&&ae({transitionDisabled:!0})}));let re=0;const oe=U((function(t){var n;if(0===t.contentRect.width&&0===t.contentRect.height)return;if(re===t.contentRect.width)return;re=t.contentRect.width;const{type:a}=e;if("line"!==a&&"bar"!==a||te(),"segment"!==a){const{placement:t}=e;le(("top"===t||"bottom"===t?null===(n=v.value)||void 0===n?void 0:n.$el:h.value)||null)}}),64);W([()=>e.justifyContent,()=>e.size],(()=>{A((()=>{const{type:t}=e;"line"!==t&&"bar"!==t||te()}))}));const se=n(!1);const ie=U((function(t){var n;const{target:a,contentRect:{width:r,height:o}}=t,s=a.parentElement.parentElement.offsetWidth,i=a.parentElement.parentElement.offsetHeight,{placement:l}=e;if(se.value){const{value:e}=f;if(!e)return;"top"===l||"bottom"===l?s-r>e.$el.offsetWidth&&(se.value=!1):i-o>e.$el.offsetHeight&&(se.value=!1)}else"top"===l||"bottom"===l?s=n}else{const{scrollTop:e,scrollHeight:n,offsetHeight:a}=t;g.value=e<=0,x.value=e+a>=n}}const de=U((e=>{le(e.target)}),64);B(q,{triggerRef:k(e,"trigger"),tabStyleRef:k(e,"tabStyle"),tabClassRef:k(e,"tabClass"),addTabStyleRef:k(e,"addTabStyle"),addTabClassRef:k(e,"addTabClass"),paneClassRef:k(e,"paneClass"),paneStyleRef:k(e,"paneStyle"),mergedClsPrefixRef:i,typeRef:k(e,"type"),closableRef:k(e,"closable"),valueRef:C,tabChangeIdRef:z,onBeforeLeaveRef:k(e,"onBeforeLeave"),activateTab:function(t){const n=C.value;let a="next";for(const e of Z.value){if(e===n)break;if(e===t){a="prev";break}}ee.value=a,function(t){const{onActiveNameChange:n,onUpdateValue:a,"onUpdate:value":r}=e;n&&M(n,t);a&&M(a,t);r&&M(r,t);w.value=t}(t)},handleClose:function(t){const{onClose:n}=e;n&&M(n,t)},handleAdd:function(){const{onAdd:t}=e;t&&t(),A((()=>{const e=I(),{value:t}=v;e&&t&&t.scrollTo({left:e.offsetLeft,top:0,behavior:"smooth"})}))}}),_((()=>{X(),Y()})),E((()=>{const{value:e}=p;if(!e)return;const{value:t}=i,n=`${t}-tabs-nav-scroll-wrapper--shadow-start`,a=`${t}-tabs-nav-scroll-wrapper--shadow-end`;g.value?e.classList.remove(n):e.classList.add(n),x.value?e.classList.remove(a):e.classList.add(a)}));const be={syncBarPosition:()=>{X()}},ce=u((()=>{const{value:t}=m,{type:n}=e,a=`${t}${{card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[n]}`,{self:{barColor:r,closeIconColor:o,closeIconColorHover:s,closeIconColorPressed:i,tabColor:l,tabBorderColor:b,paneTextColor:c,tabFontWeight:p,tabBorderRadius:f,tabFontWeightActive:v,colorSegment:u,fontWeightStrong:h,tabColorSegment:g,closeSize:x,closeIconSize:y,closeColorHover:w,closeColorPressed:$,closeBorderRadius:C,[N("panePadding",t)]:z,[N("tabPadding",a)]:R,[N("tabPaddingVertical",a)]:S,[N("tabGap",a)]:P,[N("tabGap",`${a}Vertical`)]:T,[N("tabTextColor",n)]:L,[N("tabTextColorActive",n)]:W,[N("tabTextColorHover",n)]:A,[N("tabTextColorDisabled",n)]:j,[N("tabFontSize",t)]:B},common:{cubicBezierEaseInOut:k}}=d.value;return{"--n-bezier":k,"--n-color-segment":u,"--n-bar-color":r,"--n-tab-font-size":B,"--n-tab-text-color":L,"--n-tab-text-color-active":W,"--n-tab-text-color-disabled":j,"--n-tab-text-color-hover":A,"--n-pane-text-color":c,"--n-tab-border-color":b,"--n-tab-border-radius":f,"--n-close-size":x,"--n-close-icon-size":y,"--n-close-color-hover":w,"--n-close-color-pressed":$,"--n-close-border-radius":C,"--n-close-icon-color":o,"--n-close-icon-color-hover":s,"--n-close-icon-color-pressed":i,"--n-tab-color":l,"--n-tab-font-weight":p,"--n-tab-font-weight-active":v,"--n-tab-padding":R,"--n-tab-padding-vertical":S,"--n-tab-gap":P,"--n-tab-gap-vertical":T,"--n-pane-padding-left":H(z,"left"),"--n-pane-padding-right":H(z,"right"),"--n-pane-padding-top":H(z,"top"),"--n-pane-padding-bottom":H(z,"bottom"),"--n-font-weight-strong":h,"--n-tab-color-segment":g}})),pe=l?O("tabs",u((()=>`${m.value[0]}${e.type[0]}`)),ce,e):void 0;return Object.assign({mergedClsPrefix:i,mergedValue:C,renderedNames:new Set,segmentCapsuleElRef:ne,tabsPaneWrapperRef:G,tabsElRef:b,barElRef:c,addTabInstRef:f,xScrollInstRef:v,scrollWrapperElRef:p,addTabFixed:se,tabWrapperStyle:D,handleNavResize:oe,mergedSize:m,handleScroll:de,handleTabsResize:ie,cssVars:l?void 0:ce,themeClass:null==pe?void 0:pe.themeClass,animationDirection:ee,renderNameListRef:Z,yScrollElRef:h,handleSegmentResize:()=>{ae({transitionDisabled:!0})},onAnimationBeforeLeave:function(e){const t=G.value;if(t){J=e.getBoundingClientRect().height;const n=`${J}px`,a=()=>{t.style.height=n,t.style.maxHeight=n};K?(a(),K(),K=null):K=a}},onAnimationEnter:function(e){const t=G.value;if(t){const n=e.getBoundingClientRect().height,a=()=>{document.body.offsetHeight,t.style.maxHeight=`${n}px`,t.style.height=`${Math.max(J,n)}px`};K?(K(),K=null,a()):K=a}},onAnimationAfterEnter:function(){const t=G.value;if(t){t.style.maxHeight="",t.style.height="";const{paneWrapperStyle:n}=e;if("string"==typeof n)t.style.cssText=n;else if(n){const{maxHeight:e,height:a}=n;void 0!==e&&(t.style.maxHeight=e),void 0!==a&&(t.style.height=a)}}},onRender:null==pe?void 0:pe.onRender},be)},render(){const{mergedClsPrefix:e,type:n,placement:a,addTabFixed:r,addable:o,mergedSize:s,renderNameListRef:i,onRender:l,paneWrapperClass:d,paneWrapperStyle:b,$slots:{default:c,prefix:p,suffix:f}}=this;null==l||l();const v=c?$(c()).filter((e=>!0===e.type.__TAB_PANE__)):[],u=c?$(c()).filter((e=>!0===e.type.__TAB__)):[],h=!u.length,g="card"===n,x="segment"===n,m=!g&&!x&&this.justifyContent;i.value=[];const y=()=>{const n=t("div",{style:this.tabWrapperStyle,class:`${e}-tabs-wrapper`},m?null:t("div",{class:`${e}-tabs-scroll-padding`,style:"top"===a||"bottom"===a?{width:`${this.tabsPadding}px`}:{height:`${this.tabsPadding}px`}}),h?v.map(((e,n)=>(i.value.push(e.props.name),re(t(Z,Object.assign({},e.props,{internalCreatedByPane:!0,internalLeftPadded:0!==n&&(!m||"center"===m||"start"===m||"end"===m)}),e.children?{default:e.children.tab}:void 0))))):u.map(((e,t)=>(i.value.push(e.props.name),re(0===t||m?e:ae(e))))),!r&&o&&g?ne(o,0!==(h?v.length:u.length)):null,m?null:t("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return t("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},g&&o?t(z,{onResize:this.handleTabsResize},{default:()=>n}):n,g?t("div",{class:`${e}-tabs-pad`}):null,g?null:t("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},w=x?"top":a;return t("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${n}-type`,`${e}-tabs--${s}-size`,m&&`${e}-tabs--flex`,`${e}-tabs--${w}`],style:this.cssVars},t("div",{class:[`${e}-tabs-nav--${n}-type`,`${e}-tabs-nav--${w}`,`${e}-tabs-nav`]},C(p,(n=>n&&t("div",{class:`${e}-tabs-nav__prefix`},n))),x?t(z,{onResize:this.handleSegmentResize},{default:()=>t("div",{class:`${e}-tabs-rail`,ref:"tabsElRef"},t("div",{class:`${e}-tabs-capsule`,ref:"segmentCapsuleElRef"},t("div",{class:`${e}-tabs-wrapper`},t("div",{class:`${e}-tabs-tab`}))),h?v.map(((e,n)=>(i.value.push(e.props.name),t(Z,Object.assign({},e.props,{internalCreatedByPane:!0,internalLeftPadded:0!==n}),e.children?{default:e.children.tab}:void 0)))):u.map(((e,t)=>(i.value.push(e.props.name),0===t?e:ae(e)))))}):t(z,{onResize:this.handleNavResize},{default:()=>t("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes(w)?t(G,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:y}):t("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll,ref:"yScrollElRef"},y()))}),r&&o&&g?ne(o,!0):null,C(f,(n=>n&&t("div",{class:`${e}-tabs-nav__suffix`},n)))),h&&(!this.animated||"top"!==w&&"bottom"!==w?te(v,this.mergedValue,this.renderedNames):t("div",{ref:"tabsPaneWrapperRef",style:b,class:[`${e}-tabs-pane-wrapper`,d]},te(v,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection))))}});function te(e,n,a,r,o,s,i){const l=[];return e.forEach((e=>{const{name:t,displayDirective:r,"display-directive":o}=e.props,s=e=>r===e||o===e,i=n===t;if(void 0!==e.key&&(e.key=t),i||s("show")||s("show:lazy")&&a.has(t)){a.has(t)||a.add(t);const n=!s("if");l.push(n?D(e,[[I,i]]):e)}})),i?t(V,{name:`${i}-transition`,onBeforeLeave:r,onEnter:o,onAfterEnter:s},{default:()=>l}):l}function ne(e,n){return t(Z,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:n,disabled:"object"==typeof e&&e.disabled})}function ae(e){const t=X(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function re(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}export{ee as N,K as a}; +import{d as e,H as t,r as n,bR as a,bS as r,bT as o,O as s,A as i,b1 as l,aC as d,an as b,ar as c,ag as p,bU as f,bV as v,l as u,bW as h,E as g,F as x,D as m,G as y,al as w,aY as $,b6 as C,av as z,I as R,K as S,bX as P,az as T,aj as L,x as W,V as A,o as j,W as B,J as k,bY as _,ay as E,aP as N,bZ as H,M as O,bB as F,b_ as D,b$ as I,aI as V,c0 as X,ak as M}from"./main-BFwn2e3T.js";import{t as U}from"./throttle-B9C3ruvZ.js";const Y=r(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[r("&::-webkit-scrollbar",{width:0,height:0})]),G=e({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=n(null);const t=a();Y.mount({id:"vueuc/x-scroll",head:!0,anchorMetaName:o,ssr:t});const r={scrollTo(...t){var n;null===(n=e.value)||void 0===n||n.scrollTo(...t)}};return Object.assign({selfRef:e,handleWheel:function(e){e.currentTarget.offsetWidth{if(e.internalAddable)return!1;const{closable:t}=e;return void 0===t?r.value:t})),style:o,addStyle:s,tabClass:l,addTabClass:d,clsPrefix:t,value:n,type:a,handleClose(t){t.stopPropagation(),e.disabled||h(e.name)},activateTab(){if(e.disabled)return;if(e.internalAddable)return void f();const{name:t}=e,a=++b.id;if(t!==n.value){const{value:r}=c;r?Promise.resolve(r(e.name,n.value)).then((e=>{e&&b.id===a&&v(t)})):v(t)}}}},render(){const{internalAddable:e,clsPrefix:n,name:a,disabled:r,label:o,tab:s,value:i,mergedClosable:l,trigger:u,$slots:{default:h}}=this,g=null!=o?o:s;return t("div",{class:`${n}-tabs-tab-wrapper`},this.internalLeftPadded?t("div",{class:`${n}-tabs-tab-pad`}):null,t("div",Object.assign({key:a,"data-name":a,"data-disabled":!!r||void 0},d({class:[`${n}-tabs-tab`,i===a&&`${n}-tabs-tab--active`,r&&`${n}-tabs-tab--disabled`,l&&`${n}-tabs-tab--closable`,e&&`${n}-tabs-tab--addable`,e?this.addTabClass:this.tabClass],onClick:"click"===u?this.activateTab:void 0,onMouseenter:"hover"===u?this.activateTab:void 0,style:e?this.addStyle:this.style},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),t("span",{class:`${n}-tabs-tab__label`},e?t(c,null,t("div",{class:`${n}-tabs-tab__height-placeholder`}," "),t(p,{clsPrefix:n},{default:()=>t(f,null)})):h?h():"object"==typeof g?g:b(null!=g?g:a)),l&&"card"===this.type?t(v,{clsPrefix:n,class:`${n}-tabs-tab__close`,onClick:this.handleClose,disabled:r}):null))}}),Q=g("tabs","\n box-sizing: border-box;\n width: 100%;\n display: flex;\n flex-direction: column;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n",[x("segment-type",[g("tabs-rail",[m("&.transition-disabled",[g("tabs-capsule","\n transition: none;\n ")])])]),x("top",[g("tab-pane","\n padding: var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left);\n ")]),x("left",[g("tab-pane","\n padding: var(--n-pane-padding-right) var(--n-pane-padding-bottom) var(--n-pane-padding-left) var(--n-pane-padding-top);\n ")]),x("left, right","\n flex-direction: row;\n ",[g("tabs-bar","\n width: 2px;\n right: 0;\n transition:\n top .2s var(--n-bezier),\n max-height .2s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),g("tabs-tab","\n padding: var(--n-tab-padding-vertical); \n ")]),x("right","\n flex-direction: row-reverse;\n ",[g("tab-pane","\n padding: var(--n-pane-padding-left) var(--n-pane-padding-top) var(--n-pane-padding-right) var(--n-pane-padding-bottom);\n "),g("tabs-bar","\n left: 0;\n ")]),x("bottom","\n flex-direction: column-reverse;\n justify-content: flex-end;\n ",[g("tab-pane","\n padding: var(--n-pane-padding-bottom) var(--n-pane-padding-right) var(--n-pane-padding-top) var(--n-pane-padding-left);\n "),g("tabs-bar","\n top: 0;\n ")]),g("tabs-rail","\n position: relative;\n padding: 3px;\n border-radius: var(--n-tab-border-radius);\n width: 100%;\n background-color: var(--n-color-segment);\n transition: background-color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n ",[g("tabs-capsule","\n border-radius: var(--n-tab-border-radius);\n position: absolute;\n pointer-events: none;\n background-color: var(--n-tab-color-segment);\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);\n transition: transform 0.3s var(--n-bezier);\n "),g("tabs-tab-wrapper","\n flex-basis: 0;\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[g("tabs-tab","\n overflow: hidden;\n border-radius: var(--n-tab-border-radius);\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[x("active","\n font-weight: var(--n-font-weight-strong);\n color: var(--n-tab-text-color-active);\n "),m("&:hover","\n color: var(--n-tab-text-color-hover);\n ")])])]),x("flex",[g("tabs-nav","\n width: 100%;\n position: relative;\n ",[g("tabs-wrapper","\n width: 100%;\n ",[g("tabs-tab","\n margin-right: 0;\n ")])])]),g("tabs-nav","\n box-sizing: border-box;\n line-height: 1.5;\n display: flex;\n transition: border-color .3s var(--n-bezier);\n ",[y("prefix, suffix","\n display: flex;\n align-items: center;\n "),y("prefix","padding-right: 16px;"),y("suffix","padding-left: 16px;")]),x("top, bottom",[g("tabs-nav-scroll-wrapper",[m("&::before","\n top: 0;\n bottom: 0;\n left: 0;\n width: 20px;\n "),m("&::after","\n top: 0;\n bottom: 0;\n right: 0;\n width: 20px;\n "),x("shadow-start",[m("&::before","\n box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);\n ")]),x("shadow-end",[m("&::after","\n box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);\n ")])])]),x("left, right",[g("tabs-nav-scroll-content","\n flex-direction: column;\n "),g("tabs-nav-scroll-wrapper",[m("&::before","\n top: 0;\n left: 0;\n right: 0;\n height: 20px;\n "),m("&::after","\n bottom: 0;\n left: 0;\n right: 0;\n height: 20px;\n "),x("shadow-start",[m("&::before","\n box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, .12);\n ")]),x("shadow-end",[m("&::after","\n box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, .12);\n ")])])]),g("tabs-nav-scroll-wrapper","\n flex: 1;\n position: relative;\n overflow: hidden;\n ",[g("tabs-nav-y-scroll","\n height: 100%;\n width: 100%;\n overflow-y: auto; \n scrollbar-width: none;\n ",[m("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n ")]),m("&::before, &::after",'\n transition: box-shadow .3s var(--n-bezier);\n pointer-events: none;\n content: "";\n position: absolute;\n z-index: 1;\n ')]),g("tabs-nav-scroll-content","\n display: flex;\n position: relative;\n min-width: 100%;\n min-height: 100%;\n width: fit-content;\n box-sizing: border-box;\n "),g("tabs-wrapper","\n display: inline-flex;\n flex-wrap: nowrap;\n position: relative;\n "),g("tabs-tab-wrapper","\n display: flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n flex-grow: 0;\n "),g("tabs-tab","\n cursor: pointer;\n white-space: nowrap;\n flex-wrap: nowrap;\n display: inline-flex;\n align-items: center;\n color: var(--n-tab-text-color);\n font-size: var(--n-tab-font-size);\n background-clip: padding-box;\n padding: var(--n-tab-padding);\n transition:\n box-shadow .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[x("disabled",{cursor:"not-allowed"}),y("close","\n margin-left: 6px;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),y("label","\n display: flex;\n align-items: center;\n z-index: 1;\n ")]),g("tabs-bar","\n position: absolute;\n bottom: 0;\n height: 2px;\n border-radius: 1px;\n background-color: var(--n-bar-color);\n transition:\n left .2s var(--n-bezier),\n max-width .2s var(--n-bezier),\n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[m("&.transition-disabled","\n transition: none;\n "),x("disabled","\n background-color: var(--n-tab-text-color-disabled)\n ")]),g("tabs-pane-wrapper","\n position: relative;\n overflow: hidden;\n transition: max-height .2s var(--n-bezier);\n "),g("tab-pane","\n color: var(--n-pane-text-color);\n width: 100%;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .2s var(--n-bezier);\n left: 0;\n right: 0;\n top: 0;\n ",[m("&.next-transition-leave-active, &.prev-transition-leave-active, &.next-transition-enter-active, &.prev-transition-enter-active","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n transform .2s var(--n-bezier),\n opacity .2s var(--n-bezier);\n "),m("&.next-transition-leave-active, &.prev-transition-leave-active","\n position: absolute;\n "),m("&.next-transition-enter-from, &.prev-transition-leave-to","\n transform: translateX(32px);\n opacity: 0;\n "),m("&.next-transition-leave-to, &.prev-transition-enter-from","\n transform: translateX(-32px);\n opacity: 0;\n "),m("&.next-transition-leave-from, &.next-transition-enter-to, &.prev-transition-leave-from, &.prev-transition-enter-to","\n transform: translateX(0);\n opacity: 1;\n ")]),g("tabs-tab-pad","\n box-sizing: border-box;\n width: var(--n-tab-gap);\n flex-grow: 0;\n flex-shrink: 0;\n "),x("line-type, bar-type",[g("tabs-tab","\n font-weight: var(--n-tab-font-weight);\n box-sizing: border-box;\n vertical-align: bottom;\n ",[m("&:hover",{color:"var(--n-tab-text-color-hover)"}),x("active","\n color: var(--n-tab-text-color-active);\n font-weight: var(--n-tab-font-weight-active);\n "),x("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),g("tabs-nav",[x("line-type",[x("top",[y("prefix, suffix","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n bottom: -1px;\n ")]),x("left",[y("prefix, suffix","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n right: -1px;\n ")]),x("right",[y("prefix, suffix","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n left: -1px;\n ")]),x("bottom",[y("prefix, suffix","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-nav-scroll-content","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-bar","\n top: -1px;\n ")]),y("prefix, suffix","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-nav-scroll-content","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-bar","\n border-radius: 0;\n ")]),x("card-type",[y("prefix, suffix","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-pad","\n flex-grow: 1;\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-tab-pad","\n transition: border-color .3s var(--n-bezier);\n "),g("tabs-tab","\n font-weight: var(--n-tab-font-weight);\n border: 1px solid var(--n-tab-border-color);\n background-color: var(--n-tab-color);\n box-sizing: border-box;\n position: relative;\n vertical-align: bottom;\n display: flex;\n justify-content: space-between;\n font-size: var(--n-tab-font-size);\n color: var(--n-tab-text-color);\n ",[x("addable","\n padding-left: 8px;\n padding-right: 8px;\n font-size: 16px;\n justify-content: center;\n ",[y("height-placeholder","\n width: 0;\n font-size: var(--n-tab-font-size);\n "),w("disabled",[m("&:hover","\n color: var(--n-tab-text-color-hover);\n ")])]),x("closable","padding-right: 8px;"),x("active","\n background-color: #0000;\n font-weight: var(--n-tab-font-weight-active);\n color: var(--n-tab-text-color-active);\n "),x("disabled","color: var(--n-tab-text-color-disabled);")])]),x("left, right","\n flex-direction: column; \n ",[y("prefix, suffix","\n padding: var(--n-tab-padding-vertical);\n "),g("tabs-wrapper","\n flex-direction: column;\n "),g("tabs-tab-wrapper","\n flex-direction: column;\n ",[g("tabs-tab-pad","\n height: var(--n-tab-gap-vertical);\n width: 100%;\n ")])]),x("top",[x("card-type",[g("tabs-scroll-padding","border-bottom: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-top-left-radius: var(--n-tab-border-radius);\n border-top-right-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-bottom: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-bottom: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-bottom: 1px solid var(--n-tab-border-color);\n ")])]),x("left",[x("card-type",[g("tabs-scroll-padding","border-right: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-top-left-radius: var(--n-tab-border-radius);\n border-bottom-left-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-right: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-right: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-right: 1px solid var(--n-tab-border-color);\n ")])]),x("right",[x("card-type",[g("tabs-scroll-padding","border-left: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-top-right-radius: var(--n-tab-border-radius);\n border-bottom-right-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-left: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-left: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-left: 1px solid var(--n-tab-border-color);\n ")])]),x("bottom",[x("card-type",[g("tabs-scroll-padding","border-top: 1px solid var(--n-tab-border-color);"),y("prefix, suffix","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-tab","\n border-bottom-left-radius: var(--n-tab-border-radius);\n border-bottom-right-radius: var(--n-tab-border-radius);\n ",[x("active","\n border-top: 1px solid #0000;\n ")]),g("tabs-tab-pad","\n border-top: 1px solid var(--n-tab-border-color);\n "),g("tabs-pad","\n border-top: 1px solid var(--n-tab-border-color);\n ")])])])]),ee=e({name:"Tabs",props:Object.assign(Object.assign({},S.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],tabClass:String,addTabStyle:[String,Object],addTabClass:String,barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),slots:Object,setup(e,{slots:t}){var a,r,o,s;const{mergedClsPrefixRef:i,inlineThemeDisabled:l}=R(e),d=S("Tabs","-tabs",Q,P,e,i),b=n(null),c=n(null),p=n(null),f=n(null),v=n(null),h=n(null),g=n(!0),x=n(!0),m=T(e,["labelSize","size"]),y=T(e,["activeName","value"]),w=n(null!==(r=null!==(a=y.value)&&void 0!==a?a:e.defaultValue)&&void 0!==r?r:t.default?null===(s=null===(o=$(t.default())[0])||void 0===o?void 0:o.props)||void 0===s?void 0:s.name:null),C=L(y,w),z={id:0},D=u((()=>{if(e.justifyContent&&"card"!==e.type)return{display:"flex",justifyContent:e.justifyContent}}));function I(){var e;const{value:t}=C;if(null===t)return null;return null===(e=b.value)||void 0===e?void 0:e.querySelector(`[data-name="${t}"]`)}function V(e){const{value:t}=c;if(t)for(const n of e)t.style[n]=""}function X(){if("card"===e.type)return;const t=I();t?function(t){if("card"===e.type)return;const{value:n}=c;if(!n)return;const a="0"===n.style.opacity;if(t){const r=`${i.value}-tabs-bar--disabled`,{barWidth:o,placement:s}=e;if("true"===t.dataset.disabled?n.classList.add(r):n.classList.remove(r),["top","bottom"].includes(s)){if(V(["top","maxHeight","height"]),"number"==typeof o&&t.offsetWidth>=o){const e=Math.floor((t.offsetWidth-o)/2)+t.offsetLeft;n.style.left=`${e}px`,n.style.maxWidth=`${o}px`}else n.style.left=`${t.offsetLeft}px`,n.style.maxWidth=`${t.offsetWidth}px`;n.style.width="8192px",a&&(n.style.transition="none"),n.offsetWidth,a&&(n.style.transition="",n.style.opacity="1")}else{if(V(["left","maxWidth","width"]),"number"==typeof o&&t.offsetHeight>=o){const e=Math.floor((t.offsetHeight-o)/2)+t.offsetTop;n.style.top=`${e}px`,n.style.maxHeight=`${o}px`}else n.style.top=`${t.offsetTop}px`,n.style.maxHeight=`${t.offsetHeight}px`;n.style.height="8192px",a&&(n.style.transition="none"),n.offsetHeight,a&&(n.style.transition="",n.style.opacity="1")}}}(t):function(){if("card"===e.type)return;const{value:t}=c;t&&(t.style.opacity="0")}()}function Y(){var e;const t=null===(e=v.value)||void 0===e?void 0:e.$el;if(!t)return;const n=I();if(!n)return;const{scrollLeft:a,offsetWidth:r}=t,{offsetLeft:o,offsetWidth:s}=n;a>o?t.scrollTo({top:0,left:o,behavior:"smooth"}):o+s>a+r&&t.scrollTo({top:0,left:o+s-r,behavior:"smooth"})}W(C,(()=>{z.id=0,X(),Y()}));const G=n(null);let J=0,K=null;const Z={value:[]},ee=n("next");function te(){const{value:e}=c;if(!e)return;const t="transition-disabled";e.classList.add(t),X(),e.classList.remove(t)}const ne=n(null);function ae({transitionDisabled:e}){const t=b.value;if(!t)return;e&&t.classList.add("transition-disabled");const n=I();n&&ne.value&&(ne.value.style.width=`${n.offsetWidth}px`,ne.value.style.height=`${n.offsetHeight}px`,ne.value.style.transform=`translateX(${n.offsetLeft-F(getComputedStyle(t).paddingLeft)}px)`,e&&ne.value.offsetWidth),e&&t.classList.remove("transition-disabled")}W([C],(()=>{"segment"===e.type&&A((()=>{ae({transitionDisabled:!1})}))})),j((()=>{"segment"===e.type&&ae({transitionDisabled:!0})}));let re=0;const oe=U((function(t){var n;if(0===t.contentRect.width&&0===t.contentRect.height)return;if(re===t.contentRect.width)return;re=t.contentRect.width;const{type:a}=e;if("line"!==a&&"bar"!==a||te(),"segment"!==a){const{placement:t}=e;le(("top"===t||"bottom"===t?null===(n=v.value)||void 0===n?void 0:n.$el:h.value)||null)}}),64);W([()=>e.justifyContent,()=>e.size],(()=>{A((()=>{const{type:t}=e;"line"!==t&&"bar"!==t||te()}))}));const se=n(!1);const ie=U((function(t){var n;const{target:a,contentRect:{width:r,height:o}}=t,s=a.parentElement.parentElement.offsetWidth,i=a.parentElement.parentElement.offsetHeight,{placement:l}=e;if(se.value){const{value:e}=f;if(!e)return;"top"===l||"bottom"===l?s-r>e.$el.offsetWidth&&(se.value=!1):i-o>e.$el.offsetHeight&&(se.value=!1)}else"top"===l||"bottom"===l?s=n}else{const{scrollTop:e,scrollHeight:n,offsetHeight:a}=t;g.value=e<=0,x.value=e+a>=n}}const de=U((e=>{le(e.target)}),64);B(q,{triggerRef:k(e,"trigger"),tabStyleRef:k(e,"tabStyle"),tabClassRef:k(e,"tabClass"),addTabStyleRef:k(e,"addTabStyle"),addTabClassRef:k(e,"addTabClass"),paneClassRef:k(e,"paneClass"),paneStyleRef:k(e,"paneStyle"),mergedClsPrefixRef:i,typeRef:k(e,"type"),closableRef:k(e,"closable"),valueRef:C,tabChangeIdRef:z,onBeforeLeaveRef:k(e,"onBeforeLeave"),activateTab:function(t){const n=C.value;let a="next";for(const e of Z.value){if(e===n)break;if(e===t){a="prev";break}}ee.value=a,function(t){const{onActiveNameChange:n,onUpdateValue:a,"onUpdate:value":r}=e;n&&M(n,t);a&&M(a,t);r&&M(r,t);w.value=t}(t)},handleClose:function(t){const{onClose:n}=e;n&&M(n,t)},handleAdd:function(){const{onAdd:t}=e;t&&t(),A((()=>{const e=I(),{value:t}=v;e&&t&&t.scrollTo({left:e.offsetLeft,top:0,behavior:"smooth"})}))}}),_((()=>{X(),Y()})),E((()=>{const{value:e}=p;if(!e)return;const{value:t}=i,n=`${t}-tabs-nav-scroll-wrapper--shadow-start`,a=`${t}-tabs-nav-scroll-wrapper--shadow-end`;g.value?e.classList.remove(n):e.classList.add(n),x.value?e.classList.remove(a):e.classList.add(a)}));const be={syncBarPosition:()=>{X()}},ce=u((()=>{const{value:t}=m,{type:n}=e,a=`${t}${{card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[n]}`,{self:{barColor:r,closeIconColor:o,closeIconColorHover:s,closeIconColorPressed:i,tabColor:l,tabBorderColor:b,paneTextColor:c,tabFontWeight:p,tabBorderRadius:f,tabFontWeightActive:v,colorSegment:u,fontWeightStrong:h,tabColorSegment:g,closeSize:x,closeIconSize:y,closeColorHover:w,closeColorPressed:$,closeBorderRadius:C,[N("panePadding",t)]:z,[N("tabPadding",a)]:R,[N("tabPaddingVertical",a)]:S,[N("tabGap",a)]:P,[N("tabGap",`${a}Vertical`)]:T,[N("tabTextColor",n)]:L,[N("tabTextColorActive",n)]:W,[N("tabTextColorHover",n)]:A,[N("tabTextColorDisabled",n)]:j,[N("tabFontSize",t)]:B},common:{cubicBezierEaseInOut:k}}=d.value;return{"--n-bezier":k,"--n-color-segment":u,"--n-bar-color":r,"--n-tab-font-size":B,"--n-tab-text-color":L,"--n-tab-text-color-active":W,"--n-tab-text-color-disabled":j,"--n-tab-text-color-hover":A,"--n-pane-text-color":c,"--n-tab-border-color":b,"--n-tab-border-radius":f,"--n-close-size":x,"--n-close-icon-size":y,"--n-close-color-hover":w,"--n-close-color-pressed":$,"--n-close-border-radius":C,"--n-close-icon-color":o,"--n-close-icon-color-hover":s,"--n-close-icon-color-pressed":i,"--n-tab-color":l,"--n-tab-font-weight":p,"--n-tab-font-weight-active":v,"--n-tab-padding":R,"--n-tab-padding-vertical":S,"--n-tab-gap":P,"--n-tab-gap-vertical":T,"--n-pane-padding-left":H(z,"left"),"--n-pane-padding-right":H(z,"right"),"--n-pane-padding-top":H(z,"top"),"--n-pane-padding-bottom":H(z,"bottom"),"--n-font-weight-strong":h,"--n-tab-color-segment":g}})),pe=l?O("tabs",u((()=>`${m.value[0]}${e.type[0]}`)),ce,e):void 0;return Object.assign({mergedClsPrefix:i,mergedValue:C,renderedNames:new Set,segmentCapsuleElRef:ne,tabsPaneWrapperRef:G,tabsElRef:b,barElRef:c,addTabInstRef:f,xScrollInstRef:v,scrollWrapperElRef:p,addTabFixed:se,tabWrapperStyle:D,handleNavResize:oe,mergedSize:m,handleScroll:de,handleTabsResize:ie,cssVars:l?void 0:ce,themeClass:null==pe?void 0:pe.themeClass,animationDirection:ee,renderNameListRef:Z,yScrollElRef:h,handleSegmentResize:()=>{ae({transitionDisabled:!0})},onAnimationBeforeLeave:function(e){const t=G.value;if(t){J=e.getBoundingClientRect().height;const n=`${J}px`,a=()=>{t.style.height=n,t.style.maxHeight=n};K?(a(),K(),K=null):K=a}},onAnimationEnter:function(e){const t=G.value;if(t){const n=e.getBoundingClientRect().height,a=()=>{document.body.offsetHeight,t.style.maxHeight=`${n}px`,t.style.height=`${Math.max(J,n)}px`};K?(K(),K=null,a()):K=a}},onAnimationAfterEnter:function(){const t=G.value;if(t){t.style.maxHeight="",t.style.height="";const{paneWrapperStyle:n}=e;if("string"==typeof n)t.style.cssText=n;else if(n){const{maxHeight:e,height:a}=n;void 0!==e&&(t.style.maxHeight=e),void 0!==a&&(t.style.height=a)}}},onRender:null==pe?void 0:pe.onRender},be)},render(){const{mergedClsPrefix:e,type:n,placement:a,addTabFixed:r,addable:o,mergedSize:s,renderNameListRef:i,onRender:l,paneWrapperClass:d,paneWrapperStyle:b,$slots:{default:c,prefix:p,suffix:f}}=this;null==l||l();const v=c?$(c()).filter((e=>!0===e.type.__TAB_PANE__)):[],u=c?$(c()).filter((e=>!0===e.type.__TAB__)):[],h=!u.length,g="card"===n,x="segment"===n,m=!g&&!x&&this.justifyContent;i.value=[];const y=()=>{const n=t("div",{style:this.tabWrapperStyle,class:`${e}-tabs-wrapper`},m?null:t("div",{class:`${e}-tabs-scroll-padding`,style:"top"===a||"bottom"===a?{width:`${this.tabsPadding}px`}:{height:`${this.tabsPadding}px`}}),h?v.map(((e,n)=>(i.value.push(e.props.name),re(t(Z,Object.assign({},e.props,{internalCreatedByPane:!0,internalLeftPadded:0!==n&&(!m||"center"===m||"start"===m||"end"===m)}),e.children?{default:e.children.tab}:void 0))))):u.map(((e,t)=>(i.value.push(e.props.name),re(0===t||m?e:ae(e))))),!r&&o&&g?ne(o,0!==(h?v.length:u.length)):null,m?null:t("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return t("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},g&&o?t(z,{onResize:this.handleTabsResize},{default:()=>n}):n,g?t("div",{class:`${e}-tabs-pad`}):null,g?null:t("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},w=x?"top":a;return t("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${n}-type`,`${e}-tabs--${s}-size`,m&&`${e}-tabs--flex`,`${e}-tabs--${w}`],style:this.cssVars},t("div",{class:[`${e}-tabs-nav--${n}-type`,`${e}-tabs-nav--${w}`,`${e}-tabs-nav`]},C(p,(n=>n&&t("div",{class:`${e}-tabs-nav__prefix`},n))),x?t(z,{onResize:this.handleSegmentResize},{default:()=>t("div",{class:`${e}-tabs-rail`,ref:"tabsElRef"},t("div",{class:`${e}-tabs-capsule`,ref:"segmentCapsuleElRef"},t("div",{class:`${e}-tabs-wrapper`},t("div",{class:`${e}-tabs-tab`}))),h?v.map(((e,n)=>(i.value.push(e.props.name),t(Z,Object.assign({},e.props,{internalCreatedByPane:!0,internalLeftPadded:0!==n}),e.children?{default:e.children.tab}:void 0)))):u.map(((e,t)=>(i.value.push(e.props.name),0===t?e:ae(e)))))}):t(z,{onResize:this.handleNavResize},{default:()=>t("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes(w)?t(G,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:y}):t("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll,ref:"yScrollElRef"},y()))}),r&&o&&g?ne(o,!0):null,C(f,(n=>n&&t("div",{class:`${e}-tabs-nav__suffix`},n)))),h&&(!this.animated||"top"!==w&&"bottom"!==w?te(v,this.mergedValue,this.renderedNames):t("div",{ref:"tabsPaneWrapperRef",style:b,class:[`${e}-tabs-pane-wrapper`,d]},te(v,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection))))}});function te(e,n,a,r,o,s,i){const l=[];return e.forEach((e=>{const{name:t,displayDirective:r,"display-directive":o}=e.props,s=e=>r===e||o===e,i=n===t;if(void 0!==e.key&&(e.key=t),i||s("show")||s("show:lazy")&&a.has(t)){a.has(t)||a.add(t);const n=!s("if");l.push(n?D(e,[[I,i]]):e)}})),i?t(V,{name:`${i}-transition`,onBeforeLeave:r,onEnter:o,onAfterEnter:s},{default:()=>l}):l}function ne(e,n){return t(Z,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:n,disabled:"object"==typeof e&&e.disabled})}function ae(e){const t=X(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function re(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}export{ee as N,K as a}; diff --git a/build/static/js/access-B4X6xtmm.js b/build/static/js/access-FhEUImRw.js similarity index 87% rename from build/static/js/access-B4X6xtmm.js rename to build/static/js/access-FhEUImRw.js index 4f8043a..c164cbb 100644 --- a/build/static/js/access-B4X6xtmm.js +++ b/build/static/js/access-FhEUImRw.js @@ -1 +1 @@ -import{c as s}from"./index-CTQigr-B.js";const a=a=>s("/v1/access/get_list",a),c=a=>s("/v1/access/add_access",a),e=a=>s("/v1/access/upd_access",a),t=a=>s("/v1/access/del_access",a),_=a=>s("/v1/access/get_all",a),v=a=>s("/v1/access/get_eab_list",a),d=a=>s("/v1/access/add_eab",a),l=a=>s("/v1/access/del_eab",a),g=a=>s("/v1/access/get_all_eab",a),i=a=>s("/v1/access/test_access",a),b=a=>s("/v1/access/get_sites",a);export{c as a,v as b,d as c,t as d,l as e,g as f,a as g,b as h,_ as i,i as t,e as u}; +import{c as s}from"./index-DVPyxbgP.js";const a=a=>s("/v1/access/get_list",a),c=a=>s("/v1/access/add_access",a),e=a=>s("/v1/access/upd_access",a),t=a=>s("/v1/access/del_access",a),_=a=>s("/v1/access/get_all",a),v=a=>s("/v1/access/get_eab_list",a),d=a=>s("/v1/access/add_eab",a),l=a=>s("/v1/access/del_eab",a),g=a=>s("/v1/access/get_all_eab",a),i=a=>s("/v1/access/test_access",a),b=a=>s("/v1/access/get_sites",a);export{c as a,v as b,d as c,t as d,l as e,g as f,a as g,b as h,_ as i,i as t,e as u}; diff --git a/build/static/js/business-CHQBsAXz.js b/build/static/js/business-_Rh7_-TN.js similarity index 99% rename from build/static/js/business-CHQBsAXz.js rename to build/static/js/business-_Rh7_-TN.js index 6468cb6..a39b67e 100644 --- a/build/static/js/business-CHQBsAXz.js +++ b/build/static/js/business-_Rh7_-TN.js @@ -1 +1 @@ -import{d as e,aY as t,a_ as r,H as n,I as o,K as a,bz as i,aO as s,l,aP as c,bA as u,bB as f,E as d,F as p,bC as g,M as b,az as $,bi as h,bb as v,bl as x,bD as y,bE as m,bF as j,bp as z,bG as A,bh as w,bm as C,bH as S,bq as B,bo as O}from"./main-BFg_w1GP.js";const T=e({name:"Flex",props:Object.assign(Object.assign({},a.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:r}=o(e),n=a("Flex","-flex",void 0,i,e,t);return{rtlEnabled:s("Flex",r,t),mergedClsPrefix:t,margin:l((()=>{const{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if("number"==typeof t)return{horizontal:t,vertical:t};const{self:{[c("gap",t)]:r}}=n.value,{row:o,col:a}=u(r);return{horizontal:f(a),vertical:f(o)}}))}},render(){const{vertical:e,reverse:o,align:a,inline:i,justify:s,margin:l,wrap:c,mergedClsPrefix:u,rtlEnabled:f}=this,d=t(r(this),!1);return d.length?n("div",{role:"none",class:[`${u}-flex`,f&&`${u}-flex--rtl`],style:{display:i?"inline-flex":"flex",flexDirection:e&&!o?"column":e&&o?"column-reverse":!e&&o?"row-reverse":"row",justifyContent:s,flexWrap:!c||e?"nowrap":"wrap",alignItems:a,gap:`${l.vertical}px ${l.horizontal}px`}},d):null}}),Z=d("text","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n",[p("strong","\n font-weight: var(--n-font-weight-strong);\n "),p("italic",{fontStyle:"italic"}),p("underline",{textDecoration:"underline"}),p("code","\n line-height: 1.4;\n display: inline-block;\n font-family: var(--n-font-famliy-mono);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n box-sizing: border-box;\n padding: .05em .35em 0 .35em;\n border-radius: var(--n-code-border-radius);\n font-size: .9em;\n color: var(--n-code-text-color);\n background-color: var(--n-code-color);\n border: var(--n-code-border);\n ")]),F=e({name:"Text",props:Object.assign(Object.assign({},a.props),{code:Boolean,type:{type:String,default:"default"},delete:Boolean,strong:Boolean,italic:Boolean,underline:Boolean,depth:[String,Number],tag:String,as:{type:String,validator:()=>!0,default:void 0}}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=o(e),n=a("Typography","-text",Z,g,e,t),i=l((()=>{const{depth:t,type:r}=e,o="default"===r?void 0===t?"textColor":`textColor${t}Depth`:c("textColor",r),{common:{fontWeightStrong:a,fontFamilyMono:i,cubicBezierEaseInOut:s},self:{codeTextColor:l,codeBorderRadius:u,codeColor:f,codeBorder:d,[o]:p}}=n.value;return{"--n-bezier":s,"--n-text-color":p,"--n-font-weight-strong":a,"--n-font-famliy-mono":i,"--n-code-border-radius":u,"--n-code-text-color":l,"--n-code-color":f,"--n-code-border":d}})),s=r?b("text",l((()=>`${e.type[0]}${e.depth||""}`)),i,e):void 0;return{mergedClsPrefix:t,compitableTag:$(e,["as","tag"]),cssVars:r?void 0:i,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e,t,r;const{mergedClsPrefix:o}=this;null===(e=this.onRender)||void 0===e||e.call(this);const a=[`${o}-text`,this.themeClass,{[`${o}-text--code`]:this.code,[`${o}-text--delete`]:this.delete,[`${o}-text--strong`]:this.strong,[`${o}-text--italic`]:this.italic,[`${o}-text--underline`]:this.underline}],i=null===(r=(t=this.$slots).default)||void 0===r?void 0:r.call(t);return this.code?n("code",{class:a,style:this.cssVars},this.delete?n("del",null,i):i):this.delete?n("del",{class:a,style:this.cssVars},i):n(this.compitableTag||"span",{class:a,style:this.cssVars},i)}});function R(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var E=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=R(this.xf["@@transducer/step"](e,!1))),e},e}();function N(e){return function(t){return new E(e,t)}}var D=v(x(["all"],N,(function(e,t){for(var r=0;r=0}function U(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var P=function(e){return(e<10?"0":"")+e},I="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+P(e.getUTCMonth()+1)+"-"+P(e.getUTCDate())+"T"+P(e.getUTCHours())+":"+P(e.getUTCMinutes())+":"+P(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var k=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h.init,e.prototype["@@transducer/result"]=h.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function V(e){return function(t){return new k(e,t)}}var H=v(x(["fantasy-land/filter","filter"],V,(function(e,t){return j(t)?m((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},z(t)):function(e,t){for(var r=0,n=t.length,o=[];r":G(r,n)},n=function(e,t){return A((function(t){return U(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+A(r,e).join(", ")+"))";case"[object Array]":return"["+A(r,e).concat(n(e,q((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):U(I(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":U(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+n(e,z(e)).join(", ")+"}"}}var K=w((function(e){return G(e,[])}));function W(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}var Y=v((function(e,t){return C(e+1,(function(){var r=arguments[e];if(null!=r&&S(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(K(r)+' does not have a method named "'+t+'"')}))}))(1,"split");var _=v((function(e,t){if(r=e,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+K(e));var r;return W(e).test(t)}));const X="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])",J=new RegExp(`^${X}\\.${X}\\.${X}\\.${X}$`),L="[0-9A-Fa-f]{1,4}",Q=new RegExp([`^(${L}:){7}${L}$`,`^(${L}:){1,7}:$`,"^:((:[0-9A-Fa-f]{1,4}){1,7}|:)$",`^(${L}:){1,6}:${L}$`,`^(${L}:){1,5}(:${L}){1,2}$`,`^(${L}:){1,4}(:${L}){1,3}$`,`^(${L}:){1,3}(:${L}){1,4}$`,`^(${L}:){1,2}(:${L}){1,5}$`,`^${L}:(:${L}){1,6}$`,"^fe80:(:[0-9A-Fa-f]{1,4}){0,4}%[0-9A-Za-z]{1,}$",`^::((ffff(:0{1,4})?:)?${X}\\.${X}\\.${X}\\.${X})$`,`^(${L}:){1,4}:${X}\\.${X}\\.${X}\\.${X}$`].join("|")),ee=new RegExp(`^${X}\\.${X}\\.${X}\\.${X}(\\/([1-2][0-9]|3[0-2]|[1-9]))?$`),te=_(/^[^\s@]+@[^\s@]+\.[^\s@]+$/);_(/^1[3-9]\d{9}$/),_(/^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/);const re=_(/^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/),ne=_(J),oe=_(Q),ae=e=>ne(e)||oe(e);_(ee);const ie=_(/^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/);_(/^([0-9A-Fa-f]{2}-){5}[0-9A-Fa-f]{2}$/),_(/^[\u4e00-\u9fa5]+$/);const se=_(/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),le=_(/^(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)|(?:\*))\.)+(?:[a-zA-Z\u00a1-\uffff]{2,}|xn--[a-zA-Z0-9]+)$/),ce=_(/^\*\.(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),ue=(e,t=",")=>D(y(!0),B((e=>se(e)||ce(e)||le(e)),Y(t,e)));O(((e,t=2,r=!0,n="")=>{if(0===e)return r?"0 B":"0";const o=["B","KB","MB","GB","TB"],a=(e,i)=>{const s=o[i],l=0===i||0===t?Math.round(e).toString():e.toFixed(t);return n&&s===n||e<1024||i>=o.length-1?r?`${l} ${s}`:l:a(e/1024,i+1)};return a(e,0)}));export{ie as H,T as N,ae as O,re as T,ue as W,W as _,F as a,se as b,R as c,M as d,D as e,ce as q,_ as t,te as w}; +import{d as e,aY as t,a_ as r,H as n,I as o,K as a,bz as i,aO as s,l,aP as c,bA as u,bB as f,E as d,F as p,bC as g,M as b,az as $,bi as h,bb as v,bl as x,bD as y,bE as m,bF as j,bp as z,bG as A,bh as w,bm as C,bH as S,bq as B,bo as O}from"./main-BFwn2e3T.js";const T=e({name:"Flex",props:Object.assign(Object.assign({},a.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:r}=o(e),n=a("Flex","-flex",void 0,i,e,t);return{rtlEnabled:s("Flex",r,t),mergedClsPrefix:t,margin:l((()=>{const{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if("number"==typeof t)return{horizontal:t,vertical:t};const{self:{[c("gap",t)]:r}}=n.value,{row:o,col:a}=u(r);return{horizontal:f(a),vertical:f(o)}}))}},render(){const{vertical:e,reverse:o,align:a,inline:i,justify:s,margin:l,wrap:c,mergedClsPrefix:u,rtlEnabled:f}=this,d=t(r(this),!1);return d.length?n("div",{role:"none",class:[`${u}-flex`,f&&`${u}-flex--rtl`],style:{display:i?"inline-flex":"flex",flexDirection:e&&!o?"column":e&&o?"column-reverse":!e&&o?"row-reverse":"row",justifyContent:s,flexWrap:!c||e?"nowrap":"wrap",alignItems:a,gap:`${l.vertical}px ${l.horizontal}px`}},d):null}}),Z=d("text","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n",[p("strong","\n font-weight: var(--n-font-weight-strong);\n "),p("italic",{fontStyle:"italic"}),p("underline",{textDecoration:"underline"}),p("code","\n line-height: 1.4;\n display: inline-block;\n font-family: var(--n-font-famliy-mono);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n box-sizing: border-box;\n padding: .05em .35em 0 .35em;\n border-radius: var(--n-code-border-radius);\n font-size: .9em;\n color: var(--n-code-text-color);\n background-color: var(--n-code-color);\n border: var(--n-code-border);\n ")]),F=e({name:"Text",props:Object.assign(Object.assign({},a.props),{code:Boolean,type:{type:String,default:"default"},delete:Boolean,strong:Boolean,italic:Boolean,underline:Boolean,depth:[String,Number],tag:String,as:{type:String,validator:()=>!0,default:void 0}}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:r}=o(e),n=a("Typography","-text",Z,g,e,t),i=l((()=>{const{depth:t,type:r}=e,o="default"===r?void 0===t?"textColor":`textColor${t}Depth`:c("textColor",r),{common:{fontWeightStrong:a,fontFamilyMono:i,cubicBezierEaseInOut:s},self:{codeTextColor:l,codeBorderRadius:u,codeColor:f,codeBorder:d,[o]:p}}=n.value;return{"--n-bezier":s,"--n-text-color":p,"--n-font-weight-strong":a,"--n-font-famliy-mono":i,"--n-code-border-radius":u,"--n-code-text-color":l,"--n-code-color":f,"--n-code-border":d}})),s=r?b("text",l((()=>`${e.type[0]}${e.depth||""}`)),i,e):void 0;return{mergedClsPrefix:t,compitableTag:$(e,["as","tag"]),cssVars:r?void 0:i,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e,t,r;const{mergedClsPrefix:o}=this;null===(e=this.onRender)||void 0===e||e.call(this);const a=[`${o}-text`,this.themeClass,{[`${o}-text--code`]:this.code,[`${o}-text--delete`]:this.delete,[`${o}-text--strong`]:this.strong,[`${o}-text--italic`]:this.italic,[`${o}-text--underline`]:this.underline}],i=null===(r=(t=this.$slots).default)||void 0===r?void 0:r.call(t);return this.code?n("code",{class:a,style:this.cssVars},this.delete?n("del",null,i):i):this.delete?n("del",{class:a,style:this.cssVars},i):n(this.compitableTag||"span",{class:a,style:this.cssVars},i)}});function R(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var E=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=R(this.xf["@@transducer/step"](e,!1))),e},e}();function N(e){return function(t){return new E(e,t)}}var D=v(x(["all"],N,(function(e,t){for(var r=0;r=0}function U(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var P=function(e){return(e<10?"0":"")+e},I="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+P(e.getUTCMonth()+1)+"-"+P(e.getUTCDate())+"T"+P(e.getUTCHours())+":"+P(e.getUTCMinutes())+":"+P(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var k=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h.init,e.prototype["@@transducer/result"]=h.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function V(e){return function(t){return new k(e,t)}}var H=v(x(["fantasy-land/filter","filter"],V,(function(e,t){return j(t)?m((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},z(t)):function(e,t){for(var r=0,n=t.length,o=[];r":G(r,n)},n=function(e,t){return A((function(t){return U(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+A(r,e).join(", ")+"))";case"[object Array]":return"["+A(r,e).concat(n(e,q((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):U(I(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":U(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var o=e.toString();if("[object Object]"!==o)return o}return"{"+n(e,z(e)).join(", ")+"}"}}var K=w((function(e){return G(e,[])}));function W(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}var Y=v((function(e,t){return C(e+1,(function(){var r=arguments[e];if(null!=r&&S(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(K(r)+' does not have a method named "'+t+'"')}))}))(1,"split");var _=v((function(e,t){if(r=e,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+K(e));var r;return W(e).test(t)}));const X="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])",J=new RegExp(`^${X}\\.${X}\\.${X}\\.${X}$`),L="[0-9A-Fa-f]{1,4}",Q=new RegExp([`^(${L}:){7}${L}$`,`^(${L}:){1,7}:$`,"^:((:[0-9A-Fa-f]{1,4}){1,7}|:)$",`^(${L}:){1,6}:${L}$`,`^(${L}:){1,5}(:${L}){1,2}$`,`^(${L}:){1,4}(:${L}){1,3}$`,`^(${L}:){1,3}(:${L}){1,4}$`,`^(${L}:){1,2}(:${L}){1,5}$`,`^${L}:(:${L}){1,6}$`,"^fe80:(:[0-9A-Fa-f]{1,4}){0,4}%[0-9A-Za-z]{1,}$",`^::((ffff(:0{1,4})?:)?${X}\\.${X}\\.${X}\\.${X})$`,`^(${L}:){1,4}:${X}\\.${X}\\.${X}\\.${X}$`].join("|")),ee=new RegExp(`^${X}\\.${X}\\.${X}\\.${X}(\\/([1-2][0-9]|3[0-2]|[1-9]))?$`),te=_(/^[^\s@]+@[^\s@]+\.[^\s@]+$/);_(/^1[3-9]\d{9}$/),_(/^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/);const re=_(/^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/),ne=_(J),oe=_(Q),ae=e=>ne(e)||oe(e);_(ee);const ie=_(/^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/);_(/^([0-9A-Fa-f]{2}-){5}[0-9A-Fa-f]{2}$/),_(/^[\u4e00-\u9fa5]+$/);const se=_(/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),le=_(/^(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)|(?:\*))\.)+(?:[a-zA-Z\u00a1-\uffff]{2,}|xn--[a-zA-Z0-9]+)$/),ce=_(/^\*\.(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),ue=(e,t=",")=>D(y(!0),B((e=>se(e)||ce(e)||le(e)),Y(t,e)));O(((e,t=2,r=!0,n="")=>{if(0===e)return r?"0 B":"0";const o=["B","KB","MB","GB","TB"],a=(e,i)=>{const s=o[i],l=0===i||0===t?Math.round(e).toString():e.toFixed(t);return n&&s===n||e<1024||i>=o.length-1?r?`${l} ${s}`:l:a(e/1024,i+1)};return a(e,0)}));export{ie as H,T as N,ae as O,re as T,ue as W,W as _,F as a,se as b,R as c,M as d,D as e,ce as q,_ as t,te as w}; diff --git a/build/static/js/cert-mhsSCrIL.js b/build/static/js/cert-B6n1PFp6.js similarity index 62% rename from build/static/js/cert-mhsSCrIL.js rename to build/static/js/cert-B6n1PFp6.js index 147e7b1..a38969a 100644 --- a/build/static/js/cert-mhsSCrIL.js +++ b/build/static/js/cert-B6n1PFp6.js @@ -1 +1 @@ -import{c as t}from"./index-CTQigr-B.js";const e=e=>t("/v1/cert/get_list",e),r=e=>t("/v1/cert/upload_cert",e),c=e=>t("/v1/cert/del_cert",e);export{c as d,e as g,r as u}; +import{c as t}from"./index-DVPyxbgP.js";const e=e=>t("/v1/cert/get_list",e),r=e=>t("/v1/cert/upload_cert",e),c=e=>t("/v1/cert/del_cert",e);export{c as d,e as g,r as u}; diff --git a/build/static/js/data-BFMmsjgZ.js b/build/static/js/data-DE4JXv04.js similarity index 97% rename from build/static/js/data-BFMmsjgZ.js rename to build/static/js/data-DE4JXv04.js index acc550c..4b0580d 100644 --- a/build/static/js/data-BFMmsjgZ.js +++ b/build/static/js/data-DE4JXv04.js @@ -1 +1 @@ -import{$ as e}from"./main-BFg_w1GP.js";const t={email:{name:e("t_68_1745289354676"),type:"mail"},wecom:{name:e("t_33_1746773350932"),type:"wecom"},dingtalk:{name:e("t_32_1746773348993"),type:"dingtalk"},feishu:{name:e("t_34_1746773350153"),type:"feishu"},webhook:{name:"WebHook",type:"webhook"}},n={zerossl:{name:"ZeroSSL",type:"zerossl"},google:{name:"Google",type:"google"}},a={localhost:{name:e("t_4_1744958838951"),icon:"ssh",type:["host"],notApi:!1,hostRelated:{default:{name:e("t_4_1744958838951")}},sort:1},ssh:{name:"SSH",icon:"ssh",type:["host"],hostRelated:{default:{name:"SSH"}},sort:2},btpanel:{name:e("t_10_1745735765165"),icon:"btpanel",hostRelated:{default:{name:e("t_10_1745735765165")},site:{name:e("t_1_1747886307276")},dockersite:{name:e("t_0_1747994891459")}},type:["host"],sort:3},btwaf:{name:e("t_3_1747886302848"),icon:"btwaf",hostRelated:{site:{name:e("t_4_1747886303229")}},type:["host"],sort:4},"1panel":{name:"1Panel",icon:"1panel",hostRelated:{default:{name:"1Panel"},site:{name:e("t_2_1747886302053")}},type:["host"],sort:5},aliyun:{name:e("t_2_1747019616224"),icon:"aliyun",type:["host","dns"],hostRelated:{cdn:{name:e("t_16_1745735766712")},oss:{name:e("t_2_1746697487164")},waf:{name:e("t_10_1744958860078")}},sort:6},tencentcloud:{name:e("t_3_1747019616129"),icon:"tencentcloud",type:["host","dns"],hostRelated:{cdn:{name:e("t_14_1745735766121")},oss:{name:e("t_15_1745735768976")},waf:{name:e("t_9_1744958840634")},teo:{name:e("t_5_1747886301427")}},sort:7},safeline:{name:e("t_11_1747886301986"),icon:"safeline",type:["host"],hostRelated:{panel:{name:e("t_1_1747298114192")},site:{name:e("t_12_1747886302725")}},sort:8},qiniu:{name:e("t_6_1747886301844"),icon:"qiniu",type:["host"],hostRelated:{cdn:{name:e("t_7_1747886302395")},oss:{name:e("t_8_1747886304014")}},sort:9},huaweicloud:{name:e("t_9_1747886301128"),icon:"huaweicloud",type:["dns"],sort:10},baidu:{name:e("t_10_1747886300958"),icon:"baidu",type:["host","dns"],hostRelated:{cdn:{name:"百度云CDN"}},sort:11},cloudflare:{name:"Cloudflare",icon:"cloudflare",type:["dns"],sort:12},volcengine:{name:e("t_13_1747886301689"),icon:"volcengine",type:["dns"],sort:13},westcn:{name:e("t_14_1747886301884"),icon:"westcn",type:["dns"],sort:14},godaddy:{name:"GoDaddy",icon:"godaddy",type:["dns"],sort:15}};export{a as A,n as C,t as M}; +import{$ as e}from"./main-BFwn2e3T.js";const t={email:{name:e("t_68_1745289354676"),type:"mail"},wecom:{name:e("t_33_1746773350932"),type:"wecom"},dingtalk:{name:e("t_32_1746773348993"),type:"dingtalk"},feishu:{name:e("t_34_1746773350153"),type:"feishu"},webhook:{name:"WebHook",type:"webhook"}},n={zerossl:{name:"ZeroSSL",type:"zerossl"},google:{name:"Google",type:"google"}},a={localhost:{name:e("t_4_1744958838951"),icon:"ssh",type:["host"],notApi:!1,hostRelated:{default:{name:e("t_4_1744958838951")}},sort:1},ssh:{name:"SSH",icon:"ssh",type:["host"],hostRelated:{default:{name:"SSH"}},sort:2},btpanel:{name:e("t_10_1745735765165"),icon:"btpanel",hostRelated:{default:{name:e("t_10_1745735765165")},site:{name:e("t_1_1747886307276")},dockersite:{name:e("t_0_1747994891459")}},type:["host"],sort:3},btwaf:{name:e("t_3_1747886302848"),icon:"btwaf",hostRelated:{site:{name:e("t_4_1747886303229")}},type:["host"],sort:4},"1panel":{name:"1Panel",icon:"1panel",hostRelated:{default:{name:"1Panel"},site:{name:e("t_2_1747886302053")}},type:["host"],sort:5},aliyun:{name:e("t_2_1747019616224"),icon:"aliyun",type:["host","dns"],hostRelated:{cdn:{name:e("t_16_1745735766712")},oss:{name:e("t_2_1746697487164")},waf:{name:e("t_10_1744958860078")}},sort:6},tencentcloud:{name:e("t_3_1747019616129"),icon:"tencentcloud",type:["host","dns"],hostRelated:{cdn:{name:e("t_14_1745735766121")},oss:{name:e("t_15_1745735768976")},waf:{name:e("t_9_1744958840634")},teo:{name:e("t_5_1747886301427")}},sort:7},safeline:{name:e("t_11_1747886301986"),icon:"safeline",type:["host"],hostRelated:{panel:{name:e("t_1_1747298114192")},site:{name:e("t_12_1747886302725")}},sort:8},qiniu:{name:e("t_6_1747886301844"),icon:"qiniu",type:["host"],hostRelated:{cdn:{name:e("t_7_1747886302395")},oss:{name:e("t_8_1747886304014")}},sort:9},huaweicloud:{name:e("t_9_1747886301128"),icon:"huaweicloud",type:["dns"],sort:10},baidu:{name:e("t_10_1747886300958"),icon:"baidu",type:["host","dns"],hostRelated:{cdn:{name:"百度云CDN"}},sort:11},cloudflare:{name:"Cloudflare",icon:"cloudflare",type:["dns"],sort:12},volcengine:{name:e("t_13_1747886301689"),icon:"volcengine",type:["dns"],sort:13},westcn:{name:e("t_14_1747886301884"),icon:"westcn",type:["dns"],sort:14},godaddy:{name:"GoDaddy",icon:"godaddy",type:["dns"],sort:15}};export{a as A,n as C,t as M}; diff --git a/build/static/js/index-CtqD4msy.js b/build/static/js/index-9yXMuG-J.js similarity index 97% rename from build/static/js/index-CtqD4msy.js rename to build/static/js/index-9yXMuG-J.js index 10b82ac..6199b42 100644 --- a/build/static/js/index-CtqD4msy.js +++ b/build/static/js/index-9yXMuG-J.js @@ -1 +1 @@ -import{bI as e,bN as t,bO as n,bJ as a,bP as i,aS as o,bL as r,bK as s,A as u,x as c,o as l,V as f,J as m,r as p,bQ as v}from"./main-BFg_w1GP.js";function b(e){return!!i()&&(o(e),!0)}const d=new WeakMap,w=(...e)=>{var t;const n=e[0],a=null==(t=r())?void 0:t.proxy;if(null==a&&!s())throw new Error("injectLocal must be called in setup");return a&&d.has(a)&&n in d.get(a)?d.get(a)[n]:u(...e)},g="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const h=Object.prototype.toString,y=e=>"[object Object]"===h.call(e),j=()=>{};function A(e,t){return function(...n){return new Promise(((a,i)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(a).catch(i)}))}}const F=e=>e();function S(e=F,n={}){const{initialState:a="active"}=n,i=function(...e){if(1!==e.length)return m(...e);const n=e[0];return"function"==typeof n?t(v((()=>({get:n,set:j})))):p(n)}("active"===a);return{isActive:t(i),pause:function(){i.value=!1},resume:function(){i.value=!0},eventFilter:(...t)=>{i.value&&e(...t)}}}function T(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function P(e){return Array.isArray(e)?e:[e]}function k(e,t=200,i=!1,o=!0,r=!1){return A(function(...e){let t,i,o,r,s,u,c=0,l=!0,f=j;n(e[0])||"object"!=typeof e[0]?[o,r=!0,s=!0,u=!1]=e:({delay:o,trailing:r=!0,leading:s=!0,rejectOnCancel:u=!1}=e[0]);const m=()=>{t&&(clearTimeout(t),t=void 0,f(),f=j)};return e=>{const n=a(o),p=Date.now()-c,v=()=>i=e();return m(),n<=0?(c=Date.now(),v()):(p>n&&(s||!l)?(c=Date.now(),v()):r&&(i=new Promise(((e,a)=>{f=u?a:e,t=setTimeout((()=>{c=Date.now(),l=!0,e(v()),m()}),Math.max(0,n-p))}))),s||t||(t=setTimeout((()=>l=!0),n)),l=!1,i)}}(t,i,o,r),e)}function x(e,t,n={}){const{eventFilter:a,initialState:i="active",...o}=n,{eventFilter:r,pause:s,resume:u,isActive:l}=S(a,{initialState:i}),f=function(e,t,n={}){const{eventFilter:a=F,...i}=n;return c(e,A(a,t),i)}(e,t,{...o,eventFilter:r});return{stop:f,pause:s,resume:u,isActive:l}}function D(e,t=!0,n){r()?l(e,n):t?e():f(e)}function O(n,i,o={}){const{immediate:r=!0,immediateCallback:s=!1}=o,u=e(!1);let c=null;function l(){c&&(clearTimeout(c),c=null)}function f(){u.value=!1,l()}function m(...e){s&&n(),l(),u.value=!0,c=setTimeout((()=>{u.value=!1,c=null,n(...e)}),a(i))}return r&&(u.value=!0,g&&m()),b(f),{isPending:t(u),start:m,stop:f}}function W(e,t,n){return c(e,t,{...n,immediate:!0})}export{k as a,g as b,b as c,y as d,x as e,D as f,w as i,T as p,P as t,O as u,W as w}; +import{bI as e,bN as t,bO as n,bJ as a,bP as i,aS as o,bL as r,bK as s,A as u,x as c,o as l,V as f,J as m,r as p,bQ as v}from"./main-BFwn2e3T.js";function b(e){return!!i()&&(o(e),!0)}const d=new WeakMap,w=(...e)=>{var t;const n=e[0],a=null==(t=r())?void 0:t.proxy;if(null==a&&!s())throw new Error("injectLocal must be called in setup");return a&&d.has(a)&&n in d.get(a)?d.get(a)[n]:u(...e)},g="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const h=Object.prototype.toString,y=e=>"[object Object]"===h.call(e),j=()=>{};function A(e,t){return function(...n){return new Promise(((a,i)=>{Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n})).then(a).catch(i)}))}}const F=e=>e();function S(e=F,n={}){const{initialState:a="active"}=n,i=function(...e){if(1!==e.length)return m(...e);const n=e[0];return"function"==typeof n?t(v((()=>({get:n,set:j})))):p(n)}("active"===a);return{isActive:t(i),pause:function(){i.value=!1},resume:function(){i.value=!0},eventFilter:(...t)=>{i.value&&e(...t)}}}function T(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function P(e){return Array.isArray(e)?e:[e]}function k(e,t=200,i=!1,o=!0,r=!1){return A(function(...e){let t,i,o,r,s,u,c=0,l=!0,f=j;n(e[0])||"object"!=typeof e[0]?[o,r=!0,s=!0,u=!1]=e:({delay:o,trailing:r=!0,leading:s=!0,rejectOnCancel:u=!1}=e[0]);const m=()=>{t&&(clearTimeout(t),t=void 0,f(),f=j)};return e=>{const n=a(o),p=Date.now()-c,v=()=>i=e();return m(),n<=0?(c=Date.now(),v()):(p>n&&(s||!l)?(c=Date.now(),v()):r&&(i=new Promise(((e,a)=>{f=u?a:e,t=setTimeout((()=>{c=Date.now(),l=!0,e(v()),m()}),Math.max(0,n-p))}))),s||t||(t=setTimeout((()=>l=!0),n)),l=!1,i)}}(t,i,o,r),e)}function x(e,t,n={}){const{eventFilter:a,initialState:i="active",...o}=n,{eventFilter:r,pause:s,resume:u,isActive:l}=S(a,{initialState:i}),f=function(e,t,n={}){const{eventFilter:a=F,...i}=n;return c(e,A(a,t),i)}(e,t,{...o,eventFilter:r});return{stop:f,pause:s,resume:u,isActive:l}}function D(e,t=!0,n){r()?l(e,n):t?e():f(e)}function O(n,i,o={}){const{immediate:r=!0,immediateCallback:s=!1}=o,u=e(!1);let c=null;function l(){c&&(clearTimeout(c),c=null)}function f(){u.value=!1,l()}function m(...e){s&&n(),l(),u.value=!0,c=setTimeout((()=>{u.value=!1,c=null,n(...e)}),a(i))}return r&&(u.value=!0,g&&m()),b(f),{isPending:t(u),start:m,stop:f}}function W(e,t,n){return c(e,t,{...n,immediate:!0})}export{k as a,g as b,b as c,y as d,x as e,D as f,w as i,T as p,P as t,O as u,W as w}; diff --git a/build/static/js/index-Drf8pGv8.js b/build/static/js/index-B0Oz4u-p.js similarity index 93% rename from build/static/js/index-Drf8pGv8.js rename to build/static/js/index-B0Oz4u-p.js index 6877a64..1f6ecf0 100644 --- a/build/static/js/index-Drf8pGv8.js +++ b/build/static/js/index-B0Oz4u-p.js @@ -1 +1 @@ -import{u as e}from"./useStore-JDVosxir.js";import{u as a,N as l}from"./index-CTQigr-B.js";import{r as u,x as t,o as s,aV as v,$ as d,d as o,c as r,w as n,q as i,n as p,B as y,i as c}from"./main-BFg_w1GP.js";import{S as f}from"./index-BJNUeE_-.js";import{a as m,N as b}from"./business-CHQBsAXz.js";const _=o({name:"DnsProviderSelect",props:{type:{type:String,required:!0},path:{type:String,required:!0},value:{type:String,required:!0},valueType:{type:String,default:"value"},isAddMode:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},customClass:{type:String,default:""}},emits:["update:value"],setup(o,{emit:_}){const g=function(l,o){const{handleError:r}=a(),{fetchDnsProvider:n,resetDnsProvider:i,dnsProvider:p}=e(),y=u({label:"",value:"",type:""}),c=u([]),f=u(!1),m=u(""),b=()=>{var e,a,u,t,s;const v=p.value.find((e=>("value"===l.valueType?e.value:e.type)===y.value.value));v?(y.value={label:v.label,value:"value"===l.valueType?v.value:v.type,type:"value"===l.valueType?v.type:v.value},o("update:value",{...y.value})):""===y.value.value&&p.value.length>0&&(y.value={label:(null==(e=p.value[0])?void 0:e.label)||"",value:"value"===l.valueType?(null==(a=p.value[0])?void 0:a.value)||"":(null==(u=p.value[0])?void 0:u.type)||"",type:"value"===l.valueType?(null==(t=p.value[0])?void 0:t.type)||"":(null==(s=p.value[0])?void 0:s.value)||""},o("update:value",{...y.value}))},_=e=>{y.value.value=e,b()},g=async(e=l.type)=>{f.value=!0,m.value="";try{await n(e),l.value?(y.value.value=l.value,b()):b()}catch(a){m.value="string"==typeof a?a:d("t_0_1746760933542"),r(a)}finally{f.value=!1}};return t((()=>p.value),(e=>{var a;c.value=e.map((e=>({label:e.label,value:"value"===l.valueType?e.value:e.type,type:"value"===l.valueType?e.type:e.value})))||[],c.value.some((e=>e.value===y.value.value))?b():l.value&&c.value.some((e=>e.value===l.value))?(y.value.value=l.value,b()):""===y.value.value&&c.value.length>0&&(y.value.value=(null==(a=c.value[0])?void 0:a.value)||"",b())}),{deep:!0}),t((()=>l.value),(e=>{e!==y.value.value&&_(e)}),{immediate:!0}),t((()=>l.type),(e=>{g(e)})),s((()=>{g(l.type)})),v((()=>{i()})),{param:y,dnsProviderRef:c,isLoading:f,errorMessage:m,goToAddDnsProvider:()=>{window.open("/auth-api-manage","_blank")},handleUpdateValue:_,loadDnsProviders:g,handleFilter:(e,a)=>a.label.toLowerCase().includes(e.toLowerCase())}}(o,_),h=e=>r(b,{align:"center"},{default:()=>[r(f,{icon:`resources-${e.type}`,size:"2rem"},null),r(m,null,{default:()=>[e.label]})]});return()=>{let e;return r(l,{show:g.isLoading.value},{default:()=>[r(n,{cols:24,class:o.customClass},{default:()=>[r(i,{span:o.isAddMode?13:24,label:"dns"===o.type?d("t_3_1745735765112"):d("t_0_1746754500246"),path:o.path},{default:()=>[r(p,{class:"flex-1 w-full",filterable:!0,options:g.dnsProviderRef.value,renderLabel:h,renderTag:({option:e})=>(({option:e})=>r("div",{class:"flex items-center"},[e.label?h(e):r(m,{class:"text-[#aaa]"},{default:()=>["dns"===o.type?d("t_0_1747019621052"):d("t_0_1746858920894")]})]))({option:e}),filter:(e,a)=>g.handleFilter(e,a),placeholder:"dns"===o.type?d("t_3_1745490735059"):d("t_0_1746858920894"),value:g.param.value.value,onUpdateValue:g.handleUpdateValue,disabled:o.disabled},{empty:()=>r("span",{class:"text-[1.4rem]"},[g.errorMessage.value||("dns"===o.type?d("t_1_1746858922914"):d("t_2_1746858923964"))])})]}),o.isAddMode&&r(i,{span:11},{default:()=>{return[r(y,{class:"mx-[8px]",onClick:g.goToAddDnsProvider,disabled:o.disabled},{default:()=>["dns"===o.type?d("t_1_1746004861166"):d("t_3_1746858920060")]}),r(y,{onClick:()=>g.loadDnsProviders(o.type),loading:g.isLoading.value,disabled:o.disabled},(a=e=d("t_0_1746497662220"),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!c(a)?e:{default:()=>[e]}))];var a}})]})]})}}});export{_ as D}; +import{u as e}from"./useStore-BJbmyusH.js";import{u as a,N as l}from"./index-DVPyxbgP.js";import{r as u,x as t,o as s,aV as v,$ as d,d as o,c as r,w as n,q as i,n as p,B as y,i as c}from"./main-BFwn2e3T.js";import{S as f}from"./index-CMwhkNZE.js";import{a as m,N as b}from"./business-_Rh7_-TN.js";const _=o({name:"DnsProviderSelect",props:{type:{type:String,required:!0},path:{type:String,required:!0},value:{type:String,required:!0},valueType:{type:String,default:"value"},isAddMode:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},customClass:{type:String,default:""}},emits:["update:value"],setup(o,{emit:_}){const g=function(l,o){const{handleError:r}=a(),{fetchDnsProvider:n,resetDnsProvider:i,dnsProvider:p}=e(),y=u({label:"",value:"",type:""}),c=u([]),f=u(!1),m=u(""),b=()=>{var e,a,u,t,s;const v=p.value.find((e=>("value"===l.valueType?e.value:e.type)===y.value.value));v?(y.value={label:v.label,value:"value"===l.valueType?v.value:v.type,type:"value"===l.valueType?v.type:v.value},o("update:value",{...y.value})):""===y.value.value&&p.value.length>0&&(y.value={label:(null==(e=p.value[0])?void 0:e.label)||"",value:"value"===l.valueType?(null==(a=p.value[0])?void 0:a.value)||"":(null==(u=p.value[0])?void 0:u.type)||"",type:"value"===l.valueType?(null==(t=p.value[0])?void 0:t.type)||"":(null==(s=p.value[0])?void 0:s.value)||""},o("update:value",{...y.value}))},_=e=>{y.value.value=e,b()},g=async(e=l.type)=>{f.value=!0,m.value="";try{await n(e),l.value?(y.value.value=l.value,b()):b()}catch(a){m.value="string"==typeof a?a:d("t_0_1746760933542"),r(a)}finally{f.value=!1}};return t((()=>p.value),(e=>{var a;c.value=e.map((e=>({label:e.label,value:"value"===l.valueType?e.value:e.type,type:"value"===l.valueType?e.type:e.value})))||[],c.value.some((e=>e.value===y.value.value))?b():l.value&&c.value.some((e=>e.value===l.value))?(y.value.value=l.value,b()):""===y.value.value&&c.value.length>0&&(y.value.value=(null==(a=c.value[0])?void 0:a.value)||"",b())}),{deep:!0}),t((()=>l.value),(e=>{e!==y.value.value&&_(e)}),{immediate:!0}),t((()=>l.type),(e=>{g(e)})),s((()=>{g(l.type)})),v((()=>{i()})),{param:y,dnsProviderRef:c,isLoading:f,errorMessage:m,goToAddDnsProvider:()=>{window.open("/auth-api-manage","_blank")},handleUpdateValue:_,loadDnsProviders:g,handleFilter:(e,a)=>a.label.toLowerCase().includes(e.toLowerCase())}}(o,_),h=e=>r(b,{align:"center"},{default:()=>[r(f,{icon:`resources-${e.type}`,size:"2rem"},null),r(m,null,{default:()=>[e.label]})]});return()=>{let e;return r(l,{show:g.isLoading.value},{default:()=>[r(n,{cols:24,class:o.customClass},{default:()=>[r(i,{span:o.isAddMode?13:24,label:"dns"===o.type?d("t_3_1745735765112"):d("t_0_1746754500246"),path:o.path},{default:()=>[r(p,{class:"flex-1 w-full",filterable:!0,options:g.dnsProviderRef.value,renderLabel:h,renderTag:({option:e})=>(({option:e})=>r("div",{class:"flex items-center"},[e.label?h(e):r(m,{class:"text-[#aaa]"},{default:()=>["dns"===o.type?d("t_0_1747019621052"):d("t_0_1746858920894")]})]))({option:e}),filter:(e,a)=>g.handleFilter(e,a),placeholder:"dns"===o.type?d("t_3_1745490735059"):d("t_0_1746858920894"),value:g.param.value.value,onUpdateValue:g.handleUpdateValue,disabled:o.disabled},{empty:()=>r("span",{class:"text-[1.4rem]"},[g.errorMessage.value||("dns"===o.type?d("t_1_1746858922914"):d("t_2_1746858923964"))])})]}),o.isAddMode&&r(i,{span:11},{default:()=>{return[r(y,{class:"mx-[8px]",onClick:g.goToAddDnsProvider,disabled:o.disabled},{default:()=>["dns"===o.type?d("t_1_1746004861166"):d("t_3_1746858920060")]}),r(y,{onClick:()=>g.loadDnsProviders(o.type),loading:g.isLoading.value,disabled:o.disabled},(a=e=d("t_0_1746497662220"),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!c(a)?e:{default:()=>[e]}))];var a}})]})]})}}});export{_ as D}; diff --git a/build/static/js/index-B4jjq-On.js b/build/static/js/index-B4jjq-On.js deleted file mode 100644 index f1ac00f..0000000 --- a/build/static/js/index-B4jjq-On.js +++ /dev/null @@ -1 +0,0 @@ -var e=Object.defineProperty,t=(t,n,a)=>((t,n,a)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[n]=a)(t,"symbol"!=typeof n?n+"":n,a);import{E as n,G as a,d as o,H as r,I as l,K as i,b3 as s,l as d,aP as u,M as c,F as p,D as v,b4 as f,al as m,aY as h,a_ as _,aO as y,b5 as g,O as b,W as w,b6 as N,aK as x,b7 as k,ag as C,b8 as S,b9 as j,A as $,b1 as A,ak as z,Y as O,Z as I,_ as R,ba as F,bb as E,bc as D,bd as M,be as P,bf as B,bg as V,bh as T,bi as q,bj as U,bk as L,bl as H,bm as Z,bn as W,r as G,bo as J,bp as Y,bq as K,br as X,e as Q,s as ee,$ as te,a as ne,x as ae,aV as oe,c as re,o as le,w as ie,q as se,n as de,B as ue,i as ce,m as pe,aC as ve,p as fe,v as me,y as he,z as _e,k as ye,a5 as ge,f as be,bs as we,bt as Ne,t as xe,bu as ke,a0 as Ce,ap as Se,bv as je,u as $e,a4 as Ae,b as ze,bw as Oe,bx as Ie,a7 as Re,a3 as Fe,by as Ee}from"./main-BFg_w1GP.js";import{_ as De,i as Me,u as Pe,N as Be,a as Ve}from"./index-CTQigr-B.js";import{_ as Te,c as qe,d as Ue,t as Le,e as He,w as Ze,W as We,b as Ge,a as Je,N as Ye}from"./business-CHQBsAXz.js";import{u as Ke,a as Xe}from"./index-CtqD4msy.js";import{D as Qe}from"./index-Drf8pGv8.js";import{f as et,h as tt}from"./access-B4X6xtmm.js";import{S as nt}from"./index-BJNUeE_-.js";import{n as at}from"./utils-CRt-4gJj.js";import{T as ot}from"./index-LKLPe19M.js";import{A as rt}from"./data-BFMmsjgZ.js";import{N as lt,a as it}from"./Tabs-Dr4JKa0V.js";import{N as st}from"./index-CpcVhPm1.js";import{u as dt,g as ut}from"./cert-mhsSCrIL.js";import{f as ct}from"./useStore-CSzo38f-.js";import"./useStore-JDVosxir.js";import"./index-DDxgyK5X.js";import"./setting-DGJTDRYI.js";import"./throttle-BHKGqXBF.js";const pt=n("input-group-label","\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n box-sizing: border-box;\n padding: 0 12px;\n display: inline-block;\n border-radius: var(--n-border-radius);\n background-color: var(--n-group-label-color);\n color: var(--n-group-label-text-color);\n font-size: var(--n-font-size);\n line-height: var(--n-height);\n height: var(--n-height);\n flex-shrink: 0;\n white-space: nowrap;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[a("border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-group-label-border);\n transition: border-color .3s var(--n-bezier);\n ")]),vt=o({name:"InputGroupLabel",props:Object.assign(Object.assign({},i.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:a}=l(e),o=i("Input","-input-group-label",pt,s,e,n),r=d((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{groupLabelColor:a,borderRadius:r,groupLabelTextColor:l,lineHeight:i,groupLabelBorder:s,[u("fontSize",t)]:d,[u("height",t)]:c}}=o.value;return{"--n-bezier":n,"--n-group-label-color":a,"--n-group-label-border":s,"--n-border-radius":r,"--n-group-label-text-color":l,"--n-font-size":d,"--n-line-height":i,"--n-height":c}})),p=a?c("input-group-label",d((()=>e.size[0])),r,e):void 0;return{mergedClsPrefix:n,mergedBordered:t,cssVars:a?void 0:r,themeClass:null==p?void 0:p.themeClass,onRender:null==p?void 0:p.onRender}},render(){var e,t,n;const{mergedClsPrefix:a}=this;return null===(e=this.onRender)||void 0===e||e.call(this),r("div",{class:[`${a}-input-group-label`,this.themeClass],style:this.cssVars},null===(n=(t=this.$slots).default)||void 0===n?void 0:n.call(t),this.mergedBordered?r("div",{class:`${a}-input-group-label__border`}):null)}}),ft=n("steps","\n width: 100%;\n display: flex;\n",[n("step","\n position: relative;\n display: flex;\n flex: 1;\n ",[p("disabled","cursor: not-allowed"),p("clickable","\n cursor: pointer;\n "),v("&:last-child",[n("step-splitor","display: none;")])]),n("step-splitor","\n background-color: var(--n-splitor-color);\n margin-top: calc(var(--n-step-header-font-size) / 2);\n height: 1px;\n flex: 1;\n align-self: flex-start;\n margin-left: 12px;\n margin-right: 12px;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),n("step-content","flex: 1;",[n("step-content-header","\n color: var(--n-header-text-color);\n margin-top: calc(var(--n-indicator-size) / 2 - var(--n-step-header-font-size) / 2);\n line-height: var(--n-step-header-font-size);\n font-size: var(--n-step-header-font-size);\n position: relative;\n display: flex;\n font-weight: var(--n-step-header-font-weight);\n margin-left: 9px;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[a("title","\n white-space: nowrap;\n flex: 0;\n ")]),a("description","\n color: var(--n-description-text-color);\n margin-top: 12px;\n margin-left: 9px;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),n("step-indicator","\n background-color: var(--n-indicator-color);\n box-shadow: 0 0 0 1px var(--n-indicator-border-color);\n height: var(--n-indicator-size);\n width: var(--n-indicator-size);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ",[n("step-indicator-slot","\n position: relative;\n width: var(--n-indicator-icon-size);\n height: var(--n-indicator-icon-size);\n font-size: var(--n-indicator-icon-size);\n line-height: var(--n-indicator-icon-size);\n ",[a("index","\n display: inline-block;\n text-align: center;\n position: absolute;\n left: 0;\n top: 0;\n white-space: nowrap;\n font-size: var(--n-indicator-index-font-size);\n width: var(--n-indicator-icon-size);\n height: var(--n-indicator-icon-size);\n line-height: var(--n-indicator-icon-size);\n color: var(--n-indicator-text-color);\n transition: color .3s var(--n-bezier);\n ",[f()]),n("icon","\n color: var(--n-indicator-text-color);\n transition: color .3s var(--n-bezier);\n ",[f()]),n("base-icon","\n color: var(--n-indicator-text-color);\n transition: color .3s var(--n-bezier);\n ",[f()])])]),p("vertical","flex-direction: column;",[m("show-description",[v(">",[n("step","padding-bottom: 8px;")])]),v(">",[n("step","margin-bottom: 16px;",[v("&:last-child","margin-bottom: 0;"),v(">",[n("step-indicator",[v(">",[n("step-splitor","\n position: absolute;\n bottom: -8px;\n width: 1px;\n margin: 0 !important;\n left: calc(var(--n-indicator-size) / 2);\n height: calc(100% - var(--n-indicator-size));\n ")])]),n("step-content",[a("description","margin-top: 8px;")])])])])])]);function mt(e){return e.map(((e,t)=>function(e,t){return"object"!=typeof e||null===e||Array.isArray(e)?null:(e.props||(e.props={}),e.props.internalIndex=t+1,e)}(e,t)))}const ht=Object.assign(Object.assign({},i.props),{current:Number,status:{type:String,default:"process"},size:{type:String,default:"medium"},vertical:Boolean,"onUpdate:current":[Function,Array],onUpdateCurrent:[Function,Array]}),_t=b("n-steps"),yt=o({name:"Steps",props:ht,slots:Object,setup(e,{slots:t}){const{mergedClsPrefixRef:n,mergedRtlRef:a}=l(e),o=y("Steps",a,n),r=i("Steps","-steps",ft,g,e,n);return w(_t,{props:e,mergedThemeRef:r,mergedClsPrefixRef:n,stepsSlots:t}),{mergedClsPrefix:n,rtlEnabled:o}},render(){const{mergedClsPrefix:e}=this;return r("div",{class:[`${e}-steps`,this.rtlEnabled&&`${e}-steps--rtl`,this.vertical&&`${e}-steps--vertical`]},mt(h(_(this))))}}),gt=o({name:"Step",props:{status:String,title:String,description:String,disabled:Boolean,internalIndex:{type:Number,default:0}},slots:Object,setup(e){const t=$(_t,null);t||A("step","`n-step` must be placed inside `n-steps`.");const{inlineThemeDisabled:n}=l(),{props:a,mergedThemeRef:o,mergedClsPrefixRef:r,stepsSlots:i}=t,s=d((()=>a.vertical)),p=d((()=>{const{status:t}=e;if(t)return t;{const{internalIndex:t}=e,{current:n}=a;if(void 0===n)return"process";if(tn)return"wait"}return"process"})),v=d((()=>{const{value:e}=p,{size:t}=a,{common:{cubicBezierEaseInOut:n},self:{stepHeaderFontWeight:r,[u("stepHeaderFontSize",t)]:l,[u("indicatorIndexFontSize",t)]:i,[u("indicatorSize",t)]:s,[u("indicatorIconSize",t)]:d,[u("indicatorTextColor",e)]:c,[u("indicatorBorderColor",e)]:v,[u("headerTextColor",e)]:f,[u("splitorColor",e)]:m,[u("indicatorColor",e)]:h,[u("descriptionTextColor",e)]:_}}=o.value;return{"--n-bezier":n,"--n-description-text-color":_,"--n-header-text-color":f,"--n-indicator-border-color":v,"--n-indicator-color":h,"--n-indicator-icon-size":d,"--n-indicator-index-font-size":i,"--n-indicator-size":s,"--n-indicator-text-color":c,"--n-splitor-color":m,"--n-step-header-font-size":l,"--n-step-header-font-weight":r}})),f=n?c("step",d((()=>{const{value:e}=p,{size:t}=a;return`${e[0]}${t[0]}`})),v,a):void 0,m=d((()=>{if(e.disabled)return;const{onUpdateCurrent:t,"onUpdate:current":n}=a;return t||n?()=>{t&&z(t,e.internalIndex),n&&z(n,e.internalIndex)}:void 0}));return{stepsSlots:i,mergedClsPrefix:r,vertical:s,mergedStatus:p,handleStepClick:m,cssVars:n?void 0:v,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{mergedClsPrefix:e,onRender:t,handleStepClick:n,disabled:a}=this,o=N(this.$slots.default,(t=>{const n=t||this.description;return n?r("div",{class:`${e}-step-content__description`},n):null}));return null==t||t(),r("div",{class:[`${e}-step`,a&&`${e}-step--disabled`,!a&&n&&`${e}-step--clickable`,this.themeClass,o&&`${e}-step--show-description`,`${e}-step--${this.mergedStatus}-status`],style:this.cssVars,onClick:n},r("div",{class:`${e}-step-indicator`},r("div",{class:`${e}-step-indicator-slot`},r(k,null,{default:()=>N(this.$slots.icon,(t=>{const{mergedStatus:n,stepsSlots:a}=this;return"finish"!==n&&"error"!==n?t||r("div",{key:this.internalIndex,class:`${e}-step-indicator-slot__index`},this.internalIndex):"finish"===n?r(C,{clsPrefix:e,key:"finish"},{default:()=>x(a["finish-icon"],(()=>[r(S,null)]))}):"error"===n?r(C,{clsPrefix:e,key:"error"},{default:()=>x(a["error-icon"],(()=>[r(j,null)]))}):null}))})),this.vertical?r("div",{class:`${e}-step-splitor`}):null),r("div",{class:`${e}-step-content`},r("div",{class:`${e}-step-content-header`},r("div",{class:`${e}-step-content-header__title`},x(this.$slots.title,(()=>[this.title]))),this.vertical?null:r("div",{class:`${e}-step-splitor`})),o))}}),bt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},wt=o({name:"ArrowLeftOutlined",render:function(e,t){return I(),O("svg",bt,t[0]||(t[0]=[R("path",{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 0 0 0 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z",fill:"currentColor"},null,-1)]))}}),Nt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},xt=o({name:"SaveOutlined",render:function(e,t){return I(),O("svg",Nt,t[0]||(t[0]=[R("path",{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144s-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z",fill:"currentColor"},null,-1)]))}}),kt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},Ct=o({name:"SearchOutlined",render:function(e,t){return I(),O("svg",kt,t[0]||(t[0]=[R("path",{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1c-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z",fill:"currentColor"},null,-1)]))}}),St={"@@functional/placeholder":!0},jt=Number.isInteger||function(e){return(e|0)===e};function $t(e,t){var n=e<0?t.length+e:e;return F(t)?t.charAt(n):t[n]}var At=E((function(e,t){if(null!=t)return jt(e)?$t(e,t):t[e]}));function zt(e,t,n){for(var a=0,o=n.length;a=t})),Qt=E((function(e,t){if(0===e.length||W(t))return!1;for(var n=t,a=0;athis.validateWithRules(e,t)))}setValue(e,t,n){const a=this.valuesMap.get(e)||{};a[t]=n,this.valuesMap.set(e,a)}setValues(e,t){const n=this.valuesMap.get(e)||{};this.valuesMap.set(e,{...n,...t})}getValue(e,t){return(this.valuesMap.get(e)||{})[t]}getValues(e){return this.valuesMap.get(e)||{}}validateWithRules(e,t){const n=this.valuesMap.get(e)||{};for(const o in t){const e=Array.isArray(t[o])?t[o]:[t[o]],r=n[o];if(o in n)for(const t of e){if(t.required&&(null==r||""===r)){return{valid:!1,message:t.message||`${o}是必填项`}}if(null!=r&&""!==r||t.required){if(t.type&&!this.validateType(t.type,r)){return{valid:!1,message:t.message||`${o}的类型应为${t.type}`}}if(t.pattern&&!t.pattern.test(String(r))){return{valid:!1,message:t.message||`${o}格式不正确`}}if("string"===t.type||"array"===t.type){const e=r.length||0;if(void 0!==t.len&&e!==t.len){return{valid:!1,message:t.message||`${o}的长度应为${t.len}`}}if(void 0!==t.min&&et.max){return{valid:!1,message:t.message||`${o}的长度不应大于${t.max}`}}}if("number"===t.type){if(void 0!==t.len&&r!==t.len){return{valid:!1,message:t.message||`${o}应等于${t.len}`}}if(void 0!==t.min&&rt.max){return{valid:!1,message:t.message||`${o}不应大于${t.max}`}}}if(t.enum&&!t.enum.includes(r)){return{valid:!1,message:t.message||`${o}的值不在允许范围内`}}if(t.whitespace&&"string"===t.type&&!r.trim()){return{valid:!1,message:t.message||`${o}不能只包含空白字符`}}if(t.validator)try{const e=t.validator(t,r,void 0);if(!1===e){return{valid:!1,message:t.message||`${o}验证失败`}}if(e instanceof Error)return{valid:!1,message:e.message};if(Array.isArray(e)&&e.length>0&&e[0]instanceof Error)return{valid:!1,message:e[0].message}}catch(a){return{valid:!1,message:a instanceof Error?a.message:`${o}验证出错`}}}}}return{valid:!0,message:""}}validateType(e,t){switch(e){case"string":return"string"==typeof t;case"number":return"number"==typeof t&&!isNaN(t);case"boolean":return"boolean"==typeof t;case"method":return"function"==typeof t;case"regexp":return t instanceof RegExp;case"integer":return"number"==typeof t&&Number.isInteger(t);case"float":return"number"==typeof t&&!Number.isInteger(t);case"array":return Array.isArray(t);case"object":return"object"==typeof t&&!Array.isArray(t)&&null!==t;case"enum":return!0;case"date":return t instanceof Date;case"url":try{return new URL(t),!0}catch(n){return!1}case"email":return/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t);default:return!0}}validate(e){const t=this.validators.get(e);if(t){const n=t();return this.validationResults.set(e,n),n}return{valid:!1,message:""}}validateAll(){let e=!0;const t={};return this.validators.forEach(((n,a)=>{const o=this.validate(a);t[a]=o,o.valid||(e=!1)})),{valid:e,results:t}}getValidationResult(e){return this.validationResults.get(e)||{valid:!0,message:""}}};function cn(){const e=G({valid:!1,message:""});return{validationResult:e,registerValidator:(t,n)=>{un.register(t,n),e.value=un.getValidationResult(t)},registerCompatValidator:(t,n,a)=>{un.registerCompatValidator(t,n,a),e.value=un.getValidationResult(t)},setFieldValue:(e,t,n)=>{un.setValue(e,t,n)},setFieldValues:(e,t)=>{un.setValues(e,t)},getFieldValue:(e,t)=>un.getValue(e,t),getFieldValues:e=>un.getValues(e),validate:t=>{const n=un.validate(t);return e.value=n,n},unregisterValidator:e=>{un.unregister(e)},validator:un}}J(((e,t)=>{const n=new Date(e),a=new Date(t),o=new Date(n.getFullYear(),n.getMonth(),n.getDate()),r=new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime()-o.getTime();return Math.floor(r/864e5)}));J(((e,t,n)=>{const a=new Date(e).getTime(),o=new Date(t).getTime(),r=new Date(n).getTime();return a>=o&&a<=r}));J(((e,t)=>{const n=new Date(t);return n.setDate(n.getDate()+e),n})),K(String),J(((e,t)=>tn(At(e),t))),J(((e,t)=>Le(e,t))),J(((e,t)=>He(Yt(en)(e),t))),J(((e,t,n)=>X(Xt(St,e),ln(St,t))(n))),J(((e,t)=>Object.fromEntries(Object.entries(t).filter((([t,n])=>e(n)))))),J(((e,t)=>Kt(At(e),t))),J(((e,t)=>K(sn(e),t))),function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");D(arguments[0].length,Mt(Tt,arguments[0],Ut(arguments)))}(Jt,on);const pn=(e,t,n=!0)=>{const a={...e};for(const o in t)if(t.hasOwnProperty(o)){const r=t[o],l=e[o];Array.isArray(r)&&Array.isArray(l)?a[o]=n?[...l,...r]:r:vn(r)&&vn(l)?a[o]=pn(l,r):a[o]=r}return a},vn=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),fn=e=>JSON.parse(JSON.stringify(e)),mn=[];for(let Oo=0;Oo<256;++Oo)mn.push((Oo+256).toString(16).slice(1));let hn;const _n=new Uint8Array(16);const yn={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function gn(e,t,n){var a;if(yn.randomUUID&&!e)return yn.randomUUID();const o=(e=e||{}).random??(null==(a=e.rng)?void 0:a.call(e))??function(){if(!hn){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");hn=crypto.getRandomValues.bind(crypto)}return hn(_n)}();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=15&o[6]|64,o[8]=63&o[8]|128,function(e,t=0){return(mn[e[t+0]]+mn[e[t+1]]+mn[e[t+2]]+mn[e[t+3]]+"-"+mn[e[t+4]]+mn[e[t+5]]+"-"+mn[e[t+6]]+mn[e[t+7]]+"-"+mn[e[t+8]]+mn[e[t+9]]+"-"+mn[e[t+10]]+mn[e[t+11]]+mn[e[t+12]]+mn[e[t+13]]+mn[e[t+14]]+mn[e[t+15]]).toLowerCase()}(o)}const bn="start",wn="branch",Nn="condition",xn="execute_result_branch",kn="execute_result_condition",Cn="upload",Sn="notify",jn="apply",$n="deploy",An={},zn=e=>pn({title:{name:"",color:"#FFFFFF",bgColor:"#3CB371"},icon:{name:"",color:"#3CB371"},operateNode:{add:!0,sort:1,addBranch:!1,edit:!0,remove:!0,onSupportNode:[]},isHasDrawer:!1,defaultNode:{}},e);An[bn]=()=>zn({title:{name:"开始"},operateNode:{onSupportNode:[xn],remove:!1,edit:!1,add:!1},defaultNode:{id:gn(),name:"开始",type:bn,config:{exec_type:"manual"},childNode:null}}),An[jn]=()=>zn({title:{name:"申请"},icon:{name:jn},operateNode:{sort:1},defaultNode:{id:gn(),name:"申请",type:jn,config:{domains:"",email:"",eabId:"",ca:"letsencrypt",proxy:"",end_day:30,provider:"",provider_id:"",algorithm:"RSA2048",skip_check:0},childNode:null}}),An[Cn]=()=>zn({title:{name:"上传"},icon:{name:Cn},operateNode:{sort:2,onSupportNode:[xn]},defaultNode:{id:gn(),name:"上传",type:Cn,config:{cert_id:"",cert:"",key:""},childNode:null}}),An[$n]=()=>zn({title:{name:"部署"},icon:{name:$n},operateNode:{sort:3},defaultNode:{id:gn(),name:"部署",type:$n,inputs:[],config:{provider:"",provider_id:"",skip:1,inputs:{fromNodeId:"",name:""}},childNode:null}}),An[Sn]=()=>zn({title:{name:"通知"},icon:{name:Sn},operateNode:{sort:4},defaultNode:{id:gn(),name:"通知",type:Sn,config:{provider:"",provider_id:"",subject:"",body:""},childNode:null}}),An[wn]=()=>zn({title:{name:"并行分支"},icon:{name:wn},operateNode:{sort:5,addBranch:!0},defaultNode:{id:gn(),name:"并行分支",type:wn,conditionNodes:[{id:gn(),name:"分支1",type:Nn,config:{},childNode:null},{id:gn(),name:"分支2",type:Nn,config:{},childNode:null}]}}),An[Nn]=()=>zn({title:{name:"分支1"},icon:{name:Nn},operateNode:{add:!1,onSupportNode:[xn]},defaultNode:{id:gn(),name:"分支1",type:Nn,icon:{name:Nn},config:{},childNode:null}}),An[xn]=()=>zn({title:{name:"执行结果分支"},icon:{name:wn},operateNode:{sort:7,onSupportNode:[xn]},defaultNode:{id:gn(),name:"执行结果分支",type:xn,conditionNodes:[{id:gn(),name:"若当前节点执行成功…",type:kn,icon:{name:"success"},config:{type:"success"},childNode:null},{id:gn(),name:"若当前节点执行失败…",type:kn,icon:{name:"error"},config:{type:"fail"},childNode:null}]}}),An[kn]=()=>zn({title:{name:"执行结构条件"},icon:{name:wn},operateNode:{add:!1,onSupportNode:[xn]},defaultNode:{id:gn(),name:"若前序节点执行失败…",type:kn,icon:{name:"SUCCESS"},config:{type:"SUCCESS"},childNode:null}});const On={name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"auto",type:"day",hour:1,minute:0},childNode:{id:"apply-1",name:"申请证书",type:"apply",config:{domains:"",email:"",eabId:"",ca:"letsencrypt",proxy:"",end_day:30,provider:"",provider_id:"",algorithm:"RSA2048",skip_check:0},childNode:{id:"deploy-1",name:"部署",type:"deploy",inputs:[],config:{provider:"",provider_id:"",skip:1,inputs:{fromNodeId:"",name:""}},childNode:{id:"execute",name:"执行结果",type:"execute_result_branch",config:{fromNodeId:"deploy-1"},conditionNodes:[{id:"execute-success",name:"执行成功",type:"execute_result_condition",config:{fromNodeId:"",type:"success"}},{id:"execute-failure",name:"执行失败",type:"execute_result_condition",config:{fromNodeId:"",type:"fail"}}],childNode:{id:"notify-1",name:"通知任务",type:"notify",config:{provider:"",provider_id:"",subject:"",body:""}}}}}}},In=Q("flow-store",(()=>{const e=G({id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}}),t=G(100),n=G(!1),a=G([]),o=G([]),r=G(null),l=G(null),i=G(null),s=G(null),u=G(null),c=d((()=>a.value.filter((e=>!o.value.includes(e.type))))),p=d((()=>s.value?m(e.value.childNode,s.value):null)),v=d((()=>p.value?p.value.name:te("t_6_1744861190121"))),f=()=>{const t=JSON.parse(JSON.stringify(On));t.name="工作流("+((e,t="yyyy-MM-dd HH:mm:ss")=>{const n=Number(e)&&10===e.toString().length?new Date(1e3*Number(e)):new Date(e),a=dn(["yyyy","MM","dd","HH","mm","ss"],[n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds()]);return Mt(((e,t)=>{const n=a[t],o="yyyy"!==t&&n<10?`0${n}`:`${n}`;return e.replace(new RegExp(t,"g"),o)}),t,Y(a))})(new Date,"yyyy/MM/dd HH:mm:ss")+")",e.value=t},m=(e,t)=>{var n;if(e.id===t)return e;if(e.childNode){const n=m(e.childNode,t);if(n)return n}if(null==(n=e.conditionNodes)?void 0:n.length)for(const a of e.conditionNodes){const e=m(a,t);if(e)return e}return null},h=t=>m(e.value.childNode,t),_=(e,t,n,a=null)=>{var o;if(e.id===t)return n(e,a),!0;if(e.childNode&&_(e.childNode,t,n,e))return!0;if(null==(o=e.conditionNodes)?void 0:o.length)for(const r of e.conditionNodes)if(_(r,t,n,e))return!0;return!1},y=(e,t)=>{if(!e)return null;const n=e[t];return n?"object"==typeof n&&null!==n?y(n,t):void 0:e};return{flowData:e,flowZoom:t,selectedNode:p,nodeTitle:v,selectedNodeId:s,isRefreshNode:u,advancedOptions:n,initFlowData:f,resetFlowData:()=>f(),getResultData:()=>pn({},e.value),updateFlowData:t=>{e.value=t},setflowZoom:e=>{1===e&&t.value>50?t.value-=10:2===e&&t.value<300&&(t.value+=10)},addNodeSelectList:a,nodeSelectList:c,excludeNodeSelectList:o,addNodeBtnRef:r,addNodeSelectRef:l,addNodeSelectPostion:i,getAddNodeSelect:()=>{a.value=[],Object.keys(An).forEach((e=>{var t;const n=An[e]();(null==(t=n.operateNode)?void 0:t.add)&&a.value.push({title:{name:n.title.name},type:e,icon:{...n.icon||{}},selected:!1})}))},addExcludeNodeSelectList:e=>{o.value=e},clearExcludeNodeSelectList:()=>{o.value=[]},setShowAddNodeSelect:(e,t)=>{var n;if(o.value=(null==(n=An[t]().operateNode)?void 0:n.onSupportNode)||[],e&&l.value&&r.value){const e=l.value.getBoundingClientRect().width,t=r.value.getBoundingClientRect().right,n=window.innerWidth;i.value=t+e>n?1:2}},addNode:(t,n,a={})=>{if(!h(t))return;let o=pn(An[n]().defaultNode,a);_(e.value.childNode,t,((e,a)=>{switch(n){case Nn:e.conditionNodes&&(o.name=`分支${e.conditionNodes.length+1}`,e.conditionNodes.push(o));break;case wn:case xn:n===xn&&(o={...o,config:{fromNodeId:t}}),o.conditionNodes[0].childNode=e.childNode,e.childNode=o;break;default:e.childNode&&(o.childNode=e.childNode),e.childNode=o}}))},removeNode:(t,n=!1)=>{if(h(t))return _(e.value.childNode,t,((a,o)=>{var r,l,i;if(!o)return;const{type:s,conditionNodes:d}=o;(null==(r=a.childNode)?void 0:r.type)===xn&&(null==(l=a.childNode)?void 0:l.config)&&(a.childNode.config.fromNodeId=o.id);const u=[Nn,kn,wn,xn];if(u.includes(a.type)||(null==(i=o.childNode)?void 0:i.id)!==t){if(u.includes(a.type))if(2===d.length)_(e.value.childNode,o.id,s===wn?(e,n)=>{const a=d.findIndex((e=>e.id===t)),o=e.childNode;if(-1!==a&&n){n.childNode=d[0===a?1:0].childNode;y(n,"childNode").childNode=o}}:(e,t)=>{var n;t&&((null==(n=null==o?void 0:o.childNode)?void 0:n.id)?t.childNode=o.childNode:t.childNode=void 0)});else{const e=o.conditionNodes.findIndex((e=>e.id===t));if(-1!==e)if(n)o.conditionNodes.splice(e,1);else{const t=o.conditionNodes[e];(null==t?void 0:t.childNode)?o.conditionNodes[e]=t.childNode:o.conditionNodes.splice(e,1)}}}else n?o.childNode=void 0:a.childNode?o.childNode=a.childNode:o.childNode=void 0})),e.value},updateNodeConfig:(t,n)=>{if(h(t))return _(e.value.childNode,t,(e=>{e.config=n})),e.value},updateNode:(t,n,a=!0)=>{if(h(t))return _(e.value.childNode,t,(e=>{const t=pn(e,n,a);Object.keys(t).forEach((n=>{n in e&&(e[n]=t[n])}))})),e.value},findApplyUploadNodesUp:(t,n=["apply","upload"])=>{const a=[],o=(e,t,n=[])=>{var a;if(e.id===t)return n;if(e.childNode){const a=[...n,e],r=o(e.childNode,t,a);if(r)return r}if(null==(a=e.conditionNodes)?void 0:a.length)for(const r of e.conditionNodes){const a=[...n,e],l=o(r,t,a);if(l)return l}return null},r=o(e.value.childNode,t);return r&&r.forEach((e=>{n.includes(e.type)&&a.push({name:e.name,id:e.id})})),a},checkFlowNodeChild:e=>{var t;const n=h(e);return!!n&&!(!n.childNode&&!(null==(t=n.conditionNodes)?void 0:t.length))},checkFlowInlineNode:t=>{const n=h(t);n&&"condition"===n.type&&_(e.value.childNode,t,(e=>{e.conditionNodes&&(e.conditionNodes=e.conditionNodes.filter((e=>e.id!==t)))}))}}})),Rn=()=>{const e=In(),t=ee(e);return{...e,...t}};function Fn(e,t,n){const{isRefreshNode:a}=Rn(),{registerCompatValidator:o,validate:r,validationResult:l,unregisterValidator:i}=cn(),s=ne(["warningColor","primaryColor"]),u=d((()=>l.value.valid?"var(--n-primary-color)":"var(--n-warning-color)"));ae((()=>a.value),(n=>{Ke((()=>{o(e.node.id,t,e.node.config),r(e.node.id),a.value=null}),500)}),{immediate:!0}),oe((()=>i(e.node.id)));return{validationResult:l,validColor:u,renderNode:()=>re("div",{style:s.value,class:"text-[12px]"},[re("div",{style:{color:u.value}},[n(l.value.valid,e.node.config)])])}}function En(e){return{required:(t,n,a="change")=>({required:!0,message:n||te("t_3_1747817612697",{nodeName:e,field:t}),trigger:a}),domain:(e="input")=>({required:!0,trigger:e,validator:(e,t)=>t?!!Ge(t)||new Error(te("t_4_1747817613325")):new Error(te("t_0_1744958839535"))}),domainGroup:(e="input")=>({required:!0,trigger:e,validator:(e,t)=>t?!!We(t)||new Error(te("t_5_1747817619337")):new Error(te("t_0_1744958839535"))}),email:(e="input")=>({required:!0,trigger:e,validator:(e,t)=>t?!!Ze(t)||new Error(te("t_7_1747817613773")):new Error(te("t_6_1747817644358"))}),custom:(e,t="change")=>({required:!0,trigger:t,validator:e})}}const Dn=En(te("t_10_1747817611126")),Mn={domains:Dn.domainGroup(),email:Dn.email(),provider_id:Dn.required("provider_id",te("t_3_1745490735059")),end_day:Dn.custom(((e,t)=>!("number"!=typeof t||isNaN(t)||t<1)||new Error(te("t_9_1747990229640"))))};function Pn(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)}const Bn=o({name:"CAProviderSelect",props:{path:{type:String,required:!0},value:{type:String,required:!0,default:""},ca:{type:String,required:!0},email:{type:String,required:!0},disabled:{type:Boolean,default:!1},customClass:{type:String,default:""}},emits:{"update:value":e=>!0,"update:email":e=>!0},setup(e,{emit:t}){const{isLoading:n,caProviderRef:a,param:o,handleUpdateValue:r,handleFilter:l,goToAddCAProvider:i,errorMessage:s,loadCAProviders:d}=function(e,t){const{handleError:n}=Pe(),a=G({label:"",value:"",ca:"",email:""}),o=G([]),r=G(!1),l=G(""),i=()=>{var e,n,r,l;const i=o.value.find((e=>e.value===a.value.value));i?a.value={label:i.label,value:i.value,ca:i.ca,email:i.email}:o.value.length>0&&""===a.value.value&&(a.value={label:(null==(e=o.value[0])?void 0:e.label)||"",value:(null==(n=o.value[0])?void 0:n.value)||"",ca:(null==(r=o.value[0])?void 0:r.ca)||"",email:(null==(l=o.value[0])?void 0:l.email)||""}),""!==a.value.value&&t("update:email",a.value.email),t("update:value",{value:a.value.value,ca:a.value.ca,email:a.value.email})},s=e=>{a.value.value=e,i()},d=async()=>{r.value=!0,l.value="";try{const t={label:"Let's Encrypt",value:"",ca:"letsencrypt",email:""},{data:n}=await et({ca:""}).fetch(),a=(n||[]).map((e=>({label:e.name,value:e.id.toString(),ca:e.ca,email:e.mail})));o.value=[t,...a],e.value?s(e.value):i()}catch(t){l.value="string"==typeof t?t:te("t_3_1747990229599"),n(t)}finally{r.value=!1}};return ae((()=>e.value),(e=>{e!==a.value.value&&s(e)}),{immediate:!0}),le((()=>{d()})),{param:a,caProviderRef:o,isLoading:r,errorMessage:l,goToAddCAProvider:e=>{window.open(`/auto-deploy?type=${e}`,"_blank")},handleUpdateValue:s,loadCAProviders:d,handleFilter:(e,t)=>t.label.toLowerCase().includes(e.toLowerCase())}}(e,t),u=e=>re(Ye,{align:"center"},{default:()=>[re(nt,{icon:`cert-${e.ca}`,size:"2rem"},null),re(Je,null,{default:()=>[e.label]})]});return()=>{let t,c;return re(Be,{show:n.value},{default:()=>[re(ie,{cols:24,class:e.customClass},{default:()=>[re(se,{span:13,label:te("t_1_1747990228492"),path:e.path},{default:()=>[re(de,{class:"flex-1 w-full",options:a.value,renderLabel:u,renderTag:({option:e})=>(({option:e})=>{let t;return re("div",{class:"flex items-center"},[e.label?u(e):re(Je,{class:"text-[#aaa]"},Pn(t=te("t_0_1747990228780"))?t:{default:()=>[t]})])})({option:e}),filterable:!0,filter:(e,t)=>l(e,t),placeholder:te("t_0_1747990228780"),value:o.value.value,onUpdateValue:r,disabled:e.disabled},{header:()=>re("div",{class:"flex items-center cursor-pointer hover:text-[#333] hover:bg-[#eee]",onClick:()=>i("addCAForm")},[te("t_0_1747990626044")]),empty:()=>re("span",{class:"text-[1.4rem]"},[s.value||te("t_2_1747990228008")])})]}),re(se,{span:11},{default:()=>[re(ue,{class:"mx-[8px]",onClick:()=>i("caManage"),disabled:e.disabled},Pn(t=te("t_0_1747903670020"))?t:{default:()=>[t]}),re(ue,{class:"mx-[8px]",onClick:()=>d(),loading:n.value,disabled:e.disabled},Pn(c=te("t_0_1746497662220"))?c:{default:()=>[c]})]})]})]})}}}),Vn=o({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{domains:"",email:"",eabId:"",ca:"",proxy:"",provider_id:"",provider:"",end_day:30,name_server:"",skip_check:0,algorithm:"RSA2048"}})}},setup(e){const{updateNodeConfig:t,advancedOptions:n,isRefreshNode:a}=Rn(),{confirm:o}=_e(),{useFormInput:r,useFormSelect:l,useFormMore:i,useFormHelp:s,useFormSwitch:u}=pe(),c=G(fn(e.node.config)),p=d((()=>[r(te("t_17_1745227838561"),"domains",{placeholder:te("t_0_1745735774005"),allowInput:at,onInput:e=>{c.value.domains=e.replace(/,/g,",").replace(/;/g,",")}}),r(te("t_1_1745735764953"),"email",{placeholder:te("t_2_1745735773668"),allowInput:at,readonly:"letsencrypt"!==c.value.ca}),{type:"custom",render:()=>re(Qe,ve({type:"dns",path:"provider_id",value:c.value.provider_id,valueType:"value",isAddMode:!0},{"onUpdate:value":e=>{c.value.provider_id=e.value,c.value.provider=e.type}}),null)},{type:"custom",render:()=>re(fe,{label:te("t_4_1747990227956"),path:"end_day"},{default:()=>[re("div",{class:"flex items-center"},[re("span",{class:"text-[1.4rem] mr-[1.2rem]"},[te("t_5_1747990228592")]),re(me,{value:c.value.end_day,"onUpdate:value":e=>c.value.end_day=e,showButton:!1,min:1,class:"w-[120px]"},null),re("span",{class:"text-[1.4rem] ml-[1.2rem]"},[te("t_6_1747990228465")])])]})},i(n),...n.value?[{type:"custom",render:()=>re(Bn,ve({path:"eabId",value:c.value.eabId,email:c.value.email,ca:c.value.ca},{"onUpdate:value":e=>{c.value.eabId=e.value,c.value.ca=e.ca,e.value&&(c.value.email=e.email)}}),null)},l(te("t_0_1747647014927"),"algorithm",[{label:"RSA2048",value:"RSA2048"},{label:"RSA3072",value:"RSA3072"},{label:"RSA4096",value:"RSA4096"},{label:"RSA8192",value:"RSA8192"},{label:"EC256",value:"EC256"},{label:"EC384",value:"EC384"}],{},{showRequireMark:!1}),r(te("t_7_1747990227761"),"proxy",{placeholder:te("t_8_1747990235316"),allowInput:at},{showRequireMark:!1}),r(te("t_0_1747106957037"),"name_server",{placeholder:te("t_1_1747106961747"),allowInput:at,onInput:e=>{c.value.name_server=e.replace(/,/g,",").replace(/;/g,",")}},{showRequireMark:!1}),u(te("t_2_1747106957037"),"skip_check",{checkedValue:1,uncheckedValue:0},{showRequireMark:!1})]:[],s([{content:te("t_0_1747040228657"),isHtml:!1},{content:te("t_1_1747040226143"),isHtml:!1}])])),{component:v,data:f,example:m}=he({defaultValue:c,config:p,rules:Mn});return le((()=>{n.value=!1})),o((async n=>{var o;try{await(null==(o=m.value)?void 0:o.validate()),t(e.node.id,f.value),a.value=e.node.id,n()}catch(r){}})),()=>re("div",{class:"apply-node-drawer"},[re(v,{labelPlacement:"top"},null)])}});function Tn(){return{handleNodeClick:(e,t,n,a="60rem",o=!0)=>{var r;ye({title:`${null==(r=e.value)?void 0:r.name}${n||te("t_1_1745490731990")}`,area:a,component:()=>t(e.value),confirmText:te("t_2_1744861190040"),footer:o})}}}const qn=o({name:"ApplyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,Mn,((e,t)=>e?te("t_9_1747817611448")+(null==t?void 0:t.domains):te("t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>a(e,(e=>re(Vn,{node:e},null)))}),n}}),Un=Object.freeze(Object.defineProperty({__proto__:null,default:qn},Symbol.toStringTag,{value:"Module"})),Ln=En(te("t_11_1747817612051")),Hn={provider:Ln.required("provider",te("t_0_1746858920894")),provider_id:Ln.custom(((e,t)=>!!t||new Error(te("t_0_1746858920894")))),"inputs.fromNodeId":Ln.required("inputs.fromNodeId",te("t_3_1745748298161")),certPath:Ln.required("certPath",te("t_30_1746667591892"),"input"),keyPath:Ln.required("keyPath",te("t_31_1746667593074"),"input"),siteName:Ln.custom(((e,t)=>{if(!t)return new Error(te("t_1_1747296175494"));if("string"==typeof t){if(!t.trim())return new Error(te("t_1_1747296175494"))}else{if(!Array.isArray(t))return new Error(te("t_1_1747296175494"));if(0===t.length)return new Error(te("t_1_1747296175494"))}return!0}),"input"),site_id:Ln.required("site_id",te("t_24_1745735766826"),"input"),domain:Ln.custom(((e,t)=>t&&!!Ge(t)||new Error(te("t_0_1744958839535"))),"input"),region:Ln.required("region",te("t_25_1745735766651"),"input"),bucket:Ln.required("bucket",te("t_26_1745735767144"),"input")};const Zn="all",Wn={};function Gn(e){const t=e.split("-")[0];return Wn[t]||Zn}function Jn(){const e=[];return Object.keys(rt).filter((e=>{const t=rt[e];return Array.isArray(t.type)&&t.type.includes("host")})).forEach((t=>{const n=rt[t],{icon:a}=n;if("hostRelated"in n&&n.hostRelated){const o=n.hostRelated;"default"in o&&o.default&&"name"in o.default&&e.push({label:o.default.name,value:t,category:Gn(t),icon:a}),Object.entries(o).forEach((([n,o])=>{if("default"!==n&&o&&"object"==typeof o&&"name"in o){const r=`${t}-${n}`;e.push({label:o.name,value:r,category:Gn(t),icon:a})}}))}})),e.sort(((e,t)=>{var n,a,o,r;const l=((null==(n=e.value)?void 0:n.toString())||"").split("-")[0],i=((null==(a=t.value)?void 0:a.toString())||"").split("-")[0],s=l?rt[l]:void 0,d=i?rt[i]:void 0,u=s&&"object"==typeof s&&"sort"in s&&s.sort||999,c=d&&"object"==typeof d&&"sort"in d&&d.sort||999;if(u!==c)return u-c;const p=(null==(o=e.label)?void 0:o.toString())||"",v=(null==(r=t.label)?void 0:r.toString())||"";return p.localeCompare(v)}))}function Yn(e){if(e===Zn)return te("t_7_1747271292060");for(const[t,n]of Object.entries(rt))if(n.icon===e)return"本地部署"===n.name?te("t_0_1747969933657"):n.name;return""}Object.entries(rt).forEach((([e,t])=>{var n;(null==(n=t.type)?void 0:n.includes("host"))&&t.icon&&(Wn[e]=t.icon)}));const Kn={configContainer:"_configContainer_17s58_4",formContainer:"_formContainer_17s58_9",leftPanel:"_leftPanel_17s58_14",rightPanel:"_rightPanel_17s58_21",searchBar:"_searchBar_17s58_26",cardContainer:"_cardContainer_17s58_31",optionCard:"_optionCard_17s58_37",optionCardSelected:"_optionCardSelected_17s58_42",cardContent:"_cardContent_17s58_68",icon:"_icon_17s58_73",iconSelected:"_iconSelected_17s58_77",footer:"_footer_17s58_82",footerButton:"_footerButton_17s58_86"};function Xn(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)}const Qn=o({name:"DeployNodeDrawer",props:{node:{type:Object,default:()=>({id:"",inputs:[],config:{provider:"",provider_id:"",inputs:{fromNodeId:"",name:""},skip:1}})}},setup(e){const{updateNode:t,updateNodeConfig:n,findApplyUploadNodesUp:a,isRefreshNode:o}=Rn(),r=ne(["primaryColor","borderColor"]),{handleError:l}=Pe(),i=be();we();const s=Ne(),u=function(){const{useFormInput:e,useFormTextarea:t,useFormSelect:n}=pe();return{input:(t,n,a={},o={})=>e(t,n,{placeholder:a.placeholder||te("t_0_1747817614953")+t,allowInput:at,...a},o),textarea:(e,n,a={},o={})=>t(e,n,{placeholder:a.placeholder||te("t_0_1747817614953")+e,rows:a.rows||3,...a},{showRequireMark:!1,...o}),select:(e,t,a,o={},r={})=>n(e,t,a,o,r),switch(e,t,n,a={}){const o=a.checkedText||te("t_1_1747817639034"),r=a.uncheckedText||te("t_2_1747817610671"),l=a.description||"";return{type:"custom",render:()=>re(fe,{label:e,path:t},{default:()=>{return[l&&re(Je,null,(e=l,"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)?l:{default:()=>[l]})),re(ge,{value:n.value[t],"onUpdate:value":e=>n.value[t]=e,checkedValue:1,uncheckedValue:0,class:"mx-[.5rem]"},{checked:()=>o,unchecked:()=>r})];var e}})}},custom:e=>({type:"custom",render:e}),sshDeploy(){return[this.input(te("t_1_1747280813656"),"certPath",{placeholder:te("t_30_1746667591892")}),this.input(te("t_2_1747280811593"),"keyPath",{placeholder:te("t_31_1746667593074")}),this.textarea(te("t_3_1747280812067"),"beforeCmd",{placeholder:te("t_21_1745735769154"),rows:2}),this.textarea(te("t_4_1747280811462"),"afterCmd",{placeholder:te("t_22_1745735767366"),rows:2})]},siteDeploy(){return[this.input(te("t_0_1747296173751"),"siteName",{placeholder:te("t_1_1747296175494")})]},onePanelSiteDeploy(){return[this.input(te("t_6_1747280809615"),"site_id",{placeholder:te("t_24_1745735766826")})]},cdnDeploy(){return[this.input(te("t_17_1745227838561"),"domain",{placeholder:te("t_0_1744958839535")})]},wafDeploy(){return[this.input(te("t_17_1745227838561"),"domain",{placeholder:te("t_0_1744958839535")}),this.select(te("t_7_1747280808936"),"region",[{label:"cn-hangzhou",value:"cn-hangzhou"},{label:"ap-southeast-1",value:"ap-southeast-1"}],{placeholder:te("t_25_1745735766651"),defaultValue:"cn-hangzhou"})]},storageDeploy(){return[this.input(te("t_17_1745227838561"),"domain",{placeholder:te("t_0_1744958839535")}),this.input(te("t_7_1747280808936"),"region",{placeholder:te("t_25_1745735766651")}),this.input(te("t_8_1747280809382"),"bucket",{placeholder:te("t_26_1745735767144")})]},skipOption(e){return this.switch(te("t_9_1747280810169"),"skip",e,{checkedText:te("t_11_1747280809178"),uncheckedText:te("t_12_1747280809893"),description:te("t_10_1747280816952")})}}}(),c=Jn(),p=function(){const e=Array.from(new Set(Jn().map((e=>e.category)).filter(Boolean)));if(e.includes(Zn)){const t=e.indexOf(Zn);e.splice(t,1),e.unshift(Zn)}else e.unshift(Zn);return e.sort(((e,t)=>{var n,a;if(e===Zn)return-1;if(t===Zn)return 1;const o=Object.entries(rt).find((([t,n])=>n.icon===e)),r=Object.entries(rt).find((([e,n])=>n.icon===t));return((null==(n=null==o?void 0:o[1])?void 0:n.sort)||999)-((null==(a=null==r?void 0:r[1])?void 0:a.sort)||999)})).map((e=>({name:e,tab:Yn(e)})))}(),v=G([]),f=G([]),m=G(!1),h=G(1),_=G(!0),y=G("process"),g=G(Zn),b=G(""),w=G(fn(e.node.config)),N=G(function(){var e,t;const n=rt.localhost;return n&&Array.isArray(n.type)&&n.type.includes("host")?[{label:(null==(t=null==(e=n.hostRelated)?void 0:e.default)?void 0:t.name)||te("t_6_1747271296994"),value:"localhost"}]:[{label:te("t_6_1747271296994"),value:"localhost"}]}()),x=d((()=>{var e;return w.value.provider?te("t_4_1746858917773")+":"+(null==(e=c.find((e=>e.value===w.value.provider)))?void 0:e.label):te("t_19_1745735766810")})),k=d((()=>function(e,t,n){let a=[...e];if(t!==Zn&&(a=a.filter((e=>e.category===t))),n){const e=n.toLowerCase();a=a.filter((t=>{var n,a;return((null==(n=t.label)?void 0:n.toString().toLowerCase())||"").includes(e)||((null==(a=t.value)?void 0:a.toString().toLowerCase())||"").includes(e)}))}return a}(c,g.value,b.value))),C=d((()=>{const e=[];switch("localhost"!==w.value.provider?e.push(u.custom((()=>{const e={type:w.value.provider,path:"provider_id",value:w.value.provider_id,valueType:"value",isAddMode:!0,"onUpdate:value":e=>{""!==e.value&&""!==w.value.provider_id&&w.value.provider_id!==e.value&&(w.value.siteName=[]),w.value.provider_id=e.value}};return re(Qe,e,null)}))):e.push(u.select(te("t_0_1746754500246"),"provider",N.value)),e.push(u.select(te("t_1_1745748290291"),"inputs.fromNodeId",v.value,{onUpdateValue:(e,t)=>{w.value.inputs.fromNodeId=e,w.value.inputs.name=null==t?void 0:t.label}})),w.value.provider){case"localhost":case"ssh":e.push(...u.sshDeploy());break;case"btpanel-site":e.push(u.select(te("t_0_1747296173751"),"siteName",f.value,{placeholder:te("t_10_1747990232207"),multiple:!0,filterable:!0,remote:!0,clearable:!0,loading:m.value,onSearch:S}));break;case"btwaf-site":case"btpanel-dockersite":case"safeline-site":e.push(...u.siteDeploy());break;case"1panel-site":e.push(...u.onePanelSiteDeploy());break;case"tencentcloud-cdn":case"tencentcloud-waf":case"tencentcloud-teo":case"aliyun-cdn":case"baidu-cdn":case"qiniu-cdn":case"qiniu-oss":e.push(...u.cdnDeploy());break;case"aliyun-waf":e.push(...u.wafDeploy());break;case"tencentcloud-cos":case"aliyun-oss":e.push(...u.storageDeploy())}return e.push(u.skipOption(w)),e})),S=Xe((async e=>{if("btpanel-site"===w.value.provider&&w.value.provider_id)try{m.value=!0;const{data:t}=await tt({id:w.value.provider_id.toString(),type:w.value.provider,search:e,limit:"100"}).fetch();f.value=null==t?void 0:t.map((e=>({label:e,value:e})))}catch(t){l(t),f.value=[]}finally{m.value=!1}}),1e3),j=async()=>{var t,n,o;if(!w.value.provider)return i.error(te("t_0_1746858920894"));"localhost"===w.value.provider?delete w.value.provider_id:w.value.provider_id=e.node.config.provider_id,v.value=a(e.node.id).map((e=>({label:e.name,value:e.id}))),v.value.length?(null==(t=w.value.inputs)?void 0:t.fromNodeId)||(w.value.inputs={name:(null==(n=v.value[0])?void 0:n.label)||"",fromNodeId:(null==(o=v.value[0])?void 0:o.value)||""}):i.warning(te("t_3_1745748298161")),h.value++,_.value=!1},$=()=>{h.value--,_.value=!0,w.value.provider_id="",w.value.provider=""},{component:A,example:z}=he({config:C,defaultValue:w,rules:Hn});ae((()=>w.value.provider_id),(()=>{"btpanel-site"===w.value.provider&&S("")}));const O=async()=>{var a;try{await(null==(a=z.value)?void 0:a.validate());const r=fn(w.value);"btpanel-site"===r.provider&&r.siteName&&Array.isArray(r.siteName)&&(r.siteName=r.siteName.join(","));const l=r.inputs;n(e.node.id,{...r}),t(e.node.id,{inputs:[l]},!1),o.value=e.node.id,s()}catch(r){l(r)}};return le((()=>{w.value.provider&&(e.node.inputs&&(w.value.inputs=e.node.inputs[0]),"btpanel-site"===w.value.provider&&w.value.siteName&&(S(""),w.value.siteName=w.value.siteName.split(",").filter(Boolean)),j())})),()=>{let e,t,n;return re("div",{class:Kn.container,style:r.value},[re(yt,{size:"small",current:h.value,status:y.value},{default:()=>[re(gt,{title:te("t_28_1745735766626"),description:x.value},null),re(gt,{title:te("t_29_1745735768933"),description:te("t_2_1745738969878")},null)]}),1===h.value&&re("div",{class:Kn.configContainer},[re("div",{class:Kn.leftPanel},[re(lt,{type:"bar",placement:"left",value:g.value,class:"h-[45rem]",onUpdateValue:e=>g.value=e},Xn(e=p.map((e=>re(it,{key:e.name,name:e.name,tab:e.tab},null))))?e:{default:()=>[e]})]),re("div",{class:Kn.rightPanel},[re("div",{class:Kn.searchBar},[re(xe,{value:b.value,onUpdateValue:e=>b.value=e,placeholder:te("t_14_1747280811231"),clearable:!0},{suffix:()=>re("div",{class:"flex items-center"},[re(Ct,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])})]),re(ke,{class:"!my-[1rem]"},null),re("div",{class:Kn.cardContainer},[k.value.map((e=>{var t;return re("div",{key:e.value,class:`${Kn.optionCard} ${w.value.provider===e.value?Kn.optionCardSelected:""}`,onClick:()=>{w.value.provider=e.value}},[re("div",{class:Kn.cardContent},[re(nt,{icon:`resources-${null==(t=e.icon)?void 0:t.replace(/-[a-z]+$/,"")}`,size:"2rem",class:`${Kn.icon} ${w.value.provider===e.value?Kn.iconSelected:""}`},null),re(Je,{type:w.value.provider===e.value?"primary":"default"},{default:()=>[e.label]})])])}))])])]),2===h.value&&re(Ce,{class:Kn.formContainer},{default:()=>[re(A,{labelPlacement:"top"},null)]}),re("div",{class:Kn.footer},[re(ue,{class:Kn.footerButton,onClick:s},Xn(t=te("t_4_1744870861589"))?t:{default:()=>[t]}),re(Se,{trigger:"hover",disabled:!!w.value.provider},{default:()=>[_.value?te("t_4_1745765868807"):null],trigger:()=>re(ue,{type:_.value?"primary":"default",class:Kn.footerButton,disabled:!w.value.provider,onClick:_.value?j:$},{default:()=>[_.value?te("t_27_1745735764546"):te("t_0_1745738961258")]})}),!_.value&&re(ue,{type:"primary",onClick:O},Xn(n=te("t_1_1745738963744"))?n:{default:()=>[n]})])])}}}),ea=o({name:"DeployNode",props:{node:{type:Object,default:()=>({id:"",inputs:{},config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,Hn,((e,t)=>t.provider?re(ot,{icon:t.provider,type:e?"success":"warning"},null):te("t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(Qn,{node:e},null)),!1,"68rem",!1)}}),n}}),ta=Object.freeze(Object.defineProperty({__proto__:null,default:ea},Symbol.toStringTag,{value:"Module"})),na={subject:{trigger:"input",required:!0,validator:(e,t)=>new Promise(((e,n)=>{t?t.length>100?n(new Error(te("t_3_1745887835089")+"长度不能超过100个字符")):e():n(new Error(te("t_3_1745887835089")))}))},body:{trigger:"input",required:!0,validator:(e,t)=>new Promise(((e,n)=>{t?t.length>1e3?n(new Error(te("t_4_1745887835265")+"长度不能超过1000个字符")):e():n(new Error(te("t_4_1745887835265")))}))},provider_id:{trigger:"change",type:"string",required:!0,validator:(e,t)=>new Promise(((e,n)=>{t?e():n(new Error(te("t_0_1745887835267")))}))}},aa=o({name:"NotifyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{provider:"",provider_id:"",subject:"",body:""}})}},setup(e){const{updateNodeConfig:t,isRefreshNode:n}=Rn(),{useFormInput:a,useFormTextarea:o,useFormCustom:r}=pe(),{confirm:l}=_e(),{handleError:i}=Pe(),s=G(fn(e.node.config)),d=[a(te("t_0_1745920566646"),"subject",{placeholder:te("t_3_1745887835089"),allowInput:at}),o(te("t_1_1745920567200"),"body",{placeholder:te("t_4_1745887835265"),rows:4,allowInput:at}),r((()=>re(st,{path:"provider_id",value:s.value.provider_id,isAddMode:!0,"onUpdate:value":e=>{s.value.provider_id=e.value,s.value.provider=e.type}},null)))],{component:u,data:c,example:p}=he({defaultValue:s,config:d,rules:na});return l((async a=>{var o;try{await(null==(o=p.value)?void 0:o.validate()),t(e.node.id,c.value),n.value=e.node.id,a()}catch(r){i(r)}})),()=>re("div",{class:"notify-node-drawer"},[re(u,{labelPlacement:"top"},null)])}}),oa=o({name:"NotifyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,na,((e,t)=>t.provider?re(ot,{icon:t.provider,type:e?"success":"warning"},null):te("t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(aa,{node:e},null)))}}),n}}),ra=Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"})),la={exec_type:{required:!0,message:te("t_31_1745735767891"),trigger:"change"},type:{required:!0,message:te("t_32_1745735767156"),trigger:"change"},week:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"},month:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"},hour:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"},minute:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"}};function ia(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)}const sa=o({name:"StartNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{exec_type:"auto"}})}},setup(e){const{updateNodeConfig:t,isRefreshNode:n}=Rn(),{confirm:a}=_e(),{handleError:o}=Pe(),{useFormRadio:r,useFormCustom:l}=pe(),i=G(fn(e.node.config)),s=[{label:te("t_2_1744875938555"),value:"day"},{label:te("t_0_1744942117992"),value:"week"},{label:te("t_3_1744875938310"),value:"month"}],u=[{label:te("t_1_1744942116527"),value:1},{label:te("t_2_1744942117890"),value:2},{label:te("t_3_1744942117885"),value:3},{label:te("t_4_1744942117738"),value:4},{label:te("t_5_1744942117167"),value:5},{label:te("t_6_1744942117815"),value:6},{label:te("t_7_1744942117862"),value:0}],c={day:{exec_type:"auto",type:"day",hour:1,minute:0},week:{exec_type:"auto",type:"week",hour:1,minute:0,week:1},month:{exec_type:"auto",type:"month",hour:1,minute:0,month:1}},p=(e,t,n,a)=>re(je,null,{default:()=>[re(me,{value:e,onUpdateValue:e=>{null!==e&&t(e)},max:n,min:0,showButton:!1,class:"w-full"},null),re(vt,null,ia(a)?a:{default:()=>[a]})]}),v=d((()=>{const e=[];return"auto"===i.value.exec_type&&e.push(l((()=>{let e,t;return re(ie,{cols:24,xGap:24},{default:()=>[re(se,{label:te("t_2_1744879616413"),span:8,showRequireMark:!0,path:"type"},{default:()=>[re(de,{class:"w-full",options:s,value:i.value.type,"onUpdate:value":e=>i.value.type=e},null)]}),"day"!==i.value.type&&re(se,{span:5,path:"week"===i.value.type?"week":"month"},{default:()=>["week"===i.value.type?re(de,{value:i.value.week,onUpdateValue:e=>{"number"==typeof e&&(i.value.week=e)},options:u},null):p(i.value.month||0,(e=>i.value.month=e),31,te("t_29_1744958838904"))]}),re(se,{span:"day"===i.value.type?7:5,path:"hour"},ia(e=p(i.value.hour||0,(e=>i.value.hour=e),23,te("t_5_1744879615277")))?e:{default:()=>[e]}),re(se,{span:"day"===i.value.type?7:5,path:"minute"},ia(t=p(i.value.minute||0,(e=>i.value.minute=e),59,te("t_3_1744879615723")))?t:{default:()=>[t]})]})}))),[r(te("t_30_1745735764748"),"exec_type",[{label:te("t_4_1744875940750"),value:"auto"},{label:te("t_5_1744875940010"),value:"manual"}]),...e]})),{component:f,data:m,example:h}=he({defaultValue:i,config:v,rules:la}),_=e=>{let t={...e};if("manual"===t.exec_type){const e=Math.floor(6*Math.random())+1,n=5*Math.floor(12*Math.random());t={...t,hour:e,minute:n},i.value=t}};return ae((()=>i.value.exec_type),(e=>{"auto"===e?_(c.day):"manual"===e&&_({exec_type:"manual"})})),ae((()=>i.value.type),(e=>{e&&"auto"===i.value.exec_type&&_(c[e])})),a((async a=>{var r;try{await(null==(r=h.value)?void 0:r.validate()),t(e.node.id,m.value),n.value=e.node.id,a()}catch(l){o(l)}})),()=>re("div",{class:"apply-node-drawer"},[re(f,{labelPlacement:"top"},null)])}}),da=o({name:"StartNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,la,((e,t)=>e?"auto"===t.exec_type?te("t_4_1744875940750"):te("t_5_1744875940010"):"未配置")),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(sa,{node:e},null)))}}),n}}),ua=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"})),ca=En(te("t_12_1747817611391")),pa={key:ca.required("key",te("t_38_1745735769521"),["input","blur","focus"]),cert:ca.required("cert",te("t_40_1745735815317"),["input","blur","focus"])},va=o({name:"UploadNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{cert_id:"",cert:"",key:""}})}},setup(e){const{updateNodeConfig:t,isRefreshNode:n}=Rn(),{useFormTextarea:a,useFormSelect:o,useFormHelp:r}=pe(),l=G(fn(e.node.config)),{confirm:i,options:s}=_e(),{handleError:u}=Pe(),c=s(),p=G([{cert:"",key:"",label:"自定义证书",value:""}]),v=d((()=>""!==l.value.cert_id)),f=d((()=>({readonly:v.value,allowInput:at,rows:6}))),m=d((()=>[o(te("t_0_1747110184700"),"cert_id",p.value,{filterable:!0,onUpdateValue:e=>{l.value.cert_id=e;const t=g(e);t&&(l.value.cert=t.cert,l.value.key=t.key)}},{showRequireMark:!1}),a(te("t_34_1745735771147"),"cert",{placeholder:te("t_35_1745735781545"),...f.value}),a(te("t_36_1745735769443"),"key",{placeholder:te("t_37_1745735779980"),...f.value}),r([{content:te("t_1_1747110191587")},{content:te("t_2_1747110193465")}])])),{component:h,data:_,example:y}=he({defaultValue:l,config:m,rules:pa}),g=e=>p.value.find((t=>t.value===e));return le((async()=>{await(async()=>{try{const{data:e}=await ut({p:1,limit:100}).fetch();p.value=(null==e?void 0:e.map((e=>({cert:e.cert,key:e.key,label:e.domains+" 【 "+e.issuer+" 】",value:e.sha256}))))||[],p.value.unshift({cert:"",key:"",label:"自定义证书",value:""})}catch(e){p.value=[],u(e)}})()})),c.value.confirmText=d((()=>""===l.value.cert_id?te("t_3_1747110185110"):te("t_2_1744861190040"))),i((async a=>{var o;try{if(await(null==(o=y.value)?void 0:o.validate()),""===l.value.cert_id){const{data:e}=await dt(l.value).fetch();l.value.cert_id=e}t(e.node.id,_.value),n.value=e.node.id,a()}catch(r){u(r)}})),()=>re("div",{class:"upload-node-drawer"},[re(h,{labelPlacement:"top"},null)])}}),fa=o({name:"UploadNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,pa,((e,t)=>te(e?"t_8_1745735765753":"t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(va,{node:e},null)))}}),n}}),ma=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),ha=be(),{flowData:_a,selectedNodeId:ya,setflowZoom:ga,initFlowData:ba,updateFlowData:wa,setShowAddNodeSelect:Na,addNode:xa,getAddNodeSelect:ka,resetFlowData:Ca}=Rn(),{workflowData:Sa,addNewWorkflow:ja,updateWorkflowData:$a,resetWorkflowData:Aa}=ct(),{handleError:za}=Pe();const Oa=o({name:"EndNode",setup:()=>()=>re("div",{class:"flex flex-col items-center justify-center"},[re("div",{class:"w-[1.5rem] h-[1.5rem] rounded-[1rem] bg-[#cacaca]"},null),re("div",{class:"text-[#5a5e66] mb-[10rem]"},[ze("流程结束")])])}),Ia="_add_iwsp6_1",Ra="_addBtn_iwsp6_23",Fa="_addBtnIcon_iwsp6_49",Ea="_addSelectBox_iwsp6_55",Da="_addSelectItem_iwsp6_78",Ma="_addSelectItemIcon_iwsp6_98",Pa="_addSelectItemTitle_iwsp6_104",Ba="_addSelected_iwsp6_108",Va="_addLeft_iwsp6_113",Ta="_addRight_iwsp6_122",qa=o({name:"AddNode",props:{node:{type:Object,default:()=>({})}},setup(e){const{isShowAddNodeSelect:t,nodeSelectList:n,addNodeBtnRef:a,addNodeSelectRef:o,addNodeSelectPostion:r,showNodeSelect:l,addNodeData:i,itemNodeSelected:s,excludeNodeSelectList:d}=function(){const e=Rn(),t=G(!1),n=G(null);return ka(),{...e,addNodeData:(e,n)=>{t.value=!1,e.id&&xa(e.id,n,{id:gn()})},itemNodeSelected:()=>{clearTimeout(n.value)},isShowAddNodeSelect:t,showNodeSelect:(e,a)=>{e?(t.value=!1,t.value=e):(clearTimeout(n.value),n.value=window.setTimeout((()=>{t.value=e}),200)),a&&Na(e,a)}}}(),u=G();return ae((()=>e.node.type),(e=>{u.value=An[e]()||{}})),()=>re("div",{class:Ia},[re("div",{ref:a,class:Ra,onMouseenter:()=>l(!0,e.node.type),onMouseleave:()=>l(!1)},[re(nt,{icon:"plus",class:Fa,color:"#FFFFFF"},null),t.value&&re("ul",{ref:o,class:[Ea,1===r.value?Va:Ta]},[n.value.map((t=>{var n;return(null==(n=d.value)?void 0:n.includes(t.type))?null:re("li",{key:t.type,class:[Da,t.selected&&Ba],onClick:()=>i(e.node,t.type),onMouseenter:s},[re(nt,{icon:"flow-"+t.icon.name,class:Ma,color:t.selected?"#FFFFFF":t.icon.color},null),re("div",{class:Pa},[t.title.name])])}))])])])}}),Ua="_flowNodeBranch_yygcj_1",La="_multipleColumns_yygcj_6",Ha="_flowNodeBranchBox_yygcj_10",Za="_hasNestedBranch_yygcj_15",Wa="_flowNodeBranchCol_yygcj_19",Ga="_coverLine_yygcj_39",Ja="_topLeftCoverLine_yygcj_43",Ya="_topRightCoverLine_yygcj_47",Ka="_bottomLeftCoverLine_yygcj_51",Xa="_bottomRightCoverLine_yygcj_55",Qa="_rightCoverLine_yygcj_59",eo="_leftCoverLine_yygcj_63",to="_flowConditionNodeAdd_yygcj_67",no=o({name:"BranchNode",props:{node:{type:Object,default:()=>({})}},setup(e){const{addNode:t}=Rn(),n=G(An[e.node.type]()||{});ae((()=>e.node.type),(e=>{n.value=An[e]()||{}}));const a=()=>{var n,a;const o=gn();t(e.node.id||"",Nn,{id:o,name:`分支${((null==(n=e.node.conditionNodes)?void 0:n.length)||0)+1}`},null==(a=e.node.conditionNodes)?void 0:a.length)},o=()=>{var t;const n=(null==(t=e.node.conditionNodes)?void 0:t.length)||0;return n>3?`${Ua} ${La}`:Ua},r=()=>{var t;const n=null==(t=e.node.conditionNodes)?void 0:t.some((e=>e.childNode&&["branch","execute_result_branch"].includes(e.childNode.type)));return n?`${Ha} ${Za}`:Ha};return()=>{var t,l,i;return re("div",{class:o()},[(null==(t=n.value.operateNode)?void 0:t.addBranch)&&re("div",{class:to,onClick:a},[(null==(l=n.value.operateNode)?void 0:l.addBranchTitle)||"添加分支"]),re("div",{class:r()},[null==(i=e.node.conditionNodes)?void 0:i.map(((t,n)=>{var a,o;return re("div",{class:Wa,key:n,"data-branch-index":n,"data-branches-count":null==(a=e.node.conditionNodes)?void 0:a.length},[re(jo,{node:t},null),0===n&&re("div",null,[re("div",{class:`${Ga} ${Ja}`},null),re("div",{class:`${Ga} ${Ka}`},null),re("div",{class:`${Qa}`},null)]),n===((null==(o=e.node.conditionNodes)?void 0:o.length)||0)-1&&re("div",null,[re("div",{class:`${Ga} ${Ya}`},null),re("div",{class:`${Ga} ${Xa}`},null),re("div",{class:`${eo}`},null)])])}))]),re(qa,{node:e.node},null)])}}}),ao=o({name:"BranchNode",props:{node:{type:Object,default:()=>({})}},setup(e){const{addNode:t}=Rn(),n=G(An[e.node.type]()||{});ae((()=>e.node.type),(e=>{n.value=An[e]()||{}}));const a=()=>{var n,a;const o=gn();t(e.node.id||"",Nn,{id:o,name:`分支${((null==(n=e.node.conditionNodes)?void 0:n.length)||0)+1}`},null==(a=e.node.conditionNodes)?void 0:a.length)},o=()=>{var t;const n=(null==(t=e.node.conditionNodes)?void 0:t.length)||0;return n>3?`${Ua} ${La}`:Ua},r=()=>{var t;const n=null==(t=e.node.conditionNodes)?void 0:t.some((e=>e.childNode&&["branch","execute_result_branch"].includes(e.childNode.type)));return n?`${Ha} ${Za}`:Ha};return()=>{var t,l,i;return re("div",{class:o()},[(null==(t=n.value.operateNode)?void 0:t.addBranch)&&re("div",{class:to,onClick:a},[(null==(l=n.value.operateNode)?void 0:l.addBranchTitle)||"添加分支"]),re("div",{class:r()},[null==(i=e.node.conditionNodes)?void 0:i.map(((t,n)=>{var a,o;return re("div",{class:Wa,key:n,"data-branch-index":n,"data-branches-count":null==(a=e.node.conditionNodes)?void 0:a.length},[re(jo,{node:t},null),0===n&&re("div",null,[re("div",{class:`${Ga} ${Ja}`},null),re("div",{class:`${Ga} ${Ka}`},null),re("div",{class:`${Qa}`},null)]),n===((null==(o=e.node.conditionNodes)?void 0:o.length)||0)-1&&re("div",null,[re("div",{class:`${Ga} ${Ya}`},null),re("div",{class:`${Ga} ${Xa}`},null),re("div",{class:`${eo}`},null)])])}))]),re(qa,{node:e.node},null)])}}}),oo="_node_fkn6k_1",ro="_nodeArrows_fkn6k_5",lo="_nodeContent_fkn6k_19",io="_nodeHeader_fkn6k_44",so="_nodeHeaderBranch_fkn6k_48",uo="_nodeCondition_fkn6k_52",co="_nodeConditionHeader_fkn6k_56",po="_nodeIcon_fkn6k_72",vo="_nodeHeaderTitle_fkn6k_80",fo="_nodeHeaderTitleInput_fkn6k_88",mo="_nodeClose_fkn6k_108",ho="_nodeBody_fkn6k_112",_o="_nodeErrorMsg_fkn6k_129",yo="_nodeErrorMsgBox_fkn6k_133",go="_nodeErrorIcon_fkn6k_137",bo="_nodeErrorTips_fkn6k_141",wo=o({name:"BranchNode",props:{node:{type:Object,default:()=>({})}},setup:()=>()=>re("div",null,[ze("渲染节点失败,请检查类型是否支持")])}),No=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"})),xo=o({name:"BaseNode",props:{node:{type:Object,required:!0}},setup(e){const t=$("taskComponents",{}),{validator:n,validate:a}=cn(),o=G(e.node.id||gn()),l=G(An[e.node.type]()||{}),i=G(null),s=G(!1),u=G(e.node.name),c=G(),p=G(),{removeNode:v,updateNode:f,selectedNodeId:m,selectedNode:h}=Rn(),_=G({isError:!1,message:null,showTips:!1}),y=d((()=>e.node.type===bn)),g=d((()=>{var e,t;return null==(t=null==(e=l.value)?void 0:e.operateNode)?void 0:t.remove})),b=d((()=>[Nn,kn].includes(e.node.type))),w=d((()=>{var t;return e.node.type===kn&&{success:"flow-success",fail:"flow-error"}[null==(t=e.node.config)?void 0:t.type]||""})),N=d((()=>{var t;return e.node.type===kn?(null==(t=e.node.config)?void 0:t.type)||"":"#FFFFFF"}));ae((()=>e.node),(()=>{l.value=An[e.node.type](),u.value=e.node.name,o.value=e.node.id||gn(),n.validateAll();const a=`${e.node.type}Node`;t&&t[a]?c.value=Oe(t[a]):c.value=Oe(Ie({loader:()=>Re((()=>Promise.resolve().then((()=>No))),void 0,import.meta.url),loadingComponent:()=>re("div",null,[ze("Loading...")]),errorComponent:()=>re(wo,null,null)}))}),{immediate:!0});const x=e=>{_.value.showTips=e},k=()=>{var t;(null==(t=p.value)?void 0:t.handleNodeClick)&&e.node.type!==Nn&&e.node.type!==kn&&(m.value=e.node.id||"",p.value.handleNodeClick(h))},C=e=>{13===e.keyCode&&(s.value=!1)},S=e=>{const t=e.target;u.value=t.value,f(o.value,{name:u.value})};return()=>{var t,n,d,f,m,h;return re("div",{class:[oo,!y.value&&ro]},[re("div",{class:[lo,b.value&&uo],onClick:k},[re("div",{class:[io,b.value&&co,w.value?"":so],style:{color:null==(n=null==(t=l.value)?void 0:t.title)?void 0:n.color,backgroundColor:null==(f=null==(d=l.value)?void 0:d.title)?void 0:f.bgColor}},[w.value?re(nt,{icon:w.value?w.value:(null==(h=null==(m=l.value)?void 0:m.icon)?void 0:h.name)||"",class:[po,"!absolute top-[50%] left-[1rem] -mt-[.8rem]"],color:N.value},null):null,re("div",{class:vo,title:"点击编辑"},[re("div",{class:fo},[re("input",{ref:i,value:u.value,onClick:e=>e.stopPropagation(),onInput:S,onBlur:()=>s.value=!1,onKeyup:C},null)])]),g.value&&re("span",{onClick:t=>((e,t,n)=>{const o=a(t);o.valid&&Ve({type:"warning",title:te("t_1_1745765875247",{name:n.name}),content:n.type===Nn?te("t_2_1745765875918"):te("t_3_1745765920953"),onPositiveClick:()=>v(t)}),![kn].includes(n.type)&&o.valid||v(t),e.stopPropagation(),e.preventDefault()})(t,o.value,e.node),class:"flex items-center justify-center absolute top-[50%] right-[1rem] -mt-[.9rem]"},[re(nt,{class:mo,icon:"close",color:b.value?"#333":"#FFFFFF"},null)])]),b.value?null:re("div",{class:[ho]},[c.value&&r(c.value,{id:e.node.id,node:e.node||{},class:"text-center",ref:p})]),_.value.showTips&&re("div",{class:_o},[re("div",{class:yo},[re("span",{onMouseenter:()=>x(!0),onMouseleave:()=>x(!1)},[re(nt,{class:go,icon:"tips",color:"red"},null)]),_.value.message&&re("div",{class:bo},[_.value.message])])])]),re(qa,{node:e.node},null)])}}}),ko="flex flex-col items-center w-full relative",Co="nested-node-wrap w-full",So="deep-nested-node-wrap w-full",jo=o({name:"NodeWrap",props:{node:{type:Object,default:()=>({})},depth:{type:Number,default:0}},setup:e=>({getDepthClass:()=>e.depth&&e.depth>1?e.depth>2?So:Co:ko}),render(){var e;if(!this.node)return null;const t=(this.depth||0)+1;return re("div",{class:this.getDepthClass()},[this.node.type===wn?re(no,{node:this.node},null):null,this.node.type===xn?re(ao,{node:this.node},null):null,[wn,xn].includes(this.node.type)?null:re(xo,{node:this.node},null),(null==(e=this.node.childNode)?void 0:e.type)&&re(jo,{node:this.node.childNode,depth:t},null)])}}),$o={flowContainer:"_flowContainer_4rj8i_1",flowProcess:"_flowProcess_4rj8i_5",flowZoom:"_flowZoom_4rj8i_9",flowZoomIcon:"_flowZoomIcon_4rj8i_13"},Ao=o({name:"FlowChart",props:{isEdit:{type:Boolean,default:!1},type:{type:String,default:"quick"},node:{type:Object,default:()=>({})},taskComponents:{type:Object,default:()=>({})}},setup(e,{slots:t}){const n=ne(["borderColor","dividerColor","textColor1","textColor2","primaryColor","primaryColorHover","bodyColor"]),{flowData:a,selectedNodeId:o,flowZoom:r,resetFlowData:l}=Rn(),{initData:i,handleSaveConfig:s,handleZoom:d,goBack:u}=((e={type:"quick",node:_a.value,isEdit:!1})=>{const t=$e(),n=Ae();return e.node&&ae((()=>e.node),(e=>{wa(e)}),{deep:!0}),{flowData:_a,selectedNodeId:ya,handleSaveConfig:()=>{const{validator:e}=cn(),a=e.validateAll();try{if(a.valid&&_a.value.name){const{active:e}=Sa.value,{id:a,name:o,childNode:r}=_a.value,{exec_type:l,...i}=r.config,s={name:o,active:e,content:JSON.stringify(r),exec_type:l,exec_time:JSON.stringify(i||{})};n.query.isEdit?$a({id:a,...s}):ja(s),t.push("/auto-deploy")}else _a.value.name||ha.error("保存失败,请输入工作流名称");for(const e in a.results)if(a.results.hasOwnProperty(e)){const t=a.results[e];if(!t.valid){ha.error(t.message);break}}}catch(o){za(o).default(te("t_12_1745457489076"))}},handleZoom:e=>{ga(e)},handleRun:()=>{ha.info(te("t_8_1744861189821"))},goBack:()=>{t.back()},initData:()=>{Ca(),Aa(),e.isEdit&&e.node?wa(e.node):"quick"===e.type?ba():"advanced"===e.type&&wa(e.node)}}})({type:null==e?void 0:e.type,node:null==e?void 0:e.node,isEdit:null==e?void 0:e.isEdit});return w("taskComponents",e.taskComponents),le(i),oe(l),()=>{var e;return re("div",{class:"flex flex-col w-full h-full",style:n.value},[re("div",{class:"w-full h-[6rem] px-[2rem] mb-[2rem] rounded-lg flex items-center gap-2 justify-between"},[re("div",{class:"flex items-center"},[re(ue,{onClick:u},{default:()=>[re(Fe,{class:"mr-1"},{default:()=>[re(wt,null,null)]}),te("t_0_1744861190562")]})]),re("div",{class:"flex items-center ml-[.5rem]"},[re(xe,{value:a.value.name,"onUpdate:value":e=>a.value.name=e,placeholder:te("t_0_1745490735213"),class:"!w-[30rem] !border-none "},null)]),re("div",{class:"flex items-center gap-2"},[re(ue,{type:"primary",onClick:s,disabled:!o},{default:()=>[re(Fe,{class:"mr-1"},{default:()=>[re(xt,null,null)]}),te("t_2_1744861190040")]})])]),re("div",{class:"w-full flex"},[re("div",{class:$o.flowContainer},[re("div",{class:$o.flowProcess,style:{transform:`scale(${r.value/100})`}},[re(jo,{node:a.value.childNode},null),re(Oa,null,null)]),re("div",{class:$o.flowZoom},[re("div",{class:$o.flowZoomIcon,onClick:()=>d(1)},[re(nt,{icon:"subtract",class:`${50===r.value?$o.disabled:""}`,color:"#5a5e66"},null)]),re("span",null,[r.value,ze("%")]),re("div",{class:$o.flowZoomIcon,onClick:()=>d(2)},[re(nt,{icon:"plus",class:`${300===r.value?$o.disabled:""}`,color:"#5a5e66"},null)])])])]),null==(e=t.default)?void 0:e.call(t)])}}}),zo=o({name:"WorkflowView",setup(){const{init:e}=(()=>{const{workflowType:e,detectionRefresh:t}=ct(),n=Ae(),a=$e(),o=e=>(e.preventDefault(),e.returnValue=te("t_16_1747886308182"),te("t_16_1747886308182"));return oe((()=>{window.removeEventListener("beforeunload",o)})),{init:()=>{window.addEventListener("beforeunload",o);const r=n.query.type;r&&(e.value=r),t.value||"/auto-deploy"===n.path||a.push("/auto-deploy")}}})(),{workflowType:t,workDefalutNodeData:n,isEdit:a}=ct(),o=Object.assign({"./node/apply/index.tsx":Un,"./node/deploy/index.tsx":ta,"./node/notify/index.tsx":ra,"./node/start/index.tsx":ua,"./node/upload/index.tsx":ma}),r=G({});return Ee((()=>{const e={};Object.entries(o).forEach((([t,n])=>{const a=t.match(/\/node\/([^/]+)\/index\.tsx$/);if(a&&a[1]){const t=a[1];e[`${t}Node`]=n.default||n}})),r.value=e})),le(e),()=>re(Ao,{type:t.value,node:n.value,isEdit:a.value,taskComponents:r.value},null)}});export{zo as default}; diff --git a/build/static/js/index-CiXlCrWk.js b/build/static/js/index-BL1j0ssQ.js similarity index 92% rename from build/static/js/index-CiXlCrWk.js rename to build/static/js/index-BL1j0ssQ.js index cdacf1e..b7572de 100644 --- a/build/static/js/index-CiXlCrWk.js +++ b/build/static/js/index-BL1j0ssQ.js @@ -1 +1 @@ -import{d as e,c as s}from"./main-BFg_w1GP.js";const l=e({name:"BaseComponent",setup(e,{slots:l}){const t=l["header-left"]||l.headerLeft,f=l["header-right"]||l.headerRight,r=l.header,o=l["footer-left"]||l.footerLeft,a=l["footer-right"]||l.footerRight,i=l.footer;return()=>s("div",{class:"flex flex-col"},[r?s("div",{class:"flex justify-between flex-wrap w-full"},[r()]):(t||f)&&s("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[s("div",{class:"flex flex-shrink-0"},[t&&t()]),s("div",{class:"flex flex-shrink-0"},[f&&f()])]),s("div",{class:`w-full content ${r||t||f?"mt-[1.2rem]":""} ${i||o||a?"mb-[1.2rem]":""}`},[l.content&&l.content()]),i?s("div",{class:"flex justify-between w-full"},[i()]):(o||a)&&s("div",{class:"flex justify-between"},[s("div",{class:"flex flex-shrink-0"},[o&&o()]),s("div",{class:"flex flex-shrink-0"},[a&&a()])]),l.popup&&l.popup()])}});export{l as B}; +import{d as e,c as s}from"./main-BFwn2e3T.js";const l=e({name:"BaseComponent",setup(e,{slots:l}){const t=l["header-left"]||l.headerLeft,f=l["header-right"]||l.headerRight,r=l.header,o=l["footer-left"]||l.footerLeft,a=l["footer-right"]||l.footerRight,i=l.footer;return()=>s("div",{class:"flex flex-col"},[r?s("div",{class:"flex justify-between flex-wrap w-full"},[r()]):(t||f)&&s("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[s("div",{class:"flex flex-shrink-0"},[t&&t()]),s("div",{class:"flex flex-shrink-0"},[f&&f()])]),s("div",{class:`w-full content ${r||t||f?"mt-[1.2rem]":""} ${i||o||a?"mb-[1.2rem]":""}`},[l.content&&l.content()]),i?s("div",{class:"flex justify-between w-full"},[i()]):(o||a)&&s("div",{class:"flex justify-between"},[s("div",{class:"flex flex-shrink-0"},[o&&o()]),s("div",{class:"flex flex-shrink-0"},[a&&a()])]),l.popup&&l.popup()])}});export{l as B}; diff --git a/build/static/js/index-P-RSxeKl.js b/build/static/js/index-BfiZrXAG.js similarity index 94% rename from build/static/js/index-P-RSxeKl.js rename to build/static/js/index-BfiZrXAG.js index 6ab887f..5513922 100644 --- a/build/static/js/index-P-RSxeKl.js +++ b/build/static/js/index-BfiZrXAG.js @@ -1 +1 @@ -import{d as t,Y as a,Z as e,_ as s,c as l,aa as r,$ as n,b as i,B as p}from"./main-BFg_w1GP.js";const u={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},o=t({name:"Search",render:function(t,l){return e(),a("svg",u,l[0]||(l[0]=[s("path",{d:"M29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29zM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9z",fill:"currentColor"},null,-1)]))}}),d=t({name:"TableEmptyState",props:{addButtonText:{type:String,required:!0},onAddClick:{type:Function,required:!0}},setup:t=>()=>l("div",{class:"flex justify-center items-center h-full"},[l(r,{class:"px-[4rem]"},{default:()=>[n("t_1_1747754231838"),l(p,{text:!0,type:"primary",size:"small",onClick:t.onAddClick},{default:()=>[t.addButtonText]}),i(","),n("t_2_1747754234999"),l(p,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl/issues"},{default:()=>[i("Issues")]}),i(","),n("t_3_1747754232000"),l(p,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl"},{default:()=>[i("Star")]}),i(","),n("t_4_1747754235407")]})])});export{d as E,o as S}; +import{d as t,Y as a,Z as e,_ as s,c as l,aa as r,$ as n,b as i,B as p}from"./main-BFwn2e3T.js";const u={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},o=t({name:"Search",render:function(t,l){return e(),a("svg",u,l[0]||(l[0]=[s("path",{d:"M29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29zM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9z",fill:"currentColor"},null,-1)]))}}),d=t({name:"TableEmptyState",props:{addButtonText:{type:String,required:!0},onAddClick:{type:Function,required:!0}},setup:t=>()=>l("div",{class:"flex justify-center items-center h-full"},[l(r,{class:"px-[4rem]"},{default:()=>[n("t_1_1747754231838"),l(p,{text:!0,type:"primary",size:"small",onClick:t.onAddClick},{default:()=>[t.addButtonText]}),i(","),n("t_2_1747754234999"),l(p,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl/issues"},{default:()=>[i("Issues")]}),i(","),n("t_3_1747754232000"),l(p,{text:!0,tag:"a",target:"_blank",type:"primary",href:"https://github.com/allinssl/allinssl"},{default:()=>[i("Star")]}),i(","),n("t_4_1747754235407")]})])});export{d as E,o as S}; diff --git a/build/static/js/index-hQeompmg.js b/build/static/js/index-C-PiSnft.js similarity index 99% rename from build/static/js/index-hQeompmg.js rename to build/static/js/index-C-PiSnft.js index aefcf50..9df80bc 100644 --- a/build/static/js/index-hQeompmg.js +++ b/build/static/js/index-C-PiSnft.js @@ -1 +1 @@ -import{d as e,H as o,O as t,E as n,F as r,S as l,r as i,I as a,K as c,ae as s,af as d,l as u,M as v,W as h,G as m,D as p,ag as g,ah as f,ai as b,A as x,aj as C,J as y,ak as w,al as z,am as S,an as I,ao as A,ap as k,aq as T,ar as P,as as _,at as H,au as R,av as N,aw as B,ax as O,ay as L,az as M,aA as $,aB as E,aC as j,Y as F,Z as V,_ as K,u as D,a4 as U,f as q,aD as W,c as G,aE as Y,$ as J,x as X,o as Z,a3 as Q,a as ee,b as oe,a8 as te,T as ne}from"./main-BFg_w1GP.js";import{u as re}from"./index-DDxgyK5X.js";import{u as le,a as ie}from"./index-CTQigr-B.js";import{s as ae}from"./public-CCP70CLD.js";import{u as ce}from"./useStore-JDVosxir.js";import{a as se,F as de,C as ue}from"./Flow-B3iVpgSc.js";import{N as ve}from"./Badge-CgU_X09j.js";import"./index-CtqD4msy.js";import"./setting-DGJTDRYI.js";import"./access-B4X6xtmm.js";const he=e({name:"ChevronDownFilled",render:()=>o("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}),me=t("n-layout-sider"),pe={type:String,default:"static"},ge=n("layout","\n color: var(--n-text-color);\n background-color: var(--n-color);\n box-sizing: border-box;\n position: relative;\n z-index: auto;\n flex: auto;\n overflow: hidden;\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n",[n("layout-scroll-container","\n overflow-x: hidden;\n box-sizing: border-box;\n height: 100%;\n "),r("absolute-positioned","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ")]),fe={embedded:Boolean,position:pe,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},be=t("n-layout");function xe(t){return e({name:t?"LayoutContent":"Layout",props:Object.assign(Object.assign({},c.props),fe),setup(e){const o=i(null),t=i(null),{mergedClsPrefixRef:n,inlineThemeDisabled:r}=a(e),l=c("Layout","-layout",ge,s,e,n);h(be,e);let m=0,p=0;d((()=>{if(e.nativeScrollbar){const e=o.value;e&&(e.scrollTop=p,e.scrollLeft=m)}}));const g={scrollTo:function(n,r){if(e.nativeScrollbar){const{value:e}=o;e&&(void 0===r?e.scrollTo(n):e.scrollTo(n,r))}else{const{value:e}=t;e&&e.scrollTo(n,r)}}},f=u((()=>{const{common:{cubicBezierEaseInOut:o},self:t}=l.value;return{"--n-bezier":o,"--n-color":e.embedded?t.colorEmbedded:t.color,"--n-text-color":t.textColor}})),b=r?v("layout",u((()=>e.embedded?"e":"")),f,e):void 0;return Object.assign({mergedClsPrefix:n,scrollableElRef:o,scrollbarInstRef:t,hasSiderStyle:{display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},mergedTheme:l,handleNativeElScroll:o=>{var t;const n=o.target;m=n.scrollLeft,p=n.scrollTop,null===(t=e.onScroll)||void 0===t||t.call(e,o)},cssVars:r?void 0:f,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender},g)},render(){var e;const{mergedClsPrefix:n,hasSider:r}=this;null===(e=this.onRender)||void 0===e||e.call(this);const i=r?this.hasSiderStyle:void 0,a=[this.themeClass,t&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return o("div",{class:a,style:this.cssVars},this.nativeScrollbar?o("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,i],onScroll:this.handleNativeElScroll},this.$slots):o(l,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,i]}),this.$slots))}})}const Ce=xe(!1),ye=xe(!0),we=n("layout-header","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n box-sizing: border-box;\n width: 100%;\n background-color: var(--n-color);\n color: var(--n-text-color);\n",[r("absolute-positioned","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n "),r("bordered","\n border-bottom: solid 1px var(--n-border-color);\n ")]),ze={position:pe,inverted:Boolean,bordered:{type:Boolean,default:!1}},Se=e({name:"LayoutHeader",props:Object.assign(Object.assign({},c.props),ze),setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:t}=a(e),n=c("Layout","-layout-header",we,s,e,o),r=u((()=>{const{common:{cubicBezierEaseInOut:o},self:t}=n.value,r={"--n-bezier":o};return e.inverted?(r["--n-color"]=t.headerColorInverted,r["--n-text-color"]=t.textColorInverted,r["--n-border-color"]=t.headerBorderColorInverted):(r["--n-color"]=t.headerColor,r["--n-text-color"]=t.textColor,r["--n-border-color"]=t.headerBorderColor),r})),l=t?v("layout-header",u((()=>e.inverted?"a":"b")),r,e):void 0;return{mergedClsPrefix:o,cssVars:t?void 0:r,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return null===(e=this.onRender)||void 0===e||e.call(this),o("div",{class:[`${t}-layout-header`,this.themeClass,this.position&&`${t}-layout-header--${this.position}-positioned`,this.bordered&&`${t}-layout-header--bordered`],style:this.cssVars},this.$slots)}}),Ie=n("layout-sider","\n flex-shrink: 0;\n box-sizing: border-box;\n position: relative;\n z-index: 1;\n color: var(--n-text-color);\n transition:\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n min-width .3s var(--n-bezier),\n max-width .3s var(--n-bezier),\n transform .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n background-color: var(--n-color);\n display: flex;\n justify-content: flex-end;\n",[r("bordered",[m("border",'\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 1px;\n background-color: var(--n-border-color);\n transition: background-color .3s var(--n-bezier);\n ')]),m("left-placement",[r("bordered",[m("border","\n right: 0;\n ")])]),r("right-placement","\n justify-content: flex-start;\n ",[r("bordered",[m("border","\n left: 0;\n ")]),r("collapsed",[n("layout-toggle-button",[n("base-icon","\n transform: rotate(180deg);\n ")]),n("layout-toggle-bar",[p("&:hover",[m("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),n("layout-toggle-button","\n left: 0;\n transform: translateX(-50%) translateY(-50%);\n ",[n("base-icon","\n transform: rotate(0);\n ")]),n("layout-toggle-bar","\n left: -28px;\n transform: rotate(180deg);\n ",[p("&:hover",[m("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),r("collapsed",[n("layout-toggle-bar",[p("&:hover",[m("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),n("layout-toggle-button",[n("base-icon","\n transform: rotate(0);\n ")])]),n("layout-toggle-button","\n transition:\n color .3s var(--n-bezier),\n right .3s var(--n-bezier),\n left .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n cursor: pointer;\n width: 24px;\n height: 24px;\n position: absolute;\n top: 50%;\n right: 0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n color: var(--n-toggle-button-icon-color);\n border: var(--n-toggle-button-border);\n background-color: var(--n-toggle-button-color);\n box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06);\n transform: translateX(50%) translateY(-50%);\n z-index: 1;\n ",[n("base-icon","\n transition: transform .3s var(--n-bezier);\n transform: rotate(180deg);\n ")]),n("layout-toggle-bar","\n cursor: pointer;\n height: 72px;\n width: 32px;\n position: absolute;\n top: calc(50% - 36px);\n right: -28px;\n ",[m("top, bottom","\n position: absolute;\n width: 4px;\n border-radius: 2px;\n height: 38px;\n left: 14px;\n transition: \n background-color .3s var(--n-bezier),\n transform .3s var(--n-bezier);\n "),m("bottom","\n position: absolute;\n top: 34px;\n "),p("&:hover",[m("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),m("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),p("&:hover",[m("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),m("border","\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: 1px;\n transition: background-color .3s var(--n-bezier);\n "),n("layout-sider-scroll-container","\n flex-grow: 1;\n flex-shrink: 0;\n box-sizing: border-box;\n height: 100%;\n opacity: 0;\n transition: opacity .3s var(--n-bezier);\n max-width: 100%;\n "),r("show-content",[n("layout-sider-scroll-container",{opacity:1})]),r("absolute-positioned","\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n ")]),Ae=e({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return o("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},o("div",{class:`${e}-layout-toggle-bar__top`}),o("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),ke=e({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return o("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},o(g,{clsPrefix:e},{default:()=>o(f,null)}))}}),Te={position:pe,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},Pe=e({name:"LayoutSider",props:Object.assign(Object.assign({},c.props),Te),setup(e){const o=x(be),t=i(null),n=i(null),r=i(e.defaultCollapsed),l=C(y(e,"collapsed"),r),m=u((()=>b(l.value?e.collapsedWidth:e.width))),p=u((()=>"transform"!==e.collapseMode?{}:{minWidth:b(e.width)})),g=u((()=>o?o.siderPlacement:"left"));let f=0,z=0;d((()=>{if(e.nativeScrollbar){const e=t.value;e&&(e.scrollTop=z,e.scrollLeft=f)}})),h(me,{collapsedRef:l,collapseModeRef:y(e,"collapseMode")});const{mergedClsPrefixRef:S,inlineThemeDisabled:I}=a(e),A=c("Layout","-layout-sider",Ie,s,e,S);const k={scrollTo:function(o,r){if(e.nativeScrollbar){const{value:e}=t;e&&(void 0===r?e.scrollTo(o):e.scrollTo(o,r))}else{const{value:e}=n;e&&e.scrollTo(o,r)}}},T=u((()=>{const{common:{cubicBezierEaseInOut:o},self:t}=A.value,{siderToggleButtonColor:n,siderToggleButtonBorder:r,siderToggleBarColor:l,siderToggleBarColorHover:i}=t,a={"--n-bezier":o,"--n-toggle-button-color":n,"--n-toggle-button-border":r,"--n-toggle-bar-color":l,"--n-toggle-bar-color-hover":i};return e.inverted?(a["--n-color"]=t.siderColorInverted,a["--n-text-color"]=t.textColorInverted,a["--n-border-color"]=t.siderBorderColorInverted,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColorInverted,a.__invertScrollbar=t.__invertScrollbar):(a["--n-color"]=t.siderColor,a["--n-text-color"]=t.textColor,a["--n-border-color"]=t.siderBorderColor,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColor),a})),P=I?v("layout-sider",u((()=>e.inverted?"a":"b")),T,e):void 0;return Object.assign({scrollableElRef:t,scrollbarInstRef:n,mergedClsPrefix:S,mergedTheme:A,styleMaxWidth:m,mergedCollapsed:l,scrollContainerStyle:p,siderPlacement:g,handleNativeElScroll:o=>{var t;const n=o.target;f=n.scrollLeft,z=n.scrollTop,null===(t=e.onScroll)||void 0===t||t.call(e,o)},handleTransitionend:function(o){var t,n;"max-width"===o.propertyName&&(l.value?null===(t=e.onAfterLeave)||void 0===t||t.call(e):null===(n=e.onAfterEnter)||void 0===n||n.call(e))},handleTriggerClick:function(){const{"onUpdate:collapsed":o,onUpdateCollapsed:t,onExpand:n,onCollapse:i}=e,{value:a}=l;t&&w(t,!a),o&&w(o,!a),r.value=!a,a?n&&w(n):i&&w(i)},inlineThemeDisabled:I,cssVars:T,themeClass:null==P?void 0:P.themeClass,onRender:null==P?void 0:P.onRender},k)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:r}=this;return null===(e=this.onRender)||void 0===e||e.call(this),o("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:b(this.width)}]},this.nativeScrollbar?o("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):o(l,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&"true"===this.cssVars.__invertScrollbar?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?o("bar"===r?Ae:ke,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?o("div",{class:`${t}-layout-sider__border`}):null)}}),_e=t("n-menu"),He=t("n-submenu"),Re=t("n-menu-item-group"),Ne=[p("&::before","background-color: var(--n-item-color-hover);"),m("arrow","\n color: var(--n-arrow-color-hover);\n "),m("icon","\n color: var(--n-item-icon-color-hover);\n "),n("menu-item-content-header","\n color: var(--n-item-text-color-hover);\n ",[p("a","\n color: var(--n-item-text-color-hover);\n "),m("extra","\n color: var(--n-item-text-color-hover);\n ")])],Be=[m("icon","\n color: var(--n-item-icon-color-hover-horizontal);\n "),n("menu-item-content-header","\n color: var(--n-item-text-color-hover-horizontal);\n ",[p("a","\n color: var(--n-item-text-color-hover-horizontal);\n "),m("extra","\n color: var(--n-item-text-color-hover-horizontal);\n ")])],Oe=p([n("menu","\n background-color: var(--n-color);\n color: var(--n-item-text-color);\n overflow: hidden;\n transition: background-color .3s var(--n-bezier);\n box-sizing: border-box;\n font-size: var(--n-font-size);\n padding-bottom: 6px;\n ",[r("horizontal","\n max-width: 100%;\n width: 100%;\n display: flex;\n overflow: hidden;\n padding-bottom: 0;\n ",[n("submenu","margin: 0;"),n("menu-item","margin: 0;"),n("menu-item-content","\n padding: 0 20px;\n border-bottom: 2px solid #0000;\n ",[p("&::before","display: none;"),r("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),n("menu-item-content",[r("selected",[m("icon","color: var(--n-item-icon-color-active-horizontal);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active-horizontal);\n ",[p("a","color: var(--n-item-text-color-active-horizontal);"),m("extra","color: var(--n-item-text-color-active-horizontal);")])]),r("child-active","\n border-bottom: 2px solid var(--n-border-color-horizontal);\n ",[n("menu-item-content-header","\n color: var(--n-item-text-color-child-active-horizontal);\n ",[p("a","\n color: var(--n-item-text-color-child-active-horizontal);\n "),m("extra","\n color: var(--n-item-text-color-child-active-horizontal);\n ")]),m("icon","\n color: var(--n-item-icon-color-child-active-horizontal);\n ")]),z("disabled",[z("selected, child-active",[p("&:focus-within",Be)]),r("selected",[Le(null,[m("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active-hover-horizontal);\n ",[p("a","color: var(--n-item-text-color-active-hover-horizontal);"),m("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),r("child-active",[Le(null,[m("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),n("menu-item-content-header","\n color: var(--n-item-text-color-child-active-hover-horizontal);\n ",[p("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),m("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),Le("border-bottom: 2px solid var(--n-border-color-horizontal);",Be)]),n("menu-item-content-header",[p("a","color: var(--n-item-text-color-horizontal);")])])]),z("responsive",[n("menu-item-content-header","\n overflow: hidden;\n text-overflow: ellipsis;\n ")]),r("collapsed",[n("menu-item-content",[r("selected",[p("&::before","\n background-color: var(--n-item-color-active-collapsed) !important;\n ")]),n("menu-item-content-header","opacity: 0;"),m("arrow","opacity: 0;"),m("icon","color: var(--n-item-icon-color-collapsed);")])]),n("menu-item","\n height: var(--n-item-height);\n margin-top: 6px;\n position: relative;\n "),n("menu-item-content",'\n box-sizing: border-box;\n line-height: 1.75;\n height: 100%;\n display: grid;\n grid-template-areas: "icon content arrow";\n grid-template-columns: auto 1fr auto;\n align-items: center;\n cursor: pointer;\n position: relative;\n padding-right: 18px;\n transition:\n background-color .3s var(--n-bezier),\n padding-left .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ',[p("> *","z-index: 1;"),p("&::before",'\n z-index: auto;\n content: "";\n background-color: #0000;\n position: absolute;\n left: 8px;\n right: 8px;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n '),r("disabled","\n opacity: .45;\n cursor: not-allowed;\n "),r("collapsed",[m("arrow","transform: rotate(0);")]),r("selected",[p("&::before","background-color: var(--n-item-color-active);"),m("arrow","color: var(--n-arrow-color-active);"),m("icon","color: var(--n-item-icon-color-active);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active);\n ",[p("a","color: var(--n-item-text-color-active);"),m("extra","color: var(--n-item-text-color-active);")])]),r("child-active",[n("menu-item-content-header","\n color: var(--n-item-text-color-child-active);\n ",[p("a","\n color: var(--n-item-text-color-child-active);\n "),m("extra","\n color: var(--n-item-text-color-child-active);\n ")]),m("arrow","\n color: var(--n-arrow-color-child-active);\n "),m("icon","\n color: var(--n-item-icon-color-child-active);\n ")]),z("disabled",[z("selected, child-active",[p("&:focus-within",Ne)]),r("selected",[Le(null,[m("arrow","color: var(--n-arrow-color-active-hover);"),m("icon","color: var(--n-item-icon-color-active-hover);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active-hover);\n ",[p("a","color: var(--n-item-text-color-active-hover);"),m("extra","color: var(--n-item-text-color-active-hover);")])])]),r("child-active",[Le(null,[m("arrow","color: var(--n-arrow-color-child-active-hover);"),m("icon","color: var(--n-item-icon-color-child-active-hover);"),n("menu-item-content-header","\n color: var(--n-item-text-color-child-active-hover);\n ",[p("a","color: var(--n-item-text-color-child-active-hover);"),m("extra","color: var(--n-item-text-color-child-active-hover);")])])]),r("selected",[Le(null,[p("&::before","background-color: var(--n-item-color-active-hover);")])]),Le(null,Ne)]),m("icon","\n grid-area: icon;\n color: var(--n-item-icon-color);\n transition:\n color .3s var(--n-bezier),\n font-size .3s var(--n-bezier),\n margin-right .3s var(--n-bezier);\n box-sizing: content-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n "),m("arrow","\n grid-area: arrow;\n font-size: 16px;\n color: var(--n-arrow-color);\n transform: rotate(180deg);\n opacity: 1;\n transition:\n color .3s var(--n-bezier),\n transform 0.2s var(--n-bezier),\n opacity 0.2s var(--n-bezier);\n "),n("menu-item-content-header","\n grid-area: content;\n transition:\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n opacity: 1;\n white-space: nowrap;\n color: var(--n-item-text-color);\n ",[p("a","\n outline: none;\n text-decoration: none;\n transition: color .3s var(--n-bezier);\n color: var(--n-item-text-color);\n ",[p("&::before",'\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),m("extra","\n font-size: .93em;\n color: var(--n-group-text-color);\n transition: color .3s var(--n-bezier);\n ")])]),n("submenu","\n cursor: pointer;\n position: relative;\n margin-top: 6px;\n ",[n("menu-item-content","\n height: var(--n-item-height);\n "),n("submenu-children","\n overflow: hidden;\n padding: 0;\n ",[S({duration:".2s"})])]),n("menu-item-group",[n("menu-item-group-title","\n margin-top: 6px;\n color: var(--n-group-text-color);\n cursor: default;\n font-size: .93em;\n height: 36px;\n display: flex;\n align-items: center;\n transition:\n padding-left .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")])]),n("menu-tooltip",[p("a","\n color: inherit;\n text-decoration: none;\n ")]),n("menu-divider","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-divider-color);\n height: 1px;\n margin: 6px 18px;\n ")]);function Le(e,o){return[r("hover",e,o),p("&:hover",e,o)]}const Me=e({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:o}=x(_e);return{menuProps:o,style:u((()=>{const{paddingLeft:o}=e;return{paddingLeft:o&&`${o}px`}})),iconStyle:u((()=>{const{maxIconSize:o,activeIconSize:t,iconMarginRight:n}=e;return{width:`${o}px`,height:`${o}px`,fontSize:`${t}px`,marginRight:`${n}px`}}))}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:r,renderExtra:l,expandIcon:i}}=this,a=n?n(t.rawNode):I(this.icon);return o("div",{onClick:e=>{var o;null===(o=this.onClick)||void 0===o||o.call(this,e)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&o("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),o("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:r?r(t.rawNode):I(this.title),this.extra||l?o("span",{class:`${e}-menu-item-content-header__extra`}," ",l?l(t.rawNode):I(this.extra)):null),this.showArrow?o(g,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):o(he,null)}):null)}});function $e(e){const o=x(_e),{props:t,mergedCollapsedRef:n}=o,r=x(He,null),l=x(Re,null),i=u((()=>"horizontal"===t.mode)),a=u((()=>i.value?t.dropdownPlacement:"tmNodes"in e?"right-start":"right")),c=u((()=>{var e;return Math.max(null!==(e=t.collapsedIconSize)&&void 0!==e?e:t.iconSize,t.iconSize)})),s=u((()=>{var o;return!i.value&&e.root&&n.value&&null!==(o=t.collapsedIconSize)&&void 0!==o?o:t.iconSize})),d=u((()=>{if(i.value)return;const{collapsedWidth:o,indent:a,rootIndent:s}=t,{root:d,isGroup:u}=e,v=void 0===s?a:s;return d?n.value?o/2-c.value/2:v:l&&"number"==typeof l.paddingLeftRef.value?a/2+l.paddingLeftRef.value:r&&"number"==typeof r.paddingLeftRef.value?(u?a/2:a)+r.paddingLeftRef.value:0})),v=u((()=>{const{collapsedWidth:o,indent:r,rootIndent:l}=t,{value:a}=c,{root:s}=e;if(i.value)return 8;if(!s)return 8;if(!n.value)return 8;return(void 0===l?r:l)+a+8-(o+a)/2}));return{dropdownPlacement:a,activeIconSize:s,maxIconSize:c,paddingLeft:d,iconMarginRight:v,NMenu:o,NSubmenu:r}}const Ee={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},je=e({name:"MenuDivider",setup(){const e=x(_e),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:o("div",{class:`${t.value}-menu-divider`})}}),Fe=Object.assign(Object.assign({},Ee),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),Ve=A(Fe),Ke=e({name:"MenuOption",props:Fe,setup(e){const o=$e(e),{NSubmenu:t,NMenu:n}=o,{props:r,mergedClsPrefixRef:l,mergedCollapsedRef:i}=n,a=t?t.mergedDisabledRef:{value:!1},c=u((()=>a.value||e.disabled));return{mergedClsPrefix:l,dropdownPlacement:o.dropdownPlacement,paddingLeft:o.paddingLeft,iconMarginRight:o.iconMarginRight,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,mergedTheme:n.mergedThemeRef,menuProps:r,dropdownEnabled:T((()=>e.root&&i.value&&"horizontal"!==r.mode&&!c.value)),selected:T((()=>n.mergedValueRef.value===e.internalKey)),mergedDisabled:c,handleClick:function(o){c.value||(n.doSelect(e.internalKey,e.tmNode.rawNode),function(o){const{onClick:t}=e;t&&t(o)}(o))}}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:r,nodeProps:l}}=this,i=null==l?void 0:l(n.rawNode);return o("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,null==i?void 0:i.class]}),o(k,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||void 0===this.title,internalExtraClass:["menu-tooltip"]},{default:()=>r?r(n.rawNode):I(this.title),trigger:()=>o(Me,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),De=Object.assign(Object.assign({},Ee),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),Ue=A(De),qe=e({name:"MenuOptionGroup",props:De,setup(e){h(He,null);const t=$e(e);h(Re,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:r}=x(_e);return function(){const{value:l}=n,i=t.paddingLeft.value,{nodeProps:a}=r,c=null==a?void 0:a(e.tmNode.rawNode);return o("div",{class:`${l}-menu-item-group`,role:"group"},o("div",Object.assign({},c,{class:[`${l}-menu-item-group-title`,null==c?void 0:c.class],style:[(null==c?void 0:c.style)||"",void 0!==i?`padding-left: ${i}px;`:""]}),I(e.title),e.extra?o(P,null," ",I(e.extra)):null),o("div",null,e.tmNodes.map((e=>Ge(e,r)))))}}});function We(e){return"divider"===e.type||"render"===e.type}function Ge(e,t){const{rawNode:n}=e,{show:r}=n;if(!1===r)return null;if(We(n))return function(e){return"divider"===e.type}(n)?o(je,Object.assign({key:e.key},n.props)):null;const{labelField:l}=t,{key:i,level:a,isGroup:c}=e,s=Object.assign(Object.assign({},n),{title:n.title||n[l],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:0===a,isGroup:c});return e.children?e.isGroup?o(qe,_(s,Ue,{tmNode:e,tmNodes:e.children,key:i})):o(Xe,_(s,Je,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):o(Ke,_(s,Ve,{key:i,tmNode:e}))}const Ye=Object.assign(Object.assign({},Ee),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),Je=A(Ye),Xe=e({name:"Submenu",props:Ye,setup(e){const o=$e(e),{NMenu:t,NSubmenu:n}=o,{props:r,mergedCollapsedRef:l,mergedThemeRef:a}=t,c=u((()=>{const{disabled:o}=e;return!!(null==n?void 0:n.mergedDisabledRef.value)||(!!r.disabled||o)})),s=i(!1);return h(He,{paddingLeftRef:o.paddingLeft,mergedDisabledRef:c}),h(Re,null),{menuProps:r,mergedTheme:a,doSelect:t.doSelect,inverted:t.invertedRef,isHorizontal:t.isHorizontalRef,mergedClsPrefix:t.mergedClsPrefixRef,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,iconMarginRight:o.iconMarginRight,dropdownPlacement:o.dropdownPlacement,dropdownShow:s,paddingLeft:o.paddingLeft,mergedDisabled:c,mergedValue:t.mergedValueRef,childActive:T((()=>{var o;return null!==(o=e.virtualChildActive)&&void 0!==o?o:t.activePathRef.value.includes(e.internalKey)})),collapsed:u((()=>"horizontal"!==r.mode&&(!!l.value||!t.mergedExpandedKeysRef.value.includes(e.internalKey)))),dropdownEnabled:u((()=>!c.value&&("horizontal"===r.mode||l.value))),handlePopoverShowChange:function(e){s.value=e},handleClick:function(){c.value||(l.value||t.toggleExpand(e.internalKey),function(){const{onClick:o}=e;o&&o()}())}}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:r}}=this,l=()=>{const{isHorizontal:e,paddingLeft:t,collapsed:n,mergedDisabled:r,maxIconSize:l,activeIconSize:i,title:a,childActive:c,icon:s,handleClick:d,menuProps:{nodeProps:u},dropdownShow:v,iconMarginRight:h,tmNode:m,mergedClsPrefix:p,isEllipsisPlaceholder:g,extra:f}=this,b=null==u?void 0:u(m.rawNode);return o("div",Object.assign({},b,{class:[`${p}-menu-item`,null==b?void 0:b.class],role:"menuitem"}),o(Me,{tmNode:m,paddingLeft:t,collapsed:n,disabled:r,iconMarginRight:h,maxIconSize:l,activeIconSize:i,title:a,extra:f,showArrow:!e,childActive:c,clsPrefix:p,icon:s,hover:v,onClick:d,isEllipsisPlaceholder:g}))},i=()=>o(R,null,{default:()=>{const{tmNodes:e,collapsed:n}=this;return n?null:o("div",{class:`${t}-submenu-children`,role:"menu"},e.map((e=>Ge(e,this.menuProps))))}});return this.root?o(H,Object.assign({size:"large",trigger:"hover"},null===(e=this.menuProps)||void 0===e?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:r}),{default:()=>o("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),this.isHorizontal?null:i())}):o("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),i())}}),Ze=Object.assign(Object.assign({},c.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),Qe=e({name:"Menu",inheritAttrs:!1,props:Ze,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=a(e),r=c("Menu","-menu",Oe,B,e,t),l=x(me,null),s=u((()=>{var o;const{collapsed:t}=e;if(void 0!==t)return t;if(l){const{collapseModeRef:e,collapsedRef:t}=l;if("width"===e.value)return null!==(o=t.value)&&void 0!==o&&o}return!1})),d=u((()=>{const{keyField:o,childrenField:t,disabledField:n}=e;return O(e.items||e.options,{getIgnored:e=>We(e),getChildren:e=>e[t],getDisabled:e=>e[n],getKey(e){var t;return null!==(t=e[o])&&void 0!==t?t:e.name}})})),m=u((()=>new Set(d.value.treeNodes.map((e=>e.key))))),{watchProps:p}=e,g=i(null);(null==p?void 0:p.includes("defaultValue"))?L((()=>{g.value=e.defaultValue})):g.value=e.defaultValue;const f=y(e,"value"),b=C(f,g),z=i([]),S=()=>{z.value=e.defaultExpandAll?d.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||d.value.getPath(b.value,{includeSelf:!1}).keyPath};(null==p?void 0:p.includes("defaultExpandedKeys"))?L(S):S();const I=M(e,["expandedNames","expandedKeys"]),A=C(I,z),k=u((()=>d.value.treeNodes)),T=u((()=>d.value.getPath(b.value).keyPath));function P(o){const{"onUpdate:expandedKeys":t,onUpdateExpandedKeys:n,onExpandedNamesChange:r,onOpenNamesChange:l}=e;t&&w(t,o),n&&w(n,o),r&&w(r,o),l&&w(l,o),z.value=o}h(_e,{props:e,mergedCollapsedRef:s,mergedThemeRef:r,mergedValueRef:b,mergedExpandedKeysRef:A,activePathRef:T,mergedClsPrefixRef:t,isHorizontalRef:u((()=>"horizontal"===e.mode)),invertedRef:y(e,"inverted"),doSelect:function(o,t){const{"onUpdate:value":n,onUpdateValue:r,onSelect:l}=e;r&&w(r,o,t);n&&w(n,o,t);l&&w(l,o,t);g.value=o},toggleExpand:function(o){const t=Array.from(A.value),n=t.findIndex((e=>e===o));if(~n)t.splice(n,1);else{if(e.accordion&&m.value.has(o)){const e=t.findIndex((e=>m.value.has(e)));e>-1&&t.splice(e,1)}t.push(o)}P(t)}});const _=u((()=>{const{inverted:o}=e,{common:{cubicBezierEaseInOut:t},self:n}=r.value,{borderRadius:l,borderColorHorizontal:i,fontSize:a,itemHeight:c,dividerColor:s}=n,d={"--n-divider-color":s,"--n-bezier":t,"--n-font-size":a,"--n-border-color-horizontal":i,"--n-border-radius":l,"--n-item-height":c};return o?(d["--n-group-text-color"]=n.groupTextColorInverted,d["--n-color"]=n.colorInverted,d["--n-item-text-color"]=n.itemTextColorInverted,d["--n-item-text-color-hover"]=n.itemTextColorHoverInverted,d["--n-item-text-color-active"]=n.itemTextColorActiveInverted,d["--n-item-text-color-child-active"]=n.itemTextColorChildActiveInverted,d["--n-item-text-color-child-active-hover"]=n.itemTextColorChildActiveInverted,d["--n-item-text-color-active-hover"]=n.itemTextColorActiveHoverInverted,d["--n-item-icon-color"]=n.itemIconColorInverted,d["--n-item-icon-color-hover"]=n.itemIconColorHoverInverted,d["--n-item-icon-color-active"]=n.itemIconColorActiveInverted,d["--n-item-icon-color-active-hover"]=n.itemIconColorActiveHoverInverted,d["--n-item-icon-color-child-active"]=n.itemIconColorChildActiveInverted,d["--n-item-icon-color-child-active-hover"]=n.itemIconColorChildActiveHoverInverted,d["--n-item-icon-color-collapsed"]=n.itemIconColorCollapsedInverted,d["--n-item-text-color-horizontal"]=n.itemTextColorHorizontalInverted,d["--n-item-text-color-hover-horizontal"]=n.itemTextColorHoverHorizontalInverted,d["--n-item-text-color-active-horizontal"]=n.itemTextColorActiveHorizontalInverted,d["--n-item-text-color-child-active-horizontal"]=n.itemTextColorChildActiveHorizontalInverted,d["--n-item-text-color-child-active-hover-horizontal"]=n.itemTextColorChildActiveHoverHorizontalInverted,d["--n-item-text-color-active-hover-horizontal"]=n.itemTextColorActiveHoverHorizontalInverted,d["--n-item-icon-color-horizontal"]=n.itemIconColorHorizontalInverted,d["--n-item-icon-color-hover-horizontal"]=n.itemIconColorHoverHorizontalInverted,d["--n-item-icon-color-active-horizontal"]=n.itemIconColorActiveHorizontalInverted,d["--n-item-icon-color-active-hover-horizontal"]=n.itemIconColorActiveHoverHorizontalInverted,d["--n-item-icon-color-child-active-horizontal"]=n.itemIconColorChildActiveHorizontalInverted,d["--n-item-icon-color-child-active-hover-horizontal"]=n.itemIconColorChildActiveHoverHorizontalInverted,d["--n-arrow-color"]=n.arrowColorInverted,d["--n-arrow-color-hover"]=n.arrowColorHoverInverted,d["--n-arrow-color-active"]=n.arrowColorActiveInverted,d["--n-arrow-color-active-hover"]=n.arrowColorActiveHoverInverted,d["--n-arrow-color-child-active"]=n.arrowColorChildActiveInverted,d["--n-arrow-color-child-active-hover"]=n.arrowColorChildActiveHoverInverted,d["--n-item-color-hover"]=n.itemColorHoverInverted,d["--n-item-color-active"]=n.itemColorActiveInverted,d["--n-item-color-active-hover"]=n.itemColorActiveHoverInverted,d["--n-item-color-active-collapsed"]=n.itemColorActiveCollapsedInverted):(d["--n-group-text-color"]=n.groupTextColor,d["--n-color"]=n.color,d["--n-item-text-color"]=n.itemTextColor,d["--n-item-text-color-hover"]=n.itemTextColorHover,d["--n-item-text-color-active"]=n.itemTextColorActive,d["--n-item-text-color-child-active"]=n.itemTextColorChildActive,d["--n-item-text-color-child-active-hover"]=n.itemTextColorChildActiveHover,d["--n-item-text-color-active-hover"]=n.itemTextColorActiveHover,d["--n-item-icon-color"]=n.itemIconColor,d["--n-item-icon-color-hover"]=n.itemIconColorHover,d["--n-item-icon-color-active"]=n.itemIconColorActive,d["--n-item-icon-color-active-hover"]=n.itemIconColorActiveHover,d["--n-item-icon-color-child-active"]=n.itemIconColorChildActive,d["--n-item-icon-color-child-active-hover"]=n.itemIconColorChildActiveHover,d["--n-item-icon-color-collapsed"]=n.itemIconColorCollapsed,d["--n-item-text-color-horizontal"]=n.itemTextColorHorizontal,d["--n-item-text-color-hover-horizontal"]=n.itemTextColorHoverHorizontal,d["--n-item-text-color-active-horizontal"]=n.itemTextColorActiveHorizontal,d["--n-item-text-color-child-active-horizontal"]=n.itemTextColorChildActiveHorizontal,d["--n-item-text-color-child-active-hover-horizontal"]=n.itemTextColorChildActiveHoverHorizontal,d["--n-item-text-color-active-hover-horizontal"]=n.itemTextColorActiveHoverHorizontal,d["--n-item-icon-color-horizontal"]=n.itemIconColorHorizontal,d["--n-item-icon-color-hover-horizontal"]=n.itemIconColorHoverHorizontal,d["--n-item-icon-color-active-horizontal"]=n.itemIconColorActiveHorizontal,d["--n-item-icon-color-active-hover-horizontal"]=n.itemIconColorActiveHoverHorizontal,d["--n-item-icon-color-child-active-horizontal"]=n.itemIconColorChildActiveHorizontal,d["--n-item-icon-color-child-active-hover-horizontal"]=n.itemIconColorChildActiveHoverHorizontal,d["--n-arrow-color"]=n.arrowColor,d["--n-arrow-color-hover"]=n.arrowColorHover,d["--n-arrow-color-active"]=n.arrowColorActive,d["--n-arrow-color-active-hover"]=n.arrowColorActiveHover,d["--n-arrow-color-child-active"]=n.arrowColorChildActive,d["--n-arrow-color-child-active-hover"]=n.arrowColorChildActiveHover,d["--n-item-color-hover"]=n.itemColorHover,d["--n-item-color-active"]=n.itemColorActive,d["--n-item-color-active-hover"]=n.itemColorActiveHover,d["--n-item-color-active-collapsed"]=n.itemColorActiveCollapsed),d})),H=n?v("menu",u((()=>e.inverted?"a":"b")),_,e):void 0,R=$(),N=i(null),E=i(null);let j=!0;const F=()=>{var e;j?j=!1:null===(e=N.value)||void 0===e||e.sync({showAllItemsBeforeCalculate:!0})};const V=i(-1);const K=u((()=>{const o=V.value;return{children:-1===o?[]:e.options.slice(o)}})),D=u((()=>{const{childrenField:o,disabledField:t,keyField:n}=e;return O([K.value],{getIgnored:e=>We(e),getChildren:e=>e[o],getDisabled:e=>e[t],getKey(e){var o;return null!==(o=e[n])&&void 0!==o?o:e.name}})})),U=u((()=>O([{}]).treeNodes[0]));return{mergedClsPrefix:t,controlledExpandedKeys:I,uncontrolledExpanededKeys:z,mergedExpandedKeys:A,uncontrolledValue:g,mergedValue:b,activePath:T,tmNodes:k,mergedTheme:r,mergedCollapsed:s,cssVars:n?void 0:_,themeClass:null==H?void 0:H.themeClass,overflowRef:N,counterRef:E,updateCounter:()=>{},onResize:F,onUpdateOverflow:function(e){e||(V.value=-1)},onUpdateCount:function(o){V.value=e.options.length-o},renderCounter:function(){var e;if(-1===V.value)return o(Xe,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:U.value,domId:R,isEllipsisPlaceholder:!0});const t=D.value.treeNodes[0],n=T.value,r=!!(null===(e=t.children)||void 0===e?void 0:e.some((e=>n.includes(e.key))));return o(Xe,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:r,tmNode:t,domId:R,rawNodes:t.rawNode.children||[],tmNodes:t.children||[],isEllipsisPlaceholder:!0})},getCounter:function(){return document.getElementById(R)},onRender:null==H?void 0:H.onRender,showOption:o=>{const t=d.value.getPath(null!=o?o:b.value,{includeSelf:!1}).keyPath;if(!t.length)return;const n=Array.from(A.value),r=new Set([...n,...t]);e.accordion&&m.value.forEach((e=>{r.has(e)&&!t.includes(e)&&r.delete(e)})),P(Array.from(r))},deriveResponsiveState:F}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:r}=this;null==r||r();const l=()=>this.tmNodes.map((e=>Ge(e,this.$props))),i="horizontal"===t&&this.responsive,a=()=>o("div",j(this.$attrs,{role:"horizontal"===t?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,i&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars}),i?o(E,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:l,counter:this.renderCounter}):l());return i?o(N,{onResize:this.onResize},{default:a}):a()}}),eo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},oo=e({name:"ApiOutlined",render:function(e,o){return V(),F("svg",eo,o[0]||(o[0]=[K("path",{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 0 0-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 0 0 0 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3c2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4l-186.8-186.8l59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7c35.3 0 68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4c0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 0 0-11.3 0L501 613.3L410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 0 0-11.3 0L363 475.3l-43-43a7.85 7.85 0 0 0-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 0 0 0 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3c51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 0 1-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 0 1-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4l186.8 186.8l-59.4 59.4z",fill:"currentColor"},null,-1)]))}}),to={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},no=e({name:"MenuFoldOutlined",render:function(e,o){return V(),F("svg",to,o[0]||(o[0]=[K("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z",fill:"currentColor"},null,-1)]))}}),ro={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},lo=e({name:"MenuUnfoldOutlined",render:function(e,o){return V(),F("svg",ro,o[0]||(o[0]=[K("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z",fill:"currentColor"},null,-1)]))}}),io={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},ao=e({name:"AddSquare24Regular",render:function(e,o){return V(),F("svg",io,o[0]||(o[0]=[K("g",{fill:"none"},[K("path",{d:"M12 7a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7zm-9-.75A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25zM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25v11.5c0 .966.784 1.75 1.75 1.75h11.5a1.75 1.75 0 0 0 1.75-1.75V6.25a1.75 1.75 0 0 0-1.75-1.75H6.25z",fill:"currentColor"})],-1)]))}}),co={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},so=e({name:"Home",render:function(e,o){return V(),F("svg",co,o[0]||(o[0]=[K("path",{d:"M16.612 2.214a1.01 1.01 0 0 0-1.242 0L1 13.419l1.243 1.572L4 13.621V26a2.004 2.004 0 0 0 2 2h20a2.004 2.004 0 0 0 2-2V13.63L29.757 15L31 13.428zM18 26h-4v-8h4zm2 0v-8a2.002 2.002 0 0 0-2-2h-4a2.002 2.002 0 0 0-2 2v8H6V12.062l10-7.79l10 7.8V26z",fill:"currentColor"},null,-1)]))}}),uo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},vo=e({name:"LogOutOutline",render:function(e,o){return V(),F("svg",uo,o[0]||(o[0]=[K("path",{d:"M304 336v40a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V136a40 40 0 0 1 40-40h152c22.09 0 48 17.91 48 40v40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),K("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 336l80-80l-80-80"},null,-1),K("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 256h256"},null,-1)]))}}),ho={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},mo=e({name:"SettingsOutline",render:function(e,o){return V(),F("svg",ho,o[0]||(o[0]=[K("path",{d:"M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155.3 155.3 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155.3 155.3 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),po={layoutContainer:"_layoutContainer_1a9f3_2",sider:"_sider_1a9f3_8",logoContainer:"_logoContainer_1a9f3_14",logoText:"_logoText_1a9f3_21",logoContainerText:"_logoContainerText_1a9f3_30",logoContainerActive:"_logoContainerActive_1a9f3_35",menuToggleButton:"_menuToggleButton_1a9f3_40",headerMenuToggleButton:"_headerMenuToggleButton_1a9f3_51",header:"_header_1a9f3_51",systemInfo:"_systemInfo_1a9f3_75",content:"_content_1a9f3_82",siderMobileOpen:"_siderMobileOpen_1a9f3_89",siderMobileClosed:"_siderMobileClosed_1a9f3_98",mobileMenuBackdrop:"_mobileMenuBackdrop_1a9f3_106"},go=e({name:"LayoutView",setup(){const{menuItems:e,menuActive:t,isCollapsed:n,toggleCollapse:r,handleExpand:l,handleCollapse:a,updateMenuActive:c}=(()=>{const e=ce(),t=D(),n=U(),r=q(),{handleError:l}=le(),{isCollapsed:a,menuActive:c,updateMenuActive:s,toggleCollapse:d,handleCollapse:v,handleExpand:h,resetDataInfo:m}=e,p=i(!1),g=i({}),f=e=>{const t={certManage:ue,autoDeploy:de,home:so,certApply:ao,monitor:se,settings:mo,logout:vo,authApiManage:oo};return()=>o(Q,null,(()=>o(t[e]||"div")))},b=u((()=>[...W.filter((e=>{var o;return null==(o=e.meta)?void 0:o.title})).map((e=>({key:e.name,label:()=>G(Y,{to:e.path},{default:()=>{var o;return[null==(o=null==e?void 0:e.meta)?void 0:o.title]}}),icon:f(e.name)}))),{key:"logout",label:()=>G("a",{onClick:C},[J("t_15_1745457484292")]),icon:f("logout")}])),x=()=>{const e=n.path;if(p.value=e.includes("/children/"),p.value){const e=W.find((e=>e.name===c.value));if(e&&e.children){const o=e.children.find((e=>n.path.includes(e.path)));g.value=o||{}}else g.value={}}else g.value={}};X((()=>n.name),(e=>{e&&e!==c.value&&s(e),x()}),{immediate:!0});const C=async()=>{try{await ie({title:J("t_15_1745457484292"),content:J("t_16_1745457491607"),onPositiveClick:async()=>{try{r.success(J("t_17_1745457488251")),await ae().fetch(),setTimeout((()=>{m(),sessionStorage.clear(),t.push("/login")}),1e3)}catch(e){l(e)}}})}catch(e){}};return Z((async()=>{x()})),{isCollapsed:a,menuActive:c,updateMenuActive:s,toggleCollapse:d,handleCollapse:v,handleExpand:h,resetDataInfo:m,handleLogout:C,menuItems:b,isChildRoute:p,childRouteConfig:g}})(),s=ee(["bodyColor","headerColor","borderColor","textColorBase","textColor1","textColor2","textColorSecondary","actionColor","layoutContentBackgroundColor","siderLoginHeight","contentPadding"]),d=i(200),v=i(60),h=re("(max-width: 768px)"),m=re("(max-width: 1100px)");Z((()=>{(h.value||m.value)&&(n.value=!0)})),X(m,(e=>{e&&!h.value?n.value=!0:e||h.value||(n.value=!1)}));const p=u((()=>!h.value&&n.value)),g=u((()=>n.value)),f=u((()=>h.value?n.value?po.siderMobileClosed:po.siderMobileOpen:"")),b=u((()=>h.value&&!n.value));return()=>G(Ce,{class:po.layoutContainer,hasSider:!0,style:s.value},{default:()=>[G(Pe,{width:d.value,collapsed:p.value,showTrigger:!1,collapseMode:"width",collapsedWidth:v.value,onCollapse:a,onExpand:l,class:[po.sider,f.value].join(" "),bordered:!0},{default:()=>[G("div",{class:`${po.logoContainer} ${!h.value&&n.value?po.logoContainerActive:""}`},[!h.value&&n.value?G("div",{class:"flex items-center justify-center w-full h-full"},[G("img",{src:"/static/images/logo.png",alt:"logo",class:"h-8 w-8"},null)]):G("div",{class:po.logoContainerText},[G("img",{src:"/static/images/logo.png",alt:"logo",class:"h-8 w-8 mr-2 sm:mr-3"},null),G("span",{class:`${po.logoText} ml-0 font-bold`},[J("t_1_1744164835667")])]),!n.value&&!h.value&&G(k,{placement:"right",trigger:"hover"},{trigger:()=>G("div",{class:po.menuToggleButton,onClick:()=>r()},[G(Q,{size:20},{default:()=>[G(no,null,null)]}),oe(" ")]),default:()=>G("span",null,[J("t_4_1744098802046")])})]),G(Qe,{value:t.value,onUpdateValue:(e,o)=>{c(e),h.value&&!n.value&&(n.value=!0)},options:e.value,class:"border-none",collapsed:g.value,collapsedWidth:v.value,collapsedIconSize:22},null)]}),G(Ce,null,{default:()=>[G(Se,{class:po.header},{default:()=>[(h.value||!h.value&&n.value)&&G("div",{class:"mr-auto"},[G(k,{placement:"right",trigger:"hover"},{trigger:()=>G("div",{class:po.headerMenuToggleButton,onClick:()=>r()},[G(Q,{size:20},{default:()=>[n.value?G(lo,null,null):G(no,null,null)]})]),default:()=>G("span",null,[oe("展开主菜单")])})]),G("div",{class:po.systemInfo},[G(ve,{value:1,show:!1,dot:!0},{default:()=>[G("span",{class:"px-1 sm:px-[.5rem] cursor-pointer"},[oe("v1.0.3")])]})])]}),G(ye,{class:po.content},{default:()=>[G(te,null,{default:({Component:e})=>G(ne,{name:"fade",mode:"out-in"},{default:()=>[e&&o(e)]})})]})]}),b.value&&G("div",{class:po.mobileMenuBackdrop,onClick:()=>r()},null)]})}});export{go as default}; +import{d as e,H as o,O as t,E as n,F as r,S as l,r as i,I as a,K as c,ae as s,af as d,l as u,M as v,W as h,G as m,D as p,ag as g,ah as f,ai as b,A as x,aj as C,J as y,ak as w,al as z,am as S,an as I,ao as A,ap as k,aq as T,ar as P,as as _,at as H,au as R,av as N,aw as B,ax as O,ay as L,az as M,aA as $,aB as E,aC as j,Y as F,Z as V,_ as K,u as D,a4 as U,f as q,aD as W,c as G,aE as Y,$ as J,x as X,o as Z,a3 as Q,a as ee,b as oe,a8 as te,T as ne}from"./main-BFwn2e3T.js";import{u as re}from"./index-rVZjvqYb.js";import{u as le,a as ie}from"./index-DVPyxbgP.js";import{s as ae}from"./public-CIep3lyx.js";import{u as ce}from"./useStore-BJbmyusH.js";import{a as se,F as de,C as ue}from"./Flow-D8EIzUgU.js";import{N as ve}from"./Badge-CqHx9Tf7.js";import"./index-9yXMuG-J.js";import"./setting-pEP5KeW9.js";import"./access-FhEUImRw.js";const he=e({name:"ChevronDownFilled",render:()=>o("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}),me=t("n-layout-sider"),pe={type:String,default:"static"},ge=n("layout","\n color: var(--n-text-color);\n background-color: var(--n-color);\n box-sizing: border-box;\n position: relative;\n z-index: auto;\n flex: auto;\n overflow: hidden;\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n",[n("layout-scroll-container","\n overflow-x: hidden;\n box-sizing: border-box;\n height: 100%;\n "),r("absolute-positioned","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ")]),fe={embedded:Boolean,position:pe,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},be=t("n-layout");function xe(t){return e({name:t?"LayoutContent":"Layout",props:Object.assign(Object.assign({},c.props),fe),setup(e){const o=i(null),t=i(null),{mergedClsPrefixRef:n,inlineThemeDisabled:r}=a(e),l=c("Layout","-layout",ge,s,e,n);h(be,e);let m=0,p=0;d((()=>{if(e.nativeScrollbar){const e=o.value;e&&(e.scrollTop=p,e.scrollLeft=m)}}));const g={scrollTo:function(n,r){if(e.nativeScrollbar){const{value:e}=o;e&&(void 0===r?e.scrollTo(n):e.scrollTo(n,r))}else{const{value:e}=t;e&&e.scrollTo(n,r)}}},f=u((()=>{const{common:{cubicBezierEaseInOut:o},self:t}=l.value;return{"--n-bezier":o,"--n-color":e.embedded?t.colorEmbedded:t.color,"--n-text-color":t.textColor}})),b=r?v("layout",u((()=>e.embedded?"e":"")),f,e):void 0;return Object.assign({mergedClsPrefix:n,scrollableElRef:o,scrollbarInstRef:t,hasSiderStyle:{display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},mergedTheme:l,handleNativeElScroll:o=>{var t;const n=o.target;m=n.scrollLeft,p=n.scrollTop,null===(t=e.onScroll)||void 0===t||t.call(e,o)},cssVars:r?void 0:f,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender},g)},render(){var e;const{mergedClsPrefix:n,hasSider:r}=this;null===(e=this.onRender)||void 0===e||e.call(this);const i=r?this.hasSiderStyle:void 0,a=[this.themeClass,t&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return o("div",{class:a,style:this.cssVars},this.nativeScrollbar?o("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,i],onScroll:this.handleNativeElScroll},this.$slots):o(l,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,i]}),this.$slots))}})}const Ce=xe(!1),ye=xe(!0),we=n("layout-header","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n box-sizing: border-box;\n width: 100%;\n background-color: var(--n-color);\n color: var(--n-text-color);\n",[r("absolute-positioned","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n "),r("bordered","\n border-bottom: solid 1px var(--n-border-color);\n ")]),ze={position:pe,inverted:Boolean,bordered:{type:Boolean,default:!1}},Se=e({name:"LayoutHeader",props:Object.assign(Object.assign({},c.props),ze),setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:t}=a(e),n=c("Layout","-layout-header",we,s,e,o),r=u((()=>{const{common:{cubicBezierEaseInOut:o},self:t}=n.value,r={"--n-bezier":o};return e.inverted?(r["--n-color"]=t.headerColorInverted,r["--n-text-color"]=t.textColorInverted,r["--n-border-color"]=t.headerBorderColorInverted):(r["--n-color"]=t.headerColor,r["--n-text-color"]=t.textColor,r["--n-border-color"]=t.headerBorderColor),r})),l=t?v("layout-header",u((()=>e.inverted?"a":"b")),r,e):void 0;return{mergedClsPrefix:o,cssVars:t?void 0:r,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return null===(e=this.onRender)||void 0===e||e.call(this),o("div",{class:[`${t}-layout-header`,this.themeClass,this.position&&`${t}-layout-header--${this.position}-positioned`,this.bordered&&`${t}-layout-header--bordered`],style:this.cssVars},this.$slots)}}),Ie=n("layout-sider","\n flex-shrink: 0;\n box-sizing: border-box;\n position: relative;\n z-index: 1;\n color: var(--n-text-color);\n transition:\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n min-width .3s var(--n-bezier),\n max-width .3s var(--n-bezier),\n transform .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n background-color: var(--n-color);\n display: flex;\n justify-content: flex-end;\n",[r("bordered",[m("border",'\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 1px;\n background-color: var(--n-border-color);\n transition: background-color .3s var(--n-bezier);\n ')]),m("left-placement",[r("bordered",[m("border","\n right: 0;\n ")])]),r("right-placement","\n justify-content: flex-start;\n ",[r("bordered",[m("border","\n left: 0;\n ")]),r("collapsed",[n("layout-toggle-button",[n("base-icon","\n transform: rotate(180deg);\n ")]),n("layout-toggle-bar",[p("&:hover",[m("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),n("layout-toggle-button","\n left: 0;\n transform: translateX(-50%) translateY(-50%);\n ",[n("base-icon","\n transform: rotate(0);\n ")]),n("layout-toggle-bar","\n left: -28px;\n transform: rotate(180deg);\n ",[p("&:hover",[m("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),r("collapsed",[n("layout-toggle-bar",[p("&:hover",[m("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),n("layout-toggle-button",[n("base-icon","\n transform: rotate(0);\n ")])]),n("layout-toggle-button","\n transition:\n color .3s var(--n-bezier),\n right .3s var(--n-bezier),\n left .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n cursor: pointer;\n width: 24px;\n height: 24px;\n position: absolute;\n top: 50%;\n right: 0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n color: var(--n-toggle-button-icon-color);\n border: var(--n-toggle-button-border);\n background-color: var(--n-toggle-button-color);\n box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06);\n transform: translateX(50%) translateY(-50%);\n z-index: 1;\n ",[n("base-icon","\n transition: transform .3s var(--n-bezier);\n transform: rotate(180deg);\n ")]),n("layout-toggle-bar","\n cursor: pointer;\n height: 72px;\n width: 32px;\n position: absolute;\n top: calc(50% - 36px);\n right: -28px;\n ",[m("top, bottom","\n position: absolute;\n width: 4px;\n border-radius: 2px;\n height: 38px;\n left: 14px;\n transition: \n background-color .3s var(--n-bezier),\n transform .3s var(--n-bezier);\n "),m("bottom","\n position: absolute;\n top: 34px;\n "),p("&:hover",[m("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),m("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),m("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),p("&:hover",[m("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),m("border","\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: 1px;\n transition: background-color .3s var(--n-bezier);\n "),n("layout-sider-scroll-container","\n flex-grow: 1;\n flex-shrink: 0;\n box-sizing: border-box;\n height: 100%;\n opacity: 0;\n transition: opacity .3s var(--n-bezier);\n max-width: 100%;\n "),r("show-content",[n("layout-sider-scroll-container",{opacity:1})]),r("absolute-positioned","\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n ")]),Ae=e({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return o("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},o("div",{class:`${e}-layout-toggle-bar__top`}),o("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),ke=e({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return o("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},o(g,{clsPrefix:e},{default:()=>o(f,null)}))}}),Te={position:pe,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},Pe=e({name:"LayoutSider",props:Object.assign(Object.assign({},c.props),Te),setup(e){const o=x(be),t=i(null),n=i(null),r=i(e.defaultCollapsed),l=C(y(e,"collapsed"),r),m=u((()=>b(l.value?e.collapsedWidth:e.width))),p=u((()=>"transform"!==e.collapseMode?{}:{minWidth:b(e.width)})),g=u((()=>o?o.siderPlacement:"left"));let f=0,z=0;d((()=>{if(e.nativeScrollbar){const e=t.value;e&&(e.scrollTop=z,e.scrollLeft=f)}})),h(me,{collapsedRef:l,collapseModeRef:y(e,"collapseMode")});const{mergedClsPrefixRef:S,inlineThemeDisabled:I}=a(e),A=c("Layout","-layout-sider",Ie,s,e,S);const k={scrollTo:function(o,r){if(e.nativeScrollbar){const{value:e}=t;e&&(void 0===r?e.scrollTo(o):e.scrollTo(o,r))}else{const{value:e}=n;e&&e.scrollTo(o,r)}}},T=u((()=>{const{common:{cubicBezierEaseInOut:o},self:t}=A.value,{siderToggleButtonColor:n,siderToggleButtonBorder:r,siderToggleBarColor:l,siderToggleBarColorHover:i}=t,a={"--n-bezier":o,"--n-toggle-button-color":n,"--n-toggle-button-border":r,"--n-toggle-bar-color":l,"--n-toggle-bar-color-hover":i};return e.inverted?(a["--n-color"]=t.siderColorInverted,a["--n-text-color"]=t.textColorInverted,a["--n-border-color"]=t.siderBorderColorInverted,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColorInverted,a.__invertScrollbar=t.__invertScrollbar):(a["--n-color"]=t.siderColor,a["--n-text-color"]=t.textColor,a["--n-border-color"]=t.siderBorderColor,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColor),a})),P=I?v("layout-sider",u((()=>e.inverted?"a":"b")),T,e):void 0;return Object.assign({scrollableElRef:t,scrollbarInstRef:n,mergedClsPrefix:S,mergedTheme:A,styleMaxWidth:m,mergedCollapsed:l,scrollContainerStyle:p,siderPlacement:g,handleNativeElScroll:o=>{var t;const n=o.target;f=n.scrollLeft,z=n.scrollTop,null===(t=e.onScroll)||void 0===t||t.call(e,o)},handleTransitionend:function(o){var t,n;"max-width"===o.propertyName&&(l.value?null===(t=e.onAfterLeave)||void 0===t||t.call(e):null===(n=e.onAfterEnter)||void 0===n||n.call(e))},handleTriggerClick:function(){const{"onUpdate:collapsed":o,onUpdateCollapsed:t,onExpand:n,onCollapse:i}=e,{value:a}=l;t&&w(t,!a),o&&w(o,!a),r.value=!a,a?n&&w(n):i&&w(i)},inlineThemeDisabled:I,cssVars:T,themeClass:null==P?void 0:P.themeClass,onRender:null==P?void 0:P.onRender},k)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:r}=this;return null===(e=this.onRender)||void 0===e||e.call(this),o("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:b(this.width)}]},this.nativeScrollbar?o("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):o(l,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&"true"===this.cssVars.__invertScrollbar?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?o("bar"===r?Ae:ke,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?o("div",{class:`${t}-layout-sider__border`}):null)}}),_e=t("n-menu"),He=t("n-submenu"),Re=t("n-menu-item-group"),Ne=[p("&::before","background-color: var(--n-item-color-hover);"),m("arrow","\n color: var(--n-arrow-color-hover);\n "),m("icon","\n color: var(--n-item-icon-color-hover);\n "),n("menu-item-content-header","\n color: var(--n-item-text-color-hover);\n ",[p("a","\n color: var(--n-item-text-color-hover);\n "),m("extra","\n color: var(--n-item-text-color-hover);\n ")])],Be=[m("icon","\n color: var(--n-item-icon-color-hover-horizontal);\n "),n("menu-item-content-header","\n color: var(--n-item-text-color-hover-horizontal);\n ",[p("a","\n color: var(--n-item-text-color-hover-horizontal);\n "),m("extra","\n color: var(--n-item-text-color-hover-horizontal);\n ")])],Oe=p([n("menu","\n background-color: var(--n-color);\n color: var(--n-item-text-color);\n overflow: hidden;\n transition: background-color .3s var(--n-bezier);\n box-sizing: border-box;\n font-size: var(--n-font-size);\n padding-bottom: 6px;\n ",[r("horizontal","\n max-width: 100%;\n width: 100%;\n display: flex;\n overflow: hidden;\n padding-bottom: 0;\n ",[n("submenu","margin: 0;"),n("menu-item","margin: 0;"),n("menu-item-content","\n padding: 0 20px;\n border-bottom: 2px solid #0000;\n ",[p("&::before","display: none;"),r("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),n("menu-item-content",[r("selected",[m("icon","color: var(--n-item-icon-color-active-horizontal);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active-horizontal);\n ",[p("a","color: var(--n-item-text-color-active-horizontal);"),m("extra","color: var(--n-item-text-color-active-horizontal);")])]),r("child-active","\n border-bottom: 2px solid var(--n-border-color-horizontal);\n ",[n("menu-item-content-header","\n color: var(--n-item-text-color-child-active-horizontal);\n ",[p("a","\n color: var(--n-item-text-color-child-active-horizontal);\n "),m("extra","\n color: var(--n-item-text-color-child-active-horizontal);\n ")]),m("icon","\n color: var(--n-item-icon-color-child-active-horizontal);\n ")]),z("disabled",[z("selected, child-active",[p("&:focus-within",Be)]),r("selected",[Le(null,[m("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active-hover-horizontal);\n ",[p("a","color: var(--n-item-text-color-active-hover-horizontal);"),m("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),r("child-active",[Le(null,[m("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),n("menu-item-content-header","\n color: var(--n-item-text-color-child-active-hover-horizontal);\n ",[p("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),m("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),Le("border-bottom: 2px solid var(--n-border-color-horizontal);",Be)]),n("menu-item-content-header",[p("a","color: var(--n-item-text-color-horizontal);")])])]),z("responsive",[n("menu-item-content-header","\n overflow: hidden;\n text-overflow: ellipsis;\n ")]),r("collapsed",[n("menu-item-content",[r("selected",[p("&::before","\n background-color: var(--n-item-color-active-collapsed) !important;\n ")]),n("menu-item-content-header","opacity: 0;"),m("arrow","opacity: 0;"),m("icon","color: var(--n-item-icon-color-collapsed);")])]),n("menu-item","\n height: var(--n-item-height);\n margin-top: 6px;\n position: relative;\n "),n("menu-item-content",'\n box-sizing: border-box;\n line-height: 1.75;\n height: 100%;\n display: grid;\n grid-template-areas: "icon content arrow";\n grid-template-columns: auto 1fr auto;\n align-items: center;\n cursor: pointer;\n position: relative;\n padding-right: 18px;\n transition:\n background-color .3s var(--n-bezier),\n padding-left .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ',[p("> *","z-index: 1;"),p("&::before",'\n z-index: auto;\n content: "";\n background-color: #0000;\n position: absolute;\n left: 8px;\n right: 8px;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n '),r("disabled","\n opacity: .45;\n cursor: not-allowed;\n "),r("collapsed",[m("arrow","transform: rotate(0);")]),r("selected",[p("&::before","background-color: var(--n-item-color-active);"),m("arrow","color: var(--n-arrow-color-active);"),m("icon","color: var(--n-item-icon-color-active);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active);\n ",[p("a","color: var(--n-item-text-color-active);"),m("extra","color: var(--n-item-text-color-active);")])]),r("child-active",[n("menu-item-content-header","\n color: var(--n-item-text-color-child-active);\n ",[p("a","\n color: var(--n-item-text-color-child-active);\n "),m("extra","\n color: var(--n-item-text-color-child-active);\n ")]),m("arrow","\n color: var(--n-arrow-color-child-active);\n "),m("icon","\n color: var(--n-item-icon-color-child-active);\n ")]),z("disabled",[z("selected, child-active",[p("&:focus-within",Ne)]),r("selected",[Le(null,[m("arrow","color: var(--n-arrow-color-active-hover);"),m("icon","color: var(--n-item-icon-color-active-hover);"),n("menu-item-content-header","\n color: var(--n-item-text-color-active-hover);\n ",[p("a","color: var(--n-item-text-color-active-hover);"),m("extra","color: var(--n-item-text-color-active-hover);")])])]),r("child-active",[Le(null,[m("arrow","color: var(--n-arrow-color-child-active-hover);"),m("icon","color: var(--n-item-icon-color-child-active-hover);"),n("menu-item-content-header","\n color: var(--n-item-text-color-child-active-hover);\n ",[p("a","color: var(--n-item-text-color-child-active-hover);"),m("extra","color: var(--n-item-text-color-child-active-hover);")])])]),r("selected",[Le(null,[p("&::before","background-color: var(--n-item-color-active-hover);")])]),Le(null,Ne)]),m("icon","\n grid-area: icon;\n color: var(--n-item-icon-color);\n transition:\n color .3s var(--n-bezier),\n font-size .3s var(--n-bezier),\n margin-right .3s var(--n-bezier);\n box-sizing: content-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n "),m("arrow","\n grid-area: arrow;\n font-size: 16px;\n color: var(--n-arrow-color);\n transform: rotate(180deg);\n opacity: 1;\n transition:\n color .3s var(--n-bezier),\n transform 0.2s var(--n-bezier),\n opacity 0.2s var(--n-bezier);\n "),n("menu-item-content-header","\n grid-area: content;\n transition:\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n opacity: 1;\n white-space: nowrap;\n color: var(--n-item-text-color);\n ",[p("a","\n outline: none;\n text-decoration: none;\n transition: color .3s var(--n-bezier);\n color: var(--n-item-text-color);\n ",[p("&::before",'\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),m("extra","\n font-size: .93em;\n color: var(--n-group-text-color);\n transition: color .3s var(--n-bezier);\n ")])]),n("submenu","\n cursor: pointer;\n position: relative;\n margin-top: 6px;\n ",[n("menu-item-content","\n height: var(--n-item-height);\n "),n("submenu-children","\n overflow: hidden;\n padding: 0;\n ",[S({duration:".2s"})])]),n("menu-item-group",[n("menu-item-group-title","\n margin-top: 6px;\n color: var(--n-group-text-color);\n cursor: default;\n font-size: .93em;\n height: 36px;\n display: flex;\n align-items: center;\n transition:\n padding-left .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")])]),n("menu-tooltip",[p("a","\n color: inherit;\n text-decoration: none;\n ")]),n("menu-divider","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-divider-color);\n height: 1px;\n margin: 6px 18px;\n ")]);function Le(e,o){return[r("hover",e,o),p("&:hover",e,o)]}const Me=e({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:o}=x(_e);return{menuProps:o,style:u((()=>{const{paddingLeft:o}=e;return{paddingLeft:o&&`${o}px`}})),iconStyle:u((()=>{const{maxIconSize:o,activeIconSize:t,iconMarginRight:n}=e;return{width:`${o}px`,height:`${o}px`,fontSize:`${t}px`,marginRight:`${n}px`}}))}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:r,renderExtra:l,expandIcon:i}}=this,a=n?n(t.rawNode):I(this.icon);return o("div",{onClick:e=>{var o;null===(o=this.onClick)||void 0===o||o.call(this,e)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&o("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),o("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:r?r(t.rawNode):I(this.title),this.extra||l?o("span",{class:`${e}-menu-item-content-header__extra`}," ",l?l(t.rawNode):I(this.extra)):null),this.showArrow?o(g,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):o(he,null)}):null)}});function $e(e){const o=x(_e),{props:t,mergedCollapsedRef:n}=o,r=x(He,null),l=x(Re,null),i=u((()=>"horizontal"===t.mode)),a=u((()=>i.value?t.dropdownPlacement:"tmNodes"in e?"right-start":"right")),c=u((()=>{var e;return Math.max(null!==(e=t.collapsedIconSize)&&void 0!==e?e:t.iconSize,t.iconSize)})),s=u((()=>{var o;return!i.value&&e.root&&n.value&&null!==(o=t.collapsedIconSize)&&void 0!==o?o:t.iconSize})),d=u((()=>{if(i.value)return;const{collapsedWidth:o,indent:a,rootIndent:s}=t,{root:d,isGroup:u}=e,v=void 0===s?a:s;return d?n.value?o/2-c.value/2:v:l&&"number"==typeof l.paddingLeftRef.value?a/2+l.paddingLeftRef.value:r&&"number"==typeof r.paddingLeftRef.value?(u?a/2:a)+r.paddingLeftRef.value:0})),v=u((()=>{const{collapsedWidth:o,indent:r,rootIndent:l}=t,{value:a}=c,{root:s}=e;if(i.value)return 8;if(!s)return 8;if(!n.value)return 8;return(void 0===l?r:l)+a+8-(o+a)/2}));return{dropdownPlacement:a,activeIconSize:s,maxIconSize:c,paddingLeft:d,iconMarginRight:v,NMenu:o,NSubmenu:r}}const Ee={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},je=e({name:"MenuDivider",setup(){const e=x(_e),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:o("div",{class:`${t.value}-menu-divider`})}}),Fe=Object.assign(Object.assign({},Ee),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),Ve=A(Fe),Ke=e({name:"MenuOption",props:Fe,setup(e){const o=$e(e),{NSubmenu:t,NMenu:n}=o,{props:r,mergedClsPrefixRef:l,mergedCollapsedRef:i}=n,a=t?t.mergedDisabledRef:{value:!1},c=u((()=>a.value||e.disabled));return{mergedClsPrefix:l,dropdownPlacement:o.dropdownPlacement,paddingLeft:o.paddingLeft,iconMarginRight:o.iconMarginRight,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,mergedTheme:n.mergedThemeRef,menuProps:r,dropdownEnabled:T((()=>e.root&&i.value&&"horizontal"!==r.mode&&!c.value)),selected:T((()=>n.mergedValueRef.value===e.internalKey)),mergedDisabled:c,handleClick:function(o){c.value||(n.doSelect(e.internalKey,e.tmNode.rawNode),function(o){const{onClick:t}=e;t&&t(o)}(o))}}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:r,nodeProps:l}}=this,i=null==l?void 0:l(n.rawNode);return o("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,null==i?void 0:i.class]}),o(k,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||void 0===this.title,internalExtraClass:["menu-tooltip"]},{default:()=>r?r(n.rawNode):I(this.title),trigger:()=>o(Me,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),De=Object.assign(Object.assign({},Ee),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),Ue=A(De),qe=e({name:"MenuOptionGroup",props:De,setup(e){h(He,null);const t=$e(e);h(Re,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:r}=x(_e);return function(){const{value:l}=n,i=t.paddingLeft.value,{nodeProps:a}=r,c=null==a?void 0:a(e.tmNode.rawNode);return o("div",{class:`${l}-menu-item-group`,role:"group"},o("div",Object.assign({},c,{class:[`${l}-menu-item-group-title`,null==c?void 0:c.class],style:[(null==c?void 0:c.style)||"",void 0!==i?`padding-left: ${i}px;`:""]}),I(e.title),e.extra?o(P,null," ",I(e.extra)):null),o("div",null,e.tmNodes.map((e=>Ge(e,r)))))}}});function We(e){return"divider"===e.type||"render"===e.type}function Ge(e,t){const{rawNode:n}=e,{show:r}=n;if(!1===r)return null;if(We(n))return function(e){return"divider"===e.type}(n)?o(je,Object.assign({key:e.key},n.props)):null;const{labelField:l}=t,{key:i,level:a,isGroup:c}=e,s=Object.assign(Object.assign({},n),{title:n.title||n[l],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:0===a,isGroup:c});return e.children?e.isGroup?o(qe,_(s,Ue,{tmNode:e,tmNodes:e.children,key:i})):o(Xe,_(s,Je,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):o(Ke,_(s,Ve,{key:i,tmNode:e}))}const Ye=Object.assign(Object.assign({},Ee),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),Je=A(Ye),Xe=e({name:"Submenu",props:Ye,setup(e){const o=$e(e),{NMenu:t,NSubmenu:n}=o,{props:r,mergedCollapsedRef:l,mergedThemeRef:a}=t,c=u((()=>{const{disabled:o}=e;return!!(null==n?void 0:n.mergedDisabledRef.value)||(!!r.disabled||o)})),s=i(!1);return h(He,{paddingLeftRef:o.paddingLeft,mergedDisabledRef:c}),h(Re,null),{menuProps:r,mergedTheme:a,doSelect:t.doSelect,inverted:t.invertedRef,isHorizontal:t.isHorizontalRef,mergedClsPrefix:t.mergedClsPrefixRef,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,iconMarginRight:o.iconMarginRight,dropdownPlacement:o.dropdownPlacement,dropdownShow:s,paddingLeft:o.paddingLeft,mergedDisabled:c,mergedValue:t.mergedValueRef,childActive:T((()=>{var o;return null!==(o=e.virtualChildActive)&&void 0!==o?o:t.activePathRef.value.includes(e.internalKey)})),collapsed:u((()=>"horizontal"!==r.mode&&(!!l.value||!t.mergedExpandedKeysRef.value.includes(e.internalKey)))),dropdownEnabled:u((()=>!c.value&&("horizontal"===r.mode||l.value))),handlePopoverShowChange:function(e){s.value=e},handleClick:function(){c.value||(l.value||t.toggleExpand(e.internalKey),function(){const{onClick:o}=e;o&&o()}())}}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:r}}=this,l=()=>{const{isHorizontal:e,paddingLeft:t,collapsed:n,mergedDisabled:r,maxIconSize:l,activeIconSize:i,title:a,childActive:c,icon:s,handleClick:d,menuProps:{nodeProps:u},dropdownShow:v,iconMarginRight:h,tmNode:m,mergedClsPrefix:p,isEllipsisPlaceholder:g,extra:f}=this,b=null==u?void 0:u(m.rawNode);return o("div",Object.assign({},b,{class:[`${p}-menu-item`,null==b?void 0:b.class],role:"menuitem"}),o(Me,{tmNode:m,paddingLeft:t,collapsed:n,disabled:r,iconMarginRight:h,maxIconSize:l,activeIconSize:i,title:a,extra:f,showArrow:!e,childActive:c,clsPrefix:p,icon:s,hover:v,onClick:d,isEllipsisPlaceholder:g}))},i=()=>o(R,null,{default:()=>{const{tmNodes:e,collapsed:n}=this;return n?null:o("div",{class:`${t}-submenu-children`,role:"menu"},e.map((e=>Ge(e,this.menuProps))))}});return this.root?o(H,Object.assign({size:"large",trigger:"hover"},null===(e=this.menuProps)||void 0===e?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:r}),{default:()=>o("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),this.isHorizontal?null:i())}):o("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),i())}}),Ze=Object.assign(Object.assign({},c.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),Qe=e({name:"Menu",inheritAttrs:!1,props:Ze,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=a(e),r=c("Menu","-menu",Oe,B,e,t),l=x(me,null),s=u((()=>{var o;const{collapsed:t}=e;if(void 0!==t)return t;if(l){const{collapseModeRef:e,collapsedRef:t}=l;if("width"===e.value)return null!==(o=t.value)&&void 0!==o&&o}return!1})),d=u((()=>{const{keyField:o,childrenField:t,disabledField:n}=e;return O(e.items||e.options,{getIgnored:e=>We(e),getChildren:e=>e[t],getDisabled:e=>e[n],getKey(e){var t;return null!==(t=e[o])&&void 0!==t?t:e.name}})})),m=u((()=>new Set(d.value.treeNodes.map((e=>e.key))))),{watchProps:p}=e,g=i(null);(null==p?void 0:p.includes("defaultValue"))?L((()=>{g.value=e.defaultValue})):g.value=e.defaultValue;const f=y(e,"value"),b=C(f,g),z=i([]),S=()=>{z.value=e.defaultExpandAll?d.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||d.value.getPath(b.value,{includeSelf:!1}).keyPath};(null==p?void 0:p.includes("defaultExpandedKeys"))?L(S):S();const I=M(e,["expandedNames","expandedKeys"]),A=C(I,z),k=u((()=>d.value.treeNodes)),T=u((()=>d.value.getPath(b.value).keyPath));function P(o){const{"onUpdate:expandedKeys":t,onUpdateExpandedKeys:n,onExpandedNamesChange:r,onOpenNamesChange:l}=e;t&&w(t,o),n&&w(n,o),r&&w(r,o),l&&w(l,o),z.value=o}h(_e,{props:e,mergedCollapsedRef:s,mergedThemeRef:r,mergedValueRef:b,mergedExpandedKeysRef:A,activePathRef:T,mergedClsPrefixRef:t,isHorizontalRef:u((()=>"horizontal"===e.mode)),invertedRef:y(e,"inverted"),doSelect:function(o,t){const{"onUpdate:value":n,onUpdateValue:r,onSelect:l}=e;r&&w(r,o,t);n&&w(n,o,t);l&&w(l,o,t);g.value=o},toggleExpand:function(o){const t=Array.from(A.value),n=t.findIndex((e=>e===o));if(~n)t.splice(n,1);else{if(e.accordion&&m.value.has(o)){const e=t.findIndex((e=>m.value.has(e)));e>-1&&t.splice(e,1)}t.push(o)}P(t)}});const _=u((()=>{const{inverted:o}=e,{common:{cubicBezierEaseInOut:t},self:n}=r.value,{borderRadius:l,borderColorHorizontal:i,fontSize:a,itemHeight:c,dividerColor:s}=n,d={"--n-divider-color":s,"--n-bezier":t,"--n-font-size":a,"--n-border-color-horizontal":i,"--n-border-radius":l,"--n-item-height":c};return o?(d["--n-group-text-color"]=n.groupTextColorInverted,d["--n-color"]=n.colorInverted,d["--n-item-text-color"]=n.itemTextColorInverted,d["--n-item-text-color-hover"]=n.itemTextColorHoverInverted,d["--n-item-text-color-active"]=n.itemTextColorActiveInverted,d["--n-item-text-color-child-active"]=n.itemTextColorChildActiveInverted,d["--n-item-text-color-child-active-hover"]=n.itemTextColorChildActiveInverted,d["--n-item-text-color-active-hover"]=n.itemTextColorActiveHoverInverted,d["--n-item-icon-color"]=n.itemIconColorInverted,d["--n-item-icon-color-hover"]=n.itemIconColorHoverInverted,d["--n-item-icon-color-active"]=n.itemIconColorActiveInverted,d["--n-item-icon-color-active-hover"]=n.itemIconColorActiveHoverInverted,d["--n-item-icon-color-child-active"]=n.itemIconColorChildActiveInverted,d["--n-item-icon-color-child-active-hover"]=n.itemIconColorChildActiveHoverInverted,d["--n-item-icon-color-collapsed"]=n.itemIconColorCollapsedInverted,d["--n-item-text-color-horizontal"]=n.itemTextColorHorizontalInverted,d["--n-item-text-color-hover-horizontal"]=n.itemTextColorHoverHorizontalInverted,d["--n-item-text-color-active-horizontal"]=n.itemTextColorActiveHorizontalInverted,d["--n-item-text-color-child-active-horizontal"]=n.itemTextColorChildActiveHorizontalInverted,d["--n-item-text-color-child-active-hover-horizontal"]=n.itemTextColorChildActiveHoverHorizontalInverted,d["--n-item-text-color-active-hover-horizontal"]=n.itemTextColorActiveHoverHorizontalInverted,d["--n-item-icon-color-horizontal"]=n.itemIconColorHorizontalInverted,d["--n-item-icon-color-hover-horizontal"]=n.itemIconColorHoverHorizontalInverted,d["--n-item-icon-color-active-horizontal"]=n.itemIconColorActiveHorizontalInverted,d["--n-item-icon-color-active-hover-horizontal"]=n.itemIconColorActiveHoverHorizontalInverted,d["--n-item-icon-color-child-active-horizontal"]=n.itemIconColorChildActiveHorizontalInverted,d["--n-item-icon-color-child-active-hover-horizontal"]=n.itemIconColorChildActiveHoverHorizontalInverted,d["--n-arrow-color"]=n.arrowColorInverted,d["--n-arrow-color-hover"]=n.arrowColorHoverInverted,d["--n-arrow-color-active"]=n.arrowColorActiveInverted,d["--n-arrow-color-active-hover"]=n.arrowColorActiveHoverInverted,d["--n-arrow-color-child-active"]=n.arrowColorChildActiveInverted,d["--n-arrow-color-child-active-hover"]=n.arrowColorChildActiveHoverInverted,d["--n-item-color-hover"]=n.itemColorHoverInverted,d["--n-item-color-active"]=n.itemColorActiveInverted,d["--n-item-color-active-hover"]=n.itemColorActiveHoverInverted,d["--n-item-color-active-collapsed"]=n.itemColorActiveCollapsedInverted):(d["--n-group-text-color"]=n.groupTextColor,d["--n-color"]=n.color,d["--n-item-text-color"]=n.itemTextColor,d["--n-item-text-color-hover"]=n.itemTextColorHover,d["--n-item-text-color-active"]=n.itemTextColorActive,d["--n-item-text-color-child-active"]=n.itemTextColorChildActive,d["--n-item-text-color-child-active-hover"]=n.itemTextColorChildActiveHover,d["--n-item-text-color-active-hover"]=n.itemTextColorActiveHover,d["--n-item-icon-color"]=n.itemIconColor,d["--n-item-icon-color-hover"]=n.itemIconColorHover,d["--n-item-icon-color-active"]=n.itemIconColorActive,d["--n-item-icon-color-active-hover"]=n.itemIconColorActiveHover,d["--n-item-icon-color-child-active"]=n.itemIconColorChildActive,d["--n-item-icon-color-child-active-hover"]=n.itemIconColorChildActiveHover,d["--n-item-icon-color-collapsed"]=n.itemIconColorCollapsed,d["--n-item-text-color-horizontal"]=n.itemTextColorHorizontal,d["--n-item-text-color-hover-horizontal"]=n.itemTextColorHoverHorizontal,d["--n-item-text-color-active-horizontal"]=n.itemTextColorActiveHorizontal,d["--n-item-text-color-child-active-horizontal"]=n.itemTextColorChildActiveHorizontal,d["--n-item-text-color-child-active-hover-horizontal"]=n.itemTextColorChildActiveHoverHorizontal,d["--n-item-text-color-active-hover-horizontal"]=n.itemTextColorActiveHoverHorizontal,d["--n-item-icon-color-horizontal"]=n.itemIconColorHorizontal,d["--n-item-icon-color-hover-horizontal"]=n.itemIconColorHoverHorizontal,d["--n-item-icon-color-active-horizontal"]=n.itemIconColorActiveHorizontal,d["--n-item-icon-color-active-hover-horizontal"]=n.itemIconColorActiveHoverHorizontal,d["--n-item-icon-color-child-active-horizontal"]=n.itemIconColorChildActiveHorizontal,d["--n-item-icon-color-child-active-hover-horizontal"]=n.itemIconColorChildActiveHoverHorizontal,d["--n-arrow-color"]=n.arrowColor,d["--n-arrow-color-hover"]=n.arrowColorHover,d["--n-arrow-color-active"]=n.arrowColorActive,d["--n-arrow-color-active-hover"]=n.arrowColorActiveHover,d["--n-arrow-color-child-active"]=n.arrowColorChildActive,d["--n-arrow-color-child-active-hover"]=n.arrowColorChildActiveHover,d["--n-item-color-hover"]=n.itemColorHover,d["--n-item-color-active"]=n.itemColorActive,d["--n-item-color-active-hover"]=n.itemColorActiveHover,d["--n-item-color-active-collapsed"]=n.itemColorActiveCollapsed),d})),H=n?v("menu",u((()=>e.inverted?"a":"b")),_,e):void 0,R=$(),N=i(null),E=i(null);let j=!0;const F=()=>{var e;j?j=!1:null===(e=N.value)||void 0===e||e.sync({showAllItemsBeforeCalculate:!0})};const V=i(-1);const K=u((()=>{const o=V.value;return{children:-1===o?[]:e.options.slice(o)}})),D=u((()=>{const{childrenField:o,disabledField:t,keyField:n}=e;return O([K.value],{getIgnored:e=>We(e),getChildren:e=>e[o],getDisabled:e=>e[t],getKey(e){var o;return null!==(o=e[n])&&void 0!==o?o:e.name}})})),U=u((()=>O([{}]).treeNodes[0]));return{mergedClsPrefix:t,controlledExpandedKeys:I,uncontrolledExpanededKeys:z,mergedExpandedKeys:A,uncontrolledValue:g,mergedValue:b,activePath:T,tmNodes:k,mergedTheme:r,mergedCollapsed:s,cssVars:n?void 0:_,themeClass:null==H?void 0:H.themeClass,overflowRef:N,counterRef:E,updateCounter:()=>{},onResize:F,onUpdateOverflow:function(e){e||(V.value=-1)},onUpdateCount:function(o){V.value=e.options.length-o},renderCounter:function(){var e;if(-1===V.value)return o(Xe,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:U.value,domId:R,isEllipsisPlaceholder:!0});const t=D.value.treeNodes[0],n=T.value,r=!!(null===(e=t.children)||void 0===e?void 0:e.some((e=>n.includes(e.key))));return o(Xe,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:r,tmNode:t,domId:R,rawNodes:t.rawNode.children||[],tmNodes:t.children||[],isEllipsisPlaceholder:!0})},getCounter:function(){return document.getElementById(R)},onRender:null==H?void 0:H.onRender,showOption:o=>{const t=d.value.getPath(null!=o?o:b.value,{includeSelf:!1}).keyPath;if(!t.length)return;const n=Array.from(A.value),r=new Set([...n,...t]);e.accordion&&m.value.forEach((e=>{r.has(e)&&!t.includes(e)&&r.delete(e)})),P(Array.from(r))},deriveResponsiveState:F}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:r}=this;null==r||r();const l=()=>this.tmNodes.map((e=>Ge(e,this.$props))),i="horizontal"===t&&this.responsive,a=()=>o("div",j(this.$attrs,{role:"horizontal"===t?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,i&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars}),i?o(E,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:l,counter:this.renderCounter}):l());return i?o(N,{onResize:this.onResize},{default:a}):a()}}),eo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},oo=e({name:"ApiOutlined",render:function(e,o){return V(),F("svg",eo,o[0]||(o[0]=[K("path",{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 0 0-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 0 0 0 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3c2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4l-186.8-186.8l59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7c35.3 0 68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4c0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 0 0-11.3 0L501 613.3L410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 0 0-11.3 0L363 475.3l-43-43a7.85 7.85 0 0 0-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 0 0 0 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3c51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 0 1-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 0 1-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4l186.8 186.8l-59.4 59.4z",fill:"currentColor"},null,-1)]))}}),to={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},no=e({name:"MenuFoldOutlined",render:function(e,o){return V(),F("svg",to,o[0]||(o[0]=[K("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z",fill:"currentColor"},null,-1)]))}}),ro={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},lo=e({name:"MenuUnfoldOutlined",render:function(e,o){return V(),F("svg",ro,o[0]||(o[0]=[K("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z",fill:"currentColor"},null,-1)]))}}),io={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},ao=e({name:"AddSquare24Regular",render:function(e,o){return V(),F("svg",io,o[0]||(o[0]=[K("g",{fill:"none"},[K("path",{d:"M12 7a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7zm-9-.75A3.25 3.25 0 0 1 6.25 3h11.5A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25zM6.25 4.5A1.75 1.75 0 0 0 4.5 6.25v11.5c0 .966.784 1.75 1.75 1.75h11.5a1.75 1.75 0 0 0 1.75-1.75V6.25a1.75 1.75 0 0 0-1.75-1.75H6.25z",fill:"currentColor"})],-1)]))}}),co={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},so=e({name:"Home",render:function(e,o){return V(),F("svg",co,o[0]||(o[0]=[K("path",{d:"M16.612 2.214a1.01 1.01 0 0 0-1.242 0L1 13.419l1.243 1.572L4 13.621V26a2.004 2.004 0 0 0 2 2h20a2.004 2.004 0 0 0 2-2V13.63L29.757 15L31 13.428zM18 26h-4v-8h4zm2 0v-8a2.002 2.002 0 0 0-2-2h-4a2.002 2.002 0 0 0-2 2v8H6V12.062l10-7.79l10 7.8V26z",fill:"currentColor"},null,-1)]))}}),uo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},vo=e({name:"LogOutOutline",render:function(e,o){return V(),F("svg",uo,o[0]||(o[0]=[K("path",{d:"M304 336v40a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V136a40 40 0 0 1 40-40h152c22.09 0 48 17.91 48 40v40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),K("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 336l80-80l-80-80"},null,-1),K("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 256h256"},null,-1)]))}}),ho={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},mo=e({name:"SettingsOutline",render:function(e,o){return V(),F("svg",ho,o[0]||(o[0]=[K("path",{d:"M262.29 192.31a64 64 0 1 0 57.4 57.4a64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22a155.3 155.3 0 0 1-21.46-12.57a16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22a155.3 155.3 0 0 1 21.46 12.57a16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1)]))}}),po={layoutContainer:"_layoutContainer_1a9f3_2",sider:"_sider_1a9f3_8",logoContainer:"_logoContainer_1a9f3_14",logoText:"_logoText_1a9f3_21",logoContainerText:"_logoContainerText_1a9f3_30",logoContainerActive:"_logoContainerActive_1a9f3_35",menuToggleButton:"_menuToggleButton_1a9f3_40",headerMenuToggleButton:"_headerMenuToggleButton_1a9f3_51",header:"_header_1a9f3_51",systemInfo:"_systemInfo_1a9f3_75",content:"_content_1a9f3_82",siderMobileOpen:"_siderMobileOpen_1a9f3_89",siderMobileClosed:"_siderMobileClosed_1a9f3_98",mobileMenuBackdrop:"_mobileMenuBackdrop_1a9f3_106"},go=e({name:"LayoutView",setup(){const{menuItems:e,menuActive:t,isCollapsed:n,toggleCollapse:r,handleExpand:l,handleCollapse:a,updateMenuActive:c}=(()=>{const e=ce(),t=D(),n=U(),r=q(),{handleError:l}=le(),{isCollapsed:a,menuActive:c,updateMenuActive:s,toggleCollapse:d,handleCollapse:v,handleExpand:h,resetDataInfo:m}=e,p=i(!1),g=i({}),f=e=>{const t={certManage:ue,autoDeploy:de,home:so,certApply:ao,monitor:se,settings:mo,logout:vo,authApiManage:oo};return()=>o(Q,null,(()=>o(t[e]||"div")))},b=u((()=>[...W.filter((e=>{var o;return null==(o=e.meta)?void 0:o.title})).map((e=>({key:e.name,label:()=>G(Y,{to:e.path},{default:()=>{var o;return[null==(o=null==e?void 0:e.meta)?void 0:o.title]}}),icon:f(e.name)}))),{key:"logout",label:()=>G("a",{onClick:C},[J("t_15_1745457484292")]),icon:f("logout")}])),x=()=>{const e=n.path;if(p.value=e.includes("/children/"),p.value){const e=W.find((e=>e.name===c.value));if(e&&e.children){const o=e.children.find((e=>n.path.includes(e.path)));g.value=o||{}}else g.value={}}else g.value={}};X((()=>n.name),(e=>{e&&e!==c.value&&s(e),x()}),{immediate:!0});const C=async()=>{try{await ie({title:J("t_15_1745457484292"),content:J("t_16_1745457491607"),onPositiveClick:async()=>{try{r.success(J("t_17_1745457488251")),await ae().fetch(),setTimeout((()=>{m(),sessionStorage.clear(),t.push("/login")}),1e3)}catch(e){l(e)}}})}catch(e){}};return Z((async()=>{x()})),{isCollapsed:a,menuActive:c,updateMenuActive:s,toggleCollapse:d,handleCollapse:v,handleExpand:h,resetDataInfo:m,handleLogout:C,menuItems:b,isChildRoute:p,childRouteConfig:g}})(),s=ee(["bodyColor","headerColor","borderColor","textColorBase","textColor1","textColor2","textColorSecondary","actionColor","layoutContentBackgroundColor","siderLoginHeight","contentPadding"]),d=i(200),v=i(60),h=re("(max-width: 768px)"),m=re("(max-width: 1100px)");Z((()=>{(h.value||m.value)&&(n.value=!0)})),X(m,(e=>{e&&!h.value?n.value=!0:e||h.value||(n.value=!1)}));const p=u((()=>!h.value&&n.value)),g=u((()=>n.value)),f=u((()=>h.value?n.value?po.siderMobileClosed:po.siderMobileOpen:"")),b=u((()=>h.value&&!n.value));return()=>G(Ce,{class:po.layoutContainer,hasSider:!0,style:s.value},{default:()=>[G(Pe,{width:d.value,collapsed:p.value,showTrigger:!1,collapseMode:"width",collapsedWidth:v.value,onCollapse:a,onExpand:l,class:[po.sider,f.value].join(" "),bordered:!0},{default:()=>[G("div",{class:`${po.logoContainer} ${!h.value&&n.value?po.logoContainerActive:""}`},[!h.value&&n.value?G("div",{class:"flex items-center justify-center w-full h-full"},[G("img",{src:"/static/images/logo.png",alt:"logo",class:"h-8 w-8"},null)]):G("div",{class:po.logoContainerText},[G("img",{src:"/static/images/logo.png",alt:"logo",class:"h-8 w-8 mr-2 sm:mr-3"},null),G("span",{class:`${po.logoText} ml-0 font-bold`},[J("t_1_1744164835667")])]),!n.value&&!h.value&&G(k,{placement:"right",trigger:"hover"},{trigger:()=>G("div",{class:po.menuToggleButton,onClick:()=>r()},[G(Q,{size:20},{default:()=>[G(no,null,null)]}),oe(" ")]),default:()=>G("span",null,[J("t_4_1744098802046")])})]),G(Qe,{value:t.value,onUpdateValue:(e,o)=>{c(e),h.value&&!n.value&&(n.value=!0)},options:e.value,class:"border-none",collapsed:g.value,collapsedWidth:v.value,collapsedIconSize:22},null)]}),G(Ce,null,{default:()=>[G(Se,{class:po.header},{default:()=>[(h.value||!h.value&&n.value)&&G("div",{class:"mr-auto"},[G(k,{placement:"right",trigger:"hover"},{trigger:()=>G("div",{class:po.headerMenuToggleButton,onClick:()=>r()},[G(Q,{size:20},{default:()=>[n.value?G(lo,null,null):G(no,null,null)]})]),default:()=>G("span",null,[oe("展开主菜单")])})]),G("div",{class:po.systemInfo},[G(ve,{value:1,show:!1,dot:!0},{default:()=>[G("span",{class:"px-1 sm:px-[.5rem] cursor-pointer"},[oe("v1.0.3")])]})])]}),G(ye,{class:po.content},{default:()=>[G(te,null,{default:({Component:e})=>G(ne,{name:"fade",mode:"out-in"},{default:()=>[e&&o(e)]})})]})]}),b.value&&G("div",{class:po.mobileMenuBackdrop,onClick:()=>r()},null)]})}});export{go as default}; diff --git a/build/static/js/index-C5Gp6IlJ.js b/build/static/js/index-C5Gp6IlJ.js new file mode 100644 index 0000000..675bb1b --- /dev/null +++ b/build/static/js/index-C5Gp6IlJ.js @@ -0,0 +1 @@ +var e=Object.defineProperty,t=(t,n,a)=>((t,n,a)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[n]=a)(t,"symbol"!=typeof n?n+"":n,a);import{E as n,G as a,d as o,H as r,I as l,K as i,b3 as s,l as d,aP as u,M as c,F as p,D as v,b4 as f,al as h,aY as m,a_ as _,aO as y,b5 as g,O as b,W as w,b6 as N,aK as x,b7 as k,ag as C,b8 as S,b9 as j,A as $,b1 as A,ak as z,Y as O,Z as I,_ as R,ba as F,bb as E,bc as D,bd as M,be as P,bf as B,bg as V,bh as T,bi as q,bj as U,bk as L,bl as H,bm as Z,bn as W,r as G,bo as J,bp as Y,bq as K,br as X,e as Q,s as ee,$ as te,a as ne,x as ae,aV as oe,c as re,o as le,w as ie,q as se,n as de,B as ue,i as ce,m as pe,aC as ve,p as fe,v as he,y as me,z as _e,k as ye,a5 as ge,f as be,bs as we,bt as Ne,t as xe,bu as ke,a0 as Ce,ap as Se,bv as je,u as $e,a4 as Ae,b as ze,bw as Oe,bx as Ie,a7 as Re,a3 as Fe,by as Ee}from"./main-BFwn2e3T.js";import{_ as De,i as Me,u as Pe,N as Be,a as Ve}from"./index-DVPyxbgP.js";import{_ as Te,c as qe,d as Ue,t as Le,e as He,w as Ze,W as We,b as Ge,a as Je,N as Ye}from"./business-_Rh7_-TN.js";import{u as Ke,a as Xe}from"./index-9yXMuG-J.js";import{D as Qe}from"./index-B0Oz4u-p.js";import{f as et,h as tt}from"./access-FhEUImRw.js";import{S as nt}from"./index-CMwhkNZE.js";import{n as at}from"./utils-CRt-4gJj.js";import{T as ot}from"./index-C8NKLf_M.js";import{A as rt}from"./data-DE4JXv04.js";import{N as lt,a as it}from"./Tabs-DWO1cj0i.js";import{N as st}from"./index-CPLaRXZR.js";import{u as dt,g as ut}from"./cert-B6n1PFp6.js";import{f as ct}from"./useStore-3Yigt-U3.js";import"./useStore-BJbmyusH.js";import"./index-rVZjvqYb.js";import"./setting-pEP5KeW9.js";import"./throttle-B9C3ruvZ.js";const pt=n("input-group-label","\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n box-sizing: border-box;\n padding: 0 12px;\n display: inline-block;\n border-radius: var(--n-border-radius);\n background-color: var(--n-group-label-color);\n color: var(--n-group-label-text-color);\n font-size: var(--n-font-size);\n line-height: var(--n-height);\n height: var(--n-height);\n flex-shrink: 0;\n white-space: nowrap;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[a("border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-group-label-border);\n transition: border-color .3s var(--n-bezier);\n ")]),vt=o({name:"InputGroupLabel",props:Object.assign(Object.assign({},i.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:a}=l(e),o=i("Input","-input-group-label",pt,s,e,n),r=d((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{groupLabelColor:a,borderRadius:r,groupLabelTextColor:l,lineHeight:i,groupLabelBorder:s,[u("fontSize",t)]:d,[u("height",t)]:c}}=o.value;return{"--n-bezier":n,"--n-group-label-color":a,"--n-group-label-border":s,"--n-border-radius":r,"--n-group-label-text-color":l,"--n-font-size":d,"--n-line-height":i,"--n-height":c}})),p=a?c("input-group-label",d((()=>e.size[0])),r,e):void 0;return{mergedClsPrefix:n,mergedBordered:t,cssVars:a?void 0:r,themeClass:null==p?void 0:p.themeClass,onRender:null==p?void 0:p.onRender}},render(){var e,t,n;const{mergedClsPrefix:a}=this;return null===(e=this.onRender)||void 0===e||e.call(this),r("div",{class:[`${a}-input-group-label`,this.themeClass],style:this.cssVars},null===(n=(t=this.$slots).default)||void 0===n?void 0:n.call(t),this.mergedBordered?r("div",{class:`${a}-input-group-label__border`}):null)}}),ft=n("steps","\n width: 100%;\n display: flex;\n",[n("step","\n position: relative;\n display: flex;\n flex: 1;\n ",[p("disabled","cursor: not-allowed"),p("clickable","\n cursor: pointer;\n "),v("&:last-child",[n("step-splitor","display: none;")])]),n("step-splitor","\n background-color: var(--n-splitor-color);\n margin-top: calc(var(--n-step-header-font-size) / 2);\n height: 1px;\n flex: 1;\n align-self: flex-start;\n margin-left: 12px;\n margin-right: 12px;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),n("step-content","flex: 1;",[n("step-content-header","\n color: var(--n-header-text-color);\n margin-top: calc(var(--n-indicator-size) / 2 - var(--n-step-header-font-size) / 2);\n line-height: var(--n-step-header-font-size);\n font-size: var(--n-step-header-font-size);\n position: relative;\n display: flex;\n font-weight: var(--n-step-header-font-weight);\n margin-left: 9px;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[a("title","\n white-space: nowrap;\n flex: 0;\n ")]),a("description","\n color: var(--n-description-text-color);\n margin-top: 12px;\n margin-left: 9px;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),n("step-indicator","\n background-color: var(--n-indicator-color);\n box-shadow: 0 0 0 1px var(--n-indicator-border-color);\n height: var(--n-indicator-size);\n width: var(--n-indicator-size);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ",[n("step-indicator-slot","\n position: relative;\n width: var(--n-indicator-icon-size);\n height: var(--n-indicator-icon-size);\n font-size: var(--n-indicator-icon-size);\n line-height: var(--n-indicator-icon-size);\n ",[a("index","\n display: inline-block;\n text-align: center;\n position: absolute;\n left: 0;\n top: 0;\n white-space: nowrap;\n font-size: var(--n-indicator-index-font-size);\n width: var(--n-indicator-icon-size);\n height: var(--n-indicator-icon-size);\n line-height: var(--n-indicator-icon-size);\n color: var(--n-indicator-text-color);\n transition: color .3s var(--n-bezier);\n ",[f()]),n("icon","\n color: var(--n-indicator-text-color);\n transition: color .3s var(--n-bezier);\n ",[f()]),n("base-icon","\n color: var(--n-indicator-text-color);\n transition: color .3s var(--n-bezier);\n ",[f()])])]),p("vertical","flex-direction: column;",[h("show-description",[v(">",[n("step","padding-bottom: 8px;")])]),v(">",[n("step","margin-bottom: 16px;",[v("&:last-child","margin-bottom: 0;"),v(">",[n("step-indicator",[v(">",[n("step-splitor","\n position: absolute;\n bottom: -8px;\n width: 1px;\n margin: 0 !important;\n left: calc(var(--n-indicator-size) / 2);\n height: calc(100% - var(--n-indicator-size));\n ")])]),n("step-content",[a("description","margin-top: 8px;")])])])])])]);function ht(e){return e.map(((e,t)=>function(e,t){return"object"!=typeof e||null===e||Array.isArray(e)?null:(e.props||(e.props={}),e.props.internalIndex=t+1,e)}(e,t)))}const mt=Object.assign(Object.assign({},i.props),{current:Number,status:{type:String,default:"process"},size:{type:String,default:"medium"},vertical:Boolean,"onUpdate:current":[Function,Array],onUpdateCurrent:[Function,Array]}),_t=b("n-steps"),yt=o({name:"Steps",props:mt,slots:Object,setup(e,{slots:t}){const{mergedClsPrefixRef:n,mergedRtlRef:a}=l(e),o=y("Steps",a,n),r=i("Steps","-steps",ft,g,e,n);return w(_t,{props:e,mergedThemeRef:r,mergedClsPrefixRef:n,stepsSlots:t}),{mergedClsPrefix:n,rtlEnabled:o}},render(){const{mergedClsPrefix:e}=this;return r("div",{class:[`${e}-steps`,this.rtlEnabled&&`${e}-steps--rtl`,this.vertical&&`${e}-steps--vertical`]},ht(m(_(this))))}}),gt=o({name:"Step",props:{status:String,title:String,description:String,disabled:Boolean,internalIndex:{type:Number,default:0}},slots:Object,setup(e){const t=$(_t,null);t||A("step","`n-step` must be placed inside `n-steps`.");const{inlineThemeDisabled:n}=l(),{props:a,mergedThemeRef:o,mergedClsPrefixRef:r,stepsSlots:i}=t,s=d((()=>a.vertical)),p=d((()=>{const{status:t}=e;if(t)return t;{const{internalIndex:t}=e,{current:n}=a;if(void 0===n)return"process";if(tn)return"wait"}return"process"})),v=d((()=>{const{value:e}=p,{size:t}=a,{common:{cubicBezierEaseInOut:n},self:{stepHeaderFontWeight:r,[u("stepHeaderFontSize",t)]:l,[u("indicatorIndexFontSize",t)]:i,[u("indicatorSize",t)]:s,[u("indicatorIconSize",t)]:d,[u("indicatorTextColor",e)]:c,[u("indicatorBorderColor",e)]:v,[u("headerTextColor",e)]:f,[u("splitorColor",e)]:h,[u("indicatorColor",e)]:m,[u("descriptionTextColor",e)]:_}}=o.value;return{"--n-bezier":n,"--n-description-text-color":_,"--n-header-text-color":f,"--n-indicator-border-color":v,"--n-indicator-color":m,"--n-indicator-icon-size":d,"--n-indicator-index-font-size":i,"--n-indicator-size":s,"--n-indicator-text-color":c,"--n-splitor-color":h,"--n-step-header-font-size":l,"--n-step-header-font-weight":r}})),f=n?c("step",d((()=>{const{value:e}=p,{size:t}=a;return`${e[0]}${t[0]}`})),v,a):void 0,h=d((()=>{if(e.disabled)return;const{onUpdateCurrent:t,"onUpdate:current":n}=a;return t||n?()=>{t&&z(t,e.internalIndex),n&&z(n,e.internalIndex)}:void 0}));return{stepsSlots:i,mergedClsPrefix:r,vertical:s,mergedStatus:p,handleStepClick:h,cssVars:n?void 0:v,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{mergedClsPrefix:e,onRender:t,handleStepClick:n,disabled:a}=this,o=N(this.$slots.default,(t=>{const n=t||this.description;return n?r("div",{class:`${e}-step-content__description`},n):null}));return null==t||t(),r("div",{class:[`${e}-step`,a&&`${e}-step--disabled`,!a&&n&&`${e}-step--clickable`,this.themeClass,o&&`${e}-step--show-description`,`${e}-step--${this.mergedStatus}-status`],style:this.cssVars,onClick:n},r("div",{class:`${e}-step-indicator`},r("div",{class:`${e}-step-indicator-slot`},r(k,null,{default:()=>N(this.$slots.icon,(t=>{const{mergedStatus:n,stepsSlots:a}=this;return"finish"!==n&&"error"!==n?t||r("div",{key:this.internalIndex,class:`${e}-step-indicator-slot__index`},this.internalIndex):"finish"===n?r(C,{clsPrefix:e,key:"finish"},{default:()=>x(a["finish-icon"],(()=>[r(S,null)]))}):"error"===n?r(C,{clsPrefix:e,key:"error"},{default:()=>x(a["error-icon"],(()=>[r(j,null)]))}):null}))})),this.vertical?r("div",{class:`${e}-step-splitor`}):null),r("div",{class:`${e}-step-content`},r("div",{class:`${e}-step-content-header`},r("div",{class:`${e}-step-content-header__title`},x(this.$slots.title,(()=>[this.title]))),this.vertical?null:r("div",{class:`${e}-step-splitor`})),o))}}),bt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},wt=o({name:"ArrowLeftOutlined",render:function(e,t){return I(),O("svg",bt,t[0]||(t[0]=[R("path",{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 0 0 0 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z",fill:"currentColor"},null,-1)]))}}),Nt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},xt=o({name:"SaveOutlined",render:function(e,t){return I(),O("svg",Nt,t[0]||(t[0]=[R("path",{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144s144-64.5 144-144s-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z",fill:"currentColor"},null,-1)]))}}),kt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},Ct=o({name:"SearchOutlined",render:function(e,t){return I(),O("svg",kt,t[0]||(t[0]=[R("path",{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1c-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z",fill:"currentColor"},null,-1)]))}}),St={"@@functional/placeholder":!0},jt=Number.isInteger||function(e){return(e|0)===e};function $t(e,t){var n=e<0?t.length+e:e;return F(t)?t.charAt(n):t[n]}var At=E((function(e,t){if(null!=t)return jt(e)?$t(e,t):t[e]}));function zt(e,t,n){for(var a=0,o=n.length;a=t})),Qt=E((function(e,t){if(0===e.length||W(t))return!1;for(var n=t,a=0;athis.validateWithRules(e,t)))}setValue(e,t,n){const a=this.valuesMap.get(e)||{};a[t]=n,this.valuesMap.set(e,a)}setValues(e,t){const n=this.valuesMap.get(e)||{};this.valuesMap.set(e,{...n,...t})}getValue(e,t){return(this.valuesMap.get(e)||{})[t]}getValues(e){return this.valuesMap.get(e)||{}}validateWithRules(e,t){const n=this.valuesMap.get(e)||{};for(const o in t){const e=Array.isArray(t[o])?t[o]:[t[o]],r=n[o];if(o in n)for(const t of e){if(t.required&&(null==r||""===r)){return{valid:!1,message:t.message||`${o}是必填项`}}if(null!=r&&""!==r||t.required){if(t.type&&!this.validateType(t.type,r)){return{valid:!1,message:t.message||`${o}的类型应为${t.type}`}}if(t.pattern&&!t.pattern.test(String(r))){return{valid:!1,message:t.message||`${o}格式不正确`}}if("string"===t.type||"array"===t.type){const e=r.length||0;if(void 0!==t.len&&e!==t.len){return{valid:!1,message:t.message||`${o}的长度应为${t.len}`}}if(void 0!==t.min&&et.max){return{valid:!1,message:t.message||`${o}的长度不应大于${t.max}`}}}if("number"===t.type){if(void 0!==t.len&&r!==t.len){return{valid:!1,message:t.message||`${o}应等于${t.len}`}}if(void 0!==t.min&&rt.max){return{valid:!1,message:t.message||`${o}不应大于${t.max}`}}}if(t.enum&&!t.enum.includes(r)){return{valid:!1,message:t.message||`${o}的值不在允许范围内`}}if(t.whitespace&&"string"===t.type&&!r.trim()){return{valid:!1,message:t.message||`${o}不能只包含空白字符`}}if(t.validator)try{const e=t.validator(t,r,void 0);if(!1===e){return{valid:!1,message:t.message||`${o}验证失败`}}if(e instanceof Error)return{valid:!1,message:e.message};if(Array.isArray(e)&&e.length>0&&e[0]instanceof Error)return{valid:!1,message:e[0].message}}catch(a){return{valid:!1,message:a instanceof Error?a.message:`${o}验证出错`}}}}}return{valid:!0,message:""}}validateType(e,t){switch(e){case"string":return"string"==typeof t;case"number":return"number"==typeof t&&!isNaN(t);case"boolean":return"boolean"==typeof t;case"method":return"function"==typeof t;case"regexp":return t instanceof RegExp;case"integer":return"number"==typeof t&&Number.isInteger(t);case"float":return"number"==typeof t&&!Number.isInteger(t);case"array":return Array.isArray(t);case"object":return"object"==typeof t&&!Array.isArray(t)&&null!==t;case"enum":return!0;case"date":return t instanceof Date;case"url":try{return new URL(t),!0}catch(n){return!1}case"email":return/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t);default:return!0}}validate(e){const t=this.validators.get(e);if(t){const n=t();return this.validationResults.set(e,n),n}return{valid:!1,message:""}}validateAll(){let e=!0;const t={};return this.validators.forEach(((n,a)=>{const o=this.validate(a);t[a]=o,o.valid||(e=!1)})),{valid:e,results:t}}getValidationResult(e){return this.validationResults.get(e)||{valid:!0,message:""}}};function cn(){const e=G({valid:!1,message:""});return{validationResult:e,registerValidator:(t,n)=>{un.register(t,n),e.value=un.getValidationResult(t)},registerCompatValidator:(t,n,a)=>{un.registerCompatValidator(t,n,a),e.value=un.getValidationResult(t)},setFieldValue:(e,t,n)=>{un.setValue(e,t,n)},setFieldValues:(e,t)=>{un.setValues(e,t)},getFieldValue:(e,t)=>un.getValue(e,t),getFieldValues:e=>un.getValues(e),validate:t=>{const n=un.validate(t);return e.value=n,n},unregisterValidator:e=>{un.unregister(e)},validator:un}}J(((e,t)=>{const n=new Date(e),a=new Date(t),o=new Date(n.getFullYear(),n.getMonth(),n.getDate()),r=new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime()-o.getTime();return Math.floor(r/864e5)}));J(((e,t,n)=>{const a=new Date(e).getTime(),o=new Date(t).getTime(),r=new Date(n).getTime();return a>=o&&a<=r}));J(((e,t)=>{const n=new Date(t);return n.setDate(n.getDate()+e),n})),K(String),J(((e,t)=>tn(At(e),t))),J(((e,t)=>Le(e,t))),J(((e,t)=>He(Yt(en)(e),t))),J(((e,t,n)=>X(Xt(St,e),ln(St,t))(n))),J(((e,t)=>Object.fromEntries(Object.entries(t).filter((([t,n])=>e(n)))))),J(((e,t)=>Kt(At(e),t))),J(((e,t)=>K(sn(e),t))),function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");D(arguments[0].length,Mt(Tt,arguments[0],Ut(arguments)))}(Jt,on);const pn=(e,t,n=!0)=>{const a={...e};for(const o in t)if(t.hasOwnProperty(o)){const r=t[o],l=e[o];Array.isArray(r)&&Array.isArray(l)?a[o]=n?[...l,...r]:r:vn(r)&&vn(l)?a[o]=pn(l,r):a[o]=r}return a},vn=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),fn=e=>JSON.parse(JSON.stringify(e)),hn=[];for(let Oo=0;Oo<256;++Oo)hn.push((Oo+256).toString(16).slice(1));let mn;const _n=new Uint8Array(16);const yn={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function gn(e,t,n){var a;if(yn.randomUUID&&!e)return yn.randomUUID();const o=(e=e||{}).random??(null==(a=e.rng)?void 0:a.call(e))??function(){if(!mn){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");mn=crypto.getRandomValues.bind(crypto)}return mn(_n)}();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=15&o[6]|64,o[8]=63&o[8]|128,function(e,t=0){return(hn[e[t+0]]+hn[e[t+1]]+hn[e[t+2]]+hn[e[t+3]]+"-"+hn[e[t+4]]+hn[e[t+5]]+"-"+hn[e[t+6]]+hn[e[t+7]]+"-"+hn[e[t+8]]+hn[e[t+9]]+"-"+hn[e[t+10]]+hn[e[t+11]]+hn[e[t+12]]+hn[e[t+13]]+hn[e[t+14]]+hn[e[t+15]]).toLowerCase()}(o)}const bn="start",wn="branch",Nn="condition",xn="execute_result_branch",kn="execute_result_condition",Cn="upload",Sn="notify",jn="apply",$n="deploy",An={},zn=e=>pn({title:{name:"",color:"#FFFFFF",bgColor:"#3CB371"},icon:{name:"",color:"#3CB371"},operateNode:{add:!0,sort:1,addBranch:!1,edit:!0,remove:!0,onSupportNode:[]},isHasDrawer:!1,defaultNode:{}},e);An[bn]=()=>zn({title:{name:"开始"},operateNode:{onSupportNode:[xn],remove:!1,edit:!1,add:!1},defaultNode:{id:gn(),name:"开始",type:bn,config:{exec_type:"manual"},childNode:null}}),An[jn]=()=>zn({title:{name:"申请"},icon:{name:jn},operateNode:{sort:1},defaultNode:{id:gn(),name:"申请",type:jn,config:{domains:"",email:"",eabId:"",ca:"letsencrypt",proxy:"",end_day:30,provider:"",provider_id:"",algorithm:"RSA2048",skip_check:0},childNode:null}}),An[Cn]=()=>zn({title:{name:"上传"},icon:{name:Cn},operateNode:{sort:2,onSupportNode:[xn]},defaultNode:{id:gn(),name:"上传",type:Cn,config:{cert_id:"",cert:"",key:""},childNode:null}}),An[$n]=()=>zn({title:{name:"部署"},icon:{name:$n},operateNode:{sort:3},defaultNode:{id:gn(),name:"部署",type:$n,inputs:[],config:{provider:"",provider_id:"",skip:1,inputs:{fromNodeId:"",name:""}},childNode:null}}),An[Sn]=()=>zn({title:{name:"通知"},icon:{name:Sn},operateNode:{sort:4},defaultNode:{id:gn(),name:"通知",type:Sn,config:{provider:"",provider_id:"",subject:"",body:""},childNode:null}}),An[wn]=()=>zn({title:{name:"并行分支"},icon:{name:wn},operateNode:{sort:5,addBranch:!0},defaultNode:{id:gn(),name:"并行分支",type:wn,conditionNodes:[{id:gn(),name:"分支1",type:Nn,config:{},childNode:null},{id:gn(),name:"分支2",type:Nn,config:{},childNode:null}]}}),An[Nn]=()=>zn({title:{name:"分支1"},icon:{name:Nn},operateNode:{add:!1,onSupportNode:[xn]},defaultNode:{id:gn(),name:"分支1",type:Nn,icon:{name:Nn},config:{},childNode:null}}),An[xn]=()=>zn({title:{name:"执行结果分支"},icon:{name:wn},operateNode:{sort:7,onSupportNode:[xn]},defaultNode:{id:gn(),name:"执行结果分支",type:xn,conditionNodes:[{id:gn(),name:"若当前节点执行成功…",type:kn,icon:{name:"success"},config:{type:"success"},childNode:null},{id:gn(),name:"若当前节点执行失败…",type:kn,icon:{name:"error"},config:{type:"fail"},childNode:null}]}}),An[kn]=()=>zn({title:{name:"执行结构条件"},icon:{name:wn},operateNode:{add:!1,onSupportNode:[xn]},defaultNode:{id:gn(),name:"若前序节点执行失败…",type:kn,icon:{name:"SUCCESS"},config:{type:"SUCCESS"},childNode:null}});const On={name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"auto",type:"day",hour:1,minute:0},childNode:{id:"apply-1",name:"申请证书",type:"apply",config:{domains:"",email:"",eabId:"",ca:"letsencrypt",proxy:"",end_day:30,provider:"",provider_id:"",algorithm:"RSA2048",skip_check:0},childNode:{id:"deploy-1",name:"部署",type:"deploy",inputs:[],config:{provider:"",provider_id:"",skip:1,inputs:{fromNodeId:"",name:""}},childNode:{id:"execute",name:"执行结果",type:"execute_result_branch",config:{fromNodeId:"deploy-1"},conditionNodes:[{id:"execute-success",name:"执行成功",type:"execute_result_condition",config:{fromNodeId:"",type:"success"}},{id:"execute-failure",name:"执行失败",type:"execute_result_condition",config:{fromNodeId:"",type:"fail"}}],childNode:{id:"notify-1",name:"通知任务",type:"notify",config:{provider:"",provider_id:"",subject:"",body:""}}}}}}},In=Q("flow-store",(()=>{const e=G({id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}}),t=G(100),n=G(!1),a=G([]),o=G([]),r=G(null),l=G(null),i=G(null),s=G(null),u=G(null),c=d((()=>a.value.filter((e=>!o.value.includes(e.type))))),p=d((()=>s.value?h(e.value.childNode,s.value):null)),v=d((()=>p.value?p.value.name:te("t_6_1744861190121"))),f=()=>{const t=JSON.parse(JSON.stringify(On));t.name="工作流("+((e,t="yyyy-MM-dd HH:mm:ss")=>{const n=Number(e)&&10===e.toString().length?new Date(1e3*Number(e)):new Date(e),a=dn(["yyyy","MM","dd","HH","mm","ss"],[n.getFullYear(),n.getMonth()+1,n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds()]);return Mt(((e,t)=>{const n=a[t],o="yyyy"!==t&&n<10?`0${n}`:`${n}`;return e.replace(new RegExp(t,"g"),o)}),t,Y(a))})(new Date,"yyyy/MM/dd HH:mm:ss")+")",e.value=t},h=(e,t)=>{var n;if(e.id===t)return e;if(e.childNode){const n=h(e.childNode,t);if(n)return n}if(null==(n=e.conditionNodes)?void 0:n.length)for(const a of e.conditionNodes){const e=h(a,t);if(e)return e}return null},m=t=>h(e.value.childNode,t),_=(e,t,n,a=null)=>{var o;if(e.id===t)return n(e,a),!0;if(e.childNode&&_(e.childNode,t,n,e))return!0;if(null==(o=e.conditionNodes)?void 0:o.length)for(const r of e.conditionNodes)if(_(r,t,n,e))return!0;return!1},y=(e,t)=>{if(!e)return null;const n=e[t];return n?"object"==typeof n&&null!==n?y(n,t):void 0:e};return{flowData:e,flowZoom:t,selectedNode:p,nodeTitle:v,selectedNodeId:s,isRefreshNode:u,advancedOptions:n,initFlowData:f,resetFlowData:()=>f(),getResultData:()=>pn({},e.value),updateFlowData:t=>{e.value=t},setflowZoom:e=>{1===e&&t.value>50?t.value-=10:2===e&&t.value<300&&(t.value+=10)},addNodeSelectList:a,nodeSelectList:c,excludeNodeSelectList:o,addNodeBtnRef:r,addNodeSelectRef:l,addNodeSelectPostion:i,getAddNodeSelect:()=>{a.value=[],Object.keys(An).forEach((e=>{var t;const n=An[e]();(null==(t=n.operateNode)?void 0:t.add)&&a.value.push({title:{name:n.title.name},type:e,icon:{...n.icon||{}},selected:!1})}))},addExcludeNodeSelectList:e=>{o.value=e},clearExcludeNodeSelectList:()=>{o.value=[]},setShowAddNodeSelect:(e,t)=>{var n;if(o.value=(null==(n=An[t]().operateNode)?void 0:n.onSupportNode)||[],e&&l.value&&r.value){const e=l.value.getBoundingClientRect().width,t=r.value.getBoundingClientRect().right,n=window.innerWidth;i.value=t+e>n?1:2}},addNode:(t,n,a={})=>{if(!m(t))return;let o=pn(An[n]().defaultNode,a);_(e.value.childNode,t,((e,a)=>{switch(n){case Nn:e.conditionNodes&&(o.name=`分支${e.conditionNodes.length+1}`,e.conditionNodes.push(o));break;case wn:case xn:n===xn&&(o={...o,config:{fromNodeId:t}}),o.conditionNodes[0].childNode=e.childNode,e.childNode=o;break;default:e.childNode&&(o.childNode=e.childNode),e.childNode=o}}))},removeNode:(t,n=!1)=>{if(m(t))return _(e.value.childNode,t,((a,o)=>{var r,l,i;if(!o)return;const{type:s,conditionNodes:d}=o;(null==(r=a.childNode)?void 0:r.type)===xn&&(null==(l=a.childNode)?void 0:l.config)&&(a.childNode.config.fromNodeId=o.id);const u=[Nn,kn,wn,xn];if(u.includes(a.type)||(null==(i=o.childNode)?void 0:i.id)!==t){if(u.includes(a.type))if(2===d.length)_(e.value.childNode,o.id,s===wn?(e,n)=>{const a=d.findIndex((e=>e.id===t)),o=e.childNode;if(-1!==a&&n){n.childNode=d[0===a?1:0].childNode;y(n,"childNode").childNode=o}}:(e,t)=>{var n;t&&((null==(n=null==o?void 0:o.childNode)?void 0:n.id)?t.childNode=o.childNode:t.childNode=void 0)});else{const e=o.conditionNodes.findIndex((e=>e.id===t));if(-1!==e)if(n)o.conditionNodes.splice(e,1);else{const t=o.conditionNodes[e];(null==t?void 0:t.childNode)?o.conditionNodes[e]=t.childNode:o.conditionNodes.splice(e,1)}}}else n?o.childNode=void 0:a.childNode?o.childNode=a.childNode:o.childNode=void 0})),e.value},updateNodeConfig:(t,n)=>{if(m(t))return _(e.value.childNode,t,(e=>{e.config=n})),e.value},updateNode:(t,n,a=!0)=>{if(m(t))return _(e.value.childNode,t,(e=>{const t=pn(e,n,a);Object.keys(t).forEach((n=>{n in e&&(e[n]=t[n])}))})),e.value},findApplyUploadNodesUp:(t,n=["apply","upload"])=>{const a=[],o=(e,t,n=[])=>{var a;if(e.id===t)return n;if(e.childNode){const a=[...n,e],r=o(e.childNode,t,a);if(r)return r}if(null==(a=e.conditionNodes)?void 0:a.length)for(const r of e.conditionNodes){const a=[...n,e],l=o(r,t,a);if(l)return l}return null},r=o(e.value.childNode,t);return r&&r.forEach((e=>{n.includes(e.type)&&a.push({name:e.name,id:e.id})})),a},checkFlowNodeChild:e=>{var t;const n=m(e);return!!n&&!(!n.childNode&&!(null==(t=n.conditionNodes)?void 0:t.length))},checkFlowInlineNode:t=>{const n=m(t);n&&"condition"===n.type&&_(e.value.childNode,t,(e=>{e.conditionNodes&&(e.conditionNodes=e.conditionNodes.filter((e=>e.id!==t)))}))}}})),Rn=()=>{const e=In(),t=ee(e);return{...e,...t}};function Fn(e,t,n){const{isRefreshNode:a}=Rn(),{registerCompatValidator:o,validate:r,validationResult:l,unregisterValidator:i}=cn(),s=ne(["warningColor","primaryColor"]),u=d((()=>l.value.valid?"var(--n-primary-color)":"var(--n-warning-color)"));ae((()=>a.value),(n=>{Ke((()=>{o(e.node.id,t,e.node.config),r(e.node.id),a.value=null}),500)}),{immediate:!0}),oe((()=>i(e.node.id)));return{validationResult:l,validColor:u,renderNode:()=>re("div",{style:s.value,class:"text-[12px]"},[re("div",{style:{color:u.value}},[n(l.value.valid,e.node.config)])])}}function En(e){return{required:(t,n,a="change")=>({required:!0,message:n||te("t_3_1747817612697",{nodeName:e,field:t}),trigger:a}),domain:(e="input")=>({required:!0,trigger:e,validator:(e,t)=>t?!!Ge(t)||new Error(te("t_4_1747817613325")):new Error(te("t_0_1744958839535"))}),domainGroup:(e="input")=>({required:!0,trigger:e,validator:(e,t)=>t?!!We(t)||new Error(te("t_5_1747817619337")):new Error(te("t_0_1744958839535"))}),email:(e="input")=>({required:!0,trigger:e,validator:(e,t)=>t?!!Ze(t)||new Error(te("t_7_1747817613773")):new Error(te("t_6_1747817644358"))}),custom:(e,t="change")=>({required:!0,trigger:t,validator:e})}}const Dn=En(te("t_10_1747817611126")),Mn={domains:Dn.domainGroup(),email:Dn.email(),provider_id:Dn.required("provider_id",te("t_3_1745490735059")),end_day:Dn.custom(((e,t)=>!("number"!=typeof t||isNaN(t)||t<1)||new Error(te("t_9_1747990229640"))))};function Pn(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)}const Bn=o({name:"CAProviderSelect",props:{path:{type:String,required:!0},value:{type:String,required:!0,default:""},ca:{type:String,required:!0},email:{type:String,required:!0},disabled:{type:Boolean,default:!1},customClass:{type:String,default:""}},emits:{"update:value":e=>!0,"update:email":e=>!0},setup(e,{emit:t}){const{isLoading:n,caProviderRef:a,param:o,handleUpdateValue:r,handleFilter:l,goToAddCAProvider:i,errorMessage:s,loadCAProviders:d}=function(e,t){const{handleError:n}=Pe(),a=G({label:"",value:"",ca:"",email:""}),o=G([]),r=G(!1),l=G(""),i=()=>{var e,n,r,l;const i=o.value.find((e=>e.value===a.value.value));i?a.value={label:i.label,value:i.value,ca:i.ca,email:i.email}:o.value.length>0&&""===a.value.value&&(a.value={label:(null==(e=o.value[0])?void 0:e.label)||"",value:(null==(n=o.value[0])?void 0:n.value)||"",ca:(null==(r=o.value[0])?void 0:r.ca)||"",email:(null==(l=o.value[0])?void 0:l.email)||""}),""!==a.value.value&&t("update:email",a.value.email),t("update:value",{value:a.value.value,ca:a.value.ca,email:a.value.email})},s=e=>{a.value.value=e,i()},d=async()=>{r.value=!0,l.value="";try{const t={label:"Let's Encrypt",value:"",ca:"letsencrypt",email:""},{data:n}=await et({ca:""}).fetch(),a=(n||[]).map((e=>({label:e.name,value:e.id.toString(),ca:e.ca,email:e.mail})));o.value=[t,...a],e.value?s(e.value):i()}catch(t){l.value="string"==typeof t?t:te("t_3_1747990229599"),n(t)}finally{r.value=!1}};return ae((()=>e.value),(e=>{e!==a.value.value&&s(e)}),{immediate:!0}),le((()=>{d()})),{param:a,caProviderRef:o,isLoading:r,errorMessage:l,goToAddCAProvider:e=>{window.open(`/auto-deploy?type=${e}`,"_blank")},handleUpdateValue:s,loadCAProviders:d,handleFilter:(e,t)=>t.label.toLowerCase().includes(e.toLowerCase())}}(e,t),u=e=>re(Ye,{align:"center"},{default:()=>[re(nt,{icon:`cert-${e.ca}`,size:"2rem"},null),re(Je,null,{default:()=>[e.label]})]});return()=>{let t,c;return re(Be,{show:n.value},{default:()=>[re(ie,{cols:24,class:e.customClass},{default:()=>[re(se,{span:13,label:te("证书颁发机构/授权(可选)"),path:e.path},{default:()=>[re(de,{class:"flex-1 w-full",options:a.value,renderLabel:u,renderTag:({option:e})=>(({option:e})=>{let t;return re("div",{class:"flex items-center"},[e.label?u(e):re(Je,{class:"text-[#aaa]"},Pn(t=te("t_0_1747990228780"))?t:{default:()=>[t]})])})({option:e}),filterable:!0,filter:(e,t)=>l(e,t),placeholder:te("t_0_1747990228780"),value:o.value.value,onUpdateValue:r,disabled:e.disabled},{header:()=>re("div",{class:"flex items-center cursor-pointer hover:text-[#333] hover:bg-[#eee]",onClick:()=>i("addCAForm")},[te("添加Zerossl、Google,CA证书授权")]),empty:()=>re("span",{class:"text-[1.4rem]"},[s.value||te("t_2_1747990228008")])})]}),re(se,{span:11},{default:()=>[re(ue,{class:"mx-[8px]",onClick:()=>i("caManage"),disabled:e.disabled},Pn(t=te("t_0_1747903670020"))?t:{default:()=>[t]}),re(ue,{onClick:()=>d(),loading:n.value,disabled:e.disabled},Pn(c=te("t_0_1746497662220"))?c:{default:()=>[c]})]})]})]})}}}),Vn=o({name:"ApplyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{domains:"",email:"",eabId:"",ca:"",proxy:"",provider_id:"",provider:"",end_day:30,name_server:"",skip_check:0,algorithm:"RSA2048"}})}},setup(e){const{updateNodeConfig:t,advancedOptions:n,isRefreshNode:a}=Rn(),{confirm:o}=_e(),{useFormInput:r,useFormSelect:l,useFormMore:i,useFormHelp:s,useFormSwitch:u}=pe(),c=G(fn(e.node.config)),p=d((()=>[r(te("t_17_1745227838561"),"domains",{placeholder:te("t_0_1745735774005"),allowInput:at,onInput:e=>{c.value.domains=e.replace(/,/g,",").replace(/;/g,",")}}),{type:"custom",render:()=>re(Qe,ve({type:"dns",path:"provider_id",value:c.value.provider_id,valueType:"value",isAddMode:!0},{"onUpdate:value":e=>{c.value.provider_id=e.value,c.value.provider=e.type}}),null)},{type:"custom",render:()=>re(Bn,ve({path:"eabId",value:c.value.eabId,email:c.value.email,ca:c.value.ca},{"onUpdate:value":e=>{c.value.eabId=e.value,c.value.ca=e.ca,e.value&&(c.value.email=e.email)}}),null)},r(te("邮件"),"email",{placeholder:te("请输入邮箱信息,用于接收证书验证邮件"),allowInput:at}),{type:"custom",render:()=>re(fe,{label:te("t_4_1747990227956"),path:"end_day"},{default:()=>[re("div",{class:"flex items-center"},[re("span",{class:"text-[1.4rem] mr-[1.2rem]"},[te("t_5_1747990228592")]),re(he,{value:c.value.end_day,"onUpdate:value":e=>c.value.end_day=e,showButton:!1,min:1,class:"w-[120px]"},null),re("span",{class:"text-[1.4rem] ml-[1.2rem]"},[te("t_6_1747990228465")])])]})},i(n),...n.value?[l(te("t_0_1747647014927"),"algorithm",[{label:"RSA2048",value:"RSA2048"},{label:"RSA3072",value:"RSA3072"},{label:"RSA4096",value:"RSA4096"},{label:"RSA8192",value:"RSA8192"},{label:"EC256",value:"EC256"},{label:"EC384",value:"EC384"}],{},{showRequireMark:!1}),r(te("t_7_1747990227761"),"proxy",{placeholder:te("t_8_1747990235316"),allowInput:at},{showRequireMark:!1}),r(te("t_0_1747106957037"),"name_server",{placeholder:te("t_1_1747106961747"),allowInput:at,onInput:e=>{c.value.name_server=e.replace(/,/g,",").replace(/;/g,",")}},{showRequireMark:!1}),u(te("t_2_1747106957037"),"skip_check",{checkedValue:1,uncheckedValue:0},{showRequireMark:!1})]:[],s([{content:te("t_0_1747040228657")},{content:te("t_1_1747040226143")}])])),{component:v,data:f,example:h}=me({defaultValue:c,config:p,rules:Mn});return le((()=>{n.value=!1})),o((async n=>{var o;try{await(null==(o=h.value)?void 0:o.validate()),t(e.node.id,f.value),a.value=e.node.id,n()}catch(r){}})),()=>re("div",{class:"apply-node-drawer"},[re(v,{labelPlacement:"top"},null)])}});function Tn(){return{handleNodeClick:(e,t,n,a="60rem",o=!0)=>{var r;ye({title:`${null==(r=e.value)?void 0:r.name}${n||te("t_1_1745490731990")}`,area:a,component:()=>t(e.value),confirmText:te("t_2_1744861190040"),footer:o})}}}const qn=o({name:"ApplyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,Mn,((e,t)=>e?te("t_9_1747817611448")+(null==t?void 0:t.domains):te("t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>a(e,(e=>re(Vn,{node:e},null)))}),n}}),Un=Object.freeze(Object.defineProperty({__proto__:null,default:qn},Symbol.toStringTag,{value:"Module"})),Ln=En(te("t_11_1747817612051")),Hn={provider:Ln.required("provider",te("t_0_1746858920894")),provider_id:Ln.custom(((e,t)=>!!t||new Error(te("t_0_1746858920894")))),"inputs.fromNodeId":Ln.required("inputs.fromNodeId",te("t_3_1745748298161")),certPath:Ln.required("certPath",te("t_30_1746667591892"),"input"),keyPath:Ln.required("keyPath",te("t_31_1746667593074"),"input"),siteName:Ln.custom(((e,t)=>{if(!t)return new Error(te("t_1_1747296175494"));if("string"==typeof t){if(!t.trim())return new Error(te("t_1_1747296175494"))}else{if(!Array.isArray(t))return new Error(te("t_1_1747296175494"));if(0===t.length)return new Error(te("t_1_1747296175494"))}return!0}),"input"),site_id:Ln.required("site_id",te("t_24_1745735766826"),"input"),domain:Ln.custom(((e,t)=>t&&!!Ge(t)||new Error(te("t_0_1744958839535"))),"input"),region:Ln.required("region",te("t_25_1745735766651"),"input"),bucket:Ln.required("bucket",te("t_26_1745735767144"),"input")};const Zn="all",Wn={};function Gn(e){const t=e.split("-")[0];return Wn[t]||Zn}function Jn(){const e=[];return Object.keys(rt).filter((e=>{const t=rt[e];return Array.isArray(t.type)&&t.type.includes("host")})).forEach((t=>{const n=rt[t],{icon:a}=n;if("hostRelated"in n&&n.hostRelated){const o=n.hostRelated;"default"in o&&o.default&&"name"in o.default&&e.push({label:o.default.name,value:t,category:Gn(t),icon:a}),Object.entries(o).forEach((([n,o])=>{if("default"!==n&&o&&"object"==typeof o&&"name"in o){const r=`${t}-${n}`;e.push({label:o.name,value:r,category:Gn(t),icon:a})}}))}})),e.sort(((e,t)=>{var n,a,o,r;const l=((null==(n=e.value)?void 0:n.toString())||"").split("-")[0],i=((null==(a=t.value)?void 0:a.toString())||"").split("-")[0],s=l?rt[l]:void 0,d=i?rt[i]:void 0,u=s&&"object"==typeof s&&"sort"in s&&s.sort||999,c=d&&"object"==typeof d&&"sort"in d&&d.sort||999;if(u!==c)return u-c;const p=(null==(o=e.label)?void 0:o.toString())||"",v=(null==(r=t.label)?void 0:r.toString())||"";return p.localeCompare(v)}))}function Yn(e){if(e===Zn)return te("t_7_1747271292060");for(const[t,n]of Object.entries(rt))if(n.icon===e)return"本地部署"===n.name?te("t_0_1747969933657"):n.name;return""}Object.entries(rt).forEach((([e,t])=>{var n;(null==(n=t.type)?void 0:n.includes("host"))&&t.icon&&(Wn[e]=t.icon)}));const Kn={configContainer:"_configContainer_17s58_4",formContainer:"_formContainer_17s58_9",leftPanel:"_leftPanel_17s58_14",rightPanel:"_rightPanel_17s58_21",searchBar:"_searchBar_17s58_26",cardContainer:"_cardContainer_17s58_31",optionCard:"_optionCard_17s58_37",optionCardSelected:"_optionCardSelected_17s58_42",cardContent:"_cardContent_17s58_68",icon:"_icon_17s58_73",iconSelected:"_iconSelected_17s58_77",footer:"_footer_17s58_82",footerButton:"_footerButton_17s58_86"};function Xn(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)}const Qn=o({name:"DeployNodeDrawer",props:{node:{type:Object,default:()=>({id:"",inputs:[],config:{provider:"",provider_id:"",inputs:{fromNodeId:"",name:""},skip:1}})}},setup(e){const{updateNode:t,updateNodeConfig:n,findApplyUploadNodesUp:a,isRefreshNode:o}=Rn(),r=ne(["primaryColor","borderColor"]),{handleError:l}=Pe(),i=be();we();const s=Ne(),u=function(){const{useFormInput:e,useFormTextarea:t,useFormSelect:n}=pe();return{input:(t,n,a={},o={})=>e(t,n,{placeholder:a.placeholder||te("t_0_1747817614953")+t,allowInput:at,...a},o),textarea:(e,n,a={},o={})=>t(e,n,{placeholder:a.placeholder||te("t_0_1747817614953")+e,rows:a.rows||3,...a},{showRequireMark:!1,...o}),select:(e,t,a,o={},r={})=>n(e,t,a,o,r),switch(e,t,n,a={}){const o=a.checkedText||te("t_1_1747817639034"),r=a.uncheckedText||te("t_2_1747817610671"),l=a.description||"";return{type:"custom",render:()=>re(fe,{label:e,path:t},{default:()=>{return[l&&re(Je,null,(e=l,"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)?l:{default:()=>[l]})),re(ge,{value:n.value[t],"onUpdate:value":e=>n.value[t]=e,checkedValue:1,uncheckedValue:0,class:"mx-[.5rem]"},{checked:()=>o,unchecked:()=>r})];var e}})}},custom:e=>({type:"custom",render:e}),sshDeploy(){return[this.input(te("t_1_1747280813656"),"certPath",{placeholder:te("t_30_1746667591892")}),this.input(te("t_2_1747280811593"),"keyPath",{placeholder:te("t_31_1746667593074")}),this.textarea(te("t_3_1747280812067"),"beforeCmd",{placeholder:te("t_21_1745735769154"),rows:2}),this.textarea(te("t_4_1747280811462"),"afterCmd",{placeholder:te("t_22_1745735767366"),rows:2})]},siteDeploy(){return[this.input(te("t_0_1747296173751"),"siteName",{placeholder:te("t_1_1747296175494")})]},onePanelSiteDeploy(){return[this.input(te("t_6_1747280809615"),"site_id",{placeholder:te("t_24_1745735766826")})]},cdnDeploy(){return[this.input(te("t_17_1745227838561"),"domain",{placeholder:te("t_0_1744958839535")})]},wafDeploy(){return[this.input(te("t_17_1745227838561"),"domain",{placeholder:te("t_0_1744958839535")}),this.select(te("t_7_1747280808936"),"region",[{label:"cn-hangzhou",value:"cn-hangzhou"},{label:"ap-southeast-1",value:"ap-southeast-1"}],{placeholder:te("t_25_1745735766651"),defaultValue:"cn-hangzhou"})]},storageDeploy(){return[this.input(te("t_17_1745227838561"),"domain",{placeholder:te("t_0_1744958839535")}),this.input(te("t_7_1747280808936"),"region",{placeholder:te("t_25_1745735766651")}),this.input(te("t_8_1747280809382"),"bucket",{placeholder:te("t_26_1745735767144")})]},skipOption(e){return this.switch(te("t_9_1747280810169"),"skip",e,{checkedText:te("t_11_1747280809178"),uncheckedText:te("t_12_1747280809893"),description:te("t_10_1747280816952")})}}}(),c=Jn(),p=function(){const e=Array.from(new Set(Jn().map((e=>e.category)).filter(Boolean)));if(e.includes(Zn)){const t=e.indexOf(Zn);e.splice(t,1),e.unshift(Zn)}else e.unshift(Zn);return e.sort(((e,t)=>{var n,a;if(e===Zn)return-1;if(t===Zn)return 1;const o=Object.entries(rt).find((([t,n])=>n.icon===e)),r=Object.entries(rt).find((([e,n])=>n.icon===t));return((null==(n=null==o?void 0:o[1])?void 0:n.sort)||999)-((null==(a=null==r?void 0:r[1])?void 0:a.sort)||999)})).map((e=>({name:e,tab:Yn(e)})))}(),v=G([]),f=G([]),h=G(!1),m=G(1),_=G(!0),y=G("process"),g=G(Zn),b=G(""),w=G(fn(e.node.config)),N=G(function(){var e,t;const n=rt.localhost;return n&&Array.isArray(n.type)&&n.type.includes("host")?[{label:(null==(t=null==(e=n.hostRelated)?void 0:e.default)?void 0:t.name)||te("t_6_1747271296994"),value:"localhost"}]:[{label:te("t_6_1747271296994"),value:"localhost"}]}()),x=d((()=>{var e;return w.value.provider?te("t_4_1746858917773")+":"+(null==(e=c.find((e=>e.value===w.value.provider)))?void 0:e.label):te("t_19_1745735766810")})),k=d((()=>function(e,t,n){let a=[...e];if(t!==Zn&&(a=a.filter((e=>e.category===t))),n){const e=n.toLowerCase();a=a.filter((t=>{var n,a;return((null==(n=t.label)?void 0:n.toString().toLowerCase())||"").includes(e)||((null==(a=t.value)?void 0:a.toString().toLowerCase())||"").includes(e)}))}return a}(c,g.value,b.value))),C=d((()=>{const e=[];switch("localhost"!==w.value.provider?e.push(u.custom((()=>{const e={type:w.value.provider,path:"provider_id",value:w.value.provider_id,valueType:"value",isAddMode:!0,"onUpdate:value":e=>{""!==e.value&&""!==w.value.provider_id&&w.value.provider_id!==e.value&&(w.value.siteName=[]),w.value.provider_id=e.value}};return re(Qe,e,null)}))):e.push(u.select(te("t_0_1746754500246"),"provider",N.value)),e.push(u.select(te("t_1_1745748290291"),"inputs.fromNodeId",v.value,{onUpdateValue:(e,t)=>{w.value.inputs.fromNodeId=e,w.value.inputs.name=null==t?void 0:t.label}})),w.value.provider){case"localhost":case"ssh":e.push(...u.sshDeploy());break;case"btpanel-site":e.push(u.select(te("t_0_1747296173751"),"siteName",f.value,{placeholder:te("t_10_1747990232207"),multiple:!0,filterable:!0,remote:!0,clearable:!0,loading:h.value,onSearch:S}));break;case"btwaf-site":case"btpanel-dockersite":case"safeline-site":e.push(...u.siteDeploy());break;case"1panel-site":e.push(...u.onePanelSiteDeploy());break;case"tencentcloud-cdn":case"tencentcloud-waf":case"tencentcloud-teo":case"aliyun-cdn":case"baidu-cdn":case"qiniu-cdn":case"qiniu-oss":e.push(...u.cdnDeploy());break;case"aliyun-waf":e.push(...u.wafDeploy());break;case"tencentcloud-cos":case"aliyun-oss":e.push(...u.storageDeploy())}return e.push(u.skipOption(w)),e})),S=Xe((async e=>{if("btpanel-site"===w.value.provider&&w.value.provider_id)try{h.value=!0;const{data:t}=await tt({id:w.value.provider_id.toString(),type:w.value.provider,search:e,limit:"100"}).fetch();f.value=null==t?void 0:t.map((e=>({label:e,value:e})))}catch(t){l(t),f.value=[]}finally{h.value=!1}}),1e3),j=async()=>{var t,n,o;if(!w.value.provider)return i.error(te("t_0_1746858920894"));"localhost"===w.value.provider?delete w.value.provider_id:w.value.provider_id=e.node.config.provider_id,v.value=a(e.node.id).map((e=>({label:e.name,value:e.id}))),v.value.length?(null==(t=w.value.inputs)?void 0:t.fromNodeId)||(w.value.inputs={name:(null==(n=v.value[0])?void 0:n.label)||"",fromNodeId:(null==(o=v.value[0])?void 0:o.value)||""}):i.warning(te("t_3_1745748298161")),m.value++,_.value=!1},$=()=>{m.value--,_.value=!0,w.value.provider_id="",w.value.provider=""},{component:A,example:z}=me({config:C,defaultValue:w,rules:Hn});ae((()=>w.value.provider_id),(()=>{"btpanel-site"===w.value.provider&&S("")}));const O=async()=>{var a;try{await(null==(a=z.value)?void 0:a.validate());const r=fn(w.value);"btpanel-site"===r.provider&&r.siteName&&Array.isArray(r.siteName)&&(r.siteName=r.siteName.join(","));const l=r.inputs;n(e.node.id,{...r}),t(e.node.id,{inputs:[l]},!1),o.value=e.node.id,s()}catch(r){l(r)}};return le((()=>{w.value.provider&&(e.node.inputs&&(w.value.inputs=e.node.inputs[0]),"btpanel-site"===w.value.provider&&w.value.siteName&&(S(""),w.value.siteName=w.value.siteName.split(",").filter(Boolean)),j())})),()=>{let e,t,n;return re("div",{class:Kn.container,style:r.value},[re(yt,{size:"small",current:m.value,status:y.value},{default:()=>[re(gt,{title:te("t_28_1745735766626"),description:x.value},null),re(gt,{title:te("t_29_1745735768933"),description:te("t_2_1745738969878")},null)]}),1===m.value&&re("div",{class:Kn.configContainer},[re("div",{class:Kn.leftPanel},[re(lt,{type:"bar",placement:"left",value:g.value,class:"h-[45rem]",onUpdateValue:e=>g.value=e},Xn(e=p.map((e=>re(it,{key:e.name,name:e.name,tab:e.tab},null))))?e:{default:()=>[e]})]),re("div",{class:Kn.rightPanel},[re("div",{class:Kn.searchBar},[re(xe,{value:b.value,onUpdateValue:e=>b.value=e,placeholder:te("t_14_1747280811231"),clearable:!0},{suffix:()=>re("div",{class:"flex items-center"},[re(Ct,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])})]),re(ke,{class:"!my-[1rem]"},null),re("div",{class:Kn.cardContainer},[k.value.map((e=>{var t;return re("div",{key:e.value,class:`${Kn.optionCard} ${w.value.provider===e.value?Kn.optionCardSelected:""}`,onClick:()=>{w.value.provider=e.value}},[re("div",{class:Kn.cardContent},[re(nt,{icon:`resources-${null==(t=e.icon)?void 0:t.replace(/-[a-z]+$/,"")}`,size:"2rem",class:`${Kn.icon} ${w.value.provider===e.value?Kn.iconSelected:""}`},null),re(Je,{type:w.value.provider===e.value?"primary":"default"},{default:()=>[e.label]})])])}))])])]),2===m.value&&re(Ce,{class:Kn.formContainer},{default:()=>[re(A,{labelPlacement:"top"},null)]}),re("div",{class:Kn.footer},[re(ue,{class:Kn.footerButton,onClick:s},Xn(t=te("t_4_1744870861589"))?t:{default:()=>[t]}),re(Se,{trigger:"hover",disabled:!!w.value.provider},{default:()=>[_.value?te("t_4_1745765868807"):null],trigger:()=>re(ue,{type:_.value?"primary":"default",class:Kn.footerButton,disabled:!w.value.provider,onClick:_.value?j:$},{default:()=>[_.value?te("t_27_1745735764546"):te("t_0_1745738961258")]})}),!_.value&&re(ue,{type:"primary",onClick:O},Xn(n=te("t_1_1745738963744"))?n:{default:()=>[n]})])])}}}),ea=o({name:"DeployNode",props:{node:{type:Object,default:()=>({id:"",inputs:{},config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,Hn,((e,t)=>t.provider?re(ot,{icon:t.provider,type:e?"success":"warning"},null):te("t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(Qn,{node:e},null)),!1,"68rem",!1)}}),n}}),ta=Object.freeze(Object.defineProperty({__proto__:null,default:ea},Symbol.toStringTag,{value:"Module"})),na={subject:{trigger:"input",required:!0,validator:(e,t)=>new Promise(((e,n)=>{t?t.length>100?n(new Error(te("t_3_1745887835089")+"长度不能超过100个字符")):e():n(new Error(te("t_3_1745887835089")))}))},body:{trigger:"input",required:!0,validator:(e,t)=>new Promise(((e,n)=>{t?t.length>1e3?n(new Error(te("t_4_1745887835265")+"长度不能超过1000个字符")):e():n(new Error(te("t_4_1745887835265")))}))},provider_id:{trigger:"change",type:"string",required:!0,validator:(e,t)=>new Promise(((e,n)=>{t?e():n(new Error(te("t_0_1745887835267")))}))}},aa=o({name:"NotifyNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{provider:"",provider_id:"",subject:"",body:""}})}},setup(e){const{updateNodeConfig:t,isRefreshNode:n}=Rn(),{useFormInput:a,useFormTextarea:o,useFormCustom:r}=pe(),{confirm:l}=_e(),{handleError:i}=Pe(),s=G(fn(e.node.config)),d=[a(te("t_0_1745920566646"),"subject",{placeholder:te("t_3_1745887835089"),allowInput:at}),o(te("t_1_1745920567200"),"body",{placeholder:te("t_4_1745887835265"),rows:4,allowInput:at}),r((()=>re(st,{path:"provider_id",value:s.value.provider_id,isAddMode:!0,"onUpdate:value":e=>{s.value.provider_id=e.value,s.value.provider=e.type}},null)))],{component:u,data:c,example:p}=me({defaultValue:s,config:d,rules:na});return l((async a=>{var o;try{await(null==(o=p.value)?void 0:o.validate()),t(e.node.id,c.value),n.value=e.node.id,a()}catch(r){i(r)}})),()=>re("div",{class:"notify-node-drawer"},[re(u,{labelPlacement:"top"},null)])}}),oa=o({name:"NotifyNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,na,((e,t)=>t.provider?re(ot,{icon:t.provider,type:e?"success":"warning"},null):te("t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(aa,{node:e},null)))}}),n}}),ra=Object.freeze(Object.defineProperty({__proto__:null,default:oa},Symbol.toStringTag,{value:"Module"})),la={exec_type:{required:!0,message:te("t_31_1745735767891"),trigger:"change"},type:{required:!0,message:te("t_32_1745735767156"),trigger:"change"},week:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"},month:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"},hour:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"},minute:{required:!0,message:te("t_33_1745735766532"),trigger:"input",type:"number"}};function ia(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ce(e)}const sa=o({name:"StartNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{exec_type:"auto"}})}},setup(e){const{updateNodeConfig:t,isRefreshNode:n}=Rn(),{confirm:a}=_e(),{handleError:o}=Pe(),{useFormRadio:r,useFormCustom:l}=pe(),i=G(fn(e.node.config)),s=[{label:te("t_2_1744875938555"),value:"day"},{label:te("t_0_1744942117992"),value:"week"},{label:te("t_3_1744875938310"),value:"month"}],u=[{label:te("t_1_1744942116527"),value:1},{label:te("t_2_1744942117890"),value:2},{label:te("t_3_1744942117885"),value:3},{label:te("t_4_1744942117738"),value:4},{label:te("t_5_1744942117167"),value:5},{label:te("t_6_1744942117815"),value:6},{label:te("t_7_1744942117862"),value:0}],c={day:{exec_type:"auto",type:"day",hour:1,minute:0},week:{exec_type:"auto",type:"week",hour:1,minute:0,week:1},month:{exec_type:"auto",type:"month",hour:1,minute:0,month:1}},p=(e,t,n,a)=>re(je,null,{default:()=>[re(he,{value:e,onUpdateValue:e=>{null!==e&&t(e)},max:n,min:0,showButton:!1,class:"w-full"},null),re(vt,null,ia(a)?a:{default:()=>[a]})]}),v=d((()=>{const e=[];return"auto"===i.value.exec_type&&e.push(l((()=>{let e,t;return re(ie,{cols:24,xGap:24},{default:()=>[re(se,{label:te("t_2_1744879616413"),span:8,showRequireMark:!0,path:"type"},{default:()=>[re(de,{class:"w-full",options:s,value:i.value.type,"onUpdate:value":e=>i.value.type=e},null)]}),"day"!==i.value.type&&re(se,{span:5,path:"week"===i.value.type?"week":"month"},{default:()=>["week"===i.value.type?re(de,{value:i.value.week,onUpdateValue:e=>{"number"==typeof e&&(i.value.week=e)},options:u},null):p(i.value.month||0,(e=>i.value.month=e),31,te("t_29_1744958838904"))]}),re(se,{span:"day"===i.value.type?7:5,path:"hour"},ia(e=p(i.value.hour||0,(e=>i.value.hour=e),23,te("t_5_1744879615277")))?e:{default:()=>[e]}),re(se,{span:"day"===i.value.type?7:5,path:"minute"},ia(t=p(i.value.minute||0,(e=>i.value.minute=e),59,te("t_3_1744879615723")))?t:{default:()=>[t]})]})}))),[r(te("t_30_1745735764748"),"exec_type",[{label:te("t_4_1744875940750"),value:"auto"},{label:te("t_5_1744875940010"),value:"manual"}]),...e]})),{component:f,data:h,example:m}=me({defaultValue:i,config:v,rules:la}),_=e=>{let t={...e};if("manual"===t.exec_type){const e=Math.floor(6*Math.random())+1,n=5*Math.floor(12*Math.random());t={...t,hour:e,minute:n},i.value=t}};return ae((()=>i.value.exec_type),(e=>{"auto"===e?_(c.day):"manual"===e&&_({exec_type:"manual"})})),ae((()=>i.value.type),(e=>{e&&"auto"===i.value.exec_type&&_(c[e])})),a((async a=>{var r;try{await(null==(r=m.value)?void 0:r.validate()),t(e.node.id,h.value),n.value=e.node.id,a()}catch(l){o(l)}})),()=>re("div",{class:"apply-node-drawer"},[re(f,{labelPlacement:"top"},null)])}}),da=o({name:"StartNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,la,((e,t)=>e?"auto"===t.exec_type?te("t_4_1744875940750"):te("t_5_1744875940010"):"未配置")),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(sa,{node:e},null)))}}),n}}),ua=Object.freeze(Object.defineProperty({__proto__:null,default:da},Symbol.toStringTag,{value:"Module"})),ca=En(te("t_12_1747817611391")),pa={key:ca.required("key",te("t_38_1745735769521"),["input","blur","focus"]),cert:ca.required("cert",te("t_40_1745735815317"),["input","blur","focus"])},va=o({name:"UploadNodeDrawer",props:{node:{type:Object,default:()=>({id:"",config:{cert_id:"",cert:"",key:""}})}},setup(e){const{updateNodeConfig:t,isRefreshNode:n}=Rn(),{useFormTextarea:a,useFormSelect:o,useFormHelp:r}=pe(),l=G(fn(e.node.config)),{confirm:i,options:s}=_e(),{handleError:u}=Pe(),c=s(),p=G([{cert:"",key:"",label:"自定义证书",value:""}]),v=d((()=>""!==l.value.cert_id)),f=d((()=>({readonly:v.value,allowInput:at,rows:6}))),h=d((()=>[o(te("t_0_1747110184700"),"cert_id",p.value,{filterable:!0,onUpdateValue:e=>{l.value.cert_id=e;const t=g(e);t&&(l.value.cert=t.cert,l.value.key=t.key)}},{showRequireMark:!1}),a(te("t_34_1745735771147"),"cert",{placeholder:te("t_35_1745735781545"),...f.value}),a(te("t_36_1745735769443"),"key",{placeholder:te("t_37_1745735779980"),...f.value}),r([{content:te("t_1_1747110191587")},{content:te("t_2_1747110193465")}])])),{component:m,data:_,example:y}=me({defaultValue:l,config:h,rules:pa}),g=e=>p.value.find((t=>t.value===e));return le((async()=>{await(async()=>{try{const{data:e}=await ut({p:1,limit:100}).fetch();p.value=(null==e?void 0:e.map((e=>({cert:e.cert,key:e.key,label:e.domains+" 【 "+e.issuer+" 】",value:e.sha256}))))||[],p.value.unshift({cert:"",key:"",label:"自定义证书",value:""})}catch(e){p.value=[],u(e)}})()})),c.value.confirmText=d((()=>""===l.value.cert_id?te("t_3_1747110185110"):te("t_2_1744861190040"))),i((async a=>{var o;try{if(await(null==(o=y.value)?void 0:o.validate()),""===l.value.cert_id){const{data:e}=await dt(l.value).fetch();l.value.cert_id=e}t(e.node.id,_.value),n.value=e.node.id,a()}catch(r){u(r)}})),()=>re("div",{class:"upload-node-drawer"},[re(m,{labelPlacement:"top"},null)])}}),fa=o({name:"UploadNode",props:{node:{type:Object,default:()=>({id:"",config:{}})}},setup(e,{expose:t}){const{renderNode:n}=Fn(e,pa,((e,t)=>te(e?"t_8_1745735765753":"t_9_1745735765287"))),{handleNodeClick:a}=Tn();return t({handleNodeClick:e=>{a(e,(e=>re(va,{node:e},null)))}}),n}}),ha=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),ma=be(),{flowData:_a,selectedNodeId:ya,setflowZoom:ga,initFlowData:ba,updateFlowData:wa,setShowAddNodeSelect:Na,addNode:xa,getAddNodeSelect:ka,resetFlowData:Ca}=Rn(),{workflowData:Sa,addNewWorkflow:ja,updateWorkflowData:$a,resetWorkflowData:Aa}=ct(),{handleError:za}=Pe();const Oa=o({name:"EndNode",setup:()=>()=>re("div",{class:"flex flex-col items-center justify-center"},[re("div",{class:"w-[1.5rem] h-[1.5rem] rounded-[1rem] bg-[#cacaca]"},null),re("div",{class:"text-[#5a5e66] mb-[10rem]"},[ze("流程结束")])])}),Ia="_add_iwsp6_1",Ra="_addBtn_iwsp6_23",Fa="_addBtnIcon_iwsp6_49",Ea="_addSelectBox_iwsp6_55",Da="_addSelectItem_iwsp6_78",Ma="_addSelectItemIcon_iwsp6_98",Pa="_addSelectItemTitle_iwsp6_104",Ba="_addSelected_iwsp6_108",Va="_addLeft_iwsp6_113",Ta="_addRight_iwsp6_122",qa=o({name:"AddNode",props:{node:{type:Object,default:()=>({})}},setup(e){const{isShowAddNodeSelect:t,nodeSelectList:n,addNodeBtnRef:a,addNodeSelectRef:o,addNodeSelectPostion:r,showNodeSelect:l,addNodeData:i,itemNodeSelected:s,excludeNodeSelectList:d}=function(){const e=Rn(),t=G(!1),n=G(null);return ka(),{...e,addNodeData:(e,n)=>{t.value=!1,e.id&&xa(e.id,n,{id:gn()})},itemNodeSelected:()=>{clearTimeout(n.value)},isShowAddNodeSelect:t,showNodeSelect:(e,a)=>{e?(t.value=!1,t.value=e):(clearTimeout(n.value),n.value=window.setTimeout((()=>{t.value=e}),200)),a&&Na(e,a)}}}(),u=G();return ae((()=>e.node.type),(e=>{u.value=An[e]()||{}})),()=>re("div",{class:Ia},[re("div",{ref:a,class:Ra,onMouseenter:()=>l(!0,e.node.type),onMouseleave:()=>l(!1)},[re(nt,{icon:"plus",class:Fa,color:"#FFFFFF"},null),t.value&&re("ul",{ref:o,class:[Ea,1===r.value?Va:Ta]},[n.value.map((t=>{var n;return(null==(n=d.value)?void 0:n.includes(t.type))?null:re("li",{key:t.type,class:[Da,t.selected&&Ba],onClick:()=>i(e.node,t.type),onMouseenter:s},[re(nt,{icon:"flow-"+t.icon.name,class:Ma,color:t.selected?"#FFFFFF":t.icon.color},null),re("div",{class:Pa},[t.title.name])])}))])])])}}),Ua="_flowNodeBranch_yygcj_1",La="_multipleColumns_yygcj_6",Ha="_flowNodeBranchBox_yygcj_10",Za="_hasNestedBranch_yygcj_15",Wa="_flowNodeBranchCol_yygcj_19",Ga="_coverLine_yygcj_39",Ja="_topLeftCoverLine_yygcj_43",Ya="_topRightCoverLine_yygcj_47",Ka="_bottomLeftCoverLine_yygcj_51",Xa="_bottomRightCoverLine_yygcj_55",Qa="_rightCoverLine_yygcj_59",eo="_leftCoverLine_yygcj_63",to="_flowConditionNodeAdd_yygcj_67",no=o({name:"BranchNode",props:{node:{type:Object,default:()=>({})}},setup(e){const{addNode:t}=Rn(),n=G(An[e.node.type]()||{});ae((()=>e.node.type),(e=>{n.value=An[e]()||{}}));const a=()=>{var n,a;const o=gn();t(e.node.id||"",Nn,{id:o,name:`分支${((null==(n=e.node.conditionNodes)?void 0:n.length)||0)+1}`},null==(a=e.node.conditionNodes)?void 0:a.length)},o=()=>{var t;const n=(null==(t=e.node.conditionNodes)?void 0:t.length)||0;return n>3?`${Ua} ${La}`:Ua},r=()=>{var t;const n=null==(t=e.node.conditionNodes)?void 0:t.some((e=>e.childNode&&["branch","execute_result_branch"].includes(e.childNode.type)));return n?`${Ha} ${Za}`:Ha};return()=>{var t,l,i;return re("div",{class:o()},[(null==(t=n.value.operateNode)?void 0:t.addBranch)&&re("div",{class:to,onClick:a},[(null==(l=n.value.operateNode)?void 0:l.addBranchTitle)||"添加分支"]),re("div",{class:r()},[null==(i=e.node.conditionNodes)?void 0:i.map(((t,n)=>{var a,o;return re("div",{class:Wa,key:n,"data-branch-index":n,"data-branches-count":null==(a=e.node.conditionNodes)?void 0:a.length},[re(jo,{node:t},null),0===n&&re("div",null,[re("div",{class:`${Ga} ${Ja}`},null),re("div",{class:`${Ga} ${Ka}`},null),re("div",{class:`${Qa}`},null)]),n===((null==(o=e.node.conditionNodes)?void 0:o.length)||0)-1&&re("div",null,[re("div",{class:`${Ga} ${Ya}`},null),re("div",{class:`${Ga} ${Xa}`},null),re("div",{class:`${eo}`},null)])])}))]),re(qa,{node:e.node},null)])}}}),ao=o({name:"BranchNode",props:{node:{type:Object,default:()=>({})}},setup(e){const{addNode:t}=Rn(),n=G(An[e.node.type]()||{});ae((()=>e.node.type),(e=>{n.value=An[e]()||{}}));const a=()=>{var n,a;const o=gn();t(e.node.id||"",Nn,{id:o,name:`分支${((null==(n=e.node.conditionNodes)?void 0:n.length)||0)+1}`},null==(a=e.node.conditionNodes)?void 0:a.length)},o=()=>{var t;const n=(null==(t=e.node.conditionNodes)?void 0:t.length)||0;return n>3?`${Ua} ${La}`:Ua},r=()=>{var t;const n=null==(t=e.node.conditionNodes)?void 0:t.some((e=>e.childNode&&["branch","execute_result_branch"].includes(e.childNode.type)));return n?`${Ha} ${Za}`:Ha};return()=>{var t,l,i;return re("div",{class:o()},[(null==(t=n.value.operateNode)?void 0:t.addBranch)&&re("div",{class:to,onClick:a},[(null==(l=n.value.operateNode)?void 0:l.addBranchTitle)||"添加分支"]),re("div",{class:r()},[null==(i=e.node.conditionNodes)?void 0:i.map(((t,n)=>{var a,o;return re("div",{class:Wa,key:n,"data-branch-index":n,"data-branches-count":null==(a=e.node.conditionNodes)?void 0:a.length},[re(jo,{node:t},null),0===n&&re("div",null,[re("div",{class:`${Ga} ${Ja}`},null),re("div",{class:`${Ga} ${Ka}`},null),re("div",{class:`${Qa}`},null)]),n===((null==(o=e.node.conditionNodes)?void 0:o.length)||0)-1&&re("div",null,[re("div",{class:`${Ga} ${Ya}`},null),re("div",{class:`${Ga} ${Xa}`},null),re("div",{class:`${eo}`},null)])])}))]),re(qa,{node:e.node},null)])}}}),oo="_node_fkn6k_1",ro="_nodeArrows_fkn6k_5",lo="_nodeContent_fkn6k_19",io="_nodeHeader_fkn6k_44",so="_nodeHeaderBranch_fkn6k_48",uo="_nodeCondition_fkn6k_52",co="_nodeConditionHeader_fkn6k_56",po="_nodeIcon_fkn6k_72",vo="_nodeHeaderTitle_fkn6k_80",fo="_nodeHeaderTitleInput_fkn6k_88",ho="_nodeClose_fkn6k_108",mo="_nodeBody_fkn6k_112",_o="_nodeErrorMsg_fkn6k_129",yo="_nodeErrorMsgBox_fkn6k_133",go="_nodeErrorIcon_fkn6k_137",bo="_nodeErrorTips_fkn6k_141",wo=o({name:"BranchNode",props:{node:{type:Object,default:()=>({})}},setup:()=>()=>re("div",null,[ze("渲染节点失败,请检查类型是否支持")])}),No=Object.freeze(Object.defineProperty({__proto__:null,default:wo},Symbol.toStringTag,{value:"Module"})),xo=o({name:"BaseNode",props:{node:{type:Object,required:!0}},setup(e){const t=$("taskComponents",{}),{validator:n,validate:a}=cn(),o=G(e.node.id||gn()),l=G(An[e.node.type]()||{}),i=G(null),s=G(!1),u=G(e.node.name),c=G(),p=G(),{removeNode:v,updateNode:f,selectedNodeId:h,selectedNode:m}=Rn(),_=G({isError:!1,message:null,showTips:!1}),y=d((()=>e.node.type===bn)),g=d((()=>{var e,t;return null==(t=null==(e=l.value)?void 0:e.operateNode)?void 0:t.remove})),b=d((()=>[Nn,kn].includes(e.node.type))),w=d((()=>{var t;return e.node.type===kn&&{success:"flow-success",fail:"flow-error"}[null==(t=e.node.config)?void 0:t.type]||""})),N=d((()=>{var t;return e.node.type===kn?(null==(t=e.node.config)?void 0:t.type)||"":"#FFFFFF"}));ae((()=>e.node),(()=>{l.value=An[e.node.type](),u.value=e.node.name,o.value=e.node.id||gn(),n.validateAll();const a=`${e.node.type}Node`;t&&t[a]?c.value=Oe(t[a]):c.value=Oe(Ie({loader:()=>Re((()=>Promise.resolve().then((()=>No))),void 0,import.meta.url),loadingComponent:()=>re("div",null,[ze("Loading...")]),errorComponent:()=>re(wo,null,null)}))}),{immediate:!0});const x=e=>{_.value.showTips=e},k=()=>{var t;(null==(t=p.value)?void 0:t.handleNodeClick)&&e.node.type!==Nn&&e.node.type!==kn&&(h.value=e.node.id||"",p.value.handleNodeClick(m))},C=e=>{13===e.keyCode&&(s.value=!1)},S=e=>{const t=e.target;u.value=t.value,f(o.value,{name:u.value})};return()=>{var t,n,d,f,h,m;return re("div",{class:[oo,!y.value&&ro]},[re("div",{class:[lo,b.value&&uo],onClick:k},[re("div",{class:[io,b.value&&co,w.value?"":so],style:{color:null==(n=null==(t=l.value)?void 0:t.title)?void 0:n.color,backgroundColor:null==(f=null==(d=l.value)?void 0:d.title)?void 0:f.bgColor}},[w.value?re(nt,{icon:w.value?w.value:(null==(m=null==(h=l.value)?void 0:h.icon)?void 0:m.name)||"",class:[po,"!absolute top-[50%] left-[1rem] -mt-[.8rem]"],color:N.value},null):null,re("div",{class:vo,title:"点击编辑"},[re("div",{class:fo},[re("input",{ref:i,value:u.value,onClick:e=>e.stopPropagation(),onInput:S,onBlur:()=>s.value=!1,onKeyup:C},null)])]),g.value&&re("span",{onClick:t=>((e,t,n)=>{const o=a(t);o.valid&&Ve({type:"warning",title:te("t_1_1745765875247",{name:n.name}),content:n.type===Nn?te("t_2_1745765875918"):te("t_3_1745765920953"),onPositiveClick:()=>v(t)}),![kn].includes(n.type)&&o.valid||v(t),e.stopPropagation(),e.preventDefault()})(t,o.value,e.node),class:"flex items-center justify-center absolute top-[50%] right-[1rem] -mt-[.9rem]"},[re(nt,{class:ho,icon:"close",color:b.value?"#333":"#FFFFFF"},null)])]),b.value?null:re("div",{class:[mo]},[c.value&&r(c.value,{id:e.node.id,node:e.node||{},class:"text-center",ref:p})]),_.value.showTips&&re("div",{class:_o},[re("div",{class:yo},[re("span",{onMouseenter:()=>x(!0),onMouseleave:()=>x(!1)},[re(nt,{class:go,icon:"tips",color:"red"},null)]),_.value.message&&re("div",{class:bo},[_.value.message])])])]),re(qa,{node:e.node},null)])}}}),ko="flex flex-col items-center w-full relative",Co="nested-node-wrap w-full",So="deep-nested-node-wrap w-full",jo=o({name:"NodeWrap",props:{node:{type:Object,default:()=>({})},depth:{type:Number,default:0}},setup:e=>({getDepthClass:()=>e.depth&&e.depth>1?e.depth>2?So:Co:ko}),render(){var e;if(!this.node)return null;const t=(this.depth||0)+1;return re("div",{class:this.getDepthClass()},[this.node.type===wn?re(no,{node:this.node},null):null,this.node.type===xn?re(ao,{node:this.node},null):null,[wn,xn].includes(this.node.type)?null:re(xo,{node:this.node},null),(null==(e=this.node.childNode)?void 0:e.type)&&re(jo,{node:this.node.childNode,depth:t},null)])}}),$o={flowContainer:"_flowContainer_4rj8i_1",flowProcess:"_flowProcess_4rj8i_5",flowZoom:"_flowZoom_4rj8i_9",flowZoomIcon:"_flowZoomIcon_4rj8i_13"},Ao=o({name:"FlowChart",props:{isEdit:{type:Boolean,default:!1},type:{type:String,default:"quick"},node:{type:Object,default:()=>({})},taskComponents:{type:Object,default:()=>({})}},setup(e,{slots:t}){const n=ne(["borderColor","dividerColor","textColor1","textColor2","primaryColor","primaryColorHover","bodyColor"]),{flowData:a,selectedNodeId:o,flowZoom:r,resetFlowData:l}=Rn(),{initData:i,handleSaveConfig:s,handleZoom:d,goBack:u}=((e={type:"quick",node:_a.value,isEdit:!1})=>{const t=$e(),n=Ae();return e.node&&ae((()=>e.node),(e=>{wa(e)}),{deep:!0}),{flowData:_a,selectedNodeId:ya,handleSaveConfig:()=>{const{validator:e}=cn(),a=e.validateAll();try{if(a.valid&&_a.value.name){const{active:e}=Sa.value,{id:a,name:o,childNode:r}=_a.value,{exec_type:l,...i}=r.config,s={name:o,active:e,content:JSON.stringify(r),exec_type:l,exec_time:JSON.stringify(i||{})};n.query.isEdit?$a({id:a,...s}):ja(s),t.push("/auto-deploy")}else _a.value.name||ma.error("保存失败,请输入工作流名称");for(const e in a.results)if(a.results.hasOwnProperty(e)){const t=a.results[e];if(!t.valid){ma.error(t.message);break}}}catch(o){za(o).default(te("t_12_1745457489076"))}},handleZoom:e=>{ga(e)},handleRun:()=>{ma.info(te("t_8_1744861189821"))},goBack:()=>{t.back()},initData:()=>{Ca(),Aa(),e.isEdit&&e.node?wa(e.node):"quick"===e.type?ba():"advanced"===e.type&&wa(e.node)}}})({type:null==e?void 0:e.type,node:null==e?void 0:e.node,isEdit:null==e?void 0:e.isEdit});return w("taskComponents",e.taskComponents),le(i),oe(l),()=>{var e;return re("div",{class:"flex flex-col w-full h-full",style:n.value},[re("div",{class:"w-full h-[6rem] px-[2rem] mb-[2rem] rounded-lg flex items-center gap-2 justify-between"},[re("div",{class:"flex items-center"},[re(ue,{onClick:u},{default:()=>[re(Fe,{class:"mr-1"},{default:()=>[re(wt,null,null)]}),te("t_0_1744861190562")]})]),re("div",{class:"flex items-center ml-[.5rem]"},[re(xe,{value:a.value.name,"onUpdate:value":e=>a.value.name=e,placeholder:te("t_0_1745490735213"),class:"!w-[30rem] !border-none "},null)]),re("div",{class:"flex items-center gap-2"},[re(ue,{type:"primary",onClick:s,disabled:!o},{default:()=>[re(Fe,{class:"mr-1"},{default:()=>[re(xt,null,null)]}),te("t_2_1744861190040")]})])]),re("div",{class:"w-full flex"},[re("div",{class:$o.flowContainer},[re("div",{class:$o.flowProcess,style:{transform:`scale(${r.value/100})`}},[re(jo,{node:a.value.childNode},null),re(Oa,null,null)]),re("div",{class:$o.flowZoom},[re("div",{class:$o.flowZoomIcon,onClick:()=>d(1)},[re(nt,{icon:"subtract",class:`${50===r.value?$o.disabled:""}`,color:"#5a5e66"},null)]),re("span",null,[r.value,ze("%")]),re("div",{class:$o.flowZoomIcon,onClick:()=>d(2)},[re(nt,{icon:"plus",class:`${300===r.value?$o.disabled:""}`,color:"#5a5e66"},null)])])])]),null==(e=t.default)?void 0:e.call(t)])}}}),zo=o({name:"WorkflowView",setup(){const{init:e}=(()=>{const{workflowType:e,detectionRefresh:t}=ct(),n=Ae(),a=$e(),o=e=>(e.preventDefault(),e.returnValue=te("t_16_1747886308182"),te("t_16_1747886308182"));return oe((()=>{window.removeEventListener("beforeunload",o)})),{init:()=>{window.addEventListener("beforeunload",o);const r=n.query.type;r&&(e.value=r),t.value||"/auto-deploy"===n.path||a.push("/auto-deploy")}}})(),{workflowType:t,workDefalutNodeData:n,isEdit:a}=ct(),o=Object.assign({"./node/apply/index.tsx":Un,"./node/deploy/index.tsx":ta,"./node/notify/index.tsx":ra,"./node/start/index.tsx":ua,"./node/upload/index.tsx":ha}),r=G({});return Ee((()=>{const e={};Object.entries(o).forEach((([t,n])=>{const a=t.match(/\/node\/([^/]+)\/index\.tsx$/);if(a&&a[1]){const t=a[1];e[`${t}Node`]=n.default||n}})),r.value=e})),le(e),()=>re(Ao,{type:t.value,node:n.value,isEdit:a.value,taskComponents:r.value},null)}});export{zo as default}; diff --git a/build/static/js/index-LKLPe19M.js b/build/static/js/index-C8NKLf_M.js similarity index 83% rename from build/static/js/index-LKLPe19M.js rename to build/static/js/index-C8NKLf_M.js index a265860..9a9dfd1 100644 --- a/build/static/js/index-LKLPe19M.js +++ b/build/static/js/index-C8NKLf_M.js @@ -1 +1 @@ -var t;import{S as e}from"./index-BJNUeE_-.js";import{A as o,M as n}from"./data-BFMmsjgZ.js";import{l as a,d as s,c as r,N as i}from"./main-BFg_w1GP.js";const l={},c={},p=new Set;for(const d in o)if(Object.prototype.hasOwnProperty.call(o,d)){const e=o[d];if(l[d]=e.name,c[d]=e.icon,null==e?void 0:e.hostRelated)for(const o in e.hostRelated)if(Object.prototype.hasOwnProperty.call(e.hostRelated,o)){const n=e.hostRelated[o],a=`${d}-${o}`;a&&(l[a]=(null==(t=null==n?void 0:n.name)?void 0:t.toString())??"",c[a]=e.icon)}}for(const d in n)if(Object.prototype.hasOwnProperty.call(n,d)){const t=n[d];l[d]=t.name,c[d]=t.type,p.add(d)}o.btwaf&&(c.btwaf="btpanel");const f=s({name:"AuthApiTypeIcon",props:{icon:{type:String,required:!0},type:{type:String,default:"default"},text:{type:Boolean,default:!0}},setup(t){const{iconPath:o,typeName:n}=function(t){return{iconPath:a((()=>(p.has(t.icon)?"notify-":"resources-")+(c[t.icon]||"default"))),typeName:a((()=>l[t.icon]||t.icon))}}(t);return()=>r(i,{type:t.type,size:"small"},{default:()=>[r(e,{icon:o.value,size:"1.2rem",class:"mr-[0.4rem]"},null),t.text&&r("span",{class:"text-[12px]"},[n.value])]})}});export{f as T}; +var t;import{S as e}from"./index-CMwhkNZE.js";import{A as o,M as n}from"./data-DE4JXv04.js";import{l as a,d as s,c as r,N as i}from"./main-BFwn2e3T.js";const l={},c={},p=new Set;for(const d in o)if(Object.prototype.hasOwnProperty.call(o,d)){const e=o[d];if(l[d]=e.name,c[d]=e.icon,null==e?void 0:e.hostRelated)for(const o in e.hostRelated)if(Object.prototype.hasOwnProperty.call(e.hostRelated,o)){const n=e.hostRelated[o],a=`${d}-${o}`;a&&(l[a]=(null==(t=null==n?void 0:n.name)?void 0:t.toString())??"",c[a]=e.icon)}}for(const d in n)if(Object.prototype.hasOwnProperty.call(n,d)){const t=n[d];l[d]=t.name,c[d]=t.type,p.add(d)}o.btwaf&&(c.btwaf="btpanel");const f=s({name:"AuthApiTypeIcon",props:{icon:{type:String,required:!0},type:{type:String,default:"default"},text:{type:Boolean,default:!0}},setup(t){const{iconPath:o,typeName:n}=function(t){return{iconPath:a((()=>(p.has(t.icon)?"notify-":"resources-")+(c[t.icon]||"default"))),typeName:a((()=>l[t.icon]||t.icon))}}(t);return()=>r(i,{type:t.type,size:"small"},{default:()=>[r(e,{icon:o.value,size:"1.2rem",class:"mr-[0.4rem]"},null),t.text&&r("span",{class:"text-[12px]"},[n.value])]})}});export{f as T}; diff --git a/build/static/js/index-BJNUeE_-.js b/build/static/js/index-CMwhkNZE.js similarity index 84% rename from build/static/js/index-BJNUeE_-.js rename to build/static/js/index-CMwhkNZE.js index a262ea5..6bcc451 100644 --- a/build/static/js/index-BJNUeE_-.js +++ b/build/static/js/index-CMwhkNZE.js @@ -1 +1 @@ -import{d as e,l as i,c as r}from"./main-BFg_w1GP.js";const t=e({name:"SvgIcon",props:{icon:{type:String,required:!0},color:{type:String,default:""},size:{type:String,default:"1.8rem"}},setup(e){const t=i((()=>`#icon-${e.icon}`));return()=>r("svg",{class:"relative inline-block align-[-0.2rem]",style:{width:e.size,height:e.size},"aria-hidden":"true"},[r("use",{"xlink:href":t.value,fill:e.color},null)])}});export{t as S}; +import{d as e,l as i,c as r}from"./main-BFwn2e3T.js";const t=e({name:"SvgIcon",props:{icon:{type:String,required:!0},color:{type:String,default:""},size:{type:String,default:"1.8rem"}},setup(e){const t=i((()=>`#icon-${e.icon}`));return()=>r("svg",{class:"relative inline-block align-[-0.2rem]",style:{width:e.size,height:e.size},"aria-hidden":"true"},[r("use",{"xlink:href":t.value,fill:e.color},null)])}});export{t as S}; diff --git a/build/static/js/index-CpcVhPm1.js b/build/static/js/index-CPLaRXZR.js similarity index 91% rename from build/static/js/index-CpcVhPm1.js rename to build/static/js/index-CPLaRXZR.js index dd08993..433fa98 100644 --- a/build/static/js/index-CpcVhPm1.js +++ b/build/static/js/index-CPLaRXZR.js @@ -1 +1 @@ -import{S as e}from"./index-BJNUeE_-.js";import{r as t,l,x as a,d as u,c as n,w as i,q as o,$ as s,n as r,b2 as d,bu as p,B as v,i as f}from"./main-BFg_w1GP.js";import{u as c}from"./useStore-JDVosxir.js";import{M as y}from"./data-BFMmsjgZ.js";import{a as m,N as b}from"./business-CHQBsAXz.js";function h(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!f(e)}const g=u({name:"NotifyProviderSelect",props:{path:{type:String,default:""},value:{type:String,default:""},valueType:{type:String,default:"value",validator:e=>["value","type"].includes(e)},isAddMode:{type:Boolean,default:!1}},emits:{"update:value":e=>"object"==typeof e&&null!==e&&"label"in e&&"value"in e&&"type"in e},setup(u,{emit:f}){const{selectOptions:g,goToAddNotifyProvider:_,handleSelectUpdate:j,fetchNotifyProviderData:x}=function(e,u){const{fetchNotifyProvider:n,notifyProvider:i}=c(),o=t({label:"",value:"",type:""}),s=t([]),r=l((()=>Object.entries(y).map((([t,l])=>({label:l.name,value:"value"===e.valueType?t:l.type,type:l.type}))))),d=e=>{if(!e)return void(o.value={label:"",value:"",type:""});const t=s.value.find((t=>t.value===e));if(t)return void(o.value={...t});const l=r.value.find((t=>t.value===e));o.value=l?{...l}:{label:e,value:e,type:""}},p=()=>{n()};return a((()=>e.value),(e=>{0===s.value.length&&e&&p(),d(e)}),{immediate:!0}),a((()=>i.value),(t=>{t&&t.length>0?s.value=t.map((t=>({label:t.label,value:"value"===e.valueType?t.value:t.type,type:t.type}))):s.value=r.value,d(e.value)}),{immediate:!0,deep:!0}),i.value&&0!==i.value.length||(s.value=r.value,p()),{selectedOptionFull:o,selectOptions:s,goToAddNotifyProvider:()=>{window.open("/settings?tab=notification","_blank")},handleSelectUpdate:e=>{d(e),u("update:value",{...o.value})},fetchNotifyProviderData:p}}(u,f),S=({option:t})=>{let l;const a=t;return n("div",{class:"flex items-center"},[a.label?n(b,{align:"center",size:"small"},{default:()=>[n(e,{icon:`notify-${a.type||""}`,size:"1.6rem"},null),n(m,null,{default:()=>[a.label]})]}):n(m,{depth:"3"},h(l=s("t_0_1745887835267"))?l:{default:()=>[l]})])},N=t=>{const l=t;return n(b,{align:"center",size:"small"},{default:()=>[n(e,{icon:`notify-${l.type||""}`,size:"1.6rem"},null),n(m,null,{default:()=>[l.label]})]})},P=l((()=>g.value.map((e=>({...e})))));return()=>{let e,t;return n(i,{cols:24},{default:()=>[n(o,{span:u.isAddMode?13:24,label:s("t_1_1745887832941"),path:u.path},{default:()=>[n(r,{class:"flex-1 w-full",options:P.value,renderLabel:N,renderTag:S,filterable:!0,clearable:!0,placeholder:s("t_0_1745887835267"),value:u.value,onUpdateValue:j},{empty:()=>n("div",{class:"text-center py-4"},[n(m,{depth:"3",class:"text-[1.4rem]"},{default:()=>[0===g.value.length?s("t_0_1745887835267"):"暂无匹配的通知渠道"]})])})]}),u.isAddMode&&n(d,{span:11},{default:()=>[n("div",{class:"flex items-center h-full"},[n(p,{vertical:!0},null),n(v,{class:"mx-[8px]",onClick:_,ghost:!0},h(e=s("t_2_1745887834248"))?e:{default:()=>[e]}),n(v,{onClick:x,ghost:!0},h(t=s("t_0_1746497662220"))?t:{default:()=>[t]})])]})]})}}});export{g as N}; +import{S as e}from"./index-CMwhkNZE.js";import{r as t,l,x as a,d as u,c as n,w as i,q as o,$ as s,n as r,b2 as d,bu as p,B as v,i as f}from"./main-BFwn2e3T.js";import{u as c}from"./useStore-BJbmyusH.js";import{M as y}from"./data-DE4JXv04.js";import{a as m,N as b}from"./business-_Rh7_-TN.js";function h(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!f(e)}const g=u({name:"NotifyProviderSelect",props:{path:{type:String,default:""},value:{type:String,default:""},valueType:{type:String,default:"value",validator:e=>["value","type"].includes(e)},isAddMode:{type:Boolean,default:!1}},emits:{"update:value":e=>"object"==typeof e&&null!==e&&"label"in e&&"value"in e&&"type"in e},setup(u,{emit:f}){const{selectOptions:g,goToAddNotifyProvider:_,handleSelectUpdate:j,fetchNotifyProviderData:x}=function(e,u){const{fetchNotifyProvider:n,notifyProvider:i}=c(),o=t({label:"",value:"",type:""}),s=t([]),r=l((()=>Object.entries(y).map((([t,l])=>({label:l.name,value:"value"===e.valueType?t:l.type,type:l.type}))))),d=e=>{if(!e)return void(o.value={label:"",value:"",type:""});const t=s.value.find((t=>t.value===e));if(t)return void(o.value={...t});const l=r.value.find((t=>t.value===e));o.value=l?{...l}:{label:e,value:e,type:""}},p=()=>{n()};return a((()=>e.value),(e=>{0===s.value.length&&e&&p(),d(e)}),{immediate:!0}),a((()=>i.value),(t=>{t&&t.length>0?s.value=t.map((t=>({label:t.label,value:"value"===e.valueType?t.value:t.type,type:t.type}))):s.value=r.value,d(e.value)}),{immediate:!0,deep:!0}),i.value&&0!==i.value.length||(s.value=r.value,p()),{selectedOptionFull:o,selectOptions:s,goToAddNotifyProvider:()=>{window.open("/settings?tab=notification","_blank")},handleSelectUpdate:e=>{d(e),u("update:value",{...o.value})},fetchNotifyProviderData:p}}(u,f),S=({option:t})=>{let l;const a=t;return n("div",{class:"flex items-center"},[a.label?n(b,{align:"center",size:"small"},{default:()=>[n(e,{icon:`notify-${a.type||""}`,size:"1.6rem"},null),n(m,null,{default:()=>[a.label]})]}):n(m,{depth:"3"},h(l=s("t_0_1745887835267"))?l:{default:()=>[l]})])},N=t=>{const l=t;return n(b,{align:"center",size:"small"},{default:()=>[n(e,{icon:`notify-${l.type||""}`,size:"1.6rem"},null),n(m,null,{default:()=>[l.label]})]})},P=l((()=>g.value.map((e=>({...e})))));return()=>{let e,t;return n(i,{cols:24},{default:()=>[n(o,{span:u.isAddMode?13:24,label:s("t_1_1745887832941"),path:u.path},{default:()=>[n(r,{class:"flex-1 w-full",options:P.value,renderLabel:N,renderTag:S,filterable:!0,clearable:!0,placeholder:s("t_0_1745887835267"),value:u.value,onUpdateValue:j},{empty:()=>n("div",{class:"text-center py-4"},[n(m,{depth:"3",class:"text-[1.4rem]"},{default:()=>[0===g.value.length?s("t_0_1745887835267"):"暂无匹配的通知渠道"]})])})]}),u.isAddMode&&n(d,{span:11},{default:()=>[n("div",{class:"flex items-center h-full"},[n(p,{vertical:!0},null),n(v,{class:"mx-[8px]",onClick:_,ghost:!0},h(e=s("t_2_1745887834248"))?e:{default:()=>[e]}),n(v,{onClick:x,ghost:!0},h(t=s("t_0_1746497662220"))?t:{default:()=>[t]})])]})]})}}});export{g as N}; diff --git a/build/static/js/index-BG636NtA.js b/build/static/js/index-CfanvO1F.js similarity index 96% rename from build/static/js/index-BG636NtA.js rename to build/static/js/index-CfanvO1F.js index 6bad61d..3afb8dd 100644 --- a/build/static/js/index-BG636NtA.js +++ b/build/static/js/index-CfanvO1F.js @@ -1 +1 @@ -import{d as e,u as t,a as o,c as r,b as s,$ as l,B as a,i as c}from"./main-BFg_w1GP.js";const m=(e=16,t)=>r("svg",{width:e,height:e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:t},[r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.6 1c1.6.1 3.1.9 4.2 2 1.3 1.4 2 3.1 2 5.1 0 1.6-.6 3.1-1.6 4.4-1 1.2-2.4 2.1-4 2.4-1.6.3-3.2.1-4.6-.7-1.4-.8-2.5-2-3.1-3.5C.9 9.2.8 7.5 1.3 6c.5-1.6 1.4-2.9 2.8-3.8C5.4 1.3 7 .9 8.6 1zm.5 12.9c1.3-.3 2.5-1 3.4-2.1.8-1.1 1.3-2.4 1.2-3.8 0-1.6-.6-3.2-1.7-4.3-1-1-2.2-1.6-3.6-1.7-1.3-.1-2.7.2-3.8 1-1.1.8-1.9 1.9-2.3 3.3-.4 1.3-.4 2.7.2 4 .6 1.3 1.5 2.3 2.7 3 1.2.7 2.6.9 3.9.6zM7.9 7.5L10.3 5l.7.7-2.4 2.5 2.4 2.5-.7.7-2.4-2.5-2.4 2.5-.7-.7 2.4-2.5-2.4-2.5.7-.7 2.4 2.5z"},null)]),n=e({setup(){const e=t(),n=o(["baseColor","textColorBase","textColorSecondary","textColorDisabled"]);return()=>{let t;return r("div",{class:"flex flex-col items-center justify-center min-h-screen p-4",style:n.value},[r("div",{class:"text-center px-4 sm:px-8 max-w-[60rem] mx-auto"},[r("div",{class:"text-[4.5rem] sm:text-[6rem] md:text-[8rem] font-bold leading-none mb-2 sm:mb-4",style:{color:"var(--n-text-color-base)",textShadow:"2px 2px 8px rgba(0,0,0,0.25)"}},[s("404")]),r("div",{class:"flex items-center justify-center mb-4 sm:mb-8"},[m(60,"var(--n-text-color-base)")]),r("div",{class:"text-[1.2rem] sm:text-[1.5rem] md:text-[1.8rem] mb-4 sm:mb-8",style:{color:"var(--n-text-color-secondary)"}},[l("t_0_1744098811152")]),r(a,{style:{backgroundColor:"var(--n-text-color-base)",color:"var(--n-base-color)",border:"none"},onClick:()=>e.push("/")},(o=t=l("t_1_1744098801860"),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!c(o)?t:{default:()=>[t]})),r("div",{class:"mt-4 sm:mt-8 text-[1rem] sm:text-[1.1rem] md:text-[1.3rem]",style:{color:"var(--n-text-color-disabled)"}},[l("t_2_1744098804908")])])]);var o}}});export{n as default}; +import{d as e,u as t,a as o,c as r,b as s,$ as l,B as a,i as c}from"./main-BFwn2e3T.js";const m=(e=16,t)=>r("svg",{width:e,height:e,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",fill:t},[r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.6 1c1.6.1 3.1.9 4.2 2 1.3 1.4 2 3.1 2 5.1 0 1.6-.6 3.1-1.6 4.4-1 1.2-2.4 2.1-4 2.4-1.6.3-3.2.1-4.6-.7-1.4-.8-2.5-2-3.1-3.5C.9 9.2.8 7.5 1.3 6c.5-1.6 1.4-2.9 2.8-3.8C5.4 1.3 7 .9 8.6 1zm.5 12.9c1.3-.3 2.5-1 3.4-2.1.8-1.1 1.3-2.4 1.2-3.8 0-1.6-.6-3.2-1.7-4.3-1-1-2.2-1.6-3.6-1.7-1.3-.1-2.7.2-3.8 1-1.1.8-1.9 1.9-2.3 3.3-.4 1.3-.4 2.7.2 4 .6 1.3 1.5 2.3 2.7 3 1.2.7 2.6.9 3.9.6zM7.9 7.5L10.3 5l.7.7-2.4 2.5 2.4 2.5-.7.7-2.4-2.5-2.4 2.5-.7-.7 2.4-2.5-2.4-2.5.7-.7 2.4 2.5z"},null)]),n=e({setup(){const e=t(),n=o(["baseColor","textColorBase","textColorSecondary","textColorDisabled"]);return()=>{let t;return r("div",{class:"flex flex-col items-center justify-center min-h-screen p-4",style:n.value},[r("div",{class:"text-center px-4 sm:px-8 max-w-[60rem] mx-auto"},[r("div",{class:"text-[4.5rem] sm:text-[6rem] md:text-[8rem] font-bold leading-none mb-2 sm:mb-4",style:{color:"var(--n-text-color-base)",textShadow:"2px 2px 8px rgba(0,0,0,0.25)"}},[s("404")]),r("div",{class:"flex items-center justify-center mb-4 sm:mb-8"},[m(60,"var(--n-text-color-base)")]),r("div",{class:"text-[1.2rem] sm:text-[1.5rem] md:text-[1.8rem] mb-4 sm:mb-8",style:{color:"var(--n-text-color-secondary)"}},[l("t_0_1744098811152")]),r(a,{style:{backgroundColor:"var(--n-text-color-base)",color:"var(--n-base-color)",border:"none"},onClick:()=>e.push("/")},(o=t=l("t_1_1744098801860"),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!c(o)?t:{default:()=>[t]})),r("div",{class:"mt-4 sm:mt-8 text-[1rem] sm:text-[1.1rem] md:text-[1.3rem]",style:{color:"var(--n-text-color-disabled)"}},[l("t_2_1744098804908")])])]);var o}}});export{n as default}; diff --git a/build/static/js/index-hczkfvnm.js b/build/static/js/index-D5g5Z7WA.js similarity index 98% rename from build/static/js/index-hczkfvnm.js rename to build/static/js/index-D5g5Z7WA.js index 1ab76eb..3bba341 100644 --- a/build/static/js/index-hczkfvnm.js +++ b/build/static/js/index-D5g5Z7WA.js @@ -1 +1 @@ -import{A as e,C as t,l as n,D as o,E as a,F as r,G as l,d as i,H as s,I as c,r as u,o as d,x as g,J as h,K as f,L as p,M as m,O as b,P as _,Q as y,R as w,S as v,T as x,U as k,V as E,W as j,X as C,Y as S,Z as R,_ as O,e as T,s as N,$ as M,c as A,p as L,j as $,a0 as z,a1 as H,i as B,B as I,a as P,a2 as W,a3 as D,b as F,a4 as q,u as U,g as V,h as K,a5 as G,N as X,k as Z,m as J,y as Y,z as Q,a6 as ee,a7 as te,f as ne,n as oe,a8 as ae,t as re}from"./main-BFg_w1GP.js";import{g as le,a as ie,u as se,e as ce,b as ue,d as de,c as ge,f as he}from"./useStore-CSzo38f-.js";import{b as fe,c as pe,e as me}from"./access-B4X6xtmm.js";import{u as be,g as _e,N as ye,a as we}from"./index-CTQigr-B.js";import{B as ve}from"./index-CiXlCrWk.js";import{t as xe}from"./throttle-BHKGqXBF.js";import{E as ke,S as Ee}from"./index-P-RSxeKl.js";import{C as je}from"./data-BFMmsjgZ.js";import{S as Ce}from"./index-BJNUeE_-.js";import{a as Se,N as Re,w as Oe}from"./business-CHQBsAXz.js";import{a as Te,u as Ne}from"./index-CtqD4msy.js";function Me(o,a){const r=e(t,null);return n((()=>o.hljs||(null==r?void 0:r.mergedHljsRef.value)))}const Ae=o([a("code","\n font-size: var(--n-font-size);\n font-family: var(--n-font-family);\n ",[r("show-line-numbers","\n display: flex;\n "),l("line-numbers","\n user-select: none;\n padding-right: 12px;\n text-align: right;\n transition: color .3s var(--n-bezier);\n color: var(--n-line-number-text-color);\n "),r("word-wrap",[o("pre","\n white-space: pre-wrap;\n word-break: break-all;\n ")]),o("pre","\n margin: 0;\n line-height: inherit;\n font-size: inherit;\n font-family: inherit;\n "),o("[class^=hljs]","\n color: var(--n-text-color);\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),({props:e})=>{const t=`${e.bPrefix}code`;return[`${t} .hljs-comment,\n ${t} .hljs-quote {\n color: var(--n-mono-3);\n font-style: italic;\n }`,`${t} .hljs-doctag,\n ${t} .hljs-keyword,\n ${t} .hljs-formula {\n color: var(--n-hue-3);\n }`,`${t} .hljs-section,\n ${t} .hljs-name,\n ${t} .hljs-selector-tag,\n ${t} .hljs-deletion,\n ${t} .hljs-subst {\n color: var(--n-hue-5);\n }`,`${t} .hljs-literal {\n color: var(--n-hue-1);\n }`,`${t} .hljs-string,\n ${t} .hljs-regexp,\n ${t} .hljs-addition,\n ${t} .hljs-attribute,\n ${t} .hljs-meta-string {\n color: var(--n-hue-4);\n }`,`${t} .hljs-built_in,\n ${t} .hljs-class .hljs-title {\n color: var(--n-hue-6-2);\n }`,`${t} .hljs-attr,\n ${t} .hljs-variable,\n ${t} .hljs-template-variable,\n ${t} .hljs-type,\n ${t} .hljs-selector-class,\n ${t} .hljs-selector-attr,\n ${t} .hljs-selector-pseudo,\n ${t} .hljs-number {\n color: var(--n-hue-6);\n }`,`${t} .hljs-symbol,\n ${t} .hljs-bullet,\n ${t} .hljs-link,\n ${t} .hljs-meta,\n ${t} .hljs-selector-id,\n ${t} .hljs-title {\n color: var(--n-hue-2);\n }`,`${t} .hljs-emphasis {\n font-style: italic;\n }`,`${t} .hljs-strong {\n font-weight: var(--n-font-weight-strong);\n }`,`${t} .hljs-link {\n text-decoration: underline;\n }`]}]),Le=i({name:"Code",props:Object.assign(Object.assign({},f.props),{language:String,code:{type:String,default:""},trim:{type:Boolean,default:!0},hljs:Object,uri:Boolean,inline:Boolean,wordWrap:Boolean,showLineNumbers:Boolean,internalFontSize:Number,internalNoHighlight:Boolean}),setup(e,{slots:t}){const{internalNoHighlight:o}=e,{mergedClsPrefixRef:a,inlineThemeDisabled:r}=c(),l=u(null),i=o?{value:void 0}:Me(e),s=n((()=>!e.inline&&!e.wordWrap&&e.showLineNumbers)),b=()=>{if(t.default)return;const{value:n}=l;if(!n)return;const{language:o}=e,a=e.uri?window.decodeURIComponent(e.code):e.code;if(o){const t=((e,t,n)=>{const{value:o}=i;return o&&e&&o.getLanguage(e)?o.highlight(n?t.trim():t,{language:e}).value:null})(o,a,e.trim);if(null!==t){if(e.inline)n.innerHTML=t;else{const e=n.querySelector(".__code__");e&&n.removeChild(e);const o=document.createElement("pre");o.className="__code__",o.innerHTML=t,n.appendChild(o)}return}}if(e.inline)return void(n.textContent=a);const r=n.querySelector(".__code__");if(r)r.textContent=a;else{const e=document.createElement("pre");e.className="__code__",e.textContent=a,n.innerHTML="",n.appendChild(e)}};d(b),g(h(e,"language"),b),g(h(e,"code"),b),o||g(i,b);const _=f("Code","-code",Ae,p,e,a),y=n((()=>{const{common:{cubicBezierEaseInOut:t,fontFamilyMono:n},self:{textColor:o,fontSize:a,fontWeightStrong:r,lineNumberTextColor:l,"mono-3":i,"hue-1":s,"hue-2":c,"hue-3":u,"hue-4":d,"hue-5":g,"hue-5-2":h,"hue-6":f,"hue-6-2":p}}=_.value,{internalFontSize:m}=e;return{"--n-font-size":m?`${m}px`:a,"--n-font-family":n,"--n-font-weight-strong":r,"--n-bezier":t,"--n-text-color":o,"--n-mono-3":i,"--n-hue-1":s,"--n-hue-2":c,"--n-hue-3":u,"--n-hue-4":d,"--n-hue-5":g,"--n-hue-5-2":h,"--n-hue-6":f,"--n-hue-6-2":p,"--n-line-number-text-color":l}})),w=r?m("code",n((()=>`${e.internalFontSize||"a"}`)),y,e):void 0;return{mergedClsPrefix:a,codeRef:l,mergedShowLineNumbers:s,lineNumbers:n((()=>{let t=1;const n=[];let o=!1;for(const a of e.code)"\n"===a?(o=!0,n.push(t++)):o=!1;return o||n.push(t++),n.join("\n")})),cssVars:r?void 0:y,themeClass:null==w?void 0:w.themeClass,onRender:null==w?void 0:w.onRender}},render(){var e,t;const{mergedClsPrefix:n,wordWrap:o,mergedShowLineNumbers:a,onRender:r}=this;return null==r||r(),s("code",{class:[`${n}-code`,this.themeClass,o&&`${n}-code--word-wrap`,a&&`${n}-code--show-line-numbers`],style:this.cssVars,ref:"codeRef"},a?s("pre",{class:`${n}-code__line-numbers`},this.lineNumbers):null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}}),$e=b("n-log"),ze=i({props:{line:{type:String,default:""}},setup(t){const{trimRef:o,highlightRef:a,languageRef:r,mergedHljsRef:l}=e($e),i=u(null),s=n((()=>o.value?t.line.trim():t.line));function c(){i.value&&(i.value.innerHTML=function(e,t){const{value:n}=l;if(n&&e&&n.getLanguage(e))return n.highlight(t,{language:e}).value;return t}(r.value,s.value))}return d((()=>{a.value&&c()})),g(h(t,"line"),(()=>{a.value&&c()})),{highlight:a,selfRef:i,maybeTrimmedLines:s}},render(){const{highlight:e,maybeTrimmedLines:t}=this;return s("pre",{ref:"selfRef"},e?null:t)}}),He=i({name:"LogLoader",props:{clsPrefix:{type:String,required:!0}},setup:()=>({locale:y("Log").localeRef}),render(){const{clsPrefix:e}=this;return s("div",{class:`${e}-log-loader`},s(_,{clsPrefix:e,strokeWidth:24,scale:.85}),s("span",{class:`${e}-log-loader__content`},this.locale.loading))}}),Be=a("log","\n position: relative;\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n",[o("pre","\n white-space: pre-wrap;\n word-break: break-word;\n margin: 0;\n "),a("log-loader","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n box-sizing: border-box;\n position: absolute;\n right: 16px;\n top: 8px;\n height: 34px;\n border-radius: 17px;\n line-height: 34px;\n white-space: nowrap;\n overflow: hidden;\n border: var(--n-loader-border);\n color: var(--n-loader-text-color);\n background-color: var(--n-loader-color);\n font-size: var(--n-loader-font-size);\n ",[w(),l("content","\n display: inline-block;\n vertical-align: bottom;\n line-height: 34px;\n padding-left: 40px;\n padding-right: 20px;\n white-space: nowrap;\n "),a("base-loading","\n color: var(--n-loading-color);\n position: absolute;\n left: 12px;\n top: calc(50% - 10px);\n font-size: 20px;\n width: 20px;\n height: 20px;\n display: inline-block;\n ")])]),Ie=i({name:"Log",props:Object.assign(Object.assign({},f.props),{loading:Boolean,trim:Boolean,log:String,fontSize:{type:Number,default:14},lines:{type:Array,default:()=>[]},lineHeight:{type:Number,default:1.25},language:String,rows:{type:Number,default:15},offsetTop:{type:Number,default:0},offsetBottom:{type:Number,default:0},hljs:Object,onReachTop:Function,onReachBottom:Function,onRequireMore:Function}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=c(e),a=u(!1),r=n((()=>void 0!==e.language)),l=n((()=>`calc(${Math.round(e.rows*e.lineHeight*e.fontSize)}px)`)),i=n((()=>{const{log:t}=e;return t?t.split("\n"):e.lines})),s=u(null),d=f("Log","-log",Be,k,e,t);const g=xe((function(t){if(a.value)return void E((()=>{a.value=!1}));if(s.value){const{containerRef:n,contentRef:o}=s.value;if(n&&o){const a=n.offsetHeight,r=n.scrollTop,l=r,i=o.offsetHeight-r-a,s=t.deltaY;if(0===l&&s<0){const{onRequireMore:t}=e;t&&t("top")}if(i<=0&&s>0){const{onRequireMore:t}=e;t&&t("bottom")}}}}),300);function p(e){const{value:t}=s;if(!t)return;const{silent:n,top:o,position:r}=e;n&&(a.value=!0),void 0!==o?t.scrollTo({left:0,top:o}):"bottom"!==r&&"top"!==r||t.scrollTo({position:r})}j($e,{languageRef:h(e,"language"),mergedHljsRef:Me(e),trimRef:h(e,"trim"),highlightRef:r});const b={scrollTo:p},_=n((()=>{const{self:{loaderFontSize:e,loaderTextColor:t,loaderColor:n,loaderBorder:o,loadingColor:a},common:{cubicBezierEaseInOut:r}}=d.value;return{"--n-bezier":r,"--n-loader-font-size":e,"--n-loader-border":o,"--n-loader-color":n,"--n-loader-text-color":t,"--n-loading-color":a}})),y=o?m("log",void 0,_,e):void 0;return Object.assign(Object.assign({},b),{mergedClsPrefix:t,scrollbarRef:s,mergedTheme:d,styleHeight:l,mergedLines:i,scrollToTop:function(e=!1){C("log","`scrollToTop` is deprecated, please use `scrollTo({ position: 'top'})` instead."),p({position:"top",silent:e})},scrollToBottom:function(e=!1){C("log","`scrollToTop` is deprecated, please use `scrollTo({ position: 'bottom'})` instead."),p({position:"bottom",silent:e})},handleWheel:g,handleScroll:function(t){const n=t.target,o=n.firstElementChild;if(a.value)return void E((()=>{a.value=!1}));const r=n.offsetHeight,l=n.scrollTop,i=o.offsetHeight-l-r;if(l<=e.offsetTop){const{onReachTop:t,onRequireMore:n}=e;n&&n("top"),t&&t()}if(i<=e.offsetBottom){const{onReachBottom:t,onRequireMore:n}=e;n&&n("bottom"),t&&t()}},cssVars:o?void 0:_,themeClass:null==y?void 0:y.themeClass,onRender:null==y?void 0:y.onRender})},render(){const{mergedClsPrefix:e,mergedTheme:t,onRender:n}=this;return null==n||n(),s("div",{class:[`${e}-log`,this.themeClass],style:[{lineHeight:this.lineHeight,height:this.styleHeight},this.cssVars],onWheelPassive:this.handleWheel},[s(v,{ref:"scrollbarRef",theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar,onScroll:this.handleScroll},{default:()=>s(Le,{internalNoHighlight:!0,internalFontSize:this.fontSize,theme:t.peers.Code,themeOverrides:t.peerOverrides.Code},{default:()=>this.mergedLines.map(((e,t)=>s(ze,{key:t,line:e})))})}),s(x,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?s(He,{clsPrefix:e}):null})])}}),Pe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},We=i({name:"PlusOutlined",render:function(e,t){return R(),S("svg",Pe,t[0]||(t[0]=[O("defs",null,null,-1),O("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z",fill:"currentColor"},null,-1),O("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z",fill:"currentColor"},null,-1)]))}}),{handleError:De}=be(),Fe=T("workflow-store",(()=>{const e=u(!1),t=u(!1),n=u({name:"",templateType:"quick"}),o=u([{label:"快速部署模板",value:"quick",description:"快速上线应用,简化流程"},{label:"高级自定义模板",value:"advanced",description:"完全自定义的部署流程"}]),a=u({name:"",Kid:"",HmacEncoded:"",ca:"zerossl"}),r=()=>{a.value={name:"",Kid:"",HmacEncoded:"",ca:"zerossl"}};return{refreshTable:e,isEditWorkFlow:t,workflowFormData:n,workflowTemplateOptions:o,caFormData:a,fetchWorkflowList:async({p:e,limit:t,search:n})=>{try{const{data:o,count:a}=await le({p:e,limit:t,search:n}).fetch();return{list:o||[],total:a}}catch(o){return De(o),{list:[],total:0}}},fetchWorkflowHistory:async({id:e,p:t,limit:n})=>{try{const o=await ie({id:e,p:t,limit:n}).fetch();return{list:o.data||[],total:o.count}}catch(o){return De(o),{list:[],total:0}}},deleteExistingWorkflow:async e=>{try{const{message:t,fetch:n}=de({id:e.toString()});t.value=!0,await n()}catch(t){De(t).default(M("t_14_1745457488092"))}},executeExistingWorkflow:async e=>{try{const{message:t,fetch:n}=ue({id:e});t.value=!0,await n()}catch(t){De(t).default(M("t_13_1745457487555"))}},setWorkflowActive:async({id:e,active:t})=>{try{const{message:n,fetch:o}=ce({id:e,active:t});n.value=!0,await o()}catch(n){De(n).default(M("t_12_1745457489076"))}},setWorkflowExecType:async({id:e,exec_type:t})=>{try{const{message:n,fetch:o}=se({id:e,exec_type:t});n.value=!0,await o()}catch(n){De(n).default(M("t_11_1745457488256"))}},fetchEabList:async({p:e,limit:t})=>{try{const{data:n,count:o}=await fe({p:e,limit:t}).fetch();return{list:n||[],total:o}}catch(n){return De(n),{list:[],total:0}}},addNewEab:async e=>{try{const{message:t,fetch:n}=pe(e);t.value=!0,await n(),r()}catch(t){De(t)}},deleteExistingEab:async e=>{try{const{message:t,fetch:n}=me({id:e});t.value=!0,await n()}catch(t){De(t).default(M("t_40_1745227838872"))}},resetCaForm:r}})),qe=()=>{const e=Fe();return{...e,...N(e)}};const Ue=i({name:"AddWorkflowModal",setup(){const{workflowTemplateOptions:e,workflowFormData:t}=qe(),{AddWorkflowForm:n}=Ct();return()=>A(z,{bordered:!1,class:"shadow-none","content-class":"!p-[10px]"},{default:()=>[A(n,{labelPlacement:"top",labelWidth:100},{template:()=>{let n;return A(L,{label:M("t_0_1745474945127"),required:!0},{default:()=>{return[A($,{vertical:!0,class:"flex !flex-row "},(o=n=e.value.map((e=>A("div",{key:e.value,class:"cursor-pointer transition-all duration-300 ",onClick:()=>{t.value.templateType=e.value}},[A(z,{class:"rounded-lg border-1 "+(t.value.templateType===e.value?"border-primary-500":""),hoverable:!0},{default:()=>[A($,{align:"center",justify:"space-between"},{default:()=>[A("div",null,[A("div",{class:"font-medium text-[14px]"},[e.label]),A("div",{class:"text-gray-500 text-[12px] mt-1"},[e.description])]),A(H,{checked:t.value.templateType===e.value},null)]})]})]))),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!B(o)?n:{default:()=>[n]}))];var o}})}})]})}});const Ve=i({name:"HistoryModal",props:{id:{type:String,required:!0}},setup(e){const{WorkflowHistoryTable:t,WorkflowHistoryTablePage:n,fetch:o}=St(e.id);return d((()=>{o()})),()=>A("div",{class:"flex w-full"},[A(ve,null,{header:()=>{let e;return A("div",{class:"flex items-center justify-between mb-[1.6rem]"},[A(I,{type:"default",onClick:()=>o()},(t=e=M("t_9_1746667589516"),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!B(t)?e:{default:()=>[e]}))]);var t},content:()=>A(t,null,null),footerRight:()=>A(n,null,null)})])}});var Ke,Ge;function Xe(){if(Ge)return Ke;function e(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((n=>{const o=t[n],a=typeof o;"object"!==a&&"function"!==a||Object.isFrozen(o)||e(o)})),t}Ge=1;class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function o(e,...t){const n=Object.create(null);for(const o in e)n[o]=e[o];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const a=e=>!!e.scope;class r{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!a(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){a(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}const l=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class i{constructor(){this.rootNode=l(),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 t=l({scope:e});this.add(t),this.stack.push(t)}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,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{i._collapse(e)})))}}class s extends i{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new r(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function u(e){return h("(?=",e,")")}function d(e){return h("(?:",e,")*")}function g(e){return h("(?:",e,")?")}function h(...e){return e.map((e=>c(e))).join("")}function f(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function p(e){return new RegExp(e.toString()+"|").exec("").length-1}const m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let o=c(e),a="";for(;o.length>0;){const e=m.exec(o);if(!e){a+=o;break}a+=o.substring(0,e.index),o=o.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&n++)}return a})).map((e=>`(${e})`)).join(t)}const _="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",v="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",x="\\b(0b[01]+)",k={begin:"\\\\[\\s\\S]",relevance:0},E={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[k]},j={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[k]},C=function(e,t,n={}){const a=o({scope:"comment",begin:e,end:t,contains:[]},n);a.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 r=f("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 a.contains.push({begin:h(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},S=C("//","$"),R=C("/\\*","\\*/"),O=C("#","$"),T={scope:"number",begin:w,relevance:0},N={scope:"number",begin:v,relevance:0},M={scope:"number",begin:x,relevance:0},A={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[k,{begin:/\[/,end:/\]/,relevance:0,contains:[k]}]},L={scope:"title",begin:_,relevance:0},$={scope:"title",begin:y,relevance:0},z={begin:"\\.\\s*"+y,relevance:0};var H=Object.freeze({__proto__:null,APOS_STRING_MODE:E,BACKSLASH_ESCAPE:k,BINARY_NUMBER_MODE:M,BINARY_NUMBER_RE:x,COMMENT:C,C_BLOCK_COMMENT_MODE:R,C_LINE_COMMENT_MODE:S,C_NUMBER_MODE:N,C_NUMBER_RE:v,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:O,IDENT_RE:_,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:z,NUMBER_MODE:T,NUMBER_RE:w,PHRASAL_WORDS_MODE:{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/},QUOTE_STRING_MODE:j,REGEXP_MODE:A,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:L,UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:$});function B(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function I(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function P(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=B,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function W(e,t){Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function D(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function F(e,t){void 0===e.relevance&&(e.relevance=1)}const q=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=h(n.beforeMatch,u(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},U=["of","and","for","in","not","or","if","then","parent","list","value"];function V(e,t,n="keyword"){const o=Object.create(null);return"string"==typeof e?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach((function(n){Object.assign(o,V(e[n],t,n))})),o;function a(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");o[n[0]]=[e,K(n[0],n[1])]}))}}function K(e,t){return t?Number(t):function(e){return U.includes(e.toLowerCase())}(e)?0:1}const G={},X=(e,t)=>{G[`${e}/${t}`]||(G[`${e}/${t}`]=!0)},Z=new Error;function J(e,t,{key:n}){let o=0;const a=e[n],r={},l={};for(let i=1;i<=t.length;i++)l[i+o]=a[i],r[i+o]=!0,o+=p(t[i-1]);e[n]=l,e[n]._emit=r,e[n]._multi=!0}function Y(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Z;if("object"!=typeof e.beginScope||null===e.beginScope)throw Z;J(e,e.begin,{key:"beginScope"}),e.begin=b(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Z;if("object"!=typeof e.endScope||null===e.endScope)throw Z;J(e,e.end,{key:"endScope"}),e.end=b(e.end,{joinWith:""})}}(e)}function Q(e){function t(t,n){return new RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=p(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(b(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),o=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,o)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),function n(r,l){const i=r;if(r.isCompiled)return i;[I,D,Y,q].forEach((e=>e(r,l))),e.compilerExtensions.forEach((e=>e(r,l))),r.__beforeBegin=null,[P,W,F].forEach((e=>e(r,l))),r.isCompiled=!0;let s=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),s=r.keywords.$pattern,delete r.keywords.$pattern),s=s||/\w+/,r.keywords&&(r.keywords=V(r.keywords,e.case_insensitive)),i.keywordPatternRe=t(s,!0),l&&(r.begin||(r.begin=/\B|\b/),i.beginRe=t(i.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(i.endRe=t(i.end)),i.terminatorEnd=c(i.end)||"",r.endsWithParent&&l.terminatorEnd&&(i.terminatorEnd+=(r.end?"|":"")+l.terminatorEnd)),r.illegal&&(i.illegalRe=t(r.illegal)),r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ee(e))return o(e,{starts:e.starts?o(e.starts):null});if(Object.isFrozen(e))return o(e);return e}("self"===e?r:e)}))),r.contains.forEach((function(e){n(e,i)})),r.starts&&n(r.starts,l),i.matcher=function(e){const t=new a;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}function ee(e){return!!e&&(e.endsWithParent||ee(e.starts))}class te extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ne=n,oe=o,ae=Symbol("nomatch"),re=function(n){const o=Object.create(null),a=Object.create(null),r=[];let l=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let p={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:s};function m(e){return p.noHighlightRe.test(e)}function b(e,t,n){let o="",a="";"object"==typeof t?(o=e,n=t.ignoreIllegals,a=t.language):(X("10.7.0","highlight(lang, code, ...args) has been deprecated."),X("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,o=t),void 0===n&&(n=!0);const r={code:o,language:a};C("before:highlight",r);const l=r.result?r.result:_(r.language,r.code,n);return l.code=r.code,C("after:highlight",l),l}function _(e,n,a,r){const s=Object.create(null);function c(){if(!C.keywords)return void R.addText(O);let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(O),n="";for(;t;){n+=O.substring(e,t.index);const a=x.case_insensitive?t[0].toLowerCase():t[0],r=(o=a,C.keywords[o]);if(r){const[e,o]=r;if(R.addText(n),n="",s[a]=(s[a]||0)+1,s[a]<=7&&(T+=o),e.startsWith("_"))n+=t[0];else{const n=x.classNameAliases[e]||e;d(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(O)}var o;n+=O.substring(e),R.addText(n)}function u(){null!=C.subLanguage?function(){if(""===O)return;let e=null;if("string"==typeof C.subLanguage){if(!o[C.subLanguage])return void R.addText(O);e=_(C.subLanguage,O,!0,S[C.subLanguage]),S[C.subLanguage]=e._top}else e=y(O,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(T+=e.relevance),R.__addSublanguage(e._emitter,e.language)}():c(),O=""}function d(e,t){""!==e&&(R.startScope(t),R.addText(e),R.endScope())}function g(e,t){let n=1;const o=t.length-1;for(;n<=o;){if(!e._emit[n]){n++;continue}const o=x.classNameAliases[e[n]]||e[n],a=t[n];o?d(a,o):(O=a,c(),O=""),n++}}function h(e,t){return e.scope&&"string"==typeof e.scope&&R.openNode(x.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(d(O,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),O=""):e.beginScope._multi&&(g(e.beginScope,t),O="")),C=Object.create(e,{parent:{value:C}}),C}function f(e,n,o){let a=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,o);if(a){if(e["on:end"]){const o=new t(e);e["on:end"](n,o),o.isMatchIgnored&&(a=!1)}if(a){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return f(e.parent,n,o)}function m(e){return 0===C.matcher.regexIndex?(O+=e[0],1):(A=!0,0)}function b(e){const t=e[0],o=n.substring(e.index),a=f(C,e,o);if(!a)return ae;const r=C;C.endScope&&C.endScope._wrap?(u(),d(t,C.endScope._wrap)):C.endScope&&C.endScope._multi?(u(),g(C.endScope,e)):r.skip?O+=t:(r.returnEnd||r.excludeEnd||(O+=t),u(),r.excludeEnd&&(O=t));do{C.scope&&R.closeNode(),C.skip||C.subLanguage||(T+=C.relevance),C=C.parent}while(C!==a.parent);return a.starts&&h(a.starts,e),r.returnEnd?0:t.length}let w={};function v(o,r){const i=r&&r[0];if(O+=o,null==i)return u(),0;if("begin"===w.type&&"end"===r.type&&w.index===r.index&&""===i){if(O+=n.slice(r.index,r.index+1),!l){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=w.rule,t}return 1}if(w=r,"begin"===r.type)return function(e){const n=e[0],o=e.rule,a=new t(o),r=[o.__beforeBegin,o["on:begin"]];for(const t of r)if(t&&(t(e,a),a.isMatchIgnored))return m(n);return o.skip?O+=n:(o.excludeBegin&&(O+=n),u(),o.returnBegin||o.excludeBegin||(O=n)),h(o,e),o.returnBegin?0:n.length}(r);if("illegal"===r.type&&!a){const e=new Error('Illegal lexeme "'+i+'" for mode "'+(C.scope||"")+'"');throw e.mode=C,e}if("end"===r.type){const e=b(r);if(e!==ae)return e}if("illegal"===r.type&&""===i)return O+="\n",1;if(M>1e5&&M>3*r.index){throw new Error("potential infinite loop, way more iterations than matches")}return O+=i,i.length}const x=k(e);if(!x)throw i.replace("{}",e),new Error('Unknown language: "'+e+'"');const E=Q(x);let j="",C=r||E;const S={},R=new p.__emitter(p);!function(){const e=[];for(let t=C;t!==x;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>R.openNode(e)))}();let O="",T=0,N=0,M=0,A=!1;try{if(x.__emitTokens)x.__emitTokens(n,R);else{for(C.matcher.considerAll();;){M++,A?A=!1:C.matcher.considerAll(),C.matcher.lastIndex=N;const e=C.matcher.exec(n);if(!e)break;const t=v(n.substring(N,e.index),e);N=e.index+t}v(n.substring(N))}return R.finalize(),j=R.toHTML(),{language:e,value:j,relevance:T,illegal:!1,_emitter:R,_top:C}}catch(L){if(L.message&&L.message.includes("Illegal"))return{language:e,value:ne(n),illegal:!0,relevance:0,_illegalBy:{message:L.message,index:N,context:n.slice(N-100,N+100),mode:L.mode,resultSoFar:j},_emitter:R};if(l)return{language:e,value:ne(n),illegal:!1,relevance:0,errorRaised:L,_emitter:R,_top:C};throw L}}function y(e,t){t=t||p.languages||Object.keys(o);const n=function(e){const t={value:ne(e),illegal:!1,relevance:0,_top:c,_emitter:new p.__emitter(p)};return t._emitter.addText(e),t}(e),a=t.filter(k).filter(j).map((t=>_(t,e,!1)));a.unshift(n);const r=a.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;if(k(t.language).supersetOf===e.language)return-1}return 0})),[l,i]=r,s=l;return s.secondBest=i,s}function w(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=p.languageDetectRe.exec(t);if(n){const e=k(n[1]);return e||i.replace("{}",n[1]),e?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>m(e)||k(e)))}(e);if(m(n))return;if(C("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return;if(e.children.length>0&&(p.ignoreUnescapedHTML,p.throwUnescapedHTML)){throw new te("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const o=t.textContent,r=n?b(o,{language:n,ignoreIllegals:!0}):y(o);e.innerHTML=r.value,e.dataset.highlighted="yes",function(e,t,n){const o=t&&a[t]||n;e.classList.add("hljs"),e.classList.add(`language-${o}`)}(e,n,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),C("after:highlightElement",{el:e,result:r,text:o})}let v=!1;function x(){if("loading"===document.readyState)return v||window.addEventListener("DOMContentLoaded",(function(){x()}),!1),void(v=!0);document.querySelectorAll(p.cssSelector).forEach(w)}function k(e){return e=(e||"").toLowerCase(),o[e]||o[a[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{a[e.toLowerCase()]=t}))}function j(e){const t=k(e);return t&&!t.disableAutodetect}function C(e,t){const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(n,{highlight:b,highlightAuto:y,highlightAll:x,highlightElement:w,highlightBlock:function(e){return X("10.7.0","highlightBlock will be removed entirely in v12.0"),X("10.7.0","Please use highlightElement now."),w(e)},configure:function(e){p=oe(p,e)},initHighlighting:()=>{x(),X("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){x(),X("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(e,t){let a=null;try{a=t(n)}catch(r){if("Language definition for '{}' could not be registered.".replace("{}",e),!l)throw r;a=c}a.name||(a.name=e),o[e]=a,a.rawDefinition=t.bind(null,n),a.aliases&&E(a.aliases,{languageName:e})},unregisterLanguage:function(e){delete o[e];for(const t of Object.keys(a))a[t]===e&&delete a[t]},listLanguages:function(){return Object.keys(o)},getLanguage:k,registerAliases:E,autoDetection:j,inherit:oe,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),n.debugMode=function(){l=!1},n.safeMode=function(){l=!0},n.versionString="11.11.1",n.regex={concat:h,lookahead:u,either:f,optional:g,anyNumberOfTimes:d};for(const t in H)"object"==typeof H[t]&&e(H[t]);return Object.assign(n,H),n},le=re({});return le.newInstance=()=>re({}),Ke=le,le.HighlightJS=le,le.default=le,Ke}const Ze=_e(Xe()),Je={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Ye=i({name:"DownloadOutline",render:function(e,t){return R(),S("svg",Je,t[0]||(t[0]=[O("path",{d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),O("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 272l80 80l80-80"},null,-1),O("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 48v288"},null,-1)]))}}),Qe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},et=i({name:"RefreshOutline",render:function(e,t){return R(),S("svg",Qe,t[0]||(t[0]=[O("path",{d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),O("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 58l80 80l-80 80"},null,-1)]))}});const tt=i({name:"LogViewer",props:{content:{type:String,default:""},loading:{type:Boolean,default:!1},enableDownload:{type:Boolean,default:!0},downloadFileName:{type:String,default:"logs.txt"},title:{type:String,default:()=>M("t_0_1746776194126")},fetchLogs:{type:Function,default:void 0}},setup(e){const{isLoading:t,logRef:o,logContent:a,cssVarStyles:r,refreshLogs:l,downloadLogs:i}=function(e){const t=u(e.content||""),o=u(e.loading||!1),a=u(null);Ze.getLanguage("custom-logs")||Ze.registerLanguage("custom-logs",(()=>({contains:[{className:"info-text",begin:/\[INFO\]/},{className:"error-text",begin:/\[ERROR\]/},{className:"warning-text",begin:/\[WARNING\]/},{className:"date-text",begin:/\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/}]})));const r=P(["successColor","errorColor","warningColor","successColorPressed"]),l=n((()=>r.value));g((()=>e.content),(e=>{t.value=e||"",i()})),g((()=>e.loading),(e=>{o.value=!!e}));const i=()=>{E((()=>{var e;null==(e=a.value)||e.scrollTo({top:Number.MAX_SAFE_INTEGER,behavior:"smooth"})}))},s=async()=>{if(e.fetchLogs){o.value=!0;try{const n=await e.fetchLogs();t.value=n,i()}catch(n){t.value=`${M("t_1_1746776198156")}: ${n instanceof Error?n.message:String(n)}`}finally{o.value=!1}}},c=n((()=>t.value?t.value.split("\n").map((e=>({type:"default",content:e}))):[]));return d((()=>{e.fetchLogs?s():e.content&&i()})),{logs:t,isLoading:o,logRef:a,logContent:c,cssVarStyles:l,refreshLogs:()=>{s()},downloadLogs:()=>{if(!t.value)return;const n=new Blob([t.value],{type:"text/plain;charset=utf-8"}),o=URL.createObjectURL(n),a=document.createElement("a");a.href=o,a.download=e.downloadFileName||"logs.txt",document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(o)}}}(e);return()=>A(z,{title:e.title,bordered:!1,class:"w-full h-full flex flex-col",contentClass:"!p-3 flex-grow overflow-hidden",style:r.value,headerClass:"flex-shrink-0",footerClass:"flex-shrink-0"},{header:()=>e.title,"header-extra":()=>A($,null,{default:()=>[A(I,{onClick:l,size:"small",type:"primary",disabled:t.value},{icon:()=>A(D,null,{default:()=>[A(et,null,null)]}),default:()=>M("t_0_1746497662220")}),e.enableDownload&&A(I,{onClick:i,size:"small",disabled:t.value||!a.value.length},{icon:()=>A(D,null,{default:()=>[A(Ye,null,null)]}),default:()=>M("t_2_1746776194263")})]}),default:()=>A(ye,{show:t.value,class:"h-full"},{default:()=>[A(W,{hljs:Ze,class:"h-full"},{default:()=>[A(Ie,{ref:o,log:a.value.map((e=>e.content)).join("\n"),language:"custom-logs",trim:!1,fontSize:14,lineHeight:1.5,class:"h-full",style:{border:"1px solid var(--n-border-color)",borderRadius:"var(--n-border-radius)",padding:"10px"}},null)]})]})})}}),nt=i({name:"HistoryLogsModal",props:{id:{type:[String],required:!0}},setup(e){const t=u(!1),n=u(""),o=async()=>{t.value=!0;try{const{data:t}=await ge({id:e.id}).fetch();return n.value=t||"没有日志数据",n.value}catch(o){return"获取日志失败: "+(o instanceof Error?o.message:String(o))}finally{t.value=!1}};return()=>A(tt,{title:`工作流执行日志 (ID: ${e.id})`,loading:t.value,content:n.value,fetchLogs:o},null)}}),ot=i({name:"CAManageModal",props:{type:{type:String,default:""}},setup(e){const{CATable:t,CATablePage:n,handleOpenAddForm:o,total:a}=Rt(e);return()=>A(ve,null,{headerLeft:()=>A(I,{type:"primary",onClick:o},{default:()=>[A(We,{class:"text-[var(--text-color-3)] mr-1"},null),A("span",null,[M("t_4_1747903685371")])]}),content:()=>A("div",{class:"rounded-lg"},[A(t,{size:"medium"},{empty:()=>A(ke,{addButtonText:M("t_4_1747903685371"),onAddClick:o},null)})]),footerRight:()=>A("div",{class:"flex justify-end mt-4"},[A(n,null,{prefix:()=>A("span",null,[M("t_15_1745227839354"),F(" "),a.value,F(" "),M("t_16_1745227838930")])})])})}});function at(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!B(e)}const{refreshTable:rt,fetchWorkflowList:lt,fetchWorkflowHistory:it,workflowFormData:st,deleteExistingWorkflow:ct,executeExistingWorkflow:ut,setWorkflowActive:dt,setWorkflowExecType:gt,caFormData:ht,fetchEabList:ft,addNewEab:pt,deleteExistingEab:mt,resetCaForm:bt}=qe(),{isEdit:_t,workDefalutNodeData:yt,resetWorkflowData:wt,workflowData:vt,detectionRefresh:xt}=he(),{handleError:kt}=be(),{useFormSlot:Et}=J(),jt=(e,t)=>({title:t,key:e,width:100,render:t=>{const n={success:{type:"success",text:M("t_0_1747895713179")},fail:{type:"error",text:M("t_4_1746773348957")},running:{type:"warning",text:M("t_1_1747895712756")}}[t[e]]||{type:"default",text:M("t_1_1746773348701")};return"running"===t[e]&&(rt.value=!0),A(X,{type:n.type,size:"small"},{default:()=>[n.text]})}}),Ct=()=>{const{confirm:e}=Q(),t=n((()=>[Et("template")])),{component:o,data:a}=Y({config:t,rules:{},defaultValue:st});return e((async e=>{try{e(),wt(),ee.push(`/auto-deploy/workflow-view?type=${a.value.templateType}`)}catch(t){kt(t)}})),{AddWorkflowForm:o}},St=e=>{const{component:t,loading:n,param:o,total:a,fetch:r}=V({config:[{title:M("t_4_1745227838558"),key:"create_time",width:230,render:e=>e.create_time?e.create_time:"-"},{title:M("t_5_1745227839906"),key:"end_time",width:230,render:e=>e.end_time?e.end_time:"-"},{title:M("t_6_1745227838798"),key:"exec_type",width:110,render:e=>A(X,{type:"auto"===e.exec_type?"info":"default",size:"small",bordered:!1},{default:()=>["auto"===e.exec_type?M("t_2_1745215915397"):M("t_3_1745215914237")]})},jt("status",M("t_7_1745227838093")),{title:M("t_8_1745215914610"),key:"actions",fixed:"right",align:"right",width:80,render:e=>{let t;return A($,{justify:"end"},{default:()=>[A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>(async e=>{Z({title:M("t_0_1746579648713"),component:nt,area:730,componentProps:{id:e}})})(e.id.toString())},at(t=M("t_12_1745227838814"))?t:{default:()=>[t]})]})}}],request:it,defaultValue:{id:e,p:1,limit:10},watchValue:["p","limit"]}),{component:l}=K({param:o,total:a,alias:{page:"p",pageSize:"limit"}});return{WorkflowHistoryTable:t,WorkflowHistoryTablePage:l,loading:n,fetch:r}},Rt=e=>{const{handleError:t}=be(),n=[{title:M("t_2_1745289353944"),key:"name",ellipsis:{tooltip:!0}},{title:M("t_1_1745735764953"),key:"mail",ellipsis:{tooltip:!0}},{title:M("t_9_1747903669360"),key:"ca",width:120,render:e=>A(Re,{align:"center"},{default:()=>[A(Ce,{icon:`cert-${e.ca}`,size:"2rem"},null),A(Se,null,{default:()=>[je[e.ca].name]})]})},{title:M("t_7_1745215914189"),key:"create_time",width:180,render:e=>e.create_time?e.create_time:"--"},{title:M("t_8_1745215914610"),key:"actions",width:80,align:"right",fixed:"right",render:e=>{let t;return A($,{justify:"end"},{default:()=>[A(I,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>c(e.id.toString())},at(t=M("t_12_1745215914312"))?t:{default:()=>[t]})]})}}],{component:o,loading:a,param:r,total:l,fetch:i}=V({config:n,request:ft,defaultValue:{p:1,limit:10},watchValue:["p","limit"]}),{component:s}=K({param:r,total:l,alias:{page:"p",pageSize:"limit"}}),c=e=>{we({title:M("t_2_1747903672640"),content:M("t_3_1747903672833"),onPositiveClick:async()=>{try{await mt(e),await i()}catch(n){t(n)}}})},u=()=>{bt(),Z({title:M("t_4_1747903685371"),area:500,component:()=>te((()=>import("./CAManageForm-rh7R2w87.js")),[],import.meta.url).then((e=>e.default)),footer:!0,onUpdateShow:e=>{e||i()}})};return d((()=>{i(),"addCAForm"===e.type&&u()})),{CATable:o,CATablePage:s,loading:a,param:r,total:l,fetch:i,handleOpenAddForm:u}},Ot=()=>{const{handleError:e}=be(),t=ne(),{confirm:n}=Q(),{useFormInput:o,useFormCustom:a}=J(),r={name:{required:!0,message:M("t_25_1746773349596"),trigger:["blur","input"]},mail:{required:!0,message:M("t_6_1747817644358"),trigger:["blur","input"],validator:(e,t)=>!t||(!!Oe(t)||new Error(M("t_7_1747817613773")))},Kid:{required:!0,message:M("t_5_1747903671439"),trigger:["blur","input"]},HmacEncoded:{required:!0,message:M("t_6_1747903672931"),trigger:["blur","input"]},ca:{required:!0,message:M("t_7_1747903678624"),trigger:"change"}},l=e=>A(Re,{align:"center",size:"small"},{default:()=>[A(Ce,{icon:`cert-${e.value}`,size:"2rem"},null),A(Se,null,{default:()=>[e.label]})]}),i=({option:e})=>A(Re,{class:"w-full"},{default:()=>[e.label?l(e):A("span",{class:"text-[1.4rem] text-gray-400"},[M("t_7_1747903678624")])]}),s=Object.values(je).map((e=>({label:e.name,value:e.type}))),c=[o(M("t_2_1745289353944"),"name",{placeholder:M("t_8_1747903675532")}),o(M("t_1_1745735764953"),"mail",{placeholder:M("t_0_1747965909665")}),a((()=>A(L,{label:M("t_9_1747903669360"),path:"ca"},{default:()=>[A(oe,{class:"w-full",options:s,renderLabel:l,renderTag:i,filterable:!0,placeholder:M("t_7_1747903678624"),value:ht.value.ca,"onUpdate:value":e=>ht.value.ca=e},{empty:()=>A("span",{class:"text-[1.4rem]"},[M("t_7_1747903678624")])})]}))),o(M("t_10_1747903662994"),"Kid",{placeholder:M("t_11_1747903674802")}),o(M("t_12_1747903662994"),"HmacEncoded",{type:"textarea",placeholder:M("t_13_1747903673007"),rows:3})],u=async n=>{try{return await pt(n),t.success(M("t_40_1745289355715")),!0}catch(o){return e(o),!1}},{component:d}=Y({config:c,rules:r,defaultValue:ht,request:u});return n((async t=>{try{await u(ht.value),t()}catch(n){e(n)}})),{CAForm:d}};const Tt=i({name:"WorkflowManager",setup(){const{WorkflowTable:e,WorkflowTablePage:t,isDetectionAddWorkflow:o,isDetectionOpenCAManage:a,isDetectionOpenAddCAForm:r,handleAddWorkflow:l,handleOpenCAManage:i,hasChildRoutes:s,param:c,fetch:u,data:h}=(()=>{const e=q(),t=U(),o=n((()=>"/auto-deploy"!==e.path)),{component:a,loading:r,param:l,data:i,total:s,fetch:c}=V({config:[{title:M("t_0_1745215914686"),key:"name",width:200,ellipsis:{tooltip:!0}},{title:M("t_1_1746590060448"),key:"type",width:100,render:e=>A($,null,{default:()=>[A(G,{size:"small",value:e.exec_type,"onUpdate:value":[t=>e.exec_type=t,()=>{m(e)}],checkedValue:"auto",uncheckedValue:"manual"},null),A("span",null,["auto"===e.exec_type?M("t_2_1745215915397"):M("t_3_1745215914237")])]})},{title:M("t_7_1745215914189"),key:"created_at",width:180,render:e=>e.create_time||"-"},jt("last_run_status",M("t_0_1746677882486")),{title:M("t_8_1745215914610"),key:"actions",fixed:"right",align:"right",width:220,render:e=>{let t,n,o,a;return A($,{justify:"end"},{default:()=>[A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>f(e)},at(t=M("t_9_1745215914666"))?t:{default:()=>[t]}),A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>p(e)},at(n=M("t_10_1745215914342"))?n:{default:()=>[n]}),A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>b(e)},at(o=M("t_11_1745215915429"))?o:{default:()=>[o]}),A(I,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>_(e)},at(a=M("t_12_1745215914312"))?a:{default:()=>[a]})]})}}],request:lt,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:u}=K({param:l,total:s,alias:{page:"p",pageSize:"limit"}}),d=Te((()=>{setTimeout((()=>{c(),rt.value=!1}),1e3)}),100);g((()=>rt.value),(e=>{e&&d()}));const h=()=>{xt.value=!0,Z({title:M("t_5_1746667590676"),component:Ue,footer:!0,area:500,onUpdateShow(e){e||c()}})},f=async e=>{Z({title:e?`【${e.name}】 - ${M("t_9_1745215914666")}`:M("t_9_1745215914666"),component:Ve,area:800,componentProps:{id:e.id.toString()}})},p=async({name:e,id:t})=>{we({title:M("t_13_1745215915455"),content:M("t_2_1745227839794",{name:e}),onPositiveClick:async()=>{await ut(t),await c()}})},m=({id:e,exec_type:t})=>{we({title:M("manual"===t?"t_2_1745457488661":"t_3_1745457486983"),content:M("manual"===t?"t_4_1745457497303":"t_5_1745457494695"),onPositiveClick:()=>gt({id:e,exec_type:t}),onNegativeClick:c,onClose:c})},b=e=>{const n=JSON.parse(e.content);_t.value=!0,vt.value={id:e.id,name:e.name,content:n,exec_type:e.exec_type,active:e.active},yt.value={id:e.id,name:e.name,childNode:n},xt.value=!0,t.push("/auto-deploy/workflow-view?isEdit=true")},_=e=>{we({title:M("t_16_1745215915209"),content:M("t_3_1745227841567",{name:e.name}),onPositiveClick:async()=>{await ct(e.id),await c()}})},y=({type:e}={type:""})=>{Z({title:M("t_0_1747903670020"),component:ot,componentProps:{type:e},area:780})};return{WorkflowTable:a,WorkflowTablePage:u,isDetectionAddWorkflow:()=>{const{type:n}=e.query;(null==n?void 0:n.includes("create"))&&(h(),t.push({query:{}}))},isDetectionOpenCAManage:()=>{const{type:n}=e.query;(null==n?void 0:n.includes("caManage"))&&(y(),t.push({query:{}}))},isDetectionOpenAddCAForm:()=>{const{type:n}=e.query;(null==n?void 0:n.includes("addCAForm"))&&(y({type:"addCAForm"}),t.push({query:{}}))},handleViewHistory:f,handleAddWorkflow:h,handleChangeActive:({id:e,active:t})=>{we({title:M(t?"t_7_1745457487185":"t_6_1745457487560"),content:M(t?"t_9_1745457500045":"t_8_1745457496621"),onPositiveClick:()=>dt({id:e,active:t}),onNegativeClick:c,onClose:c})},handleSetWorkflowExecType:m,handleExecuteWorkflow:p,handleEditWorkflow:b,handleDeleteWorkflow:_,handleOpenCAManage:y,hasChildRoutes:o,fetch:c,data:i,loading:r,param:l}})(),f=U(),p=P(["contentPadding","borderColor","headerHeight","iconColorHover"]);return g((()=>f.currentRoute.value.path),(e=>{"/auto-deploy"===e&&u()})),d((()=>{o(),a(),r(),u()})),()=>A("div",{class:"h-full flex flex-col",style:p.value},[A("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[s.value?A(ae,null,null):A(ve,null,{headerLeft:()=>{let e;return A($,null,{default:()=>{return[A(I,{type:"primary",size:"large",class:"px-5",onClick:l},(t=e=M("t_0_1747047213730"),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!B(t)?e:{default:()=>[e]})),A(I,{type:"default",size:"large",class:"px-5",onClick:i},{default:()=>[A("span",{class:"px-2"},[M("t_0_1747903670020")])]})];var t}})},headerRight:()=>A(re,{value:c.value.search,"onUpdate:value":e=>c.value.search=e,onKeydown:e=>{"Enter"===e.key&&u()},onClear:()=>Ne(u,100),placeholder:M("t_1_1745227838776"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>A("div",{class:"flex items-center",onClick:u},[A(Ee,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])}),content:()=>A("div",{class:"rounded-lg "},[A(e,{size:"medium"},{empty:()=>A(ke,{addButtonText:M("t_0_1747047213730"),onAddClick:l},null)})]),footerRight:()=>A("div",{class:"mt-4 flex justify-end"},[A(t,null,{prefix:()=>A("span",null,[M("t_0_1746773350551",[h.value.total])])})])})])])}}),Nt=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"}));export{Nt as i,Ot as u}; +import{A as e,C as t,l as n,D as o,E as a,F as r,G as l,d as i,H as s,I as c,r as u,o as d,x as g,J as h,K as f,L as p,M as m,O as b,P as _,Q as y,R as w,S as v,T as x,U as k,V as E,W as j,X as C,Y as S,Z as R,_ as O,e as T,s as N,$ as M,c as A,p as L,j as $,a0 as z,a1 as H,i as B,B as I,a as P,a2 as W,a3 as D,b as F,a4 as q,u as U,g as V,h as K,a5 as G,N as X,k as Z,m as J,y as Y,z as Q,a6 as ee,a7 as te,f as ne,n as oe,a8 as ae,t as re}from"./main-BFwn2e3T.js";import{g as le,a as ie,u as se,e as ce,b as ue,d as de,c as ge,f as he}from"./useStore-3Yigt-U3.js";import{b as fe,c as pe,e as me}from"./access-FhEUImRw.js";import{u as be,g as _e,N as ye,a as we}from"./index-DVPyxbgP.js";import{B as ve}from"./index-BL1j0ssQ.js";import{t as xe}from"./throttle-B9C3ruvZ.js";import{E as ke,S as Ee}from"./index-BfiZrXAG.js";import{C as je}from"./data-DE4JXv04.js";import{S as Ce}from"./index-CMwhkNZE.js";import{a as Se,N as Re,w as Oe}from"./business-_Rh7_-TN.js";import{a as Te,u as Ne}from"./index-9yXMuG-J.js";function Me(o,a){const r=e(t,null);return n((()=>o.hljs||(null==r?void 0:r.mergedHljsRef.value)))}const Ae=o([a("code","\n font-size: var(--n-font-size);\n font-family: var(--n-font-family);\n ",[r("show-line-numbers","\n display: flex;\n "),l("line-numbers","\n user-select: none;\n padding-right: 12px;\n text-align: right;\n transition: color .3s var(--n-bezier);\n color: var(--n-line-number-text-color);\n "),r("word-wrap",[o("pre","\n white-space: pre-wrap;\n word-break: break-all;\n ")]),o("pre","\n margin: 0;\n line-height: inherit;\n font-size: inherit;\n font-family: inherit;\n "),o("[class^=hljs]","\n color: var(--n-text-color);\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),({props:e})=>{const t=`${e.bPrefix}code`;return[`${t} .hljs-comment,\n ${t} .hljs-quote {\n color: var(--n-mono-3);\n font-style: italic;\n }`,`${t} .hljs-doctag,\n ${t} .hljs-keyword,\n ${t} .hljs-formula {\n color: var(--n-hue-3);\n }`,`${t} .hljs-section,\n ${t} .hljs-name,\n ${t} .hljs-selector-tag,\n ${t} .hljs-deletion,\n ${t} .hljs-subst {\n color: var(--n-hue-5);\n }`,`${t} .hljs-literal {\n color: var(--n-hue-1);\n }`,`${t} .hljs-string,\n ${t} .hljs-regexp,\n ${t} .hljs-addition,\n ${t} .hljs-attribute,\n ${t} .hljs-meta-string {\n color: var(--n-hue-4);\n }`,`${t} .hljs-built_in,\n ${t} .hljs-class .hljs-title {\n color: var(--n-hue-6-2);\n }`,`${t} .hljs-attr,\n ${t} .hljs-variable,\n ${t} .hljs-template-variable,\n ${t} .hljs-type,\n ${t} .hljs-selector-class,\n ${t} .hljs-selector-attr,\n ${t} .hljs-selector-pseudo,\n ${t} .hljs-number {\n color: var(--n-hue-6);\n }`,`${t} .hljs-symbol,\n ${t} .hljs-bullet,\n ${t} .hljs-link,\n ${t} .hljs-meta,\n ${t} .hljs-selector-id,\n ${t} .hljs-title {\n color: var(--n-hue-2);\n }`,`${t} .hljs-emphasis {\n font-style: italic;\n }`,`${t} .hljs-strong {\n font-weight: var(--n-font-weight-strong);\n }`,`${t} .hljs-link {\n text-decoration: underline;\n }`]}]),Le=i({name:"Code",props:Object.assign(Object.assign({},f.props),{language:String,code:{type:String,default:""},trim:{type:Boolean,default:!0},hljs:Object,uri:Boolean,inline:Boolean,wordWrap:Boolean,showLineNumbers:Boolean,internalFontSize:Number,internalNoHighlight:Boolean}),setup(e,{slots:t}){const{internalNoHighlight:o}=e,{mergedClsPrefixRef:a,inlineThemeDisabled:r}=c(),l=u(null),i=o?{value:void 0}:Me(e),s=n((()=>!e.inline&&!e.wordWrap&&e.showLineNumbers)),b=()=>{if(t.default)return;const{value:n}=l;if(!n)return;const{language:o}=e,a=e.uri?window.decodeURIComponent(e.code):e.code;if(o){const t=((e,t,n)=>{const{value:o}=i;return o&&e&&o.getLanguage(e)?o.highlight(n?t.trim():t,{language:e}).value:null})(o,a,e.trim);if(null!==t){if(e.inline)n.innerHTML=t;else{const e=n.querySelector(".__code__");e&&n.removeChild(e);const o=document.createElement("pre");o.className="__code__",o.innerHTML=t,n.appendChild(o)}return}}if(e.inline)return void(n.textContent=a);const r=n.querySelector(".__code__");if(r)r.textContent=a;else{const e=document.createElement("pre");e.className="__code__",e.textContent=a,n.innerHTML="",n.appendChild(e)}};d(b),g(h(e,"language"),b),g(h(e,"code"),b),o||g(i,b);const _=f("Code","-code",Ae,p,e,a),y=n((()=>{const{common:{cubicBezierEaseInOut:t,fontFamilyMono:n},self:{textColor:o,fontSize:a,fontWeightStrong:r,lineNumberTextColor:l,"mono-3":i,"hue-1":s,"hue-2":c,"hue-3":u,"hue-4":d,"hue-5":g,"hue-5-2":h,"hue-6":f,"hue-6-2":p}}=_.value,{internalFontSize:m}=e;return{"--n-font-size":m?`${m}px`:a,"--n-font-family":n,"--n-font-weight-strong":r,"--n-bezier":t,"--n-text-color":o,"--n-mono-3":i,"--n-hue-1":s,"--n-hue-2":c,"--n-hue-3":u,"--n-hue-4":d,"--n-hue-5":g,"--n-hue-5-2":h,"--n-hue-6":f,"--n-hue-6-2":p,"--n-line-number-text-color":l}})),w=r?m("code",n((()=>`${e.internalFontSize||"a"}`)),y,e):void 0;return{mergedClsPrefix:a,codeRef:l,mergedShowLineNumbers:s,lineNumbers:n((()=>{let t=1;const n=[];let o=!1;for(const a of e.code)"\n"===a?(o=!0,n.push(t++)):o=!1;return o||n.push(t++),n.join("\n")})),cssVars:r?void 0:y,themeClass:null==w?void 0:w.themeClass,onRender:null==w?void 0:w.onRender}},render(){var e,t;const{mergedClsPrefix:n,wordWrap:o,mergedShowLineNumbers:a,onRender:r}=this;return null==r||r(),s("code",{class:[`${n}-code`,this.themeClass,o&&`${n}-code--word-wrap`,a&&`${n}-code--show-line-numbers`],style:this.cssVars,ref:"codeRef"},a?s("pre",{class:`${n}-code__line-numbers`},this.lineNumbers):null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}}),$e=b("n-log"),ze=i({props:{line:{type:String,default:""}},setup(t){const{trimRef:o,highlightRef:a,languageRef:r,mergedHljsRef:l}=e($e),i=u(null),s=n((()=>o.value?t.line.trim():t.line));function c(){i.value&&(i.value.innerHTML=function(e,t){const{value:n}=l;if(n&&e&&n.getLanguage(e))return n.highlight(t,{language:e}).value;return t}(r.value,s.value))}return d((()=>{a.value&&c()})),g(h(t,"line"),(()=>{a.value&&c()})),{highlight:a,selfRef:i,maybeTrimmedLines:s}},render(){const{highlight:e,maybeTrimmedLines:t}=this;return s("pre",{ref:"selfRef"},e?null:t)}}),He=i({name:"LogLoader",props:{clsPrefix:{type:String,required:!0}},setup:()=>({locale:y("Log").localeRef}),render(){const{clsPrefix:e}=this;return s("div",{class:`${e}-log-loader`},s(_,{clsPrefix:e,strokeWidth:24,scale:.85}),s("span",{class:`${e}-log-loader__content`},this.locale.loading))}}),Be=a("log","\n position: relative;\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n",[o("pre","\n white-space: pre-wrap;\n word-break: break-word;\n margin: 0;\n "),a("log-loader","\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n box-sizing: border-box;\n position: absolute;\n right: 16px;\n top: 8px;\n height: 34px;\n border-radius: 17px;\n line-height: 34px;\n white-space: nowrap;\n overflow: hidden;\n border: var(--n-loader-border);\n color: var(--n-loader-text-color);\n background-color: var(--n-loader-color);\n font-size: var(--n-loader-font-size);\n ",[w(),l("content","\n display: inline-block;\n vertical-align: bottom;\n line-height: 34px;\n padding-left: 40px;\n padding-right: 20px;\n white-space: nowrap;\n "),a("base-loading","\n color: var(--n-loading-color);\n position: absolute;\n left: 12px;\n top: calc(50% - 10px);\n font-size: 20px;\n width: 20px;\n height: 20px;\n display: inline-block;\n ")])]),Ie=i({name:"Log",props:Object.assign(Object.assign({},f.props),{loading:Boolean,trim:Boolean,log:String,fontSize:{type:Number,default:14},lines:{type:Array,default:()=>[]},lineHeight:{type:Number,default:1.25},language:String,rows:{type:Number,default:15},offsetTop:{type:Number,default:0},offsetBottom:{type:Number,default:0},hljs:Object,onReachTop:Function,onReachBottom:Function,onRequireMore:Function}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=c(e),a=u(!1),r=n((()=>void 0!==e.language)),l=n((()=>`calc(${Math.round(e.rows*e.lineHeight*e.fontSize)}px)`)),i=n((()=>{const{log:t}=e;return t?t.split("\n"):e.lines})),s=u(null),d=f("Log","-log",Be,k,e,t);const g=xe((function(t){if(a.value)return void E((()=>{a.value=!1}));if(s.value){const{containerRef:n,contentRef:o}=s.value;if(n&&o){const a=n.offsetHeight,r=n.scrollTop,l=r,i=o.offsetHeight-r-a,s=t.deltaY;if(0===l&&s<0){const{onRequireMore:t}=e;t&&t("top")}if(i<=0&&s>0){const{onRequireMore:t}=e;t&&t("bottom")}}}}),300);function p(e){const{value:t}=s;if(!t)return;const{silent:n,top:o,position:r}=e;n&&(a.value=!0),void 0!==o?t.scrollTo({left:0,top:o}):"bottom"!==r&&"top"!==r||t.scrollTo({position:r})}j($e,{languageRef:h(e,"language"),mergedHljsRef:Me(e),trimRef:h(e,"trim"),highlightRef:r});const b={scrollTo:p},_=n((()=>{const{self:{loaderFontSize:e,loaderTextColor:t,loaderColor:n,loaderBorder:o,loadingColor:a},common:{cubicBezierEaseInOut:r}}=d.value;return{"--n-bezier":r,"--n-loader-font-size":e,"--n-loader-border":o,"--n-loader-color":n,"--n-loader-text-color":t,"--n-loading-color":a}})),y=o?m("log",void 0,_,e):void 0;return Object.assign(Object.assign({},b),{mergedClsPrefix:t,scrollbarRef:s,mergedTheme:d,styleHeight:l,mergedLines:i,scrollToTop:function(e=!1){C("log","`scrollToTop` is deprecated, please use `scrollTo({ position: 'top'})` instead."),p({position:"top",silent:e})},scrollToBottom:function(e=!1){C("log","`scrollToTop` is deprecated, please use `scrollTo({ position: 'bottom'})` instead."),p({position:"bottom",silent:e})},handleWheel:g,handleScroll:function(t){const n=t.target,o=n.firstElementChild;if(a.value)return void E((()=>{a.value=!1}));const r=n.offsetHeight,l=n.scrollTop,i=o.offsetHeight-l-r;if(l<=e.offsetTop){const{onReachTop:t,onRequireMore:n}=e;n&&n("top"),t&&t()}if(i<=e.offsetBottom){const{onReachBottom:t,onRequireMore:n}=e;n&&n("bottom"),t&&t()}},cssVars:o?void 0:_,themeClass:null==y?void 0:y.themeClass,onRender:null==y?void 0:y.onRender})},render(){const{mergedClsPrefix:e,mergedTheme:t,onRender:n}=this;return null==n||n(),s("div",{class:[`${e}-log`,this.themeClass],style:[{lineHeight:this.lineHeight,height:this.styleHeight},this.cssVars],onWheelPassive:this.handleWheel},[s(v,{ref:"scrollbarRef",theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar,onScroll:this.handleScroll},{default:()=>s(Le,{internalNoHighlight:!0,internalFontSize:this.fontSize,theme:t.peers.Code,themeOverrides:t.peerOverrides.Code},{default:()=>this.mergedLines.map(((e,t)=>s(ze,{key:t,line:e})))})}),s(x,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?s(He,{clsPrefix:e}):null})])}}),Pe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},We=i({name:"PlusOutlined",render:function(e,t){return R(),S("svg",Pe,t[0]||(t[0]=[O("defs",null,null,-1),O("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z",fill:"currentColor"},null,-1),O("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z",fill:"currentColor"},null,-1)]))}}),{handleError:De}=be(),Fe=T("workflow-store",(()=>{const e=u(!1),t=u(!1),n=u({name:"",templateType:"quick"}),o=u([{label:"快速部署模板",value:"quick",description:"快速上线应用,简化流程"},{label:"高级自定义模板",value:"advanced",description:"完全自定义的部署流程"}]),a=u({name:"",Kid:"",HmacEncoded:"",ca:"zerossl"}),r=()=>{a.value={name:"",Kid:"",HmacEncoded:"",ca:"zerossl"}};return{refreshTable:e,isEditWorkFlow:t,workflowFormData:n,workflowTemplateOptions:o,caFormData:a,fetchWorkflowList:async({p:e,limit:t,search:n})=>{try{const{data:o,count:a}=await le({p:e,limit:t,search:n}).fetch();return{list:o||[],total:a}}catch(o){return De(o),{list:[],total:0}}},fetchWorkflowHistory:async({id:e,p:t,limit:n})=>{try{const o=await ie({id:e,p:t,limit:n}).fetch();return{list:o.data||[],total:o.count}}catch(o){return De(o),{list:[],total:0}}},deleteExistingWorkflow:async e=>{try{const{message:t,fetch:n}=de({id:e.toString()});t.value=!0,await n()}catch(t){De(t).default(M("t_14_1745457488092"))}},executeExistingWorkflow:async e=>{try{const{message:t,fetch:n}=ue({id:e});t.value=!0,await n()}catch(t){De(t).default(M("t_13_1745457487555"))}},setWorkflowActive:async({id:e,active:t})=>{try{const{message:n,fetch:o}=ce({id:e,active:t});n.value=!0,await o()}catch(n){De(n).default(M("t_12_1745457489076"))}},setWorkflowExecType:async({id:e,exec_type:t})=>{try{const{message:n,fetch:o}=se({id:e,exec_type:t});n.value=!0,await o()}catch(n){De(n).default(M("t_11_1745457488256"))}},fetchEabList:async({p:e,limit:t})=>{try{const{data:n,count:o}=await fe({p:e,limit:t}).fetch();return{list:n||[],total:o}}catch(n){return De(n),{list:[],total:0}}},addNewEab:async e=>{try{const{message:t,fetch:n}=pe(e);t.value=!0,await n(),r()}catch(t){De(t)}},deleteExistingEab:async e=>{try{const{message:t,fetch:n}=me({id:e});t.value=!0,await n()}catch(t){De(t).default(M("t_40_1745227838872"))}},resetCaForm:r}})),qe=()=>{const e=Fe();return{...e,...N(e)}};const Ue=i({name:"AddWorkflowModal",setup(){const{workflowTemplateOptions:e,workflowFormData:t}=qe(),{AddWorkflowForm:n}=Ct();return()=>A(z,{bordered:!1,class:"shadow-none","content-class":"!p-[10px]"},{default:()=>[A(n,{labelPlacement:"top",labelWidth:100},{template:()=>{let n;return A(L,{label:M("t_0_1745474945127"),required:!0},{default:()=>{return[A($,{vertical:!0,class:"flex !flex-row "},(o=n=e.value.map((e=>A("div",{key:e.value,class:"cursor-pointer transition-all duration-300 ",onClick:()=>{t.value.templateType=e.value}},[A(z,{class:"rounded-lg border-1 "+(t.value.templateType===e.value?"border-primary-500":""),hoverable:!0},{default:()=>[A($,{align:"center",justify:"space-between"},{default:()=>[A("div",null,[A("div",{class:"font-medium text-[14px]"},[e.label]),A("div",{class:"text-gray-500 text-[12px] mt-1"},[e.description])]),A(H,{checked:t.value.templateType===e.value},null)]})]})]))),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!B(o)?n:{default:()=>[n]}))];var o}})}})]})}});const Ve=i({name:"HistoryModal",props:{id:{type:String,required:!0}},setup(e){const{WorkflowHistoryTable:t,WorkflowHistoryTablePage:n,fetch:o}=St(e.id);return d((()=>{o()})),()=>A("div",{class:"flex w-full"},[A(ve,null,{header:()=>{let e;return A("div",{class:"flex items-center justify-between mb-[1.6rem]"},[A(I,{type:"default",onClick:()=>o()},(t=e=M("t_9_1746667589516"),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!B(t)?e:{default:()=>[e]}))]);var t},content:()=>A(t,null,null),footerRight:()=>A(n,null,null)})])}});var Ke,Ge;function Xe(){if(Ge)return Ke;function e(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((n=>{const o=t[n],a=typeof o;"object"!==a&&"function"!==a||Object.isFrozen(o)||e(o)})),t}Ge=1;class t{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function o(e,...t){const n=Object.create(null);for(const o in e)n[o]=e[o];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const a=e=>!!e.scope;class r{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!a(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){a(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}const l=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class i{constructor(){this.rootNode=l(),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 t=l({scope:e});this.add(t),this.stack.push(t)}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,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{i._collapse(e)})))}}class s extends i{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new r(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function u(e){return h("(?=",e,")")}function d(e){return h("(?:",e,")*")}function g(e){return h("(?:",e,")?")}function h(...e){return e.map((e=>c(e))).join("")}function f(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>c(e))).join("|")+")"}function p(e){return new RegExp(e.toString()+"|").exec("").length-1}const m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let o=c(e),a="";for(;o.length>0;){const e=m.exec(o);if(!e){a+=o;break}a+=o.substring(0,e.index),o=o.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?a+="\\"+String(Number(e[1])+t):(a+=e[0],"("===e[0]&&n++)}return a})).map((e=>`(${e})`)).join(t)}const _="[a-zA-Z]\\w*",y="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",v="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",x="\\b(0b[01]+)",k={begin:"\\\\[\\s\\S]",relevance:0},E={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[k]},j={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[k]},C=function(e,t,n={}){const a=o({scope:"comment",begin:e,end:t,contains:[]},n);a.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 r=f("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 a.contains.push({begin:h(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},S=C("//","$"),R=C("/\\*","\\*/"),O=C("#","$"),T={scope:"number",begin:w,relevance:0},N={scope:"number",begin:v,relevance:0},M={scope:"number",begin:x,relevance:0},A={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[k,{begin:/\[/,end:/\]/,relevance:0,contains:[k]}]},L={scope:"title",begin:_,relevance:0},$={scope:"title",begin:y,relevance:0},z={begin:"\\.\\s*"+y,relevance:0};var H=Object.freeze({__proto__:null,APOS_STRING_MODE:E,BACKSLASH_ESCAPE:k,BINARY_NUMBER_MODE:M,BINARY_NUMBER_RE:x,COMMENT:C,C_BLOCK_COMMENT_MODE:R,C_LINE_COMMENT_MODE:S,C_NUMBER_MODE:N,C_NUMBER_RE:v,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:O,IDENT_RE:_,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:z,NUMBER_MODE:T,NUMBER_RE:w,PHRASAL_WORDS_MODE:{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/},QUOTE_STRING_MODE:j,REGEXP_MODE:A,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=h(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:L,UNDERSCORE_IDENT_RE:y,UNDERSCORE_TITLE_MODE:$});function B(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function I(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function P(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=B,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function W(e,t){Array.isArray(e.illegal)&&(e.illegal=f(...e.illegal))}function D(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function F(e,t){void 0===e.relevance&&(e.relevance=1)}const q=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=h(n.beforeMatch,u(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},U=["of","and","for","in","not","or","if","then","parent","list","value"];function V(e,t,n="keyword"){const o=Object.create(null);return"string"==typeof e?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach((function(n){Object.assign(o,V(e[n],t,n))})),o;function a(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");o[n[0]]=[e,K(n[0],n[1])]}))}}function K(e,t){return t?Number(t):function(e){return U.includes(e.toLowerCase())}(e)?0:1}const G={},X=(e,t)=>{G[`${e}/${t}`]||(G[`${e}/${t}`]=!0)},Z=new Error;function J(e,t,{key:n}){let o=0;const a=e[n],r={},l={};for(let i=1;i<=t.length;i++)l[i+o]=a[i],r[i+o]=!0,o+=p(t[i-1]);e[n]=l,e[n]._emit=r,e[n]._multi=!0}function Y(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Z;if("object"!=typeof e.beginScope||null===e.beginScope)throw Z;J(e,e.begin,{key:"beginScope"}),e.begin=b(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Z;if("object"!=typeof e.endScope||null===e.endScope)throw Z;J(e,e.end,{key:"endScope"}),e.end=b(e.end,{joinWith:""})}}(e)}function Q(e){function t(t,n){return new RegExp(c(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=p(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(b(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),o=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,o)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),function n(r,l){const i=r;if(r.isCompiled)return i;[I,D,Y,q].forEach((e=>e(r,l))),e.compilerExtensions.forEach((e=>e(r,l))),r.__beforeBegin=null,[P,W,F].forEach((e=>e(r,l))),r.isCompiled=!0;let s=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),s=r.keywords.$pattern,delete r.keywords.$pattern),s=s||/\w+/,r.keywords&&(r.keywords=V(r.keywords,e.case_insensitive)),i.keywordPatternRe=t(s,!0),l&&(r.begin||(r.begin=/\B|\b/),i.beginRe=t(i.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(i.endRe=t(i.end)),i.terminatorEnd=c(i.end)||"",r.endsWithParent&&l.terminatorEnd&&(i.terminatorEnd+=(r.end?"|":"")+l.terminatorEnd)),r.illegal&&(i.illegalRe=t(r.illegal)),r.contains||(r.contains=[]),r.contains=[].concat(...r.contains.map((function(e){return function(e){e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants;if(ee(e))return o(e,{starts:e.starts?o(e.starts):null});if(Object.isFrozen(e))return o(e);return e}("self"===e?r:e)}))),r.contains.forEach((function(e){n(e,i)})),r.starts&&n(r.starts,l),i.matcher=function(e){const t=new a;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}function ee(e){return!!e&&(e.endsWithParent||ee(e.starts))}class te extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const ne=n,oe=o,ae=Symbol("nomatch"),re=function(n){const o=Object.create(null),a=Object.create(null),r=[];let l=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let p={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:s};function m(e){return p.noHighlightRe.test(e)}function b(e,t,n){let o="",a="";"object"==typeof t?(o=e,n=t.ignoreIllegals,a=t.language):(X("10.7.0","highlight(lang, code, ...args) has been deprecated."),X("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),a=e,o=t),void 0===n&&(n=!0);const r={code:o,language:a};C("before:highlight",r);const l=r.result?r.result:_(r.language,r.code,n);return l.code=r.code,C("after:highlight",l),l}function _(e,n,a,r){const s=Object.create(null);function c(){if(!C.keywords)return void R.addText(O);let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(O),n="";for(;t;){n+=O.substring(e,t.index);const a=x.case_insensitive?t[0].toLowerCase():t[0],r=(o=a,C.keywords[o]);if(r){const[e,o]=r;if(R.addText(n),n="",s[a]=(s[a]||0)+1,s[a]<=7&&(T+=o),e.startsWith("_"))n+=t[0];else{const n=x.classNameAliases[e]||e;d(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(O)}var o;n+=O.substring(e),R.addText(n)}function u(){null!=C.subLanguage?function(){if(""===O)return;let e=null;if("string"==typeof C.subLanguage){if(!o[C.subLanguage])return void R.addText(O);e=_(C.subLanguage,O,!0,S[C.subLanguage]),S[C.subLanguage]=e._top}else e=y(O,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(T+=e.relevance),R.__addSublanguage(e._emitter,e.language)}():c(),O=""}function d(e,t){""!==e&&(R.startScope(t),R.addText(e),R.endScope())}function g(e,t){let n=1;const o=t.length-1;for(;n<=o;){if(!e._emit[n]){n++;continue}const o=x.classNameAliases[e[n]]||e[n],a=t[n];o?d(a,o):(O=a,c(),O=""),n++}}function h(e,t){return e.scope&&"string"==typeof e.scope&&R.openNode(x.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(d(O,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),O=""):e.beginScope._multi&&(g(e.beginScope,t),O="")),C=Object.create(e,{parent:{value:C}}),C}function f(e,n,o){let a=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,o);if(a){if(e["on:end"]){const o=new t(e);e["on:end"](n,o),o.isMatchIgnored&&(a=!1)}if(a){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return f(e.parent,n,o)}function m(e){return 0===C.matcher.regexIndex?(O+=e[0],1):(A=!0,0)}function b(e){const t=e[0],o=n.substring(e.index),a=f(C,e,o);if(!a)return ae;const r=C;C.endScope&&C.endScope._wrap?(u(),d(t,C.endScope._wrap)):C.endScope&&C.endScope._multi?(u(),g(C.endScope,e)):r.skip?O+=t:(r.returnEnd||r.excludeEnd||(O+=t),u(),r.excludeEnd&&(O=t));do{C.scope&&R.closeNode(),C.skip||C.subLanguage||(T+=C.relevance),C=C.parent}while(C!==a.parent);return a.starts&&h(a.starts,e),r.returnEnd?0:t.length}let w={};function v(o,r){const i=r&&r[0];if(O+=o,null==i)return u(),0;if("begin"===w.type&&"end"===r.type&&w.index===r.index&&""===i){if(O+=n.slice(r.index,r.index+1),!l){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=w.rule,t}return 1}if(w=r,"begin"===r.type)return function(e){const n=e[0],o=e.rule,a=new t(o),r=[o.__beforeBegin,o["on:begin"]];for(const t of r)if(t&&(t(e,a),a.isMatchIgnored))return m(n);return o.skip?O+=n:(o.excludeBegin&&(O+=n),u(),o.returnBegin||o.excludeBegin||(O=n)),h(o,e),o.returnBegin?0:n.length}(r);if("illegal"===r.type&&!a){const e=new Error('Illegal lexeme "'+i+'" for mode "'+(C.scope||"")+'"');throw e.mode=C,e}if("end"===r.type){const e=b(r);if(e!==ae)return e}if("illegal"===r.type&&""===i)return O+="\n",1;if(M>1e5&&M>3*r.index){throw new Error("potential infinite loop, way more iterations than matches")}return O+=i,i.length}const x=k(e);if(!x)throw i.replace("{}",e),new Error('Unknown language: "'+e+'"');const E=Q(x);let j="",C=r||E;const S={},R=new p.__emitter(p);!function(){const e=[];for(let t=C;t!==x;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>R.openNode(e)))}();let O="",T=0,N=0,M=0,A=!1;try{if(x.__emitTokens)x.__emitTokens(n,R);else{for(C.matcher.considerAll();;){M++,A?A=!1:C.matcher.considerAll(),C.matcher.lastIndex=N;const e=C.matcher.exec(n);if(!e)break;const t=v(n.substring(N,e.index),e);N=e.index+t}v(n.substring(N))}return R.finalize(),j=R.toHTML(),{language:e,value:j,relevance:T,illegal:!1,_emitter:R,_top:C}}catch(L){if(L.message&&L.message.includes("Illegal"))return{language:e,value:ne(n),illegal:!0,relevance:0,_illegalBy:{message:L.message,index:N,context:n.slice(N-100,N+100),mode:L.mode,resultSoFar:j},_emitter:R};if(l)return{language:e,value:ne(n),illegal:!1,relevance:0,errorRaised:L,_emitter:R,_top:C};throw L}}function y(e,t){t=t||p.languages||Object.keys(o);const n=function(e){const t={value:ne(e),illegal:!1,relevance:0,_top:c,_emitter:new p.__emitter(p)};return t._emitter.addText(e),t}(e),a=t.filter(k).filter(j).map((t=>_(t,e,!1)));a.unshift(n);const r=a.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;if(k(t.language).supersetOf===e.language)return-1}return 0})),[l,i]=r,s=l;return s.secondBest=i,s}function w(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=p.languageDetectRe.exec(t);if(n){const e=k(n[1]);return e||i.replace("{}",n[1]),e?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>m(e)||k(e)))}(e);if(m(n))return;if(C("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return;if(e.children.length>0&&(p.ignoreUnescapedHTML,p.throwUnescapedHTML)){throw new te("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e;const o=t.textContent,r=n?b(o,{language:n,ignoreIllegals:!0}):y(o);e.innerHTML=r.value,e.dataset.highlighted="yes",function(e,t,n){const o=t&&a[t]||n;e.classList.add("hljs"),e.classList.add(`language-${o}`)}(e,n,r.language),e.result={language:r.language,re:r.relevance,relevance:r.relevance},r.secondBest&&(e.secondBest={language:r.secondBest.language,relevance:r.secondBest.relevance}),C("after:highlightElement",{el:e,result:r,text:o})}let v=!1;function x(){if("loading"===document.readyState)return v||window.addEventListener("DOMContentLoaded",(function(){x()}),!1),void(v=!0);document.querySelectorAll(p.cssSelector).forEach(w)}function k(e){return e=(e||"").toLowerCase(),o[e]||o[a[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{a[e.toLowerCase()]=t}))}function j(e){const t=k(e);return t&&!t.disableAutodetect}function C(e,t){const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}Object.assign(n,{highlight:b,highlightAuto:y,highlightAll:x,highlightElement:w,highlightBlock:function(e){return X("10.7.0","highlightBlock will be removed entirely in v12.0"),X("10.7.0","Please use highlightElement now."),w(e)},configure:function(e){p=oe(p,e)},initHighlighting:()=>{x(),X("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){x(),X("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(e,t){let a=null;try{a=t(n)}catch(r){if("Language definition for '{}' could not be registered.".replace("{}",e),!l)throw r;a=c}a.name||(a.name=e),o[e]=a,a.rawDefinition=t.bind(null,n),a.aliases&&E(a.aliases,{languageName:e})},unregisterLanguage:function(e){delete o[e];for(const t of Object.keys(a))a[t]===e&&delete a[t]},listLanguages:function(){return Object.keys(o)},getLanguage:k,registerAliases:E,autoDetection:j,inherit:oe,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),r.push(e)},removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),n.debugMode=function(){l=!1},n.safeMode=function(){l=!0},n.versionString="11.11.1",n.regex={concat:h,lookahead:u,either:f,optional:g,anyNumberOfTimes:d};for(const t in H)"object"==typeof H[t]&&e(H[t]);return Object.assign(n,H),n},le=re({});return le.newInstance=()=>re({}),Ke=le,le.HighlightJS=le,le.default=le,Ke}const Ze=_e(Xe()),Je={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Ye=i({name:"DownloadOutline",render:function(e,t){return R(),S("svg",Je,t[0]||(t[0]=[O("path",{d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),O("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M176 272l80 80l80-80"},null,-1),O("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 48v288"},null,-1)]))}}),Qe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},et=i({name:"RefreshOutline",render:function(e,t){return R(),S("svg",Qe,t[0]||(t[0]=[O("path",{d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"},null,-1),O("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 58l80 80l-80 80"},null,-1)]))}});const tt=i({name:"LogViewer",props:{content:{type:String,default:""},loading:{type:Boolean,default:!1},enableDownload:{type:Boolean,default:!0},downloadFileName:{type:String,default:"logs.txt"},title:{type:String,default:()=>M("t_0_1746776194126")},fetchLogs:{type:Function,default:void 0}},setup(e){const{isLoading:t,logRef:o,logContent:a,cssVarStyles:r,refreshLogs:l,downloadLogs:i}=function(e){const t=u(e.content||""),o=u(e.loading||!1),a=u(null);Ze.getLanguage("custom-logs")||Ze.registerLanguage("custom-logs",(()=>({contains:[{className:"info-text",begin:/\[INFO\]/},{className:"error-text",begin:/\[ERROR\]/},{className:"warning-text",begin:/\[WARNING\]/},{className:"date-text",begin:/\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/}]})));const r=P(["successColor","errorColor","warningColor","successColorPressed"]),l=n((()=>r.value));g((()=>e.content),(e=>{t.value=e||"",i()})),g((()=>e.loading),(e=>{o.value=!!e}));const i=()=>{E((()=>{var e;null==(e=a.value)||e.scrollTo({top:Number.MAX_SAFE_INTEGER,behavior:"smooth"})}))},s=async()=>{if(e.fetchLogs){o.value=!0;try{const n=await e.fetchLogs();t.value=n,i()}catch(n){t.value=`${M("t_1_1746776198156")}: ${n instanceof Error?n.message:String(n)}`}finally{o.value=!1}}},c=n((()=>t.value?t.value.split("\n").map((e=>({type:"default",content:e}))):[]));return d((()=>{e.fetchLogs?s():e.content&&i()})),{logs:t,isLoading:o,logRef:a,logContent:c,cssVarStyles:l,refreshLogs:()=>{s()},downloadLogs:()=>{if(!t.value)return;const n=new Blob([t.value],{type:"text/plain;charset=utf-8"}),o=URL.createObjectURL(n),a=document.createElement("a");a.href=o,a.download=e.downloadFileName||"logs.txt",document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(o)}}}(e);return()=>A(z,{title:e.title,bordered:!1,class:"w-full h-full flex flex-col",contentClass:"!p-3 flex-grow overflow-hidden",style:r.value,headerClass:"flex-shrink-0",footerClass:"flex-shrink-0"},{header:()=>e.title,"header-extra":()=>A($,null,{default:()=>[A(I,{onClick:l,size:"small",type:"primary",disabled:t.value},{icon:()=>A(D,null,{default:()=>[A(et,null,null)]}),default:()=>M("t_0_1746497662220")}),e.enableDownload&&A(I,{onClick:i,size:"small",disabled:t.value||!a.value.length},{icon:()=>A(D,null,{default:()=>[A(Ye,null,null)]}),default:()=>M("t_2_1746776194263")})]}),default:()=>A(ye,{show:t.value,class:"h-full"},{default:()=>[A(W,{hljs:Ze,class:"h-full"},{default:()=>[A(Ie,{ref:o,log:a.value.map((e=>e.content)).join("\n"),language:"custom-logs",trim:!1,fontSize:14,lineHeight:1.5,class:"h-full",style:{border:"1px solid var(--n-border-color)",borderRadius:"var(--n-border-radius)",padding:"10px"}},null)]})]})})}}),nt=i({name:"HistoryLogsModal",props:{id:{type:[String],required:!0}},setup(e){const t=u(!1),n=u(""),o=async()=>{t.value=!0;try{const{data:t}=await ge({id:e.id}).fetch();return n.value=t||"没有日志数据",n.value}catch(o){return"获取日志失败: "+(o instanceof Error?o.message:String(o))}finally{t.value=!1}};return()=>A(tt,{title:`工作流执行日志 (ID: ${e.id})`,loading:t.value,content:n.value,fetchLogs:o},null)}}),ot=i({name:"CAManageModal",props:{type:{type:String,default:""}},setup(e){const{CATable:t,CATablePage:n,handleOpenAddForm:o,total:a}=Rt(e);return()=>A(ve,null,{headerLeft:()=>A(I,{type:"primary",onClick:o},{default:()=>[A(We,{class:"text-[var(--text-color-3)] mr-1"},null),A("span",null,[M("t_4_1747903685371")])]}),content:()=>A("div",{class:"rounded-lg"},[A(t,{size:"medium"},{empty:()=>A(ke,{addButtonText:M("t_4_1747903685371"),onAddClick:o},null)})]),footerRight:()=>A("div",{class:"flex justify-end mt-4"},[A(n,null,{prefix:()=>A("span",null,[M("t_15_1745227839354"),F(" "),a.value,F(" "),M("t_16_1745227838930")])})])})}});function at(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!B(e)}const{refreshTable:rt,fetchWorkflowList:lt,fetchWorkflowHistory:it,workflowFormData:st,deleteExistingWorkflow:ct,executeExistingWorkflow:ut,setWorkflowActive:dt,setWorkflowExecType:gt,caFormData:ht,fetchEabList:ft,addNewEab:pt,deleteExistingEab:mt,resetCaForm:bt}=qe(),{isEdit:_t,workDefalutNodeData:yt,resetWorkflowData:wt,workflowData:vt,detectionRefresh:xt}=he(),{handleError:kt}=be(),{useFormSlot:Et}=J(),jt=(e,t)=>({title:t,key:e,width:100,render:t=>{const n={success:{type:"success",text:M("t_0_1747895713179")},fail:{type:"error",text:M("t_4_1746773348957")},running:{type:"warning",text:M("t_1_1747895712756")}}[t[e]]||{type:"default",text:M("t_1_1746773348701")};return"running"===t[e]&&(rt.value=!0),A(X,{type:n.type,size:"small"},{default:()=>[n.text]})}}),Ct=()=>{const{confirm:e}=Q(),t=n((()=>[Et("template")])),{component:o,data:a}=Y({config:t,rules:{},defaultValue:st});return e((async e=>{try{e(),wt(),ee.push(`/auto-deploy/workflow-view?type=${a.value.templateType}`)}catch(t){kt(t)}})),{AddWorkflowForm:o}},St=e=>{const{component:t,loading:n,param:o,total:a,fetch:r}=V({config:[{title:M("t_4_1745227838558"),key:"create_time",width:230,render:e=>e.create_time?e.create_time:"-"},{title:M("t_5_1745227839906"),key:"end_time",width:230,render:e=>e.end_time?e.end_time:"-"},{title:M("t_6_1745227838798"),key:"exec_type",width:110,render:e=>A(X,{type:"auto"===e.exec_type?"info":"default",size:"small",bordered:!1},{default:()=>["auto"===e.exec_type?M("t_2_1745215915397"):M("t_3_1745215914237")]})},jt("status",M("t_7_1745227838093")),{title:M("t_8_1745215914610"),key:"actions",fixed:"right",align:"right",width:80,render:e=>{let t;return A($,{justify:"end"},{default:()=>[A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>(async e=>{Z({title:M("t_0_1746579648713"),component:nt,area:730,componentProps:{id:e}})})(e.id.toString())},at(t=M("t_12_1745227838814"))?t:{default:()=>[t]})]})}}],request:it,defaultValue:{id:e,p:1,limit:10},watchValue:["p","limit"]}),{component:l}=K({param:o,total:a,alias:{page:"p",pageSize:"limit"}});return{WorkflowHistoryTable:t,WorkflowHistoryTablePage:l,loading:n,fetch:r}},Rt=e=>{const{handleError:t}=be(),n=[{title:M("t_2_1745289353944"),key:"name",ellipsis:{tooltip:!0}},{title:M("t_1_1745735764953"),key:"mail",ellipsis:{tooltip:!0}},{title:M("t_9_1747903669360"),key:"ca",width:120,render:e=>A(Re,{align:"center"},{default:()=>[A(Ce,{icon:`cert-${e.ca}`,size:"2rem"},null),A(Se,null,{default:()=>[je[e.ca].name]})]})},{title:M("t_7_1745215914189"),key:"create_time",width:180,render:e=>e.create_time?e.create_time:"--"},{title:M("t_8_1745215914610"),key:"actions",width:80,align:"right",fixed:"right",render:e=>{let t;return A($,{justify:"end"},{default:()=>[A(I,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>c(e.id.toString())},at(t=M("t_12_1745215914312"))?t:{default:()=>[t]})]})}}],{component:o,loading:a,param:r,total:l,fetch:i}=V({config:n,request:ft,defaultValue:{p:1,limit:10},watchValue:["p","limit"]}),{component:s}=K({param:r,total:l,alias:{page:"p",pageSize:"limit"}}),c=e=>{we({title:M("t_2_1747903672640"),content:M("t_3_1747903672833"),onPositiveClick:async()=>{try{await mt(e),await i()}catch(n){t(n)}}})},u=()=>{bt(),Z({title:M("t_4_1747903685371"),area:500,component:()=>te((()=>import("./CAManageForm-mhgVNYF7.js")),[],import.meta.url).then((e=>e.default)),footer:!0,onUpdateShow:e=>{e||i()}})};return d((()=>{i(),"addCAForm"===e.type&&u()})),{CATable:o,CATablePage:s,loading:a,param:r,total:l,fetch:i,handleOpenAddForm:u}},Ot=()=>{const{handleError:e}=be(),t=ne(),{confirm:n}=Q(),{useFormInput:o,useFormCustom:a}=J(),r={name:{required:!0,message:M("t_25_1746773349596"),trigger:["blur","input"]},mail:{required:!0,message:M("t_6_1747817644358"),trigger:["blur","input"],validator:(e,t)=>!t||(!!Oe(t)||new Error(M("t_7_1747817613773")))},Kid:{required:!0,message:M("t_5_1747903671439"),trigger:["blur","input"]},HmacEncoded:{required:!0,message:M("t_6_1747903672931"),trigger:["blur","input"]},ca:{required:!0,message:M("t_7_1747903678624"),trigger:"change"}},l=e=>A(Re,{align:"center",size:"small"},{default:()=>[A(Ce,{icon:`cert-${e.value}`,size:"2rem"},null),A(Se,null,{default:()=>[e.label]})]}),i=({option:e})=>A(Re,{class:"w-full"},{default:()=>[e.label?l(e):A("span",{class:"text-[1.4rem] text-gray-400"},[M("t_7_1747903678624")])]}),s=Object.values(je).map((e=>({label:e.name,value:e.type}))),c=[o(M("t_2_1745289353944"),"name",{placeholder:M("t_8_1747903675532")}),o(M("t_1_1745735764953"),"mail",{placeholder:M("t_0_1747965909665")}),a((()=>A(L,{label:M("t_9_1747903669360"),path:"ca"},{default:()=>[A(oe,{class:"w-full",options:s,renderLabel:l,renderTag:i,filterable:!0,placeholder:M("t_7_1747903678624"),value:ht.value.ca,"onUpdate:value":e=>ht.value.ca=e},{empty:()=>A("span",{class:"text-[1.4rem]"},[M("t_7_1747903678624")])})]}))),o(M("t_10_1747903662994"),"Kid",{placeholder:M("t_11_1747903674802")}),o(M("t_12_1747903662994"),"HmacEncoded",{type:"textarea",placeholder:M("t_13_1747903673007"),rows:3})],u=async n=>{try{return await pt(n),t.success(M("t_40_1745289355715")),!0}catch(o){return e(o),!1}},{component:d}=Y({config:c,rules:r,defaultValue:ht,request:u});return n((async t=>{try{await u(ht.value),t()}catch(n){e(n)}})),{CAForm:d}};const Tt=i({name:"WorkflowManager",setup(){const{WorkflowTable:e,WorkflowTablePage:t,isDetectionAddWorkflow:o,isDetectionOpenCAManage:a,isDetectionOpenAddCAForm:r,handleAddWorkflow:l,handleOpenCAManage:i,hasChildRoutes:s,param:c,fetch:u,data:h}=(()=>{const e=q(),t=U(),o=n((()=>"/auto-deploy"!==e.path)),{component:a,loading:r,param:l,data:i,total:s,fetch:c}=V({config:[{title:M("t_0_1745215914686"),key:"name",width:200,ellipsis:{tooltip:!0}},{title:M("t_1_1746590060448"),key:"type",width:100,render:e=>A($,null,{default:()=>[A(G,{size:"small",value:e.exec_type,"onUpdate:value":[t=>e.exec_type=t,()=>{m(e)}],checkedValue:"auto",uncheckedValue:"manual"},null),A("span",null,["auto"===e.exec_type?M("t_2_1745215915397"):M("t_3_1745215914237")])]})},{title:M("t_7_1745215914189"),key:"created_at",width:180,render:e=>e.create_time||"-"},jt("last_run_status",M("t_0_1746677882486")),{title:M("t_8_1745215914610"),key:"actions",fixed:"right",align:"right",width:220,render:e=>{let t,n,o,a;return A($,{justify:"end"},{default:()=>[A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>f(e)},at(t=M("t_9_1745215914666"))?t:{default:()=>[t]}),A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>p(e)},at(n=M("t_10_1745215914342"))?n:{default:()=>[n]}),A(I,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>b(e)},at(o=M("t_11_1745215915429"))?o:{default:()=>[o]}),A(I,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>_(e)},at(a=M("t_12_1745215914312"))?a:{default:()=>[a]})]})}}],request:lt,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:u}=K({param:l,total:s,alias:{page:"p",pageSize:"limit"}}),d=Te((()=>{setTimeout((()=>{c(),rt.value=!1}),1e3)}),100);g((()=>rt.value),(e=>{e&&d()}));const h=()=>{xt.value=!0,Z({title:M("t_5_1746667590676"),component:Ue,footer:!0,area:500,onUpdateShow(e){e||c()}})},f=async e=>{Z({title:e?`【${e.name}】 - ${M("t_9_1745215914666")}`:M("t_9_1745215914666"),component:Ve,area:800,componentProps:{id:e.id.toString()}})},p=async({name:e,id:t})=>{we({title:M("t_13_1745215915455"),content:M("t_2_1745227839794",{name:e}),onPositiveClick:async()=>{await ut(t),await c()}})},m=({id:e,exec_type:t})=>{we({title:M("manual"===t?"t_2_1745457488661":"t_3_1745457486983"),content:M("manual"===t?"t_4_1745457497303":"t_5_1745457494695"),onPositiveClick:()=>gt({id:e,exec_type:t}),onNegativeClick:c,onClose:c})},b=e=>{const n=JSON.parse(e.content);_t.value=!0,vt.value={id:e.id,name:e.name,content:n,exec_type:e.exec_type,active:e.active},yt.value={id:e.id,name:e.name,childNode:n},xt.value=!0,t.push("/auto-deploy/workflow-view?isEdit=true")},_=e=>{we({title:M("t_16_1745215915209"),content:M("t_3_1745227841567",{name:e.name}),onPositiveClick:async()=>{await ct(e.id),await c()}})},y=({type:e}={type:""})=>{Z({title:M("t_0_1747903670020"),component:ot,componentProps:{type:e},area:780})};return{WorkflowTable:a,WorkflowTablePage:u,isDetectionAddWorkflow:()=>{const{type:n}=e.query;(null==n?void 0:n.includes("create"))&&(h(),t.push({query:{}}))},isDetectionOpenCAManage:()=>{const{type:n}=e.query;(null==n?void 0:n.includes("caManage"))&&(y(),t.push({query:{}}))},isDetectionOpenAddCAForm:()=>{const{type:n}=e.query;(null==n?void 0:n.includes("addCAForm"))&&(y({type:"addCAForm"}),t.push({query:{}}))},handleViewHistory:f,handleAddWorkflow:h,handleChangeActive:({id:e,active:t})=>{we({title:M(t?"t_7_1745457487185":"t_6_1745457487560"),content:M(t?"t_9_1745457500045":"t_8_1745457496621"),onPositiveClick:()=>dt({id:e,active:t}),onNegativeClick:c,onClose:c})},handleSetWorkflowExecType:m,handleExecuteWorkflow:p,handleEditWorkflow:b,handleDeleteWorkflow:_,handleOpenCAManage:y,hasChildRoutes:o,fetch:c,data:i,loading:r,param:l}})(),f=U(),p=P(["contentPadding","borderColor","headerHeight","iconColorHover"]);return g((()=>f.currentRoute.value.path),(e=>{"/auto-deploy"===e&&u()})),d((()=>{o(),a(),r(),u()})),()=>A("div",{class:"h-full flex flex-col",style:p.value},[A("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[s.value?A(ae,null,null):A(ve,null,{headerLeft:()=>{let e;return A($,null,{default:()=>{return[A(I,{type:"primary",size:"large",class:"px-5",onClick:l},(t=e=M("t_0_1747047213730"),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!B(t)?e:{default:()=>[e]})),A(I,{type:"default",size:"large",class:"px-5",onClick:i},{default:()=>[A("span",{class:"px-2"},[M("t_0_1747903670020")])]})];var t}})},headerRight:()=>A(re,{value:c.value.search,"onUpdate:value":e=>c.value.search=e,onKeydown:e=>{"Enter"===e.key&&u()},onClear:()=>Ne(u,100),placeholder:M("t_1_1745227838776"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>A("div",{class:"flex items-center",onClick:u},[A(Ee,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])}),content:()=>A("div",{class:"rounded-lg "},[A(e,{size:"medium"},{empty:()=>A(ke,{addButtonText:M("t_0_1747047213730"),onAddClick:l},null)})]),footerRight:()=>A("div",{class:"mt-4 flex justify-end"},[A(t,null,{prefix:()=>A("span",null,[M("t_0_1746773350551",[h.value.total])])})])})])])}}),Nt=Object.freeze(Object.defineProperty({__proto__:null,default:Tt},Symbol.toStringTag,{value:"Module"}));export{Nt as i,Ot as u}; diff --git a/build/static/js/index-BvQPqw9E.js b/build/static/js/index-DG0B2su6.js similarity index 96% rename from build/static/js/index-BvQPqw9E.js rename to build/static/js/index-DG0B2su6.js index 730fa77..009e6fc 100644 --- a/build/static/js/index-BvQPqw9E.js +++ b/build/static/js/index-DG0B2su6.js @@ -1 +1 @@ -import{d as e,Y as a,Z as l,_ as s,e as r,s as t,f as o,r as n,aR as c,x as u,aS as i,o as d,$ as m,ac as p,a as _,c as v,aT as g,p as h,t as f,a3 as w,a9 as b,aU as x,B as y,i as C}from"./main-BFg_w1GP.js";import{u as k,I as S,m as j}from"./index-CTQigr-B.js";import{l as z,a as D}from"./public-CCP70CLD.js";import{a as I}from"./index-DDxgyK5X.js";import{L as M}from"./LockOutlined-Bv7lZ7V6.js";import"./index-CtqD4msy.js";const L={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},O=e({name:"CodeOutlined",render:function(e,r){return l(),a("svg",L,r[0]||(r[0]=[s("path",{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 0 0 308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 0 0-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:"currentColor"},null,-1)]))}}),T={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},U=e({name:"UserOutlined",render:function(e,r){return l(),a("svg",T,r[0]||(r[0]=[s("path",{d:"M858.5 763.6a374 374 0 0 0-80.6-119.5a375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1c-.4.2-.8.3-1.2.5c-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8c2-77.2 33-149.5 87.8-204.3c56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z",fill:"currentColor"},null,-1)]))}}),{success:K}=o(),{handleError:B}=k(),E=r("login-store",(()=>{const e=n(null),a=n(""),l=I("login-token",""),s=n(!1),r=n({username:"",password:"",code:""}),t=I("remember-me",!1),o=n(null),{fetch:c,error:u,data:i,message:d,loading:m}=z(),p=()=>{r.value.username="",r.value.password="",t.value=!1,u.value=null},_=async()=>{try{const{data:e}=await D();a.value=e.data}catch(e){B(e)}},v=()=>{const e=S("must_code",!1);s.value=1===Number(e),s.value&&_()};return{loading:m,codeImg:a,error:u,user:e,loginData:r,rememberMe:t,forgotPasswordRef:o,mustCode:s,handleLogin:async e=>{try{u.value=null,d.value=!0,await c(e);const{status:a}=i.value;if(!a)throw new Error(i.value.message);K("登录成功,正在跳转中..."),setTimeout((()=>location.href="/"),1e3),v()}catch(a){u.value=a.message,v()}},handleLogout:()=>{e.value=null,l.value=null,p(),location.href="/login"},handleGetCode:_,checkMustCode:v,resetForm:p,clearToken:()=>{l.value=null}}})),G=()=>{const e=localStorage.getItem("loginData");return e?JSON.parse(e):null},R=(e,a)=>{localStorage.setItem("loginData",JSON.stringify({username:e,password:a}))},V=()=>{const e=(()=>{const e=E();return{...e,...t(e)}})(),{handleError:a}=k(),{error:l,loginData:s,handleLogin:r,rememberMe:o,checkMustCode:n,mustCode:p,handleGetCode:_}=e,v=async e=>{var t,n;if(e.username.trim())if(e.password.trim())if(!p.value||(null==(t=e.code)?void 0:t.trim()))try{const a=(n=e.password,j(`${n}_bt_all_in_ssl`).toString());await r({...e,password:a}),o.value&&!l.value?R(e.username,e.password):l.value?(s.value.password="",p.value&&_()):l.value||o.value||localStorage.removeItem("loginData")}catch(c){a(c),p.value&&_()}else l.value=m("t_25_1745289355721");else l.value=m("t_4_1744164840458");else l.value=m("t_3_1744164839524")},g=async e=>{e.preventDefault(),await v(s.value)},h=c();return h.run((()=>{u(l,(e=>{e&&setTimeout((()=>{l.value=""}),5e3)})),i((()=>{h.stop()}))})),d((()=>{if(n(),o.value){const e=G();e&&(s.value.username=e.username,s.value.password=e.password)}})),{...e,handleSubmit:g,handleKeyup:e=>{"Enter"===e.key&&g(e)},handleLogin:v,getRememberData:G,setRememberData:R}},$="_container_1pdcl_4",q="_loginBox_1pdcl_20",A="_leftImageWrapper_1pdcl_26",J="_leftImage_1pdcl_26",N="_leftSection_1pdcl_51",P="_leftTitle_1pdcl_59",H="_logo_1pdcl_63",W="_rightSection_1pdcl_76",F="_title_1pdcl_89",Y="_formContainer_1pdcl_95",Z="_formWrapper_1pdcl_101",Q="_formContent_1pdcl_106",X="_formInputs_1pdcl_111",ee="_formActions_1pdcl_130",ae="_rememberSection_1pdcl_135",le="_error_1pdcl_166",se="_codeImageContainer_1pdcl_355",re="_forgotPassword_1pdcl_370",te="_icon_1pdcl_375";const oe=e({name:"LoginView",setup(){const{loading:e,error:a,rememberMe:l,handleSubmit:s,handleKeyup:r,loginData:t,handleGetCode:o,codeImg:n,mustCode:c}=V(),{isDark:u}=p(),i=_(["textColor2","actionColor","errorColor","primaryColor","primaryColorSuppl"]);return()=>{let d;return v("div",{style:i.value},[v("div",{class:$,style:`background-image:${u.value?"url(/static/images/login-bg-dark.svg)":"url(/static/images/login-bg.svg)"};`},[v("div",{class:q},[v("div",{class:N},[v("h2",{class:P},[v("img",{src:"/static/images/logo.png",alt:"logo",class:H},null),v("span",null,[m("t_2_1747047214975")])]),v("div",{class:A},[v("img",{src:"/static/images/login-display.svg",alt:m("t_1_1744164835667"),class:J},null)])]),v("div",{class:W},[v("div",{class:Y},[v("h1",{class:F},[m("t_2_1744164839713")]),v(g,{onSubmit:s,class:Z},{default:()=>{return[v("div",{class:Q},[v("div",{class:X},[v(h,{"show-label":!1,path:"username",rule:{required:!0,message:m("t_3_1744164839524"),trigger:["input","blur"]}},{default:()=>[v(f,{value:t.value.username,"onUpdate:value":e=>t.value.username=e,onKeyup:r,disabled:e.value,placeholder:m("t_3_1744164839524"),clearable:!0,size:"large"},{prefix:()=>v(w,{component:U,class:te},null)})]}),v(h,{"show-label":!1,path:"password",rule:{required:!0,message:m("t_4_1744164840458"),trigger:["input","blur"]}},{default:()=>[v(f,{onKeyup:r,disabled:e.value,value:t.value.password,"onUpdate:value":e=>t.value.password=e,type:"password",placeholder:m("t_4_1744164840458"),clearable:!0,size:"large",showPasswordOn:"click"},{prefix:()=>v(w,{component:M,class:te},null)})]}),c.value?v(h,{"show-label":!1,path:"code",rule:{required:!0,message:m("t_25_1745289355721"),trigger:["input","blur"]}},{default:()=>[v(f,{onKeyup:r,disabled:e.value,value:t.value.code,"onUpdate:value":e=>t.value.code=e,type:"text",placeholder:m("t_25_1745289355721"),clearable:!0,size:"large"},{prefix:()=>v(w,{component:O,class:te},null),suffix:()=>v("span",{onClick:o,title:m("t_0_1745936396853"),class:`w-[10rem] h-[4rem] mr-[-1.5rem] flex items-center justify-center relative z-[999] cursor-pointer bg-slate-400 rounded-r-[6px] ${se}`},[v(b,{src:n.value,"preview-disabled":!0,class:"max-w-full max-h-full object-contain"},null)])})]}):null]),v("div",{class:ee},[v("div",{class:ae},[v(x,{checked:l.value,"onUpdate:checked":e=>l.value=e},(u=d=m("t_5_1744164840468"),"function"==typeof u||"[object Object]"===Object.prototype.toString.call(u)&&!C(u)?d:{default:()=>[d]})),v("a",{class:re,href:"https://www.bt.cn/bbs/thread-144776-1-1.html",target:"_blank",rel:"noopener noreferrer"},[m("t_6_1744164838900")])]),a.value&&v("div",{class:le},[a.value]),v(y,{type:"primary",size:"large",block:!0,loading:e.value,attrType:"submit",onClick:s},{default:()=>[e.value?m("t_7_1744164838625"):m("t_8_1744164839833")]})])])];var u}})])])])])])}}});export{oe as default}; +import{d as e,Y as a,Z as l,_ as s,e as r,s as t,f as o,r as n,aR as c,x as u,aS as i,o as d,$ as m,ac as p,a as _,c as v,aT as g,p as h,t as f,a3 as w,a9 as b,aU as x,B as y,i as C}from"./main-BFwn2e3T.js";import{u as k,I as S,m as j}from"./index-DVPyxbgP.js";import{l as z,a as D}from"./public-CIep3lyx.js";import{a as I}from"./index-rVZjvqYb.js";import{L as M}from"./LockOutlined-vMZA0L98.js";import"./index-9yXMuG-J.js";const L={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},O=e({name:"CodeOutlined",render:function(e,r){return l(),a("svg",L,r[0]||(r[0]=[s("path",{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 0 0 308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 0 0-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:"currentColor"},null,-1)]))}}),T={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},U=e({name:"UserOutlined",render:function(e,r){return l(),a("svg",T,r[0]||(r[0]=[s("path",{d:"M858.5 763.6a374 374 0 0 0-80.6-119.5a375.63 375.63 0 0 0-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1c-.4.2-.8.3-1.2.5c-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 0 0-80.6 119.5A371.7 371.7 0 0 0 136 901.8a8 8 0 0 0 8 8.2h60c4.4 0 7.9-3.5 8-7.8c2-77.2 33-149.5 87.8-204.3c56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 0 0 8-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z",fill:"currentColor"},null,-1)]))}}),{success:K}=o(),{handleError:B}=k(),E=r("login-store",(()=>{const e=n(null),a=n(""),l=I("login-token",""),s=n(!1),r=n({username:"",password:"",code:""}),t=I("remember-me",!1),o=n(null),{fetch:c,error:u,data:i,message:d,loading:m}=z(),p=()=>{r.value.username="",r.value.password="",t.value=!1,u.value=null},_=async()=>{try{const{data:e}=await D();a.value=e.data}catch(e){B(e)}},v=()=>{const e=S("must_code",!1);s.value=1===Number(e),s.value&&_()};return{loading:m,codeImg:a,error:u,user:e,loginData:r,rememberMe:t,forgotPasswordRef:o,mustCode:s,handleLogin:async e=>{try{u.value=null,d.value=!0,await c(e);const{status:a}=i.value;if(!a)throw new Error(i.value.message);K("登录成功,正在跳转中..."),setTimeout((()=>location.href="/"),1e3),v()}catch(a){u.value=a.message,v()}},handleLogout:()=>{e.value=null,l.value=null,p(),location.href="/login"},handleGetCode:_,checkMustCode:v,resetForm:p,clearToken:()=>{l.value=null}}})),G=()=>{const e=localStorage.getItem("loginData");return e?JSON.parse(e):null},R=(e,a)=>{localStorage.setItem("loginData",JSON.stringify({username:e,password:a}))},V=()=>{const e=(()=>{const e=E();return{...e,...t(e)}})(),{handleError:a}=k(),{error:l,loginData:s,handleLogin:r,rememberMe:o,checkMustCode:n,mustCode:p,handleGetCode:_}=e,v=async e=>{var t,n;if(e.username.trim())if(e.password.trim())if(!p.value||(null==(t=e.code)?void 0:t.trim()))try{const a=(n=e.password,j(`${n}_bt_all_in_ssl`).toString());await r({...e,password:a}),o.value&&!l.value?R(e.username,e.password):l.value?(s.value.password="",p.value&&_()):l.value||o.value||localStorage.removeItem("loginData")}catch(c){a(c),p.value&&_()}else l.value=m("t_25_1745289355721");else l.value=m("t_4_1744164840458");else l.value=m("t_3_1744164839524")},g=async e=>{e.preventDefault(),await v(s.value)},h=c();return h.run((()=>{u(l,(e=>{e&&setTimeout((()=>{l.value=""}),5e3)})),i((()=>{h.stop()}))})),d((()=>{if(n(),o.value){const e=G();e&&(s.value.username=e.username,s.value.password=e.password)}})),{...e,handleSubmit:g,handleKeyup:e=>{"Enter"===e.key&&g(e)},handleLogin:v,getRememberData:G,setRememberData:R}},$="_container_1pdcl_4",q="_loginBox_1pdcl_20",A="_leftImageWrapper_1pdcl_26",J="_leftImage_1pdcl_26",N="_leftSection_1pdcl_51",P="_leftTitle_1pdcl_59",H="_logo_1pdcl_63",W="_rightSection_1pdcl_76",F="_title_1pdcl_89",Y="_formContainer_1pdcl_95",Z="_formWrapper_1pdcl_101",Q="_formContent_1pdcl_106",X="_formInputs_1pdcl_111",ee="_formActions_1pdcl_130",ae="_rememberSection_1pdcl_135",le="_error_1pdcl_166",se="_codeImageContainer_1pdcl_355",re="_forgotPassword_1pdcl_370",te="_icon_1pdcl_375";const oe=e({name:"LoginView",setup(){const{loading:e,error:a,rememberMe:l,handleSubmit:s,handleKeyup:r,loginData:t,handleGetCode:o,codeImg:n,mustCode:c}=V(),{isDark:u}=p(),i=_(["textColor2","actionColor","errorColor","primaryColor","primaryColorSuppl"]);return()=>{let d;return v("div",{style:i.value},[v("div",{class:$,style:`background-image:${u.value?"url(/static/images/login-bg-dark.svg)":"url(/static/images/login-bg.svg)"};`},[v("div",{class:q},[v("div",{class:N},[v("h2",{class:P},[v("img",{src:"/static/images/logo.png",alt:"logo",class:H},null),v("span",null,[m("t_2_1747047214975")])]),v("div",{class:A},[v("img",{src:"/static/images/login-display.svg",alt:m("t_1_1744164835667"),class:J},null)])]),v("div",{class:W},[v("div",{class:Y},[v("h1",{class:F},[m("t_2_1744164839713")]),v(g,{onSubmit:s,class:Z},{default:()=>{return[v("div",{class:Q},[v("div",{class:X},[v(h,{"show-label":!1,path:"username",rule:{required:!0,message:m("t_3_1744164839524"),trigger:["input","blur"]}},{default:()=>[v(f,{value:t.value.username,"onUpdate:value":e=>t.value.username=e,onKeyup:r,disabled:e.value,placeholder:m("t_3_1744164839524"),clearable:!0,size:"large"},{prefix:()=>v(w,{component:U,class:te},null)})]}),v(h,{"show-label":!1,path:"password",rule:{required:!0,message:m("t_4_1744164840458"),trigger:["input","blur"]}},{default:()=>[v(f,{onKeyup:r,disabled:e.value,value:t.value.password,"onUpdate:value":e=>t.value.password=e,type:"password",placeholder:m("t_4_1744164840458"),clearable:!0,size:"large",showPasswordOn:"click"},{prefix:()=>v(w,{component:M,class:te},null)})]}),c.value?v(h,{"show-label":!1,path:"code",rule:{required:!0,message:m("t_25_1745289355721"),trigger:["input","blur"]}},{default:()=>[v(f,{onKeyup:r,disabled:e.value,value:t.value.code,"onUpdate:value":e=>t.value.code=e,type:"text",placeholder:m("t_25_1745289355721"),clearable:!0,size:"large"},{prefix:()=>v(w,{component:O,class:te},null),suffix:()=>v("span",{onClick:o,title:m("t_0_1745936396853"),class:`w-[10rem] h-[4rem] mr-[-1.5rem] flex items-center justify-center relative z-[999] cursor-pointer bg-slate-400 rounded-r-[6px] ${se}`},[v(b,{src:n.value,"preview-disabled":!0,class:"max-w-full max-h-full object-contain"},null)])})]}):null]),v("div",{class:ee},[v("div",{class:ae},[v(x,{checked:l.value,"onUpdate:checked":e=>l.value=e},(u=d=m("t_5_1744164840468"),"function"==typeof u||"[object Object]"===Object.prototype.toString.call(u)&&!C(u)?d:{default:()=>[d]})),v("a",{class:re,href:"https://www.bt.cn/bbs/thread-144776-1-1.html",target:"_blank",rel:"noopener noreferrer"},[m("t_6_1744164838900")])]),a.value&&v("div",{class:le},[a.value]),v(y,{type:"primary",size:"large",block:!0,loading:e.value,attrType:"submit",onClick:s},{default:()=>[e.value?m("t_7_1744164838625"):m("t_8_1744164839833")]})])])];var u}})])])])])])}}});export{oe as default}; diff --git a/build/static/js/index-CTQigr-B.js b/build/static/js/index-DVPyxbgP.js similarity index 99% rename from build/static/js/index-CTQigr-B.js rename to build/static/js/index-DVPyxbgP.js index 05d32b1..823e248 100644 --- a/build/static/js/index-CTQigr-B.js +++ b/build/static/js/index-DVPyxbgP.js @@ -1 +1 @@ -var e=Object.defineProperty,t=(t,n,r)=>((t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r)(t,"symbol"!=typeof n?n+"":n,r);import{D as n,E as r,c4 as o,F as s,d as i,H as a,P as l,T as c,I as u,K as f,c5 as d,l as p,c6 as h,aP as m,M as y,az as g,r as w,ay as b,Y as v,Z as E,_ as S,bI as O,c7 as x,c8 as R,c9 as C,bL as T,c as A,a3 as _,ca as j,bb as k,bh as P,cb as B,bm as N,f as U,aR as F,x as D,aS as L,bo as z,a6 as M}from"./main-BFg_w1GP.js";const q=n([n("@keyframes spin-rotate","\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n "),r("spin-container","\n position: relative;\n ",[r("spin-body","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[o()])]),r("spin-body","\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n "),r("spin","\n display: inline-flex;\n height: var(--n-size);\n width: var(--n-size);\n font-size: var(--n-size);\n color: var(--n-color);\n ",[s("rotate","\n animation: spin-rotate 2s linear infinite;\n ")]),r("spin-description","\n display: inline-block;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n margin-top: 8px;\n "),r("spin-content","\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n pointer-events: all;\n ",[s("spinning","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n opacity: var(--n-opacity-spinning);\n ")])]),I={small:20,medium:18,large:16},H=i({name:"Spin",props:Object.assign(Object.assign({},f.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=u(e),r=f("Spin","-spin",q,d,e,t),o=p((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:o}=r.value,{opacitySpinning:s,color:i,textColor:a}=o;return{"--n-bezier":n,"--n-opacity-spinning":s,"--n-size":"number"==typeof t?h(t):o[m("size",t)],"--n-color":i,"--n-text-color":a}})),s=n?y("spin",p((()=>{const{size:t}=e;return"number"==typeof t?String(t):t[0]})),o,e):void 0,i=g(e,["spinning","show"]),a=w(!1);return b((t=>{let n;if(i.value){const{delay:r}=e;if(r)return n=window.setTimeout((()=>{a.value=!0}),r),void t((()=>{clearTimeout(n)}))}a.value=i.value})),{mergedClsPrefix:t,active:a,mergedStrokeWidth:p((()=>{const{strokeWidth:t}=e;if(void 0!==t)return t;const{size:n}=e;return I["number"==typeof n?"medium":n]})),cssVars:n?void 0:o,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:r,description:o}=this,s=n.icon&&this.rotate,i=(o||n.description)&&a("div",{class:`${r}-spin-description`},o||(null===(e=n.description)||void 0===e?void 0:e.call(n))),u=n.icon?a("div",{class:[`${r}-spin-body`,this.themeClass]},a("div",{class:[`${r}-spin`,s&&`${r}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),i):a("div",{class:[`${r}-spin-body`,this.themeClass]},a(l,{clsPrefix:r,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${r}-spin`}),i);return null===(t=this.onRender)||void 0===t||t.call(this),n.default?a("div",{class:[`${r}-spin-container`,this.themeClass],style:this.cssVars},a("div",{class:[`${r}-spin-content`,this.active&&`${r}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),a(c,{name:"fade-in-transition"},{default:()=>this.active?u:null})):u}}),$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},W=i({name:"CheckmarkCircle24Filled",render:function(e,t){return E(),v("svg",$,t[0]||(t[0]=[S("g",{fill:"none"},[S("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm3.22 6.97l-4.47 4.47l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5a.75.75 0 1 0-1.06-1.06z",fill:"currentColor"})],-1)]))}}),J={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},V=i({name:"ErrorCircle24Filled",render:function(e,t){return E(),v("svg",J,t[0]||(t[0]=[S("g",{fill:"none"},[S("path",{d:"M12 2c5.523 0 10 4.478 10 10s-4.477 10-10 10S2 17.522 2 12S6.477 2 12 2zm.002 13.004a.999.999 0 1 0 0 1.997a.999.999 0 0 0 0-1.997zM12 7a1 1 0 0 0-.993.884L11 8l.002 5.001l.007.117a1 1 0 0 0 1.986 0l.007-.117L13 8l-.007-.117A1 1 0 0 0 12 7z",fill:"currentColor"})],-1)]))}}),K={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},X=i({name:"Info24Filled",render:function(e,t){return E(),v("svg",K,t[0]||(t[0]=[S("g",{fill:"none"},[S("path",{d:"M12 1.999c5.524 0 10.002 4.478 10.002 10.002c0 5.523-4.478 10.001-10.002 10.001C6.476 22.002 2 17.524 2 12.001C1.999 6.477 6.476 1.999 12 1.999zm-.004 8.25a1 1 0 0 0-.992.885l-.007.116l.004 5.502l.006.117a1 1 0 0 0 1.987-.002L13 16.75l-.004-5.501l-.007-.117a1 1 0 0 0-.994-.882zm.005-3.749a1.251 1.251 0 1 0 0 2.503A1.251 1.251 0 0 0 12 6.5z",fill:"currentColor"})],-1)]))}});function G(e){const t=T(),n=w(e||{}),r=O(),o=e=>{const{type:n="warning",title:o,area:s,content:i,draggable:l=!0,confirmText:c="确定",cancelText:u="取消",confirmButtonProps:f={type:"primary"},cancelButtonProps:d={type:"default"},maskClosable:p=!1,closeOnEsc:h=!1,autoFocus:m=!1,onConfirm:y,onCancel:g,onClose:w,onMaskClick:b,...v}=e,E={title:o,content:()=>(()=>{if(!i)return"";const e=a("div",{class:"flex pt-[0.4rem]"},[(e=>{const t={info:[A(X,{class:"text-primary"},null)],success:[A(W,{class:"text-success"},null)],warning:[A(X,{class:"text-warning"},null)],error:[A(V,{class:"text-error"},null)]};return a(_,{size:30,class:"n-dialog__icon"},(()=>t[e][0]))})(n),a("div",{class:"w-full pt-1 flex items-center"},"string"==typeof i?i:i())]);return t?e:a(C,{type:n},(()=>e))})(),style:s?"string"==typeof s?{width:s,height:"auto"}:{width:s[0],height:s[1]}:{width:"35rem",height:"auto"},draggable:l,maskClosable:p,showIcon:!1,closeOnEsc:h,autoFocus:m,positiveText:c,negativeText:u,positiveButtonProps:f,negativeButtonProps:d,onPositiveClick:y,onNegativeClick:g,onClose:w,onMaskClick:b,...v};if(t){const e=x();return r.value=e.create(E),r.value}const{dialog:S}=R(["dialog"]);return r.value=S.create(E),r.value},s={create:o,options:n,update:e=>(n.value=e,o(e)),success:(e,t={})=>o({...t,type:"success",content:e,showIcon:!0}),warning:(e,t={})=>o({...t,type:"warning",content:e}),error:(e,t={})=>o({...t,type:"error",content:e}),info:(e,t={})=>o({...t,type:"info",content:e}),request:(e,t={})=>o({...t,type:e.status?"success":"error",content:e.message}),destroyAll:()=>{var e;null==(e=r.value)||e.destroyAll()}};return e?Object.assign(o(e),s):s}const Q={text:"正在加载中,请稍后 ...",description:"",color:"",size:"small",stroke:"",show:!0,fullscreen:!0,background:"rgba(0, 0, 0, 0.5)",zIndex:2e3},Y=(e={})=>{const t=w({...Q,...e}),n=w(!1);let r=null,o=null;const s=()=>{const{target:e}=t.value;if(!e)return document.body;if("string"==typeof e){return document.querySelector(e)||document.body}return e},i=()=>{if(!n.value)return;const e=(()=>{o&&(document.body.removeChild(o),o=null),o=document.createElement("div");const e=s(),n={position:t.value.fullscreen?"fixed":"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:t.value.background,zIndex:t.value.zIndex,...t.value.customStyle||{}};if(!t.value.fullscreen&&e&&e!==document.body){const t=e.getBoundingClientRect();Object.assign(n,{top:`${t.top}px`,left:`${t.left}px`,width:`${t.width}px`,height:`${t.height}px`,position:"fixed"})}return Object.keys(n).forEach((e=>{o.style[e]=n[e]})),t.value.customClass&&(o.className=t.value.customClass),document.body.appendChild(o),o})(),i=A("div",{style:{display:"flex",alignItems:"center",padding:"16px 24px",backgroundColor:"#fff",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)"}},[A(H,{description:t.value.description,size:t.value.size,stroke:t.value.stroke,style:{marginRight:"12px"},...t.value.spinProps||{}}),A("span",{style:{fontSize:"14px",color:"#333"}},t.value.text)]);r=i,j(r,e)},a=()=>{var e,r;n.value=!1,o&&(j(null,o),document.body.removeChild(o),o=null),null==(r=(e=t.value).onClose)||r.call(e)};return{open:e=>{e&&(t.value={...t.value,...e}),n.value=!0,i()},close:a,update:e=>{t.value={...t.value,...e},n.value&&i()},destroy:()=>{a(),r=null}}};function Z(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return B(n)?t:k((function(t,r){return e(n,t,r)}));case 2:return B(n)&&B(r)?t:B(n)?k((function(t,n){return e(t,r,n)})):B(r)?k((function(t,r){return e(n,t,r)})):P((function(t){return e(n,r,t)}));default:return B(n)&&B(r)&&B(o)?t:B(n)&&B(r)?k((function(t,n){return e(t,n,o)})):B(n)&&B(o)?k((function(t,n){return e(t,r,n)})):B(r)&&B(o)?k((function(t,r){return e(n,t,r)})):B(n)?P((function(t){return e(t,r,o)})):B(r)?P((function(t){return e(n,t,o)})):B(o)?P((function(t){return e(n,r,t)})):e(n,r,o)}}}var ee=P((function(e){return function(){return e}}));function te(e){return e}var ne=P(te),re=Z((function(e,t,n){return N(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const oe=w([]),se={showMessage:!0,reportError:!0,autoAnalyze:!0,showDialog:!1},ie=e=>"AxiosError"===e.name?{type:"network",level:"error",summary:e.message,details:{message:e.message}}:e instanceof TypeError&&e.message.includes("network")?{type:"network",level:"error",summary:"网络请求错误",details:{message:e.message}}:e instanceof Error?{type:"runtime",level:"error",summary:e.message,details:{stack:e.stack,name:e.name}}:"object"==typeof e&&null!==e&&"code"in e?{type:"business",level:"warning",summary:"业务处理错误,请联系管理员",details:e}:"object"==typeof e&&null!==e&&Array.isArray(e)?{type:"validation",level:"warning",summary:"数据验证错误",details:{message:"数据验证错误,请检查输入内容"}}:"string"==typeof e?{type:"runtime",level:"error",summary:e,details:{message:e}}:{type:"runtime",level:"error",summary:"未知错误",details:{message:(null==e?void 0:e.message)||"未知错误"}},ae=(e={})=>{const t={...se,...e},n=(e,t)=>"boolean"!=typeof e&&(e=>"object"==typeof e&&null!==e&&"message"in e)(e)?e.message:t,r={collect:e=>{oe.value.push({...e,timestamp:Date.now()})},report:(e=oe.value)=>{t.reportError&&t.reportHandler&&t.reportHandler(e)},clear:()=>{oe.value=[]},analyze:e=>{const t=ie(e);return{message:t.summary,type:t.type,metadata:t.details,timestamp:Date.now()}}};return{handleError:(e,o)=>{const s=U();let i;if("boolean"==typeof e)return{default:t=>n(e,t)};if(i=t.autoAnalyze&&"object"==typeof e&&null!==e&&"message"in e?r.analyze(e):e,i.timestamp=Date.now(),oe.value.push(i),t.showMessage){const t=ie(e);switch(t.level){case"error":s.error(t.details.message||t.summary);break;case"warning":s.warning(t.details.message||t.summary);break;case"info":s.info(i.message||t.summary)}}return t.showDialog,t.customHandler&&t.customHandler(i),{errorInfo:i,...s,default:t=>n(e,t)}},collector:r,errorQueue:oe}};function le(e,t){return function(){return e.apply(t,arguments)}}const{toString:ce}=Object.prototype,{getPrototypeOf:ue}=Object,{iterator:fe,toStringTag:de}=Symbol,pe=(e=>t=>{const n=ce.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),he=e=>(e=e.toLowerCase(),t=>pe(t)===e),me=e=>t=>typeof t===e,{isArray:ye}=Array,ge=me("undefined");const we=he("ArrayBuffer");const be=me("string"),ve=me("function"),Ee=me("number"),Se=e=>null!==e&&"object"==typeof e,Oe=e=>{if("object"!==pe(e))return!1;const t=ue(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||de in e||fe in e)},xe=he("Date"),Re=he("File"),Ce=he("Blob"),Te=he("FileList"),Ae=he("URLSearchParams"),[_e,je,ke,Pe]=["ReadableStream","Request","Response","Headers"].map(he);function Be(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),ye(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Fe=e=>!ge(e)&&e!==Ue;const De=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&ue(Uint8Array)),Le=he("HTMLFormElement"),ze=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Me=he("RegExp"),qe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Be(n,((n,o)=>{let s;!1!==(s=t(n,o,e))&&(r[o]=s||n)})),Object.defineProperties(e,r)};const Ie=he("AsyncFunction"),He=($e="function"==typeof setImmediate,We=ve(Ue.postMessage),$e?setImmediate:We?(Je=`axios@${Math.random()}`,Ve=[],Ue.addEventListener("message",(({source:e,data:t})=>{e===Ue&&t===Je&&Ve.length&&Ve.shift()()}),!1),e=>{Ve.push(e),Ue.postMessage(Je,"*")}):e=>setTimeout(e));var $e,We,Je,Ve;const Ke="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ue):"undefined"!=typeof process&&process.nextTick||He,Xe={isArray:ye,isArrayBuffer:we,isBuffer:function(e){return null!==e&&!ge(e)&&null!==e.constructor&&!ge(e.constructor)&&ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||ve(e.append)&&("formdata"===(t=pe(e))||"object"===t&&ve(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&we(e.buffer),t},isString:be,isNumber:Ee,isBoolean:e=>!0===e||!1===e,isObject:Se,isPlainObject:Oe,isReadableStream:_e,isRequest:je,isResponse:ke,isHeaders:Pe,isUndefined:ge,isDate:xe,isFile:Re,isBlob:Ce,isRegExp:Me,isFunction:ve,isStream:e=>Se(e)&&ve(e.pipe),isURLSearchParams:Ae,isTypedArray:De,isFileList:Te,forEach:Be,merge:function e(){const{caseless:t}=Fe(this)&&this||{},n={},r=(r,o)=>{const s=t&&Ne(n,o)||o;Oe(n[s])&&Oe(r)?n[s]=e(n[s],r):Oe(r)?n[s]=e({},r):ye(r)?n[s]=r.slice():n[s]=r};for(let o=0,s=arguments.length;o(Be(t,((t,r)=>{n&&ve(t)?e[r]=le(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],r&&!r(i,e,t)||a[i]||(t[i]=e[i],a[i]=!0);e=!1!==n&&ue(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:pe,kindOfTest:he,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ye(e))return e;let t=e.length;if(!Ee(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[fe]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Le,hasOwnProperty:ze,hasOwnProp:ze,reduceDescriptors:qe,freezeMethods:e=>{qe(e,((t,n)=>{if(ve(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];ve(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ye(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ne,global:Ue,isContextDefined:Fe,isSpecCompliantForm:function(e){return!!(e&&ve(e.append)&&"FormData"===e[de]&&e[fe])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Se(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=ye(e)?[]:{};return Be(e,((e,t)=>{const s=n(e,r+1);!ge(s)&&(o[t]=s)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Ie,isThenable:e=>e&&(Se(e)||ve(e))&&ve(e.then)&&ve(e.catch),setImmediate:He,asap:Ke,isIterable:e=>null!=e&&ve(e[fe])};function Ge(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Xe.inherits(Ge,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Xe.toJSONObject(this.config),code:this.code,status:this.status}}});const Qe=Ge.prototype,Ye={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ye[e]={value:e}})),Object.defineProperties(Ge,Ye),Object.defineProperty(Qe,"isAxiosError",{value:!0}),Ge.from=(e,t,n,r,o,s)=>{const i=Object.create(Qe);return Xe.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ge.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};function Ze(e){return Xe.isPlainObject(e)||Xe.isArray(e)}function et(e){return Xe.endsWith(e,"[]")?e.slice(0,-2):e}function tt(e,t,n){return e?e.concat(t).map((function(e,t){return e=et(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const nt=Xe.toFlatObject(Xe,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rt(e,t,n){if(!Xe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Xe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Xe.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,s=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Xe.isSpecCompliantForm(t);if(!Xe.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Xe.isDate(e))return e.toISOString();if(!a&&Xe.isBlob(e))throw new Ge("Blob is not supported. Use a Buffer instead.");return Xe.isArrayBuffer(e)||Xe.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(Xe.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Xe.isArray(e)&&function(e){return Xe.isArray(e)&&!e.some(Ze)}(e)||(Xe.isFileList(e)||Xe.endsWith(n,"[]"))&&(a=Xe.toArray(e)))return n=et(n),a.forEach((function(e,r){!Xe.isUndefined(e)&&null!==e&&t.append(!0===i?tt([n],r,s):null===i?n:n+"[]",l(e))})),!1;return!!Ze(e)||(t.append(tt(o,n,s),l(e)),!1)}const u=[],f=Object.assign(nt,{defaultVisitor:c,convertValue:l,isVisitable:Ze});if(!Xe.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Xe.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Xe.forEach(n,(function(n,s){!0===(!(Xe.isUndefined(n)||null===n)&&o.call(t,n,Xe.isString(s)?s.trim():s,r,f))&&e(n,r?r.concat(s):[s])})),u.pop()}}(e),t}function ot(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function st(e,t){this._pairs=[],e&&rt(e,this,t)}const it=st.prototype;function at(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(e,t,n){if(!t)return e;const r=n&&n.encode||at;Xe.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(s=o?o(t,n):Xe.isURLSearchParams(t)?t.toString():new st(t,n).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}it.append=function(e,t){this._pairs.push([e,t])},it.toString=function(e){const t=e?function(t){return e.call(this,t,ot)}:ot;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ct{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Xe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const ut={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ft={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:st,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},dt="undefined"!=typeof window&&"undefined"!=typeof document,pt="object"==typeof navigator&&navigator||void 0,ht=dt&&(!pt||["ReactNative","NativeScript","NS"].indexOf(pt.product)<0),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,yt=dt&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dt,hasStandardBrowserEnv:ht,hasStandardBrowserWebWorkerEnv:mt,navigator:pt,origin:yt},Symbol.toStringTag,{value:"Module"})),...ft};function wt(e){function t(e,n,r,o){let s=e[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=e.length;if(s=!s&&Xe.isArray(r)?r.length:s,a)return Xe.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!i;r[s]&&Xe.isObject(r[s])||(r[s]=[]);return t(e,n,r[s],o)&&Xe.isArray(r[s])&&(r[s]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r{t(function(e){return Xe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const bt={transitional:ut,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Xe.isObject(e);o&&Xe.isHTMLForm(e)&&(e=new FormData(e));if(Xe.isFormData(e))return r?JSON.stringify(wt(e)):e;if(Xe.isArrayBuffer(e)||Xe.isBuffer(e)||Xe.isStream(e)||Xe.isFile(e)||Xe.isBlob(e)||Xe.isReadableStream(e))return e;if(Xe.isArrayBufferView(e))return e.buffer;if(Xe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return rt(e,new gt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return gt.isNode&&Xe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((s=Xe.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return rt(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Xe.isString(e))try{return(t||JSON.parse)(e),Xe.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||bt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Xe.isResponse(e)||Xe.isReadableStream(e))return e;if(e&&Xe.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw Ge.from(o,Ge.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Xe.forEach(["delete","get","head","post","put","patch"],(e=>{bt.headers[e]={}}));const vt=Xe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Et=Symbol("internals");function St(e){return e&&String(e).trim().toLowerCase()}function Ot(e){return!1===e||null==e?e:Xe.isArray(e)?e.map(Ot):String(e)}function xt(e,t,n,r,o){return Xe.isFunction(r)?r.call(this,t,n):(o&&(t=n),Xe.isString(t)?Xe.isString(r)?-1!==t.indexOf(r):Xe.isRegExp(r)?r.test(t):void 0:void 0)}let Rt=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=St(t);if(!o)throw new Error("header name must be a non-empty string");const s=Xe.findKey(r,o);(!s||void 0===r[s]||!0===n||void 0===n&&!1!==r[s])&&(r[s||t]=Ot(e))}const s=(e,t)=>Xe.forEach(e,((e,n)=>o(e,n,t)));if(Xe.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(Xe.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&vt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Xe.isObject(e)&&Xe.isIterable(e)){let n,r,o={};for(const t of e){if(!Xe.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Xe.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}s(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=St(e)){const n=Xe.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Xe.isFunction(t))return t.call(this,e,n);if(Xe.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=St(e)){const n=Xe.findKey(this,e);return!(!n||void 0===this[n]||t&&!xt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=St(e)){const o=Xe.findKey(n,e);!o||t&&!xt(0,n[o],o,t)||(delete n[o],r=!0)}}return Xe.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!xt(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Xe.forEach(this,((r,o)=>{const s=Xe.findKey(n,o);if(s)return t[s]=Ot(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();i!==o&&delete t[o],t[i]=Ot(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Xe.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Xe.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Et]=this[Et]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=St(e);t[r]||(!function(e,t){const n=Xe.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Xe.isArray(e)?e.forEach(r):r(e),this}};function Ct(e,t){const n=this||bt,r=t||n,o=Rt.from(r.headers);let s=r.data;return Xe.forEach(e,(function(e){s=e.call(n,s,o.normalize(),t?t.status:void 0)})),o.normalize(),s}function Tt(e){return!(!e||!e.__CANCEL__)}function At(e,t,n){Ge.call(this,null==e?"canceled":e,Ge.ERR_CANCELED,t,n),this.name="CanceledError"}function _t(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ge("Request failed with status code "+n.status,[Ge.ERR_BAD_REQUEST,Ge.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Xe.reduceDescriptors(Rt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Xe.freezeMethods(Rt),Xe.inherits(At,Ge,{__CANCEL__:!0});const jt=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,s=0,i=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[i];o||(o=l),n[s]=a,r[s]=l;let u=i,f=0;for(;u!==s;)f+=n[u++],u%=e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),l-o{o=s,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=s?i(e,t):(n=e,r||(r=setTimeout((()=>{r=null,i(n)}),s-a)))},()=>n&&i(n)]}((n=>{const s=n.loaded,i=n.lengthComputable?n.total:void 0,a=s-r,l=o(a);r=s;e({loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&s<=i?(i-s)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),n)},kt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Pt=e=>(...t)=>Xe.asap((()=>e(...t))),Bt=gt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,Nt=gt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];Xe.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),Xe.isString(r)&&i.push("path="+r),Xe.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ut(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ft=e=>e instanceof Rt?{...e}:e;function Dt(e,t){t=t||{};const n={};function r(e,t,n,r){return Xe.isPlainObject(e)&&Xe.isPlainObject(t)?Xe.merge.call({caseless:r},e,t):Xe.isPlainObject(t)?Xe.merge({},t):Xe.isArray(t)?t.slice():t}function o(e,t,n,o){return Xe.isUndefined(t)?Xe.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function s(e,t){if(!Xe.isUndefined(t))return r(void 0,t)}function i(e,t){return Xe.isUndefined(t)?Xe.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,s){return s in t?r(n,o):s in e?r(void 0,n):void 0}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>o(Ft(e),Ft(t),0,!0)};return Xe.forEach(Object.keys(Object.assign({},e,t)),(function(r){const s=l[r]||o,i=s(e[r],t[r],r);Xe.isUndefined(i)&&s!==a||(n[r]=i)})),n}const Lt=e=>{const t=Dt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=Rt.from(a),t.url=lt(Ut(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Xe.isFormData(r))if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(gt.hasStandardBrowserEnv&&(o&&Xe.isFunction(o)&&(o=o(t)),o||!1!==o&&Bt(t.url))){const e=s&&i&&Nt.read(i);e&&a.set(s,e)}return t},zt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Lt(e);let o=r.data;const s=Rt.from(r.headers).normalize();let i,a,l,c,u,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function y(){if(!m)return;const r=Rt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());_t((function(e){t(e),h()}),(function(e){n(e),h()}),{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(n(new Ge("Request aborted",Ge.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Ge("Network Error",Ge.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ut;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ge(t,o.clarifyTimeoutError?Ge.ETIMEDOUT:Ge.ECONNABORTED,e,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&Xe.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),Xe.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),f&&"json"!==f&&(m.responseType=r.responseType),p&&([l,u]=jt(p,!0),m.addEventListener("progress",l)),d&&m.upload&&([a,c]=jt(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new At(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===gt.protocols.indexOf(g)?n(new Ge("Unsupported protocol "+g+":",Ge.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Mt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Ge?t:new At(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,o(new Ge(`timeout ${t} of ms exceeded`,Ge.ETIMEDOUT))}),t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>Xe.asap(i),a}},qt=function*(e,t){let n=e.byteLength;if(n{const o=async function*(e,t){for await(const n of It(e))yield*qt(n,t)}(e,t);let s,i=0,a=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let s=r.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},$t="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Wt=$t&&"function"==typeof ReadableStream,Jt=$t&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Vt=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},Kt=Wt&&Vt((()=>{let e=!1;const t=new Request(gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Xt=Wt&&Vt((()=>Xe.isReadableStream(new Response("").body))),Gt={stream:Xt&&(e=>e.body)};var Qt;$t&&(Qt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Gt[e]&&(Gt[e]=Xe.isFunction(Qt[e])?t=>t[e]():(t,n)=>{throw new Ge(`Response type '${e}' is not supported`,Ge.ERR_NOT_SUPPORT,n)})})));const Yt=async(e,t)=>{const n=Xe.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Xe.isBlob(e))return e.size;if(Xe.isSpecCompliantForm(e)){const t=new Request(gt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Xe.isArrayBufferView(e)||Xe.isArrayBuffer(e)?e.byteLength:(Xe.isURLSearchParams(e)&&(e+=""),Xe.isString(e)?(await Jt(e)).byteLength:void 0)})(t):n},Zt={http:null,xhr:zt,fetch:$t&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Lt(e);c=c?(c+"").toLowerCase():"text";let p,h=Mt([o,s&&s.toAbortSignal()],i);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let y;try{if(l&&Kt&&"get"!==n&&"head"!==n&&0!==(y=await Yt(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Xe.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=kt(y,jt(Pt(l)));r=Ht(n.body,65536,e,t)}}Xe.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?f:void 0});let s=await fetch(p);const i=Xt&&("stream"===c||"response"===c);if(Xt&&(a||i&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=Xe.toFiniteNumber(s.headers.get("content-length")),[n,r]=a&&kt(t,jt(Pt(a),!0))||[];s=new Response(Ht(s.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let g=await Gt[Xe.findKey(Gt,c)||"text"](s,e);return!i&&m&&m(),await new Promise(((t,n)=>{_t(t,n,{data:g,headers:Rt.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:p})}))}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/Load failed|fetch/i.test(g.message))throw Object.assign(new Ge("Network Error",Ge.ERR_NETWORK,e,p),{cause:g.cause||g});throw Ge.from(g,g&&g.code,e,p)}})};Xe.forEach(Zt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const en=e=>`- ${e}`,tn=e=>Xe.isFunction(e)||null===e||!1===e,nn=e=>{e=Xe.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Ge("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(en).join("\n"):" "+en(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new At(null,e)}function on(e){rn(e),e.headers=Rt.from(e.headers),e.data=Ct.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return nn(e.adapter||bt.adapter)(e).then((function(t){return rn(e),t.data=Ct.call(e,e.transformResponse,t),t.headers=Rt.from(t.headers),t}),(function(t){return Tt(t)||(rn(e),t&&t.response&&(t.response.data=Ct.call(e,e.transformResponse,t.response),t.response.headers=Rt.from(t.response.headers))),Promise.reject(t)}))}const sn="1.9.0",an={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{an[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ln={};an.transitional=function(e,t,n){return(r,o,s)=>{if(!1===e)throw new Ge(function(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}(o," has been removed"+(t?" in "+t:"")),Ge.ERR_DEPRECATED);return t&&!ln[o]&&(ln[o]=!0),!e||e(r,o,s)}},an.spelling=function(e){return(e,t)=>!0};const cn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ge("options must be an object",Ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const t=e[s],n=void 0===t||i(t,s,e);if(!0!==n)throw new Ge("option "+s+" must be "+n,Ge.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ge("Unknown option "+s,Ge.ERR_BAD_OPTION)}},validators:an},un=cn.validators;let fn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ct,response:new ct}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Dt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&cn.assertOptions(n,{silentJSONParsing:un.transitional(un.boolean),forcedJSONParsing:un.transitional(un.boolean),clarifyTimeoutError:un.transitional(un.boolean)},!1),null!=r&&(Xe.isFunction(r)?t.paramsSerializer={serialize:r}:cn.assertOptions(r,{encode:un.function,serialize:un.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),cn.assertOptions(t,{baseUrl:un.spelling("baseURL"),withXsrfToken:un.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&Xe.merge(o.common,o[t.method]);o&&Xe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Rt.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,f=0;if(!a){const e=[on.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);f{dn[t]=e}));const pn=function e(t){const n=new fn(t),r=le(fn.prototype.request,n);return Xe.extend(r,fn.prototype,n,{allOwnKeys:!0}),Xe.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Dt(t,n))},r}(bt);pn.Axios=fn,pn.CanceledError=At,pn.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new At(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}},pn.isCancel=Tt,pn.VERSION=sn,pn.toFormData=rt,pn.AxiosError=Ge,pn.Cancel=pn.CanceledError,pn.all=function(e){return Promise.all(e)},pn.spread=function(e){return function(t){return e.apply(null,t)}},pn.isAxiosError=function(e){return Xe.isObject(e)&&!0===e.isAxiosError},pn.mergeConfig=Dt,pn.AxiosHeaders=Rt,pn.formToJSON=e=>wt(Xe.isHTMLForm(e)?new FormData(e):e),pn.getAdapter=nn,pn.HttpStatusCode=dn,pn.default=pn;const{Axios:hn,AxiosError:mn,CanceledError:yn,isCancel:gn,CancelToken:wn,VERSION:bn,all:vn,Cancel:En,isAxiosError:Sn,spread:On,toFormData:xn,AxiosHeaders:Rn,HttpStatusCode:Cn,formToJSON:Tn,getAdapter:An,mergeConfig:_n}=pn;const jn=new Map,kn=e=>{const{open:t,close:n,update:r}=Y(),o=w({status:!1,text:"正在处理,请稍后..."}),s=w({status:!1}),i=w(!1),a=w(!1),l=O(null),c=O(null),u=O(null),f=p((()=>{var e;return(null==(e=u.value)?void 0:e.status)||null})),d=w({}),h=w({}),m=w(""),y=w({}),g=w(!1),b=()=>{o.value.status&&!l.value&&(r({...o.value}),t())},v=()=>{l.value&&(n(),l.value=null)},E=async(t,n)=>{if(t.trim())try{if(c.value=null,g.value=!1,i.value=!0,m.value=t,y.value=n||{},s.value.status){const{create:e}=G();await e({type:"info",...s.value})}o.value.status&&b();const r=await e.post(t,n);return u.value=r,r.data&&(d.value={...h.value,...r.data}),a.value&&(()=>{if(a.value&&d.value&&d.value&&"object"==typeof d.value&&"status"in d.value&&"message"in d.value){const{request:e}=U(),{status:t,message:n}=d.value;n&&e({status:t,message:n})}})(),r.data}catch(r){(e=>{var t;const{handleError:n}=ae();if("boolean"!=typeof e){if(g.value="AbortError"===(null==e?void 0:e.name)||!1,200!=e.status&&404!=e.status&&(null==e?void 0:e.response)){const{message:r}=null==(t=e.response)?void 0:t.data;return n(new Error(r))}n(e)}})(r)}finally{i.value=!1,o.value.text&&v()}},S=F();S.run((()=>{D(o,(e=>{e&&i.value?b():e||v()})),L((()=>{S.stop()}))}));return{...{loadingMask:o,dialog:s,message:a,loading:i,error:c,response:u,data:d,defaultData:h,statusCode:f,aborted:g,urlRef:m,paramsRef:y},...{execute:E,setParams:e=>(y.value=e,E(m.value,e)),setUrl:(e,t)=>(m.value=e,y.value=t||{},E(e,y.value)),cancel:e=>(g.value=!0,(e=>{var t;null==(t=jn.get(e))||t.abort()})(e)),cancelAll:()=>{g.value=!0,jn.clear()},fetch:e=>{if(m.value)return E(m.value,e||y.value)}}}};z((e=>new URLSearchParams(window.location.search).get(e)));const Pn=e=>re(ee("https:"===window.location.protocol),(e=>`https_${e}`),ne)(e);z(((e,t,n)=>{const r=Pn(e),o=(e=>{if(!e)return"";const t=new Date;return t.setTime(t.getTime()+24*e*60*60*1e3),`; expires=${t.toUTCString()}`})(n);document.cookie=`${r}=${encodeURIComponent(t)}${o}; path=/`}));const Bn=(e,t=!0)=>{const n=`${t?Pn(e):e}=`,r=document.cookie.split(";").map((e=>e.trim())).find((e=>e.startsWith(n)));return r?decodeURIComponent(r.substring(n.length)):null};z(Bn);const Nn=()=>{document.cookie.split(";").map((e=>e.trim())).forEach((e=>{const[t]=e.split("=");t&&(document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`)}))};z(((e,t,n)=>{const r=JSON.stringify(t);n.setItem(e,r)}));z(((e,t)=>{const n=t.getItem(e);return n?JSON.parse(n):null}));const Un=()=>sessionStorage.clear();var Fn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Dn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ln(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var zn={exports:{}};var Mn={exports:{}};const qn=Ln(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var In;function Hn(){return In||(In=1,Mn.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==Fn&&Fn.crypto&&(n=Fn.crypto),!n)try{n=qn}catch(m){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},i=s.lib={},a=i.Base=function(){return{extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=i.WordArray=a.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var s=0;s>>2]>>>24-s%4*8&255;t[r+s>>>2]|=i<<24-(r+s)%4*8}else for(var a=0;a>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},f=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=i.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,s=r.sigBytes,i=this.blockSize,a=s/(4*i),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*i,u=e.min(4*c,s);if(c){for(var f=0;f>>24)|4278255360&(o<<24|o>>>8)}var s=this._hash.words,a=e[t+0],d=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],y=e[t+5],g=e[t+6],w=e[t+7],b=e[t+8],v=e[t+9],E=e[t+10],S=e[t+11],O=e[t+12],x=e[t+13],R=e[t+14],C=e[t+15],T=s[0],A=s[1],_=s[2],j=s[3];T=l(T,A,_,j,a,7,i[0]),j=l(j,T,A,_,d,12,i[1]),_=l(_,j,T,A,p,17,i[2]),A=l(A,_,j,T,h,22,i[3]),T=l(T,A,_,j,m,7,i[4]),j=l(j,T,A,_,y,12,i[5]),_=l(_,j,T,A,g,17,i[6]),A=l(A,_,j,T,w,22,i[7]),T=l(T,A,_,j,b,7,i[8]),j=l(j,T,A,_,v,12,i[9]),_=l(_,j,T,A,E,17,i[10]),A=l(A,_,j,T,S,22,i[11]),T=l(T,A,_,j,O,7,i[12]),j=l(j,T,A,_,x,12,i[13]),_=l(_,j,T,A,R,17,i[14]),T=c(T,A=l(A,_,j,T,C,22,i[15]),_,j,d,5,i[16]),j=c(j,T,A,_,g,9,i[17]),_=c(_,j,T,A,S,14,i[18]),A=c(A,_,j,T,a,20,i[19]),T=c(T,A,_,j,y,5,i[20]),j=c(j,T,A,_,E,9,i[21]),_=c(_,j,T,A,C,14,i[22]),A=c(A,_,j,T,m,20,i[23]),T=c(T,A,_,j,v,5,i[24]),j=c(j,T,A,_,R,9,i[25]),_=c(_,j,T,A,h,14,i[26]),A=c(A,_,j,T,b,20,i[27]),T=c(T,A,_,j,x,5,i[28]),j=c(j,T,A,_,p,9,i[29]),_=c(_,j,T,A,w,14,i[30]),T=u(T,A=c(A,_,j,T,O,20,i[31]),_,j,y,4,i[32]),j=u(j,T,A,_,b,11,i[33]),_=u(_,j,T,A,S,16,i[34]),A=u(A,_,j,T,R,23,i[35]),T=u(T,A,_,j,d,4,i[36]),j=u(j,T,A,_,m,11,i[37]),_=u(_,j,T,A,w,16,i[38]),A=u(A,_,j,T,E,23,i[39]),T=u(T,A,_,j,x,4,i[40]),j=u(j,T,A,_,a,11,i[41]),_=u(_,j,T,A,h,16,i[42]),A=u(A,_,j,T,g,23,i[43]),T=u(T,A,_,j,v,4,i[44]),j=u(j,T,A,_,O,11,i[45]),_=u(_,j,T,A,C,16,i[46]),T=f(T,A=u(A,_,j,T,p,23,i[47]),_,j,a,6,i[48]),j=f(j,T,A,_,w,10,i[49]),_=f(_,j,T,A,R,15,i[50]),A=f(A,_,j,T,y,21,i[51]),T=f(T,A,_,j,O,6,i[52]),j=f(j,T,A,_,h,10,i[53]),_=f(_,j,T,A,E,15,i[54]),A=f(A,_,j,T,d,21,i[55]),T=f(T,A,_,j,b,6,i[56]),j=f(j,T,A,_,C,10,i[57]),_=f(_,j,T,A,g,15,i[58]),A=f(A,_,j,T,x,21,i[59]),T=f(T,A,_,j,m,6,i[60]),j=f(j,T,A,_,S,10,i[61]),_=f(_,j,T,A,p,15,i[62]),A=f(A,_,j,T,v,21,i[63]),s[0]=s[0]+T|0,s[1]=s[1]+A|0,s[2]=s[2]+_|0,s[3]=s[3]+j|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var s=e.floor(r/4294967296),i=r;n[15+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,s,i){var a=e+(t&n|~t&r)+o+i;return(a<>>32-s)+t}function c(e,t,n,r,o,s,i){var a=e+(t&r|n&~r)+o+i;return(a<>>32-s)+t}function u(e,t,n,r,o,s,i){var a=e+(t^n^r)+o+i;return(a<>>32-s)+t}function f(e,t,n,r,o,s,i){var a=e+(n^(t|~r))+o+i;return(a<>>32-s)+t}t.MD5=o._createHelper(a),t.HmacMD5=o._createHmacHelper(a)}(Math),Wn.MD5))),Vn={error:e=>(401===e.status&&M.push("/login"),e.status,e)};const Kn=new class{constructor(e={}){t(this,"instance"),t(this,"middlewares",[]);const{middlewares:n=[],...r}=e;this.instance=pn.create(r),this.middlewares=[...n],this.setupInterceptors()}async executeMiddlewareChain(e,t){let n={...t};for(const r of this.middlewares){const t=r[e];t&&(n=await t(n))}return n}setupInterceptors(){this.instance.interceptors.request.use((async e=>{let t={...e};return t=await this.executeMiddlewareChain("request",t),t}),(e=>Promise.reject(e))),this.instance.interceptors.response.use((async e=>{let t={...e};return t=await this.executeMiddlewareChain("response",t),t}))}use(e){return this.middlewares.push(e),this}getAxiosInstance(){return this.instance}async request(e){try{const t=await this.executeMiddlewareChain("request",e),n=await this.instance.request(t);return this.executeMiddlewareChain("response",n)}catch(t){const e=await this.executeMiddlewareChain("error",t);return Promise.reject(e)}}async get(e,t={}){return this.request({...t,url:e,method:"get"})}async post(e,t,n={}){return this.request({...n,url:e,data:t,method:"post"})}async put(e,t,n={}){return this.request({...n,url:e,data:t,method:"put"})}async delete(e,t={}){return this.request({...t,url:e,method:"delete"})}}({baseURL:"/",timeout:5e4,headers:{"Content-Type":"application/x-www-form-urlencoded"},middlewares:[Vn]}),Xn=(e,t)=>{const{urlRef:n,paramsRef:r,...o}=kn(Kn);return(()=>{const e=(new Date).getTime();Jn(e+Jn("123456").toString()).toString()})(),n.value=e,r.value=t||{},{urlRef:n,paramsRef:r,...o}};export{Bn as I,H as N,Nn as P,Un as T,Z as _,G as a,Y as b,Xn as c,pn as d,Dn as g,ne as i,Jn as m,ae as u}; +var e=Object.defineProperty,t=(t,n,r)=>((t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r)(t,"symbol"!=typeof n?n+"":n,r);import{D as n,E as r,c4 as o,F as s,d as i,H as a,P as l,T as c,I as u,K as f,c5 as d,l as p,c6 as h,aP as m,M as y,az as g,r as w,ay as b,Y as v,Z as E,_ as S,bI as O,c7 as x,c8 as R,c9 as C,bL as T,c as A,a3 as _,ca as j,bb as k,bh as P,cb as B,bm as N,f as U,aR as F,x as D,aS as L,bo as z,a6 as M}from"./main-BFwn2e3T.js";const q=n([n("@keyframes spin-rotate","\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n "),r("spin-container","\n position: relative;\n ",[r("spin-body","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[o()])]),r("spin-body","\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n "),r("spin","\n display: inline-flex;\n height: var(--n-size);\n width: var(--n-size);\n font-size: var(--n-size);\n color: var(--n-color);\n ",[s("rotate","\n animation: spin-rotate 2s linear infinite;\n ")]),r("spin-description","\n display: inline-block;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n margin-top: 8px;\n "),r("spin-content","\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n pointer-events: all;\n ",[s("spinning","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: none;\n opacity: var(--n-opacity-spinning);\n ")])]),I={small:20,medium:18,large:16},H=i({name:"Spin",props:Object.assign(Object.assign({},f.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=u(e),r=f("Spin","-spin",q,d,e,t),o=p((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:o}=r.value,{opacitySpinning:s,color:i,textColor:a}=o;return{"--n-bezier":n,"--n-opacity-spinning":s,"--n-size":"number"==typeof t?h(t):o[m("size",t)],"--n-color":i,"--n-text-color":a}})),s=n?y("spin",p((()=>{const{size:t}=e;return"number"==typeof t?String(t):t[0]})),o,e):void 0,i=g(e,["spinning","show"]),a=w(!1);return b((t=>{let n;if(i.value){const{delay:r}=e;if(r)return n=window.setTimeout((()=>{a.value=!0}),r),void t((()=>{clearTimeout(n)}))}a.value=i.value})),{mergedClsPrefix:t,active:a,mergedStrokeWidth:p((()=>{const{strokeWidth:t}=e;if(void 0!==t)return t;const{size:n}=e;return I["number"==typeof n?"medium":n]})),cssVars:n?void 0:o,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:r,description:o}=this,s=n.icon&&this.rotate,i=(o||n.description)&&a("div",{class:`${r}-spin-description`},o||(null===(e=n.description)||void 0===e?void 0:e.call(n))),u=n.icon?a("div",{class:[`${r}-spin-body`,this.themeClass]},a("div",{class:[`${r}-spin`,s&&`${r}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),i):a("div",{class:[`${r}-spin-body`,this.themeClass]},a(l,{clsPrefix:r,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${r}-spin`}),i);return null===(t=this.onRender)||void 0===t||t.call(this),n.default?a("div",{class:[`${r}-spin-container`,this.themeClass],style:this.cssVars},a("div",{class:[`${r}-spin-content`,this.active&&`${r}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),a(c,{name:"fade-in-transition"},{default:()=>this.active?u:null})):u}}),$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},W=i({name:"CheckmarkCircle24Filled",render:function(e,t){return E(),v("svg",$,t[0]||(t[0]=[S("g",{fill:"none"},[S("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm3.22 6.97l-4.47 4.47l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5a.75.75 0 1 0-1.06-1.06z",fill:"currentColor"})],-1)]))}}),J={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},V=i({name:"ErrorCircle24Filled",render:function(e,t){return E(),v("svg",J,t[0]||(t[0]=[S("g",{fill:"none"},[S("path",{d:"M12 2c5.523 0 10 4.478 10 10s-4.477 10-10 10S2 17.522 2 12S6.477 2 12 2zm.002 13.004a.999.999 0 1 0 0 1.997a.999.999 0 0 0 0-1.997zM12 7a1 1 0 0 0-.993.884L11 8l.002 5.001l.007.117a1 1 0 0 0 1.986 0l.007-.117L13 8l-.007-.117A1 1 0 0 0 12 7z",fill:"currentColor"})],-1)]))}}),K={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},X=i({name:"Info24Filled",render:function(e,t){return E(),v("svg",K,t[0]||(t[0]=[S("g",{fill:"none"},[S("path",{d:"M12 1.999c5.524 0 10.002 4.478 10.002 10.002c0 5.523-4.478 10.001-10.002 10.001C6.476 22.002 2 17.524 2 12.001C1.999 6.477 6.476 1.999 12 1.999zm-.004 8.25a1 1 0 0 0-.992.885l-.007.116l.004 5.502l.006.117a1 1 0 0 0 1.987-.002L13 16.75l-.004-5.501l-.007-.117a1 1 0 0 0-.994-.882zm.005-3.749a1.251 1.251 0 1 0 0 2.503A1.251 1.251 0 0 0 12 6.5z",fill:"currentColor"})],-1)]))}});function G(e){const t=T(),n=w(e||{}),r=O(),o=e=>{const{type:n="warning",title:o,area:s,content:i,draggable:l=!0,confirmText:c="确定",cancelText:u="取消",confirmButtonProps:f={type:"primary"},cancelButtonProps:d={type:"default"},maskClosable:p=!1,closeOnEsc:h=!1,autoFocus:m=!1,onConfirm:y,onCancel:g,onClose:w,onMaskClick:b,...v}=e,E={title:o,content:()=>(()=>{if(!i)return"";const e=a("div",{class:"flex pt-[0.4rem]"},[(e=>{const t={info:[A(X,{class:"text-primary"},null)],success:[A(W,{class:"text-success"},null)],warning:[A(X,{class:"text-warning"},null)],error:[A(V,{class:"text-error"},null)]};return a(_,{size:30,class:"n-dialog__icon"},(()=>t[e][0]))})(n),a("div",{class:"w-full pt-1 flex items-center"},"string"==typeof i?i:i())]);return t?e:a(C,{type:n},(()=>e))})(),style:s?"string"==typeof s?{width:s,height:"auto"}:{width:s[0],height:s[1]}:{width:"35rem",height:"auto"},draggable:l,maskClosable:p,showIcon:!1,closeOnEsc:h,autoFocus:m,positiveText:c,negativeText:u,positiveButtonProps:f,negativeButtonProps:d,onPositiveClick:y,onNegativeClick:g,onClose:w,onMaskClick:b,...v};if(t){const e=x();return r.value=e.create(E),r.value}const{dialog:S}=R(["dialog"]);return r.value=S.create(E),r.value},s={create:o,options:n,update:e=>(n.value=e,o(e)),success:(e,t={})=>o({...t,type:"success",content:e,showIcon:!0}),warning:(e,t={})=>o({...t,type:"warning",content:e}),error:(e,t={})=>o({...t,type:"error",content:e}),info:(e,t={})=>o({...t,type:"info",content:e}),request:(e,t={})=>o({...t,type:e.status?"success":"error",content:e.message}),destroyAll:()=>{var e;null==(e=r.value)||e.destroyAll()}};return e?Object.assign(o(e),s):s}const Q={text:"正在加载中,请稍后 ...",description:"",color:"",size:"small",stroke:"",show:!0,fullscreen:!0,background:"rgba(0, 0, 0, 0.5)",zIndex:2e3},Y=(e={})=>{const t=w({...Q,...e}),n=w(!1);let r=null,o=null;const s=()=>{const{target:e}=t.value;if(!e)return document.body;if("string"==typeof e){return document.querySelector(e)||document.body}return e},i=()=>{if(!n.value)return;const e=(()=>{o&&(document.body.removeChild(o),o=null),o=document.createElement("div");const e=s(),n={position:t.value.fullscreen?"fixed":"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:t.value.background,zIndex:t.value.zIndex,...t.value.customStyle||{}};if(!t.value.fullscreen&&e&&e!==document.body){const t=e.getBoundingClientRect();Object.assign(n,{top:`${t.top}px`,left:`${t.left}px`,width:`${t.width}px`,height:`${t.height}px`,position:"fixed"})}return Object.keys(n).forEach((e=>{o.style[e]=n[e]})),t.value.customClass&&(o.className=t.value.customClass),document.body.appendChild(o),o})(),i=A("div",{style:{display:"flex",alignItems:"center",padding:"16px 24px",backgroundColor:"#fff",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)"}},[A(H,{description:t.value.description,size:t.value.size,stroke:t.value.stroke,style:{marginRight:"12px"},...t.value.spinProps||{}}),A("span",{style:{fontSize:"14px",color:"#333"}},t.value.text)]);r=i,j(r,e)},a=()=>{var e,r;n.value=!1,o&&(j(null,o),document.body.removeChild(o),o=null),null==(r=(e=t.value).onClose)||r.call(e)};return{open:e=>{e&&(t.value={...t.value,...e}),n.value=!0,i()},close:a,update:e=>{t.value={...t.value,...e},n.value&&i()},destroy:()=>{a(),r=null}}};function Z(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return B(n)?t:k((function(t,r){return e(n,t,r)}));case 2:return B(n)&&B(r)?t:B(n)?k((function(t,n){return e(t,r,n)})):B(r)?k((function(t,r){return e(n,t,r)})):P((function(t){return e(n,r,t)}));default:return B(n)&&B(r)&&B(o)?t:B(n)&&B(r)?k((function(t,n){return e(t,n,o)})):B(n)&&B(o)?k((function(t,n){return e(t,r,n)})):B(r)&&B(o)?k((function(t,r){return e(n,t,r)})):B(n)?P((function(t){return e(t,r,o)})):B(r)?P((function(t){return e(n,t,o)})):B(o)?P((function(t){return e(n,r,t)})):e(n,r,o)}}}var ee=P((function(e){return function(){return e}}));function te(e){return e}var ne=P(te),re=Z((function(e,t,n){return N(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const oe=w([]),se={showMessage:!0,reportError:!0,autoAnalyze:!0,showDialog:!1},ie=e=>"AxiosError"===e.name?{type:"network",level:"error",summary:e.message,details:{message:e.message}}:e instanceof TypeError&&e.message.includes("network")?{type:"network",level:"error",summary:"网络请求错误",details:{message:e.message}}:e instanceof Error?{type:"runtime",level:"error",summary:e.message,details:{stack:e.stack,name:e.name}}:"object"==typeof e&&null!==e&&"code"in e?{type:"business",level:"warning",summary:"业务处理错误,请联系管理员",details:e}:"object"==typeof e&&null!==e&&Array.isArray(e)?{type:"validation",level:"warning",summary:"数据验证错误",details:{message:"数据验证错误,请检查输入内容"}}:"string"==typeof e?{type:"runtime",level:"error",summary:e,details:{message:e}}:{type:"runtime",level:"error",summary:"未知错误",details:{message:(null==e?void 0:e.message)||"未知错误"}},ae=(e={})=>{const t={...se,...e},n=(e,t)=>"boolean"!=typeof e&&(e=>"object"==typeof e&&null!==e&&"message"in e)(e)?e.message:t,r={collect:e=>{oe.value.push({...e,timestamp:Date.now()})},report:(e=oe.value)=>{t.reportError&&t.reportHandler&&t.reportHandler(e)},clear:()=>{oe.value=[]},analyze:e=>{const t=ie(e);return{message:t.summary,type:t.type,metadata:t.details,timestamp:Date.now()}}};return{handleError:(e,o)=>{const s=U();let i;if("boolean"==typeof e)return{default:t=>n(e,t)};if(i=t.autoAnalyze&&"object"==typeof e&&null!==e&&"message"in e?r.analyze(e):e,i.timestamp=Date.now(),oe.value.push(i),t.showMessage){const t=ie(e);switch(t.level){case"error":s.error(t.details.message||t.summary);break;case"warning":s.warning(t.details.message||t.summary);break;case"info":s.info(i.message||t.summary)}}return t.showDialog,t.customHandler&&t.customHandler(i),{errorInfo:i,...s,default:t=>n(e,t)}},collector:r,errorQueue:oe}};function le(e,t){return function(){return e.apply(t,arguments)}}const{toString:ce}=Object.prototype,{getPrototypeOf:ue}=Object,{iterator:fe,toStringTag:de}=Symbol,pe=(e=>t=>{const n=ce.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),he=e=>(e=e.toLowerCase(),t=>pe(t)===e),me=e=>t=>typeof t===e,{isArray:ye}=Array,ge=me("undefined");const we=he("ArrayBuffer");const be=me("string"),ve=me("function"),Ee=me("number"),Se=e=>null!==e&&"object"==typeof e,Oe=e=>{if("object"!==pe(e))return!1;const t=ue(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||de in e||fe in e)},xe=he("Date"),Re=he("File"),Ce=he("Blob"),Te=he("FileList"),Ae=he("URLSearchParams"),[_e,je,ke,Pe]=["ReadableStream","Request","Response","Headers"].map(he);function Be(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),ye(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Fe=e=>!ge(e)&&e!==Ue;const De=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&ue(Uint8Array)),Le=he("HTMLFormElement"),ze=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Me=he("RegExp"),qe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Be(n,((n,o)=>{let s;!1!==(s=t(n,o,e))&&(r[o]=s||n)})),Object.defineProperties(e,r)};const Ie=he("AsyncFunction"),He=($e="function"==typeof setImmediate,We=ve(Ue.postMessage),$e?setImmediate:We?(Je=`axios@${Math.random()}`,Ve=[],Ue.addEventListener("message",(({source:e,data:t})=>{e===Ue&&t===Je&&Ve.length&&Ve.shift()()}),!1),e=>{Ve.push(e),Ue.postMessage(Je,"*")}):e=>setTimeout(e));var $e,We,Je,Ve;const Ke="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ue):"undefined"!=typeof process&&process.nextTick||He,Xe={isArray:ye,isArrayBuffer:we,isBuffer:function(e){return null!==e&&!ge(e)&&null!==e.constructor&&!ge(e.constructor)&&ve(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||ve(e.append)&&("formdata"===(t=pe(e))||"object"===t&&ve(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&we(e.buffer),t},isString:be,isNumber:Ee,isBoolean:e=>!0===e||!1===e,isObject:Se,isPlainObject:Oe,isReadableStream:_e,isRequest:je,isResponse:ke,isHeaders:Pe,isUndefined:ge,isDate:xe,isFile:Re,isBlob:Ce,isRegExp:Me,isFunction:ve,isStream:e=>Se(e)&&ve(e.pipe),isURLSearchParams:Ae,isTypedArray:De,isFileList:Te,forEach:Be,merge:function e(){const{caseless:t}=Fe(this)&&this||{},n={},r=(r,o)=>{const s=t&&Ne(n,o)||o;Oe(n[s])&&Oe(r)?n[s]=e(n[s],r):Oe(r)?n[s]=e({},r):ye(r)?n[s]=r.slice():n[s]=r};for(let o=0,s=arguments.length;o(Be(t,((t,r)=>{n&&ve(t)?e[r]=le(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],r&&!r(i,e,t)||a[i]||(t[i]=e[i],a[i]=!0);e=!1!==n&&ue(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:pe,kindOfTest:he,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ye(e))return e;let t=e.length;if(!Ee(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[fe]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Le,hasOwnProperty:ze,hasOwnProp:ze,reduceDescriptors:qe,freezeMethods:e=>{qe(e,((t,n)=>{if(ve(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];ve(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ye(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ne,global:Ue,isContextDefined:Fe,isSpecCompliantForm:function(e){return!!(e&&ve(e.append)&&"FormData"===e[de]&&e[fe])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Se(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=ye(e)?[]:{};return Be(e,((e,t)=>{const s=n(e,r+1);!ge(s)&&(o[t]=s)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Ie,isThenable:e=>e&&(Se(e)||ve(e))&&ve(e.then)&&ve(e.catch),setImmediate:He,asap:Ke,isIterable:e=>null!=e&&ve(e[fe])};function Ge(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Xe.inherits(Ge,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Xe.toJSONObject(this.config),code:this.code,status:this.status}}});const Qe=Ge.prototype,Ye={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ye[e]={value:e}})),Object.defineProperties(Ge,Ye),Object.defineProperty(Qe,"isAxiosError",{value:!0}),Ge.from=(e,t,n,r,o,s)=>{const i=Object.create(Qe);return Xe.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ge.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};function Ze(e){return Xe.isPlainObject(e)||Xe.isArray(e)}function et(e){return Xe.endsWith(e,"[]")?e.slice(0,-2):e}function tt(e,t,n){return e?e.concat(t).map((function(e,t){return e=et(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const nt=Xe.toFlatObject(Xe,{},null,(function(e){return/^is[A-Z]/.test(e)}));function rt(e,t,n){if(!Xe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Xe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Xe.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,s=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Xe.isSpecCompliantForm(t);if(!Xe.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Xe.isDate(e))return e.toISOString();if(!a&&Xe.isBlob(e))throw new Ge("Blob is not supported. Use a Buffer instead.");return Xe.isArrayBuffer(e)||Xe.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(Xe.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Xe.isArray(e)&&function(e){return Xe.isArray(e)&&!e.some(Ze)}(e)||(Xe.isFileList(e)||Xe.endsWith(n,"[]"))&&(a=Xe.toArray(e)))return n=et(n),a.forEach((function(e,r){!Xe.isUndefined(e)&&null!==e&&t.append(!0===i?tt([n],r,s):null===i?n:n+"[]",l(e))})),!1;return!!Ze(e)||(t.append(tt(o,n,s),l(e)),!1)}const u=[],f=Object.assign(nt,{defaultVisitor:c,convertValue:l,isVisitable:Ze});if(!Xe.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Xe.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Xe.forEach(n,(function(n,s){!0===(!(Xe.isUndefined(n)||null===n)&&o.call(t,n,Xe.isString(s)?s.trim():s,r,f))&&e(n,r?r.concat(s):[s])})),u.pop()}}(e),t}function ot(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function st(e,t){this._pairs=[],e&&rt(e,this,t)}const it=st.prototype;function at(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(e,t,n){if(!t)return e;const r=n&&n.encode||at;Xe.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(s=o?o(t,n):Xe.isURLSearchParams(t)?t.toString():new st(t,n).toString(r),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}it.append=function(e,t){this._pairs.push([e,t])},it.toString=function(e){const t=e?function(t){return e.call(this,t,ot)}:ot;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class ct{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Xe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const ut={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ft={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:st,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},dt="undefined"!=typeof window&&"undefined"!=typeof document,pt="object"==typeof navigator&&navigator||void 0,ht=dt&&(!pt||["ReactNative","NativeScript","NS"].indexOf(pt.product)<0),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,yt=dt&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dt,hasStandardBrowserEnv:ht,hasStandardBrowserWebWorkerEnv:mt,navigator:pt,origin:yt},Symbol.toStringTag,{value:"Module"})),...ft};function wt(e){function t(e,n,r,o){let s=e[o++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=o>=e.length;if(s=!s&&Xe.isArray(r)?r.length:s,a)return Xe.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!i;r[s]&&Xe.isObject(r[s])||(r[s]=[]);return t(e,n,r[s],o)&&Xe.isArray(r[s])&&(r[s]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r{t(function(e){return Xe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const bt={transitional:ut,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Xe.isObject(e);o&&Xe.isHTMLForm(e)&&(e=new FormData(e));if(Xe.isFormData(e))return r?JSON.stringify(wt(e)):e;if(Xe.isArrayBuffer(e)||Xe.isBuffer(e)||Xe.isStream(e)||Xe.isFile(e)||Xe.isBlob(e)||Xe.isReadableStream(e))return e;if(Xe.isArrayBufferView(e))return e.buffer;if(Xe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return rt(e,new gt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return gt.isNode&&Xe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((s=Xe.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return rt(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Xe.isString(e))try{return(t||JSON.parse)(e),Xe.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||bt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Xe.isResponse(e)||Xe.isReadableStream(e))return e;if(e&&Xe.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw Ge.from(o,Ge.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Xe.forEach(["delete","get","head","post","put","patch"],(e=>{bt.headers[e]={}}));const vt=Xe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Et=Symbol("internals");function St(e){return e&&String(e).trim().toLowerCase()}function Ot(e){return!1===e||null==e?e:Xe.isArray(e)?e.map(Ot):String(e)}function xt(e,t,n,r,o){return Xe.isFunction(r)?r.call(this,t,n):(o&&(t=n),Xe.isString(t)?Xe.isString(r)?-1!==t.indexOf(r):Xe.isRegExp(r)?r.test(t):void 0:void 0)}let Rt=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=St(t);if(!o)throw new Error("header name must be a non-empty string");const s=Xe.findKey(r,o);(!s||void 0===r[s]||!0===n||void 0===n&&!1!==r[s])&&(r[s||t]=Ot(e))}const s=(e,t)=>Xe.forEach(e,((e,n)=>o(e,n,t)));if(Xe.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(Xe.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&vt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Xe.isObject(e)&&Xe.isIterable(e)){let n,r,o={};for(const t of e){if(!Xe.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?Xe.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}s(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=St(e)){const n=Xe.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Xe.isFunction(t))return t.call(this,e,n);if(Xe.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=St(e)){const n=Xe.findKey(this,e);return!(!n||void 0===this[n]||t&&!xt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=St(e)){const o=Xe.findKey(n,e);!o||t&&!xt(0,n[o],o,t)||(delete n[o],r=!0)}}return Xe.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!xt(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Xe.forEach(this,((r,o)=>{const s=Xe.findKey(n,o);if(s)return t[s]=Ot(r),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();i!==o&&delete t[o],t[i]=Ot(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Xe.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Xe.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Et]=this[Et]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=St(e);t[r]||(!function(e,t){const n=Xe.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Xe.isArray(e)?e.forEach(r):r(e),this}};function Ct(e,t){const n=this||bt,r=t||n,o=Rt.from(r.headers);let s=r.data;return Xe.forEach(e,(function(e){s=e.call(n,s,o.normalize(),t?t.status:void 0)})),o.normalize(),s}function Tt(e){return!(!e||!e.__CANCEL__)}function At(e,t,n){Ge.call(this,null==e?"canceled":e,Ge.ERR_CANCELED,t,n),this.name="CanceledError"}function _t(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ge("Request failed with status code "+n.status,[Ge.ERR_BAD_REQUEST,Ge.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Xe.reduceDescriptors(Rt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Xe.freezeMethods(Rt),Xe.inherits(At,Ge,{__CANCEL__:!0});const jt=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,s=0,i=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[i];o||(o=l),n[s]=a,r[s]=l;let u=i,f=0;for(;u!==s;)f+=n[u++],u%=e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),l-o{o=s,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=s?i(e,t):(n=e,r||(r=setTimeout((()=>{r=null,i(n)}),s-a)))},()=>n&&i(n)]}((n=>{const s=n.loaded,i=n.lengthComputable?n.total:void 0,a=s-r,l=o(a);r=s;e({loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&s<=i?(i-s)/l:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),n)},kt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Pt=e=>(...t)=>Xe.asap((()=>e(...t))),Bt=gt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,Nt=gt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];Xe.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),Xe.isString(r)&&i.push("path="+r),Xe.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ut(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ft=e=>e instanceof Rt?{...e}:e;function Dt(e,t){t=t||{};const n={};function r(e,t,n,r){return Xe.isPlainObject(e)&&Xe.isPlainObject(t)?Xe.merge.call({caseless:r},e,t):Xe.isPlainObject(t)?Xe.merge({},t):Xe.isArray(t)?t.slice():t}function o(e,t,n,o){return Xe.isUndefined(t)?Xe.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function s(e,t){if(!Xe.isUndefined(t))return r(void 0,t)}function i(e,t){return Xe.isUndefined(t)?Xe.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,s){return s in t?r(n,o):s in e?r(void 0,n):void 0}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>o(Ft(e),Ft(t),0,!0)};return Xe.forEach(Object.keys(Object.assign({},e,t)),(function(r){const s=l[r]||o,i=s(e[r],t[r],r);Xe.isUndefined(i)&&s!==a||(n[r]=i)})),n}const Lt=e=>{const t=Dt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=Rt.from(a),t.url=lt(Ut(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Xe.isFormData(r))if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(gt.hasStandardBrowserEnv&&(o&&Xe.isFunction(o)&&(o=o(t)),o||!1!==o&&Bt(t.url))){const e=s&&i&&Nt.read(i);e&&a.set(s,e)}return t},zt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Lt(e);let o=r.data;const s=Rt.from(r.headers).normalize();let i,a,l,c,u,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=r;function h(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(i),r.signal&&r.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function y(){if(!m)return;const r=Rt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());_t((function(e){t(e),h()}),(function(e){n(e),h()}),{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=y:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(y)},m.onabort=function(){m&&(n(new Ge("Request aborted",Ge.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Ge("Network Error",Ge.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ut;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ge(t,o.clarifyTimeoutError?Ge.ETIMEDOUT:Ge.ECONNABORTED,e,m)),m=null},void 0===o&&s.setContentType(null),"setRequestHeader"in m&&Xe.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),Xe.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),f&&"json"!==f&&(m.responseType=r.responseType),p&&([l,u]=jt(p,!0),m.addEventListener("progress",l)),d&&m.upload&&([a,c]=jt(d),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(i=t=>{m&&(n(!t||t.type?new At(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(i),r.signal&&(r.signal.aborted?i():r.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===gt.protocols.indexOf(g)?n(new Ge("Unsupported protocol "+g+":",Ge.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Mt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Ge?t:new At(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,o(new Ge(`timeout ${t} of ms exceeded`,Ge.ETIMEDOUT))}),t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>Xe.asap(i),a}},qt=function*(e,t){let n=e.byteLength;if(n{const o=async function*(e,t){for await(const n of It(e))yield*qt(n,t)}(e,t);let s,i=0,a=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let s=r.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},$t="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Wt=$t&&"function"==typeof ReadableStream,Jt=$t&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Vt=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},Kt=Wt&&Vt((()=>{let e=!1;const t=new Request(gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Xt=Wt&&Vt((()=>Xe.isReadableStream(new Response("").body))),Gt={stream:Xt&&(e=>e.body)};var Qt;$t&&(Qt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Gt[e]&&(Gt[e]=Xe.isFunction(Qt[e])?t=>t[e]():(t,n)=>{throw new Ge(`Response type '${e}' is not supported`,Ge.ERR_NOT_SUPPORT,n)})})));const Yt=async(e,t)=>{const n=Xe.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Xe.isBlob(e))return e.size;if(Xe.isSpecCompliantForm(e)){const t=new Request(gt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Xe.isArrayBufferView(e)||Xe.isArrayBuffer(e)?e.byteLength:(Xe.isURLSearchParams(e)&&(e+=""),Xe.isString(e)?(await Jt(e)).byteLength:void 0)})(t):n},Zt={http:null,xhr:zt,fetch:$t&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Lt(e);c=c?(c+"").toLowerCase():"text";let p,h=Mt([o,s&&s.toAbortSignal()],i);const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let y;try{if(l&&Kt&&"get"!==n&&"head"!==n&&0!==(y=await Yt(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Xe.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=kt(y,jt(Pt(l)));r=Ht(n.body,65536,e,t)}}Xe.isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?f:void 0});let s=await fetch(p);const i=Xt&&("stream"===c||"response"===c);if(Xt&&(a||i&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=s[t]}));const t=Xe.toFiniteNumber(s.headers.get("content-length")),[n,r]=a&&kt(t,jt(Pt(a),!0))||[];s=new Response(Ht(s.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let g=await Gt[Xe.findKey(Gt,c)||"text"](s,e);return!i&&m&&m(),await new Promise(((t,n)=>{_t(t,n,{data:g,headers:Rt.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:p})}))}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/Load failed|fetch/i.test(g.message))throw Object.assign(new Ge("Network Error",Ge.ERR_NETWORK,e,p),{cause:g.cause||g});throw Ge.from(g,g&&g.code,e,p)}})};Xe.forEach(Zt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const en=e=>`- ${e}`,tn=e=>Xe.isFunction(e)||null===e||!1===e,nn=e=>{e=Xe.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Ge("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(en).join("\n"):" "+en(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function rn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new At(null,e)}function on(e){rn(e),e.headers=Rt.from(e.headers),e.data=Ct.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return nn(e.adapter||bt.adapter)(e).then((function(t){return rn(e),t.data=Ct.call(e,e.transformResponse,t),t.headers=Rt.from(t.headers),t}),(function(t){return Tt(t)||(rn(e),t&&t.response&&(t.response.data=Ct.call(e,e.transformResponse,t.response),t.response.headers=Rt.from(t.response.headers))),Promise.reject(t)}))}const sn="1.9.0",an={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{an[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ln={};an.transitional=function(e,t,n){return(r,o,s)=>{if(!1===e)throw new Ge(function(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}(o," has been removed"+(t?" in "+t:"")),Ge.ERR_DEPRECATED);return t&&!ln[o]&&(ln[o]=!0),!e||e(r,o,s)}},an.spelling=function(e){return(e,t)=>!0};const cn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ge("options must be an object",Ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const t=e[s],n=void 0===t||i(t,s,e);if(!0!==n)throw new Ge("option "+s+" must be "+n,Ge.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ge("Unknown option "+s,Ge.ERR_BAD_OPTION)}},validators:an},un=cn.validators;let fn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ct,response:new ct}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Dt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&cn.assertOptions(n,{silentJSONParsing:un.transitional(un.boolean),forcedJSONParsing:un.transitional(un.boolean),clarifyTimeoutError:un.transitional(un.boolean)},!1),null!=r&&(Xe.isFunction(r)?t.paramsSerializer={serialize:r}:cn.assertOptions(r,{encode:un.function,serialize:un.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),cn.assertOptions(t,{baseUrl:un.spelling("baseURL"),withXsrfToken:un.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&Xe.merge(o.common,o[t.method]);o&&Xe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Rt.concat(s,o);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,f=0;if(!a){const e=[on.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);f{dn[t]=e}));const pn=function e(t){const n=new fn(t),r=le(fn.prototype.request,n);return Xe.extend(r,fn.prototype,n,{allOwnKeys:!0}),Xe.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Dt(t,n))},r}(bt);pn.Axios=fn,pn.CanceledError=At,pn.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new At(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}},pn.isCancel=Tt,pn.VERSION=sn,pn.toFormData=rt,pn.AxiosError=Ge,pn.Cancel=pn.CanceledError,pn.all=function(e){return Promise.all(e)},pn.spread=function(e){return function(t){return e.apply(null,t)}},pn.isAxiosError=function(e){return Xe.isObject(e)&&!0===e.isAxiosError},pn.mergeConfig=Dt,pn.AxiosHeaders=Rt,pn.formToJSON=e=>wt(Xe.isHTMLForm(e)?new FormData(e):e),pn.getAdapter=nn,pn.HttpStatusCode=dn,pn.default=pn;const{Axios:hn,AxiosError:mn,CanceledError:yn,isCancel:gn,CancelToken:wn,VERSION:bn,all:vn,Cancel:En,isAxiosError:Sn,spread:On,toFormData:xn,AxiosHeaders:Rn,HttpStatusCode:Cn,formToJSON:Tn,getAdapter:An,mergeConfig:_n}=pn;const jn=new Map,kn=e=>{const{open:t,close:n,update:r}=Y(),o=w({status:!1,text:"正在处理,请稍后..."}),s=w({status:!1}),i=w(!1),a=w(!1),l=O(null),c=O(null),u=O(null),f=p((()=>{var e;return(null==(e=u.value)?void 0:e.status)||null})),d=w({}),h=w({}),m=w(""),y=w({}),g=w(!1),b=()=>{o.value.status&&!l.value&&(r({...o.value}),t())},v=()=>{l.value&&(n(),l.value=null)},E=async(t,n)=>{if(t.trim())try{if(c.value=null,g.value=!1,i.value=!0,m.value=t,y.value=n||{},s.value.status){const{create:e}=G();await e({type:"info",...s.value})}o.value.status&&b();const r=await e.post(t,n);return u.value=r,r.data&&(d.value={...h.value,...r.data}),a.value&&(()=>{if(a.value&&d.value&&d.value&&"object"==typeof d.value&&"status"in d.value&&"message"in d.value){const{request:e}=U(),{status:t,message:n}=d.value;n&&e({status:t,message:n})}})(),r.data}catch(r){(e=>{var t;const{handleError:n}=ae();if("boolean"!=typeof e){if(g.value="AbortError"===(null==e?void 0:e.name)||!1,200!=e.status&&404!=e.status&&(null==e?void 0:e.response)){const{message:r}=null==(t=e.response)?void 0:t.data;return n(new Error(r))}n(e)}})(r)}finally{i.value=!1,o.value.text&&v()}},S=F();S.run((()=>{D(o,(e=>{e&&i.value?b():e||v()})),L((()=>{S.stop()}))}));return{...{loadingMask:o,dialog:s,message:a,loading:i,error:c,response:u,data:d,defaultData:h,statusCode:f,aborted:g,urlRef:m,paramsRef:y},...{execute:E,setParams:e=>(y.value=e,E(m.value,e)),setUrl:(e,t)=>(m.value=e,y.value=t||{},E(e,y.value)),cancel:e=>(g.value=!0,(e=>{var t;null==(t=jn.get(e))||t.abort()})(e)),cancelAll:()=>{g.value=!0,jn.clear()},fetch:e=>{if(m.value)return E(m.value,e||y.value)}}}};z((e=>new URLSearchParams(window.location.search).get(e)));const Pn=e=>re(ee("https:"===window.location.protocol),(e=>`https_${e}`),ne)(e);z(((e,t,n)=>{const r=Pn(e),o=(e=>{if(!e)return"";const t=new Date;return t.setTime(t.getTime()+24*e*60*60*1e3),`; expires=${t.toUTCString()}`})(n);document.cookie=`${r}=${encodeURIComponent(t)}${o}; path=/`}));const Bn=(e,t=!0)=>{const n=`${t?Pn(e):e}=`,r=document.cookie.split(";").map((e=>e.trim())).find((e=>e.startsWith(n)));return r?decodeURIComponent(r.substring(n.length)):null};z(Bn);const Nn=()=>{document.cookie.split(";").map((e=>e.trim())).forEach((e=>{const[t]=e.split("=");t&&(document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`)}))};z(((e,t,n)=>{const r=JSON.stringify(t);n.setItem(e,r)}));z(((e,t)=>{const n=t.getItem(e);return n?JSON.parse(n):null}));const Un=()=>sessionStorage.clear();var Fn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Dn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ln(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var zn={exports:{}};var Mn={exports:{}};const qn=Ln(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var In;function Hn(){return In||(In=1,Mn.exports=(e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==Fn&&Fn.crypto&&(n=Fn.crypto),!n)try{n=qn}catch(m){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(m){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},i=s.lib={},a=i.Base=function(){return{extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=i.WordArray=a.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var s=0;s>>2]>>>24-s%4*8&255;t[r+s>>>2]|=i<<24-(r+s)%4*8}else for(var a=0;a>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},f=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=i.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,s=r.sigBytes,i=this.blockSize,a=s/(4*i),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*i,u=e.min(4*c,s);if(c){for(var f=0;f>>24)|4278255360&(o<<24|o>>>8)}var s=this._hash.words,a=e[t+0],d=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],y=e[t+5],g=e[t+6],w=e[t+7],b=e[t+8],v=e[t+9],E=e[t+10],S=e[t+11],O=e[t+12],x=e[t+13],R=e[t+14],C=e[t+15],T=s[0],A=s[1],_=s[2],j=s[3];T=l(T,A,_,j,a,7,i[0]),j=l(j,T,A,_,d,12,i[1]),_=l(_,j,T,A,p,17,i[2]),A=l(A,_,j,T,h,22,i[3]),T=l(T,A,_,j,m,7,i[4]),j=l(j,T,A,_,y,12,i[5]),_=l(_,j,T,A,g,17,i[6]),A=l(A,_,j,T,w,22,i[7]),T=l(T,A,_,j,b,7,i[8]),j=l(j,T,A,_,v,12,i[9]),_=l(_,j,T,A,E,17,i[10]),A=l(A,_,j,T,S,22,i[11]),T=l(T,A,_,j,O,7,i[12]),j=l(j,T,A,_,x,12,i[13]),_=l(_,j,T,A,R,17,i[14]),T=c(T,A=l(A,_,j,T,C,22,i[15]),_,j,d,5,i[16]),j=c(j,T,A,_,g,9,i[17]),_=c(_,j,T,A,S,14,i[18]),A=c(A,_,j,T,a,20,i[19]),T=c(T,A,_,j,y,5,i[20]),j=c(j,T,A,_,E,9,i[21]),_=c(_,j,T,A,C,14,i[22]),A=c(A,_,j,T,m,20,i[23]),T=c(T,A,_,j,v,5,i[24]),j=c(j,T,A,_,R,9,i[25]),_=c(_,j,T,A,h,14,i[26]),A=c(A,_,j,T,b,20,i[27]),T=c(T,A,_,j,x,5,i[28]),j=c(j,T,A,_,p,9,i[29]),_=c(_,j,T,A,w,14,i[30]),T=u(T,A=c(A,_,j,T,O,20,i[31]),_,j,y,4,i[32]),j=u(j,T,A,_,b,11,i[33]),_=u(_,j,T,A,S,16,i[34]),A=u(A,_,j,T,R,23,i[35]),T=u(T,A,_,j,d,4,i[36]),j=u(j,T,A,_,m,11,i[37]),_=u(_,j,T,A,w,16,i[38]),A=u(A,_,j,T,E,23,i[39]),T=u(T,A,_,j,x,4,i[40]),j=u(j,T,A,_,a,11,i[41]),_=u(_,j,T,A,h,16,i[42]),A=u(A,_,j,T,g,23,i[43]),T=u(T,A,_,j,v,4,i[44]),j=u(j,T,A,_,O,11,i[45]),_=u(_,j,T,A,C,16,i[46]),T=f(T,A=u(A,_,j,T,p,23,i[47]),_,j,a,6,i[48]),j=f(j,T,A,_,w,10,i[49]),_=f(_,j,T,A,R,15,i[50]),A=f(A,_,j,T,y,21,i[51]),T=f(T,A,_,j,O,6,i[52]),j=f(j,T,A,_,h,10,i[53]),_=f(_,j,T,A,E,15,i[54]),A=f(A,_,j,T,d,21,i[55]),T=f(T,A,_,j,b,6,i[56]),j=f(j,T,A,_,C,10,i[57]),_=f(_,j,T,A,g,15,i[58]),A=f(A,_,j,T,x,21,i[59]),T=f(T,A,_,j,m,6,i[60]),j=f(j,T,A,_,S,10,i[61]),_=f(_,j,T,A,p,15,i[62]),A=f(A,_,j,T,v,21,i[63]),s[0]=s[0]+T|0,s[1]=s[1]+A|0,s[2]=s[2]+_|0,s[3]=s[3]+j|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var s=e.floor(r/4294967296),i=r;n[15+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,s,i){var a=e+(t&n|~t&r)+o+i;return(a<>>32-s)+t}function c(e,t,n,r,o,s,i){var a=e+(t&r|n&~r)+o+i;return(a<>>32-s)+t}function u(e,t,n,r,o,s,i){var a=e+(t^n^r)+o+i;return(a<>>32-s)+t}function f(e,t,n,r,o,s,i){var a=e+(n^(t|~r))+o+i;return(a<>>32-s)+t}t.MD5=o._createHelper(a),t.HmacMD5=o._createHmacHelper(a)}(Math),Wn.MD5))),Vn={error:e=>(401===e.status&&M.push("/login"),e.status,e)};const Kn=new class{constructor(e={}){t(this,"instance"),t(this,"middlewares",[]);const{middlewares:n=[],...r}=e;this.instance=pn.create(r),this.middlewares=[...n],this.setupInterceptors()}async executeMiddlewareChain(e,t){let n={...t};for(const r of this.middlewares){const t=r[e];t&&(n=await t(n))}return n}setupInterceptors(){this.instance.interceptors.request.use((async e=>{let t={...e};return t=await this.executeMiddlewareChain("request",t),t}),(e=>Promise.reject(e))),this.instance.interceptors.response.use((async e=>{let t={...e};return t=await this.executeMiddlewareChain("response",t),t}))}use(e){return this.middlewares.push(e),this}getAxiosInstance(){return this.instance}async request(e){try{const t=await this.executeMiddlewareChain("request",e),n=await this.instance.request(t);return this.executeMiddlewareChain("response",n)}catch(t){const e=await this.executeMiddlewareChain("error",t);return Promise.reject(e)}}async get(e,t={}){return this.request({...t,url:e,method:"get"})}async post(e,t,n={}){return this.request({...n,url:e,data:t,method:"post"})}async put(e,t,n={}){return this.request({...n,url:e,data:t,method:"put"})}async delete(e,t={}){return this.request({...t,url:e,method:"delete"})}}({baseURL:"/",timeout:5e4,headers:{"Content-Type":"application/x-www-form-urlencoded"},middlewares:[Vn]}),Xn=(e,t)=>{const{urlRef:n,paramsRef:r,...o}=kn(Kn);return(()=>{const e=(new Date).getTime();Jn(e+Jn("123456").toString()).toString()})(),n.value=e,r.value=t||{},{urlRef:n,paramsRef:r,...o}};export{Bn as I,H as N,Nn as P,Un as T,Z as _,G as a,Y as b,Xn as c,pn as d,Dn as g,ne as i,Jn as m,ae as u}; diff --git a/build/static/js/index-D5MR8xE9.js b/build/static/js/index-Dh2o934s.js similarity index 98% rename from build/static/js/index-D5MR8xE9.js rename to build/static/js/index-Dh2o934s.js index d2c8720..02c8d6a 100644 --- a/build/static/js/index-D5MR8xE9.js +++ b/build/static/js/index-Dh2o934s.js @@ -1 +1 @@ -import{d as e,Y as l,Z as t,_ as r,e as a,s,r as o,$ as c,u as i,o as n,c as u,N as d,i as m,a as _,a0 as x,b as f,a3 as p,B as v,ad as w,aa as b}from"./main-BFg_w1GP.js";import{g}from"./public-CCP70CLD.js";import{u as h,N as y}from"./index-CTQigr-B.js";import{F as k,C as T,a as $}from"./Flow-B3iVpgSc.js";const C={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},U=e({name:"ArrowRight",render:function(e,a){return t(),l("svg",C,a[0]||(a[0]=[r("path",{d:"M18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z",fill:"currentColor"},null,-1)]))}}),j=a("home-store",(()=>{const e=o(!1),l=o({workflow:{count:0,active:0,failure:0},cert:{count:0,will:0,end:0},site_monitor:{count:0,exception:0},workflow_history:[]}),{handleError:t}=h();return{loading:e,overviewData:l,fetchOverviewData:async()=>{try{e.value=!0;const{data:t,status:r}=await g().fetch();if(r){const{workflow:e,cert:r,site_monitor:a,workflow_history:s}=t;l.value={workflow:{count:(null==e?void 0:e.count)||0,active:(null==e?void 0:e.active)||0,failure:(null==e?void 0:e.failure)||0},cert:{count:(null==r?void 0:r.count)||0,will:(null==r?void 0:r.will)||0,end:(null==r?void 0:r.end)||0},site_monitor:{count:(null==a?void 0:a.count)||0,exception:(null==a?void 0:a.exception)||0},workflow_history:s||[]}}}catch(r){t(r).default(c("t_3_1745833936770"))}finally{e.value=!1}}}})),z=()=>{const e=j();return{...e,...s(e)}},D={stateText:"_stateText_1axc1_2",success:"_success_1axc1_3",warning:"_warning_1axc1_4",error:"_error_1axc1_5",info:"_info_1axc1_6",default:"_default_1axc1_7",cardHover:"_cardHover_1axc1_11",quickEntryCard:"_quickEntryCard_1axc1_20",workflow:"_workflow_1axc1_31",iconWrapper:"_iconWrapper_1axc1_35",title:"_title_1axc1_40",cert:"_cert_1axc1_45",monitor:"_monitor_1axc1_59",tableText:"_tableText_1axc1_89",workflowIcon:"_workflowIcon_1axc1_98",certIcon:"_certIcon_1axc1_99",monitorIcon:"_monitorIcon_1axc1_100",bgUtilSuccess:"_bgUtilSuccess_1axc1_106",bgUtilError:"_bgUtilError_1axc1_109",bgUtilWarning:"_bgUtilWarning_1axc1_113",bgUtilDecorative:"_bgUtilDecorative_1axc1_117"};function E(){const e=i(),{overviewData:l,fetchOverviewData:t}=z();function r(e){switch(e){case 1:return"success";case 0:return"warning";case-1:return"error";default:return"default"}}function a(e){switch(e){case 1:return c("t_8_1745227838023");case 0:return c("t_0_1747795605426");case-1:return c("t_9_1745227838305");default:return c("t_11_1745227838422")}}function s(e){return new Date(e).toLocaleString()}return n(t),{overviewData:l,pushToWorkflow:function(l=""){e.push("/auto-deploy"+(l?`?type=${l}`:""))},pushToCert:function(l=""){e.push("/cert-apply"+(l?`?type=${l}`:""))},pushToMonitor:function(l=""){e.push("/monitor"+(l?`?type=${l}`:""))},pushToCertManage:function(){e.push("/cert-manage")},getWorkflowStateType:r,getWorkflowStateText:a,formatExecTime:s,createColumns:function(){return[{title:c("t_2_1745289353944"),key:"name"},{title:c("t_0_1746590054456"),key:"state",render:e=>{const l=r(e.state),t=a(e.state);return u(d,{type:l,size:"small",class:`${D.stateText} ${D[l]}`},"function"==typeof(s=t)||"[object Object]"===Object.prototype.toString.call(s)&&!m(s)?t:{default:()=>[t]});var s}},{title:c("t_1_1746590060448"),key:"mode",render:e=>u("span",{class:D.tableText},[e.mode||c("t_11_1745227838422")])},{title:c("t_4_1745227838558"),key:"exec_time",render:e=>u("span",{class:D.tableText},[s(e.exec_time)])}]}}}const W=e({name:"HomeView",setup(){const{loading:e}=z(),{overviewData:l,pushToWorkflow:t,pushToCert:r,pushToMonitor:a,pushToCertManage:s,createColumns:o}=E(),i=o(),n=_(["successColor","errorColor","warningColor","primaryColor"]);return()=>u("div",{class:"mx-auto max-w-[1600px] w-full p-6",style:n.value},[u(y,{show:e.value},{default:()=>[u("div",{class:"flex flex-col h-full gap-8"},[u("div",{class:"grid grid-cols-1 md:grid-cols-3 gap-4"},[u("div",{onClick:()=>t(),class:"cursor-pointer relative"},[u("div",{class:`absolute right-0 top-0 w-24 h-24 rounded-full opacity-70 -z-10 ${D.bgUtilDecorative}`},null),u(x,{class:"transition-all duration-300 rounded-[0.6rem]",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center justify-center"},[u("div",{class:"flex-1"},[u("div",{class:D.tableText},[c("t_2_1746773350970")]),u("div",{class:"flex items-center xl:space-x-5 lg:space-x-4 md:space-x-3 space-x-3"},[u("div",null,[u("span",{class:"xl:text-[2.4rem] lg:text-[2.2rem] md:text-[2rem] text-[1.8rem] font-bold"},[l.value.workflow.count]),u("p",{class:D.tableText},[c("t_3_1746773348798")])]),u("div",{class:"border-l-2 xl:pl-[2rem] xl:ml-[3rem] lg:pl-[1.5rem] lg:ml-[2.5rem] md:pl-[1.5rem] md:ml-[2rem] pl-[1rem] ml-[1.5rem] min-h-[5rem] flex flex-col justify-center"},[u("div",{class:"flex items-center space-x-1"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilSuccess}`},null),u("span",{class:D.tableText},[c("t_0_1746782379424"),f(": "),l.value.workflow.active])]),u("div",{class:"flex items-center space-x-1 mt-3"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilError}`},null),u("span",{class:D.tableText},[c("t_4_1746773348957"),f(": "),l.value.workflow.failure])])])])]),u("div",{class:D.workflowIcon},[u(p,{size:"28"},{default:()=>[u(k,null,null)]})])])]})]),u("div",{onClick:()=>s(),class:"cursor-pointer relative"},[u("div",{class:`absolute right-0 top-0 w-24 h-24 rounded-full opacity-70 -z-10 ${D.bgUtilDecorative}`},null),u(x,{class:"transition-all duration-300 rounded-[0.6rem]",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center justify-center"},[u("div",{class:"flex-1"},[u("div",{class:D.tableText},[c("t_2_1744258111238")]),u("div",{class:"flex items-center xl:space-x-5 lg:space-x-4 md:space-x-3 space-x-3"},[u("div",null,[u("span",{class:"xl:text-[2.4rem] lg:text-[2.2rem] md:text-[2rem] text-[1.8rem] font-bold"},[l.value.cert.count]),u("p",{class:D.tableText},[c("t_3_1746773348798")])]),u("div",{class:"border-l-2 xl:pl-[2rem] xl:ml-[3rem] lg:pl-[1.5rem] lg:ml-[2.5rem] md:pl-[1.5rem] md:ml-[2rem] pl-[1rem] ml-[1.5rem] min-h-[5rem] flex flex-col justify-center"},[u("div",{class:"flex items-center space-x-1"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilWarning}`},null),u("span",{class:D.tableText},[c("t_5_1746773349141"),f(": "),l.value.cert.will])]),u("div",{class:"flex items-center space-x-1 mt-3"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilError}`},null),u("span",{class:D.tableText},[c("t_0_1746001199409"),f(": "),l.value.cert.end])])])])]),u("div",{class:D.certIcon},[u(p,{size:"28"},{default:()=>[u(T,null,null)]})])])]})]),u("div",{onClick:()=>a(),class:"cursor-pointer relative"},[u("div",{class:`absolute right-0 top-0 w-24 h-24 rounded-full opacity-70 -z-10 ${D.bgUtilDecorative}`},null),u(x,{class:"transition-all duration-300 rounded-[0.6rem]",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center justify-center"},[u("div",{class:"flex-1"},[u("div",{class:D.tableText},[c("t_6_1746773349980")]),u("div",{class:"flex items-center xl:space-x-5 lg:space-x-4 md:space-x-3 space-x-3"},[u("div",null,[u("span",{class:"xl:text-[2.4rem] lg:text-[2.2rem] md:text-[2rem] text-[1.8rem] font-bold"},[l.value.site_monitor.count]),u("p",{class:D.tableText},[c("t_3_1746773348798")])]),u("div",{class:"border-l-2 xl:pl-[2rem] xl:ml-[3rem] lg:pl-[1.5rem] lg:ml-[2.5rem] md:pl-[1.5rem] md:ml-[2rem] pl-[1rem] ml-[1.5rem] min-h-[5rem] flex flex-col justify-center"},[u("div",{class:"flex items-center space-x-1"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilError}`},null),u("span",{class:D.tableText},[c("t_7_1746773349302"),f(": "),l.value.site_monitor.exception])])])])]),u("div",{class:D.monitorIcon},[u(p,{size:"28"},{default:()=>[u($,null,null)]})])])]})])]),u(x,{class:"rounded-[0.6rem] transition-all duration-300",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex justify-between items-center mb-4"},[u("div",{class:D.tableText},[c("t_8_1746773351524")]),u(v,{text:!0,type:"primary",onClick:()=>t(),class:D.viewAllButton},{default:()=>[c("t_9_1746773348221"),u(p,{class:"ml-1"},{default:()=>[u(U,null,null)]})]})]),l.value.workflow_history.length>0?u(w,{columns:i,data:l.value.workflow_history,bordered:!1,size:"small",singleLine:!1,rowClassName:()=>"border-none",class:"border-none",style:{"--n-border-color":"transparent","--n-border-radius":"0"}},null):u(b,{description:c("t_10_1746773351576")},null)]}),u("div",{class:"grid grid-cols-1 md:grid-cols-3 gap-4"},[u("div",{onClick:()=>t("create"),class:"cursor-pointer"},[u(x,{class:`${D.quickEntryCard} ${D.workflow} transition-all duration-300`,hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center p-6"},[u("div",{class:`${D.iconWrapper} mr-6`},[u(p,{size:"32"},{default:()=>[u(k,null,null)]})]),u("div",{class:"flex-1"},[u("div",{class:`${D.title} text-[1.8rem] font-medium mb-3`},[c("t_11_1746773349054")]),u("div",{class:D.tableText},[c("t_12_1746773355641")])])])]})]),u("div",{onClick:()=>r(),class:"cursor-pointer"},[u(x,{class:`${D.quickEntryCard} ${D.cert} transition-all duration-300 rounded-[0.6rem]`,hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center p-6"},[u("div",{class:`${D.iconWrapper} mr-6`},[u(p,{size:"32"},{default:()=>[u(T,null,null)]})]),u("div",{class:"flex-1"},[u("div",{class:`${D.title} text-[1.8rem] font-medium mb-3`},[c("t_13_1746773349526")]),u("div",{class:D.tableText},[c("t_14_1746773355081")])])])]})]),u("div",{onClick:()=>a("create"),class:"cursor-pointer"},[u(x,{class:`${D.quickEntryCard} ${D.monitor} transition-all duration-300 rounded-[0.6rem]`,hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center p-6"},[u("div",{class:`${D.iconWrapper} mr-6`},[u(p,{size:"32"},{default:()=>[u($,null,null)]})]),u("div",{class:"flex-1"},[u("div",{class:`${D.title} text-[1.8rem] font-medium mb-3`},[c("t_11_1745289354516")]),u("div",{class:D.tableText},[c("t_1_1747019624067")])])])]})])])])]})])}});export{W as default}; +import{d as e,Y as l,Z as t,_ as r,e as a,s,r as o,$ as c,u as i,o as n,c as u,N as d,i as m,a as _,a0 as x,b as f,a3 as p,B as v,ad as w,aa as b}from"./main-BFwn2e3T.js";import{g}from"./public-CIep3lyx.js";import{u as h,N as y}from"./index-DVPyxbgP.js";import{F as k,C as T,a as $}from"./Flow-D8EIzUgU.js";const C={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},U=e({name:"ArrowRight",render:function(e,a){return t(),l("svg",C,a[0]||(a[0]=[r("path",{d:"M18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z",fill:"currentColor"},null,-1)]))}}),j=a("home-store",(()=>{const e=o(!1),l=o({workflow:{count:0,active:0,failure:0},cert:{count:0,will:0,end:0},site_monitor:{count:0,exception:0},workflow_history:[]}),{handleError:t}=h();return{loading:e,overviewData:l,fetchOverviewData:async()=>{try{e.value=!0;const{data:t,status:r}=await g().fetch();if(r){const{workflow:e,cert:r,site_monitor:a,workflow_history:s}=t;l.value={workflow:{count:(null==e?void 0:e.count)||0,active:(null==e?void 0:e.active)||0,failure:(null==e?void 0:e.failure)||0},cert:{count:(null==r?void 0:r.count)||0,will:(null==r?void 0:r.will)||0,end:(null==r?void 0:r.end)||0},site_monitor:{count:(null==a?void 0:a.count)||0,exception:(null==a?void 0:a.exception)||0},workflow_history:s||[]}}}catch(r){t(r).default(c("t_3_1745833936770"))}finally{e.value=!1}}}})),z=()=>{const e=j();return{...e,...s(e)}},D={stateText:"_stateText_1axc1_2",success:"_success_1axc1_3",warning:"_warning_1axc1_4",error:"_error_1axc1_5",info:"_info_1axc1_6",default:"_default_1axc1_7",cardHover:"_cardHover_1axc1_11",quickEntryCard:"_quickEntryCard_1axc1_20",workflow:"_workflow_1axc1_31",iconWrapper:"_iconWrapper_1axc1_35",title:"_title_1axc1_40",cert:"_cert_1axc1_45",monitor:"_monitor_1axc1_59",tableText:"_tableText_1axc1_89",workflowIcon:"_workflowIcon_1axc1_98",certIcon:"_certIcon_1axc1_99",monitorIcon:"_monitorIcon_1axc1_100",bgUtilSuccess:"_bgUtilSuccess_1axc1_106",bgUtilError:"_bgUtilError_1axc1_109",bgUtilWarning:"_bgUtilWarning_1axc1_113",bgUtilDecorative:"_bgUtilDecorative_1axc1_117"};function E(){const e=i(),{overviewData:l,fetchOverviewData:t}=z();function r(e){switch(e){case 1:return"success";case 0:return"warning";case-1:return"error";default:return"default"}}function a(e){switch(e){case 1:return c("t_8_1745227838023");case 0:return c("t_0_1747795605426");case-1:return c("t_9_1745227838305");default:return c("t_11_1745227838422")}}function s(e){return new Date(e).toLocaleString()}return n(t),{overviewData:l,pushToWorkflow:function(l=""){e.push("/auto-deploy"+(l?`?type=${l}`:""))},pushToCert:function(l=""){e.push("/cert-apply"+(l?`?type=${l}`:""))},pushToMonitor:function(l=""){e.push("/monitor"+(l?`?type=${l}`:""))},pushToCertManage:function(){e.push("/cert-manage")},getWorkflowStateType:r,getWorkflowStateText:a,formatExecTime:s,createColumns:function(){return[{title:c("t_2_1745289353944"),key:"name"},{title:c("t_0_1746590054456"),key:"state",render:e=>{const l=r(e.state),t=a(e.state);return u(d,{type:l,size:"small",class:`${D.stateText} ${D[l]}`},"function"==typeof(s=t)||"[object Object]"===Object.prototype.toString.call(s)&&!m(s)?t:{default:()=>[t]});var s}},{title:c("t_1_1746590060448"),key:"mode",render:e=>u("span",{class:D.tableText},[e.mode||c("t_11_1745227838422")])},{title:c("t_4_1745227838558"),key:"exec_time",render:e=>u("span",{class:D.tableText},[s(e.exec_time)])}]}}}const W=e({name:"HomeView",setup(){const{loading:e}=z(),{overviewData:l,pushToWorkflow:t,pushToCert:r,pushToMonitor:a,pushToCertManage:s,createColumns:o}=E(),i=o(),n=_(["successColor","errorColor","warningColor","primaryColor"]);return()=>u("div",{class:"mx-auto max-w-[1600px] w-full p-6",style:n.value},[u(y,{show:e.value},{default:()=>[u("div",{class:"flex flex-col h-full gap-8"},[u("div",{class:"grid grid-cols-1 md:grid-cols-3 gap-4"},[u("div",{onClick:()=>t(),class:"cursor-pointer relative"},[u("div",{class:`absolute right-0 top-0 w-24 h-24 rounded-full opacity-70 -z-10 ${D.bgUtilDecorative}`},null),u(x,{class:"transition-all duration-300 rounded-[0.6rem]",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center justify-center"},[u("div",{class:"flex-1"},[u("div",{class:D.tableText},[c("t_2_1746773350970")]),u("div",{class:"flex items-center xl:space-x-5 lg:space-x-4 md:space-x-3 space-x-3"},[u("div",null,[u("span",{class:"xl:text-[2.4rem] lg:text-[2.2rem] md:text-[2rem] text-[1.8rem] font-bold"},[l.value.workflow.count]),u("p",{class:D.tableText},[c("t_3_1746773348798")])]),u("div",{class:"border-l-2 xl:pl-[2rem] xl:ml-[3rem] lg:pl-[1.5rem] lg:ml-[2.5rem] md:pl-[1.5rem] md:ml-[2rem] pl-[1rem] ml-[1.5rem] min-h-[5rem] flex flex-col justify-center"},[u("div",{class:"flex items-center space-x-1"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilSuccess}`},null),u("span",{class:D.tableText},[c("t_0_1746782379424"),f(": "),l.value.workflow.active])]),u("div",{class:"flex items-center space-x-1 mt-3"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilError}`},null),u("span",{class:D.tableText},[c("t_4_1746773348957"),f(": "),l.value.workflow.failure])])])])]),u("div",{class:D.workflowIcon},[u(p,{size:"28"},{default:()=>[u(k,null,null)]})])])]})]),u("div",{onClick:()=>s(),class:"cursor-pointer relative"},[u("div",{class:`absolute right-0 top-0 w-24 h-24 rounded-full opacity-70 -z-10 ${D.bgUtilDecorative}`},null),u(x,{class:"transition-all duration-300 rounded-[0.6rem]",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center justify-center"},[u("div",{class:"flex-1"},[u("div",{class:D.tableText},[c("t_2_1744258111238")]),u("div",{class:"flex items-center xl:space-x-5 lg:space-x-4 md:space-x-3 space-x-3"},[u("div",null,[u("span",{class:"xl:text-[2.4rem] lg:text-[2.2rem] md:text-[2rem] text-[1.8rem] font-bold"},[l.value.cert.count]),u("p",{class:D.tableText},[c("t_3_1746773348798")])]),u("div",{class:"border-l-2 xl:pl-[2rem] xl:ml-[3rem] lg:pl-[1.5rem] lg:ml-[2.5rem] md:pl-[1.5rem] md:ml-[2rem] pl-[1rem] ml-[1.5rem] min-h-[5rem] flex flex-col justify-center"},[u("div",{class:"flex items-center space-x-1"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilWarning}`},null),u("span",{class:D.tableText},[c("t_5_1746773349141"),f(": "),l.value.cert.will])]),u("div",{class:"flex items-center space-x-1 mt-3"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilError}`},null),u("span",{class:D.tableText},[c("t_0_1746001199409"),f(": "),l.value.cert.end])])])])]),u("div",{class:D.certIcon},[u(p,{size:"28"},{default:()=>[u(T,null,null)]})])])]})]),u("div",{onClick:()=>a(),class:"cursor-pointer relative"},[u("div",{class:`absolute right-0 top-0 w-24 h-24 rounded-full opacity-70 -z-10 ${D.bgUtilDecorative}`},null),u(x,{class:"transition-all duration-300 rounded-[0.6rem]",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center justify-center"},[u("div",{class:"flex-1"},[u("div",{class:D.tableText},[c("t_6_1746773349980")]),u("div",{class:"flex items-center xl:space-x-5 lg:space-x-4 md:space-x-3 space-x-3"},[u("div",null,[u("span",{class:"xl:text-[2.4rem] lg:text-[2.2rem] md:text-[2rem] text-[1.8rem] font-bold"},[l.value.site_monitor.count]),u("p",{class:D.tableText},[c("t_3_1746773348798")])]),u("div",{class:"border-l-2 xl:pl-[2rem] xl:ml-[3rem] lg:pl-[1.5rem] lg:ml-[2.5rem] md:pl-[1.5rem] md:ml-[2rem] pl-[1rem] ml-[1.5rem] min-h-[5rem] flex flex-col justify-center"},[u("div",{class:"flex items-center space-x-1"},[u("span",{class:`w-4 h-4 rounded-full mr-[.6rem] ${D.bgUtilError}`},null),u("span",{class:D.tableText},[c("t_7_1746773349302"),f(": "),l.value.site_monitor.exception])])])])]),u("div",{class:D.monitorIcon},[u(p,{size:"28"},{default:()=>[u($,null,null)]})])])]})])]),u(x,{class:"rounded-[0.6rem] transition-all duration-300",hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex justify-between items-center mb-4"},[u("div",{class:D.tableText},[c("t_8_1746773351524")]),u(v,{text:!0,type:"primary",onClick:()=>t(),class:D.viewAllButton},{default:()=>[c("t_9_1746773348221"),u(p,{class:"ml-1"},{default:()=>[u(U,null,null)]})]})]),l.value.workflow_history.length>0?u(w,{columns:i,data:l.value.workflow_history,bordered:!1,size:"small",singleLine:!1,rowClassName:()=>"border-none",class:"border-none",style:{"--n-border-color":"transparent","--n-border-radius":"0"}},null):u(b,{description:c("t_10_1746773351576")},null)]}),u("div",{class:"grid grid-cols-1 md:grid-cols-3 gap-4"},[u("div",{onClick:()=>t("create"),class:"cursor-pointer"},[u(x,{class:`${D.quickEntryCard} ${D.workflow} transition-all duration-300`,hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center p-6"},[u("div",{class:`${D.iconWrapper} mr-6`},[u(p,{size:"32"},{default:()=>[u(k,null,null)]})]),u("div",{class:"flex-1"},[u("div",{class:`${D.title} text-[1.8rem] font-medium mb-3`},[c("t_11_1746773349054")]),u("div",{class:D.tableText},[c("t_12_1746773355641")])])])]})]),u("div",{onClick:()=>r(),class:"cursor-pointer"},[u(x,{class:`${D.quickEntryCard} ${D.cert} transition-all duration-300 rounded-[0.6rem]`,hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center p-6"},[u("div",{class:`${D.iconWrapper} mr-6`},[u(p,{size:"32"},{default:()=>[u(T,null,null)]})]),u("div",{class:"flex-1"},[u("div",{class:`${D.title} text-[1.8rem] font-medium mb-3`},[c("t_13_1746773349526")]),u("div",{class:D.tableText},[c("t_14_1746773355081")])])])]})]),u("div",{onClick:()=>a("create"),class:"cursor-pointer"},[u(x,{class:`${D.quickEntryCard} ${D.monitor} transition-all duration-300 rounded-[0.6rem]`,hoverable:!0,bordered:!1},{default:()=>[u("div",{class:"flex items-center p-6"},[u("div",{class:`${D.iconWrapper} mr-6`},[u(p,{size:"32"},{default:()=>[u($,null,null)]})]),u("div",{class:"flex-1"},[u("div",{class:`${D.title} text-[1.8rem] font-medium mb-3`},[c("t_11_1745289354516")]),u("div",{class:D.tableText},[c("t_1_1747019624067")])])])]})])])])]})])}});export{W as default}; diff --git a/build/static/js/index-g3SGqAl4.js b/build/static/js/index-Di8lQRyt.js similarity index 94% rename from build/static/js/index-g3SGqAl4.js rename to build/static/js/index-Di8lQRyt.js index 841ea6b..500dafe 100644 --- a/build/static/js/index-g3SGqAl4.js +++ b/build/static/js/index-Di8lQRyt.js @@ -1 +1 @@ -import{e,s as t,r as a,$ as r,g as o,h as l,c as n,N as s,B as i,b as c,j as d,k as u,i as p,y as m,m as _,z as y,ab as f,d as g,a as h,o as w,ac as C,t as x}from"./main-BFg_w1GP.js";import{u as k,a as b,b as v}from"./index-CTQigr-B.js";import{g as j,u as z,d as E}from"./cert-mhsSCrIL.js";import{B as F}from"./index-CiXlCrWk.js";import{E as N,S as U}from"./index-P-RSxeKl.js";import{a as S}from"./index-CtqD4msy.js";const{handleError:T}=k(),V=e("cert-manage-store",(()=>{const e=a({cert_id:"",cert:"",key:""});return{uploadForm:e,fetchCertList:async e=>{try{const{data:t,count:a}=await j(e).fetch();return{list:t||[],total:a}}catch(t){return T(t),{list:[],total:0}}},downloadExistingCert:e=>{try{const t=document.createElement("a");t.href="/v1/cert/download?id="+e,t.target="_blank",t.click()}catch(t){T(t).default(r("t_38_1745227838813"))}},uploadNewCert:async e=>{try{const{message:t,fetch:a}=z(e);t.value=!0,await a()}catch(t){T(t)}},deleteExistingCert:async e=>{try{const{message:t,fetch:a}=E({id:e});t.value=!0,await a()}catch(t){T(t)}},resetUploadForm:()=>{e.value={cert:"",key:""}}}}));function P(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!p(e)}const{handleError:O}=k(),{useFormTextarea:q}=_(),{fetchCertList:M,downloadExistingCert:R,deleteExistingCert:B,uploadNewCert:L,uploadForm:H,resetUploadForm:A}=(()=>{const e=V();return{...e,...t(e)}})(),{confirm:I}=y(),K=()=>{const{open:e,close:t}=v({text:r("t_0_1746667592819")}),{example:a,component:o,loading:l,fetch:n}=m({config:[q(r("t_34_1745227839375"),"cert",{placeholder:r("t_35_1745227839208"),rows:6}),q(r("t_36_1745227838958"),"key",{placeholder:r("t_37_1745227839669"),rows:6})],request:L,defaultValue:H,rules:{cert:[{required:!0,message:r("t_35_1745227839208"),trigger:"input"}],key:[{required:!0,message:r("t_37_1745227839669"),trigger:"input"}]}});return I((async a=>{try{e(),await n(),a()}catch(r){O(r)}finally{t()}})),{UploadCertForm:o,example:a,loading:l,fetch:n}},$=e=>{const t=async e=>{const t=f();try{await navigator.clipboard.writeText(e),t.success("复制成功")}catch(a){try{const a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a),t.success("复制成功")}catch(r){t.error("复制失败")}}},a=e.cert+(e.issuer_cert?"\n"+e.issuer_cert:""),{component:o}=m({config:[q(r("t_34_1745227839375"),"cert",{placeholder:"",rows:8,readonly:!0},{},{suffix:[()=>{let e;return n(i,{size:"tiny",type:"primary",ghost:!0,onClick:()=>t(a)},P(e=r("t_4_1747984130327"))?e:{default:()=>[e]})}]}),q(r("t_36_1745227838958"),"key",{placeholder:"",rows:8,readonly:!0},{},{suffix:[()=>{let a;return n(i,{size:"tiny",type:"primary",ghost:!0,onClick:()=>t(e.key)},P(a=r("t_4_1747984130327"))?a:{default:()=>[a]})}]})],defaultValue:{cert:a,key:e.key}});return{ViewCertForm:o}};const D=g({name:"CertManage",setup(){const{CertTable:e,CertTablePage:t,fetch:a,data:m,param:_,openUploadModal:y,getRowClassName:f}=(()=>{const{component:e,loading:t,param:a,data:p,total:m,fetch:_}=o({config:[{title:r("t_17_1745227838561"),key:"domains",width:200,ellipsis:{tooltip:!0}},{title:r("t_18_1745227838154"),key:"issuer",width:200,ellipsis:{tooltip:!0}},{title:r("t_21_1745227837972"),key:"source",width:100,render:e=>"upload"!==e.source?r("t_22_1745227838154"):r("t_23_1745227838699")},{title:r("t_19_1745227839107"),key:"end_day",width:100,render:e=>{const t=Number(e.end_day),a=[[t<=0,"error",r("t_0_1746001199409")],[t<30,"warning",r("t_1_1745999036289",{days:e.end_day})],[t>30,"success",r("t_0_1745999035681",{days:e.end_day})]],[o,l,i]=a.find((e=>e[0]))??["default","error","获取失败"];return n(s,{type:l,size:"small"},P(i)?i:{default:()=>[i]})}},{title:r("t_20_1745227838813"),key:"end_time",width:150},{title:r("t_24_1745227839508"),key:"create_time",width:150},{title:r("t_8_1745215914610"),key:"actions",fixed:"right",align:"right",width:200,render:e=>{let t,a;return n(d,{justify:"end"},{default:()=>[n(i,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>g(e)},{default:()=>[c("查看")]}),n(i,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>R(e.id.toString())},P(t=r("t_25_1745227838080"))?t:{default:()=>[t]}),n(i,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>f(e)},P(a=r("t_12_1745215914312"))?a:{default:()=>[a]})]})}}],request:M,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:y}=l({param:a,total:m,alias:{page:"p",pageSize:"limit"}}),f=async({id:e})=>{b({title:r("t_29_1745227838410"),content:r("t_30_1745227841739"),onPositiveClick:async()=>{try{await B(e.toString()),await _()}catch(t){O(t)}}})},g=e=>{u({title:"查看证书信息",area:600,component:()=>{const{ViewCertForm:t}=$(e);return n(t,{labelPlacement:"top"},null)},footer:!1})};return{loading:t,fetch:_,CertTable:e,CertTablePage:y,getRowClassName:e=>{const t=Number(e.end_day);return t<=0?"bg-red-500/10":t<30?"bg-orange-500/10":""},param:a,data:p,openUploadModal:()=>{u({title:r("t_13_1745227838275"),area:600,component:()=>{const{UploadCertForm:e}=K();return n(e,{labelPlacement:"top"},null)},footer:!0,onUpdateShow:e=>{e||_(),A()}})},openViewModal:g}})(),g=h(["contentPadding","borderColor","headerHeight","iconColorHover"]);w((()=>a()));const{theme:k,themeOverrides:v}=C();return()=>n("div",{class:"h-full flex flex-col",style:g.value},[n("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[n(F,null,{headerLeft:()=>{let e;return n(i,{type:"primary",size:"large",class:"px-5",onClick:y},"function"==typeof(t=e=r("t_13_1745227838275"))||"[object Object]"===Object.prototype.toString.call(t)&&!p(t)?e:{default:()=>[e]});var t},headerRight:()=>n(x,{value:_.value.search,"onUpdate:value":e=>_.value.search=e,onKeydown:e=>{"Enter"===e.key&&a()},onClear:()=>S(a,100),placeholder:r("t_14_1745227840904"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>n("div",{class:"flex items-center",onClick:a},[n(U,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])}),content:()=>n("div",{class:"rounded-lg"},[n(e,{size:"medium",rowClassName:f},{empty:()=>n(N,{addButtonText:r("t_1_1747047213009"),onAddClick:y},null)})]),footerRight:()=>n("div",{class:"mt-4 flex justify-end"},[n(t,null,{prefix:()=>n("span",null,[r("t_15_1745227839354"),c(" "),m.value.total,c(" "),r("t_16_1745227838930")])})])})])])}});export{D as default}; +import{e,s as t,r as a,$ as r,g as o,h as l,c as n,N as s,B as i,b as c,j as d,k as u,i as p,y as m,m as _,z as y,ab as f,d as g,a as h,o as w,ac as C,t as x}from"./main-BFwn2e3T.js";import{u as k,a as b,b as v}from"./index-DVPyxbgP.js";import{g as j,u as z,d as E}from"./cert-B6n1PFp6.js";import{B as F}from"./index-BL1j0ssQ.js";import{E as N,S as U}from"./index-BfiZrXAG.js";import{a as S}from"./index-9yXMuG-J.js";const{handleError:T}=k(),V=e("cert-manage-store",(()=>{const e=a({cert_id:"",cert:"",key:""});return{uploadForm:e,fetchCertList:async e=>{try{const{data:t,count:a}=await j(e).fetch();return{list:t||[],total:a}}catch(t){return T(t),{list:[],total:0}}},downloadExistingCert:e=>{try{const t=document.createElement("a");t.href="/v1/cert/download?id="+e,t.target="_blank",t.click()}catch(t){T(t).default(r("t_38_1745227838813"))}},uploadNewCert:async e=>{try{const{message:t,fetch:a}=z(e);t.value=!0,await a()}catch(t){T(t)}},deleteExistingCert:async e=>{try{const{message:t,fetch:a}=E({id:e});t.value=!0,await a()}catch(t){T(t)}},resetUploadForm:()=>{e.value={cert:"",key:""}}}}));function P(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!p(e)}const{handleError:O}=k(),{useFormTextarea:q}=_(),{fetchCertList:M,downloadExistingCert:R,deleteExistingCert:B,uploadNewCert:L,uploadForm:H,resetUploadForm:A}=(()=>{const e=V();return{...e,...t(e)}})(),{confirm:I}=y(),K=()=>{const{open:e,close:t}=v({text:r("t_0_1746667592819")}),{example:a,component:o,loading:l,fetch:n}=m({config:[q(r("t_34_1745227839375"),"cert",{placeholder:r("t_35_1745227839208"),rows:6}),q(r("t_36_1745227838958"),"key",{placeholder:r("t_37_1745227839669"),rows:6})],request:L,defaultValue:H,rules:{cert:[{required:!0,message:r("t_35_1745227839208"),trigger:"input"}],key:[{required:!0,message:r("t_37_1745227839669"),trigger:"input"}]}});return I((async a=>{try{e(),await n(),a()}catch(r){O(r)}finally{t()}})),{UploadCertForm:o,example:a,loading:l,fetch:n}},$=e=>{const t=async e=>{const t=f();try{await navigator.clipboard.writeText(e),t.success("复制成功")}catch(a){try{const a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a),t.success("复制成功")}catch(r){t.error("复制失败")}}},a=e.cert+(e.issuer_cert?"\n"+e.issuer_cert:""),{component:o}=m({config:[q(r("t_34_1745227839375"),"cert",{placeholder:"",rows:8,readonly:!0},{},{suffix:[()=>{let e;return n(i,{size:"tiny",type:"primary",ghost:!0,onClick:()=>t(a)},P(e=r("t_4_1747984130327"))?e:{default:()=>[e]})}]}),q(r("t_36_1745227838958"),"key",{placeholder:"",rows:8,readonly:!0},{},{suffix:[()=>{let a;return n(i,{size:"tiny",type:"primary",ghost:!0,onClick:()=>t(e.key)},P(a=r("t_4_1747984130327"))?a:{default:()=>[a]})}]})],defaultValue:{cert:a,key:e.key}});return{ViewCertForm:o}};const D=g({name:"CertManage",setup(){const{CertTable:e,CertTablePage:t,fetch:a,data:m,param:_,openUploadModal:y,getRowClassName:f}=(()=>{const{component:e,loading:t,param:a,data:p,total:m,fetch:_}=o({config:[{title:r("t_17_1745227838561"),key:"domains",width:200,ellipsis:{tooltip:!0}},{title:r("t_18_1745227838154"),key:"issuer",width:200,ellipsis:{tooltip:!0}},{title:r("t_21_1745227837972"),key:"source",width:100,render:e=>"upload"!==e.source?r("t_22_1745227838154"):r("t_23_1745227838699")},{title:r("t_19_1745227839107"),key:"end_day",width:100,render:e=>{const t=Number(e.end_day),a=[[t<=0,"error",r("t_0_1746001199409")],[t<30,"warning",r("t_1_1745999036289",{days:e.end_day})],[t>30,"success",r("t_0_1745999035681",{days:e.end_day})]],[o,l,i]=a.find((e=>e[0]))??["default","error","获取失败"];return n(s,{type:l,size:"small"},P(i)?i:{default:()=>[i]})}},{title:r("t_20_1745227838813"),key:"end_time",width:150},{title:r("t_24_1745227839508"),key:"create_time",width:150},{title:r("t_8_1745215914610"),key:"actions",fixed:"right",align:"right",width:200,render:e=>{let t,a;return n(d,{justify:"end"},{default:()=>[n(i,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>g(e)},{default:()=>[c("查看")]}),n(i,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>R(e.id.toString())},P(t=r("t_25_1745227838080"))?t:{default:()=>[t]}),n(i,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>f(e)},P(a=r("t_12_1745215914312"))?a:{default:()=>[a]})]})}}],request:M,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:y}=l({param:a,total:m,alias:{page:"p",pageSize:"limit"}}),f=async({id:e})=>{b({title:r("t_29_1745227838410"),content:r("t_30_1745227841739"),onPositiveClick:async()=>{try{await B(e.toString()),await _()}catch(t){O(t)}}})},g=e=>{u({title:"查看证书信息",area:600,component:()=>{const{ViewCertForm:t}=$(e);return n(t,{labelPlacement:"top"},null)},footer:!1})};return{loading:t,fetch:_,CertTable:e,CertTablePage:y,getRowClassName:e=>{const t=Number(e.end_day);return t<=0?"bg-red-500/10":t<30?"bg-orange-500/10":""},param:a,data:p,openUploadModal:()=>{u({title:r("t_13_1745227838275"),area:600,component:()=>{const{UploadCertForm:e}=K();return n(e,{labelPlacement:"top"},null)},footer:!0,onUpdateShow:e=>{e||_(),A()}})},openViewModal:g}})(),g=h(["contentPadding","borderColor","headerHeight","iconColorHover"]);w((()=>a()));const{theme:k,themeOverrides:v}=C();return()=>n("div",{class:"h-full flex flex-col",style:g.value},[n("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[n(F,null,{headerLeft:()=>{let e;return n(i,{type:"primary",size:"large",class:"px-5",onClick:y},"function"==typeof(t=e=r("t_13_1745227838275"))||"[object Object]"===Object.prototype.toString.call(t)&&!p(t)?e:{default:()=>[e]});var t},headerRight:()=>n(x,{value:_.value.search,"onUpdate:value":e=>_.value.search=e,onKeydown:e=>{"Enter"===e.key&&a()},onClear:()=>S(a,100),placeholder:r("t_14_1745227840904"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>n("div",{class:"flex items-center",onClick:a},[n(U,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])}),content:()=>n("div",{class:"rounded-lg"},[n(e,{size:"medium",rowClassName:f},{empty:()=>n(N,{addButtonText:r("t_1_1747047213009"),onAddClick:y},null)})]),footerRight:()=>n("div",{class:"mt-4 flex justify-end"},[n(t,null,{prefix:()=>n("span",null,[r("t_15_1745227839354"),c(" "),m.value.total,c(" "),r("t_16_1745227838930")])})])})])])}});export{D as default}; diff --git a/build/static/js/index-C9c_68Du.js b/build/static/js/index-Dy4H4cJk.js similarity index 95% rename from build/static/js/index-C9c_68Du.js rename to build/static/js/index-Dy4H4cJk.js index a4bbcae..28bc52b 100644 --- a/build/static/js/index-C9c_68Du.js +++ b/build/static/js/index-Dy4H4cJk.js @@ -1 +1 @@ -import{e,s as t,r as a,$ as s,f as r,d as n,c as i,g as l,h as o,o as c,N as u,j as p,B as _,k as d,i as g,l as f,m as y,n as m,p as h,q as w,t as v,v as k,w as b,x,y as A,z as j,a as q,b as I}from"./main-BFg_w1GP.js";import{u as S,a as E,b as F}from"./index-CTQigr-B.js";import{N as P,a as z,w as T,T as C,H as U,O as K}from"./business-CHQBsAXz.js";import{g as M,a as L,u as O,d as R,t as N}from"./access-B4X6xtmm.js";import{A as B}from"./data-BFMmsjgZ.js";import{S as V}from"./index-BJNUeE_-.js";import{T as H}from"./index-LKLPe19M.js";import{n as J}from"./utils-CRt-4gJj.js";import{E as W,S as $}from"./index-P-RSxeKl.js";import{B as G}from"./index-CiXlCrWk.js";import{u as D}from"./index-CtqD4msy.js";const Q=r(),X=e("auth-api-manage-store",(()=>{const{handleError:e}=S(),t=a({name:"",type:"btpanel",config:{url:"",api_key:"",ignore_ssl:"0"}}),r={dns:s("t_3_1745735765112"),host:s("t_0_1746754500246")},n=()=>{t.value={name:"",type:"btpanel",config:{url:"",api_key:"",ignore_ssl:"0"}}};return{apiFormProps:t,accessTypeMap:r,fetchAccessList:async t=>{try{const e=await M(t).fetch();return{list:e.data||[],total:e.count}}catch(a){return e(a),{list:[],total:0}}},addNewAccess:async t=>{try{const{fetch:e,message:a}=L(t);a.value=!0,await e(),n()}catch(a){throw e(a)&&Q.error(s("t_8_1745289354902")),a}},updateExistingAccess:async t=>{try{const{fetch:e,message:a}=O(t);a.value=!0,await e(),n()}catch(a){throw e(a)&&Q.error(s("t_40_1745227838872")),a}},deleteExistingAccess:async t=>{try{const{fetch:e,message:a}=R({id:t});a.value=!0,await e(),n()}catch(a){throw e(a)&&Q.error(s("t_40_1745227838872")),a}},resetApiForm:n}})),Y=n({name:"ApiManageForm",props:{data:{type:Object,default:()=>{}}},setup(e){const{ApiManageForm:t}=ce(e);return()=>i("div",{class:"p-4"},[i(t,{labelPlacement:"top",requireMarkPlacement:"right-hanging"},null)])}});function Z(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!g(e)}const{accessTypeMap:ee,apiFormProps:te,fetchAccessList:ae,deleteExistingAccess:se,addNewAccess:re,updateExistingAccess:ne,resetApiForm:ie}=(()=>{const e=X();return{...e,...t(e)}})(),{handleError:le}=S(),oe=()=>{const{component:e,loading:t,param:a,total:r,fetch:n}=l({config:[{title:s("t_2_1745289353944"),key:"name",width:200,ellipsis:{tooltip:!0}},{title:s("t_1_1746754499371"),key:"type",width:120,render:e=>i(H,{icon:e.type,type:"success"},null)},{title:s("t_2_1746754500270"),key:"type",width:180,render:e=>i(p,null,{default:()=>{var t;return[null==(t=e.access_type)?void 0:t.map((e=>i(u,{key:e,type:"dns"===e?"success":"info",size:"small"},{default:()=>[ee[e]]})))]}})},{title:s("t_7_1745215914189"),key:"create_time",width:180},{title:s("t_0_1745295228865"),key:"update_time",width:180},{title:s("t_8_1745215914610"),key:"actions",width:240,align:"right",fixed:"right",render:e=>{let t,a,r;return i(p,{justify:"end"},{default:()=>[i(_,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>(async e=>{try{const{fetch:t,message:a}=N({id:e.id,type:e.type});a.value=!0,t()}catch(t){le(t)}})(e)},Z(t=s("t_16_1746676855270"))?t:{default:()=>[t]}),i(_,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>f(e)},Z(a=s("t_11_1745215915429"))?a:{default:()=>[a]}),i(_,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>y(e.id)},Z(r=s("t_12_1745215914312"))?r:{default:()=>[r]})]})}}],request:ae,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:g}=o({param:a,total:r,alias:{page:"p",pageSize:"limit"}}),f=e=>{d({title:s("t_4_1745289354902"),area:500,component:Y,componentProps:{data:e},footer:!0,onUpdateShow:e=>{e||n(),ie()}})},y=e=>{E({title:s("t_5_1745289355718"),content:s("t_6_1745289358340"),confirmText:s("t_5_1744870862719"),cancelText:s("t_4_1744870861589"),onPositiveClick:async()=>{await se(e),await n()}})};return c(n),{loading:t,fetch:n,ApiTable:e,ApiTablePage:g,param:a,total:r,openAddForm:()=>{d({title:s("t_0_1745289355714"),area:500,component:Y,footer:!0,onUpdateShow:e=>{e||n(),ie()}})}}},ce=e=>{var t;const{confirm:r}=j(),{open:n,close:l}=F({text:s("t_0_1746667592819")}),{useFormInput:o,useFormRadioButton:c,useFormSwitch:p,useFormTextarea:_,useFormCustom:d}=y(),g=(null==(t=e.data)?void 0:t.id)?a({...e.data,config:JSON.parse(e.data.config)}):te,q={name:{required:!0,message:s("t_27_1745289355721"),trigger:"input"},type:{required:!0,message:s("t_28_1745289356040"),trigger:"change"},config:{host:{required:!0,trigger:"input",validator:(e,t,a)=>{if(!K(t))return a(new Error(s("t_0_1745317313835")));a()}},port:{required:!0,trigger:"input",validator:(e,t,a)=>{if(!U(t.toString()))return a(new Error(s("t_1_1745317313096")));a()}},user:{required:!0,trigger:"input",message:s("t_3_1744164839524")},username:{required:!0,message:s("t_0_1747365600180"),trigger:"input"},password:{trigger:"input",validator:(e,t,a)=>{if(!t){const e={westcn:s("t_1_1747365603108"),ssh:s("t_0_1747711335067")};return a(new Error(e[g.value.type]))}a()}},key:{required:!0,message:s("t_31_1745289355715"),trigger:"input"},url:{required:!0,trigger:"input",validator:(e,t,a)=>{if(!C(t)){const e={btpanel:s("t_2_1745317314362"),btwaf:s("t_0_1747271295174"),safeline:s("t_0_1747300383756")};return a(new Error(e[g.value.type]))}a()}},api_key:{trigger:"input",validator:(e,t,a)=>{if(!t.length){const e={cloudflare:s("t_0_1747042966820"),btpanel:s("t_1_1747042969705"),btwaf:s("t_1_1747300384579"),godaddy:s("t_0_1747984137443")};return a(new Error(e[g.value.type]))}a()}},api_secret:{required:!0,message:s("t_1_1747984133312"),trigger:"input"},access_secret:{required:!0,message:s("t_2_1747984134626"),trigger:"input"},api_token:{required:!0,message:s("t_0_1747617113090"),trigger:"input"},access_key_id:{required:!0,message:s("t_4_1745317314054"),trigger:"input"},access_key_secret:{required:!0,message:s("t_5_1745317315285"),trigger:"input"},secret_id:{required:!0,message:s("t_6_1745317313383"),trigger:"input"},access_key:{trigger:"input",validator:(e,t,a)=>{if(!t){const e={huawei:s("t_2_1747271295877"),baidu:s("t_3_1747271294475"),volcengine:s("t_3_1747365600828"),qiniu:s("t_3_1747984134586")};return a(new Error(e[g.value.type]))}a()}},secret_key:{trigger:"input",validator:(e,t,a)=>{if(!t.length){const e={tencentcloud:s("t_2_1747042967277"),huawei:s("t_3_1747042967608"),baidu:s("t_4_1747271294621"),volcengine:s("t_4_1747365600137")};return a(new Error(e[g.value.type]))}a()}},email:{trigger:"input",validator:(e,t,a)=>{if(!T(t))return a(new Error(s("t_5_1747042965911")));a()}}}},I=Object.entries(B).filter((([e,t])=>!("boolean"==typeof t.notApi&&!t.notApi))).map((([e,t])=>({label:t.name,value:e,access:t.type||[]}))),S=new Map([["btwaf","宝塔WAF-URL"],["btpanel","宝塔面板-URL"],["1panel","1Panel-URL"],["safeline","雷池WAF-URL"]]),E=f((()=>{var t;const a=[o(s("t_2_1745289353944"),"name"),d((()=>i(h,{label:s("t_41_1745289354902"),path:"type"},{default:()=>{var t;return[i(m,{class:"w-full",options:I,renderLabel:L,renderTag:M,disabled:!!(null==(t=e.data)?void 0:t.id),filterable:!0,placeholder:s("t_0_1745833934390"),value:g.value.type,"onUpdate:value":e=>g.value.type=e},{empty:()=>i("span",{class:"text-[1.4rem]"},[s("t_0_1745833934390")])})]}})))];switch(g.value.type){case"ssh":a.push(d((()=>i(b,{cols:24,xGap:4},{default:()=>[i(w,{label:s("t_1_1747711335336"),span:16,path:"config.host"},{default:()=>[i(v,{value:g.value.config.host,"onUpdate:value":e=>g.value.config.host=e,placeholder:s("t_2_1747711337958"),"allow-input":J},null)]}),i(w,{label:s("t_2_1745833931404"),span:8,path:"config.port"},{default:()=>[i(k,{value:g.value.config.port,"onUpdate:value":e=>g.value.config.port=e,showButton:!1},null)]})]}))),o(s("t_44_1745289354583"),"config.user"),c(s("t_45_1745289355714"),"config.mode",[{label:s("t_48_1745289355714"),value:"password"},{label:s("t_1_1746667588689"),value:"key"}]),"password"===(null==(t=g.value.config)?void 0:t.mode)?o(s("t_48_1745289355714"),"config.password",{allowInput:J}):_(s("t_1_1746667588689"),"config.key",{rows:3,placeholder:s("t_0_1747709067998")}));break;case"1panel":case"btpanel":case"btwaf":case"safeline":a.push(o(S.get(g.value.type)||"","config.url",{allowInput:J}),o("safeline"===g.value.type?s("t_1_1747617105179"):s("t_55_1745289355715"),"safeline"===g.value.type?"config.api_token":"config.api_key",{allowInput:J}),p(s("t_3_1746667592270"),"config.ignore_ssl",{checkedValue:"1",uncheckedValue:"0"},{showRequireMark:!1}));break;case"aliyun":a.push(o("AccessKeyId","config.access_key_id",{allowInput:J}),o("AccessKeySecret","config.access_key_secret",{allowInput:J}));break;case"tencentcloud":a.push(o("SecretId","config.secret_id",{allowInput:J}),o("SecretKey","config.secret_key",{allowInput:J}));break;case"huaweicloud":case"baidu":case"volcengine":a.push(o("AccessKey","config.access_key",{allowInput:J}),o("SecretKey","config.secret_key",{allowInput:J}));break;case"cloudflare":a.push(o("邮箱","config.email",{allowInput:J}),o("APIKey","config.api_key",{allowInput:J}));break;case"westcn":a.push(o("Username","config.username",{allowInput:J}),o("Password","config.password",{allowInput:J}));break;case"godaddy":a.push(o("API Key","config.api_key",{allowInput:J}),o("API Secret","config.api_secret",{allowInput:J}));break;case"qiniu":a.push(o("AccessKey","config.access_key",{allowInput:J}),o("AccessSecret","config.access_secret",{allowInput:J}))}return a}));x((()=>g.value.type),(e=>{switch(e){case"ssh":g.value.config={host:"",port:22,user:"root",mode:"password",password:""};break;case"1panel":case"btpanel":case"btwaf":g.value.config={url:"",api_key:"",ignore_ssl:"0"};break;case"aliyun":g.value.config={access_key_id:"",access_key_secret:""};break;case"baidu":case"huaweicloud":g.value.config={access_key:"",secret_key:""};break;case"cloudflare":g.value.config={email:"",api_key:""};break;case"tencentcloud":g.value.config={secret_id:"",secret_key:""};break;case"godaddy":g.value.config={api_key:"",api_secret:""};break;case"qiniu":g.value.config={access_key:"",access_secret:""}}}));const M=({option:e})=>i(P,{class:"w-full"},{default:()=>[e.label?L(e):i("span",{class:"text-[1.4rem] text-gray-400"},[s("t_0_1745833934390")])]}),L=e=>i(P,{justify:"space-between",class:"w-[38rem]"},{default:()=>[i(P,{align:"center",size:"small"},{default:()=>[i(V,{icon:`resources-${e.value}`,size:"1.6rem"},null),i(z,null,{default:()=>[e.label]})]}),i(P,{class:"pr-[1rem]"},{default:()=>[e.access&&e.access.map((e=>i(u,{type:"dns"===e?"success":"info",size:"small",key:e},{default:()=>[ee[e]]})))]})]}),{component:O,fetch:R}=A({config:E,defaultValue:g,request:async(e,t)=>{try{const t={...e,config:JSON.stringify(e.config)};if("id"in e){const{id:e,name:a,config:s}=t;await ne({id:e.toString(),name:a,config:s})}else await re(t)}catch(a){throw le(new Error(s("t_4_1746667590873")))}},rules:q});return r((async e=>{try{n(),await R(),ie(),e()}catch(t){return le(t)}finally{l()}})),{ApiManageForm:O}};const ue=n({name:"AuthApiManage",setup(){const{ApiTable:e,ApiTablePage:t,param:a,fetch:r,total:n,openAddForm:l}=oe(),o=q(["contentPadding","borderColor","headerHeight","iconColorHover"]);return()=>i("div",{class:"h-full flex flex-col",style:o.value},[i("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[i(G,null,{headerLeft:()=>{let e;return i(_,{type:"primary",size:"large",class:"px-5",onClick:l},"function"==typeof(t=e=s("t_0_1745289355714"))||"[object Object]"===Object.prototype.toString.call(t)&&!g(t)?e:{default:()=>[e]});var t},headerRight:()=>i(v,{value:a.value.search,"onUpdate:value":e=>a.value.search=e,onKeydown:e=>{"Enter"===e.key&&r()},onClear:()=>D((()=>r()),100),placeholder:s("t_0_1745289808449"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>i("div",{class:"flex items-center cursor-pointer",onClick:r},[i($,{class:"text-[var(--text-color-3)] w-[1.6rem] font-bold"},null)])}),content:()=>i("div",{class:"rounded-lg"},[i(e,{size:"medium"},{empty:()=>i(W,{addButtonText:s("t_0_1745289355714"),onAddClick:l},null)})]),footerRight:()=>i("div",{class:"mt-4 flex justify-end"},[i(t,null,{prefix:()=>i("span",null,[s("t_15_1745227839354"),I(" "),n.value,I(" "),s("t_16_1745227838930")])})])})])])}});export{ue as default}; +import{e,s as t,r as a,$ as s,f as r,d as n,c as i,g as l,h as o,o as c,N as u,j as p,B as _,k as d,i as g,l as f,m as y,n as m,p as h,q as w,t as v,v as k,w as b,x,y as A,z as j,a as q,b as I}from"./main-BFwn2e3T.js";import{u as S,a as E,b as F}from"./index-DVPyxbgP.js";import{N as P,a as z,w as T,T as C,H as U,O as K}from"./business-_Rh7_-TN.js";import{g as M,a as L,u as O,d as R,t as N}from"./access-FhEUImRw.js";import{A as B}from"./data-DE4JXv04.js";import{S as V}from"./index-CMwhkNZE.js";import{T as H}from"./index-C8NKLf_M.js";import{n as J}from"./utils-CRt-4gJj.js";import{E as W,S as $}from"./index-BfiZrXAG.js";import{B as G}from"./index-BL1j0ssQ.js";import{u as D}from"./index-9yXMuG-J.js";const Q=r(),X=e("auth-api-manage-store",(()=>{const{handleError:e}=S(),t=a({name:"",type:"btpanel",config:{url:"",api_key:"",ignore_ssl:"0"}}),r={dns:s("t_3_1745735765112"),host:s("t_0_1746754500246")},n=()=>{t.value={name:"",type:"btpanel",config:{url:"",api_key:"",ignore_ssl:"0"}}};return{apiFormProps:t,accessTypeMap:r,fetchAccessList:async t=>{try{const e=await M(t).fetch();return{list:e.data||[],total:e.count}}catch(a){return e(a),{list:[],total:0}}},addNewAccess:async t=>{try{const{fetch:e,message:a}=L(t);a.value=!0,await e(),n()}catch(a){throw e(a)&&Q.error(s("t_8_1745289354902")),a}},updateExistingAccess:async t=>{try{const{fetch:e,message:a}=O(t);a.value=!0,await e(),n()}catch(a){throw e(a)&&Q.error(s("t_40_1745227838872")),a}},deleteExistingAccess:async t=>{try{const{fetch:e,message:a}=R({id:t});a.value=!0,await e(),n()}catch(a){throw e(a)&&Q.error(s("t_40_1745227838872")),a}},resetApiForm:n}})),Y=n({name:"ApiManageForm",props:{data:{type:Object,default:()=>{}}},setup(e){const{ApiManageForm:t}=ce(e);return()=>i("div",{class:"p-4"},[i(t,{labelPlacement:"top",requireMarkPlacement:"right-hanging"},null)])}});function Z(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!g(e)}const{accessTypeMap:ee,apiFormProps:te,fetchAccessList:ae,deleteExistingAccess:se,addNewAccess:re,updateExistingAccess:ne,resetApiForm:ie}=(()=>{const e=X();return{...e,...t(e)}})(),{handleError:le}=S(),oe=()=>{const{component:e,loading:t,param:a,total:r,fetch:n}=l({config:[{title:s("t_2_1745289353944"),key:"name",width:200,ellipsis:{tooltip:!0}},{title:s("t_1_1746754499371"),key:"type",width:120,render:e=>i(H,{icon:e.type,type:"success"},null)},{title:s("t_2_1746754500270"),key:"type",width:180,render:e=>i(p,null,{default:()=>{var t;return[null==(t=e.access_type)?void 0:t.map((e=>i(u,{key:e,type:"dns"===e?"success":"info",size:"small"},{default:()=>[ee[e]]})))]}})},{title:s("t_7_1745215914189"),key:"create_time",width:180},{title:s("t_0_1745295228865"),key:"update_time",width:180},{title:s("t_8_1745215914610"),key:"actions",width:240,align:"right",fixed:"right",render:e=>{let t,a,r;return i(p,{justify:"end"},{default:()=>[i(_,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>(async e=>{try{const{fetch:t,message:a}=N({id:e.id,type:e.type});a.value=!0,t()}catch(t){le(t)}})(e)},Z(t=s("t_16_1746676855270"))?t:{default:()=>[t]}),i(_,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>f(e)},Z(a=s("t_11_1745215915429"))?a:{default:()=>[a]}),i(_,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>y(e.id)},Z(r=s("t_12_1745215914312"))?r:{default:()=>[r]})]})}}],request:ae,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:g}=o({param:a,total:r,alias:{page:"p",pageSize:"limit"}}),f=e=>{d({title:s("t_4_1745289354902"),area:500,component:Y,componentProps:{data:e},footer:!0,onUpdateShow:e=>{e||n(),ie()}})},y=e=>{E({title:s("t_5_1745289355718"),content:s("t_6_1745289358340"),confirmText:s("t_5_1744870862719"),cancelText:s("t_4_1744870861589"),onPositiveClick:async()=>{await se(e),await n()}})};return c(n),{loading:t,fetch:n,ApiTable:e,ApiTablePage:g,param:a,total:r,openAddForm:()=>{d({title:s("t_0_1745289355714"),area:500,component:Y,footer:!0,onUpdateShow:e=>{e||n(),ie()}})}}},ce=e=>{var t;const{confirm:r}=j(),{open:n,close:l}=F({text:s("t_0_1746667592819")}),{useFormInput:o,useFormRadioButton:c,useFormSwitch:p,useFormTextarea:_,useFormCustom:d}=y(),g=(null==(t=e.data)?void 0:t.id)?a({...e.data,config:JSON.parse(e.data.config)}):te,q={name:{required:!0,message:s("t_27_1745289355721"),trigger:"input"},type:{required:!0,message:s("t_28_1745289356040"),trigger:"change"},config:{host:{required:!0,trigger:"input",validator:(e,t,a)=>{if(!K(t))return a(new Error(s("t_0_1745317313835")));a()}},port:{required:!0,trigger:"input",validator:(e,t,a)=>{if(!U(t.toString()))return a(new Error(s("t_1_1745317313096")));a()}},user:{required:!0,trigger:"input",message:s("t_3_1744164839524")},username:{required:!0,message:s("t_0_1747365600180"),trigger:"input"},password:{trigger:"input",validator:(e,t,a)=>{if(!t){const e={westcn:s("t_1_1747365603108"),ssh:s("t_0_1747711335067")};return a(new Error(e[g.value.type]))}a()}},key:{required:!0,message:s("t_31_1745289355715"),trigger:"input"},url:{required:!0,trigger:"input",validator:(e,t,a)=>{if(!C(t)){const e={btpanel:s("t_2_1745317314362"),btwaf:s("t_0_1747271295174"),safeline:s("t_0_1747300383756")};return a(new Error(e[g.value.type]))}a()}},api_key:{trigger:"input",validator:(e,t,a)=>{if(!t.length){const e={cloudflare:s("t_0_1747042966820"),btpanel:s("t_1_1747042969705"),btwaf:s("t_1_1747300384579"),godaddy:s("t_0_1747984137443")};return a(new Error(e[g.value.type]))}a()}},api_secret:{required:!0,message:s("t_1_1747984133312"),trigger:"input"},access_secret:{required:!0,message:s("t_2_1747984134626"),trigger:"input"},api_token:{required:!0,message:s("t_0_1747617113090"),trigger:"input"},access_key_id:{required:!0,message:s("t_4_1745317314054"),trigger:"input"},access_key_secret:{required:!0,message:s("t_5_1745317315285"),trigger:"input"},secret_id:{required:!0,message:s("t_6_1745317313383"),trigger:"input"},access_key:{trigger:"input",validator:(e,t,a)=>{if(!t){const e={huawei:s("t_2_1747271295877"),baidu:s("t_3_1747271294475"),volcengine:s("t_3_1747365600828"),qiniu:s("t_3_1747984134586")};return a(new Error(e[g.value.type]))}a()}},secret_key:{trigger:"input",validator:(e,t,a)=>{if(!t.length){const e={tencentcloud:s("t_2_1747042967277"),huawei:s("t_3_1747042967608"),baidu:s("t_4_1747271294621"),volcengine:s("t_4_1747365600137")};return a(new Error(e[g.value.type]))}a()}},email:{trigger:"input",validator:(e,t,a)=>{if(!T(t))return a(new Error(s("t_5_1747042965911")));a()}}}},I=Object.entries(B).filter((([e,t])=>!("boolean"==typeof t.notApi&&!t.notApi))).map((([e,t])=>({label:t.name,value:e,access:t.type||[]}))),S=new Map([["btwaf","宝塔WAF-URL"],["btpanel","宝塔面板-URL"],["1panel","1Panel-URL"],["safeline","雷池WAF-URL"]]),E=f((()=>{var t;const a=[o(s("t_2_1745289353944"),"name"),d((()=>i(h,{label:s("t_41_1745289354902"),path:"type"},{default:()=>{var t;return[i(m,{class:"w-full",options:I,renderLabel:L,renderTag:M,disabled:!!(null==(t=e.data)?void 0:t.id),filterable:!0,placeholder:s("t_0_1745833934390"),value:g.value.type,"onUpdate:value":e=>g.value.type=e},{empty:()=>i("span",{class:"text-[1.4rem]"},[s("t_0_1745833934390")])})]}})))];switch(g.value.type){case"ssh":a.push(d((()=>i(b,{cols:24,xGap:4},{default:()=>[i(w,{label:s("t_1_1747711335336"),span:16,path:"config.host"},{default:()=>[i(v,{value:g.value.config.host,"onUpdate:value":e=>g.value.config.host=e,placeholder:s("t_2_1747711337958"),"allow-input":J},null)]}),i(w,{label:s("t_2_1745833931404"),span:8,path:"config.port"},{default:()=>[i(k,{value:g.value.config.port,"onUpdate:value":e=>g.value.config.port=e,showButton:!1},null)]})]}))),o(s("t_44_1745289354583"),"config.user"),c(s("t_45_1745289355714"),"config.mode",[{label:s("t_48_1745289355714"),value:"password"},{label:s("t_1_1746667588689"),value:"key"}]),"password"===(null==(t=g.value.config)?void 0:t.mode)?o(s("t_48_1745289355714"),"config.password",{allowInput:J}):_(s("t_1_1746667588689"),"config.key",{rows:3,placeholder:s("t_0_1747709067998")}));break;case"1panel":case"btpanel":case"btwaf":case"safeline":a.push(o(S.get(g.value.type)||"","config.url",{allowInput:J}),o("safeline"===g.value.type?s("t_1_1747617105179"):s("t_55_1745289355715"),"safeline"===g.value.type?"config.api_token":"config.api_key",{allowInput:J}),p(s("t_3_1746667592270"),"config.ignore_ssl",{checkedValue:"1",uncheckedValue:"0"},{showRequireMark:!1}));break;case"aliyun":a.push(o("AccessKeyId","config.access_key_id",{allowInput:J}),o("AccessKeySecret","config.access_key_secret",{allowInput:J}));break;case"tencentcloud":a.push(o("SecretId","config.secret_id",{allowInput:J}),o("SecretKey","config.secret_key",{allowInput:J}));break;case"huaweicloud":case"baidu":case"volcengine":a.push(o("AccessKey","config.access_key",{allowInput:J}),o("SecretKey","config.secret_key",{allowInput:J}));break;case"cloudflare":a.push(o("邮箱","config.email",{allowInput:J}),o("APIKey","config.api_key",{allowInput:J}));break;case"westcn":a.push(o("Username","config.username",{allowInput:J}),o("Password","config.password",{allowInput:J}));break;case"godaddy":a.push(o("API Key","config.api_key",{allowInput:J}),o("API Secret","config.api_secret",{allowInput:J}));break;case"qiniu":a.push(o("AccessKey","config.access_key",{allowInput:J}),o("AccessSecret","config.access_secret",{allowInput:J}))}return a}));x((()=>g.value.type),(e=>{switch(e){case"ssh":g.value.config={host:"",port:22,user:"root",mode:"password",password:""};break;case"1panel":case"btpanel":case"btwaf":g.value.config={url:"",api_key:"",ignore_ssl:"0"};break;case"aliyun":g.value.config={access_key_id:"",access_key_secret:""};break;case"baidu":case"huaweicloud":g.value.config={access_key:"",secret_key:""};break;case"cloudflare":g.value.config={email:"",api_key:""};break;case"tencentcloud":g.value.config={secret_id:"",secret_key:""};break;case"godaddy":g.value.config={api_key:"",api_secret:""};break;case"qiniu":g.value.config={access_key:"",access_secret:""}}}));const M=({option:e})=>i(P,{class:"w-full"},{default:()=>[e.label?L(e):i("span",{class:"text-[1.4rem] text-gray-400"},[s("t_0_1745833934390")])]}),L=e=>i(P,{justify:"space-between",class:"w-[38rem]"},{default:()=>[i(P,{align:"center",size:"small"},{default:()=>[i(V,{icon:`resources-${e.value}`,size:"1.6rem"},null),i(z,null,{default:()=>[e.label]})]}),i(P,{class:"pr-[1rem]"},{default:()=>[e.access&&e.access.map((e=>i(u,{type:"dns"===e?"success":"info",size:"small",key:e},{default:()=>[ee[e]]})))]})]}),{component:O,fetch:R}=A({config:E,defaultValue:g,request:async(e,t)=>{try{const t={...e,config:JSON.stringify(e.config)};if("id"in e){const{id:e,name:a,config:s}=t;await ne({id:e.toString(),name:a,config:s})}else await re(t)}catch(a){throw le(new Error(s("t_4_1746667590873")))}},rules:q});return r((async e=>{try{n(),await R(),ie(),e()}catch(t){return le(t)}finally{l()}})),{ApiManageForm:O}};const ue=n({name:"AuthApiManage",setup(){const{ApiTable:e,ApiTablePage:t,param:a,fetch:r,total:n,openAddForm:l}=oe(),o=q(["contentPadding","borderColor","headerHeight","iconColorHover"]);return()=>i("div",{class:"h-full flex flex-col",style:o.value},[i("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[i(G,null,{headerLeft:()=>{let e;return i(_,{type:"primary",size:"large",class:"px-5",onClick:l},"function"==typeof(t=e=s("t_0_1745289355714"))||"[object Object]"===Object.prototype.toString.call(t)&&!g(t)?e:{default:()=>[e]});var t},headerRight:()=>i(v,{value:a.value.search,"onUpdate:value":e=>a.value.search=e,onKeydown:e=>{"Enter"===e.key&&r()},onClear:()=>D((()=>r()),100),placeholder:s("t_0_1745289808449"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>i("div",{class:"flex items-center cursor-pointer",onClick:r},[i($,{class:"text-[var(--text-color-3)] w-[1.6rem] font-bold"},null)])}),content:()=>i("div",{class:"rounded-lg"},[i(e,{size:"medium"},{empty:()=>i(W,{addButtonText:s("t_0_1745289355714"),onAddClick:l},null)})]),footerRight:()=>i("div",{class:"mt-4 flex justify-end"},[i(t,null,{prefix:()=>i("span",null,[s("t_15_1745227839354"),I(" "),n.value,I(" "),s("t_16_1745227838930")])})])})])])}});export{ue as default}; diff --git a/build/static/js/index-Dfrf5BrW.js b/build/static/js/index-LzQlVHhy.js similarity index 96% rename from build/static/js/index-Dfrf5BrW.js rename to build/static/js/index-LzQlVHhy.js index f937843..63725d5 100644 --- a/build/static/js/index-Dfrf5BrW.js +++ b/build/static/js/index-LzQlVHhy.js @@ -1 +1 @@ -import{d as e,Y as t,Z as r,_ as s,e as a,s as i,r as l,l as c,c as o,k as n,$ as d,m as p,y as m,z as u,a9 as f,b as v,B as x,i as y,aa as g,a3 as b}from"./main-BFg_w1GP.js";import{u as _,b as h}from"./index-CTQigr-B.js";import{b as w,q as S,W as L}from"./business-CHQBsAXz.js";import{f as V}from"./useStore-CSzo38f-.js";import{D as j}from"./index-Drf8pGv8.js";import{N as O}from"./Badge-CgU_X09j.js";import{L as T}from"./LockOutlined-Bv7lZ7V6.js";import{N as k,a as E}from"./Tabs-Dr4JKa0V.js";import"./useStore-JDVosxir.js";import"./index-DDxgyK5X.js";import"./index-CtqD4msy.js";import"./setting-DGJTDRYI.js";import"./access-B4X6xtmm.js";import"./index-BJNUeE_-.js";import"./throttle-BHKGqXBF.js";const P={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},C=e({name:"ShoppingCartOutlined",render:function(e,a){return r(),t("svg",P,a[0]||(a[0]=[s("path",{d:"M922.9 701.9H327.4l29.9-60.9l496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 0 0-26.6-12.5l-632-2.1l-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 1 0 0 70.6h125.9L246 312.8l58.1 281.3l-74.8 122.1a34.96 34.96 0 0 0-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 0 0-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 0 0-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 0 0-35.4-35.2zM305.7 253l575.8 1.9l-56.4 315.8l-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6c0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 0 1-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6c0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 0 1-31.6 31.6z",fill:"currentColor"},null,-1)]))}}),D=[{key:"commercial",title:"商业证书",desc:"品牌SSL证书,安全保障,全球兼容"},{key:"free",title:"免费证书",desc:"适用于个人博客、测试环境的免费SSL证书"}],z={dv:"域名型(DV)",ov:"企业型(OV)",ev:"增强型(EV)"},B=[{type:"dv",title:"个人(DV 证书)",explain:"个人博客、个人项目等
可选择DV SSL证书。"},{type:"ov",title:"传统行业(OV 证书)",explain:"企业官网、电商、教育、医疗、公共
部门等,可选择OV SSL证书。"},{type:"ev",title:"金融机构(EV 证书)",explain:"银行、金融、保险、电子商务、中大型企
业、政府机关等,可选择EV SSL证书。"}],M={dv:{title:"域名型SSL证书 (DV SSL)",features:["适用场景: 个人网站、博客、论坛等","验证方式: 仅验证域名所有权","签发时间: 最快5分钟","安全级别: 基础级"],advantages:"优势: 价格低廉,签发速度快,适合个人使用",disadvantages:"劣势: 仅显示锁形图标,不显示企业信息",recommendation:"推荐指数: ★★★☆☆"},ov:{title:"企业型SSL证书 (OV SSL)",features:["适用场景: 企业官网、电商网站、教育医疗网站等","验证方式: 验证域名所有权和企业真实性","签发时间: 1-3个工作日","安全级别: 中级"],advantages:"优势: 兼顾安全和价格,适合一般企业使用",disadvantages:"劣势: 签发时间较DV长",recommendation:"推荐指数: ★★★★☆"},ev:{title:"增强型SSL证书 (EV SSL)",features:["适用场景: 银行、金融机构、政府网站、大型企业","验证方式: 最严格的身份验证流程","签发时间: 5-7个工作日","安全级别: 最高级"],advantages:"优势: 提供最高级别安全认证,浏览器地址栏显示企业名称",disadvantages:"劣势: 价格较高,签发时间最长",recommendation:"推荐指数: ★★★★★"}},q={dv:[{pid:0,brand:"宝塔证书",type:"域名型(DV)",add_price:0,other_price:128.66,title:"宝塔证书 单域名SSL证书",code:"comodo-positivessl",num:1,price:128.66,discount:1,state:1,install_price:200,src_price:128.66},{pid:0,brand:"宝塔证书",type:"域名型(DV)",add_price:0,other_price:1688,title:"宝塔证书 通配符SSL证书",code:"comodo-positivessl-wildcard",num:1,price:1688,discount:1,state:1,install_price:200,src_price:1688},{pid:0,brand:"宝塔证书",type:"域名型(DV)",add_price:98,other_price:180,title:"宝塔证书 IP-SSL证书",code:"comodo-positive-multi-domain",num:1,price:180,discount:1,ipssl:1,state:1,install_price:200,src_price:180}],ov:[{pid:8303,brand:"Sectigo",type:"企业型(OV)",add_price:0,other_price:1880,title:"Sectigo OV SSL证书",code:"sectigo-ov",num:1,price:1388,discount:1,state:1,install_price:500,src_price:1388},{pid:8304,brand:"Sectigo",type:"企业型(OV)",add_price:880,other_price:5640,title:"Sectigo OV多域名SSL证书",code:"sectigo-ov-multi-san",num:3,price:3888,discount:1,state:1,install_price:500,src_price:3888},{pid:8305,brand:"Sectigo",type:"企业型(OV)",add_price:0,other_price:6980,title:"Sectigo OV通配符SSL证书",code:"sectigo-ov-wildcard",num:1,price:4888,discount:1,state:1,install_price:500,src_price:4888},{pid:8307,brand:"Sectigo",type:"企业型(OV)",add_price:3680,other_price:2094,title:"Sectigo OV多域名通配符SSL证书",code:"comodo-multi-domain-wildcard-certificate",num:3,price:15888,discount:1,state:1,install_price:500,src_price:15888}],ev:[{pid:8300,brand:"Sectigo",type:"企业增强型(EV)",add_price:0,other_price:3400,title:"Sectigo EV SSL证书",code:"comodo-ev-ssl-certificate",num:1,price:2788,discount:1,state:1,install_price:500,src_price:2788},{pid:8302,brand:"Sectigo",type:"企业增强型(EV)",add_price:1488,other_price:10200,title:"Sectigo EV多域名SSL证书",code:"comodo-ev-multi-domin-ssl",num:3,price:8388,discount:1,state:1,install_price:500,src_price:8388},{pid:8520,brand:"锐安信",type:"企业增强型(EV)",add_price:0,other_price:3480,title:"锐安信EV SSL证书",code:"ssltrus-ev-ssl",num:1,price:2688,discount:1,state:1,install_price:500,src_price:2688},{pid:8521,brand:"锐安信",type:"企业增强型(EV)",add_price:2380,other_price:10440,title:"锐安信EV多域名SSL证书",code:"ssltrus-ev-multi",num:3,price:9096,discount:1,state:1,install_price:500,src_price:9096}]},F=[{pid:9001,brand:"Let's Encrypt",type:"域名型(DV)",title:"Let's Encrypt 单域名SSL证书",code:"letsencrypt-single",num:1,valid_days:90,features:["90天有效期","自动续期","单域名","全球认可"]}],A=a("cert-apply-store",(()=>{const e=l("证书申请"),t=l("commercial"),r=l("dv"),s=l(D),a=l(z),i=l(B),o=l(M),n=l(q),d=l(F),p=c((()=>"commercial"===t.value&&n.value[r.value]||[]));return{test:e,handleTest:()=>{e.value="点击了证书申请"},activeMainTab:t,activeTab:r,mainTabOptions:s,typeOptions:a,sslTypeList:i,sslTypeDescriptions:o,products:n,freeProducts:d,filteredProducts:p}})),N=e({name:"CertificateForm",setup(){const{CertificateForm:e}=U();return()=>o(e,{labelPlacement:"top",class:"max-w-[50rem] mx-auto"},null)}}),{handleError:H}=_(),I=()=>{const{test:e,handleTest:t,activeMainTab:r,activeTab:s,mainTabOptions:a,typeOptions:l,sslTypeList:c,sslTypeDescriptions:o,freeProducts:p,filteredProducts:m}=(()=>{const e=A();return{...e,...i(e)}})();return{test:e,handleTest:t,activeMainTab:r,activeTab:s,mainTabOptions:a,typeOptions:l,sslTypeList:c,sslTypeDescriptions:o,freeProducts:p,filteredProducts:m,handleBuyProduct:()=>{window.open("https://www.bt.cn/new/ssl.html","_blank")},handleOpenApplyModal:()=>{n({title:d("申请免费证书 - Let's Encrypt"),area:"500px",component:N,footer:!0})},formatPrice:e=>Math.floor(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}},U=()=>{const{useFormInput:e}=p(),{addNewWorkflow:t}=V(),{open:r,close:s}=h({text:d("t_6_1746667592831")}),{confirm:a}=u(),i=l({domains:"",provider_id:"",provider:""}),n=c((()=>[e(d("t_17_1745227838561"),"domains"),{type:"custom",render:()=>o(j,{type:"dns",path:"provider_id",value:i.value.provider_id,"onUpdate:value":e=>{i.value.provider_id=e.value,i.value.provider=e.type}},null)}])),f={domains:{required:!0,message:d("t_7_1746667592468"),trigger:"input",validator:(e,t,r)=>{w(t)||S(t)||L(t,",")?r():r(new Error(d("t_7_1746667592468")))}},provider_id:{required:!0,message:d("t_8_1746667591924"),trigger:"change",type:"string"}},{component:v,fetch:x}=m({config:n,defaultValue:i,request:async()=>{try{await t({name:`申请免费证书-Let's Encrypt(${i.value.domains})`,exec_type:"manual",active:"1",content:JSON.stringify({id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:{id:"apply-1",name:"申请证书",type:"apply",config:{...i.value,email:"test@test.com",end_day:30}}})})}catch(e){H(e)}},rules:f});return a((async e=>{try{r(),await x(),e()}catch(t){return H(t)}finally{s()}})),{CertificateForm:v}},$=e({name:"ProductCard",props:{product:{type:Object,required:!0},formatPrice:{type:Function,required:!0},onBuy:{type:Function,required:!0}},setup(e){const t=c((()=>e.product.title.toLowerCase().includes("通配符"))),r=c((()=>e.product.title.toLowerCase().includes("多域名"))),s=()=>{e.onBuy(e.product.pid)},a=e=>{const t=e.toLowerCase();return t.includes("sectigo")?"/static/icons/sectigo-ico.png":t.includes("positive")?"/static/icons/positive-ico.png":t.includes("锐安信")?"/static/icons/ssltrus-ico.png":t.includes("let's encrypt")?"/static/icons/letsencrypt-icon.svg":t.includes("宝塔证书")?"/static/icons/btssl.svg":void 0};return()=>{var i;return o("div",{class:"relative border border-gray-200 rounded-[0.8rem] p-[2rem] transition-all duration-300 h-full flex flex-col bg-white shadow-sm hover:shadow-md hover:border-blue-100 hover:-translate-y-[0.2rem]"},[e.product.discount<1&&o("div",{class:"absolute top-[1.2rem] right-[1.2rem] z-10"},[o(O,{type:"success",value:"推荐"},null)]),o("div",{class:"flex flex-col items-center text-center mb-[2rem] pb-[1.6rem] border-b border-gray-100"},[o("div",{class:"flex-none h-[6rem] w-2/5 mb-[1.2rem] flex items-center justify-center"},[o(f,{width:"100%",src:a(e.product.brand),fallbackSrc:"/static/icons/default.png",alt:e.product.brand},null)]),o("div",{class:"flex-1 w-full"},[o("h3",{class:"font-semibold mb-[0.8rem] text-gray-800 leading-tight"},[e.product.title]),o("p",{class:"text-[1.3rem] text-gray-500 m-0 leading-relaxed px-[0.8rem]"},["宝塔证书"===e.product.brand?"宝塔证书是新国产证书品牌,支持 ECC、RSA 及我国商用密码 SM2 等标准算法,兼容国密浏览器":`${e.product.brand}是知名的证书颁发机构,提供高质量的SSL证书解决方案`,v("。")])])]),o("div",{class:"flex-1 flex flex-col mt-0"},[o("div",{class:"text-[1.3rem] mb-[2.4rem] flex-1 text-left"},[o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("支持域名数:")]),o("span",{class:"flex-1 text-gray-700"},[e.product.num,v("个")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("支持通配符:")]),o("span",{class:"flex-1 text-gray-700"},[t.value?"支持":"不支持"])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("绿色地址栏:")]),o("span",{class:"flex-1 text-gray-700"},[e.product.type.includes("EV")?"显示":"不显示"])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("支持小程序:")]),o("span",{class:"flex-1 text-gray-700"},[v("支持")])]),o("div",{class:"flex mb-[1rem] leading-relaxed whitespace-nowrap overflow-hidden text-ellipsis text-gray-500"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("适用网站:")]),o("span",{class:"flex-1 text-gray-600 whitespace-nowrap overflow-hidden text-ellipsis"},[(null==(i=e.product)?void 0:i.ipssl)?"支持IP SSL证书":t.value?r.value?"*.bt.cn、*.btnode.cn":"*.bt.cn":r.value?"bt.cn、btnode.cn":"www.bt.cn、bt.cn"])])]),o("div",{class:"flex justify-between items-center mt-[1.6rem] pt-[1.6rem] border-t border-gray-100"},[o("div",{class:"flex-1 flex flex-col"},[o("div",{class:"flex items-baseline justify-start"},[o("span",{class:"text-[2.2rem] font-bold text-red-500 leading-tight"},[e.formatPrice(e.product.price)]),o("span",{class:"text-[1.3rem] text-gray-400 ml-[0.4rem]"},[v("元/年")])]),o("div",{class:"text-[1.3rem] text-gray-400 line-through mt-[0.4rem]"},[v("原价 "),e.formatPrice(e.product.other_price),v("元/年")])]),o(x,{type:"primary",class:"flex-none transition-all duration-300 min-w-[9rem] hover:scale-105 hover:shadow-md",onClick:s,strong:!0,round:!0},{default:()=>[v("立即查看")]})])])])}}});const G=e({name:"FreeProductCard",props:{product:{type:Object,required:!0},onApply:{type:Function,required:!0}},setup(e){const t=c((()=>e.product.title.toLowerCase().includes(d("t_10_1746667589575")))),r=c((()=>e.product.title.toLowerCase().includes(d("t_11_1746667589598")))),s=()=>{e.onApply(e.product.pid)},a=e=>{const t=e.toLowerCase(),r={sectigo:"/static/icons/sectigo-ico.png",positive:"/static/icons/positive-ico.png",ssltrus:"/static/icons/ssltrus-ico.png","let's encrypt":"/static/icons/letsencrypt-icon.svg"};return Object.keys(r).find((e=>t.includes(e)))?r[Object.keys(r).find((e=>t.includes(e)))]:void 0};return()=>{let i;return o("div",{class:"relative border border-gray-200 rounded-[0.8rem] p-[2rem] transition-all duration-300 h-full flex flex-col bg-white shadow-sm hover:shadow-md hover:border-blue-100 hover:-translate-y-[0.2rem]"},["Let's Encrypt"===e.product.brand&&o("div",{class:"absolute top-[1.2rem] right-[1.2rem] z-10"},[o(O,{type:"info",value:d("t_12_1746667589733")},null)]),o("div",{class:"flex flex-col items-center text-center mb-[2rem] pb-[1.6rem] border-b border-gray-100"},[o("div",{class:"flex-none h-[6rem] w-2/5 mb-[1.2rem] flex items-center justify-center"},[o(f,{src:a(e.product.brand),fallbackSrc:"/static/icons/default.png",alt:e.product.brand},null)]),o("div",{class:"flex-1 w-full"},[o("h3",{class:"font-semibold mb-[0.8rem] text-gray-800 leading-tight"},[e.product.title]),o("p",{class:"text-[1.3rem] text-gray-500 m-0 leading-relaxed px-[0.8rem]"},[e.product.brand+d("t_13_1746667599218")])])]),o("div",{class:"flex-1 flex flex-col mt-0"},[o("div",{class:"text-[1.3rem] mb-[2.4rem] flex-1 text-left"},[o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_14_1746667590827")]),o("span",{class:"flex-1 text-gray-700"},[e.product.num+d("t_15_1746667588493")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_16_1746667591069")]),o("span",{class:"flex-1 text-gray-700"},[d("t_17_1746667588785")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_19_1746667589295")]),o("span",{class:"flex-1 text-gray-700"},[e.product.valid_days+d("t_20_1746667588453")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_21_1746667590834")]),o("span",{class:"flex-1 text-gray-700"},[d("t_17_1746667588785")])]),o("div",{class:"flex mb-[1rem] leading-relaxed whitespace-nowrap overflow-hidden text-ellipsis text-gray-500"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_22_1746667591024")]),o("span",{class:"flex-1 text-gray-600 whitespace-nowrap overflow-hidden text-ellipsis"},[t.value?r.value?d("t_23_1746667591989"):d("t_24_1746667583520"):r.value?d("t_25_1746667590147"):d("t_26_1746667594662")])])]),o("div",{class:"flex justify-between items-center mt-[1.6rem] pt-[1.6rem] border-t border-gray-100"},[o("div",{class:"flex-1 flex flex-col"},[o("div",{class:"flex items-baseline justify-start"},[o("span",{class:"text-[2.2rem] font-bold text-green-500 leading-tight"},[d("t_27_1746667589350")])])]),o(x,{type:"primary",class:"flex-none transition-all duration-300 min-w-[9rem] hover:scale-105 hover:shadow-md",onClick:s,strong:!0,round:!0},(l=i=d("t_28_1746667590336"),"function"==typeof l||"[object Object]"===Object.prototype.toString.call(l)&&!y(l)?i:{default:()=>[i]}))])])]);var l}}});function J(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!y(e)}const R=e({setup(){const{activeMainTab:e,activeTab:t,mainTabOptions:r,sslTypeList:s,freeProducts:a,filteredProducts:i,handleBuyProduct:l,formatPrice:c,handleOpenApplyModal:n}=I();return()=>{let d;return o("div",{class:"w-full max-w-[160rem] mx-auto p-[2rem]"},[o("div",{class:"bg-white rounded-[0.6rem] p-[2.4rem] mb-[3rem]"},[o(k,{class:"rounded-[1.2rem] p-[0.6rem]",type:"segment",value:e.value,"onUpdate:value":t=>e.value=t,size:"large",justifyContent:"space-evenly"},J(d=r.value.map((r=>o(E,{key:r.key,name:r.key},{tab:()=>o("div",{class:"flex items-center my-[1rem] px-[0.8rem] py-[0.4rem] rounded-[0.8rem] transition-all duration-300 hover:bg-black/5 "},[o(b,{size:"20"},{default:()=>["commercial"===r.key?o(C,null,null):o(T,null,null)]}),o("span",{class:"ml-[0.8rem]"},[r.title])]),default:()=>{let r;return o("div",{class:"py-[0.4rem] rounded-[1.6rem]"},["commercial"===e.value&&o(k,{class:"w-full p-0 mt-[1.6rem] rounded-[0.8rem] overflow-hidden",type:"line",value:t.value,"onUpdate:value":e=>t.value=e,size:"medium",justifyContent:"space-evenly"},J(r=s.value.map((e=>o(E,{key:e.type,name:e.type,tab:e.title},{default:()=>[o("div",{class:"flex flex-col gap-[2.4rem] mt-[1rem]"},[i.value.length>0?o("div",{class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"},[i.value.map((e=>o($,{key:e.pid,product:e,formatPrice:c,onBuy:l},null)))]):o(g,{description:"暂无产品"},null)])]}))))?r:{default:()=>[r]}),"free"===e.value&&o("div",{class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"},[a.value.map((e=>o(G,{key:e.pid,product:e,onApply:n},null)))])])}}))))?d:{default:()=>[d]})])])}}});export{R as default}; +import{d as e,Y as t,Z as r,_ as s,e as a,s as i,r as l,l as c,c as o,k as n,$ as d,m as p,y as m,z as u,a9 as f,b as v,B as x,i as y,aa as g,a3 as b}from"./main-BFwn2e3T.js";import{u as _,b as h}from"./index-DVPyxbgP.js";import{b as w,q as S,W as L}from"./business-_Rh7_-TN.js";import{f as V}from"./useStore-3Yigt-U3.js";import{D as j}from"./index-B0Oz4u-p.js";import{N as O}from"./Badge-CqHx9Tf7.js";import{L as T}from"./LockOutlined-vMZA0L98.js";import{N as k,a as E}from"./Tabs-DWO1cj0i.js";import"./useStore-BJbmyusH.js";import"./index-rVZjvqYb.js";import"./index-9yXMuG-J.js";import"./setting-pEP5KeW9.js";import"./access-FhEUImRw.js";import"./index-CMwhkNZE.js";import"./throttle-B9C3ruvZ.js";const P={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},C=e({name:"ShoppingCartOutlined",render:function(e,a){return r(),t("svg",P,a[0]||(a[0]=[s("path",{d:"M922.9 701.9H327.4l29.9-60.9l496.8-.9c16.8 0 31.2-12 34.2-28.6l68.8-385.1c1.8-10.1-.9-20.5-7.5-28.4a34.99 34.99 0 0 0-26.6-12.5l-632-2.1l-5.4-25.4c-3.4-16.2-18-28-34.6-28H96.5a35.3 35.3 0 1 0 0 70.6h125.9L246 312.8l58.1 281.3l-74.8 122.1a34.96 34.96 0 0 0-3 36.8c6 11.9 18.1 19.4 31.5 19.4h62.8a102.43 102.43 0 0 0-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7h161.1a102.43 102.43 0 0 0-20.6 61.7c0 56.6 46 102.6 102.6 102.6s102.6-46 102.6-102.6c0-22.3-7.4-44-20.6-61.7H923c19.4 0 35.3-15.8 35.3-35.3a35.42 35.42 0 0 0-35.4-35.2zM305.7 253l575.8 1.9l-56.4 315.8l-452.3.8L305.7 253zm96.9 612.7c-17.4 0-31.6-14.2-31.6-31.6c0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 0 1-31.6 31.6zm325.1 0c-17.4 0-31.6-14.2-31.6-31.6c0-17.4 14.2-31.6 31.6-31.6s31.6 14.2 31.6 31.6a31.6 31.6 0 0 1-31.6 31.6z",fill:"currentColor"},null,-1)]))}}),D=[{key:"commercial",title:"商业证书",desc:"品牌SSL证书,安全保障,全球兼容"},{key:"free",title:"免费证书",desc:"适用于个人博客、测试环境的免费SSL证书"}],z={dv:"域名型(DV)",ov:"企业型(OV)",ev:"增强型(EV)"},B=[{type:"dv",title:"个人(DV 证书)",explain:"个人博客、个人项目等
可选择DV SSL证书。"},{type:"ov",title:"传统行业(OV 证书)",explain:"企业官网、电商、教育、医疗、公共
部门等,可选择OV SSL证书。"},{type:"ev",title:"金融机构(EV 证书)",explain:"银行、金融、保险、电子商务、中大型企
业、政府机关等,可选择EV SSL证书。"}],M={dv:{title:"域名型SSL证书 (DV SSL)",features:["适用场景: 个人网站、博客、论坛等","验证方式: 仅验证域名所有权","签发时间: 最快5分钟","安全级别: 基础级"],advantages:"优势: 价格低廉,签发速度快,适合个人使用",disadvantages:"劣势: 仅显示锁形图标,不显示企业信息",recommendation:"推荐指数: ★★★☆☆"},ov:{title:"企业型SSL证书 (OV SSL)",features:["适用场景: 企业官网、电商网站、教育医疗网站等","验证方式: 验证域名所有权和企业真实性","签发时间: 1-3个工作日","安全级别: 中级"],advantages:"优势: 兼顾安全和价格,适合一般企业使用",disadvantages:"劣势: 签发时间较DV长",recommendation:"推荐指数: ★★★★☆"},ev:{title:"增强型SSL证书 (EV SSL)",features:["适用场景: 银行、金融机构、政府网站、大型企业","验证方式: 最严格的身份验证流程","签发时间: 5-7个工作日","安全级别: 最高级"],advantages:"优势: 提供最高级别安全认证,浏览器地址栏显示企业名称",disadvantages:"劣势: 价格较高,签发时间最长",recommendation:"推荐指数: ★★★★★"}},q={dv:[{pid:0,brand:"宝塔证书",type:"域名型(DV)",add_price:0,other_price:128.66,title:"宝塔证书 单域名SSL证书",code:"comodo-positivessl",num:1,price:128.66,discount:1,state:1,install_price:200,src_price:128.66},{pid:0,brand:"宝塔证书",type:"域名型(DV)",add_price:0,other_price:1688,title:"宝塔证书 通配符SSL证书",code:"comodo-positivessl-wildcard",num:1,price:1688,discount:1,state:1,install_price:200,src_price:1688},{pid:0,brand:"宝塔证书",type:"域名型(DV)",add_price:98,other_price:180,title:"宝塔证书 IP-SSL证书",code:"comodo-positive-multi-domain",num:1,price:180,discount:1,ipssl:1,state:1,install_price:200,src_price:180}],ov:[{pid:8303,brand:"Sectigo",type:"企业型(OV)",add_price:0,other_price:1880,title:"Sectigo OV SSL证书",code:"sectigo-ov",num:1,price:1388,discount:1,state:1,install_price:500,src_price:1388},{pid:8304,brand:"Sectigo",type:"企业型(OV)",add_price:880,other_price:5640,title:"Sectigo OV多域名SSL证书",code:"sectigo-ov-multi-san",num:3,price:3888,discount:1,state:1,install_price:500,src_price:3888},{pid:8305,brand:"Sectigo",type:"企业型(OV)",add_price:0,other_price:6980,title:"Sectigo OV通配符SSL证书",code:"sectigo-ov-wildcard",num:1,price:4888,discount:1,state:1,install_price:500,src_price:4888},{pid:8307,brand:"Sectigo",type:"企业型(OV)",add_price:3680,other_price:2094,title:"Sectigo OV多域名通配符SSL证书",code:"comodo-multi-domain-wildcard-certificate",num:3,price:15888,discount:1,state:1,install_price:500,src_price:15888}],ev:[{pid:8300,brand:"Sectigo",type:"企业增强型(EV)",add_price:0,other_price:3400,title:"Sectigo EV SSL证书",code:"comodo-ev-ssl-certificate",num:1,price:2788,discount:1,state:1,install_price:500,src_price:2788},{pid:8302,brand:"Sectigo",type:"企业增强型(EV)",add_price:1488,other_price:10200,title:"Sectigo EV多域名SSL证书",code:"comodo-ev-multi-domin-ssl",num:3,price:8388,discount:1,state:1,install_price:500,src_price:8388},{pid:8520,brand:"锐安信",type:"企业增强型(EV)",add_price:0,other_price:3480,title:"锐安信EV SSL证书",code:"ssltrus-ev-ssl",num:1,price:2688,discount:1,state:1,install_price:500,src_price:2688},{pid:8521,brand:"锐安信",type:"企业增强型(EV)",add_price:2380,other_price:10440,title:"锐安信EV多域名SSL证书",code:"ssltrus-ev-multi",num:3,price:9096,discount:1,state:1,install_price:500,src_price:9096}]},F=[{pid:9001,brand:"Let's Encrypt",type:"域名型(DV)",title:"Let's Encrypt 单域名SSL证书",code:"letsencrypt-single",num:1,valid_days:90,features:["90天有效期","自动续期","单域名","全球认可"]}],A=a("cert-apply-store",(()=>{const e=l("证书申请"),t=l("commercial"),r=l("dv"),s=l(D),a=l(z),i=l(B),o=l(M),n=l(q),d=l(F),p=c((()=>"commercial"===t.value&&n.value[r.value]||[]));return{test:e,handleTest:()=>{e.value="点击了证书申请"},activeMainTab:t,activeTab:r,mainTabOptions:s,typeOptions:a,sslTypeList:i,sslTypeDescriptions:o,products:n,freeProducts:d,filteredProducts:p}})),N=e({name:"CertificateForm",setup(){const{CertificateForm:e}=U();return()=>o(e,{labelPlacement:"top",class:"max-w-[50rem] mx-auto"},null)}}),{handleError:H}=_(),I=()=>{const{test:e,handleTest:t,activeMainTab:r,activeTab:s,mainTabOptions:a,typeOptions:l,sslTypeList:c,sslTypeDescriptions:o,freeProducts:p,filteredProducts:m}=(()=>{const e=A();return{...e,...i(e)}})();return{test:e,handleTest:t,activeMainTab:r,activeTab:s,mainTabOptions:a,typeOptions:l,sslTypeList:c,sslTypeDescriptions:o,freeProducts:p,filteredProducts:m,handleBuyProduct:()=>{window.open("https://www.bt.cn/new/ssl.html","_blank")},handleOpenApplyModal:()=>{n({title:d("申请免费证书 - Let's Encrypt"),area:"500px",component:N,footer:!0})},formatPrice:e=>Math.floor(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}},U=()=>{const{useFormInput:e}=p(),{addNewWorkflow:t}=V(),{open:r,close:s}=h({text:d("t_6_1746667592831")}),{confirm:a}=u(),i=l({domains:"",provider_id:"",provider:""}),n=c((()=>[e(d("t_17_1745227838561"),"domains"),{type:"custom",render:()=>o(j,{type:"dns",path:"provider_id",value:i.value.provider_id,"onUpdate:value":e=>{i.value.provider_id=e.value,i.value.provider=e.type}},null)}])),f={domains:{required:!0,message:d("t_7_1746667592468"),trigger:"input",validator:(e,t,r)=>{w(t)||S(t)||L(t,",")?r():r(new Error(d("t_7_1746667592468")))}},provider_id:{required:!0,message:d("t_8_1746667591924"),trigger:"change",type:"string"}},{component:v,fetch:x}=m({config:n,defaultValue:i,request:async()=>{try{await t({name:`申请免费证书-Let's Encrypt(${i.value.domains})`,exec_type:"manual",active:"1",content:JSON.stringify({id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:{id:"apply-1",name:"申请证书",type:"apply",config:{...i.value,email:"test@test.com",end_day:30}}})})}catch(e){H(e)}},rules:f});return a((async e=>{try{r(),await x(),e()}catch(t){return H(t)}finally{s()}})),{CertificateForm:v}},$=e({name:"ProductCard",props:{product:{type:Object,required:!0},formatPrice:{type:Function,required:!0},onBuy:{type:Function,required:!0}},setup(e){const t=c((()=>e.product.title.toLowerCase().includes("通配符"))),r=c((()=>e.product.title.toLowerCase().includes("多域名"))),s=()=>{e.onBuy(e.product.pid)},a=e=>{const t=e.toLowerCase();return t.includes("sectigo")?"/static/icons/sectigo-ico.png":t.includes("positive")?"/static/icons/positive-ico.png":t.includes("锐安信")?"/static/icons/ssltrus-ico.png":t.includes("let's encrypt")?"/static/icons/letsencrypt-icon.svg":t.includes("宝塔证书")?"/static/icons/btssl.svg":void 0};return()=>{var i;return o("div",{class:"relative border border-gray-200 rounded-[0.8rem] p-[2rem] transition-all duration-300 h-full flex flex-col bg-white shadow-sm hover:shadow-md hover:border-blue-100 hover:-translate-y-[0.2rem]"},[e.product.discount<1&&o("div",{class:"absolute top-[1.2rem] right-[1.2rem] z-10"},[o(O,{type:"success",value:"推荐"},null)]),o("div",{class:"flex flex-col items-center text-center mb-[2rem] pb-[1.6rem] border-b border-gray-100"},[o("div",{class:"flex-none h-[6rem] w-2/5 mb-[1.2rem] flex items-center justify-center"},[o(f,{width:"100%",src:a(e.product.brand),fallbackSrc:"/static/icons/default.png",alt:e.product.brand},null)]),o("div",{class:"flex-1 w-full"},[o("h3",{class:"font-semibold mb-[0.8rem] text-gray-800 leading-tight"},[e.product.title]),o("p",{class:"text-[1.3rem] text-gray-500 m-0 leading-relaxed px-[0.8rem]"},["宝塔证书"===e.product.brand?"宝塔证书是新国产证书品牌,支持 ECC、RSA 及我国商用密码 SM2 等标准算法,兼容国密浏览器":`${e.product.brand}是知名的证书颁发机构,提供高质量的SSL证书解决方案`,v("。")])])]),o("div",{class:"flex-1 flex flex-col mt-0"},[o("div",{class:"text-[1.3rem] mb-[2.4rem] flex-1 text-left"},[o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("支持域名数:")]),o("span",{class:"flex-1 text-gray-700"},[e.product.num,v("个")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("支持通配符:")]),o("span",{class:"flex-1 text-gray-700"},[t.value?"支持":"不支持"])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("绿色地址栏:")]),o("span",{class:"flex-1 text-gray-700"},[e.product.type.includes("EV")?"显示":"不显示"])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("支持小程序:")]),o("span",{class:"flex-1 text-gray-700"},[v("支持")])]),o("div",{class:"flex mb-[1rem] leading-relaxed whitespace-nowrap overflow-hidden text-ellipsis text-gray-500"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[v("适用网站:")]),o("span",{class:"flex-1 text-gray-600 whitespace-nowrap overflow-hidden text-ellipsis"},[(null==(i=e.product)?void 0:i.ipssl)?"支持IP SSL证书":t.value?r.value?"*.bt.cn、*.btnode.cn":"*.bt.cn":r.value?"bt.cn、btnode.cn":"www.bt.cn、bt.cn"])])]),o("div",{class:"flex justify-between items-center mt-[1.6rem] pt-[1.6rem] border-t border-gray-100"},[o("div",{class:"flex-1 flex flex-col"},[o("div",{class:"flex items-baseline justify-start"},[o("span",{class:"text-[2.2rem] font-bold text-red-500 leading-tight"},[e.formatPrice(e.product.price)]),o("span",{class:"text-[1.3rem] text-gray-400 ml-[0.4rem]"},[v("元/年")])]),o("div",{class:"text-[1.3rem] text-gray-400 line-through mt-[0.4rem]"},[v("原价 "),e.formatPrice(e.product.other_price),v("元/年")])]),o(x,{type:"primary",class:"flex-none transition-all duration-300 min-w-[9rem] hover:scale-105 hover:shadow-md",onClick:s,strong:!0,round:!0},{default:()=>[v("立即查看")]})])])])}}});const G=e({name:"FreeProductCard",props:{product:{type:Object,required:!0},onApply:{type:Function,required:!0}},setup(e){const t=c((()=>e.product.title.toLowerCase().includes(d("t_10_1746667589575")))),r=c((()=>e.product.title.toLowerCase().includes(d("t_11_1746667589598")))),s=()=>{e.onApply(e.product.pid)},a=e=>{const t=e.toLowerCase(),r={sectigo:"/static/icons/sectigo-ico.png",positive:"/static/icons/positive-ico.png",ssltrus:"/static/icons/ssltrus-ico.png","let's encrypt":"/static/icons/letsencrypt-icon.svg"};return Object.keys(r).find((e=>t.includes(e)))?r[Object.keys(r).find((e=>t.includes(e)))]:void 0};return()=>{let i;return o("div",{class:"relative border border-gray-200 rounded-[0.8rem] p-[2rem] transition-all duration-300 h-full flex flex-col bg-white shadow-sm hover:shadow-md hover:border-blue-100 hover:-translate-y-[0.2rem]"},["Let's Encrypt"===e.product.brand&&o("div",{class:"absolute top-[1.2rem] right-[1.2rem] z-10"},[o(O,{type:"info",value:d("t_12_1746667589733")},null)]),o("div",{class:"flex flex-col items-center text-center mb-[2rem] pb-[1.6rem] border-b border-gray-100"},[o("div",{class:"flex-none h-[6rem] w-2/5 mb-[1.2rem] flex items-center justify-center"},[o(f,{src:a(e.product.brand),fallbackSrc:"/static/icons/default.png",alt:e.product.brand},null)]),o("div",{class:"flex-1 w-full"},[o("h3",{class:"font-semibold mb-[0.8rem] text-gray-800 leading-tight"},[e.product.title]),o("p",{class:"text-[1.3rem] text-gray-500 m-0 leading-relaxed px-[0.8rem]"},[e.product.brand+d("t_13_1746667599218")])])]),o("div",{class:"flex-1 flex flex-col mt-0"},[o("div",{class:"text-[1.3rem] mb-[2.4rem] flex-1 text-left"},[o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_14_1746667590827")]),o("span",{class:"flex-1 text-gray-700"},[e.product.num+d("t_15_1746667588493")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_16_1746667591069")]),o("span",{class:"flex-1 text-gray-700"},[d("t_17_1746667588785")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_19_1746667589295")]),o("span",{class:"flex-1 text-gray-700"},[e.product.valid_days+d("t_20_1746667588453")])]),o("div",{class:"flex mb-[1rem] leading-relaxed"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_21_1746667590834")]),o("span",{class:"flex-1 text-gray-700"},[d("t_17_1746667588785")])]),o("div",{class:"flex mb-[1rem] leading-relaxed whitespace-nowrap overflow-hidden text-ellipsis text-gray-500"},[o("span",{class:"font-medium text-gray-500 flex-none w-[9rem]"},[d("t_22_1746667591024")]),o("span",{class:"flex-1 text-gray-600 whitespace-nowrap overflow-hidden text-ellipsis"},[t.value?r.value?d("t_23_1746667591989"):d("t_24_1746667583520"):r.value?d("t_25_1746667590147"):d("t_26_1746667594662")])])]),o("div",{class:"flex justify-between items-center mt-[1.6rem] pt-[1.6rem] border-t border-gray-100"},[o("div",{class:"flex-1 flex flex-col"},[o("div",{class:"flex items-baseline justify-start"},[o("span",{class:"text-[2.2rem] font-bold text-green-500 leading-tight"},[d("t_27_1746667589350")])])]),o(x,{type:"primary",class:"flex-none transition-all duration-300 min-w-[9rem] hover:scale-105 hover:shadow-md",onClick:s,strong:!0,round:!0},(l=i=d("t_28_1746667590336"),"function"==typeof l||"[object Object]"===Object.prototype.toString.call(l)&&!y(l)?i:{default:()=>[i]}))])])]);var l}}});function J(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!y(e)}const R=e({setup(){const{activeMainTab:e,activeTab:t,mainTabOptions:r,sslTypeList:s,freeProducts:a,filteredProducts:i,handleBuyProduct:l,formatPrice:c,handleOpenApplyModal:n}=I();return()=>{let d;return o("div",{class:"w-full max-w-[160rem] mx-auto p-[2rem]"},[o("div",{class:"bg-white rounded-[0.6rem] p-[2.4rem] mb-[3rem]"},[o(k,{class:"rounded-[1.2rem] p-[0.6rem]",type:"segment",value:e.value,"onUpdate:value":t=>e.value=t,size:"large",justifyContent:"space-evenly"},J(d=r.value.map((r=>o(E,{key:r.key,name:r.key},{tab:()=>o("div",{class:"flex items-center my-[1rem] px-[0.8rem] py-[0.4rem] rounded-[0.8rem] transition-all duration-300 hover:bg-black/5 "},[o(b,{size:"20"},{default:()=>["commercial"===r.key?o(C,null,null):o(T,null,null)]}),o("span",{class:"ml-[0.8rem]"},[r.title])]),default:()=>{let r;return o("div",{class:"py-[0.4rem] rounded-[1.6rem]"},["commercial"===e.value&&o(k,{class:"w-full p-0 mt-[1.6rem] rounded-[0.8rem] overflow-hidden",type:"line",value:t.value,"onUpdate:value":e=>t.value=e,size:"medium",justifyContent:"space-evenly"},J(r=s.value.map((e=>o(E,{key:e.type,name:e.type,tab:e.title},{default:()=>[o("div",{class:"flex flex-col gap-[2.4rem] mt-[1rem]"},[i.value.length>0?o("div",{class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"},[i.value.map((e=>o($,{key:e.pid,product:e,formatPrice:c,onBuy:l},null)))]):o(g,{description:"暂无产品"},null)])]}))))?r:{default:()=>[r]}),"free"===e.value&&o("div",{class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"},[a.value.map((e=>o(G,{key:e.pid,product:e,onApply:n},null)))])])}}))))?d:{default:()=>[d]})])])}}});export{R as default}; diff --git a/build/static/js/index-CqgNeDtu.js b/build/static/js/index-ZKxChdaz.js similarity index 92% rename from build/static/js/index-CqgNeDtu.js rename to build/static/js/index-ZKxChdaz.js index c0ce3d3..60d30d8 100644 --- a/build/static/js/index-CqgNeDtu.js +++ b/build/static/js/index-ZKxChdaz.js @@ -1 +1 @@ -import{e as t,s as e,r as a,f as r,$ as o,d as i,c as n,a4 as s,u as l,g as c,h as d,B as u,a5 as m,j as p,k as _,i as y,l as f,m as h,y as g,z as v,o as w,aV as x,a as M,b,t as j}from"./main-BFg_w1GP.js";import{c as k,u as F,a as E,b as C}from"./index-CTQigr-B.js";import{b as q}from"./business-CHQBsAXz.js";import{N as S}from"./index-CpcVhPm1.js";import{T}from"./index-LKLPe19M.js";import{B as z}from"./index-CiXlCrWk.js";import{E as A,S as P}from"./index-P-RSxeKl.js";import"./index-BJNUeE_-.js";import"./useStore-JDVosxir.js";import"./index-DDxgyK5X.js";import"./index-CtqD4msy.js";import"./setting-DGJTDRYI.js";import"./access-B4X6xtmm.js";import"./data-BFMmsjgZ.js";const{handleError:N}=F(),O=r(),U=t("monitor-store",(()=>{const t=a({id:0,name:"",domain:"",cycle:1,report_type:""}),e=async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/add_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_7_1745289355714")),!1}},r=async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/upd_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_23_1745289355716")),!1}};return{monitorForm:t,fetchMonitorList:async t=>{try{const{data:e,count:a}=await(t=>k("/v1/siteMonitor/get_list",t))(t).fetch();return{list:e||[],total:a}}catch(e){return N(e),{list:[],total:0}}},addNewMonitor:e,updateExistingMonitor:r,deleteExistingMonitor:async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/del_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_40_1745227838872")),!1}},setMonitorStatus:async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/set_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_24_1745289355715")),!1}},resetMonitorForm:()=>{t.value={id:0,name:"",domain:"",cycle:1,report_type:""}},updateMonitorForm:(e=t.value)=>{const{id:a,name:r,domain:o,cycle:i,report_type:n}=e||t.value;t.value={id:a,name:r,domain:o,cycle:i,report_type:n}},submitForm:async()=>{const{id:a,...o}=t.value;return a?r({id:a,...o}):e(o)}}})),V=i({name:"MonitorForm",props:{isEdit:{type:Boolean,default:!1},data:{type:Object,default:()=>null}},setup(t){const{component:e}=Q(t.data);return()=>n(e,{labelPlacement:"top"},null)}});function B(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!y(t)}const{fetchMonitorList:L,deleteExistingMonitor:H,setMonitorStatus:D,monitorForm:I,addNewMonitor:R,updateExistingMonitor:$,resetMonitorForm:G,updateMonitorForm:K}=(()=>{const t=U();return{...t,...e(t)}})(),{handleError:J}=F(),Q=(t=null)=>{const{useFormInput:e,useFormCustom:a,useFormInputNumber:r}=h(),{open:o,close:i}=C({text:"正在提交信息,请稍后..."}),{confirm:s}=v(),l=f((()=>[e("名称","name"),e("域名","domain"),r("周期(分钟)","cycle",{class:"w-full"}),a((()=>n(S,{path:"report_type",isAddMode:!0,value:I.value.report_type,valueType:"type","onUpdate:value":t=>{I.value.report_type=t.value}},null)))])),c={name:{required:!0,message:"请输入名称",trigger:"input"},domain:{required:!0,message:"请输入正确的域名",trigger:"input",validator:(t,e,a)=>{q(e)?a():a(new Error("请输入正确的域名"))}},cycle:{required:!0,message:"请输入周期",trigger:"input",type:"number",min:1,max:365},report_type:{required:!0,message:"请选择消息通知类型",trigger:"change"}},{component:d,fetch:u}=g({config:l,defaultValue:I,request:async e=>{try{if(t)await $({...e,id:t.id});else{const{id:t,...a}=e;await R(a)}}catch(a){J(a).default("添加失败")}},rules:c});return s((async t=>{try{o(),await u(),t()}catch(e){return J(e)}finally{i()}})),w((()=>{K(t)})),x(G),{component:d}};const W=i({name:"MonitorManage",setup(){const{MonitorTable:t,MonitorTablePage:e,param:a,fetch:r,data:i,openAddForm:f,isDetectionAddMonitor:h}=(()=>{const t=s(),e=l(),{component:a,loading:r,param:i,data:y,total:f,fetch:h}=c({config:[{title:o("t_13_1745289354528"),key:"name",width:150},{title:o("t_17_1745227838561"),key:"site_domain",width:180,render:t=>n(u,{tag:"a",text:!0,type:"primary",href:`https://${t.site_domain}`,target:"_blank"},{default:()=>[t.site_domain]})},{title:o("t_14_1745289354902"),key:"cert_domain",width:180,render:t=>t.cert_domain||"-"},{title:o("t_15_1745289355714"),key:"ca",width:180},{title:o("t_16_1745289354902"),key:"state",width:100},{title:o("t_17_1745289355715"),key:"end_time",width:150,render:t=>t.end_time+"("+t.end_day+")"},{title:o("t_18_1745289354598"),key:"report_type",width:150,render:t=>n(T,{icon:t.report_type},null)},{title:o("t_4_1745215914951"),key:"active",width:100,render:t=>n(m,{value:1===t.active,onUpdateValue:()=>M(t)},null)},{title:o("t_19_1745289354676"),key:"update_time",width:150,render:t=>t.update_time||"-"},{title:o("t_7_1745215914189"),key:"create_time",width:150},{title:o("t_8_1745215914610"),key:"actions",width:150,fixed:"right",align:"right",render:t=>{let e,a;return n(p,{justify:"end"},{default:()=>[n(u,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>w(t)},B(e=o("t_11_1745215915429"))?e:{default:()=>[e]}),n(u,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>x(t)},B(a=o("t_12_1745215914312"))?a:{default:()=>[a]})]})}}],request:L,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:g}=d({param:i,total:f,alias:{page:"p",pageSize:"limit"}}),v=()=>{_({title:o("t_11_1745289354516"),area:500,component:V,footer:!0,onUpdateShow(t){t||h()}})},w=t=>{_({title:o("t_20_1745289354598"),area:500,component:V,componentProps:{isEdit:t.id,data:t},footer:!0,onUpdateShow(t){t||h()}})},x=t=>{E({title:o("t_0_1745294710530"),content:o("t_22_1745289359036"),confirmText:o("t_5_1744870862719"),cancelText:o("t_4_1744870861589"),onPositiveClick:async()=>{await H(t),h()}})},M=async t=>{await D({id:t.id,active:Number(t.active)?0:1}),h()};return{loading:r,fetch:h,MonitorTable:a,MonitorTablePage:g,isDetectionAddMonitor:()=>{const{type:a}=t.query;(null==a?void 0:a.includes("create"))&&(v(),e.push({query:{}}))},param:i,data:y,openAddForm:v}})(),g=M(["contentPadding","borderColor","headerHeight","iconColorHover"]);return w((()=>{r(),h()})),()=>n("div",{class:"h-full flex flex-col",style:g.value},[n("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[n(z,null,{headerLeft:()=>{let t;return n(u,{type:"primary",size:"large",class:"px-5",onClick:f},"function"==typeof(e=t=o("t_11_1745289354516"))||"[object Object]"===Object.prototype.toString.call(e)&&!y(e)?t:{default:()=>[t]});var e},headerRight:()=>n(j,{value:a.value.search,"onUpdate:value":t=>a.value.search=t,onKeydown:t=>{"Enter"===t.key&&r()},onClear:()=>r(),placeholder:o("t_12_1745289356974"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>n("div",{class:"flex items-center",onClick:r},[n(P,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])}),content:()=>n("div",{class:"rounded-lg"},[n(t,{size:"medium"},{empty:()=>n(A,{addButtonText:o("t_11_1745289354516"),onAddClick:f},null)})]),footerRight:()=>n("div",{class:"mt-4 flex justify-end"},[n(e,null,{prefix:()=>n("span",null,[o("t_15_1745227839354"),b(" "),i.value.total,b(" "),o("t_16_1745227838930")])})])})])])}});export{W as default}; +import{e as t,s as e,r as a,f as r,$ as o,d as i,c as n,a4 as s,u as l,g as c,h as d,B as u,a5 as m,j as p,k as _,i as y,l as f,m as h,y as g,z as v,o as w,aV as x,a as M,b,t as j}from"./main-BFwn2e3T.js";import{c as k,u as F,a as E,b as C}from"./index-DVPyxbgP.js";import{b as q}from"./business-_Rh7_-TN.js";import{N as S}from"./index-CPLaRXZR.js";import{T}from"./index-C8NKLf_M.js";import{B as z}from"./index-BL1j0ssQ.js";import{E as A,S as P}from"./index-BfiZrXAG.js";import"./index-CMwhkNZE.js";import"./useStore-BJbmyusH.js";import"./index-rVZjvqYb.js";import"./index-9yXMuG-J.js";import"./setting-pEP5KeW9.js";import"./access-FhEUImRw.js";import"./data-DE4JXv04.js";const{handleError:N}=F(),O=r(),U=t("monitor-store",(()=>{const t=a({id:0,name:"",domain:"",cycle:1,report_type:""}),e=async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/add_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_7_1745289355714")),!1}},r=async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/upd_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_23_1745289355716")),!1}};return{monitorForm:t,fetchMonitorList:async t=>{try{const{data:e,count:a}=await(t=>k("/v1/siteMonitor/get_list",t))(t).fetch();return{list:e||[],total:a}}catch(e){return N(e),{list:[],total:0}}},addNewMonitor:e,updateExistingMonitor:r,deleteExistingMonitor:async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/del_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_40_1745227838872")),!1}},setMonitorStatus:async t=>{try{const{fetch:e,message:a}=(t=>k("/v1/siteMonitor/set_site_monitor",t))(t);return a.value=!0,await e(),!0}catch(e){return N(e)&&O.error(o("t_24_1745289355715")),!1}},resetMonitorForm:()=>{t.value={id:0,name:"",domain:"",cycle:1,report_type:""}},updateMonitorForm:(e=t.value)=>{const{id:a,name:r,domain:o,cycle:i,report_type:n}=e||t.value;t.value={id:a,name:r,domain:o,cycle:i,report_type:n}},submitForm:async()=>{const{id:a,...o}=t.value;return a?r({id:a,...o}):e(o)}}})),V=i({name:"MonitorForm",props:{isEdit:{type:Boolean,default:!1},data:{type:Object,default:()=>null}},setup(t){const{component:e}=Q(t.data);return()=>n(e,{labelPlacement:"top"},null)}});function B(t){return"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!y(t)}const{fetchMonitorList:L,deleteExistingMonitor:H,setMonitorStatus:D,monitorForm:I,addNewMonitor:R,updateExistingMonitor:$,resetMonitorForm:G,updateMonitorForm:K}=(()=>{const t=U();return{...t,...e(t)}})(),{handleError:J}=F(),Q=(t=null)=>{const{useFormInput:e,useFormCustom:a,useFormInputNumber:r}=h(),{open:o,close:i}=C({text:"正在提交信息,请稍后..."}),{confirm:s}=v(),l=f((()=>[e("名称","name"),e("域名","domain"),r("周期(分钟)","cycle",{class:"w-full"}),a((()=>n(S,{path:"report_type",isAddMode:!0,value:I.value.report_type,valueType:"type","onUpdate:value":t=>{I.value.report_type=t.value}},null)))])),c={name:{required:!0,message:"请输入名称",trigger:"input"},domain:{required:!0,message:"请输入正确的域名",trigger:"input",validator:(t,e,a)=>{q(e)?a():a(new Error("请输入正确的域名"))}},cycle:{required:!0,message:"请输入周期",trigger:"input",type:"number",min:1,max:365},report_type:{required:!0,message:"请选择消息通知类型",trigger:"change"}},{component:d,fetch:u}=g({config:l,defaultValue:I,request:async e=>{try{if(t)await $({...e,id:t.id});else{const{id:t,...a}=e;await R(a)}}catch(a){J(a).default("添加失败")}},rules:c});return s((async t=>{try{o(),await u(),t()}catch(e){return J(e)}finally{i()}})),w((()=>{K(t)})),x(G),{component:d}};const W=i({name:"MonitorManage",setup(){const{MonitorTable:t,MonitorTablePage:e,param:a,fetch:r,data:i,openAddForm:f,isDetectionAddMonitor:h}=(()=>{const t=s(),e=l(),{component:a,loading:r,param:i,data:y,total:f,fetch:h}=c({config:[{title:o("t_13_1745289354528"),key:"name",width:150},{title:o("t_17_1745227838561"),key:"site_domain",width:180,render:t=>n(u,{tag:"a",text:!0,type:"primary",href:`https://${t.site_domain}`,target:"_blank"},{default:()=>[t.site_domain]})},{title:o("t_14_1745289354902"),key:"cert_domain",width:180,render:t=>t.cert_domain||"-"},{title:o("t_15_1745289355714"),key:"ca",width:180},{title:o("t_16_1745289354902"),key:"state",width:100},{title:o("t_17_1745289355715"),key:"end_time",width:150,render:t=>t.end_time+"("+t.end_day+")"},{title:o("t_18_1745289354598"),key:"report_type",width:150,render:t=>n(T,{icon:t.report_type},null)},{title:o("t_4_1745215914951"),key:"active",width:100,render:t=>n(m,{value:1===t.active,onUpdateValue:()=>M(t)},null)},{title:o("t_19_1745289354676"),key:"update_time",width:150,render:t=>t.update_time||"-"},{title:o("t_7_1745215914189"),key:"create_time",width:150},{title:o("t_8_1745215914610"),key:"actions",width:150,fixed:"right",align:"right",render:t=>{let e,a;return n(p,{justify:"end"},{default:()=>[n(u,{size:"tiny",strong:!0,secondary:!0,type:"primary",onClick:()=>w(t)},B(e=o("t_11_1745215915429"))?e:{default:()=>[e]}),n(u,{size:"tiny",strong:!0,secondary:!0,type:"error",onClick:()=>x(t)},B(a=o("t_12_1745215914312"))?a:{default:()=>[a]})]})}}],request:L,defaultValue:{p:1,limit:10,search:""},watchValue:["p","limit"]}),{component:g}=d({param:i,total:f,alias:{page:"p",pageSize:"limit"}}),v=()=>{_({title:o("t_11_1745289354516"),area:500,component:V,footer:!0,onUpdateShow(t){t||h()}})},w=t=>{_({title:o("t_20_1745289354598"),area:500,component:V,componentProps:{isEdit:t.id,data:t},footer:!0,onUpdateShow(t){t||h()}})},x=t=>{E({title:o("t_0_1745294710530"),content:o("t_22_1745289359036"),confirmText:o("t_5_1744870862719"),cancelText:o("t_4_1744870861589"),onPositiveClick:async()=>{await H(t),h()}})},M=async t=>{await D({id:t.id,active:Number(t.active)?0:1}),h()};return{loading:r,fetch:h,MonitorTable:a,MonitorTablePage:g,isDetectionAddMonitor:()=>{const{type:a}=t.query;(null==a?void 0:a.includes("create"))&&(v(),e.push({query:{}}))},param:i,data:y,openAddForm:v}})(),g=M(["contentPadding","borderColor","headerHeight","iconColorHover"]);return w((()=>{r(),h()})),()=>n("div",{class:"h-full flex flex-col",style:g.value},[n("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[n(z,null,{headerLeft:()=>{let t;return n(u,{type:"primary",size:"large",class:"px-5",onClick:f},"function"==typeof(e=t=o("t_11_1745289354516"))||"[object Object]"===Object.prototype.toString.call(e)&&!y(e)?t:{default:()=>[t]});var e},headerRight:()=>n(j,{value:a.value.search,"onUpdate:value":t=>a.value.search=t,onKeydown:t=>{"Enter"===t.key&&r()},onClear:()=>r(),placeholder:o("t_12_1745289356974"),clearable:!0,size:"large",class:"min-w-[300px]"},{suffix:()=>n("div",{class:"flex items-center",onClick:r},[n(P,{class:"text-[var(--text-color-3)] w-[1.6rem] cursor-pointer font-bold"},null)])}),content:()=>n("div",{class:"rounded-lg"},[n(t,{size:"medium"},{empty:()=>n(A,{addButtonText:o("t_11_1745289354516"),onAddClick:f},null)})]),footerRight:()=>n("div",{class:"mt-4 flex justify-end"},[n(e,null,{prefix:()=>n("span",null,[o("t_15_1745227839354"),b(" "),i.value.total,b(" "),o("t_16_1745227838930")])})])})])])}});export{W as default}; diff --git a/build/static/js/index-CrzggPms.js b/build/static/js/index-nyjBI9lx.js similarity index 98% rename from build/static/js/index-CrzggPms.js rename to build/static/js/index-nyjBI9lx.js index 2597ae9..f52095b 100644 --- a/build/static/js/index-CrzggPms.js +++ b/build/static/js/index-nyjBI9lx.js @@ -1 +1 @@ -import{u as e,a as t,b as n,P as r,T as l,m as o}from"./index-CTQigr-B.js";import{D as a,E as s,aW as i,aX as c,al as d,F as p,G as u,d as m,aY as b,H as g,aZ as h,a_ as v,I as f,K as _,a$ as y,l as w,aP as x,M as C,az as S,aO as z,b0 as k,W as $,J as O,O as P,A as j,b1 as R,Y as T,Z as N,_ as A,e as B,s as L,r as M,$ as V,y as G,z as q,c as D,w as E,q as F,t as I,a5 as H,ap as U,a4 as J,u as W,m as Y,f as Z,k as K,B as X,a0 as Q,b2 as ee,i as te,N as ne,b as re,j as le,a3 as oe,o as ae}from"./main-BFg_w1GP.js";import{g as se,s as ie,a as ce,b as de,u as pe,t as ue,d as me}from"./setting-DGJTDRYI.js";import{B as be}from"./index-CiXlCrWk.js";import{S as ge}from"./index-BJNUeE_-.js";import{N as he,a as ve}from"./Tabs-Dr4JKa0V.js";import"./throttle-BHKGqXBF.js";function fe(e,t="default",n=[]){const{children:r}=e;if(null!==r&&"object"==typeof r&&!Array.isArray(r)){const e=r[t];if("function"==typeof e)return e()}return n}const _e=a([s("descriptions",{fontSize:"var(--n-font-size)"},[s("descriptions-separator","\n display: inline-block;\n margin: 0 8px 0 2px;\n "),s("descriptions-table-wrapper",[s("descriptions-table",[s("descriptions-table-row",[s("descriptions-table-header",{padding:"var(--n-th-padding)"}),s("descriptions-table-content",{padding:"var(--n-td-padding)"})])])]),d("bordered",[s("descriptions-table-wrapper",[s("descriptions-table",[s("descriptions-table-row",[a("&:last-child",[s("descriptions-table-content",{paddingBottom:0})])])])])]),p("left-label-placement",[s("descriptions-table-content",[a("> *",{verticalAlign:"top"})])]),p("left-label-align",[a("th",{textAlign:"left"})]),p("center-label-align",[a("th",{textAlign:"center"})]),p("right-label-align",[a("th",{textAlign:"right"})]),p("bordered",[s("descriptions-table-wrapper","\n border-radius: var(--n-border-radius);\n overflow: hidden;\n background: var(--n-merged-td-color);\n border: 1px solid var(--n-merged-border-color);\n ",[s("descriptions-table",[s("descriptions-table-row",[a("&:not(:last-child)",[s("descriptions-table-content",{borderBottom:"1px solid var(--n-merged-border-color)"}),s("descriptions-table-header",{borderBottom:"1px solid var(--n-merged-border-color)"})]),s("descriptions-table-header","\n font-weight: 400;\n background-clip: padding-box;\n background-color: var(--n-merged-th-color);\n ",[a("&:not(:last-child)",{borderRight:"1px solid var(--n-merged-border-color)"})]),s("descriptions-table-content",[a("&:not(:last-child)",{borderRight:"1px solid var(--n-merged-border-color)"})])])])])]),s("descriptions-header","\n font-weight: var(--n-th-font-weight);\n font-size: 18px;\n transition: color .3s var(--n-bezier);\n line-height: var(--n-line-height);\n margin-bottom: 16px;\n color: var(--n-title-text-color);\n "),s("descriptions-table-wrapper","\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[s("descriptions-table","\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n box-sizing: border-box;\n ",[s("descriptions-table-row","\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n ",[s("descriptions-table-header","\n font-weight: var(--n-th-font-weight);\n line-height: var(--n-line-height);\n display: table-cell;\n box-sizing: border-box;\n color: var(--n-th-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),s("descriptions-table-content","\n vertical-align: top;\n line-height: var(--n-line-height);\n display: table-cell;\n box-sizing: border-box;\n color: var(--n-td-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[u("content","\n transition: color .3s var(--n-bezier);\n display: inline-block;\n color: var(--n-td-text-color);\n ")]),u("label","\n font-weight: var(--n-th-font-weight);\n transition: color .3s var(--n-bezier);\n display: inline-block;\n margin-right: 14px;\n color: var(--n-th-text-color);\n ")])])])]),s("descriptions-table-wrapper","\n --n-merged-th-color: var(--n-th-color);\n --n-merged-td-color: var(--n-td-color);\n --n-merged-border-color: var(--n-border-color);\n "),i(s("descriptions-table-wrapper","\n --n-merged-th-color: var(--n-th-color-modal);\n --n-merged-td-color: var(--n-td-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ")),c(s("descriptions-table-wrapper","\n --n-merged-th-color: var(--n-th-color-popover);\n --n-merged-td-color: var(--n-td-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n "))]),ye="DESCRIPTION_ITEM_FLAG";const we=m({name:"Descriptions",props:Object.assign(Object.assign({},_.props),{title:String,column:{type:Number,default:3},columns:Number,labelPlacement:{type:String,default:"top"},labelAlign:{type:String,default:"left"},separator:{type:String,default:":"},size:{type:String,default:"medium"},bordered:Boolean,labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=f(e),r=_("Descriptions","-descriptions",_e,y,e,t),l=w((()=>{const{size:t,bordered:n}=e,{common:{cubicBezierEaseInOut:l},self:{titleTextColor:o,thColor:a,thColorModal:s,thColorPopover:i,thTextColor:c,thFontWeight:d,tdTextColor:p,tdColor:u,tdColorModal:m,tdColorPopover:b,borderColor:g,borderColorModal:h,borderColorPopover:v,borderRadius:f,lineHeight:_,[x("fontSize",t)]:y,[x(n?"thPaddingBordered":"thPadding",t)]:w,[x(n?"tdPaddingBordered":"tdPadding",t)]:C}}=r.value;return{"--n-title-text-color":o,"--n-th-padding":w,"--n-td-padding":C,"--n-font-size":y,"--n-bezier":l,"--n-th-font-weight":d,"--n-line-height":_,"--n-th-text-color":c,"--n-td-text-color":p,"--n-th-color":a,"--n-th-color-modal":s,"--n-th-color-popover":i,"--n-td-color":u,"--n-td-color-modal":m,"--n-td-color-popover":b,"--n-border-radius":f,"--n-border-color":g,"--n-border-color-modal":h,"--n-border-color-popover":v}})),o=n?C("descriptions",w((()=>{let t="";const{size:n,bordered:r}=e;return r&&(t+="a"),t+=n[0],t})),l,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:l,themeClass:null==o?void 0:o.themeClass,onRender:null==o?void 0:o.onRender,compitableColumn:S(e,["columns","column"]),inlineThemeDisabled:n}},render(){const e=this.$slots.default,t=e?b(e()):[];t.length;const{contentClass:n,labelClass:r,compitableColumn:l,labelPlacement:o,labelAlign:a,size:s,bordered:i,title:c,cssVars:d,mergedClsPrefix:p,separator:u,onRender:m}=this;null==m||m();const f=t.filter((e=>{return!("object"!=typeof(t=e)||!t||Array.isArray(t))&&t.type&&t.type[ye];var t})),_=f.reduce(((e,t,a)=>{const s=t.props||{},c=f.length-1===a,d=["label"in s?s.label:fe(t,"label")],m=[fe(t)],b=s.span||1,h=e.span;e.span+=b;const v=s.labelStyle||s["label-style"]||this.labelStyle,_=s.contentStyle||s["content-style"]||this.contentStyle;if("left"===o)i?e.row.push(g("th",{class:[`${p}-descriptions-table-header`,r],colspan:1,style:v},d),g("td",{class:[`${p}-descriptions-table-content`,n],colspan:c?2*(l-h)+1:2*b-1,style:_},m)):e.row.push(g("td",{class:`${p}-descriptions-table-content`,colspan:c?2*(l-h):2*b},g("span",{class:[`${p}-descriptions-table-content__label`,r],style:v},[...d,u&&g("span",{class:`${p}-descriptions-separator`},u)]),g("span",{class:[`${p}-descriptions-table-content__content`,n],style:_},m)));else{const t=c?2*(l-h):2*b;e.row.push(g("th",{class:[`${p}-descriptions-table-header`,r],colspan:t,style:v},d)),e.secondRow.push(g("td",{class:[`${p}-descriptions-table-content`,n],colspan:t,style:_},m))}return(e.span>=l||c)&&(e.span=0,e.row.length&&(e.rows.push(e.row),e.row=[]),"left"!==o&&e.secondRow.length&&(e.rows.push(e.secondRow),e.secondRow=[])),e}),{span:0,row:[],secondRow:[],rows:[]}).rows.map((e=>g("tr",{class:`${p}-descriptions-table-row`},e)));return g("div",{style:d,class:[`${p}-descriptions`,this.themeClass,`${p}-descriptions--${o}-label-placement`,`${p}-descriptions--${a}-label-align`,`${p}-descriptions--${s}-size`,i&&`${p}-descriptions--bordered`]},c||this.$slots.header?g("div",{class:`${p}-descriptions-header`},c||v(this,"header")):null,g("div",{class:`${p}-descriptions-table-wrapper`},g("table",{class:`${p}-descriptions-table`},g("tbody",null,"top"===o&&g("tr",{class:`${p}-descriptions-table-row`,style:{visibility:"collapse"}},h(2*l,g("td",null))),_))))}}),xe={label:String,span:{type:Number,default:1},labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]},Ce=m({name:"DescriptionsItem",[ye]:!0,props:xe,slots:Object,render:()=>null}),Se=a([s("list","\n --n-merged-border-color: var(--n-border-color);\n --n-merged-color: var(--n-color);\n --n-merged-color-hover: var(--n-color-hover);\n margin: 0;\n font-size: var(--n-font-size);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n padding: 0;\n list-style-type: none;\n color: var(--n-text-color);\n background-color: var(--n-merged-color);\n ",[p("show-divider",[s("list-item",[a("&:not(:last-child)",[u("divider","\n background-color: var(--n-merged-border-color);\n ")])])]),p("clickable",[s("list-item","\n cursor: pointer;\n ")]),p("bordered","\n border: 1px solid var(--n-merged-border-color);\n border-radius: var(--n-border-radius);\n "),p("hoverable",[s("list-item","\n border-radius: var(--n-border-radius);\n ",[a("&:hover","\n background-color: var(--n-merged-color-hover);\n ",[u("divider","\n background-color: transparent;\n ")])])]),p("bordered, hoverable",[s("list-item","\n padding: 12px 20px;\n "),u("header, footer","\n padding: 12px 20px;\n ")]),u("header, footer","\n padding: 12px 0;\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n ",[a("&:not(:last-child)","\n border-bottom: 1px solid var(--n-merged-border-color);\n ")]),s("list-item","\n position: relative;\n padding: 12px 0; \n box-sizing: border-box;\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[u("prefix","\n margin-right: 20px;\n flex: 0;\n "),u("suffix","\n margin-left: 20px;\n flex: 0;\n "),u("main","\n flex: 1;\n "),u("divider","\n height: 1px;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: transparent;\n transition: background-color .3s var(--n-bezier);\n pointer-events: none;\n ")])]),i(s("list","\n --n-merged-color-hover: var(--n-color-hover-modal);\n --n-merged-color: var(--n-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ")),c(s("list","\n --n-merged-color-hover: var(--n-color-hover-popover);\n --n-merged-color: var(--n-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n "))]),ze=Object.assign(Object.assign({},_.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),ke=P("n-list"),$e=m({name:"List",props:ze,slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:r}=f(e),l=z("List",r,t),o=_("List","-list",Se,k,e,t);$(ke,{showDividerRef:O(e,"showDivider"),mergedClsPrefixRef:t});const a=w((()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:t,textColor:n,color:r,colorModal:l,colorPopover:a,borderColor:s,borderColorModal:i,borderColorPopover:c,borderRadius:d,colorHover:p,colorHoverModal:u,colorHoverPopover:m}}=o.value;return{"--n-font-size":t,"--n-bezier":e,"--n-text-color":n,"--n-color":r,"--n-border-radius":d,"--n-border-color":s,"--n-border-color-modal":i,"--n-border-color-popover":c,"--n-color-modal":l,"--n-color-popover":a,"--n-color-hover":p,"--n-color-hover-modal":u,"--n-color-hover-popover":m}})),s=n?C("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:l,cssVars:n?void 0:a,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:r}=this;return null==r||r(),g("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?g("div",{class:`${n}-list__header`},t.header()):null,null===(e=t.default)||void 0===e?void 0:e.call(t),t.footer?g("div",{class:`${n}-list__footer`},t.footer()):null)}}),Oe=m({name:"ListItem",slots:Object,setup(){const e=j(ke,null);return e||R("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return g("li",{class:`${t}-list-item`},e.prefix?g("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?g("div",{class:`${t}-list-item__main`},e):null,e.suffix?g("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&g("div",{class:`${t}-list-item__divider`}))}}),Pe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},je=m({name:"BellOutlined",render:function(e,t){return N(),T("svg",Pe,t[0]||(t[0]=[A("path",{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z",fill:"currentColor"},null,-1)]))}}),Re={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},Te=m({name:"InfoCircleOutlined",render:function(e,t){return N(),T("svg",Re,t[0]||(t[0]=[A("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372z",fill:"currentColor"},null,-1),A("path",{d:"M464 336a48 48 0 1 0 96 0a48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z",fill:"currentColor"},null,-1)]))}}),Ne={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},Ae=m({name:"SettingOutlined",render:function(e,t){return N(),T("svg",Ne,t[0]||(t[0]=[A("path",{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1c0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1l74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3l-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2l-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9l-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5l-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5c0-15.3 1.2-30.6 3.7-45.5l6.5-40l-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2l31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3l17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97l38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8l92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176s176-78.8 176-176s-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z",fill:"currentColor"},null,-1)]))}}),Be={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Le=m({name:"LogoGithub",render:function(e,t){return N(),T("svg",Be,t[0]||(t[0]=[A("path",{d:"M256 32C132.3 32 32 134.9 32 261.7c0 101.5 64.2 187.5 153.2 217.9a17.56 17.56 0 0 0 3.8.4c8.3 0 11.5-6.1 11.5-11.4c0-5.5-.2-19.9-.3-39.1a102.4 102.4 0 0 1-22.6 2.7c-43.1 0-52.9-33.5-52.9-33.5c-10.2-26.5-24.9-33.6-24.9-33.6c-19.5-13.7-.1-14.1 1.4-14.1h.1c22.5 2 34.3 23.8 34.3 23.8c11.2 19.6 26.2 25.1 39.6 25.1a63 63 0 0 0 25.6-6c2-14.8 7.8-24.9 14.2-30.7c-49.7-5.8-102-25.5-102-113.5c0-25.1 8.7-45.6 23-61.6c-2.3-5.8-10-29.2 2.2-60.8a18.64 18.64 0 0 1 5-.5c8.1 0 26.4 3.1 56.6 24.1a208.21 208.21 0 0 1 112.2 0c30.2-21 48.5-24.1 56.6-24.1a18.64 18.64 0 0 1 5 .5c12.2 31.6 4.5 55 2.2 60.8c14.3 16.1 23 36.6 23 61.6c0 88.2-52.4 107.6-102.3 113.3c8 7.1 15.2 21.1 15.2 42.5c0 30.7-.3 55.5-.3 63c0 5.4 3.1 11.5 11.4 11.5a19.35 19.35 0 0 0 4-.4C415.9 449.2 480 363.1 480 261.7C480 134.9 379.7 32 256 32z",fill:"currentColor"},null,-1)]))}}),{handleError:Me}=e(),Ve=B("settings-store",(()=>{const e=M("general"),t=M([{key:"general",title:"常用设置",icon:"SettingOutlined"},{key:"notification",title:"告警通知",icon:"BellOutlined"},{key:"about",title:"关于我们",icon:"InfoCircleOutlined"}]),n=M({timeout:30,secure:"",username:"admin",password:"",https:0,key:"",cert:""}),r=M([]),l=M({mail:V("t_68_1745289354676"),dingtalk:V("t_32_1746773348993"),wecom:V("t_33_1746773350932"),feishu:V("t_34_1746773350153"),webhook:"WebHook"}),o=M({name:"",enabled:"1",receiver:"",sender:"",smtpHost:"",smtpPort:"465",smtpTLS:!1,password:""}),a=M({version:"1.0.0",hasUpdate:!1,latestVersion:"",updateLog:"",qrcode:{service:"https://example.com/service_qr.png",wechat:"https://example.com/wechat_qr.png"},description:V("t_0_1747904536291")}),s=async(e={p:1,search:"",limit:1e3})=>{try{const{data:t}=await ce(e).fetch();r.value=(t||[]).map((({config:e,...t})=>({config:JSON.parse(e),...t})))}catch(t){r.value=[],Me(t).default(V("t_4_1745464075382"))}};return{activeTab:e,tabOptions:t,generalSettings:n,notifyChannels:r,channelTypes:l,emailChannelForm:o,aboutInfo:a,fetchGeneralSettings:async()=>{try{const{data:e}=await se().fetch();n.value={...n.value,...e||{}}}catch(e){Me(e).default(V("t_0_1745464080226"))}},saveGeneralSettings:async e=>{try{const{fetch:t,message:n}=ie(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_1_1745464079590"))}},fetchNotifyChannels:s,addReportChannel:async e=>{try{const{fetch:t,message:n}=de(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_5_1745464086047"))}},updateReportChannel:async e=>{try{const{fetch:t,message:n}=pe(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_6_1745464075714"))}},deleteReportChannel:async({id:e})=>{try{const{fetch:t,message:n}=me({id:e});n.value=!0,await t(),await s()}catch(t){Me(t).default(V("t_7_1745464073330"))}},testReportChannel:async e=>{try{const{fetch:t,message:n}=ue(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_0_1746676862189"))}}}})),Ge=()=>{const e=Ve();return{...e,...L(e)}},qe=m({name:"EmailChannelForm",props:{data:{type:Object,default:()=>null}},setup(t){const{handleError:n}=e(),{confirm:r}=q(),{fetchNotifyChannels:l}=Ge(),{config:o,rules:a,emailChannelForm:s,submitForm:i}=ct();if(t.data){const{name:e,config:n}=t.data;s.value={name:e,...n}}const{component:c,example:d,data:p}=G({config:o,defaultValue:s,rules:a});return r((async e=>{var r,o;try{const{name:n,...a}=p.value;await(null==(r=d.value)?void 0:r.validate());const s=await i({type:"mail",name:n||"",config:a},d,null==(o=t.data)?void 0:o.id);l(),s&&e()}catch(a){n(a)}})),()=>D("div",{class:"email-channel-form"},[D(c,{labelPlacement:"top"},{"smtp-template":e=>D(E,{cols:"24",xGap:"24"},{default:()=>[D(F,{span:"14",label:V("t_14_1745833932440"),path:"smtpHost"},{default:()=>[D(I,{value:e.value.smtpHost,"onUpdate:value":t=>e.value.smtpHost=t,placeholder:V("t_15_1745833940280")},null)]}),D(F,{span:"5",label:V("t_18_1745833933989"),path:"smtpTLS"},{default:()=>[D(H,{value:e.value.smtpTLS,"onUpdate:value":t=>e.value.smtpTLS=t,checkedValue:"true",uncheckedValue:"false",onUpdateValue:t=>{e.value.smtpPort="true"===t?"465":"25"}},null)]}),D(F,{span:"5",label:V("t_16_1745833933819"),path:"smtpPort"},{default:()=>[D(U,{trigger:"hover",placement:"top"},{default:()=>[V("t_0_1747280814475")],trigger:()=>D(I,{value:e.value.smtpPort,"onUpdate:value":t=>e.value.smtpPort=t,readonly:!0,class:"!cursor-not-allowed",placeholder:V("t_17_1745833935070")},null)})]})]}),"username-template":e=>D(E,{cols:"24",xGap:"24"},{default:()=>[D(F,{span:"24",label:V("t_48_1745289355714"),path:"password"},{default:()=>[D(I,{value:e.value.password,"onUpdate:value":t=>e.value.password=t,placeholder:V("t_4_1744164840458"),type:"password",showPasswordOn:"click"},null)]})]})})])}}),{activeTab:De,tabOptions:Ee,generalSettings:Fe,channelTypes:Ie,aboutInfo:He,fetchGeneralSettings:Ue,saveGeneralSettings:Je,fetchNotifyChannels:We,notifyChannels:Ye,emailChannelForm:Ze,addReportChannel:Ke,updateReportChannel:Xe,testReportChannel:Qe,deleteReportChannel:et}=Ge(),tt=Z(),{handleError:nt}=e(),{useFormInput:rt,useFormInputNumber:lt,useFormSwitch:ot,useFormTextarea:at,useFormSlot:st}=Y(),it=()=>{const e=J(),a=W();return{activeTab:De,isCutTab:()=>{const{tab:t}=e.query;(null==t?void 0:t.includes("notification"))&&(De.value="notification",a.push({query:{}}))},tabOptions:Ee,generalSettings:Fe,notifyChannels:Ye,channelTypes:Ie,aboutInfo:He,fetchAllSettings:async()=>{try{await Promise.all([Ue(),We()])}catch(e){nt(e)}},handleSaveGeneralSettings:async e=>{try{await Je({...e,password:""!==e.password?(t=e.password,o(`${t}_bt_all_in_ssl`).toString()):""}),setTimeout((()=>{r(),l(),window.location.href=`${e.secure}`}),2e3)}catch(n){nt(n)}var t},openAddEmailChannelModal:(e=1)=>{e>=1?tt.warning(V("t_16_1746773356568")):K({title:V("t_18_1745457490931"),area:650,component:qe,footer:!0})},handleEnableChange:async e=>{t({title:V("t_17_1746773351220",[Number(e.config.enabled)?V("t_5_1745215914671"):V("t_6_1745215914104")]),content:V("t_18_1746773355467",[Number(e.config.enabled)?V("t_5_1745215914671"):V("t_6_1745215914104")]),onPositiveClick:async()=>{try{await Xe({id:Number(e.id),name:e.name,type:e.type,config:JSON.stringify(e.config)}),await We()}catch(t){nt(t)}},onNegativeClick:()=>{We()},onClose:()=>{We()}})},editChannelConfig:e=>{"mail"===e.type&&K({title:V("t_0_1745895057404"),area:650,component:qe,componentProps:{data:e},footer:!0,onClose:()=>We()})},testChannelConfig:e=>{if("mail"!==e.type)return void tt.warning(V("t_19_1746773352558"));const{open:r,close:l}=n({text:V("t_20_1746773356060")});t({title:V("t_21_1746773350759"),content:V("t_22_1746773360711"),onPositiveClick:async()=>{try{r(),await Qe({id:e.id})}catch(t){nt(t)}finally{l()}}})},confirmDeleteChannel:e=>{t({title:V("t_23_1746773350040"),content:V("t_0_1746773763967",[e.name]),onPositiveClick:async()=>{try{await et({id:e.id}),await We()}catch(t){nt(t)}}})}}},ct=()=>{const{open:e,close:t}=n({text:V("t_0_1746667592819")}),r={name:{required:!0,trigger:["input","blur"],message:V("t_25_1746773349596")},smtpHost:{required:!0,trigger:["input","blur"],message:V("t_15_1745833940280")},smtpPort:{required:!0,trigger:"input",validator:(e,t)=>{const n=Number(t);return!(isNaN(n)||n<1||n>65535)||new Error(V("t_26_1746773353409"))}},password:{required:!0,trigger:["input","blur"],message:V("t_27_1746773352584")},sender:{required:!0,trigger:["input","blur"],type:"email",message:V("t_28_1746773354048")},receiver:{required:!0,trigger:["input","blur"],type:"email",message:V("t_29_1746773351834")}};return{config:w((()=>[rt(V("t_2_1745289353944"),"name"),st("smtp-template"),st("username-template"),rt(V("t_30_1746773350013"),"sender"),rt(V("t_31_1746773349857"),"receiver")])),rules:r,emailChannelForm:Ze,submitForm:async({config:n,...r},l,o)=>{try{return e(),o?await Xe({id:o,config:JSON.stringify(n),...r}):await Ke({config:JSON.stringify(n),...r}),!0}catch(a){return nt(a),!1}finally{t()}}}};const dt=m({name:"GeneralSettings",setup(){const{generalSettings:e}=Ge(),{handleSaveGeneralSettings:t}=it(),{GeneralForm:n}=(()=>{const e={timeout:{required:!0,type:"number",trigger:["input","blur"],message:"请输入超时时间"},secure:{required:!0,trigger:["input","blur"],message:"请输入安全入口"},username:{required:!0,trigger:["input","blur"],message:"请输入管理员账号"},password:{trigger:["input","blur"],message:"请输入管理员密码"},cert:{required:!0,trigger:"input",message:"请输入SSL证书"},key:{required:!0,trigger:"input",message:"请输入SSL密钥"}},t=w((()=>{const e=[lt("超时时间 (秒)","timeout",{class:"w-full"}),rt("安全入口","secure"),rt("管理员账号","username"),rt("管理员密码","password",{type:"password",showPasswordOn:"click"}),ot("启用SSL","https",{checkedValue:"1",uncheckedValue:"0"})];return 1===Number(Fe.value.https)&&e.push(at("SSL证书","cert",{rows:3}),at("SSL密钥","key",{rows:3})),e})),{component:n}=G({config:t,defaultValue:Fe,rules:e});return{GeneralForm:n,config:t,rules:e}})();return()=>{let r;return D("div",{class:"flex flex-col gap-[2rem]"},[D("div",{class:"mt-[2rem]"},[D(X,{type:"primary",onClick:()=>t(e.value)},(l=r=V("t_9_1745464078110"),"function"==typeof l||"[object Object]"===Object.prototype.toString.call(l)&&!te(l)?r:{default:()=>[r]}))]),D(Q,{title:V("t_10_1745464073098"),class:"mb-4"},{default:()=>[D(E,{cols:"1 m:2",xGap:24,yGap:24},{default:()=>[D(ee,null,{default:()=>[D(n,{labelPlacement:"top"},null)]})]})]})]);var l}}});function pt(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!te(e)}const ut=m({name:"NotificationSettings",setup(){const{notifyChannels:e,channelTypes:t}=Ge(),{openAddEmailChannelModal:n,editChannelConfig:r,testChannelConfig:l,confirmDeleteChannel:o,handleEnableChange:a}=it(),s=t=>e.value.filter((e=>e.type===t)).length,i=e=>{let t;if("mail"===e){let t;return D(X,{strong:!0,secondary:!0,type:"primary",onClick:()=>n(s(e))},pt(t=V("t_1_1746676859550"))?t:{default:()=>[t]})}return D(X,{strong:!0,secondary:!0,disabled:!0},pt(t=V("t_2_1746676856700"))?t:{default:()=>[t]})},c=[{type:"mail",name:V("t_3_1746676857930"),description:V("t_4_1746676861473"),color:"#2080f0"},{type:"dingtalk",name:V("t_5_1746676856974"),description:V("t_6_1746676860886"),color:"#1677ff"},{type:"wecom",name:V("t_7_1746676857191"),description:V("t_8_1746676860457"),color:"#07c160"},{type:"feishu",name:V("t_9_1746676857164"),description:V("t_10_1746676862329"),color:"#3370ff"},{type:"webhook",name:V("t_11_1746676859158"),description:V("t_12_1746676860503"),color:"#531dab"}];return()=>{let n,d;return D("div",{class:"notification-settings"},[D(Q,{title:V("t_13_1746676856842"),class:"mb-4"},{default:()=>[D(E,{cols:"2 s:1 m:2",xGap:16,yGap:16},pt(n=c.map((e=>D(ee,{key:e.type},{default:()=>{return[D("div",{class:"flex justify-between items-center p-4 border border-[var(--n-border-color)] rounded-md hover:shadow-sm transition-shadow"},[D("div",{class:"flex items-center"},[D(ge,{icon:`notify-${e.type}`,size:"3rem"},null),D("div",{class:"ml-4"},[D("div",{class:"flex items-center mb-1"},[D("span",{class:"mr-2 font-medium"},[e.name]),(t=e.type,s(t)>0&&D(ne,{size:"small",type:"success"},{default:()=>[V("t_8_1745735765753"),re(" "),s(e.type)]}))]),D("div",{class:"text-gray-500 text-[1.2rem]"},[e.description])])]),D("div",null,[i(e.type)])])];var t}}))))?n:{default:()=>[n]})]}),e.value.length>0&&D(Q,{title:V("t_14_1746676859019"),class:"mb-4"},{default:()=>[D($e,{bordered:!0},pt(d=e.value.map((e=>{let n,s,i;return D(Oe,{key:e.id},{default:()=>[D("div",{class:" items-center justify-between p-2 grid grid-cols-12"},[D("div",{class:"flex items-center col-span-6"},[D(ge,{icon:`notify-${e.type}`,size:"3rem"},null),D("div",{class:"font-medium mb-1 mx-[1rem]"},[e.name]),D("div",{class:"flex items-center "},[D(ne,{type:"info",size:"small"},{default:()=>[t.value[e.type]||e.id]})])]),D("div",{class:"flex items-center gap-4 col-span-3 justify-end"},[D(H,{value:e.config.enabled,"onUpdate:value":t=>e.config.enabled=t,onUpdateValue:()=>a(e),checkedValue:"1",uncheckedValue:"0"},{checked:()=>D("span",null,[V("t_0_1745457486299")]),unchecked:()=>D("span",null,[V("t_15_1746676856567")])})]),D("div",{class:"flex items-center gap-8 col-span-3 justify-end"},[D(le,null,{default:()=>[D(X,{size:"small",onClick:()=>r(e)},pt(n=V("t_11_1745215915429"))?n:{default:()=>[n]}),D(X,{size:"small",onClick:()=>l(e)},pt(s=V("t_16_1746676855270"))?s:{default:()=>[s]}),D(X,{size:"small",type:"error",onClick:()=>o(e)},pt(i=V("t_12_1745215914312"))?i:{default:()=>[i]})]})])])]})})))?d:{default:()=>[d]})]})])}}}),mt=m({name:"AboutSettings",setup:()=>()=>D("div",{class:"about-settings"},[D(Q,{title:V("t_4_1745833932780"),class:"mb-4"},{default:()=>[D(le,{vertical:!0,size:24},{default:()=>[D(we,{bordered:!0},{default:()=>[D(Ce,{label:V("t_5_1745833933241")},{default:()=>[D("div",{class:"flex items-center"},[D("span",{class:"text-[2rem] font-medium"},[re("v1.0.3")])])]}),D(Ce,{label:V("t_29_1746667589773")},{default:()=>[D("div",{class:"flex items-center space-x-2 h-[3.2rem]"},[D(oe,{size:"20",class:"text-gray-600"},{default:()=>[D(Le,null,null)]}),D(X,{text:!0,tag:"a",href:"https://github.com/allinssl/allinssl",target:"_blank",type:"primary"},{default:()=>[re("https://github.com/allinssl/allinssl")]})])]})]})]})]}),D(Q,{title:V("t_13_1745833933630"),class:"mb-4"},{default:()=>[D("div",{class:"about-content"},[D("p",{class:"text-gray-700 leading-relaxed"},[D("p",{class:"text-[3rem] font-medium"},[re("AllinSSL")]),D("br",null,null),D("p",{class:"text-[1.6rem] text-primary mb-[2rem]"},[V("t_35_1746773362992")]),D("span",{class:"text-[1.4rem] mb-[1rem] text-gray-500"},[V("本工具可帮助用户轻松管理多个网站的SSL证书,提供自动化的证书申请、更新和部署流程,并实时监控证书状态,确保网站安全持续运行。"),D("ul",{class:"list-disc pl-[2rem] mt-[2rem]"},[D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_36_1746773348989")]),V("t_1_1746773763643")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_38_1746773349796")]),V("t_39_1746773358932")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_40_1746773352188")]),V("t_41_1746773364475")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_42_1746773348768")]),V("t_43_1746773359511")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_44_1746773352805")]),V("t_45_1746773355717")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_46_1746773350579")]),V("t_47_1746773360760")])])])])])]})])});const bt=m({name:"Settings",setup(){const{activeTab:e,tabOptions:t}=Ge(),{fetchAllSettings:n,isCutTab:r}=it(),l=e=>{const t={SettingOutlined:D(Ae,null,null),BellOutlined:D(je,null,null),InfoCircleOutlined:D(Te,null,null)};return D(oe,{size:"20"},{default:()=>[t[e]]})};return ae((()=>{r(),n()})),()=>D("div",{class:"h-full flex flex-col"},[D("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[D(be,null,{content:()=>{let n;return D("div",{class:"w-full"},[D(Q,null,{default:()=>{return[D(he,{class:"rounded-2xl p-6",type:"segment",value:e.value,"onUpdate:value":t=>e.value=t,size:"large",justifyContent:"space-evenly"},(r=n=t.value.map((t=>D(ve,{key:t.key,name:t.key},{tab:()=>D("div",{class:"flex items-center my-[10px] px-2 py-1 rounded-lg transition-all duration-300 ease-in-out"},[l(t.icon),D("span",{class:"ml-2"},[t.title])]),default:()=>D("div",{class:"w-full"},["general"===e.value&&D(dt,null,null),"notification"===e.value&&D(ut,null,null),"about"===e.value&&D(mt,null,null)])}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!te(r)?n:{default:()=>[n]}))];var r}})])}})])])}});export{bt as default}; +import{u as e,a as t,b as n,P as r,T as l,m as o}from"./index-DVPyxbgP.js";import{D as a,E as s,aW as i,aX as c,al as d,F as p,G as u,d as m,aY as b,H as g,aZ as h,a_ as v,I as f,K as _,a$ as y,l as w,aP as x,M as C,az as S,aO as z,b0 as k,W as $,J as O,O as P,A as j,b1 as R,Y as T,Z as N,_ as A,e as B,s as L,r as M,$ as V,y as G,z as q,c as D,w as E,q as F,t as I,a5 as H,ap as U,a4 as J,u as W,m as Y,f as Z,k as K,B as X,a0 as Q,b2 as ee,i as te,N as ne,b as re,j as le,a3 as oe,o as ae}from"./main-BFwn2e3T.js";import{g as se,s as ie,a as ce,b as de,u as pe,t as ue,d as me}from"./setting-pEP5KeW9.js";import{B as be}from"./index-BL1j0ssQ.js";import{S as ge}from"./index-CMwhkNZE.js";import{N as he,a as ve}from"./Tabs-DWO1cj0i.js";import"./throttle-B9C3ruvZ.js";function fe(e,t="default",n=[]){const{children:r}=e;if(null!==r&&"object"==typeof r&&!Array.isArray(r)){const e=r[t];if("function"==typeof e)return e()}return n}const _e=a([s("descriptions",{fontSize:"var(--n-font-size)"},[s("descriptions-separator","\n display: inline-block;\n margin: 0 8px 0 2px;\n "),s("descriptions-table-wrapper",[s("descriptions-table",[s("descriptions-table-row",[s("descriptions-table-header",{padding:"var(--n-th-padding)"}),s("descriptions-table-content",{padding:"var(--n-td-padding)"})])])]),d("bordered",[s("descriptions-table-wrapper",[s("descriptions-table",[s("descriptions-table-row",[a("&:last-child",[s("descriptions-table-content",{paddingBottom:0})])])])])]),p("left-label-placement",[s("descriptions-table-content",[a("> *",{verticalAlign:"top"})])]),p("left-label-align",[a("th",{textAlign:"left"})]),p("center-label-align",[a("th",{textAlign:"center"})]),p("right-label-align",[a("th",{textAlign:"right"})]),p("bordered",[s("descriptions-table-wrapper","\n border-radius: var(--n-border-radius);\n overflow: hidden;\n background: var(--n-merged-td-color);\n border: 1px solid var(--n-merged-border-color);\n ",[s("descriptions-table",[s("descriptions-table-row",[a("&:not(:last-child)",[s("descriptions-table-content",{borderBottom:"1px solid var(--n-merged-border-color)"}),s("descriptions-table-header",{borderBottom:"1px solid var(--n-merged-border-color)"})]),s("descriptions-table-header","\n font-weight: 400;\n background-clip: padding-box;\n background-color: var(--n-merged-th-color);\n ",[a("&:not(:last-child)",{borderRight:"1px solid var(--n-merged-border-color)"})]),s("descriptions-table-content",[a("&:not(:last-child)",{borderRight:"1px solid var(--n-merged-border-color)"})])])])])]),s("descriptions-header","\n font-weight: var(--n-th-font-weight);\n font-size: 18px;\n transition: color .3s var(--n-bezier);\n line-height: var(--n-line-height);\n margin-bottom: 16px;\n color: var(--n-title-text-color);\n "),s("descriptions-table-wrapper","\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[s("descriptions-table","\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n box-sizing: border-box;\n ",[s("descriptions-table-row","\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n ",[s("descriptions-table-header","\n font-weight: var(--n-th-font-weight);\n line-height: var(--n-line-height);\n display: table-cell;\n box-sizing: border-box;\n color: var(--n-th-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),s("descriptions-table-content","\n vertical-align: top;\n line-height: var(--n-line-height);\n display: table-cell;\n box-sizing: border-box;\n color: var(--n-td-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[u("content","\n transition: color .3s var(--n-bezier);\n display: inline-block;\n color: var(--n-td-text-color);\n ")]),u("label","\n font-weight: var(--n-th-font-weight);\n transition: color .3s var(--n-bezier);\n display: inline-block;\n margin-right: 14px;\n color: var(--n-th-text-color);\n ")])])])]),s("descriptions-table-wrapper","\n --n-merged-th-color: var(--n-th-color);\n --n-merged-td-color: var(--n-td-color);\n --n-merged-border-color: var(--n-border-color);\n "),i(s("descriptions-table-wrapper","\n --n-merged-th-color: var(--n-th-color-modal);\n --n-merged-td-color: var(--n-td-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ")),c(s("descriptions-table-wrapper","\n --n-merged-th-color: var(--n-th-color-popover);\n --n-merged-td-color: var(--n-td-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n "))]),ye="DESCRIPTION_ITEM_FLAG";const we=m({name:"Descriptions",props:Object.assign(Object.assign({},_.props),{title:String,column:{type:Number,default:3},columns:Number,labelPlacement:{type:String,default:"top"},labelAlign:{type:String,default:"left"},separator:{type:String,default:":"},size:{type:String,default:"medium"},bordered:Boolean,labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=f(e),r=_("Descriptions","-descriptions",_e,y,e,t),l=w((()=>{const{size:t,bordered:n}=e,{common:{cubicBezierEaseInOut:l},self:{titleTextColor:o,thColor:a,thColorModal:s,thColorPopover:i,thTextColor:c,thFontWeight:d,tdTextColor:p,tdColor:u,tdColorModal:m,tdColorPopover:b,borderColor:g,borderColorModal:h,borderColorPopover:v,borderRadius:f,lineHeight:_,[x("fontSize",t)]:y,[x(n?"thPaddingBordered":"thPadding",t)]:w,[x(n?"tdPaddingBordered":"tdPadding",t)]:C}}=r.value;return{"--n-title-text-color":o,"--n-th-padding":w,"--n-td-padding":C,"--n-font-size":y,"--n-bezier":l,"--n-th-font-weight":d,"--n-line-height":_,"--n-th-text-color":c,"--n-td-text-color":p,"--n-th-color":a,"--n-th-color-modal":s,"--n-th-color-popover":i,"--n-td-color":u,"--n-td-color-modal":m,"--n-td-color-popover":b,"--n-border-radius":f,"--n-border-color":g,"--n-border-color-modal":h,"--n-border-color-popover":v}})),o=n?C("descriptions",w((()=>{let t="";const{size:n,bordered:r}=e;return r&&(t+="a"),t+=n[0],t})),l,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:l,themeClass:null==o?void 0:o.themeClass,onRender:null==o?void 0:o.onRender,compitableColumn:S(e,["columns","column"]),inlineThemeDisabled:n}},render(){const e=this.$slots.default,t=e?b(e()):[];t.length;const{contentClass:n,labelClass:r,compitableColumn:l,labelPlacement:o,labelAlign:a,size:s,bordered:i,title:c,cssVars:d,mergedClsPrefix:p,separator:u,onRender:m}=this;null==m||m();const f=t.filter((e=>{return!("object"!=typeof(t=e)||!t||Array.isArray(t))&&t.type&&t.type[ye];var t})),_=f.reduce(((e,t,a)=>{const s=t.props||{},c=f.length-1===a,d=["label"in s?s.label:fe(t,"label")],m=[fe(t)],b=s.span||1,h=e.span;e.span+=b;const v=s.labelStyle||s["label-style"]||this.labelStyle,_=s.contentStyle||s["content-style"]||this.contentStyle;if("left"===o)i?e.row.push(g("th",{class:[`${p}-descriptions-table-header`,r],colspan:1,style:v},d),g("td",{class:[`${p}-descriptions-table-content`,n],colspan:c?2*(l-h)+1:2*b-1,style:_},m)):e.row.push(g("td",{class:`${p}-descriptions-table-content`,colspan:c?2*(l-h):2*b},g("span",{class:[`${p}-descriptions-table-content__label`,r],style:v},[...d,u&&g("span",{class:`${p}-descriptions-separator`},u)]),g("span",{class:[`${p}-descriptions-table-content__content`,n],style:_},m)));else{const t=c?2*(l-h):2*b;e.row.push(g("th",{class:[`${p}-descriptions-table-header`,r],colspan:t,style:v},d)),e.secondRow.push(g("td",{class:[`${p}-descriptions-table-content`,n],colspan:t,style:_},m))}return(e.span>=l||c)&&(e.span=0,e.row.length&&(e.rows.push(e.row),e.row=[]),"left"!==o&&e.secondRow.length&&(e.rows.push(e.secondRow),e.secondRow=[])),e}),{span:0,row:[],secondRow:[],rows:[]}).rows.map((e=>g("tr",{class:`${p}-descriptions-table-row`},e)));return g("div",{style:d,class:[`${p}-descriptions`,this.themeClass,`${p}-descriptions--${o}-label-placement`,`${p}-descriptions--${a}-label-align`,`${p}-descriptions--${s}-size`,i&&`${p}-descriptions--bordered`]},c||this.$slots.header?g("div",{class:`${p}-descriptions-header`},c||v(this,"header")):null,g("div",{class:`${p}-descriptions-table-wrapper`},g("table",{class:`${p}-descriptions-table`},g("tbody",null,"top"===o&&g("tr",{class:`${p}-descriptions-table-row`,style:{visibility:"collapse"}},h(2*l,g("td",null))),_))))}}),xe={label:String,span:{type:Number,default:1},labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]},Ce=m({name:"DescriptionsItem",[ye]:!0,props:xe,slots:Object,render:()=>null}),Se=a([s("list","\n --n-merged-border-color: var(--n-border-color);\n --n-merged-color: var(--n-color);\n --n-merged-color-hover: var(--n-color-hover);\n margin: 0;\n font-size: var(--n-font-size);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n padding: 0;\n list-style-type: none;\n color: var(--n-text-color);\n background-color: var(--n-merged-color);\n ",[p("show-divider",[s("list-item",[a("&:not(:last-child)",[u("divider","\n background-color: var(--n-merged-border-color);\n ")])])]),p("clickable",[s("list-item","\n cursor: pointer;\n ")]),p("bordered","\n border: 1px solid var(--n-merged-border-color);\n border-radius: var(--n-border-radius);\n "),p("hoverable",[s("list-item","\n border-radius: var(--n-border-radius);\n ",[a("&:hover","\n background-color: var(--n-merged-color-hover);\n ",[u("divider","\n background-color: transparent;\n ")])])]),p("bordered, hoverable",[s("list-item","\n padding: 12px 20px;\n "),u("header, footer","\n padding: 12px 20px;\n ")]),u("header, footer","\n padding: 12px 0;\n box-sizing: border-box;\n transition: border-color .3s var(--n-bezier);\n ",[a("&:not(:last-child)","\n border-bottom: 1px solid var(--n-merged-border-color);\n ")]),s("list-item","\n position: relative;\n padding: 12px 0; \n box-sizing: border-box;\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[u("prefix","\n margin-right: 20px;\n flex: 0;\n "),u("suffix","\n margin-left: 20px;\n flex: 0;\n "),u("main","\n flex: 1;\n "),u("divider","\n height: 1px;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: transparent;\n transition: background-color .3s var(--n-bezier);\n pointer-events: none;\n ")])]),i(s("list","\n --n-merged-color-hover: var(--n-color-hover-modal);\n --n-merged-color: var(--n-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n ")),c(s("list","\n --n-merged-color-hover: var(--n-color-hover-popover);\n --n-merged-color: var(--n-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n "))]),ze=Object.assign(Object.assign({},_.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),ke=P("n-list"),$e=m({name:"List",props:ze,slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:r}=f(e),l=z("List",r,t),o=_("List","-list",Se,k,e,t);$(ke,{showDividerRef:O(e,"showDivider"),mergedClsPrefixRef:t});const a=w((()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:t,textColor:n,color:r,colorModal:l,colorPopover:a,borderColor:s,borderColorModal:i,borderColorPopover:c,borderRadius:d,colorHover:p,colorHoverModal:u,colorHoverPopover:m}}=o.value;return{"--n-font-size":t,"--n-bezier":e,"--n-text-color":n,"--n-color":r,"--n-border-radius":d,"--n-border-color":s,"--n-border-color-modal":i,"--n-border-color-popover":c,"--n-color-modal":l,"--n-color-popover":a,"--n-color-hover":p,"--n-color-hover-modal":u,"--n-color-hover-popover":m}})),s=n?C("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:l,cssVars:n?void 0:a,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:r}=this;return null==r||r(),g("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?g("div",{class:`${n}-list__header`},t.header()):null,null===(e=t.default)||void 0===e?void 0:e.call(t),t.footer?g("div",{class:`${n}-list__footer`},t.footer()):null)}}),Oe=m({name:"ListItem",slots:Object,setup(){const e=j(ke,null);return e||R("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return g("li",{class:`${t}-list-item`},e.prefix?g("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?g("div",{class:`${t}-list-item__main`},e):null,e.suffix?g("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&g("div",{class:`${t}-list-item__divider`}))}}),Pe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},je=m({name:"BellOutlined",render:function(e,t){return N(),T("svg",Pe,t[0]||(t[0]=[A("path",{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z",fill:"currentColor"},null,-1)]))}}),Re={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},Te=m({name:"InfoCircleOutlined",render:function(e,t){return N(),T("svg",Re,t[0]||(t[0]=[A("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372z",fill:"currentColor"},null,-1),A("path",{d:"M464 336a48 48 0 1 0 96 0a48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z",fill:"currentColor"},null,-1)]))}}),Ne={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},Ae=m({name:"SettingOutlined",render:function(e,t){return N(),T("svg",Ne,t[0]||(t[0]=[A("path",{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 0 0 9.3-35.2l-.9-2.6a443.74 443.74 0 0 0-79.7-137.9l-1.8-2.1a32.12 32.12 0 0 0-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 0 0-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 0 0-25.8 25.7l-15.8 85.4a351.86 351.86 0 0 0-99 57.4l-81.9-29.1a32 32 0 0 0-35.1 9.5l-1.8 2.1a446.02 446.02 0 0 0-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1c0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 0 0-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0 0 35.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0 0 25.8 25.7l2.7.5a449.4 449.4 0 0 0 159 0l2.7-.5a32.05 32.05 0 0 0 25.8-25.7l15.7-85a350 350 0 0 0 99.7-57.6l81.3 28.9a32 32 0 0 0 35.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1l74.7 63.9a370.03 370.03 0 0 1-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3l-17.9 97a377.5 377.5 0 0 1-85 0l-17.9-97.2l-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9l-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5l-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5c0-15.3 1.2-30.6 3.7-45.5l6.5-40l-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2l31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3l17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97l38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8l92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176s176-78.8 176-176s-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 0 1 512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 0 1 400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 0 1 624 502c0 29.9-11.7 58-32.8 79.2z",fill:"currentColor"},null,-1)]))}}),Be={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Le=m({name:"LogoGithub",render:function(e,t){return N(),T("svg",Be,t[0]||(t[0]=[A("path",{d:"M256 32C132.3 32 32 134.9 32 261.7c0 101.5 64.2 187.5 153.2 217.9a17.56 17.56 0 0 0 3.8.4c8.3 0 11.5-6.1 11.5-11.4c0-5.5-.2-19.9-.3-39.1a102.4 102.4 0 0 1-22.6 2.7c-43.1 0-52.9-33.5-52.9-33.5c-10.2-26.5-24.9-33.6-24.9-33.6c-19.5-13.7-.1-14.1 1.4-14.1h.1c22.5 2 34.3 23.8 34.3 23.8c11.2 19.6 26.2 25.1 39.6 25.1a63 63 0 0 0 25.6-6c2-14.8 7.8-24.9 14.2-30.7c-49.7-5.8-102-25.5-102-113.5c0-25.1 8.7-45.6 23-61.6c-2.3-5.8-10-29.2 2.2-60.8a18.64 18.64 0 0 1 5-.5c8.1 0 26.4 3.1 56.6 24.1a208.21 208.21 0 0 1 112.2 0c30.2-21 48.5-24.1 56.6-24.1a18.64 18.64 0 0 1 5 .5c12.2 31.6 4.5 55 2.2 60.8c14.3 16.1 23 36.6 23 61.6c0 88.2-52.4 107.6-102.3 113.3c8 7.1 15.2 21.1 15.2 42.5c0 30.7-.3 55.5-.3 63c0 5.4 3.1 11.5 11.4 11.5a19.35 19.35 0 0 0 4-.4C415.9 449.2 480 363.1 480 261.7C480 134.9 379.7 32 256 32z",fill:"currentColor"},null,-1)]))}}),{handleError:Me}=e(),Ve=B("settings-store",(()=>{const e=M("general"),t=M([{key:"general",title:"常用设置",icon:"SettingOutlined"},{key:"notification",title:"告警通知",icon:"BellOutlined"},{key:"about",title:"关于我们",icon:"InfoCircleOutlined"}]),n=M({timeout:30,secure:"",username:"admin",password:"",https:0,key:"",cert:""}),r=M([]),l=M({mail:V("t_68_1745289354676"),dingtalk:V("t_32_1746773348993"),wecom:V("t_33_1746773350932"),feishu:V("t_34_1746773350153"),webhook:"WebHook"}),o=M({name:"",enabled:"1",receiver:"",sender:"",smtpHost:"",smtpPort:"465",smtpTLS:!1,password:""}),a=M({version:"1.0.0",hasUpdate:!1,latestVersion:"",updateLog:"",qrcode:{service:"https://example.com/service_qr.png",wechat:"https://example.com/wechat_qr.png"},description:V("t_0_1747904536291")}),s=async(e={p:1,search:"",limit:1e3})=>{try{const{data:t}=await ce(e).fetch();r.value=(t||[]).map((({config:e,...t})=>({config:JSON.parse(e),...t})))}catch(t){r.value=[],Me(t).default(V("t_4_1745464075382"))}};return{activeTab:e,tabOptions:t,generalSettings:n,notifyChannels:r,channelTypes:l,emailChannelForm:o,aboutInfo:a,fetchGeneralSettings:async()=>{try{const{data:e}=await se().fetch();n.value={...n.value,...e||{}}}catch(e){Me(e).default(V("t_0_1745464080226"))}},saveGeneralSettings:async e=>{try{const{fetch:t,message:n}=ie(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_1_1745464079590"))}},fetchNotifyChannels:s,addReportChannel:async e=>{try{const{fetch:t,message:n}=de(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_5_1745464086047"))}},updateReportChannel:async e=>{try{const{fetch:t,message:n}=pe(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_6_1745464075714"))}},deleteReportChannel:async({id:e})=>{try{const{fetch:t,message:n}=me({id:e});n.value=!0,await t(),await s()}catch(t){Me(t).default(V("t_7_1745464073330"))}},testReportChannel:async e=>{try{const{fetch:t,message:n}=ue(e);n.value=!0,await t()}catch(t){Me(t).default(V("t_0_1746676862189"))}}}})),Ge=()=>{const e=Ve();return{...e,...L(e)}},qe=m({name:"EmailChannelForm",props:{data:{type:Object,default:()=>null}},setup(t){const{handleError:n}=e(),{confirm:r}=q(),{fetchNotifyChannels:l}=Ge(),{config:o,rules:a,emailChannelForm:s,submitForm:i}=ct();if(t.data){const{name:e,config:n}=t.data;s.value={name:e,...n}}const{component:c,example:d,data:p}=G({config:o,defaultValue:s,rules:a});return r((async e=>{var r,o;try{const{name:n,...a}=p.value;await(null==(r=d.value)?void 0:r.validate());const s=await i({type:"mail",name:n||"",config:a},d,null==(o=t.data)?void 0:o.id);l(),s&&e()}catch(a){n(a)}})),()=>D("div",{class:"email-channel-form"},[D(c,{labelPlacement:"top"},{"smtp-template":e=>D(E,{cols:"24",xGap:"24"},{default:()=>[D(F,{span:"14",label:V("t_14_1745833932440"),path:"smtpHost"},{default:()=>[D(I,{value:e.value.smtpHost,"onUpdate:value":t=>e.value.smtpHost=t,placeholder:V("t_15_1745833940280")},null)]}),D(F,{span:"5",label:V("t_18_1745833933989"),path:"smtpTLS"},{default:()=>[D(H,{value:e.value.smtpTLS,"onUpdate:value":t=>e.value.smtpTLS=t,checkedValue:"true",uncheckedValue:"false",onUpdateValue:t=>{e.value.smtpPort="true"===t?"465":"25"}},null)]}),D(F,{span:"5",label:V("t_16_1745833933819"),path:"smtpPort"},{default:()=>[D(U,{trigger:"hover",placement:"top"},{default:()=>[V("t_0_1747280814475")],trigger:()=>D(I,{value:e.value.smtpPort,"onUpdate:value":t=>e.value.smtpPort=t,readonly:!0,class:"!cursor-not-allowed",placeholder:V("t_17_1745833935070")},null)})]})]}),"username-template":e=>D(E,{cols:"24",xGap:"24"},{default:()=>[D(F,{span:"24",label:V("t_48_1745289355714"),path:"password"},{default:()=>[D(I,{value:e.value.password,"onUpdate:value":t=>e.value.password=t,placeholder:V("t_4_1744164840458"),type:"password",showPasswordOn:"click"},null)]})]})})])}}),{activeTab:De,tabOptions:Ee,generalSettings:Fe,channelTypes:Ie,aboutInfo:He,fetchGeneralSettings:Ue,saveGeneralSettings:Je,fetchNotifyChannels:We,notifyChannels:Ye,emailChannelForm:Ze,addReportChannel:Ke,updateReportChannel:Xe,testReportChannel:Qe,deleteReportChannel:et}=Ge(),tt=Z(),{handleError:nt}=e(),{useFormInput:rt,useFormInputNumber:lt,useFormSwitch:ot,useFormTextarea:at,useFormSlot:st}=Y(),it=()=>{const e=J(),a=W();return{activeTab:De,isCutTab:()=>{const{tab:t}=e.query;(null==t?void 0:t.includes("notification"))&&(De.value="notification",a.push({query:{}}))},tabOptions:Ee,generalSettings:Fe,notifyChannels:Ye,channelTypes:Ie,aboutInfo:He,fetchAllSettings:async()=>{try{await Promise.all([Ue(),We()])}catch(e){nt(e)}},handleSaveGeneralSettings:async e=>{try{await Je({...e,password:""!==e.password?(t=e.password,o(`${t}_bt_all_in_ssl`).toString()):""}),setTimeout((()=>{r(),l(),window.location.href=`${e.secure}`}),2e3)}catch(n){nt(n)}var t},openAddEmailChannelModal:(e=1)=>{e>=1?tt.warning(V("t_16_1746773356568")):K({title:V("t_18_1745457490931"),area:650,component:qe,footer:!0})},handleEnableChange:async e=>{t({title:V("t_17_1746773351220",[Number(e.config.enabled)?V("t_5_1745215914671"):V("t_6_1745215914104")]),content:V("t_18_1746773355467",[Number(e.config.enabled)?V("t_5_1745215914671"):V("t_6_1745215914104")]),onPositiveClick:async()=>{try{await Xe({id:Number(e.id),name:e.name,type:e.type,config:JSON.stringify(e.config)}),await We()}catch(t){nt(t)}},onNegativeClick:()=>{We()},onClose:()=>{We()}})},editChannelConfig:e=>{"mail"===e.type&&K({title:V("t_0_1745895057404"),area:650,component:qe,componentProps:{data:e},footer:!0,onClose:()=>We()})},testChannelConfig:e=>{if("mail"!==e.type)return void tt.warning(V("t_19_1746773352558"));const{open:r,close:l}=n({text:V("t_20_1746773356060")});t({title:V("t_21_1746773350759"),content:V("t_22_1746773360711"),onPositiveClick:async()=>{try{r(),await Qe({id:e.id})}catch(t){nt(t)}finally{l()}}})},confirmDeleteChannel:e=>{t({title:V("t_23_1746773350040"),content:V("t_0_1746773763967",[e.name]),onPositiveClick:async()=>{try{await et({id:e.id}),await We()}catch(t){nt(t)}}})}}},ct=()=>{const{open:e,close:t}=n({text:V("t_0_1746667592819")}),r={name:{required:!0,trigger:["input","blur"],message:V("t_25_1746773349596")},smtpHost:{required:!0,trigger:["input","blur"],message:V("t_15_1745833940280")},smtpPort:{required:!0,trigger:"input",validator:(e,t)=>{const n=Number(t);return!(isNaN(n)||n<1||n>65535)||new Error(V("t_26_1746773353409"))}},password:{required:!0,trigger:["input","blur"],message:V("t_27_1746773352584")},sender:{required:!0,trigger:["input","blur"],type:"email",message:V("t_28_1746773354048")},receiver:{required:!0,trigger:["input","blur"],type:"email",message:V("t_29_1746773351834")}};return{config:w((()=>[rt(V("t_2_1745289353944"),"name"),st("smtp-template"),st("username-template"),rt(V("t_30_1746773350013"),"sender"),rt(V("t_31_1746773349857"),"receiver")])),rules:r,emailChannelForm:Ze,submitForm:async({config:n,...r},l,o)=>{try{return e(),o?await Xe({id:o,config:JSON.stringify(n),...r}):await Ke({config:JSON.stringify(n),...r}),!0}catch(a){return nt(a),!1}finally{t()}}}};const dt=m({name:"GeneralSettings",setup(){const{generalSettings:e}=Ge(),{handleSaveGeneralSettings:t}=it(),{GeneralForm:n}=(()=>{const e={timeout:{required:!0,type:"number",trigger:["input","blur"],message:"请输入超时时间"},secure:{required:!0,trigger:["input","blur"],message:"请输入安全入口"},username:{required:!0,trigger:["input","blur"],message:"请输入管理员账号"},password:{trigger:["input","blur"],message:"请输入管理员密码"},cert:{required:!0,trigger:"input",message:"请输入SSL证书"},key:{required:!0,trigger:"input",message:"请输入SSL密钥"}},t=w((()=>{const e=[lt("超时时间 (秒)","timeout",{class:"w-full"}),rt("安全入口","secure"),rt("管理员账号","username"),rt("管理员密码","password",{type:"password",showPasswordOn:"click"}),ot("启用SSL","https",{checkedValue:"1",uncheckedValue:"0"})];return 1===Number(Fe.value.https)&&e.push(at("SSL证书","cert",{rows:3}),at("SSL密钥","key",{rows:3})),e})),{component:n}=G({config:t,defaultValue:Fe,rules:e});return{GeneralForm:n,config:t,rules:e}})();return()=>{let r;return D("div",{class:"flex flex-col gap-[2rem]"},[D("div",{class:"mt-[2rem]"},[D(X,{type:"primary",onClick:()=>t(e.value)},(l=r=V("t_9_1745464078110"),"function"==typeof l||"[object Object]"===Object.prototype.toString.call(l)&&!te(l)?r:{default:()=>[r]}))]),D(Q,{title:V("t_10_1745464073098"),class:"mb-4"},{default:()=>[D(E,{cols:"1 m:2",xGap:24,yGap:24},{default:()=>[D(ee,null,{default:()=>[D(n,{labelPlacement:"top"},null)]})]})]})]);var l}}});function pt(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!te(e)}const ut=m({name:"NotificationSettings",setup(){const{notifyChannels:e,channelTypes:t}=Ge(),{openAddEmailChannelModal:n,editChannelConfig:r,testChannelConfig:l,confirmDeleteChannel:o,handleEnableChange:a}=it(),s=t=>e.value.filter((e=>e.type===t)).length,i=e=>{let t;if("mail"===e){let t;return D(X,{strong:!0,secondary:!0,type:"primary",onClick:()=>n(s(e))},pt(t=V("t_1_1746676859550"))?t:{default:()=>[t]})}return D(X,{strong:!0,secondary:!0,disabled:!0},pt(t=V("t_2_1746676856700"))?t:{default:()=>[t]})},c=[{type:"mail",name:V("t_3_1746676857930"),description:V("t_4_1746676861473"),color:"#2080f0"},{type:"dingtalk",name:V("t_5_1746676856974"),description:V("t_6_1746676860886"),color:"#1677ff"},{type:"wecom",name:V("t_7_1746676857191"),description:V("t_8_1746676860457"),color:"#07c160"},{type:"feishu",name:V("t_9_1746676857164"),description:V("t_10_1746676862329"),color:"#3370ff"},{type:"webhook",name:V("t_11_1746676859158"),description:V("t_12_1746676860503"),color:"#531dab"}];return()=>{let n,d;return D("div",{class:"notification-settings"},[D(Q,{title:V("t_13_1746676856842"),class:"mb-4"},{default:()=>[D(E,{cols:"2 s:1 m:2",xGap:16,yGap:16},pt(n=c.map((e=>D(ee,{key:e.type},{default:()=>{return[D("div",{class:"flex justify-between items-center p-4 border border-[var(--n-border-color)] rounded-md hover:shadow-sm transition-shadow"},[D("div",{class:"flex items-center"},[D(ge,{icon:`notify-${e.type}`,size:"3rem"},null),D("div",{class:"ml-4"},[D("div",{class:"flex items-center mb-1"},[D("span",{class:"mr-2 font-medium"},[e.name]),(t=e.type,s(t)>0&&D(ne,{size:"small",type:"success"},{default:()=>[V("t_8_1745735765753"),re(" "),s(e.type)]}))]),D("div",{class:"text-gray-500 text-[1.2rem]"},[e.description])])]),D("div",null,[i(e.type)])])];var t}}))))?n:{default:()=>[n]})]}),e.value.length>0&&D(Q,{title:V("t_14_1746676859019"),class:"mb-4"},{default:()=>[D($e,{bordered:!0},pt(d=e.value.map((e=>{let n,s,i;return D(Oe,{key:e.id},{default:()=>[D("div",{class:" items-center justify-between p-2 grid grid-cols-12"},[D("div",{class:"flex items-center col-span-6"},[D(ge,{icon:`notify-${e.type}`,size:"3rem"},null),D("div",{class:"font-medium mb-1 mx-[1rem]"},[e.name]),D("div",{class:"flex items-center "},[D(ne,{type:"info",size:"small"},{default:()=>[t.value[e.type]||e.id]})])]),D("div",{class:"flex items-center gap-4 col-span-3 justify-end"},[D(H,{value:e.config.enabled,"onUpdate:value":t=>e.config.enabled=t,onUpdateValue:()=>a(e),checkedValue:"1",uncheckedValue:"0"},{checked:()=>D("span",null,[V("t_0_1745457486299")]),unchecked:()=>D("span",null,[V("t_15_1746676856567")])})]),D("div",{class:"flex items-center gap-8 col-span-3 justify-end"},[D(le,null,{default:()=>[D(X,{size:"small",onClick:()=>r(e)},pt(n=V("t_11_1745215915429"))?n:{default:()=>[n]}),D(X,{size:"small",onClick:()=>l(e)},pt(s=V("t_16_1746676855270"))?s:{default:()=>[s]}),D(X,{size:"small",type:"error",onClick:()=>o(e)},pt(i=V("t_12_1745215914312"))?i:{default:()=>[i]})]})])])]})})))?d:{default:()=>[d]})]})])}}}),mt=m({name:"AboutSettings",setup:()=>()=>D("div",{class:"about-settings"},[D(Q,{title:V("t_4_1745833932780"),class:"mb-4"},{default:()=>[D(le,{vertical:!0,size:24},{default:()=>[D(we,{bordered:!0},{default:()=>[D(Ce,{label:V("t_5_1745833933241")},{default:()=>[D("div",{class:"flex items-center"},[D("span",{class:"text-[2rem] font-medium"},[re("v1.0.3")])])]}),D(Ce,{label:V("t_29_1746667589773")},{default:()=>[D("div",{class:"flex items-center space-x-2 h-[3.2rem]"},[D(oe,{size:"20",class:"text-gray-600"},{default:()=>[D(Le,null,null)]}),D(X,{text:!0,tag:"a",href:"https://github.com/allinssl/allinssl",target:"_blank",type:"primary"},{default:()=>[re("https://github.com/allinssl/allinssl")]})])]})]})]})]}),D(Q,{title:V("t_13_1745833933630"),class:"mb-4"},{default:()=>[D("div",{class:"about-content"},[D("p",{class:"text-gray-700 leading-relaxed"},[D("p",{class:"text-[3rem] font-medium"},[re("AllinSSL")]),D("br",null,null),D("p",{class:"text-[1.6rem] text-primary mb-[2rem]"},[V("t_35_1746773362992")]),D("span",{class:"text-[1.4rem] mb-[1rem] text-gray-500"},[V("本工具可帮助用户轻松管理多个网站的SSL证书,提供自动化的证书申请、更新和部署流程,并实时监控证书状态,确保网站安全持续运行。"),D("ul",{class:"list-disc pl-[2rem] mt-[2rem]"},[D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_36_1746773348989")]),V("t_1_1746773763643")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_38_1746773349796")]),V("t_39_1746773358932")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_40_1746773352188")]),V("t_41_1746773364475")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_42_1746773348768")]),V("t_43_1746773359511")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_44_1746773352805")]),V("t_45_1746773355717")]),D("li",{class:"mb-[1rem]"},[D("span",{class:"text-[1.4rem]"},[V("t_46_1746773350579")]),V("t_47_1746773360760")])])])])])]})])});const bt=m({name:"Settings",setup(){const{activeTab:e,tabOptions:t}=Ge(),{fetchAllSettings:n,isCutTab:r}=it(),l=e=>{const t={SettingOutlined:D(Ae,null,null),BellOutlined:D(je,null,null),InfoCircleOutlined:D(Te,null,null)};return D(oe,{size:"20"},{default:()=>[t[e]]})};return ae((()=>{r(),n()})),()=>D("div",{class:"h-full flex flex-col"},[D("div",{class:"mx-auto max-w-[1600px] w-full p-6"},[D(be,null,{content:()=>{let n;return D("div",{class:"w-full"},[D(Q,null,{default:()=>{return[D(he,{class:"rounded-2xl p-6",type:"segment",value:e.value,"onUpdate:value":t=>e.value=t,size:"large",justifyContent:"space-evenly"},(r=n=t.value.map((t=>D(ve,{key:t.key,name:t.key},{tab:()=>D("div",{class:"flex items-center my-[10px] px-2 py-1 rounded-lg transition-all duration-300 ease-in-out"},[l(t.icon),D("span",{class:"ml-2"},[t.title])]),default:()=>D("div",{class:"w-full"},["general"===e.value&&D(dt,null,null),"notification"===e.value&&D(ut,null,null),"about"===e.value&&D(mt,null,null)])}))),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!te(r)?n:{default:()=>[n]}))];var r}})])}})])])}});export{bt as default}; diff --git a/build/static/js/index-DDxgyK5X.js b/build/static/js/index-rVZjvqYb.js similarity index 97% rename from build/static/js/index-DDxgyK5X.js rename to build/static/js/index-rVZjvqYb.js index 603be0b..15c41f9 100644 --- a/build/static/js/index-DDxgyK5X.js +++ b/build/static/js/index-rVZjvqYb.js @@ -1 +1 @@ -import{p as e,i as t,b as n,t as a,w as r,c as o,d as l,e as s,f as i}from"./index-CtqD4msy.js";import{bI as u,ay as f,bJ as c,l as d,bK as v,o as g,bL as p,bM as w,r as m,x as y,V as h}from"./main-BFg_w1GP.js";const b=n?window:void 0;function S(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},s=d((()=>{const t=a(c(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),i=r((()=>{var t,n;return[null!=(n=null==(t=s.value)?void 0:t.map((e=>function(e){var t;const n=c(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[b].filter((e=>null!=e)),a(c(s.value?e[1]:e[0])),a(w(s.value?e[2]:e[1])),c(s.value?e[3]:e[2])]}),(([e,a,r,o])=>{if(n(),!(null==e?void 0:e.length)||!(null==a?void 0:a.length)||!(null==r?void 0:r.length))return;const s=l(o)?{...o}:o;t.push(...e.flatMap((e=>a.flatMap((t=>r.map((n=>((e,t,n,a)=>(e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)))(e,t,n,s))))))))}),{flush:"post"});return o(n),()=>{i(),n()}}function N(e){const t=function(){const e=u(!1),t=p();return t&&g((()=>{e.value=!0}),t),e}();return d((()=>(t.value,Boolean(e()))))}const M=Symbol("vueuse-ssr-width");function O(){const e=v()?t(M,null):null;return"number"==typeof e?e:void 0}function E(t,n={}){const{window:a=b,ssrWidth:r=O()}=n,o=N((()=>a&&"matchMedia"in a&&"function"==typeof a.matchMedia)),l=u("number"==typeof r),s=u(),i=u(!1);return f((()=>{if(l.value){l.value=!o.value;const n=c(t).split(",");i.value=n.some((t=>{const n=t.includes("not all"),a=t.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),o=t.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let l=Boolean(a||o);return a&&l&&(l=r>=e(a[1])),o&&l&&(l=r<=e(o[1])),n?!l:l}))}else o.value&&(s.value=a.matchMedia(c(t)),i.value=s.value.matches)})),S(s,"change",(e=>{i.value=e.matches}),{passive:!0}),d((()=>i.value))}const I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},J="__vueuse_ssr_handlers__",j=A();function A(){return J in I||(I[J]=I[J]||{}),I[J]}const _={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},x="vueuse-storage";function D(e,t,n,a={}){var r;const{flush:o="pre",deep:l=!0,listenToStorageChanges:f=!0,writeDefaults:v=!0,mergeDefaults:g=!1,shallow:p,window:w=b,eventFilter:N,onError:M=e=>{},initOnMounted:O}=a,E=(p?u:m)("function"==typeof t?t():t),I=d((()=>c(e)));if(!n)try{n=function(e,t){return j[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=b)?void 0:e.localStorage}))()}catch(T){M(T)}if(!n)return E;const J=c(t),A=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(J),D=null!=(r=a.serializer)?r:_[A],{pause:V,resume:k}=s(E,(()=>function(e){try{const t=n.getItem(I.value);if(null==e)z(t,null),n.removeItem(I.value);else{const a=D.write(e);t!==a&&(n.setItem(I.value,a),z(t,a))}}catch(T){M(T)}}(E.value)),{flush:o,deep:l,eventFilter:N});function z(e,t){if(w){const a={key:I.value,oldValue:e,newValue:t,storageArea:n};w.dispatchEvent(n instanceof Storage?new StorageEvent("storage",a):new CustomEvent(x,{detail:a}))}}function F(e){if(!e||e.storageArea===n)if(e&&null==e.key)E.value=J;else if(!e||e.key===I.value){V();try{(null==e?void 0:e.newValue)!==D.write(E.value)&&(E.value=function(e){const t=e?e.newValue:n.getItem(I.value);if(null==t)return v&&null!=J&&n.setItem(I.value,D.write(J)),J;if(!e&&g){const e=D.read(t);return"function"==typeof g?g(e,J):"object"!==A||Array.isArray(e)?e:{...J,...e}}return"string"!=typeof t?t:D.read(t)}(e))}catch(T){M(T)}finally{e?h(k):k()}}}function L(e){F(e.detail)}return y(I,(()=>F()),{flush:o}),w&&f&&i((()=>{n instanceof Storage?S(w,"storage",F,{passive:!0}):S(w,x,L),O&&F()})),O||F(),E}function V(e,t,n={}){const{window:a=b}=n;return D(e,t,null==a?void 0:a.localStorage,n)}function k(e,t,n={}){const{window:a=b}=n;return D(e,t,null==a?void 0:a.sessionStorage,n)}export{V as a,k as b,E as u}; +import{p as e,i as t,b as n,t as a,w as r,c as o,d as l,e as s,f as i}from"./index-9yXMuG-J.js";import{bI as u,ay as f,bJ as c,l as d,bK as v,o as g,bL as p,bM as w,r as m,x as y,V as h}from"./main-BFwn2e3T.js";const b=n?window:void 0;function S(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},s=d((()=>{const t=a(c(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),i=r((()=>{var t,n;return[null!=(n=null==(t=s.value)?void 0:t.map((e=>function(e){var t;const n=c(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[b].filter((e=>null!=e)),a(c(s.value?e[1]:e[0])),a(w(s.value?e[2]:e[1])),c(s.value?e[3]:e[2])]}),(([e,a,r,o])=>{if(n(),!(null==e?void 0:e.length)||!(null==a?void 0:a.length)||!(null==r?void 0:r.length))return;const s=l(o)?{...o}:o;t.push(...e.flatMap((e=>a.flatMap((t=>r.map((n=>((e,t,n,a)=>(e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)))(e,t,n,s))))))))}),{flush:"post"});return o(n),()=>{i(),n()}}function N(e){const t=function(){const e=u(!1),t=p();return t&&g((()=>{e.value=!0}),t),e}();return d((()=>(t.value,Boolean(e()))))}const M=Symbol("vueuse-ssr-width");function O(){const e=v()?t(M,null):null;return"number"==typeof e?e:void 0}function E(t,n={}){const{window:a=b,ssrWidth:r=O()}=n,o=N((()=>a&&"matchMedia"in a&&"function"==typeof a.matchMedia)),l=u("number"==typeof r),s=u(),i=u(!1);return f((()=>{if(l.value){l.value=!o.value;const n=c(t).split(",");i.value=n.some((t=>{const n=t.includes("not all"),a=t.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),o=t.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let l=Boolean(a||o);return a&&l&&(l=r>=e(a[1])),o&&l&&(l=r<=e(o[1])),n?!l:l}))}else o.value&&(s.value=a.matchMedia(c(t)),i.value=s.value.matches)})),S(s,"change",(e=>{i.value=e.matches}),{passive:!0}),d((()=>i.value))}const I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},J="__vueuse_ssr_handlers__",j=A();function A(){return J in I||(I[J]=I[J]||{}),I[J]}const _={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},x="vueuse-storage";function D(e,t,n,a={}){var r;const{flush:o="pre",deep:l=!0,listenToStorageChanges:f=!0,writeDefaults:v=!0,mergeDefaults:g=!1,shallow:p,window:w=b,eventFilter:N,onError:M=e=>{},initOnMounted:O}=a,E=(p?u:m)("function"==typeof t?t():t),I=d((()=>c(e)));if(!n)try{n=function(e,t){return j[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=b)?void 0:e.localStorage}))()}catch(T){M(T)}if(!n)return E;const J=c(t),A=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(J),D=null!=(r=a.serializer)?r:_[A],{pause:V,resume:k}=s(E,(()=>function(e){try{const t=n.getItem(I.value);if(null==e)z(t,null),n.removeItem(I.value);else{const a=D.write(e);t!==a&&(n.setItem(I.value,a),z(t,a))}}catch(T){M(T)}}(E.value)),{flush:o,deep:l,eventFilter:N});function z(e,t){if(w){const a={key:I.value,oldValue:e,newValue:t,storageArea:n};w.dispatchEvent(n instanceof Storage?new StorageEvent("storage",a):new CustomEvent(x,{detail:a}))}}function F(e){if(!e||e.storageArea===n)if(e&&null==e.key)E.value=J;else if(!e||e.key===I.value){V();try{(null==e?void 0:e.newValue)!==D.write(E.value)&&(E.value=function(e){const t=e?e.newValue:n.getItem(I.value);if(null==t)return v&&null!=J&&n.setItem(I.value,D.write(J)),J;if(!e&&g){const e=D.read(t);return"function"==typeof g?g(e,J):"object"!==A||Array.isArray(e)?e:{...J,...e}}return"string"!=typeof t?t:D.read(t)}(e))}catch(T){M(T)}finally{e?h(k):k()}}}function L(e){F(e.detail)}return y(I,(()=>F()),{flush:o}),w&&f&&i((()=>{n instanceof Storage?S(w,"storage",F,{passive:!0}):S(w,x,L),O&&F()})),O||F(),E}function V(e,t,n={}){const{window:a=b}=n;return D(e,t,null==a?void 0:a.localStorage,n)}function k(e,t,n={}){const{window:a=b}=n;return D(e,t,null==a?void 0:a.sessionStorage,n)}export{V as a,k as b,E as u}; diff --git a/build/static/js/main-BFg_w1GP.js b/build/static/js/main-BFwn2e3T.js similarity index 99% rename from build/static/js/main-BFg_w1GP.js rename to build/static/js/main-BFwn2e3T.js index c912c29..09652dc 100644 --- a/build/static/js/main-BFg_w1GP.js +++ b/build/static/js/main-BFwn2e3T.js @@ -48,4 +48,4 @@ const Ii="undefined"!=typeof document;function Bi(e){return"object"==typeof e||" * core-base v11.1.3 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */function Ed(e){return Gs(e)&&0===Vd(e)&&(Vs(e,"b")||Vs(e,"body"))}const Ld=["b","body"];const jd=["c","cases"];const Nd=["s","static"];const Hd=["i","items"];const Wd=["t","type"];function Vd(e){return Gd(e,Wd)}const Ud=["v","value"];function qd(e,t){const n=Gd(e,Ud);if(null!=n)return n;throw Zd(t)}const Kd=["m","modifier"];const Yd=["k","key"];function Gd(e,t,n){for(let o=0;ofunction(e,t){const n=(o=t,Gd(o,Ld));var o;if(null==n)throw Zd(0);if(1===Vd(n)){const t=function(e){return Gd(e,jd,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,Jd(e,n)]),[]))}return Jd(e,n)}(t,e)}function Jd(e,t){const n=function(e){return Gd(e,Nd)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return Gd(e,Hd,[])}(t).reduce(((t,n)=>[...t,ec(e,n)]),[]);return e.normalize(n)}}function ec(e,t){const n=Vd(t);switch(n){case 3:case 9:case 7:case 8:return qd(t,n);case 4:{const o=t;if(Vs(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(Vs(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Zd(n)}case 5:{const o=t;if(Vs(o,"i")&&Os(o.i))return e.interpolate(e.list(o.i));if(Vs(o,"index")&&Os(o.index))return e.interpolate(e.list(o.index));throw Zd(n)}case 6:{const n=t,o=function(e){return Gd(e,Kd)}(n),r=function(e){const t=Gd(e,Yd);if(t)return t;throw Zd(6)}(n);return e.linked(ec(e,r),o?ec(e,o):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const tc=e=>e;let nc=Ls();let oc=null;const rc=ac("function:translate");function ac(e){return t=>oc&&oc.emit(e,t)}const ic=17,lc=18,sc=19,dc=21,cc=22,uc=23;function hc(e){return bd(e,null,void 0)}function pc(e,t){return null!=t.locale?mc(t.locale):mc(e.locale)}let fc;function mc(e){if(Ks(e))return e;if(qs(e)){if(e.resolvedOnce&&null!=fc)return fc;if("Function"===e.constructor.name){const n=e();if(Gs(t=n)&&qs(t.then)&&qs(t.catch))throw hc(dc);return fc=n}throw hc(cc)}throw hc(uc);var t}function vc(e,t,n){return[...new Set([n,...Us(t)?t:Gs(t)?Object.keys(t):Ks(t)?[t]:[n]])]}function gc(e,t,n){const o=Ks(n)?n:Tc,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(o);if(!a){a=[];let e=[n];for(;Us(e);)e=bc(a,e,t);const i=Us(t)||!Qs(t)?t:t.default?t.default:null;e=Ks(i)?[i]:i,Us(e)&&bc(a,e,!1),r.__localeChainCache.set(o,a)}return a}function bc(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Fc,zc,Mc;let $c=null;const Ac=()=>$c;let Oc=null;const Dc=e=>{Oc=e};let Ic=0;function Bc(e={}){const t=qs(e.onWarn)?e.onWarn:ed,n=Ks(e.version)?e.version:"11.1.3",o=Ks(e.locale)||qs(e.locale)?e.locale:Tc,r=qs(o)?Tc:o,a=Us(e.fallbackLocale)||Qs(e.fallbackLocale)||Ks(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,i=Qs(e.messages)?e.messages:Ec(r),l=Qs(e.datetimeFormats)?e.datetimeFormats:Ec(r),s=Qs(e.numberFormats)?e.numberFormats:Ec(r),d=Bs(Ls(),e.modifiers,{upper:(e,t)=>"text"===t&&Ks(e)?e.toUpperCase():"vnode"===t&&Gs(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&Ks(e)?e.toLowerCase():"vnode"===t&&Gs(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&Ks(e)?Rc(e):"vnode"===t&&Gs(e)&&"__v_isVNode"in e?Rc(e.children):e}),c=e.pluralRules||Ls(),u=qs(e.missing)?e.missing:null,h=!Ys(e.missingWarn)&&!Ds(e.missingWarn)||e.missingWarn,p=!Ys(e.fallbackWarn)&&!Ds(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,m=!!e.unresolving,v=qs(e.postTranslation)?e.postTranslation:null,g=Qs(e.processor)?e.processor:null,b=!Ys(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,_=qs(e.messageCompiler)?e.messageCompiler:Fc,x=qs(e.messageResolver)?e.messageResolver:zc||Pc,C=qs(e.localeFallbacker)?e.localeFallbacker:Mc||vc,w=Gs(e.fallbackContext)?e.fallbackContext:void 0,S=e,k=Gs(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,P=Gs(S.__numberFormatters)?S.__numberFormatters:new Map,T=Gs(S.__meta)?S.__meta:{};Ic++;const R={version:n,cid:Ic,locale:o,fallbackLocale:a,messages:i,modifiers:d,pluralRules:c,missing:u,missingWarn:h,fallbackWarn:p,fallbackFormat:f,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:b,escapeParameter:y,messageCompiler:_,messageResolver:x,localeFallbacker:C,fallbackContext:w,onWarn:t,__meta:T};return R.datetimeFormats=l,R.numberFormats=s,R.__datetimeFormatters=k,R.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){oc&&oc.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(R,n,T),R}const Ec=e=>({[e]:Ls()});function Lc(e,t,n,o,r){const{missing:a,onWarn:i}=e;if(null!==a){const o=a(e,n,t,r);return Ks(o)?o:t}return t}function jc(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Nc(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let a=n+1;a{Wc.includes(e)?l[e]=n[e]:a[e]=n[e]})),Ks(o)?a.locale=o:Qs(o)&&(l=o),Qs(r)&&(l=r),[a.key||"",i,a,l]}function Uc(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__datetimeFormatters.has(e)&&o.__datetimeFormatters.delete(e)}}function qc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[s,d,c,u]=Yc(...t);Ys(c.missingWarn)?c.missingWarn:e.missingWarn;Ys(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,p=pc(e,c),f=i(e,r,p);if(!Ks(s)||""===s)return new Intl.NumberFormat(p,u).format(d);let m,v={},g=null;for(let _=0;_{Kc.includes(e)?i[e]=n[e]:a[e]=n[e]})),Ks(o)?a.locale=o:Qs(o)&&(i=o),Qs(r)&&(i=r),[a.key||"",l,a,i]}function Gc(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__numberFormatters.has(e)&&o.__numberFormatters.delete(e)}}const Xc=e=>e,Zc=e=>"",Qc=e=>0===e.length?"":Js(e),Jc=e=>null==e?"":Us(e)||Qs(e)&&e.toString===Xs?JSON.stringify(e,null,2):String(e);function eu(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function tu(e={}){const t=e.locale,n=function(e){const t=Os(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Os(e.named.count)||Os(e.named.n))?Os(e.named.count)?e.named.count:Os(e.named.n)?e.named.n:t:t}(e),o=Gs(e.pluralRules)&&Ks(t)&&qs(e.pluralRules[t])?e.pluralRules[t]:eu,r=Gs(e.pluralRules)&&Ks(t)&&qs(e.pluralRules[t])?eu:void 0,a=e.list||[],i=e.named||Ls();Os(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,i);function l(t,n){const o=qs(e.messages)?e.messages(t,!!n):!!Gs(e.messages)&&e.messages[t];return o||(e.parent?e.parent.message(t):Zc)}const s=Qs(e.processor)&&qs(e.processor.normalize)?e.processor.normalize:Qc,d=Qs(e.processor)&&qs(e.processor.interpolate)?e.processor.interpolate:Jc,c={list:e=>a[e],named:e=>i[e],plural:e=>e[o(n,e.length,r)],linked:(t,...n)=>{const[o,r]=n;let a="text",i="";1===n.length?Gs(o)?(i=o.modifier||i,a=o.type||a):Ks(o)&&(i=o||i):2===n.length&&(Ks(o)&&(i=o||i),Ks(r)&&(a=r||a));const s=l(t,!0)(c),d="vnode"===a&&Us(s)&&i?s[0]:s;return i?(u=i,e.modifiers?e.modifiers[u]:Xc)(d,a):d;var u},message:l,type:Qs(e.processor)&&Ks(e.processor.type)?e.processor.type:"text",interpolate:d,normalize:s,values:Bs(Ls(),a,i)};return c}const nu=()=>"",ou=e=>qs(e);function ru(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:l}=e,[s,d]=lu(...t),c=Ys(d.missingWarn)?d.missingWarn:e.missingWarn,u=Ys(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,h=Ys(d.escapeParameter)?d.escapeParameter:e.escapeParameter,p=!!d.resolvedMessage,f=Ks(d.default)||Ys(d.default)?Ys(d.default)?a?s:()=>s:d.default:n?a?s:()=>s:null,m=n||null!=f&&(Ks(f)||qs(f)),v=pc(e,d);h&&function(e){Us(e.list)?e.list=e.list.map((e=>Ks(e)?Hs(e):e)):Gs(e.named)&&Object.keys(e.named).forEach((t=>{Ks(e.named[t])&&(e.named[t]=Hs(e.named[t]))}))}(d);let[g,b,y]=p?[s,v,l[v]||Ls()]:au(e,s,v,i,u,c),_=g,x=s;if(p||Ks(_)||Ed(_)||ou(_)||m&&(_=f,x=_),!(p||(Ks(_)||Ed(_)||ou(_))&&Ks(b)))return r?-1:s;let C=!1;const w=ou(_)?_:iu(e,s,b,_,x,(()=>{C=!0}));if(C)return _;const S=function(e,t,n,o){const{modifiers:r,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:s,missingWarn:d,fallbackContext:c}=e,u=(o,r)=>{let a=i(n,o);if(null==a&&(c||r)){const[,,n]=au(c||e,o,t,l,s,d);a=i(n,o)}if(Ks(a)||Ed(a)){let n=!1;const r=iu(e,o,t,a,o,(()=>{n=!0}));return n?nu:r}return ou(a)?a:nu},h={locale:t,modifiers:r,pluralRules:a,messages:u};e.processor&&(h.processor=e.processor);o.list&&(h.list=o.list);o.named&&(h.named=o.named);Os(o.plural)&&(h.pluralIndex=o.plural);return h}(e,b,y,d),k=function(e,t,n){const o=t(n);return o}(0,w,tu(S)),P=o?o(k,s):k;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:Ks(s)?s:ou(_)?_.key:"",locale:b||(ou(_)?_.locale:""),format:Ks(_)?_:ou(_)?_.source:"",message:P};t.meta=Bs({},e.__meta,Ac()||{}),rc(t)}return P}function au(e,t,n,o,r,a){const{messages:i,onWarn:l,messageResolver:s,localeFallbacker:d}=e,c=d(e,o,n);let u,h=Ls(),p=null;for(let f=0;fo;return e.locale=n,e.key=t,e}const s=i(o,function(e,t,n,o,r,a){return{locale:t,key:n,warnHtmlMessage:r,onError:e=>{throw a&&a(e),e},onCacheKey:e=>((e,t,n)=>As({l:e,k:t,s:n}))(t,n,e)}}(0,n,r,0,l,a));return s.locale=n,s.key=t,s.source=o,s}function lu(...e){const[t,n,o]=e,r=Ls();if(!(Ks(t)||Os(t)||ou(t)||Ed(t)))throw hc(ic);const a=Os(t)?String(t):(ou(t),t);return Os(n)?r.plural=n:Ks(n)?r.default=n:Qs(n)&&!Is(n)?r.named=n:Us(n)&&(r.list=n),Os(o)?r.plural=o:Ks(o)?r.default=o:Qs(o)&&Bs(r,o),[a,r]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Ns().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);const su=24,du=25,cu=26,uu=27,hu=28,pu=29,fu=31,mu=32;function vu(e,...t){return bd(e,null,void 0)}const gu=$s("__translateVNode"),bu=$s("__datetimeParts"),yu=$s("__numberParts"),_u=$s("__setPluralRules"),xu=$s("__injectWithOption"),Cu=$s("__dispose");function wu(e){if(!Gs(e))return e;if(Ed(e))return e;for(const t in e)if(Vs(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e,a=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(i[t]=i[t]||Ls(),nd(n,i[t])):nd(n,i)}else Ks(e)&&nd(JSON.parse(e),i)})),null==r&&a)for(const l in i)Vs(i,l)&&wu(i[l]);return i}function ku(e){return e.type}function Pu(e,t,n){let o=Gs(t.messages)?t.messages:Ls();"__i18nGlobal"in n&&(o=Su(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);if(r.length&&r.forEach((t=>{e.mergeLocaleMessage(t,o[t])})),Gs(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(Gs(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function Tu(e){return zr(fr,null,e,0)}const Ru=()=>[],Fu=()=>!1;let zu=0;function Mu(e){return(t,n,o,r)=>e(n,o,Nr()||void 0,r)}function $u(e={}){const{__root:t,__injectWithOption:n}=e,o=void 0===t,r=e.flatJson,a=Ms?vt:gt;let i=!Ys(e.inheritLocale)||e.inheritLocale;const l=a(t&&i?t.locale.value:Ks(e.locale)?e.locale:Tc),s=a(t&&i?t.fallbackLocale.value:Ks(e.fallbackLocale)||Us(e.fallbackLocale)||Qs(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l.value),d=a(Su(l.value,e)),c=a(Qs(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),u=a(Qs(e.numberFormats)?e.numberFormats:{[l.value]:{}});let h=t?t.missingWarn:!Ys(e.missingWarn)&&!Ds(e.missingWarn)||e.missingWarn,p=t?t.fallbackWarn:!Ys(e.fallbackWarn)&&!Ds(e.fallbackWarn)||e.fallbackWarn,f=t?t.fallbackRoot:!Ys(e.fallbackRoot)||e.fallbackRoot,m=!!e.fallbackFormat,v=qs(e.missing)?e.missing:null,g=qs(e.missing)?Mu(e.missing):null,b=qs(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!Ys(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter;const x=t?t.modifiers:Qs(e.modifiers)?e.modifiers:{};let C,w=e.pluralRules||t&&t.pluralRules;C=(()=>{o&&Dc(null);const t={version:"11.1.3",locale:l.value,fallbackLocale:s.value,messages:d.value,modifiers:x,pluralRules:w,missing:null===g?void 0:g,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=c.value,t.numberFormats=u.value,t.__datetimeFormatters=Qs(C)?C.__datetimeFormatters:void 0,t.__numberFormatters=Qs(C)?C.__numberFormatters:void 0;const n=Bc(t);return o&&Dc(n),n})(),jc(C,l.value,s.value);const S=Qr({get:()=>l.value,set:e=>{C.locale=e,l.value=e}}),k=Qr({get:()=>s.value,set:e=>{C.fallbackLocale=e,s.value=e,jc(C,l.value,e)}}),P=Qr((()=>d.value)),T=Qr((()=>c.value)),R=Qr((()=>u.value));const F=(e,n,r,a,i,h)=>{let p;l.value,s.value,d.value,c.value,u.value;try{__INTLIFY_PROD_DEVTOOLS__,o||(C.fallbackContext=t?Oc:void 0),p=e(C)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(C.fallbackContext=void 0)}if("translate exists"!==r&&Os(p)&&-1===p||"translate exists"===r&&!p){const[e,o]=n();return t&&f?a(t):i(e)}if(h(p))return p;throw vu(su)};function z(...e){return F((t=>Reflect.apply(ru,null,[t,...e])),(()=>lu(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>Ks(e)))}const M={normalize:function(e){return e.map((e=>Ks(e)||Os(e)||Ys(e)?Tu(String(e)):e))},interpolate:e=>e,type:"vnode"};function $(e){return d.value[e]||{}}zu++,t&&Ms&&(er(t.locale,(e=>{i&&(l.value=e,C.locale=e,jc(C,l.value,s.value))})),er(t.fallbackLocale,(e=>{i&&(s.value=e,C.fallbackLocale=e,jc(C,l.value,s.value))})));const A={id:zu,locale:S,fallbackLocale:k,get inheritLocale(){return i},set inheritLocale(e){i=e,e&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,jc(C,l.value,s.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:P,get modifiers(){return x},get pluralRules(){return w||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(e){h=e,C.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(e){p=e,C.fallbackWarn=p},get fallbackRoot(){return f},set fallbackRoot(e){f=e},get fallbackFormat(){return m},set fallbackFormat(e){m=e,C.fallbackFormat=m},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,C.warnHtmlMessage=e},get escapeParameter(){return _},set escapeParameter(e){_=e,C.escapeParameter=e},t:z,getLocaleMessage:$,setLocaleMessage:function(e,t){if(r){const n={[e]:t};for(const e in n)Vs(n,e)&&wu(n[e]);t=n[e]}d.value[e]=t,C.messages=d.value},mergeLocaleMessage:function(e,t){d.value[e]=d.value[e]||{};const n={[e]:t};if(r)for(const o in n)Vs(n,o)&&wu(n[o]);nd(t=n[e],d.value[e]),C.messages=d.value},getPostTranslationHandler:function(){return qs(b)?b:null},setPostTranslationHandler:function(e){b=e,C.postTranslation=e},getMissingHandler:function(){return v},setMissingHandler:function(e){null!==e&&(g=Mu(e)),v=e,C.missing=g},[_u]:function(e){w=e,C.pluralRules=w}};return A.datetimeFormats=T,A.numberFormats=R,A.rt=function(...e){const[t,n,o]=e;if(o&&!Gs(o))throw vu(du);return z(t,n,Bs({resolvedMessage:!0},o||{}))},A.te=function(e,t){return F((()=>{if(!e)return!1;const n=$(Ks(t)?t:l.value),o=C.messageResolver(n,e);return Ed(o)||ou(o)||Ks(o)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),Fu,(e=>Ys(e)))},A.tm=function(e){const n=function(e){let t=null;const n=gc(C,s.value,l.value);for(let o=0;oReflect.apply(Hc,null,[t,...e])),(()=>Vc(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>Ks(e)))},A.n=function(...e){return F((t=>Reflect.apply(qc,null,[t,...e])),(()=>Yc(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>Ks(e)))},A.getDateTimeFormat=function(e){return c.value[e]||{}},A.setDateTimeFormat=function(e,t){c.value[e]=t,C.datetimeFormats=c.value,Uc(C,e,t)},A.mergeDateTimeFormat=function(e,t){c.value[e]=Bs(c.value[e]||{},t),C.datetimeFormats=c.value,Uc(C,e,t)},A.getNumberFormat=function(e){return u.value[e]||{}},A.setNumberFormat=function(e,t){u.value[e]=t,C.numberFormats=u.value,Gc(C,e,t)},A.mergeNumberFormat=function(e,t){u.value[e]=Bs(u.value[e]||{},t),C.numberFormats=u.value,Gc(C,e,t)},A[xu]=n,A[gu]=function(...e){return F((t=>{let n;const o=t;try{o.processor=M,n=Reflect.apply(ru,null,[o,...e])}finally{o.processor=null}return n}),(()=>lu(...e)),"translate",(t=>t[gu](...e)),(e=>[Tu(e)]),(e=>Us(e)))},A[bu]=function(...e){return F((t=>Reflect.apply(Hc,null,[t,...e])),(()=>Vc(...e)),"datetime format",(t=>t[bu](...e)),Ru,(e=>Ks(e)||Us(e)))},A[yu]=function(...e){return F((t=>Reflect.apply(qc,null,[t,...e])),(()=>Yc(...e)),"number format",(t=>t[yu](...e)),Ru,(e=>Ks(e)||Us(e)))},A}function Au(e={}){const t=$u(function(e){const t=Ks(e.locale)?e.locale:Tc,n=Ks(e.fallbackLocale)||Us(e.fallbackLocale)||Qs(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=qs(e.missing)?e.missing:void 0,r=!Ys(e.silentTranslationWarn)&&!Ds(e.silentTranslationWarn)||!e.silentTranslationWarn,a=!Ys(e.silentFallbackWarn)&&!Ds(e.silentFallbackWarn)||!e.silentFallbackWarn,i=!Ys(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,s=Qs(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,c=qs(e.postTranslation)?e.postTranslation:void 0,u=!Ks(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,h=!!e.escapeParameterHtml,p=!Ys(e.sync)||e.sync;let f=e.messages;if(Qs(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce(((e,n)=>{const o=e[n]||(e[n]={});return Bs(o,t[n]),e}),f||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,b=e.datetimeFormats,y=e.numberFormats;return{locale:t,fallbackLocale:n,messages:f,flatJson:e.flatJson,datetimeFormats:b,numberFormats:y,missing:o,missingWarn:r,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:s,pluralRules:d,postTranslation:c,warnHtmlMessage:u,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:m,__root:v,__injectWithOption:g}}(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return Ys(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=Ys(e)?!e:e},get silentFallbackWarn(){return Ys(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=Ys(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return o.__extender=n,o}function Ou(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[_u](t.pluralizationRules||e.pluralizationRules);const n=Su(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const Du={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Iu(){return pr}const Bu=$n({name:"i18n-t",props:Bs({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Os(e)||!isNaN(e)}},Du),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Uu({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter((e=>"_"!==e)),i=Ls();e.locale&&(i.locale=e.locale),void 0!==e.plural&&(i.plural=Ks(e.plural)?+e.plural:e.plural);const l=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===pr?t.children:[t]]),[]);return t.reduce(((t,n)=>{const o=e[n];return o&&(t[n]=o()),t}),Ls())}(t,a),s=r[gu](e.keypath,l,i),d=Bs(Ls(),o);return Jr(Ks(e.tag)||Gs(e.tag)?e.tag:Iu(),d,s)}}});function Eu(e,t,n,o){const{slots:r,attrs:a}=t;return()=>{const t={part:!0};let i=Ls();e.locale&&(t.locale=e.locale),Ks(e.format)?t.key=e.format:Gs(e.format)&&(Ks(e.format.key)&&(t.key=e.format.key),i=Object.keys(e.format).reduce(((t,o)=>n.includes(o)?Bs(Ls(),t,{[o]:e.format[o]}):t),Ls()));const l=o(e.value,t,i);let s=[t.key];Us(l)?s=l.map(((e,t)=>{const n=r[e.type],o=n?n({[e.type]:e.value,index:t,parts:l}):[e.value];var a;return Us(a=o)&&!Ks(a[0])&&(o[0].key=`${e.type}-${t}`),o})):Ks(l)&&(s=[l]);const d=Bs(Ls(),a);return Jr(Ks(e.tag)||Gs(e.tag)?e.tag:Iu(),d,s)}}const Lu=$n({name:"i18n-n",props:Bs({value:{type:Number,required:!0},format:{type:[String,Object]}},Du),setup(e,t){const n=e.i18n||Uu({useScope:e.scope,__useComponent:!0});return Eu(e,t,Kc,((...e)=>n[yu](...e)))}});function ju(e){if(Ks(e))return{path:e};if(Qs(e)){if(!("path"in e))throw vu(hu);return e}throw vu(pu)}function Nu(e){const{path:t,locale:n,args:o,choice:r,plural:a}=e,i={},l=o||{};return Ks(n)&&(i.locale=n),Os(r)&&(i.plural=r),Os(a)&&(i.plural=a),[t,l,i]}function Hu(e,t,...n){const o=Qs(n[0])?n[0]:{};(!Ys(o.globalInstall)||o.globalInstall)&&([Bu.name,"I18nT"].forEach((t=>e.component(t,Bu))),[Lu.name,"I18nN"].forEach((t=>e.component(t,Lu))),[Yu.name,"I18nD"].forEach((t=>e.component(t,Yu)))),e.directive("t",function(e){const t=t=>{const{instance:n,value:o}=t;if(!n||!n.$)throw vu(mu);const r=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,n.$),a=ju(o);return[Reflect.apply(r.t,r,[...Nu(a)]),r]};return{created:(n,o)=>{const[r,a]=t(o);Ms&&e.global===a&&(n.__i18nWatcher=er(a.locale,(()=>{o.instance&&o.instance.$forceUpdate()}))),n.__composer=a,n.textContent=r},unmounted:e=>{Ms&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,o=ju(t);e.textContent=Reflect.apply(n.t,n,[...Nu(o)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}const Wu=$s("global-vue-i18n");function Vu(e={}){const t=__VUE_I18N_LEGACY_API__&&Ys(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!Ys(e.globalInjection)||e.globalInjection,o=new Map,[r,a]=function(e,t){const n=Y(),o=__VUE_I18N_LEGACY_API__&&t?n.run((()=>Au(e))):n.run((()=>$u(e)));if(null==o)throw vu(mu);return[n,o]}(e,t),i=$s("");const l={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...o){if(e.__VUE_I18N_SYMBOL__=i,e.provide(e.__VUE_I18N_SYMBOL__,l),Qs(o[0])){const e=o[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let r=null;!t&&n&&(r=function(e,t){const n=Object.create(null);qu.forEach((e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw vu(mu);const r=mt(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,Ku.forEach((n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw vu(mu);Object.defineProperty(e.config.globalProperties,`$${n}`,o)}));const o=()=>{delete e.config.globalProperties.$i18n,Ku.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return o}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&Hu(e,l,...o),__VUE_I18N_LEGACY_API__&&t&&e.mixin(function(e,t,n){return{beforeCreate(){const o=Nr();if(!o)throw vu(mu);const r=this.$options;if(r.i18n){const o=r.i18n;if(r.__i18n&&(o.__i18n=r.__i18n),o.__root=t,this===this.$root)this.$i18n=Ou(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=Au(o);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Ou(e,r);else{this.$i18n=Au({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Pu(t,r,r),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const e=Nr();if(!e)throw vu(mu);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(a,a.__composer,l));const s=e.unmount;e.unmount=()=>{r&&r(),l.dispose(),s()}},get global(){return a},dispose(){r.stop()},__instances:o,__getInstance:function(e){return o.get(e)||null},__setInstance:function(e,t){o.set(e,t)},__deleteInstance:function(e){o.delete(e)}};return l}function Uu(e={}){const t=Nr();if(null==t)throw vu(cu);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw vu(uu);const n=function(e){const t=Ro(e.isCE?Wu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw vu(e.isCE?fu:mu);return t}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=ku(t),a=function(e,t){return Is(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("global"===a)return Pu(o,e,r),o;if("parent"===a){let r=function(e,t,n=!1){let o=null;const r=t.root;let a=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=a;){const t=e;if("composition"===e.mode)o=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(a);null!=e&&(o=e.__composer,n&&o&&!o[xu]&&(o=null))}if(null!=o)break;if(r===a)break;a=a.parent}return o}(n,t,e.__useComponent);return null==r&&(r=o),r}const i=n;let l=i.__getInstance(t);if(null==l){const n=Bs({},e);"__i18n"in r&&(n.__i18n=r.__i18n),o&&(n.__root=o),l=$u(n),i.__composerExtend&&(l[Cu]=i.__composerExtend(l)),function(e,t,n){Kn((()=>{}),t),Zn((()=>{const o=n;e.__deleteInstance(t);const r=o[Cu];r&&(r(),delete o[Cu])}),t)}(i,t,l),i.__setInstance(t,l)}return l}const qu=["locale","fallbackLocale","availableLocales"],Ku=["t","rt","d","n","tm","te"];const Yu=$n({name:"i18n-d",props:Bs({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Du),setup(e,t){const n=e.i18n||Uu({useScope:e.scope,__useComponent:!0});return Eu(e,t,Wc,((...e)=>n[bu](...e)))}});var Gu;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(Ns().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(Ns().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Ns().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1),Fc=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ks(e)){!Ys(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||tc)(e),o=nc[n];if(o)return o;const{ast:r,detectError:a}=function(e,t={}){let n=!1;const o=t.onError||yd;return t.onError=e=>{n=!0,o(e)},{...Bd(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),i=Qd(r);return a?i:nc[n]=i}{const t=e.cacheKey;if(t){const n=nc[t];return n||(nc[t]=Qd(e))}return Qd(e)}},zc=function(e,t){if(!Gs(e))return null;let n=kc.get(t);if(n||(n=function(e){const t=[];let n,o,r,a,i,l,s,d=-1,c=0,u=0;const h=[];function p(){const t=e[d+1];if(5===c&&"'"===t||6===c&&'"'===t)return d++,r="\\"+t,h[0](),!0}for(h[0]=()=>{void 0===o?o=r:o+=r},h[1]=()=>{void 0!==o&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),u++},h[3]=()=>{if(u>0)u--,c=4,h[0]();else{if(u=0,void 0===o)return!1;if(o=Sc(o),!1===o)return!1;h[1]()}};null!==c;)if(d++,n=e[d],"\\"!==n||!p()){if(a=wc(n),s=xc[c],i=s[a]||s.l||8,8===i)return;if(c=i[0],void 0!==i[1]&&(l=h[i[1]],l&&(r=n,!1===l())))return;if(7===c)return t}}(t),n&&kc.set(t,n)),!n)return null;const o=n.length;let r=e,a=0;for(;a{};const Ju=e=>e();function eh(e=Ju,t={}){const{initialState:n="active"}=t,o=function(...e){if(1!==e.length)return Ft(...e);const t=e[0];return"function"==typeof t?at(kt((()=>({get:t,set:Qu})))):vt(t)}("active"===n);return{isActive:at(o),pause:function(){o.value=!1},resume:function(){o.value=!0},eventFilter:(...t)=>{o.value&&e(...t)}}}function th(e){return Array.isArray(e)?e:[e]}function nh(e,t,n={}){const{eventFilter:o=Ju,...r}=n;return er(e,(a=o,i=t,function(...e){return new Promise(((t,n)=>{Promise.resolve(a((()=>i.apply(this,e)),{fn:i,thisArg:this,args:e})).then(t).catch(n)}))}),r);var a,i}function oh(e,t=!0,n){Nr()?Kn(e,n):t?e():Kt(e)}const rh=Xu?window:void 0;function ah(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},o=Qr((()=>{const t=th(xt(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),r=(a=([e,o,r,a])=>{if(n(),!(null==e?void 0:e.length)||!(null==o?void 0:o.length)||!(null==r?void 0:r.length))return;const i=(l=a,"[object Object]"===Zu.call(l)?{...a}:a);var l;t.push(...e.flatMap((e=>o.flatMap((t=>r.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,i))))))))},i={flush:"post"},er((()=>{var t,n;return[null!=(n=null==(t=o.value)?void 0:t.map((e=>function(e){var t;const n=xt(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[rh].filter((e=>null!=e)),th(xt(o.value?e[1]:e[0])),th(_t(o.value?e[2]:e[1])),xt(o.value?e[3]:e[2])]}),a,{...i,immediate:!0}));var a,i;var l;return l=n,G()&&X(l),()=>{r(),n()}}const ih="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},lh="__vueuse_ssr_handlers__",sh=dh();function dh(){return lh in ih||(ih[lh]=ih[lh]||{}),ih[lh]}const ch={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},uh="vueuse-storage";function hh(e,t,n,o={}){var r;const{flush:a="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:d=!1,shallow:c,window:u=rh,eventFilter:h,onError:p=e=>{},initOnMounted:f}=o,m=(c?gt:vt)(t),v=Qr((()=>xt(e)));if(!n)try{n=function(e,t){return sh[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=rh)?void 0:e.localStorage}))()}catch(Nte){p(Nte)}if(!n)return m;const g=xt(t),b=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(g),y=null!=(r=o.serializer)?r:ch[b],{pause:_,resume:x}=function(e,t,n={}){const{eventFilter:o,initialState:r="active",...a}=n,{eventFilter:i,pause:l,resume:s,isActive:d}=eh(o,{initialState:r});return{stop:nh(e,t,{...a,eventFilter:i}),pause:l,resume:s,isActive:d}}(m,(()=>function(e){try{const t=n.getItem(v.value);if(null==e)S(t,null),n.removeItem(v.value);else{const o=y.write(e);t!==o&&(n.setItem(v.value,o),S(t,o))}}catch(Nte){p(Nte)}}(m.value)),{flush:a,deep:i,eventFilter:h});er(v,(()=>k()),{flush:a});let C=!1;const w=e=>{f&&!C||k(e.detail)};function S(e,t){if(u){const o={key:v.value,oldValue:e,newValue:t,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",o):new CustomEvent(uh,{detail:o}))}}function k(e){if(!e||e.storageArea===n)if(e&&null==e.key)m.value=g;else if(!e||e.key===v.value){_();try{(null==e?void 0:e.newValue)!==y.write(m.value)&&(m.value=function(e){const t=e?e.newValue:n.getItem(v.value);if(null==t)return s&&null!=g&&n.setItem(v.value,y.write(g)),g;if(!e&&d){const e=y.read(t);return"function"==typeof d?d(e,g):"object"!==b||Array.isArray(e)?e:{...g,...e}}return"string"!=typeof t?t:y.read(t)}(e))}catch(Nte){p(Nte)}finally{e?Kt(x):x()}}}return u&&l&&(n instanceof Storage?ah(u,"storage",(e=>{f&&!C||k(e)}),{passive:!0}):ah(u,uh,w)),f?oh((()=>{C=!0,k()})):k(),m}const ph={zhCN:"简体中文",zhTW:"繁體中文",enUS:"English",jaJP:"日本語",ruRU:"Русский",koKR:"한국어",ptBR:"Português",frFR:"Français",esAR:"Español",arDZ:"العربية"},fh="警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。",mh="返回首页",vh="安全提示:如果您认为这是个错误,请立即联系管理员",gh="展开主菜单",bh="折叠主菜单",yh="AllinSSL",_h="账号登录",xh="请输入用户名",Ch="请输入密码",wh="记住密码",Sh="忘记密码",kh="自动化部署",Ph="证书管理",Th="证书申请",Rh="授权API管理",Fh="返回工作流列表",zh="请选择一个节点进行配置",Mh="点击左侧流程图中的节点来配置它",$h="未选择节点",Ah="配置已保存",Oh="开始运行流程",Dh="选中节点:",Ih="节点配置",Bh="请选择左侧节点进行配置",Eh="未找到该节点类型的配置组件",Lh="自动执行",jh="手动执行",Nh="测试PID",Hh="请输入测试PID",Wh="执行周期",Vh="请输入分钟",Uh="请输入小时",qh="请选择日期",Kh="请输入域名",Yh="请输入邮箱",Gh="邮箱格式不正确",Xh="请选择DNS提供商授权",Zh="本地部署",Qh="SSH部署",Jh="宝塔面板/1面板(部署到面板证书)",ep="宝塔面板/1面板(部署到指定网站项目)",tp="腾讯云CDN/阿里云CDN",np="腾讯云WAF",op="阿里云WAF",rp="本次自动申请的证书",ap="可选证书列表",ip="PEM(*.pem,*.crt,*.key)",lp="PFX(*.pfx)",sp="JKS(*.jks)",dp="POSIX bash(Linux/MacOS)",cp="命令行(Windows)",up="PowerShell(Windows)",hp="服务器1",pp="服务器2",fp="证书格式不正确,请检查是否包含完整的证书头尾标识",mp="私钥格式不正确,请检查是否包含完整的私钥头尾标识",vp="自动化名称",gp="启用状态",bp="创建时间",yp="执行历史",_p="执行工作流",xp="工作流执行成功",Cp="工作流执行失败",wp="删除工作流",Sp="工作流删除成功",kp="工作流删除失败",Pp="请输入自动化名称",Tp="确定要执行{name}工作流吗?",Rp="确认要删除{name}工作流吗?此操作不可恢复。",Fp="执行时间",zp="结束时间",Mp="执行方式",$p="上传证书",Ap="请输入证书域名或品牌名称进行搜索",Op="剩余天数",Dp="到期时间",Ip="自动申请",Bp="手动上传",Ep="添加时间",Lp="即将过期",jp="删除证书",Np="确认要删除这个证书吗?此操作不可恢复。",Hp="证书名称",Wp="请输入证书名称",Vp="证书内容(PEM)",Up="请输入证书内容",qp="私钥内容(KEY)",Kp="请输入私钥内容",Yp="下载失败",Gp="上传失败",Xp="删除失败",Zp="添加授权API",Qp="请输入授权API名称或类型",Jp="授权API类型",ef="编辑授权API",tf="删除授权API",nf="确定删除该授权API吗?此操作不可恢复。",of="添加失败",rf="更新失败",af="已过期{days}天",lf="监控管理",sf="添加监控",df="请输入监控名称或域名进行搜索",cf="监控名称",uf="证书域名",hf="证书颁发机构",pf="证书状态",ff="证书到期时间",mf="告警渠道",vf="上次检查时间",gf="编辑监控",bf="确认删除",yf="删除后将无法恢复,您确认要删除该监控吗?",_f="修改失败",xf="设置失败",Cf="请输入验证码",wf="表单验证失败,请检查填写内容",Sf="请输入授权API名称",kf="请选择授权API类型",Pf="请输入服务器IP",Tf="请输入SSH端口",Rf="请输入SSH密钥",Ff="请输入宝塔地址",zf="请输入API密钥",Mf="请输入1panel地址",$f="请输入AccessKeyId",Af="请输入AccessKeySecret",Of="请输入SecretId",Df="请输入密钥",If="更新成功",Bf="添加成功",Ef="服务器IP",Lf="SSH端口",jf="认证方式",Nf="密码认证",Hf="密钥认证",Wf="SSH私钥",Vf="请输入SSH私钥",Uf="私钥密码",qf="如果私钥有密码,请输入",Kf="宝塔面板地址",Yf="请输入宝塔面板地址,例如:https://bt.example.com",Gf="API密钥",Xf="1面板地址",Zf="请输入1panel地址,例如:https://1panel.example.com",Qf="请输入AccessKey ID",Jf="请输入访问密钥的秘密",em="请输入监控名称",tm="请输入域名/IP",nm="请选择检查周期",om="10分钟",rm="15分钟",am="30分钟",im="60分钟",lm="域名/IP",sm="检查周期",dm="请选择告警渠道",cm="请输入授权API名称",um="删除监控",hm="更新时间",pm="服务器IP地址格式错误",fm="端口格式错误",mm="面板URL地址格式错误",vm="请输入面板API密钥",gm="请输入阿里云AccessKeyId",bm="请输入阿里云AccessKeySecret",ym="请输入腾讯云SecretId",_m="请输入腾讯云SecretKey",xm="切换为手动模式",Cm="切换为自动模式",wm="切换为手动模式后,工作流将不再自动执行,但仍可手动执行",Sm="切换为自动模式后,工作流将按照配置的时间自动执行",km="关闭当前工作流",Pm="启用当前工作流",Tm="关闭后,工作流将不再自动执行,手动也无法执行,是否继续?",Rm="启用后,工作流配置自动执行,或手动执行,是否继续?",Fm="添加工作流失败",zm="设置工作流运行方式失败",Mm="启用或禁用工作流失败",$m="执行工作流失败",Am="删除工作流失败",Om="即将退出登录状态,确认退出吗?",Dm="正在退出登录状态,请稍后...",Im="添加邮箱通知",Bm="保存成功",Em="删除成功",Lm="获取系统设置失败",jm="设置保存失败",Nm="获取通知设置失败",Hm="保存通知设置失败",Wm="获取通知渠道列表失败",Vm="添加邮箱通知渠道失败",Um="更新通知渠道失败",qm="删除通知渠道失败",Km="检查版本更新失败",Ym="保存设置",Gm="基础设置",Xm="选择模板",Zm="请输入工作流名称",Qm="请输入邮箱格式",Jm="请选择DNS提供商",ev="请输入续签间隔",tv="请输入域名,域名不能为空",nv="请输入邮箱,邮箱不能为空",ov="请选择DNS提供商,DNS提供商不能为空",rv="请输入续签间隔,续签间隔不能为空",av="邮箱格式错误,请输入正确的邮箱",iv="续签间隔不能为空",lv="请输入证书域名,多个域名用逗号分隔",sv="请输入邮箱,用于接收证书颁发机构的邮件通知",dv="DNS提供商",cv="续签间隔(天)",uv="续签间隔时间",hv="天,到期后自动续签",pv="宝塔面板",fv="宝塔面板网站",mv="1Panel面板",vv="1Panel网站",gv="腾讯云CDN",bv="腾讯云COS",yv="阿里云CDN",_v="部署类型",xv="请选择部署类型",Cv="请输入部署路径",wv="请输入前置命令",Sv="请输入后置命令",kv="请输入站点ID",Pv="请输入区域",Tv="请输入存储桶",Rv="选择部署类型",Fv="配置部署参数",zv="运行模式",Mv="运行模式未配置",$v="运行周期未配置",Av="运行时间未配置",Ov="证书文件(PEM 格式)",Dv="请粘贴证书文件内容,例如:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",Iv="私钥文件(KEY 格式)",Bv="请粘贴私钥文件内容,例如:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",Ev="证书私钥内容不能为空",Lv="证书私钥格式不正确",jv="证书内容不能为空",Nv="证书格式不正确",Hv="配置部署参数,类型决定参数配置",Wv="部署设备来源",Vv="请选择部署设备来源",Uv="请选择部署类型后,点击下一步",qv="部署来源",Kv="请选择部署来源",Yv="添加更多设备",Gv="添加部署来源",Xv="证书来源",Zv="当前类型部署来源为空,请先添加部署来源",Qv="当前流程中没有申请节点,请先添加申请节点",Jv="提交内容",eg="点击编辑工作流标题",tg="删除节点-【{name}】",ng="当前节点存在子节点,删除后会影响其他节点,是否确认删除?",og="当前节点存在配置数据,是否确认删除?",rg="请选择部署类型后,再进行下一步",ag="请选择类型",ig="获取首页概览数据失败",lg="版本信息",sg="当前版本",dg="更新方式",cg="最新版本",ug="更新日志",hg="客服二维码",pg="扫码添加客服",fg="微信公众号",mg="扫码关注微信公众号",vg="关于产品",gg="SMTP服务器",bg="请输入SMTP服务器",yg="SMTP端口",_g="请输入SMTP端口",xg="SSL/TLS连接",Cg="请选择消息通知",wg="消息通知",Sg="添加通知渠道",kg="请输入通知主题",Pg="请输入通知内容",Tg="修改邮箱通知配置",Rg="通知主题",Fg="通知内容",zg="点击获取验证码",Mg="剩余{days}天",$g="即将到期{days}天",Ag="DNS提供商为空",Og="添加DNS提供商",Dg="执行历史详情",Ig="执行状态",Bg="触发方式",Eg="正在提交信息,请稍后...",Lg="面板URL",jg="忽略 SSL/TLS证书错误",Ng="表单验证失败",Hg="新建工作流",Wg="正在提交申请,请稍后...",Vg="请输入正确的域名",Ug="请选择解析方式",qg="刷新列表",Kg="是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。",Yg="支持域名数",Gg="支持通配符",Xg="支持小程序",Zg="适用网站",Qg="*.example.com、*.demo.com",Jg="*.example.com",eb="example.com、demo.com",tb="www.example.com、example.com",nb="立即申请",ob="项目地址",rb="请输入证书文件路径",ab="请输入私钥文件路径",ib="当前DNS提供商为空,请先添加DNS提供商",lb="测试通知发送失败",sb="添加配置",db="暂未支持",cb="邮件通知",ub="通过邮件发送告警通知",hb="钉钉通知",pb="通过钉钉机器人发送告警通知",fb="企业微信通知",mb="通过企业微信机器人发送告警通知",vb="飞书通知",gb="通过飞书机器人发送告警通知",bb="WebHook通知",yb="通过WebHook发送告警通知",_b="通知渠道",xb="已配置的通知渠道",Cb="最后一次执行状态",wb="域名不能为空",Sb="邮箱不能为空",kb="阿里云OSS",Pb="主机提供商",Tb="API来源",Rb="API 类型",Fb="请求错误",zb="共{0}条",Mb="自动化工作流",$b="执行失败",Ab="即将到期",Ob="实时监控",Db="异常数量",Ib="最近工作流执行记录",Bb="查看全部",Eb="暂无工作流执行记录",Lb="创建工作流",jb="点击创建自动化工作流程,提高效率",Nb="申请证书",Hb="点击申请和管理SSL证书,保障安全",Wb="最多只能配置一个邮箱通知渠道",Vb="确认{0}通知渠道",Ub="{0}通知渠道,将开始发送告警通知。",qb="当前通知渠道不支持测试",Kb="正在发送测试邮件,请稍后...",Yb="测试邮件",Gb="发送测试邮件到当前配置的邮箱,是否继续?",Xb="删除确认",Zb="请输入名称",Qb="请输入正确的SMTP端口",Jb="请输入用户密码",ey="请输入正确的发送人邮箱",ty="请输入正确的接收邮箱",ny="发送人邮箱",oy="接收邮箱",ry="企业微信",ay="一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。",iy="证书申请",ly="支持通过ACME协议从Let's Encrypt获取证书",sy="证书管理",dy="集中管理所有SSL证书,包括手动上传和自动申请的证书",cy="证书部署",uy="支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等",hy="站点监控",py="实时监控站点SSL证书状态,提前预警证书过期",fy="自动化任务:",my="支持定时任务,自动续期证书并部署",vy="多平台支持",gy="支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式",by="确定要删除{0},通知渠道吗?",yy="Let's Encrypt等CA自动申请免费证书",_y="日志详情",xy="加载日志失败:",Cy="下载日志",wy="暂无日志信息",Sy="自动化任务",ky="请选择主机提供商",Py="DNS提供商列表为空,请添加",Ty="主机提供商列表为空,请添加",Ry="添加主机提供商",Fy="请选择主机提供商{0}",zy="点击设置网站监控,掌握实时状态",My="多域名请使用英文逗号分隔,例如:test.com,test.cn",$y="泛域名请使用*号,例如:*.test.com",Ay="请输入正确的Cloudflare API密钥",Oy="请输入正确的宝塔API密钥",Dy="请输入正确的腾讯云SecretKey",Iy="请输入正确的华为云SecretKey",By="请输入华为云AccessKey",Ey="请输入正确的邮箱账号",Ly="添加自动化部署",jy="添加证书",Ny="AllinSSL 证书管理平台",Hy="域名格式错误,请检查域名格式",Wy="DNS 递归服务器(可选)",Vy="请输入 DNS 递归服务器(多个值请用,隔开)",Uy="跳过本地预检查",qy="选择证书",Ky="如果需要修改证书内容与密钥,请选择自定义证书",Yy="当选择非自定义证书时,证书内容与密钥均不可修改",Gy="上传并提交",Xy="宝塔WAF网站",Zy="宝塔WAF-URL地址格式错误",Qy="请输入宝塔WAF-API密钥",Jy="请输入正确的华为云AccessKey",e_="请输入正确的百度云AccessKey",t_="请输入正确的百度云SecretKey",n_="宝塔WAF-URL",o_="本机部署",r_="全部来源",a_="1Panel",i_="SMTP端口禁止修改",l_="证书文件路径(仅支持PEM格式)",s_="私钥文件路径",d_="前置命令(可选)",c_="后置命令(可选)",u_="站点ID",h_="重复部署",p_="当与上次部署的证书相同且上次部署成功时",f_="重新部署",m_="搜索部署类型",v_="请输入网址名",g_="雷池WAF站点",b_="雷池WAF",y_="雷池WAF-URL地址格式错误",__="请输入正确的宝塔WAF-API密钥",x_="请输入正确的雷池WAF-API密钥",C_="请输入西部数码的用户名",w_="请输入西部数码的密码",S_="请输入火山引擎的AccessKey",k_="请输入火山引擎的SecretKey",P_="宝塔docker站点",T_="请输入雷池的API令牌",R_="API Token",F_="证书算法",z_="请输入SSH密钥,内容不能为空",M_="请输入SSH密码",$_="主机地址",A_="请输入主机地址不能为空",O_="日志查看器",D_="有问题或建议可提",I_="也可以在Github上找到我们",B_="您的参与对AllinSSL极其重要,感谢。",E_="节点字段必填",L_="请输入有效的域名",j_="请输入有效的域名,多个域名请用英文逗号分隔",N_="请输入邮箱地址",H_="请输入有效的邮箱地址",W_="节点错误",V_="消息推送配置",U_="宝塔面板-网站",q_="1Panel-网站",K_="宝塔WAF",Y_="宝塔WAF-网站",G_="腾讯云EdgeOne",X_="七牛云-CDN",Z_="七牛云-OSS",Q_="雷池WAF-网站",J_="火山引擎",ex="西部数码",tx="部署项目类型",nx="您确定要刷新页面吗?数据可能会丢失哦!",ox="执行成功",rx="正在执行",ax="CA授权管理",ix="确定删除",lx="确定要删除此CA授权吗?",sx="添加CA授权",dx="请输入ACME EAB KID",cx="请输入ACME EAB HMAC密钥",ux="请选择CA提供商",hx="当前CA提供商授权的别名,用于快速识别",px="CA提供商",fx="ACME EAB KID",mx="请输入CA提供商的ACME EAB KID",vx="ACME EAB HMAC Key",gx="请输入CA提供商的ACME EAM HMAC",bx="AllinSSL 开源免费的 SSL 证书自动化管理平台 一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。",yx="请输入用于绑定CA授权的邮箱",_x="终端部署",xx="请输入正确的GoDaddy API密钥",Cx="请输入GoDaddy API密钥",wx="请输入七牛云Access Secret",Sx="请输入七牛云Access Key",kx="当距离到期时间",Px="请选择证书颁发机构",Tx="证书颁发机构(EAB ID)",Rx="暂无CA授权数据",Fx="获取CA授权列表失败",zx="自动续签(天)",Mx="证书有效期小于",$x="天时,续签新的证书",Ax="代理地址(可选)",Ox="仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)",Dx="自动续签时间不能为空",Ix="请选择网站名,支持多选网站名称",Bx="添加Zerossl、Google,自定义CA授权",Ex="宝塔docker网站",Lx={t_0_1744098811152:fh,t_1_1744098801860:mh,t_2_1744098804908:vh,t_3_1744098802647:gh,t_4_1744098802046:bh,t_1_1744164835667:yh,t_2_1744164839713:_h,t_3_1744164839524:xh,t_4_1744164840458:Ch,t_5_1744164840468:wh,t_6_1744164838900:Sh,t_7_1744164838625:"登录中",t_8_1744164839833:"登录",t_0_1744258111441:"首页",t_1_1744258113857:kh,t_2_1744258111238:Ph,t_3_1744258111182:Th,t_4_1744258111238:Rh,t_5_1744258110516:"监控",t_6_1744258111153:"设置",t_0_1744861190562:Fh,t_1_1744861189113:"运行",t_2_1744861190040:"保存",t_3_1744861190932:zh,t_4_1744861194395:Mh,t_5_1744861189528:"开始",t_6_1744861190121:$h,t_7_1744861189625:Ah,t_8_1744861189821:Oh,t_9_1744861189580:Dh,t_0_1744870861464:"节点",t_1_1744870861944:Ih,t_2_1744870863419:Bh,t_3_1744870864615:Eh,t_4_1744870861589:"取消",t_5_1744870862719:"确定",t_0_1744875938285:"每分钟",t_1_1744875938598:"每小时",t_2_1744875938555:"每天",t_3_1744875938310:"每月",t_4_1744875940750:Lh,t_5_1744875940010:jh,t_0_1744879616135:Nh,t_1_1744879616555:Hh,t_2_1744879616413:Wh,t_3_1744879615723:"分钟",t_4_1744879616168:Vh,t_5_1744879615277:"小时",t_6_1744879616944:Uh,t_7_1744879615743:"日期",t_8_1744879616493:qh,t_0_1744942117992:"每周",t_1_1744942116527:"周一",t_2_1744942117890:"周二",t_3_1744942117885:"周三",t_4_1744942117738:"周四",t_5_1744942117167:"周五",t_6_1744942117815:"周六",t_7_1744942117862:"周日",t_0_1744958839535:Kh,t_1_1744958840747:Yh,t_2_1744958840131:Gh,t_3_1744958840485:Xh,t_4_1744958838951:Zh,t_5_1744958839222:Qh,t_6_1744958843569:Jh,t_7_1744958841708:ep,t_8_1744958841658:tp,t_9_1744958840634:np,t_10_1744958860078:op,t_11_1744958840439:rp,t_12_1744958840387:ap,t_13_1744958840714:ip,t_14_1744958839470:lp,t_15_1744958840790:sp,t_16_1744958841116:dp,t_17_1744958839597:cp,t_18_1744958839895:up,t_19_1744958839297:"证书1",t_20_1744958839439:"证书2",t_21_1744958839305:hp,t_22_1744958841926:pp,t_23_1744958838717:"面板1",t_29_1744958838904:"日",t_30_1744958843864:fp,t_31_1744958844490:mp,t_0_1745215914686:vp,t_2_1745215915397:"自动",t_3_1745215914237:"手动",t_4_1745215914951:gp,t_5_1745215914671:"启用",t_6_1745215914104:"停用",t_7_1745215914189:bp,t_8_1745215914610:"操作",t_9_1745215914666:yp,t_10_1745215914342:"执行",t_11_1745215915429:"编辑",t_12_1745215914312:"删除",t_13_1745215915455:_p,t_14_1745215916235:xp,t_15_1745215915743:Cp,t_16_1745215915209:wp,t_17_1745215915985:Sp,t_18_1745215915630:kp,t_1_1745227838776:Pp,t_2_1745227839794:Tp,t_3_1745227841567:Rp,t_4_1745227838558:Fp,t_5_1745227839906:zp,t_6_1745227838798:Mp,t_7_1745227838093:"状态",t_8_1745227838023:"成功",t_9_1745227838305:"失败",t_10_1745227838234:"执行中",t_11_1745227838422:"未知",t_12_1745227838814:"详情",t_13_1745227838275:$p,t_14_1745227840904:Ap,t_15_1745227839354:"共",t_16_1745227838930:"条",t_17_1745227838561:"域名",t_18_1745227838154:"品牌",t_19_1745227839107:Op,t_20_1745227838813:Dp,t_21_1745227837972:"来源",t_22_1745227838154:Ip,t_23_1745227838699:Bp,t_24_1745227839508:Ep,t_25_1745227838080:"下载",t_27_1745227838583:Lp,t_28_1745227837903:"正常",t_29_1745227838410:jp,t_30_1745227841739:Np,t_31_1745227838461:"确认",t_32_1745227838439:Hp,t_33_1745227838984:Wp,t_34_1745227839375:Vp,t_35_1745227839208:Up,t_36_1745227838958:qp,t_37_1745227839669:Kp,t_38_1745227838813:Yp,t_39_1745227838696:Gp,t_40_1745227838872:Xp,t_0_1745289355714:Zp,t_1_1745289356586:Qp,t_2_1745289353944:"名称",t_3_1745289354664:Jp,t_4_1745289354902:ef,t_5_1745289355718:tf,t_6_1745289358340:nf,t_7_1745289355714:of,t_8_1745289354902:rf,t_9_1745289355714:af,t_10_1745289354650:lf,t_11_1745289354516:sf,t_12_1745289356974:df,t_13_1745289354528:cf,t_14_1745289354902:uf,t_15_1745289355714:hf,t_16_1745289354902:pf,t_17_1745289355715:ff,t_18_1745289354598:mf,t_19_1745289354676:vf,t_20_1745289354598:gf,t_21_1745289354598:bf,t_22_1745289359036:yf,t_23_1745289355716:_f,t_24_1745289355715:xf,t_25_1745289355721:Cf,t_26_1745289358341:wf,t_27_1745289355721:Sf,t_28_1745289356040:kf,t_29_1745289355850:Pf,t_30_1745289355718:Tf,t_31_1745289355715:Rf,t_32_1745289356127:Ff,t_33_1745289355721:zf,t_34_1745289356040:Mf,t_35_1745289355714:$f,t_36_1745289355715:Af,t_37_1745289356041:Of,t_38_1745289356419:Df,t_39_1745289354902:If,t_40_1745289355715:Bf,t_41_1745289354902:"类型",t_42_1745289355715:Ef,t_43_1745289354598:Lf,t_44_1745289354583:"用户名",t_45_1745289355714:jf,t_46_1745289355723:Nf,t_47_1745289355715:Hf,t_48_1745289355714:"密码",t_49_1745289355714:Wf,t_50_1745289355715:Vf,t_51_1745289355714:Uf,t_52_1745289359565:qf,t_53_1745289356446:Kf,t_54_1745289358683:Yf,t_55_1745289355715:Gf,t_56_1745289355714:Xf,t_57_1745289358341:Zf,t_58_1745289355721:Qf,t_59_1745289356803:Jf,t_60_1745289355715:em,t_61_1745289355878:tm,t_62_1745289360212:nm,t_63_1745289354897:"5分钟",t_64_1745289354670:om,t_65_1745289354591:rm,t_66_1745289354655:am,t_67_1745289354487:im,t_68_1745289354676:"邮件",t_69_1745289355721:"短信",t_70_1745289354904:"微信",t_71_1745289354583:lm,t_72_1745289355715:sm,t_73_1745289356103:dm,t_0_1745289808449:cm,t_0_1745294710530:um,t_0_1745295228865:hm,t_0_1745317313835:pm,t_1_1745317313096:fm,t_2_1745317314362:mm,t_3_1745317313561:vm,t_4_1745317314054:gm,t_5_1745317315285:bm,t_6_1745317313383:ym,t_7_1745317313831:_m,t_0_1745457486299:"已启用",t_1_1745457484314:"已停止",t_2_1745457488661:xm,t_3_1745457486983:Cm,t_4_1745457497303:wm,t_5_1745457494695:Sm,t_6_1745457487560:km,t_7_1745457487185:Pm,t_8_1745457496621:Tm,t_9_1745457500045:Rm,t_10_1745457486451:Fm,t_11_1745457488256:zm,t_12_1745457489076:Mm,t_13_1745457487555:$m,t_14_1745457488092:Am,t_15_1745457484292:"退出",t_16_1745457491607:Om,t_17_1745457488251:Dm,t_18_1745457490931:Im,t_19_1745457484684:Bm,t_20_1745457485905:Em,t_0_1745464080226:Lm,t_1_1745464079590:jm,t_2_1745464077081:Nm,t_3_1745464081058:Hm,t_4_1745464075382:Wm,t_5_1745464086047:Vm,t_6_1745464075714:Um,t_7_1745464073330:qm,t_8_1745464081472:Km,t_9_1745464078110:Ym,t_10_1745464073098:Gm,t_0_1745474945127:Xm,t_0_1745490735213:Zm,t_1_1745490731990:"配置",t_2_1745490735558:Qm,t_3_1745490735059:Jm,t_4_1745490735630:ev,t_5_1745490738285:tv,t_6_1745490738548:nv,t_7_1745490739917:ov,t_8_1745490739319:rv,t_1_1745553909483:av,t_2_1745553907423:iv,t_0_1745735774005:lv,t_1_1745735764953:"邮箱",t_2_1745735773668:sv,t_3_1745735765112:dv,t_4_1745735765372:"添加",t_5_1745735769112:cv,t_6_1745735765205:uv,t_7_1745735768326:hv,t_8_1745735765753:"已配置",t_9_1745735765287:"未配置",t_10_1745735765165:pv,t_11_1745735766456:fv,t_12_1745735765571:mv,t_13_1745735766084:vv,t_14_1745735766121:gv,t_15_1745735768976:bv,t_16_1745735766712:yv,t_18_1745735765638:_v,t_19_1745735766810:xv,t_20_1745735768764:Cv,t_21_1745735769154:wv,t_22_1745735767366:Sv,t_24_1745735766826:kv,t_25_1745735766651:Pv,t_26_1745735767144:Tv,t_27_1745735764546:"下一步",t_28_1745735766626:Rv,t_29_1745735768933:Fv,t_30_1745735764748:zv,t_31_1745735767891:Mv,t_32_1745735767156:$v,t_33_1745735766532:Av,t_34_1745735771147:Ov,t_35_1745735781545:Dv,t_36_1745735769443:Iv,t_37_1745735779980:Bv,t_38_1745735769521:Ev,t_39_1745735768565:Lv,t_40_1745735815317:jv,t_41_1745735767016:Nv,t_0_1745738961258:"上一步",t_1_1745738963744:"提交",t_2_1745738969878:Hv,t_0_1745744491696:Wv,t_1_1745744495019:Vv,t_2_1745744495813:Uv,t_0_1745744902975:qv,t_1_1745744905566:Kv,t_2_1745744903722:Yv,t_0_1745748292337:Gv,t_1_1745748290291:Xv,t_2_1745748298902:Zv,t_3_1745748298161:Qv,t_4_1745748290292:Jv,t_0_1745765864788:eg,t_1_1745765875247:tg,t_2_1745765875918:ng,t_3_1745765920953:og,t_4_1745765868807:rg,t_0_1745833934390:ag,t_1_1745833931535:"主机",t_2_1745833931404:"端口",t_3_1745833936770:ig,t_4_1745833932780:lg,t_5_1745833933241:sg,t_6_1745833933523:dg,t_7_1745833933278:cg,t_8_1745833933552:ug,t_9_1745833935269:hg,t_10_1745833941691:pg,t_11_1745833935261:fg,t_12_1745833943712:mg,t_13_1745833933630:vg,t_14_1745833932440:gg,t_15_1745833940280:bg,t_16_1745833933819:yg,t_17_1745833935070:_g,t_18_1745833933989:xg,t_0_1745887835267:Cg,t_1_1745887832941:wg,t_2_1745887834248:Sg,t_3_1745887835089:kg,t_4_1745887835265:Pg,t_0_1745895057404:Tg,t_0_1745920566646:Rg,t_1_1745920567200:Fg,t_0_1745936396853:zg,t_0_1745999035681:Mg,t_1_1745999036289:$g,t_0_1746000517848:"已过期",t_0_1746001199409:"已到期",t_0_1746004861782:Ag,t_1_1746004861166:Og,t_0_1746497662220:"刷新",t_0_1746519384035:"运行中",t_0_1746579648713:Dg,t_0_1746590054456:Ig,t_1_1746590060448:Bg,t_0_1746667592819:Eg,t_1_1746667588689:"密钥",t_2_1746667592840:Lg,t_3_1746667592270:jg,t_4_1746667590873:Ng,t_5_1746667590676:Hg,t_6_1746667592831:Wg,t_7_1746667592468:Vg,t_8_1746667591924:Ug,t_9_1746667589516:qg,t_10_1746667589575:"通配符",t_11_1746667589598:"多域名",t_12_1746667589733:"热门",t_13_1746667599218:Kg,t_14_1746667590827:Yg,t_15_1746667588493:"个",t_16_1746667591069:Gg,t_17_1746667588785:"支持",t_18_1746667590113:"不支持",t_19_1746667589295:"有效期",t_20_1746667588453:"天",t_21_1746667590834:Xg,t_22_1746667591024:Zg,t_23_1746667591989:Qg,t_24_1746667583520:Jg,t_25_1746667590147:eb,t_26_1746667594662:tb,t_27_1746667589350:"免费",t_28_1746667590336:nb,t_29_1746667589773:ob,t_30_1746667591892:rb,t_31_1746667593074:ab,t_0_1746673515941:ib,t_0_1746676862189:lb,t_1_1746676859550:sb,t_2_1746676856700:db,t_3_1746676857930:cb,t_4_1746676861473:ub,t_5_1746676856974:hb,t_6_1746676860886:pb,t_7_1746676857191:fb,t_8_1746676860457:mb,t_9_1746676857164:vb,t_10_1746676862329:gb,t_11_1746676859158:bb,t_12_1746676860503:yb,t_13_1746676856842:_b,t_14_1746676859019:xb,t_15_1746676856567:"已停用",t_16_1746676855270:"测试",t_0_1746677882486:Cb,t_0_1746697487119:wb,t_1_1746697485188:Sb,t_2_1746697487164:kb,t_0_1746754500246:Pb,t_1_1746754499371:Tb,t_2_1746754500270:Rb,t_0_1746760933542:Fb,t_0_1746773350551:zb,t_1_1746773348701:"未执行",t_2_1746773350970:Mb,t_3_1746773348798:"总数量",t_4_1746773348957:$b,t_5_1746773349141:Ab,t_6_1746773349980:Ob,t_7_1746773349302:Db,t_8_1746773351524:Ib,t_9_1746773348221:Bb,t_10_1746773351576:Eb,t_11_1746773349054:Lb,t_12_1746773355641:jb,t_13_1746773349526:Nb,t_14_1746773355081:Hb,t_16_1746773356568:Wb,t_17_1746773351220:Vb,t_18_1746773355467:Ub,t_19_1746773352558:qb,t_20_1746773356060:Kb,t_21_1746773350759:Yb,t_22_1746773360711:Gb,t_23_1746773350040:Xb,t_25_1746773349596:Zb,t_26_1746773353409:Qb,t_27_1746773352584:Jb,t_28_1746773354048:ey,t_29_1746773351834:ty,t_30_1746773350013:ny,t_31_1746773349857:oy,t_32_1746773348993:"钉钉",t_33_1746773350932:ry,t_34_1746773350153:"飞书",t_35_1746773362992:ay,t_36_1746773348989:iy,t_37_1746773356895:ly,t_38_1746773349796:sy,t_39_1746773358932:dy,t_40_1746773352188:cy,t_41_1746773364475:uy,t_42_1746773348768:hy,t_43_1746773359511:py,t_44_1746773352805:fy,t_45_1746773355717:my,t_46_1746773350579:vy,t_47_1746773360760:gy,t_0_1746773763967:by,t_1_1746773763643:yy,t_0_1746776194126:_y,t_1_1746776198156:xy,t_2_1746776194263:Cy,t_3_1746776195004:wy,t_0_1746782379424:Sy,t_0_1746858920894:ky,t_1_1746858922914:Py,t_2_1746858923964:Ty,t_3_1746858920060:Ry,t_4_1746858917773:"已选择",t_0_1747019621052:Fy,t_1_1747019624067:zy,t_2_1747019616224:"阿里云",t_3_1747019616129:"腾讯云",t_0_1747040228657:My,t_1_1747040226143:$y,t_0_1747042966820:Ay,t_1_1747042969705:Oy,t_2_1747042967277:Dy,t_3_1747042967608:Iy,t_4_1747042966254:By,t_5_1747042965911:Ey,t_0_1747047213730:Ly,t_1_1747047213009:jy,t_2_1747047214975:Ny,t_3_1747047218669:Hy,t_0_1747106957037:Wy,t_1_1747106961747:Vy,t_2_1747106957037:Uy,t_0_1747110184700:qy,t_1_1747110191587:Ky,t_2_1747110193465:Yy,t_3_1747110185110:Gy,t_0_1747215751189:Xy,t_0_1747271295174:Zy,t_1_1747271295484:Qy,t_2_1747271295877:Jy,t_3_1747271294475:e_,t_4_1747271294621:t_,t_5_1747271291828:n_,t_6_1747271296994:o_,t_7_1747271292060:r_,t_8_1747271290414:"宝塔",t_9_1747271284765:a_,t_0_1747280814475:i_,t_1_1747280813656:l_,t_2_1747280811593:s_,t_3_1747280812067:d_,t_4_1747280811462:c_,t_6_1747280809615:u_,t_7_1747280808936:"区域",t_8_1747280809382:"存储桶",t_9_1747280810169:h_,t_10_1747280816952:p_,t_11_1747280809178:"跳过",t_12_1747280809893:"不跳过",t_13_1747280810369:f_,t_14_1747280811231:m_,t_0_1747296173751:"网站名",t_1_1747296175494:v_,t_0_1747298114839:g_,t_1_1747298114192:b_,t_0_1747300383756:y_,t_1_1747300384579:__,t_2_1747300385222:x_,t_0_1747365600180:C_,t_1_1747365603108:w_,t_3_1747365600828:S_,t_4_1747365600137:k_,t_0_1747367069267:P_,t_0_1747617113090:T_,t_1_1747617105179:R_,t_0_1747647014927:F_,t_0_1747709067998:z_,t_0_1747711335067:M_,t_1_1747711335336:$_,t_2_1747711337958:A_,t_0_1747754231151:O_,t_1_1747754231838:"请先",t_2_1747754234999:D_,t_3_1747754232000:I_,t_4_1747754235407:B_,t_0_1747817614953:"请输入",t_1_1747817639034:"是",t_2_1747817610671:"否",t_3_1747817612697:E_,t_4_1747817613325:L_,t_5_1747817619337:j_,t_6_1747817644358:N_,t_7_1747817613773:H_,t_8_1747817614764:W_,t_9_1747817611448:"域名:",t_10_1747817611126:"申请",t_11_1747817612051:"部署",t_12_1747817611391:"上传",t_0_1747886301644:V_,t_1_1747886307276:U_,t_2_1747886302053:q_,t_3_1747886302848:K_,t_4_1747886303229:Y_,t_5_1747886301427:G_,t_6_1747886301844:"七牛云",t_7_1747886302395:X_,t_8_1747886304014:Z_,t_9_1747886301128:"华为云",t_10_1747886300958:"百度云",t_11_1747886301986:"雷池",t_12_1747886302725:Q_,t_13_1747886301689:J_,t_14_1747886301884:ex,t_15_1747886301573:tx,t_16_1747886308182:nx,t_0_1747895713179:ox,t_1_1747895712756:rx,t_0_1747903670020:ax,t_2_1747903672640:ix,t_3_1747903672833:lx,t_4_1747903685371:sx,t_5_1747903671439:dx,t_6_1747903672931:cx,t_7_1747903678624:ux,t_8_1747903675532:hx,t_9_1747903669360:px,t_10_1747903662994:fx,t_11_1747903674802:mx,t_12_1747903662994:vx,t_13_1747903673007:gx,t_0_1747904536291:bx,t_0_1747965909665:yx,t_0_1747969933657:_x,t_0_1747984137443:xx,t_1_1747984133312:Cx,t_2_1747984134626:wx,t_3_1747984134586:Sx,t_4_1747984130327:"复制",t_5_1747984133112:kx,t_0_1747990228780:Px,t_1_1747990228492:Tx,t_2_1747990228008:Rx,t_3_1747990229599:Fx,t_4_1747990227956:zx,t_5_1747990228592:Mx,t_6_1747990228465:$x,t_7_1747990227761:Ax,t_8_1747990235316:Ox,t_9_1747990229640:Dx,t_10_1747990232207:Ix,t_0_1747990626044:Bx,t_0_1747994891459:Ex},jx=Object.freeze(Object.defineProperty({__proto__:null,default:Lx,t_0_1744098811152:fh,t_0_1744258111441:"首页",t_0_1744861190562:Fh,t_0_1744870861464:"节点",t_0_1744875938285:"每分钟",t_0_1744879616135:Nh,t_0_1744942117992:"每周",t_0_1744958839535:Kh,t_0_1745215914686:vp,t_0_1745289355714:Zp,t_0_1745289808449:cm,t_0_1745294710530:um,t_0_1745295228865:hm,t_0_1745317313835:pm,t_0_1745457486299:"已启用",t_0_1745464080226:Lm,t_0_1745474945127:Xm,t_0_1745490735213:Zm,t_0_1745735774005:lv,t_0_1745738961258:"上一步",t_0_1745744491696:Wv,t_0_1745744902975:qv,t_0_1745748292337:Gv,t_0_1745765864788:eg,t_0_1745833934390:ag,t_0_1745887835267:Cg,t_0_1745895057404:Tg,t_0_1745920566646:Rg,t_0_1745936396853:zg,t_0_1745999035681:Mg,t_0_1746000517848:"已过期",t_0_1746001199409:"已到期",t_0_1746004861782:Ag,t_0_1746497662220:"刷新",t_0_1746519384035:"运行中",t_0_1746579648713:Dg,t_0_1746590054456:Ig,t_0_1746667592819:Eg,t_0_1746673515941:ib,t_0_1746676862189:lb,t_0_1746677882486:Cb,t_0_1746697487119:wb,t_0_1746754500246:Pb,t_0_1746760933542:Fb,t_0_1746773350551:zb,t_0_1746773763967:by,t_0_1746776194126:_y,t_0_1746782379424:Sy,t_0_1746858920894:ky,t_0_1747019621052:Fy,t_0_1747040228657:My,t_0_1747042966820:Ay,t_0_1747047213730:Ly,t_0_1747106957037:Wy,t_0_1747110184700:qy,t_0_1747215751189:Xy,t_0_1747271295174:Zy,t_0_1747280814475:i_,t_0_1747296173751:"网站名",t_0_1747298114839:g_,t_0_1747300383756:y_,t_0_1747365600180:C_,t_0_1747367069267:P_,t_0_1747617113090:T_,t_0_1747647014927:F_,t_0_1747709067998:z_,t_0_1747711335067:M_,t_0_1747754231151:O_,t_0_1747817614953:"请输入",t_0_1747886301644:V_,t_0_1747895713179:ox,t_0_1747903670020:ax,t_0_1747904536291:bx,t_0_1747965909665:yx,t_0_1747969933657:_x,t_0_1747984137443:xx,t_0_1747990228780:Px,t_0_1747990626044:Bx,t_0_1747994891459:Ex,t_10_1744958860078:op,t_10_1745215914342:"执行",t_10_1745227838234:"执行中",t_10_1745289354650:lf,t_10_1745457486451:Fm,t_10_1745464073098:Gm,t_10_1745735765165:pv,t_10_1745833941691:pg,t_10_1746667589575:"通配符",t_10_1746676862329:gb,t_10_1746773351576:Eb,t_10_1747280816952:p_,t_10_1747817611126:"申请",t_10_1747886300958:"百度云",t_10_1747903662994:fx,t_10_1747990232207:Ix,t_11_1744958840439:rp,t_11_1745215915429:"编辑",t_11_1745227838422:"未知",t_11_1745289354516:sf,t_11_1745457488256:zm,t_11_1745735766456:fv,t_11_1745833935261:fg,t_11_1746667589598:"多域名",t_11_1746676859158:bb,t_11_1746773349054:Lb,t_11_1747280809178:"跳过",t_11_1747817612051:"部署",t_11_1747886301986:"雷池",t_11_1747903674802:mx,t_12_1744958840387:ap,t_12_1745215914312:"删除",t_12_1745227838814:"详情",t_12_1745289356974:df,t_12_1745457489076:Mm,t_12_1745735765571:mv,t_12_1745833943712:mg,t_12_1746667589733:"热门",t_12_1746676860503:yb,t_12_1746773355641:jb,t_12_1747280809893:"不跳过",t_12_1747817611391:"上传",t_12_1747886302725:Q_,t_12_1747903662994:vx,t_13_1744958840714:ip,t_13_1745215915455:_p,t_13_1745227838275:$p,t_13_1745289354528:cf,t_13_1745457487555:$m,t_13_1745735766084:vv,t_13_1745833933630:vg,t_13_1746667599218:Kg,t_13_1746676856842:_b,t_13_1746773349526:Nb,t_13_1747280810369:f_,t_13_1747886301689:J_,t_13_1747903673007:gx,t_14_1744958839470:lp,t_14_1745215916235:xp,t_14_1745227840904:Ap,t_14_1745289354902:uf,t_14_1745457488092:Am,t_14_1745735766121:gv,t_14_1745833932440:gg,t_14_1746667590827:Yg,t_14_1746676859019:xb,t_14_1746773355081:Hb,t_14_1747280811231:m_,t_14_1747886301884:ex,t_15_1744958840790:sp,t_15_1745215915743:Cp,t_15_1745227839354:"共",t_15_1745289355714:hf,t_15_1745457484292:"退出",t_15_1745735768976:bv,t_15_1745833940280:bg,t_15_1746667588493:"个",t_15_1746676856567:"已停用",t_15_1747886301573:tx,t_16_1744958841116:dp,t_16_1745215915209:wp,t_16_1745227838930:"条",t_16_1745289354902:pf,t_16_1745457491607:Om,t_16_1745735766712:yv,t_16_1745833933819:yg,t_16_1746667591069:Gg,t_16_1746676855270:"测试",t_16_1746773356568:Wb,t_16_1747886308182:nx,t_17_1744958839597:cp,t_17_1745215915985:Sp,t_17_1745227838561:"域名",t_17_1745289355715:ff,t_17_1745457488251:Dm,t_17_1745833935070:_g,t_17_1746667588785:"支持",t_17_1746773351220:Vb,t_18_1744958839895:up,t_18_1745215915630:kp,t_18_1745227838154:"品牌",t_18_1745289354598:mf,t_18_1745457490931:Im,t_18_1745735765638:_v,t_18_1745833933989:xg,t_18_1746667590113:"不支持",t_18_1746773355467:Ub,t_19_1744958839297:"证书1",t_19_1745227839107:Op,t_19_1745289354676:vf,t_19_1745457484684:Bm,t_19_1745735766810:xv,t_19_1746667589295:"有效期",t_19_1746773352558:qb,t_1_1744098801860:mh,t_1_1744164835667:yh,t_1_1744258113857:kh,t_1_1744861189113:"运行",t_1_1744870861944:Ih,t_1_1744875938598:"每小时",t_1_1744879616555:Hh,t_1_1744942116527:"周一",t_1_1744958840747:Yh,t_1_1745227838776:Pp,t_1_1745289356586:Qp,t_1_1745317313096:fm,t_1_1745457484314:"已停止",t_1_1745464079590:jm,t_1_1745490731990:"配置",t_1_1745553909483:av,t_1_1745735764953:"邮箱",t_1_1745738963744:"提交",t_1_1745744495019:Vv,t_1_1745744905566:Kv,t_1_1745748290291:Xv,t_1_1745765875247:tg,t_1_1745833931535:"主机",t_1_1745887832941:wg,t_1_1745920567200:Fg,t_1_1745999036289:$g,t_1_1746004861166:Og,t_1_1746590060448:Bg,t_1_1746667588689:"密钥",t_1_1746676859550:sb,t_1_1746697485188:Sb,t_1_1746754499371:Tb,t_1_1746773348701:"未执行",t_1_1746773763643:yy,t_1_1746776198156:xy,t_1_1746858922914:Py,t_1_1747019624067:zy,t_1_1747040226143:$y,t_1_1747042969705:Oy,t_1_1747047213009:jy,t_1_1747106961747:Vy,t_1_1747110191587:Ky,t_1_1747271295484:Qy,t_1_1747280813656:l_,t_1_1747296175494:v_,t_1_1747298114192:b_,t_1_1747300384579:__,t_1_1747365603108:w_,t_1_1747617105179:R_,t_1_1747711335336:$_,t_1_1747754231838:"请先",t_1_1747817639034:"是",t_1_1747886307276:U_,t_1_1747895712756:rx,t_1_1747984133312:Cx,t_1_1747990228492:Tx,t_20_1744958839439:"证书2",t_20_1745227838813:Dp,t_20_1745289354598:gf,t_20_1745457485905:Em,t_20_1745735768764:Cv,t_20_1746667588453:"天",t_20_1746773356060:Kb,t_21_1744958839305:hp,t_21_1745227837972:"来源",t_21_1745289354598:bf,t_21_1745735769154:wv,t_21_1746667590834:Xg,t_21_1746773350759:Yb,t_22_1744958841926:pp,t_22_1745227838154:Ip,t_22_1745289359036:yf,t_22_1745735767366:Sv,t_22_1746667591024:Zg,t_22_1746773360711:Gb,t_23_1744958838717:"面板1",t_23_1745227838699:Bp,t_23_1745289355716:_f,t_23_1746667591989:Qg,t_23_1746773350040:Xb,t_24_1745227839508:Ep,t_24_1745289355715:xf,t_24_1745735766826:kv,t_24_1746667583520:Jg,t_25_1745227838080:"下载",t_25_1745289355721:Cf,t_25_1745735766651:Pv,t_25_1746667590147:eb,t_25_1746773349596:Zb,t_26_1745289358341:wf,t_26_1745735767144:Tv,t_26_1746667594662:tb,t_26_1746773353409:Qb,t_27_1745227838583:Lp,t_27_1745289355721:Sf,t_27_1745735764546:"下一步",t_27_1746667589350:"免费",t_27_1746773352584:Jb,t_28_1745227837903:"正常",t_28_1745289356040:kf,t_28_1745735766626:Rv,t_28_1746667590336:nb,t_28_1746773354048:ey,t_29_1744958838904:"日",t_29_1745227838410:jp,t_29_1745289355850:Pf,t_29_1745735768933:Fv,t_29_1746667589773:ob,t_29_1746773351834:ty,t_2_1744098804908:vh,t_2_1744164839713:_h,t_2_1744258111238:Ph,t_2_1744861190040:"保存",t_2_1744870863419:Bh,t_2_1744875938555:"每天",t_2_1744879616413:Wh,t_2_1744942117890:"周二",t_2_1744958840131:Gh,t_2_1745215915397:"自动",t_2_1745227839794:Tp,t_2_1745289353944:"名称",t_2_1745317314362:mm,t_2_1745457488661:xm,t_2_1745464077081:Nm,t_2_1745490735558:Qm,t_2_1745553907423:iv,t_2_1745735773668:sv,t_2_1745738969878:Hv,t_2_1745744495813:Uv,t_2_1745744903722:Yv,t_2_1745748298902:Zv,t_2_1745765875918:ng,t_2_1745833931404:"端口",t_2_1745887834248:Sg,t_2_1746667592840:Lg,t_2_1746676856700:db,t_2_1746697487164:kb,t_2_1746754500270:Rb,t_2_1746773350970:Mb,t_2_1746776194263:Cy,t_2_1746858923964:Ty,t_2_1747019616224:"阿里云",t_2_1747042967277:Dy,t_2_1747047214975:Ny,t_2_1747106957037:Uy,t_2_1747110193465:Yy,t_2_1747271295877:Jy,t_2_1747280811593:s_,t_2_1747300385222:x_,t_2_1747711337958:A_,t_2_1747754234999:D_,t_2_1747817610671:"否",t_2_1747886302053:q_,t_2_1747903672640:ix,t_2_1747984134626:wx,t_2_1747990228008:Rx,t_30_1744958843864:fp,t_30_1745227841739:Np,t_30_1745289355718:Tf,t_30_1745735764748:zv,t_30_1746667591892:rb,t_30_1746773350013:ny,t_31_1744958844490:mp,t_31_1745227838461:"确认",t_31_1745289355715:Rf,t_31_1745735767891:Mv,t_31_1746667593074:ab,t_31_1746773349857:oy,t_32_1745227838439:Hp,t_32_1745289356127:Ff,t_32_1745735767156:$v,t_32_1746773348993:"钉钉",t_33_1745227838984:Wp,t_33_1745289355721:zf,t_33_1745735766532:Av,t_33_1746773350932:ry,t_34_1745227839375:Vp,t_34_1745289356040:Mf,t_34_1745735771147:Ov,t_34_1746773350153:"飞书",t_35_1745227839208:Up,t_35_1745289355714:$f,t_35_1745735781545:Dv,t_35_1746773362992:ay,t_36_1745227838958:qp,t_36_1745289355715:Af,t_36_1745735769443:Iv,t_36_1746773348989:iy,t_37_1745227839669:Kp,t_37_1745289356041:Of,t_37_1745735779980:Bv,t_37_1746773356895:ly,t_38_1745227838813:Yp,t_38_1745289356419:Df,t_38_1745735769521:Ev,t_38_1746773349796:sy,t_39_1745227838696:Gp,t_39_1745289354902:If,t_39_1745735768565:Lv,t_39_1746773358932:dy,t_3_1744098802647:gh,t_3_1744164839524:xh,t_3_1744258111182:Th,t_3_1744861190932:zh,t_3_1744870864615:Eh,t_3_1744875938310:"每月",t_3_1744879615723:"分钟",t_3_1744942117885:"周三",t_3_1744958840485:Xh,t_3_1745215914237:"手动",t_3_1745227841567:Rp,t_3_1745289354664:Jp,t_3_1745317313561:vm,t_3_1745457486983:Cm,t_3_1745464081058:Hm,t_3_1745490735059:Jm,t_3_1745735765112:dv,t_3_1745748298161:Qv,t_3_1745765920953:og,t_3_1745833936770:ig,t_3_1745887835089:kg,t_3_1746667592270:jg,t_3_1746676857930:cb,t_3_1746773348798:"总数量",t_3_1746776195004:wy,t_3_1746858920060:Ry,t_3_1747019616129:"腾讯云",t_3_1747042967608:Iy,t_3_1747047218669:Hy,t_3_1747110185110:Gy,t_3_1747271294475:e_,t_3_1747280812067:d_,t_3_1747365600828:S_,t_3_1747754232000:I_,t_3_1747817612697:E_,t_3_1747886302848:K_,t_3_1747903672833:lx,t_3_1747984134586:Sx,t_3_1747990229599:Fx,t_40_1745227838872:Xp,t_40_1745289355715:Bf,t_40_1745735815317:jv,t_40_1746773352188:cy,t_41_1745289354902:"类型",t_41_1745735767016:Nv,t_41_1746773364475:uy,t_42_1745289355715:Ef,t_42_1746773348768:hy,t_43_1745289354598:Lf,t_43_1746773359511:py,t_44_1745289354583:"用户名",t_44_1746773352805:fy,t_45_1745289355714:jf,t_45_1746773355717:my,t_46_1745289355723:Nf,t_46_1746773350579:vy,t_47_1745289355715:Hf,t_47_1746773360760:gy,t_48_1745289355714:"密码",t_49_1745289355714:Wf,t_4_1744098802046:bh,t_4_1744164840458:Ch,t_4_1744258111238:Rh,t_4_1744861194395:Mh,t_4_1744870861589:"取消",t_4_1744875940750:Lh,t_4_1744879616168:Vh,t_4_1744942117738:"周四",t_4_1744958838951:Zh,t_4_1745215914951:gp,t_4_1745227838558:Fp,t_4_1745289354902:ef,t_4_1745317314054:gm,t_4_1745457497303:wm,t_4_1745464075382:Wm,t_4_1745490735630:ev,t_4_1745735765372:"添加",t_4_1745748290292:Jv,t_4_1745765868807:rg,t_4_1745833932780:lg,t_4_1745887835265:Pg,t_4_1746667590873:Ng,t_4_1746676861473:ub,t_4_1746773348957:$b,t_4_1746858917773:"已选择",t_4_1747042966254:By,t_4_1747271294621:t_,t_4_1747280811462:c_,t_4_1747365600137:k_,t_4_1747754235407:B_,t_4_1747817613325:L_,t_4_1747886303229:Y_,t_4_1747903685371:sx,t_4_1747984130327:"复制",t_4_1747990227956:zx,t_50_1745289355715:Vf,t_51_1745289355714:Uf,t_52_1745289359565:qf,t_53_1745289356446:Kf,t_54_1745289358683:Yf,t_55_1745289355715:Gf,t_56_1745289355714:Xf,t_57_1745289358341:Zf,t_58_1745289355721:Qf,t_59_1745289356803:Jf,t_5_1744164840468:wh,t_5_1744258110516:"监控",t_5_1744861189528:"开始",t_5_1744870862719:"确定",t_5_1744875940010:jh,t_5_1744879615277:"小时",t_5_1744942117167:"周五",t_5_1744958839222:Qh,t_5_1745215914671:"启用",t_5_1745227839906:zp,t_5_1745289355718:tf,t_5_1745317315285:bm,t_5_1745457494695:Sm,t_5_1745464086047:Vm,t_5_1745490738285:tv,t_5_1745735769112:cv,t_5_1745833933241:sg,t_5_1746667590676:Hg,t_5_1746676856974:hb,t_5_1746773349141:Ab,t_5_1747042965911:Ey,t_5_1747271291828:n_,t_5_1747817619337:j_,t_5_1747886301427:G_,t_5_1747903671439:dx,t_5_1747984133112:kx,t_5_1747990228592:Mx,t_60_1745289355715:em,t_61_1745289355878:tm,t_62_1745289360212:nm,t_63_1745289354897:"5分钟",t_64_1745289354670:om,t_65_1745289354591:rm,t_66_1745289354655:am,t_67_1745289354487:im,t_68_1745289354676:"邮件",t_69_1745289355721:"短信",t_6_1744164838900:Sh,t_6_1744258111153:"设置",t_6_1744861190121:$h,t_6_1744879616944:Uh,t_6_1744942117815:"周六",t_6_1744958843569:Jh,t_6_1745215914104:"停用",t_6_1745227838798:Mp,t_6_1745289358340:nf,t_6_1745317313383:ym,t_6_1745457487560:km,t_6_1745464075714:Um,t_6_1745490738548:nv,t_6_1745735765205:uv,t_6_1745833933523:dg,t_6_1746667592831:Wg,t_6_1746676860886:pb,t_6_1746773349980:Ob,t_6_1747271296994:o_,t_6_1747280809615:u_,t_6_1747817644358:N_,t_6_1747886301844:"七牛云",t_6_1747903672931:cx,t_6_1747990228465:$x,t_70_1745289354904:"微信",t_71_1745289354583:lm,t_72_1745289355715:sm,t_73_1745289356103:dm,t_7_1744164838625:"登录中",t_7_1744861189625:Ah,t_7_1744879615743:"日期",t_7_1744942117862:"周日",t_7_1744958841708:ep,t_7_1745215914189:bp,t_7_1745227838093:"状态",t_7_1745289355714:of,t_7_1745317313831:_m,t_7_1745457487185:Pm,t_7_1745464073330:qm,t_7_1745490739917:ov,t_7_1745735768326:hv,t_7_1745833933278:cg,t_7_1746667592468:Vg,t_7_1746676857191:fb,t_7_1746773349302:Db,t_7_1747271292060:r_,t_7_1747280808936:"区域",t_7_1747817613773:H_,t_7_1747886302395:X_,t_7_1747903678624:ux,t_7_1747990227761:Ax,t_8_1744164839833:"登录",t_8_1744861189821:Oh,t_8_1744879616493:qh,t_8_1744958841658:tp,t_8_1745215914610:"操作",t_8_1745227838023:"成功",t_8_1745289354902:rf,t_8_1745457496621:Tm,t_8_1745464081472:Km,t_8_1745490739319:rv,t_8_1745735765753:"已配置",t_8_1745833933552:ug,t_8_1746667591924:Ug,t_8_1746676860457:mb,t_8_1746773351524:Ib,t_8_1747271290414:"宝塔",t_8_1747280809382:"存储桶",t_8_1747817614764:W_,t_8_1747886304014:Z_,t_8_1747903675532:hx,t_8_1747990235316:Ox,t_9_1744861189580:Dh,t_9_1744958840634:np,t_9_1745215914666:yp,t_9_1745227838305:"失败",t_9_1745289355714:af,t_9_1745457500045:Rm,t_9_1745464078110:Ym,t_9_1745735765287:"未配置",t_9_1745833935269:hg,t_9_1746667589516:qg,t_9_1746676857164:vb,t_9_1746773348221:Bb,t_9_1747271284765:a_,t_9_1747280810169:h_,t_9_1747817611448:"域名:",t_9_1747886301128:"华为云",t_9_1747903669360:px,t_9_1747990229640:Dx},Symbol.toStringTag,{value:"Module"})),Nx="Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.",Hx="Return Home",Wx="Safety Tip: If you think this is an error, please contact the administrator immediately",Vx="Expand Main Menu",Ux="Foldout Main Menu",qx="AllinSSL",Kx="Account Login",Yx="Please enter the username",Gx="Please enter the password",Xx="Remember Password",Zx="Forget password",Qx="Logging in",Jx="Login",eC="Home",tC="Automation Deployment",nC="Certificate Management",oC="Certificate Application",rC="Authorization API Management",aC="Monitoring",iC="Settings",lC="Return workflow list",sC="Save",dC="Please select a node to configure",cC="Click on the node in the left-side workflow diagram to configure it",uC="Start",hC="No node selected",pC="Configuration saved",fC="Start the workflow",mC="Selected node:",vC="Node",gC="Node Configuration",bC="Please select the left node for configuration",yC="Configuration component for this node type not found",_C="Cancel",xC="Confirm",CC="Every minute",wC="Each hour",SC="Every day",kC="Each month",PC="Automatic execution",TC="Manual execution",RC="Test PID",FC="Please enter the test PID",zC="Execution cycle",MC="minute",$C="Please enter minutes",AC="hour",OC="Please enter hours",DC="Date",IC="Please select a date",BC="Every week",EC="Monday",LC="Tuesday",jC="Wednesday",NC="Thursday",HC="Friday",WC="Saturday",VC="Sunday",UC="Please enter the domain name",qC="Please enter your email",KC="Email format is incorrect",YC="Please select DNS provider authorization",GC="Local Deployment",XC="SSH Deployment",ZC="Bao Ta Panel/1 panel (Deploy to panel certificate)",QC="1panel (Deploy to specified website project)",JC="Tencent Cloud CDN/Aliyun CDN",ew="Tencent Cloud WAF",tw="Alicloud WAF",nw="This automatically applied certificate",ow="Optional certificate list",rw="PEM (*.pem, *.crt, *.key)",aw="PFX (*.pfx)",iw="JKS (*.jks)",lw="POSIX bash (Linux/macOS)",sw="CMD (Windows)",dw="PowerShell (Windows)",cw="Certificate 1",uw="Certificate 2",hw="Server 1",pw="Server 2",fw="Panel 1",mw="Certificate format is incorrect, please check if it includes the complete certificate header and footer identifiers",vw="Private key format is incorrect, please check if it includes the complete private key header and footer identifier",gw="Automation Name",bw="Automatic",yw="Manual",_w="Enabled Status",xw="Enable",Cw="Disabling",ww="Creation Time",Sw="Operation",kw="Execution History",Pw="Execute",Tw="Edit",Rw="Delete",Fw="Execute workflow",zw="Workflow executed successfully",Mw="Workflow execution failed",$w="Delete Workflow",Aw="Workflow deletion successful",Ow="Workflow deletion failed",Dw="Please enter the automation name",Iw="Are you sure you want to execute the {name} workflow?",Bw="Confirm deletion of {name} workflow? This action cannot be undone.",Ew="Execution Time",Lw="End time",jw="Execution method",Nw="Status",Hw="Success",Ww="Failure",Vw="In progress",Uw="Unknown",qw="Details",Kw="Upload Certificate",Yw="Please enter the certificate domain name or brand name to search",Gw="Together",Xw="strip",Zw="Domain name",Qw="Brand",Jw="Remaining days",eS="Expiry Time",tS="Source",nS="Automatic Application",oS="Manual upload",rS="Add Time",aS="Download",iS="About to expire",lS="Normal",sS="Delete certificate",dS="Are you sure you want to delete this certificate? This action cannot be undone.",cS="Confirm",uS="Certificate Name",hS="Please enter the certificate name",pS="Certificate Content (PEM)",fS="Please enter the certificate content",mS="Private key content (KEY)",vS="Please enter the private key content",gS="Download failed",bS="Upload failed",yS="Delete failed",_S="Add Authorization API",xS="Please enter the authorized API name or type",CS="Name",wS="Authorization API Type",SS="Edit Authorization API",kS="Delete Authorization API",PS="Are you sure you want to delete this authorized API? This action cannot be undone.",TS="Add failed",RS="Update failed",FS="Expired {days} days",zS="Monitoring Management",MS="Add Monitoring",$S="Please enter the monitoring name or domain to search",AS="Monitor Name",OS="Certificate Domain",DS="Certificate Authority",IS="Certificate Status",BS="Certificate Expiration Date",ES="Alert Channels",LS="Last Check Time",jS="Edit Monitoring",NS="Confirm Delete",HS="Items cannot be restored after deletion. Are you sure you want to delete this monitor?",WS="Modification failed",VS="Setup Failed",US="Please enter the verification code",qS="Form validation failed, please check the filled content",KS="Please enter the authorized API name",YS="Please select the authorization API type",GS="Please enter the server IP",XS="Please enter the SSH port",ZS="Please enter the SSH key",QS="Please enter the Baota address",JS="Please enter the API key",ek="Please enter the 1panel address",tk="Please enter AccessKeyId",nk="Please enter AccessKeySecret",ok="Please enter SecretId",rk="Please enter SecretKey",ak="Update successful",ik="Addition Successful",lk="Type",sk="Server IP",dk="SSH port",ck="Username",uk="Authentication method",hk="Password authentication",pk="Key authentication",fk="Password",mk="SSH private key",vk="Please enter the SSH private key",gk="Private key password",bk="If the private key has a password, please enter",yk="BaoTa Panel Address",_k="Please enter the Baota panel address, for example: https://bt.example.com",xk="API Key",Ck="1 panel address",wk="Please enter the 1panel address, for example: https://1panel.example.com",Sk="Please enter the AccessKey ID",kk="Please input AccessKey Secret",Pk="Please enter the monitoring name",Tk="Please enter the domain/IP",Rk="Please select the inspection cycle",Fk="5 minutes",zk="10 minutes",Mk="15 minutes",$k="30 minutes",Ak="60 minutes",Ok="Email",Dk="WeChat",Ik="Domain/IP",Bk="Inspection cycle",Ek="Please select an alert channel",Lk="Please enter the authorized API name",jk="Delete monitoring",Nk="Update Time",Hk="Server IP address format error",Wk="Port format error",Vk="Panel URL address format error",Uk="Please enter the panel API key",qk="Please enter the Aliyun AccessKeyId",Kk="Please input the Aliyun AccessKeySecret",Yk="Please enter the Tencent Cloud SecretId",Gk="Please enter the Tencent Cloud SecretKey",Xk="Enabled",Zk="Stopped",Qk="Switch to manual mode",Jk="Switch to automatic mode",eP="After switching to manual mode, the workflow will no longer be executed automatically, but can still be executed manually",tP="After switching to automatic mode, the workflow will automatically execute according to the configured time",nP="Close current workflow",oP="Enable current workflow",rP="After closing, the workflow will no longer execute automatically and cannot be executed manually. Continue?",aP="After enabling, the workflow configuration will execute automatically or manually. Continue?",iP="Failed to add workflow",lP="Failed to set workflow execution method",sP="Enable or disable workflow failure",dP="Failed to execute workflow",cP="Failed to delete workflow",uP="Exit",hP="You are about to log out. Are you sure you want to exit?",pP="Logging out, please wait...",fP="Add email notification",mP="Saved successfully",vP="Deleted successfully",gP="Failed to get system settings",bP="Failed to save settings",yP="Failed to get notification settings",_P="Failed to save notification settings",xP="Failed to get notification channel list",CP="Failed to add email notification channel",wP="Failed to update notification channel",SP="Failed to delete notification channel",kP="Failed to check for version update",PP="Save settings",TP="Basic Settings",RP="Choose template",FP="Please enter the workflow name",zP="Configuration",MP="Please enter the email format",$P="Please select a DNS provider",AP="Please enter the renewal interval",OP="Please enter the domain name, the domain name cannot be empty",DP="Please enter your email, email cannot be empty",IP="Please select a DNS provider, the DNS provider cannot be empty",BP="Please enter the renewal interval, the renewal interval cannot be empty",EP="Invalid email format, please enter a correct email",LP="Renewal interval cannot be empty",jP="Please enter the certificate domain name, multiple domain names separated by commas",NP="Mailbox",HP="Please enter your email to receive notifications from the certificate authority",WP="DNS provider",VP="Renewal Interval (Days)",UP="Renewal interval",qP="day, automatically renewed upon expiration",KP="Configured",YP="Not configured",GP="Pagoda Panel",XP="Pagoda Panel Website",ZP="1Panel",QP="1Panel website",JP="Tencent Cloud CDN",eT="Tencent Cloud COS",tT="Alibaba Cloud CDN",nT="Deployment Type",oT="Please select deployment type",rT="Please enter the deployment path",aT="Please enter the prefix command",iT="Please enter the post command",lT="Please enter the site ID",sT="Please enter the region",dT="Please enter the bucket",cT="Next step",uT="Select deployment type",hT="Configure deployment parameters",pT="Operation mode",fT="Operation mode not configured",mT="Running cycle not configured",vT="Runtime not configured",gT="Certificate file (PEM format)",bT="Please paste the certificate file content, for example:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",yT="Private key file (KEY format)",_T="Please paste the private key file content, for example:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",xT="Certificate private key content cannot be empty",CT="The format of the certificate private key is incorrect",wT="Certificate content cannot be empty",ST="Certificate format is incorrect",kT="Previous",PT="Submit",TT="Configure deployment parameters, the type determines the parameter configuration",RT="Deployment device source",FT="Please select the deployment device source",zT="Please select the deployment type and click Next",MT="Deployment source",$T="Please select deployment source",AT="Add more devices",OT="Add deployment source",DT="Certificate Source",IT="The current type deployment source is empty, please add a deployment source first",BT="There is no application node in the current process, please add an application node first",ET="Submit content",LT="Click to edit workflow title",jT="Delete Node - 【{name}】",NT="The current node has child nodes. Deleting it will affect other nodes. Are you sure you want to delete it?",HT="The current node has configuration data, are you sure you want to delete it?",WT="Please select the deployment type before proceeding to the next step",VT="Please select type",UT="Host",qT="port",KT="Failed to get homepage overview data",YT="Version information",GT="Current version",XT="Update method",ZT="Latest version",QT="Changelog",JT="Customer Service QR Code",eR="Scan the QR code to add customer service",tR="WeChat Official Account",nR="Scan to follow the WeChat official account",oR="About the product",rR="SMTP server",aR="Please enter the SMTP server",iR="SMTP port",lR="Please enter the SMTP port",sR="SSL/TLS connection",dR="Please select message notification",cR="Notification",uR="Add notification channel",hR="Please enter the notification subject",pR="Please enter the notification content",fR="Modify email notification settings",mR="Notification Subject",vR="Notification content",gR="Click to get verification code",bR="remaining {days} days",yR="Expiring soon {days} days",_R="Expired",xR="Expired",CR="DNS provider is empty",wR="Add DNS provider",SR="Refresh",kR="Running",PR="Execution History Details",TR="Execution status",RR="Trigger Method",FR="Submitting information, please wait...",zR="Panel URL",MR="Ignore SSL/TLS certificate errors",$R="Form validation failed",AR="New workflow",OR="Submitting application, please wait...",DR="Please enter the correct domain name",IR="Please select the parsing method",BR="Refresh list",ER="Wildcard",LR="Multi-domain",jR="Popular",NR="is a widely used free SSL certificate provider, suitable for personal websites and testing environments.",HR="Number of supported domains",WR="piece",VR="Support wildcards",UR="support",qR="Not supported",KR="Validity period",YR="Support Mini Program",GR="Applicable websites",XR="*.example.com, *.demo.com",ZR="*.example.com",QR="example.com、demo.com",JR="www.example.com, example.com",eF="Free",tF="Apply Now",nF="Project address",oF="Please enter the certificate file path",rF="Please enter the private key file path",aF="The current DNS provider is empty, please add a DNS provider first",iF="Test notification sending failed",lF="Add Configuration",sF="Not supported yet",dF="Email notification",cF="Send alert notifications via email",uF="DingTalk Notification",hF="Send alarm notifications via DingTalk robot",pF="WeChat Work Notification",fF="Send alarm notifications via WeCom bot",mF="Feishu Notification",vF="Send alarm notifications via Feishu bot",gF="WebHook Notification",bF="Send alarm notifications via WebHook",yF="Notification channel",_F="Configured notification channels",xF="Disabled",CF="Test",wF="Last execution status",SF="Domain name cannot be empty",kF="Email cannot be empty",PF="Alibaba Cloud OSS",TF="Hosting Provider",RF="API Source",FF="API type",zF="Request error",MF="{0} results",$F="Not executed",AF="Automated workflow",OF="Total quantity",DF="Execution failed",IF="Expiring soon",BF="Real-time monitoring",EF="Abnormal quantity",LF="Recent workflow execution records",jF="View all",NF="No workflow execution records",HF="Create workflow",WF="Click to create an automated workflow to improve efficiency",VF="Apply for certificate",UF="Click to apply for and manage SSL certificates to ensure security",qF="Only one email notification channel can be configured at most",KF="Confirm {0} notification channel",YF="{0} notification channels will start sending alert notifications.",GF="The current notification channel does not support testing",XF="Sending test email, please wait...",ZF="Test email",QF="Send a test email to the currently configured mailbox, continue?",JF="Delete Confirmation",ez="Please enter name",tz="Please enter the correct SMTP port",nz="Please enter user password",oz="Please enter the correct sender email",rz="Please enter the correct receiving email",az="Sender's email",iz="Receive Email",lz="DingTalk",sz="WeChat Work",dz="Feishu",cz="A comprehensive SSL certificate lifecycle management tool that integrates application, management, deployment, and monitoring.",uz="Certificate Application",hz="Support obtaining certificates from Let's Encrypt via ACME protocol",pz="Certificate Management",fz="Centralized management of all SSL certificates, including manually uploaded and automatically applied certificates",mz="Certificate deployment",vz="Support one-click certificate deployment to multiple platforms such as Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.",gz="Site monitoring",bz="Real-time monitoring of site SSL certificate status to provide early warning of certificate expiration",yz="Automation task:",_z="Support scheduled tasks, automatically renew certificates and deploy",xz="Multi-platform support",Cz="Supports DNS verification methods for multiple DNS providers (Alibaba Cloud, Tencent Cloud, etc.)",wz="Are you sure you want to delete {0}, the notification channel?",Sz="Let's Encrypt and other CAs automatically apply for free certificates",kz="Log Details",Pz="Failed to load log:",Tz="Download log",Rz="No log information",Fz="Automated tasks",zz="Please select a hosting provider",Mz="The DNS provider list is empty, please add",$z="The list of hosting providers is empty, please add",Az="Add host provider",Oz="Selected",Dz="Please select a host provider{0}",Iz="Click to set up website monitoring and grasp real-time status",Bz="Alibaba Cloud",Ez="Tencent Cloud",Lz="For multiple domains, please use English commas to separate them, for example: test.com,test.cn",jz="For wildcard domains, use an asterisk *, for example: *.test.com",Nz="Please enter the correct Cloudflare API key",Hz="Please enter the correct BT-Panel API key",Wz="Please enter the correct Tencent Cloud SecretKey",Vz="Please enter the correct Huawei Cloud SecretKey",Uz="Please enter Huawei Cloud AccessKey",qz="Please enter the correct email account",Kz="Add automated deployment",Yz="Add certificate",Gz="SSL Certificate Management Platform",Xz="Domain format error, please check the domain format",Zz="DNS recursive server (optional)",Qz="Please enter DNS recursive servers (use commas to separate multiple values)",Jz="Skip local pre-check",eM="Select certificate",tM="If you need to modify the certificate content and key, please choose a custom certificate",nM="When a non-custom certificate is selected, neither the certificate content nor the key can be modified",oM="Upload and submit",rM="Pagoda WAF Website",aM="Pagoda WAF - URL format error",iM="Please enter the Pagoda WAF-API key",lM="Please enter the correct Huawei Cloud AccessKey",sM="Please enter the correct Baidu Cloud AccessKey",dM="Please enter the correct Baidu Cloud SecretKey",cM="Baota WAF-URL",uM="Local Deployment",hM="All sources",pM="Pagoda",fM="1Panel",mM="SMTP port modification is prohibited",vM="Certificate file path (PEM format only)",gM="Private key file path",bM="Pre-command (optional)",yM="Post command (optional)",_M="Site ID",xM="Region",CM="Bucket",wM="Repeated deployment",SM="When the certificate is the same as the last deployment and the last deployment was successful",kM="Skip",PM="Do not skip",TM="Re-deployment",RM="Search deployment type",FM="Website name",zM="Please enter the website name",MM="Leichi WAF Site",$M="Leichi WAF",AM="Leichi WAF - URL format error",OM="Please enter the correct BT-WAF API key",DM="Please enter the correct Leichi WAF-API key",IM="Please enter the Western Digital username",BM="Please enter the Western Digital password",EM="Please enter the AccessKey of Volcano Engine",LM="Please enter the SecretKey of Volcano Engine",jM="Pagoda docker site",NM="Please enter the Leichi API Token",HM="API Token",WM="Certificate algorithm",VM="Please enter the SSH key, the content cannot be empty",UM="Please enter the SSH password",qM="Host address",KM="Please enter the host address cannot be empty",YM="Log Viewer",GM="Please first",XM="If you have any questions or suggestions, please feel free to raise them",ZM="You can also find us on Github",QM="Your participation is extremely important to AllinSSL, thank you.",JM="Please enter",e$="Node field is required",t$="Please enter a valid domain name",n$="Please enter a valid domain name, separate multiple domains with English commas",o$="Please enter your email address",r$="Please enter a valid email address",a$="Node error",i$="Domain:",l$="Apply",s$="Deploy",d$="Upload",c$="Message Push Configuration",u$="Pagoda Panel - Website",h$="1Panel-Website",p$="Pagoda WAF",f$="Pagoda WAF-Website",m$="Tencent Cloud EdgeOne",v$="Qiniu Cloud",g$="Qiniu Cloud-CDN",b$="Qiniu Cloud - OSS",y$="Huawei Cloud",_$="Baidu Cloud",x$="Thunder Pool",C$="Leichi WAF-Website",w$="Volcano Engine",S$="West Digital",k$="Deploy project type",P$="Are you sure you want to refresh the page? Data may be lost!",T$="Execution successful",R$="Executing",F$="CA Authorization Management",z$="Confirm deletion",M$="Are you sure you want to delete this CA authorization?",$$="Add CA Authorization",A$="Please enter ACME EAB KID",O$="Please enter ACME EAB HMAC Key",D$="Please select CA provider",I$="The alias authorized by the current CA provider for quick identification",B$="CA provider",E$="ACME EAB KID",L$="Please enter the ACME EAB KID provided by the CA",j$="ACME EAB HMAC Key",N$="Enter the CA provider's ACME EAM HMAC",H$="AllinSSL, an open-source free SSL certificate automation management platform. One-click automated application, renewal, deployment, and monitoring of all SSL/TLS certificates, supporting cross-cloud environments and multiple CAs (coding~), say goodbye to cumbersome configurations and high costs.",W$="Please enter the email for binding CA authorization",V$="Terminal deployment",U$="Please enter the correct GoDaddy API Key",q$="Please enter GoDaddy API Secret",K$="Please enter Qiniu Cloud Access Secret",Y$="Please enter Qiniu Cloud Access Key",G$="Copy",X$="When the expiration time is approaching",Z$="Please select the certificate authority",Q$="Certificate Authority (EAB ID)",J$="No CA authorization data available",eA="Failed to get CA authorization list",tA="Auto-renewal (days)",nA="Certificate validity period is less than",oA="Time to renew the new certificate",rA="Proxy Address (Optional)",aA="Only supports http or https proxy addresses (e.g., http://proxy.example.com:8080)",iA="Auto-renewal time cannot be empty",lA="Please select the website name, multiple selections are supported",sA="Add Zerossl, Google, custom CA authorization",dA="Pagoda docker website",cA={t_0_1744098811152:Nx,t_1_1744098801860:Hx,t_2_1744098804908:Wx,t_3_1744098802647:Vx,t_4_1744098802046:Ux,t_1_1744164835667:qx,t_2_1744164839713:Kx,t_3_1744164839524:Yx,t_4_1744164840458:Gx,t_5_1744164840468:Xx,t_6_1744164838900:Zx,t_7_1744164838625:Qx,t_8_1744164839833:Jx,t_0_1744258111441:eC,t_1_1744258113857:tC,t_2_1744258111238:nC,t_3_1744258111182:oC,t_4_1744258111238:rC,t_5_1744258110516:aC,t_6_1744258111153:iC,t_0_1744861190562:lC,t_1_1744861189113:"Run",t_2_1744861190040:sC,t_3_1744861190932:dC,t_4_1744861194395:cC,t_5_1744861189528:uC,t_6_1744861190121:hC,t_7_1744861189625:pC,t_8_1744861189821:fC,t_9_1744861189580:mC,t_0_1744870861464:vC,t_1_1744870861944:gC,t_2_1744870863419:bC,t_3_1744870864615:yC,t_4_1744870861589:_C,t_5_1744870862719:xC,t_0_1744875938285:CC,t_1_1744875938598:wC,t_2_1744875938555:SC,t_3_1744875938310:kC,t_4_1744875940750:PC,t_5_1744875940010:TC,t_0_1744879616135:RC,t_1_1744879616555:FC,t_2_1744879616413:zC,t_3_1744879615723:MC,t_4_1744879616168:$C,t_5_1744879615277:AC,t_6_1744879616944:OC,t_7_1744879615743:DC,t_8_1744879616493:IC,t_0_1744942117992:BC,t_1_1744942116527:EC,t_2_1744942117890:LC,t_3_1744942117885:jC,t_4_1744942117738:NC,t_5_1744942117167:HC,t_6_1744942117815:WC,t_7_1744942117862:VC,t_0_1744958839535:UC,t_1_1744958840747:qC,t_2_1744958840131:KC,t_3_1744958840485:YC,t_4_1744958838951:GC,t_5_1744958839222:XC,t_6_1744958843569:ZC,t_7_1744958841708:QC,t_8_1744958841658:JC,t_9_1744958840634:ew,t_10_1744958860078:tw,t_11_1744958840439:nw,t_12_1744958840387:ow,t_13_1744958840714:rw,t_14_1744958839470:aw,t_15_1744958840790:iw,t_16_1744958841116:lw,t_17_1744958839597:sw,t_18_1744958839895:dw,t_19_1744958839297:cw,t_20_1744958839439:uw,t_21_1744958839305:hw,t_22_1744958841926:pw,t_23_1744958838717:fw,t_29_1744958838904:"Day",t_30_1744958843864:mw,t_31_1744958844490:vw,t_0_1745215914686:gw,t_2_1745215915397:bw,t_3_1745215914237:yw,t_4_1745215914951:_w,t_5_1745215914671:xw,t_6_1745215914104:Cw,t_7_1745215914189:ww,t_8_1745215914610:Sw,t_9_1745215914666:kw,t_10_1745215914342:Pw,t_11_1745215915429:Tw,t_12_1745215914312:Rw,t_13_1745215915455:Fw,t_14_1745215916235:zw,t_15_1745215915743:Mw,t_16_1745215915209:$w,t_17_1745215915985:Aw,t_18_1745215915630:Ow,t_1_1745227838776:Dw,t_2_1745227839794:Iw,t_3_1745227841567:Bw,t_4_1745227838558:Ew,t_5_1745227839906:Lw,t_6_1745227838798:jw,t_7_1745227838093:Nw,t_8_1745227838023:Hw,t_9_1745227838305:Ww,t_10_1745227838234:Vw,t_11_1745227838422:Uw,t_12_1745227838814:qw,t_13_1745227838275:Kw,t_14_1745227840904:Yw,t_15_1745227839354:Gw,t_16_1745227838930:Xw,t_17_1745227838561:Zw,t_18_1745227838154:Qw,t_19_1745227839107:Jw,t_20_1745227838813:eS,t_21_1745227837972:tS,t_22_1745227838154:nS,t_23_1745227838699:oS,t_24_1745227839508:rS,t_25_1745227838080:aS,t_27_1745227838583:iS,t_28_1745227837903:lS,t_29_1745227838410:sS,t_30_1745227841739:dS,t_31_1745227838461:cS,t_32_1745227838439:uS,t_33_1745227838984:hS,t_34_1745227839375:pS,t_35_1745227839208:fS,t_36_1745227838958:mS,t_37_1745227839669:vS,t_38_1745227838813:gS,t_39_1745227838696:bS,t_40_1745227838872:yS,t_0_1745289355714:_S,t_1_1745289356586:xS,t_2_1745289353944:CS,t_3_1745289354664:wS,t_4_1745289354902:SS,t_5_1745289355718:kS,t_6_1745289358340:PS,t_7_1745289355714:TS,t_8_1745289354902:RS,t_9_1745289355714:FS,t_10_1745289354650:zS,t_11_1745289354516:MS,t_12_1745289356974:$S,t_13_1745289354528:AS,t_14_1745289354902:OS,t_15_1745289355714:DS,t_16_1745289354902:IS,t_17_1745289355715:BS,t_18_1745289354598:ES,t_19_1745289354676:LS,t_20_1745289354598:jS,t_21_1745289354598:NS,t_22_1745289359036:HS,t_23_1745289355716:WS,t_24_1745289355715:VS,t_25_1745289355721:US,t_26_1745289358341:qS,t_27_1745289355721:KS,t_28_1745289356040:YS,t_29_1745289355850:GS,t_30_1745289355718:XS,t_31_1745289355715:ZS,t_32_1745289356127:QS,t_33_1745289355721:JS,t_34_1745289356040:ek,t_35_1745289355714:tk,t_36_1745289355715:nk,t_37_1745289356041:ok,t_38_1745289356419:rk,t_39_1745289354902:ak,t_40_1745289355715:ik,t_41_1745289354902:lk,t_42_1745289355715:sk,t_43_1745289354598:dk,t_44_1745289354583:ck,t_45_1745289355714:uk,t_46_1745289355723:hk,t_47_1745289355715:pk,t_48_1745289355714:fk,t_49_1745289355714:mk,t_50_1745289355715:vk,t_51_1745289355714:gk,t_52_1745289359565:bk,t_53_1745289356446:yk,t_54_1745289358683:_k,t_55_1745289355715:xk,t_56_1745289355714:Ck,t_57_1745289358341:wk,t_58_1745289355721:Sk,t_59_1745289356803:kk,t_60_1745289355715:Pk,t_61_1745289355878:Tk,t_62_1745289360212:Rk,t_63_1745289354897:Fk,t_64_1745289354670:zk,t_65_1745289354591:Mk,t_66_1745289354655:$k,t_67_1745289354487:Ak,t_68_1745289354676:Ok,t_69_1745289355721:"SMS",t_70_1745289354904:Dk,t_71_1745289354583:Ik,t_72_1745289355715:Bk,t_73_1745289356103:Ek,t_0_1745289808449:Lk,t_0_1745294710530:jk,t_0_1745295228865:Nk,t_0_1745317313835:Hk,t_1_1745317313096:Wk,t_2_1745317314362:Vk,t_3_1745317313561:Uk,t_4_1745317314054:qk,t_5_1745317315285:Kk,t_6_1745317313383:Yk,t_7_1745317313831:Gk,t_0_1745457486299:Xk,t_1_1745457484314:Zk,t_2_1745457488661:Qk,t_3_1745457486983:Jk,t_4_1745457497303:eP,t_5_1745457494695:tP,t_6_1745457487560:nP,t_7_1745457487185:oP,t_8_1745457496621:rP,t_9_1745457500045:aP,t_10_1745457486451:iP,t_11_1745457488256:lP,t_12_1745457489076:sP,t_13_1745457487555:dP,t_14_1745457488092:cP,t_15_1745457484292:uP,t_16_1745457491607:hP,t_17_1745457488251:pP,t_18_1745457490931:fP,t_19_1745457484684:mP,t_20_1745457485905:vP,t_0_1745464080226:gP,t_1_1745464079590:bP,t_2_1745464077081:yP,t_3_1745464081058:_P,t_4_1745464075382:xP,t_5_1745464086047:CP,t_6_1745464075714:wP,t_7_1745464073330:SP,t_8_1745464081472:kP,t_9_1745464078110:PP,t_10_1745464073098:TP,t_0_1745474945127:RP,t_0_1745490735213:FP,t_1_1745490731990:zP,t_2_1745490735558:MP,t_3_1745490735059:$P,t_4_1745490735630:AP,t_5_1745490738285:OP,t_6_1745490738548:DP,t_7_1745490739917:IP,t_8_1745490739319:BP,t_1_1745553909483:EP,t_2_1745553907423:LP,t_0_1745735774005:jP,t_1_1745735764953:NP,t_2_1745735773668:HP,t_3_1745735765112:WP,t_4_1745735765372:"Add",t_5_1745735769112:VP,t_6_1745735765205:UP,t_7_1745735768326:qP,t_8_1745735765753:KP,t_9_1745735765287:YP,t_10_1745735765165:GP,t_11_1745735766456:XP,t_12_1745735765571:ZP,t_13_1745735766084:QP,t_14_1745735766121:JP,t_15_1745735768976:eT,t_16_1745735766712:tT,t_18_1745735765638:nT,t_19_1745735766810:oT,t_20_1745735768764:rT,t_21_1745735769154:aT,t_22_1745735767366:iT,t_24_1745735766826:lT,t_25_1745735766651:sT,t_26_1745735767144:dT,t_27_1745735764546:cT,t_28_1745735766626:uT,t_29_1745735768933:hT,t_30_1745735764748:pT,t_31_1745735767891:fT,t_32_1745735767156:mT,t_33_1745735766532:vT,t_34_1745735771147:gT,t_35_1745735781545:bT,t_36_1745735769443:yT,t_37_1745735779980:_T,t_38_1745735769521:xT,t_39_1745735768565:CT,t_40_1745735815317:wT,t_41_1745735767016:ST,t_0_1745738961258:kT,t_1_1745738963744:PT,t_2_1745738969878:TT,t_0_1745744491696:RT,t_1_1745744495019:FT,t_2_1745744495813:zT,t_0_1745744902975:MT,t_1_1745744905566:$T,t_2_1745744903722:AT,t_0_1745748292337:OT,t_1_1745748290291:DT,t_2_1745748298902:IT,t_3_1745748298161:BT,t_4_1745748290292:ET,t_0_1745765864788:LT,t_1_1745765875247:jT,t_2_1745765875918:NT,t_3_1745765920953:HT,t_4_1745765868807:WT,t_0_1745833934390:VT,t_1_1745833931535:UT,t_2_1745833931404:qT,t_3_1745833936770:KT,t_4_1745833932780:YT,t_5_1745833933241:GT,t_6_1745833933523:XT,t_7_1745833933278:ZT,t_8_1745833933552:QT,t_9_1745833935269:JT,t_10_1745833941691:eR,t_11_1745833935261:tR,t_12_1745833943712:nR,t_13_1745833933630:oR,t_14_1745833932440:rR,t_15_1745833940280:aR,t_16_1745833933819:iR,t_17_1745833935070:lR,t_18_1745833933989:sR,t_0_1745887835267:dR,t_1_1745887832941:cR,t_2_1745887834248:uR,t_3_1745887835089:hR,t_4_1745887835265:pR,t_0_1745895057404:fR,t_0_1745920566646:mR,t_1_1745920567200:vR,t_0_1745936396853:gR,t_0_1745999035681:bR,t_1_1745999036289:yR,t_0_1746000517848:_R,t_0_1746001199409:xR,t_0_1746004861782:CR,t_1_1746004861166:wR,t_0_1746497662220:SR,t_0_1746519384035:kR,t_0_1746579648713:PR,t_0_1746590054456:TR,t_1_1746590060448:RR,t_0_1746667592819:FR,t_1_1746667588689:"Key",t_2_1746667592840:zR,t_3_1746667592270:MR,t_4_1746667590873:$R,t_5_1746667590676:AR,t_6_1746667592831:OR,t_7_1746667592468:DR,t_8_1746667591924:IR,t_9_1746667589516:BR,t_10_1746667589575:ER,t_11_1746667589598:LR,t_12_1746667589733:jR,t_13_1746667599218:NR,t_14_1746667590827:HR,t_15_1746667588493:WR,t_16_1746667591069:VR,t_17_1746667588785:UR,t_18_1746667590113:qR,t_19_1746667589295:KR,t_20_1746667588453:"Day",t_21_1746667590834:YR,t_22_1746667591024:GR,t_23_1746667591989:XR,t_24_1746667583520:ZR,t_25_1746667590147:QR,t_26_1746667594662:JR,t_27_1746667589350:eF,t_28_1746667590336:tF,t_29_1746667589773:nF,t_30_1746667591892:oF,t_31_1746667593074:rF,t_0_1746673515941:aF,t_0_1746676862189:iF,t_1_1746676859550:lF,t_2_1746676856700:sF,t_3_1746676857930:dF,t_4_1746676861473:cF,t_5_1746676856974:uF,t_6_1746676860886:hF,t_7_1746676857191:pF,t_8_1746676860457:fF,t_9_1746676857164:mF,t_10_1746676862329:vF,t_11_1746676859158:gF,t_12_1746676860503:bF,t_13_1746676856842:yF,t_14_1746676859019:_F,t_15_1746676856567:xF,t_16_1746676855270:CF,t_0_1746677882486:wF,t_0_1746697487119:SF,t_1_1746697485188:kF,t_2_1746697487164:PF,t_0_1746754500246:TF,t_1_1746754499371:RF,t_2_1746754500270:FF,t_0_1746760933542:zF,t_0_1746773350551:MF,t_1_1746773348701:$F,t_2_1746773350970:AF,t_3_1746773348798:OF,t_4_1746773348957:DF,t_5_1746773349141:IF,t_6_1746773349980:BF,t_7_1746773349302:EF,t_8_1746773351524:LF,t_9_1746773348221:jF,t_10_1746773351576:NF,t_11_1746773349054:HF,t_12_1746773355641:WF,t_13_1746773349526:VF,t_14_1746773355081:UF,t_16_1746773356568:qF,t_17_1746773351220:KF,t_18_1746773355467:YF,t_19_1746773352558:GF,t_20_1746773356060:XF,t_21_1746773350759:ZF,t_22_1746773360711:QF,t_23_1746773350040:JF,t_25_1746773349596:ez,t_26_1746773353409:tz,t_27_1746773352584:nz,t_28_1746773354048:oz,t_29_1746773351834:rz,t_30_1746773350013:az,t_31_1746773349857:iz,t_32_1746773348993:lz,t_33_1746773350932:sz,t_34_1746773350153:dz,t_35_1746773362992:cz,t_36_1746773348989:uz,t_37_1746773356895:hz,t_38_1746773349796:pz,t_39_1746773358932:fz,t_40_1746773352188:mz,t_41_1746773364475:vz,t_42_1746773348768:gz,t_43_1746773359511:bz,t_44_1746773352805:yz,t_45_1746773355717:_z,t_46_1746773350579:xz,t_47_1746773360760:Cz,t_0_1746773763967:wz,t_1_1746773763643:Sz,t_0_1746776194126:kz,t_1_1746776198156:Pz,t_2_1746776194263:Tz,t_3_1746776195004:Rz,t_0_1746782379424:Fz,t_0_1746858920894:zz,t_1_1746858922914:Mz,t_2_1746858923964:$z,t_3_1746858920060:Az,t_4_1746858917773:Oz,t_0_1747019621052:Dz,t_1_1747019624067:Iz,t_2_1747019616224:Bz,t_3_1747019616129:Ez,t_0_1747040228657:Lz,t_1_1747040226143:jz,t_0_1747042966820:Nz,t_1_1747042969705:Hz,t_2_1747042967277:Wz,t_3_1747042967608:Vz,t_4_1747042966254:Uz,t_5_1747042965911:qz,t_0_1747047213730:Kz,t_1_1747047213009:Yz,t_2_1747047214975:Gz,t_3_1747047218669:Xz,t_0_1747106957037:Zz,t_1_1747106961747:Qz,t_2_1747106957037:Jz,t_0_1747110184700:eM,t_1_1747110191587:tM,t_2_1747110193465:nM,t_3_1747110185110:oM,t_0_1747215751189:rM,t_0_1747271295174:aM,t_1_1747271295484:iM,t_2_1747271295877:lM,t_3_1747271294475:sM,t_4_1747271294621:dM,t_5_1747271291828:cM,t_6_1747271296994:uM,t_7_1747271292060:hM,t_8_1747271290414:pM,t_9_1747271284765:fM,t_0_1747280814475:mM,t_1_1747280813656:vM,t_2_1747280811593:gM,t_3_1747280812067:bM,t_4_1747280811462:yM,t_6_1747280809615:_M,t_7_1747280808936:xM,t_8_1747280809382:CM,t_9_1747280810169:wM,t_10_1747280816952:SM,t_11_1747280809178:kM,t_12_1747280809893:PM,t_13_1747280810369:TM,t_14_1747280811231:RM,t_0_1747296173751:FM,t_1_1747296175494:zM,t_0_1747298114839:MM,t_1_1747298114192:$M,t_0_1747300383756:AM,t_1_1747300384579:OM,t_2_1747300385222:DM,t_0_1747365600180:IM,t_1_1747365603108:BM,t_3_1747365600828:EM,t_4_1747365600137:LM,t_0_1747367069267:jM,t_0_1747617113090:NM,t_1_1747617105179:HM,t_0_1747647014927:WM,t_0_1747709067998:VM,t_0_1747711335067:UM,t_1_1747711335336:qM,t_2_1747711337958:KM,t_0_1747754231151:YM,t_1_1747754231838:GM,t_2_1747754234999:XM,t_3_1747754232000:ZM,t_4_1747754235407:QM,t_0_1747817614953:JM,t_1_1747817639034:"Yes",t_2_1747817610671:"No",t_3_1747817612697:e$,t_4_1747817613325:t$,t_5_1747817619337:n$,t_6_1747817644358:o$,t_7_1747817613773:r$,t_8_1747817614764:a$,t_9_1747817611448:i$,t_10_1747817611126:l$,t_11_1747817612051:s$,t_12_1747817611391:d$,t_0_1747886301644:c$,t_1_1747886307276:u$,t_2_1747886302053:h$,t_3_1747886302848:p$,t_4_1747886303229:f$,t_5_1747886301427:m$,t_6_1747886301844:v$,t_7_1747886302395:g$,t_8_1747886304014:b$,t_9_1747886301128:y$,t_10_1747886300958:_$,t_11_1747886301986:x$,t_12_1747886302725:C$,t_13_1747886301689:w$,t_14_1747886301884:S$,t_15_1747886301573:k$,t_16_1747886308182:P$,t_0_1747895713179:T$,t_1_1747895712756:R$,t_0_1747903670020:F$,t_2_1747903672640:z$,t_3_1747903672833:M$,t_4_1747903685371:$$,t_5_1747903671439:A$,t_6_1747903672931:O$,t_7_1747903678624:D$,t_8_1747903675532:I$,t_9_1747903669360:B$,t_10_1747903662994:E$,t_11_1747903674802:L$,t_12_1747903662994:j$,t_13_1747903673007:N$,t_0_1747904536291:H$,t_0_1747965909665:W$,t_0_1747969933657:V$,t_0_1747984137443:U$,t_1_1747984133312:q$,t_2_1747984134626:K$,t_3_1747984134586:Y$,t_4_1747984130327:G$,t_5_1747984133112:X$,t_0_1747990228780:Z$,t_1_1747990228492:Q$,t_2_1747990228008:J$,t_3_1747990229599:eA,t_4_1747990227956:tA,t_5_1747990228592:nA,t_6_1747990228465:oA,t_7_1747990227761:rA,t_8_1747990235316:aA,t_9_1747990229640:iA,t_10_1747990232207:lA,t_0_1747990626044:sA,t_0_1747994891459:dA},uA=Object.freeze(Object.defineProperty({__proto__:null,default:cA,t_0_1744098811152:Nx,t_0_1744258111441:eC,t_0_1744861190562:lC,t_0_1744870861464:vC,t_0_1744875938285:CC,t_0_1744879616135:RC,t_0_1744942117992:BC,t_0_1744958839535:UC,t_0_1745215914686:gw,t_0_1745289355714:_S,t_0_1745289808449:Lk,t_0_1745294710530:jk,t_0_1745295228865:Nk,t_0_1745317313835:Hk,t_0_1745457486299:Xk,t_0_1745464080226:gP,t_0_1745474945127:RP,t_0_1745490735213:FP,t_0_1745735774005:jP,t_0_1745738961258:kT,t_0_1745744491696:RT,t_0_1745744902975:MT,t_0_1745748292337:OT,t_0_1745765864788:LT,t_0_1745833934390:VT,t_0_1745887835267:dR,t_0_1745895057404:fR,t_0_1745920566646:mR,t_0_1745936396853:gR,t_0_1745999035681:bR,t_0_1746000517848:_R,t_0_1746001199409:xR,t_0_1746004861782:CR,t_0_1746497662220:SR,t_0_1746519384035:kR,t_0_1746579648713:PR,t_0_1746590054456:TR,t_0_1746667592819:FR,t_0_1746673515941:aF,t_0_1746676862189:iF,t_0_1746677882486:wF,t_0_1746697487119:SF,t_0_1746754500246:TF,t_0_1746760933542:zF,t_0_1746773350551:MF,t_0_1746773763967:wz,t_0_1746776194126:kz,t_0_1746782379424:Fz,t_0_1746858920894:zz,t_0_1747019621052:Dz,t_0_1747040228657:Lz,t_0_1747042966820:Nz,t_0_1747047213730:Kz,t_0_1747106957037:Zz,t_0_1747110184700:eM,t_0_1747215751189:rM,t_0_1747271295174:aM,t_0_1747280814475:mM,t_0_1747296173751:FM,t_0_1747298114839:MM,t_0_1747300383756:AM,t_0_1747365600180:IM,t_0_1747367069267:jM,t_0_1747617113090:NM,t_0_1747647014927:WM,t_0_1747709067998:VM,t_0_1747711335067:UM,t_0_1747754231151:YM,t_0_1747817614953:JM,t_0_1747886301644:c$,t_0_1747895713179:T$,t_0_1747903670020:F$,t_0_1747904536291:H$,t_0_1747965909665:W$,t_0_1747969933657:V$,t_0_1747984137443:U$,t_0_1747990228780:Z$,t_0_1747990626044:sA,t_0_1747994891459:dA,t_10_1744958860078:tw,t_10_1745215914342:Pw,t_10_1745227838234:Vw,t_10_1745289354650:zS,t_10_1745457486451:iP,t_10_1745464073098:TP,t_10_1745735765165:GP,t_10_1745833941691:eR,t_10_1746667589575:ER,t_10_1746676862329:vF,t_10_1746773351576:NF,t_10_1747280816952:SM,t_10_1747817611126:l$,t_10_1747886300958:_$,t_10_1747903662994:E$,t_10_1747990232207:lA,t_11_1744958840439:nw,t_11_1745215915429:Tw,t_11_1745227838422:Uw,t_11_1745289354516:MS,t_11_1745457488256:lP,t_11_1745735766456:XP,t_11_1745833935261:tR,t_11_1746667589598:LR,t_11_1746676859158:gF,t_11_1746773349054:HF,t_11_1747280809178:kM,t_11_1747817612051:s$,t_11_1747886301986:x$,t_11_1747903674802:L$,t_12_1744958840387:ow,t_12_1745215914312:Rw,t_12_1745227838814:qw,t_12_1745289356974:$S,t_12_1745457489076:sP,t_12_1745735765571:ZP,t_12_1745833943712:nR,t_12_1746667589733:jR,t_12_1746676860503:bF,t_12_1746773355641:WF,t_12_1747280809893:PM,t_12_1747817611391:d$,t_12_1747886302725:C$,t_12_1747903662994:j$,t_13_1744958840714:rw,t_13_1745215915455:Fw,t_13_1745227838275:Kw,t_13_1745289354528:AS,t_13_1745457487555:dP,t_13_1745735766084:QP,t_13_1745833933630:oR,t_13_1746667599218:NR,t_13_1746676856842:yF,t_13_1746773349526:VF,t_13_1747280810369:TM,t_13_1747886301689:w$,t_13_1747903673007:N$,t_14_1744958839470:aw,t_14_1745215916235:zw,t_14_1745227840904:Yw,t_14_1745289354902:OS,t_14_1745457488092:cP,t_14_1745735766121:JP,t_14_1745833932440:rR,t_14_1746667590827:HR,t_14_1746676859019:_F,t_14_1746773355081:UF,t_14_1747280811231:RM,t_14_1747886301884:S$,t_15_1744958840790:iw,t_15_1745215915743:Mw,t_15_1745227839354:Gw,t_15_1745289355714:DS,t_15_1745457484292:uP,t_15_1745735768976:eT,t_15_1745833940280:aR,t_15_1746667588493:WR,t_15_1746676856567:xF,t_15_1747886301573:k$,t_16_1744958841116:lw,t_16_1745215915209:$w,t_16_1745227838930:Xw,t_16_1745289354902:IS,t_16_1745457491607:hP,t_16_1745735766712:tT,t_16_1745833933819:iR,t_16_1746667591069:VR,t_16_1746676855270:CF,t_16_1746773356568:qF,t_16_1747886308182:P$,t_17_1744958839597:sw,t_17_1745215915985:Aw,t_17_1745227838561:Zw,t_17_1745289355715:BS,t_17_1745457488251:pP,t_17_1745833935070:lR,t_17_1746667588785:UR,t_17_1746773351220:KF,t_18_1744958839895:dw,t_18_1745215915630:Ow,t_18_1745227838154:Qw,t_18_1745289354598:ES,t_18_1745457490931:fP,t_18_1745735765638:nT,t_18_1745833933989:sR,t_18_1746667590113:qR,t_18_1746773355467:YF,t_19_1744958839297:cw,t_19_1745227839107:Jw,t_19_1745289354676:LS,t_19_1745457484684:mP,t_19_1745735766810:oT,t_19_1746667589295:KR,t_19_1746773352558:GF,t_1_1744098801860:Hx,t_1_1744164835667:qx,t_1_1744258113857:tC,t_1_1744861189113:"Run",t_1_1744870861944:gC,t_1_1744875938598:wC,t_1_1744879616555:FC,t_1_1744942116527:EC,t_1_1744958840747:qC,t_1_1745227838776:Dw,t_1_1745289356586:xS,t_1_1745317313096:Wk,t_1_1745457484314:Zk,t_1_1745464079590:bP,t_1_1745490731990:zP,t_1_1745553909483:EP,t_1_1745735764953:NP,t_1_1745738963744:PT,t_1_1745744495019:FT,t_1_1745744905566:$T,t_1_1745748290291:DT,t_1_1745765875247:jT,t_1_1745833931535:UT,t_1_1745887832941:cR,t_1_1745920567200:vR,t_1_1745999036289:yR,t_1_1746004861166:wR,t_1_1746590060448:RR,t_1_1746667588689:"Key",t_1_1746676859550:lF,t_1_1746697485188:kF,t_1_1746754499371:RF,t_1_1746773348701:$F,t_1_1746773763643:Sz,t_1_1746776198156:Pz,t_1_1746858922914:Mz,t_1_1747019624067:Iz,t_1_1747040226143:jz,t_1_1747042969705:Hz,t_1_1747047213009:Yz,t_1_1747106961747:Qz,t_1_1747110191587:tM,t_1_1747271295484:iM,t_1_1747280813656:vM,t_1_1747296175494:zM,t_1_1747298114192:$M,t_1_1747300384579:OM,t_1_1747365603108:BM,t_1_1747617105179:HM,t_1_1747711335336:qM,t_1_1747754231838:GM,t_1_1747817639034:"Yes",t_1_1747886307276:u$,t_1_1747895712756:R$,t_1_1747984133312:q$,t_1_1747990228492:Q$,t_20_1744958839439:uw,t_20_1745227838813:eS,t_20_1745289354598:jS,t_20_1745457485905:vP,t_20_1745735768764:rT,t_20_1746667588453:"Day",t_20_1746773356060:XF,t_21_1744958839305:hw,t_21_1745227837972:tS,t_21_1745289354598:NS,t_21_1745735769154:aT,t_21_1746667590834:YR,t_21_1746773350759:ZF,t_22_1744958841926:pw,t_22_1745227838154:nS,t_22_1745289359036:HS,t_22_1745735767366:iT,t_22_1746667591024:GR,t_22_1746773360711:QF,t_23_1744958838717:fw,t_23_1745227838699:oS,t_23_1745289355716:WS,t_23_1746667591989:XR,t_23_1746773350040:JF,t_24_1745227839508:rS,t_24_1745289355715:VS,t_24_1745735766826:lT,t_24_1746667583520:ZR,t_25_1745227838080:aS,t_25_1745289355721:US,t_25_1745735766651:sT,t_25_1746667590147:QR,t_25_1746773349596:ez,t_26_1745289358341:qS,t_26_1745735767144:dT,t_26_1746667594662:JR,t_26_1746773353409:tz,t_27_1745227838583:iS,t_27_1745289355721:KS,t_27_1745735764546:cT,t_27_1746667589350:eF,t_27_1746773352584:nz,t_28_1745227837903:lS,t_28_1745289356040:YS,t_28_1745735766626:uT,t_28_1746667590336:tF,t_28_1746773354048:oz,t_29_1744958838904:"Day",t_29_1745227838410:sS,t_29_1745289355850:GS,t_29_1745735768933:hT,t_29_1746667589773:nF,t_29_1746773351834:rz,t_2_1744098804908:Wx,t_2_1744164839713:Kx,t_2_1744258111238:nC,t_2_1744861190040:sC,t_2_1744870863419:bC,t_2_1744875938555:SC,t_2_1744879616413:zC,t_2_1744942117890:LC,t_2_1744958840131:KC,t_2_1745215915397:bw,t_2_1745227839794:Iw,t_2_1745289353944:CS,t_2_1745317314362:Vk,t_2_1745457488661:Qk,t_2_1745464077081:yP,t_2_1745490735558:MP,t_2_1745553907423:LP,t_2_1745735773668:HP,t_2_1745738969878:TT,t_2_1745744495813:zT,t_2_1745744903722:AT,t_2_1745748298902:IT,t_2_1745765875918:NT,t_2_1745833931404:qT,t_2_1745887834248:uR,t_2_1746667592840:zR,t_2_1746676856700:sF,t_2_1746697487164:PF,t_2_1746754500270:FF,t_2_1746773350970:AF,t_2_1746776194263:Tz,t_2_1746858923964:$z,t_2_1747019616224:Bz,t_2_1747042967277:Wz,t_2_1747047214975:Gz,t_2_1747106957037:Jz,t_2_1747110193465:nM,t_2_1747271295877:lM,t_2_1747280811593:gM,t_2_1747300385222:DM,t_2_1747711337958:KM,t_2_1747754234999:XM,t_2_1747817610671:"No",t_2_1747886302053:h$,t_2_1747903672640:z$,t_2_1747984134626:K$,t_2_1747990228008:J$,t_30_1744958843864:mw,t_30_1745227841739:dS,t_30_1745289355718:XS,t_30_1745735764748:pT,t_30_1746667591892:oF,t_30_1746773350013:az,t_31_1744958844490:vw,t_31_1745227838461:cS,t_31_1745289355715:ZS,t_31_1745735767891:fT,t_31_1746667593074:rF,t_31_1746773349857:iz,t_32_1745227838439:uS,t_32_1745289356127:QS,t_32_1745735767156:mT,t_32_1746773348993:lz,t_33_1745227838984:hS,t_33_1745289355721:JS,t_33_1745735766532:vT,t_33_1746773350932:sz,t_34_1745227839375:pS,t_34_1745289356040:ek,t_34_1745735771147:gT,t_34_1746773350153:dz,t_35_1745227839208:fS,t_35_1745289355714:tk,t_35_1745735781545:bT,t_35_1746773362992:cz,t_36_1745227838958:mS,t_36_1745289355715:nk,t_36_1745735769443:yT,t_36_1746773348989:uz,t_37_1745227839669:vS,t_37_1745289356041:ok,t_37_1745735779980:_T,t_37_1746773356895:hz,t_38_1745227838813:gS,t_38_1745289356419:rk,t_38_1745735769521:xT,t_38_1746773349796:pz,t_39_1745227838696:bS,t_39_1745289354902:ak,t_39_1745735768565:CT,t_39_1746773358932:fz,t_3_1744098802647:Vx,t_3_1744164839524:Yx,t_3_1744258111182:oC,t_3_1744861190932:dC,t_3_1744870864615:yC,t_3_1744875938310:kC,t_3_1744879615723:MC,t_3_1744942117885:jC,t_3_1744958840485:YC,t_3_1745215914237:yw,t_3_1745227841567:Bw,t_3_1745289354664:wS,t_3_1745317313561:Uk,t_3_1745457486983:Jk,t_3_1745464081058:_P,t_3_1745490735059:$P,t_3_1745735765112:WP,t_3_1745748298161:BT,t_3_1745765920953:HT,t_3_1745833936770:KT,t_3_1745887835089:hR,t_3_1746667592270:MR,t_3_1746676857930:dF,t_3_1746773348798:OF,t_3_1746776195004:Rz,t_3_1746858920060:Az,t_3_1747019616129:Ez,t_3_1747042967608:Vz,t_3_1747047218669:Xz,t_3_1747110185110:oM,t_3_1747271294475:sM,t_3_1747280812067:bM,t_3_1747365600828:EM,t_3_1747754232000:ZM,t_3_1747817612697:e$,t_3_1747886302848:p$,t_3_1747903672833:M$,t_3_1747984134586:Y$,t_3_1747990229599:eA,t_40_1745227838872:yS,t_40_1745289355715:ik,t_40_1745735815317:wT,t_40_1746773352188:mz,t_41_1745289354902:lk,t_41_1745735767016:ST,t_41_1746773364475:vz,t_42_1745289355715:sk,t_42_1746773348768:gz,t_43_1745289354598:dk,t_43_1746773359511:bz,t_44_1745289354583:ck,t_44_1746773352805:yz,t_45_1745289355714:uk,t_45_1746773355717:_z,t_46_1745289355723:hk,t_46_1746773350579:xz,t_47_1745289355715:pk,t_47_1746773360760:Cz,t_48_1745289355714:fk,t_49_1745289355714:mk,t_4_1744098802046:Ux,t_4_1744164840458:Gx,t_4_1744258111238:rC,t_4_1744861194395:cC,t_4_1744870861589:_C,t_4_1744875940750:PC,t_4_1744879616168:$C,t_4_1744942117738:NC,t_4_1744958838951:GC,t_4_1745215914951:_w,t_4_1745227838558:Ew,t_4_1745289354902:SS,t_4_1745317314054:qk,t_4_1745457497303:eP,t_4_1745464075382:xP,t_4_1745490735630:AP,t_4_1745735765372:"Add",t_4_1745748290292:ET,t_4_1745765868807:WT,t_4_1745833932780:YT,t_4_1745887835265:pR,t_4_1746667590873:$R,t_4_1746676861473:cF,t_4_1746773348957:DF,t_4_1746858917773:Oz,t_4_1747042966254:Uz,t_4_1747271294621:dM,t_4_1747280811462:yM,t_4_1747365600137:LM,t_4_1747754235407:QM,t_4_1747817613325:t$,t_4_1747886303229:f$,t_4_1747903685371:$$,t_4_1747984130327:G$,t_4_1747990227956:tA,t_50_1745289355715:vk,t_51_1745289355714:gk,t_52_1745289359565:bk,t_53_1745289356446:yk,t_54_1745289358683:_k,t_55_1745289355715:xk,t_56_1745289355714:Ck,t_57_1745289358341:wk,t_58_1745289355721:Sk,t_59_1745289356803:kk,t_5_1744164840468:Xx,t_5_1744258110516:aC,t_5_1744861189528:uC,t_5_1744870862719:xC,t_5_1744875940010:TC,t_5_1744879615277:AC,t_5_1744942117167:HC,t_5_1744958839222:XC,t_5_1745215914671:xw,t_5_1745227839906:Lw,t_5_1745289355718:kS,t_5_1745317315285:Kk,t_5_1745457494695:tP,t_5_1745464086047:CP,t_5_1745490738285:OP,t_5_1745735769112:VP,t_5_1745833933241:GT,t_5_1746667590676:AR,t_5_1746676856974:uF,t_5_1746773349141:IF,t_5_1747042965911:qz,t_5_1747271291828:cM,t_5_1747817619337:n$,t_5_1747886301427:m$,t_5_1747903671439:A$,t_5_1747984133112:X$,t_5_1747990228592:nA,t_60_1745289355715:Pk,t_61_1745289355878:Tk,t_62_1745289360212:Rk,t_63_1745289354897:Fk,t_64_1745289354670:zk,t_65_1745289354591:Mk,t_66_1745289354655:$k,t_67_1745289354487:Ak,t_68_1745289354676:Ok,t_69_1745289355721:"SMS",t_6_1744164838900:Zx,t_6_1744258111153:iC,t_6_1744861190121:hC,t_6_1744879616944:OC,t_6_1744942117815:WC,t_6_1744958843569:ZC,t_6_1745215914104:Cw,t_6_1745227838798:jw,t_6_1745289358340:PS,t_6_1745317313383:Yk,t_6_1745457487560:nP,t_6_1745464075714:wP,t_6_1745490738548:DP,t_6_1745735765205:UP,t_6_1745833933523:XT,t_6_1746667592831:OR,t_6_1746676860886:hF,t_6_1746773349980:BF,t_6_1747271296994:uM,t_6_1747280809615:_M,t_6_1747817644358:o$,t_6_1747886301844:v$,t_6_1747903672931:O$,t_6_1747990228465:oA,t_70_1745289354904:Dk,t_71_1745289354583:Ik,t_72_1745289355715:Bk,t_73_1745289356103:Ek,t_7_1744164838625:Qx,t_7_1744861189625:pC,t_7_1744879615743:DC,t_7_1744942117862:VC,t_7_1744958841708:QC,t_7_1745215914189:ww,t_7_1745227838093:Nw,t_7_1745289355714:TS,t_7_1745317313831:Gk,t_7_1745457487185:oP,t_7_1745464073330:SP,t_7_1745490739917:IP,t_7_1745735768326:qP,t_7_1745833933278:ZT,t_7_1746667592468:DR,t_7_1746676857191:pF,t_7_1746773349302:EF,t_7_1747271292060:hM,t_7_1747280808936:xM,t_7_1747817613773:r$,t_7_1747886302395:g$,t_7_1747903678624:D$,t_7_1747990227761:rA,t_8_1744164839833:Jx,t_8_1744861189821:fC,t_8_1744879616493:IC,t_8_1744958841658:JC,t_8_1745215914610:Sw,t_8_1745227838023:Hw,t_8_1745289354902:RS,t_8_1745457496621:rP,t_8_1745464081472:kP,t_8_1745490739319:BP,t_8_1745735765753:KP,t_8_1745833933552:QT,t_8_1746667591924:IR,t_8_1746676860457:fF,t_8_1746773351524:LF,t_8_1747271290414:pM,t_8_1747280809382:CM,t_8_1747817614764:a$,t_8_1747886304014:b$,t_8_1747903675532:I$,t_8_1747990235316:aA,t_9_1744861189580:mC,t_9_1744958840634:ew,t_9_1745215914666:kw,t_9_1745227838305:Ww,t_9_1745289355714:FS,t_9_1745457500045:aP,t_9_1745464078110:PP,t_9_1745735765287:YP,t_9_1745833935269:JT,t_9_1746667589516:BR,t_9_1746676857164:mF,t_9_1746773348221:jF,t_9_1747271284765:fM,t_9_1747280810169:wM,t_9_1747817611448:i$,t_9_1747886301128:y$,t_9_1747903669360:B$,t_9_1747990229640:iA},Symbol.toStringTag,{value:"Module"})),{i18n:hA,$t:pA}=((e,t)=>{const n=function(e,t,n={}){const{window:o=rh}=n;return hh(e,t,null==o?void 0:o.localStorage,n)}("locales-active","zhCN"),o=(null==e?void 0:e.fileExt)||"js";Object.keys(t).forEach((n=>{var o,r,a;const i=null==(o=n.match(/\.\/model\/([^/]+)\.js$/))?void 0:o[1];null!=(r=null==e?void 0:e.messages)&&r.zhCN||null!=(a=null==e?void 0:e.messages)&&a.enUS||i&&Array.isArray(null==e?void 0:e.messages)&&(e.messages[i]=t[n])}));const r=Vu({legacy:!1,locale:n.value||"zhCN",fallbackLocale:"enUS",...e}),a=e=>`./model/${e}.${o}`,i=Object.entries(ph).filter((([e])=>Object.keys(t).includes(a(e)))).map((([e,t])=>({label:t,value:e}))).sort(((e,t)=>{const n=["zhCN","zhTW","enUS"],o=n.indexOf(e.value),r=n.indexOf(t.value);return-1!==o&&-1!==r?o-r:e.label.localeCompare(t.label)})),l=Y();return l.run((()=>{er(n,(async e=>{const n=await(async e=>{var n;try{if(!t[a(e)])return{};const o=await(null==(n=t[a(e)])?void 0:n.call(t));return(null==o?void 0:o.default)||o||{}}catch(o){return{}}})(e);if(r.global.setLocaleMessage(e,n),G()){const{locale:t}=Uu();t.value=e}else r.global.locale.value=e}),{immediate:!0}),X((()=>{l.stop()}))})),{i18n:r,locale:n,$t:r.global.t,localeOptions:i}})({messages:{zhCN:Lx,enUS:cA},locale:"zhCN",fileExt:"json"},Object.assign({"./model/arDZ.json":()=>xs((()=>import("./arDZ-CndKQ8wm.js")),[],import.meta.url),"./model/enUS.json":()=>xs((()=>Promise.resolve().then((()=>uA))),void 0,import.meta.url),"./model/esAR.json":()=>xs((()=>import("./esAR-B3_Dujph.js")),[],import.meta.url),"./model/frFR.json":()=>xs((()=>import("./frFR-BSGz0yEp.js")),[],import.meta.url),"./model/jaJP.json":()=>xs((()=>import("./jaJP-Youjzb2X.js")),[],import.meta.url),"./model/koKR.json":()=>xs((()=>import("./koKR-CaAik_Gm.js")),[],import.meta.url),"./model/ptBR.json":()=>xs((()=>import("./ptBR-BuEoXNnM.js")),[],import.meta.url),"./model/ruRU.json":()=>xs((()=>import("./ruRU--SpavF3n.js")),[],import.meta.url),"./model/zhCN.json":()=>xs((()=>Promise.resolve().then((()=>jx))),void 0,import.meta.url),"./model/zhTW.json":()=>xs((()=>import("./zhTW-_xfZLHqx.js")),[],import.meta.url)})),fA={sortRoute:[{name:"home",title:pA("t_0_1744258111441")},{name:"autoDeploy",title:pA("t_1_1744258113857")},{name:"certManage",title:pA("t_2_1744258111238")},{name:"certApply",title:pA("t_3_1744258111182")},{name:"authApiManage",title:pA("t_4_1744258111238")},{name:"monitor",title:pA("t_5_1744258110516")},{name:"settings",title:pA("t_6_1744258111153")}],frameworkRoute:["layout"],systemRoute:["login","404"],disabledRoute:[]};const mA=/\s*,(?![^(]*\))\s*/g,vA=/\s+/g;function gA(e){let t=[""];return e.forEach((e=>{(e=e&&e.trim())&&(t=e.includes("&")?function(e,t){const n=[];return t.split(mA).forEach((t=>{let o=function(e){let t=0;for(let n=0;n{n.push((e&&e+" ")+t)}));if(1===o)return void e.forEach((e=>{n.push(t.replace("&",e))}));let r=[t];for(;o--;){const t=[];r.forEach((n=>{e.forEach((e=>{t.push(n.replace("&",e))}))})),r=t}r.forEach((e=>n.push(e)))})),n}(t,e):function(e,t){const n=[];return t.split(mA).forEach((t=>{e.forEach((e=>{n.push((e&&e+" ")+t)}))})),n}(t,e))})),t.join(", ").replace(vA," ")}function bA(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function yA(e,t){return(null!=t?t:document.head).querySelector(`style[cssr-id="${e}"]`)}function _A(e){return!!e&&/^\s*@(s|m)/.test(e)}const xA=/[A-Z]/g;function CA(e){return e.replace(xA,(e=>"-"+e.toLowerCase()))}function wA(e,t,n,o){if(!t)return"";const r=function(e,t,n){return"function"==typeof e?e({context:t.context,props:n}):e}(t,n,o);if(!r)return"";if("string"==typeof r)return`${e} {\n${r}\n}`;const a=Object.keys(r);if(0===a.length)return n.config.keepEmptyBlock?e+" {\n}":"";const i=e?[e+" {"]:[];return a.forEach((e=>{const t=r[e];"raw"!==e?(e=CA(e),null!=t&&i.push(` ${e}${function(e,t=" "){return"object"==typeof e&&null!==e?" {\n"+Object.entries(e).map((e=>t+` ${CA(e[0])}: ${e[1]};`)).join("\n")+"\n"+t+"}":`: ${e};`}(t)}`)):i.push("\n"+t+"\n")})),e&&i.push("}"),i.join("\n")}function SA(e,t,n){e&&e.forEach((e=>{if(Array.isArray(e))SA(e,t,n);else if("function"==typeof e){const o=e(t);Array.isArray(o)?SA(o,t,n):o&&n(o)}else e&&n(e)}))}function kA(e,t,n,o,r){const a=e.$;let i="";if(a&&"string"!=typeof a)if("function"==typeof a){const e=a({context:o.context,props:r});_A(e)?i=e:t.push(e)}else if(a.before&&a.before(o.context),a.$&&"string"!=typeof a.$){if(a.$){const e=a.$({context:o.context,props:r});_A(e)?i=e:t.push(e)}}else _A(a.$)?i=a.$:t.push(a.$);else _A(a)?i=a:t.push(a);const l=gA(t),s=wA(l,e.props,o,r);i?n.push(`${i} {`):s.length&&n.push(s),e.children&&SA(e.children,{context:o.context,props:r},(e=>{if("string"==typeof e){const t=wA(l,{raw:e},o,r);n.push(t)}else kA(e,t,n,o,r)})),t.pop(),i&&n.push("}"),a&&a.after&&a.after(o.context)}function PA(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function TA(e,t){e.push(t)}function RA(e,t,n,o,r,a,i,l,s){let d;if(void 0===n&&(d=t.render(o),n=PA(d)),s)return void s.adapter(n,null!=d?d:t.render(o));void 0===l&&(l=document.head);const c=yA(n,l);if(null!==c&&!a)return c;const u=null!=c?c:function(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}(n);if(void 0===d&&(d=t.render(o)),u.textContent=d,null!==c)return c;if(i){const e=l.querySelector(`meta[name="${i}"]`);if(e)return l.insertBefore(u,e),TA(t.els,u),u}return r?l.insertBefore(u,l.querySelector("style, link")):l.appendChild(u),TA(t.els,u),u}function FA(e){return function(e,t,n){const o=[];return kA(e,[],o,t,n),o.join("\n\n")}(this,this.instance,e)}function zA(e={}){const{id:t,ssr:n,props:o,head:r=!1,force:a=!1,anchorMetaName:i,parent:l}=e;return RA(this.instance,this,t,o,r,a,i,l,n)}function MA(e={}){const{id:t,parent:n}=e;!function(e,t,n,o){const{els:r}=t;if(void 0===n)r.forEach(bA),t.els=[];else{const e=yA(n,o);e&&r.includes(e)&&(bA(e),t.els=r.filter((t=>t!==e)))}}(this.instance,this,t,n)}"undefined"!=typeof window&&(window.__cssrContext={});const $A=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:FA,mount:zA,unmount:MA}};function AA(e={}){const t={c:(...e)=>function(e,t,n,o){return Array.isArray(t)?$A(e,{$:null},null,t):Array.isArray(n)?$A(e,t,null,n):Array.isArray(o)?$A(e,t,n,o):$A(e,t,n,null)}(t,...e),use:(e,...n)=>e.install(t,...n),find:yA,context:{},config:e};return t}const OA=".n-",DA=AA(),IA=function(e){let t,n=".",o="__",r="--";if(e){let t=e.blockPrefix;t&&(n=t),t=e.elementPrefix,t&&(o=t),t=e.modifierPrefix,t&&(r=t)}const a={install(e){t=e.c;const n=e.context;n.bem={},n.bem.b=null,n.bem.els=null}};return Object.assign(a,{cB:(...e)=>t(function(e){let t,o;return{before(e){t=e.bem.b,o=e.bem.els,e.bem.els=null},after(e){e.bem.b=t,e.bem.els=o},$:({context:t,props:o})=>(e="string"==typeof e?e:e({context:t,props:o}),t.bem.b=e,`${(null==o?void 0:o.bPrefix)||n}${t.bem.b}`)}}(e[0]),e[1],e[2]),cE:(...e)=>t(function(e){let t;return{before(e){t=e.bem.els},after(e){e.bem.els=t},$:({context:t,props:r})=>(e="string"==typeof e?e:e({context:t,props:r}),t.bem.els=e.split(",").map((e=>e.trim())),t.bem.els.map((e=>`${(null==r?void 0:r.bPrefix)||n}${t.bem.b}${o}${e}`)).join(", "))}}(e[0]),e[1],e[2]),cM:(...e)=>{return t((a=e[0],{$({context:e,props:t}){const i=(a="string"==typeof a?a:a({context:e,props:t})).split(",").map((e=>e.trim()));function l(a){return i.map((i=>`&${(null==t?void 0:t.bPrefix)||n}${e.bem.b}${void 0!==a?`${o}${a}`:""}${r}${i}`)).join(", ")}const s=e.bem.els;return null!==s?l(s[0]):l()}}),e[1],e[2]);var a},cNotM:(...e)=>{return t((a=e[0],{$({context:e,props:t}){a="string"==typeof a?a:a({context:e,props:t});const i=e.bem.els;return`&:not(${(null==t?void 0:t.bPrefix)||n}${e.bem.b}${null!==i&&i.length>0?`${o}${i[0]}`:""}${r}${a})`}}),e[1],e[2]);var a}}),a}({blockPrefix:OA,elementPrefix:"__",modifierPrefix:"--"});DA.use(IA);const{c:BA,find:EA}=DA,{cB:LA,cE:jA,cM:NA,cNotM:HA}=IA;function WA(e){return BA((({props:{bPrefix:e}})=>`${e||OA}modal, ${e||OA}drawer`),[e])}function VA(e){return BA((({props:{bPrefix:e}})=>`${e||OA}popover`),[e])}function UA(e){return BA((({props:{bPrefix:e}})=>`&${e||OA}modal`),e)}const qA=(...e)=>BA(">",[LA(...e)]);function KA(e,t){return e+("default"===t?"":t.replace(/^[a-z]/,(e=>e.toUpperCase())))}let YA=[];const GA=new WeakMap;function XA(){YA.forEach((e=>e(...GA.get(e)))),YA=[]}function ZA(e,...t){GA.set(e,t),YA.includes(e)||1===YA.push(e)&&requestAnimationFrame(XA)}function QA(e,t){let{target:n}=e;for(;n;){if(n.dataset&&void 0!==n.dataset[t])return!0;n=n.parentElement}return!1}function JA(e){return e.composedPath()[0]||null}function eO(e,t){var n;if(null==e)return;const o=function(e){if("number"==typeof e)return{"":e.toString()};const t={};return e.split(/ +/).forEach((e=>{if(""===e)return;const[n,o]=e.split(":");void 0===o?t[""]=n:t[n]=o})),t}(e);if(void 0===t)return o[""];if("string"==typeof t)return null!==(n=o[t])&&void 0!==n?n:o[""];if(Array.isArray(t)){for(let e=t.length-1;e>=0;--e){const n=t[e];if(n in o)return o[n]}return o[""]}{let e,n=-1;return Object.keys(o).forEach((r=>{const a=Number(r);!Number.isNaN(a)&&t>=a&&a>=n&&(n=a,e=o[r])})),e}}function tO(e){return"string"==typeof e?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function nO(e){if(null!=e)return"number"==typeof e?`${e}px`:e.endsWith("px")?e:`${e}px`}function oO(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return void 0===t?o:o[t]}function rO(e,t){const[n,o]=e.split(" ");return{row:n,col:o||n}}const aO={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32",transparent:"#0000"};function iO(e,t,n){n/=100;const o=(t/=100)*Math.min(n,1-n)+n;return[e,o?100*(2-2*n/o):0,100*o]}function lO(e,t,n){const o=(n/=100)-n*(t/=100)/2,r=Math.min(o,1-o);return[e,r?(n-o)/r*100:0,100*o]}function sO(e,t,n){t/=100,n/=100;let o=(o,r=(o+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[255*o(5),255*o(3),255*o(1)]}function dO(e,t,n){e/=255,t/=255,n/=255;let o=Math.max(e,t,n),r=o-Math.min(e,t,n),a=r&&(o==e?(t-n)/r:o==t?2+(n-e)/r:4+(e-t)/r);return[60*(a<0?a+6:a),o&&r/o*100,100*o]}function cO(e,t,n){e/=255,t/=255,n/=255;let o=Math.max(e,t,n),r=o-Math.min(e,t,n),a=1-Math.abs(o+o-r-1),i=r&&(o==e?(t-n)/r:o==t?2+(n-e)/r:4+(e-t)/r);return[60*(i<0?i+6:i),a?r/a*100:0,50*(o+o-r)]}function uO(e,t,n){n/=100;let o=(t/=100)*Math.min(n,1-n),r=(t,r=(t+e/30)%12)=>n-o*Math.max(Math.min(r-3,9-r,1),-1);return[255*r(0),255*r(8),255*r(4)]}const hO="^\\s*",pO="\\s*$",fO="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",mO="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",vO="([0-9A-Fa-f])",gO="([0-9A-Fa-f]{2})",bO=new RegExp(`${hO}hsl\\s*\\(${mO},${fO},${fO}\\)${pO}`),yO=new RegExp(`${hO}hsv\\s*\\(${mO},${fO},${fO}\\)${pO}`),_O=new RegExp(`${hO}hsla\\s*\\(${mO},${fO},${fO},${mO}\\)${pO}`),xO=new RegExp(`${hO}hsva\\s*\\(${mO},${fO},${fO},${mO}\\)${pO}`),CO=new RegExp(`${hO}rgb\\s*\\(${mO},${mO},${mO}\\)${pO}`),wO=new RegExp(`${hO}rgba\\s*\\(${mO},${mO},${mO},${mO}\\)${pO}`),SO=new RegExp(`${hO}#${vO}${vO}${vO}${pO}`),kO=new RegExp(`${hO}#${gO}${gO}${gO}${pO}`),PO=new RegExp(`${hO}#${vO}${vO}${vO}${vO}${pO}`),TO=new RegExp(`${hO}#${gO}${gO}${gO}${gO}${pO}`);function RO(e){return parseInt(e,16)}function FO(e){try{let t;if(t=_O.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),BO(t[13])];if(t=bO.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(Nte){throw Nte}}function zO(e){try{let t;if(t=xO.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),BO(t[13])];if(t=yO.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(Nte){throw Nte}}function MO(e){try{let t;if(t=kO.exec(e))return[RO(t[1]),RO(t[2]),RO(t[3]),1];if(t=CO.exec(e))return[LO(t[1]),LO(t[5]),LO(t[9]),1];if(t=wO.exec(e))return[LO(t[1]),LO(t[5]),LO(t[9]),BO(t[13])];if(t=SO.exec(e))return[RO(t[1]+t[1]),RO(t[2]+t[2]),RO(t[3]+t[3]),1];if(t=TO.exec(e))return[RO(t[1]),RO(t[2]),RO(t[3]),BO(RO(t[4])/255)];if(t=PO.exec(e))return[RO(t[1]+t[1]),RO(t[2]+t[2]),RO(t[3]+t[3]),BO(RO(t[4]+t[4])/255)];if(e in aO)return MO(aO[e]);if(bO.test(e)||_O.test(e)){const[t,n,o,r]=FO(e);return[...uO(t,n,o),r]}if(yO.test(e)||xO.test(e)){const[t,n,o,r]=zO(e);return[...sO(t,n,o),r]}throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(Nte){throw Nte}}function $O(e,t,n,o){return`rgba(${LO(e)}, ${LO(t)}, ${LO(n)}, ${r=o,r>1?1:r<0?0:r})`;var r}function AO(e,t,n,o,r){return LO((e*t*(1-o)+n*o)/r)}function OO(e,t){Array.isArray(e)||(e=MO(e)),Array.isArray(t)||(t=MO(t));const n=e[3],o=t[3],r=BO(n+o-n*o);return $O(AO(e[0],n,t[0],o,r),AO(e[1],n,t[1],o,r),AO(e[2],n,t[2],o,r),r)}function DO(e,t){const[n,o,r,a=1]=Array.isArray(e)?e:MO(e);return"number"==typeof t.alpha?$O(n,o,r,t.alpha):$O(n,o,r,a)}function IO(e,t){const[n,o,r,a=1]=Array.isArray(e)?e:MO(e),{lightness:i=1,alpha:l=1}=t;return HO([n*i,o*i,r*i,a*l])}function BO(e){const t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function EO(e){const t=Math.round(Number(e));return t>=360||t<0?0:t}function LO(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function jO(e){const t=Math.round(Number(e));return t>100?100:t<0?0:t}function NO(e){const[t,n,o]=Array.isArray(e)?e:MO(e);return function(e,t,n){return`rgb(${LO(e)}, ${LO(t)}, ${LO(n)})`}(t,n,o)}function HO(e){const[t,n,o]=e;return 3 in e?`rgba(${LO(t)}, ${LO(n)}, ${LO(o)}, ${BO(e[3])})`:`rgba(${LO(t)}, ${LO(n)}, ${LO(o)}, 1)`}function WO(e){return`hsv(${EO(e[0])}, ${jO(e[1])}%, ${jO(e[2])}%)`}function VO(e){const[t,n,o]=e;return 3 in e?`hsva(${EO(t)}, ${jO(n)}%, ${jO(o)}%, ${BO(e[3])})`:`hsva(${EO(t)}, ${jO(n)}%, ${jO(o)}%, 1)`}function UO(e){return`hsl(${EO(e[0])}, ${jO(e[1])}%, ${jO(e[2])}%)`}function qO(e){const[t,n,o]=e;return 3 in e?`hsla(${EO(t)}, ${jO(n)}%, ${jO(o)}%, ${BO(e[3])})`:`hsla(${EO(t)}, ${jO(n)}%, ${jO(o)}%, 1)`}function KO(e){if("string"==typeof e){let t;if(t=kO.exec(e))return`${t[0]}FF`;if(t=TO.exec(e))return t[0];if(t=SO.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}FF`;if(t=PO.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}${t[4]}${t[4]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map((e=>LO(e).toString(16).toUpperCase().padStart(2,"0"))).join("")}`+(3===e.length?"FF":LO(255*e[3]).toString(16).padStart(2,"0").toUpperCase())}function YO(e){if("string"==typeof e){let t;if(t=kO.exec(e))return t[0];if(t=TO.exec(e))return t[0].slice(0,7);if(t=SO.exec(e)||PO.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map((e=>LO(e).toString(16).toUpperCase().padStart(2,"0"))).join("")}`}function GO(e=8){return Math.random().toString(16).slice(2,2+e)}function XO(e,t){const n=[];for(let o=0;o{t.contains(ZO(e))||n(e)};return{mousemove:e,touchstart:e}}if("clickoutside"===e){let e=!1;const o=n=>{e=!t.contains(ZO(n))},r=o=>{e&&(t.contains(ZO(o))||n(o))};return{mousedown:o,mouseup:r,touchstart:o,touchend:r}}return{}}(e,t,n)),a}const{on:eD,off:tD}=function(){if("undefined"==typeof window)return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function r(e,t,n){const o=e[t];return e[t]=function(){return n.apply(e,arguments),o.apply(e,arguments)},e}function a(e,t){e[t]=Event.prototype[t]}const i=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function s(){var e;return null!==(e=i.get(this))&&void 0!==e?e:null}function d(e,t){void 0!==l&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:null!=t?t:l.get})}const c={bubble:{},capture:{}},u={},h=function(){const l=function(l){const{type:u,eventPhase:h,bubbles:p}=l,f=ZO(l);if(2===h)return;const m=1===h?"capture":"bubble";let v=f;const g=[];for(;null===v&&(v=window),g.push(v),v!==window;)v=v.parentNode||null;const b=c.capture[u],y=c.bubble[u];if(r(l,"stopPropagation",n),r(l,"stopImmediatePropagation",o),d(l,s),"capture"===m){if(void 0===b)return;for(let n=g.length-1;n>=0&&!e.has(l);--n){const e=g[n],o=b.get(e);if(void 0!==o){i.set(l,e);for(const e of o){if(t.has(l))break;e(l)}}if(0===n&&!p&&void 0!==y){const n=y.get(e);if(void 0!==n)for(const e of n){if(t.has(l))break;e(l)}}}}else if("bubble"===m){if(void 0===y)return;for(let n=0;nt(e)))};return e.displayName="evtdUnifiedWindowEventHandler",e}();function f(e,t){const n=c[e];return void 0===n[t]&&(n[t]=new Map,window.addEventListener(t,h,"capture"===e)),n[t]}function m(e,t){let n=e.get(t);return void 0===n&&e.set(t,n=new Set),n}function v(e,t,n,o){const r=function(e,t,n,o){if("mousemoveoutside"===e||"clickoutside"===e){const r=JO(e,t,n);return Object.keys(r).forEach((e=>{tD(e,document,r[e],o)})),!0}return!1}(e,t,n,o);if(r)return;const a=!0===o||"object"==typeof o&&!0===o.capture,i=a?"capture":"bubble",l=f(i,e),s=m(l,t);if(t===window){if(!function(e,t,n,o){const r=c[t][n];if(void 0!==r){const t=r.get(e);if(void 0!==t&&t.has(o))return!0}return!1}(t,a?"bubble":"capture",e,n)&&function(e,t){const n=u[e];return!(void 0===n||!n.has(t))}(e,n)){const t=u[e];t.delete(n),0===t.size&&(window.removeEventListener(e,p),u[e]=void 0)}}s.has(n)&&s.delete(n),0===s.size&&l.delete(t),0===l.size&&(window.removeEventListener(e,h,"capture"===i),c[i][e]=void 0)}return{on:function(e,t,n,o){let r;r="object"==typeof o&&!0===o.once?a=>{v(e,t,r,o),n(a)}:n;if(function(e,t,n,o){if("mousemoveoutside"===e||"clickoutside"===e){const r=JO(e,t,n);return Object.keys(r).forEach((e=>{eD(e,document,r[e],o)})),!0}return!1}(e,t,r,o))return;const a=m(f(!0===o||"object"==typeof o&&!0===o.capture?"capture":"bubble",e),t);if(a.has(r)||a.add(r),t===window){const t=function(e){return void 0===u[e]&&(u[e]=new Set,window.addEventListener(e,p)),u[e]}(e);t.has(r)||t.add(r)}},off:v}}();function nD(e){const t=vt(!!e.value);if(t.value)return at(t);const n=er(e,(e=>{e&&(t.value=!0,n())}));return at(t)}function oD(e){const t=Qr(e),n=vt(t.value);return er(t,(e=>{n.value=e})),"function"==typeof e?n:{__v_isRef:!0,get value(){return n.value},set value(t){e.set(t)}}}function rD(){return null!==Nr()}const aD="undefined"!=typeof window;let iD,lD;var sD,dD;function cD(e){if(lD)return;let t=!1;Kn((()=>{lD||null==iD||iD.then((()=>{t||e()}))})),Xn((()=>{t=!0}))}iD=aD?null===(dD=null===(sD=document)||void 0===sD?void 0:sD.fonts)||void 0===dD?void 0:dD.ready:void 0,lD=!1,void 0!==iD?iD.then((()=>{lD=!0})):lD=!0;const uD=vt(null);function hD(e){if(e.clientX>0||e.clientY>0)uD.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:e,top:n,width:o,height:r}=t.getBoundingClientRect();uD.value=e>0||n>0?{x:e+o/2,y:n+r/2}:{x:0,y:0}}else uD.value=null}}let pD=0,fD=!0;function mD(){if(!aD)return at(vt(null));0===pD&&eD("click",document,hD,!0);const e=()=>{pD+=1};return fD&&(fD=rD())?(qn(e),Xn((()=>{pD-=1,0===pD&&tD("click",document,hD,!0)}))):e(),at(uD)}const vD=vt(void 0);let gD=0;function bD(){vD.value=Date.now()}let yD=!0;function _D(e){if(!aD)return at(vt(!1));const t=vt(!1);let n=null;function o(){null!==n&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout((()=>{t.value=!1}),e)}0===gD&&eD("click",window,bD,!0);const a=()=>{gD+=1,eD("click",window,r,!0)};return yD&&(yD=rD())?(qn(a),Xn((()=>{gD-=1,0===gD&&tD("click",window,bD,!0),tD("click",window,r,!0),o()}))):a(),at(t)}function xD(e,t){return er(e,(e=>{void 0!==e&&(t.value=e)})),Qr((()=>void 0===e.value?t.value:e.value))}function CD(){const e=vt(!1);return Kn((()=>{e.value=!0})),at(e)}function wD(e,t){return Qr((()=>{for(const n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]}))}const SD="undefined"!=typeof window&&(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream;const kD={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};const PD={};function TD(e={},t){const n=ot({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:r}=e,a=e=>{switch(e.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0}void 0!==o&&Object.keys(o).forEach((t=>{if(t!==e.key)return;const n=o[t];if("function"==typeof n)n(e);else{const{stop:t=!1,prevent:o=!1}=n;t&&e.stopPropagation(),o&&e.preventDefault(),n.handler(e)}}))},i=e=>{switch(e.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1}void 0!==r&&Object.keys(r).forEach((t=>{if(t!==e.key)return;const n=r[t];if("function"==typeof n)n(e);else{const{stop:t=!1,prevent:o=!1}=n;t&&e.stopPropagation(),o&&e.preventDefault(),n.handler(e)}}))},l=()=>{(void 0===t||t.value)&&(eD("keydown",document,a),eD("keyup",document,i)),void 0!==t&&er(t,(e=>{e?(eD("keydown",document,a),eD("keyup",document,i)):(tD("keydown",document,a),tD("keyup",document,i))}))};return rD()?(qn(l),Xn((()=>{(void 0===t||t.value)&&(tD("keydown",document,a),tD("keyup",document,i))}))):l(),at(n)}function RD(e){return e}const FD="n-internal-select-menu",zD="n-internal-select-menu-body",MD="n-drawer-body",$D="n-modal-body",AD="n-modal",OD="n-popover-body",DD="__disabled__";function ID(e){const t=Ro($D,null),n=Ro(MD,null),o=Ro(OD,null),r=Ro(zD,null),a=vt();if("undefined"!=typeof document){a.value=document.fullscreenElement;const e=()=>{a.value=document.fullscreenElement};Kn((()=>{eD("fullscreenchange",document,e)})),Xn((()=>{tD("fullscreenchange",document,e)}))}return oD((()=>{var i;const{to:l}=e;return void 0!==l?!1===l?DD:!0===l?a.value||"body":l:(null==t?void 0:t.value)?null!==(i=t.value.$el)&&void 0!==i?i:t.value:(null==n?void 0:n.value)?n.value:(null==o?void 0:o.value)?o.value:(null==r?void 0:r.value)?r.value:null!=l?l:a.value||"body"}))}function BD(e,t,n){var o;const r=Ro(e,null);if(null===r)return;const a=null===(o=Nr())||void 0===o?void 0:o.proxy;function i(e,n){if(!r)return;const o=r[t];void 0!==n&&function(e,t){e[t]||(e[t]=[]);e[t].splice(e[t].findIndex((e=>e===a)),1)}(o,n),void 0!==e&&function(e,t){e[t]||(e[t]=[]);~e[t].findIndex((e=>e===a))||e[t].push(a)}(o,e)}er(n,i),i(n.value),Xn((()=>{i(void 0,n.value)}))}ID.tdkey=DD,ID.propTo={type:[String,Object,Boolean],default:void 0};const ED="undefined"!=typeof document&&"undefined"!=typeof window,LD=vt(!1);function jD(){LD.value=!0}function ND(){LD.value=!1}let HD=0;let WD=0,VD="",UD="",qD="",KD="";const YD=vt("0px");function GD(e){const t={isDeactivated:!1};let n=!1;return jn((()=>{t.isDeactivated=!1,n?e():n=!0})),Nn((()=>{t.isDeactivated=!0,n||(n=!0)})),t}function XD(e,t,n="default"){const o=t[n];if(void 0===o)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function ZD(e,t=!0,n=[]){return e.forEach((e=>{if(null!==e)if("object"==typeof e)if(Array.isArray(e))ZD(e,t,n);else if(e.type===pr){if(null===e.children)return;Array.isArray(e.children)&&ZD(e.children,t,n)}else e.type!==mr&&n.push(e);else"string"!=typeof e&&"number"!=typeof e||n.push($r(String(e)))})),n}function QD(e,t,n="default"){const o=t[n];if(void 0===o)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=ZD(o());if(1===r.length)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let JD=null;function eI(){if(null===JD&&(JD=document.getElementById("v-binder-view-measurer"),null===JD)){JD=document.createElement("div"),JD.id="v-binder-view-measurer";const{style:e}=JD;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(JD)}return JD.getBoundingClientRect()}function tI(e){const t=e.getBoundingClientRect(),n=eI();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function nI(e){if(null===e)return null;const t=function(e){return 9===e.nodeType?null:e.parentNode}(e);if(null===t)return null;if(9===t.nodeType)return document;if(1===t.nodeType){const{overflow:e,overflowX:n,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(e+o+n))return t}return nI(t)}const oI=$n({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;To("VBinder",null===(t=Nr())||void 0===t?void 0:t.proxy);const n=Ro("VBinder",null),o=vt(null);let r=[];const a=()=>{for(const e of r)tD("scroll",e,l,!0);r=[]},i=new Set,l=()=>{ZA(s)},s=()=>{i.forEach((e=>e()))},d=new Set,c=()=>{d.forEach((e=>e()))};return Xn((()=>{tD("resize",window,c),a()})),{targetRef:o,setTargetRef:t=>{o.value=t,n&&e.syncTargetWithParent&&n.setTargetRef(t)},addScrollListener:e=>{0===i.size&&(()=>{let e=o.value;for(;e=nI(e),null!==e;)r.push(e);for(const t of r)eD("scroll",t,l,!0)})(),i.has(e)||i.add(e)},removeScrollListener:e=>{i.has(e)&&i.delete(e),0===i.size&&a()},addResizeListener:e=>{0===d.size&&eD("resize",window,c),d.has(e)||d.add(e)},removeResizeListener:e=>{d.has(e)&&d.delete(e),0===d.size&&tD("resize",window,c)}}},render(){return XD("binder",this.$slots)}}),rI=$n({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Ro("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?on(QD("follower",this.$slots),[[t]]):QD("follower",this.$slots)}}),aI="@@mmoContext",iI={mounted(e,{value:t}){e[aI]={handler:void 0},"function"==typeof t&&(e[aI].handler=t,eD("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[aI];"function"==typeof t?n.handler?n.handler!==t&&(tD("mousemoveoutside",e,n.handler),n.handler=t,eD("mousemoveoutside",e,t)):(e[aI].handler=t,eD("mousemoveoutside",e,t)):n.handler&&(tD("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[aI];t&&tD("mousemoveoutside",e,t),e[aI].handler=void 0}},lI="@@coContext",sI={mounted(e,{value:t,modifiers:n}){e[lI]={handler:void 0},"function"==typeof t&&(e[lI].handler=t,eD("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[lI];"function"==typeof t?o.handler?o.handler!==t&&(tD("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,eD("clickoutside",e,t,{capture:n.capture})):(e[lI].handler=t,eD("clickoutside",e,t,{capture:n.capture})):o.handler&&(tD("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[lI];n&&tD("clickoutside",e,n,{capture:t.capture}),e[lI].handler=void 0}};const dI=new class{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(e,t){const{elementZIndex:n}=this;if(void 0!==t)return e.style.zIndex=`${t}`,void n.delete(e);const{nextZIndex:o}=this;if(n.has(e)){if(n.get(e)+1===this.nextZIndex)return}e.style.zIndex=`${o}`,n.set(e,o),this.nextZIndex=o+1,this.squashState()}unregister(e,t){const{elementZIndex:n}=this;n.has(e)&&n.delete(e),this.squashState()}squashState(){const{elementCount:e}=this;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}rearrange(){const e=Array.from(this.elementZIndex.entries());e.sort(((e,t)=>e[1]-t[1])),this.nextZIndex=2e3,e.forEach((e=>{const t=e[0],n=this.nextZIndex++;`${n}`!==t.style.zIndex&&(t.style.zIndex=`${n}`)}))}},cI="@@ziContext",uI={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[cI]={enabled:!!r,initialized:!1},r&&(dI.ensureZIndex(e,o),e[cI].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,a=e[cI].enabled;r&&!a&&(dI.ensureZIndex(e,o),e[cI].initialized=!0),e[cI].enabled=!!r},unmounted(e,t){if(!e[cI].initialized)return;const{value:n={}}=t,{zIndex:o}=n;dI.unregister(e,o)}};const hI="undefined"!=typeof document;function pI(){if(hI)return;const e=Ro("@css-render/vue3-ssr",null);return null!==e?{adapter:(t,n)=>function(e,t,n){const{styles:o,ids:r}=n;r.has(e)||null!==o&&(r.add(e),o.push(function(e,t){return``}(e,t)))}(t,n,e),context:e}:void 0}const{c:fI}=AA(),mI="vueuc-style";function vI(e){return e&-e}class gI{constructor(e,t){this.l=e,this.min=t;const n=new Array(e+1);for(let o=0;oo)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let r=e*n;for(;e>0;)r+=t[e],e-=vI(e);return r}getBound(e){let t=0,n=this.l;for(;n>t;){const o=Math.floor((t+n)/2),r=this.sum(o);if(r>e)n=o;else{if(!(r({showTeleport:nD(Ft(e,"show")),mergedTo:Qr((()=>{const{to:t}=e;return null!=t?t:"body"}))}),render(){return this.showTeleport?this.disabled?XD("lazy-teleport",this.$slots):Jr(mn,{disabled:this.disabled,to:this.mergedTo},XD("lazy-teleport",this.$slots)):null}}),_I={top:"bottom",bottom:"top",left:"right",right:"left"},xI={start:"end",center:"center",end:"start"},CI={top:"height",bottom:"height",left:"width",right:"width"},wI={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},SI={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},kI={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},PI={top:!0,bottom:!1,left:!0,right:!1},TI={top:"end",bottom:"start",left:"end",right:"start"};const RI=fI([fI(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),fI(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[fI("> *",{pointerEvents:"all"})])]),FI=$n({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Ro("VBinder"),n=oD((()=>void 0!==e.enabled?e.enabled:e.show)),o=vt(null),r=vt(null),a=()=>{const{syncTrigger:n}=e;n.includes("scroll")&&t.addScrollListener(s),n.includes("resize")&&t.addResizeListener(s)},i=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};Kn((()=>{n.value&&(s(),a())}));const l=pI();RI.mount({id:"vueuc/binder",head:!0,anchorMetaName:mI,ssr:l}),Xn((()=>{i()})),cD((()=>{n.value&&s()}));const s=()=>{if(!n.value)return;const a=o.value;if(null===a)return;const i=t.targetRef,{x:l,y:s,overlap:d}=e,c=void 0!==l&&void 0!==s?function(e,t){const n=eI();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}(l,s):tI(i);a.style.setProperty("--v-target-width",`${Math.round(c.width)}px`),a.style.setProperty("--v-target-height",`${Math.round(c.height)}px`);const{width:u,minWidth:h,placement:p,internalShift:f,flip:m}=e;a.setAttribute("v-placement",p),d?a.setAttribute("v-overlap",""):a.removeAttribute("v-overlap");const{style:v}=a;v.width="target"===u?`${c.width}px`:void 0!==u?u:"",v.minWidth="target"===h?`${c.width}px`:void 0!==h?h:"";const g=tI(a),b=tI(r.value),{left:y,top:_,placement:x}=function(e,t,n,o,r,a){if(!r||a)return{placement:e,top:0,left:0};const[i,l]=e.split("-");let s=null!=l?l:"center",d={top:0,left:0};const c=(e,r,a)=>{let i=0,l=0;const s=n[e]-t[r]-t[e];return s>0&&o&&(a?l=PI[r]?s:-s:i=PI[r]?s:-s),{left:i,top:l}},u="left"===i||"right"===i;if("center"!==s){const o=kI[e],r=_I[o],a=CI[o];if(n[a]>t[a]){if(t[o]+t[a]t[r]&&(s=xI[l])}else{const e="bottom"===i||"top"===i?"left":"top",o=_I[e],r=CI[e],a=(n[r]-t[r])/2;(t[e]t[o]?(s=TI[e],d=c(r,e,u)):(s=TI[o],d=c(r,o,u)))}let h=i;return t[i]{e?(a(),d()):i()}));const d=()=>{Kt().then(s).catch((e=>{}))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach((t=>{er(Ft(e,t),s)})),["teleportDisabled"].forEach((t=>{er(Ft(e,t),d)})),er(Ft(e,"syncTrigger"),(e=>{e.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),e.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)}));const c=CD(),u=oD((()=>{const{to:t}=e;if(void 0!==t)return t;c.value}));return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:u,syncPosition:s}},render(){return Jr(yI,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=Jr("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[Jr("div",{class:"v-binder-follower-content",ref:"followerRef"},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))]);return this.zindexable?on(n,[[uI,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var zI,MI,$I=[],AI="ResizeObserver loop completed with undelivered notifications.";(MI=zI||(zI={})).BORDER_BOX="border-box",MI.CONTENT_BOX="content-box",MI.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var OI,DI=function(e){return Object.freeze(e)},II=function(){return function(e,t){this.inlineSize=e,this.blockSize=t,DI(this)}}(),BI=function(){function e(e,t,n,o){return this.x=e,this.y=t,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,DI(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),EI=function(e){return e instanceof SVGElement&&"getBBox"in e},LI=function(e){if(EI(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},jI=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},NI="undefined"!=typeof window?window:{},HI=new WeakMap,WI=/auto|scroll/,VI=/^tb|vertical/,UI=/msie|trident/i.test(NI.navigator&&NI.navigator.userAgent),qI=function(e){return parseFloat(e||"0")},KI=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new II((n?t:e)||0,(n?e:t)||0)},YI=DI({devicePixelContentBoxSize:KI(),borderBoxSize:KI(),contentBoxSize:KI(),contentRect:new BI(0,0,0,0)}),GI=function(e,t){if(void 0===t&&(t=!1),HI.has(e)&&!t)return HI.get(e);if(LI(e))return HI.set(e,YI),YI;var n=getComputedStyle(e),o=EI(e)&&e.ownerSVGElement&&e.getBBox(),r=!UI&&"border-box"===n.boxSizing,a=VI.test(n.writingMode||""),i=!o&&WI.test(n.overflowY||""),l=!o&&WI.test(n.overflowX||""),s=o?0:qI(n.paddingTop),d=o?0:qI(n.paddingRight),c=o?0:qI(n.paddingBottom),u=o?0:qI(n.paddingLeft),h=o?0:qI(n.borderTopWidth),p=o?0:qI(n.borderRightWidth),f=o?0:qI(n.borderBottomWidth),m=u+d,v=s+c,g=(o?0:qI(n.borderLeftWidth))+p,b=h+f,y=l?e.offsetHeight-b-e.clientHeight:0,_=i?e.offsetWidth-g-e.clientWidth:0,x=r?m+g:0,C=r?v+b:0,w=o?o.width:qI(n.width)-x-_,S=o?o.height:qI(n.height)-C-y,k=w+m+_+g,P=S+v+y+b,T=DI({devicePixelContentBoxSize:KI(Math.round(w*devicePixelRatio),Math.round(S*devicePixelRatio),a),borderBoxSize:KI(k,P,a),contentBoxSize:KI(w,S,a),contentRect:new BI(u,s,w,S)});return HI.set(e,T),T},XI=function(e,t,n){var o=GI(e,n),r=o.borderBoxSize,a=o.contentBoxSize,i=o.devicePixelContentBoxSize;switch(t){case zI.DEVICE_PIXEL_CONTENT_BOX:return i;case zI.BORDER_BOX:return r;default:return a}},ZI=function(){return function(e){var t=GI(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=DI([t.borderBoxSize]),this.contentBoxSize=DI([t.contentBoxSize]),this.devicePixelContentBoxSize=DI([t.devicePixelContentBoxSize])}}(),QI=function(e){if(LI(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},JI=function(){var e=1/0,t=[];$I.forEach((function(n){if(0!==n.activeTargets.length){var o=[];n.activeTargets.forEach((function(t){var n=new ZI(t.target),r=QI(t.target);o.push(n),t.lastReportedSize=XI(t.target,t.observedBox),re?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},tB=function(){var e,t=0;for(eB(t);$I.some((function(e){return e.activeTargets.length>0}));)t=JI(),eB(t);return $I.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:AI}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=AI),window.dispatchEvent(e)),t>0},nB=[],oB=function(e){if(!OI){var t=0,n=document.createTextNode("");new MutationObserver((function(){return nB.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),OI=function(){n.textContent="".concat(t?t--:t++)}}nB.push(e),OI()},rB=0,aB={attributes:!0,characterData:!0,childList:!0,subtree:!0},iB=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lB=function(e){return void 0===e&&(e=0),Date.now()+e},sB=!1,dB=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!sB){sB=!0;var n,o=lB(e);n=function(){var n=!1;try{n=tB()}finally{if(sB=!1,e=o-lB(),!rB)return;n?t.run(1e3):e>0?t.run(e):t.start()}},oB((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,aB)};document.body?t():NI.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),iB.forEach((function(t){return NI.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),iB.forEach((function(t){return NI.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),cB=function(e){!rB&&e>0&&dB.start(),!(rB+=e)&&dB.stop()},uB=function(){function e(e,t){this.target=e,this.observedBox=t||zI.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=XI(this.target,this.observedBox,!0);return e=this.target,EI(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),hB=function(){return function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}}(),pB=new WeakMap,fB=function(e,t){for(var n=0;n=0&&(r&&$I.splice($I.indexOf(n),1),n.observationTargets.splice(o,1),cB(-1))},e.disconnect=function(e){var t=this,n=pB.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),vB=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");mB.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jI(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");mB.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jI(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");mB.unobserve(this,e)},e.prototype.disconnect=function(){mB.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const gB=new class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||vB)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const t of e){const e=this.elHandlersMap.get(t.target);void 0!==e&&e(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}},bB=$n({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Nr().proxy;function o(t){const{onResize:n}=e;void 0!==n&&n(t)}Kn((()=>{const e=n.$el;void 0!==e&&(e.nextElementSibling!==e.nextSibling&&3===e.nodeType&&""!==e.nodeValue||null!==e.nextElementSibling&&(gB.registerHandler(e.nextElementSibling,o),t=!0))})),Xn((()=>{t&&gB.unregisterHandler(n.$el.nextElementSibling)}))},render(){return oo(this.$slots,"default")}});let yB,_B;function xB(){return"undefined"==typeof document?1:(void 0===_B&&(_B="chrome"in window?window.devicePixelRatio:1),_B)}const CB="VVirtualListXScroll";const wB=$n({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:t,columnsRef:n,getLeft:o,renderColRef:r,renderItemWithColsRef:a}=Ro(CB);return{startIndex:e,endIndex:t,columns:n,renderCol:r,renderItemWithCols:a,getLeft:o}},render(){const{startIndex:e,endIndex:t,columns:n,renderCol:o,renderItemWithCols:r,getLeft:a,item:i}=this;if(null!=r)return r({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:n,item:i,getLeft:a});if(null!=o){const r=[];for(let l=e;l<=t;++l){const e=n[l];r.push(o({column:e,left:a(l),item:i}))}return r}return null}}),SB=fI(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[fI("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[fI("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),kB=$n({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=pI();SB.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:mI,ssr:t}),Kn((()=>{const{defaultScrollIndex:t,defaultScrollKey:n}=e;null!=t?v({index:t}):null!=n&&v({key:n})}));let n=!1,o=!1;jn((()=>{n=!1,o?v({top:p.value,left:i.value}):o=!0})),Nn((()=>{n=!0,o||(o=!0)}));const r=oD((()=>{if(null==e.renderCol&&null==e.renderItemWithCols)return;if(0===e.columns.length)return;let t=0;return e.columns.forEach((e=>{t+=e.width})),t})),a=Qr((()=>{const t=new Map,{keyField:n}=e;return e.items.forEach(((e,o)=>{t.set(e[n],o)})),t})),{scrollLeftRef:i,listWidthRef:l}=function({columnsRef:e,renderColRef:t,renderItemWithColsRef:n}){const o=vt(0),r=vt(0),a=Qr((()=>{const t=e.value;if(0===t.length)return null;const n=new gI(t.length,0);return t.forEach(((e,t)=>{n.add(t,e.width)})),n})),i=oD((()=>{const e=a.value;return null!==e?Math.max(e.getBound(r.value)-1,0):0})),l=oD((()=>{const t=a.value;return null!==t?Math.min(t.getBound(r.value+o.value)+1,e.value.length-1):0}));return To(CB,{startIndexRef:i,endIndexRef:l,columnsRef:e,renderColRef:t,renderItemWithColsRef:n,getLeft:e=>{const t=a.value;return null!==t?t.sum(e):0}}),{listWidthRef:o,scrollLeftRef:r}}({columnsRef:Ft(e,"columns"),renderColRef:Ft(e,"renderCol"),renderItemWithColsRef:Ft(e,"renderItemWithCols")}),s=vt(null),d=vt(void 0),c=new Map,u=Qr((()=>{const{items:t,itemSize:n,keyField:o}=e,r=new gI(t.length,n);return t.forEach(((e,t)=>{const n=e[o],a=c.get(n);void 0!==a&&r.add(t,a)})),r})),h=vt(0),p=vt(0),f=oD((()=>Math.max(u.value.getBound(p.value-tO(e.paddingTop))-1,0))),m=Qr((()=>{const{value:t}=d;if(void 0===t)return[];const{items:n,itemSize:o}=e,r=f.value,a=Math.min(r+Math.ceil(t/o+1),n.length-1),i=[];for(let e=r;e<=a;++e)i.push(n[e]);return i})),v=(e,t)=>{if("number"==typeof e)return void _(e,t,"auto");const{left:n,top:o,index:r,key:i,position:l,behavior:s,debounce:d=!0}=e;if(void 0!==n||void 0!==o)_(n,o,s);else if(void 0!==r)y(r,s,d);else if(void 0!==i){const e=a.value.get(i);void 0!==e&&y(e,s,d)}else"bottom"===l?_(0,Number.MAX_SAFE_INTEGER,s):"top"===l&&_(0,0,s)};let g,b=null;function y(t,n,o){const{value:r}=u,a=r.sum(t)+tO(e.paddingTop);if(o){g=t,null!==b&&window.clearTimeout(b),b=window.setTimeout((()=>{g=void 0,b=null}),16);const{scrollTop:e,offsetHeight:o}=s.value;if(a>e){const i=r.get(t);a+i<=e+o||s.value.scrollTo({left:0,top:a+i-o,behavior:n})}else s.value.scrollTo({left:0,top:a,behavior:n})}else s.value.scrollTo({left:0,top:a,behavior:n})}function _(e,t,n){s.value.scrollTo({left:e,top:t,behavior:n})}const x=!("undefined"!=typeof document&&(void 0===yB&&(yB="matchMedia"in window&&window.matchMedia("(pointer:coarse)").matches),yB));let C=!1;function w(){const{value:e}=s;null!=e&&(p.value=e.scrollTop,i.value=e.scrollLeft)}function S(e){let t=e;for(;null!==t;){if("none"===t.style.display)return!0;t=t.parentElement}return!1}return{listHeight:d,listStyle:{overflow:"auto"},keyToIndex:a,itemsStyle:Qr((()=>{const{itemResizable:t}=e,n=nO(u.value.sum());return h.value,[e.itemsStyle,{boxSizing:"content-box",width:nO(r.value),height:t?"":n,minHeight:t?n:"",paddingTop:nO(e.paddingTop),paddingBottom:nO(e.paddingBottom)}]})),visibleItemsStyle:Qr((()=>(h.value,{transform:`translateY(${nO(u.value.sum(f.value))})`}))),viewportItems:m,listElRef:s,itemsElRef:vt(null),scrollTo:v,handleListResize:function(t){if(n)return;if(S(t.target))return;if(null==e.renderCol&&null==e.renderItemWithCols){if(t.contentRect.height===d.value)return}else if(t.contentRect.height===d.value&&t.contentRect.width===l.value)return;d.value=t.contentRect.height,l.value=t.contentRect.width;const{onResize:o}=e;void 0!==o&&o(t)},handleListScroll:function(t){var n;null===(n=e.onScroll)||void 0===n||n.call(e,t),x&&C||w()},handleListWheel:function(t){var n;if(null===(n=e.onWheel)||void 0===n||n.call(e,t),x){const e=s.value;if(null!=e){if(0===t.deltaX){if(0===e.scrollTop&&t.deltaY<=0)return;if(e.scrollTop+e.offsetHeight>=e.scrollHeight&&t.deltaY>=0)return}t.preventDefault(),e.scrollTop+=t.deltaY/xB(),e.scrollLeft+=t.deltaX/xB(),w(),C=!0,ZA((()=>{C=!1}))}}},handleItemResize:function(t,o){var r,i,l;if(n)return;if(e.ignoreItemResize)return;if(S(o.target))return;const{value:d}=u,p=a.value.get(t),f=d.get(p),m=null!==(l=null===(i=null===(r=o.borderBoxSize)||void 0===r?void 0:r[0])||void 0===i?void 0:i.blockSize)&&void 0!==l?l:o.contentRect.height;if(m===f)return;0===m-e.itemSize?c.delete(t):c.set(t,m-e.itemSize);const v=m-f;if(0===v)return;d.add(p,v);const b=s.value;if(null!=b){if(void 0===g){const e=d.sum(p);b.scrollTop>e&&b.scrollBy(0,v)}else if(pb.scrollTop+b.offsetHeight&&b.scrollBy(0,v)}w()}h.value++}}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return Jr(bB,{onResize:this.handleListResize},{default:()=>{var r,a;return Jr("div",Ir(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[0!==this.items.length?Jr("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[Jr(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:o,renderItemWithCols:r}=this;return this.viewportItems.map((a=>{const i=a[t],l=n.get(i),s=null!=o?Jr(wB,{index:l,item:a}):void 0,d=null!=r?Jr(wB,{index:l,item:a}):void 0,c=this.$slots.default({item:a,renderedCols:s,renderedItemWithCols:d,index:l})[0];return e?Jr(bB,{key:i,onResize:e=>this.handleItemResize(i,e)},{default:()=>c}):(c.key=i,c)}))}})]):null===(a=(r=this.$slots).empty)||void 0===a?void 0:a.call(r)])}})}}),PB="v-hidden",TB=fI("[v-hidden]",{display:"none!important"}),RB=$n({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=vt(null),o=vt(null);function r(r){const{value:a}=n,{getCounter:i,getTail:l}=e;let s;if(s=void 0!==i?i():o.value,!a||!s)return;s.hasAttribute(PB)&&s.removeAttribute(PB);const{children:d}=a;if(r.showAllItemsBeforeCalculate)for(const e of d)e.hasAttribute(PB)&&e.removeAttribute(PB);const c=a.offsetWidth,u=[],h=t.tail?null==l?void 0:l():null;let p=h?h.offsetWidth:0,f=!1;const m=a.children.length-(t.tail?1:0);for(let t=0;tc){const{updateCounter:n}=e;for(let o=t;o>=0;--o){const r=m-1-o;void 0!==n?n(r):s.textContent=`${r}`;const a=s.offsetWidth;if(p-=u[o],p+a<=c||0===o){f=!0,t=o-1,h&&(-1===t?(h.style.maxWidth=c-a+"px",h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:n}=e;n&&n(r);break}}}}const{onUpdateOverflow:v}=e;f?void 0!==v&&v(!0):(void 0!==v&&v(!1),s.setAttribute(PB,""))}const a=pI();return TB.mount({id:"vueuc/overflow",head:!0,anchorMetaName:mI,ssr:a}),Kn((()=>r({showAllItemsBeforeCalculate:!1}))),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Kt((()=>this.sync({showAllItemsBeforeCalculate:!1}))),Jr("div",{class:"v-overflow",ref:"selfRef"},[oo(e,"default"),e.counter?e.counter():Jr("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function FB(e){return e instanceof HTMLElement}function zB(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(FB(n)&&($B(n)||MB(n)))return!0}return!1}function $B(e){if(!function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return!1;try{e.focus({preventScroll:!0})}catch(Nte){}return document.activeElement===e}let AB=[];const OB=$n({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=GO(),n=vt(null),o=vt(null);let r=!1,a=!1;const i="undefined"==typeof document?null:document.activeElement;function l(){return AB[AB.length-1]===t}function s(t){var n;"Escape"===t.code&&l()&&(null===(n=e.onEsc)||void 0===n||n.call(e,t))}function d(e){if(!a&&l()){const t=c();if(null===t)return;if(t.contains(JA(e)))return;h("first")}}function c(){const e=n.value;if(null===e)return null;let t=e;for(;!(t=t.nextSibling,null===t||t instanceof Element&&"DIV"===t.tagName););return t}function u(){var n;if(e.disabled)return;if(document.removeEventListener("focus",d,!0),AB=AB.filter((e=>e!==t)),l())return;const{finalFocusTo:o}=e;void 0!==o?null===(n=bI(o))||void 0===n||n.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&i instanceof HTMLElement&&(a=!0,i.focus({preventScroll:!0}),a=!1)}function h(t){if(l()&&e.active){const e=n.value,r=o.value;if(null!==e&&null!==r){const n=c();if(null==n||n===r)return a=!0,e.focus({preventScroll:!0}),void(a=!1);a=!0;const o="first"===t?zB(n):MB(n);a=!1,o||(a=!0,e.focus({preventScroll:!0}),a=!1)}}}return Kn((()=>{er((()=>e.active),(n=>{n?(!function(){var n;if(e.disabled)return;if(AB.push(t),e.autoFocus){const{initialFocusTo:t}=e;void 0===t?h("first"):null===(n=bI(t))||void 0===n||n.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",d,!0)}(),eD("keydown",document,s)):(tD("keydown",document,s),r&&u())}),{immediate:!0})})),Xn((()=>{tD("keydown",document,s),r&&u()})),{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(a)return;const t=c();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?h("last"):h("first"))},handleEndFocus:function(e){a||(null!==e.relatedTarget&&e.relatedTarget===n.value?h("last"):h("first"))}}},render(){const{default:e}=this.$slots;if(void 0===e)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return Jr(pr,null,[Jr("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),Jr("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function DB(e,t){t&&(Kn((()=>{const{value:n}=e;n&&gB.registerHandler(n,t)})),er(e,((e,t)=>{t&&gB.unregisterHandler(t)}),{deep:!1}),Xn((()=>{const{value:t}=e;t&&gB.unregisterHandler(t)})))}function IB(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}const BB=/^(\d|\.)+$/,EB=/(\d|\.)+/;function LB(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if("number"==typeof e){const o=(e+n)*t;return 0===o?"0":`${o}px`}if("string"==typeof e){if(BB.test(e)){const r=(Number(e)+n)*t;return o?0===r?"0":`${r}px`:`${r}`}{const o=EB.exec(e);return o?e.replace(EB,String((Number(o[0])+n)*t)):e}}return e}function jB(e){const{left:t,right:n,top:o,bottom:r}=oO(e);return`${o} ${t} ${r} ${n}`}function NB(e,t){if(!e)return;const n=document.createElement("a");n.href=e,void 0!==t&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}let HB;const WB=new WeakSet;function VB(e){WB.add(e)}function UB(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function qB(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function KB(e,t){}function YB(e,t){throw new Error(`[naive/${e}]: ${t}`)}function GB(e,...t){if(!Array.isArray(e))return e(...t);e.forEach((e=>GB(e,...t)))}function XB(e){return"string"==typeof e?`s-${e}`:`n-${e}`}function ZB(e){return t=>{e.value=t?t.$el:null}}function QB(e,t=!0,n=[]){return e.forEach((e=>{if(null!==e)if("object"==typeof e)if(Array.isArray(e))QB(e,t,n);else if(e.type===pr){if(null===e.children)return;Array.isArray(e.children)&&QB(e.children,t,n)}else{if(e.type===mr&&t)return;n.push(e)}else"string"!=typeof e&&"number"!=typeof e||n.push($r(String(e)))})),n}function JB(e,t,n){if(!t)return null;const o=QB(t(n));return 1===o.length?o[0]:null}function eE(e,t="default",n=[]){const o=e.$slots[t];return void 0===o?n:o()}function tE(e,t=[],n){const o={};return t.forEach((t=>{o[t]=e[t]})),Object.assign(o,n)}function nE(e){return Object.keys(e)}function oE(e){const t=e.filter((e=>void 0!==e));if(0!==t.length)return 1===t.length?t[0]:t=>{e.forEach((e=>{e&&e(t)}))}}function rE(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach((n=>{t.includes(n)||(o[n]=e[n])})),Object.assign(o,n)}function aE(e,...t){return"function"==typeof e?e(...t):"string"==typeof e?$r(e):"number"==typeof e?$r(String(e)):null}function iE(e){return e.some((e=>!kr(e)||e.type!==mr&&!(e.type===pr&&!iE(e.children))))?e:null}function lE(e,t){return e&&iE(e())||t()}function sE(e,t,n){return e&&iE(e(t))||n(t)}function dE(e,t){return t(e&&iE(e())||null)}function cE(e){return!(e&&iE(e()))}const uE=$n({render(){var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}}),hE="n-config-provider",pE="n";function fE(e={},t={defaultBordered:!0}){const n=Ro(hE,null);return{inlineThemeDisabled:null==n?void 0:n.inlineThemeDisabled,mergedRtlRef:null==n?void 0:n.mergedRtlRef,mergedComponentPropsRef:null==n?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:null==n?void 0:n.mergedBreakpointsRef,mergedBorderedRef:Qr((()=>{var o,r;const{bordered:a}=e;return void 0!==a?a:null===(r=null!==(o=null==n?void 0:n.mergedBorderedRef.value)&&void 0!==o?o:t.defaultBordered)||void 0===r||r})),mergedClsPrefixRef:n?n.mergedClsPrefixRef:gt(pE),namespaceRef:Qr((()=>null==n?void 0:n.mergedNamespaceRef.value))}}function mE(){const e=Ro(hE,null);return e?e.mergedClsPrefixRef:gt(pE)}function vE(e,t,n,o){n||YB("useThemeClass","cssVarsRef is not passed");const r=Ro(hE,null),a=null==r?void 0:r.mergedThemeHashRef,i=null==r?void 0:r.styleMountTarget,l=vt(""),s=pI();let d;const c=`__${e}`;return Jo((()=>{(()=>{let e=c;const r=t?t.value:void 0,u=null==a?void 0:a.value;u&&(e+=`-${u}`),r&&(e+=`-${r}`);const{themeOverrides:h,builtinThemeOverrides:p}=o;h&&(e+=`-${PA(JSON.stringify(h))}`),p&&(e+=`-${PA(JSON.stringify(p))}`),l.value=e,d=()=>{const t=n.value;let o="";for(const e in t)o+=`${e}: ${t[e]};`;BA(`.${e}`,o).mount({id:e,ssr:s,parent:i}),d=void 0}})()})),{themeClass:l,onRender:()=>{null==d||d()}}}const gE="n-form-item";function bE(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=Ro(gE,null);To(gE,null);const a=Qr(n?()=>n(r):()=>{const{size:n}=e;if(n)return n;if(r){const{mergedSize:e}=r;if(void 0!==e.value)return e.value}return t}),i=Qr(o?()=>o(r):()=>{const{disabled:t}=e;return void 0!==t?t:!!r&&r.disabled.value}),l=Qr((()=>{const{status:t}=e;return t||(null==r?void 0:r.mergedValidationStatus.value)}));return Xn((()=>{r&&r.restoreValidation()})),{mergedSizeRef:a,mergedDisabledRef:i,mergedStatusRef:l,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}const yE={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},_E={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}};function xE(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}function CE(e){return(t,n)=>{let o;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;o=e.formattingValues[r]||e.formattingValues[t]}else{const t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;o=e.values[r]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function wE(e){return(t,n={})=>{const o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(r);if(!a)return null;const i=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;ne.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(l,(e=>e.test(i)));let d;d=e.valueCallback?e.valueCallback(s):s,d=n.valueCallback?n.valueCallback(d):d;return{value:d,rest:t.slice(i.length)}}}function SE(e){return(t,n={})=>{const o=t.match(e.matchPattern);if(!o)return null;const r=o[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;return{value:i,rest:t.slice(r.length)}}}const kE={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},PE={date:xE({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:xE({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},TE={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},RE={code:"ar-DZ",formatDistance:(e,t,n)=>{n=n||{};const o=kE[e];let r;return r="string"==typeof o?o:1===t?o.one:2===t?o.two:t<=10?o.threeToTen.replace("{{count}}",String(t)):o.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?"في خلال "+r:"منذ "+r:r},formatLong:PE,formatRelative:(e,t,n,o)=>TE[e],localize:{ordinalNumber:e=>String(e),era:CE({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:CE({values:{narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:CE({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:wE({matchPatterns:{narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جان/i,/^فيف/i,/^مار/i,/^أفر/i,/^ماي/i,/^جوا/i,/^جوي/i,/^أوت/i,/^سبت/i,/^أكت/i,/^نوف/i,/^ديس/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function FE(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}let zE={};function ME(){return zE}function $E(e,t){var n,o,r,a;const i=ME(),l=(null==t?void 0:t.weekStartsOn)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.weekStartsOn)??i.weekStartsOn??(null==(a=null==(r=i.locale)?void 0:r.options)?void 0:a.weekStartsOn)??0,s=FE(e),d=s.getDay(),c=(d{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:CE({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:CE({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},BE={ordinalNumber:SE({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},EE={code:"en-US",formatDistance:(e,t,n)=>{let o;const r=OE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:{date:xE({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:xE({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:(e,t,n,o)=>DE[e],localize:IE,match:BE,options:{weekStartsOn:0,firstWeekContainsDate:1}},LE={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},jE={date:xE({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:xE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},NE={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},HE={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},WE={code:"es",formatDistance:(e,t,n)=>{let o;const r=LE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o},formatLong:jE,formatRelative:(e,t,n,o)=>1!==t.getHours()?HE[e]:NE[e],localize:{ordinalNumber:(e,t)=>Number(e)+"º",era:CE({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:CE({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:CE({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:wE({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},VE={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},UE={date:xE({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:xE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},qE={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},KE=["MMM","MMMM"],YE={code:"fr",formatDistance:(e,t,n)=>{let o;const r=VE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o},formatLong:UE,formatRelative:(e,t,n,o)=>qE[e],localize:{preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some((e=>e.isToken&&KE.includes(e.value)))?t.map((e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e)):t},ordinalNumber:(e,t)=>{const n=Number(e),o=null==t?void 0:t.unit;if(0===n)return"0";let r;return r=1===n?o&&["year","week","hour","minute","second"].includes(o)?"ère":"er":"ème",n+r},era:CE({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:CE({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:wE({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},GE={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},XE={date:xE({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:xE({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ZE={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},QE={code:"ja",formatDistance:(e,t,n)=>{let o;n=n||{};const r=GE[e];return o="string"==typeof r?r:1===t?n.addSuffix&&r.oneWithSuffix?r.oneWithSuffix:r.one:n.addSuffix&&r.otherWithSuffix?r.otherWithSuffix.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?o+"後":o+"前":o},formatLong:XE,formatRelative:(e,t,n,o)=>ZE[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(String(null==t?void 0:t.unit)){case"year":return`${n}年`;case"quarter":return`第${n}四半期`;case"month":return`${n}月`;case"week":return`第${n}週`;case"date":return`${n}日`;case"hour":return`${n}時`;case"minute":return`${n}分`;case"second":return`${n}秒`;default:return`${n}`}},era:CE({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:CE({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:CE({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:wE({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},JE={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},eL={date:xE({formats:{full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:xE({formats:{full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},tL={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},nL={code:"ko",formatDistance:(e,t,n)=>{let o;const r=JE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?o+" 후":o+" 전":o},formatLong:eL,formatRelative:(e,t,n,o)=>tL[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(String(null==t?void 0:t.unit)){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},era:CE({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},defaultWidth:"wide"}),day:CE({values:{narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultWidth:"wide",formattingValues:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(일|번째)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|기원전)/i,/^(ad|서기)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},defaultMatchWidth:"wide",parsePatterns:{any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},oL={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},rL={date:xE({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:xE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},aL={lastWeek:e=>{const t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},iL={code:"pt-BR",formatDistance:(e,t,n)=>{let o;const r=oL[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"em "+o:"há "+o:o},formatLong:rL,formatRelative:(e,t,n,o)=>{const r=aL[e];return"function"==typeof r?r(t):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e);return"week"===(null==t?void 0:t.unit)?n+"ª":n+"º"},era:CE({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:CE({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function lL(e,t){if(void 0!==e.one&&1===t)return e.one;const n=t%10,o=t%100;return 1===n&&11!==o?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(o<10||o>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function sL(e){return(t,n)=>(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?e.future?lL(e.future,t):"через "+lL(e.regular,t):e.past?lL(e.past,t):lL(e.regular,t)+" назад":lL(e.regular,t)}const dL={lessThanXSeconds:sL({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:sL({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>(null==t?void 0:t.addSuffix)?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:sL({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:sL({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:sL({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:sL({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:sL({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:sL({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:sL({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:sL({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:sL({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:sL({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:sL({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:sL({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:sL({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},cL={date:xE({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:xE({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:xE({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},uL=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function hL(e){const t=uL[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}const pL={lastWeek:(e,t,n)=>{const o=e.getDay();return AE(e,t,n)?hL(o):function(e){const t=uL[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(o)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const o=e.getDay();return AE(e,t,n)?hL(o):function(e){const t=uL[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(o)},other:"P"},fL={code:"ru",formatDistance:(e,t,n)=>dL[e](t,n),formatLong:cL,formatRelative:(e,t,n,o)=>{const r=pL[e];return"function"==typeof r?r(t,n,o):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e),o=null==t?void 0:t.unit;let r;return r="date"===o?"-е":"week"===o||"minute"===o||"second"===o?"-я":"-й",n+r},era:CE({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:CE({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},mL={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},vL={date:xE({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:xE({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};function gL(e,t,n){const o="eeee p";return AE(e,t,n)?o:e.getTime()>t.getTime()?"'下个'"+o:"'上个'"+o}const bL={lastWeek:gL,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:gL,other:"PP p"},yL={code:"zh-CN",formatDistance:(e,t,n)=>{let o;const r=mL[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?o+"内":o+"前":o},formatLong:vL,formatRelative:(e,t,n,o)=>{const r=bL[e];return"function"==typeof r?r(t,n,o):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(null==t?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},era:CE({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:CE({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},_L={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},xL={date:xE({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:xE({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},CL={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},wL={code:"zh-TW",formatDistance:(e,t,n)=>{let o;const r=_L[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?o+"內":o+"前":o},formatLong:xL,formatRelative:(e,t,n,o)=>CL[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(null==t?void 0:t.unit){case"date":return n+"日";case"hour":return n+"時";case"minute":return n+"分";case"second":return n+"秒";default:return"第 "+n}},era:CE({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:CE({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(第\s*)?\d+(日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},SL={name:"ar-DZ",locale:RE},kL={name:"en-US",locale:EE},PL={name:"es-AR",locale:WE},TL={name:"fr-FR",locale:YE},RL={name:"ja-JP",locale:QE},FL={name:"ko-KR",locale:nL},zL={name:"pt-BR",locale:iL},ML={name:"ru-RU",locale:fL},$L={name:"zh-CN",locale:yL},AL={name:"zh-TW",locale:wL};var OL="object"==typeof global&&global&&global.Object===Object&&global,DL="object"==typeof self&&self&&self.Object===Object&&self,IL=OL||DL||Function("return this")(),BL=IL.Symbol,EL=Object.prototype,LL=EL.hasOwnProperty,jL=EL.toString,NL=BL?BL.toStringTag:void 0;var HL=Object.prototype.toString;var WL=BL?BL.toStringTag:void 0;function VL(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":WL&&WL in Object(e)?function(e){var t=LL.call(e,NL),n=e[NL];try{e[NL]=void 0;var o=!0}catch(Nte){}var r=jL.call(e);return o&&(t?e[NL]=n:delete e[NL]),r}(e):function(e){return HL.call(e)}(e)}function UL(e){return null!=e&&"object"==typeof e}function qL(e){return"symbol"==typeof e||UL(e)&&"[object Symbol]"==VL(e)}function KL(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n0){if(++yj>=800)return arguments[0]}else yj=0;return bj.apply(void 0,arguments)}),Sj=/^(?:0|[1-9]\d*)$/;function kj(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Sj.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Aj(e){return null!=e&&$j(e.length)&&!ej(e)}var Oj=Object.prototype;function Dj(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oj)}function Ij(e){return UL(e)&&"[object Arguments]"==VL(e)}var Bj=Object.prototype,Ej=Bj.hasOwnProperty,Lj=Bj.propertyIsEnumerable,jj=Ij(function(){return arguments}())?Ij:function(e){return UL(e)&&Ej.call(e,"callee")&&!Lj.call(e,"callee")};var Nj="object"==typeof exports&&exports&&!exports.nodeType&&exports,Hj=Nj&&"object"==typeof module&&module&&!module.nodeType&&module,Wj=Hj&&Hj.exports===Nj?IL.Buffer:void 0,Vj=(Wj?Wj.isBuffer:void 0)||function(){return!1},Uj={};Uj["[object Float32Array]"]=Uj["[object Float64Array]"]=Uj["[object Int8Array]"]=Uj["[object Int16Array]"]=Uj["[object Int32Array]"]=Uj["[object Uint8Array]"]=Uj["[object Uint8ClampedArray]"]=Uj["[object Uint16Array]"]=Uj["[object Uint32Array]"]=!0,Uj["[object Arguments]"]=Uj["[object Array]"]=Uj["[object ArrayBuffer]"]=Uj["[object Boolean]"]=Uj["[object DataView]"]=Uj["[object Date]"]=Uj["[object Error]"]=Uj["[object Function]"]=Uj["[object Map]"]=Uj["[object Number]"]=Uj["[object Object]"]=Uj["[object RegExp]"]=Uj["[object Set]"]=Uj["[object String]"]=Uj["[object WeakMap]"]=!1;var qj="object"==typeof exports&&exports&&!exports.nodeType&&exports,Kj=qj&&"object"==typeof module&&module&&!module.nodeType&&module,Yj=Kj&&Kj.exports===qj&&OL.process,Gj=function(){try{var e=Kj&&Kj.require&&Kj.require("util").types;return e||Yj&&Yj.binding&&Yj.binding("util")}catch(Nte){}}(),Xj=Gj&&Gj.isTypedArray,Zj=Xj?function(e){return function(t){return e(t)}}(Xj):function(e){return UL(e)&&$j(e.length)&&!!Uj[VL(e)]},Qj=Object.prototype.hasOwnProperty;function Jj(e,t){var n=YL(e),o=!n&&jj(e),r=!n&&!o&&Vj(e),a=!n&&!o&&!r&&Zj(e),i=n||o||r||a,l=i?function(e,t){for(var n=-1,o=Array(e);++n-1},vN.prototype.set=function(e,t){var n=this.__data__,o=fN(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var gN=pj(IL,"Map");function bN(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function yN(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tr?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++ol))return!1;var d=a.get(e),c=a.get(t);if(d&&c)return d==t&&c==e;var u=-1,h=!0,p=2&n?new JH:void 0;for(a.set(e,t),a.set(t,e);++u1?t[o-1]:void 0,a=o>2?t[2]:void 0;for(r=zW.length>3&&"function"==typeof r?(o--,r):void 0,a&&function(e,t,n){if(!QL(n))return!1;var o=typeof t;return!!("number"==o?Aj(n)&&kj(t,n.length):"string"==o&&t in n)&&Tj(n[t],e)}(t[0],t[1],a)&&(r=o<3?void 0:r,o=1),e=Object(e);++n{var n,o;return null!==(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n[e])&&void 0!==o?o:yE[e]})),r=Qr((()=>{var e;return null!==(e=null==n?void 0:n.value)&&void 0!==e?e:kL}));return{dateLocaleRef:r,localeRef:o}}const OW="naive-ui-style";function DW(e,t,n){if(!t)return;const o=pI(),r=Qr((()=>{const{value:n}=t;if(!n)return;const o=n[e];return o||void 0})),a=Ro(hE,null),i=()=>{Jo((()=>{const{value:t}=n,i=`${t}${e}Rtl`;if(function(e,t){if(void 0===e)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return null!==yA(e)}(i,o))return;const{value:l}=r;l&&l.style.mount({id:i,head:!0,anchorMetaName:OW,props:{bPrefix:t?`.${t}-`:void 0},ssr:o,parent:null==a?void 0:a.styleMountTarget})}))};return o?i():qn(i),r}const IW={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:BW,fontFamily:EW,lineHeight:LW}=IW,jW=BA("body",`\n margin: 0;\n font-size: ${BW};\n font-family: ${EW};\n line-height: ${LW};\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: transparent;\n`,[BA("input","\n font-family: inherit;\n font-size: inherit;\n ")]);function NW(e,t,n){if(!t)return;const o=pI(),r=Ro(hE,null),a=()=>{const a=n.value;t.mount({id:void 0===a?e:a+e,head:!0,anchorMetaName:OW,props:{bPrefix:a?`.${a}-`:void 0},ssr:o,parent:null==r?void 0:r.styleMountTarget}),(null==r?void 0:r.preflightStyleDisabled)||jW.mount({id:"n-global",head:!0,anchorMetaName:OW,ssr:o,parent:null==r?void 0:r.styleMountTarget})};o?a():qn(a)}function HW(e,t,n,o,r,a){const i=pI(),l=Ro(hE,null);if(n){const e=()=>{const e=null==a?void 0:a.value;n.mount({id:void 0===e?t:e+t,head:!0,props:{bPrefix:e?`.${e}-`:void 0},anchorMetaName:OW,ssr:i,parent:null==l?void 0:l.styleMountTarget}),(null==l?void 0:l.preflightStyleDisabled)||jW.mount({id:"n-global",head:!0,anchorMetaName:OW,ssr:i,parent:null==l?void 0:l.styleMountTarget})};i?e():qn(e)}const s=Qr((()=>{var t;const{theme:{common:n,self:a,peers:i={}}={},themeOverrides:s={},builtinThemeOverrides:d={}}=r,{common:c,peers:u}=s,{common:h,[e]:{common:p,self:f,peers:m={}}={}}=(null==l?void 0:l.mergedThemeRef.value)||{},{common:v,[e]:g={}}=(null==l?void 0:l.mergedThemeOverridesRef.value)||{},{common:b,peers:y={}}=g,_=$W({},n||p||h||o.common,v,b,c);return{common:_,self:$W(null===(t=a||f||o.self)||void 0===t?void 0:t(_),d,g,s),peers:$W({},o.peers,m,i),peerOverrides:$W({},d.peers,y,u)}}));return s}HW.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const WW=LA("base-icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[BA("svg","\n height: 1em;\n width: 1em;\n ")]),VW=$n({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){NW("-base-icon",WW,Ft(e,"clsPrefix"))},render(){return Jr("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),UW=$n({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=CD();return()=>Jr(ha,{name:"icon-switch-transition",appear:n.value},t)}}),qW=$n({name:"Add",render:()=>Jr("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}),KW=$n({name:"ArrowDown",render:()=>Jr("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}),YW=$n({name:"ArrowUp",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Jr("g",{fill:"none"},Jr("path",{d:"M3.13 9.163a.5.5 0 1 0 .74.674L9.5 3.67V17.5a.5.5 0 0 0 1 0V3.672l5.63 6.165a.5.5 0 0 0 .738-.674l-6.315-6.916a.746.746 0 0 0-.632-.24a.746.746 0 0 0-.476.24L3.131 9.163z",fill:"currentColor"})))});function GW(e,t){const n=$n({render:()=>t()});return $n({name:QN(e),setup(){var t;const o=null===(t=Ro(hE,null))||void 0===t?void 0:t.mergedIconsRef;return()=>{var t;const r=null===(t=null==o?void 0:o.value)||void 0===t?void 0:t[e];return r?r():Jr(n,null)}}})}const XW=GW("attach",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M3.25735931,8.70710678 L7.85355339,4.1109127 C8.82986412,3.13460197 10.4127766,3.13460197 11.3890873,4.1109127 C12.365398,5.08722343 12.365398,6.67013588 11.3890873,7.64644661 L6.08578644,12.9497475 C5.69526215,13.3402718 5.06209717,13.3402718 4.67157288,12.9497475 C4.28104858,12.5592232 4.28104858,11.9260582 4.67157288,11.5355339 L9.97487373,6.23223305 C10.1701359,6.0369709 10.1701359,5.72038841 9.97487373,5.52512627 C9.77961159,5.32986412 9.4630291,5.32986412 9.26776695,5.52512627 L3.96446609,10.8284271 C3.18341751,11.6094757 3.18341751,12.8758057 3.96446609,13.6568542 C4.74551468,14.4379028 6.01184464,14.4379028 6.79289322,13.6568542 L12.0961941,8.35355339 C13.4630291,6.98671837 13.4630291,4.77064094 12.0961941,3.40380592 C10.7293591,2.0369709 8.51328163,2.0369709 7.14644661,3.40380592 L2.55025253,8 C2.35499039,8.19526215 2.35499039,8.51184464 2.55025253,8.70710678 C2.74551468,8.90236893 3.06209717,8.90236893 3.25735931,8.70710678 Z"})))))),ZW=$n({name:"Backward",render:()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}),QW=GW("cancel",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M2.58859116,2.7156945 L2.64644661,2.64644661 C2.82001296,2.47288026 3.08943736,2.45359511 3.2843055,2.58859116 L3.35355339,2.64644661 L8,7.293 L12.6464466,2.64644661 C12.8417088,2.45118446 13.1582912,2.45118446 13.3535534,2.64644661 C13.5488155,2.84170876 13.5488155,3.15829124 13.3535534,3.35355339 L8.707,8 L13.3535534,12.6464466 C13.5271197,12.820013 13.5464049,13.0894374 13.4114088,13.2843055 L13.3535534,13.3535534 C13.179987,13.5271197 12.9105626,13.5464049 12.7156945,13.4114088 L12.6464466,13.3535534 L8,8.707 L3.35355339,13.3535534 C3.15829124,13.5488155 2.84170876,13.5488155 2.64644661,13.3535534 C2.45118446,13.1582912 2.45118446,12.8417088 2.64644661,12.6464466 L7.293,8 L2.64644661,3.35355339 C2.47288026,3.17998704 2.45359511,2.91056264 2.58859116,2.7156945 L2.64644661,2.64644661 L2.58859116,2.7156945 Z"})))))),JW=$n({name:"Checkmark",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},Jr("g",{fill:"none"},Jr("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}),eV=$n({name:"ChevronDown",render:()=>Jr("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}),tV=$n({name:"ChevronRight",render:()=>Jr("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}),nV=GW("clear",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))))),oV=GW("close",(()=>Jr("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"})))))),rV=GW("date",(()=>Jr("svg",{width:"28px",height:"28px",viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M21.75,3 C23.5449254,3 25,4.45507456 25,6.25 L25,21.75 C25,23.5449254 23.5449254,25 21.75,25 L6.25,25 C4.45507456,25 3,23.5449254 3,21.75 L3,6.25 C3,4.45507456 4.45507456,3 6.25,3 L21.75,3 Z M23.5,9.503 L4.5,9.503 L4.5,21.75 C4.5,22.7164983 5.28350169,23.5 6.25,23.5 L21.75,23.5 C22.7164983,23.5 23.5,22.7164983 23.5,21.75 L23.5,9.503 Z M21.75,4.5 L6.25,4.5 C5.28350169,4.5 4.5,5.28350169 4.5,6.25 L4.5,8.003 L23.5,8.003 L23.5,6.25 C23.5,5.28350169 22.7164983,4.5 21.75,4.5 Z"})))))),aV=GW("download",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M3.5,13 L12.5,13 C12.7761424,13 13,13.2238576 13,13.5 C13,13.7454599 12.8231248,13.9496084 12.5898756,13.9919443 L12.5,14 L3.5,14 C3.22385763,14 3,13.7761424 3,13.5 C3,13.2545401 3.17687516,13.0503916 3.41012437,13.0080557 L3.5,13 L12.5,13 L3.5,13 Z M7.91012437,1.00805567 L8,1 C8.24545989,1 8.44960837,1.17687516 8.49194433,1.41012437 L8.5,1.5 L8.5,10.292 L11.1819805,7.6109127 C11.3555469,7.43734635 11.6249713,7.4180612 11.8198394,7.55305725 L11.8890873,7.6109127 C12.0626536,7.78447906 12.0819388,8.05390346 11.9469427,8.2487716 L11.8890873,8.31801948 L8.35355339,11.8535534 C8.17998704,12.0271197 7.91056264,12.0464049 7.7156945,11.9114088 L7.64644661,11.8535534 L4.1109127,8.31801948 C3.91565056,8.12275734 3.91565056,7.80617485 4.1109127,7.6109127 C4.28447906,7.43734635 4.55390346,7.4180612 4.7487716,7.55305725 L4.81801948,7.6109127 L7.5,10.292 L7.5,1.5 C7.5,1.25454011 7.67687516,1.05039163 7.91012437,1.00805567 L8,1 L7.91012437,1.00805567 Z"})))))),iV=$n({name:"Empty",render:()=>Jr("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),Jr("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}),lV=GW("error",(()=>Jr("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"})))))),sV=$n({name:"Eye",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),Jr("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}),dV=$n({name:"EyeOff",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),Jr("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),Jr("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),Jr("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),Jr("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}),cV=$n({name:"FastBackward",render:()=>Jr("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}),uV=$n({name:"FastForward",render:()=>Jr("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}),hV=$n({name:"Filter",render:()=>Jr("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}),pV=$n({name:"Forward",render:()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}),fV=GW("info",(()=>Jr("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"})))))),mV=$n({name:"More",render:()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}),vV=$n({name:"Remove",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "}))}),gV=$n({name:"ResizeSmall",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Jr("g",{fill:"none"},Jr("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}),bV=GW("retry",(()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M320,146s24.36-12-64-12A160,160,0,1,0,416,294",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-miterlimit: 10; stroke-width: 32px;"}),Jr("polyline",{points:"256 58 336 138 256 218",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"})))),yV=GW("rotateClockwise",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),Jr("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"})))),_V=GW("rotateClockwise",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),Jr("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"})))),xV=$n({name:"Search",render:()=>Jr("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:"enable-background: new 0 0 512 512"},Jr("path",{d:"M443.5,420.2L336.7,312.4c20.9-26.2,33.5-59.4,33.5-95.5c0-84.5-68.5-153-153.1-153S64,132.5,64,217s68.5,153,153.1,153\n c36.6,0,70.1-12.8,96.5-34.2l106.1,107.1c3.2,3.4,7.6,5.1,11.9,5.1c4.1,0,8.2-1.5,11.3-4.5C449.5,437.2,449.7,426.8,443.5,420.2z\n M217.1,337.1c-32.1,0-62.3-12.5-85-35.2c-22.7-22.7-35.2-52.9-35.2-84.9c0-32.1,12.5-62.3,35.2-84.9c22.7-22.7,52.9-35.2,85-35.2\n c32.1,0,62.3,12.5,85,35.2c22.7,22.7,35.2,52.9,35.2,84.9c0,32.1-12.5,62.3-35.2,84.9C279.4,324.6,249.2,337.1,217.1,337.1z"}))}),CV=GW("success",(()=>Jr("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"})))))),wV=$n({name:"Switcher",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Jr("path",{d:"M12 8l10 8l-10 8z"}))}),SV=GW("time",(()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M256,64C150,64,64,150,64,256s86,192,192,192,192-86,192-192S362,64,256,64Z",style:"\n fill: none;\n stroke: currentColor;\n stroke-miterlimit: 10;\n stroke-width: 32px;\n "}),Jr("polyline",{points:"256 128 256 272 352 272",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "})))),kV=GW("to",(()=>Jr("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"})))))),PV=GW("trash",(()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M432,144,403.33,419.74A32,32,0,0,1,371.55,448H140.46a32,32,0,0,1-31.78-28.26L80,144",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),Jr("rect",{x:"32",y:"64",width:"448",height:"80",rx:"16",ry:"16",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),Jr("line",{x1:"312",y1:"240",x2:"200",y2:"352",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),Jr("line",{x1:"312",y1:"352",x2:"200",y2:"240",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"})))),TV=GW("warning",(()=>Jr("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"})))))),RV=GW("zoomIn",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),Jr("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"})))),FV=GW("zoomOut",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),Jr("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"})))),{cubicBezierEaseInOut:zV}=IW;function MV({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${zV} !important`}={}){return[BA("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:`${e} scale(0.75)`,left:t,top:n,opacity:0}),BA("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),BA("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const $V=LA("base-clear","\n flex-shrink: 0;\n height: 1em;\n width: 1em;\n position: relative;\n",[BA(">",[jA("clear","\n font-size: var(--n-clear-size);\n height: 1em;\n width: 1em;\n cursor: pointer;\n color: var(--n-clear-color);\n transition: color .3s var(--n-bezier);\n display: flex;\n ",[BA("&:hover","\n color: var(--n-clear-color-hover)!important;\n "),BA("&:active","\n color: var(--n-clear-color-pressed)!important;\n ")]),jA("placeholder","\n display: flex;\n "),jA("clear, placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[MV({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),AV=$n({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup:e=>(NW("-base-clear",$V,Ft(e,"clsPrefix")),{handleMouseDown(e){e.preventDefault()}}),render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-base-clear`},Jr(UW,null,{default:()=>{var t,n;return this.show?Jr("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},lE(this.$slots.icon,(()=>[Jr(VW,{clsPrefix:e},{default:()=>Jr(nV,null)})]))):Jr("div",{key:"icon",class:`${e}-base-clear__placeholder`},null===(n=(t=this.$slots).placeholder)||void 0===n?void 0:n.call(t))}}))}}),OV=LA("base-close","\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background-color: transparent;\n color: var(--n-close-icon-color);\n border-radius: var(--n-close-border-radius);\n height: var(--n-close-size);\n width: var(--n-close-size);\n font-size: var(--n-close-icon-size);\n outline: none;\n border: none;\n position: relative;\n padding: 0;\n",[NA("absolute","\n height: var(--n-close-icon-size);\n width: var(--n-close-icon-size);\n "),BA("&::before",'\n content: "";\n position: absolute;\n width: var(--n-close-size);\n height: var(--n-close-size);\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n transition: inherit;\n border-radius: inherit;\n '),HA("disabled",[BA("&:hover","\n color: var(--n-close-icon-color-hover);\n "),BA("&:hover::before","\n background-color: var(--n-close-color-hover);\n "),BA("&:focus::before","\n background-color: var(--n-close-color-hover);\n "),BA("&:active","\n color: var(--n-close-icon-color-pressed);\n "),BA("&:active::before","\n background-color: var(--n-close-color-pressed);\n ")]),NA("disabled","\n cursor: not-allowed;\n color: var(--n-close-icon-color-disabled);\n background-color: transparent;\n "),NA("round",[BA("&::before","\n border-radius: 50%;\n ")])]),DV=$n({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup:e=>(NW("-base-close",OV,Ft(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:a}=e;return Jr(a?"button":"div",{type:a?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:a?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:t=>{e.focusable||t.preventDefault()},onClick:e.onClick},Jr(VW,{clsPrefix:t},{default:()=>Jr(oV,null)}))})}),IV=$n({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(t){e.width?t.style.maxWidth=`${t.offsetWidth}px`:t.style.maxHeight=`${t.offsetHeight}px`,t.offsetWidth}function o(t){e.width?t.style.maxWidth="0":t.style.maxHeight="0",t.offsetWidth;const{onLeave:n}=e;n&&n()}function r(t){e.width?t.style.maxWidth="":t.style.maxHeight="";const{onAfterLeave:n}=e;n&&n()}function a(t){if(t.style.transition="none",e.width){const e=t.offsetWidth;t.style.maxWidth="0",t.offsetWidth,t.style.transition="",t.style.maxWidth=`${e}px`}else if(e.reverse)t.style.maxHeight=`${t.offsetHeight}px`,t.offsetHeight,t.style.transition="",t.style.maxHeight="0";else{const e=t.offsetHeight;t.style.maxHeight="0",t.offsetWidth,t.style.transition="",t.style.maxHeight=`${e}px`}t.offsetWidth}function i(t){var n;e.width?t.style.maxWidth="":e.reverse||(t.style.maxHeight=""),null===(n=e.onAfterEnter)||void 0===n||n.call(e)}return()=>{const{group:l,width:s,appear:d,mode:c}=e,u=l?Xa:ha,h={name:s?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:d,onEnter:a,onAfterEnter:i,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return l||(h.mode=c),Jr(u,h,t)}}}),BV=$n({props:{onFocus:Function,onBlur:Function},setup:e=>()=>Jr("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}),EV=BA([BA("@keyframes rotator","\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }"),LA("base-loading","\n position: relative;\n line-height: 0;\n width: 1em;\n height: 1em;\n ",[jA("transition-wrapper","\n position: absolute;\n width: 100%;\n height: 100%;\n ",[MV()]),jA("placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[MV({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),jA("container","\n animation: rotator 3s linear infinite both;\n ",[jA("icon","\n height: 1em;\n width: 1em;\n ")])])]),LV="1.6s",jV={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},NV=$n({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},jV),setup(e){NW("-base-loading",EV,Ft(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,a=t/r;return Jr("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},Jr(UW,null,{default:()=>this.show?Jr("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},Jr("div",{class:`${e}-base-loading__container`},Jr("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*a} ${2*a}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},Jr("g",null,Jr("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${a} ${a};270 ${a} ${a}`,begin:"0s",dur:LV,fill:"freeze",repeatCount:"indefinite"}),Jr("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:a,cy:a,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},Jr("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${a} ${a};135 ${a} ${a};450 ${a} ${a}`,begin:"0s",dur:LV,fill:"freeze",repeatCount:"indefinite"}),Jr("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:LV,fill:"freeze",repeatCount:"indefinite"})))))):Jr("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}}),{cubicBezierEaseInOut:HV}=IW;function WV({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=HV,leaveCubicBezier:r=HV}={}){return[BA(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),BA(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),BA(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),BA(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const VV=LA("base-menu-mask","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 14px;\n overflow: hidden;\n",[WV()]),UV=$n({name:"BaseMenuMask",props:{clsPrefix:{type:String,required:!0}},setup(e){NW("-base-menu-mask",VV,Ft(e,"clsPrefix"));const t=vt(null);let n=null;const o=vt(!1);Xn((()=>{null!==n&&window.clearTimeout(n)}));const r={showOnce(e,r=1500){n&&window.clearTimeout(n),o.value=!0,t.value=e,n=window.setTimeout((()=>{o.value=!1,t.value=null}),r)}};return Object.assign({message:t,show:o},r)},render(){return Jr(ha,{name:"fade-in-transition"},{default:()=>this.show?Jr("div",{class:`${this.clsPrefix}-base-menu-mask`},this.message):null})}}),qV="#000",KV="#fff",YV="#fff",GV="rgb(72, 72, 78)",XV="rgb(24, 24, 28)",ZV="rgb(44, 44, 50)",QV="rgb(16, 16, 20)",JV="0.9",eU="0.82",tU="0.52",nU="0.38",oU="0.28",rU="0.52",aU="0.38",iU="0.06",lU="0.09",sU="0.06",dU="0.05",cU="0.05",uU="0.18",hU="0.2",pU="0.12",fU="0.24",mU="0.09",vU="0.1",gU="0.06",bU="0.04",yU="0.2",_U="0.3",xU="0.12",CU="0.2",wU="#7fe7c4",SU="#63e2b7",kU="#5acea7",PU="rgb(42, 148, 125)",TU="#8acbec",RU="#70c0e8",FU="#66afd3",zU="rgb(56, 137, 197)",MU="#e98b8b",$U="#e88080",AU="#e57272",OU="rgb(208, 58, 82)",DU="#f5d599",IU="#f2c97d",BU="#e6c260",EU="rgb(240, 138, 0)",LU="#7fe7c4",jU="#63e2b7",NU="#5acea7",HU="rgb(42, 148, 125)",WU=MO(qV),VU=MO(KV),UU=`rgba(${VU.slice(0,3).join(", ")}, `;function qU(e){return`${UU+String(e)})`}const KU=Object.assign(Object.assign({name:"common"},IW),{baseColor:qV,primaryColor:SU,primaryColorHover:wU,primaryColorPressed:kU,primaryColorSuppl:PU,infoColor:RU,infoColorHover:TU,infoColorPressed:FU,infoColorSuppl:zU,successColor:jU,successColorHover:LU,successColorPressed:NU,successColorSuppl:HU,warningColor:IU,warningColorHover:DU,warningColorPressed:BU,warningColorSuppl:EU,errorColor:$U,errorColorHover:MU,errorColorPressed:AU,errorColorSuppl:OU,textColorBase:YV,textColor1:qU(JV),textColor2:qU(eU),textColor3:qU(tU),textColorDisabled:qU(nU),placeholderColor:qU(nU),placeholderColorDisabled:qU(oU),iconColor:qU(nU),iconColorDisabled:qU(oU),iconColorHover:qU(1.25*Number(nU)),iconColorPressed:qU(.8*Number(nU)),opacity1:JV,opacity2:eU,opacity3:tU,opacity4:nU,opacity5:oU,dividerColor:qU(mU),borderColor:qU(fU),closeIconColorHover:qU(Number(rU)),closeIconColor:qU(Number(rU)),closeIconColorPressed:qU(Number(rU)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:qU(nU),clearColorHover:IO(qU(nU),{alpha:1.25}),clearColorPressed:IO(qU(nU),{alpha:.8}),scrollbarColor:qU(yU),scrollbarColorHover:qU(_U),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:qU(pU),railColor:qU(hU),popoverColor:GV,tableColor:XV,cardColor:XV,modalColor:ZV,bodyColor:QV,tagColor:function(e){const t=Array.from(VU);return t[3]=Number(e),OO(WU,t)}(CU),avatarColor:qU(uU),invertedColor:qV,inputColor:qU(vU),codeColor:qU(xU),tabColor:qU(bU),actionColor:qU(gU),tableHeaderColor:qU(gU),hoverColor:qU(lU),tableColorHover:qU(sU),tableColorStriped:qU(dU),pressedColor:qU(cU),opacityDisabled:aU,inputColorDisabled:qU(iU),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),YU="#FFF",GU="#000",XU="#000",ZU="#fff",QU="#fff",JU="#fff",eq="#fff",tq="0.82",nq="0.72",oq="0.38",rq="0.24",aq="0.18",iq="0.6",lq="0.5",sq="0.2",dq=".08",cq="0",uq="0.25",hq="0.4",pq="#36ad6a",fq="#18a058",mq="#0c7a43",vq="#36ad6a",gq="#4098fc",bq="#2080f0",yq="#1060c9",_q="#4098fc",xq="#de576d",Cq="#d03050",wq="#ab1f3f",Sq="#de576d",kq="#fcb040",Pq="#f0a020",Tq="#c97c10",Rq="#fcb040",Fq="#36ad6a",zq="#18a058",Mq="#0c7a43",$q="#36ad6a",Aq=MO(YU),Oq=MO(GU),Dq=`rgba(${Oq.slice(0,3).join(", ")}, `;function Iq(e){return`${Dq+String(e)})`}function Bq(e){const t=Array.from(Oq);return t[3]=Number(e),OO(Aq,t)}const Eq=Object.assign(Object.assign({name:"common"},IW),{baseColor:YU,primaryColor:fq,primaryColorHover:pq,primaryColorPressed:mq,primaryColorSuppl:vq,infoColor:bq,infoColorHover:gq,infoColorPressed:yq,infoColorSuppl:_q,successColor:zq,successColorHover:Fq,successColorPressed:Mq,successColorSuppl:$q,warningColor:Pq,warningColorHover:kq,warningColorPressed:Tq,warningColorSuppl:Rq,errorColor:Cq,errorColorHover:xq,errorColorPressed:wq,errorColorSuppl:Sq,textColorBase:XU,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Bq(rq),placeholderColor:Bq(rq),placeholderColorDisabled:Bq(aq),iconColor:Bq(rq),iconColorHover:IO(Bq(rq),{lightness:.75}),iconColorPressed:IO(Bq(rq),{lightness:.9}),iconColorDisabled:Bq(aq),opacity1:tq,opacity2:nq,opacity3:oq,opacity4:rq,opacity5:aq,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Bq(Number(iq)),closeIconColorHover:Bq(Number(iq)),closeIconColorPressed:Bq(Number(iq)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Bq(rq),clearColorHover:IO(Bq(rq),{lightness:.75}),clearColorPressed:IO(Bq(rq),{lightness:.9}),scrollbarColor:Iq(uq),scrollbarColorHover:Iq(hq),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Bq(dq),railColor:"rgb(219, 219, 223)",popoverColor:ZU,tableColor:QU,cardColor:QU,modalColor:JU,bodyColor:eq,tagColor:"#eee",avatarColor:Bq(sq),invertedColor:"rgb(0, 20, 40)",inputColor:Bq(cq),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:lq,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Lq={railInsetHorizontalBottom:"auto 2px 4px 2px",railInsetHorizontalTop:"4px 2px auto 2px",railInsetVerticalRight:"2px 4px 2px auto",railInsetVerticalLeft:"2px auto 2px 4px",railColor:"transparent"};function jq(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:o,scrollbarWidth:r,scrollbarBorderRadius:a}=e;return Object.assign(Object.assign({},Lq),{height:o,width:r,borderRadius:a,color:t,colorHover:n})}const Nq={name:"Scrollbar",common:Eq,self:jq},Hq={name:"Scrollbar",common:KU,self:jq},Wq=LA("scrollbar","\n overflow: hidden;\n position: relative;\n z-index: auto;\n height: 100%;\n width: 100%;\n",[BA(">",[LA("scrollbar-container","\n width: 100%;\n overflow: scroll;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n scrollbar-width: none;\n ",[BA("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),BA(">",[LA("scrollbar-content","\n box-sizing: border-box;\n min-width: 100%;\n ")])])]),BA(">, +",[LA("scrollbar-rail","\n position: absolute;\n pointer-events: none;\n user-select: none;\n background: var(--n-scrollbar-rail-color);\n -webkit-user-select: none;\n ",[NA("horizontal","\n height: var(--n-scrollbar-height);\n ",[BA(">",[jA("scrollbar","\n height: var(--n-scrollbar-height);\n border-radius: var(--n-scrollbar-border-radius);\n right: 0;\n ")])]),NA("horizontal--top","\n top: var(--n-scrollbar-rail-top-horizontal-top); \n right: var(--n-scrollbar-rail-right-horizontal-top); \n bottom: var(--n-scrollbar-rail-bottom-horizontal-top); \n left: var(--n-scrollbar-rail-left-horizontal-top); \n "),NA("horizontal--bottom","\n top: var(--n-scrollbar-rail-top-horizontal-bottom); \n right: var(--n-scrollbar-rail-right-horizontal-bottom); \n bottom: var(--n-scrollbar-rail-bottom-horizontal-bottom); \n left: var(--n-scrollbar-rail-left-horizontal-bottom); \n "),NA("vertical","\n width: var(--n-scrollbar-width);\n ",[BA(">",[jA("scrollbar","\n width: var(--n-scrollbar-width);\n border-radius: var(--n-scrollbar-border-radius);\n bottom: 0;\n ")])]),NA("vertical--left","\n top: var(--n-scrollbar-rail-top-vertical-left); \n right: var(--n-scrollbar-rail-right-vertical-left); \n bottom: var(--n-scrollbar-rail-bottom-vertical-left); \n left: var(--n-scrollbar-rail-left-vertical-left); \n "),NA("vertical--right","\n top: var(--n-scrollbar-rail-top-vertical-right); \n right: var(--n-scrollbar-rail-right-vertical-right); \n bottom: var(--n-scrollbar-rail-bottom-vertical-right); \n left: var(--n-scrollbar-rail-left-vertical-right); \n "),NA("disabled",[BA(">",[jA("scrollbar","pointer-events: none;")])]),BA(">",[jA("scrollbar","\n z-index: 1;\n position: absolute;\n cursor: pointer;\n pointer-events: all;\n background-color: var(--n-scrollbar-color);\n transition: background-color .2s var(--n-scrollbar-bezier);\n ",[WV(),BA("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),Vq=$n({name:"Scrollbar",props:Object.assign(Object.assign({},HW.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=fE(e),r=DW("Scrollbar",o,t),a=vt(null),i=vt(null),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt(null),h=vt(null),p=vt(null),f=vt(null),m=vt(null),v=vt(0),g=vt(0),b=vt(!1),y=vt(!1);let _,x,C=!1,w=!1,S=0,k=0,P=0,T=0;const R=SD,F=HW("Scrollbar","-scrollbar",Wq,Nq,e,t),z=Qr((()=>{const{value:e}=h,{value:t}=c,{value:n}=f;return null===e||null===t||null===n?0:Math.min(e,n*e/t+1.5*tO(F.value.self.width))})),M=Qr((()=>`${z.value}px`)),$=Qr((()=>{const{value:e}=p,{value:t}=u,{value:n}=m;return null===e||null===t||null===n?0:n*e/t+1.5*tO(F.value.self.height)})),A=Qr((()=>`${$.value}px`)),O=Qr((()=>{const{value:e}=h,{value:t}=v,{value:n}=c,{value:o}=f;if(null===e||null===n||null===o)return 0;{const r=n-e;return r?t/r*(o-z.value):0}})),D=Qr((()=>`${O.value}px`)),I=Qr((()=>{const{value:e}=p,{value:t}=g,{value:n}=u,{value:o}=m;if(null===e||null===n||null===o)return 0;{const r=n-e;return r?t/r*(o-$.value):0}})),B=Qr((()=>`${I.value}px`)),E=Qr((()=>{const{value:e}=h,{value:t}=c;return null!==e&&null!==t&&t>e})),L=Qr((()=>{const{value:e}=p,{value:t}=u;return null!==e&&null!==t&&t>e})),j=Qr((()=>{const{trigger:t}=e;return"none"===t||b.value})),N=Qr((()=>{const{trigger:t}=e;return"none"===t||y.value})),H=Qr((()=>{const{container:t}=e;return t?t():i.value})),W=Qr((()=>{const{content:t}=e;return t?t():l.value})),V=(t,n)=>{if(!e.scrollable)return;if("number"==typeof t)return void q(t,null!=n?n:0,0,!1,"auto");const{left:o,top:r,index:a,elSize:i,position:l,behavior:s,el:d,debounce:c=!0}=t;void 0===o&&void 0===r||q(null!=o?o:0,null!=r?r:0,0,!1,s),void 0!==d?q(0,d.offsetTop,d.offsetHeight,c,s):void 0!==a&&void 0!==i?q(0,a*i,i,c,s):"bottom"===l?q(0,Number.MAX_SAFE_INTEGER,0,!1,s):"top"===l&&q(0,0,0,!1,s)},U=GD((()=>{e.container||V({top:v.value,left:g.value})}));function q(e,t,n,o,r){const{value:a}=H;if(a){if(o){const{scrollTop:o,offsetHeight:i}=a;if(t>o)return void(t+n<=o+i||a.scrollTo({left:e,top:t+n-i,behavior:r}))}a.scrollTo({left:e,top:t,behavior:r})}}function K(){!function(){void 0!==x&&window.clearTimeout(x);x=window.setTimeout((()=>{y.value=!1}),e.duration)}(),function(){void 0!==_&&window.clearTimeout(_);_=window.setTimeout((()=>{b.value=!1}),e.duration)}()}function Y(){const{value:e}=H;e&&(v.value=e.scrollTop,g.value=e.scrollLeft*((null==r?void 0:r.value)?-1:1))}function G(){const{value:e}=H;e&&(v.value=e.scrollTop,g.value=e.scrollLeft*((null==r?void 0:r.value)?-1:1),h.value=e.offsetHeight,p.value=e.offsetWidth,c.value=e.scrollHeight,u.value=e.scrollWidth);const{value:t}=d,{value:n}=s;t&&(m.value=t.offsetWidth),n&&(f.value=n.offsetHeight)}function X(){e.scrollable&&(e.useUnifiedContainer?G():(!function(){const{value:e}=W;e&&(c.value=e.offsetHeight,u.value=e.offsetWidth);const{value:t}=H;t&&(h.value=t.offsetHeight,p.value=t.offsetWidth);const{value:n}=d,{value:o}=s;n&&(m.value=n.offsetWidth),o&&(f.value=o.offsetHeight)}(),Y()))}function Z(e){var t;return!(null===(t=a.value)||void 0===t?void 0:t.contains(JA(e)))}function Q(t){if(!w)return;void 0!==_&&window.clearTimeout(_),void 0!==x&&window.clearTimeout(x);const{value:n}=p,{value:o}=u,{value:a}=$;if(null===n||null===o)return;const i=(null==r?void 0:r.value)?window.innerWidth-t.clientX-P:t.clientX-P,l=o-n;let s=k+i*(o-n)/(n-a);s=Math.min(l,s),s=Math.max(s,0);const{value:d}=H;if(d){d.scrollLeft=s*((null==r?void 0:r.value)?-1:1);const{internalOnUpdateScrollLeft:t}=e;t&&t(s)}}function J(e){e.preventDefault(),e.stopPropagation(),tD("mousemove",window,Q,!0),tD("mouseup",window,J,!0),w=!1,X(),Z(e)&&K()}function ee(e){if(!C)return;void 0!==_&&window.clearTimeout(_),void 0!==x&&window.clearTimeout(x);const{value:t}=h,{value:n}=c,{value:o}=z;if(null===t||null===n)return;const r=e.clientY-T,a=n-t;let i=S+r*(n-t)/(t-o);i=Math.min(a,i),i=Math.max(i,0);const{value:l}=H;l&&(l.scrollTop=i)}function te(e){e.preventDefault(),e.stopPropagation(),tD("mousemove",window,ee,!0),tD("mouseup",window,te,!0),C=!1,X(),Z(e)&&K()}Jo((()=>{const{value:e}=L,{value:n}=E,{value:o}=t,{value:r}=d,{value:a}=s;r&&(e?r.classList.remove(`${o}-scrollbar-rail--disabled`):r.classList.add(`${o}-scrollbar-rail--disabled`)),a&&(n?a.classList.remove(`${o}-scrollbar-rail--disabled`):a.classList.add(`${o}-scrollbar-rail--disabled`))})),Kn((()=>{e.container||X()})),Xn((()=>{void 0!==_&&window.clearTimeout(_),void 0!==x&&window.clearTimeout(x),tD("mousemove",window,ee,!0),tD("mouseup",window,te,!0)}));const ne=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{color:t,colorHover:n,height:o,width:a,borderRadius:i,railInsetHorizontalTop:l,railInsetHorizontalBottom:s,railInsetVerticalRight:d,railInsetVerticalLeft:c,railColor:u}}=F.value,{top:h,right:p,bottom:f,left:m}=oO(l),{top:v,right:g,bottom:b,left:y}=oO(s),{top:_,right:x,bottom:C,left:w}=oO((null==r?void 0:r.value)?jB(d):d),{top:S,right:k,bottom:P,left:T}=oO((null==r?void 0:r.value)?jB(c):c);return{"--n-scrollbar-bezier":e,"--n-scrollbar-color":t,"--n-scrollbar-color-hover":n,"--n-scrollbar-border-radius":i,"--n-scrollbar-width":a,"--n-scrollbar-height":o,"--n-scrollbar-rail-top-horizontal-top":h,"--n-scrollbar-rail-right-horizontal-top":p,"--n-scrollbar-rail-bottom-horizontal-top":f,"--n-scrollbar-rail-left-horizontal-top":m,"--n-scrollbar-rail-top-horizontal-bottom":v,"--n-scrollbar-rail-right-horizontal-bottom":g,"--n-scrollbar-rail-bottom-horizontal-bottom":b,"--n-scrollbar-rail-left-horizontal-bottom":y,"--n-scrollbar-rail-top-vertical-right":_,"--n-scrollbar-rail-right-vertical-right":x,"--n-scrollbar-rail-bottom-vertical-right":C,"--n-scrollbar-rail-left-vertical-right":w,"--n-scrollbar-rail-top-vertical-left":S,"--n-scrollbar-rail-right-vertical-left":k,"--n-scrollbar-rail-bottom-vertical-left":P,"--n-scrollbar-rail-left-vertical-left":T,"--n-scrollbar-rail-color":u}})),oe=n?vE("scrollbar",void 0,ne,e):void 0,re={scrollTo:V,scrollBy:(t,n)=>{if(!e.scrollable)return;const{value:o}=H;o&&("object"==typeof t?o.scrollBy(t):o.scrollBy(t,n||0))},sync:X,syncUnifiedContainer:G,handleMouseEnterWrapper:function(){!function(){void 0!==_&&window.clearTimeout(_);b.value=!0}(),function(){void 0!==x&&window.clearTimeout(x);y.value=!0}(),X()},handleMouseLeaveWrapper:function(){K()}};return Object.assign(Object.assign({},re),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:v,wrapperRef:a,containerRef:i,contentRef:l,yRailRef:s,xRailRef:d,needYBar:E,needXBar:L,yBarSizePx:M,xBarSizePx:A,yBarTopPx:D,xBarLeftPx:B,isShowXBar:j,isShowYBar:N,isIos:R,handleScroll:function(t){const{onScroll:n}=e;n&&n(t),Y()},handleContentResize:()=>{U.isDeactivated||X()},handleContainerResize:t=>{if(U.isDeactivated)return;const{onResize:n}=e;n&&n(t),X()},handleYScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),C=!0,eD("mousemove",window,ee,!0),eD("mouseup",window,te,!0),S=v.value,T=e.clientY},handleXScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),w=!0,eD("mousemove",window,Q,!0),eD("mouseup",window,J,!0),k=g.value,P=(null==r?void 0:r.value)?window.innerWidth-e.clientX:e.clientX},cssVars:n?void 0:ne,themeClass:null==oe?void 0:oe.themeClass,onRender:null==oe?void 0:oe.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:a,yPlacement:i,xPlacement:l,xScrollable:s}=this;if(!this.scrollable)return null===(e=t.default)||void 0===e?void 0:e.call(t);const d="none"===this.trigger,c=(e,t)=>Jr("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,`${n}-scrollbar-rail--vertical--${i}`,e],"data-scrollbar-rail":!0,style:[t||"",this.verticalRailStyle],"aria-hidden":!0},Jr(d?uE:ha,d?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?Jr("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),u=()=>{var e,i;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",Ir(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?null===(i=t.default)||void 0===i?void 0:i.call(t):Jr("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},Jr(bB,{onResize:this.handleContentResize},{default:()=>Jr("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),a?null:c(void 0,void 0),s&&Jr("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`,`${n}-scrollbar-rail--horizontal--${l}`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},Jr(d?uE:ha,d?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?Jr("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},h=this.container?u():Jr(bB,{onResize:this.handleContainerResize},{default:u});return a?Jr(pr,null,h,c(this.themeClass,this.cssVars)):h}}),Uq=Vq;function qq(e){return Array.isArray(e)?e:[e]}const Kq="STOP";function Yq(e,t){const n=t(e);void 0!==e.children&&n!==Kq&&e.children.forEach((e=>Yq(e,t)))}function Gq(e){return e.children}function Xq(e){return e.key}function Zq(){return!1}function Qq(e){return!0===e.disabled}function Jq(e){var t;return null==e?[]:Array.isArray(e)?e:null!==(t=e.checkedKeys)&&void 0!==t?t:[]}function eK(e){var t;return null==e||Array.isArray(e)?[]:null!==(t=e.indeterminateKeys)&&void 0!==t?t:[]}function tK(e,t){const n=new Set(e);return t.forEach((e=>{n.has(e)||n.add(e)})),Array.from(n)}function nK(e,t){const n=new Set(e);return t.forEach((e=>{n.has(e)&&n.delete(e)})),Array.from(n)}function oK(e){return"group"===(null==e?void 0:e.type)}function rK(e){const t=new Map;return e.forEach(((e,n)=>{t.set(e.key,n)})),e=>{var n;return null!==(n=t.get(e))&&void 0!==n?n:null}}class aK extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function iK(e,t,n,o){const r=sK(t,n,o,!1),a=sK(e,n,o,!0),i=function(e,t){const n=new Set;return e.forEach((e=>{const o=t.treeNodeMap.get(e);if(void 0!==o){let e=o.parent;for(;null!==e&&!e.disabled&&!n.has(e.key);)n.add(e.key),e=e.parent}})),n}(e,n),l=[];return r.forEach((e=>{(a.has(e)||i.has(e))&&l.push(e)})),l.forEach((e=>r.delete(e))),r}function lK(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:a,cascade:i,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!i)return void 0!==o?{checkedKeys:tK(n,o),indeterminateKeys:Array.from(a)}:void 0!==r?{checkedKeys:nK(n,r),indeterminateKeys:Array.from(a)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(a)};const{levelTreeNodeMap:c}=t;let u;u=void 0!==r?iK(r,n,t,d):void 0!==o?function(e,t,n,o){return sK(t.concat(e),n,o,!1)}(o,n,t,d):sK(n,t,d,!1);const h="parent"===s,p="child"===s||l,f=u,m=new Set;for(let v=Math.max.apply(null,Array.from(c.keys()));v>=0;v-=1){const e=0===v,t=c.get(v);for(const n of t){if(n.isLeaf)continue;const{key:t,shallowLoaded:o}=n;if(p&&o&&n.children.forEach((e=>{!e.disabled&&!e.isLeaf&&e.shallowLoaded&&f.has(e.key)&&f.delete(e.key)})),n.disabled||!o)continue;let r=!0,a=!1,i=!0;for(const e of n.children){const t=e.key;if(!e.disabled)if(i&&(i=!1),f.has(t))a=!0;else{if(m.has(t)){a=!0,r=!1;break}if(r=!1,a)break}}r&&!i?(h&&n.children.forEach((e=>{!e.disabled&&f.has(e.key)&&f.delete(e.key)})),f.add(t)):a&&m.add(t),e&&p&&f.has(t)&&f.delete(t)}}return{checkedKeys:Array.from(f),indeterminateKeys:Array.from(m)}}function sK(e,t,n,o){const{treeNodeMap:r,getChildren:a}=t,i=new Set,l=new Set(e);return e.forEach((e=>{const t=r.get(e);void 0!==t&&Yq(t,(e=>{if(e.disabled)return Kq;const{key:t}=e;if(!i.has(t)&&(i.add(t),l.add(t),function(e,t){return!1===e.isLeaf&&!Array.isArray(t(e))}(e.rawNode,a))){if(o)return Kq;if(!n)throw new aK}}))})),l}function dK(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function cK(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r="prev"===t?uK:dK,a={reverse:"prev"===t};let i=!1,l=null;return function t(s){if(null!==s){if(s===e)if(i){if(!e.disabled&&!e.isGroup)return void(l=e)}else i=!0;else if((!s.disabled||o)&&!s.ignored&&!s.isGroup)return void(l=s);if(s.isGroup){const e=hK(s,a);null!==e?l=e:t(r(s,n))}else{const e=r(s,!1);if(null!==e)t(e);else{const e=function(e){return e.parent}(s);(null==e?void 0:e.isGroup)?t(r(e,n)):n&&t(r(s,!0))}}}}(e),l}function uK(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:0===r?null:n[r-1]}function hK(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:e}=o,r=n?-1:e,a=n?-1:1;for(let i=n?e-1:0;i!==r;i+=a){const e=o[i];if(!e.disabled&&!e.ignored){if(!e.isGroup)return e;{const n=hK(e,t);if(null!==n)return n}}}}return null}const pK={getChild(){return this.ignored?null:hK(this)},getParent(){const{parent:e}=this;return(null==e?void 0:e.isGroup)?e.getParent():e},getNext(e={}){return cK(this,"next",e)},getPrev(e={}){return cK(this,"prev",e)}};function fK(e,t){const n=t?new Set(t):void 0,o=[];return function e(t){t.forEach((t=>{o.push(t),t.isLeaf||!t.children||t.ignored||(t.isGroup||void 0===n||n.has(t.key))&&e(t.children)}))}(e),o}function mK(e,t,n,o,r,a=null,i=0){const l=[];return e.forEach(((s,d)=>{var c;const u=Object.create(o);if(u.rawNode=s,u.siblings=l,u.level=i,u.index=d,u.isFirstChild=0===d,u.isLastChild=d+1===e.length,u.parent=a,!u.ignored){const e=r(s);Array.isArray(e)&&(u.children=mK(e,t,n,o,r,u,i+1))}l.push(u),t.set(u.key,u),n.has(i)||n.set(i,[]),null===(c=n.get(i))||void 0===c||c.push(u)})),l}function vK(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:a=Qq,getIgnored:i=Zq,getIsGroup:l=oK,getKey:s=Xq}=t,d=null!==(n=t.getChildren)&&void 0!==n?n:Gq,c=t.ignoreEmptyChildren?e=>{const t=d(e);return Array.isArray(t)?t.length?t:null:t}:d,u=Object.assign({get key(){return s(this.rawNode)},get disabled(){return a(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return function(e,t){const{isLeaf:n}=e;return void 0!==n?n:!t(e)}(this.rawNode,c)},get shallowLoaded(){return function(e,t){const{isLeaf:n}=e;return!(!1===n&&!Array.isArray(t(e)))}(this.rawNode,c)},get ignored(){return i(this.rawNode)},contains(e){return function(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}(this,e)}},pK),h=mK(e,o,r,u,c);function p(e){if(null==e)return null;const t=o.get(e);return t&&!t.ignored?t:null}const f={treeNodes:h,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:c,getFlattenedNodes:e=>fK(h,e),getNode:function(e){if(null==e)return null;const t=o.get(e);return!t||t.isGroup||t.ignored?null:t},getPrev:function(e,t){const n=p(e);return n?n.getPrev(t):null},getNext:function(e,t){const n=p(e);return n?n.getNext(t):null},getParent:function(e){const t=p(e);return t?t.getParent():null},getChild:function(e){const t=p(e);return t?t.getChild():null},getFirstAvailableNode:()=>function(e){if(0===e.length)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}(h),getPath:(e,t={})=>function(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const a=o.treeNodeMap;let i=null==e?null:null!==(r=a.get(e))&&void 0!==r?r:null;const l={keyPath:[],treeNodePath:[],treeNode:i};if(null==i?void 0:i.ignored)return l.treeNode=null,l;for(;i;)i.ignored||!t&&i.isGroup||l.treeNodePath.push(i),i=i.parent;return l.treeNodePath.reverse(),n||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map((e=>e.key)),l}(e,t,f),getCheckedKeys(e,t={}){const{cascade:n=!0,leafOnly:o=!1,checkStrategy:r="all",allowNotLoaded:a=!1}=t;return lK({checkedKeys:Jq(e),indeterminateKeys:eK(e),cascade:n,leafOnly:o,checkStrategy:r,allowNotLoaded:a},f)},check(e,t,n={}){const{cascade:o=!0,leafOnly:r=!1,checkStrategy:a="all",allowNotLoaded:i=!1}=n;return lK({checkedKeys:Jq(t),indeterminateKeys:eK(t),keysToCheck:null==e?[]:qq(e),cascade:o,leafOnly:r,checkStrategy:a,allowNotLoaded:i},f)},uncheck(e,t,n={}){const{cascade:o=!0,leafOnly:r=!1,checkStrategy:a="all",allowNotLoaded:i=!1}=n;return lK({checkedKeys:Jq(t),indeterminateKeys:eK(t),keysToUncheck:null==e?[]:qq(e),cascade:o,leafOnly:r,checkStrategy:a,allowNotLoaded:i},f)},getNonLeafKeys:(e={})=>function(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?e=>{e.isLeaf||(o.push(e.key),a(e.children))}:e=>{e.isLeaf||(e.isGroup||o.push(e.key),a(e.children))};function a(e){e.forEach(r)}return a(e),o}(h,e)};return f}const gK={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function bK(e){const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeTiny:r,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:l,fontSizeHuge:s}=e;return Object.assign(Object.assign({},gK),{fontSizeTiny:r,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:l,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})}const yK={name:"Empty",common:Eq,self:bK},_K={name:"Empty",common:KU,self:bK},xK=LA("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[jA("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[BA("+",[jA("description","\n margin-top: 8px;\n ")])]),jA("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),jA("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]),CK=$n({name:"Empty",props:Object.assign(Object.assign({},HW.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedComponentPropsRef:o}=fE(e),r=HW("Empty","-empty",xK,yK,e,t),{localeRef:a}=AW("Empty"),i=Qr((()=>{var t,n,r;return null!==(t=e.description)&&void 0!==t?t:null===(r=null===(n=null==o?void 0:o.value)||void 0===n?void 0:n.Empty)||void 0===r?void 0:r.description})),l=Qr((()=>{var e,t;return(null===(t=null===(e=null==o?void 0:o.value)||void 0===e?void 0:e.Empty)||void 0===t?void 0:t.renderIcon)||(()=>Jr(iV,null))})),s=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{[KA("iconSize",t)]:o,[KA("fontSize",t)]:a,textColor:i,iconColor:l,extraTextColor:s}}=r.value;return{"--n-icon-size":o,"--n-font-size":a,"--n-bezier":n,"--n-text-color":i,"--n-icon-color":l,"--n-extra-text-color":s}})),d=n?vE("empty",Qr((()=>{let t="";const{size:n}=e;return t+=n[0],t})),s,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:l,localizedDescription:Qr((()=>i.value||a.value.description)),cssVars:n?void 0:s,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return null==n||n(),Jr("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?Jr("div",{class:`${t}-empty__icon`},e.icon?e.icon():Jr(VW,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?Jr("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?Jr("div",{class:`${t}-empty__extra`},e.extra()):null)}}),wK={height:"calc(var(--n-option-height) * 7.6)",paddingTiny:"4px 0",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingTiny:"0 12px",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"};function SK(e){const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:a,primaryColorPressed:i,textColorDisabled:l,primaryColor:s,opacityDisabled:d,hoverColor:c,fontSizeTiny:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:f,fontSizeHuge:m,heightTiny:v,heightSmall:g,heightMedium:b,heightLarge:y,heightHuge:_}=e;return Object.assign(Object.assign({},wK),{optionFontSizeTiny:u,optionFontSizeSmall:h,optionFontSizeMedium:p,optionFontSizeLarge:f,optionFontSizeHuge:m,optionHeightTiny:v,optionHeightSmall:g,optionHeightMedium:b,optionHeightLarge:y,optionHeightHuge:_,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:a,optionTextColorPressed:i,optionTextColorDisabled:l,optionTextColorActive:s,optionOpacityDisabled:d,optionCheckColor:s,optionColorPending:c,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:c,actionTextColor:a,loadingColor:s})}const kK={name:"InternalSelectMenu",common:Eq,peers:{Scrollbar:Nq,Empty:yK},self:SK},PK={name:"InternalSelectMenu",common:KU,peers:{Scrollbar:Hq,Empty:_K},self:SK},TK=$n({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=Ro(FD);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,a=null==o?void 0:o(r),i=t?t(r,!1):aE(r[this.labelField],r,!1),l=Jr("div",Object.assign({},a,{class:[`${e}-base-select-group-header`,null==a?void 0:a.class]}),i);return r.render?r.render({node:l,option:r}):n?n({node:l,option:r,selected:!1}):l}});const RK=$n({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:a,renderOptionRef:i,labelFieldRef:l,valueFieldRef:s,showCheckmarkRef:d,nodePropsRef:c,handleOptionClick:u,handleOptionMouseEnter:h}=Ro(FD),p=oD((()=>{const{value:t}=n;return!!t&&e.tmNode.key===t.key}));return{multiple:o,isGrouped:oD((()=>{const{tmNode:t}=e,{parent:n}=t;return n&&"group"===n.rawNode.type})),showCheckmark:d,nodeProps:c,isPending:p,isSelected:oD((()=>{const{value:n}=t,{value:a}=o;if(null===n)return!1;const i=e.tmNode.rawNode[s.value];if(a){const{value:e}=r;return e.has(i)}return n===i})),labelField:l,renderLabel:a,renderOption:i,handleMouseMove:function(t){const{tmNode:n}=e,{value:o}=p;n.disabled||o||h(t,n)},handleMouseEnter:function(t){const{tmNode:n}=e;n.disabled||h(t,n)},handleClick:function(t){const{tmNode:n}=e;n.disabled||u(t,n)}}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:a,nodeProps:i,renderOption:l,renderLabel:s,handleClick:d,handleMouseEnter:c,handleMouseMove:u}=this,h=function(e,t){return Jr(ha,{name:"fade-in-scale-up-transition"},{default:()=>e?Jr(VW,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>Jr(JW)}):null})}(n,e),p=s?[s(t,n),a&&h]:[aE(t[this.labelField],t,n),a&&h],f=null==i?void 0:i(t),m=Jr("div",Object.assign({},f,{class:[`${e}-base-select-option`,t.class,null==f?void 0:f.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:a}],style:[(null==f?void 0:f.style)||"",t.style||""],onClick:oE([d,null==f?void 0:f.onClick]),onMouseenter:oE([c,null==f?void 0:f.onMouseenter]),onMousemove:oE([u,null==f?void 0:f.onMousemove])}),Jr("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:m,option:t,selected:n}):l?l({node:m,option:t,selected:n}):m}}),{cubicBezierEaseIn:FK,cubicBezierEaseOut:zK}=IW;function MK({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[BA("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${FK}, transform ${t} ${FK} ${r&&`,${r}`}`}),BA("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${zK}, transform ${t} ${zK} ${r&&`,${r}`}`}),BA("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),BA("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const $K=LA("base-select-menu","\n line-height: 1.5;\n outline: none;\n z-index: 0;\n position: relative;\n border-radius: var(--n-border-radius);\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n background-color: var(--n-color);\n",[LA("scrollbar","\n max-height: var(--n-height);\n "),LA("virtual-list","\n max-height: var(--n-height);\n "),LA("base-select-option","\n min-height: var(--n-option-height);\n font-size: var(--n-option-font-size);\n display: flex;\n align-items: center;\n ",[jA("content","\n z-index: 1;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n ")]),LA("base-select-group-header","\n min-height: var(--n-option-height);\n font-size: .93em;\n display: flex;\n align-items: center;\n "),LA("base-select-menu-option-wrapper","\n position: relative;\n width: 100%;\n "),jA("loading, empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),jA("loading","\n color: var(--n-loading-color);\n font-size: var(--n-loading-size);\n "),jA("header","\n padding: 8px var(--n-option-padding-left);\n font-size: var(--n-option-font-size);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),jA("action","\n padding: 8px var(--n-option-padding-left);\n font-size: var(--n-option-font-size);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n border-top: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),LA("base-select-group-header","\n position: relative;\n cursor: default;\n padding: var(--n-option-padding);\n color: var(--n-group-header-text-color);\n "),LA("base-select-option","\n cursor: pointer;\n position: relative;\n padding: var(--n-option-padding);\n transition:\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n box-sizing: border-box;\n color: var(--n-option-text-color);\n opacity: 1;\n ",[NA("show-checkmark","\n padding-right: calc(var(--n-option-padding-right) + 20px);\n "),BA("&::before",'\n content: "";\n position: absolute;\n left: 4px;\n right: 4px;\n top: 0;\n bottom: 0;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n '),BA("&:active","\n color: var(--n-option-text-color-pressed);\n "),NA("grouped","\n padding-left: calc(var(--n-option-padding-left) * 1.5);\n "),NA("pending",[BA("&::before","\n background-color: var(--n-option-color-pending);\n ")]),NA("selected","\n color: var(--n-option-text-color-active);\n ",[BA("&::before","\n background-color: var(--n-option-color-active);\n "),NA("pending",[BA("&::before","\n background-color: var(--n-option-color-active-pending);\n ")])]),NA("disabled","\n cursor: not-allowed;\n ",[HA("selected","\n color: var(--n-option-text-color-disabled);\n "),NA("selected","\n opacity: var(--n-option-opacity-disabled);\n ")]),jA("check","\n font-size: 16px;\n position: absolute;\n right: calc(var(--n-option-padding-right) - 4px);\n top: calc(50% - 7px);\n color: var(--n-option-check-color);\n transition: color .3s var(--n-bezier);\n ",[MK({enterScale:"0.5"})])])]),AK=$n({name:"InternalSelectMenu",props:Object.assign(Object.assign({},HW.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=DW("InternalSelectMenu",n,t),r=HW("InternalSelectMenu","-internal-select-menu",$K,kK,e,Ft(e,"clsPrefix")),a=vt(null),i=vt(null),l=vt(null),s=Qr((()=>e.treeMate.getFlattenedNodes())),d=Qr((()=>rK(s.value))),c=vt(null);function u(){const{value:t}=c;t&&!e.treeMate.getNode(t.key)&&(c.value=null)}let h;er((()=>e.show),(t=>{t?h=er((()=>e.treeMate),(()=>{e.resetMenuOnOptionsChange?(e.autoPending?function(){const{treeMate:t}=e;let n=null;const{value:o}=e;null===o?n=t.getFirstAvailableNode():(n=e.multiple?t.getNode((o||[])[(o||[]).length-1]):t.getNode(o),n&&!n.disabled||(n=t.getFirstAvailableNode())),b(n||null)}():u(),Kt(y)):u()}),{immediate:!0}):null==h||h()}),{immediate:!0}),Xn((()=>{null==h||h()}));const p=Qr((()=>tO(r.value.self[KA("optionHeight",e.size)]))),f=Qr((()=>oO(r.value.self[KA("padding",e.size)]))),m=Qr((()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set)),v=Qr((()=>{const e=s.value;return e&&0===e.length}));function g(t){const{onScroll:n}=e;n&&n(t)}function b(e,t=!1){c.value=e,t&&y()}function y(){var t,n;const o=c.value;if(!o)return;const r=d.value(o.key);null!==r&&(e.virtualScroll?null===(t=i.value)||void 0===t||t.scrollTo({index:r}):null===(n=l.value)||void 0===n||n.scrollTo({index:r,elSize:p.value}))}To(FD,{handleOptionMouseEnter:function(e,t){t.disabled||b(t,!1)},handleOptionClick:function(t,n){n.disabled||function(t){const{onToggle:n}=e;n&&n(t)}(n)},valueSetRef:m,pendingTmNodeRef:c,nodePropsRef:Ft(e,"nodeProps"),showCheckmarkRef:Ft(e,"showCheckmark"),multipleRef:Ft(e,"multiple"),valueRef:Ft(e,"value"),renderLabelRef:Ft(e,"renderLabel"),renderOptionRef:Ft(e,"renderOption"),labelFieldRef:Ft(e,"labelField"),valueFieldRef:Ft(e,"valueField")}),To(zD,a),Kn((()=>{const{value:e}=l;e&&e.sync()}));const _=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{height:o,borderRadius:a,color:i,groupHeaderTextColor:l,actionDividerColor:s,optionTextColorPressed:d,optionTextColor:c,optionTextColorDisabled:u,optionTextColorActive:h,optionOpacityDisabled:p,optionCheckColor:f,actionTextColor:m,optionColorPending:v,optionColorActive:g,loadingColor:b,loadingSize:y,optionColorActivePending:_,[KA("optionFontSize",t)]:x,[KA("optionHeight",t)]:C,[KA("optionPadding",t)]:w}}=r.value;return{"--n-height":o,"--n-action-divider-color":s,"--n-action-text-color":m,"--n-bezier":n,"--n-border-radius":a,"--n-color":i,"--n-option-font-size":x,"--n-group-header-text-color":l,"--n-option-check-color":f,"--n-option-color-pending":v,"--n-option-color-active":g,"--n-option-color-active-pending":_,"--n-option-height":C,"--n-option-opacity-disabled":p,"--n-option-text-color":c,"--n-option-text-color-active":h,"--n-option-text-color-disabled":u,"--n-option-text-color-pressed":d,"--n-option-padding":w,"--n-option-padding-left":oO(w,"left"),"--n-option-padding-right":oO(w,"right"),"--n-loading-color":b,"--n-loading-size":y}})),{inlineThemeDisabled:x}=e,C=x?vE("internal-select-menu",Qr((()=>e.size[0])),_,e):void 0,w={selfRef:a,next:function(){const{value:e}=c;e&&b(e.getNext({loop:!0}),!0)},prev:function(){const{value:e}=c;e&&b(e.getPrev({loop:!0}),!0)},getPendingTmNode:function(){const{value:e}=c;return e||null}};return DB(a,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:i,scrollbarRef:l,itemSize:p,padding:f,flattenedNodes:s,empty:v,virtualListContainer(){const{value:e}=i;return null==e?void 0:e.listElRef},virtualListContent(){const{value:e}=i;return null==e?void 0:e.itemsElRef},doScroll:g,handleFocusin:function(t){var n,o;(null===(n=a.value)||void 0===n?void 0:n.contains(t.target))&&(null===(o=e.onFocus)||void 0===o||o.call(e,t))},handleFocusout:function(t){var n,o;(null===(n=a.value)||void 0===n?void 0:n.contains(t.relatedTarget))||null===(o=e.onBlur)||void 0===o||o.call(e,t)},handleKeyUp:function(t){var n;QA(t,"action")||null===(n=e.onKeyup)||void 0===n||n.call(e,t)},handleKeyDown:function(t){var n;QA(t,"action")||null===(n=e.onKeydown)||void 0===n||n.call(e,t)},handleMouseDown:function(t){var n;null===(n=e.onMousedown)||void 0===n||n.call(e,t),e.focusable||t.preventDefault()},handleVirtualListResize:function(){var e;null===(e=l.value)||void 0===e||e.sync()},handleVirtualListScroll:function(e){var t;null===(t=l.value)||void 0===t||t.sync(),g(e)},cssVars:x?void 0:_,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender},w)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:a}=this;return null==a||a(),Jr("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},dE(e.header,(e=>e&&Jr("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},e))),this.loading?Jr("div",{class:`${n}-base-select-menu__loading`},Jr(NV,{clsPrefix:n,strokeWidth:20})):this.empty?Jr("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},lE(e.empty,(()=>[Jr(CK,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty,size:this.size})]))):Jr(Vq,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?Jr(kB,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:e})=>e.isGroup?Jr(TK,{key:e.key,clsPrefix:n,tmNode:e}):e.ignored?null:Jr(RK,{clsPrefix:n,key:e.key,tmNode:e})}):Jr("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map((e=>e.isGroup?Jr(TK,{key:e.key,clsPrefix:n,tmNode:e}):Jr(RK,{clsPrefix:n,key:e.key,tmNode:e}))))}),dE(e.action,(e=>e&&[Jr("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},e),Jr(BV,{onFocus:this.onTabOut,key:"focus-detector"})])))}}),OK={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function DK(e){const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:a,dividerColor:i}=e;return Object.assign(Object.assign({},OK),{fontSize:a,borderRadius:r,color:n,dividerColor:i,textColor:o,boxShadow:t})}const IK={name:"Popover",common:Eq,self:DK},BK={name:"Popover",common:KU,self:DK},EK={top:"bottom",bottom:"top",left:"right",right:"left"},LK="var(--n-arrow-height) * 1.414",jK=BA([LA("popover","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n position: relative;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n box-shadow: var(--n-box-shadow);\n word-break: break-word;\n ",[BA(">",[LA("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),HA("raw","\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n ",[HA("scrollable",[HA("show-header-or-footer","padding: var(--n-padding);")])]),jA("header","\n padding: var(--n-padding);\n border-bottom: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),jA("footer","\n padding: var(--n-padding);\n border-top: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),NA("scrollable, show-header-or-footer",[jA("content","\n padding: var(--n-padding);\n ")])]),LA("popover-shared","\n transform-origin: inherit;\n ",[LA("popover-arrow-wrapper","\n position: absolute;\n overflow: hidden;\n pointer-events: none;\n ",[LA("popover-arrow",`\n transition: background-color .3s var(--n-bezier);\n position: absolute;\n display: block;\n width: calc(${LK});\n height: calc(${LK});\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);\n transform: rotate(45deg);\n background-color: var(--n-color);\n pointer-events: all;\n `)]),BA("&.popover-transition-enter-from, &.popover-transition-leave-to","\n opacity: 0;\n transform: scale(.85);\n "),BA("&.popover-transition-enter-to, &.popover-transition-leave-from","\n transform: scale(1);\n opacity: 1;\n "),BA("&.popover-transition-enter-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-out),\n transform .15s var(--n-bezier-ease-out);\n "),BA("&.popover-transition-leave-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-in),\n transform .15s var(--n-bezier-ease-in);\n ")]),VK("top-start",`\n top: calc(${LK} / -2);\n left: calc(${WK("top-start")} - var(--v-offset-left));\n `),VK("top",`\n top: calc(${LK} / -2);\n transform: translateX(calc(${LK} / -2)) rotate(45deg);\n left: 50%;\n `),VK("top-end",`\n top: calc(${LK} / -2);\n right: calc(${WK("top-end")} + var(--v-offset-left));\n `),VK("bottom-start",`\n bottom: calc(${LK} / -2);\n left: calc(${WK("bottom-start")} - var(--v-offset-left));\n `),VK("bottom",`\n bottom: calc(${LK} / -2);\n transform: translateX(calc(${LK} / -2)) rotate(45deg);\n left: 50%;\n `),VK("bottom-end",`\n bottom: calc(${LK} / -2);\n right: calc(${WK("bottom-end")} + var(--v-offset-left));\n `),VK("left-start",`\n left: calc(${LK} / -2);\n top: calc(${WK("left-start")} - var(--v-offset-top));\n `),VK("left",`\n left: calc(${LK} / -2);\n transform: translateY(calc(${LK} / -2)) rotate(45deg);\n top: 50%;\n `),VK("left-end",`\n left: calc(${LK} / -2);\n bottom: calc(${WK("left-end")} + var(--v-offset-top));\n `),VK("right-start",`\n right: calc(${LK} / -2);\n top: calc(${WK("right-start")} - var(--v-offset-top));\n `),VK("right",`\n right: calc(${LK} / -2);\n transform: translateY(calc(${LK} / -2)) rotate(45deg);\n top: 50%;\n `),VK("right-end",`\n right: calc(${LK} / -2);\n bottom: calc(${WK("right-end")} + var(--v-offset-top));\n `),...(NK={top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},HK=(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map((e=>{const r="end"===e.split("-")[1],a=`calc((var(--v-target-${o}, 0px) - ${LK}) / 2)`,i=WK(e);return BA(`[v-placement="${e}"] >`,[LA("popover-shared",[NA("center-arrow",[LA("popover-arrow",`${t}: calc(max(${a}, ${i}) ${r?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])}))},(YL(NK)?KL:RW)(NK,yW(HK)))]);var NK,HK;function WK(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function VK(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return BA(`[v-placement="${e}"] >`,[LA("popover-shared",`\n margin-${EK[n]}: var(--n-space);\n `,[NA("show-arrow",`\n margin-${EK[n]}: var(--n-space-arrow);\n `),NA("overlap","\n margin: 0;\n "),qA("popover-arrow-wrapper",`\n right: 0;\n left: 0;\n top: 0;\n bottom: 0;\n ${n}: 100%;\n ${EK[n]}: auto;\n ${o}\n `,[LA("popover-arrow",t)])])])}const UK=Object.assign(Object.assign({},HW.props),{to:ID.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function qK({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r}){return Jr("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},Jr("div",{class:[`${r}-popover-arrow`,e],style:t}))}const KK=$n({name:"PopoverBody",inheritAttrs:!1,props:UK,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:a}=fE(e),i=HW("Popover","-popover",jK,IK,e,r),l=vt(null),s=Ro("NPopover"),d=vt(null),c=vt(e.show),u=vt(!1);Jo((()=>{const{show:t}=e;!t||(void 0===HB&&(HB=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),HB)||e.internalDeactivateImmediately||(u.value=!0)}));const h=Qr((()=>{const{trigger:t,onClickoutside:n}=e,o=[],{positionManuallyRef:{value:r}}=s;return r||("click"!==t||n||o.push([sI,y,void 0,{capture:!0}]),"hover"===t&&o.push([iI,b])),n&&o.push([sI,y,void 0,{capture:!0}]),("show"===e.displayDirective||e.animated&&u.value)&&o.push([Ra,e.show]),o})),p=Qr((()=>{const{common:{cubicBezierEaseInOut:e,cubicBezierEaseIn:t,cubicBezierEaseOut:n},self:{space:o,spaceArrow:r,padding:a,fontSize:l,textColor:s,dividerColor:d,color:c,boxShadow:u,borderRadius:h,arrowHeight:p,arrowOffset:f,arrowOffsetVertical:m}}=i.value;return{"--n-box-shadow":u,"--n-bezier":e,"--n-bezier-ease-in":t,"--n-bezier-ease-out":n,"--n-font-size":l,"--n-text-color":s,"--n-color":c,"--n-divider-color":d,"--n-border-radius":h,"--n-arrow-height":p,"--n-arrow-offset":f,"--n-arrow-offset-vertical":m,"--n-padding":a,"--n-space":o,"--n-space-arrow":r}})),f=Qr((()=>{const t="trigger"===e.width?void 0:LB(e.width),n=[];t&&n.push({width:t});const{maxWidth:o,minWidth:r}=e;return o&&n.push({maxWidth:LB(o)}),r&&n.push({maxWidth:LB(r)}),a||n.push(p.value),n})),m=a?vE("popover",void 0,p,e):void 0;function v(t){"hover"===e.trigger&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(t)}function g(t){"hover"===e.trigger&&e.keepAliveOnHover&&s.handleMouseLeave(t)}function b(t){"hover"!==e.trigger||_().contains(JA(t))||s.handleMouseMoveOutside(t)}function y(t){("click"===e.trigger&&!_().contains(JA(t))||e.onClickoutside)&&s.handleClickOutside(t)}function _(){return s.getTriggerElement()}return s.setBodyInstance({syncPosition:function(){var e;null===(e=l.value)||void 0===e||e.syncPosition()}}),Xn((()=>{s.setBodyInstance(null)})),er(Ft(e,"show"),(t=>{e.animated||(c.value=!!t)})),To(OD,d),To(MD,null),To($D,null),{displayed:u,namespace:o,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:ID(e),followerEnabled:c,renderContentNode:function(){if(null==m||m.onRender(),!("show"===e.displayDirective||e.show||e.animated&&u.value))return null;let o;const a=s.internalRenderBodyRef.value,{value:i}=r;if(a)o=a([`${i}-popover-shared`,null==m?void 0:m.themeClass.value,e.overlap&&`${i}-popover-shared--overlap`,e.showArrow&&`${i}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${i}-popover-shared--center-arrow`],d,f.value,v,g);else{const{value:r}=s.extraClassRef,{internalTrapFocus:a}=e,l=!cE(t.header)||!cE(t.footer),c=()=>{var n,o;const r=l?Jr(pr,null,dE(t.header,(t=>t?Jr("div",{class:[`${i}-popover__header`,e.headerClass],style:e.headerStyle},t):null)),dE(t.default,(n=>n?Jr("div",{class:[`${i}-popover__content`,e.contentClass],style:e.contentStyle},t):null)),dE(t.footer,(t=>t?Jr("div",{class:[`${i}-popover__footer`,e.footerClass],style:e.footerStyle},t):null))):e.scrollable?null===(n=t.default)||void 0===n?void 0:n.call(t):Jr("div",{class:[`${i}-popover__content`,e.contentClass],style:e.contentStyle},t);return[e.scrollable?Jr(Uq,{contentClass:l?void 0:`${i}-popover__content ${null!==(o=e.contentClass)&&void 0!==o?o:""}`,contentStyle:l?void 0:e.contentStyle},{default:()=>r}):r,e.showArrow?qK({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:i}):null]};o=Jr("div",Ir({class:[`${i}-popover`,`${i}-popover-shared`,null==m?void 0:m.themeClass.value,r.map((e=>`${i}-${e}`)),{[`${i}-popover--scrollable`]:e.scrollable,[`${i}-popover--show-header-or-footer`]:l,[`${i}-popover--raw`]:e.raw,[`${i}-popover-shared--overlap`]:e.overlap,[`${i}-popover-shared--show-arrow`]:e.showArrow,[`${i}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:d,style:f.value,onKeydown:s.handleKeydown,onMouseenter:v,onMouseleave:g},n),a?Jr(OB,{active:e.show,autoFocus:!0},{default:c}):c())}return on(o,h.value)}}},render(){return Jr(FI,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:"trigger"===this.width?"target":void 0,teleportDisabled:this.adjustedTo===ID.tdkey},{default:()=>this.animated?Jr(ha,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;null===(e=this.internalOnAfterLeave)||void 0===e||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),YK=Object.keys(UK),GK={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};const XK={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:ID.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},ZK=$n({name:"Popover",inheritAttrs:!1,props:Object.assign(Object.assign(Object.assign({},HW.props),XK),{internalOnAfterLeave:Function,internalRenderBody:Function}),slots:Object,__popover__:!0,setup(e){const t=CD(),n=vt(null),o=Qr((()=>e.show)),r=vt(e.defaultShow),a=xD(o,r),i=oD((()=>!e.disabled&&a.value)),l=()=>{if(e.disabled)return!0;const{getDisabled:t}=e;return!!(null==t?void 0:t())},s=()=>!l()&&a.value,d=wD(e,["arrow","showArrow"]),c=Qr((()=>!e.overlap&&d.value));let u=null;const h=vt(null),p=vt(null),f=oD((()=>void 0!==e.x&&void 0!==e.y));function m(t){const{"onUpdate:show":n,onUpdateShow:o,onShow:a,onHide:i}=e;r.value=t,n&&GB(n,t),o&&GB(o,t),t&&a&&GB(a,!0),t&&i&&GB(i,!1)}function v(){const{value:e}=h;e&&(window.clearTimeout(e),h.value=null)}function g(){const{value:e}=p;e&&(window.clearTimeout(e),p.value=null)}function b(){const t=l();if("hover"===e.trigger&&!t){if(g(),null!==h.value)return;if(s())return;const t=()=>{m(!0),h.value=null},{delay:n}=e;0===n?t():h.value=window.setTimeout(t,n)}}function y(){const t=l();if("hover"===e.trigger&&!t){if(v(),null!==p.value)return;if(!s())return;const t=()=>{m(!1),p.value=null},{duration:n}=e;0===n?t():p.value=window.setTimeout(t,n)}}To("NPopover",{getTriggerElement:function(){var e;return null===(e=n.value)||void 0===e?void 0:e.targetRef},handleKeydown:function(t){e.internalTrapFocus&&"Escape"===t.key&&(v(),g(),m(!1))},handleMouseEnter:b,handleMouseLeave:y,handleClickOutside:function(t){var n;s()&&("click"===e.trigger&&(v(),g(),m(!1)),null===(n=e.onClickoutside)||void 0===n||n.call(e,t))},handleMouseMoveOutside:function(){y()},setBodyInstance:function(e){u=e},positionManuallyRef:f,isMountedRef:t,zIndexRef:Ft(e,"zIndex"),extraClassRef:Ft(e,"internalExtraClass"),internalRenderBodyRef:Ft(e,"internalRenderBody")}),Jo((()=>{a.value&&l()&&m(!1)}));return{binderInstRef:n,positionManually:f,mergedShowConsideringDisabledProp:i,uncontrolledShow:r,mergedShowArrow:c,getMergedShow:s,setShow:function(e){r.value=e},handleClick:function(){if("click"===e.trigger&&!l()){v(),g();m(!s())}},handleMouseEnter:b,handleMouseLeave:y,handleFocus:function(){const t=l();if("focus"===e.trigger&&!t){if(s())return;m(!0)}},handleBlur:function(){const t=l();if("focus"===e.trigger&&!t){if(!s())return;m(!1)}},syncPosition:function(){u&&u.syncPosition()}}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(o=function(e,t="default",n){const o=e[t];if(!o)return null;const r=QB(o(n));return 1===r.length?r[0]:null}(n,"trigger"),o)){o=Mr(o),o=o.type===fr?Jr("span",[o]):o;const n={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(null===(e=o.type)||void 0===e?void 0:e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[n,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[n];else{const{internalInheritedEventHandlers:e}=this,r=[n,...e],s={onBlur:e=>{r.forEach((t=>{t.onBlur(e)}))},onFocus:e=>{r.forEach((t=>{t.onFocus(e)}))},onClick:e=>{r.forEach((t=>{t.onClick(e)}))},onMouseenter:e=>{r.forEach((t=>{t.onMouseenter(e)}))},onMouseleave:e=>{r.forEach((t=>{t.onMouseleave(e)}))}};a=o,i=e?"nested":t?"manual":this.trigger,l=s,GK[i].forEach((e=>{a.props?a.props=Object.assign({},a.props):a.props={};const t=a.props[e],n=l[e];a.props[e]=t?(...e)=>{t(...e),n(...e)}:n}))}}var a,i,l;return Jr(oI,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const e=this.getMergedShow();return[this.internalTrapFocus&&e?on(Jr("div",{style:{position:"fixed",top:0,right:0,bottom:0,left:0}}),[[uI,{enabled:e,zIndex:this.zIndex}]]):null,t?null:Jr(rI,null,{default:()=>o}),Jr(KK,tE(this.$props,YK,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:e})),{default:()=>{var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)},header:()=>{var e,t;return null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e)},footer:()=>{var e,t;return null===(t=(e=this.$slots).footer)||void 0===t?void 0:t.call(e)}})]}})}}),QK={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},JK={name:"Tag",common:KU,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:a,successColor:i,warningColor:l,errorColor:s,baseColor:d,borderColor:c,tagColor:u,opacityDisabled:h,closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:g,borderRadiusSmall:b,fontSizeMini:y,fontSizeTiny:_,fontSizeSmall:x,fontSizeMedium:C,heightMini:w,heightTiny:S,heightSmall:k,heightMedium:P,buttonColor2Hover:T,buttonColor2Pressed:R,fontWeightStrong:F}=e;return Object.assign(Object.assign({},QK),{closeBorderRadius:b,heightTiny:w,heightSmall:S,heightMedium:k,heightLarge:P,borderRadius:b,opacityDisabled:h,fontSizeTiny:y,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:C,fontWeightStrong:F,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:T,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${c}`,textColor:t,color:u,colorBordered:"#0000",closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:g,borderPrimary:`1px solid ${DO(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:DO(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:IO(r,{lightness:.7}),closeIconColorHoverPrimary:IO(r,{lightness:.7}),closeIconColorPressedPrimary:IO(r,{lightness:.7}),closeColorHoverPrimary:DO(r,{alpha:.16}),closeColorPressedPrimary:DO(r,{alpha:.12}),borderInfo:`1px solid ${DO(a,{alpha:.3})}`,textColorInfo:a,colorInfo:DO(a,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:IO(a,{alpha:.7}),closeIconColorHoverInfo:IO(a,{alpha:.7}),closeIconColorPressedInfo:IO(a,{alpha:.7}),closeColorHoverInfo:DO(a,{alpha:.16}),closeColorPressedInfo:DO(a,{alpha:.12}),borderSuccess:`1px solid ${DO(i,{alpha:.3})}`,textColorSuccess:i,colorSuccess:DO(i,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:IO(i,{alpha:.7}),closeIconColorHoverSuccess:IO(i,{alpha:.7}),closeIconColorPressedSuccess:IO(i,{alpha:.7}),closeColorHoverSuccess:DO(i,{alpha:.16}),closeColorPressedSuccess:DO(i,{alpha:.12}),borderWarning:`1px solid ${DO(l,{alpha:.3})}`,textColorWarning:l,colorWarning:DO(l,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:IO(l,{alpha:.7}),closeIconColorHoverWarning:IO(l,{alpha:.7}),closeIconColorPressedWarning:IO(l,{alpha:.7}),closeColorHoverWarning:DO(l,{alpha:.16}),closeColorPressedWarning:DO(l,{alpha:.11}),borderError:`1px solid ${DO(s,{alpha:.3})}`,textColorError:s,colorError:DO(s,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:IO(s,{alpha:.7}),closeIconColorHoverError:IO(s,{alpha:.7}),closeIconColorPressedError:IO(s,{alpha:.7}),closeColorHoverError:DO(s,{alpha:.16}),closeColorPressedError:DO(s,{alpha:.12})})}};const eY={name:"Tag",common:Eq,self:function(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:a,successColor:i,warningColor:l,errorColor:s,baseColor:d,borderColor:c,opacityDisabled:u,tagColor:h,closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,borderRadiusSmall:v,fontSizeMini:g,fontSizeTiny:b,fontSizeSmall:y,fontSizeMedium:_,heightMini:x,heightTiny:C,heightSmall:w,heightMedium:S,closeColorHover:k,closeColorPressed:P,buttonColor2Hover:T,buttonColor2Pressed:R,fontWeightStrong:F}=e;return Object.assign(Object.assign({},QK),{closeBorderRadius:v,heightTiny:x,heightSmall:C,heightMedium:w,heightLarge:S,borderRadius:v,opacityDisabled:u,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:y,fontSizeLarge:_,fontWeightStrong:F,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:T,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${c}`,textColor:t,color:h,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:k,closeColorPressed:P,borderPrimary:`1px solid ${DO(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:DO(r,{alpha:.12}),colorBorderedPrimary:DO(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:DO(r,{alpha:.12}),closeColorPressedPrimary:DO(r,{alpha:.18}),borderInfo:`1px solid ${DO(a,{alpha:.3})}`,textColorInfo:a,colorInfo:DO(a,{alpha:.12}),colorBorderedInfo:DO(a,{alpha:.1}),closeIconColorInfo:a,closeIconColorHoverInfo:a,closeIconColorPressedInfo:a,closeColorHoverInfo:DO(a,{alpha:.12}),closeColorPressedInfo:DO(a,{alpha:.18}),borderSuccess:`1px solid ${DO(i,{alpha:.3})}`,textColorSuccess:i,colorSuccess:DO(i,{alpha:.12}),colorBorderedSuccess:DO(i,{alpha:.1}),closeIconColorSuccess:i,closeIconColorHoverSuccess:i,closeIconColorPressedSuccess:i,closeColorHoverSuccess:DO(i,{alpha:.12}),closeColorPressedSuccess:DO(i,{alpha:.18}),borderWarning:`1px solid ${DO(l,{alpha:.35})}`,textColorWarning:l,colorWarning:DO(l,{alpha:.15}),colorBorderedWarning:DO(l,{alpha:.12}),closeIconColorWarning:l,closeIconColorHoverWarning:l,closeIconColorPressedWarning:l,closeColorHoverWarning:DO(l,{alpha:.12}),closeColorPressedWarning:DO(l,{alpha:.18}),borderError:`1px solid ${DO(s,{alpha:.23})}`,textColorError:s,colorError:DO(s,{alpha:.1}),colorBorderedError:DO(s,{alpha:.08}),closeIconColorError:s,closeIconColorHoverError:s,closeIconColorPressedError:s,closeColorHoverError:DO(s,{alpha:.12}),closeColorPressedError:DO(s,{alpha:.18})})}},tY={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},nY=LA("tag","\n --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left);\n white-space: nowrap;\n position: relative;\n box-sizing: border-box;\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex-wrap: nowrap;\n padding: var(--n-padding);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n transition: \n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n line-height: 1;\n height: var(--n-height);\n font-size: var(--n-font-size);\n",[NA("strong","\n font-weight: var(--n-font-weight-strong);\n "),jA("border","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-border);\n transition: border-color .3s var(--n-bezier);\n "),jA("icon","\n display: flex;\n margin: 0 4px 0 0;\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n font-size: var(--n-avatar-size-override);\n "),jA("avatar","\n display: flex;\n margin: 0 6px 0 0;\n "),jA("close","\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),NA("round","\n padding: 0 calc(var(--n-height) / 3);\n border-radius: calc(var(--n-height) / 2);\n ",[jA("icon","\n margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);\n "),jA("avatar","\n margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);\n "),NA("closable","\n padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);\n ")]),NA("icon, avatar",[NA("round","\n padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2);\n ")]),NA("disabled","\n cursor: not-allowed !important;\n opacity: var(--n-opacity-disabled);\n "),NA("checkable","\n cursor: pointer;\n box-shadow: none;\n color: var(--n-text-color-checkable);\n background-color: var(--n-color-checkable);\n ",[HA("disabled",[BA("&:hover","background-color: var(--n-color-hover-checkable);",[HA("checked","color: var(--n-text-color-hover-checkable);")]),BA("&:active","background-color: var(--n-color-pressed-checkable);",[HA("checked","color: var(--n-text-color-pressed-checkable);")])]),NA("checked","\n color: var(--n-text-color-checked);\n background-color: var(--n-color-checked);\n ",[HA("disabled",[BA("&:hover","background-color: var(--n-color-checked-hover);"),BA("&:active","background-color: var(--n-color-checked-pressed);")])])])]),oY=Object.assign(Object.assign(Object.assign({},HW.props),tY),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),rY=$n({name:"Tag",props:oY,slots:Object,setup(e){const t=vt(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:a}=fE(e),i=HW("Tag","-tag",nY,eY,e,o);To("n-tag",{roundRef:Ft(e,"round")});const l={setTextContent(e){const{value:n}=t;n&&(n.textContent=e)}},s=DW("Tag",a,o),d=Qr((()=>{const{type:t,size:o,color:{color:r,textColor:a}={}}=e,{common:{cubicBezierEaseInOut:l},self:{padding:s,closeMargin:d,borderRadius:c,opacityDisabled:u,textColorCheckable:h,textColorHoverCheckable:p,textColorPressedCheckable:f,textColorChecked:m,colorCheckable:v,colorHoverCheckable:g,colorPressedCheckable:b,colorChecked:y,colorCheckedHover:_,colorCheckedPressed:x,closeBorderRadius:C,fontWeightStrong:w,[KA("colorBordered",t)]:S,[KA("closeSize",o)]:k,[KA("closeIconSize",o)]:P,[KA("fontSize",o)]:T,[KA("height",o)]:R,[KA("color",t)]:F,[KA("textColor",t)]:z,[KA("border",t)]:M,[KA("closeIconColor",t)]:$,[KA("closeIconColorHover",t)]:A,[KA("closeIconColorPressed",t)]:O,[KA("closeColorHover",t)]:D,[KA("closeColorPressed",t)]:I}}=i.value,B=oO(d);return{"--n-font-weight-strong":w,"--n-avatar-size-override":`calc(${R} - 8px)`,"--n-bezier":l,"--n-border-radius":c,"--n-border":M,"--n-close-icon-size":P,"--n-close-color-pressed":I,"--n-close-color-hover":D,"--n-close-border-radius":C,"--n-close-icon-color":$,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":O,"--n-close-icon-color-disabled":$,"--n-close-margin-top":B.top,"--n-close-margin-right":B.right,"--n-close-margin-bottom":B.bottom,"--n-close-margin-left":B.left,"--n-close-size":k,"--n-color":r||(n.value?S:F),"--n-color-checkable":v,"--n-color-checked":y,"--n-color-checked-hover":_,"--n-color-checked-pressed":x,"--n-color-hover-checkable":g,"--n-color-pressed-checkable":b,"--n-font-size":T,"--n-height":R,"--n-opacity-disabled":u,"--n-padding":s,"--n-text-color":a||z,"--n-text-color-checkable":h,"--n-text-color-checked":m,"--n-text-color-hover-checkable":p,"--n-text-color-pressed-checkable":f}})),c=r?vE("tag",Qr((()=>{let t="";const{type:o,size:r,color:{color:a,textColor:i}={}}=e;return t+=o[0],t+=r[0],a&&(t+=`a${IB(a)}`),i&&(t+=`b${IB(i)}`),n.value&&(t+="c"),t})),d,e):void 0;return Object.assign(Object.assign({},l),{rtlEnabled:s,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:function(){if(!e.disabled&&e.checkable){const{checked:t,onCheckedChange:n,onUpdateChecked:o,"onUpdate:checked":r}=e;o&&o(!t),r&&r(!t),n&&n(!t)}},handleCloseClick:function(t){if(e.triggerClickOnClose||t.stopPropagation(),!e.disabled){const{onClose:n}=e;n&&GB(n,t)}},cssVars:r?void 0:d,themeClass:null==c?void 0:c.themeClass,onRender:null==c?void 0:c.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:a}={},round:i,onRender:l,$slots:s}=this;null==l||l();const d=dE(s.avatar,(e=>e&&Jr("div",{class:`${n}-tag__avatar`},e))),c=dE(s.icon,(e=>e&&Jr("div",{class:`${n}-tag__icon`},e)));return Jr("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:i,[`${n}-tag--avatar`]:d,[`${n}-tag--icon`]:c,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},c||d,Jr("span",{class:`${n}-tag__content`,ref:"contentRef"},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)),!this.checkable&&r?Jr(DV,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:i,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?Jr("div",{class:`${n}-tag__border`,style:{borderColor:a}}):null)}}),aY=$n({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup:(e,{slots:t})=>()=>{const{clsPrefix:n}=e;return Jr(NV,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?Jr(AV,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>Jr(VW,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>lE(t.default,(()=>[Jr(eV,null)]))})}):null})}}),iY={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},lY={name:"InternalSelection",common:KU,peers:{Popover:BK},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:a,primaryColor:i,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:c,errorColorHover:u,iconColor:h,iconColorDisabled:p,clearColor:f,clearColorHover:m,clearColorPressed:v,placeholderColor:g,placeholderColorDisabled:b,fontSizeTiny:y,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:C,heightTiny:w,heightSmall:S,heightMedium:k,heightLarge:P,fontWeight:T}=e;return Object.assign(Object.assign({},iY),{fontWeight:T,fontSizeTiny:y,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:C,heightTiny:w,heightSmall:S,heightMedium:k,heightLarge:P,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:g,placeholderColorDisabled:b,color:r,colorDisabled:a,colorActive:DO(i,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${l}`,borderActive:`1px solid ${i}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${DO(i,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${DO(i,{alpha:.4})}`,caretColor:i,arrowColor:h,arrowColorDisabled:p,loadingColor:i,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${DO(s,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${DO(s,{alpha:.4})}`,colorActiveWarning:DO(s,{alpha:.1}),caretColorWarning:s,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${DO(c,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${DO(c,{alpha:.4})}`,colorActiveError:DO(c,{alpha:.1}),caretColorError:c,clearColor:f,clearColorHover:m,clearColorPressed:v})}};const sY={name:"InternalSelection",common:Eq,peers:{Popover:IK},self:function(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:a,primaryColor:i,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:c,errorColorHover:u,borderColor:h,iconColor:p,iconColorDisabled:f,clearColor:m,clearColorHover:v,clearColorPressed:g,placeholderColor:b,placeholderColorDisabled:y,fontSizeTiny:_,fontSizeSmall:x,fontSizeMedium:C,fontSizeLarge:w,heightTiny:S,heightSmall:k,heightMedium:P,heightLarge:T,fontWeight:R}=e;return Object.assign(Object.assign({},iY),{fontSizeTiny:_,fontSizeSmall:x,fontSizeMedium:C,fontSizeLarge:w,heightTiny:S,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:t,fontWeight:R,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:y,color:r,colorDisabled:a,colorActive:r,border:`1px solid ${h}`,borderHover:`1px solid ${l}`,borderActive:`1px solid ${i}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${DO(i,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${DO(i,{alpha:.2})}`,caretColor:i,arrowColor:p,arrowColorDisabled:f,loadingColor:i,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${DO(s,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${DO(s,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:s,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${DO(c,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${DO(c,{alpha:.2})}`,colorActiveError:r,caretColorError:c,clearColor:m,clearColorHover:v,clearColorPressed:g})}},dY=BA([LA("base-selection","\n --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left);\n --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left);\n position: relative;\n z-index: auto;\n box-shadow: none;\n width: 100%;\n max-width: 100%;\n display: inline-block;\n vertical-align: bottom;\n border-radius: var(--n-border-radius);\n min-height: var(--n-height);\n line-height: 1.5;\n font-size: var(--n-font-size);\n ",[LA("base-loading","\n color: var(--n-loading-color);\n "),LA("base-selection-tags","min-height: var(--n-height);"),jA("border, state-border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border: var(--n-border);\n border-radius: inherit;\n transition:\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),jA("state-border","\n z-index: 1;\n border-color: #0000;\n "),LA("base-suffix","\n cursor: pointer;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 10px;\n ",[jA("arrow","\n font-size: var(--n-arrow-size);\n color: var(--n-arrow-color);\n transition: color .3s var(--n-bezier);\n ")]),LA("base-selection-overlay","\n display: flex;\n align-items: center;\n white-space: nowrap;\n pointer-events: none;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--n-padding-single);\n transition: color .3s var(--n-bezier);\n ",[jA("wrapper","\n flex-basis: 0;\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n ")]),LA("base-selection-placeholder","\n color: var(--n-placeholder-color);\n ",[jA("inner","\n max-width: 100%;\n overflow: hidden;\n ")]),LA("base-selection-tags","\n cursor: pointer;\n outline: none;\n box-sizing: border-box;\n position: relative;\n z-index: auto;\n display: flex;\n padding: var(--n-padding-multiple);\n flex-wrap: wrap;\n align-items: center;\n width: 100%;\n vertical-align: bottom;\n background-color: var(--n-color);\n border-radius: inherit;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),LA("base-selection-label","\n height: var(--n-height);\n display: inline-flex;\n width: 100%;\n vertical-align: bottom;\n cursor: pointer;\n outline: none;\n z-index: auto;\n box-sizing: border-box;\n position: relative;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n border-radius: inherit;\n background-color: var(--n-color);\n align-items: center;\n ",[LA("base-selection-input","\n font-size: inherit;\n line-height: inherit;\n outline: none;\n cursor: pointer;\n box-sizing: border-box;\n border:none;\n width: 100%;\n padding: var(--n-padding-single);\n background-color: #0000;\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n caret-color: var(--n-caret-color);\n ",[jA("content","\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap; \n ")]),jA("render-label","\n color: var(--n-text-color);\n ")]),HA("disabled",[BA("&:hover",[jA("state-border","\n box-shadow: var(--n-box-shadow-hover);\n border: var(--n-border-hover);\n ")]),NA("focus",[jA("state-border","\n box-shadow: var(--n-box-shadow-focus);\n border: var(--n-border-focus);\n ")]),NA("active",[jA("state-border","\n box-shadow: var(--n-box-shadow-active);\n border: var(--n-border-active);\n "),LA("base-selection-label","background-color: var(--n-color-active);"),LA("base-selection-tags","background-color: var(--n-color-active);")])]),NA("disabled","cursor: not-allowed;",[jA("arrow","\n color: var(--n-arrow-color-disabled);\n "),LA("base-selection-label","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n ",[LA("base-selection-input","\n cursor: not-allowed;\n color: var(--n-text-color-disabled);\n "),jA("render-label","\n color: var(--n-text-color-disabled);\n ")]),LA("base-selection-tags","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n "),LA("base-selection-placeholder","\n cursor: not-allowed;\n color: var(--n-placeholder-color-disabled);\n ")]),LA("base-selection-input-tag","\n height: calc(var(--n-height) - 6px);\n line-height: calc(var(--n-height) - 6px);\n outline: none;\n display: none;\n position: relative;\n margin-bottom: 3px;\n max-width: 100%;\n vertical-align: bottom;\n ",[jA("input","\n font-size: inherit;\n font-family: inherit;\n min-width: 1px;\n padding: 0;\n background-color: #0000;\n outline: none;\n border: none;\n max-width: 100%;\n overflow: hidden;\n width: 1em;\n line-height: inherit;\n cursor: pointer;\n color: var(--n-text-color);\n caret-color: var(--n-caret-color);\n "),jA("mirror","\n position: absolute;\n left: 0;\n top: 0;\n white-space: pre;\n visibility: hidden;\n user-select: none;\n -webkit-user-select: none;\n opacity: 0;\n ")]),["warning","error"].map((e=>NA(`${e}-status`,[jA("state-border",`border: var(--n-border-${e});`),HA("disabled",[BA("&:hover",[jA("state-border",`\n box-shadow: var(--n-box-shadow-hover-${e});\n border: var(--n-border-hover-${e});\n `)]),NA("active",[jA("state-border",`\n box-shadow: var(--n-box-shadow-active-${e});\n border: var(--n-border-active-${e});\n `),LA("base-selection-label",`background-color: var(--n-color-active-${e});`),LA("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),NA("focus",[jA("state-border",`\n box-shadow: var(--n-box-shadow-focus-${e});\n border: var(--n-border-focus-${e});\n `)])])])))]),LA("base-selection-popover","\n margin-bottom: -3px;\n display: flex;\n flex-wrap: wrap;\n margin-right: -8px;\n "),LA("base-selection-tag-wrapper","\n max-width: 100%;\n display: inline-flex;\n padding: 0 7px 3px 0;\n ",[BA("&:last-child","padding-right: 0;"),LA("tag","\n font-size: 14px;\n max-width: 100%;\n ",[jA("content","\n line-height: 1.25;\n text-overflow: ellipsis;\n overflow: hidden;\n ")])])]),cY=$n({name:"InternalSelection",props:Object.assign(Object.assign({},HW.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=DW("InternalSelection",n,t),r=vt(null),a=vt(null),i=vt(null),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt(null),h=vt(null),p=vt(null),f=vt(!1),m=vt(!1),v=vt(!1),g=HW("InternalSelection","-internal-selection",dY,sY,e,Ft(e,"clsPrefix")),b=Qr((()=>e.clearable&&!e.disabled&&(v.value||e.active))),y=Qr((()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):aE(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder)),_=Qr((()=>{const t=e.selectedOption;if(t)return t[e.labelField]})),x=Qr((()=>e.multiple?!(!Array.isArray(e.selectedOptions)||!e.selectedOptions.length):null!==e.selectedOption));function C(){var t;const{value:n}=r;if(n){const{value:o}=a;o&&(o.style.width=`${n.offsetWidth}px`,"responsive"!==e.maxTagCount&&(null===(t=h.value)||void 0===t||t.sync({showAllItemsBeforeCalculate:!1})))}}function w(t){const{onPatternInput:n}=e;n&&n(t)}function S(t){!function(t){const{onDeleteOption:n}=e;n&&n(t)}(t)}er(Ft(e,"active"),(e=>{e||function(){const{value:e}=p;e&&(e.style.display="none")}()})),er(Ft(e,"pattern"),(()=>{e.multiple&&Kt(C)}));const k=vt(!1);let P=null;let T=null;function R(){null!==T&&window.clearTimeout(T)}er(x,(e=>{e||(f.value=!1)})),Kn((()=>{Jo((()=>{const t=d.value;t&&(e.disabled?t.removeAttribute("tabindex"):t.tabIndex=m.value?-1:0)}))})),DB(i,e.onResize);const{inlineThemeDisabled:F}=e,z=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{fontWeight:o,borderRadius:r,color:a,placeholderColor:i,textColor:l,paddingSingle:s,paddingMultiple:d,caretColor:c,colorDisabled:u,textColorDisabled:h,placeholderColorDisabled:p,colorActive:f,boxShadowFocus:m,boxShadowActive:v,boxShadowHover:b,border:y,borderFocus:_,borderHover:x,borderActive:C,arrowColor:w,arrowColorDisabled:S,loadingColor:k,colorActiveWarning:P,boxShadowFocusWarning:T,boxShadowActiveWarning:R,boxShadowHoverWarning:F,borderWarning:z,borderFocusWarning:M,borderHoverWarning:$,borderActiveWarning:A,colorActiveError:O,boxShadowFocusError:D,boxShadowActiveError:I,boxShadowHoverError:B,borderError:E,borderFocusError:L,borderHoverError:j,borderActiveError:N,clearColor:H,clearColorHover:W,clearColorPressed:V,clearSize:U,arrowSize:q,[KA("height",t)]:K,[KA("fontSize",t)]:Y}}=g.value,G=oO(s),X=oO(d);return{"--n-bezier":n,"--n-border":y,"--n-border-active":C,"--n-border-focus":_,"--n-border-hover":x,"--n-border-radius":r,"--n-box-shadow-active":v,"--n-box-shadow-focus":m,"--n-box-shadow-hover":b,"--n-caret-color":c,"--n-color":a,"--n-color-active":f,"--n-color-disabled":u,"--n-font-size":Y,"--n-height":K,"--n-padding-single-top":G.top,"--n-padding-multiple-top":X.top,"--n-padding-single-right":G.right,"--n-padding-multiple-right":X.right,"--n-padding-single-left":G.left,"--n-padding-multiple-left":X.left,"--n-padding-single-bottom":G.bottom,"--n-padding-multiple-bottom":X.bottom,"--n-placeholder-color":i,"--n-placeholder-color-disabled":p,"--n-text-color":l,"--n-text-color-disabled":h,"--n-arrow-color":w,"--n-arrow-color-disabled":S,"--n-loading-color":k,"--n-color-active-warning":P,"--n-box-shadow-focus-warning":T,"--n-box-shadow-active-warning":R,"--n-box-shadow-hover-warning":F,"--n-border-warning":z,"--n-border-focus-warning":M,"--n-border-hover-warning":$,"--n-border-active-warning":A,"--n-color-active-error":O,"--n-box-shadow-focus-error":D,"--n-box-shadow-active-error":I,"--n-box-shadow-hover-error":B,"--n-border-error":E,"--n-border-focus-error":L,"--n-border-hover-error":j,"--n-border-active-error":N,"--n-clear-size":U,"--n-clear-color":H,"--n-clear-color-hover":W,"--n-clear-color-pressed":V,"--n-arrow-size":q,"--n-font-weight":o}})),M=F?vE("internal-selection",Qr((()=>e.size[0])),z,e):void 0;return{mergedTheme:g,mergedClearable:b,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:m,filterablePlaceholder:y,label:_,selected:x,showTagsPanel:f,isComposing:k,counterRef:c,counterWrapperRef:u,patternInputMirrorRef:r,patternInputRef:a,selfRef:i,multipleElRef:l,singleElRef:s,patternInputWrapperRef:d,overflowRef:h,inputTagElRef:p,handleMouseDown:function(t){e.active&&e.filterable&&t.target!==a.value&&t.preventDefault()},handleFocusin:function(t){var n;t.relatedTarget&&(null===(n=i.value)||void 0===n?void 0:n.contains(t.relatedTarget))||function(t){const{onFocus:n}=e;n&&n(t)}(t)},handleClear:function(t){!function(t){const{onClear:n}=e;n&&n(t)}(t)},handleMouseEnter:function(){v.value=!0},handleMouseLeave:function(){v.value=!1},handleDeleteOption:S,handlePatternKeyDown:function(t){if("Backspace"===t.key&&!k.value&&!e.pattern.length){const{selectedOptions:t}=e;(null==t?void 0:t.length)&&S(t[t.length-1])}},handlePatternInputInput:function(t){const{value:n}=r;if(n){const e=t.target.value;n.textContent=e,C()}e.ignoreComposition&&k.value?P=t:w(t)},handlePatternInputBlur:function(t){var n;m.value=!1,null===(n=e.onPatternBlur)||void 0===n||n.call(e,t)},handlePatternInputFocus:function(t){var n;m.value=!0,null===(n=e.onPatternFocus)||void 0===n||n.call(e,t)},handleMouseEnterCounter:function(){e.active||(R(),T=window.setTimeout((()=>{x.value&&(f.value=!0)}),100))},handleMouseLeaveCounter:function(){R()},handleFocusout:function(t){var n;(null===(n=i.value)||void 0===n?void 0:n.contains(t.relatedTarget))||function(t){const{onBlur:n}=e;n&&n(t)}(t)},handleCompositionEnd:function(){k.value=!1,e.ignoreComposition&&w(P),P=null},handleCompositionStart:function(){k.value=!0},onPopoverUpdateShow:function(e){e||(R(),f.value=!1)},focus:function(){var t,n,o;e.filterable?(m.value=!1,null===(t=d.value)||void 0===t||t.focus()):e.multiple?null===(n=l.value)||void 0===n||n.focus():null===(o=s.value)||void 0===o||o.focus()},focusInput:function(){const{value:e}=a;e&&(!function(){const{value:e}=p;e&&(e.style.display="inline-block")}(),e.focus())},blur:function(){var t,n;if(e.filterable)m.value=!1,null===(t=d.value)||void 0===t||t.blur(),null===(n=a.value)||void 0===n||n.blur();else if(e.multiple){const{value:e}=l;null==e||e.blur()}else{const{value:e}=s;null==e||e.blur()}},blurInput:function(){const{value:e}=a;e&&e.blur()},updateCounter:function(e){const{value:t}=c;t&&t.setTextContent(`+${e}`)},getCounter:function(){const{value:e}=u;return e},getTail:function(){return a.value},renderLabel:e.renderLabel,cssVars:F?void 0:z,themeClass:null==M?void 0:M.themeClass,onRender:null==M?void 0:M.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:a,bordered:i,clsPrefix:l,ellipsisTagPopoverProps:s,onRender:d,renderTag:c,renderLabel:u}=this;null==d||d();const h="responsive"===a,p="number"==typeof a,f=h||p,m=Jr(uE,null,{default:()=>Jr(aY,{clsPrefix:l,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var e,t;return null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)}})});let v;if(t){const{labelField:e}=this,t=t=>Jr("div",{class:`${l}-base-selection-tag-wrapper`,key:t.value},c?c({option:t,handleClose:()=>{this.handleDeleteOption(t)}}):Jr(rY,{size:n,closable:!t.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(t)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>u?u(t,!0):aE(t[e],t,!0)})),i=()=>(p?this.selectedOptions.slice(0,a):this.selectedOptions).map(t),d=r?Jr("div",{class:`${l}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},Jr("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${l}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),Jr("span",{ref:"patternInputMirrorRef",class:`${l}-base-selection-input-tag__mirror`},this.pattern)):null,g=h?()=>Jr("div",{class:`${l}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},Jr(rY,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let b;if(p){const e=this.selectedOptions.length-a;e>0&&(b=Jr("div",{class:`${l}-base-selection-tag-wrapper`,key:"__counter__"},Jr(rY,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${e}`})))}const y=h?r?Jr(RB,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:i,counter:g,tail:()=>d}):Jr(RB,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:i,counter:g}):p&&b?i().concat(b):i(),_=f?()=>Jr("div",{class:`${l}-base-selection-popover`},h?i():this.selectedOptions.map(t)):void 0,x=f?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},s):null,C=!this.selected&&(!this.active||!this.pattern&&!this.isComposing)?Jr("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`},Jr("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)):null,w=r?Jr("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-tags`},y,h?null:d,m):Jr("div",{ref:"multipleElRef",class:`${l}-base-selection-tags`,tabindex:o?void 0:0},y,m);v=Jr(pr,null,f?Jr(ZK,Object.assign({},x,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>w,default:_}):w,C)}else if(r){const e=this.pattern||this.isComposing,t=this.active?!e:!this.selected,n=!this.active&&this.selected;v=Jr("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-label`,title:this.patternInputFocused?void 0:UB(this.label)},Jr("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${l}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),n?Jr("div",{class:`${l}-base-selection-label__render-label ${l}-base-selection-overlay`,key:"input"},Jr("div",{class:`${l}-base-selection-overlay__wrapper`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):aE(this.label,this.selectedOption,!0))):null,t?Jr("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},Jr("div",{class:`${l}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,m)}else v=Jr("div",{ref:"singleElRef",class:`${l}-base-selection-label`,tabindex:this.disabled?void 0:0},void 0!==this.label?Jr("div",{class:`${l}-base-selection-input`,title:UB(this.label),key:"input"},Jr("div",{class:`${l}-base-selection-input__content`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):aE(this.label,this.selectedOption,!0))):Jr("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},Jr("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)),m);return Jr("div",{ref:"selfRef",class:[`${l}-base-selection`,this.rtlEnabled&&`${l}-base-selection--rtl`,this.themeClass,e&&`${l}-base-selection--${e}-status`,{[`${l}-base-selection--active`]:this.active,[`${l}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${l}-base-selection--disabled`]:this.disabled,[`${l}-base-selection--multiple`]:this.multiple,[`${l}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},v,i?Jr("div",{class:`${l}-base-selection__border`}):null,i?Jr("div",{class:`${l}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:uY}=IW;function hY({duration:e=".2s",delay:t=".1s"}={}){return[BA("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),BA("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from","\n opacity: 0!important;\n margin-left: 0!important;\n margin-right: 0!important;\n "),BA("&.fade-in-width-expand-transition-leave-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${uY},\n max-width ${e} ${uY} ${t},\n margin-left ${e} ${uY} ${t},\n margin-right ${e} ${uY} ${t};\n `),BA("&.fade-in-width-expand-transition-enter-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${uY} ${t},\n max-width ${e} ${uY},\n margin-left ${e} ${uY},\n margin-right ${e} ${uY};\n `)]}const pY=LA("base-wave","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n"),fY=$n({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){NW("-base-wave",pY,Ft(e,"clsPrefix"));const t=vt(null),n=vt(!1);let o=null;return Xn((()=>{null!==o&&window.clearTimeout(o)})),{active:n,selfRef:t,play(){null!==o&&(window.clearTimeout(o),n.value=!1,o=null),Kt((()=>{var e;null===(e=t.value)||void 0===e||e.offsetHeight,n.value=!0,o=window.setTimeout((()=>{n.value=!1,o=null}),1e3)}))}}},render(){const{clsPrefix:e}=this;return Jr("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),mY={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},vY={name:"Alert",common:KU,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:a,textColor1:i,textColor2:l,closeColorHover:s,closeColorPressed:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,infoColorSuppl:p,successColorSuppl:f,warningColorSuppl:m,errorColorSuppl:v,fontSize:g}=e;return Object.assign(Object.assign({},mY),{fontSize:g,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:a,titleTextColor:i,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:s,closeColorPressed:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,borderInfo:`1px solid ${DO(p,{alpha:.35})}`,colorInfo:DO(p,{alpha:.25}),titleTextColorInfo:i,iconColorInfo:p,contentTextColorInfo:l,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:c,closeIconColorHoverInfo:u,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${DO(f,{alpha:.35})}`,colorSuccess:DO(f,{alpha:.25}),titleTextColorSuccess:i,iconColorSuccess:f,contentTextColorSuccess:l,closeColorHoverSuccess:s,closeColorPressedSuccess:d,closeIconColorSuccess:c,closeIconColorHoverSuccess:u,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${DO(m,{alpha:.35})}`,colorWarning:DO(m,{alpha:.25}),titleTextColorWarning:i,iconColorWarning:m,contentTextColorWarning:l,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:c,closeIconColorHoverWarning:u,closeIconColorPressedWarning:h,borderError:`1px solid ${DO(v,{alpha:.35})}`,colorError:DO(v,{alpha:.25}),titleTextColorError:i,iconColorError:v,contentTextColorError:l,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:c,closeIconColorHoverError:u,closeIconColorPressedError:h})}};const gY={name:"Alert",common:Eq,self:function(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:a,actionColor:i,textColor1:l,textColor2:s,closeColorHover:d,closeColorPressed:c,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,infoColor:f,successColor:m,warningColor:v,errorColor:g,fontSize:b}=e;return Object.assign(Object.assign({},mY),{fontSize:b,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${a}`,color:i,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:d,closeColorPressed:c,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderInfo:`1px solid ${OO(r,DO(f,{alpha:.25}))}`,colorInfo:OO(r,DO(f,{alpha:.08})),titleTextColorInfo:l,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:d,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${OO(r,DO(m,{alpha:.25}))}`,colorSuccess:OO(r,DO(m,{alpha:.08})),titleTextColorSuccess:l,iconColorSuccess:m,contentTextColorSuccess:s,closeColorHoverSuccess:d,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${OO(r,DO(v,{alpha:.33}))}`,colorWarning:OO(r,DO(v,{alpha:.08})),titleTextColorWarning:l,iconColorWarning:v,contentTextColorWarning:s,closeColorHoverWarning:d,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:p,borderError:`1px solid ${OO(r,DO(g,{alpha:.25}))}`,colorError:OO(r,DO(g,{alpha:.08})),titleTextColorError:l,iconColorError:g,contentTextColorError:s,closeColorHoverError:d,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:p})}},{cubicBezierEaseInOut:bY,cubicBezierEaseOut:yY,cubicBezierEaseIn:_Y}=IW;function xY({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:a,leaveToProps:i,reverse:l=!1}={}){const s=l?"leave":"enter",d=l?"enter":"leave";return[BA(`&.fade-in-height-expand-transition-${d}-from,\n &.fade-in-height-expand-transition-${s}-to`,Object.assign(Object.assign({},a),{opacity:1})),BA(`&.fade-in-height-expand-transition-${d}-to,\n &.fade-in-height-expand-transition-${s}-from`,Object.assign(Object.assign({},i),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),BA(`&.fade-in-height-expand-transition-${d}-active`,`\n overflow: ${e};\n transition:\n max-height ${t} ${bY} ${o},\n opacity ${t} ${yY} ${o},\n margin-top ${t} ${bY} ${o},\n margin-bottom ${t} ${bY} ${o},\n padding-top ${t} ${bY} ${o},\n padding-bottom ${t} ${bY} ${o}\n ${n?`,${n}`:""}\n `),BA(`&.fade-in-height-expand-transition-${s}-active`,`\n overflow: ${e};\n transition:\n max-height ${t} ${bY},\n opacity ${t} ${_Y},\n margin-top ${t} ${bY},\n margin-bottom ${t} ${bY},\n padding-top ${t} ${bY},\n padding-bottom ${t} ${bY}\n ${n?`,${n}`:""}\n `)]}const CY={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};function wY(e){const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:a,textColor2:i}=e;return Object.assign(Object.assign({},CY),{borderRadius:t,railColor:n,railColorActive:o,linkColor:DO(o,{alpha:.15}),linkTextColor:i,linkTextColorHover:r,linkTextColorPressed:a,linkTextColorActive:o})}const SY={name:"Anchor",common:Eq,self:wY},kY={name:"Anchor",common:KU,self:wY},PY=ED&&"chrome"in window;ED&&navigator.userAgent.includes("Firefox");const TY=ED&&navigator.userAgent.includes("Safari")&&!PY,RY={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},FY={name:"Input",common:KU,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:a,inputColor:i,inputColorDisabled:l,warningColor:s,warningColorHover:d,errorColor:c,errorColorHover:u,borderRadius:h,lineHeight:p,fontSizeTiny:f,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:g,heightTiny:b,heightSmall:y,heightMedium:_,heightLarge:x,clearColor:C,clearColorHover:w,clearColorPressed:S,placeholderColor:k,placeholderColorDisabled:P,iconColor:T,iconColorDisabled:R,iconColorHover:F,iconColorPressed:z,fontWeight:M}=e;return Object.assign(Object.assign({},RY),{fontWeight:M,countTextColorDisabled:o,countTextColor:n,heightTiny:b,heightSmall:y,heightMedium:_,heightLarge:x,fontSizeTiny:f,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:g,lineHeight:p,lineHeightTextarea:p,borderRadius:h,iconSize:"16px",groupLabelColor:i,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:k,placeholderColorDisabled:P,color:i,colorDisabled:l,colorFocus:DO(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${a}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 8px 0 ${DO(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:s,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:DO(s,{alpha:.1}),borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 8px 0 ${DO(s,{alpha:.3})}`,caretColorWarning:s,loadingColorError:c,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${u}`,colorFocusError:DO(c,{alpha:.1}),borderFocusError:`1px solid ${u}`,boxShadowFocusError:`0 0 8px 0 ${DO(c,{alpha:.3})}`,caretColorError:c,clearColor:C,clearColorHover:w,clearColorPressed:S,iconColor:T,iconColorDisabled:R,iconColorHover:F,iconColorPressed:z,suffixTextColor:t})}};const zY={name:"Input",common:Eq,self:function(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:a,inputColor:i,inputColorDisabled:l,borderColor:s,warningColor:d,warningColorHover:c,errorColor:u,errorColorHover:h,borderRadius:p,lineHeight:f,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:b,heightTiny:y,heightSmall:_,heightMedium:x,heightLarge:C,actionColor:w,clearColor:S,clearColorHover:k,clearColorPressed:P,placeholderColor:T,placeholderColorDisabled:R,iconColor:F,iconColorDisabled:z,iconColorHover:M,iconColorPressed:$,fontWeight:A}=e;return Object.assign(Object.assign({},RY),{fontWeight:A,countTextColorDisabled:o,countTextColor:n,heightTiny:y,heightSmall:_,heightMedium:x,heightLarge:C,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:b,lineHeight:f,lineHeightTextarea:f,borderRadius:p,iconSize:"16px",groupLabelColor:w,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:T,placeholderColorDisabled:R,color:i,colorDisabled:l,colorFocus:i,groupLabelBorder:`1px solid ${s}`,border:`1px solid ${s}`,borderHover:`1px solid ${a}`,borderDisabled:`1px solid ${s}`,borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 0 2px ${DO(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:i,borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 0 2px ${DO(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:i,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${DO(u,{alpha:.2})}`,caretColorError:u,clearColor:S,clearColorHover:k,clearColorPressed:P,iconColor:F,iconColorDisabled:z,iconColorHover:M,iconColorPressed:$,suffixTextColor:t})}},MY="n-input",$Y=LA("input","\n max-width: 100%;\n cursor: text;\n line-height: 1.5;\n z-index: auto;\n outline: none;\n box-sizing: border-box;\n position: relative;\n display: inline-flex;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n transition: background-color .3s var(--n-bezier);\n font-size: var(--n-font-size);\n font-weight: var(--n-font-weight);\n --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);\n",[jA("input, textarea","\n overflow: hidden;\n flex-grow: 1;\n position: relative;\n "),jA("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder","\n box-sizing: border-box;\n font-size: inherit;\n line-height: 1.5;\n font-family: inherit;\n border: none;\n outline: none;\n background-color: #0000;\n text-align: inherit;\n transition:\n -webkit-text-fill-color .3s var(--n-bezier),\n caret-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier);\n "),jA("input-el, textarea-el","\n -webkit-appearance: none;\n scrollbar-width: none;\n width: 100%;\n min-width: 0;\n text-decoration-color: var(--n-text-decoration-color);\n color: var(--n-text-color);\n caret-color: var(--n-caret-color);\n background-color: transparent;\n ",[BA("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),BA("&::placeholder","\n color: #0000;\n -webkit-text-fill-color: transparent !important;\n "),BA("&:-webkit-autofill ~",[jA("placeholder","display: none;")])]),NA("round",[HA("textarea","border-radius: calc(var(--n-height) / 2);")]),jA("placeholder","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden;\n color: var(--n-placeholder-color);\n ",[BA("span","\n width: 100%;\n display: inline-block;\n ")]),NA("textarea",[jA("placeholder","overflow: visible;")]),HA("autosize","width: 100%;"),NA("autosize",[jA("textarea-el, input-el","\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n ")]),LA("input-wrapper","\n overflow: hidden;\n display: inline-flex;\n flex-grow: 1;\n position: relative;\n padding-left: var(--n-padding-left);\n padding-right: var(--n-padding-right);\n "),jA("input-mirror","\n padding: 0;\n height: var(--n-height);\n line-height: var(--n-height);\n overflow: hidden;\n visibility: hidden;\n position: static;\n white-space: pre;\n pointer-events: none;\n "),jA("input-el","\n padding: 0;\n height: var(--n-height);\n line-height: var(--n-height);\n ",[BA("&[type=password]::-ms-reveal","display: none;"),BA("+",[jA("placeholder","\n display: flex;\n align-items: center; \n ")])]),HA("textarea",[jA("placeholder","white-space: nowrap;")]),jA("eye","\n display: flex;\n align-items: center;\n justify-content: center;\n transition: color .3s var(--n-bezier);\n "),NA("textarea","width: 100%;",[LA("input-word-count","\n position: absolute;\n right: var(--n-padding-right);\n bottom: var(--n-padding-vertical);\n "),NA("resizable",[LA("input-wrapper","\n resize: vertical;\n min-height: var(--n-height);\n ")]),jA("textarea-el, textarea-mirror, placeholder","\n height: 100%;\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--n-padding-vertical);\n padding-bottom: var(--n-padding-vertical);\n word-break: break-word;\n display: inline-block;\n vertical-align: bottom;\n box-sizing: border-box;\n line-height: var(--n-line-height-textarea);\n margin: 0;\n resize: none;\n white-space: pre-wrap;\n scroll-padding-block-end: var(--n-padding-vertical);\n "),jA("textarea-mirror","\n width: 100%;\n pointer-events: none;\n overflow: hidden;\n visibility: hidden;\n position: static;\n white-space: pre-wrap;\n overflow-wrap: break-word;\n ")]),NA("pair",[jA("input-el, placeholder","text-align: center;"),jA("separator","\n display: flex;\n align-items: center;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n white-space: nowrap;\n ",[LA("icon","\n color: var(--n-icon-color);\n "),LA("base-icon","\n color: var(--n-icon-color);\n ")])]),NA("disabled","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n ",[jA("border","border: var(--n-border-disabled);"),jA("input-el, textarea-el","\n cursor: not-allowed;\n color: var(--n-text-color-disabled);\n text-decoration-color: var(--n-text-color-disabled);\n "),jA("placeholder","color: var(--n-placeholder-color-disabled);"),jA("separator","color: var(--n-text-color-disabled);",[LA("icon","\n color: var(--n-icon-color-disabled);\n "),LA("base-icon","\n color: var(--n-icon-color-disabled);\n ")]),LA("input-word-count","\n color: var(--n-count-text-color-disabled);\n "),jA("suffix, prefix","color: var(--n-text-color-disabled);",[LA("icon","\n color: var(--n-icon-color-disabled);\n "),LA("internal-icon","\n color: var(--n-icon-color-disabled);\n ")])]),HA("disabled",[jA("eye","\n color: var(--n-icon-color);\n cursor: pointer;\n ",[BA("&:hover","\n color: var(--n-icon-color-hover);\n "),BA("&:active","\n color: var(--n-icon-color-pressed);\n ")]),BA("&:hover",[jA("state-border","border: var(--n-border-hover);")]),NA("focus","background-color: var(--n-color-focus);",[jA("state-border","\n border: var(--n-border-focus);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),jA("border, state-border","\n box-sizing: border-box;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border-radius: inherit;\n border: var(--n-border);\n transition:\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),jA("state-border","\n border-color: #0000;\n z-index: 1;\n "),jA("prefix","margin-right: 4px;"),jA("suffix","\n margin-left: 4px;\n "),jA("suffix, prefix","\n transition: color .3s var(--n-bezier);\n flex-wrap: nowrap;\n flex-shrink: 0;\n line-height: var(--n-height);\n white-space: nowrap;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--n-suffix-text-color);\n ",[LA("base-loading","\n font-size: var(--n-icon-size);\n margin: 0 2px;\n color: var(--n-loading-color);\n "),LA("base-clear","\n font-size: var(--n-icon-size);\n ",[jA("placeholder",[LA("base-icon","\n transition: color .3s var(--n-bezier);\n color: var(--n-icon-color);\n font-size: var(--n-icon-size);\n ")])]),BA(">",[LA("icon","\n transition: color .3s var(--n-bezier);\n color: var(--n-icon-color);\n font-size: var(--n-icon-size);\n ")]),LA("base-icon","\n font-size: var(--n-icon-size);\n ")]),LA("input-word-count","\n pointer-events: none;\n line-height: 1.5;\n font-size: .85em;\n color: var(--n-count-text-color);\n transition: color .3s var(--n-bezier);\n margin-left: 4px;\n font-variant: tabular-nums;\n "),["warning","error"].map((e=>NA(`${e}-status`,[HA("disabled",[LA("base-loading",`\n color: var(--n-loading-color-${e})\n `),jA("input-el, textarea-el",`\n caret-color: var(--n-caret-color-${e});\n `),jA("state-border",`\n border: var(--n-border-${e});\n `),BA("&:hover",[jA("state-border",`\n border: var(--n-border-hover-${e});\n `)]),BA("&:focus",`\n background-color: var(--n-color-focus-${e});\n `,[jA("state-border",`\n box-shadow: var(--n-box-shadow-focus-${e});\n border: var(--n-border-focus-${e});\n `)]),NA("focus",`\n background-color: var(--n-color-focus-${e});\n `,[jA("state-border",`\n box-shadow: var(--n-box-shadow-focus-${e});\n border: var(--n-border-focus-${e});\n `)])])])))]),AY=LA("input",[NA("disabled",[jA("input-el, textarea-el","\n -webkit-text-fill-color: var(--n-text-color-disabled);\n ")])]);function OY(e){let t=0;for(const n of e)t++;return t}function DY(e){return""===e||null==e}const IY=$n({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:a}=Ro(MY),i=Qr((()=>{const{value:e}=n;return null===e||Array.isArray(e)?0:(a.value||OY)(e)}));return()=>{const{value:e}=o,{value:a}=n;return Jr("span",{class:`${r.value}-input-word-count`},sE(t.default,{value:null===a||Array.isArray(a)?"":a},(()=>[void 0===e?i.value:`${i.value} / ${e}`])))}}}),BY=$n({name:"Input",props:Object.assign(Object.assign({},HW.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),slots:Object,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=fE(e),a=HW("Input","-input",$Y,zY,e,t);TY&&NW("-input-safari",AY,t);const i=vt(null),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt(null),h=vt(null),p=function(e){const t=vt(null);function n(){t.value=null}return er(e,n),{recordCursor:function(){const{value:o}=e;if(!(null==o?void 0:o.focus))return void n();const{selectionStart:r,selectionEnd:a,value:i}=o;null!=r&&null!=a?t.value={start:r,end:a,beforeText:i.slice(0,r),afterText:i.slice(a)}:n()},restoreCursor:function(){var n;const{value:o}=t,{value:r}=e;if(!o||!r)return;const{value:a}=r,{start:i,beforeText:l,afterText:s}=o;let d=a.length;if(a.endsWith(s))d=a.length-s.length;else if(a.startsWith(l))d=l.length;else{const e=l[i-1],t=a.indexOf(e,i-1);-1!==t&&(d=t+1)}null===(n=r.setSelectionRange)||void 0===n||n.call(r,d,d)}}}(h),f=vt(null),{localeRef:m}=AW("Input"),v=vt(e.defaultValue),g=xD(Ft(e,"value"),v),b=bE(e),{mergedSizeRef:y,mergedDisabledRef:_,mergedStatusRef:x}=b,C=vt(!1),w=vt(!1),S=vt(!1),k=vt(!1);let P=null;const T=Qr((()=>{const{placeholder:t,pair:n}=e;return n?Array.isArray(t)?t:void 0===t?["",""]:[t,t]:void 0===t?[m.value.placeholder]:[t]})),R=Qr((()=>{const{value:e}=S,{value:t}=g,{value:n}=T;return!e&&(DY(t)||Array.isArray(t)&&DY(t[0]))&&n[0]})),F=Qr((()=>{const{value:e}=S,{value:t}=g,{value:n}=T;return!e&&n[1]&&(DY(t)||Array.isArray(t)&&DY(t[1]))})),z=oD((()=>e.internalForceFocus||C.value)),M=oD((()=>{if(_.value||e.readonly||!e.clearable||!z.value&&!w.value)return!1;const{value:t}=g,{value:n}=z;return e.pair?!(!Array.isArray(t)||!t[0]&&!t[1])&&(w.value||n):!!t&&(w.value||n)})),$=Qr((()=>{const{showPasswordOn:t}=e;return t||(e.showPasswordToggle?"click":void 0)})),A=vt(!1),O=Qr((()=>{const{textDecoration:t}=e;return t?Array.isArray(t)?t.map((e=>({textDecoration:e}))):[{textDecoration:t}]:["",""]})),D=vt(void 0),I=Qr((()=>{const{maxlength:t}=e;return void 0===t?void 0:Number(t)}));Kn((()=>{const{value:e}=g;Array.isArray(e)||U(e)}));const B=Nr().proxy;function E(t,n){const{onUpdateValue:o,"onUpdate:value":r,onInput:a}=e,{nTriggerFormInput:i}=b;o&&GB(o,t,n),r&&GB(r,t,n),a&&GB(a,t,n),v.value=t,i()}function L(t,n){const{onChange:o}=e,{nTriggerFormChange:r}=b;o&&GB(o,t,n),v.value=t,r()}function j(t,n=0,o="input"){const r=t.target.value;if(U(r),t instanceof InputEvent&&!t.isComposing&&(S.value=!1),"textarea"===e.type){const{value:e}=f;e&&e.syncUnifiedContainer()}if(P=r,S.value)return;p.recordCursor();const a=function(t){const{countGraphemes:n,maxlength:o,minlength:r}=e;if(n){let e;if(void 0!==o&&(void 0===e&&(e=n(t)),e>Number(o)))return!1;if(void 0!==r&&(void 0===e&&(e=n(t)),e{var e;null===(e=i.value)||void 0===e||e.focus()})))}function V(){var t,n,o;_.value||(e.passivelyActivated?null===(t=i.value)||void 0===t||t.focus():(null===(n=l.value)||void 0===n||n.focus(),null===(o=c.value)||void 0===o||o.focus()))}function U(t){const{type:n,pair:o,autosize:r}=e;if(!o&&r)if("textarea"===n){const{value:e}=s;e&&(e.textContent=`${null!=t?t:""}\r\n`)}else{const{value:e}=d;e&&(t?e.textContent=t:e.innerHTML=" ")}}const q=vt({top:"0"});let K=null;Jo((()=>{const{autosize:t,type:n}=e;t&&"textarea"===n?K=er(g,(e=>{Array.isArray(e)||e===P||U(e)})):null==K||K()}));let Y=null;Jo((()=>{"textarea"===e.type?Y=er(g,(e=>{var t;Array.isArray(e)||e===P||null===(t=f.value)||void 0===t||t.syncUnifiedContainer()})):null==Y||Y()})),To(MY,{mergedValueRef:g,maxlengthRef:I,mergedClsPrefixRef:t,countGraphemesRef:Ft(e,"countGraphemes")});const G={wrapperElRef:i,inputElRef:c,textareaElRef:l,isCompositing:S,clear:H,focus:V,blur:function(){var e;(null===(e=i.value)||void 0===e?void 0:e.contains(document.activeElement))&&document.activeElement.blur()},select:function(){var e,t;null===(e=l.value)||void 0===e||e.select(),null===(t=c.value)||void 0===t||t.select()},deactivate:function(){const{value:e}=i;(null==e?void 0:e.contains(document.activeElement))&&e!==document.activeElement&&W()},activate:function(){_.value||(l.value?l.value.focus():c.value&&c.value.focus())},scrollTo:function(t){if("textarea"===e.type){const{value:e}=l;null==e||e.scrollTo(t)}else{const{value:e}=c;null==e||e.scrollTo(t)}}},X=DW("Input",r,t),Z=Qr((()=>{const{value:e}=y,{common:{cubicBezierEaseInOut:t},self:{color:n,borderRadius:o,textColor:r,caretColor:i,caretColorError:l,caretColorWarning:s,textDecorationColor:d,border:c,borderDisabled:u,borderHover:h,borderFocus:p,placeholderColor:f,placeholderColorDisabled:m,lineHeightTextarea:v,colorDisabled:g,colorFocus:b,textColorDisabled:_,boxShadowFocus:x,iconSize:C,colorFocusWarning:w,boxShadowFocusWarning:S,borderWarning:k,borderFocusWarning:P,borderHoverWarning:T,colorFocusError:R,boxShadowFocusError:F,borderError:z,borderFocusError:M,borderHoverError:$,clearSize:A,clearColor:O,clearColorHover:D,clearColorPressed:I,iconColor:B,iconColorDisabled:E,suffixTextColor:L,countTextColor:j,countTextColorDisabled:N,iconColorHover:H,iconColorPressed:W,loadingColor:V,loadingColorError:U,loadingColorWarning:q,fontWeight:K,[KA("padding",e)]:Y,[KA("fontSize",e)]:G,[KA("height",e)]:X}}=a.value,{left:Z,right:Q}=oO(Y);return{"--n-bezier":t,"--n-count-text-color":j,"--n-count-text-color-disabled":N,"--n-color":n,"--n-font-size":G,"--n-font-weight":K,"--n-border-radius":o,"--n-height":X,"--n-padding-left":Z,"--n-padding-right":Q,"--n-text-color":r,"--n-caret-color":i,"--n-text-decoration-color":d,"--n-border":c,"--n-border-disabled":u,"--n-border-hover":h,"--n-border-focus":p,"--n-placeholder-color":f,"--n-placeholder-color-disabled":m,"--n-icon-size":C,"--n-line-height-textarea":v,"--n-color-disabled":g,"--n-color-focus":b,"--n-text-color-disabled":_,"--n-box-shadow-focus":x,"--n-loading-color":V,"--n-caret-color-warning":s,"--n-color-focus-warning":w,"--n-box-shadow-focus-warning":S,"--n-border-warning":k,"--n-border-focus-warning":P,"--n-border-hover-warning":T,"--n-loading-color-warning":q,"--n-caret-color-error":l,"--n-color-focus-error":R,"--n-box-shadow-focus-error":F,"--n-border-error":z,"--n-border-focus-error":M,"--n-border-hover-error":$,"--n-loading-color-error":U,"--n-clear-color":O,"--n-clear-size":A,"--n-clear-color-hover":D,"--n-clear-color-pressed":I,"--n-icon-color":B,"--n-icon-color-hover":H,"--n-icon-color-pressed":W,"--n-icon-color-disabled":E,"--n-suffix-text-color":L}})),Q=o?vE("input",Qr((()=>{const{value:e}=y;return e[0]})),Z,e):void 0;return Object.assign(Object.assign({},G),{wrapperElRef:i,inputElRef:c,inputMirrorElRef:d,inputEl2Ref:u,textareaElRef:l,textareaMirrorElRef:s,textareaScrollbarInstRef:f,rtlEnabled:X,uncontrolledValue:v,mergedValue:g,passwordVisible:A,mergedPlaceholder:T,showPlaceholder1:R,showPlaceholder2:F,mergedFocus:z,isComposing:S,activated:k,showClearButton:M,mergedSize:y,mergedDisabled:_,textDecorationStyle:O,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:$,placeholderStyle:q,mergedStatus:x,textAreaScrollContainerWidth:D,handleTextAreaScroll:function(e){var t;const{scrollTop:n}=e.target;q.value.top=-n+"px",null===(t=f.value)||void 0===t||t.syncUnifiedContainer()},handleCompositionStart:function(){S.value=!0},handleCompositionEnd:function(e){S.value=!1,e.target===u.value?j(e,1):j(e,0)},handleInput:j,handleInputBlur:function(t){!function(t){const{onInputBlur:n}=e;n&&GB(n,t)}(t),t.relatedTarget===i.value&&function(){const{onDeactivate:t}=e;t&&GB(t)}(),(null===t.relatedTarget||t.relatedTarget!==c.value&&t.relatedTarget!==u.value&&t.relatedTarget!==l.value)&&(k.value=!1),N(t,"blur"),h.value=null},handleInputFocus:function(t,n){!function(t){const{onInputFocus:n}=e;n&&GB(n,t)}(t),C.value=!0,k.value=!0,function(){const{onActivate:t}=e;t&&GB(t)}(),N(t,"focus"),0===n?h.value=c.value:1===n?h.value=u.value:2===n&&(h.value=l.value)},handleWrapperBlur:function(t){e.passivelyActivated&&(!function(t){const{onWrapperBlur:n}=e;n&&GB(n,t)}(t),N(t,"blur"))},handleWrapperFocus:function(t){e.passivelyActivated&&(C.value=!0,function(t){const{onWrapperFocus:n}=e;n&&GB(n,t)}(t),N(t,"focus"))},handleMouseEnter:function(){var t;w.value=!0,"textarea"===e.type&&(null===(t=f.value)||void 0===t||t.handleMouseEnterWrapper())},handleMouseLeave:function(){var t;w.value=!1,"textarea"===e.type&&(null===(t=f.value)||void 0===t||t.handleMouseLeaveWrapper())},handleMouseDown:function(t){const{onMousedown:n}=e;n&&n(t);const{tagName:o}=t.target;if("INPUT"!==o&&"TEXTAREA"!==o){if(e.resizable){const{value:e}=i;if(e){const{left:n,top:o,width:r,height:a}=e.getBoundingClientRect(),i=14;if(n+r-i{e.preventDefault(),tD("mouseup",document,t)};if(eD("mouseup",document,t),"mousedown"!==$.value)return;A.value=!0;const n=()=>{A.value=!1,tD("mouseup",document,n)};eD("mouseup",document,n)},handleWrapperKeydown:function(t){switch(e.onKeydown&&GB(e.onKeydown,t),t.key){case"Escape":W();break;case"Enter":!function(t){var n,o;if(e.passivelyActivated){const{value:r}=k;if(r)return void(e.internalDeactivateOnEnter&&W());t.preventDefault(),"textarea"===e.type?null===(n=l.value)||void 0===n||n.focus():null===(o=c.value)||void 0===o||o.focus()}}(t)}},handleWrapperKeyup:function(t){e.onKeyup&&GB(e.onKeyup,t)},handleTextAreaMirrorResize:function(){(()=>{var t,n;if("textarea"===e.type){const{autosize:o}=e;if(o&&(D.value=null===(n=null===(t=f.value)||void 0===t?void 0:t.$el)||void 0===n?void 0:n.offsetWidth),!l.value)return;if("boolean"==typeof o)return;const{paddingTop:r,paddingBottom:a,lineHeight:i}=window.getComputedStyle(l.value),d=Number(r.slice(0,-2)),c=Number(a.slice(0,-2)),u=Number(i.slice(0,-2)),{value:h}=s;if(!h)return;if(o.minRows){const e=`${d+c+u*Math.max(o.minRows,1)}px`;h.style.minHeight=e}if(o.maxRows){const e=`${d+c+u*o.maxRows}px`;h.style.maxHeight=e}}})()},getTextareaScrollContainer:()=>l.value,mergedTheme:a,cssVars:o?void 0:Z,themeClass:null==Q?void 0:Q.themeClass,onRender:null==Q?void 0:Q.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:a,countGraphemes:i,onRender:l}=this,s=this.$slots;return null==l||l(),Jr("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:"textarea"===a,[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&!("textarea"===a),[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:this.mergedDisabled||!this.passivelyActivated||this.activated?void 0:0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},Jr("div",{class:`${n}-input-wrapper`},dE(s.prefix,(e=>e&&Jr("div",{class:`${n}-input__prefix`},e))),"textarea"===a?Jr(Vq,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var e,t;const{textAreaScrollContainerWidth:o}=this,r={width:this.autosize&&o&&`${o}px`};return Jr(pr,null,Jr("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,null===(e=this.inputProps)||void 0===e?void 0:e.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:i?void 0:this.maxlength,minlength:i?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],null===(t=this.inputProps)||void 0===t?void 0:t.style,r],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?Jr("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,r],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?Jr(bB,{onResize:this.handleTextAreaMirrorResize},{default:()=>Jr("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):Jr("div",{class:`${n}-input__input`},Jr("input",Object.assign({type:"password"===a&&this.mergedShowPasswordOn&&this.passwordVisible?"text":a},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,null===(e=this.inputProps)||void 0===e?void 0:e.class],style:[this.textDecorationStyle[0],null===(t=this.inputProps)||void 0===t?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:i?void 0:this.maxlength,minlength:i?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,0)},onInput:e=>{this.handleInput(e,0)},onChange:e=>{this.handleChange(e,0)}})),this.showPlaceholder1?Jr("div",{class:`${n}-input__placeholder`},Jr("span",null,this.mergedPlaceholder[0])):null,this.autosize?Jr("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&dE(s.suffix,(e=>e||this.clearable||this.showCount||this.mergedShowPasswordOn||void 0!==this.loading?Jr("div",{class:`${n}-input__suffix`},[dE(s["clear-icon-placeholder"],(e=>(this.clearable||e)&&Jr(AV,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>e,icon:()=>{var e,t;return null===(t=(e=this.$slots)["clear-icon"])||void 0===t?void 0:t.call(e)}}))),this.internalLoadingBeforeSuffix?null:e,void 0!==this.loading?Jr(aY,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?e:null,this.showCount&&"textarea"!==this.type?Jr(IY,null,{default:e=>{var t;const{renderCount:n}=this;return n?n(e):null===(t=s.count)||void 0===t?void 0:t.call(s,e)}}):null,this.mergedShowPasswordOn&&"password"===this.type?Jr("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?lE(s["password-visible-icon"],(()=>[Jr(VW,{clsPrefix:n},{default:()=>Jr(sV,null)})])):lE(s["password-invisible-icon"],(()=>[Jr(VW,{clsPrefix:n},{default:()=>Jr(dV,null)})]))):null]):null))),this.pair?Jr("span",{class:`${n}-input__separator`},lE(s.separator,(()=>[this.separator]))):null,this.pair?Jr("div",{class:`${n}-input-wrapper`},Jr("div",{class:`${n}-input__input`},Jr("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:i?void 0:this.maxlength,minlength:i?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,1)},onInput:e=>{this.handleInput(e,1)},onChange:e=>{this.handleChange(e,1)}}),this.showPlaceholder2?Jr("div",{class:`${n}-input__placeholder`},Jr("span",null,this.mergedPlaceholder[1])):null),dE(s.suffix,(e=>(this.clearable||e)&&Jr("div",{class:`${n}-input__suffix`},[this.clearable&&Jr(AV,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var e;return null===(e=s["clear-icon"])||void 0===e?void 0:e.call(s)},placeholder:()=>{var e;return null===(e=s["clear-icon-placeholder"])||void 0===e?void 0:e.call(s)}}),e])))):null,this.mergedBordered?Jr("div",{class:`${n}-input__border`}):null,this.mergedBordered?Jr("div",{class:`${n}-input__state-border`}):null,this.showCount&&"textarea"===a?Jr(IY,null,{default:e=>{var t;const{renderCount:n}=this;return n?n(e):null===(t=s.count)||void 0===t?void 0:t.call(s,e)}}):null)}}),EY=LA("input-group","\n display: inline-flex;\n width: 100%;\n flex-wrap: nowrap;\n vertical-align: bottom;\n",[BA(">",[LA("input",[BA("&:not(:last-child)","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),BA("&:not(:first-child)","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n margin-left: -1px!important;\n ")]),LA("button",[BA("&:not(:last-child)","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ",[jA("state-border, border","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ")]),BA("&:not(:first-child)","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ",[jA("state-border, border","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ")])]),BA("*",[BA("&:not(:last-child)","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ",[BA(">",[LA("input","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),LA("base-selection",[LA("base-selection-label","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),LA("base-selection-tags","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),jA("box-shadow, border, state-border","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ")])])]),BA("&:not(:first-child)","\n margin-left: -1px!important;\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ",[BA(">",[LA("input","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n "),LA("base-selection",[LA("base-selection-label","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n "),LA("base-selection-tags","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n "),jA("box-shadow, border, state-border","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ")])])])])])]),LY=$n({name:"InputGroup",props:{},setup(e){const{mergedClsPrefixRef:t}=fE(e);return NW("-input-group",EY,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:`${e}-input-group`},this.$slots)}});function jY(e){return"group"===e.type}function NY(e){return"ignored"===e.type}function HY(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch(sD){return!1}}function WY(e,t){return{getIsGroup:jY,getIgnored:NY,getKey:t=>jY(t)?t.name||t.key||"key-required":t[e],getChildren:e=>e[t]}}function VY(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const UY={name:"AutoComplete",common:Eq,peers:{InternalSelectMenu:kK,Input:zY},self:VY},qY={name:"AutoComplete",common:KU,peers:{InternalSelectMenu:PK,Input:FY},self:VY},KY=BA([LA("auto-complete","\n z-index: auto;\n position: relative;\n display: inline-flex;\n width: 100%;\n "),LA("auto-complete-menu","\n margin: 4px 0;\n box-shadow: var(--n-menu-box-shadow);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]);function YY(e){var t,n;if("string"==typeof e)return{label:e,value:e};if("group"===e.type){return{type:"group",label:null!==(t=e.label)&&void 0!==t?t:e.name,value:null!==(n=e.value)&&void 0!==n?n:e.name,key:e.key||e.name,children:e.children.map((e=>YY(e)))}}return e}const GY=$n({name:"AutoComplete",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,menuProps:Object,append:Boolean,bordered:{type:Boolean,default:void 0},clearable:{type:Boolean,default:void 0},defaultValue:{type:String,default:null},loading:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},placeholder:String,placement:{type:String,default:"bottom-start"},value:String,blurAfterSelect:Boolean,clearAfterSelect:Boolean,getShow:Function,showEmpty:Boolean,inputProps:Object,renderOption:Function,renderLabel:Function,size:String,options:{type:Array,default:()=>[]},zIndex:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onSelect:[Function,Array],onBlur:[Function,Array],onFocus:[Function,Array],onInput:[Function,Array]}),slots:Object,setup(e){const{mergedBorderedRef:t,namespaceRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r}=fE(e),a=bE(e),{mergedSizeRef:i,mergedDisabledRef:l,mergedStatusRef:s}=a,d=vt(null),c=vt(null),u=vt(e.defaultValue),h=xD(Ft(e,"value"),u),p=vt(!1),f=vt(!1),m=HW("AutoComplete","-auto-complete",KY,UY,e,o),v=Qr((()=>e.options.map(YY))),g=Qr((()=>{const{getShow:t}=e;return t?t(h.value||""):!!h.value})),b=Qr((()=>g.value&&p.value&&(!!e.showEmpty||!!v.value.length))),y=Qr((()=>vK(v.value,WY("value","children"))));function _(t){const{"onUpdate:value":n,onUpdateValue:o,onInput:r}=e,{nTriggerFormInput:i,nTriggerFormChange:l}=a;o&&GB(o,t),n&&GB(n,t),r&&GB(r,t),u.value=t,i(),l()}function x(t){void 0!==(null==t?void 0:t.value)&&(function(t){const{onSelect:n}=e,{nTriggerFormInput:o,nTriggerFormChange:r}=a;n&&GB(n,t),o(),r()}(t.value),e.clearAfterSelect?_(null):void 0!==t.label&&_(e.append?`${h.value}${t.label}`:t.label),p.value=!1,e.blurAfterSelect&&function(){var e,t;(null===(e=d.value)||void 0===e?void 0:e.contains(document.activeElement))&&(null===(t=document.activeElement)||void 0===t||t.blur())}())}const C=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{menuBoxShadow:t}}=m.value;return{"--n-menu-box-shadow":t,"--n-bezier":e}})),w=r?vE("auto-complete",void 0,C,e):void 0,S=vt(null),k={focus:()=>{var e;null===(e=S.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=S.value)||void 0===e||e.blur()}};return{focus:k.focus,blur:k.blur,inputInstRef:S,uncontrolledValue:u,mergedValue:h,isMounted:CD(),adjustedTo:ID(e),menuInstRef:c,triggerElRef:d,treeMate:y,mergedSize:i,mergedDisabled:l,active:b,mergedStatus:s,handleClear:function(){_(null)},handleFocus:function(t){p.value=!0,function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=a;n&&GB(n,t),o()}(t)},handleBlur:function(t){p.value=!1,function(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=a;n&&GB(n,t),o()}(t)},handleInput:function(e){p.value=!0,_(e)},handleToggle:function(e){x(e.rawNode)},handleClickOutsideMenu:function(e){var t;(null===(t=d.value)||void 0===t?void 0:t.contains(JA(e)))||(p.value=!1)},handleCompositionStart:function(){f.value=!0},handleCompositionEnd:function(){window.setTimeout((()=>{f.value=!1}),0)},handleKeyDown:function(e){var t,n,o;switch(e.key){case"Enter":if(!f.value){const n=null===(t=c.value)||void 0===t?void 0:t.getPendingTmNode();n&&(x(n.rawNode),e.preventDefault())}break;case"ArrowDown":null===(n=c.value)||void 0===n||n.next();break;case"ArrowUp":null===(o=c.value)||void 0===o||o.prev()}},mergedTheme:m,cssVars:r?void 0:C,themeClass:null==w?void 0:w.themeClass,onRender:null==w?void 0:w.onRender,mergedBordered:t,namespace:n,mergedClsPrefix:o}},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:`${e}-auto-complete`,ref:"triggerElRef",onKeydown:this.handleKeyDown,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>{const e=this.$slots.default;if(e)return JB(0,e,{handleInput:this.handleInput,handleFocus:this.handleFocus,handleBlur:this.handleBlur,value:this.mergedValue});const{mergedTheme:t}=this;return Jr(BY,{ref:"inputInstRef",status:this.mergedStatus,theme:t.peers.Input,themeOverrides:t.peerOverrides.Input,bordered:this.mergedBordered,value:this.mergedValue,placeholder:this.placeholder,size:this.mergedSize,disabled:this.mergedDisabled,clearable:this.clearable,loading:this.loading,inputProps:this.inputProps,onClear:this.handleClear,onFocus:this.handleFocus,onUpdateValue:this.handleInput,onBlur:this.handleBlur},{suffix:()=>{var e,t;return null===(t=(e=this.$slots).suffix)||void 0===t?void 0:t.call(e)},prefix:()=>{var e,t;return null===(t=(e=this.$slots).prefix)||void 0===t?void 0:t.call(e)}})}}),Jr(FI,{show:this.active,to:this.adjustedTo,containerClass:this.namespace,zIndex:this.zIndex,teleportDisabled:this.adjustedTo===ID.tdkey,placement:this.placement,width:"target"},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>{var t;if(null===(t=this.onRender)||void 0===t||t.call(this),!this.active)return null;const{menuProps:n}=this;return on(Jr(AK,Object.assign({},n,{clsPrefix:e,ref:"menuInstRef",theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,"auto-pending":!0,class:[`${e}-auto-complete-menu`,this.themeClass,null==n?void 0:n.class],style:[null==n?void 0:n.style,this.cssVars],treeMate:this.treeMate,multiple:!1,renderLabel:this.renderLabel,renderOption:this.renderOption,size:"medium",onToggle:this.handleToggle}),{empty:()=>{var e,t;return null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)}}),[[sI,this.handleClickOutsideMenu,void 0,{capture:!0}]])}})})]}))}}),XY=ED&&"loading"in document.createElement("img");const ZY=new WeakMap,QY=new WeakMap,JY=new WeakMap,eG=(e,t,n)=>{if(!e)return()=>{};const o=function(e={}){var t;const{root:n=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):null!==(t=e.threshold)&&void 0!==t?t:"0"}`,options:Object.assign(Object.assign({},e),{root:("string"==typeof n?document.querySelector(n):n)||document.documentElement})}}(t),{root:r}=o.options;let a;const i=ZY.get(r);let l,s;i?a=i:(a=new Map,ZY.set(r,a)),a.has(o.hash)?(s=a.get(o.hash),s[1].has(e)||(l=s[0],s[1].add(e),l.observe(e))):(l=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=QY.get(e.target),n=JY.get(e.target);t&&t(),n&&(n.value=!0)}}))}),o.options),l.observe(e),s=[l,new Set([e])],a.set(o.hash,s));let d=!1;const c=()=>{d||(QY.delete(e),JY.delete(e),d=!0,s[1].has(e)&&(s[0].unobserve(e),s[1].delete(e)),s[1].size<=0&&a.delete(o.hash),a.size||ZY.delete(r))};return QY.set(e,c),JY.set(e,n),c};function tG(e){const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:a,heightSmall:i,heightMedium:l,heightLarge:s,heightHuge:d,modalColor:c,popoverColor:u}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:a,heightSmall:i,heightMedium:l,heightLarge:s,heightHuge:d,color:OO(o,n),colorModal:OO(c,n),colorPopover:OO(u,n)}}const nG={name:"Avatar",common:Eq,self:tG},oG={name:"Avatar",common:KU,self:tG};function rG(){return{gap:"-12px"}}const aG={name:"AvatarGroup",common:Eq,peers:{Avatar:nG},self:rG},iG={name:"AvatarGroup",common:KU,peers:{Avatar:oG},self:rG},lG={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},sG={name:"BackTop",common:KU,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},lG),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}};const dG={name:"BackTop",common:Eq,self:function(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},lG),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},cG={name:"Badge",common:KU,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:a}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:a}}};const uG={name:"Badge",common:Eq,self:function(e){const{errorColor:t,infoColor:n,successColor:o,warningColor:r,fontFamily:a}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:a}}},hG={fontWeightActive:"400"};function pG(e){const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:a,buttonColor2Pressed:i}=e;return Object.assign(Object.assign({},hG),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:a,itemColorPressed:i,separatorColor:n})}const fG={name:"Breadcrumb",common:Eq,self:pG},mG={name:"Breadcrumb",common:KU,self:pG};function vG(e){return OO(e,[255,255,255,.16])}function gG(e){return OO(e,[0,0,0,.12])}const bG="n-button-group",yG={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};function _G(e){const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:a,fontSizeTiny:i,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:c,textColor2:u,textColor3:h,primaryColorHover:p,primaryColorPressed:f,borderColor:m,primaryColor:v,baseColor:g,infoColor:b,infoColorHover:y,infoColorPressed:_,successColor:x,successColorHover:C,successColorPressed:w,warningColor:S,warningColorHover:k,warningColorPressed:P,errorColor:T,errorColorHover:R,errorColorPressed:F,fontWeight:z,buttonColor2:M,buttonColor2Hover:$,buttonColor2Pressed:A,fontWeightStrong:O}=e;return Object.assign(Object.assign({},yG),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:a,borderRadiusSmall:a,borderRadiusMedium:a,borderRadiusLarge:a,fontSizeTiny:i,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:c,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:M,colorSecondaryHover:$,colorSecondaryPressed:A,colorTertiary:M,colorTertiaryHover:$,colorTertiaryPressed:A,colorQuaternary:"#0000",colorQuaternaryHover:$,colorQuaternaryPressed:A,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:u,textColorTertiary:h,textColorHover:p,textColorPressed:f,textColorFocus:p,textColorDisabled:u,textColorText:u,textColorTextHover:p,textColorTextPressed:f,textColorTextFocus:p,textColorTextDisabled:u,textColorGhost:u,textColorGhostHover:p,textColorGhostPressed:f,textColorGhostFocus:p,textColorGhostDisabled:u,border:`1px solid ${m}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${f}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${m}`,rippleColor:v,colorPrimary:v,colorHoverPrimary:p,colorPressedPrimary:f,colorFocusPrimary:p,colorDisabledPrimary:v,textColorPrimary:g,textColorHoverPrimary:g,textColorPressedPrimary:g,textColorFocusPrimary:g,textColorDisabledPrimary:g,textColorTextPrimary:v,textColorTextHoverPrimary:p,textColorTextPressedPrimary:f,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:u,textColorGhostPrimary:v,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:f,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:v,borderPrimary:`1px solid ${v}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${f}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${v}`,rippleColorPrimary:v,colorInfo:b,colorHoverInfo:y,colorPressedInfo:_,colorFocusInfo:y,colorDisabledInfo:b,textColorInfo:g,textColorHoverInfo:g,textColorPressedInfo:g,textColorFocusInfo:g,textColorDisabledInfo:g,textColorTextInfo:b,textColorTextHoverInfo:y,textColorTextPressedInfo:_,textColorTextFocusInfo:y,textColorTextDisabledInfo:u,textColorGhostInfo:b,textColorGhostHoverInfo:y,textColorGhostPressedInfo:_,textColorGhostFocusInfo:y,textColorGhostDisabledInfo:b,borderInfo:`1px solid ${b}`,borderHoverInfo:`1px solid ${y}`,borderPressedInfo:`1px solid ${_}`,borderFocusInfo:`1px solid ${y}`,borderDisabledInfo:`1px solid ${b}`,rippleColorInfo:b,colorSuccess:x,colorHoverSuccess:C,colorPressedSuccess:w,colorFocusSuccess:C,colorDisabledSuccess:x,textColorSuccess:g,textColorHoverSuccess:g,textColorPressedSuccess:g,textColorFocusSuccess:g,textColorDisabledSuccess:g,textColorTextSuccess:x,textColorTextHoverSuccess:C,textColorTextPressedSuccess:w,textColorTextFocusSuccess:C,textColorTextDisabledSuccess:u,textColorGhostSuccess:x,textColorGhostHoverSuccess:C,textColorGhostPressedSuccess:w,textColorGhostFocusSuccess:C,textColorGhostDisabledSuccess:x,borderSuccess:`1px solid ${x}`,borderHoverSuccess:`1px solid ${C}`,borderPressedSuccess:`1px solid ${w}`,borderFocusSuccess:`1px solid ${C}`,borderDisabledSuccess:`1px solid ${x}`,rippleColorSuccess:x,colorWarning:S,colorHoverWarning:k,colorPressedWarning:P,colorFocusWarning:k,colorDisabledWarning:S,textColorWarning:g,textColorHoverWarning:g,textColorPressedWarning:g,textColorFocusWarning:g,textColorDisabledWarning:g,textColorTextWarning:S,textColorTextHoverWarning:k,textColorTextPressedWarning:P,textColorTextFocusWarning:k,textColorTextDisabledWarning:u,textColorGhostWarning:S,textColorGhostHoverWarning:k,textColorGhostPressedWarning:P,textColorGhostFocusWarning:k,textColorGhostDisabledWarning:S,borderWarning:`1px solid ${S}`,borderHoverWarning:`1px solid ${k}`,borderPressedWarning:`1px solid ${P}`,borderFocusWarning:`1px solid ${k}`,borderDisabledWarning:`1px solid ${S}`,rippleColorWarning:S,colorError:T,colorHoverError:R,colorPressedError:F,colorFocusError:R,colorDisabledError:T,textColorError:g,textColorHoverError:g,textColorPressedError:g,textColorFocusError:g,textColorDisabledError:g,textColorTextError:T,textColorTextHoverError:R,textColorTextPressedError:F,textColorTextFocusError:R,textColorTextDisabledError:u,textColorGhostError:T,textColorGhostHoverError:R,textColorGhostPressedError:F,textColorGhostFocusError:R,textColorGhostDisabledError:T,borderError:`1px solid ${T}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${F}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${T}`,rippleColorError:T,waveOpacity:"0.6",fontWeight:z,fontWeightStrong:O})}const xG={name:"Button",common:Eq,self:_G},CG={name:"Button",common:KU,self(e){const t=_G(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},wG=BA([LA("button","\n margin: 0;\n font-weight: var(--n-font-weight);\n line-height: 1;\n font-family: inherit;\n padding: var(--n-padding);\n height: var(--n-height);\n font-size: var(--n-font-size);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n width: var(--n-width);\n white-space: nowrap;\n outline: none;\n position: relative;\n z-index: auto;\n border: none;\n display: inline-flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n user-select: none;\n -webkit-user-select: none;\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[NA("color",[jA("border",{borderColor:"var(--n-border-color)"}),NA("disabled",[jA("border",{borderColor:"var(--n-border-color-disabled)"})]),HA("disabled",[BA("&:focus",[jA("state-border",{borderColor:"var(--n-border-color-focus)"})]),BA("&:hover",[jA("state-border",{borderColor:"var(--n-border-color-hover)"})]),BA("&:active",[jA("state-border",{borderColor:"var(--n-border-color-pressed)"})]),NA("pressed",[jA("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),NA("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[jA("border",{border:"var(--n-border-disabled)"})]),HA("disabled",[BA("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[jA("state-border",{border:"var(--n-border-focus)"})]),BA("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[jA("state-border",{border:"var(--n-border-hover)"})]),BA("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[jA("state-border",{border:"var(--n-border-pressed)"})]),NA("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[jA("state-border",{border:"var(--n-border-pressed)"})])]),NA("loading","cursor: wait;"),LA("base-wave","\n pointer-events: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n animation-iteration-count: 1;\n animation-duration: var(--n-ripple-duration);\n animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);\n ",[NA("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),ED&&"MozBoxSizing"in document.createElement("div").style?BA("&::moz-focus-inner",{border:0}):null,jA("border, state-border","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: inherit;\n transition: border-color .3s var(--n-bezier);\n pointer-events: none;\n "),jA("border",{border:"var(--n-border)"}),jA("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),jA("icon","\n margin: var(--n-icon-margin);\n margin-left: 0;\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n max-width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n position: relative;\n flex-shrink: 0;\n ",[LA("icon-slot","\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n ",[MV({top:"50%",originalTransform:"translateY(-50%)"})]),hY()]),jA("content","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n min-width: 0;\n ",[BA("~",[jA("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),NA("block","\n display: flex;\n width: 100%;\n "),NA("dashed",[jA("border, state-border",{borderStyle:"dashed !important"})]),NA("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),BA("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),BA("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),SG=$n({name:"Button",props:Object.assign(Object.assign({},HW.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!TY}}),slots:Object,setup(e){const t=vt(null),n=vt(null),o=vt(!1),r=oD((()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered)),a=Ro(bG,{}),{mergedSizeRef:i}=bE({},{defaultSize:"medium",mergedSize:t=>{const{size:n}=e;if(n)return n;const{size:o}=a;if(o)return o;const{mergedSize:r}=t||{};return r?r.value:"medium"}}),l=Qr((()=>e.focusable&&!e.disabled)),{inlineThemeDisabled:s,mergedClsPrefixRef:d,mergedRtlRef:c}=fE(e),u=HW("Button","-button",wG,xG,e,d),h=DW("Button",c,d),p=Qr((()=>{const t=u.value,{common:{cubicBezierEaseInOut:n,cubicBezierEaseOut:o},self:r}=t,{rippleDuration:a,opacityDisabled:l,fontWeight:s,fontWeightStrong:d}=r,c=i.value,{dashed:h,type:p,ghost:f,text:m,color:v,round:g,circle:b,textColor:y,secondary:_,tertiary:x,quaternary:C,strong:w}=e,S={"--n-font-weight":w?d:s};let k={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const P="tertiary"===p,T="default"===p,R=P?"default":p;if(m){const e=y||v;k={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":e||r[KA("textColorText",R)],"--n-text-color-hover":e?vG(e):r[KA("textColorTextHover",R)],"--n-text-color-pressed":e?gG(e):r[KA("textColorTextPressed",R)],"--n-text-color-focus":e?vG(e):r[KA("textColorTextHover",R)],"--n-text-color-disabled":e||r[KA("textColorTextDisabled",R)]}}else if(f||h){const e=y||v;k={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":v||r[KA("rippleColor",R)],"--n-text-color":e||r[KA("textColorGhost",R)],"--n-text-color-hover":e?vG(e):r[KA("textColorGhostHover",R)],"--n-text-color-pressed":e?gG(e):r[KA("textColorGhostPressed",R)],"--n-text-color-focus":e?vG(e):r[KA("textColorGhostHover",R)],"--n-text-color-disabled":e||r[KA("textColorGhostDisabled",R)]}}else if(_){const e=T?r.textColor:P?r.textColorTertiary:r[KA("color",R)],t=v||e,n="default"!==p&&"tertiary"!==p;k={"--n-color":n?DO(t,{alpha:Number(r.colorOpacitySecondary)}):r.colorSecondary,"--n-color-hover":n?DO(t,{alpha:Number(r.colorOpacitySecondaryHover)}):r.colorSecondaryHover,"--n-color-pressed":n?DO(t,{alpha:Number(r.colorOpacitySecondaryPressed)}):r.colorSecondaryPressed,"--n-color-focus":n?DO(t,{alpha:Number(r.colorOpacitySecondaryHover)}):r.colorSecondaryHover,"--n-color-disabled":r.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":t,"--n-text-color-hover":t,"--n-text-color-pressed":t,"--n-text-color-focus":t,"--n-text-color-disabled":t}}else if(x||C){const e=T?r.textColor:P?r.textColorTertiary:r[KA("color",R)],t=v||e;x?(k["--n-color"]=r.colorTertiary,k["--n-color-hover"]=r.colorTertiaryHover,k["--n-color-pressed"]=r.colorTertiaryPressed,k["--n-color-focus"]=r.colorSecondaryHover,k["--n-color-disabled"]=r.colorTertiary):(k["--n-color"]=r.colorQuaternary,k["--n-color-hover"]=r.colorQuaternaryHover,k["--n-color-pressed"]=r.colorQuaternaryPressed,k["--n-color-focus"]=r.colorQuaternaryHover,k["--n-color-disabled"]=r.colorQuaternary),k["--n-ripple-color"]="#0000",k["--n-text-color"]=t,k["--n-text-color-hover"]=t,k["--n-text-color-pressed"]=t,k["--n-text-color-focus"]=t,k["--n-text-color-disabled"]=t}else k={"--n-color":v||r[KA("color",R)],"--n-color-hover":v?vG(v):r[KA("colorHover",R)],"--n-color-pressed":v?gG(v):r[KA("colorPressed",R)],"--n-color-focus":v?vG(v):r[KA("colorFocus",R)],"--n-color-disabled":v||r[KA("colorDisabled",R)],"--n-ripple-color":v||r[KA("rippleColor",R)],"--n-text-color":y||(v?r.textColorPrimary:P?r.textColorTertiary:r[KA("textColor",R)]),"--n-text-color-hover":y||(v?r.textColorHoverPrimary:r[KA("textColorHover",R)]),"--n-text-color-pressed":y||(v?r.textColorPressedPrimary:r[KA("textColorPressed",R)]),"--n-text-color-focus":y||(v?r.textColorFocusPrimary:r[KA("textColorFocus",R)]),"--n-text-color-disabled":y||(v?r.textColorDisabledPrimary:r[KA("textColorDisabled",R)])};let F={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};F=m?{"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:{"--n-border":r[KA("border",R)],"--n-border-hover":r[KA("borderHover",R)],"--n-border-pressed":r[KA("borderPressed",R)],"--n-border-focus":r[KA("borderFocus",R)],"--n-border-disabled":r[KA("borderDisabled",R)]};const{[KA("height",c)]:z,[KA("fontSize",c)]:M,[KA("padding",c)]:$,[KA("paddingRound",c)]:A,[KA("iconSize",c)]:O,[KA("borderRadius",c)]:D,[KA("iconMargin",c)]:I,waveOpacity:B}=r,E={"--n-width":b&&!m?z:"initial","--n-height":m?"initial":z,"--n-font-size":M,"--n-padding":b||m?"initial":g?A:$,"--n-icon-size":O,"--n-icon-margin":I,"--n-border-radius":m?"initial":b||g?z:D};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":n,"--n-bezier-ease-out":o,"--n-ripple-duration":a,"--n-opacity-disabled":l,"--n-wave-opacity":B},S),k),F),E)})),f=s?vE("button",Qr((()=>{let t="";const{dashed:n,type:o,ghost:r,text:a,color:l,round:s,circle:d,textColor:c,secondary:u,tertiary:h,quaternary:p,strong:f}=e;n&&(t+="a"),r&&(t+="b"),a&&(t+="c"),s&&(t+="d"),d&&(t+="e"),u&&(t+="f"),h&&(t+="g"),p&&(t+="h"),f&&(t+="i"),l&&(t+=`j${IB(l)}`),c&&(t+=`k${IB(c)}`);const{value:m}=i;return t+=`l${m[0]}`,t+=`m${o[0]}`,t})),p,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:d,mergedFocusable:l,mergedSize:i,showBorder:r,enterPressed:o,rtlEnabled:h,handleMousedown:n=>{var o;l.value||n.preventDefault(),e.nativeFocusBehavior||(n.preventDefault(),e.disabled||l.value&&(null===(o=t.value)||void 0===o||o.focus({preventScroll:!0})))},handleKeydown:t=>{if("Enter"===t.key){if(!e.keyboard||e.loading)return void t.preventDefault();o.value=!0}},handleBlur:()=>{o.value=!1},handleKeyup:t=>{if("Enter"===t.key){if(!e.keyboard)return;o.value=!1}},handleClick:t=>{var o;if(!e.disabled&&!e.loading){const{onClick:r}=e;r&&GB(r,t),e.text||null===(o=n.value)||void 0===o||o.play()}},customColorCssVars:Qr((()=>{const{color:t}=e;if(!t)return null;const n=vG(t);return{"--n-border-color":t,"--n-border-color-hover":n,"--n-border-color-pressed":gG(t),"--n-border-color-focus":n,"--n-border-color-disabled":t}})),cssVars:s?void 0:p,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;null==n||n();const o=dE(this.$slots.default,(t=>t&&Jr("span",{class:`${e}-button__content`},t)));return Jr(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},"right"===this.iconPlacement&&o,Jr(IV,{width:!0},{default:()=>dE(this.$slots.icon,(t=>(this.loading||this.renderIcon||t)&&Jr("span",{class:`${e}-button__icon`,style:{margin:cE(this.$slots.default)?"0":""}},Jr(UW,null,{default:()=>this.loading?Jr(NV,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):Jr("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():t)}))))}),"left"===this.iconPlacement&&o,this.text?null:Jr(fY,{ref:"waveElRef",clsPrefix:e}),this.showBorder?Jr("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?Jr("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),kG=SG,PG="0!important",TG="-1px!important";function RG(e){return NA(`${e}-type`,[BA("& +",[LA("button",{},[NA(`${e}-type`,[jA("border",{borderLeftWidth:PG}),jA("state-border",{left:TG})])])])])}function FG(e){return NA(`${e}-type`,[BA("& +",[LA("button",[NA(`${e}-type`,[jA("border",{borderTopWidth:PG}),jA("state-border",{top:TG})])])])])}const zG=LA("button-group","\n flex-wrap: nowrap;\n display: inline-flex;\n position: relative;\n",[HA("vertical",{flexDirection:"row"},[HA("rtl",[LA("button",[BA("&:first-child:not(:last-child)",`\n margin-right: ${PG};\n border-top-right-radius: ${PG};\n border-bottom-right-radius: ${PG};\n `),BA("&:last-child:not(:first-child)",`\n margin-left: ${PG};\n border-top-left-radius: ${PG};\n border-bottom-left-radius: ${PG};\n `),BA("&:not(:first-child):not(:last-child)",`\n margin-left: ${PG};\n margin-right: ${PG};\n border-radius: ${PG};\n `),RG("default"),NA("ghost",[RG("primary"),RG("info"),RG("success"),RG("warning"),RG("error")])])])]),NA("vertical",{flexDirection:"column"},[LA("button",[BA("&:first-child:not(:last-child)",`\n margin-bottom: ${PG};\n margin-left: ${PG};\n margin-right: ${PG};\n border-bottom-left-radius: ${PG};\n border-bottom-right-radius: ${PG};\n `),BA("&:last-child:not(:first-child)",`\n margin-top: ${PG};\n margin-left: ${PG};\n margin-right: ${PG};\n border-top-left-radius: ${PG};\n border-top-right-radius: ${PG};\n `),BA("&:not(:first-child):not(:last-child)",`\n margin: ${PG};\n border-radius: ${PG};\n `),FG("default"),NA("ghost",[FG("primary"),FG("info"),FG("success"),FG("warning"),FG("error")])])])]),MG=$n({name:"ButtonGroup",props:{size:{type:String,default:void 0},vertical:Boolean},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e);NW("-button-group",zG,t),To(bG,e);return{rtlEnabled:DW("ButtonGroup",n,t),mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}});function $G(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function AG(e,t){const n=FE(e);return isNaN(t)?$G(e,NaN):t?(n.setDate(n.getDate()+t),n):n}function OG(e,t){const n=FE(e);if(isNaN(t))return $G(e,NaN);if(!t)return n;const o=n.getDate(),r=$G(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);return o>=r.getDate()?r:(n.setFullYear(r.getFullYear(),r.getMonth(),o),n)}const DG=6048e5;function IG(e){return $E(e,{weekStartsOn:1})}function BG(e){const t=FE(e),n=t.getFullYear(),o=$G(e,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const r=IG(o),a=$G(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=IG(a);return t.getTime()>=r.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function EG(e){const t=FE(e);return t.setHours(0,0,0,0),t}function LG(e){const t=FE(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function jG(e,t){return OG(e,12*t)}function NG(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=FE(e);return!isNaN(Number(n))}function HG(e){const t=FE(e);return Math.trunc(t.getMonth()/3)+1}function WG(e){const t=FE(e),n=t.getMonth(),o=n-n%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}function VG(e){const t=FE(e);return t.setDate(1),t.setHours(0,0,0,0),t}function UG(e){const t=FE(e),n=$G(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function qG(e){const t=FE(e);return function(e,t){const n=EG(e),o=EG(t),r=+n-LG(n),a=+o-LG(o);return Math.round((r-a)/864e5)}(t,UG(t))+1}function KG(e){const t=FE(e),n=+IG(t)-+function(e){const t=BG(e),n=$G(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),IG(n)}(t);return Math.round(n/DG)+1}function YG(e,t){var n,o,r,a;const i=FE(e),l=i.getFullYear(),s=ME(),d=(null==t?void 0:t.firstWeekContainsDate)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.firstWeekContainsDate)??s.firstWeekContainsDate??(null==(a=null==(r=s.locale)?void 0:r.options)?void 0:a.firstWeekContainsDate)??1,c=$G(e,0);c.setFullYear(l+1,0,d),c.setHours(0,0,0,0);const u=$E(c,t),h=$G(e,0);h.setFullYear(l,0,d),h.setHours(0,0,0,0);const p=$E(h,t);return i.getTime()>=u.getTime()?l+1:i.getTime()>=p.getTime()?l:l-1}function GG(e,t){const n=FE(e),o=+$E(n,t)-+function(e,t){var n,o,r,a;const i=ME(),l=(null==t?void 0:t.firstWeekContainsDate)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.firstWeekContainsDate)??i.firstWeekContainsDate??(null==(a=null==(r=i.locale)?void 0:r.options)?void 0:a.firstWeekContainsDate)??1,s=YG(e,t),d=$G(e,0);return d.setFullYear(s,0,l),d.setHours(0,0,0,0),$E(d,t)}(n,t);return Math.round(o/DG)+1}function XG(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const ZG={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return XG("yy"===t?o%100:o,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):XG(n+1,2)},d:(e,t)=>XG(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>XG(e.getHours()%12||12,t.length),H:(e,t)=>XG(e.getHours(),t.length),m:(e,t)=>XG(e.getMinutes(),t.length),s:(e,t)=>XG(e.getSeconds(),t.length),S(e,t){const n=t.length,o=e.getMilliseconds();return XG(Math.trunc(o*Math.pow(10,n-3)),t.length)}},QG="midnight",JG="noon",eX="morning",tX="afternoon",nX="evening",oX="night",rX={G:function(e,t,n){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),o=t>0?t:1-t;return n.ordinalNumber(o,{unit:"year"})}return ZG.y(e,t)},Y:function(e,t,n,o){const r=YG(e,o),a=r>0?r:1-r;if("YY"===t){return XG(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):XG(a,t.length)},R:function(e,t){return XG(BG(e),t.length)},u:function(e,t){return XG(e.getFullYear(),t.length)},Q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return XG(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return XG(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){const o=e.getMonth();switch(t){case"M":case"MM":return ZG.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return XG(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){const r=GG(e,o);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):XG(r,t.length)},I:function(e,t,n){const o=KG(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):XG(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):ZG.d(e,t)},D:function(e,t,n){const o=qG(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):XG(o,t.length)},E:function(e,t,n){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){const r=e.getDay(),a=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return XG(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){const r=e.getDay(),a=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return XG(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const o=e.getDay(),r=0===o?7:o;switch(t){case"i":return String(r);case"ii":return XG(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const o=e.getHours();let r;switch(r=12===o?JG:0===o?QG:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const o=e.getHours();let r;switch(r=o>=17?nX:o>=12?tX:o>=4?eX:oX,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return ZG.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):ZG.H(e,t)},K:function(e,t,n){const o=e.getHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):XG(o,t.length)},k:function(e,t,n){let o=e.getHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):XG(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ZG.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ZG.s(e,t)},S:function(e,t){return ZG.S(e,t)},X:function(e,t,n){const o=e.getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return iX(o);case"XXXX":case"XX":return lX(o);default:return lX(o,":")}},x:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"x":return iX(o);case"xxxx":case"xx":return lX(o);default:return lX(o,":")}},O:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+aX(o,":");default:return"GMT"+lX(o,":")}},z:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+aX(o,":");default:return"GMT"+lX(o,":")}},t:function(e,t,n){return XG(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return XG(e.getTime(),t.length)}};function aX(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.trunc(o/60),a=o%60;return 0===a?n+String(r):n+String(r)+t+XG(a,2)}function iX(e,t){if(e%60==0){return(e>0?"-":"+")+XG(Math.abs(e)/60,2)}return lX(e,t)}function lX(e,t=""){const n=e>0?"-":"+",o=Math.abs(e);return n+XG(Math.trunc(o/60),2)+t+XG(o%60,2)}const sX=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},dX=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},cX={p:dX,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return sX(e,t);let a;switch(o){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",sX(o,t)).replace("{{time}}",dX(r,t))}},uX=/^D+$/,hX=/^Y+$/,pX=["D","DD","YY","YYYY"];function fX(e){return uX.test(e)}function mX(e){return hX.test(e)}function vX(e,t,n){const o=function(e,t,n){const o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(pX.includes(e))throw new RangeError(o)}const gX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bX=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yX=/^'([^]*?)'?$/,_X=/''/g,xX=/[a-zA-Z]/;function CX(e,t,n){var o,r,a,i,l,s,d,c;const u=ME(),h=(null==n?void 0:n.locale)??u.locale??EE,p=(null==n?void 0:n.firstWeekContainsDate)??(null==(r=null==(o=null==n?void 0:n.locale)?void 0:o.options)?void 0:r.firstWeekContainsDate)??u.firstWeekContainsDate??(null==(i=null==(a=u.locale)?void 0:a.options)?void 0:i.firstWeekContainsDate)??1,f=(null==n?void 0:n.weekStartsOn)??(null==(s=null==(l=null==n?void 0:n.locale)?void 0:l.options)?void 0:s.weekStartsOn)??u.weekStartsOn??(null==(c=null==(d=u.locale)?void 0:d.options)?void 0:c.weekStartsOn)??0,m=FE(e);if(!NG(m))throw new RangeError("Invalid time value");let v=t.match(bX).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,cX[t])(e,h.formatLong)}return e})).join("").match(gX).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:wX(e)};if(rX[t])return{isToken:!0,value:e};if(t.match(xX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));h.localize.preprocessor&&(v=h.localize.preprocessor(m,v));const g={firstWeekContainsDate:p,weekStartsOn:f,locale:h};return v.map((o=>{if(!o.isToken)return o.value;const r=o.value;(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&mX(r)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&fX(r))&&vX(r,t,String(e));return(0,rX[r[0]])(m,r,h.localize,g)})).join("")}function wX(e){const t=e.match(yX);return t?t[1].replace(_X,"'"):e}function SX(e){return FE(e).getDate()}function kX(){return Object.assign({},ME())}function PX(e){return FE(e).getHours()}function TX(e){return FE(e).getMinutes()}function RX(e){return FE(e).getMonth()}function FX(e){return FE(e).getSeconds()}function zX(e){return FE(e).getTime()}function MX(e){return FE(e).getFullYear()}class $X{constructor(){t(this,"subPriority",0)}validate(e,t){return!0}}class AX extends $X{constructor(e,t,n,o,r){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=o,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class OX extends $X{constructor(){super(...arguments),t(this,"priority",10),t(this,"subPriority",-1)}set(e,t){return t.timestampIsSet?e:$G(e,function(e,t){const n=t instanceof Date?$G(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,Date))}}class DX{run(e,t,n,o){const r=this.parse(e,t,n,o);return r?{setter:new AX(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,n){return!0}}const IX=/^(1[0-2]|0?\d)/,BX=/^(3[0-1]|[0-2]?\d)/,EX=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,LX=/^(5[0-3]|[0-4]?\d)/,jX=/^(2[0-3]|[0-1]?\d)/,NX=/^(2[0-4]|[0-1]?\d)/,HX=/^(1[0-1]|0?\d)/,WX=/^(1[0-2]|0?\d)/,VX=/^[0-5]?\d/,UX=/^[0-5]?\d/,qX=/^\d/,KX=/^\d{1,2}/,YX=/^\d{1,3}/,GX=/^\d{1,4}/,XX=/^-?\d+/,ZX=/^-?\d/,QX=/^-?\d{1,2}/,JX=/^-?\d{1,3}/,eZ=/^-?\d{1,4}/,tZ=/^([+-])(\d{2})(\d{2})?|Z/,nZ=/^([+-])(\d{2})(\d{2})|Z/,oZ=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,rZ=/^([+-])(\d{2}):(\d{2})|Z/,aZ=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function iZ(e,t){return e?{value:t(e.value),rest:e.rest}:e}function lZ(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function sZ(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};return{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}}function dZ(e){return lZ(XX,e)}function cZ(e,t){switch(e){case 1:return lZ(qX,t);case 2:return lZ(KX,t);case 3:return lZ(YX,t);case 4:return lZ(GX,t);default:return lZ(new RegExp("^\\d{1,"+e+"}"),t)}}function uZ(e,t){switch(e){case 1:return lZ(ZX,t);case 2:return lZ(QX,t);case 3:return lZ(JX,t);case 4:return lZ(eZ,t);default:return lZ(new RegExp("^-?\\d{1,"+e+"}"),t)}}function hZ(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function pZ(e,t){const n=t>0,o=n?t:1-t;let r;if(o<=50)r=e||100;else{const t=o+50;r=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?r:1-r}function fZ(e){return e%400==0||e%4==0&&e%100!=0}const mZ=[31,28,31,30,31,30,31,31,30,31,30,31],vZ=[31,29,31,30,31,30,31,31,30,31,30,31];function gZ(e,t,n){var o,r,a,i;const l=ME(),s=(null==n?void 0:n.weekStartsOn)??(null==(r=null==(o=null==n?void 0:n.locale)?void 0:o.options)?void 0:r.weekStartsOn)??l.weekStartsOn??(null==(i=null==(a=l.locale)?void 0:a.options)?void 0:i.weekStartsOn)??0,d=FE(e),c=d.getDay(),u=7-s;return AG(d,t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7)}function bZ(e,t){const n=FE(e),o=function(e){let t=FE(e).getDay();return 0===t&&(t=7),t}(n);return AG(n,t-o)}const yZ={G:new class extends DX{constructor(){super(...arguments),t(this,"priority",140),t(this,"incompatibleTokens",["R","u","t","T"])}parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}},y:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,t,n){const o=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return iZ(cZ(4,e),o);case"yo":return iZ(n.ordinalNumber(e,{unit:"year"}),o);default:return iZ(cZ(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const o=e.getFullYear();if(n.isTwoDigitYear){const t=pZ(n.year,o);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}},Y:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,t,n){const o=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return iZ(cZ(4,e),o);case"Yo":return iZ(n.ordinalNumber(e,{unit:"year"}),o);default:return iZ(cZ(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){const r=YG(e,o);if(n.isTwoDigitYear){const t=pZ(n.year,r);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),$E(e,o)}const a="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(a,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),$E(e,o)}},R:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,t){return uZ("R"===t?4:t.length,e)}set(e,t,n){const o=$G(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),IG(o)}},u:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,t){return uZ("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}},Q:new class extends DX{constructor(){super(...arguments),t(this,"priority",120),t(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"Q":case"QQ":return cZ(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}},q:new class extends DX{constructor(){super(...arguments),t(this,"priority",120),t(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"q":case"qq":return cZ(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}},M:new class extends DX{constructor(){super(...arguments),t(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),t(this,"priority",110)}parse(e,t,n){const o=e=>e-1;switch(t){case"M":return iZ(lZ(IX,e),o);case"MM":return iZ(cZ(2,e),o);case"Mo":return iZ(n.ordinalNumber(e,{unit:"month"}),o);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends DX{constructor(){super(...arguments),t(this,"priority",110),t(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,t,n){const o=e=>e-1;switch(t){case"L":return iZ(lZ(IX,e),o);case"LL":return iZ(cZ(2,e),o);case"Lo":return iZ(n.ordinalNumber(e,{unit:"month"}),o);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},w:new class extends DX{constructor(){super(...arguments),t(this,"priority",100),t(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,t,n){switch(t){case"w":return lZ(LX,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return $E(function(e,t,n){const o=FE(e),r=GG(o,n)-t;return o.setDate(o.getDate()-7*r),o}(e,n,o),o)}},I:new class extends DX{constructor(){super(...arguments),t(this,"priority",100),t(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,t,n){switch(t){case"I":return lZ(LX,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return IG(function(e,t){const n=FE(e),o=KG(n)-t;return n.setDate(n.getDate()-7*o),n}(e,n))}},d:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"subPriority",1),t(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"d":return lZ(BX,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return cZ(t.length,e)}}validate(e,t){const n=fZ(e.getFullYear()),o=e.getMonth();return n?t>=1&&t<=vZ[o]:t>=1&&t<=mZ[o]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}},D:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"subpriority",1),t(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,t,n){switch(t){case"D":case"DD":return lZ(EX,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return cZ(t.length,e)}}validate(e,t){return fZ(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}},E:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gZ(e,n,o)).setHours(0,0,0,0),e}},e:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,t,n,o){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return iZ(cZ(t.length,e),r);case"eo":return iZ(n.ordinalNumber(e,{unit:"day"}),r);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gZ(e,n,o)).setHours(0,0,0,0),e}},c:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,t,n,o){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return iZ(cZ(t.length,e),r);case"co":return iZ(n.ordinalNumber(e,{unit:"day"}),r);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gZ(e,n,o)).setHours(0,0,0,0),e}},i:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,t,n){const o=e=>0===e?7:e;switch(t){case"i":case"ii":return cZ(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return iZ(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return iZ(n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return iZ(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);default:return iZ(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=bZ(e,n)).setHours(0,0,0,0),e}},a:new class extends DX{constructor(){super(...arguments),t(this,"priority",80),t(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(hZ(n),0,0,0),e}},b:new class extends DX{constructor(){super(...arguments),t(this,"priority",80),t(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(hZ(n),0,0,0),e}},B:new class extends DX{constructor(){super(...arguments),t(this,"priority",80),t(this,"incompatibleTokens",["a","b","t","T"])}parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(hZ(n),0,0,0),e}},h:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,t,n){switch(t){case"h":return lZ(WX,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const o=e.getHours()>=12;return o&&n<12?e.setHours(n+12,0,0,0):o||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}},H:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,t,n){switch(t){case"H":return lZ(jX,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}},K:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,t,n){switch(t){case"K":return lZ(HX,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}},k:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,t,n){switch(t){case"k":return lZ(NX,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const o=n<=24?n%24:n;return e.setHours(o,0,0,0),e}},m:new class extends DX{constructor(){super(...arguments),t(this,"priority",60),t(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"m":return lZ(VX,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}},s:new class extends DX{constructor(){super(...arguments),t(this,"priority",50),t(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"s":return lZ(UX,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}},S:new class extends DX{constructor(){super(...arguments),t(this,"priority",30),t(this,"incompatibleTokens",["t","T"])}parse(e,t){return iZ(cZ(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}},X:new class extends DX{constructor(){super(...arguments),t(this,"priority",10),t(this,"incompatibleTokens",["t","T","x"])}parse(e,t){switch(t){case"X":return sZ(tZ,e);case"XX":return sZ(nZ,e);case"XXXX":return sZ(oZ,e);case"XXXXX":return sZ(aZ,e);default:return sZ(rZ,e)}}set(e,t,n){return t.timestampIsSet?e:$G(e,e.getTime()-LG(e)-n)}},x:new class extends DX{constructor(){super(...arguments),t(this,"priority",10),t(this,"incompatibleTokens",["t","T","X"])}parse(e,t){switch(t){case"x":return sZ(tZ,e);case"xx":return sZ(nZ,e);case"xxxx":return sZ(oZ,e);case"xxxxx":return sZ(aZ,e);default:return sZ(rZ,e)}}set(e,t,n){return t.timestampIsSet?e:$G(e,e.getTime()-LG(e)-n)}},t:new class extends DX{constructor(){super(...arguments),t(this,"priority",40),t(this,"incompatibleTokens","*")}parse(e){return dZ(e)}set(e,t,n){return[$G(e,1e3*n),{timestampIsSet:!0}]}},T:new class extends DX{constructor(){super(...arguments),t(this,"priority",20),t(this,"incompatibleTokens","*")}parse(e){return dZ(e)}set(e,t,n){return[$G(e,n),{timestampIsSet:!0}]}}},_Z=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xZ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,CZ=/^'([^]*?)'?$/,wZ=/''/g,SZ=/\S/,kZ=/[a-zA-Z]/;function PZ(e,t){const n=FE(e),o=FE(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}function TZ(e,t){return+WG(e)===+WG(t)}function RZ(e){const t=FE(e);return t.setMilliseconds(0),t}function FZ(e,t){const n=FE(e),o=FE(t);return n.getFullYear()===o.getFullYear()}function zZ(e,t){const n=FE(e),o=n.getFullYear(),r=n.getDate(),a=$G(e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const i=function(e){const t=FE(e),n=t.getFullYear(),o=t.getMonth(),r=$G(e,0);return r.setFullYear(n,o+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return n.setMonth(t,Math.min(r,i)),n}function MZ(e,t){let n=FE(e);return isNaN(+n)?$G(e,NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=zZ(n,t.month)),null!=t.date&&n.setDate(t.date),null!=t.hours&&n.setHours(t.hours),null!=t.minutes&&n.setMinutes(t.minutes),null!=t.seconds&&n.setSeconds(t.seconds),null!=t.milliseconds&&n.setMilliseconds(t.milliseconds),n)}function $Z(e,t){const n=FE(e);return n.setHours(t),n}function AZ(e,t){const n=FE(e);return n.setMinutes(t),n}function OZ(e,t){const n=FE(e);return n.setSeconds(t),n}function DZ(e,t){const n=FE(e);return isNaN(+n)?$G(e,NaN):(n.setFullYear(t),n)}const IZ={date:function(e,t){return+EG(e)===+EG(t)},month:PZ,year:FZ,quarter:TZ};function BZ(e,t,n,o=0){const r="week"===n?function(e){return(t,n)=>AE(t,n,{weekStartsOn:(e+1)%7})}(o):IZ[n];return r(e,t)}function EZ(e,t,n,o,r,a){return"date"===r?function(e,t,n,o){let r=!1,a=!1,i=!1;Array.isArray(n)&&(n[0]{const t=e[0];return t in cX?(0,cX[t])(e,p.formatLong):e})).join("").match(_Z),y=[];for(let w of b){!(null==o?void 0:o.useAdditionalWeekYearTokens)&&mX(w)&&vX(w,t,e),!(null==o?void 0:o.useAdditionalDayOfYearTokens)&&fX(w)&&vX(w,t,e);const r=w[0],a=yZ[r];if(a){const{incompatibleTokens:t}=a;if(Array.isArray(t)){const e=y.find((e=>t.includes(e.token)||e.token===r));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${w}\` at the same time`)}else if("*"===a.incompatibleTokens&&y.length>0)throw new RangeError(`The format string mustn't contain \`${w}\` and any other token at the same time`);y.push({token:r,fullToken:w});const o=a.run(e,w,p.match,v);if(!o)return $G(n,NaN);g.push(o.setter),e=o.rest}else{if(r.match(kZ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===w?w="'":"'"===r&&(w=w.match(CZ)[1].replace(wZ,"'")),0!==e.indexOf(w))return $G(n,NaN);e=e.slice(w.length)}}if(e.length>0&&SZ.test(e))return $G(n,NaN);const _=g.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>g.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let x=FE(n);if(isNaN(x.getTime()))return $G(n,NaN);const C={};for(const w of _){if(!w.validate(x,v))return $G(n,NaN);const e=w.set(x,C,v);Array.isArray(e)?(x=e[0],Object.assign(C,e[1])):x=e}return $G(n,x)}(e,t,n,o);return NG(r)?CX(r,t,o)===e?r:new Date(Number.NaN):r}function XZ(e){if(void 0===e)return;if("number"==typeof e)return e;const[t,n,o]=e.split(":");return{hours:Number(t),minutes:Number(n),seconds:Number(o)}}function ZZ(e,t){return Array.isArray(e)?e["start"===t?0:1]:null}const QZ={titleFontSize:"22px"};function JZ(e){const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:a,textColorDisabled:i,dividerColor:l,fontWeightStrong:s,primaryColor:d,baseColor:c,hoverColor:u,cardColor:h,modalColor:p,popoverColor:f}=e;return Object.assign(Object.assign({},QZ),{borderRadius:t,borderColor:OO(h,l),borderColorModal:OO(p,l),borderColorPopover:OO(f,l),textColor:r,titleFontWeight:s,titleTextColor:a,dayTextColor:i,fontSize:n,lineHeight:o,dateColorCurrent:d,dateTextColorCurrent:c,cellColorHover:OO(h,u),cellColorHoverModal:OO(p,u),cellColorHoverPopover:OO(f,u),cellColor:h,cellColorModal:p,cellColorPopover:f,barColor:d})}const eQ={name:"Calendar",common:Eq,peers:{Button:xG},self:JZ},tQ={name:"Calendar",common:KU,peers:{Button:CG},self:JZ},nQ={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"};function oQ(e){const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:a,textColor2:i,textColor1:l,dividerColor:s,fontWeightStrong:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,closeColorHover:p,closeColorPressed:f,modalColor:m,boxShadow1:v,popoverColor:g,actionColor:b}=e;return Object.assign(Object.assign({},nQ),{lineHeight:o,color:a,colorModal:m,colorPopover:g,colorTarget:t,colorEmbedded:b,colorEmbeddedModal:b,colorEmbeddedPopover:b,textColor:i,titleTextColor:l,borderColor:s,actionColor:b,titleFontWeight:d,closeColorHover:p,closeColorPressed:f,closeBorderRadius:n,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:v,borderRadius:n})}const rQ={name:"Card",common:Eq,self:oQ},aQ={name:"Card",common:KU,self(e){const t=oQ(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},iQ=BA([LA("card","\n font-size: var(--n-font-size);\n line-height: var(--n-line-height);\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n position: relative;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n color: var(--n-text-color);\n word-break: break-word;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[UA({background:"var(--n-color-modal)"}),NA("hoverable",[BA("&:hover","box-shadow: var(--n-box-shadow);")]),NA("content-segmented",[BA(">",[jA("content",{paddingTop:"var(--n-padding-bottom)"})])]),NA("content-soft-segmented",[BA(">",[jA("content","\n margin: 0 var(--n-padding-left);\n padding: var(--n-padding-bottom) 0;\n ")])]),NA("footer-segmented",[BA(">",[jA("footer",{paddingTop:"var(--n-padding-bottom)"})])]),NA("footer-soft-segmented",[BA(">",[jA("footer","\n padding: var(--n-padding-bottom) 0;\n margin: 0 var(--n-padding-left);\n ")])]),BA(">",[LA("card-header","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-size: var(--n-title-font-size);\n padding:\n var(--n-padding-top)\n var(--n-padding-left)\n var(--n-padding-bottom)\n var(--n-padding-left);\n ",[jA("main","\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n flex: 1;\n min-width: 0;\n color: var(--n-title-text-color);\n "),jA("extra","\n display: flex;\n align-items: center;\n font-size: var(--n-font-size);\n font-weight: 400;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),jA("close","\n margin: 0 0 0 8px;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),jA("action","\n box-sizing: border-box;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n background-clip: padding-box;\n background-color: var(--n-action-color);\n "),jA("content","flex: 1; min-width: 0;"),jA("content, footer","\n box-sizing: border-box;\n padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left);\n font-size: var(--n-font-size);\n ",[BA("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),jA("action","\n background-color: var(--n-action-color);\n padding: var(--n-padding-bottom) var(--n-padding-left);\n border-bottom-left-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n ")]),LA("card-cover","\n overflow: hidden;\n width: 100%;\n border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;\n ",[BA("img","\n display: block;\n width: 100%;\n ")]),NA("bordered","\n border: 1px solid var(--n-border-color);\n ",[BA("&:target","border-color: var(--n-color-target);")]),NA("action-segmented",[BA(">",[jA("action",[BA("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),NA("content-segmented, content-soft-segmented",[BA(">",[jA("content",{transition:"border-color 0.3s var(--n-bezier)"},[BA("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),NA("footer-segmented, footer-soft-segmented",[BA(">",[jA("footer",{transition:"border-color 0.3s var(--n-bezier)"},[BA("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),NA("embedded","\n background-color: var(--n-color-embedded);\n ")]),WA(LA("card","\n background: var(--n-color-modal);\n ",[NA("embedded","\n background-color: var(--n-color-embedded-modal);\n ")])),VA(LA("card","\n background: var(--n-color-popover);\n ",[NA("embedded","\n background-color: var(--n-color-embedded-popover);\n ")]))]),lQ={title:[String,Function],contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"},cover:Function,content:[String,Function],footer:Function,action:Function,headerExtra:Function},sQ=nE(lQ),dQ=$n({name:"Card",props:Object.assign(Object.assign({},HW.props),lQ),slots:Object,setup(e){const{inlineThemeDisabled:t,mergedClsPrefixRef:n,mergedRtlRef:o}=fE(e),r=HW("Card","-card",iQ,rQ,e,n),a=DW("Card",o,n),i=Qr((()=>{const{size:t}=e,{self:{color:n,colorModal:o,colorTarget:a,textColor:i,titleTextColor:l,titleFontWeight:s,borderColor:d,actionColor:c,borderRadius:u,lineHeight:h,closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:g,closeBorderRadius:b,closeIconSize:y,closeSize:_,boxShadow:x,colorPopover:C,colorEmbedded:w,colorEmbeddedModal:S,colorEmbeddedPopover:k,[KA("padding",t)]:P,[KA("fontSize",t)]:T,[KA("titleFontSize",t)]:R},common:{cubicBezierEaseInOut:F}}=r.value,{top:z,left:M,bottom:$}=oO(P);return{"--n-bezier":F,"--n-border-radius":u,"--n-color":n,"--n-color-modal":o,"--n-color-popover":C,"--n-color-embedded":w,"--n-color-embedded-modal":S,"--n-color-embedded-popover":k,"--n-color-target":a,"--n-text-color":i,"--n-line-height":h,"--n-action-color":c,"--n-title-text-color":l,"--n-title-font-weight":s,"--n-close-icon-color":p,"--n-close-icon-color-hover":f,"--n-close-icon-color-pressed":m,"--n-close-color-hover":v,"--n-close-color-pressed":g,"--n-border-color":d,"--n-box-shadow":x,"--n-padding-top":z,"--n-padding-bottom":$,"--n-padding-left":M,"--n-font-size":T,"--n-title-font-size":R,"--n-close-size":_,"--n-close-icon-size":y,"--n-close-border-radius":b}})),l=t?vE("card",Qr((()=>e.size[0])),i,e):void 0;return{rtlEnabled:a,mergedClsPrefix:n,mergedTheme:r,handleCloseClick:()=>{const{onClose:t}=e;t&&GB(t)},cssVars:t?void 0:i,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:a,embedded:i,tag:l,$slots:s}=this;return null==a||a(),Jr(l,{class:[`${o}-card`,this.themeClass,i&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${"boolean"!=typeof e&&"soft"===e.content?"-soft":""}-segmented`]:!0===e||!1!==e&&e.content,[`${o}-card--footer${"boolean"!=typeof e&&"soft"===e.footer?"-soft":""}-segmented`]:!0===e||!1!==e&&e.footer,[`${o}-card--action-segmented`]:!0===e||!1!==e&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},dE(s.cover,(e=>{const t=this.cover?iE([this.cover()]):e;return t&&Jr("div",{class:`${o}-card-cover`,role:"none"},t)})),dE(s.header,(e=>{const{title:t}=this,n=t?iE("function"==typeof t?[t()]:[t]):e;return n||this.closable?Jr("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle,role:"heading"},Jr("div",{class:`${o}-card-header__main`,role:"heading"},n),dE(s["header-extra"],(e=>{const t=this.headerExtra?iE([this.headerExtra()]):e;return t&&Jr("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},t)})),this.closable&&Jr(DV,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0})):null})),dE(s.default,(e=>{const{content:t}=this,n=t?iE("function"==typeof t?[t()]:[t]):e;return n&&Jr("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},n)})),dE(s.footer,(e=>{const t=this.footer?iE([this.footer()]):e;return t&&Jr("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},t)})),dE(s.action,(e=>{const t=this.action?iE([this.action()]):e;return t&&Jr("div",{class:`${o}-card__action`,role:"none"},t)})))}});function cQ(){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}}const uQ={name:"Carousel",common:Eq,self:cQ},hQ={name:"Carousel",common:KU,self:cQ},pQ={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"};function fQ(e){const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:a,textColorDisabled:i,borderColor:l,primaryColor:s,textColor2:d,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,borderRadiusSmall:p,lineHeight:f}=e;return Object.assign(Object.assign({},pQ),{labelLineHeight:f,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,borderRadius:p,color:t,colorChecked:s,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:a,checkMarkColor:t,checkMarkColorDisabled:i,checkMarkColorDisabledChecked:i,border:`1px solid ${l}`,borderDisabled:`1px solid ${l}`,borderDisabledChecked:`1px solid ${l}`,borderChecked:`1px solid ${s}`,borderFocus:`1px solid ${s}`,boxShadowFocus:`0 0 0 2px ${DO(s,{alpha:.3})}`,textColor:d,textColorDisabled:i})}const mQ={name:"Checkbox",common:Eq,self:fQ},vQ={name:"Checkbox",common:KU,self(e){const{cardColor:t}=e,n=fQ(e);return n.color="#0000",n.checkMarkColor=t,n}};function gQ(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:a,primaryColor:i,textColorDisabled:l,dividerColor:s,hoverColor:d,fontSizeMedium:c,heightMedium:u}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:a,optionHeight:u,optionFontSize:c,optionColorHover:d,optionTextColor:r,optionTextColorActive:i,optionTextColorDisabled:l,optionCheckMarkColor:i,loadingColor:i,columnWidth:"180px"}}const bQ={name:"Cascader",common:Eq,peers:{InternalSelectMenu:kK,InternalSelection:sY,Scrollbar:Nq,Checkbox:mQ,Empty:yK},self:gQ},yQ={name:"Cascader",common:KU,peers:{InternalSelectMenu:PK,InternalSelection:lY,Scrollbar:Hq,Checkbox:vQ,Empty:yK},self:gQ},_Q="n-checkbox-group",xQ=$n({name:"CheckboxGroup",props:{min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},setup(e){const{mergedClsPrefixRef:t}=fE(e),n=bE(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,a=vt(e.defaultValue),i=xD(Qr((()=>e.value)),a),l=Qr((()=>{var e;return(null===(e=i.value)||void 0===e?void 0:e.length)||0})),s=Qr((()=>Array.isArray(i.value)?new Set(i.value):new Set));return To(_Q,{checkedCountRef:l,maxRef:Ft(e,"max"),minRef:Ft(e,"min"),valueSetRef:s,disabledRef:r,mergedSizeRef:o,toggleCheckbox:function(t,o){const{nTriggerFormInput:r,nTriggerFormChange:l}=n,{onChange:s,"onUpdate:value":d,onUpdateValue:c}=e;if(Array.isArray(i.value)){const e=Array.from(i.value),n=e.findIndex((e=>e===o));t?~n||(e.push(o),c&&GB(c,e,{actionType:"check",value:o}),d&&GB(d,e,{actionType:"check",value:o}),r(),l(),a.value=e,s&&GB(s,e)):~n&&(e.splice(n,1),c&&GB(c,e,{actionType:"uncheck",value:o}),d&&GB(d,e,{actionType:"uncheck",value:o}),s&&GB(s,e),a.value=e,r(),l())}else t?(c&&GB(c,[o],{actionType:"check",value:o}),d&&GB(d,[o],{actionType:"check",value:o}),s&&GB(s,[o]),a.value=[o],r(),l()):(c&&GB(c,[],{actionType:"uncheck",value:o}),d&&GB(d,[],{actionType:"uncheck",value:o}),s&&GB(s,[]),a.value=[],r(),l())}}),{mergedClsPrefix:t}},render(){return Jr("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),CQ=BA([LA("checkbox","\n font-size: var(--n-font-size);\n outline: none;\n cursor: pointer;\n display: inline-flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n word-break: break-word;\n line-height: var(--n-size);\n --n-merged-color-table: var(--n-color-table);\n ",[NA("show-label","line-height: var(--n-label-line-height);"),BA("&:hover",[LA("checkbox-box",[jA("border","border: var(--n-border-checked);")])]),BA("&:focus:not(:active)",[LA("checkbox-box",[jA("border","\n border: var(--n-border-focus);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),NA("inside-table",[LA("checkbox-box","\n background-color: var(--n-merged-color-table);\n ")]),NA("checked",[LA("checkbox-box","\n background-color: var(--n-color-checked);\n ",[LA("checkbox-icon",[BA(".check-icon","\n opacity: 1;\n transform: scale(1);\n ")])])]),NA("indeterminate",[LA("checkbox-box",[LA("checkbox-icon",[BA(".check-icon","\n opacity: 0;\n transform: scale(.5);\n "),BA(".line-icon","\n opacity: 1;\n transform: scale(1);\n ")])])]),NA("checked, indeterminate",[BA("&:focus:not(:active)",[LA("checkbox-box",[jA("border","\n border: var(--n-border-checked);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),LA("checkbox-box","\n background-color: var(--n-color-checked);\n border-left: 0;\n border-top: 0;\n ",[jA("border",{border:"var(--n-border-checked)"})])]),NA("disabled",{cursor:"not-allowed"},[NA("checked",[LA("checkbox-box","\n background-color: var(--n-color-disabled-checked);\n ",[jA("border",{border:"var(--n-border-disabled-checked)"}),LA("checkbox-icon",[BA(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),LA("checkbox-box","\n background-color: var(--n-color-disabled);\n ",[jA("border","\n border: var(--n-border-disabled);\n "),LA("checkbox-icon",[BA(".check-icon, .line-icon","\n fill: var(--n-check-mark-color-disabled);\n ")])]),jA("label","\n color: var(--n-text-color-disabled);\n ")]),LA("checkbox-box-wrapper","\n position: relative;\n width: var(--n-size);\n flex-shrink: 0;\n flex-grow: 0;\n user-select: none;\n -webkit-user-select: none;\n "),LA("checkbox-box","\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n height: var(--n-size);\n width: var(--n-size);\n display: inline-block;\n box-sizing: border-box;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n transition: background-color 0.3s var(--n-bezier);\n ",[jA("border","\n transition:\n border-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n border-radius: inherit;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border: var(--n-border);\n "),LA("checkbox-icon","\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n left: 1px;\n right: 1px;\n top: 1px;\n bottom: 1px;\n ",[BA(".check-icon, .line-icon","\n width: 100%;\n fill: var(--n-check-mark-color);\n opacity: 0;\n transform: scale(0.5);\n transform-origin: center;\n transition:\n fill 0.3s var(--n-bezier),\n transform 0.3s var(--n-bezier),\n opacity 0.3s var(--n-bezier),\n border-color 0.3s var(--n-bezier);\n "),MV({left:"1px",top:"1px"})])]),jA("label","\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n user-select: none;\n -webkit-user-select: none;\n padding: var(--n-label-padding);\n font-weight: var(--n-label-font-weight);\n ",[BA("&:empty",{display:"none"})])]),WA(LA("checkbox","\n --n-merged-color-table: var(--n-color-table-modal);\n ")),VA(LA("checkbox","\n --n-merged-color-table: var(--n-color-table-popover);\n "))]),wQ=$n({name:"Checkbox",props:Object.assign(Object.assign({},HW.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),setup(e){const t=Ro(_Q,null),n=vt(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:a}=fE(e),i=vt(e.defaultChecked),l=xD(Ft(e,"checked"),i),s=oD((()=>{if(t){const n=t.valueSetRef.value;return!(!n||void 0===e.value)&&n.has(e.value)}return l.value===e.checkedValue})),d=bE(e,{mergedSize(n){const{size:o}=e;if(void 0!==o)return o;if(t){const{value:e}=t.mergedSizeRef;if(void 0!==e)return e}if(n){const{mergedSize:e}=n;if(void 0!==e)return e.value}return"medium"},mergedDisabled(n){const{disabled:o}=e;if(void 0!==o)return o;if(t){if(t.disabledRef.value)return!0;const{maxRef:{value:e},checkedCountRef:n}=t;if(void 0!==e&&n.value>=e&&!s.value)return!0;const{minRef:{value:o}}=t;if(void 0!==o&&n.value<=o&&s.value)return!0}return!!n&&n.disabled.value}}),{mergedDisabledRef:c,mergedSizeRef:u}=d,h=HW("Checkbox","-checkbox",CQ,mQ,e,o);function p(n){if(t&&void 0!==e.value)t.toggleCheckbox(!s.value,e.value);else{const{onChange:t,"onUpdate:checked":o,onUpdateChecked:r}=e,{nTriggerFormInput:a,nTriggerFormChange:l}=d,c=s.value?e.uncheckedValue:e.checkedValue;o&&GB(o,c,n),r&&GB(r,c,n),t&&GB(t,c,n),a(),l(),i.value=c}}const f={focus:()=>{var e;null===(e=n.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=n.value)||void 0===e||e.blur()}},m=DW("Checkbox",a,o),v=Qr((()=>{const{value:e}=u,{common:{cubicBezierEaseInOut:t},self:{borderRadius:n,color:o,colorChecked:r,colorDisabled:a,colorTableHeader:i,colorTableHeaderModal:l,colorTableHeaderPopover:s,checkMarkColor:d,checkMarkColorDisabled:c,border:p,borderFocus:f,borderDisabled:m,borderChecked:v,boxShadowFocus:g,textColor:b,textColorDisabled:y,checkMarkColorDisabledChecked:_,colorDisabledChecked:x,borderDisabledChecked:C,labelPadding:w,labelLineHeight:S,labelFontWeight:k,[KA("fontSize",e)]:P,[KA("size",e)]:T}}=h.value;return{"--n-label-line-height":S,"--n-label-font-weight":k,"--n-size":T,"--n-bezier":t,"--n-border-radius":n,"--n-border":p,"--n-border-checked":v,"--n-border-focus":f,"--n-border-disabled":m,"--n-border-disabled-checked":C,"--n-box-shadow-focus":g,"--n-color":o,"--n-color-checked":r,"--n-color-table":i,"--n-color-table-modal":l,"--n-color-table-popover":s,"--n-color-disabled":a,"--n-color-disabled-checked":x,"--n-text-color":b,"--n-text-color-disabled":y,"--n-check-mark-color":d,"--n-check-mark-color-disabled":c,"--n-check-mark-color-disabled-checked":_,"--n-font-size":P,"--n-label-padding":w}})),g=r?vE("checkbox",Qr((()=>u.value[0])),v,e):void 0;return Object.assign(d,f,{rtlEnabled:m,selfRef:n,mergedClsPrefix:o,mergedDisabled:c,renderedChecked:s,mergedTheme:h,labelId:GO(),handleClick:function(e){c.value||p(e)},handleKeyUp:function(e){if(!c.value)switch(e.key){case" ":case"Enter":p(e)}},handleKeyDown:function(e){if(" "===e.key)e.preventDefault()},cssVars:r?void 0:v,themeClass:null==g?void 0:g.themeClass,onRender:null==g?void 0:g.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:a,cssVars:i,labelId:l,label:s,mergedClsPrefix:d,focusable:c,handleKeyUp:u,handleKeyDown:h,handleClick:p}=this;null===(e=this.onRender)||void 0===e||e.call(this);const f=dE(t.default,(e=>s||e?Jr("span",{class:`${d}-checkbox__label`,id:l},s||e):null));return Jr("div",{ref:"selfRef",class:[`${d}-checkbox`,this.themeClass,this.rtlEnabled&&`${d}-checkbox--rtl`,n&&`${d}-checkbox--checked`,o&&`${d}-checkbox--disabled`,r&&`${d}-checkbox--indeterminate`,a&&`${d}-checkbox--inside-table`,f&&`${d}-checkbox--show-label`],tabindex:o||!c?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":l,style:i,onKeyup:u,onKeydown:h,onClick:p,onMousedown:()=>{eD("selectstart",window,(e=>{e.preventDefault()}),{once:!0})}},Jr("div",{class:`${d}-checkbox-box-wrapper`}," ",Jr("div",{class:`${d}-checkbox-box`},Jr(UW,null,{default:()=>this.indeterminate?Jr("div",{key:"indeterminate",class:`${d}-checkbox-icon`},Jr("svg",{viewBox:"0 0 100 100",class:"line-icon"},Jr("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"}))):Jr("div",{key:"check",class:`${d}-checkbox-icon`},Jr("svg",{viewBox:"0 0 64 64",class:"check-icon"},Jr("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})))}),Jr("div",{class:`${d}-checkbox-box__border`}))),f)}}),SQ="n-cascader",kQ=$n({name:"NCascaderOption",props:{tmNode:{type:Object,required:!0}},setup(e){const{expandTriggerRef:t,remoteRef:n,multipleRef:o,mergedValueRef:r,checkedKeysRef:a,indeterminateKeysRef:i,hoverKeyPathRef:l,keyboardKeyRef:s,loadingKeySetRef:d,cascadeRef:c,mergedCheckStrategyRef:u,onLoadRef:h,mergedClsPrefixRef:p,mergedThemeRef:f,labelFieldRef:m,showCheckboxRef:v,renderPrefixRef:g,renderSuffixRef:b,updateHoverKey:y,updateKeyboardKey:_,addLoadingKey:x,deleteLoadingKey:C,closeMenu:w,doCheck:S,doUncheck:k,renderLabelRef:P}=Ro(SQ),T=Qr((()=>e.tmNode.key)),R=Qr((()=>{const{value:e}=t,{value:o}=n;return!o&&"hover"===e})),F=Qr((()=>{if(R.value)return j})),z=Qr((()=>{if(R.value)return N})),M=oD((()=>{const{value:e}=o;return e?a.value.includes(T.value):r.value===T.value})),$=oD((()=>!!o.value&&i.value.includes(T.value))),A=oD((()=>l.value.includes(T.value))),O=oD((()=>{const{value:e}=s;return null!==e&&e===T.value})),D=oD((()=>!!n.value&&d.value.has(T.value))),I=Qr((()=>e.tmNode.isLeaf)),B=Qr((()=>e.tmNode.disabled)),E=Qr((()=>e.tmNode.rawNode[m.value])),L=Qr((()=>e.tmNode.shallowLoaded));function j(){if(!R.value||B.value)return;const{value:e}=T;y(e),_(e)}function N(){R.value&&j()}function H(){const{value:e}=o,{value:t}=T;e?$.value||M.value?k(t):S(t):(S(t),w(!0))}return{checkStrategy:u,multiple:o,cascade:c,checked:M,indeterminate:$,hoverPending:A,keyboardPending:O,isLoading:D,showCheckbox:v,isLeaf:I,disabled:B,label:E,mergedClsPrefix:p,mergedTheme:f,handleClick:function(t){if(B.value)return;const{value:o}=n,{value:r}=d,{value:a}=h,{value:i}=T,{value:l}=I,{value:s}=L;QA(t,"checkbox")||(o&&!s&&!r.has(i)&&a&&(x(i),a(e.tmNode.rawNode).then((()=>{C(i)})).catch((()=>{C(i)}))),y(i),_(i)),l&&H()},handleCheckboxUpdateValue:function(){const{value:e}=I;e||H()},mergedHandleMouseEnter:F,mergedHandleMouseMove:z,renderLabel:P,renderPrefix:g,renderSuffix:b}},render(){const{mergedClsPrefix:e,showCheckbox:t,renderLabel:n,renderPrefix:o,renderSuffix:r}=this;let a=null;if(t||o){const t=this.showCheckbox?Jr(wQ,{focusable:!1,"data-checkbox":!0,disabled:this.disabled,checked:this.checked,indeterminate:this.indeterminate,theme:this.mergedTheme.peers.Checkbox,themeOverrides:this.mergedTheme.peerOverrides.Checkbox,onUpdateChecked:this.handleCheckboxUpdateValue}):null;a=Jr("div",{class:`${e}-cascader-option__prefix`},o?o({option:this.tmNode.rawNode,checked:this.checked,node:t}):t)}let i=null;const l=Jr("div",{class:`${e}-cascader-option-icon-placeholder`},this.isLeaf?"child"!==this.checkStrategy||this.multiple&&this.cascade?null:Jr(ha,{name:"fade-in-scale-up-transition"},{default:()=>this.checked?Jr(VW,{clsPrefix:e,class:`${e}-cascader-option-icon ${e}-cascader-option-icon--checkmark`},{default:()=>Jr(JW,null)}):null}):Jr(NV,{clsPrefix:e,scale:.85,strokeWidth:24,show:this.isLoading,class:`${e}-cascader-option-icon`},{default:()=>Jr(VW,{clsPrefix:e,key:"arrow",class:`${e}-cascader-option-icon ${e}-cascader-option-icon--arrow`},{default:()=>Jr(tV,null)})}));return i=Jr("div",{class:`${e}-cascader-option__suffix`},r?r({option:this.tmNode.rawNode,checked:this.checked,node:l}):l),Jr("div",{class:[`${e}-cascader-option`,this.keyboardPending||this.hoverPending&&`${e}-cascader-option--pending`,this.disabled&&`${e}-cascader-option--disabled`,this.showCheckbox&&`${e}-cascader-option--show-prefix`],onMouseenter:this.mergedHandleMouseEnter,onMousemove:this.mergedHandleMouseMove,onClick:this.handleClick},a,Jr("span",{class:`${e}-cascader-option__label`},n?n(this.tmNode.rawNode,this.checked):this.label),i)}}),PQ=$n({name:"CascaderSubmenu",props:{depth:{type:Number,required:!0},tmNodes:{type:Array,required:!0}},setup(){const{virtualScrollRef:e,mergedClsPrefixRef:t,mergedThemeRef:n,optionHeightRef:o}=Ro(SQ),r=vt(null),a=vt(null),i={scroll(t,n){var o,i;e.value?null===(o=a.value)||void 0===o||o.scrollTo({index:t}):null===(i=r.value)||void 0===i||i.scrollTo({index:t,elSize:n})}};return Object.assign({mergedClsPrefix:t,mergedTheme:n,scrollbarInstRef:r,vlInstRef:a,virtualScroll:e,itemSize:Qr((()=>tO(o.value))),handleVlScroll:()=>{var e;null===(e=r.value)||void 0===e||e.sync()},getVlContainer:()=>{var e;return null===(e=a.value)||void 0===e?void 0:e.listElRef},getVlContent:()=>{var e;return null===(e=a.value)||void 0===e?void 0:e.itemsElRef}},i)},render(){const{mergedClsPrefix:e,mergedTheme:t,virtualScroll:n}=this;return Jr("div",{class:[n&&`${e}-cascader-submenu--virtual`,`${e}-cascader-submenu`]},Jr(Vq,{ref:"scrollbarInstRef",theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar,container:n?this.getVlContainer:void 0,content:n?this.getVlContent:void 0},{default:()=>n?Jr(kB,{items:this.tmNodes,itemSize:this.itemSize,onScroll:this.handleVlScroll,showScrollbar:!1,ref:"vlInstRef"},{default:({item:e})=>Jr(kQ,{key:e.key,tmNode:e})}):this.tmNodes.map((e=>Jr(kQ,{key:e.key,tmNode:e})))}))}}),TQ=$n({name:"NCascaderMenu",props:{value:[String,Number,Array],placement:{type:String,default:"bottom-start"},show:Boolean,menuModel:{type:Array,required:!0},loading:Boolean,onFocus:{type:Function,required:!0},onBlur:{type:Function,required:!0},onKeydown:{type:Function,required:!0},onMousedown:{type:Function,required:!0},onTabout:{type:Function,required:!0}},setup(e){const{localeRef:t,isMountedRef:n,mergedClsPrefixRef:o,syncCascaderMenuPosition:r,handleCascaderMenuClickOutside:a,mergedThemeRef:i,getColumnStyleRef:l}=Ro(SQ),s=[],d=vt(null),c=vt(null);DB(c,(function(){r()}));const u={scroll(e,t,n){const o=s[e];o&&o.scroll(t,n)},showErrorMessage:function(e){var n;const{value:{loadingRequiredMessage:o}}=t;null===(n=d.value)||void 0===n||n.showOnce(o(e))}};return Object.assign({isMounted:n,mergedClsPrefix:o,selfElRef:c,submenuInstRefs:s,maskInstRef:d,mergedTheme:i,getColumnStyle:l,handleFocusin:function(t){const{value:n}=c;n&&(n.contains(t.relatedTarget)||e.onFocus(t))},handleFocusout:function(t){const{value:n}=c;n&&(n.contains(t.relatedTarget)||e.onBlur(t))},handleClickOutside:function(e){a(e)}},u)},render(){const{submenuInstRefs:e,mergedClsPrefix:t,mergedTheme:n}=this;return Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.show?on(Jr("div",{tabindex:"0",ref:"selfElRef",class:`${t}-cascader-menu`,onMousedown:this.onMousedown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeydown:this.onKeydown},this.menuModel[0].length?Jr("div",{class:`${t}-cascader-submenu-wrapper`},this.menuModel.map(((t,n)=>{var o;return Jr(PQ,{style:null===(o=this.getColumnStyle)||void 0===o?void 0:o.call(this,{level:n}),ref:t=>{t&&(e[n]=t)},key:n,tmNodes:t,depth:n+1})})),Jr(UV,{clsPrefix:t,ref:"maskInstRef"})):Jr("div",{class:`${t}-cascader-menu__empty`},lE(this.$slots.empty,(()=>[Jr(CK,{theme:n.peers.Empty,themeOverrides:n.peerOverrides.Empty})]))),dE(this.$slots.action,(e=>e&&Jr("div",{class:`${t}-cascader-menu-action`,"data-action":!0},e))),Jr(BV,{onFocus:this.onTabout})),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})}});function RQ(e){return e?e.map((e=>e.rawNode)):null}function FQ(e,t,n){const o=[];for(;e;)o.push(e.rawNode[n]),e=e.parent;return o.reverse().join(t)}const zQ=$n({name:"NCascaderSelectMenu",props:{value:{type:[String,Number,Array],default:null},show:Boolean,pattern:{type:String,default:""},multiple:Boolean,tmNodes:{type:Array,default:()=>[]},filter:Function,labelField:{type:String,required:!0},separator:{type:String,required:!0}},setup(e){const{isMountedRef:t,mergedValueRef:n,mergedClsPrefixRef:o,mergedThemeRef:r,mergedCheckStrategyRef:a,slots:i,syncSelectMenuPosition:l,closeMenu:s,handleSelectMenuClickOutside:d,doUncheck:c,doCheck:u,clearPattern:h}=Ro(SQ),p=vt(null),f=Qr((()=>function(e,t,n,o){const r=[],a=[];return function e(i){for(const l of i){if(l.disabled)continue;const{rawNode:i}=l;a.push(i),!l.isLeaf&&t||r.push({label:FQ(l,o,n),value:l.key,rawNode:l.rawNode,path:Array.from(a)}),!l.isLeaf&&l.children&&e(l.children),a.pop()}}(e),r}(e.tmNodes,"child"===a.value,e.labelField,e.separator))),m=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n}=e;return(e,t,o)=>o.some((t=>t[n]&&~t[n].toLowerCase().indexOf(e.toLowerCase())))})),v=Qr((()=>{const{pattern:t}=e,{value:n}=m;return(t?f.value.filter((e=>n(t,e.rawNode,e.path))):f.value).map((e=>({value:e.value,label:e.label})))})),g=Qr((()=>vK(v.value,WY("value","children"))));function b(t){if(e.multiple){const{value:e}=n;Array.isArray(e)?e.includes(t.key)?c(t.key):u(t.key):null===e&&u(t.key),h()}else u(t.key),s(!0)}const y={prev:function(){var e;null===(e=p.value)||void 0===e||e.prev()},next:function(){var e;null===(e=p.value)||void 0===e||e.next()},enter:function(){var e;if(p){const t=null===(e=p.value)||void 0===e?void 0:e.getPendingTmNode();return t&&b(t),!0}return!1}};return Object.assign({isMounted:t,mergedTheme:r,mergedClsPrefix:o,menuInstRef:p,selectTreeMate:g,handleResize:function(){l()},handleToggle:function(e){b(e)},handleClickOutside:function(e){d(e)},cascaderSlots:i},y)},render(){const{mergedClsPrefix:e,isMounted:t,mergedTheme:n,cascaderSlots:o}=this;return Jr(ha,{name:"fade-in-scale-up-transition",appear:t},{default:()=>this.show?on(Jr(AK,{ref:"menuInstRef",onResize:this.handleResize,clsPrefix:e,class:`${e}-cascader-menu`,autoPending:!0,themeOverrides:n.peerOverrides.InternalSelectMenu,theme:n.peers.InternalSelectMenu,treeMate:this.selectTreeMate,multiple:this.multiple,value:this.value,onToggle:this.handleToggle},{empty:()=>lE(o["not-found"],(()=>[]))}),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})}}),MQ=BA([LA("cascader-menu","\n outline: none;\n position: relative;\n margin: 4px 0;\n display: flex;\n flex-flow: column nowrap;\n border-radius: var(--n-menu-border-radius);\n overflow: hidden;\n box-shadow: var(--n-menu-box-shadow);\n color: var(--n-option-text-color);\n background-color: var(--n-menu-color);\n ",[MK({transformOrigin:"inherit",duration:"0.2s"}),jA("empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),LA("scrollbar","\n width: 100%;\n "),LA("base-menu-mask","\n background-color: var(--n-menu-mask-color);\n "),LA("base-loading","\n color: var(--n-loading-color);\n "),LA("cascader-submenu-wrapper","\n position: relative;\n display: flex;\n flex-wrap: nowrap;\n "),LA("cascader-submenu","\n height: var(--n-menu-height);\n min-width: var(--n-column-width);\n position: relative;\n ",[NA("virtual","\n width: var(--n-column-width);\n "),LA("scrollbar-content","\n position: relative;\n "),BA("&:first-child","\n border-top-left-radius: var(--n-menu-border-radius);\n border-bottom-left-radius: var(--n-menu-border-radius);\n "),BA("&:last-child","\n border-top-right-radius: var(--n-menu-border-radius);\n border-bottom-right-radius: var(--n-menu-border-radius);\n "),BA("&:not(:first-child)","\n border-left: 1px solid var(--n-menu-divider-color);\n ")]),LA("cascader-menu-action","\n box-sizing: border-box;\n padding: 8px;\n border-top: 1px solid var(--n-menu-divider-color);\n "),LA("cascader-option","\n height: var(--n-option-height);\n line-height: var(--n-option-height);\n font-size: var(--n-option-font-size);\n padding: 0 0 0 18px;\n box-sizing: border-box;\n min-width: 182px;\n background-color: #0000;\n display: flex;\n align-items: center;\n white-space: nowrap;\n position: relative;\n cursor: pointer;\n transition:\n background-color .2s var(--n-bezier),\n color 0.2s var(--n-bezier);\n ",[NA("show-prefix","\n padding-left: 0;\n "),jA("label","\n flex: 1 0 0;\n overflow: hidden;\n text-overflow: ellipsis;\n "),jA("prefix","\n min-width: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n "),jA("suffix","\n min-width: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n "),LA("cascader-option-icon-placeholder","\n line-height: 0;\n position: relative;\n width: 16px;\n height: 16px;\n font-size: 16px;\n ",[LA("cascader-option-icon",[NA("checkmark","\n color: var(--n-option-check-mark-color);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})]),NA("arrow","\n color: var(--n-option-arrow-color);\n ")])]),NA("selected","\n color: var(--n-option-text-color-active);\n "),NA("active","\n color: var(--n-option-text-color-active);\n background-color: var(--n-option-color-hover);\n "),NA("pending","\n background-color: var(--n-option-color-hover);\n "),BA("&:hover","\n background-color: var(--n-option-color-hover);\n "),NA("disabled","\n color: var(--n-option-text-color-disabled);\n background-color: #0000;\n cursor: not-allowed;\n ",[LA("cascader-option-icon",[NA("arrow","\n color: var(--n-option-text-color-disabled);\n ")])])])]),LA("cascader","\n z-index: auto;\n position: relative;\n width: 100%;\n ")]),$Q=$n({name:"Cascader",props:Object.assign(Object.assign({},HW.props),{allowCheckingNotLoaded:Boolean,to:ID.propTo,bordered:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},value:[String,Number,Array],defaultValue:{type:[String,Number,Array],default:null},placeholder:String,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},disabledField:{type:String,default:"disabled"},expandTrigger:{type:String,default:"click"},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},remote:Boolean,onLoad:Function,separator:{type:String,default:" / "},filter:Function,placement:{type:String,default:"bottom-start"},cascade:{type:Boolean,default:!0},leafOnly:Boolean,showPath:{type:Boolean,default:!0},show:{type:Boolean,default:void 0},maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,menuProps:Object,filterMenuProps:Object,virtualScroll:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},valueField:{type:String,default:"value"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},renderLabel:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onBlur:Function,onFocus:Function,getColumnStyle:Function,renderPrefix:Function,renderSuffix:Function,onChange:[Function,Array]}),slots:Object,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,namespaceRef:r,inlineThemeDisabled:a}=fE(e),i=HW("Cascader","-cascader",MQ,bQ,e,o),{localeRef:l}=AW("Cascader"),s=vt(e.defaultValue),d=xD(Qr((()=>e.value)),s),c=Qr((()=>e.leafOnly?"child":e.checkStrategy)),u=vt(""),h=bE(e),{mergedSizeRef:p,mergedDisabledRef:f,mergedStatusRef:m}=h,v=vt(null),g=vt(null),b=vt(null),y=vt(null),_=vt(null),x=vt(new Set),C=vt(null),w=vt(null),S=ID(e),k=vt(!1),P=e=>{x.value.add(e)},T=e=>{x.value.delete(e)},R=Qr((()=>{const{valueField:t,childrenField:n,disabledField:o}=e;return vK(e.options,{getDisabled:e=>e[o],getKey:e=>e[t],getChildren:e=>e[n]})})),F=Qr((()=>{const{cascade:t,multiple:n}=e;return n&&Array.isArray(d.value)?R.value.getCheckedKeys(d.value,{cascade:t,allowNotLoaded:e.allowCheckingNotLoaded}):{checkedKeys:[],indeterminateKeys:[]}})),z=Qr((()=>F.value.checkedKeys)),M=Qr((()=>F.value.indeterminateKeys)),$=Qr((()=>{const{treeNodePath:e,treeNode:t}=R.value.getPath(_.value);let n;return null===t?n=[R.value.treeNodes]:(n=e.map((e=>e.siblings)),t.isLeaf||x.value.has(t.key)||!t.children||n.push(t.children)),n})),A=Qr((()=>{const{keyPath:e}=R.value.getPath(_.value);return e})),O=Qr((()=>i.value.self.optionHeight));lt(e.options)&&er(e.options,((e,t)=>{e!==t&&(_.value=null,y.value=null)}));const D=vt(!1);function I(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),D.value=t}function B(t,n,o){const{onUpdateValue:r,"onUpdate:value":a,onChange:i}=e,{nTriggerFormInput:l,nTriggerFormChange:d}=h;r&&GB(r,t,n,o),a&&GB(a,t,n,o),i&&GB(i,t,n,o),s.value=t,l(),d()}function E(e){y.value=e}function L(e){_.value=e}function j(e){const{value:{getNode:t}}=R;return e.map((e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.rawNode)||null}))}function N(t){var n;const{cascade:o,multiple:r,filterable:a}=e,{value:{check:i,getNode:l,getPath:s}}=R;if(r)try{const{checkedKeys:n}=i(t,F.value.checkedKeys,{cascade:o,checkStrategy:c.value,allowNotLoaded:e.allowCheckingNotLoaded});B(n,j(n),n.map((e=>{var t;return RQ(null===(t=s(e))||void 0===t?void 0:t.treeNodePath)}))),a&&X(),y.value=t,_.value=t}catch(d){if(!(d instanceof aK))throw d;if(v.value){const n=l(t);null!==n&&v.value.showErrorMessage(n.rawNode[e.labelField])}}else if("child"===c.value){const e=l(t);if(!(null==e?void 0:e.isLeaf))return!1;B(t,e.rawNode,RQ(s(t).treeNodePath))}else{const e=l(t);B(t,(null==e?void 0:e.rawNode)||null,RQ(null===(n=s(t))||void 0===n?void 0:n.treeNodePath))}return!0}function H(t){const{cascade:n,multiple:o}=e;if(o){const{value:{uncheck:o,getNode:r,getPath:a}}=R,{checkedKeys:i}=o(t,F.value.checkedKeys,{cascade:n,checkStrategy:c.value,allowNotLoaded:e.allowCheckingNotLoaded});B(i,i.map((e=>{var t;return(null===(t=r(e))||void 0===t?void 0:t.rawNode)||null})),i.map((e=>{var t;return RQ(null===(t=a(e))||void 0===t?void 0:t.treeNodePath)}))),y.value=t,_.value=t}}const W=Qr((()=>{if(e.multiple){const{showPath:t,separator:n,labelField:o,cascade:r}=e,{getCheckedKeys:a,getNode:i}=R.value;return a(z.value,{cascade:r,checkStrategy:c.value,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys.map((e=>{const r=i(e);return null===r?{label:String(e),value:e}:{label:t?FQ(r,n,o):r.rawNode[o],value:r.key}}))}return[]})),V=Qr((()=>{const{multiple:t,showPath:n,separator:o,labelField:r}=e,{value:a}=d;if(t||Array.isArray(a))return null;{const{getNode:e}=R.value;if(null===a)return null;const t=e(a);return null===t?{label:String(a),value:a}:{label:n?FQ(t,o,r):t.rawNode[r],value:t.key}}})),U=xD(Ft(e,"show"),D),q=Qr((()=>{const{placeholder:t}=e;return void 0!==t?t:l.value.placeholder})),K=Qr((()=>!(!e.filterable||!u.value)));function Y(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=h;n&&GB(n,t),o()}function G(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=h;n&&GB(n,t),o()}function X(){var e;null===(e=b.value)||void 0===e||e.focusInput()}function Z(){f.value||(u.value="",I(!0),e.filterable&&X())}function Q(e=!1){e&&function(){var e;null===(e=b.value)||void 0===e||e.focus()}(),I(!1),u.value=""}function J(e){var t;K.value||U.value&&((null===(t=b.value)||void 0===t?void 0:t.$el.contains(JA(e)))||Q())}function ee(){e.clearFilterAfterSelect&&(u.value="")}function te(t){var n,o,r;const{value:a}=y,{value:i}=R;switch(t){case"prev":if(null!==a){const e=i.getPrev(a,{loop:!0});null!==e&&(E(e.key),null===(n=v.value)||void 0===n||n.scroll(e.level,e.index,tO(O.value)))}break;case"next":if(null===a){const e=i.getFirstAvailableNode();null!==e&&(E(e.key),null===(o=v.value)||void 0===o||o.scroll(e.level,e.index,tO(O.value)))}else{const e=i.getNext(a,{loop:!0});null!==e&&(E(e.key),null===(r=v.value)||void 0===r||r.scroll(e.level,e.index,tO(O.value)))}break;case"child":if(null!==a){const t=i.getNode(a);if(null!==t)if(t.shallowLoaded){const e=i.getChild(a);null!==e&&(L(a),E(e.key))}else{const{value:n}=x;if(!n.has(a)){P(a),L(a);const{onLoad:n}=e;n&&n(t.rawNode).then((()=>{T(a)})).catch((()=>{T(a)}))}}}break;case"parent":if(null!==a){const e=i.getParent(a);if(null!==e){E(e.key);const t=e.getParent();L(null===t?null:t.key)}}}}function ne(t){var n,o;switch(t.key){case" ":case"ArrowDown":case"ArrowUp":if(e.filterable&&U.value)break;t.preventDefault()}if(!QA(t,"action"))switch(t.key){case" ":if(e.filterable)return;case"Enter":if(U.value){const{value:t}=K,{value:n}=y;if(t){if(g.value){g.value.enter()&&ee()}}else if(null!==n)if(z.value.includes(n)||M.value.includes(n))H(n);else{const t=N(n);!e.multiple&&t&&Q(!0)}}else Z();break;case"ArrowUp":t.preventDefault(),U.value&&(K.value?null===(n=g.value)||void 0===n||n.prev():te("prev"));break;case"ArrowDown":t.preventDefault(),U.value?K.value?null===(o=g.value)||void 0===o||o.next():te("next"):Z();break;case"ArrowLeft":t.preventDefault(),U.value&&!K.value&&te("parent");break;case"ArrowRight":t.preventDefault(),U.value&&!K.value&&te("child");break;case"Escape":U.value&&(VB(t),Q(!0))}}function oe(){var e;null===(e=C.value)||void 0===e||e.syncPosition()}function re(){var e;null===(e=w.value)||void 0===e||e.syncPosition()}er(U,(t=>{if(!t)return;if(e.multiple)return;const{value:n}=d;Array.isArray(n)||null===n?(y.value=null,_.value=null):(y.value=n,_.value=n,Kt((()=>{var e;if(!U.value)return;const{value:t}=_;if(null!==d.value){const n=R.value.getNode(t);n&&(null===(e=v.value)||void 0===e||e.scroll(n.level,n.index,tO(O.value)))}})))}),{immediate:!0});const ae=Qr((()=>!(!e.multiple||!e.cascade)||"child"!==c.value));To(SQ,{slots:t,mergedClsPrefixRef:o,mergedThemeRef:i,mergedValueRef:d,checkedKeysRef:z,indeterminateKeysRef:M,hoverKeyPathRef:A,mergedCheckStrategyRef:c,showCheckboxRef:ae,cascadeRef:Ft(e,"cascade"),multipleRef:Ft(e,"multiple"),keyboardKeyRef:y,hoverKeyRef:_,remoteRef:Ft(e,"remote"),loadingKeySetRef:x,expandTriggerRef:Ft(e,"expandTrigger"),isMountedRef:CD(),onLoadRef:Ft(e,"onLoad"),virtualScrollRef:Ft(e,"virtualScroll"),optionHeightRef:O,localeRef:l,labelFieldRef:Ft(e,"labelField"),renderLabelRef:Ft(e,"renderLabel"),getColumnStyleRef:Ft(e,"getColumnStyle"),renderPrefixRef:Ft(e,"renderPrefix"),renderSuffixRef:Ft(e,"renderSuffix"),syncCascaderMenuPosition:re,syncSelectMenuPosition:oe,updateKeyboardKey:E,updateHoverKey:L,addLoadingKey:P,deleteLoadingKey:T,doCheck:N,doUncheck:H,closeMenu:Q,handleSelectMenuClickOutside:function(e){K.value&&J(e)},handleCascaderMenuClickOutside:J,clearPattern:ee});const ie={focus:()=>{var e;null===(e=b.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=b.value)||void 0===e||e.blur()},getCheckedData:()=>{if(ae.value){const e=z.value;return{keys:e,options:j(e)}}return{keys:[],options:[]}},getIndeterminateData:()=>{if(ae.value){const e=M.value;return{keys:e,options:j(e)}}return{keys:[],options:[]}}},le=Qr((()=>{const{self:{optionArrowColor:e,optionTextColor:t,optionTextColorActive:n,optionTextColorDisabled:o,optionCheckMarkColor:r,menuColor:a,menuBoxShadow:l,menuDividerColor:s,menuBorderRadius:d,menuHeight:c,optionColorHover:u,optionHeight:h,optionFontSize:p,loadingColor:f,columnWidth:m},common:{cubicBezierEaseInOut:v}}=i.value;return{"--n-bezier":v,"--n-menu-border-radius":d,"--n-menu-box-shadow":l,"--n-menu-height":c,"--n-column-width":m,"--n-menu-color":a,"--n-menu-divider-color":s,"--n-option-height":h,"--n-option-font-size":p,"--n-option-text-color":t,"--n-option-text-color-disabled":o,"--n-option-text-color-active":n,"--n-option-color-hover":u,"--n-option-check-mark-color":r,"--n-option-arrow-color":e,"--n-menu-mask-color":DO(a,{alpha:.75}),"--n-loading-color":f}})),se=a?vE("cascader",void 0,le,e):void 0;return Object.assign(Object.assign({},ie),{handleTriggerResize:function(){U.value&&(K.value?oe():re())},mergedStatus:m,selectMenuFollowerRef:C,cascaderMenuFollowerRef:w,triggerInstRef:b,selectMenuInstRef:g,cascaderMenuInstRef:v,mergedBordered:n,mergedClsPrefix:o,namespace:r,mergedValue:d,mergedShow:U,showSelectMenu:K,pattern:u,treeMate:R,mergedSize:p,mergedDisabled:f,localizedPlaceholder:q,selectedOption:V,selectedOptions:W,adjustedTo:S,menuModel:$,handleMenuTabout:function(){Q(!0)},handleMenuFocus:function(e){var t;(null===(t=b.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!0,G(e))},handleMenuBlur:function(e){var t;(null===(t=b.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!1,Y(e))},handleMenuKeydown:function(e){ne(e)},handleMenuMousedown:function(t){QA(t,"action")||e.multiple&&e.filter&&(t.preventDefault(),X())},handleTriggerFocus:function(e){var t;(null===(t=v.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!0,G(e))},handleTriggerBlur:function(e){var t;(null===(t=v.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!1,Y(e),Q())},handleTriggerClick:function(){e.filterable?Z():U.value?Q(!0):Z()},handleClear:function(t){t.stopPropagation(),e.multiple?B([],[],[]):B(null,null,null)},handleDeleteOption:function(t){const{multiple:n}=e,{value:o}=d;n&&Array.isArray(o)&&void 0!==t.value?H(t.value):B(null,null,null)},handlePatternInput:function(e){u.value=e.target.value},handleKeydown:ne,focused:k,optionHeight:O,mergedTheme:i,cssVars:a?void 0:le,themeClass:null==se?void 0:se.themeClass,onRender:null==se?void 0:se.onRender})},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:`${e}-cascader`},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(cY,{onResize:this.handleTriggerResize,ref:"triggerInstRef",status:this.mergedStatus,clsPrefix:e,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,active:this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,focused:this.focused,onFocus:this.handleTriggerFocus,onBlur:this.handleTriggerBlur,onClick:this.handleTriggerClick,onClear:this.handleClear,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onKeydown:this.handleKeydown},{arrow:()=>{var e,t;return null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)}})}),Jr(FI,{key:"cascaderMenu",ref:"cascaderMenuFollowerRef",show:this.mergedShow&&!this.showSelectMenu,containerClass:this.namespace,placement:this.placement,width:this.options.length?void 0:"target",teleportDisabled:this.adjustedTo===ID.tdkey,to:this.adjustedTo},{default:()=>{var e;null===(e=this.onRender)||void 0===e||e.call(this);const{menuProps:t}=this;return Jr(TQ,Object.assign({},t,{ref:"cascaderMenuInstRef",class:[this.themeClass,null==t?void 0:t.class],value:this.mergedValue,show:this.mergedShow&&!this.showSelectMenu,menuModel:this.menuModel,style:[this.cssVars,null==t?void 0:t.style],onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onMousedown:this.handleMenuMousedown,onTabout:this.handleMenuTabout}),{action:()=>{var e,t;return null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e)},empty:()=>{var e,t;return null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)}})}}),Jr(FI,{key:"selectMenu",ref:"selectMenuFollowerRef",show:this.mergedShow&&this.showSelectMenu,containerClass:this.namespace,width:"target",placement:this.placement,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey},{default:()=>{var e;null===(e=this.onRender)||void 0===e||e.call(this);const{filterMenuProps:t}=this;return Jr(zQ,Object.assign({},t,{ref:"selectMenuInstRef",class:[this.themeClass,null==t?void 0:t.class],value:this.mergedValue,show:this.mergedShow&&this.showSelectMenu,pattern:this.pattern,multiple:this.multiple,tmNodes:this.treeMate.treeNodes,filter:this.filter,labelField:this.labelField,separator:this.separator,style:[this.cssVars,null==t?void 0:t.style]}))}})]}))}}),AQ={name:"Code",common:KU,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}};const OQ={name:"Code",common:Eq,self:function(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:r}}};function DQ(e){const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:a,fontSize:i}=e;return{titleFontSize:i,titleFontWeight:t,dividerColor:a,titleTextColor:n,titleTextColorDisabled:r,fontSize:i,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}}const IQ={name:"Collapse",common:Eq,self:DQ},BQ={name:"Collapse",common:KU,self:DQ};function EQ(e){const{cubicBezierEaseInOut:t}=e;return{bezier:t}}const LQ={name:"CollapseTransition",common:Eq,self:EQ},jQ={name:"CollapseTransition",common:KU,self:EQ};function NQ(e){const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:a,borderColor:i,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,dividerColor:p}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:a,border:`1px solid ${i}`,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,dividerColor:p}}const HQ={name:"ColorPicker",common:Eq,peers:{Input:zY,Button:xG},self:NQ},WQ={name:"ColorPicker",common:KU,peers:{Input:FY,Button:CG},self:NQ};function VQ(e){return null===e?null:/^ *#/.test(e)?"hex":e.includes("rgb")?"rgb":e.includes("hsl")?"hsl":e.includes("hsv")?"hsv":null}const UQ={rgb:{hex:e=>KO(MO(e)),hsl(e){const[t,n,o,r]=MO(e);return qO([...cO(t,n,o),r])},hsv(e){const[t,n,o,r]=MO(e);return VO([...dO(t,n,o),r])}},hex:{rgb:e=>HO(MO(e)),hsl(e){const[t,n,o,r]=MO(e);return qO([...cO(t,n,o),r])},hsv(e){const[t,n,o,r]=MO(e);return VO([...dO(t,n,o),r])}},hsl:{hex(e){const[t,n,o,r]=FO(e);return KO([...uO(t,n,o),r])},rgb(e){const[t,n,o,r]=FO(e);return HO([...uO(t,n,o),r])},hsv(e){const[t,n,o,r]=FO(e);return VO([...iO(t,n,o),r])}},hsv:{hex(e){const[t,n,o,r]=zO(e);return KO([...sO(t,n,o),r])},rgb(e){const[t,n,o,r]=zO(e);return HO([...sO(t,n,o),r])},hsl(e){const[t,n,o,r]=zO(e);return qO([...lO(t,n,o),r])}}};function qQ(e,t,n){if(!(n=n||VQ(e)))return null;if(n===t)return e;return UQ[n][t](e)}const KQ="12px",YQ="6px",GQ=$n({name:"AlphaSlider",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},alpha:{type:Number,default:0},onUpdateAlpha:{type:Function,required:!0},onComplete:Function},setup(e){const t=vt(null);function n(n){const{value:o}=t;if(!o)return;const{width:r,left:a}=o.getBoundingClientRect(),i=(n.clientX-a)/(r-12);var l;e.onUpdateAlpha((l=i,(l=Math.round(100*l)/100)>1?1:l<0?0:l))}function o(){var t;tD("mousemove",document,n),tD("mouseup",document,o),null===(t=e.onComplete)||void 0===t||t.call(e)}return{railRef:t,railBackgroundImage:Qr((()=>{const{rgba:t}=e;return t?`linear-gradient(to right, rgba(${t[0]}, ${t[1]}, ${t[2]}, 0) 0%, rgba(${t[0]}, ${t[1]}, ${t[2]}, 1) 100%)`:""})),handleMouseDown:function(r){t.value&&e.rgba&&(eD("mousemove",document,n),eD("mouseup",document,o),n(r))}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-slider`,ref:"railRef",style:{height:KQ,borderRadius:YQ},onMousedown:this.handleMouseDown},Jr("div",{style:{borderRadius:YQ,position:"absolute",left:0,right:0,top:0,bottom:0,overflow:"hidden"}},Jr("div",{class:`${e}-color-picker-checkboard`}),Jr("div",{class:`${e}-color-picker-slider__image`,style:{backgroundImage:this.railBackgroundImage}})),this.rgba&&Jr("div",{style:{position:"absolute",left:YQ,right:YQ,top:0,bottom:0}},Jr("div",{class:`${e}-color-picker-handle`,style:{left:`calc(${100*this.alpha}% - ${YQ})`,borderRadius:YQ,width:KQ,height:KQ}},Jr("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:HO(this.rgba),borderRadius:YQ,width:KQ,height:KQ}}))))}}),XQ="n-color-picker";const ZQ={paddingSmall:"0 4px"},QQ=$n({name:"ColorInputUnit",props:{label:{type:String,required:!0},value:{type:[Number,String],default:null},showAlpha:Boolean,onUpdateValue:{type:Function,required:!0}},setup(e){const t=vt(""),{themeRef:n}=Ro(XQ,null);function o(){const{value:t}=e;if(null===t)return"";const{label:n}=e;return"HEX"===n?t:"A"===n?`${Math.floor(100*t)}%`:String(Math.floor(t))}return Jo((()=>{t.value=o()})),{mergedTheme:n,inputValue:t,handleInputChange:function(n){let r,a;switch(e.label){case"HEX":a=function(e){const t=e.trim();return!!/^#[0-9a-fA-F]+$/.test(t)&&[4,5,7,9].includes(t.length)}(n),a&&e.onUpdateValue(n),t.value=o();break;case"H":r=function(e){return!!/^\d{1,3}\.?\d*$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e),360))}(n),!1===r?t.value=o():e.onUpdateValue(r);break;case"S":case"L":case"V":r=function(e){return!!/^\d{1,3}\.?\d*$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e),100))}(n),!1===r?t.value=o():e.onUpdateValue(r);break;case"A":r=function(e){return!!/^\d{1,3}\.?\d*%$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e)/100,100))}(n),!1===r?t.value=o():e.onUpdateValue(r);break;case"R":case"G":case"B":r=function(e){return!!/^\d{1,3}\.?\d*$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e),255))}(n),!1===r?t.value=o():e.onUpdateValue(r)}},handleInputUpdateValue:function(e){t.value=e}}},render(){const{mergedTheme:e}=this;return Jr(BY,{size:"small",placeholder:this.label,theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,builtinThemeOverrides:ZQ,value:this.inputValue,onUpdateValue:this.handleInputUpdateValue,onChange:this.handleInputChange,style:"A"===this.label?"flex-grow: 1.25;":""})}}),JQ=$n({name:"ColorInput",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},modes:{type:Array,required:!0},showAlpha:{type:Boolean,required:!0},value:{type:String,default:null},valueArr:{type:Array,default:null},onUpdateValue:{type:Function,required:!0},onUpdateMode:{type:Function,required:!0}},setup:e=>({handleUnitUpdateValue(t,n){const{showAlpha:o}=e;if("hex"===e.mode)return void e.onUpdateValue((o?KO:YO)(n));let r;switch(r=null===e.valueArr?[0,0,0,0]:Array.from(e.valueArr),e.mode){case"hsv":r[t]=n,e.onUpdateValue((o?VO:WO)(r));break;case"rgb":r[t]=n,e.onUpdateValue((o?HO:NO)(r));break;case"hsl":r[t]=n,e.onUpdateValue((o?qO:UO)(r))}}}),render(){const{clsPrefix:e,modes:t}=this;return Jr("div",{class:`${e}-color-picker-input`},Jr("div",{class:`${e}-color-picker-input__mode`,onClick:this.onUpdateMode,style:{cursor:1===t.length?"":"pointer"}},this.mode.toUpperCase()+(this.showAlpha?"A":"")),Jr(LY,null,{default:()=>{const{mode:e,valueArr:t,showAlpha:n}=this;if("hex"===e){let e=null;try{e=null===t?null:(n?KO:YO)(t)}catch(sD){}return Jr(QQ,{label:"HEX",showAlpha:n,value:e,onUpdateValue:e=>{this.handleUnitUpdateValue(0,e)}})}return(e+(n?"a":"")).split("").map(((e,n)=>Jr(QQ,{label:e.toUpperCase(),value:null===t?null:t[n],onUpdateValue:e=>{this.handleUnitUpdateValue(n,e)}})))}}))}});function eJ(e,t){if("hsv"===t){const[t,n,o,r]=zO(e);return HO([...sO(t,n,o),r])}return e}const tJ=$n({name:"ColorPickerSwatches",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},swatches:{type:Array,required:!0},onUpdateColor:{type:Function,required:!0}},setup(e){function t(t){const{mode:n}=e;let{value:o,mode:r}=t;return r||(r="hex",o=/^[a-zA-Z]+$/.test(o)?function(e){const t=document.createElement("canvas").getContext("2d");return t?(t.fillStyle=e,t.fillStyle):"#000000"}(o):"#000000"),r===n?o:qQ(o,n,r)}function n(n){e.onUpdateColor(t(n))}return{parsedSwatchesRef:Qr((()=>e.swatches.map((e=>{const t=VQ(e);return{value:e,mode:t,legalValue:eJ(e,t)}})))),handleSwatchSelect:n,handleSwatchKeyDown:function(e,t){"Enter"===e.key&&n(t)}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-swatches`},this.parsedSwatchesRef.map((t=>Jr("div",{class:`${e}-color-picker-swatch`,tabindex:0,onClick:()=>{this.handleSwatchSelect(t)},onKeydown:e=>{this.handleSwatchKeyDown(e,t)}},Jr("div",{class:`${e}-color-picker-swatch__fill`,style:{background:t.legalValue}})))))}}),nJ=$n({name:"ColorPickerTrigger",slots:Object,props:{clsPrefix:{type:String,required:!0},value:{type:String,default:null},hsla:{type:Array,default:null},disabled:Boolean,onClick:Function},setup(e){const{colorPickerSlots:t,renderLabelRef:n}=Ro(XQ,null);return()=>{const{hsla:o,value:r,clsPrefix:a,onClick:i,disabled:l}=e,s=t.label||n.value;return Jr("div",{class:[`${a}-color-picker-trigger`,l&&`${a}-color-picker-trigger--disabled`],onClick:l?void 0:i},Jr("div",{class:`${a}-color-picker-trigger__fill`},Jr("div",{class:`${a}-color-picker-checkboard`}),Jr("div",{style:{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundColor:o?qO(o):""}}),r&&o?Jr("div",{class:`${a}-color-picker-trigger__value`,style:{color:o[2]>50||o[3]<.5?"black":"white"}},s?s(r):r):null))}}}),oJ=$n({name:"ColorPreview",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},color:{type:String,default:null,validator:e=>{const t=VQ(e);return Boolean(!e||t&&"hsv"!==t)}},onUpdateColor:{type:Function,required:!0}},setup:e=>({handleChange:function(t){var n;const o=t.target.value;null===(n=e.onUpdateColor)||void 0===n||n.call(e,qQ(o.toUpperCase(),e.mode,"hex")),t.stopPropagation()}}),render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-preview__preview`},Jr("span",{class:`${e}-color-picker-preview__fill`,style:{background:this.color||"#000000"}}),Jr("input",{class:`${e}-color-picker-preview__input`,type:"color",value:this.color,onChange:this.handleChange}))}}),rJ="12px",aJ="6px",iJ=$n({name:"HueSlider",props:{clsPrefix:{type:String,required:!0},hue:{type:Number,required:!0},onUpdateHue:{type:Function,required:!0},onComplete:Function},setup(e){const t=vt(null);function n(n){const{value:o}=t;if(!o)return;const{width:r,left:a}=o.getBoundingClientRect(),i=(l=(n.clientX-a-6)/(r-12)*360,(l=Math.round(l))>=360?359:l<0?0:l);var l;e.onUpdateHue(i)}function o(){var t;tD("mousemove",document,n),tD("mouseup",document,o),null===(t=e.onComplete)||void 0===t||t.call(e)}return{railRef:t,handleMouseDown:function(e){t.value&&(eD("mousemove",document,n),eD("mouseup",document,o),n(e))}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-slider`,style:{height:rJ,borderRadius:aJ}},Jr("div",{ref:"railRef",style:{boxShadow:"inset 0 0 2px 0 rgba(0, 0, 0, .24)",boxSizing:"border-box",backgroundImage:"linear-gradient(90deg,red,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,red)",height:rJ,borderRadius:aJ,position:"relative"},onMousedown:this.handleMouseDown},Jr("div",{style:{position:"absolute",left:aJ,right:aJ,top:0,bottom:0}},Jr("div",{class:`${e}-color-picker-handle`,style:{left:`calc((${this.hue}%) / 359 * 100 - ${aJ})`,borderRadius:aJ,width:rJ,height:rJ}},Jr("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:`hsl(${this.hue}, 100%, 50%)`,borderRadius:aJ,width:rJ,height:rJ}})))))}}),lJ="12px",sJ="6px",dJ=$n({name:"Pallete",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},displayedHue:{type:Number,required:!0},displayedSv:{type:Array,required:!0},onUpdateSV:{type:Function,required:!0},onComplete:Function},setup(e){const t=vt(null);function n(n){const{value:o}=t;if(!o)return;const{width:r,height:a,left:i,bottom:l}=o.getBoundingClientRect(),s=(l-n.clientY)/a,d=(n.clientX-i)/r,c=100*(d>1?1:d<0?0:d),u=100*(s>1?1:s<0?0:s);e.onUpdateSV(c,u)}function o(){var t;tD("mousemove",document,n),tD("mouseup",document,o),null===(t=e.onComplete)||void 0===t||t.call(e)}return{palleteRef:t,handleColor:Qr((()=>{const{rgba:t}=e;return t?`rgb(${t[0]}, ${t[1]}, ${t[2]})`:""})),handleMouseDown:function(e){t.value&&(eD("mousemove",document,n),eD("mouseup",document,o),n(e))}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-pallete`,onMousedown:this.handleMouseDown,ref:"palleteRef"},Jr("div",{class:`${e}-color-picker-pallete__layer`,style:{backgroundImage:`linear-gradient(90deg, white, hsl(${this.displayedHue}, 100%, 50%))`}}),Jr("div",{class:`${e}-color-picker-pallete__layer ${e}-color-picker-pallete__layer--shadowed`,style:{backgroundImage:"linear-gradient(180deg, rgba(0, 0, 0, 0%), rgba(0, 0, 0, 100%))"}}),this.rgba&&Jr("div",{class:`${e}-color-picker-handle`,style:{width:lJ,height:lJ,borderRadius:sJ,left:`calc(${this.displayedSv[0]}% - ${sJ})`,bottom:`calc(${this.displayedSv[1]}% - ${sJ})`}},Jr("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:this.handleColor,borderRadius:sJ,width:lJ,height:lJ}})))}}),cJ=BA([LA("color-picker","\n display: inline-block;\n box-sizing: border-box;\n height: var(--n-height);\n font-size: var(--n-font-size);\n width: 100%;\n position: relative;\n "),LA("color-picker-panel","\n margin: 4px 0;\n width: 240px;\n font-size: var(--n-panel-font-size);\n color: var(--n-text-color);\n background-color: var(--n-color);\n transition:\n box-shadow .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n ",[MK(),LA("input","\n text-align: center;\n ")]),LA("color-picker-checkboard","\n background: white; \n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[BA("&::after",'\n background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);\n background-size: 12px 12px;\n background-position: 0 0, 0 6px, 6px -6px, -6px 0px;\n background-repeat: repeat;\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),LA("color-picker-slider","\n margin-bottom: 8px;\n position: relative;\n box-sizing: border-box;\n ",[jA("image","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n "),BA("&::after",'\n content: "";\n position: absolute;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);\n pointer-events: none;\n ')]),LA("color-picker-handle","\n z-index: 1;\n box-shadow: 0 0 2px 0 rgba(0, 0, 0, .45);\n position: absolute;\n background-color: white;\n overflow: hidden;\n ",[jA("fill","\n box-sizing: border-box;\n border: 2px solid white;\n ")]),LA("color-picker-pallete","\n height: 180px;\n position: relative;\n margin-bottom: 8px;\n cursor: crosshair;\n ",[jA("layer","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[NA("shadowed","\n box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);\n ")])]),LA("color-picker-preview","\n display: flex;\n ",[jA("sliders","\n flex: 1 0 auto;\n "),jA("preview","\n position: relative;\n height: 30px;\n width: 30px;\n margin: 0 0 8px 6px;\n border-radius: 50%;\n box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;\n overflow: hidden;\n "),jA("fill","\n display: block;\n width: 30px;\n height: 30px;\n "),jA("input","\n position: absolute;\n top: 0;\n left: 0;\n width: 30px;\n height: 30px;\n opacity: 0;\n z-index: 1;\n ")]),LA("color-picker-input","\n display: flex;\n align-items: center;\n ",[LA("input","\n flex-grow: 1;\n flex-basis: 0;\n "),jA("mode","\n width: 72px;\n text-align: center;\n ")]),LA("color-picker-control","\n padding: 12px;\n "),LA("color-picker-action","\n display: flex;\n margin-top: -4px;\n border-top: 1px solid var(--n-divider-color);\n padding: 8px 12px;\n justify-content: flex-end;\n ",[LA("button","margin-left: 8px;")]),LA("color-picker-trigger","\n border: var(--n-border);\n height: 100%;\n box-sizing: border-box;\n border-radius: var(--n-border-radius);\n transition: border-color .3s var(--n-bezier);\n cursor: pointer;\n ",[jA("value","\n white-space: nowrap;\n position: relative;\n "),jA("fill","\n border-radius: var(--n-border-radius);\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n left: 4px;\n right: 4px;\n top: 4px;\n bottom: 4px;\n "),NA("disabled","cursor: not-allowed"),LA("color-picker-checkboard","\n border-radius: var(--n-border-radius);\n ",[BA("&::after","\n --n-block-size: calc((var(--n-height) - 8px) / 3);\n background-size: calc(var(--n-block-size) * 2) calc(var(--n-block-size) * 2);\n background-position: 0 0, 0 var(--n-block-size), var(--n-block-size) calc(-1 * var(--n-block-size)), calc(-1 * var(--n-block-size)) 0px; \n ")])]),LA("color-picker-swatches","\n display: grid;\n grid-gap: 8px;\n flex-wrap: wrap;\n position: relative;\n grid-template-columns: repeat(auto-fill, 18px);\n margin-top: 10px;\n ",[LA("color-picker-swatch","\n width: 18px;\n height: 18px;\n background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);\n background-size: 8px 8px;\n background-position: 0px 0, 0px 4px, 4px -4px, -4px 0px;\n background-repeat: repeat;\n ",[jA("fill","\n position: relative;\n width: 100%;\n height: 100%;\n border-radius: 3px;\n box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;\n cursor: pointer;\n "),BA("&:focus","\n outline: none;\n ",[jA("fill",[BA("&::after",'\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: inherit;\n filter: blur(2px);\n content: "";\n ')])])])])]),uJ=$n({name:"ColorPicker",props:Object.assign(Object.assign({},HW.props),{value:String,show:{type:Boolean,default:void 0},defaultShow:Boolean,defaultValue:String,modes:{type:Array,default:()=>["rgb","hex","hsl"]},placement:{type:String,default:"bottom-start"},to:ID.propTo,showAlpha:{type:Boolean,default:!0},showPreview:Boolean,swatches:Array,disabled:{type:Boolean,default:void 0},actions:{type:Array,default:null},internalActions:Array,size:String,renderLabel:Function,onComplete:Function,onConfirm:Function,onClear:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),slots:Object,setup(e,{slots:t}){const n=vt(null);let o=null;const r=bE(e),{mergedSizeRef:a,mergedDisabledRef:i}=r,{localeRef:l}=AW("global"),{mergedClsPrefixRef:s,namespaceRef:d,inlineThemeDisabled:c}=fE(e),u=HW("ColorPicker","-color-picker",cJ,HQ,e,s);To(XQ,{themeRef:u,renderLabelRef:Ft(e,"renderLabel"),colorPickerSlots:t});const h=vt(e.defaultShow),p=xD(Ft(e,"show"),h);function f(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),h.value=t}const{defaultValue:m}=e,v=vt(void 0===m?function(e,t){switch(e[0]){case"hex":return t?"#000000FF":"#000000";case"rgb":return t?"rgba(0, 0, 0, 1)":"rgb(0, 0, 0)";case"hsl":return t?"hsla(0, 0%, 0%, 1)":"hsl(0, 0%, 0%)";case"hsv":return t?"hsva(0, 0%, 0%, 1)":"hsv(0, 0%, 0%)"}return"#000000"}(e.modes,e.showAlpha):m),g=xD(Ft(e,"value"),v),b=vt([g.value]),y=vt(0),_=Qr((()=>VQ(g.value))),{modes:x}=e,C=vt(VQ(g.value)||x[0]||"rgb");function w(){const{modes:t}=e,{value:n}=C,o=t.findIndex((e=>e===n));C.value=~o?t[(o+1)%t.length]:"rgb"}let S,k,P,T,R,F,z,M;const $=Qr((()=>{const{value:e}=g;if(!e)return null;switch(_.value){case"hsv":return zO(e);case"hsl":return[S,k,P,M]=FO(e),[...iO(S,k,P),M];case"rgb":case"hex":return[R,F,z,M]=MO(e),[...dO(R,F,z),M]}})),A=Qr((()=>{const{value:e}=g;if(!e)return null;switch(_.value){case"rgb":case"hex":return MO(e);case"hsv":return[S,k,T,M]=zO(e),[...sO(S,k,T),M];case"hsl":return[S,k,P,M]=FO(e),[...uO(S,k,P),M]}})),O=Qr((()=>{const{value:e}=g;if(!e)return null;switch(_.value){case"hsl":return FO(e);case"hsv":return[S,k,T,M]=zO(e),[...lO(S,k,T),M];case"rgb":case"hex":return[R,F,z,M]=MO(e),[...cO(R,F,z),M]}})),D=Qr((()=>{switch(C.value){case"rgb":case"hex":return A.value;case"hsv":return $.value;case"hsl":return O.value}})),I=vt(0),B=vt(1),E=vt([0,0]);function L(t,n){const{value:o}=$,r=I.value,a=o?o[3]:1;E.value=[t,n];const{showAlpha:i}=e;switch(C.value){case"hsv":H((i?VO:WO)([r,t,n,a]),"cursor");break;case"hsl":H((i?qO:UO)([...lO(r,t,n),a]),"cursor");break;case"rgb":H((i?HO:NO)([...sO(r,t,n),a]),"cursor");break;case"hex":H((i?KO:YO)([...sO(r,t,n),a]),"cursor")}}function j(t){I.value=t;const{value:n}=$;if(!n)return;const[,o,r,a]=n,{showAlpha:i}=e;switch(C.value){case"hsv":H((i?VO:WO)([t,o,r,a]),"cursor");break;case"rgb":H((i?HO:NO)([...sO(t,o,r),a]),"cursor");break;case"hex":H((i?KO:YO)([...sO(t,o,r),a]),"cursor");break;case"hsl":H((i?qO:UO)([...lO(t,o,r),a]),"cursor")}}function N(e){switch(C.value){case"hsv":[S,k,T]=$.value,H(VO([S,k,T,e]),"cursor");break;case"rgb":[R,F,z]=A.value,H(HO([R,F,z,e]),"cursor");break;case"hex":[R,F,z]=A.value,H(KO([R,F,z,e]),"cursor");break;case"hsl":[S,k,P]=O.value,H(qO([S,k,P,e]),"cursor")}B.value=e}function H(t,n){o="cursor"===n?t:null;const{nTriggerFormChange:a,nTriggerFormInput:i}=r,{onUpdateValue:l,"onUpdate:value":s}=e;l&&GB(l,t),s&&GB(s,t),a(),i(),v.value=t}function W(e){H(e,"input"),Kt(V)}function V(t=!0){const{value:n}=g;if(n){const{nTriggerFormChange:o,nTriggerFormInput:a}=r,{onComplete:i}=e;i&&i(n);const{value:l}=b,{value:s}=y;t&&(l.splice(s+1,l.length,n),y.value=s+1),o(),a()}}function U(){const{value:e}=y;e-1<0||(H(b.value[e-1],"input"),V(!1),y.value=e-1)}function q(){const{value:e}=y;e<0||e+1>=b.value.length||(H(b.value[e+1],"input"),V(!1),y.value=e+1)}function K(){H(null,"input");const{onClear:t}=e;t&&t(),f(!1)}function Y(){const{value:t}=g,{onConfirm:n}=e;n&&n(t),f(!1)}const G=Qr((()=>y.value>=1)),X=Qr((()=>{const{value:e}=b;return e.length>1&&y.value{e||(b.value=[g.value],y.value=0)})),Jo((()=>{if(o&&o===g.value);else{const{value:e}=$;e&&(I.value=e[0],B.value=e[3],E.value=[e[1],e[2]])}o=null}));const Z=Qr((()=>{const{value:e}=a,{common:{cubicBezierEaseInOut:t},self:{textColor:n,color:o,panelFontSize:r,boxShadow:i,border:l,borderRadius:s,dividerColor:d,[KA("height",e)]:c,[KA("fontSize",e)]:h}}=u.value;return{"--n-bezier":t,"--n-text-color":n,"--n-color":o,"--n-panel-font-size":r,"--n-font-size":h,"--n-box-shadow":i,"--n-border":l,"--n-border-radius":s,"--n-height":c,"--n-divider-color":d}})),Q=c?vE("color-picker",Qr((()=>a.value[0])),Z,e):void 0;return{mergedClsPrefix:s,namespace:d,selfRef:n,hsla:O,rgba:A,mergedShow:p,mergedDisabled:i,isMounted:CD(),adjustedTo:ID(e),mergedValue:g,handleTriggerClick(){f(!0)},handleClickOutside(e){var t;(null===(t=n.value)||void 0===t?void 0:t.contains(JA(e)))||f(!1)},renderPanel:function(){var n;const{value:o}=A,{value:r}=I,{internalActions:a,modes:i,actions:d}=e,{value:h}=u,{value:p}=s;return Jr("div",{class:[`${p}-color-picker-panel`,null==Q?void 0:Q.themeClass.value],onDragstart:e=>{e.preventDefault()},style:c?void 0:Z.value},Jr("div",{class:`${p}-color-picker-control`},Jr(dJ,{clsPrefix:p,rgba:o,displayedHue:r,displayedSv:E.value,onUpdateSV:L,onComplete:V}),Jr("div",{class:`${p}-color-picker-preview`},Jr("div",{class:`${p}-color-picker-preview__sliders`},Jr(iJ,{clsPrefix:p,hue:r,onUpdateHue:j,onComplete:V}),e.showAlpha?Jr(GQ,{clsPrefix:p,rgba:o,alpha:B.value,onUpdateAlpha:N,onComplete:V}):null),e.showPreview?Jr(oJ,{clsPrefix:p,mode:C.value,color:A.value&&YO(A.value),onUpdateColor:e=>{H(e,"input")}}):null),Jr(JQ,{clsPrefix:p,showAlpha:e.showAlpha,mode:C.value,modes:i,onUpdateMode:w,value:g.value,valueArr:D.value,onUpdateValue:W}),(null===(n=e.swatches)||void 0===n?void 0:n.length)&&Jr(tJ,{clsPrefix:p,mode:C.value,swatches:e.swatches,onUpdateColor:e=>{H(e,"input")}})),(null==d?void 0:d.length)?Jr("div",{class:`${p}-color-picker-action`},d.includes("confirm")&&Jr(SG,{size:"small",onClick:Y,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.confirm}),d.includes("clear")&&Jr(SG,{size:"small",onClick:K,disabled:!g.value,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.clear})):null,t.action?Jr("div",{class:`${p}-color-picker-action`},{default:t.action}):a?Jr("div",{class:`${p}-color-picker-action`},a.includes("undo")&&Jr(SG,{size:"small",onClick:U,disabled:!G.value,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.undo}),a.includes("redo")&&Jr(SG,{size:"small",onClick:q,disabled:!X.value,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.redo})):null)},cssVars:c?void 0:Z,themeClass:null==Q?void 0:Q.themeClass,onRender:null==Q?void 0:Q.onRender}},render(){const{mergedClsPrefix:e,onRender:t}=this;return null==t||t(),Jr("div",{class:[this.themeClass,`${e}-color-picker`],ref:"selfRef",style:this.cssVars},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(nJ,{clsPrefix:e,value:this.mergedValue,hsla:this.hsla,disabled:this.mergedDisabled,onClick:this.handleTriggerClick})}),Jr(FI,{placement:this.placement,show:this.mergedShow,containerClass:this.namespace,teleportDisabled:this.adjustedTo===ID.tdkey,to:this.adjustedTo},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.mergedShow?on(this.renderPanel(),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})})]}))}}),hJ=$n({name:"ConfigProvider",alias:["App"],props:{abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:String,locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,styleMountTarget:Object,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>!0,default:void 0}},setup(e){const t=Ro(hE,null),n=Qr((()=>{const{theme:n}=e;if(null===n)return;const o=null==t?void 0:t.mergedThemeRef.value;return void 0===n?o:void 0===o?n:Object.assign({},o,n)})),o=Qr((()=>{const{themeOverrides:n}=e;if(null!==n){if(void 0===n)return null==t?void 0:t.mergedThemeOverridesRef.value;{const e=null==t?void 0:t.mergedThemeOverridesRef.value;return void 0===e?n:$W({},e,n)}}})),r=oD((()=>{const{namespace:n}=e;return void 0===n?null==t?void 0:t.mergedNamespaceRef.value:n})),a=oD((()=>{const{bordered:n}=e;return void 0===n?null==t?void 0:t.mergedBorderedRef.value:n})),i=Qr((()=>{const{icons:n}=e;return void 0===n?null==t?void 0:t.mergedIconsRef.value:n})),l=Qr((()=>{const{componentOptions:n}=e;return void 0!==n?n:null==t?void 0:t.mergedComponentPropsRef.value})),s=Qr((()=>{const{clsPrefix:n}=e;return void 0!==n?n:t?t.mergedClsPrefixRef.value:pE})),d=Qr((()=>{var n;const{rtl:o}=e;if(void 0===o)return null==t?void 0:t.mergedRtlRef.value;const r={};for(const e of o)r[e.name]=ht(e),null===(n=e.peers)||void 0===n||n.forEach((e=>{e.name in r||(r[e.name]=ht(e))}));return r})),c=Qr((()=>e.breakpoints||(null==t?void 0:t.mergedBreakpointsRef.value))),u=e.inlineThemeDisabled||(null==t?void 0:t.inlineThemeDisabled),h=e.preflightStyleDisabled||(null==t?void 0:t.preflightStyleDisabled),p=e.styleMountTarget||(null==t?void 0:t.styleMountTarget),f=Qr((()=>{const{value:e}=n,{value:t}=o,r=t&&0!==Object.keys(t).length,a=null==e?void 0:e.name;return a?r?`${a}-${PA(JSON.stringify(o.value))}`:a:r?PA(JSON.stringify(o.value)):""}));return To(hE,{mergedThemeHashRef:f,mergedBreakpointsRef:c,mergedRtlRef:d,mergedIconsRef:i,mergedComponentPropsRef:l,mergedBorderedRef:a,mergedNamespaceRef:r,mergedClsPrefixRef:s,mergedLocaleRef:Qr((()=>{const{locale:n}=e;if(null!==n)return void 0===n?null==t?void 0:t.mergedLocaleRef.value:n})),mergedDateLocaleRef:Qr((()=>{const{dateLocale:n}=e;if(null!==n)return void 0===n?null==t?void 0:t.mergedDateLocaleRef.value:n})),mergedHljsRef:Qr((()=>{const{hljs:n}=e;return void 0===n?null==t?void 0:t.mergedHljsRef.value:n})),mergedKatexRef:Qr((()=>{const{katex:n}=e;return void 0===n?null==t?void 0:t.mergedKatexRef.value:n})),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:u||!1,preflightStyleDisabled:h||!1,styleMountTarget:p}),{mergedClsPrefix:s,mergedBordered:a,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n):Jr(this.as||this.tag,{class:`${this.mergedClsPrefix||pE}-config-provider`},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}}),pJ={name:"Popselect",common:KU,peers:{Popover:BK,InternalSelectMenu:PK}};const fJ={name:"Popselect",common:Eq,peers:{Popover:IK,InternalSelectMenu:kK},self:function(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},mJ="n-popselect",vJ=LA("popselect-menu","\n box-shadow: var(--n-menu-box-shadow);\n"),gJ={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},bJ=nE(gJ),yJ=$n({name:"PopselectPanel",props:gJ,setup(e){const t=Ro(mJ),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=fE(e),r=HW("Popselect","-pop-select",vJ,fJ,t.props,n),a=Qr((()=>vK(e.options,WY("value","children"))));function i(t,n){const{onUpdateValue:o,"onUpdate:value":r,onChange:a}=e;o&&GB(o,t,n),r&&GB(r,t,n),a&&GB(a,t,n)}er(Ft(e,"options"),(()=>{Kt((()=>{t.syncPosition()}))}));const l=Qr((()=>{const{self:{menuBoxShadow:e}}=r.value;return{"--n-menu-box-shadow":e}})),s=o?vE("select",void 0,l,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:a,handleToggle:function(n){!function(n){const{value:{getNode:o}}=a;if(e.multiple)if(Array.isArray(e.value)){const t=[],r=[];let a=!0;e.value.forEach((e=>{if(e===n)return void(a=!1);const i=o(e);i&&(t.push(i.key),r.push(i.rawNode))})),a&&(t.push(n),r.push(o(n).rawNode)),i(t,r)}else{const e=o(n);e&&i([n],[e.rawNode])}else if(e.value===n&&e.cancelable)i(null,null);else{const e=o(n);e&&i(n,e.rawNode);const{"onUpdate:show":r,onUpdateShow:a}=t.props;r&&GB(r,!1),a&&GB(a,!1),t.setShow(!1)}Kt((()=>{t.syncPosition()}))}(n.key)},handleMenuMousedown:function(e){QA(e,"action")||QA(e,"empty")||QA(e,"header")||e.preventDefault()},cssVars:o?void 0:l,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;return null===(e=this.onRender)||void 0===e||e.call(this),Jr(AK,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var e,t;return(null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e))||[]},action:()=>{var e,t;return(null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e))||[]},empty:()=>{var e,t;return(null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e))||[]}})}}),_J=$n({name:"Popselect",props:Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),rE(XK,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},XK.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),gJ),slots:Object,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=fE(e),n=HW("Popselect","-popselect",void 0,fJ,e,t),o=vt(null);function r(){var e;null===(e=o.value)||void 0===e||e.syncPosition()}function a(e){var t;null===(t=o.value)||void 0===t||t.setShow(e)}To(mJ,{props:e,mergedThemeRef:n,syncPosition:r,setShow:a});const i={syncPosition:r,setShow:a};return Object.assign(Object.assign({},i),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(e,t,n,o,r)=>{const{$attrs:a}=this;return Jr(yJ,Object.assign({},a,{class:[a.class,e],style:[a.style,...n]},tE(this.$props,bJ),{ref:ZB(t),onMouseenter:oE([o,a.onMouseenter]),onMouseleave:oE([r,a.onMouseleave])}),{header:()=>{var e,t;return null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e)},action:()=>{var e,t;return null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e)},empty:()=>{var e,t;return null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)}})}};return Jr(ZK,Object.assign({},rE(this.$props,bJ),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}})}});function xJ(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const CJ={name:"Select",common:Eq,peers:{InternalSelection:sY,InternalSelectMenu:kK},self:xJ},wJ={name:"Select",common:KU,peers:{InternalSelection:lY,InternalSelectMenu:PK},self:xJ},SJ=BA([LA("select","\n z-index: auto;\n outline: none;\n width: 100%;\n position: relative;\n font-weight: var(--n-font-weight);\n "),LA("select-menu","\n margin: 4px 0;\n box-shadow: var(--n-menu-box-shadow);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),kJ=$n({name:"Select",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,menuSize:{type:String},filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),slots:Object,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Select","-select",SJ,CJ,e,t),i=vt(e.defaultValue),l=xD(Ft(e,"value"),i),s=vt(!1),d=vt(""),c=wD(e,["items","options"]),u=vt([]),h=vt([]),p=Qr((()=>h.value.concat(u.value).concat(c.value))),f=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n,valueField:o}=e;return(e,t)=>{if(!t)return!1;const r=t[n];if("string"==typeof r)return HY(e,r);const a=t[o];return"string"==typeof a?HY(e,a):"number"==typeof a&&HY(e,String(a))}})),m=Qr((()=>{if(e.remote)return c.value;{const{value:t}=p,{value:n}=d;return n.length&&e.filterable?function(e,t,n,o){return t?function e(r){if(!Array.isArray(r))return[];const a=[];for(const i of r)if(jY(i)){const t=e(i[o]);t.length&&a.push(Object.assign({},i,{[o]:t}))}else{if(NY(i))continue;t(n,i)&&a.push(i)}return a}(e):e}(t,f.value,n,e.childrenField):t}})),v=Qr((()=>{const{valueField:t,childrenField:n}=e,o=WY(t,n);return vK(m.value,o)})),g=Qr((()=>function(e,t,n){const o=new Map;return e.forEach((e=>{jY(e)?e[n].forEach((e=>{o.set(e[t],e)})):o.set(e[t],e)})),o}(p.value,e.valueField,e.childrenField))),b=vt(!1),y=xD(Ft(e,"show"),b),_=vt(null),x=vt(null),C=vt(null),{localeRef:w}=AW("Select"),S=Qr((()=>{var t;return null!==(t=e.placeholder)&&void 0!==t?t:w.value.placeholder})),k=[],P=vt(new Map),T=Qr((()=>{const{fallbackOption:t}=e;if(void 0===t){const{labelField:t,valueField:n}=e;return e=>({[t]:String(e),[n]:e})}return!1!==t&&(e=>Object.assign(t(e),{value:e}))}));function R(t){const n=e.remote,{value:o}=P,{value:r}=g,{value:a}=T,i=[];return t.forEach((e=>{if(r.has(e))i.push(r.get(e));else if(n&&o.has(e))i.push(o.get(e));else if(a){const t=a(e);t&&i.push(t)}})),i}const F=Qr((()=>{if(e.multiple){const{value:e}=l;return Array.isArray(e)?R(e):[]}return null})),z=Qr((()=>{const{value:t}=l;return e.multiple||Array.isArray(t)||null===t?null:R([t])[0]||null})),M=bE(e),{mergedSizeRef:$,mergedDisabledRef:A,mergedStatusRef:O}=M;function D(t,n){const{onChange:o,"onUpdate:value":r,onUpdateValue:a}=e,{nTriggerFormChange:l,nTriggerFormInput:s}=M;o&&GB(o,t,n),a&&GB(a,t,n),r&&GB(r,t,n),i.value=t,l(),s()}function I(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=M;n&&GB(n,t),o()}function B(){var t;const{remote:n,multiple:o}=e;if(n){const{value:n}=P;if(o){const{valueField:o}=e;null===(t=F.value)||void 0===t||t.forEach((e=>{n.set(e[o],e)}))}else{const t=z.value;t&&n.set(t[e.valueField],t)}}}function E(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),b.value=t}function L(){A.value||(E(!0),b.value=!0,e.filterable&&Y())}function j(){E(!1)}function N(){d.value="",h.value=k}const H=vt(!1);function W(e){V(e.rawNode)}function V(t){if(A.value)return;const{tag:n,remote:o,clearFilterAfterSelect:r,valueField:a}=e;if(n&&!o){const{value:e}=h,t=e[0]||null;if(t){const e=u.value;e.length?e.push(t):u.value=[t],h.value=k}}if(o&&P.value.set(t[a],t),e.multiple){const i=function(t){if(!Array.isArray(t))return[];if(T.value)return Array.from(t);{const{remote:n}=e,{value:o}=g;if(n){const{value:e}=P;return t.filter((t=>o.has(t)||e.has(t)))}return t.filter((e=>o.has(e)))}}(l.value),s=i.findIndex((e=>e===t[a]));if(~s){if(i.splice(s,1),n&&!o){const e=U(t[a]);~e&&(u.value.splice(e,1),r&&(d.value=""))}}else i.push(t[a]),r&&(d.value="");D(i,R(i))}else{if(n&&!o){const e=U(t[a]);u.value=~e?[u.value[e]]:k}K(),j(),D(t[a],t)}}function U(t){return u.value.findIndex((n=>n[e.valueField]===t))}function q(t){var n,o,r,a,i;if(e.keyboard)switch(t.key){case" ":if(e.filterable)break;t.preventDefault();case"Enter":if(!(null===(n=_.value)||void 0===n?void 0:n.isComposing))if(y.value){const t=null===(o=C.value)||void 0===o?void 0:o.getPendingTmNode();t?W(t):e.filterable||(j(),K())}else if(L(),e.tag&&H.value){const t=h.value[0];if(t){const n=t[e.valueField],{value:o}=l;e.multiple&&Array.isArray(o)&&o.includes(n)||V(t)}}t.preventDefault();break;case"ArrowUp":if(t.preventDefault(),e.loading)return;y.value&&(null===(r=C.value)||void 0===r||r.prev());break;case"ArrowDown":if(t.preventDefault(),e.loading)return;y.value?null===(a=C.value)||void 0===a||a.next():L();break;case"Escape":y.value&&(VB(t),j()),null===(i=_.value)||void 0===i||i.focus()}else t.preventDefault()}function K(){var e;null===(e=_.value)||void 0===e||e.focus()}function Y(){var e;null===(e=_.value)||void 0===e||e.focusInput()}B(),er(Ft(e,"options"),B);const G={focus:()=>{var e;null===(e=_.value)||void 0===e||e.focus()},focusInput:()=>{var e;null===(e=_.value)||void 0===e||e.focusInput()},blur:()=>{var e;null===(e=_.value)||void 0===e||e.blur()},blurInput:()=>{var e;null===(e=_.value)||void 0===e||e.blurInput()}},X=Qr((()=>{const{self:{menuBoxShadow:e}}=a.value;return{"--n-menu-box-shadow":e}})),Z=r?vE("select",void 0,X,e):void 0;return Object.assign(Object.assign({},G),{mergedStatus:O,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:v,isMounted:CD(),triggerRef:_,menuRef:C,pattern:d,uncontrolledShow:b,mergedShow:y,adjustedTo:ID(e),uncontrolledValue:i,mergedValue:l,followerRef:x,localizedPlaceholder:S,selectedOption:z,selectedOptions:F,mergedSize:$,mergedDisabled:A,focused:s,activeWithoutMenuOpen:H,inlineThemeDisabled:r,onTriggerInputFocus:function(){e.filterable&&(H.value=!0)},onTriggerInputBlur:function(){e.filterable&&(H.value=!1,y.value||N())},handleTriggerOrMenuResize:function(){var e;y.value&&(null===(e=x.value)||void 0===e||e.syncPosition())},handleMenuFocus:function(){s.value=!0},handleMenuBlur:function(e){var t;(null===(t=_.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(s.value=!1,I(e),j())},handleMenuTabOut:function(){var e;null===(e=_.value)||void 0===e||e.focus(),j()},handleTriggerClick:function(){A.value||(y.value?e.filterable?Y():j():L())},handleToggle:W,handleDeleteOption:V,handlePatternInput:function(t){y.value||L();const{value:n}=t.target;d.value=n;const{tag:o,remote:r}=e;if(function(t){const{onSearch:n}=e;n&&GB(n,t)}(n),o&&!r){if(!n)return void(h.value=k);const{onCreate:t}=e,o=t?t(n):{[e.labelField]:n,[e.valueField]:n},{valueField:r,labelField:a}=e;c.value.some((e=>e[r]===o[r]||e[a]===o[a]))||u.value.some((e=>e[r]===o[r]||e[a]===o[a]))?h.value=k:h.value=[o]}},handleClear:function(t){t.stopPropagation();const{multiple:n}=e;!n&&e.filterable&&j(),function(){const{onClear:t}=e;t&&GB(t)}(),n?D([],[]):D(null,null)},handleTriggerBlur:function(e){var t,n;(null===(n=null===(t=C.value)||void 0===t?void 0:t.selfRef)||void 0===n?void 0:n.contains(e.relatedTarget))||(s.value=!1,I(e),j())},handleTriggerFocus:function(t){!function(t){const{onFocus:n,showOnFocus:o}=e,{nTriggerFormFocus:r}=M;n&&GB(n,t),r(),o&&L()}(t),s.value=!0},handleKeydown:q,handleMenuAfterLeave:N,handleMenuClickOutside:function(e){var t;y.value&&((null===(t=_.value)||void 0===t?void 0:t.$el.contains(JA(e)))||j())},handleMenuScroll:function(t){!function(t){const{onScroll:n}=e;n&&GB(n,t)}(t)},handleMenuKeydown:q,handleMenuMousedown:function(e){QA(e,"action")||QA(e,"empty")||QA(e,"header")||e.preventDefault()},mergedTheme:a,cssVars:r?void 0:X,themeClass:null==Z?void 0:Z.themeClass,onRender:null==Z?void 0:Z.onRender})},render(){return Jr("div",{class:`${this.mergedClsPrefix}-select`},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(cY,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)]}})}),Jr(FI,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||"show"===this.displayDirective?(null===(e=this.onRender)||void 0===e||e.call(this),on(Jr(AK,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,null===(t=this.menuProps)||void 0===t?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:this.menuSize,renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[null===(n=this.menuProps)||void 0===n?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var e,t;return[null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)]},header:()=>{var e,t;return[null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e)]},action:()=>{var e,t;return[null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e)]}}),"show"===this.displayDirective?[[Ra,this.mergedShow],[sI,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[sI,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),PJ={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"};function TJ(e){const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:a,textColorDisabled:i,borderColor:l,borderRadius:s,fontSizeTiny:d,fontSizeSmall:c,fontSizeMedium:u,heightTiny:h,heightSmall:p,heightMedium:f}=e;return Object.assign(Object.assign({},PJ),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:i,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:a,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:s,itemSizeSmall:h,itemSizeMedium:p,itemSizeLarge:f,itemFontSizeSmall:d,itemFontSizeMedium:c,itemFontSizeLarge:u,jumperFontSizeSmall:d,jumperFontSizeMedium:c,jumperFontSizeLarge:u,jumperTextColor:t,jumperTextColorDisabled:i})}const RJ={name:"Pagination",common:Eq,peers:{Select:CJ,Input:zY,Popselect:fJ},self:TJ},FJ={name:"Pagination",common:KU,peers:{Select:wJ,Input:FY,Popselect:pJ},self(e){const{primaryColor:t,opacity3:n}=e,o=DO(t,{alpha:Number(n)}),r=TJ(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},zJ="\n background: var(--n-item-color-hover);\n color: var(--n-item-text-color-hover);\n border: var(--n-item-border-hover);\n",MJ=[NA("button","\n background: var(--n-button-color-hover);\n border: var(--n-button-border-hover);\n color: var(--n-button-icon-color-hover);\n ")],$J=LA("pagination","\n display: flex;\n vertical-align: middle;\n font-size: var(--n-item-font-size);\n flex-wrap: nowrap;\n",[LA("pagination-prefix","\n display: flex;\n align-items: center;\n margin: var(--n-prefix-margin);\n "),LA("pagination-suffix","\n display: flex;\n align-items: center;\n margin: var(--n-suffix-margin);\n "),BA("> *:not(:first-child)","\n margin: var(--n-item-margin);\n "),LA("select","\n width: var(--n-select-width);\n "),BA("&.transition-disabled",[LA("pagination-item","transition: none!important;")]),LA("pagination-quick-jumper","\n white-space: nowrap;\n display: flex;\n color: var(--n-jumper-text-color);\n transition: color .3s var(--n-bezier);\n align-items: center;\n font-size: var(--n-jumper-font-size);\n ",[LA("input","\n margin: var(--n-input-margin);\n width: var(--n-input-width);\n ")]),LA("pagination-item","\n position: relative;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n min-width: var(--n-item-size);\n height: var(--n-item-size);\n padding: var(--n-item-padding);\n background-color: var(--n-item-color);\n color: var(--n-item-text-color);\n border-radius: var(--n-item-border-radius);\n border: var(--n-item-border);\n fill: var(--n-button-icon-color);\n transition:\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n fill .3s var(--n-bezier);\n ",[NA("button","\n background: var(--n-button-color);\n color: var(--n-button-icon-color);\n border: var(--n-button-border);\n padding: 0;\n ",[LA("base-icon","\n font-size: var(--n-button-icon-size);\n ")]),HA("disabled",[NA("hover",zJ,MJ),BA("&:hover",zJ,MJ),BA("&:active","\n background: var(--n-item-color-pressed);\n color: var(--n-item-text-color-pressed);\n border: var(--n-item-border-pressed);\n ",[NA("button","\n background: var(--n-button-color-pressed);\n border: var(--n-button-border-pressed);\n color: var(--n-button-icon-color-pressed);\n ")]),NA("active","\n background: var(--n-item-color-active);\n color: var(--n-item-text-color-active);\n border: var(--n-item-border-active);\n ",[BA("&:hover","\n background: var(--n-item-color-active-hover);\n ")])]),NA("disabled","\n cursor: not-allowed;\n color: var(--n-item-text-color-disabled);\n ",[NA("active, button","\n background-color: var(--n-item-color-disabled);\n border: var(--n-item-border-disabled);\n ")])]),NA("disabled","\n cursor: not-allowed;\n ",[LA("pagination-quick-jumper","\n color: var(--n-jumper-text-color-disabled);\n ")]),NA("simple","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n ",[LA("pagination-quick-jumper",[LA("input","\n margin: 0;\n ")])])]);function AJ(e){var t;if(!e)return 10;const{defaultPageSize:n}=e;if(void 0!==n)return n;const o=null===(t=e.pageSizes)||void 0===t?void 0:t[0];return"number"==typeof o?o:(null==o?void 0:o.value)||10}function OJ(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const DJ=$n({name:"Pagination",props:Object.assign(Object.assign({},HW.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default:()=>[10]},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:ID.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),slots:Object,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=fE(e),a=HW("Pagination","-pagination",$J,RJ,e,n),{localeRef:i}=AW("Pagination"),l=vt(null),s=vt(e.defaultPage),d=vt(AJ(e)),c=xD(Ft(e,"page"),s),u=xD(Ft(e,"pageSize"),d),h=Qr((()=>{const{itemCount:t}=e;if(void 0!==t)return Math.max(1,Math.ceil(t/u.value));const{pageCount:n}=e;return void 0!==n?Math.max(n,1):1})),p=vt("");Jo((()=>{e.simple,p.value=String(c.value)}));const f=vt(!1),m=vt(!1),v=vt(!1),g=vt(!1),b=Qr((()=>function(e,t,n,o){let r=!1,a=!1,i=1,l=t;if(1===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(2===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:2===e,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=t;let d=e,c=e;const u=(n-5)/2;c+=Math.ceil(u),c=Math.min(Math.max(c,1+n-3),s-2),d-=Math.floor(u),d=Math.max(Math.min(d,s-n+3),3);let h=!1,p=!1;d>3&&(h=!0),c=2&&f.push({type:"page",label:2,mayBeFastBackward:!0,mayBeFastForward:!1,active:2===e});for(let m=d;m<=c;++m)f.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(a=!0,l=c+1,f.push({type:"fast-forward",active:!1,label:void 0,options:o?OJ(c+1,s-1):null})):c===s-2&&f[f.length-1].label!==s-1&&f.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:s-1,active:e===s-1}),f[f.length-1].label!==s&&f.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:s,active:e===s}),{hasFastBackward:r,hasFastForward:a,fastBackwardTo:i,fastForwardTo:l,items:f}}(c.value,h.value,e.pageSlot,e.showQuickJumpDropdown)));Jo((()=>{b.value.hasFastBackward?b.value.hasFastForward||(f.value=!1,v.value=!1):(m.value=!1,g.value=!1)}));const y=Qr((()=>{const t=i.value.selectionSuffix;return e.pageSizes.map((e=>"number"==typeof e?{label:`${e} / ${t}`,value:e}:e))})),_=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.Pagination)||void 0===o?void 0:o.inputSize)||qB(e.size)})),x=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.Pagination)||void 0===o?void 0:o.selectSize)||qB(e.size)})),C=Qr((()=>(c.value-1)*u.value)),w=Qr((()=>{const t=c.value*u.value-1,{itemCount:n}=e;return void 0!==n&&t>n-1?n-1:t})),S=Qr((()=>{const{itemCount:t}=e;return void 0!==t?t:(e.pageCount||1)*u.value})),k=DW("Pagination",r,n);function P(){Kt((()=>{var e;const{value:t}=l;t&&(t.classList.add("transition-disabled"),null===(e=l.value)||void 0===e||e.offsetWidth,t.classList.remove("transition-disabled"))}))}function T(t){if(t===c.value)return;const{"onUpdate:page":n,onUpdatePage:o,onChange:r,simple:a}=e;n&&GB(n,t),o&&GB(o,t),r&&GB(r,t),s.value=t,a&&(p.value=String(t))}Jo((()=>{c.value,u.value,P()}));const R=Qr((()=>{const{size:t}=e,{self:{buttonBorder:n,buttonBorderHover:o,buttonBorderPressed:r,buttonIconColor:i,buttonIconColorHover:l,buttonIconColorPressed:s,itemTextColor:d,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:h,itemTextColorDisabled:p,itemColor:f,itemColorHover:m,itemColorPressed:v,itemColorActive:g,itemColorActiveHover:b,itemColorDisabled:y,itemBorder:_,itemBorderHover:x,itemBorderPressed:C,itemBorderActive:w,itemBorderDisabled:S,itemBorderRadius:k,jumperTextColor:P,jumperTextColorDisabled:T,buttonColor:R,buttonColorHover:F,buttonColorPressed:z,[KA("itemPadding",t)]:M,[KA("itemMargin",t)]:$,[KA("inputWidth",t)]:A,[KA("selectWidth",t)]:O,[KA("inputMargin",t)]:D,[KA("selectMargin",t)]:I,[KA("jumperFontSize",t)]:B,[KA("prefixMargin",t)]:E,[KA("suffixMargin",t)]:L,[KA("itemSize",t)]:j,[KA("buttonIconSize",t)]:N,[KA("itemFontSize",t)]:H,[`${KA("itemMargin",t)}Rtl`]:W,[`${KA("inputMargin",t)}Rtl`]:V},common:{cubicBezierEaseInOut:U}}=a.value;return{"--n-prefix-margin":E,"--n-suffix-margin":L,"--n-item-font-size":H,"--n-select-width":O,"--n-select-margin":I,"--n-input-width":A,"--n-input-margin":D,"--n-input-margin-rtl":V,"--n-item-size":j,"--n-item-text-color":d,"--n-item-text-color-disabled":p,"--n-item-text-color-hover":c,"--n-item-text-color-active":h,"--n-item-text-color-pressed":u,"--n-item-color":f,"--n-item-color-hover":m,"--n-item-color-disabled":y,"--n-item-color-active":g,"--n-item-color-active-hover":b,"--n-item-color-pressed":v,"--n-item-border":_,"--n-item-border-hover":x,"--n-item-border-disabled":S,"--n-item-border-active":w,"--n-item-border-pressed":C,"--n-item-padding":M,"--n-item-border-radius":k,"--n-bezier":U,"--n-jumper-font-size":B,"--n-jumper-text-color":P,"--n-jumper-text-color-disabled":T,"--n-item-margin":$,"--n-item-margin-rtl":W,"--n-button-icon-size":N,"--n-button-icon-color":i,"--n-button-icon-color-hover":l,"--n-button-icon-color-pressed":s,"--n-button-color-hover":F,"--n-button-color":R,"--n-button-color-pressed":z,"--n-button-border":n,"--n-button-border-hover":o,"--n-button-border-pressed":r}})),F=o?vE("pagination",Qr((()=>{let t="";const{size:n}=e;return t+=n[0],t})),R,e):void 0;return{rtlEnabled:k,mergedClsPrefix:n,locale:i,selfRef:l,mergedPage:c,pageItems:Qr((()=>b.value.items)),mergedItemCount:S,jumperValue:p,pageSizeOptions:y,mergedPageSize:u,inputSize:_,selectSize:x,mergedTheme:a,mergedPageCount:h,startIndex:C,endIndex:w,showFastForwardMenu:v,showFastBackwardMenu:g,fastForwardActive:f,fastBackwardActive:m,handleMenuSelect:e=>{T(e)},handleFastForwardMouseenter:()=>{e.disabled||(f.value=!0,P())},handleFastForwardMouseleave:()=>{e.disabled||(f.value=!1,P())},handleFastBackwardMouseenter:()=>{m.value=!0,P()},handleFastBackwardMouseleave:()=>{m.value=!1,P()},handleJumperInput:function(e){p.value=e.replace(/\D+/g,"")},handleBackwardClick:function(){if(e.disabled)return;T(Math.max(c.value-1,1))},handleForwardClick:function(){if(e.disabled)return;T(Math.min(c.value+1,h.value))},handlePageItemClick:function(t){if(!e.disabled)switch(t.type){case"page":T(t.label);break;case"fast-backward":!function(){if(e.disabled)return;T(Math.max(b.value.fastBackwardTo,1))}();break;case"fast-forward":!function(){if(e.disabled)return;T(Math.min(b.value.fastForwardTo,h.value))}()}},handleSizePickerChange:function(t){!function(t){if(t===u.value)return;const{"onUpdate:pageSize":n,onUpdatePageSize:o,onPageSizeChange:r}=e;n&&GB(n,t),o&&GB(o,t),r&&GB(r,t),d.value=t,h.value{switch(e){case"pages":return Jr(pr,null,Jr("div",{class:[`${t}-pagination-item`,!$&&`${t}-pagination-item--button`,(r<=1||r>a||n)&&`${t}-pagination-item--disabled`],onClick:k},$?$({page:r,pageSize:p,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(pV,null):Jr(ZW,null)})),v?Jr(pr,null,Jr("div",{class:`${t}-pagination-quick-jumper`},Jr(BY,{value:m,onUpdateValue:w,size:u,placeholder:"",disabled:n,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:R}))," /"," ",a):i.map(((e,o)=>{let r,a,i;const{type:l}=e;switch(l){case"page":const n=e.label;r=O?O({type:"page",node:n,active:e.active}):n;break;case"fast-forward":const o=this.fastForwardActive?Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(cV,null):Jr(uV,null)}):Jr(VW,{clsPrefix:t},{default:()=>Jr(mV,null)});r=O?O({type:"fast-forward",node:o,active:this.fastForwardActive||this.showFastForwardMenu}):o,a=this.handleFastForwardMouseenter,i=this.handleFastForwardMouseleave;break;case"fast-backward":const l=this.fastBackwardActive?Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(uV,null):Jr(cV,null)}):Jr(VW,{clsPrefix:t},{default:()=>Jr(mV,null)});r=O?O({type:"fast-backward",node:l,active:this.fastBackwardActive||this.showFastBackwardMenu}):l,a=this.handleFastBackwardMouseenter,i=this.handleFastBackwardMouseleave}const s=Jr("div",{key:o,class:[`${t}-pagination-item`,e.active&&`${t}-pagination-item--active`,"page"!==l&&("fast-backward"===l&&this.showFastBackwardMenu||"fast-forward"===l&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,"page"===l&&`${t}-pagination-item--clickable`],onClick:()=>{P(e)},onMouseenter:a,onMouseleave:i},r);if("page"!==l||e.mayBeFastBackward||e.mayBeFastForward){const t="page"===e.type?e.mayBeFastBackward?"fast-backward":"fast-forward":e.type;return"page"===e.type||e.options?Jr(_J,{to:this.to,key:t,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:d.peers.Popselect,themeOverrides:d.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:"page"!==l&&("fast-backward"===l?this.showFastBackwardMenu:this.showFastForwardMenu),onUpdateShow:e=>{"page"!==l&&(e?"fast-backward"===l?this.showFastBackwardMenu=e:this.showFastForwardMenu=e:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:"page"!==e.type&&e.options?e.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>s}):s}return s})),Jr("div",{class:[`${t}-pagination-item`,!A&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=a||n}],onClick:T},A?A({page:r,pageSize:p,pageCount:a,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(ZW,null):Jr(pV,null)})));case"size-picker":return!v&&l?Jr(kJ,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:h,options:f,value:p,disabled:n,theme:d.peers.Select,themeOverrides:d.peerOverrides.Select,onUpdateValue:S})):null;case"quick-jumper":return!v&&s?Jr("div",{class:`${t}-pagination-quick-jumper`},C?C():lE(this.$slots.goto,(()=>[c.goto])),Jr(BY,{value:m,onUpdateValue:w,size:u,placeholder:"",disabled:n,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:R})):null;default:return null}})),M?Jr("div",{class:`${t}-pagination-suffix`},M({page:r,pageSize:p,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),IJ={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"};function BJ(e){const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:a,invertedColor:i,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:c,fontSizeHuge:u,heightSmall:h,heightMedium:p,heightLarge:f,heightHuge:m,textColor3:v,opacityDisabled:g}=e;return Object.assign(Object.assign({},IJ),{optionHeightSmall:h,optionHeightMedium:p,optionHeightLarge:f,optionHeightHuge:m,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:c,fontSizeHuge:u,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:a,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:DO(t,{alpha:.1}),groupHeaderTextColor:v,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:i,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:g})}const EJ={name:"Dropdown",common:Eq,peers:{Popover:IK},self:BJ},LJ={name:"Dropdown",common:KU,peers:{Popover:BK},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=BJ(e);return r.colorInverted=o,r.optionColorActive=DO(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},jJ={padding:"8px 14px"},NJ={name:"Tooltip",common:KU,peers:{Popover:BK},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},jJ),{borderRadius:t,boxShadow:n,color:o,textColor:r})}};const HJ={name:"Tooltip",common:Eq,peers:{Popover:IK},self:function(e){const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},jJ),{borderRadius:t,boxShadow:n,color:OO(o,"rgba(0, 0, 0, .85)"),textColor:o})}},WJ={name:"Ellipsis",common:KU,peers:{Tooltip:NJ}},VJ={name:"Ellipsis",common:Eq,peers:{Tooltip:HJ}},UJ={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},qJ={name:"Radio",common:KU,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:a,textColor2:i,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,heightSmall:h,heightMedium:p,heightLarge:f,lineHeight:m}=e;return Object.assign(Object.assign({},UJ),{labelLineHeight:m,buttonHeightSmall:h,buttonHeightMedium:p,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:a,colorActive:"#0000",textColor:i,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:i,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}};const KJ={name:"Radio",common:Eq,self:function(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:a,textColor2:i,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,heightSmall:h,heightMedium:p,heightLarge:f,lineHeight:m}=e;return Object.assign(Object.assign({},UJ),{labelLineHeight:m,buttonHeightSmall:h,buttonHeightMedium:p,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:a,colorActive:"#0000",textColor:i,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:i,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}},YJ={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"};function GJ(e){const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:a,tableHeaderColor:i,tableColorHover:l,iconColor:s,primaryColor:d,fontWeightStrong:c,borderRadius:u,lineHeight:h,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:m,dividerColor:v,heightSmall:g,opacityDisabled:b,tableColorStriped:y}=e;return Object.assign(Object.assign({},YJ),{actionDividerColor:v,lineHeight:h,borderRadius:u,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:m,borderColor:OO(t,v),tdColorHover:OO(t,l),tdColorSorting:OO(t,l),tdColorStriped:OO(t,y),thColor:OO(t,i),thColorHover:OO(OO(t,i),l),thColorSorting:OO(OO(t,i),l),tdColor:t,tdTextColor:r,thTextColor:a,thFontWeight:c,thButtonColorHover:l,thIconColor:s,thIconColorActive:d,borderColorModal:OO(n,v),tdColorHoverModal:OO(n,l),tdColorSortingModal:OO(n,l),tdColorStripedModal:OO(n,y),thColorModal:OO(n,i),thColorHoverModal:OO(OO(n,i),l),thColorSortingModal:OO(OO(n,i),l),tdColorModal:n,borderColorPopover:OO(o,v),tdColorHoverPopover:OO(o,l),tdColorSortingPopover:OO(o,l),tdColorStripedPopover:OO(o,y),thColorPopover:OO(o,i),thColorHoverPopover:OO(OO(o,i),l),thColorSortingPopover:OO(OO(o,i),l),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:d,loadingSize:g,opacityLoading:b})}const XJ={name:"DataTable",common:Eq,peers:{Button:xG,Checkbox:mQ,Radio:KJ,Pagination:RJ,Scrollbar:Nq,Empty:yK,Popover:IK,Ellipsis:VJ,Dropdown:EJ},self:GJ},ZJ={name:"DataTable",common:KU,peers:{Button:CG,Checkbox:vQ,Radio:qJ,Pagination:FJ,Scrollbar:Hq,Empty:_K,Popover:BK,Ellipsis:WJ,Dropdown:LJ},self(e){const t=GJ(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},QJ=Object.assign(Object.assign({},HW.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,virtualScrollX:Boolean,virtualScrollHeader:Boolean,headerHeight:{type:Number,default:28},heightForRow:Function,minRowHeight:{type:Number,default:28},tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},filterIconPopoverProps:Object,scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},getCsvCell:Function,getCsvHeader:Function,onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),JJ="n-data-table";function e1(e){return"selection"===e.type||"expand"===e.type?void 0===e.width?40:tO(e.width):"children"in e?void 0:"string"==typeof e.width?tO(e.width):e.width}function t1(e){return"selection"===e.type?"__n_selection__":"expand"===e.type?"__n_expand__":e.key}function n1(e){return e&&"object"==typeof e?Object.assign({},e):e}function o1(e,t){if(void 0!==t)return{width:t,minWidth:t,maxWidth:t};const n=function(e){var t,n;return"selection"===e.type?LB(null!==(t=e.width)&&void 0!==t?t:40):"expand"===e.type?LB(null!==(n=e.width)&&void 0!==n?n:40):"children"in e?void 0:LB(e.width)}(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:LB(o)||n,maxWidth:LB(r)}}function r1(e){return void 0!==e.filterOptionValues||void 0===e.filterOptionValue&&void 0!==e.defaultFilterOptionValues}function a1(e){return!("children"in e)&&!!e.sorter}function i1(e){return(!("children"in e)||!e.children.length)&&!!e.resizable}function l1(e){return!("children"in e)&&!(!e.filter||!e.filterOptions&&!e.renderFilterMenu)}function s1(e){return e?"descend"===e&&"ascend":"descend"}function d1(e,t){return void 0!==t.find((t=>t.columnKey===e.key&&t.order))}const c1=$n({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=Ro(JJ);return()=>{const{rowKey:o}=e;return Jr(wQ,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),u1=LA("radio","\n line-height: var(--n-label-line-height);\n outline: none;\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n display: inline-flex;\n align-items: flex-start;\n flex-wrap: nowrap;\n font-size: var(--n-font-size);\n word-break: break-word;\n",[NA("checked",[jA("dot","\n background-color: var(--n-color-active);\n ")]),jA("dot-wrapper","\n position: relative;\n flex-shrink: 0;\n flex-grow: 0;\n width: var(--n-radio-size);\n "),LA("radio-input","\n position: absolute;\n border: 0;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n opacity: 0;\n z-index: 1;\n cursor: pointer;\n "),jA("dot","\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n height: var(--n-radio-size);\n width: var(--n-radio-size);\n background: var(--n-color);\n box-shadow: var(--n-box-shadow);\n border-radius: 50%;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ",[BA("&::before",'\n content: "";\n opacity: 0;\n position: absolute;\n left: 4px;\n top: 4px;\n height: calc(100% - 8px);\n width: calc(100% - 8px);\n border-radius: 50%;\n transform: scale(.8);\n background: var(--n-dot-color-active);\n transition: \n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n transform .3s var(--n-bezier);\n '),NA("checked",{boxShadow:"var(--n-box-shadow-active)"},[BA("&::before","\n opacity: 1;\n transform: scale(1);\n ")])]),jA("label","\n color: var(--n-text-color);\n padding: var(--n-label-padding);\n font-weight: var(--n-label-font-weight);\n display: inline-block;\n transition: color .3s var(--n-bezier);\n "),HA("disabled","\n cursor: pointer;\n ",[BA("&:hover",[jA("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),NA("focus",[BA("&:not(:active)",[jA("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),NA("disabled","\n cursor: not-allowed;\n ",[jA("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[BA("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),NA("checked","\n opacity: 1;\n ")]),jA("label",{color:"var(--n-text-color-disabled)"}),LA("radio-input","\n cursor: not-allowed;\n ")])]),h1={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},p1="n-radio-group";function f1(e){const t=Ro(p1,null),n=bE(e,{mergedSize(n){const{size:o}=e;if(void 0!==o)return o;if(t){const{mergedSizeRef:{value:e}}=t;if(void 0!==e)return e}return n?n.mergedSize.value:"medium"},mergedDisabled:n=>!!e.disabled||(!!(null==t?void 0:t.disabledRef.value)||!!(null==n?void 0:n.disabled.value))}),{mergedSizeRef:o,mergedDisabledRef:r}=n,a=vt(null),i=vt(null),l=vt(e.defaultChecked),s=xD(Ft(e,"checked"),l),d=oD((()=>t?t.valueRef.value===e.value:s.value)),c=oD((()=>{const{name:n}=e;return void 0!==n?n:t?t.nameRef.value:void 0})),u=vt(!1);function h(){r.value||d.value||function(){if(t){const{doUpdateValue:n}=t,{value:o}=e;GB(n,o)}else{const{onUpdateChecked:t,"onUpdate:checked":o}=e,{nTriggerFormInput:r,nTriggerFormChange:a}=n;t&&GB(t,!0),o&&GB(o,!0),r(),a(),l.value=!0}}()}return{mergedClsPrefix:t?t.mergedClsPrefixRef:fE(e).mergedClsPrefixRef,inputRef:a,labelRef:i,mergedName:c,mergedDisabled:r,renderSafeChecked:d,focus:u,mergedSize:o,handleRadioInputChange:function(){h(),a.value&&(a.value.checked=d.value)},handleRadioInputBlur:function(){u.value=!1},handleRadioInputFocus:function(){u.value=!0}}}const m1=$n({name:"Radio",props:Object.assign(Object.assign({},HW.props),h1),setup(e){const t=f1(e),n=HW("Radio","-radio",u1,KJ,e,t.mergedClsPrefix),o=Qr((()=>{const{mergedSize:{value:e}}=t,{common:{cubicBezierEaseInOut:o},self:{boxShadow:r,boxShadowActive:a,boxShadowDisabled:i,boxShadowFocus:l,boxShadowHover:s,color:d,colorDisabled:c,colorActive:u,textColor:h,textColorDisabled:p,dotColorActive:f,dotColorDisabled:m,labelPadding:v,labelLineHeight:g,labelFontWeight:b,[KA("fontSize",e)]:y,[KA("radioSize",e)]:_}}=n.value;return{"--n-bezier":o,"--n-label-line-height":g,"--n-label-font-weight":b,"--n-box-shadow":r,"--n-box-shadow-active":a,"--n-box-shadow-disabled":i,"--n-box-shadow-focus":l,"--n-box-shadow-hover":s,"--n-color":d,"--n-color-active":u,"--n-color-disabled":c,"--n-dot-color-active":f,"--n-dot-color-disabled":m,"--n-font-size":y,"--n-radio-size":_,"--n-text-color":h,"--n-text-color-disabled":p,"--n-label-padding":v}})),{inlineThemeDisabled:r,mergedClsPrefixRef:a,mergedRtlRef:i}=fE(e),l=DW("Radio",i,a),s=r?vE("radio",Qr((()=>t.mergedSize.value[0])),o,e):void 0;return Object.assign(t,{rtlEnabled:l,cssVars:r?void 0:o,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return null==n||n(),Jr("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},Jr("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),Jr("div",{class:`${t}-radio__dot-wrapper`}," ",Jr("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),dE(e.default,(e=>e||o?Jr("div",{ref:"labelRef",class:`${t}-radio__label`},e||o):null)))}}),v1=$n({name:"RadioButton",props:h1,setup:f1,render(){const{mergedClsPrefix:e}=this;return Jr("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},Jr("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),Jr("div",{class:`${e}-radio-button__state-border`}),dE(this.$slots.default,(t=>t||this.label?Jr("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label):null)))}}),g1=LA("radio-group","\n display: inline-block;\n font-size: var(--n-font-size);\n",[jA("splitor","\n display: inline-block;\n vertical-align: bottom;\n width: 1px;\n transition:\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n background: var(--n-button-border-color);\n ",[NA("checked",{backgroundColor:"var(--n-button-border-color-active)"}),NA("disabled",{opacity:"var(--n-opacity-disabled)"})]),NA("button-group","\n white-space: nowrap;\n height: var(--n-height);\n line-height: var(--n-height);\n ",[LA("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),jA("splitor",{height:"var(--n-height)"})]),LA("radio-button","\n vertical-align: bottom;\n outline: none;\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n display: inline-block;\n box-sizing: border-box;\n padding-left: 14px;\n padding-right: 14px;\n white-space: nowrap;\n transition:\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n background: var(--n-button-color);\n color: var(--n-button-text-color);\n border-top: 1px solid var(--n-button-border-color);\n border-bottom: 1px solid var(--n-button-border-color);\n ",[LA("radio-input","\n pointer-events: none;\n position: absolute;\n border: 0;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n opacity: 0;\n z-index: 1;\n "),jA("state-border","\n z-index: 1;\n pointer-events: none;\n position: absolute;\n box-shadow: var(--n-button-box-shadow);\n transition: box-shadow .3s var(--n-bezier);\n left: -1px;\n bottom: -1px;\n right: -1px;\n top: -1px;\n "),BA("&:first-child","\n border-top-left-radius: var(--n-button-border-radius);\n border-bottom-left-radius: var(--n-button-border-radius);\n border-left: 1px solid var(--n-button-border-color);\n ",[jA("state-border","\n border-top-left-radius: var(--n-button-border-radius);\n border-bottom-left-radius: var(--n-button-border-radius);\n ")]),BA("&:last-child","\n border-top-right-radius: var(--n-button-border-radius);\n border-bottom-right-radius: var(--n-button-border-radius);\n border-right: 1px solid var(--n-button-border-color);\n ",[jA("state-border","\n border-top-right-radius: var(--n-button-border-radius);\n border-bottom-right-radius: var(--n-button-border-radius);\n ")]),HA("disabled","\n cursor: pointer;\n ",[BA("&:hover",[jA("state-border","\n transition: box-shadow .3s var(--n-bezier);\n box-shadow: var(--n-button-box-shadow-hover);\n "),HA("checked",{color:"var(--n-button-text-color-hover)"})]),NA("focus",[BA("&:not(:active)",[jA("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),NA("checked","\n background: var(--n-button-color-active);\n color: var(--n-button-text-color-active);\n border-color: var(--n-button-border-color-active);\n "),NA("disabled","\n cursor: not-allowed;\n opacity: var(--n-opacity-disabled);\n ")])]);const b1=$n({name:"RadioGroup",props:Object.assign(Object.assign({},HW.props),{name:String,value:[String,Number,Boolean],defaultValue:{type:[String,Number,Boolean],default:null},size:String,disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),setup(e){const t=vt(null),{mergedSizeRef:n,mergedDisabledRef:o,nTriggerFormChange:r,nTriggerFormInput:a,nTriggerFormBlur:i,nTriggerFormFocus:l}=bE(e),{mergedClsPrefixRef:s,inlineThemeDisabled:d,mergedRtlRef:c}=fE(e),u=HW("Radio","-radio-group",g1,KJ,e,s),h=vt(e.defaultValue),p=xD(Ft(e,"value"),h);To(p1,{mergedClsPrefixRef:s,nameRef:Ft(e,"name"),valueRef:p,disabledRef:o,mergedSizeRef:n,doUpdateValue:function(t){const{onUpdateValue:n,"onUpdate:value":o}=e;n&&GB(n,t),o&&GB(o,t),h.value=t,r(),a()}});const f=DW("Radio",c,s),m=Qr((()=>{const{value:e}=n,{common:{cubicBezierEaseInOut:t},self:{buttonBorderColor:o,buttonBorderColorActive:r,buttonBorderRadius:a,buttonBoxShadow:i,buttonBoxShadowFocus:l,buttonBoxShadowHover:s,buttonColor:d,buttonColorActive:c,buttonTextColor:h,buttonTextColorActive:p,buttonTextColorHover:f,opacityDisabled:m,[KA("buttonHeight",e)]:v,[KA("fontSize",e)]:g}}=u.value;return{"--n-font-size":g,"--n-bezier":t,"--n-button-border-color":o,"--n-button-border-color-active":r,"--n-button-border-radius":a,"--n-button-box-shadow":i,"--n-button-box-shadow-focus":l,"--n-button-box-shadow-hover":s,"--n-button-color":d,"--n-button-color-active":c,"--n-button-text-color":h,"--n-button-text-color-hover":f,"--n-button-text-color-active":p,"--n-height":v,"--n-opacity-disabled":m}})),v=d?vE("radio-group",Qr((()=>n.value[0])),m,e):void 0;return{selfElRef:t,rtlEnabled:f,mergedClsPrefix:s,mergedValue:p,handleFocusout:function(e){const{value:n}=t;n&&(n.contains(e.relatedTarget)||i())},handleFocusin:function(e){const{value:n}=t;n&&(n.contains(e.relatedTarget)||l())},cssVars:d?void 0:m,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:a,isButtonGroup:i}=function(e,t,n){var o;const r=[];let a=!1;for(let i=0;i{const{rowKey:o}=e;return Jr(m1,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),_1=$n({name:"Tooltip",props:Object.assign(Object.assign({},XK),HW.props),slots:Object,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=fE(e),n=HW("Tooltip","-tooltip",void 0,HJ,e,t),o=vt(null),r={syncPosition(){o.value.syncPosition()},setShow(e){o.value.setShow(e)}};return Object.assign(Object.assign({},r),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:Qr((()=>n.value.self))})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return Jr(ZK,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),x1=LA("ellipsis",{overflow:"hidden"},[HA("line-clamp","\n white-space: nowrap;\n display: inline-block;\n vertical-align: bottom;\n max-width: 100%;\n "),NA("line-clamp","\n display: -webkit-inline-box;\n -webkit-box-orient: vertical;\n "),NA("cursor-pointer","\n cursor: pointer;\n ")]);function C1(e){return`${e}-ellipsis--line-clamp`}function w1(e,t){return`${e}-ellipsis--cursor-${t}`}const S1=Object.assign(Object.assign({},HW.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),k1=$n({name:"Ellipsis",inheritAttrs:!1,props:S1,slots:Object,setup(e,{slots:t,attrs:n}){const o=mE(),r=HW("Ellipsis","-ellipsis",x1,VJ,e,o),a=vt(null),i=vt(null),l=vt(null),s=vt(!1),d=Qr((()=>{const{lineClamp:t}=e,{value:n}=s;return void 0!==t?{textOverflow:"","-webkit-line-clamp":n?"":t}:{textOverflow:n?"":"ellipsis","-webkit-line-clamp":""}}));function c(){let t=!1;const{value:n}=s;if(n)return!0;const{value:r}=a;if(r){const{lineClamp:n}=e;if(function(t){if(!t)return;const n=d.value,r=C1(o.value);void 0!==e.lineClamp?h(t,r,"add"):h(t,r,"remove");for(const e in n)t.style[e]!==n[e]&&(t.style[e]=n[e])}(r),void 0!==n)t=r.scrollHeight<=r.offsetHeight;else{const{value:e}=i;e&&(t=e.getBoundingClientRect().width<=r.getBoundingClientRect().width)}!function(t,n){const r=w1(o.value,"pointer");"click"!==e.expandTrigger||n?h(t,r,"remove"):h(t,r,"add")}(r,t)}return t}const u=Qr((()=>"click"===e.expandTrigger?()=>{var e;const{value:t}=s;t&&(null===(e=l.value)||void 0===e||e.setShow(!1)),s.value=!t}:void 0));Nn((()=>{var t;e.tooltip&&(null===(t=l.value)||void 0===t||t.setShow(!1))}));function h(e,t,n){"add"===n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}return{mergedTheme:r,triggerRef:a,triggerInnerRef:i,tooltipRef:l,handleClick:u,renderTrigger:()=>Jr("span",Object.assign({},Ir(n,{class:[`${o.value}-ellipsis`,void 0!==e.lineClamp?C1(o.value):void 0,"click"===e.expandTrigger?w1(o.value,"pointer"):void 0],style:d.value}),{ref:"triggerRef",onClick:u.value,onMouseenter:"click"===e.expandTrigger?c:void 0}),e.lineClamp?t:Jr("span",{ref:"triggerInnerRef"},t)),getTooltipDisabled:c}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return Jr(_1,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:null!==(e=o.tooltip)&&void 0!==e?e:o.default})}return n()}}),P1=$n({name:"PerformantEllipsis",props:S1,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=vt(!1),r=mE();NW("-ellipsis",x1,r);return{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,i=r.value;return Jr("span",Object.assign({},Ir(t,{class:[`${i}-ellipsis`,void 0!==a?C1(i):void 0,"click"===e.expandTrigger?w1(i,"pointer"):void 0],style:void 0===a?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:Jr("span",null,n))}}},render(){return this.mouseEntered?Jr(k1,Ir({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),T1=$n({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let a;const{render:i,key:l,ellipsis:s}=n;if(a=i&&!t?i(o,this.index):t?null===(e=o[l])||void 0===e?void 0:e.value:r?r(RN(o,l),o,n):RN(o,l),s){if("object"==typeof s){const{mergedTheme:e}=this;return"performant-ellipsis"===n.ellipsisComponent?Jr(P1,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>a}):Jr(k1,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>a})}return Jr("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},a)}return a}}),R1=$n({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function},rowData:{type:Object,required:!0}},render(){const{clsPrefix:e}=this;return Jr("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:e=>{e.preventDefault()}},Jr(UW,null,{default:()=>this.loading?Jr(NV,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded,rowData:this.rowData}):Jr(VW,{clsPrefix:e,key:"base-icon"},{default:()=>Jr(tV,null)})}))}}),F1=$n({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=DW("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:a,localeRef:i}=Ro(JJ),l=vt(e.value);function s(t){e.onChange(t)}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:a,locale:i,checkboxGroupValue:Qr((()=>{const{value:e}=l;return Array.isArray(e)?e:null})),radioGroupValue:Qr((()=>{const{value:t}=l;return r1(e.column)?Array.isArray(t)&&t.length&&t[0]||null:Array.isArray(t)?null:t})),handleChange:function(t){e.multiple&&Array.isArray(t)?l.value=t:r1(e.column)&&!Array.isArray(t)?l.value=[t]:l.value=t},handleConfirmClick:function(){s(l.value),e.onConfirm()},handleClearClick:function(){e.multiple||r1(e.column)?s([]):s(null),e.onClear()}}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return Jr("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},Jr(Vq,null,{default:()=>{const{checkboxGroupValue:t,handleChange:o}=this;return this.multiple?Jr(xQ,{value:t,class:`${n}-data-table-filter-menu__group`,onUpdateValue:o},{default:()=>this.options.map((t=>Jr(wQ,{key:t.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:t.value},{default:()=>t.label})))}):Jr(b1,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map((t=>Jr(m1,{key:t.value,value:t.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>t.label})))})}}),Jr("div",{class:`${n}-data-table-filter-menu__action`},Jr(SG,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),Jr(SG,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),z1=$n({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}});const M1=$n({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=fE(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:a,paginationBehaviorOnFilterRef:i,doUpdatePage:l,doUpdateFilters:s,filterIconPopoverPropsRef:d}=Ro(JJ),c=vt(!1),u=r,h=Qr((()=>!1!==e.column.filterMultiple)),p=Qr((()=>{const t=u.value[e.column.key];if(void 0===t){const{value:e}=h;return e?[]:null}return t})),f=Qr((()=>{const{value:e}=p;return Array.isArray(e)?e.length>0:null!==e})),m=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.DataTable)||void 0===o?void 0:o.renderFilter)||e.column.renderFilter}));return{mergedTheme:n,mergedClsPrefix:o,active:f,showPopover:c,mergedRenderFilter:m,filterIconPopoverProps:d,filterMultiple:h,mergedFilterValue:p,filterMenuCssVars:a,handleFilterChange:function(t){const n=function(e,t,n){const o=Object.assign({},e);return o[t]=n,o}(u.value,e.column.key,t);s(n,e.column),"first"===i.value&&l(1)},handleFilterMenuConfirm:function(){c.value=!1},handleFilterMenuCancel:function(){c.value=!1}}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n,filterIconPopoverProps:o}=this;return Jr(ZK,Object.assign({show:this.showPopover,onUpdateShow:e=>this.showPopover=e,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},o,{style:{padding:0}}),{trigger:()=>{const{mergedRenderFilter:e}=this;if(e)return Jr(z1,{"data-data-table-filter":!0,render:e,active:this.active,show:this.showPopover});const{renderFilterIcon:n}=this.column;return Jr("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},n?n({active:this.active,show:this.showPopover}):Jr(VW,{clsPrefix:t},{default:()=>Jr(hV,null)}))},default:()=>{const{renderFilterMenu:e}=this.column;return e?e({hide:n}):Jr(F1,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),$1=$n({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Ro(JJ),n=vt(!1);let o=0;function r(e){return e.clientX}function a(t){var n;null===(n=e.onResize)||void 0===n||n.call(e,r(t)-o)}function i(){var t;n.value=!1,null===(t=e.onResizeEnd)||void 0===t||t.call(e),tD("mousemove",window,a),tD("mouseup",window,i)}return Xn((()=>{tD("mousemove",window,a),tD("mouseup",window,i)})),{mergedClsPrefix:t,active:n,handleMousedown:function(t){var l;t.preventDefault();const s=n.value;o=r(t),n.value=!0,s||(eD("mousemove",window,a),eD("mouseup",window,i),null===(l=e.onResizeStart)||void 0===l||l.call(e))}}},render(){const{mergedClsPrefix:e}=this;return Jr("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),A1=$n({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),O1=$n({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=fE(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=Ro(JJ),r=Qr((()=>n.value.find((t=>t.columnKey===e.column.key)))),a=Qr((()=>void 0!==r.value)),i=Qr((()=>{const{value:e}=r;return!(!e||!a.value)&&e.order})),l=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.DataTable)||void 0===o?void 0:o.renderSorter)||e.column.renderSorter}));return{mergedClsPrefix:o,active:a,mergedSortOrder:i,mergedRenderSorter:l}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?Jr(A1,{render:e,order:t}):Jr("span",{class:[`${n}-data-table-sorter`,"ascend"===t&&`${n}-data-table-sorter--asc`,"descend"===t&&`${n}-data-table-sorter--desc`]},o?o({order:t}):Jr(VW,{clsPrefix:n},{default:()=>Jr(KW,null)}))}}),D1="n-dropdown-menu",I1="n-dropdown",B1="n-dropdown-option",E1=$n({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return Jr("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),L1=$n({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ro(D1),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:a}=Ro(I1);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:a}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:a,renderOption:i}=this,{rawNode:l}=this.tmNode,s=Jr("div",Object.assign({class:`${t}-dropdown-option`},null==r?void 0:r(l)),Jr("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},Jr("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},aE(l.icon)),Jr("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},a?a(l):aE(null!==(e=l.title)&&void 0!==e?e:l[this.labelField])),Jr("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return i?i({node:s,option:l}):s}});function j1(e){const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:a,opacity5:i}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:a,opacity5Depth:i}}const N1={name:"Icon",common:Eq,self:j1},H1={name:"Icon",common:KU,self:j1},W1=LA("icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[NA("color-transition",{transition:"color .3s var(--n-bezier)"}),NA("depth",{color:"var(--n-color)"},[BA("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),BA("svg",{height:"1em",width:"1em"})]),V1=$n({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Object.assign(Object.assign({},HW.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Icon","-icon",W1,N1,e,t),r=Qr((()=>{const{depth:t}=e,{common:{cubicBezierEaseInOut:n},self:r}=o.value;if(void 0!==t){const{color:e,[`opacity${t}Depth`]:o}=r;return{"--n-bezier":n,"--n-color":e,"--n-opacity":o}}return{"--n-bezier":n,"--n-color":"","--n-opacity":""}})),a=n?vE("icon",Qr((()=>`${e.depth||"d"}`)),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:Qr((()=>{const{size:t,color:n}=e;return{fontSize:LB(t),color:n}})),cssVars:n?void 0:r,themeClass:null==a?void 0:a.themeClass,onRender:null==a?void 0:a.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:a,themeClass:i}=this;return null===(e=null==t?void 0:t.$options)||void 0===e||e._n_icon__,null==a||a(),Jr("i",Ir(this.$attrs,{role:"img",class:[`${o}-icon`,i,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:void 0!==n}],style:[this.cssVars,this.mergedStyle]}),r?Jr(r):this.$slots)}});function U1(e,t){return"submenu"===e.type||void 0===e.type&&void 0!==e[t]}function q1(e){return"divider"===e.type}const K1=$n({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Ro(I1),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:a,activeKeyPathRef:i,animatedRef:l,mergedShowRef:s,renderLabelRef:d,renderIconRef:c,labelFieldRef:u,childrenFieldRef:h,renderOptionRef:p,nodePropsRef:f,menuPropsRef:m}=t,v=Ro(B1,null),g=Ro(D1),b=Ro(OD),y=Qr((()=>e.tmNode.rawNode)),_=Qr((()=>{const{value:t}=h;return U1(e.tmNode.rawNode,t)})),x=Qr((()=>{const{disabled:t}=e.tmNode;return t})),C=function(e,t,n){const o=vt(e.value);let r=null;return er(e,(e=>{null!==r&&window.clearTimeout(r),!0===e?n&&!n.value?o.value=!0:r=window.setTimeout((()=>{o.value=!0}),t):o.value=!1})),o}(Qr((()=>{if(!_.value)return!1;const{key:t,disabled:i}=e.tmNode;if(i)return!1;const{value:l}=n,{value:s}=o,{value:d}=r,{value:c}=a;return null!==l?c.includes(t):null!==s?c.includes(t)&&c[c.length-1]!==t:null!==d&&c.includes(t)})),300,Qr((()=>null===o.value&&!l.value))),w=Qr((()=>!!(null==v?void 0:v.enteringSubmenuRef.value))),S=vt(!1);function k(){const{parentKey:t,tmNode:a}=e;a.disabled||s.value&&(r.value=t,o.value=null,n.value=a.key)}return To(B1,{enteringSubmenuRef:S}),{labelField:u,renderLabel:d,renderIcon:c,siblingHasIcon:g.showIconRef,siblingHasSubmenu:g.hasSubmenuRef,menuProps:m,popoverBody:b,animated:l,mergedShowSubmenu:Qr((()=>C.value&&!w.value)),rawNode:y,hasSubmenu:_,pending:oD((()=>{const{value:t}=a,{key:n}=e.tmNode;return t.includes(n)})),childActive:oD((()=>{const{value:t}=i,{key:n}=e.tmNode,o=t.findIndex((e=>n===e));return-1!==o&&o{const{value:t}=i,{key:n}=e.tmNode,o=t.findIndex((e=>n===e));return-1!==o&&o===t.length-1})),mergedDisabled:x,renderOption:p,nodeProps:f,handleClick:function(){const{value:n}=_,{tmNode:o}=e;s.value&&(n||o.disabled||(t.doSelect(o.key,o.rawNode),t.doUpdateShow(!1)))},handleMouseMove:function(){const{tmNode:t}=e;t.disabled||s.value&&n.value!==t.key&&k()},handleMouseEnter:k,handleMouseLeave:function(t){if(e.tmNode.disabled)return;if(!s.value)return;const{relatedTarget:o}=t;!o||QA({target:o},"dropdownOption")||QA({target:o},"scrollbarRail")||(n.value=null)},handleSubmenuBeforeEnter:function(){S.value=!0},handleSubmenuAfterEnter:function(){S.value=!1}}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:a,siblingHasIcon:i,siblingHasSubmenu:l,renderLabel:s,renderIcon:d,renderOption:c,nodeProps:u,props:h,scrollable:p}=this;let f=null;if(r){const t=null===(e=this.menuProps)||void 0===e?void 0:e.call(this,o,o.children);f=Jr(X1,Object.assign({},t,{clsPrefix:a,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const m={class:[`${a}-dropdown-option-body`,this.pending&&`${a}-dropdown-option-body--pending`,this.active&&`${a}-dropdown-option-body--active`,this.childActive&&`${a}-dropdown-option-body--child-active`,this.mergedDisabled&&`${a}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},v=null==u?void 0:u(o),g=Jr("div",Object.assign({class:[`${a}-dropdown-option`,null==v?void 0:v.class],"data-dropdown-option":!0},v),Jr("div",Ir(m,h),[Jr("div",{class:[`${a}-dropdown-option-body__prefix`,i&&`${a}-dropdown-option-body__prefix--show-icon`]},[d?d(o):aE(o.icon)]),Jr("div",{"data-dropdown-option":!0,class:`${a}-dropdown-option-body__label`},s?s(o):aE(null!==(t=o[this.labelField])&&void 0!==t?t:o.title)),Jr("div",{"data-dropdown-option":!0,class:[`${a}-dropdown-option-body__suffix`,l&&`${a}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?Jr(V1,null,{default:()=>Jr(tV,null)}):null)]),this.hasSubmenu?Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{class:`${a}-dropdown-offset-container`},Jr(FI,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>Jr("div",{class:`${a}-dropdown-menu-wrapper`},n?Jr(ha,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>f}):f)}))})]}):null);return c?c({node:g,option:o}):g}}),Y1=$n({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return Jr(pr,null,Jr(L1,{clsPrefix:n,tmNode:e,key:e.key}),null==o?void 0:o.map((e=>{const{rawNode:o}=e;return!1===o.show?null:q1(o)?Jr(E1,{clsPrefix:n,key:e.key}):e.isGroup?null:Jr(K1,{clsPrefix:n,tmNode:e,parentKey:t,key:e.key})})))}}),G1=$n({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return Jr("div",t,[null==e?void 0:e()])}}),X1=$n({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=Ro(I1);To(D1,{showIconRef:Qr((()=>{const n=t.value;return e.tmNodes.some((e=>{var t;if(e.isGroup)return null===(t=e.children)||void 0===t?void 0:t.some((({rawNode:e})=>n?n(e):e.icon));const{rawNode:o}=e;return n?n(o):o.icon}))})),hasSubmenuRef:Qr((()=>{const{value:t}=n;return e.tmNodes.some((e=>{var n;if(e.isGroup)return null===(n=e.children)||void 0===n?void 0:n.some((({rawNode:e})=>U1(e,t)));const{rawNode:o}=e;return U1(o,t)}))}))});const o=vt(null);return To($D,null),To(MD,null),To(OD,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map((o=>{const{rawNode:r}=o;return!1===r.show?null:function(e){return"render"===e.type}(r)?Jr(G1,{tmNode:o,key:o.key}):q1(r)?Jr(E1,{clsPrefix:t,key:o.key}):function(e){return"group"===e.type}(r)?Jr(Y1,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key}):Jr(K1,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key,props:r.props,scrollable:n})}));return Jr("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?Jr(Uq,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?qK({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),Z1=LA("dropdown-menu","\n transform-origin: var(--v-transform-origin);\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n position: relative;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[MK(),LA("dropdown-option","\n position: relative;\n ",[BA("a","\n text-decoration: none;\n color: inherit;\n outline: none;\n ",[BA("&::before",'\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),LA("dropdown-option-body","\n display: flex;\n cursor: pointer;\n position: relative;\n height: var(--n-option-height);\n line-height: var(--n-option-height);\n font-size: var(--n-font-size);\n color: var(--n-option-text-color);\n transition: color .3s var(--n-bezier);\n ",[BA("&::before",'\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n left: 4px;\n right: 4px;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n '),HA("disabled",[NA("pending","\n color: var(--n-option-text-color-hover);\n ",[jA("prefix, suffix","\n color: var(--n-option-text-color-hover);\n "),BA("&::before","background-color: var(--n-option-color-hover);")]),NA("active","\n color: var(--n-option-text-color-active);\n ",[jA("prefix, suffix","\n color: var(--n-option-text-color-active);\n "),BA("&::before","background-color: var(--n-option-color-active);")]),NA("child-active","\n color: var(--n-option-text-color-child-active);\n ",[jA("prefix, suffix","\n color: var(--n-option-text-color-child-active);\n ")])]),NA("disabled","\n cursor: not-allowed;\n opacity: var(--n-option-opacity-disabled);\n "),NA("group","\n font-size: calc(var(--n-font-size) - 1px);\n color: var(--n-group-header-text-color);\n ",[jA("prefix","\n width: calc(var(--n-option-prefix-width) / 2);\n ",[NA("show-icon","\n width: calc(var(--n-option-icon-prefix-width) / 2);\n ")])]),jA("prefix","\n width: var(--n-option-prefix-width);\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--n-prefix-color);\n transition: color .3s var(--n-bezier);\n z-index: 1;\n ",[NA("show-icon","\n width: var(--n-option-icon-prefix-width);\n "),LA("icon","\n font-size: var(--n-option-icon-size);\n ")]),jA("label","\n white-space: nowrap;\n flex: 1;\n z-index: 1;\n "),jA("suffix","\n box-sizing: border-box;\n flex-grow: 0;\n flex-shrink: 0;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n min-width: var(--n-option-suffix-width);\n padding: 0 8px;\n transition: color .3s var(--n-bezier);\n color: var(--n-suffix-color);\n z-index: 1;\n ",[NA("has-submenu","\n width: var(--n-option-icon-suffix-width);\n "),LA("icon","\n font-size: var(--n-option-icon-size);\n ")]),LA("dropdown-menu","pointer-events: all;")]),LA("dropdown-offset-container","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: -4px;\n bottom: -4px;\n ")]),LA("dropdown-divider","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-divider-color);\n height: 1px;\n margin: 4px 0;\n "),LA("dropdown-menu-wrapper","\n transform-origin: var(--v-transform-origin);\n width: fit-content;\n "),BA(">",[LA("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),HA("scrollable","\n padding: var(--n-padding);\n "),NA("scrollable",[jA("content","\n padding: var(--n-padding);\n ")])]),Q1={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},J1=Object.keys(XK),e0=$n({name:"Dropdown",inheritAttrs:!1,props:Object.assign(Object.assign(Object.assign({},XK),Q1),HW.props),setup(e){const t=vt(!1),n=xD(Ft(e,"show"),t),o=Qr((()=>{const{keyField:t,childrenField:n}=e;return vK(e.options,{getKey:e=>e[t],getDisabled:e=>!0===e.disabled,getIgnored:e=>"divider"===e.type||"render"===e.type,getChildren:e=>e[n]})})),r=Qr((()=>o.value.treeNodes)),a=vt(null),i=vt(null),l=vt(null),s=Qr((()=>{var e,t,n;return null!==(n=null!==(t=null!==(e=a.value)&&void 0!==e?e:i.value)&&void 0!==t?t:l.value)&&void 0!==n?n:null})),d=Qr((()=>o.value.getPath(s.value).keyPath)),c=Qr((()=>o.value.getPath(e.value).keyPath));TD({keydown:{ArrowUp:{prevent:!0,handler:function(){b("up")}},ArrowRight:{prevent:!0,handler:function(){b("right")}},ArrowDown:{prevent:!0,handler:function(){b("down")}},ArrowLeft:{prevent:!0,handler:function(){b("left")}},Enter:{prevent:!0,handler:function(){const e=g();(null==e?void 0:e.isLeaf)&&n.value&&(f(e.key,e.rawNode),m(!1))}},Escape:function(){m(!1)}}},oD((()=>e.keyboard&&n.value)));const{mergedClsPrefixRef:u,inlineThemeDisabled:h}=fE(e),p=HW("Dropdown","-dropdown",Z1,EJ,e,u);function f(t,n){const{onSelect:o}=e;o&&GB(o,t,n)}function m(n){const{"onUpdate:show":o,onUpdateShow:r}=e;o&&GB(o,n),r&&GB(r,n),t.value=n}function v(){a.value=null,i.value=null,l.value=null}function g(){var e;const{value:t}=o,{value:n}=s;return t&&null!==n&&null!==(e=t.getNode(n))&&void 0!==e?e:null}function b(e){const{value:t}=s,{value:{getFirstAvailableNode:n}}=o;let r=null;if(null===t){const e=n();null!==e&&(r=e.key)}else{const t=g();if(t){let n;switch(e){case"down":n=t.getNext();break;case"up":n=t.getPrev();break;case"right":n=t.getChild();break;case"left":n=t.getParent()}n&&(r=n.key)}}null!==r&&(a.value=null,i.value=r)}To(I1,{labelFieldRef:Ft(e,"labelField"),childrenFieldRef:Ft(e,"childrenField"),renderLabelRef:Ft(e,"renderLabel"),renderIconRef:Ft(e,"renderIcon"),hoverKeyRef:a,keyboardKeyRef:i,lastToggledSubmenuKeyRef:l,pendingKeyPathRef:d,activeKeyPathRef:c,animatedRef:Ft(e,"animated"),mergedShowRef:n,nodePropsRef:Ft(e,"nodeProps"),renderOptionRef:Ft(e,"renderOption"),menuPropsRef:Ft(e,"menuProps"),doSelect:f,doUpdateShow:m}),er(n,(t=>{e.animated||t||v()}));const y=Qr((()=>{const{size:t,inverted:n}=e,{common:{cubicBezierEaseInOut:o},self:r}=p.value,{padding:a,dividerColor:i,borderRadius:l,optionOpacityDisabled:s,[KA("optionIconSuffixWidth",t)]:d,[KA("optionSuffixWidth",t)]:c,[KA("optionIconPrefixWidth",t)]:u,[KA("optionPrefixWidth",t)]:h,[KA("fontSize",t)]:f,[KA("optionHeight",t)]:m,[KA("optionIconSize",t)]:v}=r,g={"--n-bezier":o,"--n-font-size":f,"--n-padding":a,"--n-border-radius":l,"--n-option-height":m,"--n-option-prefix-width":h,"--n-option-icon-prefix-width":u,"--n-option-suffix-width":c,"--n-option-icon-suffix-width":d,"--n-option-icon-size":v,"--n-divider-color":i,"--n-option-opacity-disabled":s};return n?(g["--n-color"]=r.colorInverted,g["--n-option-color-hover"]=r.optionColorHoverInverted,g["--n-option-color-active"]=r.optionColorActiveInverted,g["--n-option-text-color"]=r.optionTextColorInverted,g["--n-option-text-color-hover"]=r.optionTextColorHoverInverted,g["--n-option-text-color-active"]=r.optionTextColorActiveInverted,g["--n-option-text-color-child-active"]=r.optionTextColorChildActiveInverted,g["--n-prefix-color"]=r.prefixColorInverted,g["--n-suffix-color"]=r.suffixColorInverted,g["--n-group-header-text-color"]=r.groupHeaderTextColorInverted):(g["--n-color"]=r.color,g["--n-option-color-hover"]=r.optionColorHover,g["--n-option-color-active"]=r.optionColorActive,g["--n-option-text-color"]=r.optionTextColor,g["--n-option-text-color-hover"]=r.optionTextColorHover,g["--n-option-text-color-active"]=r.optionTextColorActive,g["--n-option-text-color-child-active"]=r.optionTextColorChildActive,g["--n-prefix-color"]=r.prefixColor,g["--n-suffix-color"]=r.suffixColor,g["--n-group-header-text-color"]=r.groupHeaderTextColor),g})),_=h?vE("dropdown",Qr((()=>`${e.size[0]}${e.inverted?"i":""}`)),y,e):void 0;return{mergedClsPrefix:u,mergedTheme:p,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&v()},doUpdateShow:m,cssVars:h?void 0:y,themeClass:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender}},render(){const{mergedTheme:e}=this,t={show:this.mergedShow,theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:(e,t,n,o,r)=>{var a;const{mergedClsPrefix:i,menuProps:l}=this;null===(a=this.onRender)||void 0===a||a.call(this);const s=(null==l?void 0:l(void 0,this.tmNodes.map((e=>e.rawNode))))||{},d={ref:ZB(t),class:[e,`${i}-dropdown`,this.themeClass],clsPrefix:i,tmNodes:this.tmNodes,style:[...n,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:o,onMouseleave:r};return Jr(X1,Ir(this.$attrs,d,s))},onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return Jr(ZK,Object.assign({},tE(this.$props,J1),t),{trigger:()=>{var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}})}}),t0="_n_all__",n0="_n_none__";const o0=$n({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:a,doUncheckAll:i}=Ro(JJ),l=Qr((()=>function(e,t,n,o){return e?r=>{for(const a of e)switch(r){case t0:return void n(!0);case n0:return void o(!0);default:if("object"==typeof a&&a.key===r)return void a.onSelect(t.value)}}:()=>{}}(o.value,r,a,i))),s=Qr((()=>function(e,t){return e?e.map((e=>{switch(e){case"all":return{label:t.checkTableAll,key:t0};case"none":return{label:t.uncheckTableAll,key:n0};default:return e}})):[]}(o.value,n.value)));return()=>{var n,o,r,a;const{clsPrefix:i}=e;return Jr(e0,{theme:null===(o=null===(n=t.theme)||void 0===n?void 0:n.peers)||void 0===o?void 0:o.Dropdown,themeOverrides:null===(a=null===(r=t.themeOverrides)||void 0===r?void 0:r.peers)||void 0===a?void 0:a.Dropdown,options:s.value,onSelect:l.value},{default:()=>Jr(VW,{clsPrefix:i,class:`${i}-data-table-check-extra`},{default:()=>Jr(eV,null)})})}}});function r0(e){return"function"==typeof e.title?e.title(e):e.title}const a0=$n({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},width:String},render(){const{clsPrefix:e,id:t,cols:n,width:o}=this;return Jr("table",{style:{tableLayout:"fixed",width:o},class:`${e}-data-table-table`},Jr("colgroup",null,n.map((e=>Jr("col",{key:e.key,style:e.style})))),Jr("thead",{"data-n-id":t,class:`${e}-data-table-thead`},this.$slots))}}),i0=$n({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:a,someRowsCheckedRef:i,rowsRef:l,colsRef:s,mergedThemeRef:d,checkOptionsRef:c,mergedSortStateRef:u,componentId:h,mergedTableLayoutRef:p,headerCheckboxDisabledRef:f,virtualScrollHeaderRef:m,headerHeightRef:v,onUnstableColumnResize:g,doUpdateResizableWidth:b,handleTableHeaderScroll:y,deriveNextSorter:_,doUncheckAll:x,doCheckAll:C}=Ro(JJ),w=vt(),S=vt({});function k(e){const t=S.value[e];return null==t?void 0:t.getBoundingClientRect().width}const P=new Map;return{cellElsRef:S,componentId:h,mergedSortState:u,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:a,someRowsChecked:i,rows:l,cols:s,mergedTheme:d,checkOptions:c,mergedTableLayout:p,headerCheckboxDisabled:f,headerHeight:v,virtualScrollHeader:m,virtualListRef:w,handleCheckboxUpdateChecked:function(){a.value?x():C()},handleColHeaderClick:function(e,t){if(QA(e,"dataTableFilter")||QA(e,"dataTableResizable"))return;if(!a1(t))return;const n=u.value.find((e=>e.columnKey===t.key))||null,o=function(e,t){return void 0===e.sorter?null:null===t||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:s1(!1)}:Object.assign(Object.assign({},t),{order:s1(t.order)})}(t,n);_(o)},handleTableHeaderScroll:y,handleColumnResizeStart:function(e){P.set(e.key,k(e.key))},handleColumnResize:function(e,t){const n=P.get(e.key);if(void 0===n)return;const o=n+t,r=(a=o,i=e.minWidth,void 0!==(l=e.maxWidth)&&(a=Math.min(a,"number"==typeof l?l:Number.parseFloat(l))),void 0!==i&&(a=Math.max(a,"number"==typeof i?i:Number.parseFloat(i))),a);var a,i,l;g(o,r,e,k),b(e,r)}}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:a,someRowsChecked:i,rows:l,cols:s,mergedTheme:d,checkOptions:c,componentId:u,discrete:h,mergedTableLayout:p,headerCheckboxDisabled:f,mergedSortState:m,virtualScrollHeader:v,handleColHeaderClick:g,handleCheckboxUpdateChecked:b,handleColumnResizeStart:y,handleColumnResize:_}=this,x=(l,s,u)=>l.map((({column:l,colIndex:h,colSpan:p,rowSpan:v,isLast:x})=>{var C,w;const S=t1(l),{ellipsis:k}=l,P=S in n,T=S in o;return Jr(s&&!l.fixed?"div":"th",{ref:t=>e[S]=t,key:S,style:[s&&!l.fixed?{position:"absolute",left:nO(s(h)),top:0,bottom:0}:{left:nO(null===(C=n[S])||void 0===C?void 0:C.start),right:nO(null===(w=o[S])||void 0===w?void 0:w.start)},{width:nO(l.width),textAlign:l.titleAlign||l.align,height:u}],colspan:p,rowspan:v,"data-col-key":S,class:[`${t}-data-table-th`,(P||T)&&`${t}-data-table-th--fixed-${P?"left":"right"}`,{[`${t}-data-table-th--sorting`]:d1(l,m),[`${t}-data-table-th--filterable`]:l1(l),[`${t}-data-table-th--sortable`]:a1(l),[`${t}-data-table-th--selection`]:"selection"===l.type,[`${t}-data-table-th--last`]:x},l.className],onClick:"selection"===l.type||"expand"===l.type||"children"in l?void 0:e=>{g(e,l)}},"selection"===l.type?!1!==l.multiple?Jr(pr,null,Jr(wQ,{key:r,privateInsideTable:!0,checked:a,indeterminate:i,disabled:f,onUpdateChecked:b}),c?Jr(o0,{clsPrefix:t}):null):null:Jr(pr,null,Jr("div",{class:`${t}-data-table-th__title-wrapper`},Jr("div",{class:`${t}-data-table-th__title`},!0===k||k&&!k.tooltip?Jr("div",{class:`${t}-data-table-th__ellipsis`},r0(l)):k&&"object"==typeof k?Jr(k1,Object.assign({},k,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>r0(l)}):r0(l)),a1(l)?Jr(O1,{column:l}):null),l1(l)?Jr(M1,{column:l,options:l.filterOptions}):null,i1(l)?Jr($1,{onResizeStart:()=>{y(l)},onResize:e=>{_(l,e)}}):null))}));if(v){const{headerHeight:e}=this;let n=0,o=0;return s.forEach((e=>{"left"===e.column.fixed?n++:"right"===e.column.fixed&&o++})),Jr(kB,{ref:"virtualListRef",class:`${t}-data-table-base-table-header`,style:{height:nO(e)},onScroll:this.handleTableHeaderScroll,columns:s,itemSize:e,showScrollbar:!1,items:[{}],itemResizable:!1,visibleItemsTag:a0,visibleItemsProps:{clsPrefix:t,id:u,cols:s,width:LB(this.scrollX)},renderItemWithCols:({startColIndex:t,endColIndex:r,getLeft:a})=>{const i=s.map(((e,t)=>({column:e.column,isLast:t===s.length-1,colIndex:e.index,colSpan:1,rowSpan:1}))).filter((({column:e},n)=>t<=n&&n<=r||!!e.fixed)),l=x(i,a,nO(e));return l.splice(n,0,Jr("th",{colspan:s.length-n-o,style:{pointerEvents:"none",visibility:"hidden",height:0}})),Jr("tr",{style:{position:"relative"}},l)}},{default:({renderedItemWithCols:e})=>e})}const C=Jr("thead",{class:`${t}-data-table-thead`,"data-n-id":u},l.map((e=>Jr("tr",{class:`${t}-data-table-tr`},x(e,null,void 0)))));if(!h)return C;const{handleTableHeaderScroll:w,scrollX:S}=this;return Jr("div",{class:`${t}-data-table-base-table-header`,onScroll:w},Jr("table",{class:`${t}-data-table-table`,style:{minWidth:LB(S),tableLayout:p}},Jr("colgroup",null,s.map((e=>Jr("col",{key:e.key,style:e.style})))),C))}});function l0(e,t){const n=[];function o(e,r){e.forEach((e=>{e.children&&t.has(e.key)?(n.push({tmNode:e,striped:!1,key:e.key,index:r}),o(e.children,r)):n.push({key:e.key,tmNode:e,striped:!1,index:r})}))}return e.forEach((e=>{n.push(e);const{children:r}=e.tmNode;r&&t.has(e.key)&&o(r,e.index)})),n}const s0=$n({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return Jr("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},Jr("colgroup",null,n.map((e=>Jr("col",{key:e.key,style:e.style})))),Jr("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),d0=$n({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:a,scrollXRef:i,colsRef:l,paginatedDataRef:s,rawPaginatedDataRef:d,fixedColumnLeftMapRef:c,fixedColumnRightMapRef:u,mergedCurrentPageRef:h,rowClassNameRef:p,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:m,rightActiveFixedColKeyRef:v,rightActiveFixedChildrenColKeysRef:g,renderExpandRef:b,hoverKeyRef:y,summaryRef:_,mergedSortStateRef:x,virtualScrollRef:C,virtualScrollXRef:w,heightForRowRef:S,minRowHeightRef:k,componentId:P,mergedTableLayoutRef:T,childTriggerColIndexRef:R,indentRef:F,rowPropsRef:z,maxHeightRef:M,stripedRef:$,loadingRef:A,onLoadRef:O,loadingKeySetRef:D,expandableRef:I,stickyExpandedRowsRef:B,renderExpandIconRef:E,summaryPlacementRef:L,treeMateRef:j,scrollbarPropsRef:N,setHeaderScrollLeft:H,doUpdateExpandedRowKeys:W,handleTableBodyScroll:V,doCheck:U,doUncheck:q,renderCell:K}=Ro(JJ),Y=Ro(hE),G=vt(null),X=vt(null),Z=vt(null),Q=oD((()=>0===s.value.length)),J=oD((()=>e.showHeader||!Q.value)),ee=oD((()=>e.showHeader||Q.value));let te="";const ne=Qr((()=>new Set(o.value)));function oe(e){var t;return null===(t=j.value.getNode(e))||void 0===t?void 0:t.rawNode}function re(){const{value:e}=X;return(null==e?void 0:e.listElRef)||null}const ae={getScrollContainer:function(){if(!J.value){const{value:e}=Z;return e||null}if(C.value)return re();const{value:e}=G;return e?e.containerRef:null},scrollTo(e,t){var n,o;C.value?null===(n=X.value)||void 0===n||n.scrollTo(e,t):null===(o=G.value)||void 0===o||o.scrollTo(e,t)}},ie=BA([({props:e})=>{const t=t=>null===t?null:BA(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),n=t=>null===t?null:BA(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return BA([t(e.leftActiveFixedColKey),n(e.rightActiveFixedColKey),e.leftActiveFixedChildrenColKeys.map((e=>t(e))),e.rightActiveFixedChildrenColKeys.map((e=>n(e)))])}]);let le=!1;return Jo((()=>{const{value:e}=f,{value:t}=m,{value:n}=v,{value:o}=g;if(!le&&null===e&&null===n)return;const r={leftActiveFixedColKey:e,leftActiveFixedChildrenColKeys:t,rightActiveFixedColKey:n,rightActiveFixedChildrenColKeys:o,componentId:P};ie.mount({id:`n-${P}`,force:!0,props:r,anchorMetaName:OW,parent:null==Y?void 0:Y.styleMountTarget}),le=!0})),Zn((()=>{ie.unmount({id:`n-${P}`,parent:null==Y?void 0:Y.styleMountTarget})})),Object.assign({bodyWidth:n,summaryPlacement:L,dataTableSlots:t,componentId:P,scrollbarInstRef:G,virtualListRef:X,emptyElRef:Z,summary:_,mergedClsPrefix:r,mergedTheme:a,scrollX:i,cols:l,loading:A,bodyShowHeaderOnly:ee,shouldDisplaySomeTablePart:J,empty:Q,paginatedDataAndInfo:Qr((()=>{const{value:e}=$;let t=!1;return{data:s.value.map(e?(e,n)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:n%2==1,index:n}):(e,n)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:!1,index:n})),hasChildren:t}})),rawPaginatedData:d,fixedColumnLeftMap:c,fixedColumnRightMap:u,currentPage:h,rowClassName:p,renderExpand:b,mergedExpandedRowKeySet:ne,hoverKey:y,mergedSortState:x,virtualScroll:C,virtualScrollX:w,heightForRow:S,minRowHeight:k,mergedTableLayout:T,childTriggerColIndex:R,indent:F,rowProps:z,maxHeight:M,loadingKeySet:D,expandable:I,stickyExpandedRows:B,renderExpandIcon:E,scrollbarProps:N,setHeaderScrollLeft:H,handleVirtualListScroll:function(e){var t;V(e),null===(t=G.value)||void 0===t||t.sync()},handleVirtualListResize:function(t){var n;const{onResize:o}=e;o&&o(t),null===(n=G.value)||void 0===n||n.sync()},handleMouseleaveTable:function(){y.value=null},virtualListContainer:re,virtualListContent:function(){const{value:e}=X;return(null==e?void 0:e.itemsElRef)||null},handleTableBodyScroll:V,handleCheckboxUpdateChecked:function(e,t,n){const o=oe(e.key);if(o){if(n){const n=s.value.findIndex((e=>e.key===te));if(-1!==n){const r=s.value.findIndex((t=>t.key===e.key)),a=Math.min(n,r),i=Math.max(n,r),l=[];return s.value.slice(a,i+1).forEach((e=>{e.disabled||l.push(e.key)})),t?U(l,!1,o):q(l,o),void(te=e.key)}}t?U(e.key,!1,o):q(e.key,o),te=e.key}else e.key},handleRadioUpdateChecked:function(e){const t=oe(e.key);t?U(e.key,!0,t):e.key},handleUpdateExpanded:function(e,t){var n;if(D.value.has(e))return;const{value:r}=o,a=r.indexOf(e),i=Array.from(r);~a?(i.splice(a,1),W(i)):!t||t.isLeaf||t.shallowLoaded?(i.push(e),W(i)):(D.value.add(e),null===(n=O.value)||void 0===n||n.call(O,t.rawNode).then((()=>{const{value:t}=o,n=Array.from(t);~n.indexOf(e)||n.push(e),W(n)})).finally((()=>{D.value.delete(e)})))},renderCell:K},ae)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:a,flexHeight:i,loadingKeySet:l,onResize:s,setHeaderScrollLeft:d}=this,c=void 0!==t||void 0!==r||i,u=!c&&"auto"===a,h=void 0!==t||u,p={minWidth:LB(t)||"100%"};t&&(p.width="100%");const f=Jr(Vq,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:c||u,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:h,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:d,onResize:s}),{default:()=>{const e={},t={},{cols:r,paginatedDataAndInfo:a,mergedTheme:i,fixedColumnLeftMap:s,fixedColumnRightMap:d,currentPage:c,rowClassName:u,mergedSortState:h,mergedExpandedRowKeySet:f,stickyExpandedRows:m,componentId:v,childTriggerColIndex:g,expandable:b,rowProps:y,handleMouseleaveTable:_,renderExpand:x,summary:C,handleCheckboxUpdateChecked:w,handleRadioUpdateChecked:S,handleUpdateExpanded:k,heightForRow:P,minRowHeight:T,virtualScrollX:R}=this,{length:F}=r;let z;const{data:M,hasChildren:$}=a,A=$?l0(M,f):M;if(C){const e=C(this.rawPaginatedData);if(Array.isArray(e)){const t=e.map(((e,t)=>({isSummaryRow:!0,key:`__n_summary__${t}`,tmNode:{rawNode:e,disabled:!0},index:-1})));z="top"===this.summaryPlacement?[...t,...A]:[...A,...t]}else{const t={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:e,disabled:!0},index:-1};z="top"===this.summaryPlacement?[t,...A]:[...A,t]}}else z=A;const O=$?{width:nO(this.indent)}:void 0,D=[];z.forEach((e=>{x&&f.has(e.key)&&(!b||b(e.tmNode.rawNode))?D.push(e,{isExpandedRow:!0,key:`${e.key}-expand`,tmNode:e.tmNode,index:e.index}):D.push(e)}));const{length:I}=D,B={};M.forEach((({tmNode:e},t)=>{B[t]=e.key}));const E=m?this.bodyWidth:null,L=null===E?void 0:`${E}px`,j=this.virtualScrollX?"div":"td";let N=0,H=0;R&&r.forEach((e=>{"left"===e.column.fixed?N++:"right"===e.column.fixed&&H++}));const W=({rowInfo:o,displayedRowIndex:a,isVirtual:p,isVirtualX:v,startColIndex:b,endColIndex:_,getLeft:C})=>{const{index:R}=o;if("isExpandedRow"in o){const{tmNode:{key:e,rawNode:t}}=o;return Jr("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${e}__expand`},Jr("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,a+1===I&&`${n}-data-table-td--last-row`],colspan:F},m?Jr("div",{class:`${n}-data-table-expand`,style:{width:L}},x(t,R)):x(t,R)))}const z="isSummaryRow"in o,M=!z&&o.striped,{tmNode:A,key:D}=o,{rawNode:E}=A,W=f.has(D),V=y?y(E,R):void 0,U="string"==typeof u?u:function(e,t,n){return"function"==typeof n?n(e,t):n||""}(E,R,u),q=v?r.filter(((e,t)=>b<=t&&t<=_||!!e.column.fixed)):r,K=v?nO((null==P?void 0:P(E,R))||T):void 0,Y=q.map((r=>{var u,f,m,b,y;const _=r.index;if(a in e){const t=e[a],n=t.indexOf(_);if(~n)return t.splice(n,1),null}const{column:x}=r,P=t1(r),{rowSpan:T,colSpan:M}=x,A=z?(null===(u=o.tmNode.rawNode[P])||void 0===u?void 0:u.colSpan)||1:M?M(E,R):1,L=z?(null===(f=o.tmNode.rawNode[P])||void 0===f?void 0:f.rowSpan)||1:T?T(E,R):1,N=_+A===F,H=a+L===I,V=L>1;if(V&&(t[a]={[_]:[]}),A>1||V)for(let n=a;n{k(D,o.tmNode)}})]:null,"selection"===x.type?z?null:!1===x.multiple?Jr(y1,{key:c,rowKey:D,disabled:o.tmNode.disabled,onUpdateChecked:()=>{S(o.tmNode)}}):Jr(c1,{key:c,rowKey:D,disabled:o.tmNode.disabled,onUpdateChecked:(e,t)=>{w(o.tmNode,e,t.shiftKey)}}):"expand"===x.type?z?null:!x.expandable||(null===(y=x.expandable)||void 0===y?void 0:y.call(x,E))?Jr(R1,{clsPrefix:n,rowData:E,expanded:W,renderExpandIcon:this.renderExpandIcon,onClick:()=>{k(D,null)}}):null:Jr(T1,{clsPrefix:n,index:R,row:E,column:x,isSummary:z,mergedTheme:i,renderCell:this.renderCell}))}));v&&N&&H&&Y.splice(N,0,Jr("td",{colspan:r.length-N-H,style:{pointerEvents:"none",visibility:"hidden",height:0}}));const G=Jr("tr",Object.assign({},V,{onMouseenter:e=>{var t;this.hoverKey=D,null===(t=null==V?void 0:V.onMouseenter)||void 0===t||t.call(V,e)},key:D,class:[`${n}-data-table-tr`,z&&`${n}-data-table-tr--summary`,M&&`${n}-data-table-tr--striped`,W&&`${n}-data-table-tr--expanded`,U,null==V?void 0:V.class],style:[null==V?void 0:V.style,v&&{height:K}]}),Y);return G};return o?Jr(kB,{ref:"virtualListRef",items:D,itemSize:this.minRowHeight,visibleItemsTag:s0,visibleItemsProps:{clsPrefix:n,id:v,cols:r,onMouseleave:_},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!R,columns:r,renderItemWithCols:R?({itemIndex:e,item:t,startColIndex:n,endColIndex:o,getLeft:r})=>W({displayedRowIndex:e,isVirtual:!0,isVirtualX:!0,rowInfo:t,startColIndex:n,endColIndex:o,getLeft:r}):void 0},{default:({item:e,index:t,renderedItemWithCols:n})=>n||W({rowInfo:e,displayedRowIndex:t,isVirtual:!0,isVirtualX:!1,startColIndex:0,endColIndex:0,getLeft:e=>0})}):Jr("table",{class:`${n}-data-table-table`,onMouseleave:_,style:{tableLayout:this.mergedTableLayout}},Jr("colgroup",null,r.map((e=>Jr("col",{key:e.key,style:e.style})))),this.showHeader?Jr(i0,{discrete:!1}):null,this.empty?null:Jr("tbody",{"data-n-id":v,class:`${n}-data-table-tbody`},D.map(((e,t)=>W({rowInfo:e,displayedRowIndex:t,isVirtual:!1,isVirtualX:!1,startColIndex:-1,endColIndex:-1,getLeft:e=>-1})))))}});if(this.empty){const e=()=>Jr("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},lE(this.dataTableSlots.empty,(()=>[Jr(CK,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})])));return this.shouldDisplaySomeTablePart?Jr(pr,null,f,e()):Jr(bB,{onResize:this.onResize},{default:e})}return f}}),c0=$n({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:a,flexHeightRef:i,virtualScrollHeaderRef:l,syncScrollState:s}=Ro(JJ),d=vt(null),c=vt(null),u=vt(null),h=vt(!(n.value.length||t.value.length)),p=Qr((()=>({maxHeight:LB(r.value),minHeight:LB(a.value)})));const f={getBodyElement:function(){const{value:e}=c;return e?e.getScrollContainer():null},getHeaderElement:function(){var e;const{value:t}=d;return t?l.value?(null===(e=t.virtualListRef)||void 0===e?void 0:e.listElRef)||null:t.$el:null},scrollTo(e,t){var n;null===(n=c.value)||void 0===n||n.scrollTo(e,t)}};return Jo((()=>{const{value:t}=u;if(!t)return;const n=`${e.value}-data-table-base-table--transition-disabled`;h.value?setTimeout((()=>{t.classList.remove(n)}),0):t.classList.add(n)})),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:d,bodyInstRef:c,bodyStyle:p,flexHeight:i,handleBodyResize:function(e){o.value=e.contentRect.width,s(),h.value||(h.value=!0)}},f)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=void 0===t&&!n;return Jr("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:Jr(i0,{ref:"headerInstRef"}),Jr(d0,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}}),u0=[NA("fixed-left","\n left: 0;\n position: sticky;\n z-index: 2;\n ",[BA("&::after",'\n pointer-events: none;\n content: "";\n width: 36px;\n display: inline-block;\n position: absolute;\n top: 0;\n bottom: -1px;\n transition: box-shadow .2s var(--n-bezier);\n right: -36px;\n ')]),NA("fixed-right","\n right: 0;\n position: sticky;\n z-index: 1;\n ",[BA("&::before",'\n pointer-events: none;\n content: "";\n width: 36px;\n display: inline-block;\n position: absolute;\n top: 0;\n bottom: -1px;\n transition: box-shadow .2s var(--n-bezier);\n left: -36px;\n ')])],h0=BA([LA("data-table","\n width: 100%;\n font-size: var(--n-font-size);\n display: flex;\n flex-direction: column;\n position: relative;\n --n-merged-th-color: var(--n-th-color);\n --n-merged-td-color: var(--n-td-color);\n --n-merged-border-color: var(--n-border-color);\n --n-merged-th-color-sorting: var(--n-th-color-sorting);\n --n-merged-td-color-hover: var(--n-td-color-hover);\n --n-merged-td-color-sorting: var(--n-td-color-sorting);\n --n-merged-td-color-striped: var(--n-td-color-striped);\n ",[LA("data-table-wrapper","\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n "),NA("flex-height",[BA(">",[LA("data-table-wrapper",[BA(">",[LA("data-table-base-table","\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n ",[BA(">",[LA("data-table-base-table-body","flex-basis: 0;",[BA("&:last-child","flex-grow: 1;")])])])])])])]),BA(">",[LA("data-table-loading-wrapper","\n color: var(--n-loading-color);\n font-size: var(--n-loading-size);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n justify-content: center;\n ",[MK({originalTransform:"translateX(-50%) translateY(-50%)"})])]),LA("data-table-expand-placeholder","\n margin-right: 8px;\n display: inline-block;\n width: 16px;\n height: 1px;\n "),LA("data-table-indent","\n display: inline-block;\n height: 1px;\n "),LA("data-table-expand-trigger","\n display: inline-flex;\n margin-right: 8px;\n cursor: pointer;\n font-size: 16px;\n vertical-align: -0.2em;\n position: relative;\n width: 16px;\n height: 16px;\n color: var(--n-td-text-color);\n transition: color .3s var(--n-bezier);\n ",[NA("expanded",[LA("icon","transform: rotate(90deg);",[MV({originalTransform:"rotate(90deg)"})]),LA("base-icon","transform: rotate(90deg);",[MV({originalTransform:"rotate(90deg)"})])]),LA("base-loading","\n color: var(--n-loading-color);\n transition: color .3s var(--n-bezier);\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[MV()]),LA("icon","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[MV()]),LA("base-icon","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[MV()])]),LA("data-table-thead","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-merged-th-color);\n "),LA("data-table-tr","\n position: relative;\n box-sizing: border-box;\n background-clip: padding-box;\n transition: background-color .3s var(--n-bezier);\n ",[LA("data-table-expand","\n position: sticky;\n left: 0;\n overflow: hidden;\n margin: calc(var(--n-th-padding) * -1);\n padding: var(--n-th-padding);\n box-sizing: border-box;\n "),NA("striped","background-color: var(--n-merged-td-color-striped);",[LA("data-table-td","background-color: var(--n-merged-td-color-striped);")]),HA("summary",[BA("&:hover","background-color: var(--n-merged-td-color-hover);",[BA(">",[LA("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),LA("data-table-th","\n padding: var(--n-th-padding);\n position: relative;\n text-align: start;\n box-sizing: border-box;\n background-color: var(--n-merged-th-color);\n border-color: var(--n-merged-border-color);\n border-bottom: 1px solid var(--n-merged-border-color);\n color: var(--n-th-text-color);\n transition:\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n font-weight: var(--n-th-font-weight);\n ",[NA("filterable","\n padding-right: 36px;\n ",[NA("sortable","\n padding-right: calc(var(--n-th-padding) + 36px);\n ")]),u0,NA("selection","\n padding: 0;\n text-align: center;\n line-height: 0;\n z-index: 3;\n "),jA("title-wrapper","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n max-width: 100%;\n ",[jA("title","\n flex: 1;\n min-width: 0;\n ")]),jA("ellipsis","\n display: inline-block;\n vertical-align: bottom;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n "),NA("hover","\n background-color: var(--n-merged-th-color-hover);\n "),NA("sorting","\n background-color: var(--n-merged-th-color-sorting);\n "),NA("sortable","\n cursor: pointer;\n ",[jA("ellipsis","\n max-width: calc(100% - 18px);\n "),BA("&:hover","\n background-color: var(--n-merged-th-color-hover);\n ")]),LA("data-table-sorter","\n height: var(--n-sorter-size);\n width: var(--n-sorter-size);\n margin-left: 4px;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: -0.2em;\n color: var(--n-th-icon-color);\n transition: color .3s var(--n-bezier);\n ",[LA("base-icon","transition: transform .3s var(--n-bezier)"),NA("desc",[LA("base-icon","\n transform: rotate(0deg);\n ")]),NA("asc",[LA("base-icon","\n transform: rotate(-180deg);\n ")]),NA("asc, desc","\n color: var(--n-th-icon-color-active);\n ")]),LA("data-table-resize-button","\n width: var(--n-resizable-container-size);\n position: absolute;\n top: 0;\n right: calc(var(--n-resizable-container-size) / 2);\n bottom: 0;\n cursor: col-resize;\n user-select: none;\n ",[BA("&::after","\n width: var(--n-resizable-size);\n height: 50%;\n position: absolute;\n top: 50%;\n left: calc(var(--n-resizable-container-size) / 2);\n bottom: 0;\n background-color: var(--n-merged-border-color);\n transform: translateY(-50%);\n transition: background-color .3s var(--n-bezier);\n z-index: 1;\n content: '';\n "),NA("active",[BA("&::after"," \n background-color: var(--n-th-icon-color-active);\n ")]),BA("&:hover::after","\n background-color: var(--n-th-icon-color-active);\n ")]),LA("data-table-filter","\n position: absolute;\n z-index: auto;\n right: 0;\n width: 36px;\n top: 0;\n bottom: 0;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n font-size: var(--n-filter-size);\n color: var(--n-th-icon-color);\n ",[BA("&:hover","\n background-color: var(--n-th-button-color-hover);\n "),NA("show","\n background-color: var(--n-th-button-color-hover);\n "),NA("active","\n background-color: var(--n-th-button-color-hover);\n color: var(--n-th-icon-color-active);\n ")])]),LA("data-table-td","\n padding: var(--n-td-padding);\n text-align: start;\n box-sizing: border-box;\n border: none;\n background-color: var(--n-merged-td-color);\n color: var(--n-td-text-color);\n border-bottom: 1px solid var(--n-merged-border-color);\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ",[NA("expand",[LA("data-table-expand-trigger","\n margin-right: 0;\n ")]),NA("last-row","\n border-bottom: 0 solid var(--n-merged-border-color);\n ",[BA("&::after","\n bottom: 0 !important;\n "),BA("&::before","\n bottom: 0 !important;\n ")]),NA("summary","\n background-color: var(--n-merged-th-color);\n "),NA("hover","\n background-color: var(--n-merged-td-color-hover);\n "),NA("sorting","\n background-color: var(--n-merged-td-color-sorting);\n "),jA("ellipsis","\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n vertical-align: bottom;\n max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);\n "),NA("selection, expand","\n text-align: center;\n padding: 0;\n line-height: 0;\n "),u0]),LA("data-table-empty","\n box-sizing: border-box;\n padding: var(--n-empty-padding);\n flex-grow: 1;\n flex-shrink: 0;\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity .3s var(--n-bezier);\n ",[NA("hide","\n opacity: 0;\n ")]),jA("pagination","\n margin: var(--n-pagination-margin);\n display: flex;\n justify-content: flex-end;\n "),LA("data-table-wrapper","\n position: relative;\n opacity: 1;\n transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);\n border-top-left-radius: var(--n-border-radius);\n border-top-right-radius: var(--n-border-radius);\n line-height: var(--n-line-height);\n "),NA("loading",[LA("data-table-wrapper","\n opacity: var(--n-opacity-loading);\n pointer-events: none;\n ")]),NA("single-column",[LA("data-table-td","\n border-bottom: 0 solid var(--n-merged-border-color);\n ",[BA("&::after, &::before","\n bottom: 0 !important;\n ")])]),HA("single-line",[LA("data-table-th","\n border-right: 1px solid var(--n-merged-border-color);\n ",[NA("last","\n border-right: 0 solid var(--n-merged-border-color);\n ")]),LA("data-table-td","\n border-right: 1px solid var(--n-merged-border-color);\n ",[NA("last-col","\n border-right: 0 solid var(--n-merged-border-color);\n ")])]),NA("bordered",[LA("data-table-wrapper","\n border: 1px solid var(--n-merged-border-color);\n border-bottom-left-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n overflow: hidden;\n ")]),LA("data-table-base-table",[NA("transition-disabled",[LA("data-table-th",[BA("&::after, &::before","transition: none;")]),LA("data-table-td",[BA("&::after, &::before","transition: none;")])])]),NA("bottom-bordered",[LA("data-table-td",[NA("last-row","\n border-bottom: 1px solid var(--n-merged-border-color);\n ")])]),LA("data-table-table","\n font-variant-numeric: tabular-nums;\n width: 100%;\n word-break: break-word;\n transition: background-color .3s var(--n-bezier);\n border-collapse: separate;\n border-spacing: 0;\n background-color: var(--n-merged-td-color);\n "),LA("data-table-base-table-header","\n border-top-left-radius: calc(var(--n-border-radius) - 1px);\n border-top-right-radius: calc(var(--n-border-radius) - 1px);\n z-index: 3;\n overflow: scroll;\n flex-shrink: 0;\n transition: border-color .3s var(--n-bezier);\n scrollbar-width: none;\n ",[BA("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n display: none;\n width: 0;\n height: 0;\n ")]),LA("data-table-check-extra","\n transition: color .3s var(--n-bezier);\n color: var(--n-th-icon-color);\n position: absolute;\n font-size: 14px;\n right: -4px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n ")]),LA("data-table-filter-menu",[LA("scrollbar","\n max-height: 240px;\n "),jA("group","\n display: flex;\n flex-direction: column;\n padding: 12px 12px 0 12px;\n ",[LA("checkbox","\n margin-bottom: 12px;\n margin-right: 0;\n "),LA("radio","\n margin-bottom: 12px;\n margin-right: 0;\n ")]),jA("action","\n padding: var(--n-action-padding);\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-evenly;\n border-top: 1px solid var(--n-action-divider-color);\n ",[LA("button",[BA("&:not(:last-child)","\n margin: var(--n-action-button-margin);\n "),BA("&:last-child","\n margin-right: 0;\n ")])]),LA("divider","\n margin: 0 !important;\n ")]),WA(LA("data-table","\n --n-merged-th-color: var(--n-th-color-modal);\n --n-merged-td-color: var(--n-td-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n --n-merged-th-color-hover: var(--n-th-color-hover-modal);\n --n-merged-td-color-hover: var(--n-td-color-hover-modal);\n --n-merged-th-color-sorting: var(--n-th-color-hover-modal);\n --n-merged-td-color-sorting: var(--n-td-color-hover-modal);\n --n-merged-td-color-striped: var(--n-td-color-striped-modal);\n ")),VA(LA("data-table","\n --n-merged-th-color: var(--n-th-color-popover);\n --n-merged-td-color: var(--n-td-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n --n-merged-th-color-hover: var(--n-th-color-hover-popover);\n --n-merged-td-color-hover: var(--n-td-color-hover-popover);\n --n-merged-th-color-sorting: var(--n-th-color-hover-popover);\n --n-merged-td-color-sorting: var(--n-td-color-hover-popover);\n --n-merged-td-color-striped: var(--n-td-color-striped-popover);\n "))]);function p0(e,t){const n=Qr((()=>function(e,t){const n=[],o=[],r=[],a=new WeakMap;let i=-1,l=0,s=!1,d=0;return function e(a,c){c>i&&(n[c]=[],i=c),a.forEach((n=>{if("children"in n)e(n.children,c+1);else{const e="key"in n?n.key:void 0;o.push({key:t1(n),style:o1(n,void 0!==e?LB(t(e)):void 0),column:n,index:d++,width:void 0===n.width?128:Number(n.width)}),l+=1,s||(s=!!n.ellipsis),r.push(n)}}))}(e,0),d=0,function e(t,o){let r=0;t.forEach((t=>{var s;if("children"in t){const r=d,i={column:t,colIndex:d,colSpan:0,rowSpan:1,isLast:!1};e(t.children,o+1),t.children.forEach((e=>{var t,n;i.colSpan+=null!==(n=null===(t=a.get(e))||void 0===t?void 0:t.colSpan)&&void 0!==n?n:0})),r+i.colSpan===l&&(i.isLast=!0),a.set(t,i),n[o].push(i)}else{if(d1&&(r=d+e);const c={column:t,colSpan:e,colIndex:d,rowSpan:i-o+1,isLast:d+e===l};a.set(t,c),n[o].push(c),d+=1}}))}(e,0),{hasEllipsis:s,rows:n,cols:o,dataRelatedCols:r}}(e.columns,t)));return{rowsRef:Qr((()=>n.value.rows)),colsRef:Qr((()=>n.value.cols)),hasEllipsisRef:Qr((()=>n.value.hasEllipsis)),dataRelatedColsRef:Qr((()=>n.value.dataRelatedCols))}}function f0(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const a=vt(),i=vt(null),l=vt([]),s=vt(null),d=vt([]),c=Qr((()=>LB(e.scrollX))),u=Qr((()=>e.columns.filter((e=>"left"===e.fixed)))),h=Qr((()=>e.columns.filter((e=>"right"===e.fixed)))),p=Qr((()=>{const e={};let t=0;return function n(o){o.forEach((o=>{const r={start:t,end:0};e[t1(o)]=r,"children"in o?(n(o.children),r.end=t):(t+=e1(o)||0,r.end=t)}))}(u.value),e})),f=Qr((()=>{const e={};let t=0;return function n(o){for(let r=o.length-1;r>=0;--r){const a=o[r],i={start:t,end:0};e[t1(a)]=i,"children"in a?(n(a.children),i.end=t):(t+=e1(a)||0,i.end=t)}}(h.value),e}));function m(){return{header:t.value?t.value.getHeaderElement():null,body:t.value?t.value.getBodyElement():null}}function v(){const{header:t,body:n}=m();if(!n)return;const{value:c}=o;if(null!==c){if(e.maxHeight||e.flexHeight){if(!t)return;const e=r-t.scrollLeft;a.value=0!==e?"head":"body","head"===a.value?(r=t.scrollLeft,n.scrollLeft=r):(r=n.scrollLeft,t.scrollLeft=r)}else r=n.scrollLeft;!function(){var e,t;const{value:n}=u;let o=0;const{value:a}=p;let l=null;for(let i=0;i((null===(e=a[s])||void 0===e?void 0:e.start)||0)-o))break;l=s,o=(null===(t=a[s])||void 0===t?void 0:t.end)||0}i.value=l}(),function(){l.value=[];let t=e.columns.find((e=>t1(e)===i.value));for(;t&&"children"in t;){const e=t.children.length;if(0===e)break;const n=t.children[e-1];l.value.push(t1(n)),t=n}}(),function(){var t,n;const{value:a}=h,i=Number(e.scrollX),{value:l}=o;if(null===l)return;let d=0,c=null;const{value:u}=f;for(let e=a.length-1;e>=0;--e){const o=t1(a[e]);if(!(Math.round(r+((null===(t=u[o])||void 0===t?void 0:t.start)||0)+l-d)t1(e)===s.value));for(;t&&"children"in t&&t.children.length;){const e=t.children[0];d.value.push(t1(e)),t=e}}()}}return er(n,(()=>{!function(){const{body:e}=m();e&&(e.scrollTop=0)}()})),{styleScrollXRef:c,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:f,leftFixedColumnsRef:u,rightFixedColumnsRef:h,leftActiveFixedColKeyRef:i,leftActiveFixedChildrenColKeysRef:l,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:d,syncScrollState:v,handleTableBodyScroll:function(t){var n;null===(n=e.onScroll)||void 0===n||n.call(e,t),"head"!==a.value?ZA(v):a.value=void 0},handleTableHeaderScroll:function(){"body"!==a.value?ZA(v):a.value=void 0},setHeaderScrollLeft:function(e){const{header:t}=m();t&&(t.scrollLeft=e,v())}}}function m0(e){return"object"==typeof e&&"number"==typeof e.multiple&&e.multiple}function v0(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach((e=>{var t;void 0!==e.sorter&&d(o,{columnKey:e.key,sorter:e.sorter,order:null!==(t=e.defaultSortOrder)&&void 0!==t&&t})}));const r=vt(o),a=Qr((()=>{const e=t.value.filter((e=>"selection"!==e.type&&void 0!==e.sorter&&("ascend"===e.sortOrder||"descend"===e.sortOrder||!1===e.sortOrder))),n=e.filter((e=>!1!==e.sortOrder));if(n.length)return n.map((e=>({columnKey:e.key,order:e.sortOrder,sorter:e.sorter})));if(e.length)return[];const{value:o}=r;return Array.isArray(o)?o:o?[o]:[]}));function i(e){const t=function(e){let t=a.value.slice();return e&&!1!==m0(e.sorter)?(t=t.filter((e=>!1!==m0(e.sorter))),d(t,e),t):e||null}(e);l(t)}function l(t){const{"onUpdate:sorter":n,onUpdateSorter:o,onSorterChange:a}=e;n&&GB(n,t),o&&GB(o,t),a&&GB(a,t),r.value=t}function s(){l(null)}function d(e,t){const n=e.findIndex((e=>(null==t?void 0:t.columnKey)&&e.columnKey===t.columnKey));void 0!==n&&n>=0?e[n]=t:e.push(t)}return{clearSorter:s,sort:function(e,n="ascend"){if(e){const o=t.value.find((t=>"selection"!==t.type&&"expand"!==t.type&&t.key===e));if(!(null==o?void 0:o.sorter))return;const r=o.sorter;i({columnKey:e,sorter:r,order:n})}else s()},sortedDataRef:Qr((()=>{const e=a.value.slice().sort(((e,t)=>{const n=m0(e.sorter)||0;return(m0(t.sorter)||0)-n}));if(e.length){return n.value.slice().sort(((t,n)=>{let o=0;return e.some((e=>{const{columnKey:r,sorter:a,order:i}=e,l=function(e,t){return t&&(void 0===e||"default"===e||"object"==typeof e&&"default"===e.compare)?function(e){return(t,n)=>{const o=t[e],r=n[e];return null==o?null==r?0:-1:null==r?1:"number"==typeof o&&"number"==typeof r?o-r:"string"==typeof o&&"string"==typeof r?o.localeCompare(r):0}}(t):"function"==typeof e?e:!(!e||"object"!=typeof e||!e.compare||"default"===e.compare)&&e.compare}(a,r);return!(!l||!i||(o=l(t.rawNode,n.rawNode),0===o))&&(o*=function(e){return"ascend"===e?1:"descend"===e?-1:0}(i),!0)})),o}))}return n.value})),mergedSortStateRef:a,deriveNextSorter:i}}const g0=$n({name:"DataTable",alias:["AdvancedTable"],props:QJ,slots:Object,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:a}=fE(e),i=DW("DataTable",a,o),l=Qr((()=>{const{bottomBordered:t}=e;return!n.value&&(void 0===t||t)})),s=HW("DataTable","-data-table",h0,XJ,e,o),d=vt(null),c=vt(null),{getResizableWidth:u,clearResizableWidth:h,doUpdateResizableWidth:p}=function(){const e=vt({});return{getResizableWidth:function(t){return e.value[t]},doUpdateResizableWidth:function(t,n){i1(t)&&"key"in t&&(e.value[t.key]=n)},clearResizableWidth:function(){e.value={}}}}(),{rowsRef:f,colsRef:m,dataRelatedColsRef:v,hasEllipsisRef:g}=p0(e,u),{treeMateRef:b,mergedCurrentPageRef:y,paginatedDataRef:_,rawPaginatedDataRef:x,selectionColumnRef:C,hoverKeyRef:w,mergedPaginationRef:S,mergedFilterStateRef:k,mergedSortStateRef:P,childTriggerColIndexRef:T,doUpdatePage:R,doUpdateFilters:F,onUnstableColumnResize:z,deriveNextSorter:M,filter:$,filters:A,clearFilter:O,clearFilters:D,clearSorter:I,page:B,sort:E}=function(e,{dataRelatedColsRef:t}){const n=Qr((()=>{const t=e=>{for(let n=0;n{const{childrenKey:t}=e;return vK(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:e=>e[t],getDisabled:e=>{var t,o;return!!(null===(o=null===(t=n.value)||void 0===t?void 0:t.disabled)||void 0===o?void 0:o.call(t,e))}})})),r=oD((()=>{const{columns:t}=e,{length:n}=t;let o=null;for(let e=0;e{const e=t.value.filter((e=>void 0!==e.filterOptionValues||void 0!==e.filterOptionValue)),n={};return e.forEach((e=>{var t;"selection"!==e.type&&"expand"!==e.type&&(void 0===e.filterOptionValues?n[e.key]=null!==(t=e.filterOptionValue)&&void 0!==t?t:null:n[e.key]=e.filterOptionValues)})),Object.assign(n1(a.value),n)})),c=Qr((()=>{const t=d.value,{columns:n}=e;function r(e){return(t,n)=>!!~String(n[e]).indexOf(String(t))}const{value:{treeNodes:a}}=o,i=[];return n.forEach((e=>{"selection"===e.type||"expand"===e.type||"children"in e||i.push([e.key,e])})),a?a.filter((e=>{const{rawNode:n}=e;for(const[o,a]of i){let e=t[o];if(null==e)continue;if(Array.isArray(e)||(e=[e]),!e.length)continue;const i="default"===a.filter?r(o):a.filter;if(a&&"function"==typeof i){if("and"!==a.filterMode){if(e.some((e=>i(e,n))))continue;return!1}if(e.some((e=>!i(e,n))))return!1}}return!0})):[]})),{sortedDataRef:u,deriveNextSorter:h,mergedSortStateRef:p,sort:f,clearSorter:m}=v0(e,{dataRelatedColsRef:t,filteredDataRef:c});t.value.forEach((e=>{var t;if(e.filter){const n=e.defaultFilterOptionValues;e.filterMultiple?a.value[e.key]=n||[]:a.value[e.key]=void 0!==n?null===n?[]:n:null!==(t=e.defaultFilterOptionValue)&&void 0!==t?t:null}}));const v=Qr((()=>{const{pagination:t}=e;if(!1!==t)return t.page})),g=Qr((()=>{const{pagination:t}=e;if(!1!==t)return t.pageSize})),b=xD(v,l),y=xD(g,s),_=oD((()=>{const t=b.value;return e.remote?t:Math.max(1,Math.min(Math.ceil(c.value.length/y.value),t))})),x=Qr((()=>{const{pagination:t}=e;if(t){const{pageCount:e}=t;if(void 0!==e)return e}})),C=Qr((()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return u.value;const t=y.value,n=(_.value-1)*t;return u.value.slice(n,n+t)})),w=Qr((()=>C.value.map((e=>e.rawNode))));function S(t){const{pagination:n}=e;if(n){const{onChange:e,"onUpdate:page":o,onUpdatePage:r}=n;e&&GB(e,t),r&&GB(r,t),o&&GB(o,t),R(t)}}function k(t){const{pagination:n}=e;if(n){const{onPageSizeChange:e,"onUpdate:pageSize":o,onUpdatePageSize:r}=n;e&&GB(e,t),r&&GB(r,t),o&&GB(o,t),F(t)}}const P=Qr((()=>{if(!e.remote)return c.value.length;{const{pagination:t}=e;if(t){const{itemCount:e}=t;if(void 0!==e)return e}}})),T=Qr((()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":S,"onUpdate:pageSize":k,page:_.value,pageSize:y.value,pageCount:void 0===P.value?x.value:void 0,itemCount:P.value})));function R(t){const{"onUpdate:page":n,onPageChange:o,onUpdatePage:r}=e;r&&GB(r,t),n&&GB(n,t),o&&GB(o,t),l.value=t}function F(t){const{"onUpdate:pageSize":n,onPageSizeChange:o,onUpdatePageSize:r}=e;o&&GB(o,t),r&&GB(r,t),n&&GB(n,t),s.value=t}function z(){M({})}function M(e){$(e)}function $(e){e?e&&(a.value=n1(e)):a.value={}}return{treeMateRef:o,mergedCurrentPageRef:_,mergedPaginationRef:T,paginatedDataRef:C,rawPaginatedDataRef:w,mergedFilterStateRef:d,mergedSortStateRef:p,hoverKeyRef:vt(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:function(t,n){const{onUpdateFilters:o,"onUpdate:filters":r,onFiltersChange:i}=e;o&&GB(o,t,n),r&&GB(r,t,n),i&&GB(i,t,n),a.value=t},deriveNextSorter:h,doUpdatePageSize:F,doUpdatePage:R,onUnstableColumnResize:function(t,n,o,r){var a;null===(a=e.onUnstableColumnResize)||void 0===a||a.call(e,t,n,o,r)},filter:$,filters:M,clearFilter:function(){z()},clearFilters:z,clearSorter:m,page:function(e){R(e)},sort:f}}(e,{dataRelatedColsRef:v}),{doCheckAll:L,doUncheckAll:j,doCheck:N,doUncheck:H,headerCheckboxDisabledRef:W,someRowsCheckedRef:V,allRowsCheckedRef:U,mergedCheckedRowKeySetRef:q,mergedInderminateRowKeySetRef:K}=function(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,a=vt(e.defaultCheckedRowKeys),i=Qr((()=>{var t;const{checkedRowKeys:n}=e,i=void 0===n?a.value:n;return!1===(null===(t=r.value)||void 0===t?void 0:t.multiple)?{checkedKeys:i.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(i,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})})),l=Qr((()=>i.value.checkedKeys)),s=Qr((()=>i.value.indeterminateKeys)),d=Qr((()=>new Set(l.value))),c=Qr((()=>new Set(s.value))),u=Qr((()=>{const{value:e}=d;return n.value.reduce(((t,n)=>{const{key:o,disabled:r}=n;return t+(!r&&e.has(o)?1:0)}),0)})),h=Qr((()=>n.value.filter((e=>e.disabled)).length)),p=Qr((()=>{const{length:e}=n.value,{value:t}=c;return u.value>0&&u.valuet.has(e.key)))})),f=Qr((()=>{const{length:e}=n.value;return 0!==u.value&&u.value===e-h.value})),m=Qr((()=>0===n.value.length));function v(t,n,r){const{"onUpdate:checkedRowKeys":i,onUpdateCheckedRowKeys:l,onCheckedRowKeysChange:s}=e,d=[],{value:{getNode:c}}=o;t.forEach((e=>{var t;const n=null===(t=c(e))||void 0===t?void 0:t.rawNode;d.push(n)})),i&&GB(i,t,d,{row:n,action:r}),l&&GB(l,t,d,{row:n,action:r}),s&&GB(s,t,d,{row:n,action:r}),a.value=t}return{mergedCheckedRowKeySetRef:d,mergedCheckedRowKeysRef:l,mergedInderminateRowKeySetRef:c,someRowsCheckedRef:p,allRowsCheckedRef:f,headerCheckboxDisabledRef:m,doUpdateCheckedRowKeys:v,doCheckAll:function(t=!1){const{value:a}=r;if(!a||e.loading)return;const i=[];(t?o.value.treeNodes:n.value).forEach((e=>{e.disabled||i.push(e.key)})),v(o.value.check(i,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")},doUncheckAll:function(t=!1){const{value:a}=r;if(!a||e.loading)return;const i=[];(t?o.value.treeNodes:n.value).forEach((e=>{e.disabled||i.push(e.key)})),v(o.value.uncheck(i,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")},doCheck:function(t,n=!1,r){e.loading||v(n?Array.isArray(t)?t.slice(0,1):[t]:o.value.check(t,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,r,"check")},doUncheck:function(t,n){e.loading||v(o.value.uncheck(t,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,n,"uncheck")}}}(e,{selectionColumnRef:C,treeMateRef:b,paginatedDataRef:_}),{stickyExpandedRowsRef:Y,mergedExpandedRowKeysRef:G,renderExpandRef:X,expandableRef:Z,doUpdateExpandedRowKeys:Q}=function(e,t){const n=oD((()=>{for(const t of e.columns)if("expand"===t.type)return t.renderExpand})),o=oD((()=>{let t;for(const n of e.columns)if("expand"===n.type){t=n.expandable;break}return t})),r=vt(e.defaultExpandAll?(null==n?void 0:n.value)?(()=>{const e=[];return t.value.treeNodes.forEach((t=>{var n;(null===(n=o.value)||void 0===n?void 0:n.call(o,t.rawNode))&&e.push(t.key)})),e})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),a=Ft(e,"expandedRowKeys");return{stickyExpandedRowsRef:Ft(e,"stickyExpandedRows"),mergedExpandedRowKeysRef:xD(a,r),renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:function(t){const{onUpdateExpandedRowKeys:n,"onUpdate:expandedRowKeys":o}=e;n&&GB(n,t),o&&GB(o,t),r.value=t}}}(e,b),{handleTableBodyScroll:J,handleTableHeaderScroll:ee,syncScrollState:te,setHeaderScrollLeft:ne,leftActiveFixedColKeyRef:oe,leftActiveFixedChildrenColKeysRef:re,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:ie,leftFixedColumnsRef:le,rightFixedColumnsRef:se,fixedColumnLeftMapRef:de,fixedColumnRightMapRef:ce}=f0(e,{bodyWidthRef:d,mainTableInstRef:c,mergedCurrentPageRef:y}),{localeRef:ue}=AW("DataTable"),he=Qr((()=>e.virtualScroll||e.flexHeight||void 0!==e.maxHeight||g.value?"fixed":e.tableLayout));To(JJ,{props:e,treeMateRef:b,renderExpandIconRef:Ft(e,"renderExpandIcon"),loadingKeySetRef:vt(new Set),slots:t,indentRef:Ft(e,"indent"),childTriggerColIndexRef:T,bodyWidthRef:d,componentId:GO(),hoverKeyRef:w,mergedClsPrefixRef:o,mergedThemeRef:s,scrollXRef:Qr((()=>e.scrollX)),rowsRef:f,colsRef:m,paginatedDataRef:_,leftActiveFixedColKeyRef:oe,leftActiveFixedChildrenColKeysRef:re,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:ie,leftFixedColumnsRef:le,rightFixedColumnsRef:se,fixedColumnLeftMapRef:de,fixedColumnRightMapRef:ce,mergedCurrentPageRef:y,someRowsCheckedRef:V,allRowsCheckedRef:U,mergedSortStateRef:P,mergedFilterStateRef:k,loadingRef:Ft(e,"loading"),rowClassNameRef:Ft(e,"rowClassName"),mergedCheckedRowKeySetRef:q,mergedExpandedRowKeysRef:G,mergedInderminateRowKeySetRef:K,localeRef:ue,expandableRef:Z,stickyExpandedRowsRef:Y,rowKeyRef:Ft(e,"rowKey"),renderExpandRef:X,summaryRef:Ft(e,"summary"),virtualScrollRef:Ft(e,"virtualScroll"),virtualScrollXRef:Ft(e,"virtualScrollX"),heightForRowRef:Ft(e,"heightForRow"),minRowHeightRef:Ft(e,"minRowHeight"),virtualScrollHeaderRef:Ft(e,"virtualScrollHeader"),headerHeightRef:Ft(e,"headerHeight"),rowPropsRef:Ft(e,"rowProps"),stripedRef:Ft(e,"striped"),checkOptionsRef:Qr((()=>{const{value:e}=C;return null==e?void 0:e.options})),rawPaginatedDataRef:x,filterMenuCssVarsRef:Qr((()=>{const{self:{actionDividerColor:e,actionPadding:t,actionButtonMargin:n}}=s.value;return{"--n-action-padding":t,"--n-action-button-margin":n,"--n-action-divider-color":e}})),onLoadRef:Ft(e,"onLoad"),mergedTableLayoutRef:he,maxHeightRef:Ft(e,"maxHeight"),minHeightRef:Ft(e,"minHeight"),flexHeightRef:Ft(e,"flexHeight"),headerCheckboxDisabledRef:W,paginationBehaviorOnFilterRef:Ft(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ft(e,"summaryPlacement"),filterIconPopoverPropsRef:Ft(e,"filterIconPopoverProps"),scrollbarPropsRef:Ft(e,"scrollbarProps"),syncScrollState:te,doUpdatePage:R,doUpdateFilters:F,getResizableWidth:u,onUnstableColumnResize:z,clearResizableWidth:h,doUpdateResizableWidth:p,deriveNextSorter:M,doCheck:N,doUncheck:H,doCheckAll:L,doUncheckAll:j,doUpdateExpandedRowKeys:Q,handleTableHeaderScroll:ee,handleTableBodyScroll:J,setHeaderScrollLeft:ne,renderCell:Ft(e,"renderCell")});const pe={filter:$,filters:A,clearFilters:D,clearSorter:I,page:B,sort:E,clearFilter:O,downloadCsv:t=>{const{fileName:n="data.csv",keepOriginalData:o=!1}=t||{},r=o?e.data:x.value,a=function(e,t,n,o){const r=e.filter((e=>"expand"!==e.type&&"selection"!==e.type&&!1!==e.allowExport));return[r.map((e=>o?o(e):e.title)).join(","),...t.map((e=>r.map((t=>{return n?n(e[t.key],e,t):"string"==typeof(o=e[t.key])?o.replace(/,/g,"\\,"):null==o?"":`${o}`.replace(/,/g,"\\,");var o})).join(",")))].join("\n")}(e.columns,r,e.getCsvCell,e.getCsvHeader),i=new Blob([a],{type:"text/csv;charset=utf-8"}),l=URL.createObjectURL(i);NB(l,n.endsWith(".csv")?n:`${n}.csv`),URL.revokeObjectURL(l)},scrollTo:(e,t)=>{var n;null===(n=c.value)||void 0===n||n.scrollTo(e,t)}},fe=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{borderColor:o,tdColorHover:r,tdColorSorting:a,tdColorSortingModal:i,tdColorSortingPopover:l,thColorSorting:d,thColorSortingModal:c,thColorSortingPopover:u,thColor:h,thColorHover:p,tdColor:f,tdTextColor:m,thTextColor:v,thFontWeight:g,thButtonColorHover:b,thIconColor:y,thIconColorActive:_,filterSize:x,borderRadius:C,lineHeight:w,tdColorModal:S,thColorModal:k,borderColorModal:P,thColorHoverModal:T,tdColorHoverModal:R,borderColorPopover:F,thColorPopover:z,tdColorPopover:M,tdColorHoverPopover:$,thColorHoverPopover:A,paginationMargin:O,emptyPadding:D,boxShadowAfter:I,boxShadowBefore:B,sorterSize:E,resizableContainerSize:L,resizableSize:j,loadingColor:N,loadingSize:H,opacityLoading:W,tdColorStriped:V,tdColorStripedModal:U,tdColorStripedPopover:q,[KA("fontSize",t)]:K,[KA("thPadding",t)]:Y,[KA("tdPadding",t)]:G}}=s.value;return{"--n-font-size":K,"--n-th-padding":Y,"--n-td-padding":G,"--n-bezier":n,"--n-border-radius":C,"--n-line-height":w,"--n-border-color":o,"--n-border-color-modal":P,"--n-border-color-popover":F,"--n-th-color":h,"--n-th-color-hover":p,"--n-th-color-modal":k,"--n-th-color-hover-modal":T,"--n-th-color-popover":z,"--n-th-color-hover-popover":A,"--n-td-color":f,"--n-td-color-hover":r,"--n-td-color-modal":S,"--n-td-color-hover-modal":R,"--n-td-color-popover":M,"--n-td-color-hover-popover":$,"--n-th-text-color":v,"--n-td-text-color":m,"--n-th-font-weight":g,"--n-th-button-color-hover":b,"--n-th-icon-color":y,"--n-th-icon-color-active":_,"--n-filter-size":x,"--n-pagination-margin":O,"--n-empty-padding":D,"--n-box-shadow-before":B,"--n-box-shadow-after":I,"--n-sorter-size":E,"--n-resizable-container-size":L,"--n-resizable-size":j,"--n-loading-size":H,"--n-loading-color":N,"--n-opacity-loading":W,"--n-td-color-striped":V,"--n-td-color-striped-modal":U,"--n-td-color-striped-popover":q,"n-td-color-sorting":a,"n-td-color-sorting-modal":i,"n-td-color-sorting-popover":l,"n-th-color-sorting":d,"n-th-color-sorting-modal":c,"n-th-color-sorting-popover":u}})),me=r?vE("data-table",Qr((()=>e.size[0])),fe,e):void 0,ve=Qr((()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const t=S.value,{pageCount:n}=t;return void 0!==n?n>1:t.itemCount&&t.pageSize&&t.itemCount>t.pageSize}));return Object.assign({mainTableInstRef:c,mergedClsPrefix:o,rtlEnabled:i,mergedTheme:s,paginatedData:_,mergedBordered:n,mergedBottomBordered:l,mergedPagination:S,mergedShowPagination:ve,cssVars:r?void 0:fe,themeClass:null==me?void 0:me.themeClass,onRender:null==me?void 0:me.onRender},pe)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return null==n||n(),Jr("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},Jr("div",{class:`${e}-data-table-wrapper`},Jr(c0,{ref:"mainTableInstRef"})),this.mergedShowPagination?Jr("div",{class:`${e}-data-table__pagination`},Jr(DJ,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,Jr(ha,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?Jr("div",{class:`${e}-data-table-loading-wrapper`},lE(o.loading,(()=>[Jr(NV,Object.assign({clsPrefix:e,strokeWidth:20},r))]))):null}))}}),b0={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function y0(e){const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:a,opacityDisabled:i,boxShadow2:l,borderRadius:s,iconColor:d,iconColorDisabled:c}=e;return Object.assign(Object.assign({},b0),{panelColor:t,panelBoxShadow:l,panelDividerColor:a,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:i,itemBorderRadius:s,borderRadius:s,iconColor:d,iconColorDisabled:c})}const _0={name:"TimePicker",common:Eq,peers:{Scrollbar:Nq,Button:xG,Input:zY},self:y0},x0={name:"TimePicker",common:KU,peers:{Scrollbar:Hq,Button:CG,Input:FY},self:y0},C0={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"};function w0(e){const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:a,primaryColor:i,borderRadiusSmall:l,iconColor:s,iconColorDisabled:d,textColor1:c,dividerColor:u,boxShadow2:h,borderRadius:p,fontWeightStrong:f}=e;return Object.assign(Object.assign({},C0),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:a,itemTextColorCurrent:i,itemColorIncluded:DO(i,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:i,itemBorderRadius:l,panelColor:a,panelTextColor:o,arrowColor:s,calendarTitleTextColor:c,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:u,calendarDaysDividerColor:u,calendarDividerColor:u,panelActionDividerColor:u,panelBoxShadow:h,panelBorderRadius:p,calendarTitleFontWeight:f,scrollItemBorderRadius:p,iconColor:s,iconColorDisabled:d})}const S0={name:"DatePicker",common:Eq,peers:{Input:zY,Button:xG,TimePicker:_0,Scrollbar:Nq},self:w0},k0={name:"DatePicker",common:KU,peers:{Input:FY,Button:CG,TimePicker:x0,Scrollbar:Hq},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=w0(e);return r.itemColorDisabled=OO(t,n),r.itemColorIncluded=DO(o,{alpha:.15}),r.itemColorHover=OO(t,n),r}},P0="n-date-picker",T0=40,R0={active:Boolean,dateFormat:String,calendarDayFormat:String,calendarHeaderYearFormat:String,calendarHeaderMonthFormat:String,calendarHeaderMonthYearSeparator:{type:String,required:!0},calendarHeaderMonthBeforeYear:{type:Boolean,default:void 0},timerPickerFormat:{type:String,value:"HH:mm:ss"},value:{type:[Array,Number],default:null},shortcuts:Object,defaultTime:[Number,String,Array],inputReadonly:Boolean,onClear:Function,onConfirm:Function,onClose:Function,onTabOut:Function,onKeydown:Function,actions:Array,onUpdateValue:{type:Function,required:!0},themeClass:String,onRender:Function,panel:Boolean,onNextMonth:Function,onPrevMonth:Function,onNextYear:Function,onPrevYear:Function};function F0(e){const{dateLocaleRef:t,timePickerSizeRef:n,timePickerPropsRef:o,localeRef:r,mergedClsPrefixRef:a,mergedThemeRef:i}=Ro(P0),l=Qr((()=>({locale:t.value.locale}))),s=vt(null),d=TD();function c(t,n){const{onUpdateValue:o}=e;o(t,n)}function u(t=!1){const{onClose:n}=e;n&&n(t)}function h(){const{onTabOut:t}=e;t&&t()}let p=null,f=!1;function m(){f&&(c(p,!1),f=!1)}const v=vt(!1);return{mergedTheme:i,mergedClsPrefix:a,dateFnsOptions:l,timePickerSize:n,timePickerProps:o,selfRef:s,locale:r,doConfirm:function(){const{onConfirm:t,value:n}=e;t&&t(n)},doClose:u,doUpdateValue:c,doTabOut:h,handleClearClick:function(){c(null,!0),u(!0),function(){const{onClear:t}=e;t&&t()}()},handleFocusDetectorFocus:function(){h()},disableTransitionOneTick:function(){(e.active||e.panel)&&Kt((()=>{const{value:e}=s;if(!e)return;const t=e.querySelectorAll("[data-n-date]");t.forEach((e=>{e.classList.add("transition-disabled")})),e.offsetWidth,t.forEach((e=>{e.classList.remove("transition-disabled")}))}))},handlePanelKeyDown:function(e){"Tab"===e.key&&e.target===s.value&&d.shift&&(e.preventDefault(),h())},handlePanelFocus:function(e){const{value:t}=s;d.tab&&e.target===t&&(null==t?void 0:t.contains(e.relatedTarget))&&h()},cachePendingValue:function(){p=e.value,f=!0},clearPendingValue:function(){f=!1},restorePendingValue:m,getShortcutValue:function(e){return"function"==typeof e?e():e},handleShortcutMouseleave:m,showMonthYearPanel:v,handleOpenQuickSelectMonthPanel:function(){v.value=!v.value}}}const z0=Object.assign(Object.assign({},R0),{defaultCalendarStartTime:Number,actions:{type:Array,default:()=>["now","clear","confirm"]}});function M0(e,t){var n;const o=F0(e),{isValueInvalidRef:r,isDateDisabledRef:a,isDateInvalidRef:i,isTimeInvalidRef:l,isDateTimeInvalidRef:s,isHourDisabledRef:d,isMinuteDisabledRef:c,isSecondDisabledRef:u,localeRef:h,firstDayOfWeekRef:p,datePickerSlots:f,yearFormatRef:m,monthFormatRef:v,quarterFormatRef:g,yearRangeRef:b}=Ro(P0),y={isValueInvalid:r,isDateDisabled:a,isDateInvalid:i,isTimeInvalid:l,isDateTimeInvalid:s,isHourDisabled:d,isMinuteDisabled:c,isSecondDisabled:u},_=Qr((()=>e.dateFormat||h.value.dateFormat)),x=Qr((()=>e.calendarDayFormat||h.value.dayFormat)),C=vt(null===e.value||Array.isArray(e.value)?"":CX(e.value,_.value)),w=vt(null===e.value||Array.isArray(e.value)?null!==(n=e.defaultCalendarStartTime)&&void 0!==n?n:Date.now():e.value),S=vt(null),k=vt(null),P=vt(null),T=vt(Date.now()),R=Qr((()=>{var n;return UZ(w.value,e.value,T.value,null!==(n=p.value)&&void 0!==n?n:h.value.firstDayOfWeek,!1,"week"===t)})),F=Qr((()=>{const{value:t}=e;return qZ(w.value,Array.isArray(t)?null:t,T.value,{monthFormat:v.value})})),z=Qr((()=>{const{value:t}=e;return YZ(Array.isArray(t)?null:t,T.value,{yearFormat:m.value},b)})),M=Qr((()=>{const{value:t}=e;return KZ(w.value,Array.isArray(t)?null:t,T.value,{quarterFormat:g.value})})),$=Qr((()=>R.value.slice(0,7).map((e=>{const{ts:t}=e;return CX(t,x.value,o.dateFnsOptions.value)})))),A=Qr((()=>CX(w.value,e.calendarHeaderMonthFormat||h.value.monthFormat,o.dateFnsOptions.value))),O=Qr((()=>CX(w.value,e.calendarHeaderYearFormat||h.value.yearFormat,o.dateFnsOptions.value))),D=Qr((()=>{var t;return null!==(t=e.calendarHeaderMonthBeforeYear)&&void 0!==t?t:h.value.monthBeforeYear}));function I(e){var n;if("datetime"===t)return zX(RZ(e));if("month"===t)return zX(VG(e));if("year"===t)return zX(UG(e));if("quarter"===t)return zX(WG(e));if("week"===t){return zX($E(e,{weekStartsOn:((null!==(n=p.value)&&void 0!==n?n:h.value.firstDayOfWeek)+1)%7}))}return zX(EG(e))}function B(e,t){const{isDateDisabled:{value:n}}=y;return!!n&&n(e,t)}er(w,((e,n)=>{"date"!==t&&"datetime"!==t||PZ(e,n)||o.disableTransitionOneTick()})),er(Qr((()=>e.value)),(e=>{null===e||Array.isArray(e)?C.value="":(C.value=CX(e,_.value,o.dateFnsOptions.value),w.value=e)}));const E=vt(null);function L(){y.isDateInvalid.value||y.isTimeInvalid.value||(o.doConfirm(),e.active&&o.doClose())}function j(t){const{value:n}=e;if(P.value){const e=RX(void 0===t?null===n?Date.now():n:t);P.value.scrollTo({top:e*T0})}if(S.value){const e=MX(void 0===t?null===n?Date.now():n:t)-b.value[0];S.value.scrollTo({top:e*T0})}}const N={monthScrollbarRef:P,yearScrollbarRef:k,yearVlRef:S};return Object.assign(Object.assign(Object.assign(Object.assign({dateArray:R,monthArray:F,yearArray:z,quarterArray:M,calendarYear:O,calendarMonth:A,weekdays:$,calendarMonthBeforeYear:D,mergedIsDateDisabled:B,nextYear:function(){var t;w.value=zX(jG(w.value,1)),null===(t=e.onNextYear)||void 0===t||t.call(e)},prevYear:function(){var t;w.value=zX(jG(w.value,-1)),null===(t=e.onPrevYear)||void 0===t||t.call(e)},nextMonth:function(){var t;w.value=zX(OG(w.value,1)),null===(t=e.onNextMonth)||void 0===t||t.call(e)},prevMonth:function(){var t;w.value=zX(OG(w.value,-1)),null===(t=e.onPrevMonth)||void 0===t||t.call(e)},handleNowClick:function(){o.doUpdateValue(zX(I(Date.now())),!0);const n=Date.now();w.value=n,o.doClose(!0),!e.panel||"month"!==t&&"quarter"!==t&&"year"!==t||(o.disableTransitionOneTick(),j(n))},handleConfirmClick:L,handleSingleShortcutMouseenter:function(e){o.cachePendingValue();const t=o.getShortcutValue(e);"number"==typeof t&&o.doUpdateValue(t,!1)},handleSingleShortcutClick:function(t){const n=o.getShortcutValue(t);"number"==typeof n&&(o.doUpdateValue(n,e.panel),o.clearPendingValue(),L())}},y),o),N),{handleDateClick:function(n){if(B(n.ts,"date"===n.type?{type:"date",year:n.dateObject.year,month:n.dateObject.month,date:n.dateObject.date}:"month"===n.type?{type:"month",year:n.dateObject.year,month:n.dateObject.month}:"year"===n.type?{type:"year",year:n.dateObject.year}:{type:"quarter",year:n.dateObject.year,quarter:n.dateObject.quarter}))return;let r;if(r=null===e.value||Array.isArray(e.value)?Date.now():e.value,"datetime"===t&&null!==e.defaultTime&&!Array.isArray(e.defaultTime)){const t=XZ(e.defaultTime);t&&(r=zX(MZ(r,t)))}switch(r=zX("quarter"===n.type&&n.dateObject.quarter?function(e,t){const n=FE(e),o=t-(Math.trunc(n.getMonth()/3)+1);return zZ(n,n.getMonth()+3*o)}(DZ(r,n.dateObject.year),n.dateObject.quarter):MZ(r,n.dateObject)),o.doUpdateValue(I(r),e.panel||"date"===t||"week"===t||"year"===t),t){case"date":case"week":o.doClose();break;case"year":e.panel&&o.disableTransitionOneTick(),o.doClose();break;case"month":case"quarter":o.disableTransitionOneTick(),j(r)}},handleDateInputBlur:function(){const t=GZ(C.value,_.value,new Date,o.dateFnsOptions.value);if(NG(t)){if(null===e.value)o.doUpdateValue(zX(I(Date.now())),!1);else if(!Array.isArray(e.value)){const n=MZ(e.value,{year:MX(t),month:RX(t),date:SX(t)});o.doUpdateValue(zX(I(zX(n))),!1)}}else!function(t){if(null===e.value||Array.isArray(e.value))return void(C.value="");void 0===t&&(t=e.value);C.value=CX(t,_.value,o.dateFnsOptions.value)}()},handleDateInput:function(t){const n=GZ(t,_.value,new Date,o.dateFnsOptions.value);if(NG(n)){if(null===e.value)o.doUpdateValue(zX(I(Date.now())),e.panel);else if(!Array.isArray(e.value)){const t=MZ(e.value,{year:MX(n),month:RX(n),date:SX(n)});o.doUpdateValue(zX(I(zX(t))),e.panel)}}else C.value=t},handleDateMouseEnter:function(e){"date"===e.type&&"week"===t&&(E.value=I(zX(e.ts)))},isWeekHovered:function(e){return"date"===e.type&&"week"===t&&I(zX(e.ts))===E.value},handleTimePickerChange:function(t){null!==t&&o.doUpdateValue(t,e.panel)},clearSelectedDateTime:function(){o.doUpdateValue(null,!0),C.value="",o.doClose(!0),o.handleClearClick()},virtualListContainer:function(){const{value:e}=S;return(null==e?void 0:e.listElRef)||null},virtualListContent:function(){const{value:e}=S;return(null==e?void 0:e.itemsElRef)||null},handleVirtualListScroll:function(){var e;null===(e=k.value)||void 0===e||e.sync()},timePickerSize:o.timePickerSize,dateInputValue:C,datePickerSlots:f,handleQuickMonthClick:function(t,n){let o;o=null===e.value||Array.isArray(e.value)?Date.now():e.value,o=zX("month"===t.type?zZ(o,t.dateObject.month):DZ(o,t.dateObject.year)),n(o),j(o)},justifyColumnsScrollState:j,calendarValue:w,onUpdateCalendarValue:function(e){w.value=e}})}const $0=$n({name:"MonthPanel",props:Object.assign(Object.assign({},z0),{type:{type:String,required:!0},useAsQuickJump:Boolean}),setup(e){const t=M0(e,e.type),{dateLocaleRef:n}=AW("DatePicker"),{useAsQuickJump:o}=e;return Kn((()=>{t.justifyColumnsScrollState()})),Object.assign(Object.assign({},t),{renderItem:(r,a,i)=>{const{mergedIsDateDisabled:l,handleDateClick:s,handleQuickMonthClick:d}=t;return Jr("div",{"data-n-date":!0,key:a,class:[`${i}-date-panel-month-calendar__picker-col-item`,r.isCurrent&&`${i}-date-panel-month-calendar__picker-col-item--current`,r.selected&&`${i}-date-panel-month-calendar__picker-col-item--selected`,!o&&l(r.ts,"year"===r.type?{type:"year",year:r.dateObject.year}:"month"===r.type?{type:"month",year:r.dateObject.year,month:r.dateObject.month}:"quarter"===r.type?{type:"month",year:r.dateObject.year,month:r.dateObject.quarter}:null)&&`${i}-date-panel-month-calendar__picker-col-item--disabled`],onClick:()=>{o?d(r,(t=>{e.onUpdateValue(t,!1)})):s(r)}},(e=>{switch(e.type){case"year":return jZ(e.dateObject.year,e.yearFormat,n.value.locale);case"month":return LZ(e.dateObject.month,e.monthFormat,n.value.locale);case"quarter":return NZ(e.dateObject.quarter,e.quarterFormat,n.value.locale)}})(r))}})},render(){const{mergedClsPrefix:e,mergedTheme:t,shortcuts:n,actions:o,renderItem:r,type:a,onRender:i}=this;return null==i||i(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${e}-date-panel`,`${e}-date-panel--month`,!this.panel&&`${e}-date-panel--shadow`,this.themeClass],onFocus:this.handlePanelFocus,onKeydown:this.handlePanelKeyDown},Jr("div",{class:`${e}-date-panel-month-calendar`},Jr(Vq,{ref:"yearScrollbarRef",class:`${e}-date-panel-month-calendar__picker-col`,theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar,container:this.virtualListContainer,content:this.virtualListContent,horizontalRailStyle:{zIndex:1},verticalRailStyle:{zIndex:1}},{default:()=>Jr(kB,{ref:"yearVlRef",items:this.yearArray,itemSize:T0,showScrollbar:!1,keyField:"ts",onScroll:this.handleVirtualListScroll,paddingBottom:4},{default:({item:t,index:n})=>r(t,n,e)})}),"month"===a||"quarter"===a?Jr("div",{class:`${e}-date-panel-month-calendar__picker-col`},Jr(Vq,{ref:"monthScrollbarRef",theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar},{default:()=>[("month"===a?this.monthArray:this.quarterArray).map(((t,n)=>r(t,n,e))),Jr("div",{class:`${e}-date-panel-${a}-calendar__padding`})]})):null),dE(this.datePickerSlots.footer,(t=>t?Jr("div",{class:`${e}-date-panel-footer`},t):null)),(null==o?void 0:o.length)||n?Jr("div",{class:`${e}-date-panel-actions`},Jr("div",{class:`${e}-date-panel-actions__prefix`},n&&Object.keys(n).map((e=>{const t=n[e];return Array.isArray(t)?null:Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleSingleShortcutMouseenter(t)},onClick:()=>{this.handleSingleShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e})}))),Jr("div",{class:`${e}-date-panel-actions__suffix`},(null==o?void 0:o.includes("clear"))?sE(this.datePickerSlots.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null==o?void 0:o.includes("now"))?sE(this.datePickerSlots.now,{onNow:this.handleNowClick,text:this.locale.now},(()=>[Jr(SG,{theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,size:"tiny",onClick:this.handleNowClick},{default:()=>this.locale.now})])):null,(null==o?void 0:o.includes("confirm"))?sE(this.datePickerSlots.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isDateInvalid,text:this.locale.confirm},(()=>[Jr(SG,{theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isDateInvalid,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),A0=$n({props:{mergedClsPrefix:{type:String,required:!0},value:Number,monthBeforeYear:{type:Boolean,required:!0},monthYearSeparator:{type:String,required:!0},calendarMonth:{type:String,required:!0},calendarYear:{type:String,required:!0},onUpdateValue:{type:Function,required:!0}},setup(){const e=vt(null),t=vt(null),n=vt(!1);return{show:n,triggerRef:e,monthPanelRef:t,handleHeaderClick:function(){n.value=!n.value},handleClickOutside:function(t){var o;n.value&&!(null===(o=e.value)||void 0===o?void 0:o.contains(JA(t)))&&(n.value=!1)}}},render(){const{handleClickOutside:e,mergedClsPrefix:t}=this;return Jr("div",{class:`${t}-date-panel-month__month-year`,ref:"triggerRef"},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{class:[`${t}-date-panel-month__text`,this.show&&`${t}-date-panel-month__text--active`],onClick:this.handleHeaderClick},this.monthBeforeYear?[this.calendarMonth,this.monthYearSeparator,this.calendarYear]:[this.calendarYear,this.monthYearSeparator,this.calendarMonth])}),Jr(FI,{show:this.show,teleportDisabled:!0},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:!0},{default:()=>this.show?on(Jr($0,{ref:"monthPanelRef",onUpdateValue:this.onUpdateValue,actions:[],calendarHeaderMonthYearSeparator:this.monthYearSeparator,type:"month",key:"month",useAsQuickJump:!0,value:this.value}),[[sI,e,void 0,{capture:!0}]]):null})})]}))}}),O0=$n({name:"DatePanel",props:Object.assign(Object.assign({},z0),{type:{type:String,required:!0}}),setup:e=>M0(e,e.type),render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,onRender:i,datePickerSlots:l,type:s}=this;return null==i||i(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--${s}`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onFocus:this.handlePanelFocus,onKeydown:this.handlePanelKeyDown},Jr("div",{class:`${o}-date-panel-calendar`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.prevYear},lE(l["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.prevMonth},lE(l["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.calendarValue,onUpdateValue:this.onUpdateCalendarValue,mergedClsPrefix:o,calendarMonth:this.calendarMonth,calendarYear:this.calendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.nextMonth},lE(l["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.nextYear},lE(l["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel-dates`},this.dateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts,{type:"date",year:e.dateObject.year,month:e.dateObject.month,date:e.dateObject.date}),[`${o}-date-panel-date--week-hovered`]:this.isWeekHovered(e),[`${o}-date-panel-date--week-selected`]:e.inSelectedWeek}],onClick:()=>{this.handleDateClick(e)},onMouseenter:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null))))),this.datePickerSlots.footer?Jr("div",{class:`${o}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)?null:Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleSingleShortcutMouseenter(t)},onClick:()=>{this.handleSingleShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e})}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(this.$slots.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("now"))?sE(this.$slots.now,{onNow:this.handleNowClick,text:this.locale.now},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleNowClick},{default:()=>this.locale.now})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),D0=Object.assign(Object.assign({},R0),{defaultCalendarStartTime:Number,defaultCalendarEndTime:Number,bindCalendarMonths:Boolean,actions:{type:Array,default:()=>["clear","confirm"]}});function I0(e,t){var n,o;const{isDateDisabledRef:r,isStartHourDisabledRef:a,isEndHourDisabledRef:i,isStartMinuteDisabledRef:l,isEndMinuteDisabledRef:s,isStartSecondDisabledRef:d,isEndSecondDisabledRef:c,isStartDateInvalidRef:u,isEndDateInvalidRef:h,isStartTimeInvalidRef:p,isEndTimeInvalidRef:f,isStartValueInvalidRef:m,isEndValueInvalidRef:v,isRangeInvalidRef:g,localeRef:b,rangesRef:y,closeOnSelectRef:_,updateValueOnCloseRef:x,firstDayOfWeekRef:C,datePickerSlots:w,monthFormatRef:S,yearFormatRef:k,quarterFormatRef:P,yearRangeRef:T}=Ro(P0),R={isDateDisabled:r,isStartHourDisabled:a,isEndHourDisabled:i,isStartMinuteDisabled:l,isEndMinuteDisabled:s,isStartSecondDisabled:d,isEndSecondDisabled:c,isStartDateInvalid:u,isEndDateInvalid:h,isStartTimeInvalid:p,isEndTimeInvalid:f,isStartValueInvalid:m,isEndValueInvalid:v,isRangeInvalid:g},F=F0(e),z=vt(null),M=vt(null),$=vt(null),A=vt(null),O=vt(null),D=vt(null),I=vt(null),B=vt(null),{value:E}=e,L=null!==(n=e.defaultCalendarStartTime)&&void 0!==n?n:Array.isArray(E)&&"number"==typeof E[0]?E[0]:Date.now(),j=vt(L),N=vt(null!==(o=e.defaultCalendarEndTime)&&void 0!==o?o:Array.isArray(E)&&"number"==typeof E[1]?E[1]:zX(OG(L,1)));fe(!0);const H=vt(Date.now()),W=vt(!1),V=vt(0),U=Qr((()=>e.dateFormat||b.value.dateFormat)),q=Qr((()=>e.calendarDayFormat||b.value.dayFormat)),K=vt(Array.isArray(E)?CX(E[0],U.value,F.dateFnsOptions.value):""),Y=vt(Array.isArray(E)?CX(E[1],U.value,F.dateFnsOptions.value):""),G=Qr((()=>W.value?"end":"start")),X=Qr((()=>{var t;return UZ(j.value,e.value,H.value,null!==(t=C.value)&&void 0!==t?t:b.value.firstDayOfWeek)})),Z=Qr((()=>{var t;return UZ(N.value,e.value,H.value,null!==(t=C.value)&&void 0!==t?t:b.value.firstDayOfWeek)})),Q=Qr((()=>X.value.slice(0,7).map((e=>{const{ts:t}=e;return CX(t,q.value,F.dateFnsOptions.value)})))),J=Qr((()=>CX(j.value,e.calendarHeaderMonthFormat||b.value.monthFormat,F.dateFnsOptions.value))),ee=Qr((()=>CX(N.value,e.calendarHeaderMonthFormat||b.value.monthFormat,F.dateFnsOptions.value))),te=Qr((()=>CX(j.value,e.calendarHeaderYearFormat||b.value.yearFormat,F.dateFnsOptions.value))),ne=Qr((()=>CX(N.value,e.calendarHeaderYearFormat||b.value.yearFormat,F.dateFnsOptions.value))),oe=Qr((()=>{const{value:t}=e;return Array.isArray(t)?t[0]:null})),re=Qr((()=>{const{value:t}=e;return Array.isArray(t)?t[1]:null})),ae=Qr((()=>{const{shortcuts:t}=e;return t||y.value})),ie=Qr((()=>YZ(ZZ(e.value,"start"),H.value,{yearFormat:k.value},T))),le=Qr((()=>YZ(ZZ(e.value,"end"),H.value,{yearFormat:k.value},T))),se=Qr((()=>{const t=ZZ(e.value,"start");return KZ(null!=t?t:Date.now(),t,H.value,{quarterFormat:P.value})})),de=Qr((()=>{const t=ZZ(e.value,"end");return KZ(null!=t?t:Date.now(),t,H.value,{quarterFormat:P.value})})),ce=Qr((()=>{const t=ZZ(e.value,"start");return qZ(null!=t?t:Date.now(),t,H.value,{monthFormat:S.value})})),ue=Qr((()=>{const t=ZZ(e.value,"end");return qZ(null!=t?t:Date.now(),t,H.value,{monthFormat:S.value})})),he=Qr((()=>{var t;return null!==(t=e.calendarHeaderMonthBeforeYear)&&void 0!==t?t:b.value.monthBeforeYear}));function pe(e,n){"daterange"!==t&&"datetimerange"!==t||MX(e)===MX(n)&&RX(e)===RX(n)||F.disableTransitionOneTick()}function fe(t){const n=VG(j.value),o=VG(N.value);(e.bindCalendarMonths||n>=o)&&(t?N.value=zX(OG(n,1)):j.value=zX(OG(o,-1)))}function me(t){const n=r.value;if(!n)return!1;if(!Array.isArray(e.value))return n(t,"start",null);if("start"===G.value)return n(t,"start",null);{const{value:e}=V;return te.value)),(e=>{if(null!==e&&Array.isArray(e)){const[t,n]=e;K.value=CX(t,U.value,F.dateFnsOptions.value),Y.value=CX(n,U.value,F.dateFnsOptions.value),W.value||function(e){if(null===e)return;const[t,n]=e;j.value=t,VG(n)<=VG(t)?N.value=zX(VG(OG(t,1))):N.value=zX(VG(n))}(e)}else K.value="",Y.value=""})),er(j,pe),er(N,pe);const Se={startYearVlRef:O,endYearVlRef:D,startMonthScrollbarRef:I,endMonthScrollbarRef:B,startYearScrollbarRef:$,endYearScrollbarRef:A};return Object.assign(Object.assign(Object.assign(Object.assign({startDatesElRef:z,endDatesElRef:M,handleDateClick:function(n){if(W.value){W.value=!1;const{value:n}=e;e.panel&&Array.isArray(n)?_e(n[0],n[1],"done"):_.value&&"daterange"===t&&(x.value?ge():ve())}else W.value=!0,V.value=n.ts,_e(n.ts,n.ts,"done")},handleColItemClick:function(n,o){const{value:r}=e,a=!Array.isArray(r),i="year"===n.type&&"yearrange"!==t?a?MZ(n.ts,{month:RX("quarterrange"===t?WG(new Date):new Date)}).valueOf():MZ(n.ts,{month:RX("quarterrange"===t?WG(r["start"===o?0:1]):r["start"===o?0:1])}).valueOf():n.ts;if(a){const t=xe(i),n=[t,t];return F.doUpdateValue(n,e.panel),we(n,"start"),we(n,"end"),void F.disableTransitionOneTick()}const l=[r[0],r[1]];let s=!1;switch("start"===o?(l[0]=xe(i),l[0]>l[1]&&(l[1]=l[0],s=!0)):(l[1]=xe(i),l[0]>l[1]&&(l[0]=l[1],s=!0)),F.doUpdateValue(l,e.panel),t){case"monthrange":case"quarterrange":F.disableTransitionOneTick(),s?(we(l,"start"),we(l,"end")):we(l,o);break;case"yearrange":F.disableTransitionOneTick(),we(l,"start"),we(l,"end")}},handleDateMouseEnter:function(e){if(W.value){if(me(e.ts))return;e.ts>=V.value?_e(V.value,e.ts,"wipPreview"):_e(e.ts,V.value,"wipPreview")}},handleConfirmClick:ve,startCalendarPrevYear:function(){j.value=zX(OG(j.value,-12)),fe(!0)},startCalendarPrevMonth:function(){j.value=zX(OG(j.value,-1)),fe(!0)},startCalendarNextYear:function(){j.value=zX(OG(j.value,12)),fe(!0)},startCalendarNextMonth:function(){j.value=zX(OG(j.value,1)),fe(!0)},endCalendarPrevYear:function(){N.value=zX(OG(N.value,-12)),fe(!1)},endCalendarPrevMonth:function(){N.value=zX(OG(N.value,-1)),fe(!1)},endCalendarNextMonth:function(){N.value=zX(OG(N.value,1)),fe(!1)},endCalendarNextYear:function(){N.value=zX(OG(N.value,12)),fe(!1)},mergedIsDateDisabled:me,changeStartEndTime:_e,ranges:y,calendarMonthBeforeYear:he,startCalendarMonth:J,startCalendarYear:te,endCalendarMonth:ee,endCalendarYear:ne,weekdays:Q,startDateArray:X,endDateArray:Z,startYearArray:ie,startMonthArray:ce,startQuarterArray:se,endYearArray:le,endMonthArray:ue,endQuarterArray:de,isSelecting:W,handleRangeShortcutMouseenter:function(e){F.cachePendingValue();const t=F.getShortcutValue(e);Array.isArray(t)&&_e(t[0],t[1],"shortcutPreview")},handleRangeShortcutClick:function(e){const t=F.getShortcutValue(e);Array.isArray(t)&&(_e(t[0],t[1],"done"),F.clearPendingValue(),ve())}},F),R),Se),{startDateDisplayString:K,endDateInput:Y,timePickerSize:F.timePickerSize,startTimeValue:oe,endTimeValue:re,datePickerSlots:w,shortcuts:ae,startCalendarDateTime:j,endCalendarDateTime:N,justifyColumnsScrollState:we,handleFocusDetectorFocus:F.handleFocusDetectorFocus,handleStartTimePickerChange:function(e){null!==e&&be(e)},handleEndTimePickerChange:function(e){null!==e&&ye(e)},handleStartDateInput:function(t){const n=GZ(t,U.value,new Date,F.dateFnsOptions.value);if(NG(n))if(e.value){if(Array.isArray(e.value)){be(xe(zX(MZ(e.value[0],{year:MX(n),month:RX(n),date:SX(n)}))))}}else{be(xe(zX(MZ(new Date,{year:MX(n),month:RX(n),date:SX(n)}))))}else K.value=t},handleStartDateInputBlur:function(){const t=GZ(K.value,U.value,new Date,F.dateFnsOptions.value),{value:n}=e;if(NG(t)){if(null===n){be(xe(zX(MZ(new Date,{year:MX(t),month:RX(t),date:SX(t)}))))}else if(Array.isArray(n)){be(xe(zX(MZ(n[0],{year:MX(t),month:RX(t),date:SX(t)}))))}}else Ce()},handleEndDateInput:function(t){const n=GZ(t,U.value,new Date,F.dateFnsOptions.value);if(NG(n)){if(null===e.value){ye(xe(zX(MZ(new Date,{year:MX(n),month:RX(n),date:SX(n)}))))}else if(Array.isArray(e.value)){ye(xe(zX(MZ(e.value[1],{year:MX(n),month:RX(n),date:SX(n)}))))}}else Y.value=t},handleEndDateInputBlur:function(){const t=GZ(Y.value,U.value,new Date,F.dateFnsOptions.value),{value:n}=e;if(NG(t)){if(null===n){ye(xe(zX(MZ(new Date,{year:MX(t),month:RX(t),date:SX(t)}))))}else if(Array.isArray(n)){ye(xe(zX(MZ(n[1],{year:MX(t),month:RX(t),date:SX(t)}))))}}else Ce()},handleStartYearVlScroll:function(){var e;null===(e=$.value)||void 0===e||e.sync()},handleEndYearVlScroll:function(){var e;null===(e=A.value)||void 0===e||e.sync()},virtualListContainer:function(e){var t,n;return"start"===e?(null===(t=O.value)||void 0===t?void 0:t.listElRef)||null:(null===(n=D.value)||void 0===n?void 0:n.listElRef)||null},virtualListContent:function(e){var t,n;return"start"===e?(null===(t=O.value)||void 0===t?void 0:t.itemsElRef)||null:(null===(n=D.value)||void 0===n?void 0:n.itemsElRef)||null},onUpdateStartCalendarValue:function(e){j.value=e,fe(!0)},onUpdateEndCalendarValue:function(e){N.value=e,fe(!1)}})}const B0=$n({name:"DateRangePanel",props:D0,setup:e=>I0(e,"daterange"),render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,onRender:i,datePickerSlots:l}=this;return null==i||i(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--daterange`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{ref:"startDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--start`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.startCalendarPrevYear},lE(l["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.startCalendarPrevMonth},lE(l["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.startCalendarDateTime,onUpdateValue:this.onUpdateStartCalendarValue,mergedClsPrefix:o,calendarMonth:this.startCalendarMonth,calendarYear:this.startCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.startCalendarNextMonth},lE(l["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.startCalendarNextYear},lE(l["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.startDateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts)}],onClick:()=>{this.handleDateClick(e)},onMouseenter:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null))))),Jr("div",{class:`${o}-date-panel__vertical-divider`}),Jr("div",{ref:"endDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--end`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.endCalendarPrevYear},lE(l["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.endCalendarPrevMonth},lE(l["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.endCalendarDateTime,onUpdateValue:this.onUpdateEndCalendarValue,mergedClsPrefix:o,calendarMonth:this.endCalendarMonth,calendarYear:this.endCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.endCalendarNextMonth},lE(l["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.endCalendarNextYear},lE(l["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.endDateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts)}],onClick:()=>{this.handleDateClick(e)},onMouseenter:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null))))),this.datePickerSlots.footer?Jr("div",{class:`${o}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)||"function"==typeof t?Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleRangeShortcutMouseenter(t)},onClick:()=>{this.handleRangeShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e}):null}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(l.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("confirm"))?sE(l.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isRangeInvalid||this.isSelecting,text:this.locale.confirm},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isRangeInvalid||this.isSelecting,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}});function E0(e,t,n){const o=kX(),r=function(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale??o.locale);return"formatToParts"in r?function(e,t){const n=e.formatToParts(t);for(let o=n.length-1;o>=0;--o)if("timeZoneName"===n[o].type)return n[o].value;return}(r,t):function(e,t){const n=e.format(t).replace(/\u200E/g,""),o=/ [\w-+ ]+$/.exec(n);return o?o[0].substr(1):""}(r,t)}function L0(e,t){const n=function(e){N0[e]||(N0[e]=W0?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}));return N0[e]}(t);return"formatToParts"in n?function(e,t){try{const n=e.formatToParts(t),o=[];for(let e=0;e=0?a:1e3+a,o-r}function G0(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}const X0={};const Z0={X:function(e,t,n){const o=Q0(n.timeZone,e);if(0===o)return"Z";switch(t){case"X":return t4(o);case"XXXX":case"XX":return e4(o);default:return e4(o,":")}},x:function(e,t,n){const o=Q0(n.timeZone,e);switch(t){case"x":return t4(o);case"xxxx":case"xx":return e4(o);default:return e4(o,":")}},O:function(e,t,n){const o=Q0(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),a=o%60;if(0===a)return n+String(r);return n+String(r)+t+J0(a,2)}(o,":");default:return"GMT"+e4(o,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return E0("short",e,n);default:return E0("long",e,n)}}};function Q0(e,t){const n=e?K0(e,t,!0)/6e4:(null==t?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function J0(e,t){const n=e<0?"-":"";let o=Math.abs(e).toString();for(;o.length0?"-":"+",o=Math.abs(e);return n+J0(Math.floor(o/60),2)+t+J0(Math.floor(o%60),2)}function t4(e,t){if(e%60==0){return(e>0?"-":"+")+J0(Math.abs(e)/60,2)}return e4(e,t)}function n4(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const o4=36e5,r4=6e4,a4={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function i4(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);const n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);const o=function(e){const t={};let n,o=a4.dateTimePattern.exec(e);o?(t.date=o[1],n=o[3]):(o=a4.datePattern.exec(e),o?(t.date=o[1],n=o[2]):(t.date=null,n=e));if(n){const e=a4.timeZone.exec(n);e?(t.time=n.replace(e[1],""),t.timeZone=e[1].trim()):t.time=n}return t}(e),{year:r,restDateString:a}=function(e,t){if(e){const n=a4.YYY[t],o=a4.YYYYY[t];let r=a4.YYYY.exec(e)||o.exec(e);if(r){const t=r[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(r=a4.YY.exec(e)||n.exec(e),r){const t=r[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(o.date,n),i=function(e,t){if(null===t)return null;let n,o,r;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let a=a4.MM.exec(e);if(a)return n=new Date(0),o=parseInt(a[1],10)-1,u4(t,o)?(n.setUTCFullYear(t,o),n):new Date(NaN);if(a=a4.DDD.exec(e),a){n=new Date(0);const e=parseInt(a[1],10);return function(e,t){if(t<1)return!1;const n=c4(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,e)?(n.setUTCFullYear(t,0,e),n):new Date(NaN)}if(a=a4.MMDD.exec(e),a){n=new Date(0),o=parseInt(a[1],10)-1;const e=parseInt(a[2],10);return u4(t,o,e)?(n.setUTCFullYear(t,o,e),n):new Date(NaN)}if(a=a4.Www.exec(e),a)return r=parseInt(a[1],10)-1,h4(r)?l4(t,r):new Date(NaN);if(a=a4.WwwD.exec(e),a){r=parseInt(a[1],10)-1;const e=parseInt(a[2],10)-1;return h4(r,e)?l4(t,r,e):new Date(NaN)}return null}(a,r);if(null===i||isNaN(i.getTime()))return new Date(NaN);if(i){const e=i.getTime();let n,r=0;if(o.time&&(r=function(e){let t,n,o=a4.HH.exec(e);if(o)return t=parseFloat(o[1].replace(",",".")),p4(t)?t%24*o4:NaN;if(o=a4.HHMM.exec(e),o)return t=parseInt(o[1],10),n=parseFloat(o[2].replace(",",".")),p4(t,n)?t%24*o4+n*r4:NaN;if(o=a4.HHMMSS.exec(e),o){t=parseInt(o[1],10),n=parseInt(o[2],10);const e=parseFloat(o[3].replace(",","."));return p4(t,n,e)?t%24*o4+n*r4+1e3*e:NaN}return null}(o.time),null===r||isNaN(r)))return new Date(NaN);if(o.timeZone||t.timeZone){if(n=K0(o.timeZone||t.timeZone,new Date(e+r)),isNaN(n))return new Date(NaN)}else n=n4(new Date(e+r)),n=n4(new Date(e+r+n));return new Date(e+r+n)}return new Date(NaN)}function l4(e,t,n){t=t||0,n=n||0;const o=new Date(0);o.setUTCFullYear(e,0,4);const r=7*t+n+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}const s4=[31,28,31,30,31,30,31,31,30,31,30,31],d4=[31,29,31,30,31,30,31,31,30,31,30,31];function c4(e){return e%400==0||e%4==0&&e%100!=0}function u4(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;const o=c4(e);if(o&&n>d4[t])return!1;if(!o&&n>s4[t])return!1}return!0}function h4(e,t){return!(e<0||e>52)&&(null==t||!(t<0||t>6))}function p4(e,t,n){return!(e<0||e>=25)&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}const f4=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function m4(e,t,n,o){return function(e,t,n={}){const o=(t=String(t)).match(f4);if(o){const r=i4(n.originalDate||e,n);t=o.reduce((function(e,t){if("'"===t[0])return e;const o=e.indexOf(t),a="'"===e[o-1],i=e.replace(t,"'"+Z0[t[0]](r,t,n)+"'");return a?i.substring(0,o-1)+i.substring(o+1):i}),t)}return CX(e,t,n)}(function(e,t,n){const o=K0(t,e=i4(e,n),!0),r=new Date(e.getTime()-o),a=new Date(0);return a.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),a.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),a}(e,t,{timeZone:(o={...o,timeZone:t,originalDate:e}).timeZone}),n,o)}const v4="n-time-picker",g4=$n({name:"TimePickerPanelCol",props:{clsPrefix:{type:String,required:!0},data:{type:Array,required:!0},activeValue:{type:[Number,String],default:null},onItemClick:Function},render(){const{activeValue:e,onItemClick:t,clsPrefix:n}=this;return this.data.map((o=>{const{label:r,disabled:a,value:i}=o,l=e===i;return Jr("div",{key:r,"data-active":l?"":null,class:[`${n}-time-picker-col__item`,l&&`${n}-time-picker-col__item--active`,a&&`${n}-time-picker-col__item--disabled`],onClick:t&&!a?()=>{t(i)}:void 0},r)}))}}),b4={amHours:["00","01","02","03","04","05","06","07","08","09","10","11"],pmHours:["12","01","02","03","04","05","06","07","08","09","10","11"],hours:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],minutes:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],seconds:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],period:["AM","PM"]};function y4(e){return`00${e}`.slice(-2)}function _4(e,t,n){return Array.isArray(t)?("am"===n?t.filter((e=>e<12)):"pm"===n?t.filter((e=>e>=12)).map((e=>12===e?12:e-12)):t).map((e=>y4(e))):"number"==typeof t?"am"===n?e.filter((e=>{const n=Number(e);return n<12&&n%t===0})):"pm"===n?e.filter((e=>{const n=Number(e);return n>=12&&n%t===0})).map((e=>{const t=Number(e);return y4(12===t?12:t-12)})):e.filter((e=>Number(e)%t===0)):"am"===n?e.filter((e=>Number(e)<12)):"pm"===n?e.map((e=>Number(e))).filter((e=>Number(e)>=12)).map((e=>y4(12===e?12:e-12))):e}function x4(e,t,n){return!n||("number"==typeof n?e%n===0:n.includes(e))}const C4=$n({name:"TimePickerPanel",props:{actions:{type:Array,default:()=>["now","confirm"]},showHour:{type:Boolean,default:!0},showMinute:{type:Boolean,default:!0},showSecond:{type:Boolean,default:!0},showPeriod:{type:Boolean,default:!0},isHourInvalid:Boolean,isMinuteInvalid:Boolean,isSecondInvalid:Boolean,isAmPmInvalid:Boolean,isValueInvalid:Boolean,hourValue:{type:Number,default:null},minuteValue:{type:Number,default:null},secondValue:{type:Number,default:null},amPmValue:{type:String,default:null},isHourDisabled:Function,isMinuteDisabled:Function,isSecondDisabled:Function,onHourClick:{type:Function,required:!0},onMinuteClick:{type:Function,required:!0},onSecondClick:{type:Function,required:!0},onAmPmClick:{type:Function,required:!0},onNowClick:Function,clearText:String,nowText:String,confirmText:String,transitionDisabled:Boolean,onClearClick:Function,onConfirmClick:Function,onFocusin:Function,onFocusout:Function,onFocusDetectorFocus:Function,onKeydown:Function,hours:[Number,Array],minutes:[Number,Array],seconds:[Number,Array],use12Hours:Boolean},setup(e){const{mergedThemeRef:t,mergedClsPrefixRef:n}=Ro(v4);return{mergedTheme:t,mergedClsPrefix:n,hours:Qr((()=>{const{isHourDisabled:t,hours:n,use12Hours:o,amPmValue:r}=e;if(o){const e=null!=r?r:PX(Date.now())<12?"am":"pm";return _4(b4.hours,n,e).map((n=>{const o=Number(n),r="pm"===e&&12!==o?o+12:o;return{label:n,value:r,disabled:!!t&&t(r)}}))}return _4(b4.hours,n).map((e=>({label:e,value:Number(e),disabled:!!t&&t(Number(e))})))})),minutes:Qr((()=>{const{isMinuteDisabled:t,minutes:n}=e;return _4(b4.minutes,n).map((n=>({label:n,value:Number(n),disabled:!!t&&t(Number(n),e.hourValue)})))})),seconds:Qr((()=>{const{isSecondDisabled:t,seconds:n}=e;return _4(b4.seconds,n).map((n=>({label:n,value:Number(n),disabled:!!t&&t(Number(n),e.minuteValue,e.hourValue)})))})),amPm:Qr((()=>{const{isHourDisabled:t}=e;let n=!0,o=!0;for(let e=0;e<12;++e)if(!(null==t?void 0:t(e))){n=!1;break}for(let e=12;e<24;++e)if(!(null==t?void 0:t(e))){o=!1;break}return[{label:"AM",value:"am",disabled:n},{label:"PM",value:"pm",disabled:o}]})),hourScrollRef:vt(null),minuteScrollRef:vt(null),secondScrollRef:vt(null),amPmScrollRef:vt(null)}},render(){var e,t,n,o;const{mergedClsPrefix:r,mergedTheme:a}=this;return Jr("div",{tabindex:0,class:`${r}-time-picker-panel`,onFocusin:this.onFocusin,onFocusout:this.onFocusout,onKeydown:this.onKeydown},Jr("div",{class:`${r}-time-picker-cols`},this.showHour?Jr("div",{class:[`${r}-time-picker-col`,this.isHourInvalid&&`${r}-time-picker-col--invalid`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`]},Jr(Vq,{ref:"hourScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.hours,activeValue:this.hourValue,onItemClick:this.onHourClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null,this.showMinute?Jr("div",{class:[`${r}-time-picker-col`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`,this.isMinuteInvalid&&`${r}-time-picker-col--invalid`]},Jr(Vq,{ref:"minuteScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.minutes,activeValue:this.minuteValue,onItemClick:this.onMinuteClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null,this.showSecond?Jr("div",{class:[`${r}-time-picker-col`,this.isSecondInvalid&&`${r}-time-picker-col--invalid`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`]},Jr(Vq,{ref:"secondScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.seconds,activeValue:this.secondValue,onItemClick:this.onSecondClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null,this.use12Hours?Jr("div",{class:[`${r}-time-picker-col`,this.isAmPmInvalid&&`${r}-time-picker-col--invalid`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`]},Jr(Vq,{ref:"amPmScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.amPm,activeValue:this.amPmValue,onItemClick:this.onAmPmClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null),(null===(e=this.actions)||void 0===e?void 0:e.length)?Jr("div",{class:`${r}-time-picker-actions`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",onClick:this.onClearClick},{default:()=>this.clearText}):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("now"))?Jr(SG,{size:"tiny",theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,onClick:this.onNowClick},{default:()=>this.nowText}):null,(null===(o=this.actions)||void 0===o?void 0:o.includes("confirm"))?Jr(SG,{size:"tiny",type:"primary",class:`${r}-time-picker-actions__confirm`,theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,disabled:this.isValueInvalid,onClick:this.onConfirmClick},{default:()=>this.confirmText}):null):null,Jr(BV,{onFocus:this.onFocusDetectorFocus}))}}),w4=BA([LA("time-picker","\n z-index: auto;\n position: relative;\n ",[LA("time-picker-icon","\n color: var(--n-icon-color-override);\n transition: color .3s var(--n-bezier);\n "),NA("disabled",[LA("time-picker-icon","\n color: var(--n-icon-color-disabled-override);\n ")])]),LA("time-picker-panel","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n outline: none;\n font-size: var(--n-item-font-size);\n border-radius: var(--n-border-radius);\n margin: 4px 0;\n min-width: 104px;\n overflow: hidden;\n background-color: var(--n-panel-color);\n box-shadow: var(--n-panel-box-shadow);\n ",[MK(),LA("time-picker-actions","\n padding: var(--n-panel-action-padding);\n align-items: center;\n display: flex;\n justify-content: space-evenly;\n "),LA("time-picker-cols","\n height: calc(var(--n-item-height) * 6);\n display: flex;\n position: relative;\n transition: border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-panel-divider-color);\n "),LA("time-picker-col","\n flex-grow: 1;\n min-width: var(--n-item-width);\n height: calc(var(--n-item-height) * 6);\n flex-direction: column;\n transition: box-shadow .3s var(--n-bezier);\n ",[NA("transition-disabled",[jA("item","transition: none;",[BA("&::before","transition: none;")])]),jA("padding","\n height: calc(var(--n-item-height) * 5);\n "),BA("&:first-child","min-width: calc(var(--n-item-width) + 4px);",[jA("item",[BA("&::before","left: 4px;")])]),jA("item","\n cursor: pointer;\n height: var(--n-item-height);\n display: flex;\n align-items: center;\n justify-content: center;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier);\n background: #0000;\n text-decoration-color: #0000;\n color: var(--n-item-text-color);\n z-index: 0;\n box-sizing: border-box;\n padding-top: 4px;\n position: relative;\n ",[BA("&::before",'\n content: "";\n transition: background-color .3s var(--n-bezier);\n z-index: -1;\n position: absolute;\n left: 0;\n right: 4px;\n top: 4px;\n bottom: 0;\n border-radius: var(--n-item-border-radius);\n '),HA("disabled",[BA("&:hover::before","\n background-color: var(--n-item-color-hover);\n ")]),NA("active","\n color: var(--n-item-text-color-active);\n ",[BA("&::before","\n background-color: var(--n-item-color-hover);\n ")]),NA("disabled","\n opacity: var(--n-item-opacity-disabled);\n cursor: not-allowed;\n ")]),NA("invalid",[jA("item",[NA("active","\n text-decoration: line-through;\n text-decoration-color: var(--n-item-text-color-active);\n ")])])])])]);function S4(e,t){return void 0===e||(Array.isArray(e)?e.every((e=>e>=0&&e<=t)):e>=0&&e<=t)}const k4=$n({name:"TimePicker",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,bordered:{type:Boolean,default:void 0},actions:Array,defaultValue:{type:Number,default:null},defaultFormattedValue:String,placeholder:String,placement:{type:String,default:"bottom-start"},value:Number,format:{type:String,default:"HH:mm:ss"},valueFormat:String,formattedValue:String,isHourDisabled:Function,size:String,isMinuteDisabled:Function,isSecondDisabled:Function,inputReadonly:Boolean,clearable:Boolean,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onUpdateFormattedValue:[Function,Array],"onUpdate:formattedValue":[Function,Array],onBlur:[Function,Array],onConfirm:[Function,Array],onClear:Function,onFocus:[Function,Array],timeZone:String,showIcon:{type:Boolean,default:!0},disabled:{type:Boolean,default:void 0},show:{type:Boolean,default:void 0},hours:{type:[Number,Array],validator:e=>S4(e,23)},minutes:{type:[Number,Array],validator:e=>S4(e,59)},seconds:{type:[Number,Array],validator:e=>S4(e,59)},use12Hours:Boolean,stateful:{type:Boolean,default:!0},onChange:[Function,Array]}),setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=fE(e),{localeRef:a,dateLocaleRef:i}=AW("TimePicker"),l=bE(e),{mergedSizeRef:s,mergedDisabledRef:d,mergedStatusRef:c}=l,u=HW("TimePicker","-time-picker",w4,_0,e,n),h=TD(),p=vt(null),f=vt(null),m=Qr((()=>({locale:i.value.locale})));function v(t){return null===t?null:GZ(t,e.valueFormat||e.format,new Date,m.value).getTime()}const{defaultValue:g,defaultFormattedValue:b}=e,y=vt(void 0!==b?v(b):g),_=Qr((()=>{const{formattedValue:t}=e;if(void 0!==t)return v(t);const{value:n}=e;return void 0!==n?n:y.value})),x=Qr((()=>{const{timeZone:t}=e;return t?(e,n,o)=>m4(e,t,n,o):(e,t,n)=>CX(e,t,n)})),C=vt("");er((()=>e.timeZone),(()=>{const t=_.value;C.value=null===t?"":x.value(t,e.format,m.value)}),{immediate:!0});const w=vt(!1),S=xD(Ft(e,"show"),w),k=vt(_.value),P=vt(!1),T=Qr((()=>a.value.clear)),R=Qr((()=>a.value.now)),F=Qr((()=>void 0!==e.placeholder?e.placeholder:a.value.placeholder)),z=Qr((()=>a.value.negativeText)),M=Qr((()=>a.value.positiveText)),$=Qr((()=>/H|h|K|k/.test(e.format))),A=Qr((()=>e.format.includes("m"))),O=Qr((()=>e.format.includes("s"))),D=Qr((()=>{const{value:e}=_;return null===e?null:Number(x.value(e,"HH",m.value))})),I=Qr((()=>{const{value:e}=_;return null===e?null:Number(x.value(e,"mm",m.value))})),B=Qr((()=>{const{value:e}=_;return null===e?null:Number(x.value(e,"ss",m.value))})),E=Qr((()=>{const{isHourDisabled:t}=e;return null!==D.value&&(!x4(D.value,0,e.hours)||!!t&&t(D.value))})),L=Qr((()=>{const{value:t}=I,{value:n}=D;if(null===t||null===n)return!1;if(!x4(t,0,e.minutes))return!0;const{isMinuteDisabled:o}=e;return!!o&&o(t,n)})),j=Qr((()=>{const{value:t}=I,{value:n}=D,{value:o}=B;if(null===o||null===t||null===n)return!1;if(!x4(o,0,e.seconds))return!0;const{isSecondDisabled:r}=e;return!!r&&r(o,t,n)})),N=Qr((()=>E.value||L.value||j.value)),H=Qr((()=>e.format.length+4)),W=Qr((()=>{const{value:e}=_;return null===e?null:PX(e)<12?"am":"pm"}));function V(t){return null===t?null:x.value(t,e.valueFormat||e.format)}function U(t){const{onUpdateValue:n,"onUpdate:value":o,onChange:r}=e,{nTriggerFormChange:a,nTriggerFormInput:i}=l,s=V(t);n&&GB(n,t,s),o&&GB(o,t,s),r&&GB(r,t,s),function(t,n){const{onUpdateFormattedValue:o,"onUpdate:formattedValue":r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(s,t),y.value=t,a(),i()}function q(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=l;n&&GB(n,t),o()}function K(t){void 0===t&&(t=_.value),C.value=null===t?"":x.value(t,e.format,m.value)}function Y(){if(!f.value)return;const{hourScrollRef:e,minuteScrollRef:t,secondScrollRef:n,amPmScrollRef:o}=f.value;[e,t,n,o].forEach((e=>{var t;if(!e)return;const n=null===(t=e.contentRef)||void 0===t?void 0:t.querySelector("[data-active]");n&&e.scrollTo({top:n.offsetTop})}))}function G(t){w.value=t;const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t)}function X(e){var t,n,o;return!(!(null===(n=null===(t=p.value)||void 0===t?void 0:t.wrapperElRef)||void 0===n?void 0:n.contains(e.relatedTarget))&&!(null===(o=f.value)||void 0===o?void 0:o.$el.contains(e.relatedTarget)))}function Z(){k.value=_.value,G(!0),Kt(Y)}function Q({returnFocus:e}){var t;S.value&&(G(!1),e&&(null===(t=p.value)||void 0===t||t.focus()))}er(_,(e=>{K(e),P.value=!0,Kt((()=>{P.value=!1})),Kt(Y)})),er(S,(()=>{N.value&&U(k.value)})),To(v4,{mergedThemeRef:u,mergedClsPrefixRef:n});const J={focus:()=>{var e;null===(e=p.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=p.value)||void 0===e||e.blur()}},ee=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{iconColor:t,iconColorDisabled:n}}=u.value;return{"--n-icon-color-override":t,"--n-icon-color-disabled-override":n,"--n-bezier":e}})),te=r?vE("time-picker-trigger",void 0,ee,e):void 0,ne=Qr((()=>{const{self:{panelColor:e,itemTextColor:t,itemTextColorActive:n,itemColorHover:o,panelDividerColor:r,panelBoxShadow:a,itemOpacityDisabled:i,borderRadius:l,itemFontSize:s,itemWidth:d,itemHeight:c,panelActionPadding:h,itemBorderRadius:p},common:{cubicBezierEaseInOut:f}}=u.value;return{"--n-bezier":f,"--n-border-radius":l,"--n-item-color-hover":o,"--n-item-font-size":s,"--n-item-height":c,"--n-item-opacity-disabled":i,"--n-item-text-color":t,"--n-item-text-color-active":n,"--n-item-width":d,"--n-panel-action-padding":h,"--n-panel-box-shadow":a,"--n-panel-color":e,"--n-panel-divider-color":r,"--n-item-border-radius":p}})),oe=r?vE("time-picker",void 0,ne,e):void 0;return{focus:J.focus,blur:J.blur,mergedStatus:c,mergedBordered:t,mergedClsPrefix:n,namespace:o,uncontrolledValue:y,mergedValue:_,isMounted:CD(),inputInstRef:p,panelInstRef:f,adjustedTo:ID(e),mergedShow:S,localizedClear:T,localizedNow:R,localizedPlaceholder:F,localizedNegativeText:z,localizedPositiveText:M,hourInFormat:$,minuteInFormat:A,secondInFormat:O,mergedAttrSize:H,displayTimeString:C,mergedSize:s,mergedDisabled:d,isValueInvalid:N,isHourInvalid:E,isMinuteInvalid:L,isSecondInvalid:j,transitionDisabled:P,hourValue:D,minuteValue:I,secondValue:B,amPmValue:W,handleInputKeydown:function(e){"Escape"===e.key&&S.value&&VB(e)},handleTimeInputFocus:function(t){X(t)||function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=l;n&&GB(n,t),o()}(t)},handleTimeInputBlur:function(e){var t;if(!X(e))if(S.value){const n=null===(t=f.value)||void 0===t?void 0:t.$el;(null==n?void 0:n.contains(e.relatedTarget))||(K(),q(e),Q({returnFocus:!1}))}else K(),q(e)},handleNowClick:function(){const t=new Date,n={hours:PX,minutes:TX,seconds:FX},[o,r,a]=["hours","minutes","seconds"].map((o=>!e[o]||x4(n[o](t),0,e[o])?n[o](t):function(e,t,n){const o=_4(b4[t],n).map(Number);let r,a;for(let i=0;ie){a=t;break}r=t}return void 0===r?(a||YB("time-picker","Please set 'hours' or 'minutes' or 'seconds' props"),a):void 0===a||a-e>e-r?r:a}(n[o](t),o,e[o]))),i=OZ(AZ($Z(_.value?_.value:zX(t),o),r),a);U(zX(i))},handleConfirmClick:function(){K(),function(){const{onConfirm:t}=e;t&&GB(t,_.value,V(_.value))}(),Q({returnFocus:!0})},handleTimeInputUpdateValue:function(t){if(""===t)return void U(null);const n=GZ(t,e.format,new Date,m.value);if(C.value=t,NG(n)){const{value:e}=_;if(null!==e){U(zX(MZ(e,{hours:PX(n),minutes:TX(n),seconds:FX(n),milliseconds:(o=n,FE(o).getMilliseconds())})))}else U(zX(n))}var o},handleMenuFocusOut:function(e){X(e)||(K(),q(e),Q({returnFocus:!1}))},handleCancelClick:function(){U(k.value),G(!1)},handleClickOutside:function(e){var t,n;S.value&&!(null===(n=null===(t=p.value)||void 0===t?void 0:t.wrapperElRef)||void 0===n?void 0:n.contains(JA(e)))&&Q({returnFocus:!1})},handleTimeInputActivate:function(){d.value||S.value||Z()},handleTimeInputDeactivate:function(){d.value||(K(),Q({returnFocus:!1}))},handleHourClick:function(e){"string"!=typeof e&&(null===_.value?U(zX($Z(function(e){const t=FE(e);return t.setMinutes(0,0,0),t}(new Date),e))):U(zX($Z(_.value,e))))},handleMinuteClick:function(e){"string"!=typeof e&&(null===_.value?U(zX(AZ(function(e){const t=FE(e);return t.setSeconds(0,0),t}(new Date),e))):U(zX(AZ(_.value,e))))},handleSecondClick:function(e){"string"!=typeof e&&(null===_.value?U(zX(OZ(RZ(new Date),e))):U(zX(OZ(_.value,e))))},handleAmPmClick:function(e){const{value:t}=_;if(null===t){const t=new Date,n=PX(t);"pm"===e&&n<12?U(zX($Z(t,n+12))):"am"===e&&n>=12&&U(zX($Z(t,n-12))),U(zX(t))}else{const n=PX(t);"pm"===e&&n<12?U(zX($Z(t,n+12))):"am"===e&&n>=12&&U(zX($Z(t,n-12)))}},handleTimeInputClear:function(t){var n;t.stopPropagation(),U(null),K(null),null===(n=e.onClear)||void 0===n||n.call(e)},handleFocusDetectorFocus:function(){Q({returnFocus:!0})},handleMenuKeydown:function(e){var t;switch(e.key){case"Escape":S.value&&(VB(e),Q({returnFocus:!0}));break;case"Tab":h.shift&&e.target===(null===(t=f.value)||void 0===t?void 0:t.$el)&&(e.preventDefault(),Q({returnFocus:!0}))}},handleTriggerClick:function(e){d.value||QA(e,"clear")||S.value||Z()},mergedTheme:u,triggerCssVars:r?void 0:ee,triggerThemeClass:null==te?void 0:te.themeClass,triggerOnRender:null==te?void 0:te.onRender,cssVars:r?void 0:ne,themeClass:null==oe?void 0:oe.themeClass,onRender:null==oe?void 0:oe.onRender,clearSelectedValue:function(){U(null),K(null),Q({returnFocus:!0})}}},render(){const{mergedClsPrefix:e,$slots:t,triggerOnRender:n}=this;return null==n||n(),Jr("div",{class:[`${e}-time-picker`,this.triggerThemeClass],style:this.triggerCssVars},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(BY,{ref:"inputInstRef",status:this.mergedStatus,value:this.displayTimeString,bordered:this.mergedBordered,passivelyActivated:!0,attrSize:this.mergedAttrSize,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,stateful:this.stateful,size:this.mergedSize,placeholder:this.localizedPlaceholder,clearable:this.clearable,disabled:this.mergedDisabled,textDecoration:this.isValueInvalid?"line-through":void 0,onFocus:this.handleTimeInputFocus,onBlur:this.handleTimeInputBlur,onActivate:this.handleTimeInputActivate,onDeactivate:this.handleTimeInputDeactivate,onUpdateValue:this.handleTimeInputUpdateValue,onClear:this.handleTimeInputClear,internalDeactivateOnEnter:!0,internalForceFocus:this.mergedShow,readonly:this.inputReadonly||this.mergedDisabled,onClick:this.handleTriggerClick,onKeydown:this.handleInputKeydown},this.showIcon?{[this.clearable?"clear-icon-placeholder":"suffix"]:()=>Jr(VW,{clsPrefix:e,class:`${e}-time-picker-icon`},{default:()=>t.icon?t.icon():Jr(SV,null)})}:null)}),Jr(FI,{teleportDisabled:this.adjustedTo===ID.tdkey,show:this.mergedShow,to:this.adjustedTo,containerClass:this.namespace,placement:this.placement},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>{var e;return this.mergedShow?(null===(e=this.onRender)||void 0===e||e.call(this),on(Jr(C4,{ref:"panelInstRef",actions:this.actions,class:this.themeClass,style:this.cssVars,seconds:this.seconds,minutes:this.minutes,hours:this.hours,transitionDisabled:this.transitionDisabled,hourValue:this.hourValue,showHour:this.hourInFormat,isHourInvalid:this.isHourInvalid,isHourDisabled:this.isHourDisabled,minuteValue:this.minuteValue,showMinute:this.minuteInFormat,isMinuteInvalid:this.isMinuteInvalid,isMinuteDisabled:this.isMinuteDisabled,secondValue:this.secondValue,amPmValue:this.amPmValue,showSecond:this.secondInFormat,isSecondInvalid:this.isSecondInvalid,isSecondDisabled:this.isSecondDisabled,isValueInvalid:this.isValueInvalid,clearText:this.localizedClear,nowText:this.localizedNow,confirmText:this.localizedPositiveText,use12Hours:this.use12Hours,onFocusout:this.handleMenuFocusOut,onKeydown:this.handleMenuKeydown,onHourClick:this.handleHourClick,onMinuteClick:this.handleMinuteClick,onSecondClick:this.handleSecondClick,onAmPmClick:this.handleAmPmClick,onNowClick:this.handleNowClick,onConfirmClick:this.handleConfirmClick,onClearClick:this.clearSelectedValue,onFocusDetectorFocus:this.handleFocusDetectorFocus}),[[sI,this.handleClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),P4=$n({name:"DateTimePanel",props:z0,setup:e=>M0(e,"datetime"),render(){var e,t,n,o;const{mergedClsPrefix:r,mergedTheme:a,shortcuts:i,timePickerProps:l,datePickerSlots:s,onRender:d}=this;return null==d||d(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${r}-date-panel`,`${r}-date-panel--datetime`,!this.panel&&`${r}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{class:`${r}-date-panel-header`},Jr(BY,{value:this.dateInputValue,theme:a.peers.Input,themeOverrides:a.peerOverrides.Input,stateful:!1,size:this.timePickerSize,readonly:this.inputReadonly,class:`${r}-date-panel-date-input`,textDecoration:this.isDateInvalid?"line-through":"",placeholder:this.locale.selectDate,onBlur:this.handleDateInputBlur,onUpdateValue:this.handleDateInput}),Jr(k4,Object.assign({size:this.timePickerSize,placeholder:this.locale.selectTime,format:this.timerPickerFormat},Array.isArray(l)?void 0:l,{showIcon:!1,to:!1,theme:a.peers.TimePicker,themeOverrides:a.peerOverrides.TimePicker,value:Array.isArray(this.value)?null:this.value,isHourDisabled:this.isHourDisabled,isMinuteDisabled:this.isMinuteDisabled,isSecondDisabled:this.isSecondDisabled,onUpdateValue:this.handleTimePickerChange,stateful:!1}))),Jr("div",{class:`${r}-date-panel-calendar`},Jr("div",{class:`${r}-date-panel-month`},Jr("div",{class:`${r}-date-panel-month__fast-prev`,onClick:this.prevYear},lE(s["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${r}-date-panel-month__prev`,onClick:this.prevMonth},lE(s["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.calendarValue,onUpdateValue:this.onUpdateCalendarValue,mergedClsPrefix:r,calendarMonth:this.calendarMonth,calendarYear:this.calendarYear}),Jr("div",{class:`${r}-date-panel-month__next`,onClick:this.nextMonth},lE(s["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${r}-date-panel-month__fast-next`,onClick:this.nextYear},lE(s["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${r}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${r}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${r}-date-panel-dates`},this.dateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${r}-date-panel-date`,{[`${r}-date-panel-date--current`]:e.isCurrentDate,[`${r}-date-panel-date--selected`]:e.selected,[`${r}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${r}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts,{type:"date",year:e.dateObject.year,month:e.dateObject.month,date:e.dateObject.date})}],onClick:()=>{this.handleDateClick(e)}},Jr("div",{class:`${r}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${r}-date-panel-date__sup`}):null))))),this.datePickerSlots.footer?Jr("div",{class:`${r}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||i?Jr("div",{class:`${r}-date-panel-actions`},Jr("div",{class:`${r}-date-panel-actions__prefix`},i&&Object.keys(i).map((e=>{const t=i[e];return Array.isArray(t)?null:Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleSingleShortcutMouseenter(t)},onClick:()=>{this.handleSingleShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e})}))),Jr("div",{class:`${r}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(this.datePickerSlots.clear,{onClear:this.clearSelectedDateTime,text:this.locale.clear},(()=>[Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",onClick:this.clearSelectedDateTime},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("now"))?sE(s.now,{onNow:this.handleNowClick,text:this.locale.now},(()=>[Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",onClick:this.handleNowClick},{default:()=>this.locale.now})])):null,(null===(o=this.actions)||void 0===o?void 0:o.includes("confirm"))?sE(s.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isDateInvalid,text:this.locale.confirm},(()=>[Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isDateInvalid,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),T4=$n({name:"DateTimeRangePanel",props:D0,setup:e=>I0(e,"datetimerange"),render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,timePickerProps:i,onRender:l,datePickerSlots:s}=this;return null==l||l(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--datetimerange`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{class:`${o}-date-panel-header`},Jr(BY,{value:this.startDateDisplayString,theme:r.peers.Input,themeOverrides:r.peerOverrides.Input,size:this.timePickerSize,stateful:!1,readonly:this.inputReadonly,class:`${o}-date-panel-date-input`,textDecoration:this.isStartValueInvalid?"line-through":"",placeholder:this.locale.selectDate,onBlur:this.handleStartDateInputBlur,onUpdateValue:this.handleStartDateInput}),Jr(k4,Object.assign({placeholder:this.locale.selectTime,format:this.timerPickerFormat,size:this.timePickerSize},Array.isArray(i)?i[0]:i,{value:this.startTimeValue,to:!1,showIcon:!1,disabled:this.isSelecting,theme:r.peers.TimePicker,themeOverrides:r.peerOverrides.TimePicker,stateful:!1,isHourDisabled:this.isStartHourDisabled,isMinuteDisabled:this.isStartMinuteDisabled,isSecondDisabled:this.isStartSecondDisabled,onUpdateValue:this.handleStartTimePickerChange})),Jr(BY,{value:this.endDateInput,theme:r.peers.Input,themeOverrides:r.peerOverrides.Input,stateful:!1,size:this.timePickerSize,readonly:this.inputReadonly,class:`${o}-date-panel-date-input`,textDecoration:this.isEndValueInvalid?"line-through":"",placeholder:this.locale.selectDate,onBlur:this.handleEndDateInputBlur,onUpdateValue:this.handleEndDateInput}),Jr(k4,Object.assign({placeholder:this.locale.selectTime,format:this.timerPickerFormat,size:this.timePickerSize},Array.isArray(i)?i[1]:i,{disabled:this.isSelecting,showIcon:!1,theme:r.peers.TimePicker,themeOverrides:r.peerOverrides.TimePicker,to:!1,stateful:!1,value:this.endTimeValue,isHourDisabled:this.isEndHourDisabled,isMinuteDisabled:this.isEndMinuteDisabled,isSecondDisabled:this.isEndSecondDisabled,onUpdateValue:this.handleEndTimePickerChange}))),Jr("div",{ref:"startDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--start`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.startCalendarPrevYear},lE(s["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.startCalendarPrevMonth},lE(s["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.startCalendarDateTime,onUpdateValue:this.onUpdateStartCalendarValue,mergedClsPrefix:o,calendarMonth:this.startCalendarMonth,calendarYear:this.startCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.startCalendarNextMonth},lE(s["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.startCalendarNextYear},lE(s["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.startDateArray.map(((e,t)=>{const n=this.mergedIsDateDisabled(e.ts);return Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:n}],onClick:n?void 0:()=>{this.handleDateClick(e)},onMouseenter:n?void 0:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null)})))),Jr("div",{class:`${o}-date-panel__vertical-divider`}),Jr("div",{ref:"endDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--end`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.endCalendarPrevYear},lE(s["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.endCalendarPrevMonth},lE(s["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthBeforeYear:this.calendarMonthBeforeYear,value:this.endCalendarDateTime,onUpdateValue:this.onUpdateEndCalendarValue,mergedClsPrefix:o,monthYearSeparator:this.calendarHeaderMonthYearSeparator,calendarMonth:this.endCalendarMonth,calendarYear:this.endCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.endCalendarNextMonth},lE(s["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.endCalendarNextYear},lE(s["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.endDateArray.map(((e,t)=>{const n=this.mergedIsDateDisabled(e.ts);return Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:n}],onClick:n?void 0:()=>{this.handleDateClick(e)},onMouseenter:n?void 0:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null)})))),this.datePickerSlots.footer?Jr("div",{class:`${o}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)||"function"==typeof t?Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleRangeShortcutMouseenter(t)},onClick:()=>{this.handleRangeShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e}):null}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(s.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("confirm"))?sE(s.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isRangeInvalid||this.isSelecting,text:this.locale.confirm},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isRangeInvalid||this.isSelecting,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),R4=$n({name:"MonthRangePanel",props:Object.assign(Object.assign({},D0),{type:{type:String,required:!0}}),setup(e){const t=I0(e,e.type),{dateLocaleRef:n}=AW("DatePicker");return Kn((()=>{t.justifyColumnsScrollState()})),Object.assign(Object.assign({},t),{renderItem:(e,o,r,a)=>{const{handleColItemClick:i}=t;return Jr("div",{"data-n-date":!0,key:o,class:[`${r}-date-panel-month-calendar__picker-col-item`,e.isCurrent&&`${r}-date-panel-month-calendar__picker-col-item--current`,e.selected&&`${r}-date-panel-month-calendar__picker-col-item--selected`,!1],onClick:()=>{i(e,a)}},"month"===e.type?LZ(e.dateObject.month,e.monthFormat,n.value.locale):"quarter"===e.type?NZ(e.dateObject.quarter,e.quarterFormat,n.value.locale):jZ(e.dateObject.year,e.yearFormat,n.value.locale))}})},render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,type:i,renderItem:l,onRender:s}=this;return null==s||s(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--daterange`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{ref:"startDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--start`},Jr("div",{class:`${o}-date-panel-month-calendar`},Jr(Vq,{ref:"startYearScrollbarRef",class:`${o}-date-panel-month-calendar__picker-col`,theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,container:()=>this.virtualListContainer("start"),content:()=>this.virtualListContent("start"),horizontalRailStyle:{zIndex:1},verticalRailStyle:{zIndex:1}},{default:()=>Jr(kB,{ref:"startYearVlRef",items:this.startYearArray,itemSize:T0,showScrollbar:!1,keyField:"ts",onScroll:this.handleStartYearVlScroll,paddingBottom:4},{default:({item:e,index:t})=>l(e,t,o,"start")})}),"monthrange"===i||"quarterrange"===i?Jr("div",{class:`${o}-date-panel-month-calendar__picker-col`},Jr(Vq,{ref:"startMonthScrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar},{default:()=>[("monthrange"===i?this.startMonthArray:this.startQuarterArray).map(((e,t)=>l(e,t,o,"start"))),"monthrange"===i&&Jr("div",{class:`${o}-date-panel-month-calendar__padding`})]})):null)),Jr("div",{class:`${o}-date-panel__vertical-divider`}),Jr("div",{ref:"endDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--end`},Jr("div",{class:`${o}-date-panel-month-calendar`},Jr(Vq,{ref:"endYearScrollbarRef",class:`${o}-date-panel-month-calendar__picker-col`,theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,container:()=>this.virtualListContainer("end"),content:()=>this.virtualListContent("end"),horizontalRailStyle:{zIndex:1},verticalRailStyle:{zIndex:1}},{default:()=>Jr(kB,{ref:"endYearVlRef",items:this.endYearArray,itemSize:T0,showScrollbar:!1,keyField:"ts",onScroll:this.handleEndYearVlScroll,paddingBottom:4},{default:({item:e,index:t})=>l(e,t,o,"end")})}),"monthrange"===i||"quarterrange"===i?Jr("div",{class:`${o}-date-panel-month-calendar__picker-col`},Jr(Vq,{ref:"endMonthScrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar},{default:()=>[("monthrange"===i?this.endMonthArray:this.endQuarterArray).map(((e,t)=>l(e,t,o,"end"))),"monthrange"===i&&Jr("div",{class:`${o}-date-panel-month-calendar__padding`})]})):null)),dE(this.datePickerSlots.footer,(e=>e?Jr("div",{class:`${o}-date-panel-footer`},e):null)),(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)||"function"==typeof t?Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleRangeShortcutMouseenter(t)},onClick:()=>{this.handleRangeShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e}):null}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(this.datePickerSlots.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(kG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("confirm"))?sE(this.datePickerSlots.confirm,{disabled:this.isRangeInvalid,onConfirm:this.handleConfirmClick,text:this.locale.confirm},(()=>[Jr(kG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isRangeInvalid,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),F4=Object.assign(Object.assign({},HW.props),{to:ID.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,updateValueOnClose:Boolean,calendarDayFormat:String,calendarHeaderYearFormat:String,calendarHeaderMonthFormat:String,calendarHeaderMonthYearSeparator:{type:String,default:" "},calendarHeaderMonthBeforeYear:{type:Boolean,default:void 0},defaultValue:[Number,Array],defaultFormattedValue:[String,Array],defaultTime:[Number,String,Array],disabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom-start"},value:[Number,Array],formattedValue:[String,Array],size:String,type:{type:String,default:"date"},valueFormat:String,separator:String,placeholder:String,startPlaceholder:String,endPlaceholder:String,format:String,dateFormat:String,timerPickerFormat:String,actions:Array,shortcuts:Object,isDateDisabled:Function,isTimeDisabled:Function,show:{type:Boolean,default:void 0},panel:Boolean,ranges:Object,firstDayOfWeek:Number,inputReadonly:Boolean,closeOnSelect:Boolean,status:String,timePickerProps:[Object,Array],onClear:Function,onConfirm:Function,defaultCalendarStartTime:Number,defaultCalendarEndTime:Number,bindCalendarMonths:Boolean,monthFormat:{type:String,default:"M"},yearFormat:{type:String,default:"y"},quarterFormat:{type:String,default:"'Q'Q"},yearRange:{type:Array,default:()=>[1901,2100]},"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],"onUpdate:formattedValue":[Function,Array],onUpdateFormattedValue:[Function,Array],"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onNextMonth:Function,onPrevMonth:Function,onNextYear:Function,onPrevYear:Function,onChange:[Function,Array]}),z4=BA([LA("date-picker","\n position: relative;\n z-index: auto;\n ",[LA("date-picker-icon","\n color: var(--n-icon-color-override);\n transition: color .3s var(--n-bezier);\n "),LA("icon","\n color: var(--n-icon-color-override);\n transition: color .3s var(--n-bezier);\n "),NA("disabled",[LA("date-picker-icon","\n color: var(--n-icon-color-disabled-override);\n "),LA("icon","\n color: var(--n-icon-color-disabled-override);\n ")])]),LA("date-panel","\n width: fit-content;\n outline: none;\n margin: 4px 0;\n display: grid;\n grid-template-columns: 0fr;\n border-radius: var(--n-panel-border-radius);\n background-color: var(--n-panel-color);\n color: var(--n-panel-text-color);\n user-select: none;\n ",[MK(),NA("shadow","\n box-shadow: var(--n-panel-box-shadow);\n "),LA("date-panel-calendar",{padding:"var(--n-calendar-left-padding)",display:"grid",gridTemplateColumns:"1fr",gridArea:"left-calendar"},[NA("end",{padding:"var(--n-calendar-right-padding)",gridArea:"right-calendar"})]),LA("date-panel-month-calendar",{display:"flex",gridArea:"left-calendar"},[jA("picker-col","\n min-width: var(--n-scroll-item-width);\n height: calc(var(--n-scroll-item-height) * 6);\n user-select: none;\n -webkit-user-select: none;\n ",[BA("&:first-child","\n min-width: calc(var(--n-scroll-item-width) + 4px);\n ",[jA("picker-col-item",[BA("&::before","left: 4px;")])]),jA("padding","\n height: calc(var(--n-scroll-item-height) * 5)\n ")]),jA("picker-col-item","\n z-index: 0;\n cursor: pointer;\n height: var(--n-scroll-item-height);\n box-sizing: border-box;\n padding-top: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n background: #0000;\n color: var(--n-item-text-color);\n ",[BA("&::before",'\n z-index: -1;\n content: "";\n position: absolute;\n left: 0;\n right: 4px;\n top: 4px;\n bottom: 0;\n border-radius: var(--n-scroll-item-border-radius);\n transition: \n background-color .3s var(--n-bezier);\n '),HA("disabled",[BA("&:hover::before","\n background-color: var(--n-item-color-hover);\n "),NA("selected","\n color: var(--n-item-color-active);\n ",[BA("&::before","background-color: var(--n-item-color-hover);")])]),NA("disabled","\n color: var(--n-item-text-color-disabled);\n cursor: not-allowed;\n ",[NA("selected",[BA("&::before","\n background-color: var(--n-item-color-disabled);\n ")])])])]),NA("date",{gridTemplateAreas:'\n "left-calendar"\n "footer"\n "action"\n '}),NA("week",{gridTemplateAreas:'\n "left-calendar"\n "footer"\n "action"\n '}),NA("daterange",{gridTemplateAreas:'\n "left-calendar divider right-calendar"\n "footer footer footer"\n "action action action"\n '}),NA("datetime",{gridTemplateAreas:'\n "header"\n "left-calendar"\n "footer"\n "action"\n '}),NA("datetimerange",{gridTemplateAreas:'\n "header header header"\n "left-calendar divider right-calendar"\n "footer footer footer"\n "action action action"\n '}),NA("month",{gridTemplateAreas:'\n "left-calendar"\n "footer"\n "action"\n '}),LA("date-panel-footer",{gridArea:"footer"}),LA("date-panel-actions",{gridArea:"action"}),LA("date-panel-header",{gridArea:"header"}),LA("date-panel-header","\n box-sizing: border-box;\n width: 100%;\n align-items: center;\n padding: var(--n-panel-header-padding);\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid var(--n-panel-header-divider-color);\n ",[BA(">",[BA("*:not(:last-child)",{marginRight:"10px"}),BA("*",{flex:1,width:0}),LA("time-picker",{zIndex:1})])]),LA("date-panel-month","\n box-sizing: border-box;\n display: grid;\n grid-template-columns: var(--n-calendar-title-grid-template-columns);\n align-items: center;\n justify-items: center;\n padding: var(--n-calendar-title-padding);\n height: var(--n-calendar-title-height);\n ",[jA("prev, next, fast-prev, fast-next","\n line-height: 0;\n cursor: pointer;\n width: var(--n-arrow-size);\n height: var(--n-arrow-size);\n color: var(--n-arrow-color);\n "),jA("month-year","\n user-select: none;\n -webkit-user-select: none;\n flex-grow: 1;\n position: relative;\n ",[jA("text","\n font-size: var(--n-calendar-title-font-size);\n line-height: var(--n-calendar-title-font-size);\n font-weight: var(--n-calendar-title-font-weight);\n padding: 6px 8px;\n text-align: center;\n color: var(--n-calendar-title-text-color);\n cursor: pointer;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-panel-border-radius);\n ",[NA("active","\n background-color: var(--n-calendar-title-color-hover);\n "),BA("&:hover","\n background-color: var(--n-calendar-title-color-hover);\n ")])])]),LA("date-panel-weekdays","\n display: grid;\n margin: auto;\n grid-template-columns: repeat(7, var(--n-item-cell-width));\n grid-template-rows: repeat(1, var(--n-item-cell-height));\n align-items: center;\n justify-items: center;\n margin-bottom: 4px;\n border-bottom: 1px solid var(--n-calendar-days-divider-color);\n ",[jA("day","\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n line-height: 15px;\n width: var(--n-item-size);\n text-align: center;\n font-size: var(--n-calendar-days-font-size);\n color: var(--n-item-text-color);\n display: flex;\n align-items: center;\n justify-content: center;\n ")]),LA("date-panel-dates","\n margin: auto;\n display: grid;\n grid-template-columns: repeat(7, var(--n-item-cell-width));\n grid-template-rows: repeat(6, var(--n-item-cell-height));\n align-items: center;\n justify-items: center;\n flex-wrap: wrap;\n ",[LA("date-panel-date","\n user-select: none;\n -webkit-user-select: none;\n position: relative;\n width: var(--n-item-size);\n height: var(--n-item-size);\n line-height: var(--n-item-size);\n text-align: center;\n font-size: var(--n-item-font-size);\n border-radius: var(--n-item-border-radius);\n z-index: 0;\n cursor: pointer;\n transition:\n background-color .2s var(--n-bezier),\n color .2s var(--n-bezier);\n ",[jA("trigger","\n position: absolute;\n left: calc(var(--n-item-size) / 2 - var(--n-item-cell-width) / 2);\n top: calc(var(--n-item-size) / 2 - var(--n-item-cell-height) / 2);\n width: var(--n-item-cell-width);\n height: var(--n-item-cell-height);\n "),NA("current",[jA("sup",'\n position: absolute;\n top: 2px;\n right: 2px;\n content: "";\n height: 4px;\n width: 4px;\n border-radius: 2px;\n background-color: var(--n-item-color-active);\n transition:\n background-color .2s var(--n-bezier);\n ')]),BA("&::after",'\n content: "";\n z-index: -1;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n transition: background-color .3s var(--n-bezier);\n '),NA("covered, start, end",[HA("excluded",[BA("&::before",'\n content: "";\n z-index: -2;\n position: absolute;\n left: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n right: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n top: 0;\n bottom: 0;\n background-color: var(--n-item-color-included);\n '),BA("&:nth-child(7n + 1)::before",{borderTopLeftRadius:"var(--n-item-border-radius)",borderBottomLeftRadius:"var(--n-item-border-radius)"}),BA("&:nth-child(7n + 7)::before",{borderTopRightRadius:"var(--n-item-border-radius)",borderBottomRightRadius:"var(--n-item-border-radius)"})])]),NA("selected",{color:"var(--n-item-text-color-active)"},[BA("&::after",{backgroundColor:"var(--n-item-color-active)"}),NA("start",[BA("&::before",{left:"50%"})]),NA("end",[BA("&::before",{right:"50%"})]),jA("sup",{backgroundColor:"var(--n-panel-color)"})]),NA("excluded",{color:"var(--n-item-text-color-disabled)"},[NA("selected",[BA("&::after",{backgroundColor:"var(--n-item-color-disabled)"})])]),NA("disabled",{cursor:"not-allowed",color:"var(--n-item-text-color-disabled)"},[NA("covered",[BA("&::before",{backgroundColor:"var(--n-item-color-disabled)"})]),NA("selected",[BA("&::before",{backgroundColor:"var(--n-item-color-disabled)"}),BA("&::after",{backgroundColor:"var(--n-item-color-disabled)"})])]),NA("week-hovered",[BA("&::before","\n background-color: var(--n-item-color-included);\n "),BA("&:nth-child(7n + 1)::before","\n border-top-left-radius: var(--n-item-border-radius);\n border-bottom-left-radius: var(--n-item-border-radius);\n "),BA("&:nth-child(7n + 7)::before","\n border-top-right-radius: var(--n-item-border-radius);\n border-bottom-right-radius: var(--n-item-border-radius);\n ")]),NA("week-selected","\n color: var(--n-item-text-color-active)\n ",[BA("&::before","\n background-color: var(--n-item-color-active);\n "),BA("&:nth-child(7n + 1)::before","\n border-top-left-radius: var(--n-item-border-radius);\n border-bottom-left-radius: var(--n-item-border-radius);\n "),BA("&:nth-child(7n + 7)::before","\n border-top-right-radius: var(--n-item-border-radius);\n border-bottom-right-radius: var(--n-item-border-radius);\n ")])])]),HA("week",[LA("date-panel-dates",[LA("date-panel-date",[HA("disabled",[HA("selected",[BA("&:hover","\n background-color: var(--n-item-color-hover);\n ")])])])])]),NA("week",[LA("date-panel-dates",[LA("date-panel-date",[BA("&::before",'\n content: "";\n z-index: -2;\n position: absolute;\n left: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n right: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n top: 0;\n bottom: 0;\n transition: background-color .3s var(--n-bezier);\n ')])])]),jA("vertical-divider","\n grid-area: divider;\n height: 100%;\n width: 1px;\n background-color: var(--n-calendar-divider-color);\n "),LA("date-panel-footer","\n border-top: 1px solid var(--n-panel-action-divider-color);\n padding: var(--n-panel-extra-footer-padding);\n "),LA("date-panel-actions","\n flex: 1;\n padding: var(--n-panel-action-padding);\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-top: 1px solid var(--n-panel-action-divider-color);\n ",[jA("prefix, suffix","\n display: flex;\n margin-bottom: -8px;\n "),jA("suffix","\n align-self: flex-end;\n "),jA("prefix","\n flex-wrap: wrap;\n "),LA("button","\n margin-bottom: 8px;\n ",[BA("&:not(:last-child)","\n margin-right: 8px;\n ")])])]),BA("[data-n-date].transition-disabled",{transition:"none !important"},[BA("&::before, &::after",{transition:"none !important"})])]);const M4=$n({name:"DatePicker",props:F4,slots:Object,setup(e,{slots:t}){var n;const{localeRef:o,dateLocaleRef:r}=AW("DatePicker"),a=bE(e),{mergedSizeRef:i,mergedDisabledRef:l,mergedStatusRef:s}=a,{mergedComponentPropsRef:d,mergedClsPrefixRef:c,mergedBorderedRef:u,namespaceRef:h,inlineThemeDisabled:p}=fE(e),f=vt(null),m=vt(null),v=vt(null),g=vt(!1),b=xD(Ft(e,"show"),g),y=Qr((()=>({locale:r.value.locale,useAdditionalWeekYearTokens:!0}))),_=Qr((()=>{const{format:t}=e;if(t)return t;switch(e.type){case"date":case"daterange":return o.value.dateFormat;case"datetime":case"datetimerange":return o.value.dateTimeFormat;case"year":case"yearrange":return o.value.yearTypeFormat;case"month":case"monthrange":return o.value.monthTypeFormat;case"quarter":case"quarterrange":return o.value.quarterFormat;case"week":return o.value.weekFormat}})),x=Qr((()=>{var t;return null!==(t=e.valueFormat)&&void 0!==t?t:_.value}));function C(e){if(null===e)return null;const{value:t}=x,{value:n}=y;return Array.isArray(e)?[GZ(e[0],t,new Date,n).getTime(),GZ(e[1],t,new Date,n).getTime()]:GZ(e,t,new Date,n).getTime()}const{defaultFormattedValue:w,defaultValue:S}=e,k=vt(null!==(n=void 0!==w?C(w):S)&&void 0!==n?n:null),P=xD(Qr((()=>{const{formattedValue:t}=e;return void 0!==t?C(t):e.value})),k),T=vt(null);Jo((()=>{T.value=P.value}));const R=vt(""),F=vt(""),z=vt(""),M=HW("DatePicker","-date-picker",z4,S0,e,c),$=Qr((()=>{var e,t;return(null===(t=null===(e=null==d?void 0:d.value)||void 0===e?void 0:e.DatePicker)||void 0===t?void 0:t.timePickerSize)||"small"})),A=Qr((()=>["daterange","datetimerange","monthrange","quarterrange","yearrange"].includes(e.type))),O=Qr((()=>{const{placeholder:t}=e;if(void 0!==t)return t;{const{type:t}=e;switch(t){case"date":return o.value.datePlaceholder;case"datetime":return o.value.datetimePlaceholder;case"month":return o.value.monthPlaceholder;case"year":return o.value.yearPlaceholder;case"quarter":return o.value.quarterPlaceholder;case"week":return o.value.weekPlaceholder;default:return""}}})),D=Qr((()=>void 0===e.startPlaceholder?"daterange"===e.type?o.value.startDatePlaceholder:"datetimerange"===e.type?o.value.startDatetimePlaceholder:"monthrange"===e.type?o.value.startMonthPlaceholder:"":e.startPlaceholder)),I=Qr((()=>void 0===e.endPlaceholder?"daterange"===e.type?o.value.endDatePlaceholder:"datetimerange"===e.type?o.value.endDatetimePlaceholder:"monthrange"===e.type?o.value.endMonthPlaceholder:"":e.endPlaceholder)),B=Qr((()=>{const{actions:t,type:n,clearable:o}=e;if(null===t)return[];if(void 0!==t)return t;const r=o?["clear"]:[];switch(n){case"date":case"week":case"year":return r.push("now"),r;case"datetime":case"month":case"quarter":return r.push("now","confirm"),r;case"daterange":case"datetimerange":case"monthrange":case"yearrange":case"quarterrange":return r.push("confirm"),r}}));function E(t,n){const{"onUpdate:value":o,onUpdateValue:r,onChange:i}=e,{nTriggerFormChange:l,nTriggerFormInput:s}=a,d=function(e){if(null===e)return null;if(Array.isArray(e)){const{value:t}=x,{value:n}=y;return[CX(e[0],t,n),CX(e[1],t,y.value)]}return CX(e,x.value,y.value)}(t);n.doConfirm&&function(t,n){const{onConfirm:o}=e;o&&o(t,n)}(t,d),r&&GB(r,t,d),o&&GB(o,t,d),i&&GB(i,t,d),k.value=t,function(t,n){const{"onUpdate:formattedValue":o,onUpdateFormattedValue:r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(d,t),l(),s()}function L(){const{onClear:t}=e;null==t||t()}function j(t){const{"onUpdate:show":n,onUpdateShow:o}=e;n&&GB(n,t),o&&GB(o,t),g.value=t}function N(){const e=T.value;E(Array.isArray(e)?[e[0],e[1]]:e,{doConfirm:!0})}function H(){const{value:e}=T;A.value?(Array.isArray(e)||null===e)&&function(e){if(null===e)F.value="",z.value="";else{const t=y.value;F.value=CX(e[0],_.value,t),z.value=CX(e[1],_.value,t)}}(e):Array.isArray(e)||function(e){R.value=null===e?"":CX(e,_.value,y.value)}(e)}function W(){l.value||b.value||j(!0)}function V({returnFocus:t,disableUpdateOnClose:n}){var o;b.value&&(j(!1),"date"!==e.type&&e.updateValueOnClose&&!n&&N(),t&&(null===(o=v.value)||void 0===o||o.focus()))}er(T,(()=>{H()})),H(),er(b,(e=>{e||(T.value=P.value)}));const U=function(e,t){const n=Qr((()=>{const{isTimeDisabled:n}=e,{value:o}=t;if(null!==o&&!Array.isArray(o))return null==n?void 0:n(o)})),o=Qr((()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.isHourDisabled})),r=Qr((()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.isMinuteDisabled})),a=Qr((()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.isSecondDisabled})),i=Qr((()=>{const{type:n,isDateDisabled:o}=e,{value:r}=t;return!(null===r||Array.isArray(r)||!["date","datetime"].includes(n)||!o)&&o(r,{type:"input"})})),l=Qr((()=>{const{type:n}=e,{value:i}=t;if(null===i||"datetime"===n||Array.isArray(i))return!1;const l=new Date(i),s=l.getHours(),d=l.getMinutes(),c=l.getMinutes();return!!o.value&&o.value(s)||!!r.value&&r.value(d,s)||!!a.value&&a.value(c,d,s)})),s=Qr((()=>i.value||l.value));return{isValueInvalidRef:Qr((()=>{const{type:t}=e;return"date"===t?i.value:"datetime"===t&&s.value})),isDateInvalidRef:i,isTimeInvalidRef:l,isDateTimeInvalidRef:s,isHourDisabledRef:o,isMinuteDisabledRef:r,isSecondDisabledRef:a}}(e,T),q=function(e,t){const n=Qr((()=>{const{isTimeDisabled:n}=e,{value:o}=t;return Array.isArray(o)&&n?[null==n?void 0:n(o[0],"start",o),null==n?void 0:n(o[1],"end",o)]:[void 0,void 0]})),o={isStartHourDisabledRef:Qr((()=>{var e;return null===(e=n.value[0])||void 0===e?void 0:e.isHourDisabled})),isEndHourDisabledRef:Qr((()=>{var e;return null===(e=n.value[1])||void 0===e?void 0:e.isHourDisabled})),isStartMinuteDisabledRef:Qr((()=>{var e;return null===(e=n.value[0])||void 0===e?void 0:e.isMinuteDisabled})),isEndMinuteDisabledRef:Qr((()=>{var e;return null===(e=n.value[1])||void 0===e?void 0:e.isMinuteDisabled})),isStartSecondDisabledRef:Qr((()=>{var e;return null===(e=n.value[0])||void 0===e?void 0:e.isSecondDisabled})),isEndSecondDisabledRef:Qr((()=>{var e;return null===(e=n.value[1])||void 0===e?void 0:e.isSecondDisabled}))},r=Qr((()=>{const{type:n,isDateDisabled:o}=e,{value:r}=t;return!!(null!==r&&Array.isArray(r)&&["daterange","datetimerange"].includes(n)&&o)&&o(r[0],"start",r)})),a=Qr((()=>{const{type:n,isDateDisabled:o}=e,{value:r}=t;return!!(null!==r&&Array.isArray(r)&&["daterange","datetimerange"].includes(n)&&o)&&o(r[1],"end",r)})),i=Qr((()=>{const{type:n}=e,{value:r}=t;if(null===r||!Array.isArray(r)||"datetimerange"!==n)return!1;const a=PX(r[0]),i=TX(r[0]),l=FX(r[0]),{isStartHourDisabledRef:s,isStartMinuteDisabledRef:d,isStartSecondDisabledRef:c}=o;return!!s.value&&s.value(a)||!!d.value&&d.value(i,a)||!!c.value&&c.value(l,i,a)})),l=Qr((()=>{const{type:n}=e,{value:r}=t;if(null===r||!Array.isArray(r)||"datetimerange"!==n)return!1;const a=PX(r[1]),i=TX(r[1]),l=FX(r[1]),{isEndHourDisabledRef:s,isEndMinuteDisabledRef:d,isEndSecondDisabledRef:c}=o;return!!s.value&&s.value(a)||!!d.value&&d.value(i,a)||!!c.value&&c.value(l,i,a)})),s=Qr((()=>r.value||i.value)),d=Qr((()=>a.value||l.value)),c=Qr((()=>s.value||d.value));return Object.assign(Object.assign({},o),{isStartDateInvalidRef:r,isEndDateInvalidRef:a,isStartTimeInvalidRef:i,isEndTimeInvalidRef:l,isStartValueInvalidRef:s,isEndValueInvalidRef:d,isRangeInvalidRef:c})}(e,T);To(P0,Object.assign(Object.assign(Object.assign({mergedClsPrefixRef:c,mergedThemeRef:M,timePickerSizeRef:$,localeRef:o,dateLocaleRef:r,firstDayOfWeekRef:Ft(e,"firstDayOfWeek"),isDateDisabledRef:Ft(e,"isDateDisabled"),rangesRef:Ft(e,"ranges"),timePickerPropsRef:Ft(e,"timePickerProps"),closeOnSelectRef:Ft(e,"closeOnSelect"),updateValueOnCloseRef:Ft(e,"updateValueOnClose"),monthFormatRef:Ft(e,"monthFormat"),yearFormatRef:Ft(e,"yearFormat"),quarterFormatRef:Ft(e,"quarterFormat"),yearRangeRef:Ft(e,"yearRange")},U),q),{datePickerSlots:t}));const K={focus:()=>{var e;null===(e=v.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=v.value)||void 0===e||e.blur()}},Y=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{iconColor:t,iconColorDisabled:n}}=M.value;return{"--n-bezier":e,"--n-icon-color-override":t,"--n-icon-color-disabled-override":n}})),G=p?vE("date-picker-trigger",void 0,Y,e):void 0,X=Qr((()=>{const{type:t}=e,{common:{cubicBezierEaseInOut:n},self:{calendarTitleFontSize:o,calendarDaysFontSize:r,itemFontSize:a,itemTextColor:i,itemColorDisabled:l,itemColorIncluded:s,itemColorHover:d,itemColorActive:c,itemBorderRadius:u,itemTextColorDisabled:h,itemTextColorActive:p,panelColor:f,panelTextColor:m,arrowColor:v,calendarTitleTextColor:g,panelActionDividerColor:b,panelHeaderDividerColor:y,calendarDaysDividerColor:_,panelBoxShadow:x,panelBorderRadius:C,calendarTitleFontWeight:w,panelExtraFooterPadding:S,panelActionPadding:k,itemSize:P,itemCellWidth:T,itemCellHeight:R,scrollItemWidth:F,scrollItemHeight:z,calendarTitlePadding:$,calendarTitleHeight:A,calendarDaysHeight:O,calendarDaysTextColor:D,arrowSize:I,panelHeaderPadding:B,calendarDividerColor:E,calendarTitleGridTempateColumns:L,iconColor:j,iconColorDisabled:N,scrollItemBorderRadius:H,calendarTitleColorHover:W,[KA("calendarLeftPadding",t)]:V,[KA("calendarRightPadding",t)]:U}}=M.value;return{"--n-bezier":n,"--n-panel-border-radius":C,"--n-panel-color":f,"--n-panel-box-shadow":x,"--n-panel-text-color":m,"--n-panel-header-padding":B,"--n-panel-header-divider-color":y,"--n-calendar-left-padding":V,"--n-calendar-right-padding":U,"--n-calendar-title-color-hover":W,"--n-calendar-title-height":A,"--n-calendar-title-padding":$,"--n-calendar-title-font-size":o,"--n-calendar-title-font-weight":w,"--n-calendar-title-text-color":g,"--n-calendar-title-grid-template-columns":L,"--n-calendar-days-height":O,"--n-calendar-days-divider-color":_,"--n-calendar-days-font-size":r,"--n-calendar-days-text-color":D,"--n-calendar-divider-color":E,"--n-panel-action-padding":k,"--n-panel-extra-footer-padding":S,"--n-panel-action-divider-color":b,"--n-item-font-size":a,"--n-item-border-radius":u,"--n-item-size":P,"--n-item-cell-width":T,"--n-item-cell-height":R,"--n-item-text-color":i,"--n-item-color-included":s,"--n-item-color-disabled":l,"--n-item-color-hover":d,"--n-item-color-active":c,"--n-item-text-color-disabled":h,"--n-item-text-color-active":p,"--n-scroll-item-width":F,"--n-scroll-item-height":z,"--n-scroll-item-border-radius":H,"--n-arrow-size":I,"--n-arrow-color":v,"--n-icon-color":j,"--n-icon-color-disabled":N}})),Z=p?vE("date-picker",Qr((()=>e.type)),X,e):void 0;return Object.assign(Object.assign({},K),{mergedStatus:s,mergedClsPrefix:c,mergedBordered:u,namespace:h,uncontrolledValue:k,pendingValue:T,panelInstRef:f,triggerElRef:m,inputInstRef:v,isMounted:CD(),displayTime:R,displayStartTime:F,displayEndTime:z,mergedShow:b,adjustedTo:ID(e),isRange:A,localizedStartPlaceholder:D,localizedEndPlaceholder:I,mergedSize:i,mergedDisabled:l,localizedPlacehoder:O,isValueInvalid:U.isValueInvalidRef,isStartValueInvalid:q.isStartValueInvalidRef,isEndValueInvalid:q.isEndValueInvalidRef,handleInputKeydown:function(e){"Escape"===e.key&&b.value&&VB(e)},handleClickOutside:function(e){var t;b.value&&!(null===(t=m.value)||void 0===t?void 0:t.contains(JA(e)))&&V({returnFocus:!1})},handleKeydown:function(e){"Escape"===e.key&&b.value&&(VB(e),V({returnFocus:!0}))},handleClear:function(){var e;j(!1),null===(e=v.value)||void 0===e||e.deactivate(),L()},handlePanelClear:function(){var e;null===(e=v.value)||void 0===e||e.deactivate(),L()},handleTriggerClick:function(e){l.value||QA(e,"clear")||b.value||W()},handleInputActivate:function(){b.value||W()},handleInputDeactivate:function(){l.value||(H(),V({returnFocus:!1}))},handleInputFocus:function(t){l.value||function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=a;n&&GB(n,t),o()}(t)},handleInputBlur:function(t){var n;(null===(n=f.value)||void 0===n?void 0:n.$el.contains(t.relatedTarget))||(!function(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=a;n&&GB(n,t),o()}(t),H(),V({returnFocus:!1}))},handlePanelTabOut:function(){V({returnFocus:!0})},handlePanelClose:function(e){V({returnFocus:!0,disableUpdateOnClose:e})},handleRangeUpdateValue:function(e,{source:t}){if(""===e[0]&&""===e[1])return E(null,{doConfirm:!1}),T.value=null,F.value="",void(z.value="");const[n,o]=e,r=GZ(n,_.value,new Date,y.value),a=GZ(o,_.value,new Date,y.value);if(NG(r)&&NG(a)){let e=zX(r),n=zX(a);a{const{type:e}=this;return"datetime"===e?Jr(P4,Object.assign({},r,{defaultCalendarStartTime:this.defaultCalendarStartTime}),o):"daterange"===e?Jr(B0,Object.assign({},r,{defaultCalendarStartTime:this.defaultCalendarStartTime,defaultCalendarEndTime:this.defaultCalendarEndTime,bindCalendarMonths:this.bindCalendarMonths}),o):"datetimerange"===e?Jr(T4,Object.assign({},r,{defaultCalendarStartTime:this.defaultCalendarStartTime,defaultCalendarEndTime:this.defaultCalendarEndTime,bindCalendarMonths:this.bindCalendarMonths}),o):"month"===e||"year"===e||"quarter"===e?Jr($0,Object.assign({},r,{type:e,key:e})):"monthrange"===e||"yearrange"===e||"quarterrange"===e?Jr(R4,Object.assign({},r,{type:e})):Jr(O0,Object.assign({},r,{type:e,defaultCalendarStartTime:this.defaultCalendarStartTime}),o)};if(this.panel)return a();null==t||t();const i={bordered:this.mergedBordered,size:this.mergedSize,passivelyActivated:!0,disabled:this.mergedDisabled,readonly:this.inputReadonly||this.mergedDisabled,clearable:e,onClear:this.handleClear,onClick:this.handleTriggerClick,onKeydown:this.handleInputKeydown,onActivate:this.handleInputActivate,onDeactivate:this.handleInputDeactivate,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur};return Jr("div",{ref:"triggerElRef",class:[`${n}-date-picker`,this.mergedDisabled&&`${n}-date-picker--disabled`,this.isRange&&`${n}-date-picker--range`,this.triggerThemeClass],style:this.triggerCssVars,onKeydown:this.handleKeydown},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>this.isRange?Jr(BY,Object.assign({ref:"inputInstRef",status:this.mergedStatus,value:[this.displayStartTime,this.displayEndTime],placeholder:[this.localizedStartPlaceholder,this.localizedEndPlaceholder],textDecoration:[this.isStartValueInvalid?"line-through":"",this.isEndValueInvalid?"line-through":""],pair:!0,onUpdateValue:this.handleRangeUpdateValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,internalForceFocus:this.mergedShow,internalDeactivateOnEnter:!0},i),{separator:()=>void 0===this.separator?lE(o.separator,(()=>[Jr(VW,{clsPrefix:n,class:`${n}-date-picker-icon`},{default:()=>Jr(kV,null)})])):this.separator,[e?"clear-icon-placeholder":"suffix"]:()=>lE(o["date-icon"],(()=>[Jr(VW,{clsPrefix:n,class:`${n}-date-picker-icon`},{default:()=>Jr(rV,null)})]))}):Jr(BY,Object.assign({ref:"inputInstRef",status:this.mergedStatus,value:this.displayTime,placeholder:this.localizedPlacehoder,textDecoration:this.isValueInvalid&&!this.isRange?"line-through":"",onUpdateValue:this.handleSingleUpdateValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,internalForceFocus:this.mergedShow,internalDeactivateOnEnter:!0},i),{[e?"clear-icon-placeholder":"suffix"]:()=>Jr(VW,{clsPrefix:n,class:`${n}-date-picker-icon`},{default:()=>lE(o["date-icon"],(()=>[Jr(rV,null)]))})})}),Jr(FI,{show:this.mergedShow,containerClass:this.namespace,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey,placement:this.placement},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.mergedShow?on(a(),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})})]}))}}),$4={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"};function A4(e){const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:a,popoverColor:i,dividerColor:l,borderRadius:s,fontWeightStrong:d,lineHeight:c,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p}=e;return Object.assign(Object.assign({},$4),{lineHeight:c,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,titleTextColor:o,thColor:OO(r,t),thColorModal:OO(a,t),thColorPopover:OO(i,t),thTextColor:o,thFontWeight:d,tdTextColor:n,tdColor:r,tdColorModal:a,tdColorPopover:i,borderColor:OO(r,l),borderColorModal:OO(a,l),borderColorPopover:OO(i,l),borderRadius:s})}const O4={name:"Descriptions",common:Eq,self:A4},D4={name:"Descriptions",common:KU,self:A4},I4="n-dialog-provider",B4="n-dialog-api";function E4(){const e=Ro(B4,null);return null===e&&YB("use-dialog","No outer founded."),e}const L4={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"};function j4(e){const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:l,closeColorPressed:s,infoColor:d,successColor:c,warningColor:u,errorColor:h,primaryColor:p,dividerColor:f,borderRadius:m,fontWeightStrong:v,lineHeight:g,fontSize:b}=e;return Object.assign(Object.assign({},L4),{fontSize:b,lineHeight:g,border:`1px solid ${f}`,titleTextColor:t,textColor:n,color:o,closeColorHover:l,closeColorPressed:s,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeBorderRadius:m,iconColor:p,iconColorInfo:d,iconColorSuccess:c,iconColorWarning:u,iconColorError:h,borderRadius:m,titleFontWeight:v})}const N4={name:"Dialog",common:Eq,peers:{Button:xG},self:j4},H4={name:"Dialog",common:KU,peers:{Button:CG},self:j4},W4={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function},V4=nE(W4),U4=BA([LA("dialog","\n --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left);\n word-break: break-word;\n line-height: var(--n-line-height);\n position: relative;\n background: var(--n-color);\n color: var(--n-text-color);\n box-sizing: border-box;\n margin: auto;\n border-radius: var(--n-border-radius);\n padding: var(--n-padding);\n transition: \n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ",[jA("icon",{color:"var(--n-icon-color)"}),NA("bordered",{border:"var(--n-border)"}),NA("icon-top",[jA("close",{margin:"var(--n-close-margin)"}),jA("icon",{margin:"var(--n-icon-margin)"}),jA("content",{textAlign:"center"}),jA("title",{justifyContent:"center"}),jA("action",{justifyContent:"center"})]),NA("icon-left",[jA("icon",{margin:"var(--n-icon-margin)"}),NA("closable",[jA("title","\n padding-right: calc(var(--n-close-size) + 6px);\n ")])]),jA("close","\n position: absolute;\n right: 0;\n top: 0;\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n z-index: 1;\n "),jA("content","\n font-size: var(--n-font-size);\n margin: var(--n-content-margin);\n position: relative;\n word-break: break-word;\n ",[NA("last","margin-bottom: 0;")]),jA("action","\n display: flex;\n justify-content: flex-end;\n ",[BA("> *:not(:last-child)","\n margin-right: var(--n-action-space);\n ")]),jA("icon","\n font-size: var(--n-icon-size);\n transition: color .3s var(--n-bezier);\n "),jA("title","\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n font-size: var(--n-title-font-size);\n font-weight: var(--n-title-font-weight);\n color: var(--n-title-text-color);\n "),LA("dialog-icon-container","\n display: flex;\n justify-content: center;\n ")]),WA(LA("dialog","\n width: 446px;\n max-width: calc(100vw - 32px);\n ")),LA("dialog",[UA("\n width: 446px;\n max-width: calc(100vw - 32px);\n ")])]),q4={default:()=>Jr(fV,null),info:()=>Jr(fV,null),success:()=>Jr(CV,null),warning:()=>Jr(TV,null),error:()=>Jr(lV,null)},K4=$n({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},HW.props),W4),slots:Object,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=fE(e),a=DW("Dialog",r,n),i=Qr((()=>{var n,o;const{iconPlacement:r}=e;return r||(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.Dialog)||void 0===o?void 0:o.iconPlacement)||"left"}));const l=HW("Dialog","-dialog",U4,N4,e,n),s=Qr((()=>{const{type:t}=e,n=i.value,{common:{cubicBezierEaseInOut:o},self:{fontSize:r,lineHeight:a,border:s,titleTextColor:d,textColor:c,color:u,closeBorderRadius:h,closeColorHover:p,closeColorPressed:f,closeIconColor:m,closeIconColorHover:v,closeIconColorPressed:g,closeIconSize:b,borderRadius:y,titleFontWeight:_,titleFontSize:x,padding:C,iconSize:w,actionSpace:S,contentMargin:k,closeSize:P,["top"===n?"iconMarginIconTop":"iconMargin"]:T,["top"===n?"closeMarginIconTop":"closeMargin"]:R,[KA("iconColor",t)]:F}}=l.value,z=oO(T);return{"--n-font-size":r,"--n-icon-color":F,"--n-bezier":o,"--n-close-margin":R,"--n-icon-margin-top":z.top,"--n-icon-margin-right":z.right,"--n-icon-margin-bottom":z.bottom,"--n-icon-margin-left":z.left,"--n-icon-size":w,"--n-close-size":P,"--n-close-icon-size":b,"--n-close-border-radius":h,"--n-close-color-hover":p,"--n-close-color-pressed":f,"--n-close-icon-color":m,"--n-close-icon-color-hover":v,"--n-close-icon-color-pressed":g,"--n-color":u,"--n-text-color":c,"--n-border-radius":y,"--n-padding":C,"--n-line-height":a,"--n-border":s,"--n-content-margin":k,"--n-title-font-size":x,"--n-title-font-weight":_,"--n-title-text-color":d,"--n-action-space":S}})),d=o?vE("dialog",Qr((()=>`${e.type[0]}${i.value[0]}`)),s,e):void 0;return{mergedClsPrefix:n,rtlEnabled:a,mergedIconPlacement:i,mergedTheme:l,handlePositiveClick:function(t){const{onPositiveClick:n}=e;n&&n(t)},handleNegativeClick:function(t){const{onNegativeClick:n}=e;n&&n(t)},handleCloseClick:function(){const{onClose:t}=e;t&&t()},cssVars:o?void 0:s,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:a,title:i,content:l,action:s,negativeText:d,positiveText:c,positiveButtonProps:u,negativeButtonProps:h,handlePositiveClick:p,handleNegativeClick:f,mergedTheme:m,loading:v,type:g,mergedClsPrefix:b}=this;null===(e=this.onRender)||void 0===e||e.call(this);const y=a?Jr(VW,{clsPrefix:b,class:`${b}-dialog__icon`},{default:()=>dE(this.$slots.icon,(e=>e||(this.icon?aE(this.icon):q4[this.type]())))}):null,_=dE(this.$slots.action,(e=>e||c||d||s?Jr("div",{class:[`${b}-dialog__action`,this.actionClass],style:this.actionStyle},e||(s?[aE(s)]:[this.negativeText&&Jr(SG,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,ghost:!0,size:"small",onClick:f},h),{default:()=>aE(this.negativeText)}),this.positiveText&&Jr(SG,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:"small",type:"default"===g?"primary":g,disabled:v,loading:v,onClick:p},u),{default:()=>aE(this.positiveText)})])):null));return Jr("div",{class:[`${b}-dialog`,this.themeClass,this.closable&&`${b}-dialog--closable`,`${b}-dialog--icon-${n}`,t&&`${b}-dialog--bordered`,this.rtlEnabled&&`${b}-dialog--rtl`],style:o,role:"dialog"},r?dE(this.$slots.close,(e=>{const t=[`${b}-dialog__close`,this.rtlEnabled&&`${b}-dialog--rtl`];return e?Jr("div",{class:t},e):Jr(DV,{clsPrefix:b,class:t,onClick:this.handleCloseClick})})):null,a&&"top"===n?Jr("div",{class:`${b}-dialog-icon-container`},y):null,Jr("div",{class:[`${b}-dialog__title`,this.titleClass],style:this.titleStyle},a&&"left"===n?y:null,lE(this.$slots.header,(()=>[aE(i)]))),Jr("div",{class:[`${b}-dialog__content`,_?"":`${b}-dialog__content--last`,this.contentClass],style:this.contentStyle},lE(this.$slots.default,(()=>[aE(l)]))),_)}});function Y4(e){const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}}const G4={name:"Modal",common:Eq,peers:{Scrollbar:Nq,Dialog:N4,Card:rQ},self:Y4},X4={name:"Modal",common:KU,peers:{Scrollbar:Hq,Dialog:H4,Card:aQ},self:Y4},Z4="n-modal-api";function Q4(){const e=Ro(Z4,null);return null===e&&YB("use-modal","No outer founded."),e}const J4="n-draggable";const e2=Object.assign(Object.assign({},lQ),W4),t2=nE(e2),n2=$n({name:"ModalBody",inheritAttrs:!1,slots:Object,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean,draggable:{type:[Boolean,Object],default:!1}},e2),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=vt(null),n=vt(null),o=vt(e.show),r=vt(null),a=vt(null),i=Ro(AD);let l=null;er(Ft(e,"show"),(e=>{e&&(l=i.getMousePosition())}),{immediate:!0});const{stopDrag:s,startDrag:d,draggableRef:c,draggableClassRef:u}=function(e,t){let n;const o=Qr((()=>!1!==e.value)),r=Qr((()=>o.value?J4:"")),a=Qr((()=>{const t=e.value;return!0===t||!1===t||!t||"none"!==t.bounds}));function i(){n&&(n(),n=void 0)}return Zn(i),{stopDrag:i,startDrag:function(e){const o=e.querySelector(`.${J4}`);if(!o||!r.value)return;let i,l=0,s=0,d=0,c=0,u=0,h=0;function p(t){t.preventDefault(),i=t;const{x:n,y:o,right:r,bottom:a}=e.getBoundingClientRect();s=n,c=o,l=window.innerWidth-r,d=window.innerHeight-a;const{left:p,top:f}=e.style;u=+f.slice(0,-2),h=+p.slice(0,-2)}function f(t){if(!i)return;const{clientX:n,clientY:o}=i;let r=t.clientX-n,p=t.clientY-o;a.value&&(r>l?r=l:-r>s&&(r=-s),p>d?p=d:-p>c&&(p=-c));const f=r+h,m=p+u;e.style.top=`${m}px`,e.style.left=`${f}px`}function m(){i=void 0,t.onEnd(e)}eD("mousedown",o,p),eD("mousemove",window,f),eD("mouseup",window,m),n=()=>{tD("mousedown",o,p),eD("mousemove",window,f),eD("mouseup",window,m)}},draggableRef:o,draggableClassRef:r}}(Ft(e,"draggable"),{onEnd:e=>{m(e)}}),h=Qr((()=>H([e.titleClass,u.value]))),p=Qr((()=>H([e.headerClass,u.value])));function f(){if("center"===i.transformOriginRef.value)return"";const{value:e}=r,{value:t}=a;if(null===e||null===t)return"";if(n.value){return`${e}px ${t+n.value.containerScrollTop}px`}return""}function m(e){if("center"===i.transformOriginRef.value)return;if(!l)return;if(!n.value)return;const t=n.value.containerScrollTop,{offsetLeft:o,offsetTop:s}=e,d=l.y,c=l.x;r.value=-(o-c),a.value=-(s-d-t),e.style.transformOrigin=f()}er(Ft(e,"show"),(e=>{e&&(o.value=!0)})),function(e){if("undefined"==typeof document)return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=VD,t.style.overflow=UD,t.style.overflowX=qD,t.style.overflowY=KD,YD.value="0px"};Kn((()=>{n=er(e,(e=>{if(e){if(!WD){const e=window.innerWidth-t.offsetWidth;e>0&&(VD=t.style.marginRight,t.style.marginRight=`${e}px`,YD.value=`${e}px`),UD=t.style.overflow,qD=t.style.overflowX,KD=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,WD++}else WD--,WD||r(),o=!1}),{immediate:!0})})),Xn((()=>{null==n||n(),o&&(WD--,WD||r(),o=!1)}))}(Qr((()=>e.blockScroll&&o.value)));const v=vt(null);return er(v,(e=>{e&&Kt((()=>{const n=e.el;n&&t.value!==n&&(t.value=n)}))})),To($D,t),To(MD,null),To(OD,null),{mergedTheme:i.mergedThemeRef,appear:i.appearRef,isMounted:i.isMountedRef,mergedClsPrefix:i.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,draggableClass:u,displayed:o,childNodeRef:v,cardHeaderClass:p,dialogTitleClass:h,handlePositiveClick:function(){e.onPositiveClick()},handleNegativeClick:function(){e.onNegativeClick()},handleCloseClick:function(){const{onClose:t}=e;t&&t()},handleAfterEnter:function(t){const n=t;c.value&&d(n),e.onAfterEnter&&e.onAfterEnter(n)},handleAfterLeave:function(){o.value=!1,r.value=null,a.value=null,s(),e.onAfterLeave()},handleBeforeLeave:function(t){t.style.transformOrigin=f(),e.onBeforeLeave()},handleEnter:function(e){Kt((()=>{m(e)}))}}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterEnter:o,handleAfterLeave:r,handleBeforeLeave:a,preset:i,mergedClsPrefix:l}=this;let s=null;if(!i){if(s=JB(0,e.default,{draggableClass:this.draggableClass}),!s)return;s=Mr(s),s.props=Ir({class:`${l}-modal`},t,s.props||{})}return"show"===this.displayDirective||this.displayed||this.show?on(Jr("div",{role:"none",class:`${l}-modal-body-wrapper`},Jr(Vq,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${l}-modal-scroll-content`},{default:()=>{var t;return[null===(t=this.renderMask)||void 0===t?void 0:t.call(this),Jr(OB,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var t;return Jr(ha,{name:"fade-in-scale-up-transition",appear:null!==(t=this.appear)&&void 0!==t?t:this.isMounted,onEnter:n,onAfterEnter:o,onAfterLeave:r,onBeforeLeave:a},{default:()=>{const t=[[Ra,this.show]],{onClickoutside:n}=this;return n&&t.push([sI,this.onClickoutside,void 0,{capture:!0}]),on("confirm"===this.preset||"dialog"===this.preset?Jr(K4,Object.assign({},this.$attrs,{class:[`${l}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},tE(this.$props,V4),{titleClass:this.dialogTitleClass,"aria-modal":"true"}),e):"card"===this.preset?Jr(dQ,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${l}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},tE(this.$props,sQ),{headerClass:this.cardHeaderClass,"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,t)}})}})]}})),[[Ra,"if"===this.displayDirective||this.displayed||this.show]]):null}}),o2=BA([LA("modal-container","\n position: fixed;\n left: 0;\n top: 0;\n height: 0;\n width: 0;\n display: flex;\n "),LA("modal-mask","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, .4);\n ",[WV({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),LA("modal-body-wrapper","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: visible;\n ",[LA("modal-scroll-content","\n min-height: 100%;\n display: flex;\n position: relative;\n ")]),LA("modal","\n position: relative;\n align-self: center;\n color: var(--n-text-color);\n margin: auto;\n box-shadow: var(--n-box-shadow);\n ",[MK({duration:".25s",enterScale:".5"}),BA(`.${J4}`,"\n cursor: move;\n user-select: none;\n ")])]),r2=Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),e2),{draggable:[Boolean,Object],onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),a2=$n({name:"Modal",inheritAttrs:!1,props:r2,slots:Object,setup(e){const t=vt(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Modal","-modal",o2,G4,e,n),i=_D(64),l=mD(),s=CD(),d=e.internalDialog?Ro(I4,null):null,c=e.internalModal?Ro("n-modal-provider",null):null,u=(ED&&(qn((()=>{HD||(window.addEventListener("compositionstart",jD),window.addEventListener("compositionend",ND)),HD++})),Xn((()=>{HD<=1?(window.removeEventListener("compositionstart",jD),window.removeEventListener("compositionend",ND),HD=0):HD--}))),LD);function h(t){const{onUpdateShow:n,"onUpdate:show":o,onHide:r}=e;n&&GB(n,t),o&&GB(o,t),r&&!t&&r(t)}To(AD,{getMousePosition:()=>{const e=d||c;if(e){const{clickedRef:t,clickedPositionRef:n}=e;if(t.value&&n.value)return n.value}return i.value?l.value:null},mergedClsPrefixRef:n,mergedThemeRef:a,isMountedRef:s,appearRef:Ft(e,"internalAppear"),transformOriginRef:Ft(e,"transformOrigin")});const p=Qr((()=>{const{common:{cubicBezierEaseOut:e},self:{boxShadow:t,color:n,textColor:o}}=a.value;return{"--n-bezier-ease-out":e,"--n-box-shadow":t,"--n-color":n,"--n-text-color":o}})),f=r?vE("theme-class",void 0,p,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:s,containerRef:t,presetProps:Qr((()=>tE(e,t2))),handleEsc:function(t){var n,o;null===(n=e.onEsc)||void 0===n||n.call(e),e.show&&e.closeOnEsc&&(o=t,!WB.has(o))&&(u.value||h(!1))},handleAfterLeave:function(){const{onAfterLeave:t,onAfterHide:n}=e;t&&GB(t),n&&n()},handleClickoutside:function(n){var o;const{onMaskClick:r}=e;r&&r(n),e.maskClosable&&(null===(o=t.value)||void 0===o?void 0:o.contains(JA(n)))&&h(!1)},handleBeforeLeave:function(){const{onBeforeLeave:t,onBeforeHide:n}=e;t&&GB(t),n&&n()},doUpdateShow:h,handleNegativeClick:function(){const{onNegativeClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&h(!1)})):h(!1)},handlePositiveClick:function(){const{onPositiveClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&h(!1)})):h(!1)},handleCloseClick:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&h(!1)})):h(!1)},cssVars:r?void 0:p,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{mergedClsPrefix:e}=this;return Jr(yI,{to:this.to,show:this.show},{default:()=>{var t;null===(t=this.onRender)||void 0===t||t.call(this);const{unstableShowMask:n}=this;return on(Jr("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},Jr(n2,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,draggable:this.draggable,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var t;return Jr(ha,{name:"fade-in-transition",key:"mask",appear:null!==(t=this.internalAppear)&&void 0!==t?t:this.isMounted},{default:()=>this.show?Jr("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[uI,{zIndex:this.zIndex,enabled:this.show}]])}})}}),i2=Object.assign(Object.assign({},W4),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function,draggable:[Boolean,Object]}),l2=$n({name:"DialogEnvironment",props:Object.assign(Object.assign({},i2),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=vt(!0);function n(){t.value=!1}return{show:t,hide:n,handleUpdateShow:function(e){t.value=e},handleAfterLeave:function(){const{onInternalAfterLeave:t,internalKey:n,onAfterLeave:o}=e;t&&t(n),o&&o()},handleCloseClick:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handleNegativeClick:function(t){const{onNegativeClick:o}=e;o?Promise.resolve(o(t)).then((e=>{!1!==e&&n()})):n()},handlePositiveClick:function(t){const{onPositiveClick:o}=e;o?Promise.resolve(o(t)).then((e=>{!1!==e&&n()})):n()},handleMaskClick:function(t){const{onMaskClick:o,maskClosable:r}=e;o&&(o(t),r&&n())},handleEsc:function(){const{onEsc:t}=e;t&&t()}}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:a,handleEsc:i,to:l,maskClosable:s,show:d}=this;return Jr(a2,{show:d,onUpdateShow:t,onMaskClick:a,onEsc:i,to:l,maskClosable:s,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,draggable:this.draggable,internalAppear:!0,internalDialog:!0},{default:({draggableClass:t})=>Jr(K4,Object.assign({},tE(this.$props,V4),{titleClass:H([this.titleClass,t]),style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),s2=$n({name:"DialogProvider",props:{injectionKey:String,to:[String,Object]},setup(){const e=vt([]),t={};function n(n={}){const o=GO(),r=ot(Object.assign(Object.assign({},n),{key:o,destroy:()=>{var e;null===(e=t[`n-dialog-${o}`])||void 0===e||e.hide()}}));return e.value.push(r),r}const o=["info","success","warning","error"].map((e=>t=>n(Object.assign(Object.assign({},t),{type:e}))));const r={create:n,destroyAll:function(){Object.values(t).forEach((e=>{null==e||e.hide()}))},info:o[0],success:o[1],warning:o[2],error:o[3]};return To(B4,r),To(I4,{clickedRef:_D(64),clickedPositionRef:mD()}),To("n-dialog-reactive-list",e),Object.assign(Object.assign({},r),{dialogList:e,dialogInstRefs:t,handleAfterLeave:function(t){const{value:n}=e;n.splice(n.findIndex((e=>e.key===t)),1)}})},render(){var e,t;return Jr(pr,null,[this.dialogList.map((e=>Jr(l2,rE(e,["destroy","style"],{internalStyle:e.style,to:this.to,ref:t=>{null===t?delete this.dialogInstRefs[`n-dialog-${e.key}`]:this.dialogInstRefs[`n-dialog-${e.key}`]=t},internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave})))),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}}),d2="n-loading-bar",c2="n-loading-bar-api",u2={name:"LoadingBar",common:KU,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}};const h2={name:"LoadingBar",common:Eq,self:function(e){const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}}},p2=LA("loading-bar-container","\n z-index: 5999;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 2px;\n",[WV({enterDuration:"0.3s",leaveDuration:"0.8s"}),LA("loading-bar","\n width: 100%;\n transition:\n max-width 4s linear,\n background .2s linear;\n height: var(--n-height);\n ",[NA("starting","\n background: var(--n-color-loading);\n "),NA("finishing","\n background: var(--n-color-loading);\n transition:\n max-width .2s linear,\n background .2s linear;\n "),NA("error","\n background: var(--n-color-error);\n transition:\n max-width .2s linear,\n background .2s linear;\n ")])]);var f2=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};function m2(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const v2=$n({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=fE(),{props:t,mergedClsPrefixRef:n}=Ro(d2),o=vt(null),r=vt(!1),a=vt(!1),i=vt(!1),l=vt(!1);let s=!1;const d=vt(!1),c=Qr((()=>{const{loadingBarStyle:e}=t;return e?e[d.value?"error":"loading"]:""}));function u(){return f2(this,void 0,void 0,(function*(){r.value=!1,i.value=!1,s=!1,d.value=!1,l.value=!0,yield Kt(),l.value=!1}))}function h(){return f2(this,arguments,void 0,(function*(e=0,t=80,r="starting"){if(a.value=!0,yield u(),s)return;i.value=!0,yield Kt();const l=o.value;l&&(l.style.maxWidth=`${e}%`,l.style.transition="none",l.offsetWidth,l.className=m2(r,n.value),l.style.transition="",l.style.maxWidth=`${t}%`)}))}const p=HW("LoadingBar","-loading-bar",p2,h2,t,n),f=Qr((()=>{const{self:{height:e,colorError:t,colorLoading:n}}=p.value;return{"--n-height":e,"--n-color-loading":n,"--n-color-error":t}})),m=e?vE("loading-bar",void 0,f,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:a,loading:i,entering:r,transitionDisabled:l,start:h,error:function(){if(!s&&!d.value)if(i.value){d.value=!0;const e=o.value;if(!e)return;e.className=m2("error",n.value),e.style.maxWidth="100%",e.offsetWidth,i.value=!1}else h(100,100,"error").then((()=>{d.value=!0;const e=o.value;e&&(e.className=m2("error",n.value),e.offsetWidth,i.value=!1)}))},finish:function(){return f2(this,void 0,void 0,(function*(){if(s||d.value)return;a.value&&(yield Kt()),s=!0;const e=o.value;e&&(e.className=m2("finishing",n.value),e.style.maxWidth="100%",e.offsetWidth,i.value=!1)}))},handleEnter:function(){r.value=!0},handleAfterEnter:function(){r.value=!1},handleAfterLeave:function(){return f2(this,void 0,void 0,(function*(){yield u()}))},mergedLoadingBarStyle:c,cssVars:e?void 0:f,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return Jr(ha,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return null===(t=this.onRender)||void 0===t||t.call(this),on(Jr("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},Jr("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Ra,this.loading||!this.loading&&this.entering]])}})}}),g2=$n({name:"LoadingBarProvider",props:Object.assign(Object.assign({},HW.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),setup(e){const t=CD(),n=vt(null),o={start(){var e;t.value?null===(e=n.value)||void 0===e||e.start():Kt((()=>{var e;null===(e=n.value)||void 0===e||e.start()}))},error(){var e;t.value?null===(e=n.value)||void 0===e||e.error():Kt((()=>{var e;null===(e=n.value)||void 0===e||e.error()}))},finish(){var e;t.value?null===(e=n.value)||void 0===e||e.finish():Kt((()=>{var e;null===(e=n.value)||void 0===e||e.finish()}))}},{mergedClsPrefixRef:r}=fE(e);return To(c2,o),To(d2,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return Jr(pr,null,Jr(mn,{disabled:!1===this.to,to:this.to||"body"},Jr(v2,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}});const b2="n-message-api",y2="n-message-provider",_2={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function x2(e){const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:a,successColor:i,errorColor:l,warningColor:s,popoverColor:d,boxShadow2:c,primaryColor:u,lineHeight:h,borderRadius:p,closeColorHover:f,closeColorPressed:m}=e;return Object.assign(Object.assign({},_2),{closeBorderRadius:p,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:d,colorInfo:d,colorSuccess:d,colorError:d,colorWarning:d,colorLoading:d,boxShadow:c,boxShadowInfo:c,boxShadowSuccess:c,boxShadowError:c,boxShadowWarning:c,boxShadowLoading:c,iconColor:t,iconColorInfo:a,iconColorSuccess:i,iconColorWarning:s,iconColorError:l,iconColorLoading:u,closeColorHover:f,closeColorPressed:m,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:f,closeColorPressedInfo:m,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:f,closeColorPressedSuccess:m,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:f,closeColorPressedError:m,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:f,closeColorPressedWarning:m,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:f,closeColorPressedLoading:m,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:u,lineHeight:h,borderRadius:p})}const C2={name:"Message",common:Eq,self:x2},w2={name:"Message",common:KU,self:x2},S2={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},k2=BA([LA("message-wrapper","\n margin: var(--n-margin);\n z-index: 0;\n transform-origin: top center;\n display: flex;\n ",[xY({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),LA("message","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier),\n margin-bottom .3s var(--n-bezier);\n padding: var(--n-padding);\n border-radius: var(--n-border-radius);\n flex-wrap: nowrap;\n overflow: hidden;\n max-width: var(--n-max-width);\n color: var(--n-text-color);\n background-color: var(--n-color);\n box-shadow: var(--n-box-shadow);\n ",[jA("content","\n display: inline-block;\n line-height: var(--n-line-height);\n font-size: var(--n-font-size);\n "),jA("icon","\n position: relative;\n margin: var(--n-icon-margin);\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n flex-shrink: 0;\n ",[["default","info","success","warning","error","loading"].map((e=>NA(`${e}-type`,[BA("> *",`\n color: var(--n-icon-color-${e});\n transition: color .3s var(--n-bezier);\n `)]))),BA("> *","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ",[MV()])]),jA("close","\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n flex-shrink: 0;\n ",[BA("&:hover","\n color: var(--n-close-icon-color-hover);\n "),BA("&:active","\n color: var(--n-close-icon-color-pressed);\n ")])]),LA("message-container","\n z-index: 6000;\n position: fixed;\n height: 0;\n overflow: visible;\n display: flex;\n flex-direction: column;\n align-items: center;\n ",[NA("top","\n top: 12px;\n left: 0;\n right: 0;\n "),NA("top-left","\n top: 12px;\n left: 12px;\n right: 0;\n align-items: flex-start;\n "),NA("top-right","\n top: 12px;\n left: 0;\n right: 12px;\n align-items: flex-end;\n "),NA("bottom","\n bottom: 4px;\n left: 0;\n right: 0;\n justify-content: flex-end;\n "),NA("bottom-left","\n bottom: 4px;\n left: 12px;\n right: 0;\n justify-content: flex-end;\n align-items: flex-start;\n "),NA("bottom-right","\n bottom: 4px;\n left: 0;\n right: 12px;\n justify-content: flex-end;\n align-items: flex-end;\n ")])]),P2={info:()=>Jr(fV,null),success:()=>Jr(CV,null),warning:()=>Jr(TV,null),error:()=>Jr(lV,null),default:()=>null},T2=$n({name:"Message",props:Object.assign(Object.assign({},S2),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=fE(e),{props:o,mergedClsPrefixRef:r}=Ro(y2),a=DW("Message",n,r),i=HW("Message","-message",k2,C2,o,r),l=Qr((()=>{const{type:t}=e,{common:{cubicBezierEaseInOut:n},self:{padding:o,margin:r,maxWidth:a,iconMargin:l,closeMargin:s,closeSize:d,iconSize:c,fontSize:u,lineHeight:h,borderRadius:p,iconColorInfo:f,iconColorSuccess:m,iconColorWarning:v,iconColorError:g,iconColorLoading:b,closeIconSize:y,closeBorderRadius:_,[KA("textColor",t)]:x,[KA("boxShadow",t)]:C,[KA("color",t)]:w,[KA("closeColorHover",t)]:S,[KA("closeColorPressed",t)]:k,[KA("closeIconColor",t)]:P,[KA("closeIconColorPressed",t)]:T,[KA("closeIconColorHover",t)]:R}}=i.value;return{"--n-bezier":n,"--n-margin":r,"--n-padding":o,"--n-max-width":a,"--n-font-size":u,"--n-icon-margin":l,"--n-icon-size":c,"--n-close-icon-size":y,"--n-close-border-radius":_,"--n-close-size":d,"--n-close-margin":s,"--n-text-color":x,"--n-color":w,"--n-box-shadow":C,"--n-icon-color-info":f,"--n-icon-color-success":m,"--n-icon-color-warning":v,"--n-icon-color-error":g,"--n-icon-color-loading":b,"--n-close-color-hover":S,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-pressed":T,"--n-close-icon-color-hover":R,"--n-line-height":h,"--n-border-radius":p}})),s=t?vE("message",Qr((()=>e.type[0])),l,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:a,messageProviderProps:o,handleClose(){var t;null===(t=e.onClose)||void 0===t||t.call(e)},cssVars:t?void 0:l,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:a,themeClass:i,onRender:l,icon:s,handleClose:d,showIcon:c}=this;let u;return null==l||l(),Jr("div",{class:[`${r}-message-wrapper`,i],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},a]},e?e(this.$props):Jr("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(u=function(e,t,n){if("function"==typeof e)return e();{const e="loading"===t?Jr(NV,{clsPrefix:n,strokeWidth:24,scale:.85}):P2[t]();return e?Jr(VW,{clsPrefix:n,key:t},{default:()=>e}):null}}(s,t,r))&&c?Jr("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},Jr(UW,null,{default:()=>u})):null,Jr("div",{class:`${r}-message__content`},aE(o)),n?Jr(DV,{clsPrefix:r,class:`${r}-message__close`,onClick:d,absolute:!0}):null))}});const R2=$n({name:"MessageEnvironment",props:Object.assign(Object.assign({},S2),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=vt(!0);function o(){const{duration:n}=e;n&&(t=window.setTimeout(r,n))}function r(){const{onHide:o}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),o&&o()}return Kn((()=>{o()})),{show:n,hide:r,handleClose:function(){const{onClose:t}=e;t&&t(),r()},handleAfterLeave:function(){const{onAfterLeave:t,onInternalAfterLeave:n,onAfterHide:o,internalKey:r}=e;t&&t(),n&&n(r),o&&o()},handleMouseleave:function(e){e.currentTarget===e.target&&o()},handleMouseenter:function(e){e.currentTarget===e.target&&null!==t&&(window.clearTimeout(t),t=null)},deactivate:function(){r()}}},render(){return Jr(IV,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?Jr(T2,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),F2=$n({name:"MessageProvider",props:Object.assign(Object.assign({},HW.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),setup(e){const{mergedClsPrefixRef:t}=fE(e),n=vt([]),o=vt({}),r={create:(e,t)=>a(e,Object.assign({type:"default"},t)),info:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"info"})),success:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"success"})),warning:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"warning"})),error:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"error"})),loading:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"loading"})),destroyAll:function(){Object.values(o.value).forEach((e=>{e.hide()}))}};function a(t,r){const a=GO(),i=ot(Object.assign(Object.assign({},r),{content:t,key:a,destroy:()=>{var e;null===(e=o.value[a])||void 0===e||e.hide()}})),{max:l}=e;return l&&n.value.length>=l&&n.value.shift(),n.value.push(i),i}return To(y2,{props:e,mergedClsPrefixRef:t}),To(b2,r),Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:function(e){n.value.splice(n.value.findIndex((t=>t.key===e)),1),delete o.value[e]}},r)},render(){var e,t,n;return Jr(pr,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),this.messageList.length?Jr(mn,{to:null!==(n=this.to)&&void 0!==n?n:"body"},Jr("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map((e=>Jr(R2,Object.assign({ref:t=>{t&&(this.messageRefs[e.key]=t)},internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave},rE(e,["destroy"],void 0),{duration:void 0===e.duration?this.duration:e.duration,keepAliveOnHover:void 0===e.keepAliveOnHover?this.keepAliveOnHover:e.keepAliveOnHover,closable:void 0===e.closable?this.closable:e.closable})))))):null)}});function z2(){const e=Ro(b2,null);return null===e&&YB("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const M2=$n({name:"ModalEnvironment",props:Object.assign(Object.assign({},r2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=vt(!0);function n(){t.value=!1}return{show:t,hide:n,handleUpdateShow:function(e){t.value=e},handleAfterLeave:function(){const{onInternalAfterLeave:t,internalKey:n,onAfterLeave:o}=e;t&&t(n),o&&o()},handleCloseClick:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handleNegativeClick:function(){const{onNegativeClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handlePositiveClick:function(){const{onPositiveClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handleMaskClick:function(t){const{onMaskClick:o,maskClosable:r}=e;o&&(o(t),r&&n())},handleEsc:function(){const{onEsc:t}=e;t&&t()}}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return Jr(a2,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),$2=$n({name:"ModalProvider",props:{to:[String,Object]},setup(){const e=vt([]),t={};const n={create:function(n={}){const o=GO(),r=ot(Object.assign(Object.assign({},n),{key:o,destroy:()=>{var e;null===(e=t[`n-modal-${o}`])||void 0===e||e.hide()}}));return e.value.push(r),r},destroyAll:function(){Object.values(t).forEach((e=>{null==e||e.hide()}))}};return To(Z4,n),To("n-modal-provider",{clickedRef:_D(64),clickedPositionRef:mD()}),To("n-modal-reactive-list",e),Object.assign(Object.assign({},n),{modalList:e,modalInstRefs:t,handleAfterLeave:function(t){const{value:n}=e;n.splice(n.findIndex((e=>e.key===t)),1)}})},render(){var e,t;return Jr(pr,null,[this.modalList.map((e=>{var t;return Jr(M2,rE(e,["destroy"],{to:null!==(t=e.to)&&void 0!==t?t:this.to,ref:t=>{null===t?delete this.modalInstRefs[`n-modal-${e.key}`]:this.modalInstRefs[`n-modal-${e.key}`]=t},internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave}))})),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}}),A2={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function O2(e){const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:a,popoverColor:i,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeColorHover:c,closeColorPressed:u,textColor1:h,textColor3:p,borderRadius:f,fontWeightStrong:m,boxShadow2:v,lineHeight:g,fontSize:b}=e;return Object.assign(Object.assign({},A2),{borderRadius:f,lineHeight:g,fontSize:b,headerFontWeight:m,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:a,color:i,textColor:t,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeBorderRadius:f,closeColorHover:c,closeColorPressed:u,headerTextColor:h,descriptionTextColor:p,actionTextColor:t,boxShadow:v})}const D2={name:"Notification",common:Eq,peers:{Scrollbar:Nq},self:O2},I2={name:"Notification",common:KU,peers:{Scrollbar:Hq},self:O2},B2="n-notification-provider",E2=$n({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ro(B2),o=vt(null);return Jo((()=>{var e,t;n.value>0?null===(e=null==o?void 0:o.value)||void 0===e||e.classList.add("transitioning"):null===(t=null==o?void 0:o.value)||void 0===t||t.classList.remove("transitioning")})),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return Jr("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?Jr(Vq,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),L2={info:()=>Jr(fV,null),success:()=>Jr(CV,null),warning:()=>Jr(TV,null),error:()=>Jr(lV,null),default:()=>null},j2={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},N2=nE(j2),H2=$n({name:"Notification",props:j2,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ro(B2),{inlineThemeDisabled:r,mergedRtlRef:a}=fE(),i=DW("Notification",a,t),l=Qr((()=>{const{type:t}=e,{self:{color:o,textColor:r,closeIconColor:a,closeIconColorHover:i,closeIconColorPressed:l,headerTextColor:s,descriptionTextColor:d,actionTextColor:c,borderRadius:u,headerFontWeight:h,boxShadow:p,lineHeight:f,fontSize:m,closeMargin:v,closeSize:g,width:b,padding:y,closeIconSize:_,closeBorderRadius:x,closeColorHover:C,closeColorPressed:w,titleFontSize:S,metaFontSize:k,descriptionFontSize:P,[KA("iconColor",t)]:T},common:{cubicBezierEaseOut:R,cubicBezierEaseIn:F,cubicBezierEaseInOut:z}}=n.value,{left:M,right:$,top:A,bottom:O}=oO(y);return{"--n-color":o,"--n-font-size":m,"--n-text-color":r,"--n-description-text-color":d,"--n-action-text-color":c,"--n-title-text-color":s,"--n-title-font-weight":h,"--n-bezier":z,"--n-bezier-ease-out":R,"--n-bezier-ease-in":F,"--n-border-radius":u,"--n-box-shadow":p,"--n-close-border-radius":x,"--n-close-color-hover":C,"--n-close-color-pressed":w,"--n-close-icon-color":a,"--n-close-icon-color-hover":i,"--n-close-icon-color-pressed":l,"--n-line-height":f,"--n-icon-color":T,"--n-close-margin":v,"--n-close-size":g,"--n-close-icon-size":_,"--n-width":b,"--n-padding-left":M,"--n-padding-right":$,"--n-padding-top":A,"--n-padding-bottom":O,"--n-title-font-size":S,"--n-meta-font-size":k,"--n-description-font-size":P}})),s=r?vE("notification",Qr((()=>e.type[0])),l,o):void 0;return{mergedClsPrefix:t,showAvatar:Qr((()=>e.avatar||"default"!==e.type)),handleCloseClick(){e.onClose()},rtlEnabled:i,cssVars:r?void 0:l,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},Jr("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?Jr("div",{class:`${t}-notification__avatar`},this.avatar?aE(this.avatar):"default"!==this.type?Jr(VW,{clsPrefix:t},{default:()=>L2[this.type]()}):null):null,this.closable?Jr(DV,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,Jr("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?Jr("div",{class:`${t}-notification-main__header`},aE(this.title)):null,this.description?Jr("div",{class:`${t}-notification-main__description`},aE(this.description)):null,this.content?Jr("pre",{class:`${t}-notification-main__content`},aE(this.content)):null,this.meta||this.action?Jr("div",{class:`${t}-notification-main-footer`},this.meta?Jr("div",{class:`${t}-notification-main-footer__meta`},aE(this.meta)):null,this.action?Jr("div",{class:`${t}-notification-main-footer__action`},aE(this.action)):null):null)))}}),W2=Object.assign(Object.assign({},j2),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),V2=$n({name:"NotificationEnvironment",props:Object.assign(Object.assign({},W2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ro(B2),n=vt(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}return Kn((()=>{e.duration&&(o=window.setTimeout(r,e.duration))})),{show:n,hide:r,handleClose:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&r()})):r()},handleAfterLeave:function(){t.value--;const{onAfterLeave:n,onInternalAfterLeave:o,onAfterHide:r,internalKey:a}=e;n&&n(),o(a),r&&r()},handleLeave:function(t){const{onHide:n}=e;n&&n(),t.style.maxHeight="0",t.offsetHeight},handleBeforeLeave:function(e){t.value++,e.style.maxHeight=`${e.offsetHeight}px`,e.style.height=`${e.offsetHeight}px`,e.offsetHeight},handleAfterEnter:function(n){t.value--,n.style.height="",n.style.maxHeight="";const{onAfterEnter:o,onAfterShow:r}=e;o&&o(),r&&r()},handleBeforeEnter:function(e){t.value++,Kt((()=>{e.style.height=`${e.offsetHeight}px`,e.style.maxHeight="0",e.style.transition="none",e.offsetHeight,e.style.transition="",e.style.maxHeight=e.style.height}))},handleMouseenter:function(e){e.currentTarget===e.target&&null!==o&&(window.clearTimeout(o),o=null)},handleMouseleave:function(t){t.currentTarget===t.target&&function(){const{duration:t}=e;t&&(o=window.setTimeout(r,t))}()}}},render(){return Jr(ha,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?Jr(H2,Object.assign({},tE(this.$props,N2),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),U2=BA([LA("notification-container","\n z-index: 4000;\n position: fixed;\n overflow: visible;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n ",[BA(">",[LA("scrollbar","\n width: initial;\n overflow: visible;\n height: -moz-fit-content !important;\n height: fit-content !important;\n max-height: 100vh !important;\n ",[BA(">",[LA("scrollbar-container","\n height: -moz-fit-content !important;\n height: fit-content !important;\n max-height: 100vh !important;\n ",[LA("scrollbar-content","\n padding-top: 12px;\n padding-bottom: 33px;\n ")])])])]),NA("top, top-right, top-left","\n top: 12px;\n ",[BA("&.transitioning >",[LA("scrollbar",[BA(">",[LA("scrollbar-container","\n min-height: 100vh !important;\n ")])])])]),NA("bottom, bottom-right, bottom-left","\n bottom: 12px;\n ",[BA(">",[LA("scrollbar",[BA(">",[LA("scrollbar-container",[LA("scrollbar-content","\n padding-bottom: 12px;\n ")])])])]),LA("notification-wrapper","\n display: flex;\n align-items: flex-end;\n margin-bottom: 0;\n margin-top: 12px;\n ")]),NA("top, bottom","\n left: 50%;\n transform: translateX(-50%);\n ",[LA("notification-wrapper",[BA("&.notification-transition-enter-from, &.notification-transition-leave-to","\n transform: scale(0.85);\n "),BA("&.notification-transition-leave-from, &.notification-transition-enter-to","\n transform: scale(1);\n ")])]),NA("top",[LA("notification-wrapper","\n transform-origin: top center;\n ")]),NA("bottom",[LA("notification-wrapper","\n transform-origin: bottom center;\n ")]),NA("top-right, bottom-right",[LA("notification","\n margin-left: 28px;\n margin-right: 16px;\n ")]),NA("top-left, bottom-left",[LA("notification","\n margin-left: 16px;\n margin-right: 28px;\n ")]),NA("top-right","\n right: 0;\n ",[q2("top-right")]),NA("top-left","\n left: 0;\n ",[q2("top-left")]),NA("bottom-right","\n right: 0;\n ",[q2("bottom-right")]),NA("bottom-left","\n left: 0;\n ",[q2("bottom-left")]),NA("scrollable",[NA("top-right","\n top: 0;\n "),NA("top-left","\n top: 0;\n "),NA("bottom-right","\n bottom: 0;\n "),NA("bottom-left","\n bottom: 0;\n ")]),LA("notification-wrapper","\n margin-bottom: 12px;\n ",[BA("&.notification-transition-enter-from, &.notification-transition-leave-to","\n opacity: 0;\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n "),BA("&.notification-transition-leave-from, &.notification-transition-enter-to","\n opacity: 1;\n "),BA("&.notification-transition-leave-active","\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier-ease-in),\n max-height .3s var(--n-bezier),\n margin-top .3s linear,\n margin-bottom .3s linear,\n box-shadow .3s var(--n-bezier);\n "),BA("&.notification-transition-enter-active","\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier-ease-out),\n max-height .3s var(--n-bezier),\n margin-top .3s linear,\n margin-bottom .3s linear,\n box-shadow .3s var(--n-bezier);\n ")]),LA("notification","\n background-color: var(--n-color);\n color: var(--n-text-color);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n font-family: inherit;\n font-size: var(--n-font-size);\n font-weight: 400;\n position: relative;\n display: flex;\n overflow: hidden;\n flex-shrink: 0;\n padding-left: var(--n-padding-left);\n padding-right: var(--n-padding-right);\n width: var(--n-width);\n max-width: calc(100vw - 16px - 16px);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n box-sizing: border-box;\n opacity: 1;\n ",[jA("avatar",[LA("icon","\n color: var(--n-icon-color);\n "),LA("base-icon","\n color: var(--n-icon-color);\n ")]),NA("show-avatar",[LA("notification-main","\n margin-left: 40px;\n width: calc(100% - 40px); \n ")]),NA("closable",[LA("notification-main",[BA("> *:first-child","\n padding-right: 20px;\n ")]),jA("close","\n position: absolute;\n top: 0;\n right: 0;\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),jA("avatar","\n position: absolute;\n top: var(--n-padding-top);\n left: var(--n-padding-left);\n width: 28px;\n height: 28px;\n font-size: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[LA("icon","transition: color .3s var(--n-bezier);")]),LA("notification-main","\n padding-top: var(--n-padding-top);\n padding-bottom: var(--n-padding-bottom);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n margin-left: 8px;\n width: calc(100% - 8px);\n ",[LA("notification-main-footer","\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 12px;\n ",[jA("meta","\n font-size: var(--n-meta-font-size);\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-description-text-color);\n "),jA("action","\n cursor: pointer;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-action-text-color);\n ")]),jA("header","\n font-weight: var(--n-title-font-weight);\n font-size: var(--n-title-font-size);\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-title-text-color);\n "),jA("description","\n margin-top: 8px;\n font-size: var(--n-description-font-size);\n white-space: pre-wrap;\n word-wrap: break-word;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-description-text-color);\n "),jA("content","\n line-height: var(--n-line-height);\n margin: 12px 0 0 0;\n font-family: inherit;\n white-space: pre-wrap;\n word-wrap: break-word;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-text-color);\n ",[BA("&:first-child","margin: 0;")])])])])]);function q2(e){const t=e.split("-")[1];return LA("notification-wrapper",[BA("&.notification-transition-enter-from, &.notification-transition-leave-to",`\n transform: translate(${"left"===t?"calc(-100%)":"calc(100%)"}, 0);\n `),BA("&.notification-transition-leave-from, &.notification-transition-enter-to","\n transform: translate(0, 0);\n ")])}const K2="n-notification-api",Y2=$n({name:"NotificationProvider",props:Object.assign(Object.assign({},HW.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),setup(e){const{mergedClsPrefixRef:t}=fE(e),n=vt([]),o={},r=new Set;function a(t){const a=GO(),i=()=>{r.add(a),o[a]&&o[a].hide()},l=ot(Object.assign(Object.assign({},t),{key:a,destroy:i,hide:i,deactivate:i})),{max:s}=e;if(s&&n.value.length-r.size>=s){let e=!1,t=0;for(const a of n.value){if(!r.has(a.key)){o[a.key]&&(a.destroy(),e=!0);break}t++}e||n.value.splice(t,1)}return n.value.push(l),l}const i=["info","success","warning","error"].map((e=>t=>a(Object.assign(Object.assign({},t),{type:e}))));const l=HW("Notification","-notification",U2,D2,e,t),s={create:a,info:i[0],success:i[1],warning:i[2],error:i[3],open:function(e){return a(e)},destroyAll:function(){Object.values(n.value).forEach((e=>{e.hide()}))}},d=vt(0);return To(K2,s),To(B2,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:d}),Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:function(e){r.delete(e),n.value.splice(n.value.findIndex((t=>t.key===e)),1)}},s)},render(){var e,t,n;const{placement:o}=this;return Jr(pr,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),this.notificationList.length?Jr(mn,{to:null!==(n=this.to)&&void 0!==n?n:"body"},Jr(E2,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&"top"!==o&&"bottom"!==o,placement:o},{default:()=>this.notificationList.map((e=>Jr(V2,Object.assign({ref:t=>{const n=e.key;null===t?delete this.notificationRefs[n]:this.notificationRefs[n]=t}},rE(e,["destroy","hide","deactivate"]),{internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:void 0===e.keepAliveOnHover?this.keepAliveOnHover:e.keepAliveOnHover}))))})):null)}});const G2=$n({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return null===(n=e.onSetup)||void 0===n||n.call(e),()=>{var e;return null===(e=t.default)||void 0===e?void 0:e.call(t)}}}),X2={message:z2,notification:function(){const e=Ro(K2,null);return null===e&&YB("use-notification","No outer `n-notification-provider` found."),e},loadingBar:function(){const e=Ro(c2,null);return null===e&&YB("use-loading-bar","No outer founded."),e},dialog:E4,modal:Q4};function Z2(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:a,modalProviderProps:i}={}){const l=[];e.forEach((e=>{switch(e){case"message":l.push({type:e,Provider:F2,props:n});break;case"notification":l.push({type:e,Provider:Y2,props:r});break;case"dialog":l.push({type:e,Provider:s2,props:o});break;case"loadingBar":l.push({type:e,Provider:g2,props:a});break;case"modal":l.push({type:e,Provider:$2,props:i})}}));const s=function({providersAndProps:e,configProviderProps:t}){let n=ri((function(){return Jr(hJ,_t(t),{default:()=>e.map((({type:e,Provider:t,props:n})=>Jr(t,_t(n),{default:()=>Jr(G2,{onSetup:()=>o[e]=X2[e]()})})))})}));const o={app:n};let r;return ED&&(r=document.createElement("div"),document.body.appendChild(r),n.mount(r)),Object.assign({unmount:()=>{var e;null!==n&&null!==r&&(n.unmount(),null===(e=r.parentNode)||void 0===e||e.removeChild(r),r=null,n=null)}},o)}({providersAndProps:l,configProviderProps:t});return s}function Q2(e){const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}}const J2={name:"Divider",common:Eq,self:Q2},e7={name:"Divider",common:KU,self:Q2},t7=LA("divider","\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n font-size: 16px;\n color: var(--n-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n",[HA("vertical","\n margin-top: 24px;\n margin-bottom: 24px;\n ",[HA("no-title","\n display: flex;\n align-items: center;\n ")]),jA("title","\n display: flex;\n align-items: center;\n margin-left: 12px;\n margin-right: 12px;\n white-space: nowrap;\n font-weight: var(--n-font-weight);\n "),NA("title-position-left",[jA("line",[NA("left",{width:"28px"})])]),NA("title-position-right",[jA("line",[NA("right",{width:"28px"})])]),NA("dashed",[jA("line","\n background-color: #0000;\n height: 0px;\n width: 100%;\n border-style: dashed;\n border-width: 1px 0 0;\n ")]),NA("vertical","\n display: inline-block;\n height: 1em;\n margin: 0 8px;\n vertical-align: middle;\n width: 1px;\n "),jA("line","\n border: none;\n transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);\n height: 1px;\n width: 100%;\n margin: 0;\n "),HA("dashed",[jA("line",{backgroundColor:"var(--n-color)"})]),NA("dashed",[jA("line",{borderColor:"var(--n-color)"})]),NA("vertical",{backgroundColor:"var(--n-color)"})]),n7=$n({name:"Divider",props:Object.assign(Object.assign({},HW.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Divider","-divider",t7,J2,e,t),r=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{color:t,textColor:n,fontWeight:r}}=o.value;return{"--n-bezier":e,"--n-color":t,"--n-text-color":n,"--n-font-weight":r}})),a=n?vE("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:null==a?void 0:a.themeClass,onRender:null==a?void 0:a.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:a,mergedClsPrefix:i}=this;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",{role:"separator",class:[`${i}-divider`,this.themeClass,{[`${i}-divider--vertical`]:o,[`${i}-divider--no-title`]:!t.default,[`${i}-divider--dashed`]:r,[`${i}-divider--title-position-${n}`]:t.default&&n}],style:a},o?null:Jr("div",{class:`${i}-divider__line ${i}-divider__line--left`}),!o&&t.default?Jr(pr,null,Jr("div",{class:`${i}-divider__title`},this.$slots),Jr("div",{class:`${i}-divider__line ${i}-divider__line--right`})):null)}});function o7(e){const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:a,fontWeightStrong:i,dividerColor:l,closeColorHover:s,closeColorPressed:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,borderRadius:p,primaryColorHover:f}=e;return{bodyPadding:"16px 24px",borderRadius:p,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:i,boxShadow:r,lineHeight:a,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:d,closeBorderRadius:p,resizableTriggerColorHover:f}}const r7={name:"Drawer",common:Eq,peers:{Scrollbar:Nq},self:o7},a7={name:"Drawer",common:KU,peers:{Scrollbar:Hq},self:o7},i7={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},l7={name:"DynamicInput",common:KU,peers:{Input:FY,Button:CG},self:()=>i7};const s7={name:"DynamicInput",common:Eq,peers:{Input:zY,Button:xG},self:function(){return i7}},d7="n-dynamic-input",c7=$n({name:"DynamicInputInputPreset",props:{clsPrefix:{type:String,required:!0},value:{type:String,default:""},disabled:Boolean,parentPath:String,path:String,onUpdateValue:{type:Function,required:!0}},setup(){const{mergedThemeRef:e,placeholderRef:t}=Ro(d7);return{mergedTheme:e,placeholder:t}},render(){const{mergedTheme:e,placeholder:t,value:n,clsPrefix:o,onUpdateValue:r,disabled:a}=this;return Jr("div",{class:`${o}-dynamic-input-preset-input`},Jr(BY,{theme:e.peers.Input,"theme-overrides":e.peerOverrides.Input,value:n,placeholder:t,onUpdateValue:r,disabled:a}))}}),u7=$n({name:"DynamicInputPairPreset",props:{clsPrefix:{type:String,required:!0},value:{type:Object,default:()=>({key:"",value:""})},disabled:Boolean,parentPath:String,path:String,onUpdateValue:{type:Function,required:!0}},setup(e){const{mergedThemeRef:t,keyPlaceholderRef:n,valuePlaceholderRef:o}=Ro(d7);return{mergedTheme:t,keyPlaceholder:n,valuePlaceholder:o,handleKeyInput(t){e.onUpdateValue({key:t,value:e.value.value})},handleValueInput(t){e.onUpdateValue({key:e.value.key,value:t})}}},render(){const{mergedTheme:e,keyPlaceholder:t,valuePlaceholder:n,value:o,clsPrefix:r,disabled:a}=this;return Jr("div",{class:`${r}-dynamic-input-preset-pair`},Jr(BY,{theme:e.peers.Input,"theme-overrides":e.peerOverrides.Input,value:o.key,class:`${r}-dynamic-input-pair-input`,placeholder:t,onUpdateValue:this.handleKeyInput,disabled:a}),Jr(BY,{theme:e.peers.Input,"theme-overrides":e.peerOverrides.Input,value:o.value,class:`${r}-dynamic-input-pair-input`,placeholder:n,onUpdateValue:this.handleValueInput,disabled:a}))}}),h7=LA("dynamic-input",{width:"100%"},[LA("dynamic-input-item","\n margin-bottom: 10px;\n display: flex;\n flex-wrap: nowrap;\n ",[LA("dynamic-input-preset-input",{flex:1,alignItems:"center"}),LA("dynamic-input-preset-pair","\n flex: 1;\n display: flex;\n align-items: center;\n ",[LA("dynamic-input-pair-input",[BA("&:first-child",{"margin-right":"12px"})])]),jA("action","\n align-self: flex-start;\n display: flex;\n justify-content: flex-end;\n flex-shrink: 0;\n flex-grow: 0;\n margin: var(--action-margin);\n ",[NA("icon",{cursor:"pointer"})]),BA("&:last-child",{marginBottom:0})]),LA("form-item","\n padding-top: 0 !important;\n margin-right: 0 !important;\n ",[LA("form-item-blank",{paddingTop:"0 !important"})])]),p7=new WeakMap,f7=$n({name:"DynamicInput",props:Object.assign(Object.assign({},HW.props),{max:Number,min:{type:Number,default:0},value:Array,defaultValue:{type:Array,default:()=>[]},preset:{type:String,default:"input"},keyField:String,itemClass:String,itemStyle:[String,Object],keyPlaceholder:{type:String,default:""},valuePlaceholder:{type:String,default:""},placeholder:{type:String,default:""},disabled:Boolean,showSortButton:Boolean,createButtonProps:Object,onCreate:Function,onRemove:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClear:Function,onInput:[Function,Array]}),setup(e,{slots:t}){const{mergedComponentPropsRef:n,mergedClsPrefixRef:o,mergedRtlRef:r,inlineThemeDisabled:a}=fE(),i=Ro(gE,null),l=vt(e.defaultValue),s=xD(Ft(e,"value"),l),d=HW("DynamicInput","-dynamic-input",h7,s7,e,o),c=Qr((()=>{const{value:t}=s;if(Array.isArray(t)){const{max:n}=e;return void 0!==n&&t.length>=n}return!1})),u=Qr((()=>{const{value:t}=s;return!Array.isArray(t)||t.length<=e.min})),h=Qr((()=>{var e,t;return null===(t=null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.DynamicInput)||void 0===t?void 0:t.buttonSize}));function p(t){const{onInput:n,"onUpdate:value":o,onUpdateValue:r}=e;n&&GB(n,t),o&&GB(o,t),r&&GB(r,t),l.value=t}function f(n){const{value:o}=s,{onCreate:r}=e,a=Array.from(null!=o?o:[]);if(r)a.splice(n+1,0,r(n+1)),p(a);else if(t.default)a.splice(n+1,0,null),p(a);else switch(e.preset){case"input":a.splice(n+1,0,""),p(a);break;case"pair":a.splice(n+1,0,{key:"",value:""}),p(a)}}function m(e,t,n){if(t<0||n<0||t>=e.length||n>=e.length)return;if(t===n)return;const o=e[t];e[t]=e[n],e[n]=o}To(d7,{mergedThemeRef:d,keyPlaceholderRef:Ft(e,"keyPlaceholder"),valuePlaceholderRef:Ft(e,"valuePlaceholder"),placeholderRef:Ft(e,"placeholder")});const v=DW("DynamicInput",r,o),g=Qr((()=>{const{self:{actionMargin:e,actionMarginRtl:t}}=d.value;return{"--action-margin":e,"--action-margin-rtl":t}})),b=a?vE("dynamic-input",void 0,g,e):void 0;return{locale:AW("DynamicInput").localeRef,rtlEnabled:v,buttonSize:h,mergedClsPrefix:o,NFormItem:i,uncontrolledValue:l,mergedValue:s,insertionDisabled:c,removeDisabled:u,handleCreateClick:function(){f(-1)},ensureKey:function(e,t){if(null==e)return t;if("object"!=typeof e)return t;const n=ct(e)?ut(e):e;let o=p7.get(n);return void 0===o&&p7.set(n,o=GO()),o},handleValueChange:function(e,t){const{value:n}=s,o=Array.from(null!=n?n:[]),r=o[e];if(o[e]=t,r&&t&&"object"==typeof r&&"object"==typeof t){const e=ct(r)?ut(r):r,n=ct(t)?ut(t):t,o=p7.get(e);void 0!==o&&p7.set(n,o)}p(o)},remove:function(t){const{value:n}=s;if(!Array.isArray(n))return;const{min:o}=e;if(n.length<=o)return;const{onRemove:r}=e;r&&r(t);const a=Array.from(n);a.splice(t,1),p(a)},move:function(e,t){const{value:n}=s;if(!Array.isArray(n))return;const o=Array.from(n);"up"===e&&m(o,t,t-1),"down"===e&&m(o,t,t+1),p(o)},createItem:f,mergedTheme:d,cssVars:a?void 0:g,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){const{$slots:e,itemClass:t,buttonSize:n,mergedClsPrefix:o,mergedValue:r,locale:a,mergedTheme:i,keyField:l,itemStyle:s,preset:d,showSortButton:c,NFormItem:u,ensureKey:h,handleValueChange:p,remove:f,createItem:m,move:v,onRender:g,disabled:b}=this;return null==g||g(),Jr("div",{class:[`${o}-dynamic-input`,this.rtlEnabled&&`${o}-dynamic-input--rtl`,this.themeClass],style:this.cssVars},Array.isArray(r)&&0!==r.length?r.map(((a,g)=>Jr("div",{key:l?a[l]:h(a,g),"data-key":l?a[l]:h(a,g),class:[`${o}-dynamic-input-item`,t],style:s},sE(e.default,{value:r[g],index:g},(()=>["input"===d?Jr(c7,{disabled:b,clsPrefix:o,value:r[g],parentPath:u?u.path.value:void 0,path:(null==u?void 0:u.path.value)?`${u.path.value}[${g}]`:void 0,onUpdateValue:e=>{p(g,e)}}):"pair"===d?Jr(u7,{disabled:b,clsPrefix:o,value:r[g],parentPath:u?u.path.value:void 0,path:(null==u?void 0:u.path.value)?`${u.path.value}[${g}]`:void 0,onUpdateValue:e=>{p(g,e)}}):null])),sE(e.action,{value:r[g],index:g,create:m,remove:f,move:v},(()=>[Jr("div",{class:`${o}-dynamic-input-item__action`},Jr(MG,{size:n},{default:()=>[Jr(SG,{disabled:this.removeDisabled||b,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,circle:!0,onClick:()=>{f(g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(vV,null)})}),Jr(SG,{disabled:this.insertionDisabled||b,circle:!0,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:()=>{m(g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(qW,null)})}),c?Jr(SG,{disabled:0===g||b,circle:!0,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:()=>{v("up",g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(YW,null)})}):null,c?Jr(SG,{disabled:g===r.length-1||b,circle:!0,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:()=>{v("down",g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(KW,null)})}):null]}))]))))):Jr(SG,Object.assign({block:!0,ghost:!0,dashed:!0,size:n},this.createButtonProps,{disabled:this.insertionDisabled||b,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:this.handleCreateClick}),{default:()=>lE(e["create-button-default"],(()=>[a.create])),icon:()=>lE(e["create-button-icon"],(()=>[Jr(VW,{clsPrefix:o},{default:()=>Jr(qW,null)})]))}))}}),m7={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},v7={name:"Space",self:()=>m7};const g7={name:"Space",self:function(){return m7}};let b7;function y7(){if(!ED)return!0;if(void 0===b7){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=1===e.scrollHeight;return document.body.removeChild(e),b7=t}return b7}const _7=$n({name:"Space",props:Object.assign(Object.assign({},HW.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=HW("Space","-space",void 0,g7,e,t),r=DW("Space",n,t);return{useGap:y7(),rtlEnabled:r,mergedClsPrefix:t,margin:Qr((()=>{const{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if("number"==typeof t)return{horizontal:t,vertical:t};const{self:{[KA("gap",t)]:n}}=o.value,{row:r,col:a}=rO(n);return{horizontal:tO(a),vertical:tO(r)}}))}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:a,itemStyle:i,margin:l,wrap:s,mergedClsPrefix:d,rtlEnabled:c,useGap:u,wrapItem:h,internalUseGap:p}=this,f=QB(eE(this),!1);if(!f.length)return null;const m=`${l.horizontal}px`,v=l.horizontal/2+"px",g=`${l.vertical}px`,b=l.vertical/2+"px",y=f.length-1,_=r.startsWith("space-");return Jr("div",{role:"none",class:[`${d}-space`,c&&`${d}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:["start","end"].includes(r)?`flex-${r}`:r,flexWrap:!s||e?"nowrap":"wrap",marginTop:u||e?"":`-${b}`,marginBottom:u||e?"":`-${b}`,alignItems:n,gap:u?`${l.vertical}px ${l.horizontal}px`:""}},h||!u&&!p?f.map(((t,n)=>t.type===mr?t:Jr("div",{role:"none",class:a,style:[i,{maxWidth:"100%"},u?"":e?{marginBottom:n!==y?g:""}:c?{marginLeft:_?"space-between"===r&&n===y?"":v:n!==y?m:"",marginRight:_?"space-between"===r&&0===n?"":v:"",paddingTop:b,paddingBottom:b}:{marginRight:_?"space-between"===r&&n===y?"":v:n!==y?m:"",marginLeft:_?"space-between"===r&&0===n?"":v:"",paddingTop:b,paddingBottom:b}]},t))):f)}}),x7={name:"DynamicTags",common:KU,peers:{Input:FY,Button:CG,Tag:JK,Space:v7},self:()=>({inputWidth:"64px"})},C7={name:"DynamicTags",common:Eq,peers:{Input:zY,Button:xG,Tag:eY,Space:g7},self:()=>({inputWidth:"64px"})},w7=LA("dynamic-tags",[LA("input",{minWidth:"var(--n-input-width)"})]),S7=$n({name:"DynamicTags",props:Object.assign(Object.assign(Object.assign({},HW.props),tY),{size:{type:String,default:"medium"},closable:{type:Boolean,default:!0},defaultValue:{type:Array,default:()=>[]},value:Array,inputClass:String,inputStyle:[String,Object],inputProps:Object,max:Number,tagClass:String,tagStyle:[String,Object],renderTag:Function,onCreate:{type:Function,default:e=>e},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),{localeRef:o}=AW("DynamicTags"),r=bE(e),{mergedDisabledRef:a}=r,i=vt(""),l=vt(!1),s=vt(!0),d=vt(null),c=HW("DynamicTags","-dynamic-tags",w7,C7,e,t),u=vt(e.defaultValue),h=xD(Ft(e,"value"),u),p=Qr((()=>o.value.add)),f=Qr((()=>qB(e.size))),m=Qr((()=>a.value||!!e.max&&h.value.length>=e.max));function v(t){const{onChange:n,"onUpdate:value":o,onUpdateValue:a}=e,{nTriggerFormInput:i,nTriggerFormChange:l}=r;n&&GB(n,t),a&&GB(a,t),o&&GB(o,t),u.value=t,i(),l()}function g(t){const n=null!=t?t:i.value;if(n){const t=h.value.slice(0);t.push(e.onCreate(n)),v(t)}l.value=!1,s.value=!0,i.value=""}const b=Qr((()=>{const{self:{inputWidth:e}}=c.value;return{"--n-input-width":e}})),y=n?vE("dynamic-tags",void 0,b,e):void 0;return{mergedClsPrefix:t,inputInstRef:d,localizedAdd:p,inputSize:f,inputValue:i,showInput:l,inputForceFocused:s,mergedValue:h,mergedDisabled:a,triggerDisabled:m,handleInputKeyDown:function(e){if("Enter"===e.key)g()},handleAddClick:function(){l.value=!0,Kt((()=>{var e;null===(e=d.value)||void 0===e||e.focus(),s.value=!1}))},handleInputBlur:function(){g()},handleCloseClick:function(e){const t=h.value.slice(0);t.splice(e,1),v(t)},handleInputConfirm:g,mergedTheme:c,cssVars:n?void 0:b,themeClass:null==y?void 0:y.themeClass,onRender:null==y?void 0:y.onRender}},render(){const{mergedTheme:e,cssVars:t,mergedClsPrefix:n,onRender:o,renderTag:r}=this;return null==o||o(),Jr(_7,{class:[`${n}-dynamic-tags`,this.themeClass],size:"small",style:t,theme:e.peers.Space,themeOverrides:e.peerOverrides.Space,itemStyle:"display: flex;"},{default:()=>{const{mergedTheme:e,tagClass:t,tagStyle:o,type:a,round:i,size:l,color:s,closable:d,mergedDisabled:c,showInput:u,inputValue:h,inputClass:p,inputStyle:f,inputSize:m,inputForceFocused:v,triggerDisabled:g,handleInputKeyDown:b,handleInputBlur:y,handleAddClick:_,handleCloseClick:x,handleInputConfirm:C,$slots:w}=this;return this.mergedValue.map(((n,u)=>r?r(n,u):Jr(rY,{key:u,theme:e.peers.Tag,themeOverrides:e.peerOverrides.Tag,class:t,style:o,type:a,round:i,size:l,color:s,closable:d,disabled:c,onClose:()=>{x(u)}},{default:()=>"string"==typeof n?n:n.label}))).concat(u?w.input?w.input({submit:C,deactivate:y}):Jr(BY,Object.assign({placeholder:"",size:m,style:f,class:p,autosize:!0},this.inputProps,{ref:"inputInstRef",value:h,onUpdateValue:e=>{this.inputValue=e},theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,onKeydown:b,onBlur:y,internalForceFocus:v})):w.trigger?w.trigger({activate:_,disabled:g}):Jr(SG,{dashed:!0,disabled:g,theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,size:m,onClick:_},{icon:()=>Jr(VW,{clsPrefix:n},{default:()=>Jr(qW,null)})}))}})}}),k7={name:"Element",common:KU},P7={name:"Element",common:Eq},T7={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},R7={name:"Flex",self:()=>T7};const F7={name:"Flex",self:function(){return T7}},z7={name:"ButtonGroup",common:KU},M7={name:"ButtonGroup",common:Eq},$7={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"};function A7(e){const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:a,warningColor:i,lineHeight:l,textColor3:s}=e;return Object.assign(Object.assign({},$7),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:l,labelTextColor:r,asteriskColor:a,feedbackTextColorError:a,feedbackTextColorWarning:i,feedbackTextColor:s})}const O7={name:"Form",common:Eq,self:A7},D7={name:"Form",common:KU,self:A7},I7={name:"GradientText",common:KU,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:a,primaryColorSuppl:i,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:d,infoColorSuppl:c,fontWeightStrong:u}=e;return{fontWeight:u,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:i,colorStartInfo:a,colorEndInfo:c,colorStartWarning:o,colorEndWarning:s,colorStartError:r,colorEndError:d,colorStartSuccess:n,colorEndSuccess:l}}};const B7={name:"GradientText",common:Eq,self:function(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:a,fontWeightStrong:i}=e;return{fontWeight:i,rotate:"252deg",colorStartPrimary:DO(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:DO(a,{alpha:.6}),colorEndInfo:a,colorStartWarning:DO(o,{alpha:.6}),colorEndWarning:o,colorStartError:DO(r,{alpha:.6}),colorEndError:r,colorStartSuccess:DO(n,{alpha:.6}),colorEndSuccess:n}}},E7={name:"InputNumber",common:KU,peers:{Button:CG,Input:FY},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}};const L7={name:"InputNumber",common:Eq,peers:{Button:xG,Input:zY},self:function(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},j7={name:"Layout",common:KU,peers:{Scrollbar:Hq},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:a,scrollbarColor:i,scrollbarColorHover:l}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:a,headerBorderColorInverted:a,footerBorderColor:a,footerBorderColorInverted:a,siderBorderColor:a,siderBorderColorInverted:a,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:OO(n,i),siderToggleBarColorHover:OO(n,l),__invertScrollbar:"false"}}};const N7={name:"Layout",common:Eq,peers:{Scrollbar:Nq},self:function(e){const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:a,actionColor:i,scrollbarColor:l,scrollbarColorHover:s,invertedColor:d}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:i,headerColor:r,headerColorInverted:d,footerColor:i,footerColorInverted:d,headerBorderColor:a,headerBorderColorInverted:d,footerBorderColor:a,footerBorderColorInverted:d,siderBorderColor:a,siderBorderColorInverted:d,siderColor:r,siderColorInverted:d,siderToggleButtonBorder:`1px solid ${a}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:OO(o,l),siderToggleBarColorHover:OO(o,s),__invertScrollbar:"true"}}},H7={name:"Row",common:KU},W7={name:"Row",common:Eq};function V7(e){const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:a,borderRadius:i,fontSize:l,hoverColor:s}=e;return{textColor:t,color:n,colorHover:s,colorModal:o,colorHoverModal:OO(o,s),colorPopover:r,colorHoverPopover:OO(r,s),borderColor:a,borderColorModal:OO(o,a),borderColorPopover:OO(r,a),borderRadius:i,fontSize:l}}const U7={name:"List",common:Eq,self:V7},q7={name:"List",common:KU,self:V7},K7={name:"Log",common:KU,peers:{Scrollbar:Hq,Code:AQ},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}};const Y7={name:"Log",common:Eq,peers:{Scrollbar:Nq,Code:OQ},self:function(e){const{textColor2:t,modalColor:n,borderColor:o,fontSize:r,primaryColor:a}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:n,loaderBorder:`1px solid ${o}`,loadingColor:a}}},G7={name:"Mention",common:KU,peers:{InternalSelectMenu:PK,Input:FY},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}};const X7={name:"Mention",common:Eq,peers:{InternalSelectMenu:kK,Input:zY},self:function(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}};function Z7(e){const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:a,fontSize:i,dividerColor:l,hoverColor:s,primaryColorHover:d}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:s,itemColorActive:DO(o,{alpha:.1}),itemColorActiveHover:DO(o,{alpha:.1}),itemColorActiveCollapsed:DO(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:d,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:a,itemIconColorHover:a,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:a,itemIconColorHorizontal:a,itemIconColorHoverHorizontal:d,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:i,dividerColor:l},{itemColorHoverInverted:"#0000",itemColorActiveInverted:u=o,itemColorActiveHoverInverted:u,itemColorActiveCollapsedInverted:u,itemTextColorInverted:c="#BBB",itemTextColorHoverInverted:h="#FFF",itemTextColorChildActiveInverted:h,itemTextColorChildActiveHoverInverted:h,itemTextColorActiveInverted:h,itemTextColorActiveHoverInverted:h,itemTextColorHorizontalInverted:c,itemTextColorHoverHorizontalInverted:h,itemTextColorChildActiveHorizontalInverted:h,itemTextColorChildActiveHoverHorizontalInverted:h,itemTextColorActiveHorizontalInverted:h,itemTextColorActiveHoverHorizontalInverted:h,itemIconColorInverted:c,itemIconColorHoverInverted:h,itemIconColorActiveInverted:h,itemIconColorActiveHoverInverted:h,itemIconColorChildActiveInverted:h,itemIconColorChildActiveHoverInverted:h,itemIconColorCollapsedInverted:c,itemIconColorHorizontalInverted:c,itemIconColorHoverHorizontalInverted:h,itemIconColorActiveHorizontalInverted:h,itemIconColorActiveHoverHorizontalInverted:h,itemIconColorChildActiveHorizontalInverted:h,itemIconColorChildActiveHoverHorizontalInverted:h,arrowColorInverted:c,arrowColorHoverInverted:h,arrowColorActiveInverted:h,arrowColorActiveHoverInverted:h,arrowColorChildActiveInverted:h,arrowColorChildActiveHoverInverted:h,groupTextColorInverted:"#AAA"});var c,u,h}const Q7={name:"Menu",common:Eq,peers:{Tooltip:HJ,Dropdown:EJ},self:Z7},J7={name:"Menu",common:KU,peers:{Tooltip:NJ,Dropdown:LJ},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=Z7(e);return o.itemColorActive=DO(t,{alpha:.15}),o.itemColorActiveHover=DO(t,{alpha:.15}),o.itemColorActiveCollapsed=DO(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},e5={titleFontSize:"18px",backSize:"22px"};function t5(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:a,primaryColorHover:i,primaryColorPressed:l}=e;return Object.assign(Object.assign({},e5),{titleFontWeight:a,fontSize:r,titleTextColor:t,backColor:n,backColorHover:i,backColorPressed:l,subtitleTextColor:o})}const n5={name:"PageHeader",common:Eq,self:t5},o5={name:"PageHeader",common:KU,self:t5},r5={iconSize:"22px"};function a5(e){const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},r5),{fontSize:t,iconColor:n})}const i5={name:"Popconfirm",common:Eq,peers:{Button:xG,Popover:IK},self:a5},l5={name:"Popconfirm",common:KU,peers:{Button:CG,Popover:BK},self:a5};function s5(e){const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:a,progressRailColor:i,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:i,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:a,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:a,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}}const d5={name:"Progress",common:Eq,self:s5},c5={name:"Progress",common:KU,self(e){const t=s5(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},u5={name:"Rate",common:KU,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}};const h5={name:"Rate",common:Eq,self:function(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},p5={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};function f5(e){const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:a,warningColor:i,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},p5),{lineHeight:l,titleFontWeight:s,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:a,iconColorWarning:i})}const m5={name:"Result",common:Eq,self:f5},v5={name:"Result",common:KU,self:f5},g5={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},b5={name:"Slider",common:KU,self(e){const{railColor:t,modalColor:n,primaryColorSuppl:o,popoverColor:r,textColor2:a,cardColor:i,borderRadius:l,fontSize:s,opacityDisabled:d}=e;return Object.assign(Object.assign({},g5),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:o,fillColorHover:o,opacityDisabled:d,handleColor:"#FFF",dotColor:i,dotColorModal:n,dotColorPopover:r,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:r,indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${o}`,dotBoxShadow:""})}};const y5={name:"Slider",common:Eq,self:function(e){const{railColor:t,primaryColor:n,baseColor:o,cardColor:r,modalColor:a,popoverColor:i,borderRadius:l,fontSize:s,opacityDisabled:d}=e;return Object.assign(Object.assign({},g5),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:n,fillColorHover:n,opacityDisabled:d,handleColor:"#FFF",dotColor:r,dotColorModal:a,dotColorPopover:i,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:"rgba(0, 0, 0, .85)",indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:o,indicatorBorderRadius:l,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}};function _5(e){const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:a,heightHuge:i,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:a,sizeHuge:i,color:l,opacitySpinning:t}}const x5={name:"Spin",common:Eq,self:_5},C5={name:"Spin",common:KU,self:_5};function w5(e){const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}}const S5={name:"Statistic",common:Eq,self:w5},k5={name:"Statistic",common:KU,self:w5},P5={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};function T5(e){const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:a,textColor1:i,textColor2:l}=e;return Object.assign(Object.assign({},P5),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:a,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:a,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:i,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:a,descriptionTextColorProcess:l,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:a})}const R5={name:"Steps",common:Eq,self:T5},F5={name:"Steps",common:KU,self:T5},z5={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},M5={name:"Switch",common:KU,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:a,baseColor:i}=e;return Object.assign(Object.assign({},z5),{iconColor:i,textColor:a,loadingColor:t,opacityDisabled:n,railColor:"rgba(255, 255, 255, .20)",railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${DO(r,{alpha:.3})}`})}};const $5={name:"Switch",common:Eq,self:function(e){const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e;return Object.assign(Object.assign({},z5),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:"rgba(0, 0, 0, .14)",railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${DO(t,{alpha:.2})}`})}},A5={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function O5(e){const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:a,tableColorStriped:i,textColor1:l,textColor2:s,borderRadius:d,fontWeightStrong:c,lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:f}=e;return Object.assign(Object.assign({},A5),{fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:f,lineHeight:u,borderRadius:d,borderColor:OO(n,t),borderColorModal:OO(o,t),borderColorPopover:OO(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:OO(n,i),tdColorStripedModal:OO(o,i),tdColorStripedPopover:OO(r,i),thColor:OO(n,a),thColorModal:OO(o,a),thColorPopover:OO(r,a),thTextColor:l,tdTextColor:s,thFontWeight:c})}const D5={name:"Table",common:Eq,self:O5},I5={name:"Table",common:KU,self:O5},B5={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"};function E5(e){const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:l,closeColorPressed:s,tabColor:d,baseColor:c,dividerColor:u,fontWeight:h,textColor1:p,borderRadius:f,fontSize:m,fontWeightStrong:v}=e;return Object.assign(Object.assign({},B5),{colorSegment:d,tabFontSizeCard:m,tabTextColorLine:p,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:p,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:p,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:p,tabTextColorHoverCard:p,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:l,closeColorPressed:s,closeBorderRadius:f,tabColor:d,tabColorSegment:c,tabBorderColor:u,tabFontWeightActive:h,tabFontWeight:h,tabBorderRadius:f,paneTextColor:t,fontWeightStrong:v})}const L5={name:"Tabs",common:Eq,self:E5},j5={name:"Tabs",common:KU,self(e){const t=E5(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}};function N5(e){const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}}const H5={name:"Thing",common:Eq,self:N5},W5={name:"Thing",common:KU,self:N5},V5={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},U5={name:"Timeline",common:KU,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:a,textColor1:i,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:c}=e;return Object.assign(Object.assign({},V5),{contentFontSize:c,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${a}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:a,titleTextColor:i,contentTextColor:l,metaTextColor:t,lineColor:s})}};const q5={name:"Timeline",common:Eq,self:function(e){const{textColor3:t,infoColor:n,errorColor:o,successColor:r,warningColor:a,textColor1:i,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:c}=e;return Object.assign(Object.assign({},V5),{contentFontSize:c,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${a}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:a,titleTextColor:i,contentTextColor:l,metaTextColor:t,lineColor:s})}},K5={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},Y5={name:"Transfer",common:KU,peers:{Checkbox:vQ,Scrollbar:Hq,Input:FY,Empty:_K,Button:CG},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:a,heightMedium:i,borderRadius:l,inputColor:s,tableHeaderColor:d,textColor1:c,textColorDisabled:u,textColor2:h,textColor3:p,hoverColor:f,closeColorHover:m,closeColorPressed:v,closeIconColor:g,closeIconColorHover:b,closeIconColorPressed:y,dividerColor:_}=e;return Object.assign(Object.assign({},K5),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:a,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:l,dividerColor:_,borderColor:"#0000",listColor:s,headerColor:d,titleTextColor:c,titleTextColorDisabled:u,extraTextColor:p,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:f,titleFontWeight:t,closeColorHover:m,closeColorPressed:v,closeIconColor:g,closeIconColorHover:b,closeIconColorPressed:y})}};const G5={name:"Transfer",common:Eq,peers:{Checkbox:mQ,Scrollbar:Nq,Input:zY,Empty:yK,Button:xG},self:function(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:a,heightMedium:i,borderRadius:l,cardColor:s,tableHeaderColor:d,textColor1:c,textColorDisabled:u,textColor2:h,textColor3:p,borderColor:f,hoverColor:m,closeColorHover:v,closeColorPressed:g,closeIconColor:b,closeIconColorHover:y,closeIconColorPressed:_}=e;return Object.assign(Object.assign({},K5),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:a,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:l,dividerColor:f,borderColor:f,listColor:s,headerColor:OO(s,d),titleTextColor:c,titleTextColorDisabled:u,extraTextColor:p,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:m,titleFontWeight:t,closeColorHover:v,closeColorPressed:g,closeIconColor:b,closeIconColorHover:y,closeIconColorPressed:_})}};function X5(e){const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:a,textColor3:i,textColor2:l,textColorDisabled:s,fontSize:d}=e;return{fontSize:d,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:DO(a,{alpha:.1}),arrowColor:i,nodeTextColor:l,nodeTextColorDisabled:s,loadingColor:a,dropMarkColor:a,lineColor:n}}const Z5={name:"Tree",common:Eq,peers:{Checkbox:mQ,Scrollbar:Nq,Empty:yK},self:X5},Q5={name:"Tree",common:KU,peers:{Checkbox:vQ,Scrollbar:Hq,Empty:_K},self(e){const{primaryColor:t}=e,n=X5(e);return n.nodeColorActive=DO(t,{alpha:.15}),n}},J5={name:"TreeSelect",common:KU,peers:{Tree:Q5,Empty:_K,InternalSelection:lY}};const e3={name:"TreeSelect",common:Eq,peers:{Tree:Z5,Empty:yK,InternalSelection:sY},self:function(e){const{popoverColor:t,boxShadow2:n,borderRadius:o,heightMedium:r,dividerColor:a,textColor2:i}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:n,menuBorderRadius:o,menuHeight:`calc(${r} * 7.6)`,actionDividerColor:a,actionTextColor:i,actionPadding:"8px 12px",headerDividerColor:a,headerTextColor:i,headerPadding:"8px 12px"}}},t3={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};function n3(e){const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:a,borderRadiusSmall:i,dividerColor:l,fontWeightStrong:s,textColor1:d,textColor3:c,infoColor:u,warningColor:h,errorColor:p,successColor:f,codeColor:m}=e;return Object.assign(Object.assign({},t3),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:a,codeBorderRadius:i,liTextColor:n,liLineHeight:r,liFontSize:a,hrColor:l,headerFontWeight:s,headerTextColor:d,pTextColor:n,pTextColor1Depth:d,pTextColor2Depth:n,pTextColor3Depth:c,pLineHeight:r,pFontSize:a,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:u,headerBarColorError:p,headerBarColorWarning:h,headerBarColorSuccess:f,textColor:n,textColor1Depth:d,textColor2Depth:n,textColor3Depth:c,textColorPrimary:t,textColorInfo:u,textColorSuccess:f,textColorWarning:h,textColorError:p,codeTextColor:n,codeColor:m,codeBorder:"1px solid #0000"})}const o3={name:"Typography",common:Eq,self:n3},r3={name:"Typography",common:KU,self:n3};function a3(e){const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:a,opacityDisabled:i,actionColor:l,borderColor:s,hoverColor:d,lineHeight:c,borderRadius:u,fontSize:h}=e;return{fontSize:h,lineHeight:c,borderRadius:u,draggerColor:l,draggerBorder:`1px dashed ${s}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:d,itemColorHoverError:DO(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:a,itemIconColor:t,itemDisabledOpacity:i,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${s}`}}const i3={name:"Upload",common:Eq,peers:{Button:xG,Progress:d5},self:a3},l3={name:"Upload",common:KU,peers:{Button:CG,Progress:c5},self(e){const{errorColor:t}=e,n=a3(e);return n.itemColorHoverError=DO(t,{alpha:.09}),n}},s3={name:"Watermark",common:KU,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},d3={name:"Watermark",common:Eq,self(e){const{fontFamily:t}=e;return{fontFamily:t}}};const c3={name:"FloatButtonGroup",common:Eq,self:function(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},u3={name:"FloatButton",common:KU,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:a,primaryColorHover:i,primaryColorPressed:l,baseColor:s,borderRadius:d}=e;return{color:t,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:o,colorPressed:r,colorPrimary:a,colorPrimaryHover:i,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:d}}};const h3={name:"FloatButton",common:Eq,self:function(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:a,primaryColorHover:i,primaryColorPressed:l,borderRadius:s}=e;return{color:t,colorHover:o,colorPressed:r,colorPrimary:a,colorPrimaryHover:i,colorPrimaryPressed:l,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .16)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .24)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .24)",textColorPrimary:"#fff",borderRadiusSquare:s}}},p3="n-form",f3="n-form-item-insts",m3=LA("form",[NA("inline","\n width: 100%;\n display: inline-flex;\n align-items: flex-start;\n align-content: space-around;\n ",[LA("form-item",{width:"auto",marginRight:"18px"},[BA("&:last-child",{marginRight:0})])])]);var v3=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};const g3=$n({name:"Form",props:Object.assign(Object.assign({},HW.props),{inline:Boolean,labelWidth:[Number,String],labelAlign:String,labelPlacement:{type:String,default:"top"},model:{type:Object,default:()=>{}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:e=>{e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),setup(e){const{mergedClsPrefixRef:t}=fE(e);HW("Form","-form",m3,O7,e,t);const n={},o=vt(void 0);To(p3,{props:e,maxChildLabelWidthRef:o,deriveMaxChildLabelWidth:e=>{const t=o.value;(void 0===t||e>=t)&&(o.value=e)}}),To(f3,{formItems:n});const r={validate:function(e){return v3(this,arguments,void 0,(function*(e,t=()=>!0){return yield new Promise(((o,r)=>{const a=[];for(const e of nE(n)){const o=n[e];for(const e of o)e.path&&a.push(e.internalValidate(null,t))}Promise.all(a).then((t=>{const n=t.some((e=>!e.valid)),a=[],i=[];t.forEach((e=>{var t,n;(null===(t=e.errors)||void 0===t?void 0:t.length)&&a.push(e.errors),(null===(n=e.warnings)||void 0===n?void 0:n.length)&&i.push(e.warnings)})),e&&e(a.length?a:void 0,{warnings:i.length?i:void 0}),n?r(a.length?a:void 0):o({warnings:i.length?i:void 0})}))}))}))},restoreValidation:function(){for(const e of nE(n)){const t=n[e];for(const e of t)e.restoreValidation()}}};return Object.assign(r,{mergedClsPrefix:t})},render(){const{mergedClsPrefix:e}=this;return Jr("form",{class:[`${e}-form`,this.inline&&`${e}-form--inline`],onSubmit:this.onSubmit},this.$slots)}});function b3(){return b3=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),o=1;o=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}break;default:return e}})):e}function P3(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function T3(e,t,n){var o=0,r=e.length;!function a(i){if(i&&i.length)n(i);else{var l=o;o+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,D3=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,I3={integer:function(e){return I3.number(e)&&parseInt(e,10)===e},float:function(e){return I3.number(e)&&!I3.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(Nte){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!I3.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(O3)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if($3)return $3;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",r=("\n(?:\n(?:"+o+":){7}(?:"+o+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+n+"|:"+o+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+n+"|(?::"+o+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(?::"+o+"){0,1}:"+n+"|(?::"+o+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(?::"+o+"){0,2}:"+n+"|(?::"+o+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(?::"+o+"){0,3}:"+n+"|(?::"+o+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(?::"+o+"){0,4}:"+n+"|(?::"+o+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+o+"){0,5}:"+n+"|(?::"+o+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),i=new RegExp("^"+n+"$"),l=new RegExp("^"+r+"$"),s=function(e){return e&&e.exact?a:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+r+t(e)+")","g")};s.v4=function(e){return e&&e.exact?i:new RegExp(""+t(e)+n+t(e),"g")},s.v6=function(e){return e&&e.exact?l:new RegExp(""+t(e)+r+t(e),"g")};var d=s.v4().source,c=s.v6().source;return $3=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+d+"|"+c+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(D3)}},B3="enum",E3={required:A3,whitespace:function(e,t,n,o,r){(/^\s+$/.test(t)||""===t)&&o.push(k3(r.messages.whitespace,e.fullField))},type:function(e,t,n,o,r){if(e.required&&void 0===t)A3(e,t,n,o,r);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?I3[a](t)||o.push(k3(r.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&o.push(k3(r.messages.types[a],e.fullField,e.type))}},range:function(e,t,n,o,r){var a="number"==typeof e.len,i="number"==typeof e.min,l="number"==typeof e.max,s=t,d=null,c="number"==typeof t,u="string"==typeof t,h=Array.isArray(t);if(c?d="number":u?d="string":h&&(d="array"),!d)return!1;h&&(s=t.length),u&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?s!==e.len&&o.push(k3(r.messages[d].len,e.fullField,e.len)):i&&!l&&se.max?o.push(k3(r.messages[d].max,e.fullField,e.max)):i&&l&&(se.max)&&o.push(k3(r.messages[d].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,r){e[B3]=Array.isArray(e[B3])?e[B3]:[],-1===e[B3].indexOf(t)&&o.push(k3(r.messages[B3],e.fullField,e[B3].join(", ")))},pattern:function(e,t,n,o,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(k3(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(k3(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},L3=function(e,t,n,o,r){var a=e.type,i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,a)&&!e.required)return n();E3.required(e,t,o,i,r,a),P3(t,a)||E3.type(e,t,o,i,r)}n(i)},j3={string:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,"string")&&!e.required)return n();E3.required(e,t,o,a,r,"string"),P3(t,"string")||(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r),E3.pattern(e,t,o,a,r),!0===e.whitespace&&E3.whitespace(e,t,o,a,r))}n(a)},method:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.type(e,t,o,a,r)}n(a)},number:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},boolean:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.type(e,t,o,a,r)}n(a)},regexp:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),P3(t)||E3.type(e,t,o,a,r)}n(a)},integer:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},float:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},array:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();E3.required(e,t,o,a,r,"array"),null!=t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},object:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.type(e,t,o,a,r)}n(a)},enum:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.enum(e,t,o,a,r)}n(a)},pattern:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,"string")&&!e.required)return n();E3.required(e,t,o,a,r),P3(t,"string")||E3.pattern(e,t,o,a,r)}n(a)},date:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,"date")&&!e.required)return n();var i;if(E3.required(e,t,o,a,r),!P3(t,"date"))i=t instanceof Date?t:new Date(t),E3.type(e,i,o,a,r),i&&E3.range(e,i.getTime(),o,a,r)}n(a)},url:L3,hex:L3,email:L3,required:function(e,t,n,o,r){var a=[],i=Array.isArray(t)?"array":typeof t;E3.required(e,t,o,a,r,i),n(a)},any:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r)}n(a)}};function N3(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var H3=N3(),W3=function(){function e(e){this.rules=null,this._messages=H3,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var o=e[n];t.rules[n]=Array.isArray(o)?o:[o]}))},t.messages=function(e){return e&&(this._messages=M3(N3(),e)),this._messages},t.validate=function(t,n,o){var r=this;void 0===n&&(n={}),void 0===o&&(o=function(){});var a=t,i=n,l=o;if("function"==typeof i&&(l=i,i={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,a),Promise.resolve(a);if(i.messages){var s=this.messages();s===H3&&(s=N3()),M3(s,i.messages),i.messages=s}else i.messages=this.messages();var d={};(i.keys||Object.keys(this.rules)).forEach((function(e){var n=r.rules[e],o=a[e];n.forEach((function(n){var i=n;"function"==typeof i.transform&&(a===t&&(a=b3({},a)),o=a[e]=i.transform(o)),(i="function"==typeof i?{validator:i}:b3({},i)).validator=r.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=r.getType(i),d[e]=d[e]||[],d[e].push({rule:i,value:o,source:a,field:e}))}))}));var c={};return F3(d,i,(function(t,n){var o,r=t.rule,l=!("object"!==r.type&&"array"!==r.type||"object"!=typeof r.fields&&"object"!=typeof r.defaultField);function s(e,t){return b3({},t,{fullField:r.fullField+"."+e,fullFields:r.fullFields?[].concat(r.fullFields,[e]):[e]})}function d(o){void 0===o&&(o=[]);var d=Array.isArray(o)?o:[o];!i.suppressWarning&&d.length&&e.warning("async-validator:",d),d.length&&void 0!==r.message&&(d=[].concat(r.message));var u=d.map(z3(r,a));if(i.first&&u.length)return c[r.field]=1,n(u);if(l){if(r.required&&!t.value)return void 0!==r.message?u=[].concat(r.message).map(z3(r,a)):i.error&&(u=[i.error(r,k3(i.messages.required,r.field))]),n(u);var h={};r.defaultField&&Object.keys(t.value).map((function(e){h[e]=r.defaultField})),h=b3({},h,t.rule.fields);var p={};Object.keys(h).forEach((function(e){var t=h[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))}));var f=new e(p);f.messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),f.validate(t.value,t.rule.options||i,(function(e){var t=[];u&&u.length&&t.push.apply(t,u),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(u)}if(l=l&&(r.required||!r.required&&t.value),r.field=t.field,r.asyncValidator)o=r.asyncValidator(r,t.value,d,t.source,i);else if(r.validator){try{o=r.validator(r,t.value,d,t.source,i)}catch(u){console.error,i.suppressValidatorError||setTimeout((function(){throw u}),0),d(u.message)}!0===o?d():!1===o?d("function"==typeof r.message?r.message(r.fullField||r.field):r.message||(r.fullField||r.field)+" fails"):o instanceof Array?d(o):o instanceof Error&&d(o.message)}o&&o.then&&o.then((function(){return d()}),(function(e){return d(e)}))}),(function(e){!function(e){for(var t,n,o=[],r={},i=0;i{try{const o=e(...n);return!(!t&&("boolean"==typeof o||o instanceof Error||Array.isArray(o))||(null==o?void 0:o.then))||o}catch(o){return}}}const X3=$n({name:"FormItem",props:K3,setup(e){BD(f3,"formItems",Ft(e,"path"));const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=Ro(p3,null),r=function(e){const t=Ro(p3,null);return{mergedSize:Qr((()=>void 0!==e.size?e.size:void 0!==(null==t?void 0:t.props.size)?t.props.size:"medium"))}}(e),a=function(e){const t=Ro(p3,null),n=Qr((()=>{const{labelPlacement:n}=e;return void 0!==n?n:(null==t?void 0:t.props.labelPlacement)?t.props.labelPlacement:"top"})),o=Qr((()=>"left"===n.value&&("auto"===e.labelWidth||"auto"===(null==t?void 0:t.props.labelWidth)))),r=Qr((()=>{if("top"===n.value)return;const{labelWidth:r}=e;if(void 0!==r&&"auto"!==r)return LB(r);if(o.value){const e=null==t?void 0:t.maxChildLabelWidthRef.value;return void 0!==e?LB(e):void 0}return void 0!==(null==t?void 0:t.props.labelWidth)?LB(t.props.labelWidth):void 0})),a=Qr((()=>{const{labelAlign:n}=e;return n||((null==t?void 0:t.props.labelAlign)?t.props.labelAlign:void 0)})),i=Qr((()=>{var t;return[null===(t=e.labelProps)||void 0===t?void 0:t.style,e.labelStyle,{width:r.value}]})),l=Qr((()=>{const{showRequireMark:n}=e;return void 0!==n?n:null==t?void 0:t.props.showRequireMark})),s=Qr((()=>{const{requireMarkPlacement:n}=e;return void 0!==n?n:(null==t?void 0:t.props.requireMarkPlacement)||"right"})),d=vt(!1),c=vt(!1),u=Qr((()=>{const{validationStatus:t}=e;return void 0!==t?t:d.value?"error":c.value?"warning":void 0})),h=Qr((()=>{const{showFeedback:n}=e;return void 0!==n?n:void 0===(null==t?void 0:t.props.showFeedback)||t.props.showFeedback})),p=Qr((()=>{const{showLabel:n}=e;return void 0!==n?n:void 0===(null==t?void 0:t.props.showLabel)||t.props.showLabel}));return{validationErrored:d,validationWarned:c,mergedLabelStyle:i,mergedLabelPlacement:n,mergedLabelAlign:a,mergedShowRequireMark:l,mergedRequireMarkPlacement:s,mergedValidationStatus:u,mergedShowFeedback:h,mergedShowLabel:p,isAutoLabelWidth:o}}(e),{validationErrored:i,validationWarned:l}=a,{mergedRequired:s,mergedRules:d}=function(e){const t=Ro(p3,null),n=Qr((()=>{const{rulePath:t}=e;if(void 0!==t)return t;const{path:n}=e;return void 0!==n?n:void 0})),o=Qr((()=>{const o=[],{rule:r}=e;if(void 0!==r&&(Array.isArray(r)?o.push(...r):o.push(r)),t){const{rules:e}=t.props,{value:r}=n;if(void 0!==e&&void 0!==r){const t=RN(e,r);void 0!==t&&(Array.isArray(t)?o.push(...t):o.push(t))}}return o})),r=Qr((()=>o.value.some((e=>e.required)))),a=Qr((()=>r.value||e.required));return{mergedRules:o,mergedRequired:a}}(e),{mergedSize:c}=r,{mergedLabelPlacement:u,mergedLabelAlign:h,mergedRequireMarkPlacement:p}=a,f=vt([]),m=vt(GO()),v=o?Ft(o.props,"disabled"):vt(!1),g=HW("Form","-form-item",U3,O7,e,t);function b(){f.value=[],i.value=!1,l.value=!1,e.feedback&&(m.value=GO())}er(Ft(e,"path"),(()=>{e.ignorePathChange||b()}));const y=(...t)=>q3(this,[...t],void 0,(function*(t=null,n=()=>!0,r={suppressWarning:!0}){const{path:a}=e;r?r.first||(r.first=e.first):r={};const{value:s}=d,c=o?RN(o.props.model,a||""):void 0,u={},h={},p=(t?s.filter((e=>Array.isArray(e.trigger)?e.trigger.includes(t):e.trigger===t)):s).filter(n).map(((e,t)=>{const n=Object.assign({},e);if(n.validator&&(n.validator=G3(n.validator,!1)),n.asyncValidator&&(n.asyncValidator=G3(n.asyncValidator,!0)),n.renderMessage){const e=`__renderMessage__${t}`;h[e]=n.message,n.message=e,u[e]=n.renderMessage}return n})),m=p.filter((e=>"warning"!==e.level)),v=p.filter((e=>"warning"===e.level)),g={valid:!0,errors:void 0,warnings:void 0};if(!p.length)return g;const y=null!=a?a:"__n_no_path__",_=new W3({[y]:m}),x=new W3({[y]:v}),{validateMessages:C}=(null==o?void 0:o.props)||{};C&&(_.messages(C),x.messages(C));const w=e=>{f.value=e.map((e=>{const t=(null==e?void 0:e.message)||"";return{key:t,render:()=>t.startsWith("__renderMessage__")?u[t]():t}})),e.forEach((e=>{var t;(null===(t=e.message)||void 0===t?void 0:t.startsWith("__renderMessage__"))&&(e.message=h[e.message])}))};if(m.length){const e=yield new Promise((e=>{_.validate({[y]:c},r,e)}));(null==e?void 0:e.length)&&(g.valid=!1,g.errors=e,w(e))}if(v.length&&!g.errors){const e=yield new Promise((e=>{x.validate({[y]:c},r,e)}));(null==e?void 0:e.length)&&(w(e),g.warnings=e)}return g.errors||g.warnings?(i.value=!!g.errors,l.value=!!g.warnings):b(),g}));To(gE,{path:Ft(e,"path"),disabled:v,mergedSize:r.mergedSize,mergedValidationStatus:a.mergedValidationStatus,restoreValidation:b,handleContentBlur:function(){y("blur")},handleContentChange:function(){y("change")},handleContentFocus:function(){y("focus")},handleContentInput:function(){y("input")}});const _={validate:function(e,t){return q3(this,void 0,void 0,(function*(){let n,o,r,a;return"string"==typeof e?(n=e,o=t):null!==e&&"object"==typeof e&&(n=e.trigger,o=e.callback,r=e.shouldRuleBeApplied,a=e.options),yield new Promise(((e,t)=>{y(n,r,a).then((({valid:n,errors:r,warnings:a})=>{n?(o&&o(void 0,{warnings:a}),e({warnings:a})):(o&&o(r,{warnings:a}),t(r))}))}))}))},restoreValidation:b,internalValidate:y},x=vt(null);Kn((()=>{if(!a.isAutoLabelWidth.value)return;const e=x.value;if(null!==e){const t=e.style.whiteSpace;e.style.whiteSpace="nowrap",e.style.width="",null==o||o.deriveMaxChildLabelWidth(Number(getComputedStyle(e).width.slice(0,-2))),e.style.whiteSpace=t}}));const C=Qr((()=>{var e;const{value:t}=c,{value:n}=u,o="top"===n?"vertical":"horizontal",{common:{cubicBezierEaseInOut:r},self:{labelTextColor:a,asteriskColor:i,lineHeight:l,feedbackTextColor:s,feedbackTextColorWarning:d,feedbackTextColorError:p,feedbackPadding:f,labelFontWeight:m,[KA("labelHeight",t)]:v,[KA("blankHeight",t)]:b,[KA("feedbackFontSize",t)]:y,[KA("feedbackHeight",t)]:_,[KA("labelPadding",o)]:x,[KA("labelTextAlign",o)]:C,[KA(KA("labelFontSize",n),t)]:w}}=g.value;let S=null!==(e=h.value)&&void 0!==e?e:C;"top"===n&&(S="right"===S?"flex-end":"flex-start");return{"--n-bezier":r,"--n-line-height":l,"--n-blank-height":b,"--n-label-font-size":w,"--n-label-text-align":S,"--n-label-height":v,"--n-label-padding":x,"--n-label-font-weight":m,"--n-asterisk-color":i,"--n-label-text-color":a,"--n-feedback-padding":f,"--n-feedback-font-size":y,"--n-feedback-height":_,"--n-feedback-text-color":s,"--n-feedback-text-color-warning":d,"--n-feedback-text-color-error":p}})),w=n?vE("form-item",Qr((()=>{var e;return`${c.value[0]}${u.value[0]}${(null===(e=h.value)||void 0===e?void 0:e[0])||""}`})),C,e):void 0,S=Qr((()=>"left"===u.value&&"left"===p.value&&"left"===h.value));return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:x,mergedClsPrefix:t,mergedRequired:s,feedbackId:m,renderExplains:f,reverseColSpace:S},a),r),_),{cssVars:n?void 0:C,themeClass:null==w?void 0:w.themeClass,onRender:null==w?void 0:w.onRender})},render(){const{$slots:e,mergedClsPrefix:t,mergedShowLabel:n,mergedShowRequireMark:o,mergedRequireMarkPlacement:r,onRender:a}=this,i=void 0!==o?o:this.mergedRequired;null==a||a();return Jr("div",{class:[`${t}-form-item`,this.themeClass,`${t}-form-item--${this.mergedSize}-size`,`${t}-form-item--${this.mergedLabelPlacement}-labelled`,this.isAutoLabelWidth&&`${t}-form-item--auto-label-width`,!n&&`${t}-form-item--no-label`],style:this.cssVars},n&&(()=>{const e=this.$slots.label?this.$slots.label():this.label;if(!e)return null;const n=Jr("span",{class:`${t}-form-item-label__text`},e),o=i?Jr("span",{class:`${t}-form-item-label__asterisk`},"left"!==r?" *":"* "):"right-hanging"===r&&Jr("span",{class:`${t}-form-item-label__asterisk-placeholder`}," *"),{labelProps:a}=this;return Jr("label",Object.assign({},a,{class:[null==a?void 0:a.class,`${t}-form-item-label`,`${t}-form-item-label--${r}-mark`,this.reverseColSpace&&`${t}-form-item-label--reverse-columns-space`],style:this.mergedLabelStyle,ref:"labelElementRef"}),"left"===r?[o,n]:[n,o])})(),Jr("div",{class:[`${t}-form-item-blank`,this.mergedValidationStatus&&`${t}-form-item-blank--${this.mergedValidationStatus}`]},e),this.mergedShowFeedback?Jr("div",{key:this.feedbackId,style:this.feedbackStyle,class:[`${t}-form-item-feedback-wrapper`,this.feedbackClass]},Jr(ha,{name:"fade-down-transition",mode:"out-in"},{default:()=>{const{mergedValidationStatus:n}=this;return dE(e.feedback,(e=>{var o;const{feedback:r}=this,a=e||r?Jr("div",{key:"__feedback__",class:`${t}-form-item-feedback__line`},e||r):this.renderExplains.length?null===(o=this.renderExplains)||void 0===o?void 0:o.map((({key:e,render:n})=>Jr("div",{key:e,class:`${t}-form-item-feedback__line`},n()))):null;return a?Jr("div","warning"===n?{key:"controlled-warning",class:`${t}-form-item-feedback ${t}-form-item-feedback--warning`}:"error"===n?{key:"controlled-error",class:`${t}-form-item-feedback ${t}-form-item-feedback--error`}:"success"===n?{key:"controlled-success",class:`${t}-form-item-feedback ${t}-form-item-feedback--success`}:{key:"controlled-default",class:`${t}-form-item-feedback`},a):null}))}})):null)}}),Z3="n-grid",Q3=1,J3={span:{type:[Number,String],default:Q3},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},e6=nE(J3),t6=$n({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:J3,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:n,overflowRef:o,layoutShiftDisabledRef:r}=Ro(Z3),a=Nr();return{overflow:o,itemStyle:n,layoutShiftDisabled:r,mergedXGap:Qr((()=>nO(t.value||0))),deriveStyle:()=>{e.value;const{privateSpan:n=Q3,privateShow:o=!0,privateColStart:r,privateOffset:i=0}=a.vnode.props,{value:l}=t,s=nO(l||0);return{display:o?"":"none",gridColumn:`${null!=r?r:`span ${n}`} / span ${n}`,marginLeft:i?`calc((100% - (${n} - 1) * ${s}) / ${n} * ${i} + ${s} * ${i})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:e,offset:t,mergedXGap:n}=this;return Jr("div",{style:{gridColumn:`span ${e} / span ${e}`,marginLeft:t?`calc((100% - (${e} - 1) * ${n}) / ${e} * ${t} + ${n} * ${t})`:""}},this.$slots)}return Jr("div",{style:[this.itemStyle,this.deriveStyle()]},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e,{overflow:this.overflow}))}}),n6=$n({__GRID_ITEM__:!0,name:"FormItemGridItem",alias:["FormItemGi"],props:Object.assign(Object.assign({},J3),K3),setup(){const e=vt(null);return{formItemInstRef:e,validate:(...t)=>{const{value:n}=e;if(n)return n.validate(...t)},restoreValidation:()=>{const{value:t}=e;t&&t.restoreValidation()}}},render(){return Jr(t6,tE(this.$.vnode.props||{},e6),{default:()=>{const e=tE(this.$props,Y3);return Jr(X3,Object.assign({ref:"formItemInstRef"},e),this.$slots)}})}}),o6={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},r6="__ssr__",a6=$n({name:"Grid",inheritAttrs:!1,props:{layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:24},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:n}=fE(e),o=/^\d+$/,r=vt(void 0),a=function(e=kD){if(!aD)return Qr((()=>[]));if("function"!=typeof window.matchMedia)return Qr((()=>[]));const t=vt({}),n=Object.keys(e),o=(e,n)=>{e.matches?t.value[n]=!0:t.value[n]=!1};return n.forEach((t=>{const n=e[t];let r,a;void 0===PD[n]?(r=window.matchMedia(`(min-width: ${n}px)`),r.addEventListener?r.addEventListener("change",(e=>{a.forEach((n=>{n(e,t)}))})):r.addListener&&r.addListener((e=>{a.forEach((n=>{n(e,t)}))})),a=new Set,PD[n]={mql:r,cbs:a}):(r=PD[n].mql,a=PD[n].cbs),a.add(o),r.matches&&a.forEach((e=>{e(r,t)}))})),Xn((()=>{n.forEach((t=>{const{cbs:n}=PD[e[t]];n.has(o)&&n.delete(o)}))})),Qr((()=>{const{value:e}=t;return n.filter((t=>e[t]))}))}((null==n?void 0:n.value)||o6),i=oD((()=>!!e.itemResponsive||(!o.test(e.cols.toString())||(!o.test(e.xGap.toString())||!o.test(e.yGap.toString()))))),l=Qr((()=>{if(i.value)return"self"===e.responsive?r.value:a.value})),s=oD((()=>{var t;return null!==(t=Number(eO(e.cols.toString(),l.value)))&&void 0!==t?t:24})),d=oD((()=>eO(e.xGap.toString(),l.value))),c=oD((()=>eO(e.yGap.toString(),l.value))),u=e=>{r.value=e.contentRect.width},h=e=>{ZA(u,e)},p=vt(!1),f=Qr((()=>{if("self"===e.responsive)return h})),m=vt(!1),v=vt();return Kn((()=>{const{value:e}=v;e&&e.hasAttribute(r6)&&(e.removeAttribute(r6),m.value=!0)})),To(Z3,{layoutShiftDisabledRef:Ft(e,"layoutShiftDisabled"),isSsrRef:m,itemStyleRef:Ft(e,"itemStyle"),xGapRef:d,overflowRef:p}),{isSsr:!ED,contentEl:v,mergedClsPrefix:t,style:Qr((()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:nO(e.xGap),rowGap:nO(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${s.value}, minmax(0, 1fr))`,columnGap:nO(d.value),rowGap:nO(c.value)})),isResponsive:i,responsiveQuery:l,responsiveCols:s,handleResize:f,overflow:p}},render(){if(this.layoutShiftDisabled)return Jr("div",Ir({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var e,t,n,o,r,a,i;this.overflow=!1;const l=QB(eE(this)),s=[],{collapsed:d,collapsedRows:c,responsiveCols:u,responsiveQuery:h}=this;l.forEach((e=>{var t,n,o,r,a;if(!0!==(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.__GRID_ITEM__))return;if(function(e){var t;const n=null===(t=e.dirs)||void 0===t?void 0:t.find((({dir:e})=>e===Ra));return!(!n||!1!==n.value)}(e)){const t=Mr(e);return t.props?t.props.privateShow=!1:t.props={privateShow:!1},void s.push({child:t,rawChildSpan:0})}e.dirs=(null===(n=e.dirs)||void 0===n?void 0:n.filter((({dir:e})=>e!==Ra)))||null,0===(null===(o=e.dirs)||void 0===o?void 0:o.length)&&(e.dirs=null);const i=Mr(e),l=Number(null!==(a=eO(null===(r=i.props)||void 0===r?void 0:r.span,h))&&void 0!==a?a:1);0!==l&&s.push({child:i,rawChildSpan:l})}));let p=0;const f=null===(e=s[s.length-1])||void 0===e?void 0:e.child;if(null==f?void 0:f.props){const e=null===(t=f.props)||void 0===t?void 0:t.suffix;void 0!==e&&!1!==e&&(p=Number(null!==(o=eO(null===(n=f.props)||void 0===n?void 0:n.span,h))&&void 0!==o?o:1),f.props.privateSpan=p,f.props.privateColStart=u+1-p,f.props.privateShow=null===(r=f.props.privateShow)||void 0===r||r)}let m=0,v=!1;for(const{child:g,rawChildSpan:b}of s){if(v&&(this.overflow=!0),!v){const e=Number(null!==(i=eO(null===(a=g.props)||void 0===a?void 0:a.offset,h))&&void 0!==i?i:0),t=Math.min(b+e,u);if(g.props?(g.props.privateSpan=t,g.props.privateOffset=e):g.props={privateSpan:t,privateOffset:e},d){const e=m%u;t+e>u&&(m+=u-e),t+m+p>c*u?v=!0:m+=t}}v&&(g.props?!0!==g.props.privateShow&&(g.props.privateShow=!1):g.props={privateShow:!1})}return Jr("div",Ir({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[r6]:this.isSsr||void 0},this.$attrs),s.map((({child:e})=>e)))};return this.isResponsive&&"self"===this.responsive?Jr(bB,{onResize:this.handleResize},{default:e}):e()}});function i6(e){const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}}const l6={name:"IconWrapper",common:Eq,self:i6},s6={name:"IconWrapper",common:KU,self:i6},d6={name:"Image",common:KU,peers:{Tooltip:NJ},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};const c6={name:"Image",common:Eq,peers:{Tooltip:HJ},self:function(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function u6(){return Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"}))}function h6(){return Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"}))}function p6(){return Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"}))}const f6=Object.assign(Object.assign({},HW.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean,renderToolbar:Function}),m6="n-image",v6=BA([BA("body >",[LA("image-container","position: fixed;")]),LA("image-preview-container","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n "),LA("image-preview-overlay","\n z-index: -1;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0, 0, 0, .3);\n ",[WV()]),LA("image-preview-toolbar","\n z-index: 1;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n border-radius: var(--n-toolbar-border-radius);\n height: 48px;\n bottom: 40px;\n padding: 0 12px;\n background: var(--n-toolbar-color);\n box-shadow: var(--n-toolbar-box-shadow);\n color: var(--n-toolbar-icon-color);\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n ",[LA("base-icon","\n padding: 0 8px;\n font-size: 28px;\n cursor: pointer;\n "),WV()]),LA("image-preview-wrapper","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n pointer-events: none;\n ",[MK()]),LA("image-preview","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: all;\n margin: auto;\n max-height: calc(100vh - 32px);\n max-width: calc(100vw - 32px);\n transition: transform .3s var(--n-bezier);\n "),LA("image","\n display: inline-flex;\n max-height: 100%;\n max-width: 100%;\n ",[HA("preview-disabled","\n cursor: pointer;\n "),BA("img","\n border-radius: inherit;\n ")])]),g6=$n({name:"ImagePreview",props:Object.assign(Object.assign({},f6),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=HW("Image","-image",v6,c6,e,Ft(e,"clsPrefix"));let n=null;const o=vt(null),r=vt(null),a=vt(void 0),i=vt(!1),l=vt(!1),{localeRef:s}=AW("Image");function d(t){var n,o;switch(t.key){case" ":t.preventDefault();break;case"ArrowLeft":null===(n=e.onPrev)||void 0===n||n.call(e);break;case"ArrowRight":null===(o=e.onNext)||void 0===o||o.call(e);break;case"Escape":F()}}er(i,(e=>{e?eD("keydown",document,d):tD("keydown",document,d)})),Xn((()=>{tD("keydown",document,d)}));let c=0,u=0,h=0,p=0,f=0,m=0,v=0,g=0,b=!1;function y(e){const{clientX:t,clientY:n}=e;h=t-c,p=n-u,ZA(R)}function _(e){const{value:t}=o;if(!t)return{offsetX:0,offsetY:0};const n=t.getBoundingClientRect(),{moveVerticalDirection:r,moveHorizontalDirection:a,deltaHorizontal:i,deltaVertical:l}=e||{};let s=0,d=0;return s=n.width<=window.innerWidth?0:n.left>0?(n.width-window.innerWidth)/2:n.right0?(n.height-window.innerHeight)/2:n.bottom0?"Top":"Bottom"),moveHorizontalDirection:"horizontal"+(a>0?"Left":"Right"),deltaHorizontal:a,deltaVertical:i}}({mouseUpClientX:t,mouseUpClientY:n,mouseDownClientX:v,mouseDownClientY:g}),r=_(o);h=r.offsetX,p=r.offsetY,R()}const C=Ro(m6,null);let w=0,S=1,k=0;function P(){S=1,w=0}function T(){const{value:e}=o;if(!e)return 1;const{innerWidth:t,innerHeight:n}=window,r=e.naturalHeight/(n-32),a=e.naturalWidth/(t-32);return r<1&&a<1?1:Math.max(r,a)}function R(e=!0){var t;const{value:n}=o;if(!n)return;const{style:r}=n,a=B(null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.style);let i="";if("string"==typeof a)i=`${a};`;else for(const o in a)i+=`${MW(o)}: ${a[o]};`;const l=`transform-origin: center; transform: translateX(${h}px) translateY(${p}px) rotate(${k}deg) scale(${S});`;r.cssText=b?`${i}cursor: grabbing; transition: none;${l}`:`${i}cursor: grab;${l}${e?"":"transition: none;"}`,e||n.offsetHeight}function F(){i.value=!i.value,l.value=!0}const z={setPreviewSrc:e=>{a.value=e},setThumbnailEl:e=>{n=e},toggleShow:F};const M=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{toolbarIconColor:n,toolbarBorderRadius:o,toolbarBoxShadow:r,toolbarColor:a}}=t.value;return{"--n-bezier":e,"--n-toolbar-icon-color":n,"--n-toolbar-color":a,"--n-toolbar-border-radius":o,"--n-toolbar-box-shadow":r}})),{inlineThemeDisabled:$}=fE(),A=$?vE("image-preview",void 0,M,e):void 0;return Object.assign({previewRef:o,previewWrapperRef:r,previewSrc:a,show:i,appear:CD(),displayed:l,previewedImgProps:null==C?void 0:C.previewedImgPropsRef,handleWheel(e){e.preventDefault()},handlePreviewMousedown:function(e){var t,n;if(null===(n=null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.onMousedown)||void 0===n||n.call(t,e),0!==e.button)return;const{clientX:o,clientY:r}=e;b=!0,c=o-h,u=r-p,f=h,m=p,v=o,g=r,R(),eD("mousemove",document,y),eD("mouseup",document,x)},handlePreviewDblclick:function(e){var t,n;null===(n=null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.onDblclick)||void 0===n||n.call(t,e);const o=T();S=S===o?1:o,R()},syncTransformOrigin:function(){const{value:e}=r;if(!n||!e)return;const{style:t}=e,o=n.getBoundingClientRect(),a=o.left+o.width/2,i=o.top+o.height/2;t.transformOrigin=`${a}px ${i}px`},handleAfterLeave:()=>{P(),k=0,l.value=!1},handleDragStart:e=>{var t,n;null===(n=null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.onDragstart)||void 0===n||n.call(t,e),e.preventDefault()},zoomIn:function(){const e=function(){const{value:e}=o;if(!e)return 1;const{innerWidth:t,innerHeight:n}=window,r=Math.max(1,e.naturalHeight/(n-32)),a=Math.max(1,e.naturalWidth/(t-32));return Math.max(3,2*r,2*a)}();S.5){const e=S;w-=1,S=Math.max(.5,Math.pow(1.5,w));const t=e-S;R(!1);const n=_();S+=t,R(!1),S-=t,h=n.offsetX,p=n.offsetY,R()}},handleDownloadClick:function(){const e=a.value;e&&NB(e,void 0)},rotateCounterclockwise:function(){k-=90,R()},rotateClockwise:function(){k+=90,R()},handleSwitchPrev:function(){var t;P(),k=0,null===(t=e.onPrev)||void 0===t||t.call(e)},handleSwitchNext:function(){var t;P(),k=0,null===(t=e.onNext)||void 0===t||t.call(e)},withTooltip:function(n,o){if(e.showToolbarTooltip){const{value:e}=t;return Jr(_1,{to:!1,theme:e.peers.Tooltip,themeOverrides:e.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>s.value[o],trigger:()=>n})}return n},resizeToOrignalImageSize:function(){S=T(),w=Math.ceil(Math.log(S)/Math.log(1.5)),h=0,p=0,R()},cssVars:$?void 0:M,themeClass:null==A?void 0:A.themeClass,onRender:null==A?void 0:A.onRender},z)},render(){var e,t;const{clsPrefix:n,renderToolbar:o,withTooltip:r}=this,a=r(Jr(VW,{clsPrefix:n,onClick:this.handleSwitchPrev},{default:u6}),"tipPrevious"),i=r(Jr(VW,{clsPrefix:n,onClick:this.handleSwitchNext},{default:h6}),"tipNext"),l=r(Jr(VW,{clsPrefix:n,onClick:this.rotateCounterclockwise},{default:()=>Jr(_V,null)}),"tipCounterclockwise"),s=r(Jr(VW,{clsPrefix:n,onClick:this.rotateClockwise},{default:()=>Jr(yV,null)}),"tipClockwise"),d=r(Jr(VW,{clsPrefix:n,onClick:this.resizeToOrignalImageSize},{default:()=>Jr(gV,null)}),"tipOriginalSize"),c=r(Jr(VW,{clsPrefix:n,onClick:this.zoomOut},{default:()=>Jr(FV,null)}),"tipZoomOut"),u=r(Jr(VW,{clsPrefix:n,onClick:this.handleDownloadClick},{default:()=>Jr(aV,null)}),"tipDownload"),h=r(Jr(VW,{clsPrefix:n,onClick:this.toggleShow},{default:p6}),"tipClose"),p=r(Jr(VW,{clsPrefix:n,onClick:this.zoomIn},{default:()=>Jr(RV,null)}),"tipZoomIn");return Jr(pr,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),Jr(yI,{show:this.show},{default:()=>{var e;return this.show||this.displayed?(null===(e=this.onRender)||void 0===e||e.call(this),on(Jr("div",{class:[`${n}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},Jr(ha,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?Jr("div",{class:`${n}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?Jr(ha,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?Jr("div",{class:`${n}-image-preview-toolbar`},o?o({nodes:{prev:a,next:i,rotateCounterclockwise:l,rotateClockwise:s,resizeToOriginalSize:d,zoomOut:c,zoomIn:p,download:u,close:h}}):Jr(pr,null,this.onPrev?Jr(pr,null,a,i):null,l,s,d,c,p,u,h)):null}):null,Jr(ha,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:e={}}=this;return on(Jr("div",{class:`${n}-image-preview-wrapper`,ref:"previewWrapperRef"},Jr("img",Object.assign({},e,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${n}-image-preview`,e.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[Ra,this.show]])}})),[[uI,{enabled:this.show}]])):null}}))}}),b6="n-image-group",y6=$n({name:"ImageGroup",props:f6,setup(e){let t;const{mergedClsPrefixRef:n}=fE(e),o=`c${GO()}`,r=Nr(),a=vt(null),i=e=>{var n;t=e,null===(n=a.value)||void 0===n||n.setPreviewSrc(e)};function l(n){var a,l;if(!(null==r?void 0:r.proxy))return;const s=r.proxy.$el.parentElement.querySelectorAll(`[data-group-id=${o}]:not([data-error=true])`);if(!s.length)return;const d=Array.from(s).findIndex((e=>e.dataset.previewSrc===t));i(~d?s[(d+n+s.length)%s.length].dataset.previewSrc:s[0].dataset.previewSrc),1===n?null===(a=e.onPreviewNext)||void 0===a||a.call(e):null===(l=e.onPreviewPrev)||void 0===l||l.call(e)}return To(b6,{mergedClsPrefixRef:n,setPreviewSrc:i,setThumbnailEl:e=>{var t;null===(t=a.value)||void 0===t||t.setThumbnailEl(e)},toggleShow:()=>{var e;null===(e=a.value)||void 0===e||e.toggleShow()},groupId:o,renderToolbarRef:Ft(e,"renderToolbar")}),{mergedClsPrefix:n,previewInstRef:a,next:()=>{l(1)},prev:()=>{l(-1)}}},render(){return Jr(g6,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip,renderToolbar:this.renderToolbar},this.$slots)}}),_6=$n({name:"Image",props:Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},f6),slots:Object,inheritAttrs:!1,setup(e){const t=vt(null),n=vt(!1),o=vt(null),r=Ro(b6,null),{mergedClsPrefixRef:a}=r||fE(e),i={click:()=>{if(e.previewDisabled||n.value)return;const a=e.previewSrc||e.src;if(r)return r.setPreviewSrc(a),r.setThumbnailEl(t.value),void r.toggleShow();const{value:i}=o;i&&(i.setPreviewSrc(a),i.setThumbnailEl(t.value),i.toggleShow())}},l=vt(!e.lazy);Kn((()=>{var e;null===(e=t.value)||void 0===e||e.setAttribute("data-group-id",(null==r?void 0:r.groupId)||"")})),Kn((()=>{if(e.lazy&&e.intersectionObserverOptions){let n;const o=Jo((()=>{null==n||n(),n=void 0,n=eG(t.value,e.intersectionObserverOptions,l)}));Xn((()=>{o(),null==n||n()}))}})),Jo((()=>{var t;e.src||null===(t=e.imgProps)||void 0===t||t.src,n.value=!1}));const s=vt(!1);return To(m6,{previewedImgPropsRef:Ft(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:a,groupId:null==r?void 0:r.groupId,previewInstRef:o,imageRef:t,showError:n,shouldStartLoading:l,loaded:s,mergedOnClick:t=>{var n,o;i.click(),null===(o=null===(n=e.imgProps)||void 0===n?void 0:n.onClick)||void 0===o||o.call(n,t)},mergedOnError:t=>{if(!l.value)return;n.value=!0;const{onError:o,imgProps:{onError:r}={}}=e;null==o||o(t),null==r||r(t)},mergedOnLoad:t=>{const{onLoad:n,imgProps:{onLoad:o}={}}=e;null==n||n(t),null==o||o(t),s.value=!0}},i)},render(){var e,t;const{mergedClsPrefix:n,imgProps:o={},loaded:r,$attrs:a,lazy:i}=this,l=lE(this.$slots.error,(()=>[])),s=null===(t=(e=this.$slots).placeholder)||void 0===t?void 0:t.call(e),d=this.src||o.src,c=this.showError&&l.length?l:Jr("img",Object.assign(Object.assign({},o),{ref:"imageRef",width:this.width||o.width,height:this.height||o.height,src:this.showError?this.fallbackSrc:i&&this.intersectionObserverOptions?this.shouldStartLoading?d:void 0:d,alt:this.alt||o.alt,"aria-label":this.alt||o.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:XY&&i&&!this.intersectionObserverOptions?"lazy":"eager",style:[o.style||"",s&&!r?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return Jr("div",Object.assign({},a,{role:"none",class:[a.class,`${n}-image`,(this.previewDisabled||this.showError)&&`${n}-image--preview-disabled`]}),this.groupId?c:Jr(g6,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:n,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip,renderToolbar:this.renderToolbar},{default:()=>c}),!r&&s)}}),x6=BA([LA("input-number-suffix","\n display: inline-block;\n margin-right: 10px;\n "),LA("input-number-prefix","\n display: inline-block;\n margin-left: 10px;\n ")]);function C6(e){return null==e||"string"==typeof e&&""===e.trim()?null:Number(e)}function w6(e){return null==e||!Number.isNaN(e)}function S6(e,t){return"number"!=typeof e?"":void 0===t?String(e):e.toFixed(t)}function k6(e){if(null===e)return null;if("number"==typeof e)return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const P6=$n({name:"InputNumber",props:Object.assign(Object.assign({},HW.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},round:{type:Boolean,default:void 0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),slots:Object,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=fE(e),r=HW("InputNumber","-input-number",x6,L7,e,n),{localeRef:a}=AW("InputNumber"),i=bE(e),{mergedSizeRef:l,mergedDisabledRef:s,mergedStatusRef:d}=i,c=vt(null),u=vt(null),h=vt(null),p=vt(e.defaultValue),f=xD(Ft(e,"value"),p),m=vt(""),v=e=>{const t=String(e).split(".")[1];return t?t.length:0},g=oD((()=>{const{placeholder:t}=e;return void 0!==t?t:a.value.placeholder})),b=oD((()=>{const t=k6(e.step);return null!==t?0===t?1:Math.abs(t):1})),y=oD((()=>{const t=k6(e.min);return null!==t?t:null})),_=oD((()=>{const t=k6(e.max);return null!==t?t:null})),x=()=>{const{value:t}=f;if(w6(t)){const{format:n,precision:o}=e;n?m.value=n(t):null===t||void 0===o||v(t)>o?m.value=S6(t,void 0):m.value=S6(t,o)}else m.value=String(t)};x();const C=t=>{const{value:n}=f;if(t===n)return void x();const{"onUpdate:value":o,onUpdateValue:r,onChange:a}=e,{nTriggerFormInput:l,nTriggerFormChange:s}=i;a&&GB(a,t),r&&GB(r,t),o&&GB(o,t),p.value=t,l(),s()},w=({offset:t,doUpdateIfValid:n,fixPrecision:o,isInputing:r})=>{const{value:a}=m;if(r&&((i=a).includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(i)||/^-?\d*$/.test(i))||"-"===i||"-0"===i))return!1;var i;const l=(e.parse||C6)(a);if(null===l)return n&&C(null),null;if(w6(l)){const a=v(l),{precision:i}=e;if(void 0!==i&&i{const n=[e.min,e.max,e.step,t].map((e=>void 0===e?0:v(e)));return Math.max(...n)})(l)));if(w6(s)){const{value:t}=_,{value:o}=y;if(null!==t&&s>t){if(!n||r)return!1;s=t}if(null!==o&&s!1===w({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1}))),k=oD((()=>{const{value:t}=f;if(e.validator&&null===t)return!1;const{value:n}=b;return!1!==w({offset:-n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})})),P=oD((()=>{const{value:t}=f;if(e.validator&&null===t)return!1;const{value:n}=b;return!1!==w({offset:+n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})}));function T(){const{value:t}=P;if(!t)return void B();const{value:n}=f;if(null===n)e.validator||C(M());else{const{value:e}=b;w({offset:e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function R(){const{value:t}=k;if(!t)return void D();const{value:n}=f;if(null===n)e.validator||C(M());else{const{value:e}=b;w({offset:-e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const F=function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=i;n&&GB(n,t),o()},z=function(t){var n,o;if(t.target===(null===(n=c.value)||void 0===n?void 0:n.wrapperElRef))return;const r=w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==r){const e=null===(o=c.value)||void 0===o?void 0:o.inputElRef;e&&(e.value=String(r||"")),f.value===r&&x()}else x();const{onBlur:a}=e,{nTriggerFormBlur:l}=i;a&&GB(a,t),l(),Kt((()=>{x()}))};function M(){if(e.validator)return null;const{value:t}=y,{value:n}=_;return null!==t?Math.max(0,t):null!==n?Math.min(0,n):0}let $=null,A=null,O=null;function D(){O&&(window.clearTimeout(O),O=null),$&&(window.clearInterval($),$=null)}let I=null;function B(){I&&(window.clearTimeout(I),I=null),A&&(window.clearInterval(A),A=null)}er(f,(()=>{x()}));const E={focus:()=>{var e;return null===(e=c.value)||void 0===e?void 0:e.focus()},blur:()=>{var e;return null===(e=c.value)||void 0===e?void 0:e.blur()},select:()=>{var e;return null===(e=c.value)||void 0===e?void 0:e.select()}},L=DW("InputNumber",o,n);return Object.assign(Object.assign({},E),{rtlEnabled:L,inputInstRef:c,minusButtonInstRef:u,addButtonInstRef:h,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:f,mergedPlaceholder:g,displayedValueInvalid:S,mergedSize:l,mergedDisabled:s,displayedValue:m,addable:P,minusable:k,mergedStatus:d,handleFocus:F,handleBlur:z,handleClear:function(t){!function(t){const{onClear:n}=e;n&&GB(n,t)}(t),C(null)},handleMouseDown:function(e){var t,n,o;(null===(t=h.value)||void 0===t?void 0:t.$el.contains(e.target))&&e.preventDefault(),(null===(n=u.value)||void 0===n?void 0:n.$el.contains(e.target))&&e.preventDefault(),null===(o=c.value)||void 0===o||o.activate()},handleAddClick:()=>{A||T()},handleMinusClick:()=>{$||R()},handleAddMousedown:function(){B(),I=window.setTimeout((()=>{A=window.setInterval((()=>{T()}),100)}),800),eD("mouseup",document,B,{once:!0})},handleMinusMousedown:function(){D(),O=window.setTimeout((()=>{$=window.setInterval((()=>{R()}),100)}),800),eD("mouseup",document,D,{once:!0})},handleKeyDown:function(t){var n,o;if("Enter"===t.key){if(t.target===(null===(n=c.value)||void 0===n?void 0:n.wrapperElRef))return;!1!==w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&(null===(o=c.value)||void 0===o||o.deactivate())}else if("ArrowUp"===t.key){if(!P.value)return;if(!1===e.keyboard.ArrowUp)return;t.preventDefault();!1!==w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&T()}else if("ArrowDown"===t.key){if(!k.value)return;if(!1===e.keyboard.ArrowDown)return;t.preventDefault();!1!==w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&R()}},handleUpdateDisplayedValue:function(t){m.value=t,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||w({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})},mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:Qr((()=>{const{self:{iconColorDisabled:e}}=r.value,[t,n,o,a]=MO(e);return{textColorTextDisabled:`rgb(${t}, ${n}, ${o})`,opacityDisabled:`${a}`}}))})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>Jr(kG,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>lE(t["minus-icon"],(()=>[Jr(VW,{clsPrefix:e},{default:()=>Jr(vV,null)})]))}),o=()=>Jr(kG,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>lE(t["add-icon"],(()=>[Jr(VW,{clsPrefix:e},{default:()=>Jr(qW,null)})]))});return Jr("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},Jr(BY,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var o;return this.showButton&&"both"===this.buttonPlacement?[n(),dE(t.prefix,(t=>t?Jr("span",{class:`${e}-input-number-prefix`},t):null))]:null===(o=t.prefix)||void 0===o?void 0:o.call(t)},suffix:()=>{var r;return this.showButton?[dE(t.suffix,(t=>t?Jr("span",{class:`${e}-input-number-suffix`},t):null)),"right"===this.buttonPlacement?n():null,o()]:null===(r=t.suffix)||void 0===r?void 0:r.call(t)}}))}}),T6={extraFontSize:"12px",width:"440px"},R6={name:"Transfer",common:KU,peers:{Checkbox:vQ,Scrollbar:Hq,Input:FY,Empty:_K,Button:CG},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:a,fontSizeSmall:i,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:c,inputColor:u,tableHeaderColor:h,textColor1:p,textColorDisabled:f,textColor2:m,hoverColor:v}=e;return Object.assign(Object.assign({},T6),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:r,borderRadius:c,borderColor:"#0000",listColor:u,headerColor:h,titleTextColor:p,titleTextColorDisabled:f,extraTextColor:m,filterDividerColor:"#0000",itemTextColor:m,itemTextColorDisabled:f,itemColorPending:v,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}};const F6={name:"Transfer",common:Eq,peers:{Checkbox:mQ,Scrollbar:Nq,Input:zY,Empty:yK,Button:xG},self:function(e){const{fontWeight:t,iconColorDisabled:n,iconColor:o,fontSizeLarge:r,fontSizeMedium:a,fontSizeSmall:i,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:c,cardColor:u,tableHeaderColor:h,textColor1:p,textColorDisabled:f,textColor2:m,borderColor:v,hoverColor:g}=e;return Object.assign(Object.assign({},T6),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:r,borderRadius:c,borderColor:v,listColor:u,headerColor:OO(u,h),titleTextColor:p,titleTextColorDisabled:f,extraTextColor:m,filterDividerColor:v,itemTextColor:m,itemTextColorDisabled:f,itemColorPending:g,titleFontWeight:t,iconColor:o,iconColorDisabled:n})}};function z6(){return{}}const M6={name:"Marquee",common:Eq,self:z6},$6={name:"Marquee",common:KU,self:z6},A6=BA([LA("mention","width: 100%; z-index: auto; position: relative;"),LA("mention-menu","\n box-shadow: var(--n-menu-box-shadow);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]);const O6=$n({name:"Mention",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,autosize:[Boolean,Object],options:{type:Array,default:[]},filter:{type:Function,default:(e,t)=>!e||("string"==typeof t.label?t.label.startsWith(e):"string"==typeof t.value&&t.value.startsWith(e))},type:{type:String,default:"text"},separator:{type:String,validator:e=>1===e.length,default:" "},bordered:{type:Boolean,default:void 0},disabled:Boolean,value:String,defaultValue:{type:String,default:""},loading:Boolean,prefix:{type:[String,Array],default:"@"},placeholder:{type:String,default:""},placement:{type:String,default:"bottom-start"},size:String,renderLabel:Function,status:String,"onUpdate:show":[Array,Function],onUpdateShow:[Array,Function],"onUpdate:value":[Array,Function],onUpdateValue:[Array,Function],onSearch:Function,onSelect:Function,onFocus:Function,onBlur:Function,internalDebug:Boolean}),slots:Object,setup(e){const{namespaceRef:t,mergedClsPrefixRef:n,mergedBorderedRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Mention","-mention",A6,X7,e,n),i=bE(e),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt("");let h=null,p=null,f=null;const m=Qr((()=>{const{value:t}=u;return e.options.filter((n=>e.filter(t,n)))})),v=Qr((()=>vK(m.value,{getKey:e=>e.value}))),g=vt(null),b=vt(!1),y=vt(e.defaultValue),_=xD(Ft(e,"value"),y),x=Qr((()=>{const{self:{menuBoxShadow:e}}=a.value;return{"--n-menu-box-shadow":e}})),C=r?vE("mention",void 0,x,e):void 0;function w(t){if(e.disabled)return;const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),t||(h=null,p=null,f=null),b.value=t}function S(t){const{onUpdateValue:n,"onUpdate:value":o}=e,{nTriggerFormChange:r,nTriggerFormInput:a}=i;o&&GB(o,t),n&&GB(n,t),a(),r(),y.value=t}function k(){return"text"===e.type?l.value.inputElRef:l.value.textareaElRef}function P(){var t;const n=k();if(document.activeElement!==n)return void w(!1);const{selectionEnd:o}=n;if(null===o)return void w(!1);const r=n.value,{separator:a}=e,{prefix:i}=e,l="string"==typeof i?[i]:i;for(let s=o-1;s>=0;--s){const n=r[s];if(n===a||"\n"===n||"\r"===n)return void w(!1);if(l.includes(n)){const a=r.slice(s+1,o);return w(!0),null===(t=e.onSearch)||void 0===t||t.call(e,a,n),u.value=a,h=n,p=s+1,void(f=o)}}w(!1)}function T(){const{value:e}=s;if(!e)return;const t=k(),n=function(e,t={debug:!1,useSelectionEnd:!1,checkWidthOverflow:!0}){const n=null!==e.selectionStart?e.selectionStart:0,o=null!==e.selectionEnd?e.selectionEnd:0,r=t.useSelectionEnd?o:n,a=navigator.userAgent.toLowerCase().includes("firefox");if(!ED)throw new Error("textarea-caret-position#getCaretPosition should only be called in a browser");const i=null==t?void 0:t.debug;if(i){const e=document.querySelector("#input-textarea-caret-position-mirror-div");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}const l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);const s=l.style,d=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,c="INPUT"===e.nodeName;s.whiteSpace=c?"nowrap":"pre-wrap",c||(s.wordWrap="break-word"),s.position="absolute",i||(s.visibility="hidden"),["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"].forEach((e=>{if(c&&"lineHeight"===e)if("border-box"===d.boxSizing){const e=Number.parseInt(d.height),t=Number.parseInt(d.paddingTop)+Number.parseInt(d.paddingBottom)+Number.parseInt(d.borderTopWidth)+Number.parseInt(d.borderBottomWidth),n=t+Number.parseInt(d.lineHeight);s.lineHeight=e>n?e-t+"px":e===n?d.lineHeight:"0"}else s.lineHeight=d.height;else s[e]=d[e]})),a?e.scrollHeight>Number.parseInt(d.height)&&(s.overflowY="scroll"):s.overflow="hidden",l.textContent=e.value.substring(0,r),c&&l.textContent&&(l.textContent=l.textContent.replace(/\s/g," "));const u=document.createElement("span");u.textContent=e.value.substring(r)||".",u.style.position="relative",u.style.left=-e.scrollLeft+"px",u.style.top=-e.scrollTop+"px",l.appendChild(u);const h={top:u.offsetTop+Number.parseInt(d.borderTopWidth),left:u.offsetLeft+Number.parseInt(d.borderLeftWidth),absolute:!1,height:1.5*Number.parseInt(d.fontSize)};return i?u.style.backgroundColor="#aaa":document.body.removeChild(l),h.left>=e.clientWidth&&t.checkWidthOverflow&&(h.left=e.clientWidth),h}(t),o=t.getBoundingClientRect(),r=c.value.getBoundingClientRect();e.style.left=n.left+o.left-r.left+"px",e.style.top=n.top+o.top-r.top+"px",e.style.height=`${n.height}px`}function R(){var e;b.value&&(null===(e=d.value)||void 0===e||e.syncPosition())}function F(){setTimeout((()=>{T(),P(),Kt().then(R)}),0)}function z(t){var n;if(null===h||null===p||null===f)return;const{rawNode:{value:o=""}}=t,r=k(),a=r.value,{separator:i}=e,l=a.slice(f),s=l.startsWith(i),d=`${o}${s?"":i}`;S(a.slice(0,p)+d+l),null===(n=e.onSelect)||void 0===n||n.call(e,t.rawNode,h);const c=p+d.length+(s?1:0);Kt().then((()=>{r.selectionStart=c,r.selectionEnd=c,P()}))}return{namespace:t,mergedClsPrefix:n,mergedBordered:o,mergedSize:i.mergedSizeRef,mergedStatus:i.mergedStatusRef,mergedTheme:a,treeMate:v,selectMenuInstRef:g,inputInstRef:l,cursorRef:s,followerRef:d,wrapperElRef:c,showMenu:b,adjustedTo:ID(e),isMounted:CD(),mergedValue:_,handleInputFocus:function(t){const{onFocus:n}=e;null==n||n(t);const{nTriggerFormFocus:o}=i;o(),F()},handleInputBlur:function(t){const{onBlur:n}=e;null==n||n(t);const{nTriggerFormBlur:o}=i;o(),w(!1)},handleInputUpdateValue:function(e){S(e),F()},handleInputKeyDown:function(e){var t,n;if("ArrowLeft"===e.key||"ArrowRight"===e.key){if(null===(t=l.value)||void 0===t?void 0:t.isCompositing)return;F()}else if("ArrowUp"===e.key||"ArrowDown"===e.key||"Enter"===e.key){if(null===(n=l.value)||void 0===n?void 0:n.isCompositing)return;const{value:t}=g;if(b.value){if(t)if(e.preventDefault(),"ArrowUp"===e.key)t.prev();else if("ArrowDown"===e.key)t.next();else{const e=t.getPendingTmNode();e?z(e):w(!1)}}else F()}},handleSelect:z,handleInputMouseDown:function(){e.disabled||F()},focus:function(){var e;null===(e=l.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=l.value)||void 0===e||e.blur()},cssVars:r?void 0:x,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender}},render(){const{mergedTheme:e,mergedClsPrefix:t,$slots:n}=this;return Jr("div",{class:`${t}-mention`,ref:"wrapperElRef"},Jr(BY,{status:this.mergedStatus,themeOverrides:e.peerOverrides.Input,theme:e.peers.Input,size:this.mergedSize,autosize:this.autosize,type:this.type,ref:"inputInstRef",placeholder:this.placeholder,onMousedown:this.handleInputMouseDown,onUpdateValue:this.handleInputUpdateValue,onKeydown:this.handleInputKeyDown,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,bordered:this.mergedBordered,disabled:this.disabled,value:this.mergedValue}),Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{style:{position:"absolute",width:0},ref:"cursorRef"})}),Jr(FI,{ref:"followerRef",placement:this.placement,show:this.showMenu,containerClass:this.namespace,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>{const{mergedTheme:e,onRender:o}=this;return null==o||o(),this.showMenu?Jr(AK,{clsPrefix:t,theme:e.peers.InternalSelectMenu,themeOverrides:e.peerOverrides.InternalSelectMenu,autoPending:!0,ref:"selectMenuInstRef",class:[`${t}-mention-menu`,this.themeClass],loading:this.loading,treeMate:this.treeMate,virtualScroll:!1,style:this.cssVars,onToggle:this.handleSelect,renderLabel:this.renderLabel},n):null}})})]}))}}),D6={success:Jr(CV,null),error:Jr(lV,null),warning:Jr(TV,null),info:Jr(fV,null)},I6=$n({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:[String,Object],railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(t,n,o,r){const{gapDegree:a,viewBoxWidth:i,strokeWidth:l}=e,s=50,d=50+l/2,c=`M ${d},${d} m 0,50\n a 50,50 0 1 1 0,-100\n a 50,50 0 1 1 0,100`,u=2*Math.PI*s;return{pathString:c,pathStyle:{stroke:"rail"===r?o:"object"==typeof e.fillColor?"url(#gradient)":o,strokeDasharray:`${t/100*(u-a)}px ${8*i}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:n?"center":void 0,transform:n?`rotate(${n}deg)`:void 0}}}return()=>{const{fillColor:o,railColor:r,strokeWidth:a,offsetDegree:i,status:l,percentage:s,showIndicator:d,indicatorTextColor:c,unit:u,gapOffsetDegree:h,clsPrefix:p}=e,{pathString:f,pathStyle:m}=n(100,0,r,"rail"),{pathString:v,pathStyle:g}=n(s,i,o,"fill"),b=100+a;return Jr("div",{class:`${p}-progress-content`,role:"none"},Jr("div",{class:`${p}-progress-graph`,"aria-hidden":!0},Jr("div",{class:`${p}-progress-graph-circle`,style:{transform:h?`rotate(${h}deg)`:void 0}},Jr("svg",{viewBox:`0 0 ${b} ${b}`},(()=>{const t="object"==typeof e.fillColor,n=t?e.fillColor.stops[0]:"",o=t?e.fillColor.stops[1]:"";return t&&Jr("defs",null,Jr("linearGradient",{id:"gradient",x1:"0%",y1:"100%",x2:"100%",y2:"0%"},Jr("stop",{offset:"0%","stop-color":n}),Jr("stop",{offset:"100%","stop-color":o})))})(),Jr("g",null,Jr("path",{class:`${p}-progress-graph-circle-rail`,d:f,"stroke-width":a,"stroke-linecap":"round",fill:"none",style:m})),Jr("g",null,Jr("path",{class:[`${p}-progress-graph-circle-fill`,0===s&&`${p}-progress-graph-circle-fill--empty`],d:v,"stroke-width":a,"stroke-linecap":"round",fill:"none",style:g}))))),d?Jr("div",null,t.default?Jr("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):"default"!==l?Jr("div",{class:`${p}-progress-icon`,"aria-hidden":!0},Jr(VW,{clsPrefix:p},{default:()=>D6[l]})):Jr("div",{class:`${p}-progress-text`,style:{color:c},role:"none"},Jr("span",{class:`${p}-progress-text__percentage`},s),Jr("span",{class:`${p}-progress-text__unit`},u))):null)}}}),B6={success:Jr(CV,null),error:Jr(lV,null),warning:Jr(TV,null),info:Jr(fV,null)},E6=$n({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:[String,Object],status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=Qr((()=>LB(e.height))),o=Qr((()=>{var t,n;return"object"==typeof e.fillColor?`linear-gradient(to right, ${null===(t=e.fillColor)||void 0===t?void 0:t.stops[0]} , ${null===(n=e.fillColor)||void 0===n?void 0:n.stops[1]})`:e.fillColor})),r=Qr((()=>void 0!==e.railBorderRadius?LB(e.railBorderRadius):void 0!==e.height?LB(e.height,{c:.5}):"")),a=Qr((()=>void 0!==e.fillBorderRadius?LB(e.fillBorderRadius):void 0!==e.railBorderRadius?LB(e.railBorderRadius):void 0!==e.height?LB(e.height,{c:.5}):""));return()=>{const{indicatorPlacement:i,railColor:l,railStyle:s,percentage:d,unit:c,indicatorTextColor:u,status:h,showIndicator:p,processing:f,clsPrefix:m}=e;return Jr("div",{class:`${m}-progress-content`,role:"none"},Jr("div",{class:`${m}-progress-graph`,"aria-hidden":!0},Jr("div",{class:[`${m}-progress-graph-line`,{[`${m}-progress-graph-line--indicator-${i}`]:!0}]},Jr("div",{class:`${m}-progress-graph-line-rail`,style:[{backgroundColor:l,height:n.value,borderRadius:r.value},s]},Jr("div",{class:[`${m}-progress-graph-line-fill`,f&&`${m}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,background:o.value,height:n.value,lineHeight:n.value,borderRadius:a.value}},"inside"===i?Jr("div",{class:`${m}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${d}${c}`):null)))),p&&"outside"===i?Jr("div",null,t.default?Jr("div",{class:`${m}-progress-custom-content`,style:{color:u},role:"none"},t.default()):"default"===h?Jr("div",{role:"none",class:`${m}-progress-icon ${m}-progress-icon--as-text`,style:{color:u}},d,c):Jr("div",{class:`${m}-progress-icon`,"aria-hidden":!0},Jr(VW,{clsPrefix:m},{default:()=>B6[h]}))):null)}}});function L6(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const j6=$n({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=Qr((()=>e.percentage.map(((t,n)=>`${Math.PI*t/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*n)-e.circleGap*n)*2}, ${8*e.viewBoxWidth}`))));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:a,showIndicator:i,fillColor:l,railColor:s,railStyle:d,percentage:c,clsPrefix:u}=e;return Jr("div",{class:`${u}-progress-content`,role:"none"},Jr("div",{class:`${u}-progress-graph`,"aria-hidden":!0},Jr("div",{class:`${u}-progress-graph-circle`},Jr("svg",{viewBox:`0 0 ${o} ${o}`},Jr("defs",null,c.map(((t,n)=>((t,n)=>{const o=e.fillColor[n],r="object"==typeof o?o.stops[0]:"",a="object"==typeof o?o.stops[1]:"";return"object"==typeof e.fillColor[n]&&Jr("linearGradient",{id:`gradient-${n}`,x1:"100%",y1:"0%",x2:"0%",y2:"100%"},Jr("stop",{offset:"0%","stop-color":r}),Jr("stop",{offset:"100%","stop-color":a}))})(0,n)))),c.map(((e,t)=>Jr("g",{key:t},Jr("path",{class:`${u}-progress-graph-circle-rail`,d:L6(o/2-r/2*(1+2*t)-a*t,0,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:s[t]},d[t]]}),Jr("path",{class:[`${u}-progress-graph-circle-fill`,0===e&&`${u}-progress-graph-circle-fill--empty`],d:L6(o/2-r/2*(1+2*t)-a*t,0,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[t],strokeDashoffset:0,stroke:"object"==typeof l[t]?`url(#gradient-${t})`:l[t]}}))))))),i&&t.default?Jr("div",null,Jr("div",{class:`${u}-progress-text`},t.default())):null)}}}),N6=BA([LA("progress",{display:"inline-block"},[LA("progress-icon","\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n "),NA("line","\n width: 100%;\n display: block;\n ",[LA("progress-content","\n display: flex;\n align-items: center;\n ",[LA("progress-graph",{flex:1})]),LA("progress-custom-content",{marginLeft:"14px"}),LA("progress-icon","\n width: 30px;\n padding-left: 14px;\n height: var(--n-icon-size-line);\n line-height: var(--n-icon-size-line);\n font-size: var(--n-icon-size-line);\n ",[NA("as-text","\n color: var(--n-text-color-line-outer);\n text-align: center;\n width: 40px;\n font-size: var(--n-font-size);\n padding-left: 4px;\n transition: color .3s var(--n-bezier);\n ")])]),NA("circle, dashboard",{width:"120px"},[LA("progress-custom-content","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n "),LA("progress-text","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n color: inherit;\n font-size: var(--n-font-size-circle);\n color: var(--n-text-color-circle);\n font-weight: var(--n-font-weight-circle);\n transition: color .3s var(--n-bezier);\n white-space: nowrap;\n "),LA("progress-icon","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n color: var(--n-icon-color);\n font-size: var(--n-icon-size-circle);\n ")]),NA("multiple-circle","\n width: 200px;\n color: inherit;\n ",[LA("progress-text","\n font-weight: var(--n-font-weight-circle);\n color: var(--n-text-color-circle);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n transition: color .3s var(--n-bezier);\n ")]),LA("progress-content",{position:"relative"}),LA("progress-graph",{position:"relative"},[LA("progress-graph-circle",[BA("svg",{verticalAlign:"bottom"}),LA("progress-graph-circle-fill","\n stroke: var(--n-fill-color);\n transition:\n opacity .3s var(--n-bezier),\n stroke .3s var(--n-bezier),\n stroke-dasharray .3s var(--n-bezier);\n ",[NA("empty",{opacity:0})]),LA("progress-graph-circle-rail","\n transition: stroke .3s var(--n-bezier);\n overflow: hidden;\n stroke: var(--n-rail-color);\n ")]),LA("progress-graph-line",[NA("indicator-inside",[LA("progress-graph-line-rail","\n height: 16px;\n line-height: 16px;\n border-radius: 10px;\n ",[LA("progress-graph-line-fill","\n height: inherit;\n border-radius: 10px;\n "),LA("progress-graph-line-indicator","\n background: #0000;\n white-space: nowrap;\n text-align: right;\n margin-left: 14px;\n margin-right: 14px;\n height: inherit;\n font-size: 12px;\n color: var(--n-text-color-line-inner);\n transition: color .3s var(--n-bezier);\n ")])]),NA("indicator-inside-label","\n height: 16px;\n display: flex;\n align-items: center;\n ",[LA("progress-graph-line-rail","\n flex: 1;\n transition: background-color .3s var(--n-bezier);\n "),LA("progress-graph-line-indicator","\n background: var(--n-fill-color);\n font-size: 12px;\n transform: translateZ(0);\n display: flex;\n vertical-align: middle;\n height: 16px;\n line-height: 16px;\n padding: 0 10px;\n border-radius: 10px;\n position: absolute;\n white-space: nowrap;\n color: var(--n-text-color-line-inner);\n transition:\n right .2s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),LA("progress-graph-line-rail","\n position: relative;\n overflow: hidden;\n height: var(--n-rail-height);\n border-radius: 5px;\n background-color: var(--n-rail-color);\n transition: background-color .3s var(--n-bezier);\n ",[LA("progress-graph-line-fill","\n background: var(--n-fill-color);\n position: relative;\n border-radius: 5px;\n height: inherit;\n width: 100%;\n max-width: 0%;\n transition:\n background-color .3s var(--n-bezier),\n max-width .2s var(--n-bezier);\n ",[NA("processing",[BA("&::after",'\n content: "";\n background-image: var(--n-line-bg-processing);\n animation: progress-processing-animation 2s var(--n-bezier) infinite;\n ')])])])])])]),BA("@keyframes progress-processing-animation","\n 0% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 100%;\n opacity: 1;\n }\n 66% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 0;\n }\n 100% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 0;\n }\n ")]),H6=$n({name:"Progress",props:Object.assign(Object.assign({},HW.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array,Object],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),setup(e){const t=Qr((()=>e.indicatorPlacement||e.indicatorPosition)),n=Qr((()=>e.gapDegree||0===e.gapDegree?e.gapDegree:"dashboard"===e.type?75:void 0)),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Progress","-progress",N6,d5,e,o),i=Qr((()=>{const{status:t}=e,{common:{cubicBezierEaseInOut:n},self:{fontSize:o,fontSizeCircle:r,railColor:i,railHeight:l,iconSizeCircle:s,iconSizeLine:d,textColorCircle:c,textColorLineInner:u,textColorLineOuter:h,lineBgProcessing:p,fontWeightCircle:f,[KA("iconColor",t)]:m,[KA("fillColor",t)]:v}}=a.value;return{"--n-bezier":n,"--n-fill-color":v,"--n-font-size":o,"--n-font-size-circle":r,"--n-font-weight-circle":f,"--n-icon-color":m,"--n-icon-size-circle":s,"--n-icon-size-line":d,"--n-line-bg-processing":p,"--n-rail-color":i,"--n-rail-height":l,"--n-text-color-circle":c,"--n-text-color-line-inner":u,"--n-text-color-line-outer":h}})),l=r?vE("progress",Qr((()=>e.status[0])),i,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:i,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:a,railStyle:i,color:l,percentage:s,viewBoxWidth:d,strokeWidth:c,mergedIndicatorPlacement:u,unit:h,borderRadius:p,fillBorderRadius:f,height:m,processing:v,circleGap:g,mergedClsPrefix:b,gapDeg:y,gapOffsetDegree:_,themeClass:x,$slots:C,onRender:w}=this;return null==w||w(),Jr("div",{class:[x,`${b}-progress`,`${b}-progress--${e}`,`${b}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":s,role:"circle"===e||"line"===e||"dashboard"===e?"progressbar":"none"},"circle"===e||"dashboard"===e?Jr(I6,{clsPrefix:b,status:r,showIndicator:o,indicatorTextColor:n,railColor:a,fillColor:l,railStyle:i,offsetDegree:this.offsetDegree,percentage:s,viewBoxWidth:d,strokeWidth:c,gapDegree:void 0===y?"dashboard"===e?75:0:y,gapOffsetDegree:_,unit:h},C):"line"===e?Jr(E6,{clsPrefix:b,status:r,showIndicator:o,indicatorTextColor:n,railColor:a,fillColor:l,railStyle:i,percentage:s,processing:v,indicatorPlacement:u,unit:h,fillBorderRadius:f,railBorderRadius:p,height:m},C):"multiple-circle"===e?Jr(j6,{clsPrefix:b,strokeWidth:c,railColor:a,fillColor:l,railStyle:i,viewBoxWidth:d,percentage:s,showIndicator:o,circleGap:g},C):null)}}),W6={name:"QrCode",common:KU,self:e=>({borderRadius:e.borderRadius})};const V6={name:"QrCode",common:Eq,self:function(e){return{borderRadius:e.borderRadius}}},U6=()=>Jr("svg",{viewBox:"0 0 512 512"},Jr("path",{d:"M394 480a16 16 0 01-9.39-3L256 383.76 127.39 477a16 16 0 01-24.55-18.08L153 310.35 23 221.2a16 16 0 019-29.2h160.38l48.4-148.95a16 16 0 0130.44 0l48.4 149H480a16 16 0 019.05 29.2L359 310.35l50.13 148.53A16 16 0 01394 480z"})),q6=LA("rate",{display:"inline-flex",flexWrap:"nowrap"},[BA("&:hover",[jA("item","\n transition:\n transform .1s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),jA("item","\n position: relative;\n display: flex;\n transition:\n transform .1s var(--n-bezier),\n color .3s var(--n-bezier);\n transform: scale(1);\n font-size: var(--n-item-size);\n color: var(--n-item-color);\n ",[BA("&:not(:first-child)","\n margin-left: 6px;\n "),NA("active","\n color: var(--n-item-color-active);\n ")]),HA("readonly","\n cursor: pointer;\n ",[jA("item",[BA("&:hover","\n transform: scale(1.05);\n "),BA("&:active","\n transform: scale(0.96);\n ")])]),jA("half","\n display: flex;\n transition: inherit;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 50%;\n overflow: hidden;\n color: rgba(255, 255, 255, 0);\n ",[NA("active","\n color: var(--n-item-color-active);\n ")])]),K6=$n({name:"Rate",props:Object.assign(Object.assign({},HW.props),{allowHalf:Boolean,count:{type:Number,default:5},value:Number,defaultValue:{type:Number,default:null},readonly:Boolean,size:{type:[String,Number],default:"medium"},clearable:Boolean,color:String,onClear:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Rate","-rate",q6,h5,e,t),r=Ft(e,"value"),a=vt(e.defaultValue),i=vt(null),l=bE(e),s=xD(r,a);function d(t){const{"onUpdate:value":n,onUpdateValue:o}=e,{nTriggerFormChange:r,nTriggerFormInput:i}=l;n&&GB(n,t),o&&GB(o,t),a.value=t,r(),i()}function c(t,n){return e.allowHalf?n.offsetX>=Math.floor(n.currentTarget.offsetWidth/2)?t+1:t+.5:t+1}let u=!1;const h=Qr((()=>{const{size:t}=e,{self:n}=o.value;return"number"==typeof t?`${t}px`:n[KA("size",t)]})),p=Qr((()=>{const{common:{cubicBezierEaseInOut:t},self:n}=o.value,{itemColor:r,itemColorActive:a}=n,{color:i}=e;return{"--n-bezier":t,"--n-item-color":r,"--n-item-color-active":i||a,"--n-item-size":h.value}})),f=n?vE("rate",Qr((()=>{const t=h.value,{color:n}=e;let o="";return t&&(o+=t[0]),n&&(o+=IB(n)),o})),p,e):void 0;return{mergedClsPrefix:t,mergedValue:s,hoverIndex:i,handleMouseMove:function(e,t){u||(i.value=c(e,t))},handleClick:function(t,n){var o;const{clearable:r}=e,a=c(t,n);r&&a===s.value?(u=!0,null===(o=e.onClear)||void 0===o||o.call(e),i.value=null,d(null)):d(a)},handleMouseLeave:function(){i.value=null},handleMouseEnterSomeStar:function(){u=!1},cssVars:n?void 0:p,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{readonly:e,hoverIndex:t,mergedValue:n,mergedClsPrefix:o,onRender:r,$slots:{default:a}}=this;return null==r||r(),Jr("div",{class:[`${o}-rate`,{[`${o}-rate--readonly`]:e},this.themeClass],style:this.cssVars,onMouseleave:this.handleMouseLeave},function(e,t,n){let o;const r=n,a=p(e);if(a||v(e)){let n=!1,i=!1;a&<(e)&&(n=!dt(e),i=st(e),e=Te(e)),o=new Array(e.length);for(let a=0,l=e.length;at(e,n,void 0,r)));else{const n=Object.keys(e);o=new Array(n.length);for(let a=0,i=n.length;a{const l=a?a({index:i}):Jr(VW,{clsPrefix:o},{default:U6}),s=null!==t?i+1<=t:i+1<=(n||0);return Jr("div",{key:i,class:[`${o}-rate__item`,s&&`${o}-rate__item--active`],onClick:e?void 0:e=>{this.handleClick(i,e)},onMouseenter:this.handleMouseEnterSomeStar,onMousemove:e?void 0:e=>{this.handleMouseMove(i,e)}},l,this.allowHalf?Jr("div",{class:[`${o}-rate__half`,{[`${o}-rate__half--active`]:s||null===t?i+.5<=(n||0):i+.5<=t}]},l):null)})))}}),Y6={name:"Skeleton",common:KU,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}};const G6={name:"Skeleton",common:Eq,self:function(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}},X6=BA([LA("slider","\n display: block;\n padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;\n position: relative;\n z-index: 0;\n width: 100%;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n ",[NA("reverse",[LA("slider-handles",[LA("slider-handle-wrapper","\n transform: translate(50%, -50%);\n ")]),LA("slider-dots",[LA("slider-dot","\n transform: translateX(50%, -50%);\n ")]),NA("vertical",[LA("slider-handles",[LA("slider-handle-wrapper","\n transform: translate(-50%, -50%);\n ")]),LA("slider-marks",[LA("slider-mark","\n transform: translateY(calc(-50% + var(--n-dot-height) / 2));\n ")]),LA("slider-dots",[LA("slider-dot","\n transform: translateX(-50%) translateY(0);\n ")])])]),NA("vertical","\n box-sizing: content-box;\n padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);\n width: var(--n-rail-width-vertical);\n height: 100%;\n ",[LA("slider-handles","\n top: calc(var(--n-handle-size) / 2);\n right: 0;\n bottom: calc(var(--n-handle-size) / 2);\n left: 0;\n ",[LA("slider-handle-wrapper","\n top: unset;\n left: 50%;\n transform: translate(-50%, 50%);\n ")]),LA("slider-rail","\n height: 100%;\n ",[jA("fill","\n top: unset;\n right: 0;\n bottom: unset;\n left: 0;\n ")]),NA("with-mark","\n width: var(--n-rail-width-vertical);\n margin: 0 32px 0 8px;\n "),LA("slider-marks","\n top: calc(var(--n-handle-size) / 2);\n right: unset;\n bottom: calc(var(--n-handle-size) / 2);\n left: 22px;\n font-size: var(--n-mark-font-size);\n ",[LA("slider-mark","\n transform: translateY(50%);\n white-space: nowrap;\n ")]),LA("slider-dots","\n top: calc(var(--n-handle-size) / 2);\n right: unset;\n bottom: calc(var(--n-handle-size) / 2);\n left: 50%;\n ",[LA("slider-dot","\n transform: translateX(-50%) translateY(50%);\n ")])]),NA("disabled","\n cursor: not-allowed;\n opacity: var(--n-opacity-disabled);\n ",[LA("slider-handle","\n cursor: not-allowed;\n ")]),NA("with-mark","\n width: 100%;\n margin: 8px 0 32px 0;\n "),BA("&:hover",[LA("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[jA("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),LA("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),NA("active",[LA("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[jA("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),LA("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),LA("slider-marks","\n position: absolute;\n top: 18px;\n left: calc(var(--n-handle-size) / 2);\n right: calc(var(--n-handle-size) / 2);\n ",[LA("slider-mark","\n position: absolute;\n transform: translateX(-50%);\n white-space: nowrap;\n ")]),LA("slider-rail","\n width: 100%;\n position: relative;\n height: var(--n-rail-height);\n background-color: var(--n-rail-color);\n transition: background-color .3s var(--n-bezier);\n border-radius: calc(var(--n-rail-height) / 2);\n ",[jA("fill","\n position: absolute;\n top: 0;\n bottom: 0;\n border-radius: calc(var(--n-rail-height) / 2);\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-fill-color);\n ")]),LA("slider-handles","\n position: absolute;\n top: 0;\n right: calc(var(--n-handle-size) / 2);\n bottom: 0;\n left: calc(var(--n-handle-size) / 2);\n ",[LA("slider-handle-wrapper","\n outline: none;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n cursor: pointer;\n display: flex;\n ",[LA("slider-handle","\n height: var(--n-handle-size);\n width: var(--n-handle-size);\n border-radius: 50%;\n overflow: hidden;\n transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);\n background-color: var(--n-handle-color);\n box-shadow: var(--n-handle-box-shadow);\n ",[BA("&:hover","\n box-shadow: var(--n-handle-box-shadow-hover);\n ")]),BA("&:focus",[LA("slider-handle","\n box-shadow: var(--n-handle-box-shadow-focus);\n ",[BA("&:hover","\n box-shadow: var(--n-handle-box-shadow-active);\n ")])])])]),LA("slider-dots","\n position: absolute;\n top: 50%;\n left: calc(var(--n-handle-size) / 2);\n right: calc(var(--n-handle-size) / 2);\n ",[NA("transition-disabled",[LA("slider-dot","transition: none;")]),LA("slider-dot","\n transition:\n border-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n position: absolute;\n transform: translate(-50%, -50%);\n height: var(--n-dot-height);\n width: var(--n-dot-width);\n border-radius: var(--n-dot-border-radius);\n overflow: hidden;\n box-sizing: border-box;\n border: var(--n-dot-border);\n background-color: var(--n-dot-color);\n ",[NA("active","border: var(--n-dot-border-active);")])])]),LA("slider-handle-indicator","\n font-size: var(--n-font-size);\n padding: 6px 10px;\n border-radius: var(--n-indicator-border-radius);\n color: var(--n-indicator-text-color);\n background-color: var(--n-indicator-color);\n box-shadow: var(--n-indicator-box-shadow);\n ",[MK()]),LA("slider-handle-indicator","\n font-size: var(--n-font-size);\n padding: 6px 10px;\n border-radius: var(--n-indicator-border-radius);\n color: var(--n-indicator-text-color);\n background-color: var(--n-indicator-color);\n box-shadow: var(--n-indicator-box-shadow);\n ",[NA("top","\n margin-bottom: 12px;\n "),NA("right","\n margin-left: 12px;\n "),NA("bottom","\n margin-top: 12px;\n "),NA("left","\n margin-right: 12px;\n "),MK()]),WA(LA("slider",[LA("slider-dot","background-color: var(--n-dot-color-modal);")])),VA(LA("slider",[LA("slider-dot","background-color: var(--n-dot-color-popover);")]))]);function Z6(e){return window.TouchEvent&&e instanceof window.TouchEvent}function Q6(){const e=new Map;return Yn((()=>{e.clear()})),[e,t=>n=>{e.set(t,n)}]}const J6=$n({name:"Slider",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),slots:Object,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=fE(e),r=HW("Slider","-slider",X6,y5,e,t),a=vt(null),[i,l]=Q6(),[s,d]=Q6(),c=vt(new Set),u=bE(e),{mergedDisabledRef:h}=u,p=Qr((()=>{const{step:t}=e;if(Number(t)<=0||"mark"===t)return 0;const n=t.toString();let o=0;return n.includes(".")&&(o=n.length-n.indexOf(".")-1),o})),f=vt(e.defaultValue),m=xD(Ft(e,"value"),f),v=Qr((()=>{const{value:t}=m;return(e.range?t:[t]).map(O)})),g=Qr((()=>v.value.length>2)),b=Qr((()=>void 0===e.placement?e.vertical?"right":"top":e.placement)),y=Qr((()=>{const{marks:t}=e;return t?Object.keys(t).map(Number.parseFloat):null})),_=vt(-1),x=vt(-1),C=vt(-1),w=vt(!1),S=vt(!1),k=Qr((()=>{const{vertical:t,reverse:n}=e;return t?n?"top":"bottom":n?"right":"left"})),P=Qr((()=>{if(g.value)return;const t=v.value,n=D(e.range?Math.min(...t):e.min),o=D(e.range?Math.max(...t):t[0]),{value:r}=k;return e.vertical?{[r]:`${n}%`,height:o-n+"%"}:{[r]:`${n}%`,width:o-n+"%"}})),T=Qr((()=>{const t=[],{marks:n}=e;if(n){const o=v.value.slice();o.sort(((e,t)=>e-t));const{value:r}=k,{value:a}=g,{range:i}=e,l=a?()=>!1:e=>i?e>=o[0]&&e<=o[o.length-1]:e<=o[0];for(const e of Object.keys(n)){const o=Number(e);t.push({active:l(o),key:o,label:n[e],style:{[r]:`${D(o)}%`}})}}return t}));function R(t){return e.showTooltip||C.value===t||_.value===t&&w.value}function F(){s.forEach(((e,t)=>{R(t)&&e.syncPosition()}))}function z(t){const{"onUpdate:value":n,onUpdateValue:o}=e,{nTriggerFormInput:r,nTriggerFormChange:a}=u;o&&GB(o,t),n&&GB(n,t),f.value=t,r(),a()}function M(t){const{range:n}=e;if(n){if(Array.isArray(t)){const{value:e}=v;t.join()!==e.join()&&z(t)}}else if(!Array.isArray(t)){v.value[0]!==t&&z(t)}}function $(t,n){if(e.range){const e=v.value.slice();e.splice(n,1,t),M(e)}else M(t)}function A(t,n,o){const r=void 0!==o;o||(o=t-n>0?1:-1);const a=y.value||[],{step:i}=e;if("mark"===i){const e=I(t,a.concat(n),r?o:void 0);return e?e.value:n}if(i<=0)return n;const{value:l}=p;let s;if(r){const e=Number((n/i).toFixed(l)),t=Math.floor(e),r=et?t:t-1)*i).toFixed(l)),Number((r*i).toFixed(l)),...a],o)}else{const n=function(t){const{step:n,min:o}=e;if(Number(n)<=0||"mark"===n)return t;const r=Math.round((t-o)/n)*n+o;return Number(r.toFixed(p.value))}(t);s=I(t,[...a,n])}return s?O(s.value):n}function O(t){return Math.min(e.max,Math.max(e.min,t))}function D(t){const{max:n,min:o}=e;return(t-o)/(n-o)*100}function I(e,t=y.value,n){if(!(null==t?void 0:t.length))return null;let o=null,r=-1;for(;++r0)&&(null===o||i0?1:-1),n)}function L(){w.value&&(w.value=!1,e.onDragend&&GB(e.onDragend),tD("touchend",document,N),tD("mouseup",document,N),tD("touchmove",document,j),tD("mousemove",document,j))}function j(e){const{value:t}=_;if(!w.value||-1===t)return void L();const n=B(e);void 0!==n&&$(A(n,v.value[t]),t)}function N(){L()}er(_,((e,t)=>{Kt((()=>x.value=t))})),er(m,(()=>{if(e.marks){if(S.value)return;S.value=!0,Kt((()=>{S.value=!1}))}Kt(F)})),Xn((()=>{L()}));const H=Qr((()=>{const{self:{markFontSize:e,railColor:t,railColorHover:n,fillColor:o,fillColorHover:a,handleColor:i,opacityDisabled:l,dotColor:s,dotColorModal:d,handleBoxShadow:c,handleBoxShadowHover:u,handleBoxShadowActive:h,handleBoxShadowFocus:p,dotBorder:f,dotBoxShadow:m,railHeight:v,railWidthVertical:g,handleSize:b,dotHeight:y,dotWidth:_,dotBorderRadius:x,fontSize:C,dotBorderActive:w,dotColorPopover:S},common:{cubicBezierEaseInOut:k}}=r.value;return{"--n-bezier":k,"--n-dot-border":f,"--n-dot-border-active":w,"--n-dot-border-radius":x,"--n-dot-box-shadow":m,"--n-dot-color":s,"--n-dot-color-modal":d,"--n-dot-color-popover":S,"--n-dot-height":y,"--n-dot-width":_,"--n-fill-color":o,"--n-fill-color-hover":a,"--n-font-size":C,"--n-handle-box-shadow":c,"--n-handle-box-shadow-active":h,"--n-handle-box-shadow-focus":p,"--n-handle-box-shadow-hover":u,"--n-handle-color":i,"--n-handle-size":b,"--n-opacity-disabled":l,"--n-rail-color":t,"--n-rail-color-hover":n,"--n-rail-height":v,"--n-rail-width-vertical":g,"--n-mark-font-size":e}})),W=o?vE("slider",void 0,H,e):void 0,V=Qr((()=>{const{self:{fontSize:e,indicatorColor:t,indicatorBoxShadow:n,indicatorTextColor:o,indicatorBorderRadius:a}}=r.value;return{"--n-font-size":e,"--n-indicator-border-radius":a,"--n-indicator-box-shadow":n,"--n-indicator-color":t,"--n-indicator-text-color":o}})),U=o?vE("slider-indicator",void 0,V,e):void 0;return{mergedClsPrefix:t,namespace:n,uncontrolledValue:f,mergedValue:m,mergedDisabled:h,mergedPlacement:b,isMounted:CD(),adjustedTo:ID(e),dotTransitionDisabled:S,markInfos:T,isShowTooltip:R,shouldKeepTooltipTransition:function(e){return!w.value||!(_.value===e&&x.value===e)},handleRailRef:a,setHandleRefs:l,setFollowerRefs:d,fillStyle:P,getHandleStyle:function(e,t){const n=D(e),{value:o}=k;return{[o]:`${n}%`,zIndex:t===_.value?1:0}},activeIndex:_,arrifiedValues:v,followerEnabledIndexSet:c,handleRailMouseDown:function(t){var n,o;if(h.value)return;if(!Z6(t)&&0!==t.button)return;const r=B(t);if(void 0===r)return;const a=v.value.slice(),l=e.range?null!==(o=null===(n=I(r,a))||void 0===n?void 0:n.index)&&void 0!==o?o:-1:0;-1!==l&&(t.preventDefault(),function(e){var t;~e&&(_.value=e,null===(t=i.get(e))||void 0===t||t.focus())}(l),w.value||(w.value=!0,e.onDragstart&&GB(e.onDragstart),eD("touchend",document,N),eD("mouseup",document,N),eD("touchmove",document,j),eD("mousemove",document,j)),$(A(r,v.value[l]),l))},handleHandleFocus:function(e){_.value=e,h.value||(C.value=e)},handleHandleBlur:function(e){_.value===e&&(_.value=-1,L()),C.value===e&&(C.value=-1)},handleHandleMouseEnter:function(e){C.value=e},handleHandleMouseLeave:function(e){C.value===e&&(C.value=-1)},handleRailKeyDown:function(t){if(h.value||!e.keyboard)return;const{vertical:n,reverse:o}=e;switch(t.key){case"ArrowUp":t.preventDefault(),E(n&&o?-1:1);break;case"ArrowRight":t.preventDefault(),E(!n&&o?-1:1);break;case"ArrowDown":t.preventDefault(),E(n&&o?1:-1);break;case"ArrowLeft":t.preventDefault(),E(!n&&o?1:-1)}},indicatorCssVars:o?void 0:V,indicatorThemeClass:null==U?void 0:U.themeClass,indicatorOnRender:null==U?void 0:U.onRender,cssVars:o?void 0:H,themeClass:null==W?void 0:W.themeClass,onRender:null==W?void 0:W.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:n,formatTooltip:o}=this;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",{class:[`${t}-slider`,n,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:-1!==this.activeIndex,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},Jr("div",{class:`${t}-slider-rail`},Jr("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?Jr("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map((e=>Jr("div",{key:e.key,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:e.active}],style:e.style})))):null,Jr("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map(((e,n)=>{const r=this.isShowTooltip(n);return Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{ref:this.setHandleRefs(n),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,role:"slider","aria-valuenow":e,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-orientation":this.vertical?"vertical":"horizontal","aria-disabled":this.disabled,style:this.getHandleStyle(e,n),onFocus:()=>{this.handleHandleFocus(n)},onBlur:()=>{this.handleHandleBlur(n)},onMouseenter:()=>{this.handleHandleMouseEnter(n)},onMouseleave:()=>{this.handleHandleMouseLeave(n)}},lE(this.$slots.thumb,(()=>[Jr("div",{class:`${t}-slider-handle`})])))}),this.tooltip&&Jr(FI,{ref:this.setFollowerRefs(n),show:r,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(n),teleportDisabled:this.adjustedTo===ID.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(n),onEnter:()=>{this.followerEnabledIndexSet.add(n)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(n)}},{default:()=>{var n;return r?(null===(n=this.indicatorOnRender)||void 0===n||n.call(this),Jr("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},"function"==typeof o?o(e):e)):null}})})]})}))),this.marks?Jr("div",{class:`${t}-slider-marks`},this.markInfos.map((e=>Jr("div",{key:e.key,class:`${t}-slider-mark`,style:e.style},"function"==typeof e.label?e.label():e.label)))):null))}}),e8={name:"Split",common:KU};const t8={name:"Split",common:Eq,self:function(e){const{primaryColorHover:t,borderColor:n}=e;return{resizableTriggerColorHover:t,resizableTriggerColor:n}}},n8=LA("switch","\n height: var(--n-height);\n min-width: var(--n-width);\n vertical-align: middle;\n user-select: none;\n -webkit-user-select: none;\n display: inline-flex;\n outline: none;\n justify-content: center;\n align-items: center;\n",[jA("children-placeholder","\n height: var(--n-rail-height);\n display: flex;\n flex-direction: column;\n overflow: hidden;\n pointer-events: none;\n visibility: hidden;\n "),jA("rail-placeholder","\n display: flex;\n flex-wrap: none;\n "),jA("button-placeholder","\n width: calc(1.75 * var(--n-rail-height));\n height: var(--n-rail-height);\n "),LA("base-loading","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n font-size: calc(var(--n-button-width) - 4px);\n color: var(--n-loading-color);\n transition: color .3s var(--n-bezier);\n ",[MV({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),jA("checked, unchecked","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n box-sizing: border-box;\n position: absolute;\n white-space: nowrap;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n line-height: 1;\n "),jA("checked","\n right: 0;\n padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));\n "),jA("unchecked","\n left: 0;\n justify-content: flex-end;\n padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));\n "),BA("&:focus",[jA("rail","\n box-shadow: var(--n-box-shadow-focus);\n ")]),NA("round",[jA("rail","border-radius: calc(var(--n-rail-height) / 2);",[jA("button","border-radius: calc(var(--n-button-height) / 2);")])]),HA("disabled",[HA("icon",[NA("rubber-band",[NA("pressed",[jA("rail",[jA("button","max-width: var(--n-button-width-pressed);")])]),jA("rail",[BA("&:active",[jA("button","max-width: var(--n-button-width-pressed);")])]),NA("active",[NA("pressed",[jA("rail",[jA("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),jA("rail",[BA("&:active",[jA("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),NA("active",[jA("rail",[jA("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),jA("rail","\n overflow: hidden;\n height: var(--n-rail-height);\n min-width: var(--n-rail-width);\n border-radius: var(--n-rail-border-radius);\n cursor: pointer;\n position: relative;\n transition:\n opacity .3s var(--n-bezier),\n background .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n background-color: var(--n-rail-color);\n ",[jA("button-icon","\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n font-size: calc(var(--n-button-height) - 4px);\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n line-height: 1;\n ",[MV()]),jA("button",'\n align-items: center; \n top: var(--n-offset);\n left: var(--n-offset);\n height: var(--n-button-height);\n width: var(--n-button-width-pressed);\n max-width: var(--n-button-width);\n border-radius: var(--n-button-border-radius);\n background-color: var(--n-button-color);\n box-shadow: var(--n-button-box-shadow);\n box-sizing: border-box;\n cursor: inherit;\n content: "";\n position: absolute;\n transition:\n background-color .3s var(--n-bezier),\n left .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n max-width .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ')]),NA("active",[jA("rail","background-color: var(--n-rail-color-active);")]),NA("loading",[jA("rail","\n cursor: wait;\n ")]),NA("disabled",[jA("rail","\n cursor: not-allowed;\n opacity: .5;\n ")])]);let o8;const r8=$n({name:"Switch",props:Object.assign(Object.assign({},HW.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),slots:Object,setup(e){void 0===o8&&(o8="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Switch","-switch",n8,$5,e,t),r=bE(e),{mergedSizeRef:a,mergedDisabledRef:i}=r,l=vt(e.defaultValue),s=xD(Ft(e,"value"),l),d=Qr((()=>s.value===e.checkedValue)),c=vt(!1),u=vt(!1),h=Qr((()=>{const{railStyle:t}=e;if(t)return t({focused:u.value,checked:d.value})}));function p(t){const{"onUpdate:value":n,onChange:o,onUpdateValue:a}=e,{nTriggerFormInput:i,nTriggerFormChange:s}=r;n&&GB(n,t),a&&GB(a,t),o&&GB(o,t),l.value=t,i(),s()}const f=Qr((()=>{const{value:e}=a,{self:{opacityDisabled:t,railColor:n,railColorActive:r,buttonBoxShadow:i,buttonColor:l,boxShadowFocus:s,loadingColor:d,textColor:c,iconColor:u,[KA("buttonHeight",e)]:h,[KA("buttonWidth",e)]:p,[KA("buttonWidthPressed",e)]:f,[KA("railHeight",e)]:m,[KA("railWidth",e)]:v,[KA("railBorderRadius",e)]:g,[KA("buttonBorderRadius",e)]:b},common:{cubicBezierEaseInOut:y}}=o.value;let _,x,C;return o8?(_=`calc((${m} - ${h}) / 2)`,x=`max(${m}, ${h})`,C=`max(${v}, calc(${v} + ${h} - ${m}))`):(_=nO((tO(m)-tO(h))/2),x=nO(Math.max(tO(m),tO(h))),C=tO(m)>tO(h)?v:nO(tO(v)+tO(h)-tO(m))),{"--n-bezier":y,"--n-button-border-radius":b,"--n-button-box-shadow":i,"--n-button-color":l,"--n-button-width":p,"--n-button-width-pressed":f,"--n-button-height":h,"--n-height":x,"--n-offset":_,"--n-opacity-disabled":t,"--n-rail-border-radius":g,"--n-rail-color":n,"--n-rail-color-active":r,"--n-rail-height":m,"--n-rail-width":v,"--n-width":C,"--n-box-shadow-focus":s,"--n-loading-color":d,"--n-text-color":c,"--n-icon-color":u}})),m=n?vE("switch",Qr((()=>a.value[0])),f,e):void 0;return{handleClick:function(){e.loading||i.value||(s.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue))},handleBlur:function(){u.value=!1,function(){const{nTriggerFormBlur:e}=r;e()}(),c.value=!1},handleFocus:function(){u.value=!0,function(){const{nTriggerFormFocus:e}=r;e()}()},handleKeyup:function(t){e.loading||i.value||" "===t.key&&(s.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue),c.value=!1)},handleKeydown:function(t){e.loading||i.value||" "===t.key&&(t.preventDefault(),c.value=!0)},mergedRailStyle:h,pressed:c,mergedClsPrefix:t,mergedValue:s,checked:d,mergedDisabled:i,cssVars:n?void 0:f,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:a}=this;null==r||r();const{checked:i,unchecked:l,icon:s,"checked-icon":d,"unchecked-icon":c}=a,u=!(cE(s)&&cE(d)&&cE(c));return Jr("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,u&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},Jr("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},dE(i,(t=>dE(l,(n=>t||n?Jr("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},Jr("div",{class:`${e}-switch__rail-placeholder`},Jr("div",{class:`${e}-switch__button-placeholder`}),t),Jr("div",{class:`${e}-switch__rail-placeholder`},Jr("div",{class:`${e}-switch__button-placeholder`}),n)):null)))),Jr("div",{class:`${e}-switch__button`},dE(s,(t=>dE(d,(n=>dE(c,(o=>Jr(UW,null,{default:()=>this.loading?Jr(NV,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(n||t)?Jr("div",{class:`${e}-switch__button-icon`,key:n?"checked-icon":"icon"},n||t):this.checked||!o&&!t?null:Jr("div",{class:`${e}-switch__button-icon`,key:o?"unchecked-icon":"icon"},o||t)}))))))),dE(i,(t=>t&&Jr("div",{key:"checked",class:`${e}-switch__checked`},t))),dE(l,(t=>t&&Jr("div",{key:"unchecked",class:`${e}-switch__unchecked`},t))))))}}),a8="n-transfer",i8=LA("transfer","\n width: 100%;\n font-size: var(--n-font-size);\n height: 300px;\n display: flex;\n flex-wrap: nowrap;\n word-break: break-word;\n",[NA("disabled",[LA("transfer-list",[LA("transfer-list-header",[jA("title","\n color: var(--n-header-text-color-disabled);\n "),jA("extra","\n color: var(--n-header-extra-text-color-disabled);\n ")])])]),LA("transfer-list","\n flex: 1;\n min-width: 0;\n height: inherit;\n display: flex;\n flex-direction: column;\n background-clip: padding-box;\n position: relative;\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-list-color);\n ",[NA("source","\n border-top-left-radius: var(--n-border-radius);\n border-bottom-left-radius: var(--n-border-radius);\n ",[jA("border","border-right: 1px solid var(--n-divider-color);")]),NA("target","\n border-top-right-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n ",[jA("border","border-left: none;")]),jA("border","\n padding: 0 12px;\n border: 1px solid var(--n-border-color);\n transition: border-color .3s var(--n-bezier);\n pointer-events: none;\n border-radius: inherit;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n "),LA("transfer-list-header","\n min-height: var(--n-header-height);\n box-sizing: border-box;\n display: flex;\n padding: 12px 12px 10px 12px;\n align-items: center;\n background-clip: padding-box;\n border-radius: inherit;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n line-height: 1.5;\n transition:\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[BA("> *:not(:first-child)","\n margin-left: 8px;\n "),jA("title","\n flex: 1;\n min-width: 0;\n line-height: 1.5;\n font-size: var(--n-header-font-size);\n font-weight: var(--n-header-font-weight);\n transition: color .3s var(--n-bezier);\n color: var(--n-header-text-color);\n "),jA("button","\n position: relative;\n "),jA("extra","\n transition: color .3s var(--n-bezier);\n font-size: var(--n-extra-font-size);\n margin-right: 0;\n white-space: nowrap;\n color: var(--n-header-extra-text-color);\n ")]),LA("transfer-list-body","\n flex-basis: 0;\n flex-grow: 1;\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: inherit;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n ",[LA("transfer-filter","\n padding: 4px 12px 8px 12px;\n box-sizing: border-box;\n transition:\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),LA("transfer-list-flex-container","\n flex: 1;\n position: relative;\n ",[LA("scrollbar","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n height: unset;\n "),LA("empty","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n "),LA("transfer-list-content","\n padding: 0;\n margin: 0;\n position: relative;\n ",[LA("transfer-list-item","\n padding: 0 12px;\n min-height: var(--n-item-height);\n display: flex;\n align-items: center;\n color: var(--n-item-text-color);\n position: relative;\n transition: color .3s var(--n-bezier);\n ",[jA("background","\n position: absolute;\n left: 4px;\n right: 4px;\n top: 0;\n bottom: 0;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n "),jA("checkbox","\n position: relative;\n margin-right: 8px;\n "),jA("close","\n opacity: 0;\n pointer-events: none;\n position: relative;\n transition:\n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),jA("label","\n position: relative;\n min-width: 0;\n flex-grow: 1;\n "),NA("source","cursor: pointer;"),NA("disabled","\n cursor: not-allowed;\n color: var(--n-item-text-color-disabled);\n "),HA("disabled",[BA("&:hover",[jA("background","background-color: var(--n-item-color-pending);"),jA("close","\n opacity: 1;\n pointer-events: all;\n ")])])])])])])])]),l8=$n({name:"TransferFilter",props:{value:String,placeholder:String,disabled:Boolean,onUpdateValue:{type:Function,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t}=Ro(a8);return{mergedClsPrefix:t,mergedTheme:e}},render(){const{mergedTheme:e,mergedClsPrefix:t}=this;return Jr("div",{class:`${t}-transfer-filter`},Jr(BY,{value:this.value,onUpdateValue:this.onUpdateValue,disabled:this.disabled,placeholder:this.placeholder,theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,clearable:!0,size:"small"},{"clear-icon-placeholder":()=>Jr(VW,{clsPrefix:t},{default:()=>Jr(xV,null)})}))}}),s8=$n({name:"TransferHeader",props:{size:{type:String,required:!0},selectAllText:String,clearText:String,source:Boolean,onCheckedAll:Function,onClearAll:Function,title:[String,Function]},setup(e){const{targetOptionsRef:t,canNotSelectAnythingRef:n,canBeClearedRef:o,allCheckedRef:r,mergedThemeRef:a,disabledRef:i,mergedClsPrefixRef:l,srcOptionsLengthRef:s}=Ro(a8),{localeRef:d}=AW("Transfer");return()=>{const{source:c,onClearAll:u,onCheckedAll:h,selectAllText:p,clearText:f}=e,{value:m}=a,{value:v}=l,{value:g}=d,b="large"===e.size?"small":"tiny",{title:y}=e;return Jr("div",{class:`${v}-transfer-list-header`},y&&Jr("div",{class:`${v}-transfer-list-header__title`},"function"==typeof y?y():y),c&&Jr(SG,{class:`${v}-transfer-list-header__button`,theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:b,tertiary:!0,onClick:r.value?u:h,disabled:n.value||i.value},{default:()=>r.value?f||g.unselectAll:p||g.selectAll}),!c&&o.value&&Jr(SG,{class:`${v}-transfer-list-header__button`,theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:b,tertiary:!0,onClick:u,disabled:i.value},{default:()=>g.clearAll}),Jr("div",{class:`${v}-transfer-list-header__extra`},c?g.total(s.value):g.selected(t.value.length)))}}}),d8=$n({name:"NTransferListItem",props:{source:Boolean,label:{type:String,required:!0},value:{type:[String,Number],required:!0},disabled:Boolean,option:{type:Object,required:!0}},setup(e){const{targetValueSetRef:t,mergedClsPrefixRef:n,mergedThemeRef:o,handleItemCheck:r,renderSourceLabelRef:a,renderTargetLabelRef:i,showSelectedRef:l}=Ro(a8),s=oD((()=>t.value.has(e.value)));return{mergedClsPrefix:n,mergedTheme:o,checked:s,showSelected:l,renderSourceLabel:a,renderTargetLabel:i,handleClick:function(){e.disabled||r(!s.value,e.value)}}},render(){const{disabled:e,mergedTheme:t,mergedClsPrefix:n,label:o,checked:r,source:a,renderSourceLabel:i,renderTargetLabel:l}=this;return Jr("div",{class:[`${n}-transfer-list-item`,e&&`${n}-transfer-list-item--disabled`,a?`${n}-transfer-list-item--source`:`${n}-transfer-list-item--target`],onClick:a?this.handleClick:void 0},Jr("div",{class:`${n}-transfer-list-item__background`}),a&&this.showSelected&&Jr("div",{class:`${n}-transfer-list-item__checkbox`},Jr(wQ,{theme:t.peers.Checkbox,themeOverrides:t.peerOverrides.Checkbox,disabled:e,checked:r})),Jr("div",{class:`${n}-transfer-list-item__label`,title:UB(o)},a?i?i({option:this.option}):o:l?l({option:this.option}):o),!a&&!e&&Jr(DV,{focusable:!1,class:`${n}-transfer-list-item__close`,clsPrefix:n,onClick:this.handleClick}))}}),c8=$n({name:"TransferList",props:{virtualScroll:{type:Boolean,required:!0},itemSize:{type:Number,required:!0},options:{type:Array,required:!0},disabled:{type:Boolean,required:!0},source:Boolean},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t}=Ro(a8),n=vt(null),o=vt(null);return{mergedTheme:e,mergedClsPrefix:t,scrollerInstRef:n,vlInstRef:o,syncVLScroller:function(){var e;null===(e=n.value)||void 0===e||e.sync()},scrollContainer:function(){const{value:e}=o;if(!e)return null;const{listElRef:t}=e;return t},scrollContent:function(){const{value:e}=o;if(!e)return null;const{itemsElRef:t}=e;return t}}},render(){const{mergedTheme:e,options:t}=this;if(0===t.length)return Jr(CK,{theme:e.peers.Empty,themeOverrides:e.peerOverrides.Empty});const{mergedClsPrefix:n,virtualScroll:o,source:r,disabled:a,syncVLScroller:i}=this;return Jr(Vq,{ref:"scrollerInstRef",theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,container:o?this.scrollContainer:void 0,content:o?this.scrollContent:void 0},{default:()=>o?Jr(kB,{ref:"vlInstRef",style:{height:"100%"},class:`${n}-transfer-list-content`,items:this.options,itemSize:this.itemSize,showScrollbar:!1,onResize:i,onScroll:i,keyField:"value"},{default:({item:e})=>{const{source:t,disabled:n}=this;return Jr(d8,{source:t,key:e.value,value:e.value,disabled:e.disabled||n,label:e.label,option:e})}}):Jr("div",{class:`${n}-transfer-list-content`},t.map((e=>Jr(d8,{source:r,key:e.value,value:e.value,disabled:e.disabled||a,label:e.label,option:e}))))})}});const u8=$n({name:"Transfer",props:Object.assign(Object.assign({},HW.props),{value:Array,defaultValue:{type:Array,default:null},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:void 0},virtualScroll:Boolean,sourceTitle:[String,Function],selectAllText:String,clearText:String,targetTitle:[String,Function],filterable:{type:Boolean,default:void 0},sourceFilterable:Boolean,targetFilterable:Boolean,showSelected:{type:Boolean,default:!0},sourceFilterPlaceholder:String,targetFilterPlaceholder:String,filter:{type:Function,default:(e,t)=>!e||~`${t.label}`.toLowerCase().indexOf(`${e}`.toLowerCase())},size:String,renderSourceLabel:Function,renderTargetLabel:Function,renderSourceList:Function,renderTargetList:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]}),setup(e){const{mergedClsPrefixRef:t}=fE(e),n=HW("Transfer","-transfer",i8,G5,e,t),o=bE(e),{mergedSizeRef:r,mergedDisabledRef:a}=o,i=Qr((()=>{const{value:e}=r,{self:{[KA("itemHeight",e)]:t}}=n.value;return tO(t)})),{uncontrolledValueRef:l,mergedValueRef:s,targetValueSetRef:d,valueSetForCheckAllRef:c,valueSetForUncheckAllRef:u,valueSetForClearRef:h,filteredTgtOptionsRef:p,filteredSrcOptionsRef:f,targetOptionsRef:m,canNotSelectAnythingRef:v,canBeClearedRef:g,allCheckedRef:b,srcPatternRef:y,tgtPatternRef:_,mergedSrcFilterableRef:x,handleSrcFilterUpdateValue:C,handleTgtFilterUpdateValue:w}=function(e){const t=vt(e.defaultValue),n=xD(Ft(e,"value"),t),o=Qr((()=>{const t=new Map;return(e.options||[]).forEach((e=>t.set(e.value,e))),t})),r=Qr((()=>new Set(n.value||[]))),a=Qr((()=>{const e=o.value,t=[];return(n.value||[]).forEach((n=>{const o=e.get(n);o&&t.push(o)})),t})),i=vt(""),l=vt(""),s=Qr((()=>e.sourceFilterable||!!e.filterable)),d=Qr((()=>{const{showSelected:t,options:n,filter:o}=e;return s.value?n.filter((e=>o(i.value,e,"source")&&(t||!r.value.has(e.value)))):t?n:n.filter((e=>!r.value.has(e.value)))})),c=Qr((()=>{if(!e.targetFilterable)return a.value;const{filter:t}=e;return a.value.filter((e=>t(l.value,e,"target")))})),u=Qr((()=>{const{value:e}=n;return null===e?new Set:new Set(e)})),h=Qr((()=>{const e=new Set(u.value);return d.value.forEach((t=>{t.disabled||e.has(t.value)||e.add(t.value)})),e})),p=Qr((()=>{const e=new Set(u.value);return d.value.forEach((t=>{!t.disabled&&e.has(t.value)&&e.delete(t.value)})),e})),f=Qr((()=>{const e=new Set(u.value);return c.value.forEach((t=>{t.disabled||e.delete(t.value)})),e})),m=Qr((()=>d.value.every((e=>e.disabled)))),v=Qr((()=>{if(!d.value.length)return!1;const e=u.value;return d.value.every((t=>t.disabled||e.has(t.value)))})),g=Qr((()=>c.value.some((e=>!e.disabled))));return{uncontrolledValueRef:t,mergedValueRef:n,targetValueSetRef:r,valueSetForCheckAllRef:h,valueSetForUncheckAllRef:p,valueSetForClearRef:f,filteredTgtOptionsRef:c,filteredSrcOptionsRef:d,targetOptionsRef:a,canNotSelectAnythingRef:m,canBeClearedRef:g,allCheckedRef:v,srcPatternRef:i,tgtPatternRef:l,mergedSrcFilterableRef:s,handleSrcFilterUpdateValue:function(e){i.value=null!=e?e:""},handleTgtFilterUpdateValue:function(e){l.value=null!=e?e:""}}}(e);function S(t){const{onUpdateValue:n,"onUpdate:value":r,onChange:a}=e,{nTriggerFormInput:i,nTriggerFormChange:s}=o;n&&GB(n,t),r&&GB(r,t),a&&GB(a,t),l.value=t,i(),s()}function k(e,t){S(e?(s.value||[]).concat(t):(s.value||[]).filter((e=>e!==t)))}return To(a8,{targetValueSetRef:d,mergedClsPrefixRef:t,disabledRef:a,mergedThemeRef:n,targetOptionsRef:m,canNotSelectAnythingRef:v,canBeClearedRef:g,allCheckedRef:b,srcOptionsLengthRef:Qr((()=>e.options.length)),handleItemCheck:k,renderSourceLabelRef:Ft(e,"renderSourceLabel"),renderTargetLabelRef:Ft(e,"renderTargetLabel"),showSelectedRef:Ft(e,"showSelected")}),{mergedClsPrefix:t,mergedDisabled:a,itemSize:i,isMounted:CD(),mergedTheme:n,filteredSrcOpts:f,filteredTgtOpts:p,srcPattern:y,tgtPattern:_,mergedSize:r,mergedSrcFilterable:x,handleSrcFilterUpdateValue:C,handleTgtFilterUpdateValue:w,handleSourceCheckAll:function(){S([...c.value])},handleSourceUncheckAll:function(){S([...u.value])},handleTargetClearAll:function(){S([...h.value])},handleItemCheck:k,handleChecked:function(e){S(e)},cssVars:Qr((()=>{const{value:e}=r,{common:{cubicBezierEaseInOut:t},self:{borderRadius:o,borderColor:a,listColor:i,titleTextColor:l,titleTextColorDisabled:s,extraTextColor:d,itemTextColor:c,itemColorPending:u,itemTextColorDisabled:h,titleFontWeight:p,closeColorHover:f,closeColorPressed:m,closeIconColor:v,closeIconColorHover:g,closeIconColorPressed:b,closeIconSize:y,closeSize:_,dividerColor:x,extraTextColorDisabled:C,[KA("extraFontSize",e)]:w,[KA("fontSize",e)]:S,[KA("titleFontSize",e)]:k,[KA("itemHeight",e)]:P,[KA("headerHeight",e)]:T}}=n.value;return{"--n-bezier":t,"--n-border-color":a,"--n-border-radius":o,"--n-extra-font-size":w,"--n-font-size":S,"--n-header-font-size":k,"--n-header-extra-text-color":d,"--n-header-extra-text-color-disabled":C,"--n-header-font-weight":p,"--n-header-text-color":l,"--n-header-text-color-disabled":s,"--n-item-color-pending":u,"--n-item-height":P,"--n-item-text-color":c,"--n-item-text-color-disabled":h,"--n-list-color":i,"--n-header-height":T,"--n-close-size":_,"--n-close-icon-size":y,"--n-close-color-hover":f,"--n-close-color-pressed":m,"--n-close-icon-color":v,"--n-close-icon-color-hover":g,"--n-close-icon-color-pressed":b,"--n-divider-color":x}}))}},render(){const{mergedClsPrefix:e,renderSourceList:t,renderTargetList:n,mergedTheme:o,mergedSrcFilterable:r,targetFilterable:a}=this;return Jr("div",{class:[`${e}-transfer`,this.mergedDisabled&&`${e}-transfer--disabled`],style:this.cssVars},Jr("div",{class:`${e}-transfer-list ${e}-transfer-list--source`},Jr(s8,{source:!0,selectAllText:this.selectAllText,clearText:this.clearText,title:this.sourceTitle,onCheckedAll:this.handleSourceCheckAll,onClearAll:this.handleSourceUncheckAll,size:this.mergedSize}),Jr("div",{class:`${e}-transfer-list-body`},r?Jr(l8,{onUpdateValue:this.handleSrcFilterUpdateValue,value:this.srcPattern,disabled:this.mergedDisabled,placeholder:this.sourceFilterPlaceholder}):null,Jr("div",{class:`${e}-transfer-list-flex-container`},t?Jr(Vq,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar},{default:()=>t({onCheck:this.handleChecked,checkedOptions:this.filteredTgtOpts,pattern:this.srcPattern})}):Jr(c8,{source:!0,options:this.filteredSrcOpts,disabled:this.mergedDisabled,virtualScroll:this.virtualScroll,itemSize:this.itemSize}))),Jr("div",{class:`${e}-transfer-list__border`})),Jr("div",{class:`${e}-transfer-list ${e}-transfer-list--target`},Jr(s8,{onClearAll:this.handleTargetClearAll,size:this.mergedSize,title:this.targetTitle}),Jr("div",{class:`${e}-transfer-list-body`},a?Jr(l8,{onUpdateValue:this.handleTgtFilterUpdateValue,value:this.tgtPattern,disabled:this.mergedDisabled,placeholder:this.sourceFilterPlaceholder}):null,Jr("div",{class:`${e}-transfer-list-flex-container`},n?Jr(Vq,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar},{default:()=>n({onCheck:this.handleChecked,checkedOptions:this.filteredTgtOpts,pattern:this.tgtPattern})}):Jr(c8,{options:this.filteredTgtOpts,disabled:this.mergedDisabled,virtualScroll:this.virtualScroll,itemSize:this.itemSize}))),Jr("div",{class:`${e}-transfer-list__border`})))}}),h8="n-tree-select";function p8({position:e,offsetLevel:t,indent:n,el:o}){const r={position:"absolute",boxSizing:"border-box",right:0};if("inside"===e)r.left=0,r.top=0,r.bottom=0,r.borderRadius="inherit",r.boxShadow="inset 0 0 0 2px var(--n-drop-mark-color)";else{const a="before"===e?"top":"bottom";r[a]=0,r.left=o.offsetLeft+6-t*n+"px",r.height="2px",r.backgroundColor="var(--n-drop-mark-color)",r.transformOrigin=a,r.borderRadius="1px",r.transform="before"===e?"translateY(-4px)":"translateY(4px)"}return Jr("div",{style:r})}const f8="n-tree";const m8=$n({name:"NTreeNodeCheckbox",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},right:Boolean,focusable:Boolean,disabled:Boolean,checked:Boolean,indeterminate:Boolean,onCheck:Function},setup:e=>({handleUpdateValue:function(t){!function(t){const{onCheck:n}=e;n&&n(t)}(t)},mergedTheme:Ro(f8).mergedThemeRef}),render(){const{clsPrefix:e,mergedTheme:t,checked:n,indeterminate:o,disabled:r,focusable:a,indent:i,handleUpdateValue:l}=this;return Jr("span",{class:[`${e}-tree-node-checkbox`,this.right&&`${e}-tree-node-checkbox--right`],style:{width:`${i}px`},"data-checkbox":!0},Jr(wQ,{focusable:a,disabled:r,theme:t.peers.Checkbox,themeOverrides:t.peerOverrides.Checkbox,checked:n,indeterminate:o,onUpdateChecked:l}))}}),v8=$n({name:"TreeNodeContent",props:{clsPrefix:{type:String,required:!0},disabled:Boolean,checked:Boolean,selected:Boolean,onClick:Function,onDragstart:Function,tmNode:{type:Object,required:!0},nodeProps:Object},setup(e){const{renderLabelRef:t,renderPrefixRef:n,renderSuffixRef:o,labelFieldRef:r}=Ro(f8);return{selfRef:vt(null),renderLabel:t,renderPrefix:n,renderSuffix:o,labelField:r,handleClick:function(t){!function(t){const{onClick:n}=e;n&&n(t)}(t)}}},render(){const{clsPrefix:e,labelField:t,nodeProps:n,checked:o=!1,selected:r=!1,renderLabel:a,renderPrefix:i,renderSuffix:l,handleClick:s,onDragstart:d,tmNode:{rawNode:c,rawNode:{prefix:u,suffix:h,[t]:p}}}=this;return Jr("span",Object.assign({},n,{ref:"selfRef",class:[`${e}-tree-node-content`,null==n?void 0:n.class],onClick:s,draggable:void 0!==d||void 0,onDragstart:d}),i||u?Jr("div",{class:`${e}-tree-node-content__prefix`},i?i({option:c,selected:r,checked:o}):aE(u)):null,Jr("div",{class:`${e}-tree-node-content__text`},a?a({option:c,selected:r,checked:o}):aE(p)),l||h?Jr("div",{class:`${e}-tree-node-content__suffix`},l?l({option:c,selected:r,checked:o}):aE(h)):null)}}),g8=$n({name:"NTreeSwitcher",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},expanded:Boolean,selected:Boolean,hide:Boolean,loading:Boolean,onClick:Function,tmNode:{type:Object,required:!0}},setup(e){const{renderSwitcherIconRef:t}=Ro(f8,null);return()=>{const{clsPrefix:n,expanded:o,hide:r,indent:a,onClick:i}=e;return Jr("span",{"data-switcher":!0,class:[`${n}-tree-node-switcher`,o&&`${n}-tree-node-switcher--expanded`,r&&`${n}-tree-node-switcher--hide`],style:{width:`${a}px`},onClick:i},Jr("div",{class:`${n}-tree-node-switcher__icon`},Jr(UW,null,{default:()=>{if(e.loading)return Jr(NV,{clsPrefix:n,key:"loading",radius:85,strokeWidth:20});const{value:o}=t;return o?o({expanded:e.expanded,selected:e.selected,option:e.tmNode.rawNode}):Jr(VW,{clsPrefix:n,key:"switcher"},{default:()=>Jr(wV,null)})}})))}}});function b8(e){return Qr((()=>e.leafOnly?"child":e.checkStrategy))}function y8(e,t){return!!e.rawNode[t]}function _8(e,t,n,o){null==e||e.forEach((e=>{n(e),_8(e[t],t,n,o),o(e)}))}function x8(e,t,n,o,r){const a=new Set,i=new Set,l=[];return _8(e,o,(e=>{if(l.push(e),r(t,e)){i.add(e[n]);for(let e=l.length-2;e>=0;--e){if(a.has(l[e][n]))return;a.add(l[e][n])}}}),(()=>{l.pop()})),{expandedKeys:Array.from(a),highlightKeySet:i}}if(ED&&Image){(new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}const C8=$n({name:"TreeNode",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const t=Ro(f8),{droppingNodeParentRef:n,droppingMouseNodeRef:o,draggingNodeRef:r,droppingPositionRef:a,droppingOffsetLevelRef:i,nodePropsRef:l,indentRef:s,blockLineRef:d,checkboxPlacementRef:c,checkOnClickRef:u,disabledFieldRef:h,showLineRef:p,renderSwitcherIconRef:f,overrideDefaultNodeClickBehaviorRef:m}=t,v=oD((()=>!!e.tmNode.rawNode.checkboxDisabled)),g=oD((()=>y8(e.tmNode,h.value))),b=oD((()=>t.disabledRef.value||g.value)),y=Qr((()=>{const{value:t}=l;if(t)return t({option:e.tmNode.rawNode})})),_=vt(null),x={value:null};function C(){const n=()=>{const{tmNode:n}=e;if(n.isLeaf||n.shallowLoaded)t.handleSwitcherClick(n);else{if(t.loadingKeysRef.value.has(n.key))return;t.loadingKeysRef.value.add(n.key);const{onLoadRef:{value:e}}=t;e&&e(n.rawNode).then((e=>{!1!==e&&t.handleSwitcherClick(n)})).finally((()=>{t.loadingKeysRef.value.delete(n.key)}))}};f.value?setTimeout(n,0):n()}Kn((()=>{x.value=_.value.$el}));const w=oD((()=>!g.value&&t.selectableRef.value&&(!t.internalTreeSelect||("child"!==t.mergedCheckStrategyRef.value||t.multipleRef.value&&t.cascadeRef.value||e.tmNode.isLeaf)))),S=oD((()=>t.checkableRef.value&&(t.cascadeRef.value||"child"!==t.mergedCheckStrategyRef.value||e.tmNode.isLeaf))),k=oD((()=>t.displayedCheckedKeysRef.value.includes(e.tmNode.key))),P=oD((()=>{const{value:t}=S;if(!t)return!1;const{value:n}=u,{tmNode:o}=e;return"boolean"==typeof n?!o.disabled&&n:n(e.tmNode.rawNode)}));function T(n){var o,r;if(!QA(n,"checkbox")&&!QA(n,"switcher")){if(!b.value){const o=m.value;let r=!1;if(o)switch(o({option:e.tmNode.rawNode})){case"toggleCheck":r=!0,R(!k.value);break;case"toggleSelect":r=!0,t.handleSelect(e.tmNode);break;case"toggleExpand":r=!0,C(),r=!0;break;case"none":return r=!0,void(r=!0)}r||function(n){const{value:o}=t.expandOnClickRef,{value:r}=w,{value:a}=P;if(!r&&!o&&!a)return;if(QA(n,"checkbox")||QA(n,"switcher"))return;const{tmNode:i}=e;r&&t.handleSelect(i),o&&!i.isLeaf&&C(),a&&R(!k.value)}(n)}null===(r=null===(o=y.value)||void 0===o?void 0:o.onClick)||void 0===r||r.call(o,n)}}function R(n){t.handleCheck(e.tmNode,n)}const F=Qr((()=>{const{clsPrefix:t}=e,{value:n}=s;if(p.value){const o=[];let r=e.tmNode.parent;for(;r;)r.isLastChild?o.push(Jr("div",{class:`${t}-tree-node-indent`},Jr("div",{style:{width:`${n}px`}}))):o.push(Jr("div",{class:[`${t}-tree-node-indent`,`${t}-tree-node-indent--show-line`]},Jr("div",{style:{width:`${n}px`}}))),r=r.parent;return o.reverse()}return XO(e.tmNode.level,Jr("div",{class:`${e.clsPrefix}-tree-node-indent`},Jr("div",{style:{width:`${n}px`}})))}));return{showDropMark:oD((()=>{const{value:t}=r;if(!t)return;const{value:n}=a;if(!n)return;const{value:i}=o;if(!i)return;const{tmNode:l}=e;return l.key===i.key})),showDropMarkAsParent:oD((()=>{const{value:t}=n;if(!t)return!1;const{tmNode:o}=e,{value:r}=a;return("before"===r||"after"===r)&&t.key===o.key})),pending:oD((()=>t.pendingNodeKeyRef.value===e.tmNode.key)),loading:oD((()=>t.loadingKeysRef.value.has(e.tmNode.key))),highlight:oD((()=>{var n;return null===(n=t.highlightKeySetRef.value)||void 0===n?void 0:n.has(e.tmNode.key)})),checked:k,indeterminate:oD((()=>t.displayedIndeterminateKeysRef.value.includes(e.tmNode.key))),selected:oD((()=>t.mergedSelectedKeysRef.value.includes(e.tmNode.key))),expanded:oD((()=>t.mergedExpandedKeysRef.value.includes(e.tmNode.key))),disabled:b,checkable:S,mergedCheckOnClick:P,checkboxDisabled:v,selectable:w,expandOnClick:t.expandOnClickRef,internalScrollable:t.internalScrollableRef,draggable:t.draggableRef,blockLine:d,nodeProps:y,checkboxFocusable:t.internalCheckboxFocusableRef,droppingPosition:a,droppingOffsetLevel:i,indent:s,checkboxPlacement:c,showLine:p,contentInstRef:_,contentElRef:x,indentNodes:F,handleCheck:R,handleDrop:function(n){n.preventDefault(),null!==a.value&&t.handleDrop({event:n,node:e.tmNode,dropPosition:a.value})},handleDragStart:function(n){t.handleDragStart({event:n,node:e.tmNode})},handleDragEnter:function(n){n.currentTarget===n.target&&t.handleDragEnter({event:n,node:e.tmNode})},handleDragOver:function(n){n.preventDefault(),t.handleDragOver({event:n,node:e.tmNode})},handleDragEnd:function(n){t.handleDragEnd({event:n,node:e.tmNode})},handleDragLeave:function(n){n.currentTarget===n.target&&t.handleDragLeave({event:n,node:e.tmNode})},handleLineClick:function(e){d.value&&T(e)},handleContentClick:function(e){d.value||T(e)},handleSwitcherClick:C}},render(){const{tmNode:e,clsPrefix:t,checkable:n,expandOnClick:o,selectable:r,selected:a,checked:i,highlight:l,draggable:s,blockLine:d,indent:c,indentNodes:u,disabled:h,pending:p,internalScrollable:f,nodeProps:m,checkboxPlacement:v}=this,g=s&&!h?{onDragenter:this.handleDragEnter,onDragleave:this.handleDragLeave,onDragend:this.handleDragEnd,onDrop:this.handleDrop,onDragover:this.handleDragOver}:void 0,b=f?XB(e.key):void 0,y="right"===v,_=n?Jr(m8,{indent:c,right:y,focusable:this.checkboxFocusable,disabled:h||this.checkboxDisabled,clsPrefix:t,checked:this.checked,indeterminate:this.indeterminate,onCheck:this.handleCheck}):null;return Jr("div",Object.assign({class:`${t}-tree-node-wrapper`},g),Jr("div",Object.assign({},d?m:void 0,{class:[`${t}-tree-node`,{[`${t}-tree-node--selected`]:a,[`${t}-tree-node--checkable`]:n,[`${t}-tree-node--highlight`]:l,[`${t}-tree-node--pending`]:p,[`${t}-tree-node--disabled`]:h,[`${t}-tree-node--selectable`]:r,[`${t}-tree-node--clickable`]:r||o||this.mergedCheckOnClick},null==m?void 0:m.class],"data-key":b,draggable:s&&d,onClick:this.handleLineClick,onDragstart:s&&d&&!h?this.handleDragStart:void 0}),u,e.isLeaf&&this.showLine?Jr("div",{class:[`${t}-tree-node-indent`,`${t}-tree-node-indent--show-line`,e.isLeaf&&`${t}-tree-node-indent--is-leaf`,e.isLastChild&&`${t}-tree-node-indent--last-child`]},Jr("div",{style:{width:`${c}px`}})):Jr(g8,{clsPrefix:t,expanded:this.expanded,selected:a,loading:this.loading,hide:e.isLeaf,tmNode:this.tmNode,indent:c,onClick:this.handleSwitcherClick}),y?null:_,Jr(v8,{ref:"contentInstRef",clsPrefix:t,checked:i,selected:a,onClick:this.handleContentClick,nodeProps:d?void 0:m,onDragstart:!s||d||h?void 0:this.handleDragStart,tmNode:e}),s?this.showDropMark?p8({el:this.contentElRef.value,position:this.droppingPosition,offsetLevel:this.droppingOffsetLevel,indent:c}):this.showDropMarkAsParent?p8({el:this.contentElRef.value,position:"inside",offsetLevel:this.droppingOffsetLevel,indent:c}):null:null,y?_:null))}}),w8=$n({name:"TreeMotionWrapper",props:{clsPrefix:{type:String,required:!0},height:Number,nodes:{type:Array,required:!0},mode:{type:String,required:!0},onAfterEnter:{type:Function,required:!0}},render(){const{clsPrefix:e}=this;return Jr(IV,{onAfterEnter:this.onAfterEnter,appear:!0,reverse:"collapse"===this.mode},{default:()=>Jr("div",{class:[`${e}-tree-motion-wrapper`,`${e}-tree-motion-wrapper--${this.mode}`],style:{height:nO(this.height)}},this.nodes.map((t=>Jr(C8,{clsPrefix:e,tmNode:t}))))})}}),S8=MV(),k8=LA("tree","\n font-size: var(--n-font-size);\n outline: none;\n",[BA("ul, li","\n margin: 0;\n padding: 0;\n list-style: none;\n "),BA(">",[LA("tree-node",[BA("&:first-child","margin-top: 0;")])]),LA("tree-motion-wrapper",[NA("expand",[xY({duration:"0.2s"})]),NA("collapse",[xY({duration:"0.2s",reverse:!0})])]),LA("tree-node-wrapper","\n box-sizing: border-box;\n padding: var(--n-node-wrapper-padding);\n "),LA("tree-node","\n transform: translate3d(0,0,0);\n position: relative;\n display: flex;\n border-radius: var(--n-node-border-radius);\n transition: background-color .3s var(--n-bezier);\n ",[NA("highlight",[LA("tree-node-content",[jA("text","border-bottom-color: var(--n-node-text-color-disabled);")])]),NA("disabled",[LA("tree-node-content","\n color: var(--n-node-text-color-disabled);\n cursor: not-allowed;\n ")]),HA("disabled",[NA("clickable",[LA("tree-node-content","\n cursor: pointer;\n ")])])]),NA("block-node",[LA("tree-node-content","\n flex: 1;\n min-width: 0;\n ")]),HA("block-line",[LA("tree-node",[HA("disabled",[LA("tree-node-content",[BA("&:hover","background: var(--n-node-color-hover);")]),NA("selectable",[LA("tree-node-content",[BA("&:active","background: var(--n-node-color-pressed);")])]),NA("pending",[LA("tree-node-content","\n background: var(--n-node-color-hover);\n ")]),NA("selected",[LA("tree-node-content","background: var(--n-node-color-active);")])]),NA("selected",[LA("tree-node-content","background: var(--n-node-color-active);")])])]),NA("block-line",[LA("tree-node",[HA("disabled",[BA("&:hover","background: var(--n-node-color-hover);"),NA("pending","\n background: var(--n-node-color-hover);\n "),NA("selectable",[HA("selected",[BA("&:active","background: var(--n-node-color-pressed);")])]),NA("selected","background: var(--n-node-color-active);")]),NA("selected","background: var(--n-node-color-active);"),NA("disabled","\n cursor: not-allowed;\n ")])]),LA("tree-node-indent","\n flex-grow: 0;\n flex-shrink: 0;\n ",[NA("show-line","position: relative",[BA("&::before",'\n position: absolute;\n left: 50%;\n border-left: 1px solid var(--n-line-color);\n transition: border-color .3s var(--n-bezier);\n transform: translate(-50%);\n content: "";\n top: var(--n-line-offset-top);\n bottom: var(--n-line-offset-bottom);\n '),NA("last-child",[BA("&::before","\n bottom: 50%;\n ")]),NA("is-leaf",[BA("&::after",'\n position: absolute;\n content: "";\n left: calc(50% + 0.5px);\n right: 0;\n bottom: 50%;\n transition: border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-line-color);\n ')])]),HA("show-line","height: 0;")]),LA("tree-node-switcher","\n cursor: pointer;\n display: inline-flex;\n flex-shrink: 0;\n height: var(--n-node-content-height);\n align-items: center;\n justify-content: center;\n transition: transform .15s var(--n-bezier);\n vertical-align: bottom;\n ",[jA("icon","\n position: relative;\n height: 14px;\n width: 14px;\n display: flex;\n color: var(--n-arrow-color);\n transition: color .3s var(--n-bezier);\n font-size: 14px;\n ",[LA("icon",[S8]),LA("base-loading","\n color: var(--n-loading-color);\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ",[S8]),LA("base-icon",[S8])]),NA("hide","visibility: hidden;"),NA("expanded","transform: rotate(90deg);")]),LA("tree-node-checkbox","\n display: inline-flex;\n height: var(--n-node-content-height);\n vertical-align: bottom;\n align-items: center;\n justify-content: center;\n "),LA("tree-node-content","\n user-select: none;\n position: relative;\n display: inline-flex;\n align-items: center;\n min-height: var(--n-node-content-height);\n box-sizing: border-box;\n line-height: var(--n-line-height);\n vertical-align: bottom;\n padding: 0 6px 0 4px;\n cursor: default;\n border-radius: var(--n-node-border-radius);\n color: var(--n-node-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[BA("&:last-child","margin-bottom: 0;"),jA("prefix","\n display: inline-flex;\n margin-right: 8px;\n "),jA("text","\n border-bottom: 1px solid #0000;\n transition: border-color .3s var(--n-bezier);\n flex-grow: 1;\n max-width: 100%;\n "),jA("suffix","\n display: inline-flex;\n ")]),jA("empty","margin: auto;")]);var P8=function(e,t,n,o){return new(n||(n=Promise))((function(t,r){function a(e){try{l(o.next(e))}catch(Nte){r(Nte)}}function i(e){try{l(o.throw(e))}catch(Nte){r(Nte)}}function l(e){var o;e.done?t(e.value):(o=e.value,o instanceof n?o:new n((function(e){e(o)}))).then(a,i)}l((o=o.apply(e,[])).next())}))};function T8(e,t,n,o){return{getIsGroup:()=>!1,getKey:t=>t[e],getChildren:o||(e=>e[t]),getDisabled:e=>!(!e[n]&&!e.checkboxDisabled)}}const R8={allowCheckingNotLoaded:Boolean,filter:Function,defaultExpandAll:Boolean,expandedKeys:Array,keyField:{type:String,default:"key"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandedKeys:{type:Array,default:()=>[]},indeterminateKeys:Array,renderSwitcherIcon:Function,onUpdateIndeterminateKeys:[Function,Array],"onUpdate:indeterminateKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],"onUpdate:expandedKeys":[Function,Array],overrideDefaultNodeClickBehavior:Function},F8=$n({name:"Tree",props:Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),{accordion:Boolean,showIrrelevantNodes:{type:Boolean,default:!0},data:{type:Array,default:()=>[]},expandOnDragenter:{type:Boolean,default:!0},expandOnClick:Boolean,checkOnClick:{type:[Boolean,Function],default:!1},cancelable:{type:Boolean,default:!0},checkable:Boolean,draggable:Boolean,blockNode:Boolean,blockLine:Boolean,showLine:Boolean,disabled:Boolean,checkedKeys:Array,defaultCheckedKeys:{type:Array,default:()=>[]},selectedKeys:Array,defaultSelectedKeys:{type:Array,default:()=>[]},multiple:Boolean,pattern:{type:String,default:""},onLoad:Function,cascade:Boolean,selectable:{type:Boolean,default:!0},scrollbarProps:Object,indent:{type:Number,default:24},allowDrop:{type:Function,default:function({dropPosition:e,node:t}){return!1===t.isLeaf||(!!t.children||"inside"!==e)}},animated:{type:Boolean,default:!0},checkboxPlacement:{type:String,default:"left"},virtualScroll:Boolean,watchProps:Array,renderLabel:Function,renderPrefix:Function,renderSuffix:Function,nodeProps:Function,keyboard:{type:Boolean,default:!0},getChildren:Function,onDragenter:[Function,Array],onDragleave:[Function,Array],onDragend:[Function,Array],onDragstart:[Function,Array],onDragover:[Function,Array],onDrop:[Function,Array],onUpdateCheckedKeys:[Function,Array],"onUpdate:checkedKeys":[Function,Array],onUpdateSelectedKeys:[Function,Array],"onUpdate:selectedKeys":[Function,Array]}),R8),{internalTreeSelect:Boolean,internalScrollable:Boolean,internalScrollablePadding:String,internalRenderEmpty:Function,internalHighlightKeySet:Object,internalUnifySelectCheck:Boolean,internalCheckboxFocusable:{type:Boolean,default:!0},internalFocusable:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},leafOnly:Boolean}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=fE(e),r=DW("Tree",o,t),a=HW("Tree","-tree",k8,Z5,e,t),i=vt(null),l=vt(null),s=vt(null);const d=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n}=e;return(e,t)=>{if(!e.length)return!0;const o=t[n];return"string"==typeof o&&o.toLowerCase().includes(e.toLowerCase())}})),c=Qr((()=>{const{pattern:t}=e;return t&&t.length&&d.value?function(e,t,n,o,r){const a=new Set,i=new Set,l=new Set,s=[],d=[],c=[];return function e(s){s.forEach((s=>{if(c.push(s),t(n,s)){a.add(s[o]),l.add(s[o]);for(let e=c.length-2;e>=0;--e){const t=c[e][o];if(i.has(t))break;i.add(t),a.has(t)&&a.delete(t)}}const d=s[r];d&&e(d),c.pop()}))}(e),function e(t,n){t.forEach((t=>{const l=t[o],d=a.has(l),c=i.has(l);if(!d&&!c)return;const u=t[r];if(u)if(d)n.push(t);else{s.push(l);const o=Object.assign(Object.assign({},t),{[r]:[]});n.push(o),e(u,o[r])}else n.push(t)}))}(e,d),{filteredTree:d,highlightKeySet:l,expandedKeys:s}}(e.data,d.value,t,e.keyField,e.childrenField):{filteredTree:e.data,highlightKeySet:null,expandedKeys:void 0}})),u=Qr((()=>vK(e.showIrrelevantNodes?e.data:c.value.filteredTree,T8(e.keyField,e.childrenField,e.disabledField,e.getChildren)))),h=Ro(h8,null),p=e.internalTreeSelect?h.dataTreeMate:Qr((()=>e.showIrrelevantNodes?u.value:vK(e.data,T8(e.keyField,e.childrenField,e.disabledField,e.getChildren)))),{watchProps:f}=e,m=vt([]);(null==f?void 0:f.includes("defaultCheckedKeys"))?Jo((()=>{m.value=e.defaultCheckedKeys})):m.value=e.defaultCheckedKeys;const v=xD(Ft(e,"checkedKeys"),m),g=Qr((()=>p.value.getCheckedKeys(v.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}))),b=b8(e),y=Qr((()=>g.value.checkedKeys)),_=Qr((()=>{const{indeterminateKeys:t}=e;return void 0!==t?t:g.value.indeterminateKeys})),x=vt([]);(null==f?void 0:f.includes("defaultSelectedKeys"))?Jo((()=>{x.value=e.defaultSelectedKeys})):x.value=e.defaultSelectedKeys;const C=xD(Ft(e,"selectedKeys"),x),w=vt([]),S=t=>{w.value=e.defaultExpandAll?p.value.getNonLeafKeys():void 0===t?e.defaultExpandedKeys:t};(null==f?void 0:f.includes("defaultExpandedKeys"))?Jo((()=>{S(void 0)})):Jo((()=>{S(e.defaultExpandedKeys)}));const k=xD(Ft(e,"expandedKeys"),w),P=Qr((()=>u.value.getFlattenedNodes(k.value))),{pendingNodeKeyRef:T,handleKeydown:R}=function({props:e,fNodesRef:t,mergedExpandedKeysRef:n,mergedSelectedKeysRef:o,mergedCheckedKeysRef:r,handleCheck:a,handleSelect:i,handleSwitcherClick:l}){const{value:s}=o,d=Ro(h8,null),c=d?d.pendingNodeKeyRef:vt(s.length?s[s.length-1]:null);return{pendingNodeKeyRef:c,handleKeydown:function(o){var s;if(!e.keyboard)return{enterBehavior:null};const{value:d}=c;let u=null;if(null===d){if("ArrowDown"!==o.key&&"ArrowUp"!==o.key||o.preventDefault(),["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(o.key)&&null===d){const{value:e}=t;let n=0;for(;ne.key===d));if(!~p)return{enterBehavior:null};if("Enter"===o.key){const t=h[p];switch(u=(null===(s=e.overrideDefaultNodeClickBehavior)||void 0===s?void 0:s.call(e,{option:t.rawNode}))||null,u){case"toggleCheck":a(t,!r.value.includes(t.key));break;case"toggleSelect":i(t);break;case"toggleExpand":l(t);break;case"none":break;default:u="default",i(t)}}else if("ArrowDown"===o.key)for(o.preventDefault(),p+=1;p=0;){if(!h[p].disabled){c.value=h[p].key;break}p-=1}else if("ArrowLeft"===o.key){const e=h[p];if(e.isLeaf||!n.value.includes(d)){const t=e.getParent();t&&(c.value=t.key)}else l(e)}else if("ArrowRight"===o.key){const e=h[p];if(e.isLeaf)return{enterBehavior:null};if(n.value.includes(d))for(p+=1;pe.internalHighlightKeySet||c.value.highlightKeySet)),M),A=vt(new Set),O=Qr((()=>k.value.filter((e=>!A.value.has(e)))));let D=0;const I=vt(null),B=vt(null),E=vt(null),L=vt(null),j=vt(0),N=Qr((()=>{const{value:e}=B;return e?e.parent:null}));let H=!1;er(Ft(e,"data"),(()=>{H=!0,Kt((()=>{H=!1})),A.value.clear(),T.value=null,ne()}),{deep:!1});let W=!1;const V=()=>{W=!0,Kt((()=>{W=!1}))};let U;function q(t){return P8(this,0,void 0,(function*(){const{onLoad:n}=e;if(!n)return void(yield Promise.resolve());const{value:o}=A;if(!o.has(t.key)){o.add(t.key);try{!1===(yield n(t.rawNode))&&re()}catch(r){re()}o.delete(t.key)}}))}er(Ft(e,"pattern"),((t,n)=>{if(e.showIrrelevantNodes)if(U=void 0,t){const{expandedKeys:t,highlightKeySet:n}=x8(e.data,e.pattern,e.keyField,e.childrenField,d.value);M.value=n,V(),J(t,Q(t),{node:null,action:"filter"})}else M.value=new Set;else if(t.length){n.length||(U=k.value);const{expandedKeys:e}=c.value;void 0!==e&&(V(),J(e,Q(e),{node:null,action:"filter"}))}else void 0!==U&&(V(),J(U,Q(U),{node:null,action:"filter"}))})),Jo((()=>{var e;const{value:t}=u;if(!t)return;const{getNode:n}=t;null===(e=k.value)||void 0===e||e.forEach((e=>{const t=n(e);t&&!t.shallowLoaded&&q(t)}))}));const K=vt(!1),Y=vt([]);er(O,((t,n)=>{if(!e.animated||W)return void Kt(Z);if(H)return;const o=tO(a.value.self.nodeHeight),r=new Set(n);let l=null,d=null;for(const e of t)if(!r.has(e)){if(null!==l)return;l=e}const c=new Set(t);for(const e of n)if(!c.has(e)){if(null!==d)return;d=e}if(null===l&&null===d)return;const{virtualScroll:h}=e,p=(h?s.value.listElRef:i.value).offsetHeight,f=Math.ceil(p/o)+1;let m;if(null!==l&&(m=n),null!==d&&(m=void 0===m?t:m.filter((e=>e!==d))),K.value=!0,Y.value=u.value.getFlattenedNodes(m),null!==l){const e=Y.value.findIndex((e=>e.key===l));if(~e){const n=Y.value[e].children;if(n){const r=fK(n,t);Y.value.splice(e+1,0,{__motion:!0,mode:"expand",height:h?r.length*o:void 0,nodes:h?r.slice(0,f):r})}}}if(null!==d){const e=Y.value.findIndex((e=>e.key===d));if(~e){const n=Y.value[e].children;if(!n)return;K.value=!0;const r=fK(n,t);Y.value.splice(e+1,0,{__motion:!0,mode:"collapse",height:h?r.length*o:void 0,nodes:h?r.slice(0,f):r})}}}));const G=Qr((()=>rK(P.value))),X=Qr((()=>K.value?Y.value:P.value));function Z(){const{value:e}=l;e&&e.sync()}function Q(e){const{getNode:t}=p.value;return e.map((e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.rawNode)||null}))}function J(t,n,o){const{"onUpdate:expandedKeys":r,onUpdateExpandedKeys:a}=e;w.value=t,r&&GB(r,t,n,o),a&&GB(a,t,n,o)}function ee(t,n,o){const{"onUpdate:checkedKeys":r,onUpdateCheckedKeys:a}=e;m.value=t,a&&GB(a,t,n,o),r&&GB(r,t,n,o)}function te(t,n,o){const{"onUpdate:selectedKeys":r,onUpdateSelectedKeys:a}=e;x.value=t,a&&GB(a,t,n,o),r&&GB(r,t,n,o)}function ne(){I.value=null,oe()}function oe(){j.value=0,B.value=null,E.value=null,L.value=null,re()}function re(){F&&(window.clearTimeout(F),F=null),z=null}function ae(t,n){if(e.disabled||y8(t,e.disabledField))return;if(e.internalUnifySelectCheck&&!e.multiple)return void le(t);const o=n?"check":"uncheck",{checkedKeys:r,indeterminateKeys:a}=p.value[o](t.key,y.value,{cascade:e.cascade,checkStrategy:b.value,allowNotLoaded:e.allowCheckingNotLoaded});ee(r,Q(r),{node:t.rawNode,action:o}),function(t,n){const{"onUpdate:indeterminateKeys":o,onUpdateIndeterminateKeys:r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(a,Q(a))}function ie(t){e.disabled||K.value||function(t){if(e.disabled)return;const{key:n}=t,{value:o}=k,r=o.findIndex((e=>e===n));if(~r){const e=Array.from(o);e.splice(r,1),J(e,Q(e),{node:t.rawNode,action:"collapse"})}else{const r=u.value.getNode(n);if(!r||r.isLeaf)return;let a;if(e.accordion){const e=new Set(t.siblings.map((({key:e})=>e)));a=o.filter((t=>!e.has(t))),a.push(n)}else a=o.concat(n);J(a,Q(a),{node:t.rawNode,action:"expand"})}}(t)}function le(t){if(!e.disabled&&e.selectable){if(T.value=t.key,e.internalUnifySelectCheck){const{value:{checkedKeys:n,indeterminateKeys:o}}=g;e.multiple?ae(t,!(n.includes(t.key)||o.includes(t.key))):ee([t.key],Q([t.key]),{node:t.rawNode,action:"check"})}if(e.multiple){const n=Array.from(C.value),o=n.findIndex((e=>e===t.key));~o?e.cancelable&&n.splice(o,1):~o||n.push(t.key),te(n,Q(n),{node:t.rawNode,action:~o?"unselect":"select"})}else{C.value.includes(t.key)?e.cancelable&&te([],[],{node:t.rawNode,action:"unselect"}):te([t.key],Q([t.key]),{node:t.rawNode,action:"select"})}}}function se({event:t,node:n},o=!0){var r;if(!e.draggable||e.disabled||y8(n,e.disabledField))return;const{value:a}=I;if(!a)return;const{allowDrop:i,indent:l}=e;o&&function(t){const{onDragover:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode});const s=t.currentTarget,{height:d,top:c}=s.getBoundingClientRect(),u=t.clientY-c;let h;h=i({node:n.rawNode,dropPosition:"inside",phase:"drag"})?u<=8?"before":u>=d-8?"after":"inside":u<=d/2?"before":"after";const{value:p}=G;let f,m;const v=p(n.key);if(null===v)return void oe();let g=!1;"inside"===h?(f=n,m="inside"):"before"===h?n.isFirstChild?(f=n,m="before"):(f=P.value[v-1],m="after"):(f=n,m="after"),!f.isLeaf&&k.value.includes(f.key)&&(g=!0,"after"===m&&(f=P.value[v+1],f?m="before":(f=n,m="inside")));const b=f;if(E.value=b,!g&&a.isLastChild&&a.key===f.key&&(m="after"),"after"===m){let e=D-t.clientX,n=0;for(;e>=l/2&&null!==f.parent&&f.isLastChild&&n<1;)e-=l,n+=1,f=f.parent;j.value=n}else j.value=0;if(!(a.contains(f)||"inside"===m&&(null===(r=a.parent)||void 0===r?void 0:r.key)===f.key)||a.key===b.key&&a.key===f.key)if(i({node:f.rawNode,dropPosition:m,phase:"drag"})){if(a.key===f.key)re();else if(z!==f.key)if("inside"===m){if(e.expandOnDragenter){if(function(e){if(F&&(window.clearTimeout(F),F=null),e.isLeaf)return;z=e.key;const t=()=>{if(z!==e.key)return;const{value:t}=E;if(t&&t.key===e.key&&!k.value.includes(e.key)){const t=k.value.concat(e.key);J(t,Q(t),{node:e.rawNode,action:"expand"})}F=null,z=null};F=e.shallowLoaded?window.setTimeout((()=>{t()}),1e3):window.setTimeout((()=>{q(e).then((()=>{t()}))}),1e3)}(f),!f.shallowLoaded&&z!==f.key)return void ne()}else if(!f.shallowLoaded)return void ne()}else re();else"inside"!==m&&re();L.value=m,B.value=f}else oe();else oe()}er(T,(t=>{var n,o;if(null!==t)if(e.virtualScroll)null===(n=s.value)||void 0===n||n.scrollTo({key:t});else if(e.internalScrollable){const{value:e}=l;if(null===e)return;const n=null===(o=e.contentRef)||void 0===o?void 0:o.querySelector(`[data-key="${XB(t)}"]`);if(!n)return;e.scrollTo({el:n})}})),To(f8,{loadingKeysRef:A,highlightKeySetRef:$,displayedCheckedKeysRef:y,displayedIndeterminateKeysRef:_,mergedSelectedKeysRef:C,mergedExpandedKeysRef:k,mergedThemeRef:a,mergedCheckStrategyRef:b,nodePropsRef:Ft(e,"nodeProps"),disabledRef:Ft(e,"disabled"),checkableRef:Ft(e,"checkable"),selectableRef:Ft(e,"selectable"),expandOnClickRef:Ft(e,"expandOnClick"),onLoadRef:Ft(e,"onLoad"),draggableRef:Ft(e,"draggable"),blockLineRef:Ft(e,"blockLine"),indentRef:Ft(e,"indent"),cascadeRef:Ft(e,"cascade"),checkOnClickRef:Ft(e,"checkOnClick"),checkboxPlacementRef:e.checkboxPlacement,droppingMouseNodeRef:E,droppingNodeParentRef:N,draggingNodeRef:I,droppingPositionRef:L,droppingOffsetLevelRef:j,fNodesRef:P,pendingNodeKeyRef:T,showLineRef:Ft(e,"showLine"),disabledFieldRef:Ft(e,"disabledField"),internalScrollableRef:Ft(e,"internalScrollable"),internalCheckboxFocusableRef:Ft(e,"internalCheckboxFocusable"),internalTreeSelect:e.internalTreeSelect,renderLabelRef:Ft(e,"renderLabel"),renderPrefixRef:Ft(e,"renderPrefix"),renderSuffixRef:Ft(e,"renderSuffix"),renderSwitcherIconRef:Ft(e,"renderSwitcherIcon"),labelFieldRef:Ft(e,"labelField"),multipleRef:Ft(e,"multiple"),overrideDefaultNodeClickBehaviorRef:Ft(e,"overrideDefaultNodeClickBehavior"),handleSwitcherClick:ie,handleDragEnd:function({event:t,node:n}){ne(),!e.draggable||e.disabled||y8(n,e.disabledField)||function(t){const{onDragend:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode})},handleDragEnter:function({event:t,node:n}){!e.draggable||e.disabled||y8(n,e.disabledField)||(se({event:t,node:n},!1),function(t){const{onDragenter:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode}))},handleDragLeave:function({event:t,node:n}){!e.draggable||e.disabled||y8(n,e.disabledField)||function(t){const{onDragleave:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode})},handleDragStart:function({event:t,node:n}){!e.draggable||e.disabled||y8(n,e.disabledField)||(D=t.clientX,I.value=n,function(t){const{onDragstart:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode}))},handleDrop:function({event:t,node:n,dropPosition:o}){if(!e.draggable||e.disabled||y8(n,e.disabledField))return;const{value:r}=I,{value:a}=B,{value:i}=L;if(r&&a&&i&&e.allowDrop({node:a.rawNode,dropPosition:i,phase:"drag"})&&r.key!==a.key){if("before"===i){const e=r.getNext({includeDisabled:!0});if(e&&e.key===a.key)return void oe()}if("after"===i){const e=r.getPrev({includeDisabled:!0});if(e&&e.key===a.key)return void oe()}!function(t){const{onDrop:n}=e;n&&GB(n,t)}({event:t,node:a.rawNode,dragNode:r.rawNode,dropPosition:o}),ne()}},handleDragOver:se,handleSelect:le,handleCheck:ae});const de={handleKeydown:R,scrollTo:function(e,t){var n,o;"number"==typeof e?null===(n=s.value)||void 0===n||n.scrollTo(e,t||0):null===(o=s.value)||void 0===o||o.scrollTo(e)},getCheckedData:()=>{if(!e.checkable)return{keys:[],options:[]};const{checkedKeys:t}=g.value;return{keys:t,options:Q(t)}},getIndeterminateData:()=>{if(!e.checkable)return{keys:[],options:[]};const{indeterminateKeys:t}=g.value;return{keys:t,options:Q(t)}}},ce=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:t,nodeBorderRadius:n,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:i,arrowColor:l,loadingColor:s,nodeTextColor:d,nodeTextColorDisabled:c,dropMarkColor:u,nodeWrapperPadding:h,nodeHeight:p,lineHeight:f,lineColor:m}}=a.value,v=oO(h,"top"),g=oO(h,"bottom");return{"--n-arrow-color":l,"--n-loading-color":s,"--n-bezier":e,"--n-font-size":t,"--n-node-border-radius":n,"--n-node-color-active":i,"--n-node-color-hover":o,"--n-node-color-pressed":r,"--n-node-text-color":d,"--n-node-text-color-disabled":c,"--n-drop-mark-color":u,"--n-node-wrapper-padding":h,"--n-line-offset-top":`-${v}`,"--n-line-offset-bottom":`-${g}`,"--n-node-content-height":nO(tO(p)-tO(v)-tO(g)),"--n-line-height":f,"--n-line-color":m}})),ue=n?vE("tree",void 0,ce,e):void 0;return Object.assign(Object.assign({},de),{mergedClsPrefix:t,mergedTheme:a,rtlEnabled:r,fNodes:X,aip:K,selfElRef:i,virtualListInstRef:s,scrollbarInstRef:l,handleFocusout:function(t){var n;if(e.virtualScroll||e.internalScrollable){const{value:e}=l;if(null===(n=null==e?void 0:e.containerRef)||void 0===n?void 0:n.contains(t.relatedTarget))return;T.value=null}else{const{value:e}=i;if(null==e?void 0:e.contains(t.relatedTarget))return;T.value=null}},handleDragLeaveTree:function(e){e.target===e.currentTarget&&oe()},handleScroll:function(){Z()},getScrollContainer:function(){var e;return null===(e=s.value)||void 0===e?void 0:e.listElRef},getScrollContent:function(){var e;return null===(e=s.value)||void 0===e?void 0:e.itemsElRef},handleAfterEnter:function(){K.value=!1,e.virtualScroll&&Kt(Z)},handleResize:function(){Z()},cssVars:n?void 0:ce,themeClass:null==ue?void 0:ue.themeClass,onRender:null==ue?void 0:ue.onRender})},render(){var e;const{fNodes:t,internalRenderEmpty:n}=this;if(!t.length&&n)return n();const{mergedClsPrefix:o,blockNode:r,blockLine:a,draggable:i,disabled:l,internalFocusable:s,checkable:d,handleKeydown:c,rtlEnabled:u,handleFocusout:h,scrollbarProps:p}=this,f=s&&!l,m=f?"0":void 0,v=[`${o}-tree`,u&&`${o}-tree--rtl`,d&&`${o}-tree--checkable`,(a||r)&&`${o}-tree--block-node`,a&&`${o}-tree--block-line`],g=e=>"__motion"in e?Jr(w8,{height:e.height,nodes:e.nodes,clsPrefix:o,mode:e.mode,onAfterEnter:this.handleAfterEnter}):Jr(C8,{key:e.key,tmNode:e,clsPrefix:o});if(this.virtualScroll){const{mergedTheme:e,internalScrollablePadding:n}=this,r=oO(n||"0");return Jr(Uq,Object.assign({},p,{ref:"scrollbarInstRef",onDragleave:i?this.handleDragLeaveTree:void 0,container:this.getScrollContainer,content:this.getScrollContent,class:v,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,tabindex:m,onKeydown:f?c:void 0,onFocusout:f?h:void 0}),{default:()=>{var n;return null===(n=this.onRender)||void 0===n||n.call(this),t.length?Jr(kB,{ref:"virtualListInstRef",items:this.fNodes,itemSize:tO(e.self.nodeHeight),ignoreItemResize:this.aip,paddingTop:r.top,paddingBottom:r.bottom,class:this.themeClass,style:[this.cssVars,{paddingLeft:r.left,paddingRight:r.right}],onScroll:this.handleScroll,onResize:this.handleResize,showScrollbar:!1,itemResizable:!0},{default:({item:e})=>g(e)}):lE(this.$slots.empty,(()=>[Jr(CK,{class:`${o}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]))}})}const{internalScrollable:b}=this;return v.push(this.themeClass),null===(e=this.onRender)||void 0===e||e.call(this),b?Jr(Uq,Object.assign({},p,{class:v,tabindex:m,onKeydown:f?c:void 0,onFocusout:f?h:void 0,style:this.cssVars,contentStyle:{padding:this.internalScrollablePadding}}),{default:()=>Jr("div",{onDragleave:i?this.handleDragLeaveTree:void 0,ref:"selfElRef"},this.fNodes.map(g))}):Jr("div",{class:v,tabindex:m,ref:"selfElRef",style:this.cssVars,onKeydown:f?c:void 0,onFocusout:f?h:void 0,onDragleave:i?this.handleDragLeaveTree:void 0},t.length?t.map(g):lE(this.$slots.empty,(()=>[Jr(CK,{class:`${o}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})])))}}),z8=BA([LA("tree-select","\n z-index: auto;\n outline: none;\n width: 100%;\n position: relative;\n "),LA("tree-select-menu","\n position: relative;\n overflow: hidden;\n margin: 4px 0;\n transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier);\n border-radius: var(--n-menu-border-radius);\n box-shadow: var(--n-menu-box-shadow);\n background-color: var(--n-menu-color);\n outline: none;\n ",[LA("tree","max-height: var(--n-menu-height);"),jA("empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),jA("header","\n padding: var(--n-header-padding);\n transition: \n color .3s var(--n-bezier);\n border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-header-divider-color);\n color: var(--n-header-text-color);\n "),jA("action","\n padding: var(--n-action-padding);\n transition: \n color .3s var(--n-bezier);\n border-color .3s var(--n-bezier);\n border-top: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),MK()])]);function M8(e,t){const{rawNode:n}=e;return Object.assign(Object.assign({},n),{label:n[t],value:e.key})}function $8(e,t,n,o){const{rawNode:r}=e;return Object.assign(Object.assign({},r),{value:e.key,label:t.map((e=>e.rawNode[o])).join(n)})}const A8=$n({name:"TreeSelect",props:Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),{bordered:{type:Boolean,default:!0},cascade:Boolean,checkable:Boolean,clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},consistentMenuWidth:{type:Boolean,default:!0},defaultShow:Boolean,defaultValue:{type:[String,Number,Array],default:null},disabled:{type:Boolean,default:void 0},filterable:Boolean,checkStrategy:{type:String,default:"all"},loading:Boolean,maxTagCount:[String,Number],multiple:Boolean,showPath:Boolean,separator:{type:String,default:" / "},options:{type:Array,default:()=>[]},placeholder:String,placement:{type:String,default:"bottom-start"},show:{type:Boolean,default:void 0},size:String,value:[String,Number,Array],to:ID.propTo,menuProps:Object,virtualScroll:{type:Boolean,default:!0},status:String,renderTag:Function,ellipsisTagPopoverProps:Object}),R8),{renderLabel:Function,renderPrefix:Function,renderSuffix:Function,nodeProps:Function,watchProps:Array,getChildren:Function,onBlur:Function,onFocus:Function,onLoad:Function,onUpdateShow:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],"onUpdate:show":[Function,Array],leafOnly:Boolean}),slots:Object,setup(e){const t=vt(null),n=vt(null),o=vt(null),r=vt(null),{mergedClsPrefixRef:a,namespaceRef:i,inlineThemeDisabled:l}=fE(e),{localeRef:s}=AW("Select"),{mergedSizeRef:d,mergedDisabledRef:c,mergedStatusRef:u,nTriggerFormBlur:h,nTriggerFormChange:p,nTriggerFormFocus:f,nTriggerFormInput:m}=bE(e),v=vt(e.defaultValue),g=xD(Ft(e,"value"),v),b=vt(e.defaultShow),y=xD(Ft(e,"show"),b),_=vt(""),x=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n}=e;return(e,t)=>!e.length||t[n].toLowerCase().includes(e.toLowerCase())})),C=Qr((()=>vK(e.options,T8(e.keyField,e.childrenField,e.disabledField,void 0)))),{value:w}=g,S=vt(e.checkable?null:Array.isArray(w)&&w.length?w[w.length-1]:null),k=Qr((()=>e.multiple&&e.cascade&&e.checkable)),P=vt(e.defaultExpandAll?void 0:e.defaultExpandedKeys||e.expandedKeys),T=xD(Ft(e,"expandedKeys"),P),R=vt(!1),F=Qr((()=>{const{placeholder:t}=e;return void 0!==t?t:s.value.placeholder})),z=Qr((()=>{const{value:t}=g;return e.multiple?Array.isArray(t)?t:[]:null===t||Array.isArray(t)?[]:[t]})),M=Qr((()=>e.checkable?[]:z.value)),$=Qr((()=>{const{multiple:t,showPath:n,separator:o,labelField:r}=e;if(t)return null;const{value:a}=g;if(!Array.isArray(a)&&null!==a){const{value:e}=C,t=e.getNode(a);if(null!==t)return n?$8(t,e.getPath(a).treeNodePath,o,r):M8(t,r)}return null})),A=Qr((()=>{const{multiple:t,showPath:n,separator:o}=e;if(!t)return null;const{value:r}=g;if(Array.isArray(r)){const t=[],{value:a}=C,{checkedKeys:i}=a.getCheckedKeys(r,{checkStrategy:e.checkStrategy,cascade:k.value,allowNotLoaded:e.allowCheckingNotLoaded}),{labelField:l}=e;return i.forEach((e=>{const r=a.getNode(e);null!==r&&t.push(n?$8(r,a.getPath(e).treeNodePath,o,l):M8(r,l))})),t}return[]}));function O(){var e;null===(e=n.value)||void 0===e||e.focus()}function D(){var e;null===(e=n.value)||void 0===e||e.focusInput()}function I(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),b.value=t}function B(t,n,o){const{onUpdateValue:r,"onUpdate:value":a}=e;r&&GB(r,t,n,o),a&&GB(a,t,n,o),v.value=t,m(),p()}function E(t){const{onFocus:n}=e;n&&n(t),f()}function L(t){j();const{onBlur:n}=e;n&&n(t),h()}function j(){I(!1)}function N(){c.value||(_.value="",I(!0),e.filterable&&D())}function H(e){const{value:{getNode:t}}=C;return e.map((e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.rawNode)||null}))}function W(e){const{value:t}=o;return t?t.handleKeydown(e):{enterBehavior:null}}const V=Qr((()=>{const{renderTag:t}=e;if(t)return function({option:e,handleClose:n}){const{value:o}=e;if(void 0!==o){const e=C.value.getNode(o);if(e)return t({option:e.rawNode,handleClose:n})}return o}}));function U(){var e;y.value&&(null===(e=t.value)||void 0===e||e.syncPosition())}To(h8,{pendingNodeKeyRef:S,dataTreeMate:C}),DB(r,U);const q=b8(e),K=Qr((()=>{if(e.checkable){const t=g.value;return e.multiple&&Array.isArray(t)?C.value.getCheckedKeys(t,{cascade:e.cascade,checkStrategy:q.value,allowNotLoaded:e.allowCheckingNotLoaded}):{checkedKeys:Array.isArray(t)||null===t?[]:[t],indeterminateKeys:[]}}return{checkedKeys:[],indeterminateKeys:[]}})),Y={getCheckedData:()=>{const{checkedKeys:e}=K.value;return{keys:e,options:H(e)}},getIndeterminateData:()=>{const{indeterminateKeys:e}=K.value;return{keys:e,options:H(e)}},focus:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.focus()},focusInput:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.focusInput()},blur:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.blur()},blurInput:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.blurInput()}},G=HW("TreeSelect","-tree-select",z8,e3,e,a),X=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{menuBoxShadow:t,menuBorderRadius:n,menuColor:o,menuHeight:r,actionPadding:a,actionDividerColor:i,actionTextColor:l,headerDividerColor:s,headerPadding:d,headerTextColor:c}}=G.value;return{"--n-menu-box-shadow":t,"--n-menu-border-radius":n,"--n-menu-color":o,"--n-menu-height":r,"--n-bezier":e,"--n-action-padding":a,"--n-action-text-color":l,"--n-action-divider-color":i,"--n-header-padding":d,"--n-header-text-color":c,"--n-header-divider-color":s}})),Z=l?vE("tree-select",void 0,X,e):void 0,Q=Qr((()=>{const{self:{menuPadding:e}}=G.value;return e}));return Object.assign(Object.assign({},Y),{menuElRef:r,mergedStatus:u,triggerInstRef:n,followerInstRef:t,treeInstRef:o,mergedClsPrefix:a,mergedValue:g,mergedShow:y,namespace:i,adjustedTo:ID(e),isMounted:CD(),focused:R,menuPadding:Q,mergedPlaceholder:F,mergedExpandedKeys:T,treeSelectedKeys:M,treeCheckedKeys:z,mergedSize:d,mergedDisabled:c,selectedOption:$,selectedOptions:A,pattern:_,pendingNodeKey:S,mergedCascade:k,mergedFilter:x,selectionRenderTag:V,handleTriggerOrMenuResize:U,doUpdateExpandedKeys:function(t,n,o){const{onUpdateExpandedKeys:r,"onUpdate:expandedKeys":a}=e;r&&GB(r,t,n,o),a&&GB(a,t,n,o),P.value=t},handleMenuLeave:function(){_.value=""},handleTriggerClick:function(){c.value||(y.value?e.filterable||j():N())},handleMenuClickoutside:function(e){var t;y.value&&((null===(t=n.value)||void 0===t?void 0:t.$el.contains(JA(e)))||j())},handleUpdateCheckedKeys:function(t,n,o){const r=H(t),a="check"===o.action?"select":"unselect",i=o.node;e.multiple?(B(t,r,{node:i,action:a}),e.filterable&&(D(),e.clearFilterAfterSelect&&(_.value=""))):(t.length?B(t[0],r[0]||null,{node:i,action:a}):B(null,null,{node:i,action:a}),j(),O())},handleUpdateIndeterminateKeys:function(t){e.checkable&&function(t,n){const{onUpdateIndeterminateKeys:o,"onUpdate:indeterminateKeys":r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(t,H(t))},handleTriggerFocus:function(e){var t;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(R.value=!0,E(e))},handleTriggerBlur:function(e){var t;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(R.value=!1,L(e))},handleMenuFocusin:function(e){var t,o,a;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(null===(a=null===(o=n.value)||void 0===o?void 0:o.$el)||void 0===a?void 0:a.contains(e.relatedTarget))||(R.value=!0,E(e))},handleMenuFocusout:function(e){var t,o,a;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(null===(a=null===(o=n.value)||void 0===o?void 0:o.$el)||void 0===a?void 0:a.contains(e.relatedTarget))||(R.value=!1,L(e))},handleClear:function(t){t.stopPropagation();const{multiple:n}=e;!n&&e.filterable&&j(),n?B([],[],{node:null,action:"clear"}):B(null,null,{node:null,action:"clear"})},handleDeleteOption:function(t){const{value:n}=g;if(Array.isArray(n)){const{value:o}=C,{checkedKeys:r}=o.getCheckedKeys(n,{cascade:k.value,allowNotLoaded:e.allowCheckingNotLoaded}),a=r.findIndex((e=>e===t.value));if(~a){const n=H([r[a]])[0];if(e.checkable){const{checkedKeys:a}=o.uncheck(t.value,r,{checkStrategy:e.checkStrategy,cascade:k.value,allowNotLoaded:e.allowCheckingNotLoaded});B(a,H(a),{node:n,action:"delete"})}else{const e=Array.from(r);e.splice(a,1),B(e,H(e),{node:n,action:"delete"})}}}},handlePatternInput:function(e){const{value:t}=e.target;_.value=t},handleKeydown:function(t){if("Enter"===t.key){if(y.value){const{enterBehavior:n}=W(t);if(!e.multiple)switch(n){case"default":case"toggleSelect":j(),O()}}else N();t.preventDefault()}else"Escape"===t.key?y.value&&(VB(t),j(),O()):y.value?W(t):"ArrowDown"===t.key&&N()},handleTabOut:function(){j(),O()},handleMenuMousedown:function(e){QA(e,"action")||QA(e,"header")||e.preventDefault()},mergedTheme:G,cssVars:l?void 0:X,themeClass:null==Z?void 0:Z.themeClass,onRender:null==Z?void 0:Z.onRender})},render(){const{mergedTheme:e,mergedClsPrefix:t,$slots:n}=this;return Jr("div",{class:`${t}-tree-select`},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(cY,{ref:"triggerInstRef",onResize:this.handleTriggerOrMenuResize,status:this.mergedStatus,focused:this.focused,clsPrefix:t,theme:e.peers.InternalSelection,themeOverrides:e.peerOverrides.InternalSelection,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,renderTag:this.selectionRenderTag,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,size:this.mergedSize,bordered:this.bordered,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,active:this.mergedShow,loading:this.loading,multiple:this.multiple,maxTagCount:this.maxTagCount,showArrow:!0,filterable:this.filterable,clearable:this.clearable,pattern:this.pattern,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onClick:this.handleTriggerClick,onFocus:this.handleTriggerFocus,onBlur:this.handleTriggerBlur,onDeleteOption:this.handleDeleteOption,onKeydown:this.handleKeydown},{arrow:()=>{var e,t;return[null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)]}})}),Jr(FI,{ref:"followerInstRef",show:this.mergedShow,placement:this.placement,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target"},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted,onLeave:this.handleMenuLeave},{default:()=>{var t;if(!this.mergedShow)return null;const{mergedClsPrefix:o,checkable:r,multiple:a,menuProps:i,options:l}=this;return null===(t=this.onRender)||void 0===t||t.call(this),on(Jr("div",Object.assign({},i,{class:[`${o}-tree-select-menu`,null==i?void 0:i.class,this.themeClass],ref:"menuElRef",style:[(null==i?void 0:i.style)||"",this.cssVars],tabindex:0,onMousedown:this.handleMenuMousedown,onKeydown:this.handleKeydown,onFocusin:this.handleMenuFocusin,onFocusout:this.handleMenuFocusout}),dE(n.header,(e=>e?Jr("div",{class:`${o}-tree-select-menu__header`,"data-header":!0},e):null)),Jr(F8,{ref:"treeInstRef",blockLine:!0,allowCheckingNotLoaded:this.allowCheckingNotLoaded,showIrrelevantNodes:!1,animated:!1,pattern:this.pattern,getChildren:this.getChildren,filter:this.mergedFilter,data:l,cancelable:a,labelField:this.labelField,keyField:this.keyField,disabledField:this.disabledField,childrenField:this.childrenField,theme:e.peers.Tree,themeOverrides:e.peerOverrides.Tree,defaultExpandAll:this.defaultExpandAll,defaultExpandedKeys:this.defaultExpandedKeys,expandedKeys:this.mergedExpandedKeys,checkedKeys:this.treeCheckedKeys,selectedKeys:this.treeSelectedKeys,checkable:r,checkStrategy:this.checkStrategy,cascade:this.mergedCascade,leafOnly:this.leafOnly,multiple:this.multiple,renderLabel:this.renderLabel,renderPrefix:this.renderPrefix,renderSuffix:this.renderSuffix,renderSwitcherIcon:this.renderSwitcherIcon,nodeProps:this.nodeProps,watchProps:this.watchProps,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,overrideDefaultNodeClickBehavior:this.overrideDefaultNodeClickBehavior,internalTreeSelect:!0,internalUnifySelectCheck:!0,internalScrollable:!0,internalScrollablePadding:this.menuPadding,internalFocusable:!1,internalCheckboxFocusable:!1,internalRenderEmpty:()=>Jr("div",{class:`${o}-tree-select-menu__empty`},lE(n.empty,(()=>[Jr(CK,{theme:e.peers.Empty,themeOverrides:e.peerOverrides.Empty})]))),onLoad:this.onLoad,onUpdateCheckedKeys:this.handleUpdateCheckedKeys,onUpdateIndeterminateKeys:this.handleUpdateIndeterminateKeys,onUpdateExpandedKeys:this.doUpdateExpandedKeys}),dE(n.action,(e=>e?Jr("div",{class:`${o}-tree-select-menu__action`,"data-action":!0},e):null)),Jr(BV,{onFocus:this.handleTabOut})),[[sI,this.handleMenuClickoutside,void 0,{capture:!0}]])}})})]}))}}),O8="n-upload",D8=BA([LA("upload","width: 100%;",[NA("dragger-inside",[LA("upload-trigger","\n display: block;\n ")]),NA("drag-over",[LA("upload-dragger","\n border: var(--n-dragger-border-hover);\n ")])]),LA("upload-dragger","\n cursor: pointer;\n box-sizing: border-box;\n width: 100%;\n text-align: center;\n border-radius: var(--n-border-radius);\n padding: 24px;\n opacity: 1;\n transition:\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n background-color: var(--n-dragger-color);\n border: var(--n-dragger-border);\n ",[BA("&:hover","\n border: var(--n-dragger-border-hover);\n "),NA("disabled","\n cursor: not-allowed;\n ")]),LA("upload-trigger","\n display: inline-block;\n box-sizing: border-box;\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n ",[BA("+",[LA("upload-file-list","margin-top: 8px;")]),NA("disabled","\n opacity: var(--n-item-disabled-opacity);\n cursor: not-allowed;\n "),NA("image-card","\n width: 96px;\n height: 96px;\n ",[LA("base-icon","\n font-size: 24px;\n "),LA("upload-dragger","\n padding: 0;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n ")])]),LA("upload-file-list","\n line-height: var(--n-line-height);\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n ",[BA("a, img","outline: none;"),NA("disabled","\n opacity: var(--n-item-disabled-opacity);\n cursor: not-allowed;\n ",[LA("upload-file","cursor: not-allowed;")]),NA("grid","\n display: grid;\n grid-template-columns: repeat(auto-fill, 96px);\n grid-gap: 8px;\n margin-top: 0;\n "),LA("upload-file","\n display: block;\n box-sizing: border-box;\n cursor: default;\n padding: 0px 12px 0 6px;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n ",[xY(),LA("progress",[xY({foldPadding:!0})]),BA("&:hover","\n background-color: var(--n-item-color-hover);\n ",[LA("upload-file-info",[jA("action","\n opacity: 1;\n ")])]),NA("image-type","\n border-radius: var(--n-border-radius);\n text-decoration: underline;\n text-decoration-color: #0000;\n ",[LA("upload-file-info","\n padding-top: 0px;\n padding-bottom: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 6px 0;\n ",[LA("progress","\n padding: 2px 0;\n margin-bottom: 0;\n "),jA("name","\n padding: 0 8px;\n "),jA("thumbnail","\n width: 32px;\n height: 32px;\n font-size: 28px;\n display: flex;\n justify-content: center;\n align-items: center;\n ",[BA("img","\n width: 100%;\n ")])])]),NA("text-type",[LA("progress","\n box-sizing: border-box;\n padding-bottom: 6px;\n margin-bottom: 6px;\n ")]),NA("image-card-type","\n position: relative;\n width: 96px;\n height: 96px;\n border: var(--n-item-border-image-card);\n border-radius: var(--n-border-radius);\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: border-color .3s var(--n-bezier), background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n overflow: hidden;\n ",[LA("progress","\n position: absolute;\n left: 8px;\n bottom: 8px;\n right: 8px;\n width: unset;\n "),LA("upload-file-info","\n padding: 0;\n width: 100%;\n height: 100%;\n ",[jA("thumbnail","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: 36px;\n ",[BA("img","\n width: 100%;\n ")])]),BA("&::before",'\n position: absolute;\n z-index: 1;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n opacity: 0;\n transition: opacity .2s var(--n-bezier);\n content: "";\n '),BA("&:hover",[BA("&::before","opacity: 1;"),LA("upload-file-info",[jA("thumbnail","opacity: .12;")])])]),NA("error-status",[BA("&:hover","\n background-color: var(--n-item-color-hover-error);\n "),LA("upload-file-info",[jA("name","color: var(--n-item-text-color-error);"),jA("thumbnail","color: var(--n-item-text-color-error);")]),NA("image-card-type","\n border: var(--n-item-border-image-card-error);\n ")]),NA("with-url","\n cursor: pointer;\n ",[LA("upload-file-info",[jA("name","\n color: var(--n-item-text-color-success);\n text-decoration-color: var(--n-item-text-color-success);\n ",[BA("a","\n text-decoration: underline;\n ")])])]),LA("upload-file-info","\n position: relative;\n padding-top: 6px;\n padding-bottom: 6px;\n display: flex;\n flex-wrap: nowrap;\n ",[jA("thumbnail","\n font-size: 18px;\n opacity: 1;\n transition: opacity .2s var(--n-bezier);\n color: var(--n-item-icon-color);\n ",[LA("base-icon","\n margin-right: 2px;\n vertical-align: middle;\n transition: color .3s var(--n-bezier);\n ")]),jA("action","\n padding-top: inherit;\n padding-bottom: inherit;\n position: absolute;\n right: 0;\n top: 0;\n bottom: 0;\n width: 80px;\n display: flex;\n align-items: center;\n transition: opacity .2s var(--n-bezier);\n justify-content: flex-end;\n opacity: 0;\n ",[LA("button",[BA("&:not(:last-child)",{marginRight:"4px"}),LA("base-icon",[BA("svg",[MV()])])]),NA("image-type","\n position: relative;\n max-width: 80px;\n width: auto;\n "),NA("image-card-type","\n z-index: 2;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n ")]),jA("name","\n color: var(--n-item-text-color);\n flex: 1;\n display: flex;\n justify-content: center;\n text-overflow: ellipsis;\n overflow: hidden;\n flex-direction: column;\n text-decoration-color: #0000;\n font-size: var(--n-font-size);\n transition:\n color .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier); \n ",[BA("a","\n color: inherit;\n text-decoration: underline;\n ")])])])]),LA("upload-file-input","\n display: none;\n width: 0;\n height: 0;\n opacity: 0;\n ")]),I8="__UPLOAD_DRAGGER__",B8=$n({name:"UploadDragger",[I8]:!0,setup(e,{slots:t}){const n=Ro(O8,null);return n||YB("upload-dragger","`n-upload-dragger` must be placed inside `n-upload`."),()=>{const{mergedClsPrefixRef:{value:e},mergedDisabledRef:{value:o},maxReachedRef:{value:r}}=n;return Jr("div",{class:[`${e}-upload-dragger`,(o||r)&&`${e}-upload-dragger--disabled`]},t)}}}),E8=Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},Jr("g",{fill:"none"},Jr("path",{d:"M21.75 3A3.25 3.25 0 0 1 25 6.25v15.5A3.25 3.25 0 0 1 21.75 25H6.25A3.25 3.25 0 0 1 3 21.75V6.25A3.25 3.25 0 0 1 6.25 3h15.5zm.583 20.4l-7.807-7.68a.75.75 0 0 0-.968-.07l-.084.07l-7.808 7.68c.183.065.38.1.584.1h15.5c.204 0 .4-.035.583-.1l-7.807-7.68l7.807 7.68zM21.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v15.5c0 .208.036.408.103.593l7.82-7.692a2.25 2.25 0 0 1 3.026-.117l.129.117l7.82 7.692c.066-.185.102-.385.102-.593V6.25a1.75 1.75 0 0 0-1.75-1.75zm-3.25 3a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm0 1.5a1 1 0 1 0 0 2a1 1 0 0 0 0-2z",fill:"currentColor"}))),L8=Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},Jr("g",{fill:"none"},Jr("path",{d:"M6.4 2A2.4 2.4 0 0 0 4 4.4v19.2A2.4 2.4 0 0 0 6.4 26h15.2a2.4 2.4 0 0 0 2.4-2.4V11.578c0-.729-.29-1.428-.805-1.944l-6.931-6.931A2.4 2.4 0 0 0 14.567 2H6.4zm-.9 2.4a.9.9 0 0 1 .9-.9H14V10a2 2 0 0 0 2 2h6.5v11.6a.9.9 0 0 1-.9.9H6.4a.9.9 0 0 1-.9-.9V4.4zm16.44 6.1H16a.5.5 0 0 1-.5-.5V4.06l6.44 6.44z",fill:"currentColor"}))),j8=$n({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup:()=>({mergedTheme:Ro(O8).mergedThemeRef}),render(){return Jr(IV,null,{default:()=>this.show?Jr(H6,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}});var N8=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};function H8(e){return e.includes("image/")}function W8(e=""){const t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]}const V8=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,U8=e=>{if(e.type)return H8(e.type);const t=W8(e.name||"");if(V8.test(t))return!0;const n=e.thumbnailUrl||e.url||"",o=W8(n);return!(!/^data:image\//.test(n)&&!V8.test(o))};const q8=ED&&window.FileReader&&window.File;function K8(e){return e.isFile}function Y8(e){const{id:t,name:n,percentage:o,status:r,url:a,file:i,thumbnailUrl:l,type:s,fullPath:d,batchId:c}=e;return{id:t,name:n,percentage:null!=o?o:null,status:r,url:null!=a?a:null,file:null!=i?i:null,thumbnailUrl:null!=l?l:null,type:null!=s?s:null,fullPath:null!=d?d:null,batchId:null!=c?c:null}}var G8=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};const X8={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},Z8=$n({name:"UploadFile",props:{clsPrefix:{type:String,required:!0},file:{type:Object,required:!0},listType:{type:String,required:!0},index:{type:Number,required:!0}},setup(e){const t=Ro(O8),n=vt(null),o=vt(""),r=Qr((()=>{const{file:t}=e;return"finished"===t.status?"success":"error"===t.status?"error":"info"})),a=Qr((()=>{const{file:t}=e;if("error"===t.status)return"error"})),i=Qr((()=>{const{file:t}=e;return"uploading"===t.status})),l=Qr((()=>{if(!t.showCancelButtonRef.value)return!1;const{file:n}=e;return["uploading","pending","error"].includes(n.status)})),s=Qr((()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:n}=e;return["finished"].includes(n.status)})),d=Qr((()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:n}=e;return["finished"].includes(n.status)})),c=Qr((()=>{if(!t.showRetryButtonRef.value)return!1;const{file:n}=e;return["error"].includes(n.status)})),u=oD((()=>o.value||e.file.thumbnailUrl||e.file.url)),h=Qr((()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:n},listType:o}=e;return["finished"].includes(n)&&u.value&&"image-card"===o}));function p(n){const{xhrMap:o,doChange:r,onRemoveRef:{value:a},mergedFileListRef:{value:i}}=t;Promise.resolve(!a||a({file:Object.assign({},n),fileList:i,index:e.index})).then((e=>{if(!1===e)return;const t=Object.assign({},n,{status:"removed"});o.delete(n.id),r(t,void 0,{remove:!0})}))}const f=()=>G8(this,void 0,void 0,(function*(){const{listType:n}=e;"image"!==n&&"image-card"!==n||t.shouldUseThumbnailUrlRef.value(e.file)&&(o.value=yield t.getFileThumbnailUrlResolver(e.file))}));return Jo((()=>{f()})),{mergedTheme:t.mergedThemeRef,progressStatus:r,buttonType:a,showProgress:i,disabled:t.mergedDisabledRef,showCancelButton:l,showRemoveButton:s,showDownloadButton:d,showRetryButton:c,showPreviewButton:h,mergedThumbnailUrl:u,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:n,handleRemoveOrCancelClick:function(n){n.preventDefault();const{file:o}=e;["finished","pending","error"].includes(o.status)?p(o):["uploading"].includes(o.status)&&function(e){const{xhrMap:n}=t,o=n.get(e.id);null==o||o.abort(),p(Object.assign({},e))}(o)},handleDownloadClick:function(n){n.preventDefault(),function(e){const{onDownloadRef:{value:n}}=t;Promise.resolve(!n||n(Object.assign({},e))).then((t=>{!1!==t&&NB(e.url,e.name)}))}(e.file)},handleRetryClick:function(){return G8(this,void 0,void 0,(function*(){const n=t.onRetryRef.value;if(n){if(!1===(yield n({file:e.file})))return}t.submit(e.file.id)}))},handlePreviewClick:function(o){const{onPreviewRef:{value:r}}=t;if(r)r(e.file,{event:o});else if("image-card"===e.listType){const{value:e}=n;if(!e)return;e.click()}}}},render(){const{clsPrefix:e,mergedTheme:t,listType:n,file:o,renderIcon:r}=this;let a;const i="image"===n;a=i||"image-card"===n?this.shouldUseThumbnailUrl(o)&&this.mergedThumbnailUrl?Jr("a",{rel:"noopener noreferer",target:"_blank",href:o.url||void 0,class:`${e}-upload-file-info__thumbnail`,onClick:this.handlePreviewClick},"image-card"===n?Jr(_6,{src:this.mergedThumbnailUrl||void 0,previewSrc:o.url||void 0,alt:o.name,ref:"imageRef"}):Jr("img",{src:this.mergedThumbnailUrl||void 0,alt:o.name})):Jr("span",{class:`${e}-upload-file-info__thumbnail`},r?r(o):U8(o)?Jr(VW,{clsPrefix:e},{default:E8}):Jr(VW,{clsPrefix:e},{default:L8})):Jr("span",{class:`${e}-upload-file-info__thumbnail`},r?r(o):Jr(VW,{clsPrefix:e},{default:()=>Jr(XW,null)}));const l=Jr(j8,{show:this.showProgress,percentage:o.percentage||0,status:this.progressStatus}),s="text"===n||"image"===n;return Jr("div",{class:[`${e}-upload-file`,`${e}-upload-file--${this.progressStatus}-status`,o.url&&"error"!==o.status&&"image-card"!==n&&`${e}-upload-file--with-url`,`${e}-upload-file--${n}-type`]},Jr("div",{class:`${e}-upload-file-info`},a,Jr("div",{class:`${e}-upload-file-info__name`},s&&(o.url&&"error"!==o.status?Jr("a",{rel:"noopener noreferer",target:"_blank",href:o.url||void 0,onClick:this.handlePreviewClick},o.name):Jr("span",{onClick:this.handlePreviewClick},o.name)),i&&l),Jr("div",{class:[`${e}-upload-file-info__action`,`${e}-upload-file-info__action--${n}-type`]},this.showPreviewButton?Jr(SG,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:X8},{icon:()=>Jr(VW,{clsPrefix:e},{default:()=>Jr(sV,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&Jr(SG,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:X8,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>Jr(UW,null,{default:()=>this.showRemoveButton?Jr(VW,{clsPrefix:e,key:"trash"},{default:()=>Jr(PV,null)}):Jr(VW,{clsPrefix:e,key:"cancel"},{default:()=>Jr(QW,null)})})}),this.showRetryButton&&!this.disabled&&Jr(SG,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:X8},{icon:()=>Jr(VW,{clsPrefix:e},{default:()=>Jr(bV,null)})}),this.showDownloadButton?Jr(SG,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:X8},{icon:()=>Jr(VW,{clsPrefix:e},{default:()=>Jr(aV,null)})}):null)),!i&&l)}}),Q8=$n({name:"UploadTrigger",props:{abstract:Boolean},slots:Object,setup(e,{slots:t}){const n=Ro(O8,null);n||YB("upload-trigger","`n-upload-trigger` must be placed inside `n-upload`.");const{mergedClsPrefixRef:o,mergedDisabledRef:r,maxReachedRef:a,listTypeRef:i,dragOverRef:l,openOpenFileDialog:s,draggerInsideRef:d,handleFileAddition:c,mergedDirectoryDndRef:u,triggerClassRef:h,triggerStyleRef:p}=n,f=Qr((()=>"image-card"===i.value));function m(){r.value||a.value||s()}function v(e){e.preventDefault(),l.value=!0}function g(e){e.preventDefault(),l.value=!0}function b(e){e.preventDefault(),l.value=!1}function y(e){var t;if(e.preventDefault(),!d.value||r.value||a.value)return void(l.value=!1);const n=null===(t=e.dataTransfer)||void 0===t?void 0:t.items;(null==n?void 0:n.length)?function(t,n){return N8(this,void 0,void 0,(function*(){const o=[];return yield function t(r){return N8(this,void 0,void 0,(function*(){for(const a of r)if(a)if(n&&a.isDirectory){const n=a.createReader();let o,r=[];try{do{o=yield new Promise(((e,t)=>{n.readEntries(e,t)})),r=r.concat(o)}while(o.length>0)}catch(e){}yield t(r)}else if(K8(a))try{const e=yield new Promise(((e,t)=>{a.file(e,t)}));o.push({file:e,entry:a,source:"dnd"})}catch(e){}}))}(t),o}))}(Array.from(n).map((e=>e.webkitGetAsEntry())),u.value).then((e=>{c(e)})).finally((()=>{l.value=!1})):l.value=!1}return()=>{var n;const{value:i}=o;return e.abstract?null===(n=t.default)||void 0===n?void 0:n.call(t,{handleClick:m,handleDrop:y,handleDragOver:v,handleDragEnter:g,handleDragLeave:b}):Jr("div",{class:[`${i}-upload-trigger`,(r.value||a.value)&&`${i}-upload-trigger--disabled`,f.value&&`${i}-upload-trigger--image-card`,h.value],style:p.value,onClick:m,onDrop:y,onDragover:v,onDragenter:g,onDragleave:b},f.value?Jr(B8,null,{default:()=>lE(t.default,(()=>[Jr(VW,{clsPrefix:i},{default:()=>Jr(qW,null)})]))}):t)}}}),J8=$n({name:"UploadFileList",setup(e,{slots:t}){const n=Ro(O8,null);n||YB("upload-file-list","`n-upload-file-list` must be placed inside `n-upload`.");const{abstractRef:o,mergedClsPrefixRef:r,listTypeRef:a,mergedFileListRef:i,fileListClassRef:l,fileListStyleRef:s,cssVarsRef:d,themeClassRef:c,maxReachedRef:u,showTriggerRef:h,imageGroupPropsRef:p}=n,f=Qr((()=>"image-card"===a.value)),m=()=>i.value.map(((e,t)=>Jr(Z8,{clsPrefix:r.value,key:e.id,file:e,index:t,listType:a.value})));return()=>{const{value:e}=r,{value:n}=o;return Jr("div",{class:[`${e}-upload-file-list`,f.value&&`${e}-upload-file-list--grid`,n?null==c?void 0:c.value:void 0,l.value],style:[n&&d?d.value:"",s.value]},f.value?Jr(y6,Object.assign({},p.value),{default:m}):Jr(IV,{group:!0},{default:m}),h.value&&!u.value&&f.value&&Jr(Q8,null,t))}}});var e9=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};function t9(e,t,n){const o=function(e,t,n){const{doChange:o,xhrMap:r}=e;let a=0;function i(n){var i;let l=Object.assign({},t,{status:"error",percentage:a});r.delete(t.id),l=Y8((null===(i=e.onError)||void 0===i?void 0:i.call(e,{file:l,event:n}))||l),o(l,n)}return{handleXHRLoad:function(l){var s;if(e.isErrorState){if(e.isErrorState(n))return void i(l)}else if(n.status<200||n.status>=300)return void i(l);let d=Object.assign({},t,{status:"finished",percentage:a});r.delete(t.id),d=Y8((null===(s=e.onFinish)||void 0===s?void 0:s.call(e,{file:d,event:l}))||d),o(d,l)},handleXHRError:i,handleXHRAbort(e){const n=Object.assign({},t,{status:"removed",file:null,percentage:a});r.delete(t.id),o(n,e)},handleXHRProgress(e){const n=Object.assign({},t,{status:"uploading"});if(e.lengthComputable){const t=Math.ceil(e.loaded/e.total*100);n.percentage=t,a=t}o(n,e)}}}(e,t,n);n.onabort=o.handleXHRAbort,n.onerror=o.handleXHRError,n.onload=o.handleXHRLoad,n.upload&&(n.upload.onprogress=o.handleXHRProgress)}function n9(e,t){return"function"==typeof e?e({file:t}):e||{}}function o9(e,t,n,{method:o,action:r,withCredentials:a,responseType:i,headers:l,data:s}){const d=new XMLHttpRequest;d.responseType=i,e.xhrMap.set(n.id,d),d.withCredentials=a;const c=new FormData;if(function(e,t,n){const o=n9(t,n);o&&Object.keys(o).forEach((t=>{e.append(t,o[t])}))}(c,s,n),null!==n.file&&c.append(t,n.file),t9(e,n,d),void 0!==r){d.open(o.toUpperCase(),r),function(e,t,n){const o=n9(t,n);o&&Object.keys(o).forEach((t=>{e.setRequestHeader(t,o[t])}))}(d,l,n),d.send(c);const t=Object.assign({},n,{status:"uploading"});e.doChange(t)}}const r9=$n({name:"Upload",props:Object.assign(Object.assign({},HW.props),{name:{type:String,default:"file"},accept:String,action:String,customRequest:Function,directory:Boolean,directoryDnd:{type:Boolean,default:void 0},method:{type:String,default:"POST"},multiple:Boolean,showFileList:{type:Boolean,default:!0},data:[Object,Function],headers:[Object,Function],withCredentials:Boolean,responseType:{type:String,default:""},disabled:{type:Boolean,default:void 0},onChange:Function,onRemove:Function,onFinish:Function,onError:Function,onRetry:Function,onBeforeUpload:Function,isErrorState:Function,onDownload:Function,defaultUpload:{type:Boolean,default:!0},fileList:Array,"onUpdate:fileList":[Function,Array],onUpdateFileList:[Function,Array],fileListClass:String,fileListStyle:[String,Object],defaultFileList:{type:Array,default:()=>[]},showCancelButton:{type:Boolean,default:!0},showRemoveButton:{type:Boolean,default:!0},showDownloadButton:Boolean,showRetryButton:{type:Boolean,default:!0},showPreviewButton:{type:Boolean,default:!0},listType:{type:String,default:"text"},onPreview:Function,shouldUseThumbnailUrl:{type:Function,default:e=>!!q8&&U8(e)},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerClass:String,triggerStyle:[String,Object],renderIcon:Function}),setup(e){e.abstract&&"image-card"===e.listType&&YB("upload","when the list-type is image-card, abstract is not supported.");const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Upload","-upload",D8,i3,e,t),r=bE(e),a=vt(e.defaultFileList),i=Ft(e,"fileList"),l=vt(null),s={value:!1},d=vt(!1),c=new Map,u=xD(i,a),h=Qr((()=>u.value.map(Y8))),p=Qr((()=>{const{max:t}=e;return void 0!==t&&h.value.length>=t}));function f(){var e;null===(e=l.value)||void 0===e||e.click()}const m=Qr((()=>e.multiple||e.directory)),v=(t,n,o={append:!1,remove:!1})=>{const{append:r,remove:i}=o,l=Array.from(h.value),s=l.findIndex((e=>e.id===t.id));if(r||i||~s){r?l.push(t):i?l.splice(s,1):l.splice(s,1,t);const{onChange:o}=e;o&&o({file:t,fileList:l,event:n}),function(t){const{"onUpdate:fileList":n,onUpdateFileList:o}=e;n&&GB(n,t),o&&GB(o,t),a.value=t}(l)}};function g(t,n){if(!t||0===t.length)return;const{onBeforeUpload:o}=e;t=m.value?t:[t[0]];const{max:r,accept:a}=e;t=t.filter((({file:e,source:t})=>"dnd"!==t||!(null==a?void 0:a.trim())||function(e,t,n){return e=e.toLowerCase(),t=t.toLocaleLowerCase(),(n=n.toLocaleLowerCase()).split(",").map((e=>e.trim())).filter(Boolean).some((n=>{if(n.startsWith(".")){if(e.endsWith(n))return!0}else{if(!n.includes("/"))return!0;{const[e,o]=t.split("/"),[r,a]=n.split("/");if(("*"===r||e&&r&&r===e)&&("*"===a||o&&a&&a===o))return!0}}return!1}))}(e.name,e.type,a))),r&&(t=t.slice(0,r-h.value.length));const i=GO();Promise.all(t.map((e=>e9(this,[e],void 0,(function*({file:e,entry:t}){var n;const r={id:GO(),batchId:i,name:e.name,status:"pending",percentage:0,file:e,url:null,type:e.type,thumbnailUrl:null,fullPath:null!==(n=null==t?void 0:t.fullPath)&&void 0!==n?n:`/${e.webkitRelativePath||e.name}`};return o&&!1===(yield o({file:r,fileList:h.value}))?null:r}))))).then((e=>e9(this,void 0,void 0,(function*(){let t=Promise.resolve();e.forEach((e=>{t=t.then(Kt).then((()=>{e&&v(e,n,{append:!0})}))})),yield t})))).then((()=>{e.defaultUpload&&b()}))}function b(t){const{method:n,action:o,withCredentials:r,headers:a,data:i,name:l}=e,s=void 0!==t?h.value.filter((e=>e.id===t)):h.value,d=void 0!==t;s.forEach((t=>{const{status:s}=t;("pending"===s||"error"===s&&d)&&(e.customRequest?function(e){const{inst:t,file:n,data:o,headers:r,withCredentials:a,action:i,customRequest:l}=e,{doChange:s}=e.inst;let d=0;l({file:n,data:o,headers:r,withCredentials:a,action:i,onProgress(e){const t=Object.assign({},n,{status:"uploading"}),o=e.percent;t.percentage=o,d=o,s(t)},onFinish(){var e;let o=Object.assign({},n,{status:"finished",percentage:d});o=Y8((null===(e=t.onFinish)||void 0===e?void 0:e.call(t,{file:o}))||o),s(o)},onError(){var e;let o=Object.assign({},n,{status:"error",percentage:d});o=Y8((null===(e=t.onError)||void 0===e?void 0:e.call(t,{file:o}))||o),s(o)}})}({inst:{doChange:v,xhrMap:c,onFinish:e.onFinish,onError:e.onError},file:t,action:o,withCredentials:r,headers:a,data:i,customRequest:e.customRequest}):o9({doChange:v,xhrMap:c,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},l,t,{method:n,action:o,withCredentials:r,responseType:e.responseType,headers:a,data:i}))}))}const y=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{draggerColor:t,draggerBorder:n,draggerBorderHover:r,itemColorHover:a,itemColorHoverError:i,itemTextColorError:l,itemTextColorSuccess:s,itemTextColor:d,itemIconColor:c,itemDisabledOpacity:u,lineHeight:h,borderRadius:p,fontSize:f,itemBorderImageCardError:m,itemBorderImageCard:v}}=o.value;return{"--n-bezier":e,"--n-border-radius":p,"--n-dragger-border":n,"--n-dragger-border-hover":r,"--n-dragger-color":t,"--n-font-size":f,"--n-item-color-hover":a,"--n-item-color-hover-error":i,"--n-item-disabled-opacity":u,"--n-item-icon-color":c,"--n-item-text-color":d,"--n-item-text-color-error":l,"--n-item-text-color-success":s,"--n-line-height":h,"--n-item-border-image-card-error":m,"--n-item-border-image-card":v}})),_=n?vE("upload",void 0,y,e):void 0;To(O8,{mergedClsPrefixRef:t,mergedThemeRef:o,showCancelButtonRef:Ft(e,"showCancelButton"),showDownloadButtonRef:Ft(e,"showDownloadButton"),showRemoveButtonRef:Ft(e,"showRemoveButton"),showRetryButtonRef:Ft(e,"showRetryButton"),onRemoveRef:Ft(e,"onRemove"),onDownloadRef:Ft(e,"onDownload"),mergedFileListRef:h,triggerClassRef:Ft(e,"triggerClass"),triggerStyleRef:Ft(e,"triggerStyle"),shouldUseThumbnailUrlRef:Ft(e,"shouldUseThumbnailUrl"),renderIconRef:Ft(e,"renderIcon"),xhrMap:c,submit:b,doChange:v,showPreviewButtonRef:Ft(e,"showPreviewButton"),onPreviewRef:Ft(e,"onPreview"),getFileThumbnailUrlResolver:function(t){var n;if(t.thumbnailUrl)return t.thumbnailUrl;const{createThumbnailUrl:o}=e;return o?null!==(n=o(t.file,t))&&void 0!==n?n:t.url||"":t.url?t.url:t.file?function(e){return N8(this,void 0,void 0,(function*(){return yield new Promise((t=>{e.type&&H8(e.type)?t(window.URL.createObjectURL(e)):t("")}))}))}(t.file):""},listTypeRef:Ft(e,"listType"),dragOverRef:d,openOpenFileDialog:f,draggerInsideRef:s,handleFileAddition:g,mergedDisabledRef:r.mergedDisabledRef,maxReachedRef:p,fileListClassRef:Ft(e,"fileListClass"),fileListStyleRef:Ft(e,"fileListStyle"),abstractRef:Ft(e,"abstract"),acceptRef:Ft(e,"accept"),cssVarsRef:n?void 0:y,themeClassRef:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender,showTriggerRef:Ft(e,"showTrigger"),imageGroupPropsRef:Ft(e,"imageGroupProps"),mergedDirectoryDndRef:Qr((()=>{var t;return null!==(t=e.directoryDnd)&&void 0!==t?t:e.directory})),onRetryRef:Ft(e,"onRetry")});const x={clear:()=>{a.value=[]},submit:b,openOpenFileDialog:f};return Object.assign({mergedClsPrefix:t,draggerInsideRef:s,inputElRef:l,mergedTheme:o,dragOver:d,mergedMultiple:m,cssVars:n?void 0:y,themeClass:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender,handleFileInputChange:function(e){const t=e.target;g(t.files?Array.from(t.files).map((e=>({file:e,entry:null,source:"input"}))):null,e),t.value=""}},x)},render(){var e,t;const{draggerInsideRef:n,mergedClsPrefix:o,$slots:r,directory:a,onRender:i}=this;if(r.default&&!this.abstract){const t=r.default()[0];(null===(e=null==t?void 0:t.type)||void 0===e?void 0:e[I8])&&(n.value=!0)}const l=Jr("input",Object.assign({},this.inputProps,{ref:"inputElRef",type:"file",class:`${o}-upload-file-input`,accept:this.accept,multiple:this.mergedMultiple,onChange:this.handleFileInputChange,webkitdirectory:a||void 0,directory:a||void 0}));return this.abstract?Jr(pr,null,null===(t=r.default)||void 0===t?void 0:t.call(r),Jr(mn,{to:"body"},l)):(null==i||i(),Jr("div",{class:[`${o}-upload`,n.value&&`${o}-upload--dragger-inside`,this.dragOver&&`${o}-upload--drag-over`,this.themeClass],style:this.cssVars},l,this.showTrigger&&"image-card"!==this.listType&&Jr(Q8,null,r),this.showFileList&&Jr(J8,null,r)))}});const a9=()=>({}),i9={name:"light",common:Eq,Alert:gY,Anchor:SY,AutoComplete:UY,Avatar:nG,AvatarGroup:aG,BackTop:dG,Badge:uG,Breadcrumb:fG,Button:xG,ButtonGroup:M7,Calendar:eQ,Card:rQ,Carousel:uQ,Cascader:bQ,Checkbox:mQ,Code:OQ,Collapse:IQ,CollapseTransition:LQ,ColorPicker:HQ,DataTable:XJ,DatePicker:S0,Descriptions:O4,Dialog:N4,Divider:J2,Drawer:r7,Dropdown:EJ,DynamicInput:s7,DynamicTags:C7,Element:P7,Empty:yK,Equation:{name:"Equation",common:Eq,self:a9},Ellipsis:VJ,Flex:F7,Form:O7,GradientText:B7,Icon:N1,IconWrapper:l6,Image:c6,Input:zY,InputNumber:L7,Layout:N7,LegacyTransfer:F6,List:U7,LoadingBar:h2,Log:Y7,Menu:Q7,Mention:X7,Message:C2,Modal:G4,Notification:D2,PageHeader:n5,Pagination:RJ,Popconfirm:i5,Popover:IK,Popselect:fJ,Progress:d5,QrCode:V6,Radio:KJ,Rate:h5,Row:W7,Result:m5,Scrollbar:Nq,Skeleton:G6,Select:CJ,Slider:y5,Space:g7,Spin:x5,Statistic:S5,Steps:R5,Switch:$5,Table:D5,Tabs:L5,Tag:eY,Thing:H5,TimePicker:_0,Timeline:q5,Tooltip:HJ,Transfer:G5,Tree:Z5,TreeSelect:e3,Typography:o3,Upload:i3,Watermark:d3,Split:t8,FloatButton:h3,FloatButtonGroup:c3,Marquee:M6},l9={name:"dark",common:KU,Alert:vY,Anchor:kY,AutoComplete:qY,Avatar:oG,AvatarGroup:iG,BackTop:sG,Badge:cG,Breadcrumb:mG,Button:CG,ButtonGroup:z7,Calendar:tQ,Card:aQ,Carousel:hQ,Cascader:yQ,Checkbox:vQ,Code:AQ,Collapse:BQ,CollapseTransition:jQ,ColorPicker:WQ,DataTable:ZJ,DatePicker:k0,Descriptions:D4,Dialog:H4,Divider:e7,Drawer:a7,Dropdown:LJ,DynamicInput:l7,DynamicTags:x7,Element:k7,Empty:_K,Ellipsis:WJ,Equation:{name:"Equation",common:KU,self:a9},Flex:R7,Form:D7,GradientText:I7,Icon:H1,IconWrapper:s6,Image:d6,Input:FY,InputNumber:E7,LegacyTransfer:R6,Layout:j7,List:q7,LoadingBar:u2,Log:K7,Menu:J7,Mention:G7,Message:w2,Modal:X4,Notification:I2,PageHeader:o5,Pagination:FJ,Popconfirm:l5,Popover:BK,Popselect:pJ,Progress:c5,QrCode:W6,Radio:qJ,Rate:u5,Result:v5,Row:H7,Scrollbar:Hq,Select:wJ,Skeleton:Y6,Slider:b5,Space:v7,Spin:C5,Statistic:k5,Steps:F5,Switch:M5,Table:I5,Tabs:j5,Tag:JK,Thing:W5,TimePicker:x0,Timeline:U5,Tooltip:NJ,Transfer:Y5,Tree:Q5,TreeSelect:J5,Typography:r3,Upload:l3,Watermark:s3,Split:e8,FloatButton:u3,FloatButtonGroup:{name:"FloatButtonGroup",common:KU,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},Marquee:$6},{loadingBar:s9}=Z2(["loadingBar"]),{routeGroup:d9,routes:c9}=zs(Object.assign({"../views/404/index.tsx":()=>xs((()=>import("./index-BG636NtA.js")),[],import.meta.url),"../views/authApiManage/index.tsx":()=>xs((()=>import("./index-C9c_68Du.js")),[],import.meta.url),"../views/autoDeploy/index.tsx":()=>xs((()=>import("./index-hczkfvnm.js").then((e=>e.i))),[],import.meta.url),"../views/certApply/index.tsx":()=>xs((()=>import("./index-Dfrf5BrW.js")),[],import.meta.url),"../views/certManage/index.tsx":()=>xs((()=>import("./index-g3SGqAl4.js")),[],import.meta.url),"../views/home/index.tsx":()=>xs((()=>import("./index-D5MR8xE9.js")),[],import.meta.url),"../views/layout/index.tsx":()=>xs((()=>import("./index-hQeompmg.js")),[],import.meta.url),"../views/login/index.tsx":()=>xs((()=>import("./index-BvQPqw9E.js")),[],import.meta.url),"../views/monitor/index.tsx":()=>xs((()=>import("./index-CqgNeDtu.js")),[],import.meta.url),"../views/settings/index.tsx":()=>xs((()=>import("./index-CrzggPms.js")),[],import.meta.url)}),Object.assign({"../views/autoDeploy/children/workflowView/index.tsx":()=>xs((()=>import("./index-B4jjq-On.js")),[],import.meta.url)}),{framework:fA.frameworkRoute,system:fA.systemRoute,sort:fA.sortRoute,disabled:fA.disabledRoute}),u9=((e={routes:[],history:Rl(),scrollBehavior:()=>({left:0,top:0})})=>vs({...e}))({routes:d9,history:Rl()});var h9;((e,{beforeEach:t,afterEach:n}={})=>{e.beforeEach(((e,n,o)=>{t&&t(e,n,o)})),e.afterEach(((e,t,o)=>{n&&n(e,t,o)}))})(h9=u9,{beforeEach:(e,t,n)=>{if(s9.start(),!h9.hasRoute(e.name)&&!e.path.includes("/404"))return n({path:"/404"});n()},afterEach:e=>{s9.finish()}});const p9={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},f9=$n({name:"DownOutlined",render:function(e,t){return yr(),wr("svg",p9,t[0]||(t[0]=[Fr("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2L227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z",fill:"currentColor"},null,-1)]))}}),m9={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},v9=$n({name:"UpOutlined",render:function(e,t){return yr(),wr("svg",m9,t[0]||(t[0]=[Fr("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 0 0 140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z",fill:"currentColor"},null,-1)]))}}),g9=(e,...t)=>{let n=0;return e.replace(/\{\}/g,(()=>void 0!==t[n]?t[n++]:""))},b9={zhCN:{useModal:{cannotClose:"当前状态无法关闭弹窗",cancel:"取消",confirm:"确认"},useBatch:{batchOperation:"批量操作",selectedItems:e=>g9("已选择 {} 项",e),startBatch:"开始批量操作",placeholder:"请选择操作"},useForm:{submit:"提交",reset:"重置",expand:"展开",collapse:"收起",moreConfig:"更多配置",help:"帮助文档",required:"必填项",placeholder:e=>g9("请输入{}",e)},useFullScreen:{exit:"退出全屏",enter:"进入全屏"},useTable:{operation:"操作"}},zhTW:{useModal:{cannotClose:"當前狀態無法關閉彈窗",cancel:"取消",confirm:"確認"},useBatch:{batchOperation:"批量操作",selectedItems:e=>g9("已選擇 {} 項",e),startBatch:"開始批量操作",placeholder:"請選擇操作"},useForm:{submit:"提交",reset:"重置",expand:"展開",collapse:"收起",moreConfig:"更多配置",help:"幫助文檔",required:"必填項",placeholder:e=>g9("請輸入{}",e)},useFullScreen:{exit:"退出全屏",enter:"進入全屏"},useTable:{operation:"操作"}},enUS:{useModal:{cannotClose:"Cannot close the dialog in current state",cancel:"Cancel",confirm:"Confirm"},useBatch:{batchOperation:"Batch Operation",selectedItems:e=>g9("{} items selected",e),startBatch:"Start Batch Operation",placeholder:"Select operation"},useForm:{submit:"Submit",reset:"Reset",expand:"Expand",collapse:"Collapse",moreConfig:"More Configuration",help:"Help Documentation",required:"Required",placeholder:e=>g9("Please enter {}",e)},useFullScreen:{exit:"Exit Fullscreen",enter:"Enter Fullscreen"},useTable:{operation:"Operation"}},jaJP:{useModal:{cannotClose:"現在の状態ではダイアログを閉じることができません",cancel:"キャンセル",confirm:"確認"},useBatch:{batchOperation:"バッチ操作",selectedItems:e=>g9("{}項目が選択されました",e),startBatch:"バッチ操作を開始",placeholder:"操作を選択"},useForm:{submit:"提出する",reset:"リセット",expand:"展開",collapse:"折りたたみ",moreConfig:"詳細設定",help:"ヘルプドキュメント",required:"必須",placeholder:e=>g9("{}を入力してください",e)},useFullScreen:{exit:"全画面表示を終了",enter:"全画面表示に入る"},useTable:{operation:"操作"}},ruRU:{useModal:{cannotClose:"Невозможно закрыть диалог в текущем состоянии",cancel:"Отмена",confirm:"Подтвердить"},useBatch:{batchOperation:"Пакетная операция",selectedItems:e=>g9("Выбрано {} элементов",e),startBatch:"Начать пакетную операцию",placeholder:"Выберите операцию"},useForm:{submit:"Отправить",reset:"Сбросить",expand:"Развернуть",collapse:"Свернуть",moreConfig:"Дополнительная конфигурация",help:"Документация",required:"Обязательно",placeholder:e=>g9("Пожалуйста, введите {}",e)},useFullScreen:{exit:"Выйти из полноэкранного режима",enter:"Войти в полноэкранный режим"},useTable:{operation:"Операция"}},koKR:{useModal:{cannotClose:"현재 상태에서는 대화 상자를 닫을 수 없습니다",cancel:"취소",confirm:"확인"},useBatch:{batchOperation:"일괄 작업",selectedItems:e=>g9("{}개 항목 선택됨",e),startBatch:"일괄 작업 시작",placeholder:"작업 선택"},useForm:{submit:"제출",reset:"재설정",expand:"확장",collapse:"축소",moreConfig:"추가 구성",help:"도움말",required:"필수 항목",placeholder:e=>g9("{} 입력하세요",e)},useFullScreen:{exit:"전체 화면 종료",enter:"전체 화면 시작"},useTable:{operation:"작업"}},ptBR:{useModal:{cannotClose:"Não é possível fechar o diálogo no estado atual",cancel:"Cancelar",confirm:"Confirmar"},useBatch:{batchOperation:"Operação em Lote",selectedItems:e=>g9("{} itens selecionados",e),startBatch:"Iniciar Operação em Lote",placeholder:"Selecione a operação"},useForm:{submit:"Enviar",reset:"Redefinir",expand:"Expandir",collapse:"Recolher",moreConfig:"Mais Configurações",help:"Documentação de Ajuda",required:"Obrigatório",placeholder:e=>g9("Por favor, insira {}",e)},useFullScreen:{exit:"Sair da Tela Cheia",enter:"Entrar em Tela Cheia"},useTable:{operation:"Operação"}},frFR:{useModal:{cannotClose:"Impossible de fermer la boîte de dialogue dans l'état actuel",cancel:"Annuler",confirm:"Confirmer"},useBatch:{batchOperation:"Opération par lot",selectedItems:e=>g9("{} éléments sélectionnés",e),startBatch:"Démarrer une opération par lot",placeholder:"Sélectionnez une opération"},useForm:{submit:"Soumettre",reset:"Réinitialiser",expand:"Développer",collapse:"Réduire",moreConfig:"Plus de configuration",help:"Documentation d'aide",required:"Obligatoire",placeholder:e=>g9("Veuillez entrer {}",e)},useFullScreen:{exit:"Quitter le mode plein écran",enter:"Passer en mode plein écran"},useTable:{operation:"Opération"}},esAR:{useModal:{cannotClose:"No se puede cerrar el diálogo en el estado actual",cancel:"Cancelar",confirm:"Confirmar"},useBatch:{batchOperation:"Operación por lotes",selectedItems:e=>g9("{} elementos seleccionados",e),startBatch:"Iniciar operación por lotes",placeholder:"Seleccionar operación"},useForm:{submit:"Enviar",reset:"Restablecer",expand:"Expandir",collapse:"Colapsar",moreConfig:"Más configuración",help:"Documentación de ayuda",required:"Obligatorio",placeholder:e=>g9("Por favor ingrese {}",e)},useFullScreen:{exit:"Salir de pantalla completa",enter:"Entrar en pantalla completa"},useTable:{operation:"Operación"}},arDZ:{useModal:{cannotClose:"لا يمكن إغلاق مربع الحوار في الحالة الحالية",cancel:"إلغاء",confirm:"تأكيد"},useBatch:{batchOperation:"عملية دفعية",selectedItems:e=>g9("تم تحديد {} عنصر",e),startBatch:"بدء عملية دفعية",placeholder:"اختر العملية"},useForm:{submit:"إرسال",reset:"إعادة تعيين",expand:"توسيع",collapse:"طي",moreConfig:"مزيد من الإعدادات",help:"وثائق المساعدة",required:"إلزامي",placeholder:e=>g9("الرجاء إدخال {}",e)},useFullScreen:{exit:"الخروج من وضع ملء الشاشة",enter:"الدخول إلى وضع ملء الشاشة"},useTable:{operation:"العملية"}}};function y9(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!kr(e)}const _9=localStorage.getItem("locale-active")||"zhCN",x9=(e,t)=>{const n=_9.replace("-","_").replace(/"/g,""),o=b9[n].useForm[e]||b9.zhCN.useForm[e];return"function"==typeof o?o(t||""):o},C9={input:BY,inputNumber:P6,inputGroup:LY,select:kJ,radio:m1,radioButton:v1,checkbox:wQ,switch:r8,datepicker:M4,timepicker:k4,colorPicker:uJ,slider:J6,rate:K6,transfer:u8,mention:O6,dynamicInput:f7,dynamicTags:S7,autoComplete:GY,cascader:$Q,treeSelect:A8,upload:r9,uploadDragger:B8},w9=(e,t,n,o,r,a)=>{const{prefixElements:i,suffixElements:l}=(e=>({prefixElements:(null==e?void 0:e.prefix)?e.prefix.map((e=>({type:"render",render:e}))):[],suffixElements:(null==e?void 0:e.suffix)?e.suffix.map((e=>({type:"render",render:e}))):[]}))(a);return{type:"formItem",label:e,path:t,required:!0,children:[...i,{type:n,field:t,..."input"===n?{placeholder:x9("placeholder",e)}:{},...o},...l],...r}};function S9(e){const t=Y();return t.run((()=>{const{config:n,request:o,defaultValue:r={},rules:a}=e,i=vt(!1),l=vt(null),s=mt(r)?r:vt(r),d=vt(n),c=gt({...a}),u=vt({labelPlacement:"left",labelWidth:"8rem"}),h=(e,t)=>{var n;const o=e=>"slot"===e.type,r=e=>"custom"===e.type;return o(e)?(null==(n=null==t?void 0:t[e.slot])?void 0:n.call(t,s,l))??null:r(e)?e.render(s,l):o(a=e)||r(a)?null:(e=>{let t=e.type;["textarea","password"].includes(t)&&(t="input");const n=C9[t];if(!n)return null;const{field:o,...r}=e;if(["radio","radioButton"].includes(t)){const n=e;return zr(b1,{value:F9(s.value,o),onUpdateValue:e=>{z9(s.value,o,e)}},{default:()=>{var e;return[null==(e=n.options)?void 0:e.map((e=>zr("radio"===t?m1:v1,Ir({value:e.value},r),{default:()=>[e.label]})))]}})}if(["checkbox"].includes(t)){const t=e;return zr(xQ,Ir({value:F9(s.value,o),onUpdateValue:e=>{z9(s.value,o,e)}},r),{default:()=>{var e;return[null==(e=t.options)?void 0:e.map((e=>zr(wQ,Ir({value:e.value},r),{default:()=>[e.label]})))]}})}return zr(n,Ir({value:F9(s.value,o),onUpdateValue:e=>{z9(s.value,o,e)}},r),null)})(e);var a},p=(e,t)=>{let n;if("custom"===e.type)return e.render(s,l);if("slot"===e.type)return h(e,t);const{children:o,type:r,...a}=e;if("formItemGi"===r){let e;return zr(n6,a,y9(e=o.map((e=>h(e,t))))?e:{default:()=>[e]})}return zr(X3,a,y9(n=o.map((e=>h(e,t))))?n:{default:()=>[n]})},f=async()=>{if(!l.value)return!1;try{return await l.value.validate(),!0}catch{return!1}};return X((()=>{t.stop()})),{component:(e,t)=>{let n;return zr(g3,Ir({ref:l,model:s.value,rules:c.value,labelPlacement:"left"},u,e),y9(n=d.value.map((e=>"grid"===e.type?((e,t)=>{let n;const{children:o,...r}=e;return zr(a6,r,y9(n=o.map((e=>p(e,t))))?n:{default:()=>[n]})})(e,t.slots):p(e,t.slots))))?n:{default:()=>[n]})},example:l,data:s,loading:i,config:d,props:u,rules:c,dataToRef:()=>Pt(s.value),fetch:async()=>{if(o)try{i.value=!0;if(!(await f()))throw new Error("表单验证失败");return await o(s.value,l)}catch(e){throw new Error("表单验证失败")}finally{i.value=!1}},reset:()=>{var e;null==(e=l.value)||e.restoreValidation(),s.value=Object.assign({},mt(r)?r.value:r)},validate:f}}))}const k9=(e,t,n,o,r)=>w9(e,t,"input",{placeholder:x9("placeholder",e),...n},o,r),P9=(e,t,n,o,r)=>w9(e,t,"input",{type:"textarea",placeholder:x9("placeholder",e),...n},o,r),T9=(e,t,n,o,r)=>w9(e,t,"input",{type:"password",placeholder:x9("placeholder",e),...n},o,r),R9=(e,t,n,o,r)=>w9(e,t,"inputNumber",{showButton:!1,...n},o,r);function F9(e,t){return t.includes(".")?t.split(".").reduce(((e,t)=>e&&void 0!==e[t]?e[t]:void 0),e):e[t]}const z9=(e,t,n)=>{if(t.includes(".")){const o=t.split("."),r=o.pop();o.reduce(((e,t)=>(void 0===e[t]&&(e[t]={}),e[t])),e)[r]=n}else e[t]=n},M9=e=>({type:"custom",render:(t,n)=>zr("div",{class:"flex"},[e.map((e=>{let o;if("custom"===e.type)return e.render(t,n);const{children:r,...a}=e;return zr(X3,a,y9(o=r.map((e=>{if("render"===e.type||"custom"===e.type)return e.render(t,n);let o=e.type;["textarea","password"].includes(e.type)&&(o="input");const r=C9[o];if(!r)return null;const{field:a,...i}=e;return zr(r,Ir({value:F9(t.value,a),onUpdateValue:e=>{z9(t.value,a,e)}},i),null)})))?o:{default:()=>[o]})}))])}),$9=(e,t,n,o,r,a)=>w9(e,t,"select",{options:n,...o},r,a),A9=e=>({type:"slot",slot:e||"default"}),O9=e=>({type:"custom",render:e}),D9=(e,t,n,o,r,a)=>w9(e,t,"radio",{options:n,...o},r,a||{}),I9=(e,t,n,o,r,a)=>w9(e,t,"radioButton",{options:n,...o},r,a||{}),B9=(e,t,n,o,r,a)=>w9(e,t,"checkbox",{options:n,...o},r,a||{}),E9=(e,t,n,o,r)=>w9(e,t,"switch",{...n},o,r),L9=(e,t,n,o,r)=>w9(e,t,"datepicker",{...n},o,r),j9=(e,t,n,o,r)=>w9(e,t,"timepicker",{...n},o,r),N9=(e,t,n,o,r)=>w9(e,t,"slider",{...n},o,r),H9=(e,t)=>({type:"custom",render:()=>zr(n7,{class:"cursor-pointer w-full",style:{marginTop:"0"},onClick:()=>e.value=!e.value},{default:()=>[zr("div",{class:"flex items-center w-full",style:{color:"var(--n-color-target)"}},[zr("span",{class:"mr-[4px] text-[1.4em]"},[e.value?x9("collapse"):x9("expand"),t||x9("moreConfig")]),zr(V1,null,{default:()=>[e.value?zr(f9,null,null):zr(v9,null,null)]})])]})}),W9=(e,t)=>{const n=Ft(e);return{type:"custom",render:()=>zr("ul",Ir({class:`mt-[2px] leading-[2rem] text-[1.4rem] list-${(null==t?void 0:t.listStyle)||"disc"}`,style:"color: var(--n-close-icon-color);margin-left: 1.6rem; line-height:2.2rem;"},t),[n.value.map(((e,t)=>e.isHtml?zr("li",{key:t,innerHTML:e.content},null):zr("li",{key:t},[e.content])))])}},V9=()=>({useFormInput:k9,useFormTextarea:P9,useFormPassword:T9,useFormInputNumber:R9,useFormSelect:$9,useFormSlot:A9,useFormCustom:O9,useFormGroup:M9,useFormRadio:D9,useFormRadioButton:I9,useFormCheckbox:B9,useFormSwitch:E9,useFormDatepicker:L9,useFormTimepicker:j9,useFormSlider:N9,useFormMore:H9,useFormHelp:W9});function U9(e){return"function"==typeof e?e():_t(e)}const q9="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const K9=Object.prototype.toString,Y9=()=>{};const G9=e=>e();function X9(e,t,n={}){const{eventFilter:o=G9,...r}=n;return er(e,(a=o,i=t,function(...e){return new Promise(((t,n)=>{Promise.resolve(a((()=>i.apply(this,e)),{fn:i,thisArg:this,args:e})).then(t).catch(n)}))}),r);var a,i}function Z9(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:a,pause:i,resume:l,isActive:s}=function(e=G9){const t=vt(!0);return{isActive:at(t),pause:function(){t.value=!1},resume:function(){t.value=!0},eventFilter:(...n)=>{t.value&&e(...n)}}}(o);return{stop:X9(e,t,{...r,eventFilter:a}),pause:i,resume:l,isActive:s}}function Q9(e,t=!0,n){Nr()?Kn(e,n):t?e():Kt(e)}function J9(e){var t;const n=U9(e);return null!=(t=null==n?void 0:n.$el)?t:n}const eee=q9?window:void 0;function tee(...e){let t,n,o,r;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,r]=e,t=eee):[t,n,o,r]=e,!t)return Y9;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach((e=>e())),a.length=0},l=er((()=>[J9(t),U9(r)]),(([e,t])=>{if(i(),!e)return;const r=(l=t,"[object Object]"===K9.call(l)?{...t}:t);var l;a.push(...n.flatMap((t=>o.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,r))))))}),{immediate:!0,flush:"post"}),s=()=>{l(),i()};var d;return d=s,G()&&X(d),s}const nee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},oee="__vueuse_ssr_handlers__",ree=aee();function aee(){return oee in nee||(nee[oee]=nee[oee]||{}),nee[oee]}const iee={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},lee="vueuse-storage";function see(e,t,n,o={}){var r;const{flush:a="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:d=!1,shallow:c,window:u=eee,eventFilter:h,onError:p=e=>{},initOnMounted:f}=o,m=(c?gt:vt)(t);if(!n)try{n=function(e,t){return ree[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=eee)?void 0:e.localStorage}))()}catch(Nte){p(Nte)}if(!n)return m;const v=U9(t),g=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(v),b=null!=(r=o.serializer)?r:iee[g],{pause:y,resume:_}=Z9(m,(()=>function(t){try{const o=n.getItem(e);if(null==t)x(o,null),n.removeItem(e);else{const r=b.write(t);o!==r&&(n.setItem(e,r),x(o,r))}}catch(Nte){p(Nte)}}(m.value)),{flush:a,deep:i,eventFilter:h});function x(t,o){u&&u.dispatchEvent(new CustomEvent(lee,{detail:{key:e,oldValue:t,newValue:o,storageArea:n}}))}function C(t){if(!t||t.storageArea===n)if(t&&null==t.key)m.value=v;else if(!t||t.key===e){y();try{(null==t?void 0:t.newValue)!==b.write(m.value)&&(m.value=function(t){const o=t?t.newValue:n.getItem(e);if(null==o)return s&&null!=v&&n.setItem(e,b.write(v)),v;if(!t&&d){const e=b.read(o);return"function"==typeof d?d(e,v):"object"!==g||Array.isArray(e)?e:{...v,...e}}return"string"!=typeof o?o:b.read(o)}(t))}catch(Nte){p(Nte)}finally{t?Kt(_):_()}}}function w(e){C(e.detail)}return u&&l&&Q9((()=>{tee(u,"storage",C),tee(u,lee,w),f&&C()})),f||C(),m}const dee=Object.assign({"./default/style.css":()=>xs((()=>Promise.resolve({})),[],import.meta.url).then((e=>e.default)),"./ssl/style.css":()=>xs((()=>Promise.resolve({})),[],import.meta.url).then((e=>e.default))}),cee={defaultLight:{name:"defaultLight",type:"light",title:"默认亮色主题",import:async()=>(await xs((async()=>{const{defaultLight:e}=await import("./index-BG09xsbY.js");return{defaultLight:e}}),[],import.meta.url)).defaultLight,styleContent:async()=>await dee["./default/style.css"]()},defaultDark:{name:"defaultDark",type:"dark",title:"默认暗色主题",import:async()=>(await xs((async()=>{const{defaultDark:e}=await import("./index-BG09xsbY.js");return{defaultDark:e}}),[],import.meta.url)).defaultDark,styleContent:async()=>await dee["./default/style.css"]()}},uee=new Map,hee=e=>{if(uee.has(e))return uee.get(e);const t=e.replace(/([a-z])([A-Z0-9])/g,"$1-$2").replace(/([0-9])([a-zA-Z])/g,"$1-$2").toLowerCase();return uee.set(e,t),t},pee=e=>{const t=function(e,t,n={}){const{window:o=eee}=n;return see(e,t,null==o?void 0:o.localStorage,n)}("theme-active","defaultLight"),n=vt(null),o=vt(!1),r=Qr((()=>o.value?l9:i9)),a=Qr((()=>{var e;return(null==(e=n.value)?void 0:e.themeOverrides)||{}})),i=Qr((()=>n.value&&n.value||{})),l=e=>{const n=document.documentElement;n.classList.remove("animate-to-light","animate-to-dark"),n.classList.add(o.value?"animate-to-light":"animate-to-dark"),t.value=o.value?"defaultDark":"defaultLight",setTimeout((()=>{n.classList.remove("animate-to-light","animate-to-dark")}),500)},s=(e,t)=>{let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=e},d=async e=>{try{const t=cee[e];if(!t)return;const o=await t.import(),r=await t.styleContent();(r||r)&&s(r,"theme-style"),n.value=o}catch(t){}},c=Y();return c.run((()=>{er(t,(e=>{t.value&&document.documentElement.classList.remove(t.value),document.documentElement.classList.add(e),t.value=e,d(e)}),{immediate:!0}),X((()=>{c.stop()}))})),{theme:r,themeOverrides:a,presetsOverrides:i,isDark:o,themeActive:t,getThemeList:()=>{const e=[];for(const t in cee)e.push(cee[t]);return e},cutDarkModeAnimation:l,cutDarkMode:(e=!1,n)=>{o.value=!o.value,e?l(n?{clientX:n.clientX,clientY:n.clientY}:void 0):t.value=o.value?"defaultDark":"defaultLight"},loadThemeStyles:d,loadDynamicCss:s}},fee=e=>{const t=function(){const e=Ro(hE,null);return Qr((()=>{if(null===e)return Eq;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(null==t?void 0:t.common)||Eq;return(null==n?void 0:n.common)?Object.assign({},o,n.common):o}))}(),n=vt(""),o=Y();return o.run((()=>{er(t,(t=>{const o=[];for(const n of e)if(n in t){const e=hee(n);o.push(`--n-${e}: ${t[n]};`)}n.value=o.join("\n")}),{immediate:!0}),X((()=>{o.stop()}))})),n};function mee(){const e=Nr();if(e&&(null==e?void 0:e.setupContext)){const e=z2();return{...e,request:(t,n)=>t.status?e.success(t.message,n):e.error(t.message,n)}}const{theme:t,themeOverrides:n}=pee(),o=Qr((()=>({theme:t.value,themeOverrides:n.value}))),{message:r,unmount:a}=Z2(["message"],{configProviderProps:o}),i=e=>(t,n={})=>{const o={...n,onAfterLeave:()=>{var e;null==(e=n.onAfterLeave)||e.call(n),a()}};return e(t,o)},l={...r,info:i(r.info),success:i(r.success),warning:i(r.warning),error:i(r.error),loading:i(r.loading),request:(e,t={})=>{const n={...t,onAfterLeave:()=>{var e;null==(e=t.onAfterLeave)||e.call(t),a()}};return e.status?i(r.success)(e.message,n):i(r.error)(e.message,n)}};return l}function vee({config:e,request:t,defaultValue:n=vt({}),watchValue:o=!1}){const r=Y();return r.run((()=>{const a=gt(e),i=vt(!1),l=vt({list:[],total:0}),s=vt({total:"total",list:"list"}),d=vt(),c=mt(n)?n:vt({...n}),u=vt(0),h=gt({}),{error:p}=mee(),f=async()=>{try{i.value=!0;const e=await t(c.value);return u.value=e[s.value.total],l.value={list:e[s.value.list],total:e[s.value.total]},l.value}catch(e){p(e.message)}finally{i.value=!1}};if(Array.isArray(o)){er(Qr((()=>o.map((e=>c.value[e])))),f,{deep:!0})}return Zn((()=>{r.stop()})),{loading:i,example:d,data:l,alias:s,param:c,total:u,reset:async()=>(c.value=n.value,await f()),fetch:f,component:(e,t)=>{const{slots:n,...o}=e,r=t;return zr(g0,Ir({remote:!0,ref:d,loading:i.value,data:l.value.list,columns:a.value},e,o),{empty:()=>{var e,t;return(null==n?void 0:n.empty)||(null==(e=null==r?void 0:r.slots)?void 0:e.empty)?(null==n?void 0:n.empty())||(null==(t=null==r?void 0:r.slots)?void 0:t.empty()):null},loading:()=>{var e,t;return(null==n?void 0:n.loading)||(null==(e=null==r?void 0:r.slots)?void 0:e.loading)?(null==n?void 0:n.loading())||(null==(t=null==r?void 0:r.slots)?void 0:t.loading()):null}})},config:a,props:h}}))}localStorage.getItem("locale-active");const gee=({param:e,total:t,alias:n={page:"page",pageSize:"page_size"},props:o={},slot:r={},refresh:a=()=>{}})=>{const i=Y();return i.run((()=>{const{page:l,pageSize:s}={page:"page",pageSize:"page_size",...n},d=vt([10,20,50,100,200]),c=vt({...o});e.value[l]||(e.value[l]=1),e.value[s]||(e.value[s]=20);const u=t=>{e.value={...e.value,[l]:t},a&&a()},h=t=>{e.value={...e.value,[l]:1,[s]:t},a&&a()};return Zn((()=>{i.stop()})),{component:(n,o)=>{const a={...r,...o.slots||{}};return zr(DJ,Ir({page:e.value[l],pageSize:e.value[s],itemCount:t.value,pageSizes:d.value,showSizePicker:!0,onUpdatePage:u,onUpdatePageSize:h},c.value,n),a)},handlePageChange:u,handlePageSizeChange:h,pageSizeOptions:d}}))},bee=[{type:"zhCN",name:"简体中文",locale:_E,dateLocale:$L},{type:"zhTW",name:"繁體中文 ",locale:{name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},dateLocale:AL},{type:"enUS",name:"English",locale:yE,dateLocale:kL},{type:"jaJP",name:"日本語",locale:{name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},dateLocale:RL},{type:"ruRU",name:"Русский",locale:{name:"ru-RU",global:{undo:"Отменить",redo:"Вернуть",confirm:"Подтвердить",clear:"Очистить"},Popconfirm:{positiveText:"Подтвердить",negativeText:"Отмена"},Cascader:{placeholder:"Выбрать",loading:"Загрузка",loadingRequiredMessage:e=>`Загрузите все дочерние узлы ${e} прежде чем они станут необязательными`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Очистить",now:"Сейчас",confirm:"Подтвердить",selectTime:"Выбрать время",selectDate:"Выбрать дату",datePlaceholder:"Выбрать дату",datetimePlaceholder:"Выбрать дату и время",monthPlaceholder:"Выберите месяц",yearPlaceholder:"Выберите год",quarterPlaceholder:"Выберите квартал",weekPlaceholder:"Select Week",startDatePlaceholder:"Дата начала",endDatePlaceholder:"Дата окончания",startDatetimePlaceholder:"Дата и время начала",endDatetimePlaceholder:"Дата и время окончания",startMonthPlaceholder:"Начало месяца",endMonthPlaceholder:"Конец месяца",monthBeforeYear:!0,firstDayOfWeek:0,today:"Сегодня"},DataTable:{checkTableAll:"Выбрать все в таблице",uncheckTableAll:"Отменить все в таблице",confirm:"Подтвердить",clear:"Очистить"},LegacyTransfer:{sourceTitle:"Источник",targetTitle:"Назначение"},Transfer:{selectAll:"Выбрать все",unselectAll:"Снять все",clearAll:"Очистить",total:e=>`Всего ${e} элементов`,selected:e=>`${e} выбрано элементов`},Empty:{description:"Нет данных"},Select:{placeholder:"Выбрать"},TimePicker:{placeholder:"Выбрать время",positiveText:"OK",negativeText:"Отменить",now:"Сейчас",clear:"Очистить"},Pagination:{goto:"Перейти",selectionSuffix:"страница"},DynamicTags:{add:"Добавить"},Log:{loading:"Загрузка"},Input:{placeholder:"Ввести"},InputNumber:{placeholder:"Ввести"},DynamicInput:{create:"Создать"},ThemeEditor:{title:"Редактор темы",clearAllVars:"Очистить все",clearSearch:"Очистить поиск",filterCompName:"Фильтровать по имени компонента",filterVarName:"Фильтровать имена переменных",import:"Импорт",export:"Экспорт",restore:"Сбросить"},Image:{tipPrevious:"Предыдущее изображение (←)",tipNext:"Следующее изображение (→)",tipCounterclockwise:"Против часовой стрелки",tipClockwise:"По часовой стрелке",tipZoomOut:"Отдалить",tipZoomIn:"Приблизить",tipDownload:"Скачать",tipClose:"Закрыть (Esc)",tipOriginalSize:"Вернуть исходный размер"}},dateLocale:ML},{type:"koKR",name:"한국어",locale:{name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},dateLocale:FL},{type:"ptBR",name:"Português",locale:{name:"pt-BR",global:{undo:"Desfazer",redo:"Refazer",confirm:"Confirmar",clear:"Limpar"},Popconfirm:{positiveText:"Confirmar",negativeText:"Cancelar"},Cascader:{placeholder:"Por favor selecione",loading:"Carregando",loadingRequiredMessage:e=>`Carregue todos os descendentes de ${e} antes de verificar.`},Time:{dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy/MM",dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss",quarterFormat:"yyyy/qqq",weekFormat:"YYYY-w",clear:"Limpar",now:"Agora",confirm:"Confirmar",selectTime:"Selecione a hora",selectDate:"Selecione a data",datePlaceholder:"Selecione a data",datetimePlaceholder:"Selecione a data e hora",monthPlaceholder:"Selecione o mês",yearPlaceholder:"Selecione o ano",quarterPlaceholder:"Selecione o trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Selecione a data de início",endDatePlaceholder:"Selecione a data de término",startDatetimePlaceholder:"Selecione a data e hora de início",endDatetimePlaceholder:"Selecione a data e hora de término",startMonthPlaceholder:"Selecione o mês de início",endMonthPlaceholder:"Selecione o mês de término",monthBeforeYear:!0,firstDayOfWeek:6,today:"Hoje"},DataTable:{checkTableAll:"Selecionar todos na tabela",uncheckTableAll:"Desmarcar todos na tabela",confirm:"Confirmar",clear:"Limpar"},LegacyTransfer:{sourceTitle:"Origem",targetTitle:"Destino"},Transfer:{selectAll:"Selecionar todos",unselectAll:"Desmarcar todos",clearAll:"Limpar",total:e=>`Total ${e} itens`,selected:e=>`${e} itens selecionados`},Empty:{description:"Não há dados"},Select:{placeholder:"Por favor selecione"},TimePicker:{placeholder:"Selecione a hora",positiveText:"OK",negativeText:"Cancelar",now:"Agora",clear:"Limpar"},Pagination:{goto:"Ir para",selectionSuffix:"página"},DynamicTags:{add:"Adicionar"},Log:{loading:"Carregando"},Input:{placeholder:"Por favor digite"},InputNumber:{placeholder:"Por favor digite"},DynamicInput:{create:"Criar"},ThemeEditor:{title:"Editor de temas",clearAllVars:"Limpar todas as variáveis",clearSearch:"Limpar pesquisa",filterCompName:"Filtrar nome do componente",filterVarName:"Filtrar nome da variável",import:"Importar",export:"Exportar",restore:"Restaurar"},Image:{tipPrevious:"Foto anterior (←)",tipNext:"Próxima foto (→)",tipCounterclockwise:"Sentido anti-horário",tipClockwise:"Sentido horário",tipZoomOut:"Reduzir o zoom",tipZoomIn:"Aumentar o zoom",tipDownload:"Download",tipClose:"Fechar (Esc)",tipOriginalSize:"Exibir no tamanho original"}},dateLocale:zL},{type:"frFR",name:"Français",locale:{name:"fr-FR",global:{undo:"Défaire",redo:"Refaire",confirm:"Confirmer",clear:"Effacer"},Popconfirm:{positiveText:"Confirmer",negativeText:"Annuler"},Cascader:{placeholder:"Sélectionner",loading:"Chargement",loadingRequiredMessage:e=>`Charger tous les enfants de ${e} avant de le sélectionner`},Time:{dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss",quarterFormat:"qqq yyyy",weekFormat:"YYYY-w",clear:"Effacer",now:"Maintenant",confirm:"Confirmer",selectTime:"Sélectionner l'heure",selectDate:"Sélectionner la date",datePlaceholder:"Sélectionner la date",datetimePlaceholder:"Sélectionner la date et l'heure",monthPlaceholder:"Sélectionner le mois",yearPlaceholder:"Sélectionner l'année",quarterPlaceholder:"Sélectionner le trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Date de début",endDatePlaceholder:"Date de fin",startDatetimePlaceholder:"Date et heure de début",endDatetimePlaceholder:"Date et heure de fin",startMonthPlaceholder:"Mois de début",endMonthPlaceholder:"Mois de fin",monthBeforeYear:!0,firstDayOfWeek:0,today:"Aujourd'hui"},DataTable:{checkTableAll:"Sélectionner tout",uncheckTableAll:"Désélectionner tout",confirm:"Confirmer",clear:"Effacer"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Cible"},Transfer:{selectAll:"Sélectionner tout",unselectAll:"Désélectionner tout",clearAll:"Effacer",total:e=>`Total ${e} éléments`,selected:e=>`${e} éléments sélectionnés`},Empty:{description:"Aucune donnée"},Select:{placeholder:"Sélectionner"},TimePicker:{placeholder:"Sélectionner l'heure",positiveText:"OK",negativeText:"Annuler",now:"Maintenant",clear:"Effacer"},Pagination:{goto:"Aller à",selectionSuffix:"page"},DynamicTags:{add:"Ajouter"},Log:{loading:"Chargement"},Input:{placeholder:"Saisir"},InputNumber:{placeholder:"Saisir"},DynamicInput:{create:"Créer"},ThemeEditor:{title:"Éditeur de thème",clearAllVars:"Effacer toutes les variables",clearSearch:"Effacer la recherche",filterCompName:"Filtrer par nom de composant",filterVarName:"Filtrer par nom de variable",import:"Importer",export:"Exporter",restore:"Réinitialiser"},Image:{tipPrevious:"Image précédente (←)",tipNext:"Image suivante (→)",tipCounterclockwise:"Sens antihoraire",tipClockwise:"Sens horaire",tipZoomOut:"Dézoomer",tipZoomIn:"Zoomer",tipDownload:"Descargar",tipClose:"Fermer (Échap.)",tipOriginalSize:"Zoom à la taille originale"}},dateLocale:TL},{type:"esAR",name:"Español",locale:{name:"es-AR",global:{undo:"Deshacer",redo:"Rehacer",confirm:"Confirmar",clear:"Borrar"},Popconfirm:{positiveText:"Confirmar",negativeText:"Cancelar"},Cascader:{placeholder:"Seleccionar por favor",loading:"Cargando",loadingRequiredMessage:e=>`Por favor, cargue los descendientes de ${e} antes de marcarlo.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Borrar",now:"Ahora",confirm:"Confirmar",selectTime:"Seleccionar hora",selectDate:"Seleccionar fecha",datePlaceholder:"Seleccionar fecha",datetimePlaceholder:"Seleccionar fecha y hora",monthPlaceholder:"Seleccionar mes",yearPlaceholder:"Seleccionar año",quarterPlaceholder:"Seleccionar Trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Fecha de inicio",endDatePlaceholder:"Fecha final",startDatetimePlaceholder:"Fecha y hora de inicio",endDatetimePlaceholder:"Fecha y hora final",monthBeforeYear:!0,startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",firstDayOfWeek:6,today:"Hoy"},DataTable:{checkTableAll:"Seleccionar todo de la tabla",uncheckTableAll:"Deseleccionar todo de la tabla",confirm:"Confirmar",clear:"Limpiar"},LegacyTransfer:{sourceTitle:"Fuente",targetTitle:"Objetivo"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"Sin datos"},Select:{placeholder:"Seleccionar por favor"},TimePicker:{placeholder:"Seleccionar hora",positiveText:"OK",negativeText:"Cancelar",now:"Ahora",clear:"Borrar"},Pagination:{goto:"Ir a",selectionSuffix:"página"},DynamicTags:{add:"Agregar"},Log:{loading:"Cargando"},Input:{placeholder:"Ingrese datos por favor"},InputNumber:{placeholder:"Ingrese datos por favor"},DynamicInput:{create:"Crear"},ThemeEditor:{title:"Editor de Tema",clearAllVars:"Limpiar todas las variables",clearSearch:"Limpiar búsqueda",filterCompName:"Filtro para nombre del componente",filterVarName:"Filtro para nombre de la variable",import:"Importar",export:"Exportar",restore:"Restablecer los valores por defecto"},Image:{tipPrevious:"Imagen anterior (←)",tipNext:"Siguiente imagen (→)",tipCounterclockwise:"Sentido antihorario",tipClockwise:"Sentido horario",tipZoomOut:"Alejar",tipZoomIn:"Acercar",tipDownload:"Descargar",tipClose:"Cerrar (Esc)",tipOriginalSize:"Zoom to original size"}},dateLocale:PL},{type:"arDZ",name:"العربية",locale:{name:"ar-DZ",global:{undo:"تراجع",redo:"إعادة",confirm:"تأكيد",clear:"مسح"},Popconfirm:{positiveText:"تأكيد",negativeText:"إلغاء"},Cascader:{placeholder:"يرجى التحديد",loading:"جاري التحميل",loadingRequiredMessage:e=>`يرجى تحميل جميع الـ ${e} الفرعية قبل التحقق منها.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"مسح",now:"الآن",confirm:"تأكيد",selectTime:"إختيار الوقت",selectDate:"إختيار التاريخ",datePlaceholder:"إختيار التاريخ",datetimePlaceholder:"إختيار التاريخ والوقت",monthPlaceholder:"إختيار الشهر",yearPlaceholder:"إختيار السنة",quarterPlaceholder:"إختيار الربع",weekPlaceholder:"Select Week",startDatePlaceholder:"تاريخ البدء",endDatePlaceholder:"تاريخ الإنتهاء",startDatetimePlaceholder:"تاريخ ووقت البدء",endDatetimePlaceholder:"تاريخ ووقت الإنتهاء",startMonthPlaceholder:"شهر البدء",endMonthPlaceholder:"شهر الإنتهاء",monthBeforeYear:!0,firstDayOfWeek:6,today:"اليوم"},DataTable:{checkTableAll:"تحديد كل العناصر في الجدول",uncheckTableAll:"إلغاء تحديد كل العناصر في الجدول",confirm:"تأكيد",clear:"مسح"},LegacyTransfer:{sourceTitle:"المصدر",targetTitle:"الهدف"},Transfer:{selectAll:"تحديد الكل",unselectAll:"إلغاء تحديد الكل",clearAll:"مسح",total:e=>`إجمالي ${e} عنصر`,selected:e=>`${e} عنصر محدد`},Empty:{description:"لا توجد بيانات"},Select:{placeholder:"يرجى الإختيار"},TimePicker:{placeholder:"إختيار الوقت",positiveText:"تأكيد",negativeText:"إلغاء",now:"الآن",clear:"مسح"},Pagination:{goto:"إذهب إلى",selectionSuffix:"صفحة"},DynamicTags:{add:"إضافة"},Log:{loading:"جاري التحميل"},Input:{placeholder:"يرجى الإدخال"},InputNumber:{placeholder:"يرجى الإدخال"},DynamicInput:{create:"إنشاء"},ThemeEditor:{title:"محرر النمط",clearAllVars:"مسح جميع المتغيرات",clearSearch:"مسح البحث",filterCompName:"تصفية إسم المكون",filterVarName:"تصفية إسم المتغير",import:"إستيراد",export:"تصدير",restore:"إعادة تعيين إلى الإفتراضي"},Image:{tipPrevious:"(→) الصورة السابقة",tipNext:"(←) الصورة التالية",tipCounterclockwise:"عكس عقارب الساعة",tipClockwise:"إتجاه عقارب الساعة",tipZoomOut:"تكبير",tipZoomIn:"تصغير",tipDownload:"للتحميل",tipClose:"إغلاق (Esc زر)",tipOriginalSize:"تكبير إلى الحجم الأصلي"}},dateLocale:SL}];function yee(e){const t=vt(null),n=vt(null),o=Y();return o.run((()=>{er(e,(async e=>{const o=await(async e=>{try{const t=bee.find((t=>t.type===(e=>e.replace(/_/g,""))(e)));if(!t)throw new Error(`Locale ${e} not found`);return t}catch(t){return null}})(e);o&&(t.value=o.locale,n.value=o.dateLocale)}),{immediate:!0})})),X((()=>{o.stop()})),{naiveLocale:t,naiveDateLocale:n}}const _ee=$n({name:"NCustomProvider",setup(e,{slots:t}){const{locale:n}=Uu(),{naiveLocale:o,naiveDateLocale:r}=yee(n),{theme:a,themeOverrides:i}=pee();return()=>zr(hJ,{theme:a.value,"theme-overrides":i.value,locale:o.value||_E,"date-locale":r.value||$L},{default:()=>[zr(s2,null,{default:()=>[zr(F2,null,{default:()=>[zr(Y2,null,{default:()=>[zr($2,null,{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})]})]})]})]})}}),xee=$n({name:"NThemeProvider",setup(e,{slots:t}){const{theme:n,themeOverrides:o}=pee();return()=>zr(hJ,{theme:n.value,"theme-overrides":o.value},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}});function Cee(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function wee(e){return function t(n){return 0===arguments.length||Cee(n)?t:e.apply(this,arguments)}}function See(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return Cee(n)?t:wee((function(t){return e(n,t)}));default:return Cee(n)&&Cee(o)?t:Cee(n)?wee((function(t){return e(t,o)})):Cee(o)?wee((function(t){return e(n,t)})):e(n,o)}}}function kee(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,o){return t.apply(this,arguments)};case 4:return function(e,n,o,r){return t.apply(this,arguments)};case 5:return function(e,n,o,r,a){return t.apply(this,arguments)};case 6:return function(e,n,o,r,a,i){return t.apply(this,arguments)};case 7:return function(e,n,o,r,a,i,l){return t.apply(this,arguments)};case 8:return function(e,n,o,r,a,i,l,s){return t.apply(this,arguments)};case 9:return function(e,n,o,r,a,i,l,s,d){return t.apply(this,arguments)};case 10:return function(e,n,o,r,a,i,l,s,d,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Pee(e,t,n){return function(){for(var o=[],r=0,a=e,i=0,l=!1;i=arguments.length)?s=t[i]:(s=arguments[r],r+=1),o[i]=s,Cee(s)?l=!0:a-=1,i+=1}return!l&&a<=0?n.apply(this,o):kee(Math.max(0,a),Pee(e,o,n))}}var Tee=See((function(e,t){return 1===e?wee(t):kee(e,Pee(e,[],t))}));const Ree=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Fee(e,t,n){return function(){if(0===arguments.length)return n();var o=arguments[arguments.length-1];if(!Ree(o)){for(var r=0;r=0;)Aee(t=Eee[n],e)&&!jee(o,t)&&(o[o.length]=t),n-=1;return o})):wee((function(e){return Object(e)!==e?[]:Object.keys(e)})),Hee=wee((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Wee(e,t,n,o){var r=Mee(e);function a(e,t){return Vee(e,t,n.slice(),o.slice())}return!$ee((function(e,t){return!$ee(a,t,e)}),Mee(t),r)}function Vee(e,t,n,o){if(Oee(e,t))return!0;var r,a,i=Hee(e);if(i!==Hee(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(i){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(a=String(r).match(/^function (\w*)/))?"":a[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Oee(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Oee(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var l=n.length-1;l>=0;){if(n[l]===e)return o[l]===t;l-=1}switch(i){case"Map":return e.size===t.size&&Wee(e.entries(),t.entries(),n.concat([e]),o.concat([t]));case"Set":return e.size===t.size&&Wee(e.values(),t.values(),n.concat([e]),o.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=Nee(e);if(s.length!==Nee(t).length)return!1;var d=n.concat([e]),c=o.concat([t]);for(l=s.length-1;l>=0;){var u=s[l];if(!Aee(u,t)||!Vee(t[u],e[u],d,c))return!1;l-=1}return!0}var Uee=See((function(e,t){return Vee(e,t,[],[])}));function qee(e,t){for(var n=0,o=t.length,r=Array(o);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))})),Jee="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ete(e,t,n){return function(o,r,a){if(Qee(a))return e(o,r,a);if(null==a)return r;if("function"==typeof a["fantasy-land/reduce"])return t(o,r,a,"fantasy-land/reduce");if(null!=a[Jee])return n(o,r,a[Jee]());if("function"==typeof a.next)return n(o,r,a);if("function"==typeof a.reduce)return t(o,r,a,"reduce");throw new TypeError("reduce: list must be array or iterable")}}var tte=See((function(e,t){return e&&t}));function nte(e,t,n){for(var o=n.next();!o.done;)t=e(t,o.value),o=n.next();return t}function ote(e,t,n,o){return n[o](e,t)}var rte=ete(Kee,ote,nte),ate=See((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:rte((function(e,n){return function(e,t){var n;t=t||[];var o=(e=e||[]).length,r=t.length,a=[];for(n=0;nUee(gte(t),e)));const bte=Symbol("modal-close"),yte=Symbol("modal-closeable"),_te=Symbol("modal-loading"),xte=Symbol("modal-confirm"),Cte=Symbol("modal-cancel"),wte=Symbol("modal-message"),Ste=Symbol("modal-options"),kte={router:null,i18n:null,pinia:null},Pte=(e,t)=>{e&&t&&e.use(t)},Tte=e=>{const{theme:t,themeOverrides:n}=pee(),{modal:o,message:r,unmount:a,app:i}=Z2(["modal","message"],{configProviderProps:{theme:t.value,themeOverrides:n.value}});Pte(i,kte.i18n),Pte(i,kte.router),Pte(i,kte.pinia);const l=Nr(),s=vt(!1),d=vt(null),c=()=>l?Q4():null,u=vt(),h=()=>{var t;s.value=!1,d.value&&d.value.destroy(),null==(t=e.onUpdateShow)||t.call(e,!1)};return{...(async t=>{var n;const{component:i,componentProps:s,onConfirm:p,onCancel:f,footer:m=!1,confirmText:v,cancelText:g,confirmButtonProps:b={type:"primary"},cancelButtonProps:y={type:"default"},..._}=t,x=vt({footer:m,confirmText:v,cancelText:g,confirmButtonProps:b,cancelButtonProps:y}),C=await(async()=>{if("function"==typeof i)try{const e=await i();return e.default||e}catch(Nte){return i}return i})(),{width:w,height:S}=await((e="50%")=>Array.isArray(e)?{width:"number"==typeof e[0]?e[0]+"px":e[0],height:"number"==typeof e[1]?e[1]+"px":e[1]}:{width:"number"==typeof e?e+"px":e,height:"auto"})(t.area),k=vt(),P=vt(),T=vt(!0),R=vt(!1),F=localStorage.getItem("activeLocales")||'"zhCN"',z=e=>{var t,n;const o=F.replace("-","_").replace(/"/g,"");return(null==(n=null==(t=b9[o])?void 0:t.useModal)?void 0:n[e])||b9.zhCN.useModal[e]},M=vt(z("cannotClose")),$={preset:"card",style:{width:w,height:S,..._.modalStyle},closeOnEsc:!1,maskClosable:!1,onClose:()=>{var e;return!T.value||R.value?(r.error(M.value),!1):(null==(e=P.value)||e.call(P),null==f||f((()=>{})),a(),!0)},content:()=>{const e=$n({setup:()=>(To(Ste,x),To(bte,h),To(wte,r),To(xte,(e=>{k.value=e})),To(Cte,(e=>{P.value=e})),To(yte,(e=>{T.value=e})),To(_te,((e,t)=>{R.value=e,M.value=t||z("cannotClose")})),{confirmHandler:k,cancelHandler:P,render:()=>Jr(C,{...s})}),render(){return this.render()}}),t=l?Jr(e):Jr(_ee,{},(()=>Jr(e)));return Jr(t,{ref:u})}},A=Qr((()=>{if(vte(x.value.footer)&&x.value.footer){const e=async()=>{var e;await(null==(e=k.value)?void 0:e.call(k,h)),await(null==p?void 0:p(h))},t=async()=>{var e;await(null==(e=P.value)?void 0:e.call(P,h)),await(null==f?void 0:f(h)),P.value||f||h()};return zr("div",{class:"flex justify-end"},[zr(SG,Ir({disabled:R.value},y,{style:{marginRight:"8px"},onClick:t}),{default:()=>[x.value.cancelText||z("cancel")]}),zr(SG,Ir({disabled:R.value},b,{onClick:e}),{default:()=>[x.value.confirmText||z("confirm")]})])}return null}));if(x.value.footer&&($.footer=()=>A.value),Object.assign($,_),l){const e=c();if(e)return d.value=e.create($),d.value}const O=o.create($);return d.value=O,null==(n=e.onUpdateShow)||n.call(e,!0),O})(e),updateShow:e=>{s.value=e},close:h,destroyAll:()=>{d.value&&(d.value.destroy(),d.value=null),s.value=!1;const e=c();e?e.destroyAll():o.destroyAll()}}},Rte=()=>Ro(Ste,vt({})),Fte=()=>Ro(bte,(()=>{})),zte=e=>{Ro(xte,(e=>{}))(e)},Mte=e=>{Ro(Cte,(e=>{}))(e)},$te=()=>Ro(yte,(e=>{})),Ate=()=>Ro(wte,{loading:e=>{},success:e=>{},error:e=>{},warning:e=>{},info:e=>{}}),Ote=()=>Ro(_te,((e,t)=>{})),Dte=()=>({options:Rte,close:Fte,confirm:zte,cancel:Mte,closeable:$te,message:Ate,loading:Ote}),Ite=$n({name:"App",setup:()=>()=>zr(_ee,null,{default:()=>[zr(ms,null,{default:({Component:e})=>zr(ha,{name:"route-slide",mode:"out-in"},{default:()=>[e&&Jr(e)]})})]})});if("undefined"!=typeof window){let e=function(){var e=document.body,t=document.getElementById("__svg__icons__dom__");t||((t=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML='',e.insertBefore(t,e.lastChild)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}const Bte={nospace:{mounted(e){e.addEventListener("input",(t=>{const n=t.target,o=n.value.replace(/\s+/g,"");n.value!==o&&(n.value=o,e.dispatchEvent(new Event("input",{bubbles:!0})))}))}}},Ete=ri(Ite);var Lte,jte;Ete.use(u9),Ete.use(Di),Ete.use(hA),Ete.mount("#app"),Lte=Ete,jte=Bte,Object.entries(jte).forEach((([e,t])=>{Lte.directive(e,t)})),(({router:e,i18n:t,pinia:n})=>{kte.i18n=t,kte.router=e,kte.pinia=n})({i18n:hA,router:u9,pinia:Di});export{pA as $,Ro as A,SG as B,hE as C,BA as D,LA as E,NA as F,jA as G,Jr as H,fE as I,Ft as J,HW as K,OQ as L,vE as M,rY as N,RD as O,NV as P,AW as Q,MK as R,Vq as S,ha as T,Y7 as U,Kt as V,To as W,KB as X,wr as Y,yr as Z,Fr as _,fee as a,O4 as a$,dQ as a0,m1 as a1,hJ as a2,V1 as a3,bs as a4,r8 as a5,u9 as a6,xs as a7,ms as a8,_6 as a9,GO as aA,RB as aB,Ir as aC,c9 as aD,cs as aE,IW as aF,hY as aG,NW as aH,Xa as aI,UB as aJ,lE as aK,fY as aL,uG as aM,cE as aN,DW as aO,KA as aP,IB as aQ,Y as aR,X as aS,g3 as aT,wQ as aU,Zn as aV,WA as aW,VA as aX,QB as aY,XO as aZ,eE as a_,CK as aa,z2 as ab,pee as ac,g0 as ad,N7 as ae,GD as af,VW as ag,tV as ah,LB as ai,xD as aj,GB as ak,HA as al,xY as am,aE as an,nE as ao,_1 as ap,oD as aq,pr as ar,tE as as,e0 as at,IV as au,bB as av,Q7 as aw,vK as ax,Jo as ay,wD as az,$r as b,Ra as b$,U7 as b0,YB as b1,t6 as b2,zY as b3,MV as b4,R5 as b5,dE as b6,UW as b7,JW as b8,oV as b9,rO as bA,tO as bB,o3 as bC,Uee as bD,Kee as bE,Yee as bF,qee as bG,ste as bH,gt as bI,xt as bJ,Fo as bK,Nr as bL,_t as bM,at as bN,mt as bO,G as bP,kt as bQ,pI as bR,fI as bS,mI as bT,qW as bU,DV as bV,rE as bW,L5 as bX,cD as bY,oO as bZ,on as b_,Zee as ba,See as bb,kee as bc,ete as bd,Qee as be,Hee as bf,Ree as bg,wee as bh,zee as bi,Aee as bj,Pee as bk,Fee as bl,Tee as bm,lte as bn,ite as bo,Nee as bp,Xee as bq,ute as br,Rte as bs,Fte as bt,n7 as bu,LY as bv,ht as bw,Bn as bx,qn as by,F7 as bz,zr as c,Mr as c0,qL as c1,QL as c2,IL as c3,WV as c4,x5 as c5,nO as c6,E4 as c7,Z2 as c8,xee as c9,oi as ca,Cee as cb,$n as d,xi as e,mee as f,vee as g,gee as h,kr as i,_7 as j,Tte as k,Qr as l,V9 as m,kJ as n,Kn as o,X3 as p,n6 as q,vt as r,Ci as s,BY as t,gs as u,P6 as v,a6 as w,er as x,S9 as y,Dte as z}; + */function Ed(e){return Gs(e)&&0===Vd(e)&&(Vs(e,"b")||Vs(e,"body"))}const Ld=["b","body"];const jd=["c","cases"];const Nd=["s","static"];const Hd=["i","items"];const Wd=["t","type"];function Vd(e){return Gd(e,Wd)}const Ud=["v","value"];function qd(e,t){const n=Gd(e,Ud);if(null!=n)return n;throw Zd(t)}const Kd=["m","modifier"];const Yd=["k","key"];function Gd(e,t,n){for(let o=0;ofunction(e,t){const n=(o=t,Gd(o,Ld));var o;if(null==n)throw Zd(0);if(1===Vd(n)){const t=function(e){return Gd(e,jd,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,Jd(e,n)]),[]))}return Jd(e,n)}(t,e)}function Jd(e,t){const n=function(e){return Gd(e,Nd)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return Gd(e,Hd,[])}(t).reduce(((t,n)=>[...t,ec(e,n)]),[]);return e.normalize(n)}}function ec(e,t){const n=Vd(t);switch(n){case 3:case 9:case 7:case 8:return qd(t,n);case 4:{const o=t;if(Vs(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(Vs(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Zd(n)}case 5:{const o=t;if(Vs(o,"i")&&Os(o.i))return e.interpolate(e.list(o.i));if(Vs(o,"index")&&Os(o.index))return e.interpolate(e.list(o.index));throw Zd(n)}case 6:{const n=t,o=function(e){return Gd(e,Kd)}(n),r=function(e){const t=Gd(e,Yd);if(t)return t;throw Zd(6)}(n);return e.linked(ec(e,r),o?ec(e,o):void 0,e.type)}default:throw new Error(`unhandled node on format message part: ${n}`)}}const tc=e=>e;let nc=Ls();let oc=null;const rc=ac("function:translate");function ac(e){return t=>oc&&oc.emit(e,t)}const ic=17,lc=18,sc=19,dc=21,cc=22,uc=23;function hc(e){return bd(e,null,void 0)}function pc(e,t){return null!=t.locale?mc(t.locale):mc(e.locale)}let fc;function mc(e){if(Ks(e))return e;if(qs(e)){if(e.resolvedOnce&&null!=fc)return fc;if("Function"===e.constructor.name){const n=e();if(Gs(t=n)&&qs(t.then)&&qs(t.catch))throw hc(dc);return fc=n}throw hc(cc)}throw hc(uc);var t}function vc(e,t,n){return[...new Set([n,...Us(t)?t:Gs(t)?Object.keys(t):Ks(t)?[t]:[n]])]}function gc(e,t,n){const o=Ks(n)?n:Tc,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(o);if(!a){a=[];let e=[n];for(;Us(e);)e=bc(a,e,t);const i=Us(t)||!Qs(t)?t:t.default?t.default:null;e=Ks(i)?[i]:i,Us(e)&&bc(a,e,!1),r.__localeChainCache.set(o,a)}return a}function bc(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let Fc,zc,Mc;let $c=null;const Ac=()=>$c;let Oc=null;const Dc=e=>{Oc=e};let Ic=0;function Bc(e={}){const t=qs(e.onWarn)?e.onWarn:ed,n=Ks(e.version)?e.version:"11.1.3",o=Ks(e.locale)||qs(e.locale)?e.locale:Tc,r=qs(o)?Tc:o,a=Us(e.fallbackLocale)||Qs(e.fallbackLocale)||Ks(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:r,i=Qs(e.messages)?e.messages:Ec(r),l=Qs(e.datetimeFormats)?e.datetimeFormats:Ec(r),s=Qs(e.numberFormats)?e.numberFormats:Ec(r),d=Bs(Ls(),e.modifiers,{upper:(e,t)=>"text"===t&&Ks(e)?e.toUpperCase():"vnode"===t&&Gs(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&Ks(e)?e.toLowerCase():"vnode"===t&&Gs(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&Ks(e)?Rc(e):"vnode"===t&&Gs(e)&&"__v_isVNode"in e?Rc(e.children):e}),c=e.pluralRules||Ls(),u=qs(e.missing)?e.missing:null,h=!Ys(e.missingWarn)&&!Ds(e.missingWarn)||e.missingWarn,p=!Ys(e.fallbackWarn)&&!Ds(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,m=!!e.unresolving,v=qs(e.postTranslation)?e.postTranslation:null,g=Qs(e.processor)?e.processor:null,b=!Ys(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,_=qs(e.messageCompiler)?e.messageCompiler:Fc,x=qs(e.messageResolver)?e.messageResolver:zc||Pc,C=qs(e.localeFallbacker)?e.localeFallbacker:Mc||vc,w=Gs(e.fallbackContext)?e.fallbackContext:void 0,S=e,k=Gs(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,P=Gs(S.__numberFormatters)?S.__numberFormatters:new Map,T=Gs(S.__meta)?S.__meta:{};Ic++;const R={version:n,cid:Ic,locale:o,fallbackLocale:a,messages:i,modifiers:d,pluralRules:c,missing:u,missingWarn:h,fallbackWarn:p,fallbackFormat:f,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:b,escapeParameter:y,messageCompiler:_,messageResolver:x,localeFallbacker:C,fallbackContext:w,onWarn:t,__meta:T};return R.datetimeFormats=l,R.numberFormats=s,R.__datetimeFormatters=k,R.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){oc&&oc.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(R,n,T),R}const Ec=e=>({[e]:Ls()});function Lc(e,t,n,o,r){const{missing:a,onWarn:i}=e;if(null!==a){const o=a(e,n,t,r);return Ks(o)?o:t}return t}function jc(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Nc(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let a=n+1;a{Wc.includes(e)?l[e]=n[e]:a[e]=n[e]})),Ks(o)?a.locale=o:Qs(o)&&(l=o),Qs(r)&&(l=r),[a.key||"",i,a,l]}function Uc(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__datetimeFormatters.has(e)&&o.__datetimeFormatters.delete(e)}}function qc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[s,d,c,u]=Yc(...t);Ys(c.missingWarn)?c.missingWarn:e.missingWarn;Ys(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const h=!!c.part,p=pc(e,c),f=i(e,r,p);if(!Ks(s)||""===s)return new Intl.NumberFormat(p,u).format(d);let m,v={},g=null;for(let _=0;_{Kc.includes(e)?i[e]=n[e]:a[e]=n[e]})),Ks(o)?a.locale=o:Qs(o)&&(i=o),Qs(r)&&(i=r),[a.key||"",l,a,i]}function Gc(e,t,n){const o=e;for(const r in n){const e=`${t}__${r}`;o.__numberFormatters.has(e)&&o.__numberFormatters.delete(e)}}const Xc=e=>e,Zc=e=>"",Qc=e=>0===e.length?"":Js(e),Jc=e=>null==e?"":Us(e)||Qs(e)&&e.toString===Xs?JSON.stringify(e,null,2):String(e);function eu(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function tu(e={}){const t=e.locale,n=function(e){const t=Os(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Os(e.named.count)||Os(e.named.n))?Os(e.named.count)?e.named.count:Os(e.named.n)?e.named.n:t:t}(e),o=Gs(e.pluralRules)&&Ks(t)&&qs(e.pluralRules[t])?e.pluralRules[t]:eu,r=Gs(e.pluralRules)&&Ks(t)&&qs(e.pluralRules[t])?eu:void 0,a=e.list||[],i=e.named||Ls();Os(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,i);function l(t,n){const o=qs(e.messages)?e.messages(t,!!n):!!Gs(e.messages)&&e.messages[t];return o||(e.parent?e.parent.message(t):Zc)}const s=Qs(e.processor)&&qs(e.processor.normalize)?e.processor.normalize:Qc,d=Qs(e.processor)&&qs(e.processor.interpolate)?e.processor.interpolate:Jc,c={list:e=>a[e],named:e=>i[e],plural:e=>e[o(n,e.length,r)],linked:(t,...n)=>{const[o,r]=n;let a="text",i="";1===n.length?Gs(o)?(i=o.modifier||i,a=o.type||a):Ks(o)&&(i=o||i):2===n.length&&(Ks(o)&&(i=o||i),Ks(r)&&(a=r||a));const s=l(t,!0)(c),d="vnode"===a&&Us(s)&&i?s[0]:s;return i?(u=i,e.modifiers?e.modifiers[u]:Xc)(d,a):d;var u},message:l,type:Qs(e.processor)&&Ks(e.processor.type)?e.processor.type:"text",interpolate:d,normalize:s,values:Bs(Ls(),a,i)};return c}const nu=()=>"",ou=e=>qs(e);function ru(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:l}=e,[s,d]=lu(...t),c=Ys(d.missingWarn)?d.missingWarn:e.missingWarn,u=Ys(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,h=Ys(d.escapeParameter)?d.escapeParameter:e.escapeParameter,p=!!d.resolvedMessage,f=Ks(d.default)||Ys(d.default)?Ys(d.default)?a?s:()=>s:d.default:n?a?s:()=>s:null,m=n||null!=f&&(Ks(f)||qs(f)),v=pc(e,d);h&&function(e){Us(e.list)?e.list=e.list.map((e=>Ks(e)?Hs(e):e)):Gs(e.named)&&Object.keys(e.named).forEach((t=>{Ks(e.named[t])&&(e.named[t]=Hs(e.named[t]))}))}(d);let[g,b,y]=p?[s,v,l[v]||Ls()]:au(e,s,v,i,u,c),_=g,x=s;if(p||Ks(_)||Ed(_)||ou(_)||m&&(_=f,x=_),!(p||(Ks(_)||Ed(_)||ou(_))&&Ks(b)))return r?-1:s;let C=!1;const w=ou(_)?_:iu(e,s,b,_,x,(()=>{C=!0}));if(C)return _;const S=function(e,t,n,o){const{modifiers:r,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:s,missingWarn:d,fallbackContext:c}=e,u=(o,r)=>{let a=i(n,o);if(null==a&&(c||r)){const[,,n]=au(c||e,o,t,l,s,d);a=i(n,o)}if(Ks(a)||Ed(a)){let n=!1;const r=iu(e,o,t,a,o,(()=>{n=!0}));return n?nu:r}return ou(a)?a:nu},h={locale:t,modifiers:r,pluralRules:a,messages:u};e.processor&&(h.processor=e.processor);o.list&&(h.list=o.list);o.named&&(h.named=o.named);Os(o.plural)&&(h.pluralIndex=o.plural);return h}(e,b,y,d),k=function(e,t,n){const o=t(n);return o}(0,w,tu(S)),P=o?o(k,s):k;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:Ks(s)?s:ou(_)?_.key:"",locale:b||(ou(_)?_.locale:""),format:Ks(_)?_:ou(_)?_.source:"",message:P};t.meta=Bs({},e.__meta,Ac()||{}),rc(t)}return P}function au(e,t,n,o,r,a){const{messages:i,onWarn:l,messageResolver:s,localeFallbacker:d}=e,c=d(e,o,n);let u,h=Ls(),p=null;for(let f=0;fo;return e.locale=n,e.key=t,e}const s=i(o,function(e,t,n,o,r,a){return{locale:t,key:n,warnHtmlMessage:r,onError:e=>{throw a&&a(e),e},onCacheKey:e=>((e,t,n)=>As({l:e,k:t,s:n}))(t,n,e)}}(0,n,r,0,l,a));return s.locale=n,s.key=t,s.source=o,s}function lu(...e){const[t,n,o]=e,r=Ls();if(!(Ks(t)||Os(t)||ou(t)||Ed(t)))throw hc(ic);const a=Os(t)?String(t):(ou(t),t);return Os(n)?r.plural=n:Ks(n)?r.default=n:Qs(n)&&!Is(n)?r.named=n:Us(n)&&(r.list=n),Os(o)?r.plural=o:Ks(o)?r.default=o:Qs(o)&&Bs(r,o),[a,r]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Ns().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);const su=24,du=25,cu=26,uu=27,hu=28,pu=29,fu=31,mu=32;function vu(e,...t){return bd(e,null,void 0)}const gu=$s("__translateVNode"),bu=$s("__datetimeParts"),yu=$s("__numberParts"),_u=$s("__setPluralRules"),xu=$s("__injectWithOption"),Cu=$s("__dispose");function wu(e){if(!Gs(e))return e;if(Ed(e))return e;for(const t in e)if(Vs(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e,a=!1;for(let e=0;e{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(i[t]=i[t]||Ls(),nd(n,i[t])):nd(n,i)}else Ks(e)&&nd(JSON.parse(e),i)})),null==r&&a)for(const l in i)Vs(i,l)&&wu(i[l]);return i}function ku(e){return e.type}function Pu(e,t,n){let o=Gs(t.messages)?t.messages:Ls();"__i18nGlobal"in n&&(o=Su(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);if(r.length&&r.forEach((t=>{e.mergeLocaleMessage(t,o[t])})),Gs(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(Gs(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function Tu(e){return zr(fr,null,e,0)}const Ru=()=>[],Fu=()=>!1;let zu=0;function Mu(e){return(t,n,o,r)=>e(n,o,Nr()||void 0,r)}function $u(e={}){const{__root:t,__injectWithOption:n}=e,o=void 0===t,r=e.flatJson,a=Ms?vt:gt;let i=!Ys(e.inheritLocale)||e.inheritLocale;const l=a(t&&i?t.locale.value:Ks(e.locale)?e.locale:Tc),s=a(t&&i?t.fallbackLocale.value:Ks(e.fallbackLocale)||Us(e.fallbackLocale)||Qs(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l.value),d=a(Su(l.value,e)),c=a(Qs(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),u=a(Qs(e.numberFormats)?e.numberFormats:{[l.value]:{}});let h=t?t.missingWarn:!Ys(e.missingWarn)&&!Ds(e.missingWarn)||e.missingWarn,p=t?t.fallbackWarn:!Ys(e.fallbackWarn)&&!Ds(e.fallbackWarn)||e.fallbackWarn,f=t?t.fallbackRoot:!Ys(e.fallbackRoot)||e.fallbackRoot,m=!!e.fallbackFormat,v=qs(e.missing)?e.missing:null,g=qs(e.missing)?Mu(e.missing):null,b=qs(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!Ys(e.warnHtmlMessage)||e.warnHtmlMessage,_=!!e.escapeParameter;const x=t?t.modifiers:Qs(e.modifiers)?e.modifiers:{};let C,w=e.pluralRules||t&&t.pluralRules;C=(()=>{o&&Dc(null);const t={version:"11.1.3",locale:l.value,fallbackLocale:s.value,messages:d.value,modifiers:x,pluralRules:w,missing:null===g?void 0:g,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=c.value,t.numberFormats=u.value,t.__datetimeFormatters=Qs(C)?C.__datetimeFormatters:void 0,t.__numberFormatters=Qs(C)?C.__numberFormatters:void 0;const n=Bc(t);return o&&Dc(n),n})(),jc(C,l.value,s.value);const S=Qr({get:()=>l.value,set:e=>{C.locale=e,l.value=e}}),k=Qr({get:()=>s.value,set:e=>{C.fallbackLocale=e,s.value=e,jc(C,l.value,e)}}),P=Qr((()=>d.value)),T=Qr((()=>c.value)),R=Qr((()=>u.value));const F=(e,n,r,a,i,h)=>{let p;l.value,s.value,d.value,c.value,u.value;try{__INTLIFY_PROD_DEVTOOLS__,o||(C.fallbackContext=t?Oc:void 0),p=e(C)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(C.fallbackContext=void 0)}if("translate exists"!==r&&Os(p)&&-1===p||"translate exists"===r&&!p){const[e,o]=n();return t&&f?a(t):i(e)}if(h(p))return p;throw vu(su)};function z(...e){return F((t=>Reflect.apply(ru,null,[t,...e])),(()=>lu(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>Ks(e)))}const M={normalize:function(e){return e.map((e=>Ks(e)||Os(e)||Ys(e)?Tu(String(e)):e))},interpolate:e=>e,type:"vnode"};function $(e){return d.value[e]||{}}zu++,t&&Ms&&(er(t.locale,(e=>{i&&(l.value=e,C.locale=e,jc(C,l.value,s.value))})),er(t.fallbackLocale,(e=>{i&&(s.value=e,C.fallbackLocale=e,jc(C,l.value,s.value))})));const A={id:zu,locale:S,fallbackLocale:k,get inheritLocale(){return i},set inheritLocale(e){i=e,e&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,jc(C,l.value,s.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:P,get modifiers(){return x},get pluralRules(){return w||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(e){h=e,C.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(e){p=e,C.fallbackWarn=p},get fallbackRoot(){return f},set fallbackRoot(e){f=e},get fallbackFormat(){return m},set fallbackFormat(e){m=e,C.fallbackFormat=m},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,C.warnHtmlMessage=e},get escapeParameter(){return _},set escapeParameter(e){_=e,C.escapeParameter=e},t:z,getLocaleMessage:$,setLocaleMessage:function(e,t){if(r){const n={[e]:t};for(const e in n)Vs(n,e)&&wu(n[e]);t=n[e]}d.value[e]=t,C.messages=d.value},mergeLocaleMessage:function(e,t){d.value[e]=d.value[e]||{};const n={[e]:t};if(r)for(const o in n)Vs(n,o)&&wu(n[o]);nd(t=n[e],d.value[e]),C.messages=d.value},getPostTranslationHandler:function(){return qs(b)?b:null},setPostTranslationHandler:function(e){b=e,C.postTranslation=e},getMissingHandler:function(){return v},setMissingHandler:function(e){null!==e&&(g=Mu(e)),v=e,C.missing=g},[_u]:function(e){w=e,C.pluralRules=w}};return A.datetimeFormats=T,A.numberFormats=R,A.rt=function(...e){const[t,n,o]=e;if(o&&!Gs(o))throw vu(du);return z(t,n,Bs({resolvedMessage:!0},o||{}))},A.te=function(e,t){return F((()=>{if(!e)return!1;const n=$(Ks(t)?t:l.value),o=C.messageResolver(n,e);return Ed(o)||ou(o)||Ks(o)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),Fu,(e=>Ys(e)))},A.tm=function(e){const n=function(e){let t=null;const n=gc(C,s.value,l.value);for(let o=0;oReflect.apply(Hc,null,[t,...e])),(()=>Vc(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>Ks(e)))},A.n=function(...e){return F((t=>Reflect.apply(qc,null,[t,...e])),(()=>Yc(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>Ks(e)))},A.getDateTimeFormat=function(e){return c.value[e]||{}},A.setDateTimeFormat=function(e,t){c.value[e]=t,C.datetimeFormats=c.value,Uc(C,e,t)},A.mergeDateTimeFormat=function(e,t){c.value[e]=Bs(c.value[e]||{},t),C.datetimeFormats=c.value,Uc(C,e,t)},A.getNumberFormat=function(e){return u.value[e]||{}},A.setNumberFormat=function(e,t){u.value[e]=t,C.numberFormats=u.value,Gc(C,e,t)},A.mergeNumberFormat=function(e,t){u.value[e]=Bs(u.value[e]||{},t),C.numberFormats=u.value,Gc(C,e,t)},A[xu]=n,A[gu]=function(...e){return F((t=>{let n;const o=t;try{o.processor=M,n=Reflect.apply(ru,null,[o,...e])}finally{o.processor=null}return n}),(()=>lu(...e)),"translate",(t=>t[gu](...e)),(e=>[Tu(e)]),(e=>Us(e)))},A[bu]=function(...e){return F((t=>Reflect.apply(Hc,null,[t,...e])),(()=>Vc(...e)),"datetime format",(t=>t[bu](...e)),Ru,(e=>Ks(e)||Us(e)))},A[yu]=function(...e){return F((t=>Reflect.apply(qc,null,[t,...e])),(()=>Yc(...e)),"number format",(t=>t[yu](...e)),Ru,(e=>Ks(e)||Us(e)))},A}function Au(e={}){const t=$u(function(e){const t=Ks(e.locale)?e.locale:Tc,n=Ks(e.fallbackLocale)||Us(e.fallbackLocale)||Qs(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=qs(e.missing)?e.missing:void 0,r=!Ys(e.silentTranslationWarn)&&!Ds(e.silentTranslationWarn)||!e.silentTranslationWarn,a=!Ys(e.silentFallbackWarn)&&!Ds(e.silentFallbackWarn)||!e.silentFallbackWarn,i=!Ys(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,s=Qs(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,c=qs(e.postTranslation)?e.postTranslation:void 0,u=!Ks(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,h=!!e.escapeParameterHtml,p=!Ys(e.sync)||e.sync;let f=e.messages;if(Qs(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce(((e,n)=>{const o=e[n]||(e[n]={});return Bs(o,t[n]),e}),f||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,b=e.datetimeFormats,y=e.numberFormats;return{locale:t,fallbackLocale:n,messages:f,flatJson:e.flatJson,datetimeFormats:b,numberFormats:y,missing:o,missingWarn:r,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:s,pluralRules:d,postTranslation:c,warnHtmlMessage:u,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:m,__root:v,__injectWithOption:g}}(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return Ys(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=Ys(e)?!e:e},get silentFallbackWarn(){return Ys(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=Ys(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return o.__extender=n,o}function Ou(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[_u](t.pluralizationRules||e.pluralizationRules);const n=Su(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const Du={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Iu(){return pr}const Bu=$n({name:"i18n-t",props:Bs({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Os(e)||!isNaN(e)}},Du),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Uu({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter((e=>"_"!==e)),i=Ls();e.locale&&(i.locale=e.locale),void 0!==e.plural&&(i.plural=Ks(e.plural)?+e.plural:e.plural);const l=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===pr?t.children:[t]]),[]);return t.reduce(((t,n)=>{const o=e[n];return o&&(t[n]=o()),t}),Ls())}(t,a),s=r[gu](e.keypath,l,i),d=Bs(Ls(),o);return Jr(Ks(e.tag)||Gs(e.tag)?e.tag:Iu(),d,s)}}});function Eu(e,t,n,o){const{slots:r,attrs:a}=t;return()=>{const t={part:!0};let i=Ls();e.locale&&(t.locale=e.locale),Ks(e.format)?t.key=e.format:Gs(e.format)&&(Ks(e.format.key)&&(t.key=e.format.key),i=Object.keys(e.format).reduce(((t,o)=>n.includes(o)?Bs(Ls(),t,{[o]:e.format[o]}):t),Ls()));const l=o(e.value,t,i);let s=[t.key];Us(l)?s=l.map(((e,t)=>{const n=r[e.type],o=n?n({[e.type]:e.value,index:t,parts:l}):[e.value];var a;return Us(a=o)&&!Ks(a[0])&&(o[0].key=`${e.type}-${t}`),o})):Ks(l)&&(s=[l]);const d=Bs(Ls(),a);return Jr(Ks(e.tag)||Gs(e.tag)?e.tag:Iu(),d,s)}}const Lu=$n({name:"i18n-n",props:Bs({value:{type:Number,required:!0},format:{type:[String,Object]}},Du),setup(e,t){const n=e.i18n||Uu({useScope:e.scope,__useComponent:!0});return Eu(e,t,Kc,((...e)=>n[yu](...e)))}});function ju(e){if(Ks(e))return{path:e};if(Qs(e)){if(!("path"in e))throw vu(hu);return e}throw vu(pu)}function Nu(e){const{path:t,locale:n,args:o,choice:r,plural:a}=e,i={},l=o||{};return Ks(n)&&(i.locale=n),Os(r)&&(i.plural=r),Os(a)&&(i.plural=a),[t,l,i]}function Hu(e,t,...n){const o=Qs(n[0])?n[0]:{};(!Ys(o.globalInstall)||o.globalInstall)&&([Bu.name,"I18nT"].forEach((t=>e.component(t,Bu))),[Lu.name,"I18nN"].forEach((t=>e.component(t,Lu))),[Yu.name,"I18nD"].forEach((t=>e.component(t,Yu)))),e.directive("t",function(e){const t=t=>{const{instance:n,value:o}=t;if(!n||!n.$)throw vu(mu);const r=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,n.$),a=ju(o);return[Reflect.apply(r.t,r,[...Nu(a)]),r]};return{created:(n,o)=>{const[r,a]=t(o);Ms&&e.global===a&&(n.__i18nWatcher=er(a.locale,(()=>{o.instance&&o.instance.$forceUpdate()}))),n.__composer=a,n.textContent=r},unmounted:e=>{Ms&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,o=ju(t);e.textContent=Reflect.apply(n.t,n,[...Nu(o)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}const Wu=$s("global-vue-i18n");function Vu(e={}){const t=__VUE_I18N_LEGACY_API__&&Ys(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!Ys(e.globalInjection)||e.globalInjection,o=new Map,[r,a]=function(e,t){const n=Y(),o=__VUE_I18N_LEGACY_API__&&t?n.run((()=>Au(e))):n.run((()=>$u(e)));if(null==o)throw vu(mu);return[n,o]}(e,t),i=$s("");const l={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...o){if(e.__VUE_I18N_SYMBOL__=i,e.provide(e.__VUE_I18N_SYMBOL__,l),Qs(o[0])){const e=o[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let r=null;!t&&n&&(r=function(e,t){const n=Object.create(null);qu.forEach((e=>{const o=Object.getOwnPropertyDescriptor(t,e);if(!o)throw vu(mu);const r=mt(o.value)?{get:()=>o.value.value,set(e){o.value.value=e}}:{get:()=>o.get&&o.get()};Object.defineProperty(n,e,r)})),e.config.globalProperties.$i18n=n,Ku.forEach((n=>{const o=Object.getOwnPropertyDescriptor(t,n);if(!o||!o.value)throw vu(mu);Object.defineProperty(e.config.globalProperties,`$${n}`,o)}));const o=()=>{delete e.config.globalProperties.$i18n,Ku.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return o}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&Hu(e,l,...o),__VUE_I18N_LEGACY_API__&&t&&e.mixin(function(e,t,n){return{beforeCreate(){const o=Nr();if(!o)throw vu(mu);const r=this.$options;if(r.i18n){const o=r.i18n;if(r.__i18n&&(o.__i18n=r.__i18n),o.__root=t,this===this.$root)this.$i18n=Ou(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=Au(o);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Ou(e,r);else{this.$i18n=Au({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Pu(t,r,r),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const e=Nr();if(!e)throw vu(mu);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(a,a.__composer,l));const s=e.unmount;e.unmount=()=>{r&&r(),l.dispose(),s()}},get global(){return a},dispose(){r.stop()},__instances:o,__getInstance:function(e){return o.get(e)||null},__setInstance:function(e,t){o.set(e,t)},__deleteInstance:function(e){o.delete(e)}};return l}function Uu(e={}){const t=Nr();if(null==t)throw vu(cu);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw vu(uu);const n=function(e){const t=Ro(e.isCE?Wu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw vu(e.isCE?fu:mu);return t}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=ku(t),a=function(e,t){return Is(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("global"===a)return Pu(o,e,r),o;if("parent"===a){let r=function(e,t,n=!1){let o=null;const r=t.root;let a=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=a;){const t=e;if("composition"===e.mode)o=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(a);null!=e&&(o=e.__composer,n&&o&&!o[xu]&&(o=null))}if(null!=o)break;if(r===a)break;a=a.parent}return o}(n,t,e.__useComponent);return null==r&&(r=o),r}const i=n;let l=i.__getInstance(t);if(null==l){const n=Bs({},e);"__i18n"in r&&(n.__i18n=r.__i18n),o&&(n.__root=o),l=$u(n),i.__composerExtend&&(l[Cu]=i.__composerExtend(l)),function(e,t,n){Kn((()=>{}),t),Zn((()=>{const o=n;e.__deleteInstance(t);const r=o[Cu];r&&(r(),delete o[Cu])}),t)}(i,t,l),i.__setInstance(t,l)}return l}const qu=["locale","fallbackLocale","availableLocales"],Ku=["t","rt","d","n","tm","te"];const Yu=$n({name:"i18n-d",props:Bs({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Du),setup(e,t){const n=e.i18n||Uu({useScope:e.scope,__useComponent:!0});return Eu(e,t,Wc,((...e)=>n[bu](...e)))}});var Gu;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(Ns().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(Ns().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Ns().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1),Fc=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ks(e)){!Ys(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||tc)(e),o=nc[n];if(o)return o;const{ast:r,detectError:a}=function(e,t={}){let n=!1;const o=t.onError||yd;return t.onError=e=>{n=!0,o(e)},{...Bd(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),i=Qd(r);return a?i:nc[n]=i}{const t=e.cacheKey;if(t){const n=nc[t];return n||(nc[t]=Qd(e))}return Qd(e)}},zc=function(e,t){if(!Gs(e))return null;let n=kc.get(t);if(n||(n=function(e){const t=[];let n,o,r,a,i,l,s,d=-1,c=0,u=0;const h=[];function p(){const t=e[d+1];if(5===c&&"'"===t||6===c&&'"'===t)return d++,r="\\"+t,h[0](),!0}for(h[0]=()=>{void 0===o?o=r:o+=r},h[1]=()=>{void 0!==o&&(t.push(o),o=void 0)},h[2]=()=>{h[0](),u++},h[3]=()=>{if(u>0)u--,c=4,h[0]();else{if(u=0,void 0===o)return!1;if(o=Sc(o),!1===o)return!1;h[1]()}};null!==c;)if(d++,n=e[d],"\\"!==n||!p()){if(a=wc(n),s=xc[c],i=s[a]||s.l||8,8===i)return;if(c=i[0],void 0!==i[1]&&(l=h[i[1]],l&&(r=n,!1===l())))return;if(7===c)return t}}(t),n&&kc.set(t,n)),!n)return null;const o=n.length;let r=e,a=0;for(;a{};const Ju=e=>e();function eh(e=Ju,t={}){const{initialState:n="active"}=t,o=function(...e){if(1!==e.length)return Ft(...e);const t=e[0];return"function"==typeof t?at(kt((()=>({get:t,set:Qu})))):vt(t)}("active"===n);return{isActive:at(o),pause:function(){o.value=!1},resume:function(){o.value=!0},eventFilter:(...t)=>{o.value&&e(...t)}}}function th(e){return Array.isArray(e)?e:[e]}function nh(e,t,n={}){const{eventFilter:o=Ju,...r}=n;return er(e,(a=o,i=t,function(...e){return new Promise(((t,n)=>{Promise.resolve(a((()=>i.apply(this,e)),{fn:i,thisArg:this,args:e})).then(t).catch(n)}))}),r);var a,i}function oh(e,t=!0,n){Nr()?Kn(e,n):t?e():Kt(e)}const rh=Xu?window:void 0;function ah(...e){const t=[],n=()=>{t.forEach((e=>e())),t.length=0},o=Qr((()=>{const t=th(xt(e[0])).filter((e=>null!=e));return t.every((e=>"string"!=typeof e))?t:void 0})),r=(a=([e,o,r,a])=>{if(n(),!(null==e?void 0:e.length)||!(null==o?void 0:o.length)||!(null==r?void 0:r.length))return;const i=(l=a,"[object Object]"===Zu.call(l)?{...a}:a);var l;t.push(...e.flatMap((e=>o.flatMap((t=>r.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,i))))))))},i={flush:"post"},er((()=>{var t,n;return[null!=(n=null==(t=o.value)?void 0:t.map((e=>function(e){var t;const n=xt(e);return null!=(t=null==n?void 0:n.$el)?t:n}(e))))?n:[rh].filter((e=>null!=e)),th(xt(o.value?e[1]:e[0])),th(_t(o.value?e[2]:e[1])),xt(o.value?e[3]:e[2])]}),a,{...i,immediate:!0}));var a,i;var l;return l=n,G()&&X(l),()=>{r(),n()}}const ih="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},lh="__vueuse_ssr_handlers__",sh=dh();function dh(){return lh in ih||(ih[lh]=ih[lh]||{}),ih[lh]}const ch={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},uh="vueuse-storage";function hh(e,t,n,o={}){var r;const{flush:a="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:d=!1,shallow:c,window:u=rh,eventFilter:h,onError:p=e=>{},initOnMounted:f}=o,m=(c?gt:vt)(t),v=Qr((()=>xt(e)));if(!n)try{n=function(e,t){return sh[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=rh)?void 0:e.localStorage}))()}catch(Nte){p(Nte)}if(!n)return m;const g=xt(t),b=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(g),y=null!=(r=o.serializer)?r:ch[b],{pause:_,resume:x}=function(e,t,n={}){const{eventFilter:o,initialState:r="active",...a}=n,{eventFilter:i,pause:l,resume:s,isActive:d}=eh(o,{initialState:r});return{stop:nh(e,t,{...a,eventFilter:i}),pause:l,resume:s,isActive:d}}(m,(()=>function(e){try{const t=n.getItem(v.value);if(null==e)S(t,null),n.removeItem(v.value);else{const o=y.write(e);t!==o&&(n.setItem(v.value,o),S(t,o))}}catch(Nte){p(Nte)}}(m.value)),{flush:a,deep:i,eventFilter:h});er(v,(()=>k()),{flush:a});let C=!1;const w=e=>{f&&!C||k(e.detail)};function S(e,t){if(u){const o={key:v.value,oldValue:e,newValue:t,storageArea:n};u.dispatchEvent(n instanceof Storage?new StorageEvent("storage",o):new CustomEvent(uh,{detail:o}))}}function k(e){if(!e||e.storageArea===n)if(e&&null==e.key)m.value=g;else if(!e||e.key===v.value){_();try{(null==e?void 0:e.newValue)!==y.write(m.value)&&(m.value=function(e){const t=e?e.newValue:n.getItem(v.value);if(null==t)return s&&null!=g&&n.setItem(v.value,y.write(g)),g;if(!e&&d){const e=y.read(t);return"function"==typeof d?d(e,g):"object"!==b||Array.isArray(e)?e:{...g,...e}}return"string"!=typeof t?t:y.read(t)}(e))}catch(Nte){p(Nte)}finally{e?Kt(x):x()}}}return u&&l&&(n instanceof Storage?ah(u,"storage",(e=>{f&&!C||k(e)}),{passive:!0}):ah(u,uh,w)),f?oh((()=>{C=!0,k()})):k(),m}const ph={zhCN:"简体中文",zhTW:"繁體中文",enUS:"English",jaJP:"日本語",ruRU:"Русский",koKR:"한국어",ptBR:"Português",frFR:"Français",esAR:"Español",arDZ:"العربية"},fh="警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。",mh="返回首页",vh="安全提示:如果您认为这是个错误,请立即联系管理员",gh="展开主菜单",bh="折叠主菜单",yh="AllinSSL",_h="账号登录",xh="请输入用户名",Ch="请输入密码",wh="记住密码",Sh="忘记密码",kh="自动化部署",Ph="证书管理",Th="证书申请",Rh="授权API管理",Fh="返回工作流列表",zh="请选择一个节点进行配置",Mh="点击左侧流程图中的节点来配置它",$h="未选择节点",Ah="配置已保存",Oh="开始运行流程",Dh="选中节点:",Ih="节点配置",Bh="请选择左侧节点进行配置",Eh="未找到该节点类型的配置组件",Lh="自动执行",jh="手动执行",Nh="测试PID",Hh="请输入测试PID",Wh="执行周期",Vh="请输入分钟",Uh="请输入小时",qh="请选择日期",Kh="请输入域名",Yh="请输入邮箱",Gh="邮箱格式不正确",Xh="请选择DNS提供商授权",Zh="本地部署",Qh="SSH部署",Jh="宝塔面板/1面板(部署到面板证书)",ep="宝塔面板/1面板(部署到指定网站项目)",tp="腾讯云CDN/阿里云CDN",np="腾讯云WAF",op="阿里云WAF",rp="本次自动申请的证书",ap="可选证书列表",ip="PEM(*.pem,*.crt,*.key)",lp="PFX(*.pfx)",sp="JKS(*.jks)",dp="POSIX bash(Linux/MacOS)",cp="命令行(Windows)",up="PowerShell(Windows)",hp="服务器1",pp="服务器2",fp="证书格式不正确,请检查是否包含完整的证书头尾标识",mp="私钥格式不正确,请检查是否包含完整的私钥头尾标识",vp="自动化名称",gp="启用状态",bp="创建时间",yp="执行历史",_p="执行工作流",xp="工作流执行成功",Cp="工作流执行失败",wp="删除工作流",Sp="工作流删除成功",kp="工作流删除失败",Pp="请输入自动化名称",Tp="确定要执行{name}工作流吗?",Rp="确认要删除{name}工作流吗?此操作不可恢复。",Fp="执行时间",zp="结束时间",Mp="执行方式",$p="上传证书",Ap="请输入证书域名或品牌名称进行搜索",Op="剩余天数",Dp="到期时间",Ip="自动申请",Bp="手动上传",Ep="添加时间",Lp="即将过期",jp="删除证书",Np="确认要删除这个证书吗?此操作不可恢复。",Hp="证书名称",Wp="请输入证书名称",Vp="证书内容(PEM)",Up="请输入证书内容",qp="私钥内容(KEY)",Kp="请输入私钥内容",Yp="下载失败",Gp="上传失败",Xp="删除失败",Zp="添加授权API",Qp="请输入授权API名称或类型",Jp="授权API类型",ef="编辑授权API",tf="删除授权API",nf="确定删除该授权API吗?此操作不可恢复。",of="添加失败",rf="更新失败",af="已过期{days}天",lf="监控管理",sf="添加监控",df="请输入监控名称或域名进行搜索",cf="监控名称",uf="证书域名",hf="证书颁发机构",pf="证书状态",ff="证书到期时间",mf="告警渠道",vf="上次检查时间",gf="编辑监控",bf="确认删除",yf="删除后将无法恢复,您确认要删除该监控吗?",_f="修改失败",xf="设置失败",Cf="请输入验证码",wf="表单验证失败,请检查填写内容",Sf="请输入授权API名称",kf="请选择授权API类型",Pf="请输入服务器IP",Tf="请输入SSH端口",Rf="请输入SSH密钥",Ff="请输入宝塔地址",zf="请输入API密钥",Mf="请输入1panel地址",$f="请输入AccessKeyId",Af="请输入AccessKeySecret",Of="请输入SecretId",Df="请输入密钥",If="更新成功",Bf="添加成功",Ef="服务器IP",Lf="SSH端口",jf="认证方式",Nf="密码认证",Hf="密钥认证",Wf="SSH私钥",Vf="请输入SSH私钥",Uf="私钥密码",qf="如果私钥有密码,请输入",Kf="宝塔面板地址",Yf="请输入宝塔面板地址,例如:https://bt.example.com",Gf="API密钥",Xf="1面板地址",Zf="请输入1panel地址,例如:https://1panel.example.com",Qf="请输入AccessKey ID",Jf="请输入访问密钥的秘密",em="请输入监控名称",tm="请输入域名/IP",nm="请选择检查周期",om="10分钟",rm="15分钟",am="30分钟",im="60分钟",lm="域名/IP",sm="检查周期",dm="请选择告警渠道",cm="请输入授权API名称",um="删除监控",hm="更新时间",pm="服务器IP地址格式错误",fm="端口格式错误",mm="面板URL地址格式错误",vm="请输入面板API密钥",gm="请输入阿里云AccessKeyId",bm="请输入阿里云AccessKeySecret",ym="请输入腾讯云SecretId",_m="请输入腾讯云SecretKey",xm="切换为手动模式",Cm="切换为自动模式",wm="切换为手动模式后,工作流将不再自动执行,但仍可手动执行",Sm="切换为自动模式后,工作流将按照配置的时间自动执行",km="关闭当前工作流",Pm="启用当前工作流",Tm="关闭后,工作流将不再自动执行,手动也无法执行,是否继续?",Rm="启用后,工作流配置自动执行,或手动执行,是否继续?",Fm="添加工作流失败",zm="设置工作流运行方式失败",Mm="启用或禁用工作流失败",$m="执行工作流失败",Am="删除工作流失败",Om="即将退出登录状态,确认退出吗?",Dm="正在退出登录状态,请稍后...",Im="添加邮箱通知",Bm="保存成功",Em="删除成功",Lm="获取系统设置失败",jm="设置保存失败",Nm="获取通知设置失败",Hm="保存通知设置失败",Wm="获取通知渠道列表失败",Vm="添加邮箱通知渠道失败",Um="更新通知渠道失败",qm="删除通知渠道失败",Km="检查版本更新失败",Ym="保存设置",Gm="基础设置",Xm="选择模板",Zm="请输入工作流名称",Qm="请输入邮箱格式",Jm="请选择DNS提供商",ev="请输入续签间隔",tv="请输入域名,域名不能为空",nv="请输入邮箱,邮箱不能为空",ov="请选择DNS提供商,DNS提供商不能为空",rv="请输入续签间隔,续签间隔不能为空",av="邮箱格式错误,请输入正确的邮箱",iv="续签间隔不能为空",lv="请输入证书域名,多个域名用逗号分隔",sv="请输入邮箱,用于接收证书颁发机构的邮件通知",dv="DNS提供商",cv="续签间隔(天)",uv="续签间隔时间",hv="天,到期后自动续签",pv="宝塔面板",fv="宝塔面板网站",mv="1Panel面板",vv="1Panel网站",gv="腾讯云CDN",bv="腾讯云COS",yv="阿里云CDN",_v="部署类型",xv="请选择部署类型",Cv="请输入部署路径",wv="请输入前置命令",Sv="请输入后置命令",kv="请输入站点ID",Pv="请输入区域",Tv="请输入存储桶",Rv="选择部署类型",Fv="配置部署参数",zv="运行模式",Mv="运行模式未配置",$v="运行周期未配置",Av="运行时间未配置",Ov="证书文件(PEM 格式)",Dv="请粘贴证书文件内容,例如:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",Iv="私钥文件(KEY 格式)",Bv="请粘贴私钥文件内容,例如:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",Ev="证书私钥内容不能为空",Lv="证书私钥格式不正确",jv="证书内容不能为空",Nv="证书格式不正确",Hv="配置部署参数,类型决定参数配置",Wv="部署设备来源",Vv="请选择部署设备来源",Uv="请选择部署类型后,点击下一步",qv="部署来源",Kv="请选择部署来源",Yv="添加更多设备",Gv="添加部署来源",Xv="证书来源",Zv="当前类型部署来源为空,请先添加部署来源",Qv="当前流程中没有申请节点,请先添加申请节点",Jv="提交内容",eg="点击编辑工作流标题",tg="删除节点-【{name}】",ng="当前节点存在子节点,删除后会影响其他节点,是否确认删除?",og="当前节点存在配置数据,是否确认删除?",rg="请选择部署类型后,再进行下一步",ag="请选择类型",ig="获取首页概览数据失败",lg="版本信息",sg="当前版本",dg="更新方式",cg="最新版本",ug="更新日志",hg="客服二维码",pg="扫码添加客服",fg="微信公众号",mg="扫码关注微信公众号",vg="关于产品",gg="SMTP服务器",bg="请输入SMTP服务器",yg="SMTP端口",_g="请输入SMTP端口",xg="SSL/TLS连接",Cg="请选择消息通知",wg="消息通知",Sg="添加通知渠道",kg="请输入通知主题",Pg="请输入通知内容",Tg="修改邮箱通知配置",Rg="通知主题",Fg="通知内容",zg="点击获取验证码",Mg="剩余{days}天",$g="即将到期{days}天",Ag="DNS提供商为空",Og="添加DNS提供商",Dg="执行历史详情",Ig="执行状态",Bg="触发方式",Eg="正在提交信息,请稍后...",Lg="面板URL",jg="忽略 SSL/TLS证书错误",Ng="表单验证失败",Hg="新建工作流",Wg="正在提交申请,请稍后...",Vg="请输入正确的域名",Ug="请选择解析方式",qg="刷新列表",Kg="是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。",Yg="支持域名数",Gg="支持通配符",Xg="支持小程序",Zg="适用网站",Qg="*.example.com、*.demo.com",Jg="*.example.com",eb="example.com、demo.com",tb="www.example.com、example.com",nb="立即申请",ob="项目地址",rb="请输入证书文件路径",ab="请输入私钥文件路径",ib="当前DNS提供商为空,请先添加DNS提供商",lb="测试通知发送失败",sb="添加配置",db="暂未支持",cb="邮件通知",ub="通过邮件发送告警通知",hb="钉钉通知",pb="通过钉钉机器人发送告警通知",fb="企业微信通知",mb="通过企业微信机器人发送告警通知",vb="飞书通知",gb="通过飞书机器人发送告警通知",bb="WebHook通知",yb="通过WebHook发送告警通知",_b="通知渠道",xb="已配置的通知渠道",Cb="最后一次执行状态",wb="域名不能为空",Sb="邮箱不能为空",kb="阿里云OSS",Pb="主机提供商",Tb="API来源",Rb="API 类型",Fb="请求错误",zb="共{0}条",Mb="自动化工作流",$b="执行失败",Ab="即将到期",Ob="实时监控",Db="异常数量",Ib="最近工作流执行记录",Bb="查看全部",Eb="暂无工作流执行记录",Lb="创建工作流",jb="点击创建自动化工作流程,提高效率",Nb="申请证书",Hb="点击申请和管理SSL证书,保障安全",Wb="最多只能配置一个邮箱通知渠道",Vb="确认{0}通知渠道",Ub="{0}通知渠道,将开始发送告警通知。",qb="当前通知渠道不支持测试",Kb="正在发送测试邮件,请稍后...",Yb="测试邮件",Gb="发送测试邮件到当前配置的邮箱,是否继续?",Xb="删除确认",Zb="请输入名称",Qb="请输入正确的SMTP端口",Jb="请输入用户密码",ey="请输入正确的发送人邮箱",ty="请输入正确的接收邮箱",ny="发送人邮箱",oy="接收邮箱",ry="企业微信",ay="一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。",iy="证书申请",ly="支持通过ACME协议从Let's Encrypt获取证书",sy="证书管理",dy="集中管理所有SSL证书,包括手动上传和自动申请的证书",cy="证书部署",uy="支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等",hy="站点监控",py="实时监控站点SSL证书状态,提前预警证书过期",fy="自动化任务:",my="支持定时任务,自动续期证书并部署",vy="多平台支持",gy="支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式",by="确定要删除{0},通知渠道吗?",yy="Let's Encrypt等CA自动申请免费证书",_y="日志详情",xy="加载日志失败:",Cy="下载日志",wy="暂无日志信息",Sy="自动化任务",ky="请选择主机提供商",Py="DNS提供商列表为空,请添加",Ty="主机提供商列表为空,请添加",Ry="添加主机提供商",Fy="请选择主机提供商{0}",zy="点击设置网站监控,掌握实时状态",My="多域名请使用英文逗号分隔,例如:test.com,test.cn",$y="泛域名请使用*号,例如:*.test.com",Ay="请输入正确的Cloudflare API密钥",Oy="请输入正确的宝塔API密钥",Dy="请输入正确的腾讯云SecretKey",Iy="请输入正确的华为云SecretKey",By="请输入华为云AccessKey",Ey="请输入正确的邮箱账号",Ly="添加自动化部署",jy="添加证书",Ny="AllinSSL 证书管理平台",Hy="域名格式错误,请检查域名格式",Wy="DNS 递归服务器(可选)",Vy="请输入 DNS 递归服务器(多个值请用,隔开)",Uy="跳过本地预检查",qy="选择证书",Ky="如果需要修改证书内容与密钥,请选择自定义证书",Yy="当选择非自定义证书时,证书内容与密钥均不可修改",Gy="上传并提交",Xy="宝塔WAF网站",Zy="宝塔WAF-URL地址格式错误",Qy="请输入宝塔WAF-API密钥",Jy="请输入正确的华为云AccessKey",e_="请输入正确的百度云AccessKey",t_="请输入正确的百度云SecretKey",n_="宝塔WAF-URL",o_="本机部署",r_="全部来源",a_="1Panel",i_="SMTP端口禁止修改",l_="证书文件路径(仅支持PEM格式)",s_="私钥文件路径",d_="前置命令(可选)",c_="后置命令(可选)",u_="站点ID",h_="重复部署",p_="当与上次部署的证书相同且上次部署成功时",f_="重新部署",m_="搜索部署类型",v_="请输入网址名",g_="雷池WAF站点",b_="雷池WAF",y_="雷池WAF-URL地址格式错误",__="请输入正确的宝塔WAF-API密钥",x_="请输入正确的雷池WAF-API密钥",C_="请输入西部数码的用户名",w_="请输入西部数码的密码",S_="请输入火山引擎的AccessKey",k_="请输入火山引擎的SecretKey",P_="宝塔docker站点",T_="请输入雷池的API令牌",R_="API Token",F_="证书算法",z_="请输入SSH密钥,内容不能为空",M_="请输入SSH密码",$_="主机地址",A_="请输入主机地址不能为空",O_="日志查看器",D_="有问题或建议可提",I_="也可以在Github上找到我们",B_="您的参与对AllinSSL极其重要,感谢。",E_="节点字段必填",L_="请输入有效的域名",j_="请输入有效的域名,多个域名请用英文逗号分隔",N_="请输入邮箱地址",H_="请输入有效的邮箱地址",W_="节点错误",V_="消息推送配置",U_="宝塔面板-网站",q_="1Panel-网站",K_="宝塔WAF",Y_="宝塔WAF-网站",G_="腾讯云EdgeOne",X_="七牛云-CDN",Z_="七牛云-OSS",Q_="雷池WAF-网站",J_="火山引擎",ex="西部数码",tx="部署项目类型",nx="您确定要刷新页面吗?数据可能会丢失哦!",ox="执行成功",rx="正在执行",ax="CA授权管理",ix="确定删除",lx="确定要删除此CA授权吗?",sx="添加CA授权",dx="请输入ACME EAB KID",cx="请输入ACME EAB HMAC密钥",ux="请选择CA提供商",hx="当前CA提供商授权的别名,用于快速识别",px="CA提供商",fx="ACME EAB KID",mx="请输入CA提供商的ACME EAB KID",vx="ACME EAB HMAC Key",gx="请输入CA提供商的ACME EAM HMAC",bx="AllinSSL 开源免费的 SSL 证书自动化管理平台 一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。",yx="请输入用于绑定CA授权的邮箱",_x="终端部署",xx="请输入正确的GoDaddy API密钥",Cx="请输入GoDaddy API密钥",wx="请输入七牛云Access Secret",Sx="请输入七牛云Access Key",kx="当距离到期时间",Px="请选择证书颁发机构",Tx="证书颁发机构(EAB ID)",Rx="暂无CA授权数据",Fx="获取CA授权列表失败",zx="自动续签(天)",Mx="证书有效期小于",$x="天时,续签新的证书",Ax="代理地址(可选)",Ox="仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)",Dx="自动续签时间不能为空",Ix="请选择网站名,支持多选网站名称",Bx="添加Zerossl、Google,自定义CA授权",Ex="宝塔docker网站",Lx={t_0_1744098811152:fh,t_1_1744098801860:mh,t_2_1744098804908:vh,t_3_1744098802647:gh,t_4_1744098802046:bh,t_1_1744164835667:yh,t_2_1744164839713:_h,t_3_1744164839524:xh,t_4_1744164840458:Ch,t_5_1744164840468:wh,t_6_1744164838900:Sh,t_7_1744164838625:"登录中",t_8_1744164839833:"登录",t_0_1744258111441:"首页",t_1_1744258113857:kh,t_2_1744258111238:Ph,t_3_1744258111182:Th,t_4_1744258111238:Rh,t_5_1744258110516:"监控",t_6_1744258111153:"设置",t_0_1744861190562:Fh,t_1_1744861189113:"运行",t_2_1744861190040:"保存",t_3_1744861190932:zh,t_4_1744861194395:Mh,t_5_1744861189528:"开始",t_6_1744861190121:$h,t_7_1744861189625:Ah,t_8_1744861189821:Oh,t_9_1744861189580:Dh,t_0_1744870861464:"节点",t_1_1744870861944:Ih,t_2_1744870863419:Bh,t_3_1744870864615:Eh,t_4_1744870861589:"取消",t_5_1744870862719:"确定",t_0_1744875938285:"每分钟",t_1_1744875938598:"每小时",t_2_1744875938555:"每天",t_3_1744875938310:"每月",t_4_1744875940750:Lh,t_5_1744875940010:jh,t_0_1744879616135:Nh,t_1_1744879616555:Hh,t_2_1744879616413:Wh,t_3_1744879615723:"分钟",t_4_1744879616168:Vh,t_5_1744879615277:"小时",t_6_1744879616944:Uh,t_7_1744879615743:"日期",t_8_1744879616493:qh,t_0_1744942117992:"每周",t_1_1744942116527:"周一",t_2_1744942117890:"周二",t_3_1744942117885:"周三",t_4_1744942117738:"周四",t_5_1744942117167:"周五",t_6_1744942117815:"周六",t_7_1744942117862:"周日",t_0_1744958839535:Kh,t_1_1744958840747:Yh,t_2_1744958840131:Gh,t_3_1744958840485:Xh,t_4_1744958838951:Zh,t_5_1744958839222:Qh,t_6_1744958843569:Jh,t_7_1744958841708:ep,t_8_1744958841658:tp,t_9_1744958840634:np,t_10_1744958860078:op,t_11_1744958840439:rp,t_12_1744958840387:ap,t_13_1744958840714:ip,t_14_1744958839470:lp,t_15_1744958840790:sp,t_16_1744958841116:dp,t_17_1744958839597:cp,t_18_1744958839895:up,t_19_1744958839297:"证书1",t_20_1744958839439:"证书2",t_21_1744958839305:hp,t_22_1744958841926:pp,t_23_1744958838717:"面板1",t_29_1744958838904:"日",t_30_1744958843864:fp,t_31_1744958844490:mp,t_0_1745215914686:vp,t_2_1745215915397:"自动",t_3_1745215914237:"手动",t_4_1745215914951:gp,t_5_1745215914671:"启用",t_6_1745215914104:"停用",t_7_1745215914189:bp,t_8_1745215914610:"操作",t_9_1745215914666:yp,t_10_1745215914342:"执行",t_11_1745215915429:"编辑",t_12_1745215914312:"删除",t_13_1745215915455:_p,t_14_1745215916235:xp,t_15_1745215915743:Cp,t_16_1745215915209:wp,t_17_1745215915985:Sp,t_18_1745215915630:kp,t_1_1745227838776:Pp,t_2_1745227839794:Tp,t_3_1745227841567:Rp,t_4_1745227838558:Fp,t_5_1745227839906:zp,t_6_1745227838798:Mp,t_7_1745227838093:"状态",t_8_1745227838023:"成功",t_9_1745227838305:"失败",t_10_1745227838234:"执行中",t_11_1745227838422:"未知",t_12_1745227838814:"详情",t_13_1745227838275:$p,t_14_1745227840904:Ap,t_15_1745227839354:"共",t_16_1745227838930:"条",t_17_1745227838561:"域名",t_18_1745227838154:"品牌",t_19_1745227839107:Op,t_20_1745227838813:Dp,t_21_1745227837972:"来源",t_22_1745227838154:Ip,t_23_1745227838699:Bp,t_24_1745227839508:Ep,t_25_1745227838080:"下载",t_27_1745227838583:Lp,t_28_1745227837903:"正常",t_29_1745227838410:jp,t_30_1745227841739:Np,t_31_1745227838461:"确认",t_32_1745227838439:Hp,t_33_1745227838984:Wp,t_34_1745227839375:Vp,t_35_1745227839208:Up,t_36_1745227838958:qp,t_37_1745227839669:Kp,t_38_1745227838813:Yp,t_39_1745227838696:Gp,t_40_1745227838872:Xp,t_0_1745289355714:Zp,t_1_1745289356586:Qp,t_2_1745289353944:"名称",t_3_1745289354664:Jp,t_4_1745289354902:ef,t_5_1745289355718:tf,t_6_1745289358340:nf,t_7_1745289355714:of,t_8_1745289354902:rf,t_9_1745289355714:af,t_10_1745289354650:lf,t_11_1745289354516:sf,t_12_1745289356974:df,t_13_1745289354528:cf,t_14_1745289354902:uf,t_15_1745289355714:hf,t_16_1745289354902:pf,t_17_1745289355715:ff,t_18_1745289354598:mf,t_19_1745289354676:vf,t_20_1745289354598:gf,t_21_1745289354598:bf,t_22_1745289359036:yf,t_23_1745289355716:_f,t_24_1745289355715:xf,t_25_1745289355721:Cf,t_26_1745289358341:wf,t_27_1745289355721:Sf,t_28_1745289356040:kf,t_29_1745289355850:Pf,t_30_1745289355718:Tf,t_31_1745289355715:Rf,t_32_1745289356127:Ff,t_33_1745289355721:zf,t_34_1745289356040:Mf,t_35_1745289355714:$f,t_36_1745289355715:Af,t_37_1745289356041:Of,t_38_1745289356419:Df,t_39_1745289354902:If,t_40_1745289355715:Bf,t_41_1745289354902:"类型",t_42_1745289355715:Ef,t_43_1745289354598:Lf,t_44_1745289354583:"用户名",t_45_1745289355714:jf,t_46_1745289355723:Nf,t_47_1745289355715:Hf,t_48_1745289355714:"密码",t_49_1745289355714:Wf,t_50_1745289355715:Vf,t_51_1745289355714:Uf,t_52_1745289359565:qf,t_53_1745289356446:Kf,t_54_1745289358683:Yf,t_55_1745289355715:Gf,t_56_1745289355714:Xf,t_57_1745289358341:Zf,t_58_1745289355721:Qf,t_59_1745289356803:Jf,t_60_1745289355715:em,t_61_1745289355878:tm,t_62_1745289360212:nm,t_63_1745289354897:"5分钟",t_64_1745289354670:om,t_65_1745289354591:rm,t_66_1745289354655:am,t_67_1745289354487:im,t_68_1745289354676:"邮件",t_69_1745289355721:"短信",t_70_1745289354904:"微信",t_71_1745289354583:lm,t_72_1745289355715:sm,t_73_1745289356103:dm,t_0_1745289808449:cm,t_0_1745294710530:um,t_0_1745295228865:hm,t_0_1745317313835:pm,t_1_1745317313096:fm,t_2_1745317314362:mm,t_3_1745317313561:vm,t_4_1745317314054:gm,t_5_1745317315285:bm,t_6_1745317313383:ym,t_7_1745317313831:_m,t_0_1745457486299:"已启用",t_1_1745457484314:"已停止",t_2_1745457488661:xm,t_3_1745457486983:Cm,t_4_1745457497303:wm,t_5_1745457494695:Sm,t_6_1745457487560:km,t_7_1745457487185:Pm,t_8_1745457496621:Tm,t_9_1745457500045:Rm,t_10_1745457486451:Fm,t_11_1745457488256:zm,t_12_1745457489076:Mm,t_13_1745457487555:$m,t_14_1745457488092:Am,t_15_1745457484292:"退出",t_16_1745457491607:Om,t_17_1745457488251:Dm,t_18_1745457490931:Im,t_19_1745457484684:Bm,t_20_1745457485905:Em,t_0_1745464080226:Lm,t_1_1745464079590:jm,t_2_1745464077081:Nm,t_3_1745464081058:Hm,t_4_1745464075382:Wm,t_5_1745464086047:Vm,t_6_1745464075714:Um,t_7_1745464073330:qm,t_8_1745464081472:Km,t_9_1745464078110:Ym,t_10_1745464073098:Gm,t_0_1745474945127:Xm,t_0_1745490735213:Zm,t_1_1745490731990:"配置",t_2_1745490735558:Qm,t_3_1745490735059:Jm,t_4_1745490735630:ev,t_5_1745490738285:tv,t_6_1745490738548:nv,t_7_1745490739917:ov,t_8_1745490739319:rv,t_1_1745553909483:av,t_2_1745553907423:iv,t_0_1745735774005:lv,t_1_1745735764953:"邮箱",t_2_1745735773668:sv,t_3_1745735765112:dv,t_4_1745735765372:"添加",t_5_1745735769112:cv,t_6_1745735765205:uv,t_7_1745735768326:hv,t_8_1745735765753:"已配置",t_9_1745735765287:"未配置",t_10_1745735765165:pv,t_11_1745735766456:fv,t_12_1745735765571:mv,t_13_1745735766084:vv,t_14_1745735766121:gv,t_15_1745735768976:bv,t_16_1745735766712:yv,t_18_1745735765638:_v,t_19_1745735766810:xv,t_20_1745735768764:Cv,t_21_1745735769154:wv,t_22_1745735767366:Sv,t_24_1745735766826:kv,t_25_1745735766651:Pv,t_26_1745735767144:Tv,t_27_1745735764546:"下一步",t_28_1745735766626:Rv,t_29_1745735768933:Fv,t_30_1745735764748:zv,t_31_1745735767891:Mv,t_32_1745735767156:$v,t_33_1745735766532:Av,t_34_1745735771147:Ov,t_35_1745735781545:Dv,t_36_1745735769443:Iv,t_37_1745735779980:Bv,t_38_1745735769521:Ev,t_39_1745735768565:Lv,t_40_1745735815317:jv,t_41_1745735767016:Nv,t_0_1745738961258:"上一步",t_1_1745738963744:"提交",t_2_1745738969878:Hv,t_0_1745744491696:Wv,t_1_1745744495019:Vv,t_2_1745744495813:Uv,t_0_1745744902975:qv,t_1_1745744905566:Kv,t_2_1745744903722:Yv,t_0_1745748292337:Gv,t_1_1745748290291:Xv,t_2_1745748298902:Zv,t_3_1745748298161:Qv,t_4_1745748290292:Jv,t_0_1745765864788:eg,t_1_1745765875247:tg,t_2_1745765875918:ng,t_3_1745765920953:og,t_4_1745765868807:rg,t_0_1745833934390:ag,t_1_1745833931535:"主机",t_2_1745833931404:"端口",t_3_1745833936770:ig,t_4_1745833932780:lg,t_5_1745833933241:sg,t_6_1745833933523:dg,t_7_1745833933278:cg,t_8_1745833933552:ug,t_9_1745833935269:hg,t_10_1745833941691:pg,t_11_1745833935261:fg,t_12_1745833943712:mg,t_13_1745833933630:vg,t_14_1745833932440:gg,t_15_1745833940280:bg,t_16_1745833933819:yg,t_17_1745833935070:_g,t_18_1745833933989:xg,t_0_1745887835267:Cg,t_1_1745887832941:wg,t_2_1745887834248:Sg,t_3_1745887835089:kg,t_4_1745887835265:Pg,t_0_1745895057404:Tg,t_0_1745920566646:Rg,t_1_1745920567200:Fg,t_0_1745936396853:zg,t_0_1745999035681:Mg,t_1_1745999036289:$g,t_0_1746000517848:"已过期",t_0_1746001199409:"已到期",t_0_1746004861782:Ag,t_1_1746004861166:Og,t_0_1746497662220:"刷新",t_0_1746519384035:"运行中",t_0_1746579648713:Dg,t_0_1746590054456:Ig,t_1_1746590060448:Bg,t_0_1746667592819:Eg,t_1_1746667588689:"密钥",t_2_1746667592840:Lg,t_3_1746667592270:jg,t_4_1746667590873:Ng,t_5_1746667590676:Hg,t_6_1746667592831:Wg,t_7_1746667592468:Vg,t_8_1746667591924:Ug,t_9_1746667589516:qg,t_10_1746667589575:"通配符",t_11_1746667589598:"多域名",t_12_1746667589733:"热门",t_13_1746667599218:Kg,t_14_1746667590827:Yg,t_15_1746667588493:"个",t_16_1746667591069:Gg,t_17_1746667588785:"支持",t_18_1746667590113:"不支持",t_19_1746667589295:"有效期",t_20_1746667588453:"天",t_21_1746667590834:Xg,t_22_1746667591024:Zg,t_23_1746667591989:Qg,t_24_1746667583520:Jg,t_25_1746667590147:eb,t_26_1746667594662:tb,t_27_1746667589350:"免费",t_28_1746667590336:nb,t_29_1746667589773:ob,t_30_1746667591892:rb,t_31_1746667593074:ab,t_0_1746673515941:ib,t_0_1746676862189:lb,t_1_1746676859550:sb,t_2_1746676856700:db,t_3_1746676857930:cb,t_4_1746676861473:ub,t_5_1746676856974:hb,t_6_1746676860886:pb,t_7_1746676857191:fb,t_8_1746676860457:mb,t_9_1746676857164:vb,t_10_1746676862329:gb,t_11_1746676859158:bb,t_12_1746676860503:yb,t_13_1746676856842:_b,t_14_1746676859019:xb,t_15_1746676856567:"已停用",t_16_1746676855270:"测试",t_0_1746677882486:Cb,t_0_1746697487119:wb,t_1_1746697485188:Sb,t_2_1746697487164:kb,t_0_1746754500246:Pb,t_1_1746754499371:Tb,t_2_1746754500270:Rb,t_0_1746760933542:Fb,t_0_1746773350551:zb,t_1_1746773348701:"未执行",t_2_1746773350970:Mb,t_3_1746773348798:"总数量",t_4_1746773348957:$b,t_5_1746773349141:Ab,t_6_1746773349980:Ob,t_7_1746773349302:Db,t_8_1746773351524:Ib,t_9_1746773348221:Bb,t_10_1746773351576:Eb,t_11_1746773349054:Lb,t_12_1746773355641:jb,t_13_1746773349526:Nb,t_14_1746773355081:Hb,t_16_1746773356568:Wb,t_17_1746773351220:Vb,t_18_1746773355467:Ub,t_19_1746773352558:qb,t_20_1746773356060:Kb,t_21_1746773350759:Yb,t_22_1746773360711:Gb,t_23_1746773350040:Xb,t_25_1746773349596:Zb,t_26_1746773353409:Qb,t_27_1746773352584:Jb,t_28_1746773354048:ey,t_29_1746773351834:ty,t_30_1746773350013:ny,t_31_1746773349857:oy,t_32_1746773348993:"钉钉",t_33_1746773350932:ry,t_34_1746773350153:"飞书",t_35_1746773362992:ay,t_36_1746773348989:iy,t_37_1746773356895:ly,t_38_1746773349796:sy,t_39_1746773358932:dy,t_40_1746773352188:cy,t_41_1746773364475:uy,t_42_1746773348768:hy,t_43_1746773359511:py,t_44_1746773352805:fy,t_45_1746773355717:my,t_46_1746773350579:vy,t_47_1746773360760:gy,t_0_1746773763967:by,t_1_1746773763643:yy,t_0_1746776194126:_y,t_1_1746776198156:xy,t_2_1746776194263:Cy,t_3_1746776195004:wy,t_0_1746782379424:Sy,t_0_1746858920894:ky,t_1_1746858922914:Py,t_2_1746858923964:Ty,t_3_1746858920060:Ry,t_4_1746858917773:"已选择",t_0_1747019621052:Fy,t_1_1747019624067:zy,t_2_1747019616224:"阿里云",t_3_1747019616129:"腾讯云",t_0_1747040228657:My,t_1_1747040226143:$y,t_0_1747042966820:Ay,t_1_1747042969705:Oy,t_2_1747042967277:Dy,t_3_1747042967608:Iy,t_4_1747042966254:By,t_5_1747042965911:Ey,t_0_1747047213730:Ly,t_1_1747047213009:jy,t_2_1747047214975:Ny,t_3_1747047218669:Hy,t_0_1747106957037:Wy,t_1_1747106961747:Vy,t_2_1747106957037:Uy,t_0_1747110184700:qy,t_1_1747110191587:Ky,t_2_1747110193465:Yy,t_3_1747110185110:Gy,t_0_1747215751189:Xy,t_0_1747271295174:Zy,t_1_1747271295484:Qy,t_2_1747271295877:Jy,t_3_1747271294475:e_,t_4_1747271294621:t_,t_5_1747271291828:n_,t_6_1747271296994:o_,t_7_1747271292060:r_,t_8_1747271290414:"宝塔",t_9_1747271284765:a_,t_0_1747280814475:i_,t_1_1747280813656:l_,t_2_1747280811593:s_,t_3_1747280812067:d_,t_4_1747280811462:c_,t_6_1747280809615:u_,t_7_1747280808936:"区域",t_8_1747280809382:"存储桶",t_9_1747280810169:h_,t_10_1747280816952:p_,t_11_1747280809178:"跳过",t_12_1747280809893:"不跳过",t_13_1747280810369:f_,t_14_1747280811231:m_,t_0_1747296173751:"网站名",t_1_1747296175494:v_,t_0_1747298114839:g_,t_1_1747298114192:b_,t_0_1747300383756:y_,t_1_1747300384579:__,t_2_1747300385222:x_,t_0_1747365600180:C_,t_1_1747365603108:w_,t_3_1747365600828:S_,t_4_1747365600137:k_,t_0_1747367069267:P_,t_0_1747617113090:T_,t_1_1747617105179:R_,t_0_1747647014927:F_,t_0_1747709067998:z_,t_0_1747711335067:M_,t_1_1747711335336:$_,t_2_1747711337958:A_,t_0_1747754231151:O_,t_1_1747754231838:"请先",t_2_1747754234999:D_,t_3_1747754232000:I_,t_4_1747754235407:B_,t_0_1747817614953:"请输入",t_1_1747817639034:"是",t_2_1747817610671:"否",t_3_1747817612697:E_,t_4_1747817613325:L_,t_5_1747817619337:j_,t_6_1747817644358:N_,t_7_1747817613773:H_,t_8_1747817614764:W_,t_9_1747817611448:"域名:",t_10_1747817611126:"申请",t_11_1747817612051:"部署",t_12_1747817611391:"上传",t_0_1747886301644:V_,t_1_1747886307276:U_,t_2_1747886302053:q_,t_3_1747886302848:K_,t_4_1747886303229:Y_,t_5_1747886301427:G_,t_6_1747886301844:"七牛云",t_7_1747886302395:X_,t_8_1747886304014:Z_,t_9_1747886301128:"华为云",t_10_1747886300958:"百度云",t_11_1747886301986:"雷池",t_12_1747886302725:Q_,t_13_1747886301689:J_,t_14_1747886301884:ex,t_15_1747886301573:tx,t_16_1747886308182:nx,t_0_1747895713179:ox,t_1_1747895712756:rx,t_0_1747903670020:ax,t_2_1747903672640:ix,t_3_1747903672833:lx,t_4_1747903685371:sx,t_5_1747903671439:dx,t_6_1747903672931:cx,t_7_1747903678624:ux,t_8_1747903675532:hx,t_9_1747903669360:px,t_10_1747903662994:fx,t_11_1747903674802:mx,t_12_1747903662994:vx,t_13_1747903673007:gx,t_0_1747904536291:bx,t_0_1747965909665:yx,t_0_1747969933657:_x,t_0_1747984137443:xx,t_1_1747984133312:Cx,t_2_1747984134626:wx,t_3_1747984134586:Sx,t_4_1747984130327:"复制",t_5_1747984133112:kx,t_0_1747990228780:Px,t_1_1747990228492:Tx,t_2_1747990228008:Rx,t_3_1747990229599:Fx,t_4_1747990227956:zx,t_5_1747990228592:Mx,t_6_1747990228465:$x,t_7_1747990227761:Ax,t_8_1747990235316:Ox,t_9_1747990229640:Dx,t_10_1747990232207:Ix,t_0_1747990626044:Bx,t_0_1747994891459:Ex},jx=Object.freeze(Object.defineProperty({__proto__:null,default:Lx,t_0_1744098811152:fh,t_0_1744258111441:"首页",t_0_1744861190562:Fh,t_0_1744870861464:"节点",t_0_1744875938285:"每分钟",t_0_1744879616135:Nh,t_0_1744942117992:"每周",t_0_1744958839535:Kh,t_0_1745215914686:vp,t_0_1745289355714:Zp,t_0_1745289808449:cm,t_0_1745294710530:um,t_0_1745295228865:hm,t_0_1745317313835:pm,t_0_1745457486299:"已启用",t_0_1745464080226:Lm,t_0_1745474945127:Xm,t_0_1745490735213:Zm,t_0_1745735774005:lv,t_0_1745738961258:"上一步",t_0_1745744491696:Wv,t_0_1745744902975:qv,t_0_1745748292337:Gv,t_0_1745765864788:eg,t_0_1745833934390:ag,t_0_1745887835267:Cg,t_0_1745895057404:Tg,t_0_1745920566646:Rg,t_0_1745936396853:zg,t_0_1745999035681:Mg,t_0_1746000517848:"已过期",t_0_1746001199409:"已到期",t_0_1746004861782:Ag,t_0_1746497662220:"刷新",t_0_1746519384035:"运行中",t_0_1746579648713:Dg,t_0_1746590054456:Ig,t_0_1746667592819:Eg,t_0_1746673515941:ib,t_0_1746676862189:lb,t_0_1746677882486:Cb,t_0_1746697487119:wb,t_0_1746754500246:Pb,t_0_1746760933542:Fb,t_0_1746773350551:zb,t_0_1746773763967:by,t_0_1746776194126:_y,t_0_1746782379424:Sy,t_0_1746858920894:ky,t_0_1747019621052:Fy,t_0_1747040228657:My,t_0_1747042966820:Ay,t_0_1747047213730:Ly,t_0_1747106957037:Wy,t_0_1747110184700:qy,t_0_1747215751189:Xy,t_0_1747271295174:Zy,t_0_1747280814475:i_,t_0_1747296173751:"网站名",t_0_1747298114839:g_,t_0_1747300383756:y_,t_0_1747365600180:C_,t_0_1747367069267:P_,t_0_1747617113090:T_,t_0_1747647014927:F_,t_0_1747709067998:z_,t_0_1747711335067:M_,t_0_1747754231151:O_,t_0_1747817614953:"请输入",t_0_1747886301644:V_,t_0_1747895713179:ox,t_0_1747903670020:ax,t_0_1747904536291:bx,t_0_1747965909665:yx,t_0_1747969933657:_x,t_0_1747984137443:xx,t_0_1747990228780:Px,t_0_1747990626044:Bx,t_0_1747994891459:Ex,t_10_1744958860078:op,t_10_1745215914342:"执行",t_10_1745227838234:"执行中",t_10_1745289354650:lf,t_10_1745457486451:Fm,t_10_1745464073098:Gm,t_10_1745735765165:pv,t_10_1745833941691:pg,t_10_1746667589575:"通配符",t_10_1746676862329:gb,t_10_1746773351576:Eb,t_10_1747280816952:p_,t_10_1747817611126:"申请",t_10_1747886300958:"百度云",t_10_1747903662994:fx,t_10_1747990232207:Ix,t_11_1744958840439:rp,t_11_1745215915429:"编辑",t_11_1745227838422:"未知",t_11_1745289354516:sf,t_11_1745457488256:zm,t_11_1745735766456:fv,t_11_1745833935261:fg,t_11_1746667589598:"多域名",t_11_1746676859158:bb,t_11_1746773349054:Lb,t_11_1747280809178:"跳过",t_11_1747817612051:"部署",t_11_1747886301986:"雷池",t_11_1747903674802:mx,t_12_1744958840387:ap,t_12_1745215914312:"删除",t_12_1745227838814:"详情",t_12_1745289356974:df,t_12_1745457489076:Mm,t_12_1745735765571:mv,t_12_1745833943712:mg,t_12_1746667589733:"热门",t_12_1746676860503:yb,t_12_1746773355641:jb,t_12_1747280809893:"不跳过",t_12_1747817611391:"上传",t_12_1747886302725:Q_,t_12_1747903662994:vx,t_13_1744958840714:ip,t_13_1745215915455:_p,t_13_1745227838275:$p,t_13_1745289354528:cf,t_13_1745457487555:$m,t_13_1745735766084:vv,t_13_1745833933630:vg,t_13_1746667599218:Kg,t_13_1746676856842:_b,t_13_1746773349526:Nb,t_13_1747280810369:f_,t_13_1747886301689:J_,t_13_1747903673007:gx,t_14_1744958839470:lp,t_14_1745215916235:xp,t_14_1745227840904:Ap,t_14_1745289354902:uf,t_14_1745457488092:Am,t_14_1745735766121:gv,t_14_1745833932440:gg,t_14_1746667590827:Yg,t_14_1746676859019:xb,t_14_1746773355081:Hb,t_14_1747280811231:m_,t_14_1747886301884:ex,t_15_1744958840790:sp,t_15_1745215915743:Cp,t_15_1745227839354:"共",t_15_1745289355714:hf,t_15_1745457484292:"退出",t_15_1745735768976:bv,t_15_1745833940280:bg,t_15_1746667588493:"个",t_15_1746676856567:"已停用",t_15_1747886301573:tx,t_16_1744958841116:dp,t_16_1745215915209:wp,t_16_1745227838930:"条",t_16_1745289354902:pf,t_16_1745457491607:Om,t_16_1745735766712:yv,t_16_1745833933819:yg,t_16_1746667591069:Gg,t_16_1746676855270:"测试",t_16_1746773356568:Wb,t_16_1747886308182:nx,t_17_1744958839597:cp,t_17_1745215915985:Sp,t_17_1745227838561:"域名",t_17_1745289355715:ff,t_17_1745457488251:Dm,t_17_1745833935070:_g,t_17_1746667588785:"支持",t_17_1746773351220:Vb,t_18_1744958839895:up,t_18_1745215915630:kp,t_18_1745227838154:"品牌",t_18_1745289354598:mf,t_18_1745457490931:Im,t_18_1745735765638:_v,t_18_1745833933989:xg,t_18_1746667590113:"不支持",t_18_1746773355467:Ub,t_19_1744958839297:"证书1",t_19_1745227839107:Op,t_19_1745289354676:vf,t_19_1745457484684:Bm,t_19_1745735766810:xv,t_19_1746667589295:"有效期",t_19_1746773352558:qb,t_1_1744098801860:mh,t_1_1744164835667:yh,t_1_1744258113857:kh,t_1_1744861189113:"运行",t_1_1744870861944:Ih,t_1_1744875938598:"每小时",t_1_1744879616555:Hh,t_1_1744942116527:"周一",t_1_1744958840747:Yh,t_1_1745227838776:Pp,t_1_1745289356586:Qp,t_1_1745317313096:fm,t_1_1745457484314:"已停止",t_1_1745464079590:jm,t_1_1745490731990:"配置",t_1_1745553909483:av,t_1_1745735764953:"邮箱",t_1_1745738963744:"提交",t_1_1745744495019:Vv,t_1_1745744905566:Kv,t_1_1745748290291:Xv,t_1_1745765875247:tg,t_1_1745833931535:"主机",t_1_1745887832941:wg,t_1_1745920567200:Fg,t_1_1745999036289:$g,t_1_1746004861166:Og,t_1_1746590060448:Bg,t_1_1746667588689:"密钥",t_1_1746676859550:sb,t_1_1746697485188:Sb,t_1_1746754499371:Tb,t_1_1746773348701:"未执行",t_1_1746773763643:yy,t_1_1746776198156:xy,t_1_1746858922914:Py,t_1_1747019624067:zy,t_1_1747040226143:$y,t_1_1747042969705:Oy,t_1_1747047213009:jy,t_1_1747106961747:Vy,t_1_1747110191587:Ky,t_1_1747271295484:Qy,t_1_1747280813656:l_,t_1_1747296175494:v_,t_1_1747298114192:b_,t_1_1747300384579:__,t_1_1747365603108:w_,t_1_1747617105179:R_,t_1_1747711335336:$_,t_1_1747754231838:"请先",t_1_1747817639034:"是",t_1_1747886307276:U_,t_1_1747895712756:rx,t_1_1747984133312:Cx,t_1_1747990228492:Tx,t_20_1744958839439:"证书2",t_20_1745227838813:Dp,t_20_1745289354598:gf,t_20_1745457485905:Em,t_20_1745735768764:Cv,t_20_1746667588453:"天",t_20_1746773356060:Kb,t_21_1744958839305:hp,t_21_1745227837972:"来源",t_21_1745289354598:bf,t_21_1745735769154:wv,t_21_1746667590834:Xg,t_21_1746773350759:Yb,t_22_1744958841926:pp,t_22_1745227838154:Ip,t_22_1745289359036:yf,t_22_1745735767366:Sv,t_22_1746667591024:Zg,t_22_1746773360711:Gb,t_23_1744958838717:"面板1",t_23_1745227838699:Bp,t_23_1745289355716:_f,t_23_1746667591989:Qg,t_23_1746773350040:Xb,t_24_1745227839508:Ep,t_24_1745289355715:xf,t_24_1745735766826:kv,t_24_1746667583520:Jg,t_25_1745227838080:"下载",t_25_1745289355721:Cf,t_25_1745735766651:Pv,t_25_1746667590147:eb,t_25_1746773349596:Zb,t_26_1745289358341:wf,t_26_1745735767144:Tv,t_26_1746667594662:tb,t_26_1746773353409:Qb,t_27_1745227838583:Lp,t_27_1745289355721:Sf,t_27_1745735764546:"下一步",t_27_1746667589350:"免费",t_27_1746773352584:Jb,t_28_1745227837903:"正常",t_28_1745289356040:kf,t_28_1745735766626:Rv,t_28_1746667590336:nb,t_28_1746773354048:ey,t_29_1744958838904:"日",t_29_1745227838410:jp,t_29_1745289355850:Pf,t_29_1745735768933:Fv,t_29_1746667589773:ob,t_29_1746773351834:ty,t_2_1744098804908:vh,t_2_1744164839713:_h,t_2_1744258111238:Ph,t_2_1744861190040:"保存",t_2_1744870863419:Bh,t_2_1744875938555:"每天",t_2_1744879616413:Wh,t_2_1744942117890:"周二",t_2_1744958840131:Gh,t_2_1745215915397:"自动",t_2_1745227839794:Tp,t_2_1745289353944:"名称",t_2_1745317314362:mm,t_2_1745457488661:xm,t_2_1745464077081:Nm,t_2_1745490735558:Qm,t_2_1745553907423:iv,t_2_1745735773668:sv,t_2_1745738969878:Hv,t_2_1745744495813:Uv,t_2_1745744903722:Yv,t_2_1745748298902:Zv,t_2_1745765875918:ng,t_2_1745833931404:"端口",t_2_1745887834248:Sg,t_2_1746667592840:Lg,t_2_1746676856700:db,t_2_1746697487164:kb,t_2_1746754500270:Rb,t_2_1746773350970:Mb,t_2_1746776194263:Cy,t_2_1746858923964:Ty,t_2_1747019616224:"阿里云",t_2_1747042967277:Dy,t_2_1747047214975:Ny,t_2_1747106957037:Uy,t_2_1747110193465:Yy,t_2_1747271295877:Jy,t_2_1747280811593:s_,t_2_1747300385222:x_,t_2_1747711337958:A_,t_2_1747754234999:D_,t_2_1747817610671:"否",t_2_1747886302053:q_,t_2_1747903672640:ix,t_2_1747984134626:wx,t_2_1747990228008:Rx,t_30_1744958843864:fp,t_30_1745227841739:Np,t_30_1745289355718:Tf,t_30_1745735764748:zv,t_30_1746667591892:rb,t_30_1746773350013:ny,t_31_1744958844490:mp,t_31_1745227838461:"确认",t_31_1745289355715:Rf,t_31_1745735767891:Mv,t_31_1746667593074:ab,t_31_1746773349857:oy,t_32_1745227838439:Hp,t_32_1745289356127:Ff,t_32_1745735767156:$v,t_32_1746773348993:"钉钉",t_33_1745227838984:Wp,t_33_1745289355721:zf,t_33_1745735766532:Av,t_33_1746773350932:ry,t_34_1745227839375:Vp,t_34_1745289356040:Mf,t_34_1745735771147:Ov,t_34_1746773350153:"飞书",t_35_1745227839208:Up,t_35_1745289355714:$f,t_35_1745735781545:Dv,t_35_1746773362992:ay,t_36_1745227838958:qp,t_36_1745289355715:Af,t_36_1745735769443:Iv,t_36_1746773348989:iy,t_37_1745227839669:Kp,t_37_1745289356041:Of,t_37_1745735779980:Bv,t_37_1746773356895:ly,t_38_1745227838813:Yp,t_38_1745289356419:Df,t_38_1745735769521:Ev,t_38_1746773349796:sy,t_39_1745227838696:Gp,t_39_1745289354902:If,t_39_1745735768565:Lv,t_39_1746773358932:dy,t_3_1744098802647:gh,t_3_1744164839524:xh,t_3_1744258111182:Th,t_3_1744861190932:zh,t_3_1744870864615:Eh,t_3_1744875938310:"每月",t_3_1744879615723:"分钟",t_3_1744942117885:"周三",t_3_1744958840485:Xh,t_3_1745215914237:"手动",t_3_1745227841567:Rp,t_3_1745289354664:Jp,t_3_1745317313561:vm,t_3_1745457486983:Cm,t_3_1745464081058:Hm,t_3_1745490735059:Jm,t_3_1745735765112:dv,t_3_1745748298161:Qv,t_3_1745765920953:og,t_3_1745833936770:ig,t_3_1745887835089:kg,t_3_1746667592270:jg,t_3_1746676857930:cb,t_3_1746773348798:"总数量",t_3_1746776195004:wy,t_3_1746858920060:Ry,t_3_1747019616129:"腾讯云",t_3_1747042967608:Iy,t_3_1747047218669:Hy,t_3_1747110185110:Gy,t_3_1747271294475:e_,t_3_1747280812067:d_,t_3_1747365600828:S_,t_3_1747754232000:I_,t_3_1747817612697:E_,t_3_1747886302848:K_,t_3_1747903672833:lx,t_3_1747984134586:Sx,t_3_1747990229599:Fx,t_40_1745227838872:Xp,t_40_1745289355715:Bf,t_40_1745735815317:jv,t_40_1746773352188:cy,t_41_1745289354902:"类型",t_41_1745735767016:Nv,t_41_1746773364475:uy,t_42_1745289355715:Ef,t_42_1746773348768:hy,t_43_1745289354598:Lf,t_43_1746773359511:py,t_44_1745289354583:"用户名",t_44_1746773352805:fy,t_45_1745289355714:jf,t_45_1746773355717:my,t_46_1745289355723:Nf,t_46_1746773350579:vy,t_47_1745289355715:Hf,t_47_1746773360760:gy,t_48_1745289355714:"密码",t_49_1745289355714:Wf,t_4_1744098802046:bh,t_4_1744164840458:Ch,t_4_1744258111238:Rh,t_4_1744861194395:Mh,t_4_1744870861589:"取消",t_4_1744875940750:Lh,t_4_1744879616168:Vh,t_4_1744942117738:"周四",t_4_1744958838951:Zh,t_4_1745215914951:gp,t_4_1745227838558:Fp,t_4_1745289354902:ef,t_4_1745317314054:gm,t_4_1745457497303:wm,t_4_1745464075382:Wm,t_4_1745490735630:ev,t_4_1745735765372:"添加",t_4_1745748290292:Jv,t_4_1745765868807:rg,t_4_1745833932780:lg,t_4_1745887835265:Pg,t_4_1746667590873:Ng,t_4_1746676861473:ub,t_4_1746773348957:$b,t_4_1746858917773:"已选择",t_4_1747042966254:By,t_4_1747271294621:t_,t_4_1747280811462:c_,t_4_1747365600137:k_,t_4_1747754235407:B_,t_4_1747817613325:L_,t_4_1747886303229:Y_,t_4_1747903685371:sx,t_4_1747984130327:"复制",t_4_1747990227956:zx,t_50_1745289355715:Vf,t_51_1745289355714:Uf,t_52_1745289359565:qf,t_53_1745289356446:Kf,t_54_1745289358683:Yf,t_55_1745289355715:Gf,t_56_1745289355714:Xf,t_57_1745289358341:Zf,t_58_1745289355721:Qf,t_59_1745289356803:Jf,t_5_1744164840468:wh,t_5_1744258110516:"监控",t_5_1744861189528:"开始",t_5_1744870862719:"确定",t_5_1744875940010:jh,t_5_1744879615277:"小时",t_5_1744942117167:"周五",t_5_1744958839222:Qh,t_5_1745215914671:"启用",t_5_1745227839906:zp,t_5_1745289355718:tf,t_5_1745317315285:bm,t_5_1745457494695:Sm,t_5_1745464086047:Vm,t_5_1745490738285:tv,t_5_1745735769112:cv,t_5_1745833933241:sg,t_5_1746667590676:Hg,t_5_1746676856974:hb,t_5_1746773349141:Ab,t_5_1747042965911:Ey,t_5_1747271291828:n_,t_5_1747817619337:j_,t_5_1747886301427:G_,t_5_1747903671439:dx,t_5_1747984133112:kx,t_5_1747990228592:Mx,t_60_1745289355715:em,t_61_1745289355878:tm,t_62_1745289360212:nm,t_63_1745289354897:"5分钟",t_64_1745289354670:om,t_65_1745289354591:rm,t_66_1745289354655:am,t_67_1745289354487:im,t_68_1745289354676:"邮件",t_69_1745289355721:"短信",t_6_1744164838900:Sh,t_6_1744258111153:"设置",t_6_1744861190121:$h,t_6_1744879616944:Uh,t_6_1744942117815:"周六",t_6_1744958843569:Jh,t_6_1745215914104:"停用",t_6_1745227838798:Mp,t_6_1745289358340:nf,t_6_1745317313383:ym,t_6_1745457487560:km,t_6_1745464075714:Um,t_6_1745490738548:nv,t_6_1745735765205:uv,t_6_1745833933523:dg,t_6_1746667592831:Wg,t_6_1746676860886:pb,t_6_1746773349980:Ob,t_6_1747271296994:o_,t_6_1747280809615:u_,t_6_1747817644358:N_,t_6_1747886301844:"七牛云",t_6_1747903672931:cx,t_6_1747990228465:$x,t_70_1745289354904:"微信",t_71_1745289354583:lm,t_72_1745289355715:sm,t_73_1745289356103:dm,t_7_1744164838625:"登录中",t_7_1744861189625:Ah,t_7_1744879615743:"日期",t_7_1744942117862:"周日",t_7_1744958841708:ep,t_7_1745215914189:bp,t_7_1745227838093:"状态",t_7_1745289355714:of,t_7_1745317313831:_m,t_7_1745457487185:Pm,t_7_1745464073330:qm,t_7_1745490739917:ov,t_7_1745735768326:hv,t_7_1745833933278:cg,t_7_1746667592468:Vg,t_7_1746676857191:fb,t_7_1746773349302:Db,t_7_1747271292060:r_,t_7_1747280808936:"区域",t_7_1747817613773:H_,t_7_1747886302395:X_,t_7_1747903678624:ux,t_7_1747990227761:Ax,t_8_1744164839833:"登录",t_8_1744861189821:Oh,t_8_1744879616493:qh,t_8_1744958841658:tp,t_8_1745215914610:"操作",t_8_1745227838023:"成功",t_8_1745289354902:rf,t_8_1745457496621:Tm,t_8_1745464081472:Km,t_8_1745490739319:rv,t_8_1745735765753:"已配置",t_8_1745833933552:ug,t_8_1746667591924:Ug,t_8_1746676860457:mb,t_8_1746773351524:Ib,t_8_1747271290414:"宝塔",t_8_1747280809382:"存储桶",t_8_1747817614764:W_,t_8_1747886304014:Z_,t_8_1747903675532:hx,t_8_1747990235316:Ox,t_9_1744861189580:Dh,t_9_1744958840634:np,t_9_1745215914666:yp,t_9_1745227838305:"失败",t_9_1745289355714:af,t_9_1745457500045:Rm,t_9_1745464078110:Ym,t_9_1745735765287:"未配置",t_9_1745833935269:hg,t_9_1746667589516:qg,t_9_1746676857164:vb,t_9_1746773348221:Bb,t_9_1747271284765:a_,t_9_1747280810169:h_,t_9_1747817611448:"域名:",t_9_1747886301128:"华为云",t_9_1747903669360:px,t_9_1747990229640:Dx},Symbol.toStringTag,{value:"Module"})),Nx="Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.",Hx="Return Home",Wx="Safety Tip: If you think this is an error, please contact the administrator immediately",Vx="Expand Main Menu",Ux="Foldout Main Menu",qx="AllinSSL",Kx="Account Login",Yx="Please enter the username",Gx="Please enter the password",Xx="Remember Password",Zx="Forget password",Qx="Logging in",Jx="Login",eC="Home",tC="Automation Deployment",nC="Certificate Management",oC="Certificate Application",rC="Authorization API Management",aC="Monitoring",iC="Settings",lC="Return workflow list",sC="Save",dC="Please select a node to configure",cC="Click on the node in the left-side workflow diagram to configure it",uC="Start",hC="No node selected",pC="Configuration saved",fC="Start the workflow",mC="Selected node:",vC="Node",gC="Node Configuration",bC="Please select the left node for configuration",yC="Configuration component for this node type not found",_C="Cancel",xC="Confirm",CC="Every minute",wC="Each hour",SC="Every day",kC="Each month",PC="Automatic execution",TC="Manual execution",RC="Test PID",FC="Please enter the test PID",zC="Execution cycle",MC="minute",$C="Please enter minutes",AC="hour",OC="Please enter hours",DC="Date",IC="Please select a date",BC="Every week",EC="Monday",LC="Tuesday",jC="Wednesday",NC="Thursday",HC="Friday",WC="Saturday",VC="Sunday",UC="Please enter the domain name",qC="Please enter your email",KC="Email format is incorrect",YC="Please select DNS provider authorization",GC="Local Deployment",XC="SSH Deployment",ZC="Bao Ta Panel/1 panel (Deploy to panel certificate)",QC="1panel (Deploy to specified website project)",JC="Tencent Cloud CDN/Aliyun CDN",ew="Tencent Cloud WAF",tw="Alicloud WAF",nw="This automatically applied certificate",ow="Optional certificate list",rw="PEM (*.pem, *.crt, *.key)",aw="PFX (*.pfx)",iw="JKS (*.jks)",lw="POSIX bash (Linux/macOS)",sw="CMD (Windows)",dw="PowerShell (Windows)",cw="Certificate 1",uw="Certificate 2",hw="Server 1",pw="Server 2",fw="Panel 1",mw="Certificate format is incorrect, please check if it includes the complete certificate header and footer identifiers",vw="Private key format is incorrect, please check if it includes the complete private key header and footer identifier",gw="Automation Name",bw="Automatic",yw="Manual",_w="Enabled Status",xw="Enable",Cw="Disabling",ww="Creation Time",Sw="Operation",kw="Execution History",Pw="Execute",Tw="Edit",Rw="Delete",Fw="Execute workflow",zw="Workflow executed successfully",Mw="Workflow execution failed",$w="Delete Workflow",Aw="Workflow deletion successful",Ow="Workflow deletion failed",Dw="Please enter the automation name",Iw="Are you sure you want to execute the {name} workflow?",Bw="Confirm deletion of {name} workflow? This action cannot be undone.",Ew="Execution Time",Lw="End time",jw="Execution method",Nw="Status",Hw="Success",Ww="Failure",Vw="In progress",Uw="Unknown",qw="Details",Kw="Upload Certificate",Yw="Please enter the certificate domain name or brand name to search",Gw="Together",Xw="strip",Zw="Domain name",Qw="Brand",Jw="Remaining days",eS="Expiry Time",tS="Source",nS="Automatic Application",oS="Manual upload",rS="Add Time",aS="Download",iS="About to expire",lS="Normal",sS="Delete certificate",dS="Are you sure you want to delete this certificate? This action cannot be undone.",cS="Confirm",uS="Certificate Name",hS="Please enter the certificate name",pS="Certificate Content (PEM)",fS="Please enter the certificate content",mS="Private key content (KEY)",vS="Please enter the private key content",gS="Download failed",bS="Upload failed",yS="Delete failed",_S="Add Authorization API",xS="Please enter the authorized API name or type",CS="Name",wS="Authorization API Type",SS="Edit Authorization API",kS="Delete Authorization API",PS="Are you sure you want to delete this authorized API? This action cannot be undone.",TS="Add failed",RS="Update failed",FS="Expired {days} days",zS="Monitoring Management",MS="Add Monitoring",$S="Please enter the monitoring name or domain to search",AS="Monitor Name",OS="Certificate Domain",DS="Certificate Authority",IS="Certificate Status",BS="Certificate Expiration Date",ES="Alert Channels",LS="Last Check Time",jS="Edit Monitoring",NS="Confirm Delete",HS="Items cannot be restored after deletion. Are you sure you want to delete this monitor?",WS="Modification failed",VS="Setup Failed",US="Please enter the verification code",qS="Form validation failed, please check the filled content",KS="Please enter the authorized API name",YS="Please select the authorization API type",GS="Please enter the server IP",XS="Please enter the SSH port",ZS="Please enter the SSH key",QS="Please enter the Baota address",JS="Please enter the API key",ek="Please enter the 1panel address",tk="Please enter AccessKeyId",nk="Please enter AccessKeySecret",ok="Please enter SecretId",rk="Please enter SecretKey",ak="Update successful",ik="Addition Successful",lk="Type",sk="Server IP",dk="SSH port",ck="Username",uk="Authentication method",hk="Password authentication",pk="Key authentication",fk="Password",mk="SSH private key",vk="Please enter the SSH private key",gk="Private key password",bk="If the private key has a password, please enter",yk="BaoTa Panel Address",_k="Please enter the Baota panel address, for example: https://bt.example.com",xk="API Key",Ck="1 panel address",wk="Please enter the 1panel address, for example: https://1panel.example.com",Sk="Please enter the AccessKey ID",kk="Please input AccessKey Secret",Pk="Please enter the monitoring name",Tk="Please enter the domain/IP",Rk="Please select the inspection cycle",Fk="5 minutes",zk="10 minutes",Mk="15 minutes",$k="30 minutes",Ak="60 minutes",Ok="Email",Dk="WeChat",Ik="Domain/IP",Bk="Inspection cycle",Ek="Please select an alert channel",Lk="Please enter the authorized API name",jk="Delete monitoring",Nk="Update Time",Hk="Server IP address format error",Wk="Port format error",Vk="Panel URL address format error",Uk="Please enter the panel API key",qk="Please enter the Aliyun AccessKeyId",Kk="Please input the Aliyun AccessKeySecret",Yk="Please enter the Tencent Cloud SecretId",Gk="Please enter the Tencent Cloud SecretKey",Xk="Enabled",Zk="Stopped",Qk="Switch to manual mode",Jk="Switch to automatic mode",eP="After switching to manual mode, the workflow will no longer be executed automatically, but can still be executed manually",tP="After switching to automatic mode, the workflow will automatically execute according to the configured time",nP="Close current workflow",oP="Enable current workflow",rP="After closing, the workflow will no longer execute automatically and cannot be executed manually. Continue?",aP="After enabling, the workflow configuration will execute automatically or manually. Continue?",iP="Failed to add workflow",lP="Failed to set workflow execution method",sP="Enable or disable workflow failure",dP="Failed to execute workflow",cP="Failed to delete workflow",uP="Exit",hP="You are about to log out. Are you sure you want to exit?",pP="Logging out, please wait...",fP="Add email notification",mP="Saved successfully",vP="Deleted successfully",gP="Failed to get system settings",bP="Failed to save settings",yP="Failed to get notification settings",_P="Failed to save notification settings",xP="Failed to get notification channel list",CP="Failed to add email notification channel",wP="Failed to update notification channel",SP="Failed to delete notification channel",kP="Failed to check for version update",PP="Save settings",TP="Basic Settings",RP="Choose template",FP="Please enter the workflow name",zP="Configuration",MP="Please enter the email format",$P="Please select a DNS provider",AP="Please enter the renewal interval",OP="Please enter the domain name, the domain name cannot be empty",DP="Please enter your email, email cannot be empty",IP="Please select a DNS provider, the DNS provider cannot be empty",BP="Please enter the renewal interval, the renewal interval cannot be empty",EP="Invalid email format, please enter a correct email",LP="Renewal interval cannot be empty",jP="Please enter the certificate domain name, multiple domain names separated by commas",NP="Mailbox",HP="Please enter your email to receive notifications from the certificate authority",WP="DNS provider",VP="Renewal Interval (Days)",UP="Renewal interval",qP="day, automatically renewed upon expiration",KP="Configured",YP="Not configured",GP="Pagoda Panel",XP="Pagoda Panel Website",ZP="1Panel",QP="1Panel website",JP="Tencent Cloud CDN",eT="Tencent Cloud COS",tT="Alibaba Cloud CDN",nT="Deployment Type",oT="Please select deployment type",rT="Please enter the deployment path",aT="Please enter the prefix command",iT="Please enter the post command",lT="Please enter the site ID",sT="Please enter the region",dT="Please enter the bucket",cT="Next step",uT="Select deployment type",hT="Configure deployment parameters",pT="Operation mode",fT="Operation mode not configured",mT="Running cycle not configured",vT="Runtime not configured",gT="Certificate file (PEM format)",bT="Please paste the certificate file content, for example:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",yT="Private key file (KEY format)",_T="Please paste the private key file content, for example:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",xT="Certificate private key content cannot be empty",CT="The format of the certificate private key is incorrect",wT="Certificate content cannot be empty",ST="Certificate format is incorrect",kT="Previous",PT="Submit",TT="Configure deployment parameters, the type determines the parameter configuration",RT="Deployment device source",FT="Please select the deployment device source",zT="Please select the deployment type and click Next",MT="Deployment source",$T="Please select deployment source",AT="Add more devices",OT="Add deployment source",DT="Certificate Source",IT="The current type deployment source is empty, please add a deployment source first",BT="There is no application node in the current process, please add an application node first",ET="Submit content",LT="Click to edit workflow title",jT="Delete Node - 【{name}】",NT="The current node has child nodes. Deleting it will affect other nodes. Are you sure you want to delete it?",HT="The current node has configuration data, are you sure you want to delete it?",WT="Please select the deployment type before proceeding to the next step",VT="Please select type",UT="Host",qT="port",KT="Failed to get homepage overview data",YT="Version information",GT="Current version",XT="Update method",ZT="Latest version",QT="Changelog",JT="Customer Service QR Code",eR="Scan the QR code to add customer service",tR="WeChat Official Account",nR="Scan to follow the WeChat official account",oR="About the product",rR="SMTP server",aR="Please enter the SMTP server",iR="SMTP port",lR="Please enter the SMTP port",sR="SSL/TLS connection",dR="Please select message notification",cR="Notification",uR="Add notification channel",hR="Please enter the notification subject",pR="Please enter the notification content",fR="Modify email notification settings",mR="Notification Subject",vR="Notification content",gR="Click to get verification code",bR="remaining {days} days",yR="Expiring soon {days} days",_R="Expired",xR="Expired",CR="DNS provider is empty",wR="Add DNS provider",SR="Refresh",kR="Running",PR="Execution History Details",TR="Execution status",RR="Trigger Method",FR="Submitting information, please wait...",zR="Panel URL",MR="Ignore SSL/TLS certificate errors",$R="Form validation failed",AR="New workflow",OR="Submitting application, please wait...",DR="Please enter the correct domain name",IR="Please select the parsing method",BR="Refresh list",ER="Wildcard",LR="Multi-domain",jR="Popular",NR="is a widely used free SSL certificate provider, suitable for personal websites and testing environments.",HR="Number of supported domains",WR="piece",VR="Support wildcards",UR="support",qR="Not supported",KR="Validity period",YR="Support Mini Program",GR="Applicable websites",XR="*.example.com, *.demo.com",ZR="*.example.com",QR="example.com、demo.com",JR="www.example.com, example.com",eF="Free",tF="Apply Now",nF="Project address",oF="Please enter the certificate file path",rF="Please enter the private key file path",aF="The current DNS provider is empty, please add a DNS provider first",iF="Test notification sending failed",lF="Add Configuration",sF="Not supported yet",dF="Email notification",cF="Send alert notifications via email",uF="DingTalk Notification",hF="Send alarm notifications via DingTalk robot",pF="WeChat Work Notification",fF="Send alarm notifications via WeCom bot",mF="Feishu Notification",vF="Send alarm notifications via Feishu bot",gF="WebHook Notification",bF="Send alarm notifications via WebHook",yF="Notification channel",_F="Configured notification channels",xF="Disabled",CF="Test",wF="Last execution status",SF="Domain name cannot be empty",kF="Email cannot be empty",PF="Alibaba Cloud OSS",TF="Hosting Provider",RF="API Source",FF="API type",zF="Request error",MF="{0} results",$F="Not executed",AF="Automated workflow",OF="Total quantity",DF="Execution failed",IF="Expiring soon",BF="Real-time monitoring",EF="Abnormal quantity",LF="Recent workflow execution records",jF="View all",NF="No workflow execution records",HF="Create workflow",WF="Click to create an automated workflow to improve efficiency",VF="Apply for certificate",UF="Click to apply for and manage SSL certificates to ensure security",qF="Only one email notification channel can be configured at most",KF="Confirm {0} notification channel",YF="{0} notification channels will start sending alert notifications.",GF="The current notification channel does not support testing",XF="Sending test email, please wait...",ZF="Test email",QF="Send a test email to the currently configured mailbox, continue?",JF="Delete Confirmation",ez="Please enter name",tz="Please enter the correct SMTP port",nz="Please enter user password",oz="Please enter the correct sender email",rz="Please enter the correct receiving email",az="Sender's email",iz="Receive Email",lz="DingTalk",sz="WeChat Work",dz="Feishu",cz="A comprehensive SSL certificate lifecycle management tool that integrates application, management, deployment, and monitoring.",uz="Certificate Application",hz="Support obtaining certificates from Let's Encrypt via ACME protocol",pz="Certificate Management",fz="Centralized management of all SSL certificates, including manually uploaded and automatically applied certificates",mz="Certificate deployment",vz="Support one-click certificate deployment to multiple platforms such as Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.",gz="Site monitoring",bz="Real-time monitoring of site SSL certificate status to provide early warning of certificate expiration",yz="Automation task:",_z="Support scheduled tasks, automatically renew certificates and deploy",xz="Multi-platform support",Cz="Supports DNS verification methods for multiple DNS providers (Alibaba Cloud, Tencent Cloud, etc.)",wz="Are you sure you want to delete {0}, the notification channel?",Sz="Let's Encrypt and other CAs automatically apply for free certificates",kz="Log Details",Pz="Failed to load log:",Tz="Download log",Rz="No log information",Fz="Automated tasks",zz="Please select a hosting provider",Mz="The DNS provider list is empty, please add",$z="The list of hosting providers is empty, please add",Az="Add host provider",Oz="Selected",Dz="Please select a host provider{0}",Iz="Click to set up website monitoring and grasp real-time status",Bz="Alibaba Cloud",Ez="Tencent Cloud",Lz="For multiple domains, please use English commas to separate them, for example: test.com,test.cn",jz="For wildcard domains, use an asterisk *, for example: *.test.com",Nz="Please enter the correct Cloudflare API key",Hz="Please enter the correct BT-Panel API key",Wz="Please enter the correct Tencent Cloud SecretKey",Vz="Please enter the correct Huawei Cloud SecretKey",Uz="Please enter Huawei Cloud AccessKey",qz="Please enter the correct email account",Kz="Add automated deployment",Yz="Add certificate",Gz="SSL Certificate Management Platform",Xz="Domain format error, please check the domain format",Zz="DNS recursive server (optional)",Qz="Please enter DNS recursive servers (use commas to separate multiple values)",Jz="Skip local pre-check",eM="Select certificate",tM="If you need to modify the certificate content and key, please choose a custom certificate",nM="When a non-custom certificate is selected, neither the certificate content nor the key can be modified",oM="Upload and submit",rM="Pagoda WAF Website",aM="Pagoda WAF - URL format error",iM="Please enter the Pagoda WAF-API key",lM="Please enter the correct Huawei Cloud AccessKey",sM="Please enter the correct Baidu Cloud AccessKey",dM="Please enter the correct Baidu Cloud SecretKey",cM="Baota WAF-URL",uM="Local Deployment",hM="All sources",pM="Pagoda",fM="1Panel",mM="SMTP port modification is prohibited",vM="Certificate file path (PEM format only)",gM="Private key file path",bM="Pre-command (optional)",yM="Post command (optional)",_M="Site ID",xM="Region",CM="Bucket",wM="Repeated deployment",SM="When the certificate is the same as the last deployment and the last deployment was successful",kM="Skip",PM="Do not skip",TM="Re-deployment",RM="Search deployment type",FM="Website name",zM="Please enter the website name",MM="Leichi WAF Site",$M="Leichi WAF",AM="Leichi WAF - URL format error",OM="Please enter the correct BT-WAF API key",DM="Please enter the correct Leichi WAF-API key",IM="Please enter the Western Digital username",BM="Please enter the Western Digital password",EM="Please enter the AccessKey of Volcano Engine",LM="Please enter the SecretKey of Volcano Engine",jM="Pagoda docker site",NM="Please enter the Leichi API Token",HM="API Token",WM="Certificate algorithm",VM="Please enter the SSH key, the content cannot be empty",UM="Please enter the SSH password",qM="Host address",KM="Please enter the host address cannot be empty",YM="Log Viewer",GM="Please first",XM="If you have any questions or suggestions, please feel free to raise them",ZM="You can also find us on Github",QM="Your participation is extremely important to AllinSSL, thank you.",JM="Please enter",e$="Node field is required",t$="Please enter a valid domain name",n$="Please enter a valid domain name, separate multiple domains with English commas",o$="Please enter your email address",r$="Please enter a valid email address",a$="Node error",i$="Domain:",l$="Apply",s$="Deploy",d$="Upload",c$="Message Push Configuration",u$="Pagoda Panel - Website",h$="1Panel-Website",p$="Pagoda WAF",f$="Pagoda WAF-Website",m$="Tencent Cloud EdgeOne",v$="Qiniu Cloud",g$="Qiniu Cloud-CDN",b$="Qiniu Cloud - OSS",y$="Huawei Cloud",_$="Baidu Cloud",x$="Thunder Pool",C$="Leichi WAF-Website",w$="Volcano Engine",S$="West Digital",k$="Deploy project type",P$="Are you sure you want to refresh the page? Data may be lost!",T$="Execution successful",R$="Executing",F$="CA Authorization Management",z$="Confirm deletion",M$="Are you sure you want to delete this CA authorization?",$$="Add CA Authorization",A$="Please enter ACME EAB KID",O$="Please enter ACME EAB HMAC Key",D$="Please select CA provider",I$="The alias authorized by the current CA provider for quick identification",B$="CA provider",E$="ACME EAB KID",L$="Please enter the ACME EAB KID provided by the CA",j$="ACME EAB HMAC Key",N$="Enter the CA provider's ACME EAM HMAC",H$="AllinSSL, an open-source free SSL certificate automation management platform. One-click automated application, renewal, deployment, and monitoring of all SSL/TLS certificates, supporting cross-cloud environments and multiple CAs (coding~), say goodbye to cumbersome configurations and high costs.",W$="Please enter the email for binding CA authorization",V$="Terminal deployment",U$="Please enter the correct GoDaddy API Key",q$="Please enter GoDaddy API Secret",K$="Please enter Qiniu Cloud Access Secret",Y$="Please enter Qiniu Cloud Access Key",G$="Copy",X$="When the expiration time is approaching",Z$="Please select the certificate authority",Q$="Certificate Authority (EAB ID)",J$="No CA authorization data available",eA="Failed to get CA authorization list",tA="Auto-renewal (days)",nA="Certificate validity period is less than",oA="Time to renew the new certificate",rA="Proxy Address (Optional)",aA="Only supports http or https proxy addresses (e.g., http://proxy.example.com:8080)",iA="Auto-renewal time cannot be empty",lA="Please select the website name, multiple selections are supported",sA="Add Zerossl, Google, custom CA authorization",dA="Pagoda docker website",cA={t_0_1744098811152:Nx,t_1_1744098801860:Hx,t_2_1744098804908:Wx,t_3_1744098802647:Vx,t_4_1744098802046:Ux,t_1_1744164835667:qx,t_2_1744164839713:Kx,t_3_1744164839524:Yx,t_4_1744164840458:Gx,t_5_1744164840468:Xx,t_6_1744164838900:Zx,t_7_1744164838625:Qx,t_8_1744164839833:Jx,t_0_1744258111441:eC,t_1_1744258113857:tC,t_2_1744258111238:nC,t_3_1744258111182:oC,t_4_1744258111238:rC,t_5_1744258110516:aC,t_6_1744258111153:iC,t_0_1744861190562:lC,t_1_1744861189113:"Run",t_2_1744861190040:sC,t_3_1744861190932:dC,t_4_1744861194395:cC,t_5_1744861189528:uC,t_6_1744861190121:hC,t_7_1744861189625:pC,t_8_1744861189821:fC,t_9_1744861189580:mC,t_0_1744870861464:vC,t_1_1744870861944:gC,t_2_1744870863419:bC,t_3_1744870864615:yC,t_4_1744870861589:_C,t_5_1744870862719:xC,t_0_1744875938285:CC,t_1_1744875938598:wC,t_2_1744875938555:SC,t_3_1744875938310:kC,t_4_1744875940750:PC,t_5_1744875940010:TC,t_0_1744879616135:RC,t_1_1744879616555:FC,t_2_1744879616413:zC,t_3_1744879615723:MC,t_4_1744879616168:$C,t_5_1744879615277:AC,t_6_1744879616944:OC,t_7_1744879615743:DC,t_8_1744879616493:IC,t_0_1744942117992:BC,t_1_1744942116527:EC,t_2_1744942117890:LC,t_3_1744942117885:jC,t_4_1744942117738:NC,t_5_1744942117167:HC,t_6_1744942117815:WC,t_7_1744942117862:VC,t_0_1744958839535:UC,t_1_1744958840747:qC,t_2_1744958840131:KC,t_3_1744958840485:YC,t_4_1744958838951:GC,t_5_1744958839222:XC,t_6_1744958843569:ZC,t_7_1744958841708:QC,t_8_1744958841658:JC,t_9_1744958840634:ew,t_10_1744958860078:tw,t_11_1744958840439:nw,t_12_1744958840387:ow,t_13_1744958840714:rw,t_14_1744958839470:aw,t_15_1744958840790:iw,t_16_1744958841116:lw,t_17_1744958839597:sw,t_18_1744958839895:dw,t_19_1744958839297:cw,t_20_1744958839439:uw,t_21_1744958839305:hw,t_22_1744958841926:pw,t_23_1744958838717:fw,t_29_1744958838904:"Day",t_30_1744958843864:mw,t_31_1744958844490:vw,t_0_1745215914686:gw,t_2_1745215915397:bw,t_3_1745215914237:yw,t_4_1745215914951:_w,t_5_1745215914671:xw,t_6_1745215914104:Cw,t_7_1745215914189:ww,t_8_1745215914610:Sw,t_9_1745215914666:kw,t_10_1745215914342:Pw,t_11_1745215915429:Tw,t_12_1745215914312:Rw,t_13_1745215915455:Fw,t_14_1745215916235:zw,t_15_1745215915743:Mw,t_16_1745215915209:$w,t_17_1745215915985:Aw,t_18_1745215915630:Ow,t_1_1745227838776:Dw,t_2_1745227839794:Iw,t_3_1745227841567:Bw,t_4_1745227838558:Ew,t_5_1745227839906:Lw,t_6_1745227838798:jw,t_7_1745227838093:Nw,t_8_1745227838023:Hw,t_9_1745227838305:Ww,t_10_1745227838234:Vw,t_11_1745227838422:Uw,t_12_1745227838814:qw,t_13_1745227838275:Kw,t_14_1745227840904:Yw,t_15_1745227839354:Gw,t_16_1745227838930:Xw,t_17_1745227838561:Zw,t_18_1745227838154:Qw,t_19_1745227839107:Jw,t_20_1745227838813:eS,t_21_1745227837972:tS,t_22_1745227838154:nS,t_23_1745227838699:oS,t_24_1745227839508:rS,t_25_1745227838080:aS,t_27_1745227838583:iS,t_28_1745227837903:lS,t_29_1745227838410:sS,t_30_1745227841739:dS,t_31_1745227838461:cS,t_32_1745227838439:uS,t_33_1745227838984:hS,t_34_1745227839375:pS,t_35_1745227839208:fS,t_36_1745227838958:mS,t_37_1745227839669:vS,t_38_1745227838813:gS,t_39_1745227838696:bS,t_40_1745227838872:yS,t_0_1745289355714:_S,t_1_1745289356586:xS,t_2_1745289353944:CS,t_3_1745289354664:wS,t_4_1745289354902:SS,t_5_1745289355718:kS,t_6_1745289358340:PS,t_7_1745289355714:TS,t_8_1745289354902:RS,t_9_1745289355714:FS,t_10_1745289354650:zS,t_11_1745289354516:MS,t_12_1745289356974:$S,t_13_1745289354528:AS,t_14_1745289354902:OS,t_15_1745289355714:DS,t_16_1745289354902:IS,t_17_1745289355715:BS,t_18_1745289354598:ES,t_19_1745289354676:LS,t_20_1745289354598:jS,t_21_1745289354598:NS,t_22_1745289359036:HS,t_23_1745289355716:WS,t_24_1745289355715:VS,t_25_1745289355721:US,t_26_1745289358341:qS,t_27_1745289355721:KS,t_28_1745289356040:YS,t_29_1745289355850:GS,t_30_1745289355718:XS,t_31_1745289355715:ZS,t_32_1745289356127:QS,t_33_1745289355721:JS,t_34_1745289356040:ek,t_35_1745289355714:tk,t_36_1745289355715:nk,t_37_1745289356041:ok,t_38_1745289356419:rk,t_39_1745289354902:ak,t_40_1745289355715:ik,t_41_1745289354902:lk,t_42_1745289355715:sk,t_43_1745289354598:dk,t_44_1745289354583:ck,t_45_1745289355714:uk,t_46_1745289355723:hk,t_47_1745289355715:pk,t_48_1745289355714:fk,t_49_1745289355714:mk,t_50_1745289355715:vk,t_51_1745289355714:gk,t_52_1745289359565:bk,t_53_1745289356446:yk,t_54_1745289358683:_k,t_55_1745289355715:xk,t_56_1745289355714:Ck,t_57_1745289358341:wk,t_58_1745289355721:Sk,t_59_1745289356803:kk,t_60_1745289355715:Pk,t_61_1745289355878:Tk,t_62_1745289360212:Rk,t_63_1745289354897:Fk,t_64_1745289354670:zk,t_65_1745289354591:Mk,t_66_1745289354655:$k,t_67_1745289354487:Ak,t_68_1745289354676:Ok,t_69_1745289355721:"SMS",t_70_1745289354904:Dk,t_71_1745289354583:Ik,t_72_1745289355715:Bk,t_73_1745289356103:Ek,t_0_1745289808449:Lk,t_0_1745294710530:jk,t_0_1745295228865:Nk,t_0_1745317313835:Hk,t_1_1745317313096:Wk,t_2_1745317314362:Vk,t_3_1745317313561:Uk,t_4_1745317314054:qk,t_5_1745317315285:Kk,t_6_1745317313383:Yk,t_7_1745317313831:Gk,t_0_1745457486299:Xk,t_1_1745457484314:Zk,t_2_1745457488661:Qk,t_3_1745457486983:Jk,t_4_1745457497303:eP,t_5_1745457494695:tP,t_6_1745457487560:nP,t_7_1745457487185:oP,t_8_1745457496621:rP,t_9_1745457500045:aP,t_10_1745457486451:iP,t_11_1745457488256:lP,t_12_1745457489076:sP,t_13_1745457487555:dP,t_14_1745457488092:cP,t_15_1745457484292:uP,t_16_1745457491607:hP,t_17_1745457488251:pP,t_18_1745457490931:fP,t_19_1745457484684:mP,t_20_1745457485905:vP,t_0_1745464080226:gP,t_1_1745464079590:bP,t_2_1745464077081:yP,t_3_1745464081058:_P,t_4_1745464075382:xP,t_5_1745464086047:CP,t_6_1745464075714:wP,t_7_1745464073330:SP,t_8_1745464081472:kP,t_9_1745464078110:PP,t_10_1745464073098:TP,t_0_1745474945127:RP,t_0_1745490735213:FP,t_1_1745490731990:zP,t_2_1745490735558:MP,t_3_1745490735059:$P,t_4_1745490735630:AP,t_5_1745490738285:OP,t_6_1745490738548:DP,t_7_1745490739917:IP,t_8_1745490739319:BP,t_1_1745553909483:EP,t_2_1745553907423:LP,t_0_1745735774005:jP,t_1_1745735764953:NP,t_2_1745735773668:HP,t_3_1745735765112:WP,t_4_1745735765372:"Add",t_5_1745735769112:VP,t_6_1745735765205:UP,t_7_1745735768326:qP,t_8_1745735765753:KP,t_9_1745735765287:YP,t_10_1745735765165:GP,t_11_1745735766456:XP,t_12_1745735765571:ZP,t_13_1745735766084:QP,t_14_1745735766121:JP,t_15_1745735768976:eT,t_16_1745735766712:tT,t_18_1745735765638:nT,t_19_1745735766810:oT,t_20_1745735768764:rT,t_21_1745735769154:aT,t_22_1745735767366:iT,t_24_1745735766826:lT,t_25_1745735766651:sT,t_26_1745735767144:dT,t_27_1745735764546:cT,t_28_1745735766626:uT,t_29_1745735768933:hT,t_30_1745735764748:pT,t_31_1745735767891:fT,t_32_1745735767156:mT,t_33_1745735766532:vT,t_34_1745735771147:gT,t_35_1745735781545:bT,t_36_1745735769443:yT,t_37_1745735779980:_T,t_38_1745735769521:xT,t_39_1745735768565:CT,t_40_1745735815317:wT,t_41_1745735767016:ST,t_0_1745738961258:kT,t_1_1745738963744:PT,t_2_1745738969878:TT,t_0_1745744491696:RT,t_1_1745744495019:FT,t_2_1745744495813:zT,t_0_1745744902975:MT,t_1_1745744905566:$T,t_2_1745744903722:AT,t_0_1745748292337:OT,t_1_1745748290291:DT,t_2_1745748298902:IT,t_3_1745748298161:BT,t_4_1745748290292:ET,t_0_1745765864788:LT,t_1_1745765875247:jT,t_2_1745765875918:NT,t_3_1745765920953:HT,t_4_1745765868807:WT,t_0_1745833934390:VT,t_1_1745833931535:UT,t_2_1745833931404:qT,t_3_1745833936770:KT,t_4_1745833932780:YT,t_5_1745833933241:GT,t_6_1745833933523:XT,t_7_1745833933278:ZT,t_8_1745833933552:QT,t_9_1745833935269:JT,t_10_1745833941691:eR,t_11_1745833935261:tR,t_12_1745833943712:nR,t_13_1745833933630:oR,t_14_1745833932440:rR,t_15_1745833940280:aR,t_16_1745833933819:iR,t_17_1745833935070:lR,t_18_1745833933989:sR,t_0_1745887835267:dR,t_1_1745887832941:cR,t_2_1745887834248:uR,t_3_1745887835089:hR,t_4_1745887835265:pR,t_0_1745895057404:fR,t_0_1745920566646:mR,t_1_1745920567200:vR,t_0_1745936396853:gR,t_0_1745999035681:bR,t_1_1745999036289:yR,t_0_1746000517848:_R,t_0_1746001199409:xR,t_0_1746004861782:CR,t_1_1746004861166:wR,t_0_1746497662220:SR,t_0_1746519384035:kR,t_0_1746579648713:PR,t_0_1746590054456:TR,t_1_1746590060448:RR,t_0_1746667592819:FR,t_1_1746667588689:"Key",t_2_1746667592840:zR,t_3_1746667592270:MR,t_4_1746667590873:$R,t_5_1746667590676:AR,t_6_1746667592831:OR,t_7_1746667592468:DR,t_8_1746667591924:IR,t_9_1746667589516:BR,t_10_1746667589575:ER,t_11_1746667589598:LR,t_12_1746667589733:jR,t_13_1746667599218:NR,t_14_1746667590827:HR,t_15_1746667588493:WR,t_16_1746667591069:VR,t_17_1746667588785:UR,t_18_1746667590113:qR,t_19_1746667589295:KR,t_20_1746667588453:"Day",t_21_1746667590834:YR,t_22_1746667591024:GR,t_23_1746667591989:XR,t_24_1746667583520:ZR,t_25_1746667590147:QR,t_26_1746667594662:JR,t_27_1746667589350:eF,t_28_1746667590336:tF,t_29_1746667589773:nF,t_30_1746667591892:oF,t_31_1746667593074:rF,t_0_1746673515941:aF,t_0_1746676862189:iF,t_1_1746676859550:lF,t_2_1746676856700:sF,t_3_1746676857930:dF,t_4_1746676861473:cF,t_5_1746676856974:uF,t_6_1746676860886:hF,t_7_1746676857191:pF,t_8_1746676860457:fF,t_9_1746676857164:mF,t_10_1746676862329:vF,t_11_1746676859158:gF,t_12_1746676860503:bF,t_13_1746676856842:yF,t_14_1746676859019:_F,t_15_1746676856567:xF,t_16_1746676855270:CF,t_0_1746677882486:wF,t_0_1746697487119:SF,t_1_1746697485188:kF,t_2_1746697487164:PF,t_0_1746754500246:TF,t_1_1746754499371:RF,t_2_1746754500270:FF,t_0_1746760933542:zF,t_0_1746773350551:MF,t_1_1746773348701:$F,t_2_1746773350970:AF,t_3_1746773348798:OF,t_4_1746773348957:DF,t_5_1746773349141:IF,t_6_1746773349980:BF,t_7_1746773349302:EF,t_8_1746773351524:LF,t_9_1746773348221:jF,t_10_1746773351576:NF,t_11_1746773349054:HF,t_12_1746773355641:WF,t_13_1746773349526:VF,t_14_1746773355081:UF,t_16_1746773356568:qF,t_17_1746773351220:KF,t_18_1746773355467:YF,t_19_1746773352558:GF,t_20_1746773356060:XF,t_21_1746773350759:ZF,t_22_1746773360711:QF,t_23_1746773350040:JF,t_25_1746773349596:ez,t_26_1746773353409:tz,t_27_1746773352584:nz,t_28_1746773354048:oz,t_29_1746773351834:rz,t_30_1746773350013:az,t_31_1746773349857:iz,t_32_1746773348993:lz,t_33_1746773350932:sz,t_34_1746773350153:dz,t_35_1746773362992:cz,t_36_1746773348989:uz,t_37_1746773356895:hz,t_38_1746773349796:pz,t_39_1746773358932:fz,t_40_1746773352188:mz,t_41_1746773364475:vz,t_42_1746773348768:gz,t_43_1746773359511:bz,t_44_1746773352805:yz,t_45_1746773355717:_z,t_46_1746773350579:xz,t_47_1746773360760:Cz,t_0_1746773763967:wz,t_1_1746773763643:Sz,t_0_1746776194126:kz,t_1_1746776198156:Pz,t_2_1746776194263:Tz,t_3_1746776195004:Rz,t_0_1746782379424:Fz,t_0_1746858920894:zz,t_1_1746858922914:Mz,t_2_1746858923964:$z,t_3_1746858920060:Az,t_4_1746858917773:Oz,t_0_1747019621052:Dz,t_1_1747019624067:Iz,t_2_1747019616224:Bz,t_3_1747019616129:Ez,t_0_1747040228657:Lz,t_1_1747040226143:jz,t_0_1747042966820:Nz,t_1_1747042969705:Hz,t_2_1747042967277:Wz,t_3_1747042967608:Vz,t_4_1747042966254:Uz,t_5_1747042965911:qz,t_0_1747047213730:Kz,t_1_1747047213009:Yz,t_2_1747047214975:Gz,t_3_1747047218669:Xz,t_0_1747106957037:Zz,t_1_1747106961747:Qz,t_2_1747106957037:Jz,t_0_1747110184700:eM,t_1_1747110191587:tM,t_2_1747110193465:nM,t_3_1747110185110:oM,t_0_1747215751189:rM,t_0_1747271295174:aM,t_1_1747271295484:iM,t_2_1747271295877:lM,t_3_1747271294475:sM,t_4_1747271294621:dM,t_5_1747271291828:cM,t_6_1747271296994:uM,t_7_1747271292060:hM,t_8_1747271290414:pM,t_9_1747271284765:fM,t_0_1747280814475:mM,t_1_1747280813656:vM,t_2_1747280811593:gM,t_3_1747280812067:bM,t_4_1747280811462:yM,t_6_1747280809615:_M,t_7_1747280808936:xM,t_8_1747280809382:CM,t_9_1747280810169:wM,t_10_1747280816952:SM,t_11_1747280809178:kM,t_12_1747280809893:PM,t_13_1747280810369:TM,t_14_1747280811231:RM,t_0_1747296173751:FM,t_1_1747296175494:zM,t_0_1747298114839:MM,t_1_1747298114192:$M,t_0_1747300383756:AM,t_1_1747300384579:OM,t_2_1747300385222:DM,t_0_1747365600180:IM,t_1_1747365603108:BM,t_3_1747365600828:EM,t_4_1747365600137:LM,t_0_1747367069267:jM,t_0_1747617113090:NM,t_1_1747617105179:HM,t_0_1747647014927:WM,t_0_1747709067998:VM,t_0_1747711335067:UM,t_1_1747711335336:qM,t_2_1747711337958:KM,t_0_1747754231151:YM,t_1_1747754231838:GM,t_2_1747754234999:XM,t_3_1747754232000:ZM,t_4_1747754235407:QM,t_0_1747817614953:JM,t_1_1747817639034:"Yes",t_2_1747817610671:"No",t_3_1747817612697:e$,t_4_1747817613325:t$,t_5_1747817619337:n$,t_6_1747817644358:o$,t_7_1747817613773:r$,t_8_1747817614764:a$,t_9_1747817611448:i$,t_10_1747817611126:l$,t_11_1747817612051:s$,t_12_1747817611391:d$,t_0_1747886301644:c$,t_1_1747886307276:u$,t_2_1747886302053:h$,t_3_1747886302848:p$,t_4_1747886303229:f$,t_5_1747886301427:m$,t_6_1747886301844:v$,t_7_1747886302395:g$,t_8_1747886304014:b$,t_9_1747886301128:y$,t_10_1747886300958:_$,t_11_1747886301986:x$,t_12_1747886302725:C$,t_13_1747886301689:w$,t_14_1747886301884:S$,t_15_1747886301573:k$,t_16_1747886308182:P$,t_0_1747895713179:T$,t_1_1747895712756:R$,t_0_1747903670020:F$,t_2_1747903672640:z$,t_3_1747903672833:M$,t_4_1747903685371:$$,t_5_1747903671439:A$,t_6_1747903672931:O$,t_7_1747903678624:D$,t_8_1747903675532:I$,t_9_1747903669360:B$,t_10_1747903662994:E$,t_11_1747903674802:L$,t_12_1747903662994:j$,t_13_1747903673007:N$,t_0_1747904536291:H$,t_0_1747965909665:W$,t_0_1747969933657:V$,t_0_1747984137443:U$,t_1_1747984133312:q$,t_2_1747984134626:K$,t_3_1747984134586:Y$,t_4_1747984130327:G$,t_5_1747984133112:X$,t_0_1747990228780:Z$,t_1_1747990228492:Q$,t_2_1747990228008:J$,t_3_1747990229599:eA,t_4_1747990227956:tA,t_5_1747990228592:nA,t_6_1747990228465:oA,t_7_1747990227761:rA,t_8_1747990235316:aA,t_9_1747990229640:iA,t_10_1747990232207:lA,t_0_1747990626044:sA,t_0_1747994891459:dA},uA=Object.freeze(Object.defineProperty({__proto__:null,default:cA,t_0_1744098811152:Nx,t_0_1744258111441:eC,t_0_1744861190562:lC,t_0_1744870861464:vC,t_0_1744875938285:CC,t_0_1744879616135:RC,t_0_1744942117992:BC,t_0_1744958839535:UC,t_0_1745215914686:gw,t_0_1745289355714:_S,t_0_1745289808449:Lk,t_0_1745294710530:jk,t_0_1745295228865:Nk,t_0_1745317313835:Hk,t_0_1745457486299:Xk,t_0_1745464080226:gP,t_0_1745474945127:RP,t_0_1745490735213:FP,t_0_1745735774005:jP,t_0_1745738961258:kT,t_0_1745744491696:RT,t_0_1745744902975:MT,t_0_1745748292337:OT,t_0_1745765864788:LT,t_0_1745833934390:VT,t_0_1745887835267:dR,t_0_1745895057404:fR,t_0_1745920566646:mR,t_0_1745936396853:gR,t_0_1745999035681:bR,t_0_1746000517848:_R,t_0_1746001199409:xR,t_0_1746004861782:CR,t_0_1746497662220:SR,t_0_1746519384035:kR,t_0_1746579648713:PR,t_0_1746590054456:TR,t_0_1746667592819:FR,t_0_1746673515941:aF,t_0_1746676862189:iF,t_0_1746677882486:wF,t_0_1746697487119:SF,t_0_1746754500246:TF,t_0_1746760933542:zF,t_0_1746773350551:MF,t_0_1746773763967:wz,t_0_1746776194126:kz,t_0_1746782379424:Fz,t_0_1746858920894:zz,t_0_1747019621052:Dz,t_0_1747040228657:Lz,t_0_1747042966820:Nz,t_0_1747047213730:Kz,t_0_1747106957037:Zz,t_0_1747110184700:eM,t_0_1747215751189:rM,t_0_1747271295174:aM,t_0_1747280814475:mM,t_0_1747296173751:FM,t_0_1747298114839:MM,t_0_1747300383756:AM,t_0_1747365600180:IM,t_0_1747367069267:jM,t_0_1747617113090:NM,t_0_1747647014927:WM,t_0_1747709067998:VM,t_0_1747711335067:UM,t_0_1747754231151:YM,t_0_1747817614953:JM,t_0_1747886301644:c$,t_0_1747895713179:T$,t_0_1747903670020:F$,t_0_1747904536291:H$,t_0_1747965909665:W$,t_0_1747969933657:V$,t_0_1747984137443:U$,t_0_1747990228780:Z$,t_0_1747990626044:sA,t_0_1747994891459:dA,t_10_1744958860078:tw,t_10_1745215914342:Pw,t_10_1745227838234:Vw,t_10_1745289354650:zS,t_10_1745457486451:iP,t_10_1745464073098:TP,t_10_1745735765165:GP,t_10_1745833941691:eR,t_10_1746667589575:ER,t_10_1746676862329:vF,t_10_1746773351576:NF,t_10_1747280816952:SM,t_10_1747817611126:l$,t_10_1747886300958:_$,t_10_1747903662994:E$,t_10_1747990232207:lA,t_11_1744958840439:nw,t_11_1745215915429:Tw,t_11_1745227838422:Uw,t_11_1745289354516:MS,t_11_1745457488256:lP,t_11_1745735766456:XP,t_11_1745833935261:tR,t_11_1746667589598:LR,t_11_1746676859158:gF,t_11_1746773349054:HF,t_11_1747280809178:kM,t_11_1747817612051:s$,t_11_1747886301986:x$,t_11_1747903674802:L$,t_12_1744958840387:ow,t_12_1745215914312:Rw,t_12_1745227838814:qw,t_12_1745289356974:$S,t_12_1745457489076:sP,t_12_1745735765571:ZP,t_12_1745833943712:nR,t_12_1746667589733:jR,t_12_1746676860503:bF,t_12_1746773355641:WF,t_12_1747280809893:PM,t_12_1747817611391:d$,t_12_1747886302725:C$,t_12_1747903662994:j$,t_13_1744958840714:rw,t_13_1745215915455:Fw,t_13_1745227838275:Kw,t_13_1745289354528:AS,t_13_1745457487555:dP,t_13_1745735766084:QP,t_13_1745833933630:oR,t_13_1746667599218:NR,t_13_1746676856842:yF,t_13_1746773349526:VF,t_13_1747280810369:TM,t_13_1747886301689:w$,t_13_1747903673007:N$,t_14_1744958839470:aw,t_14_1745215916235:zw,t_14_1745227840904:Yw,t_14_1745289354902:OS,t_14_1745457488092:cP,t_14_1745735766121:JP,t_14_1745833932440:rR,t_14_1746667590827:HR,t_14_1746676859019:_F,t_14_1746773355081:UF,t_14_1747280811231:RM,t_14_1747886301884:S$,t_15_1744958840790:iw,t_15_1745215915743:Mw,t_15_1745227839354:Gw,t_15_1745289355714:DS,t_15_1745457484292:uP,t_15_1745735768976:eT,t_15_1745833940280:aR,t_15_1746667588493:WR,t_15_1746676856567:xF,t_15_1747886301573:k$,t_16_1744958841116:lw,t_16_1745215915209:$w,t_16_1745227838930:Xw,t_16_1745289354902:IS,t_16_1745457491607:hP,t_16_1745735766712:tT,t_16_1745833933819:iR,t_16_1746667591069:VR,t_16_1746676855270:CF,t_16_1746773356568:qF,t_16_1747886308182:P$,t_17_1744958839597:sw,t_17_1745215915985:Aw,t_17_1745227838561:Zw,t_17_1745289355715:BS,t_17_1745457488251:pP,t_17_1745833935070:lR,t_17_1746667588785:UR,t_17_1746773351220:KF,t_18_1744958839895:dw,t_18_1745215915630:Ow,t_18_1745227838154:Qw,t_18_1745289354598:ES,t_18_1745457490931:fP,t_18_1745735765638:nT,t_18_1745833933989:sR,t_18_1746667590113:qR,t_18_1746773355467:YF,t_19_1744958839297:cw,t_19_1745227839107:Jw,t_19_1745289354676:LS,t_19_1745457484684:mP,t_19_1745735766810:oT,t_19_1746667589295:KR,t_19_1746773352558:GF,t_1_1744098801860:Hx,t_1_1744164835667:qx,t_1_1744258113857:tC,t_1_1744861189113:"Run",t_1_1744870861944:gC,t_1_1744875938598:wC,t_1_1744879616555:FC,t_1_1744942116527:EC,t_1_1744958840747:qC,t_1_1745227838776:Dw,t_1_1745289356586:xS,t_1_1745317313096:Wk,t_1_1745457484314:Zk,t_1_1745464079590:bP,t_1_1745490731990:zP,t_1_1745553909483:EP,t_1_1745735764953:NP,t_1_1745738963744:PT,t_1_1745744495019:FT,t_1_1745744905566:$T,t_1_1745748290291:DT,t_1_1745765875247:jT,t_1_1745833931535:UT,t_1_1745887832941:cR,t_1_1745920567200:vR,t_1_1745999036289:yR,t_1_1746004861166:wR,t_1_1746590060448:RR,t_1_1746667588689:"Key",t_1_1746676859550:lF,t_1_1746697485188:kF,t_1_1746754499371:RF,t_1_1746773348701:$F,t_1_1746773763643:Sz,t_1_1746776198156:Pz,t_1_1746858922914:Mz,t_1_1747019624067:Iz,t_1_1747040226143:jz,t_1_1747042969705:Hz,t_1_1747047213009:Yz,t_1_1747106961747:Qz,t_1_1747110191587:tM,t_1_1747271295484:iM,t_1_1747280813656:vM,t_1_1747296175494:zM,t_1_1747298114192:$M,t_1_1747300384579:OM,t_1_1747365603108:BM,t_1_1747617105179:HM,t_1_1747711335336:qM,t_1_1747754231838:GM,t_1_1747817639034:"Yes",t_1_1747886307276:u$,t_1_1747895712756:R$,t_1_1747984133312:q$,t_1_1747990228492:Q$,t_20_1744958839439:uw,t_20_1745227838813:eS,t_20_1745289354598:jS,t_20_1745457485905:vP,t_20_1745735768764:rT,t_20_1746667588453:"Day",t_20_1746773356060:XF,t_21_1744958839305:hw,t_21_1745227837972:tS,t_21_1745289354598:NS,t_21_1745735769154:aT,t_21_1746667590834:YR,t_21_1746773350759:ZF,t_22_1744958841926:pw,t_22_1745227838154:nS,t_22_1745289359036:HS,t_22_1745735767366:iT,t_22_1746667591024:GR,t_22_1746773360711:QF,t_23_1744958838717:fw,t_23_1745227838699:oS,t_23_1745289355716:WS,t_23_1746667591989:XR,t_23_1746773350040:JF,t_24_1745227839508:rS,t_24_1745289355715:VS,t_24_1745735766826:lT,t_24_1746667583520:ZR,t_25_1745227838080:aS,t_25_1745289355721:US,t_25_1745735766651:sT,t_25_1746667590147:QR,t_25_1746773349596:ez,t_26_1745289358341:qS,t_26_1745735767144:dT,t_26_1746667594662:JR,t_26_1746773353409:tz,t_27_1745227838583:iS,t_27_1745289355721:KS,t_27_1745735764546:cT,t_27_1746667589350:eF,t_27_1746773352584:nz,t_28_1745227837903:lS,t_28_1745289356040:YS,t_28_1745735766626:uT,t_28_1746667590336:tF,t_28_1746773354048:oz,t_29_1744958838904:"Day",t_29_1745227838410:sS,t_29_1745289355850:GS,t_29_1745735768933:hT,t_29_1746667589773:nF,t_29_1746773351834:rz,t_2_1744098804908:Wx,t_2_1744164839713:Kx,t_2_1744258111238:nC,t_2_1744861190040:sC,t_2_1744870863419:bC,t_2_1744875938555:SC,t_2_1744879616413:zC,t_2_1744942117890:LC,t_2_1744958840131:KC,t_2_1745215915397:bw,t_2_1745227839794:Iw,t_2_1745289353944:CS,t_2_1745317314362:Vk,t_2_1745457488661:Qk,t_2_1745464077081:yP,t_2_1745490735558:MP,t_2_1745553907423:LP,t_2_1745735773668:HP,t_2_1745738969878:TT,t_2_1745744495813:zT,t_2_1745744903722:AT,t_2_1745748298902:IT,t_2_1745765875918:NT,t_2_1745833931404:qT,t_2_1745887834248:uR,t_2_1746667592840:zR,t_2_1746676856700:sF,t_2_1746697487164:PF,t_2_1746754500270:FF,t_2_1746773350970:AF,t_2_1746776194263:Tz,t_2_1746858923964:$z,t_2_1747019616224:Bz,t_2_1747042967277:Wz,t_2_1747047214975:Gz,t_2_1747106957037:Jz,t_2_1747110193465:nM,t_2_1747271295877:lM,t_2_1747280811593:gM,t_2_1747300385222:DM,t_2_1747711337958:KM,t_2_1747754234999:XM,t_2_1747817610671:"No",t_2_1747886302053:h$,t_2_1747903672640:z$,t_2_1747984134626:K$,t_2_1747990228008:J$,t_30_1744958843864:mw,t_30_1745227841739:dS,t_30_1745289355718:XS,t_30_1745735764748:pT,t_30_1746667591892:oF,t_30_1746773350013:az,t_31_1744958844490:vw,t_31_1745227838461:cS,t_31_1745289355715:ZS,t_31_1745735767891:fT,t_31_1746667593074:rF,t_31_1746773349857:iz,t_32_1745227838439:uS,t_32_1745289356127:QS,t_32_1745735767156:mT,t_32_1746773348993:lz,t_33_1745227838984:hS,t_33_1745289355721:JS,t_33_1745735766532:vT,t_33_1746773350932:sz,t_34_1745227839375:pS,t_34_1745289356040:ek,t_34_1745735771147:gT,t_34_1746773350153:dz,t_35_1745227839208:fS,t_35_1745289355714:tk,t_35_1745735781545:bT,t_35_1746773362992:cz,t_36_1745227838958:mS,t_36_1745289355715:nk,t_36_1745735769443:yT,t_36_1746773348989:uz,t_37_1745227839669:vS,t_37_1745289356041:ok,t_37_1745735779980:_T,t_37_1746773356895:hz,t_38_1745227838813:gS,t_38_1745289356419:rk,t_38_1745735769521:xT,t_38_1746773349796:pz,t_39_1745227838696:bS,t_39_1745289354902:ak,t_39_1745735768565:CT,t_39_1746773358932:fz,t_3_1744098802647:Vx,t_3_1744164839524:Yx,t_3_1744258111182:oC,t_3_1744861190932:dC,t_3_1744870864615:yC,t_3_1744875938310:kC,t_3_1744879615723:MC,t_3_1744942117885:jC,t_3_1744958840485:YC,t_3_1745215914237:yw,t_3_1745227841567:Bw,t_3_1745289354664:wS,t_3_1745317313561:Uk,t_3_1745457486983:Jk,t_3_1745464081058:_P,t_3_1745490735059:$P,t_3_1745735765112:WP,t_3_1745748298161:BT,t_3_1745765920953:HT,t_3_1745833936770:KT,t_3_1745887835089:hR,t_3_1746667592270:MR,t_3_1746676857930:dF,t_3_1746773348798:OF,t_3_1746776195004:Rz,t_3_1746858920060:Az,t_3_1747019616129:Ez,t_3_1747042967608:Vz,t_3_1747047218669:Xz,t_3_1747110185110:oM,t_3_1747271294475:sM,t_3_1747280812067:bM,t_3_1747365600828:EM,t_3_1747754232000:ZM,t_3_1747817612697:e$,t_3_1747886302848:p$,t_3_1747903672833:M$,t_3_1747984134586:Y$,t_3_1747990229599:eA,t_40_1745227838872:yS,t_40_1745289355715:ik,t_40_1745735815317:wT,t_40_1746773352188:mz,t_41_1745289354902:lk,t_41_1745735767016:ST,t_41_1746773364475:vz,t_42_1745289355715:sk,t_42_1746773348768:gz,t_43_1745289354598:dk,t_43_1746773359511:bz,t_44_1745289354583:ck,t_44_1746773352805:yz,t_45_1745289355714:uk,t_45_1746773355717:_z,t_46_1745289355723:hk,t_46_1746773350579:xz,t_47_1745289355715:pk,t_47_1746773360760:Cz,t_48_1745289355714:fk,t_49_1745289355714:mk,t_4_1744098802046:Ux,t_4_1744164840458:Gx,t_4_1744258111238:rC,t_4_1744861194395:cC,t_4_1744870861589:_C,t_4_1744875940750:PC,t_4_1744879616168:$C,t_4_1744942117738:NC,t_4_1744958838951:GC,t_4_1745215914951:_w,t_4_1745227838558:Ew,t_4_1745289354902:SS,t_4_1745317314054:qk,t_4_1745457497303:eP,t_4_1745464075382:xP,t_4_1745490735630:AP,t_4_1745735765372:"Add",t_4_1745748290292:ET,t_4_1745765868807:WT,t_4_1745833932780:YT,t_4_1745887835265:pR,t_4_1746667590873:$R,t_4_1746676861473:cF,t_4_1746773348957:DF,t_4_1746858917773:Oz,t_4_1747042966254:Uz,t_4_1747271294621:dM,t_4_1747280811462:yM,t_4_1747365600137:LM,t_4_1747754235407:QM,t_4_1747817613325:t$,t_4_1747886303229:f$,t_4_1747903685371:$$,t_4_1747984130327:G$,t_4_1747990227956:tA,t_50_1745289355715:vk,t_51_1745289355714:gk,t_52_1745289359565:bk,t_53_1745289356446:yk,t_54_1745289358683:_k,t_55_1745289355715:xk,t_56_1745289355714:Ck,t_57_1745289358341:wk,t_58_1745289355721:Sk,t_59_1745289356803:kk,t_5_1744164840468:Xx,t_5_1744258110516:aC,t_5_1744861189528:uC,t_5_1744870862719:xC,t_5_1744875940010:TC,t_5_1744879615277:AC,t_5_1744942117167:HC,t_5_1744958839222:XC,t_5_1745215914671:xw,t_5_1745227839906:Lw,t_5_1745289355718:kS,t_5_1745317315285:Kk,t_5_1745457494695:tP,t_5_1745464086047:CP,t_5_1745490738285:OP,t_5_1745735769112:VP,t_5_1745833933241:GT,t_5_1746667590676:AR,t_5_1746676856974:uF,t_5_1746773349141:IF,t_5_1747042965911:qz,t_5_1747271291828:cM,t_5_1747817619337:n$,t_5_1747886301427:m$,t_5_1747903671439:A$,t_5_1747984133112:X$,t_5_1747990228592:nA,t_60_1745289355715:Pk,t_61_1745289355878:Tk,t_62_1745289360212:Rk,t_63_1745289354897:Fk,t_64_1745289354670:zk,t_65_1745289354591:Mk,t_66_1745289354655:$k,t_67_1745289354487:Ak,t_68_1745289354676:Ok,t_69_1745289355721:"SMS",t_6_1744164838900:Zx,t_6_1744258111153:iC,t_6_1744861190121:hC,t_6_1744879616944:OC,t_6_1744942117815:WC,t_6_1744958843569:ZC,t_6_1745215914104:Cw,t_6_1745227838798:jw,t_6_1745289358340:PS,t_6_1745317313383:Yk,t_6_1745457487560:nP,t_6_1745464075714:wP,t_6_1745490738548:DP,t_6_1745735765205:UP,t_6_1745833933523:XT,t_6_1746667592831:OR,t_6_1746676860886:hF,t_6_1746773349980:BF,t_6_1747271296994:uM,t_6_1747280809615:_M,t_6_1747817644358:o$,t_6_1747886301844:v$,t_6_1747903672931:O$,t_6_1747990228465:oA,t_70_1745289354904:Dk,t_71_1745289354583:Ik,t_72_1745289355715:Bk,t_73_1745289356103:Ek,t_7_1744164838625:Qx,t_7_1744861189625:pC,t_7_1744879615743:DC,t_7_1744942117862:VC,t_7_1744958841708:QC,t_7_1745215914189:ww,t_7_1745227838093:Nw,t_7_1745289355714:TS,t_7_1745317313831:Gk,t_7_1745457487185:oP,t_7_1745464073330:SP,t_7_1745490739917:IP,t_7_1745735768326:qP,t_7_1745833933278:ZT,t_7_1746667592468:DR,t_7_1746676857191:pF,t_7_1746773349302:EF,t_7_1747271292060:hM,t_7_1747280808936:xM,t_7_1747817613773:r$,t_7_1747886302395:g$,t_7_1747903678624:D$,t_7_1747990227761:rA,t_8_1744164839833:Jx,t_8_1744861189821:fC,t_8_1744879616493:IC,t_8_1744958841658:JC,t_8_1745215914610:Sw,t_8_1745227838023:Hw,t_8_1745289354902:RS,t_8_1745457496621:rP,t_8_1745464081472:kP,t_8_1745490739319:BP,t_8_1745735765753:KP,t_8_1745833933552:QT,t_8_1746667591924:IR,t_8_1746676860457:fF,t_8_1746773351524:LF,t_8_1747271290414:pM,t_8_1747280809382:CM,t_8_1747817614764:a$,t_8_1747886304014:b$,t_8_1747903675532:I$,t_8_1747990235316:aA,t_9_1744861189580:mC,t_9_1744958840634:ew,t_9_1745215914666:kw,t_9_1745227838305:Ww,t_9_1745289355714:FS,t_9_1745457500045:aP,t_9_1745464078110:PP,t_9_1745735765287:YP,t_9_1745833935269:JT,t_9_1746667589516:BR,t_9_1746676857164:mF,t_9_1746773348221:jF,t_9_1747271284765:fM,t_9_1747280810169:wM,t_9_1747817611448:i$,t_9_1747886301128:y$,t_9_1747903669360:B$,t_9_1747990229640:iA},Symbol.toStringTag,{value:"Module"})),{i18n:hA,$t:pA}=((e,t)=>{const n=function(e,t,n={}){const{window:o=rh}=n;return hh(e,t,null==o?void 0:o.localStorage,n)}("locales-active","zhCN"),o=(null==e?void 0:e.fileExt)||"js";Object.keys(t).forEach((n=>{var o,r,a;const i=null==(o=n.match(/\.\/model\/([^/]+)\.js$/))?void 0:o[1];null!=(r=null==e?void 0:e.messages)&&r.zhCN||null!=(a=null==e?void 0:e.messages)&&a.enUS||i&&Array.isArray(null==e?void 0:e.messages)&&(e.messages[i]=t[n])}));const r=Vu({legacy:!1,locale:n.value||"zhCN",fallbackLocale:"enUS",...e}),a=e=>`./model/${e}.${o}`,i=Object.entries(ph).filter((([e])=>Object.keys(t).includes(a(e)))).map((([e,t])=>({label:t,value:e}))).sort(((e,t)=>{const n=["zhCN","zhTW","enUS"],o=n.indexOf(e.value),r=n.indexOf(t.value);return-1!==o&&-1!==r?o-r:e.label.localeCompare(t.label)})),l=Y();return l.run((()=>{er(n,(async e=>{const n=await(async e=>{var n;try{if(!t[a(e)])return{};const o=await(null==(n=t[a(e)])?void 0:n.call(t));return(null==o?void 0:o.default)||o||{}}catch(o){return{}}})(e);if(r.global.setLocaleMessage(e,n),G()){const{locale:t}=Uu();t.value=e}else r.global.locale.value=e}),{immediate:!0}),X((()=>{l.stop()}))})),{i18n:r,locale:n,$t:r.global.t,localeOptions:i}})({messages:{zhCN:Lx,enUS:cA},locale:"zhCN",fileExt:"json"},Object.assign({"./model/arDZ.json":()=>xs((()=>import("./arDZ-CndKQ8wm.js")),[],import.meta.url),"./model/enUS.json":()=>xs((()=>Promise.resolve().then((()=>uA))),void 0,import.meta.url),"./model/esAR.json":()=>xs((()=>import("./esAR-B3_Dujph.js")),[],import.meta.url),"./model/frFR.json":()=>xs((()=>import("./frFR-BSGz0yEp.js")),[],import.meta.url),"./model/jaJP.json":()=>xs((()=>import("./jaJP-Youjzb2X.js")),[],import.meta.url),"./model/koKR.json":()=>xs((()=>import("./koKR-CaAik_Gm.js")),[],import.meta.url),"./model/ptBR.json":()=>xs((()=>import("./ptBR-BuEoXNnM.js")),[],import.meta.url),"./model/ruRU.json":()=>xs((()=>import("./ruRU--SpavF3n.js")),[],import.meta.url),"./model/zhCN.json":()=>xs((()=>Promise.resolve().then((()=>jx))),void 0,import.meta.url),"./model/zhTW.json":()=>xs((()=>import("./zhTW-_xfZLHqx.js")),[],import.meta.url)})),fA={sortRoute:[{name:"home",title:pA("t_0_1744258111441")},{name:"autoDeploy",title:pA("t_1_1744258113857")},{name:"certManage",title:pA("t_2_1744258111238")},{name:"certApply",title:pA("t_3_1744258111182")},{name:"authApiManage",title:pA("t_4_1744258111238")},{name:"monitor",title:pA("t_5_1744258110516")},{name:"settings",title:pA("t_6_1744258111153")}],frameworkRoute:["layout"],systemRoute:["login","404"],disabledRoute:[]};const mA=/\s*,(?![^(]*\))\s*/g,vA=/\s+/g;function gA(e){let t=[""];return e.forEach((e=>{(e=e&&e.trim())&&(t=e.includes("&")?function(e,t){const n=[];return t.split(mA).forEach((t=>{let o=function(e){let t=0;for(let n=0;n{n.push((e&&e+" ")+t)}));if(1===o)return void e.forEach((e=>{n.push(t.replace("&",e))}));let r=[t];for(;o--;){const t=[];r.forEach((n=>{e.forEach((e=>{t.push(n.replace("&",e))}))})),r=t}r.forEach((e=>n.push(e)))})),n}(t,e):function(e,t){const n=[];return t.split(mA).forEach((t=>{e.forEach((e=>{n.push((e&&e+" ")+t)}))})),n}(t,e))})),t.join(", ").replace(vA," ")}function bA(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function yA(e,t){return(null!=t?t:document.head).querySelector(`style[cssr-id="${e}"]`)}function _A(e){return!!e&&/^\s*@(s|m)/.test(e)}const xA=/[A-Z]/g;function CA(e){return e.replace(xA,(e=>"-"+e.toLowerCase()))}function wA(e,t,n,o){if(!t)return"";const r=function(e,t,n){return"function"==typeof e?e({context:t.context,props:n}):e}(t,n,o);if(!r)return"";if("string"==typeof r)return`${e} {\n${r}\n}`;const a=Object.keys(r);if(0===a.length)return n.config.keepEmptyBlock?e+" {\n}":"";const i=e?[e+" {"]:[];return a.forEach((e=>{const t=r[e];"raw"!==e?(e=CA(e),null!=t&&i.push(` ${e}${function(e,t=" "){return"object"==typeof e&&null!==e?" {\n"+Object.entries(e).map((e=>t+` ${CA(e[0])}: ${e[1]};`)).join("\n")+"\n"+t+"}":`: ${e};`}(t)}`)):i.push("\n"+t+"\n")})),e&&i.push("}"),i.join("\n")}function SA(e,t,n){e&&e.forEach((e=>{if(Array.isArray(e))SA(e,t,n);else if("function"==typeof e){const o=e(t);Array.isArray(o)?SA(o,t,n):o&&n(o)}else e&&n(e)}))}function kA(e,t,n,o,r){const a=e.$;let i="";if(a&&"string"!=typeof a)if("function"==typeof a){const e=a({context:o.context,props:r});_A(e)?i=e:t.push(e)}else if(a.before&&a.before(o.context),a.$&&"string"!=typeof a.$){if(a.$){const e=a.$({context:o.context,props:r});_A(e)?i=e:t.push(e)}}else _A(a.$)?i=a.$:t.push(a.$);else _A(a)?i=a:t.push(a);const l=gA(t),s=wA(l,e.props,o,r);i?n.push(`${i} {`):s.length&&n.push(s),e.children&&SA(e.children,{context:o.context,props:r},(e=>{if("string"==typeof e){const t=wA(l,{raw:e},o,r);n.push(t)}else kA(e,t,n,o,r)})),t.pop(),i&&n.push("}"),a&&a.after&&a.after(o.context)}function PA(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function TA(e,t){e.push(t)}function RA(e,t,n,o,r,a,i,l,s){let d;if(void 0===n&&(d=t.render(o),n=PA(d)),s)return void s.adapter(n,null!=d?d:t.render(o));void 0===l&&(l=document.head);const c=yA(n,l);if(null!==c&&!a)return c;const u=null!=c?c:function(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}(n);if(void 0===d&&(d=t.render(o)),u.textContent=d,null!==c)return c;if(i){const e=l.querySelector(`meta[name="${i}"]`);if(e)return l.insertBefore(u,e),TA(t.els,u),u}return r?l.insertBefore(u,l.querySelector("style, link")):l.appendChild(u),TA(t.els,u),u}function FA(e){return function(e,t,n){const o=[];return kA(e,[],o,t,n),o.join("\n\n")}(this,this.instance,e)}function zA(e={}){const{id:t,ssr:n,props:o,head:r=!1,force:a=!1,anchorMetaName:i,parent:l}=e;return RA(this.instance,this,t,o,r,a,i,l,n)}function MA(e={}){const{id:t,parent:n}=e;!function(e,t,n,o){const{els:r}=t;if(void 0===n)r.forEach(bA),t.els=[];else{const e=yA(n,o);e&&r.includes(e)&&(bA(e),t.els=r.filter((t=>t!==e)))}}(this.instance,this,t,n)}"undefined"!=typeof window&&(window.__cssrContext={});const $A=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:FA,mount:zA,unmount:MA}};function AA(e={}){const t={c:(...e)=>function(e,t,n,o){return Array.isArray(t)?$A(e,{$:null},null,t):Array.isArray(n)?$A(e,t,null,n):Array.isArray(o)?$A(e,t,n,o):$A(e,t,n,null)}(t,...e),use:(e,...n)=>e.install(t,...n),find:yA,context:{},config:e};return t}const OA=".n-",DA=AA(),IA=function(e){let t,n=".",o="__",r="--";if(e){let t=e.blockPrefix;t&&(n=t),t=e.elementPrefix,t&&(o=t),t=e.modifierPrefix,t&&(r=t)}const a={install(e){t=e.c;const n=e.context;n.bem={},n.bem.b=null,n.bem.els=null}};return Object.assign(a,{cB:(...e)=>t(function(e){let t,o;return{before(e){t=e.bem.b,o=e.bem.els,e.bem.els=null},after(e){e.bem.b=t,e.bem.els=o},$:({context:t,props:o})=>(e="string"==typeof e?e:e({context:t,props:o}),t.bem.b=e,`${(null==o?void 0:o.bPrefix)||n}${t.bem.b}`)}}(e[0]),e[1],e[2]),cE:(...e)=>t(function(e){let t;return{before(e){t=e.bem.els},after(e){e.bem.els=t},$:({context:t,props:r})=>(e="string"==typeof e?e:e({context:t,props:r}),t.bem.els=e.split(",").map((e=>e.trim())),t.bem.els.map((e=>`${(null==r?void 0:r.bPrefix)||n}${t.bem.b}${o}${e}`)).join(", "))}}(e[0]),e[1],e[2]),cM:(...e)=>{return t((a=e[0],{$({context:e,props:t}){const i=(a="string"==typeof a?a:a({context:e,props:t})).split(",").map((e=>e.trim()));function l(a){return i.map((i=>`&${(null==t?void 0:t.bPrefix)||n}${e.bem.b}${void 0!==a?`${o}${a}`:""}${r}${i}`)).join(", ")}const s=e.bem.els;return null!==s?l(s[0]):l()}}),e[1],e[2]);var a},cNotM:(...e)=>{return t((a=e[0],{$({context:e,props:t}){a="string"==typeof a?a:a({context:e,props:t});const i=e.bem.els;return`&:not(${(null==t?void 0:t.bPrefix)||n}${e.bem.b}${null!==i&&i.length>0?`${o}${i[0]}`:""}${r}${a})`}}),e[1],e[2]);var a}}),a}({blockPrefix:OA,elementPrefix:"__",modifierPrefix:"--"});DA.use(IA);const{c:BA,find:EA}=DA,{cB:LA,cE:jA,cM:NA,cNotM:HA}=IA;function WA(e){return BA((({props:{bPrefix:e}})=>`${e||OA}modal, ${e||OA}drawer`),[e])}function VA(e){return BA((({props:{bPrefix:e}})=>`${e||OA}popover`),[e])}function UA(e){return BA((({props:{bPrefix:e}})=>`&${e||OA}modal`),e)}const qA=(...e)=>BA(">",[LA(...e)]);function KA(e,t){return e+("default"===t?"":t.replace(/^[a-z]/,(e=>e.toUpperCase())))}let YA=[];const GA=new WeakMap;function XA(){YA.forEach((e=>e(...GA.get(e)))),YA=[]}function ZA(e,...t){GA.set(e,t),YA.includes(e)||1===YA.push(e)&&requestAnimationFrame(XA)}function QA(e,t){let{target:n}=e;for(;n;){if(n.dataset&&void 0!==n.dataset[t])return!0;n=n.parentElement}return!1}function JA(e){return e.composedPath()[0]||null}function eO(e,t){var n;if(null==e)return;const o=function(e){if("number"==typeof e)return{"":e.toString()};const t={};return e.split(/ +/).forEach((e=>{if(""===e)return;const[n,o]=e.split(":");void 0===o?t[""]=n:t[n]=o})),t}(e);if(void 0===t)return o[""];if("string"==typeof t)return null!==(n=o[t])&&void 0!==n?n:o[""];if(Array.isArray(t)){for(let e=t.length-1;e>=0;--e){const n=t[e];if(n in o)return o[n]}return o[""]}{let e,n=-1;return Object.keys(o).forEach((r=>{const a=Number(r);!Number.isNaN(a)&&t>=a&&a>=n&&(n=a,e=o[r])})),e}}function tO(e){return"string"==typeof e?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function nO(e){if(null!=e)return"number"==typeof e?`${e}px`:e.endsWith("px")?e:`${e}px`}function oO(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return void 0===t?o:o[t]}function rO(e,t){const[n,o]=e.split(" ");return{row:n,col:o||n}}const aO={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32",transparent:"#0000"};function iO(e,t,n){n/=100;const o=(t/=100)*Math.min(n,1-n)+n;return[e,o?100*(2-2*n/o):0,100*o]}function lO(e,t,n){const o=(n/=100)-n*(t/=100)/2,r=Math.min(o,1-o);return[e,r?(n-o)/r*100:0,100*o]}function sO(e,t,n){t/=100,n/=100;let o=(o,r=(o+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[255*o(5),255*o(3),255*o(1)]}function dO(e,t,n){e/=255,t/=255,n/=255;let o=Math.max(e,t,n),r=o-Math.min(e,t,n),a=r&&(o==e?(t-n)/r:o==t?2+(n-e)/r:4+(e-t)/r);return[60*(a<0?a+6:a),o&&r/o*100,100*o]}function cO(e,t,n){e/=255,t/=255,n/=255;let o=Math.max(e,t,n),r=o-Math.min(e,t,n),a=1-Math.abs(o+o-r-1),i=r&&(o==e?(t-n)/r:o==t?2+(n-e)/r:4+(e-t)/r);return[60*(i<0?i+6:i),a?r/a*100:0,50*(o+o-r)]}function uO(e,t,n){n/=100;let o=(t/=100)*Math.min(n,1-n),r=(t,r=(t+e/30)%12)=>n-o*Math.max(Math.min(r-3,9-r,1),-1);return[255*r(0),255*r(8),255*r(4)]}const hO="^\\s*",pO="\\s*$",fO="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",mO="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",vO="([0-9A-Fa-f])",gO="([0-9A-Fa-f]{2})",bO=new RegExp(`${hO}hsl\\s*\\(${mO},${fO},${fO}\\)${pO}`),yO=new RegExp(`${hO}hsv\\s*\\(${mO},${fO},${fO}\\)${pO}`),_O=new RegExp(`${hO}hsla\\s*\\(${mO},${fO},${fO},${mO}\\)${pO}`),xO=new RegExp(`${hO}hsva\\s*\\(${mO},${fO},${fO},${mO}\\)${pO}`),CO=new RegExp(`${hO}rgb\\s*\\(${mO},${mO},${mO}\\)${pO}`),wO=new RegExp(`${hO}rgba\\s*\\(${mO},${mO},${mO},${mO}\\)${pO}`),SO=new RegExp(`${hO}#${vO}${vO}${vO}${pO}`),kO=new RegExp(`${hO}#${gO}${gO}${gO}${pO}`),PO=new RegExp(`${hO}#${vO}${vO}${vO}${vO}${pO}`),TO=new RegExp(`${hO}#${gO}${gO}${gO}${gO}${pO}`);function RO(e){return parseInt(e,16)}function FO(e){try{let t;if(t=_O.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),BO(t[13])];if(t=bO.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(Nte){throw Nte}}function zO(e){try{let t;if(t=xO.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),BO(t[13])];if(t=yO.exec(e))return[EO(t[1]),jO(t[5]),jO(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(Nte){throw Nte}}function MO(e){try{let t;if(t=kO.exec(e))return[RO(t[1]),RO(t[2]),RO(t[3]),1];if(t=CO.exec(e))return[LO(t[1]),LO(t[5]),LO(t[9]),1];if(t=wO.exec(e))return[LO(t[1]),LO(t[5]),LO(t[9]),BO(t[13])];if(t=SO.exec(e))return[RO(t[1]+t[1]),RO(t[2]+t[2]),RO(t[3]+t[3]),1];if(t=TO.exec(e))return[RO(t[1]),RO(t[2]),RO(t[3]),BO(RO(t[4])/255)];if(t=PO.exec(e))return[RO(t[1]+t[1]),RO(t[2]+t[2]),RO(t[3]+t[3]),BO(RO(t[4]+t[4])/255)];if(e in aO)return MO(aO[e]);if(bO.test(e)||_O.test(e)){const[t,n,o,r]=FO(e);return[...uO(t,n,o),r]}if(yO.test(e)||xO.test(e)){const[t,n,o,r]=zO(e);return[...sO(t,n,o),r]}throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(Nte){throw Nte}}function $O(e,t,n,o){return`rgba(${LO(e)}, ${LO(t)}, ${LO(n)}, ${r=o,r>1?1:r<0?0:r})`;var r}function AO(e,t,n,o,r){return LO((e*t*(1-o)+n*o)/r)}function OO(e,t){Array.isArray(e)||(e=MO(e)),Array.isArray(t)||(t=MO(t));const n=e[3],o=t[3],r=BO(n+o-n*o);return $O(AO(e[0],n,t[0],o,r),AO(e[1],n,t[1],o,r),AO(e[2],n,t[2],o,r),r)}function DO(e,t){const[n,o,r,a=1]=Array.isArray(e)?e:MO(e);return"number"==typeof t.alpha?$O(n,o,r,t.alpha):$O(n,o,r,a)}function IO(e,t){const[n,o,r,a=1]=Array.isArray(e)?e:MO(e),{lightness:i=1,alpha:l=1}=t;return HO([n*i,o*i,r*i,a*l])}function BO(e){const t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function EO(e){const t=Math.round(Number(e));return t>=360||t<0?0:t}function LO(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function jO(e){const t=Math.round(Number(e));return t>100?100:t<0?0:t}function NO(e){const[t,n,o]=Array.isArray(e)?e:MO(e);return function(e,t,n){return`rgb(${LO(e)}, ${LO(t)}, ${LO(n)})`}(t,n,o)}function HO(e){const[t,n,o]=e;return 3 in e?`rgba(${LO(t)}, ${LO(n)}, ${LO(o)}, ${BO(e[3])})`:`rgba(${LO(t)}, ${LO(n)}, ${LO(o)}, 1)`}function WO(e){return`hsv(${EO(e[0])}, ${jO(e[1])}%, ${jO(e[2])}%)`}function VO(e){const[t,n,o]=e;return 3 in e?`hsva(${EO(t)}, ${jO(n)}%, ${jO(o)}%, ${BO(e[3])})`:`hsva(${EO(t)}, ${jO(n)}%, ${jO(o)}%, 1)`}function UO(e){return`hsl(${EO(e[0])}, ${jO(e[1])}%, ${jO(e[2])}%)`}function qO(e){const[t,n,o]=e;return 3 in e?`hsla(${EO(t)}, ${jO(n)}%, ${jO(o)}%, ${BO(e[3])})`:`hsla(${EO(t)}, ${jO(n)}%, ${jO(o)}%, 1)`}function KO(e){if("string"==typeof e){let t;if(t=kO.exec(e))return`${t[0]}FF`;if(t=TO.exec(e))return t[0];if(t=SO.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}FF`;if(t=PO.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}${t[4]}${t[4]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map((e=>LO(e).toString(16).toUpperCase().padStart(2,"0"))).join("")}`+(3===e.length?"FF":LO(255*e[3]).toString(16).padStart(2,"0").toUpperCase())}function YO(e){if("string"==typeof e){let t;if(t=kO.exec(e))return t[0];if(t=TO.exec(e))return t[0].slice(0,7);if(t=SO.exec(e)||PO.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`;throw new Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map((e=>LO(e).toString(16).toUpperCase().padStart(2,"0"))).join("")}`}function GO(e=8){return Math.random().toString(16).slice(2,2+e)}function XO(e,t){const n=[];for(let o=0;o{t.contains(ZO(e))||n(e)};return{mousemove:e,touchstart:e}}if("clickoutside"===e){let e=!1;const o=n=>{e=!t.contains(ZO(n))},r=o=>{e&&(t.contains(ZO(o))||n(o))};return{mousedown:o,mouseup:r,touchstart:o,touchend:r}}return{}}(e,t,n)),a}const{on:eD,off:tD}=function(){if("undefined"==typeof window)return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function r(e,t,n){const o=e[t];return e[t]=function(){return n.apply(e,arguments),o.apply(e,arguments)},e}function a(e,t){e[t]=Event.prototype[t]}const i=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function s(){var e;return null!==(e=i.get(this))&&void 0!==e?e:null}function d(e,t){void 0!==l&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:null!=t?t:l.get})}const c={bubble:{},capture:{}},u={},h=function(){const l=function(l){const{type:u,eventPhase:h,bubbles:p}=l,f=ZO(l);if(2===h)return;const m=1===h?"capture":"bubble";let v=f;const g=[];for(;null===v&&(v=window),g.push(v),v!==window;)v=v.parentNode||null;const b=c.capture[u],y=c.bubble[u];if(r(l,"stopPropagation",n),r(l,"stopImmediatePropagation",o),d(l,s),"capture"===m){if(void 0===b)return;for(let n=g.length-1;n>=0&&!e.has(l);--n){const e=g[n],o=b.get(e);if(void 0!==o){i.set(l,e);for(const e of o){if(t.has(l))break;e(l)}}if(0===n&&!p&&void 0!==y){const n=y.get(e);if(void 0!==n)for(const e of n){if(t.has(l))break;e(l)}}}}else if("bubble"===m){if(void 0===y)return;for(let n=0;nt(e)))};return e.displayName="evtdUnifiedWindowEventHandler",e}();function f(e,t){const n=c[e];return void 0===n[t]&&(n[t]=new Map,window.addEventListener(t,h,"capture"===e)),n[t]}function m(e,t){let n=e.get(t);return void 0===n&&e.set(t,n=new Set),n}function v(e,t,n,o){const r=function(e,t,n,o){if("mousemoveoutside"===e||"clickoutside"===e){const r=JO(e,t,n);return Object.keys(r).forEach((e=>{tD(e,document,r[e],o)})),!0}return!1}(e,t,n,o);if(r)return;const a=!0===o||"object"==typeof o&&!0===o.capture,i=a?"capture":"bubble",l=f(i,e),s=m(l,t);if(t===window){if(!function(e,t,n,o){const r=c[t][n];if(void 0!==r){const t=r.get(e);if(void 0!==t&&t.has(o))return!0}return!1}(t,a?"bubble":"capture",e,n)&&function(e,t){const n=u[e];return!(void 0===n||!n.has(t))}(e,n)){const t=u[e];t.delete(n),0===t.size&&(window.removeEventListener(e,p),u[e]=void 0)}}s.has(n)&&s.delete(n),0===s.size&&l.delete(t),0===l.size&&(window.removeEventListener(e,h,"capture"===i),c[i][e]=void 0)}return{on:function(e,t,n,o){let r;r="object"==typeof o&&!0===o.once?a=>{v(e,t,r,o),n(a)}:n;if(function(e,t,n,o){if("mousemoveoutside"===e||"clickoutside"===e){const r=JO(e,t,n);return Object.keys(r).forEach((e=>{eD(e,document,r[e],o)})),!0}return!1}(e,t,r,o))return;const a=m(f(!0===o||"object"==typeof o&&!0===o.capture?"capture":"bubble",e),t);if(a.has(r)||a.add(r),t===window){const t=function(e){return void 0===u[e]&&(u[e]=new Set,window.addEventListener(e,p)),u[e]}(e);t.has(r)||t.add(r)}},off:v}}();function nD(e){const t=vt(!!e.value);if(t.value)return at(t);const n=er(e,(e=>{e&&(t.value=!0,n())}));return at(t)}function oD(e){const t=Qr(e),n=vt(t.value);return er(t,(e=>{n.value=e})),"function"==typeof e?n:{__v_isRef:!0,get value(){return n.value},set value(t){e.set(t)}}}function rD(){return null!==Nr()}const aD="undefined"!=typeof window;let iD,lD;var sD,dD;function cD(e){if(lD)return;let t=!1;Kn((()=>{lD||null==iD||iD.then((()=>{t||e()}))})),Xn((()=>{t=!0}))}iD=aD?null===(dD=null===(sD=document)||void 0===sD?void 0:sD.fonts)||void 0===dD?void 0:dD.ready:void 0,lD=!1,void 0!==iD?iD.then((()=>{lD=!0})):lD=!0;const uD=vt(null);function hD(e){if(e.clientX>0||e.clientY>0)uD.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:e,top:n,width:o,height:r}=t.getBoundingClientRect();uD.value=e>0||n>0?{x:e+o/2,y:n+r/2}:{x:0,y:0}}else uD.value=null}}let pD=0,fD=!0;function mD(){if(!aD)return at(vt(null));0===pD&&eD("click",document,hD,!0);const e=()=>{pD+=1};return fD&&(fD=rD())?(qn(e),Xn((()=>{pD-=1,0===pD&&tD("click",document,hD,!0)}))):e(),at(uD)}const vD=vt(void 0);let gD=0;function bD(){vD.value=Date.now()}let yD=!0;function _D(e){if(!aD)return at(vt(!1));const t=vt(!1);let n=null;function o(){null!==n&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout((()=>{t.value=!1}),e)}0===gD&&eD("click",window,bD,!0);const a=()=>{gD+=1,eD("click",window,r,!0)};return yD&&(yD=rD())?(qn(a),Xn((()=>{gD-=1,0===gD&&tD("click",window,bD,!0),tD("click",window,r,!0),o()}))):a(),at(t)}function xD(e,t){return er(e,(e=>{void 0!==e&&(t.value=e)})),Qr((()=>void 0===e.value?t.value:e.value))}function CD(){const e=vt(!1);return Kn((()=>{e.value=!0})),at(e)}function wD(e,t){return Qr((()=>{for(const n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]}))}const SD="undefined"!=typeof window&&(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream;const kD={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};const PD={};function TD(e={},t){const n=ot({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:r}=e,a=e=>{switch(e.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0}void 0!==o&&Object.keys(o).forEach((t=>{if(t!==e.key)return;const n=o[t];if("function"==typeof n)n(e);else{const{stop:t=!1,prevent:o=!1}=n;t&&e.stopPropagation(),o&&e.preventDefault(),n.handler(e)}}))},i=e=>{switch(e.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1}void 0!==r&&Object.keys(r).forEach((t=>{if(t!==e.key)return;const n=r[t];if("function"==typeof n)n(e);else{const{stop:t=!1,prevent:o=!1}=n;t&&e.stopPropagation(),o&&e.preventDefault(),n.handler(e)}}))},l=()=>{(void 0===t||t.value)&&(eD("keydown",document,a),eD("keyup",document,i)),void 0!==t&&er(t,(e=>{e?(eD("keydown",document,a),eD("keyup",document,i)):(tD("keydown",document,a),tD("keyup",document,i))}))};return rD()?(qn(l),Xn((()=>{(void 0===t||t.value)&&(tD("keydown",document,a),tD("keyup",document,i))}))):l(),at(n)}function RD(e){return e}const FD="n-internal-select-menu",zD="n-internal-select-menu-body",MD="n-drawer-body",$D="n-modal-body",AD="n-modal",OD="n-popover-body",DD="__disabled__";function ID(e){const t=Ro($D,null),n=Ro(MD,null),o=Ro(OD,null),r=Ro(zD,null),a=vt();if("undefined"!=typeof document){a.value=document.fullscreenElement;const e=()=>{a.value=document.fullscreenElement};Kn((()=>{eD("fullscreenchange",document,e)})),Xn((()=>{tD("fullscreenchange",document,e)}))}return oD((()=>{var i;const{to:l}=e;return void 0!==l?!1===l?DD:!0===l?a.value||"body":l:(null==t?void 0:t.value)?null!==(i=t.value.$el)&&void 0!==i?i:t.value:(null==n?void 0:n.value)?n.value:(null==o?void 0:o.value)?o.value:(null==r?void 0:r.value)?r.value:null!=l?l:a.value||"body"}))}function BD(e,t,n){var o;const r=Ro(e,null);if(null===r)return;const a=null===(o=Nr())||void 0===o?void 0:o.proxy;function i(e,n){if(!r)return;const o=r[t];void 0!==n&&function(e,t){e[t]||(e[t]=[]);e[t].splice(e[t].findIndex((e=>e===a)),1)}(o,n),void 0!==e&&function(e,t){e[t]||(e[t]=[]);~e[t].findIndex((e=>e===a))||e[t].push(a)}(o,e)}er(n,i),i(n.value),Xn((()=>{i(void 0,n.value)}))}ID.tdkey=DD,ID.propTo={type:[String,Object,Boolean],default:void 0};const ED="undefined"!=typeof document&&"undefined"!=typeof window,LD=vt(!1);function jD(){LD.value=!0}function ND(){LD.value=!1}let HD=0;let WD=0,VD="",UD="",qD="",KD="";const YD=vt("0px");function GD(e){const t={isDeactivated:!1};let n=!1;return jn((()=>{t.isDeactivated=!1,n?e():n=!0})),Nn((()=>{t.isDeactivated=!0,n||(n=!0)})),t}function XD(e,t,n="default"){const o=t[n];if(void 0===o)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function ZD(e,t=!0,n=[]){return e.forEach((e=>{if(null!==e)if("object"==typeof e)if(Array.isArray(e))ZD(e,t,n);else if(e.type===pr){if(null===e.children)return;Array.isArray(e.children)&&ZD(e.children,t,n)}else e.type!==mr&&n.push(e);else"string"!=typeof e&&"number"!=typeof e||n.push($r(String(e)))})),n}function QD(e,t,n="default"){const o=t[n];if(void 0===o)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=ZD(o());if(1===r.length)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let JD=null;function eI(){if(null===JD&&(JD=document.getElementById("v-binder-view-measurer"),null===JD)){JD=document.createElement("div"),JD.id="v-binder-view-measurer";const{style:e}=JD;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(JD)}return JD.getBoundingClientRect()}function tI(e){const t=e.getBoundingClientRect(),n=eI();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function nI(e){if(null===e)return null;const t=function(e){return 9===e.nodeType?null:e.parentNode}(e);if(null===t)return null;if(9===t.nodeType)return document;if(1===t.nodeType){const{overflow:e,overflowX:n,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(e+o+n))return t}return nI(t)}const oI=$n({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;To("VBinder",null===(t=Nr())||void 0===t?void 0:t.proxy);const n=Ro("VBinder",null),o=vt(null);let r=[];const a=()=>{for(const e of r)tD("scroll",e,l,!0);r=[]},i=new Set,l=()=>{ZA(s)},s=()=>{i.forEach((e=>e()))},d=new Set,c=()=>{d.forEach((e=>e()))};return Xn((()=>{tD("resize",window,c),a()})),{targetRef:o,setTargetRef:t=>{o.value=t,n&&e.syncTargetWithParent&&n.setTargetRef(t)},addScrollListener:e=>{0===i.size&&(()=>{let e=o.value;for(;e=nI(e),null!==e;)r.push(e);for(const t of r)eD("scroll",t,l,!0)})(),i.has(e)||i.add(e)},removeScrollListener:e=>{i.has(e)&&i.delete(e),0===i.size&&a()},addResizeListener:e=>{0===d.size&&eD("resize",window,c),d.has(e)||d.add(e)},removeResizeListener:e=>{d.has(e)&&d.delete(e),0===d.size&&tD("resize",window,c)}}},render(){return XD("binder",this.$slots)}}),rI=$n({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Ro("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?on(QD("follower",this.$slots),[[t]]):QD("follower",this.$slots)}}),aI="@@mmoContext",iI={mounted(e,{value:t}){e[aI]={handler:void 0},"function"==typeof t&&(e[aI].handler=t,eD("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[aI];"function"==typeof t?n.handler?n.handler!==t&&(tD("mousemoveoutside",e,n.handler),n.handler=t,eD("mousemoveoutside",e,t)):(e[aI].handler=t,eD("mousemoveoutside",e,t)):n.handler&&(tD("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[aI];t&&tD("mousemoveoutside",e,t),e[aI].handler=void 0}},lI="@@coContext",sI={mounted(e,{value:t,modifiers:n}){e[lI]={handler:void 0},"function"==typeof t&&(e[lI].handler=t,eD("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[lI];"function"==typeof t?o.handler?o.handler!==t&&(tD("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,eD("clickoutside",e,t,{capture:n.capture})):(e[lI].handler=t,eD("clickoutside",e,t,{capture:n.capture})):o.handler&&(tD("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[lI];n&&tD("clickoutside",e,n,{capture:t.capture}),e[lI].handler=void 0}};const dI=new class{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(e,t){const{elementZIndex:n}=this;if(void 0!==t)return e.style.zIndex=`${t}`,void n.delete(e);const{nextZIndex:o}=this;if(n.has(e)){if(n.get(e)+1===this.nextZIndex)return}e.style.zIndex=`${o}`,n.set(e,o),this.nextZIndex=o+1,this.squashState()}unregister(e,t){const{elementZIndex:n}=this;n.has(e)&&n.delete(e),this.squashState()}squashState(){const{elementCount:e}=this;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}rearrange(){const e=Array.from(this.elementZIndex.entries());e.sort(((e,t)=>e[1]-t[1])),this.nextZIndex=2e3,e.forEach((e=>{const t=e[0],n=this.nextZIndex++;`${n}`!==t.style.zIndex&&(t.style.zIndex=`${n}`)}))}},cI="@@ziContext",uI={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[cI]={enabled:!!r,initialized:!1},r&&(dI.ensureZIndex(e,o),e[cI].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,a=e[cI].enabled;r&&!a&&(dI.ensureZIndex(e,o),e[cI].initialized=!0),e[cI].enabled=!!r},unmounted(e,t){if(!e[cI].initialized)return;const{value:n={}}=t,{zIndex:o}=n;dI.unregister(e,o)}};const hI="undefined"!=typeof document;function pI(){if(hI)return;const e=Ro("@css-render/vue3-ssr",null);return null!==e?{adapter:(t,n)=>function(e,t,n){const{styles:o,ids:r}=n;r.has(e)||null!==o&&(r.add(e),o.push(function(e,t){return``}(e,t)))}(t,n,e),context:e}:void 0}const{c:fI}=AA(),mI="vueuc-style";function vI(e){return e&-e}class gI{constructor(e,t){this.l=e,this.min=t;const n=new Array(e+1);for(let o=0;oo)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let r=e*n;for(;e>0;)r+=t[e],e-=vI(e);return r}getBound(e){let t=0,n=this.l;for(;n>t;){const o=Math.floor((t+n)/2),r=this.sum(o);if(r>e)n=o;else{if(!(r({showTeleport:nD(Ft(e,"show")),mergedTo:Qr((()=>{const{to:t}=e;return null!=t?t:"body"}))}),render(){return this.showTeleport?this.disabled?XD("lazy-teleport",this.$slots):Jr(mn,{disabled:this.disabled,to:this.mergedTo},XD("lazy-teleport",this.$slots)):null}}),_I={top:"bottom",bottom:"top",left:"right",right:"left"},xI={start:"end",center:"center",end:"start"},CI={top:"height",bottom:"height",left:"width",right:"width"},wI={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},SI={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},kI={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},PI={top:!0,bottom:!1,left:!0,right:!1},TI={top:"end",bottom:"start",left:"end",right:"start"};const RI=fI([fI(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),fI(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[fI("> *",{pointerEvents:"all"})])]),FI=$n({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Ro("VBinder"),n=oD((()=>void 0!==e.enabled?e.enabled:e.show)),o=vt(null),r=vt(null),a=()=>{const{syncTrigger:n}=e;n.includes("scroll")&&t.addScrollListener(s),n.includes("resize")&&t.addResizeListener(s)},i=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};Kn((()=>{n.value&&(s(),a())}));const l=pI();RI.mount({id:"vueuc/binder",head:!0,anchorMetaName:mI,ssr:l}),Xn((()=>{i()})),cD((()=>{n.value&&s()}));const s=()=>{if(!n.value)return;const a=o.value;if(null===a)return;const i=t.targetRef,{x:l,y:s,overlap:d}=e,c=void 0!==l&&void 0!==s?function(e,t){const n=eI();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}(l,s):tI(i);a.style.setProperty("--v-target-width",`${Math.round(c.width)}px`),a.style.setProperty("--v-target-height",`${Math.round(c.height)}px`);const{width:u,minWidth:h,placement:p,internalShift:f,flip:m}=e;a.setAttribute("v-placement",p),d?a.setAttribute("v-overlap",""):a.removeAttribute("v-overlap");const{style:v}=a;v.width="target"===u?`${c.width}px`:void 0!==u?u:"",v.minWidth="target"===h?`${c.width}px`:void 0!==h?h:"";const g=tI(a),b=tI(r.value),{left:y,top:_,placement:x}=function(e,t,n,o,r,a){if(!r||a)return{placement:e,top:0,left:0};const[i,l]=e.split("-");let s=null!=l?l:"center",d={top:0,left:0};const c=(e,r,a)=>{let i=0,l=0;const s=n[e]-t[r]-t[e];return s>0&&o&&(a?l=PI[r]?s:-s:i=PI[r]?s:-s),{left:i,top:l}},u="left"===i||"right"===i;if("center"!==s){const o=kI[e],r=_I[o],a=CI[o];if(n[a]>t[a]){if(t[o]+t[a]t[r]&&(s=xI[l])}else{const e="bottom"===i||"top"===i?"left":"top",o=_I[e],r=CI[e],a=(n[r]-t[r])/2;(t[e]t[o]?(s=TI[e],d=c(r,e,u)):(s=TI[o],d=c(r,o,u)))}let h=i;return t[i]{e?(a(),d()):i()}));const d=()=>{Kt().then(s).catch((e=>{}))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach((t=>{er(Ft(e,t),s)})),["teleportDisabled"].forEach((t=>{er(Ft(e,t),d)})),er(Ft(e,"syncTrigger"),(e=>{e.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),e.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)}));const c=CD(),u=oD((()=>{const{to:t}=e;if(void 0!==t)return t;c.value}));return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:u,syncPosition:s}},render(){return Jr(yI,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=Jr("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[Jr("div",{class:"v-binder-follower-content",ref:"followerRef"},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))]);return this.zindexable?on(n,[[uI,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var zI,MI,$I=[],AI="ResizeObserver loop completed with undelivered notifications.";(MI=zI||(zI={})).BORDER_BOX="border-box",MI.CONTENT_BOX="content-box",MI.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var OI,DI=function(e){return Object.freeze(e)},II=function(){return function(e,t){this.inlineSize=e,this.blockSize=t,DI(this)}}(),BI=function(){function e(e,t,n,o){return this.x=e,this.y=t,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,DI(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),EI=function(e){return e instanceof SVGElement&&"getBBox"in e},LI=function(e){if(EI(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},jI=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},NI="undefined"!=typeof window?window:{},HI=new WeakMap,WI=/auto|scroll/,VI=/^tb|vertical/,UI=/msie|trident/i.test(NI.navigator&&NI.navigator.userAgent),qI=function(e){return parseFloat(e||"0")},KI=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new II((n?t:e)||0,(n?e:t)||0)},YI=DI({devicePixelContentBoxSize:KI(),borderBoxSize:KI(),contentBoxSize:KI(),contentRect:new BI(0,0,0,0)}),GI=function(e,t){if(void 0===t&&(t=!1),HI.has(e)&&!t)return HI.get(e);if(LI(e))return HI.set(e,YI),YI;var n=getComputedStyle(e),o=EI(e)&&e.ownerSVGElement&&e.getBBox(),r=!UI&&"border-box"===n.boxSizing,a=VI.test(n.writingMode||""),i=!o&&WI.test(n.overflowY||""),l=!o&&WI.test(n.overflowX||""),s=o?0:qI(n.paddingTop),d=o?0:qI(n.paddingRight),c=o?0:qI(n.paddingBottom),u=o?0:qI(n.paddingLeft),h=o?0:qI(n.borderTopWidth),p=o?0:qI(n.borderRightWidth),f=o?0:qI(n.borderBottomWidth),m=u+d,v=s+c,g=(o?0:qI(n.borderLeftWidth))+p,b=h+f,y=l?e.offsetHeight-b-e.clientHeight:0,_=i?e.offsetWidth-g-e.clientWidth:0,x=r?m+g:0,C=r?v+b:0,w=o?o.width:qI(n.width)-x-_,S=o?o.height:qI(n.height)-C-y,k=w+m+_+g,P=S+v+y+b,T=DI({devicePixelContentBoxSize:KI(Math.round(w*devicePixelRatio),Math.round(S*devicePixelRatio),a),borderBoxSize:KI(k,P,a),contentBoxSize:KI(w,S,a),contentRect:new BI(u,s,w,S)});return HI.set(e,T),T},XI=function(e,t,n){var o=GI(e,n),r=o.borderBoxSize,a=o.contentBoxSize,i=o.devicePixelContentBoxSize;switch(t){case zI.DEVICE_PIXEL_CONTENT_BOX:return i;case zI.BORDER_BOX:return r;default:return a}},ZI=function(){return function(e){var t=GI(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=DI([t.borderBoxSize]),this.contentBoxSize=DI([t.contentBoxSize]),this.devicePixelContentBoxSize=DI([t.devicePixelContentBoxSize])}}(),QI=function(e){if(LI(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},JI=function(){var e=1/0,t=[];$I.forEach((function(n){if(0!==n.activeTargets.length){var o=[];n.activeTargets.forEach((function(t){var n=new ZI(t.target),r=QI(t.target);o.push(n),t.lastReportedSize=XI(t.target,t.observedBox),re?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},tB=function(){var e,t=0;for(eB(t);$I.some((function(e){return e.activeTargets.length>0}));)t=JI(),eB(t);return $I.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:AI}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=AI),window.dispatchEvent(e)),t>0},nB=[],oB=function(e){if(!OI){var t=0,n=document.createTextNode("");new MutationObserver((function(){return nB.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),OI=function(){n.textContent="".concat(t?t--:t++)}}nB.push(e),OI()},rB=0,aB={attributes:!0,characterData:!0,childList:!0,subtree:!0},iB=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],lB=function(e){return void 0===e&&(e=0),Date.now()+e},sB=!1,dB=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!sB){sB=!0;var n,o=lB(e);n=function(){var n=!1;try{n=tB()}finally{if(sB=!1,e=o-lB(),!rB)return;n?t.run(1e3):e>0?t.run(e):t.start()}},oB((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,aB)};document.body?t():NI.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),iB.forEach((function(t){return NI.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),iB.forEach((function(t){return NI.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),cB=function(e){!rB&&e>0&&dB.start(),!(rB+=e)&&dB.stop()},uB=function(){function e(e,t){this.target=e,this.observedBox=t||zI.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=XI(this.target,this.observedBox,!0);return e=this.target,EI(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),hB=function(){return function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t}}(),pB=new WeakMap,fB=function(e,t){for(var n=0;n=0&&(r&&$I.splice($I.indexOf(n),1),n.observationTargets.splice(o,1),cB(-1))},e.disconnect=function(e){var t=this,n=pB.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),vB=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");mB.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jI(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");mB.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jI(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");mB.unobserve(this,e)},e.prototype.disconnect=function(){mB.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const gB=new class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||vB)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const t of e){const e=this.elHandlersMap.get(t.target);void 0!==e&&e(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}},bB=$n({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Nr().proxy;function o(t){const{onResize:n}=e;void 0!==n&&n(t)}Kn((()=>{const e=n.$el;void 0!==e&&(e.nextElementSibling!==e.nextSibling&&3===e.nodeType&&""!==e.nodeValue||null!==e.nextElementSibling&&(gB.registerHandler(e.nextElementSibling,o),t=!0))})),Xn((()=>{t&&gB.unregisterHandler(n.$el.nextElementSibling)}))},render(){return oo(this.$slots,"default")}});let yB,_B;function xB(){return"undefined"==typeof document?1:(void 0===_B&&(_B="chrome"in window?window.devicePixelRatio:1),_B)}const CB="VVirtualListXScroll";const wB=$n({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:t,columnsRef:n,getLeft:o,renderColRef:r,renderItemWithColsRef:a}=Ro(CB);return{startIndex:e,endIndex:t,columns:n,renderCol:r,renderItemWithCols:a,getLeft:o}},render(){const{startIndex:e,endIndex:t,columns:n,renderCol:o,renderItemWithCols:r,getLeft:a,item:i}=this;if(null!=r)return r({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:n,item:i,getLeft:a});if(null!=o){const r=[];for(let l=e;l<=t;++l){const e=n[l];r.push(o({column:e,left:a(l),item:i}))}return r}return null}}),SB=fI(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[fI("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[fI("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),kB=$n({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=pI();SB.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:mI,ssr:t}),Kn((()=>{const{defaultScrollIndex:t,defaultScrollKey:n}=e;null!=t?v({index:t}):null!=n&&v({key:n})}));let n=!1,o=!1;jn((()=>{n=!1,o?v({top:p.value,left:i.value}):o=!0})),Nn((()=>{n=!0,o||(o=!0)}));const r=oD((()=>{if(null==e.renderCol&&null==e.renderItemWithCols)return;if(0===e.columns.length)return;let t=0;return e.columns.forEach((e=>{t+=e.width})),t})),a=Qr((()=>{const t=new Map,{keyField:n}=e;return e.items.forEach(((e,o)=>{t.set(e[n],o)})),t})),{scrollLeftRef:i,listWidthRef:l}=function({columnsRef:e,renderColRef:t,renderItemWithColsRef:n}){const o=vt(0),r=vt(0),a=Qr((()=>{const t=e.value;if(0===t.length)return null;const n=new gI(t.length,0);return t.forEach(((e,t)=>{n.add(t,e.width)})),n})),i=oD((()=>{const e=a.value;return null!==e?Math.max(e.getBound(r.value)-1,0):0})),l=oD((()=>{const t=a.value;return null!==t?Math.min(t.getBound(r.value+o.value)+1,e.value.length-1):0}));return To(CB,{startIndexRef:i,endIndexRef:l,columnsRef:e,renderColRef:t,renderItemWithColsRef:n,getLeft:e=>{const t=a.value;return null!==t?t.sum(e):0}}),{listWidthRef:o,scrollLeftRef:r}}({columnsRef:Ft(e,"columns"),renderColRef:Ft(e,"renderCol"),renderItemWithColsRef:Ft(e,"renderItemWithCols")}),s=vt(null),d=vt(void 0),c=new Map,u=Qr((()=>{const{items:t,itemSize:n,keyField:o}=e,r=new gI(t.length,n);return t.forEach(((e,t)=>{const n=e[o],a=c.get(n);void 0!==a&&r.add(t,a)})),r})),h=vt(0),p=vt(0),f=oD((()=>Math.max(u.value.getBound(p.value-tO(e.paddingTop))-1,0))),m=Qr((()=>{const{value:t}=d;if(void 0===t)return[];const{items:n,itemSize:o}=e,r=f.value,a=Math.min(r+Math.ceil(t/o+1),n.length-1),i=[];for(let e=r;e<=a;++e)i.push(n[e]);return i})),v=(e,t)=>{if("number"==typeof e)return void _(e,t,"auto");const{left:n,top:o,index:r,key:i,position:l,behavior:s,debounce:d=!0}=e;if(void 0!==n||void 0!==o)_(n,o,s);else if(void 0!==r)y(r,s,d);else if(void 0!==i){const e=a.value.get(i);void 0!==e&&y(e,s,d)}else"bottom"===l?_(0,Number.MAX_SAFE_INTEGER,s):"top"===l&&_(0,0,s)};let g,b=null;function y(t,n,o){const{value:r}=u,a=r.sum(t)+tO(e.paddingTop);if(o){g=t,null!==b&&window.clearTimeout(b),b=window.setTimeout((()=>{g=void 0,b=null}),16);const{scrollTop:e,offsetHeight:o}=s.value;if(a>e){const i=r.get(t);a+i<=e+o||s.value.scrollTo({left:0,top:a+i-o,behavior:n})}else s.value.scrollTo({left:0,top:a,behavior:n})}else s.value.scrollTo({left:0,top:a,behavior:n})}function _(e,t,n){s.value.scrollTo({left:e,top:t,behavior:n})}const x=!("undefined"!=typeof document&&(void 0===yB&&(yB="matchMedia"in window&&window.matchMedia("(pointer:coarse)").matches),yB));let C=!1;function w(){const{value:e}=s;null!=e&&(p.value=e.scrollTop,i.value=e.scrollLeft)}function S(e){let t=e;for(;null!==t;){if("none"===t.style.display)return!0;t=t.parentElement}return!1}return{listHeight:d,listStyle:{overflow:"auto"},keyToIndex:a,itemsStyle:Qr((()=>{const{itemResizable:t}=e,n=nO(u.value.sum());return h.value,[e.itemsStyle,{boxSizing:"content-box",width:nO(r.value),height:t?"":n,minHeight:t?n:"",paddingTop:nO(e.paddingTop),paddingBottom:nO(e.paddingBottom)}]})),visibleItemsStyle:Qr((()=>(h.value,{transform:`translateY(${nO(u.value.sum(f.value))})`}))),viewportItems:m,listElRef:s,itemsElRef:vt(null),scrollTo:v,handleListResize:function(t){if(n)return;if(S(t.target))return;if(null==e.renderCol&&null==e.renderItemWithCols){if(t.contentRect.height===d.value)return}else if(t.contentRect.height===d.value&&t.contentRect.width===l.value)return;d.value=t.contentRect.height,l.value=t.contentRect.width;const{onResize:o}=e;void 0!==o&&o(t)},handleListScroll:function(t){var n;null===(n=e.onScroll)||void 0===n||n.call(e,t),x&&C||w()},handleListWheel:function(t){var n;if(null===(n=e.onWheel)||void 0===n||n.call(e,t),x){const e=s.value;if(null!=e){if(0===t.deltaX){if(0===e.scrollTop&&t.deltaY<=0)return;if(e.scrollTop+e.offsetHeight>=e.scrollHeight&&t.deltaY>=0)return}t.preventDefault(),e.scrollTop+=t.deltaY/xB(),e.scrollLeft+=t.deltaX/xB(),w(),C=!0,ZA((()=>{C=!1}))}}},handleItemResize:function(t,o){var r,i,l;if(n)return;if(e.ignoreItemResize)return;if(S(o.target))return;const{value:d}=u,p=a.value.get(t),f=d.get(p),m=null!==(l=null===(i=null===(r=o.borderBoxSize)||void 0===r?void 0:r[0])||void 0===i?void 0:i.blockSize)&&void 0!==l?l:o.contentRect.height;if(m===f)return;0===m-e.itemSize?c.delete(t):c.set(t,m-e.itemSize);const v=m-f;if(0===v)return;d.add(p,v);const b=s.value;if(null!=b){if(void 0===g){const e=d.sum(p);b.scrollTop>e&&b.scrollBy(0,v)}else if(pb.scrollTop+b.offsetHeight&&b.scrollBy(0,v)}w()}h.value++}}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return Jr(bB,{onResize:this.handleListResize},{default:()=>{var r,a;return Jr("div",Ir(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[0!==this.items.length?Jr("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[Jr(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:o,renderItemWithCols:r}=this;return this.viewportItems.map((a=>{const i=a[t],l=n.get(i),s=null!=o?Jr(wB,{index:l,item:a}):void 0,d=null!=r?Jr(wB,{index:l,item:a}):void 0,c=this.$slots.default({item:a,renderedCols:s,renderedItemWithCols:d,index:l})[0];return e?Jr(bB,{key:i,onResize:e=>this.handleItemResize(i,e)},{default:()=>c}):(c.key=i,c)}))}})]):null===(a=(r=this.$slots).empty)||void 0===a?void 0:a.call(r)])}})}}),PB="v-hidden",TB=fI("[v-hidden]",{display:"none!important"}),RB=$n({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=vt(null),o=vt(null);function r(r){const{value:a}=n,{getCounter:i,getTail:l}=e;let s;if(s=void 0!==i?i():o.value,!a||!s)return;s.hasAttribute(PB)&&s.removeAttribute(PB);const{children:d}=a;if(r.showAllItemsBeforeCalculate)for(const e of d)e.hasAttribute(PB)&&e.removeAttribute(PB);const c=a.offsetWidth,u=[],h=t.tail?null==l?void 0:l():null;let p=h?h.offsetWidth:0,f=!1;const m=a.children.length-(t.tail?1:0);for(let t=0;tc){const{updateCounter:n}=e;for(let o=t;o>=0;--o){const r=m-1-o;void 0!==n?n(r):s.textContent=`${r}`;const a=s.offsetWidth;if(p-=u[o],p+a<=c||0===o){f=!0,t=o-1,h&&(-1===t?(h.style.maxWidth=c-a+"px",h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:n}=e;n&&n(r);break}}}}const{onUpdateOverflow:v}=e;f?void 0!==v&&v(!0):(void 0!==v&&v(!1),s.setAttribute(PB,""))}const a=pI();return TB.mount({id:"vueuc/overflow",head:!0,anchorMetaName:mI,ssr:a}),Kn((()=>r({showAllItemsBeforeCalculate:!1}))),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Kt((()=>this.sync({showAllItemsBeforeCalculate:!1}))),Jr("div",{class:"v-overflow",ref:"selfRef"},[oo(e,"default"),e.counter?e.counter():Jr("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function FB(e){return e instanceof HTMLElement}function zB(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(FB(n)&&($B(n)||MB(n)))return!0}return!1}function $B(e){if(!function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return!1;try{e.focus({preventScroll:!0})}catch(Nte){}return document.activeElement===e}let AB=[];const OB=$n({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=GO(),n=vt(null),o=vt(null);let r=!1,a=!1;const i="undefined"==typeof document?null:document.activeElement;function l(){return AB[AB.length-1]===t}function s(t){var n;"Escape"===t.code&&l()&&(null===(n=e.onEsc)||void 0===n||n.call(e,t))}function d(e){if(!a&&l()){const t=c();if(null===t)return;if(t.contains(JA(e)))return;h("first")}}function c(){const e=n.value;if(null===e)return null;let t=e;for(;!(t=t.nextSibling,null===t||t instanceof Element&&"DIV"===t.tagName););return t}function u(){var n;if(e.disabled)return;if(document.removeEventListener("focus",d,!0),AB=AB.filter((e=>e!==t)),l())return;const{finalFocusTo:o}=e;void 0!==o?null===(n=bI(o))||void 0===n||n.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&i instanceof HTMLElement&&(a=!0,i.focus({preventScroll:!0}),a=!1)}function h(t){if(l()&&e.active){const e=n.value,r=o.value;if(null!==e&&null!==r){const n=c();if(null==n||n===r)return a=!0,e.focus({preventScroll:!0}),void(a=!1);a=!0;const o="first"===t?zB(n):MB(n);a=!1,o||(a=!0,e.focus({preventScroll:!0}),a=!1)}}}return Kn((()=>{er((()=>e.active),(n=>{n?(!function(){var n;if(e.disabled)return;if(AB.push(t),e.autoFocus){const{initialFocusTo:t}=e;void 0===t?h("first"):null===(n=bI(t))||void 0===n||n.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",d,!0)}(),eD("keydown",document,s)):(tD("keydown",document,s),r&&u())}),{immediate:!0})})),Xn((()=>{tD("keydown",document,s),r&&u()})),{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(a)return;const t=c();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?h("last"):h("first"))},handleEndFocus:function(e){a||(null!==e.relatedTarget&&e.relatedTarget===n.value?h("last"):h("first"))}}},render(){const{default:e}=this.$slots;if(void 0===e)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return Jr(pr,null,[Jr("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),Jr("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function DB(e,t){t&&(Kn((()=>{const{value:n}=e;n&&gB.registerHandler(n,t)})),er(e,((e,t)=>{t&&gB.unregisterHandler(t)}),{deep:!1}),Xn((()=>{const{value:t}=e;t&&gB.unregisterHandler(t)})))}function IB(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}const BB=/^(\d|\.)+$/,EB=/(\d|\.)+/;function LB(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if("number"==typeof e){const o=(e+n)*t;return 0===o?"0":`${o}px`}if("string"==typeof e){if(BB.test(e)){const r=(Number(e)+n)*t;return o?0===r?"0":`${r}px`:`${r}`}{const o=EB.exec(e);return o?e.replace(EB,String((Number(o[0])+n)*t)):e}}return e}function jB(e){const{left:t,right:n,top:o,bottom:r}=oO(e);return`${o} ${t} ${r} ${n}`}function NB(e,t){if(!e)return;const n=document.createElement("a");n.href=e,void 0!==t&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)}let HB;const WB=new WeakSet;function VB(e){WB.add(e)}function UB(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function qB(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function KB(e,t){}function YB(e,t){throw new Error(`[naive/${e}]: ${t}`)}function GB(e,...t){if(!Array.isArray(e))return e(...t);e.forEach((e=>GB(e,...t)))}function XB(e){return"string"==typeof e?`s-${e}`:`n-${e}`}function ZB(e){return t=>{e.value=t?t.$el:null}}function QB(e,t=!0,n=[]){return e.forEach((e=>{if(null!==e)if("object"==typeof e)if(Array.isArray(e))QB(e,t,n);else if(e.type===pr){if(null===e.children)return;Array.isArray(e.children)&&QB(e.children,t,n)}else{if(e.type===mr&&t)return;n.push(e)}else"string"!=typeof e&&"number"!=typeof e||n.push($r(String(e)))})),n}function JB(e,t,n){if(!t)return null;const o=QB(t(n));return 1===o.length?o[0]:null}function eE(e,t="default",n=[]){const o=e.$slots[t];return void 0===o?n:o()}function tE(e,t=[],n){const o={};return t.forEach((t=>{o[t]=e[t]})),Object.assign(o,n)}function nE(e){return Object.keys(e)}function oE(e){const t=e.filter((e=>void 0!==e));if(0!==t.length)return 1===t.length?t[0]:t=>{e.forEach((e=>{e&&e(t)}))}}function rE(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach((n=>{t.includes(n)||(o[n]=e[n])})),Object.assign(o,n)}function aE(e,...t){return"function"==typeof e?e(...t):"string"==typeof e?$r(e):"number"==typeof e?$r(String(e)):null}function iE(e){return e.some((e=>!kr(e)||e.type!==mr&&!(e.type===pr&&!iE(e.children))))?e:null}function lE(e,t){return e&&iE(e())||t()}function sE(e,t,n){return e&&iE(e(t))||n(t)}function dE(e,t){return t(e&&iE(e())||null)}function cE(e){return!(e&&iE(e()))}const uE=$n({render(){var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}}),hE="n-config-provider",pE="n";function fE(e={},t={defaultBordered:!0}){const n=Ro(hE,null);return{inlineThemeDisabled:null==n?void 0:n.inlineThemeDisabled,mergedRtlRef:null==n?void 0:n.mergedRtlRef,mergedComponentPropsRef:null==n?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:null==n?void 0:n.mergedBreakpointsRef,mergedBorderedRef:Qr((()=>{var o,r;const{bordered:a}=e;return void 0!==a?a:null===(r=null!==(o=null==n?void 0:n.mergedBorderedRef.value)&&void 0!==o?o:t.defaultBordered)||void 0===r||r})),mergedClsPrefixRef:n?n.mergedClsPrefixRef:gt(pE),namespaceRef:Qr((()=>null==n?void 0:n.mergedNamespaceRef.value))}}function mE(){const e=Ro(hE,null);return e?e.mergedClsPrefixRef:gt(pE)}function vE(e,t,n,o){n||YB("useThemeClass","cssVarsRef is not passed");const r=Ro(hE,null),a=null==r?void 0:r.mergedThemeHashRef,i=null==r?void 0:r.styleMountTarget,l=vt(""),s=pI();let d;const c=`__${e}`;return Jo((()=>{(()=>{let e=c;const r=t?t.value:void 0,u=null==a?void 0:a.value;u&&(e+=`-${u}`),r&&(e+=`-${r}`);const{themeOverrides:h,builtinThemeOverrides:p}=o;h&&(e+=`-${PA(JSON.stringify(h))}`),p&&(e+=`-${PA(JSON.stringify(p))}`),l.value=e,d=()=>{const t=n.value;let o="";for(const e in t)o+=`${e}: ${t[e]};`;BA(`.${e}`,o).mount({id:e,ssr:s,parent:i}),d=void 0}})()})),{themeClass:l,onRender:()=>{null==d||d()}}}const gE="n-form-item";function bE(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=Ro(gE,null);To(gE,null);const a=Qr(n?()=>n(r):()=>{const{size:n}=e;if(n)return n;if(r){const{mergedSize:e}=r;if(void 0!==e.value)return e.value}return t}),i=Qr(o?()=>o(r):()=>{const{disabled:t}=e;return void 0!==t?t:!!r&&r.disabled.value}),l=Qr((()=>{const{status:t}=e;return t||(null==r?void 0:r.mergedValidationStatus.value)}));return Xn((()=>{r&&r.restoreValidation()})),{mergedSizeRef:a,mergedDisabledRef:i,mergedStatusRef:l,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}const yE={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},_E={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}};function xE(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}function CE(e){return(t,n)=>{let o;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;o=e.formattingValues[r]||e.formattingValues[t]}else{const t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;o=e.values[r]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function wE(e){return(t,n={})=>{const o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(r);if(!a)return null;const i=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;ne.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(l,(e=>e.test(i)));let d;d=e.valueCallback?e.valueCallback(s):s,d=n.valueCallback?n.valueCallback(d):d;return{value:d,rest:t.slice(i.length)}}}function SE(e){return(t,n={})=>{const o=t.match(e.matchPattern);if(!o)return null;const r=o[0],a=t.match(e.parsePattern);if(!a)return null;let i=e.valueCallback?e.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;return{value:i,rest:t.slice(r.length)}}}const kE={lessThanXSeconds:{one:"أقل من ثانية واحدة",two:"أقل من ثانتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانتين",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتين",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريباً",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتين",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومين",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريباً",two:"أسبوعين تقريباً",threeToTen:"{{count}} أسابيع تقريباً",other:"{{count}} أسبوع تقريباً"},xWeeks:{one:"أسبوع واحد",two:"أسبوعين",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوع"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريباً",threeToTen:"{{count}} أشهر تقريباً",other:"{{count}} شهر تقريباً"},xMonths:{one:"شهر واحد",two:"شهرين",threeToTen:"{{count}} أشهر",other:"{{count}} شهر"},aboutXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"},xYears:{one:"عام واحد",two:"عامين",threeToTen:"{{count}} أعوام",other:"{{count}} عام"},overXYears:{one:"أكثر من عام",two:"أكثر من عامين",threeToTen:"أكثر من {{count}} أعوام",other:"أكثر من {{count}} عام"},almostXYears:{one:"عام واحد تقريباً",two:"عامين تقريباً",threeToTen:"{{count}} أعوام تقريباً",other:"{{count}} عام تقريباً"}},PE={date:xE({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:xE({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'عند' {{time}}",long:"{{date}} 'عند' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},TE={lastWeek:"'أخر' eeee 'عند' p",yesterday:"'أمس عند' p",today:"'اليوم عند' p",tomorrow:"'غداً عند' p",nextWeek:"eeee 'عند' p",other:"P"},RE={code:"ar-DZ",formatDistance:(e,t,n)=>{n=n||{};const o=kE[e];let r;return r="string"==typeof o?o:1===t?o.one:2===t?o.two:t<=10?o.threeToTen.replace("{{count}}",String(t)):o.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?"في خلال "+r:"منذ "+r:r},formatLong:PE,formatRelative:(e,t,n,o)=>TE[e],localize:{ordinalNumber:e=>String(e),era:CE({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:CE({values:{narrow:["ج","ف","م","أ","م","ج","ج","أ","س","أ","ن","د"],abbreviated:["جانـ","فيفـ","مارس","أفريل","مايـ","جوانـ","جويـ","أوت","سبتـ","أكتـ","نوفـ","ديسـ"],wide:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},defaultWidth:"wide"}),day:CE({values:{narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنـ","ثلا","أربـ","خميـ","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظهر",evening:"مساءاً",night:"ليلاً"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ص",pm:"م",midnight:"ن",noon:"ظ",morning:"في الصباح",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"},abbreviated:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"في الصباح",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل"},wide:{am:"ص",pm:"م",midnight:"نصف الليل",noon:"ظهر",morning:"صباحاً",afternoon:"بعد الظـهر",evening:"في المساء",night:"في الليل"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,wide:/^(قبل الميلاد|قبل الميلاد|بعد الميلاد|بعد الميلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^ر[1234]/i,wide:/^الربع [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>Number(e)+1}),month:wE({matchPatterns:{narrow:/^[جفمأسند]/i,abbreviated:/^(جان|فيف|مار|أفر|ماي|جوا|جوي|أوت|سبت|أكت|نوف|ديس)/i,wide:/^(جانفي|فيفري|مارس|أفريل|ماي|جوان|جويلية|أوت|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ج/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ج/i,/^ج/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^جان/i,/^فيف/i,/^مار/i,/^أفر/i,/^ماي/i,/^جوا/i,/^جوي/i,/^أوت/i,/^سبت/i,/^أكت/i,/^نوف/i,/^ديس/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثن|ثلا|أرب|خمي|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function FE(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}let zE={};function ME(){return zE}function $E(e,t){var n,o,r,a;const i=ME(),l=(null==t?void 0:t.weekStartsOn)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.weekStartsOn)??i.weekStartsOn??(null==(a=null==(r=i.locale)?void 0:r.options)?void 0:a.weekStartsOn)??0,s=FE(e),d=s.getDay(),c=(d{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:CE({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:CE({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},BE={ordinalNumber:SE({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},EE={code:"en-US",formatDistance:(e,t,n)=>{let o;const r=OE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:{date:xE({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:xE({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:(e,t,n,o)=>DE[e],localize:IE,match:BE,options:{weekStartsOn:0,firstWeekContainsDate:1}},LE={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},jE={date:xE({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:xE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},NE={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},HE={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},WE={code:"es",formatDistance:(e,t,n)=>{let o;const r=LE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o},formatLong:jE,formatRelative:(e,t,n,o)=>1!==t.getHours()?HE[e]:NE[e],localize:{ordinalNumber:(e,t)=>Number(e)+"º",era:CE({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:CE({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:CE({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:wE({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},VE={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},UE={date:xE({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:xE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},qE={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},KE=["MMM","MMMM"],YE={code:"fr",formatDistance:(e,t,n)=>{let o;const r=VE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o},formatLong:UE,formatRelative:(e,t,n,o)=>qE[e],localize:{preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some((e=>e.isToken&&KE.includes(e.value)))?t.map((e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e)):t},ordinalNumber:(e,t)=>{const n=Number(e),o=null==t?void 0:t.unit;if(0===n)return"0";let r;return r=1===n?o&&["year","week","hour","minute","second"].includes(o)?"ère":"er":"ème",n+r},era:CE({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:CE({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:wE({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},GE={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},XE={date:xE({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:xE({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},ZE={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},QE={code:"ja",formatDistance:(e,t,n)=>{let o;n=n||{};const r=GE[e];return o="string"==typeof r?r:1===t?n.addSuffix&&r.oneWithSuffix?r.oneWithSuffix:r.one:n.addSuffix&&r.otherWithSuffix?r.otherWithSuffix.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?o+"後":o+"前":o},formatLong:XE,formatRelative:(e,t,n,o)=>ZE[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(String(null==t?void 0:t.unit)){case"year":return`${n}年`;case"quarter":return`第${n}四半期`;case"month":return`${n}月`;case"week":return`第${n}週`;case"date":return`${n}日`;case"hour":return`${n}時`;case"minute":return`${n}分`;case"second":return`${n}秒`;default:return`${n}`}},era:CE({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:CE({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:CE({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:wE({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},JE={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},eL={date:xE({formats:{full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:xE({formats:{full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},tL={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},nL={code:"ko",formatDistance:(e,t,n)=>{let o;const r=JE[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?o+" 후":o+" 전":o},formatLong:eL,formatRelative:(e,t,n,o)=>tL[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(String(null==t?void 0:t.unit)){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},era:CE({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},defaultWidth:"wide"}),day:CE({values:{narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultWidth:"wide",formattingValues:{narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(일|번째)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|기원전)/i,/^(ad|서기)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},defaultMatchWidth:"wide",parsePatterns:{any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},oL={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},rL={date:xE({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:xE({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},aL={lastWeek:e=>{const t=e.getDay();return"'"+(0===t||6===t?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},iL={code:"pt-BR",formatDistance:(e,t,n)=>{let o;const r=oL[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"em "+o:"há "+o:o},formatLong:rL,formatRelative:(e,t,n,o)=>{const r=aL[e];return"function"==typeof r?r(t):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e);return"week"===(null==t?void 0:t.unit)?n+"ª":n+"º"},era:CE({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:CE({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function lL(e,t){if(void 0!==e.one&&1===t)return e.one;const n=t%10,o=t%100;return 1===n&&11!==o?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(o<10||o>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function sL(e){return(t,n)=>(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?e.future?lL(e.future,t):"через "+lL(e.regular,t):e.past?lL(e.past,t):lL(e.regular,t)+" назад":lL(e.regular,t)}const dL={lessThanXSeconds:sL({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:sL({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,t)=>(null==t?void 0:t.addSuffix)?t.comparison&&t.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:sL({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:sL({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:sL({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:sL({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:sL({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:sL({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:sL({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:sL({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:sL({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:sL({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:sL({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:sL({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:sL({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},cL={date:xE({formats:{full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},defaultWidth:"full"}),time:xE({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:xE({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},uL=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function hL(e){const t=uL[e];return 2===e?"'во "+t+" в' p":"'в "+t+" в' p"}const pL={lastWeek:(e,t,n)=>{const o=e.getDay();return AE(e,t,n)?hL(o):function(e){const t=uL[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}(o)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const o=e.getDay();return AE(e,t,n)?hL(o):function(e){const t=uL[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}(o)},other:"P"},fL={code:"ru",formatDistance:(e,t,n)=>dL[e](t,n),formatLong:cL,formatRelative:(e,t,n,o)=>{const r=pL[e];return"function"==typeof r?r(t,n,o):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e),o=null==t?void 0:t.unit;let r;return r="date"===o?"-е":"week"===o||"minute"===o||"second"===o?"-я":"-й",n+r},era:CE({values:{narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},defaultWidth:"wide",formattingValues:{narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},defaultFormattingWidth:"wide"}),day:CE({values:{narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},defaultWidth:"any",formattingValues:{narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^д/i,/^н/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},mL={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},vL={date:xE({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:xE({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};function gL(e,t,n){const o="eeee p";return AE(e,t,n)?o:e.getTime()>t.getTime()?"'下个'"+o:"'上个'"+o}const bL={lastWeek:gL,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:gL,other:"PP p"},yL={code:"zh-CN",formatDistance:(e,t,n)=>{let o;const r=mL[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?o+"内":o+"前":o},formatLong:vL,formatRelative:(e,t,n,o)=>{const r=bL[e];return"function"==typeof r?r(t,n,o):r},localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(null==t?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},era:CE({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:CE({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},_L={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},xL={date:xE({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:xE({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:xE({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},CL={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},wL={code:"zh-TW",formatDistance:(e,t,n)=>{let o;const r=_L[e];return o="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?o+"內":o+"前":o},formatLong:xL,formatRelative:(e,t,n,o)=>CL[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e);switch(null==t?void 0:t.unit){case"date":return n+"日";case"hour":return n+"時";case"minute":return n+"分";case"second":return n+"秒";default:return"第 "+n}},era:CE({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:CE({values:{narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:CE({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:CE({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:CE({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:SE({matchPattern:/^(第\s*)?\d+(日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:wE({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:wE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:wE({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:wE({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:wE({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},SL={name:"ar-DZ",locale:RE},kL={name:"en-US",locale:EE},PL={name:"es-AR",locale:WE},TL={name:"fr-FR",locale:YE},RL={name:"ja-JP",locale:QE},FL={name:"ko-KR",locale:nL},zL={name:"pt-BR",locale:iL},ML={name:"ru-RU",locale:fL},$L={name:"zh-CN",locale:yL},AL={name:"zh-TW",locale:wL};var OL="object"==typeof global&&global&&global.Object===Object&&global,DL="object"==typeof self&&self&&self.Object===Object&&self,IL=OL||DL||Function("return this")(),BL=IL.Symbol,EL=Object.prototype,LL=EL.hasOwnProperty,jL=EL.toString,NL=BL?BL.toStringTag:void 0;var HL=Object.prototype.toString;var WL=BL?BL.toStringTag:void 0;function VL(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":WL&&WL in Object(e)?function(e){var t=LL.call(e,NL),n=e[NL];try{e[NL]=void 0;var o=!0}catch(Nte){}var r=jL.call(e);return o&&(t?e[NL]=n:delete e[NL]),r}(e):function(e){return HL.call(e)}(e)}function UL(e){return null!=e&&"object"==typeof e}function qL(e){return"symbol"==typeof e||UL(e)&&"[object Symbol]"==VL(e)}function KL(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n0){if(++yj>=800)return arguments[0]}else yj=0;return bj.apply(void 0,arguments)}),Sj=/^(?:0|[1-9]\d*)$/;function kj(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Sj.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Aj(e){return null!=e&&$j(e.length)&&!ej(e)}var Oj=Object.prototype;function Dj(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oj)}function Ij(e){return UL(e)&&"[object Arguments]"==VL(e)}var Bj=Object.prototype,Ej=Bj.hasOwnProperty,Lj=Bj.propertyIsEnumerable,jj=Ij(function(){return arguments}())?Ij:function(e){return UL(e)&&Ej.call(e,"callee")&&!Lj.call(e,"callee")};var Nj="object"==typeof exports&&exports&&!exports.nodeType&&exports,Hj=Nj&&"object"==typeof module&&module&&!module.nodeType&&module,Wj=Hj&&Hj.exports===Nj?IL.Buffer:void 0,Vj=(Wj?Wj.isBuffer:void 0)||function(){return!1},Uj={};Uj["[object Float32Array]"]=Uj["[object Float64Array]"]=Uj["[object Int8Array]"]=Uj["[object Int16Array]"]=Uj["[object Int32Array]"]=Uj["[object Uint8Array]"]=Uj["[object Uint8ClampedArray]"]=Uj["[object Uint16Array]"]=Uj["[object Uint32Array]"]=!0,Uj["[object Arguments]"]=Uj["[object Array]"]=Uj["[object ArrayBuffer]"]=Uj["[object Boolean]"]=Uj["[object DataView]"]=Uj["[object Date]"]=Uj["[object Error]"]=Uj["[object Function]"]=Uj["[object Map]"]=Uj["[object Number]"]=Uj["[object Object]"]=Uj["[object RegExp]"]=Uj["[object Set]"]=Uj["[object String]"]=Uj["[object WeakMap]"]=!1;var qj="object"==typeof exports&&exports&&!exports.nodeType&&exports,Kj=qj&&"object"==typeof module&&module&&!module.nodeType&&module,Yj=Kj&&Kj.exports===qj&&OL.process,Gj=function(){try{var e=Kj&&Kj.require&&Kj.require("util").types;return e||Yj&&Yj.binding&&Yj.binding("util")}catch(Nte){}}(),Xj=Gj&&Gj.isTypedArray,Zj=Xj?function(e){return function(t){return e(t)}}(Xj):function(e){return UL(e)&&$j(e.length)&&!!Uj[VL(e)]},Qj=Object.prototype.hasOwnProperty;function Jj(e,t){var n=YL(e),o=!n&&jj(e),r=!n&&!o&&Vj(e),a=!n&&!o&&!r&&Zj(e),i=n||o||r||a,l=i?function(e,t){for(var n=-1,o=Array(e);++n-1},vN.prototype.set=function(e,t){var n=this.__data__,o=fN(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var gN=pj(IL,"Map");function bN(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function yN(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tr?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++ol))return!1;var d=a.get(e),c=a.get(t);if(d&&c)return d==t&&c==e;var u=-1,h=!0,p=2&n?new JH:void 0;for(a.set(e,t),a.set(t,e);++u1?t[o-1]:void 0,a=o>2?t[2]:void 0;for(r=zW.length>3&&"function"==typeof r?(o--,r):void 0,a&&function(e,t,n){if(!QL(n))return!1;var o=typeof t;return!!("number"==o?Aj(n)&&kj(t,n.length):"string"==o&&t in n)&&Tj(n[t],e)}(t[0],t[1],a)&&(r=o<3?void 0:r,o=1),e=Object(e);++n{var n,o;return null!==(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n[e])&&void 0!==o?o:yE[e]})),r=Qr((()=>{var e;return null!==(e=null==n?void 0:n.value)&&void 0!==e?e:kL}));return{dateLocaleRef:r,localeRef:o}}const OW="naive-ui-style";function DW(e,t,n){if(!t)return;const o=pI(),r=Qr((()=>{const{value:n}=t;if(!n)return;const o=n[e];return o||void 0})),a=Ro(hE,null),i=()=>{Jo((()=>{const{value:t}=n,i=`${t}${e}Rtl`;if(function(e,t){if(void 0===e)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return null!==yA(e)}(i,o))return;const{value:l}=r;l&&l.style.mount({id:i,head:!0,anchorMetaName:OW,props:{bPrefix:t?`.${t}-`:void 0},ssr:o,parent:null==a?void 0:a.styleMountTarget})}))};return o?i():qn(i),r}const IW={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:BW,fontFamily:EW,lineHeight:LW}=IW,jW=BA("body",`\n margin: 0;\n font-size: ${BW};\n font-family: ${EW};\n line-height: ${LW};\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: transparent;\n`,[BA("input","\n font-family: inherit;\n font-size: inherit;\n ")]);function NW(e,t,n){if(!t)return;const o=pI(),r=Ro(hE,null),a=()=>{const a=n.value;t.mount({id:void 0===a?e:a+e,head:!0,anchorMetaName:OW,props:{bPrefix:a?`.${a}-`:void 0},ssr:o,parent:null==r?void 0:r.styleMountTarget}),(null==r?void 0:r.preflightStyleDisabled)||jW.mount({id:"n-global",head:!0,anchorMetaName:OW,ssr:o,parent:null==r?void 0:r.styleMountTarget})};o?a():qn(a)}function HW(e,t,n,o,r,a){const i=pI(),l=Ro(hE,null);if(n){const e=()=>{const e=null==a?void 0:a.value;n.mount({id:void 0===e?t:e+t,head:!0,props:{bPrefix:e?`.${e}-`:void 0},anchorMetaName:OW,ssr:i,parent:null==l?void 0:l.styleMountTarget}),(null==l?void 0:l.preflightStyleDisabled)||jW.mount({id:"n-global",head:!0,anchorMetaName:OW,ssr:i,parent:null==l?void 0:l.styleMountTarget})};i?e():qn(e)}const s=Qr((()=>{var t;const{theme:{common:n,self:a,peers:i={}}={},themeOverrides:s={},builtinThemeOverrides:d={}}=r,{common:c,peers:u}=s,{common:h,[e]:{common:p,self:f,peers:m={}}={}}=(null==l?void 0:l.mergedThemeRef.value)||{},{common:v,[e]:g={}}=(null==l?void 0:l.mergedThemeOverridesRef.value)||{},{common:b,peers:y={}}=g,_=$W({},n||p||h||o.common,v,b,c);return{common:_,self:$W(null===(t=a||f||o.self)||void 0===t?void 0:t(_),d,g,s),peers:$W({},o.peers,m,i),peerOverrides:$W({},d.peers,y,u)}}));return s}HW.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const WW=LA("base-icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[BA("svg","\n height: 1em;\n width: 1em;\n ")]),VW=$n({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){NW("-base-icon",WW,Ft(e,"clsPrefix"))},render(){return Jr("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),UW=$n({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=CD();return()=>Jr(ha,{name:"icon-switch-transition",appear:n.value},t)}}),qW=$n({name:"Add",render:()=>Jr("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}),KW=$n({name:"ArrowDown",render:()=>Jr("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}),YW=$n({name:"ArrowUp",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Jr("g",{fill:"none"},Jr("path",{d:"M3.13 9.163a.5.5 0 1 0 .74.674L9.5 3.67V17.5a.5.5 0 0 0 1 0V3.672l5.63 6.165a.5.5 0 0 0 .738-.674l-6.315-6.916a.746.746 0 0 0-.632-.24a.746.746 0 0 0-.476.24L3.131 9.163z",fill:"currentColor"})))});function GW(e,t){const n=$n({render:()=>t()});return $n({name:QN(e),setup(){var t;const o=null===(t=Ro(hE,null))||void 0===t?void 0:t.mergedIconsRef;return()=>{var t;const r=null===(t=null==o?void 0:o.value)||void 0===t?void 0:t[e];return r?r():Jr(n,null)}}})}const XW=GW("attach",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M3.25735931,8.70710678 L7.85355339,4.1109127 C8.82986412,3.13460197 10.4127766,3.13460197 11.3890873,4.1109127 C12.365398,5.08722343 12.365398,6.67013588 11.3890873,7.64644661 L6.08578644,12.9497475 C5.69526215,13.3402718 5.06209717,13.3402718 4.67157288,12.9497475 C4.28104858,12.5592232 4.28104858,11.9260582 4.67157288,11.5355339 L9.97487373,6.23223305 C10.1701359,6.0369709 10.1701359,5.72038841 9.97487373,5.52512627 C9.77961159,5.32986412 9.4630291,5.32986412 9.26776695,5.52512627 L3.96446609,10.8284271 C3.18341751,11.6094757 3.18341751,12.8758057 3.96446609,13.6568542 C4.74551468,14.4379028 6.01184464,14.4379028 6.79289322,13.6568542 L12.0961941,8.35355339 C13.4630291,6.98671837 13.4630291,4.77064094 12.0961941,3.40380592 C10.7293591,2.0369709 8.51328163,2.0369709 7.14644661,3.40380592 L2.55025253,8 C2.35499039,8.19526215 2.35499039,8.51184464 2.55025253,8.70710678 C2.74551468,8.90236893 3.06209717,8.90236893 3.25735931,8.70710678 Z"})))))),ZW=$n({name:"Backward",render:()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}),QW=GW("cancel",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M2.58859116,2.7156945 L2.64644661,2.64644661 C2.82001296,2.47288026 3.08943736,2.45359511 3.2843055,2.58859116 L3.35355339,2.64644661 L8,7.293 L12.6464466,2.64644661 C12.8417088,2.45118446 13.1582912,2.45118446 13.3535534,2.64644661 C13.5488155,2.84170876 13.5488155,3.15829124 13.3535534,3.35355339 L8.707,8 L13.3535534,12.6464466 C13.5271197,12.820013 13.5464049,13.0894374 13.4114088,13.2843055 L13.3535534,13.3535534 C13.179987,13.5271197 12.9105626,13.5464049 12.7156945,13.4114088 L12.6464466,13.3535534 L8,8.707 L3.35355339,13.3535534 C3.15829124,13.5488155 2.84170876,13.5488155 2.64644661,13.3535534 C2.45118446,13.1582912 2.45118446,12.8417088 2.64644661,12.6464466 L7.293,8 L2.64644661,3.35355339 C2.47288026,3.17998704 2.45359511,2.91056264 2.58859116,2.7156945 L2.64644661,2.64644661 L2.58859116,2.7156945 Z"})))))),JW=$n({name:"Checkmark",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},Jr("g",{fill:"none"},Jr("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}),eV=$n({name:"ChevronDown",render:()=>Jr("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}),tV=$n({name:"ChevronRight",render:()=>Jr("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}),nV=GW("clear",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))))),oV=GW("close",(()=>Jr("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"})))))),rV=GW("date",(()=>Jr("svg",{width:"28px",height:"28px",viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M21.75,3 C23.5449254,3 25,4.45507456 25,6.25 L25,21.75 C25,23.5449254 23.5449254,25 21.75,25 L6.25,25 C4.45507456,25 3,23.5449254 3,21.75 L3,6.25 C3,4.45507456 4.45507456,3 6.25,3 L21.75,3 Z M23.5,9.503 L4.5,9.503 L4.5,21.75 C4.5,22.7164983 5.28350169,23.5 6.25,23.5 L21.75,23.5 C22.7164983,23.5 23.5,22.7164983 23.5,21.75 L23.5,9.503 Z M21.75,4.5 L6.25,4.5 C5.28350169,4.5 4.5,5.28350169 4.5,6.25 L4.5,8.003 L23.5,8.003 L23.5,6.25 C23.5,5.28350169 22.7164983,4.5 21.75,4.5 Z"})))))),aV=GW("download",(()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M3.5,13 L12.5,13 C12.7761424,13 13,13.2238576 13,13.5 C13,13.7454599 12.8231248,13.9496084 12.5898756,13.9919443 L12.5,14 L3.5,14 C3.22385763,14 3,13.7761424 3,13.5 C3,13.2545401 3.17687516,13.0503916 3.41012437,13.0080557 L3.5,13 L12.5,13 L3.5,13 Z M7.91012437,1.00805567 L8,1 C8.24545989,1 8.44960837,1.17687516 8.49194433,1.41012437 L8.5,1.5 L8.5,10.292 L11.1819805,7.6109127 C11.3555469,7.43734635 11.6249713,7.4180612 11.8198394,7.55305725 L11.8890873,7.6109127 C12.0626536,7.78447906 12.0819388,8.05390346 11.9469427,8.2487716 L11.8890873,8.31801948 L8.35355339,11.8535534 C8.17998704,12.0271197 7.91056264,12.0464049 7.7156945,11.9114088 L7.64644661,11.8535534 L4.1109127,8.31801948 C3.91565056,8.12275734 3.91565056,7.80617485 4.1109127,7.6109127 C4.28447906,7.43734635 4.55390346,7.4180612 4.7487716,7.55305725 L4.81801948,7.6109127 L7.5,10.292 L7.5,1.5 C7.5,1.25454011 7.67687516,1.05039163 7.91012437,1.00805567 L8,1 L7.91012437,1.00805567 Z"})))))),iV=$n({name:"Empty",render:()=>Jr("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),Jr("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}),lV=GW("error",(()=>Jr("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"})))))),sV=$n({name:"Eye",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),Jr("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}),dV=$n({name:"EyeOff",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),Jr("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),Jr("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),Jr("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),Jr("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}),cV=$n({name:"FastBackward",render:()=>Jr("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}),uV=$n({name:"FastForward",render:()=>Jr("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}),hV=$n({name:"Filter",render:()=>Jr("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}),pV=$n({name:"Forward",render:()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}),fV=GW("info",(()=>Jr("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"})))))),mV=$n({name:"More",render:()=>Jr("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}),vV=$n({name:"Remove",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "}))}),gV=$n({name:"ResizeSmall",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Jr("g",{fill:"none"},Jr("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}),bV=GW("retry",(()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M320,146s24.36-12-64-12A160,160,0,1,0,416,294",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-miterlimit: 10; stroke-width: 32px;"}),Jr("polyline",{points:"256 58 336 138 256 218",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"})))),yV=GW("rotateClockwise",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),Jr("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"})))),_V=GW("rotateClockwise",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),Jr("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"})))),xV=$n({name:"Search",render:()=>Jr("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:"enable-background: new 0 0 512 512"},Jr("path",{d:"M443.5,420.2L336.7,312.4c20.9-26.2,33.5-59.4,33.5-95.5c0-84.5-68.5-153-153.1-153S64,132.5,64,217s68.5,153,153.1,153\n c36.6,0,70.1-12.8,96.5-34.2l106.1,107.1c3.2,3.4,7.6,5.1,11.9,5.1c4.1,0,8.2-1.5,11.3-4.5C449.5,437.2,449.7,426.8,443.5,420.2z\n M217.1,337.1c-32.1,0-62.3-12.5-85-35.2c-22.7-22.7-35.2-52.9-35.2-84.9c0-32.1,12.5-62.3,35.2-84.9c22.7-22.7,52.9-35.2,85-35.2\n c32.1,0,62.3,12.5,85,35.2c22.7,22.7,35.2,52.9,35.2,84.9c0,32.1-12.5,62.3-35.2,84.9C279.4,324.6,249.2,337.1,217.1,337.1z"}))}),CV=GW("success",(()=>Jr("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"})))))),wV=$n({name:"Switcher",render:()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Jr("path",{d:"M12 8l10 8l-10 8z"}))}),SV=GW("time",(()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M256,64C150,64,64,150,64,256s86,192,192,192,192-86,192-192S362,64,256,64Z",style:"\n fill: none;\n stroke: currentColor;\n stroke-miterlimit: 10;\n stroke-width: 32px;\n "}),Jr("polyline",{points:"256 128 256 272 352 272",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "})))),kV=GW("to",(()=>Jr("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Jr("g",{fill:"currentColor","fill-rule":"nonzero"},Jr("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"})))))),PV=GW("trash",(()=>Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Jr("path",{d:"M432,144,403.33,419.74A32,32,0,0,1,371.55,448H140.46a32,32,0,0,1-31.78-28.26L80,144",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),Jr("rect",{x:"32",y:"64",width:"448",height:"80",rx:"16",ry:"16",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),Jr("line",{x1:"312",y1:"240",x2:"200",y2:"352",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}),Jr("line",{x1:"312",y1:"352",x2:"200",y2:"240",style:"fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"})))),TV=GW("warning",(()=>Jr("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Jr("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Jr("g",{"fill-rule":"nonzero"},Jr("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"})))))),RV=GW("zoomIn",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),Jr("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"})))),FV=GW("zoomOut",(()=>Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),Jr("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"})))),{cubicBezierEaseInOut:zV}=IW;function MV({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${zV} !important`}={}){return[BA("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:`${e} scale(0.75)`,left:t,top:n,opacity:0}),BA("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),BA("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const $V=LA("base-clear","\n flex-shrink: 0;\n height: 1em;\n width: 1em;\n position: relative;\n",[BA(">",[jA("clear","\n font-size: var(--n-clear-size);\n height: 1em;\n width: 1em;\n cursor: pointer;\n color: var(--n-clear-color);\n transition: color .3s var(--n-bezier);\n display: flex;\n ",[BA("&:hover","\n color: var(--n-clear-color-hover)!important;\n "),BA("&:active","\n color: var(--n-clear-color-pressed)!important;\n ")]),jA("placeholder","\n display: flex;\n "),jA("clear, placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[MV({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),AV=$n({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup:e=>(NW("-base-clear",$V,Ft(e,"clsPrefix")),{handleMouseDown(e){e.preventDefault()}}),render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-base-clear`},Jr(UW,null,{default:()=>{var t,n;return this.show?Jr("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},lE(this.$slots.icon,(()=>[Jr(VW,{clsPrefix:e},{default:()=>Jr(nV,null)})]))):Jr("div",{key:"icon",class:`${e}-base-clear__placeholder`},null===(n=(t=this.$slots).placeholder)||void 0===n?void 0:n.call(t))}}))}}),OV=LA("base-close","\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background-color: transparent;\n color: var(--n-close-icon-color);\n border-radius: var(--n-close-border-radius);\n height: var(--n-close-size);\n width: var(--n-close-size);\n font-size: var(--n-close-icon-size);\n outline: none;\n border: none;\n position: relative;\n padding: 0;\n",[NA("absolute","\n height: var(--n-close-icon-size);\n width: var(--n-close-icon-size);\n "),BA("&::before",'\n content: "";\n position: absolute;\n width: var(--n-close-size);\n height: var(--n-close-size);\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n transition: inherit;\n border-radius: inherit;\n '),HA("disabled",[BA("&:hover","\n color: var(--n-close-icon-color-hover);\n "),BA("&:hover::before","\n background-color: var(--n-close-color-hover);\n "),BA("&:focus::before","\n background-color: var(--n-close-color-hover);\n "),BA("&:active","\n color: var(--n-close-icon-color-pressed);\n "),BA("&:active::before","\n background-color: var(--n-close-color-pressed);\n ")]),NA("disabled","\n cursor: not-allowed;\n color: var(--n-close-icon-color-disabled);\n background-color: transparent;\n "),NA("round",[BA("&::before","\n border-radius: 50%;\n ")])]),DV=$n({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup:e=>(NW("-base-close",OV,Ft(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:a}=e;return Jr(a?"button":"div",{type:a?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:a?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:t=>{e.focusable||t.preventDefault()},onClick:e.onClick},Jr(VW,{clsPrefix:t},{default:()=>Jr(oV,null)}))})}),IV=$n({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(t){e.width?t.style.maxWidth=`${t.offsetWidth}px`:t.style.maxHeight=`${t.offsetHeight}px`,t.offsetWidth}function o(t){e.width?t.style.maxWidth="0":t.style.maxHeight="0",t.offsetWidth;const{onLeave:n}=e;n&&n()}function r(t){e.width?t.style.maxWidth="":t.style.maxHeight="";const{onAfterLeave:n}=e;n&&n()}function a(t){if(t.style.transition="none",e.width){const e=t.offsetWidth;t.style.maxWidth="0",t.offsetWidth,t.style.transition="",t.style.maxWidth=`${e}px`}else if(e.reverse)t.style.maxHeight=`${t.offsetHeight}px`,t.offsetHeight,t.style.transition="",t.style.maxHeight="0";else{const e=t.offsetHeight;t.style.maxHeight="0",t.offsetWidth,t.style.transition="",t.style.maxHeight=`${e}px`}t.offsetWidth}function i(t){var n;e.width?t.style.maxWidth="":e.reverse||(t.style.maxHeight=""),null===(n=e.onAfterEnter)||void 0===n||n.call(e)}return()=>{const{group:l,width:s,appear:d,mode:c}=e,u=l?Xa:ha,h={name:s?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:d,onEnter:a,onAfterEnter:i,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return l||(h.mode=c),Jr(u,h,t)}}}),BV=$n({props:{onFocus:Function,onBlur:Function},setup:e=>()=>Jr("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}),EV=BA([BA("@keyframes rotator","\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }"),LA("base-loading","\n position: relative;\n line-height: 0;\n width: 1em;\n height: 1em;\n ",[jA("transition-wrapper","\n position: absolute;\n width: 100%;\n height: 100%;\n ",[MV()]),jA("placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[MV({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),jA("container","\n animation: rotator 3s linear infinite both;\n ",[jA("icon","\n height: 1em;\n width: 1em;\n ")])])]),LV="1.6s",jV={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},NV=$n({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},jV),setup(e){NW("-base-loading",EV,Ft(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,a=t/r;return Jr("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},Jr(UW,null,{default:()=>this.show?Jr("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},Jr("div",{class:`${e}-base-loading__container`},Jr("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*a} ${2*a}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},Jr("g",null,Jr("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${a} ${a};270 ${a} ${a}`,begin:"0s",dur:LV,fill:"freeze",repeatCount:"indefinite"}),Jr("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:a,cy:a,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},Jr("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${a} ${a};135 ${a} ${a};450 ${a} ${a}`,begin:"0s",dur:LV,fill:"freeze",repeatCount:"indefinite"}),Jr("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:LV,fill:"freeze",repeatCount:"indefinite"})))))):Jr("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}}),{cubicBezierEaseInOut:HV}=IW;function WV({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=HV,leaveCubicBezier:r=HV}={}){return[BA(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),BA(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),BA(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),BA(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const VV=LA("base-menu-mask","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 14px;\n overflow: hidden;\n",[WV()]),UV=$n({name:"BaseMenuMask",props:{clsPrefix:{type:String,required:!0}},setup(e){NW("-base-menu-mask",VV,Ft(e,"clsPrefix"));const t=vt(null);let n=null;const o=vt(!1);Xn((()=>{null!==n&&window.clearTimeout(n)}));const r={showOnce(e,r=1500){n&&window.clearTimeout(n),o.value=!0,t.value=e,n=window.setTimeout((()=>{o.value=!1,t.value=null}),r)}};return Object.assign({message:t,show:o},r)},render(){return Jr(ha,{name:"fade-in-transition"},{default:()=>this.show?Jr("div",{class:`${this.clsPrefix}-base-menu-mask`},this.message):null})}}),qV="#000",KV="#fff",YV="#fff",GV="rgb(72, 72, 78)",XV="rgb(24, 24, 28)",ZV="rgb(44, 44, 50)",QV="rgb(16, 16, 20)",JV="0.9",eU="0.82",tU="0.52",nU="0.38",oU="0.28",rU="0.52",aU="0.38",iU="0.06",lU="0.09",sU="0.06",dU="0.05",cU="0.05",uU="0.18",hU="0.2",pU="0.12",fU="0.24",mU="0.09",vU="0.1",gU="0.06",bU="0.04",yU="0.2",_U="0.3",xU="0.12",CU="0.2",wU="#7fe7c4",SU="#63e2b7",kU="#5acea7",PU="rgb(42, 148, 125)",TU="#8acbec",RU="#70c0e8",FU="#66afd3",zU="rgb(56, 137, 197)",MU="#e98b8b",$U="#e88080",AU="#e57272",OU="rgb(208, 58, 82)",DU="#f5d599",IU="#f2c97d",BU="#e6c260",EU="rgb(240, 138, 0)",LU="#7fe7c4",jU="#63e2b7",NU="#5acea7",HU="rgb(42, 148, 125)",WU=MO(qV),VU=MO(KV),UU=`rgba(${VU.slice(0,3).join(", ")}, `;function qU(e){return`${UU+String(e)})`}const KU=Object.assign(Object.assign({name:"common"},IW),{baseColor:qV,primaryColor:SU,primaryColorHover:wU,primaryColorPressed:kU,primaryColorSuppl:PU,infoColor:RU,infoColorHover:TU,infoColorPressed:FU,infoColorSuppl:zU,successColor:jU,successColorHover:LU,successColorPressed:NU,successColorSuppl:HU,warningColor:IU,warningColorHover:DU,warningColorPressed:BU,warningColorSuppl:EU,errorColor:$U,errorColorHover:MU,errorColorPressed:AU,errorColorSuppl:OU,textColorBase:YV,textColor1:qU(JV),textColor2:qU(eU),textColor3:qU(tU),textColorDisabled:qU(nU),placeholderColor:qU(nU),placeholderColorDisabled:qU(oU),iconColor:qU(nU),iconColorDisabled:qU(oU),iconColorHover:qU(1.25*Number(nU)),iconColorPressed:qU(.8*Number(nU)),opacity1:JV,opacity2:eU,opacity3:tU,opacity4:nU,opacity5:oU,dividerColor:qU(mU),borderColor:qU(fU),closeIconColorHover:qU(Number(rU)),closeIconColor:qU(Number(rU)),closeIconColorPressed:qU(Number(rU)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:qU(nU),clearColorHover:IO(qU(nU),{alpha:1.25}),clearColorPressed:IO(qU(nU),{alpha:.8}),scrollbarColor:qU(yU),scrollbarColorHover:qU(_U),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:qU(pU),railColor:qU(hU),popoverColor:GV,tableColor:XV,cardColor:XV,modalColor:ZV,bodyColor:QV,tagColor:function(e){const t=Array.from(VU);return t[3]=Number(e),OO(WU,t)}(CU),avatarColor:qU(uU),invertedColor:qV,inputColor:qU(vU),codeColor:qU(xU),tabColor:qU(bU),actionColor:qU(gU),tableHeaderColor:qU(gU),hoverColor:qU(lU),tableColorHover:qU(sU),tableColorStriped:qU(dU),pressedColor:qU(cU),opacityDisabled:aU,inputColorDisabled:qU(iU),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),YU="#FFF",GU="#000",XU="#000",ZU="#fff",QU="#fff",JU="#fff",eq="#fff",tq="0.82",nq="0.72",oq="0.38",rq="0.24",aq="0.18",iq="0.6",lq="0.5",sq="0.2",dq=".08",cq="0",uq="0.25",hq="0.4",pq="#36ad6a",fq="#18a058",mq="#0c7a43",vq="#36ad6a",gq="#4098fc",bq="#2080f0",yq="#1060c9",_q="#4098fc",xq="#de576d",Cq="#d03050",wq="#ab1f3f",Sq="#de576d",kq="#fcb040",Pq="#f0a020",Tq="#c97c10",Rq="#fcb040",Fq="#36ad6a",zq="#18a058",Mq="#0c7a43",$q="#36ad6a",Aq=MO(YU),Oq=MO(GU),Dq=`rgba(${Oq.slice(0,3).join(", ")}, `;function Iq(e){return`${Dq+String(e)})`}function Bq(e){const t=Array.from(Oq);return t[3]=Number(e),OO(Aq,t)}const Eq=Object.assign(Object.assign({name:"common"},IW),{baseColor:YU,primaryColor:fq,primaryColorHover:pq,primaryColorPressed:mq,primaryColorSuppl:vq,infoColor:bq,infoColorHover:gq,infoColorPressed:yq,infoColorSuppl:_q,successColor:zq,successColorHover:Fq,successColorPressed:Mq,successColorSuppl:$q,warningColor:Pq,warningColorHover:kq,warningColorPressed:Tq,warningColorSuppl:Rq,errorColor:Cq,errorColorHover:xq,errorColorPressed:wq,errorColorSuppl:Sq,textColorBase:XU,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Bq(rq),placeholderColor:Bq(rq),placeholderColorDisabled:Bq(aq),iconColor:Bq(rq),iconColorHover:IO(Bq(rq),{lightness:.75}),iconColorPressed:IO(Bq(rq),{lightness:.9}),iconColorDisabled:Bq(aq),opacity1:tq,opacity2:nq,opacity3:oq,opacity4:rq,opacity5:aq,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Bq(Number(iq)),closeIconColorHover:Bq(Number(iq)),closeIconColorPressed:Bq(Number(iq)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Bq(rq),clearColorHover:IO(Bq(rq),{lightness:.75}),clearColorPressed:IO(Bq(rq),{lightness:.9}),scrollbarColor:Iq(uq),scrollbarColorHover:Iq(hq),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Bq(dq),railColor:"rgb(219, 219, 223)",popoverColor:ZU,tableColor:QU,cardColor:QU,modalColor:JU,bodyColor:eq,tagColor:"#eee",avatarColor:Bq(sq),invertedColor:"rgb(0, 20, 40)",inputColor:Bq(cq),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:lq,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Lq={railInsetHorizontalBottom:"auto 2px 4px 2px",railInsetHorizontalTop:"4px 2px auto 2px",railInsetVerticalRight:"2px 4px 2px auto",railInsetVerticalLeft:"2px auto 2px 4px",railColor:"transparent"};function jq(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:o,scrollbarWidth:r,scrollbarBorderRadius:a}=e;return Object.assign(Object.assign({},Lq),{height:o,width:r,borderRadius:a,color:t,colorHover:n})}const Nq={name:"Scrollbar",common:Eq,self:jq},Hq={name:"Scrollbar",common:KU,self:jq},Wq=LA("scrollbar","\n overflow: hidden;\n position: relative;\n z-index: auto;\n height: 100%;\n width: 100%;\n",[BA(">",[LA("scrollbar-container","\n width: 100%;\n overflow: scroll;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n scrollbar-width: none;\n ",[BA("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),BA(">",[LA("scrollbar-content","\n box-sizing: border-box;\n min-width: 100%;\n ")])])]),BA(">, +",[LA("scrollbar-rail","\n position: absolute;\n pointer-events: none;\n user-select: none;\n background: var(--n-scrollbar-rail-color);\n -webkit-user-select: none;\n ",[NA("horizontal","\n height: var(--n-scrollbar-height);\n ",[BA(">",[jA("scrollbar","\n height: var(--n-scrollbar-height);\n border-radius: var(--n-scrollbar-border-radius);\n right: 0;\n ")])]),NA("horizontal--top","\n top: var(--n-scrollbar-rail-top-horizontal-top); \n right: var(--n-scrollbar-rail-right-horizontal-top); \n bottom: var(--n-scrollbar-rail-bottom-horizontal-top); \n left: var(--n-scrollbar-rail-left-horizontal-top); \n "),NA("horizontal--bottom","\n top: var(--n-scrollbar-rail-top-horizontal-bottom); \n right: var(--n-scrollbar-rail-right-horizontal-bottom); \n bottom: var(--n-scrollbar-rail-bottom-horizontal-bottom); \n left: var(--n-scrollbar-rail-left-horizontal-bottom); \n "),NA("vertical","\n width: var(--n-scrollbar-width);\n ",[BA(">",[jA("scrollbar","\n width: var(--n-scrollbar-width);\n border-radius: var(--n-scrollbar-border-radius);\n bottom: 0;\n ")])]),NA("vertical--left","\n top: var(--n-scrollbar-rail-top-vertical-left); \n right: var(--n-scrollbar-rail-right-vertical-left); \n bottom: var(--n-scrollbar-rail-bottom-vertical-left); \n left: var(--n-scrollbar-rail-left-vertical-left); \n "),NA("vertical--right","\n top: var(--n-scrollbar-rail-top-vertical-right); \n right: var(--n-scrollbar-rail-right-vertical-right); \n bottom: var(--n-scrollbar-rail-bottom-vertical-right); \n left: var(--n-scrollbar-rail-left-vertical-right); \n "),NA("disabled",[BA(">",[jA("scrollbar","pointer-events: none;")])]),BA(">",[jA("scrollbar","\n z-index: 1;\n position: absolute;\n cursor: pointer;\n pointer-events: all;\n background-color: var(--n-scrollbar-color);\n transition: background-color .2s var(--n-scrollbar-bezier);\n ",[WV(),BA("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),Vq=$n({name:"Scrollbar",props:Object.assign(Object.assign({},HW.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=fE(e),r=DW("Scrollbar",o,t),a=vt(null),i=vt(null),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt(null),h=vt(null),p=vt(null),f=vt(null),m=vt(null),v=vt(0),g=vt(0),b=vt(!1),y=vt(!1);let _,x,C=!1,w=!1,S=0,k=0,P=0,T=0;const R=SD,F=HW("Scrollbar","-scrollbar",Wq,Nq,e,t),z=Qr((()=>{const{value:e}=h,{value:t}=c,{value:n}=f;return null===e||null===t||null===n?0:Math.min(e,n*e/t+1.5*tO(F.value.self.width))})),M=Qr((()=>`${z.value}px`)),$=Qr((()=>{const{value:e}=p,{value:t}=u,{value:n}=m;return null===e||null===t||null===n?0:n*e/t+1.5*tO(F.value.self.height)})),A=Qr((()=>`${$.value}px`)),O=Qr((()=>{const{value:e}=h,{value:t}=v,{value:n}=c,{value:o}=f;if(null===e||null===n||null===o)return 0;{const r=n-e;return r?t/r*(o-z.value):0}})),D=Qr((()=>`${O.value}px`)),I=Qr((()=>{const{value:e}=p,{value:t}=g,{value:n}=u,{value:o}=m;if(null===e||null===n||null===o)return 0;{const r=n-e;return r?t/r*(o-$.value):0}})),B=Qr((()=>`${I.value}px`)),E=Qr((()=>{const{value:e}=h,{value:t}=c;return null!==e&&null!==t&&t>e})),L=Qr((()=>{const{value:e}=p,{value:t}=u;return null!==e&&null!==t&&t>e})),j=Qr((()=>{const{trigger:t}=e;return"none"===t||b.value})),N=Qr((()=>{const{trigger:t}=e;return"none"===t||y.value})),H=Qr((()=>{const{container:t}=e;return t?t():i.value})),W=Qr((()=>{const{content:t}=e;return t?t():l.value})),V=(t,n)=>{if(!e.scrollable)return;if("number"==typeof t)return void q(t,null!=n?n:0,0,!1,"auto");const{left:o,top:r,index:a,elSize:i,position:l,behavior:s,el:d,debounce:c=!0}=t;void 0===o&&void 0===r||q(null!=o?o:0,null!=r?r:0,0,!1,s),void 0!==d?q(0,d.offsetTop,d.offsetHeight,c,s):void 0!==a&&void 0!==i?q(0,a*i,i,c,s):"bottom"===l?q(0,Number.MAX_SAFE_INTEGER,0,!1,s):"top"===l&&q(0,0,0,!1,s)},U=GD((()=>{e.container||V({top:v.value,left:g.value})}));function q(e,t,n,o,r){const{value:a}=H;if(a){if(o){const{scrollTop:o,offsetHeight:i}=a;if(t>o)return void(t+n<=o+i||a.scrollTo({left:e,top:t+n-i,behavior:r}))}a.scrollTo({left:e,top:t,behavior:r})}}function K(){!function(){void 0!==x&&window.clearTimeout(x);x=window.setTimeout((()=>{y.value=!1}),e.duration)}(),function(){void 0!==_&&window.clearTimeout(_);_=window.setTimeout((()=>{b.value=!1}),e.duration)}()}function Y(){const{value:e}=H;e&&(v.value=e.scrollTop,g.value=e.scrollLeft*((null==r?void 0:r.value)?-1:1))}function G(){const{value:e}=H;e&&(v.value=e.scrollTop,g.value=e.scrollLeft*((null==r?void 0:r.value)?-1:1),h.value=e.offsetHeight,p.value=e.offsetWidth,c.value=e.scrollHeight,u.value=e.scrollWidth);const{value:t}=d,{value:n}=s;t&&(m.value=t.offsetWidth),n&&(f.value=n.offsetHeight)}function X(){e.scrollable&&(e.useUnifiedContainer?G():(!function(){const{value:e}=W;e&&(c.value=e.offsetHeight,u.value=e.offsetWidth);const{value:t}=H;t&&(h.value=t.offsetHeight,p.value=t.offsetWidth);const{value:n}=d,{value:o}=s;n&&(m.value=n.offsetWidth),o&&(f.value=o.offsetHeight)}(),Y()))}function Z(e){var t;return!(null===(t=a.value)||void 0===t?void 0:t.contains(JA(e)))}function Q(t){if(!w)return;void 0!==_&&window.clearTimeout(_),void 0!==x&&window.clearTimeout(x);const{value:n}=p,{value:o}=u,{value:a}=$;if(null===n||null===o)return;const i=(null==r?void 0:r.value)?window.innerWidth-t.clientX-P:t.clientX-P,l=o-n;let s=k+i*(o-n)/(n-a);s=Math.min(l,s),s=Math.max(s,0);const{value:d}=H;if(d){d.scrollLeft=s*((null==r?void 0:r.value)?-1:1);const{internalOnUpdateScrollLeft:t}=e;t&&t(s)}}function J(e){e.preventDefault(),e.stopPropagation(),tD("mousemove",window,Q,!0),tD("mouseup",window,J,!0),w=!1,X(),Z(e)&&K()}function ee(e){if(!C)return;void 0!==_&&window.clearTimeout(_),void 0!==x&&window.clearTimeout(x);const{value:t}=h,{value:n}=c,{value:o}=z;if(null===t||null===n)return;const r=e.clientY-T,a=n-t;let i=S+r*(n-t)/(t-o);i=Math.min(a,i),i=Math.max(i,0);const{value:l}=H;l&&(l.scrollTop=i)}function te(e){e.preventDefault(),e.stopPropagation(),tD("mousemove",window,ee,!0),tD("mouseup",window,te,!0),C=!1,X(),Z(e)&&K()}Jo((()=>{const{value:e}=L,{value:n}=E,{value:o}=t,{value:r}=d,{value:a}=s;r&&(e?r.classList.remove(`${o}-scrollbar-rail--disabled`):r.classList.add(`${o}-scrollbar-rail--disabled`)),a&&(n?a.classList.remove(`${o}-scrollbar-rail--disabled`):a.classList.add(`${o}-scrollbar-rail--disabled`))})),Kn((()=>{e.container||X()})),Xn((()=>{void 0!==_&&window.clearTimeout(_),void 0!==x&&window.clearTimeout(x),tD("mousemove",window,ee,!0),tD("mouseup",window,te,!0)}));const ne=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{color:t,colorHover:n,height:o,width:a,borderRadius:i,railInsetHorizontalTop:l,railInsetHorizontalBottom:s,railInsetVerticalRight:d,railInsetVerticalLeft:c,railColor:u}}=F.value,{top:h,right:p,bottom:f,left:m}=oO(l),{top:v,right:g,bottom:b,left:y}=oO(s),{top:_,right:x,bottom:C,left:w}=oO((null==r?void 0:r.value)?jB(d):d),{top:S,right:k,bottom:P,left:T}=oO((null==r?void 0:r.value)?jB(c):c);return{"--n-scrollbar-bezier":e,"--n-scrollbar-color":t,"--n-scrollbar-color-hover":n,"--n-scrollbar-border-radius":i,"--n-scrollbar-width":a,"--n-scrollbar-height":o,"--n-scrollbar-rail-top-horizontal-top":h,"--n-scrollbar-rail-right-horizontal-top":p,"--n-scrollbar-rail-bottom-horizontal-top":f,"--n-scrollbar-rail-left-horizontal-top":m,"--n-scrollbar-rail-top-horizontal-bottom":v,"--n-scrollbar-rail-right-horizontal-bottom":g,"--n-scrollbar-rail-bottom-horizontal-bottom":b,"--n-scrollbar-rail-left-horizontal-bottom":y,"--n-scrollbar-rail-top-vertical-right":_,"--n-scrollbar-rail-right-vertical-right":x,"--n-scrollbar-rail-bottom-vertical-right":C,"--n-scrollbar-rail-left-vertical-right":w,"--n-scrollbar-rail-top-vertical-left":S,"--n-scrollbar-rail-right-vertical-left":k,"--n-scrollbar-rail-bottom-vertical-left":P,"--n-scrollbar-rail-left-vertical-left":T,"--n-scrollbar-rail-color":u}})),oe=n?vE("scrollbar",void 0,ne,e):void 0,re={scrollTo:V,scrollBy:(t,n)=>{if(!e.scrollable)return;const{value:o}=H;o&&("object"==typeof t?o.scrollBy(t):o.scrollBy(t,n||0))},sync:X,syncUnifiedContainer:G,handleMouseEnterWrapper:function(){!function(){void 0!==_&&window.clearTimeout(_);b.value=!0}(),function(){void 0!==x&&window.clearTimeout(x);y.value=!0}(),X()},handleMouseLeaveWrapper:function(){K()}};return Object.assign(Object.assign({},re),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:v,wrapperRef:a,containerRef:i,contentRef:l,yRailRef:s,xRailRef:d,needYBar:E,needXBar:L,yBarSizePx:M,xBarSizePx:A,yBarTopPx:D,xBarLeftPx:B,isShowXBar:j,isShowYBar:N,isIos:R,handleScroll:function(t){const{onScroll:n}=e;n&&n(t),Y()},handleContentResize:()=>{U.isDeactivated||X()},handleContainerResize:t=>{if(U.isDeactivated)return;const{onResize:n}=e;n&&n(t),X()},handleYScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),C=!0,eD("mousemove",window,ee,!0),eD("mouseup",window,te,!0),S=v.value,T=e.clientY},handleXScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),w=!0,eD("mousemove",window,Q,!0),eD("mouseup",window,J,!0),k=g.value,P=(null==r?void 0:r.value)?window.innerWidth-e.clientX:e.clientX},cssVars:n?void 0:ne,themeClass:null==oe?void 0:oe.themeClass,onRender:null==oe?void 0:oe.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:a,yPlacement:i,xPlacement:l,xScrollable:s}=this;if(!this.scrollable)return null===(e=t.default)||void 0===e?void 0:e.call(t);const d="none"===this.trigger,c=(e,t)=>Jr("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,`${n}-scrollbar-rail--vertical--${i}`,e],"data-scrollbar-rail":!0,style:[t||"",this.verticalRailStyle],"aria-hidden":!0},Jr(d?uE:ha,d?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?Jr("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),u=()=>{var e,i;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",Ir(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?null===(i=t.default)||void 0===i?void 0:i.call(t):Jr("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},Jr(bB,{onResize:this.handleContentResize},{default:()=>Jr("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),a?null:c(void 0,void 0),s&&Jr("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`,`${n}-scrollbar-rail--horizontal--${l}`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},Jr(d?uE:ha,d?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?Jr("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},h=this.container?u():Jr(bB,{onResize:this.handleContainerResize},{default:u});return a?Jr(pr,null,h,c(this.themeClass,this.cssVars)):h}}),Uq=Vq;function qq(e){return Array.isArray(e)?e:[e]}const Kq="STOP";function Yq(e,t){const n=t(e);void 0!==e.children&&n!==Kq&&e.children.forEach((e=>Yq(e,t)))}function Gq(e){return e.children}function Xq(e){return e.key}function Zq(){return!1}function Qq(e){return!0===e.disabled}function Jq(e){var t;return null==e?[]:Array.isArray(e)?e:null!==(t=e.checkedKeys)&&void 0!==t?t:[]}function eK(e){var t;return null==e||Array.isArray(e)?[]:null!==(t=e.indeterminateKeys)&&void 0!==t?t:[]}function tK(e,t){const n=new Set(e);return t.forEach((e=>{n.has(e)||n.add(e)})),Array.from(n)}function nK(e,t){const n=new Set(e);return t.forEach((e=>{n.has(e)&&n.delete(e)})),Array.from(n)}function oK(e){return"group"===(null==e?void 0:e.type)}function rK(e){const t=new Map;return e.forEach(((e,n)=>{t.set(e.key,n)})),e=>{var n;return null!==(n=t.get(e))&&void 0!==n?n:null}}class aK extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function iK(e,t,n,o){const r=sK(t,n,o,!1),a=sK(e,n,o,!0),i=function(e,t){const n=new Set;return e.forEach((e=>{const o=t.treeNodeMap.get(e);if(void 0!==o){let e=o.parent;for(;null!==e&&!e.disabled&&!n.has(e.key);)n.add(e.key),e=e.parent}})),n}(e,n),l=[];return r.forEach((e=>{(a.has(e)||i.has(e))&&l.push(e)})),l.forEach((e=>r.delete(e))),r}function lK(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:a,cascade:i,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!i)return void 0!==o?{checkedKeys:tK(n,o),indeterminateKeys:Array.from(a)}:void 0!==r?{checkedKeys:nK(n,r),indeterminateKeys:Array.from(a)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(a)};const{levelTreeNodeMap:c}=t;let u;u=void 0!==r?iK(r,n,t,d):void 0!==o?function(e,t,n,o){return sK(t.concat(e),n,o,!1)}(o,n,t,d):sK(n,t,d,!1);const h="parent"===s,p="child"===s||l,f=u,m=new Set;for(let v=Math.max.apply(null,Array.from(c.keys()));v>=0;v-=1){const e=0===v,t=c.get(v);for(const n of t){if(n.isLeaf)continue;const{key:t,shallowLoaded:o}=n;if(p&&o&&n.children.forEach((e=>{!e.disabled&&!e.isLeaf&&e.shallowLoaded&&f.has(e.key)&&f.delete(e.key)})),n.disabled||!o)continue;let r=!0,a=!1,i=!0;for(const e of n.children){const t=e.key;if(!e.disabled)if(i&&(i=!1),f.has(t))a=!0;else{if(m.has(t)){a=!0,r=!1;break}if(r=!1,a)break}}r&&!i?(h&&n.children.forEach((e=>{!e.disabled&&f.has(e.key)&&f.delete(e.key)})),f.add(t)):a&&m.add(t),e&&p&&f.has(t)&&f.delete(t)}}return{checkedKeys:Array.from(f),indeterminateKeys:Array.from(m)}}function sK(e,t,n,o){const{treeNodeMap:r,getChildren:a}=t,i=new Set,l=new Set(e);return e.forEach((e=>{const t=r.get(e);void 0!==t&&Yq(t,(e=>{if(e.disabled)return Kq;const{key:t}=e;if(!i.has(t)&&(i.add(t),l.add(t),function(e,t){return!1===e.isLeaf&&!Array.isArray(t(e))}(e.rawNode,a))){if(o)return Kq;if(!n)throw new aK}}))})),l}function dK(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function cK(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r="prev"===t?uK:dK,a={reverse:"prev"===t};let i=!1,l=null;return function t(s){if(null!==s){if(s===e)if(i){if(!e.disabled&&!e.isGroup)return void(l=e)}else i=!0;else if((!s.disabled||o)&&!s.ignored&&!s.isGroup)return void(l=s);if(s.isGroup){const e=hK(s,a);null!==e?l=e:t(r(s,n))}else{const e=r(s,!1);if(null!==e)t(e);else{const e=function(e){return e.parent}(s);(null==e?void 0:e.isGroup)?t(r(e,n)):n&&t(r(s,!0))}}}}(e),l}function uK(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:0===r?null:n[r-1]}function hK(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:e}=o,r=n?-1:e,a=n?-1:1;for(let i=n?e-1:0;i!==r;i+=a){const e=o[i];if(!e.disabled&&!e.ignored){if(!e.isGroup)return e;{const n=hK(e,t);if(null!==n)return n}}}}return null}const pK={getChild(){return this.ignored?null:hK(this)},getParent(){const{parent:e}=this;return(null==e?void 0:e.isGroup)?e.getParent():e},getNext(e={}){return cK(this,"next",e)},getPrev(e={}){return cK(this,"prev",e)}};function fK(e,t){const n=t?new Set(t):void 0,o=[];return function e(t){t.forEach((t=>{o.push(t),t.isLeaf||!t.children||t.ignored||(t.isGroup||void 0===n||n.has(t.key))&&e(t.children)}))}(e),o}function mK(e,t,n,o,r,a=null,i=0){const l=[];return e.forEach(((s,d)=>{var c;const u=Object.create(o);if(u.rawNode=s,u.siblings=l,u.level=i,u.index=d,u.isFirstChild=0===d,u.isLastChild=d+1===e.length,u.parent=a,!u.ignored){const e=r(s);Array.isArray(e)&&(u.children=mK(e,t,n,o,r,u,i+1))}l.push(u),t.set(u.key,u),n.has(i)||n.set(i,[]),null===(c=n.get(i))||void 0===c||c.push(u)})),l}function vK(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:a=Qq,getIgnored:i=Zq,getIsGroup:l=oK,getKey:s=Xq}=t,d=null!==(n=t.getChildren)&&void 0!==n?n:Gq,c=t.ignoreEmptyChildren?e=>{const t=d(e);return Array.isArray(t)?t.length?t:null:t}:d,u=Object.assign({get key(){return s(this.rawNode)},get disabled(){return a(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return function(e,t){const{isLeaf:n}=e;return void 0!==n?n:!t(e)}(this.rawNode,c)},get shallowLoaded(){return function(e,t){const{isLeaf:n}=e;return!(!1===n&&!Array.isArray(t(e)))}(this.rawNode,c)},get ignored(){return i(this.rawNode)},contains(e){return function(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}(this,e)}},pK),h=mK(e,o,r,u,c);function p(e){if(null==e)return null;const t=o.get(e);return t&&!t.ignored?t:null}const f={treeNodes:h,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:c,getFlattenedNodes:e=>fK(h,e),getNode:function(e){if(null==e)return null;const t=o.get(e);return!t||t.isGroup||t.ignored?null:t},getPrev:function(e,t){const n=p(e);return n?n.getPrev(t):null},getNext:function(e,t){const n=p(e);return n?n.getNext(t):null},getParent:function(e){const t=p(e);return t?t.getParent():null},getChild:function(e){const t=p(e);return t?t.getChild():null},getFirstAvailableNode:()=>function(e){if(0===e.length)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}(h),getPath:(e,t={})=>function(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const a=o.treeNodeMap;let i=null==e?null:null!==(r=a.get(e))&&void 0!==r?r:null;const l={keyPath:[],treeNodePath:[],treeNode:i};if(null==i?void 0:i.ignored)return l.treeNode=null,l;for(;i;)i.ignored||!t&&i.isGroup||l.treeNodePath.push(i),i=i.parent;return l.treeNodePath.reverse(),n||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map((e=>e.key)),l}(e,t,f),getCheckedKeys(e,t={}){const{cascade:n=!0,leafOnly:o=!1,checkStrategy:r="all",allowNotLoaded:a=!1}=t;return lK({checkedKeys:Jq(e),indeterminateKeys:eK(e),cascade:n,leafOnly:o,checkStrategy:r,allowNotLoaded:a},f)},check(e,t,n={}){const{cascade:o=!0,leafOnly:r=!1,checkStrategy:a="all",allowNotLoaded:i=!1}=n;return lK({checkedKeys:Jq(t),indeterminateKeys:eK(t),keysToCheck:null==e?[]:qq(e),cascade:o,leafOnly:r,checkStrategy:a,allowNotLoaded:i},f)},uncheck(e,t,n={}){const{cascade:o=!0,leafOnly:r=!1,checkStrategy:a="all",allowNotLoaded:i=!1}=n;return lK({checkedKeys:Jq(t),indeterminateKeys:eK(t),keysToUncheck:null==e?[]:qq(e),cascade:o,leafOnly:r,checkStrategy:a,allowNotLoaded:i},f)},getNonLeafKeys:(e={})=>function(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?e=>{e.isLeaf||(o.push(e.key),a(e.children))}:e=>{e.isLeaf||(e.isGroup||o.push(e.key),a(e.children))};function a(e){e.forEach(r)}return a(e),o}(h,e)};return f}const gK={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function bK(e){const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeTiny:r,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:l,fontSizeHuge:s}=e;return Object.assign(Object.assign({},gK),{fontSizeTiny:r,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:l,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})}const yK={name:"Empty",common:Eq,self:bK},_K={name:"Empty",common:KU,self:bK},xK=LA("empty","\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--n-font-size);\n",[jA("icon","\n width: var(--n-icon-size);\n height: var(--n-icon-size);\n font-size: var(--n-icon-size);\n line-height: var(--n-icon-size);\n color: var(--n-icon-color);\n transition:\n color .3s var(--n-bezier);\n ",[BA("+",[jA("description","\n margin-top: 8px;\n ")])]),jA("description","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),jA("extra","\n text-align: center;\n transition: color .3s var(--n-bezier);\n margin-top: 12px;\n color: var(--n-extra-text-color);\n ")]),CK=$n({name:"Empty",props:Object.assign(Object.assign({},HW.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedComponentPropsRef:o}=fE(e),r=HW("Empty","-empty",xK,yK,e,t),{localeRef:a}=AW("Empty"),i=Qr((()=>{var t,n,r;return null!==(t=e.description)&&void 0!==t?t:null===(r=null===(n=null==o?void 0:o.value)||void 0===n?void 0:n.Empty)||void 0===r?void 0:r.description})),l=Qr((()=>{var e,t;return(null===(t=null===(e=null==o?void 0:o.value)||void 0===e?void 0:e.Empty)||void 0===t?void 0:t.renderIcon)||(()=>Jr(iV,null))})),s=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{[KA("iconSize",t)]:o,[KA("fontSize",t)]:a,textColor:i,iconColor:l,extraTextColor:s}}=r.value;return{"--n-icon-size":o,"--n-font-size":a,"--n-bezier":n,"--n-text-color":i,"--n-icon-color":l,"--n-extra-text-color":s}})),d=n?vE("empty",Qr((()=>{let t="";const{size:n}=e;return t+=n[0],t})),s,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:l,localizedDescription:Qr((()=>i.value||a.value.description)),cssVars:n?void 0:s,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return null==n||n(),Jr("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?Jr("div",{class:`${t}-empty__icon`},e.icon?e.icon():Jr(VW,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?Jr("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?Jr("div",{class:`${t}-empty__extra`},e.extra()):null)}}),wK={height:"calc(var(--n-option-height) * 7.6)",paddingTiny:"4px 0",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingTiny:"0 12px",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"};function SK(e){const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:a,primaryColorPressed:i,textColorDisabled:l,primaryColor:s,opacityDisabled:d,hoverColor:c,fontSizeTiny:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:f,fontSizeHuge:m,heightTiny:v,heightSmall:g,heightMedium:b,heightLarge:y,heightHuge:_}=e;return Object.assign(Object.assign({},wK),{optionFontSizeTiny:u,optionFontSizeSmall:h,optionFontSizeMedium:p,optionFontSizeLarge:f,optionFontSizeHuge:m,optionHeightTiny:v,optionHeightSmall:g,optionHeightMedium:b,optionHeightLarge:y,optionHeightHuge:_,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:a,optionTextColorPressed:i,optionTextColorDisabled:l,optionTextColorActive:s,optionOpacityDisabled:d,optionCheckColor:s,optionColorPending:c,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:c,actionTextColor:a,loadingColor:s})}const kK={name:"InternalSelectMenu",common:Eq,peers:{Scrollbar:Nq,Empty:yK},self:SK},PK={name:"InternalSelectMenu",common:KU,peers:{Scrollbar:Hq,Empty:_K},self:SK},TK=$n({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=Ro(FD);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,a=null==o?void 0:o(r),i=t?t(r,!1):aE(r[this.labelField],r,!1),l=Jr("div",Object.assign({},a,{class:[`${e}-base-select-group-header`,null==a?void 0:a.class]}),i);return r.render?r.render({node:l,option:r}):n?n({node:l,option:r,selected:!1}):l}});const RK=$n({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:a,renderOptionRef:i,labelFieldRef:l,valueFieldRef:s,showCheckmarkRef:d,nodePropsRef:c,handleOptionClick:u,handleOptionMouseEnter:h}=Ro(FD),p=oD((()=>{const{value:t}=n;return!!t&&e.tmNode.key===t.key}));return{multiple:o,isGrouped:oD((()=>{const{tmNode:t}=e,{parent:n}=t;return n&&"group"===n.rawNode.type})),showCheckmark:d,nodeProps:c,isPending:p,isSelected:oD((()=>{const{value:n}=t,{value:a}=o;if(null===n)return!1;const i=e.tmNode.rawNode[s.value];if(a){const{value:e}=r;return e.has(i)}return n===i})),labelField:l,renderLabel:a,renderOption:i,handleMouseMove:function(t){const{tmNode:n}=e,{value:o}=p;n.disabled||o||h(t,n)},handleMouseEnter:function(t){const{tmNode:n}=e;n.disabled||h(t,n)},handleClick:function(t){const{tmNode:n}=e;n.disabled||u(t,n)}}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:a,nodeProps:i,renderOption:l,renderLabel:s,handleClick:d,handleMouseEnter:c,handleMouseMove:u}=this,h=function(e,t){return Jr(ha,{name:"fade-in-scale-up-transition"},{default:()=>e?Jr(VW,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>Jr(JW)}):null})}(n,e),p=s?[s(t,n),a&&h]:[aE(t[this.labelField],t,n),a&&h],f=null==i?void 0:i(t),m=Jr("div",Object.assign({},f,{class:[`${e}-base-select-option`,t.class,null==f?void 0:f.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:a}],style:[(null==f?void 0:f.style)||"",t.style||""],onClick:oE([d,null==f?void 0:f.onClick]),onMouseenter:oE([c,null==f?void 0:f.onMouseenter]),onMousemove:oE([u,null==f?void 0:f.onMousemove])}),Jr("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:m,option:t,selected:n}):l?l({node:m,option:t,selected:n}):m}}),{cubicBezierEaseIn:FK,cubicBezierEaseOut:zK}=IW;function MK({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[BA("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${FK}, transform ${t} ${FK} ${r&&`,${r}`}`}),BA("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${zK}, transform ${t} ${zK} ${r&&`,${r}`}`}),BA("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),BA("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const $K=LA("base-select-menu","\n line-height: 1.5;\n outline: none;\n z-index: 0;\n position: relative;\n border-radius: var(--n-border-radius);\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n background-color: var(--n-color);\n",[LA("scrollbar","\n max-height: var(--n-height);\n "),LA("virtual-list","\n max-height: var(--n-height);\n "),LA("base-select-option","\n min-height: var(--n-option-height);\n font-size: var(--n-option-font-size);\n display: flex;\n align-items: center;\n ",[jA("content","\n z-index: 1;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n ")]),LA("base-select-group-header","\n min-height: var(--n-option-height);\n font-size: .93em;\n display: flex;\n align-items: center;\n "),LA("base-select-menu-option-wrapper","\n position: relative;\n width: 100%;\n "),jA("loading, empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),jA("loading","\n color: var(--n-loading-color);\n font-size: var(--n-loading-size);\n "),jA("header","\n padding: 8px var(--n-option-padding-left);\n font-size: var(--n-option-font-size);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),jA("action","\n padding: 8px var(--n-option-padding-left);\n font-size: var(--n-option-font-size);\n transition: \n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n border-top: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),LA("base-select-group-header","\n position: relative;\n cursor: default;\n padding: var(--n-option-padding);\n color: var(--n-group-header-text-color);\n "),LA("base-select-option","\n cursor: pointer;\n position: relative;\n padding: var(--n-option-padding);\n transition:\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n box-sizing: border-box;\n color: var(--n-option-text-color);\n opacity: 1;\n ",[NA("show-checkmark","\n padding-right: calc(var(--n-option-padding-right) + 20px);\n "),BA("&::before",'\n content: "";\n position: absolute;\n left: 4px;\n right: 4px;\n top: 0;\n bottom: 0;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n '),BA("&:active","\n color: var(--n-option-text-color-pressed);\n "),NA("grouped","\n padding-left: calc(var(--n-option-padding-left) * 1.5);\n "),NA("pending",[BA("&::before","\n background-color: var(--n-option-color-pending);\n ")]),NA("selected","\n color: var(--n-option-text-color-active);\n ",[BA("&::before","\n background-color: var(--n-option-color-active);\n "),NA("pending",[BA("&::before","\n background-color: var(--n-option-color-active-pending);\n ")])]),NA("disabled","\n cursor: not-allowed;\n ",[HA("selected","\n color: var(--n-option-text-color-disabled);\n "),NA("selected","\n opacity: var(--n-option-opacity-disabled);\n ")]),jA("check","\n font-size: 16px;\n position: absolute;\n right: calc(var(--n-option-padding-right) - 4px);\n top: calc(50% - 7px);\n color: var(--n-option-check-color);\n transition: color .3s var(--n-bezier);\n ",[MK({enterScale:"0.5"})])])]),AK=$n({name:"InternalSelectMenu",props:Object.assign(Object.assign({},HW.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=DW("InternalSelectMenu",n,t),r=HW("InternalSelectMenu","-internal-select-menu",$K,kK,e,Ft(e,"clsPrefix")),a=vt(null),i=vt(null),l=vt(null),s=Qr((()=>e.treeMate.getFlattenedNodes())),d=Qr((()=>rK(s.value))),c=vt(null);function u(){const{value:t}=c;t&&!e.treeMate.getNode(t.key)&&(c.value=null)}let h;er((()=>e.show),(t=>{t?h=er((()=>e.treeMate),(()=>{e.resetMenuOnOptionsChange?(e.autoPending?function(){const{treeMate:t}=e;let n=null;const{value:o}=e;null===o?n=t.getFirstAvailableNode():(n=e.multiple?t.getNode((o||[])[(o||[]).length-1]):t.getNode(o),n&&!n.disabled||(n=t.getFirstAvailableNode())),b(n||null)}():u(),Kt(y)):u()}),{immediate:!0}):null==h||h()}),{immediate:!0}),Xn((()=>{null==h||h()}));const p=Qr((()=>tO(r.value.self[KA("optionHeight",e.size)]))),f=Qr((()=>oO(r.value.self[KA("padding",e.size)]))),m=Qr((()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set)),v=Qr((()=>{const e=s.value;return e&&0===e.length}));function g(t){const{onScroll:n}=e;n&&n(t)}function b(e,t=!1){c.value=e,t&&y()}function y(){var t,n;const o=c.value;if(!o)return;const r=d.value(o.key);null!==r&&(e.virtualScroll?null===(t=i.value)||void 0===t||t.scrollTo({index:r}):null===(n=l.value)||void 0===n||n.scrollTo({index:r,elSize:p.value}))}To(FD,{handleOptionMouseEnter:function(e,t){t.disabled||b(t,!1)},handleOptionClick:function(t,n){n.disabled||function(t){const{onToggle:n}=e;n&&n(t)}(n)},valueSetRef:m,pendingTmNodeRef:c,nodePropsRef:Ft(e,"nodeProps"),showCheckmarkRef:Ft(e,"showCheckmark"),multipleRef:Ft(e,"multiple"),valueRef:Ft(e,"value"),renderLabelRef:Ft(e,"renderLabel"),renderOptionRef:Ft(e,"renderOption"),labelFieldRef:Ft(e,"labelField"),valueFieldRef:Ft(e,"valueField")}),To(zD,a),Kn((()=>{const{value:e}=l;e&&e.sync()}));const _=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{height:o,borderRadius:a,color:i,groupHeaderTextColor:l,actionDividerColor:s,optionTextColorPressed:d,optionTextColor:c,optionTextColorDisabled:u,optionTextColorActive:h,optionOpacityDisabled:p,optionCheckColor:f,actionTextColor:m,optionColorPending:v,optionColorActive:g,loadingColor:b,loadingSize:y,optionColorActivePending:_,[KA("optionFontSize",t)]:x,[KA("optionHeight",t)]:C,[KA("optionPadding",t)]:w}}=r.value;return{"--n-height":o,"--n-action-divider-color":s,"--n-action-text-color":m,"--n-bezier":n,"--n-border-radius":a,"--n-color":i,"--n-option-font-size":x,"--n-group-header-text-color":l,"--n-option-check-color":f,"--n-option-color-pending":v,"--n-option-color-active":g,"--n-option-color-active-pending":_,"--n-option-height":C,"--n-option-opacity-disabled":p,"--n-option-text-color":c,"--n-option-text-color-active":h,"--n-option-text-color-disabled":u,"--n-option-text-color-pressed":d,"--n-option-padding":w,"--n-option-padding-left":oO(w,"left"),"--n-option-padding-right":oO(w,"right"),"--n-loading-color":b,"--n-loading-size":y}})),{inlineThemeDisabled:x}=e,C=x?vE("internal-select-menu",Qr((()=>e.size[0])),_,e):void 0,w={selfRef:a,next:function(){const{value:e}=c;e&&b(e.getNext({loop:!0}),!0)},prev:function(){const{value:e}=c;e&&b(e.getPrev({loop:!0}),!0)},getPendingTmNode:function(){const{value:e}=c;return e||null}};return DB(a,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:i,scrollbarRef:l,itemSize:p,padding:f,flattenedNodes:s,empty:v,virtualListContainer(){const{value:e}=i;return null==e?void 0:e.listElRef},virtualListContent(){const{value:e}=i;return null==e?void 0:e.itemsElRef},doScroll:g,handleFocusin:function(t){var n,o;(null===(n=a.value)||void 0===n?void 0:n.contains(t.target))&&(null===(o=e.onFocus)||void 0===o||o.call(e,t))},handleFocusout:function(t){var n,o;(null===(n=a.value)||void 0===n?void 0:n.contains(t.relatedTarget))||null===(o=e.onBlur)||void 0===o||o.call(e,t)},handleKeyUp:function(t){var n;QA(t,"action")||null===(n=e.onKeyup)||void 0===n||n.call(e,t)},handleKeyDown:function(t){var n;QA(t,"action")||null===(n=e.onKeydown)||void 0===n||n.call(e,t)},handleMouseDown:function(t){var n;null===(n=e.onMousedown)||void 0===n||n.call(e,t),e.focusable||t.preventDefault()},handleVirtualListResize:function(){var e;null===(e=l.value)||void 0===e||e.sync()},handleVirtualListScroll:function(e){var t;null===(t=l.value)||void 0===t||t.sync(),g(e)},cssVars:x?void 0:_,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender},w)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:a}=this;return null==a||a(),Jr("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},dE(e.header,(e=>e&&Jr("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},e))),this.loading?Jr("div",{class:`${n}-base-select-menu__loading`},Jr(NV,{clsPrefix:n,strokeWidth:20})):this.empty?Jr("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},lE(e.empty,(()=>[Jr(CK,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty,size:this.size})]))):Jr(Vq,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?Jr(kB,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:e})=>e.isGroup?Jr(TK,{key:e.key,clsPrefix:n,tmNode:e}):e.ignored?null:Jr(RK,{clsPrefix:n,key:e.key,tmNode:e})}):Jr("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map((e=>e.isGroup?Jr(TK,{key:e.key,clsPrefix:n,tmNode:e}):Jr(RK,{clsPrefix:n,key:e.key,tmNode:e}))))}),dE(e.action,(e=>e&&[Jr("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},e),Jr(BV,{onFocus:this.onTabOut,key:"focus-detector"})])))}}),OK={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function DK(e){const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:a,dividerColor:i}=e;return Object.assign(Object.assign({},OK),{fontSize:a,borderRadius:r,color:n,dividerColor:i,textColor:o,boxShadow:t})}const IK={name:"Popover",common:Eq,self:DK},BK={name:"Popover",common:KU,self:DK},EK={top:"bottom",bottom:"top",left:"right",right:"left"},LK="var(--n-arrow-height) * 1.414",jK=BA([LA("popover","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n position: relative;\n font-size: var(--n-font-size);\n color: var(--n-text-color);\n box-shadow: var(--n-box-shadow);\n word-break: break-word;\n ",[BA(">",[LA("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),HA("raw","\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n ",[HA("scrollable",[HA("show-header-or-footer","padding: var(--n-padding);")])]),jA("header","\n padding: var(--n-padding);\n border-bottom: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),jA("footer","\n padding: var(--n-padding);\n border-top: 1px solid var(--n-divider-color);\n transition: border-color .3s var(--n-bezier);\n "),NA("scrollable, show-header-or-footer",[jA("content","\n padding: var(--n-padding);\n ")])]),LA("popover-shared","\n transform-origin: inherit;\n ",[LA("popover-arrow-wrapper","\n position: absolute;\n overflow: hidden;\n pointer-events: none;\n ",[LA("popover-arrow",`\n transition: background-color .3s var(--n-bezier);\n position: absolute;\n display: block;\n width: calc(${LK});\n height: calc(${LK});\n box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);\n transform: rotate(45deg);\n background-color: var(--n-color);\n pointer-events: all;\n `)]),BA("&.popover-transition-enter-from, &.popover-transition-leave-to","\n opacity: 0;\n transform: scale(.85);\n "),BA("&.popover-transition-enter-to, &.popover-transition-leave-from","\n transform: scale(1);\n opacity: 1;\n "),BA("&.popover-transition-enter-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-out),\n transform .15s var(--n-bezier-ease-out);\n "),BA("&.popover-transition-leave-active","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .15s var(--n-bezier-ease-in),\n transform .15s var(--n-bezier-ease-in);\n ")]),VK("top-start",`\n top: calc(${LK} / -2);\n left: calc(${WK("top-start")} - var(--v-offset-left));\n `),VK("top",`\n top: calc(${LK} / -2);\n transform: translateX(calc(${LK} / -2)) rotate(45deg);\n left: 50%;\n `),VK("top-end",`\n top: calc(${LK} / -2);\n right: calc(${WK("top-end")} + var(--v-offset-left));\n `),VK("bottom-start",`\n bottom: calc(${LK} / -2);\n left: calc(${WK("bottom-start")} - var(--v-offset-left));\n `),VK("bottom",`\n bottom: calc(${LK} / -2);\n transform: translateX(calc(${LK} / -2)) rotate(45deg);\n left: 50%;\n `),VK("bottom-end",`\n bottom: calc(${LK} / -2);\n right: calc(${WK("bottom-end")} + var(--v-offset-left));\n `),VK("left-start",`\n left: calc(${LK} / -2);\n top: calc(${WK("left-start")} - var(--v-offset-top));\n `),VK("left",`\n left: calc(${LK} / -2);\n transform: translateY(calc(${LK} / -2)) rotate(45deg);\n top: 50%;\n `),VK("left-end",`\n left: calc(${LK} / -2);\n bottom: calc(${WK("left-end")} + var(--v-offset-top));\n `),VK("right-start",`\n right: calc(${LK} / -2);\n top: calc(${WK("right-start")} - var(--v-offset-top));\n `),VK("right",`\n right: calc(${LK} / -2);\n transform: translateY(calc(${LK} / -2)) rotate(45deg);\n top: 50%;\n `),VK("right-end",`\n right: calc(${LK} / -2);\n bottom: calc(${WK("right-end")} + var(--v-offset-top));\n `),...(NK={top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},HK=(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map((e=>{const r="end"===e.split("-")[1],a=`calc((var(--v-target-${o}, 0px) - ${LK}) / 2)`,i=WK(e);return BA(`[v-placement="${e}"] >`,[LA("popover-shared",[NA("center-arrow",[LA("popover-arrow",`${t}: calc(max(${a}, ${i}) ${r?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])}))},(YL(NK)?KL:RW)(NK,yW(HK)))]);var NK,HK;function WK(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function VK(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return BA(`[v-placement="${e}"] >`,[LA("popover-shared",`\n margin-${EK[n]}: var(--n-space);\n `,[NA("show-arrow",`\n margin-${EK[n]}: var(--n-space-arrow);\n `),NA("overlap","\n margin: 0;\n "),qA("popover-arrow-wrapper",`\n right: 0;\n left: 0;\n top: 0;\n bottom: 0;\n ${n}: 100%;\n ${EK[n]}: auto;\n ${o}\n `,[LA("popover-arrow",t)])])])}const UK=Object.assign(Object.assign({},HW.props),{to:ID.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function qK({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r}){return Jr("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},Jr("div",{class:[`${r}-popover-arrow`,e],style:t}))}const KK=$n({name:"PopoverBody",inheritAttrs:!1,props:UK,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:a}=fE(e),i=HW("Popover","-popover",jK,IK,e,r),l=vt(null),s=Ro("NPopover"),d=vt(null),c=vt(e.show),u=vt(!1);Jo((()=>{const{show:t}=e;!t||(void 0===HB&&(HB=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),HB)||e.internalDeactivateImmediately||(u.value=!0)}));const h=Qr((()=>{const{trigger:t,onClickoutside:n}=e,o=[],{positionManuallyRef:{value:r}}=s;return r||("click"!==t||n||o.push([sI,y,void 0,{capture:!0}]),"hover"===t&&o.push([iI,b])),n&&o.push([sI,y,void 0,{capture:!0}]),("show"===e.displayDirective||e.animated&&u.value)&&o.push([Ra,e.show]),o})),p=Qr((()=>{const{common:{cubicBezierEaseInOut:e,cubicBezierEaseIn:t,cubicBezierEaseOut:n},self:{space:o,spaceArrow:r,padding:a,fontSize:l,textColor:s,dividerColor:d,color:c,boxShadow:u,borderRadius:h,arrowHeight:p,arrowOffset:f,arrowOffsetVertical:m}}=i.value;return{"--n-box-shadow":u,"--n-bezier":e,"--n-bezier-ease-in":t,"--n-bezier-ease-out":n,"--n-font-size":l,"--n-text-color":s,"--n-color":c,"--n-divider-color":d,"--n-border-radius":h,"--n-arrow-height":p,"--n-arrow-offset":f,"--n-arrow-offset-vertical":m,"--n-padding":a,"--n-space":o,"--n-space-arrow":r}})),f=Qr((()=>{const t="trigger"===e.width?void 0:LB(e.width),n=[];t&&n.push({width:t});const{maxWidth:o,minWidth:r}=e;return o&&n.push({maxWidth:LB(o)}),r&&n.push({maxWidth:LB(r)}),a||n.push(p.value),n})),m=a?vE("popover",void 0,p,e):void 0;function v(t){"hover"===e.trigger&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(t)}function g(t){"hover"===e.trigger&&e.keepAliveOnHover&&s.handleMouseLeave(t)}function b(t){"hover"!==e.trigger||_().contains(JA(t))||s.handleMouseMoveOutside(t)}function y(t){("click"===e.trigger&&!_().contains(JA(t))||e.onClickoutside)&&s.handleClickOutside(t)}function _(){return s.getTriggerElement()}return s.setBodyInstance({syncPosition:function(){var e;null===(e=l.value)||void 0===e||e.syncPosition()}}),Xn((()=>{s.setBodyInstance(null)})),er(Ft(e,"show"),(t=>{e.animated||(c.value=!!t)})),To(OD,d),To(MD,null),To($D,null),{displayed:u,namespace:o,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:ID(e),followerEnabled:c,renderContentNode:function(){if(null==m||m.onRender(),!("show"===e.displayDirective||e.show||e.animated&&u.value))return null;let o;const a=s.internalRenderBodyRef.value,{value:i}=r;if(a)o=a([`${i}-popover-shared`,null==m?void 0:m.themeClass.value,e.overlap&&`${i}-popover-shared--overlap`,e.showArrow&&`${i}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${i}-popover-shared--center-arrow`],d,f.value,v,g);else{const{value:r}=s.extraClassRef,{internalTrapFocus:a}=e,l=!cE(t.header)||!cE(t.footer),c=()=>{var n,o;const r=l?Jr(pr,null,dE(t.header,(t=>t?Jr("div",{class:[`${i}-popover__header`,e.headerClass],style:e.headerStyle},t):null)),dE(t.default,(n=>n?Jr("div",{class:[`${i}-popover__content`,e.contentClass],style:e.contentStyle},t):null)),dE(t.footer,(t=>t?Jr("div",{class:[`${i}-popover__footer`,e.footerClass],style:e.footerStyle},t):null))):e.scrollable?null===(n=t.default)||void 0===n?void 0:n.call(t):Jr("div",{class:[`${i}-popover__content`,e.contentClass],style:e.contentStyle},t);return[e.scrollable?Jr(Uq,{contentClass:l?void 0:`${i}-popover__content ${null!==(o=e.contentClass)&&void 0!==o?o:""}`,contentStyle:l?void 0:e.contentStyle},{default:()=>r}):r,e.showArrow?qK({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:i}):null]};o=Jr("div",Ir({class:[`${i}-popover`,`${i}-popover-shared`,null==m?void 0:m.themeClass.value,r.map((e=>`${i}-${e}`)),{[`${i}-popover--scrollable`]:e.scrollable,[`${i}-popover--show-header-or-footer`]:l,[`${i}-popover--raw`]:e.raw,[`${i}-popover-shared--overlap`]:e.overlap,[`${i}-popover-shared--show-arrow`]:e.showArrow,[`${i}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:d,style:f.value,onKeydown:s.handleKeydown,onMouseenter:v,onMouseleave:g},n),a?Jr(OB,{active:e.show,autoFocus:!0},{default:c}):c())}return on(o,h.value)}}},render(){return Jr(FI,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:"trigger"===this.width?"target":void 0,teleportDisabled:this.adjustedTo===ID.tdkey},{default:()=>this.animated?Jr(ha,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;null===(e=this.internalOnAfterLeave)||void 0===e||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),YK=Object.keys(UK),GK={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};const XK={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:ID.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},ZK=$n({name:"Popover",inheritAttrs:!1,props:Object.assign(Object.assign(Object.assign({},HW.props),XK),{internalOnAfterLeave:Function,internalRenderBody:Function}),slots:Object,__popover__:!0,setup(e){const t=CD(),n=vt(null),o=Qr((()=>e.show)),r=vt(e.defaultShow),a=xD(o,r),i=oD((()=>!e.disabled&&a.value)),l=()=>{if(e.disabled)return!0;const{getDisabled:t}=e;return!!(null==t?void 0:t())},s=()=>!l()&&a.value,d=wD(e,["arrow","showArrow"]),c=Qr((()=>!e.overlap&&d.value));let u=null;const h=vt(null),p=vt(null),f=oD((()=>void 0!==e.x&&void 0!==e.y));function m(t){const{"onUpdate:show":n,onUpdateShow:o,onShow:a,onHide:i}=e;r.value=t,n&&GB(n,t),o&&GB(o,t),t&&a&&GB(a,!0),t&&i&&GB(i,!1)}function v(){const{value:e}=h;e&&(window.clearTimeout(e),h.value=null)}function g(){const{value:e}=p;e&&(window.clearTimeout(e),p.value=null)}function b(){const t=l();if("hover"===e.trigger&&!t){if(g(),null!==h.value)return;if(s())return;const t=()=>{m(!0),h.value=null},{delay:n}=e;0===n?t():h.value=window.setTimeout(t,n)}}function y(){const t=l();if("hover"===e.trigger&&!t){if(v(),null!==p.value)return;if(!s())return;const t=()=>{m(!1),p.value=null},{duration:n}=e;0===n?t():p.value=window.setTimeout(t,n)}}To("NPopover",{getTriggerElement:function(){var e;return null===(e=n.value)||void 0===e?void 0:e.targetRef},handleKeydown:function(t){e.internalTrapFocus&&"Escape"===t.key&&(v(),g(),m(!1))},handleMouseEnter:b,handleMouseLeave:y,handleClickOutside:function(t){var n;s()&&("click"===e.trigger&&(v(),g(),m(!1)),null===(n=e.onClickoutside)||void 0===n||n.call(e,t))},handleMouseMoveOutside:function(){y()},setBodyInstance:function(e){u=e},positionManuallyRef:f,isMountedRef:t,zIndexRef:Ft(e,"zIndex"),extraClassRef:Ft(e,"internalExtraClass"),internalRenderBodyRef:Ft(e,"internalRenderBody")}),Jo((()=>{a.value&&l()&&m(!1)}));return{binderInstRef:n,positionManually:f,mergedShowConsideringDisabledProp:i,uncontrolledShow:r,mergedShowArrow:c,getMergedShow:s,setShow:function(e){r.value=e},handleClick:function(){if("click"===e.trigger&&!l()){v(),g();m(!s())}},handleMouseEnter:b,handleMouseLeave:y,handleFocus:function(){const t=l();if("focus"===e.trigger&&!t){if(s())return;m(!0)}},handleBlur:function(){const t=l();if("focus"===e.trigger&&!t){if(!s())return;m(!1)}},syncPosition:function(){u&&u.syncPosition()}}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(o=function(e,t="default",n){const o=e[t];if(!o)return null;const r=QB(o(n));return 1===r.length?r[0]:null}(n,"trigger"),o)){o=Mr(o),o=o.type===fr?Jr("span",[o]):o;const n={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(null===(e=o.type)||void 0===e?void 0:e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[n,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[n];else{const{internalInheritedEventHandlers:e}=this,r=[n,...e],s={onBlur:e=>{r.forEach((t=>{t.onBlur(e)}))},onFocus:e=>{r.forEach((t=>{t.onFocus(e)}))},onClick:e=>{r.forEach((t=>{t.onClick(e)}))},onMouseenter:e=>{r.forEach((t=>{t.onMouseenter(e)}))},onMouseleave:e=>{r.forEach((t=>{t.onMouseleave(e)}))}};a=o,i=e?"nested":t?"manual":this.trigger,l=s,GK[i].forEach((e=>{a.props?a.props=Object.assign({},a.props):a.props={};const t=a.props[e],n=l[e];a.props[e]=t?(...e)=>{t(...e),n(...e)}:n}))}}var a,i,l;return Jr(oI,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const e=this.getMergedShow();return[this.internalTrapFocus&&e?on(Jr("div",{style:{position:"fixed",top:0,right:0,bottom:0,left:0}}),[[uI,{enabled:e,zIndex:this.zIndex}]]):null,t?null:Jr(rI,null,{default:()=>o}),Jr(KK,tE(this.$props,YK,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:e})),{default:()=>{var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)},header:()=>{var e,t;return null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e)},footer:()=>{var e,t;return null===(t=(e=this.$slots).footer)||void 0===t?void 0:t.call(e)}})]}})}}),QK={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},JK={name:"Tag",common:KU,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:a,successColor:i,warningColor:l,errorColor:s,baseColor:d,borderColor:c,tagColor:u,opacityDisabled:h,closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:g,borderRadiusSmall:b,fontSizeMini:y,fontSizeTiny:_,fontSizeSmall:x,fontSizeMedium:C,heightMini:w,heightTiny:S,heightSmall:k,heightMedium:P,buttonColor2Hover:T,buttonColor2Pressed:R,fontWeightStrong:F}=e;return Object.assign(Object.assign({},QK),{closeBorderRadius:b,heightTiny:w,heightSmall:S,heightMedium:k,heightLarge:P,borderRadius:b,opacityDisabled:h,fontSizeTiny:y,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:C,fontWeightStrong:F,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:T,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${c}`,textColor:t,color:u,colorBordered:"#0000",closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:g,borderPrimary:`1px solid ${DO(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:DO(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:IO(r,{lightness:.7}),closeIconColorHoverPrimary:IO(r,{lightness:.7}),closeIconColorPressedPrimary:IO(r,{lightness:.7}),closeColorHoverPrimary:DO(r,{alpha:.16}),closeColorPressedPrimary:DO(r,{alpha:.12}),borderInfo:`1px solid ${DO(a,{alpha:.3})}`,textColorInfo:a,colorInfo:DO(a,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:IO(a,{alpha:.7}),closeIconColorHoverInfo:IO(a,{alpha:.7}),closeIconColorPressedInfo:IO(a,{alpha:.7}),closeColorHoverInfo:DO(a,{alpha:.16}),closeColorPressedInfo:DO(a,{alpha:.12}),borderSuccess:`1px solid ${DO(i,{alpha:.3})}`,textColorSuccess:i,colorSuccess:DO(i,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:IO(i,{alpha:.7}),closeIconColorHoverSuccess:IO(i,{alpha:.7}),closeIconColorPressedSuccess:IO(i,{alpha:.7}),closeColorHoverSuccess:DO(i,{alpha:.16}),closeColorPressedSuccess:DO(i,{alpha:.12}),borderWarning:`1px solid ${DO(l,{alpha:.3})}`,textColorWarning:l,colorWarning:DO(l,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:IO(l,{alpha:.7}),closeIconColorHoverWarning:IO(l,{alpha:.7}),closeIconColorPressedWarning:IO(l,{alpha:.7}),closeColorHoverWarning:DO(l,{alpha:.16}),closeColorPressedWarning:DO(l,{alpha:.11}),borderError:`1px solid ${DO(s,{alpha:.3})}`,textColorError:s,colorError:DO(s,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:IO(s,{alpha:.7}),closeIconColorHoverError:IO(s,{alpha:.7}),closeIconColorPressedError:IO(s,{alpha:.7}),closeColorHoverError:DO(s,{alpha:.16}),closeColorPressedError:DO(s,{alpha:.12})})}};const eY={name:"Tag",common:Eq,self:function(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:a,successColor:i,warningColor:l,errorColor:s,baseColor:d,borderColor:c,opacityDisabled:u,tagColor:h,closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,borderRadiusSmall:v,fontSizeMini:g,fontSizeTiny:b,fontSizeSmall:y,fontSizeMedium:_,heightMini:x,heightTiny:C,heightSmall:w,heightMedium:S,closeColorHover:k,closeColorPressed:P,buttonColor2Hover:T,buttonColor2Pressed:R,fontWeightStrong:F}=e;return Object.assign(Object.assign({},QK),{closeBorderRadius:v,heightTiny:x,heightSmall:C,heightMedium:w,heightLarge:S,borderRadius:v,opacityDisabled:u,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:y,fontSizeLarge:_,fontWeightStrong:F,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:T,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${c}`,textColor:t,color:h,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:k,closeColorPressed:P,borderPrimary:`1px solid ${DO(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:DO(r,{alpha:.12}),colorBorderedPrimary:DO(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:DO(r,{alpha:.12}),closeColorPressedPrimary:DO(r,{alpha:.18}),borderInfo:`1px solid ${DO(a,{alpha:.3})}`,textColorInfo:a,colorInfo:DO(a,{alpha:.12}),colorBorderedInfo:DO(a,{alpha:.1}),closeIconColorInfo:a,closeIconColorHoverInfo:a,closeIconColorPressedInfo:a,closeColorHoverInfo:DO(a,{alpha:.12}),closeColorPressedInfo:DO(a,{alpha:.18}),borderSuccess:`1px solid ${DO(i,{alpha:.3})}`,textColorSuccess:i,colorSuccess:DO(i,{alpha:.12}),colorBorderedSuccess:DO(i,{alpha:.1}),closeIconColorSuccess:i,closeIconColorHoverSuccess:i,closeIconColorPressedSuccess:i,closeColorHoverSuccess:DO(i,{alpha:.12}),closeColorPressedSuccess:DO(i,{alpha:.18}),borderWarning:`1px solid ${DO(l,{alpha:.35})}`,textColorWarning:l,colorWarning:DO(l,{alpha:.15}),colorBorderedWarning:DO(l,{alpha:.12}),closeIconColorWarning:l,closeIconColorHoverWarning:l,closeIconColorPressedWarning:l,closeColorHoverWarning:DO(l,{alpha:.12}),closeColorPressedWarning:DO(l,{alpha:.18}),borderError:`1px solid ${DO(s,{alpha:.23})}`,textColorError:s,colorError:DO(s,{alpha:.1}),colorBorderedError:DO(s,{alpha:.08}),closeIconColorError:s,closeIconColorHoverError:s,closeIconColorPressedError:s,closeColorHoverError:DO(s,{alpha:.12}),closeColorPressedError:DO(s,{alpha:.18})})}},tY={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},nY=LA("tag","\n --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left);\n white-space: nowrap;\n position: relative;\n box-sizing: border-box;\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex-wrap: nowrap;\n padding: var(--n-padding);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n transition: \n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n line-height: 1;\n height: var(--n-height);\n font-size: var(--n-font-size);\n",[NA("strong","\n font-weight: var(--n-font-weight-strong);\n "),jA("border","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n border: var(--n-border);\n transition: border-color .3s var(--n-bezier);\n "),jA("icon","\n display: flex;\n margin: 0 4px 0 0;\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n font-size: var(--n-avatar-size-override);\n "),jA("avatar","\n display: flex;\n margin: 0 6px 0 0;\n "),jA("close","\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),NA("round","\n padding: 0 calc(var(--n-height) / 3);\n border-radius: calc(var(--n-height) / 2);\n ",[jA("icon","\n margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);\n "),jA("avatar","\n margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);\n "),NA("closable","\n padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);\n ")]),NA("icon, avatar",[NA("round","\n padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2);\n ")]),NA("disabled","\n cursor: not-allowed !important;\n opacity: var(--n-opacity-disabled);\n "),NA("checkable","\n cursor: pointer;\n box-shadow: none;\n color: var(--n-text-color-checkable);\n background-color: var(--n-color-checkable);\n ",[HA("disabled",[BA("&:hover","background-color: var(--n-color-hover-checkable);",[HA("checked","color: var(--n-text-color-hover-checkable);")]),BA("&:active","background-color: var(--n-color-pressed-checkable);",[HA("checked","color: var(--n-text-color-pressed-checkable);")])]),NA("checked","\n color: var(--n-text-color-checked);\n background-color: var(--n-color-checked);\n ",[HA("disabled",[BA("&:hover","background-color: var(--n-color-checked-hover);"),BA("&:active","background-color: var(--n-color-checked-pressed);")])])])]),oY=Object.assign(Object.assign(Object.assign({},HW.props),tY),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),rY=$n({name:"Tag",props:oY,slots:Object,setup(e){const t=vt(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:a}=fE(e),i=HW("Tag","-tag",nY,eY,e,o);To("n-tag",{roundRef:Ft(e,"round")});const l={setTextContent(e){const{value:n}=t;n&&(n.textContent=e)}},s=DW("Tag",a,o),d=Qr((()=>{const{type:t,size:o,color:{color:r,textColor:a}={}}=e,{common:{cubicBezierEaseInOut:l},self:{padding:s,closeMargin:d,borderRadius:c,opacityDisabled:u,textColorCheckable:h,textColorHoverCheckable:p,textColorPressedCheckable:f,textColorChecked:m,colorCheckable:v,colorHoverCheckable:g,colorPressedCheckable:b,colorChecked:y,colorCheckedHover:_,colorCheckedPressed:x,closeBorderRadius:C,fontWeightStrong:w,[KA("colorBordered",t)]:S,[KA("closeSize",o)]:k,[KA("closeIconSize",o)]:P,[KA("fontSize",o)]:T,[KA("height",o)]:R,[KA("color",t)]:F,[KA("textColor",t)]:z,[KA("border",t)]:M,[KA("closeIconColor",t)]:$,[KA("closeIconColorHover",t)]:A,[KA("closeIconColorPressed",t)]:O,[KA("closeColorHover",t)]:D,[KA("closeColorPressed",t)]:I}}=i.value,B=oO(d);return{"--n-font-weight-strong":w,"--n-avatar-size-override":`calc(${R} - 8px)`,"--n-bezier":l,"--n-border-radius":c,"--n-border":M,"--n-close-icon-size":P,"--n-close-color-pressed":I,"--n-close-color-hover":D,"--n-close-border-radius":C,"--n-close-icon-color":$,"--n-close-icon-color-hover":A,"--n-close-icon-color-pressed":O,"--n-close-icon-color-disabled":$,"--n-close-margin-top":B.top,"--n-close-margin-right":B.right,"--n-close-margin-bottom":B.bottom,"--n-close-margin-left":B.left,"--n-close-size":k,"--n-color":r||(n.value?S:F),"--n-color-checkable":v,"--n-color-checked":y,"--n-color-checked-hover":_,"--n-color-checked-pressed":x,"--n-color-hover-checkable":g,"--n-color-pressed-checkable":b,"--n-font-size":T,"--n-height":R,"--n-opacity-disabled":u,"--n-padding":s,"--n-text-color":a||z,"--n-text-color-checkable":h,"--n-text-color-checked":m,"--n-text-color-hover-checkable":p,"--n-text-color-pressed-checkable":f}})),c=r?vE("tag",Qr((()=>{let t="";const{type:o,size:r,color:{color:a,textColor:i}={}}=e;return t+=o[0],t+=r[0],a&&(t+=`a${IB(a)}`),i&&(t+=`b${IB(i)}`),n.value&&(t+="c"),t})),d,e):void 0;return Object.assign(Object.assign({},l),{rtlEnabled:s,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:function(){if(!e.disabled&&e.checkable){const{checked:t,onCheckedChange:n,onUpdateChecked:o,"onUpdate:checked":r}=e;o&&o(!t),r&&r(!t),n&&n(!t)}},handleCloseClick:function(t){if(e.triggerClickOnClose||t.stopPropagation(),!e.disabled){const{onClose:n}=e;n&&GB(n,t)}},cssVars:r?void 0:d,themeClass:null==c?void 0:c.themeClass,onRender:null==c?void 0:c.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:a}={},round:i,onRender:l,$slots:s}=this;null==l||l();const d=dE(s.avatar,(e=>e&&Jr("div",{class:`${n}-tag__avatar`},e))),c=dE(s.icon,(e=>e&&Jr("div",{class:`${n}-tag__icon`},e)));return Jr("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:i,[`${n}-tag--avatar`]:d,[`${n}-tag--icon`]:c,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},c||d,Jr("span",{class:`${n}-tag__content`,ref:"contentRef"},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)),!this.checkable&&r?Jr(DV,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:i,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?Jr("div",{class:`${n}-tag__border`,style:{borderColor:a}}):null)}}),aY=$n({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup:(e,{slots:t})=>()=>{const{clsPrefix:n}=e;return Jr(NV,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?Jr(AV,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>Jr(VW,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>lE(t.default,(()=>[Jr(eV,null)]))})}):null})}}),iY={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},lY={name:"InternalSelection",common:KU,peers:{Popover:BK},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:a,primaryColor:i,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:c,errorColorHover:u,iconColor:h,iconColorDisabled:p,clearColor:f,clearColorHover:m,clearColorPressed:v,placeholderColor:g,placeholderColorDisabled:b,fontSizeTiny:y,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:C,heightTiny:w,heightSmall:S,heightMedium:k,heightLarge:P,fontWeight:T}=e;return Object.assign(Object.assign({},iY),{fontWeight:T,fontSizeTiny:y,fontSizeSmall:_,fontSizeMedium:x,fontSizeLarge:C,heightTiny:w,heightSmall:S,heightMedium:k,heightLarge:P,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:g,placeholderColorDisabled:b,color:r,colorDisabled:a,colorActive:DO(i,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${l}`,borderActive:`1px solid ${i}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${DO(i,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${DO(i,{alpha:.4})}`,caretColor:i,arrowColor:h,arrowColorDisabled:p,loadingColor:i,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${DO(s,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${DO(s,{alpha:.4})}`,colorActiveWarning:DO(s,{alpha:.1}),caretColorWarning:s,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${DO(c,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${DO(c,{alpha:.4})}`,colorActiveError:DO(c,{alpha:.1}),caretColorError:c,clearColor:f,clearColorHover:m,clearColorPressed:v})}};const sY={name:"InternalSelection",common:Eq,peers:{Popover:IK},self:function(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:a,primaryColor:i,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:c,errorColorHover:u,borderColor:h,iconColor:p,iconColorDisabled:f,clearColor:m,clearColorHover:v,clearColorPressed:g,placeholderColor:b,placeholderColorDisabled:y,fontSizeTiny:_,fontSizeSmall:x,fontSizeMedium:C,fontSizeLarge:w,heightTiny:S,heightSmall:k,heightMedium:P,heightLarge:T,fontWeight:R}=e;return Object.assign(Object.assign({},iY),{fontSizeTiny:_,fontSizeSmall:x,fontSizeMedium:C,fontSizeLarge:w,heightTiny:S,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:t,fontWeight:R,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:y,color:r,colorDisabled:a,colorActive:r,border:`1px solid ${h}`,borderHover:`1px solid ${l}`,borderActive:`1px solid ${i}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${DO(i,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${DO(i,{alpha:.2})}`,caretColor:i,arrowColor:p,arrowColorDisabled:f,loadingColor:i,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${DO(s,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${DO(s,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:s,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${c}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${DO(c,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${DO(c,{alpha:.2})}`,colorActiveError:r,caretColorError:c,clearColor:m,clearColorHover:v,clearColorPressed:g})}},dY=BA([LA("base-selection","\n --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left);\n --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left);\n position: relative;\n z-index: auto;\n box-shadow: none;\n width: 100%;\n max-width: 100%;\n display: inline-block;\n vertical-align: bottom;\n border-radius: var(--n-border-radius);\n min-height: var(--n-height);\n line-height: 1.5;\n font-size: var(--n-font-size);\n ",[LA("base-loading","\n color: var(--n-loading-color);\n "),LA("base-selection-tags","min-height: var(--n-height);"),jA("border, state-border","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border: var(--n-border);\n border-radius: inherit;\n transition:\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),jA("state-border","\n z-index: 1;\n border-color: #0000;\n "),LA("base-suffix","\n cursor: pointer;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 10px;\n ",[jA("arrow","\n font-size: var(--n-arrow-size);\n color: var(--n-arrow-color);\n transition: color .3s var(--n-bezier);\n ")]),LA("base-selection-overlay","\n display: flex;\n align-items: center;\n white-space: nowrap;\n pointer-events: none;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--n-padding-single);\n transition: color .3s var(--n-bezier);\n ",[jA("wrapper","\n flex-basis: 0;\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n ")]),LA("base-selection-placeholder","\n color: var(--n-placeholder-color);\n ",[jA("inner","\n max-width: 100%;\n overflow: hidden;\n ")]),LA("base-selection-tags","\n cursor: pointer;\n outline: none;\n box-sizing: border-box;\n position: relative;\n z-index: auto;\n display: flex;\n padding: var(--n-padding-multiple);\n flex-wrap: wrap;\n align-items: center;\n width: 100%;\n vertical-align: bottom;\n background-color: var(--n-color);\n border-radius: inherit;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),LA("base-selection-label","\n height: var(--n-height);\n display: inline-flex;\n width: 100%;\n vertical-align: bottom;\n cursor: pointer;\n outline: none;\n z-index: auto;\n box-sizing: border-box;\n position: relative;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n border-radius: inherit;\n background-color: var(--n-color);\n align-items: center;\n ",[LA("base-selection-input","\n font-size: inherit;\n line-height: inherit;\n outline: none;\n cursor: pointer;\n box-sizing: border-box;\n border:none;\n width: 100%;\n padding: var(--n-padding-single);\n background-color: #0000;\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n caret-color: var(--n-caret-color);\n ",[jA("content","\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap; \n ")]),jA("render-label","\n color: var(--n-text-color);\n ")]),HA("disabled",[BA("&:hover",[jA("state-border","\n box-shadow: var(--n-box-shadow-hover);\n border: var(--n-border-hover);\n ")]),NA("focus",[jA("state-border","\n box-shadow: var(--n-box-shadow-focus);\n border: var(--n-border-focus);\n ")]),NA("active",[jA("state-border","\n box-shadow: var(--n-box-shadow-active);\n border: var(--n-border-active);\n "),LA("base-selection-label","background-color: var(--n-color-active);"),LA("base-selection-tags","background-color: var(--n-color-active);")])]),NA("disabled","cursor: not-allowed;",[jA("arrow","\n color: var(--n-arrow-color-disabled);\n "),LA("base-selection-label","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n ",[LA("base-selection-input","\n cursor: not-allowed;\n color: var(--n-text-color-disabled);\n "),jA("render-label","\n color: var(--n-text-color-disabled);\n ")]),LA("base-selection-tags","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n "),LA("base-selection-placeholder","\n cursor: not-allowed;\n color: var(--n-placeholder-color-disabled);\n ")]),LA("base-selection-input-tag","\n height: calc(var(--n-height) - 6px);\n line-height: calc(var(--n-height) - 6px);\n outline: none;\n display: none;\n position: relative;\n margin-bottom: 3px;\n max-width: 100%;\n vertical-align: bottom;\n ",[jA("input","\n font-size: inherit;\n font-family: inherit;\n min-width: 1px;\n padding: 0;\n background-color: #0000;\n outline: none;\n border: none;\n max-width: 100%;\n overflow: hidden;\n width: 1em;\n line-height: inherit;\n cursor: pointer;\n color: var(--n-text-color);\n caret-color: var(--n-caret-color);\n "),jA("mirror","\n position: absolute;\n left: 0;\n top: 0;\n white-space: pre;\n visibility: hidden;\n user-select: none;\n -webkit-user-select: none;\n opacity: 0;\n ")]),["warning","error"].map((e=>NA(`${e}-status`,[jA("state-border",`border: var(--n-border-${e});`),HA("disabled",[BA("&:hover",[jA("state-border",`\n box-shadow: var(--n-box-shadow-hover-${e});\n border: var(--n-border-hover-${e});\n `)]),NA("active",[jA("state-border",`\n box-shadow: var(--n-box-shadow-active-${e});\n border: var(--n-border-active-${e});\n `),LA("base-selection-label",`background-color: var(--n-color-active-${e});`),LA("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),NA("focus",[jA("state-border",`\n box-shadow: var(--n-box-shadow-focus-${e});\n border: var(--n-border-focus-${e});\n `)])])])))]),LA("base-selection-popover","\n margin-bottom: -3px;\n display: flex;\n flex-wrap: wrap;\n margin-right: -8px;\n "),LA("base-selection-tag-wrapper","\n max-width: 100%;\n display: inline-flex;\n padding: 0 7px 3px 0;\n ",[BA("&:last-child","padding-right: 0;"),LA("tag","\n font-size: 14px;\n max-width: 100%;\n ",[jA("content","\n line-height: 1.25;\n text-overflow: ellipsis;\n overflow: hidden;\n ")])])]),cY=$n({name:"InternalSelection",props:Object.assign(Object.assign({},HW.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=DW("InternalSelection",n,t),r=vt(null),a=vt(null),i=vt(null),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt(null),h=vt(null),p=vt(null),f=vt(!1),m=vt(!1),v=vt(!1),g=HW("InternalSelection","-internal-selection",dY,sY,e,Ft(e,"clsPrefix")),b=Qr((()=>e.clearable&&!e.disabled&&(v.value||e.active))),y=Qr((()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):aE(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder)),_=Qr((()=>{const t=e.selectedOption;if(t)return t[e.labelField]})),x=Qr((()=>e.multiple?!(!Array.isArray(e.selectedOptions)||!e.selectedOptions.length):null!==e.selectedOption));function C(){var t;const{value:n}=r;if(n){const{value:o}=a;o&&(o.style.width=`${n.offsetWidth}px`,"responsive"!==e.maxTagCount&&(null===(t=h.value)||void 0===t||t.sync({showAllItemsBeforeCalculate:!1})))}}function w(t){const{onPatternInput:n}=e;n&&n(t)}function S(t){!function(t){const{onDeleteOption:n}=e;n&&n(t)}(t)}er(Ft(e,"active"),(e=>{e||function(){const{value:e}=p;e&&(e.style.display="none")}()})),er(Ft(e,"pattern"),(()=>{e.multiple&&Kt(C)}));const k=vt(!1);let P=null;let T=null;function R(){null!==T&&window.clearTimeout(T)}er(x,(e=>{e||(f.value=!1)})),Kn((()=>{Jo((()=>{const t=d.value;t&&(e.disabled?t.removeAttribute("tabindex"):t.tabIndex=m.value?-1:0)}))})),DB(i,e.onResize);const{inlineThemeDisabled:F}=e,z=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{fontWeight:o,borderRadius:r,color:a,placeholderColor:i,textColor:l,paddingSingle:s,paddingMultiple:d,caretColor:c,colorDisabled:u,textColorDisabled:h,placeholderColorDisabled:p,colorActive:f,boxShadowFocus:m,boxShadowActive:v,boxShadowHover:b,border:y,borderFocus:_,borderHover:x,borderActive:C,arrowColor:w,arrowColorDisabled:S,loadingColor:k,colorActiveWarning:P,boxShadowFocusWarning:T,boxShadowActiveWarning:R,boxShadowHoverWarning:F,borderWarning:z,borderFocusWarning:M,borderHoverWarning:$,borderActiveWarning:A,colorActiveError:O,boxShadowFocusError:D,boxShadowActiveError:I,boxShadowHoverError:B,borderError:E,borderFocusError:L,borderHoverError:j,borderActiveError:N,clearColor:H,clearColorHover:W,clearColorPressed:V,clearSize:U,arrowSize:q,[KA("height",t)]:K,[KA("fontSize",t)]:Y}}=g.value,G=oO(s),X=oO(d);return{"--n-bezier":n,"--n-border":y,"--n-border-active":C,"--n-border-focus":_,"--n-border-hover":x,"--n-border-radius":r,"--n-box-shadow-active":v,"--n-box-shadow-focus":m,"--n-box-shadow-hover":b,"--n-caret-color":c,"--n-color":a,"--n-color-active":f,"--n-color-disabled":u,"--n-font-size":Y,"--n-height":K,"--n-padding-single-top":G.top,"--n-padding-multiple-top":X.top,"--n-padding-single-right":G.right,"--n-padding-multiple-right":X.right,"--n-padding-single-left":G.left,"--n-padding-multiple-left":X.left,"--n-padding-single-bottom":G.bottom,"--n-padding-multiple-bottom":X.bottom,"--n-placeholder-color":i,"--n-placeholder-color-disabled":p,"--n-text-color":l,"--n-text-color-disabled":h,"--n-arrow-color":w,"--n-arrow-color-disabled":S,"--n-loading-color":k,"--n-color-active-warning":P,"--n-box-shadow-focus-warning":T,"--n-box-shadow-active-warning":R,"--n-box-shadow-hover-warning":F,"--n-border-warning":z,"--n-border-focus-warning":M,"--n-border-hover-warning":$,"--n-border-active-warning":A,"--n-color-active-error":O,"--n-box-shadow-focus-error":D,"--n-box-shadow-active-error":I,"--n-box-shadow-hover-error":B,"--n-border-error":E,"--n-border-focus-error":L,"--n-border-hover-error":j,"--n-border-active-error":N,"--n-clear-size":U,"--n-clear-color":H,"--n-clear-color-hover":W,"--n-clear-color-pressed":V,"--n-arrow-size":q,"--n-font-weight":o}})),M=F?vE("internal-selection",Qr((()=>e.size[0])),z,e):void 0;return{mergedTheme:g,mergedClearable:b,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:m,filterablePlaceholder:y,label:_,selected:x,showTagsPanel:f,isComposing:k,counterRef:c,counterWrapperRef:u,patternInputMirrorRef:r,patternInputRef:a,selfRef:i,multipleElRef:l,singleElRef:s,patternInputWrapperRef:d,overflowRef:h,inputTagElRef:p,handleMouseDown:function(t){e.active&&e.filterable&&t.target!==a.value&&t.preventDefault()},handleFocusin:function(t){var n;t.relatedTarget&&(null===(n=i.value)||void 0===n?void 0:n.contains(t.relatedTarget))||function(t){const{onFocus:n}=e;n&&n(t)}(t)},handleClear:function(t){!function(t){const{onClear:n}=e;n&&n(t)}(t)},handleMouseEnter:function(){v.value=!0},handleMouseLeave:function(){v.value=!1},handleDeleteOption:S,handlePatternKeyDown:function(t){if("Backspace"===t.key&&!k.value&&!e.pattern.length){const{selectedOptions:t}=e;(null==t?void 0:t.length)&&S(t[t.length-1])}},handlePatternInputInput:function(t){const{value:n}=r;if(n){const e=t.target.value;n.textContent=e,C()}e.ignoreComposition&&k.value?P=t:w(t)},handlePatternInputBlur:function(t){var n;m.value=!1,null===(n=e.onPatternBlur)||void 0===n||n.call(e,t)},handlePatternInputFocus:function(t){var n;m.value=!0,null===(n=e.onPatternFocus)||void 0===n||n.call(e,t)},handleMouseEnterCounter:function(){e.active||(R(),T=window.setTimeout((()=>{x.value&&(f.value=!0)}),100))},handleMouseLeaveCounter:function(){R()},handleFocusout:function(t){var n;(null===(n=i.value)||void 0===n?void 0:n.contains(t.relatedTarget))||function(t){const{onBlur:n}=e;n&&n(t)}(t)},handleCompositionEnd:function(){k.value=!1,e.ignoreComposition&&w(P),P=null},handleCompositionStart:function(){k.value=!0},onPopoverUpdateShow:function(e){e||(R(),f.value=!1)},focus:function(){var t,n,o;e.filterable?(m.value=!1,null===(t=d.value)||void 0===t||t.focus()):e.multiple?null===(n=l.value)||void 0===n||n.focus():null===(o=s.value)||void 0===o||o.focus()},focusInput:function(){const{value:e}=a;e&&(!function(){const{value:e}=p;e&&(e.style.display="inline-block")}(),e.focus())},blur:function(){var t,n;if(e.filterable)m.value=!1,null===(t=d.value)||void 0===t||t.blur(),null===(n=a.value)||void 0===n||n.blur();else if(e.multiple){const{value:e}=l;null==e||e.blur()}else{const{value:e}=s;null==e||e.blur()}},blurInput:function(){const{value:e}=a;e&&e.blur()},updateCounter:function(e){const{value:t}=c;t&&t.setTextContent(`+${e}`)},getCounter:function(){const{value:e}=u;return e},getTail:function(){return a.value},renderLabel:e.renderLabel,cssVars:F?void 0:z,themeClass:null==M?void 0:M.themeClass,onRender:null==M?void 0:M.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:a,bordered:i,clsPrefix:l,ellipsisTagPopoverProps:s,onRender:d,renderTag:c,renderLabel:u}=this;null==d||d();const h="responsive"===a,p="number"==typeof a,f=h||p,m=Jr(uE,null,{default:()=>Jr(aY,{clsPrefix:l,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var e,t;return null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)}})});let v;if(t){const{labelField:e}=this,t=t=>Jr("div",{class:`${l}-base-selection-tag-wrapper`,key:t.value},c?c({option:t,handleClose:()=>{this.handleDeleteOption(t)}}):Jr(rY,{size:n,closable:!t.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(t)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>u?u(t,!0):aE(t[e],t,!0)})),i=()=>(p?this.selectedOptions.slice(0,a):this.selectedOptions).map(t),d=r?Jr("div",{class:`${l}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},Jr("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${l}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),Jr("span",{ref:"patternInputMirrorRef",class:`${l}-base-selection-input-tag__mirror`},this.pattern)):null,g=h?()=>Jr("div",{class:`${l}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},Jr(rY,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let b;if(p){const e=this.selectedOptions.length-a;e>0&&(b=Jr("div",{class:`${l}-base-selection-tag-wrapper`,key:"__counter__"},Jr(rY,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${e}`})))}const y=h?r?Jr(RB,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:i,counter:g,tail:()=>d}):Jr(RB,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:i,counter:g}):p&&b?i().concat(b):i(),_=f?()=>Jr("div",{class:`${l}-base-selection-popover`},h?i():this.selectedOptions.map(t)):void 0,x=f?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},s):null,C=!this.selected&&(!this.active||!this.pattern&&!this.isComposing)?Jr("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`},Jr("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)):null,w=r?Jr("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-tags`},y,h?null:d,m):Jr("div",{ref:"multipleElRef",class:`${l}-base-selection-tags`,tabindex:o?void 0:0},y,m);v=Jr(pr,null,f?Jr(ZK,Object.assign({},x,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>w,default:_}):w,C)}else if(r){const e=this.pattern||this.isComposing,t=this.active?!e:!this.selected,n=!this.active&&this.selected;v=Jr("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-label`,title:this.patternInputFocused?void 0:UB(this.label)},Jr("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${l}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),n?Jr("div",{class:`${l}-base-selection-label__render-label ${l}-base-selection-overlay`,key:"input"},Jr("div",{class:`${l}-base-selection-overlay__wrapper`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):aE(this.label,this.selectedOption,!0))):null,t?Jr("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},Jr("div",{class:`${l}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,m)}else v=Jr("div",{ref:"singleElRef",class:`${l}-base-selection-label`,tabindex:this.disabled?void 0:0},void 0!==this.label?Jr("div",{class:`${l}-base-selection-input`,title:UB(this.label),key:"input"},Jr("div",{class:`${l}-base-selection-input__content`},c?c({option:this.selectedOption,handleClose:()=>{}}):u?u(this.selectedOption,!0):aE(this.label,this.selectedOption,!0))):Jr("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},Jr("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)),m);return Jr("div",{ref:"selfRef",class:[`${l}-base-selection`,this.rtlEnabled&&`${l}-base-selection--rtl`,this.themeClass,e&&`${l}-base-selection--${e}-status`,{[`${l}-base-selection--active`]:this.active,[`${l}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${l}-base-selection--disabled`]:this.disabled,[`${l}-base-selection--multiple`]:this.multiple,[`${l}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},v,i?Jr("div",{class:`${l}-base-selection__border`}):null,i?Jr("div",{class:`${l}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:uY}=IW;function hY({duration:e=".2s",delay:t=".1s"}={}){return[BA("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),BA("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from","\n opacity: 0!important;\n margin-left: 0!important;\n margin-right: 0!important;\n "),BA("&.fade-in-width-expand-transition-leave-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${uY},\n max-width ${e} ${uY} ${t},\n margin-left ${e} ${uY} ${t},\n margin-right ${e} ${uY} ${t};\n `),BA("&.fade-in-width-expand-transition-enter-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${uY} ${t},\n max-width ${e} ${uY},\n margin-left ${e} ${uY},\n margin-right ${e} ${uY};\n `)]}const pY=LA("base-wave","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n"),fY=$n({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){NW("-base-wave",pY,Ft(e,"clsPrefix"));const t=vt(null),n=vt(!1);let o=null;return Xn((()=>{null!==o&&window.clearTimeout(o)})),{active:n,selfRef:t,play(){null!==o&&(window.clearTimeout(o),n.value=!1,o=null),Kt((()=>{var e;null===(e=t.value)||void 0===e||e.offsetHeight,n.value=!0,o=window.setTimeout((()=>{n.value=!1,o=null}),1e3)}))}}},render(){const{clsPrefix:e}=this;return Jr("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),mY={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},vY={name:"Alert",common:KU,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:a,textColor1:i,textColor2:l,closeColorHover:s,closeColorPressed:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,infoColorSuppl:p,successColorSuppl:f,warningColorSuppl:m,errorColorSuppl:v,fontSize:g}=e;return Object.assign(Object.assign({},mY),{fontSize:g,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:a,titleTextColor:i,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:s,closeColorPressed:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,borderInfo:`1px solid ${DO(p,{alpha:.35})}`,colorInfo:DO(p,{alpha:.25}),titleTextColorInfo:i,iconColorInfo:p,contentTextColorInfo:l,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:c,closeIconColorHoverInfo:u,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${DO(f,{alpha:.35})}`,colorSuccess:DO(f,{alpha:.25}),titleTextColorSuccess:i,iconColorSuccess:f,contentTextColorSuccess:l,closeColorHoverSuccess:s,closeColorPressedSuccess:d,closeIconColorSuccess:c,closeIconColorHoverSuccess:u,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${DO(m,{alpha:.35})}`,colorWarning:DO(m,{alpha:.25}),titleTextColorWarning:i,iconColorWarning:m,contentTextColorWarning:l,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:c,closeIconColorHoverWarning:u,closeIconColorPressedWarning:h,borderError:`1px solid ${DO(v,{alpha:.35})}`,colorError:DO(v,{alpha:.25}),titleTextColorError:i,iconColorError:v,contentTextColorError:l,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:c,closeIconColorHoverError:u,closeIconColorPressedError:h})}};const gY={name:"Alert",common:Eq,self:function(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:a,actionColor:i,textColor1:l,textColor2:s,closeColorHover:d,closeColorPressed:c,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,infoColor:f,successColor:m,warningColor:v,errorColor:g,fontSize:b}=e;return Object.assign(Object.assign({},mY),{fontSize:b,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${a}`,color:i,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:d,closeColorPressed:c,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderInfo:`1px solid ${OO(r,DO(f,{alpha:.25}))}`,colorInfo:OO(r,DO(f,{alpha:.08})),titleTextColorInfo:l,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:d,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${OO(r,DO(m,{alpha:.25}))}`,colorSuccess:OO(r,DO(m,{alpha:.08})),titleTextColorSuccess:l,iconColorSuccess:m,contentTextColorSuccess:s,closeColorHoverSuccess:d,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${OO(r,DO(v,{alpha:.33}))}`,colorWarning:OO(r,DO(v,{alpha:.08})),titleTextColorWarning:l,iconColorWarning:v,contentTextColorWarning:s,closeColorHoverWarning:d,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:p,borderError:`1px solid ${OO(r,DO(g,{alpha:.25}))}`,colorError:OO(r,DO(g,{alpha:.08})),titleTextColorError:l,iconColorError:g,contentTextColorError:s,closeColorHoverError:d,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:p})}},{cubicBezierEaseInOut:bY,cubicBezierEaseOut:yY,cubicBezierEaseIn:_Y}=IW;function xY({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:a,leaveToProps:i,reverse:l=!1}={}){const s=l?"leave":"enter",d=l?"enter":"leave";return[BA(`&.fade-in-height-expand-transition-${d}-from,\n &.fade-in-height-expand-transition-${s}-to`,Object.assign(Object.assign({},a),{opacity:1})),BA(`&.fade-in-height-expand-transition-${d}-to,\n &.fade-in-height-expand-transition-${s}-from`,Object.assign(Object.assign({},i),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),BA(`&.fade-in-height-expand-transition-${d}-active`,`\n overflow: ${e};\n transition:\n max-height ${t} ${bY} ${o},\n opacity ${t} ${yY} ${o},\n margin-top ${t} ${bY} ${o},\n margin-bottom ${t} ${bY} ${o},\n padding-top ${t} ${bY} ${o},\n padding-bottom ${t} ${bY} ${o}\n ${n?`,${n}`:""}\n `),BA(`&.fade-in-height-expand-transition-${s}-active`,`\n overflow: ${e};\n transition:\n max-height ${t} ${bY},\n opacity ${t} ${_Y},\n margin-top ${t} ${bY},\n margin-bottom ${t} ${bY},\n padding-top ${t} ${bY},\n padding-bottom ${t} ${bY}\n ${n?`,${n}`:""}\n `)]}const CY={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};function wY(e){const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:a,textColor2:i}=e;return Object.assign(Object.assign({},CY),{borderRadius:t,railColor:n,railColorActive:o,linkColor:DO(o,{alpha:.15}),linkTextColor:i,linkTextColorHover:r,linkTextColorPressed:a,linkTextColorActive:o})}const SY={name:"Anchor",common:Eq,self:wY},kY={name:"Anchor",common:KU,self:wY},PY=ED&&"chrome"in window;ED&&navigator.userAgent.includes("Firefox");const TY=ED&&navigator.userAgent.includes("Safari")&&!PY,RY={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},FY={name:"Input",common:KU,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:a,inputColor:i,inputColorDisabled:l,warningColor:s,warningColorHover:d,errorColor:c,errorColorHover:u,borderRadius:h,lineHeight:p,fontSizeTiny:f,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:g,heightTiny:b,heightSmall:y,heightMedium:_,heightLarge:x,clearColor:C,clearColorHover:w,clearColorPressed:S,placeholderColor:k,placeholderColorDisabled:P,iconColor:T,iconColorDisabled:R,iconColorHover:F,iconColorPressed:z,fontWeight:M}=e;return Object.assign(Object.assign({},RY),{fontWeight:M,countTextColorDisabled:o,countTextColor:n,heightTiny:b,heightSmall:y,heightMedium:_,heightLarge:x,fontSizeTiny:f,fontSizeSmall:m,fontSizeMedium:v,fontSizeLarge:g,lineHeight:p,lineHeightTextarea:p,borderRadius:h,iconSize:"16px",groupLabelColor:i,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:k,placeholderColorDisabled:P,color:i,colorDisabled:l,colorFocus:DO(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${a}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 8px 0 ${DO(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:s,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:DO(s,{alpha:.1}),borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 8px 0 ${DO(s,{alpha:.3})}`,caretColorWarning:s,loadingColorError:c,borderError:`1px solid ${c}`,borderHoverError:`1px solid ${u}`,colorFocusError:DO(c,{alpha:.1}),borderFocusError:`1px solid ${u}`,boxShadowFocusError:`0 0 8px 0 ${DO(c,{alpha:.3})}`,caretColorError:c,clearColor:C,clearColorHover:w,clearColorPressed:S,iconColor:T,iconColorDisabled:R,iconColorHover:F,iconColorPressed:z,suffixTextColor:t})}};const zY={name:"Input",common:Eq,self:function(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:a,inputColor:i,inputColorDisabled:l,borderColor:s,warningColor:d,warningColorHover:c,errorColor:u,errorColorHover:h,borderRadius:p,lineHeight:f,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:b,heightTiny:y,heightSmall:_,heightMedium:x,heightLarge:C,actionColor:w,clearColor:S,clearColorHover:k,clearColorPressed:P,placeholderColor:T,placeholderColorDisabled:R,iconColor:F,iconColorDisabled:z,iconColorHover:M,iconColorPressed:$,fontWeight:A}=e;return Object.assign(Object.assign({},RY),{fontWeight:A,countTextColorDisabled:o,countTextColor:n,heightTiny:y,heightSmall:_,heightMedium:x,heightLarge:C,fontSizeTiny:m,fontSizeSmall:v,fontSizeMedium:g,fontSizeLarge:b,lineHeight:f,lineHeightTextarea:f,borderRadius:p,iconSize:"16px",groupLabelColor:w,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:T,placeholderColorDisabled:R,color:i,colorDisabled:l,colorFocus:i,groupLabelBorder:`1px solid ${s}`,border:`1px solid ${s}`,borderHover:`1px solid ${a}`,borderDisabled:`1px solid ${s}`,borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 0 2px ${DO(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:i,borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 0 2px ${DO(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:i,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${DO(u,{alpha:.2})}`,caretColorError:u,clearColor:S,clearColorHover:k,clearColorPressed:P,iconColor:F,iconColorDisabled:z,iconColorHover:M,iconColorPressed:$,suffixTextColor:t})}},MY="n-input",$Y=LA("input","\n max-width: 100%;\n cursor: text;\n line-height: 1.5;\n z-index: auto;\n outline: none;\n box-sizing: border-box;\n position: relative;\n display: inline-flex;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n transition: background-color .3s var(--n-bezier);\n font-size: var(--n-font-size);\n font-weight: var(--n-font-weight);\n --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);\n",[jA("input, textarea","\n overflow: hidden;\n flex-grow: 1;\n position: relative;\n "),jA("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder","\n box-sizing: border-box;\n font-size: inherit;\n line-height: 1.5;\n font-family: inherit;\n border: none;\n outline: none;\n background-color: #0000;\n text-align: inherit;\n transition:\n -webkit-text-fill-color .3s var(--n-bezier),\n caret-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier);\n "),jA("input-el, textarea-el","\n -webkit-appearance: none;\n scrollbar-width: none;\n width: 100%;\n min-width: 0;\n text-decoration-color: var(--n-text-decoration-color);\n color: var(--n-text-color);\n caret-color: var(--n-caret-color);\n background-color: transparent;\n ",[BA("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),BA("&::placeholder","\n color: #0000;\n -webkit-text-fill-color: transparent !important;\n "),BA("&:-webkit-autofill ~",[jA("placeholder","display: none;")])]),NA("round",[HA("textarea","border-radius: calc(var(--n-height) / 2);")]),jA("placeholder","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden;\n color: var(--n-placeholder-color);\n ",[BA("span","\n width: 100%;\n display: inline-block;\n ")]),NA("textarea",[jA("placeholder","overflow: visible;")]),HA("autosize","width: 100%;"),NA("autosize",[jA("textarea-el, input-el","\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n ")]),LA("input-wrapper","\n overflow: hidden;\n display: inline-flex;\n flex-grow: 1;\n position: relative;\n padding-left: var(--n-padding-left);\n padding-right: var(--n-padding-right);\n "),jA("input-mirror","\n padding: 0;\n height: var(--n-height);\n line-height: var(--n-height);\n overflow: hidden;\n visibility: hidden;\n position: static;\n white-space: pre;\n pointer-events: none;\n "),jA("input-el","\n padding: 0;\n height: var(--n-height);\n line-height: var(--n-height);\n ",[BA("&[type=password]::-ms-reveal","display: none;"),BA("+",[jA("placeholder","\n display: flex;\n align-items: center; \n ")])]),HA("textarea",[jA("placeholder","white-space: nowrap;")]),jA("eye","\n display: flex;\n align-items: center;\n justify-content: center;\n transition: color .3s var(--n-bezier);\n "),NA("textarea","width: 100%;",[LA("input-word-count","\n position: absolute;\n right: var(--n-padding-right);\n bottom: var(--n-padding-vertical);\n "),NA("resizable",[LA("input-wrapper","\n resize: vertical;\n min-height: var(--n-height);\n ")]),jA("textarea-el, textarea-mirror, placeholder","\n height: 100%;\n padding-left: 0;\n padding-right: 0;\n padding-top: var(--n-padding-vertical);\n padding-bottom: var(--n-padding-vertical);\n word-break: break-word;\n display: inline-block;\n vertical-align: bottom;\n box-sizing: border-box;\n line-height: var(--n-line-height-textarea);\n margin: 0;\n resize: none;\n white-space: pre-wrap;\n scroll-padding-block-end: var(--n-padding-vertical);\n "),jA("textarea-mirror","\n width: 100%;\n pointer-events: none;\n overflow: hidden;\n visibility: hidden;\n position: static;\n white-space: pre-wrap;\n overflow-wrap: break-word;\n ")]),NA("pair",[jA("input-el, placeholder","text-align: center;"),jA("separator","\n display: flex;\n align-items: center;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n white-space: nowrap;\n ",[LA("icon","\n color: var(--n-icon-color);\n "),LA("base-icon","\n color: var(--n-icon-color);\n ")])]),NA("disabled","\n cursor: not-allowed;\n background-color: var(--n-color-disabled);\n ",[jA("border","border: var(--n-border-disabled);"),jA("input-el, textarea-el","\n cursor: not-allowed;\n color: var(--n-text-color-disabled);\n text-decoration-color: var(--n-text-color-disabled);\n "),jA("placeholder","color: var(--n-placeholder-color-disabled);"),jA("separator","color: var(--n-text-color-disabled);",[LA("icon","\n color: var(--n-icon-color-disabled);\n "),LA("base-icon","\n color: var(--n-icon-color-disabled);\n ")]),LA("input-word-count","\n color: var(--n-count-text-color-disabled);\n "),jA("suffix, prefix","color: var(--n-text-color-disabled);",[LA("icon","\n color: var(--n-icon-color-disabled);\n "),LA("internal-icon","\n color: var(--n-icon-color-disabled);\n ")])]),HA("disabled",[jA("eye","\n color: var(--n-icon-color);\n cursor: pointer;\n ",[BA("&:hover","\n color: var(--n-icon-color-hover);\n "),BA("&:active","\n color: var(--n-icon-color-pressed);\n ")]),BA("&:hover",[jA("state-border","border: var(--n-border-hover);")]),NA("focus","background-color: var(--n-color-focus);",[jA("state-border","\n border: var(--n-border-focus);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),jA("border, state-border","\n box-sizing: border-box;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n pointer-events: none;\n border-radius: inherit;\n border: var(--n-border);\n transition:\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n "),jA("state-border","\n border-color: #0000;\n z-index: 1;\n "),jA("prefix","margin-right: 4px;"),jA("suffix","\n margin-left: 4px;\n "),jA("suffix, prefix","\n transition: color .3s var(--n-bezier);\n flex-wrap: nowrap;\n flex-shrink: 0;\n line-height: var(--n-height);\n white-space: nowrap;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--n-suffix-text-color);\n ",[LA("base-loading","\n font-size: var(--n-icon-size);\n margin: 0 2px;\n color: var(--n-loading-color);\n "),LA("base-clear","\n font-size: var(--n-icon-size);\n ",[jA("placeholder",[LA("base-icon","\n transition: color .3s var(--n-bezier);\n color: var(--n-icon-color);\n font-size: var(--n-icon-size);\n ")])]),BA(">",[LA("icon","\n transition: color .3s var(--n-bezier);\n color: var(--n-icon-color);\n font-size: var(--n-icon-size);\n ")]),LA("base-icon","\n font-size: var(--n-icon-size);\n ")]),LA("input-word-count","\n pointer-events: none;\n line-height: 1.5;\n font-size: .85em;\n color: var(--n-count-text-color);\n transition: color .3s var(--n-bezier);\n margin-left: 4px;\n font-variant: tabular-nums;\n "),["warning","error"].map((e=>NA(`${e}-status`,[HA("disabled",[LA("base-loading",`\n color: var(--n-loading-color-${e})\n `),jA("input-el, textarea-el",`\n caret-color: var(--n-caret-color-${e});\n `),jA("state-border",`\n border: var(--n-border-${e});\n `),BA("&:hover",[jA("state-border",`\n border: var(--n-border-hover-${e});\n `)]),BA("&:focus",`\n background-color: var(--n-color-focus-${e});\n `,[jA("state-border",`\n box-shadow: var(--n-box-shadow-focus-${e});\n border: var(--n-border-focus-${e});\n `)]),NA("focus",`\n background-color: var(--n-color-focus-${e});\n `,[jA("state-border",`\n box-shadow: var(--n-box-shadow-focus-${e});\n border: var(--n-border-focus-${e});\n `)])])])))]),AY=LA("input",[NA("disabled",[jA("input-el, textarea-el","\n -webkit-text-fill-color: var(--n-text-color-disabled);\n ")])]);function OY(e){let t=0;for(const n of e)t++;return t}function DY(e){return""===e||null==e}const IY=$n({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:a}=Ro(MY),i=Qr((()=>{const{value:e}=n;return null===e||Array.isArray(e)?0:(a.value||OY)(e)}));return()=>{const{value:e}=o,{value:a}=n;return Jr("span",{class:`${r.value}-input-word-count`},sE(t.default,{value:null===a||Array.isArray(a)?"":a},(()=>[void 0===e?i.value:`${i.value} / ${e}`])))}}}),BY=$n({name:"Input",props:Object.assign(Object.assign({},HW.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),slots:Object,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=fE(e),a=HW("Input","-input",$Y,zY,e,t);TY&&NW("-input-safari",AY,t);const i=vt(null),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt(null),h=vt(null),p=function(e){const t=vt(null);function n(){t.value=null}return er(e,n),{recordCursor:function(){const{value:o}=e;if(!(null==o?void 0:o.focus))return void n();const{selectionStart:r,selectionEnd:a,value:i}=o;null!=r&&null!=a?t.value={start:r,end:a,beforeText:i.slice(0,r),afterText:i.slice(a)}:n()},restoreCursor:function(){var n;const{value:o}=t,{value:r}=e;if(!o||!r)return;const{value:a}=r,{start:i,beforeText:l,afterText:s}=o;let d=a.length;if(a.endsWith(s))d=a.length-s.length;else if(a.startsWith(l))d=l.length;else{const e=l[i-1],t=a.indexOf(e,i-1);-1!==t&&(d=t+1)}null===(n=r.setSelectionRange)||void 0===n||n.call(r,d,d)}}}(h),f=vt(null),{localeRef:m}=AW("Input"),v=vt(e.defaultValue),g=xD(Ft(e,"value"),v),b=bE(e),{mergedSizeRef:y,mergedDisabledRef:_,mergedStatusRef:x}=b,C=vt(!1),w=vt(!1),S=vt(!1),k=vt(!1);let P=null;const T=Qr((()=>{const{placeholder:t,pair:n}=e;return n?Array.isArray(t)?t:void 0===t?["",""]:[t,t]:void 0===t?[m.value.placeholder]:[t]})),R=Qr((()=>{const{value:e}=S,{value:t}=g,{value:n}=T;return!e&&(DY(t)||Array.isArray(t)&&DY(t[0]))&&n[0]})),F=Qr((()=>{const{value:e}=S,{value:t}=g,{value:n}=T;return!e&&n[1]&&(DY(t)||Array.isArray(t)&&DY(t[1]))})),z=oD((()=>e.internalForceFocus||C.value)),M=oD((()=>{if(_.value||e.readonly||!e.clearable||!z.value&&!w.value)return!1;const{value:t}=g,{value:n}=z;return e.pair?!(!Array.isArray(t)||!t[0]&&!t[1])&&(w.value||n):!!t&&(w.value||n)})),$=Qr((()=>{const{showPasswordOn:t}=e;return t||(e.showPasswordToggle?"click":void 0)})),A=vt(!1),O=Qr((()=>{const{textDecoration:t}=e;return t?Array.isArray(t)?t.map((e=>({textDecoration:e}))):[{textDecoration:t}]:["",""]})),D=vt(void 0),I=Qr((()=>{const{maxlength:t}=e;return void 0===t?void 0:Number(t)}));Kn((()=>{const{value:e}=g;Array.isArray(e)||U(e)}));const B=Nr().proxy;function E(t,n){const{onUpdateValue:o,"onUpdate:value":r,onInput:a}=e,{nTriggerFormInput:i}=b;o&&GB(o,t,n),r&&GB(r,t,n),a&&GB(a,t,n),v.value=t,i()}function L(t,n){const{onChange:o}=e,{nTriggerFormChange:r}=b;o&&GB(o,t,n),v.value=t,r()}function j(t,n=0,o="input"){const r=t.target.value;if(U(r),t instanceof InputEvent&&!t.isComposing&&(S.value=!1),"textarea"===e.type){const{value:e}=f;e&&e.syncUnifiedContainer()}if(P=r,S.value)return;p.recordCursor();const a=function(t){const{countGraphemes:n,maxlength:o,minlength:r}=e;if(n){let e;if(void 0!==o&&(void 0===e&&(e=n(t)),e>Number(o)))return!1;if(void 0!==r&&(void 0===e&&(e=n(t)),e{var e;null===(e=i.value)||void 0===e||e.focus()})))}function V(){var t,n,o;_.value||(e.passivelyActivated?null===(t=i.value)||void 0===t||t.focus():(null===(n=l.value)||void 0===n||n.focus(),null===(o=c.value)||void 0===o||o.focus()))}function U(t){const{type:n,pair:o,autosize:r}=e;if(!o&&r)if("textarea"===n){const{value:e}=s;e&&(e.textContent=`${null!=t?t:""}\r\n`)}else{const{value:e}=d;e&&(t?e.textContent=t:e.innerHTML=" ")}}const q=vt({top:"0"});let K=null;Jo((()=>{const{autosize:t,type:n}=e;t&&"textarea"===n?K=er(g,(e=>{Array.isArray(e)||e===P||U(e)})):null==K||K()}));let Y=null;Jo((()=>{"textarea"===e.type?Y=er(g,(e=>{var t;Array.isArray(e)||e===P||null===(t=f.value)||void 0===t||t.syncUnifiedContainer()})):null==Y||Y()})),To(MY,{mergedValueRef:g,maxlengthRef:I,mergedClsPrefixRef:t,countGraphemesRef:Ft(e,"countGraphemes")});const G={wrapperElRef:i,inputElRef:c,textareaElRef:l,isCompositing:S,clear:H,focus:V,blur:function(){var e;(null===(e=i.value)||void 0===e?void 0:e.contains(document.activeElement))&&document.activeElement.blur()},select:function(){var e,t;null===(e=l.value)||void 0===e||e.select(),null===(t=c.value)||void 0===t||t.select()},deactivate:function(){const{value:e}=i;(null==e?void 0:e.contains(document.activeElement))&&e!==document.activeElement&&W()},activate:function(){_.value||(l.value?l.value.focus():c.value&&c.value.focus())},scrollTo:function(t){if("textarea"===e.type){const{value:e}=l;null==e||e.scrollTo(t)}else{const{value:e}=c;null==e||e.scrollTo(t)}}},X=DW("Input",r,t),Z=Qr((()=>{const{value:e}=y,{common:{cubicBezierEaseInOut:t},self:{color:n,borderRadius:o,textColor:r,caretColor:i,caretColorError:l,caretColorWarning:s,textDecorationColor:d,border:c,borderDisabled:u,borderHover:h,borderFocus:p,placeholderColor:f,placeholderColorDisabled:m,lineHeightTextarea:v,colorDisabled:g,colorFocus:b,textColorDisabled:_,boxShadowFocus:x,iconSize:C,colorFocusWarning:w,boxShadowFocusWarning:S,borderWarning:k,borderFocusWarning:P,borderHoverWarning:T,colorFocusError:R,boxShadowFocusError:F,borderError:z,borderFocusError:M,borderHoverError:$,clearSize:A,clearColor:O,clearColorHover:D,clearColorPressed:I,iconColor:B,iconColorDisabled:E,suffixTextColor:L,countTextColor:j,countTextColorDisabled:N,iconColorHover:H,iconColorPressed:W,loadingColor:V,loadingColorError:U,loadingColorWarning:q,fontWeight:K,[KA("padding",e)]:Y,[KA("fontSize",e)]:G,[KA("height",e)]:X}}=a.value,{left:Z,right:Q}=oO(Y);return{"--n-bezier":t,"--n-count-text-color":j,"--n-count-text-color-disabled":N,"--n-color":n,"--n-font-size":G,"--n-font-weight":K,"--n-border-radius":o,"--n-height":X,"--n-padding-left":Z,"--n-padding-right":Q,"--n-text-color":r,"--n-caret-color":i,"--n-text-decoration-color":d,"--n-border":c,"--n-border-disabled":u,"--n-border-hover":h,"--n-border-focus":p,"--n-placeholder-color":f,"--n-placeholder-color-disabled":m,"--n-icon-size":C,"--n-line-height-textarea":v,"--n-color-disabled":g,"--n-color-focus":b,"--n-text-color-disabled":_,"--n-box-shadow-focus":x,"--n-loading-color":V,"--n-caret-color-warning":s,"--n-color-focus-warning":w,"--n-box-shadow-focus-warning":S,"--n-border-warning":k,"--n-border-focus-warning":P,"--n-border-hover-warning":T,"--n-loading-color-warning":q,"--n-caret-color-error":l,"--n-color-focus-error":R,"--n-box-shadow-focus-error":F,"--n-border-error":z,"--n-border-focus-error":M,"--n-border-hover-error":$,"--n-loading-color-error":U,"--n-clear-color":O,"--n-clear-size":A,"--n-clear-color-hover":D,"--n-clear-color-pressed":I,"--n-icon-color":B,"--n-icon-color-hover":H,"--n-icon-color-pressed":W,"--n-icon-color-disabled":E,"--n-suffix-text-color":L}})),Q=o?vE("input",Qr((()=>{const{value:e}=y;return e[0]})),Z,e):void 0;return Object.assign(Object.assign({},G),{wrapperElRef:i,inputElRef:c,inputMirrorElRef:d,inputEl2Ref:u,textareaElRef:l,textareaMirrorElRef:s,textareaScrollbarInstRef:f,rtlEnabled:X,uncontrolledValue:v,mergedValue:g,passwordVisible:A,mergedPlaceholder:T,showPlaceholder1:R,showPlaceholder2:F,mergedFocus:z,isComposing:S,activated:k,showClearButton:M,mergedSize:y,mergedDisabled:_,textDecorationStyle:O,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:$,placeholderStyle:q,mergedStatus:x,textAreaScrollContainerWidth:D,handleTextAreaScroll:function(e){var t;const{scrollTop:n}=e.target;q.value.top=-n+"px",null===(t=f.value)||void 0===t||t.syncUnifiedContainer()},handleCompositionStart:function(){S.value=!0},handleCompositionEnd:function(e){S.value=!1,e.target===u.value?j(e,1):j(e,0)},handleInput:j,handleInputBlur:function(t){!function(t){const{onInputBlur:n}=e;n&&GB(n,t)}(t),t.relatedTarget===i.value&&function(){const{onDeactivate:t}=e;t&&GB(t)}(),(null===t.relatedTarget||t.relatedTarget!==c.value&&t.relatedTarget!==u.value&&t.relatedTarget!==l.value)&&(k.value=!1),N(t,"blur"),h.value=null},handleInputFocus:function(t,n){!function(t){const{onInputFocus:n}=e;n&&GB(n,t)}(t),C.value=!0,k.value=!0,function(){const{onActivate:t}=e;t&&GB(t)}(),N(t,"focus"),0===n?h.value=c.value:1===n?h.value=u.value:2===n&&(h.value=l.value)},handleWrapperBlur:function(t){e.passivelyActivated&&(!function(t){const{onWrapperBlur:n}=e;n&&GB(n,t)}(t),N(t,"blur"))},handleWrapperFocus:function(t){e.passivelyActivated&&(C.value=!0,function(t){const{onWrapperFocus:n}=e;n&&GB(n,t)}(t),N(t,"focus"))},handleMouseEnter:function(){var t;w.value=!0,"textarea"===e.type&&(null===(t=f.value)||void 0===t||t.handleMouseEnterWrapper())},handleMouseLeave:function(){var t;w.value=!1,"textarea"===e.type&&(null===(t=f.value)||void 0===t||t.handleMouseLeaveWrapper())},handleMouseDown:function(t){const{onMousedown:n}=e;n&&n(t);const{tagName:o}=t.target;if("INPUT"!==o&&"TEXTAREA"!==o){if(e.resizable){const{value:e}=i;if(e){const{left:n,top:o,width:r,height:a}=e.getBoundingClientRect(),i=14;if(n+r-i{e.preventDefault(),tD("mouseup",document,t)};if(eD("mouseup",document,t),"mousedown"!==$.value)return;A.value=!0;const n=()=>{A.value=!1,tD("mouseup",document,n)};eD("mouseup",document,n)},handleWrapperKeydown:function(t){switch(e.onKeydown&&GB(e.onKeydown,t),t.key){case"Escape":W();break;case"Enter":!function(t){var n,o;if(e.passivelyActivated){const{value:r}=k;if(r)return void(e.internalDeactivateOnEnter&&W());t.preventDefault(),"textarea"===e.type?null===(n=l.value)||void 0===n||n.focus():null===(o=c.value)||void 0===o||o.focus()}}(t)}},handleWrapperKeyup:function(t){e.onKeyup&&GB(e.onKeyup,t)},handleTextAreaMirrorResize:function(){(()=>{var t,n;if("textarea"===e.type){const{autosize:o}=e;if(o&&(D.value=null===(n=null===(t=f.value)||void 0===t?void 0:t.$el)||void 0===n?void 0:n.offsetWidth),!l.value)return;if("boolean"==typeof o)return;const{paddingTop:r,paddingBottom:a,lineHeight:i}=window.getComputedStyle(l.value),d=Number(r.slice(0,-2)),c=Number(a.slice(0,-2)),u=Number(i.slice(0,-2)),{value:h}=s;if(!h)return;if(o.minRows){const e=`${d+c+u*Math.max(o.minRows,1)}px`;h.style.minHeight=e}if(o.maxRows){const e=`${d+c+u*o.maxRows}px`;h.style.maxHeight=e}}})()},getTextareaScrollContainer:()=>l.value,mergedTheme:a,cssVars:o?void 0:Z,themeClass:null==Q?void 0:Q.themeClass,onRender:null==Q?void 0:Q.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:a,countGraphemes:i,onRender:l}=this,s=this.$slots;return null==l||l(),Jr("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:"textarea"===a,[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&!("textarea"===a),[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:this.mergedDisabled||!this.passivelyActivated||this.activated?void 0:0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},Jr("div",{class:`${n}-input-wrapper`},dE(s.prefix,(e=>e&&Jr("div",{class:`${n}-input__prefix`},e))),"textarea"===a?Jr(Vq,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var e,t;const{textAreaScrollContainerWidth:o}=this,r={width:this.autosize&&o&&`${o}px`};return Jr(pr,null,Jr("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,null===(e=this.inputProps)||void 0===e?void 0:e.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:i?void 0:this.maxlength,minlength:i?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],null===(t=this.inputProps)||void 0===t?void 0:t.style,r],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?Jr("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,r],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?Jr(bB,{onResize:this.handleTextAreaMirrorResize},{default:()=>Jr("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):Jr("div",{class:`${n}-input__input`},Jr("input",Object.assign({type:"password"===a&&this.mergedShowPasswordOn&&this.passwordVisible?"text":a},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,null===(e=this.inputProps)||void 0===e?void 0:e.class],style:[this.textDecorationStyle[0],null===(t=this.inputProps)||void 0===t?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:i?void 0:this.maxlength,minlength:i?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,0)},onInput:e=>{this.handleInput(e,0)},onChange:e=>{this.handleChange(e,0)}})),this.showPlaceholder1?Jr("div",{class:`${n}-input__placeholder`},Jr("span",null,this.mergedPlaceholder[0])):null,this.autosize?Jr("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&dE(s.suffix,(e=>e||this.clearable||this.showCount||this.mergedShowPasswordOn||void 0!==this.loading?Jr("div",{class:`${n}-input__suffix`},[dE(s["clear-icon-placeholder"],(e=>(this.clearable||e)&&Jr(AV,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>e,icon:()=>{var e,t;return null===(t=(e=this.$slots)["clear-icon"])||void 0===t?void 0:t.call(e)}}))),this.internalLoadingBeforeSuffix?null:e,void 0!==this.loading?Jr(aY,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?e:null,this.showCount&&"textarea"!==this.type?Jr(IY,null,{default:e=>{var t;const{renderCount:n}=this;return n?n(e):null===(t=s.count)||void 0===t?void 0:t.call(s,e)}}):null,this.mergedShowPasswordOn&&"password"===this.type?Jr("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?lE(s["password-visible-icon"],(()=>[Jr(VW,{clsPrefix:n},{default:()=>Jr(sV,null)})])):lE(s["password-invisible-icon"],(()=>[Jr(VW,{clsPrefix:n},{default:()=>Jr(dV,null)})]))):null]):null))),this.pair?Jr("span",{class:`${n}-input__separator`},lE(s.separator,(()=>[this.separator]))):null,this.pair?Jr("div",{class:`${n}-input-wrapper`},Jr("div",{class:`${n}-input__input`},Jr("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:i?void 0:this.maxlength,minlength:i?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,1)},onInput:e=>{this.handleInput(e,1)},onChange:e=>{this.handleChange(e,1)}}),this.showPlaceholder2?Jr("div",{class:`${n}-input__placeholder`},Jr("span",null,this.mergedPlaceholder[1])):null),dE(s.suffix,(e=>(this.clearable||e)&&Jr("div",{class:`${n}-input__suffix`},[this.clearable&&Jr(AV,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var e;return null===(e=s["clear-icon"])||void 0===e?void 0:e.call(s)},placeholder:()=>{var e;return null===(e=s["clear-icon-placeholder"])||void 0===e?void 0:e.call(s)}}),e])))):null,this.mergedBordered?Jr("div",{class:`${n}-input__border`}):null,this.mergedBordered?Jr("div",{class:`${n}-input__state-border`}):null,this.showCount&&"textarea"===a?Jr(IY,null,{default:e=>{var t;const{renderCount:n}=this;return n?n(e):null===(t=s.count)||void 0===t?void 0:t.call(s,e)}}):null)}}),EY=LA("input-group","\n display: inline-flex;\n width: 100%;\n flex-wrap: nowrap;\n vertical-align: bottom;\n",[BA(">",[LA("input",[BA("&:not(:last-child)","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),BA("&:not(:first-child)","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n margin-left: -1px!important;\n ")]),LA("button",[BA("&:not(:last-child)","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ",[jA("state-border, border","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ")]),BA("&:not(:first-child)","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ",[jA("state-border, border","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ")])]),BA("*",[BA("&:not(:last-child)","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ",[BA(">",[LA("input","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),LA("base-selection",[LA("base-selection-label","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),LA("base-selection-tags","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n "),jA("box-shadow, border, state-border","\n border-top-right-radius: 0!important;\n border-bottom-right-radius: 0!important;\n ")])])]),BA("&:not(:first-child)","\n margin-left: -1px!important;\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ",[BA(">",[LA("input","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n "),LA("base-selection",[LA("base-selection-label","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n "),LA("base-selection-tags","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n "),jA("box-shadow, border, state-border","\n border-top-left-radius: 0!important;\n border-bottom-left-radius: 0!important;\n ")])])])])])]),LY=$n({name:"InputGroup",props:{},setup(e){const{mergedClsPrefixRef:t}=fE(e);return NW("-input-group",EY,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:`${e}-input-group`},this.$slots)}});function jY(e){return"group"===e.type}function NY(e){return"ignored"===e.type}function HY(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch(sD){return!1}}function WY(e,t){return{getIsGroup:jY,getIgnored:NY,getKey:t=>jY(t)?t.name||t.key||"key-required":t[e],getChildren:e=>e[t]}}function VY(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const UY={name:"AutoComplete",common:Eq,peers:{InternalSelectMenu:kK,Input:zY},self:VY},qY={name:"AutoComplete",common:KU,peers:{InternalSelectMenu:PK,Input:FY},self:VY},KY=BA([LA("auto-complete","\n z-index: auto;\n position: relative;\n display: inline-flex;\n width: 100%;\n "),LA("auto-complete-menu","\n margin: 4px 0;\n box-shadow: var(--n-menu-box-shadow);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]);function YY(e){var t,n;if("string"==typeof e)return{label:e,value:e};if("group"===e.type){return{type:"group",label:null!==(t=e.label)&&void 0!==t?t:e.name,value:null!==(n=e.value)&&void 0!==n?n:e.name,key:e.key||e.name,children:e.children.map((e=>YY(e)))}}return e}const GY=$n({name:"AutoComplete",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,menuProps:Object,append:Boolean,bordered:{type:Boolean,default:void 0},clearable:{type:Boolean,default:void 0},defaultValue:{type:String,default:null},loading:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},placeholder:String,placement:{type:String,default:"bottom-start"},value:String,blurAfterSelect:Boolean,clearAfterSelect:Boolean,getShow:Function,showEmpty:Boolean,inputProps:Object,renderOption:Function,renderLabel:Function,size:String,options:{type:Array,default:()=>[]},zIndex:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onSelect:[Function,Array],onBlur:[Function,Array],onFocus:[Function,Array],onInput:[Function,Array]}),slots:Object,setup(e){const{mergedBorderedRef:t,namespaceRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r}=fE(e),a=bE(e),{mergedSizeRef:i,mergedDisabledRef:l,mergedStatusRef:s}=a,d=vt(null),c=vt(null),u=vt(e.defaultValue),h=xD(Ft(e,"value"),u),p=vt(!1),f=vt(!1),m=HW("AutoComplete","-auto-complete",KY,UY,e,o),v=Qr((()=>e.options.map(YY))),g=Qr((()=>{const{getShow:t}=e;return t?t(h.value||""):!!h.value})),b=Qr((()=>g.value&&p.value&&(!!e.showEmpty||!!v.value.length))),y=Qr((()=>vK(v.value,WY("value","children"))));function _(t){const{"onUpdate:value":n,onUpdateValue:o,onInput:r}=e,{nTriggerFormInput:i,nTriggerFormChange:l}=a;o&&GB(o,t),n&&GB(n,t),r&&GB(r,t),u.value=t,i(),l()}function x(t){void 0!==(null==t?void 0:t.value)&&(function(t){const{onSelect:n}=e,{nTriggerFormInput:o,nTriggerFormChange:r}=a;n&&GB(n,t),o(),r()}(t.value),e.clearAfterSelect?_(null):void 0!==t.label&&_(e.append?`${h.value}${t.label}`:t.label),p.value=!1,e.blurAfterSelect&&function(){var e,t;(null===(e=d.value)||void 0===e?void 0:e.contains(document.activeElement))&&(null===(t=document.activeElement)||void 0===t||t.blur())}())}const C=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{menuBoxShadow:t}}=m.value;return{"--n-menu-box-shadow":t,"--n-bezier":e}})),w=r?vE("auto-complete",void 0,C,e):void 0,S=vt(null),k={focus:()=>{var e;null===(e=S.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=S.value)||void 0===e||e.blur()}};return{focus:k.focus,blur:k.blur,inputInstRef:S,uncontrolledValue:u,mergedValue:h,isMounted:CD(),adjustedTo:ID(e),menuInstRef:c,triggerElRef:d,treeMate:y,mergedSize:i,mergedDisabled:l,active:b,mergedStatus:s,handleClear:function(){_(null)},handleFocus:function(t){p.value=!0,function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=a;n&&GB(n,t),o()}(t)},handleBlur:function(t){p.value=!1,function(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=a;n&&GB(n,t),o()}(t)},handleInput:function(e){p.value=!0,_(e)},handleToggle:function(e){x(e.rawNode)},handleClickOutsideMenu:function(e){var t;(null===(t=d.value)||void 0===t?void 0:t.contains(JA(e)))||(p.value=!1)},handleCompositionStart:function(){f.value=!0},handleCompositionEnd:function(){window.setTimeout((()=>{f.value=!1}),0)},handleKeyDown:function(e){var t,n,o;switch(e.key){case"Enter":if(!f.value){const n=null===(t=c.value)||void 0===t?void 0:t.getPendingTmNode();n&&(x(n.rawNode),e.preventDefault())}break;case"ArrowDown":null===(n=c.value)||void 0===n||n.next();break;case"ArrowUp":null===(o=c.value)||void 0===o||o.prev()}},mergedTheme:m,cssVars:r?void 0:C,themeClass:null==w?void 0:w.themeClass,onRender:null==w?void 0:w.onRender,mergedBordered:t,namespace:n,mergedClsPrefix:o}},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:`${e}-auto-complete`,ref:"triggerElRef",onKeydown:this.handleKeyDown,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>{const e=this.$slots.default;if(e)return JB(0,e,{handleInput:this.handleInput,handleFocus:this.handleFocus,handleBlur:this.handleBlur,value:this.mergedValue});const{mergedTheme:t}=this;return Jr(BY,{ref:"inputInstRef",status:this.mergedStatus,theme:t.peers.Input,themeOverrides:t.peerOverrides.Input,bordered:this.mergedBordered,value:this.mergedValue,placeholder:this.placeholder,size:this.mergedSize,disabled:this.mergedDisabled,clearable:this.clearable,loading:this.loading,inputProps:this.inputProps,onClear:this.handleClear,onFocus:this.handleFocus,onUpdateValue:this.handleInput,onBlur:this.handleBlur},{suffix:()=>{var e,t;return null===(t=(e=this.$slots).suffix)||void 0===t?void 0:t.call(e)},prefix:()=>{var e,t;return null===(t=(e=this.$slots).prefix)||void 0===t?void 0:t.call(e)}})}}),Jr(FI,{show:this.active,to:this.adjustedTo,containerClass:this.namespace,zIndex:this.zIndex,teleportDisabled:this.adjustedTo===ID.tdkey,placement:this.placement,width:"target"},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>{var t;if(null===(t=this.onRender)||void 0===t||t.call(this),!this.active)return null;const{menuProps:n}=this;return on(Jr(AK,Object.assign({},n,{clsPrefix:e,ref:"menuInstRef",theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,"auto-pending":!0,class:[`${e}-auto-complete-menu`,this.themeClass,null==n?void 0:n.class],style:[null==n?void 0:n.style,this.cssVars],treeMate:this.treeMate,multiple:!1,renderLabel:this.renderLabel,renderOption:this.renderOption,size:"medium",onToggle:this.handleToggle}),{empty:()=>{var e,t;return null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)}}),[[sI,this.handleClickOutsideMenu,void 0,{capture:!0}]])}})})]}))}}),XY=ED&&"loading"in document.createElement("img");const ZY=new WeakMap,QY=new WeakMap,JY=new WeakMap,eG=(e,t,n)=>{if(!e)return()=>{};const o=function(e={}){var t;const{root:n=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):null!==(t=e.threshold)&&void 0!==t?t:"0"}`,options:Object.assign(Object.assign({},e),{root:("string"==typeof n?document.querySelector(n):n)||document.documentElement})}}(t),{root:r}=o.options;let a;const i=ZY.get(r);let l,s;i?a=i:(a=new Map,ZY.set(r,a)),a.has(o.hash)?(s=a.get(o.hash),s[1].has(e)||(l=s[0],s[1].add(e),l.observe(e))):(l=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=QY.get(e.target),n=JY.get(e.target);t&&t(),n&&(n.value=!0)}}))}),o.options),l.observe(e),s=[l,new Set([e])],a.set(o.hash,s));let d=!1;const c=()=>{d||(QY.delete(e),JY.delete(e),d=!0,s[1].has(e)&&(s[0].unobserve(e),s[1].delete(e)),s[1].size<=0&&a.delete(o.hash),a.size||ZY.delete(r))};return QY.set(e,c),JY.set(e,n),c};function tG(e){const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:a,heightSmall:i,heightMedium:l,heightLarge:s,heightHuge:d,modalColor:c,popoverColor:u}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:a,heightSmall:i,heightMedium:l,heightLarge:s,heightHuge:d,color:OO(o,n),colorModal:OO(c,n),colorPopover:OO(u,n)}}const nG={name:"Avatar",common:Eq,self:tG},oG={name:"Avatar",common:KU,self:tG};function rG(){return{gap:"-12px"}}const aG={name:"AvatarGroup",common:Eq,peers:{Avatar:nG},self:rG},iG={name:"AvatarGroup",common:KU,peers:{Avatar:oG},self:rG},lG={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},sG={name:"BackTop",common:KU,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},lG),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}};const dG={name:"BackTop",common:Eq,self:function(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},lG),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},cG={name:"Badge",common:KU,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:a}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:a}}};const uG={name:"Badge",common:Eq,self:function(e){const{errorColor:t,infoColor:n,successColor:o,warningColor:r,fontFamily:a}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:a}}},hG={fontWeightActive:"400"};function pG(e){const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:a,buttonColor2Pressed:i}=e;return Object.assign(Object.assign({},hG),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:a,itemColorPressed:i,separatorColor:n})}const fG={name:"Breadcrumb",common:Eq,self:pG},mG={name:"Breadcrumb",common:KU,self:pG};function vG(e){return OO(e,[255,255,255,.16])}function gG(e){return OO(e,[0,0,0,.12])}const bG="n-button-group",yG={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};function _G(e){const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:a,fontSizeTiny:i,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:c,textColor2:u,textColor3:h,primaryColorHover:p,primaryColorPressed:f,borderColor:m,primaryColor:v,baseColor:g,infoColor:b,infoColorHover:y,infoColorPressed:_,successColor:x,successColorHover:C,successColorPressed:w,warningColor:S,warningColorHover:k,warningColorPressed:P,errorColor:T,errorColorHover:R,errorColorPressed:F,fontWeight:z,buttonColor2:M,buttonColor2Hover:$,buttonColor2Pressed:A,fontWeightStrong:O}=e;return Object.assign(Object.assign({},yG),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:a,borderRadiusSmall:a,borderRadiusMedium:a,borderRadiusLarge:a,fontSizeTiny:i,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:c,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:M,colorSecondaryHover:$,colorSecondaryPressed:A,colorTertiary:M,colorTertiaryHover:$,colorTertiaryPressed:A,colorQuaternary:"#0000",colorQuaternaryHover:$,colorQuaternaryPressed:A,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:u,textColorTertiary:h,textColorHover:p,textColorPressed:f,textColorFocus:p,textColorDisabled:u,textColorText:u,textColorTextHover:p,textColorTextPressed:f,textColorTextFocus:p,textColorTextDisabled:u,textColorGhost:u,textColorGhostHover:p,textColorGhostPressed:f,textColorGhostFocus:p,textColorGhostDisabled:u,border:`1px solid ${m}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${f}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${m}`,rippleColor:v,colorPrimary:v,colorHoverPrimary:p,colorPressedPrimary:f,colorFocusPrimary:p,colorDisabledPrimary:v,textColorPrimary:g,textColorHoverPrimary:g,textColorPressedPrimary:g,textColorFocusPrimary:g,textColorDisabledPrimary:g,textColorTextPrimary:v,textColorTextHoverPrimary:p,textColorTextPressedPrimary:f,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:u,textColorGhostPrimary:v,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:f,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:v,borderPrimary:`1px solid ${v}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${f}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${v}`,rippleColorPrimary:v,colorInfo:b,colorHoverInfo:y,colorPressedInfo:_,colorFocusInfo:y,colorDisabledInfo:b,textColorInfo:g,textColorHoverInfo:g,textColorPressedInfo:g,textColorFocusInfo:g,textColorDisabledInfo:g,textColorTextInfo:b,textColorTextHoverInfo:y,textColorTextPressedInfo:_,textColorTextFocusInfo:y,textColorTextDisabledInfo:u,textColorGhostInfo:b,textColorGhostHoverInfo:y,textColorGhostPressedInfo:_,textColorGhostFocusInfo:y,textColorGhostDisabledInfo:b,borderInfo:`1px solid ${b}`,borderHoverInfo:`1px solid ${y}`,borderPressedInfo:`1px solid ${_}`,borderFocusInfo:`1px solid ${y}`,borderDisabledInfo:`1px solid ${b}`,rippleColorInfo:b,colorSuccess:x,colorHoverSuccess:C,colorPressedSuccess:w,colorFocusSuccess:C,colorDisabledSuccess:x,textColorSuccess:g,textColorHoverSuccess:g,textColorPressedSuccess:g,textColorFocusSuccess:g,textColorDisabledSuccess:g,textColorTextSuccess:x,textColorTextHoverSuccess:C,textColorTextPressedSuccess:w,textColorTextFocusSuccess:C,textColorTextDisabledSuccess:u,textColorGhostSuccess:x,textColorGhostHoverSuccess:C,textColorGhostPressedSuccess:w,textColorGhostFocusSuccess:C,textColorGhostDisabledSuccess:x,borderSuccess:`1px solid ${x}`,borderHoverSuccess:`1px solid ${C}`,borderPressedSuccess:`1px solid ${w}`,borderFocusSuccess:`1px solid ${C}`,borderDisabledSuccess:`1px solid ${x}`,rippleColorSuccess:x,colorWarning:S,colorHoverWarning:k,colorPressedWarning:P,colorFocusWarning:k,colorDisabledWarning:S,textColorWarning:g,textColorHoverWarning:g,textColorPressedWarning:g,textColorFocusWarning:g,textColorDisabledWarning:g,textColorTextWarning:S,textColorTextHoverWarning:k,textColorTextPressedWarning:P,textColorTextFocusWarning:k,textColorTextDisabledWarning:u,textColorGhostWarning:S,textColorGhostHoverWarning:k,textColorGhostPressedWarning:P,textColorGhostFocusWarning:k,textColorGhostDisabledWarning:S,borderWarning:`1px solid ${S}`,borderHoverWarning:`1px solid ${k}`,borderPressedWarning:`1px solid ${P}`,borderFocusWarning:`1px solid ${k}`,borderDisabledWarning:`1px solid ${S}`,rippleColorWarning:S,colorError:T,colorHoverError:R,colorPressedError:F,colorFocusError:R,colorDisabledError:T,textColorError:g,textColorHoverError:g,textColorPressedError:g,textColorFocusError:g,textColorDisabledError:g,textColorTextError:T,textColorTextHoverError:R,textColorTextPressedError:F,textColorTextFocusError:R,textColorTextDisabledError:u,textColorGhostError:T,textColorGhostHoverError:R,textColorGhostPressedError:F,textColorGhostFocusError:R,textColorGhostDisabledError:T,borderError:`1px solid ${T}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${F}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${T}`,rippleColorError:T,waveOpacity:"0.6",fontWeight:z,fontWeightStrong:O})}const xG={name:"Button",common:Eq,self:_G},CG={name:"Button",common:KU,self(e){const t=_G(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},wG=BA([LA("button","\n margin: 0;\n font-weight: var(--n-font-weight);\n line-height: 1;\n font-family: inherit;\n padding: var(--n-padding);\n height: var(--n-height);\n font-size: var(--n-font-size);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n width: var(--n-width);\n white-space: nowrap;\n outline: none;\n position: relative;\n z-index: auto;\n border: none;\n display: inline-flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n user-select: none;\n -webkit-user-select: none;\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[NA("color",[jA("border",{borderColor:"var(--n-border-color)"}),NA("disabled",[jA("border",{borderColor:"var(--n-border-color-disabled)"})]),HA("disabled",[BA("&:focus",[jA("state-border",{borderColor:"var(--n-border-color-focus)"})]),BA("&:hover",[jA("state-border",{borderColor:"var(--n-border-color-hover)"})]),BA("&:active",[jA("state-border",{borderColor:"var(--n-border-color-pressed)"})]),NA("pressed",[jA("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),NA("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[jA("border",{border:"var(--n-border-disabled)"})]),HA("disabled",[BA("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[jA("state-border",{border:"var(--n-border-focus)"})]),BA("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[jA("state-border",{border:"var(--n-border-hover)"})]),BA("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[jA("state-border",{border:"var(--n-border-pressed)"})]),NA("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[jA("state-border",{border:"var(--n-border-pressed)"})])]),NA("loading","cursor: wait;"),LA("base-wave","\n pointer-events: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n animation-iteration-count: 1;\n animation-duration: var(--n-ripple-duration);\n animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);\n ",[NA("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),ED&&"MozBoxSizing"in document.createElement("div").style?BA("&::moz-focus-inner",{border:0}):null,jA("border, state-border","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: inherit;\n transition: border-color .3s var(--n-bezier);\n pointer-events: none;\n "),jA("border",{border:"var(--n-border)"}),jA("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),jA("icon","\n margin: var(--n-icon-margin);\n margin-left: 0;\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n max-width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n position: relative;\n flex-shrink: 0;\n ",[LA("icon-slot","\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n ",[MV({top:"50%",originalTransform:"translateY(-50%)"})]),hY()]),jA("content","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n min-width: 0;\n ",[BA("~",[jA("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),NA("block","\n display: flex;\n width: 100%;\n "),NA("dashed",[jA("border, state-border",{borderStyle:"dashed !important"})]),NA("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),BA("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),BA("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),SG=$n({name:"Button",props:Object.assign(Object.assign({},HW.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!TY}}),slots:Object,setup(e){const t=vt(null),n=vt(null),o=vt(!1),r=oD((()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered)),a=Ro(bG,{}),{mergedSizeRef:i}=bE({},{defaultSize:"medium",mergedSize:t=>{const{size:n}=e;if(n)return n;const{size:o}=a;if(o)return o;const{mergedSize:r}=t||{};return r?r.value:"medium"}}),l=Qr((()=>e.focusable&&!e.disabled)),{inlineThemeDisabled:s,mergedClsPrefixRef:d,mergedRtlRef:c}=fE(e),u=HW("Button","-button",wG,xG,e,d),h=DW("Button",c,d),p=Qr((()=>{const t=u.value,{common:{cubicBezierEaseInOut:n,cubicBezierEaseOut:o},self:r}=t,{rippleDuration:a,opacityDisabled:l,fontWeight:s,fontWeightStrong:d}=r,c=i.value,{dashed:h,type:p,ghost:f,text:m,color:v,round:g,circle:b,textColor:y,secondary:_,tertiary:x,quaternary:C,strong:w}=e,S={"--n-font-weight":w?d:s};let k={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const P="tertiary"===p,T="default"===p,R=P?"default":p;if(m){const e=y||v;k={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":e||r[KA("textColorText",R)],"--n-text-color-hover":e?vG(e):r[KA("textColorTextHover",R)],"--n-text-color-pressed":e?gG(e):r[KA("textColorTextPressed",R)],"--n-text-color-focus":e?vG(e):r[KA("textColorTextHover",R)],"--n-text-color-disabled":e||r[KA("textColorTextDisabled",R)]}}else if(f||h){const e=y||v;k={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":v||r[KA("rippleColor",R)],"--n-text-color":e||r[KA("textColorGhost",R)],"--n-text-color-hover":e?vG(e):r[KA("textColorGhostHover",R)],"--n-text-color-pressed":e?gG(e):r[KA("textColorGhostPressed",R)],"--n-text-color-focus":e?vG(e):r[KA("textColorGhostHover",R)],"--n-text-color-disabled":e||r[KA("textColorGhostDisabled",R)]}}else if(_){const e=T?r.textColor:P?r.textColorTertiary:r[KA("color",R)],t=v||e,n="default"!==p&&"tertiary"!==p;k={"--n-color":n?DO(t,{alpha:Number(r.colorOpacitySecondary)}):r.colorSecondary,"--n-color-hover":n?DO(t,{alpha:Number(r.colorOpacitySecondaryHover)}):r.colorSecondaryHover,"--n-color-pressed":n?DO(t,{alpha:Number(r.colorOpacitySecondaryPressed)}):r.colorSecondaryPressed,"--n-color-focus":n?DO(t,{alpha:Number(r.colorOpacitySecondaryHover)}):r.colorSecondaryHover,"--n-color-disabled":r.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":t,"--n-text-color-hover":t,"--n-text-color-pressed":t,"--n-text-color-focus":t,"--n-text-color-disabled":t}}else if(x||C){const e=T?r.textColor:P?r.textColorTertiary:r[KA("color",R)],t=v||e;x?(k["--n-color"]=r.colorTertiary,k["--n-color-hover"]=r.colorTertiaryHover,k["--n-color-pressed"]=r.colorTertiaryPressed,k["--n-color-focus"]=r.colorSecondaryHover,k["--n-color-disabled"]=r.colorTertiary):(k["--n-color"]=r.colorQuaternary,k["--n-color-hover"]=r.colorQuaternaryHover,k["--n-color-pressed"]=r.colorQuaternaryPressed,k["--n-color-focus"]=r.colorQuaternaryHover,k["--n-color-disabled"]=r.colorQuaternary),k["--n-ripple-color"]="#0000",k["--n-text-color"]=t,k["--n-text-color-hover"]=t,k["--n-text-color-pressed"]=t,k["--n-text-color-focus"]=t,k["--n-text-color-disabled"]=t}else k={"--n-color":v||r[KA("color",R)],"--n-color-hover":v?vG(v):r[KA("colorHover",R)],"--n-color-pressed":v?gG(v):r[KA("colorPressed",R)],"--n-color-focus":v?vG(v):r[KA("colorFocus",R)],"--n-color-disabled":v||r[KA("colorDisabled",R)],"--n-ripple-color":v||r[KA("rippleColor",R)],"--n-text-color":y||(v?r.textColorPrimary:P?r.textColorTertiary:r[KA("textColor",R)]),"--n-text-color-hover":y||(v?r.textColorHoverPrimary:r[KA("textColorHover",R)]),"--n-text-color-pressed":y||(v?r.textColorPressedPrimary:r[KA("textColorPressed",R)]),"--n-text-color-focus":y||(v?r.textColorFocusPrimary:r[KA("textColorFocus",R)]),"--n-text-color-disabled":y||(v?r.textColorDisabledPrimary:r[KA("textColorDisabled",R)])};let F={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};F=m?{"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:{"--n-border":r[KA("border",R)],"--n-border-hover":r[KA("borderHover",R)],"--n-border-pressed":r[KA("borderPressed",R)],"--n-border-focus":r[KA("borderFocus",R)],"--n-border-disabled":r[KA("borderDisabled",R)]};const{[KA("height",c)]:z,[KA("fontSize",c)]:M,[KA("padding",c)]:$,[KA("paddingRound",c)]:A,[KA("iconSize",c)]:O,[KA("borderRadius",c)]:D,[KA("iconMargin",c)]:I,waveOpacity:B}=r,E={"--n-width":b&&!m?z:"initial","--n-height":m?"initial":z,"--n-font-size":M,"--n-padding":b||m?"initial":g?A:$,"--n-icon-size":O,"--n-icon-margin":I,"--n-border-radius":m?"initial":b||g?z:D};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":n,"--n-bezier-ease-out":o,"--n-ripple-duration":a,"--n-opacity-disabled":l,"--n-wave-opacity":B},S),k),F),E)})),f=s?vE("button",Qr((()=>{let t="";const{dashed:n,type:o,ghost:r,text:a,color:l,round:s,circle:d,textColor:c,secondary:u,tertiary:h,quaternary:p,strong:f}=e;n&&(t+="a"),r&&(t+="b"),a&&(t+="c"),s&&(t+="d"),d&&(t+="e"),u&&(t+="f"),h&&(t+="g"),p&&(t+="h"),f&&(t+="i"),l&&(t+=`j${IB(l)}`),c&&(t+=`k${IB(c)}`);const{value:m}=i;return t+=`l${m[0]}`,t+=`m${o[0]}`,t})),p,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:d,mergedFocusable:l,mergedSize:i,showBorder:r,enterPressed:o,rtlEnabled:h,handleMousedown:n=>{var o;l.value||n.preventDefault(),e.nativeFocusBehavior||(n.preventDefault(),e.disabled||l.value&&(null===(o=t.value)||void 0===o||o.focus({preventScroll:!0})))},handleKeydown:t=>{if("Enter"===t.key){if(!e.keyboard||e.loading)return void t.preventDefault();o.value=!0}},handleBlur:()=>{o.value=!1},handleKeyup:t=>{if("Enter"===t.key){if(!e.keyboard)return;o.value=!1}},handleClick:t=>{var o;if(!e.disabled&&!e.loading){const{onClick:r}=e;r&&GB(r,t),e.text||null===(o=n.value)||void 0===o||o.play()}},customColorCssVars:Qr((()=>{const{color:t}=e;if(!t)return null;const n=vG(t);return{"--n-border-color":t,"--n-border-color-hover":n,"--n-border-color-pressed":gG(t),"--n-border-color-focus":n,"--n-border-color-disabled":t}})),cssVars:s?void 0:p,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;null==n||n();const o=dE(this.$slots.default,(t=>t&&Jr("span",{class:`${e}-button__content`},t)));return Jr(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},"right"===this.iconPlacement&&o,Jr(IV,{width:!0},{default:()=>dE(this.$slots.icon,(t=>(this.loading||this.renderIcon||t)&&Jr("span",{class:`${e}-button__icon`,style:{margin:cE(this.$slots.default)?"0":""}},Jr(UW,null,{default:()=>this.loading?Jr(NV,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):Jr("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():t)}))))}),"left"===this.iconPlacement&&o,this.text?null:Jr(fY,{ref:"waveElRef",clsPrefix:e}),this.showBorder?Jr("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?Jr("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),kG=SG,PG="0!important",TG="-1px!important";function RG(e){return NA(`${e}-type`,[BA("& +",[LA("button",{},[NA(`${e}-type`,[jA("border",{borderLeftWidth:PG}),jA("state-border",{left:TG})])])])])}function FG(e){return NA(`${e}-type`,[BA("& +",[LA("button",[NA(`${e}-type`,[jA("border",{borderTopWidth:PG}),jA("state-border",{top:TG})])])])])}const zG=LA("button-group","\n flex-wrap: nowrap;\n display: inline-flex;\n position: relative;\n",[HA("vertical",{flexDirection:"row"},[HA("rtl",[LA("button",[BA("&:first-child:not(:last-child)",`\n margin-right: ${PG};\n border-top-right-radius: ${PG};\n border-bottom-right-radius: ${PG};\n `),BA("&:last-child:not(:first-child)",`\n margin-left: ${PG};\n border-top-left-radius: ${PG};\n border-bottom-left-radius: ${PG};\n `),BA("&:not(:first-child):not(:last-child)",`\n margin-left: ${PG};\n margin-right: ${PG};\n border-radius: ${PG};\n `),RG("default"),NA("ghost",[RG("primary"),RG("info"),RG("success"),RG("warning"),RG("error")])])])]),NA("vertical",{flexDirection:"column"},[LA("button",[BA("&:first-child:not(:last-child)",`\n margin-bottom: ${PG};\n margin-left: ${PG};\n margin-right: ${PG};\n border-bottom-left-radius: ${PG};\n border-bottom-right-radius: ${PG};\n `),BA("&:last-child:not(:first-child)",`\n margin-top: ${PG};\n margin-left: ${PG};\n margin-right: ${PG};\n border-top-left-radius: ${PG};\n border-top-right-radius: ${PG};\n `),BA("&:not(:first-child):not(:last-child)",`\n margin: ${PG};\n border-radius: ${PG};\n `),FG("default"),NA("ghost",[FG("primary"),FG("info"),FG("success"),FG("warning"),FG("error")])])])]),MG=$n({name:"ButtonGroup",props:{size:{type:String,default:void 0},vertical:Boolean},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e);NW("-button-group",zG,t),To(bG,e);return{rtlEnabled:DW("ButtonGroup",n,t),mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}});function $G(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function AG(e,t){const n=FE(e);return isNaN(t)?$G(e,NaN):t?(n.setDate(n.getDate()+t),n):n}function OG(e,t){const n=FE(e);if(isNaN(t))return $G(e,NaN);if(!t)return n;const o=n.getDate(),r=$G(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);return o>=r.getDate()?r:(n.setFullYear(r.getFullYear(),r.getMonth(),o),n)}const DG=6048e5;function IG(e){return $E(e,{weekStartsOn:1})}function BG(e){const t=FE(e),n=t.getFullYear(),o=$G(e,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);const r=IG(o),a=$G(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=IG(a);return t.getTime()>=r.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function EG(e){const t=FE(e);return t.setHours(0,0,0,0),t}function LG(e){const t=FE(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function jG(e,t){return OG(e,12*t)}function NG(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=FE(e);return!isNaN(Number(n))}function HG(e){const t=FE(e);return Math.trunc(t.getMonth()/3)+1}function WG(e){const t=FE(e),n=t.getMonth(),o=n-n%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}function VG(e){const t=FE(e);return t.setDate(1),t.setHours(0,0,0,0),t}function UG(e){const t=FE(e),n=$G(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function qG(e){const t=FE(e);return function(e,t){const n=EG(e),o=EG(t),r=+n-LG(n),a=+o-LG(o);return Math.round((r-a)/864e5)}(t,UG(t))+1}function KG(e){const t=FE(e),n=+IG(t)-+function(e){const t=BG(e),n=$G(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),IG(n)}(t);return Math.round(n/DG)+1}function YG(e,t){var n,o,r,a;const i=FE(e),l=i.getFullYear(),s=ME(),d=(null==t?void 0:t.firstWeekContainsDate)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.firstWeekContainsDate)??s.firstWeekContainsDate??(null==(a=null==(r=s.locale)?void 0:r.options)?void 0:a.firstWeekContainsDate)??1,c=$G(e,0);c.setFullYear(l+1,0,d),c.setHours(0,0,0,0);const u=$E(c,t),h=$G(e,0);h.setFullYear(l,0,d),h.setHours(0,0,0,0);const p=$E(h,t);return i.getTime()>=u.getTime()?l+1:i.getTime()>=p.getTime()?l:l-1}function GG(e,t){const n=FE(e),o=+$E(n,t)-+function(e,t){var n,o,r,a;const i=ME(),l=(null==t?void 0:t.firstWeekContainsDate)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.firstWeekContainsDate)??i.firstWeekContainsDate??(null==(a=null==(r=i.locale)?void 0:r.options)?void 0:a.firstWeekContainsDate)??1,s=YG(e,t),d=$G(e,0);return d.setFullYear(s,0,l),d.setHours(0,0,0,0),$E(d,t)}(n,t);return Math.round(o/DG)+1}function XG(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const ZG={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return XG("yy"===t?o%100:o,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):XG(n+1,2)},d:(e,t)=>XG(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>XG(e.getHours()%12||12,t.length),H:(e,t)=>XG(e.getHours(),t.length),m:(e,t)=>XG(e.getMinutes(),t.length),s:(e,t)=>XG(e.getSeconds(),t.length),S(e,t){const n=t.length,o=e.getMilliseconds();return XG(Math.trunc(o*Math.pow(10,n-3)),t.length)}},QG="midnight",JG="noon",eX="morning",tX="afternoon",nX="evening",oX="night",rX={G:function(e,t,n){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),o=t>0?t:1-t;return n.ordinalNumber(o,{unit:"year"})}return ZG.y(e,t)},Y:function(e,t,n,o){const r=YG(e,o),a=r>0?r:1-r;if("YY"===t){return XG(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):XG(a,t.length)},R:function(e,t){return XG(BG(e),t.length)},u:function(e,t){return XG(e.getFullYear(),t.length)},Q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return XG(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return XG(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){const o=e.getMonth();switch(t){case"M":case"MM":return ZG.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return XG(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){const r=GG(e,o);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):XG(r,t.length)},I:function(e,t,n){const o=KG(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):XG(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):ZG.d(e,t)},D:function(e,t,n){const o=qG(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):XG(o,t.length)},E:function(e,t,n){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){const r=e.getDay(),a=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return XG(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){const r=e.getDay(),a=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return XG(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const o=e.getDay(),r=0===o?7:o;switch(t){case"i":return String(r);case"ii":return XG(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const o=e.getHours();let r;switch(r=12===o?JG:0===o?QG:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const o=e.getHours();let r;switch(r=o>=17?nX:o>=12?tX:o>=4?eX:oX,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return ZG.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):ZG.H(e,t)},K:function(e,t,n){const o=e.getHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):XG(o,t.length)},k:function(e,t,n){let o=e.getHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):XG(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ZG.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ZG.s(e,t)},S:function(e,t){return ZG.S(e,t)},X:function(e,t,n){const o=e.getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return iX(o);case"XXXX":case"XX":return lX(o);default:return lX(o,":")}},x:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"x":return iX(o);case"xxxx":case"xx":return lX(o);default:return lX(o,":")}},O:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+aX(o,":");default:return"GMT"+lX(o,":")}},z:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+aX(o,":");default:return"GMT"+lX(o,":")}},t:function(e,t,n){return XG(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return XG(e.getTime(),t.length)}};function aX(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.trunc(o/60),a=o%60;return 0===a?n+String(r):n+String(r)+t+XG(a,2)}function iX(e,t){if(e%60==0){return(e>0?"-":"+")+XG(Math.abs(e)/60,2)}return lX(e,t)}function lX(e,t=""){const n=e>0?"-":"+",o=Math.abs(e);return n+XG(Math.trunc(o/60),2)+t+XG(o%60,2)}const sX=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},dX=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},cX={p:dX,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return sX(e,t);let a;switch(o){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",sX(o,t)).replace("{{time}}",dX(r,t))}},uX=/^D+$/,hX=/^Y+$/,pX=["D","DD","YY","YYYY"];function fX(e){return uX.test(e)}function mX(e){return hX.test(e)}function vX(e,t,n){const o=function(e,t,n){const o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(pX.includes(e))throw new RangeError(o)}const gX=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,bX=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yX=/^'([^]*?)'?$/,_X=/''/g,xX=/[a-zA-Z]/;function CX(e,t,n){var o,r,a,i,l,s,d,c;const u=ME(),h=(null==n?void 0:n.locale)??u.locale??EE,p=(null==n?void 0:n.firstWeekContainsDate)??(null==(r=null==(o=null==n?void 0:n.locale)?void 0:o.options)?void 0:r.firstWeekContainsDate)??u.firstWeekContainsDate??(null==(i=null==(a=u.locale)?void 0:a.options)?void 0:i.firstWeekContainsDate)??1,f=(null==n?void 0:n.weekStartsOn)??(null==(s=null==(l=null==n?void 0:n.locale)?void 0:l.options)?void 0:s.weekStartsOn)??u.weekStartsOn??(null==(c=null==(d=u.locale)?void 0:d.options)?void 0:c.weekStartsOn)??0,m=FE(e);if(!NG(m))throw new RangeError("Invalid time value");let v=t.match(bX).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,cX[t])(e,h.formatLong)}return e})).join("").match(gX).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:wX(e)};if(rX[t])return{isToken:!0,value:e};if(t.match(xX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));h.localize.preprocessor&&(v=h.localize.preprocessor(m,v));const g={firstWeekContainsDate:p,weekStartsOn:f,locale:h};return v.map((o=>{if(!o.isToken)return o.value;const r=o.value;(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&mX(r)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&fX(r))&&vX(r,t,String(e));return(0,rX[r[0]])(m,r,h.localize,g)})).join("")}function wX(e){const t=e.match(yX);return t?t[1].replace(_X,"'"):e}function SX(e){return FE(e).getDate()}function kX(){return Object.assign({},ME())}function PX(e){return FE(e).getHours()}function TX(e){return FE(e).getMinutes()}function RX(e){return FE(e).getMonth()}function FX(e){return FE(e).getSeconds()}function zX(e){return FE(e).getTime()}function MX(e){return FE(e).getFullYear()}class $X{constructor(){t(this,"subPriority",0)}validate(e,t){return!0}}class AX extends $X{constructor(e,t,n,o,r){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=o,r&&(this.subPriority=r)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class OX extends $X{constructor(){super(...arguments),t(this,"priority",10),t(this,"subPriority",-1)}set(e,t){return t.timestampIsSet?e:$G(e,function(e,t){const n=t instanceof Date?$G(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,Date))}}class DX{run(e,t,n,o){const r=this.parse(e,t,n,o);return r?{setter:new AX(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,n){return!0}}const IX=/^(1[0-2]|0?\d)/,BX=/^(3[0-1]|[0-2]?\d)/,EX=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,LX=/^(5[0-3]|[0-4]?\d)/,jX=/^(2[0-3]|[0-1]?\d)/,NX=/^(2[0-4]|[0-1]?\d)/,HX=/^(1[0-1]|0?\d)/,WX=/^(1[0-2]|0?\d)/,VX=/^[0-5]?\d/,UX=/^[0-5]?\d/,qX=/^\d/,KX=/^\d{1,2}/,YX=/^\d{1,3}/,GX=/^\d{1,4}/,XX=/^-?\d+/,ZX=/^-?\d/,QX=/^-?\d{1,2}/,JX=/^-?\d{1,3}/,eZ=/^-?\d{1,4}/,tZ=/^([+-])(\d{2})(\d{2})?|Z/,nZ=/^([+-])(\d{2})(\d{2})|Z/,oZ=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,rZ=/^([+-])(\d{2}):(\d{2})|Z/,aZ=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function iZ(e,t){return e?{value:t(e.value),rest:e.rest}:e}function lZ(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function sZ(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};return{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}}function dZ(e){return lZ(XX,e)}function cZ(e,t){switch(e){case 1:return lZ(qX,t);case 2:return lZ(KX,t);case 3:return lZ(YX,t);case 4:return lZ(GX,t);default:return lZ(new RegExp("^\\d{1,"+e+"}"),t)}}function uZ(e,t){switch(e){case 1:return lZ(ZX,t);case 2:return lZ(QX,t);case 3:return lZ(JX,t);case 4:return lZ(eZ,t);default:return lZ(new RegExp("^-?\\d{1,"+e+"}"),t)}}function hZ(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function pZ(e,t){const n=t>0,o=n?t:1-t;let r;if(o<=50)r=e||100;else{const t=o+50;r=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?r:1-r}function fZ(e){return e%400==0||e%4==0&&e%100!=0}const mZ=[31,28,31,30,31,30,31,31,30,31,30,31],vZ=[31,29,31,30,31,30,31,31,30,31,30,31];function gZ(e,t,n){var o,r,a,i;const l=ME(),s=(null==n?void 0:n.weekStartsOn)??(null==(r=null==(o=null==n?void 0:n.locale)?void 0:o.options)?void 0:r.weekStartsOn)??l.weekStartsOn??(null==(i=null==(a=l.locale)?void 0:a.options)?void 0:i.weekStartsOn)??0,d=FE(e),c=d.getDay(),u=7-s;return AG(d,t<0||t>6?t-(c+u)%7:((t%7+7)%7+u)%7-(c+u)%7)}function bZ(e,t){const n=FE(e),o=function(e){let t=FE(e).getDay();return 0===t&&(t=7),t}(n);return AG(n,t-o)}const yZ={G:new class extends DX{constructor(){super(...arguments),t(this,"priority",140),t(this,"incompatibleTokens",["R","u","t","T"])}parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}},y:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,t,n){const o=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return iZ(cZ(4,e),o);case"yo":return iZ(n.ordinalNumber(e,{unit:"year"}),o);default:return iZ(cZ(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const o=e.getFullYear();if(n.isTwoDigitYear){const t=pZ(n.year,o);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}},Y:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,t,n){const o=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return iZ(cZ(4,e),o);case"Yo":return iZ(n.ordinalNumber(e,{unit:"year"}),o);default:return iZ(cZ(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){const r=YG(e,o);if(n.isTwoDigitYear){const t=pZ(n.year,r);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),$E(e,o)}const a="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(a,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),$E(e,o)}},R:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,t){return uZ("R"===t?4:t.length,e)}set(e,t,n){const o=$G(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),IG(o)}},u:new class extends DX{constructor(){super(...arguments),t(this,"priority",130),t(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,t){return uZ("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}},Q:new class extends DX{constructor(){super(...arguments),t(this,"priority",120),t(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"Q":case"QQ":return cZ(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}},q:new class extends DX{constructor(){super(...arguments),t(this,"priority",120),t(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"q":case"qq":return cZ(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}},M:new class extends DX{constructor(){super(...arguments),t(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),t(this,"priority",110)}parse(e,t,n){const o=e=>e-1;switch(t){case"M":return iZ(lZ(IX,e),o);case"MM":return iZ(cZ(2,e),o);case"Mo":return iZ(n.ordinalNumber(e,{unit:"month"}),o);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends DX{constructor(){super(...arguments),t(this,"priority",110),t(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,t,n){const o=e=>e-1;switch(t){case"L":return iZ(lZ(IX,e),o);case"LL":return iZ(cZ(2,e),o);case"Lo":return iZ(n.ordinalNumber(e,{unit:"month"}),o);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},w:new class extends DX{constructor(){super(...arguments),t(this,"priority",100),t(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,t,n){switch(t){case"w":return lZ(LX,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return $E(function(e,t,n){const o=FE(e),r=GG(o,n)-t;return o.setDate(o.getDate()-7*r),o}(e,n,o),o)}},I:new class extends DX{constructor(){super(...arguments),t(this,"priority",100),t(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,t,n){switch(t){case"I":return lZ(LX,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return IG(function(e,t){const n=FE(e),o=KG(n)-t;return n.setDate(n.getDate()-7*o),n}(e,n))}},d:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"subPriority",1),t(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"d":return lZ(BX,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return cZ(t.length,e)}}validate(e,t){const n=fZ(e.getFullYear()),o=e.getMonth();return n?t>=1&&t<=vZ[o]:t>=1&&t<=mZ[o]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}},D:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"subpriority",1),t(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,t,n){switch(t){case"D":case"DD":return lZ(EX,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return cZ(t.length,e)}}validate(e,t){return fZ(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}},E:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gZ(e,n,o)).setHours(0,0,0,0),e}},e:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,t,n,o){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return iZ(cZ(t.length,e),r);case"eo":return iZ(n.ordinalNumber(e,{unit:"day"}),r);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gZ(e,n,o)).setHours(0,0,0,0),e}},c:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,t,n,o){const r=e=>{const t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return iZ(cZ(t.length,e),r);case"co":return iZ(n.ordinalNumber(e,{unit:"day"}),r);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gZ(e,n,o)).setHours(0,0,0,0),e}},i:new class extends DX{constructor(){super(...arguments),t(this,"priority",90),t(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,t,n){const o=e=>0===e?7:e;switch(t){case"i":case"ii":return cZ(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return iZ(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return iZ(n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return iZ(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);default:return iZ(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=bZ(e,n)).setHours(0,0,0,0),e}},a:new class extends DX{constructor(){super(...arguments),t(this,"priority",80),t(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(hZ(n),0,0,0),e}},b:new class extends DX{constructor(){super(...arguments),t(this,"priority",80),t(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(hZ(n),0,0,0),e}},B:new class extends DX{constructor(){super(...arguments),t(this,"priority",80),t(this,"incompatibleTokens",["a","b","t","T"])}parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(hZ(n),0,0,0),e}},h:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,t,n){switch(t){case"h":return lZ(WX,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const o=e.getHours()>=12;return o&&n<12?e.setHours(n+12,0,0,0):o||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}},H:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,t,n){switch(t){case"H":return lZ(jX,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}},K:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,t,n){switch(t){case"K":return lZ(HX,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}},k:new class extends DX{constructor(){super(...arguments),t(this,"priority",70),t(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,t,n){switch(t){case"k":return lZ(NX,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return cZ(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const o=n<=24?n%24:n;return e.setHours(o,0,0,0),e}},m:new class extends DX{constructor(){super(...arguments),t(this,"priority",60),t(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"m":return lZ(VX,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}},s:new class extends DX{constructor(){super(...arguments),t(this,"priority",50),t(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"s":return lZ(UX,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return cZ(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}},S:new class extends DX{constructor(){super(...arguments),t(this,"priority",30),t(this,"incompatibleTokens",["t","T"])}parse(e,t){return iZ(cZ(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}},X:new class extends DX{constructor(){super(...arguments),t(this,"priority",10),t(this,"incompatibleTokens",["t","T","x"])}parse(e,t){switch(t){case"X":return sZ(tZ,e);case"XX":return sZ(nZ,e);case"XXXX":return sZ(oZ,e);case"XXXXX":return sZ(aZ,e);default:return sZ(rZ,e)}}set(e,t,n){return t.timestampIsSet?e:$G(e,e.getTime()-LG(e)-n)}},x:new class extends DX{constructor(){super(...arguments),t(this,"priority",10),t(this,"incompatibleTokens",["t","T","X"])}parse(e,t){switch(t){case"x":return sZ(tZ,e);case"xx":return sZ(nZ,e);case"xxxx":return sZ(oZ,e);case"xxxxx":return sZ(aZ,e);default:return sZ(rZ,e)}}set(e,t,n){return t.timestampIsSet?e:$G(e,e.getTime()-LG(e)-n)}},t:new class extends DX{constructor(){super(...arguments),t(this,"priority",40),t(this,"incompatibleTokens","*")}parse(e){return dZ(e)}set(e,t,n){return[$G(e,1e3*n),{timestampIsSet:!0}]}},T:new class extends DX{constructor(){super(...arguments),t(this,"priority",20),t(this,"incompatibleTokens","*")}parse(e){return dZ(e)}set(e,t,n){return[$G(e,n),{timestampIsSet:!0}]}}},_Z=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xZ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,CZ=/^'([^]*?)'?$/,wZ=/''/g,SZ=/\S/,kZ=/[a-zA-Z]/;function PZ(e,t){const n=FE(e),o=FE(t);return n.getFullYear()===o.getFullYear()&&n.getMonth()===o.getMonth()}function TZ(e,t){return+WG(e)===+WG(t)}function RZ(e){const t=FE(e);return t.setMilliseconds(0),t}function FZ(e,t){const n=FE(e),o=FE(t);return n.getFullYear()===o.getFullYear()}function zZ(e,t){const n=FE(e),o=n.getFullYear(),r=n.getDate(),a=$G(e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const i=function(e){const t=FE(e),n=t.getFullYear(),o=t.getMonth(),r=$G(e,0);return r.setFullYear(n,o+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return n.setMonth(t,Math.min(r,i)),n}function MZ(e,t){let n=FE(e);return isNaN(+n)?$G(e,NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=zZ(n,t.month)),null!=t.date&&n.setDate(t.date),null!=t.hours&&n.setHours(t.hours),null!=t.minutes&&n.setMinutes(t.minutes),null!=t.seconds&&n.setSeconds(t.seconds),null!=t.milliseconds&&n.setMilliseconds(t.milliseconds),n)}function $Z(e,t){const n=FE(e);return n.setHours(t),n}function AZ(e,t){const n=FE(e);return n.setMinutes(t),n}function OZ(e,t){const n=FE(e);return n.setSeconds(t),n}function DZ(e,t){const n=FE(e);return isNaN(+n)?$G(e,NaN):(n.setFullYear(t),n)}const IZ={date:function(e,t){return+EG(e)===+EG(t)},month:PZ,year:FZ,quarter:TZ};function BZ(e,t,n,o=0){const r="week"===n?function(e){return(t,n)=>AE(t,n,{weekStartsOn:(e+1)%7})}(o):IZ[n];return r(e,t)}function EZ(e,t,n,o,r,a){return"date"===r?function(e,t,n,o){let r=!1,a=!1,i=!1;Array.isArray(n)&&(n[0]{const t=e[0];return t in cX?(0,cX[t])(e,p.formatLong):e})).join("").match(_Z),y=[];for(let w of b){!(null==o?void 0:o.useAdditionalWeekYearTokens)&&mX(w)&&vX(w,t,e),!(null==o?void 0:o.useAdditionalDayOfYearTokens)&&fX(w)&&vX(w,t,e);const r=w[0],a=yZ[r];if(a){const{incompatibleTokens:t}=a;if(Array.isArray(t)){const e=y.find((e=>t.includes(e.token)||e.token===r));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${w}\` at the same time`)}else if("*"===a.incompatibleTokens&&y.length>0)throw new RangeError(`The format string mustn't contain \`${w}\` and any other token at the same time`);y.push({token:r,fullToken:w});const o=a.run(e,w,p.match,v);if(!o)return $G(n,NaN);g.push(o.setter),e=o.rest}else{if(r.match(kZ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===w?w="'":"'"===r&&(w=w.match(CZ)[1].replace(wZ,"'")),0!==e.indexOf(w))return $G(n,NaN);e=e.slice(w.length)}}if(e.length>0&&SZ.test(e))return $G(n,NaN);const _=g.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>g.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let x=FE(n);if(isNaN(x.getTime()))return $G(n,NaN);const C={};for(const w of _){if(!w.validate(x,v))return $G(n,NaN);const e=w.set(x,C,v);Array.isArray(e)?(x=e[0],Object.assign(C,e[1])):x=e}return $G(n,x)}(e,t,n,o);return NG(r)?CX(r,t,o)===e?r:new Date(Number.NaN):r}function XZ(e){if(void 0===e)return;if("number"==typeof e)return e;const[t,n,o]=e.split(":");return{hours:Number(t),minutes:Number(n),seconds:Number(o)}}function ZZ(e,t){return Array.isArray(e)?e["start"===t?0:1]:null}const QZ={titleFontSize:"22px"};function JZ(e){const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:a,textColorDisabled:i,dividerColor:l,fontWeightStrong:s,primaryColor:d,baseColor:c,hoverColor:u,cardColor:h,modalColor:p,popoverColor:f}=e;return Object.assign(Object.assign({},QZ),{borderRadius:t,borderColor:OO(h,l),borderColorModal:OO(p,l),borderColorPopover:OO(f,l),textColor:r,titleFontWeight:s,titleTextColor:a,dayTextColor:i,fontSize:n,lineHeight:o,dateColorCurrent:d,dateTextColorCurrent:c,cellColorHover:OO(h,u),cellColorHoverModal:OO(p,u),cellColorHoverPopover:OO(f,u),cellColor:h,cellColorModal:p,cellColorPopover:f,barColor:d})}const eQ={name:"Calendar",common:Eq,peers:{Button:xG},self:JZ},tQ={name:"Calendar",common:KU,peers:{Button:CG},self:JZ},nQ={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"};function oQ(e){const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:a,textColor2:i,textColor1:l,dividerColor:s,fontWeightStrong:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,closeColorHover:p,closeColorPressed:f,modalColor:m,boxShadow1:v,popoverColor:g,actionColor:b}=e;return Object.assign(Object.assign({},nQ),{lineHeight:o,color:a,colorModal:m,colorPopover:g,colorTarget:t,colorEmbedded:b,colorEmbeddedModal:b,colorEmbeddedPopover:b,textColor:i,titleTextColor:l,borderColor:s,actionColor:b,titleFontWeight:d,closeColorHover:p,closeColorPressed:f,closeBorderRadius:n,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:v,borderRadius:n})}const rQ={name:"Card",common:Eq,self:oQ},aQ={name:"Card",common:KU,self(e){const t=oQ(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},iQ=BA([LA("card","\n font-size: var(--n-font-size);\n line-height: var(--n-line-height);\n display: flex;\n flex-direction: column;\n width: 100%;\n box-sizing: border-box;\n position: relative;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n color: var(--n-text-color);\n word-break: break-word;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[UA({background:"var(--n-color-modal)"}),NA("hoverable",[BA("&:hover","box-shadow: var(--n-box-shadow);")]),NA("content-segmented",[BA(">",[jA("content",{paddingTop:"var(--n-padding-bottom)"})])]),NA("content-soft-segmented",[BA(">",[jA("content","\n margin: 0 var(--n-padding-left);\n padding: var(--n-padding-bottom) 0;\n ")])]),NA("footer-segmented",[BA(">",[jA("footer",{paddingTop:"var(--n-padding-bottom)"})])]),NA("footer-soft-segmented",[BA(">",[jA("footer","\n padding: var(--n-padding-bottom) 0;\n margin: 0 var(--n-padding-left);\n ")])]),BA(">",[LA("card-header","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n font-size: var(--n-title-font-size);\n padding:\n var(--n-padding-top)\n var(--n-padding-left)\n var(--n-padding-bottom)\n var(--n-padding-left);\n ",[jA("main","\n font-weight: var(--n-title-font-weight);\n transition: color .3s var(--n-bezier);\n flex: 1;\n min-width: 0;\n color: var(--n-title-text-color);\n "),jA("extra","\n display: flex;\n align-items: center;\n font-size: var(--n-font-size);\n font-weight: 400;\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n "),jA("close","\n margin: 0 0 0 8px;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),jA("action","\n box-sizing: border-box;\n transition:\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n background-clip: padding-box;\n background-color: var(--n-action-color);\n "),jA("content","flex: 1; min-width: 0;"),jA("content, footer","\n box-sizing: border-box;\n padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left);\n font-size: var(--n-font-size);\n ",[BA("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),jA("action","\n background-color: var(--n-action-color);\n padding: var(--n-padding-bottom) var(--n-padding-left);\n border-bottom-left-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n ")]),LA("card-cover","\n overflow: hidden;\n width: 100%;\n border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;\n ",[BA("img","\n display: block;\n width: 100%;\n ")]),NA("bordered","\n border: 1px solid var(--n-border-color);\n ",[BA("&:target","border-color: var(--n-color-target);")]),NA("action-segmented",[BA(">",[jA("action",[BA("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),NA("content-segmented, content-soft-segmented",[BA(">",[jA("content",{transition:"border-color 0.3s var(--n-bezier)"},[BA("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),NA("footer-segmented, footer-soft-segmented",[BA(">",[jA("footer",{transition:"border-color 0.3s var(--n-bezier)"},[BA("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),NA("embedded","\n background-color: var(--n-color-embedded);\n ")]),WA(LA("card","\n background: var(--n-color-modal);\n ",[NA("embedded","\n background-color: var(--n-color-embedded-modal);\n ")])),VA(LA("card","\n background: var(--n-color-popover);\n ",[NA("embedded","\n background-color: var(--n-color-embedded-popover);\n ")]))]),lQ={title:[String,Function],contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"},cover:Function,content:[String,Function],footer:Function,action:Function,headerExtra:Function},sQ=nE(lQ),dQ=$n({name:"Card",props:Object.assign(Object.assign({},HW.props),lQ),slots:Object,setup(e){const{inlineThemeDisabled:t,mergedClsPrefixRef:n,mergedRtlRef:o}=fE(e),r=HW("Card","-card",iQ,rQ,e,n),a=DW("Card",o,n),i=Qr((()=>{const{size:t}=e,{self:{color:n,colorModal:o,colorTarget:a,textColor:i,titleTextColor:l,titleFontWeight:s,borderColor:d,actionColor:c,borderRadius:u,lineHeight:h,closeIconColor:p,closeIconColorHover:f,closeIconColorPressed:m,closeColorHover:v,closeColorPressed:g,closeBorderRadius:b,closeIconSize:y,closeSize:_,boxShadow:x,colorPopover:C,colorEmbedded:w,colorEmbeddedModal:S,colorEmbeddedPopover:k,[KA("padding",t)]:P,[KA("fontSize",t)]:T,[KA("titleFontSize",t)]:R},common:{cubicBezierEaseInOut:F}}=r.value,{top:z,left:M,bottom:$}=oO(P);return{"--n-bezier":F,"--n-border-radius":u,"--n-color":n,"--n-color-modal":o,"--n-color-popover":C,"--n-color-embedded":w,"--n-color-embedded-modal":S,"--n-color-embedded-popover":k,"--n-color-target":a,"--n-text-color":i,"--n-line-height":h,"--n-action-color":c,"--n-title-text-color":l,"--n-title-font-weight":s,"--n-close-icon-color":p,"--n-close-icon-color-hover":f,"--n-close-icon-color-pressed":m,"--n-close-color-hover":v,"--n-close-color-pressed":g,"--n-border-color":d,"--n-box-shadow":x,"--n-padding-top":z,"--n-padding-bottom":$,"--n-padding-left":M,"--n-font-size":T,"--n-title-font-size":R,"--n-close-size":_,"--n-close-icon-size":y,"--n-close-border-radius":b}})),l=t?vE("card",Qr((()=>e.size[0])),i,e):void 0;return{rtlEnabled:a,mergedClsPrefix:n,mergedTheme:r,handleCloseClick:()=>{const{onClose:t}=e;t&&GB(t)},cssVars:t?void 0:i,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:a,embedded:i,tag:l,$slots:s}=this;return null==a||a(),Jr(l,{class:[`${o}-card`,this.themeClass,i&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${"boolean"!=typeof e&&"soft"===e.content?"-soft":""}-segmented`]:!0===e||!1!==e&&e.content,[`${o}-card--footer${"boolean"!=typeof e&&"soft"===e.footer?"-soft":""}-segmented`]:!0===e||!1!==e&&e.footer,[`${o}-card--action-segmented`]:!0===e||!1!==e&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},dE(s.cover,(e=>{const t=this.cover?iE([this.cover()]):e;return t&&Jr("div",{class:`${o}-card-cover`,role:"none"},t)})),dE(s.header,(e=>{const{title:t}=this,n=t?iE("function"==typeof t?[t()]:[t]):e;return n||this.closable?Jr("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle,role:"heading"},Jr("div",{class:`${o}-card-header__main`,role:"heading"},n),dE(s["header-extra"],(e=>{const t=this.headerExtra?iE([this.headerExtra()]):e;return t&&Jr("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},t)})),this.closable&&Jr(DV,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0})):null})),dE(s.default,(e=>{const{content:t}=this,n=t?iE("function"==typeof t?[t()]:[t]):e;return n&&Jr("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},n)})),dE(s.footer,(e=>{const t=this.footer?iE([this.footer()]):e;return t&&Jr("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},t)})),dE(s.action,(e=>{const t=this.action?iE([this.action()]):e;return t&&Jr("div",{class:`${o}-card__action`,role:"none"},t)})))}});function cQ(){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}}const uQ={name:"Carousel",common:Eq,self:cQ},hQ={name:"Carousel",common:KU,self:cQ},pQ={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"};function fQ(e){const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:a,textColorDisabled:i,borderColor:l,primaryColor:s,textColor2:d,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,borderRadiusSmall:p,lineHeight:f}=e;return Object.assign(Object.assign({},pQ),{labelLineHeight:f,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,borderRadius:p,color:t,colorChecked:s,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:a,checkMarkColor:t,checkMarkColorDisabled:i,checkMarkColorDisabledChecked:i,border:`1px solid ${l}`,borderDisabled:`1px solid ${l}`,borderDisabledChecked:`1px solid ${l}`,borderChecked:`1px solid ${s}`,borderFocus:`1px solid ${s}`,boxShadowFocus:`0 0 0 2px ${DO(s,{alpha:.3})}`,textColor:d,textColorDisabled:i})}const mQ={name:"Checkbox",common:Eq,self:fQ},vQ={name:"Checkbox",common:KU,self(e){const{cardColor:t}=e,n=fQ(e);return n.color="#0000",n.checkMarkColor=t,n}};function gQ(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:a,primaryColor:i,textColorDisabled:l,dividerColor:s,hoverColor:d,fontSizeMedium:c,heightMedium:u}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:a,optionHeight:u,optionFontSize:c,optionColorHover:d,optionTextColor:r,optionTextColorActive:i,optionTextColorDisabled:l,optionCheckMarkColor:i,loadingColor:i,columnWidth:"180px"}}const bQ={name:"Cascader",common:Eq,peers:{InternalSelectMenu:kK,InternalSelection:sY,Scrollbar:Nq,Checkbox:mQ,Empty:yK},self:gQ},yQ={name:"Cascader",common:KU,peers:{InternalSelectMenu:PK,InternalSelection:lY,Scrollbar:Hq,Checkbox:vQ,Empty:yK},self:gQ},_Q="n-checkbox-group",xQ=$n({name:"CheckboxGroup",props:{min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},setup(e){const{mergedClsPrefixRef:t}=fE(e),n=bE(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,a=vt(e.defaultValue),i=xD(Qr((()=>e.value)),a),l=Qr((()=>{var e;return(null===(e=i.value)||void 0===e?void 0:e.length)||0})),s=Qr((()=>Array.isArray(i.value)?new Set(i.value):new Set));return To(_Q,{checkedCountRef:l,maxRef:Ft(e,"max"),minRef:Ft(e,"min"),valueSetRef:s,disabledRef:r,mergedSizeRef:o,toggleCheckbox:function(t,o){const{nTriggerFormInput:r,nTriggerFormChange:l}=n,{onChange:s,"onUpdate:value":d,onUpdateValue:c}=e;if(Array.isArray(i.value)){const e=Array.from(i.value),n=e.findIndex((e=>e===o));t?~n||(e.push(o),c&&GB(c,e,{actionType:"check",value:o}),d&&GB(d,e,{actionType:"check",value:o}),r(),l(),a.value=e,s&&GB(s,e)):~n&&(e.splice(n,1),c&&GB(c,e,{actionType:"uncheck",value:o}),d&&GB(d,e,{actionType:"uncheck",value:o}),s&&GB(s,e),a.value=e,r(),l())}else t?(c&&GB(c,[o],{actionType:"check",value:o}),d&&GB(d,[o],{actionType:"check",value:o}),s&&GB(s,[o]),a.value=[o],r(),l()):(c&&GB(c,[],{actionType:"uncheck",value:o}),d&&GB(d,[],{actionType:"uncheck",value:o}),s&&GB(s,[]),a.value=[],r(),l())}}),{mergedClsPrefix:t}},render(){return Jr("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),CQ=BA([LA("checkbox","\n font-size: var(--n-font-size);\n outline: none;\n cursor: pointer;\n display: inline-flex;\n flex-wrap: nowrap;\n align-items: flex-start;\n word-break: break-word;\n line-height: var(--n-size);\n --n-merged-color-table: var(--n-color-table);\n ",[NA("show-label","line-height: var(--n-label-line-height);"),BA("&:hover",[LA("checkbox-box",[jA("border","border: var(--n-border-checked);")])]),BA("&:focus:not(:active)",[LA("checkbox-box",[jA("border","\n border: var(--n-border-focus);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),NA("inside-table",[LA("checkbox-box","\n background-color: var(--n-merged-color-table);\n ")]),NA("checked",[LA("checkbox-box","\n background-color: var(--n-color-checked);\n ",[LA("checkbox-icon",[BA(".check-icon","\n opacity: 1;\n transform: scale(1);\n ")])])]),NA("indeterminate",[LA("checkbox-box",[LA("checkbox-icon",[BA(".check-icon","\n opacity: 0;\n transform: scale(.5);\n "),BA(".line-icon","\n opacity: 1;\n transform: scale(1);\n ")])])]),NA("checked, indeterminate",[BA("&:focus:not(:active)",[LA("checkbox-box",[jA("border","\n border: var(--n-border-checked);\n box-shadow: var(--n-box-shadow-focus);\n ")])]),LA("checkbox-box","\n background-color: var(--n-color-checked);\n border-left: 0;\n border-top: 0;\n ",[jA("border",{border:"var(--n-border-checked)"})])]),NA("disabled",{cursor:"not-allowed"},[NA("checked",[LA("checkbox-box","\n background-color: var(--n-color-disabled-checked);\n ",[jA("border",{border:"var(--n-border-disabled-checked)"}),LA("checkbox-icon",[BA(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),LA("checkbox-box","\n background-color: var(--n-color-disabled);\n ",[jA("border","\n border: var(--n-border-disabled);\n "),LA("checkbox-icon",[BA(".check-icon, .line-icon","\n fill: var(--n-check-mark-color-disabled);\n ")])]),jA("label","\n color: var(--n-text-color-disabled);\n ")]),LA("checkbox-box-wrapper","\n position: relative;\n width: var(--n-size);\n flex-shrink: 0;\n flex-grow: 0;\n user-select: none;\n -webkit-user-select: none;\n "),LA("checkbox-box","\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n height: var(--n-size);\n width: var(--n-size);\n display: inline-block;\n box-sizing: border-box;\n border-radius: var(--n-border-radius);\n background-color: var(--n-color);\n transition: background-color 0.3s var(--n-bezier);\n ",[jA("border","\n transition:\n border-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n border-radius: inherit;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border: var(--n-border);\n "),LA("checkbox-icon","\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n left: 1px;\n right: 1px;\n top: 1px;\n bottom: 1px;\n ",[BA(".check-icon, .line-icon","\n width: 100%;\n fill: var(--n-check-mark-color);\n opacity: 0;\n transform: scale(0.5);\n transform-origin: center;\n transition:\n fill 0.3s var(--n-bezier),\n transform 0.3s var(--n-bezier),\n opacity 0.3s var(--n-bezier),\n border-color 0.3s var(--n-bezier);\n "),MV({left:"1px",top:"1px"})])]),jA("label","\n color: var(--n-text-color);\n transition: color .3s var(--n-bezier);\n user-select: none;\n -webkit-user-select: none;\n padding: var(--n-label-padding);\n font-weight: var(--n-label-font-weight);\n ",[BA("&:empty",{display:"none"})])]),WA(LA("checkbox","\n --n-merged-color-table: var(--n-color-table-modal);\n ")),VA(LA("checkbox","\n --n-merged-color-table: var(--n-color-table-popover);\n "))]),wQ=$n({name:"Checkbox",props:Object.assign(Object.assign({},HW.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),setup(e){const t=Ro(_Q,null),n=vt(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:a}=fE(e),i=vt(e.defaultChecked),l=xD(Ft(e,"checked"),i),s=oD((()=>{if(t){const n=t.valueSetRef.value;return!(!n||void 0===e.value)&&n.has(e.value)}return l.value===e.checkedValue})),d=bE(e,{mergedSize(n){const{size:o}=e;if(void 0!==o)return o;if(t){const{value:e}=t.mergedSizeRef;if(void 0!==e)return e}if(n){const{mergedSize:e}=n;if(void 0!==e)return e.value}return"medium"},mergedDisabled(n){const{disabled:o}=e;if(void 0!==o)return o;if(t){if(t.disabledRef.value)return!0;const{maxRef:{value:e},checkedCountRef:n}=t;if(void 0!==e&&n.value>=e&&!s.value)return!0;const{minRef:{value:o}}=t;if(void 0!==o&&n.value<=o&&s.value)return!0}return!!n&&n.disabled.value}}),{mergedDisabledRef:c,mergedSizeRef:u}=d,h=HW("Checkbox","-checkbox",CQ,mQ,e,o);function p(n){if(t&&void 0!==e.value)t.toggleCheckbox(!s.value,e.value);else{const{onChange:t,"onUpdate:checked":o,onUpdateChecked:r}=e,{nTriggerFormInput:a,nTriggerFormChange:l}=d,c=s.value?e.uncheckedValue:e.checkedValue;o&&GB(o,c,n),r&&GB(r,c,n),t&&GB(t,c,n),a(),l(),i.value=c}}const f={focus:()=>{var e;null===(e=n.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=n.value)||void 0===e||e.blur()}},m=DW("Checkbox",a,o),v=Qr((()=>{const{value:e}=u,{common:{cubicBezierEaseInOut:t},self:{borderRadius:n,color:o,colorChecked:r,colorDisabled:a,colorTableHeader:i,colorTableHeaderModal:l,colorTableHeaderPopover:s,checkMarkColor:d,checkMarkColorDisabled:c,border:p,borderFocus:f,borderDisabled:m,borderChecked:v,boxShadowFocus:g,textColor:b,textColorDisabled:y,checkMarkColorDisabledChecked:_,colorDisabledChecked:x,borderDisabledChecked:C,labelPadding:w,labelLineHeight:S,labelFontWeight:k,[KA("fontSize",e)]:P,[KA("size",e)]:T}}=h.value;return{"--n-label-line-height":S,"--n-label-font-weight":k,"--n-size":T,"--n-bezier":t,"--n-border-radius":n,"--n-border":p,"--n-border-checked":v,"--n-border-focus":f,"--n-border-disabled":m,"--n-border-disabled-checked":C,"--n-box-shadow-focus":g,"--n-color":o,"--n-color-checked":r,"--n-color-table":i,"--n-color-table-modal":l,"--n-color-table-popover":s,"--n-color-disabled":a,"--n-color-disabled-checked":x,"--n-text-color":b,"--n-text-color-disabled":y,"--n-check-mark-color":d,"--n-check-mark-color-disabled":c,"--n-check-mark-color-disabled-checked":_,"--n-font-size":P,"--n-label-padding":w}})),g=r?vE("checkbox",Qr((()=>u.value[0])),v,e):void 0;return Object.assign(d,f,{rtlEnabled:m,selfRef:n,mergedClsPrefix:o,mergedDisabled:c,renderedChecked:s,mergedTheme:h,labelId:GO(),handleClick:function(e){c.value||p(e)},handleKeyUp:function(e){if(!c.value)switch(e.key){case" ":case"Enter":p(e)}},handleKeyDown:function(e){if(" "===e.key)e.preventDefault()},cssVars:r?void 0:v,themeClass:null==g?void 0:g.themeClass,onRender:null==g?void 0:g.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:a,cssVars:i,labelId:l,label:s,mergedClsPrefix:d,focusable:c,handleKeyUp:u,handleKeyDown:h,handleClick:p}=this;null===(e=this.onRender)||void 0===e||e.call(this);const f=dE(t.default,(e=>s||e?Jr("span",{class:`${d}-checkbox__label`,id:l},s||e):null));return Jr("div",{ref:"selfRef",class:[`${d}-checkbox`,this.themeClass,this.rtlEnabled&&`${d}-checkbox--rtl`,n&&`${d}-checkbox--checked`,o&&`${d}-checkbox--disabled`,r&&`${d}-checkbox--indeterminate`,a&&`${d}-checkbox--inside-table`,f&&`${d}-checkbox--show-label`],tabindex:o||!c?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":l,style:i,onKeyup:u,onKeydown:h,onClick:p,onMousedown:()=>{eD("selectstart",window,(e=>{e.preventDefault()}),{once:!0})}},Jr("div",{class:`${d}-checkbox-box-wrapper`}," ",Jr("div",{class:`${d}-checkbox-box`},Jr(UW,null,{default:()=>this.indeterminate?Jr("div",{key:"indeterminate",class:`${d}-checkbox-icon`},Jr("svg",{viewBox:"0 0 100 100",class:"line-icon"},Jr("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"}))):Jr("div",{key:"check",class:`${d}-checkbox-icon`},Jr("svg",{viewBox:"0 0 64 64",class:"check-icon"},Jr("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})))}),Jr("div",{class:`${d}-checkbox-box__border`}))),f)}}),SQ="n-cascader",kQ=$n({name:"NCascaderOption",props:{tmNode:{type:Object,required:!0}},setup(e){const{expandTriggerRef:t,remoteRef:n,multipleRef:o,mergedValueRef:r,checkedKeysRef:a,indeterminateKeysRef:i,hoverKeyPathRef:l,keyboardKeyRef:s,loadingKeySetRef:d,cascadeRef:c,mergedCheckStrategyRef:u,onLoadRef:h,mergedClsPrefixRef:p,mergedThemeRef:f,labelFieldRef:m,showCheckboxRef:v,renderPrefixRef:g,renderSuffixRef:b,updateHoverKey:y,updateKeyboardKey:_,addLoadingKey:x,deleteLoadingKey:C,closeMenu:w,doCheck:S,doUncheck:k,renderLabelRef:P}=Ro(SQ),T=Qr((()=>e.tmNode.key)),R=Qr((()=>{const{value:e}=t,{value:o}=n;return!o&&"hover"===e})),F=Qr((()=>{if(R.value)return j})),z=Qr((()=>{if(R.value)return N})),M=oD((()=>{const{value:e}=o;return e?a.value.includes(T.value):r.value===T.value})),$=oD((()=>!!o.value&&i.value.includes(T.value))),A=oD((()=>l.value.includes(T.value))),O=oD((()=>{const{value:e}=s;return null!==e&&e===T.value})),D=oD((()=>!!n.value&&d.value.has(T.value))),I=Qr((()=>e.tmNode.isLeaf)),B=Qr((()=>e.tmNode.disabled)),E=Qr((()=>e.tmNode.rawNode[m.value])),L=Qr((()=>e.tmNode.shallowLoaded));function j(){if(!R.value||B.value)return;const{value:e}=T;y(e),_(e)}function N(){R.value&&j()}function H(){const{value:e}=o,{value:t}=T;e?$.value||M.value?k(t):S(t):(S(t),w(!0))}return{checkStrategy:u,multiple:o,cascade:c,checked:M,indeterminate:$,hoverPending:A,keyboardPending:O,isLoading:D,showCheckbox:v,isLeaf:I,disabled:B,label:E,mergedClsPrefix:p,mergedTheme:f,handleClick:function(t){if(B.value)return;const{value:o}=n,{value:r}=d,{value:a}=h,{value:i}=T,{value:l}=I,{value:s}=L;QA(t,"checkbox")||(o&&!s&&!r.has(i)&&a&&(x(i),a(e.tmNode.rawNode).then((()=>{C(i)})).catch((()=>{C(i)}))),y(i),_(i)),l&&H()},handleCheckboxUpdateValue:function(){const{value:e}=I;e||H()},mergedHandleMouseEnter:F,mergedHandleMouseMove:z,renderLabel:P,renderPrefix:g,renderSuffix:b}},render(){const{mergedClsPrefix:e,showCheckbox:t,renderLabel:n,renderPrefix:o,renderSuffix:r}=this;let a=null;if(t||o){const t=this.showCheckbox?Jr(wQ,{focusable:!1,"data-checkbox":!0,disabled:this.disabled,checked:this.checked,indeterminate:this.indeterminate,theme:this.mergedTheme.peers.Checkbox,themeOverrides:this.mergedTheme.peerOverrides.Checkbox,onUpdateChecked:this.handleCheckboxUpdateValue}):null;a=Jr("div",{class:`${e}-cascader-option__prefix`},o?o({option:this.tmNode.rawNode,checked:this.checked,node:t}):t)}let i=null;const l=Jr("div",{class:`${e}-cascader-option-icon-placeholder`},this.isLeaf?"child"!==this.checkStrategy||this.multiple&&this.cascade?null:Jr(ha,{name:"fade-in-scale-up-transition"},{default:()=>this.checked?Jr(VW,{clsPrefix:e,class:`${e}-cascader-option-icon ${e}-cascader-option-icon--checkmark`},{default:()=>Jr(JW,null)}):null}):Jr(NV,{clsPrefix:e,scale:.85,strokeWidth:24,show:this.isLoading,class:`${e}-cascader-option-icon`},{default:()=>Jr(VW,{clsPrefix:e,key:"arrow",class:`${e}-cascader-option-icon ${e}-cascader-option-icon--arrow`},{default:()=>Jr(tV,null)})}));return i=Jr("div",{class:`${e}-cascader-option__suffix`},r?r({option:this.tmNode.rawNode,checked:this.checked,node:l}):l),Jr("div",{class:[`${e}-cascader-option`,this.keyboardPending||this.hoverPending&&`${e}-cascader-option--pending`,this.disabled&&`${e}-cascader-option--disabled`,this.showCheckbox&&`${e}-cascader-option--show-prefix`],onMouseenter:this.mergedHandleMouseEnter,onMousemove:this.mergedHandleMouseMove,onClick:this.handleClick},a,Jr("span",{class:`${e}-cascader-option__label`},n?n(this.tmNode.rawNode,this.checked):this.label),i)}}),PQ=$n({name:"CascaderSubmenu",props:{depth:{type:Number,required:!0},tmNodes:{type:Array,required:!0}},setup(){const{virtualScrollRef:e,mergedClsPrefixRef:t,mergedThemeRef:n,optionHeightRef:o}=Ro(SQ),r=vt(null),a=vt(null),i={scroll(t,n){var o,i;e.value?null===(o=a.value)||void 0===o||o.scrollTo({index:t}):null===(i=r.value)||void 0===i||i.scrollTo({index:t,elSize:n})}};return Object.assign({mergedClsPrefix:t,mergedTheme:n,scrollbarInstRef:r,vlInstRef:a,virtualScroll:e,itemSize:Qr((()=>tO(o.value))),handleVlScroll:()=>{var e;null===(e=r.value)||void 0===e||e.sync()},getVlContainer:()=>{var e;return null===(e=a.value)||void 0===e?void 0:e.listElRef},getVlContent:()=>{var e;return null===(e=a.value)||void 0===e?void 0:e.itemsElRef}},i)},render(){const{mergedClsPrefix:e,mergedTheme:t,virtualScroll:n}=this;return Jr("div",{class:[n&&`${e}-cascader-submenu--virtual`,`${e}-cascader-submenu`]},Jr(Vq,{ref:"scrollbarInstRef",theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar,container:n?this.getVlContainer:void 0,content:n?this.getVlContent:void 0},{default:()=>n?Jr(kB,{items:this.tmNodes,itemSize:this.itemSize,onScroll:this.handleVlScroll,showScrollbar:!1,ref:"vlInstRef"},{default:({item:e})=>Jr(kQ,{key:e.key,tmNode:e})}):this.tmNodes.map((e=>Jr(kQ,{key:e.key,tmNode:e})))}))}}),TQ=$n({name:"NCascaderMenu",props:{value:[String,Number,Array],placement:{type:String,default:"bottom-start"},show:Boolean,menuModel:{type:Array,required:!0},loading:Boolean,onFocus:{type:Function,required:!0},onBlur:{type:Function,required:!0},onKeydown:{type:Function,required:!0},onMousedown:{type:Function,required:!0},onTabout:{type:Function,required:!0}},setup(e){const{localeRef:t,isMountedRef:n,mergedClsPrefixRef:o,syncCascaderMenuPosition:r,handleCascaderMenuClickOutside:a,mergedThemeRef:i,getColumnStyleRef:l}=Ro(SQ),s=[],d=vt(null),c=vt(null);DB(c,(function(){r()}));const u={scroll(e,t,n){const o=s[e];o&&o.scroll(t,n)},showErrorMessage:function(e){var n;const{value:{loadingRequiredMessage:o}}=t;null===(n=d.value)||void 0===n||n.showOnce(o(e))}};return Object.assign({isMounted:n,mergedClsPrefix:o,selfElRef:c,submenuInstRefs:s,maskInstRef:d,mergedTheme:i,getColumnStyle:l,handleFocusin:function(t){const{value:n}=c;n&&(n.contains(t.relatedTarget)||e.onFocus(t))},handleFocusout:function(t){const{value:n}=c;n&&(n.contains(t.relatedTarget)||e.onBlur(t))},handleClickOutside:function(e){a(e)}},u)},render(){const{submenuInstRefs:e,mergedClsPrefix:t,mergedTheme:n}=this;return Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.show?on(Jr("div",{tabindex:"0",ref:"selfElRef",class:`${t}-cascader-menu`,onMousedown:this.onMousedown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeydown:this.onKeydown},this.menuModel[0].length?Jr("div",{class:`${t}-cascader-submenu-wrapper`},this.menuModel.map(((t,n)=>{var o;return Jr(PQ,{style:null===(o=this.getColumnStyle)||void 0===o?void 0:o.call(this,{level:n}),ref:t=>{t&&(e[n]=t)},key:n,tmNodes:t,depth:n+1})})),Jr(UV,{clsPrefix:t,ref:"maskInstRef"})):Jr("div",{class:`${t}-cascader-menu__empty`},lE(this.$slots.empty,(()=>[Jr(CK,{theme:n.peers.Empty,themeOverrides:n.peerOverrides.Empty})]))),dE(this.$slots.action,(e=>e&&Jr("div",{class:`${t}-cascader-menu-action`,"data-action":!0},e))),Jr(BV,{onFocus:this.onTabout})),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})}});function RQ(e){return e?e.map((e=>e.rawNode)):null}function FQ(e,t,n){const o=[];for(;e;)o.push(e.rawNode[n]),e=e.parent;return o.reverse().join(t)}const zQ=$n({name:"NCascaderSelectMenu",props:{value:{type:[String,Number,Array],default:null},show:Boolean,pattern:{type:String,default:""},multiple:Boolean,tmNodes:{type:Array,default:()=>[]},filter:Function,labelField:{type:String,required:!0},separator:{type:String,required:!0}},setup(e){const{isMountedRef:t,mergedValueRef:n,mergedClsPrefixRef:o,mergedThemeRef:r,mergedCheckStrategyRef:a,slots:i,syncSelectMenuPosition:l,closeMenu:s,handleSelectMenuClickOutside:d,doUncheck:c,doCheck:u,clearPattern:h}=Ro(SQ),p=vt(null),f=Qr((()=>function(e,t,n,o){const r=[],a=[];return function e(i){for(const l of i){if(l.disabled)continue;const{rawNode:i}=l;a.push(i),!l.isLeaf&&t||r.push({label:FQ(l,o,n),value:l.key,rawNode:l.rawNode,path:Array.from(a)}),!l.isLeaf&&l.children&&e(l.children),a.pop()}}(e),r}(e.tmNodes,"child"===a.value,e.labelField,e.separator))),m=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n}=e;return(e,t,o)=>o.some((t=>t[n]&&~t[n].toLowerCase().indexOf(e.toLowerCase())))})),v=Qr((()=>{const{pattern:t}=e,{value:n}=m;return(t?f.value.filter((e=>n(t,e.rawNode,e.path))):f.value).map((e=>({value:e.value,label:e.label})))})),g=Qr((()=>vK(v.value,WY("value","children"))));function b(t){if(e.multiple){const{value:e}=n;Array.isArray(e)?e.includes(t.key)?c(t.key):u(t.key):null===e&&u(t.key),h()}else u(t.key),s(!0)}const y={prev:function(){var e;null===(e=p.value)||void 0===e||e.prev()},next:function(){var e;null===(e=p.value)||void 0===e||e.next()},enter:function(){var e;if(p){const t=null===(e=p.value)||void 0===e?void 0:e.getPendingTmNode();return t&&b(t),!0}return!1}};return Object.assign({isMounted:t,mergedTheme:r,mergedClsPrefix:o,menuInstRef:p,selectTreeMate:g,handleResize:function(){l()},handleToggle:function(e){b(e)},handleClickOutside:function(e){d(e)},cascaderSlots:i},y)},render(){const{mergedClsPrefix:e,isMounted:t,mergedTheme:n,cascaderSlots:o}=this;return Jr(ha,{name:"fade-in-scale-up-transition",appear:t},{default:()=>this.show?on(Jr(AK,{ref:"menuInstRef",onResize:this.handleResize,clsPrefix:e,class:`${e}-cascader-menu`,autoPending:!0,themeOverrides:n.peerOverrides.InternalSelectMenu,theme:n.peers.InternalSelectMenu,treeMate:this.selectTreeMate,multiple:this.multiple,value:this.value,onToggle:this.handleToggle},{empty:()=>lE(o["not-found"],(()=>[]))}),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})}}),MQ=BA([LA("cascader-menu","\n outline: none;\n position: relative;\n margin: 4px 0;\n display: flex;\n flex-flow: column nowrap;\n border-radius: var(--n-menu-border-radius);\n overflow: hidden;\n box-shadow: var(--n-menu-box-shadow);\n color: var(--n-option-text-color);\n background-color: var(--n-menu-color);\n ",[MK({transformOrigin:"inherit",duration:"0.2s"}),jA("empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),LA("scrollbar","\n width: 100%;\n "),LA("base-menu-mask","\n background-color: var(--n-menu-mask-color);\n "),LA("base-loading","\n color: var(--n-loading-color);\n "),LA("cascader-submenu-wrapper","\n position: relative;\n display: flex;\n flex-wrap: nowrap;\n "),LA("cascader-submenu","\n height: var(--n-menu-height);\n min-width: var(--n-column-width);\n position: relative;\n ",[NA("virtual","\n width: var(--n-column-width);\n "),LA("scrollbar-content","\n position: relative;\n "),BA("&:first-child","\n border-top-left-radius: var(--n-menu-border-radius);\n border-bottom-left-radius: var(--n-menu-border-radius);\n "),BA("&:last-child","\n border-top-right-radius: var(--n-menu-border-radius);\n border-bottom-right-radius: var(--n-menu-border-radius);\n "),BA("&:not(:first-child)","\n border-left: 1px solid var(--n-menu-divider-color);\n ")]),LA("cascader-menu-action","\n box-sizing: border-box;\n padding: 8px;\n border-top: 1px solid var(--n-menu-divider-color);\n "),LA("cascader-option","\n height: var(--n-option-height);\n line-height: var(--n-option-height);\n font-size: var(--n-option-font-size);\n padding: 0 0 0 18px;\n box-sizing: border-box;\n min-width: 182px;\n background-color: #0000;\n display: flex;\n align-items: center;\n white-space: nowrap;\n position: relative;\n cursor: pointer;\n transition:\n background-color .2s var(--n-bezier),\n color 0.2s var(--n-bezier);\n ",[NA("show-prefix","\n padding-left: 0;\n "),jA("label","\n flex: 1 0 0;\n overflow: hidden;\n text-overflow: ellipsis;\n "),jA("prefix","\n min-width: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n "),jA("suffix","\n min-width: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n "),LA("cascader-option-icon-placeholder","\n line-height: 0;\n position: relative;\n width: 16px;\n height: 16px;\n font-size: 16px;\n ",[LA("cascader-option-icon",[NA("checkmark","\n color: var(--n-option-check-mark-color);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})]),NA("arrow","\n color: var(--n-option-arrow-color);\n ")])]),NA("selected","\n color: var(--n-option-text-color-active);\n "),NA("active","\n color: var(--n-option-text-color-active);\n background-color: var(--n-option-color-hover);\n "),NA("pending","\n background-color: var(--n-option-color-hover);\n "),BA("&:hover","\n background-color: var(--n-option-color-hover);\n "),NA("disabled","\n color: var(--n-option-text-color-disabled);\n background-color: #0000;\n cursor: not-allowed;\n ",[LA("cascader-option-icon",[NA("arrow","\n color: var(--n-option-text-color-disabled);\n ")])])])]),LA("cascader","\n z-index: auto;\n position: relative;\n width: 100%;\n ")]),$Q=$n({name:"Cascader",props:Object.assign(Object.assign({},HW.props),{allowCheckingNotLoaded:Boolean,to:ID.propTo,bordered:{type:Boolean,default:void 0},options:{type:Array,default:()=>[]},value:[String,Number,Array],defaultValue:{type:[String,Number,Array],default:null},placeholder:String,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},disabledField:{type:String,default:"disabled"},expandTrigger:{type:String,default:"click"},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},remote:Boolean,onLoad:Function,separator:{type:String,default:" / "},filter:Function,placement:{type:String,default:"bottom-start"},cascade:{type:Boolean,default:!0},leafOnly:Boolean,showPath:{type:Boolean,default:!0},show:{type:Boolean,default:void 0},maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,menuProps:Object,filterMenuProps:Object,virtualScroll:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},valueField:{type:String,default:"value"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},renderLabel:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onBlur:Function,onFocus:Function,getColumnStyle:Function,renderPrefix:Function,renderSuffix:Function,onChange:[Function,Array]}),slots:Object,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,namespaceRef:r,inlineThemeDisabled:a}=fE(e),i=HW("Cascader","-cascader",MQ,bQ,e,o),{localeRef:l}=AW("Cascader"),s=vt(e.defaultValue),d=xD(Qr((()=>e.value)),s),c=Qr((()=>e.leafOnly?"child":e.checkStrategy)),u=vt(""),h=bE(e),{mergedSizeRef:p,mergedDisabledRef:f,mergedStatusRef:m}=h,v=vt(null),g=vt(null),b=vt(null),y=vt(null),_=vt(null),x=vt(new Set),C=vt(null),w=vt(null),S=ID(e),k=vt(!1),P=e=>{x.value.add(e)},T=e=>{x.value.delete(e)},R=Qr((()=>{const{valueField:t,childrenField:n,disabledField:o}=e;return vK(e.options,{getDisabled:e=>e[o],getKey:e=>e[t],getChildren:e=>e[n]})})),F=Qr((()=>{const{cascade:t,multiple:n}=e;return n&&Array.isArray(d.value)?R.value.getCheckedKeys(d.value,{cascade:t,allowNotLoaded:e.allowCheckingNotLoaded}):{checkedKeys:[],indeterminateKeys:[]}})),z=Qr((()=>F.value.checkedKeys)),M=Qr((()=>F.value.indeterminateKeys)),$=Qr((()=>{const{treeNodePath:e,treeNode:t}=R.value.getPath(_.value);let n;return null===t?n=[R.value.treeNodes]:(n=e.map((e=>e.siblings)),t.isLeaf||x.value.has(t.key)||!t.children||n.push(t.children)),n})),A=Qr((()=>{const{keyPath:e}=R.value.getPath(_.value);return e})),O=Qr((()=>i.value.self.optionHeight));lt(e.options)&&er(e.options,((e,t)=>{e!==t&&(_.value=null,y.value=null)}));const D=vt(!1);function I(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),D.value=t}function B(t,n,o){const{onUpdateValue:r,"onUpdate:value":a,onChange:i}=e,{nTriggerFormInput:l,nTriggerFormChange:d}=h;r&&GB(r,t,n,o),a&&GB(a,t,n,o),i&&GB(i,t,n,o),s.value=t,l(),d()}function E(e){y.value=e}function L(e){_.value=e}function j(e){const{value:{getNode:t}}=R;return e.map((e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.rawNode)||null}))}function N(t){var n;const{cascade:o,multiple:r,filterable:a}=e,{value:{check:i,getNode:l,getPath:s}}=R;if(r)try{const{checkedKeys:n}=i(t,F.value.checkedKeys,{cascade:o,checkStrategy:c.value,allowNotLoaded:e.allowCheckingNotLoaded});B(n,j(n),n.map((e=>{var t;return RQ(null===(t=s(e))||void 0===t?void 0:t.treeNodePath)}))),a&&X(),y.value=t,_.value=t}catch(d){if(!(d instanceof aK))throw d;if(v.value){const n=l(t);null!==n&&v.value.showErrorMessage(n.rawNode[e.labelField])}}else if("child"===c.value){const e=l(t);if(!(null==e?void 0:e.isLeaf))return!1;B(t,e.rawNode,RQ(s(t).treeNodePath))}else{const e=l(t);B(t,(null==e?void 0:e.rawNode)||null,RQ(null===(n=s(t))||void 0===n?void 0:n.treeNodePath))}return!0}function H(t){const{cascade:n,multiple:o}=e;if(o){const{value:{uncheck:o,getNode:r,getPath:a}}=R,{checkedKeys:i}=o(t,F.value.checkedKeys,{cascade:n,checkStrategy:c.value,allowNotLoaded:e.allowCheckingNotLoaded});B(i,i.map((e=>{var t;return(null===(t=r(e))||void 0===t?void 0:t.rawNode)||null})),i.map((e=>{var t;return RQ(null===(t=a(e))||void 0===t?void 0:t.treeNodePath)}))),y.value=t,_.value=t}}const W=Qr((()=>{if(e.multiple){const{showPath:t,separator:n,labelField:o,cascade:r}=e,{getCheckedKeys:a,getNode:i}=R.value;return a(z.value,{cascade:r,checkStrategy:c.value,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys.map((e=>{const r=i(e);return null===r?{label:String(e),value:e}:{label:t?FQ(r,n,o):r.rawNode[o],value:r.key}}))}return[]})),V=Qr((()=>{const{multiple:t,showPath:n,separator:o,labelField:r}=e,{value:a}=d;if(t||Array.isArray(a))return null;{const{getNode:e}=R.value;if(null===a)return null;const t=e(a);return null===t?{label:String(a),value:a}:{label:n?FQ(t,o,r):t.rawNode[r],value:t.key}}})),U=xD(Ft(e,"show"),D),q=Qr((()=>{const{placeholder:t}=e;return void 0!==t?t:l.value.placeholder})),K=Qr((()=>!(!e.filterable||!u.value)));function Y(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=h;n&&GB(n,t),o()}function G(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=h;n&&GB(n,t),o()}function X(){var e;null===(e=b.value)||void 0===e||e.focusInput()}function Z(){f.value||(u.value="",I(!0),e.filterable&&X())}function Q(e=!1){e&&function(){var e;null===(e=b.value)||void 0===e||e.focus()}(),I(!1),u.value=""}function J(e){var t;K.value||U.value&&((null===(t=b.value)||void 0===t?void 0:t.$el.contains(JA(e)))||Q())}function ee(){e.clearFilterAfterSelect&&(u.value="")}function te(t){var n,o,r;const{value:a}=y,{value:i}=R;switch(t){case"prev":if(null!==a){const e=i.getPrev(a,{loop:!0});null!==e&&(E(e.key),null===(n=v.value)||void 0===n||n.scroll(e.level,e.index,tO(O.value)))}break;case"next":if(null===a){const e=i.getFirstAvailableNode();null!==e&&(E(e.key),null===(o=v.value)||void 0===o||o.scroll(e.level,e.index,tO(O.value)))}else{const e=i.getNext(a,{loop:!0});null!==e&&(E(e.key),null===(r=v.value)||void 0===r||r.scroll(e.level,e.index,tO(O.value)))}break;case"child":if(null!==a){const t=i.getNode(a);if(null!==t)if(t.shallowLoaded){const e=i.getChild(a);null!==e&&(L(a),E(e.key))}else{const{value:n}=x;if(!n.has(a)){P(a),L(a);const{onLoad:n}=e;n&&n(t.rawNode).then((()=>{T(a)})).catch((()=>{T(a)}))}}}break;case"parent":if(null!==a){const e=i.getParent(a);if(null!==e){E(e.key);const t=e.getParent();L(null===t?null:t.key)}}}}function ne(t){var n,o;switch(t.key){case" ":case"ArrowDown":case"ArrowUp":if(e.filterable&&U.value)break;t.preventDefault()}if(!QA(t,"action"))switch(t.key){case" ":if(e.filterable)return;case"Enter":if(U.value){const{value:t}=K,{value:n}=y;if(t){if(g.value){g.value.enter()&&ee()}}else if(null!==n)if(z.value.includes(n)||M.value.includes(n))H(n);else{const t=N(n);!e.multiple&&t&&Q(!0)}}else Z();break;case"ArrowUp":t.preventDefault(),U.value&&(K.value?null===(n=g.value)||void 0===n||n.prev():te("prev"));break;case"ArrowDown":t.preventDefault(),U.value?K.value?null===(o=g.value)||void 0===o||o.next():te("next"):Z();break;case"ArrowLeft":t.preventDefault(),U.value&&!K.value&&te("parent");break;case"ArrowRight":t.preventDefault(),U.value&&!K.value&&te("child");break;case"Escape":U.value&&(VB(t),Q(!0))}}function oe(){var e;null===(e=C.value)||void 0===e||e.syncPosition()}function re(){var e;null===(e=w.value)||void 0===e||e.syncPosition()}er(U,(t=>{if(!t)return;if(e.multiple)return;const{value:n}=d;Array.isArray(n)||null===n?(y.value=null,_.value=null):(y.value=n,_.value=n,Kt((()=>{var e;if(!U.value)return;const{value:t}=_;if(null!==d.value){const n=R.value.getNode(t);n&&(null===(e=v.value)||void 0===e||e.scroll(n.level,n.index,tO(O.value)))}})))}),{immediate:!0});const ae=Qr((()=>!(!e.multiple||!e.cascade)||"child"!==c.value));To(SQ,{slots:t,mergedClsPrefixRef:o,mergedThemeRef:i,mergedValueRef:d,checkedKeysRef:z,indeterminateKeysRef:M,hoverKeyPathRef:A,mergedCheckStrategyRef:c,showCheckboxRef:ae,cascadeRef:Ft(e,"cascade"),multipleRef:Ft(e,"multiple"),keyboardKeyRef:y,hoverKeyRef:_,remoteRef:Ft(e,"remote"),loadingKeySetRef:x,expandTriggerRef:Ft(e,"expandTrigger"),isMountedRef:CD(),onLoadRef:Ft(e,"onLoad"),virtualScrollRef:Ft(e,"virtualScroll"),optionHeightRef:O,localeRef:l,labelFieldRef:Ft(e,"labelField"),renderLabelRef:Ft(e,"renderLabel"),getColumnStyleRef:Ft(e,"getColumnStyle"),renderPrefixRef:Ft(e,"renderPrefix"),renderSuffixRef:Ft(e,"renderSuffix"),syncCascaderMenuPosition:re,syncSelectMenuPosition:oe,updateKeyboardKey:E,updateHoverKey:L,addLoadingKey:P,deleteLoadingKey:T,doCheck:N,doUncheck:H,closeMenu:Q,handleSelectMenuClickOutside:function(e){K.value&&J(e)},handleCascaderMenuClickOutside:J,clearPattern:ee});const ie={focus:()=>{var e;null===(e=b.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=b.value)||void 0===e||e.blur()},getCheckedData:()=>{if(ae.value){const e=z.value;return{keys:e,options:j(e)}}return{keys:[],options:[]}},getIndeterminateData:()=>{if(ae.value){const e=M.value;return{keys:e,options:j(e)}}return{keys:[],options:[]}}},le=Qr((()=>{const{self:{optionArrowColor:e,optionTextColor:t,optionTextColorActive:n,optionTextColorDisabled:o,optionCheckMarkColor:r,menuColor:a,menuBoxShadow:l,menuDividerColor:s,menuBorderRadius:d,menuHeight:c,optionColorHover:u,optionHeight:h,optionFontSize:p,loadingColor:f,columnWidth:m},common:{cubicBezierEaseInOut:v}}=i.value;return{"--n-bezier":v,"--n-menu-border-radius":d,"--n-menu-box-shadow":l,"--n-menu-height":c,"--n-column-width":m,"--n-menu-color":a,"--n-menu-divider-color":s,"--n-option-height":h,"--n-option-font-size":p,"--n-option-text-color":t,"--n-option-text-color-disabled":o,"--n-option-text-color-active":n,"--n-option-color-hover":u,"--n-option-check-mark-color":r,"--n-option-arrow-color":e,"--n-menu-mask-color":DO(a,{alpha:.75}),"--n-loading-color":f}})),se=a?vE("cascader",void 0,le,e):void 0;return Object.assign(Object.assign({},ie),{handleTriggerResize:function(){U.value&&(K.value?oe():re())},mergedStatus:m,selectMenuFollowerRef:C,cascaderMenuFollowerRef:w,triggerInstRef:b,selectMenuInstRef:g,cascaderMenuInstRef:v,mergedBordered:n,mergedClsPrefix:o,namespace:r,mergedValue:d,mergedShow:U,showSelectMenu:K,pattern:u,treeMate:R,mergedSize:p,mergedDisabled:f,localizedPlaceholder:q,selectedOption:V,selectedOptions:W,adjustedTo:S,menuModel:$,handleMenuTabout:function(){Q(!0)},handleMenuFocus:function(e){var t;(null===(t=b.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!0,G(e))},handleMenuBlur:function(e){var t;(null===(t=b.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!1,Y(e))},handleMenuKeydown:function(e){ne(e)},handleMenuMousedown:function(t){QA(t,"action")||e.multiple&&e.filter&&(t.preventDefault(),X())},handleTriggerFocus:function(e){var t;(null===(t=v.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!0,G(e))},handleTriggerBlur:function(e){var t;(null===(t=v.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(k.value=!1,Y(e),Q())},handleTriggerClick:function(){e.filterable?Z():U.value?Q(!0):Z()},handleClear:function(t){t.stopPropagation(),e.multiple?B([],[],[]):B(null,null,null)},handleDeleteOption:function(t){const{multiple:n}=e,{value:o}=d;n&&Array.isArray(o)&&void 0!==t.value?H(t.value):B(null,null,null)},handlePatternInput:function(e){u.value=e.target.value},handleKeydown:ne,focused:k,optionHeight:O,mergedTheme:i,cssVars:a?void 0:le,themeClass:null==se?void 0:se.themeClass,onRender:null==se?void 0:se.onRender})},render(){const{mergedClsPrefix:e}=this;return Jr("div",{class:`${e}-cascader`},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(cY,{onResize:this.handleTriggerResize,ref:"triggerInstRef",status:this.mergedStatus,clsPrefix:e,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,active:this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,focused:this.focused,onFocus:this.handleTriggerFocus,onBlur:this.handleTriggerBlur,onClick:this.handleTriggerClick,onClear:this.handleClear,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onKeydown:this.handleKeydown},{arrow:()=>{var e,t;return null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)}})}),Jr(FI,{key:"cascaderMenu",ref:"cascaderMenuFollowerRef",show:this.mergedShow&&!this.showSelectMenu,containerClass:this.namespace,placement:this.placement,width:this.options.length?void 0:"target",teleportDisabled:this.adjustedTo===ID.tdkey,to:this.adjustedTo},{default:()=>{var e;null===(e=this.onRender)||void 0===e||e.call(this);const{menuProps:t}=this;return Jr(TQ,Object.assign({},t,{ref:"cascaderMenuInstRef",class:[this.themeClass,null==t?void 0:t.class],value:this.mergedValue,show:this.mergedShow&&!this.showSelectMenu,menuModel:this.menuModel,style:[this.cssVars,null==t?void 0:t.style],onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onMousedown:this.handleMenuMousedown,onTabout:this.handleMenuTabout}),{action:()=>{var e,t;return null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e)},empty:()=>{var e,t;return null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)}})}}),Jr(FI,{key:"selectMenu",ref:"selectMenuFollowerRef",show:this.mergedShow&&this.showSelectMenu,containerClass:this.namespace,width:"target",placement:this.placement,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey},{default:()=>{var e;null===(e=this.onRender)||void 0===e||e.call(this);const{filterMenuProps:t}=this;return Jr(zQ,Object.assign({},t,{ref:"selectMenuInstRef",class:[this.themeClass,null==t?void 0:t.class],value:this.mergedValue,show:this.mergedShow&&this.showSelectMenu,pattern:this.pattern,multiple:this.multiple,tmNodes:this.treeMate.treeNodes,filter:this.filter,labelField:this.labelField,separator:this.separator,style:[this.cssVars,null==t?void 0:t.style]}))}})]}))}}),AQ={name:"Code",common:KU,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}};const OQ={name:"Code",common:Eq,self:function(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:r}}};function DQ(e){const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:a,fontSize:i}=e;return{titleFontSize:i,titleFontWeight:t,dividerColor:a,titleTextColor:n,titleTextColorDisabled:r,fontSize:i,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}}const IQ={name:"Collapse",common:Eq,self:DQ},BQ={name:"Collapse",common:KU,self:DQ};function EQ(e){const{cubicBezierEaseInOut:t}=e;return{bezier:t}}const LQ={name:"CollapseTransition",common:Eq,self:EQ},jQ={name:"CollapseTransition",common:KU,self:EQ};function NQ(e){const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:a,borderColor:i,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,dividerColor:p}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:a,border:`1px solid ${i}`,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:h,dividerColor:p}}const HQ={name:"ColorPicker",common:Eq,peers:{Input:zY,Button:xG},self:NQ},WQ={name:"ColorPicker",common:KU,peers:{Input:FY,Button:CG},self:NQ};function VQ(e){return null===e?null:/^ *#/.test(e)?"hex":e.includes("rgb")?"rgb":e.includes("hsl")?"hsl":e.includes("hsv")?"hsv":null}const UQ={rgb:{hex:e=>KO(MO(e)),hsl(e){const[t,n,o,r]=MO(e);return qO([...cO(t,n,o),r])},hsv(e){const[t,n,o,r]=MO(e);return VO([...dO(t,n,o),r])}},hex:{rgb:e=>HO(MO(e)),hsl(e){const[t,n,o,r]=MO(e);return qO([...cO(t,n,o),r])},hsv(e){const[t,n,o,r]=MO(e);return VO([...dO(t,n,o),r])}},hsl:{hex(e){const[t,n,o,r]=FO(e);return KO([...uO(t,n,o),r])},rgb(e){const[t,n,o,r]=FO(e);return HO([...uO(t,n,o),r])},hsv(e){const[t,n,o,r]=FO(e);return VO([...iO(t,n,o),r])}},hsv:{hex(e){const[t,n,o,r]=zO(e);return KO([...sO(t,n,o),r])},rgb(e){const[t,n,o,r]=zO(e);return HO([...sO(t,n,o),r])},hsl(e){const[t,n,o,r]=zO(e);return qO([...lO(t,n,o),r])}}};function qQ(e,t,n){if(!(n=n||VQ(e)))return null;if(n===t)return e;return UQ[n][t](e)}const KQ="12px",YQ="6px",GQ=$n({name:"AlphaSlider",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},alpha:{type:Number,default:0},onUpdateAlpha:{type:Function,required:!0},onComplete:Function},setup(e){const t=vt(null);function n(n){const{value:o}=t;if(!o)return;const{width:r,left:a}=o.getBoundingClientRect(),i=(n.clientX-a)/(r-12);var l;e.onUpdateAlpha((l=i,(l=Math.round(100*l)/100)>1?1:l<0?0:l))}function o(){var t;tD("mousemove",document,n),tD("mouseup",document,o),null===(t=e.onComplete)||void 0===t||t.call(e)}return{railRef:t,railBackgroundImage:Qr((()=>{const{rgba:t}=e;return t?`linear-gradient(to right, rgba(${t[0]}, ${t[1]}, ${t[2]}, 0) 0%, rgba(${t[0]}, ${t[1]}, ${t[2]}, 1) 100%)`:""})),handleMouseDown:function(r){t.value&&e.rgba&&(eD("mousemove",document,n),eD("mouseup",document,o),n(r))}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-slider`,ref:"railRef",style:{height:KQ,borderRadius:YQ},onMousedown:this.handleMouseDown},Jr("div",{style:{borderRadius:YQ,position:"absolute",left:0,right:0,top:0,bottom:0,overflow:"hidden"}},Jr("div",{class:`${e}-color-picker-checkboard`}),Jr("div",{class:`${e}-color-picker-slider__image`,style:{backgroundImage:this.railBackgroundImage}})),this.rgba&&Jr("div",{style:{position:"absolute",left:YQ,right:YQ,top:0,bottom:0}},Jr("div",{class:`${e}-color-picker-handle`,style:{left:`calc(${100*this.alpha}% - ${YQ})`,borderRadius:YQ,width:KQ,height:KQ}},Jr("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:HO(this.rgba),borderRadius:YQ,width:KQ,height:KQ}}))))}}),XQ="n-color-picker";const ZQ={paddingSmall:"0 4px"},QQ=$n({name:"ColorInputUnit",props:{label:{type:String,required:!0},value:{type:[Number,String],default:null},showAlpha:Boolean,onUpdateValue:{type:Function,required:!0}},setup(e){const t=vt(""),{themeRef:n}=Ro(XQ,null);function o(){const{value:t}=e;if(null===t)return"";const{label:n}=e;return"HEX"===n?t:"A"===n?`${Math.floor(100*t)}%`:String(Math.floor(t))}return Jo((()=>{t.value=o()})),{mergedTheme:n,inputValue:t,handleInputChange:function(n){let r,a;switch(e.label){case"HEX":a=function(e){const t=e.trim();return!!/^#[0-9a-fA-F]+$/.test(t)&&[4,5,7,9].includes(t.length)}(n),a&&e.onUpdateValue(n),t.value=o();break;case"H":r=function(e){return!!/^\d{1,3}\.?\d*$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e),360))}(n),!1===r?t.value=o():e.onUpdateValue(r);break;case"S":case"L":case"V":r=function(e){return!!/^\d{1,3}\.?\d*$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e),100))}(n),!1===r?t.value=o():e.onUpdateValue(r);break;case"A":r=function(e){return!!/^\d{1,3}\.?\d*%$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e)/100,100))}(n),!1===r?t.value=o():e.onUpdateValue(r);break;case"R":case"G":case"B":r=function(e){return!!/^\d{1,3}\.?\d*$/.test(e.trim())&&Math.max(0,Math.min(Number.parseInt(e),255))}(n),!1===r?t.value=o():e.onUpdateValue(r)}},handleInputUpdateValue:function(e){t.value=e}}},render(){const{mergedTheme:e}=this;return Jr(BY,{size:"small",placeholder:this.label,theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,builtinThemeOverrides:ZQ,value:this.inputValue,onUpdateValue:this.handleInputUpdateValue,onChange:this.handleInputChange,style:"A"===this.label?"flex-grow: 1.25;":""})}}),JQ=$n({name:"ColorInput",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},modes:{type:Array,required:!0},showAlpha:{type:Boolean,required:!0},value:{type:String,default:null},valueArr:{type:Array,default:null},onUpdateValue:{type:Function,required:!0},onUpdateMode:{type:Function,required:!0}},setup:e=>({handleUnitUpdateValue(t,n){const{showAlpha:o}=e;if("hex"===e.mode)return void e.onUpdateValue((o?KO:YO)(n));let r;switch(r=null===e.valueArr?[0,0,0,0]:Array.from(e.valueArr),e.mode){case"hsv":r[t]=n,e.onUpdateValue((o?VO:WO)(r));break;case"rgb":r[t]=n,e.onUpdateValue((o?HO:NO)(r));break;case"hsl":r[t]=n,e.onUpdateValue((o?qO:UO)(r))}}}),render(){const{clsPrefix:e,modes:t}=this;return Jr("div",{class:`${e}-color-picker-input`},Jr("div",{class:`${e}-color-picker-input__mode`,onClick:this.onUpdateMode,style:{cursor:1===t.length?"":"pointer"}},this.mode.toUpperCase()+(this.showAlpha?"A":"")),Jr(LY,null,{default:()=>{const{mode:e,valueArr:t,showAlpha:n}=this;if("hex"===e){let e=null;try{e=null===t?null:(n?KO:YO)(t)}catch(sD){}return Jr(QQ,{label:"HEX",showAlpha:n,value:e,onUpdateValue:e=>{this.handleUnitUpdateValue(0,e)}})}return(e+(n?"a":"")).split("").map(((e,n)=>Jr(QQ,{label:e.toUpperCase(),value:null===t?null:t[n],onUpdateValue:e=>{this.handleUnitUpdateValue(n,e)}})))}}))}});function eJ(e,t){if("hsv"===t){const[t,n,o,r]=zO(e);return HO([...sO(t,n,o),r])}return e}const tJ=$n({name:"ColorPickerSwatches",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},swatches:{type:Array,required:!0},onUpdateColor:{type:Function,required:!0}},setup(e){function t(t){const{mode:n}=e;let{value:o,mode:r}=t;return r||(r="hex",o=/^[a-zA-Z]+$/.test(o)?function(e){const t=document.createElement("canvas").getContext("2d");return t?(t.fillStyle=e,t.fillStyle):"#000000"}(o):"#000000"),r===n?o:qQ(o,n,r)}function n(n){e.onUpdateColor(t(n))}return{parsedSwatchesRef:Qr((()=>e.swatches.map((e=>{const t=VQ(e);return{value:e,mode:t,legalValue:eJ(e,t)}})))),handleSwatchSelect:n,handleSwatchKeyDown:function(e,t){"Enter"===e.key&&n(t)}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-swatches`},this.parsedSwatchesRef.map((t=>Jr("div",{class:`${e}-color-picker-swatch`,tabindex:0,onClick:()=>{this.handleSwatchSelect(t)},onKeydown:e=>{this.handleSwatchKeyDown(e,t)}},Jr("div",{class:`${e}-color-picker-swatch__fill`,style:{background:t.legalValue}})))))}}),nJ=$n({name:"ColorPickerTrigger",slots:Object,props:{clsPrefix:{type:String,required:!0},value:{type:String,default:null},hsla:{type:Array,default:null},disabled:Boolean,onClick:Function},setup(e){const{colorPickerSlots:t,renderLabelRef:n}=Ro(XQ,null);return()=>{const{hsla:o,value:r,clsPrefix:a,onClick:i,disabled:l}=e,s=t.label||n.value;return Jr("div",{class:[`${a}-color-picker-trigger`,l&&`${a}-color-picker-trigger--disabled`],onClick:l?void 0:i},Jr("div",{class:`${a}-color-picker-trigger__fill`},Jr("div",{class:`${a}-color-picker-checkboard`}),Jr("div",{style:{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundColor:o?qO(o):""}}),r&&o?Jr("div",{class:`${a}-color-picker-trigger__value`,style:{color:o[2]>50||o[3]<.5?"black":"white"}},s?s(r):r):null))}}}),oJ=$n({name:"ColorPreview",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},color:{type:String,default:null,validator:e=>{const t=VQ(e);return Boolean(!e||t&&"hsv"!==t)}},onUpdateColor:{type:Function,required:!0}},setup:e=>({handleChange:function(t){var n;const o=t.target.value;null===(n=e.onUpdateColor)||void 0===n||n.call(e,qQ(o.toUpperCase(),e.mode,"hex")),t.stopPropagation()}}),render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-preview__preview`},Jr("span",{class:`${e}-color-picker-preview__fill`,style:{background:this.color||"#000000"}}),Jr("input",{class:`${e}-color-picker-preview__input`,type:"color",value:this.color,onChange:this.handleChange}))}}),rJ="12px",aJ="6px",iJ=$n({name:"HueSlider",props:{clsPrefix:{type:String,required:!0},hue:{type:Number,required:!0},onUpdateHue:{type:Function,required:!0},onComplete:Function},setup(e){const t=vt(null);function n(n){const{value:o}=t;if(!o)return;const{width:r,left:a}=o.getBoundingClientRect(),i=(l=(n.clientX-a-6)/(r-12)*360,(l=Math.round(l))>=360?359:l<0?0:l);var l;e.onUpdateHue(i)}function o(){var t;tD("mousemove",document,n),tD("mouseup",document,o),null===(t=e.onComplete)||void 0===t||t.call(e)}return{railRef:t,handleMouseDown:function(e){t.value&&(eD("mousemove",document,n),eD("mouseup",document,o),n(e))}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-slider`,style:{height:rJ,borderRadius:aJ}},Jr("div",{ref:"railRef",style:{boxShadow:"inset 0 0 2px 0 rgba(0, 0, 0, .24)",boxSizing:"border-box",backgroundImage:"linear-gradient(90deg,red,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,red)",height:rJ,borderRadius:aJ,position:"relative"},onMousedown:this.handleMouseDown},Jr("div",{style:{position:"absolute",left:aJ,right:aJ,top:0,bottom:0}},Jr("div",{class:`${e}-color-picker-handle`,style:{left:`calc((${this.hue}%) / 359 * 100 - ${aJ})`,borderRadius:aJ,width:rJ,height:rJ}},Jr("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:`hsl(${this.hue}, 100%, 50%)`,borderRadius:aJ,width:rJ,height:rJ}})))))}}),lJ="12px",sJ="6px",dJ=$n({name:"Pallete",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},displayedHue:{type:Number,required:!0},displayedSv:{type:Array,required:!0},onUpdateSV:{type:Function,required:!0},onComplete:Function},setup(e){const t=vt(null);function n(n){const{value:o}=t;if(!o)return;const{width:r,height:a,left:i,bottom:l}=o.getBoundingClientRect(),s=(l-n.clientY)/a,d=(n.clientX-i)/r,c=100*(d>1?1:d<0?0:d),u=100*(s>1?1:s<0?0:s);e.onUpdateSV(c,u)}function o(){var t;tD("mousemove",document,n),tD("mouseup",document,o),null===(t=e.onComplete)||void 0===t||t.call(e)}return{palleteRef:t,handleColor:Qr((()=>{const{rgba:t}=e;return t?`rgb(${t[0]}, ${t[1]}, ${t[2]})`:""})),handleMouseDown:function(e){t.value&&(eD("mousemove",document,n),eD("mouseup",document,o),n(e))}}},render(){const{clsPrefix:e}=this;return Jr("div",{class:`${e}-color-picker-pallete`,onMousedown:this.handleMouseDown,ref:"palleteRef"},Jr("div",{class:`${e}-color-picker-pallete__layer`,style:{backgroundImage:`linear-gradient(90deg, white, hsl(${this.displayedHue}, 100%, 50%))`}}),Jr("div",{class:`${e}-color-picker-pallete__layer ${e}-color-picker-pallete__layer--shadowed`,style:{backgroundImage:"linear-gradient(180deg, rgba(0, 0, 0, 0%), rgba(0, 0, 0, 100%))"}}),this.rgba&&Jr("div",{class:`${e}-color-picker-handle`,style:{width:lJ,height:lJ,borderRadius:sJ,left:`calc(${this.displayedSv[0]}% - ${sJ})`,bottom:`calc(${this.displayedSv[1]}% - ${sJ})`}},Jr("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:this.handleColor,borderRadius:sJ,width:lJ,height:lJ}})))}}),cJ=BA([LA("color-picker","\n display: inline-block;\n box-sizing: border-box;\n height: var(--n-height);\n font-size: var(--n-font-size);\n width: 100%;\n position: relative;\n "),LA("color-picker-panel","\n margin: 4px 0;\n width: 240px;\n font-size: var(--n-panel-font-size);\n color: var(--n-text-color);\n background-color: var(--n-color);\n transition:\n box-shadow .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n ",[MK(),LA("input","\n text-align: center;\n ")]),LA("color-picker-checkboard","\n background: white; \n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[BA("&::after",'\n background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);\n background-size: 12px 12px;\n background-position: 0 0, 0 6px, 6px -6px, -6px 0px;\n background-repeat: repeat;\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),LA("color-picker-slider","\n margin-bottom: 8px;\n position: relative;\n box-sizing: border-box;\n ",[jA("image","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n "),BA("&::after",'\n content: "";\n position: absolute;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);\n pointer-events: none;\n ')]),LA("color-picker-handle","\n z-index: 1;\n box-shadow: 0 0 2px 0 rgba(0, 0, 0, .45);\n position: absolute;\n background-color: white;\n overflow: hidden;\n ",[jA("fill","\n box-sizing: border-box;\n border: 2px solid white;\n ")]),LA("color-picker-pallete","\n height: 180px;\n position: relative;\n margin-bottom: 8px;\n cursor: crosshair;\n ",[jA("layer","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[NA("shadowed","\n box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);\n ")])]),LA("color-picker-preview","\n display: flex;\n ",[jA("sliders","\n flex: 1 0 auto;\n "),jA("preview","\n position: relative;\n height: 30px;\n width: 30px;\n margin: 0 0 8px 6px;\n border-radius: 50%;\n box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;\n overflow: hidden;\n "),jA("fill","\n display: block;\n width: 30px;\n height: 30px;\n "),jA("input","\n position: absolute;\n top: 0;\n left: 0;\n width: 30px;\n height: 30px;\n opacity: 0;\n z-index: 1;\n ")]),LA("color-picker-input","\n display: flex;\n align-items: center;\n ",[LA("input","\n flex-grow: 1;\n flex-basis: 0;\n "),jA("mode","\n width: 72px;\n text-align: center;\n ")]),LA("color-picker-control","\n padding: 12px;\n "),LA("color-picker-action","\n display: flex;\n margin-top: -4px;\n border-top: 1px solid var(--n-divider-color);\n padding: 8px 12px;\n justify-content: flex-end;\n ",[LA("button","margin-left: 8px;")]),LA("color-picker-trigger","\n border: var(--n-border);\n height: 100%;\n box-sizing: border-box;\n border-radius: var(--n-border-radius);\n transition: border-color .3s var(--n-bezier);\n cursor: pointer;\n ",[jA("value","\n white-space: nowrap;\n position: relative;\n "),jA("fill","\n border-radius: var(--n-border-radius);\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n left: 4px;\n right: 4px;\n top: 4px;\n bottom: 4px;\n "),NA("disabled","cursor: not-allowed"),LA("color-picker-checkboard","\n border-radius: var(--n-border-radius);\n ",[BA("&::after","\n --n-block-size: calc((var(--n-height) - 8px) / 3);\n background-size: calc(var(--n-block-size) * 2) calc(var(--n-block-size) * 2);\n background-position: 0 0, 0 var(--n-block-size), var(--n-block-size) calc(-1 * var(--n-block-size)), calc(-1 * var(--n-block-size)) 0px; \n ")])]),LA("color-picker-swatches","\n display: grid;\n grid-gap: 8px;\n flex-wrap: wrap;\n position: relative;\n grid-template-columns: repeat(auto-fill, 18px);\n margin-top: 10px;\n ",[LA("color-picker-swatch","\n width: 18px;\n height: 18px;\n background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);\n background-size: 8px 8px;\n background-position: 0px 0, 0px 4px, 4px -4px, -4px 0px;\n background-repeat: repeat;\n ",[jA("fill","\n position: relative;\n width: 100%;\n height: 100%;\n border-radius: 3px;\n box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;\n cursor: pointer;\n "),BA("&:focus","\n outline: none;\n ",[jA("fill",[BA("&::after",'\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: inherit;\n filter: blur(2px);\n content: "";\n ')])])])])]),uJ=$n({name:"ColorPicker",props:Object.assign(Object.assign({},HW.props),{value:String,show:{type:Boolean,default:void 0},defaultShow:Boolean,defaultValue:String,modes:{type:Array,default:()=>["rgb","hex","hsl"]},placement:{type:String,default:"bottom-start"},to:ID.propTo,showAlpha:{type:Boolean,default:!0},showPreview:Boolean,swatches:Array,disabled:{type:Boolean,default:void 0},actions:{type:Array,default:null},internalActions:Array,size:String,renderLabel:Function,onComplete:Function,onConfirm:Function,onClear:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),slots:Object,setup(e,{slots:t}){const n=vt(null);let o=null;const r=bE(e),{mergedSizeRef:a,mergedDisabledRef:i}=r,{localeRef:l}=AW("global"),{mergedClsPrefixRef:s,namespaceRef:d,inlineThemeDisabled:c}=fE(e),u=HW("ColorPicker","-color-picker",cJ,HQ,e,s);To(XQ,{themeRef:u,renderLabelRef:Ft(e,"renderLabel"),colorPickerSlots:t});const h=vt(e.defaultShow),p=xD(Ft(e,"show"),h);function f(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),h.value=t}const{defaultValue:m}=e,v=vt(void 0===m?function(e,t){switch(e[0]){case"hex":return t?"#000000FF":"#000000";case"rgb":return t?"rgba(0, 0, 0, 1)":"rgb(0, 0, 0)";case"hsl":return t?"hsla(0, 0%, 0%, 1)":"hsl(0, 0%, 0%)";case"hsv":return t?"hsva(0, 0%, 0%, 1)":"hsv(0, 0%, 0%)"}return"#000000"}(e.modes,e.showAlpha):m),g=xD(Ft(e,"value"),v),b=vt([g.value]),y=vt(0),_=Qr((()=>VQ(g.value))),{modes:x}=e,C=vt(VQ(g.value)||x[0]||"rgb");function w(){const{modes:t}=e,{value:n}=C,o=t.findIndex((e=>e===n));C.value=~o?t[(o+1)%t.length]:"rgb"}let S,k,P,T,R,F,z,M;const $=Qr((()=>{const{value:e}=g;if(!e)return null;switch(_.value){case"hsv":return zO(e);case"hsl":return[S,k,P,M]=FO(e),[...iO(S,k,P),M];case"rgb":case"hex":return[R,F,z,M]=MO(e),[...dO(R,F,z),M]}})),A=Qr((()=>{const{value:e}=g;if(!e)return null;switch(_.value){case"rgb":case"hex":return MO(e);case"hsv":return[S,k,T,M]=zO(e),[...sO(S,k,T),M];case"hsl":return[S,k,P,M]=FO(e),[...uO(S,k,P),M]}})),O=Qr((()=>{const{value:e}=g;if(!e)return null;switch(_.value){case"hsl":return FO(e);case"hsv":return[S,k,T,M]=zO(e),[...lO(S,k,T),M];case"rgb":case"hex":return[R,F,z,M]=MO(e),[...cO(R,F,z),M]}})),D=Qr((()=>{switch(C.value){case"rgb":case"hex":return A.value;case"hsv":return $.value;case"hsl":return O.value}})),I=vt(0),B=vt(1),E=vt([0,0]);function L(t,n){const{value:o}=$,r=I.value,a=o?o[3]:1;E.value=[t,n];const{showAlpha:i}=e;switch(C.value){case"hsv":H((i?VO:WO)([r,t,n,a]),"cursor");break;case"hsl":H((i?qO:UO)([...lO(r,t,n),a]),"cursor");break;case"rgb":H((i?HO:NO)([...sO(r,t,n),a]),"cursor");break;case"hex":H((i?KO:YO)([...sO(r,t,n),a]),"cursor")}}function j(t){I.value=t;const{value:n}=$;if(!n)return;const[,o,r,a]=n,{showAlpha:i}=e;switch(C.value){case"hsv":H((i?VO:WO)([t,o,r,a]),"cursor");break;case"rgb":H((i?HO:NO)([...sO(t,o,r),a]),"cursor");break;case"hex":H((i?KO:YO)([...sO(t,o,r),a]),"cursor");break;case"hsl":H((i?qO:UO)([...lO(t,o,r),a]),"cursor")}}function N(e){switch(C.value){case"hsv":[S,k,T]=$.value,H(VO([S,k,T,e]),"cursor");break;case"rgb":[R,F,z]=A.value,H(HO([R,F,z,e]),"cursor");break;case"hex":[R,F,z]=A.value,H(KO([R,F,z,e]),"cursor");break;case"hsl":[S,k,P]=O.value,H(qO([S,k,P,e]),"cursor")}B.value=e}function H(t,n){o="cursor"===n?t:null;const{nTriggerFormChange:a,nTriggerFormInput:i}=r,{onUpdateValue:l,"onUpdate:value":s}=e;l&&GB(l,t),s&&GB(s,t),a(),i(),v.value=t}function W(e){H(e,"input"),Kt(V)}function V(t=!0){const{value:n}=g;if(n){const{nTriggerFormChange:o,nTriggerFormInput:a}=r,{onComplete:i}=e;i&&i(n);const{value:l}=b,{value:s}=y;t&&(l.splice(s+1,l.length,n),y.value=s+1),o(),a()}}function U(){const{value:e}=y;e-1<0||(H(b.value[e-1],"input"),V(!1),y.value=e-1)}function q(){const{value:e}=y;e<0||e+1>=b.value.length||(H(b.value[e+1],"input"),V(!1),y.value=e+1)}function K(){H(null,"input");const{onClear:t}=e;t&&t(),f(!1)}function Y(){const{value:t}=g,{onConfirm:n}=e;n&&n(t),f(!1)}const G=Qr((()=>y.value>=1)),X=Qr((()=>{const{value:e}=b;return e.length>1&&y.value{e||(b.value=[g.value],y.value=0)})),Jo((()=>{if(o&&o===g.value);else{const{value:e}=$;e&&(I.value=e[0],B.value=e[3],E.value=[e[1],e[2]])}o=null}));const Z=Qr((()=>{const{value:e}=a,{common:{cubicBezierEaseInOut:t},self:{textColor:n,color:o,panelFontSize:r,boxShadow:i,border:l,borderRadius:s,dividerColor:d,[KA("height",e)]:c,[KA("fontSize",e)]:h}}=u.value;return{"--n-bezier":t,"--n-text-color":n,"--n-color":o,"--n-panel-font-size":r,"--n-font-size":h,"--n-box-shadow":i,"--n-border":l,"--n-border-radius":s,"--n-height":c,"--n-divider-color":d}})),Q=c?vE("color-picker",Qr((()=>a.value[0])),Z,e):void 0;return{mergedClsPrefix:s,namespace:d,selfRef:n,hsla:O,rgba:A,mergedShow:p,mergedDisabled:i,isMounted:CD(),adjustedTo:ID(e),mergedValue:g,handleTriggerClick(){f(!0)},handleClickOutside(e){var t;(null===(t=n.value)||void 0===t?void 0:t.contains(JA(e)))||f(!1)},renderPanel:function(){var n;const{value:o}=A,{value:r}=I,{internalActions:a,modes:i,actions:d}=e,{value:h}=u,{value:p}=s;return Jr("div",{class:[`${p}-color-picker-panel`,null==Q?void 0:Q.themeClass.value],onDragstart:e=>{e.preventDefault()},style:c?void 0:Z.value},Jr("div",{class:`${p}-color-picker-control`},Jr(dJ,{clsPrefix:p,rgba:o,displayedHue:r,displayedSv:E.value,onUpdateSV:L,onComplete:V}),Jr("div",{class:`${p}-color-picker-preview`},Jr("div",{class:`${p}-color-picker-preview__sliders`},Jr(iJ,{clsPrefix:p,hue:r,onUpdateHue:j,onComplete:V}),e.showAlpha?Jr(GQ,{clsPrefix:p,rgba:o,alpha:B.value,onUpdateAlpha:N,onComplete:V}):null),e.showPreview?Jr(oJ,{clsPrefix:p,mode:C.value,color:A.value&&YO(A.value),onUpdateColor:e=>{H(e,"input")}}):null),Jr(JQ,{clsPrefix:p,showAlpha:e.showAlpha,mode:C.value,modes:i,onUpdateMode:w,value:g.value,valueArr:D.value,onUpdateValue:W}),(null===(n=e.swatches)||void 0===n?void 0:n.length)&&Jr(tJ,{clsPrefix:p,mode:C.value,swatches:e.swatches,onUpdateColor:e=>{H(e,"input")}})),(null==d?void 0:d.length)?Jr("div",{class:`${p}-color-picker-action`},d.includes("confirm")&&Jr(SG,{size:"small",onClick:Y,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.confirm}),d.includes("clear")&&Jr(SG,{size:"small",onClick:K,disabled:!g.value,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.clear})):null,t.action?Jr("div",{class:`${p}-color-picker-action`},{default:t.action}):a?Jr("div",{class:`${p}-color-picker-action`},a.includes("undo")&&Jr(SG,{size:"small",onClick:U,disabled:!G.value,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.undo}),a.includes("redo")&&Jr(SG,{size:"small",onClick:q,disabled:!X.value,theme:h.peers.Button,themeOverrides:h.peerOverrides.Button},{default:()=>l.value.redo})):null)},cssVars:c?void 0:Z,themeClass:null==Q?void 0:Q.themeClass,onRender:null==Q?void 0:Q.onRender}},render(){const{mergedClsPrefix:e,onRender:t}=this;return null==t||t(),Jr("div",{class:[this.themeClass,`${e}-color-picker`],ref:"selfRef",style:this.cssVars},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(nJ,{clsPrefix:e,value:this.mergedValue,hsla:this.hsla,disabled:this.mergedDisabled,onClick:this.handleTriggerClick})}),Jr(FI,{placement:this.placement,show:this.mergedShow,containerClass:this.namespace,teleportDisabled:this.adjustedTo===ID.tdkey,to:this.adjustedTo},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.mergedShow?on(this.renderPanel(),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})})]}))}}),hJ=$n({name:"ConfigProvider",alias:["App"],props:{abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:String,locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,styleMountTarget:Object,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>!0,default:void 0}},setup(e){const t=Ro(hE,null),n=Qr((()=>{const{theme:n}=e;if(null===n)return;const o=null==t?void 0:t.mergedThemeRef.value;return void 0===n?o:void 0===o?n:Object.assign({},o,n)})),o=Qr((()=>{const{themeOverrides:n}=e;if(null!==n){if(void 0===n)return null==t?void 0:t.mergedThemeOverridesRef.value;{const e=null==t?void 0:t.mergedThemeOverridesRef.value;return void 0===e?n:$W({},e,n)}}})),r=oD((()=>{const{namespace:n}=e;return void 0===n?null==t?void 0:t.mergedNamespaceRef.value:n})),a=oD((()=>{const{bordered:n}=e;return void 0===n?null==t?void 0:t.mergedBorderedRef.value:n})),i=Qr((()=>{const{icons:n}=e;return void 0===n?null==t?void 0:t.mergedIconsRef.value:n})),l=Qr((()=>{const{componentOptions:n}=e;return void 0!==n?n:null==t?void 0:t.mergedComponentPropsRef.value})),s=Qr((()=>{const{clsPrefix:n}=e;return void 0!==n?n:t?t.mergedClsPrefixRef.value:pE})),d=Qr((()=>{var n;const{rtl:o}=e;if(void 0===o)return null==t?void 0:t.mergedRtlRef.value;const r={};for(const e of o)r[e.name]=ht(e),null===(n=e.peers)||void 0===n||n.forEach((e=>{e.name in r||(r[e.name]=ht(e))}));return r})),c=Qr((()=>e.breakpoints||(null==t?void 0:t.mergedBreakpointsRef.value))),u=e.inlineThemeDisabled||(null==t?void 0:t.inlineThemeDisabled),h=e.preflightStyleDisabled||(null==t?void 0:t.preflightStyleDisabled),p=e.styleMountTarget||(null==t?void 0:t.styleMountTarget),f=Qr((()=>{const{value:e}=n,{value:t}=o,r=t&&0!==Object.keys(t).length,a=null==e?void 0:e.name;return a?r?`${a}-${PA(JSON.stringify(o.value))}`:a:r?PA(JSON.stringify(o.value)):""}));return To(hE,{mergedThemeHashRef:f,mergedBreakpointsRef:c,mergedRtlRef:d,mergedIconsRef:i,mergedComponentPropsRef:l,mergedBorderedRef:a,mergedNamespaceRef:r,mergedClsPrefixRef:s,mergedLocaleRef:Qr((()=>{const{locale:n}=e;if(null!==n)return void 0===n?null==t?void 0:t.mergedLocaleRef.value:n})),mergedDateLocaleRef:Qr((()=>{const{dateLocale:n}=e;if(null!==n)return void 0===n?null==t?void 0:t.mergedDateLocaleRef.value:n})),mergedHljsRef:Qr((()=>{const{hljs:n}=e;return void 0===n?null==t?void 0:t.mergedHljsRef.value:n})),mergedKatexRef:Qr((()=>{const{katex:n}=e;return void 0===n?null==t?void 0:t.mergedKatexRef.value:n})),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:u||!1,preflightStyleDisabled:h||!1,styleMountTarget:p}),{mergedClsPrefix:s,mergedBordered:a,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n):Jr(this.as||this.tag,{class:`${this.mergedClsPrefix||pE}-config-provider`},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}}),pJ={name:"Popselect",common:KU,peers:{Popover:BK,InternalSelectMenu:PK}};const fJ={name:"Popselect",common:Eq,peers:{Popover:IK,InternalSelectMenu:kK},self:function(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},mJ="n-popselect",vJ=LA("popselect-menu","\n box-shadow: var(--n-menu-box-shadow);\n"),gJ={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},bJ=nE(gJ),yJ=$n({name:"PopselectPanel",props:gJ,setup(e){const t=Ro(mJ),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=fE(e),r=HW("Popselect","-pop-select",vJ,fJ,t.props,n),a=Qr((()=>vK(e.options,WY("value","children"))));function i(t,n){const{onUpdateValue:o,"onUpdate:value":r,onChange:a}=e;o&&GB(o,t,n),r&&GB(r,t,n),a&&GB(a,t,n)}er(Ft(e,"options"),(()=>{Kt((()=>{t.syncPosition()}))}));const l=Qr((()=>{const{self:{menuBoxShadow:e}}=r.value;return{"--n-menu-box-shadow":e}})),s=o?vE("select",void 0,l,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:a,handleToggle:function(n){!function(n){const{value:{getNode:o}}=a;if(e.multiple)if(Array.isArray(e.value)){const t=[],r=[];let a=!0;e.value.forEach((e=>{if(e===n)return void(a=!1);const i=o(e);i&&(t.push(i.key),r.push(i.rawNode))})),a&&(t.push(n),r.push(o(n).rawNode)),i(t,r)}else{const e=o(n);e&&i([n],[e.rawNode])}else if(e.value===n&&e.cancelable)i(null,null);else{const e=o(n);e&&i(n,e.rawNode);const{"onUpdate:show":r,onUpdateShow:a}=t.props;r&&GB(r,!1),a&&GB(a,!1),t.setShow(!1)}Kt((()=>{t.syncPosition()}))}(n.key)},handleMenuMousedown:function(e){QA(e,"action")||QA(e,"empty")||QA(e,"header")||e.preventDefault()},cssVars:o?void 0:l,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;return null===(e=this.onRender)||void 0===e||e.call(this),Jr(AK,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var e,t;return(null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e))||[]},action:()=>{var e,t;return(null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e))||[]},empty:()=>{var e,t;return(null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e))||[]}})}}),_J=$n({name:"Popselect",props:Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),rE(XK,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},XK.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),gJ),slots:Object,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=fE(e),n=HW("Popselect","-popselect",void 0,fJ,e,t),o=vt(null);function r(){var e;null===(e=o.value)||void 0===e||e.syncPosition()}function a(e){var t;null===(t=o.value)||void 0===t||t.setShow(e)}To(mJ,{props:e,mergedThemeRef:n,syncPosition:r,setShow:a});const i={syncPosition:r,setShow:a};return Object.assign(Object.assign({},i),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(e,t,n,o,r)=>{const{$attrs:a}=this;return Jr(yJ,Object.assign({},a,{class:[a.class,e],style:[a.style,...n]},tE(this.$props,bJ),{ref:ZB(t),onMouseenter:oE([o,a.onMouseenter]),onMouseleave:oE([r,a.onMouseleave])}),{header:()=>{var e,t;return null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e)},action:()=>{var e,t;return null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e)},empty:()=>{var e,t;return null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)}})}};return Jr(ZK,Object.assign({},rE(this.$props,bJ),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}})}});function xJ(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const CJ={name:"Select",common:Eq,peers:{InternalSelection:sY,InternalSelectMenu:kK},self:xJ},wJ={name:"Select",common:KU,peers:{InternalSelection:lY,InternalSelectMenu:PK},self:xJ},SJ=BA([LA("select","\n z-index: auto;\n outline: none;\n width: 100%;\n position: relative;\n font-weight: var(--n-font-weight);\n "),LA("select-menu","\n margin: 4px 0;\n box-shadow: var(--n-menu-box-shadow);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),kJ=$n({name:"Select",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,menuSize:{type:String},filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),slots:Object,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Select","-select",SJ,CJ,e,t),i=vt(e.defaultValue),l=xD(Ft(e,"value"),i),s=vt(!1),d=vt(""),c=wD(e,["items","options"]),u=vt([]),h=vt([]),p=Qr((()=>h.value.concat(u.value).concat(c.value))),f=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n,valueField:o}=e;return(e,t)=>{if(!t)return!1;const r=t[n];if("string"==typeof r)return HY(e,r);const a=t[o];return"string"==typeof a?HY(e,a):"number"==typeof a&&HY(e,String(a))}})),m=Qr((()=>{if(e.remote)return c.value;{const{value:t}=p,{value:n}=d;return n.length&&e.filterable?function(e,t,n,o){return t?function e(r){if(!Array.isArray(r))return[];const a=[];for(const i of r)if(jY(i)){const t=e(i[o]);t.length&&a.push(Object.assign({},i,{[o]:t}))}else{if(NY(i))continue;t(n,i)&&a.push(i)}return a}(e):e}(t,f.value,n,e.childrenField):t}})),v=Qr((()=>{const{valueField:t,childrenField:n}=e,o=WY(t,n);return vK(m.value,o)})),g=Qr((()=>function(e,t,n){const o=new Map;return e.forEach((e=>{jY(e)?e[n].forEach((e=>{o.set(e[t],e)})):o.set(e[t],e)})),o}(p.value,e.valueField,e.childrenField))),b=vt(!1),y=xD(Ft(e,"show"),b),_=vt(null),x=vt(null),C=vt(null),{localeRef:w}=AW("Select"),S=Qr((()=>{var t;return null!==(t=e.placeholder)&&void 0!==t?t:w.value.placeholder})),k=[],P=vt(new Map),T=Qr((()=>{const{fallbackOption:t}=e;if(void 0===t){const{labelField:t,valueField:n}=e;return e=>({[t]:String(e),[n]:e})}return!1!==t&&(e=>Object.assign(t(e),{value:e}))}));function R(t){const n=e.remote,{value:o}=P,{value:r}=g,{value:a}=T,i=[];return t.forEach((e=>{if(r.has(e))i.push(r.get(e));else if(n&&o.has(e))i.push(o.get(e));else if(a){const t=a(e);t&&i.push(t)}})),i}const F=Qr((()=>{if(e.multiple){const{value:e}=l;return Array.isArray(e)?R(e):[]}return null})),z=Qr((()=>{const{value:t}=l;return e.multiple||Array.isArray(t)||null===t?null:R([t])[0]||null})),M=bE(e),{mergedSizeRef:$,mergedDisabledRef:A,mergedStatusRef:O}=M;function D(t,n){const{onChange:o,"onUpdate:value":r,onUpdateValue:a}=e,{nTriggerFormChange:l,nTriggerFormInput:s}=M;o&&GB(o,t,n),a&&GB(a,t,n),r&&GB(r,t,n),i.value=t,l(),s()}function I(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=M;n&&GB(n,t),o()}function B(){var t;const{remote:n,multiple:o}=e;if(n){const{value:n}=P;if(o){const{valueField:o}=e;null===(t=F.value)||void 0===t||t.forEach((e=>{n.set(e[o],e)}))}else{const t=z.value;t&&n.set(t[e.valueField],t)}}}function E(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),b.value=t}function L(){A.value||(E(!0),b.value=!0,e.filterable&&Y())}function j(){E(!1)}function N(){d.value="",h.value=k}const H=vt(!1);function W(e){V(e.rawNode)}function V(t){if(A.value)return;const{tag:n,remote:o,clearFilterAfterSelect:r,valueField:a}=e;if(n&&!o){const{value:e}=h,t=e[0]||null;if(t){const e=u.value;e.length?e.push(t):u.value=[t],h.value=k}}if(o&&P.value.set(t[a],t),e.multiple){const i=function(t){if(!Array.isArray(t))return[];if(T.value)return Array.from(t);{const{remote:n}=e,{value:o}=g;if(n){const{value:e}=P;return t.filter((t=>o.has(t)||e.has(t)))}return t.filter((e=>o.has(e)))}}(l.value),s=i.findIndex((e=>e===t[a]));if(~s){if(i.splice(s,1),n&&!o){const e=U(t[a]);~e&&(u.value.splice(e,1),r&&(d.value=""))}}else i.push(t[a]),r&&(d.value="");D(i,R(i))}else{if(n&&!o){const e=U(t[a]);u.value=~e?[u.value[e]]:k}K(),j(),D(t[a],t)}}function U(t){return u.value.findIndex((n=>n[e.valueField]===t))}function q(t){var n,o,r,a,i;if(e.keyboard)switch(t.key){case" ":if(e.filterable)break;t.preventDefault();case"Enter":if(!(null===(n=_.value)||void 0===n?void 0:n.isComposing))if(y.value){const t=null===(o=C.value)||void 0===o?void 0:o.getPendingTmNode();t?W(t):e.filterable||(j(),K())}else if(L(),e.tag&&H.value){const t=h.value[0];if(t){const n=t[e.valueField],{value:o}=l;e.multiple&&Array.isArray(o)&&o.includes(n)||V(t)}}t.preventDefault();break;case"ArrowUp":if(t.preventDefault(),e.loading)return;y.value&&(null===(r=C.value)||void 0===r||r.prev());break;case"ArrowDown":if(t.preventDefault(),e.loading)return;y.value?null===(a=C.value)||void 0===a||a.next():L();break;case"Escape":y.value&&(VB(t),j()),null===(i=_.value)||void 0===i||i.focus()}else t.preventDefault()}function K(){var e;null===(e=_.value)||void 0===e||e.focus()}function Y(){var e;null===(e=_.value)||void 0===e||e.focusInput()}B(),er(Ft(e,"options"),B);const G={focus:()=>{var e;null===(e=_.value)||void 0===e||e.focus()},focusInput:()=>{var e;null===(e=_.value)||void 0===e||e.focusInput()},blur:()=>{var e;null===(e=_.value)||void 0===e||e.blur()},blurInput:()=>{var e;null===(e=_.value)||void 0===e||e.blurInput()}},X=Qr((()=>{const{self:{menuBoxShadow:e}}=a.value;return{"--n-menu-box-shadow":e}})),Z=r?vE("select",void 0,X,e):void 0;return Object.assign(Object.assign({},G),{mergedStatus:O,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:v,isMounted:CD(),triggerRef:_,menuRef:C,pattern:d,uncontrolledShow:b,mergedShow:y,adjustedTo:ID(e),uncontrolledValue:i,mergedValue:l,followerRef:x,localizedPlaceholder:S,selectedOption:z,selectedOptions:F,mergedSize:$,mergedDisabled:A,focused:s,activeWithoutMenuOpen:H,inlineThemeDisabled:r,onTriggerInputFocus:function(){e.filterable&&(H.value=!0)},onTriggerInputBlur:function(){e.filterable&&(H.value=!1,y.value||N())},handleTriggerOrMenuResize:function(){var e;y.value&&(null===(e=x.value)||void 0===e||e.syncPosition())},handleMenuFocus:function(){s.value=!0},handleMenuBlur:function(e){var t;(null===(t=_.value)||void 0===t?void 0:t.$el.contains(e.relatedTarget))||(s.value=!1,I(e),j())},handleMenuTabOut:function(){var e;null===(e=_.value)||void 0===e||e.focus(),j()},handleTriggerClick:function(){A.value||(y.value?e.filterable?Y():j():L())},handleToggle:W,handleDeleteOption:V,handlePatternInput:function(t){y.value||L();const{value:n}=t.target;d.value=n;const{tag:o,remote:r}=e;if(function(t){const{onSearch:n}=e;n&&GB(n,t)}(n),o&&!r){if(!n)return void(h.value=k);const{onCreate:t}=e,o=t?t(n):{[e.labelField]:n,[e.valueField]:n},{valueField:r,labelField:a}=e;c.value.some((e=>e[r]===o[r]||e[a]===o[a]))||u.value.some((e=>e[r]===o[r]||e[a]===o[a]))?h.value=k:h.value=[o]}},handleClear:function(t){t.stopPropagation();const{multiple:n}=e;!n&&e.filterable&&j(),function(){const{onClear:t}=e;t&&GB(t)}(),n?D([],[]):D(null,null)},handleTriggerBlur:function(e){var t,n;(null===(n=null===(t=C.value)||void 0===t?void 0:t.selfRef)||void 0===n?void 0:n.contains(e.relatedTarget))||(s.value=!1,I(e),j())},handleTriggerFocus:function(t){!function(t){const{onFocus:n,showOnFocus:o}=e,{nTriggerFormFocus:r}=M;n&&GB(n,t),r(),o&&L()}(t),s.value=!0},handleKeydown:q,handleMenuAfterLeave:N,handleMenuClickOutside:function(e){var t;y.value&&((null===(t=_.value)||void 0===t?void 0:t.$el.contains(JA(e)))||j())},handleMenuScroll:function(t){!function(t){const{onScroll:n}=e;n&&GB(n,t)}(t)},handleMenuKeydown:q,handleMenuMousedown:function(e){QA(e,"action")||QA(e,"empty")||QA(e,"header")||e.preventDefault()},mergedTheme:a,cssVars:r?void 0:X,themeClass:null==Z?void 0:Z.themeClass,onRender:null==Z?void 0:Z.onRender})},render(){return Jr("div",{class:`${this.mergedClsPrefix}-select`},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(cY,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)]}})}),Jr(FI,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||"show"===this.displayDirective?(null===(e=this.onRender)||void 0===e||e.call(this),on(Jr(AK,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,null===(t=this.menuProps)||void 0===t?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:this.menuSize,renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[null===(n=this.menuProps)||void 0===n?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var e,t;return[null===(t=(e=this.$slots).empty)||void 0===t?void 0:t.call(e)]},header:()=>{var e,t;return[null===(t=(e=this.$slots).header)||void 0===t?void 0:t.call(e)]},action:()=>{var e,t;return[null===(t=(e=this.$slots).action)||void 0===t?void 0:t.call(e)]}}),"show"===this.displayDirective?[[Ra,this.mergedShow],[sI,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[sI,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),PJ={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"};function TJ(e){const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:a,textColorDisabled:i,borderColor:l,borderRadius:s,fontSizeTiny:d,fontSizeSmall:c,fontSizeMedium:u,heightTiny:h,heightSmall:p,heightMedium:f}=e;return Object.assign(Object.assign({},PJ),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:i,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:a,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:s,itemSizeSmall:h,itemSizeMedium:p,itemSizeLarge:f,itemFontSizeSmall:d,itemFontSizeMedium:c,itemFontSizeLarge:u,jumperFontSizeSmall:d,jumperFontSizeMedium:c,jumperFontSizeLarge:u,jumperTextColor:t,jumperTextColorDisabled:i})}const RJ={name:"Pagination",common:Eq,peers:{Select:CJ,Input:zY,Popselect:fJ},self:TJ},FJ={name:"Pagination",common:KU,peers:{Select:wJ,Input:FY,Popselect:pJ},self(e){const{primaryColor:t,opacity3:n}=e,o=DO(t,{alpha:Number(n)}),r=TJ(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},zJ="\n background: var(--n-item-color-hover);\n color: var(--n-item-text-color-hover);\n border: var(--n-item-border-hover);\n",MJ=[NA("button","\n background: var(--n-button-color-hover);\n border: var(--n-button-border-hover);\n color: var(--n-button-icon-color-hover);\n ")],$J=LA("pagination","\n display: flex;\n vertical-align: middle;\n font-size: var(--n-item-font-size);\n flex-wrap: nowrap;\n",[LA("pagination-prefix","\n display: flex;\n align-items: center;\n margin: var(--n-prefix-margin);\n "),LA("pagination-suffix","\n display: flex;\n align-items: center;\n margin: var(--n-suffix-margin);\n "),BA("> *:not(:first-child)","\n margin: var(--n-item-margin);\n "),LA("select","\n width: var(--n-select-width);\n "),BA("&.transition-disabled",[LA("pagination-item","transition: none!important;")]),LA("pagination-quick-jumper","\n white-space: nowrap;\n display: flex;\n color: var(--n-jumper-text-color);\n transition: color .3s var(--n-bezier);\n align-items: center;\n font-size: var(--n-jumper-font-size);\n ",[LA("input","\n margin: var(--n-input-margin);\n width: var(--n-input-width);\n ")]),LA("pagination-item","\n position: relative;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n min-width: var(--n-item-size);\n height: var(--n-item-size);\n padding: var(--n-item-padding);\n background-color: var(--n-item-color);\n color: var(--n-item-text-color);\n border-radius: var(--n-item-border-radius);\n border: var(--n-item-border);\n fill: var(--n-button-icon-color);\n transition:\n color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n fill .3s var(--n-bezier);\n ",[NA("button","\n background: var(--n-button-color);\n color: var(--n-button-icon-color);\n border: var(--n-button-border);\n padding: 0;\n ",[LA("base-icon","\n font-size: var(--n-button-icon-size);\n ")]),HA("disabled",[NA("hover",zJ,MJ),BA("&:hover",zJ,MJ),BA("&:active","\n background: var(--n-item-color-pressed);\n color: var(--n-item-text-color-pressed);\n border: var(--n-item-border-pressed);\n ",[NA("button","\n background: var(--n-button-color-pressed);\n border: var(--n-button-border-pressed);\n color: var(--n-button-icon-color-pressed);\n ")]),NA("active","\n background: var(--n-item-color-active);\n color: var(--n-item-text-color-active);\n border: var(--n-item-border-active);\n ",[BA("&:hover","\n background: var(--n-item-color-active-hover);\n ")])]),NA("disabled","\n cursor: not-allowed;\n color: var(--n-item-text-color-disabled);\n ",[NA("active, button","\n background-color: var(--n-item-color-disabled);\n border: var(--n-item-border-disabled);\n ")])]),NA("disabled","\n cursor: not-allowed;\n ",[LA("pagination-quick-jumper","\n color: var(--n-jumper-text-color-disabled);\n ")]),NA("simple","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n ",[LA("pagination-quick-jumper",[LA("input","\n margin: 0;\n ")])])]);function AJ(e){var t;if(!e)return 10;const{defaultPageSize:n}=e;if(void 0!==n)return n;const o=null===(t=e.pageSizes)||void 0===t?void 0:t[0];return"number"==typeof o?o:(null==o?void 0:o.value)||10}function OJ(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const DJ=$n({name:"Pagination",props:Object.assign(Object.assign({},HW.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default:()=>[10]},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:ID.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),slots:Object,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=fE(e),a=HW("Pagination","-pagination",$J,RJ,e,n),{localeRef:i}=AW("Pagination"),l=vt(null),s=vt(e.defaultPage),d=vt(AJ(e)),c=xD(Ft(e,"page"),s),u=xD(Ft(e,"pageSize"),d),h=Qr((()=>{const{itemCount:t}=e;if(void 0!==t)return Math.max(1,Math.ceil(t/u.value));const{pageCount:n}=e;return void 0!==n?Math.max(n,1):1})),p=vt("");Jo((()=>{e.simple,p.value=String(c.value)}));const f=vt(!1),m=vt(!1),v=vt(!1),g=vt(!1),b=Qr((()=>function(e,t,n,o){let r=!1,a=!1,i=1,l=t;if(1===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(2===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:2===e,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=t;let d=e,c=e;const u=(n-5)/2;c+=Math.ceil(u),c=Math.min(Math.max(c,1+n-3),s-2),d-=Math.floor(u),d=Math.max(Math.min(d,s-n+3),3);let h=!1,p=!1;d>3&&(h=!0),c=2&&f.push({type:"page",label:2,mayBeFastBackward:!0,mayBeFastForward:!1,active:2===e});for(let m=d;m<=c;++m)f.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(a=!0,l=c+1,f.push({type:"fast-forward",active:!1,label:void 0,options:o?OJ(c+1,s-1):null})):c===s-2&&f[f.length-1].label!==s-1&&f.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:s-1,active:e===s-1}),f[f.length-1].label!==s&&f.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:s,active:e===s}),{hasFastBackward:r,hasFastForward:a,fastBackwardTo:i,fastForwardTo:l,items:f}}(c.value,h.value,e.pageSlot,e.showQuickJumpDropdown)));Jo((()=>{b.value.hasFastBackward?b.value.hasFastForward||(f.value=!1,v.value=!1):(m.value=!1,g.value=!1)}));const y=Qr((()=>{const t=i.value.selectionSuffix;return e.pageSizes.map((e=>"number"==typeof e?{label:`${e} / ${t}`,value:e}:e))})),_=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.Pagination)||void 0===o?void 0:o.inputSize)||qB(e.size)})),x=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.Pagination)||void 0===o?void 0:o.selectSize)||qB(e.size)})),C=Qr((()=>(c.value-1)*u.value)),w=Qr((()=>{const t=c.value*u.value-1,{itemCount:n}=e;return void 0!==n&&t>n-1?n-1:t})),S=Qr((()=>{const{itemCount:t}=e;return void 0!==t?t:(e.pageCount||1)*u.value})),k=DW("Pagination",r,n);function P(){Kt((()=>{var e;const{value:t}=l;t&&(t.classList.add("transition-disabled"),null===(e=l.value)||void 0===e||e.offsetWidth,t.classList.remove("transition-disabled"))}))}function T(t){if(t===c.value)return;const{"onUpdate:page":n,onUpdatePage:o,onChange:r,simple:a}=e;n&&GB(n,t),o&&GB(o,t),r&&GB(r,t),s.value=t,a&&(p.value=String(t))}Jo((()=>{c.value,u.value,P()}));const R=Qr((()=>{const{size:t}=e,{self:{buttonBorder:n,buttonBorderHover:o,buttonBorderPressed:r,buttonIconColor:i,buttonIconColorHover:l,buttonIconColorPressed:s,itemTextColor:d,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:h,itemTextColorDisabled:p,itemColor:f,itemColorHover:m,itemColorPressed:v,itemColorActive:g,itemColorActiveHover:b,itemColorDisabled:y,itemBorder:_,itemBorderHover:x,itemBorderPressed:C,itemBorderActive:w,itemBorderDisabled:S,itemBorderRadius:k,jumperTextColor:P,jumperTextColorDisabled:T,buttonColor:R,buttonColorHover:F,buttonColorPressed:z,[KA("itemPadding",t)]:M,[KA("itemMargin",t)]:$,[KA("inputWidth",t)]:A,[KA("selectWidth",t)]:O,[KA("inputMargin",t)]:D,[KA("selectMargin",t)]:I,[KA("jumperFontSize",t)]:B,[KA("prefixMargin",t)]:E,[KA("suffixMargin",t)]:L,[KA("itemSize",t)]:j,[KA("buttonIconSize",t)]:N,[KA("itemFontSize",t)]:H,[`${KA("itemMargin",t)}Rtl`]:W,[`${KA("inputMargin",t)}Rtl`]:V},common:{cubicBezierEaseInOut:U}}=a.value;return{"--n-prefix-margin":E,"--n-suffix-margin":L,"--n-item-font-size":H,"--n-select-width":O,"--n-select-margin":I,"--n-input-width":A,"--n-input-margin":D,"--n-input-margin-rtl":V,"--n-item-size":j,"--n-item-text-color":d,"--n-item-text-color-disabled":p,"--n-item-text-color-hover":c,"--n-item-text-color-active":h,"--n-item-text-color-pressed":u,"--n-item-color":f,"--n-item-color-hover":m,"--n-item-color-disabled":y,"--n-item-color-active":g,"--n-item-color-active-hover":b,"--n-item-color-pressed":v,"--n-item-border":_,"--n-item-border-hover":x,"--n-item-border-disabled":S,"--n-item-border-active":w,"--n-item-border-pressed":C,"--n-item-padding":M,"--n-item-border-radius":k,"--n-bezier":U,"--n-jumper-font-size":B,"--n-jumper-text-color":P,"--n-jumper-text-color-disabled":T,"--n-item-margin":$,"--n-item-margin-rtl":W,"--n-button-icon-size":N,"--n-button-icon-color":i,"--n-button-icon-color-hover":l,"--n-button-icon-color-pressed":s,"--n-button-color-hover":F,"--n-button-color":R,"--n-button-color-pressed":z,"--n-button-border":n,"--n-button-border-hover":o,"--n-button-border-pressed":r}})),F=o?vE("pagination",Qr((()=>{let t="";const{size:n}=e;return t+=n[0],t})),R,e):void 0;return{rtlEnabled:k,mergedClsPrefix:n,locale:i,selfRef:l,mergedPage:c,pageItems:Qr((()=>b.value.items)),mergedItemCount:S,jumperValue:p,pageSizeOptions:y,mergedPageSize:u,inputSize:_,selectSize:x,mergedTheme:a,mergedPageCount:h,startIndex:C,endIndex:w,showFastForwardMenu:v,showFastBackwardMenu:g,fastForwardActive:f,fastBackwardActive:m,handleMenuSelect:e=>{T(e)},handleFastForwardMouseenter:()=>{e.disabled||(f.value=!0,P())},handleFastForwardMouseleave:()=>{e.disabled||(f.value=!1,P())},handleFastBackwardMouseenter:()=>{m.value=!0,P()},handleFastBackwardMouseleave:()=>{m.value=!1,P()},handleJumperInput:function(e){p.value=e.replace(/\D+/g,"")},handleBackwardClick:function(){if(e.disabled)return;T(Math.max(c.value-1,1))},handleForwardClick:function(){if(e.disabled)return;T(Math.min(c.value+1,h.value))},handlePageItemClick:function(t){if(!e.disabled)switch(t.type){case"page":T(t.label);break;case"fast-backward":!function(){if(e.disabled)return;T(Math.max(b.value.fastBackwardTo,1))}();break;case"fast-forward":!function(){if(e.disabled)return;T(Math.min(b.value.fastForwardTo,h.value))}()}},handleSizePickerChange:function(t){!function(t){if(t===u.value)return;const{"onUpdate:pageSize":n,onUpdatePageSize:o,onPageSizeChange:r}=e;n&&GB(n,t),o&&GB(o,t),r&&GB(r,t),d.value=t,h.value{switch(e){case"pages":return Jr(pr,null,Jr("div",{class:[`${t}-pagination-item`,!$&&`${t}-pagination-item--button`,(r<=1||r>a||n)&&`${t}-pagination-item--disabled`],onClick:k},$?$({page:r,pageSize:p,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(pV,null):Jr(ZW,null)})),v?Jr(pr,null,Jr("div",{class:`${t}-pagination-quick-jumper`},Jr(BY,{value:m,onUpdateValue:w,size:u,placeholder:"",disabled:n,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:R}))," /"," ",a):i.map(((e,o)=>{let r,a,i;const{type:l}=e;switch(l){case"page":const n=e.label;r=O?O({type:"page",node:n,active:e.active}):n;break;case"fast-forward":const o=this.fastForwardActive?Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(cV,null):Jr(uV,null)}):Jr(VW,{clsPrefix:t},{default:()=>Jr(mV,null)});r=O?O({type:"fast-forward",node:o,active:this.fastForwardActive||this.showFastForwardMenu}):o,a=this.handleFastForwardMouseenter,i=this.handleFastForwardMouseleave;break;case"fast-backward":const l=this.fastBackwardActive?Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(uV,null):Jr(cV,null)}):Jr(VW,{clsPrefix:t},{default:()=>Jr(mV,null)});r=O?O({type:"fast-backward",node:l,active:this.fastBackwardActive||this.showFastBackwardMenu}):l,a=this.handleFastBackwardMouseenter,i=this.handleFastBackwardMouseleave}const s=Jr("div",{key:o,class:[`${t}-pagination-item`,e.active&&`${t}-pagination-item--active`,"page"!==l&&("fast-backward"===l&&this.showFastBackwardMenu||"fast-forward"===l&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,"page"===l&&`${t}-pagination-item--clickable`],onClick:()=>{P(e)},onMouseenter:a,onMouseleave:i},r);if("page"!==l||e.mayBeFastBackward||e.mayBeFastForward){const t="page"===e.type?e.mayBeFastBackward?"fast-backward":"fast-forward":e.type;return"page"===e.type||e.options?Jr(_J,{to:this.to,key:t,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:d.peers.Popselect,themeOverrides:d.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:"page"!==l&&("fast-backward"===l?this.showFastBackwardMenu:this.showFastForwardMenu),onUpdateShow:e=>{"page"!==l&&(e?"fast-backward"===l?this.showFastBackwardMenu=e:this.showFastForwardMenu=e:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:"page"!==e.type&&e.options?e.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>s}):s}return s})),Jr("div",{class:[`${t}-pagination-item`,!A&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=a||n}],onClick:T},A?A({page:r,pageSize:p,pageCount:a,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):Jr(VW,{clsPrefix:t},{default:()=>this.rtlEnabled?Jr(ZW,null):Jr(pV,null)})));case"size-picker":return!v&&l?Jr(kJ,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:h,options:f,value:p,disabled:n,theme:d.peers.Select,themeOverrides:d.peerOverrides.Select,onUpdateValue:S})):null;case"quick-jumper":return!v&&s?Jr("div",{class:`${t}-pagination-quick-jumper`},C?C():lE(this.$slots.goto,(()=>[c.goto])),Jr(BY,{value:m,onUpdateValue:w,size:u,placeholder:"",disabled:n,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:R})):null;default:return null}})),M?Jr("div",{class:`${t}-pagination-suffix`},M({page:r,pageSize:p,pageCount:a,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),IJ={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"};function BJ(e){const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:a,invertedColor:i,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:c,fontSizeHuge:u,heightSmall:h,heightMedium:p,heightLarge:f,heightHuge:m,textColor3:v,opacityDisabled:g}=e;return Object.assign(Object.assign({},IJ),{optionHeightSmall:h,optionHeightMedium:p,optionHeightLarge:f,optionHeightHuge:m,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:c,fontSizeHuge:u,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:a,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:DO(t,{alpha:.1}),groupHeaderTextColor:v,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:i,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:g})}const EJ={name:"Dropdown",common:Eq,peers:{Popover:IK},self:BJ},LJ={name:"Dropdown",common:KU,peers:{Popover:BK},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=BJ(e);return r.colorInverted=o,r.optionColorActive=DO(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},jJ={padding:"8px 14px"},NJ={name:"Tooltip",common:KU,peers:{Popover:BK},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},jJ),{borderRadius:t,boxShadow:n,color:o,textColor:r})}};const HJ={name:"Tooltip",common:Eq,peers:{Popover:IK},self:function(e){const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},jJ),{borderRadius:t,boxShadow:n,color:OO(o,"rgba(0, 0, 0, .85)"),textColor:o})}},WJ={name:"Ellipsis",common:KU,peers:{Tooltip:NJ}},VJ={name:"Ellipsis",common:Eq,peers:{Tooltip:HJ}},UJ={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},qJ={name:"Radio",common:KU,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:a,textColor2:i,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,heightSmall:h,heightMedium:p,heightLarge:f,lineHeight:m}=e;return Object.assign(Object.assign({},UJ),{labelLineHeight:m,buttonHeightSmall:h,buttonHeightMedium:p,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:a,colorActive:"#0000",textColor:i,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:i,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}};const KJ={name:"Radio",common:Eq,self:function(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:a,textColor2:i,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,heightSmall:h,heightMedium:p,heightLarge:f,lineHeight:m}=e;return Object.assign(Object.assign({},UJ),{labelLineHeight:m,buttonHeightSmall:h,buttonHeightMedium:p,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:c,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:a,colorActive:"#0000",textColor:i,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:i,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${DO(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}},YJ={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"};function GJ(e){const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:a,tableHeaderColor:i,tableColorHover:l,iconColor:s,primaryColor:d,fontWeightStrong:c,borderRadius:u,lineHeight:h,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:m,dividerColor:v,heightSmall:g,opacityDisabled:b,tableColorStriped:y}=e;return Object.assign(Object.assign({},YJ),{actionDividerColor:v,lineHeight:h,borderRadius:u,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:m,borderColor:OO(t,v),tdColorHover:OO(t,l),tdColorSorting:OO(t,l),tdColorStriped:OO(t,y),thColor:OO(t,i),thColorHover:OO(OO(t,i),l),thColorSorting:OO(OO(t,i),l),tdColor:t,tdTextColor:r,thTextColor:a,thFontWeight:c,thButtonColorHover:l,thIconColor:s,thIconColorActive:d,borderColorModal:OO(n,v),tdColorHoverModal:OO(n,l),tdColorSortingModal:OO(n,l),tdColorStripedModal:OO(n,y),thColorModal:OO(n,i),thColorHoverModal:OO(OO(n,i),l),thColorSortingModal:OO(OO(n,i),l),tdColorModal:n,borderColorPopover:OO(o,v),tdColorHoverPopover:OO(o,l),tdColorSortingPopover:OO(o,l),tdColorStripedPopover:OO(o,y),thColorPopover:OO(o,i),thColorHoverPopover:OO(OO(o,i),l),thColorSortingPopover:OO(OO(o,i),l),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:d,loadingSize:g,opacityLoading:b})}const XJ={name:"DataTable",common:Eq,peers:{Button:xG,Checkbox:mQ,Radio:KJ,Pagination:RJ,Scrollbar:Nq,Empty:yK,Popover:IK,Ellipsis:VJ,Dropdown:EJ},self:GJ},ZJ={name:"DataTable",common:KU,peers:{Button:CG,Checkbox:vQ,Radio:qJ,Pagination:FJ,Scrollbar:Hq,Empty:_K,Popover:BK,Ellipsis:WJ,Dropdown:LJ},self(e){const t=GJ(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},QJ=Object.assign(Object.assign({},HW.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,virtualScrollX:Boolean,virtualScrollHeader:Boolean,headerHeight:{type:Number,default:28},heightForRow:Function,minRowHeight:{type:Number,default:28},tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},filterIconPopoverProps:Object,scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},getCsvCell:Function,getCsvHeader:Function,onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),JJ="n-data-table";function e1(e){return"selection"===e.type||"expand"===e.type?void 0===e.width?40:tO(e.width):"children"in e?void 0:"string"==typeof e.width?tO(e.width):e.width}function t1(e){return"selection"===e.type?"__n_selection__":"expand"===e.type?"__n_expand__":e.key}function n1(e){return e&&"object"==typeof e?Object.assign({},e):e}function o1(e,t){if(void 0!==t)return{width:t,minWidth:t,maxWidth:t};const n=function(e){var t,n;return"selection"===e.type?LB(null!==(t=e.width)&&void 0!==t?t:40):"expand"===e.type?LB(null!==(n=e.width)&&void 0!==n?n:40):"children"in e?void 0:LB(e.width)}(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:LB(o)||n,maxWidth:LB(r)}}function r1(e){return void 0!==e.filterOptionValues||void 0===e.filterOptionValue&&void 0!==e.defaultFilterOptionValues}function a1(e){return!("children"in e)&&!!e.sorter}function i1(e){return(!("children"in e)||!e.children.length)&&!!e.resizable}function l1(e){return!("children"in e)&&!(!e.filter||!e.filterOptions&&!e.renderFilterMenu)}function s1(e){return e?"descend"===e&&"ascend":"descend"}function d1(e,t){return void 0!==t.find((t=>t.columnKey===e.key&&t.order))}const c1=$n({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=Ro(JJ);return()=>{const{rowKey:o}=e;return Jr(wQ,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),u1=LA("radio","\n line-height: var(--n-label-line-height);\n outline: none;\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n display: inline-flex;\n align-items: flex-start;\n flex-wrap: nowrap;\n font-size: var(--n-font-size);\n word-break: break-word;\n",[NA("checked",[jA("dot","\n background-color: var(--n-color-active);\n ")]),jA("dot-wrapper","\n position: relative;\n flex-shrink: 0;\n flex-grow: 0;\n width: var(--n-radio-size);\n "),LA("radio-input","\n position: absolute;\n border: 0;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n opacity: 0;\n z-index: 1;\n cursor: pointer;\n "),jA("dot","\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n height: var(--n-radio-size);\n width: var(--n-radio-size);\n background: var(--n-color);\n box-shadow: var(--n-box-shadow);\n border-radius: 50%;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ",[BA("&::before",'\n content: "";\n opacity: 0;\n position: absolute;\n left: 4px;\n top: 4px;\n height: calc(100% - 8px);\n width: calc(100% - 8px);\n border-radius: 50%;\n transform: scale(.8);\n background: var(--n-dot-color-active);\n transition: \n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n transform .3s var(--n-bezier);\n '),NA("checked",{boxShadow:"var(--n-box-shadow-active)"},[BA("&::before","\n opacity: 1;\n transform: scale(1);\n ")])]),jA("label","\n color: var(--n-text-color);\n padding: var(--n-label-padding);\n font-weight: var(--n-label-font-weight);\n display: inline-block;\n transition: color .3s var(--n-bezier);\n "),HA("disabled","\n cursor: pointer;\n ",[BA("&:hover",[jA("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),NA("focus",[BA("&:not(:active)",[jA("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),NA("disabled","\n cursor: not-allowed;\n ",[jA("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[BA("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),NA("checked","\n opacity: 1;\n ")]),jA("label",{color:"var(--n-text-color-disabled)"}),LA("radio-input","\n cursor: not-allowed;\n ")])]),h1={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},p1="n-radio-group";function f1(e){const t=Ro(p1,null),n=bE(e,{mergedSize(n){const{size:o}=e;if(void 0!==o)return o;if(t){const{mergedSizeRef:{value:e}}=t;if(void 0!==e)return e}return n?n.mergedSize.value:"medium"},mergedDisabled:n=>!!e.disabled||(!!(null==t?void 0:t.disabledRef.value)||!!(null==n?void 0:n.disabled.value))}),{mergedSizeRef:o,mergedDisabledRef:r}=n,a=vt(null),i=vt(null),l=vt(e.defaultChecked),s=xD(Ft(e,"checked"),l),d=oD((()=>t?t.valueRef.value===e.value:s.value)),c=oD((()=>{const{name:n}=e;return void 0!==n?n:t?t.nameRef.value:void 0})),u=vt(!1);function h(){r.value||d.value||function(){if(t){const{doUpdateValue:n}=t,{value:o}=e;GB(n,o)}else{const{onUpdateChecked:t,"onUpdate:checked":o}=e,{nTriggerFormInput:r,nTriggerFormChange:a}=n;t&&GB(t,!0),o&&GB(o,!0),r(),a(),l.value=!0}}()}return{mergedClsPrefix:t?t.mergedClsPrefixRef:fE(e).mergedClsPrefixRef,inputRef:a,labelRef:i,mergedName:c,mergedDisabled:r,renderSafeChecked:d,focus:u,mergedSize:o,handleRadioInputChange:function(){h(),a.value&&(a.value.checked=d.value)},handleRadioInputBlur:function(){u.value=!1},handleRadioInputFocus:function(){u.value=!0}}}const m1=$n({name:"Radio",props:Object.assign(Object.assign({},HW.props),h1),setup(e){const t=f1(e),n=HW("Radio","-radio",u1,KJ,e,t.mergedClsPrefix),o=Qr((()=>{const{mergedSize:{value:e}}=t,{common:{cubicBezierEaseInOut:o},self:{boxShadow:r,boxShadowActive:a,boxShadowDisabled:i,boxShadowFocus:l,boxShadowHover:s,color:d,colorDisabled:c,colorActive:u,textColor:h,textColorDisabled:p,dotColorActive:f,dotColorDisabled:m,labelPadding:v,labelLineHeight:g,labelFontWeight:b,[KA("fontSize",e)]:y,[KA("radioSize",e)]:_}}=n.value;return{"--n-bezier":o,"--n-label-line-height":g,"--n-label-font-weight":b,"--n-box-shadow":r,"--n-box-shadow-active":a,"--n-box-shadow-disabled":i,"--n-box-shadow-focus":l,"--n-box-shadow-hover":s,"--n-color":d,"--n-color-active":u,"--n-color-disabled":c,"--n-dot-color-active":f,"--n-dot-color-disabled":m,"--n-font-size":y,"--n-radio-size":_,"--n-text-color":h,"--n-text-color-disabled":p,"--n-label-padding":v}})),{inlineThemeDisabled:r,mergedClsPrefixRef:a,mergedRtlRef:i}=fE(e),l=DW("Radio",i,a),s=r?vE("radio",Qr((()=>t.mergedSize.value[0])),o,e):void 0;return Object.assign(t,{rtlEnabled:l,cssVars:r?void 0:o,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return null==n||n(),Jr("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},Jr("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),Jr("div",{class:`${t}-radio__dot-wrapper`}," ",Jr("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),dE(e.default,(e=>e||o?Jr("div",{ref:"labelRef",class:`${t}-radio__label`},e||o):null)))}}),v1=$n({name:"RadioButton",props:h1,setup:f1,render(){const{mergedClsPrefix:e}=this;return Jr("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},Jr("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),Jr("div",{class:`${e}-radio-button__state-border`}),dE(this.$slots.default,(t=>t||this.label?Jr("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label):null)))}}),g1=LA("radio-group","\n display: inline-block;\n font-size: var(--n-font-size);\n",[jA("splitor","\n display: inline-block;\n vertical-align: bottom;\n width: 1px;\n transition:\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier);\n background: var(--n-button-border-color);\n ",[NA("checked",{backgroundColor:"var(--n-button-border-color-active)"}),NA("disabled",{opacity:"var(--n-opacity-disabled)"})]),NA("button-group","\n white-space: nowrap;\n height: var(--n-height);\n line-height: var(--n-height);\n ",[LA("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),jA("splitor",{height:"var(--n-height)"})]),LA("radio-button","\n vertical-align: bottom;\n outline: none;\n position: relative;\n user-select: none;\n -webkit-user-select: none;\n display: inline-block;\n box-sizing: border-box;\n padding-left: 14px;\n padding-right: 14px;\n white-space: nowrap;\n transition:\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n background: var(--n-button-color);\n color: var(--n-button-text-color);\n border-top: 1px solid var(--n-button-border-color);\n border-bottom: 1px solid var(--n-button-border-color);\n ",[LA("radio-input","\n pointer-events: none;\n position: absolute;\n border: 0;\n border-radius: inherit;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n opacity: 0;\n z-index: 1;\n "),jA("state-border","\n z-index: 1;\n pointer-events: none;\n position: absolute;\n box-shadow: var(--n-button-box-shadow);\n transition: box-shadow .3s var(--n-bezier);\n left: -1px;\n bottom: -1px;\n right: -1px;\n top: -1px;\n "),BA("&:first-child","\n border-top-left-radius: var(--n-button-border-radius);\n border-bottom-left-radius: var(--n-button-border-radius);\n border-left: 1px solid var(--n-button-border-color);\n ",[jA("state-border","\n border-top-left-radius: var(--n-button-border-radius);\n border-bottom-left-radius: var(--n-button-border-radius);\n ")]),BA("&:last-child","\n border-top-right-radius: var(--n-button-border-radius);\n border-bottom-right-radius: var(--n-button-border-radius);\n border-right: 1px solid var(--n-button-border-color);\n ",[jA("state-border","\n border-top-right-radius: var(--n-button-border-radius);\n border-bottom-right-radius: var(--n-button-border-radius);\n ")]),HA("disabled","\n cursor: pointer;\n ",[BA("&:hover",[jA("state-border","\n transition: box-shadow .3s var(--n-bezier);\n box-shadow: var(--n-button-box-shadow-hover);\n "),HA("checked",{color:"var(--n-button-text-color-hover)"})]),NA("focus",[BA("&:not(:active)",[jA("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),NA("checked","\n background: var(--n-button-color-active);\n color: var(--n-button-text-color-active);\n border-color: var(--n-button-border-color-active);\n "),NA("disabled","\n cursor: not-allowed;\n opacity: var(--n-opacity-disabled);\n ")])]);const b1=$n({name:"RadioGroup",props:Object.assign(Object.assign({},HW.props),{name:String,value:[String,Number,Boolean],defaultValue:{type:[String,Number,Boolean],default:null},size:String,disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),setup(e){const t=vt(null),{mergedSizeRef:n,mergedDisabledRef:o,nTriggerFormChange:r,nTriggerFormInput:a,nTriggerFormBlur:i,nTriggerFormFocus:l}=bE(e),{mergedClsPrefixRef:s,inlineThemeDisabled:d,mergedRtlRef:c}=fE(e),u=HW("Radio","-radio-group",g1,KJ,e,s),h=vt(e.defaultValue),p=xD(Ft(e,"value"),h);To(p1,{mergedClsPrefixRef:s,nameRef:Ft(e,"name"),valueRef:p,disabledRef:o,mergedSizeRef:n,doUpdateValue:function(t){const{onUpdateValue:n,"onUpdate:value":o}=e;n&&GB(n,t),o&&GB(o,t),h.value=t,r(),a()}});const f=DW("Radio",c,s),m=Qr((()=>{const{value:e}=n,{common:{cubicBezierEaseInOut:t},self:{buttonBorderColor:o,buttonBorderColorActive:r,buttonBorderRadius:a,buttonBoxShadow:i,buttonBoxShadowFocus:l,buttonBoxShadowHover:s,buttonColor:d,buttonColorActive:c,buttonTextColor:h,buttonTextColorActive:p,buttonTextColorHover:f,opacityDisabled:m,[KA("buttonHeight",e)]:v,[KA("fontSize",e)]:g}}=u.value;return{"--n-font-size":g,"--n-bezier":t,"--n-button-border-color":o,"--n-button-border-color-active":r,"--n-button-border-radius":a,"--n-button-box-shadow":i,"--n-button-box-shadow-focus":l,"--n-button-box-shadow-hover":s,"--n-button-color":d,"--n-button-color-active":c,"--n-button-text-color":h,"--n-button-text-color-hover":f,"--n-button-text-color-active":p,"--n-height":v,"--n-opacity-disabled":m}})),v=d?vE("radio-group",Qr((()=>n.value[0])),m,e):void 0;return{selfElRef:t,rtlEnabled:f,mergedClsPrefix:s,mergedValue:p,handleFocusout:function(e){const{value:n}=t;n&&(n.contains(e.relatedTarget)||i())},handleFocusin:function(e){const{value:n}=t;n&&(n.contains(e.relatedTarget)||l())},cssVars:d?void 0:m,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:a,isButtonGroup:i}=function(e,t,n){var o;const r=[];let a=!1;for(let i=0;i{const{rowKey:o}=e;return Jr(m1,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),_1=$n({name:"Tooltip",props:Object.assign(Object.assign({},XK),HW.props),slots:Object,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=fE(e),n=HW("Tooltip","-tooltip",void 0,HJ,e,t),o=vt(null),r={syncPosition(){o.value.syncPosition()},setShow(e){o.value.setShow(e)}};return Object.assign(Object.assign({},r),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:Qr((()=>n.value.self))})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return Jr(ZK,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),x1=LA("ellipsis",{overflow:"hidden"},[HA("line-clamp","\n white-space: nowrap;\n display: inline-block;\n vertical-align: bottom;\n max-width: 100%;\n "),NA("line-clamp","\n display: -webkit-inline-box;\n -webkit-box-orient: vertical;\n "),NA("cursor-pointer","\n cursor: pointer;\n ")]);function C1(e){return`${e}-ellipsis--line-clamp`}function w1(e,t){return`${e}-ellipsis--cursor-${t}`}const S1=Object.assign(Object.assign({},HW.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),k1=$n({name:"Ellipsis",inheritAttrs:!1,props:S1,slots:Object,setup(e,{slots:t,attrs:n}){const o=mE(),r=HW("Ellipsis","-ellipsis",x1,VJ,e,o),a=vt(null),i=vt(null),l=vt(null),s=vt(!1),d=Qr((()=>{const{lineClamp:t}=e,{value:n}=s;return void 0!==t?{textOverflow:"","-webkit-line-clamp":n?"":t}:{textOverflow:n?"":"ellipsis","-webkit-line-clamp":""}}));function c(){let t=!1;const{value:n}=s;if(n)return!0;const{value:r}=a;if(r){const{lineClamp:n}=e;if(function(t){if(!t)return;const n=d.value,r=C1(o.value);void 0!==e.lineClamp?h(t,r,"add"):h(t,r,"remove");for(const e in n)t.style[e]!==n[e]&&(t.style[e]=n[e])}(r),void 0!==n)t=r.scrollHeight<=r.offsetHeight;else{const{value:e}=i;e&&(t=e.getBoundingClientRect().width<=r.getBoundingClientRect().width)}!function(t,n){const r=w1(o.value,"pointer");"click"!==e.expandTrigger||n?h(t,r,"remove"):h(t,r,"add")}(r,t)}return t}const u=Qr((()=>"click"===e.expandTrigger?()=>{var e;const{value:t}=s;t&&(null===(e=l.value)||void 0===e||e.setShow(!1)),s.value=!t}:void 0));Nn((()=>{var t;e.tooltip&&(null===(t=l.value)||void 0===t||t.setShow(!1))}));function h(e,t,n){"add"===n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}return{mergedTheme:r,triggerRef:a,triggerInnerRef:i,tooltipRef:l,handleClick:u,renderTrigger:()=>Jr("span",Object.assign({},Ir(n,{class:[`${o.value}-ellipsis`,void 0!==e.lineClamp?C1(o.value):void 0,"click"===e.expandTrigger?w1(o.value,"pointer"):void 0],style:d.value}),{ref:"triggerRef",onClick:u.value,onMouseenter:"click"===e.expandTrigger?c:void 0}),e.lineClamp?t:Jr("span",{ref:"triggerInnerRef"},t)),getTooltipDisabled:c}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return Jr(_1,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:null!==(e=o.tooltip)&&void 0!==e?e:o.default})}return n()}}),P1=$n({name:"PerformantEllipsis",props:S1,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=vt(!1),r=mE();NW("-ellipsis",x1,r);return{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,i=r.value;return Jr("span",Object.assign({},Ir(t,{class:[`${i}-ellipsis`,void 0!==a?C1(i):void 0,"click"===e.expandTrigger?w1(i,"pointer"):void 0],style:void 0===a?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:Jr("span",null,n))}}},render(){return this.mouseEntered?Jr(k1,Ir({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),T1=$n({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let a;const{render:i,key:l,ellipsis:s}=n;if(a=i&&!t?i(o,this.index):t?null===(e=o[l])||void 0===e?void 0:e.value:r?r(RN(o,l),o,n):RN(o,l),s){if("object"==typeof s){const{mergedTheme:e}=this;return"performant-ellipsis"===n.ellipsisComponent?Jr(P1,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>a}):Jr(k1,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>a})}return Jr("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},a)}return a}}),R1=$n({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function},rowData:{type:Object,required:!0}},render(){const{clsPrefix:e}=this;return Jr("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:e=>{e.preventDefault()}},Jr(UW,null,{default:()=>this.loading?Jr(NV,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded,rowData:this.rowData}):Jr(VW,{clsPrefix:e,key:"base-icon"},{default:()=>Jr(tV,null)})}))}}),F1=$n({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=DW("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:a,localeRef:i}=Ro(JJ),l=vt(e.value);function s(t){e.onChange(t)}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:a,locale:i,checkboxGroupValue:Qr((()=>{const{value:e}=l;return Array.isArray(e)?e:null})),radioGroupValue:Qr((()=>{const{value:t}=l;return r1(e.column)?Array.isArray(t)&&t.length&&t[0]||null:Array.isArray(t)?null:t})),handleChange:function(t){e.multiple&&Array.isArray(t)?l.value=t:r1(e.column)&&!Array.isArray(t)?l.value=[t]:l.value=t},handleConfirmClick:function(){s(l.value),e.onConfirm()},handleClearClick:function(){e.multiple||r1(e.column)?s([]):s(null),e.onClear()}}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return Jr("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},Jr(Vq,null,{default:()=>{const{checkboxGroupValue:t,handleChange:o}=this;return this.multiple?Jr(xQ,{value:t,class:`${n}-data-table-filter-menu__group`,onUpdateValue:o},{default:()=>this.options.map((t=>Jr(wQ,{key:t.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:t.value},{default:()=>t.label})))}):Jr(b1,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map((t=>Jr(m1,{key:t.value,value:t.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>t.label})))})}}),Jr("div",{class:`${n}-data-table-filter-menu__action`},Jr(SG,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),Jr(SG,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),z1=$n({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}});const M1=$n({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=fE(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:a,paginationBehaviorOnFilterRef:i,doUpdatePage:l,doUpdateFilters:s,filterIconPopoverPropsRef:d}=Ro(JJ),c=vt(!1),u=r,h=Qr((()=>!1!==e.column.filterMultiple)),p=Qr((()=>{const t=u.value[e.column.key];if(void 0===t){const{value:e}=h;return e?[]:null}return t})),f=Qr((()=>{const{value:e}=p;return Array.isArray(e)?e.length>0:null!==e})),m=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.DataTable)||void 0===o?void 0:o.renderFilter)||e.column.renderFilter}));return{mergedTheme:n,mergedClsPrefix:o,active:f,showPopover:c,mergedRenderFilter:m,filterIconPopoverProps:d,filterMultiple:h,mergedFilterValue:p,filterMenuCssVars:a,handleFilterChange:function(t){const n=function(e,t,n){const o=Object.assign({},e);return o[t]=n,o}(u.value,e.column.key,t);s(n,e.column),"first"===i.value&&l(1)},handleFilterMenuConfirm:function(){c.value=!1},handleFilterMenuCancel:function(){c.value=!1}}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n,filterIconPopoverProps:o}=this;return Jr(ZK,Object.assign({show:this.showPopover,onUpdateShow:e=>this.showPopover=e,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},o,{style:{padding:0}}),{trigger:()=>{const{mergedRenderFilter:e}=this;if(e)return Jr(z1,{"data-data-table-filter":!0,render:e,active:this.active,show:this.showPopover});const{renderFilterIcon:n}=this.column;return Jr("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},n?n({active:this.active,show:this.showPopover}):Jr(VW,{clsPrefix:t},{default:()=>Jr(hV,null)}))},default:()=>{const{renderFilterMenu:e}=this.column;return e?e({hide:n}):Jr(F1,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),$1=$n({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Ro(JJ),n=vt(!1);let o=0;function r(e){return e.clientX}function a(t){var n;null===(n=e.onResize)||void 0===n||n.call(e,r(t)-o)}function i(){var t;n.value=!1,null===(t=e.onResizeEnd)||void 0===t||t.call(e),tD("mousemove",window,a),tD("mouseup",window,i)}return Xn((()=>{tD("mousemove",window,a),tD("mouseup",window,i)})),{mergedClsPrefix:t,active:n,handleMousedown:function(t){var l;t.preventDefault();const s=n.value;o=r(t),n.value=!0,s||(eD("mousemove",window,a),eD("mouseup",window,i),null===(l=e.onResizeStart)||void 0===l||l.call(e))}}},render(){const{mergedClsPrefix:e}=this;return Jr("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),A1=$n({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),O1=$n({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=fE(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=Ro(JJ),r=Qr((()=>n.value.find((t=>t.columnKey===e.column.key)))),a=Qr((()=>void 0!==r.value)),i=Qr((()=>{const{value:e}=r;return!(!e||!a.value)&&e.order})),l=Qr((()=>{var n,o;return(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.DataTable)||void 0===o?void 0:o.renderSorter)||e.column.renderSorter}));return{mergedClsPrefix:o,active:a,mergedSortOrder:i,mergedRenderSorter:l}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?Jr(A1,{render:e,order:t}):Jr("span",{class:[`${n}-data-table-sorter`,"ascend"===t&&`${n}-data-table-sorter--asc`,"descend"===t&&`${n}-data-table-sorter--desc`]},o?o({order:t}):Jr(VW,{clsPrefix:n},{default:()=>Jr(KW,null)}))}}),D1="n-dropdown-menu",I1="n-dropdown",B1="n-dropdown-option",E1=$n({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return Jr("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),L1=$n({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ro(D1),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:a}=Ro(I1);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:a}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:a,renderOption:i}=this,{rawNode:l}=this.tmNode,s=Jr("div",Object.assign({class:`${t}-dropdown-option`},null==r?void 0:r(l)),Jr("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},Jr("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},aE(l.icon)),Jr("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},a?a(l):aE(null!==(e=l.title)&&void 0!==e?e:l[this.labelField])),Jr("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return i?i({node:s,option:l}):s}});function j1(e){const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:a,opacity5:i}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:a,opacity5Depth:i}}const N1={name:"Icon",common:Eq,self:j1},H1={name:"Icon",common:KU,self:j1},W1=LA("icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n transform: translateZ(0);\n",[NA("color-transition",{transition:"color .3s var(--n-bezier)"}),NA("depth",{color:"var(--n-color)"},[BA("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),BA("svg",{height:"1em",width:"1em"})]),V1=$n({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Object.assign(Object.assign({},HW.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Icon","-icon",W1,N1,e,t),r=Qr((()=>{const{depth:t}=e,{common:{cubicBezierEaseInOut:n},self:r}=o.value;if(void 0!==t){const{color:e,[`opacity${t}Depth`]:o}=r;return{"--n-bezier":n,"--n-color":e,"--n-opacity":o}}return{"--n-bezier":n,"--n-color":"","--n-opacity":""}})),a=n?vE("icon",Qr((()=>`${e.depth||"d"}`)),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:Qr((()=>{const{size:t,color:n}=e;return{fontSize:LB(t),color:n}})),cssVars:n?void 0:r,themeClass:null==a?void 0:a.themeClass,onRender:null==a?void 0:a.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:a,themeClass:i}=this;return null===(e=null==t?void 0:t.$options)||void 0===e||e._n_icon__,null==a||a(),Jr("i",Ir(this.$attrs,{role:"img",class:[`${o}-icon`,i,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:void 0!==n}],style:[this.cssVars,this.mergedStyle]}),r?Jr(r):this.$slots)}});function U1(e,t){return"submenu"===e.type||void 0===e.type&&void 0!==e[t]}function q1(e){return"divider"===e.type}const K1=$n({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Ro(I1),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:a,activeKeyPathRef:i,animatedRef:l,mergedShowRef:s,renderLabelRef:d,renderIconRef:c,labelFieldRef:u,childrenFieldRef:h,renderOptionRef:p,nodePropsRef:f,menuPropsRef:m}=t,v=Ro(B1,null),g=Ro(D1),b=Ro(OD),y=Qr((()=>e.tmNode.rawNode)),_=Qr((()=>{const{value:t}=h;return U1(e.tmNode.rawNode,t)})),x=Qr((()=>{const{disabled:t}=e.tmNode;return t})),C=function(e,t,n){const o=vt(e.value);let r=null;return er(e,(e=>{null!==r&&window.clearTimeout(r),!0===e?n&&!n.value?o.value=!0:r=window.setTimeout((()=>{o.value=!0}),t):o.value=!1})),o}(Qr((()=>{if(!_.value)return!1;const{key:t,disabled:i}=e.tmNode;if(i)return!1;const{value:l}=n,{value:s}=o,{value:d}=r,{value:c}=a;return null!==l?c.includes(t):null!==s?c.includes(t)&&c[c.length-1]!==t:null!==d&&c.includes(t)})),300,Qr((()=>null===o.value&&!l.value))),w=Qr((()=>!!(null==v?void 0:v.enteringSubmenuRef.value))),S=vt(!1);function k(){const{parentKey:t,tmNode:a}=e;a.disabled||s.value&&(r.value=t,o.value=null,n.value=a.key)}return To(B1,{enteringSubmenuRef:S}),{labelField:u,renderLabel:d,renderIcon:c,siblingHasIcon:g.showIconRef,siblingHasSubmenu:g.hasSubmenuRef,menuProps:m,popoverBody:b,animated:l,mergedShowSubmenu:Qr((()=>C.value&&!w.value)),rawNode:y,hasSubmenu:_,pending:oD((()=>{const{value:t}=a,{key:n}=e.tmNode;return t.includes(n)})),childActive:oD((()=>{const{value:t}=i,{key:n}=e.tmNode,o=t.findIndex((e=>n===e));return-1!==o&&o{const{value:t}=i,{key:n}=e.tmNode,o=t.findIndex((e=>n===e));return-1!==o&&o===t.length-1})),mergedDisabled:x,renderOption:p,nodeProps:f,handleClick:function(){const{value:n}=_,{tmNode:o}=e;s.value&&(n||o.disabled||(t.doSelect(o.key,o.rawNode),t.doUpdateShow(!1)))},handleMouseMove:function(){const{tmNode:t}=e;t.disabled||s.value&&n.value!==t.key&&k()},handleMouseEnter:k,handleMouseLeave:function(t){if(e.tmNode.disabled)return;if(!s.value)return;const{relatedTarget:o}=t;!o||QA({target:o},"dropdownOption")||QA({target:o},"scrollbarRail")||(n.value=null)},handleSubmenuBeforeEnter:function(){S.value=!0},handleSubmenuAfterEnter:function(){S.value=!1}}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:a,siblingHasIcon:i,siblingHasSubmenu:l,renderLabel:s,renderIcon:d,renderOption:c,nodeProps:u,props:h,scrollable:p}=this;let f=null;if(r){const t=null===(e=this.menuProps)||void 0===e?void 0:e.call(this,o,o.children);f=Jr(X1,Object.assign({},t,{clsPrefix:a,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const m={class:[`${a}-dropdown-option-body`,this.pending&&`${a}-dropdown-option-body--pending`,this.active&&`${a}-dropdown-option-body--active`,this.childActive&&`${a}-dropdown-option-body--child-active`,this.mergedDisabled&&`${a}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},v=null==u?void 0:u(o),g=Jr("div",Object.assign({class:[`${a}-dropdown-option`,null==v?void 0:v.class],"data-dropdown-option":!0},v),Jr("div",Ir(m,h),[Jr("div",{class:[`${a}-dropdown-option-body__prefix`,i&&`${a}-dropdown-option-body__prefix--show-icon`]},[d?d(o):aE(o.icon)]),Jr("div",{"data-dropdown-option":!0,class:`${a}-dropdown-option-body__label`},s?s(o):aE(null!==(t=o[this.labelField])&&void 0!==t?t:o.title)),Jr("div",{"data-dropdown-option":!0,class:[`${a}-dropdown-option-body__suffix`,l&&`${a}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?Jr(V1,null,{default:()=>Jr(tV,null)}):null)]),this.hasSubmenu?Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{class:`${a}-dropdown-offset-container`},Jr(FI,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>Jr("div",{class:`${a}-dropdown-menu-wrapper`},n?Jr(ha,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>f}):f)}))})]}):null);return c?c({node:g,option:o}):g}}),Y1=$n({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return Jr(pr,null,Jr(L1,{clsPrefix:n,tmNode:e,key:e.key}),null==o?void 0:o.map((e=>{const{rawNode:o}=e;return!1===o.show?null:q1(o)?Jr(E1,{clsPrefix:n,key:e.key}):e.isGroup?null:Jr(K1,{clsPrefix:n,tmNode:e,parentKey:t,key:e.key})})))}}),G1=$n({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return Jr("div",t,[null==e?void 0:e()])}}),X1=$n({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=Ro(I1);To(D1,{showIconRef:Qr((()=>{const n=t.value;return e.tmNodes.some((e=>{var t;if(e.isGroup)return null===(t=e.children)||void 0===t?void 0:t.some((({rawNode:e})=>n?n(e):e.icon));const{rawNode:o}=e;return n?n(o):o.icon}))})),hasSubmenuRef:Qr((()=>{const{value:t}=n;return e.tmNodes.some((e=>{var n;if(e.isGroup)return null===(n=e.children)||void 0===n?void 0:n.some((({rawNode:e})=>U1(e,t)));const{rawNode:o}=e;return U1(o,t)}))}))});const o=vt(null);return To($D,null),To(MD,null),To(OD,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map((o=>{const{rawNode:r}=o;return!1===r.show?null:function(e){return"render"===e.type}(r)?Jr(G1,{tmNode:o,key:o.key}):q1(r)?Jr(E1,{clsPrefix:t,key:o.key}):function(e){return"group"===e.type}(r)?Jr(Y1,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key}):Jr(K1,{clsPrefix:t,tmNode:o,parentKey:e,key:o.key,props:r.props,scrollable:n})}));return Jr("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?Jr(Uq,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?qK({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),Z1=LA("dropdown-menu","\n transform-origin: var(--v-transform-origin);\n background-color: var(--n-color);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n position: relative;\n transition:\n background-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n",[MK(),LA("dropdown-option","\n position: relative;\n ",[BA("a","\n text-decoration: none;\n color: inherit;\n outline: none;\n ",[BA("&::before",'\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ')]),LA("dropdown-option-body","\n display: flex;\n cursor: pointer;\n position: relative;\n height: var(--n-option-height);\n line-height: var(--n-option-height);\n font-size: var(--n-font-size);\n color: var(--n-option-text-color);\n transition: color .3s var(--n-bezier);\n ",[BA("&::before",'\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n left: 4px;\n right: 4px;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n '),HA("disabled",[NA("pending","\n color: var(--n-option-text-color-hover);\n ",[jA("prefix, suffix","\n color: var(--n-option-text-color-hover);\n "),BA("&::before","background-color: var(--n-option-color-hover);")]),NA("active","\n color: var(--n-option-text-color-active);\n ",[jA("prefix, suffix","\n color: var(--n-option-text-color-active);\n "),BA("&::before","background-color: var(--n-option-color-active);")]),NA("child-active","\n color: var(--n-option-text-color-child-active);\n ",[jA("prefix, suffix","\n color: var(--n-option-text-color-child-active);\n ")])]),NA("disabled","\n cursor: not-allowed;\n opacity: var(--n-option-opacity-disabled);\n "),NA("group","\n font-size: calc(var(--n-font-size) - 1px);\n color: var(--n-group-header-text-color);\n ",[jA("prefix","\n width: calc(var(--n-option-prefix-width) / 2);\n ",[NA("show-icon","\n width: calc(var(--n-option-icon-prefix-width) / 2);\n ")])]),jA("prefix","\n width: var(--n-option-prefix-width);\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--n-prefix-color);\n transition: color .3s var(--n-bezier);\n z-index: 1;\n ",[NA("show-icon","\n width: var(--n-option-icon-prefix-width);\n "),LA("icon","\n font-size: var(--n-option-icon-size);\n ")]),jA("label","\n white-space: nowrap;\n flex: 1;\n z-index: 1;\n "),jA("suffix","\n box-sizing: border-box;\n flex-grow: 0;\n flex-shrink: 0;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n min-width: var(--n-option-suffix-width);\n padding: 0 8px;\n transition: color .3s var(--n-bezier);\n color: var(--n-suffix-color);\n z-index: 1;\n ",[NA("has-submenu","\n width: var(--n-option-icon-suffix-width);\n "),LA("icon","\n font-size: var(--n-option-icon-size);\n ")]),LA("dropdown-menu","pointer-events: all;")]),LA("dropdown-offset-container","\n pointer-events: none;\n position: absolute;\n left: 0;\n right: 0;\n top: -4px;\n bottom: -4px;\n ")]),LA("dropdown-divider","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-divider-color);\n height: 1px;\n margin: 4px 0;\n "),LA("dropdown-menu-wrapper","\n transform-origin: var(--v-transform-origin);\n width: fit-content;\n "),BA(">",[LA("scrollbar","\n height: inherit;\n max-height: inherit;\n ")]),HA("scrollable","\n padding: var(--n-padding);\n "),NA("scrollable",[jA("content","\n padding: var(--n-padding);\n ")])]),Q1={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},J1=Object.keys(XK),e0=$n({name:"Dropdown",inheritAttrs:!1,props:Object.assign(Object.assign(Object.assign({},XK),Q1),HW.props),setup(e){const t=vt(!1),n=xD(Ft(e,"show"),t),o=Qr((()=>{const{keyField:t,childrenField:n}=e;return vK(e.options,{getKey:e=>e[t],getDisabled:e=>!0===e.disabled,getIgnored:e=>"divider"===e.type||"render"===e.type,getChildren:e=>e[n]})})),r=Qr((()=>o.value.treeNodes)),a=vt(null),i=vt(null),l=vt(null),s=Qr((()=>{var e,t,n;return null!==(n=null!==(t=null!==(e=a.value)&&void 0!==e?e:i.value)&&void 0!==t?t:l.value)&&void 0!==n?n:null})),d=Qr((()=>o.value.getPath(s.value).keyPath)),c=Qr((()=>o.value.getPath(e.value).keyPath));TD({keydown:{ArrowUp:{prevent:!0,handler:function(){b("up")}},ArrowRight:{prevent:!0,handler:function(){b("right")}},ArrowDown:{prevent:!0,handler:function(){b("down")}},ArrowLeft:{prevent:!0,handler:function(){b("left")}},Enter:{prevent:!0,handler:function(){const e=g();(null==e?void 0:e.isLeaf)&&n.value&&(f(e.key,e.rawNode),m(!1))}},Escape:function(){m(!1)}}},oD((()=>e.keyboard&&n.value)));const{mergedClsPrefixRef:u,inlineThemeDisabled:h}=fE(e),p=HW("Dropdown","-dropdown",Z1,EJ,e,u);function f(t,n){const{onSelect:o}=e;o&&GB(o,t,n)}function m(n){const{"onUpdate:show":o,onUpdateShow:r}=e;o&&GB(o,n),r&&GB(r,n),t.value=n}function v(){a.value=null,i.value=null,l.value=null}function g(){var e;const{value:t}=o,{value:n}=s;return t&&null!==n&&null!==(e=t.getNode(n))&&void 0!==e?e:null}function b(e){const{value:t}=s,{value:{getFirstAvailableNode:n}}=o;let r=null;if(null===t){const e=n();null!==e&&(r=e.key)}else{const t=g();if(t){let n;switch(e){case"down":n=t.getNext();break;case"up":n=t.getPrev();break;case"right":n=t.getChild();break;case"left":n=t.getParent()}n&&(r=n.key)}}null!==r&&(a.value=null,i.value=r)}To(I1,{labelFieldRef:Ft(e,"labelField"),childrenFieldRef:Ft(e,"childrenField"),renderLabelRef:Ft(e,"renderLabel"),renderIconRef:Ft(e,"renderIcon"),hoverKeyRef:a,keyboardKeyRef:i,lastToggledSubmenuKeyRef:l,pendingKeyPathRef:d,activeKeyPathRef:c,animatedRef:Ft(e,"animated"),mergedShowRef:n,nodePropsRef:Ft(e,"nodeProps"),renderOptionRef:Ft(e,"renderOption"),menuPropsRef:Ft(e,"menuProps"),doSelect:f,doUpdateShow:m}),er(n,(t=>{e.animated||t||v()}));const y=Qr((()=>{const{size:t,inverted:n}=e,{common:{cubicBezierEaseInOut:o},self:r}=p.value,{padding:a,dividerColor:i,borderRadius:l,optionOpacityDisabled:s,[KA("optionIconSuffixWidth",t)]:d,[KA("optionSuffixWidth",t)]:c,[KA("optionIconPrefixWidth",t)]:u,[KA("optionPrefixWidth",t)]:h,[KA("fontSize",t)]:f,[KA("optionHeight",t)]:m,[KA("optionIconSize",t)]:v}=r,g={"--n-bezier":o,"--n-font-size":f,"--n-padding":a,"--n-border-radius":l,"--n-option-height":m,"--n-option-prefix-width":h,"--n-option-icon-prefix-width":u,"--n-option-suffix-width":c,"--n-option-icon-suffix-width":d,"--n-option-icon-size":v,"--n-divider-color":i,"--n-option-opacity-disabled":s};return n?(g["--n-color"]=r.colorInverted,g["--n-option-color-hover"]=r.optionColorHoverInverted,g["--n-option-color-active"]=r.optionColorActiveInverted,g["--n-option-text-color"]=r.optionTextColorInverted,g["--n-option-text-color-hover"]=r.optionTextColorHoverInverted,g["--n-option-text-color-active"]=r.optionTextColorActiveInverted,g["--n-option-text-color-child-active"]=r.optionTextColorChildActiveInverted,g["--n-prefix-color"]=r.prefixColorInverted,g["--n-suffix-color"]=r.suffixColorInverted,g["--n-group-header-text-color"]=r.groupHeaderTextColorInverted):(g["--n-color"]=r.color,g["--n-option-color-hover"]=r.optionColorHover,g["--n-option-color-active"]=r.optionColorActive,g["--n-option-text-color"]=r.optionTextColor,g["--n-option-text-color-hover"]=r.optionTextColorHover,g["--n-option-text-color-active"]=r.optionTextColorActive,g["--n-option-text-color-child-active"]=r.optionTextColorChildActive,g["--n-prefix-color"]=r.prefixColor,g["--n-suffix-color"]=r.suffixColor,g["--n-group-header-text-color"]=r.groupHeaderTextColor),g})),_=h?vE("dropdown",Qr((()=>`${e.size[0]}${e.inverted?"i":""}`)),y,e):void 0;return{mergedClsPrefix:u,mergedTheme:p,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&v()},doUpdateShow:m,cssVars:h?void 0:y,themeClass:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender}},render(){const{mergedTheme:e}=this,t={show:this.mergedShow,theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:(e,t,n,o,r)=>{var a;const{mergedClsPrefix:i,menuProps:l}=this;null===(a=this.onRender)||void 0===a||a.call(this);const s=(null==l?void 0:l(void 0,this.tmNodes.map((e=>e.rawNode))))||{},d={ref:ZB(t),class:[e,`${i}-dropdown`,this.themeClass],clsPrefix:i,tmNodes:this.tmNodes,style:[...n,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:o,onMouseleave:r};return Jr(X1,Ir(this.$attrs,d,s))},onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return Jr(ZK,Object.assign({},tE(this.$props,J1),t),{trigger:()=>{var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}})}}),t0="_n_all__",n0="_n_none__";const o0=$n({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:a,doUncheckAll:i}=Ro(JJ),l=Qr((()=>function(e,t,n,o){return e?r=>{for(const a of e)switch(r){case t0:return void n(!0);case n0:return void o(!0);default:if("object"==typeof a&&a.key===r)return void a.onSelect(t.value)}}:()=>{}}(o.value,r,a,i))),s=Qr((()=>function(e,t){return e?e.map((e=>{switch(e){case"all":return{label:t.checkTableAll,key:t0};case"none":return{label:t.uncheckTableAll,key:n0};default:return e}})):[]}(o.value,n.value)));return()=>{var n,o,r,a;const{clsPrefix:i}=e;return Jr(e0,{theme:null===(o=null===(n=t.theme)||void 0===n?void 0:n.peers)||void 0===o?void 0:o.Dropdown,themeOverrides:null===(a=null===(r=t.themeOverrides)||void 0===r?void 0:r.peers)||void 0===a?void 0:a.Dropdown,options:s.value,onSelect:l.value},{default:()=>Jr(VW,{clsPrefix:i,class:`${i}-data-table-check-extra`},{default:()=>Jr(eV,null)})})}}});function r0(e){return"function"==typeof e.title?e.title(e):e.title}const a0=$n({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},width:String},render(){const{clsPrefix:e,id:t,cols:n,width:o}=this;return Jr("table",{style:{tableLayout:"fixed",width:o},class:`${e}-data-table-table`},Jr("colgroup",null,n.map((e=>Jr("col",{key:e.key,style:e.style})))),Jr("thead",{"data-n-id":t,class:`${e}-data-table-thead`},this.$slots))}}),i0=$n({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:a,someRowsCheckedRef:i,rowsRef:l,colsRef:s,mergedThemeRef:d,checkOptionsRef:c,mergedSortStateRef:u,componentId:h,mergedTableLayoutRef:p,headerCheckboxDisabledRef:f,virtualScrollHeaderRef:m,headerHeightRef:v,onUnstableColumnResize:g,doUpdateResizableWidth:b,handleTableHeaderScroll:y,deriveNextSorter:_,doUncheckAll:x,doCheckAll:C}=Ro(JJ),w=vt(),S=vt({});function k(e){const t=S.value[e];return null==t?void 0:t.getBoundingClientRect().width}const P=new Map;return{cellElsRef:S,componentId:h,mergedSortState:u,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:a,someRowsChecked:i,rows:l,cols:s,mergedTheme:d,checkOptions:c,mergedTableLayout:p,headerCheckboxDisabled:f,headerHeight:v,virtualScrollHeader:m,virtualListRef:w,handleCheckboxUpdateChecked:function(){a.value?x():C()},handleColHeaderClick:function(e,t){if(QA(e,"dataTableFilter")||QA(e,"dataTableResizable"))return;if(!a1(t))return;const n=u.value.find((e=>e.columnKey===t.key))||null,o=function(e,t){return void 0===e.sorter?null:null===t||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:s1(!1)}:Object.assign(Object.assign({},t),{order:s1(t.order)})}(t,n);_(o)},handleTableHeaderScroll:y,handleColumnResizeStart:function(e){P.set(e.key,k(e.key))},handleColumnResize:function(e,t){const n=P.get(e.key);if(void 0===n)return;const o=n+t,r=(a=o,i=e.minWidth,void 0!==(l=e.maxWidth)&&(a=Math.min(a,"number"==typeof l?l:Number.parseFloat(l))),void 0!==i&&(a=Math.max(a,"number"==typeof i?i:Number.parseFloat(i))),a);var a,i,l;g(o,r,e,k),b(e,r)}}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:a,someRowsChecked:i,rows:l,cols:s,mergedTheme:d,checkOptions:c,componentId:u,discrete:h,mergedTableLayout:p,headerCheckboxDisabled:f,mergedSortState:m,virtualScrollHeader:v,handleColHeaderClick:g,handleCheckboxUpdateChecked:b,handleColumnResizeStart:y,handleColumnResize:_}=this,x=(l,s,u)=>l.map((({column:l,colIndex:h,colSpan:p,rowSpan:v,isLast:x})=>{var C,w;const S=t1(l),{ellipsis:k}=l,P=S in n,T=S in o;return Jr(s&&!l.fixed?"div":"th",{ref:t=>e[S]=t,key:S,style:[s&&!l.fixed?{position:"absolute",left:nO(s(h)),top:0,bottom:0}:{left:nO(null===(C=n[S])||void 0===C?void 0:C.start),right:nO(null===(w=o[S])||void 0===w?void 0:w.start)},{width:nO(l.width),textAlign:l.titleAlign||l.align,height:u}],colspan:p,rowspan:v,"data-col-key":S,class:[`${t}-data-table-th`,(P||T)&&`${t}-data-table-th--fixed-${P?"left":"right"}`,{[`${t}-data-table-th--sorting`]:d1(l,m),[`${t}-data-table-th--filterable`]:l1(l),[`${t}-data-table-th--sortable`]:a1(l),[`${t}-data-table-th--selection`]:"selection"===l.type,[`${t}-data-table-th--last`]:x},l.className],onClick:"selection"===l.type||"expand"===l.type||"children"in l?void 0:e=>{g(e,l)}},"selection"===l.type?!1!==l.multiple?Jr(pr,null,Jr(wQ,{key:r,privateInsideTable:!0,checked:a,indeterminate:i,disabled:f,onUpdateChecked:b}),c?Jr(o0,{clsPrefix:t}):null):null:Jr(pr,null,Jr("div",{class:`${t}-data-table-th__title-wrapper`},Jr("div",{class:`${t}-data-table-th__title`},!0===k||k&&!k.tooltip?Jr("div",{class:`${t}-data-table-th__ellipsis`},r0(l)):k&&"object"==typeof k?Jr(k1,Object.assign({},k,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>r0(l)}):r0(l)),a1(l)?Jr(O1,{column:l}):null),l1(l)?Jr(M1,{column:l,options:l.filterOptions}):null,i1(l)?Jr($1,{onResizeStart:()=>{y(l)},onResize:e=>{_(l,e)}}):null))}));if(v){const{headerHeight:e}=this;let n=0,o=0;return s.forEach((e=>{"left"===e.column.fixed?n++:"right"===e.column.fixed&&o++})),Jr(kB,{ref:"virtualListRef",class:`${t}-data-table-base-table-header`,style:{height:nO(e)},onScroll:this.handleTableHeaderScroll,columns:s,itemSize:e,showScrollbar:!1,items:[{}],itemResizable:!1,visibleItemsTag:a0,visibleItemsProps:{clsPrefix:t,id:u,cols:s,width:LB(this.scrollX)},renderItemWithCols:({startColIndex:t,endColIndex:r,getLeft:a})=>{const i=s.map(((e,t)=>({column:e.column,isLast:t===s.length-1,colIndex:e.index,colSpan:1,rowSpan:1}))).filter((({column:e},n)=>t<=n&&n<=r||!!e.fixed)),l=x(i,a,nO(e));return l.splice(n,0,Jr("th",{colspan:s.length-n-o,style:{pointerEvents:"none",visibility:"hidden",height:0}})),Jr("tr",{style:{position:"relative"}},l)}},{default:({renderedItemWithCols:e})=>e})}const C=Jr("thead",{class:`${t}-data-table-thead`,"data-n-id":u},l.map((e=>Jr("tr",{class:`${t}-data-table-tr`},x(e,null,void 0)))));if(!h)return C;const{handleTableHeaderScroll:w,scrollX:S}=this;return Jr("div",{class:`${t}-data-table-base-table-header`,onScroll:w},Jr("table",{class:`${t}-data-table-table`,style:{minWidth:LB(S),tableLayout:p}},Jr("colgroup",null,s.map((e=>Jr("col",{key:e.key,style:e.style})))),C))}});function l0(e,t){const n=[];function o(e,r){e.forEach((e=>{e.children&&t.has(e.key)?(n.push({tmNode:e,striped:!1,key:e.key,index:r}),o(e.children,r)):n.push({key:e.key,tmNode:e,striped:!1,index:r})}))}return e.forEach((e=>{n.push(e);const{children:r}=e.tmNode;r&&t.has(e.key)&&o(r,e.index)})),n}const s0=$n({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return Jr("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},Jr("colgroup",null,n.map((e=>Jr("col",{key:e.key,style:e.style})))),Jr("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),d0=$n({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:a,scrollXRef:i,colsRef:l,paginatedDataRef:s,rawPaginatedDataRef:d,fixedColumnLeftMapRef:c,fixedColumnRightMapRef:u,mergedCurrentPageRef:h,rowClassNameRef:p,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:m,rightActiveFixedColKeyRef:v,rightActiveFixedChildrenColKeysRef:g,renderExpandRef:b,hoverKeyRef:y,summaryRef:_,mergedSortStateRef:x,virtualScrollRef:C,virtualScrollXRef:w,heightForRowRef:S,minRowHeightRef:k,componentId:P,mergedTableLayoutRef:T,childTriggerColIndexRef:R,indentRef:F,rowPropsRef:z,maxHeightRef:M,stripedRef:$,loadingRef:A,onLoadRef:O,loadingKeySetRef:D,expandableRef:I,stickyExpandedRowsRef:B,renderExpandIconRef:E,summaryPlacementRef:L,treeMateRef:j,scrollbarPropsRef:N,setHeaderScrollLeft:H,doUpdateExpandedRowKeys:W,handleTableBodyScroll:V,doCheck:U,doUncheck:q,renderCell:K}=Ro(JJ),Y=Ro(hE),G=vt(null),X=vt(null),Z=vt(null),Q=oD((()=>0===s.value.length)),J=oD((()=>e.showHeader||!Q.value)),ee=oD((()=>e.showHeader||Q.value));let te="";const ne=Qr((()=>new Set(o.value)));function oe(e){var t;return null===(t=j.value.getNode(e))||void 0===t?void 0:t.rawNode}function re(){const{value:e}=X;return(null==e?void 0:e.listElRef)||null}const ae={getScrollContainer:function(){if(!J.value){const{value:e}=Z;return e||null}if(C.value)return re();const{value:e}=G;return e?e.containerRef:null},scrollTo(e,t){var n,o;C.value?null===(n=X.value)||void 0===n||n.scrollTo(e,t):null===(o=G.value)||void 0===o||o.scrollTo(e,t)}},ie=BA([({props:e})=>{const t=t=>null===t?null:BA(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),n=t=>null===t?null:BA(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return BA([t(e.leftActiveFixedColKey),n(e.rightActiveFixedColKey),e.leftActiveFixedChildrenColKeys.map((e=>t(e))),e.rightActiveFixedChildrenColKeys.map((e=>n(e)))])}]);let le=!1;return Jo((()=>{const{value:e}=f,{value:t}=m,{value:n}=v,{value:o}=g;if(!le&&null===e&&null===n)return;const r={leftActiveFixedColKey:e,leftActiveFixedChildrenColKeys:t,rightActiveFixedColKey:n,rightActiveFixedChildrenColKeys:o,componentId:P};ie.mount({id:`n-${P}`,force:!0,props:r,anchorMetaName:OW,parent:null==Y?void 0:Y.styleMountTarget}),le=!0})),Zn((()=>{ie.unmount({id:`n-${P}`,parent:null==Y?void 0:Y.styleMountTarget})})),Object.assign({bodyWidth:n,summaryPlacement:L,dataTableSlots:t,componentId:P,scrollbarInstRef:G,virtualListRef:X,emptyElRef:Z,summary:_,mergedClsPrefix:r,mergedTheme:a,scrollX:i,cols:l,loading:A,bodyShowHeaderOnly:ee,shouldDisplaySomeTablePart:J,empty:Q,paginatedDataAndInfo:Qr((()=>{const{value:e}=$;let t=!1;return{data:s.value.map(e?(e,n)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:n%2==1,index:n}):(e,n)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:!1,index:n})),hasChildren:t}})),rawPaginatedData:d,fixedColumnLeftMap:c,fixedColumnRightMap:u,currentPage:h,rowClassName:p,renderExpand:b,mergedExpandedRowKeySet:ne,hoverKey:y,mergedSortState:x,virtualScroll:C,virtualScrollX:w,heightForRow:S,minRowHeight:k,mergedTableLayout:T,childTriggerColIndex:R,indent:F,rowProps:z,maxHeight:M,loadingKeySet:D,expandable:I,stickyExpandedRows:B,renderExpandIcon:E,scrollbarProps:N,setHeaderScrollLeft:H,handleVirtualListScroll:function(e){var t;V(e),null===(t=G.value)||void 0===t||t.sync()},handleVirtualListResize:function(t){var n;const{onResize:o}=e;o&&o(t),null===(n=G.value)||void 0===n||n.sync()},handleMouseleaveTable:function(){y.value=null},virtualListContainer:re,virtualListContent:function(){const{value:e}=X;return(null==e?void 0:e.itemsElRef)||null},handleTableBodyScroll:V,handleCheckboxUpdateChecked:function(e,t,n){const o=oe(e.key);if(o){if(n){const n=s.value.findIndex((e=>e.key===te));if(-1!==n){const r=s.value.findIndex((t=>t.key===e.key)),a=Math.min(n,r),i=Math.max(n,r),l=[];return s.value.slice(a,i+1).forEach((e=>{e.disabled||l.push(e.key)})),t?U(l,!1,o):q(l,o),void(te=e.key)}}t?U(e.key,!1,o):q(e.key,o),te=e.key}else e.key},handleRadioUpdateChecked:function(e){const t=oe(e.key);t?U(e.key,!0,t):e.key},handleUpdateExpanded:function(e,t){var n;if(D.value.has(e))return;const{value:r}=o,a=r.indexOf(e),i=Array.from(r);~a?(i.splice(a,1),W(i)):!t||t.isLeaf||t.shallowLoaded?(i.push(e),W(i)):(D.value.add(e),null===(n=O.value)||void 0===n||n.call(O,t.rawNode).then((()=>{const{value:t}=o,n=Array.from(t);~n.indexOf(e)||n.push(e),W(n)})).finally((()=>{D.value.delete(e)})))},renderCell:K},ae)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:a,flexHeight:i,loadingKeySet:l,onResize:s,setHeaderScrollLeft:d}=this,c=void 0!==t||void 0!==r||i,u=!c&&"auto"===a,h=void 0!==t||u,p={minWidth:LB(t)||"100%"};t&&(p.width="100%");const f=Jr(Vq,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:c||u,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:h,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:d,onResize:s}),{default:()=>{const e={},t={},{cols:r,paginatedDataAndInfo:a,mergedTheme:i,fixedColumnLeftMap:s,fixedColumnRightMap:d,currentPage:c,rowClassName:u,mergedSortState:h,mergedExpandedRowKeySet:f,stickyExpandedRows:m,componentId:v,childTriggerColIndex:g,expandable:b,rowProps:y,handleMouseleaveTable:_,renderExpand:x,summary:C,handleCheckboxUpdateChecked:w,handleRadioUpdateChecked:S,handleUpdateExpanded:k,heightForRow:P,minRowHeight:T,virtualScrollX:R}=this,{length:F}=r;let z;const{data:M,hasChildren:$}=a,A=$?l0(M,f):M;if(C){const e=C(this.rawPaginatedData);if(Array.isArray(e)){const t=e.map(((e,t)=>({isSummaryRow:!0,key:`__n_summary__${t}`,tmNode:{rawNode:e,disabled:!0},index:-1})));z="top"===this.summaryPlacement?[...t,...A]:[...A,...t]}else{const t={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:e,disabled:!0},index:-1};z="top"===this.summaryPlacement?[t,...A]:[...A,t]}}else z=A;const O=$?{width:nO(this.indent)}:void 0,D=[];z.forEach((e=>{x&&f.has(e.key)&&(!b||b(e.tmNode.rawNode))?D.push(e,{isExpandedRow:!0,key:`${e.key}-expand`,tmNode:e.tmNode,index:e.index}):D.push(e)}));const{length:I}=D,B={};M.forEach((({tmNode:e},t)=>{B[t]=e.key}));const E=m?this.bodyWidth:null,L=null===E?void 0:`${E}px`,j=this.virtualScrollX?"div":"td";let N=0,H=0;R&&r.forEach((e=>{"left"===e.column.fixed?N++:"right"===e.column.fixed&&H++}));const W=({rowInfo:o,displayedRowIndex:a,isVirtual:p,isVirtualX:v,startColIndex:b,endColIndex:_,getLeft:C})=>{const{index:R}=o;if("isExpandedRow"in o){const{tmNode:{key:e,rawNode:t}}=o;return Jr("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${e}__expand`},Jr("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,a+1===I&&`${n}-data-table-td--last-row`],colspan:F},m?Jr("div",{class:`${n}-data-table-expand`,style:{width:L}},x(t,R)):x(t,R)))}const z="isSummaryRow"in o,M=!z&&o.striped,{tmNode:A,key:D}=o,{rawNode:E}=A,W=f.has(D),V=y?y(E,R):void 0,U="string"==typeof u?u:function(e,t,n){return"function"==typeof n?n(e,t):n||""}(E,R,u),q=v?r.filter(((e,t)=>b<=t&&t<=_||!!e.column.fixed)):r,K=v?nO((null==P?void 0:P(E,R))||T):void 0,Y=q.map((r=>{var u,f,m,b,y;const _=r.index;if(a in e){const t=e[a],n=t.indexOf(_);if(~n)return t.splice(n,1),null}const{column:x}=r,P=t1(r),{rowSpan:T,colSpan:M}=x,A=z?(null===(u=o.tmNode.rawNode[P])||void 0===u?void 0:u.colSpan)||1:M?M(E,R):1,L=z?(null===(f=o.tmNode.rawNode[P])||void 0===f?void 0:f.rowSpan)||1:T?T(E,R):1,N=_+A===F,H=a+L===I,V=L>1;if(V&&(t[a]={[_]:[]}),A>1||V)for(let n=a;n{k(D,o.tmNode)}})]:null,"selection"===x.type?z?null:!1===x.multiple?Jr(y1,{key:c,rowKey:D,disabled:o.tmNode.disabled,onUpdateChecked:()=>{S(o.tmNode)}}):Jr(c1,{key:c,rowKey:D,disabled:o.tmNode.disabled,onUpdateChecked:(e,t)=>{w(o.tmNode,e,t.shiftKey)}}):"expand"===x.type?z?null:!x.expandable||(null===(y=x.expandable)||void 0===y?void 0:y.call(x,E))?Jr(R1,{clsPrefix:n,rowData:E,expanded:W,renderExpandIcon:this.renderExpandIcon,onClick:()=>{k(D,null)}}):null:Jr(T1,{clsPrefix:n,index:R,row:E,column:x,isSummary:z,mergedTheme:i,renderCell:this.renderCell}))}));v&&N&&H&&Y.splice(N,0,Jr("td",{colspan:r.length-N-H,style:{pointerEvents:"none",visibility:"hidden",height:0}}));const G=Jr("tr",Object.assign({},V,{onMouseenter:e=>{var t;this.hoverKey=D,null===(t=null==V?void 0:V.onMouseenter)||void 0===t||t.call(V,e)},key:D,class:[`${n}-data-table-tr`,z&&`${n}-data-table-tr--summary`,M&&`${n}-data-table-tr--striped`,W&&`${n}-data-table-tr--expanded`,U,null==V?void 0:V.class],style:[null==V?void 0:V.style,v&&{height:K}]}),Y);return G};return o?Jr(kB,{ref:"virtualListRef",items:D,itemSize:this.minRowHeight,visibleItemsTag:s0,visibleItemsProps:{clsPrefix:n,id:v,cols:r,onMouseleave:_},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!R,columns:r,renderItemWithCols:R?({itemIndex:e,item:t,startColIndex:n,endColIndex:o,getLeft:r})=>W({displayedRowIndex:e,isVirtual:!0,isVirtualX:!0,rowInfo:t,startColIndex:n,endColIndex:o,getLeft:r}):void 0},{default:({item:e,index:t,renderedItemWithCols:n})=>n||W({rowInfo:e,displayedRowIndex:t,isVirtual:!0,isVirtualX:!1,startColIndex:0,endColIndex:0,getLeft:e=>0})}):Jr("table",{class:`${n}-data-table-table`,onMouseleave:_,style:{tableLayout:this.mergedTableLayout}},Jr("colgroup",null,r.map((e=>Jr("col",{key:e.key,style:e.style})))),this.showHeader?Jr(i0,{discrete:!1}):null,this.empty?null:Jr("tbody",{"data-n-id":v,class:`${n}-data-table-tbody`},D.map(((e,t)=>W({rowInfo:e,displayedRowIndex:t,isVirtual:!1,isVirtualX:!1,startColIndex:-1,endColIndex:-1,getLeft:e=>-1})))))}});if(this.empty){const e=()=>Jr("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},lE(this.dataTableSlots.empty,(()=>[Jr(CK,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})])));return this.shouldDisplaySomeTablePart?Jr(pr,null,f,e()):Jr(bB,{onResize:this.onResize},{default:e})}return f}}),c0=$n({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:a,flexHeightRef:i,virtualScrollHeaderRef:l,syncScrollState:s}=Ro(JJ),d=vt(null),c=vt(null),u=vt(null),h=vt(!(n.value.length||t.value.length)),p=Qr((()=>({maxHeight:LB(r.value),minHeight:LB(a.value)})));const f={getBodyElement:function(){const{value:e}=c;return e?e.getScrollContainer():null},getHeaderElement:function(){var e;const{value:t}=d;return t?l.value?(null===(e=t.virtualListRef)||void 0===e?void 0:e.listElRef)||null:t.$el:null},scrollTo(e,t){var n;null===(n=c.value)||void 0===n||n.scrollTo(e,t)}};return Jo((()=>{const{value:t}=u;if(!t)return;const n=`${e.value}-data-table-base-table--transition-disabled`;h.value?setTimeout((()=>{t.classList.remove(n)}),0):t.classList.add(n)})),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:d,bodyInstRef:c,bodyStyle:p,flexHeight:i,handleBodyResize:function(e){o.value=e.contentRect.width,s(),h.value||(h.value=!0)}},f)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=void 0===t&&!n;return Jr("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:Jr(i0,{ref:"headerInstRef"}),Jr(d0,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}}),u0=[NA("fixed-left","\n left: 0;\n position: sticky;\n z-index: 2;\n ",[BA("&::after",'\n pointer-events: none;\n content: "";\n width: 36px;\n display: inline-block;\n position: absolute;\n top: 0;\n bottom: -1px;\n transition: box-shadow .2s var(--n-bezier);\n right: -36px;\n ')]),NA("fixed-right","\n right: 0;\n position: sticky;\n z-index: 1;\n ",[BA("&::before",'\n pointer-events: none;\n content: "";\n width: 36px;\n display: inline-block;\n position: absolute;\n top: 0;\n bottom: -1px;\n transition: box-shadow .2s var(--n-bezier);\n left: -36px;\n ')])],h0=BA([LA("data-table","\n width: 100%;\n font-size: var(--n-font-size);\n display: flex;\n flex-direction: column;\n position: relative;\n --n-merged-th-color: var(--n-th-color);\n --n-merged-td-color: var(--n-td-color);\n --n-merged-border-color: var(--n-border-color);\n --n-merged-th-color-sorting: var(--n-th-color-sorting);\n --n-merged-td-color-hover: var(--n-td-color-hover);\n --n-merged-td-color-sorting: var(--n-td-color-sorting);\n --n-merged-td-color-striped: var(--n-td-color-striped);\n ",[LA("data-table-wrapper","\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n "),NA("flex-height",[BA(">",[LA("data-table-wrapper",[BA(">",[LA("data-table-base-table","\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n ",[BA(">",[LA("data-table-base-table-body","flex-basis: 0;",[BA("&:last-child","flex-grow: 1;")])])])])])])]),BA(">",[LA("data-table-loading-wrapper","\n color: var(--n-loading-color);\n font-size: var(--n-loading-size);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n justify-content: center;\n ",[MK({originalTransform:"translateX(-50%) translateY(-50%)"})])]),LA("data-table-expand-placeholder","\n margin-right: 8px;\n display: inline-block;\n width: 16px;\n height: 1px;\n "),LA("data-table-indent","\n display: inline-block;\n height: 1px;\n "),LA("data-table-expand-trigger","\n display: inline-flex;\n margin-right: 8px;\n cursor: pointer;\n font-size: 16px;\n vertical-align: -0.2em;\n position: relative;\n width: 16px;\n height: 16px;\n color: var(--n-td-text-color);\n transition: color .3s var(--n-bezier);\n ",[NA("expanded",[LA("icon","transform: rotate(90deg);",[MV({originalTransform:"rotate(90deg)"})]),LA("base-icon","transform: rotate(90deg);",[MV({originalTransform:"rotate(90deg)"})])]),LA("base-loading","\n color: var(--n-loading-color);\n transition: color .3s var(--n-bezier);\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[MV()]),LA("icon","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[MV()]),LA("base-icon","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n ",[MV()])]),LA("data-table-thead","\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-merged-th-color);\n "),LA("data-table-tr","\n position: relative;\n box-sizing: border-box;\n background-clip: padding-box;\n transition: background-color .3s var(--n-bezier);\n ",[LA("data-table-expand","\n position: sticky;\n left: 0;\n overflow: hidden;\n margin: calc(var(--n-th-padding) * -1);\n padding: var(--n-th-padding);\n box-sizing: border-box;\n "),NA("striped","background-color: var(--n-merged-td-color-striped);",[LA("data-table-td","background-color: var(--n-merged-td-color-striped);")]),HA("summary",[BA("&:hover","background-color: var(--n-merged-td-color-hover);",[BA(">",[LA("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),LA("data-table-th","\n padding: var(--n-th-padding);\n position: relative;\n text-align: start;\n box-sizing: border-box;\n background-color: var(--n-merged-th-color);\n border-color: var(--n-merged-border-color);\n border-bottom: 1px solid var(--n-merged-border-color);\n color: var(--n-th-text-color);\n transition:\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n font-weight: var(--n-th-font-weight);\n ",[NA("filterable","\n padding-right: 36px;\n ",[NA("sortable","\n padding-right: calc(var(--n-th-padding) + 36px);\n ")]),u0,NA("selection","\n padding: 0;\n text-align: center;\n line-height: 0;\n z-index: 3;\n "),jA("title-wrapper","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n max-width: 100%;\n ",[jA("title","\n flex: 1;\n min-width: 0;\n ")]),jA("ellipsis","\n display: inline-block;\n vertical-align: bottom;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n "),NA("hover","\n background-color: var(--n-merged-th-color-hover);\n "),NA("sorting","\n background-color: var(--n-merged-th-color-sorting);\n "),NA("sortable","\n cursor: pointer;\n ",[jA("ellipsis","\n max-width: calc(100% - 18px);\n "),BA("&:hover","\n background-color: var(--n-merged-th-color-hover);\n ")]),LA("data-table-sorter","\n height: var(--n-sorter-size);\n width: var(--n-sorter-size);\n margin-left: 4px;\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: -0.2em;\n color: var(--n-th-icon-color);\n transition: color .3s var(--n-bezier);\n ",[LA("base-icon","transition: transform .3s var(--n-bezier)"),NA("desc",[LA("base-icon","\n transform: rotate(0deg);\n ")]),NA("asc",[LA("base-icon","\n transform: rotate(-180deg);\n ")]),NA("asc, desc","\n color: var(--n-th-icon-color-active);\n ")]),LA("data-table-resize-button","\n width: var(--n-resizable-container-size);\n position: absolute;\n top: 0;\n right: calc(var(--n-resizable-container-size) / 2);\n bottom: 0;\n cursor: col-resize;\n user-select: none;\n ",[BA("&::after","\n width: var(--n-resizable-size);\n height: 50%;\n position: absolute;\n top: 50%;\n left: calc(var(--n-resizable-container-size) / 2);\n bottom: 0;\n background-color: var(--n-merged-border-color);\n transform: translateY(-50%);\n transition: background-color .3s var(--n-bezier);\n z-index: 1;\n content: '';\n "),NA("active",[BA("&::after"," \n background-color: var(--n-th-icon-color-active);\n ")]),BA("&:hover::after","\n background-color: var(--n-th-icon-color-active);\n ")]),LA("data-table-filter","\n position: absolute;\n z-index: auto;\n right: 0;\n width: 36px;\n top: 0;\n bottom: 0;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n font-size: var(--n-filter-size);\n color: var(--n-th-icon-color);\n ",[BA("&:hover","\n background-color: var(--n-th-button-color-hover);\n "),NA("show","\n background-color: var(--n-th-button-color-hover);\n "),NA("active","\n background-color: var(--n-th-button-color-hover);\n color: var(--n-th-icon-color-active);\n ")])]),LA("data-table-td","\n padding: var(--n-td-padding);\n text-align: start;\n box-sizing: border-box;\n border: none;\n background-color: var(--n-merged-td-color);\n color: var(--n-td-text-color);\n border-bottom: 1px solid var(--n-merged-border-color);\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ",[NA("expand",[LA("data-table-expand-trigger","\n margin-right: 0;\n ")]),NA("last-row","\n border-bottom: 0 solid var(--n-merged-border-color);\n ",[BA("&::after","\n bottom: 0 !important;\n "),BA("&::before","\n bottom: 0 !important;\n ")]),NA("summary","\n background-color: var(--n-merged-th-color);\n "),NA("hover","\n background-color: var(--n-merged-td-color-hover);\n "),NA("sorting","\n background-color: var(--n-merged-td-color-sorting);\n "),jA("ellipsis","\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n vertical-align: bottom;\n max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);\n "),NA("selection, expand","\n text-align: center;\n padding: 0;\n line-height: 0;\n "),u0]),LA("data-table-empty","\n box-sizing: border-box;\n padding: var(--n-empty-padding);\n flex-grow: 1;\n flex-shrink: 0;\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: opacity .3s var(--n-bezier);\n ",[NA("hide","\n opacity: 0;\n ")]),jA("pagination","\n margin: var(--n-pagination-margin);\n display: flex;\n justify-content: flex-end;\n "),LA("data-table-wrapper","\n position: relative;\n opacity: 1;\n transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);\n border-top-left-radius: var(--n-border-radius);\n border-top-right-radius: var(--n-border-radius);\n line-height: var(--n-line-height);\n "),NA("loading",[LA("data-table-wrapper","\n opacity: var(--n-opacity-loading);\n pointer-events: none;\n ")]),NA("single-column",[LA("data-table-td","\n border-bottom: 0 solid var(--n-merged-border-color);\n ",[BA("&::after, &::before","\n bottom: 0 !important;\n ")])]),HA("single-line",[LA("data-table-th","\n border-right: 1px solid var(--n-merged-border-color);\n ",[NA("last","\n border-right: 0 solid var(--n-merged-border-color);\n ")]),LA("data-table-td","\n border-right: 1px solid var(--n-merged-border-color);\n ",[NA("last-col","\n border-right: 0 solid var(--n-merged-border-color);\n ")])]),NA("bordered",[LA("data-table-wrapper","\n border: 1px solid var(--n-merged-border-color);\n border-bottom-left-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n overflow: hidden;\n ")]),LA("data-table-base-table",[NA("transition-disabled",[LA("data-table-th",[BA("&::after, &::before","transition: none;")]),LA("data-table-td",[BA("&::after, &::before","transition: none;")])])]),NA("bottom-bordered",[LA("data-table-td",[NA("last-row","\n border-bottom: 1px solid var(--n-merged-border-color);\n ")])]),LA("data-table-table","\n font-variant-numeric: tabular-nums;\n width: 100%;\n word-break: break-word;\n transition: background-color .3s var(--n-bezier);\n border-collapse: separate;\n border-spacing: 0;\n background-color: var(--n-merged-td-color);\n "),LA("data-table-base-table-header","\n border-top-left-radius: calc(var(--n-border-radius) - 1px);\n border-top-right-radius: calc(var(--n-border-radius) - 1px);\n z-index: 3;\n overflow: scroll;\n flex-shrink: 0;\n transition: border-color .3s var(--n-bezier);\n scrollbar-width: none;\n ",[BA("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n display: none;\n width: 0;\n height: 0;\n ")]),LA("data-table-check-extra","\n transition: color .3s var(--n-bezier);\n color: var(--n-th-icon-color);\n position: absolute;\n font-size: 14px;\n right: -4px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n ")]),LA("data-table-filter-menu",[LA("scrollbar","\n max-height: 240px;\n "),jA("group","\n display: flex;\n flex-direction: column;\n padding: 12px 12px 0 12px;\n ",[LA("checkbox","\n margin-bottom: 12px;\n margin-right: 0;\n "),LA("radio","\n margin-bottom: 12px;\n margin-right: 0;\n ")]),jA("action","\n padding: var(--n-action-padding);\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-evenly;\n border-top: 1px solid var(--n-action-divider-color);\n ",[LA("button",[BA("&:not(:last-child)","\n margin: var(--n-action-button-margin);\n "),BA("&:last-child","\n margin-right: 0;\n ")])]),LA("divider","\n margin: 0 !important;\n ")]),WA(LA("data-table","\n --n-merged-th-color: var(--n-th-color-modal);\n --n-merged-td-color: var(--n-td-color-modal);\n --n-merged-border-color: var(--n-border-color-modal);\n --n-merged-th-color-hover: var(--n-th-color-hover-modal);\n --n-merged-td-color-hover: var(--n-td-color-hover-modal);\n --n-merged-th-color-sorting: var(--n-th-color-hover-modal);\n --n-merged-td-color-sorting: var(--n-td-color-hover-modal);\n --n-merged-td-color-striped: var(--n-td-color-striped-modal);\n ")),VA(LA("data-table","\n --n-merged-th-color: var(--n-th-color-popover);\n --n-merged-td-color: var(--n-td-color-popover);\n --n-merged-border-color: var(--n-border-color-popover);\n --n-merged-th-color-hover: var(--n-th-color-hover-popover);\n --n-merged-td-color-hover: var(--n-td-color-hover-popover);\n --n-merged-th-color-sorting: var(--n-th-color-hover-popover);\n --n-merged-td-color-sorting: var(--n-td-color-hover-popover);\n --n-merged-td-color-striped: var(--n-td-color-striped-popover);\n "))]);function p0(e,t){const n=Qr((()=>function(e,t){const n=[],o=[],r=[],a=new WeakMap;let i=-1,l=0,s=!1,d=0;return function e(a,c){c>i&&(n[c]=[],i=c),a.forEach((n=>{if("children"in n)e(n.children,c+1);else{const e="key"in n?n.key:void 0;o.push({key:t1(n),style:o1(n,void 0!==e?LB(t(e)):void 0),column:n,index:d++,width:void 0===n.width?128:Number(n.width)}),l+=1,s||(s=!!n.ellipsis),r.push(n)}}))}(e,0),d=0,function e(t,o){let r=0;t.forEach((t=>{var s;if("children"in t){const r=d,i={column:t,colIndex:d,colSpan:0,rowSpan:1,isLast:!1};e(t.children,o+1),t.children.forEach((e=>{var t,n;i.colSpan+=null!==(n=null===(t=a.get(e))||void 0===t?void 0:t.colSpan)&&void 0!==n?n:0})),r+i.colSpan===l&&(i.isLast=!0),a.set(t,i),n[o].push(i)}else{if(d1&&(r=d+e);const c={column:t,colSpan:e,colIndex:d,rowSpan:i-o+1,isLast:d+e===l};a.set(t,c),n[o].push(c),d+=1}}))}(e,0),{hasEllipsis:s,rows:n,cols:o,dataRelatedCols:r}}(e.columns,t)));return{rowsRef:Qr((()=>n.value.rows)),colsRef:Qr((()=>n.value.cols)),hasEllipsisRef:Qr((()=>n.value.hasEllipsis)),dataRelatedColsRef:Qr((()=>n.value.dataRelatedCols))}}function f0(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const a=vt(),i=vt(null),l=vt([]),s=vt(null),d=vt([]),c=Qr((()=>LB(e.scrollX))),u=Qr((()=>e.columns.filter((e=>"left"===e.fixed)))),h=Qr((()=>e.columns.filter((e=>"right"===e.fixed)))),p=Qr((()=>{const e={};let t=0;return function n(o){o.forEach((o=>{const r={start:t,end:0};e[t1(o)]=r,"children"in o?(n(o.children),r.end=t):(t+=e1(o)||0,r.end=t)}))}(u.value),e})),f=Qr((()=>{const e={};let t=0;return function n(o){for(let r=o.length-1;r>=0;--r){const a=o[r],i={start:t,end:0};e[t1(a)]=i,"children"in a?(n(a.children),i.end=t):(t+=e1(a)||0,i.end=t)}}(h.value),e}));function m(){return{header:t.value?t.value.getHeaderElement():null,body:t.value?t.value.getBodyElement():null}}function v(){const{header:t,body:n}=m();if(!n)return;const{value:c}=o;if(null!==c){if(e.maxHeight||e.flexHeight){if(!t)return;const e=r-t.scrollLeft;a.value=0!==e?"head":"body","head"===a.value?(r=t.scrollLeft,n.scrollLeft=r):(r=n.scrollLeft,t.scrollLeft=r)}else r=n.scrollLeft;!function(){var e,t;const{value:n}=u;let o=0;const{value:a}=p;let l=null;for(let i=0;i((null===(e=a[s])||void 0===e?void 0:e.start)||0)-o))break;l=s,o=(null===(t=a[s])||void 0===t?void 0:t.end)||0}i.value=l}(),function(){l.value=[];let t=e.columns.find((e=>t1(e)===i.value));for(;t&&"children"in t;){const e=t.children.length;if(0===e)break;const n=t.children[e-1];l.value.push(t1(n)),t=n}}(),function(){var t,n;const{value:a}=h,i=Number(e.scrollX),{value:l}=o;if(null===l)return;let d=0,c=null;const{value:u}=f;for(let e=a.length-1;e>=0;--e){const o=t1(a[e]);if(!(Math.round(r+((null===(t=u[o])||void 0===t?void 0:t.start)||0)+l-d)t1(e)===s.value));for(;t&&"children"in t&&t.children.length;){const e=t.children[0];d.value.push(t1(e)),t=e}}()}}return er(n,(()=>{!function(){const{body:e}=m();e&&(e.scrollTop=0)}()})),{styleScrollXRef:c,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:f,leftFixedColumnsRef:u,rightFixedColumnsRef:h,leftActiveFixedColKeyRef:i,leftActiveFixedChildrenColKeysRef:l,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:d,syncScrollState:v,handleTableBodyScroll:function(t){var n;null===(n=e.onScroll)||void 0===n||n.call(e,t),"head"!==a.value?ZA(v):a.value=void 0},handleTableHeaderScroll:function(){"body"!==a.value?ZA(v):a.value=void 0},setHeaderScrollLeft:function(e){const{header:t}=m();t&&(t.scrollLeft=e,v())}}}function m0(e){return"object"==typeof e&&"number"==typeof e.multiple&&e.multiple}function v0(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach((e=>{var t;void 0!==e.sorter&&d(o,{columnKey:e.key,sorter:e.sorter,order:null!==(t=e.defaultSortOrder)&&void 0!==t&&t})}));const r=vt(o),a=Qr((()=>{const e=t.value.filter((e=>"selection"!==e.type&&void 0!==e.sorter&&("ascend"===e.sortOrder||"descend"===e.sortOrder||!1===e.sortOrder))),n=e.filter((e=>!1!==e.sortOrder));if(n.length)return n.map((e=>({columnKey:e.key,order:e.sortOrder,sorter:e.sorter})));if(e.length)return[];const{value:o}=r;return Array.isArray(o)?o:o?[o]:[]}));function i(e){const t=function(e){let t=a.value.slice();return e&&!1!==m0(e.sorter)?(t=t.filter((e=>!1!==m0(e.sorter))),d(t,e),t):e||null}(e);l(t)}function l(t){const{"onUpdate:sorter":n,onUpdateSorter:o,onSorterChange:a}=e;n&&GB(n,t),o&&GB(o,t),a&&GB(a,t),r.value=t}function s(){l(null)}function d(e,t){const n=e.findIndex((e=>(null==t?void 0:t.columnKey)&&e.columnKey===t.columnKey));void 0!==n&&n>=0?e[n]=t:e.push(t)}return{clearSorter:s,sort:function(e,n="ascend"){if(e){const o=t.value.find((t=>"selection"!==t.type&&"expand"!==t.type&&t.key===e));if(!(null==o?void 0:o.sorter))return;const r=o.sorter;i({columnKey:e,sorter:r,order:n})}else s()},sortedDataRef:Qr((()=>{const e=a.value.slice().sort(((e,t)=>{const n=m0(e.sorter)||0;return(m0(t.sorter)||0)-n}));if(e.length){return n.value.slice().sort(((t,n)=>{let o=0;return e.some((e=>{const{columnKey:r,sorter:a,order:i}=e,l=function(e,t){return t&&(void 0===e||"default"===e||"object"==typeof e&&"default"===e.compare)?function(e){return(t,n)=>{const o=t[e],r=n[e];return null==o?null==r?0:-1:null==r?1:"number"==typeof o&&"number"==typeof r?o-r:"string"==typeof o&&"string"==typeof r?o.localeCompare(r):0}}(t):"function"==typeof e?e:!(!e||"object"!=typeof e||!e.compare||"default"===e.compare)&&e.compare}(a,r);return!(!l||!i||(o=l(t.rawNode,n.rawNode),0===o))&&(o*=function(e){return"ascend"===e?1:"descend"===e?-1:0}(i),!0)})),o}))}return n.value})),mergedSortStateRef:a,deriveNextSorter:i}}const g0=$n({name:"DataTable",alias:["AdvancedTable"],props:QJ,slots:Object,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:a}=fE(e),i=DW("DataTable",a,o),l=Qr((()=>{const{bottomBordered:t}=e;return!n.value&&(void 0===t||t)})),s=HW("DataTable","-data-table",h0,XJ,e,o),d=vt(null),c=vt(null),{getResizableWidth:u,clearResizableWidth:h,doUpdateResizableWidth:p}=function(){const e=vt({});return{getResizableWidth:function(t){return e.value[t]},doUpdateResizableWidth:function(t,n){i1(t)&&"key"in t&&(e.value[t.key]=n)},clearResizableWidth:function(){e.value={}}}}(),{rowsRef:f,colsRef:m,dataRelatedColsRef:v,hasEllipsisRef:g}=p0(e,u),{treeMateRef:b,mergedCurrentPageRef:y,paginatedDataRef:_,rawPaginatedDataRef:x,selectionColumnRef:C,hoverKeyRef:w,mergedPaginationRef:S,mergedFilterStateRef:k,mergedSortStateRef:P,childTriggerColIndexRef:T,doUpdatePage:R,doUpdateFilters:F,onUnstableColumnResize:z,deriveNextSorter:M,filter:$,filters:A,clearFilter:O,clearFilters:D,clearSorter:I,page:B,sort:E}=function(e,{dataRelatedColsRef:t}){const n=Qr((()=>{const t=e=>{for(let n=0;n{const{childrenKey:t}=e;return vK(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:e=>e[t],getDisabled:e=>{var t,o;return!!(null===(o=null===(t=n.value)||void 0===t?void 0:t.disabled)||void 0===o?void 0:o.call(t,e))}})})),r=oD((()=>{const{columns:t}=e,{length:n}=t;let o=null;for(let e=0;e{const e=t.value.filter((e=>void 0!==e.filterOptionValues||void 0!==e.filterOptionValue)),n={};return e.forEach((e=>{var t;"selection"!==e.type&&"expand"!==e.type&&(void 0===e.filterOptionValues?n[e.key]=null!==(t=e.filterOptionValue)&&void 0!==t?t:null:n[e.key]=e.filterOptionValues)})),Object.assign(n1(a.value),n)})),c=Qr((()=>{const t=d.value,{columns:n}=e;function r(e){return(t,n)=>!!~String(n[e]).indexOf(String(t))}const{value:{treeNodes:a}}=o,i=[];return n.forEach((e=>{"selection"===e.type||"expand"===e.type||"children"in e||i.push([e.key,e])})),a?a.filter((e=>{const{rawNode:n}=e;for(const[o,a]of i){let e=t[o];if(null==e)continue;if(Array.isArray(e)||(e=[e]),!e.length)continue;const i="default"===a.filter?r(o):a.filter;if(a&&"function"==typeof i){if("and"!==a.filterMode){if(e.some((e=>i(e,n))))continue;return!1}if(e.some((e=>!i(e,n))))return!1}}return!0})):[]})),{sortedDataRef:u,deriveNextSorter:h,mergedSortStateRef:p,sort:f,clearSorter:m}=v0(e,{dataRelatedColsRef:t,filteredDataRef:c});t.value.forEach((e=>{var t;if(e.filter){const n=e.defaultFilterOptionValues;e.filterMultiple?a.value[e.key]=n||[]:a.value[e.key]=void 0!==n?null===n?[]:n:null!==(t=e.defaultFilterOptionValue)&&void 0!==t?t:null}}));const v=Qr((()=>{const{pagination:t}=e;if(!1!==t)return t.page})),g=Qr((()=>{const{pagination:t}=e;if(!1!==t)return t.pageSize})),b=xD(v,l),y=xD(g,s),_=oD((()=>{const t=b.value;return e.remote?t:Math.max(1,Math.min(Math.ceil(c.value.length/y.value),t))})),x=Qr((()=>{const{pagination:t}=e;if(t){const{pageCount:e}=t;if(void 0!==e)return e}})),C=Qr((()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return u.value;const t=y.value,n=(_.value-1)*t;return u.value.slice(n,n+t)})),w=Qr((()=>C.value.map((e=>e.rawNode))));function S(t){const{pagination:n}=e;if(n){const{onChange:e,"onUpdate:page":o,onUpdatePage:r}=n;e&&GB(e,t),r&&GB(r,t),o&&GB(o,t),R(t)}}function k(t){const{pagination:n}=e;if(n){const{onPageSizeChange:e,"onUpdate:pageSize":o,onUpdatePageSize:r}=n;e&&GB(e,t),r&&GB(r,t),o&&GB(o,t),F(t)}}const P=Qr((()=>{if(!e.remote)return c.value.length;{const{pagination:t}=e;if(t){const{itemCount:e}=t;if(void 0!==e)return e}}})),T=Qr((()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":S,"onUpdate:pageSize":k,page:_.value,pageSize:y.value,pageCount:void 0===P.value?x.value:void 0,itemCount:P.value})));function R(t){const{"onUpdate:page":n,onPageChange:o,onUpdatePage:r}=e;r&&GB(r,t),n&&GB(n,t),o&&GB(o,t),l.value=t}function F(t){const{"onUpdate:pageSize":n,onPageSizeChange:o,onUpdatePageSize:r}=e;o&&GB(o,t),r&&GB(r,t),n&&GB(n,t),s.value=t}function z(){M({})}function M(e){$(e)}function $(e){e?e&&(a.value=n1(e)):a.value={}}return{treeMateRef:o,mergedCurrentPageRef:_,mergedPaginationRef:T,paginatedDataRef:C,rawPaginatedDataRef:w,mergedFilterStateRef:d,mergedSortStateRef:p,hoverKeyRef:vt(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:function(t,n){const{onUpdateFilters:o,"onUpdate:filters":r,onFiltersChange:i}=e;o&&GB(o,t,n),r&&GB(r,t,n),i&&GB(i,t,n),a.value=t},deriveNextSorter:h,doUpdatePageSize:F,doUpdatePage:R,onUnstableColumnResize:function(t,n,o,r){var a;null===(a=e.onUnstableColumnResize)||void 0===a||a.call(e,t,n,o,r)},filter:$,filters:M,clearFilter:function(){z()},clearFilters:z,clearSorter:m,page:function(e){R(e)},sort:f}}(e,{dataRelatedColsRef:v}),{doCheckAll:L,doUncheckAll:j,doCheck:N,doUncheck:H,headerCheckboxDisabledRef:W,someRowsCheckedRef:V,allRowsCheckedRef:U,mergedCheckedRowKeySetRef:q,mergedInderminateRowKeySetRef:K}=function(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,a=vt(e.defaultCheckedRowKeys),i=Qr((()=>{var t;const{checkedRowKeys:n}=e,i=void 0===n?a.value:n;return!1===(null===(t=r.value)||void 0===t?void 0:t.multiple)?{checkedKeys:i.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(i,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})})),l=Qr((()=>i.value.checkedKeys)),s=Qr((()=>i.value.indeterminateKeys)),d=Qr((()=>new Set(l.value))),c=Qr((()=>new Set(s.value))),u=Qr((()=>{const{value:e}=d;return n.value.reduce(((t,n)=>{const{key:o,disabled:r}=n;return t+(!r&&e.has(o)?1:0)}),0)})),h=Qr((()=>n.value.filter((e=>e.disabled)).length)),p=Qr((()=>{const{length:e}=n.value,{value:t}=c;return u.value>0&&u.valuet.has(e.key)))})),f=Qr((()=>{const{length:e}=n.value;return 0!==u.value&&u.value===e-h.value})),m=Qr((()=>0===n.value.length));function v(t,n,r){const{"onUpdate:checkedRowKeys":i,onUpdateCheckedRowKeys:l,onCheckedRowKeysChange:s}=e,d=[],{value:{getNode:c}}=o;t.forEach((e=>{var t;const n=null===(t=c(e))||void 0===t?void 0:t.rawNode;d.push(n)})),i&&GB(i,t,d,{row:n,action:r}),l&&GB(l,t,d,{row:n,action:r}),s&&GB(s,t,d,{row:n,action:r}),a.value=t}return{mergedCheckedRowKeySetRef:d,mergedCheckedRowKeysRef:l,mergedInderminateRowKeySetRef:c,someRowsCheckedRef:p,allRowsCheckedRef:f,headerCheckboxDisabledRef:m,doUpdateCheckedRowKeys:v,doCheckAll:function(t=!1){const{value:a}=r;if(!a||e.loading)return;const i=[];(t?o.value.treeNodes:n.value).forEach((e=>{e.disabled||i.push(e.key)})),v(o.value.check(i,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")},doUncheckAll:function(t=!1){const{value:a}=r;if(!a||e.loading)return;const i=[];(t?o.value.treeNodes:n.value).forEach((e=>{e.disabled||i.push(e.key)})),v(o.value.uncheck(i,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")},doCheck:function(t,n=!1,r){e.loading||v(n?Array.isArray(t)?t.slice(0,1):[t]:o.value.check(t,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,r,"check")},doUncheck:function(t,n){e.loading||v(o.value.uncheck(t,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,n,"uncheck")}}}(e,{selectionColumnRef:C,treeMateRef:b,paginatedDataRef:_}),{stickyExpandedRowsRef:Y,mergedExpandedRowKeysRef:G,renderExpandRef:X,expandableRef:Z,doUpdateExpandedRowKeys:Q}=function(e,t){const n=oD((()=>{for(const t of e.columns)if("expand"===t.type)return t.renderExpand})),o=oD((()=>{let t;for(const n of e.columns)if("expand"===n.type){t=n.expandable;break}return t})),r=vt(e.defaultExpandAll?(null==n?void 0:n.value)?(()=>{const e=[];return t.value.treeNodes.forEach((t=>{var n;(null===(n=o.value)||void 0===n?void 0:n.call(o,t.rawNode))&&e.push(t.key)})),e})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),a=Ft(e,"expandedRowKeys");return{stickyExpandedRowsRef:Ft(e,"stickyExpandedRows"),mergedExpandedRowKeysRef:xD(a,r),renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:function(t){const{onUpdateExpandedRowKeys:n,"onUpdate:expandedRowKeys":o}=e;n&&GB(n,t),o&&GB(o,t),r.value=t}}}(e,b),{handleTableBodyScroll:J,handleTableHeaderScroll:ee,syncScrollState:te,setHeaderScrollLeft:ne,leftActiveFixedColKeyRef:oe,leftActiveFixedChildrenColKeysRef:re,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:ie,leftFixedColumnsRef:le,rightFixedColumnsRef:se,fixedColumnLeftMapRef:de,fixedColumnRightMapRef:ce}=f0(e,{bodyWidthRef:d,mainTableInstRef:c,mergedCurrentPageRef:y}),{localeRef:ue}=AW("DataTable"),he=Qr((()=>e.virtualScroll||e.flexHeight||void 0!==e.maxHeight||g.value?"fixed":e.tableLayout));To(JJ,{props:e,treeMateRef:b,renderExpandIconRef:Ft(e,"renderExpandIcon"),loadingKeySetRef:vt(new Set),slots:t,indentRef:Ft(e,"indent"),childTriggerColIndexRef:T,bodyWidthRef:d,componentId:GO(),hoverKeyRef:w,mergedClsPrefixRef:o,mergedThemeRef:s,scrollXRef:Qr((()=>e.scrollX)),rowsRef:f,colsRef:m,paginatedDataRef:_,leftActiveFixedColKeyRef:oe,leftActiveFixedChildrenColKeysRef:re,rightActiveFixedColKeyRef:ae,rightActiveFixedChildrenColKeysRef:ie,leftFixedColumnsRef:le,rightFixedColumnsRef:se,fixedColumnLeftMapRef:de,fixedColumnRightMapRef:ce,mergedCurrentPageRef:y,someRowsCheckedRef:V,allRowsCheckedRef:U,mergedSortStateRef:P,mergedFilterStateRef:k,loadingRef:Ft(e,"loading"),rowClassNameRef:Ft(e,"rowClassName"),mergedCheckedRowKeySetRef:q,mergedExpandedRowKeysRef:G,mergedInderminateRowKeySetRef:K,localeRef:ue,expandableRef:Z,stickyExpandedRowsRef:Y,rowKeyRef:Ft(e,"rowKey"),renderExpandRef:X,summaryRef:Ft(e,"summary"),virtualScrollRef:Ft(e,"virtualScroll"),virtualScrollXRef:Ft(e,"virtualScrollX"),heightForRowRef:Ft(e,"heightForRow"),minRowHeightRef:Ft(e,"minRowHeight"),virtualScrollHeaderRef:Ft(e,"virtualScrollHeader"),headerHeightRef:Ft(e,"headerHeight"),rowPropsRef:Ft(e,"rowProps"),stripedRef:Ft(e,"striped"),checkOptionsRef:Qr((()=>{const{value:e}=C;return null==e?void 0:e.options})),rawPaginatedDataRef:x,filterMenuCssVarsRef:Qr((()=>{const{self:{actionDividerColor:e,actionPadding:t,actionButtonMargin:n}}=s.value;return{"--n-action-padding":t,"--n-action-button-margin":n,"--n-action-divider-color":e}})),onLoadRef:Ft(e,"onLoad"),mergedTableLayoutRef:he,maxHeightRef:Ft(e,"maxHeight"),minHeightRef:Ft(e,"minHeight"),flexHeightRef:Ft(e,"flexHeight"),headerCheckboxDisabledRef:W,paginationBehaviorOnFilterRef:Ft(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ft(e,"summaryPlacement"),filterIconPopoverPropsRef:Ft(e,"filterIconPopoverProps"),scrollbarPropsRef:Ft(e,"scrollbarProps"),syncScrollState:te,doUpdatePage:R,doUpdateFilters:F,getResizableWidth:u,onUnstableColumnResize:z,clearResizableWidth:h,doUpdateResizableWidth:p,deriveNextSorter:M,doCheck:N,doUncheck:H,doCheckAll:L,doUncheckAll:j,doUpdateExpandedRowKeys:Q,handleTableHeaderScroll:ee,handleTableBodyScroll:J,setHeaderScrollLeft:ne,renderCell:Ft(e,"renderCell")});const pe={filter:$,filters:A,clearFilters:D,clearSorter:I,page:B,sort:E,clearFilter:O,downloadCsv:t=>{const{fileName:n="data.csv",keepOriginalData:o=!1}=t||{},r=o?e.data:x.value,a=function(e,t,n,o){const r=e.filter((e=>"expand"!==e.type&&"selection"!==e.type&&!1!==e.allowExport));return[r.map((e=>o?o(e):e.title)).join(","),...t.map((e=>r.map((t=>{return n?n(e[t.key],e,t):"string"==typeof(o=e[t.key])?o.replace(/,/g,"\\,"):null==o?"":`${o}`.replace(/,/g,"\\,");var o})).join(",")))].join("\n")}(e.columns,r,e.getCsvCell,e.getCsvHeader),i=new Blob([a],{type:"text/csv;charset=utf-8"}),l=URL.createObjectURL(i);NB(l,n.endsWith(".csv")?n:`${n}.csv`),URL.revokeObjectURL(l)},scrollTo:(e,t)=>{var n;null===(n=c.value)||void 0===n||n.scrollTo(e,t)}},fe=Qr((()=>{const{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{borderColor:o,tdColorHover:r,tdColorSorting:a,tdColorSortingModal:i,tdColorSortingPopover:l,thColorSorting:d,thColorSortingModal:c,thColorSortingPopover:u,thColor:h,thColorHover:p,tdColor:f,tdTextColor:m,thTextColor:v,thFontWeight:g,thButtonColorHover:b,thIconColor:y,thIconColorActive:_,filterSize:x,borderRadius:C,lineHeight:w,tdColorModal:S,thColorModal:k,borderColorModal:P,thColorHoverModal:T,tdColorHoverModal:R,borderColorPopover:F,thColorPopover:z,tdColorPopover:M,tdColorHoverPopover:$,thColorHoverPopover:A,paginationMargin:O,emptyPadding:D,boxShadowAfter:I,boxShadowBefore:B,sorterSize:E,resizableContainerSize:L,resizableSize:j,loadingColor:N,loadingSize:H,opacityLoading:W,tdColorStriped:V,tdColorStripedModal:U,tdColorStripedPopover:q,[KA("fontSize",t)]:K,[KA("thPadding",t)]:Y,[KA("tdPadding",t)]:G}}=s.value;return{"--n-font-size":K,"--n-th-padding":Y,"--n-td-padding":G,"--n-bezier":n,"--n-border-radius":C,"--n-line-height":w,"--n-border-color":o,"--n-border-color-modal":P,"--n-border-color-popover":F,"--n-th-color":h,"--n-th-color-hover":p,"--n-th-color-modal":k,"--n-th-color-hover-modal":T,"--n-th-color-popover":z,"--n-th-color-hover-popover":A,"--n-td-color":f,"--n-td-color-hover":r,"--n-td-color-modal":S,"--n-td-color-hover-modal":R,"--n-td-color-popover":M,"--n-td-color-hover-popover":$,"--n-th-text-color":v,"--n-td-text-color":m,"--n-th-font-weight":g,"--n-th-button-color-hover":b,"--n-th-icon-color":y,"--n-th-icon-color-active":_,"--n-filter-size":x,"--n-pagination-margin":O,"--n-empty-padding":D,"--n-box-shadow-before":B,"--n-box-shadow-after":I,"--n-sorter-size":E,"--n-resizable-container-size":L,"--n-resizable-size":j,"--n-loading-size":H,"--n-loading-color":N,"--n-opacity-loading":W,"--n-td-color-striped":V,"--n-td-color-striped-modal":U,"--n-td-color-striped-popover":q,"n-td-color-sorting":a,"n-td-color-sorting-modal":i,"n-td-color-sorting-popover":l,"n-th-color-sorting":d,"n-th-color-sorting-modal":c,"n-th-color-sorting-popover":u}})),me=r?vE("data-table",Qr((()=>e.size[0])),fe,e):void 0,ve=Qr((()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const t=S.value,{pageCount:n}=t;return void 0!==n?n>1:t.itemCount&&t.pageSize&&t.itemCount>t.pageSize}));return Object.assign({mainTableInstRef:c,mergedClsPrefix:o,rtlEnabled:i,mergedTheme:s,paginatedData:_,mergedBordered:n,mergedBottomBordered:l,mergedPagination:S,mergedShowPagination:ve,cssVars:r?void 0:fe,themeClass:null==me?void 0:me.themeClass,onRender:null==me?void 0:me.onRender},pe)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return null==n||n(),Jr("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},Jr("div",{class:`${e}-data-table-wrapper`},Jr(c0,{ref:"mainTableInstRef"})),this.mergedShowPagination?Jr("div",{class:`${e}-data-table__pagination`},Jr(DJ,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,Jr(ha,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?Jr("div",{class:`${e}-data-table-loading-wrapper`},lE(o.loading,(()=>[Jr(NV,Object.assign({clsPrefix:e,strokeWidth:20},r))]))):null}))}}),b0={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function y0(e){const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:a,opacityDisabled:i,boxShadow2:l,borderRadius:s,iconColor:d,iconColorDisabled:c}=e;return Object.assign(Object.assign({},b0),{panelColor:t,panelBoxShadow:l,panelDividerColor:a,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:i,itemBorderRadius:s,borderRadius:s,iconColor:d,iconColorDisabled:c})}const _0={name:"TimePicker",common:Eq,peers:{Scrollbar:Nq,Button:xG,Input:zY},self:y0},x0={name:"TimePicker",common:KU,peers:{Scrollbar:Hq,Button:CG,Input:FY},self:y0},C0={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"};function w0(e){const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:a,primaryColor:i,borderRadiusSmall:l,iconColor:s,iconColorDisabled:d,textColor1:c,dividerColor:u,boxShadow2:h,borderRadius:p,fontWeightStrong:f}=e;return Object.assign(Object.assign({},C0),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:a,itemTextColorCurrent:i,itemColorIncluded:DO(i,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:i,itemBorderRadius:l,panelColor:a,panelTextColor:o,arrowColor:s,calendarTitleTextColor:c,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:u,calendarDaysDividerColor:u,calendarDividerColor:u,panelActionDividerColor:u,panelBoxShadow:h,panelBorderRadius:p,calendarTitleFontWeight:f,scrollItemBorderRadius:p,iconColor:s,iconColorDisabled:d})}const S0={name:"DatePicker",common:Eq,peers:{Input:zY,Button:xG,TimePicker:_0,Scrollbar:Nq},self:w0},k0={name:"DatePicker",common:KU,peers:{Input:FY,Button:CG,TimePicker:x0,Scrollbar:Hq},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=w0(e);return r.itemColorDisabled=OO(t,n),r.itemColorIncluded=DO(o,{alpha:.15}),r.itemColorHover=OO(t,n),r}},P0="n-date-picker",T0=40,R0={active:Boolean,dateFormat:String,calendarDayFormat:String,calendarHeaderYearFormat:String,calendarHeaderMonthFormat:String,calendarHeaderMonthYearSeparator:{type:String,required:!0},calendarHeaderMonthBeforeYear:{type:Boolean,default:void 0},timerPickerFormat:{type:String,value:"HH:mm:ss"},value:{type:[Array,Number],default:null},shortcuts:Object,defaultTime:[Number,String,Array],inputReadonly:Boolean,onClear:Function,onConfirm:Function,onClose:Function,onTabOut:Function,onKeydown:Function,actions:Array,onUpdateValue:{type:Function,required:!0},themeClass:String,onRender:Function,panel:Boolean,onNextMonth:Function,onPrevMonth:Function,onNextYear:Function,onPrevYear:Function};function F0(e){const{dateLocaleRef:t,timePickerSizeRef:n,timePickerPropsRef:o,localeRef:r,mergedClsPrefixRef:a,mergedThemeRef:i}=Ro(P0),l=Qr((()=>({locale:t.value.locale}))),s=vt(null),d=TD();function c(t,n){const{onUpdateValue:o}=e;o(t,n)}function u(t=!1){const{onClose:n}=e;n&&n(t)}function h(){const{onTabOut:t}=e;t&&t()}let p=null,f=!1;function m(){f&&(c(p,!1),f=!1)}const v=vt(!1);return{mergedTheme:i,mergedClsPrefix:a,dateFnsOptions:l,timePickerSize:n,timePickerProps:o,selfRef:s,locale:r,doConfirm:function(){const{onConfirm:t,value:n}=e;t&&t(n)},doClose:u,doUpdateValue:c,doTabOut:h,handleClearClick:function(){c(null,!0),u(!0),function(){const{onClear:t}=e;t&&t()}()},handleFocusDetectorFocus:function(){h()},disableTransitionOneTick:function(){(e.active||e.panel)&&Kt((()=>{const{value:e}=s;if(!e)return;const t=e.querySelectorAll("[data-n-date]");t.forEach((e=>{e.classList.add("transition-disabled")})),e.offsetWidth,t.forEach((e=>{e.classList.remove("transition-disabled")}))}))},handlePanelKeyDown:function(e){"Tab"===e.key&&e.target===s.value&&d.shift&&(e.preventDefault(),h())},handlePanelFocus:function(e){const{value:t}=s;d.tab&&e.target===t&&(null==t?void 0:t.contains(e.relatedTarget))&&h()},cachePendingValue:function(){p=e.value,f=!0},clearPendingValue:function(){f=!1},restorePendingValue:m,getShortcutValue:function(e){return"function"==typeof e?e():e},handleShortcutMouseleave:m,showMonthYearPanel:v,handleOpenQuickSelectMonthPanel:function(){v.value=!v.value}}}const z0=Object.assign(Object.assign({},R0),{defaultCalendarStartTime:Number,actions:{type:Array,default:()=>["now","clear","confirm"]}});function M0(e,t){var n;const o=F0(e),{isValueInvalidRef:r,isDateDisabledRef:a,isDateInvalidRef:i,isTimeInvalidRef:l,isDateTimeInvalidRef:s,isHourDisabledRef:d,isMinuteDisabledRef:c,isSecondDisabledRef:u,localeRef:h,firstDayOfWeekRef:p,datePickerSlots:f,yearFormatRef:m,monthFormatRef:v,quarterFormatRef:g,yearRangeRef:b}=Ro(P0),y={isValueInvalid:r,isDateDisabled:a,isDateInvalid:i,isTimeInvalid:l,isDateTimeInvalid:s,isHourDisabled:d,isMinuteDisabled:c,isSecondDisabled:u},_=Qr((()=>e.dateFormat||h.value.dateFormat)),x=Qr((()=>e.calendarDayFormat||h.value.dayFormat)),C=vt(null===e.value||Array.isArray(e.value)?"":CX(e.value,_.value)),w=vt(null===e.value||Array.isArray(e.value)?null!==(n=e.defaultCalendarStartTime)&&void 0!==n?n:Date.now():e.value),S=vt(null),k=vt(null),P=vt(null),T=vt(Date.now()),R=Qr((()=>{var n;return UZ(w.value,e.value,T.value,null!==(n=p.value)&&void 0!==n?n:h.value.firstDayOfWeek,!1,"week"===t)})),F=Qr((()=>{const{value:t}=e;return qZ(w.value,Array.isArray(t)?null:t,T.value,{monthFormat:v.value})})),z=Qr((()=>{const{value:t}=e;return YZ(Array.isArray(t)?null:t,T.value,{yearFormat:m.value},b)})),M=Qr((()=>{const{value:t}=e;return KZ(w.value,Array.isArray(t)?null:t,T.value,{quarterFormat:g.value})})),$=Qr((()=>R.value.slice(0,7).map((e=>{const{ts:t}=e;return CX(t,x.value,o.dateFnsOptions.value)})))),A=Qr((()=>CX(w.value,e.calendarHeaderMonthFormat||h.value.monthFormat,o.dateFnsOptions.value))),O=Qr((()=>CX(w.value,e.calendarHeaderYearFormat||h.value.yearFormat,o.dateFnsOptions.value))),D=Qr((()=>{var t;return null!==(t=e.calendarHeaderMonthBeforeYear)&&void 0!==t?t:h.value.monthBeforeYear}));function I(e){var n;if("datetime"===t)return zX(RZ(e));if("month"===t)return zX(VG(e));if("year"===t)return zX(UG(e));if("quarter"===t)return zX(WG(e));if("week"===t){return zX($E(e,{weekStartsOn:((null!==(n=p.value)&&void 0!==n?n:h.value.firstDayOfWeek)+1)%7}))}return zX(EG(e))}function B(e,t){const{isDateDisabled:{value:n}}=y;return!!n&&n(e,t)}er(w,((e,n)=>{"date"!==t&&"datetime"!==t||PZ(e,n)||o.disableTransitionOneTick()})),er(Qr((()=>e.value)),(e=>{null===e||Array.isArray(e)?C.value="":(C.value=CX(e,_.value,o.dateFnsOptions.value),w.value=e)}));const E=vt(null);function L(){y.isDateInvalid.value||y.isTimeInvalid.value||(o.doConfirm(),e.active&&o.doClose())}function j(t){const{value:n}=e;if(P.value){const e=RX(void 0===t?null===n?Date.now():n:t);P.value.scrollTo({top:e*T0})}if(S.value){const e=MX(void 0===t?null===n?Date.now():n:t)-b.value[0];S.value.scrollTo({top:e*T0})}}const N={monthScrollbarRef:P,yearScrollbarRef:k,yearVlRef:S};return Object.assign(Object.assign(Object.assign(Object.assign({dateArray:R,monthArray:F,yearArray:z,quarterArray:M,calendarYear:O,calendarMonth:A,weekdays:$,calendarMonthBeforeYear:D,mergedIsDateDisabled:B,nextYear:function(){var t;w.value=zX(jG(w.value,1)),null===(t=e.onNextYear)||void 0===t||t.call(e)},prevYear:function(){var t;w.value=zX(jG(w.value,-1)),null===(t=e.onPrevYear)||void 0===t||t.call(e)},nextMonth:function(){var t;w.value=zX(OG(w.value,1)),null===(t=e.onNextMonth)||void 0===t||t.call(e)},prevMonth:function(){var t;w.value=zX(OG(w.value,-1)),null===(t=e.onPrevMonth)||void 0===t||t.call(e)},handleNowClick:function(){o.doUpdateValue(zX(I(Date.now())),!0);const n=Date.now();w.value=n,o.doClose(!0),!e.panel||"month"!==t&&"quarter"!==t&&"year"!==t||(o.disableTransitionOneTick(),j(n))},handleConfirmClick:L,handleSingleShortcutMouseenter:function(e){o.cachePendingValue();const t=o.getShortcutValue(e);"number"==typeof t&&o.doUpdateValue(t,!1)},handleSingleShortcutClick:function(t){const n=o.getShortcutValue(t);"number"==typeof n&&(o.doUpdateValue(n,e.panel),o.clearPendingValue(),L())}},y),o),N),{handleDateClick:function(n){if(B(n.ts,"date"===n.type?{type:"date",year:n.dateObject.year,month:n.dateObject.month,date:n.dateObject.date}:"month"===n.type?{type:"month",year:n.dateObject.year,month:n.dateObject.month}:"year"===n.type?{type:"year",year:n.dateObject.year}:{type:"quarter",year:n.dateObject.year,quarter:n.dateObject.quarter}))return;let r;if(r=null===e.value||Array.isArray(e.value)?Date.now():e.value,"datetime"===t&&null!==e.defaultTime&&!Array.isArray(e.defaultTime)){const t=XZ(e.defaultTime);t&&(r=zX(MZ(r,t)))}switch(r=zX("quarter"===n.type&&n.dateObject.quarter?function(e,t){const n=FE(e),o=t-(Math.trunc(n.getMonth()/3)+1);return zZ(n,n.getMonth()+3*o)}(DZ(r,n.dateObject.year),n.dateObject.quarter):MZ(r,n.dateObject)),o.doUpdateValue(I(r),e.panel||"date"===t||"week"===t||"year"===t),t){case"date":case"week":o.doClose();break;case"year":e.panel&&o.disableTransitionOneTick(),o.doClose();break;case"month":case"quarter":o.disableTransitionOneTick(),j(r)}},handleDateInputBlur:function(){const t=GZ(C.value,_.value,new Date,o.dateFnsOptions.value);if(NG(t)){if(null===e.value)o.doUpdateValue(zX(I(Date.now())),!1);else if(!Array.isArray(e.value)){const n=MZ(e.value,{year:MX(t),month:RX(t),date:SX(t)});o.doUpdateValue(zX(I(zX(n))),!1)}}else!function(t){if(null===e.value||Array.isArray(e.value))return void(C.value="");void 0===t&&(t=e.value);C.value=CX(t,_.value,o.dateFnsOptions.value)}()},handleDateInput:function(t){const n=GZ(t,_.value,new Date,o.dateFnsOptions.value);if(NG(n)){if(null===e.value)o.doUpdateValue(zX(I(Date.now())),e.panel);else if(!Array.isArray(e.value)){const t=MZ(e.value,{year:MX(n),month:RX(n),date:SX(n)});o.doUpdateValue(zX(I(zX(t))),e.panel)}}else C.value=t},handleDateMouseEnter:function(e){"date"===e.type&&"week"===t&&(E.value=I(zX(e.ts)))},isWeekHovered:function(e){return"date"===e.type&&"week"===t&&I(zX(e.ts))===E.value},handleTimePickerChange:function(t){null!==t&&o.doUpdateValue(t,e.panel)},clearSelectedDateTime:function(){o.doUpdateValue(null,!0),C.value="",o.doClose(!0),o.handleClearClick()},virtualListContainer:function(){const{value:e}=S;return(null==e?void 0:e.listElRef)||null},virtualListContent:function(){const{value:e}=S;return(null==e?void 0:e.itemsElRef)||null},handleVirtualListScroll:function(){var e;null===(e=k.value)||void 0===e||e.sync()},timePickerSize:o.timePickerSize,dateInputValue:C,datePickerSlots:f,handleQuickMonthClick:function(t,n){let o;o=null===e.value||Array.isArray(e.value)?Date.now():e.value,o=zX("month"===t.type?zZ(o,t.dateObject.month):DZ(o,t.dateObject.year)),n(o),j(o)},justifyColumnsScrollState:j,calendarValue:w,onUpdateCalendarValue:function(e){w.value=e}})}const $0=$n({name:"MonthPanel",props:Object.assign(Object.assign({},z0),{type:{type:String,required:!0},useAsQuickJump:Boolean}),setup(e){const t=M0(e,e.type),{dateLocaleRef:n}=AW("DatePicker"),{useAsQuickJump:o}=e;return Kn((()=>{t.justifyColumnsScrollState()})),Object.assign(Object.assign({},t),{renderItem:(r,a,i)=>{const{mergedIsDateDisabled:l,handleDateClick:s,handleQuickMonthClick:d}=t;return Jr("div",{"data-n-date":!0,key:a,class:[`${i}-date-panel-month-calendar__picker-col-item`,r.isCurrent&&`${i}-date-panel-month-calendar__picker-col-item--current`,r.selected&&`${i}-date-panel-month-calendar__picker-col-item--selected`,!o&&l(r.ts,"year"===r.type?{type:"year",year:r.dateObject.year}:"month"===r.type?{type:"month",year:r.dateObject.year,month:r.dateObject.month}:"quarter"===r.type?{type:"month",year:r.dateObject.year,month:r.dateObject.quarter}:null)&&`${i}-date-panel-month-calendar__picker-col-item--disabled`],onClick:()=>{o?d(r,(t=>{e.onUpdateValue(t,!1)})):s(r)}},(e=>{switch(e.type){case"year":return jZ(e.dateObject.year,e.yearFormat,n.value.locale);case"month":return LZ(e.dateObject.month,e.monthFormat,n.value.locale);case"quarter":return NZ(e.dateObject.quarter,e.quarterFormat,n.value.locale)}})(r))}})},render(){const{mergedClsPrefix:e,mergedTheme:t,shortcuts:n,actions:o,renderItem:r,type:a,onRender:i}=this;return null==i||i(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${e}-date-panel`,`${e}-date-panel--month`,!this.panel&&`${e}-date-panel--shadow`,this.themeClass],onFocus:this.handlePanelFocus,onKeydown:this.handlePanelKeyDown},Jr("div",{class:`${e}-date-panel-month-calendar`},Jr(Vq,{ref:"yearScrollbarRef",class:`${e}-date-panel-month-calendar__picker-col`,theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar,container:this.virtualListContainer,content:this.virtualListContent,horizontalRailStyle:{zIndex:1},verticalRailStyle:{zIndex:1}},{default:()=>Jr(kB,{ref:"yearVlRef",items:this.yearArray,itemSize:T0,showScrollbar:!1,keyField:"ts",onScroll:this.handleVirtualListScroll,paddingBottom:4},{default:({item:t,index:n})=>r(t,n,e)})}),"month"===a||"quarter"===a?Jr("div",{class:`${e}-date-panel-month-calendar__picker-col`},Jr(Vq,{ref:"monthScrollbarRef",theme:t.peers.Scrollbar,themeOverrides:t.peerOverrides.Scrollbar},{default:()=>[("month"===a?this.monthArray:this.quarterArray).map(((t,n)=>r(t,n,e))),Jr("div",{class:`${e}-date-panel-${a}-calendar__padding`})]})):null),dE(this.datePickerSlots.footer,(t=>t?Jr("div",{class:`${e}-date-panel-footer`},t):null)),(null==o?void 0:o.length)||n?Jr("div",{class:`${e}-date-panel-actions`},Jr("div",{class:`${e}-date-panel-actions__prefix`},n&&Object.keys(n).map((e=>{const t=n[e];return Array.isArray(t)?null:Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleSingleShortcutMouseenter(t)},onClick:()=>{this.handleSingleShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e})}))),Jr("div",{class:`${e}-date-panel-actions__suffix`},(null==o?void 0:o.includes("clear"))?sE(this.datePickerSlots.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null==o?void 0:o.includes("now"))?sE(this.datePickerSlots.now,{onNow:this.handleNowClick,text:this.locale.now},(()=>[Jr(SG,{theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,size:"tiny",onClick:this.handleNowClick},{default:()=>this.locale.now})])):null,(null==o?void 0:o.includes("confirm"))?sE(this.datePickerSlots.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isDateInvalid,text:this.locale.confirm},(()=>[Jr(SG,{theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isDateInvalid,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),A0=$n({props:{mergedClsPrefix:{type:String,required:!0},value:Number,monthBeforeYear:{type:Boolean,required:!0},monthYearSeparator:{type:String,required:!0},calendarMonth:{type:String,required:!0},calendarYear:{type:String,required:!0},onUpdateValue:{type:Function,required:!0}},setup(){const e=vt(null),t=vt(null),n=vt(!1);return{show:n,triggerRef:e,monthPanelRef:t,handleHeaderClick:function(){n.value=!n.value},handleClickOutside:function(t){var o;n.value&&!(null===(o=e.value)||void 0===o?void 0:o.contains(JA(t)))&&(n.value=!1)}}},render(){const{handleClickOutside:e,mergedClsPrefix:t}=this;return Jr("div",{class:`${t}-date-panel-month__month-year`,ref:"triggerRef"},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{class:[`${t}-date-panel-month__text`,this.show&&`${t}-date-panel-month__text--active`],onClick:this.handleHeaderClick},this.monthBeforeYear?[this.calendarMonth,this.monthYearSeparator,this.calendarYear]:[this.calendarYear,this.monthYearSeparator,this.calendarMonth])}),Jr(FI,{show:this.show,teleportDisabled:!0},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:!0},{default:()=>this.show?on(Jr($0,{ref:"monthPanelRef",onUpdateValue:this.onUpdateValue,actions:[],calendarHeaderMonthYearSeparator:this.monthYearSeparator,type:"month",key:"month",useAsQuickJump:!0,value:this.value}),[[sI,e,void 0,{capture:!0}]]):null})})]}))}}),O0=$n({name:"DatePanel",props:Object.assign(Object.assign({},z0),{type:{type:String,required:!0}}),setup:e=>M0(e,e.type),render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,onRender:i,datePickerSlots:l,type:s}=this;return null==i||i(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--${s}`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onFocus:this.handlePanelFocus,onKeydown:this.handlePanelKeyDown},Jr("div",{class:`${o}-date-panel-calendar`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.prevYear},lE(l["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.prevMonth},lE(l["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.calendarValue,onUpdateValue:this.onUpdateCalendarValue,mergedClsPrefix:o,calendarMonth:this.calendarMonth,calendarYear:this.calendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.nextMonth},lE(l["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.nextYear},lE(l["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel-dates`},this.dateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts,{type:"date",year:e.dateObject.year,month:e.dateObject.month,date:e.dateObject.date}),[`${o}-date-panel-date--week-hovered`]:this.isWeekHovered(e),[`${o}-date-panel-date--week-selected`]:e.inSelectedWeek}],onClick:()=>{this.handleDateClick(e)},onMouseenter:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null))))),this.datePickerSlots.footer?Jr("div",{class:`${o}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)?null:Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleSingleShortcutMouseenter(t)},onClick:()=>{this.handleSingleShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e})}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(this.$slots.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("now"))?sE(this.$slots.now,{onNow:this.handleNowClick,text:this.locale.now},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleNowClick},{default:()=>this.locale.now})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),D0=Object.assign(Object.assign({},R0),{defaultCalendarStartTime:Number,defaultCalendarEndTime:Number,bindCalendarMonths:Boolean,actions:{type:Array,default:()=>["clear","confirm"]}});function I0(e,t){var n,o;const{isDateDisabledRef:r,isStartHourDisabledRef:a,isEndHourDisabledRef:i,isStartMinuteDisabledRef:l,isEndMinuteDisabledRef:s,isStartSecondDisabledRef:d,isEndSecondDisabledRef:c,isStartDateInvalidRef:u,isEndDateInvalidRef:h,isStartTimeInvalidRef:p,isEndTimeInvalidRef:f,isStartValueInvalidRef:m,isEndValueInvalidRef:v,isRangeInvalidRef:g,localeRef:b,rangesRef:y,closeOnSelectRef:_,updateValueOnCloseRef:x,firstDayOfWeekRef:C,datePickerSlots:w,monthFormatRef:S,yearFormatRef:k,quarterFormatRef:P,yearRangeRef:T}=Ro(P0),R={isDateDisabled:r,isStartHourDisabled:a,isEndHourDisabled:i,isStartMinuteDisabled:l,isEndMinuteDisabled:s,isStartSecondDisabled:d,isEndSecondDisabled:c,isStartDateInvalid:u,isEndDateInvalid:h,isStartTimeInvalid:p,isEndTimeInvalid:f,isStartValueInvalid:m,isEndValueInvalid:v,isRangeInvalid:g},F=F0(e),z=vt(null),M=vt(null),$=vt(null),A=vt(null),O=vt(null),D=vt(null),I=vt(null),B=vt(null),{value:E}=e,L=null!==(n=e.defaultCalendarStartTime)&&void 0!==n?n:Array.isArray(E)&&"number"==typeof E[0]?E[0]:Date.now(),j=vt(L),N=vt(null!==(o=e.defaultCalendarEndTime)&&void 0!==o?o:Array.isArray(E)&&"number"==typeof E[1]?E[1]:zX(OG(L,1)));fe(!0);const H=vt(Date.now()),W=vt(!1),V=vt(0),U=Qr((()=>e.dateFormat||b.value.dateFormat)),q=Qr((()=>e.calendarDayFormat||b.value.dayFormat)),K=vt(Array.isArray(E)?CX(E[0],U.value,F.dateFnsOptions.value):""),Y=vt(Array.isArray(E)?CX(E[1],U.value,F.dateFnsOptions.value):""),G=Qr((()=>W.value?"end":"start")),X=Qr((()=>{var t;return UZ(j.value,e.value,H.value,null!==(t=C.value)&&void 0!==t?t:b.value.firstDayOfWeek)})),Z=Qr((()=>{var t;return UZ(N.value,e.value,H.value,null!==(t=C.value)&&void 0!==t?t:b.value.firstDayOfWeek)})),Q=Qr((()=>X.value.slice(0,7).map((e=>{const{ts:t}=e;return CX(t,q.value,F.dateFnsOptions.value)})))),J=Qr((()=>CX(j.value,e.calendarHeaderMonthFormat||b.value.monthFormat,F.dateFnsOptions.value))),ee=Qr((()=>CX(N.value,e.calendarHeaderMonthFormat||b.value.monthFormat,F.dateFnsOptions.value))),te=Qr((()=>CX(j.value,e.calendarHeaderYearFormat||b.value.yearFormat,F.dateFnsOptions.value))),ne=Qr((()=>CX(N.value,e.calendarHeaderYearFormat||b.value.yearFormat,F.dateFnsOptions.value))),oe=Qr((()=>{const{value:t}=e;return Array.isArray(t)?t[0]:null})),re=Qr((()=>{const{value:t}=e;return Array.isArray(t)?t[1]:null})),ae=Qr((()=>{const{shortcuts:t}=e;return t||y.value})),ie=Qr((()=>YZ(ZZ(e.value,"start"),H.value,{yearFormat:k.value},T))),le=Qr((()=>YZ(ZZ(e.value,"end"),H.value,{yearFormat:k.value},T))),se=Qr((()=>{const t=ZZ(e.value,"start");return KZ(null!=t?t:Date.now(),t,H.value,{quarterFormat:P.value})})),de=Qr((()=>{const t=ZZ(e.value,"end");return KZ(null!=t?t:Date.now(),t,H.value,{quarterFormat:P.value})})),ce=Qr((()=>{const t=ZZ(e.value,"start");return qZ(null!=t?t:Date.now(),t,H.value,{monthFormat:S.value})})),ue=Qr((()=>{const t=ZZ(e.value,"end");return qZ(null!=t?t:Date.now(),t,H.value,{monthFormat:S.value})})),he=Qr((()=>{var t;return null!==(t=e.calendarHeaderMonthBeforeYear)&&void 0!==t?t:b.value.monthBeforeYear}));function pe(e,n){"daterange"!==t&&"datetimerange"!==t||MX(e)===MX(n)&&RX(e)===RX(n)||F.disableTransitionOneTick()}function fe(t){const n=VG(j.value),o=VG(N.value);(e.bindCalendarMonths||n>=o)&&(t?N.value=zX(OG(n,1)):j.value=zX(OG(o,-1)))}function me(t){const n=r.value;if(!n)return!1;if(!Array.isArray(e.value))return n(t,"start",null);if("start"===G.value)return n(t,"start",null);{const{value:e}=V;return te.value)),(e=>{if(null!==e&&Array.isArray(e)){const[t,n]=e;K.value=CX(t,U.value,F.dateFnsOptions.value),Y.value=CX(n,U.value,F.dateFnsOptions.value),W.value||function(e){if(null===e)return;const[t,n]=e;j.value=t,VG(n)<=VG(t)?N.value=zX(VG(OG(t,1))):N.value=zX(VG(n))}(e)}else K.value="",Y.value=""})),er(j,pe),er(N,pe);const Se={startYearVlRef:O,endYearVlRef:D,startMonthScrollbarRef:I,endMonthScrollbarRef:B,startYearScrollbarRef:$,endYearScrollbarRef:A};return Object.assign(Object.assign(Object.assign(Object.assign({startDatesElRef:z,endDatesElRef:M,handleDateClick:function(n){if(W.value){W.value=!1;const{value:n}=e;e.panel&&Array.isArray(n)?_e(n[0],n[1],"done"):_.value&&"daterange"===t&&(x.value?ge():ve())}else W.value=!0,V.value=n.ts,_e(n.ts,n.ts,"done")},handleColItemClick:function(n,o){const{value:r}=e,a=!Array.isArray(r),i="year"===n.type&&"yearrange"!==t?a?MZ(n.ts,{month:RX("quarterrange"===t?WG(new Date):new Date)}).valueOf():MZ(n.ts,{month:RX("quarterrange"===t?WG(r["start"===o?0:1]):r["start"===o?0:1])}).valueOf():n.ts;if(a){const t=xe(i),n=[t,t];return F.doUpdateValue(n,e.panel),we(n,"start"),we(n,"end"),void F.disableTransitionOneTick()}const l=[r[0],r[1]];let s=!1;switch("start"===o?(l[0]=xe(i),l[0]>l[1]&&(l[1]=l[0],s=!0)):(l[1]=xe(i),l[0]>l[1]&&(l[0]=l[1],s=!0)),F.doUpdateValue(l,e.panel),t){case"monthrange":case"quarterrange":F.disableTransitionOneTick(),s?(we(l,"start"),we(l,"end")):we(l,o);break;case"yearrange":F.disableTransitionOneTick(),we(l,"start"),we(l,"end")}},handleDateMouseEnter:function(e){if(W.value){if(me(e.ts))return;e.ts>=V.value?_e(V.value,e.ts,"wipPreview"):_e(e.ts,V.value,"wipPreview")}},handleConfirmClick:ve,startCalendarPrevYear:function(){j.value=zX(OG(j.value,-12)),fe(!0)},startCalendarPrevMonth:function(){j.value=zX(OG(j.value,-1)),fe(!0)},startCalendarNextYear:function(){j.value=zX(OG(j.value,12)),fe(!0)},startCalendarNextMonth:function(){j.value=zX(OG(j.value,1)),fe(!0)},endCalendarPrevYear:function(){N.value=zX(OG(N.value,-12)),fe(!1)},endCalendarPrevMonth:function(){N.value=zX(OG(N.value,-1)),fe(!1)},endCalendarNextMonth:function(){N.value=zX(OG(N.value,1)),fe(!1)},endCalendarNextYear:function(){N.value=zX(OG(N.value,12)),fe(!1)},mergedIsDateDisabled:me,changeStartEndTime:_e,ranges:y,calendarMonthBeforeYear:he,startCalendarMonth:J,startCalendarYear:te,endCalendarMonth:ee,endCalendarYear:ne,weekdays:Q,startDateArray:X,endDateArray:Z,startYearArray:ie,startMonthArray:ce,startQuarterArray:se,endYearArray:le,endMonthArray:ue,endQuarterArray:de,isSelecting:W,handleRangeShortcutMouseenter:function(e){F.cachePendingValue();const t=F.getShortcutValue(e);Array.isArray(t)&&_e(t[0],t[1],"shortcutPreview")},handleRangeShortcutClick:function(e){const t=F.getShortcutValue(e);Array.isArray(t)&&(_e(t[0],t[1],"done"),F.clearPendingValue(),ve())}},F),R),Se),{startDateDisplayString:K,endDateInput:Y,timePickerSize:F.timePickerSize,startTimeValue:oe,endTimeValue:re,datePickerSlots:w,shortcuts:ae,startCalendarDateTime:j,endCalendarDateTime:N,justifyColumnsScrollState:we,handleFocusDetectorFocus:F.handleFocusDetectorFocus,handleStartTimePickerChange:function(e){null!==e&&be(e)},handleEndTimePickerChange:function(e){null!==e&&ye(e)},handleStartDateInput:function(t){const n=GZ(t,U.value,new Date,F.dateFnsOptions.value);if(NG(n))if(e.value){if(Array.isArray(e.value)){be(xe(zX(MZ(e.value[0],{year:MX(n),month:RX(n),date:SX(n)}))))}}else{be(xe(zX(MZ(new Date,{year:MX(n),month:RX(n),date:SX(n)}))))}else K.value=t},handleStartDateInputBlur:function(){const t=GZ(K.value,U.value,new Date,F.dateFnsOptions.value),{value:n}=e;if(NG(t)){if(null===n){be(xe(zX(MZ(new Date,{year:MX(t),month:RX(t),date:SX(t)}))))}else if(Array.isArray(n)){be(xe(zX(MZ(n[0],{year:MX(t),month:RX(t),date:SX(t)}))))}}else Ce()},handleEndDateInput:function(t){const n=GZ(t,U.value,new Date,F.dateFnsOptions.value);if(NG(n)){if(null===e.value){ye(xe(zX(MZ(new Date,{year:MX(n),month:RX(n),date:SX(n)}))))}else if(Array.isArray(e.value)){ye(xe(zX(MZ(e.value[1],{year:MX(n),month:RX(n),date:SX(n)}))))}}else Y.value=t},handleEndDateInputBlur:function(){const t=GZ(Y.value,U.value,new Date,F.dateFnsOptions.value),{value:n}=e;if(NG(t)){if(null===n){ye(xe(zX(MZ(new Date,{year:MX(t),month:RX(t),date:SX(t)}))))}else if(Array.isArray(n)){ye(xe(zX(MZ(n[1],{year:MX(t),month:RX(t),date:SX(t)}))))}}else Ce()},handleStartYearVlScroll:function(){var e;null===(e=$.value)||void 0===e||e.sync()},handleEndYearVlScroll:function(){var e;null===(e=A.value)||void 0===e||e.sync()},virtualListContainer:function(e){var t,n;return"start"===e?(null===(t=O.value)||void 0===t?void 0:t.listElRef)||null:(null===(n=D.value)||void 0===n?void 0:n.listElRef)||null},virtualListContent:function(e){var t,n;return"start"===e?(null===(t=O.value)||void 0===t?void 0:t.itemsElRef)||null:(null===(n=D.value)||void 0===n?void 0:n.itemsElRef)||null},onUpdateStartCalendarValue:function(e){j.value=e,fe(!0)},onUpdateEndCalendarValue:function(e){N.value=e,fe(!1)}})}const B0=$n({name:"DateRangePanel",props:D0,setup:e=>I0(e,"daterange"),render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,onRender:i,datePickerSlots:l}=this;return null==i||i(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--daterange`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{ref:"startDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--start`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.startCalendarPrevYear},lE(l["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.startCalendarPrevMonth},lE(l["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.startCalendarDateTime,onUpdateValue:this.onUpdateStartCalendarValue,mergedClsPrefix:o,calendarMonth:this.startCalendarMonth,calendarYear:this.startCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.startCalendarNextMonth},lE(l["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.startCalendarNextYear},lE(l["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.startDateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts)}],onClick:()=>{this.handleDateClick(e)},onMouseenter:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null))))),Jr("div",{class:`${o}-date-panel__vertical-divider`}),Jr("div",{ref:"endDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--end`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.endCalendarPrevYear},lE(l["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.endCalendarPrevMonth},lE(l["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.endCalendarDateTime,onUpdateValue:this.onUpdateEndCalendarValue,mergedClsPrefix:o,calendarMonth:this.endCalendarMonth,calendarYear:this.endCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.endCalendarNextMonth},lE(l["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.endCalendarNextYear},lE(l["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.endDateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts)}],onClick:()=>{this.handleDateClick(e)},onMouseenter:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null))))),this.datePickerSlots.footer?Jr("div",{class:`${o}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)||"function"==typeof t?Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleRangeShortcutMouseenter(t)},onClick:()=>{this.handleRangeShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e}):null}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(l.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("confirm"))?sE(l.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isRangeInvalid||this.isSelecting,text:this.locale.confirm},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isRangeInvalid||this.isSelecting,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}});function E0(e,t,n){const o=kX(),r=function(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale??o.locale);return"formatToParts"in r?function(e,t){const n=e.formatToParts(t);for(let o=n.length-1;o>=0;--o)if("timeZoneName"===n[o].type)return n[o].value;return}(r,t):function(e,t){const n=e.format(t).replace(/\u200E/g,""),o=/ [\w-+ ]+$/.exec(n);return o?o[0].substr(1):""}(r,t)}function L0(e,t){const n=function(e){N0[e]||(N0[e]=W0?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}));return N0[e]}(t);return"formatToParts"in n?function(e,t){try{const n=e.formatToParts(t),o=[];for(let e=0;e=0?a:1e3+a,o-r}function G0(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}const X0={};const Z0={X:function(e,t,n){const o=Q0(n.timeZone,e);if(0===o)return"Z";switch(t){case"X":return t4(o);case"XXXX":case"XX":return e4(o);default:return e4(o,":")}},x:function(e,t,n){const o=Q0(n.timeZone,e);switch(t){case"x":return t4(o);case"xxxx":case"xx":return e4(o);default:return e4(o,":")}},O:function(e,t,n){const o=Q0(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),a=o%60;if(0===a)return n+String(r);return n+String(r)+t+J0(a,2)}(o,":");default:return"GMT"+e4(o,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return E0("short",e,n);default:return E0("long",e,n)}}};function Q0(e,t){const n=e?K0(e,t,!0)/6e4:(null==t?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function J0(e,t){const n=e<0?"-":"";let o=Math.abs(e).toString();for(;o.length0?"-":"+",o=Math.abs(e);return n+J0(Math.floor(o/60),2)+t+J0(Math.floor(o%60),2)}function t4(e,t){if(e%60==0){return(e>0?"-":"+")+J0(Math.abs(e)/60,2)}return e4(e,t)}function n4(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const o4=36e5,r4=6e4,a4={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function i4(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);const n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);const o=function(e){const t={};let n,o=a4.dateTimePattern.exec(e);o?(t.date=o[1],n=o[3]):(o=a4.datePattern.exec(e),o?(t.date=o[1],n=o[2]):(t.date=null,n=e));if(n){const e=a4.timeZone.exec(n);e?(t.time=n.replace(e[1],""),t.timeZone=e[1].trim()):t.time=n}return t}(e),{year:r,restDateString:a}=function(e,t){if(e){const n=a4.YYY[t],o=a4.YYYYY[t];let r=a4.YYYY.exec(e)||o.exec(e);if(r){const t=r[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(r=a4.YY.exec(e)||n.exec(e),r){const t=r[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(o.date,n),i=function(e,t){if(null===t)return null;let n,o,r;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let a=a4.MM.exec(e);if(a)return n=new Date(0),o=parseInt(a[1],10)-1,u4(t,o)?(n.setUTCFullYear(t,o),n):new Date(NaN);if(a=a4.DDD.exec(e),a){n=new Date(0);const e=parseInt(a[1],10);return function(e,t){if(t<1)return!1;const n=c4(e);if(n&&t>366)return!1;if(!n&&t>365)return!1;return!0}(t,e)?(n.setUTCFullYear(t,0,e),n):new Date(NaN)}if(a=a4.MMDD.exec(e),a){n=new Date(0),o=parseInt(a[1],10)-1;const e=parseInt(a[2],10);return u4(t,o,e)?(n.setUTCFullYear(t,o,e),n):new Date(NaN)}if(a=a4.Www.exec(e),a)return r=parseInt(a[1],10)-1,h4(r)?l4(t,r):new Date(NaN);if(a=a4.WwwD.exec(e),a){r=parseInt(a[1],10)-1;const e=parseInt(a[2],10)-1;return h4(r,e)?l4(t,r,e):new Date(NaN)}return null}(a,r);if(null===i||isNaN(i.getTime()))return new Date(NaN);if(i){const e=i.getTime();let n,r=0;if(o.time&&(r=function(e){let t,n,o=a4.HH.exec(e);if(o)return t=parseFloat(o[1].replace(",",".")),p4(t)?t%24*o4:NaN;if(o=a4.HHMM.exec(e),o)return t=parseInt(o[1],10),n=parseFloat(o[2].replace(",",".")),p4(t,n)?t%24*o4+n*r4:NaN;if(o=a4.HHMMSS.exec(e),o){t=parseInt(o[1],10),n=parseInt(o[2],10);const e=parseFloat(o[3].replace(",","."));return p4(t,n,e)?t%24*o4+n*r4+1e3*e:NaN}return null}(o.time),null===r||isNaN(r)))return new Date(NaN);if(o.timeZone||t.timeZone){if(n=K0(o.timeZone||t.timeZone,new Date(e+r)),isNaN(n))return new Date(NaN)}else n=n4(new Date(e+r)),n=n4(new Date(e+r+n));return new Date(e+r+n)}return new Date(NaN)}function l4(e,t,n){t=t||0,n=n||0;const o=new Date(0);o.setUTCFullYear(e,0,4);const r=7*t+n+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}const s4=[31,28,31,30,31,30,31,31,30,31,30,31],d4=[31,29,31,30,31,30,31,31,30,31,30,31];function c4(e){return e%400==0||e%4==0&&e%100!=0}function u4(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;const o=c4(e);if(o&&n>d4[t])return!1;if(!o&&n>s4[t])return!1}return!0}function h4(e,t){return!(e<0||e>52)&&(null==t||!(t<0||t>6))}function p4(e,t,n){return!(e<0||e>=25)&&((null==t||!(t<0||t>=60))&&(null==n||!(n<0||n>=60)))}const f4=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function m4(e,t,n,o){return function(e,t,n={}){const o=(t=String(t)).match(f4);if(o){const r=i4(n.originalDate||e,n);t=o.reduce((function(e,t){if("'"===t[0])return e;const o=e.indexOf(t),a="'"===e[o-1],i=e.replace(t,"'"+Z0[t[0]](r,t,n)+"'");return a?i.substring(0,o-1)+i.substring(o+1):i}),t)}return CX(e,t,n)}(function(e,t,n){const o=K0(t,e=i4(e,n),!0),r=new Date(e.getTime()-o),a=new Date(0);return a.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),a.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),a}(e,t,{timeZone:(o={...o,timeZone:t,originalDate:e}).timeZone}),n,o)}const v4="n-time-picker",g4=$n({name:"TimePickerPanelCol",props:{clsPrefix:{type:String,required:!0},data:{type:Array,required:!0},activeValue:{type:[Number,String],default:null},onItemClick:Function},render(){const{activeValue:e,onItemClick:t,clsPrefix:n}=this;return this.data.map((o=>{const{label:r,disabled:a,value:i}=o,l=e===i;return Jr("div",{key:r,"data-active":l?"":null,class:[`${n}-time-picker-col__item`,l&&`${n}-time-picker-col__item--active`,a&&`${n}-time-picker-col__item--disabled`],onClick:t&&!a?()=>{t(i)}:void 0},r)}))}}),b4={amHours:["00","01","02","03","04","05","06","07","08","09","10","11"],pmHours:["12","01","02","03","04","05","06","07","08","09","10","11"],hours:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],minutes:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],seconds:["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],period:["AM","PM"]};function y4(e){return`00${e}`.slice(-2)}function _4(e,t,n){return Array.isArray(t)?("am"===n?t.filter((e=>e<12)):"pm"===n?t.filter((e=>e>=12)).map((e=>12===e?12:e-12)):t).map((e=>y4(e))):"number"==typeof t?"am"===n?e.filter((e=>{const n=Number(e);return n<12&&n%t===0})):"pm"===n?e.filter((e=>{const n=Number(e);return n>=12&&n%t===0})).map((e=>{const t=Number(e);return y4(12===t?12:t-12)})):e.filter((e=>Number(e)%t===0)):"am"===n?e.filter((e=>Number(e)<12)):"pm"===n?e.map((e=>Number(e))).filter((e=>Number(e)>=12)).map((e=>y4(12===e?12:e-12))):e}function x4(e,t,n){return!n||("number"==typeof n?e%n===0:n.includes(e))}const C4=$n({name:"TimePickerPanel",props:{actions:{type:Array,default:()=>["now","confirm"]},showHour:{type:Boolean,default:!0},showMinute:{type:Boolean,default:!0},showSecond:{type:Boolean,default:!0},showPeriod:{type:Boolean,default:!0},isHourInvalid:Boolean,isMinuteInvalid:Boolean,isSecondInvalid:Boolean,isAmPmInvalid:Boolean,isValueInvalid:Boolean,hourValue:{type:Number,default:null},minuteValue:{type:Number,default:null},secondValue:{type:Number,default:null},amPmValue:{type:String,default:null},isHourDisabled:Function,isMinuteDisabled:Function,isSecondDisabled:Function,onHourClick:{type:Function,required:!0},onMinuteClick:{type:Function,required:!0},onSecondClick:{type:Function,required:!0},onAmPmClick:{type:Function,required:!0},onNowClick:Function,clearText:String,nowText:String,confirmText:String,transitionDisabled:Boolean,onClearClick:Function,onConfirmClick:Function,onFocusin:Function,onFocusout:Function,onFocusDetectorFocus:Function,onKeydown:Function,hours:[Number,Array],minutes:[Number,Array],seconds:[Number,Array],use12Hours:Boolean},setup(e){const{mergedThemeRef:t,mergedClsPrefixRef:n}=Ro(v4);return{mergedTheme:t,mergedClsPrefix:n,hours:Qr((()=>{const{isHourDisabled:t,hours:n,use12Hours:o,amPmValue:r}=e;if(o){const e=null!=r?r:PX(Date.now())<12?"am":"pm";return _4(b4.hours,n,e).map((n=>{const o=Number(n),r="pm"===e&&12!==o?o+12:o;return{label:n,value:r,disabled:!!t&&t(r)}}))}return _4(b4.hours,n).map((e=>({label:e,value:Number(e),disabled:!!t&&t(Number(e))})))})),minutes:Qr((()=>{const{isMinuteDisabled:t,minutes:n}=e;return _4(b4.minutes,n).map((n=>({label:n,value:Number(n),disabled:!!t&&t(Number(n),e.hourValue)})))})),seconds:Qr((()=>{const{isSecondDisabled:t,seconds:n}=e;return _4(b4.seconds,n).map((n=>({label:n,value:Number(n),disabled:!!t&&t(Number(n),e.minuteValue,e.hourValue)})))})),amPm:Qr((()=>{const{isHourDisabled:t}=e;let n=!0,o=!0;for(let e=0;e<12;++e)if(!(null==t?void 0:t(e))){n=!1;break}for(let e=12;e<24;++e)if(!(null==t?void 0:t(e))){o=!1;break}return[{label:"AM",value:"am",disabled:n},{label:"PM",value:"pm",disabled:o}]})),hourScrollRef:vt(null),minuteScrollRef:vt(null),secondScrollRef:vt(null),amPmScrollRef:vt(null)}},render(){var e,t,n,o;const{mergedClsPrefix:r,mergedTheme:a}=this;return Jr("div",{tabindex:0,class:`${r}-time-picker-panel`,onFocusin:this.onFocusin,onFocusout:this.onFocusout,onKeydown:this.onKeydown},Jr("div",{class:`${r}-time-picker-cols`},this.showHour?Jr("div",{class:[`${r}-time-picker-col`,this.isHourInvalid&&`${r}-time-picker-col--invalid`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`]},Jr(Vq,{ref:"hourScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.hours,activeValue:this.hourValue,onItemClick:this.onHourClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null,this.showMinute?Jr("div",{class:[`${r}-time-picker-col`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`,this.isMinuteInvalid&&`${r}-time-picker-col--invalid`]},Jr(Vq,{ref:"minuteScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.minutes,activeValue:this.minuteValue,onItemClick:this.onMinuteClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null,this.showSecond?Jr("div",{class:[`${r}-time-picker-col`,this.isSecondInvalid&&`${r}-time-picker-col--invalid`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`]},Jr(Vq,{ref:"secondScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.seconds,activeValue:this.secondValue,onItemClick:this.onSecondClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null,this.use12Hours?Jr("div",{class:[`${r}-time-picker-col`,this.isAmPmInvalid&&`${r}-time-picker-col--invalid`,this.transitionDisabled&&`${r}-time-picker-col--transition-disabled`]},Jr(Vq,{ref:"amPmScrollRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar},{default:()=>[Jr(g4,{clsPrefix:r,data:this.amPm,activeValue:this.amPmValue,onItemClick:this.onAmPmClick}),Jr("div",{class:`${r}-time-picker-col__padding`})]})):null),(null===(e=this.actions)||void 0===e?void 0:e.length)?Jr("div",{class:`${r}-time-picker-actions`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",onClick:this.onClearClick},{default:()=>this.clearText}):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("now"))?Jr(SG,{size:"tiny",theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,onClick:this.onNowClick},{default:()=>this.nowText}):null,(null===(o=this.actions)||void 0===o?void 0:o.includes("confirm"))?Jr(SG,{size:"tiny",type:"primary",class:`${r}-time-picker-actions__confirm`,theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,disabled:this.isValueInvalid,onClick:this.onConfirmClick},{default:()=>this.confirmText}):null):null,Jr(BV,{onFocus:this.onFocusDetectorFocus}))}}),w4=BA([LA("time-picker","\n z-index: auto;\n position: relative;\n ",[LA("time-picker-icon","\n color: var(--n-icon-color-override);\n transition: color .3s var(--n-bezier);\n "),NA("disabled",[LA("time-picker-icon","\n color: var(--n-icon-color-disabled-override);\n ")])]),LA("time-picker-panel","\n transition:\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n outline: none;\n font-size: var(--n-item-font-size);\n border-radius: var(--n-border-radius);\n margin: 4px 0;\n min-width: 104px;\n overflow: hidden;\n background-color: var(--n-panel-color);\n box-shadow: var(--n-panel-box-shadow);\n ",[MK(),LA("time-picker-actions","\n padding: var(--n-panel-action-padding);\n align-items: center;\n display: flex;\n justify-content: space-evenly;\n "),LA("time-picker-cols","\n height: calc(var(--n-item-height) * 6);\n display: flex;\n position: relative;\n transition: border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-panel-divider-color);\n "),LA("time-picker-col","\n flex-grow: 1;\n min-width: var(--n-item-width);\n height: calc(var(--n-item-height) * 6);\n flex-direction: column;\n transition: box-shadow .3s var(--n-bezier);\n ",[NA("transition-disabled",[jA("item","transition: none;",[BA("&::before","transition: none;")])]),jA("padding","\n height: calc(var(--n-item-height) * 5);\n "),BA("&:first-child","min-width: calc(var(--n-item-width) + 4px);",[jA("item",[BA("&::before","left: 4px;")])]),jA("item","\n cursor: pointer;\n height: var(--n-item-height);\n display: flex;\n align-items: center;\n justify-content: center;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier);\n background: #0000;\n text-decoration-color: #0000;\n color: var(--n-item-text-color);\n z-index: 0;\n box-sizing: border-box;\n padding-top: 4px;\n position: relative;\n ",[BA("&::before",'\n content: "";\n transition: background-color .3s var(--n-bezier);\n z-index: -1;\n position: absolute;\n left: 0;\n right: 4px;\n top: 4px;\n bottom: 0;\n border-radius: var(--n-item-border-radius);\n '),HA("disabled",[BA("&:hover::before","\n background-color: var(--n-item-color-hover);\n ")]),NA("active","\n color: var(--n-item-text-color-active);\n ",[BA("&::before","\n background-color: var(--n-item-color-hover);\n ")]),NA("disabled","\n opacity: var(--n-item-opacity-disabled);\n cursor: not-allowed;\n ")]),NA("invalid",[jA("item",[NA("active","\n text-decoration: line-through;\n text-decoration-color: var(--n-item-text-color-active);\n ")])])])])]);function S4(e,t){return void 0===e||(Array.isArray(e)?e.every((e=>e>=0&&e<=t)):e>=0&&e<=t)}const k4=$n({name:"TimePicker",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,bordered:{type:Boolean,default:void 0},actions:Array,defaultValue:{type:Number,default:null},defaultFormattedValue:String,placeholder:String,placement:{type:String,default:"bottom-start"},value:Number,format:{type:String,default:"HH:mm:ss"},valueFormat:String,formattedValue:String,isHourDisabled:Function,size:String,isMinuteDisabled:Function,isSecondDisabled:Function,inputReadonly:Boolean,clearable:Boolean,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onUpdateFormattedValue:[Function,Array],"onUpdate:formattedValue":[Function,Array],onBlur:[Function,Array],onConfirm:[Function,Array],onClear:Function,onFocus:[Function,Array],timeZone:String,showIcon:{type:Boolean,default:!0},disabled:{type:Boolean,default:void 0},show:{type:Boolean,default:void 0},hours:{type:[Number,Array],validator:e=>S4(e,23)},minutes:{type:[Number,Array],validator:e=>S4(e,59)},seconds:{type:[Number,Array],validator:e=>S4(e,59)},use12Hours:Boolean,stateful:{type:Boolean,default:!0},onChange:[Function,Array]}),setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=fE(e),{localeRef:a,dateLocaleRef:i}=AW("TimePicker"),l=bE(e),{mergedSizeRef:s,mergedDisabledRef:d,mergedStatusRef:c}=l,u=HW("TimePicker","-time-picker",w4,_0,e,n),h=TD(),p=vt(null),f=vt(null),m=Qr((()=>({locale:i.value.locale})));function v(t){return null===t?null:GZ(t,e.valueFormat||e.format,new Date,m.value).getTime()}const{defaultValue:g,defaultFormattedValue:b}=e,y=vt(void 0!==b?v(b):g),_=Qr((()=>{const{formattedValue:t}=e;if(void 0!==t)return v(t);const{value:n}=e;return void 0!==n?n:y.value})),x=Qr((()=>{const{timeZone:t}=e;return t?(e,n,o)=>m4(e,t,n,o):(e,t,n)=>CX(e,t,n)})),C=vt("");er((()=>e.timeZone),(()=>{const t=_.value;C.value=null===t?"":x.value(t,e.format,m.value)}),{immediate:!0});const w=vt(!1),S=xD(Ft(e,"show"),w),k=vt(_.value),P=vt(!1),T=Qr((()=>a.value.clear)),R=Qr((()=>a.value.now)),F=Qr((()=>void 0!==e.placeholder?e.placeholder:a.value.placeholder)),z=Qr((()=>a.value.negativeText)),M=Qr((()=>a.value.positiveText)),$=Qr((()=>/H|h|K|k/.test(e.format))),A=Qr((()=>e.format.includes("m"))),O=Qr((()=>e.format.includes("s"))),D=Qr((()=>{const{value:e}=_;return null===e?null:Number(x.value(e,"HH",m.value))})),I=Qr((()=>{const{value:e}=_;return null===e?null:Number(x.value(e,"mm",m.value))})),B=Qr((()=>{const{value:e}=_;return null===e?null:Number(x.value(e,"ss",m.value))})),E=Qr((()=>{const{isHourDisabled:t}=e;return null!==D.value&&(!x4(D.value,0,e.hours)||!!t&&t(D.value))})),L=Qr((()=>{const{value:t}=I,{value:n}=D;if(null===t||null===n)return!1;if(!x4(t,0,e.minutes))return!0;const{isMinuteDisabled:o}=e;return!!o&&o(t,n)})),j=Qr((()=>{const{value:t}=I,{value:n}=D,{value:o}=B;if(null===o||null===t||null===n)return!1;if(!x4(o,0,e.seconds))return!0;const{isSecondDisabled:r}=e;return!!r&&r(o,t,n)})),N=Qr((()=>E.value||L.value||j.value)),H=Qr((()=>e.format.length+4)),W=Qr((()=>{const{value:e}=_;return null===e?null:PX(e)<12?"am":"pm"}));function V(t){return null===t?null:x.value(t,e.valueFormat||e.format)}function U(t){const{onUpdateValue:n,"onUpdate:value":o,onChange:r}=e,{nTriggerFormChange:a,nTriggerFormInput:i}=l,s=V(t);n&&GB(n,t,s),o&&GB(o,t,s),r&&GB(r,t,s),function(t,n){const{onUpdateFormattedValue:o,"onUpdate:formattedValue":r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(s,t),y.value=t,a(),i()}function q(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=l;n&&GB(n,t),o()}function K(t){void 0===t&&(t=_.value),C.value=null===t?"":x.value(t,e.format,m.value)}function Y(){if(!f.value)return;const{hourScrollRef:e,minuteScrollRef:t,secondScrollRef:n,amPmScrollRef:o}=f.value;[e,t,n,o].forEach((e=>{var t;if(!e)return;const n=null===(t=e.contentRef)||void 0===t?void 0:t.querySelector("[data-active]");n&&e.scrollTo({top:n.offsetTop})}))}function G(t){w.value=t;const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t)}function X(e){var t,n,o;return!(!(null===(n=null===(t=p.value)||void 0===t?void 0:t.wrapperElRef)||void 0===n?void 0:n.contains(e.relatedTarget))&&!(null===(o=f.value)||void 0===o?void 0:o.$el.contains(e.relatedTarget)))}function Z(){k.value=_.value,G(!0),Kt(Y)}function Q({returnFocus:e}){var t;S.value&&(G(!1),e&&(null===(t=p.value)||void 0===t||t.focus()))}er(_,(e=>{K(e),P.value=!0,Kt((()=>{P.value=!1})),Kt(Y)})),er(S,(()=>{N.value&&U(k.value)})),To(v4,{mergedThemeRef:u,mergedClsPrefixRef:n});const J={focus:()=>{var e;null===(e=p.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=p.value)||void 0===e||e.blur()}},ee=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{iconColor:t,iconColorDisabled:n}}=u.value;return{"--n-icon-color-override":t,"--n-icon-color-disabled-override":n,"--n-bezier":e}})),te=r?vE("time-picker-trigger",void 0,ee,e):void 0,ne=Qr((()=>{const{self:{panelColor:e,itemTextColor:t,itemTextColorActive:n,itemColorHover:o,panelDividerColor:r,panelBoxShadow:a,itemOpacityDisabled:i,borderRadius:l,itemFontSize:s,itemWidth:d,itemHeight:c,panelActionPadding:h,itemBorderRadius:p},common:{cubicBezierEaseInOut:f}}=u.value;return{"--n-bezier":f,"--n-border-radius":l,"--n-item-color-hover":o,"--n-item-font-size":s,"--n-item-height":c,"--n-item-opacity-disabled":i,"--n-item-text-color":t,"--n-item-text-color-active":n,"--n-item-width":d,"--n-panel-action-padding":h,"--n-panel-box-shadow":a,"--n-panel-color":e,"--n-panel-divider-color":r,"--n-item-border-radius":p}})),oe=r?vE("time-picker",void 0,ne,e):void 0;return{focus:J.focus,blur:J.blur,mergedStatus:c,mergedBordered:t,mergedClsPrefix:n,namespace:o,uncontrolledValue:y,mergedValue:_,isMounted:CD(),inputInstRef:p,panelInstRef:f,adjustedTo:ID(e),mergedShow:S,localizedClear:T,localizedNow:R,localizedPlaceholder:F,localizedNegativeText:z,localizedPositiveText:M,hourInFormat:$,minuteInFormat:A,secondInFormat:O,mergedAttrSize:H,displayTimeString:C,mergedSize:s,mergedDisabled:d,isValueInvalid:N,isHourInvalid:E,isMinuteInvalid:L,isSecondInvalid:j,transitionDisabled:P,hourValue:D,minuteValue:I,secondValue:B,amPmValue:W,handleInputKeydown:function(e){"Escape"===e.key&&S.value&&VB(e)},handleTimeInputFocus:function(t){X(t)||function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=l;n&&GB(n,t),o()}(t)},handleTimeInputBlur:function(e){var t;if(!X(e))if(S.value){const n=null===(t=f.value)||void 0===t?void 0:t.$el;(null==n?void 0:n.contains(e.relatedTarget))||(K(),q(e),Q({returnFocus:!1}))}else K(),q(e)},handleNowClick:function(){const t=new Date,n={hours:PX,minutes:TX,seconds:FX},[o,r,a]=["hours","minutes","seconds"].map((o=>!e[o]||x4(n[o](t),0,e[o])?n[o](t):function(e,t,n){const o=_4(b4[t],n).map(Number);let r,a;for(let i=0;ie){a=t;break}r=t}return void 0===r?(a||YB("time-picker","Please set 'hours' or 'minutes' or 'seconds' props"),a):void 0===a||a-e>e-r?r:a}(n[o](t),o,e[o]))),i=OZ(AZ($Z(_.value?_.value:zX(t),o),r),a);U(zX(i))},handleConfirmClick:function(){K(),function(){const{onConfirm:t}=e;t&&GB(t,_.value,V(_.value))}(),Q({returnFocus:!0})},handleTimeInputUpdateValue:function(t){if(""===t)return void U(null);const n=GZ(t,e.format,new Date,m.value);if(C.value=t,NG(n)){const{value:e}=_;if(null!==e){U(zX(MZ(e,{hours:PX(n),minutes:TX(n),seconds:FX(n),milliseconds:(o=n,FE(o).getMilliseconds())})))}else U(zX(n))}var o},handleMenuFocusOut:function(e){X(e)||(K(),q(e),Q({returnFocus:!1}))},handleCancelClick:function(){U(k.value),G(!1)},handleClickOutside:function(e){var t,n;S.value&&!(null===(n=null===(t=p.value)||void 0===t?void 0:t.wrapperElRef)||void 0===n?void 0:n.contains(JA(e)))&&Q({returnFocus:!1})},handleTimeInputActivate:function(){d.value||S.value||Z()},handleTimeInputDeactivate:function(){d.value||(K(),Q({returnFocus:!1}))},handleHourClick:function(e){"string"!=typeof e&&(null===_.value?U(zX($Z(function(e){const t=FE(e);return t.setMinutes(0,0,0),t}(new Date),e))):U(zX($Z(_.value,e))))},handleMinuteClick:function(e){"string"!=typeof e&&(null===_.value?U(zX(AZ(function(e){const t=FE(e);return t.setSeconds(0,0),t}(new Date),e))):U(zX(AZ(_.value,e))))},handleSecondClick:function(e){"string"!=typeof e&&(null===_.value?U(zX(OZ(RZ(new Date),e))):U(zX(OZ(_.value,e))))},handleAmPmClick:function(e){const{value:t}=_;if(null===t){const t=new Date,n=PX(t);"pm"===e&&n<12?U(zX($Z(t,n+12))):"am"===e&&n>=12&&U(zX($Z(t,n-12))),U(zX(t))}else{const n=PX(t);"pm"===e&&n<12?U(zX($Z(t,n+12))):"am"===e&&n>=12&&U(zX($Z(t,n-12)))}},handleTimeInputClear:function(t){var n;t.stopPropagation(),U(null),K(null),null===(n=e.onClear)||void 0===n||n.call(e)},handleFocusDetectorFocus:function(){Q({returnFocus:!0})},handleMenuKeydown:function(e){var t;switch(e.key){case"Escape":S.value&&(VB(e),Q({returnFocus:!0}));break;case"Tab":h.shift&&e.target===(null===(t=f.value)||void 0===t?void 0:t.$el)&&(e.preventDefault(),Q({returnFocus:!0}))}},handleTriggerClick:function(e){d.value||QA(e,"clear")||S.value||Z()},mergedTheme:u,triggerCssVars:r?void 0:ee,triggerThemeClass:null==te?void 0:te.themeClass,triggerOnRender:null==te?void 0:te.onRender,cssVars:r?void 0:ne,themeClass:null==oe?void 0:oe.themeClass,onRender:null==oe?void 0:oe.onRender,clearSelectedValue:function(){U(null),K(null),Q({returnFocus:!0})}}},render(){const{mergedClsPrefix:e,$slots:t,triggerOnRender:n}=this;return null==n||n(),Jr("div",{class:[`${e}-time-picker`,this.triggerThemeClass],style:this.triggerCssVars},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(BY,{ref:"inputInstRef",status:this.mergedStatus,value:this.displayTimeString,bordered:this.mergedBordered,passivelyActivated:!0,attrSize:this.mergedAttrSize,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,stateful:this.stateful,size:this.mergedSize,placeholder:this.localizedPlaceholder,clearable:this.clearable,disabled:this.mergedDisabled,textDecoration:this.isValueInvalid?"line-through":void 0,onFocus:this.handleTimeInputFocus,onBlur:this.handleTimeInputBlur,onActivate:this.handleTimeInputActivate,onDeactivate:this.handleTimeInputDeactivate,onUpdateValue:this.handleTimeInputUpdateValue,onClear:this.handleTimeInputClear,internalDeactivateOnEnter:!0,internalForceFocus:this.mergedShow,readonly:this.inputReadonly||this.mergedDisabled,onClick:this.handleTriggerClick,onKeydown:this.handleInputKeydown},this.showIcon?{[this.clearable?"clear-icon-placeholder":"suffix"]:()=>Jr(VW,{clsPrefix:e,class:`${e}-time-picker-icon`},{default:()=>t.icon?t.icon():Jr(SV,null)})}:null)}),Jr(FI,{teleportDisabled:this.adjustedTo===ID.tdkey,show:this.mergedShow,to:this.adjustedTo,containerClass:this.namespace,placement:this.placement},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>{var e;return this.mergedShow?(null===(e=this.onRender)||void 0===e||e.call(this),on(Jr(C4,{ref:"panelInstRef",actions:this.actions,class:this.themeClass,style:this.cssVars,seconds:this.seconds,minutes:this.minutes,hours:this.hours,transitionDisabled:this.transitionDisabled,hourValue:this.hourValue,showHour:this.hourInFormat,isHourInvalid:this.isHourInvalid,isHourDisabled:this.isHourDisabled,minuteValue:this.minuteValue,showMinute:this.minuteInFormat,isMinuteInvalid:this.isMinuteInvalid,isMinuteDisabled:this.isMinuteDisabled,secondValue:this.secondValue,amPmValue:this.amPmValue,showSecond:this.secondInFormat,isSecondInvalid:this.isSecondInvalid,isSecondDisabled:this.isSecondDisabled,isValueInvalid:this.isValueInvalid,clearText:this.localizedClear,nowText:this.localizedNow,confirmText:this.localizedPositiveText,use12Hours:this.use12Hours,onFocusout:this.handleMenuFocusOut,onKeydown:this.handleMenuKeydown,onHourClick:this.handleHourClick,onMinuteClick:this.handleMinuteClick,onSecondClick:this.handleSecondClick,onAmPmClick:this.handleAmPmClick,onNowClick:this.handleNowClick,onConfirmClick:this.handleConfirmClick,onClearClick:this.clearSelectedValue,onFocusDetectorFocus:this.handleFocusDetectorFocus}),[[sI,this.handleClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),P4=$n({name:"DateTimePanel",props:z0,setup:e=>M0(e,"datetime"),render(){var e,t,n,o;const{mergedClsPrefix:r,mergedTheme:a,shortcuts:i,timePickerProps:l,datePickerSlots:s,onRender:d}=this;return null==d||d(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${r}-date-panel`,`${r}-date-panel--datetime`,!this.panel&&`${r}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{class:`${r}-date-panel-header`},Jr(BY,{value:this.dateInputValue,theme:a.peers.Input,themeOverrides:a.peerOverrides.Input,stateful:!1,size:this.timePickerSize,readonly:this.inputReadonly,class:`${r}-date-panel-date-input`,textDecoration:this.isDateInvalid?"line-through":"",placeholder:this.locale.selectDate,onBlur:this.handleDateInputBlur,onUpdateValue:this.handleDateInput}),Jr(k4,Object.assign({size:this.timePickerSize,placeholder:this.locale.selectTime,format:this.timerPickerFormat},Array.isArray(l)?void 0:l,{showIcon:!1,to:!1,theme:a.peers.TimePicker,themeOverrides:a.peerOverrides.TimePicker,value:Array.isArray(this.value)?null:this.value,isHourDisabled:this.isHourDisabled,isMinuteDisabled:this.isMinuteDisabled,isSecondDisabled:this.isSecondDisabled,onUpdateValue:this.handleTimePickerChange,stateful:!1}))),Jr("div",{class:`${r}-date-panel-calendar`},Jr("div",{class:`${r}-date-panel-month`},Jr("div",{class:`${r}-date-panel-month__fast-prev`,onClick:this.prevYear},lE(s["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${r}-date-panel-month__prev`,onClick:this.prevMonth},lE(s["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.calendarValue,onUpdateValue:this.onUpdateCalendarValue,mergedClsPrefix:r,calendarMonth:this.calendarMonth,calendarYear:this.calendarYear}),Jr("div",{class:`${r}-date-panel-month__next`,onClick:this.nextMonth},lE(s["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${r}-date-panel-month__fast-next`,onClick:this.nextYear},lE(s["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${r}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${r}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${r}-date-panel-dates`},this.dateArray.map(((e,t)=>Jr("div",{"data-n-date":!0,key:t,class:[`${r}-date-panel-date`,{[`${r}-date-panel-date--current`]:e.isCurrentDate,[`${r}-date-panel-date--selected`]:e.selected,[`${r}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${r}-date-panel-date--disabled`]:this.mergedIsDateDisabled(e.ts,{type:"date",year:e.dateObject.year,month:e.dateObject.month,date:e.dateObject.date})}],onClick:()=>{this.handleDateClick(e)}},Jr("div",{class:`${r}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${r}-date-panel-date__sup`}):null))))),this.datePickerSlots.footer?Jr("div",{class:`${r}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||i?Jr("div",{class:`${r}-date-panel-actions`},Jr("div",{class:`${r}-date-panel-actions__prefix`},i&&Object.keys(i).map((e=>{const t=i[e];return Array.isArray(t)?null:Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleSingleShortcutMouseenter(t)},onClick:()=>{this.handleSingleShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e})}))),Jr("div",{class:`${r}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(this.datePickerSlots.clear,{onClear:this.clearSelectedDateTime,text:this.locale.clear},(()=>[Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",onClick:this.clearSelectedDateTime},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("now"))?sE(s.now,{onNow:this.handleNowClick,text:this.locale.now},(()=>[Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",onClick:this.handleNowClick},{default:()=>this.locale.now})])):null,(null===(o=this.actions)||void 0===o?void 0:o.includes("confirm"))?sE(s.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isDateInvalid,text:this.locale.confirm},(()=>[Jr(SG,{theme:a.peers.Button,themeOverrides:a.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isDateInvalid,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),T4=$n({name:"DateTimeRangePanel",props:D0,setup:e=>I0(e,"datetimerange"),render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,timePickerProps:i,onRender:l,datePickerSlots:s}=this;return null==l||l(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--datetimerange`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{class:`${o}-date-panel-header`},Jr(BY,{value:this.startDateDisplayString,theme:r.peers.Input,themeOverrides:r.peerOverrides.Input,size:this.timePickerSize,stateful:!1,readonly:this.inputReadonly,class:`${o}-date-panel-date-input`,textDecoration:this.isStartValueInvalid?"line-through":"",placeholder:this.locale.selectDate,onBlur:this.handleStartDateInputBlur,onUpdateValue:this.handleStartDateInput}),Jr(k4,Object.assign({placeholder:this.locale.selectTime,format:this.timerPickerFormat,size:this.timePickerSize},Array.isArray(i)?i[0]:i,{value:this.startTimeValue,to:!1,showIcon:!1,disabled:this.isSelecting,theme:r.peers.TimePicker,themeOverrides:r.peerOverrides.TimePicker,stateful:!1,isHourDisabled:this.isStartHourDisabled,isMinuteDisabled:this.isStartMinuteDisabled,isSecondDisabled:this.isStartSecondDisabled,onUpdateValue:this.handleStartTimePickerChange})),Jr(BY,{value:this.endDateInput,theme:r.peers.Input,themeOverrides:r.peerOverrides.Input,stateful:!1,size:this.timePickerSize,readonly:this.inputReadonly,class:`${o}-date-panel-date-input`,textDecoration:this.isEndValueInvalid?"line-through":"",placeholder:this.locale.selectDate,onBlur:this.handleEndDateInputBlur,onUpdateValue:this.handleEndDateInput}),Jr(k4,Object.assign({placeholder:this.locale.selectTime,format:this.timerPickerFormat,size:this.timePickerSize},Array.isArray(i)?i[1]:i,{disabled:this.isSelecting,showIcon:!1,theme:r.peers.TimePicker,themeOverrides:r.peerOverrides.TimePicker,to:!1,stateful:!1,value:this.endTimeValue,isHourDisabled:this.isEndHourDisabled,isMinuteDisabled:this.isEndMinuteDisabled,isSecondDisabled:this.isEndSecondDisabled,onUpdateValue:this.handleEndTimePickerChange}))),Jr("div",{ref:"startDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--start`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.startCalendarPrevYear},lE(s["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.startCalendarPrevMonth},lE(s["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthYearSeparator:this.calendarHeaderMonthYearSeparator,monthBeforeYear:this.calendarMonthBeforeYear,value:this.startCalendarDateTime,onUpdateValue:this.onUpdateStartCalendarValue,mergedClsPrefix:o,calendarMonth:this.startCalendarMonth,calendarYear:this.startCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.startCalendarNextMonth},lE(s["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.startCalendarNextYear},lE(s["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.startDateArray.map(((e,t)=>{const n=this.mergedIsDateDisabled(e.ts);return Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:n}],onClick:n?void 0:()=>{this.handleDateClick(e)},onMouseenter:n?void 0:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null)})))),Jr("div",{class:`${o}-date-panel__vertical-divider`}),Jr("div",{ref:"endDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--end`},Jr("div",{class:`${o}-date-panel-month`},Jr("div",{class:`${o}-date-panel-month__fast-prev`,onClick:this.endCalendarPrevYear},lE(s["prev-year"],(()=>[Jr(cV,null)]))),Jr("div",{class:`${o}-date-panel-month__prev`,onClick:this.endCalendarPrevMonth},lE(s["prev-month"],(()=>[Jr(ZW,null)]))),Jr(A0,{monthBeforeYear:this.calendarMonthBeforeYear,value:this.endCalendarDateTime,onUpdateValue:this.onUpdateEndCalendarValue,mergedClsPrefix:o,monthYearSeparator:this.calendarHeaderMonthYearSeparator,calendarMonth:this.endCalendarMonth,calendarYear:this.endCalendarYear}),Jr("div",{class:`${o}-date-panel-month__next`,onClick:this.endCalendarNextMonth},lE(s["next-month"],(()=>[Jr(pV,null)]))),Jr("div",{class:`${o}-date-panel-month__fast-next`,onClick:this.endCalendarNextYear},lE(s["next-year"],(()=>[Jr(uV,null)])))),Jr("div",{class:`${o}-date-panel-weekdays`},this.weekdays.map((e=>Jr("div",{key:e,class:`${o}-date-panel-weekdays__day`},e)))),Jr("div",{class:`${o}-date-panel__divider`}),Jr("div",{class:`${o}-date-panel-dates`},this.endDateArray.map(((e,t)=>{const n=this.mergedIsDateDisabled(e.ts);return Jr("div",{"data-n-date":!0,key:t,class:[`${o}-date-panel-date`,{[`${o}-date-panel-date--excluded`]:!e.inCurrentMonth,[`${o}-date-panel-date--current`]:e.isCurrentDate,[`${o}-date-panel-date--selected`]:e.selected,[`${o}-date-panel-date--covered`]:e.inSpan,[`${o}-date-panel-date--start`]:e.startOfSpan,[`${o}-date-panel-date--end`]:e.endOfSpan,[`${o}-date-panel-date--disabled`]:n}],onClick:n?void 0:()=>{this.handleDateClick(e)},onMouseenter:n?void 0:()=>{this.handleDateMouseEnter(e)}},Jr("div",{class:`${o}-date-panel-date__trigger`}),e.dateObject.date,e.isCurrentDate?Jr("div",{class:`${o}-date-panel-date__sup`}):null)})))),this.datePickerSlots.footer?Jr("div",{class:`${o}-date-panel-footer`},this.datePickerSlots.footer()):null,(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)||"function"==typeof t?Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleRangeShortcutMouseenter(t)},onClick:()=>{this.handleRangeShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e}):null}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(s.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("confirm"))?sE(s.confirm,{onConfirm:this.handleConfirmClick,disabled:this.isRangeInvalid||this.isSelecting,text:this.locale.confirm},(()=>[Jr(SG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isRangeInvalid||this.isSelecting,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),R4=$n({name:"MonthRangePanel",props:Object.assign(Object.assign({},D0),{type:{type:String,required:!0}}),setup(e){const t=I0(e,e.type),{dateLocaleRef:n}=AW("DatePicker");return Kn((()=>{t.justifyColumnsScrollState()})),Object.assign(Object.assign({},t),{renderItem:(e,o,r,a)=>{const{handleColItemClick:i}=t;return Jr("div",{"data-n-date":!0,key:o,class:[`${r}-date-panel-month-calendar__picker-col-item`,e.isCurrent&&`${r}-date-panel-month-calendar__picker-col-item--current`,e.selected&&`${r}-date-panel-month-calendar__picker-col-item--selected`,!1],onClick:()=>{i(e,a)}},"month"===e.type?LZ(e.dateObject.month,e.monthFormat,n.value.locale):"quarter"===e.type?NZ(e.dateObject.quarter,e.quarterFormat,n.value.locale):jZ(e.dateObject.year,e.yearFormat,n.value.locale))}})},render(){var e,t,n;const{mergedClsPrefix:o,mergedTheme:r,shortcuts:a,type:i,renderItem:l,onRender:s}=this;return null==s||s(),Jr("div",{ref:"selfRef",tabindex:0,class:[`${o}-date-panel`,`${o}-date-panel--daterange`,!this.panel&&`${o}-date-panel--shadow`,this.themeClass],onKeydown:this.handlePanelKeyDown,onFocus:this.handlePanelFocus},Jr("div",{ref:"startDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--start`},Jr("div",{class:`${o}-date-panel-month-calendar`},Jr(Vq,{ref:"startYearScrollbarRef",class:`${o}-date-panel-month-calendar__picker-col`,theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,container:()=>this.virtualListContainer("start"),content:()=>this.virtualListContent("start"),horizontalRailStyle:{zIndex:1},verticalRailStyle:{zIndex:1}},{default:()=>Jr(kB,{ref:"startYearVlRef",items:this.startYearArray,itemSize:T0,showScrollbar:!1,keyField:"ts",onScroll:this.handleStartYearVlScroll,paddingBottom:4},{default:({item:e,index:t})=>l(e,t,o,"start")})}),"monthrange"===i||"quarterrange"===i?Jr("div",{class:`${o}-date-panel-month-calendar__picker-col`},Jr(Vq,{ref:"startMonthScrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar},{default:()=>[("monthrange"===i?this.startMonthArray:this.startQuarterArray).map(((e,t)=>l(e,t,o,"start"))),"monthrange"===i&&Jr("div",{class:`${o}-date-panel-month-calendar__padding`})]})):null)),Jr("div",{class:`${o}-date-panel__vertical-divider`}),Jr("div",{ref:"endDatesElRef",class:`${o}-date-panel-calendar ${o}-date-panel-calendar--end`},Jr("div",{class:`${o}-date-panel-month-calendar`},Jr(Vq,{ref:"endYearScrollbarRef",class:`${o}-date-panel-month-calendar__picker-col`,theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,container:()=>this.virtualListContainer("end"),content:()=>this.virtualListContent("end"),horizontalRailStyle:{zIndex:1},verticalRailStyle:{zIndex:1}},{default:()=>Jr(kB,{ref:"endYearVlRef",items:this.endYearArray,itemSize:T0,showScrollbar:!1,keyField:"ts",onScroll:this.handleEndYearVlScroll,paddingBottom:4},{default:({item:e,index:t})=>l(e,t,o,"end")})}),"monthrange"===i||"quarterrange"===i?Jr("div",{class:`${o}-date-panel-month-calendar__picker-col`},Jr(Vq,{ref:"endMonthScrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar},{default:()=>[("monthrange"===i?this.endMonthArray:this.endQuarterArray).map(((e,t)=>l(e,t,o,"end"))),"monthrange"===i&&Jr("div",{class:`${o}-date-panel-month-calendar__padding`})]})):null)),dE(this.datePickerSlots.footer,(e=>e?Jr("div",{class:`${o}-date-panel-footer`},e):null)),(null===(e=this.actions)||void 0===e?void 0:e.length)||a?Jr("div",{class:`${o}-date-panel-actions`},Jr("div",{class:`${o}-date-panel-actions__prefix`},a&&Object.keys(a).map((e=>{const t=a[e];return Array.isArray(t)||"function"==typeof t?Jr(kG,{size:"tiny",onMouseenter:()=>{this.handleRangeShortcutMouseenter(t)},onClick:()=>{this.handleRangeShortcutClick(t)},onMouseleave:()=>{this.handleShortcutMouseleave()}},{default:()=>e}):null}))),Jr("div",{class:`${o}-date-panel-actions__suffix`},(null===(t=this.actions)||void 0===t?void 0:t.includes("clear"))?sE(this.datePickerSlots.clear,{onClear:this.handleClearClick,text:this.locale.clear},(()=>[Jr(kG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",onClick:this.handleClearClick},{default:()=>this.locale.clear})])):null,(null===(n=this.actions)||void 0===n?void 0:n.includes("confirm"))?sE(this.datePickerSlots.confirm,{disabled:this.isRangeInvalid,onConfirm:this.handleConfirmClick,text:this.locale.confirm},(()=>[Jr(kG,{theme:r.peers.Button,themeOverrides:r.peerOverrides.Button,size:"tiny",type:"primary",disabled:this.isRangeInvalid,onClick:this.handleConfirmClick},{default:()=>this.locale.confirm})])):null)):null,Jr(BV,{onFocus:this.handleFocusDetectorFocus}))}}),F4=Object.assign(Object.assign({},HW.props),{to:ID.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,updateValueOnClose:Boolean,calendarDayFormat:String,calendarHeaderYearFormat:String,calendarHeaderMonthFormat:String,calendarHeaderMonthYearSeparator:{type:String,default:" "},calendarHeaderMonthBeforeYear:{type:Boolean,default:void 0},defaultValue:[Number,Array],defaultFormattedValue:[String,Array],defaultTime:[Number,String,Array],disabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom-start"},value:[Number,Array],formattedValue:[String,Array],size:String,type:{type:String,default:"date"},valueFormat:String,separator:String,placeholder:String,startPlaceholder:String,endPlaceholder:String,format:String,dateFormat:String,timerPickerFormat:String,actions:Array,shortcuts:Object,isDateDisabled:Function,isTimeDisabled:Function,show:{type:Boolean,default:void 0},panel:Boolean,ranges:Object,firstDayOfWeek:Number,inputReadonly:Boolean,closeOnSelect:Boolean,status:String,timePickerProps:[Object,Array],onClear:Function,onConfirm:Function,defaultCalendarStartTime:Number,defaultCalendarEndTime:Number,bindCalendarMonths:Boolean,monthFormat:{type:String,default:"M"},yearFormat:{type:String,default:"y"},quarterFormat:{type:String,default:"'Q'Q"},yearRange:{type:Array,default:()=>[1901,2100]},"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],"onUpdate:formattedValue":[Function,Array],onUpdateFormattedValue:[Function,Array],"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onNextMonth:Function,onPrevMonth:Function,onNextYear:Function,onPrevYear:Function,onChange:[Function,Array]}),z4=BA([LA("date-picker","\n position: relative;\n z-index: auto;\n ",[LA("date-picker-icon","\n color: var(--n-icon-color-override);\n transition: color .3s var(--n-bezier);\n "),LA("icon","\n color: var(--n-icon-color-override);\n transition: color .3s var(--n-bezier);\n "),NA("disabled",[LA("date-picker-icon","\n color: var(--n-icon-color-disabled-override);\n "),LA("icon","\n color: var(--n-icon-color-disabled-override);\n ")])]),LA("date-panel","\n width: fit-content;\n outline: none;\n margin: 4px 0;\n display: grid;\n grid-template-columns: 0fr;\n border-radius: var(--n-panel-border-radius);\n background-color: var(--n-panel-color);\n color: var(--n-panel-text-color);\n user-select: none;\n ",[MK(),NA("shadow","\n box-shadow: var(--n-panel-box-shadow);\n "),LA("date-panel-calendar",{padding:"var(--n-calendar-left-padding)",display:"grid",gridTemplateColumns:"1fr",gridArea:"left-calendar"},[NA("end",{padding:"var(--n-calendar-right-padding)",gridArea:"right-calendar"})]),LA("date-panel-month-calendar",{display:"flex",gridArea:"left-calendar"},[jA("picker-col","\n min-width: var(--n-scroll-item-width);\n height: calc(var(--n-scroll-item-height) * 6);\n user-select: none;\n -webkit-user-select: none;\n ",[BA("&:first-child","\n min-width: calc(var(--n-scroll-item-width) + 4px);\n ",[jA("picker-col-item",[BA("&::before","left: 4px;")])]),jA("padding","\n height: calc(var(--n-scroll-item-height) * 5)\n ")]),jA("picker-col-item","\n z-index: 0;\n cursor: pointer;\n height: var(--n-scroll-item-height);\n box-sizing: border-box;\n padding-top: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n transition: \n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n background: #0000;\n color: var(--n-item-text-color);\n ",[BA("&::before",'\n z-index: -1;\n content: "";\n position: absolute;\n left: 0;\n right: 4px;\n top: 4px;\n bottom: 0;\n border-radius: var(--n-scroll-item-border-radius);\n transition: \n background-color .3s var(--n-bezier);\n '),HA("disabled",[BA("&:hover::before","\n background-color: var(--n-item-color-hover);\n "),NA("selected","\n color: var(--n-item-color-active);\n ",[BA("&::before","background-color: var(--n-item-color-hover);")])]),NA("disabled","\n color: var(--n-item-text-color-disabled);\n cursor: not-allowed;\n ",[NA("selected",[BA("&::before","\n background-color: var(--n-item-color-disabled);\n ")])])])]),NA("date",{gridTemplateAreas:'\n "left-calendar"\n "footer"\n "action"\n '}),NA("week",{gridTemplateAreas:'\n "left-calendar"\n "footer"\n "action"\n '}),NA("daterange",{gridTemplateAreas:'\n "left-calendar divider right-calendar"\n "footer footer footer"\n "action action action"\n '}),NA("datetime",{gridTemplateAreas:'\n "header"\n "left-calendar"\n "footer"\n "action"\n '}),NA("datetimerange",{gridTemplateAreas:'\n "header header header"\n "left-calendar divider right-calendar"\n "footer footer footer"\n "action action action"\n '}),NA("month",{gridTemplateAreas:'\n "left-calendar"\n "footer"\n "action"\n '}),LA("date-panel-footer",{gridArea:"footer"}),LA("date-panel-actions",{gridArea:"action"}),LA("date-panel-header",{gridArea:"header"}),LA("date-panel-header","\n box-sizing: border-box;\n width: 100%;\n align-items: center;\n padding: var(--n-panel-header-padding);\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid var(--n-panel-header-divider-color);\n ",[BA(">",[BA("*:not(:last-child)",{marginRight:"10px"}),BA("*",{flex:1,width:0}),LA("time-picker",{zIndex:1})])]),LA("date-panel-month","\n box-sizing: border-box;\n display: grid;\n grid-template-columns: var(--n-calendar-title-grid-template-columns);\n align-items: center;\n justify-items: center;\n padding: var(--n-calendar-title-padding);\n height: var(--n-calendar-title-height);\n ",[jA("prev, next, fast-prev, fast-next","\n line-height: 0;\n cursor: pointer;\n width: var(--n-arrow-size);\n height: var(--n-arrow-size);\n color: var(--n-arrow-color);\n "),jA("month-year","\n user-select: none;\n -webkit-user-select: none;\n flex-grow: 1;\n position: relative;\n ",[jA("text","\n font-size: var(--n-calendar-title-font-size);\n line-height: var(--n-calendar-title-font-size);\n font-weight: var(--n-calendar-title-font-weight);\n padding: 6px 8px;\n text-align: center;\n color: var(--n-calendar-title-text-color);\n cursor: pointer;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-panel-border-radius);\n ",[NA("active","\n background-color: var(--n-calendar-title-color-hover);\n "),BA("&:hover","\n background-color: var(--n-calendar-title-color-hover);\n ")])])]),LA("date-panel-weekdays","\n display: grid;\n margin: auto;\n grid-template-columns: repeat(7, var(--n-item-cell-width));\n grid-template-rows: repeat(1, var(--n-item-cell-height));\n align-items: center;\n justify-items: center;\n margin-bottom: 4px;\n border-bottom: 1px solid var(--n-calendar-days-divider-color);\n ",[jA("day","\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n line-height: 15px;\n width: var(--n-item-size);\n text-align: center;\n font-size: var(--n-calendar-days-font-size);\n color: var(--n-item-text-color);\n display: flex;\n align-items: center;\n justify-content: center;\n ")]),LA("date-panel-dates","\n margin: auto;\n display: grid;\n grid-template-columns: repeat(7, var(--n-item-cell-width));\n grid-template-rows: repeat(6, var(--n-item-cell-height));\n align-items: center;\n justify-items: center;\n flex-wrap: wrap;\n ",[LA("date-panel-date","\n user-select: none;\n -webkit-user-select: none;\n position: relative;\n width: var(--n-item-size);\n height: var(--n-item-size);\n line-height: var(--n-item-size);\n text-align: center;\n font-size: var(--n-item-font-size);\n border-radius: var(--n-item-border-radius);\n z-index: 0;\n cursor: pointer;\n transition:\n background-color .2s var(--n-bezier),\n color .2s var(--n-bezier);\n ",[jA("trigger","\n position: absolute;\n left: calc(var(--n-item-size) / 2 - var(--n-item-cell-width) / 2);\n top: calc(var(--n-item-size) / 2 - var(--n-item-cell-height) / 2);\n width: var(--n-item-cell-width);\n height: var(--n-item-cell-height);\n "),NA("current",[jA("sup",'\n position: absolute;\n top: 2px;\n right: 2px;\n content: "";\n height: 4px;\n width: 4px;\n border-radius: 2px;\n background-color: var(--n-item-color-active);\n transition:\n background-color .2s var(--n-bezier);\n ')]),BA("&::after",'\n content: "";\n z-index: -1;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n transition: background-color .3s var(--n-bezier);\n '),NA("covered, start, end",[HA("excluded",[BA("&::before",'\n content: "";\n z-index: -2;\n position: absolute;\n left: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n right: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n top: 0;\n bottom: 0;\n background-color: var(--n-item-color-included);\n '),BA("&:nth-child(7n + 1)::before",{borderTopLeftRadius:"var(--n-item-border-radius)",borderBottomLeftRadius:"var(--n-item-border-radius)"}),BA("&:nth-child(7n + 7)::before",{borderTopRightRadius:"var(--n-item-border-radius)",borderBottomRightRadius:"var(--n-item-border-radius)"})])]),NA("selected",{color:"var(--n-item-text-color-active)"},[BA("&::after",{backgroundColor:"var(--n-item-color-active)"}),NA("start",[BA("&::before",{left:"50%"})]),NA("end",[BA("&::before",{right:"50%"})]),jA("sup",{backgroundColor:"var(--n-panel-color)"})]),NA("excluded",{color:"var(--n-item-text-color-disabled)"},[NA("selected",[BA("&::after",{backgroundColor:"var(--n-item-color-disabled)"})])]),NA("disabled",{cursor:"not-allowed",color:"var(--n-item-text-color-disabled)"},[NA("covered",[BA("&::before",{backgroundColor:"var(--n-item-color-disabled)"})]),NA("selected",[BA("&::before",{backgroundColor:"var(--n-item-color-disabled)"}),BA("&::after",{backgroundColor:"var(--n-item-color-disabled)"})])]),NA("week-hovered",[BA("&::before","\n background-color: var(--n-item-color-included);\n "),BA("&:nth-child(7n + 1)::before","\n border-top-left-radius: var(--n-item-border-radius);\n border-bottom-left-radius: var(--n-item-border-radius);\n "),BA("&:nth-child(7n + 7)::before","\n border-top-right-radius: var(--n-item-border-radius);\n border-bottom-right-radius: var(--n-item-border-radius);\n ")]),NA("week-selected","\n color: var(--n-item-text-color-active)\n ",[BA("&::before","\n background-color: var(--n-item-color-active);\n "),BA("&:nth-child(7n + 1)::before","\n border-top-left-radius: var(--n-item-border-radius);\n border-bottom-left-radius: var(--n-item-border-radius);\n "),BA("&:nth-child(7n + 7)::before","\n border-top-right-radius: var(--n-item-border-radius);\n border-bottom-right-radius: var(--n-item-border-radius);\n ")])])]),HA("week",[LA("date-panel-dates",[LA("date-panel-date",[HA("disabled",[HA("selected",[BA("&:hover","\n background-color: var(--n-item-color-hover);\n ")])])])])]),NA("week",[LA("date-panel-dates",[LA("date-panel-date",[BA("&::before",'\n content: "";\n z-index: -2;\n position: absolute;\n left: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n right: calc((var(--n-item-size) - var(--n-item-cell-width)) / 2);\n top: 0;\n bottom: 0;\n transition: background-color .3s var(--n-bezier);\n ')])])]),jA("vertical-divider","\n grid-area: divider;\n height: 100%;\n width: 1px;\n background-color: var(--n-calendar-divider-color);\n "),LA("date-panel-footer","\n border-top: 1px solid var(--n-panel-action-divider-color);\n padding: var(--n-panel-extra-footer-padding);\n "),LA("date-panel-actions","\n flex: 1;\n padding: var(--n-panel-action-padding);\n display: flex;\n align-items: center;\n justify-content: space-between;\n border-top: 1px solid var(--n-panel-action-divider-color);\n ",[jA("prefix, suffix","\n display: flex;\n margin-bottom: -8px;\n "),jA("suffix","\n align-self: flex-end;\n "),jA("prefix","\n flex-wrap: wrap;\n "),LA("button","\n margin-bottom: 8px;\n ",[BA("&:not(:last-child)","\n margin-right: 8px;\n ")])])]),BA("[data-n-date].transition-disabled",{transition:"none !important"},[BA("&::before, &::after",{transition:"none !important"})])]);const M4=$n({name:"DatePicker",props:F4,slots:Object,setup(e,{slots:t}){var n;const{localeRef:o,dateLocaleRef:r}=AW("DatePicker"),a=bE(e),{mergedSizeRef:i,mergedDisabledRef:l,mergedStatusRef:s}=a,{mergedComponentPropsRef:d,mergedClsPrefixRef:c,mergedBorderedRef:u,namespaceRef:h,inlineThemeDisabled:p}=fE(e),f=vt(null),m=vt(null),v=vt(null),g=vt(!1),b=xD(Ft(e,"show"),g),y=Qr((()=>({locale:r.value.locale,useAdditionalWeekYearTokens:!0}))),_=Qr((()=>{const{format:t}=e;if(t)return t;switch(e.type){case"date":case"daterange":return o.value.dateFormat;case"datetime":case"datetimerange":return o.value.dateTimeFormat;case"year":case"yearrange":return o.value.yearTypeFormat;case"month":case"monthrange":return o.value.monthTypeFormat;case"quarter":case"quarterrange":return o.value.quarterFormat;case"week":return o.value.weekFormat}})),x=Qr((()=>{var t;return null!==(t=e.valueFormat)&&void 0!==t?t:_.value}));function C(e){if(null===e)return null;const{value:t}=x,{value:n}=y;return Array.isArray(e)?[GZ(e[0],t,new Date,n).getTime(),GZ(e[1],t,new Date,n).getTime()]:GZ(e,t,new Date,n).getTime()}const{defaultFormattedValue:w,defaultValue:S}=e,k=vt(null!==(n=void 0!==w?C(w):S)&&void 0!==n?n:null),P=xD(Qr((()=>{const{formattedValue:t}=e;return void 0!==t?C(t):e.value})),k),T=vt(null);Jo((()=>{T.value=P.value}));const R=vt(""),F=vt(""),z=vt(""),M=HW("DatePicker","-date-picker",z4,S0,e,c),$=Qr((()=>{var e,t;return(null===(t=null===(e=null==d?void 0:d.value)||void 0===e?void 0:e.DatePicker)||void 0===t?void 0:t.timePickerSize)||"small"})),A=Qr((()=>["daterange","datetimerange","monthrange","quarterrange","yearrange"].includes(e.type))),O=Qr((()=>{const{placeholder:t}=e;if(void 0!==t)return t;{const{type:t}=e;switch(t){case"date":return o.value.datePlaceholder;case"datetime":return o.value.datetimePlaceholder;case"month":return o.value.monthPlaceholder;case"year":return o.value.yearPlaceholder;case"quarter":return o.value.quarterPlaceholder;case"week":return o.value.weekPlaceholder;default:return""}}})),D=Qr((()=>void 0===e.startPlaceholder?"daterange"===e.type?o.value.startDatePlaceholder:"datetimerange"===e.type?o.value.startDatetimePlaceholder:"monthrange"===e.type?o.value.startMonthPlaceholder:"":e.startPlaceholder)),I=Qr((()=>void 0===e.endPlaceholder?"daterange"===e.type?o.value.endDatePlaceholder:"datetimerange"===e.type?o.value.endDatetimePlaceholder:"monthrange"===e.type?o.value.endMonthPlaceholder:"":e.endPlaceholder)),B=Qr((()=>{const{actions:t,type:n,clearable:o}=e;if(null===t)return[];if(void 0!==t)return t;const r=o?["clear"]:[];switch(n){case"date":case"week":case"year":return r.push("now"),r;case"datetime":case"month":case"quarter":return r.push("now","confirm"),r;case"daterange":case"datetimerange":case"monthrange":case"yearrange":case"quarterrange":return r.push("confirm"),r}}));function E(t,n){const{"onUpdate:value":o,onUpdateValue:r,onChange:i}=e,{nTriggerFormChange:l,nTriggerFormInput:s}=a,d=function(e){if(null===e)return null;if(Array.isArray(e)){const{value:t}=x,{value:n}=y;return[CX(e[0],t,n),CX(e[1],t,y.value)]}return CX(e,x.value,y.value)}(t);n.doConfirm&&function(t,n){const{onConfirm:o}=e;o&&o(t,n)}(t,d),r&&GB(r,t,d),o&&GB(o,t,d),i&&GB(i,t,d),k.value=t,function(t,n){const{"onUpdate:formattedValue":o,onUpdateFormattedValue:r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(d,t),l(),s()}function L(){const{onClear:t}=e;null==t||t()}function j(t){const{"onUpdate:show":n,onUpdateShow:o}=e;n&&GB(n,t),o&&GB(o,t),g.value=t}function N(){const e=T.value;E(Array.isArray(e)?[e[0],e[1]]:e,{doConfirm:!0})}function H(){const{value:e}=T;A.value?(Array.isArray(e)||null===e)&&function(e){if(null===e)F.value="",z.value="";else{const t=y.value;F.value=CX(e[0],_.value,t),z.value=CX(e[1],_.value,t)}}(e):Array.isArray(e)||function(e){R.value=null===e?"":CX(e,_.value,y.value)}(e)}function W(){l.value||b.value||j(!0)}function V({returnFocus:t,disableUpdateOnClose:n}){var o;b.value&&(j(!1),"date"!==e.type&&e.updateValueOnClose&&!n&&N(),t&&(null===(o=v.value)||void 0===o||o.focus()))}er(T,(()=>{H()})),H(),er(b,(e=>{e||(T.value=P.value)}));const U=function(e,t){const n=Qr((()=>{const{isTimeDisabled:n}=e,{value:o}=t;if(null!==o&&!Array.isArray(o))return null==n?void 0:n(o)})),o=Qr((()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.isHourDisabled})),r=Qr((()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.isMinuteDisabled})),a=Qr((()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.isSecondDisabled})),i=Qr((()=>{const{type:n,isDateDisabled:o}=e,{value:r}=t;return!(null===r||Array.isArray(r)||!["date","datetime"].includes(n)||!o)&&o(r,{type:"input"})})),l=Qr((()=>{const{type:n}=e,{value:i}=t;if(null===i||"datetime"===n||Array.isArray(i))return!1;const l=new Date(i),s=l.getHours(),d=l.getMinutes(),c=l.getMinutes();return!!o.value&&o.value(s)||!!r.value&&r.value(d,s)||!!a.value&&a.value(c,d,s)})),s=Qr((()=>i.value||l.value));return{isValueInvalidRef:Qr((()=>{const{type:t}=e;return"date"===t?i.value:"datetime"===t&&s.value})),isDateInvalidRef:i,isTimeInvalidRef:l,isDateTimeInvalidRef:s,isHourDisabledRef:o,isMinuteDisabledRef:r,isSecondDisabledRef:a}}(e,T),q=function(e,t){const n=Qr((()=>{const{isTimeDisabled:n}=e,{value:o}=t;return Array.isArray(o)&&n?[null==n?void 0:n(o[0],"start",o),null==n?void 0:n(o[1],"end",o)]:[void 0,void 0]})),o={isStartHourDisabledRef:Qr((()=>{var e;return null===(e=n.value[0])||void 0===e?void 0:e.isHourDisabled})),isEndHourDisabledRef:Qr((()=>{var e;return null===(e=n.value[1])||void 0===e?void 0:e.isHourDisabled})),isStartMinuteDisabledRef:Qr((()=>{var e;return null===(e=n.value[0])||void 0===e?void 0:e.isMinuteDisabled})),isEndMinuteDisabledRef:Qr((()=>{var e;return null===(e=n.value[1])||void 0===e?void 0:e.isMinuteDisabled})),isStartSecondDisabledRef:Qr((()=>{var e;return null===(e=n.value[0])||void 0===e?void 0:e.isSecondDisabled})),isEndSecondDisabledRef:Qr((()=>{var e;return null===(e=n.value[1])||void 0===e?void 0:e.isSecondDisabled}))},r=Qr((()=>{const{type:n,isDateDisabled:o}=e,{value:r}=t;return!!(null!==r&&Array.isArray(r)&&["daterange","datetimerange"].includes(n)&&o)&&o(r[0],"start",r)})),a=Qr((()=>{const{type:n,isDateDisabled:o}=e,{value:r}=t;return!!(null!==r&&Array.isArray(r)&&["daterange","datetimerange"].includes(n)&&o)&&o(r[1],"end",r)})),i=Qr((()=>{const{type:n}=e,{value:r}=t;if(null===r||!Array.isArray(r)||"datetimerange"!==n)return!1;const a=PX(r[0]),i=TX(r[0]),l=FX(r[0]),{isStartHourDisabledRef:s,isStartMinuteDisabledRef:d,isStartSecondDisabledRef:c}=o;return!!s.value&&s.value(a)||!!d.value&&d.value(i,a)||!!c.value&&c.value(l,i,a)})),l=Qr((()=>{const{type:n}=e,{value:r}=t;if(null===r||!Array.isArray(r)||"datetimerange"!==n)return!1;const a=PX(r[1]),i=TX(r[1]),l=FX(r[1]),{isEndHourDisabledRef:s,isEndMinuteDisabledRef:d,isEndSecondDisabledRef:c}=o;return!!s.value&&s.value(a)||!!d.value&&d.value(i,a)||!!c.value&&c.value(l,i,a)})),s=Qr((()=>r.value||i.value)),d=Qr((()=>a.value||l.value)),c=Qr((()=>s.value||d.value));return Object.assign(Object.assign({},o),{isStartDateInvalidRef:r,isEndDateInvalidRef:a,isStartTimeInvalidRef:i,isEndTimeInvalidRef:l,isStartValueInvalidRef:s,isEndValueInvalidRef:d,isRangeInvalidRef:c})}(e,T);To(P0,Object.assign(Object.assign(Object.assign({mergedClsPrefixRef:c,mergedThemeRef:M,timePickerSizeRef:$,localeRef:o,dateLocaleRef:r,firstDayOfWeekRef:Ft(e,"firstDayOfWeek"),isDateDisabledRef:Ft(e,"isDateDisabled"),rangesRef:Ft(e,"ranges"),timePickerPropsRef:Ft(e,"timePickerProps"),closeOnSelectRef:Ft(e,"closeOnSelect"),updateValueOnCloseRef:Ft(e,"updateValueOnClose"),monthFormatRef:Ft(e,"monthFormat"),yearFormatRef:Ft(e,"yearFormat"),quarterFormatRef:Ft(e,"quarterFormat"),yearRangeRef:Ft(e,"yearRange")},U),q),{datePickerSlots:t}));const K={focus:()=>{var e;null===(e=v.value)||void 0===e||e.focus()},blur:()=>{var e;null===(e=v.value)||void 0===e||e.blur()}},Y=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{iconColor:t,iconColorDisabled:n}}=M.value;return{"--n-bezier":e,"--n-icon-color-override":t,"--n-icon-color-disabled-override":n}})),G=p?vE("date-picker-trigger",void 0,Y,e):void 0,X=Qr((()=>{const{type:t}=e,{common:{cubicBezierEaseInOut:n},self:{calendarTitleFontSize:o,calendarDaysFontSize:r,itemFontSize:a,itemTextColor:i,itemColorDisabled:l,itemColorIncluded:s,itemColorHover:d,itemColorActive:c,itemBorderRadius:u,itemTextColorDisabled:h,itemTextColorActive:p,panelColor:f,panelTextColor:m,arrowColor:v,calendarTitleTextColor:g,panelActionDividerColor:b,panelHeaderDividerColor:y,calendarDaysDividerColor:_,panelBoxShadow:x,panelBorderRadius:C,calendarTitleFontWeight:w,panelExtraFooterPadding:S,panelActionPadding:k,itemSize:P,itemCellWidth:T,itemCellHeight:R,scrollItemWidth:F,scrollItemHeight:z,calendarTitlePadding:$,calendarTitleHeight:A,calendarDaysHeight:O,calendarDaysTextColor:D,arrowSize:I,panelHeaderPadding:B,calendarDividerColor:E,calendarTitleGridTempateColumns:L,iconColor:j,iconColorDisabled:N,scrollItemBorderRadius:H,calendarTitleColorHover:W,[KA("calendarLeftPadding",t)]:V,[KA("calendarRightPadding",t)]:U}}=M.value;return{"--n-bezier":n,"--n-panel-border-radius":C,"--n-panel-color":f,"--n-panel-box-shadow":x,"--n-panel-text-color":m,"--n-panel-header-padding":B,"--n-panel-header-divider-color":y,"--n-calendar-left-padding":V,"--n-calendar-right-padding":U,"--n-calendar-title-color-hover":W,"--n-calendar-title-height":A,"--n-calendar-title-padding":$,"--n-calendar-title-font-size":o,"--n-calendar-title-font-weight":w,"--n-calendar-title-text-color":g,"--n-calendar-title-grid-template-columns":L,"--n-calendar-days-height":O,"--n-calendar-days-divider-color":_,"--n-calendar-days-font-size":r,"--n-calendar-days-text-color":D,"--n-calendar-divider-color":E,"--n-panel-action-padding":k,"--n-panel-extra-footer-padding":S,"--n-panel-action-divider-color":b,"--n-item-font-size":a,"--n-item-border-radius":u,"--n-item-size":P,"--n-item-cell-width":T,"--n-item-cell-height":R,"--n-item-text-color":i,"--n-item-color-included":s,"--n-item-color-disabled":l,"--n-item-color-hover":d,"--n-item-color-active":c,"--n-item-text-color-disabled":h,"--n-item-text-color-active":p,"--n-scroll-item-width":F,"--n-scroll-item-height":z,"--n-scroll-item-border-radius":H,"--n-arrow-size":I,"--n-arrow-color":v,"--n-icon-color":j,"--n-icon-color-disabled":N}})),Z=p?vE("date-picker",Qr((()=>e.type)),X,e):void 0;return Object.assign(Object.assign({},K),{mergedStatus:s,mergedClsPrefix:c,mergedBordered:u,namespace:h,uncontrolledValue:k,pendingValue:T,panelInstRef:f,triggerElRef:m,inputInstRef:v,isMounted:CD(),displayTime:R,displayStartTime:F,displayEndTime:z,mergedShow:b,adjustedTo:ID(e),isRange:A,localizedStartPlaceholder:D,localizedEndPlaceholder:I,mergedSize:i,mergedDisabled:l,localizedPlacehoder:O,isValueInvalid:U.isValueInvalidRef,isStartValueInvalid:q.isStartValueInvalidRef,isEndValueInvalid:q.isEndValueInvalidRef,handleInputKeydown:function(e){"Escape"===e.key&&b.value&&VB(e)},handleClickOutside:function(e){var t;b.value&&!(null===(t=m.value)||void 0===t?void 0:t.contains(JA(e)))&&V({returnFocus:!1})},handleKeydown:function(e){"Escape"===e.key&&b.value&&(VB(e),V({returnFocus:!0}))},handleClear:function(){var e;j(!1),null===(e=v.value)||void 0===e||e.deactivate(),L()},handlePanelClear:function(){var e;null===(e=v.value)||void 0===e||e.deactivate(),L()},handleTriggerClick:function(e){l.value||QA(e,"clear")||b.value||W()},handleInputActivate:function(){b.value||W()},handleInputDeactivate:function(){l.value||(H(),V({returnFocus:!1}))},handleInputFocus:function(t){l.value||function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=a;n&&GB(n,t),o()}(t)},handleInputBlur:function(t){var n;(null===(n=f.value)||void 0===n?void 0:n.$el.contains(t.relatedTarget))||(!function(t){const{onBlur:n}=e,{nTriggerFormBlur:o}=a;n&&GB(n,t),o()}(t),H(),V({returnFocus:!1}))},handlePanelTabOut:function(){V({returnFocus:!0})},handlePanelClose:function(e){V({returnFocus:!0,disableUpdateOnClose:e})},handleRangeUpdateValue:function(e,{source:t}){if(""===e[0]&&""===e[1])return E(null,{doConfirm:!1}),T.value=null,F.value="",void(z.value="");const[n,o]=e,r=GZ(n,_.value,new Date,y.value),a=GZ(o,_.value,new Date,y.value);if(NG(r)&&NG(a)){let e=zX(r),n=zX(a);a{const{type:e}=this;return"datetime"===e?Jr(P4,Object.assign({},r,{defaultCalendarStartTime:this.defaultCalendarStartTime}),o):"daterange"===e?Jr(B0,Object.assign({},r,{defaultCalendarStartTime:this.defaultCalendarStartTime,defaultCalendarEndTime:this.defaultCalendarEndTime,bindCalendarMonths:this.bindCalendarMonths}),o):"datetimerange"===e?Jr(T4,Object.assign({},r,{defaultCalendarStartTime:this.defaultCalendarStartTime,defaultCalendarEndTime:this.defaultCalendarEndTime,bindCalendarMonths:this.bindCalendarMonths}),o):"month"===e||"year"===e||"quarter"===e?Jr($0,Object.assign({},r,{type:e,key:e})):"monthrange"===e||"yearrange"===e||"quarterrange"===e?Jr(R4,Object.assign({},r,{type:e})):Jr(O0,Object.assign({},r,{type:e,defaultCalendarStartTime:this.defaultCalendarStartTime}),o)};if(this.panel)return a();null==t||t();const i={bordered:this.mergedBordered,size:this.mergedSize,passivelyActivated:!0,disabled:this.mergedDisabled,readonly:this.inputReadonly||this.mergedDisabled,clearable:e,onClear:this.handleClear,onClick:this.handleTriggerClick,onKeydown:this.handleInputKeydown,onActivate:this.handleInputActivate,onDeactivate:this.handleInputDeactivate,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur};return Jr("div",{ref:"triggerElRef",class:[`${n}-date-picker`,this.mergedDisabled&&`${n}-date-picker--disabled`,this.isRange&&`${n}-date-picker--range`,this.triggerThemeClass],style:this.triggerCssVars,onKeydown:this.handleKeydown},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>this.isRange?Jr(BY,Object.assign({ref:"inputInstRef",status:this.mergedStatus,value:[this.displayStartTime,this.displayEndTime],placeholder:[this.localizedStartPlaceholder,this.localizedEndPlaceholder],textDecoration:[this.isStartValueInvalid?"line-through":"",this.isEndValueInvalid?"line-through":""],pair:!0,onUpdateValue:this.handleRangeUpdateValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,internalForceFocus:this.mergedShow,internalDeactivateOnEnter:!0},i),{separator:()=>void 0===this.separator?lE(o.separator,(()=>[Jr(VW,{clsPrefix:n,class:`${n}-date-picker-icon`},{default:()=>Jr(kV,null)})])):this.separator,[e?"clear-icon-placeholder":"suffix"]:()=>lE(o["date-icon"],(()=>[Jr(VW,{clsPrefix:n,class:`${n}-date-picker-icon`},{default:()=>Jr(rV,null)})]))}):Jr(BY,Object.assign({ref:"inputInstRef",status:this.mergedStatus,value:this.displayTime,placeholder:this.localizedPlacehoder,textDecoration:this.isValueInvalid&&!this.isRange?"line-through":"",onUpdateValue:this.handleSingleUpdateValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,internalForceFocus:this.mergedShow,internalDeactivateOnEnter:!0},i),{[e?"clear-icon-placeholder":"suffix"]:()=>Jr(VW,{clsPrefix:n,class:`${n}-date-picker-icon`},{default:()=>lE(o["date-icon"],(()=>[Jr(rV,null)]))})})}),Jr(FI,{show:this.mergedShow,containerClass:this.namespace,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey,placement:this.placement},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.mergedShow?on(a(),[[sI,this.handleClickOutside,void 0,{capture:!0}]]):null})})]}))}}),$4={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"};function A4(e){const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:a,popoverColor:i,dividerColor:l,borderRadius:s,fontWeightStrong:d,lineHeight:c,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p}=e;return Object.assign(Object.assign({},$4),{lineHeight:c,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,titleTextColor:o,thColor:OO(r,t),thColorModal:OO(a,t),thColorPopover:OO(i,t),thTextColor:o,thFontWeight:d,tdTextColor:n,tdColor:r,tdColorModal:a,tdColorPopover:i,borderColor:OO(r,l),borderColorModal:OO(a,l),borderColorPopover:OO(i,l),borderRadius:s})}const O4={name:"Descriptions",common:Eq,self:A4},D4={name:"Descriptions",common:KU,self:A4},I4="n-dialog-provider",B4="n-dialog-api";function E4(){const e=Ro(B4,null);return null===e&&YB("use-dialog","No outer founded."),e}const L4={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"};function j4(e){const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:l,closeColorPressed:s,infoColor:d,successColor:c,warningColor:u,errorColor:h,primaryColor:p,dividerColor:f,borderRadius:m,fontWeightStrong:v,lineHeight:g,fontSize:b}=e;return Object.assign(Object.assign({},L4),{fontSize:b,lineHeight:g,border:`1px solid ${f}`,titleTextColor:t,textColor:n,color:o,closeColorHover:l,closeColorPressed:s,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeBorderRadius:m,iconColor:p,iconColorInfo:d,iconColorSuccess:c,iconColorWarning:u,iconColorError:h,borderRadius:m,titleFontWeight:v})}const N4={name:"Dialog",common:Eq,peers:{Button:xG},self:j4},H4={name:"Dialog",common:KU,peers:{Button:CG},self:j4},W4={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function},V4=nE(W4),U4=BA([LA("dialog","\n --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left);\n word-break: break-word;\n line-height: var(--n-line-height);\n position: relative;\n background: var(--n-color);\n color: var(--n-text-color);\n box-sizing: border-box;\n margin: auto;\n border-radius: var(--n-border-radius);\n padding: var(--n-padding);\n transition: \n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ",[jA("icon",{color:"var(--n-icon-color)"}),NA("bordered",{border:"var(--n-border)"}),NA("icon-top",[jA("close",{margin:"var(--n-close-margin)"}),jA("icon",{margin:"var(--n-icon-margin)"}),jA("content",{textAlign:"center"}),jA("title",{justifyContent:"center"}),jA("action",{justifyContent:"center"})]),NA("icon-left",[jA("icon",{margin:"var(--n-icon-margin)"}),NA("closable",[jA("title","\n padding-right: calc(var(--n-close-size) + 6px);\n ")])]),jA("close","\n position: absolute;\n right: 0;\n top: 0;\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n z-index: 1;\n "),jA("content","\n font-size: var(--n-font-size);\n margin: var(--n-content-margin);\n position: relative;\n word-break: break-word;\n ",[NA("last","margin-bottom: 0;")]),jA("action","\n display: flex;\n justify-content: flex-end;\n ",[BA("> *:not(:last-child)","\n margin-right: var(--n-action-space);\n ")]),jA("icon","\n font-size: var(--n-icon-size);\n transition: color .3s var(--n-bezier);\n "),jA("title","\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n font-size: var(--n-title-font-size);\n font-weight: var(--n-title-font-weight);\n color: var(--n-title-text-color);\n "),LA("dialog-icon-container","\n display: flex;\n justify-content: center;\n ")]),WA(LA("dialog","\n width: 446px;\n max-width: calc(100vw - 32px);\n ")),LA("dialog",[UA("\n width: 446px;\n max-width: calc(100vw - 32px);\n ")])]),q4={default:()=>Jr(fV,null),info:()=>Jr(fV,null),success:()=>Jr(CV,null),warning:()=>Jr(TV,null),error:()=>Jr(lV,null)},K4=$n({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},HW.props),W4),slots:Object,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=fE(e),a=DW("Dialog",r,n),i=Qr((()=>{var n,o;const{iconPlacement:r}=e;return r||(null===(o=null===(n=null==t?void 0:t.value)||void 0===n?void 0:n.Dialog)||void 0===o?void 0:o.iconPlacement)||"left"}));const l=HW("Dialog","-dialog",U4,N4,e,n),s=Qr((()=>{const{type:t}=e,n=i.value,{common:{cubicBezierEaseInOut:o},self:{fontSize:r,lineHeight:a,border:s,titleTextColor:d,textColor:c,color:u,closeBorderRadius:h,closeColorHover:p,closeColorPressed:f,closeIconColor:m,closeIconColorHover:v,closeIconColorPressed:g,closeIconSize:b,borderRadius:y,titleFontWeight:_,titleFontSize:x,padding:C,iconSize:w,actionSpace:S,contentMargin:k,closeSize:P,["top"===n?"iconMarginIconTop":"iconMargin"]:T,["top"===n?"closeMarginIconTop":"closeMargin"]:R,[KA("iconColor",t)]:F}}=l.value,z=oO(T);return{"--n-font-size":r,"--n-icon-color":F,"--n-bezier":o,"--n-close-margin":R,"--n-icon-margin-top":z.top,"--n-icon-margin-right":z.right,"--n-icon-margin-bottom":z.bottom,"--n-icon-margin-left":z.left,"--n-icon-size":w,"--n-close-size":P,"--n-close-icon-size":b,"--n-close-border-radius":h,"--n-close-color-hover":p,"--n-close-color-pressed":f,"--n-close-icon-color":m,"--n-close-icon-color-hover":v,"--n-close-icon-color-pressed":g,"--n-color":u,"--n-text-color":c,"--n-border-radius":y,"--n-padding":C,"--n-line-height":a,"--n-border":s,"--n-content-margin":k,"--n-title-font-size":x,"--n-title-font-weight":_,"--n-title-text-color":d,"--n-action-space":S}})),d=o?vE("dialog",Qr((()=>`${e.type[0]}${i.value[0]}`)),s,e):void 0;return{mergedClsPrefix:n,rtlEnabled:a,mergedIconPlacement:i,mergedTheme:l,handlePositiveClick:function(t){const{onPositiveClick:n}=e;n&&n(t)},handleNegativeClick:function(t){const{onNegativeClick:n}=e;n&&n(t)},handleCloseClick:function(){const{onClose:t}=e;t&&t()},cssVars:o?void 0:s,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:a,title:i,content:l,action:s,negativeText:d,positiveText:c,positiveButtonProps:u,negativeButtonProps:h,handlePositiveClick:p,handleNegativeClick:f,mergedTheme:m,loading:v,type:g,mergedClsPrefix:b}=this;null===(e=this.onRender)||void 0===e||e.call(this);const y=a?Jr(VW,{clsPrefix:b,class:`${b}-dialog__icon`},{default:()=>dE(this.$slots.icon,(e=>e||(this.icon?aE(this.icon):q4[this.type]())))}):null,_=dE(this.$slots.action,(e=>e||c||d||s?Jr("div",{class:[`${b}-dialog__action`,this.actionClass],style:this.actionStyle},e||(s?[aE(s)]:[this.negativeText&&Jr(SG,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,ghost:!0,size:"small",onClick:f},h),{default:()=>aE(this.negativeText)}),this.positiveText&&Jr(SG,Object.assign({theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:"small",type:"default"===g?"primary":g,disabled:v,loading:v,onClick:p},u),{default:()=>aE(this.positiveText)})])):null));return Jr("div",{class:[`${b}-dialog`,this.themeClass,this.closable&&`${b}-dialog--closable`,`${b}-dialog--icon-${n}`,t&&`${b}-dialog--bordered`,this.rtlEnabled&&`${b}-dialog--rtl`],style:o,role:"dialog"},r?dE(this.$slots.close,(e=>{const t=[`${b}-dialog__close`,this.rtlEnabled&&`${b}-dialog--rtl`];return e?Jr("div",{class:t},e):Jr(DV,{clsPrefix:b,class:t,onClick:this.handleCloseClick})})):null,a&&"top"===n?Jr("div",{class:`${b}-dialog-icon-container`},y):null,Jr("div",{class:[`${b}-dialog__title`,this.titleClass],style:this.titleStyle},a&&"left"===n?y:null,lE(this.$slots.header,(()=>[aE(i)]))),Jr("div",{class:[`${b}-dialog__content`,_?"":`${b}-dialog__content--last`,this.contentClass],style:this.contentStyle},lE(this.$slots.default,(()=>[aE(l)]))),_)}});function Y4(e){const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}}const G4={name:"Modal",common:Eq,peers:{Scrollbar:Nq,Dialog:N4,Card:rQ},self:Y4},X4={name:"Modal",common:KU,peers:{Scrollbar:Hq,Dialog:H4,Card:aQ},self:Y4},Z4="n-modal-api";function Q4(){const e=Ro(Z4,null);return null===e&&YB("use-modal","No outer founded."),e}const J4="n-draggable";const e2=Object.assign(Object.assign({},lQ),W4),t2=nE(e2),n2=$n({name:"ModalBody",inheritAttrs:!1,slots:Object,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean,draggable:{type:[Boolean,Object],default:!1}},e2),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=vt(null),n=vt(null),o=vt(e.show),r=vt(null),a=vt(null),i=Ro(AD);let l=null;er(Ft(e,"show"),(e=>{e&&(l=i.getMousePosition())}),{immediate:!0});const{stopDrag:s,startDrag:d,draggableRef:c,draggableClassRef:u}=function(e,t){let n;const o=Qr((()=>!1!==e.value)),r=Qr((()=>o.value?J4:"")),a=Qr((()=>{const t=e.value;return!0===t||!1===t||!t||"none"!==t.bounds}));function i(){n&&(n(),n=void 0)}return Zn(i),{stopDrag:i,startDrag:function(e){const o=e.querySelector(`.${J4}`);if(!o||!r.value)return;let i,l=0,s=0,d=0,c=0,u=0,h=0;function p(t){t.preventDefault(),i=t;const{x:n,y:o,right:r,bottom:a}=e.getBoundingClientRect();s=n,c=o,l=window.innerWidth-r,d=window.innerHeight-a;const{left:p,top:f}=e.style;u=+f.slice(0,-2),h=+p.slice(0,-2)}function f(t){if(!i)return;const{clientX:n,clientY:o}=i;let r=t.clientX-n,p=t.clientY-o;a.value&&(r>l?r=l:-r>s&&(r=-s),p>d?p=d:-p>c&&(p=-c));const f=r+h,m=p+u;e.style.top=`${m}px`,e.style.left=`${f}px`}function m(){i=void 0,t.onEnd(e)}eD("mousedown",o,p),eD("mousemove",window,f),eD("mouseup",window,m),n=()=>{tD("mousedown",o,p),eD("mousemove",window,f),eD("mouseup",window,m)}},draggableRef:o,draggableClassRef:r}}(Ft(e,"draggable"),{onEnd:e=>{m(e)}}),h=Qr((()=>H([e.titleClass,u.value]))),p=Qr((()=>H([e.headerClass,u.value])));function f(){if("center"===i.transformOriginRef.value)return"";const{value:e}=r,{value:t}=a;if(null===e||null===t)return"";if(n.value){return`${e}px ${t+n.value.containerScrollTop}px`}return""}function m(e){if("center"===i.transformOriginRef.value)return;if(!l)return;if(!n.value)return;const t=n.value.containerScrollTop,{offsetLeft:o,offsetTop:s}=e,d=l.y,c=l.x;r.value=-(o-c),a.value=-(s-d-t),e.style.transformOrigin=f()}er(Ft(e,"show"),(e=>{e&&(o.value=!0)})),function(e){if("undefined"==typeof document)return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=VD,t.style.overflow=UD,t.style.overflowX=qD,t.style.overflowY=KD,YD.value="0px"};Kn((()=>{n=er(e,(e=>{if(e){if(!WD){const e=window.innerWidth-t.offsetWidth;e>0&&(VD=t.style.marginRight,t.style.marginRight=`${e}px`,YD.value=`${e}px`),UD=t.style.overflow,qD=t.style.overflowX,KD=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,WD++}else WD--,WD||r(),o=!1}),{immediate:!0})})),Xn((()=>{null==n||n(),o&&(WD--,WD||r(),o=!1)}))}(Qr((()=>e.blockScroll&&o.value)));const v=vt(null);return er(v,(e=>{e&&Kt((()=>{const n=e.el;n&&t.value!==n&&(t.value=n)}))})),To($D,t),To(MD,null),To(OD,null),{mergedTheme:i.mergedThemeRef,appear:i.appearRef,isMounted:i.isMountedRef,mergedClsPrefix:i.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,draggableClass:u,displayed:o,childNodeRef:v,cardHeaderClass:p,dialogTitleClass:h,handlePositiveClick:function(){e.onPositiveClick()},handleNegativeClick:function(){e.onNegativeClick()},handleCloseClick:function(){const{onClose:t}=e;t&&t()},handleAfterEnter:function(t){const n=t;c.value&&d(n),e.onAfterEnter&&e.onAfterEnter(n)},handleAfterLeave:function(){o.value=!1,r.value=null,a.value=null,s(),e.onAfterLeave()},handleBeforeLeave:function(t){t.style.transformOrigin=f(),e.onBeforeLeave()},handleEnter:function(e){Kt((()=>{m(e)}))}}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterEnter:o,handleAfterLeave:r,handleBeforeLeave:a,preset:i,mergedClsPrefix:l}=this;let s=null;if(!i){if(s=JB(0,e.default,{draggableClass:this.draggableClass}),!s)return;s=Mr(s),s.props=Ir({class:`${l}-modal`},t,s.props||{})}return"show"===this.displayDirective||this.displayed||this.show?on(Jr("div",{role:"none",class:`${l}-modal-body-wrapper`},Jr(Vq,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${l}-modal-scroll-content`},{default:()=>{var t;return[null===(t=this.renderMask)||void 0===t?void 0:t.call(this),Jr(OB,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var t;return Jr(ha,{name:"fade-in-scale-up-transition",appear:null!==(t=this.appear)&&void 0!==t?t:this.isMounted,onEnter:n,onAfterEnter:o,onAfterLeave:r,onBeforeLeave:a},{default:()=>{const t=[[Ra,this.show]],{onClickoutside:n}=this;return n&&t.push([sI,this.onClickoutside,void 0,{capture:!0}]),on("confirm"===this.preset||"dialog"===this.preset?Jr(K4,Object.assign({},this.$attrs,{class:[`${l}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},tE(this.$props,V4),{titleClass:this.dialogTitleClass,"aria-modal":"true"}),e):"card"===this.preset?Jr(dQ,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${l}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},tE(this.$props,sQ),{headerClass:this.cardHeaderClass,"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,t)}})}})]}})),[[Ra,"if"===this.displayDirective||this.displayed||this.show]]):null}}),o2=BA([LA("modal-container","\n position: fixed;\n left: 0;\n top: 0;\n height: 0;\n width: 0;\n display: flex;\n "),LA("modal-mask","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, .4);\n ",[WV({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),LA("modal-body-wrapper","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: visible;\n ",[LA("modal-scroll-content","\n min-height: 100%;\n display: flex;\n position: relative;\n ")]),LA("modal","\n position: relative;\n align-self: center;\n color: var(--n-text-color);\n margin: auto;\n box-shadow: var(--n-box-shadow);\n ",[MK({duration:".25s",enterScale:".5"}),BA(`.${J4}`,"\n cursor: move;\n user-select: none;\n ")])]),r2=Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),e2),{draggable:[Boolean,Object],onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),a2=$n({name:"Modal",inheritAttrs:!1,props:r2,slots:Object,setup(e){const t=vt(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Modal","-modal",o2,G4,e,n),i=_D(64),l=mD(),s=CD(),d=e.internalDialog?Ro(I4,null):null,c=e.internalModal?Ro("n-modal-provider",null):null,u=(ED&&(qn((()=>{HD||(window.addEventListener("compositionstart",jD),window.addEventListener("compositionend",ND)),HD++})),Xn((()=>{HD<=1?(window.removeEventListener("compositionstart",jD),window.removeEventListener("compositionend",ND),HD=0):HD--}))),LD);function h(t){const{onUpdateShow:n,"onUpdate:show":o,onHide:r}=e;n&&GB(n,t),o&&GB(o,t),r&&!t&&r(t)}To(AD,{getMousePosition:()=>{const e=d||c;if(e){const{clickedRef:t,clickedPositionRef:n}=e;if(t.value&&n.value)return n.value}return i.value?l.value:null},mergedClsPrefixRef:n,mergedThemeRef:a,isMountedRef:s,appearRef:Ft(e,"internalAppear"),transformOriginRef:Ft(e,"transformOrigin")});const p=Qr((()=>{const{common:{cubicBezierEaseOut:e},self:{boxShadow:t,color:n,textColor:o}}=a.value;return{"--n-bezier-ease-out":e,"--n-box-shadow":t,"--n-color":n,"--n-text-color":o}})),f=r?vE("theme-class",void 0,p,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:s,containerRef:t,presetProps:Qr((()=>tE(e,t2))),handleEsc:function(t){var n,o;null===(n=e.onEsc)||void 0===n||n.call(e),e.show&&e.closeOnEsc&&(o=t,!WB.has(o))&&(u.value||h(!1))},handleAfterLeave:function(){const{onAfterLeave:t,onAfterHide:n}=e;t&&GB(t),n&&n()},handleClickoutside:function(n){var o;const{onMaskClick:r}=e;r&&r(n),e.maskClosable&&(null===(o=t.value)||void 0===o?void 0:o.contains(JA(n)))&&h(!1)},handleBeforeLeave:function(){const{onBeforeLeave:t,onBeforeHide:n}=e;t&&GB(t),n&&n()},doUpdateShow:h,handleNegativeClick:function(){const{onNegativeClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&h(!1)})):h(!1)},handlePositiveClick:function(){const{onPositiveClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&h(!1)})):h(!1)},handleCloseClick:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&h(!1)})):h(!1)},cssVars:r?void 0:p,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{mergedClsPrefix:e}=this;return Jr(yI,{to:this.to,show:this.show},{default:()=>{var t;null===(t=this.onRender)||void 0===t||t.call(this);const{unstableShowMask:n}=this;return on(Jr("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},Jr(n2,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,draggable:this.draggable,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var t;return Jr(ha,{name:"fade-in-transition",key:"mask",appear:null!==(t=this.internalAppear)&&void 0!==t?t:this.isMounted},{default:()=>this.show?Jr("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[uI,{zIndex:this.zIndex,enabled:this.show}]])}})}}),i2=Object.assign(Object.assign({},W4),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function,draggable:[Boolean,Object]}),l2=$n({name:"DialogEnvironment",props:Object.assign(Object.assign({},i2),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=vt(!0);function n(){t.value=!1}return{show:t,hide:n,handleUpdateShow:function(e){t.value=e},handleAfterLeave:function(){const{onInternalAfterLeave:t,internalKey:n,onAfterLeave:o}=e;t&&t(n),o&&o()},handleCloseClick:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handleNegativeClick:function(t){const{onNegativeClick:o}=e;o?Promise.resolve(o(t)).then((e=>{!1!==e&&n()})):n()},handlePositiveClick:function(t){const{onPositiveClick:o}=e;o?Promise.resolve(o(t)).then((e=>{!1!==e&&n()})):n()},handleMaskClick:function(t){const{onMaskClick:o,maskClosable:r}=e;o&&(o(t),r&&n())},handleEsc:function(){const{onEsc:t}=e;t&&t()}}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:a,handleEsc:i,to:l,maskClosable:s,show:d}=this;return Jr(a2,{show:d,onUpdateShow:t,onMaskClick:a,onEsc:i,to:l,maskClosable:s,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,draggable:this.draggable,internalAppear:!0,internalDialog:!0},{default:({draggableClass:t})=>Jr(K4,Object.assign({},tE(this.$props,V4),{titleClass:H([this.titleClass,t]),style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),s2=$n({name:"DialogProvider",props:{injectionKey:String,to:[String,Object]},setup(){const e=vt([]),t={};function n(n={}){const o=GO(),r=ot(Object.assign(Object.assign({},n),{key:o,destroy:()=>{var e;null===(e=t[`n-dialog-${o}`])||void 0===e||e.hide()}}));return e.value.push(r),r}const o=["info","success","warning","error"].map((e=>t=>n(Object.assign(Object.assign({},t),{type:e}))));const r={create:n,destroyAll:function(){Object.values(t).forEach((e=>{null==e||e.hide()}))},info:o[0],success:o[1],warning:o[2],error:o[3]};return To(B4,r),To(I4,{clickedRef:_D(64),clickedPositionRef:mD()}),To("n-dialog-reactive-list",e),Object.assign(Object.assign({},r),{dialogList:e,dialogInstRefs:t,handleAfterLeave:function(t){const{value:n}=e;n.splice(n.findIndex((e=>e.key===t)),1)}})},render(){var e,t;return Jr(pr,null,[this.dialogList.map((e=>Jr(l2,rE(e,["destroy","style"],{internalStyle:e.style,to:this.to,ref:t=>{null===t?delete this.dialogInstRefs[`n-dialog-${e.key}`]:this.dialogInstRefs[`n-dialog-${e.key}`]=t},internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave})))),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}}),d2="n-loading-bar",c2="n-loading-bar-api",u2={name:"LoadingBar",common:KU,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}};const h2={name:"LoadingBar",common:Eq,self:function(e){const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}}},p2=LA("loading-bar-container","\n z-index: 5999;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 2px;\n",[WV({enterDuration:"0.3s",leaveDuration:"0.8s"}),LA("loading-bar","\n width: 100%;\n transition:\n max-width 4s linear,\n background .2s linear;\n height: var(--n-height);\n ",[NA("starting","\n background: var(--n-color-loading);\n "),NA("finishing","\n background: var(--n-color-loading);\n transition:\n max-width .2s linear,\n background .2s linear;\n "),NA("error","\n background: var(--n-color-error);\n transition:\n max-width .2s linear,\n background .2s linear;\n ")])]);var f2=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};function m2(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const v2=$n({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=fE(),{props:t,mergedClsPrefixRef:n}=Ro(d2),o=vt(null),r=vt(!1),a=vt(!1),i=vt(!1),l=vt(!1);let s=!1;const d=vt(!1),c=Qr((()=>{const{loadingBarStyle:e}=t;return e?e[d.value?"error":"loading"]:""}));function u(){return f2(this,void 0,void 0,(function*(){r.value=!1,i.value=!1,s=!1,d.value=!1,l.value=!0,yield Kt(),l.value=!1}))}function h(){return f2(this,arguments,void 0,(function*(e=0,t=80,r="starting"){if(a.value=!0,yield u(),s)return;i.value=!0,yield Kt();const l=o.value;l&&(l.style.maxWidth=`${e}%`,l.style.transition="none",l.offsetWidth,l.className=m2(r,n.value),l.style.transition="",l.style.maxWidth=`${t}%`)}))}const p=HW("LoadingBar","-loading-bar",p2,h2,t,n),f=Qr((()=>{const{self:{height:e,colorError:t,colorLoading:n}}=p.value;return{"--n-height":e,"--n-color-loading":n,"--n-color-error":t}})),m=e?vE("loading-bar",void 0,f,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:a,loading:i,entering:r,transitionDisabled:l,start:h,error:function(){if(!s&&!d.value)if(i.value){d.value=!0;const e=o.value;if(!e)return;e.className=m2("error",n.value),e.style.maxWidth="100%",e.offsetWidth,i.value=!1}else h(100,100,"error").then((()=>{d.value=!0;const e=o.value;e&&(e.className=m2("error",n.value),e.offsetWidth,i.value=!1)}))},finish:function(){return f2(this,void 0,void 0,(function*(){if(s||d.value)return;a.value&&(yield Kt()),s=!0;const e=o.value;e&&(e.className=m2("finishing",n.value),e.style.maxWidth="100%",e.offsetWidth,i.value=!1)}))},handleEnter:function(){r.value=!0},handleAfterEnter:function(){r.value=!1},handleAfterLeave:function(){return f2(this,void 0,void 0,(function*(){yield u()}))},mergedLoadingBarStyle:c,cssVars:e?void 0:f,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return Jr(ha,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return null===(t=this.onRender)||void 0===t||t.call(this),on(Jr("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},Jr("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Ra,this.loading||!this.loading&&this.entering]])}})}}),g2=$n({name:"LoadingBarProvider",props:Object.assign(Object.assign({},HW.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),setup(e){const t=CD(),n=vt(null),o={start(){var e;t.value?null===(e=n.value)||void 0===e||e.start():Kt((()=>{var e;null===(e=n.value)||void 0===e||e.start()}))},error(){var e;t.value?null===(e=n.value)||void 0===e||e.error():Kt((()=>{var e;null===(e=n.value)||void 0===e||e.error()}))},finish(){var e;t.value?null===(e=n.value)||void 0===e||e.finish():Kt((()=>{var e;null===(e=n.value)||void 0===e||e.finish()}))}},{mergedClsPrefixRef:r}=fE(e);return To(c2,o),To(d2,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return Jr(pr,null,Jr(mn,{disabled:!1===this.to,to:this.to||"body"},Jr(v2,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))}});const b2="n-message-api",y2="n-message-provider",_2={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function x2(e){const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:a,successColor:i,errorColor:l,warningColor:s,popoverColor:d,boxShadow2:c,primaryColor:u,lineHeight:h,borderRadius:p,closeColorHover:f,closeColorPressed:m}=e;return Object.assign(Object.assign({},_2),{closeBorderRadius:p,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:d,colorInfo:d,colorSuccess:d,colorError:d,colorWarning:d,colorLoading:d,boxShadow:c,boxShadowInfo:c,boxShadowSuccess:c,boxShadowError:c,boxShadowWarning:c,boxShadowLoading:c,iconColor:t,iconColorInfo:a,iconColorSuccess:i,iconColorWarning:s,iconColorError:l,iconColorLoading:u,closeColorHover:f,closeColorPressed:m,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:f,closeColorPressedInfo:m,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:f,closeColorPressedSuccess:m,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:f,closeColorPressedError:m,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:f,closeColorPressedWarning:m,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:f,closeColorPressedLoading:m,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:u,lineHeight:h,borderRadius:p})}const C2={name:"Message",common:Eq,self:x2},w2={name:"Message",common:KU,self:x2},S2={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},k2=BA([LA("message-wrapper","\n margin: var(--n-margin);\n z-index: 0;\n transform-origin: top center;\n display: flex;\n ",[xY({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),LA("message","\n box-sizing: border-box;\n display: flex;\n align-items: center;\n transition:\n color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier),\n margin-bottom .3s var(--n-bezier);\n padding: var(--n-padding);\n border-radius: var(--n-border-radius);\n flex-wrap: nowrap;\n overflow: hidden;\n max-width: var(--n-max-width);\n color: var(--n-text-color);\n background-color: var(--n-color);\n box-shadow: var(--n-box-shadow);\n ",[jA("content","\n display: inline-block;\n line-height: var(--n-line-height);\n font-size: var(--n-font-size);\n "),jA("icon","\n position: relative;\n margin: var(--n-icon-margin);\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n flex-shrink: 0;\n ",[["default","info","success","warning","error","loading"].map((e=>NA(`${e}-type`,[BA("> *",`\n color: var(--n-icon-color-${e});\n transition: color .3s var(--n-bezier);\n `)]))),BA("> *","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ",[MV()])]),jA("close","\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n flex-shrink: 0;\n ",[BA("&:hover","\n color: var(--n-close-icon-color-hover);\n "),BA("&:active","\n color: var(--n-close-icon-color-pressed);\n ")])]),LA("message-container","\n z-index: 6000;\n position: fixed;\n height: 0;\n overflow: visible;\n display: flex;\n flex-direction: column;\n align-items: center;\n ",[NA("top","\n top: 12px;\n left: 0;\n right: 0;\n "),NA("top-left","\n top: 12px;\n left: 12px;\n right: 0;\n align-items: flex-start;\n "),NA("top-right","\n top: 12px;\n left: 0;\n right: 12px;\n align-items: flex-end;\n "),NA("bottom","\n bottom: 4px;\n left: 0;\n right: 0;\n justify-content: flex-end;\n "),NA("bottom-left","\n bottom: 4px;\n left: 12px;\n right: 0;\n justify-content: flex-end;\n align-items: flex-start;\n "),NA("bottom-right","\n bottom: 4px;\n left: 0;\n right: 12px;\n justify-content: flex-end;\n align-items: flex-end;\n ")])]),P2={info:()=>Jr(fV,null),success:()=>Jr(CV,null),warning:()=>Jr(TV,null),error:()=>Jr(lV,null),default:()=>null},T2=$n({name:"Message",props:Object.assign(Object.assign({},S2),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=fE(e),{props:o,mergedClsPrefixRef:r}=Ro(y2),a=DW("Message",n,r),i=HW("Message","-message",k2,C2,o,r),l=Qr((()=>{const{type:t}=e,{common:{cubicBezierEaseInOut:n},self:{padding:o,margin:r,maxWidth:a,iconMargin:l,closeMargin:s,closeSize:d,iconSize:c,fontSize:u,lineHeight:h,borderRadius:p,iconColorInfo:f,iconColorSuccess:m,iconColorWarning:v,iconColorError:g,iconColorLoading:b,closeIconSize:y,closeBorderRadius:_,[KA("textColor",t)]:x,[KA("boxShadow",t)]:C,[KA("color",t)]:w,[KA("closeColorHover",t)]:S,[KA("closeColorPressed",t)]:k,[KA("closeIconColor",t)]:P,[KA("closeIconColorPressed",t)]:T,[KA("closeIconColorHover",t)]:R}}=i.value;return{"--n-bezier":n,"--n-margin":r,"--n-padding":o,"--n-max-width":a,"--n-font-size":u,"--n-icon-margin":l,"--n-icon-size":c,"--n-close-icon-size":y,"--n-close-border-radius":_,"--n-close-size":d,"--n-close-margin":s,"--n-text-color":x,"--n-color":w,"--n-box-shadow":C,"--n-icon-color-info":f,"--n-icon-color-success":m,"--n-icon-color-warning":v,"--n-icon-color-error":g,"--n-icon-color-loading":b,"--n-close-color-hover":S,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-pressed":T,"--n-close-icon-color-hover":R,"--n-line-height":h,"--n-border-radius":p}})),s=t?vE("message",Qr((()=>e.type[0])),l,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:a,messageProviderProps:o,handleClose(){var t;null===(t=e.onClose)||void 0===t||t.call(e)},cssVars:t?void 0:l,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:a,themeClass:i,onRender:l,icon:s,handleClose:d,showIcon:c}=this;let u;return null==l||l(),Jr("div",{class:[`${r}-message-wrapper`,i],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},a]},e?e(this.$props):Jr("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(u=function(e,t,n){if("function"==typeof e)return e();{const e="loading"===t?Jr(NV,{clsPrefix:n,strokeWidth:24,scale:.85}):P2[t]();return e?Jr(VW,{clsPrefix:n,key:t},{default:()=>e}):null}}(s,t,r))&&c?Jr("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},Jr(UW,null,{default:()=>u})):null,Jr("div",{class:`${r}-message__content`},aE(o)),n?Jr(DV,{clsPrefix:r,class:`${r}-message__close`,onClick:d,absolute:!0}):null))}});const R2=$n({name:"MessageEnvironment",props:Object.assign(Object.assign({},S2),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=vt(!0);function o(){const{duration:n}=e;n&&(t=window.setTimeout(r,n))}function r(){const{onHide:o}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),o&&o()}return Kn((()=>{o()})),{show:n,hide:r,handleClose:function(){const{onClose:t}=e;t&&t(),r()},handleAfterLeave:function(){const{onAfterLeave:t,onInternalAfterLeave:n,onAfterHide:o,internalKey:r}=e;t&&t(),n&&n(r),o&&o()},handleMouseleave:function(e){e.currentTarget===e.target&&o()},handleMouseenter:function(e){e.currentTarget===e.target&&null!==t&&(window.clearTimeout(t),t=null)},deactivate:function(){r()}}},render(){return Jr(IV,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?Jr(T2,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),F2=$n({name:"MessageProvider",props:Object.assign(Object.assign({},HW.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),setup(e){const{mergedClsPrefixRef:t}=fE(e),n=vt([]),o=vt({}),r={create:(e,t)=>a(e,Object.assign({type:"default"},t)),info:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"info"})),success:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"success"})),warning:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"warning"})),error:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"error"})),loading:(e,t)=>a(e,Object.assign(Object.assign({},t),{type:"loading"})),destroyAll:function(){Object.values(o.value).forEach((e=>{e.hide()}))}};function a(t,r){const a=GO(),i=ot(Object.assign(Object.assign({},r),{content:t,key:a,destroy:()=>{var e;null===(e=o.value[a])||void 0===e||e.hide()}})),{max:l}=e;return l&&n.value.length>=l&&n.value.shift(),n.value.push(i),i}return To(y2,{props:e,mergedClsPrefixRef:t}),To(b2,r),Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:function(e){n.value.splice(n.value.findIndex((t=>t.key===e)),1),delete o.value[e]}},r)},render(){var e,t,n;return Jr(pr,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),this.messageList.length?Jr(mn,{to:null!==(n=this.to)&&void 0!==n?n:"body"},Jr("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map((e=>Jr(R2,Object.assign({ref:t=>{t&&(this.messageRefs[e.key]=t)},internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave},rE(e,["destroy"],void 0),{duration:void 0===e.duration?this.duration:e.duration,keepAliveOnHover:void 0===e.keepAliveOnHover?this.keepAliveOnHover:e.keepAliveOnHover,closable:void 0===e.closable?this.closable:e.closable})))))):null)}});function z2(){const e=Ro(b2,null);return null===e&&YB("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const M2=$n({name:"ModalEnvironment",props:Object.assign(Object.assign({},r2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=vt(!0);function n(){t.value=!1}return{show:t,hide:n,handleUpdateShow:function(e){t.value=e},handleAfterLeave:function(){const{onInternalAfterLeave:t,internalKey:n,onAfterLeave:o}=e;t&&t(n),o&&o()},handleCloseClick:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handleNegativeClick:function(){const{onNegativeClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handlePositiveClick:function(){const{onPositiveClick:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&n()})):n()},handleMaskClick:function(t){const{onMaskClick:o,maskClosable:r}=e;o&&(o(t),r&&n())},handleEsc:function(){const{onEsc:t}=e;t&&t()}}},render(){const{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return Jr(a2,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),$2=$n({name:"ModalProvider",props:{to:[String,Object]},setup(){const e=vt([]),t={};const n={create:function(n={}){const o=GO(),r=ot(Object.assign(Object.assign({},n),{key:o,destroy:()=>{var e;null===(e=t[`n-modal-${o}`])||void 0===e||e.hide()}}));return e.value.push(r),r},destroyAll:function(){Object.values(t).forEach((e=>{null==e||e.hide()}))}};return To(Z4,n),To("n-modal-provider",{clickedRef:_D(64),clickedPositionRef:mD()}),To("n-modal-reactive-list",e),Object.assign(Object.assign({},n),{modalList:e,modalInstRefs:t,handleAfterLeave:function(t){const{value:n}=e;n.splice(n.findIndex((e=>e.key===t)),1)}})},render(){var e,t;return Jr(pr,null,[this.modalList.map((e=>{var t;return Jr(M2,rE(e,["destroy"],{to:null!==(t=e.to)&&void 0!==t?t:this.to,ref:t=>{null===t?delete this.modalInstRefs[`n-modal-${e.key}`]:this.modalInstRefs[`n-modal-${e.key}`]=t},internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave}))})),null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}}),A2={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function O2(e){const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:a,popoverColor:i,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeColorHover:c,closeColorPressed:u,textColor1:h,textColor3:p,borderRadius:f,fontWeightStrong:m,boxShadow2:v,lineHeight:g,fontSize:b}=e;return Object.assign(Object.assign({},A2),{borderRadius:f,lineHeight:g,fontSize:b,headerFontWeight:m,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:a,color:i,textColor:t,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeBorderRadius:f,closeColorHover:c,closeColorPressed:u,headerTextColor:h,descriptionTextColor:p,actionTextColor:t,boxShadow:v})}const D2={name:"Notification",common:Eq,peers:{Scrollbar:Nq},self:O2},I2={name:"Notification",common:KU,peers:{Scrollbar:Hq},self:O2},B2="n-notification-provider",E2=$n({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ro(B2),o=vt(null);return Jo((()=>{var e,t;n.value>0?null===(e=null==o?void 0:o.value)||void 0===e||e.classList.add("transitioning"):null===(t=null==o?void 0:o.value)||void 0===t||t.classList.remove("transitioning")})),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return Jr("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?Jr(Vq,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),L2={info:()=>Jr(fV,null),success:()=>Jr(CV,null),warning:()=>Jr(TV,null),error:()=>Jr(lV,null),default:()=>null},j2={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},N2=nE(j2),H2=$n({name:"Notification",props:j2,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ro(B2),{inlineThemeDisabled:r,mergedRtlRef:a}=fE(),i=DW("Notification",a,t),l=Qr((()=>{const{type:t}=e,{self:{color:o,textColor:r,closeIconColor:a,closeIconColorHover:i,closeIconColorPressed:l,headerTextColor:s,descriptionTextColor:d,actionTextColor:c,borderRadius:u,headerFontWeight:h,boxShadow:p,lineHeight:f,fontSize:m,closeMargin:v,closeSize:g,width:b,padding:y,closeIconSize:_,closeBorderRadius:x,closeColorHover:C,closeColorPressed:w,titleFontSize:S,metaFontSize:k,descriptionFontSize:P,[KA("iconColor",t)]:T},common:{cubicBezierEaseOut:R,cubicBezierEaseIn:F,cubicBezierEaseInOut:z}}=n.value,{left:M,right:$,top:A,bottom:O}=oO(y);return{"--n-color":o,"--n-font-size":m,"--n-text-color":r,"--n-description-text-color":d,"--n-action-text-color":c,"--n-title-text-color":s,"--n-title-font-weight":h,"--n-bezier":z,"--n-bezier-ease-out":R,"--n-bezier-ease-in":F,"--n-border-radius":u,"--n-box-shadow":p,"--n-close-border-radius":x,"--n-close-color-hover":C,"--n-close-color-pressed":w,"--n-close-icon-color":a,"--n-close-icon-color-hover":i,"--n-close-icon-color-pressed":l,"--n-line-height":f,"--n-icon-color":T,"--n-close-margin":v,"--n-close-size":g,"--n-close-icon-size":_,"--n-width":b,"--n-padding-left":M,"--n-padding-right":$,"--n-padding-top":A,"--n-padding-bottom":O,"--n-title-font-size":S,"--n-meta-font-size":k,"--n-description-font-size":P}})),s=r?vE("notification",Qr((()=>e.type[0])),l,o):void 0;return{mergedClsPrefix:t,showAvatar:Qr((()=>e.avatar||"default"!==e.type)),handleCloseClick(){e.onClose()},rtlEnabled:i,cssVars:r?void 0:l,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},Jr("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?Jr("div",{class:`${t}-notification__avatar`},this.avatar?aE(this.avatar):"default"!==this.type?Jr(VW,{clsPrefix:t},{default:()=>L2[this.type]()}):null):null,this.closable?Jr(DV,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,Jr("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?Jr("div",{class:`${t}-notification-main__header`},aE(this.title)):null,this.description?Jr("div",{class:`${t}-notification-main__description`},aE(this.description)):null,this.content?Jr("pre",{class:`${t}-notification-main__content`},aE(this.content)):null,this.meta||this.action?Jr("div",{class:`${t}-notification-main-footer`},this.meta?Jr("div",{class:`${t}-notification-main-footer__meta`},aE(this.meta)):null,this.action?Jr("div",{class:`${t}-notification-main-footer__action`},aE(this.action)):null):null)))}}),W2=Object.assign(Object.assign({},j2),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),V2=$n({name:"NotificationEnvironment",props:Object.assign(Object.assign({},W2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ro(B2),n=vt(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}return Kn((()=>{e.duration&&(o=window.setTimeout(r,e.duration))})),{show:n,hide:r,handleClose:function(){const{onClose:t}=e;t?Promise.resolve(t()).then((e=>{!1!==e&&r()})):r()},handleAfterLeave:function(){t.value--;const{onAfterLeave:n,onInternalAfterLeave:o,onAfterHide:r,internalKey:a}=e;n&&n(),o(a),r&&r()},handleLeave:function(t){const{onHide:n}=e;n&&n(),t.style.maxHeight="0",t.offsetHeight},handleBeforeLeave:function(e){t.value++,e.style.maxHeight=`${e.offsetHeight}px`,e.style.height=`${e.offsetHeight}px`,e.offsetHeight},handleAfterEnter:function(n){t.value--,n.style.height="",n.style.maxHeight="";const{onAfterEnter:o,onAfterShow:r}=e;o&&o(),r&&r()},handleBeforeEnter:function(e){t.value++,Kt((()=>{e.style.height=`${e.offsetHeight}px`,e.style.maxHeight="0",e.style.transition="none",e.offsetHeight,e.style.transition="",e.style.maxHeight=e.style.height}))},handleMouseenter:function(e){e.currentTarget===e.target&&null!==o&&(window.clearTimeout(o),o=null)},handleMouseleave:function(t){t.currentTarget===t.target&&function(){const{duration:t}=e;t&&(o=window.setTimeout(r,t))}()}}},render(){return Jr(ha,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?Jr(H2,Object.assign({},tE(this.$props,N2),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),U2=BA([LA("notification-container","\n z-index: 4000;\n position: fixed;\n overflow: visible;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n ",[BA(">",[LA("scrollbar","\n width: initial;\n overflow: visible;\n height: -moz-fit-content !important;\n height: fit-content !important;\n max-height: 100vh !important;\n ",[BA(">",[LA("scrollbar-container","\n height: -moz-fit-content !important;\n height: fit-content !important;\n max-height: 100vh !important;\n ",[LA("scrollbar-content","\n padding-top: 12px;\n padding-bottom: 33px;\n ")])])])]),NA("top, top-right, top-left","\n top: 12px;\n ",[BA("&.transitioning >",[LA("scrollbar",[BA(">",[LA("scrollbar-container","\n min-height: 100vh !important;\n ")])])])]),NA("bottom, bottom-right, bottom-left","\n bottom: 12px;\n ",[BA(">",[LA("scrollbar",[BA(">",[LA("scrollbar-container",[LA("scrollbar-content","\n padding-bottom: 12px;\n ")])])])]),LA("notification-wrapper","\n display: flex;\n align-items: flex-end;\n margin-bottom: 0;\n margin-top: 12px;\n ")]),NA("top, bottom","\n left: 50%;\n transform: translateX(-50%);\n ",[LA("notification-wrapper",[BA("&.notification-transition-enter-from, &.notification-transition-leave-to","\n transform: scale(0.85);\n "),BA("&.notification-transition-leave-from, &.notification-transition-enter-to","\n transform: scale(1);\n ")])]),NA("top",[LA("notification-wrapper","\n transform-origin: top center;\n ")]),NA("bottom",[LA("notification-wrapper","\n transform-origin: bottom center;\n ")]),NA("top-right, bottom-right",[LA("notification","\n margin-left: 28px;\n margin-right: 16px;\n ")]),NA("top-left, bottom-left",[LA("notification","\n margin-left: 16px;\n margin-right: 28px;\n ")]),NA("top-right","\n right: 0;\n ",[q2("top-right")]),NA("top-left","\n left: 0;\n ",[q2("top-left")]),NA("bottom-right","\n right: 0;\n ",[q2("bottom-right")]),NA("bottom-left","\n left: 0;\n ",[q2("bottom-left")]),NA("scrollable",[NA("top-right","\n top: 0;\n "),NA("top-left","\n top: 0;\n "),NA("bottom-right","\n bottom: 0;\n "),NA("bottom-left","\n bottom: 0;\n ")]),LA("notification-wrapper","\n margin-bottom: 12px;\n ",[BA("&.notification-transition-enter-from, &.notification-transition-leave-to","\n opacity: 0;\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n "),BA("&.notification-transition-leave-from, &.notification-transition-enter-to","\n opacity: 1;\n "),BA("&.notification-transition-leave-active","\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier-ease-in),\n max-height .3s var(--n-bezier),\n margin-top .3s linear,\n margin-bottom .3s linear,\n box-shadow .3s var(--n-bezier);\n "),BA("&.notification-transition-enter-active","\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n transform .3s var(--n-bezier-ease-out),\n max-height .3s var(--n-bezier),\n margin-top .3s linear,\n margin-bottom .3s linear,\n box-shadow .3s var(--n-bezier);\n ")]),LA("notification","\n background-color: var(--n-color);\n color: var(--n-text-color);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n font-family: inherit;\n font-size: var(--n-font-size);\n font-weight: 400;\n position: relative;\n display: flex;\n overflow: hidden;\n flex-shrink: 0;\n padding-left: var(--n-padding-left);\n padding-right: var(--n-padding-right);\n width: var(--n-width);\n max-width: calc(100vw - 16px - 16px);\n border-radius: var(--n-border-radius);\n box-shadow: var(--n-box-shadow);\n box-sizing: border-box;\n opacity: 1;\n ",[jA("avatar",[LA("icon","\n color: var(--n-icon-color);\n "),LA("base-icon","\n color: var(--n-icon-color);\n ")]),NA("show-avatar",[LA("notification-main","\n margin-left: 40px;\n width: calc(100% - 40px); \n ")]),NA("closable",[LA("notification-main",[BA("> *:first-child","\n padding-right: 20px;\n ")]),jA("close","\n position: absolute;\n top: 0;\n right: 0;\n margin: var(--n-close-margin);\n transition:\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),jA("avatar","\n position: absolute;\n top: var(--n-padding-top);\n left: var(--n-padding-left);\n width: 28px;\n height: 28px;\n font-size: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[LA("icon","transition: color .3s var(--n-bezier);")]),LA("notification-main","\n padding-top: var(--n-padding-top);\n padding-bottom: var(--n-padding-bottom);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n margin-left: 8px;\n width: calc(100% - 8px);\n ",[LA("notification-main-footer","\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 12px;\n ",[jA("meta","\n font-size: var(--n-meta-font-size);\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-description-text-color);\n "),jA("action","\n cursor: pointer;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-action-text-color);\n ")]),jA("header","\n font-weight: var(--n-title-font-weight);\n font-size: var(--n-title-font-size);\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-title-text-color);\n "),jA("description","\n margin-top: 8px;\n font-size: var(--n-description-font-size);\n white-space: pre-wrap;\n word-wrap: break-word;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-description-text-color);\n "),jA("content","\n line-height: var(--n-line-height);\n margin: 12px 0 0 0;\n font-family: inherit;\n white-space: pre-wrap;\n word-wrap: break-word;\n transition: color .3s var(--n-bezier-ease-out);\n color: var(--n-text-color);\n ",[BA("&:first-child","margin: 0;")])])])])]);function q2(e){const t=e.split("-")[1];return LA("notification-wrapper",[BA("&.notification-transition-enter-from, &.notification-transition-leave-to",`\n transform: translate(${"left"===t?"calc(-100%)":"calc(100%)"}, 0);\n `),BA("&.notification-transition-leave-from, &.notification-transition-enter-to","\n transform: translate(0, 0);\n ")])}const K2="n-notification-api",Y2=$n({name:"NotificationProvider",props:Object.assign(Object.assign({},HW.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),setup(e){const{mergedClsPrefixRef:t}=fE(e),n=vt([]),o={},r=new Set;function a(t){const a=GO(),i=()=>{r.add(a),o[a]&&o[a].hide()},l=ot(Object.assign(Object.assign({},t),{key:a,destroy:i,hide:i,deactivate:i})),{max:s}=e;if(s&&n.value.length-r.size>=s){let e=!1,t=0;for(const a of n.value){if(!r.has(a.key)){o[a.key]&&(a.destroy(),e=!0);break}t++}e||n.value.splice(t,1)}return n.value.push(l),l}const i=["info","success","warning","error"].map((e=>t=>a(Object.assign(Object.assign({},t),{type:e}))));const l=HW("Notification","-notification",U2,D2,e,t),s={create:a,info:i[0],success:i[1],warning:i[2],error:i[3],open:function(e){return a(e)},destroyAll:function(){Object.values(n.value).forEach((e=>{e.hide()}))}},d=vt(0);return To(K2,s),To(B2,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:d}),Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:function(e){r.delete(e),n.value.splice(n.value.findIndex((t=>t.key===e)),1)}},s)},render(){var e,t,n;const{placement:o}=this;return Jr(pr,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),this.notificationList.length?Jr(mn,{to:null!==(n=this.to)&&void 0!==n?n:"body"},Jr(E2,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&"top"!==o&&"bottom"!==o,placement:o},{default:()=>this.notificationList.map((e=>Jr(V2,Object.assign({ref:t=>{const n=e.key;null===t?delete this.notificationRefs[n]:this.notificationRefs[n]=t}},rE(e,["destroy","hide","deactivate"]),{internalKey:e.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:void 0===e.keepAliveOnHover?this.keepAliveOnHover:e.keepAliveOnHover}))))})):null)}});const G2=$n({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return null===(n=e.onSetup)||void 0===n||n.call(e),()=>{var e;return null===(e=t.default)||void 0===e?void 0:e.call(t)}}}),X2={message:z2,notification:function(){const e=Ro(K2,null);return null===e&&YB("use-notification","No outer `n-notification-provider` found."),e},loadingBar:function(){const e=Ro(c2,null);return null===e&&YB("use-loading-bar","No outer founded."),e},dialog:E4,modal:Q4};function Z2(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:a,modalProviderProps:i}={}){const l=[];e.forEach((e=>{switch(e){case"message":l.push({type:e,Provider:F2,props:n});break;case"notification":l.push({type:e,Provider:Y2,props:r});break;case"dialog":l.push({type:e,Provider:s2,props:o});break;case"loadingBar":l.push({type:e,Provider:g2,props:a});break;case"modal":l.push({type:e,Provider:$2,props:i})}}));const s=function({providersAndProps:e,configProviderProps:t}){let n=ri((function(){return Jr(hJ,_t(t),{default:()=>e.map((({type:e,Provider:t,props:n})=>Jr(t,_t(n),{default:()=>Jr(G2,{onSetup:()=>o[e]=X2[e]()})})))})}));const o={app:n};let r;return ED&&(r=document.createElement("div"),document.body.appendChild(r),n.mount(r)),Object.assign({unmount:()=>{var e;null!==n&&null!==r&&(n.unmount(),null===(e=r.parentNode)||void 0===e||e.removeChild(r),r=null,n=null)}},o)}({providersAndProps:l,configProviderProps:t});return s}function Q2(e){const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}}const J2={name:"Divider",common:Eq,self:Q2},e7={name:"Divider",common:KU,self:Q2},t7=LA("divider","\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n font-size: 16px;\n color: var(--n-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n",[HA("vertical","\n margin-top: 24px;\n margin-bottom: 24px;\n ",[HA("no-title","\n display: flex;\n align-items: center;\n ")]),jA("title","\n display: flex;\n align-items: center;\n margin-left: 12px;\n margin-right: 12px;\n white-space: nowrap;\n font-weight: var(--n-font-weight);\n "),NA("title-position-left",[jA("line",[NA("left",{width:"28px"})])]),NA("title-position-right",[jA("line",[NA("right",{width:"28px"})])]),NA("dashed",[jA("line","\n background-color: #0000;\n height: 0px;\n width: 100%;\n border-style: dashed;\n border-width: 1px 0 0;\n ")]),NA("vertical","\n display: inline-block;\n height: 1em;\n margin: 0 8px;\n vertical-align: middle;\n width: 1px;\n "),jA("line","\n border: none;\n transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);\n height: 1px;\n width: 100%;\n margin: 0;\n "),HA("dashed",[jA("line",{backgroundColor:"var(--n-color)"})]),NA("dashed",[jA("line",{borderColor:"var(--n-color)"})]),NA("vertical",{backgroundColor:"var(--n-color)"})]),n7=$n({name:"Divider",props:Object.assign(Object.assign({},HW.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Divider","-divider",t7,J2,e,t),r=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{color:t,textColor:n,fontWeight:r}}=o.value;return{"--n-bezier":e,"--n-color":t,"--n-text-color":n,"--n-font-weight":r}})),a=n?vE("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:null==a?void 0:a.themeClass,onRender:null==a?void 0:a.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:a,mergedClsPrefix:i}=this;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",{role:"separator",class:[`${i}-divider`,this.themeClass,{[`${i}-divider--vertical`]:o,[`${i}-divider--no-title`]:!t.default,[`${i}-divider--dashed`]:r,[`${i}-divider--title-position-${n}`]:t.default&&n}],style:a},o?null:Jr("div",{class:`${i}-divider__line ${i}-divider__line--left`}),!o&&t.default?Jr(pr,null,Jr("div",{class:`${i}-divider__title`},this.$slots),Jr("div",{class:`${i}-divider__line ${i}-divider__line--right`})):null)}});function o7(e){const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:a,fontWeightStrong:i,dividerColor:l,closeColorHover:s,closeColorPressed:d,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,borderRadius:p,primaryColorHover:f}=e;return{bodyPadding:"16px 24px",borderRadius:p,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:i,boxShadow:r,lineHeight:a,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:c,closeIconColorHover:u,closeIconColorPressed:h,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:d,closeBorderRadius:p,resizableTriggerColorHover:f}}const r7={name:"Drawer",common:Eq,peers:{Scrollbar:Nq},self:o7},a7={name:"Drawer",common:KU,peers:{Scrollbar:Hq},self:o7},i7={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},l7={name:"DynamicInput",common:KU,peers:{Input:FY,Button:CG},self:()=>i7};const s7={name:"DynamicInput",common:Eq,peers:{Input:zY,Button:xG},self:function(){return i7}},d7="n-dynamic-input",c7=$n({name:"DynamicInputInputPreset",props:{clsPrefix:{type:String,required:!0},value:{type:String,default:""},disabled:Boolean,parentPath:String,path:String,onUpdateValue:{type:Function,required:!0}},setup(){const{mergedThemeRef:e,placeholderRef:t}=Ro(d7);return{mergedTheme:e,placeholder:t}},render(){const{mergedTheme:e,placeholder:t,value:n,clsPrefix:o,onUpdateValue:r,disabled:a}=this;return Jr("div",{class:`${o}-dynamic-input-preset-input`},Jr(BY,{theme:e.peers.Input,"theme-overrides":e.peerOverrides.Input,value:n,placeholder:t,onUpdateValue:r,disabled:a}))}}),u7=$n({name:"DynamicInputPairPreset",props:{clsPrefix:{type:String,required:!0},value:{type:Object,default:()=>({key:"",value:""})},disabled:Boolean,parentPath:String,path:String,onUpdateValue:{type:Function,required:!0}},setup(e){const{mergedThemeRef:t,keyPlaceholderRef:n,valuePlaceholderRef:o}=Ro(d7);return{mergedTheme:t,keyPlaceholder:n,valuePlaceholder:o,handleKeyInput(t){e.onUpdateValue({key:t,value:e.value.value})},handleValueInput(t){e.onUpdateValue({key:e.value.key,value:t})}}},render(){const{mergedTheme:e,keyPlaceholder:t,valuePlaceholder:n,value:o,clsPrefix:r,disabled:a}=this;return Jr("div",{class:`${r}-dynamic-input-preset-pair`},Jr(BY,{theme:e.peers.Input,"theme-overrides":e.peerOverrides.Input,value:o.key,class:`${r}-dynamic-input-pair-input`,placeholder:t,onUpdateValue:this.handleKeyInput,disabled:a}),Jr(BY,{theme:e.peers.Input,"theme-overrides":e.peerOverrides.Input,value:o.value,class:`${r}-dynamic-input-pair-input`,placeholder:n,onUpdateValue:this.handleValueInput,disabled:a}))}}),h7=LA("dynamic-input",{width:"100%"},[LA("dynamic-input-item","\n margin-bottom: 10px;\n display: flex;\n flex-wrap: nowrap;\n ",[LA("dynamic-input-preset-input",{flex:1,alignItems:"center"}),LA("dynamic-input-preset-pair","\n flex: 1;\n display: flex;\n align-items: center;\n ",[LA("dynamic-input-pair-input",[BA("&:first-child",{"margin-right":"12px"})])]),jA("action","\n align-self: flex-start;\n display: flex;\n justify-content: flex-end;\n flex-shrink: 0;\n flex-grow: 0;\n margin: var(--action-margin);\n ",[NA("icon",{cursor:"pointer"})]),BA("&:last-child",{marginBottom:0})]),LA("form-item","\n padding-top: 0 !important;\n margin-right: 0 !important;\n ",[LA("form-item-blank",{paddingTop:"0 !important"})])]),p7=new WeakMap,f7=$n({name:"DynamicInput",props:Object.assign(Object.assign({},HW.props),{max:Number,min:{type:Number,default:0},value:Array,defaultValue:{type:Array,default:()=>[]},preset:{type:String,default:"input"},keyField:String,itemClass:String,itemStyle:[String,Object],keyPlaceholder:{type:String,default:""},valuePlaceholder:{type:String,default:""},placeholder:{type:String,default:""},disabled:Boolean,showSortButton:Boolean,createButtonProps:Object,onCreate:Function,onRemove:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClear:Function,onInput:[Function,Array]}),setup(e,{slots:t}){const{mergedComponentPropsRef:n,mergedClsPrefixRef:o,mergedRtlRef:r,inlineThemeDisabled:a}=fE(),i=Ro(gE,null),l=vt(e.defaultValue),s=xD(Ft(e,"value"),l),d=HW("DynamicInput","-dynamic-input",h7,s7,e,o),c=Qr((()=>{const{value:t}=s;if(Array.isArray(t)){const{max:n}=e;return void 0!==n&&t.length>=n}return!1})),u=Qr((()=>{const{value:t}=s;return!Array.isArray(t)||t.length<=e.min})),h=Qr((()=>{var e,t;return null===(t=null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.DynamicInput)||void 0===t?void 0:t.buttonSize}));function p(t){const{onInput:n,"onUpdate:value":o,onUpdateValue:r}=e;n&&GB(n,t),o&&GB(o,t),r&&GB(r,t),l.value=t}function f(n){const{value:o}=s,{onCreate:r}=e,a=Array.from(null!=o?o:[]);if(r)a.splice(n+1,0,r(n+1)),p(a);else if(t.default)a.splice(n+1,0,null),p(a);else switch(e.preset){case"input":a.splice(n+1,0,""),p(a);break;case"pair":a.splice(n+1,0,{key:"",value:""}),p(a)}}function m(e,t,n){if(t<0||n<0||t>=e.length||n>=e.length)return;if(t===n)return;const o=e[t];e[t]=e[n],e[n]=o}To(d7,{mergedThemeRef:d,keyPlaceholderRef:Ft(e,"keyPlaceholder"),valuePlaceholderRef:Ft(e,"valuePlaceholder"),placeholderRef:Ft(e,"placeholder")});const v=DW("DynamicInput",r,o),g=Qr((()=>{const{self:{actionMargin:e,actionMarginRtl:t}}=d.value;return{"--action-margin":e,"--action-margin-rtl":t}})),b=a?vE("dynamic-input",void 0,g,e):void 0;return{locale:AW("DynamicInput").localeRef,rtlEnabled:v,buttonSize:h,mergedClsPrefix:o,NFormItem:i,uncontrolledValue:l,mergedValue:s,insertionDisabled:c,removeDisabled:u,handleCreateClick:function(){f(-1)},ensureKey:function(e,t){if(null==e)return t;if("object"!=typeof e)return t;const n=ct(e)?ut(e):e;let o=p7.get(n);return void 0===o&&p7.set(n,o=GO()),o},handleValueChange:function(e,t){const{value:n}=s,o=Array.from(null!=n?n:[]),r=o[e];if(o[e]=t,r&&t&&"object"==typeof r&&"object"==typeof t){const e=ct(r)?ut(r):r,n=ct(t)?ut(t):t,o=p7.get(e);void 0!==o&&p7.set(n,o)}p(o)},remove:function(t){const{value:n}=s;if(!Array.isArray(n))return;const{min:o}=e;if(n.length<=o)return;const{onRemove:r}=e;r&&r(t);const a=Array.from(n);a.splice(t,1),p(a)},move:function(e,t){const{value:n}=s;if(!Array.isArray(n))return;const o=Array.from(n);"up"===e&&m(o,t,t-1),"down"===e&&m(o,t,t+1),p(o)},createItem:f,mergedTheme:d,cssVars:a?void 0:g,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){const{$slots:e,itemClass:t,buttonSize:n,mergedClsPrefix:o,mergedValue:r,locale:a,mergedTheme:i,keyField:l,itemStyle:s,preset:d,showSortButton:c,NFormItem:u,ensureKey:h,handleValueChange:p,remove:f,createItem:m,move:v,onRender:g,disabled:b}=this;return null==g||g(),Jr("div",{class:[`${o}-dynamic-input`,this.rtlEnabled&&`${o}-dynamic-input--rtl`,this.themeClass],style:this.cssVars},Array.isArray(r)&&0!==r.length?r.map(((a,g)=>Jr("div",{key:l?a[l]:h(a,g),"data-key":l?a[l]:h(a,g),class:[`${o}-dynamic-input-item`,t],style:s},sE(e.default,{value:r[g],index:g},(()=>["input"===d?Jr(c7,{disabled:b,clsPrefix:o,value:r[g],parentPath:u?u.path.value:void 0,path:(null==u?void 0:u.path.value)?`${u.path.value}[${g}]`:void 0,onUpdateValue:e=>{p(g,e)}}):"pair"===d?Jr(u7,{disabled:b,clsPrefix:o,value:r[g],parentPath:u?u.path.value:void 0,path:(null==u?void 0:u.path.value)?`${u.path.value}[${g}]`:void 0,onUpdateValue:e=>{p(g,e)}}):null])),sE(e.action,{value:r[g],index:g,create:m,remove:f,move:v},(()=>[Jr("div",{class:`${o}-dynamic-input-item__action`},Jr(MG,{size:n},{default:()=>[Jr(SG,{disabled:this.removeDisabled||b,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,circle:!0,onClick:()=>{f(g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(vV,null)})}),Jr(SG,{disabled:this.insertionDisabled||b,circle:!0,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:()=>{m(g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(qW,null)})}),c?Jr(SG,{disabled:0===g||b,circle:!0,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:()=>{v("up",g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(YW,null)})}):null,c?Jr(SG,{disabled:g===r.length-1||b,circle:!0,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:()=>{v("down",g)}},{icon:()=>Jr(VW,{clsPrefix:o},{default:()=>Jr(KW,null)})}):null]}))]))))):Jr(SG,Object.assign({block:!0,ghost:!0,dashed:!0,size:n},this.createButtonProps,{disabled:this.insertionDisabled||b,theme:i.peers.Button,themeOverrides:i.peerOverrides.Button,onClick:this.handleCreateClick}),{default:()=>lE(e["create-button-default"],(()=>[a.create])),icon:()=>lE(e["create-button-icon"],(()=>[Jr(VW,{clsPrefix:o},{default:()=>Jr(qW,null)})]))}))}}),m7={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},v7={name:"Space",self:()=>m7};const g7={name:"Space",self:function(){return m7}};let b7;function y7(){if(!ED)return!0;if(void 0===b7){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=1===e.scrollHeight;return document.body.removeChild(e),b7=t}return b7}const _7=$n({name:"Space",props:Object.assign(Object.assign({},HW.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=fE(e),o=HW("Space","-space",void 0,g7,e,t),r=DW("Space",n,t);return{useGap:y7(),rtlEnabled:r,mergedClsPrefix:t,margin:Qr((()=>{const{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if("number"==typeof t)return{horizontal:t,vertical:t};const{self:{[KA("gap",t)]:n}}=o.value,{row:r,col:a}=rO(n);return{horizontal:tO(a),vertical:tO(r)}}))}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:a,itemStyle:i,margin:l,wrap:s,mergedClsPrefix:d,rtlEnabled:c,useGap:u,wrapItem:h,internalUseGap:p}=this,f=QB(eE(this),!1);if(!f.length)return null;const m=`${l.horizontal}px`,v=l.horizontal/2+"px",g=`${l.vertical}px`,b=l.vertical/2+"px",y=f.length-1,_=r.startsWith("space-");return Jr("div",{role:"none",class:[`${d}-space`,c&&`${d}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:["start","end"].includes(r)?`flex-${r}`:r,flexWrap:!s||e?"nowrap":"wrap",marginTop:u||e?"":`-${b}`,marginBottom:u||e?"":`-${b}`,alignItems:n,gap:u?`${l.vertical}px ${l.horizontal}px`:""}},h||!u&&!p?f.map(((t,n)=>t.type===mr?t:Jr("div",{role:"none",class:a,style:[i,{maxWidth:"100%"},u?"":e?{marginBottom:n!==y?g:""}:c?{marginLeft:_?"space-between"===r&&n===y?"":v:n!==y?m:"",marginRight:_?"space-between"===r&&0===n?"":v:"",paddingTop:b,paddingBottom:b}:{marginRight:_?"space-between"===r&&n===y?"":v:n!==y?m:"",marginLeft:_?"space-between"===r&&0===n?"":v:"",paddingTop:b,paddingBottom:b}]},t))):f)}}),x7={name:"DynamicTags",common:KU,peers:{Input:FY,Button:CG,Tag:JK,Space:v7},self:()=>({inputWidth:"64px"})},C7={name:"DynamicTags",common:Eq,peers:{Input:zY,Button:xG,Tag:eY,Space:g7},self:()=>({inputWidth:"64px"})},w7=LA("dynamic-tags",[LA("input",{minWidth:"var(--n-input-width)"})]),S7=$n({name:"DynamicTags",props:Object.assign(Object.assign(Object.assign({},HW.props),tY),{size:{type:String,default:"medium"},closable:{type:Boolean,default:!0},defaultValue:{type:Array,default:()=>[]},value:Array,inputClass:String,inputStyle:[String,Object],inputProps:Object,max:Number,tagClass:String,tagStyle:[String,Object],renderTag:Function,onCreate:{type:Function,default:e=>e},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),{localeRef:o}=AW("DynamicTags"),r=bE(e),{mergedDisabledRef:a}=r,i=vt(""),l=vt(!1),s=vt(!0),d=vt(null),c=HW("DynamicTags","-dynamic-tags",w7,C7,e,t),u=vt(e.defaultValue),h=xD(Ft(e,"value"),u),p=Qr((()=>o.value.add)),f=Qr((()=>qB(e.size))),m=Qr((()=>a.value||!!e.max&&h.value.length>=e.max));function v(t){const{onChange:n,"onUpdate:value":o,onUpdateValue:a}=e,{nTriggerFormInput:i,nTriggerFormChange:l}=r;n&&GB(n,t),a&&GB(a,t),o&&GB(o,t),u.value=t,i(),l()}function g(t){const n=null!=t?t:i.value;if(n){const t=h.value.slice(0);t.push(e.onCreate(n)),v(t)}l.value=!1,s.value=!0,i.value=""}const b=Qr((()=>{const{self:{inputWidth:e}}=c.value;return{"--n-input-width":e}})),y=n?vE("dynamic-tags",void 0,b,e):void 0;return{mergedClsPrefix:t,inputInstRef:d,localizedAdd:p,inputSize:f,inputValue:i,showInput:l,inputForceFocused:s,mergedValue:h,mergedDisabled:a,triggerDisabled:m,handleInputKeyDown:function(e){if("Enter"===e.key)g()},handleAddClick:function(){l.value=!0,Kt((()=>{var e;null===(e=d.value)||void 0===e||e.focus(),s.value=!1}))},handleInputBlur:function(){g()},handleCloseClick:function(e){const t=h.value.slice(0);t.splice(e,1),v(t)},handleInputConfirm:g,mergedTheme:c,cssVars:n?void 0:b,themeClass:null==y?void 0:y.themeClass,onRender:null==y?void 0:y.onRender}},render(){const{mergedTheme:e,cssVars:t,mergedClsPrefix:n,onRender:o,renderTag:r}=this;return null==o||o(),Jr(_7,{class:[`${n}-dynamic-tags`,this.themeClass],size:"small",style:t,theme:e.peers.Space,themeOverrides:e.peerOverrides.Space,itemStyle:"display: flex;"},{default:()=>{const{mergedTheme:e,tagClass:t,tagStyle:o,type:a,round:i,size:l,color:s,closable:d,mergedDisabled:c,showInput:u,inputValue:h,inputClass:p,inputStyle:f,inputSize:m,inputForceFocused:v,triggerDisabled:g,handleInputKeyDown:b,handleInputBlur:y,handleAddClick:_,handleCloseClick:x,handleInputConfirm:C,$slots:w}=this;return this.mergedValue.map(((n,u)=>r?r(n,u):Jr(rY,{key:u,theme:e.peers.Tag,themeOverrides:e.peerOverrides.Tag,class:t,style:o,type:a,round:i,size:l,color:s,closable:d,disabled:c,onClose:()=>{x(u)}},{default:()=>"string"==typeof n?n:n.label}))).concat(u?w.input?w.input({submit:C,deactivate:y}):Jr(BY,Object.assign({placeholder:"",size:m,style:f,class:p,autosize:!0},this.inputProps,{ref:"inputInstRef",value:h,onUpdateValue:e=>{this.inputValue=e},theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,onKeydown:b,onBlur:y,internalForceFocus:v})):w.trigger?w.trigger({activate:_,disabled:g}):Jr(SG,{dashed:!0,disabled:g,theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,size:m,onClick:_},{icon:()=>Jr(VW,{clsPrefix:n},{default:()=>Jr(qW,null)})}))}})}}),k7={name:"Element",common:KU},P7={name:"Element",common:Eq},T7={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},R7={name:"Flex",self:()=>T7};const F7={name:"Flex",self:function(){return T7}},z7={name:"ButtonGroup",common:KU},M7={name:"ButtonGroup",common:Eq},$7={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"};function A7(e){const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:a,warningColor:i,lineHeight:l,textColor3:s}=e;return Object.assign(Object.assign({},$7),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:l,labelTextColor:r,asteriskColor:a,feedbackTextColorError:a,feedbackTextColorWarning:i,feedbackTextColor:s})}const O7={name:"Form",common:Eq,self:A7},D7={name:"Form",common:KU,self:A7},I7={name:"GradientText",common:KU,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:a,primaryColorSuppl:i,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:d,infoColorSuppl:c,fontWeightStrong:u}=e;return{fontWeight:u,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:i,colorStartInfo:a,colorEndInfo:c,colorStartWarning:o,colorEndWarning:s,colorStartError:r,colorEndError:d,colorStartSuccess:n,colorEndSuccess:l}}};const B7={name:"GradientText",common:Eq,self:function(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:a,fontWeightStrong:i}=e;return{fontWeight:i,rotate:"252deg",colorStartPrimary:DO(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:DO(a,{alpha:.6}),colorEndInfo:a,colorStartWarning:DO(o,{alpha:.6}),colorEndWarning:o,colorStartError:DO(r,{alpha:.6}),colorEndError:r,colorStartSuccess:DO(n,{alpha:.6}),colorEndSuccess:n}}},E7={name:"InputNumber",common:KU,peers:{Button:CG,Input:FY},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}};const L7={name:"InputNumber",common:Eq,peers:{Button:xG,Input:zY},self:function(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},j7={name:"Layout",common:KU,peers:{Scrollbar:Hq},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:a,scrollbarColor:i,scrollbarColorHover:l}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:a,headerBorderColorInverted:a,footerBorderColor:a,footerBorderColorInverted:a,siderBorderColor:a,siderBorderColorInverted:a,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:OO(n,i),siderToggleBarColorHover:OO(n,l),__invertScrollbar:"false"}}};const N7={name:"Layout",common:Eq,peers:{Scrollbar:Nq},self:function(e){const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:a,actionColor:i,scrollbarColor:l,scrollbarColorHover:s,invertedColor:d}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:i,headerColor:r,headerColorInverted:d,footerColor:i,footerColorInverted:d,headerBorderColor:a,headerBorderColorInverted:d,footerBorderColor:a,footerBorderColorInverted:d,siderBorderColor:a,siderBorderColorInverted:d,siderColor:r,siderColorInverted:d,siderToggleButtonBorder:`1px solid ${a}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:OO(o,l),siderToggleBarColorHover:OO(o,s),__invertScrollbar:"true"}}},H7={name:"Row",common:KU},W7={name:"Row",common:Eq};function V7(e){const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:a,borderRadius:i,fontSize:l,hoverColor:s}=e;return{textColor:t,color:n,colorHover:s,colorModal:o,colorHoverModal:OO(o,s),colorPopover:r,colorHoverPopover:OO(r,s),borderColor:a,borderColorModal:OO(o,a),borderColorPopover:OO(r,a),borderRadius:i,fontSize:l}}const U7={name:"List",common:Eq,self:V7},q7={name:"List",common:KU,self:V7},K7={name:"Log",common:KU,peers:{Scrollbar:Hq,Code:AQ},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}};const Y7={name:"Log",common:Eq,peers:{Scrollbar:Nq,Code:OQ},self:function(e){const{textColor2:t,modalColor:n,borderColor:o,fontSize:r,primaryColor:a}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:n,loaderBorder:`1px solid ${o}`,loadingColor:a}}},G7={name:"Mention",common:KU,peers:{InternalSelectMenu:PK,Input:FY},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}};const X7={name:"Mention",common:Eq,peers:{InternalSelectMenu:kK,Input:zY},self:function(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}};function Z7(e){const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:a,fontSize:i,dividerColor:l,hoverColor:s,primaryColorHover:d}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:s,itemColorActive:DO(o,{alpha:.1}),itemColorActiveHover:DO(o,{alpha:.1}),itemColorActiveCollapsed:DO(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:d,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:a,itemIconColorHover:a,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:a,itemIconColorHorizontal:a,itemIconColorHoverHorizontal:d,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:i,dividerColor:l},{itemColorHoverInverted:"#0000",itemColorActiveInverted:u=o,itemColorActiveHoverInverted:u,itemColorActiveCollapsedInverted:u,itemTextColorInverted:c="#BBB",itemTextColorHoverInverted:h="#FFF",itemTextColorChildActiveInverted:h,itemTextColorChildActiveHoverInverted:h,itemTextColorActiveInverted:h,itemTextColorActiveHoverInverted:h,itemTextColorHorizontalInverted:c,itemTextColorHoverHorizontalInverted:h,itemTextColorChildActiveHorizontalInverted:h,itemTextColorChildActiveHoverHorizontalInverted:h,itemTextColorActiveHorizontalInverted:h,itemTextColorActiveHoverHorizontalInverted:h,itemIconColorInverted:c,itemIconColorHoverInverted:h,itemIconColorActiveInverted:h,itemIconColorActiveHoverInverted:h,itemIconColorChildActiveInverted:h,itemIconColorChildActiveHoverInverted:h,itemIconColorCollapsedInverted:c,itemIconColorHorizontalInverted:c,itemIconColorHoverHorizontalInverted:h,itemIconColorActiveHorizontalInverted:h,itemIconColorActiveHoverHorizontalInverted:h,itemIconColorChildActiveHorizontalInverted:h,itemIconColorChildActiveHoverHorizontalInverted:h,arrowColorInverted:c,arrowColorHoverInverted:h,arrowColorActiveInverted:h,arrowColorActiveHoverInverted:h,arrowColorChildActiveInverted:h,arrowColorChildActiveHoverInverted:h,groupTextColorInverted:"#AAA"});var c,u,h}const Q7={name:"Menu",common:Eq,peers:{Tooltip:HJ,Dropdown:EJ},self:Z7},J7={name:"Menu",common:KU,peers:{Tooltip:NJ,Dropdown:LJ},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=Z7(e);return o.itemColorActive=DO(t,{alpha:.15}),o.itemColorActiveHover=DO(t,{alpha:.15}),o.itemColorActiveCollapsed=DO(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},e5={titleFontSize:"18px",backSize:"22px"};function t5(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:a,primaryColorHover:i,primaryColorPressed:l}=e;return Object.assign(Object.assign({},e5),{titleFontWeight:a,fontSize:r,titleTextColor:t,backColor:n,backColorHover:i,backColorPressed:l,subtitleTextColor:o})}const n5={name:"PageHeader",common:Eq,self:t5},o5={name:"PageHeader",common:KU,self:t5},r5={iconSize:"22px"};function a5(e){const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},r5),{fontSize:t,iconColor:n})}const i5={name:"Popconfirm",common:Eq,peers:{Button:xG,Popover:IK},self:a5},l5={name:"Popconfirm",common:KU,peers:{Button:CG,Popover:BK},self:a5};function s5(e){const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:a,progressRailColor:i,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:i,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:a,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:a,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}}const d5={name:"Progress",common:Eq,self:s5},c5={name:"Progress",common:KU,self(e){const t=s5(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},u5={name:"Rate",common:KU,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}};const h5={name:"Rate",common:Eq,self:function(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},p5={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};function f5(e){const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:a,warningColor:i,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},p5),{lineHeight:l,titleFontWeight:s,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:a,iconColorWarning:i})}const m5={name:"Result",common:Eq,self:f5},v5={name:"Result",common:KU,self:f5},g5={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},b5={name:"Slider",common:KU,self(e){const{railColor:t,modalColor:n,primaryColorSuppl:o,popoverColor:r,textColor2:a,cardColor:i,borderRadius:l,fontSize:s,opacityDisabled:d}=e;return Object.assign(Object.assign({},g5),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:o,fillColorHover:o,opacityDisabled:d,handleColor:"#FFF",dotColor:i,dotColorModal:n,dotColorPopover:r,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:r,indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${o}`,dotBoxShadow:""})}};const y5={name:"Slider",common:Eq,self:function(e){const{railColor:t,primaryColor:n,baseColor:o,cardColor:r,modalColor:a,popoverColor:i,borderRadius:l,fontSize:s,opacityDisabled:d}=e;return Object.assign(Object.assign({},g5),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:n,fillColorHover:n,opacityDisabled:d,handleColor:"#FFF",dotColor:r,dotColorModal:a,dotColorPopover:i,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:"rgba(0, 0, 0, .85)",indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:o,indicatorBorderRadius:l,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}};function _5(e){const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:a,heightHuge:i,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:a,sizeHuge:i,color:l,opacitySpinning:t}}const x5={name:"Spin",common:Eq,self:_5},C5={name:"Spin",common:KU,self:_5};function w5(e){const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}}const S5={name:"Statistic",common:Eq,self:w5},k5={name:"Statistic",common:KU,self:w5},P5={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};function T5(e){const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:a,textColor1:i,textColor2:l}=e;return Object.assign(Object.assign({},P5),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:a,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:a,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:i,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:a,descriptionTextColorProcess:l,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:a})}const R5={name:"Steps",common:Eq,self:T5},F5={name:"Steps",common:KU,self:T5},z5={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},M5={name:"Switch",common:KU,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:a,baseColor:i}=e;return Object.assign(Object.assign({},z5),{iconColor:i,textColor:a,loadingColor:t,opacityDisabled:n,railColor:"rgba(255, 255, 255, .20)",railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${DO(r,{alpha:.3})}`})}};const $5={name:"Switch",common:Eq,self:function(e){const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e;return Object.assign(Object.assign({},z5),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:"rgba(0, 0, 0, .14)",railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${DO(t,{alpha:.2})}`})}},A5={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function O5(e){const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:a,tableColorStriped:i,textColor1:l,textColor2:s,borderRadius:d,fontWeightStrong:c,lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:f}=e;return Object.assign(Object.assign({},A5),{fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:f,lineHeight:u,borderRadius:d,borderColor:OO(n,t),borderColorModal:OO(o,t),borderColorPopover:OO(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:OO(n,i),tdColorStripedModal:OO(o,i),tdColorStripedPopover:OO(r,i),thColor:OO(n,a),thColorModal:OO(o,a),thColorPopover:OO(r,a),thTextColor:l,tdTextColor:s,thFontWeight:c})}const D5={name:"Table",common:Eq,self:O5},I5={name:"Table",common:KU,self:O5},B5={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"};function E5(e){const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:l,closeColorPressed:s,tabColor:d,baseColor:c,dividerColor:u,fontWeight:h,textColor1:p,borderRadius:f,fontSize:m,fontWeightStrong:v}=e;return Object.assign(Object.assign({},B5),{colorSegment:d,tabFontSizeCard:m,tabTextColorLine:p,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:p,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:p,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:p,tabTextColorHoverCard:p,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:a,closeIconColorPressed:i,closeColorHover:l,closeColorPressed:s,closeBorderRadius:f,tabColor:d,tabColorSegment:c,tabBorderColor:u,tabFontWeightActive:h,tabFontWeight:h,tabBorderRadius:f,paneTextColor:t,fontWeightStrong:v})}const L5={name:"Tabs",common:Eq,self:E5},j5={name:"Tabs",common:KU,self(e){const t=E5(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}};function N5(e){const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}}const H5={name:"Thing",common:Eq,self:N5},W5={name:"Thing",common:KU,self:N5},V5={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},U5={name:"Timeline",common:KU,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:a,textColor1:i,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:c}=e;return Object.assign(Object.assign({},V5),{contentFontSize:c,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${a}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:a,titleTextColor:i,contentTextColor:l,metaTextColor:t,lineColor:s})}};const q5={name:"Timeline",common:Eq,self:function(e){const{textColor3:t,infoColor:n,errorColor:o,successColor:r,warningColor:a,textColor1:i,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:c}=e;return Object.assign(Object.assign({},V5),{contentFontSize:c,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${a}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:a,titleTextColor:i,contentTextColor:l,metaTextColor:t,lineColor:s})}},K5={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},Y5={name:"Transfer",common:KU,peers:{Checkbox:vQ,Scrollbar:Hq,Input:FY,Empty:_K,Button:CG},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:a,heightMedium:i,borderRadius:l,inputColor:s,tableHeaderColor:d,textColor1:c,textColorDisabled:u,textColor2:h,textColor3:p,hoverColor:f,closeColorHover:m,closeColorPressed:v,closeIconColor:g,closeIconColorHover:b,closeIconColorPressed:y,dividerColor:_}=e;return Object.assign(Object.assign({},K5),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:a,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:l,dividerColor:_,borderColor:"#0000",listColor:s,headerColor:d,titleTextColor:c,titleTextColorDisabled:u,extraTextColor:p,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:f,titleFontWeight:t,closeColorHover:m,closeColorPressed:v,closeIconColor:g,closeIconColorHover:b,closeIconColorPressed:y})}};const G5={name:"Transfer",common:Eq,peers:{Checkbox:mQ,Scrollbar:Nq,Input:zY,Empty:yK,Button:xG},self:function(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:a,heightMedium:i,borderRadius:l,cardColor:s,tableHeaderColor:d,textColor1:c,textColorDisabled:u,textColor2:h,textColor3:p,borderColor:f,hoverColor:m,closeColorHover:v,closeColorPressed:g,closeIconColor:b,closeIconColorHover:y,closeIconColorPressed:_}=e;return Object.assign(Object.assign({},K5),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:a,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:l,dividerColor:f,borderColor:f,listColor:s,headerColor:OO(s,d),titleTextColor:c,titleTextColorDisabled:u,extraTextColor:p,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:m,titleFontWeight:t,closeColorHover:v,closeColorPressed:g,closeIconColor:b,closeIconColorHover:y,closeIconColorPressed:_})}};function X5(e){const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:a,textColor3:i,textColor2:l,textColorDisabled:s,fontSize:d}=e;return{fontSize:d,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:DO(a,{alpha:.1}),arrowColor:i,nodeTextColor:l,nodeTextColorDisabled:s,loadingColor:a,dropMarkColor:a,lineColor:n}}const Z5={name:"Tree",common:Eq,peers:{Checkbox:mQ,Scrollbar:Nq,Empty:yK},self:X5},Q5={name:"Tree",common:KU,peers:{Checkbox:vQ,Scrollbar:Hq,Empty:_K},self(e){const{primaryColor:t}=e,n=X5(e);return n.nodeColorActive=DO(t,{alpha:.15}),n}},J5={name:"TreeSelect",common:KU,peers:{Tree:Q5,Empty:_K,InternalSelection:lY}};const e3={name:"TreeSelect",common:Eq,peers:{Tree:Z5,Empty:yK,InternalSelection:sY},self:function(e){const{popoverColor:t,boxShadow2:n,borderRadius:o,heightMedium:r,dividerColor:a,textColor2:i}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:n,menuBorderRadius:o,menuHeight:`calc(${r} * 7.6)`,actionDividerColor:a,actionTextColor:i,actionPadding:"8px 12px",headerDividerColor:a,headerTextColor:i,headerPadding:"8px 12px"}}},t3={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};function n3(e){const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:a,borderRadiusSmall:i,dividerColor:l,fontWeightStrong:s,textColor1:d,textColor3:c,infoColor:u,warningColor:h,errorColor:p,successColor:f,codeColor:m}=e;return Object.assign(Object.assign({},t3),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:a,codeBorderRadius:i,liTextColor:n,liLineHeight:r,liFontSize:a,hrColor:l,headerFontWeight:s,headerTextColor:d,pTextColor:n,pTextColor1Depth:d,pTextColor2Depth:n,pTextColor3Depth:c,pLineHeight:r,pFontSize:a,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:u,headerBarColorError:p,headerBarColorWarning:h,headerBarColorSuccess:f,textColor:n,textColor1Depth:d,textColor2Depth:n,textColor3Depth:c,textColorPrimary:t,textColorInfo:u,textColorSuccess:f,textColorWarning:h,textColorError:p,codeTextColor:n,codeColor:m,codeBorder:"1px solid #0000"})}const o3={name:"Typography",common:Eq,self:n3},r3={name:"Typography",common:KU,self:n3};function a3(e){const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:a,opacityDisabled:i,actionColor:l,borderColor:s,hoverColor:d,lineHeight:c,borderRadius:u,fontSize:h}=e;return{fontSize:h,lineHeight:c,borderRadius:u,draggerColor:l,draggerBorder:`1px dashed ${s}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:d,itemColorHoverError:DO(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:a,itemIconColor:t,itemDisabledOpacity:i,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${s}`}}const i3={name:"Upload",common:Eq,peers:{Button:xG,Progress:d5},self:a3},l3={name:"Upload",common:KU,peers:{Button:CG,Progress:c5},self(e){const{errorColor:t}=e,n=a3(e);return n.itemColorHoverError=DO(t,{alpha:.09}),n}},s3={name:"Watermark",common:KU,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},d3={name:"Watermark",common:Eq,self(e){const{fontFamily:t}=e;return{fontFamily:t}}};const c3={name:"FloatButtonGroup",common:Eq,self:function(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},u3={name:"FloatButton",common:KU,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:a,primaryColorHover:i,primaryColorPressed:l,baseColor:s,borderRadius:d}=e;return{color:t,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:o,colorPressed:r,colorPrimary:a,colorPrimaryHover:i,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:d}}};const h3={name:"FloatButton",common:Eq,self:function(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:a,primaryColorHover:i,primaryColorPressed:l,borderRadius:s}=e;return{color:t,colorHover:o,colorPressed:r,colorPrimary:a,colorPrimaryHover:i,colorPrimaryPressed:l,textColor:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .16)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .24)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .24)",textColorPrimary:"#fff",borderRadiusSquare:s}}},p3="n-form",f3="n-form-item-insts",m3=LA("form",[NA("inline","\n width: 100%;\n display: inline-flex;\n align-items: flex-start;\n align-content: space-around;\n ",[LA("form-item",{width:"auto",marginRight:"18px"},[BA("&:last-child",{marginRight:0})])])]);var v3=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};const g3=$n({name:"Form",props:Object.assign(Object.assign({},HW.props),{inline:Boolean,labelWidth:[Number,String],labelAlign:String,labelPlacement:{type:String,default:"top"},model:{type:Object,default:()=>{}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:e=>{e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),setup(e){const{mergedClsPrefixRef:t}=fE(e);HW("Form","-form",m3,O7,e,t);const n={},o=vt(void 0);To(p3,{props:e,maxChildLabelWidthRef:o,deriveMaxChildLabelWidth:e=>{const t=o.value;(void 0===t||e>=t)&&(o.value=e)}}),To(f3,{formItems:n});const r={validate:function(e){return v3(this,arguments,void 0,(function*(e,t=()=>!0){return yield new Promise(((o,r)=>{const a=[];for(const e of nE(n)){const o=n[e];for(const e of o)e.path&&a.push(e.internalValidate(null,t))}Promise.all(a).then((t=>{const n=t.some((e=>!e.valid)),a=[],i=[];t.forEach((e=>{var t,n;(null===(t=e.errors)||void 0===t?void 0:t.length)&&a.push(e.errors),(null===(n=e.warnings)||void 0===n?void 0:n.length)&&i.push(e.warnings)})),e&&e(a.length?a:void 0,{warnings:i.length?i:void 0}),n?r(a.length?a:void 0):o({warnings:i.length?i:void 0})}))}))}))},restoreValidation:function(){for(const e of nE(n)){const t=n[e];for(const e of t)e.restoreValidation()}}};return Object.assign(r,{mergedClsPrefix:t})},render(){const{mergedClsPrefix:e}=this;return Jr("form",{class:[`${e}-form`,this.inline&&`${e}-form--inline`],onSubmit:this.onSubmit},this.$slots)}});function b3(){return b3=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),o=1;o=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}break;default:return e}})):e}function P3(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function T3(e,t,n){var o=0,r=e.length;!function a(i){if(i&&i.length)n(i);else{var l=o;o+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,D3=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,I3={integer:function(e){return I3.number(e)&&parseInt(e,10)===e},float:function(e){return I3.number(e)&&!I3.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(Nte){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!I3.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(O3)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if($3)return $3;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",r=("\n(?:\n(?:"+o+":){7}(?:"+o+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+o+":){6}(?:"+n+"|:"+o+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+o+":){5}(?::"+n+"|(?::"+o+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+o+":){4}(?:(?::"+o+"){0,1}:"+n+"|(?::"+o+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+o+":){3}(?:(?::"+o+"){0,2}:"+n+"|(?::"+o+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+o+":){2}(?:(?::"+o+"){0,3}:"+n+"|(?::"+o+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+o+":){1}(?:(?::"+o+"){0,4}:"+n+"|(?::"+o+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+o+"){0,5}:"+n+"|(?::"+o+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),i=new RegExp("^"+n+"$"),l=new RegExp("^"+r+"$"),s=function(e){return e&&e.exact?a:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+r+t(e)+")","g")};s.v4=function(e){return e&&e.exact?i:new RegExp(""+t(e)+n+t(e),"g")},s.v6=function(e){return e&&e.exact?l:new RegExp(""+t(e)+r+t(e),"g")};var d=s.v4().source,c=s.v6().source;return $3=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+d+"|"+c+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(D3)}},B3="enum",E3={required:A3,whitespace:function(e,t,n,o,r){(/^\s+$/.test(t)||""===t)&&o.push(k3(r.messages.whitespace,e.fullField))},type:function(e,t,n,o,r){if(e.required&&void 0===t)A3(e,t,n,o,r);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?I3[a](t)||o.push(k3(r.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&o.push(k3(r.messages.types[a],e.fullField,e.type))}},range:function(e,t,n,o,r){var a="number"==typeof e.len,i="number"==typeof e.min,l="number"==typeof e.max,s=t,d=null,c="number"==typeof t,u="string"==typeof t,h=Array.isArray(t);if(c?d="number":u?d="string":h&&(d="array"),!d)return!1;h&&(s=t.length),u&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?s!==e.len&&o.push(k3(r.messages[d].len,e.fullField,e.len)):i&&!l&&se.max?o.push(k3(r.messages[d].max,e.fullField,e.max)):i&&l&&(se.max)&&o.push(k3(r.messages[d].range,e.fullField,e.min,e.max))},enum:function(e,t,n,o,r){e[B3]=Array.isArray(e[B3])?e[B3]:[],-1===e[B3].indexOf(t)&&o.push(k3(r.messages[B3],e.fullField,e[B3].join(", ")))},pattern:function(e,t,n,o,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(k3(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(k3(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},L3=function(e,t,n,o,r){var a=e.type,i=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,a)&&!e.required)return n();E3.required(e,t,o,i,r,a),P3(t,a)||E3.type(e,t,o,i,r)}n(i)},j3={string:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,"string")&&!e.required)return n();E3.required(e,t,o,a,r,"string"),P3(t,"string")||(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r),E3.pattern(e,t,o,a,r),!0===e.whitespace&&E3.whitespace(e,t,o,a,r))}n(a)},method:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.type(e,t,o,a,r)}n(a)},number:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(""===t&&(t=void 0),P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},boolean:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.type(e,t,o,a,r)}n(a)},regexp:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),P3(t)||E3.type(e,t,o,a,r)}n(a)},integer:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},float:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},array:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();E3.required(e,t,o,a,r,"array"),null!=t&&(E3.type(e,t,o,a,r),E3.range(e,t,o,a,r))}n(a)},object:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.type(e,t,o,a,r)}n(a)},enum:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r),void 0!==t&&E3.enum(e,t,o,a,r)}n(a)},pattern:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,"string")&&!e.required)return n();E3.required(e,t,o,a,r),P3(t,"string")||E3.pattern(e,t,o,a,r)}n(a)},date:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t,"date")&&!e.required)return n();var i;if(E3.required(e,t,o,a,r),!P3(t,"date"))i=t instanceof Date?t:new Date(t),E3.type(e,i,o,a,r),i&&E3.range(e,i.getTime(),o,a,r)}n(a)},url:L3,hex:L3,email:L3,required:function(e,t,n,o,r){var a=[],i=Array.isArray(t)?"array":typeof t;E3.required(e,t,o,a,r,i),n(a)},any:function(e,t,n,o,r){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(P3(t)&&!e.required)return n();E3.required(e,t,o,a,r)}n(a)}};function N3(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var H3=N3(),W3=function(){function e(e){this.rules=null,this._messages=H3,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var o=e[n];t.rules[n]=Array.isArray(o)?o:[o]}))},t.messages=function(e){return e&&(this._messages=M3(N3(),e)),this._messages},t.validate=function(t,n,o){var r=this;void 0===n&&(n={}),void 0===o&&(o=function(){});var a=t,i=n,l=o;if("function"==typeof i&&(l=i,i={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,a),Promise.resolve(a);if(i.messages){var s=this.messages();s===H3&&(s=N3()),M3(s,i.messages),i.messages=s}else i.messages=this.messages();var d={};(i.keys||Object.keys(this.rules)).forEach((function(e){var n=r.rules[e],o=a[e];n.forEach((function(n){var i=n;"function"==typeof i.transform&&(a===t&&(a=b3({},a)),o=a[e]=i.transform(o)),(i="function"==typeof i?{validator:i}:b3({},i)).validator=r.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=r.getType(i),d[e]=d[e]||[],d[e].push({rule:i,value:o,source:a,field:e}))}))}));var c={};return F3(d,i,(function(t,n){var o,r=t.rule,l=!("object"!==r.type&&"array"!==r.type||"object"!=typeof r.fields&&"object"!=typeof r.defaultField);function s(e,t){return b3({},t,{fullField:r.fullField+"."+e,fullFields:r.fullFields?[].concat(r.fullFields,[e]):[e]})}function d(o){void 0===o&&(o=[]);var d=Array.isArray(o)?o:[o];!i.suppressWarning&&d.length&&e.warning("async-validator:",d),d.length&&void 0!==r.message&&(d=[].concat(r.message));var u=d.map(z3(r,a));if(i.first&&u.length)return c[r.field]=1,n(u);if(l){if(r.required&&!t.value)return void 0!==r.message?u=[].concat(r.message).map(z3(r,a)):i.error&&(u=[i.error(r,k3(i.messages.required,r.field))]),n(u);var h={};r.defaultField&&Object.keys(t.value).map((function(e){h[e]=r.defaultField})),h=b3({},h,t.rule.fields);var p={};Object.keys(h).forEach((function(e){var t=h[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))}));var f=new e(p);f.messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),f.validate(t.value,t.rule.options||i,(function(e){var t=[];u&&u.length&&t.push.apply(t,u),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(u)}if(l=l&&(r.required||!r.required&&t.value),r.field=t.field,r.asyncValidator)o=r.asyncValidator(r,t.value,d,t.source,i);else if(r.validator){try{o=r.validator(r,t.value,d,t.source,i)}catch(u){console.error,i.suppressValidatorError||setTimeout((function(){throw u}),0),d(u.message)}!0===o?d():!1===o?d("function"==typeof r.message?r.message(r.fullField||r.field):r.message||(r.fullField||r.field)+" fails"):o instanceof Array?d(o):o instanceof Error&&d(o.message)}o&&o.then&&o.then((function(){return d()}),(function(e){return d(e)}))}),(function(e){!function(e){for(var t,n,o=[],r={},i=0;i{try{const o=e(...n);return!(!t&&("boolean"==typeof o||o instanceof Error||Array.isArray(o))||(null==o?void 0:o.then))||o}catch(o){return}}}const X3=$n({name:"FormItem",props:K3,setup(e){BD(f3,"formItems",Ft(e,"path"));const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=Ro(p3,null),r=function(e){const t=Ro(p3,null);return{mergedSize:Qr((()=>void 0!==e.size?e.size:void 0!==(null==t?void 0:t.props.size)?t.props.size:"medium"))}}(e),a=function(e){const t=Ro(p3,null),n=Qr((()=>{const{labelPlacement:n}=e;return void 0!==n?n:(null==t?void 0:t.props.labelPlacement)?t.props.labelPlacement:"top"})),o=Qr((()=>"left"===n.value&&("auto"===e.labelWidth||"auto"===(null==t?void 0:t.props.labelWidth)))),r=Qr((()=>{if("top"===n.value)return;const{labelWidth:r}=e;if(void 0!==r&&"auto"!==r)return LB(r);if(o.value){const e=null==t?void 0:t.maxChildLabelWidthRef.value;return void 0!==e?LB(e):void 0}return void 0!==(null==t?void 0:t.props.labelWidth)?LB(t.props.labelWidth):void 0})),a=Qr((()=>{const{labelAlign:n}=e;return n||((null==t?void 0:t.props.labelAlign)?t.props.labelAlign:void 0)})),i=Qr((()=>{var t;return[null===(t=e.labelProps)||void 0===t?void 0:t.style,e.labelStyle,{width:r.value}]})),l=Qr((()=>{const{showRequireMark:n}=e;return void 0!==n?n:null==t?void 0:t.props.showRequireMark})),s=Qr((()=>{const{requireMarkPlacement:n}=e;return void 0!==n?n:(null==t?void 0:t.props.requireMarkPlacement)||"right"})),d=vt(!1),c=vt(!1),u=Qr((()=>{const{validationStatus:t}=e;return void 0!==t?t:d.value?"error":c.value?"warning":void 0})),h=Qr((()=>{const{showFeedback:n}=e;return void 0!==n?n:void 0===(null==t?void 0:t.props.showFeedback)||t.props.showFeedback})),p=Qr((()=>{const{showLabel:n}=e;return void 0!==n?n:void 0===(null==t?void 0:t.props.showLabel)||t.props.showLabel}));return{validationErrored:d,validationWarned:c,mergedLabelStyle:i,mergedLabelPlacement:n,mergedLabelAlign:a,mergedShowRequireMark:l,mergedRequireMarkPlacement:s,mergedValidationStatus:u,mergedShowFeedback:h,mergedShowLabel:p,isAutoLabelWidth:o}}(e),{validationErrored:i,validationWarned:l}=a,{mergedRequired:s,mergedRules:d}=function(e){const t=Ro(p3,null),n=Qr((()=>{const{rulePath:t}=e;if(void 0!==t)return t;const{path:n}=e;return void 0!==n?n:void 0})),o=Qr((()=>{const o=[],{rule:r}=e;if(void 0!==r&&(Array.isArray(r)?o.push(...r):o.push(r)),t){const{rules:e}=t.props,{value:r}=n;if(void 0!==e&&void 0!==r){const t=RN(e,r);void 0!==t&&(Array.isArray(t)?o.push(...t):o.push(t))}}return o})),r=Qr((()=>o.value.some((e=>e.required)))),a=Qr((()=>r.value||e.required));return{mergedRules:o,mergedRequired:a}}(e),{mergedSize:c}=r,{mergedLabelPlacement:u,mergedLabelAlign:h,mergedRequireMarkPlacement:p}=a,f=vt([]),m=vt(GO()),v=o?Ft(o.props,"disabled"):vt(!1),g=HW("Form","-form-item",U3,O7,e,t);function b(){f.value=[],i.value=!1,l.value=!1,e.feedback&&(m.value=GO())}er(Ft(e,"path"),(()=>{e.ignorePathChange||b()}));const y=(...t)=>q3(this,[...t],void 0,(function*(t=null,n=()=>!0,r={suppressWarning:!0}){const{path:a}=e;r?r.first||(r.first=e.first):r={};const{value:s}=d,c=o?RN(o.props.model,a||""):void 0,u={},h={},p=(t?s.filter((e=>Array.isArray(e.trigger)?e.trigger.includes(t):e.trigger===t)):s).filter(n).map(((e,t)=>{const n=Object.assign({},e);if(n.validator&&(n.validator=G3(n.validator,!1)),n.asyncValidator&&(n.asyncValidator=G3(n.asyncValidator,!0)),n.renderMessage){const e=`__renderMessage__${t}`;h[e]=n.message,n.message=e,u[e]=n.renderMessage}return n})),m=p.filter((e=>"warning"!==e.level)),v=p.filter((e=>"warning"===e.level)),g={valid:!0,errors:void 0,warnings:void 0};if(!p.length)return g;const y=null!=a?a:"__n_no_path__",_=new W3({[y]:m}),x=new W3({[y]:v}),{validateMessages:C}=(null==o?void 0:o.props)||{};C&&(_.messages(C),x.messages(C));const w=e=>{f.value=e.map((e=>{const t=(null==e?void 0:e.message)||"";return{key:t,render:()=>t.startsWith("__renderMessage__")?u[t]():t}})),e.forEach((e=>{var t;(null===(t=e.message)||void 0===t?void 0:t.startsWith("__renderMessage__"))&&(e.message=h[e.message])}))};if(m.length){const e=yield new Promise((e=>{_.validate({[y]:c},r,e)}));(null==e?void 0:e.length)&&(g.valid=!1,g.errors=e,w(e))}if(v.length&&!g.errors){const e=yield new Promise((e=>{x.validate({[y]:c},r,e)}));(null==e?void 0:e.length)&&(w(e),g.warnings=e)}return g.errors||g.warnings?(i.value=!!g.errors,l.value=!!g.warnings):b(),g}));To(gE,{path:Ft(e,"path"),disabled:v,mergedSize:r.mergedSize,mergedValidationStatus:a.mergedValidationStatus,restoreValidation:b,handleContentBlur:function(){y("blur")},handleContentChange:function(){y("change")},handleContentFocus:function(){y("focus")},handleContentInput:function(){y("input")}});const _={validate:function(e,t){return q3(this,void 0,void 0,(function*(){let n,o,r,a;return"string"==typeof e?(n=e,o=t):null!==e&&"object"==typeof e&&(n=e.trigger,o=e.callback,r=e.shouldRuleBeApplied,a=e.options),yield new Promise(((e,t)=>{y(n,r,a).then((({valid:n,errors:r,warnings:a})=>{n?(o&&o(void 0,{warnings:a}),e({warnings:a})):(o&&o(r,{warnings:a}),t(r))}))}))}))},restoreValidation:b,internalValidate:y},x=vt(null);Kn((()=>{if(!a.isAutoLabelWidth.value)return;const e=x.value;if(null!==e){const t=e.style.whiteSpace;e.style.whiteSpace="nowrap",e.style.width="",null==o||o.deriveMaxChildLabelWidth(Number(getComputedStyle(e).width.slice(0,-2))),e.style.whiteSpace=t}}));const C=Qr((()=>{var e;const{value:t}=c,{value:n}=u,o="top"===n?"vertical":"horizontal",{common:{cubicBezierEaseInOut:r},self:{labelTextColor:a,asteriskColor:i,lineHeight:l,feedbackTextColor:s,feedbackTextColorWarning:d,feedbackTextColorError:p,feedbackPadding:f,labelFontWeight:m,[KA("labelHeight",t)]:v,[KA("blankHeight",t)]:b,[KA("feedbackFontSize",t)]:y,[KA("feedbackHeight",t)]:_,[KA("labelPadding",o)]:x,[KA("labelTextAlign",o)]:C,[KA(KA("labelFontSize",n),t)]:w}}=g.value;let S=null!==(e=h.value)&&void 0!==e?e:C;"top"===n&&(S="right"===S?"flex-end":"flex-start");return{"--n-bezier":r,"--n-line-height":l,"--n-blank-height":b,"--n-label-font-size":w,"--n-label-text-align":S,"--n-label-height":v,"--n-label-padding":x,"--n-label-font-weight":m,"--n-asterisk-color":i,"--n-label-text-color":a,"--n-feedback-padding":f,"--n-feedback-font-size":y,"--n-feedback-height":_,"--n-feedback-text-color":s,"--n-feedback-text-color-warning":d,"--n-feedback-text-color-error":p}})),w=n?vE("form-item",Qr((()=>{var e;return`${c.value[0]}${u.value[0]}${(null===(e=h.value)||void 0===e?void 0:e[0])||""}`})),C,e):void 0,S=Qr((()=>"left"===u.value&&"left"===p.value&&"left"===h.value));return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:x,mergedClsPrefix:t,mergedRequired:s,feedbackId:m,renderExplains:f,reverseColSpace:S},a),r),_),{cssVars:n?void 0:C,themeClass:null==w?void 0:w.themeClass,onRender:null==w?void 0:w.onRender})},render(){const{$slots:e,mergedClsPrefix:t,mergedShowLabel:n,mergedShowRequireMark:o,mergedRequireMarkPlacement:r,onRender:a}=this,i=void 0!==o?o:this.mergedRequired;null==a||a();return Jr("div",{class:[`${t}-form-item`,this.themeClass,`${t}-form-item--${this.mergedSize}-size`,`${t}-form-item--${this.mergedLabelPlacement}-labelled`,this.isAutoLabelWidth&&`${t}-form-item--auto-label-width`,!n&&`${t}-form-item--no-label`],style:this.cssVars},n&&(()=>{const e=this.$slots.label?this.$slots.label():this.label;if(!e)return null;const n=Jr("span",{class:`${t}-form-item-label__text`},e),o=i?Jr("span",{class:`${t}-form-item-label__asterisk`},"left"!==r?" *":"* "):"right-hanging"===r&&Jr("span",{class:`${t}-form-item-label__asterisk-placeholder`}," *"),{labelProps:a}=this;return Jr("label",Object.assign({},a,{class:[null==a?void 0:a.class,`${t}-form-item-label`,`${t}-form-item-label--${r}-mark`,this.reverseColSpace&&`${t}-form-item-label--reverse-columns-space`],style:this.mergedLabelStyle,ref:"labelElementRef"}),"left"===r?[o,n]:[n,o])})(),Jr("div",{class:[`${t}-form-item-blank`,this.mergedValidationStatus&&`${t}-form-item-blank--${this.mergedValidationStatus}`]},e),this.mergedShowFeedback?Jr("div",{key:this.feedbackId,style:this.feedbackStyle,class:[`${t}-form-item-feedback-wrapper`,this.feedbackClass]},Jr(ha,{name:"fade-down-transition",mode:"out-in"},{default:()=>{const{mergedValidationStatus:n}=this;return dE(e.feedback,(e=>{var o;const{feedback:r}=this,a=e||r?Jr("div",{key:"__feedback__",class:`${t}-form-item-feedback__line`},e||r):this.renderExplains.length?null===(o=this.renderExplains)||void 0===o?void 0:o.map((({key:e,render:n})=>Jr("div",{key:e,class:`${t}-form-item-feedback__line`},n()))):null;return a?Jr("div","warning"===n?{key:"controlled-warning",class:`${t}-form-item-feedback ${t}-form-item-feedback--warning`}:"error"===n?{key:"controlled-error",class:`${t}-form-item-feedback ${t}-form-item-feedback--error`}:"success"===n?{key:"controlled-success",class:`${t}-form-item-feedback ${t}-form-item-feedback--success`}:{key:"controlled-default",class:`${t}-form-item-feedback`},a):null}))}})):null)}}),Z3="n-grid",Q3=1,J3={span:{type:[Number,String],default:Q3},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},e6=nE(J3),t6=$n({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:J3,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:n,overflowRef:o,layoutShiftDisabledRef:r}=Ro(Z3),a=Nr();return{overflow:o,itemStyle:n,layoutShiftDisabled:r,mergedXGap:Qr((()=>nO(t.value||0))),deriveStyle:()=>{e.value;const{privateSpan:n=Q3,privateShow:o=!0,privateColStart:r,privateOffset:i=0}=a.vnode.props,{value:l}=t,s=nO(l||0);return{display:o?"":"none",gridColumn:`${null!=r?r:`span ${n}`} / span ${n}`,marginLeft:i?`calc((100% - (${n} - 1) * ${s}) / ${n} * ${i} + ${s} * ${i})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:e,offset:t,mergedXGap:n}=this;return Jr("div",{style:{gridColumn:`span ${e} / span ${e}`,marginLeft:t?`calc((100% - (${e} - 1) * ${n}) / ${e} * ${t} + ${n} * ${t})`:""}},this.$slots)}return Jr("div",{style:[this.itemStyle,this.deriveStyle()]},null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e,{overflow:this.overflow}))}}),n6=$n({__GRID_ITEM__:!0,name:"FormItemGridItem",alias:["FormItemGi"],props:Object.assign(Object.assign({},J3),K3),setup(){const e=vt(null);return{formItemInstRef:e,validate:(...t)=>{const{value:n}=e;if(n)return n.validate(...t)},restoreValidation:()=>{const{value:t}=e;t&&t.restoreValidation()}}},render(){return Jr(t6,tE(this.$.vnode.props||{},e6),{default:()=>{const e=tE(this.$props,Y3);return Jr(X3,Object.assign({ref:"formItemInstRef"},e),this.$slots)}})}}),o6={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},r6="__ssr__",a6=$n({name:"Grid",inheritAttrs:!1,props:{layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:24},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:n}=fE(e),o=/^\d+$/,r=vt(void 0),a=function(e=kD){if(!aD)return Qr((()=>[]));if("function"!=typeof window.matchMedia)return Qr((()=>[]));const t=vt({}),n=Object.keys(e),o=(e,n)=>{e.matches?t.value[n]=!0:t.value[n]=!1};return n.forEach((t=>{const n=e[t];let r,a;void 0===PD[n]?(r=window.matchMedia(`(min-width: ${n}px)`),r.addEventListener?r.addEventListener("change",(e=>{a.forEach((n=>{n(e,t)}))})):r.addListener&&r.addListener((e=>{a.forEach((n=>{n(e,t)}))})),a=new Set,PD[n]={mql:r,cbs:a}):(r=PD[n].mql,a=PD[n].cbs),a.add(o),r.matches&&a.forEach((e=>{e(r,t)}))})),Xn((()=>{n.forEach((t=>{const{cbs:n}=PD[e[t]];n.has(o)&&n.delete(o)}))})),Qr((()=>{const{value:e}=t;return n.filter((t=>e[t]))}))}((null==n?void 0:n.value)||o6),i=oD((()=>!!e.itemResponsive||(!o.test(e.cols.toString())||(!o.test(e.xGap.toString())||!o.test(e.yGap.toString()))))),l=Qr((()=>{if(i.value)return"self"===e.responsive?r.value:a.value})),s=oD((()=>{var t;return null!==(t=Number(eO(e.cols.toString(),l.value)))&&void 0!==t?t:24})),d=oD((()=>eO(e.xGap.toString(),l.value))),c=oD((()=>eO(e.yGap.toString(),l.value))),u=e=>{r.value=e.contentRect.width},h=e=>{ZA(u,e)},p=vt(!1),f=Qr((()=>{if("self"===e.responsive)return h})),m=vt(!1),v=vt();return Kn((()=>{const{value:e}=v;e&&e.hasAttribute(r6)&&(e.removeAttribute(r6),m.value=!0)})),To(Z3,{layoutShiftDisabledRef:Ft(e,"layoutShiftDisabled"),isSsrRef:m,itemStyleRef:Ft(e,"itemStyle"),xGapRef:d,overflowRef:p}),{isSsr:!ED,contentEl:v,mergedClsPrefix:t,style:Qr((()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:nO(e.xGap),rowGap:nO(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${s.value}, minmax(0, 1fr))`,columnGap:nO(d.value),rowGap:nO(c.value)})),isResponsive:i,responsiveQuery:l,responsiveCols:s,handleResize:f,overflow:p}},render(){if(this.layoutShiftDisabled)return Jr("div",Ir({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var e,t,n,o,r,a,i;this.overflow=!1;const l=QB(eE(this)),s=[],{collapsed:d,collapsedRows:c,responsiveCols:u,responsiveQuery:h}=this;l.forEach((e=>{var t,n,o,r,a;if(!0!==(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.__GRID_ITEM__))return;if(function(e){var t;const n=null===(t=e.dirs)||void 0===t?void 0:t.find((({dir:e})=>e===Ra));return!(!n||!1!==n.value)}(e)){const t=Mr(e);return t.props?t.props.privateShow=!1:t.props={privateShow:!1},void s.push({child:t,rawChildSpan:0})}e.dirs=(null===(n=e.dirs)||void 0===n?void 0:n.filter((({dir:e})=>e!==Ra)))||null,0===(null===(o=e.dirs)||void 0===o?void 0:o.length)&&(e.dirs=null);const i=Mr(e),l=Number(null!==(a=eO(null===(r=i.props)||void 0===r?void 0:r.span,h))&&void 0!==a?a:1);0!==l&&s.push({child:i,rawChildSpan:l})}));let p=0;const f=null===(e=s[s.length-1])||void 0===e?void 0:e.child;if(null==f?void 0:f.props){const e=null===(t=f.props)||void 0===t?void 0:t.suffix;void 0!==e&&!1!==e&&(p=Number(null!==(o=eO(null===(n=f.props)||void 0===n?void 0:n.span,h))&&void 0!==o?o:1),f.props.privateSpan=p,f.props.privateColStart=u+1-p,f.props.privateShow=null===(r=f.props.privateShow)||void 0===r||r)}let m=0,v=!1;for(const{child:g,rawChildSpan:b}of s){if(v&&(this.overflow=!0),!v){const e=Number(null!==(i=eO(null===(a=g.props)||void 0===a?void 0:a.offset,h))&&void 0!==i?i:0),t=Math.min(b+e,u);if(g.props?(g.props.privateSpan=t,g.props.privateOffset=e):g.props={privateSpan:t,privateOffset:e},d){const e=m%u;t+e>u&&(m+=u-e),t+m+p>c*u?v=!0:m+=t}}v&&(g.props?!0!==g.props.privateShow&&(g.props.privateShow=!1):g.props={privateShow:!1})}return Jr("div",Ir({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[r6]:this.isSsr||void 0},this.$attrs),s.map((({child:e})=>e)))};return this.isResponsive&&"self"===this.responsive?Jr(bB,{onResize:this.handleResize},{default:e}):e()}});function i6(e){const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}}const l6={name:"IconWrapper",common:Eq,self:i6},s6={name:"IconWrapper",common:KU,self:i6},d6={name:"Image",common:KU,peers:{Tooltip:NJ},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};const c6={name:"Image",common:Eq,peers:{Tooltip:HJ},self:function(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function u6(){return Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"}))}function h6(){return Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"}))}function p6(){return Jr("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"}))}const f6=Object.assign(Object.assign({},HW.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean,renderToolbar:Function}),m6="n-image",v6=BA([BA("body >",[LA("image-container","position: fixed;")]),LA("image-preview-container","\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n "),LA("image-preview-overlay","\n z-index: -1;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0, 0, 0, .3);\n ",[WV()]),LA("image-preview-toolbar","\n z-index: 1;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n border-radius: var(--n-toolbar-border-radius);\n height: 48px;\n bottom: 40px;\n padding: 0 12px;\n background: var(--n-toolbar-color);\n box-shadow: var(--n-toolbar-box-shadow);\n color: var(--n-toolbar-icon-color);\n transition: color .3s var(--n-bezier);\n display: flex;\n align-items: center;\n ",[LA("base-icon","\n padding: 0 8px;\n font-size: 28px;\n cursor: pointer;\n "),WV()]),LA("image-preview-wrapper","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n pointer-events: none;\n ",[MK()]),LA("image-preview","\n user-select: none;\n -webkit-user-select: none;\n pointer-events: all;\n margin: auto;\n max-height: calc(100vh - 32px);\n max-width: calc(100vw - 32px);\n transition: transform .3s var(--n-bezier);\n "),LA("image","\n display: inline-flex;\n max-height: 100%;\n max-width: 100%;\n ",[HA("preview-disabled","\n cursor: pointer;\n "),BA("img","\n border-radius: inherit;\n ")])]),g6=$n({name:"ImagePreview",props:Object.assign(Object.assign({},f6),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=HW("Image","-image",v6,c6,e,Ft(e,"clsPrefix"));let n=null;const o=vt(null),r=vt(null),a=vt(void 0),i=vt(!1),l=vt(!1),{localeRef:s}=AW("Image");function d(t){var n,o;switch(t.key){case" ":t.preventDefault();break;case"ArrowLeft":null===(n=e.onPrev)||void 0===n||n.call(e);break;case"ArrowRight":null===(o=e.onNext)||void 0===o||o.call(e);break;case"Escape":F()}}er(i,(e=>{e?eD("keydown",document,d):tD("keydown",document,d)})),Xn((()=>{tD("keydown",document,d)}));let c=0,u=0,h=0,p=0,f=0,m=0,v=0,g=0,b=!1;function y(e){const{clientX:t,clientY:n}=e;h=t-c,p=n-u,ZA(R)}function _(e){const{value:t}=o;if(!t)return{offsetX:0,offsetY:0};const n=t.getBoundingClientRect(),{moveVerticalDirection:r,moveHorizontalDirection:a,deltaHorizontal:i,deltaVertical:l}=e||{};let s=0,d=0;return s=n.width<=window.innerWidth?0:n.left>0?(n.width-window.innerWidth)/2:n.right0?(n.height-window.innerHeight)/2:n.bottom0?"Top":"Bottom"),moveHorizontalDirection:"horizontal"+(a>0?"Left":"Right"),deltaHorizontal:a,deltaVertical:i}}({mouseUpClientX:t,mouseUpClientY:n,mouseDownClientX:v,mouseDownClientY:g}),r=_(o);h=r.offsetX,p=r.offsetY,R()}const C=Ro(m6,null);let w=0,S=1,k=0;function P(){S=1,w=0}function T(){const{value:e}=o;if(!e)return 1;const{innerWidth:t,innerHeight:n}=window,r=e.naturalHeight/(n-32),a=e.naturalWidth/(t-32);return r<1&&a<1?1:Math.max(r,a)}function R(e=!0){var t;const{value:n}=o;if(!n)return;const{style:r}=n,a=B(null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.style);let i="";if("string"==typeof a)i=`${a};`;else for(const o in a)i+=`${MW(o)}: ${a[o]};`;const l=`transform-origin: center; transform: translateX(${h}px) translateY(${p}px) rotate(${k}deg) scale(${S});`;r.cssText=b?`${i}cursor: grabbing; transition: none;${l}`:`${i}cursor: grab;${l}${e?"":"transition: none;"}`,e||n.offsetHeight}function F(){i.value=!i.value,l.value=!0}const z={setPreviewSrc:e=>{a.value=e},setThumbnailEl:e=>{n=e},toggleShow:F};const M=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{toolbarIconColor:n,toolbarBorderRadius:o,toolbarBoxShadow:r,toolbarColor:a}}=t.value;return{"--n-bezier":e,"--n-toolbar-icon-color":n,"--n-toolbar-color":a,"--n-toolbar-border-radius":o,"--n-toolbar-box-shadow":r}})),{inlineThemeDisabled:$}=fE(),A=$?vE("image-preview",void 0,M,e):void 0;return Object.assign({previewRef:o,previewWrapperRef:r,previewSrc:a,show:i,appear:CD(),displayed:l,previewedImgProps:null==C?void 0:C.previewedImgPropsRef,handleWheel(e){e.preventDefault()},handlePreviewMousedown:function(e){var t,n;if(null===(n=null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.onMousedown)||void 0===n||n.call(t,e),0!==e.button)return;const{clientX:o,clientY:r}=e;b=!0,c=o-h,u=r-p,f=h,m=p,v=o,g=r,R(),eD("mousemove",document,y),eD("mouseup",document,x)},handlePreviewDblclick:function(e){var t,n;null===(n=null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.onDblclick)||void 0===n||n.call(t,e);const o=T();S=S===o?1:o,R()},syncTransformOrigin:function(){const{value:e}=r;if(!n||!e)return;const{style:t}=e,o=n.getBoundingClientRect(),a=o.left+o.width/2,i=o.top+o.height/2;t.transformOrigin=`${a}px ${i}px`},handleAfterLeave:()=>{P(),k=0,l.value=!1},handleDragStart:e=>{var t,n;null===(n=null===(t=null==C?void 0:C.previewedImgPropsRef.value)||void 0===t?void 0:t.onDragstart)||void 0===n||n.call(t,e),e.preventDefault()},zoomIn:function(){const e=function(){const{value:e}=o;if(!e)return 1;const{innerWidth:t,innerHeight:n}=window,r=Math.max(1,e.naturalHeight/(n-32)),a=Math.max(1,e.naturalWidth/(t-32));return Math.max(3,2*r,2*a)}();S.5){const e=S;w-=1,S=Math.max(.5,Math.pow(1.5,w));const t=e-S;R(!1);const n=_();S+=t,R(!1),S-=t,h=n.offsetX,p=n.offsetY,R()}},handleDownloadClick:function(){const e=a.value;e&&NB(e,void 0)},rotateCounterclockwise:function(){k-=90,R()},rotateClockwise:function(){k+=90,R()},handleSwitchPrev:function(){var t;P(),k=0,null===(t=e.onPrev)||void 0===t||t.call(e)},handleSwitchNext:function(){var t;P(),k=0,null===(t=e.onNext)||void 0===t||t.call(e)},withTooltip:function(n,o){if(e.showToolbarTooltip){const{value:e}=t;return Jr(_1,{to:!1,theme:e.peers.Tooltip,themeOverrides:e.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>s.value[o],trigger:()=>n})}return n},resizeToOrignalImageSize:function(){S=T(),w=Math.ceil(Math.log(S)/Math.log(1.5)),h=0,p=0,R()},cssVars:$?void 0:M,themeClass:null==A?void 0:A.themeClass,onRender:null==A?void 0:A.onRender},z)},render(){var e,t;const{clsPrefix:n,renderToolbar:o,withTooltip:r}=this,a=r(Jr(VW,{clsPrefix:n,onClick:this.handleSwitchPrev},{default:u6}),"tipPrevious"),i=r(Jr(VW,{clsPrefix:n,onClick:this.handleSwitchNext},{default:h6}),"tipNext"),l=r(Jr(VW,{clsPrefix:n,onClick:this.rotateCounterclockwise},{default:()=>Jr(_V,null)}),"tipCounterclockwise"),s=r(Jr(VW,{clsPrefix:n,onClick:this.rotateClockwise},{default:()=>Jr(yV,null)}),"tipClockwise"),d=r(Jr(VW,{clsPrefix:n,onClick:this.resizeToOrignalImageSize},{default:()=>Jr(gV,null)}),"tipOriginalSize"),c=r(Jr(VW,{clsPrefix:n,onClick:this.zoomOut},{default:()=>Jr(FV,null)}),"tipZoomOut"),u=r(Jr(VW,{clsPrefix:n,onClick:this.handleDownloadClick},{default:()=>Jr(aV,null)}),"tipDownload"),h=r(Jr(VW,{clsPrefix:n,onClick:this.toggleShow},{default:p6}),"tipClose"),p=r(Jr(VW,{clsPrefix:n,onClick:this.zoomIn},{default:()=>Jr(RV,null)}),"tipZoomIn");return Jr(pr,null,null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e),Jr(yI,{show:this.show},{default:()=>{var e;return this.show||this.displayed?(null===(e=this.onRender)||void 0===e||e.call(this),on(Jr("div",{class:[`${n}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},Jr(ha,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?Jr("div",{class:`${n}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?Jr(ha,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?Jr("div",{class:`${n}-image-preview-toolbar`},o?o({nodes:{prev:a,next:i,rotateCounterclockwise:l,rotateClockwise:s,resizeToOriginalSize:d,zoomOut:c,zoomIn:p,download:u,close:h}}):Jr(pr,null,this.onPrev?Jr(pr,null,a,i):null,l,s,d,c,p,u,h)):null}):null,Jr(ha,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:e={}}=this;return on(Jr("div",{class:`${n}-image-preview-wrapper`,ref:"previewWrapperRef"},Jr("img",Object.assign({},e,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${n}-image-preview`,e.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[Ra,this.show]])}})),[[uI,{enabled:this.show}]])):null}}))}}),b6="n-image-group",y6=$n({name:"ImageGroup",props:f6,setup(e){let t;const{mergedClsPrefixRef:n}=fE(e),o=`c${GO()}`,r=Nr(),a=vt(null),i=e=>{var n;t=e,null===(n=a.value)||void 0===n||n.setPreviewSrc(e)};function l(n){var a,l;if(!(null==r?void 0:r.proxy))return;const s=r.proxy.$el.parentElement.querySelectorAll(`[data-group-id=${o}]:not([data-error=true])`);if(!s.length)return;const d=Array.from(s).findIndex((e=>e.dataset.previewSrc===t));i(~d?s[(d+n+s.length)%s.length].dataset.previewSrc:s[0].dataset.previewSrc),1===n?null===(a=e.onPreviewNext)||void 0===a||a.call(e):null===(l=e.onPreviewPrev)||void 0===l||l.call(e)}return To(b6,{mergedClsPrefixRef:n,setPreviewSrc:i,setThumbnailEl:e=>{var t;null===(t=a.value)||void 0===t||t.setThumbnailEl(e)},toggleShow:()=>{var e;null===(e=a.value)||void 0===e||e.toggleShow()},groupId:o,renderToolbarRef:Ft(e,"renderToolbar")}),{mergedClsPrefix:n,previewInstRef:a,next:()=>{l(1)},prev:()=>{l(-1)}}},render(){return Jr(g6,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip,renderToolbar:this.renderToolbar},this.$slots)}}),_6=$n({name:"Image",props:Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},f6),slots:Object,inheritAttrs:!1,setup(e){const t=vt(null),n=vt(!1),o=vt(null),r=Ro(b6,null),{mergedClsPrefixRef:a}=r||fE(e),i={click:()=>{if(e.previewDisabled||n.value)return;const a=e.previewSrc||e.src;if(r)return r.setPreviewSrc(a),r.setThumbnailEl(t.value),void r.toggleShow();const{value:i}=o;i&&(i.setPreviewSrc(a),i.setThumbnailEl(t.value),i.toggleShow())}},l=vt(!e.lazy);Kn((()=>{var e;null===(e=t.value)||void 0===e||e.setAttribute("data-group-id",(null==r?void 0:r.groupId)||"")})),Kn((()=>{if(e.lazy&&e.intersectionObserverOptions){let n;const o=Jo((()=>{null==n||n(),n=void 0,n=eG(t.value,e.intersectionObserverOptions,l)}));Xn((()=>{o(),null==n||n()}))}})),Jo((()=>{var t;e.src||null===(t=e.imgProps)||void 0===t||t.src,n.value=!1}));const s=vt(!1);return To(m6,{previewedImgPropsRef:Ft(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:a,groupId:null==r?void 0:r.groupId,previewInstRef:o,imageRef:t,showError:n,shouldStartLoading:l,loaded:s,mergedOnClick:t=>{var n,o;i.click(),null===(o=null===(n=e.imgProps)||void 0===n?void 0:n.onClick)||void 0===o||o.call(n,t)},mergedOnError:t=>{if(!l.value)return;n.value=!0;const{onError:o,imgProps:{onError:r}={}}=e;null==o||o(t),null==r||r(t)},mergedOnLoad:t=>{const{onLoad:n,imgProps:{onLoad:o}={}}=e;null==n||n(t),null==o||o(t),s.value=!0}},i)},render(){var e,t;const{mergedClsPrefix:n,imgProps:o={},loaded:r,$attrs:a,lazy:i}=this,l=lE(this.$slots.error,(()=>[])),s=null===(t=(e=this.$slots).placeholder)||void 0===t?void 0:t.call(e),d=this.src||o.src,c=this.showError&&l.length?l:Jr("img",Object.assign(Object.assign({},o),{ref:"imageRef",width:this.width||o.width,height:this.height||o.height,src:this.showError?this.fallbackSrc:i&&this.intersectionObserverOptions?this.shouldStartLoading?d:void 0:d,alt:this.alt||o.alt,"aria-label":this.alt||o.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:XY&&i&&!this.intersectionObserverOptions?"lazy":"eager",style:[o.style||"",s&&!r?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return Jr("div",Object.assign({},a,{role:"none",class:[a.class,`${n}-image`,(this.previewDisabled||this.showError)&&`${n}-image--preview-disabled`]}),this.groupId?c:Jr(g6,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:n,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip,renderToolbar:this.renderToolbar},{default:()=>c}),!r&&s)}}),x6=BA([LA("input-number-suffix","\n display: inline-block;\n margin-right: 10px;\n "),LA("input-number-prefix","\n display: inline-block;\n margin-left: 10px;\n ")]);function C6(e){return null==e||"string"==typeof e&&""===e.trim()?null:Number(e)}function w6(e){return null==e||!Number.isNaN(e)}function S6(e,t){return"number"!=typeof e?"":void 0===t?String(e):e.toFixed(t)}function k6(e){if(null===e)return null;if("number"==typeof e)return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const P6=$n({name:"InputNumber",props:Object.assign(Object.assign({},HW.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},round:{type:Boolean,default:void 0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),slots:Object,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=fE(e),r=HW("InputNumber","-input-number",x6,L7,e,n),{localeRef:a}=AW("InputNumber"),i=bE(e),{mergedSizeRef:l,mergedDisabledRef:s,mergedStatusRef:d}=i,c=vt(null),u=vt(null),h=vt(null),p=vt(e.defaultValue),f=xD(Ft(e,"value"),p),m=vt(""),v=e=>{const t=String(e).split(".")[1];return t?t.length:0},g=oD((()=>{const{placeholder:t}=e;return void 0!==t?t:a.value.placeholder})),b=oD((()=>{const t=k6(e.step);return null!==t?0===t?1:Math.abs(t):1})),y=oD((()=>{const t=k6(e.min);return null!==t?t:null})),_=oD((()=>{const t=k6(e.max);return null!==t?t:null})),x=()=>{const{value:t}=f;if(w6(t)){const{format:n,precision:o}=e;n?m.value=n(t):null===t||void 0===o||v(t)>o?m.value=S6(t,void 0):m.value=S6(t,o)}else m.value=String(t)};x();const C=t=>{const{value:n}=f;if(t===n)return void x();const{"onUpdate:value":o,onUpdateValue:r,onChange:a}=e,{nTriggerFormInput:l,nTriggerFormChange:s}=i;a&&GB(a,t),r&&GB(r,t),o&&GB(o,t),p.value=t,l(),s()},w=({offset:t,doUpdateIfValid:n,fixPrecision:o,isInputing:r})=>{const{value:a}=m;if(r&&((i=a).includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(i)||/^-?\d*$/.test(i))||"-"===i||"-0"===i))return!1;var i;const l=(e.parse||C6)(a);if(null===l)return n&&C(null),null;if(w6(l)){const a=v(l),{precision:i}=e;if(void 0!==i&&i{const n=[e.min,e.max,e.step,t].map((e=>void 0===e?0:v(e)));return Math.max(...n)})(l)));if(w6(s)){const{value:t}=_,{value:o}=y;if(null!==t&&s>t){if(!n||r)return!1;s=t}if(null!==o&&s!1===w({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1}))),k=oD((()=>{const{value:t}=f;if(e.validator&&null===t)return!1;const{value:n}=b;return!1!==w({offset:-n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})})),P=oD((()=>{const{value:t}=f;if(e.validator&&null===t)return!1;const{value:n}=b;return!1!==w({offset:+n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})}));function T(){const{value:t}=P;if(!t)return void B();const{value:n}=f;if(null===n)e.validator||C(M());else{const{value:e}=b;w({offset:e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function R(){const{value:t}=k;if(!t)return void D();const{value:n}=f;if(null===n)e.validator||C(M());else{const{value:e}=b;w({offset:-e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const F=function(t){const{onFocus:n}=e,{nTriggerFormFocus:o}=i;n&&GB(n,t),o()},z=function(t){var n,o;if(t.target===(null===(n=c.value)||void 0===n?void 0:n.wrapperElRef))return;const r=w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==r){const e=null===(o=c.value)||void 0===o?void 0:o.inputElRef;e&&(e.value=String(r||"")),f.value===r&&x()}else x();const{onBlur:a}=e,{nTriggerFormBlur:l}=i;a&&GB(a,t),l(),Kt((()=>{x()}))};function M(){if(e.validator)return null;const{value:t}=y,{value:n}=_;return null!==t?Math.max(0,t):null!==n?Math.min(0,n):0}let $=null,A=null,O=null;function D(){O&&(window.clearTimeout(O),O=null),$&&(window.clearInterval($),$=null)}let I=null;function B(){I&&(window.clearTimeout(I),I=null),A&&(window.clearInterval(A),A=null)}er(f,(()=>{x()}));const E={focus:()=>{var e;return null===(e=c.value)||void 0===e?void 0:e.focus()},blur:()=>{var e;return null===(e=c.value)||void 0===e?void 0:e.blur()},select:()=>{var e;return null===(e=c.value)||void 0===e?void 0:e.select()}},L=DW("InputNumber",o,n);return Object.assign(Object.assign({},E),{rtlEnabled:L,inputInstRef:c,minusButtonInstRef:u,addButtonInstRef:h,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:f,mergedPlaceholder:g,displayedValueInvalid:S,mergedSize:l,mergedDisabled:s,displayedValue:m,addable:P,minusable:k,mergedStatus:d,handleFocus:F,handleBlur:z,handleClear:function(t){!function(t){const{onClear:n}=e;n&&GB(n,t)}(t),C(null)},handleMouseDown:function(e){var t,n,o;(null===(t=h.value)||void 0===t?void 0:t.$el.contains(e.target))&&e.preventDefault(),(null===(n=u.value)||void 0===n?void 0:n.$el.contains(e.target))&&e.preventDefault(),null===(o=c.value)||void 0===o||o.activate()},handleAddClick:()=>{A||T()},handleMinusClick:()=>{$||R()},handleAddMousedown:function(){B(),I=window.setTimeout((()=>{A=window.setInterval((()=>{T()}),100)}),800),eD("mouseup",document,B,{once:!0})},handleMinusMousedown:function(){D(),O=window.setTimeout((()=>{$=window.setInterval((()=>{R()}),100)}),800),eD("mouseup",document,D,{once:!0})},handleKeyDown:function(t){var n,o;if("Enter"===t.key){if(t.target===(null===(n=c.value)||void 0===n?void 0:n.wrapperElRef))return;!1!==w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&(null===(o=c.value)||void 0===o||o.deactivate())}else if("ArrowUp"===t.key){if(!P.value)return;if(!1===e.keyboard.ArrowUp)return;t.preventDefault();!1!==w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&T()}else if("ArrowDown"===t.key){if(!k.value)return;if(!1===e.keyboard.ArrowDown)return;t.preventDefault();!1!==w({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&R()}},handleUpdateDisplayedValue:function(t){m.value=t,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||w({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})},mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:Qr((()=>{const{self:{iconColorDisabled:e}}=r.value,[t,n,o,a]=MO(e);return{textColorTextDisabled:`rgb(${t}, ${n}, ${o})`,opacityDisabled:`${a}`}}))})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>Jr(kG,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>lE(t["minus-icon"],(()=>[Jr(VW,{clsPrefix:e},{default:()=>Jr(vV,null)})]))}),o=()=>Jr(kG,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>lE(t["add-icon"],(()=>[Jr(VW,{clsPrefix:e},{default:()=>Jr(qW,null)})]))});return Jr("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},Jr(BY,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var o;return this.showButton&&"both"===this.buttonPlacement?[n(),dE(t.prefix,(t=>t?Jr("span",{class:`${e}-input-number-prefix`},t):null))]:null===(o=t.prefix)||void 0===o?void 0:o.call(t)},suffix:()=>{var r;return this.showButton?[dE(t.suffix,(t=>t?Jr("span",{class:`${e}-input-number-suffix`},t):null)),"right"===this.buttonPlacement?n():null,o()]:null===(r=t.suffix)||void 0===r?void 0:r.call(t)}}))}}),T6={extraFontSize:"12px",width:"440px"},R6={name:"Transfer",common:KU,peers:{Checkbox:vQ,Scrollbar:Hq,Input:FY,Empty:_K,Button:CG},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:a,fontSizeSmall:i,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:c,inputColor:u,tableHeaderColor:h,textColor1:p,textColorDisabled:f,textColor2:m,hoverColor:v}=e;return Object.assign(Object.assign({},T6),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:r,borderRadius:c,borderColor:"#0000",listColor:u,headerColor:h,titleTextColor:p,titleTextColorDisabled:f,extraTextColor:m,filterDividerColor:"#0000",itemTextColor:m,itemTextColorDisabled:f,itemColorPending:v,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}};const F6={name:"Transfer",common:Eq,peers:{Checkbox:mQ,Scrollbar:Nq,Input:zY,Empty:yK,Button:xG},self:function(e){const{fontWeight:t,iconColorDisabled:n,iconColor:o,fontSizeLarge:r,fontSizeMedium:a,fontSizeSmall:i,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:c,cardColor:u,tableHeaderColor:h,textColor1:p,textColorDisabled:f,textColor2:m,borderColor:v,hoverColor:g}=e;return Object.assign(Object.assign({},T6),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:r,borderRadius:c,borderColor:v,listColor:u,headerColor:OO(u,h),titleTextColor:p,titleTextColorDisabled:f,extraTextColor:m,filterDividerColor:v,itemTextColor:m,itemTextColorDisabled:f,itemColorPending:g,titleFontWeight:t,iconColor:o,iconColorDisabled:n})}};function z6(){return{}}const M6={name:"Marquee",common:Eq,self:z6},$6={name:"Marquee",common:KU,self:z6},A6=BA([LA("mention","width: 100%; z-index: auto; position: relative;"),LA("mention-menu","\n box-shadow: var(--n-menu-box-shadow);\n ",[MK({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]);const O6=$n({name:"Mention",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,autosize:[Boolean,Object],options:{type:Array,default:[]},filter:{type:Function,default:(e,t)=>!e||("string"==typeof t.label?t.label.startsWith(e):"string"==typeof t.value&&t.value.startsWith(e))},type:{type:String,default:"text"},separator:{type:String,validator:e=>1===e.length,default:" "},bordered:{type:Boolean,default:void 0},disabled:Boolean,value:String,defaultValue:{type:String,default:""},loading:Boolean,prefix:{type:[String,Array],default:"@"},placeholder:{type:String,default:""},placement:{type:String,default:"bottom-start"},size:String,renderLabel:Function,status:String,"onUpdate:show":[Array,Function],onUpdateShow:[Array,Function],"onUpdate:value":[Array,Function],onUpdateValue:[Array,Function],onSearch:Function,onSelect:Function,onFocus:Function,onBlur:Function,internalDebug:Boolean}),slots:Object,setup(e){const{namespaceRef:t,mergedClsPrefixRef:n,mergedBorderedRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Mention","-mention",A6,X7,e,n),i=bE(e),l=vt(null),s=vt(null),d=vt(null),c=vt(null),u=vt("");let h=null,p=null,f=null;const m=Qr((()=>{const{value:t}=u;return e.options.filter((n=>e.filter(t,n)))})),v=Qr((()=>vK(m.value,{getKey:e=>e.value}))),g=vt(null),b=vt(!1),y=vt(e.defaultValue),_=xD(Ft(e,"value"),y),x=Qr((()=>{const{self:{menuBoxShadow:e}}=a.value;return{"--n-menu-box-shadow":e}})),C=r?vE("mention",void 0,x,e):void 0;function w(t){if(e.disabled)return;const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),t||(h=null,p=null,f=null),b.value=t}function S(t){const{onUpdateValue:n,"onUpdate:value":o}=e,{nTriggerFormChange:r,nTriggerFormInput:a}=i;o&&GB(o,t),n&&GB(n,t),a(),r(),y.value=t}function k(){return"text"===e.type?l.value.inputElRef:l.value.textareaElRef}function P(){var t;const n=k();if(document.activeElement!==n)return void w(!1);const{selectionEnd:o}=n;if(null===o)return void w(!1);const r=n.value,{separator:a}=e,{prefix:i}=e,l="string"==typeof i?[i]:i;for(let s=o-1;s>=0;--s){const n=r[s];if(n===a||"\n"===n||"\r"===n)return void w(!1);if(l.includes(n)){const a=r.slice(s+1,o);return w(!0),null===(t=e.onSearch)||void 0===t||t.call(e,a,n),u.value=a,h=n,p=s+1,void(f=o)}}w(!1)}function T(){const{value:e}=s;if(!e)return;const t=k(),n=function(e,t={debug:!1,useSelectionEnd:!1,checkWidthOverflow:!0}){const n=null!==e.selectionStart?e.selectionStart:0,o=null!==e.selectionEnd?e.selectionEnd:0,r=t.useSelectionEnd?o:n,a=navigator.userAgent.toLowerCase().includes("firefox");if(!ED)throw new Error("textarea-caret-position#getCaretPosition should only be called in a browser");const i=null==t?void 0:t.debug;if(i){const e=document.querySelector("#input-textarea-caret-position-mirror-div");(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}const l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);const s=l.style,d=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,c="INPUT"===e.nodeName;s.whiteSpace=c?"nowrap":"pre-wrap",c||(s.wordWrap="break-word"),s.position="absolute",i||(s.visibility="hidden"),["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"].forEach((e=>{if(c&&"lineHeight"===e)if("border-box"===d.boxSizing){const e=Number.parseInt(d.height),t=Number.parseInt(d.paddingTop)+Number.parseInt(d.paddingBottom)+Number.parseInt(d.borderTopWidth)+Number.parseInt(d.borderBottomWidth),n=t+Number.parseInt(d.lineHeight);s.lineHeight=e>n?e-t+"px":e===n?d.lineHeight:"0"}else s.lineHeight=d.height;else s[e]=d[e]})),a?e.scrollHeight>Number.parseInt(d.height)&&(s.overflowY="scroll"):s.overflow="hidden",l.textContent=e.value.substring(0,r),c&&l.textContent&&(l.textContent=l.textContent.replace(/\s/g," "));const u=document.createElement("span");u.textContent=e.value.substring(r)||".",u.style.position="relative",u.style.left=-e.scrollLeft+"px",u.style.top=-e.scrollTop+"px",l.appendChild(u);const h={top:u.offsetTop+Number.parseInt(d.borderTopWidth),left:u.offsetLeft+Number.parseInt(d.borderLeftWidth),absolute:!1,height:1.5*Number.parseInt(d.fontSize)};return i?u.style.backgroundColor="#aaa":document.body.removeChild(l),h.left>=e.clientWidth&&t.checkWidthOverflow&&(h.left=e.clientWidth),h}(t),o=t.getBoundingClientRect(),r=c.value.getBoundingClientRect();e.style.left=n.left+o.left-r.left+"px",e.style.top=n.top+o.top-r.top+"px",e.style.height=`${n.height}px`}function R(){var e;b.value&&(null===(e=d.value)||void 0===e||e.syncPosition())}function F(){setTimeout((()=>{T(),P(),Kt().then(R)}),0)}function z(t){var n;if(null===h||null===p||null===f)return;const{rawNode:{value:o=""}}=t,r=k(),a=r.value,{separator:i}=e,l=a.slice(f),s=l.startsWith(i),d=`${o}${s?"":i}`;S(a.slice(0,p)+d+l),null===(n=e.onSelect)||void 0===n||n.call(e,t.rawNode,h);const c=p+d.length+(s?1:0);Kt().then((()=>{r.selectionStart=c,r.selectionEnd=c,P()}))}return{namespace:t,mergedClsPrefix:n,mergedBordered:o,mergedSize:i.mergedSizeRef,mergedStatus:i.mergedStatusRef,mergedTheme:a,treeMate:v,selectMenuInstRef:g,inputInstRef:l,cursorRef:s,followerRef:d,wrapperElRef:c,showMenu:b,adjustedTo:ID(e),isMounted:CD(),mergedValue:_,handleInputFocus:function(t){const{onFocus:n}=e;null==n||n(t);const{nTriggerFormFocus:o}=i;o(),F()},handleInputBlur:function(t){const{onBlur:n}=e;null==n||n(t);const{nTriggerFormBlur:o}=i;o(),w(!1)},handleInputUpdateValue:function(e){S(e),F()},handleInputKeyDown:function(e){var t,n;if("ArrowLeft"===e.key||"ArrowRight"===e.key){if(null===(t=l.value)||void 0===t?void 0:t.isCompositing)return;F()}else if("ArrowUp"===e.key||"ArrowDown"===e.key||"Enter"===e.key){if(null===(n=l.value)||void 0===n?void 0:n.isCompositing)return;const{value:t}=g;if(b.value){if(t)if(e.preventDefault(),"ArrowUp"===e.key)t.prev();else if("ArrowDown"===e.key)t.next();else{const e=t.getPendingTmNode();e?z(e):w(!1)}}else F()}},handleSelect:z,handleInputMouseDown:function(){e.disabled||F()},focus:function(){var e;null===(e=l.value)||void 0===e||e.focus()},blur:function(){var e;null===(e=l.value)||void 0===e||e.blur()},cssVars:r?void 0:x,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender}},render(){const{mergedTheme:e,mergedClsPrefix:t,$slots:n}=this;return Jr("div",{class:`${t}-mention`,ref:"wrapperElRef"},Jr(BY,{status:this.mergedStatus,themeOverrides:e.peerOverrides.Input,theme:e.peers.Input,size:this.mergedSize,autosize:this.autosize,type:this.type,ref:"inputInstRef",placeholder:this.placeholder,onMousedown:this.handleInputMouseDown,onUpdateValue:this.handleInputUpdateValue,onKeydown:this.handleInputKeyDown,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,bordered:this.mergedBordered,disabled:this.disabled,value:this.mergedValue}),Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{style:{position:"absolute",width:0},ref:"cursorRef"})}),Jr(FI,{ref:"followerRef",placement:this.placement,show:this.showMenu,containerClass:this.namespace,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>{const{mergedTheme:e,onRender:o}=this;return null==o||o(),this.showMenu?Jr(AK,{clsPrefix:t,theme:e.peers.InternalSelectMenu,themeOverrides:e.peerOverrides.InternalSelectMenu,autoPending:!0,ref:"selectMenuInstRef",class:[`${t}-mention-menu`,this.themeClass],loading:this.loading,treeMate:this.treeMate,virtualScroll:!1,style:this.cssVars,onToggle:this.handleSelect,renderLabel:this.renderLabel},n):null}})})]}))}}),D6={success:Jr(CV,null),error:Jr(lV,null),warning:Jr(TV,null),info:Jr(fV,null)},I6=$n({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:[String,Object],railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(t,n,o,r){const{gapDegree:a,viewBoxWidth:i,strokeWidth:l}=e,s=50,d=50+l/2,c=`M ${d},${d} m 0,50\n a 50,50 0 1 1 0,-100\n a 50,50 0 1 1 0,100`,u=2*Math.PI*s;return{pathString:c,pathStyle:{stroke:"rail"===r?o:"object"==typeof e.fillColor?"url(#gradient)":o,strokeDasharray:`${t/100*(u-a)}px ${8*i}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:n?"center":void 0,transform:n?`rotate(${n}deg)`:void 0}}}return()=>{const{fillColor:o,railColor:r,strokeWidth:a,offsetDegree:i,status:l,percentage:s,showIndicator:d,indicatorTextColor:c,unit:u,gapOffsetDegree:h,clsPrefix:p}=e,{pathString:f,pathStyle:m}=n(100,0,r,"rail"),{pathString:v,pathStyle:g}=n(s,i,o,"fill"),b=100+a;return Jr("div",{class:`${p}-progress-content`,role:"none"},Jr("div",{class:`${p}-progress-graph`,"aria-hidden":!0},Jr("div",{class:`${p}-progress-graph-circle`,style:{transform:h?`rotate(${h}deg)`:void 0}},Jr("svg",{viewBox:`0 0 ${b} ${b}`},(()=>{const t="object"==typeof e.fillColor,n=t?e.fillColor.stops[0]:"",o=t?e.fillColor.stops[1]:"";return t&&Jr("defs",null,Jr("linearGradient",{id:"gradient",x1:"0%",y1:"100%",x2:"100%",y2:"0%"},Jr("stop",{offset:"0%","stop-color":n}),Jr("stop",{offset:"100%","stop-color":o})))})(),Jr("g",null,Jr("path",{class:`${p}-progress-graph-circle-rail`,d:f,"stroke-width":a,"stroke-linecap":"round",fill:"none",style:m})),Jr("g",null,Jr("path",{class:[`${p}-progress-graph-circle-fill`,0===s&&`${p}-progress-graph-circle-fill--empty`],d:v,"stroke-width":a,"stroke-linecap":"round",fill:"none",style:g}))))),d?Jr("div",null,t.default?Jr("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):"default"!==l?Jr("div",{class:`${p}-progress-icon`,"aria-hidden":!0},Jr(VW,{clsPrefix:p},{default:()=>D6[l]})):Jr("div",{class:`${p}-progress-text`,style:{color:c},role:"none"},Jr("span",{class:`${p}-progress-text__percentage`},s),Jr("span",{class:`${p}-progress-text__unit`},u))):null)}}}),B6={success:Jr(CV,null),error:Jr(lV,null),warning:Jr(TV,null),info:Jr(fV,null)},E6=$n({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:[String,Object],status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=Qr((()=>LB(e.height))),o=Qr((()=>{var t,n;return"object"==typeof e.fillColor?`linear-gradient(to right, ${null===(t=e.fillColor)||void 0===t?void 0:t.stops[0]} , ${null===(n=e.fillColor)||void 0===n?void 0:n.stops[1]})`:e.fillColor})),r=Qr((()=>void 0!==e.railBorderRadius?LB(e.railBorderRadius):void 0!==e.height?LB(e.height,{c:.5}):"")),a=Qr((()=>void 0!==e.fillBorderRadius?LB(e.fillBorderRadius):void 0!==e.railBorderRadius?LB(e.railBorderRadius):void 0!==e.height?LB(e.height,{c:.5}):""));return()=>{const{indicatorPlacement:i,railColor:l,railStyle:s,percentage:d,unit:c,indicatorTextColor:u,status:h,showIndicator:p,processing:f,clsPrefix:m}=e;return Jr("div",{class:`${m}-progress-content`,role:"none"},Jr("div",{class:`${m}-progress-graph`,"aria-hidden":!0},Jr("div",{class:[`${m}-progress-graph-line`,{[`${m}-progress-graph-line--indicator-${i}`]:!0}]},Jr("div",{class:`${m}-progress-graph-line-rail`,style:[{backgroundColor:l,height:n.value,borderRadius:r.value},s]},Jr("div",{class:[`${m}-progress-graph-line-fill`,f&&`${m}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,background:o.value,height:n.value,lineHeight:n.value,borderRadius:a.value}},"inside"===i?Jr("div",{class:`${m}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${d}${c}`):null)))),p&&"outside"===i?Jr("div",null,t.default?Jr("div",{class:`${m}-progress-custom-content`,style:{color:u},role:"none"},t.default()):"default"===h?Jr("div",{role:"none",class:`${m}-progress-icon ${m}-progress-icon--as-text`,style:{color:u}},d,c):Jr("div",{class:`${m}-progress-icon`,"aria-hidden":!0},Jr(VW,{clsPrefix:m},{default:()=>B6[h]}))):null)}}});function L6(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const j6=$n({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=Qr((()=>e.percentage.map(((t,n)=>`${Math.PI*t/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*n)-e.circleGap*n)*2}, ${8*e.viewBoxWidth}`))));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:a,showIndicator:i,fillColor:l,railColor:s,railStyle:d,percentage:c,clsPrefix:u}=e;return Jr("div",{class:`${u}-progress-content`,role:"none"},Jr("div",{class:`${u}-progress-graph`,"aria-hidden":!0},Jr("div",{class:`${u}-progress-graph-circle`},Jr("svg",{viewBox:`0 0 ${o} ${o}`},Jr("defs",null,c.map(((t,n)=>((t,n)=>{const o=e.fillColor[n],r="object"==typeof o?o.stops[0]:"",a="object"==typeof o?o.stops[1]:"";return"object"==typeof e.fillColor[n]&&Jr("linearGradient",{id:`gradient-${n}`,x1:"100%",y1:"0%",x2:"0%",y2:"100%"},Jr("stop",{offset:"0%","stop-color":r}),Jr("stop",{offset:"100%","stop-color":a}))})(0,n)))),c.map(((e,t)=>Jr("g",{key:t},Jr("path",{class:`${u}-progress-graph-circle-rail`,d:L6(o/2-r/2*(1+2*t)-a*t,0,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:s[t]},d[t]]}),Jr("path",{class:[`${u}-progress-graph-circle-fill`,0===e&&`${u}-progress-graph-circle-fill--empty`],d:L6(o/2-r/2*(1+2*t)-a*t,0,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[t],strokeDashoffset:0,stroke:"object"==typeof l[t]?`url(#gradient-${t})`:l[t]}}))))))),i&&t.default?Jr("div",null,Jr("div",{class:`${u}-progress-text`},t.default())):null)}}}),N6=BA([LA("progress",{display:"inline-block"},[LA("progress-icon","\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n "),NA("line","\n width: 100%;\n display: block;\n ",[LA("progress-content","\n display: flex;\n align-items: center;\n ",[LA("progress-graph",{flex:1})]),LA("progress-custom-content",{marginLeft:"14px"}),LA("progress-icon","\n width: 30px;\n padding-left: 14px;\n height: var(--n-icon-size-line);\n line-height: var(--n-icon-size-line);\n font-size: var(--n-icon-size-line);\n ",[NA("as-text","\n color: var(--n-text-color-line-outer);\n text-align: center;\n width: 40px;\n font-size: var(--n-font-size);\n padding-left: 4px;\n transition: color .3s var(--n-bezier);\n ")])]),NA("circle, dashboard",{width:"120px"},[LA("progress-custom-content","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n "),LA("progress-text","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n color: inherit;\n font-size: var(--n-font-size-circle);\n color: var(--n-text-color-circle);\n font-weight: var(--n-font-weight-circle);\n transition: color .3s var(--n-bezier);\n white-space: nowrap;\n "),LA("progress-icon","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n color: var(--n-icon-color);\n font-size: var(--n-icon-size-circle);\n ")]),NA("multiple-circle","\n width: 200px;\n color: inherit;\n ",[LA("progress-text","\n font-weight: var(--n-font-weight-circle);\n color: var(--n-text-color-circle);\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n transition: color .3s var(--n-bezier);\n ")]),LA("progress-content",{position:"relative"}),LA("progress-graph",{position:"relative"},[LA("progress-graph-circle",[BA("svg",{verticalAlign:"bottom"}),LA("progress-graph-circle-fill","\n stroke: var(--n-fill-color);\n transition:\n opacity .3s var(--n-bezier),\n stroke .3s var(--n-bezier),\n stroke-dasharray .3s var(--n-bezier);\n ",[NA("empty",{opacity:0})]),LA("progress-graph-circle-rail","\n transition: stroke .3s var(--n-bezier);\n overflow: hidden;\n stroke: var(--n-rail-color);\n ")]),LA("progress-graph-line",[NA("indicator-inside",[LA("progress-graph-line-rail","\n height: 16px;\n line-height: 16px;\n border-radius: 10px;\n ",[LA("progress-graph-line-fill","\n height: inherit;\n border-radius: 10px;\n "),LA("progress-graph-line-indicator","\n background: #0000;\n white-space: nowrap;\n text-align: right;\n margin-left: 14px;\n margin-right: 14px;\n height: inherit;\n font-size: 12px;\n color: var(--n-text-color-line-inner);\n transition: color .3s var(--n-bezier);\n ")])]),NA("indicator-inside-label","\n height: 16px;\n display: flex;\n align-items: center;\n ",[LA("progress-graph-line-rail","\n flex: 1;\n transition: background-color .3s var(--n-bezier);\n "),LA("progress-graph-line-indicator","\n background: var(--n-fill-color);\n font-size: 12px;\n transform: translateZ(0);\n display: flex;\n vertical-align: middle;\n height: 16px;\n line-height: 16px;\n padding: 0 10px;\n border-radius: 10px;\n position: absolute;\n white-space: nowrap;\n color: var(--n-text-color-line-inner);\n transition:\n right .2s var(--n-bezier),\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ")]),LA("progress-graph-line-rail","\n position: relative;\n overflow: hidden;\n height: var(--n-rail-height);\n border-radius: 5px;\n background-color: var(--n-rail-color);\n transition: background-color .3s var(--n-bezier);\n ",[LA("progress-graph-line-fill","\n background: var(--n-fill-color);\n position: relative;\n border-radius: 5px;\n height: inherit;\n width: 100%;\n max-width: 0%;\n transition:\n background-color .3s var(--n-bezier),\n max-width .2s var(--n-bezier);\n ",[NA("processing",[BA("&::after",'\n content: "";\n background-image: var(--n-line-bg-processing);\n animation: progress-processing-animation 2s var(--n-bezier) infinite;\n ')])])])])])]),BA("@keyframes progress-processing-animation","\n 0% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 100%;\n opacity: 1;\n }\n 66% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 0;\n }\n 100% {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n opacity: 0;\n }\n ")]),H6=$n({name:"Progress",props:Object.assign(Object.assign({},HW.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array,Object],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),setup(e){const t=Qr((()=>e.indicatorPlacement||e.indicatorPosition)),n=Qr((()=>e.gapDegree||0===e.gapDegree?e.gapDegree:"dashboard"===e.type?75:void 0)),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=fE(e),a=HW("Progress","-progress",N6,d5,e,o),i=Qr((()=>{const{status:t}=e,{common:{cubicBezierEaseInOut:n},self:{fontSize:o,fontSizeCircle:r,railColor:i,railHeight:l,iconSizeCircle:s,iconSizeLine:d,textColorCircle:c,textColorLineInner:u,textColorLineOuter:h,lineBgProcessing:p,fontWeightCircle:f,[KA("iconColor",t)]:m,[KA("fillColor",t)]:v}}=a.value;return{"--n-bezier":n,"--n-fill-color":v,"--n-font-size":o,"--n-font-size-circle":r,"--n-font-weight-circle":f,"--n-icon-color":m,"--n-icon-size-circle":s,"--n-icon-size-line":d,"--n-line-bg-processing":p,"--n-rail-color":i,"--n-rail-height":l,"--n-text-color-circle":c,"--n-text-color-line-inner":u,"--n-text-color-line-outer":h}})),l=r?vE("progress",Qr((()=>e.status[0])),i,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:i,themeClass:null==l?void 0:l.themeClass,onRender:null==l?void 0:l.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:a,railStyle:i,color:l,percentage:s,viewBoxWidth:d,strokeWidth:c,mergedIndicatorPlacement:u,unit:h,borderRadius:p,fillBorderRadius:f,height:m,processing:v,circleGap:g,mergedClsPrefix:b,gapDeg:y,gapOffsetDegree:_,themeClass:x,$slots:C,onRender:w}=this;return null==w||w(),Jr("div",{class:[x,`${b}-progress`,`${b}-progress--${e}`,`${b}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":s,role:"circle"===e||"line"===e||"dashboard"===e?"progressbar":"none"},"circle"===e||"dashboard"===e?Jr(I6,{clsPrefix:b,status:r,showIndicator:o,indicatorTextColor:n,railColor:a,fillColor:l,railStyle:i,offsetDegree:this.offsetDegree,percentage:s,viewBoxWidth:d,strokeWidth:c,gapDegree:void 0===y?"dashboard"===e?75:0:y,gapOffsetDegree:_,unit:h},C):"line"===e?Jr(E6,{clsPrefix:b,status:r,showIndicator:o,indicatorTextColor:n,railColor:a,fillColor:l,railStyle:i,percentage:s,processing:v,indicatorPlacement:u,unit:h,fillBorderRadius:f,railBorderRadius:p,height:m},C):"multiple-circle"===e?Jr(j6,{clsPrefix:b,strokeWidth:c,railColor:a,fillColor:l,railStyle:i,viewBoxWidth:d,percentage:s,showIndicator:o,circleGap:g},C):null)}}),W6={name:"QrCode",common:KU,self:e=>({borderRadius:e.borderRadius})};const V6={name:"QrCode",common:Eq,self:function(e){return{borderRadius:e.borderRadius}}},U6=()=>Jr("svg",{viewBox:"0 0 512 512"},Jr("path",{d:"M394 480a16 16 0 01-9.39-3L256 383.76 127.39 477a16 16 0 01-24.55-18.08L153 310.35 23 221.2a16 16 0 019-29.2h160.38l48.4-148.95a16 16 0 0130.44 0l48.4 149H480a16 16 0 019.05 29.2L359 310.35l50.13 148.53A16 16 0 01394 480z"})),q6=LA("rate",{display:"inline-flex",flexWrap:"nowrap"},[BA("&:hover",[jA("item","\n transition:\n transform .1s var(--n-bezier),\n color .3s var(--n-bezier);\n ")]),jA("item","\n position: relative;\n display: flex;\n transition:\n transform .1s var(--n-bezier),\n color .3s var(--n-bezier);\n transform: scale(1);\n font-size: var(--n-item-size);\n color: var(--n-item-color);\n ",[BA("&:not(:first-child)","\n margin-left: 6px;\n "),NA("active","\n color: var(--n-item-color-active);\n ")]),HA("readonly","\n cursor: pointer;\n ",[jA("item",[BA("&:hover","\n transform: scale(1.05);\n "),BA("&:active","\n transform: scale(0.96);\n ")])]),jA("half","\n display: flex;\n transition: inherit;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 50%;\n overflow: hidden;\n color: rgba(255, 255, 255, 0);\n ",[NA("active","\n color: var(--n-item-color-active);\n ")])]),K6=$n({name:"Rate",props:Object.assign(Object.assign({},HW.props),{allowHalf:Boolean,count:{type:Number,default:5},value:Number,defaultValue:{type:Number,default:null},readonly:Boolean,size:{type:[String,Number],default:"medium"},clearable:Boolean,color:String,onClear:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Rate","-rate",q6,h5,e,t),r=Ft(e,"value"),a=vt(e.defaultValue),i=vt(null),l=bE(e),s=xD(r,a);function d(t){const{"onUpdate:value":n,onUpdateValue:o}=e,{nTriggerFormChange:r,nTriggerFormInput:i}=l;n&&GB(n,t),o&&GB(o,t),a.value=t,r(),i()}function c(t,n){return e.allowHalf?n.offsetX>=Math.floor(n.currentTarget.offsetWidth/2)?t+1:t+.5:t+1}let u=!1;const h=Qr((()=>{const{size:t}=e,{self:n}=o.value;return"number"==typeof t?`${t}px`:n[KA("size",t)]})),p=Qr((()=>{const{common:{cubicBezierEaseInOut:t},self:n}=o.value,{itemColor:r,itemColorActive:a}=n,{color:i}=e;return{"--n-bezier":t,"--n-item-color":r,"--n-item-color-active":i||a,"--n-item-size":h.value}})),f=n?vE("rate",Qr((()=>{const t=h.value,{color:n}=e;let o="";return t&&(o+=t[0]),n&&(o+=IB(n)),o})),p,e):void 0;return{mergedClsPrefix:t,mergedValue:s,hoverIndex:i,handleMouseMove:function(e,t){u||(i.value=c(e,t))},handleClick:function(t,n){var o;const{clearable:r}=e,a=c(t,n);r&&a===s.value?(u=!0,null===(o=e.onClear)||void 0===o||o.call(e),i.value=null,d(null)):d(a)},handleMouseLeave:function(){i.value=null},handleMouseEnterSomeStar:function(){u=!1},cssVars:n?void 0:p,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){const{readonly:e,hoverIndex:t,mergedValue:n,mergedClsPrefix:o,onRender:r,$slots:{default:a}}=this;return null==r||r(),Jr("div",{class:[`${o}-rate`,{[`${o}-rate--readonly`]:e},this.themeClass],style:this.cssVars,onMouseleave:this.handleMouseLeave},function(e,t,n){let o;const r=n,a=p(e);if(a||v(e)){let n=!1,i=!1;a&<(e)&&(n=!dt(e),i=st(e),e=Te(e)),o=new Array(e.length);for(let a=0,l=e.length;at(e,n,void 0,r)));else{const n=Object.keys(e);o=new Array(n.length);for(let a=0,i=n.length;a{const l=a?a({index:i}):Jr(VW,{clsPrefix:o},{default:U6}),s=null!==t?i+1<=t:i+1<=(n||0);return Jr("div",{key:i,class:[`${o}-rate__item`,s&&`${o}-rate__item--active`],onClick:e?void 0:e=>{this.handleClick(i,e)},onMouseenter:this.handleMouseEnterSomeStar,onMousemove:e?void 0:e=>{this.handleMouseMove(i,e)}},l,this.allowHalf?Jr("div",{class:[`${o}-rate__half`,{[`${o}-rate__half--active`]:s||null===t?i+.5<=(n||0):i+.5<=t}]},l):null)})))}}),Y6={name:"Skeleton",common:KU,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}};const G6={name:"Skeleton",common:Eq,self:function(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}},X6=BA([LA("slider","\n display: block;\n padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;\n position: relative;\n z-index: 0;\n width: 100%;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n ",[NA("reverse",[LA("slider-handles",[LA("slider-handle-wrapper","\n transform: translate(50%, -50%);\n ")]),LA("slider-dots",[LA("slider-dot","\n transform: translateX(50%, -50%);\n ")]),NA("vertical",[LA("slider-handles",[LA("slider-handle-wrapper","\n transform: translate(-50%, -50%);\n ")]),LA("slider-marks",[LA("slider-mark","\n transform: translateY(calc(-50% + var(--n-dot-height) / 2));\n ")]),LA("slider-dots",[LA("slider-dot","\n transform: translateX(-50%) translateY(0);\n ")])])]),NA("vertical","\n box-sizing: content-box;\n padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);\n width: var(--n-rail-width-vertical);\n height: 100%;\n ",[LA("slider-handles","\n top: calc(var(--n-handle-size) / 2);\n right: 0;\n bottom: calc(var(--n-handle-size) / 2);\n left: 0;\n ",[LA("slider-handle-wrapper","\n top: unset;\n left: 50%;\n transform: translate(-50%, 50%);\n ")]),LA("slider-rail","\n height: 100%;\n ",[jA("fill","\n top: unset;\n right: 0;\n bottom: unset;\n left: 0;\n ")]),NA("with-mark","\n width: var(--n-rail-width-vertical);\n margin: 0 32px 0 8px;\n "),LA("slider-marks","\n top: calc(var(--n-handle-size) / 2);\n right: unset;\n bottom: calc(var(--n-handle-size) / 2);\n left: 22px;\n font-size: var(--n-mark-font-size);\n ",[LA("slider-mark","\n transform: translateY(50%);\n white-space: nowrap;\n ")]),LA("slider-dots","\n top: calc(var(--n-handle-size) / 2);\n right: unset;\n bottom: calc(var(--n-handle-size) / 2);\n left: 50%;\n ",[LA("slider-dot","\n transform: translateX(-50%) translateY(50%);\n ")])]),NA("disabled","\n cursor: not-allowed;\n opacity: var(--n-opacity-disabled);\n ",[LA("slider-handle","\n cursor: not-allowed;\n ")]),NA("with-mark","\n width: 100%;\n margin: 8px 0 32px 0;\n "),BA("&:hover",[LA("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[jA("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),LA("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),NA("active",[LA("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[jA("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),LA("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),LA("slider-marks","\n position: absolute;\n top: 18px;\n left: calc(var(--n-handle-size) / 2);\n right: calc(var(--n-handle-size) / 2);\n ",[LA("slider-mark","\n position: absolute;\n transform: translateX(-50%);\n white-space: nowrap;\n ")]),LA("slider-rail","\n width: 100%;\n position: relative;\n height: var(--n-rail-height);\n background-color: var(--n-rail-color);\n transition: background-color .3s var(--n-bezier);\n border-radius: calc(var(--n-rail-height) / 2);\n ",[jA("fill","\n position: absolute;\n top: 0;\n bottom: 0;\n border-radius: calc(var(--n-rail-height) / 2);\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-fill-color);\n ")]),LA("slider-handles","\n position: absolute;\n top: 0;\n right: calc(var(--n-handle-size) / 2);\n bottom: 0;\n left: calc(var(--n-handle-size) / 2);\n ",[LA("slider-handle-wrapper","\n outline: none;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n cursor: pointer;\n display: flex;\n ",[LA("slider-handle","\n height: var(--n-handle-size);\n width: var(--n-handle-size);\n border-radius: 50%;\n overflow: hidden;\n transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);\n background-color: var(--n-handle-color);\n box-shadow: var(--n-handle-box-shadow);\n ",[BA("&:hover","\n box-shadow: var(--n-handle-box-shadow-hover);\n ")]),BA("&:focus",[LA("slider-handle","\n box-shadow: var(--n-handle-box-shadow-focus);\n ",[BA("&:hover","\n box-shadow: var(--n-handle-box-shadow-active);\n ")])])])]),LA("slider-dots","\n position: absolute;\n top: 50%;\n left: calc(var(--n-handle-size) / 2);\n right: calc(var(--n-handle-size) / 2);\n ",[NA("transition-disabled",[LA("slider-dot","transition: none;")]),LA("slider-dot","\n transition:\n border-color .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n position: absolute;\n transform: translate(-50%, -50%);\n height: var(--n-dot-height);\n width: var(--n-dot-width);\n border-radius: var(--n-dot-border-radius);\n overflow: hidden;\n box-sizing: border-box;\n border: var(--n-dot-border);\n background-color: var(--n-dot-color);\n ",[NA("active","border: var(--n-dot-border-active);")])])]),LA("slider-handle-indicator","\n font-size: var(--n-font-size);\n padding: 6px 10px;\n border-radius: var(--n-indicator-border-radius);\n color: var(--n-indicator-text-color);\n background-color: var(--n-indicator-color);\n box-shadow: var(--n-indicator-box-shadow);\n ",[MK()]),LA("slider-handle-indicator","\n font-size: var(--n-font-size);\n padding: 6px 10px;\n border-radius: var(--n-indicator-border-radius);\n color: var(--n-indicator-text-color);\n background-color: var(--n-indicator-color);\n box-shadow: var(--n-indicator-box-shadow);\n ",[NA("top","\n margin-bottom: 12px;\n "),NA("right","\n margin-left: 12px;\n "),NA("bottom","\n margin-top: 12px;\n "),NA("left","\n margin-right: 12px;\n "),MK()]),WA(LA("slider",[LA("slider-dot","background-color: var(--n-dot-color-modal);")])),VA(LA("slider",[LA("slider-dot","background-color: var(--n-dot-color-popover);")]))]);function Z6(e){return window.TouchEvent&&e instanceof window.TouchEvent}function Q6(){const e=new Map;return Yn((()=>{e.clear()})),[e,t=>n=>{e.set(t,n)}]}const J6=$n({name:"Slider",props:Object.assign(Object.assign({},HW.props),{to:ID.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),slots:Object,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=fE(e),r=HW("Slider","-slider",X6,y5,e,t),a=vt(null),[i,l]=Q6(),[s,d]=Q6(),c=vt(new Set),u=bE(e),{mergedDisabledRef:h}=u,p=Qr((()=>{const{step:t}=e;if(Number(t)<=0||"mark"===t)return 0;const n=t.toString();let o=0;return n.includes(".")&&(o=n.length-n.indexOf(".")-1),o})),f=vt(e.defaultValue),m=xD(Ft(e,"value"),f),v=Qr((()=>{const{value:t}=m;return(e.range?t:[t]).map(O)})),g=Qr((()=>v.value.length>2)),b=Qr((()=>void 0===e.placement?e.vertical?"right":"top":e.placement)),y=Qr((()=>{const{marks:t}=e;return t?Object.keys(t).map(Number.parseFloat):null})),_=vt(-1),x=vt(-1),C=vt(-1),w=vt(!1),S=vt(!1),k=Qr((()=>{const{vertical:t,reverse:n}=e;return t?n?"top":"bottom":n?"right":"left"})),P=Qr((()=>{if(g.value)return;const t=v.value,n=D(e.range?Math.min(...t):e.min),o=D(e.range?Math.max(...t):t[0]),{value:r}=k;return e.vertical?{[r]:`${n}%`,height:o-n+"%"}:{[r]:`${n}%`,width:o-n+"%"}})),T=Qr((()=>{const t=[],{marks:n}=e;if(n){const o=v.value.slice();o.sort(((e,t)=>e-t));const{value:r}=k,{value:a}=g,{range:i}=e,l=a?()=>!1:e=>i?e>=o[0]&&e<=o[o.length-1]:e<=o[0];for(const e of Object.keys(n)){const o=Number(e);t.push({active:l(o),key:o,label:n[e],style:{[r]:`${D(o)}%`}})}}return t}));function R(t){return e.showTooltip||C.value===t||_.value===t&&w.value}function F(){s.forEach(((e,t)=>{R(t)&&e.syncPosition()}))}function z(t){const{"onUpdate:value":n,onUpdateValue:o}=e,{nTriggerFormInput:r,nTriggerFormChange:a}=u;o&&GB(o,t),n&&GB(n,t),f.value=t,r(),a()}function M(t){const{range:n}=e;if(n){if(Array.isArray(t)){const{value:e}=v;t.join()!==e.join()&&z(t)}}else if(!Array.isArray(t)){v.value[0]!==t&&z(t)}}function $(t,n){if(e.range){const e=v.value.slice();e.splice(n,1,t),M(e)}else M(t)}function A(t,n,o){const r=void 0!==o;o||(o=t-n>0?1:-1);const a=y.value||[],{step:i}=e;if("mark"===i){const e=I(t,a.concat(n),r?o:void 0);return e?e.value:n}if(i<=0)return n;const{value:l}=p;let s;if(r){const e=Number((n/i).toFixed(l)),t=Math.floor(e),r=et?t:t-1)*i).toFixed(l)),Number((r*i).toFixed(l)),...a],o)}else{const n=function(t){const{step:n,min:o}=e;if(Number(n)<=0||"mark"===n)return t;const r=Math.round((t-o)/n)*n+o;return Number(r.toFixed(p.value))}(t);s=I(t,[...a,n])}return s?O(s.value):n}function O(t){return Math.min(e.max,Math.max(e.min,t))}function D(t){const{max:n,min:o}=e;return(t-o)/(n-o)*100}function I(e,t=y.value,n){if(!(null==t?void 0:t.length))return null;let o=null,r=-1;for(;++r0)&&(null===o||i0?1:-1),n)}function L(){w.value&&(w.value=!1,e.onDragend&&GB(e.onDragend),tD("touchend",document,N),tD("mouseup",document,N),tD("touchmove",document,j),tD("mousemove",document,j))}function j(e){const{value:t}=_;if(!w.value||-1===t)return void L();const n=B(e);void 0!==n&&$(A(n,v.value[t]),t)}function N(){L()}er(_,((e,t)=>{Kt((()=>x.value=t))})),er(m,(()=>{if(e.marks){if(S.value)return;S.value=!0,Kt((()=>{S.value=!1}))}Kt(F)})),Xn((()=>{L()}));const H=Qr((()=>{const{self:{markFontSize:e,railColor:t,railColorHover:n,fillColor:o,fillColorHover:a,handleColor:i,opacityDisabled:l,dotColor:s,dotColorModal:d,handleBoxShadow:c,handleBoxShadowHover:u,handleBoxShadowActive:h,handleBoxShadowFocus:p,dotBorder:f,dotBoxShadow:m,railHeight:v,railWidthVertical:g,handleSize:b,dotHeight:y,dotWidth:_,dotBorderRadius:x,fontSize:C,dotBorderActive:w,dotColorPopover:S},common:{cubicBezierEaseInOut:k}}=r.value;return{"--n-bezier":k,"--n-dot-border":f,"--n-dot-border-active":w,"--n-dot-border-radius":x,"--n-dot-box-shadow":m,"--n-dot-color":s,"--n-dot-color-modal":d,"--n-dot-color-popover":S,"--n-dot-height":y,"--n-dot-width":_,"--n-fill-color":o,"--n-fill-color-hover":a,"--n-font-size":C,"--n-handle-box-shadow":c,"--n-handle-box-shadow-active":h,"--n-handle-box-shadow-focus":p,"--n-handle-box-shadow-hover":u,"--n-handle-color":i,"--n-handle-size":b,"--n-opacity-disabled":l,"--n-rail-color":t,"--n-rail-color-hover":n,"--n-rail-height":v,"--n-rail-width-vertical":g,"--n-mark-font-size":e}})),W=o?vE("slider",void 0,H,e):void 0,V=Qr((()=>{const{self:{fontSize:e,indicatorColor:t,indicatorBoxShadow:n,indicatorTextColor:o,indicatorBorderRadius:a}}=r.value;return{"--n-font-size":e,"--n-indicator-border-radius":a,"--n-indicator-box-shadow":n,"--n-indicator-color":t,"--n-indicator-text-color":o}})),U=o?vE("slider-indicator",void 0,V,e):void 0;return{mergedClsPrefix:t,namespace:n,uncontrolledValue:f,mergedValue:m,mergedDisabled:h,mergedPlacement:b,isMounted:CD(),adjustedTo:ID(e),dotTransitionDisabled:S,markInfos:T,isShowTooltip:R,shouldKeepTooltipTransition:function(e){return!w.value||!(_.value===e&&x.value===e)},handleRailRef:a,setHandleRefs:l,setFollowerRefs:d,fillStyle:P,getHandleStyle:function(e,t){const n=D(e),{value:o}=k;return{[o]:`${n}%`,zIndex:t===_.value?1:0}},activeIndex:_,arrifiedValues:v,followerEnabledIndexSet:c,handleRailMouseDown:function(t){var n,o;if(h.value)return;if(!Z6(t)&&0!==t.button)return;const r=B(t);if(void 0===r)return;const a=v.value.slice(),l=e.range?null!==(o=null===(n=I(r,a))||void 0===n?void 0:n.index)&&void 0!==o?o:-1:0;-1!==l&&(t.preventDefault(),function(e){var t;~e&&(_.value=e,null===(t=i.get(e))||void 0===t||t.focus())}(l),w.value||(w.value=!0,e.onDragstart&&GB(e.onDragstart),eD("touchend",document,N),eD("mouseup",document,N),eD("touchmove",document,j),eD("mousemove",document,j)),$(A(r,v.value[l]),l))},handleHandleFocus:function(e){_.value=e,h.value||(C.value=e)},handleHandleBlur:function(e){_.value===e&&(_.value=-1,L()),C.value===e&&(C.value=-1)},handleHandleMouseEnter:function(e){C.value=e},handleHandleMouseLeave:function(e){C.value===e&&(C.value=-1)},handleRailKeyDown:function(t){if(h.value||!e.keyboard)return;const{vertical:n,reverse:o}=e;switch(t.key){case"ArrowUp":t.preventDefault(),E(n&&o?-1:1);break;case"ArrowRight":t.preventDefault(),E(!n&&o?-1:1);break;case"ArrowDown":t.preventDefault(),E(n&&o?1:-1);break;case"ArrowLeft":t.preventDefault(),E(!n&&o?1:-1)}},indicatorCssVars:o?void 0:V,indicatorThemeClass:null==U?void 0:U.themeClass,indicatorOnRender:null==U?void 0:U.onRender,cssVars:o?void 0:H,themeClass:null==W?void 0:W.themeClass,onRender:null==W?void 0:W.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:n,formatTooltip:o}=this;return null===(e=this.onRender)||void 0===e||e.call(this),Jr("div",{class:[`${t}-slider`,n,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:-1!==this.activeIndex,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},Jr("div",{class:`${t}-slider-rail`},Jr("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?Jr("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map((e=>Jr("div",{key:e.key,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:e.active}],style:e.style})))):null,Jr("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map(((e,n)=>{const r=this.isShowTooltip(n);return Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr("div",{ref:this.setHandleRefs(n),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,role:"slider","aria-valuenow":e,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-orientation":this.vertical?"vertical":"horizontal","aria-disabled":this.disabled,style:this.getHandleStyle(e,n),onFocus:()=>{this.handleHandleFocus(n)},onBlur:()=>{this.handleHandleBlur(n)},onMouseenter:()=>{this.handleHandleMouseEnter(n)},onMouseleave:()=>{this.handleHandleMouseLeave(n)}},lE(this.$slots.thumb,(()=>[Jr("div",{class:`${t}-slider-handle`})])))}),this.tooltip&&Jr(FI,{ref:this.setFollowerRefs(n),show:r,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(n),teleportDisabled:this.adjustedTo===ID.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(n),onEnter:()=>{this.followerEnabledIndexSet.add(n)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(n)}},{default:()=>{var n;return r?(null===(n=this.indicatorOnRender)||void 0===n||n.call(this),Jr("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},"function"==typeof o?o(e):e)):null}})})]})}))),this.marks?Jr("div",{class:`${t}-slider-marks`},this.markInfos.map((e=>Jr("div",{key:e.key,class:`${t}-slider-mark`,style:e.style},"function"==typeof e.label?e.label():e.label)))):null))}}),e8={name:"Split",common:KU};const t8={name:"Split",common:Eq,self:function(e){const{primaryColorHover:t,borderColor:n}=e;return{resizableTriggerColorHover:t,resizableTriggerColor:n}}},n8=LA("switch","\n height: var(--n-height);\n min-width: var(--n-width);\n vertical-align: middle;\n user-select: none;\n -webkit-user-select: none;\n display: inline-flex;\n outline: none;\n justify-content: center;\n align-items: center;\n",[jA("children-placeholder","\n height: var(--n-rail-height);\n display: flex;\n flex-direction: column;\n overflow: hidden;\n pointer-events: none;\n visibility: hidden;\n "),jA("rail-placeholder","\n display: flex;\n flex-wrap: none;\n "),jA("button-placeholder","\n width: calc(1.75 * var(--n-rail-height));\n height: var(--n-rail-height);\n "),LA("base-loading","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n font-size: calc(var(--n-button-width) - 4px);\n color: var(--n-loading-color);\n transition: color .3s var(--n-bezier);\n ",[MV({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),jA("checked, unchecked","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n box-sizing: border-box;\n position: absolute;\n white-space: nowrap;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n line-height: 1;\n "),jA("checked","\n right: 0;\n padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));\n "),jA("unchecked","\n left: 0;\n justify-content: flex-end;\n padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));\n "),BA("&:focus",[jA("rail","\n box-shadow: var(--n-box-shadow-focus);\n ")]),NA("round",[jA("rail","border-radius: calc(var(--n-rail-height) / 2);",[jA("button","border-radius: calc(var(--n-button-height) / 2);")])]),HA("disabled",[HA("icon",[NA("rubber-band",[NA("pressed",[jA("rail",[jA("button","max-width: var(--n-button-width-pressed);")])]),jA("rail",[BA("&:active",[jA("button","max-width: var(--n-button-width-pressed);")])]),NA("active",[NA("pressed",[jA("rail",[jA("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),jA("rail",[BA("&:active",[jA("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),NA("active",[jA("rail",[jA("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),jA("rail","\n overflow: hidden;\n height: var(--n-rail-height);\n min-width: var(--n-rail-width);\n border-radius: var(--n-rail-border-radius);\n cursor: pointer;\n position: relative;\n transition:\n opacity .3s var(--n-bezier),\n background .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n background-color: var(--n-rail-color);\n ",[jA("button-icon","\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n font-size: calc(var(--n-button-height) - 4px);\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n line-height: 1;\n ",[MV()]),jA("button",'\n align-items: center; \n top: var(--n-offset);\n left: var(--n-offset);\n height: var(--n-button-height);\n width: var(--n-button-width-pressed);\n max-width: var(--n-button-width);\n border-radius: var(--n-button-border-radius);\n background-color: var(--n-button-color);\n box-shadow: var(--n-button-box-shadow);\n box-sizing: border-box;\n cursor: inherit;\n content: "";\n position: absolute;\n transition:\n background-color .3s var(--n-bezier),\n left .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n max-width .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ')]),NA("active",[jA("rail","background-color: var(--n-rail-color-active);")]),NA("loading",[jA("rail","\n cursor: wait;\n ")]),NA("disabled",[jA("rail","\n cursor: not-allowed;\n opacity: .5;\n ")])]);let o8;const r8=$n({name:"Switch",props:Object.assign(Object.assign({},HW.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),slots:Object,setup(e){void 0===o8&&(o8="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Switch","-switch",n8,$5,e,t),r=bE(e),{mergedSizeRef:a,mergedDisabledRef:i}=r,l=vt(e.defaultValue),s=xD(Ft(e,"value"),l),d=Qr((()=>s.value===e.checkedValue)),c=vt(!1),u=vt(!1),h=Qr((()=>{const{railStyle:t}=e;if(t)return t({focused:u.value,checked:d.value})}));function p(t){const{"onUpdate:value":n,onChange:o,onUpdateValue:a}=e,{nTriggerFormInput:i,nTriggerFormChange:s}=r;n&&GB(n,t),a&&GB(a,t),o&&GB(o,t),l.value=t,i(),s()}const f=Qr((()=>{const{value:e}=a,{self:{opacityDisabled:t,railColor:n,railColorActive:r,buttonBoxShadow:i,buttonColor:l,boxShadowFocus:s,loadingColor:d,textColor:c,iconColor:u,[KA("buttonHeight",e)]:h,[KA("buttonWidth",e)]:p,[KA("buttonWidthPressed",e)]:f,[KA("railHeight",e)]:m,[KA("railWidth",e)]:v,[KA("railBorderRadius",e)]:g,[KA("buttonBorderRadius",e)]:b},common:{cubicBezierEaseInOut:y}}=o.value;let _,x,C;return o8?(_=`calc((${m} - ${h}) / 2)`,x=`max(${m}, ${h})`,C=`max(${v}, calc(${v} + ${h} - ${m}))`):(_=nO((tO(m)-tO(h))/2),x=nO(Math.max(tO(m),tO(h))),C=tO(m)>tO(h)?v:nO(tO(v)+tO(h)-tO(m))),{"--n-bezier":y,"--n-button-border-radius":b,"--n-button-box-shadow":i,"--n-button-color":l,"--n-button-width":p,"--n-button-width-pressed":f,"--n-button-height":h,"--n-height":x,"--n-offset":_,"--n-opacity-disabled":t,"--n-rail-border-radius":g,"--n-rail-color":n,"--n-rail-color-active":r,"--n-rail-height":m,"--n-rail-width":v,"--n-width":C,"--n-box-shadow-focus":s,"--n-loading-color":d,"--n-text-color":c,"--n-icon-color":u}})),m=n?vE("switch",Qr((()=>a.value[0])),f,e):void 0;return{handleClick:function(){e.loading||i.value||(s.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue))},handleBlur:function(){u.value=!1,function(){const{nTriggerFormBlur:e}=r;e()}(),c.value=!1},handleFocus:function(){u.value=!0,function(){const{nTriggerFormFocus:e}=r;e()}()},handleKeyup:function(t){e.loading||i.value||" "===t.key&&(s.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue),c.value=!1)},handleKeydown:function(t){e.loading||i.value||" "===t.key&&(t.preventDefault(),c.value=!0)},mergedRailStyle:h,pressed:c,mergedClsPrefix:t,mergedValue:s,checked:d,mergedDisabled:i,cssVars:n?void 0:f,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:a}=this;null==r||r();const{checked:i,unchecked:l,icon:s,"checked-icon":d,"unchecked-icon":c}=a,u=!(cE(s)&&cE(d)&&cE(c));return Jr("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,u&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},Jr("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},dE(i,(t=>dE(l,(n=>t||n?Jr("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},Jr("div",{class:`${e}-switch__rail-placeholder`},Jr("div",{class:`${e}-switch__button-placeholder`}),t),Jr("div",{class:`${e}-switch__rail-placeholder`},Jr("div",{class:`${e}-switch__button-placeholder`}),n)):null)))),Jr("div",{class:`${e}-switch__button`},dE(s,(t=>dE(d,(n=>dE(c,(o=>Jr(UW,null,{default:()=>this.loading?Jr(NV,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(n||t)?Jr("div",{class:`${e}-switch__button-icon`,key:n?"checked-icon":"icon"},n||t):this.checked||!o&&!t?null:Jr("div",{class:`${e}-switch__button-icon`,key:o?"unchecked-icon":"icon"},o||t)}))))))),dE(i,(t=>t&&Jr("div",{key:"checked",class:`${e}-switch__checked`},t))),dE(l,(t=>t&&Jr("div",{key:"unchecked",class:`${e}-switch__unchecked`},t))))))}}),a8="n-transfer",i8=LA("transfer","\n width: 100%;\n font-size: var(--n-font-size);\n height: 300px;\n display: flex;\n flex-wrap: nowrap;\n word-break: break-word;\n",[NA("disabled",[LA("transfer-list",[LA("transfer-list-header",[jA("title","\n color: var(--n-header-text-color-disabled);\n "),jA("extra","\n color: var(--n-header-extra-text-color-disabled);\n ")])])]),LA("transfer-list","\n flex: 1;\n min-width: 0;\n height: inherit;\n display: flex;\n flex-direction: column;\n background-clip: padding-box;\n position: relative;\n transition: background-color .3s var(--n-bezier);\n background-color: var(--n-list-color);\n ",[NA("source","\n border-top-left-radius: var(--n-border-radius);\n border-bottom-left-radius: var(--n-border-radius);\n ",[jA("border","border-right: 1px solid var(--n-divider-color);")]),NA("target","\n border-top-right-radius: var(--n-border-radius);\n border-bottom-right-radius: var(--n-border-radius);\n ",[jA("border","border-left: none;")]),jA("border","\n padding: 0 12px;\n border: 1px solid var(--n-border-color);\n transition: border-color .3s var(--n-bezier);\n pointer-events: none;\n border-radius: inherit;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n "),LA("transfer-list-header","\n min-height: var(--n-header-height);\n box-sizing: border-box;\n display: flex;\n padding: 12px 12px 10px 12px;\n align-items: center;\n background-clip: padding-box;\n border-radius: inherit;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n line-height: 1.5;\n transition:\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n ",[BA("> *:not(:first-child)","\n margin-left: 8px;\n "),jA("title","\n flex: 1;\n min-width: 0;\n line-height: 1.5;\n font-size: var(--n-header-font-size);\n font-weight: var(--n-header-font-weight);\n transition: color .3s var(--n-bezier);\n color: var(--n-header-text-color);\n "),jA("button","\n position: relative;\n "),jA("extra","\n transition: color .3s var(--n-bezier);\n font-size: var(--n-extra-font-size);\n margin-right: 0;\n white-space: nowrap;\n color: var(--n-header-extra-text-color);\n ")]),LA("transfer-list-body","\n flex-basis: 0;\n flex-grow: 1;\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: inherit;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n ",[LA("transfer-filter","\n padding: 4px 12px 8px 12px;\n box-sizing: border-box;\n transition:\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n "),LA("transfer-list-flex-container","\n flex: 1;\n position: relative;\n ",[LA("scrollbar","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n height: unset;\n "),LA("empty","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n "),LA("transfer-list-content","\n padding: 0;\n margin: 0;\n position: relative;\n ",[LA("transfer-list-item","\n padding: 0 12px;\n min-height: var(--n-item-height);\n display: flex;\n align-items: center;\n color: var(--n-item-text-color);\n position: relative;\n transition: color .3s var(--n-bezier);\n ",[jA("background","\n position: absolute;\n left: 4px;\n right: 4px;\n top: 0;\n bottom: 0;\n border-radius: var(--n-border-radius);\n transition: background-color .3s var(--n-bezier);\n "),jA("checkbox","\n position: relative;\n margin-right: 8px;\n "),jA("close","\n opacity: 0;\n pointer-events: none;\n position: relative;\n transition:\n opacity .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n color .3s var(--n-bezier);\n "),jA("label","\n position: relative;\n min-width: 0;\n flex-grow: 1;\n "),NA("source","cursor: pointer;"),NA("disabled","\n cursor: not-allowed;\n color: var(--n-item-text-color-disabled);\n "),HA("disabled",[BA("&:hover",[jA("background","background-color: var(--n-item-color-pending);"),jA("close","\n opacity: 1;\n pointer-events: all;\n ")])])])])])])])]),l8=$n({name:"TransferFilter",props:{value:String,placeholder:String,disabled:Boolean,onUpdateValue:{type:Function,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t}=Ro(a8);return{mergedClsPrefix:t,mergedTheme:e}},render(){const{mergedTheme:e,mergedClsPrefix:t}=this;return Jr("div",{class:`${t}-transfer-filter`},Jr(BY,{value:this.value,onUpdateValue:this.onUpdateValue,disabled:this.disabled,placeholder:this.placeholder,theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,clearable:!0,size:"small"},{"clear-icon-placeholder":()=>Jr(VW,{clsPrefix:t},{default:()=>Jr(xV,null)})}))}}),s8=$n({name:"TransferHeader",props:{size:{type:String,required:!0},selectAllText:String,clearText:String,source:Boolean,onCheckedAll:Function,onClearAll:Function,title:[String,Function]},setup(e){const{targetOptionsRef:t,canNotSelectAnythingRef:n,canBeClearedRef:o,allCheckedRef:r,mergedThemeRef:a,disabledRef:i,mergedClsPrefixRef:l,srcOptionsLengthRef:s}=Ro(a8),{localeRef:d}=AW("Transfer");return()=>{const{source:c,onClearAll:u,onCheckedAll:h,selectAllText:p,clearText:f}=e,{value:m}=a,{value:v}=l,{value:g}=d,b="large"===e.size?"small":"tiny",{title:y}=e;return Jr("div",{class:`${v}-transfer-list-header`},y&&Jr("div",{class:`${v}-transfer-list-header__title`},"function"==typeof y?y():y),c&&Jr(SG,{class:`${v}-transfer-list-header__button`,theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:b,tertiary:!0,onClick:r.value?u:h,disabled:n.value||i.value},{default:()=>r.value?f||g.unselectAll:p||g.selectAll}),!c&&o.value&&Jr(SG,{class:`${v}-transfer-list-header__button`,theme:m.peers.Button,themeOverrides:m.peerOverrides.Button,size:b,tertiary:!0,onClick:u,disabled:i.value},{default:()=>g.clearAll}),Jr("div",{class:`${v}-transfer-list-header__extra`},c?g.total(s.value):g.selected(t.value.length)))}}}),d8=$n({name:"NTransferListItem",props:{source:Boolean,label:{type:String,required:!0},value:{type:[String,Number],required:!0},disabled:Boolean,option:{type:Object,required:!0}},setup(e){const{targetValueSetRef:t,mergedClsPrefixRef:n,mergedThemeRef:o,handleItemCheck:r,renderSourceLabelRef:a,renderTargetLabelRef:i,showSelectedRef:l}=Ro(a8),s=oD((()=>t.value.has(e.value)));return{mergedClsPrefix:n,mergedTheme:o,checked:s,showSelected:l,renderSourceLabel:a,renderTargetLabel:i,handleClick:function(){e.disabled||r(!s.value,e.value)}}},render(){const{disabled:e,mergedTheme:t,mergedClsPrefix:n,label:o,checked:r,source:a,renderSourceLabel:i,renderTargetLabel:l}=this;return Jr("div",{class:[`${n}-transfer-list-item`,e&&`${n}-transfer-list-item--disabled`,a?`${n}-transfer-list-item--source`:`${n}-transfer-list-item--target`],onClick:a?this.handleClick:void 0},Jr("div",{class:`${n}-transfer-list-item__background`}),a&&this.showSelected&&Jr("div",{class:`${n}-transfer-list-item__checkbox`},Jr(wQ,{theme:t.peers.Checkbox,themeOverrides:t.peerOverrides.Checkbox,disabled:e,checked:r})),Jr("div",{class:`${n}-transfer-list-item__label`,title:UB(o)},a?i?i({option:this.option}):o:l?l({option:this.option}):o),!a&&!e&&Jr(DV,{focusable:!1,class:`${n}-transfer-list-item__close`,clsPrefix:n,onClick:this.handleClick}))}}),c8=$n({name:"TransferList",props:{virtualScroll:{type:Boolean,required:!0},itemSize:{type:Number,required:!0},options:{type:Array,required:!0},disabled:{type:Boolean,required:!0},source:Boolean},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t}=Ro(a8),n=vt(null),o=vt(null);return{mergedTheme:e,mergedClsPrefix:t,scrollerInstRef:n,vlInstRef:o,syncVLScroller:function(){var e;null===(e=n.value)||void 0===e||e.sync()},scrollContainer:function(){const{value:e}=o;if(!e)return null;const{listElRef:t}=e;return t},scrollContent:function(){const{value:e}=o;if(!e)return null;const{itemsElRef:t}=e;return t}}},render(){const{mergedTheme:e,options:t}=this;if(0===t.length)return Jr(CK,{theme:e.peers.Empty,themeOverrides:e.peerOverrides.Empty});const{mergedClsPrefix:n,virtualScroll:o,source:r,disabled:a,syncVLScroller:i}=this;return Jr(Vq,{ref:"scrollerInstRef",theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,container:o?this.scrollContainer:void 0,content:o?this.scrollContent:void 0},{default:()=>o?Jr(kB,{ref:"vlInstRef",style:{height:"100%"},class:`${n}-transfer-list-content`,items:this.options,itemSize:this.itemSize,showScrollbar:!1,onResize:i,onScroll:i,keyField:"value"},{default:({item:e})=>{const{source:t,disabled:n}=this;return Jr(d8,{source:t,key:e.value,value:e.value,disabled:e.disabled||n,label:e.label,option:e})}}):Jr("div",{class:`${n}-transfer-list-content`},t.map((e=>Jr(d8,{source:r,key:e.value,value:e.value,disabled:e.disabled||a,label:e.label,option:e}))))})}});const u8=$n({name:"Transfer",props:Object.assign(Object.assign({},HW.props),{value:Array,defaultValue:{type:Array,default:null},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:void 0},virtualScroll:Boolean,sourceTitle:[String,Function],selectAllText:String,clearText:String,targetTitle:[String,Function],filterable:{type:Boolean,default:void 0},sourceFilterable:Boolean,targetFilterable:Boolean,showSelected:{type:Boolean,default:!0},sourceFilterPlaceholder:String,targetFilterPlaceholder:String,filter:{type:Function,default:(e,t)=>!e||~`${t.label}`.toLowerCase().indexOf(`${e}`.toLowerCase())},size:String,renderSourceLabel:Function,renderTargetLabel:Function,renderSourceList:Function,renderTargetList:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]}),setup(e){const{mergedClsPrefixRef:t}=fE(e),n=HW("Transfer","-transfer",i8,G5,e,t),o=bE(e),{mergedSizeRef:r,mergedDisabledRef:a}=o,i=Qr((()=>{const{value:e}=r,{self:{[KA("itemHeight",e)]:t}}=n.value;return tO(t)})),{uncontrolledValueRef:l,mergedValueRef:s,targetValueSetRef:d,valueSetForCheckAllRef:c,valueSetForUncheckAllRef:u,valueSetForClearRef:h,filteredTgtOptionsRef:p,filteredSrcOptionsRef:f,targetOptionsRef:m,canNotSelectAnythingRef:v,canBeClearedRef:g,allCheckedRef:b,srcPatternRef:y,tgtPatternRef:_,mergedSrcFilterableRef:x,handleSrcFilterUpdateValue:C,handleTgtFilterUpdateValue:w}=function(e){const t=vt(e.defaultValue),n=xD(Ft(e,"value"),t),o=Qr((()=>{const t=new Map;return(e.options||[]).forEach((e=>t.set(e.value,e))),t})),r=Qr((()=>new Set(n.value||[]))),a=Qr((()=>{const e=o.value,t=[];return(n.value||[]).forEach((n=>{const o=e.get(n);o&&t.push(o)})),t})),i=vt(""),l=vt(""),s=Qr((()=>e.sourceFilterable||!!e.filterable)),d=Qr((()=>{const{showSelected:t,options:n,filter:o}=e;return s.value?n.filter((e=>o(i.value,e,"source")&&(t||!r.value.has(e.value)))):t?n:n.filter((e=>!r.value.has(e.value)))})),c=Qr((()=>{if(!e.targetFilterable)return a.value;const{filter:t}=e;return a.value.filter((e=>t(l.value,e,"target")))})),u=Qr((()=>{const{value:e}=n;return null===e?new Set:new Set(e)})),h=Qr((()=>{const e=new Set(u.value);return d.value.forEach((t=>{t.disabled||e.has(t.value)||e.add(t.value)})),e})),p=Qr((()=>{const e=new Set(u.value);return d.value.forEach((t=>{!t.disabled&&e.has(t.value)&&e.delete(t.value)})),e})),f=Qr((()=>{const e=new Set(u.value);return c.value.forEach((t=>{t.disabled||e.delete(t.value)})),e})),m=Qr((()=>d.value.every((e=>e.disabled)))),v=Qr((()=>{if(!d.value.length)return!1;const e=u.value;return d.value.every((t=>t.disabled||e.has(t.value)))})),g=Qr((()=>c.value.some((e=>!e.disabled))));return{uncontrolledValueRef:t,mergedValueRef:n,targetValueSetRef:r,valueSetForCheckAllRef:h,valueSetForUncheckAllRef:p,valueSetForClearRef:f,filteredTgtOptionsRef:c,filteredSrcOptionsRef:d,targetOptionsRef:a,canNotSelectAnythingRef:m,canBeClearedRef:g,allCheckedRef:v,srcPatternRef:i,tgtPatternRef:l,mergedSrcFilterableRef:s,handleSrcFilterUpdateValue:function(e){i.value=null!=e?e:""},handleTgtFilterUpdateValue:function(e){l.value=null!=e?e:""}}}(e);function S(t){const{onUpdateValue:n,"onUpdate:value":r,onChange:a}=e,{nTriggerFormInput:i,nTriggerFormChange:s}=o;n&&GB(n,t),r&&GB(r,t),a&&GB(a,t),l.value=t,i(),s()}function k(e,t){S(e?(s.value||[]).concat(t):(s.value||[]).filter((e=>e!==t)))}return To(a8,{targetValueSetRef:d,mergedClsPrefixRef:t,disabledRef:a,mergedThemeRef:n,targetOptionsRef:m,canNotSelectAnythingRef:v,canBeClearedRef:g,allCheckedRef:b,srcOptionsLengthRef:Qr((()=>e.options.length)),handleItemCheck:k,renderSourceLabelRef:Ft(e,"renderSourceLabel"),renderTargetLabelRef:Ft(e,"renderTargetLabel"),showSelectedRef:Ft(e,"showSelected")}),{mergedClsPrefix:t,mergedDisabled:a,itemSize:i,isMounted:CD(),mergedTheme:n,filteredSrcOpts:f,filteredTgtOpts:p,srcPattern:y,tgtPattern:_,mergedSize:r,mergedSrcFilterable:x,handleSrcFilterUpdateValue:C,handleTgtFilterUpdateValue:w,handleSourceCheckAll:function(){S([...c.value])},handleSourceUncheckAll:function(){S([...u.value])},handleTargetClearAll:function(){S([...h.value])},handleItemCheck:k,handleChecked:function(e){S(e)},cssVars:Qr((()=>{const{value:e}=r,{common:{cubicBezierEaseInOut:t},self:{borderRadius:o,borderColor:a,listColor:i,titleTextColor:l,titleTextColorDisabled:s,extraTextColor:d,itemTextColor:c,itemColorPending:u,itemTextColorDisabled:h,titleFontWeight:p,closeColorHover:f,closeColorPressed:m,closeIconColor:v,closeIconColorHover:g,closeIconColorPressed:b,closeIconSize:y,closeSize:_,dividerColor:x,extraTextColorDisabled:C,[KA("extraFontSize",e)]:w,[KA("fontSize",e)]:S,[KA("titleFontSize",e)]:k,[KA("itemHeight",e)]:P,[KA("headerHeight",e)]:T}}=n.value;return{"--n-bezier":t,"--n-border-color":a,"--n-border-radius":o,"--n-extra-font-size":w,"--n-font-size":S,"--n-header-font-size":k,"--n-header-extra-text-color":d,"--n-header-extra-text-color-disabled":C,"--n-header-font-weight":p,"--n-header-text-color":l,"--n-header-text-color-disabled":s,"--n-item-color-pending":u,"--n-item-height":P,"--n-item-text-color":c,"--n-item-text-color-disabled":h,"--n-list-color":i,"--n-header-height":T,"--n-close-size":_,"--n-close-icon-size":y,"--n-close-color-hover":f,"--n-close-color-pressed":m,"--n-close-icon-color":v,"--n-close-icon-color-hover":g,"--n-close-icon-color-pressed":b,"--n-divider-color":x}}))}},render(){const{mergedClsPrefix:e,renderSourceList:t,renderTargetList:n,mergedTheme:o,mergedSrcFilterable:r,targetFilterable:a}=this;return Jr("div",{class:[`${e}-transfer`,this.mergedDisabled&&`${e}-transfer--disabled`],style:this.cssVars},Jr("div",{class:`${e}-transfer-list ${e}-transfer-list--source`},Jr(s8,{source:!0,selectAllText:this.selectAllText,clearText:this.clearText,title:this.sourceTitle,onCheckedAll:this.handleSourceCheckAll,onClearAll:this.handleSourceUncheckAll,size:this.mergedSize}),Jr("div",{class:`${e}-transfer-list-body`},r?Jr(l8,{onUpdateValue:this.handleSrcFilterUpdateValue,value:this.srcPattern,disabled:this.mergedDisabled,placeholder:this.sourceFilterPlaceholder}):null,Jr("div",{class:`${e}-transfer-list-flex-container`},t?Jr(Vq,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar},{default:()=>t({onCheck:this.handleChecked,checkedOptions:this.filteredTgtOpts,pattern:this.srcPattern})}):Jr(c8,{source:!0,options:this.filteredSrcOpts,disabled:this.mergedDisabled,virtualScroll:this.virtualScroll,itemSize:this.itemSize}))),Jr("div",{class:`${e}-transfer-list__border`})),Jr("div",{class:`${e}-transfer-list ${e}-transfer-list--target`},Jr(s8,{onClearAll:this.handleTargetClearAll,size:this.mergedSize,title:this.targetTitle}),Jr("div",{class:`${e}-transfer-list-body`},a?Jr(l8,{onUpdateValue:this.handleTgtFilterUpdateValue,value:this.tgtPattern,disabled:this.mergedDisabled,placeholder:this.sourceFilterPlaceholder}):null,Jr("div",{class:`${e}-transfer-list-flex-container`},n?Jr(Vq,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar},{default:()=>n({onCheck:this.handleChecked,checkedOptions:this.filteredTgtOpts,pattern:this.tgtPattern})}):Jr(c8,{options:this.filteredTgtOpts,disabled:this.mergedDisabled,virtualScroll:this.virtualScroll,itemSize:this.itemSize}))),Jr("div",{class:`${e}-transfer-list__border`})))}}),h8="n-tree-select";function p8({position:e,offsetLevel:t,indent:n,el:o}){const r={position:"absolute",boxSizing:"border-box",right:0};if("inside"===e)r.left=0,r.top=0,r.bottom=0,r.borderRadius="inherit",r.boxShadow="inset 0 0 0 2px var(--n-drop-mark-color)";else{const a="before"===e?"top":"bottom";r[a]=0,r.left=o.offsetLeft+6-t*n+"px",r.height="2px",r.backgroundColor="var(--n-drop-mark-color)",r.transformOrigin=a,r.borderRadius="1px",r.transform="before"===e?"translateY(-4px)":"translateY(4px)"}return Jr("div",{style:r})}const f8="n-tree";const m8=$n({name:"NTreeNodeCheckbox",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},right:Boolean,focusable:Boolean,disabled:Boolean,checked:Boolean,indeterminate:Boolean,onCheck:Function},setup:e=>({handleUpdateValue:function(t){!function(t){const{onCheck:n}=e;n&&n(t)}(t)},mergedTheme:Ro(f8).mergedThemeRef}),render(){const{clsPrefix:e,mergedTheme:t,checked:n,indeterminate:o,disabled:r,focusable:a,indent:i,handleUpdateValue:l}=this;return Jr("span",{class:[`${e}-tree-node-checkbox`,this.right&&`${e}-tree-node-checkbox--right`],style:{width:`${i}px`},"data-checkbox":!0},Jr(wQ,{focusable:a,disabled:r,theme:t.peers.Checkbox,themeOverrides:t.peerOverrides.Checkbox,checked:n,indeterminate:o,onUpdateChecked:l}))}}),v8=$n({name:"TreeNodeContent",props:{clsPrefix:{type:String,required:!0},disabled:Boolean,checked:Boolean,selected:Boolean,onClick:Function,onDragstart:Function,tmNode:{type:Object,required:!0},nodeProps:Object},setup(e){const{renderLabelRef:t,renderPrefixRef:n,renderSuffixRef:o,labelFieldRef:r}=Ro(f8);return{selfRef:vt(null),renderLabel:t,renderPrefix:n,renderSuffix:o,labelField:r,handleClick:function(t){!function(t){const{onClick:n}=e;n&&n(t)}(t)}}},render(){const{clsPrefix:e,labelField:t,nodeProps:n,checked:o=!1,selected:r=!1,renderLabel:a,renderPrefix:i,renderSuffix:l,handleClick:s,onDragstart:d,tmNode:{rawNode:c,rawNode:{prefix:u,suffix:h,[t]:p}}}=this;return Jr("span",Object.assign({},n,{ref:"selfRef",class:[`${e}-tree-node-content`,null==n?void 0:n.class],onClick:s,draggable:void 0!==d||void 0,onDragstart:d}),i||u?Jr("div",{class:`${e}-tree-node-content__prefix`},i?i({option:c,selected:r,checked:o}):aE(u)):null,Jr("div",{class:`${e}-tree-node-content__text`},a?a({option:c,selected:r,checked:o}):aE(p)),l||h?Jr("div",{class:`${e}-tree-node-content__suffix`},l?l({option:c,selected:r,checked:o}):aE(h)):null)}}),g8=$n({name:"NTreeSwitcher",props:{clsPrefix:{type:String,required:!0},indent:{type:Number,required:!0},expanded:Boolean,selected:Boolean,hide:Boolean,loading:Boolean,onClick:Function,tmNode:{type:Object,required:!0}},setup(e){const{renderSwitcherIconRef:t}=Ro(f8,null);return()=>{const{clsPrefix:n,expanded:o,hide:r,indent:a,onClick:i}=e;return Jr("span",{"data-switcher":!0,class:[`${n}-tree-node-switcher`,o&&`${n}-tree-node-switcher--expanded`,r&&`${n}-tree-node-switcher--hide`],style:{width:`${a}px`},onClick:i},Jr("div",{class:`${n}-tree-node-switcher__icon`},Jr(UW,null,{default:()=>{if(e.loading)return Jr(NV,{clsPrefix:n,key:"loading",radius:85,strokeWidth:20});const{value:o}=t;return o?o({expanded:e.expanded,selected:e.selected,option:e.tmNode.rawNode}):Jr(VW,{clsPrefix:n,key:"switcher"},{default:()=>Jr(wV,null)})}})))}}});function b8(e){return Qr((()=>e.leafOnly?"child":e.checkStrategy))}function y8(e,t){return!!e.rawNode[t]}function _8(e,t,n,o){null==e||e.forEach((e=>{n(e),_8(e[t],t,n,o),o(e)}))}function x8(e,t,n,o,r){const a=new Set,i=new Set,l=[];return _8(e,o,(e=>{if(l.push(e),r(t,e)){i.add(e[n]);for(let e=l.length-2;e>=0;--e){if(a.has(l[e][n]))return;a.add(l[e][n])}}}),(()=>{l.pop()})),{expandedKeys:Array.from(a),highlightKeySet:i}}if(ED&&Image){(new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}const C8=$n({name:"TreeNode",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const t=Ro(f8),{droppingNodeParentRef:n,droppingMouseNodeRef:o,draggingNodeRef:r,droppingPositionRef:a,droppingOffsetLevelRef:i,nodePropsRef:l,indentRef:s,blockLineRef:d,checkboxPlacementRef:c,checkOnClickRef:u,disabledFieldRef:h,showLineRef:p,renderSwitcherIconRef:f,overrideDefaultNodeClickBehaviorRef:m}=t,v=oD((()=>!!e.tmNode.rawNode.checkboxDisabled)),g=oD((()=>y8(e.tmNode,h.value))),b=oD((()=>t.disabledRef.value||g.value)),y=Qr((()=>{const{value:t}=l;if(t)return t({option:e.tmNode.rawNode})})),_=vt(null),x={value:null};function C(){const n=()=>{const{tmNode:n}=e;if(n.isLeaf||n.shallowLoaded)t.handleSwitcherClick(n);else{if(t.loadingKeysRef.value.has(n.key))return;t.loadingKeysRef.value.add(n.key);const{onLoadRef:{value:e}}=t;e&&e(n.rawNode).then((e=>{!1!==e&&t.handleSwitcherClick(n)})).finally((()=>{t.loadingKeysRef.value.delete(n.key)}))}};f.value?setTimeout(n,0):n()}Kn((()=>{x.value=_.value.$el}));const w=oD((()=>!g.value&&t.selectableRef.value&&(!t.internalTreeSelect||("child"!==t.mergedCheckStrategyRef.value||t.multipleRef.value&&t.cascadeRef.value||e.tmNode.isLeaf)))),S=oD((()=>t.checkableRef.value&&(t.cascadeRef.value||"child"!==t.mergedCheckStrategyRef.value||e.tmNode.isLeaf))),k=oD((()=>t.displayedCheckedKeysRef.value.includes(e.tmNode.key))),P=oD((()=>{const{value:t}=S;if(!t)return!1;const{value:n}=u,{tmNode:o}=e;return"boolean"==typeof n?!o.disabled&&n:n(e.tmNode.rawNode)}));function T(n){var o,r;if(!QA(n,"checkbox")&&!QA(n,"switcher")){if(!b.value){const o=m.value;let r=!1;if(o)switch(o({option:e.tmNode.rawNode})){case"toggleCheck":r=!0,R(!k.value);break;case"toggleSelect":r=!0,t.handleSelect(e.tmNode);break;case"toggleExpand":r=!0,C(),r=!0;break;case"none":return r=!0,void(r=!0)}r||function(n){const{value:o}=t.expandOnClickRef,{value:r}=w,{value:a}=P;if(!r&&!o&&!a)return;if(QA(n,"checkbox")||QA(n,"switcher"))return;const{tmNode:i}=e;r&&t.handleSelect(i),o&&!i.isLeaf&&C(),a&&R(!k.value)}(n)}null===(r=null===(o=y.value)||void 0===o?void 0:o.onClick)||void 0===r||r.call(o,n)}}function R(n){t.handleCheck(e.tmNode,n)}const F=Qr((()=>{const{clsPrefix:t}=e,{value:n}=s;if(p.value){const o=[];let r=e.tmNode.parent;for(;r;)r.isLastChild?o.push(Jr("div",{class:`${t}-tree-node-indent`},Jr("div",{style:{width:`${n}px`}}))):o.push(Jr("div",{class:[`${t}-tree-node-indent`,`${t}-tree-node-indent--show-line`]},Jr("div",{style:{width:`${n}px`}}))),r=r.parent;return o.reverse()}return XO(e.tmNode.level,Jr("div",{class:`${e.clsPrefix}-tree-node-indent`},Jr("div",{style:{width:`${n}px`}})))}));return{showDropMark:oD((()=>{const{value:t}=r;if(!t)return;const{value:n}=a;if(!n)return;const{value:i}=o;if(!i)return;const{tmNode:l}=e;return l.key===i.key})),showDropMarkAsParent:oD((()=>{const{value:t}=n;if(!t)return!1;const{tmNode:o}=e,{value:r}=a;return("before"===r||"after"===r)&&t.key===o.key})),pending:oD((()=>t.pendingNodeKeyRef.value===e.tmNode.key)),loading:oD((()=>t.loadingKeysRef.value.has(e.tmNode.key))),highlight:oD((()=>{var n;return null===(n=t.highlightKeySetRef.value)||void 0===n?void 0:n.has(e.tmNode.key)})),checked:k,indeterminate:oD((()=>t.displayedIndeterminateKeysRef.value.includes(e.tmNode.key))),selected:oD((()=>t.mergedSelectedKeysRef.value.includes(e.tmNode.key))),expanded:oD((()=>t.mergedExpandedKeysRef.value.includes(e.tmNode.key))),disabled:b,checkable:S,mergedCheckOnClick:P,checkboxDisabled:v,selectable:w,expandOnClick:t.expandOnClickRef,internalScrollable:t.internalScrollableRef,draggable:t.draggableRef,blockLine:d,nodeProps:y,checkboxFocusable:t.internalCheckboxFocusableRef,droppingPosition:a,droppingOffsetLevel:i,indent:s,checkboxPlacement:c,showLine:p,contentInstRef:_,contentElRef:x,indentNodes:F,handleCheck:R,handleDrop:function(n){n.preventDefault(),null!==a.value&&t.handleDrop({event:n,node:e.tmNode,dropPosition:a.value})},handleDragStart:function(n){t.handleDragStart({event:n,node:e.tmNode})},handleDragEnter:function(n){n.currentTarget===n.target&&t.handleDragEnter({event:n,node:e.tmNode})},handleDragOver:function(n){n.preventDefault(),t.handleDragOver({event:n,node:e.tmNode})},handleDragEnd:function(n){t.handleDragEnd({event:n,node:e.tmNode})},handleDragLeave:function(n){n.currentTarget===n.target&&t.handleDragLeave({event:n,node:e.tmNode})},handleLineClick:function(e){d.value&&T(e)},handleContentClick:function(e){d.value||T(e)},handleSwitcherClick:C}},render(){const{tmNode:e,clsPrefix:t,checkable:n,expandOnClick:o,selectable:r,selected:a,checked:i,highlight:l,draggable:s,blockLine:d,indent:c,indentNodes:u,disabled:h,pending:p,internalScrollable:f,nodeProps:m,checkboxPlacement:v}=this,g=s&&!h?{onDragenter:this.handleDragEnter,onDragleave:this.handleDragLeave,onDragend:this.handleDragEnd,onDrop:this.handleDrop,onDragover:this.handleDragOver}:void 0,b=f?XB(e.key):void 0,y="right"===v,_=n?Jr(m8,{indent:c,right:y,focusable:this.checkboxFocusable,disabled:h||this.checkboxDisabled,clsPrefix:t,checked:this.checked,indeterminate:this.indeterminate,onCheck:this.handleCheck}):null;return Jr("div",Object.assign({class:`${t}-tree-node-wrapper`},g),Jr("div",Object.assign({},d?m:void 0,{class:[`${t}-tree-node`,{[`${t}-tree-node--selected`]:a,[`${t}-tree-node--checkable`]:n,[`${t}-tree-node--highlight`]:l,[`${t}-tree-node--pending`]:p,[`${t}-tree-node--disabled`]:h,[`${t}-tree-node--selectable`]:r,[`${t}-tree-node--clickable`]:r||o||this.mergedCheckOnClick},null==m?void 0:m.class],"data-key":b,draggable:s&&d,onClick:this.handleLineClick,onDragstart:s&&d&&!h?this.handleDragStart:void 0}),u,e.isLeaf&&this.showLine?Jr("div",{class:[`${t}-tree-node-indent`,`${t}-tree-node-indent--show-line`,e.isLeaf&&`${t}-tree-node-indent--is-leaf`,e.isLastChild&&`${t}-tree-node-indent--last-child`]},Jr("div",{style:{width:`${c}px`}})):Jr(g8,{clsPrefix:t,expanded:this.expanded,selected:a,loading:this.loading,hide:e.isLeaf,tmNode:this.tmNode,indent:c,onClick:this.handleSwitcherClick}),y?null:_,Jr(v8,{ref:"contentInstRef",clsPrefix:t,checked:i,selected:a,onClick:this.handleContentClick,nodeProps:d?void 0:m,onDragstart:!s||d||h?void 0:this.handleDragStart,tmNode:e}),s?this.showDropMark?p8({el:this.contentElRef.value,position:this.droppingPosition,offsetLevel:this.droppingOffsetLevel,indent:c}):this.showDropMarkAsParent?p8({el:this.contentElRef.value,position:"inside",offsetLevel:this.droppingOffsetLevel,indent:c}):null:null,y?_:null))}}),w8=$n({name:"TreeMotionWrapper",props:{clsPrefix:{type:String,required:!0},height:Number,nodes:{type:Array,required:!0},mode:{type:String,required:!0},onAfterEnter:{type:Function,required:!0}},render(){const{clsPrefix:e}=this;return Jr(IV,{onAfterEnter:this.onAfterEnter,appear:!0,reverse:"collapse"===this.mode},{default:()=>Jr("div",{class:[`${e}-tree-motion-wrapper`,`${e}-tree-motion-wrapper--${this.mode}`],style:{height:nO(this.height)}},this.nodes.map((t=>Jr(C8,{clsPrefix:e,tmNode:t}))))})}}),S8=MV(),k8=LA("tree","\n font-size: var(--n-font-size);\n outline: none;\n",[BA("ul, li","\n margin: 0;\n padding: 0;\n list-style: none;\n "),BA(">",[LA("tree-node",[BA("&:first-child","margin-top: 0;")])]),LA("tree-motion-wrapper",[NA("expand",[xY({duration:"0.2s"})]),NA("collapse",[xY({duration:"0.2s",reverse:!0})])]),LA("tree-node-wrapper","\n box-sizing: border-box;\n padding: var(--n-node-wrapper-padding);\n "),LA("tree-node","\n transform: translate3d(0,0,0);\n position: relative;\n display: flex;\n border-radius: var(--n-node-border-radius);\n transition: background-color .3s var(--n-bezier);\n ",[NA("highlight",[LA("tree-node-content",[jA("text","border-bottom-color: var(--n-node-text-color-disabled);")])]),NA("disabled",[LA("tree-node-content","\n color: var(--n-node-text-color-disabled);\n cursor: not-allowed;\n ")]),HA("disabled",[NA("clickable",[LA("tree-node-content","\n cursor: pointer;\n ")])])]),NA("block-node",[LA("tree-node-content","\n flex: 1;\n min-width: 0;\n ")]),HA("block-line",[LA("tree-node",[HA("disabled",[LA("tree-node-content",[BA("&:hover","background: var(--n-node-color-hover);")]),NA("selectable",[LA("tree-node-content",[BA("&:active","background: var(--n-node-color-pressed);")])]),NA("pending",[LA("tree-node-content","\n background: var(--n-node-color-hover);\n ")]),NA("selected",[LA("tree-node-content","background: var(--n-node-color-active);")])]),NA("selected",[LA("tree-node-content","background: var(--n-node-color-active);")])])]),NA("block-line",[LA("tree-node",[HA("disabled",[BA("&:hover","background: var(--n-node-color-hover);"),NA("pending","\n background: var(--n-node-color-hover);\n "),NA("selectable",[HA("selected",[BA("&:active","background: var(--n-node-color-pressed);")])]),NA("selected","background: var(--n-node-color-active);")]),NA("selected","background: var(--n-node-color-active);"),NA("disabled","\n cursor: not-allowed;\n ")])]),LA("tree-node-indent","\n flex-grow: 0;\n flex-shrink: 0;\n ",[NA("show-line","position: relative",[BA("&::before",'\n position: absolute;\n left: 50%;\n border-left: 1px solid var(--n-line-color);\n transition: border-color .3s var(--n-bezier);\n transform: translate(-50%);\n content: "";\n top: var(--n-line-offset-top);\n bottom: var(--n-line-offset-bottom);\n '),NA("last-child",[BA("&::before","\n bottom: 50%;\n ")]),NA("is-leaf",[BA("&::after",'\n position: absolute;\n content: "";\n left: calc(50% + 0.5px);\n right: 0;\n bottom: 50%;\n transition: border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-line-color);\n ')])]),HA("show-line","height: 0;")]),LA("tree-node-switcher","\n cursor: pointer;\n display: inline-flex;\n flex-shrink: 0;\n height: var(--n-node-content-height);\n align-items: center;\n justify-content: center;\n transition: transform .15s var(--n-bezier);\n vertical-align: bottom;\n ",[jA("icon","\n position: relative;\n height: 14px;\n width: 14px;\n display: flex;\n color: var(--n-arrow-color);\n transition: color .3s var(--n-bezier);\n font-size: 14px;\n ",[LA("icon",[S8]),LA("base-loading","\n color: var(--n-loading-color);\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n ",[S8]),LA("base-icon",[S8])]),NA("hide","visibility: hidden;"),NA("expanded","transform: rotate(90deg);")]),LA("tree-node-checkbox","\n display: inline-flex;\n height: var(--n-node-content-height);\n vertical-align: bottom;\n align-items: center;\n justify-content: center;\n "),LA("tree-node-content","\n user-select: none;\n position: relative;\n display: inline-flex;\n align-items: center;\n min-height: var(--n-node-content-height);\n box-sizing: border-box;\n line-height: var(--n-line-height);\n vertical-align: bottom;\n padding: 0 6px 0 4px;\n cursor: default;\n border-radius: var(--n-node-border-radius);\n color: var(--n-node-text-color);\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[BA("&:last-child","margin-bottom: 0;"),jA("prefix","\n display: inline-flex;\n margin-right: 8px;\n "),jA("text","\n border-bottom: 1px solid #0000;\n transition: border-color .3s var(--n-bezier);\n flex-grow: 1;\n max-width: 100%;\n "),jA("suffix","\n display: inline-flex;\n ")]),jA("empty","margin: auto;")]);var P8=function(e,t,n,o){return new(n||(n=Promise))((function(t,r){function a(e){try{l(o.next(e))}catch(Nte){r(Nte)}}function i(e){try{l(o.throw(e))}catch(Nte){r(Nte)}}function l(e){var o;e.done?t(e.value):(o=e.value,o instanceof n?o:new n((function(e){e(o)}))).then(a,i)}l((o=o.apply(e,[])).next())}))};function T8(e,t,n,o){return{getIsGroup:()=>!1,getKey:t=>t[e],getChildren:o||(e=>e[t]),getDisabled:e=>!(!e[n]&&!e.checkboxDisabled)}}const R8={allowCheckingNotLoaded:Boolean,filter:Function,defaultExpandAll:Boolean,expandedKeys:Array,keyField:{type:String,default:"key"},labelField:{type:String,default:"label"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandedKeys:{type:Array,default:()=>[]},indeterminateKeys:Array,renderSwitcherIcon:Function,onUpdateIndeterminateKeys:[Function,Array],"onUpdate:indeterminateKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],"onUpdate:expandedKeys":[Function,Array],overrideDefaultNodeClickBehavior:Function},F8=$n({name:"Tree",props:Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),{accordion:Boolean,showIrrelevantNodes:{type:Boolean,default:!0},data:{type:Array,default:()=>[]},expandOnDragenter:{type:Boolean,default:!0},expandOnClick:Boolean,checkOnClick:{type:[Boolean,Function],default:!1},cancelable:{type:Boolean,default:!0},checkable:Boolean,draggable:Boolean,blockNode:Boolean,blockLine:Boolean,showLine:Boolean,disabled:Boolean,checkedKeys:Array,defaultCheckedKeys:{type:Array,default:()=>[]},selectedKeys:Array,defaultSelectedKeys:{type:Array,default:()=>[]},multiple:Boolean,pattern:{type:String,default:""},onLoad:Function,cascade:Boolean,selectable:{type:Boolean,default:!0},scrollbarProps:Object,indent:{type:Number,default:24},allowDrop:{type:Function,default:function({dropPosition:e,node:t}){return!1===t.isLeaf||(!!t.children||"inside"!==e)}},animated:{type:Boolean,default:!0},checkboxPlacement:{type:String,default:"left"},virtualScroll:Boolean,watchProps:Array,renderLabel:Function,renderPrefix:Function,renderSuffix:Function,nodeProps:Function,keyboard:{type:Boolean,default:!0},getChildren:Function,onDragenter:[Function,Array],onDragleave:[Function,Array],onDragend:[Function,Array],onDragstart:[Function,Array],onDragover:[Function,Array],onDrop:[Function,Array],onUpdateCheckedKeys:[Function,Array],"onUpdate:checkedKeys":[Function,Array],onUpdateSelectedKeys:[Function,Array],"onUpdate:selectedKeys":[Function,Array]}),R8),{internalTreeSelect:Boolean,internalScrollable:Boolean,internalScrollablePadding:String,internalRenderEmpty:Function,internalHighlightKeySet:Object,internalUnifySelectCheck:Boolean,internalCheckboxFocusable:{type:Boolean,default:!0},internalFocusable:{type:Boolean,default:!0},checkStrategy:{type:String,default:"all"},leafOnly:Boolean}),slots:Object,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=fE(e),r=DW("Tree",o,t),a=HW("Tree","-tree",k8,Z5,e,t),i=vt(null),l=vt(null),s=vt(null);const d=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n}=e;return(e,t)=>{if(!e.length)return!0;const o=t[n];return"string"==typeof o&&o.toLowerCase().includes(e.toLowerCase())}})),c=Qr((()=>{const{pattern:t}=e;return t&&t.length&&d.value?function(e,t,n,o,r){const a=new Set,i=new Set,l=new Set,s=[],d=[],c=[];return function e(s){s.forEach((s=>{if(c.push(s),t(n,s)){a.add(s[o]),l.add(s[o]);for(let e=c.length-2;e>=0;--e){const t=c[e][o];if(i.has(t))break;i.add(t),a.has(t)&&a.delete(t)}}const d=s[r];d&&e(d),c.pop()}))}(e),function e(t,n){t.forEach((t=>{const l=t[o],d=a.has(l),c=i.has(l);if(!d&&!c)return;const u=t[r];if(u)if(d)n.push(t);else{s.push(l);const o=Object.assign(Object.assign({},t),{[r]:[]});n.push(o),e(u,o[r])}else n.push(t)}))}(e,d),{filteredTree:d,highlightKeySet:l,expandedKeys:s}}(e.data,d.value,t,e.keyField,e.childrenField):{filteredTree:e.data,highlightKeySet:null,expandedKeys:void 0}})),u=Qr((()=>vK(e.showIrrelevantNodes?e.data:c.value.filteredTree,T8(e.keyField,e.childrenField,e.disabledField,e.getChildren)))),h=Ro(h8,null),p=e.internalTreeSelect?h.dataTreeMate:Qr((()=>e.showIrrelevantNodes?u.value:vK(e.data,T8(e.keyField,e.childrenField,e.disabledField,e.getChildren)))),{watchProps:f}=e,m=vt([]);(null==f?void 0:f.includes("defaultCheckedKeys"))?Jo((()=>{m.value=e.defaultCheckedKeys})):m.value=e.defaultCheckedKeys;const v=xD(Ft(e,"checkedKeys"),m),g=Qr((()=>p.value.getCheckedKeys(v.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}))),b=b8(e),y=Qr((()=>g.value.checkedKeys)),_=Qr((()=>{const{indeterminateKeys:t}=e;return void 0!==t?t:g.value.indeterminateKeys})),x=vt([]);(null==f?void 0:f.includes("defaultSelectedKeys"))?Jo((()=>{x.value=e.defaultSelectedKeys})):x.value=e.defaultSelectedKeys;const C=xD(Ft(e,"selectedKeys"),x),w=vt([]),S=t=>{w.value=e.defaultExpandAll?p.value.getNonLeafKeys():void 0===t?e.defaultExpandedKeys:t};(null==f?void 0:f.includes("defaultExpandedKeys"))?Jo((()=>{S(void 0)})):Jo((()=>{S(e.defaultExpandedKeys)}));const k=xD(Ft(e,"expandedKeys"),w),P=Qr((()=>u.value.getFlattenedNodes(k.value))),{pendingNodeKeyRef:T,handleKeydown:R}=function({props:e,fNodesRef:t,mergedExpandedKeysRef:n,mergedSelectedKeysRef:o,mergedCheckedKeysRef:r,handleCheck:a,handleSelect:i,handleSwitcherClick:l}){const{value:s}=o,d=Ro(h8,null),c=d?d.pendingNodeKeyRef:vt(s.length?s[s.length-1]:null);return{pendingNodeKeyRef:c,handleKeydown:function(o){var s;if(!e.keyboard)return{enterBehavior:null};const{value:d}=c;let u=null;if(null===d){if("ArrowDown"!==o.key&&"ArrowUp"!==o.key||o.preventDefault(),["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(o.key)&&null===d){const{value:e}=t;let n=0;for(;ne.key===d));if(!~p)return{enterBehavior:null};if("Enter"===o.key){const t=h[p];switch(u=(null===(s=e.overrideDefaultNodeClickBehavior)||void 0===s?void 0:s.call(e,{option:t.rawNode}))||null,u){case"toggleCheck":a(t,!r.value.includes(t.key));break;case"toggleSelect":i(t);break;case"toggleExpand":l(t);break;case"none":break;default:u="default",i(t)}}else if("ArrowDown"===o.key)for(o.preventDefault(),p+=1;p=0;){if(!h[p].disabled){c.value=h[p].key;break}p-=1}else if("ArrowLeft"===o.key){const e=h[p];if(e.isLeaf||!n.value.includes(d)){const t=e.getParent();t&&(c.value=t.key)}else l(e)}else if("ArrowRight"===o.key){const e=h[p];if(e.isLeaf)return{enterBehavior:null};if(n.value.includes(d))for(p+=1;pe.internalHighlightKeySet||c.value.highlightKeySet)),M),A=vt(new Set),O=Qr((()=>k.value.filter((e=>!A.value.has(e)))));let D=0;const I=vt(null),B=vt(null),E=vt(null),L=vt(null),j=vt(0),N=Qr((()=>{const{value:e}=B;return e?e.parent:null}));let H=!1;er(Ft(e,"data"),(()=>{H=!0,Kt((()=>{H=!1})),A.value.clear(),T.value=null,ne()}),{deep:!1});let W=!1;const V=()=>{W=!0,Kt((()=>{W=!1}))};let U;function q(t){return P8(this,0,void 0,(function*(){const{onLoad:n}=e;if(!n)return void(yield Promise.resolve());const{value:o}=A;if(!o.has(t.key)){o.add(t.key);try{!1===(yield n(t.rawNode))&&re()}catch(r){re()}o.delete(t.key)}}))}er(Ft(e,"pattern"),((t,n)=>{if(e.showIrrelevantNodes)if(U=void 0,t){const{expandedKeys:t,highlightKeySet:n}=x8(e.data,e.pattern,e.keyField,e.childrenField,d.value);M.value=n,V(),J(t,Q(t),{node:null,action:"filter"})}else M.value=new Set;else if(t.length){n.length||(U=k.value);const{expandedKeys:e}=c.value;void 0!==e&&(V(),J(e,Q(e),{node:null,action:"filter"}))}else void 0!==U&&(V(),J(U,Q(U),{node:null,action:"filter"}))})),Jo((()=>{var e;const{value:t}=u;if(!t)return;const{getNode:n}=t;null===(e=k.value)||void 0===e||e.forEach((e=>{const t=n(e);t&&!t.shallowLoaded&&q(t)}))}));const K=vt(!1),Y=vt([]);er(O,((t,n)=>{if(!e.animated||W)return void Kt(Z);if(H)return;const o=tO(a.value.self.nodeHeight),r=new Set(n);let l=null,d=null;for(const e of t)if(!r.has(e)){if(null!==l)return;l=e}const c=new Set(t);for(const e of n)if(!c.has(e)){if(null!==d)return;d=e}if(null===l&&null===d)return;const{virtualScroll:h}=e,p=(h?s.value.listElRef:i.value).offsetHeight,f=Math.ceil(p/o)+1;let m;if(null!==l&&(m=n),null!==d&&(m=void 0===m?t:m.filter((e=>e!==d))),K.value=!0,Y.value=u.value.getFlattenedNodes(m),null!==l){const e=Y.value.findIndex((e=>e.key===l));if(~e){const n=Y.value[e].children;if(n){const r=fK(n,t);Y.value.splice(e+1,0,{__motion:!0,mode:"expand",height:h?r.length*o:void 0,nodes:h?r.slice(0,f):r})}}}if(null!==d){const e=Y.value.findIndex((e=>e.key===d));if(~e){const n=Y.value[e].children;if(!n)return;K.value=!0;const r=fK(n,t);Y.value.splice(e+1,0,{__motion:!0,mode:"collapse",height:h?r.length*o:void 0,nodes:h?r.slice(0,f):r})}}}));const G=Qr((()=>rK(P.value))),X=Qr((()=>K.value?Y.value:P.value));function Z(){const{value:e}=l;e&&e.sync()}function Q(e){const{getNode:t}=p.value;return e.map((e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.rawNode)||null}))}function J(t,n,o){const{"onUpdate:expandedKeys":r,onUpdateExpandedKeys:a}=e;w.value=t,r&&GB(r,t,n,o),a&&GB(a,t,n,o)}function ee(t,n,o){const{"onUpdate:checkedKeys":r,onUpdateCheckedKeys:a}=e;m.value=t,a&&GB(a,t,n,o),r&&GB(r,t,n,o)}function te(t,n,o){const{"onUpdate:selectedKeys":r,onUpdateSelectedKeys:a}=e;x.value=t,a&&GB(a,t,n,o),r&&GB(r,t,n,o)}function ne(){I.value=null,oe()}function oe(){j.value=0,B.value=null,E.value=null,L.value=null,re()}function re(){F&&(window.clearTimeout(F),F=null),z=null}function ae(t,n){if(e.disabled||y8(t,e.disabledField))return;if(e.internalUnifySelectCheck&&!e.multiple)return void le(t);const o=n?"check":"uncheck",{checkedKeys:r,indeterminateKeys:a}=p.value[o](t.key,y.value,{cascade:e.cascade,checkStrategy:b.value,allowNotLoaded:e.allowCheckingNotLoaded});ee(r,Q(r),{node:t.rawNode,action:o}),function(t,n){const{"onUpdate:indeterminateKeys":o,onUpdateIndeterminateKeys:r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(a,Q(a))}function ie(t){e.disabled||K.value||function(t){if(e.disabled)return;const{key:n}=t,{value:o}=k,r=o.findIndex((e=>e===n));if(~r){const e=Array.from(o);e.splice(r,1),J(e,Q(e),{node:t.rawNode,action:"collapse"})}else{const r=u.value.getNode(n);if(!r||r.isLeaf)return;let a;if(e.accordion){const e=new Set(t.siblings.map((({key:e})=>e)));a=o.filter((t=>!e.has(t))),a.push(n)}else a=o.concat(n);J(a,Q(a),{node:t.rawNode,action:"expand"})}}(t)}function le(t){if(!e.disabled&&e.selectable){if(T.value=t.key,e.internalUnifySelectCheck){const{value:{checkedKeys:n,indeterminateKeys:o}}=g;e.multiple?ae(t,!(n.includes(t.key)||o.includes(t.key))):ee([t.key],Q([t.key]),{node:t.rawNode,action:"check"})}if(e.multiple){const n=Array.from(C.value),o=n.findIndex((e=>e===t.key));~o?e.cancelable&&n.splice(o,1):~o||n.push(t.key),te(n,Q(n),{node:t.rawNode,action:~o?"unselect":"select"})}else{C.value.includes(t.key)?e.cancelable&&te([],[],{node:t.rawNode,action:"unselect"}):te([t.key],Q([t.key]),{node:t.rawNode,action:"select"})}}}function se({event:t,node:n},o=!0){var r;if(!e.draggable||e.disabled||y8(n,e.disabledField))return;const{value:a}=I;if(!a)return;const{allowDrop:i,indent:l}=e;o&&function(t){const{onDragover:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode});const s=t.currentTarget,{height:d,top:c}=s.getBoundingClientRect(),u=t.clientY-c;let h;h=i({node:n.rawNode,dropPosition:"inside",phase:"drag"})?u<=8?"before":u>=d-8?"after":"inside":u<=d/2?"before":"after";const{value:p}=G;let f,m;const v=p(n.key);if(null===v)return void oe();let g=!1;"inside"===h?(f=n,m="inside"):"before"===h?n.isFirstChild?(f=n,m="before"):(f=P.value[v-1],m="after"):(f=n,m="after"),!f.isLeaf&&k.value.includes(f.key)&&(g=!0,"after"===m&&(f=P.value[v+1],f?m="before":(f=n,m="inside")));const b=f;if(E.value=b,!g&&a.isLastChild&&a.key===f.key&&(m="after"),"after"===m){let e=D-t.clientX,n=0;for(;e>=l/2&&null!==f.parent&&f.isLastChild&&n<1;)e-=l,n+=1,f=f.parent;j.value=n}else j.value=0;if(!(a.contains(f)||"inside"===m&&(null===(r=a.parent)||void 0===r?void 0:r.key)===f.key)||a.key===b.key&&a.key===f.key)if(i({node:f.rawNode,dropPosition:m,phase:"drag"})){if(a.key===f.key)re();else if(z!==f.key)if("inside"===m){if(e.expandOnDragenter){if(function(e){if(F&&(window.clearTimeout(F),F=null),e.isLeaf)return;z=e.key;const t=()=>{if(z!==e.key)return;const{value:t}=E;if(t&&t.key===e.key&&!k.value.includes(e.key)){const t=k.value.concat(e.key);J(t,Q(t),{node:e.rawNode,action:"expand"})}F=null,z=null};F=e.shallowLoaded?window.setTimeout((()=>{t()}),1e3):window.setTimeout((()=>{q(e).then((()=>{t()}))}),1e3)}(f),!f.shallowLoaded&&z!==f.key)return void ne()}else if(!f.shallowLoaded)return void ne()}else re();else"inside"!==m&&re();L.value=m,B.value=f}else oe();else oe()}er(T,(t=>{var n,o;if(null!==t)if(e.virtualScroll)null===(n=s.value)||void 0===n||n.scrollTo({key:t});else if(e.internalScrollable){const{value:e}=l;if(null===e)return;const n=null===(o=e.contentRef)||void 0===o?void 0:o.querySelector(`[data-key="${XB(t)}"]`);if(!n)return;e.scrollTo({el:n})}})),To(f8,{loadingKeysRef:A,highlightKeySetRef:$,displayedCheckedKeysRef:y,displayedIndeterminateKeysRef:_,mergedSelectedKeysRef:C,mergedExpandedKeysRef:k,mergedThemeRef:a,mergedCheckStrategyRef:b,nodePropsRef:Ft(e,"nodeProps"),disabledRef:Ft(e,"disabled"),checkableRef:Ft(e,"checkable"),selectableRef:Ft(e,"selectable"),expandOnClickRef:Ft(e,"expandOnClick"),onLoadRef:Ft(e,"onLoad"),draggableRef:Ft(e,"draggable"),blockLineRef:Ft(e,"blockLine"),indentRef:Ft(e,"indent"),cascadeRef:Ft(e,"cascade"),checkOnClickRef:Ft(e,"checkOnClick"),checkboxPlacementRef:e.checkboxPlacement,droppingMouseNodeRef:E,droppingNodeParentRef:N,draggingNodeRef:I,droppingPositionRef:L,droppingOffsetLevelRef:j,fNodesRef:P,pendingNodeKeyRef:T,showLineRef:Ft(e,"showLine"),disabledFieldRef:Ft(e,"disabledField"),internalScrollableRef:Ft(e,"internalScrollable"),internalCheckboxFocusableRef:Ft(e,"internalCheckboxFocusable"),internalTreeSelect:e.internalTreeSelect,renderLabelRef:Ft(e,"renderLabel"),renderPrefixRef:Ft(e,"renderPrefix"),renderSuffixRef:Ft(e,"renderSuffix"),renderSwitcherIconRef:Ft(e,"renderSwitcherIcon"),labelFieldRef:Ft(e,"labelField"),multipleRef:Ft(e,"multiple"),overrideDefaultNodeClickBehaviorRef:Ft(e,"overrideDefaultNodeClickBehavior"),handleSwitcherClick:ie,handleDragEnd:function({event:t,node:n}){ne(),!e.draggable||e.disabled||y8(n,e.disabledField)||function(t){const{onDragend:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode})},handleDragEnter:function({event:t,node:n}){!e.draggable||e.disabled||y8(n,e.disabledField)||(se({event:t,node:n},!1),function(t){const{onDragenter:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode}))},handleDragLeave:function({event:t,node:n}){!e.draggable||e.disabled||y8(n,e.disabledField)||function(t){const{onDragleave:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode})},handleDragStart:function({event:t,node:n}){!e.draggable||e.disabled||y8(n,e.disabledField)||(D=t.clientX,I.value=n,function(t){const{onDragstart:n}=e;n&&GB(n,t)}({event:t,node:n.rawNode}))},handleDrop:function({event:t,node:n,dropPosition:o}){if(!e.draggable||e.disabled||y8(n,e.disabledField))return;const{value:r}=I,{value:a}=B,{value:i}=L;if(r&&a&&i&&e.allowDrop({node:a.rawNode,dropPosition:i,phase:"drag"})&&r.key!==a.key){if("before"===i){const e=r.getNext({includeDisabled:!0});if(e&&e.key===a.key)return void oe()}if("after"===i){const e=r.getPrev({includeDisabled:!0});if(e&&e.key===a.key)return void oe()}!function(t){const{onDrop:n}=e;n&&GB(n,t)}({event:t,node:a.rawNode,dragNode:r.rawNode,dropPosition:o}),ne()}},handleDragOver:se,handleSelect:le,handleCheck:ae});const de={handleKeydown:R,scrollTo:function(e,t){var n,o;"number"==typeof e?null===(n=s.value)||void 0===n||n.scrollTo(e,t||0):null===(o=s.value)||void 0===o||o.scrollTo(e)},getCheckedData:()=>{if(!e.checkable)return{keys:[],options:[]};const{checkedKeys:t}=g.value;return{keys:t,options:Q(t)}},getIndeterminateData:()=>{if(!e.checkable)return{keys:[],options:[]};const{indeterminateKeys:t}=g.value;return{keys:t,options:Q(t)}}},ce=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{fontSize:t,nodeBorderRadius:n,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:i,arrowColor:l,loadingColor:s,nodeTextColor:d,nodeTextColorDisabled:c,dropMarkColor:u,nodeWrapperPadding:h,nodeHeight:p,lineHeight:f,lineColor:m}}=a.value,v=oO(h,"top"),g=oO(h,"bottom");return{"--n-arrow-color":l,"--n-loading-color":s,"--n-bezier":e,"--n-font-size":t,"--n-node-border-radius":n,"--n-node-color-active":i,"--n-node-color-hover":o,"--n-node-color-pressed":r,"--n-node-text-color":d,"--n-node-text-color-disabled":c,"--n-drop-mark-color":u,"--n-node-wrapper-padding":h,"--n-line-offset-top":`-${v}`,"--n-line-offset-bottom":`-${g}`,"--n-node-content-height":nO(tO(p)-tO(v)-tO(g)),"--n-line-height":f,"--n-line-color":m}})),ue=n?vE("tree",void 0,ce,e):void 0;return Object.assign(Object.assign({},de),{mergedClsPrefix:t,mergedTheme:a,rtlEnabled:r,fNodes:X,aip:K,selfElRef:i,virtualListInstRef:s,scrollbarInstRef:l,handleFocusout:function(t){var n;if(e.virtualScroll||e.internalScrollable){const{value:e}=l;if(null===(n=null==e?void 0:e.containerRef)||void 0===n?void 0:n.contains(t.relatedTarget))return;T.value=null}else{const{value:e}=i;if(null==e?void 0:e.contains(t.relatedTarget))return;T.value=null}},handleDragLeaveTree:function(e){e.target===e.currentTarget&&oe()},handleScroll:function(){Z()},getScrollContainer:function(){var e;return null===(e=s.value)||void 0===e?void 0:e.listElRef},getScrollContent:function(){var e;return null===(e=s.value)||void 0===e?void 0:e.itemsElRef},handleAfterEnter:function(){K.value=!1,e.virtualScroll&&Kt(Z)},handleResize:function(){Z()},cssVars:n?void 0:ce,themeClass:null==ue?void 0:ue.themeClass,onRender:null==ue?void 0:ue.onRender})},render(){var e;const{fNodes:t,internalRenderEmpty:n}=this;if(!t.length&&n)return n();const{mergedClsPrefix:o,blockNode:r,blockLine:a,draggable:i,disabled:l,internalFocusable:s,checkable:d,handleKeydown:c,rtlEnabled:u,handleFocusout:h,scrollbarProps:p}=this,f=s&&!l,m=f?"0":void 0,v=[`${o}-tree`,u&&`${o}-tree--rtl`,d&&`${o}-tree--checkable`,(a||r)&&`${o}-tree--block-node`,a&&`${o}-tree--block-line`],g=e=>"__motion"in e?Jr(w8,{height:e.height,nodes:e.nodes,clsPrefix:o,mode:e.mode,onAfterEnter:this.handleAfterEnter}):Jr(C8,{key:e.key,tmNode:e,clsPrefix:o});if(this.virtualScroll){const{mergedTheme:e,internalScrollablePadding:n}=this,r=oO(n||"0");return Jr(Uq,Object.assign({},p,{ref:"scrollbarInstRef",onDragleave:i?this.handleDragLeaveTree:void 0,container:this.getScrollContainer,content:this.getScrollContent,class:v,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,tabindex:m,onKeydown:f?c:void 0,onFocusout:f?h:void 0}),{default:()=>{var n;return null===(n=this.onRender)||void 0===n||n.call(this),t.length?Jr(kB,{ref:"virtualListInstRef",items:this.fNodes,itemSize:tO(e.self.nodeHeight),ignoreItemResize:this.aip,paddingTop:r.top,paddingBottom:r.bottom,class:this.themeClass,style:[this.cssVars,{paddingLeft:r.left,paddingRight:r.right}],onScroll:this.handleScroll,onResize:this.handleResize,showScrollbar:!1,itemResizable:!0},{default:({item:e})=>g(e)}):lE(this.$slots.empty,(()=>[Jr(CK,{class:`${o}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]))}})}const{internalScrollable:b}=this;return v.push(this.themeClass),null===(e=this.onRender)||void 0===e||e.call(this),b?Jr(Uq,Object.assign({},p,{class:v,tabindex:m,onKeydown:f?c:void 0,onFocusout:f?h:void 0,style:this.cssVars,contentStyle:{padding:this.internalScrollablePadding}}),{default:()=>Jr("div",{onDragleave:i?this.handleDragLeaveTree:void 0,ref:"selfElRef"},this.fNodes.map(g))}):Jr("div",{class:v,tabindex:m,ref:"selfElRef",style:this.cssVars,onKeydown:f?c:void 0,onFocusout:f?h:void 0,onDragleave:i?this.handleDragLeaveTree:void 0},t.length?t.map(g):lE(this.$slots.empty,(()=>[Jr(CK,{class:`${o}-tree__empty`,theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})])))}}),z8=BA([LA("tree-select","\n z-index: auto;\n outline: none;\n width: 100%;\n position: relative;\n "),LA("tree-select-menu","\n position: relative;\n overflow: hidden;\n margin: 4px 0;\n transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier);\n border-radius: var(--n-menu-border-radius);\n box-shadow: var(--n-menu-box-shadow);\n background-color: var(--n-menu-color);\n outline: none;\n ",[LA("tree","max-height: var(--n-menu-height);"),jA("empty","\n display: flex;\n padding: 12px 32px;\n flex: 1;\n justify-content: center;\n "),jA("header","\n padding: var(--n-header-padding);\n transition: \n color .3s var(--n-bezier);\n border-color .3s var(--n-bezier);\n border-bottom: 1px solid var(--n-header-divider-color);\n color: var(--n-header-text-color);\n "),jA("action","\n padding: var(--n-action-padding);\n transition: \n color .3s var(--n-bezier);\n border-color .3s var(--n-bezier);\n border-top: 1px solid var(--n-action-divider-color);\n color: var(--n-action-text-color);\n "),MK()])]);function M8(e,t){const{rawNode:n}=e;return Object.assign(Object.assign({},n),{label:n[t],value:e.key})}function $8(e,t,n,o){const{rawNode:r}=e;return Object.assign(Object.assign({},r),{value:e.key,label:t.map((e=>e.rawNode[o])).join(n)})}const A8=$n({name:"TreeSelect",props:Object.assign(Object.assign(Object.assign(Object.assign({},HW.props),{bordered:{type:Boolean,default:!0},cascade:Boolean,checkable:Boolean,clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},consistentMenuWidth:{type:Boolean,default:!0},defaultShow:Boolean,defaultValue:{type:[String,Number,Array],default:null},disabled:{type:Boolean,default:void 0},filterable:Boolean,checkStrategy:{type:String,default:"all"},loading:Boolean,maxTagCount:[String,Number],multiple:Boolean,showPath:Boolean,separator:{type:String,default:" / "},options:{type:Array,default:()=>[]},placeholder:String,placement:{type:String,default:"bottom-start"},show:{type:Boolean,default:void 0},size:String,value:[String,Number,Array],to:ID.propTo,menuProps:Object,virtualScroll:{type:Boolean,default:!0},status:String,renderTag:Function,ellipsisTagPopoverProps:Object}),R8),{renderLabel:Function,renderPrefix:Function,renderSuffix:Function,nodeProps:Function,watchProps:Array,getChildren:Function,onBlur:Function,onFocus:Function,onLoad:Function,onUpdateShow:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],"onUpdate:show":[Function,Array],leafOnly:Boolean}),slots:Object,setup(e){const t=vt(null),n=vt(null),o=vt(null),r=vt(null),{mergedClsPrefixRef:a,namespaceRef:i,inlineThemeDisabled:l}=fE(e),{localeRef:s}=AW("Select"),{mergedSizeRef:d,mergedDisabledRef:c,mergedStatusRef:u,nTriggerFormBlur:h,nTriggerFormChange:p,nTriggerFormFocus:f,nTriggerFormInput:m}=bE(e),v=vt(e.defaultValue),g=xD(Ft(e,"value"),v),b=vt(e.defaultShow),y=xD(Ft(e,"show"),b),_=vt(""),x=Qr((()=>{const{filter:t}=e;if(t)return t;const{labelField:n}=e;return(e,t)=>!e.length||t[n].toLowerCase().includes(e.toLowerCase())})),C=Qr((()=>vK(e.options,T8(e.keyField,e.childrenField,e.disabledField,void 0)))),{value:w}=g,S=vt(e.checkable?null:Array.isArray(w)&&w.length?w[w.length-1]:null),k=Qr((()=>e.multiple&&e.cascade&&e.checkable)),P=vt(e.defaultExpandAll?void 0:e.defaultExpandedKeys||e.expandedKeys),T=xD(Ft(e,"expandedKeys"),P),R=vt(!1),F=Qr((()=>{const{placeholder:t}=e;return void 0!==t?t:s.value.placeholder})),z=Qr((()=>{const{value:t}=g;return e.multiple?Array.isArray(t)?t:[]:null===t||Array.isArray(t)?[]:[t]})),M=Qr((()=>e.checkable?[]:z.value)),$=Qr((()=>{const{multiple:t,showPath:n,separator:o,labelField:r}=e;if(t)return null;const{value:a}=g;if(!Array.isArray(a)&&null!==a){const{value:e}=C,t=e.getNode(a);if(null!==t)return n?$8(t,e.getPath(a).treeNodePath,o,r):M8(t,r)}return null})),A=Qr((()=>{const{multiple:t,showPath:n,separator:o}=e;if(!t)return null;const{value:r}=g;if(Array.isArray(r)){const t=[],{value:a}=C,{checkedKeys:i}=a.getCheckedKeys(r,{checkStrategy:e.checkStrategy,cascade:k.value,allowNotLoaded:e.allowCheckingNotLoaded}),{labelField:l}=e;return i.forEach((e=>{const r=a.getNode(e);null!==r&&t.push(n?$8(r,a.getPath(e).treeNodePath,o,l):M8(r,l))})),t}return[]}));function O(){var e;null===(e=n.value)||void 0===e||e.focus()}function D(){var e;null===(e=n.value)||void 0===e||e.focusInput()}function I(t){const{onUpdateShow:n,"onUpdate:show":o}=e;n&&GB(n,t),o&&GB(o,t),b.value=t}function B(t,n,o){const{onUpdateValue:r,"onUpdate:value":a}=e;r&&GB(r,t,n,o),a&&GB(a,t,n,o),v.value=t,m(),p()}function E(t){const{onFocus:n}=e;n&&n(t),f()}function L(t){j();const{onBlur:n}=e;n&&n(t),h()}function j(){I(!1)}function N(){c.value||(_.value="",I(!0),e.filterable&&D())}function H(e){const{value:{getNode:t}}=C;return e.map((e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.rawNode)||null}))}function W(e){const{value:t}=o;return t?t.handleKeydown(e):{enterBehavior:null}}const V=Qr((()=>{const{renderTag:t}=e;if(t)return function({option:e,handleClose:n}){const{value:o}=e;if(void 0!==o){const e=C.value.getNode(o);if(e)return t({option:e.rawNode,handleClose:n})}return o}}));function U(){var e;y.value&&(null===(e=t.value)||void 0===e||e.syncPosition())}To(h8,{pendingNodeKeyRef:S,dataTreeMate:C}),DB(r,U);const q=b8(e),K=Qr((()=>{if(e.checkable){const t=g.value;return e.multiple&&Array.isArray(t)?C.value.getCheckedKeys(t,{cascade:e.cascade,checkStrategy:q.value,allowNotLoaded:e.allowCheckingNotLoaded}):{checkedKeys:Array.isArray(t)||null===t?[]:[t],indeterminateKeys:[]}}return{checkedKeys:[],indeterminateKeys:[]}})),Y={getCheckedData:()=>{const{checkedKeys:e}=K.value;return{keys:e,options:H(e)}},getIndeterminateData:()=>{const{indeterminateKeys:e}=K.value;return{keys:e,options:H(e)}},focus:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.focus()},focusInput:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.focusInput()},blur:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.blur()},blurInput:()=>{var e;return null===(e=n.value)||void 0===e?void 0:e.blurInput()}},G=HW("TreeSelect","-tree-select",z8,e3,e,a),X=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{menuBoxShadow:t,menuBorderRadius:n,menuColor:o,menuHeight:r,actionPadding:a,actionDividerColor:i,actionTextColor:l,headerDividerColor:s,headerPadding:d,headerTextColor:c}}=G.value;return{"--n-menu-box-shadow":t,"--n-menu-border-radius":n,"--n-menu-color":o,"--n-menu-height":r,"--n-bezier":e,"--n-action-padding":a,"--n-action-text-color":l,"--n-action-divider-color":i,"--n-header-padding":d,"--n-header-text-color":c,"--n-header-divider-color":s}})),Z=l?vE("tree-select",void 0,X,e):void 0,Q=Qr((()=>{const{self:{menuPadding:e}}=G.value;return e}));return Object.assign(Object.assign({},Y),{menuElRef:r,mergedStatus:u,triggerInstRef:n,followerInstRef:t,treeInstRef:o,mergedClsPrefix:a,mergedValue:g,mergedShow:y,namespace:i,adjustedTo:ID(e),isMounted:CD(),focused:R,menuPadding:Q,mergedPlaceholder:F,mergedExpandedKeys:T,treeSelectedKeys:M,treeCheckedKeys:z,mergedSize:d,mergedDisabled:c,selectedOption:$,selectedOptions:A,pattern:_,pendingNodeKey:S,mergedCascade:k,mergedFilter:x,selectionRenderTag:V,handleTriggerOrMenuResize:U,doUpdateExpandedKeys:function(t,n,o){const{onUpdateExpandedKeys:r,"onUpdate:expandedKeys":a}=e;r&&GB(r,t,n,o),a&&GB(a,t,n,o),P.value=t},handleMenuLeave:function(){_.value=""},handleTriggerClick:function(){c.value||(y.value?e.filterable||j():N())},handleMenuClickoutside:function(e){var t;y.value&&((null===(t=n.value)||void 0===t?void 0:t.$el.contains(JA(e)))||j())},handleUpdateCheckedKeys:function(t,n,o){const r=H(t),a="check"===o.action?"select":"unselect",i=o.node;e.multiple?(B(t,r,{node:i,action:a}),e.filterable&&(D(),e.clearFilterAfterSelect&&(_.value=""))):(t.length?B(t[0],r[0]||null,{node:i,action:a}):B(null,null,{node:i,action:a}),j(),O())},handleUpdateIndeterminateKeys:function(t){e.checkable&&function(t,n){const{onUpdateIndeterminateKeys:o,"onUpdate:indeterminateKeys":r}=e;o&&GB(o,t,n),r&&GB(r,t,n)}(t,H(t))},handleTriggerFocus:function(e){var t;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(R.value=!0,E(e))},handleTriggerBlur:function(e){var t;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(R.value=!1,L(e))},handleMenuFocusin:function(e){var t,o,a;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(null===(a=null===(o=n.value)||void 0===o?void 0:o.$el)||void 0===a?void 0:a.contains(e.relatedTarget))||(R.value=!0,E(e))},handleMenuFocusout:function(e){var t,o,a;(null===(t=r.value)||void 0===t?void 0:t.contains(e.relatedTarget))||(null===(a=null===(o=n.value)||void 0===o?void 0:o.$el)||void 0===a?void 0:a.contains(e.relatedTarget))||(R.value=!1,L(e))},handleClear:function(t){t.stopPropagation();const{multiple:n}=e;!n&&e.filterable&&j(),n?B([],[],{node:null,action:"clear"}):B(null,null,{node:null,action:"clear"})},handleDeleteOption:function(t){const{value:n}=g;if(Array.isArray(n)){const{value:o}=C,{checkedKeys:r}=o.getCheckedKeys(n,{cascade:k.value,allowNotLoaded:e.allowCheckingNotLoaded}),a=r.findIndex((e=>e===t.value));if(~a){const n=H([r[a]])[0];if(e.checkable){const{checkedKeys:a}=o.uncheck(t.value,r,{checkStrategy:e.checkStrategy,cascade:k.value,allowNotLoaded:e.allowCheckingNotLoaded});B(a,H(a),{node:n,action:"delete"})}else{const e=Array.from(r);e.splice(a,1),B(e,H(e),{node:n,action:"delete"})}}}},handlePatternInput:function(e){const{value:t}=e.target;_.value=t},handleKeydown:function(t){if("Enter"===t.key){if(y.value){const{enterBehavior:n}=W(t);if(!e.multiple)switch(n){case"default":case"toggleSelect":j(),O()}}else N();t.preventDefault()}else"Escape"===t.key?y.value&&(VB(t),j(),O()):y.value?W(t):"ArrowDown"===t.key&&N()},handleTabOut:function(){j(),O()},handleMenuMousedown:function(e){QA(e,"action")||QA(e,"header")||e.preventDefault()},mergedTheme:G,cssVars:l?void 0:X,themeClass:null==Z?void 0:Z.themeClass,onRender:null==Z?void 0:Z.onRender})},render(){const{mergedTheme:e,mergedClsPrefix:t,$slots:n}=this;return Jr("div",{class:`${t}-tree-select`},Jr(oI,null,{default:()=>[Jr(rI,null,{default:()=>Jr(cY,{ref:"triggerInstRef",onResize:this.handleTriggerOrMenuResize,status:this.mergedStatus,focused:this.focused,clsPrefix:t,theme:e.peers.InternalSelection,themeOverrides:e.peerOverrides.InternalSelection,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,renderTag:this.selectionRenderTag,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,size:this.mergedSize,bordered:this.bordered,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,active:this.mergedShow,loading:this.loading,multiple:this.multiple,maxTagCount:this.maxTagCount,showArrow:!0,filterable:this.filterable,clearable:this.clearable,pattern:this.pattern,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onClick:this.handleTriggerClick,onFocus:this.handleTriggerFocus,onBlur:this.handleTriggerBlur,onDeleteOption:this.handleDeleteOption,onKeydown:this.handleKeydown},{arrow:()=>{var e,t;return[null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e)]}})}),Jr(FI,{ref:"followerInstRef",show:this.mergedShow,placement:this.placement,to:this.adjustedTo,teleportDisabled:this.adjustedTo===ID.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target"},{default:()=>Jr(ha,{name:"fade-in-scale-up-transition",appear:this.isMounted,onLeave:this.handleMenuLeave},{default:()=>{var t;if(!this.mergedShow)return null;const{mergedClsPrefix:o,checkable:r,multiple:a,menuProps:i,options:l}=this;return null===(t=this.onRender)||void 0===t||t.call(this),on(Jr("div",Object.assign({},i,{class:[`${o}-tree-select-menu`,null==i?void 0:i.class,this.themeClass],ref:"menuElRef",style:[(null==i?void 0:i.style)||"",this.cssVars],tabindex:0,onMousedown:this.handleMenuMousedown,onKeydown:this.handleKeydown,onFocusin:this.handleMenuFocusin,onFocusout:this.handleMenuFocusout}),dE(n.header,(e=>e?Jr("div",{class:`${o}-tree-select-menu__header`,"data-header":!0},e):null)),Jr(F8,{ref:"treeInstRef",blockLine:!0,allowCheckingNotLoaded:this.allowCheckingNotLoaded,showIrrelevantNodes:!1,animated:!1,pattern:this.pattern,getChildren:this.getChildren,filter:this.mergedFilter,data:l,cancelable:a,labelField:this.labelField,keyField:this.keyField,disabledField:this.disabledField,childrenField:this.childrenField,theme:e.peers.Tree,themeOverrides:e.peerOverrides.Tree,defaultExpandAll:this.defaultExpandAll,defaultExpandedKeys:this.defaultExpandedKeys,expandedKeys:this.mergedExpandedKeys,checkedKeys:this.treeCheckedKeys,selectedKeys:this.treeSelectedKeys,checkable:r,checkStrategy:this.checkStrategy,cascade:this.mergedCascade,leafOnly:this.leafOnly,multiple:this.multiple,renderLabel:this.renderLabel,renderPrefix:this.renderPrefix,renderSuffix:this.renderSuffix,renderSwitcherIcon:this.renderSwitcherIcon,nodeProps:this.nodeProps,watchProps:this.watchProps,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,overrideDefaultNodeClickBehavior:this.overrideDefaultNodeClickBehavior,internalTreeSelect:!0,internalUnifySelectCheck:!0,internalScrollable:!0,internalScrollablePadding:this.menuPadding,internalFocusable:!1,internalCheckboxFocusable:!1,internalRenderEmpty:()=>Jr("div",{class:`${o}-tree-select-menu__empty`},lE(n.empty,(()=>[Jr(CK,{theme:e.peers.Empty,themeOverrides:e.peerOverrides.Empty})]))),onLoad:this.onLoad,onUpdateCheckedKeys:this.handleUpdateCheckedKeys,onUpdateIndeterminateKeys:this.handleUpdateIndeterminateKeys,onUpdateExpandedKeys:this.doUpdateExpandedKeys}),dE(n.action,(e=>e?Jr("div",{class:`${o}-tree-select-menu__action`,"data-action":!0},e):null)),Jr(BV,{onFocus:this.handleTabOut})),[[sI,this.handleMenuClickoutside,void 0,{capture:!0}]])}})})]}))}}),O8="n-upload",D8=BA([LA("upload","width: 100%;",[NA("dragger-inside",[LA("upload-trigger","\n display: block;\n ")]),NA("drag-over",[LA("upload-dragger","\n border: var(--n-dragger-border-hover);\n ")])]),LA("upload-dragger","\n cursor: pointer;\n box-sizing: border-box;\n width: 100%;\n text-align: center;\n border-radius: var(--n-border-radius);\n padding: 24px;\n opacity: 1;\n transition:\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier),\n background-color .3s var(--n-bezier);\n background-color: var(--n-dragger-color);\n border: var(--n-dragger-border);\n ",[BA("&:hover","\n border: var(--n-dragger-border-hover);\n "),NA("disabled","\n cursor: not-allowed;\n ")]),LA("upload-trigger","\n display: inline-block;\n box-sizing: border-box;\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n ",[BA("+",[LA("upload-file-list","margin-top: 8px;")]),NA("disabled","\n opacity: var(--n-item-disabled-opacity);\n cursor: not-allowed;\n "),NA("image-card","\n width: 96px;\n height: 96px;\n ",[LA("base-icon","\n font-size: 24px;\n "),LA("upload-dragger","\n padding: 0;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n ")])]),LA("upload-file-list","\n line-height: var(--n-line-height);\n opacity: 1;\n transition: opacity .3s var(--n-bezier);\n ",[BA("a, img","outline: none;"),NA("disabled","\n opacity: var(--n-item-disabled-opacity);\n cursor: not-allowed;\n ",[LA("upload-file","cursor: not-allowed;")]),NA("grid","\n display: grid;\n grid-template-columns: repeat(auto-fill, 96px);\n grid-gap: 8px;\n margin-top: 0;\n "),LA("upload-file","\n display: block;\n box-sizing: border-box;\n cursor: default;\n padding: 0px 12px 0 6px;\n transition: background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n ",[xY(),LA("progress",[xY({foldPadding:!0})]),BA("&:hover","\n background-color: var(--n-item-color-hover);\n ",[LA("upload-file-info",[jA("action","\n opacity: 1;\n ")])]),NA("image-type","\n border-radius: var(--n-border-radius);\n text-decoration: underline;\n text-decoration-color: #0000;\n ",[LA("upload-file-info","\n padding-top: 0px;\n padding-bottom: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 6px 0;\n ",[LA("progress","\n padding: 2px 0;\n margin-bottom: 0;\n "),jA("name","\n padding: 0 8px;\n "),jA("thumbnail","\n width: 32px;\n height: 32px;\n font-size: 28px;\n display: flex;\n justify-content: center;\n align-items: center;\n ",[BA("img","\n width: 100%;\n ")])])]),NA("text-type",[LA("progress","\n box-sizing: border-box;\n padding-bottom: 6px;\n margin-bottom: 6px;\n ")]),NA("image-card-type","\n position: relative;\n width: 96px;\n height: 96px;\n border: var(--n-item-border-image-card);\n border-radius: var(--n-border-radius);\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: border-color .3s var(--n-bezier), background-color .3s var(--n-bezier);\n border-radius: var(--n-border-radius);\n overflow: hidden;\n ",[LA("progress","\n position: absolute;\n left: 8px;\n bottom: 8px;\n right: 8px;\n width: unset;\n "),LA("upload-file-info","\n padding: 0;\n width: 100%;\n height: 100%;\n ",[jA("thumbnail","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: 36px;\n ",[BA("img","\n width: 100%;\n ")])]),BA("&::before",'\n position: absolute;\n z-index: 1;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n opacity: 0;\n transition: opacity .2s var(--n-bezier);\n content: "";\n '),BA("&:hover",[BA("&::before","opacity: 1;"),LA("upload-file-info",[jA("thumbnail","opacity: .12;")])])]),NA("error-status",[BA("&:hover","\n background-color: var(--n-item-color-hover-error);\n "),LA("upload-file-info",[jA("name","color: var(--n-item-text-color-error);"),jA("thumbnail","color: var(--n-item-text-color-error);")]),NA("image-card-type","\n border: var(--n-item-border-image-card-error);\n ")]),NA("with-url","\n cursor: pointer;\n ",[LA("upload-file-info",[jA("name","\n color: var(--n-item-text-color-success);\n text-decoration-color: var(--n-item-text-color-success);\n ",[BA("a","\n text-decoration: underline;\n ")])])]),LA("upload-file-info","\n position: relative;\n padding-top: 6px;\n padding-bottom: 6px;\n display: flex;\n flex-wrap: nowrap;\n ",[jA("thumbnail","\n font-size: 18px;\n opacity: 1;\n transition: opacity .2s var(--n-bezier);\n color: var(--n-item-icon-color);\n ",[LA("base-icon","\n margin-right: 2px;\n vertical-align: middle;\n transition: color .3s var(--n-bezier);\n ")]),jA("action","\n padding-top: inherit;\n padding-bottom: inherit;\n position: absolute;\n right: 0;\n top: 0;\n bottom: 0;\n width: 80px;\n display: flex;\n align-items: center;\n transition: opacity .2s var(--n-bezier);\n justify-content: flex-end;\n opacity: 0;\n ",[LA("button",[BA("&:not(:last-child)",{marginRight:"4px"}),LA("base-icon",[BA("svg",[MV()])])]),NA("image-type","\n position: relative;\n max-width: 80px;\n width: auto;\n "),NA("image-card-type","\n z-index: 2;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n ")]),jA("name","\n color: var(--n-item-text-color);\n flex: 1;\n display: flex;\n justify-content: center;\n text-overflow: ellipsis;\n overflow: hidden;\n flex-direction: column;\n text-decoration-color: #0000;\n font-size: var(--n-font-size);\n transition:\n color .3s var(--n-bezier),\n text-decoration-color .3s var(--n-bezier); \n ",[BA("a","\n color: inherit;\n text-decoration: underline;\n ")])])])]),LA("upload-file-input","\n display: none;\n width: 0;\n height: 0;\n opacity: 0;\n ")]),I8="__UPLOAD_DRAGGER__",B8=$n({name:"UploadDragger",[I8]:!0,setup(e,{slots:t}){const n=Ro(O8,null);return n||YB("upload-dragger","`n-upload-dragger` must be placed inside `n-upload`."),()=>{const{mergedClsPrefixRef:{value:e},mergedDisabledRef:{value:o},maxReachedRef:{value:r}}=n;return Jr("div",{class:[`${e}-upload-dragger`,(o||r)&&`${e}-upload-dragger--disabled`]},t)}}}),E8=Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},Jr("g",{fill:"none"},Jr("path",{d:"M21.75 3A3.25 3.25 0 0 1 25 6.25v15.5A3.25 3.25 0 0 1 21.75 25H6.25A3.25 3.25 0 0 1 3 21.75V6.25A3.25 3.25 0 0 1 6.25 3h15.5zm.583 20.4l-7.807-7.68a.75.75 0 0 0-.968-.07l-.084.07l-7.808 7.68c.183.065.38.1.584.1h15.5c.204 0 .4-.035.583-.1l-7.807-7.68l7.807 7.68zM21.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v15.5c0 .208.036.408.103.593l7.82-7.692a2.25 2.25 0 0 1 3.026-.117l.129.117l7.82 7.692c.066-.185.102-.385.102-.593V6.25a1.75 1.75 0 0 0-1.75-1.75zm-3.25 3a2.5 2.5 0 1 1 0 5a2.5 2.5 0 0 1 0-5zm0 1.5a1 1 0 1 0 0 2a1 1 0 0 0 0-2z",fill:"currentColor"}))),L8=Jr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28"},Jr("g",{fill:"none"},Jr("path",{d:"M6.4 2A2.4 2.4 0 0 0 4 4.4v19.2A2.4 2.4 0 0 0 6.4 26h15.2a2.4 2.4 0 0 0 2.4-2.4V11.578c0-.729-.29-1.428-.805-1.944l-6.931-6.931A2.4 2.4 0 0 0 14.567 2H6.4zm-.9 2.4a.9.9 0 0 1 .9-.9H14V10a2 2 0 0 0 2 2h6.5v11.6a.9.9 0 0 1-.9.9H6.4a.9.9 0 0 1-.9-.9V4.4zm16.44 6.1H16a.5.5 0 0 1-.5-.5V4.06l6.44 6.44z",fill:"currentColor"}))),j8=$n({name:"UploadProgress",props:{show:Boolean,percentage:{type:Number,required:!0},status:{type:String,required:!0}},setup:()=>({mergedTheme:Ro(O8).mergedThemeRef}),render(){return Jr(IV,null,{default:()=>this.show?Jr(H6,{type:"line",showIndicator:!1,percentage:this.percentage,status:this.status,height:2,theme:this.mergedTheme.peers.Progress,themeOverrides:this.mergedTheme.peerOverrides.Progress}):null})}});var N8=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};function H8(e){return e.includes("image/")}function W8(e=""){const t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]}const V8=/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i,U8=e=>{if(e.type)return H8(e.type);const t=W8(e.name||"");if(V8.test(t))return!0;const n=e.thumbnailUrl||e.url||"",o=W8(n);return!(!/^data:image\//.test(n)&&!V8.test(o))};const q8=ED&&window.FileReader&&window.File;function K8(e){return e.isFile}function Y8(e){const{id:t,name:n,percentage:o,status:r,url:a,file:i,thumbnailUrl:l,type:s,fullPath:d,batchId:c}=e;return{id:t,name:n,percentage:null!=o?o:null,status:r,url:null!=a?a:null,file:null!=i?i:null,thumbnailUrl:null!=l?l:null,type:null!=s?s:null,fullPath:null!=d?d:null,batchId:null!=c?c:null}}var G8=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};const X8={paddingMedium:"0 3px",heightMedium:"24px",iconSizeMedium:"18px"},Z8=$n({name:"UploadFile",props:{clsPrefix:{type:String,required:!0},file:{type:Object,required:!0},listType:{type:String,required:!0},index:{type:Number,required:!0}},setup(e){const t=Ro(O8),n=vt(null),o=vt(""),r=Qr((()=>{const{file:t}=e;return"finished"===t.status?"success":"error"===t.status?"error":"info"})),a=Qr((()=>{const{file:t}=e;if("error"===t.status)return"error"})),i=Qr((()=>{const{file:t}=e;return"uploading"===t.status})),l=Qr((()=>{if(!t.showCancelButtonRef.value)return!1;const{file:n}=e;return["uploading","pending","error"].includes(n.status)})),s=Qr((()=>{if(!t.showRemoveButtonRef.value)return!1;const{file:n}=e;return["finished"].includes(n.status)})),d=Qr((()=>{if(!t.showDownloadButtonRef.value)return!1;const{file:n}=e;return["finished"].includes(n.status)})),c=Qr((()=>{if(!t.showRetryButtonRef.value)return!1;const{file:n}=e;return["error"].includes(n.status)})),u=oD((()=>o.value||e.file.thumbnailUrl||e.file.url)),h=Qr((()=>{if(!t.showPreviewButtonRef.value)return!1;const{file:{status:n},listType:o}=e;return["finished"].includes(n)&&u.value&&"image-card"===o}));function p(n){const{xhrMap:o,doChange:r,onRemoveRef:{value:a},mergedFileListRef:{value:i}}=t;Promise.resolve(!a||a({file:Object.assign({},n),fileList:i,index:e.index})).then((e=>{if(!1===e)return;const t=Object.assign({},n,{status:"removed"});o.delete(n.id),r(t,void 0,{remove:!0})}))}const f=()=>G8(this,void 0,void 0,(function*(){const{listType:n}=e;"image"!==n&&"image-card"!==n||t.shouldUseThumbnailUrlRef.value(e.file)&&(o.value=yield t.getFileThumbnailUrlResolver(e.file))}));return Jo((()=>{f()})),{mergedTheme:t.mergedThemeRef,progressStatus:r,buttonType:a,showProgress:i,disabled:t.mergedDisabledRef,showCancelButton:l,showRemoveButton:s,showDownloadButton:d,showRetryButton:c,showPreviewButton:h,mergedThumbnailUrl:u,shouldUseThumbnailUrl:t.shouldUseThumbnailUrlRef,renderIcon:t.renderIconRef,imageRef:n,handleRemoveOrCancelClick:function(n){n.preventDefault();const{file:o}=e;["finished","pending","error"].includes(o.status)?p(o):["uploading"].includes(o.status)&&function(e){const{xhrMap:n}=t,o=n.get(e.id);null==o||o.abort(),p(Object.assign({},e))}(o)},handleDownloadClick:function(n){n.preventDefault(),function(e){const{onDownloadRef:{value:n}}=t;Promise.resolve(!n||n(Object.assign({},e))).then((t=>{!1!==t&&NB(e.url,e.name)}))}(e.file)},handleRetryClick:function(){return G8(this,void 0,void 0,(function*(){const n=t.onRetryRef.value;if(n){if(!1===(yield n({file:e.file})))return}t.submit(e.file.id)}))},handlePreviewClick:function(o){const{onPreviewRef:{value:r}}=t;if(r)r(e.file,{event:o});else if("image-card"===e.listType){const{value:e}=n;if(!e)return;e.click()}}}},render(){const{clsPrefix:e,mergedTheme:t,listType:n,file:o,renderIcon:r}=this;let a;const i="image"===n;a=i||"image-card"===n?this.shouldUseThumbnailUrl(o)&&this.mergedThumbnailUrl?Jr("a",{rel:"noopener noreferer",target:"_blank",href:o.url||void 0,class:`${e}-upload-file-info__thumbnail`,onClick:this.handlePreviewClick},"image-card"===n?Jr(_6,{src:this.mergedThumbnailUrl||void 0,previewSrc:o.url||void 0,alt:o.name,ref:"imageRef"}):Jr("img",{src:this.mergedThumbnailUrl||void 0,alt:o.name})):Jr("span",{class:`${e}-upload-file-info__thumbnail`},r?r(o):U8(o)?Jr(VW,{clsPrefix:e},{default:E8}):Jr(VW,{clsPrefix:e},{default:L8})):Jr("span",{class:`${e}-upload-file-info__thumbnail`},r?r(o):Jr(VW,{clsPrefix:e},{default:()=>Jr(XW,null)}));const l=Jr(j8,{show:this.showProgress,percentage:o.percentage||0,status:this.progressStatus}),s="text"===n||"image"===n;return Jr("div",{class:[`${e}-upload-file`,`${e}-upload-file--${this.progressStatus}-status`,o.url&&"error"!==o.status&&"image-card"!==n&&`${e}-upload-file--with-url`,`${e}-upload-file--${n}-type`]},Jr("div",{class:`${e}-upload-file-info`},a,Jr("div",{class:`${e}-upload-file-info__name`},s&&(o.url&&"error"!==o.status?Jr("a",{rel:"noopener noreferer",target:"_blank",href:o.url||void 0,onClick:this.handlePreviewClick},o.name):Jr("span",{onClick:this.handlePreviewClick},o.name)),i&&l),Jr("div",{class:[`${e}-upload-file-info__action`,`${e}-upload-file-info__action--${n}-type`]},this.showPreviewButton?Jr(SG,{key:"preview",quaternary:!0,type:this.buttonType,onClick:this.handlePreviewClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:X8},{icon:()=>Jr(VW,{clsPrefix:e},{default:()=>Jr(sV,null)})}):null,(this.showRemoveButton||this.showCancelButton)&&!this.disabled&&Jr(SG,{key:"cancelOrTrash",theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,quaternary:!0,builtinThemeOverrides:X8,type:this.buttonType,onClick:this.handleRemoveOrCancelClick},{icon:()=>Jr(UW,null,{default:()=>this.showRemoveButton?Jr(VW,{clsPrefix:e,key:"trash"},{default:()=>Jr(PV,null)}):Jr(VW,{clsPrefix:e,key:"cancel"},{default:()=>Jr(QW,null)})})}),this.showRetryButton&&!this.disabled&&Jr(SG,{key:"retry",quaternary:!0,type:this.buttonType,onClick:this.handleRetryClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:X8},{icon:()=>Jr(VW,{clsPrefix:e},{default:()=>Jr(bV,null)})}),this.showDownloadButton?Jr(SG,{key:"download",quaternary:!0,type:this.buttonType,onClick:this.handleDownloadClick,theme:t.peers.Button,themeOverrides:t.peerOverrides.Button,builtinThemeOverrides:X8},{icon:()=>Jr(VW,{clsPrefix:e},{default:()=>Jr(aV,null)})}):null)),!i&&l)}}),Q8=$n({name:"UploadTrigger",props:{abstract:Boolean},slots:Object,setup(e,{slots:t}){const n=Ro(O8,null);n||YB("upload-trigger","`n-upload-trigger` must be placed inside `n-upload`.");const{mergedClsPrefixRef:o,mergedDisabledRef:r,maxReachedRef:a,listTypeRef:i,dragOverRef:l,openOpenFileDialog:s,draggerInsideRef:d,handleFileAddition:c,mergedDirectoryDndRef:u,triggerClassRef:h,triggerStyleRef:p}=n,f=Qr((()=>"image-card"===i.value));function m(){r.value||a.value||s()}function v(e){e.preventDefault(),l.value=!0}function g(e){e.preventDefault(),l.value=!0}function b(e){e.preventDefault(),l.value=!1}function y(e){var t;if(e.preventDefault(),!d.value||r.value||a.value)return void(l.value=!1);const n=null===(t=e.dataTransfer)||void 0===t?void 0:t.items;(null==n?void 0:n.length)?function(t,n){return N8(this,void 0,void 0,(function*(){const o=[];return yield function t(r){return N8(this,void 0,void 0,(function*(){for(const a of r)if(a)if(n&&a.isDirectory){const n=a.createReader();let o,r=[];try{do{o=yield new Promise(((e,t)=>{n.readEntries(e,t)})),r=r.concat(o)}while(o.length>0)}catch(e){}yield t(r)}else if(K8(a))try{const e=yield new Promise(((e,t)=>{a.file(e,t)}));o.push({file:e,entry:a,source:"dnd"})}catch(e){}}))}(t),o}))}(Array.from(n).map((e=>e.webkitGetAsEntry())),u.value).then((e=>{c(e)})).finally((()=>{l.value=!1})):l.value=!1}return()=>{var n;const{value:i}=o;return e.abstract?null===(n=t.default)||void 0===n?void 0:n.call(t,{handleClick:m,handleDrop:y,handleDragOver:v,handleDragEnter:g,handleDragLeave:b}):Jr("div",{class:[`${i}-upload-trigger`,(r.value||a.value)&&`${i}-upload-trigger--disabled`,f.value&&`${i}-upload-trigger--image-card`,h.value],style:p.value,onClick:m,onDrop:y,onDragover:v,onDragenter:g,onDragleave:b},f.value?Jr(B8,null,{default:()=>lE(t.default,(()=>[Jr(VW,{clsPrefix:i},{default:()=>Jr(qW,null)})]))}):t)}}}),J8=$n({name:"UploadFileList",setup(e,{slots:t}){const n=Ro(O8,null);n||YB("upload-file-list","`n-upload-file-list` must be placed inside `n-upload`.");const{abstractRef:o,mergedClsPrefixRef:r,listTypeRef:a,mergedFileListRef:i,fileListClassRef:l,fileListStyleRef:s,cssVarsRef:d,themeClassRef:c,maxReachedRef:u,showTriggerRef:h,imageGroupPropsRef:p}=n,f=Qr((()=>"image-card"===a.value)),m=()=>i.value.map(((e,t)=>Jr(Z8,{clsPrefix:r.value,key:e.id,file:e,index:t,listType:a.value})));return()=>{const{value:e}=r,{value:n}=o;return Jr("div",{class:[`${e}-upload-file-list`,f.value&&`${e}-upload-file-list--grid`,n?null==c?void 0:c.value:void 0,l.value],style:[n&&d?d.value:"",s.value]},f.value?Jr(y6,Object.assign({},p.value),{default:m}):Jr(IV,{group:!0},{default:m}),h.value&&!u.value&&f.value&&Jr(Q8,null,t))}}});var e9=function(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{s(o.next(e))}catch(Nte){a(Nte)}}function l(e){try{s(o.throw(e))}catch(Nte){a(Nte)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((o=o.apply(e,t||[])).next())}))};function t9(e,t,n){const o=function(e,t,n){const{doChange:o,xhrMap:r}=e;let a=0;function i(n){var i;let l=Object.assign({},t,{status:"error",percentage:a});r.delete(t.id),l=Y8((null===(i=e.onError)||void 0===i?void 0:i.call(e,{file:l,event:n}))||l),o(l,n)}return{handleXHRLoad:function(l){var s;if(e.isErrorState){if(e.isErrorState(n))return void i(l)}else if(n.status<200||n.status>=300)return void i(l);let d=Object.assign({},t,{status:"finished",percentage:a});r.delete(t.id),d=Y8((null===(s=e.onFinish)||void 0===s?void 0:s.call(e,{file:d,event:l}))||d),o(d,l)},handleXHRError:i,handleXHRAbort(e){const n=Object.assign({},t,{status:"removed",file:null,percentage:a});r.delete(t.id),o(n,e)},handleXHRProgress(e){const n=Object.assign({},t,{status:"uploading"});if(e.lengthComputable){const t=Math.ceil(e.loaded/e.total*100);n.percentage=t,a=t}o(n,e)}}}(e,t,n);n.onabort=o.handleXHRAbort,n.onerror=o.handleXHRError,n.onload=o.handleXHRLoad,n.upload&&(n.upload.onprogress=o.handleXHRProgress)}function n9(e,t){return"function"==typeof e?e({file:t}):e||{}}function o9(e,t,n,{method:o,action:r,withCredentials:a,responseType:i,headers:l,data:s}){const d=new XMLHttpRequest;d.responseType=i,e.xhrMap.set(n.id,d),d.withCredentials=a;const c=new FormData;if(function(e,t,n){const o=n9(t,n);o&&Object.keys(o).forEach((t=>{e.append(t,o[t])}))}(c,s,n),null!==n.file&&c.append(t,n.file),t9(e,n,d),void 0!==r){d.open(o.toUpperCase(),r),function(e,t,n){const o=n9(t,n);o&&Object.keys(o).forEach((t=>{e.setRequestHeader(t,o[t])}))}(d,l,n),d.send(c);const t=Object.assign({},n,{status:"uploading"});e.doChange(t)}}const r9=$n({name:"Upload",props:Object.assign(Object.assign({},HW.props),{name:{type:String,default:"file"},accept:String,action:String,customRequest:Function,directory:Boolean,directoryDnd:{type:Boolean,default:void 0},method:{type:String,default:"POST"},multiple:Boolean,showFileList:{type:Boolean,default:!0},data:[Object,Function],headers:[Object,Function],withCredentials:Boolean,responseType:{type:String,default:""},disabled:{type:Boolean,default:void 0},onChange:Function,onRemove:Function,onFinish:Function,onError:Function,onRetry:Function,onBeforeUpload:Function,isErrorState:Function,onDownload:Function,defaultUpload:{type:Boolean,default:!0},fileList:Array,"onUpdate:fileList":[Function,Array],onUpdateFileList:[Function,Array],fileListClass:String,fileListStyle:[String,Object],defaultFileList:{type:Array,default:()=>[]},showCancelButton:{type:Boolean,default:!0},showRemoveButton:{type:Boolean,default:!0},showDownloadButton:Boolean,showRetryButton:{type:Boolean,default:!0},showPreviewButton:{type:Boolean,default:!0},listType:{type:String,default:"text"},onPreview:Function,shouldUseThumbnailUrl:{type:Function,default:e=>!!q8&&U8(e)},createThumbnailUrl:Function,abstract:Boolean,max:Number,showTrigger:{type:Boolean,default:!0},imageGroupProps:Object,inputProps:Object,triggerClass:String,triggerStyle:[String,Object],renderIcon:Function}),setup(e){e.abstract&&"image-card"===e.listType&&YB("upload","when the list-type is image-card, abstract is not supported.");const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=fE(e),o=HW("Upload","-upload",D8,i3,e,t),r=bE(e),a=vt(e.defaultFileList),i=Ft(e,"fileList"),l=vt(null),s={value:!1},d=vt(!1),c=new Map,u=xD(i,a),h=Qr((()=>u.value.map(Y8))),p=Qr((()=>{const{max:t}=e;return void 0!==t&&h.value.length>=t}));function f(){var e;null===(e=l.value)||void 0===e||e.click()}const m=Qr((()=>e.multiple||e.directory)),v=(t,n,o={append:!1,remove:!1})=>{const{append:r,remove:i}=o,l=Array.from(h.value),s=l.findIndex((e=>e.id===t.id));if(r||i||~s){r?l.push(t):i?l.splice(s,1):l.splice(s,1,t);const{onChange:o}=e;o&&o({file:t,fileList:l,event:n}),function(t){const{"onUpdate:fileList":n,onUpdateFileList:o}=e;n&&GB(n,t),o&&GB(o,t),a.value=t}(l)}};function g(t,n){if(!t||0===t.length)return;const{onBeforeUpload:o}=e;t=m.value?t:[t[0]];const{max:r,accept:a}=e;t=t.filter((({file:e,source:t})=>"dnd"!==t||!(null==a?void 0:a.trim())||function(e,t,n){return e=e.toLowerCase(),t=t.toLocaleLowerCase(),(n=n.toLocaleLowerCase()).split(",").map((e=>e.trim())).filter(Boolean).some((n=>{if(n.startsWith(".")){if(e.endsWith(n))return!0}else{if(!n.includes("/"))return!0;{const[e,o]=t.split("/"),[r,a]=n.split("/");if(("*"===r||e&&r&&r===e)&&("*"===a||o&&a&&a===o))return!0}}return!1}))}(e.name,e.type,a))),r&&(t=t.slice(0,r-h.value.length));const i=GO();Promise.all(t.map((e=>e9(this,[e],void 0,(function*({file:e,entry:t}){var n;const r={id:GO(),batchId:i,name:e.name,status:"pending",percentage:0,file:e,url:null,type:e.type,thumbnailUrl:null,fullPath:null!==(n=null==t?void 0:t.fullPath)&&void 0!==n?n:`/${e.webkitRelativePath||e.name}`};return o&&!1===(yield o({file:r,fileList:h.value}))?null:r}))))).then((e=>e9(this,void 0,void 0,(function*(){let t=Promise.resolve();e.forEach((e=>{t=t.then(Kt).then((()=>{e&&v(e,n,{append:!0})}))})),yield t})))).then((()=>{e.defaultUpload&&b()}))}function b(t){const{method:n,action:o,withCredentials:r,headers:a,data:i,name:l}=e,s=void 0!==t?h.value.filter((e=>e.id===t)):h.value,d=void 0!==t;s.forEach((t=>{const{status:s}=t;("pending"===s||"error"===s&&d)&&(e.customRequest?function(e){const{inst:t,file:n,data:o,headers:r,withCredentials:a,action:i,customRequest:l}=e,{doChange:s}=e.inst;let d=0;l({file:n,data:o,headers:r,withCredentials:a,action:i,onProgress(e){const t=Object.assign({},n,{status:"uploading"}),o=e.percent;t.percentage=o,d=o,s(t)},onFinish(){var e;let o=Object.assign({},n,{status:"finished",percentage:d});o=Y8((null===(e=t.onFinish)||void 0===e?void 0:e.call(t,{file:o}))||o),s(o)},onError(){var e;let o=Object.assign({},n,{status:"error",percentage:d});o=Y8((null===(e=t.onError)||void 0===e?void 0:e.call(t,{file:o}))||o),s(o)}})}({inst:{doChange:v,xhrMap:c,onFinish:e.onFinish,onError:e.onError},file:t,action:o,withCredentials:r,headers:a,data:i,customRequest:e.customRequest}):o9({doChange:v,xhrMap:c,onFinish:e.onFinish,onError:e.onError,isErrorState:e.isErrorState},l,t,{method:n,action:o,withCredentials:r,responseType:e.responseType,headers:a,data:i}))}))}const y=Qr((()=>{const{common:{cubicBezierEaseInOut:e},self:{draggerColor:t,draggerBorder:n,draggerBorderHover:r,itemColorHover:a,itemColorHoverError:i,itemTextColorError:l,itemTextColorSuccess:s,itemTextColor:d,itemIconColor:c,itemDisabledOpacity:u,lineHeight:h,borderRadius:p,fontSize:f,itemBorderImageCardError:m,itemBorderImageCard:v}}=o.value;return{"--n-bezier":e,"--n-border-radius":p,"--n-dragger-border":n,"--n-dragger-border-hover":r,"--n-dragger-color":t,"--n-font-size":f,"--n-item-color-hover":a,"--n-item-color-hover-error":i,"--n-item-disabled-opacity":u,"--n-item-icon-color":c,"--n-item-text-color":d,"--n-item-text-color-error":l,"--n-item-text-color-success":s,"--n-line-height":h,"--n-item-border-image-card-error":m,"--n-item-border-image-card":v}})),_=n?vE("upload",void 0,y,e):void 0;To(O8,{mergedClsPrefixRef:t,mergedThemeRef:o,showCancelButtonRef:Ft(e,"showCancelButton"),showDownloadButtonRef:Ft(e,"showDownloadButton"),showRemoveButtonRef:Ft(e,"showRemoveButton"),showRetryButtonRef:Ft(e,"showRetryButton"),onRemoveRef:Ft(e,"onRemove"),onDownloadRef:Ft(e,"onDownload"),mergedFileListRef:h,triggerClassRef:Ft(e,"triggerClass"),triggerStyleRef:Ft(e,"triggerStyle"),shouldUseThumbnailUrlRef:Ft(e,"shouldUseThumbnailUrl"),renderIconRef:Ft(e,"renderIcon"),xhrMap:c,submit:b,doChange:v,showPreviewButtonRef:Ft(e,"showPreviewButton"),onPreviewRef:Ft(e,"onPreview"),getFileThumbnailUrlResolver:function(t){var n;if(t.thumbnailUrl)return t.thumbnailUrl;const{createThumbnailUrl:o}=e;return o?null!==(n=o(t.file,t))&&void 0!==n?n:t.url||"":t.url?t.url:t.file?function(e){return N8(this,void 0,void 0,(function*(){return yield new Promise((t=>{e.type&&H8(e.type)?t(window.URL.createObjectURL(e)):t("")}))}))}(t.file):""},listTypeRef:Ft(e,"listType"),dragOverRef:d,openOpenFileDialog:f,draggerInsideRef:s,handleFileAddition:g,mergedDisabledRef:r.mergedDisabledRef,maxReachedRef:p,fileListClassRef:Ft(e,"fileListClass"),fileListStyleRef:Ft(e,"fileListStyle"),abstractRef:Ft(e,"abstract"),acceptRef:Ft(e,"accept"),cssVarsRef:n?void 0:y,themeClassRef:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender,showTriggerRef:Ft(e,"showTrigger"),imageGroupPropsRef:Ft(e,"imageGroupProps"),mergedDirectoryDndRef:Qr((()=>{var t;return null!==(t=e.directoryDnd)&&void 0!==t?t:e.directory})),onRetryRef:Ft(e,"onRetry")});const x={clear:()=>{a.value=[]},submit:b,openOpenFileDialog:f};return Object.assign({mergedClsPrefix:t,draggerInsideRef:s,inputElRef:l,mergedTheme:o,dragOver:d,mergedMultiple:m,cssVars:n?void 0:y,themeClass:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender,handleFileInputChange:function(e){const t=e.target;g(t.files?Array.from(t.files).map((e=>({file:e,entry:null,source:"input"}))):null,e),t.value=""}},x)},render(){var e,t;const{draggerInsideRef:n,mergedClsPrefix:o,$slots:r,directory:a,onRender:i}=this;if(r.default&&!this.abstract){const t=r.default()[0];(null===(e=null==t?void 0:t.type)||void 0===e?void 0:e[I8])&&(n.value=!0)}const l=Jr("input",Object.assign({},this.inputProps,{ref:"inputElRef",type:"file",class:`${o}-upload-file-input`,accept:this.accept,multiple:this.mergedMultiple,onChange:this.handleFileInputChange,webkitdirectory:a||void 0,directory:a||void 0}));return this.abstract?Jr(pr,null,null===(t=r.default)||void 0===t?void 0:t.call(r),Jr(mn,{to:"body"},l)):(null==i||i(),Jr("div",{class:[`${o}-upload`,n.value&&`${o}-upload--dragger-inside`,this.dragOver&&`${o}-upload--drag-over`,this.themeClass],style:this.cssVars},l,this.showTrigger&&"image-card"!==this.listType&&Jr(Q8,null,r),this.showFileList&&Jr(J8,null,r)))}});const a9=()=>({}),i9={name:"light",common:Eq,Alert:gY,Anchor:SY,AutoComplete:UY,Avatar:nG,AvatarGroup:aG,BackTop:dG,Badge:uG,Breadcrumb:fG,Button:xG,ButtonGroup:M7,Calendar:eQ,Card:rQ,Carousel:uQ,Cascader:bQ,Checkbox:mQ,Code:OQ,Collapse:IQ,CollapseTransition:LQ,ColorPicker:HQ,DataTable:XJ,DatePicker:S0,Descriptions:O4,Dialog:N4,Divider:J2,Drawer:r7,Dropdown:EJ,DynamicInput:s7,DynamicTags:C7,Element:P7,Empty:yK,Equation:{name:"Equation",common:Eq,self:a9},Ellipsis:VJ,Flex:F7,Form:O7,GradientText:B7,Icon:N1,IconWrapper:l6,Image:c6,Input:zY,InputNumber:L7,Layout:N7,LegacyTransfer:F6,List:U7,LoadingBar:h2,Log:Y7,Menu:Q7,Mention:X7,Message:C2,Modal:G4,Notification:D2,PageHeader:n5,Pagination:RJ,Popconfirm:i5,Popover:IK,Popselect:fJ,Progress:d5,QrCode:V6,Radio:KJ,Rate:h5,Row:W7,Result:m5,Scrollbar:Nq,Skeleton:G6,Select:CJ,Slider:y5,Space:g7,Spin:x5,Statistic:S5,Steps:R5,Switch:$5,Table:D5,Tabs:L5,Tag:eY,Thing:H5,TimePicker:_0,Timeline:q5,Tooltip:HJ,Transfer:G5,Tree:Z5,TreeSelect:e3,Typography:o3,Upload:i3,Watermark:d3,Split:t8,FloatButton:h3,FloatButtonGroup:c3,Marquee:M6},l9={name:"dark",common:KU,Alert:vY,Anchor:kY,AutoComplete:qY,Avatar:oG,AvatarGroup:iG,BackTop:sG,Badge:cG,Breadcrumb:mG,Button:CG,ButtonGroup:z7,Calendar:tQ,Card:aQ,Carousel:hQ,Cascader:yQ,Checkbox:vQ,Code:AQ,Collapse:BQ,CollapseTransition:jQ,ColorPicker:WQ,DataTable:ZJ,DatePicker:k0,Descriptions:D4,Dialog:H4,Divider:e7,Drawer:a7,Dropdown:LJ,DynamicInput:l7,DynamicTags:x7,Element:k7,Empty:_K,Ellipsis:WJ,Equation:{name:"Equation",common:KU,self:a9},Flex:R7,Form:D7,GradientText:I7,Icon:H1,IconWrapper:s6,Image:d6,Input:FY,InputNumber:E7,LegacyTransfer:R6,Layout:j7,List:q7,LoadingBar:u2,Log:K7,Menu:J7,Mention:G7,Message:w2,Modal:X4,Notification:I2,PageHeader:o5,Pagination:FJ,Popconfirm:l5,Popover:BK,Popselect:pJ,Progress:c5,QrCode:W6,Radio:qJ,Rate:u5,Result:v5,Row:H7,Scrollbar:Hq,Select:wJ,Skeleton:Y6,Slider:b5,Space:v7,Spin:C5,Statistic:k5,Steps:F5,Switch:M5,Table:I5,Tabs:j5,Tag:JK,Thing:W5,TimePicker:x0,Timeline:U5,Tooltip:NJ,Transfer:Y5,Tree:Q5,TreeSelect:J5,Typography:r3,Upload:l3,Watermark:s3,Split:e8,FloatButton:u3,FloatButtonGroup:{name:"FloatButtonGroup",common:KU,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},Marquee:$6},{loadingBar:s9}=Z2(["loadingBar"]),{routeGroup:d9,routes:c9}=zs(Object.assign({"../views/404/index.tsx":()=>xs((()=>import("./index-CfanvO1F.js")),[],import.meta.url),"../views/authApiManage/index.tsx":()=>xs((()=>import("./index-Dy4H4cJk.js")),[],import.meta.url),"../views/autoDeploy/index.tsx":()=>xs((()=>import("./index-D5g5Z7WA.js").then((e=>e.i))),[],import.meta.url),"../views/certApply/index.tsx":()=>xs((()=>import("./index-LzQlVHhy.js")),[],import.meta.url),"../views/certManage/index.tsx":()=>xs((()=>import("./index-Di8lQRyt.js")),[],import.meta.url),"../views/home/index.tsx":()=>xs((()=>import("./index-Dh2o934s.js")),[],import.meta.url),"../views/layout/index.tsx":()=>xs((()=>import("./index-C-PiSnft.js")),[],import.meta.url),"../views/login/index.tsx":()=>xs((()=>import("./index-DG0B2su6.js")),[],import.meta.url),"../views/monitor/index.tsx":()=>xs((()=>import("./index-ZKxChdaz.js")),[],import.meta.url),"../views/settings/index.tsx":()=>xs((()=>import("./index-nyjBI9lx.js")),[],import.meta.url)}),Object.assign({"../views/autoDeploy/children/workflowView/index.tsx":()=>xs((()=>import("./index-C5Gp6IlJ.js")),[],import.meta.url)}),{framework:fA.frameworkRoute,system:fA.systemRoute,sort:fA.sortRoute,disabled:fA.disabledRoute}),u9=((e={routes:[],history:Rl(),scrollBehavior:()=>({left:0,top:0})})=>vs({...e}))({routes:d9,history:Rl()});var h9;((e,{beforeEach:t,afterEach:n}={})=>{e.beforeEach(((e,n,o)=>{t&&t(e,n,o)})),e.afterEach(((e,t,o)=>{n&&n(e,t,o)}))})(h9=u9,{beforeEach:(e,t,n)=>{if(s9.start(),!h9.hasRoute(e.name)&&!e.path.includes("/404"))return n({path:"/404"});n()},afterEach:e=>{s9.finish()}});const p9={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},f9=$n({name:"DownOutlined",render:function(e,t){return yr(),wr("svg",p9,t[0]||(t[0]=[Fr("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2L227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z",fill:"currentColor"},null,-1)]))}}),m9={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},v9=$n({name:"UpOutlined",render:function(e,t){return yr(),wr("svg",m9,t[0]||(t[0]=[Fr("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 0 0 140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z",fill:"currentColor"},null,-1)]))}}),g9=(e,...t)=>{let n=0;return e.replace(/\{\}/g,(()=>void 0!==t[n]?t[n++]:""))},b9={zhCN:{useModal:{cannotClose:"当前状态无法关闭弹窗",cancel:"取消",confirm:"确认"},useBatch:{batchOperation:"批量操作",selectedItems:e=>g9("已选择 {} 项",e),startBatch:"开始批量操作",placeholder:"请选择操作"},useForm:{submit:"提交",reset:"重置",expand:"展开",collapse:"收起",moreConfig:"更多配置",help:"帮助文档",required:"必填项",placeholder:e=>g9("请输入{}",e)},useFullScreen:{exit:"退出全屏",enter:"进入全屏"},useTable:{operation:"操作"}},zhTW:{useModal:{cannotClose:"當前狀態無法關閉彈窗",cancel:"取消",confirm:"確認"},useBatch:{batchOperation:"批量操作",selectedItems:e=>g9("已選擇 {} 項",e),startBatch:"開始批量操作",placeholder:"請選擇操作"},useForm:{submit:"提交",reset:"重置",expand:"展開",collapse:"收起",moreConfig:"更多配置",help:"幫助文檔",required:"必填項",placeholder:e=>g9("請輸入{}",e)},useFullScreen:{exit:"退出全屏",enter:"進入全屏"},useTable:{operation:"操作"}},enUS:{useModal:{cannotClose:"Cannot close the dialog in current state",cancel:"Cancel",confirm:"Confirm"},useBatch:{batchOperation:"Batch Operation",selectedItems:e=>g9("{} items selected",e),startBatch:"Start Batch Operation",placeholder:"Select operation"},useForm:{submit:"Submit",reset:"Reset",expand:"Expand",collapse:"Collapse",moreConfig:"More Configuration",help:"Help Documentation",required:"Required",placeholder:e=>g9("Please enter {}",e)},useFullScreen:{exit:"Exit Fullscreen",enter:"Enter Fullscreen"},useTable:{operation:"Operation"}},jaJP:{useModal:{cannotClose:"現在の状態ではダイアログを閉じることができません",cancel:"キャンセル",confirm:"確認"},useBatch:{batchOperation:"バッチ操作",selectedItems:e=>g9("{}項目が選択されました",e),startBatch:"バッチ操作を開始",placeholder:"操作を選択"},useForm:{submit:"提出する",reset:"リセット",expand:"展開",collapse:"折りたたみ",moreConfig:"詳細設定",help:"ヘルプドキュメント",required:"必須",placeholder:e=>g9("{}を入力してください",e)},useFullScreen:{exit:"全画面表示を終了",enter:"全画面表示に入る"},useTable:{operation:"操作"}},ruRU:{useModal:{cannotClose:"Невозможно закрыть диалог в текущем состоянии",cancel:"Отмена",confirm:"Подтвердить"},useBatch:{batchOperation:"Пакетная операция",selectedItems:e=>g9("Выбрано {} элементов",e),startBatch:"Начать пакетную операцию",placeholder:"Выберите операцию"},useForm:{submit:"Отправить",reset:"Сбросить",expand:"Развернуть",collapse:"Свернуть",moreConfig:"Дополнительная конфигурация",help:"Документация",required:"Обязательно",placeholder:e=>g9("Пожалуйста, введите {}",e)},useFullScreen:{exit:"Выйти из полноэкранного режима",enter:"Войти в полноэкранный режим"},useTable:{operation:"Операция"}},koKR:{useModal:{cannotClose:"현재 상태에서는 대화 상자를 닫을 수 없습니다",cancel:"취소",confirm:"확인"},useBatch:{batchOperation:"일괄 작업",selectedItems:e=>g9("{}개 항목 선택됨",e),startBatch:"일괄 작업 시작",placeholder:"작업 선택"},useForm:{submit:"제출",reset:"재설정",expand:"확장",collapse:"축소",moreConfig:"추가 구성",help:"도움말",required:"필수 항목",placeholder:e=>g9("{} 입력하세요",e)},useFullScreen:{exit:"전체 화면 종료",enter:"전체 화면 시작"},useTable:{operation:"작업"}},ptBR:{useModal:{cannotClose:"Não é possível fechar o diálogo no estado atual",cancel:"Cancelar",confirm:"Confirmar"},useBatch:{batchOperation:"Operação em Lote",selectedItems:e=>g9("{} itens selecionados",e),startBatch:"Iniciar Operação em Lote",placeholder:"Selecione a operação"},useForm:{submit:"Enviar",reset:"Redefinir",expand:"Expandir",collapse:"Recolher",moreConfig:"Mais Configurações",help:"Documentação de Ajuda",required:"Obrigatório",placeholder:e=>g9("Por favor, insira {}",e)},useFullScreen:{exit:"Sair da Tela Cheia",enter:"Entrar em Tela Cheia"},useTable:{operation:"Operação"}},frFR:{useModal:{cannotClose:"Impossible de fermer la boîte de dialogue dans l'état actuel",cancel:"Annuler",confirm:"Confirmer"},useBatch:{batchOperation:"Opération par lot",selectedItems:e=>g9("{} éléments sélectionnés",e),startBatch:"Démarrer une opération par lot",placeholder:"Sélectionnez une opération"},useForm:{submit:"Soumettre",reset:"Réinitialiser",expand:"Développer",collapse:"Réduire",moreConfig:"Plus de configuration",help:"Documentation d'aide",required:"Obligatoire",placeholder:e=>g9("Veuillez entrer {}",e)},useFullScreen:{exit:"Quitter le mode plein écran",enter:"Passer en mode plein écran"},useTable:{operation:"Opération"}},esAR:{useModal:{cannotClose:"No se puede cerrar el diálogo en el estado actual",cancel:"Cancelar",confirm:"Confirmar"},useBatch:{batchOperation:"Operación por lotes",selectedItems:e=>g9("{} elementos seleccionados",e),startBatch:"Iniciar operación por lotes",placeholder:"Seleccionar operación"},useForm:{submit:"Enviar",reset:"Restablecer",expand:"Expandir",collapse:"Colapsar",moreConfig:"Más configuración",help:"Documentación de ayuda",required:"Obligatorio",placeholder:e=>g9("Por favor ingrese {}",e)},useFullScreen:{exit:"Salir de pantalla completa",enter:"Entrar en pantalla completa"},useTable:{operation:"Operación"}},arDZ:{useModal:{cannotClose:"لا يمكن إغلاق مربع الحوار في الحالة الحالية",cancel:"إلغاء",confirm:"تأكيد"},useBatch:{batchOperation:"عملية دفعية",selectedItems:e=>g9("تم تحديد {} عنصر",e),startBatch:"بدء عملية دفعية",placeholder:"اختر العملية"},useForm:{submit:"إرسال",reset:"إعادة تعيين",expand:"توسيع",collapse:"طي",moreConfig:"مزيد من الإعدادات",help:"وثائق المساعدة",required:"إلزامي",placeholder:e=>g9("الرجاء إدخال {}",e)},useFullScreen:{exit:"الخروج من وضع ملء الشاشة",enter:"الدخول إلى وضع ملء الشاشة"},useTable:{operation:"العملية"}}};function y9(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!kr(e)}const _9=localStorage.getItem("locale-active")||"zhCN",x9=(e,t)=>{const n=_9.replace("-","_").replace(/"/g,""),o=b9[n].useForm[e]||b9.zhCN.useForm[e];return"function"==typeof o?o(t||""):o},C9={input:BY,inputNumber:P6,inputGroup:LY,select:kJ,radio:m1,radioButton:v1,checkbox:wQ,switch:r8,datepicker:M4,timepicker:k4,colorPicker:uJ,slider:J6,rate:K6,transfer:u8,mention:O6,dynamicInput:f7,dynamicTags:S7,autoComplete:GY,cascader:$Q,treeSelect:A8,upload:r9,uploadDragger:B8},w9=(e,t,n,o,r,a)=>{const{prefixElements:i,suffixElements:l}=(e=>({prefixElements:(null==e?void 0:e.prefix)?e.prefix.map((e=>({type:"render",render:e}))):[],suffixElements:(null==e?void 0:e.suffix)?e.suffix.map((e=>({type:"render",render:e}))):[]}))(a);return{type:"formItem",label:e,path:t,required:!0,children:[...i,{type:n,field:t,..."input"===n?{placeholder:x9("placeholder",e)}:{},...o},...l],...r}};function S9(e){const t=Y();return t.run((()=>{const{config:n,request:o,defaultValue:r={},rules:a}=e,i=vt(!1),l=vt(null),s=mt(r)?r:vt(r),d=vt(n),c=gt({...a}),u=vt({labelPlacement:"left",labelWidth:"8rem"}),h=(e,t)=>{var n;const o=e=>"slot"===e.type,r=e=>"custom"===e.type;return o(e)?(null==(n=null==t?void 0:t[e.slot])?void 0:n.call(t,s,l))??null:r(e)?e.render(s,l):o(a=e)||r(a)?null:(e=>{let t=e.type;["textarea","password"].includes(t)&&(t="input");const n=C9[t];if(!n)return null;const{field:o,...r}=e;if(["radio","radioButton"].includes(t)){const n=e;return zr(b1,{value:F9(s.value,o),onUpdateValue:e=>{z9(s.value,o,e)}},{default:()=>{var e;return[null==(e=n.options)?void 0:e.map((e=>zr("radio"===t?m1:v1,Ir({value:e.value},r),{default:()=>[e.label]})))]}})}if(["checkbox"].includes(t)){const t=e;return zr(xQ,Ir({value:F9(s.value,o),onUpdateValue:e=>{z9(s.value,o,e)}},r),{default:()=>{var e;return[null==(e=t.options)?void 0:e.map((e=>zr(wQ,Ir({value:e.value},r),{default:()=>[e.label]})))]}})}return zr(n,Ir({value:F9(s.value,o),onUpdateValue:e=>{z9(s.value,o,e)}},r),null)})(e);var a},p=(e,t)=>{let n;if("custom"===e.type)return e.render(s,l);if("slot"===e.type)return h(e,t);const{children:o,type:r,...a}=e;if("formItemGi"===r){let e;return zr(n6,a,y9(e=o.map((e=>h(e,t))))?e:{default:()=>[e]})}return zr(X3,a,y9(n=o.map((e=>h(e,t))))?n:{default:()=>[n]})},f=async()=>{if(!l.value)return!1;try{return await l.value.validate(),!0}catch{return!1}};return X((()=>{t.stop()})),{component:(e,t)=>{let n;return zr(g3,Ir({ref:l,model:s.value,rules:c.value,labelPlacement:"left"},u,e),y9(n=d.value.map((e=>"grid"===e.type?((e,t)=>{let n;const{children:o,...r}=e;return zr(a6,r,y9(n=o.map((e=>p(e,t))))?n:{default:()=>[n]})})(e,t.slots):p(e,t.slots))))?n:{default:()=>[n]})},example:l,data:s,loading:i,config:d,props:u,rules:c,dataToRef:()=>Pt(s.value),fetch:async()=>{if(o)try{i.value=!0;if(!(await f()))throw new Error("表单验证失败");return await o(s.value,l)}catch(e){throw new Error("表单验证失败")}finally{i.value=!1}},reset:()=>{var e;null==(e=l.value)||e.restoreValidation(),s.value=Object.assign({},mt(r)?r.value:r)},validate:f}}))}const k9=(e,t,n,o,r)=>w9(e,t,"input",{placeholder:x9("placeholder",e),...n},o,r),P9=(e,t,n,o,r)=>w9(e,t,"input",{type:"textarea",placeholder:x9("placeholder",e),...n},o,r),T9=(e,t,n,o,r)=>w9(e,t,"input",{type:"password",placeholder:x9("placeholder",e),...n},o,r),R9=(e,t,n,o,r)=>w9(e,t,"inputNumber",{showButton:!1,...n},o,r);function F9(e,t){return t.includes(".")?t.split(".").reduce(((e,t)=>e&&void 0!==e[t]?e[t]:void 0),e):e[t]}const z9=(e,t,n)=>{if(t.includes(".")){const o=t.split("."),r=o.pop();o.reduce(((e,t)=>(void 0===e[t]&&(e[t]={}),e[t])),e)[r]=n}else e[t]=n},M9=e=>({type:"custom",render:(t,n)=>zr("div",{class:"flex"},[e.map((e=>{let o;if("custom"===e.type)return e.render(t,n);const{children:r,...a}=e;return zr(X3,a,y9(o=r.map((e=>{if("render"===e.type||"custom"===e.type)return e.render(t,n);let o=e.type;["textarea","password"].includes(e.type)&&(o="input");const r=C9[o];if(!r)return null;const{field:a,...i}=e;return zr(r,Ir({value:F9(t.value,a),onUpdateValue:e=>{z9(t.value,a,e)}},i),null)})))?o:{default:()=>[o]})}))])}),$9=(e,t,n,o,r,a)=>w9(e,t,"select",{options:n,...o},r,a),A9=e=>({type:"slot",slot:e||"default"}),O9=e=>({type:"custom",render:e}),D9=(e,t,n,o,r,a)=>w9(e,t,"radio",{options:n,...o},r,a||{}),I9=(e,t,n,o,r,a)=>w9(e,t,"radioButton",{options:n,...o},r,a||{}),B9=(e,t,n,o,r,a)=>w9(e,t,"checkbox",{options:n,...o},r,a||{}),E9=(e,t,n,o,r)=>w9(e,t,"switch",{...n},o,r),L9=(e,t,n,o,r)=>w9(e,t,"datepicker",{...n},o,r),j9=(e,t,n,o,r)=>w9(e,t,"timepicker",{...n},o,r),N9=(e,t,n,o,r)=>w9(e,t,"slider",{...n},o,r),H9=(e,t)=>({type:"custom",render:()=>zr(n7,{class:"cursor-pointer w-full",style:{marginTop:"0"},onClick:()=>e.value=!e.value},{default:()=>[zr("div",{class:"flex items-center w-full",style:{color:"var(--n-color-target)"}},[zr("span",{class:"mr-[4px] text-[1.4em]"},[e.value?x9("collapse"):x9("expand"),t||x9("moreConfig")]),zr(V1,null,{default:()=>[e.value?zr(f9,null,null):zr(v9,null,null)]})])]})}),W9=(e,t)=>{const n=Ft(e);return{type:"custom",render:()=>zr("ul",Ir({class:`mt-[2px] leading-[2rem] text-[1.4rem] list-${(null==t?void 0:t.listStyle)||"disc"}`,style:"color: var(--n-close-icon-color);margin-left: 1.6rem; line-height:2.2rem;"},t),[n.value.map(((e,t)=>e.isHtml?zr("li",{key:t,innerHTML:e.content},null):zr("li",{key:t},[e.content])))])}},V9=()=>({useFormInput:k9,useFormTextarea:P9,useFormPassword:T9,useFormInputNumber:R9,useFormSelect:$9,useFormSlot:A9,useFormCustom:O9,useFormGroup:M9,useFormRadio:D9,useFormRadioButton:I9,useFormCheckbox:B9,useFormSwitch:E9,useFormDatepicker:L9,useFormTimepicker:j9,useFormSlider:N9,useFormMore:H9,useFormHelp:W9});function U9(e){return"function"==typeof e?e():_t(e)}const q9="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const K9=Object.prototype.toString,Y9=()=>{};const G9=e=>e();function X9(e,t,n={}){const{eventFilter:o=G9,...r}=n;return er(e,(a=o,i=t,function(...e){return new Promise(((t,n)=>{Promise.resolve(a((()=>i.apply(this,e)),{fn:i,thisArg:this,args:e})).then(t).catch(n)}))}),r);var a,i}function Z9(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:a,pause:i,resume:l,isActive:s}=function(e=G9){const t=vt(!0);return{isActive:at(t),pause:function(){t.value=!1},resume:function(){t.value=!0},eventFilter:(...n)=>{t.value&&e(...n)}}}(o);return{stop:X9(e,t,{...r,eventFilter:a}),pause:i,resume:l,isActive:s}}function Q9(e,t=!0,n){Nr()?Kn(e,n):t?e():Kt(e)}function J9(e){var t;const n=U9(e);return null!=(t=null==n?void 0:n.$el)?t:n}const eee=q9?window:void 0;function tee(...e){let t,n,o,r;if("string"==typeof e[0]||Array.isArray(e[0])?([n,o,r]=e,t=eee):[t,n,o,r]=e,!t)return Y9;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach((e=>e())),a.length=0},l=er((()=>[J9(t),U9(r)]),(([e,t])=>{if(i(),!e)return;const r=(l=t,"[object Object]"===K9.call(l)?{...t}:t);var l;a.push(...n.flatMap((t=>o.map((n=>((e,t,n,o)=>(e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)))(e,t,n,r))))))}),{immediate:!0,flush:"post"}),s=()=>{l(),i()};var d;return d=s,G()&&X(d),s}const nee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},oee="__vueuse_ssr_handlers__",ree=aee();function aee(){return oee in nee||(nee[oee]=nee[oee]||{}),nee[oee]}const iee={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},lee="vueuse-storage";function see(e,t,n,o={}){var r;const{flush:a="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:s=!0,mergeDefaults:d=!1,shallow:c,window:u=eee,eventFilter:h,onError:p=e=>{},initOnMounted:f}=o,m=(c?gt:vt)(t);if(!n)try{n=function(e,t){return ree[e]||t}("getDefaultStorage",(()=>{var e;return null==(e=eee)?void 0:e.localStorage}))()}catch(Nte){p(Nte)}if(!n)return m;const v=U9(t),g=function(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"==typeof e?"boolean":"string"==typeof e?"string":"object"==typeof e?"object":Number.isNaN(e)?"any":"number"}(v),b=null!=(r=o.serializer)?r:iee[g],{pause:y,resume:_}=Z9(m,(()=>function(t){try{const o=n.getItem(e);if(null==t)x(o,null),n.removeItem(e);else{const r=b.write(t);o!==r&&(n.setItem(e,r),x(o,r))}}catch(Nte){p(Nte)}}(m.value)),{flush:a,deep:i,eventFilter:h});function x(t,o){u&&u.dispatchEvent(new CustomEvent(lee,{detail:{key:e,oldValue:t,newValue:o,storageArea:n}}))}function C(t){if(!t||t.storageArea===n)if(t&&null==t.key)m.value=v;else if(!t||t.key===e){y();try{(null==t?void 0:t.newValue)!==b.write(m.value)&&(m.value=function(t){const o=t?t.newValue:n.getItem(e);if(null==o)return s&&null!=v&&n.setItem(e,b.write(v)),v;if(!t&&d){const e=b.read(o);return"function"==typeof d?d(e,v):"object"!==g||Array.isArray(e)?e:{...v,...e}}return"string"!=typeof o?o:b.read(o)}(t))}catch(Nte){p(Nte)}finally{t?Kt(_):_()}}}function w(e){C(e.detail)}return u&&l&&Q9((()=>{tee(u,"storage",C),tee(u,lee,w),f&&C()})),f||C(),m}const dee=Object.assign({"./default/style.css":()=>xs((()=>Promise.resolve({})),[],import.meta.url).then((e=>e.default)),"./ssl/style.css":()=>xs((()=>Promise.resolve({})),[],import.meta.url).then((e=>e.default))}),cee={defaultLight:{name:"defaultLight",type:"light",title:"默认亮色主题",import:async()=>(await xs((async()=>{const{defaultLight:e}=await import("./index-BG09xsbY.js");return{defaultLight:e}}),[],import.meta.url)).defaultLight,styleContent:async()=>await dee["./default/style.css"]()},defaultDark:{name:"defaultDark",type:"dark",title:"默认暗色主题",import:async()=>(await xs((async()=>{const{defaultDark:e}=await import("./index-BG09xsbY.js");return{defaultDark:e}}),[],import.meta.url)).defaultDark,styleContent:async()=>await dee["./default/style.css"]()}},uee=new Map,hee=e=>{if(uee.has(e))return uee.get(e);const t=e.replace(/([a-z])([A-Z0-9])/g,"$1-$2").replace(/([0-9])([a-zA-Z])/g,"$1-$2").toLowerCase();return uee.set(e,t),t},pee=e=>{const t=function(e,t,n={}){const{window:o=eee}=n;return see(e,t,null==o?void 0:o.localStorage,n)}("theme-active","defaultLight"),n=vt(null),o=vt(!1),r=Qr((()=>o.value?l9:i9)),a=Qr((()=>{var e;return(null==(e=n.value)?void 0:e.themeOverrides)||{}})),i=Qr((()=>n.value&&n.value||{})),l=e=>{const n=document.documentElement;n.classList.remove("animate-to-light","animate-to-dark"),n.classList.add(o.value?"animate-to-light":"animate-to-dark"),t.value=o.value?"defaultDark":"defaultLight",setTimeout((()=>{n.classList.remove("animate-to-light","animate-to-dark")}),500)},s=(e,t)=>{let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=e},d=async e=>{try{const t=cee[e];if(!t)return;const o=await t.import(),r=await t.styleContent();(r||r)&&s(r,"theme-style"),n.value=o}catch(t){}},c=Y();return c.run((()=>{er(t,(e=>{t.value&&document.documentElement.classList.remove(t.value),document.documentElement.classList.add(e),t.value=e,d(e)}),{immediate:!0}),X((()=>{c.stop()}))})),{theme:r,themeOverrides:a,presetsOverrides:i,isDark:o,themeActive:t,getThemeList:()=>{const e=[];for(const t in cee)e.push(cee[t]);return e},cutDarkModeAnimation:l,cutDarkMode:(e=!1,n)=>{o.value=!o.value,e?l(n?{clientX:n.clientX,clientY:n.clientY}:void 0):t.value=o.value?"defaultDark":"defaultLight"},loadThemeStyles:d,loadDynamicCss:s}},fee=e=>{const t=function(){const e=Ro(hE,null);return Qr((()=>{if(null===e)return Eq;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(null==t?void 0:t.common)||Eq;return(null==n?void 0:n.common)?Object.assign({},o,n.common):o}))}(),n=vt(""),o=Y();return o.run((()=>{er(t,(t=>{const o=[];for(const n of e)if(n in t){const e=hee(n);o.push(`--n-${e}: ${t[n]};`)}n.value=o.join("\n")}),{immediate:!0}),X((()=>{o.stop()}))})),n};function mee(){const e=Nr();if(e&&(null==e?void 0:e.setupContext)){const e=z2();return{...e,request:(t,n)=>t.status?e.success(t.message,n):e.error(t.message,n)}}const{theme:t,themeOverrides:n}=pee(),o=Qr((()=>({theme:t.value,themeOverrides:n.value}))),{message:r,unmount:a}=Z2(["message"],{configProviderProps:o}),i=e=>(t,n={})=>{const o={...n,onAfterLeave:()=>{var e;null==(e=n.onAfterLeave)||e.call(n),a()}};return e(t,o)},l={...r,info:i(r.info),success:i(r.success),warning:i(r.warning),error:i(r.error),loading:i(r.loading),request:(e,t={})=>{const n={...t,onAfterLeave:()=>{var e;null==(e=t.onAfterLeave)||e.call(t),a()}};return e.status?i(r.success)(e.message,n):i(r.error)(e.message,n)}};return l}function vee({config:e,request:t,defaultValue:n=vt({}),watchValue:o=!1}){const r=Y();return r.run((()=>{const a=gt(e),i=vt(!1),l=vt({list:[],total:0}),s=vt({total:"total",list:"list"}),d=vt(),c=mt(n)?n:vt({...n}),u=vt(0),h=gt({}),{error:p}=mee(),f=async()=>{try{i.value=!0;const e=await t(c.value);return u.value=e[s.value.total],l.value={list:e[s.value.list],total:e[s.value.total]},l.value}catch(e){p(e.message)}finally{i.value=!1}};if(Array.isArray(o)){er(Qr((()=>o.map((e=>c.value[e])))),f,{deep:!0})}return Zn((()=>{r.stop()})),{loading:i,example:d,data:l,alias:s,param:c,total:u,reset:async()=>(c.value=n.value,await f()),fetch:f,component:(e,t)=>{const{slots:n,...o}=e,r=t;return zr(g0,Ir({remote:!0,ref:d,loading:i.value,data:l.value.list,columns:a.value},e,o),{empty:()=>{var e,t;return(null==n?void 0:n.empty)||(null==(e=null==r?void 0:r.slots)?void 0:e.empty)?(null==n?void 0:n.empty())||(null==(t=null==r?void 0:r.slots)?void 0:t.empty()):null},loading:()=>{var e,t;return(null==n?void 0:n.loading)||(null==(e=null==r?void 0:r.slots)?void 0:e.loading)?(null==n?void 0:n.loading())||(null==(t=null==r?void 0:r.slots)?void 0:t.loading()):null}})},config:a,props:h}}))}localStorage.getItem("locale-active");const gee=({param:e,total:t,alias:n={page:"page",pageSize:"page_size"},props:o={},slot:r={},refresh:a=()=>{}})=>{const i=Y();return i.run((()=>{const{page:l,pageSize:s}={page:"page",pageSize:"page_size",...n},d=vt([10,20,50,100,200]),c=vt({...o});e.value[l]||(e.value[l]=1),e.value[s]||(e.value[s]=20);const u=t=>{e.value={...e.value,[l]:t},a&&a()},h=t=>{e.value={...e.value,[l]:1,[s]:t},a&&a()};return Zn((()=>{i.stop()})),{component:(n,o)=>{const a={...r,...o.slots||{}};return zr(DJ,Ir({page:e.value[l],pageSize:e.value[s],itemCount:t.value,pageSizes:d.value,showSizePicker:!0,onUpdatePage:u,onUpdatePageSize:h},c.value,n),a)},handlePageChange:u,handlePageSizeChange:h,pageSizeOptions:d}}))},bee=[{type:"zhCN",name:"简体中文",locale:_E,dateLocale:$L},{type:"zhTW",name:"繁體中文 ",locale:{name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},dateLocale:AL},{type:"enUS",name:"English",locale:yE,dateLocale:kL},{type:"jaJP",name:"日本語",locale:{name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},dateLocale:RL},{type:"ruRU",name:"Русский",locale:{name:"ru-RU",global:{undo:"Отменить",redo:"Вернуть",confirm:"Подтвердить",clear:"Очистить"},Popconfirm:{positiveText:"Подтвердить",negativeText:"Отмена"},Cascader:{placeholder:"Выбрать",loading:"Загрузка",loadingRequiredMessage:e=>`Загрузите все дочерние узлы ${e} прежде чем они станут необязательными`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Очистить",now:"Сейчас",confirm:"Подтвердить",selectTime:"Выбрать время",selectDate:"Выбрать дату",datePlaceholder:"Выбрать дату",datetimePlaceholder:"Выбрать дату и время",monthPlaceholder:"Выберите месяц",yearPlaceholder:"Выберите год",quarterPlaceholder:"Выберите квартал",weekPlaceholder:"Select Week",startDatePlaceholder:"Дата начала",endDatePlaceholder:"Дата окончания",startDatetimePlaceholder:"Дата и время начала",endDatetimePlaceholder:"Дата и время окончания",startMonthPlaceholder:"Начало месяца",endMonthPlaceholder:"Конец месяца",monthBeforeYear:!0,firstDayOfWeek:0,today:"Сегодня"},DataTable:{checkTableAll:"Выбрать все в таблице",uncheckTableAll:"Отменить все в таблице",confirm:"Подтвердить",clear:"Очистить"},LegacyTransfer:{sourceTitle:"Источник",targetTitle:"Назначение"},Transfer:{selectAll:"Выбрать все",unselectAll:"Снять все",clearAll:"Очистить",total:e=>`Всего ${e} элементов`,selected:e=>`${e} выбрано элементов`},Empty:{description:"Нет данных"},Select:{placeholder:"Выбрать"},TimePicker:{placeholder:"Выбрать время",positiveText:"OK",negativeText:"Отменить",now:"Сейчас",clear:"Очистить"},Pagination:{goto:"Перейти",selectionSuffix:"страница"},DynamicTags:{add:"Добавить"},Log:{loading:"Загрузка"},Input:{placeholder:"Ввести"},InputNumber:{placeholder:"Ввести"},DynamicInput:{create:"Создать"},ThemeEditor:{title:"Редактор темы",clearAllVars:"Очистить все",clearSearch:"Очистить поиск",filterCompName:"Фильтровать по имени компонента",filterVarName:"Фильтровать имена переменных",import:"Импорт",export:"Экспорт",restore:"Сбросить"},Image:{tipPrevious:"Предыдущее изображение (←)",tipNext:"Следующее изображение (→)",tipCounterclockwise:"Против часовой стрелки",tipClockwise:"По часовой стрелке",tipZoomOut:"Отдалить",tipZoomIn:"Приблизить",tipDownload:"Скачать",tipClose:"Закрыть (Esc)",tipOriginalSize:"Вернуть исходный размер"}},dateLocale:ML},{type:"koKR",name:"한국어",locale:{name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},dateLocale:FL},{type:"ptBR",name:"Português",locale:{name:"pt-BR",global:{undo:"Desfazer",redo:"Refazer",confirm:"Confirmar",clear:"Limpar"},Popconfirm:{positiveText:"Confirmar",negativeText:"Cancelar"},Cascader:{placeholder:"Por favor selecione",loading:"Carregando",loadingRequiredMessage:e=>`Carregue todos os descendentes de ${e} antes de verificar.`},Time:{dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy/MM",dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss",quarterFormat:"yyyy/qqq",weekFormat:"YYYY-w",clear:"Limpar",now:"Agora",confirm:"Confirmar",selectTime:"Selecione a hora",selectDate:"Selecione a data",datePlaceholder:"Selecione a data",datetimePlaceholder:"Selecione a data e hora",monthPlaceholder:"Selecione o mês",yearPlaceholder:"Selecione o ano",quarterPlaceholder:"Selecione o trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Selecione a data de início",endDatePlaceholder:"Selecione a data de término",startDatetimePlaceholder:"Selecione a data e hora de início",endDatetimePlaceholder:"Selecione a data e hora de término",startMonthPlaceholder:"Selecione o mês de início",endMonthPlaceholder:"Selecione o mês de término",monthBeforeYear:!0,firstDayOfWeek:6,today:"Hoje"},DataTable:{checkTableAll:"Selecionar todos na tabela",uncheckTableAll:"Desmarcar todos na tabela",confirm:"Confirmar",clear:"Limpar"},LegacyTransfer:{sourceTitle:"Origem",targetTitle:"Destino"},Transfer:{selectAll:"Selecionar todos",unselectAll:"Desmarcar todos",clearAll:"Limpar",total:e=>`Total ${e} itens`,selected:e=>`${e} itens selecionados`},Empty:{description:"Não há dados"},Select:{placeholder:"Por favor selecione"},TimePicker:{placeholder:"Selecione a hora",positiveText:"OK",negativeText:"Cancelar",now:"Agora",clear:"Limpar"},Pagination:{goto:"Ir para",selectionSuffix:"página"},DynamicTags:{add:"Adicionar"},Log:{loading:"Carregando"},Input:{placeholder:"Por favor digite"},InputNumber:{placeholder:"Por favor digite"},DynamicInput:{create:"Criar"},ThemeEditor:{title:"Editor de temas",clearAllVars:"Limpar todas as variáveis",clearSearch:"Limpar pesquisa",filterCompName:"Filtrar nome do componente",filterVarName:"Filtrar nome da variável",import:"Importar",export:"Exportar",restore:"Restaurar"},Image:{tipPrevious:"Foto anterior (←)",tipNext:"Próxima foto (→)",tipCounterclockwise:"Sentido anti-horário",tipClockwise:"Sentido horário",tipZoomOut:"Reduzir o zoom",tipZoomIn:"Aumentar o zoom",tipDownload:"Download",tipClose:"Fechar (Esc)",tipOriginalSize:"Exibir no tamanho original"}},dateLocale:zL},{type:"frFR",name:"Français",locale:{name:"fr-FR",global:{undo:"Défaire",redo:"Refaire",confirm:"Confirmer",clear:"Effacer"},Popconfirm:{positiveText:"Confirmer",negativeText:"Annuler"},Cascader:{placeholder:"Sélectionner",loading:"Chargement",loadingRequiredMessage:e=>`Charger tous les enfants de ${e} avant de le sélectionner`},Time:{dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"dd/MM/yyyy",dateTimeFormat:"dd/MM/yyyy HH:mm:ss",quarterFormat:"qqq yyyy",weekFormat:"YYYY-w",clear:"Effacer",now:"Maintenant",confirm:"Confirmer",selectTime:"Sélectionner l'heure",selectDate:"Sélectionner la date",datePlaceholder:"Sélectionner la date",datetimePlaceholder:"Sélectionner la date et l'heure",monthPlaceholder:"Sélectionner le mois",yearPlaceholder:"Sélectionner l'année",quarterPlaceholder:"Sélectionner le trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Date de début",endDatePlaceholder:"Date de fin",startDatetimePlaceholder:"Date et heure de début",endDatetimePlaceholder:"Date et heure de fin",startMonthPlaceholder:"Mois de début",endMonthPlaceholder:"Mois de fin",monthBeforeYear:!0,firstDayOfWeek:0,today:"Aujourd'hui"},DataTable:{checkTableAll:"Sélectionner tout",uncheckTableAll:"Désélectionner tout",confirm:"Confirmer",clear:"Effacer"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Cible"},Transfer:{selectAll:"Sélectionner tout",unselectAll:"Désélectionner tout",clearAll:"Effacer",total:e=>`Total ${e} éléments`,selected:e=>`${e} éléments sélectionnés`},Empty:{description:"Aucune donnée"},Select:{placeholder:"Sélectionner"},TimePicker:{placeholder:"Sélectionner l'heure",positiveText:"OK",negativeText:"Annuler",now:"Maintenant",clear:"Effacer"},Pagination:{goto:"Aller à",selectionSuffix:"page"},DynamicTags:{add:"Ajouter"},Log:{loading:"Chargement"},Input:{placeholder:"Saisir"},InputNumber:{placeholder:"Saisir"},DynamicInput:{create:"Créer"},ThemeEditor:{title:"Éditeur de thème",clearAllVars:"Effacer toutes les variables",clearSearch:"Effacer la recherche",filterCompName:"Filtrer par nom de composant",filterVarName:"Filtrer par nom de variable",import:"Importer",export:"Exporter",restore:"Réinitialiser"},Image:{tipPrevious:"Image précédente (←)",tipNext:"Image suivante (→)",tipCounterclockwise:"Sens antihoraire",tipClockwise:"Sens horaire",tipZoomOut:"Dézoomer",tipZoomIn:"Zoomer",tipDownload:"Descargar",tipClose:"Fermer (Échap.)",tipOriginalSize:"Zoom à la taille originale"}},dateLocale:TL},{type:"esAR",name:"Español",locale:{name:"es-AR",global:{undo:"Deshacer",redo:"Rehacer",confirm:"Confirmar",clear:"Borrar"},Popconfirm:{positiveText:"Confirmar",negativeText:"Cancelar"},Cascader:{placeholder:"Seleccionar por favor",loading:"Cargando",loadingRequiredMessage:e=>`Por favor, cargue los descendientes de ${e} antes de marcarlo.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Borrar",now:"Ahora",confirm:"Confirmar",selectTime:"Seleccionar hora",selectDate:"Seleccionar fecha",datePlaceholder:"Seleccionar fecha",datetimePlaceholder:"Seleccionar fecha y hora",monthPlaceholder:"Seleccionar mes",yearPlaceholder:"Seleccionar año",quarterPlaceholder:"Seleccionar Trimestre",weekPlaceholder:"Select Week",startDatePlaceholder:"Fecha de inicio",endDatePlaceholder:"Fecha final",startDatetimePlaceholder:"Fecha y hora de inicio",endDatetimePlaceholder:"Fecha y hora final",monthBeforeYear:!0,startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",firstDayOfWeek:6,today:"Hoy"},DataTable:{checkTableAll:"Seleccionar todo de la tabla",uncheckTableAll:"Deseleccionar todo de la tabla",confirm:"Confirmar",clear:"Limpiar"},LegacyTransfer:{sourceTitle:"Fuente",targetTitle:"Objetivo"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"Sin datos"},Select:{placeholder:"Seleccionar por favor"},TimePicker:{placeholder:"Seleccionar hora",positiveText:"OK",negativeText:"Cancelar",now:"Ahora",clear:"Borrar"},Pagination:{goto:"Ir a",selectionSuffix:"página"},DynamicTags:{add:"Agregar"},Log:{loading:"Cargando"},Input:{placeholder:"Ingrese datos por favor"},InputNumber:{placeholder:"Ingrese datos por favor"},DynamicInput:{create:"Crear"},ThemeEditor:{title:"Editor de Tema",clearAllVars:"Limpiar todas las variables",clearSearch:"Limpiar búsqueda",filterCompName:"Filtro para nombre del componente",filterVarName:"Filtro para nombre de la variable",import:"Importar",export:"Exportar",restore:"Restablecer los valores por defecto"},Image:{tipPrevious:"Imagen anterior (←)",tipNext:"Siguiente imagen (→)",tipCounterclockwise:"Sentido antihorario",tipClockwise:"Sentido horario",tipZoomOut:"Alejar",tipZoomIn:"Acercar",tipDownload:"Descargar",tipClose:"Cerrar (Esc)",tipOriginalSize:"Zoom to original size"}},dateLocale:PL},{type:"arDZ",name:"العربية",locale:{name:"ar-DZ",global:{undo:"تراجع",redo:"إعادة",confirm:"تأكيد",clear:"مسح"},Popconfirm:{positiveText:"تأكيد",negativeText:"إلغاء"},Cascader:{placeholder:"يرجى التحديد",loading:"جاري التحميل",loadingRequiredMessage:e=>`يرجى تحميل جميع الـ ${e} الفرعية قبل التحقق منها.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"مسح",now:"الآن",confirm:"تأكيد",selectTime:"إختيار الوقت",selectDate:"إختيار التاريخ",datePlaceholder:"إختيار التاريخ",datetimePlaceholder:"إختيار التاريخ والوقت",monthPlaceholder:"إختيار الشهر",yearPlaceholder:"إختيار السنة",quarterPlaceholder:"إختيار الربع",weekPlaceholder:"Select Week",startDatePlaceholder:"تاريخ البدء",endDatePlaceholder:"تاريخ الإنتهاء",startDatetimePlaceholder:"تاريخ ووقت البدء",endDatetimePlaceholder:"تاريخ ووقت الإنتهاء",startMonthPlaceholder:"شهر البدء",endMonthPlaceholder:"شهر الإنتهاء",monthBeforeYear:!0,firstDayOfWeek:6,today:"اليوم"},DataTable:{checkTableAll:"تحديد كل العناصر في الجدول",uncheckTableAll:"إلغاء تحديد كل العناصر في الجدول",confirm:"تأكيد",clear:"مسح"},LegacyTransfer:{sourceTitle:"المصدر",targetTitle:"الهدف"},Transfer:{selectAll:"تحديد الكل",unselectAll:"إلغاء تحديد الكل",clearAll:"مسح",total:e=>`إجمالي ${e} عنصر`,selected:e=>`${e} عنصر محدد`},Empty:{description:"لا توجد بيانات"},Select:{placeholder:"يرجى الإختيار"},TimePicker:{placeholder:"إختيار الوقت",positiveText:"تأكيد",negativeText:"إلغاء",now:"الآن",clear:"مسح"},Pagination:{goto:"إذهب إلى",selectionSuffix:"صفحة"},DynamicTags:{add:"إضافة"},Log:{loading:"جاري التحميل"},Input:{placeholder:"يرجى الإدخال"},InputNumber:{placeholder:"يرجى الإدخال"},DynamicInput:{create:"إنشاء"},ThemeEditor:{title:"محرر النمط",clearAllVars:"مسح جميع المتغيرات",clearSearch:"مسح البحث",filterCompName:"تصفية إسم المكون",filterVarName:"تصفية إسم المتغير",import:"إستيراد",export:"تصدير",restore:"إعادة تعيين إلى الإفتراضي"},Image:{tipPrevious:"(→) الصورة السابقة",tipNext:"(←) الصورة التالية",tipCounterclockwise:"عكس عقارب الساعة",tipClockwise:"إتجاه عقارب الساعة",tipZoomOut:"تكبير",tipZoomIn:"تصغير",tipDownload:"للتحميل",tipClose:"إغلاق (Esc زر)",tipOriginalSize:"تكبير إلى الحجم الأصلي"}},dateLocale:SL}];function yee(e){const t=vt(null),n=vt(null),o=Y();return o.run((()=>{er(e,(async e=>{const o=await(async e=>{try{const t=bee.find((t=>t.type===(e=>e.replace(/_/g,""))(e)));if(!t)throw new Error(`Locale ${e} not found`);return t}catch(t){return null}})(e);o&&(t.value=o.locale,n.value=o.dateLocale)}),{immediate:!0})})),X((()=>{o.stop()})),{naiveLocale:t,naiveDateLocale:n}}const _ee=$n({name:"NCustomProvider",setup(e,{slots:t}){const{locale:n}=Uu(),{naiveLocale:o,naiveDateLocale:r}=yee(n),{theme:a,themeOverrides:i}=pee();return()=>zr(hJ,{theme:a.value,"theme-overrides":i.value,locale:o.value||_E,"date-locale":r.value||$L},{default:()=>[zr(s2,null,{default:()=>[zr(F2,null,{default:()=>[zr(Y2,null,{default:()=>[zr($2,null,{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})]})]})]})]})}}),xee=$n({name:"NThemeProvider",setup(e,{slots:t}){const{theme:n,themeOverrides:o}=pee();return()=>zr(hJ,{theme:n.value,"theme-overrides":o.value},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}});function Cee(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function wee(e){return function t(n){return 0===arguments.length||Cee(n)?t:e.apply(this,arguments)}}function See(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return Cee(n)?t:wee((function(t){return e(n,t)}));default:return Cee(n)&&Cee(o)?t:Cee(n)?wee((function(t){return e(t,o)})):Cee(o)?wee((function(t){return e(n,t)})):e(n,o)}}}function kee(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,o){return t.apply(this,arguments)};case 4:return function(e,n,o,r){return t.apply(this,arguments)};case 5:return function(e,n,o,r,a){return t.apply(this,arguments)};case 6:return function(e,n,o,r,a,i){return t.apply(this,arguments)};case 7:return function(e,n,o,r,a,i,l){return t.apply(this,arguments)};case 8:return function(e,n,o,r,a,i,l,s){return t.apply(this,arguments)};case 9:return function(e,n,o,r,a,i,l,s,d){return t.apply(this,arguments)};case 10:return function(e,n,o,r,a,i,l,s,d,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Pee(e,t,n){return function(){for(var o=[],r=0,a=e,i=0,l=!1;i=arguments.length)?s=t[i]:(s=arguments[r],r+=1),o[i]=s,Cee(s)?l=!0:a-=1,i+=1}return!l&&a<=0?n.apply(this,o):kee(Math.max(0,a),Pee(e,o,n))}}var Tee=See((function(e,t){return 1===e?wee(t):kee(e,Pee(e,[],t))}));const Ree=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Fee(e,t,n){return function(){if(0===arguments.length)return n();var o=arguments[arguments.length-1];if(!Ree(o)){for(var r=0;r=0;)Aee(t=Eee[n],e)&&!jee(o,t)&&(o[o.length]=t),n-=1;return o})):wee((function(e){return Object(e)!==e?[]:Object.keys(e)})),Hee=wee((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Wee(e,t,n,o){var r=Mee(e);function a(e,t){return Vee(e,t,n.slice(),o.slice())}return!$ee((function(e,t){return!$ee(a,t,e)}),Mee(t),r)}function Vee(e,t,n,o){if(Oee(e,t))return!0;var r,a,i=Hee(e);if(i!==Hee(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(i){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(a=String(r).match(/^function (\w*)/))?"":a[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Oee(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Oee(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var l=n.length-1;l>=0;){if(n[l]===e)return o[l]===t;l-=1}switch(i){case"Map":return e.size===t.size&&Wee(e.entries(),t.entries(),n.concat([e]),o.concat([t]));case"Set":return e.size===t.size&&Wee(e.values(),t.values(),n.concat([e]),o.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=Nee(e);if(s.length!==Nee(t).length)return!1;var d=n.concat([e]),c=o.concat([t]);for(l=s.length-1;l>=0;){var u=s[l];if(!Aee(u,t)||!Vee(t[u],e[u],d,c))return!1;l-=1}return!0}var Uee=See((function(e,t){return Vee(e,t,[],[])}));function qee(e,t){for(var n=0,o=t.length,r=Array(o);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))})),Jee="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ete(e,t,n){return function(o,r,a){if(Qee(a))return e(o,r,a);if(null==a)return r;if("function"==typeof a["fantasy-land/reduce"])return t(o,r,a,"fantasy-land/reduce");if(null!=a[Jee])return n(o,r,a[Jee]());if("function"==typeof a.next)return n(o,r,a);if("function"==typeof a.reduce)return t(o,r,a,"reduce");throw new TypeError("reduce: list must be array or iterable")}}var tte=See((function(e,t){return e&&t}));function nte(e,t,n){for(var o=n.next();!o.done;)t=e(t,o.value),o=n.next();return t}function ote(e,t,n,o){return n[o](e,t)}var rte=ete(Kee,ote,nte),ate=See((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:rte((function(e,n){return function(e,t){var n;t=t||[];var o=(e=e||[]).length,r=t.length,a=[];for(n=0;nUee(gte(t),e)));const bte=Symbol("modal-close"),yte=Symbol("modal-closeable"),_te=Symbol("modal-loading"),xte=Symbol("modal-confirm"),Cte=Symbol("modal-cancel"),wte=Symbol("modal-message"),Ste=Symbol("modal-options"),kte={router:null,i18n:null,pinia:null},Pte=(e,t)=>{e&&t&&e.use(t)},Tte=e=>{const{theme:t,themeOverrides:n}=pee(),{modal:o,message:r,unmount:a,app:i}=Z2(["modal","message"],{configProviderProps:{theme:t.value,themeOverrides:n.value}});Pte(i,kte.i18n),Pte(i,kte.router),Pte(i,kte.pinia);const l=Nr(),s=vt(!1),d=vt(null),c=()=>l?Q4():null,u=vt(),h=()=>{var t;s.value=!1,d.value&&d.value.destroy(),null==(t=e.onUpdateShow)||t.call(e,!1)};return{...(async t=>{var n;const{component:i,componentProps:s,onConfirm:p,onCancel:f,footer:m=!1,confirmText:v,cancelText:g,confirmButtonProps:b={type:"primary"},cancelButtonProps:y={type:"default"},..._}=t,x=vt({footer:m,confirmText:v,cancelText:g,confirmButtonProps:b,cancelButtonProps:y}),C=await(async()=>{if("function"==typeof i)try{const e=await i();return e.default||e}catch(Nte){return i}return i})(),{width:w,height:S}=await((e="50%")=>Array.isArray(e)?{width:"number"==typeof e[0]?e[0]+"px":e[0],height:"number"==typeof e[1]?e[1]+"px":e[1]}:{width:"number"==typeof e?e+"px":e,height:"auto"})(t.area),k=vt(),P=vt(),T=vt(!0),R=vt(!1),F=localStorage.getItem("activeLocales")||'"zhCN"',z=e=>{var t,n;const o=F.replace("-","_").replace(/"/g,"");return(null==(n=null==(t=b9[o])?void 0:t.useModal)?void 0:n[e])||b9.zhCN.useModal[e]},M=vt(z("cannotClose")),$={preset:"card",style:{width:w,height:S,..._.modalStyle},closeOnEsc:!1,maskClosable:!1,onClose:()=>{var e;return!T.value||R.value?(r.error(M.value),!1):(null==(e=P.value)||e.call(P),null==f||f((()=>{})),a(),!0)},content:()=>{const e=$n({setup:()=>(To(Ste,x),To(bte,h),To(wte,r),To(xte,(e=>{k.value=e})),To(Cte,(e=>{P.value=e})),To(yte,(e=>{T.value=e})),To(_te,((e,t)=>{R.value=e,M.value=t||z("cannotClose")})),{confirmHandler:k,cancelHandler:P,render:()=>Jr(C,{...s})}),render(){return this.render()}}),t=l?Jr(e):Jr(_ee,{},(()=>Jr(e)));return Jr(t,{ref:u})}},A=Qr((()=>{if(vte(x.value.footer)&&x.value.footer){const e=async()=>{var e;await(null==(e=k.value)?void 0:e.call(k,h)),await(null==p?void 0:p(h))},t=async()=>{var e;await(null==(e=P.value)?void 0:e.call(P,h)),await(null==f?void 0:f(h)),P.value||f||h()};return zr("div",{class:"flex justify-end"},[zr(SG,Ir({disabled:R.value},y,{style:{marginRight:"8px"},onClick:t}),{default:()=>[x.value.cancelText||z("cancel")]}),zr(SG,Ir({disabled:R.value},b,{onClick:e}),{default:()=>[x.value.confirmText||z("confirm")]})])}return null}));if(x.value.footer&&($.footer=()=>A.value),Object.assign($,_),l){const e=c();if(e)return d.value=e.create($),d.value}const O=o.create($);return d.value=O,null==(n=e.onUpdateShow)||n.call(e,!0),O})(e),updateShow:e=>{s.value=e},close:h,destroyAll:()=>{d.value&&(d.value.destroy(),d.value=null),s.value=!1;const e=c();e?e.destroyAll():o.destroyAll()}}},Rte=()=>Ro(Ste,vt({})),Fte=()=>Ro(bte,(()=>{})),zte=e=>{Ro(xte,(e=>{}))(e)},Mte=e=>{Ro(Cte,(e=>{}))(e)},$te=()=>Ro(yte,(e=>{})),Ate=()=>Ro(wte,{loading:e=>{},success:e=>{},error:e=>{},warning:e=>{},info:e=>{}}),Ote=()=>Ro(_te,((e,t)=>{})),Dte=()=>({options:Rte,close:Fte,confirm:zte,cancel:Mte,closeable:$te,message:Ate,loading:Ote}),Ite=$n({name:"App",setup:()=>()=>zr(_ee,null,{default:()=>[zr(ms,null,{default:({Component:e})=>zr(ha,{name:"route-slide",mode:"out-in"},{default:()=>[e&&Jr(e)]})})]})});if("undefined"!=typeof window){let e=function(){var e=document.body,t=document.getElementById("__svg__icons__dom__");t||((t=document.createElementNS("http://www.w3.org/2000/svg","svg")).style.position="absolute",t.style.width="0",t.style.height="0",t.id="__svg__icons__dom__",t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),t.innerHTML='',e.insertBefore(t,e.lastChild)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}const Bte={nospace:{mounted(e){e.addEventListener("input",(t=>{const n=t.target,o=n.value.replace(/\s+/g,"");n.value!==o&&(n.value=o,e.dispatchEvent(new Event("input",{bubbles:!0})))}))}}},Ete=ri(Ite);var Lte,jte;Ete.use(u9),Ete.use(Di),Ete.use(hA),Ete.mount("#app"),Lte=Ete,jte=Bte,Object.entries(jte).forEach((([e,t])=>{Lte.directive(e,t)})),(({router:e,i18n:t,pinia:n})=>{kte.i18n=t,kte.router=e,kte.pinia=n})({i18n:hA,router:u9,pinia:Di});export{pA as $,Ro as A,SG as B,hE as C,BA as D,LA as E,NA as F,jA as G,Jr as H,fE as I,Ft as J,HW as K,OQ as L,vE as M,rY as N,RD as O,NV as P,AW as Q,MK as R,Vq as S,ha as T,Y7 as U,Kt as V,To as W,KB as X,wr as Y,yr as Z,Fr as _,fee as a,O4 as a$,dQ as a0,m1 as a1,hJ as a2,V1 as a3,bs as a4,r8 as a5,u9 as a6,xs as a7,ms as a8,_6 as a9,GO as aA,RB as aB,Ir as aC,c9 as aD,cs as aE,IW as aF,hY as aG,NW as aH,Xa as aI,UB as aJ,lE as aK,fY as aL,uG as aM,cE as aN,DW as aO,KA as aP,IB as aQ,Y as aR,X as aS,g3 as aT,wQ as aU,Zn as aV,WA as aW,VA as aX,QB as aY,XO as aZ,eE as a_,CK as aa,z2 as ab,pee as ac,g0 as ad,N7 as ae,GD as af,VW as ag,tV as ah,LB as ai,xD as aj,GB as ak,HA as al,xY as am,aE as an,nE as ao,_1 as ap,oD as aq,pr as ar,tE as as,e0 as at,IV as au,bB as av,Q7 as aw,vK as ax,Jo as ay,wD as az,$r as b,Ra as b$,U7 as b0,YB as b1,t6 as b2,zY as b3,MV as b4,R5 as b5,dE as b6,UW as b7,JW as b8,oV as b9,rO as bA,tO as bB,o3 as bC,Uee as bD,Kee as bE,Yee as bF,qee as bG,ste as bH,gt as bI,xt as bJ,Fo as bK,Nr as bL,_t as bM,at as bN,mt as bO,G as bP,kt as bQ,pI as bR,fI as bS,mI as bT,qW as bU,DV as bV,rE as bW,L5 as bX,cD as bY,oO as bZ,on as b_,Zee as ba,See as bb,kee as bc,ete as bd,Qee as be,Hee as bf,Ree as bg,wee as bh,zee as bi,Aee as bj,Pee as bk,Fee as bl,Tee as bm,lte as bn,ite as bo,Nee as bp,Xee as bq,ute as br,Rte as bs,Fte as bt,n7 as bu,LY as bv,ht as bw,Bn as bx,qn as by,F7 as bz,zr as c,Mr as c0,qL as c1,QL as c2,IL as c3,WV as c4,x5 as c5,nO as c6,E4 as c7,Z2 as c8,xee as c9,oi as ca,Cee as cb,$n as d,xi as e,mee as f,vee as g,gee as h,kr as i,_7 as j,Tte as k,Qr as l,V9 as m,kJ as n,Kn as o,X3 as p,n6 as q,vt as r,Ci as s,BY as t,gs as u,P6 as v,a6 as w,er as x,S9 as y,Dte as z}; diff --git a/build/static/js/public-CCP70CLD.js b/build/static/js/public-CIep3lyx.js similarity index 71% rename from build/static/js/public-CCP70CLD.js rename to build/static/js/public-CIep3lyx.js index b9d6287..e527a3e 100644 --- a/build/static/js/public-CCP70CLD.js +++ b/build/static/js/public-CIep3lyx.js @@ -1 +1 @@ -import{c as o,d as s}from"./index-CTQigr-B.js";const e=s=>o("/v1/login/sign",s),g=()=>s.get("/v1/login/get_code"),i=()=>o("/v1/login/sign-out",{}),v=s=>o("/v1/overview/get_overviews",s);export{g as a,v as g,e as l,i as s}; +import{c as o,d as s}from"./index-DVPyxbgP.js";const e=s=>o("/v1/login/sign",s),g=()=>s.get("/v1/login/get_code"),i=()=>o("/v1/login/sign-out",{}),v=s=>o("/v1/overview/get_overviews",s);export{g as a,v as g,e as l,i as s}; diff --git a/build/static/js/setting-DGJTDRYI.js b/build/static/js/setting-pEP5KeW9.js similarity index 81% rename from build/static/js/setting-DGJTDRYI.js rename to build/static/js/setting-pEP5KeW9.js index 54312c5..77af540 100644 --- a/build/static/js/setting-DGJTDRYI.js +++ b/build/static/js/setting-pEP5KeW9.js @@ -1 +1 @@ -import{c as t}from"./index-CTQigr-B.js";const e=e=>t("/v1/setting/get_setting",e),r=e=>t("/v1/setting/save_setting",e),s=e=>t("/v1/report/add_report",e),o=e=>t("/v1/report/upd_report",e),a=e=>t("/v1/report/del_report",e),p=e=>t("/v1/report/notify_test",e),i=e=>t("/v1/report/get_list",e);export{i as a,s as b,a as d,e as g,r as s,p as t,o as u}; +import{c as t}from"./index-DVPyxbgP.js";const e=e=>t("/v1/setting/get_setting",e),r=e=>t("/v1/setting/save_setting",e),s=e=>t("/v1/report/add_report",e),o=e=>t("/v1/report/upd_report",e),a=e=>t("/v1/report/del_report",e),p=e=>t("/v1/report/notify_test",e),i=e=>t("/v1/report/get_list",e);export{i as a,s as b,a as d,e as g,r as s,p as t,o as u}; diff --git a/build/static/js/throttle-BHKGqXBF.js b/build/static/js/throttle-B9C3ruvZ.js similarity index 96% rename from build/static/js/throttle-BHKGqXBF.js rename to build/static/js/throttle-B9C3ruvZ.js index 3056362..e73eafe 100644 --- a/build/static/js/throttle-BHKGqXBF.js +++ b/build/static/js/throttle-B9C3ruvZ.js @@ -1 +1 @@ -import{c1 as t,c2 as n,c3 as i}from"./main-BFg_w1GP.js";var r=/\s/;var e=/^\s+/;function a(t){return t?t.slice(0,function(t){for(var n=t.length;n--&&r.test(t.charAt(n)););return n}(t)+1).replace(e,""):t}var o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;function v(i){if("number"==typeof i)return i;if(t(i))return NaN;if(n(i)){var r="function"==typeof i.valueOf?i.valueOf():i;i=n(r)?r+"":r}if("string"!=typeof i)return 0===i?i:+i;i=a(i);var e=u.test(i);return e||f.test(i)?c(i.slice(2),e?2:8):o.test(i)?NaN:+i}var s=function(){return i.Date.now()},l=Math.max,d=Math.min;function m(t,i,r){var e,a,o,u,f,c,m=0,p=!1,g=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(n){var i=e,r=a;return e=a=void 0,m=n,u=t.apply(r,i)}function y(t){var n=t-c;return void 0===c||n>=i||n<0||g&&t-m>=o}function T(){var t=s();if(y(t))return w(t);f=setTimeout(T,function(t){var n=i-(t-c);return g?d(n,o-(t-m)):n}(t))}function w(t){return f=void 0,h&&e?x(t):(e=a=void 0,u)}function E(){var t=s(),n=y(t);if(e=arguments,a=this,c=t,n){if(void 0===f)return function(t){return m=t,f=setTimeout(T,i),p?x(t):u}(c);if(g)return clearTimeout(f),f=setTimeout(T,i),x(c)}return void 0===f&&(f=setTimeout(T,i)),u}return i=v(i)||0,n(r)&&(p=!!r.leading,o=(g="maxWait"in r)?l(v(r.maxWait)||0,i):o,h="trailing"in r?!!r.trailing:h),E.cancel=function(){void 0!==f&&clearTimeout(f),m=0,e=c=a=f=void 0},E.flush=function(){return void 0===f?u:w(s())},E}function p(t,i,r){var e=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(r)&&(e="leading"in r?!!r.leading:e,a="trailing"in r?!!r.trailing:a),m(t,i,{leading:e,maxWait:i,trailing:a})}export{p as t}; +import{c1 as t,c2 as n,c3 as i}from"./main-BFwn2e3T.js";var r=/\s/;var e=/^\s+/;function a(t){return t?t.slice(0,function(t){for(var n=t.length;n--&&r.test(t.charAt(n)););return n}(t)+1).replace(e,""):t}var o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt;function v(i){if("number"==typeof i)return i;if(t(i))return NaN;if(n(i)){var r="function"==typeof i.valueOf?i.valueOf():i;i=n(r)?r+"":r}if("string"!=typeof i)return 0===i?i:+i;i=a(i);var e=u.test(i);return e||f.test(i)?c(i.slice(2),e?2:8):o.test(i)?NaN:+i}var s=function(){return i.Date.now()},l=Math.max,d=Math.min;function m(t,i,r){var e,a,o,u,f,c,m=0,p=!1,g=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function x(n){var i=e,r=a;return e=a=void 0,m=n,u=t.apply(r,i)}function y(t){var n=t-c;return void 0===c||n>=i||n<0||g&&t-m>=o}function T(){var t=s();if(y(t))return w(t);f=setTimeout(T,function(t){var n=i-(t-c);return g?d(n,o-(t-m)):n}(t))}function w(t){return f=void 0,h&&e?x(t):(e=a=void 0,u)}function E(){var t=s(),n=y(t);if(e=arguments,a=this,c=t,n){if(void 0===f)return function(t){return m=t,f=setTimeout(T,i),p?x(t):u}(c);if(g)return clearTimeout(f),f=setTimeout(T,i),x(c)}return void 0===f&&(f=setTimeout(T,i)),u}return i=v(i)||0,n(r)&&(p=!!r.leading,o=(g="maxWait"in r)?l(v(r.maxWait)||0,i):o,h="trailing"in r?!!r.trailing:h),E.cancel=function(){void 0!==f&&clearTimeout(f),m=0,e=c=a=f=void 0},E.flush=function(){return void 0===f?u:w(s())},E}function p(t,i,r){var e=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return n(r)&&(e="leading"in r?!!r.leading:e,a="trailing"in r?!!r.trailing:a),m(t,i,{leading:e,maxWait:i,trailing:a})}export{p as t}; diff --git a/build/static/js/useStore-CSzo38f-.js b/build/static/js/useStore-3Yigt-U3.js similarity index 90% rename from build/static/js/useStore-CSzo38f-.js rename to build/static/js/useStore-3Yigt-U3.js index 2ec8a36..aa76276 100644 --- a/build/static/js/useStore-CSzo38f-.js +++ b/build/static/js/useStore-3Yigt-U3.js @@ -1 +1 @@ -import{c as e,u as a}from"./index-CTQigr-B.js";import{e as o,s as t,r as l,$ as r}from"./main-BFg_w1GP.js";const w=a=>e("/v1/workflow/get_list",a),s=a=>e("/v1/workflow/del_workflow",a),c=a=>e("/v1/workflow/get_workflow_history",a),n=a=>e("/v1/workflow/get_exec_log",a),d=a=>e("/v1/workflow/execute_workflow",a),f=a=>e("/v1/workflow/exec_type",a),i=a=>e("/v1/workflow/active",a),u=o("work-edit-view-store",(()=>{const{handleError:o}=a(),t=l(!1),w=l(!1),s=l({id:"",name:"",content:"",active:"1",exec_type:"manual"}),c=l("quick"),n=l({id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}});return{isEdit:t,detectionRefresh:w,workflowData:s,workflowType:c,workDefalutNodeData:n,resetWorkflowData:()=>{s.value={id:"",name:"",content:"",active:"1",exec_type:"manual"},n.value={id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}},c.value="quick",t.value=!1},addNewWorkflow:async a=>{try{const{message:o,fetch:t}=(a=>e("/v1/workflow/add_workflow",a))(a);o.value=!0,await t()}catch(t){o(t).default(r("t_10_1745457486451"))}},updateWorkflowData:async a=>{try{const{message:o,fetch:t}=e("/v1/workflow/upd_workflow",a);o.value=!0,await t()}catch(t){o(t).default(r("t_11_1745457488256"))}}}})),k=()=>{const e=u();return{...e,...t(e)}};export{c as a,d as b,n as c,s as d,i as e,k as f,w as g,f as u}; +import{c as e,u as a}from"./index-DVPyxbgP.js";import{e as o,s as t,r as l,$ as r}from"./main-BFwn2e3T.js";const w=a=>e("/v1/workflow/get_list",a),s=a=>e("/v1/workflow/del_workflow",a),c=a=>e("/v1/workflow/get_workflow_history",a),n=a=>e("/v1/workflow/get_exec_log",a),d=a=>e("/v1/workflow/execute_workflow",a),f=a=>e("/v1/workflow/exec_type",a),i=a=>e("/v1/workflow/active",a),u=o("work-edit-view-store",(()=>{const{handleError:o}=a(),t=l(!1),w=l(!1),s=l({id:"",name:"",content:"",active:"1",exec_type:"manual"}),c=l("quick"),n=l({id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}});return{isEdit:t,detectionRefresh:w,workflowData:s,workflowType:c,workDefalutNodeData:n,resetWorkflowData:()=>{s.value={id:"",name:"",content:"",active:"1",exec_type:"manual"},n.value={id:"",name:"",childNode:{id:"start-1",name:"开始",type:"start",config:{exec_type:"manual"},childNode:null}},c.value="quick",t.value=!1},addNewWorkflow:async a=>{try{const{message:o,fetch:t}=(a=>e("/v1/workflow/add_workflow",a))(a);o.value=!0,await t()}catch(t){o(t).default(r("t_10_1745457486451"))}},updateWorkflowData:async a=>{try{const{message:o,fetch:t}=e("/v1/workflow/upd_workflow",a);o.value=!0,await t()}catch(t){o(t).default(r("t_11_1745457488256"))}}}})),k=()=>{const e=u();return{...e,...t(e)}};export{c as a,d as b,n as c,s as d,i as e,k as f,w as g,f as u}; diff --git a/build/static/js/useStore-JDVosxir.js b/build/static/js/useStore-BJbmyusH.js similarity index 82% rename from build/static/js/useStore-JDVosxir.js rename to build/static/js/useStore-BJbmyusH.js index 8bb5580..42754fc 100644 --- a/build/static/js/useStore-JDVosxir.js +++ b/build/static/js/useStore-BJbmyusH.js @@ -1 +1 @@ -import{e,s as a,r as t,l as o,$ as l}from"./main-BFg_w1GP.js";import{a as s,b as n}from"./index-DDxgyK5X.js";import{u as r}from"./index-CTQigr-B.js";import{a as i}from"./setting-DGJTDRYI.js";import{i as u}from"./access-B4X6xtmm.js";const m=e("layout-store",(()=>{const{handleError:e}=r(),a=s("layout-collapsed",!1),m=t([]),c=t([]),v=n("menu-active","home"),d=o((()=>"home"!==v.value?"var(--n-content-padding)":"0")),p=s("locales-active","zhCN"),h=t({mail:{name:l("t_68_1745289354676")},dingtalk:{name:l("t_32_1746773348993")},wecom:{name:l("t_33_1746773350932")},feishu:{name:l("t_34_1746773350153")},webhook:{name:"WebHook"}});return{isCollapsed:a,notifyProvider:m,dnsProvider:c,menuActive:v,layoutPadding:d,locales:p,pushSourceType:h,toggleCollapse:()=>{a.value=!a.value},handleCollapse:()=>{a.value=!0},handleExpand:()=>{a.value=!1},updateMenuActive:e=>{"logout"!==e&&(v.value=e)},resetDataInfo:()=>{v.value="home",sessionStorage.removeItem("menu-active")},fetchNotifyProvider:async()=>{try{m.value=[];const{data:e}=await i({p:1,search:"",limit:1e3}).fetch();m.value=(null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(a){e(a)}},fetchDnsProvider:async(a="")=>{try{c.value=[];const{data:e}=await u({type:a}).fetch();c.value=(null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(t){c.value=[],e(t)}},resetDnsProvider:()=>{c.value=[]}}})),c=()=>{const e=m();return{...e,...a(e)}};export{c as u}; +import{e,s as a,r as t,l as o,$ as l}from"./main-BFwn2e3T.js";import{a as s,b as n}from"./index-rVZjvqYb.js";import{u as r}from"./index-DVPyxbgP.js";import{a as i}from"./setting-pEP5KeW9.js";import{i as u}from"./access-FhEUImRw.js";const m=e("layout-store",(()=>{const{handleError:e}=r(),a=s("layout-collapsed",!1),m=t([]),c=t([]),v=n("menu-active","home"),d=o((()=>"home"!==v.value?"var(--n-content-padding)":"0")),p=s("locales-active","zhCN"),h=t({mail:{name:l("t_68_1745289354676")},dingtalk:{name:l("t_32_1746773348993")},wecom:{name:l("t_33_1746773350932")},feishu:{name:l("t_34_1746773350153")},webhook:{name:"WebHook"}});return{isCollapsed:a,notifyProvider:m,dnsProvider:c,menuActive:v,layoutPadding:d,locales:p,pushSourceType:h,toggleCollapse:()=>{a.value=!a.value},handleCollapse:()=>{a.value=!0},handleExpand:()=>{a.value=!1},updateMenuActive:e=>{"logout"!==e&&(v.value=e)},resetDataInfo:()=>{v.value="home",sessionStorage.removeItem("menu-active")},fetchNotifyProvider:async()=>{try{m.value=[];const{data:e}=await i({p:1,search:"",limit:1e3}).fetch();m.value=(null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(a){e(a)}},fetchDnsProvider:async(a="")=>{try{c.value=[];const{data:e}=await u({type:a}).fetch();c.value=(null==e?void 0:e.map((e=>({label:e.name,value:e.id.toString(),type:e.type}))))||[]}catch(t){c.value=[],e(t)}},resetDnsProvider:()=>{c.value=[]}}})),c=()=>{const e=m();return{...e,...a(e)}};export{c as u}; diff --git a/frontend/apps/allin-ssl/cache/translation_cache.json b/frontend/apps/allin-ssl/cache/translation_cache.json index 05f6bec..f046125 100644 --- a/frontend/apps/allin-ssl/cache/translation_cache.json +++ b/frontend/apps/allin-ssl/cache/translation_cache.json @@ -1,10626 +1,10592 @@ { - "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。": { - "text": "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。", - "key": "t_0_1744098811152", - "translations": { - "zhCN": "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。", - "zhTW": "警告:您已進入未知區域,所訪問的頁面不存在,請點擊按鈕返回首頁。", - "enUS": "Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.", - "jaJP": "警告:未知のエリアに進入しました。アクセスしようとしたページは存在しません。ボタンをクリックしてホームページに戻ってください。", - "koKR": "경고: 알 수 없는 영역에 진입했습니다. 방문하려는 페이지가 존재하지 않습니다. 버튼을 클릭하여 홈페이지로 돌아가세요。", - "ruRU": "Предупреждение: Вы вошли в неизвестную зону, посещаемая страница не существует, пожалуйста, нажмите кнопку, чтобы вернуться на главную страницу.", - "ptBR": "Aviso: Você entrou em uma área desconhecida, a página que você está visitando não existe, por favor, clique no botão para voltar para a página inicial.", - "frFR": "Avertissement : Vous avez entré dans une zone inconnue, la page que vous visitez n'existe pas, veuillez cliquer sur le bouton pour revenir à la page d'accueil.", - "esAR": "Advertencia: Ha ingresado a una zona desconocida, la página que intenta visitar no existe, por favor, haga clic en el botón para regresar a la página de inicio.", - "arDZ": "تحذير: لقد دخلتم منطقة غير معروفة، الصفحة التي تحاول زيارتها غير موجودة، يرجى الضغط على الزر للعودة إلى الصفحة الرئيسية." - }, - "timestamp": "2025-04-08T07:53:31.152Z" - }, - "返回首页": { - "text": "返回首页", - "key": "t_1_1744098801860", - "translations": { - "zhCN": "返回首页", - "zhTW": "返回首頁", - "enUS": "Return Home", - "jaJP": "ホームに戻る", - "koKR": "홈으로 돌아가기", - "ruRU": "Вернуться на главную", - "ptBR": "Voltar para a homepage", - "frFR": "Retour à l'accueil", - "esAR": "Volver al inicio", - "arDZ": "رجوع إلى الصفحة الرئيسية" - }, - "timestamp": "2025-04-08T07:53:31.153Z" - }, - "安全提示:如果您认为这是个错误,请立即联系管理员": { - "text": "安全提示:如果您认为这是个错误,请立即联系管理员", - "key": "t_2_1744098804908", - "translations": { - "zhCN": "安全提示:如果您认为这是个错误,请立即联系管理员", - "zhTW": "安全提示:如果您認為這是個錯誤,請立即聯繫管理員", - "enUS": "Safety Tip: If you think this is an error, please contact the administrator immediately", - "jaJP": "安全注意:これが誤りだと思われる場合は、すぐに管理者に連絡してください", - "koKR": "안전 유의사항: 이가 오류라면 즉시 관리자에게 연락하십시오", - "ruRU": "Совет по безопасности: Если вы считаете, что это ошибка, немедленно свяжитесь с администратором", - "ptBR": "Dica de Segurança: Se você acha que isso é um erro, entre em contato com o administrador imediatamente", - "frFR": "Avis de sécurité : Si vous pensez que c'est une erreur, veuillez contacter l'administrateur immédiatement", - "esAR": "Consejo de seguridad: Si piensa que es un error, póngase en contacto con el administrador inmediatamente", - "arDZ": "نصيحة أمنية: إذا كنت تعتقد أن هذا خطأ، يرجى الاتصال بالمدير على الفور" - }, - "timestamp": "2025-04-08T07:53:31.153Z" - }, - "展开主菜单": { - "text": "展开主菜单", - "key": "t_3_1744098802647", - "translations": { - "zhCN": "展开主菜单", - "zhTW": "展開主菜單", - "enUS": "Expand Main Menu", - "jaJP": "メインメニューを展開する", - "koKR": "메인 메뉴 펼치기", - "ruRU": "Развернуть главное меню", - "ptBR": "Expandir o menu principal", - "frFR": "Développer le menu principal", - "esAR": "Expandir el menú principal", - "arDZ": "افتح القائمة الرئيسية" - }, - "timestamp": "2025-04-08T07:53:31.153Z" - }, - "折叠主菜单": { - "text": "折叠主菜单", - "key": "t_4_1744098802046", - "translations": { - "zhCN": "折叠主菜单", - "zhTW": "折疊主菜單", - "enUS": "Foldout Main Menu", - "jaJP": "折りたたみメインメニュー", - "koKR": "접기 메인 메뉴", - "ruRU": "Сворачиваемое главное меню", - "ptBR": "Menu principal dobrável", - "frFR": "Menu principal pliable", - "esAR": "Menú principal plegable", - "arDZ": "القائمة الرئيسية القابلة للطي" - }, - "timestamp": "2025-04-08T07:53:31.153Z" - }, - "AllinSSL": { - "text": "AllinSSL", - "key": "t_1_1744164835667", - "translations": { - "zhCN": "AllinSSL", - "zhTW": "AllinSSL", - "enUS": "AllinSSL", - "jaJP": "AllinSSL", - "koKR": "AllinSSL", - "ruRU": "AllinSSL", - "ptBR": "AllinSSL", - "frFR": "AllinSSL", - "esAR": "AllinSSL", - "arDZ": "AllinSSL" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "账号登录": { - "text": "账号登录", - "key": "t_2_1744164839713", - "translations": { - "zhCN": "账号登录", - "zhTW": "帳號登錄", - "enUS": "Account Login", - "jaJP": "アカウントログイン", - "koKR": "계정 로그인", - "ruRU": "Вход в аккаунт", - "ptBR": "Login de Conta", - "frFR": "Connexion du compte", - "esAR": "Iniciar sesión en la cuenta", - "arDZ": "دخول الحساب" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "请输入用户名": { - "text": "请输入用户名", - "key": "t_3_1744164839524", - "translations": { - "zhCN": "请输入用户名", - "zhTW": "請輸入用戶名", - "enUS": "Please enter the username", - "jaJP": "ユーザー名を入力してください", - "koKR": "사용자 이름을 입력하세요", - "ruRU": "Введите имя пользователя", - "ptBR": "Por favor, insira o nome de usuário", - "frFR": "Veuillez saisir le nom d'utilisateur", - "esAR": "Por favor, ingrese el nombre de usuario", - "arDZ": "من فضلك أدخل اسم المستخدم" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "请输入密码": { - "text": "请输入密码", - "key": "t_4_1744164840458", - "translations": { - "zhCN": "请输入密码", - "zhTW": "請輸入密碼", - "enUS": "Please enter the password", - "jaJP": "パスワードを入力してください", - "koKR": "비밀번호를 입력하세요", - "ruRU": "Введіть пароль", - "ptBR": "Por favor, insira a senha", - "frFR": "Veuillez saisir le mot de passe", - "esAR": "Por favor, ingrese la contraseña", - "arDZ": "من فضلك أدخل كلمة المرور" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "记住密码": { - "text": "记住密码", - "key": "t_5_1744164840468", - "translations": { - "zhCN": "记住密码", - "zhTW": "記住密碼", - "enUS": "Remember Password", - "jaJP": "パスワードを覚える", - "koKR": "암호를 기억하다", - "ruRU": "Запомнить пароль", - "ptBR": "Lembrar senha", - "frFR": "Rappelez-vous du mot de passe", - "esAR": "Recordar contraseña", - "arDZ": "تذكر كلمة المرور" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "忘记密码": { - "text": "忘记密码", - "key": "t_6_1744164838900", - "translations": { - "zhCN": "忘记密码", - "zhTW": "忘記密碼", - "enUS": "Forget password", - "jaJP": "パスワードを忘れたら", - "koKR": "비밀번호를 잊었나요?", - "ruRU": "Забыли пароль?", - "ptBR": "Esqueceu sua senha?", - "frFR": "Oublié votre mot de passe?", - "esAR": "¿Olvidaste tu contraseña?", - "arDZ": "هل نسيت كلمة المرور؟" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "登录中": { - "text": "登录中", - "key": "t_7_1744164838625", - "translations": { - "zhCN": "登录中", - "zhTW": "登錄中", - "enUS": "Logging in", - "jaJP": "ログイン中", - "koKR": "로그인 중", - "ruRU": "Вход в систему", - "ptBR": "Entrando", - "frFR": "En cours de connexion", - "esAR": "Logueándose", - "arDZ": "في إجراء الدخول" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "登录": { - "text": "登录", - "key": "t_8_1744164839833", - "translations": { - "zhCN": "登录", - "zhTW": "登錄", - "enUS": "Login", - "jaJP": "ログイン", - "koKR": "로그인", - "ruRU": "Вход", - "ptBR": "Entrar", - "frFR": "Se connecter", - "esAR": "Iniciar sesión", - "arDZ": "تسجيل الدخول" - }, - "timestamp": "2025-04-09T02:14:03.240Z" - }, - "首页": { - "text": "首页", - "key": "t_0_1744258111441", - "translations": { - "zhCN": "首页", - "zhTW": "首頁", - "enUS": "Home", - "jaJP": "ホーム", - "koKR": "홈", - "ruRU": "Главная", - "ptBR": "Início", - "frFR": "Accueil", - "esAR": "Inicio", - "arDZ": "الصفحة الرئيسية" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "自动化部署": { - "text": "自动化部署", - "key": "t_1_1744258113857", - "translations": { - "zhCN": "自动化部署", - "zhTW": "自動部署", - "enUS": "Automation Deployment", - "jaJP": "自動デプロイメント", - "koKR": "자동 배포", - "ruRU": "Автоматическая部署", - "ptBR": "Implantação Automatizada", - "frFR": "Déploiement Automatisé", - "esAR": "Despliegue Automatizado", - "arDZ": "توزيع آلي" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "证书管理": { - "text": "证书管理", - "key": "t_2_1744258111238", - "translations": { - "zhCN": "证书管理", - "zhTW": "證書管理", - "enUS": "Certificate Management", - "jaJP": "証明書管理", - "koKR": "서비스 관리", - "ruRU": "Управление сертификатами", - "ptBR": "Gestão de Certificados", - "frFR": "Gestion des certificats", - "esAR": "Gestión de certificados", - "arDZ": "إدارة الشهادات" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "证书申请": { - "text": "证书申请", - "key": "t_3_1744258111182", - "translations": { - "zhCN": "证书申请", - "zhTW": "證書申請", - "enUS": "Certificate Application", - "jaJP": "証明書申請", - "koKR": "서류 신청", - "ruRU": "Заявка на сертификат", - "ptBR": "Aplicação de certificado", - "frFR": "Demande de certificat", - "esAR": "Solicitud de certificado", - "arDZ": "طلب شهادة" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "授权API管理": { - "text": "授权API管理", - "key": "t_4_1744258111238", - "translations": { - "zhCN": "授权API管理", - "zhTW": "授權API管理", - "enUS": "Authorization API Management", - "jaJP": "認証API管理", - "koKR": "인증 API 관리", - "ruRU": "Управление API авторизации", - "ptBR": "Gerenciamento de API de autorização", - "frFR": "Gestion de l'API d'autorisation", - "esAR": "Gestión de API de autorización", - "arDZ": "إدارة API التصريح" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "监控": { - "text": "监控", - "key": "t_5_1744258110516", - "translations": { - "zhCN": "监控", - "zhTW": "監控", - "enUS": "Monitoring", - "jaJP": "監視", - "koKR": "감시", - "ruRU": "Мониторинг", - "ptBR": "Monitoramento", - "frFR": "Surveillance", - "esAR": "Monitoreo", - "arDZ": "مراقبة" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "设置": { - "text": "设置", - "key": "t_6_1744258111153", - "translations": { - "zhCN": "设置", - "zhTW": "設定", - "enUS": "Settings", - "jaJP": "設定", - "koKR": "설정", - "ruRU": "Настройки", - "ptBR": "Configurações", - "frFR": "Paramètres", - "esAR": "Ajustes", - "arDZ": "إعدادات" - }, - "timestamp": "2025-04-10T04:08:33.857Z" - }, - "返回工作流列表": { - "text": "返回工作流列表", - "key": "t_0_1744861190562", - "translations": { - "zhCN": "返回工作流列表", - "zhTW": "返回工作流程列表", - "enUS": "Return workflow list", - "jaJP": "ワークフローリストの返信", - "koKR": "워크플로우 목록 반환", - "ruRU": "Возврат списка workflows", - "ptBR": "Retornar lista de fluxos de trabalho", - "frFR": "Renvoyer la liste des flux de travail", - "esAR": "Retornar lista de flujos de trabajo", - "arDZ": "إرجاع قائمة عملية العمل" - }, - "timestamp": "2025-04-17T03:39:54.395Z" - }, - "运行": { - "text": "运行", - "key": "t_1_1744861189113", - "translations": { - "zhCN": "运行", - "zhTW": "運行", - "enUS": "Run", - "jaJP": "実行", - "koKR": "실행", - "ruRU": "Запуск", - "ptBR": "Executar", - "frFR": "Exécuter", - "esAR": "Ejecutar", - "arDZ": "تشغيل" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "保存": { - "text": "保存", - "key": "t_2_1744861190040", - "translations": { - "zhCN": "保存", - "zhTW": "儲存", - "enUS": "Save", - "jaJP": "保存する", - "koKR": "저장", - "ruRU": "Сохранить", - "ptBR": "Salvar", - "frFR": "Sauvegarder", - "esAR": "Guardar", - "arDZ": "حفظ" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "请选择一个节点进行配置": { - "text": "请选择一个节点进行配置", - "key": "t_3_1744861190932", - "translations": { - "zhCN": "请选择一个节点进行配置", - "zhTW": "請選擇一個節點進行配置", - "enUS": "Please select a node to configure", - "jaJP": "設定するノードを選んでください", - "koKR": "구성할 노드를 선택하세요", - "ruRU": "Выберите узел для конфигурации", - "ptBR": "Selecione um nó para configurar", - "frFR": "Veuillez sélectionner un nœud à configurer", - "esAR": "Seleccione un nodo para configurar", - "arDZ": "أختر عقدة لتكوينها" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "点击左侧流程图中的节点来配置它": { - "text": "点击左侧流程图中的节点来配置它", - "key": "t_4_1744861194395", - "translations": { - "zhCN": "点击左侧流程图中的节点来配置它", - "zhTW": "點擊左側流程圖中的節點來配置它", - "enUS": "Click on the node in the left-side workflow diagram to configure it", - "jaJP": "左側のフローウォークダイアグラムのノードをクリックして設定してください", - "koKR": "왼쪽의 프로세스 다이어그램에서 노드를 클릭하여 설정하세요", - "ruRU": "Нажмите на узел в левой части схематического процесса, чтобы настроить его", - "ptBR": "Clique no nó do diagrama de workflow do lado esquerdo para configurá-lo", - "frFR": "Clique sur le nœud dans le diagramme de flux de gauche pour le configurer", - "esAR": "Haga clic en el nodo del diagrama de flujo en la parte izquierda para configurarlo", - "arDZ": "انقر على النقطة في الشريحة اليسرى من مخطط العمل لتزويده بالتكوين" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "开始": { - "text": "开始", - "key": "t_5_1744861189528", - "translations": { - "zhCN": "开始", - "zhTW": "開始", - "enUS": "Start", - "jaJP": "始めます", - "koKR": "시작", - "ruRU": "начать", - "ptBR": "iniciar", - "frFR": "commencer", - "esAR": "comenzar", - "arDZ": "تبدأ" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "未选择节点": { - "text": "未选择节点", - "key": "t_6_1744861190121", - "translations": { - "zhCN": "未选择节点", - "zhTW": "未選擇節點", - "enUS": "No node selected", - "jaJP": "ノードを選択していない", - "koKR": "노드를 선택하지 않았습니다", - "ruRU": "Элемент не выбран", - "ptBR": "Nenhum nó selected", - "frFR": "Aucun noeud sélectionné", - "esAR": "Nodo no seleccionado", - "arDZ": "لم يتم اختيار العقدة" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "配置已保存": { - "text": "配置已保存", - "key": "t_7_1744861189625", - "translations": { - "zhCN": "配置已保存", - "zhTW": "配置已保存", - "enUS": "Configuration saved", - "jaJP": "設定が保存されました", - "koKR": "설정이 저장되었습니다", - "ruRU": "Конфигурация сохранена", - "ptBR": "Configuração salva", - "frFR": "Configuration enregistrée", - "esAR": "Configuración guardada", - "arDZ": "تم حفظ الإعدادات" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "开始运行流程": { - "text": "开始运行流程", - "key": "t_8_1744861189821", - "translations": { - "zhCN": "开始运行流程", - "zhTW": "開始執行流程", - "enUS": "Start the workflow", - "jaJP": "ワークフローの開始", - "koKR": "워크플로우 시작", - "ruRU": "Начать процесс", - "ptBR": "Iniciar fluxo de trabalho", - "frFR": "Démarrer le processus", - "esAR": "Iniciar flujo de trabajo", - "arDZ": "بدء عملية العمل" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "选中节点:": { - "text": "选中节点:", - "key": "t_9_1744861189580", - "translations": { - "zhCN": "选中节点:", - "zhTW": "選中節點:", - "enUS": "Selected node:", - "jaJP": "選択ノード:", - "koKR": "선택된 노드:", - "ruRU": "Выбранный узел:", - "ptBR": "Nó selecionado:", - "frFR": "Nœud sélectionné :", - "esAR": "Nodo seleccionado:", - "arDZ": "النقطة المختارة:" - }, - "timestamp": "2025-04-17T03:39:54.396Z" - }, - "节点": { - "text": "节点", - "key": "t_0_1744870861464", - "translations": { - "zhCN": "节点", - "zhTW": "節點", - "enUS": "Node", - "jaJP": "ノード", - "koKR": "노드", - "ruRU": "узел", - "ptBR": "nó", - "frFR": "nœud", - "esAR": "nodo", - "arDZ": "نقطة" - }, - "timestamp": "2025-04-17T06:21:04.616Z" - }, - "节点配置": { - "text": "节点配置", - "key": "t_1_1744870861944", - "translations": { - "zhCN": "节点配置", - "zhTW": "節點配置", - "enUS": "Node Configuration", - "jaJP": "ノード設定", - "koKR": "노드 설정", - "ruRU": "Конфигурация узла", - "ptBR": "Configuração de nó", - "frFR": "Configuration de noeud", - "esAR": "Configuración de nodo", - "arDZ": "إعداد العقدة" - }, - "timestamp": "2025-04-17T06:21:04.616Z" - }, - "请选择左侧节点进行配置": { - "text": "请选择左侧节点进行配置", - "key": "t_2_1744870863419", - "translations": { - "zhCN": "请选择左侧节点进行配置", - "zhTW": "請選擇左側節點進行配置", - "enUS": "Please select the left node for configuration", - "jaJP": "左側のノードを選択して設定してください", - "koKR": "왼쪽 노드를 선택하여 설정하세요", - "ruRU": "Выберите левый узел для настройки", - "ptBR": "Selecione o nó esquerdo para configuração", - "frFR": "Veuillez sélectionner le nœud de gauche pour la configuration", - "esAR": "Seleccione el nodo izquierdo para la configuración", - "arDZ": "يرجى اختيار العقدة اليسرى للتكوين" - }, - "timestamp": "2025-04-17T06:21:04.616Z" - }, - "未找到该节点类型的配置组件": { - "text": "未找到该节点类型的配置组件", - "key": "t_3_1744870864615", - "translations": { - "zhCN": "未找到该节点类型的配置组件", - "zhTW": "未找到該節點類型的配置組件", - "enUS": "Configuration component for this node type not found", - "jaJP": "このノードタイプの設定コンポーネントが見つかりませんでした", - "koKR": "이 노드 유형의 구성 구성 요소를 찾을 수 없습니다", - "ruRU": "Не найден компонент конфигурации для этого типа узла", - "ptBR": "Componente de configuração para esse tipo de nó não encontrado", - "frFR": "Composant de configuration pour ce type de noeud introuvable", - "esAR": "No se encontró el componente de configuración para este tipo de nodo", - "arDZ": "لم يتم العثور على مكون التكوين لهذا النوع من العقد" - }, - "timestamp": "2025-04-17T06:21:04.616Z" - }, - "取消": { - "text": "取消", - "key": "t_4_1744870861589", - "translations": { - "zhCN": "取消", - "zhTW": "取消", - "enUS": "Cancel", - "jaJP": "キャンセル", - "koKR": "취소", - "ruRU": "Отменить", - "ptBR": "Cancelar", - "frFR": "Annuler", - "esAR": "Cancelar", - "arDZ": "إلغاء" - }, - "timestamp": "2025-04-17T06:21:04.616Z" - }, - "确定": { - "text": "确定", - "key": "t_5_1744870862719", - "translations": { - "zhCN": "确定", - "zhTW": "確定", - "enUS": "Confirm", - "jaJP": "確定", - "koKR": "확인", - "ruRU": "подтвердить", - "ptBR": "confirmar", - "frFR": "confirmer", - "esAR": "confirmar", - "arDZ": "تحديد" - }, - "timestamp": "2025-04-17T06:21:04.616Z" - }, - "每分钟": { - "text": "每分钟", - "key": "t_0_1744875938285", - "translations": { - "zhCN": "每分钟", - "zhTW": "每分鐘", - "enUS": "Every minute", - "jaJP": "分ごとに", - "koKR": "분마다", - "ruRU": "каждую минуту", - "ptBR": "a cada minuto", - "frFR": "à chaque minute", - "esAR": "cada minuto", - "arDZ": "كل دقيقة" - }, - "timestamp": "2025-04-17T07:45:40.750Z" - }, - "每小时": { - "text": "每小时", - "key": "t_1_1744875938598", - "translations": { - "zhCN": "每小时", - "zhTW": "每小時", - "enUS": "Each hour", - "jaJP": "毎時間", - "koKR": "매 시간", - "ruRU": "каждый час", - "ptBR": "a cada hora", - "frFR": "chaque heure", - "esAR": "cada hora", - "arDZ": "كل ساعة" - }, - "timestamp": "2025-04-17T07:45:40.750Z" - }, - "每天": { - "text": "每天", - "key": "t_2_1744875938555", - "translations": { - "zhCN": "每天", - "zhTW": "每天", - "enUS": "Every day", - "jaJP": "毎日", - "koKR": "매일", - "ruRU": "каждый день", - "ptBR": "cada dia", - "frFR": "chaque jour", - "esAR": "cada día", - "arDZ": "كل يوم" - }, - "timestamp": "2025-04-17T07:45:40.750Z" - }, - "每月": { - "text": "每月", - "key": "t_3_1744875938310", - "translations": { - "zhCN": "每月", - "zhTW": "每月", - "enUS": "Each month", - "jaJP": "毎月", - "koKR": "매월", - "ruRU": "каждый месяц", - "ptBR": "cada mês", - "frFR": "chaque mois", - "esAR": "cada mes", - "arDZ": "كل شهر" - }, - "timestamp": "2025-04-17T07:45:40.750Z" - }, - "自动执行": { - "text": "自动执行", - "key": "t_4_1744875940750", - "translations": { - "zhCN": "自动执行", - "zhTW": "自動執行", - "enUS": "Automatic execution", - "jaJP": "自動実行", - "koKR": "자동 실행", - "ruRU": "Автоматическое выполнение", - "ptBR": "Execução automática", - "frFR": "Exécution automatique", - "esAR": "Ejecución automática", - "arDZ": "تنفيذ تلقائي" - }, - "timestamp": "2025-04-17T07:45:40.750Z" - }, - "手动执行": { - "text": "手动执行", - "key": "t_5_1744875940010", - "translations": { - "zhCN": "手动执行", - "zhTW": "手動執行", - "enUS": "Manual execution", - "jaJP": "手動実行", - "koKR": "수동 실행", - "ruRU": "Ручное выполнение", - "ptBR": "Execução manual", - "frFR": "Exécution manuelle", - "esAR": "Ejecución manual", - "arDZ": "تنفيذ يدوي" - }, - "timestamp": "2025-04-17T07:45:40.750Z" - }, - "测试PID": { - "text": "测试PID", - "key": "t_0_1744879616135", - "translations": { - "zhCN": "测试PID", - "zhTW": "測試PID", - "enUS": "Test PID", - "jaJP": "テストPID", - "koKR": "테스트PID", - "ruRU": "Тест PID", - "ptBR": "Teste PID", - "frFR": "Test PID", - "esAR": "Test PID", - "arDZ": "اختبار PID" - }, - "timestamp": "2025-04-17T08:46:56.944Z" - }, - "请输入测试PID": { - "text": "请输入测试PID", - "key": "t_1_1744879616555", - "translations": { - "zhCN": "请输入测试PID", - "zhTW": "請輸入測試PID", - "enUS": "Please enter the test PID", - "jaJP": "テストPIDを入力してください", - "koKR": "테스트 PID를 입력하세요", - "ruRU": "Введите тестовый PID", - "ptBR": "Por favor, insira o PID de teste", - "frFR": "Veuillez saisir le PID de test", - "esAR": "Por favor, ingrese el PID de prueba", - "arDZ": "الرجاء إدخال PID الاختباري" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "执行周期": { - "text": "执行周期", - "key": "t_2_1744879616413", - "translations": { - "zhCN": "执行周期", - "zhTW": "執行周期", - "enUS": "Execution cycle", - "jaJP": "実行サイクル", - "koKR": "실행 주기", - "ruRU": "Период выполнения", - "ptBR": "Período de execução", - "frFR": "Cycle d'exécution", - "esAR": "Período de ejecución", - "arDZ": "فترة التنفيذ" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "分钟": { - "text": "分钟", - "key": "t_3_1744879615723", - "translations": { - "zhCN": "分钟", - "zhTW": "分鐘", - "enUS": "minute", - "jaJP": "分", - "koKR": "분", - "ruRU": "минута", - "ptBR": "minuto", - "frFR": "minute", - "esAR": "minuto", - "arDZ": "دقيقة" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "请输入分钟": { - "text": "请输入分钟", - "key": "t_4_1744879616168", - "translations": { - "zhCN": "请输入分钟", - "zhTW": "請輸入分鐘", - "enUS": "Please enter minutes", - "jaJP": "分を入力してください", - "koKR": "분을 입력하세요", - "ruRU": "Введите минуты", - "ptBR": "Por favor, insira os minutos", - "frFR": "Veuillez saisir les minutes", - "esAR": "Por favor, ingrese minutos", - "arDZ": "من فضلك، أدخل الدقائق" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "小时": { - "text": "小时", - "key": "t_5_1744879615277", - "translations": { - "zhCN": "小时", - "zhTW": "小時", - "enUS": "hour", - "jaJP": "時間", - "koKR": "시간", - "ruRU": "час", - "ptBR": "hora", - "frFR": "heure", - "esAR": "hora", - "arDZ": "ساعة" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "请输入小时": { - "text": "请输入小时", - "key": "t_6_1744879616944", - "translations": { - "zhCN": "请输入小时", - "zhTW": "請輸入小時", - "enUS": "Please enter hours", - "jaJP": "時間を入力してください", - "koKR": "시간을 입력하세요", - "ruRU": "Введіть часы", - "ptBR": "Por favor, insira as horas", - "frFR": "Veuillez saisir des heures", - "esAR": "Por favor, introduzca las horas", - "arDZ": "الرجاء إدخال الساعات" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "日期": { - "text": "日期", - "key": "t_7_1744879615743", - "translations": { - "zhCN": "日期", - "zhTW": "日期", - "enUS": "Date", - "jaJP": "日付", - "koKR": "날짜", - "ruRU": "Дата", - "ptBR": "Data", - "frFR": "Date", - "esAR": "Fecha", - "arDZ": "التاريخ" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "请选择日期": { - "text": "请选择日期", - "key": "t_8_1744879616493", - "translations": { - "zhCN": "请选择日期", - "zhTW": "請選擇日期", - "enUS": "Please select a date", - "jaJP": "日付を選択してください", - "koKR": "날짜를 선택하세요", - "ruRU": "Выберите дату", - "ptBR": "Selecione a data", - "frFR": "Sélectionnez une date", - "esAR": "Seleccione una fecha", - "arDZ": "اختر التاريخ" - }, - "timestamp": "2025-04-17T08:46:56.945Z" - }, - "每星期": { - "text": "每星期", - "key": "t_0_1744942117992", - "translations": { - "zhCN": "每周", - "zhTW": "每週", - "enUS": "Every week", - "jaJP": "毎週", - "koKR": "매 주", - "ruRU": "каждую неделю", - "ptBR": "cada semana", - "frFR": "chaque semaine", - "esAR": "cada semana", - "arDZ": "كل أسبوع" - }, - "timestamp": "2025-04-18T02:08:37.992Z" - }, - "周一": { - "text": "周一", - "key": "t_1_1744942116527", - "translations": { - "zhCN": "周一", - "zhTW": "星期一", - "enUS": "Monday", - "jaJP": "月曜日", - "koKR": "월요일", - "ruRU": "понедельник", - "ptBR": "segunda-feira", - "frFR": "lundi", - "esAR": "lunes", - "arDZ": "الإثنين" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "周二": { - "text": "周二", - "key": "t_2_1744942117890", - "translations": { - "zhCN": "周二", - "zhTW": "星期二", - "enUS": "Tuesday", - "jaJP": "火曜日", - "koKR": "화요일", - "ruRU": "вторник", - "ptBR": "terça-feira", - "frFR": "mardi", - "esAR": "martes", - "arDZ": "الثلاثاء" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "周三": { - "text": "周三", - "key": "t_3_1744942117885", - "translations": { - "zhCN": "周三", - "zhTW": "星期三", - "enUS": "Wednesday", - "jaJP": "水曜日", - "koKR": "수요일", - "ruRU": "Среда", - "ptBR": "Quarta-feira", - "frFR": "Mercredi", - "esAR": "Miércoles", - "arDZ": "الأربعاء" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "周四": { - "text": "周四", - "key": "t_4_1744942117738", - "translations": { - "zhCN": "周四", - "zhTW": "週四", - "enUS": "Thursday", - "jaJP": "木曜日", - "koKR": "목요일", - "ruRU": "четверг", - "ptBR": "quarta-feira", - "frFR": "jeudi", - "esAR": "jueves", - "arDZ": "الخميس" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "周五": { - "text": "周五", - "key": "t_5_1744942117167", - "translations": { - "zhCN": "周五", - "zhTW": "週五", - "enUS": "Friday", - "jaJP": "金曜日", - "koKR": "금요일", - "ruRU": "пятница", - "ptBR": "quinta-feira", - "frFR": "vendredi", - "esAR": "viernes", - "arDZ": "الجمعة" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "周六": { - "text": "周六", - "key": "t_6_1744942117815", - "translations": { - "zhCN": "周六", - "zhTW": "週六", - "enUS": "Saturday", - "jaJP": "土曜日", - "koKR": "토요일", - "ruRU": "суббота", - "ptBR": "sábado", - "frFR": "samedi", - "esAR": "sábado", - "arDZ": "السبت" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "周日": { - "text": "周日", - "key": "t_7_1744942117862", - "translations": { - "zhCN": "周日", - "zhTW": "週日", - "enUS": "Sunday", - "jaJP": "日曜日", - "koKR": "일요일", - "ruRU": "воскресенье", - "ptBR": "domingo", - "frFR": "dimanche", - "esAR": "domingo", - "arDZ": "الأحد" - }, - "timestamp": "2025-04-18T02:08:37.993Z" - }, - "请输入域名": { - "text": "请输入域名", - "key": "t_0_1744958839535", - "translations": { - "zhCN": "请输入域名", - "zhTW": "請輸入域名", - "enUS": "Please enter the domain name", - "jaJP": "ドメイン名を入力してください", - "koKR": "도메인 이름을 입력하세요", - "ruRU": "Введите доменное имя", - "ptBR": "Por favor, insira o nome do domínio", - "frFR": "Veuillez saisir le nom de domaine", - "esAR": "Por favor, ingrese el nombre de dominio", - "arDZ": "الرجاء إدخال اسم النطاق" - }, - "timestamp": "2025-04-18T06:47:40.078Z" - }, - "请输入邮箱": { - "text": "请输入邮箱", - "key": "t_1_1744958840747", - "translations": { - "zhCN": "请输入邮箱", - "zhTW": "請輸入郵箱", - "enUS": "Please enter your email", - "jaJP": "メールを入力してください", - "koKR": "이메일을 입력하세요", - "ruRU": "Введите адрес электронной почты", - "ptBR": "Por favor, insira seu e-mail", - "frFR": "Veuillez saisir votre adresse e-mail", - "esAR": "Por favor, ingrese su correo electrónico", - "arDZ": "الرجاء إدخال بريدك الإلكتروني" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "邮箱格式不正确": { - "text": "邮箱格式不正确", - "key": "t_2_1744958840131", - "translations": { - "zhCN": "邮箱格式不正确", - "zhTW": "郵箱格式不正確", - "enUS": "Email format is incorrect", - "jaJP": "メールフォーマットが不正です", - "koKR": "이메일 형식이 틀립니다", - "ruRU": "Неправильный формат электронной почты", - "ptBR": "Formato de e-mail incorreto", - "frFR": "Le format de l'e-mail est incorrect", - "esAR": "El formato del correo electrónico es incorrecto", - "arDZ": "تنسيق البريد الإلكتروني غير صحيح" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "请选择DNS提供商授权": { - "text": "请选择DNS提供商授权", - "key": "t_3_1744958840485", - "translations": { - "zhCN": "请选择DNS提供商授权", - "zhTW": "請選擇DNS提供商授權", - "enUS": "Please select DNS provider authorization", - "jaJP": "DNSプロバイダーの認証を選択してください", - "koKR": "DNS 제공업체 인증을 선택하세요", - "ruRU": "Выберите предоставление DNS-авторизации", - "ptBR": "Selecione o provedor de DNS para autorização", - "frFR": "Veuillez choisir le fournisseur de DNS pour l'autorisation", - "esAR": "Seleccione el proveedor de DNS para la autorización", - "arDZ": "يرجى اختيار مزود DNS للإذن" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "本地部署": { - "text": "本地部署", - "key": "t_4_1744958838951", - "translations": { - "zhCN": "本地部署", - "zhTW": "本地部署", - "enUS": "Local Deployment", - "jaJP": "ローカルデプロイメント", - "koKR": "로컬 배포", - "ruRU": "Локальная установка", - "ptBR": "Implantação Local", - "frFR": "Déploiement local", - "esAR": "Despliegue local", - "arDZ": "تثبيت محلي" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "SSH部署": { - "text": "SSH部署", - "key": "t_5_1744958839222", - "translations": { - "zhCN": "SSH部署", - "zhTW": "SSH部署", - "enUS": "SSH Deployment", - "jaJP": "SSHデプロイメント", - "koKR": "SSH 배포", - "ruRU": "SSH-деплой", - "ptBR": "Desempenho SSH", - "frFR": "Déploiement SSH", - "esAR": "Despliegue SSH", - "arDZ": "تثبيت SSH" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "宝塔面板/1panel(部署到面板证书)": { - "text": "宝塔面板/1panel(部署到面板证书)", - "key": "t_6_1744958843569", - "translations": { - "zhCN": "宝塔面板/1面板(部署到面板证书)", - "zhTW": "宝塔面板/1面板(部署至面板憑證)", - "enUS": "Bao Ta Panel/1 panel (Deploy to panel certificate)", - "jaJP": "宝塔パネル/1パネル(パネル証明書にデプロイ)", - "koKR": "보타 패널/1 패널(패널 인증서로 배포)", - "ruRU": "Панель Баота/1 панель (Установить на панели сертификат)", - "ptBR": "Painel Bota/1 painel (Instalar no certificado do painel)", - "frFR": "Panneau Bao Ta/1 panneau (Déployer sur le certificat du panneau)", - "esAR": "Panel Bao Ta/1 panel (Desplegar en el certificado del panel)", - "arDZ": "لوحة بوتا/1 لوحة (تثبيت في شهادة لوحة)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "宝塔面板/1panel(部署到指定网站项目)": { - "text": "宝塔面板/1panel(部署到指定网站项目)", - "key": "t_7_1744958841708", - "translations": { - "zhCN": "宝塔面板/1面板(部署到指定网站项目)", - "zhTW": "宝塔面板/1面板(部署至指定網站項目)", - "enUS": "1panel (Deploy to specified website project)", - "jaJP": "1パネル(指定のウェブサイトプロジェクトにデプロイ)", - "koKR": "1판널(지정된 웹사이트 프로젝트로 배포)", - "ruRU": "1панель (Деплой на указанный веб-проект)", - "ptBR": "1painel (Deploiamento para o projeto de site especificado)", - "frFR": "1panneau (Déploiement sur le projet de site spécifié)", - "esAR": "1pantalla (Despliegue al proyecto de sitio específico)", - "arDZ": "1 panel (تثبيت على المشروع المحدد لل موقع)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "腾讯云CDN/阿里云CDN": { - "text": "腾讯云CDN/阿里云CDN", - "key": "t_8_1744958841658", - "translations": { - "zhCN": "腾讯云CDN/阿里云CDN", - "zhTW": "腾讯雲CDN/阿里雲CDN", - "enUS": "Tencent Cloud CDN/Aliyun CDN", - "jaJP": "テンセントクラウドCDN/アリクラウドCDN", - "koKR": "테encent 클라우드 CDN/알리 클라우드 CDN", - "ruRU": "Кloud CDN/АлиCloud CDN", - "ptBR": "Tencent Cloud CDN/AliCloud CDN", - "frFR": "Tencent Cloud CDN/AliCloud CDN", - "esAR": "Tencent Cloud CDN/AliCloud CDN", - "arDZ": "تencent Cloud CDN/أليCloud CDN" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "腾讯云WAF": { - "text": "腾讯云WAF", - "key": "t_9_1744958840634", - "translations": { - "zhCN": "腾讯云WAF", - "zhTW": "腾讯雲WAF", - "enUS": "Tencent Cloud WAF", - "jaJP": "腾讯クラウドWAF", - "koKR": "테니엔 클라우드 WAF", - "ruRU": "Тencent Cloud WAF", - "ptBR": "WAF da Tencent Cloud", - "frFR": "WAF de Tencent Cloud", - "esAR": "WAF de Tencent Cloud", - "arDZ": "WAF من Tencent Cloud" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "阿里云WAF": { - "text": "阿里云WAF", - "key": "t_10_1744958860078", - "translations": { - "zhCN": "阿里云WAF", - "zhTW": "阿里雲WAF", - "enUS": "Alicloud WAF", - "jaJP": "アリクラウドWAF", - "koKR": "아리 클라우드 WAF", - "ruRU": "АлиCloud WAF", - "ptBR": "Alicloud WAF", - "frFR": "WAF d'Alicloud", - "esAR": "WAF de AliCloud", - "arDZ": "WAF من آليكلاود" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "本次自动申请的证书": { - "text": "本次自动申请的证书", - "key": "t_11_1744958840439", - "translations": { - "zhCN": "本次自动申请的证书", - "zhTW": "本次自動申請的證書", - "enUS": "This automatically applied certificate", - "jaJP": "この自動申請証明書", - "koKR": "이 자동 신청 증명서", - "ruRU": "Этот автоматически применяемый сертификат", - "ptBR": "Este certificado aplicado automaticamente", - "frFR": "Ce certificat appliqué automatiquement", - "esAR": "Este certificado aplicado automáticamente", - "arDZ": "هذا الشهادة المطلوبة تلقائيًا" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "可选证书列表": { - "text": "可选证书列表", - "key": "t_12_1744958840387", - "translations": { - "zhCN": "可选证书列表", - "zhTW": "可選證書清單", - "enUS": "Optional certificate list", - "jaJP": "オプションの証明書リスト", - "koKR": "선택 가능한 인증서 목록", - "ruRU": "Список доступных сертификатов", - "ptBR": "Lista de certificados opcionais", - "frFR": "Liste des certificats optionnels", - "esAR": "Lista de certificados opcionales", - "arDZ": "قائمة الشهادات الاختيارية" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "PEM(*.pem,*.crt,*.key)": { - "text": "PEM(*.pem,*.crt,*.key)", - "key": "t_13_1744958840714", - "translations": { - "zhCN": "PEM(*.pem,*.crt,*.key)", - "zhTW": "PEM(*.pem,*.crt,*.key)", - "enUS": "PEM (*.pem, *.crt, *.key)", - "jaJP": "PEM(*.pem、*.crt、*.key)", - "koKR": "PEM (*.pem, *.crt, *.key)", - "ruRU": "PEM (*.pem, *.crt, *.key)", - "ptBR": "PEM (*.pem, *.crt, *.key)", - "frFR": "PEM (*.pem, *.crt, *.key)", - "esAR": "PEM (*.pem, *.crt, *.key)", - "arDZ": "PEM (*.pem, *.crt, *.key)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "PFX(*.pfx)": { - "text": "PFX(*.pfx)", - "key": "t_14_1744958839470", - "translations": { - "zhCN": "PFX(*.pfx)", - "zhTW": "PFX(*.pfx)", - "enUS": "PFX (*.pfx)", - "jaJP": "PFX(*.pfx)", - "koKR": "PFX (*.pfx)", - "ruRU": "PFX (*.pfx)", - "ptBR": "PFX (*.pfx)", - "frFR": "PFX (*.pfx)", - "esAR": "PFX (*.pfx)", - "arDZ": "PFX (*.pfx)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "JKS(*.jks)": { - "text": "JKS(*.jks)", - "key": "t_15_1744958840790", - "translations": { - "zhCN": "JKS(*.jks)", - "zhTW": "JKS(*.jks)", - "enUS": "JKS (*.jks)", - "jaJP": "JKS (*.jks)", - "koKR": "JKS (*.jks)", - "ruRU": "JKS (*.jks)", - "ptBR": "JKS (*.jks)", - "frFR": "JKS (*.jks)", - "esAR": "JKS (*.jks)", - "arDZ": "JKS (*.jks)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "POSIX bash (linux/macos)": { - "text": "POSIX bash (linux/macos)", - "key": "t_16_1744958841116", - "translations": { - "zhCN": "POSIX bash(Linux/MacOS)", - "zhTW": "POSIX bash(Linux/macOS)", - "enUS": "POSIX bash (Linux/macOS)", - "jaJP": "POSIX bash(Linux/macOS)", - "koKR": "POSIX bash (Linux/macOS)", - "ruRU": "POSIX bash (Linux/macOS)", - "ptBR": "POSIX bash (Linux/macOS)", - "frFR": "POSIX bash (Linux/macOS)", - "esAR": "POSIX bash (Linux/macOS)", - "arDZ": "POSIX bash (Linux/macOS)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "CMD(Windows)": { - "text": "CMD(Windows)", - "key": "t_17_1744958839597", - "translations": { - "zhCN": "命令行(Windows)", - "zhTW": "命令行(Windows)", - "enUS": "CMD (Windows)", - "jaJP": "コマンドライン(Windows)", - "koKR": "명령어 라인 (Windows)", - "ruRU": "Комуンド лайн (Windows)", - "ptBR": "Linha de Comando (Windows)", - "frFR": "CMD (Windows)", - "esAR": "CMD (Windows)", - "arDZ": "CMD (Windows)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "PowerShell(Windows)": { - "text": "PowerShell(Windows)", - "key": "t_18_1744958839895", - "translations": { - "zhCN": "PowerShell(Windows)", - "zhTW": "PowerShell(Windows)", - "enUS": "PowerShell (Windows)", - "jaJP": "PowerShell(ウィンドウズ)", - "koKR": "파워셀(윈도우)", - "ruRU": "PowerShell (Windows)", - "ptBR": "PowerShell (Windows)", - "frFR": "PowerShell (Windows)", - "esAR": "PowerShell (Windows)", - "arDZ": "PowerShell (Windows)" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "证书1": { - "text": "证书1", - "key": "t_19_1744958839297", - "translations": { - "zhCN": "证书1", - "zhTW": "證書1", - "enUS": "Certificate 1", - "jaJP": "証明書1", - "koKR": "인증서1", - "ruRU": "Сертификат1", - "ptBR": "Certificado 1", - "frFR": "Certificat 1", - "esAR": "Certificado 1", - "arDZ": "شهادة1" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "证书2": { - "text": "证书2", - "key": "t_20_1744958839439", - "translations": { - "zhCN": "证书2", - "zhTW": "證書2", - "enUS": "Certificate 2", - "jaJP": "証明書2", - "koKR": "증명서 2", - "ruRU": "Сертификат 2", - "ptBR": "Certificado 2", - "frFR": "Certificat 2", - "esAR": "Certificado 2", - "arDZ": "شهادة 2" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "服务器1": { - "text": "服务器1", - "key": "t_21_1744958839305", - "translations": { - "zhCN": "服务器1", - "zhTW": "伺服器1", - "enUS": "Server 1", - "jaJP": "サーバー1", - "koKR": "서버1", - "ruRU": "Сервер 1", - "ptBR": "Servidor 1", - "frFR": "Serveur 1", - "esAR": "Servidor 1", - "arDZ": "خادم 1" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "服务器2": { - "text": "服务器2", - "key": "t_22_1744958841926", - "translations": { - "zhCN": "服务器2", - "zhTW": "伺服器2", - "enUS": "Server 2", - "jaJP": "サーバー2", - "koKR": "서버2", - "ruRU": "Сервер 2", - "ptBR": "Servidor 2", - "frFR": "Serveur 2", - "esAR": "Servidor 2", - "arDZ": "خادم 2" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "面板1": { - "text": "面板1", - "key": "t_23_1744958838717", - "translations": { - "zhCN": "面板1", - "zhTW": "面板1", - "enUS": "Panel 1", - "jaJP": "パネル1", - "koKR": "판널 1", - "ruRU": "Панель 1", - "ptBR": "Painel 1", - "frFR": "Panneau 1", - "esAR": "Panel 1", - "arDZ": "اللوحة 1" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "日": { - "text": "日", - "key": "t_29_1744958838904", - "translations": { - "zhCN": "日", - "zhTW": "日", - "enUS": "Day", - "jaJP": "日", - "koKR": "일", - "ruRU": "день", - "ptBR": "dia", - "frFR": "jour", - "esAR": "día", - "arDZ": "يوم" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "证书格式不正确,请检查是否包含完整的证书头尾标识": { - "text": "证书格式不正确,请检查是否包含完整的证书头尾标识", - "key": "t_30_1744958843864", - "translations": { - "zhCN": "证书格式不正确,请检查是否包含完整的证书头尾标识", - "zhTW": "證書格式不正確,請檢查是否包含完整的證書頭尾識別", - "enUS": "Certificate format is incorrect, please check if it includes the complete certificate header and footer identifiers", - "jaJP": "証明書のフォーマットが不正です。完全な証明書のヘッダおよびフッタ識別子が含まれているか確認してください。", - "koKR": "서류 형식이 잘못되었습니다. 전체 서류 헤더 및 푸터 식별자가 포함되어 있는지 확인해 주세요.", - "ruRU": "Формат сертификата не правильный, пожалуйста, проверьте, содержит ли он полную информацию о заголовке и подзаголовке сертификата", - "ptBR": "O formato do certificado está incorreto, por favor verifique se ele contém os identificadores de cabeçalho e rodapé completos", - "frFR": "Le format du certificat est incorrect, veuillez vérifier s'il contient les identifiants d'en-tête et de pied de page complets", - "esAR": "El formato del certificado no es correcto, por favor revise si contiene las identificaciones de cabecera y pie completo", - "arDZ": "تنسيق الشهادة غير صحيح، يرجى التحقق مما إذا كان يحتوي على العناصر التوضيحية للعناوين والرؤوس الكاملة" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "私钥格式不正确,请检查是否包含完整的私钥头尾标识": { - "text": "私钥格式不正确,请检查是否包含完整的私钥头尾标识", - "key": "t_31_1744958844490", - "translations": { - "zhCN": "私钥格式不正确,请检查是否包含完整的私钥头尾标识", - "zhTW": "私钥格式不正確,請檢查是否包含完整的私钥頭尾識別", - "enUS": "Private key format is incorrect, please check if it includes the complete private key header and footer identifier", - "jaJP": "プライベートキーフォーマットが不正です。完全なプライベートキーヘッダおよびフッタ識別子が含まれているか確認してください。", - "koKR": "비밀키 형식이 잘못되었습니다. 완전한 비밀키 헤더 및 푸터 식별자가 포함되어 있는지 확인해 주세요.", - "ruRU": "Формат私ного ключа incorrect, пожалуйста, проверьте, содержит ли он полный идентификатор заголовка и нижнего колонтитула частного ключа", - "ptBR": "O formato da chave privada está incorreto, por favor, verifique se ele contém o identificador completo do cabeçalho e pé de página da chave privada", - "frFR": "Le format de la clé privée est incorrect, veuillez vérifier si elle contient l'identifiant complet de l'en-tête et du pied de page de la clé privée", - "esAR": "El formato de la clave privada no es correcto, por favor verifique si contiene el identificador completo de la cabecera y el pie de página de la clave privada", - "arDZ": "شكل المفتاح الخاص غير صحيح، يرجى التحقق من أن يحتوي على معرف الرأس والساقطة الكاملة للمفتاح الخاص" - }, - "timestamp": "2025-04-18T06:47:40.083Z" - }, - "自动化名称": { - "text": "自动化名称", - "key": "t_0_1745215914686", - "translations": { - "zhCN": "自动化名称", - "zhTW": "自動化名稱", - "enUS": "Automation Name", - "jaJP": "自動化名前", - "koKR": "자동화 이름", - "ruRU": "Название автоматизации", - "ptBR": "Nome de automação", - "frFR": "Nom d'automatisation", - "esAR": "Nombre de automatización", - "arDZ": "اسم التلقائية" - }, - "timestamp": "2025-04-21T06:11:56.235Z" - }, - "自动": { - "text": "自动", - "key": "t_2_1745215915397", - "translations": { - "zhCN": "自动", - "zhTW": "自動", - "enUS": "Automatic", - "jaJP": "自動", - "koKR": "자동", - "ruRU": "автоматический", - "ptBR": "automático", - "frFR": "automatique", - "esAR": "automático", - "arDZ": "تلقائي" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "手动": { - "text": "手动", - "key": "t_3_1745215914237", - "translations": { - "zhCN": "手动", - "zhTW": "手動", - "enUS": "Manual", - "jaJP": "手動", - "koKR": "수동", - "ruRU": "ручной", - "ptBR": "Manual", - "frFR": "Manuel", - "esAR": "Manual", - "arDZ": "يدوي" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "启用状态": { - "text": "启用状态", - "key": "t_4_1745215914951", - "translations": { - "zhCN": "启用状态", - "zhTW": "啟用狀態", - "enUS": "Enabled Status", - "jaJP": "有効状態", - "koKR": "활성 상태", - "ruRU": "Активный статус", - "ptBR": "Estado ativado", - "frFR": "Statut activé", - "esAR": "Estado activo", - "arDZ": "حالة نشطة" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "启用": { - "text": "启用", - "key": "t_5_1745215914671", - "translations": { - "zhCN": "启用", - "zhTW": "啟用", - "enUS": "Enable", - "jaJP": "有効にする", - "koKR": "활성화", - "ruRU": "Включить", - "ptBR": "Ativar", - "frFR": "Activer", - "esAR": "Activar", - "arDZ": "تفعيل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "停用": { - "text": "停用", - "key": "t_6_1745215914104", - "translations": { - "zhCN": "停用", - "zhTW": "停用", - "enUS": "Disabling", - "jaJP": "停止", - "koKR": "정지", - "ruRU": "Отключение", - "ptBR": "Desativar", - "frFR": "Désactiver", - "esAR": "Desactivar", - "arDZ": "إيقاف" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "创建时间": { - "text": "创建时间", - "key": "t_7_1745215914189", - "translations": { - "zhCN": "创建时间", - "zhTW": "創建時間", - "enUS": "Creation Time", - "jaJP": "作成時間", - "koKR": "생성 시간", - "ruRU": "Время создания", - "ptBR": "Hora de criação", - "frFR": "Heure de création", - "esAR": "Tiempo de creación", - "arDZ": "وقت الإنشاء" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "操作": { - "text": "操作", - "key": "t_8_1745215914610", - "translations": { - "zhCN": "操作", - "zhTW": "操作", - "enUS": "Operation", - "jaJP": "操作", - "koKR": "操作", - "ruRU": "Операция", - "ptBR": "Operação", - "frFR": "Opération", - "esAR": "Operación", - "arDZ": "عملية" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "执行历史": { - "text": "执行历史", - "key": "t_9_1745215914666", - "translations": { - "zhCN": "执行历史", - "zhTW": "執行歷史", - "enUS": "Execution History", - "jaJP": "実行履歴", - "koKR": "실행 이력", - "ruRU": "История выполнения", - "ptBR": "Histórico de execução", - "frFR": "Historique d'exécution", - "esAR": "Historial de ejecución", - "arDZ": "تاريخ التنفيذ" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "执行": { - "text": "执行", - "key": "t_10_1745215914342", - "translations": { - "zhCN": "执行", - "zhTW": "執行", - "enUS": "Execute", - "jaJP": "実行", - "koKR": "실行", - "ruRU": "исполнение", - "ptBR": "executar", - "frFR": "exécuter", - "esAR": "ejecutar", - "arDZ": "تنفيذ" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "编辑": { - "text": "编辑", - "key": "t_11_1745215915429", - "translations": { - "zhCN": "编辑", - "zhTW": "編輯", - "enUS": "Edit", - "jaJP": "編集", - "koKR": "편집", - "ruRU": "Редактировать", - "ptBR": "Editar", - "frFR": "Éditer", - "esAR": "Editar", - "arDZ": "تعديل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "删除": { - "text": "删除", - "key": "t_12_1745215914312", - "translations": { - "zhCN": "删除", - "zhTW": "刪除", - "enUS": "Delete", - "jaJP": "削除", - "koKR": "삭제", - "ruRU": "Удалить", - "ptBR": "Excluir", - "frFR": "Supprimer", - "esAR": "Eliminar", - "arDZ": "حذف" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "执行工作流": { - "text": "执行工作流", - "key": "t_13_1745215915455", - "translations": { - "zhCN": "执行工作流", - "zhTW": "執行工作流程", - "enUS": "Execute workflow", - "jaJP": "ワークフローの実行", - "koKR": "워크플로우 실행", - "ruRU": "Выполнение процесса", - "ptBR": "Executar fluxo de trabalho", - "frFR": "Exécuter le flux de travail", - "esAR": "Ejecutar flujo de trabajo", - "arDZ": "تنفيذ مسار العمل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "工作流执行成功": { - "text": "工作流执行成功", - "key": "t_14_1745215916235", - "translations": { - "zhCN": "工作流执行成功", - "zhTW": "工作流程執行成功", - "enUS": "Workflow executed successfully", - "jaJP": "ワークフローエグゼクション成功", - "koKR": "워크플로우 실행 성공", - "ruRU": "Успешное выполнение рабочей流程", - "ptBR": "Execução do fluxo de trabalho bem-sucedida", - "frFR": "Exécution du flux de travail réussie", - "esAR": "Ejecución del flujo de trabajo exitosa", - "arDZ": "نجاح تنفيذ عملية العمل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "工作流执行失败": { - "text": "工作流执行失败", - "key": "t_15_1745215915743", - "translations": { - "zhCN": "工作流执行失败", - "zhTW": "工作流程執行失敗", - "enUS": "Workflow execution failed", - "jaJP": "ワークフローエクセキュション失敗", - "koKR": "워크플로우 실행 실패", - "ruRU": "Неудача выполнения процесса", - "ptBR": "Execução do fluxo de trabalho falhou", - "frFR": "Échec de l'exécution du flux de travail", - "esAR": "Fallo en la ejecución del flujo de trabajo", - "arDZ": "فشل تنفيذ عملية العمل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "删除工作流": { - "text": "删除工作流", - "key": "t_16_1745215915209", - "translations": { - "zhCN": "删除工作流", - "zhTW": "刪除工作流程", - "enUS": "Delete Workflow", - "jaJP": "ワークフローを削除する", - "koKR": "워크플로우 제거", - "ruRU": "Удалить workflow", - "ptBR": "Excluir workflow", - "frFR": "Supprimer le flux de travail", - "esAR": "Eliminar flujo de trabajo", - "arDZ": "حذف مسار العمل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "工作流删除成功": { - "text": "工作流删除成功", - "key": "t_17_1745215915985", - "translations": { - "zhCN": "工作流删除成功", - "zhTW": "工作流程刪除成功", - "enUS": "Workflow deletion successful", - "jaJP": "ワークフローの削除が成功しました", - "koKR": "워크플로우가 성공적으로 삭제되었습니다", - "ruRU": "Удаление рабочей схемы успешено", - "ptBR": "Deleção do fluxo de trabalho bem-sucedida", - "frFR": "Suppression du flux de travail réussie", - "esAR": "Eliminación del flujo de trabajo exitosa", - "arDZ": "نجاح عملية حذف العملية" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "工作流删除失败": { - "text": "工作流删除失败", - "key": "t_18_1745215915630", - "translations": { - "zhCN": "工作流删除失败", - "zhTW": "工作流程刪除失敗", - "enUS": "Workflow deletion failed", - "jaJP": "ワークフローの削除に失敗しました", - "koKR": "워크플로우 삭제 실패", - "ruRU": "Не удалось удалить рабочий процесс", - "ptBR": "Falha ao excluir fluxo de trabalho", - "frFR": "Échec de la suppression du flux de travail", - "esAR": "Fallo al eliminar el flujo de trabajo", - "arDZ": "فشل حذف مسار العمل" - }, - "timestamp": "2025-04-21T06:11:56.237Z" - }, - "请输入自动化名称": { - "text": "请输入自动化名称", - "key": "t_1_1745227838776", - "translations": { - "zhCN": "请输入自动化名称", - "zhTW": "請輸入自動化名稱", - "enUS": "Please enter the automation name", - "jaJP": "自動化名前を入力してください", - "koKR": "자동화 이름을 입력하세요", - "ruRU": "Введите имя автоматизации", - "ptBR": "Por favor, insira o nome da automação", - "frFR": "Veuillez saisir le nom de l'automatisation", - "esAR": "Por favor, ingrese el nombre de automatización", - "arDZ": "الرجاء إدخال اسم الت automatization" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "确定要执行{name}工作流吗?": { - "text": "确定要执行{name}工作流吗?", - "key": "t_2_1745227839794", - "translations": { - "zhCN": "确定要执行{name}工作流吗?", - "zhTW": "確定要執行{name}工作流程嗎?", - "enUS": "Are you sure you want to execute the {name} workflow?", - "jaJP": "{name}ワークフローの実行を確認しますか?", - "koKR": "{name} 작업 흐름을 실행하시겠습니까?", - "ruRU": "Уверены, что хотите выполнить workflow {name}?", - "ptBR": "Tem certeza de que deseja executar o workflow {name}?", - "frFR": "Êtes-vous sûr de vouloir exécuter le workflow {name}?", - "esAR": "¿Está seguro de que desea ejecutar el flujo de trabajo {name}?", - "arDZ": "هل أنت متأكد من أنك تريد تنفيذ عملية {name}؟" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "确认要删除{name}工作流吗?此操作不可恢复。": { - "text": "确认要删除{name}工作流吗?此操作不可恢复。", - "key": "t_3_1745227841567", - "translations": { - "zhCN": "确认要删除{name}工作流吗?此操作不可恢复。", - "zhTW": "確認要刪除{name}工作流程嗎?此操作無法恢復。", - "enUS": "Confirm deletion of {name} workflow? This action cannot be undone.", - "jaJP": "{name}のワークフローの削除を確認しますか?この操作は元に戻せません。", - "koKR": "{name} 작업流程을 정말로 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.", - "ruRU": "Подтвердите удаление {name} потока работы? Это действие нельзя отменить.", - "ptBR": "Confirma a exclusão do fluxo de trabalho {name}? Esta ação não pode ser revertida.", - "frFR": "Confirmez-vous la suppression du flux de travail {name} ? Cette action ne peut pas être annulée.", - "esAR": "¿Confirma la eliminación del flujo de trabajo {name}? Esta acción no se puede deshacer.", - "arDZ": "هل تؤكد على حذف {name} مسار العمل؟ هذه العملية لا يمكن إلغاؤها." - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "执行时间": { - "text": "执行时间", - "key": "t_4_1745227838558", - "translations": { - "zhCN": "执行时间", - "zhTW": "執行時間", - "enUS": "Execution Time", - "jaJP": "実行時間", - "koKR": "실행 시간", - "ruRU": "Время выполнения", - "ptBR": "Tempo de execução", - "frFR": "Temps d'exécution", - "esAR": "Tiempo de ejecución", - "arDZ": "وقت التنفيذ" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "结束时间": { - "text": "结束时间", - "key": "t_5_1745227839906", - "translations": { - "zhCN": "结束时间", - "zhTW": "結束時間", - "enUS": "End time", - "jaJP": "終了時間", - "koKR": "종료 시간", - "ruRU": "Время окончания", - "ptBR": "Hora de término", - "frFR": "Heure de fin", - "esAR": "Hora de finalización", - "arDZ": "وقت الانتهاء" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "执行方式": { - "text": "执行方式", - "key": "t_6_1745227838798", - "translations": { - "zhCN": "执行方式", - "zhTW": "執行方式", - "enUS": "Execution method", - "jaJP": "実行方法", - "koKR": "실행 방식", - "ruRU": "Способ выполнения", - "ptBR": "Método de execução", - "frFR": "Méthode d'exécution", - "esAR": "Método de ejecución", - "arDZ": "طريقة التنفيذ" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "状态": { - "text": "状态", - "key": "t_7_1745227838093", - "translations": { - "zhCN": "状态", - "zhTW": "狀態", - "enUS": "Status", - "jaJP": "状態", - "koKR": "상태", - "ruRU": "Состояние", - "ptBR": "Status", - "frFR": "Statut", - "esAR": "Estado", - "arDZ": "الحالة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "成功": { - "text": "成功", - "key": "t_8_1745227838023", - "translations": { - "zhCN": "成功", - "zhTW": "成功", - "enUS": "Success", - "jaJP": "成功", - "koKR": "성공", - "ruRU": "Успех", - "ptBR": "Sucesso", - "frFR": "Réussite", - "esAR": "Éxito", - "arDZ": "نجاح" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "失败": { - "text": "失败", - "key": "t_9_1745227838305", - "translations": { - "zhCN": "失败", - "zhTW": "失敗", - "enUS": "Failure", - "jaJP": "失敗", - "koKR": "실패", - "ruRU": "неудача", - "ptBR": "fracasso", - "frFR": "échec", - "esAR": "fallo", - "arDZ": "فشل" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "执行中": { - "text": "执行中", - "key": "t_10_1745227838234", - "translations": { - "zhCN": "执行中", - "zhTW": "執行中", - "enUS": "In progress", - "jaJP": "実行中", - "koKR": "진행 중", - "ruRU": "В процессе", - "ptBR": "Em andamento", - "frFR": "En cours", - "esAR": "En ejecución", - "arDZ": "في تنفيذ" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "未知": { - "text": "未知", - "key": "t_11_1745227838422", - "translations": { - "zhCN": "未知", - "zhTW": "未知", - "enUS": "Unknown", - "jaJP": "不明", - "koKR": "알 수 없음", - "ruRU": "неизвестно", - "ptBR": "desconhecido", - "frFR": "inconnu", - "esAR": "desconocido", - "arDZ": "غير معروف" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "详情": { - "text": "详情", - "key": "t_12_1745227838814", - "translations": { - "zhCN": "详情", - "zhTW": "詳細", - "enUS": "Details", - "jaJP": "詳細", - "koKR": "상세정보", - "ruRU": "Подробности", - "ptBR": "Detalhes", - "frFR": "Détails", - "esAR": "Detalles", - "arDZ": "تفاصيل" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "上传证书": { - "text": "上传证书", - "key": "t_13_1745227838275", - "translations": { - "zhCN": "上传证书", - "zhTW": "上傳證書", - "enUS": "Upload Certificate", - "jaJP": "証明書のアップロード", - "koKR": "서명서 업로드", - "ruRU": "Загрузить сертификат", - "ptBR": "Enviar certificado", - "frFR": "Télécharger un certificat", - "esAR": "Subir certificado", - "arDZ": "تحميل شهادة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "请输入证书域名或品牌名称搜索": { - "text": "请输入证书域名或品牌名称搜索", - "key": "t_14_1745227840904", - "translations": { - "zhCN": "请输入证书域名或品牌名称进行搜索", - "zhTW": "請輸入證書域名或品牌名稱搜尋", - "enUS": "Please enter the certificate domain name or brand name to search", - "jaJP": "証明書ドメイン名またはブランド名を入力して検索してください", - "koKR": "자격증 도메인 이름 또는 브랜드 이름을 입력하여 검색하세요", - "ruRU": "Введіть доменное имя сертификата или название бренда для поиска", - "ptBR": "Insira o nome do domínio do certificado ou o nome da marca para pesquisa", - "frFR": "Saisissez le nom de domaine du certificat ou le nom de la marque pour la recherche", - "esAR": "Ingrese el nombre de dominio del certificado o el nombre de la marca para buscar", - "arDZ": "الرجاء إدخال اسم نطاق الشهادة أو اسم العلامة التجارية للبحث عنها" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "共": { - "text": "共", - "key": "t_15_1745227839354", - "translations": { - "zhCN": "共", - "zhTW": "共", - "enUS": "Together", - "jaJP": "共同に", - "koKR": "함께", - "ruRU": "вместе", - "ptBR": "juntos", - "frFR": "ensemble", - "esAR": "juntos", - "arDZ": "معا" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "条": { - "text": "条", - "key": "t_16_1745227838930", - "translations": { - "zhCN": "条", - "zhTW": "條", - "enUS": "strip", - "jaJP": "本", - "koKR": "개", - "ruRU": "шт", - "ptBR": "unidade", - "frFR": "unité", - "esAR": "pieza", - "arDZ": "شريحة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "域名": { - "text": "域名", - "key": "t_17_1745227838561", - "translations": { - "zhCN": "域名", - "zhTW": "域名", - "enUS": "Domain name", - "jaJP": "ドメイン名", - "koKR": "도메인 이름", - "ruRU": "Доменное имя", - "ptBR": "Nome de domínio", - "frFR": "Nom de domaine", - "esAR": "Nombre de dominio", - "arDZ": "اسم النطاق" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "品牌": { - "text": "品牌", - "key": "t_18_1745227838154", - "translations": { - "zhCN": "品牌", - "zhTW": "品牌", - "enUS": "Brand", - "jaJP": "ブランド", - "koKR": "브랜드", - "ruRU": "Бренд", - "ptBR": "Marca", - "frFR": "Marque", - "esAR": "Marca", - "arDZ": "العلامة التجارية" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "剩余天数": { - "text": "剩余天数", - "key": "t_19_1745227839107", - "translations": { - "zhCN": "剩余天数", - "zhTW": "剩餘天數", - "enUS": "Remaining days", - "jaJP": "残り日数", - "koKR": "남은 날짜", - "ruRU": "Оставшиеся дни", - "ptBR": "Dias restantes", - "frFR": "Jours restants", - "esAR": "Días restantes", - "arDZ": "أيام متبقية" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "到期时间": { - "text": "到期时间", - "key": "t_20_1745227838813", - "translations": { - "zhCN": "到期时间", - "zhTW": "到期時間", - "enUS": "Expiry Time", - "jaJP": "期限時間", - "koKR": "만료 시간", - "ruRU": "Время истечения", - "ptBR": "Tempo de expiração", - "frFR": "Heure d'expiration", - "esAR": "Tiempo de vencimiento", - "arDZ": "زمن انتهاء الصلاحية" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "来源": { - "text": "来源", - "key": "t_21_1745227837972", - "translations": { - "zhCN": "来源", - "zhTW": "來源", - "enUS": "Source", - "jaJP": "出典", - "koKR": "출처", - "ruRU": "Источник", - "ptBR": "Fonte", - "frFR": "Source", - "esAR": "Fuente", - "arDZ": "مصدر" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "自动申请": { - "text": "自动申请", - "key": "t_22_1745227838154", - "translations": { - "zhCN": "自动申请", - "zhTW": "自動申請", - "enUS": "Automatic Application", - "jaJP": "自動申請", - "koKR": "자동 신청", - "ruRU": "Автоматическая заявка", - "ptBR": "Aplicação Automática", - "frFR": "Demande automatique", - "esAR": "Solicitud automática", - "arDZ": "طلب تلقائي" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "手动上传": { - "text": "手动上传", - "key": "t_23_1745227838699", - "translations": { - "zhCN": "手动上传", - "zhTW": "手動上傳", - "enUS": "Manual upload", - "jaJP": "手動アップロード", - "koKR": "수동 업로드", - "ruRU": "Ручная загрузка", - "ptBR": "Upload manual", - "frFR": "Téléversement manuel", - "esAR": "Carga manual", - "arDZ": "تحميل يدوي" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "添加时间": { - "text": "添加时间", - "key": "t_24_1745227839508", - "translations": { - "zhCN": "添加时间", - "zhTW": "加入時間", - "enUS": "Add Time", - "jaJP": "時間を追加", - "koKR": "시간 추가", - "ruRU": "Добавить время", - "ptBR": "Adicionar tempo", - "frFR": "Ajouter une date", - "esAR": "Agregar tiempo", - "arDZ": "إضافة وقت" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "下载": { - "text": "下载", - "key": "t_25_1745227838080", - "translations": { - "zhCN": "下载", - "zhTW": "下載", - "enUS": "Download", - "jaJP": "ダウンロード", - "koKR": "다운로드", - "ruRU": "Загрузка", - "ptBR": "Baixar", - "frFR": "Télécharger", - "esAR": "Descargar", - "arDZ": "تحميل" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "即将过期": { - "text": "即将过期", - "key": "t_27_1745227838583", - "translations": { - "zhCN": "即将过期", - "zhTW": "即將過期", - "enUS": "About to expire", - "jaJP": "切れ替わります", - "koKR": "만료될 예정", - "ruRU": "Скоро закончится", - "ptBR": "Próximo de expirar", - "frFR": "Bientôt expiré", - "esAR": "Casi caducado", - "arDZ": "قريب من انتهاء الصلاحية" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "正常": { - "text": "正常", - "key": "t_28_1745227837903", - "translations": { - "zhCN": "正常", - "zhTW": "正常", - "enUS": "Normal", - "jaJP": "通常", - "koKR": "정상", - "ruRU": "нормальный", - "ptBR": "normal", - "frFR": "normal", - "esAR": "normal", - "arDZ": "طبيعي" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "删除证书": { - "text": "删除证书", - "key": "t_29_1745227838410", - "translations": { - "zhCN": "删除证书", - "zhTW": "刪除證書", - "enUS": "Delete certificate", - "jaJP": "証明書を削除する", - "koKR": "인증서 삭제", - "ruRU": "Удалить сертификат", - "ptBR": "Excluir certificado", - "frFR": "Supprimer le certificat", - "esAR": "Eliminar certificado", - "arDZ": "حذف الشهادة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "确认要删除这个证书吗?此操作不可恢复。": { - "text": "确认要删除这个证书吗?此操作不可恢复。", - "key": "t_30_1745227841739", - "translations": { - "zhCN": "确认要删除这个证书吗?此操作不可恢复。", - "zhTW": "確認要刪除這個證書嗎?此操作無法恢復。", - "enUS": "Are you sure you want to delete this certificate? This action cannot be undone.", - "jaJP": "この証明書を削除してもよろしいですか?この操作は元に戻せません。", - "koKR": "이 증명서를 지우시겠습니까? 이 작업은 복구할 수 없습니다.", - "ruRU": "Вы уверены, что хотите удалить этот сертификат? Эта операция не может быть отменена.", - "ptBR": "Tem certeza de que deseja excluir este certificado? Esta ação não pode ser revertida.", - "frFR": "Confirmez-vous que vous souhaitez supprimer ce certificat ? Cette action ne peut pas être annulée.", - "esAR": "¿Está seguro de que desea eliminar este certificado? Esta acción no se puede deshacer.", - "arDZ": "هل أنت متأكد من أنك تريد حذف هذا الشهادة؟ لا يمكن استعادة هذه العملية." - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "确认": { - "text": "确认", - "key": "t_31_1745227838461", - "translations": { - "zhCN": "确认", - "zhTW": "確認", - "enUS": "Confirm", - "jaJP": "確認してください", - "koKR": "확인하세요", - "ruRU": "Подтвердите", - "ptBR": "Confirmar", - "frFR": "Confirmer", - "esAR": "Confirmar", - "arDZ": "تأكيد" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "证书名称": { - "text": "证书名称", - "key": "t_32_1745227838439", - "translations": { - "zhCN": "证书名称", - "zhTW": "證書名稱", - "enUS": "Certificate Name", - "jaJP": "証明書名前", - "koKR": "서명", - "ruRU": "Название сертификата", - "ptBR": "Nome do Certificado", - "frFR": "Nom du certificat", - "esAR": "Nombre del certificado", - "arDZ": "اسم الشهادة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "请输入证书名称": { - "text": "请输入证书名称", - "key": "t_33_1745227838984", - "translations": { - "zhCN": "请输入证书名称", - "zhTW": "請輸入證書名稱", - "enUS": "Please enter the certificate name", - "jaJP": "証明書の名前を入力してください", - "koKR": "증명서 이름을 입력하세요", - "ruRU": "Введіть назву сертификата", - "ptBR": "Por favor, insira o nome do certificado", - "frFR": "Veuillez saisir le nom du certificat", - "esAR": "Por favor, ingrese el nombre del certificado", - "arDZ": "الرجاء إدخال اسم الشهادة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "证书内容(PEM)": { - "text": "证书内容(PEM)", - "key": "t_34_1745227839375", - "translations": { - "zhCN": "证书内容(PEM)", - "zhTW": "證書內容(PEM)", - "enUS": "Certificate Content (PEM)", - "jaJP": "証明書の内容(PEM)", - "koKR": "인증서 내용(PEM)", - "ruRU": "Содержание сертификата (PEM)", - "ptBR": "Conteúdo do certificado (PEM)", - "frFR": "Contenu du certificat (PEM)", - "esAR": "Contenido del certificado (PEM)", - "arDZ": "محتويات الشهادة (PEM)" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "请输入证书内容": { - "text": "请输入证书内容", - "key": "t_35_1745227839208", - "translations": { - "zhCN": "请输入证书内容", - "zhTW": "請輸入證書內容", - "enUS": "Please enter the certificate content", - "jaJP": "証明書の内容を入力してください", - "koKR": "서류 내용을 입력하세요", - "ruRU": "Введіть содержимое сертификата", - "ptBR": "Por favor, insira o conteúdo do certificado", - "frFR": "Veuillez saisir le contenu du certificat", - "esAR": "Por favor, ingrese el contenido del certificado", - "arDZ": "الرجاء إدخال محتويات الشهادة" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "私钥内容(KEY)": { - "text": "私钥内容(KEY)", - "key": "t_36_1745227838958", - "translations": { - "zhCN": "私钥内容(KEY)", - "zhTW": "私鑰內容(KEY)", - "enUS": "Private key content (KEY)", - "jaJP": "プライベートキー内容(KEY)", - "koKR": "사용자 키 내용(KEY)", - "ruRU": "Содержание частного ключа (KEY)", - "ptBR": "Conteúdo da chave privada (KEY)", - "frFR": "Contenu de la clé privée (KEY)", - "esAR": "Contenido de la clave privada (KEY)", - "arDZ": "محتويات المفتاح الخاص (KEY)" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "请输入私钥内容": { - "text": "请输入私钥内容", - "key": "t_37_1745227839669", - "translations": { - "zhCN": "请输入私钥内容", - "zhTW": "請輸入私鑰內容", - "enUS": "Please enter the private key content", - "jaJP": "プライベートキーの内容を入力してください", - "koKR": "비밀키 내용을 입력하세요", - "ruRU": "Введіть содержимое частного ключа", - "ptBR": "Por favor, insira o conteúdo da chave privada", - "frFR": "Veuillez saisir le contenu de la clé privée", - "esAR": "Por favor, ingrese el contenido de la clave privada", - "arDZ": "الرجاء إدخال محتويات المفتاح الخاص" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "下载失败": { - "text": "下载失败", - "key": "t_38_1745227838813", - "translations": { - "zhCN": "下载失败", - "zhTW": "下載失敗", - "enUS": "Download failed", - "jaJP": "ダウンロード失敗", - "koKR": "다운로드 실패", - "ruRU": "Не удалось загрузить", - "ptBR": "Falha ao baixar", - "frFR": "Échec du téléchargement", - "esAR": "Falla en la descarga", - "arDZ": "فشل التحميل" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "上传失败": { - "text": "上传失败", - "key": "t_39_1745227838696", - "translations": { - "zhCN": "上传失败", - "zhTW": "上傳失敗", - "enUS": "Upload failed", - "jaJP": "アップロードに失敗しました", - "koKR": "업로드 실패", - "ruRU": "Не удалось загрузить", - "ptBR": "Falha ao carregar", - "frFR": "Échec du téléversement", - "esAR": "Fallo en la subida", - "arDZ": "فشل التحميل" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "删除失败": { - "text": "删除失败", - "key": "t_40_1745227838872", - "translations": { - "zhCN": "删除失败", - "zhTW": "刪除失敗", - "enUS": "Delete failed", - "jaJP": "削除失敗", - "koKR": "삭제 실패", - "ruRU": "Удаление失败", - "ptBR": "Falha na exclusão", - "frFR": "Échec de la suppression", - "esAR": "Falla en la eliminación", - "arDZ": "فشل الحذف" - }, - "timestamp": "2025-04-21T09:30:41.741Z" - }, - "添加授权API": { - "text": "添加授权API", - "key": "t_0_1745289355714", - "translations": { - "zhCN": "添加授权API", - "zhTW": "添加授權API", - "enUS": "Add Authorization API", - "jaJP": "認証APIを追加する", - "koKR": "인증 API 추가", - "ruRU": "Добавить API авторизации", - "ptBR": "Adicionar API de autorização", - "frFR": "Ajouter l'API d'autorisation", - "esAR": "Agregar API de autorización", - "arDZ": "إضافة API للإذن" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入授权api名称或类型": { - "text": "请输入授权api名称或类型", - "key": "t_1_1745289356586", - "translations": { - "zhCN": "请输入授权API名称或类型", - "zhTW": "請輸入授權API名稱或類型", - "enUS": "Please enter the authorized API name or type", - "jaJP": "認証APIの名前またはタイプを入力してください", - "koKR": "인증 API 이름 또는 유형을 입력하세요", - "ruRU": "Введите имя или тип авторизованного API", - "ptBR": "Por favor, insira o nome ou o tipo do API autorizado", - "frFR": "Veuillez saisir le nom ou le type de l'API autorisée", - "esAR": "Por favor, ingrese el nombre o el tipo de API autorizada", - "arDZ": "الرجاء إدخال اسم أو نوع API المصرح به" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "名称": { - "text": "名称", - "key": "t_2_1745289353944", - "translations": { - "zhCN": "名称", - "zhTW": "名稱", - "enUS": "Name", - "jaJP": "名称", - "koKR": "이름", - "ruRU": "Название", - "ptBR": "Nome", - "frFR": "Nom", - "esAR": "Nombre", - "arDZ": "اسم" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "授权API类型": { - "text": "授权API类型", - "key": "t_3_1745289354664", - "translations": { - "zhCN": "授权API类型", - "zhTW": "授權API類型", - "enUS": "Authorization API Type", - "jaJP": "認証APIタイプ", - "koKR": "인증 API 유형", - "ruRU": "Тип API авторизации", - "ptBR": "Tipo de API de autorização", - "frFR": "Type d'API d'autorisation", - "esAR": "Tipo de API de autorización", - "arDZ": "نوع API للاذن" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "编辑授权API": { - "text": "编辑授权API", - "key": "t_4_1745289354902", - "translations": { - "zhCN": "编辑授权API", - "zhTW": "編輯授權API", - "enUS": "Edit Authorization API", - "jaJP": "編集権限API", - "koKR": "編집 권한 API", - "ruRU": "API для редактирования разрешений", - "ptBR": "API de autorização de edição", - "frFR": "API d'édition d'autorisation", - "esAR": "API de autorización de edición", - "arDZ": "API للتحرير المسموح به" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "删除授权API": { - "text": "删除授权API", - "key": "t_5_1745289355718", - "translations": { - "zhCN": "删除授权API", - "zhTW": "刪除授權API", - "enUS": "Delete Authorization API", - "jaJP": "認証APIの削除", - "koKR": "인증 API 제거", - "ruRU": "Удаление API авторизации", - "ptBR": "Remover API de autorização", - "frFR": "Suppression de l'API d'autorisation", - "esAR": "Eliminar API de autorización", - "arDZ": "حذف API التحقق من الصلاحيات" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "确定删除该授权API吗?此操作不可恢复。": { - "text": "确定删除该授权API吗?此操作不可恢复。", - "key": "t_6_1745289358340", - "translations": { - "zhCN": "确定删除该授权API吗?此操作不可恢复。", - "zhTW": "確定刪除該授權API嗎?此操作無法恢復。", - "enUS": "Are you sure you want to delete this authorized API? This action cannot be undone.", - "jaJP": "この認証されたAPIを削除してもよろしいですか?この操作は元に戻すことができません。", - "koKR": "이 권한된 API를 정말로 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.", - "ruRU": "Уверены, что хотите удалить этот авторизованный API? Это действие нельзя отменить.", - "ptBR": "Tem certeza de que deseja excluir este API autorizado? Esta ação não pode ser revertida.", - "frFR": "Êtes-vous sûr de vouloir supprimer cet API autorisé ? Cette action ne peut pas être annulée.", - "esAR": "¿Está seguro de que desea eliminar este API autorizado? Esta acción no se puede deshacer.", - "arDZ": "هل أنت متأكد من أنك تريد حذف هذا API المصرح به؟ لا يمكن استعادة هذا الإجراء." - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "添加失败": { - "text": "添加失败", - "key": "t_7_1745289355714", - "translations": { - "zhCN": "添加失败", - "zhTW": "添加失敗", - "enUS": "Add failed", - "jaJP": "追加失敗", - "koKR": "추가 실패", - "ruRU": "Добавление失败", - "ptBR": "Falha ao adicionar", - "frFR": "Échec de l'ajout", - "esAR": "Fallo al agregar", - "arDZ": "فشل الإضافة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "更新失败": { - "text": "更新失败", - "key": "t_8_1745289354902", - "translations": { - "zhCN": "更新失败", - "zhTW": "更新失敗", - "enUS": "Update failed", - "jaJP": "アップデート失敗", - "koKR": "업데이트 실패", - "ruRU": "Обновление失败", - "ptBR": "Falha na atualização", - "frFR": "Échec de mise à jour", - "esAR": "Fallo en la actualización", - "arDZ": "فشل التحديث" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "已过期{days}天": { - "text": "已过期{days}天", - "key": "t_9_1745289355714", - "translations": { - "zhCN": "已过期{days}天", - "zhTW": "已過期{days}天", - "enUS": "Expired {days} days", - "jaJP": "{days}日経過", - "koKR": "{days}일 경과", - "ruRU": "Прошло {days} дней", - "ptBR": "Expirado há {days} dias", - "frFR": "Expiré {days} jours", - "esAR": "Vencido {days} días", - "arDZ": "انتهت صلاحيته {days} يوم" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "监控管理": { - "text": "监控管理", - "key": "t_10_1745289354650", - "translations": { - "zhCN": "监控管理", - "zhTW": "監控管理", - "enUS": "Monitoring Management", - "jaJP": "監視管理", - "koKR": "모니터링 관리", - "ruRU": "Мониторинг управления", - "ptBR": "Gestão de Monitoramento", - "frFR": "Gestion de surveillance", - "esAR": "Gestión de monitoreo", - "arDZ": "إدارة المراقبة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "添加监控": { - "text": "添加监控", - "key": "t_11_1745289354516", - "translations": { - "zhCN": "添加监控", - "zhTW": "加入監控", - "enUS": "Add Monitoring", - "jaJP": "監視を追加する", - "koKR": "모니터링 추가", - "ruRU": "Добавить мониторинг", - "ptBR": "Adicionar monitoramento", - "frFR": "Ajouter une surveillance", - "esAR": "Agregar monitoreo", - "arDZ": "إضافة المراقبة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入监控名称或域名搜索": { - "text": "请输入监控名称或域名搜索", - "key": "t_12_1745289356974", - "translations": { - "zhCN": "请输入监控名称或域名进行搜索", - "zhTW": "請輸入監控名稱或域名進行搜尋", - "enUS": "Please enter the monitoring name or domain to search", - "jaJP": "監視名前缀またはドメインを入力して検索してください", - "koKR": "모니터링 이름이나 도메인을 입력하여 검색하세요", - "ruRU": "Введите имя монитора или домен для поиска", - "ptBR": "Por favor, insira o nome do monitoramento ou o domínio para pesquisar", - "frFR": "Veuillez saisir le nom de surveillance ou le domaine pour la recherche", - "esAR": "Por favor, ingrese el nombre de monitoreo o el dominio para buscar", - "arDZ": "الرجاء إدخال اسم المراقبة أو اسم النطاق للبحث عنه" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "监控名称": { - "text": "监控名称", - "key": "t_13_1745289354528", - "translations": { - "zhCN": "监控名称", - "zhTW": "監控名稱", - "enUS": "Monitor Name", - "jaJP": "モニタ名称", - "koKR": "모니터 이름", - "ruRU": "Название монитора", - "ptBR": "Nome do Monitor", - "frFR": "Nom du moniteur", - "esAR": "Nombre del monitor", - "arDZ": "اسم المراقب" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "证书域名": { - "text": "证书域名", - "key": "t_14_1745289354902", - "translations": { - "zhCN": "证书域名", - "zhTW": "證書域名", - "enUS": "Certificate Domain", - "jaJP": "証明書ドメイン", - "koKR": "인증서 도메인", - "ruRU": "Сертификат домена", - "ptBR": "Domínio do certificado", - "frFR": "Domaine du certificat", - "esAR": "Dominio del certificado", - "arDZ": "اسم المجال للمستند" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "证书颁发机构": { - "text": "证书颁发机构", - "key": "t_15_1745289355714", - "translations": { - "zhCN": "证书颁发机构", - "zhTW": "證書發頒機構", - "enUS": "Certificate Authority", - "jaJP": "証明書発行機関", - "koKR": "인증서 발급 기관", - "ruRU": "Аутентификационная служба", - "ptBR": "Autoridade de Certificação", - "frFR": "Autorité de certification", - "esAR": "Autoridad de certificación", - "arDZ": "جهة إصدار الشهادات" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "证书状态": { - "text": "证书状态", - "key": "t_16_1745289354902", - "translations": { - "zhCN": "证书状态", - "zhTW": "證書狀態", - "enUS": "Certificate Status", - "jaJP": "証明書の状態", - "koKR": "서류 상태", - "ruRU": "Состояние сертификата", - "ptBR": "Status do certificado", - "frFR": "Statut du certificat", - "esAR": "Estado del certificado", - "arDZ": "حالة الشهادة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "证书到期时间": { - "text": "证书到期时间", - "key": "t_17_1745289355715", - "translations": { - "zhCN": "证书到期时间", - "zhTW": "證書到期時間", - "enUS": "Certificate Expiration Date", - "jaJP": "証明書の有効期限", - "koKR": "인증서 만료일", - "ruRU": "Дата окончания действия сертификата", - "ptBR": "Data de expiração do certificado", - "frFR": "Date d'expiration du certificat", - "esAR": "Fecha de expiración del certificado", - "arDZ": "تاريخ انتهاء صلاحية الشهادة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "告警渠道": { - "text": "告警渠道", - "key": "t_18_1745289354598", - "translations": { - "zhCN": "告警渠道", - "zhTW": "告警管道", - "enUS": "Alert Channels", - "jaJP": "警報チャネル", - "koKR": "알림 채널", - "ruRU": "Каналы оповещений", - "ptBR": "Canais de alerta", - "frFR": "Canaux d'alerte", - "esAR": "Canales de alerta", - "arDZ": "قنوات التحذير" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "上次检查时间": { - "text": "上次检查时间", - "key": "t_19_1745289354676", - "translations": { - "zhCN": "上次检查时间", - "zhTW": "上次檢查時間", - "enUS": "Last Check Time", - "jaJP": "最後のチェック時刻", - "koKR": "최근 점검 시간", - "ruRU": "Время последней проверки", - "ptBR": "Última data de verificação", - "frFR": "Dernière date de vérification", - "esAR": "Última revisión", - "arDZ": "تاريخ آخر فحص" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "编辑监控": { - "text": "编辑监控", - "key": "t_20_1745289354598", - "translations": { - "zhCN": "编辑监控", - "zhTW": "編輯監控", - "enUS": "Edit Monitoring", - "jaJP": "編集監視", - "koKR": "편집 모니터링", - "ruRU": "Редактирование мониторинга", - "ptBR": "Edição de Monitoramento", - "frFR": "Édition de surveillance", - "esAR": "Edición de monitoreo", - "arDZ": "تعديل الرقابة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "确认删除": { - "text": "确认删除", - "key": "t_21_1745289354598", - "translations": { - "zhCN": "确认删除", - "zhTW": "確認刪除", - "enUS": "Confirm Delete", - "jaJP": "削除を確認してください", - "koKR": "삭제 확인", - "ruRU": "Подтвердите удаление", - "ptBR": "Confirmar exclusão", - "frFR": "Confirmez la suppression", - "esAR": "Confirmar eliminación", - "arDZ": "تأكيد الحذف" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "删除后无法恢复,确认要删除该监控吗?": { - "text": "删除后无法恢复,确认要删除该监控吗?", - "key": "t_22_1745289359036", - "translations": { - "zhCN": "删除后将无法恢复,您确认要删除该监控吗?", - "zhTW": "刪除後將無法恢復,您確定要刪除該監控嗎?", - "enUS": "Items cannot be restored after deletion. Are you sure you want to delete this monitor?", - "jaJP": "削除後は復元できません。この監視を削除する場合は確定しますか?", - "koKR": "삭제된 아이템은 복원할 수 없습니다. 이 모니터를 정말로 삭제하시겠습니까?", - "ruRU": "Элементы нельзя восстановить после удаления. Вы уверены, что хотите удалить этот монитор?", - "ptBR": "Os itens não podem ser restaurados após a exclusão. Tem certeza de que deseja excluir este monitor?", - "frFR": "Les éléments ne peuvent pas être restaurés après suppression. Êtes-vous sûr de vouloir supprimer ce moniteur?", - "esAR": "Los elementos no se pueden recuperar después de su eliminación. ¿Está seguro de que desea eliminar este monitor?", - "arDZ": "لا يمكن استعادة العناصر بعد الحذف. هل أنت متأكد من أنك تريد حذف هذا المراقب؟" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "修改失败": { - "text": "修改失败", - "key": "t_23_1745289355716", - "translations": { - "zhCN": "修改失败", - "zhTW": "修改失敗", - "enUS": "Modification failed", - "jaJP": "変更失敗", - "koKR": "변경 실패", - "ruRU": "Не удалось изменить", - "ptBR": "Falha na modificação", - "frFR": "Échec de la modification", - "esAR": "Fallo en la modificación", - "arDZ": "فشل التعديل" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "设置失败": { - "text": "设置失败", - "key": "t_24_1745289355715", - "translations": { - "zhCN": "设置失败", - "zhTW": "設定失敗", - "enUS": "Setup Failed", - "jaJP": "設定失敗", - "koKR": "설정 실패", - "ruRU": "Сбой настройки", - "ptBR": "Falha na configuração", - "frFR": "Échec de la configuration", - "esAR": "Fallo en la configuración", - "arDZ": "فشل في الإعداد" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入验证码": { - "text": "请输入验证码", - "key": "t_25_1745289355721", - "translations": { - "zhCN": "请输入验证码", - "zhTW": "請輸入驗證碼", - "enUS": "Please enter the verification code", - "jaJP": "認証コードを入力してください", - "koKR": "인증 코드를 입력하세요", - "ruRU": "Введите код подтверждения", - "ptBR": "Por favor, insira o código de verificação", - "frFR": "Veuillez saisir le code de vérification", - "esAR": "Por favor, ingrese el código de verificación", - "arDZ": "من فضلك، أدخل رمز التحقق" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "表单验证失败,请检查填写内容": { - "text": "表单验证失败,请检查填写内容", - "key": "t_26_1745289358341", - "translations": { - "zhCN": "表单验证失败,请检查填写内容", - "zhTW": "表單驗證失敗,請檢查填寫內容", - "enUS": "Form validation failed, please check the filled content", - "jaJP": "フォームのバリデーションに失敗しました、記入内容を確認してください", - "koKR": "양식 검증 실패, 입력 내용을 확인해 주세요", - "ruRU": "Проверка формы не пройдена, пожалуйста, проверьте填写的内容", - "ptBR": "Validação do formulário falhou, por favor, verifique o conteúdo preenchido", - "frFR": "Échec de validation du formulaire, veuillez vérifier le contenu rempli", - "esAR": "Validación del formulario fallida, por favor revise el contenido ingresado", - "arDZ": "فشل التحقق من النموذج، يرجى التحقق من المحتويات المملوءة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入授权API名称": { - "text": "请输入授权API名称", - "key": "t_27_1745289355721", - "translations": { - "zhCN": "请输入授权API名称", - "zhTW": "請輸入授權API名稱", - "enUS": "Please enter the authorized API name", - "jaJP": "認証API名前を入力してください", - "koKR": "인증 API 이름을 입력하세요", - "ruRU": "Введите имя авторизованного API", - "ptBR": "Por favor, insira o nome do API autorizado", - "frFR": "Veuillez saisir le nom de l'API autorisée", - "esAR": "Por favor, ingrese el nombre del API autorizado", - "arDZ": "من فضلك أدخل اسم API المصرح به" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请选择授权API类型": { - "text": "请选择授权API类型", - "key": "t_28_1745289356040", - "translations": { - "zhCN": "请选择授权API类型", - "zhTW": "請選擇授權API類型", - "enUS": "Please select the authorization API type", - "jaJP": "認証APIタイプを選択してください", - "koKR": "인증 API 유형을 선택하세요", - "ruRU": "Выберите тип авторизации API", - "ptBR": "Selecione o tipo de API de autorização", - "frFR": "Veuillez sélectionner le type d'API d'autorisation", - "esAR": "Seleccione el tipo de API de autorización", - "arDZ": "يرجى اختيار نوع API الت�权يز" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入服务器IP": { - "text": "请输入服务器IP", - "key": "t_29_1745289355850", - "translations": { - "zhCN": "请输入服务器IP", - "zhTW": "請輸入伺服器IP", - "enUS": "Please enter the server IP", - "jaJP": "サーバーIPを入力してください", - "koKR": "서버 IP를 입력하세요", - "ruRU": "Введите IP-адрес сервера", - "ptBR": "Por favor, insira o IP do servidor", - "frFR": "Veuillez saisir l'IP du serveur", - "esAR": "Por favor, ingrese la IP del servidor", - "arDZ": "الرجاء إدخال عنوان IP للخادم" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入SSH端口": { - "text": "请输入SSH端口", - "key": "t_30_1745289355718", - "translations": { - "zhCN": "请输入SSH端口", - "zhTW": "請輸入SSH端口", - "enUS": "Please enter the SSH port", - "jaJP": "SSHポートを入力してください", - "koKR": "SSH 포트를 입력하세요", - "ruRU": "Введите порт SSH", - "ptBR": "Por favor, insira a porta SSH", - "frFR": "S'il vous plaît, entrez le port SSH", - "esAR": "Por favor, ingrese el puerto SSH", - "arDZ": "من فضلك، أدخل ميناء SSH" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入SSH密钥": { - "text": "请输入SSH密钥", - "key": "t_31_1745289355715", - "translations": { - "zhCN": "请输入SSH密钥", - "zhTW": "請輸入SSH金鑰", - "enUS": "Please enter the SSH key", - "jaJP": "SSHキーを入力してください", - "koKR": "SSH 키를 입력하세요", - "ruRU": "Введите SSH-ключ", - "ptBR": "Por favor, insira a chave SSH", - "frFR": "Veuillez saisir la clé SSH", - "esAR": "Por favor, ingrese la clave SSH", - "arDZ": "من فضلك أدخل مفتاح SSH" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入宝塔地址": { - "text": "请输入宝塔地址", - "key": "t_32_1745289356127", - "translations": { - "zhCN": "请输入宝塔地址", - "zhTW": "請輸入寶塔地址", - "enUS": "Please enter the Baota address", - "jaJP": "宝塔アドレスを入力してください", - "koKR": "보타 주소를 입력하세요", - "ruRU": "Введите адрес Ботты", - "ptBR": "Por favor, insira o endereço do Baota", - "frFR": "Veuillez saisir l'adresse de Baota", - "esAR": "Por favor, ingrese la dirección de Baota", - "arDZ": "الرجاء إدخال عنوان بوتا" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入API密钥": { - "text": "请输入API密钥", - "key": "t_33_1745289355721", - "translations": { - "zhCN": "请输入API密钥", - "zhTW": "請輸入API金鑰", - "enUS": "Please enter the API key", - "jaJP": "APIキーを入力してください", - "koKR": "API 키를 입력하세요", - "ruRU": "Введіть ключ API", - "ptBR": "Por favor, insira a chave da API", - "frFR": "Veuillez saisir la clé API", - "esAR": "Por favor, ingrese la clave de API", - "arDZ": "الرجاء إدخال مفتاح API" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入1panel地址": { - "text": "请输入1panel地址", - "key": "t_34_1745289356040", - "translations": { - "zhCN": "请输入1panel地址", - "zhTW": "請輸入1panel地址", - "enUS": "Please enter the 1panel address", - "jaJP": "1panelのアドレスを入力してください", - "koKR": "1panel 주소를 입력해 주세요", - "ruRU": "Введите адрес 1panel", - "ptBR": "Por favor, insira o endereço do 1panel", - "frFR": "Veuillez saisir l'adresse 1panel", - "esAR": "Por favor, ingrese la dirección de 1panel", - "arDZ": "الرجاء إدخال عنوان 1panel" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入AccessKeyId": { - "text": "请输入AccessKeyId", - "key": "t_35_1745289355714", - "translations": { - "zhCN": "请输入AccessKeyId", - "zhTW": "請輸入AccessKeyId", - "enUS": "Please enter AccessKeyId", - "jaJP": "AccessKeyIdを入力してください", - "koKR": "AccessKeyId을 입력하세요", - "ruRU": "Введите AccessKeyId", - "ptBR": "Por favor, insira AccessKeyId", - "frFR": "Veuillez saisir AccessKeyId", - "esAR": "Por favor, ingrese AccessKeyId", - "arDZ": "من فضلك أدخل AccessKeyId" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入AccessKeySecret": { - "text": "请输入AccessKeySecret", - "key": "t_36_1745289355715", - "translations": { - "zhCN": "请输入AccessKeySecret", - "zhTW": "請輸入AccessKeySecret", - "enUS": "Please enter AccessKeySecret", - "jaJP": "AccessKeySecretを入力してください", - "koKR": "AccessKeySecret을 입력하세요", - "ruRU": "Введите AccessKeySecret", - "ptBR": "Por favor, insira AccessKeySecret", - "frFR": "Veuillez saisir AccessKeySecret", - "esAR": "Por favor, ingrese AccessKeySecret", - "arDZ": "من فضلك، أدخل AccessKeySecret" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入SecretId": { - "text": "请输入SecretId", - "key": "t_37_1745289356041", - "translations": { - "zhCN": "请输入SecretId", - "zhTW": "請輸入SecretId", - "enUS": "Please enter SecretId", - "jaJP": "SecretIdを入力してください", - "koKR": "SecretId를 입력하세요", - "ruRU": "Введіть SecretId", - "ptBR": "Por favor, insira SecretId", - "frFR": "S'il vous plaît, entrez SecretId", - "esAR": "Por favor, ingrese SecretId", - "arDZ": "من فضلك، أدخل SecretId" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入SecretKey": { - "text": "请输入SecretKey", - "key": "t_38_1745289356419", - "translations": { - "zhCN": "请输入密钥", - "zhTW": "請輸入密鑰", - "enUS": "Please enter SecretKey", - "jaJP": "SecretKeyを入力してください", - "koKR": "SecretKey를 입력하세요", - "ruRU": "Введите SecretKey", - "ptBR": "Por favor, insira a Chave Secreta", - "frFR": "Veuillez saisir la Clé Secrète", - "esAR": "Por favor, ingrese la Clave Secreta", - "arDZ": "من فضلك أدخل مفتاح السر" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "更新成功": { - "text": "更新成功", - "key": "t_39_1745289354902", - "translations": { - "zhCN": "更新成功", - "zhTW": "更新成功", - "enUS": "Update successful", - "jaJP": "更新成功", - "koKR": "업데이트 성공", - "ruRU": "Успешно обновлено", - "ptBR": "Atualização bem-sucedida", - "frFR": "Mise à jour réussie", - "esAR": "Actualización exitosa", - "arDZ": "نجاح التحديث" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "添加成功": { - "text": "添加成功", - "key": "t_40_1745289355715", - "translations": { - "zhCN": "添加成功", - "zhTW": "添加成功", - "enUS": "Addition Successful", - "jaJP": "追加成功", - "koKR": "추가 성공", - "ruRU": "Успешно добавлено", - "ptBR": "Adição bem-sucedida", - "frFR": "Ajout réussi", - "esAR": "Añadido con éxito", - "arDZ": "نجاح الإضافة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "类型": { - "text": "类型", - "key": "t_41_1745289354902", - "translations": { - "zhCN": "类型", - "zhTW": "類型", - "enUS": "Type", - "jaJP": "タイプ", - "koKR": "타입", - "ruRU": "Тип", - "ptBR": "Tipo", - "frFR": "Type", - "esAR": "Tipo", - "arDZ": "نوع" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "服务器IP": { - "text": "服务器IP", - "key": "t_42_1745289355715", - "translations": { - "zhCN": "服务器IP", - "zhTW": "伺服器IP", - "enUS": "Server IP", - "jaJP": "サーバーIP", - "koKR": "서버 IP", - "ruRU": "Сервер IP", - "ptBR": "IP do Servidor", - "frFR": "IP du serveur", - "esAR": "IP del servidor", - "arDZ": "IP del serveur" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "SSH端口": { - "text": "SSH端口", - "key": "t_43_1745289354598", - "translations": { - "zhCN": "SSH端口", - "zhTW": "SSH端口", - "enUS": "SSH port", - "jaJP": "SSHポート", - "koKR": "SSH 포트", - "ruRU": "Порт SSH", - "ptBR": "Porta SSH", - "frFR": "Port SSH", - "esAR": "Puerto SSH", - "arDZ": "منفذ SSH" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "用户名": { - "text": "用户名", - "key": "t_44_1745289354583", - "translations": { - "zhCN": "用户名", - "zhTW": "用戶名", - "enUS": "Username", - "jaJP": "ユーザー名", - "koKR": "사용자 이름", - "ruRU": "Имя пользователя", - "ptBR": "Nome de usuário", - "frFR": "Nom d'utilisateur", - "esAR": "Nombre de usuario", - "arDZ": "اسم المستخدم" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "认证方式": { - "text": "认证方式", - "key": "t_45_1745289355714", - "translations": { - "zhCN": "认证方式", - "zhTW": "認證方式", - "enUS": "Authentication method", - "jaJP": "認証方法", - "koKR": "인증 방법", - "ruRU": "Способ проверки", - "ptBR": "Método de autenticação", - "frFR": "Méthode d'authentification", - "esAR": "Método de autenticación", - "arDZ": "طريقة التحقق" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "密码认证": { - "text": "密码认证", - "key": "t_46_1745289355723", - "translations": { - "zhCN": "密码认证", - "zhTW": "密碼驗證", - "enUS": "Password authentication", - "jaJP": "パスワード認証", - "koKR": "암호 인증", - "ruRU": "Парольная аутентификация", - "ptBR": "Autenticação por senha", - "frFR": "Authentification par mot de passe", - "esAR": "Autenticación por contraseña", - "arDZ": "تأكيد البصمة البصرية" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "密钥认证": { - "text": "密钥认证", - "key": "t_47_1745289355715", - "translations": { - "zhCN": "密钥认证", - "zhTW": "密钥認證", - "enUS": "Key authentication", - "jaJP": "キー認証", - "koKR": "키 인증", - "ruRU": "Ключевая аутентификация", - "ptBR": "Autenticação de chave", - "frFR": "Authentification par clé", - "esAR": "Autenticación de clave", - "arDZ": "تأكيد البصمة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "密码": { - "text": "密码", - "key": "t_48_1745289355714", - "translations": { - "zhCN": "密码", - "zhTW": "密碼", - "enUS": "Password", - "jaJP": "パスワード", - "koKR": "비밀번호", - "ruRU": "Пароль", - "ptBR": "Senha", - "frFR": "Mot de passe", - "esAR": "Contraseña", - "arDZ": "كلمة المرور" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "SSH私钥": { - "text": "SSH私钥", - "key": "t_49_1745289355714", - "translations": { - "zhCN": "SSH私钥", - "zhTW": "SSH私鑰", - "enUS": "SSH private key", - "jaJP": "SSHプライベートキー", - "koKR": "SSH 비밀키", - "ruRU": "SSH частный ключ", - "ptBR": "Chave privada SSH", - "frFR": "Clé privée SSH", - "esAR": "Llave privada SSH", - "arDZ": "مفتاح خاص SSH" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入SSH私钥": { - "text": "请输入SSH私钥", - "key": "t_50_1745289355715", - "translations": { - "zhCN": "请输入SSH私钥", - "zhTW": "請輸入SSH私鑰", - "enUS": "Please enter the SSH private key", - "jaJP": "SSHプライベートキーを入力してください", - "koKR": "SSH 프라이빗 키를 입력하세요", - "ruRU": "Введите SSH частный ключ", - "ptBR": "Por favor, insira a chave privada SSH", - "frFR": "Veuillez saisir la clé privée SSH", - "esAR": "Por favor, ingrese la clave privada SSH", - "arDZ": "الرجاء إدخال مفتاح SSH الخاص" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "私钥密码": { - "text": "私钥密码", - "key": "t_51_1745289355714", - "translations": { - "zhCN": "私钥密码", - "zhTW": "私鍵密碼", - "enUS": "Private key password", - "jaJP": "プライベートキーワード", - "koKR": "private key 비밀번호", - "ruRU": "Пароль私ного ключа", - "ptBR": "Senha da chave privada", - "frFR": "Mot de passe de la clé privée", - "esAR": "Contraseña de la clave privada", - "arDZ": "كلمة المرور الخاصة بالمفتاح الخاص" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "如果私钥有密码,请输入": { - "text": "如果私钥有密码,请输入", - "key": "t_52_1745289359565", - "translations": { - "zhCN": "如果私钥有密码,请输入", - "zhTW": "如果私钥有密碼,請輸入", - "enUS": "If the private key has a password, please enter", - "jaJP": "プライベートキーにパスワードがある場合、入力してください", - "koKR": "비밀키에 비밀번호가 있으면 입력하세요", - "ruRU": "Если у私ного ключа есть пароль, введите", - "ptBR": "Se a chave privada tiver uma senha, insira", - "frFR": "Si la clé privée a un mot de passe, veuillez saisir", - "esAR": "Si la clave privada tiene una contraseña, ingrese", - "arDZ": "إذا كانت المفتاح الخاص يحتوي على كلمة مرور، أدخلها" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "宝塔面板地址": { - "text": "宝塔面板地址", - "key": "t_53_1745289356446", - "translations": { - "zhCN": "宝塔面板地址", - "zhTW": "宝塔面板地址", - "enUS": "BaoTa Panel Address", - "jaJP": "宝塔パネルのアドレス", - "koKR": "보타 패널 주소", - "ruRU": "Адрес панели Баота", - "ptBR": "Endereço da tela BaoTa", - "frFR": "Adresse du panneau BaoTa", - "esAR": "Dirección del panel BaoTa", - "arDZ": "عنوان واجهة بوتا" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入宝塔面板地址,例如: https://bt.example.com": { - "text": "请输入宝塔面板地址,例如: https://bt.example.com", - "key": "t_54_1745289358683", - "translations": { - "zhCN": "请输入宝塔面板地址,例如:https://bt.example.com", - "zhTW": "請輸入宝塔面板地址,例如:https://bt.example.com", - "enUS": "Please enter the Baota panel address, for example: https://bt.example.com", - "jaJP": "宝塔パネルのアドレスを入力してください、例えば:https://bt.example.com", - "koKR": "보타 패널 주소를 입력하세요,예를 들어: https://bt.example.com", - "ruRU": "Введіть адресс панели Baota, например: https://bt.example.com", - "ptBR": "Por favor, insira o endereço do painel Baota, por exemplo: https://bt.example.com", - "frFR": "Veuillez saisir l'adresse du panneau Baota, par exemple : https://bt.example.com", - "esAR": "Por favor, ingrese la dirección del panel Baota, por ejemplo: https://bt.example.com", - "arDZ": "من فضلك أدخل عنوان لوحة بوتا، مثل: https://bt.example.com" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "API密钥": { - "text": "API密钥", - "key": "t_55_1745289355715", - "translations": { - "zhCN": "API密钥", - "zhTW": "API金鑰", - "enUS": "API Key", - "jaJP": "APIキー", - "koKR": "API 키", - "ruRU": "API ключ", - "ptBR": "Chave API", - "frFR": "Clé API", - "esAR": "Clave API", - "arDZ": "مفتاح API" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "1panel地址": { - "text": "1panel地址", - "key": "t_56_1745289355714", - "translations": { - "zhCN": "1面板地址", - "zhTW": "1面板地址", - "enUS": "1 panel address", - "jaJP": "1パネルのアドレス", - "koKR": "1판의 주소", - "ruRU": "Адрес 1 панели", - "ptBR": "Endereço do painel 1", - "frFR": "Adresse du panneau 1", - "esAR": "Dirección del panel 1", - "arDZ": "عنوان اللوحة 1" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入1panel地址,例如: https://1panel.example.com": { - "text": "请输入1panel地址,例如: https://1panel.example.com", - "key": "t_57_1745289358341", - "translations": { - "zhCN": "请输入1panel地址,例如:https://1panel.example.com", - "zhTW": "請輸入1panel地址,例如:https://1panel.example.com", - "enUS": "Please enter the 1panel address, for example: https://1panel.example.com", - "jaJP": "1panelのアドレスを入力してください、例えば:https://1panel.example.com", - "koKR": "1panel 주소를 입력하세요, 예를 들어: https://1panel.example.com", - "ruRU": "Введіть адресс 1panel, например: https://1panel.example.com", - "ptBR": "Insira o endereço do 1panel, por exemplo: https://1panel.example.com", - "frFR": "Saisissez l'adresse 1panel, par exemple : https://1panel.example.com", - "esAR": "Ingrese la dirección de 1panel, por ejemplo: https://1panel.example.com", - "arDZ": "ادخل عنوان 1panel، مثلًا: https://1panel.example.com" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入AccessKey ID": { - "text": "请输入AccessKey ID", - "key": "t_58_1745289355721", - "translations": { - "zhCN": "请输入AccessKey ID", - "zhTW": "請輸入AccessKey ID", - "enUS": "Please enter the AccessKey ID", - "jaJP": "アクセスキーIDを入力してください", - "koKR": "AccessKey ID를 입력하세요", - "ruRU": "Введите ID AccessKey", - "ptBR": "Insira o ID do AccessKey", - "frFR": "Saisissez l'ID AccessKey", - "esAR": "Ingrese el ID de AccessKey", - "arDZ": "ادخل معرف AccessKey" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入AccessKey Secret": { - "text": "请输入AccessKey Secret", - "key": "t_59_1745289356803", - "translations": { - "zhCN": "请输入访问密钥的秘密", - "zhTW": "請輸入AccessKey密碼", - "enUS": "Please input AccessKey Secret", - "jaJP": "アクセスキーのシークレットを入力してください", - "koKR": "AccessKey 비밀번호를 입력하세요", - "ruRU": "Введите секрет AccessKey", - "ptBR": "Por favor, insira o segredo do AccessKey", - "frFR": "Veuillez saisir le secret d'AccessKey", - "esAR": "Por favor, ingrese el secreto de AccessKey", - "arDZ": "من فضلك ادخل سرية مفتاح الوصول" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入监控名称": { - "text": "请输入监控名称", - "key": "t_60_1745289355715", - "translations": { - "zhCN": "请输入监控名称", - "zhTW": "請輸入監控名稱", - "enUS": "Please enter the monitoring name", - "jaJP": "監視名前を入力してください", - "koKR": "모니터링 이름을 입력하세요", - "ruRU": "Введите имя монитора", - "ptBR": "Por favor, insira o nome do monitoramento", - "frFR": "Veuillez saisir le nom de surveillance", - "esAR": "Por favor, ingrese el nombre de monitoreo", - "arDZ": "الرجاء إدخال اسم المراقبة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入域名/IP": { - "text": "请输入域名/IP", - "key": "t_61_1745289355878", - "translations": { - "zhCN": "请输入域名/IP", - "zhTW": "請輸入域名/IP", - "enUS": "Please enter the domain/IP", - "jaJP": "ドメイン/IPを入力してください", - "koKR": "도메인/IP를 입력하세요", - "ruRU": "Введите домен/IP", - "ptBR": "Por favor, insira o domínio/IP", - "frFR": "Veuillez saisir le domaine/IP", - "esAR": "Por favor, ingrese el dominio/IP", - "arDZ": "الرجاء إدخال اسم النطاق/IP" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请选择检查周期": { - "text": "请选择检查周期", - "key": "t_62_1745289360212", - "translations": { - "zhCN": "请选择检查周期", - "zhTW": "請選擇檢查週期", - "enUS": "Please select the inspection cycle", - "jaJP": "検査サイクルを選択してください", - "koKR": "검사 주기를 선택하세요", - "ruRU": "Выберите период проверки", - "ptBR": "Selecione o período de inspeção", - "frFR": "Veuillez sélectionner le cycle d'inspection", - "esAR": "Por favor, seleccione el período de inspección", - "arDZ": "يرجى اختيار فترة التحقق" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "5分钟": { - "text": "5分钟", - "key": "t_63_1745289354897", - "translations": { - "zhCN": "5分钟", - "zhTW": "5分鐘", - "enUS": "5 minutes", - "jaJP": "5分", - "koKR": "5분", - "ruRU": "5 минут", - "ptBR": "5 minutos", - "frFR": "5 minutes", - "esAR": "5 minutos", - "arDZ": "5 دقائق" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "10分钟": { - "text": "10分钟", - "key": "t_64_1745289354670", - "translations": { - "zhCN": "10分钟", - "zhTW": "10分鐘", - "enUS": "10 minutes", - "jaJP": "10分", - "koKR": "10분", - "ruRU": "10 минут", - "ptBR": "10 minutos", - "frFR": "10 minutes", - "esAR": "10 minutos", - "arDZ": "10 دقائق" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "15分钟": { - "text": "15分钟", - "key": "t_65_1745289354591", - "translations": { - "zhCN": "15分钟", - "zhTW": "15分鐘", - "enUS": "15 minutes", - "jaJP": "15分", - "koKR": "15분", - "ruRU": "15 минут", - "ptBR": "15 minutos", - "frFR": "15 minutes", - "esAR": "15 minutos", - "arDZ": "15 دقيقة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "30分钟": { - "text": "30分钟", - "key": "t_66_1745289354655", - "translations": { - "zhCN": "30分钟", - "zhTW": "30分鐘", - "enUS": "30 minutes", - "jaJP": "30分", - "koKR": "30분", - "ruRU": "30 минут", - "ptBR": "30 minutos", - "frFR": "30 minutes", - "esAR": "30 minutos", - "arDZ": "30 دقيقة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "60分钟": { - "text": "60分钟", - "key": "t_67_1745289354487", - "translations": { - "zhCN": "60分钟", - "zhTW": "60分鐘", - "enUS": "60 minutes", - "jaJP": "60分", - "koKR": "60분", - "ruRU": "60 минут", - "ptBR": "60 minutos", - "frFR": "60 minutes", - "esAR": "60 minutos", - "arDZ": "60 دقيقة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "邮件": { - "text": "邮件", - "key": "t_68_1745289354676", - "translations": { - "zhCN": "邮件", - "zhTW": "郵件", - "enUS": "Email", - "jaJP": "メール", - "koKR": "이메일", - "ruRU": "Электронная почта", - "ptBR": "E-mail", - "frFR": "E-mail", - "esAR": "Correo electrónico", - "arDZ": "بريد إلكتروني" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "短信": { - "text": "短信", - "key": "t_69_1745289355721", - "translations": { - "zhCN": "短信", - "zhTW": "短信", - "enUS": "SMS", - "jaJP": "ショートメッセージ", - "koKR": "문자", - "ruRU": "СМС", - "ptBR": "SMS", - "frFR": "SMS", - "esAR": "SMS", - "arDZ": "رسالة قصيرة" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "微信": { - "text": "微信", - "key": "t_70_1745289354904", - "translations": { - "zhCN": "微信", - "zhTW": "微信", - "enUS": "WeChat", - "jaJP": "ライン", - "koKR": "위챗", - "ruRU": "Вайбер", - "ptBR": "WeChat", - "frFR": "WeChat", - "esAR": "WeChat", - "arDZ": "واتساب" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "域名/IP": { - "text": "域名/IP", - "key": "t_71_1745289354583", - "translations": { - "zhCN": "域名/IP", - "zhTW": "域名/IP", - "enUS": "Domain/IP", - "jaJP": "ドメイン/IP", - "koKR": "도메인/IP", - "ruRU": "Домен/IP", - "ptBR": "Domínio/IP", - "frFR": "Domaine/IP", - "esAR": "Dominio/IP", - "arDZ": "اسم النطاق/IP" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "检查周期": { - "text": "检查周期", - "key": "t_72_1745289355715", - "translations": { - "zhCN": "检查周期", - "zhTW": "檢查週期", - "enUS": "Inspection cycle", - "jaJP": "検査サイクル", - "koKR": "점검 주기", - "ruRU": "Период проверки", - "ptBR": "Período de inspeção", - "frFR": "Période de contrôle", - "esAR": "Período de inspección", - "arDZ": "فترة التحقق" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请选择告警渠道": { - "text": "请选择告警渠道", - "key": "t_73_1745289356103", - "translations": { - "zhCN": "请选择告警渠道", - "zhTW": "請選擇告警渠道", - "enUS": "Please select an alert channel", - "jaJP": "警報チャンネルを選択してください", - "koKR": "경고 채널을 선택해 주세요", - "ruRU": "Выберите канал уведомлений", - "ptBR": "Selecione o canal de alerta", - "frFR": "Sélectionnez un canal d'alerte", - "esAR": "Seleccione un canal de alerta", - "arDZ": "يرجى اختيار قناة التحذير" - }, - "timestamp": "2025-04-22T02:36:00.212Z" - }, - "请输入授权api名称": { - "text": "请输入授权api名称", - "key": "t_0_1745289808449", - "translations": { - "zhCN": "请输入授权API名称", - "zhTW": "請輸入授權API名稱", - "enUS": "Please enter the authorized API name", - "jaJP": "認証APIの名前を入力してください", - "koKR": "인증 API 이름을 입력하세요", - "ruRU": "Введите имя авторизованного API", - "ptBR": "Por favor, insira o nome do API autorizado", - "frFR": "Veuillez saisir le nom de l'API autorisée", - "esAR": "Por favor, ingrese el nombre del API autorizado", - "arDZ": "الرجاء إدخال اسم API المصرح به" - }, - "timestamp": "2025-04-22T02:43:28.449Z" - }, - "删除监控": { - "text": "删除监控", - "key": "t_0_1745294710530", - "translations": { - "zhCN": "删除监控", - "zhTW": "刪除監控", - "enUS": "Delete monitoring", - "jaJP": "監視を削除する", - "koKR": "모니터링 삭제", - "ruRU": "Удалить мониторинг", - "ptBR": "Excluir monitoramento", - "frFR": "Supprimer la surveillance", - "esAR": "Eliminar monitoreo", - "arDZ": "حذف المراقبة" - }, - "timestamp": "2025-04-22T04:05:10.531Z" - }, - "更新时间": { - "text": "更新时间", - "key": "t_0_1745295228865", - "translations": { - "zhCN": "更新时间", - "zhTW": "更新時間", - "enUS": "Update Time", - "jaJP": "更新時刻", - "koKR": "업데이트 시간", - "ruRU": "Время обновления", - "ptBR": "Data de atualização", - "frFR": "Heure de mise à jour", - "esAR": "Fecha de actualización", - "arDZ": "زمن التحديث" - }, - "timestamp": "2025-04-22T04:13:48.865Z" - }, - "服务器IP地址格式错误": { - "text": "服务器IP地址格式错误", - "key": "t_0_1745317313835", - "translations": { - "zhCN": "服务器IP地址格式错误", - "zhTW": "伺服器IP位址格式錯誤", - "enUS": "Server IP address format error", - "jaJP": "サーバーIPアドレスの形式が不正です", - "koKR": "서버 IP 주소 형식이 오류입니다", - "ruRU": "Ошибочный формат IP-адреса сервера", - "ptBR": "Endereço IP do servidor está no formato incorreto", - "frFR": "Format de l'adresse IP du serveur incorrect", - "esAR": "Formato incorrecto de la dirección IP del servidor", - "arDZ": "تنسيق عنوان IP للخادم غير صحيح" - }, - "timestamp": "2025-04-22T10:21:55.286Z" - }, - "端口格式错误": { - "text": "端口格式错误", - "key": "t_1_1745317313096", - "translations": { - "zhCN": "端口格式错误", - "zhTW": "端口格式錯誤", - "enUS": "Port format error", - "jaJP": "ポートフォーマットエラー", - "koKR": "포트 포맷 오류", - "ruRU": "Ошибка формата порта", - "ptBR": "Erro de formato de porta", - "frFR": "Erreur de format de port", - "esAR": "Error de formato de puerto", - "arDZ": "خطأ في تنسيق المنفذ" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "面板URL地址格式错误": { - "text": "面板URL地址格式错误", - "key": "t_2_1745317314362", - "translations": { - "zhCN": "面板URL地址格式错误", - "zhTW": "面板URL地址格式錯誤", - "enUS": "Panel URL address format error", - "jaJP": "パネルURLアドレスの形式が不正です", - "koKR": "패널 URL 주소 형식이 잘못되었습니다", - "ruRU": "Ошибка формата URL адреса панели", - "ptBR": "Formato de endereço da URL da página do painel incorreto", - "frFR": "Format incorrect de l'adresse URL du panneau", - "esAR": "Error de formato en la dirección URL del panel", - "arDZ": "خطأ في صيغة عنوان URL للوحة" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "请输入面板API密钥": { - "text": "请输入面板API密钥", - "key": "t_3_1745317313561", - "translations": { - "zhCN": "请输入面板API密钥", - "zhTW": "請輸入面板API金鑰", - "enUS": "Please enter the panel API key", - "jaJP": "パネルAPIキーを入力してください", - "koKR": "패널 API 키를 입력하세요", - "ruRU": "Введіть ключ API панелі", - "ptBR": "Por favor, insira a chave API da panela", - "frFR": "Veuillez saisir la clé API du panneau", - "esAR": "Por favor, ingrese la clave API del panel", - "arDZ": "الرجاء إدخال مفتاح API لوحة التحكم" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "请输入阿里云AccessKeyId": { - "text": "请输入阿里云AccessKeyId", - "key": "t_4_1745317314054", - "translations": { - "zhCN": "请输入阿里云AccessKeyId", - "zhTW": "請輸入阿里雲AccessKeyId", - "enUS": "Please enter the Aliyun AccessKeyId", - "jaJP": "阿里云アクセスキーIDを入力してください", - "koKR": "阿里云 접근키 ID를 입력하세요", - "ruRU": "Введите Aliyun AccessKeyId", - "ptBR": "Por favor, insira o AccessKeyId da Aliyun", - "frFR": "Veuillez saisir le AccessKeyId d'Aliyun", - "esAR": "Por favor, ingrese el AccessKeyId de Aliyun", - "arDZ": "الرجاء إدخال AccessKeyId لـ Aliyun" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "请输入阿里云AccessKeySecret": { - "text": "请输入阿里云AccessKeySecret", - "key": "t_5_1745317315285", - "translations": { - "zhCN": "请输入阿里云AccessKeySecret", - "zhTW": "請輸入阿里雲AccessKeySecret", - "enUS": "Please input the Aliyun AccessKeySecret", - "jaJP": "阿里云のAccessKeySecretを入力してください", - "koKR": "阿里yun AccessKeySecret을 입력하세요", - "ruRU": "Ввведите секретный ключ AccessKey Aliyun", - "ptBR": "Por favor, insira o AccessKeySecret da Aliyun", - "frFR": "Veuillez saisir le AccessKeySecret d'Aliyun", - "esAR": "Por favor, ingrese el AccessKeySecret de Aliyun", - "arDZ": "الرجاء إدخال AccessKeySecret لـ Aliyun" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "请输入腾讯云SecretId": { - "text": "请输入腾讯云SecretId", - "key": "t_6_1745317313383", - "translations": { - "zhCN": "请输入腾讯云SecretId", - "zhTW": "請輸入腾讯雲SecretId", - "enUS": "Please enter the Tencent Cloud SecretId", - "jaJP": "腾讯云SecretIdを入力してください", - "koKR": "腾讯云 SecretId를 입력하세요", - "ruRU": "Введите Tencent Cloud SecretId", - "ptBR": "Por favor, insira o SecretId do Tencent Cloud", - "frFR": "S'il vous plaît saisir le SecretId de Tencent Cloud", - "esAR": "Por favor, ingrese el SecretId de Tencent Cloud", - "arDZ": "الرجاء إدخال SecretId لتencent cloud" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "请输入腾讯云SecretKey": { - "text": "请输入腾讯云SecretKey", - "key": "t_7_1745317313831", - "translations": { - "zhCN": "请输入腾讯云SecretKey", - "zhTW": "請輸入腾讯雲SecretKey", - "enUS": "Please enter the Tencent Cloud SecretKey", - "jaJP": "腾讯雲のSecretKeyを入力してください", - "koKR": "腾讯云 SecretKey를 입력하세요", - "ruRU": "Введите SecretKey Tencent Cloud", - "ptBR": "Por favor, insira a SecretKey da Tencent Cloud", - "frFR": "Veuillez saisir la SecretKey de Tencent Cloud", - "esAR": "Por favor, ingrese la SecretKey de Tencent Cloud", - "arDZ": "من فضلك أدخل SecretKey Tencent Cloud" - }, - "timestamp": "2025-04-22T10:21:55.287Z" - }, - "已启用": { - "text": "已启用", - "key": "t_0_1745457486299", - "translations": { - "zhCN": "已启用", - "zhTW": "已啟用", - "enUS": "Enabled", - "jaJP": "有効", - "koKR": "활성화됨", - "ruRU": "Включено", - "ptBR": "Ativado", - "frFR": "Activé", - "esAR": "Habilitado", - "arDZ": "ممكّن" - }, - "timestamp": "2025-04-24T01:18:20.045Z" - }, - "已停止": { - "text": "已停止", - "key": "t_1_1745457484314", - "translations": { - "zhCN": "已停止", - "zhTW": "已停止", - "enUS": "Stopped", - "jaJP": "停止しました", - "koKR": "중지됨", - "ruRU": "Остановлено", - "ptBR": "Parado", - "frFR": "Arrêté", - "esAR": "Detenido", - "arDZ": "توقف" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "切换为手动模式": { - "text": "切换为手动模式", - "key": "t_2_1745457488661", - "translations": { - "zhCN": "切换为手动模式", - "zhTW": "切換為手動模式", - "enUS": "Switch to manual mode", - "jaJP": "手動モードに切り替え", - "koKR": "수동 모드로 전환", - "ruRU": "Переключиться в ручной режим", - "ptBR": "Mudar para o modo manual", - "frFR": "Passer en mode manuel", - "esAR": "Cambiar a modo manual", - "arDZ": "التبديل إلى الوضع اليدوي" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "切换为自动模式": { - "text": "切换为自动模式", - "key": "t_3_1745457486983", - "translations": { - "zhCN": "切换为自动模式", - "zhTW": "切換為自動模式", - "enUS": "Switch to automatic mode", - "jaJP": "自動モードに切り替える", - "koKR": "자동 모드로 전환", - "ruRU": "Переключиться в автоматический режим", - "ptBR": "Mudar para o modo automático", - "frFR": "Passer en mode automatique", - "esAR": "Cambiar a modo automático", - "arDZ": "التبديل إلى الوضع التلقائي" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "切换为手动模式后,工作流将不再自动执行,但仍可手动执行": { - "text": "切换为手动模式后,工作流将不再自动执行,但仍可手动执行", - "key": "t_4_1745457497303", - "translations": { - "zhCN": "切换为手动模式后,工作流将不再自动执行,但仍可手动执行", - "zhTW": "切換為手動模式後,工作流將不再自動執行,但仍可手動執行", - "enUS": "After switching to manual mode, the workflow will no longer be executed automatically, but can still be executed manually", - "jaJP": "手動モードに切り替えた後、ワークフローは自動的に実行されなくなりますが、手動で実行することは可能です", - "koKR": "수동 모드로 전환한 후 워크플로우는 더 이상 자동으로 실행되지 않지만 수동으로 실행할 수 있습니다", - "ruRU": "После переключения в ручной режим рабочий процесс больше не будет выполняться автоматически, но его все равно можно выполнить вручную", - "ptBR": "Ao mudar para o modo manual, o fluxo de trabalho não será mais executado automaticamente, mas ainda pode ser executado manualmente", - "frFR": "Après avoir basculé en mode manuel, le flux de travail ne s'exécutera plus automatiquement, mais peut toujours être exécuté manuellement", - "esAR": "Después de cambiar al modo manual, el flujo de trabajo ya no se ejecutará automáticamente, pero aún se puede ejecutar manualmente", - "arDZ": "بعد التبديل إلى الوضع اليدوي، لن يتم تنفيذ سير العمل تلقائيًا، ولكن لا يزال يمكن تنفيذه يدويًا" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "切换为自动模式后,工作流将按照配置的时间自动执行": { - "text": "切换为自动模式后,工作流将按照配置的时间自动执行", - "key": "t_5_1745457494695", - "translations": { - "zhCN": "切换为自动模式后,工作流将按照配置的时间自动执行", - "zhTW": "切換為自動模式後,工作流將按照配置的時間自動執行", - "enUS": "After switching to automatic mode, the workflow will automatically execute according to the configured time", - "jaJP": "自動モードに切り替えた後、ワークフローは設定された時間に従って自動的に実行されます", - "koKR": "자동 모드로 전환한 후 워크플로우는 구성된 시간에 따라 자동으로 실행됩니다", - "ruRU": "После переключения в автоматический режим рабочий процесс будет автоматически выполняться в соответствии с настроенным временем", - "ptBR": "Após mudar para o modo automático, o fluxo de trabalho será executado automaticamente de acordo com o tempo configurado", - "frFR": "Après être passé en mode automatique, le flux de travail s'exécutera automatiquement selon le temps configuré", - "esAR": "Después de cambiar al modo automático, el flujo de trabajo se ejecutará automáticamente según el tiempo configurado", - "arDZ": "بعد التبديل إلى الوضع التلقائي، سيعمل سير العمل تلقائيًا وفقًا للوقت المحدد" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "关闭当前工作流": { - "text": "关闭当前工作流", - "key": "t_6_1745457487560", - "translations": { - "zhCN": "关闭当前工作流", - "zhTW": "關閉當前工作流程", - "enUS": "Close current workflow", - "jaJP": "現在のワークフローを閉じる", - "koKR": "현재 워크플로우 닫기", - "ruRU": "Закрыть текущий рабочий процесс", - "ptBR": "Fechar fluxo de trabalho atual", - "frFR": "Fermer le flux de travail actuel", - "esAR": "Cerrar flujo de trabajo actual", - "arDZ": "إغلاق سير العمل الحالي" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "启用当前工作流": { - "text": "启用当前工作流", - "key": "t_7_1745457487185", - "translations": { - "zhCN": "启用当前工作流", - "zhTW": "啟用當前工作流程", - "enUS": "Enable current workflow", - "jaJP": "現在のワークフローを有効にする", - "koKR": "현재 워크플로우 활성화", - "ruRU": "Включить текущий рабочий процесс", - "ptBR": "Ativar fluxo de trabalho atual", - "frFR": "Activer le flux de travail actuel", - "esAR": "Habilitar flujo de trabajo actual", - "arDZ": "تمكين سير العمل الحالي" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "关闭后,工作流将不再自动执行,手动也无法执行,是否继续?": { - "text": "关闭后,工作流将不再自动执行,手动也无法执行,是否继续?", - "key": "t_8_1745457496621", - "translations": { - "zhCN": "关闭后,工作流将不再自动执行,手动也无法执行,是否继续?", - "zhTW": "關閉後,工作流將不再自動執行,手動也無法執行,是否繼續?", - "enUS": "After closing, the workflow will no longer execute automatically and cannot be executed manually. Continue?", - "jaJP": "閉じると、ワークフローは自動的に実行されなくなり、手動でも実行できません。続行しますか?", - "koKR": "닫으면 워크플로우가 자동으로 실행되지 않고 수동으로도 실행할 수 없습니다. 계속하시겠습니까?", - "ruRU": "После закрытия рабочий процесс больше не будет выполняться автоматически и вручную его тоже невозможно будет выполнить. Продолжить?", - "ptBR": "Após o fechamento, o fluxo de trabalho não será mais executado automaticamente e não poderá ser executado manualmente. Continuar?", - "frFR": "Après la fermeture, le flux de travail ne s'exécutera plus automatiquement et ne pourra pas être exécuté manuellement. Continuer ?", - "esAR": "Después de cerrar, el flujo de trabajo ya no se ejecutará automáticamente ni se podrá ejecutar manualmente. ¿Continuar?", - "arDZ": "بعد الإغلاق، لن يتم تنفيذ سير العمل تلقائيًا ولن يمكن تنفيذه يدويًا. هل تريد المتابعة؟" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "启用后,工作流配置自动执行,或手动执行,是否继续?": { - "text": "启用后,工作流配置自动执行,或手动执行,是否继续?", - "key": "t_9_1745457500045", - "translations": { - "zhCN": "启用后,工作流配置自动执行,或手动执行,是否继续?", - "zhTW": "啟用後,工作流程配置自動執行,或手動執行,是否繼續?", - "enUS": "After enabling, the workflow configuration will execute automatically or manually. Continue?", - "jaJP": "有効にすると、ワークフロー設定が自動的に実行されるか、手動で実行されます。続行しますか?", - "koKR": "활성화 후, 워크플로 구성이 자동 또는 수동으로 실행됩니다. 계속하시겠습니까?", - "ruRU": "После включения конфигурация рабочего процесса будет выполняться автоматически или вручную. Продолжить?", - "ptBR": "Após ativar, a configuração do fluxo de trabalho será executada automaticamente ou manualmente. Continuar?", - "frFR": "Après activation, la configuration du flux de travail s'exécutera automatiquement ou manuellement. Continuer ?", - "esAR": "Después de habilitar, la configuración del flujo de trabajo se ejecutará automáticamente o manualmente. ¿Continuar?", - "arDZ": "بعد التمكين، سيتم تنفيذ تكوين سير العمل تلقائيًا أو يدويًا. متابعة؟" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "添加工作流失败": { - "text": "添加工作流失败", - "key": "t_10_1745457486451", - "translations": { - "zhCN": "添加工作流失败", - "zhTW": "添加工作流程失敗", - "enUS": "Failed to add workflow", - "jaJP": "ワークフローの追加に失敗しました", - "koKR": "워크플로우 추가 실패", - "ruRU": "Не удалось добавить рабочий процесс", - "ptBR": "Falha ao adicionar fluxo de trabalho", - "frFR": "Échec de l'ajout du flux de travail", - "esAR": "Error al añadir el flujo de trabajo", - "arDZ": "فشل إضافة سير العمل" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "设置工作流运行方式失败": { - "text": "设置工作流运行方式失败", - "key": "t_11_1745457488256", - "translations": { - "zhCN": "设置工作流运行方式失败", - "zhTW": "設置工作流程運行方式失敗", - "enUS": "Failed to set workflow execution method", - "jaJP": "ワークフローの実行方法の設定に失敗しました", - "koKR": "워크플로우 실행 방식 설정 실패", - "ruRU": "Не удалось установить метод выполнения рабочего процесса", - "ptBR": "Falha ao definir o método de execução do fluxo de trabalho", - "frFR": "Échec de la définition du mode d'exécution du flux de travail", - "esAR": "Error al configurar el método de ejecución del flujo de trabajo", - "arDZ": "فشل في تعيين طريقة تنفيذ سير العمل" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "启用或禁用工作流失败": { - "text": "启用或禁用工作流失败", - "key": "t_12_1745457489076", - "translations": { - "zhCN": "启用或禁用工作流失败", - "zhTW": "啟用或禁用工作流程失敗", - "enUS": "Enable or disable workflow failure", - "jaJP": "ワークフローの失敗を有効または無効にする", - "koKR": "워크플로우 실패 활성화 또는 비활성화", - "ruRU": "Включение или отключение сбоя рабочего процесса", - "ptBR": "Ativar ou desativar falha no fluxo de trabalho", - "frFR": "Activer ou désactiver l'échec du flux de travail", - "esAR": "Habilitar o deshabilitar falla del flujo de trabajo", - "arDZ": "تمكين أو تعطيل فشل سير العمل" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "执行工作流失败": { - "text": "执行工作流失败", - "key": "t_13_1745457487555", - "translations": { - "zhCN": "执行工作流失败", - "zhTW": "執行工作流程失敗", - "enUS": "Failed to execute workflow", - "jaJP": "ワークフローの実行に失敗しました", - "koKR": "워크플로우 실행 실패", - "ruRU": "Не удалось выполнить рабочий процесс", - "ptBR": "Falha ao executar o fluxo de trabalho", - "frFR": "Échec de l'exécution du workflow", - "esAR": "Error al ejecutar el flujo de trabajo", - "arDZ": "فشل تنفيذ سير العمل" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "删除工作流失败": { - "text": "删除工作流失败", - "key": "t_14_1745457488092", - "translations": { - "zhCN": "删除工作流失败", - "zhTW": "刪除工作流失敗", - "enUS": "Failed to delete workflow", - "jaJP": "ワークフローの削除に失敗しました", - "koKR": "워크플로우 삭제 실패", - "ruRU": "Не удалось удалить рабочий процесс", - "ptBR": "Falha ao excluir fluxo de trabalho", - "frFR": "Échec de la suppression du flux de travail", - "esAR": "Error al eliminar el flujo de trabajo", - "arDZ": "فشل في حذف سير العمل" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "退出": { - "text": "退出", - "key": "t_15_1745457484292", - "translations": { - "zhCN": "退出", - "zhTW": "退出", - "enUS": "Exit", - "jaJP": "終了", - "koKR": "종료", - "ruRU": "Выход", - "ptBR": "Sair", - "frFR": "Quitter", - "esAR": "Salir", - "arDZ": "خروج" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "即将退出登录状态,确认退出吗?": { - "text": "即将退出登录状态,确认退出吗?", - "key": "t_16_1745457491607", - "translations": { - "zhCN": "即将退出登录状态,确认退出吗?", - "zhTW": "即將登出,確認要登出嗎?", - "enUS": "You are about to log out. Are you sure you want to exit?", - "jaJP": "ログアウトしようとしています。ログアウトしますか?", - "koKR": "로그아웃하려고 합니다. 로그아웃하시겠습니까?", - "ruRU": "Вы собираетесь выйти из системы. Вы уверены, что хотите выйти?", - "ptBR": "Você está prestes a sair. Tem certeza de que deseja sair?", - "frFR": "Vous êtes sur le point de vous déconnecter. Êtes-vous sûr de vouloir quitter ?", - "esAR": "Estás a punto de cerrar sesión. ¿Seguro que quieres salir?", - "arDZ": "أنت على وشك تسجيل الخروج. هل أنت متأكد أنك تريد الخروج؟" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "正在退出登录状态,请稍后...": { - "text": "正在退出登录状态,请稍后...", - "key": "t_17_1745457488251", - "translations": { - "zhCN": "正在退出登录状态,请稍后...", - "zhTW": "正在登出,請稍候...", - "enUS": "Logging out, please wait...", - "jaJP": "ログアウト中です、少々お待ちください...", - "koKR": "로그아웃 중입니다. 잠시만 기다려주세요...", - "ruRU": "Выход из системы, пожалуйста, подождите...", - "ptBR": "Saindo da conta, por favor aguarde...", - "frFR": "Déconnexion en cours, veuillez patienter...", - "esAR": "Cerrando sesión, por favor espere...", - "arDZ": "جاري تسجيل الخروج، يرجى الانتظار..." - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "添加邮箱通知": { - "text": "添加邮箱通知", - "key": "t_18_1745457490931", - "translations": { - "zhCN": "添加邮箱通知", - "zhTW": "新增郵箱通知", - "enUS": "Add email notification", - "jaJP": "メール通知を追加", - "koKR": "이메일 알림 추가", - "ruRU": "Добавить уведомление по электронной почте", - "ptBR": "Adicionar notificação por e-mail", - "frFR": "Ajouter une notification par e-mail", - "esAR": "Agregar notificación por correo electrónico", - "arDZ": "إضافة إشعار عبر البريد الإلكتروني" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "保存成功": { - "text": "保存成功", - "key": "t_19_1745457484684", - "translations": { - "zhCN": "保存成功", - "zhTW": "儲存成功", - "enUS": "Saved successfully", - "jaJP": "保存が成功しました", - "koKR": "저장 성공", - "ruRU": "Сохранено успешно", - "ptBR": "Salvo com sucesso", - "frFR": "Enregistré avec succès", - "esAR": "Guardado exitosamente", - "arDZ": "تم الحفظ بنجاح" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "删除成功": { - "text": "删除成功", - "key": "t_20_1745457485905", - "translations": { - "zhCN": "删除成功", - "zhTW": "刪除成功", - "enUS": "Deleted successfully", - "jaJP": "削除に成功しました", - "koKR": "삭제 성공", - "ruRU": "Удалено успешно", - "ptBR": "Excluído com sucesso", - "frFR": "Supprimé avec succès", - "esAR": "Eliminado con éxito", - "arDZ": "تم الحذف بنجاح" - }, - "timestamp": "2025-04-24T01:18:20.046Z" - }, - "获取系统设置失败": { - "text": "获取系统设置失败", - "key": "t_0_1745464080226", - "translations": { - "zhCN": "获取系统设置失败", - "zhTW": "獲取系統設置失敗", - "enUS": "Failed to get system settings", - "jaJP": "システム設定の取得に失敗しました", - "koKR": "시스템 설정 가져오기 실패", - "ruRU": "Не удалось получить настройки системы", - "ptBR": "Falha ao obter as configurações do sistema", - "frFR": "Échec de la récupération des paramètres du système", - "esAR": "Error al obtener la configuración del sistema", - "arDZ": "فشل الحصول على إعدادات النظام" - }, - "timestamp": "2025-04-24T03:08:06.047Z" - }, - "设置保存失败": { - "text": "设置保存失败", - "key": "t_1_1745464079590", - "translations": { - "zhCN": "设置保存失败", - "zhTW": "設定儲存失敗", - "enUS": "Failed to save settings", - "jaJP": "設定の保存に失敗しました", - "koKR": "설정 저장 실패", - "ruRU": "Не удалось сохранить настройки", - "ptBR": "Falha ao salvar configurações", - "frFR": "Échec de l'enregistrement des paramètres", - "esAR": "Error al guardar la configuración", - "arDZ": "فشل حفظ الإعدادات" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "获取通知设置失败": { - "text": "获取通知设置失败", - "key": "t_2_1745464077081", - "translations": { - "zhCN": "获取通知设置失败", - "zhTW": "獲取通知設置失敗", - "enUS": "Failed to get notification settings", - "jaJP": "通知設定の取得に失敗しました", - "koKR": "알림 설정 가져오기 실패", - "ruRU": "Не удалось получить настройки уведомлений", - "ptBR": "Falha ao obter configurações de notificação", - "frFR": "Échec de la récupération des paramètres de notification", - "esAR": "Error al obtener la configuración de notificaciones", - "arDZ": "فشل الحصول على إعدادات الإشعار" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "保存通知设置失败": { - "text": "保存通知设置失败", - "key": "t_3_1745464081058", - "translations": { - "zhCN": "保存通知设置失败", - "zhTW": "儲存通知設定失敗", - "enUS": "Failed to save notification settings", - "jaJP": "通知設定の保存に失敗しました", - "koKR": "알림 설정 저장 실패", - "ruRU": "Не удалось сохранить настройки уведомлений", - "ptBR": "Falha ao salvar configurações de notificação", - "frFR": "Échec de l'enregistrement des paramètres de notification", - "esAR": "Error al guardar la configuración de notificaciones", - "arDZ": "فشل حفظ إعدادات الإشعار" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "获取通知渠道列表失败": { - "text": "获取通知渠道列表失败", - "key": "t_4_1745464075382", - "translations": { - "zhCN": "获取通知渠道列表失败", - "zhTW": "獲取通知渠道列表失敗", - "enUS": "Failed to get notification channel list", - "jaJP": "通知チャネルリストの取得に失敗しました", - "koKR": "알림 채널 목록 가져오기 실패", - "ruRU": "Не удалось получить список каналов уведомлений", - "ptBR": "Falha ao obter a lista de canais de notificação", - "frFR": "Échec de la récupération de la liste des canaux de notification", - "esAR": "Error al obtener la lista de canales de notificación", - "arDZ": "فشل في الحصول على قائمة قنوات الإخطار" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "添加邮箱通知渠道失败": { - "text": "添加邮箱通知渠道失败", - "key": "t_5_1745464086047", - "translations": { - "zhCN": "添加邮箱通知渠道失败", - "zhTW": "添加郵箱通知渠道失敗", - "enUS": "Failed to add email notification channel", - "jaJP": "メール通知チャネルの追加に失敗しました", - "koKR": "이메일 알림 채널 추가 실패", - "ruRU": "Не удалось добавить канал уведомлений по электронной почте", - "ptBR": "Falha ao adicionar canal de notificação por e-mail", - "frFR": "Échec de l'ajout du canal de notification par email", - "esAR": "Error al agregar el canal de notificación por correo electrónico", - "arDZ": "فشل إضافة قناة إشعار البريد الإلكتروني" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "更新通知渠道失败": { - "text": "更新通知渠道失败", - "key": "t_6_1745464075714", - "translations": { - "zhCN": "更新通知渠道失败", - "zhTW": "更新通知渠道失敗", - "enUS": "Failed to update notification channel", - "jaJP": "通知チャネルの更新に失敗しました", - "koKR": "알림 채널 업데이트 실패", - "ruRU": "Не удалось обновить канал уведомлений", - "ptBR": "Falha ao atualizar o canal de notificação", - "frFR": "Échec de la mise à jour du canal de notification", - "esAR": "Error al actualizar el canal de notificación", - "arDZ": "فشل تحديث قناة الإشعارات" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "删除通知渠道失败": { - "text": "删除通知渠道失败", - "key": "t_7_1745464073330", - "translations": { - "zhCN": "删除通知渠道失败", - "zhTW": "刪除通知渠道失敗", - "enUS": "Failed to delete notification channel", - "jaJP": "通知チャネルの削除に失敗しました", - "koKR": "알림 채널 삭제 실패", - "ruRU": "Не удалось удалить канал уведомлений", - "ptBR": "Falha ao excluir o canal de notificação", - "frFR": "Échec de la suppression du canal de notification", - "esAR": "Error al eliminar el canal de notificación", - "arDZ": "فشل حذف قناة الإشعار" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "检查版本更新失败": { - "text": "检查版本更新失败", - "key": "t_8_1745464081472", - "translations": { - "zhCN": "检查版本更新失败", - "zhTW": "檢查版本更新失敗", - "enUS": "Failed to check for version update", - "jaJP": "バージョン更新の確認に失敗しました", - "koKR": "버전 업데이트 확인 실패", - "ruRU": "Не удалось проверить обновление версии", - "ptBR": "Falha ao verificar atualização de versão", - "frFR": "Échec de la vérification de la mise à jour de version", - "esAR": "Error al comprobar la actualización de versión", - "arDZ": "فشل التحقق من تحديث النسخة" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "保存设置": { - "text": "保存设置", - "key": "t_9_1745464078110", - "translations": { - "zhCN": "保存设置", - "zhTW": "儲存設定", - "enUS": "Save settings", - "jaJP": "設定を保存", - "koKR": "설정 저장", - "ruRU": "Сохранить настройки", - "ptBR": "Salvar configurações", - "frFR": "Enregistrer les paramètres", - "esAR": "Guardar configuración", - "arDZ": "حفظ الإعدادات" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "基础设置": { - "text": "基础设置", - "key": "t_10_1745464073098", - "translations": { - "zhCN": "基础设置", - "zhTW": "基礎設定", - "enUS": "Basic Settings", - "jaJP": "基本設定", - "koKR": "기본 설정", - "ruRU": "Основные настройки", - "ptBR": "Configurações básicas", - "frFR": "Paramètres de base", - "esAR": "Configuración básica", - "arDZ": "الإعدادات الأساسية" - }, - "timestamp": "2025-04-24T03:08:06.048Z" - }, - "选择模板": { - "text": "选择模板", - "key": "t_0_1745474945127", - "translations": { - "zhCN": "选择模板", - "zhTW": "選擇範本", - "enUS": "Choose template", - "jaJP": "テンプレートを選択", - "koKR": "템플릿 선택", - "ruRU": "Выбрать шаблон", - "ptBR": "Escolher modelo", - "frFR": "Choisir un modèle", - "esAR": "Elegir plantilla", - "arDZ": "اختر نموذج" - }, - "timestamp": "2025-04-24T06:09:05.127Z" - }, - "请输入工作流名称": { - "text": "请输入工作流名称", - "key": "t_0_1745490735213", - "translations": { - "zhCN": "请输入工作流名称", - "enUS": "Please enter the workflow name", - "jaJP": "ワークフロー名を入力してください", - "koKR": "워크플로우 이름을 입력하세요", - "ruRU": "Введите название рабочего процесса", - "ptBR": "Por favor, insira o nome do fluxo de trabalho", - "frFR": "Veuillez saisir le nom du workflow", - "esAR": "Por favor ingrese el nombre del flujo de trabajo", - "arDZ": "الرجاء إدخال اسم سير العمل", - "zhTW": "請輸入工作流程名稱" - }, - "timestamp": "2025-04-24T10:32:19.917Z" - }, - "配置": { - "text": "配置", - "key": "t_1_1745490731990", - "translations": { - "zhCN": "配置", - "zhTW": "配置", - "enUS": "Configuration", - "jaJP": "設定", - "koKR": "설정", - "ruRU": "Конфигурация", - "ptBR": "Configuração", - "frFR": "Configuration", - "esAR": "Configuración", - "arDZ": "إعدادات" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请输入邮箱格式": { - "text": "请输入邮箱格式", - "key": "t_2_1745490735558", - "translations": { - "zhCN": "请输入邮箱格式", - "zhTW": "請輸入電郵格式", - "enUS": "Please enter the email format", - "jaJP": "メール形式を入力してください", - "koKR": "이메일 형식을 입력하세요", - "ruRU": "Пожалуйста, введите формат электронной почты", - "ptBR": "Por favor, insira o formato de e-mail", - "frFR": "Veuillez saisir le format d'e-mail", - "esAR": "Por favor, ingrese el formato de correo electrónico", - "arDZ": "يرجى إدخال البريد الإلكتروني" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请选择DNS提供商": { - "text": "请选择DNS提供商", - "key": "t_3_1745490735059", - "translations": { - "zhCN": "请选择DNS提供商", - "zhTW": "請選擇DNS提供商", - "enUS": "Please select a DNS provider", - "jaJP": "DNSプロバイダーを選択してください", - "koKR": "DNS 공급자를 선택하세요", - "ruRU": "Пожалуйста, выберите поставщика DNS", - "ptBR": "Por favor, selecione um provedor de DNS", - "frFR": "Veuillez sélectionner un fournisseur DNS", - "esAR": "Por favor, seleccione un proveedor de DNS", - "arDZ": "يرجى اختيار موفر DNS" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请输入续签间隔": { - "text": "请输入续签间隔", - "key": "t_4_1745490735630", - "translations": { - "zhCN": "请输入续签间隔", - "zhTW": "請輸入續簽間隔", - "enUS": "Please enter the renewal interval", - "jaJP": "更新間隔を入力してください", - "koKR": "갱신 간격을 입력하세요", - "ruRU": "Введите интервал продления", - "ptBR": "Por favor, insira o intervalo de renovação", - "frFR": "Veuillez saisir l'intervalle de renouvellement", - "esAR": "Por favor, ingrese el intervalo de renovación", - "arDZ": "الرجاء إدخال فاصل التجديد" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请输入域名,域名不能为空": { - "text": "请输入域名,域名不能为空", - "key": "t_5_1745490738285", - "translations": { - "zhCN": "请输入域名,域名不能为空", - "zhTW": "請輸入域名,域名不能為空", - "enUS": "Please enter the domain name, the domain name cannot be empty", - "jaJP": "ドメイン名を入力してください。ドメイン名は空にできません", - "koKR": "도메인 이름을 입력하세요. 도메인 이름은 비워둘 수 없습니다", - "ruRU": "Введите доменное имя, оно не может быть пустым", - "ptBR": "Digite o nome de domínio, o nome de domínio não pode estar vazio", - "frFR": "Veuillez entrer le nom de domaine, il ne peut pas être vide", - "esAR": "Ingrese el nombre de dominio, el nombre de dominio no puede estar vacío", - "arDZ": "الرجاء إدخال اسم النطاق، لا يمكن أن يكون اسم النطاق فارغًا" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请输入邮箱,邮箱不能为空": { - "text": "请输入邮箱,邮箱不能为空", - "key": "t_6_1745490738548", - "translations": { - "zhCN": "请输入邮箱,邮箱不能为空", - "zhTW": "請輸入郵箱,郵箱不能為空", - "enUS": "Please enter your email, email cannot be empty", - "jaJP": "メールアドレスを入力してください、メールアドレスは空にできません", - "koKR": "이메일을 입력하세요, 이메일은 비워둘 수 없습니다", - "ruRU": "Пожалуйста, введите адрес электронной почты, поле не может быть пустым", - "ptBR": "Por favor, insira o e-mail, o e-mail não pode estar vazio", - "frFR": "Veuillez entrer votre email, l'email ne peut pas être vide", - "esAR": "Por favor ingrese el correo electrónico, el correo electrónico no puede estar vacío", - "arDZ": "الرجاء إدخال البريد الإلكتروني، لا يمكن أن يكون البريد الإلكتروني فارغًا" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请选择DNS提供商,DNS提供商不能为空": { - "text": "请选择DNS提供商,DNS提供商不能为空", - "key": "t_7_1745490739917", - "translations": { - "zhCN": "请选择DNS提供商,DNS提供商不能为空", - "zhTW": "請選擇DNS提供商,DNS提供商不能為空", - "enUS": "Please select a DNS provider, the DNS provider cannot be empty", - "jaJP": "DNSプロバイダーを選択してください。DNSプロバイダーは空にできません", - "koKR": "DNS 공급자를 선택하십시오. DNS 공급자는 비워 둘 수 없습니다", - "ruRU": "Пожалуйста, выберите DNS-провайдера, DNS-провайдер не может быть пустым", - "ptBR": "Por favor, selecione um provedor DNS, o provedor DNS não pode estar vazio", - "frFR": "Veuillez sélectionner un fournisseur DNS, le fournisseur DNS ne peut pas être vide", - "esAR": "Por favor, seleccione un proveedor DNS, el proveedor DNS no puede estar vacío", - "arDZ": "الرجاء اختيار موفر DNS، لا يمكن أن يكون موفر DNS فارغًا" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "请输入续签间隔,续签间隔不能为空": { - "text": "请输入续签间隔,续签间隔不能为空", - "key": "t_8_1745490739319", - "translations": { - "zhCN": "请输入续签间隔,续签间隔不能为空", - "zhTW": "請輸入續簽間隔,續簽間隔不能為空", - "enUS": "Please enter the renewal interval, the renewal interval cannot be empty", - "jaJP": "更新間隔を入力してください。更新間隔は空にできません", - "koKR": "갱신 간격을 입력하세요. 갱신 간격은 비워둘 수 없습니다", - "ruRU": "Введите интервал продления, интервал продления не может быть пустым", - "ptBR": "Insira o intervalo de renovação, o intervalo de renovação não pode estar vazio", - "frFR": "Veuillez saisir l'intervalle de renouvellement, l'intervalle de renouvellement ne peut pas être vide", - "esAR": "Ingrese el intervalo de renovación, el intervalo de renovación no puede estar vacío", - "arDZ": "الرجاء إدخال فترة التجديد، فترة التجديد لا يمكن أن تكون فارغة" - }, - "timestamp": "2025-04-24T10:32:19.918Z" - }, - "邮箱格式错误,请输入正确的邮箱": { - "text": "邮箱格式错误,请输入正确的邮箱", - "key": "t_1_1745553909483", - "translations": { - "zhCN": "邮箱格式错误,请输入正确的邮箱", - "zhTW": "郵箱格式錯誤,請輸入正確的郵箱", - "enUS": "Invalid email format, please enter a correct email", - "jaJP": "メールの形式が正しくありません。正しいメールアドレスを入力してください", - "koKR": "이메일 형식이 잘못되었습니다. 올바른 이메일을 입력하세요", - "ruRU": "Неверный формат электронной почты, введите правильный адрес", - "ptBR": "Formato de e-mail inválido, por favor insira um e-mail correto", - "frFR": "Format d'email incorrect, veuillez saisir un email valide", - "esAR": "Formato de correo electrónico incorrecto, ingrese un correo correcto", - "arDZ": "تنسيق البريد الإلكتروني غير صحيح، يرجى إدخال بريد صحيح" - }, - "timestamp": "2025-04-25T04:05:10.662Z" - }, - "续签间隔不能为空": { - "text": "续签间隔不能为空", - "key": "t_2_1745553907423", - "translations": { - "zhCN": "续签间隔不能为空", - "zhTW": "續簽間隔不能為空", - "enUS": "Renewal interval cannot be empty", - "jaJP": "更新間隔は空にできません", - "koKR": "갱신 간격은 비워둘 수 없습니다", - "ruRU": "Интервал продления не может быть пустым", - "ptBR": "O intervalo de renovação não pode estar vazio", - "frFR": "L'intervalle de renouvellement ne peut pas être vide", - "esAR": "El intervalo de renovación no puede estar vacío", - "arDZ": "لا يمكن أن يكون فاصل التجديد فارغًا" - }, - "timestamp": "2025-04-25T04:05:10.662Z" - }, - "请输入证书域名,多个域名用逗号分隔": { - "text": "请输入证书域名,多个域名用逗号分隔", - "key": "t_0_1745735774005", - "translations": { - "zhCN": "请输入证书域名,多个域名用逗号分隔", - "zhTW": "請輸入證書域名,多個域名用逗號分隔", - "enUS": "Please enter the certificate domain name, multiple domain names separated by commas", - "jaJP": "証明書のドメイン名を入力してください。複数のドメイン名はカンマで区切ります", - "koKR": "인증서 도메인 이름을 입력하세요. 여러 도메인 이름은 쉼표로 구분합니다", - "ruRU": "Введите доменное имя сертификата, несколько доменных имен разделяются запятыми", - "ptBR": "Digite o nome de domínio do certificado, vários nomes de domínio separados por vírgulas", - "frFR": "Veuillez saisir le nom de domaine du certificat, plusieurs noms de domaine séparés par des virgules", - "esAR": "Ingrese el nombre de dominio del certificado, varios nombres de dominio separados por comas", - "arDZ": "الرجاء إدخال اسم نطاق الشهادة، أسماء نطاقات متعددة مفصولة بفواصل" - }, - "timestamp": "2025-04-27T06:36:55.317Z" - }, - "邮箱": { - "text": "邮箱", - "key": "t_1_1745735764953", - "translations": { - "zhCN": "邮箱", - "zhTW": "信箱", - "enUS": "Mailbox", - "jaJP": "メールボックス", - "koKR": "메일박스", - "ruRU": "Почтовый ящик", - "ptBR": "Caixa de correio", - "frFR": "Boîte aux lettres", - "esAR": "Buzón", - "arDZ": "صندوق البريد" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入邮箱,用于接收证书颁发机构的邮件通知": { - "text": "请输入邮箱,用于接收证书颁发机构的邮件通知", - "key": "t_2_1745735773668", - "translations": { - "zhCN": "请输入邮箱,用于接收证书颁发机构的邮件通知", - "zhTW": "請輸入郵箱,用於接收證書頒發機構的郵件通知", - "enUS": "Please enter your email to receive notifications from the certificate authority", - "jaJP": "証明書発行機関からのメール通知を受け取るためにメールアドレスを入力してください", - "koKR": "인증 기관의 메일 알림을 수신할 이메일을 입력해 주세요", - "ruRU": "Введите адрес электронной почты для получения уведомлений от сертификационного органа", - "ptBR": "Digite seu e-mail para receber notificações da autoridade certificadora", - "frFR": "Veuillez saisir votre adresse e-mail pour recevoir les notifications de l'autorité de certification", - "esAR": "Ingrese su correo electrónico para recibir notificaciones de la autoridad certificadora", - "arDZ": "الرجاء إدخال البريد الإلكتروني لتلقي إشعارات من سلطة الشهادات" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "DNS提供商": { - "text": "DNS提供商", - "key": "t_3_1745735765112", - "translations": { - "zhCN": "DNS提供商", - "zhTW": "DNS提供商", - "enUS": "DNS provider", - "jaJP": "DNSプロバイダー", - "koKR": "DNS 제공자", - "ruRU": "Провайдер DNS", - "ptBR": "Provedor de DNS", - "frFR": "Fournisseur DNS", - "esAR": "Proveedor de DNS", - "arDZ": "موفر DNS" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "添加": { - "text": "添加", - "key": "t_4_1745735765372", - "translations": { - "zhCN": "添加", - "zhTW": "添加", - "enUS": "Add", - "jaJP": "追加", - "koKR": "추가", - "ruRU": "Добавить", - "ptBR": "Adicionar", - "frFR": "Ajouter", - "esAR": "Agregar", - "arDZ": "إضافة" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "续签间隔(天)": { - "text": "续签间隔(天)", - "key": "t_5_1745735769112", - "translations": { - "zhCN": "续签间隔(天)", - "zhTW": "續簽間隔(天)", - "enUS": "Renewal Interval (Days)", - "jaJP": "更新間隔 (日)", - "koKR": "갱신 간격 (일)", - "ruRU": "Интервал продления (дни)", - "ptBR": "Intervalo de Renovação (Dias)", - "frFR": "Intervalle de renouvellement (jours)", - "esAR": "Intervalo de Renovación (Días)", - "arDZ": "فترة التجديد (أيام)" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "续签间隔时间": { - "text": "续签间隔时间", - "key": "t_6_1745735765205", - "translations": { - "zhCN": "续签间隔时间", - "zhTW": "續簽間隔時間", - "enUS": "Renewal interval", - "jaJP": "更新間隔", - "koKR": "갱신 간격", - "ruRU": "Интервал продления", - "ptBR": "Intervalo de renovação", - "frFR": "Intervalle de renouvellement", - "esAR": "Intervalo de renovación", - "arDZ": "فترة التجديد" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "天,到期后自动续签": { - "text": "天,到期后自动续签", - "key": "t_7_1745735768326", - "translations": { - "zhCN": "天,到期后自动续签", - "zhTW": "天,到期後自動續簽", - "enUS": "day, automatically renewed upon expiration", - "jaJP": "日、期限切れ後に自動更新", - "koKR": "일, 만료 후 자동 갱신", - "ruRU": "дней, автоматически продлевается после истечения срока", - "ptBR": "dias, renovado automaticamente após o vencimento", - "frFR": "jour(s), renouvelé automatiquement à l'expiration", - "esAR": "días, se renueva automáticamente al vencimiento", - "arDZ": "يوم، يتم التجديد تلقائيًا عند الانتهاء" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "已配置": { - "text": "已配置", - "key": "t_8_1745735765753", - "translations": { - "zhCN": "已配置", - "zhTW": "已配置", - "enUS": "Configured", - "jaJP": "設定済み", - "koKR": "구성됨", - "ruRU": "Настроено", - "ptBR": "Configurado", - "frFR": "Configuré", - "esAR": "Configurado", - "arDZ": "تم التكوين" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "未配置": { - "text": "未配置", - "key": "t_9_1745735765287", - "translations": { - "zhCN": "未配置", - "zhTW": "未配置", - "enUS": "Not configured", - "jaJP": "未設定", - "koKR": "구성되지 않음", - "ruRU": "Не настроено", - "ptBR": "Não configurado", - "frFR": "Non configuré", - "esAR": "No configurado", - "arDZ": "غير مهيأ" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "宝塔面板": { - "text": "宝塔面板", - "key": "t_10_1745735765165", - "translations": { - "zhCN": "宝塔面板", - "zhTW": "寶塔面板", - "enUS": "Pagoda Panel", - "jaJP": "パゴダパネル", - "koKR": "파고다 패널", - "ruRU": "Панель Пагода", - "ptBR": "Painel Pagode", - "frFR": "Panneau Pagode", - "esAR": "Panel Pagoda", - "arDZ": "لوحة باغودة" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "宝塔面板网站": { - "text": "宝塔面板网站", - "key": "t_11_1745735766456", - "translations": { - "zhCN": "宝塔面板网站", - "zhTW": "寶塔面板網站", - "enUS": "Pagoda Panel Website", - "jaJP": "宝塔パネルのウェブサイト", - "koKR": "파고다 패널 웹사이트", - "ruRU": "Веб-сайт панели Pagoda", - "ptBR": "Site do Painel Pagoda", - "frFR": "Site Web du Panneau Pagode", - "esAR": "Sitio web del Panel Pagoda", - "arDZ": "موقع لوحة باغودا" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "1Panel面板": { - "text": "1Panel面板", - "key": "t_12_1745735765571", - "translations": { - "zhCN": "1Panel面板", - "zhTW": "1Panel面板", - "enUS": "1Panel", - "jaJP": "1Panelパネル", - "koKR": "1Panel 패널", - "ruRU": "Панель 1Panel", - "ptBR": "Painel 1Panel", - "frFR": "Panneau 1Panel", - "esAR": "Panel 1Panel", - "arDZ": "لوحة 1Panel" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "1Panel网站": { - "text": "1Panel网站", - "key": "t_13_1745735766084", - "translations": { - "zhCN": "1Panel网站", - "zhTW": "1Panel網站", - "enUS": "1Panel website", - "jaJP": "1Panelウェブサイト", - "koKR": "1Panel 웹사이트", - "ruRU": "1Panel веб-сайт", - "ptBR": "1Panel site", - "frFR": "1Panel site web", - "esAR": "1Panel sitio web", - "arDZ": "1Panel موقع إلكتروني" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "腾讯云CDN": { - "text": "腾讯云CDN", - "key": "t_14_1745735766121", - "translations": { - "zhCN": "腾讯云CDN", - "zhTW": "騰訊雲CDN", - "enUS": "Tencent Cloud CDN", - "jaJP": "Tencent Cloud CDN", - "koKR": "텐센트 클라우드 CDN", - "ruRU": "Tencent Cloud CDN", - "ptBR": "Tencent Cloud CDN", - "frFR": "Tencent Cloud CDN", - "esAR": "Tencent Cloud CDN", - "arDZ": "تنسنت كلاود CDN" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "腾讯云COS": { - "text": "腾讯云COS", - "key": "t_15_1745735768976", - "translations": { - "zhCN": "腾讯云COS", - "zhTW": "騰訊雲COS", - "enUS": "Tencent Cloud COS", - "jaJP": "Tencent Cloud COS", - "koKR": "텐센트 클라우드 COS", - "ruRU": "Tencent Cloud COS", - "ptBR": "Tencent Cloud COS", - "frFR": "Tencent Cloud COS", - "esAR": "Tencent Cloud COS", - "arDZ": "تنسنت كلاود كوس" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "阿里云CDN": { - "text": "阿里云CDN", - "key": "t_16_1745735766712", - "translations": { - "zhCN": "阿里云CDN", - "zhTW": "阿里雲CDN", - "enUS": "Alibaba Cloud CDN", - "jaJP": "阿里雲CDN", - "koKR": "알리바바 클라우드 CDN", - "ruRU": "Alibaba Cloud CDN", - "ptBR": "Alibaba Cloud CDN", - "frFR": "Alibaba Cloud CDN", - "esAR": "Alibaba Cloud CDN", - "arDZ": "ألي بابا كلاود CDN" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "部署类型": { - "text": "部署类型", - "key": "t_18_1745735765638", - "translations": { - "zhCN": "部署类型", - "zhTW": "部署類型", - "enUS": "Deployment Type", - "jaJP": "展開タイプ", - "koKR": "배포 유형", - "ruRU": "Тип развертывания", - "ptBR": "Tipo de Implantação", - "frFR": "Type de déploiement", - "esAR": "Tipo de despliegue", - "arDZ": "نوع النشر" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请选择部署类型": { - "text": "请选择部署类型", - "key": "t_19_1745735766810", - "translations": { - "zhCN": "请选择部署类型", - "zhTW": "請選擇部署類型", - "enUS": "Please select deployment type", - "jaJP": "展開タイプを選択してください", - "koKR": "배포 유형을 선택하세요", - "ruRU": "Пожалуйста, выберите тип развертывания", - "ptBR": "Por favor, selecione o tipo de implantação", - "frFR": "Veuillez sélectionner le type de déploiement", - "esAR": "Por favor, seleccione el tipo de despliegue", - "arDZ": "يرجى اختيار نوع النشر" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入部署路径": { - "text": "请输入部署路径", - "key": "t_20_1745735768764", - "translations": { - "zhCN": "请输入部署路径", - "enUS": "Please enter the deployment path", - "jaJP": "展開パスを入力してください", - "koKR": "배포 경로를 입력하십시오", - "ruRU": "Введите путь развертывания", - "ptBR": "Por favor, insira o caminho de implantação", - "frFR": "Veuillez entrer le chemin de déploiement", - "esAR": "Por favor, ingrese la ruta de despliegue", - "arDZ": "الرجاء إدخال مسار النشر", - "zhTW": "請輸入部署路徑" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入前置命令": { - "text": "请输入前置命令", - "key": "t_21_1745735769154", - "translations": { - "zhCN": "请输入前置命令", - "zhTW": "請輸入前置命令", - "enUS": "Please enter the prefix command", - "jaJP": "前置コマンドを入力してください", - "koKR": "앞에 명령어를 입력하세요", - "ruRU": "Пожалуйста, введите префиксную команду", - "ptBR": "Por favor, insira o comando de prefixo", - "frFR": "Veuillez saisir la commande de préfixe", - "esAR": "Por favor, ingrese el comando de prefijo", - "arDZ": "الرجاء إدخال الأمر البادئة" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入后置命令": { - "text": "请输入后置命令", - "key": "t_22_1745735767366", - "translations": { - "zhCN": "请输入后置命令", - "zhTW": "請輸入後置命令", - "enUS": "Please enter the post command", - "jaJP": "後置コマンドを入力してください", - "koKR": "후치 명령어를 입력하세요", - "ruRU": "Пожалуйста, введите пост-команду", - "ptBR": "Por favor, insira o comando pós", - "frFR": "Veuillez entrer la commande postérieure", - "esAR": "Por favor, ingrese el comando posterior", - "arDZ": "الرجاء إدخال الأمر اللاحق" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入站点ID": { - "text": "请输入站点ID", - "key": "t_24_1745735766826", - "translations": { - "zhCN": "请输入站点ID", - "zhTW": "請輸入站點ID", - "enUS": "Please enter the site ID", - "jaJP": "サイトIDを入力してください", - "koKR": "사이트 ID를 입력하십시오", - "ruRU": "Введите идентификатор сайта", - "ptBR": "Por favor, insira o ID do site", - "frFR": "Veuillez entrer l'ID du site", - "esAR": "Por favor ingrese el ID del sitio", - "arDZ": "يرجى إدخال معرف الموقع" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入区域": { - "text": "请输入区域", - "key": "t_25_1745735766651", - "translations": { - "zhCN": "请输入区域", - "zhTW": "請輸入區域", - "enUS": "Please enter the region", - "jaJP": "地域を入力してください", - "koKR": "지역을 입력하세요", - "ruRU": "Пожалуйста, введите регион", - "ptBR": "Por favor, insira a região", - "frFR": "Veuillez entrer la région", - "esAR": "Por favor, ingrese la región", - "arDZ": "الرجاء إدخال المنطقة" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请输入存储桶": { - "text": "请输入存储桶", - "key": "t_26_1745735767144", - "translations": { - "zhCN": "请输入存储桶", - "zhTW": "請輸入儲存桶", - "enUS": "Please enter the bucket", - "jaJP": "バケットを入力してください", - "koKR": "버킷을 입력하세요", - "ruRU": "Пожалуйста, введите ведро", - "ptBR": "Por favor, insira o balde", - "frFR": "Veuillez entrer le seau", - "esAR": "Por favor ingrese el cubo", - "arDZ": "الرجاء إدخال الحاوية" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "下一步": { - "text": "下一步", - "key": "t_27_1745735764546", - "translations": { - "zhCN": "下一步", - "zhTW": "下一步", - "enUS": "Next step", - "jaJP": "次のステップ", - "koKR": "다음 단계", - "ruRU": "Следующий шаг", - "ptBR": "Próximo passo", - "frFR": "Étape suivante", - "esAR": "Próximo paso", - "arDZ": "الخطوة التالية" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "选择部署类型": { - "text": "选择部署类型", - "key": "t_28_1745735766626", - "translations": { - "zhCN": "选择部署类型", - "zhTW": "選擇部署類型", - "enUS": "Select deployment type", - "jaJP": "展開タイプを選択", - "koKR": "배포 유형 선택", - "ruRU": "Выберите тип развертывания", - "ptBR": "Selecionar tipo de implantação", - "frFR": "Sélectionner le type de déploiement", - "esAR": "Seleccionar tipo de implementación", - "arDZ": "اختر نوع النشر" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "配置部署参数": { - "text": "配置部署参数", - "key": "t_29_1745735768933", - "translations": { - "zhCN": "配置部署参数", - "zhTW": "配置部署參數", - "enUS": "Configure deployment parameters", - "jaJP": "展開パラメータを設定する", - "koKR": "배포 매개변수 구성", - "ruRU": "Настройка параметров развертывания", - "ptBR": "Configurar parâmetros de implantação", - "frFR": "Configurer les paramètres de déploiement", - "esAR": "Configurar parámetros de despliegue", - "arDZ": "تكوين معلمات النشر" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "运行模式": { - "text": "运行模式", - "key": "t_30_1745735764748", - "translations": { - "zhCN": "运行模式", - "zhTW": "運行模式", - "enUS": "Operation mode", - "jaJP": "動作モード", - "koKR": "운영 모드", - "ruRU": "Режим работы", - "ptBR": "Modo de operação", - "frFR": "Mode de fonctionnement", - "esAR": "Modo de operación", - "arDZ": "وضع التشغيل" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "运行模式未配置": { - "text": "运行模式未配置", - "key": "t_31_1745735767891", - "translations": { - "zhCN": "运行模式未配置", - "zhTW": "運行模式未配置", - "enUS": "Operation mode not configured", - "jaJP": "動作モードが設定されていません", - "koKR": "운영 모드가 구성되지 않았습니다", - "ruRU": "Режим работы не настроен", - "ptBR": "Modo de operação não configurado", - "frFR": "Mode de fonctionnement non configuré", - "esAR": "Modo de operación no configurado", - "arDZ": "وضع التشغيل غير مُهيأ" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "运行周期未配置": { - "text": "运行周期未配置", - "key": "t_32_1745735767156", - "translations": { - "zhCN": "运行周期未配置", - "zhTW": "運行週期未配置", - "enUS": "Running cycle not configured", - "jaJP": "実行周期が設定されていません", - "koKR": "실행 주기가 구성되지 않았습니다", - "ruRU": "Цикл выполнения не настроен", - "ptBR": "Ciclo de execução não configurado", - "frFR": "Cycle d'exécution non configuré", - "esAR": "Ciclo de ejecución no configurado", - "arDZ": "دورة التشغيل غير مهيأة" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "运行时间未配置": { - "text": "运行时间未配置", - "key": "t_33_1745735766532", - "translations": { - "zhCN": "运行时间未配置", - "zhTW": "運行時間未配置", - "enUS": "Runtime not configured", - "jaJP": "実行時間が設定されていません", - "koKR": "실행 시간이 구성되지 않았습니다", - "ruRU": "Время выполнения не настроено", - "ptBR": "Tempo de execução não configurado", - "frFR": "Durée d'exécution non configurée", - "esAR": "Tiempo de ejecución no configurado", - "arDZ": "وقت التشغيل غير مضبوط" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "证书文件(PEM 格式)": { - "text": "证书文件(PEM 格式)", - "key": "t_34_1745735771147", - "translations": { - "zhCN": "证书文件(PEM 格式)", - "zhTW": "證書文件(PEM 格式)", - "enUS": "Certificate file (PEM format)", - "jaJP": "証明書ファイル(PEM形式)", - "koKR": "인증서 파일 (PEM 포맷)", - "ruRU": "Файл сертификата (формат PEM)", - "ptBR": "Arquivo de certificado (formato PEM)", - "frFR": "Fichier de certificat (format PEM)", - "esAR": "Archivo de certificado (formato PEM)", - "arDZ": "ملف الشهادة (تنسيق PEM)" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请粘贴证书文件内容,例如:\\n-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----": { - "text": "请粘贴证书文件内容,例如:\\n-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", - "key": "t_35_1745735781545", - "translations": { - "zhCN": "请粘贴证书文件内容,例如:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "zhTW": "請貼上證書文件內容,例如:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "enUS": "Please paste the certificate file content, for example:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "jaJP": "証明書ファイルの内容を貼り付けてください。例:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "koKR": "인증서 파일 내용을 붙여넣으세요, 예:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "ruRU": "Пожалуйста, вставьте содержимое файла сертификата, например:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "ptBR": "Por favor, cole o conteúdo do arquivo de certificado, por exemplo:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "frFR": "Veuillez coller le contenu du fichier de certificat, par exemple :\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "esAR": "Por favor, pegue el contenido del archivo de certificado, por ejemplo:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", - "arDZ": "الرجاء لصق محتوى ملف الشهادة، على سبيل المثال:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "私钥文件(KEY 格式)": { - "text": "私钥文件(KEY 格式)", - "key": "t_36_1745735769443", - "translations": { - "zhCN": "私钥文件(KEY 格式)", - "zhTW": "私鑰文件(KEY 格式)", - "enUS": "Private key file (KEY format)", - "jaJP": "秘密鍵ファイル(KEY 形式)", - "koKR": "개인 키 파일 (KEY 형식)", - "ruRU": "Файл закрытого ключа (формат KEY)", - "ptBR": "Arquivo de chave privada (formato KEY)", - "frFR": "Fichier de clé privée (format KEY)", - "esAR": "Archivo de clave privada (formato KEY)", - "arDZ": "ملف المفتاح الخاص (تنسيق KEY)" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "请粘贴私钥文件内容,例如:\\n-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----": { - "text": "请粘贴私钥文件内容,例如:\\n-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----", - "key": "t_37_1745735779980", - "translations": { - "zhCN": "请粘贴私钥文件内容,例如:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "zhTW": "請貼上私鑰文件內容,例如:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "enUS": "Please paste the private key file content, for example:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "jaJP": "秘密キーファイルの内容を貼り付けてください、例:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "koKR": "개인 키 파일 내용을 붙여넣으세요, 예:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "ruRU": "Вставьте содержимое файла закрытого ключа, например:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "ptBR": "Cole o conteúdo do arquivo de chave privada, por exemplo:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "frFR": "Collez le contenu du fichier de clé privée, par exemple:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "esAR": "Pega el contenido del archivo de clave privada, por ejemplo:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", - "arDZ": "الصق محتوى ملف المفتاح الخاص، على سبيل المثال:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "证书私钥内容不能为空": { - "text": "证书私钥内容不能为空", - "key": "t_38_1745735769521", - "translations": { - "zhCN": "证书私钥内容不能为空", - "zhTW": "證書私鑰內容不能為空", - "enUS": "Certificate private key content cannot be empty", - "jaJP": "証明書の秘密鍵の内容は空にできません", - "koKR": "인증서 개인 키 내용은 비워둘 수 없습니다", - "ruRU": "Содержимое закрытого ключа сертификата не может быть пустым", - "ptBR": "O conteúdo da chave privada do certificado não pode estar vazio", - "frFR": "Le contenu de la clé privée du certificat ne peut pas être vide", - "esAR": "El contenido de la clave privada del certificado no puede estar vacío", - "arDZ": "محتوى المفتاح الخاص للشهادة لا يمكن أن يكون فارغًا" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "证书私钥格式不正确": { - "text": "证书私钥格式不正确", - "key": "t_39_1745735768565", - "translations": { - "zhCN": "证书私钥格式不正确", - "zhTW": "證書私鑰格式不正確", - "enUS": "The format of the certificate private key is incorrect", - "jaJP": "証明書の秘密鍵の形式が正しくありません", - "koKR": "인증서 개인 키 형식이 올바르지 않습니다", - "ruRU": "Неверный формат закрытого ключа сертификата", - "ptBR": "O formato da chave privada do certificado está incorreto", - "frFR": "Le format de la clé privée du certificat est incorrect", - "esAR": "El formato de la clave privada del certificado es incorrecto", - "arDZ": "تنسيق مفتاح الشهادة الخاص غير صحيح" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "证书内容不能为空": { - "text": "证书内容不能为空", - "key": "t_40_1745735815317", - "translations": { - "zhCN": "证书内容不能为空", - "zhTW": "證書內容不能為空", - "enUS": "Certificate content cannot be empty", - "jaJP": "証明書の内容は空にできません", - "koKR": "인증서 내용은 비울 수 없습니다", - "ruRU": "Содержимое сертификата не может быть пустым", - "ptBR": "O conteúdo do certificado não pode estar vazio", - "frFR": "Le contenu du certificat ne peut pas être vide", - "esAR": "El contenido del certificado no puede estar vacío", - "arDZ": "محتوى الشهادة لا يمكن أن يكون فارغا" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "证书格式不正确": { - "text": "证书格式不正确", - "key": "t_41_1745735767016", - "translations": { - "zhCN": "证书格式不正确", - "zhTW": "證書格式不正確", - "enUS": "Certificate format is incorrect", - "jaJP": "証明書の形式が正しくありません", - "koKR": "인증서 형식이 올바르지 않습니다", - "ruRU": "Неправильный формат сертификата", - "ptBR": "Formato do certificado incorreto", - "frFR": "Format du certificat incorrect", - "esAR": "Formato de certificado incorrecto", - "arDZ": "تنسيق الشهادة غير صحيح" - }, - "timestamp": "2025-04-27T06:36:55.318Z" - }, - "上一步": { - "text": "上一步", - "key": "t_0_1745738961258", - "translations": { - "zhCN": "上一步", - "zhTW": "上一步", - "enUS": "Previous", - "jaJP": "前へ", - "koKR": "이전", - "ruRU": "Назад", - "ptBR": "Anterior", - "frFR": "Précédent", - "esAR": "Anterior", - "arDZ": "السابق" - }, - "timestamp": "2025-04-27T07:29:29.879Z" - }, - "提交": { - "text": "提交", - "key": "t_1_1745738963744", - "translations": { - "zhCN": "提交", - "zhTW": "提交", - "enUS": "Submit", - "jaJP": "提出", - "koKR": "제출", - "ruRU": "Отправить", - "ptBR": "Enviar", - "frFR": "Soumettre", - "esAR": "Enviar", - "arDZ": "إرسال" - }, - "timestamp": "2025-04-27T07:29:29.881Z" - }, - "配置部署参数,类型决定参数配置": { - "text": "配置部署参数,类型决定参数配置", - "key": "t_2_1745738969878", - "translations": { - "zhCN": "配置部署参数,类型决定参数配置", - "zhTW": "配置部署參數,類型決定參數配置", - "enUS": "Configure deployment parameters, the type determines the parameter configuration", - "jaJP": "展開パラメータを設定し、タイプによってパラメータの設定が決まる", - "koKR": "배포 매개변수 구성, 유형이 매개변수 구성을 결정함", - "ruRU": "Настройка параметров развертывания, тип определяет конфигурацию параметров", - "ptBR": "Configurar parâmetros de implantação, o tipo determina a configuração do parâmetro", - "frFR": "Configurer les paramètres de déploiement, le type détermine la configuration des paramètres", - "esAR": "Configurar parámetros de despliegue, el tipo determina la configuración de parámetros", - "arDZ": "تكوين معلمات النشر، النوع يحدد تكوين المعلمة" - }, - "timestamp": "2025-04-27T07:29:29.881Z" - }, - "部署设备来源": { - "text": "部署设备来源", - "key": "t_0_1745744491696", - "translations": { - "zhCN": "部署设备来源", - "zhTW": "部署設備來源", - "enUS": "Deployment device source", - "jaJP": "展開デバイスのソース", - "koKR": "배포 장치 소스", - "ruRU": "Источник устройства развертывания", - "ptBR": "Fonte do dispositivo de implantação", - "frFR": "Source de l'appareil de déploiement", - "esAR": "Fuente del dispositivo de implementación", - "arDZ": "مصدر جهاز النشر" - }, - "timestamp": "2025-04-27T09:01:35.813Z" - }, - "请选择部署设备来源": { - "text": "请选择部署设备来源", - "key": "t_1_1745744495019", - "translations": { - "zhCN": "请选择部署设备来源", - "zhTW": "請選擇部署設備來源", - "enUS": "Please select the deployment device source", - "jaJP": "展開デバイスのソースを選んでください", - "koKR": "배포 장치 소스를 선택하십시오", - "ruRU": "Пожалуйста, выберите источник устройства развертывания", - "ptBR": "Selecione a fonte do dispositivo de implantação", - "frFR": "Veuillez sélectionner la source de l'appareil de déploiement", - "esAR": "Por favor seleccione la fuente del dispositivo de despliegue", - "arDZ": "الرجاء اختيار مصدر جهاز التوزيع" - }, - "timestamp": "2025-04-27T09:01:35.813Z" - }, - "请选择部署类型后,点击下一步": { - "text": "请选择部署类型后,点击下一步", - "key": "t_2_1745744495813", - "translations": { - "zhCN": "请选择部署类型后,点击下一步", - "zhTW": "請選擇部署類型後,點擊下一步", - "enUS": "Please select the deployment type and click Next", - "jaJP": "展開タイプを選択して、次へをクリックしてください", - "koKR": "배포 유형을 선택하고 다음을 클릭하십시오", - "ruRU": "Пожалуйста, выберите тип развертывания и нажмите Далее", - "ptBR": "Por favor, selecione o tipo de implantação e clique em Avançar", - "frFR": "Veuillez sélectionner le type de déploiement et cliquer sur Suivant", - "esAR": "Por favor, seleccione el tipo de implementación y haga clic en Siguiente", - "arDZ": "الرجاء اختيار نوع النشر والنقر فوق التالي" - }, - "timestamp": "2025-04-27T09:01:35.813Z" - }, - "部署来源": { - "text": "部署来源", - "key": "t_0_1745744902975", - "translations": { - "zhCN": "部署来源", - "zhTW": "部署來源", - "enUS": "Deployment source", - "jaJP": "デプロイソース", - "koKR": "배포 소스", - "ruRU": "Источник развертывания", - "ptBR": "Fonte de implantação", - "frFR": "Source de déploiement", - "esAR": "Fuente de implementación", - "arDZ": "مصدر النشر" - }, - "timestamp": "2025-04-27T09:08:25.566Z" - }, - "请选择部署来源": { - "text": "请选择部署来源", - "key": "t_1_1745744905566", - "translations": { - "zhCN": "请选择部署来源", - "zhTW": "請選擇部署來源", - "enUS": "Please select deployment source", - "jaJP": "デプロイソースを選択してください", - "koKR": "배포 소스를 선택하세요", - "ruRU": "Выберите источник развертывания", - "ptBR": "Selecione a fonte de implantação", - "frFR": "Veuillez sélectionner la source de déploiement", - "esAR": "Seleccione la fuente de despliegue", - "arDZ": "الرجاء اختيار مصدر النشر" - }, - "timestamp": "2025-04-27T09:08:25.568Z" - }, - "添加更多设备": { - "text": "添加更多设备", - "key": "t_2_1745744903722", - "translations": { - "zhCN": "添加更多设备", - "zhTW": "新增更多設備", - "enUS": "Add more devices", - "jaJP": "さらにデバイスを追加", - "koKR": "더 많은 기기 추가", - "ruRU": "Добавить больше устройств", - "ptBR": "Adicionar mais dispositivos", - "frFR": "Ajouter plus d'appareils", - "esAR": "Agregar más dispositivos", - "arDZ": "إضافة المزيد من الأجهزة" - }, - "timestamp": "2025-04-27T09:08:25.568Z" - }, - "添加部署来源": { - "text": "添加部署来源", - "key": "t_0_1745748292337", - "translations": { - "zhCN": "添加部署来源", - "zhTW": "添加部署來源", - "enUS": "Add deployment source", - "jaJP": "デプロイソースの追加", - "koKR": "배포 소스 추가", - "ruRU": "Добавить источник развертывания", - "ptBR": "Adicionar fonte de implantação", - "frFR": "Ajouter une source de déploiement", - "esAR": "Agregar fuente de despliegue", - "arDZ": "إضافة مصدر النشر" - }, - "timestamp": "2025-04-27T10:04:58.903Z" - }, - "证书来源": { - "text": "证书来源", - "key": "t_1_1745748290291", - "translations": { - "zhCN": "证书来源", - "zhTW": "證書來源", - "enUS": "Certificate Source", - "jaJP": "証明書の出所", - "koKR": "인증서 출처", - "ruRU": "Источник сертификата", - "ptBR": "Fonte do Certificado", - "frFR": "Source du certificat", - "esAR": "Fuente del certificado", - "arDZ": "مصدر الشهادة" - }, - "timestamp": "2025-04-27T10:04:58.904Z" - }, - "当前类型部署来源为空,请先添加部署来源": { - "text": "当前类型部署来源为空,请先添加部署来源", - "key": "t_2_1745748298902", - "translations": { - "zhCN": "当前类型部署来源为空,请先添加部署来源", - "zhTW": "當前類型部署來源為空,請先添加部署來源", - "enUS": "The current type deployment source is empty, please add a deployment source first", - "jaJP": "現在のタイプのデプロイソースが空です、デプロイソースを追加してください", - "koKR": "현재 유형의 배포 소스가 비어 있습니다. 배포 소스를 먼저 추가하십시오", - "ruRU": "Источник развертывания текущего типа пуст, сначала добавьте источник развертывания", - "ptBR": "A origem da implantação do tipo atual está vazia, adicione uma origem de implantação primeiro", - "frFR": "La source de déploiement du type actuel est vide, veuillez d'abord ajouter une source de déploiement", - "esAR": "La fuente de implementación del tipo actual está vacía, agregue una fuente de implementación primero", - "arDZ": "مصدر النشر للنوع الحالي فارغ، يرجى إضافة مصدر نشر أولاً" - }, - "timestamp": "2025-04-27T10:04:58.904Z" - }, - "当前流程中没有申请节点,请先添加申请节点": { - "text": "当前流程中没有申请节点,请先添加申请节点", - "key": "t_3_1745748298161", - "translations": { - "zhCN": "当前流程中没有申请节点,请先添加申请节点", - "zhTW": "當前流程中沒有申請節點,請先添加申請節點", - "enUS": "There is no application node in the current process, please add an application node first", - "jaJP": "現在のプロセスには申請ノードがありません、まず申請ノードを追加してください", - "koKR": "현재 프로세스에 신청 노드가 없습니다. 먼저 신청 노드를 추가하세요", - "ruRU": "В текущем процессе нет узла заявки, пожалуйста, сначала добавьте узел заявки", - "ptBR": "Não há nó de aplicação no processo atual, por favor, adicione um nó de aplicação primeiro", - "frFR": "Il n'y a pas de nœud de demande dans le processus actuel, veuillez d'abord ajouter un nœud de demande", - "esAR": "No hay ningún nodo de solicitud en el proceso actual, por favor agregue un nodo de solicitud primero", - "arDZ": "لا توجد عقدة طلب في العملية الحالية، يرجى إضافة عقدة طلب أولاً" - }, - "timestamp": "2025-04-27T10:04:58.904Z" - }, - "提交内容": { - "text": "提交内容", - "key": "t_4_1745748290292", - "translations": { - "zhCN": "提交内容", - "zhTW": "提交內容", - "enUS": "Submit content", - "jaJP": "提出内容", - "koKR": "제출 내용", - "ruRU": "Отправить содержание", - "ptBR": "Enviar conteúdo", - "frFR": "Soumettre le contenu", - "esAR": "Enviar contenido", - "arDZ": "إرسال المحتوى" - }, - "timestamp": "2025-04-27T10:04:58.904Z" - }, - "点击编辑工作流标题": { - "text": "点击编辑工作流标题", - "key": "t_0_1745765864788", - "translations": { - "zhCN": "点击编辑工作流标题", - "zhTW": "點擊編輯工作流程標題", - "enUS": "Click to edit workflow title", - "jaJP": "ワークフロータイトルを編集するにはクリックします", - "koKR": "작업 흐름 제목 편집을 클릭하세요", - "ruRU": "Нажмите, чтобы редактировать заголовок рабочего процесса", - "ptBR": "Clique para editar o título do fluxo de trabalho", - "frFR": "Cliquez pour modifier le titre du flux de travail", - "esAR": "Haz clic para editar el título del flujo de trabajo", - "arDZ": "انقر لتحرير عنوان سير العمل" - }, - "timestamp": "2025-04-27T14:58:40.953Z" - }, - "删除节点-【{name}】": { - "text": "删除节点-【{name}】", - "key": "t_1_1745765875247", - "translations": { - "zhCN": "删除节点-【{name}】", - "zhTW": "刪除節點-【{name}】", - "enUS": "Delete Node - 【{name}】", - "jaJP": "ノード削除 - 【{name}】", - "koKR": "노드 삭제 - 【{name}】", - "ruRU": "Удалить узел - 【{name}】", - "ptBR": "Excluir Nó - 【{name}】", - "frFR": "Supprimer le nœud - 【{name}】", - "esAR": "Eliminar Nodo - 【{name}】", - "arDZ": "حذف العقدة - 【{name}】" - }, - "timestamp": "2025-04-27T14:58:40.954Z" - }, - "当前节点存在子节点,删除后会影响其他节点,是否确认删除?": { - "text": "当前节点存在子节点,删除后会影响其他节点,是否确认删除?", - "key": "t_2_1745765875918", - "translations": { - "zhCN": "当前节点存在子节点,删除后会影响其他节点,是否确认删除?", - "zhTW": "當前節點存在子節點,刪除後會影響其他節點,是否確認刪除?", - "enUS": "The current node has child nodes. Deleting it will affect other nodes. Are you sure you want to delete it?", - "jaJP": "現在のノードには子ノードが存在します。削除すると他のノードに影響を与えます。削除してもよろしいですか?", - "koKR": "현재 노드에 하위 노드가 존재합니다. 삭제하면 다른 노드에 영향을 미치게 됩니다. 삭제하시겠습니까?", - "ruRU": "Текущий узел имеет дочерние узлы. Удаление повлияет на другие узлы. Вы уверены, что хотите удалить?", - "ptBR": "O nó atual possui nós filhos. A exclusão afetará outros nós. Tem certeza de que deseja excluir?", - "frFR": "Le nœud actuel contient des nœuds enfants. La suppression affectera d'autres nœuds. Confirmez-vous la suppression ?", - "esAR": "El nodo actual tiene nodos hijos. Eliminarlo afectará a otros nodos. ¿Está seguro de que desea eliminarlo?", - "arDZ": "العقدة الحالية تحتوي على عقد فرعية. حذفها سيؤثر على عقد أخرى. هل أنت متأكد أنك تريد الحذف؟" - }, - "timestamp": "2025-04-27T14:58:40.954Z" - }, - "当前节点存在配置数据,是否确认删除?": { - "text": "当前节点存在配置数据,是否确认删除?", - "key": "t_3_1745765920953", - "translations": { - "zhCN": "当前节点存在配置数据,是否确认删除?", - "zhTW": "目前節點存在配置數據,是否確認刪除?", - "enUS": "The current node has configuration data, are you sure you want to delete it?", - "jaJP": "現在のノードには設定データがあります。削除してもよろしいですか?", - "koKR": "현재 노드에 구성 데이터가 있습니다. 삭제하시겠습니까?", - "ruRU": "Текущий узел содержит данные конфигурации, вы уверены, что хотите их удалить?", - "ptBR": "O nó atual possui dados de configuração, tem certeza que deseja excluí-lo?", - "frFR": "Le nœud actuel contient des données de configuration, êtes-vous sûr de vouloir le supprimer ?", - "esAR": "El nodo actual tiene datos de configuración, ¿está seguro de que desea eliminarlo?", - "arDZ": "العقدة الحالية تحتوي على بيانات التكوين، هل أنت متأكد أنك تريد حذفها؟" - }, - "timestamp": "2025-04-27T14:58:40.954Z" - }, - "请选择部署类型后,在进行下一步": { - "text": "请选择部署类型后,在进行下一步", - "key": "t_4_1745765868807", - "translations": { - "zhCN": "请选择部署类型后,再进行下一步", - "zhTW": "請選擇部署類型後,再進行下一步", - "enUS": "Please select the deployment type before proceeding to the next step", - "jaJP": "デプロイメントタイプを選択してから、次に進んでください", - "koKR": "배포 유형을 선택한 후 다음 단계로 진행하십시오", - "ruRU": "Пожалуйста, выберите тип развертывания, прежде чем перейти к следующему шагу", - "ptBR": "Por favor, selecione o tipo de implantação antes de prosseguir para a próxima etapa", - "frFR": "Veuillez sélectionner le type de déploiement avant de passer à l'étape suivante", - "esAR": "Por favor, seleccione el tipo de implementación antes de continuar con el siguiente paso", - "arDZ": "الرجاء تحديد نوع النشر قبل المتابعة إلى الخطوة التالية" - }, - "timestamp": "2025-04-27T14:58:40.954Z" - }, - "请选择类型": { - "text": "请选择类型", - "key": "t_0_1745833934390", - "translations": { - "zhCN": "请选择类型", - "zhTW": "請選擇類型", - "enUS": "Please select type", - "jaJP": "タイプを選択してください", - "koKR": "유형을 선택하십시오", - "ruRU": "Пожалуйста, выберите тип", - "ptBR": "Por favor, selecione o tipo", - "frFR": "Veuillez sélectionner le type", - "esAR": "Por favor, seleccione el tipo", - "arDZ": "يرجى اختيار النوع" - }, - "timestamp": "2025-04-28T09:52:23.713Z" - }, - "主机": { - "text": "主机", - "key": "t_1_1745833931535", - "translations": { - "zhCN": "主机", - "zhTW": "主機", - "enUS": "Host", - "jaJP": "ホスト", - "koKR": "호스트", - "ruRU": "Хост", - "ptBR": "Host", - "frFR": "Hôte", - "esAR": "Host", - "arDZ": "مضيف" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "端口": { - "text": "端口", - "key": "t_2_1745833931404", - "translations": { - "zhCN": "端口", - "zhTW": "埠", - "enUS": "port", - "jaJP": "ポート", - "koKR": "포트", - "ruRU": "порт", - "ptBR": "porta", - "frFR": "port", - "esAR": "puerto", - "arDZ": "منفذ" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "获取首页概览数据失败": { - "text": "获取首页概览数据失败", - "key": "t_3_1745833936770", - "translations": { - "zhCN": "获取首页概览数据失败", - "zhTW": "獲取首頁概覽數據失敗", - "enUS": "Failed to get homepage overview data", - "jaJP": "ホームページの概要データの取得に失敗しました", - "koKR": "홈페이지 개요 데이터 가져오기 실패", - "ruRU": "Не удалось получить обзорные данные главной страницы", - "ptBR": "Falha ao obter dados de visão geral da página inicial", - "frFR": "Échec de la récupération des données de vue d'ensemble de la page d'accueil", - "esAR": "Error al obtener los datos de vista general de la página de inicio", - "arDZ": "فشل في الحصول على بيانات نظرة عامة على الصفحة الرئيسية" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "版本信息": { - "text": "版本信息", - "key": "t_4_1745833932780", - "translations": { - "zhCN": "版本信息", - "zhTW": "版本資訊", - "enUS": "Version information", - "jaJP": "バージョン情報", - "koKR": "버전 정보", - "ruRU": "Информация о версии", - "ptBR": "Informações da versão", - "frFR": "Information de version", - "esAR": "Información de versión", - "arDZ": "معلومات النسخة" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "当前版本": { - "text": "当前版本", - "key": "t_5_1745833933241", - "translations": { - "zhCN": "当前版本", - "zhTW": "目前版本", - "enUS": "Current version", - "jaJP": "現在のバージョン", - "koKR": "현재 버전", - "ruRU": "Текущая версия", - "ptBR": "Versão atual", - "frFR": "Version actuelle", - "esAR": "Versión actual", - "arDZ": "الإصدار الحالي" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "更新方式": { - "text": "更新方式", - "key": "t_6_1745833933523", - "translations": { - "zhCN": "更新方式", - "zhTW": "更新方式", - "enUS": "Update method", - "jaJP": "更新方法", - "koKR": "업데이트 방법", - "ruRU": "Метод обновления", - "ptBR": "Método de atualização", - "frFR": "Méthode de mise à jour", - "esAR": "Método de actualización", - "arDZ": "طريقة التحديث" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "最新版本": { - "text": "最新版本", - "key": "t_7_1745833933278", - "translations": { - "zhCN": "最新版本", - "zhTW": "最新版本", - "enUS": "Latest version", - "jaJP": "最新バージョン", - "koKR": "최신 버전", - "ruRU": "Последняя версия", - "ptBR": "Última versão", - "frFR": "Dernière version", - "esAR": "Última versión", - "arDZ": "أحدث إصدار" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "更新日志": { - "text": "更新日志", - "key": "t_8_1745833933552", - "translations": { - "zhCN": "更新日志", - "zhTW": "更新日誌", - "enUS": "Changelog", - "jaJP": "更新履歴", - "koKR": "업데이트 로그", - "ruRU": "История изменений", - "ptBR": "Registro de alterações", - "frFR": "Journal des modifications", - "esAR": "Registro de cambios", - "arDZ": "سجل التغييرات" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "客服二维码": { - "text": "客服二维码", - "key": "t_9_1745833935269", - "translations": { - "zhCN": "客服二维码", - "zhTW": "客服二維碼", - "enUS": "Customer Service QR Code", - "jaJP": "カスタマーサービスQRコード", - "koKR": "고객 서비스 QR 코드", - "ruRU": "QR-код службы поддержки", - "ptBR": "Código QR do Atendimento ao Cliente", - "frFR": "Code QR du Service Client", - "esAR": "Código QR de Servicio al Cliente", - "arDZ": "رمز QR لخدمة العملاء" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "扫码添加客服": { - "text": "扫码添加客服", - "key": "t_10_1745833941691", - "translations": { - "zhCN": "扫码添加客服", - "zhTW": "掃碼添加客服", - "enUS": "Scan the QR code to add customer service", - "jaJP": "QRコードをスキャンしてカスタマーサービスを追加", - "koKR": "QR 코드를 스캔하여 고객 서비스 추가", - "ruRU": "Сканируйте QR-код, чтобы добавить службу поддержки", - "ptBR": "Escaneie o código QR para adicionar atendimento ao cliente", - "frFR": "Scannez le code QR pour ajouter le service client", - "esAR": "Escanee el código QR para agregar servicio al cliente", - "arDZ": "امسح رمز QR لإضافة خدمة العملاء" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "微信公众号": { - "text": "微信公众号", - "key": "t_11_1745833935261", - "translations": { - "zhCN": "微信公众号", - "zhTW": "微信公眾號", - "enUS": "WeChat Official Account", - "jaJP": "WeChat公式アカウント", - "koKR": "위챗 공식 계정", - "ruRU": "Официальный аккаунт WeChat", - "ptBR": "Conta Oficial do WeChat", - "frFR": "Compte officiel WeChat", - "esAR": "Cuenta Oficial de WeChat", - "arDZ": "حساب وي تشات الرسمي" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "扫码关注微信公众号": { - "text": "扫码关注微信公众号", - "key": "t_12_1745833943712", - "translations": { - "zhCN": "扫码关注微信公众号", - "zhTW": "掃碼關注微信公眾號", - "enUS": "Scan to follow the WeChat official account", - "jaJP": "QRコードをスキャンしてWeChat公式アカウントをフォロー", - "koKR": "QR 코드를 스캔하여 WeChat 공식 계정 팔로우", - "ruRU": "Сканируйте QR-код, чтобы подписаться на официальный аккаунт WeChat", - "ptBR": "Escaneie para seguir a conta oficial do WeChat", - "frFR": "Scannez pour suivre le compte officiel WeChat", - "esAR": "Escanea para seguir la cuenta oficial de WeChat", - "arDZ": "امسح الكود الضوئي لمتابعة الحساب الرسمي على WeChat" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "关于产品": { - "text": "关于产品", - "key": "t_13_1745833933630", - "translations": { - "zhCN": "关于产品", - "zhTW": "關於產品", - "enUS": "About the product", - "jaJP": "製品について", - "koKR": "제품 정보", - "ruRU": "О продукте", - "ptBR": "Sobre o produto", - "frFR": "À propos du produit", - "esAR": "Acerca del producto", - "arDZ": "حول المنتج" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "SMTP服务器": { - "text": "SMTP服务器", - "key": "t_14_1745833932440", - "translations": { - "zhCN": "SMTP服务器", - "zhTW": "SMTP伺服器", - "enUS": "SMTP server", - "jaJP": "SMTPサーバー", - "koKR": "SMTP 서버", - "ruRU": "SMTP сервер", - "ptBR": "Servidor SMTP", - "frFR": "Serveur SMTP", - "esAR": "Servidor SMTP", - "arDZ": "خادم SMTP" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "请输入SMTP服务器": { - "text": "请输入SMTP服务器", - "key": "t_15_1745833940280", - "translations": { - "zhCN": "请输入SMTP服务器", - "zhTW": "請輸入SMTP伺服器", - "enUS": "Please enter the SMTP server", - "jaJP": "SMTPサーバーを入力してください", - "koKR": "SMTP 서버를 입력하세요", - "ruRU": "Пожалуйста, введите SMTP сервер", - "ptBR": "Por favor, insira o servidor SMTP", - "frFR": "Veuillez entrer le serveur SMTP", - "esAR": "Por favor, ingrese el servidor SMTP", - "arDZ": "الرجاء إدخال خادم SMTP" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "SMTP端口": { - "text": "SMTP端口", - "key": "t_16_1745833933819", - "translations": { - "zhCN": "SMTP端口", - "zhTW": "SMTP埠", - "enUS": "SMTP port", - "jaJP": "SMTPポート", - "koKR": "SMTP 포트", - "ruRU": "SMTP порт", - "ptBR": "Porta SMTP", - "frFR": "Port SMTP", - "esAR": "Puerto SMTP", - "arDZ": "منفذ SMTP" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "请输入SMTP端口": { - "text": "请输入SMTP端口", - "key": "t_17_1745833935070", - "translations": { - "zhCN": "请输入SMTP端口", - "zhTW": "請輸入SMTP端口", - "enUS": "Please enter the SMTP port", - "jaJP": "SMTPポートを入力してください", - "koKR": "SMTP 포트를 입력하세요", - "ruRU": "Введите порт SMTP", - "ptBR": "Por favor, insira a porta SMTP", - "frFR": "Veuillez entrer le port SMTP", - "esAR": "Por favor, ingrese el puerto SMTP", - "arDZ": "الرجاء إدخال منفذ SMTP" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "SSL/TLS连接": { - "text": "SSL/TLS连接", - "key": "t_18_1745833933989", - "translations": { - "zhCN": "SSL/TLS连接", - "zhTW": "SSL/TLS連接", - "enUS": "SSL/TLS connection", - "jaJP": "SSL/TLS接続", - "koKR": "SSL/TLS 연결", - "ruRU": "SSL/TLS соединение", - "ptBR": "Conexão SSL/TLS", - "frFR": "Connexion SSL/TLS", - "esAR": "Conexión SSL/TLS", - "arDZ": "اتصال SSL/TLS" - }, - "timestamp": "2025-04-28T09:52:23.715Z" - }, - "请选择消息通知": { - "text": "请选择消息通知", - "key": "t_0_1745887835267", - "translations": { - "zhCN": "请选择消息通知", - "enUS": "Please select message notification", - "jaJP": "メッセージ通知を選択してください", - "koKR": "메시지 알림을 선택하세요", - "ruRU": "Пожалуйста, выберите уведомление о сообщении", - "ptBR": "Por favor, selecione notificação de mensagem", - "frFR": "Veuillez sélectionner la notification de message", - "esAR": "Por favor, seleccione notificación de mensaje", - "arDZ": "الرجاء اختيار إشعار الرسالة" - }, - "timestamp": "2025-04-29T00:50:35.267Z" - }, - "消息通知": { - "text": "消息通知", - "key": "t_1_1745887832941", - "translations": { - "zhCN": "消息通知", - "zhTW": "訊息通知", - "enUS": "Notification", - "jaJP": "通知", - "koKR": "알림", - "ruRU": "Уведомление", - "ptBR": "Notificação", - "frFR": "Notification", - "esAR": "Notificación", - "arDZ": "إشعار" - }, - "timestamp": "2025-04-29T00:50:35.268Z" - }, - "添加通知渠道": { - "text": "添加通知渠道", - "key": "t_2_1745887834248", - "translations": { - "zhCN": "添加通知渠道", - "zhTW": "新增通知渠道", - "enUS": "Add notification channel", - "jaJP": "通知チャネルを追加", - "koKR": "알림 채널 추가", - "ruRU": "Добавить канал уведомлений", - "ptBR": "Adicionar canal de notificação", - "frFR": "Ajouter un canal de notification", - "esAR": "Agregar canal de notificación", - "arDZ": "إضافة قناة إشعار" - }, - "timestamp": "2025-04-29T00:50:35.268Z" - }, - "请输入通知主题": { - "text": "请输入通知主题", - "key": "t_3_1745887835089", - "translations": { - "zhCN": "请输入通知主题", - "zhTW": "請輸入通知主題", - "enUS": "Please enter the notification subject", - "jaJP": "通知の件名を入力してください", - "koKR": "알림 제목을 입력하세요", - "ruRU": "Введите тему уведомления", - "ptBR": "Digite o assunto da notificação", - "frFR": "Veuillez saisir le sujet de la notification", - "esAR": "Ingrese el asunto de la notificación", - "arDZ": "الرجاء إدخال موضوع الإشعار" - }, - "timestamp": "2025-04-29T00:50:35.268Z" - }, - "请输入通知内容": { - "text": "请输入通知内容", - "key": "t_4_1745887835265", - "translations": { - "zhCN": "请输入通知内容", - "zhTW": "請輸入通知內容", - "enUS": "Please enter the notification content", - "jaJP": "通知内容を入力してください", - "koKR": "알림 내용을 입력하세요", - "ruRU": "Введите содержание уведомления", - "ptBR": "Por favor, insira o conteúdo da notificação", - "frFR": "Veuillez saisir le contenu de la notification", - "esAR": "Por favor ingrese el contenido de la notificación", - "arDZ": "يرجى إدخال محتوى الإشعار" - }, - "timestamp": "2025-04-29T00:50:35.268Z" - }, - "修改邮箱通知配置": { - "text": "修改邮箱通知配置", - "key": "t_0_1745895057404", - "translations": { - "zhCN": "修改邮箱通知配置", - "zhTW": "修改郵箱通知配置", - "enUS": "Modify email notification settings", - "jaJP": "メール通知設定の変更", - "koKR": "이메일 알림 설정 수정", - "ruRU": "Изменение настроек уведомлений по электронной почте", - "ptBR": "Modificar configurações de notificação por e-mail", - "frFR": "Modifier les paramètres de notification par e-mail", - "esAR": "Modificar configuración de notificaciones por correo electrónico", - "arDZ": "تعديل إعدادات الإشعارات عبر البريد الإلكتروني" - }, - "timestamp": "2025-04-29T02:50:57.404Z" - }, - "通知主题": { - "text": "通知主题", - "key": "t_0_1745920566646", - "translations": { - "zhCN": "通知主题", - "zhTW": "通知主題", - "enUS": "Notification Subject", - "jaJP": "通知主題", - "koKR": "공지 주제", - "ruRU": "Тема уведомления", - "ptBR": "Assunto da Notificação", - "frFR": "Sujet de la notification", - "esAR": "Asunto de la notificación", - "arDZ": "موضوع الإشعار" - }, - "timestamp": "2025-04-29T09:56:07.200Z" - }, - "通知内容": { - "text": "通知内容", - "key": "t_1_1745920567200", - "translations": { - "zhCN": "通知内容", - "zhTW": "通知內容", - "enUS": "Notification content", - "jaJP": "通知内容", - "koKR": "공지 내용", - "ruRU": "Содержание уведомления", - "ptBR": "Conteúdo da notificação", - "frFR": "Contenu de la notification", - "esAR": "Contenido de la notificación", - "arDZ": "محتوى الإخطار" - }, - "timestamp": "2025-04-29T09:56:07.200Z" - }, - "点击获取验证码": { - "text": "点击获取验证码", - "key": "t_0_1745936396853", - "translations": { - "zhCN": "点击获取验证码", - "zhTW": "點擊獲取驗證碼", - "enUS": "Click to get verification code", - "jaJP": "確認コードを取得するにはクリックしてください", - "koKR": "인증 코드 받기", - "ruRU": "Нажмите, чтобы получить код подтверждения", - "ptBR": "Clique para obter o código de verificação", - "frFR": "Cliquez pour obtenir le code de vérification", - "esAR": "Haz clic para obtener el código de verificación", - "arDZ": "انقر للحصول على رمز التحقق" - }, - "timestamp": "2025-04-29T14:19:56.853Z" - }, - "剩余{days}天": { - "text": "剩余{days}天", - "key": "t_0_1745999035681", - "translations": { - "zhCN": "剩余{days}天", - "zhTW": "剩餘{days}天", - "enUS": "remaining {days} days", - "jaJP": "残り{days}日", - "koKR": "남은 {days}일", - "ruRU": "осталось {days} дней", - "ptBR": "faltam {days} dias", - "frFR": "il reste {days} jours", - "esAR": "faltan {days} días", - "arDZ": "باقي {days} يوم" - }, - "timestamp": "2025-04-30T07:43:56.289Z" - }, - "即将到期{days}天": { - "text": "即将到期{days}天", - "key": "t_1_1745999036289", - "translations": { - "zhCN": "即将到期{days}天", - "zhTW": "即將到期{days}天", - "enUS": "Expiring soon {days} days", - "jaJP": "まもなく期限切れ {days} 日", - "koKR": "곧 만료됩니다 {days} 일", - "ruRU": "Скоро истекает срок действия {days} дней", - "ptBR": "Expirando em breve {days} dias", - "frFR": "Expiration prochaine {days} jours", - "esAR": "Próximo a vencer {days} días", - "arDZ": "قريباً تنتهي الصلاحية {days} يوم" - }, - "timestamp": "2025-04-30T07:43:56.291Z" - }, - "已过期": { - "text": "已过期", - "key": "t_0_1746000517848", - "translations": { - "zhCN": "已过期", - "zhTW": "已過期", - "enUS": "Expired", - "jaJP": "期限切れ", - "koKR": "만료됨", - "ruRU": "Истек срок", - "ptBR": "Expirado", - "frFR": "Expiré", - "esAR": "Caducado", - "arDZ": "منتهي الصلاحية" - }, - "timestamp": "2025-04-30T08:08:37.848Z" - }, - "已到期": { - "text": "已到期", - "key": "t_0_1746001199409", - "translations": { - "zhCN": "已到期", - "zhTW": "已到期", - "enUS": "Expired", - "jaJP": "期限切れ", - "koKR": "만료됨", - "ruRU": "Истекший", - "ptBR": "Expirado", - "frFR": "Expiré", - "esAR": "Expirado", - "arDZ": "انتهت الصلاحية" - }, - "timestamp": "2025-04-30T08:19:59.409Z" - }, - "DNS提供商为空": { - "text": "DNS提供商为空", - "key": "t_0_1746004861782", - "translations": { - "zhCN": "DNS提供商为空", - "zhTW": "DNS提供商為空", - "enUS": "DNS provider is empty", - "jaJP": "DNSプロバイダーが空です", - "koKR": "DNS 공급자가 비어 있습니다", - "ruRU": "DNS-провайдер пуст", - "ptBR": "Provedor DNS está vazio", - "frFR": "Le fournisseur DNS est vide", - "esAR": "El proveedor DNS está vacío", - "arDZ": "موفر DNS فارغ" - }, - "timestamp": "2025-04-30T09:21:01.782Z" - }, - "添加DNS提供商": { - "text": "添加DNS提供商", - "key": "t_1_1746004861166", - "translations": { - "zhCN": "添加DNS提供商", - "zhTW": "新增DNS供應商", - "enUS": "Add DNS provider", - "jaJP": "DNSプロバイダーを追加", - "koKR": "DNS 공급자 추가", - "ruRU": "Добавить DNS-провайдера", - "ptBR": "Adicionar provedor de DNS", - "frFR": "Ajouter un fournisseur DNS", - "esAR": "Agregar proveedor de DNS", - "arDZ": "إضافة مزود DNS" - }, - "timestamp": "2025-04-30T09:21:01.782Z" - }, - "刷新": { - "text": "刷新", - "key": "t_0_1746497662220", - "translations": { - "zhCN": "刷新", - "zhTW": "刷新", - "enUS": "Refresh", - "jaJP": "更新", - "koKR": "새로 고침", - "ruRU": "Обновить", - "ptBR": "Atualizar", - "frFR": "Rafraîchir", - "esAR": "Actualizar", - "arDZ": "تحديث" - }, - "timestamp": "2025-05-06T02:14:22.220Z" - }, - "运行中": { - "text": "运行中", - "key": "t_0_1746519384035", - "translations": { - "zhCN": "运行中", - "zhTW": "運行中", - "enUS": "Running", - "jaJP": "実行中", - "koKR": "실행 중", - "ruRU": "В работе", - "ptBR": "Em execução", - "frFR": "En cours", - "esAR": "En ejecución", - "arDZ": "قيد التشغيل" - }, - "timestamp": "2025-05-06T08:16:24.035Z" - }, - "执行历史详情": { - "text": "执行历史详情", - "key": "t_0_1746579648713", - "translations": { - "zhCN": "执行历史详情", - "zhTW": "執行歷史詳情", - "enUS": "Execution History Details", - "jaJP": "実行履歴の詳細", - "koKR": "실행 내역 상세 정보", - "ruRU": "Детали истории выполнения", - "ptBR": "Detalhes do Histórico de Execução", - "frFR": "Détails de l'historique d'exécution", - "esAR": "Detalles del Historial de Ejecución", - "arDZ": "تفاصيل سجل التنفيذ" - }, - "timestamp": "2025-05-07T01:00:48.713Z" - }, - "执行状态": { - "text": "执行状态", - "key": "t_0_1746590054456", - "translations": { - "zhCN": "执行状态", - "zhTW": "執行狀態", - "enUS": "Execution status", - "jaJP": "実行状態", - "koKR": "실행 상태", - "ruRU": "Статус выполнения", - "ptBR": "Status de execução", - "frFR": "État d'exécution", - "esAR": "Estado de ejecución", - "arDZ": "حالة التنفيذ" - }, - "timestamp": "2025-05-07T03:54:20.448Z" - }, - "触发方式": { - "text": "触发方式", - "key": "t_1_1746590060448", - "translations": { - "zhCN": "触发方式", - "zhTW": "觸發方式", - "enUS": "Trigger Method", - "jaJP": "トリガー方式", - "koKR": "트리거 방식", - "ruRU": "Способ активации", - "ptBR": "Método de Ativação", - "frFR": "Méthode de Déclenchement", - "esAR": "Método de Activación", - "arDZ": "طريقة التشغيل" - }, - "timestamp": "2025-05-07T03:54:20.449Z" - }, - "正在提交信息,请稍后...": { - "text": "正在提交信息,请稍后...", - "key": "t_0_1746667592819", - "translations": { - "zhCN": "正在提交信息,请稍后...", - "zhTW": "正在提交資訊,請稍後...", - "enUS": "Submitting information, please wait...", - "jaJP": "情報を送信中、少々お待ちください...", - "koKR": "정보를 제출 중입니다. 잠시 기다려주세요...", - "ruRU": "Отправка информации, пожалуйста, подождите...", - "ptBR": "Enviando informações, por favor aguarde...", - "frFR": "Soumission des informations en cours, veuillez patienter...", - "esAR": "Enviando información, por favor espere...", - "arDZ": "جاري تقديم المعلومات، يرجى الانتظار..." - }, - "timestamp": "2025-05-08T01:26:39.218Z" - }, - "密钥": { - "text": "密钥", - "key": "t_1_1746667588689", - "translations": { - "zhCN": "密钥", - "zhTW": "密鑰", - "enUS": "Key", - "jaJP": "キー", - "koKR": "키", - "ruRU": "Ключ", - "ptBR": "Chave", - "frFR": "Clé", - "esAR": "Clave", - "arDZ": "مفتاح" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "面板URL": { - "text": "面板URL", - "key": "t_2_1746667592840", - "translations": { - "zhCN": "面板URL", - "zhTW": "面板URL", - "enUS": "Panel URL", - "jaJP": "パネルURL", - "koKR": "패널 URL", - "ruRU": "URL панели", - "ptBR": "URL do painel", - "frFR": "URL du panneau", - "esAR": "URL del panel", - "arDZ": "عنوان URL للوحة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "忽略 SSL/TLS证书错误": { - "text": "忽略 SSL/TLS证书错误", - "key": "t_3_1746667592270", - "translations": { - "zhCN": "忽略 SSL/TLS证书错误", - "zhTW": "忽略 SSL/TLS證書錯誤", - "enUS": "Ignore SSL/TLS certificate errors", - "jaJP": "SSL/TLS証明書のエラーを無視する", - "koKR": "SSL/TLS 인증서 오류 무시", - "ruRU": "Игнорировать ошибки SSL/TLS сертификатов", - "ptBR": "Ignorar erros de certificado SSL/TLS", - "frFR": "Ignorer les erreurs de certificat SSL/TLS", - "esAR": "Ignorar errores de certificado SSL/TLS", - "arDZ": "تجاهل أخطاء شهادة SSL/TLS" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "表单验证失败": { - "text": "表单验证失败", - "key": "t_4_1746667590873", - "translations": { - "zhCN": "表单验证失败", - "zhTW": "表單驗證失敗", - "enUS": "Form validation failed", - "jaJP": "フォーム検証失敗", - "koKR": "양식 검증 실패", - "ruRU": "Проверка формы не удалась", - "ptBR": "Validação de formulário falhou", - "frFR": "Échec de la validation du formulaire", - "esAR": "Falló la validación del formulario", - "arDZ": "فشل التحقق من النموذج" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "新建工作流": { - "text": "新建工作流", - "key": "t_5_1746667590676", - "translations": { - "zhCN": "新建工作流", - "zhTW": "新增工作流程", - "enUS": "New workflow", - "jaJP": "新しいワークフロー", - "koKR": "새 워크플로우", - "ruRU": "Новый рабочий процесс", - "ptBR": "Novo fluxo de trabalho", - "frFR": "Nouveau flux de travail", - "esAR": "Nuevo flujo de trabajo", - "arDZ": "سير عمل جديد" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "正在提交申请,请稍后...": { - "text": "正在提交申请,请稍后...", - "key": "t_6_1746667592831", - "translations": { - "zhCN": "正在提交申请,请稍后...", - "zhTW": "正在提交申請,請稍後...", - "enUS": "Submitting application, please wait...", - "jaJP": "申請を提出しています、少々お待ちください...", - "koKR": "제출 중입니다. 잠시만 기다려 주세요...", - "ruRU": "Отправка заявки, пожалуйста, подождите...", - "ptBR": "Enviando aplicação, por favor aguarde...", - "frFR": "Soumission de la demande, veuillez patienter...", - "esAR": "Enviando aplicación, por favor espere...", - "arDZ": "جارٍ تقديم الطلب، يرجى الانتظار..." - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "请输入正确的域名": { - "text": "请输入正确的域名", - "key": "t_7_1746667592468", - "translations": { - "zhCN": "请输入正确的域名", - "zhTW": "請輸入正確的域名", - "enUS": "Please enter the correct domain name", - "jaJP": "正しいドメイン名を入力してください", - "koKR": "올바른 도메인 이름을 입력하세요", - "ruRU": "Пожалуйста, введите правильное доменное имя", - "ptBR": "Por favor, insira o nome de domínio correto", - "frFR": "Veuillez entrer le nom de domaine correct", - "esAR": "Por favor ingrese el nombre de dominio correcto", - "arDZ": "يرجى إدخال اسم النطاق الصحيح" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "请选择解析方式": { - "text": "请选择解析方式", - "key": "t_8_1746667591924", - "translations": { - "zhCN": "请选择解析方式", - "zhTW": "請選擇解析方式", - "enUS": "Please select the parsing method", - "jaJP": "解析方法を選択してください", - "koKR": "파싱 방법을 선택하세요", - "ruRU": "Пожалуйста, выберите метод анализа", - "ptBR": "Por favor, selecione o método de análise", - "frFR": "Veuillez sélectionner la méthode d'analyse", - "esAR": "Por favor, seleccione el método de análisis", - "arDZ": "يرجى اختيار طريقة التحليل" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "刷新列表": { - "text": "刷新列表", - "key": "t_9_1746667589516", - "translations": { - "zhCN": "刷新列表", - "zhTW": "刷新列表", - "enUS": "Refresh list", - "jaJP": "リストを更新", - "koKR": "목록 새로 고침", - "ruRU": "Обновить список", - "ptBR": "Atualizar lista", - "frFR": "Actualiser la liste", - "esAR": "Actualizar lista", - "arDZ": "تحديث القائمة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "通配符": { - "text": "通配符", - "key": "t_10_1746667589575", - "translations": { - "zhCN": "通配符", - "zhTW": "通配符", - "enUS": "Wildcard", - "jaJP": "ワイルドカード", - "koKR": "와일드카드", - "ruRU": "Подстановочный знак", - "ptBR": "Curinga", - "frFR": "Joker", - "esAR": "Comodín", - "arDZ": "حرف بدل" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "多域名": { - "text": "多域名", - "key": "t_11_1746667589598", - "translations": { - "zhCN": "多域名", - "zhTW": "多域名", - "enUS": "Multi-domain", - "jaJP": "マルチドメイン", - "koKR": "멀티 도메인", - "ruRU": "Мультидомен", - "ptBR": "Multidomínio", - "frFR": "Multi-domaine", - "esAR": "Multidominio", - "arDZ": "متعدد النطاقات" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "热门": { - "text": "热门", - "key": "t_12_1746667589733", - "translations": { - "zhCN": "热门", - "zhTW": "熱門", - "enUS": "Popular", - "jaJP": "人気", - "koKR": "인기", - "ruRU": "Популярные", - "ptBR": "Popular", - "frFR": "Populaire", - "esAR": "Popular", - "arDZ": "شائع" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。": { - "text": "是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。", - "key": "t_13_1746667599218", - "translations": { - "zhCN": "是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。", - "zhTW": "是廣泛使用的免費SSL證書提供商,適合個人網站和測試環境。", - "enUS": "is a widely used free SSL certificate provider, suitable for personal websites and testing environments.", - "jaJP": "広く使用されている無料のSSL証明書プロバイダーで、個人のウェブサイトやテスト環境に適しています。", - "koKR": "개인 웹사이트 및 테스트 환경에 적합한 널리 사용되는 무료 SSL 인증서 제공업체입니다.", - "ruRU": "широко используемый бесплатный провайдер SSL-сертификатов, подходящий для личных веб-сайтов и тестовых сред.", - "ptBR": "é um fornecedor de certificados SSL gratuito amplamente utilizado, adequado para sites pessoais e ambientes de teste.", - "frFR": "est un fournisseur de certificats SSL gratuits largement utilisé, adapté aux sites personnels et aux environnements de test.", - "esAR": "es un proveedor de certificados SSL gratuito ampliamente utilizado, adecuado para sitios web personales y entornos de prueba.", - "arDZ": "هو موفر شهادات SSL مجاني مستخدم على نطاق واسع، مناسب للمواقع الشخصية وبيئات الاختبار." - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "支持域名数": { - "text": "支持域名数", - "key": "t_14_1746667590827", - "translations": { - "zhCN": "支持域名数", - "zhTW": "支持域名數", - "enUS": "Number of supported domains", - "jaJP": "サポートされているドメインの数", - "koKR": "지원되는 도메인 수", - "ruRU": "Количество поддерживаемых доменов", - "ptBR": "Número de domínios suportados", - "frFR": "Nombre de domaines pris en charge", - "esAR": "Número de dominios soportados", - "arDZ": "عدد النطاقات المدعومة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "个": { - "text": "个", - "key": "t_15_1746667588493", - "translations": { - "zhCN": "个", - "zhTW": "個", - "enUS": "piece", - "jaJP": "個", - "koKR": "개", - "ruRU": "штука", - "ptBR": "peça", - "frFR": "pièce", - "esAR": "pieza", - "arDZ": "قطعة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "支持通配符": { - "text": "支持通配符", - "key": "t_16_1746667591069", - "translations": { - "zhCN": "支持通配符", - "zhTW": "支援萬用字元", - "enUS": "Support wildcards", - "jaJP": "ワイルドカードをサポート", - "koKR": "와일드카드 지원", - "ruRU": "Поддержка подстановочных знаков", - "ptBR": "Suporte a curingas", - "frFR": "Prise en charge des caractères génériques", - "esAR": "Compatibilidad con caracteres comodín", - "arDZ": "دعم أحرف البدل" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "支持": { - "text": "支持", - "key": "t_17_1746667588785", - "translations": { - "zhCN": "支持", - "zhTW": "支持", - "enUS": "support", - "jaJP": "サポート", - "koKR": "지원", - "ruRU": "поддержка", - "ptBR": "suporte", - "frFR": "soutien", - "esAR": "apoyo", - "arDZ": "دعم" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "不支持": { - "text": "不支持", - "key": "t_18_1746667590113", - "translations": { - "zhCN": "不支持", - "zhTW": "不支援", - "enUS": "Not supported", - "jaJP": "サポートされていません", - "koKR": "지원되지 않음", - "ruRU": "Не поддерживается", - "ptBR": "Não suportado", - "frFR": "Non pris en charge", - "esAR": "No soportado", - "arDZ": "غير مدعوم" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "有效期": { - "text": "有效期", - "key": "t_19_1746667589295", - "translations": { - "zhCN": "有效期", - "zhTW": "有效期", - "enUS": "Validity period", - "jaJP": "有効期間", - "koKR": "유효 기간", - "ruRU": "Срок действия", - "ptBR": "Validade", - "frFR": "Période de validité", - "esAR": "Período de validez", - "arDZ": "فترة الصلاحية" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "天": { - "text": "天", - "key": "t_20_1746667588453", - "translations": { - "zhCN": "天", - "zhTW": "天", - "enUS": "Day", - "jaJP": "天", - "koKR": "하늘", - "ruRU": "день", - "ptBR": "dia", - "frFR": "jour", - "esAR": "día", - "arDZ": "يوم" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "支持小程序": { - "text": "支持小程序", - "key": "t_21_1746667590834", - "translations": { - "zhCN": "支持小程序", - "zhTW": "支援小程式", - "enUS": "Support Mini Program", - "jaJP": "ミニプログラムをサポート", - "koKR": "미니프로그램 지원", - "ruRU": "Поддержка мини-программ", - "ptBR": "Suporte para Mini Programas", - "frFR": "Prise en charge des mini-programmes", - "esAR": "Soporte para Mini Programas", - "arDZ": "دعم البرامج الصغيرة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "适用网站": { - "text": "适用网站", - "key": "t_22_1746667591024", - "translations": { - "zhCN": "适用网站", - "zhTW": "適用網站", - "enUS": "Applicable websites", - "jaJP": "対応サイト", - "koKR": "적용 가능한 웹사이트", - "ruRU": "Применимые веб-сайты", - "ptBR": "Sites aplicáveis", - "frFR": "Sites applicables", - "esAR": "Sitios aplicables", - "arDZ": "المواقع المطبقة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "*.example.com、*.demo.com": { - "text": "*.example.com、*.demo.com", - "key": "t_23_1746667591989", - "translations": { - "zhCN": "*.example.com、*.demo.com", - "zhTW": "*.example.com、*.demo.com", - "enUS": "*.example.com, *.demo.com", - "jaJP": "*.example.com、*.demo.com", - "koKR": "*.example.com, *.demo.com", - "ruRU": "*.example.com, *.demo.com", - "ptBR": "*.example.com, *.demo.com", - "frFR": "*.example.com, *.demo.com", - "esAR": "*.example.com, *.demo.com", - "arDZ": "*.example.com، *.demo.com" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "*.example.com": { - "text": "*.example.com", - "key": "t_24_1746667583520", - "translations": { - "zhCN": "*.example.com", - "zhTW": "*.example.com", - "enUS": "*.example.com", - "jaJP": "*.example.com", - "koKR": "*.example.com", - "ruRU": "*.example.com", - "ptBR": "*.example.com", - "frFR": "*.example.com", - "esAR": "*.example.com", - "arDZ": "*.example.com" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "example.com、demo.com": { - "text": "example.com、demo.com", - "key": "t_25_1746667590147", - "translations": { - "zhCN": "example.com、demo.com", - "zhTW": "example.com、demo.com", - "enUS": "example.com、demo.com", - "jaJP": "example.com、demo.com", - "koKR": "example.com、demo.com", - "ruRU": "example.com、demo.com", - "ptBR": "example.com、demo.com", - "frFR": "example.com、demo.com", - "esAR": "example.com、demo.com", - "arDZ": "example.com、demo.com" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "www.example.com、example.com": { - "text": "www.example.com、example.com", - "key": "t_26_1746667594662", - "translations": { - "zhCN": "www.example.com、example.com", - "zhTW": "www.example.com、example.com", - "enUS": "www.example.com, example.com", - "jaJP": "www.example.com、example.com", - "koKR": "www.example.com, example.com", - "ruRU": "www.example.com, example.com", - "ptBR": "www.example.com, example.com", - "frFR": "www.example.com, example.com", - "esAR": "www.example.com, example.com", - "arDZ": "www.example.com، example.com" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "免费": { - "text": "免费", - "key": "t_27_1746667589350", - "translations": { - "zhCN": "免费", - "zhTW": "免費", - "enUS": "Free", - "jaJP": "無料", - "koKR": "무료", - "ruRU": "Бесплатно", - "ptBR": "Grátis", - "frFR": "Gratuit", - "esAR": "Gratis", - "arDZ": "مجاني" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "立即申请": { - "text": "立即申请", - "key": "t_28_1746667590336", - "translations": { - "zhCN": "立即申请", - "zhTW": "立即申請", - "enUS": "Apply Now", - "jaJP": "今すぐ申し込む", - "koKR": "지금 신청하기", - "ruRU": "Подать заявку сейчас", - "ptBR": "Aplicar agora", - "frFR": "Postuler maintenant", - "esAR": "Aplicar ahora", - "arDZ": "تقديم الآن" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "项目地址": { - "text": "项目地址", - "key": "t_29_1746667589773", - "translations": { - "zhCN": "项目地址", - "zhTW": "專案地址", - "enUS": "Project address", - "jaJP": "プロジェクトアドレス", - "koKR": "프로젝트 주소", - "ruRU": "Адрес проекта", - "ptBR": "Endereço do projeto", - "frFR": "Adresse du projet", - "esAR": "Dirección del proyecto", - "arDZ": "عنوان المشروع" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "请输入证书文件路径": { - "text": "请输入证书文件路径", - "key": "t_30_1746667591892", - "translations": { - "zhCN": "请输入证书文件路径", - "zhTW": "請輸入憑證檔案路徑", - "enUS": "Please enter the certificate file path", - "jaJP": "証明書ファイルのパスを入力してください", - "koKR": "인증서 파일 경로를 입력하세요", - "ruRU": "Введите путь к файлу сертификата", - "ptBR": "Digite o caminho do arquivo de certificado", - "frFR": "Veuillez entrer le chemin du fichier de certificat", - "esAR": "Ingrese la ruta del archivo de certificado", - "arDZ": "الرجاء إدخال مسار ملف الشهادة" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "请输入私钥文件路径": { - "text": "请输入私钥文件路径", - "key": "t_31_1746667593074", - "translations": { - "zhCN": "请输入私钥文件路径", - "zhTW": "請輸入私鑰文件路徑", - "enUS": "Please enter the private key file path", - "jaJP": "秘密鍵ファイルのパスを入力してください", - "koKR": "개인 키 파일 경로를 입력하세요", - "ruRU": "Введите путь к файлу закрытого ключа", - "ptBR": "Digite o caminho do arquivo de chave privada", - "frFR": "Veuillez entrer le chemin du fichier de clé privée", - "esAR": "Ingrese la ruta del archivo de clave privada", - "arDZ": "الرجاء إدخال مسار ملف المفتاح الخاص" - }, - "timestamp": "2025-05-08T01:26:39.219Z" - }, - "当前DNS提供商为空,请先添加DNS提供商": { - "text": "当前DNS提供商为空,请先添加DNS提供商", - "key": "t_0_1746673515941", - "translations": { - "zhCN": "当前DNS提供商为空,请先添加DNS提供商", - "zhTW": "當前DNS提供商為空,請先添加DNS提供商", - "enUS": "The current DNS provider is empty, please add a DNS provider first", - "jaJP": "現在のDNSプロバイダーが空です。まずDNSプロバイダーを追加してください", - "koKR": "현재 DNS 공급자가 비어 있습니다. 먼저 DNS 공급자를 추가하세요", - "ruRU": "Текущий DNS-провайдер отсутствует, сначала добавьте DNS-провайдера", - "ptBR": "O provedor de DNS atual está vazio, adicione um provedor de DNS primeiro", - "frFR": "Le fournisseur DNS actuel est vide, veuillez d'abord ajouter un fournisseur DNS", - "esAR": "El proveedor de DNS actual está vacío, por favor agregue un proveedor de DNS primero", - "arDZ": "موفر DNS الحالي فارغ، يرجى إضافة موفر DNS أولاً" - }, - "timestamp": "2025-05-08T03:05:15.942Z" - }, - "测试通知发送失败": { - "text": "测试通知发送失败", - "key": "t_0_1746676862189", - "translations": { - "zhCN": "测试通知发送失败", - "zhTW": "測試通知發送失敗", - "enUS": "Test notification sending failed", - "jaJP": "テスト通知の送信に失敗しました", - "koKR": "테스트 알림 전송 실패", - "ruRU": "Не удалось отправить тестовое уведомление", - "ptBR": "Falha no envio da notificação de teste", - "frFR": "Échec de l'envoi de la notification de test", - "esAR": "Error en el envío de notificación de prueba", - "arDZ": "فشل إرسال إشعار الاختبار" - }, - "timestamp": "2025-05-08T04:01:02.329Z" - }, - "添加配置": { - "text": "添加配置", - "key": "t_1_1746676859550", - "translations": { - "zhCN": "添加配置", - "zhTW": "新增配置", - "enUS": "Add Configuration", - "jaJP": "設定を追加", - "koKR": "구성 추가", - "ruRU": "Добавить конфигурацию", - "ptBR": "Adicionar Configuração", - "frFR": "Ajouter une Configuration", - "esAR": "Agregar Configuración", - "arDZ": "إضافة تكوين" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "暂未支持": { - "text": "暂未支持", - "key": "t_2_1746676856700", - "translations": { - "zhCN": "暂未支持", - "zhTW": "暫不支持", - "enUS": "Not supported yet", - "jaJP": "まだサポートされていません", - "koKR": "아직 지원되지 않음", - "ruRU": "Пока не поддерживается", - "ptBR": "Ainda não suportado", - "frFR": "Pas encore pris en charge", - "esAR": "Aún no compatible", - "arDZ": "غير مدعوم بعد" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "邮件通知": { - "text": "邮件通知", - "key": "t_3_1746676857930", - "translations": { - "zhCN": "邮件通知", - "zhTW": "郵件通知", - "enUS": "Email notification", - "jaJP": "メール通知", - "koKR": "이메일 알림", - "ruRU": "Уведомление по электронной почте", - "ptBR": "Notificação por e-mail", - "frFR": "Notification par e-mail", - "esAR": "Notificación por correo electrónico", - "arDZ": "إشعار البريد الإلكتروني" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "通过邮件发送告警通知": { - "text": "通过邮件发送告警通知", - "key": "t_4_1746676861473", - "translations": { - "zhCN": "通过邮件发送告警通知", - "zhTW": "透過郵件發送警報通知", - "enUS": "Send alert notifications via email", - "jaJP": "メールでアラート通知を送信する", - "koKR": "이메일로 경고 알림 보내기", - "ruRU": "Отправка уведомлений о тревоге по электронной почте", - "ptBR": "Enviar notificações de alerta por e-mail", - "frFR": "Envoyer des notifications d'alerte par e-mail", - "esAR": "Enviar notificaciones de alerta por correo electrónico", - "arDZ": "إرسال إخطارات التنبيه عبر البريد الإلكتروني" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "钉钉通知": { - "text": "钉钉通知", - "key": "t_5_1746676856974", - "translations": { - "zhCN": "钉钉通知", - "zhTW": "釘釘通知", - "enUS": "DingTalk Notification", - "jaJP": "DingTalk通知", - "koKR": "DingTalk 알림", - "ruRU": "Уведомление DingTalk", - "ptBR": "Notificação DingTalk", - "frFR": "Notification DingTalk", - "esAR": "Notificación de DingTalk", - "arDZ": "إشعار DingTalk" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "通过钉钉机器人发送告警通知": { - "text": "通过钉钉机器人发送告警通知", - "key": "t_6_1746676860886", - "translations": { - "zhCN": "通过钉钉机器人发送告警通知", - "zhTW": "通過釘釘機器人發送警報通知", - "enUS": "Send alarm notifications via DingTalk robot", - "jaJP": "DingTalkロボットを通じてアラーム通知を送信する", - "koKR": "DingTalk 봇을 통해 경고 알림 보내기", - "ruRU": "Отправка уведомлений о тревоге через робота DingTalk", - "ptBR": "Enviar notificações de alarme via robô DingTalk", - "frFR": "Envoyer des notifications d'alarme via le robot DingTalk", - "esAR": "Enviar notificaciones de alarma a través del robot DingTalk", - "arDZ": "إرسال إشعارات الإنذار عبر روبوت DingTalk" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "企业微信通知": { - "text": "企业微信通知", - "key": "t_7_1746676857191", - "translations": { - "zhCN": "企业微信通知", - "zhTW": "企業微信通知", - "enUS": "WeChat Work Notification", - "jaJP": "企業WeChat通知", - "koKR": "기업 위챗 알림", - "ruRU": "Уведомление WeChat Work", - "ptBR": "Notificação do WeChat Work", - "frFR": "Notification WeChat Work", - "esAR": "Notificación de WeChat Work", - "arDZ": "إشعار WeChat Work" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "通过企业微信机器人发送告警通知": { - "text": "通过企业微信机器人发送告警通知", - "key": "t_8_1746676860457", - "translations": { - "zhCN": "通过企业微信机器人发送告警通知", - "zhTW": "通過企業微信機器人發送警報通知", - "enUS": "Send alarm notifications via WeCom bot", - "jaJP": "WeComボットでアラーム通知を送信", - "koKR": "WeCom 봇을 통해 경고 알림 보내기", - "ruRU": "Отправка уведомлений о тревоге через бота WeCom", - "ptBR": "Enviar notificações de alarme via bot do WeCom", - "frFR": "Envoyer des notifications d'alarme via le bot WeCom", - "esAR": "Enviar notificaciones de alarma a través del bot de WeCom", - "arDZ": "إرسال تنبيهات الإنذار عبر بوت WeCom" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "飞书通知": { - "text": "飞书通知", - "key": "t_9_1746676857164", - "translations": { - "zhCN": "飞书通知", - "zhTW": "飛書通知", - "enUS": "Feishu Notification", - "jaJP": "Feishu通知", - "koKR": "Feishu 알림", - "ruRU": "Уведомление Feishu", - "ptBR": "Notificação Feishu", - "frFR": "Notification Feishu", - "esAR": "Notificación de Feishu", - "arDZ": "إشعار Feishu" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "通过飞书机器人发送告警通知": { - "text": "通过飞书机器人发送告警通知", - "key": "t_10_1746676862329", - "translations": { - "zhCN": "通过飞书机器人发送告警通知", - "zhTW": "通過飛書機器人發送告警通知", - "enUS": "Send alarm notifications via Feishu bot", - "jaJP": "飛書ロボットでアラーム通知を送信する", - "koKR": "Feishu 봇을 통해 알림 알림 보내기", - "ruRU": "Отправка уведомлений о тревоге через бота Feishu", - "ptBR": "Enviar notificações de alarme via bot Feishu", - "frFR": "Envoyer des notifications d'alarme via le bot Feishu", - "esAR": "Enviar notificaciones de alarma a través del bot Feishu", - "arDZ": "إرسال إخطارات الإنذار عبر بوت Feishu" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "WebHook通知": { - "text": "WebHook通知", - "key": "t_11_1746676859158", - "translations": { - "zhCN": "WebHook通知", - "zhTW": "WebHook通知", - "enUS": "WebHook Notification", - "jaJP": "WebHook通知", - "koKR": "WebHook 알림", - "ruRU": "WebHook уведомление", - "ptBR": "Notificação WebHook", - "frFR": "Notification WebHook", - "esAR": "Notificación WebHook", - "arDZ": "إشعار WebHook" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "通过WebHook发送告警通知": { - "text": "通过WebHook发送告警通知", - "key": "t_12_1746676860503", - "translations": { - "zhCN": "通过WebHook发送告警通知", - "zhTW": "通過WebHook發送警報通知", - "enUS": "Send alarm notifications via WebHook", - "jaJP": "WebHookを介してアラーム通知を送信する", - "koKR": "WebHook를 통해 알림 알림 보내기", - "ruRU": "Отправка уведомлений о тревоге через WebHook", - "ptBR": "Enviar notificações de alarme via WebHook", - "frFR": "Envoyer des notifications d'alarme via WebHook", - "esAR": "Enviar notificaciones de alarma a través de WebHook", - "arDZ": "إرسال إشعارات الإنذار عبر WebHook" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "通知渠道": { - "text": "通知渠道", - "key": "t_13_1746676856842", - "translations": { - "zhCN": "通知渠道", - "zhTW": "通知渠道", - "enUS": "Notification channel", - "jaJP": "通知チャネル", - "koKR": "알림 채널", - "ruRU": "Канал уведомлений", - "ptBR": "Canal de notificação", - "frFR": "Canal de notification", - "esAR": "Canal de notificación", - "arDZ": "قناة الإخطار" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "已配置的通知渠道": { - "text": "已配置的通知渠道", - "key": "t_14_1746676859019", - "translations": { - "zhCN": "已配置的通知渠道", - "zhTW": "已配置的通知頻道", - "enUS": "Configured notification channels", - "jaJP": "設定済みの通知チャネル", - "koKR": "구성된 알림 채널", - "ruRU": "Настроенные каналы уведомлений", - "ptBR": "Canais de notificação configurados", - "frFR": "Canaux de notification configurés", - "esAR": "Canales de notificación configurados", - "arDZ": "قنوات الإعلام المُهيأة" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "已停用": { - "text": "已停用", - "key": "t_15_1746676856567", - "translations": { - "zhCN": "已停用", - "zhTW": "已停用", - "enUS": "Disabled", - "jaJP": "無効化", - "koKR": "비활성화됨", - "ruRU": "Отключено", - "ptBR": "Desativado", - "frFR": "Désactivé", - "esAR": "Desactivado", - "arDZ": "معطل" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "测试": { - "text": "测试", - "key": "t_16_1746676855270", - "translations": { - "zhCN": "测试", - "zhTW": "測試", - "enUS": "Test", - "jaJP": "テスト", - "koKR": "테스트", - "ruRU": "тест", - "ptBR": "Teste", - "frFR": "Test", - "esAR": "Prueba", - "arDZ": "اختبار" - }, - "timestamp": "2025-05-08T04:01:02.331Z" - }, - "最后一次执行状态": { - "text": "最后一次执行状态", - "key": "t_0_1746677882486", - "translations": { - "zhCN": "最后一次执行状态", - "zhTW": "最後一次執行狀態", - "enUS": "Last execution status", - "jaJP": "最後の実行状態", - "koKR": "마지막 실행 상태", - "ruRU": "Последний статус выполнения", - "ptBR": "Último status de execução", - "frFR": "Dernier état d'exécution", - "esAR": "Último estado de ejecución", - "arDZ": "حالة التنفيذ الأخيرة" - }, - "timestamp": "2025-05-08T04:18:02.487Z" - }, - "域名不能为空": { - "text": "域名不能为空", - "key": "t_0_1746697487119", - "translations": { - "zhCN": "域名不能为空", - "zhTW": "域名不能為空", - "enUS": "Domain name cannot be empty", - "jaJP": "ドメイン名は空にできません", - "koKR": "도메인 이름은 비워둘 수 없습니다", - "ruRU": "Имя домена не может быть пустым", - "ptBR": "O nome do domínio não pode estar vazio", - "frFR": "Le nom de domaine ne peut pas être vide", - "esAR": "El nombre de dominio no puede estar vacío", - "arDZ": "اسم النطاق لا يمكن أن يكون فارغًا" - }, - "timestamp": "2025-05-08T09:44:47.164Z" - }, - "邮箱不能为空": { - "text": "邮箱不能为空", - "key": "t_1_1746697485188", - "translations": { - "zhCN": "邮箱不能为空", - "zhTW": "郵箱不能為空", - "enUS": "Email cannot be empty", - "jaJP": "メールアドレスは空にできません", - "koKR": "이메일은 비워둘 수 없습니다", - "ruRU": "Почта не может быть пустой", - "ptBR": "O e-mail não pode estar vazio", - "frFR": "L'e-mail ne peut pas être vide", - "esAR": "El correo electrónico no puede estar vacío", - "arDZ": "البريد الإلكتروني لا يمكن أن يكون فارغاً" - }, - "timestamp": "2025-05-08T09:44:47.164Z" - }, - "阿里云OSS": { - "text": "阿里云OSS", - "key": "t_2_1746697487164", - "translations": { - "zhCN": "阿里云OSS", - "zhTW": "阿里雲OSS", - "enUS": "Alibaba Cloud OSS", - "jaJP": "アリババクラウドOSS", - "koKR": "알리바바 클라우드 OSS", - "ruRU": "Alibaba Cloud OSS", - "ptBR": "Alibaba Cloud OSS", - "frFR": "Alibaba Cloud OSS", - "esAR": "Alibaba Cloud OSS", - "arDZ": "علي بابا كلاود OSS" - }, - "timestamp": "2025-05-08T09:44:47.164Z" - }, - "主机提供商": { - "text": "主机提供商", - "key": "t_0_1746754500246", - "translations": { - "zhCN": "主机提供商", - "zhTW": "主機供應商", - "enUS": "Hosting Provider", - "jaJP": "ホスティングプロバイダー", - "koKR": "호스팅 제공업체", - "ruRU": "Хостинг-провайдер", - "ptBR": "Provedor de Hospedagem", - "frFR": "Fournisseur d'hébergement", - "esAR": "Proveedor de Alojamiento", - "arDZ": "مزود الاستضافة" - }, - "timestamp": "2025-05-09T01:35:00.270Z" - }, - "API来源": { - "text": "API来源", - "key": "t_1_1746754499371", - "translations": { - "zhCN": "API来源", - "zhTW": "API來源", - "enUS": "API Source", - "jaJP": "APIソース", - "koKR": "API 소스", - "ruRU": "Источник API", - "ptBR": "Fonte da API", - "frFR": "Source de l'API", - "esAR": "Fuente de la API", - "arDZ": "مصدر API" - }, - "timestamp": "2025-05-09T01:35:00.270Z" - }, - "API 类型": { - "text": "API 类型", - "key": "t_2_1746754500270", - "translations": { - "zhCN": "API 类型", - "zhTW": "API 類型", - "enUS": "API type", - "jaJP": "APIタイプ", - "koKR": "API 유형", - "ruRU": "Тип API", - "ptBR": "Tipo de API", - "frFR": "Type d'API", - "esAR": "Tipo de API", - "arDZ": "نوع API" - }, - "timestamp": "2025-05-09T01:35:00.270Z" - }, - "请求错误": { - "text": "请求错误", - "key": "t_0_1746760933542", - "translations": { - "zhCN": "请求错误", - "zhTW": "請求錯誤", - "enUS": "Request error", - "jaJP": "リクエストエラー", - "koKR": "요청 오류", - "ruRU": "Ошибка запроса", - "ptBR": "Erro de solicitação", - "frFR": "Erreur de requête", - "esAR": "Error de solicitud", - "arDZ": "خطأ في الطلب" - }, - "timestamp": "2025-05-09T03:22:13.542Z" - }, - "共{0}条": { - "text": "共{0}条", - "key": "t_0_1746773350551", - "translations": { - "zhCN": "共{0}条", - "zhTW": "共{0}條", - "enUS": "{0} results", - "jaJP": "合計{0}件", - "koKR": "총 {0}건", - "ruRU": "Всего {0}", - "ptBR": "Total de {0} itens", - "frFR": "{0} résultats", - "esAR": "{0} en total", - "arDZ": "مجموع {0}" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "未执行": { - "text": "未执行", - "key": "t_1_1746773348701", - "translations": { - "zhCN": "未执行", - "zhTW": "未執行", - "enUS": "Not executed", - "jaJP": "未実行", - "koKR": "실행되지 않음", - "ruRU": "Не выполнено", - "ptBR": "Não executado", - "frFR": "Non exécuté", - "esAR": "No ejecutado", - "arDZ": "لم يتم التنفيذ" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "自动化工作流": { - "text": "自动化工作流", - "key": "t_2_1746773350970", - "translations": { - "zhCN": "自动化工作流", - "zhTW": "自動化工作流程", - "enUS": "Automated workflow", - "jaJP": "自動化ワークフロー", - "koKR": "자동화 워크플로우", - "ruRU": "Автоматизированный рабочий процесс", - "ptBR": "Fluxo de trabalho automatizado", - "frFR": "Workflow automatisé", - "esAR": "Flujo de trabajo automatizado", - "arDZ": "سير العمل الآلي" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "总数量": { - "text": "总数量", - "key": "t_3_1746773348798", - "translations": { - "zhCN": "总数量", - "zhTW": "總數量", - "enUS": "Total quantity", - "jaJP": "総数量", - "koKR": "총 수량", - "ruRU": "Общее количество", - "ptBR": "Quantidade total", - "frFR": "Quantité totale", - "esAR": "Cantidad total", - "arDZ": "العدد الكلي" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "执行失败": { - "text": "执行失败", - "key": "t_4_1746773348957", - "translations": { - "zhCN": "执行失败", - "zhTW": "執行失敗", - "enUS": "Execution failed", - "jaJP": "実行に失敗しました", - "koKR": "실행 실패", - "ruRU": "Ошибка выполнения", - "ptBR": "Falha na execução", - "frFR": "Échec de l'exécution", - "esAR": "Falló la ejecución", - "arDZ": "فشل التنفيذ" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "即将到期": { - "text": "即将到期", - "key": "t_5_1746773349141", - "translations": { - "zhCN": "即将到期", - "zhTW": "即將到期", - "enUS": "Expiring soon", - "jaJP": "まもなく期限切れ", - "koKR": "곧 만료됩니다", - "ruRU": "Скоро истекает", - "ptBR": "Expirando em breve", - "frFR": "Expire bientôt", - "esAR": "Próximo a expirar", - "arDZ": "تنتهي قريبا" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "实时监控": { - "text": "实时监控", - "key": "t_6_1746773349980", - "translations": { - "zhCN": "实时监控", - "zhTW": "即時監控", - "enUS": "Real-time monitoring", - "jaJP": "リアルタイム監視", - "koKR": "실시간 모니터링", - "ruRU": "Мониторинг в реальном времени", - "ptBR": "Monitoramento em tempo real", - "frFR": "Surveillance en temps réel", - "esAR": "Monitoreo en tiempo real", - "arDZ": "مراقبة في الوقت الحقيقي" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "异常数量": { - "text": "异常数量", - "key": "t_7_1746773349302", - "translations": { - "zhCN": "异常数量", - "zhTW": "異常數量", - "enUS": "Abnormal quantity", - "jaJP": "異常数量", - "koKR": "이상 수량", - "ruRU": "Аномальное количество", - "ptBR": "Quantidade anormal", - "frFR": "Quantité anormale", - "esAR": "Cantidad anormal", - "arDZ": "كمية غير طبيعية" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "最近工作流执行记录": { - "text": "最近工作流执行记录", - "key": "t_8_1746773351524", - "translations": { - "zhCN": "最近工作流执行记录", - "zhTW": "最近工作流程執行紀錄", - "enUS": "Recent workflow execution records", - "jaJP": "最近のワークフロー実行記録", - "koKR": "최근 워크플로우 실행 기록", - "ruRU": "Недавние записи выполнения рабочего процесса", - "ptBR": "Registros recentes de execução de fluxo de trabalho", - "frFR": "Récents enregistrements d'exécution de flux de travail", - "esAR": "Registros recientes de ejecución de flujo de trabajo", - "arDZ": "سجلات تنفيذ سير العمل الحديثة" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "查看全部": { - "text": "查看全部", - "key": "t_9_1746773348221", - "translations": { - "zhCN": "查看全部", - "zhTW": "查看全部", - "enUS": "View all", - "jaJP": "すべて表示", - "koKR": "모두 보기", - "ruRU": "Просмотреть все", - "ptBR": "Ver tudo", - "frFR": "Voir tout", - "esAR": "Ver todo", - "arDZ": "عرض الكل" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "暂无工作流执行记录": { - "text": "暂无工作流执行记录", - "key": "t_10_1746773351576", - "translations": { - "zhCN": "暂无工作流执行记录", - "zhTW": "暫無工作流執行記錄", - "enUS": "No workflow execution records", - "jaJP": "ワークフロー実行記録がありません", - "koKR": "워크플로우 실행 기록 없음", - "ruRU": "Нет записей выполнения рабочего процесса", - "ptBR": "Nenhum registro de execução de fluxo de trabalho", - "frFR": "Aucun enregistrement d'exécution de flux de travail", - "esAR": "No hay registros de ejecución de flujo de trabajo", - "arDZ": "لا توجد سجلات تنفيذ سير العمل" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "创建工作流": { - "text": "创建工作流", - "key": "t_11_1746773349054", - "translations": { - "zhCN": "创建工作流", - "zhTW": "建立工作流程", - "enUS": "Create workflow", - "jaJP": "ワークフローの作成", - "koKR": "워크플로우 생성", - "ruRU": "Создание рабочего процесса", - "ptBR": "Criar fluxo de trabalho", - "frFR": "Créer un workflow", - "esAR": "Crear flujo de trabajo", - "arDZ": "إنشاء سير العمل" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "点击创建自动化工作流程,提高效率": { - "text": "点击创建自动化工作流程,提高效率", - "key": "t_12_1746773355641", - "translations": { - "zhCN": "点击创建自动化工作流程,提高效率", - "zhTW": "點擊創建自動化工作流程,提高效率", - "enUS": "Click to create an automated workflow to improve efficiency", - "jaJP": "効率を向上させるために自動化されたワークフローを作成するにはクリックしてください", - "koKR": "효율성을 높이기 위해 자동화된 워크플로우를 생성하려면 클릭하세요", - "ruRU": "Нажмите, чтобы создать автоматизированный рабочий процесс для повышения эффективности", - "ptBR": "Clique para criar um fluxo de trabalho automatizado para melhorar a eficiência", - "frFR": "Cliquez pour créer un flux de travail automatisé afin d'améliorer l'efficacité", - "esAR": "Haz clic para crear un flujo de trabajo automatizado y mejorar la eficiencia", - "arDZ": "انقر لإنشاء سير عمل آلي لتحسين الكفاءة" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "申请证书": { - "text": "申请证书", - "key": "t_13_1746773349526", - "translations": { - "zhCN": "申请证书", - "zhTW": "申請證書", - "enUS": "Apply for certificate", - "jaJP": "証明書を申請する", - "koKR": "증명서 신청", - "ruRU": "Подать заявку на сертификат", - "ptBR": "Solicitar certificado", - "frFR": "Demander un certificat", - "esAR": "Solicitar certificado", - "arDZ": "التقدم بطلب للحصول على شهادة" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "点击申请和管理SSL证书,保障安全": { - "text": "点击申请和管理SSL证书,保障安全", - "key": "t_14_1746773355081", - "translations": { - "zhCN": "点击申请和管理SSL证书,保障安全", - "zhTW": "點擊申請和管理SSL證書,保障安全", - "enUS": "Click to apply for and manage SSL certificates to ensure security", - "jaJP": "SSL証明書の申請と管理をクリックして、セキュリティを確保します", - "koKR": "SSL 인증서를 신청하고 관리하여 보안을 보장합니다", - "ruRU": "Нажмите, чтобы подать заявку на SSL-сертификаты и управлять ими для обеспечения безопасности", - "ptBR": "Clique para solicitar e gerenciar certificados SSL para garantir segurança", - "frFR": "Cliquez pour demander et gérer les certificats SSL afin d'assurer la sécurité", - "esAR": "Haz clic para solicitar y administrar certificados SSL para garantizar la seguridad", - "arDZ": "انقر للتقدم بطلب وإدارة شهادات SSL لضمان الأمان" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "最多只能配置一个邮箱通知渠道": { - "text": "最多只能配置一个邮箱通知渠道", - "key": "t_16_1746773356568", - "translations": { - "zhCN": "最多只能配置一个邮箱通知渠道", - "zhTW": "最多只能配置一個郵箱通知渠道", - "enUS": "Only one email notification channel can be configured at most", - "jaJP": "最大で1つのメール通知チャネルしか設定できません", - "koKR": "최대 하나의 이메일 알림 채널만 구성할 수 있습니다", - "ruRU": "Можно настроить только один канал уведомлений по электронной почте", - "ptBR": "No máximo, apenas um canal de notificação por e-mail pode ser configurado", - "frFR": "Un seul canal de notification par e-mail peut être configuré au maximum", - "esAR": "Solo se puede configurar un canal de notificación por correo electrónico como máximo", - "arDZ": "يمكن تكوين قناة إشعار واحدة فقط عبر البريد الإلكتروني كحد أقصى" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "确认{0}通知渠道": { - "text": "确认{0}通知渠道", - "key": "t_17_1746773351220", - "translations": { - "zhCN": "确认{0}通知渠道", - "zhTW": "確認{0}通知渠道", - "enUS": "Confirm {0} notification channel", - "jaJP": "{0}通知チャネルの確認", - "koKR": "{0} 알림 채널 확인", - "ruRU": "Подтвердить канал уведомлений {0}", - "ptBR": "Confirmar canal de notificação {0}", - "frFR": "Confirmer le canal de notification {0}", - "esAR": "Confirmar canal de notificación {0}", - "arDZ": "تأكيد قناة الإشعارات {0}" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "{0}通知渠道,将开始发送告警通知。": { - "text": "{0}通知渠道,将开始发送告警通知。", - "key": "t_18_1746773355467", - "translations": { - "zhCN": "{0}通知渠道,将开始发送告警通知。", - "zhTW": "{0}通知渠道,將開始發送告警通知。", - "enUS": "{0} notification channels will start sending alert notifications.", - "jaJP": "{0}通知チャネルは、アラート通知の送信を開始します。", - "koKR": "{0} 알림 채널에서 경고 알림을 보내기 시작할 예정입니다.", - "ruRU": "{0} каналы уведомлений начнут отправлять оповещения.", - "ptBR": "Os canais de notificação {0} começarão a enviar alertas.", - "frFR": "Les canaux de notification {0} commenceront à envoyer des alertes.", - "esAR": "Los canales de notificación {0} comenzarán a enviar alertas.", - "arDZ": "ستبدأ قنوات الإشعار {0} في إرسال تنبيهات." - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "当前通知渠道不支持测试": { - "text": "当前通知渠道不支持测试", - "key": "t_19_1746773352558", - "translations": { - "zhCN": "当前通知渠道不支持测试", - "zhTW": "當前通知渠道不支援測試", - "enUS": "The current notification channel does not support testing", - "jaJP": "現在の通知チャネルはテストをサポートしていません", - "koKR": "현재 알림 채널은 테스트를 지원하지 않습니다", - "ruRU": "Текущий канал уведомлений не поддерживает тестирование", - "ptBR": "O canal de notificação atual não suporta testes", - "frFR": "Le canal de notification actuel ne prend pas en charge les tests", - "esAR": "El canal de notificación actual no admite pruebas", - "arDZ": "قناة الإشعارات الحالية لا تدعم الاختبار" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "正在发送测试邮件,请稍后...": { - "text": "正在发送测试邮件,请稍后...", - "key": "t_20_1746773356060", - "translations": { - "zhCN": "正在发送测试邮件,请稍后...", - "zhTW": "正在發送測試郵件,請稍後...", - "enUS": "Sending test email, please wait...", - "jaJP": "テストメールを送信しています、少々お待ちください...", - "koKR": "테스트 이메일을 보내는 중입니다. 잠시 기다려주세요...", - "ruRU": "Отправка тестового письма, пожалуйста, подождите...", - "ptBR": "Enviando e-mail de teste, por favor aguarde...", - "frFR": "Envoi d'un e-mail de test, veuillez patienter...", - "esAR": "Enviando correo de prueba, por favor espere...", - "arDZ": "يتم إرسال البريد الإلكتروني الاختباري، يرجى الانتظار..." - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "测试邮件": { - "text": "测试邮件", - "key": "t_21_1746773350759", - "translations": { - "zhCN": "测试邮件", - "zhTW": "測試郵件", - "enUS": "Test email", - "jaJP": "テストメール", - "koKR": "테스트 이메일", - "ruRU": "Тестовое письмо", - "ptBR": "E-mail de teste", - "frFR": "E-mail de test", - "esAR": "Correo de prueba", - "arDZ": "بريد إلكتروني تجريبي" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "发送测试邮件到当前配置的邮箱,是否继续?": { - "text": "发送测试邮件到当前配置的邮箱,是否继续?", - "key": "t_22_1746773360711", - "translations": { - "zhCN": "发送测试邮件到当前配置的邮箱,是否继续?", - "zhTW": "發送測試郵件到當前配置的郵箱,是否繼續?", - "enUS": "Send a test email to the currently configured mailbox, continue?", - "jaJP": "現在設定されているメールボックスにテストメールを送信します。続けますか?", - "koKR": "현재 설정된 메일박스로 테스트 메일을 보내시겠습니까?", - "ruRU": "Отправить тестовое письмо на текущий настроенный почтовый ящик, продолжить?", - "ptBR": "Enviar um e-mail de teste para a caixa de correio configurada atualmente, continuar?", - "frFR": "Envoyer un e-mail de test à la boîte mail configurée actuellement, continuer ?", - "esAR": "¿Enviar un correo de prueba al buzón configurado actualmente, continuar?", - "arDZ": "إرسال بريد إلكتروني اختباري إلى صندوق البريد الحالي المُهيأ، هل تتابع؟" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "删除确认": { - "text": "删除确认", - "key": "t_23_1746773350040", - "translations": { - "zhCN": "删除确认", - "zhTW": "刪除確認", - "enUS": "Delete Confirmation", - "jaJP": "削除の確認", - "koKR": "삭제 확인", - "ruRU": "Подтверждение удаления", - "ptBR": "Confirmação de exclusão", - "frFR": "Confirmation de suppression", - "esAR": "Confirmación de eliminación", - "arDZ": "تأكيد الحذف" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "请输入名称": { - "text": "请输入名称", - "key": "t_25_1746773349596", - "translations": { - "zhCN": "请输入名称", - "zhTW": "請輸入名稱", - "enUS": "Please enter name", - "jaJP": "名前を入力してください", - "koKR": "이름을 입력하세요", - "ruRU": "Пожалуйста, введите имя", - "ptBR": "Por favor, insira o nome", - "frFR": "Veuillez entrer le nom", - "esAR": "Por favor ingrese el nombre", - "arDZ": "الرجاء إدخال الاسم" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "请输入正确的SMTP端口": { - "text": "请输入正确的SMTP端口", - "key": "t_26_1746773353409", - "translations": { - "zhCN": "请输入正确的SMTP端口", - "zhTW": "請輸入正確的SMTP端口", - "enUS": "Please enter the correct SMTP port", - "jaJP": "正しいSMTPポートを入力してください", - "koKR": "올바른 SMTP 포트를 입력하세요", - "ruRU": "Пожалуйста, введите правильный порт SMTP", - "ptBR": "Por favor, insira a porta SMTP correta", - "frFR": "Veuillez saisir le bon port SMTP", - "esAR": "Por favor, ingrese el puerto SMTP correcto", - "arDZ": "الرجاء إدخال منفذ SMTP الصحيح" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "请输入用户密码": { - "text": "请输入用户密码", - "key": "t_27_1746773352584", - "translations": { - "zhCN": "请输入用户密码", - "zhTW": "請輸入使用者密碼", - "enUS": "Please enter user password", - "jaJP": "ユーザーパスワードを入力してください", - "koKR": "사용자 비밀번호를 입력하세요", - "ruRU": "Введите пароль пользователя", - "ptBR": "Por favor, insira a senha do usuário", - "frFR": "Veuillez entrer le mot de passe utilisateur", - "esAR": "Por favor, ingrese la contraseña de usuario", - "arDZ": "يرجى إدخال كلمة مرور المستخدم" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "请输入正确的发送人邮箱": { - "text": "请输入正确的发送人邮箱", - "key": "t_28_1746773354048", - "translations": { - "zhCN": "请输入正确的发送人邮箱", - "zhTW": "請輸入正確的發件人郵箱", - "enUS": "Please enter the correct sender email", - "jaJP": "正しい送信者のメールアドレスを入力してください", - "koKR": "올바른 발신자 이메일을 입력하세요", - "ruRU": "Пожалуйста, введите правильный адрес электронной почты отправителя", - "ptBR": "Por favor, insira o e-mail do remetente correto", - "frFR": "Veuillez entrer l'e-mail correct de l'expéditeur", - "esAR": "Por favor, ingrese el correo electrónico correcto del remitente", - "arDZ": "الرجاء إدخال البريد الإلكتروني الصحيح للمرسل" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "请输入正确的接收邮箱": { - "text": "请输入正确的接收邮箱", - "key": "t_29_1746773351834", - "translations": { - "zhCN": "请输入正确的接收邮箱", - "zhTW": "請輸入正確的接收信箱", - "enUS": "Please enter the correct receiving email", - "jaJP": "正しい受信メールを入力してください", - "koKR": "올바른 수신 이메일을 입력하세요", - "ruRU": "Пожалуйста, введите правильную электронную почту", - "ptBR": "Por favor, insira o e-mail de recebimento correto", - "frFR": "Veuillez entrer le bon e-mail de réception", - "esAR": "Por favor, ingrese el correo electrónico de recepción correcto", - "arDZ": "الرجاء إدخال البريد الإلكتروني الصحيح" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "发送人邮箱": { - "text": "发送人邮箱", - "key": "t_30_1746773350013", - "translations": { - "zhCN": "发送人邮箱", - "zhTW": "寄件人信箱", - "enUS": "Sender's email", - "jaJP": "送信者のメール", - "koKR": "보내는 사람 이메일", - "ruRU": "Электронная почта отправителя", - "ptBR": "E-mail do remetente", - "frFR": "E-mail de l'expéditeur", - "esAR": "Correo electrónico del remitente", - "arDZ": "بريد المرسل الإلكتروني" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "接收邮箱": { - "text": "接收邮箱", - "key": "t_31_1746773349857", - "translations": { - "zhCN": "接收邮箱", - "zhTW": "接收郵箱", - "enUS": "Receive Email", - "jaJP": "受信メール", - "koKR": "이메일 수신", - "ruRU": "Получить электронную почту", - "ptBR": "Receber E-mail", - "frFR": "Recevoir un e-mail", - "esAR": "Recibir correo electrónico", - "arDZ": "تلقي البريد الإلكتروني" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "钉钉": { - "text": "钉钉", - "key": "t_32_1746773348993", - "translations": { - "zhCN": "钉钉", - "zhTW": "釘釘", - "enUS": "DingTalk", - "jaJP": "ディンタン", - "koKR": "딩톡", - "ruRU": "ДинТолк", - "ptBR": "DingTalk", - "frFR": "DingTalk", - "esAR": "DingTalk", - "arDZ": "دينغتالک" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "企业微信": { - "text": "企业微信", - "key": "t_33_1746773350932", - "translations": { - "zhCN": "企业微信", - "zhTW": "企業微信", - "enUS": "WeChat Work", - "jaJP": "WeChat Work", - "koKR": "위챗 워크", - "ruRU": "WeChat Work", - "ptBR": "WeChat Work", - "frFR": "WeChat Work", - "esAR": "WeChat Work", - "arDZ": "WeChat Work" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "飞书": { - "text": "飞书", - "key": "t_34_1746773350153", - "translations": { - "zhCN": "飞书", - "zhTW": "飛書", - "enUS": "Feishu", - "jaJP": "飛書", - "koKR": "페이슈", - "ruRU": "Фэйшу", - "ptBR": "Feishu", - "frFR": "Feishu", - "esAR": "Feishu", - "arDZ": "فيشو" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。": { - "text": "一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。", - "key": "t_35_1746773362992", - "translations": { - "zhCN": "一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。", - "zhTW": "一個集證書申請、管理、部署和監控於一體的SSL證書全生命週期管理工具。", - "enUS": "A comprehensive SSL certificate lifecycle management tool that integrates application, management, deployment, and monitoring.", - "jaJP": "SSL証明書の申請、管理、展開、監視を統合したライフサイクル管理ツール。", - "koKR": "SSL 인증서 신청, 관리, 배포 및 모니터링을 통합한 전 생애 주기 관리 도구.", - "ruRU": "Инструмент управления полным жизненным циклом SSL-сертификатов, объединяющий подачу заявки, управление, развертывание и мониторинг.", - "ptBR": "Uma ferramenta de gerenciamento do ciclo de vida completo de certificados SSL que integra solicitação, gerenciamento, implantação e monitoramento.", - "frFR": "Un outil de gestion du cycle de vie complet des certificats SSL intégrant la demande, la gestion, le déploiement et la surveillance.", - "esAR": "Una herramienta de gestión del ciclo de vida completo de certificados SSL que integra solicitud, gestión, implementación y monitoreo.", - "arDZ": "أداة إدارة دورة حياة شهادات SSL متكاملة تشمل التقديم، الإدارة، النشر والمراقبة." - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "证书申请:": { - "text": "证书申请:", - "key": "t_36_1746773348989", - "translations": { - "zhCN": "证书申请", - "zhTW": "證書申請", - "enUS": "Certificate Application", - "jaJP": "証明書申請", - "koKR": "증명서 신청", - "ruRU": "Заявка на сертификат", - "ptBR": "Pedido de Certificado", - "frFR": "Demande de certificat", - "esAR": "Solicitud de Certificado", - "arDZ": "طلب الشهادة" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "支持通过ACME协议从Let": { - "text": "支持通过ACME协议从Let", - "key": "t_37_1746773356895", - "translations": { - "zhCN": "支持通过ACME协议从Let's Encrypt获取证书", - "zhTW": "支援通過ACME協議從Let's Encrypt獲取證書", - "enUS": "Support obtaining certificates from Let's Encrypt via ACME protocol", - "jaJP": "ACMEプロトコルを介してLet's Encryptから証明書を取得する", - "koKR": "ACME 프로토콜을 통해 Let's Encrypt에서 인증서를 획득할 수 있도록 지원", - "ruRU": "Поддержка получения сертификатов от Let's Encrypt через протокол ACME", - "ptBR": "Suporte à obtenção de certificados do Let's Encrypt através do protocolo ACME", - "frFR": "Support pour obtenir des certificats de Let's Encrypt via le protocole ACME", - "esAR": "Soporte para obtener certificados de Let's Encrypt a través del protocolo ACME", - "arDZ": "دعم الحصول على شهادات من Let's Encrypt عبر بروتوكول ACME" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "证书管理:": { - "text": "证书管理:", - "key": "t_38_1746773349796", - "translations": { - "zhCN": "证书管理", - "zhTW": "證書管理", - "enUS": "Certificate Management", - "jaJP": "証明書管理", - "koKR": "인증서 관리", - "ruRU": "Управление сертификатами", - "ptBR": "Gerenciamento de Certificados", - "frFR": "Gestion des certificats", - "esAR": "Gestión de Certificados", - "arDZ": "إدارة الشهادات" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "集中管理所有SSL证书,包括手动上传和自动申请的证书": { - "text": "集中管理所有SSL证书,包括手动上传和自动申请的证书", - "key": "t_39_1746773358932", - "translations": { - "zhCN": "集中管理所有SSL证书,包括手动上传和自动申请的证书", - "zhTW": "集中管理所有SSL證書,包括手動上傳和自動申請的證書", - "enUS": "Centralized management of all SSL certificates, including manually uploaded and automatically applied certificates", - "jaJP": "すべてのSSL証明書を一元管理、手動アップロードおよび自動申請の証明書を含む", - "koKR": "모든 SSL 인증서를 중앙에서 관리하며, 수동으로 업로드한 인증서와 자동으로 신청한 인증서를 포함합니다", - "ruRU": "Централизованное управление всеми SSL-сертификатами, включая загруженные вручную и автоматически запрошенные сертификаты", - "ptBR": "Gerenciamento centralizado de todos os certificados SSL, incluindo certificados carregados manualmente e aplicados automaticamente", - "frFR": "Gestion centralisée de tous les certificats SSL, y compris les certificats téléchargés manuellement et appliqués automatiquement", - "esAR": "Gestión centralizada de todos los certificados SSL, incluidos los certificados cargados manualmente y aplicados automáticamente", - "arDZ": "الإدارة المركزية لجميع شهادات SSL، بما في ذلك الشهادات المرفوعة يدويًا والمطبقة تلقائيًا" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "证书部署:": { - "text": "证书部署:", - "key": "t_40_1746773352188", - "translations": { - "zhCN": "证书部署", - "zhTW": "證書部署", - "enUS": "Certificate deployment", - "jaJP": "証明書の展開", - "koKR": "인증서 배포", - "ruRU": "Развертывание сертификата", - "ptBR": "Implantaçã de certificado", - "frFR": "Déploiement de certificat", - "esAR": "Implementación de certificado", - "arDZ": "نشر الشهادة" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等": { - "text": "支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等", - "key": "t_41_1746773364475", - "translations": { - "zhCN": "支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等", - "zhTW": "支援一鍵部署證書到多種平台,如阿里雲、騰訊雲、寶塔面板、1Panel等", - "enUS": "Support one-click certificate deployment to multiple platforms such as Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", - "jaJP": "ワンクリックでの証明書のデプロイを複数のプラットフォームでサポート、例えばアリババクラウド、テンセントクラウド、Pagoda Panel、1Panelなど", - "koKR": "여러 플랫폼에 한 번의 클릭으로 인증서 배포 지원, 알리바바 클라우드, 텐센트 클라우드, Pagoda Panel, 1Panel 등", - "ruRU": "Поддержка развертывания сертификатов в один клик на нескольких платформах, таких как Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel и др.", - "ptBR": "Suporte à implantação de certificados com um clique em várias plataformas, como Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", - "frFR": "Prise en charge du déploiement de certificats en un clic sur plusieurs plateformes telles que Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", - "esAR": "Soporte para implementar certificados con un clic en múltiples plataformas como Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", - "arDZ": "دعم نشر الشهادات بنقرة واحدة على منصات متعددة مثل علي بابا كلاود، تينسنت كلاود، لوحة باغودا، 1Panel، إلخ." - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "站点监控:": { - "text": "站点监控:", - "key": "t_42_1746773348768", - "translations": { - "zhCN": "站点监控", - "zhTW": "站點監控", - "enUS": "Site monitoring", - "jaJP": "サイト監視", - "koKR": "사이트 모니터링", - "ruRU": "Мониторинг сайта", - "ptBR": "Monitoramento do site", - "frFR": "Surveillance du site", - "esAR": "Monitoreo del sitio", - "arDZ": "مراقبة الموقع" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "实时监控站点SSL证书状态,提前预警证书过期": { - "text": "实时监控站点SSL证书状态,提前预警证书过期", - "key": "t_43_1746773359511", - "translations": { - "zhCN": "实时监控站点SSL证书状态,提前预警证书过期", - "zhTW": "實時監控站點SSL證書狀態,提前預警證書過期", - "enUS": "Real-time monitoring of site SSL certificate status to provide early warning of certificate expiration", - "jaJP": "サイトのSSL証明書の状態をリアルタイムで監視し、証明書の有効期限切れを事前に警告します", - "koKR": "사이트 SSL 인증서 상태를 실시간으로 모니터링하여 인증서 만료를 사전에 경고합니다", - "ruRU": "Мониторинг состояния SSL-сертификатов сайта в режиме реального времени с предупреждением об истечении срока действия сертификата", - "ptBR": "Monitoramento em tempo real do status do certificado SSL do site para alertar sobre a expiração do certificado", - "frFR": "Surveillance en temps réel de l'état des certificats SSL du site pour prévenir l'expiration des certificats", - "esAR": "Monitoreo en tiempo real del estado de los certificados SSL del sitio para alertar sobre la expiración de los certificados", - "arDZ": "مراقبة حالة شهادات SSL للموقع في الوقت الفعلي للتحذير المسبق من انتهاء صلاحية الشهادة" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "自动化任务:": { - "text": "自动化任务:", - "key": "t_44_1746773352805", - "translations": { - "zhCN": "自动化任务:", - "zhTW": "自動化任務:", - "enUS": "Automation task:", - "jaJP": "自動化タスク:", - "koKR": "자동화 작업:", - "ruRU": "Автоматизированная задача:", - "ptBR": "Tarefa automatizada:", - "frFR": "Tâche automatisée :", - "esAR": "Tarea automatizada:", - "arDZ": "مهمة الأتمتة:" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "支持定时任务,自动续期证书并部署": { - "text": "支持定时任务,自动续期证书并部署", - "key": "t_45_1746773355717", - "translations": { - "zhCN": "支持定时任务,自动续期证书并部署", - "zhTW": "支援定時任務,自動續期證書並部署", - "enUS": "Support scheduled tasks, automatically renew certificates and deploy", - "jaJP": "スケジュールされたタスクをサポートし、証明書を自動的に更新して展開します", - "koKR": "예약된 작업 지원, 인증서 자동 갱신 및 배포", - "ruRU": "Поддержка запланированных задач, автоматическое продление сертификатов и развертывание", - "ptBR": "Suporta tarefas agendadas, renova automaticamente os certificados e implanta", - "frFR": "Prend en charge les tâches planifiées, renouvellement automatique des certificats et déploiement", - "esAR": "Admite tareas programadas, renovación automática de certificados e implementación", - "arDZ": "يدعم المهام المجدولة، تجديد الشهادات تلقائياً ونشرها" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "多平台支持:": { - "text": "多平台支持:", - "key": "t_46_1746773350579", - "translations": { - "zhCN": "多平台支持", - "zhTW": "多平台支援", - "enUS": "Multi-platform support", - "jaJP": "マルチプラットフォーム対応", - "koKR": "다중 플랫폼 지원", - "ruRU": "Поддержка нескольких платформ", - "ptBR": "Suporte multiplataforma", - "frFR": "Prise en charge multiplateforme", - "esAR": "Soporte multiplataforma", - "arDZ": "دعم متعدد المنصات" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式": { - "text": "支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式", - "key": "t_47_1746773360760", - "translations": { - "zhCN": "支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式", - "zhTW": "支援多種DNS提供商(阿里雲、騰訊雲等)的DNS驗證方式", - "enUS": "Supports DNS verification methods for multiple DNS providers (Alibaba Cloud, Tencent Cloud, etc.)", - "jaJP": "複数のDNSプロバイダー(アリババクラウド、テンセントクラウドなど)のDNS検証方法をサポート", - "koKR": "다양한 DNS 제공업체(알리바바 클라우드, 텐센트 클라우드 등)의 DNS 확인 방법 지원", - "ruRU": "Поддерживает методы проверки DNS для нескольких поставщиков DNS (Alibaba Cloud, Tencent Cloud и др.)", - "ptBR": "Suporta métodos de verificação DNS para vários provedores de DNS (Alibaba Cloud, Tencent Cloud, etc.)", - "frFR": "Prend en charge les méthodes de vérification DNS pour plusieurs fournisseurs DNS (Alibaba Cloud, Tencent Cloud, etc.)", - "esAR": "Admite métodos de verificación DNS para múltiples proveedores de DNS (Alibaba Cloud, Tencent Cloud, etc.)", - "arDZ": "يدعم طرق التحقق DNS لعدة موفري DNS (Alibaba Cloud، Tencent Cloud، إلخ)" - }, - "timestamp": "2025-05-09T06:49:24.475Z" - }, - "确定要删除{0},通知渠道吗?": { - "text": "确定要删除{0},通知渠道吗?", - "key": "t_0_1746773763967", - "translations": { - "zhCN": "确定要删除{0},通知渠道吗?", - "zhTW": "確定要刪除{0},通知渠道嗎?", - "enUS": "Are you sure you want to delete {0}, the notification channel?", - "jaJP": "{0}、通知チャネルを削除してもよろしいですか?", - "koKR": "{0}, 알림 채널을 삭제하시겠습니까?", - "ruRU": "Вы уверены, что хотите удалить {0}, канал уведомлений?", - "ptBR": "Tem certeza que deseja excluir {0}, o canal de notificação?", - "frFR": "Êtes-vous sûr de vouloir supprimer {0}, le canal de notification ?", - "esAR": "¿Estás seguro de que deseas eliminar {0}, el canal de notificaciones?", - "arDZ": "هل أنت متأكد أنك تريد حذف {0}، قناة الإشعارات؟" - }, - "timestamp": "2025-05-09T06:56:03.967Z" - }, - "Let%27Encrypt等CA自动申请免费证书": { - "text": "Let%27Encrypt等CA自动申请免费证书", - "key": "t_1_1746773763643", - "translations": { - "zhCN": "Let's Encrypt等CA自动申请免费证书", - "zhTW": "Let's Encrypt等CA自動申請免費證書", - "enUS": "Let's Encrypt and other CAs automatically apply for free certificates", - "jaJP": "Let's EncryptなどのCAが無料の証明書を自動的に申請する", - "koKR": "Let's Encrypt 등의 CA에서 무료 인증서를 자동으로 신청", - "ruRU": "Let's Encrypt и другие центры сертификации автоматически подают заявки на бесплатные сертификаты", - "ptBR": "Let's Encrypt e outras autoridades de certificação solicitam automaticamente certificados gratuitos", - "frFR": "Let's Encrypt et d'autres CA demandent automatiquement des certificats gratuits", - "esAR": "Let's Encrypt y otras CA solicitan automáticamente certificados gratuitos", - "arDZ": "Let's Encrypt وغيرها من الجهات المصدقة تطلب شهادات مجانية تلقائيًا" - }, - "timestamp": "2025-05-09T06:56:03.967Z" - }, - "日志详情": { - "text": "日志详情", - "key": "t_0_1746776194126", - "translations": { - "zhCN": "日志详情", - "zhTW": "日誌詳情", - "enUS": "Log Details", - "jaJP": "ログの詳細", - "koKR": "로그 상세", - "ruRU": "Детали журнала", - "ptBR": "Detalhes do Log", - "frFR": "Détails du journal", - "esAR": "Detalles del registro", - "arDZ": "تفاصيل السجل" - }, - "timestamp": "2025-05-09T07:36:38.156Z" - }, - "加载日志失败:": { - "text": "加载日志失败:", - "key": "t_1_1746776198156", - "translations": { - "zhCN": "加载日志失败:", - "zhTW": "載入日誌失敗:", - "enUS": "Failed to load log:", - "jaJP": "ロードログ失敗:", - "koKR": "로그 로드 실패:", - "ruRU": "Не удалось загрузить журнал:", - "ptBR": "Falha ao carregar o log:", - "frFR": "Échec du chargement du journal :", - "esAR": "Error al cargar el registro:", - "arDZ": "فشل تحميل السجل:" - }, - "timestamp": "2025-05-09T07:36:38.157Z" - }, - "下载日志": { - "text": "下载日志", - "key": "t_2_1746776194263", - "translations": { - "zhCN": "下载日志", - "zhTW": "下載日誌", - "enUS": "Download log", - "jaJP": "ログをダウンロード", - "koKR": "로그 다운로드", - "ruRU": "Скачать журнал", - "ptBR": "Baixar registro", - "frFR": "Télécharger le journal", - "esAR": "Descargar registro", - "arDZ": "تنزيل السجل" - }, - "timestamp": "2025-05-09T07:36:38.157Z" - }, - "暂无日志信息": { - "text": "暂无日志信息", - "key": "t_3_1746776195004", - "translations": { - "zhCN": "暂无日志信息", - "zhTW": "暫無日誌資訊", - "enUS": "No log information", - "jaJP": "ログ情報がありません", - "koKR": "로그 정보 없음", - "ruRU": "Нет информации в журнале", - "ptBR": "Sem informações de log", - "frFR": "Aucune information de journal", - "esAR": "Sin información de registro", - "arDZ": "لا توجد معلومات السجل" - }, - "timestamp": "2025-05-09T07:36:38.157Z" - }, - "自动化任务": { - "text": "自动化任务", - "key": "t_0_1746782379424", - "translations": { - "zhCN": "自动化任务", - "zhTW": "自動化任務", - "enUS": "Automated tasks", - "jaJP": "自動化タスク", - "koKR": "자동화 작업", - "ruRU": "Автоматизированные задачи", - "ptBR": "Tarefas automatizadas", - "frFR": "Tâches automatisées", - "esAR": "Tareas automatizadas", - "arDZ": "المهام الآلية" - }, - "timestamp": "2025-05-09T09:19:39.424Z" - }, - "请选择主机提供商": { - "text": "请选择主机提供商", - "key": "t_0_1746858920894", - "translations": { - "zhCN": "请选择主机提供商", - "zhTW": "請選擇主機提供商", - "enUS": "Please select a hosting provider", - "jaJP": "ホスティングプロバイダーを選択してください", - "koKR": "호스팅 제공자를 선택하십시오", - "ruRU": "Пожалуйста, выберите хостинг-провайдера", - "ptBR": "Por favor, selecione um provedor de hospedagem", - "frFR": "Veuillez sélectionner un hébergeur", - "esAR": "Por favor, seleccione un proveedor de alojamiento", - "arDZ": "يرجى اختيار موفر الاستضافة" - }, - "timestamp": "2025-05-10T06:35:23.964Z" - }, - "DNS提供商列表为空,请添加": { - "text": "DNS提供商列表为空,请添加", - "key": "t_1_1746858922914", - "translations": { - "zhCN": "DNS提供商列表为空,请添加", - "zhTW": "DNS提供商列表為空,請添加", - "enUS": "The DNS provider list is empty, please add", - "jaJP": "DNSプロバイダーリストが空です、追加してください", - "koKR": "DNS 공급자 목록이 비어 있습니다. 추가해 주세요", - "ruRU": "Список DNS-провайдеров пуст, пожалуйста, добавьте", - "ptBR": "A lista de provedores DNS está vazia, por favor adicione", - "frFR": "La liste des fournisseurs DNS est vide, veuillez ajouter", - "esAR": "La lista de proveedores DNS está vacía, por favor agregue", - "arDZ": "قائمة موفري DNS فارغة، يرجى الإضافة" - }, - "timestamp": "2025-05-10T06:35:23.965Z" - }, - "主机提供商列表为空,请添加": { - "text": "主机提供商列表为空,请添加", - "key": "t_2_1746858923964", - "translations": { - "zhCN": "主机提供商列表为空,请添加", - "zhTW": "主機供應商列表為空,請添加", - "enUS": "The list of hosting providers is empty, please add", - "jaJP": "ホスティングプロバイダーのリストが空です、追加してください", - "koKR": "호스팅 제공자 목록이 비어 있습니다. 추가해 주세요", - "ruRU": "Список хостинг-провайдеров пуст, добавьте", - "ptBR": "A lista de provedores de hospedagem está vazia, adicione", - "frFR": "La liste des fournisseurs d'hébergement est vide, veuillez ajouter", - "esAR": "La lista de proveedores de alojamiento está vacía, agregue", - "arDZ": "قائمة مزودي الاستضافة فارغة، يرجى الإضافة" - }, - "timestamp": "2025-05-10T06:35:23.965Z" - }, - "添加主机提供商": { - "text": "添加主机提供商", - "key": "t_3_1746858920060", - "translations": { - "zhCN": "添加主机提供商", - "zhTW": "新增主機提供商", - "enUS": "Add host provider", - "jaJP": "ホストプロバイダーを追加", - "koKR": "호스트 공급자 추가", - "ruRU": "Добавить поставщика хоста", - "ptBR": "Adicionar provedor de hospedagem", - "frFR": "Ajouter un fournisseur d'hébergement", - "esAR": "Agregar proveedor de alojamiento", - "arDZ": "إضافة مزود استضافة" - }, - "timestamp": "2025-05-10T06:35:23.965Z" - }, - "已选择": { - "text": "已选择", - "key": "t_4_1746858917773", - "translations": { - "zhCN": "已选择", - "zhTW": "已選擇", - "enUS": "Selected", - "jaJP": "選択済み", - "koKR": "선택됨", - "ruRU": "Выбрано", - "ptBR": "Selecionado", - "frFR": "Sélectionné", - "esAR": "Seleccionado", - "arDZ": "محدد" - }, - "timestamp": "2025-05-10T06:35:23.965Z" - }, - "请选择主机提供商{0}": { - "text": "请选择主机提供商{0}", - "key": "t_0_1747019621052", - "translations": { - "zhCN": "请选择主机提供商{0}", - "zhTW": "請選擇主機提供商{0}", - "enUS": "Please select a host provider{0}", - "jaJP": "ホストプロバイダーを選択してください{0}", - "koKR": "호스트 공급자를 선택하세요{0}", - "ruRU": "Выберите поставщика хоста{0}", - "ptBR": "Selecione um provedor de hospedagem{0}", - "frFR": "Veuillez choisir un fournisseur d'hébergement{0}", - "esAR": "Seleccione un proveedor de alojamiento{0}", - "arDZ": "الرجاء اختيار مزود استضافة{0}" - }, - "timestamp": "2025-05-12T03:13:44.067Z" - }, - "点击设置网站监控,掌握实时状态": { - "text": "点击设置网站监控,掌握实时状态", - "key": "t_1_1747019624067", - "translations": { - "zhCN": "点击设置网站监控,掌握实时状态", - "zhTW": "點擊設置網站監控,掌握實時狀態", - "enUS": "Click to set up website monitoring and grasp real-time status", - "jaJP": "クリックしてウェブサイト監視を設定し、リアルタイム状態を把握する", - "koKR": "클릭하여 웹사이트 모니터링을 설정하고 실시간 상태를 파악하세요", - "ruRU": "Нажмите, чтобы настроить мониторинг веб-сайта и следить за состоянием в реальном времени", - "ptBR": "Clique para configurar o monitoramento do site e acompanhar o status em tempo real", - "frFR": "Cliquez pour configurer la surveillance du site et suivre l'état en temps réel", - "esAR": "Haz clic para configurar el monitoreo del sitio web y conocer el estado en tiempo real", - "arDZ": "انقر لضبط مراقبة الموقع وفهم الحالة في الوقت الحقيقي" - }, - "timestamp": "2025-05-12T03:13:44.070Z" - }, - "阿里云": { - "text": "阿里云", - "key": "t_2_1747019616224", - "translations": { - "zhCN": "阿里云", - "zhTW": "阿里雲", - "enUS": "Alibaba Cloud", - "jaJP": "アリババクラウド", - "koKR": "알리바바 클라우드", - "ruRU": "Alibaba Cloud", - "ptBR": "Alibaba Cloud", - "frFR": "Alibaba Cloud", - "esAR": "Alibaba Cloud", - "arDZ": "علي بابا كلاود" - }, - "timestamp": "2025-05-12T03:13:44.070Z" - }, - "腾讯云": { - "text": "腾讯云", - "key": "t_3_1747019616129", - "translations": { - "zhCN": "腾讯云", - "zhTW": "騰訊雲", - "enUS": "Tencent Cloud", - "jaJP": "テンセントクラウド", - "koKR": "텐센트 클라우드", - "ruRU": "Tencent Cloud", - "ptBR": "Tencent Cloud", - "frFR": "Tencent Cloud", - "esAR": "Tencent Cloud", - "arDZ": "تينسنت كلاود" - }, - "timestamp": "2025-05-12T03:13:44.070Z" - }, - "多域名请使用英文逗号分隔,例如:test.com,test.cn": { - "text": "多域名请使用英文逗号分隔,例如:test.com,test.cn", - "key": "t_0_1747040228657", - "translations": { - "zhCN": "多域名请使用英文逗号分隔,例如:test.com,test.cn", - "zhTW": "多域名請使用英文逗號分隔,例如:test.com,test.cn", - "enUS": "For multiple domains, please use English commas to separate them, for example: test.com,test.cn", - "jaJP": "複数のドメインは英語のカンマで区切ってください。例:test.com,test.cn", - "koKR": "여러 도메인은 영어 쉼표로 구분하십시오. 예: test.com,test.cn", - "ruRU": "Для нескольких доменов используйте английские запятые для разделения, например: test.com,test.cn", - "ptBR": "Para vários domínios, use vírgulas em inglês para separá-los, por exemplo: test.com,test.cn", - "frFR": "Pour plusieurs domaines, veuillez utiliser des virgules anglaises pour les séparer, par exemple : test.com,test.cn", - "esAR": "Para múltiples dominios, utilice comas en inglés para separarlos, por ejemplo: test.com,test.cn", - "arDZ": "للمجالات المتعددة، يرجى استخدام فواصل إنجليزية لفصلها، على سبيل المثال: test.com,test.cn" - }, - "timestamp": "2025-05-12T08:57:08.657Z" - }, - "泛域名请使用*号,例如:*.test.com": { - "text": "泛域名请使用*号,例如:*.test.com", - "key": "t_1_1747040226143", - "translations": { - "zhCN": "泛域名请使用*号,例如:*.test.com", - "zhTW": "泛網域請使用*號,例如:*.test.com", - "enUS": "For wildcard domains, use an asterisk *, for example: *.test.com", - "jaJP": "ワイルドカードドメインにはアスタリスク*を使用してください。例:*.test.com", - "koKR": "와일드카드 도메인에는 별표 *를 사용하세요. 예: *.test.com", - "ruRU": "Для подстановочных доменов используйте звездочку *, например: *.test.com", - "ptBR": "Para domínios curinga, use um asterisco *, por exemplo: *.test.com", - "frFR": "Pour les domaines génériques, utilisez un astérisque *, par exemple : *.test.com", - "esAR": "Para dominios comodín, use un asterisco *, por ejemplo: *.test.com", - "arDZ": "للمجالات العامة، استخدم علامة النجمة *، على سبيل المثال: *.test.com" - }, - "timestamp": "2025-05-12T08:57:08.658Z" - }, - "请输入正确的Cloudflare API密钥": { - "text": "请输入正确的Cloudflare API密钥", - "key": "t_0_1747042966820", - "translations": { - "zhCN": "请输入正确的Cloudflare API密钥", - "zhTW": "請輸入正確的Cloudflare API密鑰", - "enUS": "Please enter the correct Cloudflare API key", - "jaJP": "正しいCloudflare APIキーを入力してください", - "koKR": "올바른 Cloudflare API 키를 입력하세요", - "ruRU": "Пожалуйста, введите правильный API-ключ Cloudflare", - "ptBR": "Por favor, insira a chave de API correta do Cloudflare", - "frFR": "Veuillez entrer la clé API Cloudflare correcte", - "esAR": "Por favor, ingrese la clave API correcta de Cloudflare", - "arDZ": "الرجاء إدخال مفتاح Cloudflare API الصحيح" - }, - "timestamp": "2025-05-12T09:42:49.705Z" - }, - "请输入正确的宝塔API密钥": { - "text": "请输入正确的宝塔API密钥", - "key": "t_1_1747042969705", - "translations": { - "zhCN": "请输入正确的宝塔API密钥", - "zhTW": "請輸入正確的寶塔API密鑰", - "enUS": "Please enter the correct BT-Panel API key", - "jaJP": "正しい宝塔APIキーを入力してください", - "koKR": "올바른 보타(BT) API 키를 입력하세요", - "ruRU": "Пожалуйста, введите правильный API-ключ BT-Panel", - "ptBR": "Por favor, insira a chave de API correta do BT-Panel", - "frFR": "Veuillez entrer la clé API correcte de BT-Panel", - "esAR": "Por favor, ingrese la clave API correcta de BT-Panel", - "arDZ": "يرجى إدخال مفتاح API الصحيح لـ BT-Panel" - }, - "timestamp": "2025-05-12T09:42:49.706Z" - }, - "请输入正确的腾讯云SecretKey": { - "text": "请输入正确的腾讯云SecretKey", - "key": "t_2_1747042967277", - "translations": { - "zhCN": "请输入正确的腾讯云SecretKey", - "zhTW": "請輸入正確的騰訊雲SecretKey", - "enUS": "Please enter the correct Tencent Cloud SecretKey", - "jaJP": "正しいTencent Cloud SecretKeyを入力してください", - "koKR": "올바른 Tencent Cloud SecretKey를 입력하세요", - "ruRU": "Пожалуйста, введите правильный SecretKey от Tencent Cloud", - "ptBR": "Por favor, insira o SecretKey correto do Tencent Cloud", - "frFR": "Veuillez entrer le bon SecretKey de Tencent Cloud", - "esAR": "Por favor, ingrese el SecretKey correcto de Tencent Cloud", - "arDZ": "الرجاء إدخال SecretKey الصحيح لـ Tencent Cloud" - }, - "timestamp": "2025-05-12T09:42:49.706Z" - }, - "请输入正确的华为云SecretKey": { - "text": "请输入正确的华为云SecretKey", - "key": "t_3_1747042967608", - "translations": { - "zhCN": "请输入正确的华为云SecretKey", - "zhTW": "請輸入正確的華為雲SecretKey", - "enUS": "Please enter the correct Huawei Cloud SecretKey", - "jaJP": "正しいHuawei Cloud SecretKeyを入力してください", - "koKR": "정확한 Huawei Cloud SecretKey를 입력하세요", - "ruRU": "Пожалуйста, введите правильный Huawei Cloud SecretKey", - "ptBR": "Por favor, insira o SecretKey correto da Huawei Cloud", - "frFR": "Veuillez entrer la bonne clé secrète Huawei Cloud", - "esAR": "Por favor, ingrese el SecretKey correcto de Huawei Cloud", - "arDZ": "الرجاء إدخال Huawei Cloud SecretKey الصحيح" - }, - "timestamp": "2025-05-12T09:42:49.706Z" - }, - "请输入华为云AccessKey": { - "text": "请输入华为云AccessKey", - "key": "t_4_1747042966254", - "translations": { - "zhCN": "请输入华为云AccessKey", - "zhTW": "請輸入華為雲AccessKey", - "enUS": "Please enter Huawei Cloud AccessKey", - "jaJP": "Huawei Cloud AccessKeyを入力してください", - "koKR": "Huawei Cloud AccessKey를 입력하십시오", - "ruRU": "Пожалуйста, введите Huawei Cloud AccessKey", - "ptBR": "Por favor, insira o AccessKey da Huawei Cloud", - "frFR": "Veuillez saisir la clé d'accès Huawei Cloud", - "esAR": "Por favor ingrese el AccessKey de Huawei Cloud", - "arDZ": "الرجاء إدخال مفتاح الوصول Huawei Cloud" - }, - "timestamp": "2025-05-12T09:42:49.706Z" - }, - "请输入正确的邮箱账号": { - "text": "请输入正确的邮箱账号", - "key": "t_5_1747042965911", - "translations": { - "zhCN": "请输入正确的邮箱账号", - "zhTW": "請輸入正確的郵箱賬號", - "enUS": "Please enter the correct email account", - "jaJP": "正しいメールアカウントを入力してください", - "koKR": "올바른 이메일 계정을 입력하세요", - "ruRU": "Пожалуйста, введите правильный адрес электронной почты", - "ptBR": "Por favor, insira a conta de email correta", - "frFR": "Veuillez entrer le bon compte email", - "esAR": "Por favor, ingrese la cuenta de correo electrónico correcta", - "arDZ": "الرجاء إدخال حساب البريد الإلكتروني الصحيح" - }, - "timestamp": "2025-05-12T09:42:49.706Z" - }, - "添加自动化部署": { - "text": "添加自动化部署", - "key": "t_0_1747047213730", - "translations": { - "zhCN": "添加自动化部署", - "zhTW": "添加自動化部署", - "enUS": "Add automated deployment", - "jaJP": "自動デプロイの追加", - "koKR": "자동 배포 추가", - "ruRU": "Добавить автоматическое развертывание", - "ptBR": "Adicionar implantação automatizada", - "frFR": "Ajouter un déploiement automatisé", - "esAR": "Agregar despliegue automatizado", - "arDZ": "إضافة النشر الآلي" - }, - "timestamp": "2025-05-12T10:53:38.669Z" - }, - "添加证书": { - "text": "添加证书", - "key": "t_1_1747047213009", - "translations": { - "zhCN": "添加证书", - "zhTW": "添加證書", - "enUS": "Add certificate", - "jaJP": "証明書を追加", - "koKR": "인증서 추가", - "ruRU": "Добавить сертификат", - "ptBR": "Adicionar certificado", - "frFR": "Ajouter un certificat", - "esAR": "Agregar certificado", - "arDZ": "إضافة شهادة" - }, - "timestamp": "2025-05-12T10:53:38.672Z" - }, - "AllinSSL 证书管理平台": { - "text": "AllinSSL 证书管理平台", - "key": "t_2_1747047214975", - "translations": { - "zhCN": "AllinSSL 证书管理平台", - "zhTW": "SSL證書管理平臺", - "enUS": "SSL Certificate Management Platform", - "jaJP": "SSL証明書管理プラットフォーム", - "koKR": "SSL 인증서 관리 플랫폼", - "ruRU": "Платформа управления SSL-сертификатами", - "ptBR": "Plataforma de Gerenciamento de Certificados SSL", - "frFR": "Plateforme de Gestion de Certificats SSL", - "esAR": "Plataforma de Gestión de Certificados SSL", - "arDZ": "منصة إدارة شهادات SSL" - }, - "timestamp": "2025-05-12T10:53:38.672Z" - }, - "域名格式错误,请检查域名格式": { - "text": "域名格式错误,请检查域名格式", - "key": "t_3_1747047218669", - "translations": { - "zhCN": "域名格式错误,请检查域名格式", - "zhTW": "域名格式錯誤,請檢查域名格式", - "enUS": "Domain format error, please check the domain format", - "jaJP": "ドメイン形式が間違っています、ドメイン形式を確認してください", - "koKR": "도메인 형식 오류, 도메인 형식을 확인하세요", - "ruRU": "Ошибка формата домена, проверьте формат домена", - "ptBR": "Erro de formato de domínio, verifique o formato do domínio", - "frFR": "Erreur de format de domaine, vérifiez le format du domaine", - "esAR": "Error de formato de dominio, verifique el formato del dominio", - "arDZ": "خطأ في تنسيق النطاق، يرجى التحقق من تنسيق النطاق" - }, - "timestamp": "2025-05-12T10:53:38.672Z" - }, - "DNS 递归服务器(可选)": { - "text": "DNS 递归服务器(可选)", - "key": "t_0_1747106957037", - "translations": { - "zhCN": "DNS 递归服务器(可选)", - "zhTW": "DNS 遞迴伺服器(可選)", - "enUS": "DNS recursive server (optional)", - "jaJP": "DNS再帰サーバー(オプション)", - "koKR": "DNS 재귀 서버 (선택 사항)", - "ruRU": "Рекурсивный DNS-сервер (опционально)", - "ptBR": "Servidor recursivo DNS (opcional)", - "frFR": "Serveur DNS récursif (facultatif)", - "esAR": "Servidor DNS recursivo (opcional)", - "arDZ": "خادم DNS العودي (اختياري)" - }, - "timestamp": "2025-05-13T03:29:21.747Z" - }, - "请输入 DNS 递归服务器(多个值请用,隔开)": { - "text": "请输入 DNS 递归服务器(多个值请用,隔开)", - "key": "t_1_1747106961747", - "translations": { - "zhCN": "请输入 DNS 递归服务器(多个值请用,隔开)", - "zhTW": "請輸入 DNS 遞歸服務器(多個值請用,隔開)", - "enUS": "Please enter DNS recursive servers (use commas to separate multiple values)", - "jaJP": "DNS 再帰サーバーを入力してください(複数の値は,で区切ってください)", - "koKR": "DNS 재귀 서버를 입력하십시오 (여러 값은 쉼표로 구분하십시오)", - "ruRU": "Введите рекурсивные DNS-серверы (разделяйте несколько значений запятыми)", - "ptBR": "Digite os servidores DNS recursivos (use vírgulas para separar vários valores)", - "frFR": "Saisissez les serveurs DNS récursifs (séparez plusieurs valeurs par des virgules)", - "esAR": "Ingrese los servidores DNS recursivos (separe varios valores con comas)", - "arDZ": "أدخل خوادم DNS العودية (استخدم الفواصل لفصل القيم المتعددة)" - }, - "timestamp": "2025-05-13T03:29:21.752Z" - }, - "跳过本地预检查": { - "text": "跳过本地预检查", - "key": "t_2_1747106957037", - "translations": { - "zhCN": "跳过本地预检查", - "zhTW": "跳過本地預檢查", - "enUS": "Skip local pre-check", - "jaJP": "ローカル事前チェックをスキップ", - "koKR": "로컬 사전 확인 건너뛰기", - "ruRU": "Пропустить локальную предварительную проверку", - "ptBR": "Ignorar verificação prévia local", - "frFR": "Ignorer la vérification préalable locale", - "esAR": "Omitir la comprobación previa local", - "arDZ": "تخطي الفحص المسبق المحلي" - }, - "timestamp": "2025-05-13T03:29:21.752Z" - }, - "选择证书": { - "text": "选择证书", - "key": "t_0_1747110184700", - "translations": { - "zhCN": "选择证书", - "zhTW": "選擇證書", - "enUS": "Select certificate", - "jaJP": "証明書を選択", - "koKR": "인증서 선택", - "ruRU": "Выбор сертификата", - "ptBR": "Selecionar certificado", - "frFR": "Sélectionner le certificat", - "esAR": "Seleccionar certificado", - "arDZ": "اختيار الشهادة" - }, - "timestamp": "2025-05-13T04:23:13.465Z" - }, - "如果需要修改证书内容与密钥,请选择自定义证书": { - "text": "如果需要修改证书内容与密钥,请选择自定义证书", - "key": "t_1_1747110191587", - "translations": { - "zhCN": "如果需要修改证书内容与密钥,请选择自定义证书", - "zhTW": "如果需要修改證書內容與密鑰,請選擇自定義證書", - "enUS": "If you need to modify the certificate content and key, please choose a custom certificate", - "jaJP": "証明書の内容とキーを変更する必要がある場合は、カスタム証明書を選択してください", - "koKR": "인증서 내용과 키를 수정해야 하는 경우 사용자 정의 인증서를 선택하십시오", - "ruRU": "Если вам нужно изменить содержимое сертификата и ключ, выберите пользовательский сертификат", - "ptBR": "Se precisar modificar o conteúdo do certificado e a chave, escolha um certificado personalizado", - "frFR": "Si vous devez modifier le contenu du certificat et la clé, choisissez un certificat personnalisé", - "esAR": "Si necesita modificar el contenido del certificado y la clave, elija un certificado personalizado", - "arDZ": "إذا كنت بحاجة إلى تعديل محتوى الشهادة والمفتاح، فاختر شهادة مخصصة" - }, - "timestamp": "2025-05-13T04:23:13.468Z" - }, - "当选择非自定义证书时,证书内容与密钥均不可修改": { - "text": "当选择非自定义证书时,证书内容与密钥均不可修改", - "key": "t_2_1747110193465", - "translations": { - "zhCN": "当选择非自定义证书时,证书内容与密钥均不可修改", - "zhTW": "當選擇非自訂憑證時,憑證內容與金鑰均不可修改", - "enUS": "When a non-custom certificate is selected, neither the certificate content nor the key can be modified", - "jaJP": "非カスタム証明書を選択した場合、証明書の内容とキーはどちらも変更できません", - "koKR": "사용자 정의 인증서가 아닌 것을 선택하면 인증서 내용과 키 모두 수정할 수 없습니다", - "ruRU": "При выборе нестандартного сертификата ни содержание сертификата, ни ключ нельзя изменить", - "ptBR": "Quando um certificado não personalizado é selecionado, nem o conteúdo do certificado nem a chave podem ser modificados", - "frFR": "Lorsqu'un certificat non personnalisé est sélectionné, ni le contenu du certificat ni la clé ne peuvent être modifiés", - "esAR": "Cuando se selecciona un certificado no personalizado, ni el contenido del certificado ni la clave se pueden modificar", - "arDZ": "عند اختيار شهادة غير مخصصة، لا يمكن تعديل محتوى الشهادة أو المفتاح" - }, - "timestamp": "2025-05-13T04:23:13.468Z" - }, - "上传并提交": { - "text": "上传并提交", - "key": "t_3_1747110185110", - "translations": { - "zhCN": "上传并提交", - "zhTW": "上傳並提交", - "enUS": "Upload and submit", - "jaJP": "アップロードして提出", - "koKR": "업로드 및 제출", - "ruRU": "Загрузить и отправить", - "ptBR": "Enviar e submeter", - "frFR": "Télécharger et soumettre", - "esAR": "Subir y enviar", - "arDZ": "تحميل وتقديم" - }, - "timestamp": "2025-05-13T04:23:13.468Z" - }, - "宝塔WAF网站": { - "text": "宝塔WAF网站", - "key": "t_0_1747215751189", - "translations": { - "zhCN": "宝塔WAF网站", - "zhTW": "寶塔WAF網站", - "enUS": "Pagoda WAF Website", - "jaJP": "宝塔WAFウェブサイト", - "koKR": "보타 WAF 웹사이트", - "ruRU": "Веб-сайт Pagoda WAF", - "ptBR": "Site do Pagoda WAF", - "frFR": "Site Web Pagoda WAF", - "esAR": "Sitio web de Pagoda WAF", - "arDZ": "موقع ويف باغودا" - }, - "timestamp": "2025-05-14T09:42:31.189Z" - }, - "宝塔WAF-URL地址格式错误": { - "text": "宝塔WAF-URL地址格式错误", - "key": "t_0_1747271295174", - "translations": { - "zhCN": "宝塔WAF-URL地址格式错误", - "zhTW": "寶塔WAF-URL地址格式錯誤", - "enUS": "Pagoda WAF - URL format error", - "jaJP": "Pagoda WAF - URL形式エラー", - "koKR": "Pagoda WAF - URL 형식 오류", - "ruRU": "Pagoda WAF - Ошибка формата URL", - "ptBR": "Pagoda WAF - Erro de formato de URL", - "frFR": "Pagoda WAF - Erreur de format d'URL", - "esAR": "Pagoda WAF - Error de formato de URL", - "arDZ": "Pagoda WAF - خطأ في تنسيق URL" - }, - "timestamp": "2025-05-15T01:08:16.995Z" - }, - "请输入宝塔WAF-API密钥": { - "text": "请输入宝塔WAF-API密钥", - "key": "t_1_1747271295484", - "translations": { - "zhCN": "请输入宝塔WAF-API密钥", - "zhTW": "請輸入寶塔WAF-API金鑰", - "enUS": "Please enter the Pagoda WAF-API key", - "jaJP": "宝塔WAF-APIキーを入力してください", - "koKR": "파고다 WAF-API 키를 입력하세요", - "ruRU": "Пожалуйста, введите ключ Pagoda WAF-API", - "ptBR": "Por favor, insira a chave Pagoda WAF-API", - "frFR": "Veuillez saisir la clé Pagoda WAF-API", - "esAR": "Por favor, introduzca la clave Pagoda WAF-API", - "arDZ": "الرجاء إدخال مفتاح Pagoda WAF-API" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "请输入正确的华为云AccessKey": { - "text": "请输入正确的华为云AccessKey", - "key": "t_2_1747271295877", - "translations": { - "zhCN": "请输入正确的华为云AccessKey", - "zhTW": "請輸入正確的華為雲AccessKey", - "enUS": "Please enter the correct Huawei Cloud AccessKey", - "jaJP": "正しいHuaweiクラウドAccessKeyを入力してください", - "koKR": "올바른 Huawei 클라우드 AccessKey를 입력하세요", - "ruRU": "Пожалуйста, введите правильный AccessKey Huawei Cloud", - "ptBR": "Por favor, insira o AccessKey correto da Huawei Cloud", - "frFR": "Veuillez saisir le bon AccessKey Huawei Cloud", - "esAR": "Por favor ingrese el AccessKey correcto de Huawei Cloud", - "arDZ": "الرجاء إدخال AccessKey الصحيح لـ Huawei Cloud" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "请输入正确的百度云AccessKey": { - "text": "请输入正确的百度云AccessKey", - "key": "t_3_1747271294475", - "translations": { - "zhCN": "请输入正确的百度云AccessKey", - "zhTW": "請輸入正確的百度雲AccessKey", - "enUS": "Please enter the correct Baidu Cloud AccessKey", - "jaJP": "正しい百度クラウドのAccessKeyを入力してください", - "koKR": "올바른 바이두 클라우드 AccessKey를 입력하세요", - "ruRU": "Пожалуйста, введите правильный Baidu Cloud AccessKey", - "ptBR": "Por favor, insira o Baidu Cloud AccessKey correto", - "frFR": "Veuillez saisir le bon Baidu Cloud AccessKey", - "esAR": "Por favor, ingrese el Baidu Cloud AccessKey correcto", - "arDZ": "يرجى إدخال Baidu Cloud AccessKey الصحيح" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "请输入正确的百度云SecretKey": { - "text": "请输入正确的百度云SecretKey", - "key": "t_4_1747271294621", - "translations": { - "zhCN": "请输入正确的百度云SecretKey", - "zhTW": "請輸入正確的百度雲SecretKey", - "enUS": "Please enter the correct Baidu Cloud SecretKey", - "jaJP": "正しい百度クラウドのSecretKeyを入力してください", - "koKR": "올바른 바이두 클라우드 SecretKey를 입력하세요", - "ruRU": "Пожалуйста, введите правильный SecretKey Baidu Cloud", - "ptBR": "Por favor, insira o SecretKey correto do Baidu Cloud", - "frFR": "Veuillez entrer le bon SecretKey de Baidu Cloud", - "esAR": "Por favor, ingrese el SecretKey correcto de Baidu Cloud", - "arDZ": "الرجاء إدخال SecretKey الصحيح لـ Baidu Cloud" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "宝塔WAF-URL": { - "text": "宝塔WAF-URL", - "key": "t_5_1747271291828", - "translations": { - "zhCN": "宝塔WAF-URL", - "zhTW": "寶塔WAF-URL", - "enUS": "Baota WAF-URL", - "jaJP": "宝塔WAF-URL", - "koKR": "보타 WAF-URL", - "ruRU": "Баота WAF-URL", - "ptBR": "Baota WAF-URL", - "frFR": "Baota WAF-URL", - "esAR": "Baota WAF-URL", - "arDZ": "باوتا WAF-URL" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "本机部署": { - "text": "本机部署", - "key": "t_6_1747271296994", - "translations": { - "zhCN": "本机部署", - "zhTW": "本機部署", - "enUS": "Local Deployment", - "jaJP": "ローカルデプロイ", - "koKR": "로컬 배포", - "ruRU": "Локальное развертывание", - "ptBR": "Implantação Local", - "frFR": "Déploiement Local", - "esAR": "Despliegue Local", - "arDZ": "النشر المحلي" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "全部来源": { - "text": "全部来源", - "key": "t_7_1747271292060", - "translations": { - "zhCN": "全部来源", - "zhTW": "全部來源", - "enUS": "All sources", - "jaJP": "すべてのソース", - "koKR": "모든 출처", - "ruRU": "Все источники", - "ptBR": "Todas as fontes", - "frFR": "Toutes les sources", - "esAR": "Todas las fuentes", - "arDZ": "جميع المصادر" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "宝塔": { - "text": "宝塔", - "key": "t_8_1747271290414", - "translations": { - "zhCN": "宝塔", - "zhTW": "寶塔", - "enUS": "Pagoda", - "jaJP": "パゴダ", - "koKR": "탑", - "ruRU": "Пагода", - "ptBR": "Pagode", - "frFR": "Pagode", - "esAR": "Pagoda", - "arDZ": "باغودة" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "1Panel": { - "text": "1Panel", - "key": "t_9_1747271284765", - "translations": { - "zhCN": "1Panel", - "zhTW": "1Panel", - "enUS": "1Panel", - "jaJP": "1Panel", - "koKR": "1Panel", - "ruRU": "1Panel", - "ptBR": "1Panel", - "frFR": "1Panel", - "esAR": "1Panel", - "arDZ": "1Panel" - }, - "timestamp": "2025-05-15T01:08:16.997Z" - }, - "SMTP端口禁止修改": { - "text": "SMTP端口禁止修改", - "key": "t_0_1747280814475", - "translations": { - "zhCN": "SMTP端口禁止修改", - "zhTW": "SMTP端口禁止修改", - "enUS": "SMTP port modification is prohibited", - "jaJP": "SMTPポートの変更は禁止されています", - "koKR": "SMTP 포트 수정은 금지됩니다", - "ruRU": "Изменение порта SMTP запрещено", - "ptBR": "A modificação da porta SMTP é proibida", - "frFR": "La modification du port SMTP est interdite", - "esAR": "La modificación del puerto SMTP está prohibida", - "arDZ": "تعديل منفذ SMTP ممنوع" - }, - "timestamp": "2025-05-15T03:46:56.952Z" - }, - "证书文件路径(仅支持PEM格式)": { - "text": "证书文件路径(仅支持PEM格式)", - "key": "t_1_1747280813656", - "translations": { - "zhCN": "证书文件路径(仅支持PEM格式)", - "zhTW": "證書文件路徑(僅支持PEM格式)", - "enUS": "Certificate file path (PEM format only)", - "jaJP": "証明書ファイルのパス(PEM形式のみ対応)", - "koKR": "인증서 파일 경로(PEM 형식만 지원)", - "ruRU": "Путь к файлу сертификата (только в формате PEM)", - "ptBR": "Caminho do arquivo de certificado (somente formato PEM)", - "frFR": "Chemin du fichier de certificat (format PEM uniquement)", - "esAR": "Ruta del archivo de certificado (solo formato PEM)", - "arDZ": "مسار ملف الشهادة (يدعم تنسيق PEM فقط)" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "私钥文件路径": { - "text": "私钥文件路径", - "key": "t_2_1747280811593", - "translations": { - "zhCN": "私钥文件路径", - "zhTW": "私鑰文件路徑", - "enUS": "Private key file path", - "jaJP": "秘密鍵ファイルのパス", - "koKR": "개인 키 파일 경로", - "ruRU": "Путь к файлу закрытого ключа", - "ptBR": "Caminho do arquivo de chave privada", - "frFR": "Chemin du fichier de clé privée", - "esAR": "Ruta del archivo de clave privada", - "arDZ": "مسار ملف المفتاح الخاص" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "前置命令(可选)": { - "text": "前置命令(可选)", - "key": "t_3_1747280812067", - "translations": { - "zhCN": "前置命令(可选)", - "zhTW": "前置命令(可選)", - "enUS": "Pre-command (optional)", - "jaJP": "前置コマンド(オプション)", - "koKR": "프리 커맨드 (선택 사항)", - "ruRU": "Предварительная команда (необязательно)", - "ptBR": "Comando prévio (opcional)", - "frFR": "Commande préalable (facultative)", - "esAR": "Comando previo (opcional)", - "arDZ": "أمر مسبق (اختياري)" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "后置命令(可选)": { - "text": "后置命令(可选)", - "key": "t_4_1747280811462", - "translations": { - "zhCN": "后置命令(可选)", - "zhTW": "後置命令(可選)", - "enUS": "Post command (optional)", - "jaJP": "後置コマンド(オプション)", - "koKR": "후처리 명령 (선택 사항)", - "ruRU": "Посткоманда (опционально)", - "ptBR": "Comando pós (opcional)", - "frFR": "Commande postérieure (facultatif)", - "esAR": "Comando posterior (opcional)", - "arDZ": "أمر لاحق (اختياري)" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "站点ID": { - "text": "站点ID", - "key": "t_6_1747280809615", - "translations": { - "zhCN": "站点ID", - "zhTW": "站點ID", - "enUS": "Site ID", - "jaJP": "サイトID", - "koKR": "사이트 ID", - "ruRU": "ID сайта", - "ptBR": "ID do site", - "frFR": "ID du site", - "esAR": "ID del sitio", - "arDZ": "معرّف الموقع" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "区域": { - "text": "区域", - "key": "t_7_1747280808936", - "translations": { - "zhCN": "区域", - "zhTW": "區域", - "enUS": "Region", - "jaJP": "地域", - "koKR": "지역", - "ruRU": "Регион", - "ptBR": "Região", - "frFR": "Région", - "esAR": "Región", - "arDZ": "منطقة" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "存储桶": { - "text": "存储桶", - "key": "t_8_1747280809382", - "translations": { - "zhCN": "存储桶", - "zhTW": "儲存桶", - "enUS": "Bucket", - "jaJP": "バケット", - "koKR": "버킷", - "ruRU": "Ведро", - "ptBR": "Balde", - "frFR": "Seau", - "esAR": "Cubo", - "arDZ": "دلو" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "重复部署": { - "text": "重复部署", - "key": "t_9_1747280810169", - "translations": { - "zhCN": "重复部署", - "zhTW": "重複部署", - "enUS": "Repeated deployment", - "jaJP": "重複デプロイ", - "koKR": "반복 배포", - "ruRU": "Повторное развертывание", - "ptBR": "Implantações repetidas", - "frFR": "Déploiement répété", - "esAR": "Implementación repetida", - "arDZ": "نشر متكرر" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "当与上次部署的证书相同且上次部署成功时": { - "text": "当与上次部署的证书相同且上次部署成功时", - "key": "t_10_1747280816952", - "translations": { - "zhCN": "当与上次部署的证书相同且上次部署成功时", - "zhTW": "當與上次部署的證書相同且上次部署成功時", - "enUS": "When the certificate is the same as the last deployment and the last deployment was successful", - "jaJP": "前回の展開と同じ証明書で、前回の展開が成功した場合", - "koKR": "이전 배포와 동일한 인증서이며 이전 배포가 성공한 경우", - "ruRU": "Когда сертификат совпадает с последним развертыванием и последнее развертывание было успешным", - "ptBR": "Quando o certificado é o mesmo da última implantação e a última implantação foi bem-sucedida", - "frFR": "Lorsque le certificat est identique au dernier déploiement et que le dernier déploiement a réussi", - "esAR": "Cuando el certificado es el mismo que el último despliegue y el último despliegue fue exitoso", - "arDZ": "عندما يكون الشهادة هي نفسها كما في النشر الأخير وكان النشر الأخير ناجحًا" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "跳过": { - "text": "跳过", - "key": "t_11_1747280809178", - "translations": { - "zhCN": "跳过", - "zhTW": "跳過", - "enUS": "Skip", - "jaJP": "スキップ", - "koKR": "건너뛰기", - "ruRU": "Пропустить", - "ptBR": "Pular", - "frFR": "Passer", - "esAR": "Saltar", - "arDZ": "تخطي" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "不跳过": { - "text": "不跳过", - "key": "t_12_1747280809893", - "translations": { - "zhCN": "不跳过", - "zhTW": "不跳過", - "enUS": "Do not skip", - "jaJP": "スキップしない", - "koKR": "건너뛰지 않음", - "ruRU": "Не пропускать", - "ptBR": "Não pular", - "frFR": "Ne pas sauter", - "esAR": "No omitir", - "arDZ": "لا تتخطى" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "重新部署": { - "text": "重新部署", - "key": "t_13_1747280810369", - "translations": { - "zhCN": "重新部署", - "zhTW": "重新部署", - "enUS": "Re-deployment", - "jaJP": "再展開", - "koKR": "재배치", - "ruRU": "Повторное развертывание", - "ptBR": "Reimplantação", - "frFR": "Redéploiement", - "esAR": "Redespliegue", - "arDZ": "إعادة النشر" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "搜索部署类型": { - "text": "搜索部署类型", - "key": "t_14_1747280811231", - "translations": { - "zhCN": "搜索部署类型", - "zhTW": "搜尋部署類型", - "enUS": "Search deployment type", - "jaJP": "展開タイプを検索", - "koKR": "배포 유형 검색", - "ruRU": "Поиск типа развертывания", - "ptBR": "Pesquisar tipo de implantação", - "frFR": "Rechercher le type de déploiement", - "esAR": "Buscar tipo de implementación", - "arDZ": "بحث نوع النشر" - }, - "timestamp": "2025-05-15T03:46:56.953Z" - }, - "网站名": { - "text": "网站名", - "key": "t_0_1747296173751", - "translations": { - "zhCN": "网站名", - "zhTW": "網站名", - "enUS": "Website name", - "jaJP": "ウェブサイト名", - "koKR": "웹사이트 이름", - "ruRU": "Название сайта", - "ptBR": "Nome do site", - "frFR": "Nom du site", - "esAR": "Nombre del sitio", - "arDZ": "اسم الموقع" - }, - "timestamp": "2025-05-15T08:02:55.494Z" - }, - "请输入网址名": { - "text": "请输入网址名", - "key": "t_1_1747296175494", - "translations": { - "zhCN": "请输入网址名", - "zhTW": "請輸入網址名", - "enUS": "Please enter the website name", - "jaJP": "ウェブサイト名を入力してください", - "koKR": "웹사이트 이름을 입력하세요", - "ruRU": "Пожалуйста, введите название сайта", - "ptBR": "Por favor, insira o nome do site", - "frFR": "Veuillez entrer le nom du site Web", - "esAR": "Por favor ingrese el nombre del sitio web", - "arDZ": "الرجاء إدخال اسم الموقع" - }, - "timestamp": "2025-05-15T08:02:55.496Z" - }, - "雷池WAF站点": { - "text": "雷池WAF站点", - "key": "t_0_1747298114839", - "translations": { - "zhCN": "雷池WAF站点", - "zhTW": "雷池WAF站點", - "enUS": "Leichi WAF Site", - "jaJP": "雷池WAFサイト", - "koKR": "레이치 WAF 사이트", - "ruRU": "Сайт Leichi WAF", - "ptBR": "Site Leichi WAF", - "frFR": "Site Leichi WAF", - "esAR": "Sitio Leichi WAF", - "arDZ": "موقع Leichi WAF" - }, - "timestamp": "2025-05-15T08:35:14.839Z" - }, - "雷池WAF": { - "text": "雷池WAF", - "key": "t_1_1747298114192", - "translations": { - "zhCN": "雷池WAF", - "zhTW": "雷池WAF", - "enUS": "Leichi WAF", - "jaJP": "雷池WAF", - "koKR": "레이치 WAF", - "ruRU": "Лэйчи WAF", - "ptBR": "Leichi WAF", - "frFR": "Leichi WAF", - "esAR": "Leichi WAF", - "arDZ": "ليتشي WAF" - }, - "timestamp": "2025-05-15T08:35:14.841Z" - }, - "雷池WAF-URL地址格式错误": { - "text": "雷池WAF-URL地址格式错误", - "key": "t_0_1747300383756", - "translations": { - "zhCN": "雷池WAF-URL地址格式错误", - "zhTW": "雷池WAF-URL地址格式錯誤", - "enUS": "Leichi WAF - URL format error", - "jaJP": "雷池WAF - URL形式エラー", - "koKR": "레츠 WAF - URL 형식 오류", - "ruRU": "Leichi WAF - ошибка формата URL", - "ptBR": "Leichi WAF - erro de formato de URL", - "frFR": "Leichi WAF - erreur de format d'URL", - "esAR": "Leichi WAF - error de formato de URL", - "arDZ": "ليتشي WAF - خطأ في تنسيق عنوان URL" - }, - "timestamp": "2025-05-15T09:13:05.223Z" - }, - "请输入正确的宝塔WAF-API密钥": { - "text": "请输入正确的宝塔WAF-API密钥", - "key": "t_1_1747300384579", - "translations": { - "zhCN": "请输入正确的宝塔WAF-API密钥", - "zhTW": "請輸入正確的寶塔WAF-API密鑰", - "enUS": "Please enter the correct BT-WAF API key", - "jaJP": "正しいBT-WAF APIキーを入力してください", - "koKR": "올바른 BT-WAF API 키를 입력하십시오", - "ruRU": "Пожалуйста, введите правильный API-ключ BT-WAF", - "ptBR": "Por favor, insira a chave de API correta do BT-WAF", - "frFR": "Veuillez entrer la clé API correcte de BT-WAF", - "esAR": "Por favor, ingrese la clave API correcta de BT-WAF", - "arDZ": "الرجاء إدخال مفتاح BT-WAF الصحيح API" - }, - "timestamp": "2025-05-15T09:13:05.223Z" - }, - "请输入正确的雷池WAF-API密钥": { - "text": "请输入正确的雷池WAF-API密钥", - "key": "t_2_1747300385222", - "translations": { - "zhCN": "请输入正确的雷池WAF-API密钥", - "zhTW": "請輸入正確的雷池WAF-API密鑰", - "enUS": "Please enter the correct Leichi WAF-API key", - "jaJP": "正しい雷池WAF-APIキーを入力してください", - "koKR": "올바른 레이치 WAF-API 키를 입력하세요", - "ruRU": "Пожалуйста, введите правильный ключ Leichi WAF-API", - "ptBR": "Por favor, insira a chave correta do Leichi WAF-API", - "frFR": "Veuillez saisir la clé correcte de Leichi WAF-API", - "esAR": "Por favor, ingrese la clave correcta de Leichi WAF-API", - "arDZ": "الرجاء إدخال مفتاح Leichi WAF-API الصحيح" - }, - "timestamp": "2025-05-15T09:13:05.223Z" - }, - "请输入西部数码的用户名": { - "text": "请输入西部数码的用户名", - "key": "t_0_1747365600180", - "translations": { - "zhCN": "请输入西部数码的用户名", - "zhTW": "請輸入西部數碼的用戶名", - "enUS": "Please enter the Western Digital username", - "jaJP": "Western Digitalのユーザー名を入力してください", - "koKR": "Western Digital 사용자 이름을 입력하세요", - "ruRU": "Пожалуйста, введите имя пользователя Western Digital", - "ptBR": "Por favor, insira o nome de usuário da Western Digital", - "frFR": "Veuillez saisir le nom d'utilisateur Western Digital", - "esAR": "Por favor, ingrese el nombre de usuario de Western Digital", - "arDZ": "الرجاء إدخال اسم المستخدم Western Digital" - }, - "timestamp": "2025-05-16T03:20:03.108Z" - }, - "请输入西部数码的Password": { - "text": "请输入西部数码的Password", - "key": "t_1_1747365603108", - "translations": { - "zhCN": "请输入西部数码的密码", - "zhTW": "請輸入西部數碼的密碼", - "enUS": "Please enter the Western Digital password", - "jaJP": "ウェスタンデジタルのパスワードを入力してください", - "koKR": "웨스턴 디지털의 비밀번호를 입력하세요", - "ruRU": "Пожалуйста, введите пароль Western Digital", - "ptBR": "Por favor, insira a senha da Western Digital", - "frFR": "Veuillez entrer le mot de passe de Western Digital", - "esAR": "Por favor, ingrese la contraseña de Western Digital", - "arDZ": "الرجاء إدخال كلمة مرور ويسترن ديجيتال" - }, - "timestamp": "2025-05-16T03:20:03.108Z" - }, - "请输入火山引擎的AccessKey": { - "text": "请输入火山引擎的AccessKey", - "key": "t_3_1747365600828", - "translations": { - "zhCN": "请输入火山引擎的AccessKey", - "zhTW": "請輸入火山引擎的AccessKey", - "enUS": "Please enter the AccessKey of Volcano Engine", - "jaJP": "ボルケーノエンジンのAccessKeyを入力してください", - "koKR": "볼케이노 엔진의 AccessKey를 입력하세요", - "ruRU": "Пожалуйста, введите AccessKey Volcano Engine", - "ptBR": "Por favor, insira a AccessKey do Volcano Engine", - "frFR": "Veuillez saisir la clé d'accès du moteur Volcano", - "esAR": "Por favor ingrese la AccessKey de Volcano Engine", - "arDZ": "يرجى إدخال مفتاح الوصول AccessKey لمحرك Volcano" - }, - "timestamp": "2025-05-16T03:20:03.108Z" - }, - "请输入火山引擎的SecretKey": { - "text": "请输入火山引擎的SecretKey", - "key": "t_4_1747365600137", - "translations": { - "zhCN": "请输入火山引擎的SecretKey", - "zhTW": "請輸入火山引擎的SecretKey", - "enUS": "Please enter the SecretKey of Volcano Engine", - "jaJP": "火山エンジンのSecretKeyを入力してください", - "koKR": "볼케이노 엔진의 SecretKey를 입력하세요", - "ruRU": "Введите SecretKey Volcano Engine", - "ptBR": "Por favor, insira o SecretKey do Volcano Engine", - "frFR": "Veuillez entrer le SecretKey de Volcano Engine", - "esAR": "Por favor ingrese el SecretKey de Volcano Engine", - "arDZ": "الرجاء إدخال SecretKey لمحرك بركان" - }, - "timestamp": "2025-05-16T03:20:03.108Z" - }, - "宝塔docker站点": { - "text": "宝塔docker站点", - "key": "t_0_1747367069267", - "translations": { - "zhCN": "宝塔docker站点", - "zhTW": "寶塔docker站點", - "enUS": "Pagoda docker site", - "jaJP": "Pagoda dockerサイト", - "koKR": "Pagoda docker 사이트", - "ruRU": "Сайт Pagoda docker", - "ptBR": "Site Pagoda docker", - "frFR": "Site Pagoda docker", - "esAR": "Sitio Pagoda docker", - "arDZ": "موقع Pagoda docker" - }, - "timestamp": "2025-05-16T03:44:29.267Z" - }, - "请输入雷池的API Token": { - "text": "请输入雷池的API Token", - "key": "t_0_1747617113090", - "translations": { - "zhCN": "请输入雷池的API令牌", - "zhTW": "請輸入雷池的API令牌", - "enUS": "Please enter the Leichi API Token", - "jaJP": "雷池のAPIトークンを入力してください", - "koKR": "레치 API 토큰을 입력하세요", - "ruRU": "Пожалуйста, введите API-токен Leichi", - "ptBR": "Por favor, insira o Token API do Leichi", - "frFR": "Veuillez entrer le jeton API de Leichi", - "esAR": "Por favor, ingrese el Token API de Leichi", - "arDZ": "الرجاء إدخال رمز API الخاص بـ Leichi" - }, - "timestamp": "2025-05-19T01:11:53.090Z" - }, - "API Token": { - "text": "API Token", - "key": "t_1_1747617105179", - "translations": { - "zhCN": "API Token", - "zhTW": "API Token", - "enUS": "API Token", - "jaJP": "API Token", - "koKR": "API Token", - "ruRU": "API Token", - "ptBR": "API Token", - "frFR": "API Token", - "esAR": "API Token", - "arDZ": "API Token" - }, - "timestamp": "2025-05-19T01:11:53.092Z" - }, - "证书算法": { - "text": "证书算法", - "key": "t_0_1747647014927", - "translations": { - "zhCN": "证书算法", - "zhTW": "證書算法", - "enUS": "Certificate algorithm", - "jaJP": "証明書アルゴリズム", - "koKR": "인증서 알고리즘", - "ruRU": "Алгоритм сертификата", - "ptBR": "Algoritmo de certificado", - "frFR": "Algorithme de certificat", - "esAR": "Algoritmo de certificado", - "arDZ": "خوارزمية الشهادة" - }, - "timestamp": "2025-05-19T09:30:14.927Z" - }, - "请输入SSH密钥,内容不能为空": { - "text": "请输入SSH密钥,内容不能为空", - "key": "t_0_1747709067998", - "translations": { - "zhCN": "请输入SSH密钥,内容不能为空", - "zhTW": "請輸入SSH密鑰,內容不能為空", - "enUS": "Please enter the SSH key, the content cannot be empty", - "jaJP": "SSHキーを入力してください。内容は空にできません。", - "koKR": "SSH 키를 입력하십시오. 내용은 비울 수 없습니다.", - "ruRU": "Введите SSH-ключ, содержимое не может быть пустым", - "ptBR": "Digite a chave SSH, o conteúdo não pode estar vazio", - "frFR": "Veuillez entrer la clé SSH, le contenu ne peut pas être vide", - "esAR": "Ingrese la clave SSH, el contenido no puede estar vacío", - "arDZ": "الرجاء إدخال مفتاح SSH، المحتوى لا يمكن أن يكون فارغًا" - }, - "timestamp": "2025-05-20T02:44:27.998Z" - }, - "请输入SSH密码": { - "text": "请输入SSH密码", - "key": "t_0_1747711335067", - "translations": { - "zhCN": "请输入SSH密码", - "zhTW": "請輸入SSH密碼", - "enUS": "Please enter the SSH password", - "jaJP": "SSHパスワードを入力してください", - "koKR": "SSH 비밀번호를 입력하세요", - "ruRU": "Введите пароль SSH", - "ptBR": "Por favor, insira a senha SSH", - "frFR": "Veuillez entrer le mot de passe SSH", - "esAR": "Por favor ingrese la contraseña SSH", - "arDZ": "يرجى إدخال كلمة مرور SSH" - }, - "timestamp": "2025-05-20T03:22:17.958Z" - }, - "主机地址": { - "text": "主机地址", - "key": "t_1_1747711335336", - "translations": { - "zhCN": "主机地址", - "zhTW": "主機地址", - "enUS": "Host address", - "jaJP": "ホストアドレス", - "koKR": "호스트 주소", - "ruRU": "Адрес хоста", - "ptBR": "Endereço do host", - "frFR": "Adresse de l'hôte", - "esAR": "Dirección del host", - "arDZ": "عنوان المضيف" - }, - "timestamp": "2025-05-20T03:22:17.960Z" - }, - "请输入主机地址不能为空": { - "text": "请输入主机地址不能为空", - "key": "t_2_1747711337958", - "translations": { - "zhCN": "请输入主机地址不能为空", - "zhTW": "請輸入主機地址不能為空", - "enUS": "Please enter the host address cannot be empty", - "jaJP": "ホストアドレスを入力してください。空にすることはできません", - "koKR": "호스트 주소를 입력하세요. 비워 둘 수 없습니다", - "ruRU": "Пожалуйста, введите адрес хоста, он не может быть пустым", - "ptBR": "Por favor, insira o endereço do host, não pode estar vazio", - "frFR": "Veuillez saisir l'adresse de l'hôte, elle ne peut pas être vide", - "esAR": "Por favor ingrese la dirección del host, no puede estar vacía", - "arDZ": "الرجاء إدخال عنوان المضيف، لا يمكن أن يكون فارغًا" - }, - "timestamp": "2025-05-20T03:22:17.960Z" - }, - "日志查看器": { - "text": "日志查看器", - "key": "t_0_1747754231151", - "translations": { - "zhCN": "日志查看器", - "zhTW": "日誌檢視器", - "enUS": "Log Viewer", - "jaJP": "ログビューア", - "koKR": "로그 뷰어", - "ruRU": "Просмотр логов", - "ptBR": "Visualizador de Logs", - "frFR": "Visionneuse de journaux", - "esAR": "Visor de registros", - "arDZ": "عارض السجلات" - }, - "timestamp": "2025-05-20T15:17:15.407Z" - }, - "请先": { - "text": "请先", - "key": "t_1_1747754231838", - "translations": { - "zhCN": "请先", - "zhTW": "請先", - "enUS": "Please first", - "jaJP": "まず", - "koKR": "먼저", - "ruRU": "Пожалуйста, сначала", - "ptBR": "Por favor, primeiro", - "frFR": "Veuillez d'abord", - "esAR": "Por favor primero", - "arDZ": "من فضلك أولاً" - }, - "timestamp": "2025-05-20T15:17:15.415Z" - }, - "有问题或建议可提": { - "text": "有问题或建议可提", - "key": "t_2_1747754234999", - "translations": { - "zhCN": "有问题或建议可提", - "zhTW": "有問題或建議可提", - "enUS": "If you have any questions or suggestions, please feel free to raise them", - "jaJP": "質問や提案がある場合はお気軽にどうぞ", - "koKR": "질문이나 제안이 있으면 언제든지 제출해 주세요", - "ruRU": "Если у вас есть вопросы или предложения, не стесняйтесь их высказывать", - "ptBR": "Se tiver alguma dúvida ou sugestão, sinta-se à vontade para apresentá-la", - "frFR": "Si vous avez des questions ou des suggestions, n'hésitez pas à les soulever", - "esAR": "Si tienes alguna pregunta o sugerencia, no dudes en expresarla", - "arDZ": "إذا كان لديك أي أسئلة أو اقتراحات، فلا تتردد في تقديمها" - }, - "timestamp": "2025-05-20T15:17:15.415Z" - }, - "也可在Github给我们": { - "text": "也可在Github给我们", - "key": "t_3_1747754232000", - "translations": { - "zhCN": "也可以在Github上找到我们", - "zhTW": "也可以在Github上找到我們", - "enUS": "You can also find us on Github", - "jaJP": "Githubでも私たちを見つけることができます", - "koKR": "Github에서도 저희를 찾을 수 있습니다", - "ruRU": "Вы также можете найти нас на Github", - "ptBR": "Você também pode nos encontrar no Github", - "frFR": "Vous pouvez également nous trouver sur Github", - "esAR": "También puedes encontrarnos en Github", - "arDZ": "يمكنك أيضًا العثور علينا على Github" - }, - "timestamp": "2025-05-20T15:17:15.415Z" - }, - "您的参与对AllinSSL极其重要,感谢。": { - "text": "您的参与对AllinSSL极其重要,感谢。", - "key": "t_4_1747754235407", - "translations": { - "zhCN": "您的参与对AllinSSL极其重要,感谢。", - "zhTW": "您的參與對AllinSSL極其重要,感謝。", - "enUS": "Your participation is extremely important to AllinSSL, thank you.", - "jaJP": "あなたの参加はAllinSSLにとって非常に重要です、感謝します。", - "koKR": "귀하의 참여는 AllinSSL에게 매우 중요합니다, 감사합니다.", - "ruRU": "Ваше участие чрезвычайно важно для AllinSSL, спасибо.", - "ptBR": "Sua participação é extremamente importante para o AllinSSL, obrigado.", - "frFR": "Votre participation est extrêmement importante pour AllinSSL, merci.", - "esAR": "Su participación es extremadamente importante para AllinSSL, gracias.", - "arDZ": "مشاركتك مهمة جدًا لـ AllinSSL، شكرًا لك." - }, - "timestamp": "2025-05-20T15:17:15.415Z" - }, - "请输入": { - "text": "请输入", - "key": "t_0_1747817614953", - "translations": { - "zhCN": "请输入", - "zhTW": "請輸入", - "enUS": "Please enter", - "jaJP": "入力してください", - "koKR": "입력해 주세요", - "ruRU": "Пожалуйста, введите", - "ptBR": "Por favor, insira", - "frFR": "Veuillez entrer", - "esAR": "Por favor ingrese", - "arDZ": "الرجاء إدخال" - }, - "timestamp": "2025-05-21T08:54:04.359Z" - }, - "是": { - "text": "是", - "key": "t_1_1747817639034", - "translations": { - "zhCN": "是", - "zhTW": "是", - "enUS": "Yes", - "jaJP": "はい", - "koKR": "네", - "ruRU": "да", - "ptBR": "sim", - "frFR": "oui", - "esAR": "sí", - "arDZ": "نعم" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "否": { - "text": "否", - "key": "t_2_1747817610671", - "translations": { - "zhCN": "否", - "zhTW": "否", - "enUS": "No", - "jaJP": "いいえ", - "koKR": "아니요", - "ruRU": "Нет", - "ptBR": "Não", - "frFR": "Non", - "esAR": "No", - "arDZ": "لا" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "节点字段必填": { - "text": "节点字段必填", - "key": "t_3_1747817612697", - "translations": { - "zhCN": "节点字段必填", - "zhTW": "節點字段必填", - "enUS": "Node field is required", - "jaJP": "ノードフィールドは必須です", - "koKR": "노드 필드는 필수입니다", - "ruRU": "Поле узла обязательно", - "ptBR": "O campo do nó é obrigatório", - "frFR": "Le champ du nœud est requis", - "esAR": "El campo del nodo es obligatorio", - "arDZ": "حقل العقدة مطلوب" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "请输入有效的域名": { - "text": "请输入有效的域名", - "key": "t_4_1747817613325", - "translations": { - "zhCN": "请输入有效的域名", - "zhTW": "請輸入有效的域名", - "enUS": "Please enter a valid domain name", - "jaJP": "有効なドメイン名を入力してください", - "koKR": "유효한 도메인 이름을 입력하세요", - "ruRU": "Пожалуйста, введите действительное доменное имя", - "ptBR": "Por favor, digite um nome de domínio válido", - "frFR": "Veuillez entrer un nom de domaine valide", - "esAR": "Por favor, ingrese un nombre de dominio válido", - "arDZ": "الرجاء إدخال اسم مجال صالح" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "请输入有效的域名,多个域名请用英文逗号分隔": { - "text": "请输入有效的域名,多个域名请用英文逗号分隔", - "key": "t_5_1747817619337", - "translations": { - "zhCN": "请输入有效的域名,多个域名请用英文逗号分隔", - "zhTW": "請輸入有效的網域名稱,多個網域請用英文逗號分隔", - "enUS": "Please enter a valid domain name, separate multiple domains with English commas", - "jaJP": "有効なドメイン名を入力してください。複数のドメインは英語のコンマで区切ってください", - "koKR": "유효한 도메인 이름을 입력하세요. 여러 도메인은 영어 쉼표로 구분하십시오", - "ruRU": "Пожалуйста, введите действительное доменное имя, разделите несколько доменов английскими запятыми", - "ptBR": "Por favor, insira um nome de domínio válido, separe vários domínios com vírgulas em inglês", - "frFR": "Veuillez entrer un nom de domaine valide, séparez plusieurs domaines par des virgules anglaises", - "esAR": "Por favor, ingrese un nombre de dominio válido, separe varios dominios con comas en inglés", - "arDZ": "الرجاء إدخال اسم نطاق صالح، افصل بين عدة نطاقات بفاصلة باللغة الإنجليزية" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "请输入邮箱地址": { - "text": "请输入邮箱地址", - "key": "t_6_1747817644358", - "translations": { - "zhCN": "请输入邮箱地址", - "zhTW": "請輸入電子郵件地址", - "enUS": "Please enter your email address", - "jaJP": "メールアドレスを入力してください", - "koKR": "이메일 주소를 입력하세요", - "ruRU": "Пожалуйста, введите свой адрес электронной почты", - "ptBR": "Por favor, digite seu endereço de e-mail", - "frFR": "Veuillez entrer votre adresse e-mail", - "esAR": "Por favor, ingrese su dirección de correo electrónico", - "arDZ": "الرجاء إدخال عنوان البريد الإلكتروني الخاص بك" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "请输入有效的邮箱地址": { - "text": "请输入有效的邮箱地址", - "key": "t_7_1747817613773", - "translations": { - "zhCN": "请输入有效的邮箱地址", - "zhTW": "請輸入有效的郵箱地址", - "enUS": "Please enter a valid email address", - "jaJP": "有効なメールアドレスを入力してください", - "koKR": "유효한 이메일 주소를 입력하세요", - "ruRU": "Пожалуйста, введите действительный адрес электронной почты", - "ptBR": "Por favor, insira um endereço de e-mail válido", - "frFR": "Veuillez entrer une adresse e-mail valide", - "esAR": "Por favor, ingrese una dirección de correo electrónico válida", - "arDZ": "الرجاء إدخال عنوان بريد إلكتروني صالح" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "节点错误": { - "text": "节点错误", - "key": "t_8_1747817614764", - "translations": { - "zhCN": "节点错误", - "zhTW": "節點錯誤", - "enUS": "Node error", - "jaJP": "ノードエラー", - "koKR": "노드 오류", - "ruRU": "Ошибка узла", - "ptBR": "Erro de nó", - "frFR": "Erreur de nœud", - "esAR": "Error de nodo", - "arDZ": "خطأ في العقدة" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "域名:": { - "text": "域名:", - "key": "t_9_1747817611448", - "translations": { - "zhCN": "域名:", - "zhTW": "域名:", - "enUS": "Domain:", - "jaJP": "ドメイン:", - "koKR": "도메인:", - "ruRU": "Домен:", - "ptBR": "Domínio:", - "frFR": "Domaine :", - "esAR": "Dominio:", - "arDZ": "النطاق:" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "申请": { - "text": "申请", - "key": "t_10_1747817611126", - "translations": { - "zhCN": "申请", - "zhTW": "申請", - "enUS": "Apply", - "jaJP": "申請", - "koKR": "신청", - "ruRU": "Подать заявку", - "ptBR": "Aplicar", - "frFR": "Postuler", - "esAR": "Solicitar", - "arDZ": "تقدم" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "部署": { - "text": "部署", - "key": "t_11_1747817612051", - "translations": { - "zhCN": "部署", - "zhTW": "部署", - "enUS": "Deploy", - "jaJP": "展開", - "koKR": "배포", - "ruRU": "Развертывание", - "ptBR": "Implantação", - "frFR": "Déploiement", - "esAR": "Despliegue", - "arDZ": "نشر" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "上传": { - "text": "上传", - "key": "t_12_1747817611391", - "translations": { - "zhCN": "上传", - "zhTW": "上傳", - "enUS": "Upload", - "jaJP": "アップロード", - "koKR": "업로드", - "ruRU": "Загрузка", - "ptBR": "Enviar", - "frFR": "Téléverser", - "esAR": "Subir", - "arDZ": "رفع" - }, - "timestamp": "2025-05-21T08:54:04.360Z" - }, - "消息推送配置": { - "text": "消息推送配置", - "key": "t_0_1747886301644", - "translations": { - "zhCN": "消息推送配置", - "zhTW": "消息推送配置", - "enUS": "Message Push Configuration", - "jaJP": "メッセージプッシュ設定", - "koKR": "메시지 푸시 설정", - "ruRU": "Конфигурация push-уведомлений", - "ptBR": "Configuração de Push de Mensagem", - "frFR": "Configuration de l'envoi de messages", - "esAR": "Configuración de notificaciones push", - "arDZ": "تكوين إرسال الرسائل" - }, - "timestamp": "2025-05-22T03:58:28.183Z" - }, - "宝塔面板-网站": { - "text": "宝塔面板-网站", - "key": "t_1_1747886307276", - "translations": { - "zhCN": "宝塔面板-网站", - "zhTW": "寶塔面板-網站", - "enUS": "Pagoda Panel - Website", - "jaJP": "宝塔パネル - ウェブサイト", - "koKR": "파고다 패널 - 웹사이트", - "ruRU": "Панель Пагода - Сайт", - "ptBR": "Painel Pagode - Site", - "frFR": "Panneau Pagode - Site Web", - "esAR": "Panel Pagoda - Sitio Web", - "arDZ": "لوحة باغودا - موقع الويب" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "1Panel-网站": { - "text": "1Panel-网站", - "key": "t_2_1747886302053", - "translations": { - "zhCN": "1Panel-网站", - "zhTW": "1Panel-網站", - "enUS": "1Panel-Website", - "jaJP": "1Panel-ウェブサイト", - "koKR": "1Panel-웹사이트", - "ruRU": "1Panel-Вебсайт", - "ptBR": "1Panel-Site", - "frFR": "1Panel-Site Web", - "esAR": "1Panel-Sitio web", - "arDZ": "1Panel-موقع ويب" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "宝塔WAF": { - "text": "宝塔WAF", - "key": "t_3_1747886302848", - "translations": { - "zhCN": "宝塔WAF", - "zhTW": "寶塔WAF", - "enUS": "Pagoda WAF", - "jaJP": "宝塔WAF", - "koKR": "파고다 WAF", - "ruRU": "Пагода WAF", - "ptBR": "Pagode WAF", - "frFR": "Pagode WAF", - "esAR": "Pagoda WAF", - "arDZ": "باغودا WAF" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "宝塔WAF-网站": { - "text": "宝塔WAF-网站", - "key": "t_4_1747886303229", - "translations": { - "zhCN": "宝塔WAF-网站", - "zhTW": "寶塔WAF-網站", - "enUS": "Pagoda WAF-Website", - "jaJP": "宝塔WAF-ウェブサイト", - "koKR": "보타 WAF-웹사이트", - "ruRU": "Пагода WAF-Вебсайт", - "ptBR": "Pagode WAF-Site", - "frFR": "Pagode WAF-Site Web", - "esAR": "Pagoda WAF-Sitio web", - "arDZ": "باغودة WAF-موقع الإنترنت" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "腾讯云EdgeOne": { - "text": "腾讯云EdgeOne", - "key": "t_5_1747886301427", - "translations": { - "zhCN": "腾讯云EdgeOne", - "zhTW": "騰訊雲EdgeOne", - "enUS": "Tencent Cloud EdgeOne", - "jaJP": "Tencent Cloud EdgeOne", - "koKR": "Tencent Cloud EdgeOne", - "ruRU": "Tencent Cloud EdgeOne", - "ptBR": "Tencent Cloud EdgeOne", - "frFR": "Tencent Cloud EdgeOne", - "esAR": "Tencent Cloud EdgeOne", - "arDZ": "Tencent Cloud EdgeOne" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "七牛云": { - "text": "七牛云", - "key": "t_6_1747886301844", - "translations": { - "zhCN": "七牛云", - "zhTW": "七牛雲", - "enUS": "Qiniu Cloud", - "jaJP": "七牛クラウド", - "koKR": "치니우 클라우드", - "ruRU": "Qiniu Cloud", - "ptBR": "Qiniu Cloud", - "frFR": "Qiniu Cloud", - "esAR": "Qiniu Cloud", - "arDZ": "تشينيو كلاود" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "七牛云-CDN": { - "text": "七牛云-CDN", - "key": "t_7_1747886302395", - "translations": { - "zhCN": "七牛云-CDN", - "zhTW": "七牛雲-CDN", - "enUS": "Qiniu Cloud-CDN", - "jaJP": "七牛雲-CDN", - "koKR": "치니우 클라우드-CDN", - "ruRU": "Qiniu Cloud-CDN", - "ptBR": "Qiniu Cloud-CDN", - "frFR": "Qiniu Cloud-CDN", - "esAR": "Qiniu Cloud-CDN", - "arDZ": "كينيو كلاود-CDN" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "七牛云-OSS": { - "text": "七牛云-OSS", - "key": "t_8_1747886304014", - "translations": { - "zhCN": "七牛云-OSS", - "zhTW": "七牛雲-OSS", - "enUS": "Qiniu Cloud - OSS", - "jaJP": "七牛雲-OSS", - "koKR": "치뉴 클라우드-OSS", - "ruRU": "Qiniu Cloud - OSS", - "ptBR": "Qiniu Cloud - OSS", - "frFR": "Qiniu Cloud - OSS", - "esAR": "Qiniu Cloud - OSS", - "arDZ": "كيوينو كلاود - OSS" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "华为云": { - "text": "华为云", - "key": "t_9_1747886301128", - "translations": { - "zhCN": "华为云", - "zhTW": "華為雲", - "enUS": "Huawei Cloud", - "jaJP": "Huawei Cloud", - "koKR": "화웨이 클라우드", - "ruRU": "Huawei Cloud", - "ptBR": "Huawei Cloud", - "frFR": "Huawei Cloud", - "esAR": "Huawei Cloud", - "arDZ": "هواوي كلاود" - }, - "timestamp": "2025-05-22T03:58:28.184Z" - }, - "百度云": { - "text": "百度云", - "key": "t_10_1747886300958", - "translations": { - "zhCN": "百度云", - "zhTW": "百度雲", - "enUS": "Baidu Cloud", - "jaJP": "百度クラウド", - "koKR": "바이두 클라우드", - "ruRU": "Baidu Cloud", - "ptBR": "Baidu Cloud", - "frFR": "Baidu Cloud", - "esAR": "Baidu Cloud", - "arDZ": "بايدو كلود" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "雷池": { - "text": "雷池", - "key": "t_11_1747886301986", - "translations": { - "zhCN": "雷池", - "zhTW": "雷池", - "enUS": "Thunder Pool", - "jaJP": "雷池", - "koKR": "번개 연못", - "ruRU": "Громовой бассейн", - "ptBR": "Piscina de Trovão", - "frFR": "Bassin de Tonnerre", - "esAR": "Piscina de Truenos", - "arDZ": "برق البركة" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "雷池WAF-网站": { - "text": "雷池WAF-网站", - "key": "t_12_1747886302725", - "translations": { - "zhCN": "雷池WAF-网站", - "zhTW": "雷池WAF-網站", - "enUS": "Leichi WAF-Website", - "jaJP": "雷池WAF-ウェブサイト", - "koKR": "레이치 WAF-웹사이트", - "ruRU": "Лэйчи WAF-Вебсайт", - "ptBR": "Leichi WAF-Site", - "frFR": "Leichi WAF-Site Web", - "esAR": "Leichi WAF-Sitio Web", - "arDZ": "ليتشي WAF-موقع ويب" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "火山引擎": { - "text": "火山引擎", - "key": "t_13_1747886301689", - "translations": { - "zhCN": "火山引擎", - "zhTW": "火山引擎", - "enUS": "Volcano Engine", - "jaJP": "ボルケーノエンジン", - "koKR": "볼케이노 엔진", - "ruRU": "Вулкан Двигатель", - "ptBR": "Motor Vulcão", - "frFR": "Moteur Volcan", - "esAR": "Motor Volcán", - "arDZ": "محرك البركان" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "西部数码": { - "text": "西部数码", - "key": "t_14_1747886301884", - "translations": { - "zhCN": "西部数码", - "zhTW": "西部數碼", - "enUS": "West Digital", - "jaJP": "ウェストデジタル", - "koKR": "웨스트 디지털", - "ruRU": "Вест Цифровой", - "ptBR": "West Digital", - "frFR": "West Digital", - "esAR": "West Digital", - "arDZ": "ويست ديجيتال" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "部署项目类型": { - "text": "部署项目类型", - "key": "t_15_1747886301573", - "translations": { - "zhCN": "部署项目类型", - "zhTW": "部署項目類型", - "enUS": "Deploy project type", - "jaJP": "プロジェクトタイプの展開", - "koKR": "프로젝트 유형 배포", - "ruRU": "Тип развертываемого проекта", - "ptBR": "Tipo de projeto de implantação", - "frFR": "Type de projet de déploiement", - "esAR": "Tipo de proyecto de despliegue", - "arDZ": "نوع مشروع النشر" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "您确定要刷新页面吗?数据可能会丢失哦!": { - "text": "您确定要刷新页面吗?数据可能会丢失哦!", - "key": "t_16_1747886308182", - "translations": { - "zhCN": "您确定要刷新页面吗?数据可能会丢失哦!", - "zhTW": "您確定要刷新頁面嗎?數據可能會遺失哦!", - "enUS": "Are you sure you want to refresh the page? Data may be lost!", - "jaJP": "ページを更新してもよろしいですか?データが失われる可能性があります!", - "koKR": "페이지를 새로 고치시겠습니까? 데이터가 손실될 수 있습니다!", - "ruRU": "Вы уверены, что хотите обновить страницу? Данные могут быть потеряны!", - "ptBR": "Tem certeza de que deseja atualizar a página? Os dados podem ser perdidos!", - "frFR": "Êtes-vous sûr de vouloir actualiser la page ? Les données peuvent être perdues !", - "esAR": "¿Estás seguro de que quieres actualizar la página? ¡Los datos pueden perderse!", - "arDZ": "هل أنت متأكد أنك تريد تحديث الصفحة؟ قد يتم فقدان البيانات!" - }, - "timestamp": "2025-05-22T03:58:28.185Z" - }, - "执行成功": { - "text": "执行成功", - "key": "t_0_1747895713179", - "translations": { - "zhCN": "执行成功", - "zhTW": "執行成功", - "enUS": "Execution successful", - "jaJP": "実行が成功しました", - "koKR": "실행 성공", - "ruRU": "Выполнение успешно", - "ptBR": "Execução bem-sucedida", - "frFR": "Exécution réussie", - "esAR": "Ejecución exitosa", - "arDZ": "تنفيذ ناجح" - }, - "timestamp": "2025-05-22T06:35:13.179Z" - }, - "正在执行": { - "text": "正在执行", - "key": "t_1_1747895712756", - "translations": { - "zhCN": "正在执行", - "zhTW": "正在執行", - "enUS": "Executing", - "jaJP": "実行中", - "koKR": "실행 중", - "ruRU": "Выполнение", - "ptBR": "Executando", - "frFR": "Exécution en cours", - "esAR": "Ejecutando", - "arDZ": "جارٍ التنفيذ" - }, - "timestamp": "2025-05-22T06:35:13.181Z" - }, - "CA授权管理": { - "text": "CA授权管理", - "key": "t_0_1747903670020", - "translations": { - "zhCN": "CA授权管理", - "zhTW": "CA授權管理", - "enUS": "CA Authorization Management", - "jaJP": "CA認証管理", - "koKR": "CA 권한 관리", - "ruRU": "Управление авторизацией CA", - "ptBR": "Gerenciamento de Autorização CA", - "frFR": "Gestion d'autorisation CA", - "esAR": "Gestión de Autorización CA", - "arDZ": "إدارة التفويض CA" - }, - "timestamp": "2025-05-22T08:48:05.371Z" - }, - "确定删除": { - "text": "确定删除", - "key": "t_2_1747903672640", - "translations": { - "zhCN": "确定删除", - "zhTW": "確定刪除", - "enUS": "Confirm deletion", - "jaJP": "削除を確認", - "koKR": "삭제 확인", - "ruRU": "Подтвердите удаление", - "ptBR": "Confirmar exclusão", - "frFR": "Confirmer la suppression", - "esAR": "Confirmar eliminación", - "arDZ": "تأكيد الحذف" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "确定要删除此CA授权吗?": { - "text": "确定要删除此CA授权吗?", - "key": "t_3_1747903672833", - "translations": { - "zhCN": "确定要删除此CA授权吗?", - "zhTW": "確定要刪除此CA授權嗎?", - "enUS": "Are you sure you want to delete this CA authorization?", - "jaJP": "このCA認証を削除してもよろしいですか?", - "koKR": "이 CA 인증을 삭제하시겠습니까?", - "ruRU": "Вы уверены, что хотите удалить эту авторизацию CA?", - "ptBR": "Tem certeza de que deseja excluir esta autorização CA?", - "frFR": "Êtes-vous sûr de vouloir supprimer cette autorisation CA ?", - "esAR": "¿Estás seguro de que quieres eliminar esta autorización CA?", - "arDZ": "هل أنت متأكد أنك تريد حذف هذا التفويض CA؟" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "添加CA授权": { - "text": "添加CA授权", - "key": "t_4_1747903685371", - "translations": { - "zhCN": "添加CA授权", - "zhTW": "添加CA授權", - "enUS": "Add CA Authorization", - "jaJP": "CA認証を追加", - "koKR": "CA 권한 추가", - "ruRU": "Добавить авторизацию CA", - "ptBR": "Adicionar Autorização CA", - "frFR": "Ajouter une autorisation CA", - "esAR": "Agregar Autorización CA", - "arDZ": "إضافة تفويض CA" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "请输入ACME EAB KID": { - "text": "请输入ACME EAB KID", - "key": "t_5_1747903671439", - "translations": { - "zhCN": "请输入ACME EAB KID", - "zhTW": "請輸入ACME EAB KID", - "enUS": "Please enter ACME EAB KID", - "jaJP": "ACME EAB KIDを入力してください", - "koKR": "ACME EAB KID를 입력하세요", - "ruRU": "Пожалуйста, введите ACME EAB KID", - "ptBR": "Por favor, insira ACME EAB KID", - "frFR": "Veuillez entrer ACME EAB KID", - "esAR": "Por favor, ingrese ACME EAB KID", - "arDZ": "الرجاء إدخال ACME EAB KID" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "请输入ACME EAB HMAC Key": { - "text": "请输入ACME EAB HMAC Key", - "key": "t_6_1747903672931", - "translations": { - "zhCN": "请输入ACME EAB HMAC密钥", - "zhTW": "請輸入ACME EAB HMAC密鑰", - "enUS": "Please enter ACME EAB HMAC Key", - "jaJP": "ACME EAB HMACキーを入力してください", - "koKR": "ACME EAB HMAC 키를 입력하세요", - "ruRU": "Введите ключ HMAC ACME EAB", - "ptBR": "Digite a chave HMAC ACME EAB", - "frFR": "Veuillez saisir la clé HMAC ACME EAB", - "esAR": "Ingrese la clave HMAC ACME EAB", - "arDZ": "الرجاء إدخال مفتاح HMAC ACME EAB" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "请选择CA提供商": { - "text": "请选择CA提供商", - "key": "t_7_1747903678624", - "translations": { - "zhCN": "请选择CA提供商", - "zhTW": "請選擇CA提供商", - "enUS": "Please select CA provider", - "jaJP": "CAプロバイダーを選択してください", - "koKR": "CA 제공자를 선택하십시오", - "ruRU": "Пожалуйста, выберите поставщика CA", - "ptBR": "Por favor, selecione o provedor CA", - "frFR": "Veuillez sélectionner le fournisseur CA", - "esAR": "Por favor, seleccione el proveedor CA", - "arDZ": "يرجى اختيار مزود CA" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "当前CA提供商授权的别名,用于快速识别": { - "text": "当前CA提供商授权的别名,用于快速识别", - "key": "t_8_1747903675532", - "translations": { - "zhCN": "当前CA提供商授权的别名,用于快速识别", - "zhTW": "當前CA提供商授權的別名,用於快速識別", - "enUS": "The alias authorized by the current CA provider for quick identification", - "jaJP": "現在のCAプロバイダーが承認したエイリアス、迅速な識別に使用", - "koKR": "현재 CA 공급자가 승인한 별칭, 빠른 식별용", - "ruRU": "Псевдоним, авторизованный текущим провайдером CA, для быстрой идентификации", - "ptBR": "O apelido autorizado pelo provedor CA atual para identificação rápida", - "frFR": "L'alias autorisé par le fournisseur CA actuel pour une identification rapide", - "esAR": "El alias autorizado por el proveedor de CA actual para identificación rápida", - "arDZ": "الاسم المستعار المصرح به من قبل مزود CA الحالي للتعرف السريع" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "CA提供商": { - "text": "CA提供商", - "key": "t_9_1747903669360", - "translations": { - "zhCN": "CA提供商", - "zhTW": "CA提供商", - "enUS": "CA provider", - "jaJP": "CAプロバイダー", - "koKR": "CA 제공자", - "ruRU": "CA провайдер", - "ptBR": "Provedor de CA", - "frFR": "Fournisseur d'AC", - "esAR": "Proveedor de CA", - "arDZ": "موفر CA" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "ACME EAB KID": { - "text": "ACME EAB KID", - "key": "t_10_1747903662994", - "translations": { - "zhCN": "ACME EAB KID", - "zhTW": "ACME EAB KID", - "enUS": "ACME EAB KID", - "jaJP": "ACME EAB KID", - "koKR": "ACME EAB KID", - "ruRU": "ACME EAB KID", - "ptBR": "ACME EAB KID", - "frFR": "ACME EAB KID", - "esAR": "ACME EAB KID", - "arDZ": "ACME EAB KID" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "请输入CA提供商的ACME EAB KID": { - "text": "请输入CA提供商的ACME EAB KID", - "key": "t_11_1747903674802", - "translations": { - "zhCN": "请输入CA提供商的ACME EAB KID", - "zhTW": "請輸入CA提供商的ACME EAB KID", - "enUS": "Please enter the ACME EAB KID provided by the CA", - "jaJP": "CAプロバイダーのACME EAB KIDを入力してください", - "koKR": "CA 공급자의 ACME EAB KID를 입력하세요", - "ruRU": "Введите ACME EAB KID, предоставленный CA", - "ptBR": "Por favor, insira o ACME EAB KID fornecido pelo CA", - "frFR": "Veuillez entrer l'ACME EAB KID fourni par le CA", - "esAR": "Por favor, ingrese el ACME EAB KID proporcionado por la CA", - "arDZ": "يرجى إدخال ACME EAB KID المقدم من قبل CA" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "ACME EAB HMAC Key": { - "text": "ACME EAB HMAC Key", - "key": "t_12_1747903662994", - "translations": { - "zhCN": "ACME EAB HMAC Key", - "zhTW": "ACME EAB HMAC Key", - "enUS": "ACME EAB HMAC Key", - "jaJP": "ACME EAB HMAC Key", - "koKR": "ACME EAB HMAC Key", - "ruRU": "ACME EAB HMAC Key", - "ptBR": "ACME EAB HMAC Key", - "frFR": "ACME EAB HMAC Key", - "esAR": "ACME EAB HMAC Key", - "arDZ": "ACME EAB HMAC Key" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "请输入CA提供商的ACME EAM HMAC": { - "text": "请输入CA提供商的ACME EAM HMAC", - "key": "t_13_1747903673007", - "translations": { - "zhCN": "请输入CA提供商的ACME EAM HMAC", - "zhTW": "請輸入CA提供商的ACME EAM HMAC", - "enUS": "Enter the CA provider's ACME EAM HMAC", - "jaJP": "CAプロバイダーのACME EAM HMACを入力してください", - "koKR": "CA 제공자의 ACME EAM HMAC을 입력하십시오", - "ruRU": "Введите ACME EAM HMAC поставщика CA", - "ptBR": "Digite o ACME EAM HMAC do provedor de CA", - "frFR": "Entrez l'ACME EAM HMAC du fournisseur de CA", - "esAR": "Ingrese el ACME EAM HMAC del proveedor de CA", - "arDZ": "أدخل ACME EAM HMAC لموفر CA" - }, - "timestamp": "2025-05-22T08:48:05.372Z" - }, - "AllinSSL \\n\\r开源免费的 SSL 证书自动化管理平台 \\n\\r一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。": { - "text": "AllinSSL \\n\\r开源免费的 SSL 证书自动化管理平台 \\n\\r一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。", - "key": "t_0_1747904536291", - "translations": { - "zhCN": "AllinSSL 开源免费的 SSL 证书自动化管理平台 一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。", - "zhTW": "AllinSSL 開源免費的 SSL 證書自動化管理平台 一鍵自動化申請、續期、部署、監控所有 SSL/TLS 證書,支援跨雲環境和多 CA (coding~),告別繁瑣配置和高昂費用。", - "enUS": "AllinSSL, an open-source free SSL certificate automation management platform. One-click automated application, renewal, deployment, and monitoring of all SSL/TLS certificates, supporting cross-cloud environments and multiple CAs (coding~), say goodbye to cumbersome configurations and high costs.", - "jaJP": "AllinSSL オープンソースで無料のSSL証明書自動管理プラットフォーム。すべてのSSL/TLS証明書をワンクリックで自動申請、更新、展開、監視し、マルチクラウド環境と複数のCAをサポート(coding~)、面倒な設定と高額な費用に別れを告げましょう。", - "koKR": "AllinSSL 오픈소스 무료 SSL 자동화 인증서 관리 플랫폼. 모든 SSL/TLS 인증서를 자동으로 신청, 갱신, 배포 및 모니터링하세요. 멀티 클라우드 환경과 여러 CA를 지원하며 (coding~), 번거로운 설정과 높은 비용에 작별을 고합니다.", - "ruRU": "AllinSSL — это бесплатная платформа с открытым исходным кодом для автоматизации управления SSL-сертификатами. Автоматическая подача заявок, продление, развертывание и мониторинг всех SSL/TLS сертификатов одним кликом, поддержка кросс-облачных сред и нескольких CA (coding~), прощайте, сложные настройки и высокие затраты.", - "ptBR": "AllinSSL, uma plataforma gratuita e de código aberto para gerenciamento automatizado de certificados SSL. Aplicação, renovação, implantação e monitoramento automatizados de todos os certificados SSL/TLS com um clique, suportando ambientes multicloud e várias CAs (coding~), diga adeus a configurações complicadas e custos elevados.", - "frFR": "AllinSSL, une plateforme gratuite et open-source de gestion automatisée de certificats SSL. Application, renouvellement, déploiement et surveillance automatisés d'un seul clic pour tous les certificats SSL/TLS, prenant en charge les environnements multi-clouds et plusieurs CA (coding~), dites adieu aux configurations fastidieuses et aux coûts élevés.", - "esAR": "AllinSSL, una plataforma gratuita y de código abierto para la gestión automatizada de certificados SSL. Solicitud, renovación, implementación y monitoreo automatizados de todos los certificados SSL/TLS con un solo clic, compatible con entornos multi-nube y múltiples AC (coding~), adiós a configuraciones engorrosas y costos elevados.", - "arDZ": "AllinSSL منصة مجانية ومفتوحة المصدر لإدارة الشهادات SSL تلقائيًا. تقديم طلبات تلقائية وتجديد ونشر ومراقبة جميع شهادات SSL/TLS بنقرة واحدة، تدعم بيئات متعددة السحابات وعدة جهات اعتماد (coding~)، قل وداعًا للإعدادات المعقدة والتكاليف الباهظة." - }, - "timestamp": "2025-05-22T09:02:16.291Z" - }, - "请输入用于绑定CA授权的邮箱": { - "text": "请输入用于绑定CA授权的邮箱", - "key": "t_0_1747965909665", - "translations": { - "zhCN": "请输入用于绑定CA授权的邮箱", - "zhTW": "請輸入用於綁定CA授權的郵箱", - "enUS": "Please enter the email for binding CA authorization", - "jaJP": "CA認証に使用するメールアドレスを入力してください", - "koKR": "CA 인증에 사용할 이메일을 입력하세요", - "ruRU": "Введите электронную почту для привязки CA авторизации", - "ptBR": "Digite o e-mail para vincular a autorização CA", - "frFR": "Veuillez entrer l'email pour lier l'autorisation CA", - "esAR": "Ingrese el correo electrónico para vincular la autorización CA", - "arDZ": "الرجاء إدخال البريد الإلكتروني لربط تفويض CA" - }, - "timestamp": "2025-05-23T02:05:09.666Z" - }, - "终端部署": { - "text": "终端部署", - "key": "t_0_1747969933657", - "translations": { - "zhCN": "终端部署", - "zhTW": "終端部署", - "enUS": "Terminal deployment", - "jaJP": "端末展開", - "koKR": "터미널 배포", - "ruRU": "Развертывание терминала", - "ptBR": "Implantação de terminal", - "frFR": "Déploiement terminal", - "esAR": "Implementación de terminal", - "arDZ": "نشر المحطة الطرفية" - }, - "timestamp": "2025-05-23T03:12:13.657Z" - }, - "请输入正确的GoDaddy API Key": { - "text": "请输入正确的GoDaddy API Key", - "key": "t_0_1747984137443", - "translations": { - "zhCN": "请输入正确的GoDaddy API密钥", - "zhTW": "請輸入正確的GoDaddy API金鑰", - "enUS": "Please enter the correct GoDaddy API Key", - "jaJP": "正しいGoDaddy APIキーを入力してください", - "koKR": "올바른 GoDaddy API 키를 입력하세요", - "ruRU": "Пожалуйста, введите правильный API ключ GoDaddy", - "ptBR": "Por favor, insira a chave de API correta do GoDaddy", - "frFR": "Veuillez entrer la bonne clé API GoDaddy", - "esAR": "Por favor, ingrese la clave de API correcta de GoDaddy", - "arDZ": "الرجاء إدخال مفتاح API الصحيح لـ GoDaddy" - }, - "timestamp": "2025-05-23T07:08:57.443Z" - }, - "请输入GoDaddy API Secret": { - "text": "请输入GoDaddy API Secret", - "key": "t_1_1747984133312", - "translations": { - "zhCN": "请输入GoDaddy API密钥", - "zhTW": "請輸入GoDaddy API密鑰", - "enUS": "Please enter GoDaddy API Secret", - "jaJP": "GoDaddy APIシークレットを入力してください", - "koKR": "GoDaddy API 비밀을 입력하세요", - "ruRU": "Введите секрет API GoDaddy", - "ptBR": "Por favor, insira o Segredo da API da GoDaddy", - "frFR": "Veuillez entrer le Secret API de GoDaddy", - "esAR": "Por favor ingrese el Secreto de API de GoDaddy", - "arDZ": "يرجى إدخال سر API GoDaddy" - }, - "timestamp": "2025-05-23T07:08:57.446Z" - }, - "请输入七牛云Access Secret": { - "text": "请输入七牛云Access Secret", - "key": "t_2_1747984134626", - "translations": { - "zhCN": "请输入七牛云Access Secret", - "zhTW": "請輸入七牛雲Access Secret", - "enUS": "Please enter Qiniu Cloud Access Secret", - "jaJP": "七牛クラウドのAccess Secretを入力してください", - "koKR": "치니우 클라우드 Access Secret을 입력하세요", - "ruRU": "Пожалуйста, введите Qiniu Cloud Access Secret", - "ptBR": "Por favor, insira o Access Secret do Qiniu Cloud", - "frFR": "Veuillez entrer le Access Secret de Qiniu Cloud", - "esAR": "Por favor ingrese el Access Secret de Qiniu Cloud", - "arDZ": "الرجاء إدخال Qiniu Cloud Access Secret" - }, - "timestamp": "2025-05-23T07:08:57.446Z" - }, - "请输入七牛云Access Key": { - "text": "请输入七牛云Access Key", - "key": "t_3_1747984134586", - "translations": { - "zhCN": "请输入七牛云Access Key", - "zhTW": "請輸入七牛雲Access Key", - "enUS": "Please enter Qiniu Cloud Access Key", - "jaJP": "Qiniu CloudのAccess Keyを入力してください", - "koKR": "치뉴 클라우드 Access Key를 입력하세요", - "ruRU": "Введите Access Key Qiniu Cloud", - "ptBR": "Digite a Access Key do Qiniu Cloud", - "frFR": "Veuillez entrer la clé d'accès Qiniu Cloud", - "esAR": "Ingrese la Access Key de Qiniu Cloud", - "arDZ": "الرجاء إدخال مفتاح الوصول Qiniu Cloud" - }, - "timestamp": "2025-05-23T07:08:57.446Z" - }, - "复制": { - "text": "复制", - "key": "t_4_1747984130327", - "translations": { - "zhCN": "复制", - "zhTW": "复制", - "enUS": "Copy", - "jaJP": "コピー", - "koKR": "복사", - "ruRU": "Копировать", - "ptBR": "Copiar", - "frFR": "Copier", - "esAR": "Copiar", - "arDZ": "نسخ" - }, - "timestamp": "2025-05-23T07:08:57.446Z" - }, - "当距离到期时间": { - "text": "当距离到期时间", - "key": "t_5_1747984133112", - "translations": { - "zhCN": "当距离到期时间", - "zhTW": "當距離到期時間", - "enUS": "When the expiration time is approaching", - "jaJP": "有効期限までの時間が", - "koKR": "만료 시간이 다가올 때", - "ruRU": "Когда срок действия подходит к концу", - "ptBR": "Quando o tempo de expiração está próximo", - "frFR": "Lorsque la date d'expiration approche", - "esAR": "Cuando el tiempo de expiración se acerca", - "arDZ": "عند اقتراب وقت الانتهاء" - }, - "timestamp": "2025-05-23T07:08:57.446Z" - }, - "请选择证书颁发机构": { - "text": "请选择证书颁发机构", - "key": "t_0_1747990228780", - "translations": { - "zhCN": "请选择证书颁发机构", - "zhTW": "請選擇證書頒發機構", - "enUS": "Please select the certificate authority", - "jaJP": "証明書発行機関を選択してください", - "koKR": "증명서 발급 기관을 선택하세요", - "ruRU": "Пожалуйста, выберите центр сертификации", - "ptBR": "Por favor, selecione a autoridade certificadora", - "frFR": "Veuillez sélectionner l'autorité de certification", - "esAR": "Por favor, seleccione la autoridad certificadora", - "arDZ": "يرجى اختيار سلطة التصديق" - }, - "timestamp": "2025-05-23T08:50:35.316Z" - }, - "证书颁发机构(EAB ID)": { - "text": "证书颁发机构(EAB ID)", - "key": "t_1_1747990228492", - "translations": { - "zhCN": "证书颁发机构(EAB ID)", - "zhTW": "證書頒發機構(EAB ID)", - "enUS": "Certificate Authority (EAB ID)", - "jaJP": "証明機関(EAB ID)", - "koKR": "인증 기관 (EAB ID)", - "ruRU": "Центр сертификации (EAB ID)", - "ptBR": "Autoridade de Certificação (ID EAB)", - "frFR": "Autorité de certification (ID EAB)", - "esAR": "Autoridad de Certificación (ID EAB)", - "arDZ": "سلطة الشهادات (معرف EAB)" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "暂无CA授权数据": { - "text": "暂无CA授权数据", - "key": "t_2_1747990228008", - "translations": { - "zhCN": "暂无CA授权数据", - "zhTW": "暫無CA授權數據", - "enUS": "No CA authorization data available", - "jaJP": "CA認証データなし", - "koKR": "CA 인증 데이터 없음", - "ruRU": "Нет данных авторизации CA", - "ptBR": "Nenhum dado de autorização CA disponível", - "frFR": "Aucune donnée d'autorisation CA disponible", - "esAR": "No hay datos de autorización CA disponibles", - "arDZ": "لا تتوفر بيانات تفويض CA" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "获取CA授权列表失败": { - "text": "获取CA授权列表失败", - "key": "t_3_1747990229599", - "translations": { - "zhCN": "获取CA授权列表失败", - "zhTW": "獲取CA授權列表失敗", - "enUS": "Failed to get CA authorization list", - "jaJP": "CA認証リストの取得に失敗しました", - "koKR": "CA 인증 목록 가져오기 실패", - "ruRU": "Не удалось получить список авторизации CA", - "ptBR": "Falha ao obter a lista de autorização CA", - "frFR": "Échec de l'obtention de la liste d'autorisation CA", - "esAR": "Error al obtener la lista de autorización CA", - "arDZ": "فشل في الحصول على قائمة التفويض CA" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "自动续签(天)": { - "text": "自动续签(天)", - "key": "t_4_1747990227956", - "translations": { - "zhCN": "自动续签(天)", - "zhTW": "自動續簽(天)", - "enUS": "Auto-renewal (days)", - "jaJP": "自動更新(日)", - "koKR": "자동 갱신(일)", - "ruRU": "Автопродление (дни)", - "ptBR": "Renovação automática (dias)", - "frFR": "Renouvellement automatique (jours)", - "esAR": "Renovación automática (días)", - "arDZ": "التجديد التلقائي (أيام)" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "证书有效期小于": { - "text": "证书有效期小于", - "key": "t_5_1747990228592", - "translations": { - "zhCN": "证书有效期小于", - "zhTW": "證書有效期小於", - "enUS": "Certificate validity period is less than", - "jaJP": "証明書の有効期間が未満", - "koKR": "인증서 유효 기간 미만", - "ruRU": "Срок действия сертификата менее", - "ptBR": "Período de validade do certificado menor que", - "frFR": "La période de validité du certificat est inférieure à", - "esAR": "El período de validez del certificado es inferior a", - "arDZ": "فترة صلاحية الشهادة أقل من" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "天时,续签新的证书": { - "text": "天时,续签新的证书", - "key": "t_6_1747990228465", - "translations": { - "zhCN": "天时,续签新的证书", - "zhTW": "天時,續簽新的證書", - "enUS": "Time to renew the new certificate", - "jaJP": "タイミング、新しい証明書の更新", - "koKR": "시운, 새로운 인증서 갱신", - "ruRU": "Время обновить новый сертификат", - "ptBR": "Hora de renovar o novo certificado", - "frFR": "Il est temps de renouveler le nouveau certificat", - "esAR": "Momento de renovar el nuevo certificado", - "arDZ": "حان الوقت لتجديد الشهادة الجديدة" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "代理地址(可选)": { - "text": "代理地址(可选)", - "key": "t_7_1747990227761", - "translations": { - "zhCN": "代理地址(可选)", - "zhTW": "代理地址(可選)", - "enUS": "Proxy Address (Optional)", - "jaJP": "プロキシアドレス(オプション)", - "koKR": "프록시 주소(선택 사항)", - "ruRU": "Адрес прокси (опционально)", - "ptBR": "Endereço de Proxy (Opcional)", - "frFR": "Adresse proxy (facultatif)", - "esAR": "Dirección de Proxy (Opcional)", - "arDZ": "عنوان الوكيل (اختياري)" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)": { - "text": "仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)", - "key": "t_8_1747990235316", - "translations": { - "zhCN": "仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)", - "zhTW": "僅支援 http 或 https 代理地址(例如:http://proxy.example.com:8080)", - "enUS": "Only supports http or https proxy addresses (e.g., http://proxy.example.com:8080)", - "jaJP": "http または https プロキシアドレスのみサポートしています(例:http://proxy.example.com:8080)", - "koKR": "http 또는 https 프록시 주소만 지원합니다 (예: http://proxy.example.com:8080)", - "ruRU": "Поддерживаются только прокси-адреса http или https (например, http://proxy.example.com:8080)", - "ptBR": "Apenas suporta endereços de proxy http ou https (por exemplo, http://proxy.example.com:8080)", - "frFR": "Ne prend en charge que les adresses proxy http ou https (par exemple, http://proxy.example.com:8080)", - "esAR": "Solo admite direcciones proxy http o https (por ejemplo, http://proxy.example.com:8080)", - "arDZ": "يدعم فقط عناوين الوكيل http أو https (مثال: http://proxy.example.com:8080)" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "自动续签时间不能为空": { - "text": "自动续签时间不能为空", - "key": "t_9_1747990229640", - "translations": { - "zhCN": "自动续签时间不能为空", - "zhTW": "自動續簽時間不能為空", - "enUS": "Auto-renewal time cannot be empty", - "jaJP": "自動更新時間は空にできません", - "koKR": "자동 갱신 시간은 비워 둘 수 없습니다", - "ruRU": "Время автоматического продления не может быть пустым", - "ptBR": "O tempo de renovação automática não pode estar vazio", - "frFR": "L'heure de renouvellement automatique ne peut pas être vide", - "esAR": "El tiempo de renovación automática no puede estar vacío", - "arDZ": "وقت التجديد التلقائي لا يمكن أن يكون فارغًا" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "请选择网站名,支持多选网站名称": { - "text": "请选择网站名,支持多选网站名称", - "key": "t_10_1747990232207", - "translations": { - "zhCN": "请选择网站名,支持多选网站名称", - "zhTW": "請選擇網站名,支援多選網站名稱", - "enUS": "Please select the website name, multiple selections are supported", - "jaJP": "ウェブサイト名を選択してください(複数選択可)", - "koKR": "웹사이트 이름을 선택하세요 (다중 선택 가능)", - "ruRU": "Пожалуйста, выберите название веб-сайта (поддерживается множественный выбор)", - "ptBR": "Por favor, selecione o nome do site (seleção múltipla suportada)", - "frFR": "Veuillez sélectionner le nom du site (sélection multiple prise en charge)", - "esAR": "Por favor, seleccione el nombre del sitio web (se admiten múltiples selecciones)", - "arDZ": "الرجاء اختيار اسم الموقع (يدعم اختيارات متعددة)" - }, - "timestamp": "2025-05-23T08:50:35.318Z" - }, - "添加Zerossl、Google,自定义CA授权": { - "text": "添加Zerossl、Google,自定义CA授权", - "key": "t_0_1747990626044", - "translations": { - "zhCN": "添加Zerossl、Google,自定义CA授权", - "zhTW": "新增Zerossl、Google,自訂CA授權", - "enUS": "Add Zerossl, Google, custom CA authorization", - "jaJP": "Zerossl、Googleを追加、カスタムCA認証", - "koKR": "Zerossl, Google 추가, 사용자 정의 CA 인증", - "ruRU": "Добавить Zerossl, Google, пользовательскую авторизацию CA", - "ptBR": "Adicionar Zerossl, Google, autorização CA personalizada", - "frFR": "Ajouter Zerossl, Google, autorisation CA personnalisée", - "esAR": "Agregar Zerossl, Google, autorización CA personalizada", - "arDZ": "إضافة Zerossl، Google، تفويض CA مخصص" - }, - "timestamp": "2025-05-23T08:57:06.044Z" - }, - "宝塔docker网站": { - "text": "宝塔docker网站", - "key": "t_0_1747994891459", - "translations": { - "zhCN": "宝塔docker网站", - "zhTW": "寶塔docker網站", - "enUS": "Pagoda docker website", - "jaJP": "宝塔dockerサイト", - "koKR": "보타 docker 웹사이트", - "ruRU": "Веб-сайт Pagoda docker", - "ptBR": "Site do Pagoda docker", - "frFR": "Site web Pagoda docker", - "esAR": "Sitio web de Pagoda docker", - "arDZ": "موقع باغودا docker" - }, - "timestamp": "2025-05-23T10:08:11.459Z" - } + "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。": { + "text": "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。", + "key": "t_0_1744098811152", + "translations": { + "zhCN": "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。", + "zhTW": "警告:您已進入未知區域,所訪問的頁面不存在,請點擊按鈕返回首頁。", + "enUS": "Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.", + "jaJP": "警告:未知のエリアに進入しました。アクセスしようとしたページは存在しません。ボタンをクリックしてホームページに戻ってください。", + "koKR": "경고: 알 수 없는 영역에 진입했습니다. 방문하려는 페이지가 존재하지 않습니다. 버튼을 클릭하여 홈페이지로 돌아가세요。", + "ruRU": "Предупреждение: Вы вошли в неизвестную зону, посещаемая страница не существует, пожалуйста, нажмите кнопку, чтобы вернуться на главную страницу.", + "ptBR": "Aviso: Você entrou em uma área desconhecida, a página que você está visitando não existe, por favor, clique no botão para voltar para a página inicial.", + "frFR": "Avertissement : Vous avez entré dans une zone inconnue, la page que vous visitez n'existe pas, veuillez cliquer sur le bouton pour revenir à la page d'accueil.", + "esAR": "Advertencia: Ha ingresado a una zona desconocida, la página que intenta visitar no existe, por favor, haga clic en el botón para regresar a la página de inicio.", + "arDZ": "تحذير: لقد دخلتم منطقة غير معروفة، الصفحة التي تحاول زيارتها غير موجودة، يرجى الضغط على الزر للعودة إلى الصفحة الرئيسية." + }, + "timestamp": "2025-04-08T07:53:31.152Z" + }, + "返回首页": { + "text": "返回首页", + "key": "t_1_1744098801860", + "translations": { + "zhCN": "返回首页", + "zhTW": "返回首頁", + "enUS": "Return Home", + "jaJP": "ホームに戻る", + "koKR": "홈으로 돌아가기", + "ruRU": "Вернуться на главную", + "ptBR": "Voltar para a homepage", + "frFR": "Retour à l'accueil", + "esAR": "Volver al inicio", + "arDZ": "رجوع إلى الصفحة الرئيسية" + }, + "timestamp": "2025-04-08T07:53:31.153Z" + }, + "安全提示:如果您认为这是个错误,请立即联系管理员": { + "text": "安全提示:如果您认为这是个错误,请立即联系管理员", + "key": "t_2_1744098804908", + "translations": { + "zhCN": "安全提示:如果您认为这是个错误,请立即联系管理员", + "zhTW": "安全提示:如果您認為這是個錯誤,請立即聯繫管理員", + "enUS": "Safety Tip: If you think this is an error, please contact the administrator immediately", + "jaJP": "安全注意:これが誤りだと思われる場合は、すぐに管理者に連絡してください", + "koKR": "안전 유의사항: 이가 오류라면 즉시 관리자에게 연락하십시오", + "ruRU": "Совет по безопасности: Если вы считаете, что это ошибка, немедленно свяжитесь с администратором", + "ptBR": "Dica de Segurança: Se você acha que isso é um erro, entre em contato com o administrador imediatamente", + "frFR": "Avis de sécurité : Si vous pensez que c'est une erreur, veuillez contacter l'administrateur immédiatement", + "esAR": "Consejo de seguridad: Si piensa que es un error, póngase en contacto con el administrador inmediatamente", + "arDZ": "نصيحة أمنية: إذا كنت تعتقد أن هذا خطأ، يرجى الاتصال بالمدير على الفور" + }, + "timestamp": "2025-04-08T07:53:31.153Z" + }, + "展开主菜单": { + "text": "展开主菜单", + "key": "t_3_1744098802647", + "translations": { + "zhCN": "展开主菜单", + "zhTW": "展開主菜單", + "enUS": "Expand Main Menu", + "jaJP": "メインメニューを展開する", + "koKR": "메인 메뉴 펼치기", + "ruRU": "Развернуть главное меню", + "ptBR": "Expandir o menu principal", + "frFR": "Développer le menu principal", + "esAR": "Expandir el menú principal", + "arDZ": "افتح القائمة الرئيسية" + }, + "timestamp": "2025-04-08T07:53:31.153Z" + }, + "折叠主菜单": { + "text": "折叠主菜单", + "key": "t_4_1744098802046", + "translations": { + "zhCN": "折叠主菜单", + "zhTW": "折疊主菜單", + "enUS": "Foldout Main Menu", + "jaJP": "折りたたみメインメニュー", + "koKR": "접기 메인 메뉴", + "ruRU": "Сворачиваемое главное меню", + "ptBR": "Menu principal dobrável", + "frFR": "Menu principal pliable", + "esAR": "Menú principal plegable", + "arDZ": "القائمة الرئيسية القابلة للطي" + }, + "timestamp": "2025-04-08T07:53:31.153Z" + }, + "AllinSSL": { + "text": "AllinSSL", + "key": "t_1_1744164835667", + "translations": { + "zhCN": "AllinSSL", + "zhTW": "AllinSSL", + "enUS": "AllinSSL", + "jaJP": "AllinSSL", + "koKR": "AllinSSL", + "ruRU": "AllinSSL", + "ptBR": "AllinSSL", + "frFR": "AllinSSL", + "esAR": "AllinSSL", + "arDZ": "AllinSSL" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "账号登录": { + "text": "账号登录", + "key": "t_2_1744164839713", + "translations": { + "zhCN": "账号登录", + "zhTW": "帳號登錄", + "enUS": "Account Login", + "jaJP": "アカウントログイン", + "koKR": "계정 로그인", + "ruRU": "Вход в аккаунт", + "ptBR": "Login de Conta", + "frFR": "Connexion du compte", + "esAR": "Iniciar sesión en la cuenta", + "arDZ": "دخول الحساب" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "请输入用户名": { + "text": "请输入用户名", + "key": "t_3_1744164839524", + "translations": { + "zhCN": "请输入用户名", + "zhTW": "請輸入用戶名", + "enUS": "Please enter the username", + "jaJP": "ユーザー名を入力してください", + "koKR": "사용자 이름을 입력하세요", + "ruRU": "Введите имя пользователя", + "ptBR": "Por favor, insira o nome de usuário", + "frFR": "Veuillez saisir le nom d'utilisateur", + "esAR": "Por favor, ingrese el nombre de usuario", + "arDZ": "من فضلك أدخل اسم المستخدم" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "请输入密码": { + "text": "请输入密码", + "key": "t_4_1744164840458", + "translations": { + "zhCN": "请输入密码", + "zhTW": "請輸入密碼", + "enUS": "Please enter the password", + "jaJP": "パスワードを入力してください", + "koKR": "비밀번호를 입력하세요", + "ruRU": "Введіть пароль", + "ptBR": "Por favor, insira a senha", + "frFR": "Veuillez saisir le mot de passe", + "esAR": "Por favor, ingrese la contraseña", + "arDZ": "من فضلك أدخل كلمة المرور" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "记住密码": { + "text": "记住密码", + "key": "t_5_1744164840468", + "translations": { + "zhCN": "记住密码", + "zhTW": "記住密碼", + "enUS": "Remember Password", + "jaJP": "パスワードを覚える", + "koKR": "암호를 기억하다", + "ruRU": "Запомнить пароль", + "ptBR": "Lembrar senha", + "frFR": "Rappelez-vous du mot de passe", + "esAR": "Recordar contraseña", + "arDZ": "تذكر كلمة المرور" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "忘记密码": { + "text": "忘记密码", + "key": "t_6_1744164838900", + "translations": { + "zhCN": "忘记密码", + "zhTW": "忘記密碼", + "enUS": "Forget password", + "jaJP": "パスワードを忘れたら", + "koKR": "비밀번호를 잊었나요?", + "ruRU": "Забыли пароль?", + "ptBR": "Esqueceu sua senha?", + "frFR": "Oublié votre mot de passe?", + "esAR": "¿Olvidaste tu contraseña?", + "arDZ": "هل نسيت كلمة المرور؟" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "登录中": { + "text": "登录中", + "key": "t_7_1744164838625", + "translations": { + "zhCN": "登录中", + "zhTW": "登錄中", + "enUS": "Logging in", + "jaJP": "ログイン中", + "koKR": "로그인 중", + "ruRU": "Вход в систему", + "ptBR": "Entrando", + "frFR": "En cours de connexion", + "esAR": "Logueándose", + "arDZ": "في إجراء الدخول" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "登录": { + "text": "登录", + "key": "t_8_1744164839833", + "translations": { + "zhCN": "登录", + "zhTW": "登錄", + "enUS": "Login", + "jaJP": "ログイン", + "koKR": "로그인", + "ruRU": "Вход", + "ptBR": "Entrar", + "frFR": "Se connecter", + "esAR": "Iniciar sesión", + "arDZ": "تسجيل الدخول" + }, + "timestamp": "2025-04-09T02:14:03.240Z" + }, + "首页": { + "text": "首页", + "key": "t_0_1744258111441", + "translations": { + "zhCN": "首页", + "zhTW": "首頁", + "enUS": "Home", + "jaJP": "ホーム", + "koKR": "홈", + "ruRU": "Главная", + "ptBR": "Início", + "frFR": "Accueil", + "esAR": "Inicio", + "arDZ": "الصفحة الرئيسية" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "自动化部署": { + "text": "自动化部署", + "key": "t_1_1744258113857", + "translations": { + "zhCN": "自动化部署", + "zhTW": "自動部署", + "enUS": "Automation Deployment", + "jaJP": "自動デプロイメント", + "koKR": "자동 배포", + "ruRU": "Автоматическая部署", + "ptBR": "Implantação Automatizada", + "frFR": "Déploiement Automatisé", + "esAR": "Despliegue Automatizado", + "arDZ": "توزيع آلي" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "证书管理": { + "text": "证书管理", + "key": "t_2_1744258111238", + "translations": { + "zhCN": "证书管理", + "zhTW": "證書管理", + "enUS": "Certificate Management", + "jaJP": "証明書管理", + "koKR": "서비스 관리", + "ruRU": "Управление сертификатами", + "ptBR": "Gestão de Certificados", + "frFR": "Gestion des certificats", + "esAR": "Gestión de certificados", + "arDZ": "إدارة الشهادات" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "证书申请": { + "text": "证书申请", + "key": "t_3_1744258111182", + "translations": { + "zhCN": "证书申请", + "zhTW": "證書申請", + "enUS": "Certificate Application", + "jaJP": "証明書申請", + "koKR": "서류 신청", + "ruRU": "Заявка на сертификат", + "ptBR": "Aplicação de certificado", + "frFR": "Demande de certificat", + "esAR": "Solicitud de certificado", + "arDZ": "طلب شهادة" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "授权API管理": { + "text": "授权API管理", + "key": "t_4_1744258111238", + "translations": { + "zhCN": "授权API管理", + "zhTW": "授權API管理", + "enUS": "Authorization API Management", + "jaJP": "認証API管理", + "koKR": "인증 API 관리", + "ruRU": "Управление API авторизации", + "ptBR": "Gerenciamento de API de autorização", + "frFR": "Gestion de l'API d'autorisation", + "esAR": "Gestión de API de autorización", + "arDZ": "إدارة API التصريح" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "监控": { + "text": "监控", + "key": "t_5_1744258110516", + "translations": { + "zhCN": "监控", + "zhTW": "監控", + "enUS": "Monitoring", + "jaJP": "監視", + "koKR": "감시", + "ruRU": "Мониторинг", + "ptBR": "Monitoramento", + "frFR": "Surveillance", + "esAR": "Monitoreo", + "arDZ": "مراقبة" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "设置": { + "text": "设置", + "key": "t_6_1744258111153", + "translations": { + "zhCN": "设置", + "zhTW": "設定", + "enUS": "Settings", + "jaJP": "設定", + "koKR": "설정", + "ruRU": "Настройки", + "ptBR": "Configurações", + "frFR": "Paramètres", + "esAR": "Ajustes", + "arDZ": "إعدادات" + }, + "timestamp": "2025-04-10T04:08:33.857Z" + }, + "返回工作流列表": { + "text": "返回工作流列表", + "key": "t_0_1744861190562", + "translations": { + "zhCN": "返回工作流列表", + "zhTW": "返回工作流程列表", + "enUS": "Return workflow list", + "jaJP": "ワークフローリストの返信", + "koKR": "워크플로우 목록 반환", + "ruRU": "Возврат списка workflows", + "ptBR": "Retornar lista de fluxos de trabalho", + "frFR": "Renvoyer la liste des flux de travail", + "esAR": "Retornar lista de flujos de trabajo", + "arDZ": "إرجاع قائمة عملية العمل" + }, + "timestamp": "2025-04-17T03:39:54.395Z" + }, + "运行": { + "text": "运行", + "key": "t_1_1744861189113", + "translations": { + "zhCN": "运行", + "zhTW": "運行", + "enUS": "Run", + "jaJP": "実行", + "koKR": "실행", + "ruRU": "Запуск", + "ptBR": "Executar", + "frFR": "Exécuter", + "esAR": "Ejecutar", + "arDZ": "تشغيل" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "保存": { + "text": "保存", + "key": "t_2_1744861190040", + "translations": { + "zhCN": "保存", + "zhTW": "儲存", + "enUS": "Save", + "jaJP": "保存する", + "koKR": "저장", + "ruRU": "Сохранить", + "ptBR": "Salvar", + "frFR": "Sauvegarder", + "esAR": "Guardar", + "arDZ": "حفظ" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "请选择一个节点进行配置": { + "text": "请选择一个节点进行配置", + "key": "t_3_1744861190932", + "translations": { + "zhCN": "请选择一个节点进行配置", + "zhTW": "請選擇一個節點進行配置", + "enUS": "Please select a node to configure", + "jaJP": "設定するノードを選んでください", + "koKR": "구성할 노드를 선택하세요", + "ruRU": "Выберите узел для конфигурации", + "ptBR": "Selecione um nó para configurar", + "frFR": "Veuillez sélectionner un nœud à configurer", + "esAR": "Seleccione un nodo para configurar", + "arDZ": "أختر عقدة لتكوينها" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "点击左侧流程图中的节点来配置它": { + "text": "点击左侧流程图中的节点来配置它", + "key": "t_4_1744861194395", + "translations": { + "zhCN": "点击左侧流程图中的节点来配置它", + "zhTW": "點擊左側流程圖中的節點來配置它", + "enUS": "Click on the node in the left-side workflow diagram to configure it", + "jaJP": "左側のフローウォークダイアグラムのノードをクリックして設定してください", + "koKR": "왼쪽의 프로세스 다이어그램에서 노드를 클릭하여 설정하세요", + "ruRU": "Нажмите на узел в левой части схематического процесса, чтобы настроить его", + "ptBR": "Clique no nó do diagrama de workflow do lado esquerdo para configurá-lo", + "frFR": "Clique sur le nœud dans le diagramme de flux de gauche pour le configurer", + "esAR": "Haga clic en el nodo del diagrama de flujo en la parte izquierda para configurarlo", + "arDZ": "انقر على النقطة في الشريحة اليسرى من مخطط العمل لتزويده بالتكوين" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "开始": { + "text": "开始", + "key": "t_5_1744861189528", + "translations": { + "zhCN": "开始", + "zhTW": "開始", + "enUS": "Start", + "jaJP": "始めます", + "koKR": "시작", + "ruRU": "начать", + "ptBR": "iniciar", + "frFR": "commencer", + "esAR": "comenzar", + "arDZ": "تبدأ" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "未选择节点": { + "text": "未选择节点", + "key": "t_6_1744861190121", + "translations": { + "zhCN": "未选择节点", + "zhTW": "未選擇節點", + "enUS": "No node selected", + "jaJP": "ノードを選択していない", + "koKR": "노드를 선택하지 않았습니다", + "ruRU": "Элемент не выбран", + "ptBR": "Nenhum nó selected", + "frFR": "Aucun noeud sélectionné", + "esAR": "Nodo no seleccionado", + "arDZ": "لم يتم اختيار العقدة" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "配置已保存": { + "text": "配置已保存", + "key": "t_7_1744861189625", + "translations": { + "zhCN": "配置已保存", + "zhTW": "配置已保存", + "enUS": "Configuration saved", + "jaJP": "設定が保存されました", + "koKR": "설정이 저장되었습니다", + "ruRU": "Конфигурация сохранена", + "ptBR": "Configuração salva", + "frFR": "Configuration enregistrée", + "esAR": "Configuración guardada", + "arDZ": "تم حفظ الإعدادات" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "开始运行流程": { + "text": "开始运行流程", + "key": "t_8_1744861189821", + "translations": { + "zhCN": "开始运行流程", + "zhTW": "開始執行流程", + "enUS": "Start the workflow", + "jaJP": "ワークフローの開始", + "koKR": "워크플로우 시작", + "ruRU": "Начать процесс", + "ptBR": "Iniciar fluxo de trabalho", + "frFR": "Démarrer le processus", + "esAR": "Iniciar flujo de trabajo", + "arDZ": "بدء عملية العمل" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "选中节点:": { + "text": "选中节点:", + "key": "t_9_1744861189580", + "translations": { + "zhCN": "选中节点:", + "zhTW": "選中節點:", + "enUS": "Selected node:", + "jaJP": "選択ノード:", + "koKR": "선택된 노드:", + "ruRU": "Выбранный узел:", + "ptBR": "Nó selecionado:", + "frFR": "Nœud sélectionné :", + "esAR": "Nodo seleccionado:", + "arDZ": "النقطة المختارة:" + }, + "timestamp": "2025-04-17T03:39:54.396Z" + }, + "节点": { + "text": "节点", + "key": "t_0_1744870861464", + "translations": { + "zhCN": "节点", + "zhTW": "節點", + "enUS": "Node", + "jaJP": "ノード", + "koKR": "노드", + "ruRU": "узел", + "ptBR": "nó", + "frFR": "nœud", + "esAR": "nodo", + "arDZ": "نقطة" + }, + "timestamp": "2025-04-17T06:21:04.616Z" + }, + "节点配置": { + "text": "节点配置", + "key": "t_1_1744870861944", + "translations": { + "zhCN": "节点配置", + "zhTW": "節點配置", + "enUS": "Node Configuration", + "jaJP": "ノード設定", + "koKR": "노드 설정", + "ruRU": "Конфигурация узла", + "ptBR": "Configuração de nó", + "frFR": "Configuration de noeud", + "esAR": "Configuración de nodo", + "arDZ": "إعداد العقدة" + }, + "timestamp": "2025-04-17T06:21:04.616Z" + }, + "请选择左侧节点进行配置": { + "text": "请选择左侧节点进行配置", + "key": "t_2_1744870863419", + "translations": { + "zhCN": "请选择左侧节点进行配置", + "zhTW": "請選擇左側節點進行配置", + "enUS": "Please select the left node for configuration", + "jaJP": "左側のノードを選択して設定してください", + "koKR": "왼쪽 노드를 선택하여 설정하세요", + "ruRU": "Выберите левый узел для настройки", + "ptBR": "Selecione o nó esquerdo para configuração", + "frFR": "Veuillez sélectionner le nœud de gauche pour la configuration", + "esAR": "Seleccione el nodo izquierdo para la configuración", + "arDZ": "يرجى اختيار العقدة اليسرى للتكوين" + }, + "timestamp": "2025-04-17T06:21:04.616Z" + }, + "未找到该节点类型的配置组件": { + "text": "未找到该节点类型的配置组件", + "key": "t_3_1744870864615", + "translations": { + "zhCN": "未找到该节点类型的配置组件", + "zhTW": "未找到該節點類型的配置組件", + "enUS": "Configuration component for this node type not found", + "jaJP": "このノードタイプの設定コンポーネントが見つかりませんでした", + "koKR": "이 노드 유형의 구성 구성 요소를 찾을 수 없습니다", + "ruRU": "Не найден компонент конфигурации для этого типа узла", + "ptBR": "Componente de configuração para esse tipo de nó não encontrado", + "frFR": "Composant de configuration pour ce type de noeud introuvable", + "esAR": "No se encontró el componente de configuración para este tipo de nodo", + "arDZ": "لم يتم العثور على مكون التكوين لهذا النوع من العقد" + }, + "timestamp": "2025-04-17T06:21:04.616Z" + }, + "取消": { + "text": "取消", + "key": "t_4_1744870861589", + "translations": { + "zhCN": "取消", + "zhTW": "取消", + "enUS": "Cancel", + "jaJP": "キャンセル", + "koKR": "취소", + "ruRU": "Отменить", + "ptBR": "Cancelar", + "frFR": "Annuler", + "esAR": "Cancelar", + "arDZ": "إلغاء" + }, + "timestamp": "2025-04-17T06:21:04.616Z" + }, + "确定": { + "text": "确定", + "key": "t_5_1744870862719", + "translations": { + "zhCN": "确定", + "zhTW": "確定", + "enUS": "Confirm", + "jaJP": "確定", + "koKR": "확인", + "ruRU": "подтвердить", + "ptBR": "confirmar", + "frFR": "confirmer", + "esAR": "confirmar", + "arDZ": "تحديد" + }, + "timestamp": "2025-04-17T06:21:04.616Z" + }, + "每分钟": { + "text": "每分钟", + "key": "t_0_1744875938285", + "translations": { + "zhCN": "每分钟", + "zhTW": "每分鐘", + "enUS": "Every minute", + "jaJP": "分ごとに", + "koKR": "분마다", + "ruRU": "каждую минуту", + "ptBR": "a cada minuto", + "frFR": "à chaque minute", + "esAR": "cada minuto", + "arDZ": "كل دقيقة" + }, + "timestamp": "2025-04-17T07:45:40.750Z" + }, + "每小时": { + "text": "每小时", + "key": "t_1_1744875938598", + "translations": { + "zhCN": "每小时", + "zhTW": "每小時", + "enUS": "Each hour", + "jaJP": "毎時間", + "koKR": "매 시간", + "ruRU": "каждый час", + "ptBR": "a cada hora", + "frFR": "chaque heure", + "esAR": "cada hora", + "arDZ": "كل ساعة" + }, + "timestamp": "2025-04-17T07:45:40.750Z" + }, + "每天": { + "text": "每天", + "key": "t_2_1744875938555", + "translations": { + "zhCN": "每天", + "zhTW": "每天", + "enUS": "Every day", + "jaJP": "毎日", + "koKR": "매일", + "ruRU": "каждый день", + "ptBR": "cada dia", + "frFR": "chaque jour", + "esAR": "cada día", + "arDZ": "كل يوم" + }, + "timestamp": "2025-04-17T07:45:40.750Z" + }, + "每月": { + "text": "每月", + "key": "t_3_1744875938310", + "translations": { + "zhCN": "每月", + "zhTW": "每月", + "enUS": "Each month", + "jaJP": "毎月", + "koKR": "매월", + "ruRU": "каждый месяц", + "ptBR": "cada mês", + "frFR": "chaque mois", + "esAR": "cada mes", + "arDZ": "كل شهر" + }, + "timestamp": "2025-04-17T07:45:40.750Z" + }, + "自动执行": { + "text": "自动执行", + "key": "t_4_1744875940750", + "translations": { + "zhCN": "自动执行", + "zhTW": "自動執行", + "enUS": "Automatic execution", + "jaJP": "自動実行", + "koKR": "자동 실행", + "ruRU": "Автоматическое выполнение", + "ptBR": "Execução automática", + "frFR": "Exécution automatique", + "esAR": "Ejecución automática", + "arDZ": "تنفيذ تلقائي" + }, + "timestamp": "2025-04-17T07:45:40.750Z" + }, + "手动执行": { + "text": "手动执行", + "key": "t_5_1744875940010", + "translations": { + "zhCN": "手动执行", + "zhTW": "手動執行", + "enUS": "Manual execution", + "jaJP": "手動実行", + "koKR": "수동 실행", + "ruRU": "Ручное выполнение", + "ptBR": "Execução manual", + "frFR": "Exécution manuelle", + "esAR": "Ejecución manual", + "arDZ": "تنفيذ يدوي" + }, + "timestamp": "2025-04-17T07:45:40.750Z" + }, + "测试PID": { + "text": "测试PID", + "key": "t_0_1744879616135", + "translations": { + "zhCN": "测试PID", + "zhTW": "測試PID", + "enUS": "Test PID", + "jaJP": "テストPID", + "koKR": "테스트PID", + "ruRU": "Тест PID", + "ptBR": "Teste PID", + "frFR": "Test PID", + "esAR": "Test PID", + "arDZ": "اختبار PID" + }, + "timestamp": "2025-04-17T08:46:56.944Z" + }, + "请输入测试PID": { + "text": "请输入测试PID", + "key": "t_1_1744879616555", + "translations": { + "zhCN": "请输入测试PID", + "zhTW": "請輸入測試PID", + "enUS": "Please enter the test PID", + "jaJP": "テストPIDを入力してください", + "koKR": "테스트 PID를 입력하세요", + "ruRU": "Введите тестовый PID", + "ptBR": "Por favor, insira o PID de teste", + "frFR": "Veuillez saisir le PID de test", + "esAR": "Por favor, ingrese el PID de prueba", + "arDZ": "الرجاء إدخال PID الاختباري" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "执行周期": { + "text": "执行周期", + "key": "t_2_1744879616413", + "translations": { + "zhCN": "执行周期", + "zhTW": "執行周期", + "enUS": "Execution cycle", + "jaJP": "実行サイクル", + "koKR": "실행 주기", + "ruRU": "Период выполнения", + "ptBR": "Período de execução", + "frFR": "Cycle d'exécution", + "esAR": "Período de ejecución", + "arDZ": "فترة التنفيذ" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "分钟": { + "text": "分钟", + "key": "t_3_1744879615723", + "translations": { + "zhCN": "分钟", + "zhTW": "分鐘", + "enUS": "minute", + "jaJP": "分", + "koKR": "분", + "ruRU": "минута", + "ptBR": "minuto", + "frFR": "minute", + "esAR": "minuto", + "arDZ": "دقيقة" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "请输入分钟": { + "text": "请输入分钟", + "key": "t_4_1744879616168", + "translations": { + "zhCN": "请输入分钟", + "zhTW": "請輸入分鐘", + "enUS": "Please enter minutes", + "jaJP": "分を入力してください", + "koKR": "분을 입력하세요", + "ruRU": "Введите минуты", + "ptBR": "Por favor, insira os minutos", + "frFR": "Veuillez saisir les minutes", + "esAR": "Por favor, ingrese minutos", + "arDZ": "من فضلك، أدخل الدقائق" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "小时": { + "text": "小时", + "key": "t_5_1744879615277", + "translations": { + "zhCN": "小时", + "zhTW": "小時", + "enUS": "hour", + "jaJP": "時間", + "koKR": "시간", + "ruRU": "час", + "ptBR": "hora", + "frFR": "heure", + "esAR": "hora", + "arDZ": "ساعة" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "请输入小时": { + "text": "请输入小时", + "key": "t_6_1744879616944", + "translations": { + "zhCN": "请输入小时", + "zhTW": "請輸入小時", + "enUS": "Please enter hours", + "jaJP": "時間を入力してください", + "koKR": "시간을 입력하세요", + "ruRU": "Введіть часы", + "ptBR": "Por favor, insira as horas", + "frFR": "Veuillez saisir des heures", + "esAR": "Por favor, introduzca las horas", + "arDZ": "الرجاء إدخال الساعات" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "日期": { + "text": "日期", + "key": "t_7_1744879615743", + "translations": { + "zhCN": "日期", + "zhTW": "日期", + "enUS": "Date", + "jaJP": "日付", + "koKR": "날짜", + "ruRU": "Дата", + "ptBR": "Data", + "frFR": "Date", + "esAR": "Fecha", + "arDZ": "التاريخ" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "请选择日期": { + "text": "请选择日期", + "key": "t_8_1744879616493", + "translations": { + "zhCN": "请选择日期", + "zhTW": "請選擇日期", + "enUS": "Please select a date", + "jaJP": "日付を選択してください", + "koKR": "날짜를 선택하세요", + "ruRU": "Выберите дату", + "ptBR": "Selecione a data", + "frFR": "Sélectionnez une date", + "esAR": "Seleccione una fecha", + "arDZ": "اختر التاريخ" + }, + "timestamp": "2025-04-17T08:46:56.945Z" + }, + "每星期": { + "text": "每星期", + "key": "t_0_1744942117992", + "translations": { + "zhCN": "每周", + "zhTW": "每週", + "enUS": "Every week", + "jaJP": "毎週", + "koKR": "매 주", + "ruRU": "каждую неделю", + "ptBR": "cada semana", + "frFR": "chaque semaine", + "esAR": "cada semana", + "arDZ": "كل أسبوع" + }, + "timestamp": "2025-04-18T02:08:37.992Z" + }, + "周一": { + "text": "周一", + "key": "t_1_1744942116527", + "translations": { + "zhCN": "周一", + "zhTW": "星期一", + "enUS": "Monday", + "jaJP": "月曜日", + "koKR": "월요일", + "ruRU": "понедельник", + "ptBR": "segunda-feira", + "frFR": "lundi", + "esAR": "lunes", + "arDZ": "الإثنين" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "周二": { + "text": "周二", + "key": "t_2_1744942117890", + "translations": { + "zhCN": "周二", + "zhTW": "星期二", + "enUS": "Tuesday", + "jaJP": "火曜日", + "koKR": "화요일", + "ruRU": "вторник", + "ptBR": "terça-feira", + "frFR": "mardi", + "esAR": "martes", + "arDZ": "الثلاثاء" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "周三": { + "text": "周三", + "key": "t_3_1744942117885", + "translations": { + "zhCN": "周三", + "zhTW": "星期三", + "enUS": "Wednesday", + "jaJP": "水曜日", + "koKR": "수요일", + "ruRU": "Среда", + "ptBR": "Quarta-feira", + "frFR": "Mercredi", + "esAR": "Miércoles", + "arDZ": "الأربعاء" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "周四": { + "text": "周四", + "key": "t_4_1744942117738", + "translations": { + "zhCN": "周四", + "zhTW": "週四", + "enUS": "Thursday", + "jaJP": "木曜日", + "koKR": "목요일", + "ruRU": "четверг", + "ptBR": "quarta-feira", + "frFR": "jeudi", + "esAR": "jueves", + "arDZ": "الخميس" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "周五": { + "text": "周五", + "key": "t_5_1744942117167", + "translations": { + "zhCN": "周五", + "zhTW": "週五", + "enUS": "Friday", + "jaJP": "金曜日", + "koKR": "금요일", + "ruRU": "пятница", + "ptBR": "quinta-feira", + "frFR": "vendredi", + "esAR": "viernes", + "arDZ": "الجمعة" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "周六": { + "text": "周六", + "key": "t_6_1744942117815", + "translations": { + "zhCN": "周六", + "zhTW": "週六", + "enUS": "Saturday", + "jaJP": "土曜日", + "koKR": "토요일", + "ruRU": "суббота", + "ptBR": "sábado", + "frFR": "samedi", + "esAR": "sábado", + "arDZ": "السبت" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "周日": { + "text": "周日", + "key": "t_7_1744942117862", + "translations": { + "zhCN": "周日", + "zhTW": "週日", + "enUS": "Sunday", + "jaJP": "日曜日", + "koKR": "일요일", + "ruRU": "воскресенье", + "ptBR": "domingo", + "frFR": "dimanche", + "esAR": "domingo", + "arDZ": "الأحد" + }, + "timestamp": "2025-04-18T02:08:37.993Z" + }, + "请输入域名": { + "text": "请输入域名", + "key": "t_0_1744958839535", + "translations": { + "zhCN": "请输入域名", + "zhTW": "請輸入域名", + "enUS": "Please enter the domain name", + "jaJP": "ドメイン名を入力してください", + "koKR": "도메인 이름을 입력하세요", + "ruRU": "Введите доменное имя", + "ptBR": "Por favor, insira o nome do domínio", + "frFR": "Veuillez saisir le nom de domaine", + "esAR": "Por favor, ingrese el nombre de dominio", + "arDZ": "الرجاء إدخال اسم النطاق" + }, + "timestamp": "2025-04-18T06:47:40.078Z" + }, + "请输入邮箱": { + "text": "请输入邮箱", + "key": "t_1_1744958840747", + "translations": { + "zhCN": "请输入邮箱", + "zhTW": "請輸入郵箱", + "enUS": "Please enter your email", + "jaJP": "メールを入力してください", + "koKR": "이메일을 입력하세요", + "ruRU": "Введите адрес электронной почты", + "ptBR": "Por favor, insira seu e-mail", + "frFR": "Veuillez saisir votre adresse e-mail", + "esAR": "Por favor, ingrese su correo electrónico", + "arDZ": "الرجاء إدخال بريدك الإلكتروني" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "邮箱格式不正确": { + "text": "邮箱格式不正确", + "key": "t_2_1744958840131", + "translations": { + "zhCN": "邮箱格式不正确", + "zhTW": "郵箱格式不正確", + "enUS": "Email format is incorrect", + "jaJP": "メールフォーマットが不正です", + "koKR": "이메일 형식이 틀립니다", + "ruRU": "Неправильный формат электронной почты", + "ptBR": "Formato de e-mail incorreto", + "frFR": "Le format de l'e-mail est incorrect", + "esAR": "El formato del correo electrónico es incorrecto", + "arDZ": "تنسيق البريد الإلكتروني غير صحيح" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "请选择DNS提供商授权": { + "text": "请选择DNS提供商授权", + "key": "t_3_1744958840485", + "translations": { + "zhCN": "请选择DNS提供商授权", + "zhTW": "請選擇DNS提供商授權", + "enUS": "Please select DNS provider authorization", + "jaJP": "DNSプロバイダーの認証を選択してください", + "koKR": "DNS 제공업체 인증을 선택하세요", + "ruRU": "Выберите предоставление DNS-авторизации", + "ptBR": "Selecione o provedor de DNS para autorização", + "frFR": "Veuillez choisir le fournisseur de DNS pour l'autorisation", + "esAR": "Seleccione el proveedor de DNS para la autorización", + "arDZ": "يرجى اختيار مزود DNS للإذن" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "本地部署": { + "text": "本地部署", + "key": "t_4_1744958838951", + "translations": { + "zhCN": "本地部署", + "zhTW": "本地部署", + "enUS": "Local Deployment", + "jaJP": "ローカルデプロイメント", + "koKR": "로컬 배포", + "ruRU": "Локальная установка", + "ptBR": "Implantação Local", + "frFR": "Déploiement local", + "esAR": "Despliegue local", + "arDZ": "تثبيت محلي" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "SSH部署": { + "text": "SSH部署", + "key": "t_5_1744958839222", + "translations": { + "zhCN": "SSH部署", + "zhTW": "SSH部署", + "enUS": "SSH Deployment", + "jaJP": "SSHデプロイメント", + "koKR": "SSH 배포", + "ruRU": "SSH-деплой", + "ptBR": "Desempenho SSH", + "frFR": "Déploiement SSH", + "esAR": "Despliegue SSH", + "arDZ": "تثبيت SSH" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "宝塔面板/1panel(部署到面板证书)": { + "text": "宝塔面板/1panel(部署到面板证书)", + "key": "t_6_1744958843569", + "translations": { + "zhCN": "宝塔面板/1面板(部署到面板证书)", + "zhTW": "宝塔面板/1面板(部署至面板憑證)", + "enUS": "Bao Ta Panel/1 panel (Deploy to panel certificate)", + "jaJP": "宝塔パネル/1パネル(パネル証明書にデプロイ)", + "koKR": "보타 패널/1 패널(패널 인증서로 배포)", + "ruRU": "Панель Баота/1 панель (Установить на панели сертификат)", + "ptBR": "Painel Bota/1 painel (Instalar no certificado do painel)", + "frFR": "Panneau Bao Ta/1 panneau (Déployer sur le certificat du panneau)", + "esAR": "Panel Bao Ta/1 panel (Desplegar en el certificado del panel)", + "arDZ": "لوحة بوتا/1 لوحة (تثبيت في شهادة لوحة)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "宝塔面板/1panel(部署到指定网站项目)": { + "text": "宝塔面板/1panel(部署到指定网站项目)", + "key": "t_7_1744958841708", + "translations": { + "zhCN": "宝塔面板/1面板(部署到指定网站项目)", + "zhTW": "宝塔面板/1面板(部署至指定網站項目)", + "enUS": "1panel (Deploy to specified website project)", + "jaJP": "1パネル(指定のウェブサイトプロジェクトにデプロイ)", + "koKR": "1판널(지정된 웹사이트 프로젝트로 배포)", + "ruRU": "1панель (Деплой на указанный веб-проект)", + "ptBR": "1painel (Deploiamento para o projeto de site especificado)", + "frFR": "1panneau (Déploiement sur le projet de site spécifié)", + "esAR": "1pantalla (Despliegue al proyecto de sitio específico)", + "arDZ": "1 panel (تثبيت على المشروع المحدد لل موقع)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "腾讯云CDN/阿里云CDN": { + "text": "腾讯云CDN/阿里云CDN", + "key": "t_8_1744958841658", + "translations": { + "zhCN": "腾讯云CDN/阿里云CDN", + "zhTW": "腾讯雲CDN/阿里雲CDN", + "enUS": "Tencent Cloud CDN/Aliyun CDN", + "jaJP": "テンセントクラウドCDN/アリクラウドCDN", + "koKR": "테encent 클라우드 CDN/알리 클라우드 CDN", + "ruRU": "Кloud CDN/АлиCloud CDN", + "ptBR": "Tencent Cloud CDN/AliCloud CDN", + "frFR": "Tencent Cloud CDN/AliCloud CDN", + "esAR": "Tencent Cloud CDN/AliCloud CDN", + "arDZ": "تencent Cloud CDN/أليCloud CDN" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "腾讯云WAF": { + "text": "腾讯云WAF", + "key": "t_9_1744958840634", + "translations": { + "zhCN": "腾讯云WAF", + "zhTW": "腾讯雲WAF", + "enUS": "Tencent Cloud WAF", + "jaJP": "腾讯クラウドWAF", + "koKR": "테니엔 클라우드 WAF", + "ruRU": "Тencent Cloud WAF", + "ptBR": "WAF da Tencent Cloud", + "frFR": "WAF de Tencent Cloud", + "esAR": "WAF de Tencent Cloud", + "arDZ": "WAF من Tencent Cloud" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "阿里云WAF": { + "text": "阿里云WAF", + "key": "t_10_1744958860078", + "translations": { + "zhCN": "阿里云WAF", + "zhTW": "阿里雲WAF", + "enUS": "Alicloud WAF", + "jaJP": "アリクラウドWAF", + "koKR": "아리 클라우드 WAF", + "ruRU": "АлиCloud WAF", + "ptBR": "Alicloud WAF", + "frFR": "WAF d'Alicloud", + "esAR": "WAF de AliCloud", + "arDZ": "WAF من آليكلاود" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "本次自动申请的证书": { + "text": "本次自动申请的证书", + "key": "t_11_1744958840439", + "translations": { + "zhCN": "本次自动申请的证书", + "zhTW": "本次自動申請的證書", + "enUS": "This automatically applied certificate", + "jaJP": "この自動申請証明書", + "koKR": "이 자동 신청 증명서", + "ruRU": "Этот автоматически применяемый сертификат", + "ptBR": "Este certificado aplicado automaticamente", + "frFR": "Ce certificat appliqué automatiquement", + "esAR": "Este certificado aplicado automáticamente", + "arDZ": "هذا الشهادة المطلوبة تلقائيًا" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "可选证书列表": { + "text": "可选证书列表", + "key": "t_12_1744958840387", + "translations": { + "zhCN": "可选证书列表", + "zhTW": "可選證書清單", + "enUS": "Optional certificate list", + "jaJP": "オプションの証明書リスト", + "koKR": "선택 가능한 인증서 목록", + "ruRU": "Список доступных сертификатов", + "ptBR": "Lista de certificados opcionais", + "frFR": "Liste des certificats optionnels", + "esAR": "Lista de certificados opcionales", + "arDZ": "قائمة الشهادات الاختيارية" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "PEM(*.pem,*.crt,*.key)": { + "text": "PEM(*.pem,*.crt,*.key)", + "key": "t_13_1744958840714", + "translations": { + "zhCN": "PEM(*.pem,*.crt,*.key)", + "zhTW": "PEM(*.pem,*.crt,*.key)", + "enUS": "PEM (*.pem, *.crt, *.key)", + "jaJP": "PEM(*.pem、*.crt、*.key)", + "koKR": "PEM (*.pem, *.crt, *.key)", + "ruRU": "PEM (*.pem, *.crt, *.key)", + "ptBR": "PEM (*.pem, *.crt, *.key)", + "frFR": "PEM (*.pem, *.crt, *.key)", + "esAR": "PEM (*.pem, *.crt, *.key)", + "arDZ": "PEM (*.pem, *.crt, *.key)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "PFX(*.pfx)": { + "text": "PFX(*.pfx)", + "key": "t_14_1744958839470", + "translations": { + "zhCN": "PFX(*.pfx)", + "zhTW": "PFX(*.pfx)", + "enUS": "PFX (*.pfx)", + "jaJP": "PFX(*.pfx)", + "koKR": "PFX (*.pfx)", + "ruRU": "PFX (*.pfx)", + "ptBR": "PFX (*.pfx)", + "frFR": "PFX (*.pfx)", + "esAR": "PFX (*.pfx)", + "arDZ": "PFX (*.pfx)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "JKS(*.jks)": { + "text": "JKS(*.jks)", + "key": "t_15_1744958840790", + "translations": { + "zhCN": "JKS(*.jks)", + "zhTW": "JKS(*.jks)", + "enUS": "JKS (*.jks)", + "jaJP": "JKS (*.jks)", + "koKR": "JKS (*.jks)", + "ruRU": "JKS (*.jks)", + "ptBR": "JKS (*.jks)", + "frFR": "JKS (*.jks)", + "esAR": "JKS (*.jks)", + "arDZ": "JKS (*.jks)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "POSIX bash (linux/macos)": { + "text": "POSIX bash (linux/macos)", + "key": "t_16_1744958841116", + "translations": { + "zhCN": "POSIX bash(Linux/MacOS)", + "zhTW": "POSIX bash(Linux/macOS)", + "enUS": "POSIX bash (Linux/macOS)", + "jaJP": "POSIX bash(Linux/macOS)", + "koKR": "POSIX bash (Linux/macOS)", + "ruRU": "POSIX bash (Linux/macOS)", + "ptBR": "POSIX bash (Linux/macOS)", + "frFR": "POSIX bash (Linux/macOS)", + "esAR": "POSIX bash (Linux/macOS)", + "arDZ": "POSIX bash (Linux/macOS)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "CMD(Windows)": { + "text": "CMD(Windows)", + "key": "t_17_1744958839597", + "translations": { + "zhCN": "命令行(Windows)", + "zhTW": "命令行(Windows)", + "enUS": "CMD (Windows)", + "jaJP": "コマンドライン(Windows)", + "koKR": "명령어 라인 (Windows)", + "ruRU": "Комуンド лайн (Windows)", + "ptBR": "Linha de Comando (Windows)", + "frFR": "CMD (Windows)", + "esAR": "CMD (Windows)", + "arDZ": "CMD (Windows)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "PowerShell(Windows)": { + "text": "PowerShell(Windows)", + "key": "t_18_1744958839895", + "translations": { + "zhCN": "PowerShell(Windows)", + "zhTW": "PowerShell(Windows)", + "enUS": "PowerShell (Windows)", + "jaJP": "PowerShell(ウィンドウズ)", + "koKR": "파워셀(윈도우)", + "ruRU": "PowerShell (Windows)", + "ptBR": "PowerShell (Windows)", + "frFR": "PowerShell (Windows)", + "esAR": "PowerShell (Windows)", + "arDZ": "PowerShell (Windows)" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "证书1": { + "text": "证书1", + "key": "t_19_1744958839297", + "translations": { + "zhCN": "证书1", + "zhTW": "證書1", + "enUS": "Certificate 1", + "jaJP": "証明書1", + "koKR": "인증서1", + "ruRU": "Сертификат1", + "ptBR": "Certificado 1", + "frFR": "Certificat 1", + "esAR": "Certificado 1", + "arDZ": "شهادة1" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "证书2": { + "text": "证书2", + "key": "t_20_1744958839439", + "translations": { + "zhCN": "证书2", + "zhTW": "證書2", + "enUS": "Certificate 2", + "jaJP": "証明書2", + "koKR": "증명서 2", + "ruRU": "Сертификат 2", + "ptBR": "Certificado 2", + "frFR": "Certificat 2", + "esAR": "Certificado 2", + "arDZ": "شهادة 2" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "服务器1": { + "text": "服务器1", + "key": "t_21_1744958839305", + "translations": { + "zhCN": "服务器1", + "zhTW": "伺服器1", + "enUS": "Server 1", + "jaJP": "サーバー1", + "koKR": "서버1", + "ruRU": "Сервер 1", + "ptBR": "Servidor 1", + "frFR": "Serveur 1", + "esAR": "Servidor 1", + "arDZ": "خادم 1" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "服务器2": { + "text": "服务器2", + "key": "t_22_1744958841926", + "translations": { + "zhCN": "服务器2", + "zhTW": "伺服器2", + "enUS": "Server 2", + "jaJP": "サーバー2", + "koKR": "서버2", + "ruRU": "Сервер 2", + "ptBR": "Servidor 2", + "frFR": "Serveur 2", + "esAR": "Servidor 2", + "arDZ": "خادم 2" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "面板1": { + "text": "面板1", + "key": "t_23_1744958838717", + "translations": { + "zhCN": "面板1", + "zhTW": "面板1", + "enUS": "Panel 1", + "jaJP": "パネル1", + "koKR": "판널 1", + "ruRU": "Панель 1", + "ptBR": "Painel 1", + "frFR": "Panneau 1", + "esAR": "Panel 1", + "arDZ": "اللوحة 1" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "日": { + "text": "日", + "key": "t_29_1744958838904", + "translations": { + "zhCN": "日", + "zhTW": "日", + "enUS": "Day", + "jaJP": "日", + "koKR": "일", + "ruRU": "день", + "ptBR": "dia", + "frFR": "jour", + "esAR": "día", + "arDZ": "يوم" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "证书格式不正确,请检查是否包含完整的证书头尾标识": { + "text": "证书格式不正确,请检查是否包含完整的证书头尾标识", + "key": "t_30_1744958843864", + "translations": { + "zhCN": "证书格式不正确,请检查是否包含完整的证书头尾标识", + "zhTW": "證書格式不正確,請檢查是否包含完整的證書頭尾識別", + "enUS": "Certificate format is incorrect, please check if it includes the complete certificate header and footer identifiers", + "jaJP": "証明書のフォーマットが不正です。完全な証明書のヘッダおよびフッタ識別子が含まれているか確認してください。", + "koKR": "서류 형식이 잘못되었습니다. 전체 서류 헤더 및 푸터 식별자가 포함되어 있는지 확인해 주세요.", + "ruRU": "Формат сертификата не правильный, пожалуйста, проверьте, содержит ли он полную информацию о заголовке и подзаголовке сертификата", + "ptBR": "O formato do certificado está incorreto, por favor verifique se ele contém os identificadores de cabeçalho e rodapé completos", + "frFR": "Le format du certificat est incorrect, veuillez vérifier s'il contient les identifiants d'en-tête et de pied de page complets", + "esAR": "El formato del certificado no es correcto, por favor revise si contiene las identificaciones de cabecera y pie completo", + "arDZ": "تنسيق الشهادة غير صحيح، يرجى التحقق مما إذا كان يحتوي على العناصر التوضيحية للعناوين والرؤوس الكاملة" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "私钥格式不正确,请检查是否包含完整的私钥头尾标识": { + "text": "私钥格式不正确,请检查是否包含完整的私钥头尾标识", + "key": "t_31_1744958844490", + "translations": { + "zhCN": "私钥格式不正确,请检查是否包含完整的私钥头尾标识", + "zhTW": "私钥格式不正確,請檢查是否包含完整的私钥頭尾識別", + "enUS": "Private key format is incorrect, please check if it includes the complete private key header and footer identifier", + "jaJP": "プライベートキーフォーマットが不正です。完全なプライベートキーヘッダおよびフッタ識別子が含まれているか確認してください。", + "koKR": "비밀키 형식이 잘못되었습니다. 완전한 비밀키 헤더 및 푸터 식별자가 포함되어 있는지 확인해 주세요.", + "ruRU": "Формат私ного ключа incorrect, пожалуйста, проверьте, содержит ли он полный идентификатор заголовка и нижнего колонтитула частного ключа", + "ptBR": "O formato da chave privada está incorreto, por favor, verifique se ele contém o identificador completo do cabeçalho e pé de página da chave privada", + "frFR": "Le format de la clé privée est incorrect, veuillez vérifier si elle contient l'identifiant complet de l'en-tête et du pied de page de la clé privée", + "esAR": "El formato de la clave privada no es correcto, por favor verifique si contiene el identificador completo de la cabecera y el pie de página de la clave privada", + "arDZ": "شكل المفتاح الخاص غير صحيح، يرجى التحقق من أن يحتوي على معرف الرأس والساقطة الكاملة للمفتاح الخاص" + }, + "timestamp": "2025-04-18T06:47:40.083Z" + }, + "自动化名称": { + "text": "自动化名称", + "key": "t_0_1745215914686", + "translations": { + "zhCN": "自动化名称", + "zhTW": "自動化名稱", + "enUS": "Automation Name", + "jaJP": "自動化名前", + "koKR": "자동화 이름", + "ruRU": "Название автоматизации", + "ptBR": "Nome de automação", + "frFR": "Nom d'automatisation", + "esAR": "Nombre de automatización", + "arDZ": "اسم التلقائية" + }, + "timestamp": "2025-04-21T06:11:56.235Z" + }, + "自动": { + "text": "自动", + "key": "t_2_1745215915397", + "translations": { + "zhCN": "自动", + "zhTW": "自動", + "enUS": "Automatic", + "jaJP": "自動", + "koKR": "자동", + "ruRU": "автоматический", + "ptBR": "automático", + "frFR": "automatique", + "esAR": "automático", + "arDZ": "تلقائي" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "手动": { + "text": "手动", + "key": "t_3_1745215914237", + "translations": { + "zhCN": "手动", + "zhTW": "手動", + "enUS": "Manual", + "jaJP": "手動", + "koKR": "수동", + "ruRU": "ручной", + "ptBR": "Manual", + "frFR": "Manuel", + "esAR": "Manual", + "arDZ": "يدوي" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "启用状态": { + "text": "启用状态", + "key": "t_4_1745215914951", + "translations": { + "zhCN": "启用状态", + "zhTW": "啟用狀態", + "enUS": "Enabled Status", + "jaJP": "有効状態", + "koKR": "활성 상태", + "ruRU": "Активный статус", + "ptBR": "Estado ativado", + "frFR": "Statut activé", + "esAR": "Estado activo", + "arDZ": "حالة نشطة" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "启用": { + "text": "启用", + "key": "t_5_1745215914671", + "translations": { + "zhCN": "启用", + "zhTW": "啟用", + "enUS": "Enable", + "jaJP": "有効にする", + "koKR": "활성화", + "ruRU": "Включить", + "ptBR": "Ativar", + "frFR": "Activer", + "esAR": "Activar", + "arDZ": "تفعيل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "停用": { + "text": "停用", + "key": "t_6_1745215914104", + "translations": { + "zhCN": "停用", + "zhTW": "停用", + "enUS": "Disabling", + "jaJP": "停止", + "koKR": "정지", + "ruRU": "Отключение", + "ptBR": "Desativar", + "frFR": "Désactiver", + "esAR": "Desactivar", + "arDZ": "إيقاف" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "创建时间": { + "text": "创建时间", + "key": "t_7_1745215914189", + "translations": { + "zhCN": "创建时间", + "zhTW": "創建時間", + "enUS": "Creation Time", + "jaJP": "作成時間", + "koKR": "생성 시간", + "ruRU": "Время создания", + "ptBR": "Hora de criação", + "frFR": "Heure de création", + "esAR": "Tiempo de creación", + "arDZ": "وقت الإنشاء" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "操作": { + "text": "操作", + "key": "t_8_1745215914610", + "translations": { + "zhCN": "操作", + "zhTW": "操作", + "enUS": "Operation", + "jaJP": "操作", + "koKR": "操作", + "ruRU": "Операция", + "ptBR": "Operação", + "frFR": "Opération", + "esAR": "Operación", + "arDZ": "عملية" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "执行历史": { + "text": "执行历史", + "key": "t_9_1745215914666", + "translations": { + "zhCN": "执行历史", + "zhTW": "執行歷史", + "enUS": "Execution History", + "jaJP": "実行履歴", + "koKR": "실행 이력", + "ruRU": "История выполнения", + "ptBR": "Histórico de execução", + "frFR": "Historique d'exécution", + "esAR": "Historial de ejecución", + "arDZ": "تاريخ التنفيذ" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "执行": { + "text": "执行", + "key": "t_10_1745215914342", + "translations": { + "zhCN": "执行", + "zhTW": "執行", + "enUS": "Execute", + "jaJP": "実行", + "koKR": "실行", + "ruRU": "исполнение", + "ptBR": "executar", + "frFR": "exécuter", + "esAR": "ejecutar", + "arDZ": "تنفيذ" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "编辑": { + "text": "编辑", + "key": "t_11_1745215915429", + "translations": { + "zhCN": "编辑", + "zhTW": "編輯", + "enUS": "Edit", + "jaJP": "編集", + "koKR": "편집", + "ruRU": "Редактировать", + "ptBR": "Editar", + "frFR": "Éditer", + "esAR": "Editar", + "arDZ": "تعديل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "删除": { + "text": "删除", + "key": "t_12_1745215914312", + "translations": { + "zhCN": "删除", + "zhTW": "刪除", + "enUS": "Delete", + "jaJP": "削除", + "koKR": "삭제", + "ruRU": "Удалить", + "ptBR": "Excluir", + "frFR": "Supprimer", + "esAR": "Eliminar", + "arDZ": "حذف" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "执行工作流": { + "text": "执行工作流", + "key": "t_13_1745215915455", + "translations": { + "zhCN": "执行工作流", + "zhTW": "執行工作流程", + "enUS": "Execute workflow", + "jaJP": "ワークフローの実行", + "koKR": "워크플로우 실행", + "ruRU": "Выполнение процесса", + "ptBR": "Executar fluxo de trabalho", + "frFR": "Exécuter le flux de travail", + "esAR": "Ejecutar flujo de trabajo", + "arDZ": "تنفيذ مسار العمل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "工作流执行成功": { + "text": "工作流执行成功", + "key": "t_14_1745215916235", + "translations": { + "zhCN": "工作流执行成功", + "zhTW": "工作流程執行成功", + "enUS": "Workflow executed successfully", + "jaJP": "ワークフローエグゼクション成功", + "koKR": "워크플로우 실행 성공", + "ruRU": "Успешное выполнение рабочей流程", + "ptBR": "Execução do fluxo de trabalho bem-sucedida", + "frFR": "Exécution du flux de travail réussie", + "esAR": "Ejecución del flujo de trabajo exitosa", + "arDZ": "نجاح تنفيذ عملية العمل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "工作流执行失败": { + "text": "工作流执行失败", + "key": "t_15_1745215915743", + "translations": { + "zhCN": "工作流执行失败", + "zhTW": "工作流程執行失敗", + "enUS": "Workflow execution failed", + "jaJP": "ワークフローエクセキュション失敗", + "koKR": "워크플로우 실행 실패", + "ruRU": "Неудача выполнения процесса", + "ptBR": "Execução do fluxo de trabalho falhou", + "frFR": "Échec de l'exécution du flux de travail", + "esAR": "Fallo en la ejecución del flujo de trabajo", + "arDZ": "فشل تنفيذ عملية العمل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "删除工作流": { + "text": "删除工作流", + "key": "t_16_1745215915209", + "translations": { + "zhCN": "删除工作流", + "zhTW": "刪除工作流程", + "enUS": "Delete Workflow", + "jaJP": "ワークフローを削除する", + "koKR": "워크플로우 제거", + "ruRU": "Удалить workflow", + "ptBR": "Excluir workflow", + "frFR": "Supprimer le flux de travail", + "esAR": "Eliminar flujo de trabajo", + "arDZ": "حذف مسار العمل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "工作流删除成功": { + "text": "工作流删除成功", + "key": "t_17_1745215915985", + "translations": { + "zhCN": "工作流删除成功", + "zhTW": "工作流程刪除成功", + "enUS": "Workflow deletion successful", + "jaJP": "ワークフローの削除が成功しました", + "koKR": "워크플로우가 성공적으로 삭제되었습니다", + "ruRU": "Удаление рабочей схемы успешено", + "ptBR": "Deleção do fluxo de trabalho bem-sucedida", + "frFR": "Suppression du flux de travail réussie", + "esAR": "Eliminación del flujo de trabajo exitosa", + "arDZ": "نجاح عملية حذف العملية" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "工作流删除失败": { + "text": "工作流删除失败", + "key": "t_18_1745215915630", + "translations": { + "zhCN": "工作流删除失败", + "zhTW": "工作流程刪除失敗", + "enUS": "Workflow deletion failed", + "jaJP": "ワークフローの削除に失敗しました", + "koKR": "워크플로우 삭제 실패", + "ruRU": "Не удалось удалить рабочий процесс", + "ptBR": "Falha ao excluir fluxo de trabalho", + "frFR": "Échec de la suppression du flux de travail", + "esAR": "Fallo al eliminar el flujo de trabajo", + "arDZ": "فشل حذف مسار العمل" + }, + "timestamp": "2025-04-21T06:11:56.237Z" + }, + "请输入自动化名称": { + "text": "请输入自动化名称", + "key": "t_1_1745227838776", + "translations": { + "zhCN": "请输入自动化名称", + "zhTW": "請輸入自動化名稱", + "enUS": "Please enter the automation name", + "jaJP": "自動化名前を入力してください", + "koKR": "자동화 이름을 입력하세요", + "ruRU": "Введите имя автоматизации", + "ptBR": "Por favor, insira o nome da automação", + "frFR": "Veuillez saisir le nom de l'automatisation", + "esAR": "Por favor, ingrese el nombre de automatización", + "arDZ": "الرجاء إدخال اسم الت automatization" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "确定要执行{name}工作流吗?": { + "text": "确定要执行{name}工作流吗?", + "key": "t_2_1745227839794", + "translations": { + "zhCN": "确定要执行{name}工作流吗?", + "zhTW": "確定要執行{name}工作流程嗎?", + "enUS": "Are you sure you want to execute the {name} workflow?", + "jaJP": "{name}ワークフローの実行を確認しますか?", + "koKR": "{name} 작업 흐름을 실행하시겠습니까?", + "ruRU": "Уверены, что хотите выполнить workflow {name}?", + "ptBR": "Tem certeza de que deseja executar o workflow {name}?", + "frFR": "Êtes-vous sûr de vouloir exécuter le workflow {name}?", + "esAR": "¿Está seguro de que desea ejecutar el flujo de trabajo {name}?", + "arDZ": "هل أنت متأكد من أنك تريد تنفيذ عملية {name}؟" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "确认要删除{name}工作流吗?此操作不可恢复。": { + "text": "确认要删除{name}工作流吗?此操作不可恢复。", + "key": "t_3_1745227841567", + "translations": { + "zhCN": "确认要删除{name}工作流吗?此操作不可恢复。", + "zhTW": "確認要刪除{name}工作流程嗎?此操作無法恢復。", + "enUS": "Confirm deletion of {name} workflow? This action cannot be undone.", + "jaJP": "{name}のワークフローの削除を確認しますか?この操作は元に戻せません。", + "koKR": "{name} 작업流程을 정말로 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.", + "ruRU": "Подтвердите удаление {name} потока работы? Это действие нельзя отменить.", + "ptBR": "Confirma a exclusão do fluxo de trabalho {name}? Esta ação não pode ser revertida.", + "frFR": "Confirmez-vous la suppression du flux de travail {name} ? Cette action ne peut pas être annulée.", + "esAR": "¿Confirma la eliminación del flujo de trabajo {name}? Esta acción no se puede deshacer.", + "arDZ": "هل تؤكد على حذف {name} مسار العمل؟ هذه العملية لا يمكن إلغاؤها." + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "执行时间": { + "text": "执行时间", + "key": "t_4_1745227838558", + "translations": { + "zhCN": "执行时间", + "zhTW": "執行時間", + "enUS": "Execution Time", + "jaJP": "実行時間", + "koKR": "실행 시간", + "ruRU": "Время выполнения", + "ptBR": "Tempo de execução", + "frFR": "Temps d'exécution", + "esAR": "Tiempo de ejecución", + "arDZ": "وقت التنفيذ" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "结束时间": { + "text": "结束时间", + "key": "t_5_1745227839906", + "translations": { + "zhCN": "结束时间", + "zhTW": "結束時間", + "enUS": "End time", + "jaJP": "終了時間", + "koKR": "종료 시간", + "ruRU": "Время окончания", + "ptBR": "Hora de término", + "frFR": "Heure de fin", + "esAR": "Hora de finalización", + "arDZ": "وقت الانتهاء" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "执行方式": { + "text": "执行方式", + "key": "t_6_1745227838798", + "translations": { + "zhCN": "执行方式", + "zhTW": "執行方式", + "enUS": "Execution method", + "jaJP": "実行方法", + "koKR": "실행 방식", + "ruRU": "Способ выполнения", + "ptBR": "Método de execução", + "frFR": "Méthode d'exécution", + "esAR": "Método de ejecución", + "arDZ": "طريقة التنفيذ" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "状态": { + "text": "状态", + "key": "t_7_1745227838093", + "translations": { + "zhCN": "状态", + "zhTW": "狀態", + "enUS": "Status", + "jaJP": "状態", + "koKR": "상태", + "ruRU": "Состояние", + "ptBR": "Status", + "frFR": "Statut", + "esAR": "Estado", + "arDZ": "الحالة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "成功": { + "text": "成功", + "key": "t_8_1745227838023", + "translations": { + "zhCN": "成功", + "zhTW": "成功", + "enUS": "Success", + "jaJP": "成功", + "koKR": "성공", + "ruRU": "Успех", + "ptBR": "Sucesso", + "frFR": "Réussite", + "esAR": "Éxito", + "arDZ": "نجاح" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "失败": { + "text": "失败", + "key": "t_9_1745227838305", + "translations": { + "zhCN": "失败", + "zhTW": "失敗", + "enUS": "Failure", + "jaJP": "失敗", + "koKR": "실패", + "ruRU": "неудача", + "ptBR": "fracasso", + "frFR": "échec", + "esAR": "fallo", + "arDZ": "فشل" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "执行中": { + "text": "执行中", + "key": "t_10_1745227838234", + "translations": { + "zhCN": "执行中", + "zhTW": "執行中", + "enUS": "In progress", + "jaJP": "実行中", + "koKR": "진행 중", + "ruRU": "В процессе", + "ptBR": "Em andamento", + "frFR": "En cours", + "esAR": "En ejecución", + "arDZ": "في تنفيذ" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "未知": { + "text": "未知", + "key": "t_11_1745227838422", + "translations": { + "zhCN": "未知", + "zhTW": "未知", + "enUS": "Unknown", + "jaJP": "不明", + "koKR": "알 수 없음", + "ruRU": "неизвестно", + "ptBR": "desconhecido", + "frFR": "inconnu", + "esAR": "desconocido", + "arDZ": "غير معروف" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "详情": { + "text": "详情", + "key": "t_12_1745227838814", + "translations": { + "zhCN": "详情", + "zhTW": "詳細", + "enUS": "Details", + "jaJP": "詳細", + "koKR": "상세정보", + "ruRU": "Подробности", + "ptBR": "Detalhes", + "frFR": "Détails", + "esAR": "Detalles", + "arDZ": "تفاصيل" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "上传证书": { + "text": "上传证书", + "key": "t_13_1745227838275", + "translations": { + "zhCN": "上传证书", + "zhTW": "上傳證書", + "enUS": "Upload Certificate", + "jaJP": "証明書のアップロード", + "koKR": "서명서 업로드", + "ruRU": "Загрузить сертификат", + "ptBR": "Enviar certificado", + "frFR": "Télécharger un certificat", + "esAR": "Subir certificado", + "arDZ": "تحميل شهادة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "请输入证书域名或品牌名称搜索": { + "text": "请输入证书域名或品牌名称搜索", + "key": "t_14_1745227840904", + "translations": { + "zhCN": "请输入证书域名或品牌名称进行搜索", + "zhTW": "請輸入證書域名或品牌名稱搜尋", + "enUS": "Please enter the certificate domain name or brand name to search", + "jaJP": "証明書ドメイン名またはブランド名を入力して検索してください", + "koKR": "자격증 도메인 이름 또는 브랜드 이름을 입력하여 검색하세요", + "ruRU": "Введіть доменное имя сертификата или название бренда для поиска", + "ptBR": "Insira o nome do domínio do certificado ou o nome da marca para pesquisa", + "frFR": "Saisissez le nom de domaine du certificat ou le nom de la marque pour la recherche", + "esAR": "Ingrese el nombre de dominio del certificado o el nombre de la marca para buscar", + "arDZ": "الرجاء إدخال اسم نطاق الشهادة أو اسم العلامة التجارية للبحث عنها" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "共": { + "text": "共", + "key": "t_15_1745227839354", + "translations": { + "zhCN": "共", + "zhTW": "共", + "enUS": "Together", + "jaJP": "共同に", + "koKR": "함께", + "ruRU": "вместе", + "ptBR": "juntos", + "frFR": "ensemble", + "esAR": "juntos", + "arDZ": "معا" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "条": { + "text": "条", + "key": "t_16_1745227838930", + "translations": { + "zhCN": "条", + "zhTW": "條", + "enUS": "strip", + "jaJP": "本", + "koKR": "개", + "ruRU": "шт", + "ptBR": "unidade", + "frFR": "unité", + "esAR": "pieza", + "arDZ": "شريحة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "域名": { + "text": "域名", + "key": "t_17_1745227838561", + "translations": { + "zhCN": "域名", + "zhTW": "域名", + "enUS": "Domain name", + "jaJP": "ドメイン名", + "koKR": "도메인 이름", + "ruRU": "Доменное имя", + "ptBR": "Nome de domínio", + "frFR": "Nom de domaine", + "esAR": "Nombre de dominio", + "arDZ": "اسم النطاق" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "品牌": { + "text": "品牌", + "key": "t_18_1745227838154", + "translations": { + "zhCN": "品牌", + "zhTW": "品牌", + "enUS": "Brand", + "jaJP": "ブランド", + "koKR": "브랜드", + "ruRU": "Бренд", + "ptBR": "Marca", + "frFR": "Marque", + "esAR": "Marca", + "arDZ": "العلامة التجارية" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "剩余天数": { + "text": "剩余天数", + "key": "t_19_1745227839107", + "translations": { + "zhCN": "剩余天数", + "zhTW": "剩餘天數", + "enUS": "Remaining days", + "jaJP": "残り日数", + "koKR": "남은 날짜", + "ruRU": "Оставшиеся дни", + "ptBR": "Dias restantes", + "frFR": "Jours restants", + "esAR": "Días restantes", + "arDZ": "أيام متبقية" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "到期时间": { + "text": "到期时间", + "key": "t_20_1745227838813", + "translations": { + "zhCN": "到期时间", + "zhTW": "到期時間", + "enUS": "Expiry Time", + "jaJP": "期限時間", + "koKR": "만료 시간", + "ruRU": "Время истечения", + "ptBR": "Tempo de expiração", + "frFR": "Heure d'expiration", + "esAR": "Tiempo de vencimiento", + "arDZ": "زمن انتهاء الصلاحية" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "来源": { + "text": "来源", + "key": "t_21_1745227837972", + "translations": { + "zhCN": "来源", + "zhTW": "來源", + "enUS": "Source", + "jaJP": "出典", + "koKR": "출처", + "ruRU": "Источник", + "ptBR": "Fonte", + "frFR": "Source", + "esAR": "Fuente", + "arDZ": "مصدر" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "自动申请": { + "text": "自动申请", + "key": "t_22_1745227838154", + "translations": { + "zhCN": "自动申请", + "zhTW": "自動申請", + "enUS": "Automatic Application", + "jaJP": "自動申請", + "koKR": "자동 신청", + "ruRU": "Автоматическая заявка", + "ptBR": "Aplicação Automática", + "frFR": "Demande automatique", + "esAR": "Solicitud automática", + "arDZ": "طلب تلقائي" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "手动上传": { + "text": "手动上传", + "key": "t_23_1745227838699", + "translations": { + "zhCN": "手动上传", + "zhTW": "手動上傳", + "enUS": "Manual upload", + "jaJP": "手動アップロード", + "koKR": "수동 업로드", + "ruRU": "Ручная загрузка", + "ptBR": "Upload manual", + "frFR": "Téléversement manuel", + "esAR": "Carga manual", + "arDZ": "تحميل يدوي" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "添加时间": { + "text": "添加时间", + "key": "t_24_1745227839508", + "translations": { + "zhCN": "添加时间", + "zhTW": "加入時間", + "enUS": "Add Time", + "jaJP": "時間を追加", + "koKR": "시간 추가", + "ruRU": "Добавить время", + "ptBR": "Adicionar tempo", + "frFR": "Ajouter une date", + "esAR": "Agregar tiempo", + "arDZ": "إضافة وقت" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "下载": { + "text": "下载", + "key": "t_25_1745227838080", + "translations": { + "zhCN": "下载", + "zhTW": "下載", + "enUS": "Download", + "jaJP": "ダウンロード", + "koKR": "다운로드", + "ruRU": "Загрузка", + "ptBR": "Baixar", + "frFR": "Télécharger", + "esAR": "Descargar", + "arDZ": "تحميل" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "即将过期": { + "text": "即将过期", + "key": "t_27_1745227838583", + "translations": { + "zhCN": "即将过期", + "zhTW": "即將過期", + "enUS": "About to expire", + "jaJP": "切れ替わります", + "koKR": "만료될 예정", + "ruRU": "Скоро закончится", + "ptBR": "Próximo de expirar", + "frFR": "Bientôt expiré", + "esAR": "Casi caducado", + "arDZ": "قريب من انتهاء الصلاحية" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "正常": { + "text": "正常", + "key": "t_28_1745227837903", + "translations": { + "zhCN": "正常", + "zhTW": "正常", + "enUS": "Normal", + "jaJP": "通常", + "koKR": "정상", + "ruRU": "нормальный", + "ptBR": "normal", + "frFR": "normal", + "esAR": "normal", + "arDZ": "طبيعي" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "删除证书": { + "text": "删除证书", + "key": "t_29_1745227838410", + "translations": { + "zhCN": "删除证书", + "zhTW": "刪除證書", + "enUS": "Delete certificate", + "jaJP": "証明書を削除する", + "koKR": "인증서 삭제", + "ruRU": "Удалить сертификат", + "ptBR": "Excluir certificado", + "frFR": "Supprimer le certificat", + "esAR": "Eliminar certificado", + "arDZ": "حذف الشهادة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "确认要删除这个证书吗?此操作不可恢复。": { + "text": "确认要删除这个证书吗?此操作不可恢复。", + "key": "t_30_1745227841739", + "translations": { + "zhCN": "确认要删除这个证书吗?此操作不可恢复。", + "zhTW": "確認要刪除這個證書嗎?此操作無法恢復。", + "enUS": "Are you sure you want to delete this certificate? This action cannot be undone.", + "jaJP": "この証明書を削除してもよろしいですか?この操作は元に戻せません。", + "koKR": "이 증명서를 지우시겠습니까? 이 작업은 복구할 수 없습니다.", + "ruRU": "Вы уверены, что хотите удалить этот сертификат? Эта операция не может быть отменена.", + "ptBR": "Tem certeza de que deseja excluir este certificado? Esta ação não pode ser revertida.", + "frFR": "Confirmez-vous que vous souhaitez supprimer ce certificat ? Cette action ne peut pas être annulée.", + "esAR": "¿Está seguro de que desea eliminar este certificado? Esta acción no se puede deshacer.", + "arDZ": "هل أنت متأكد من أنك تريد حذف هذا الشهادة؟ لا يمكن استعادة هذه العملية." + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "确认": { + "text": "确认", + "key": "t_31_1745227838461", + "translations": { + "zhCN": "确认", + "zhTW": "確認", + "enUS": "Confirm", + "jaJP": "確認してください", + "koKR": "확인하세요", + "ruRU": "Подтвердите", + "ptBR": "Confirmar", + "frFR": "Confirmer", + "esAR": "Confirmar", + "arDZ": "تأكيد" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "证书名称": { + "text": "证书名称", + "key": "t_32_1745227838439", + "translations": { + "zhCN": "证书名称", + "zhTW": "證書名稱", + "enUS": "Certificate Name", + "jaJP": "証明書名前", + "koKR": "서명", + "ruRU": "Название сертификата", + "ptBR": "Nome do Certificado", + "frFR": "Nom du certificat", + "esAR": "Nombre del certificado", + "arDZ": "اسم الشهادة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "请输入证书名称": { + "text": "请输入证书名称", + "key": "t_33_1745227838984", + "translations": { + "zhCN": "请输入证书名称", + "zhTW": "請輸入證書名稱", + "enUS": "Please enter the certificate name", + "jaJP": "証明書の名前を入力してください", + "koKR": "증명서 이름을 입력하세요", + "ruRU": "Введіть назву сертификата", + "ptBR": "Por favor, insira o nome do certificado", + "frFR": "Veuillez saisir le nom du certificat", + "esAR": "Por favor, ingrese el nombre del certificado", + "arDZ": "الرجاء إدخال اسم الشهادة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "证书内容(PEM)": { + "text": "证书内容(PEM)", + "key": "t_34_1745227839375", + "translations": { + "zhCN": "证书内容(PEM)", + "zhTW": "證書內容(PEM)", + "enUS": "Certificate Content (PEM)", + "jaJP": "証明書の内容(PEM)", + "koKR": "인증서 내용(PEM)", + "ruRU": "Содержание сертификата (PEM)", + "ptBR": "Conteúdo do certificado (PEM)", + "frFR": "Contenu du certificat (PEM)", + "esAR": "Contenido del certificado (PEM)", + "arDZ": "محتويات الشهادة (PEM)" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "请输入证书内容": { + "text": "请输入证书内容", + "key": "t_35_1745227839208", + "translations": { + "zhCN": "请输入证书内容", + "zhTW": "請輸入證書內容", + "enUS": "Please enter the certificate content", + "jaJP": "証明書の内容を入力してください", + "koKR": "서류 내용을 입력하세요", + "ruRU": "Введіть содержимое сертификата", + "ptBR": "Por favor, insira o conteúdo do certificado", + "frFR": "Veuillez saisir le contenu du certificat", + "esAR": "Por favor, ingrese el contenido del certificado", + "arDZ": "الرجاء إدخال محتويات الشهادة" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "私钥内容(KEY)": { + "text": "私钥内容(KEY)", + "key": "t_36_1745227838958", + "translations": { + "zhCN": "私钥内容(KEY)", + "zhTW": "私鑰內容(KEY)", + "enUS": "Private key content (KEY)", + "jaJP": "プライベートキー内容(KEY)", + "koKR": "사용자 키 내용(KEY)", + "ruRU": "Содержание частного ключа (KEY)", + "ptBR": "Conteúdo da chave privada (KEY)", + "frFR": "Contenu de la clé privée (KEY)", + "esAR": "Contenido de la clave privada (KEY)", + "arDZ": "محتويات المفتاح الخاص (KEY)" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "请输入私钥内容": { + "text": "请输入私钥内容", + "key": "t_37_1745227839669", + "translations": { + "zhCN": "请输入私钥内容", + "zhTW": "請輸入私鑰內容", + "enUS": "Please enter the private key content", + "jaJP": "プライベートキーの内容を入力してください", + "koKR": "비밀키 내용을 입력하세요", + "ruRU": "Введіть содержимое частного ключа", + "ptBR": "Por favor, insira o conteúdo da chave privada", + "frFR": "Veuillez saisir le contenu de la clé privée", + "esAR": "Por favor, ingrese el contenido de la clave privada", + "arDZ": "الرجاء إدخال محتويات المفتاح الخاص" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "下载失败": { + "text": "下载失败", + "key": "t_38_1745227838813", + "translations": { + "zhCN": "下载失败", + "zhTW": "下載失敗", + "enUS": "Download failed", + "jaJP": "ダウンロード失敗", + "koKR": "다운로드 실패", + "ruRU": "Не удалось загрузить", + "ptBR": "Falha ao baixar", + "frFR": "Échec du téléchargement", + "esAR": "Falla en la descarga", + "arDZ": "فشل التحميل" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "上传失败": { + "text": "上传失败", + "key": "t_39_1745227838696", + "translations": { + "zhCN": "上传失败", + "zhTW": "上傳失敗", + "enUS": "Upload failed", + "jaJP": "アップロードに失敗しました", + "koKR": "업로드 실패", + "ruRU": "Не удалось загрузить", + "ptBR": "Falha ao carregar", + "frFR": "Échec du téléversement", + "esAR": "Fallo en la subida", + "arDZ": "فشل التحميل" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "删除失败": { + "text": "删除失败", + "key": "t_40_1745227838872", + "translations": { + "zhCN": "删除失败", + "zhTW": "刪除失敗", + "enUS": "Delete failed", + "jaJP": "削除失敗", + "koKR": "삭제 실패", + "ruRU": "Удаление失败", + "ptBR": "Falha na exclusão", + "frFR": "Échec de la suppression", + "esAR": "Falla en la eliminación", + "arDZ": "فشل الحذف" + }, + "timestamp": "2025-04-21T09:30:41.741Z" + }, + "添加授权API": { + "text": "添加授权API", + "key": "t_0_1745289355714", + "translations": { + "zhCN": "添加授权API", + "zhTW": "添加授權API", + "enUS": "Add Authorization API", + "jaJP": "認証APIを追加する", + "koKR": "인증 API 추가", + "ruRU": "Добавить API авторизации", + "ptBR": "Adicionar API de autorização", + "frFR": "Ajouter l'API d'autorisation", + "esAR": "Agregar API de autorización", + "arDZ": "إضافة API للإذن" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入授权api名称或类型": { + "text": "请输入授权api名称或类型", + "key": "t_1_1745289356586", + "translations": { + "zhCN": "请输入授权API名称或类型", + "zhTW": "請輸入授權API名稱或類型", + "enUS": "Please enter the authorized API name or type", + "jaJP": "認証APIの名前またはタイプを入力してください", + "koKR": "인증 API 이름 또는 유형을 입력하세요", + "ruRU": "Введите имя или тип авторизованного API", + "ptBR": "Por favor, insira o nome ou o tipo do API autorizado", + "frFR": "Veuillez saisir le nom ou le type de l'API autorisée", + "esAR": "Por favor, ingrese el nombre o el tipo de API autorizada", + "arDZ": "الرجاء إدخال اسم أو نوع API المصرح به" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "名称": { + "text": "名称", + "key": "t_2_1745289353944", + "translations": { + "zhCN": "名称", + "zhTW": "名稱", + "enUS": "Name", + "jaJP": "名称", + "koKR": "이름", + "ruRU": "Название", + "ptBR": "Nome", + "frFR": "Nom", + "esAR": "Nombre", + "arDZ": "اسم" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "授权API类型": { + "text": "授权API类型", + "key": "t_3_1745289354664", + "translations": { + "zhCN": "授权API类型", + "zhTW": "授權API類型", + "enUS": "Authorization API Type", + "jaJP": "認証APIタイプ", + "koKR": "인증 API 유형", + "ruRU": "Тип API авторизации", + "ptBR": "Tipo de API de autorização", + "frFR": "Type d'API d'autorisation", + "esAR": "Tipo de API de autorización", + "arDZ": "نوع API للاذن" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "编辑授权API": { + "text": "编辑授权API", + "key": "t_4_1745289354902", + "translations": { + "zhCN": "编辑授权API", + "zhTW": "編輯授權API", + "enUS": "Edit Authorization API", + "jaJP": "編集権限API", + "koKR": "編집 권한 API", + "ruRU": "API для редактирования разрешений", + "ptBR": "API de autorização de edição", + "frFR": "API d'édition d'autorisation", + "esAR": "API de autorización de edición", + "arDZ": "API للتحرير المسموح به" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "删除授权API": { + "text": "删除授权API", + "key": "t_5_1745289355718", + "translations": { + "zhCN": "删除授权API", + "zhTW": "刪除授權API", + "enUS": "Delete Authorization API", + "jaJP": "認証APIの削除", + "koKR": "인증 API 제거", + "ruRU": "Удаление API авторизации", + "ptBR": "Remover API de autorização", + "frFR": "Suppression de l'API d'autorisation", + "esAR": "Eliminar API de autorización", + "arDZ": "حذف API التحقق من الصلاحيات" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "确定删除该授权API吗?此操作不可恢复。": { + "text": "确定删除该授权API吗?此操作不可恢复。", + "key": "t_6_1745289358340", + "translations": { + "zhCN": "确定删除该授权API吗?此操作不可恢复。", + "zhTW": "確定刪除該授權API嗎?此操作無法恢復。", + "enUS": "Are you sure you want to delete this authorized API? This action cannot be undone.", + "jaJP": "この認証されたAPIを削除してもよろしいですか?この操作は元に戻すことができません。", + "koKR": "이 권한된 API를 정말로 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다.", + "ruRU": "Уверены, что хотите удалить этот авторизованный API? Это действие нельзя отменить.", + "ptBR": "Tem certeza de que deseja excluir este API autorizado? Esta ação não pode ser revertida.", + "frFR": "Êtes-vous sûr de vouloir supprimer cet API autorisé ? Cette action ne peut pas être annulée.", + "esAR": "¿Está seguro de que desea eliminar este API autorizado? Esta acción no se puede deshacer.", + "arDZ": "هل أنت متأكد من أنك تريد حذف هذا API المصرح به؟ لا يمكن استعادة هذا الإجراء." + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "添加失败": { + "text": "添加失败", + "key": "t_7_1745289355714", + "translations": { + "zhCN": "添加失败", + "zhTW": "添加失敗", + "enUS": "Add failed", + "jaJP": "追加失敗", + "koKR": "추가 실패", + "ruRU": "Добавление失败", + "ptBR": "Falha ao adicionar", + "frFR": "Échec de l'ajout", + "esAR": "Fallo al agregar", + "arDZ": "فشل الإضافة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "更新失败": { + "text": "更新失败", + "key": "t_8_1745289354902", + "translations": { + "zhCN": "更新失败", + "zhTW": "更新失敗", + "enUS": "Update failed", + "jaJP": "アップデート失敗", + "koKR": "업데이트 실패", + "ruRU": "Обновление失败", + "ptBR": "Falha na atualização", + "frFR": "Échec de mise à jour", + "esAR": "Fallo en la actualización", + "arDZ": "فشل التحديث" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "已过期{days}天": { + "text": "已过期{days}天", + "key": "t_9_1745289355714", + "translations": { + "zhCN": "已过期{days}天", + "zhTW": "已過期{days}天", + "enUS": "Expired {days} days", + "jaJP": "{days}日経過", + "koKR": "{days}일 경과", + "ruRU": "Прошло {days} дней", + "ptBR": "Expirado há {days} dias", + "frFR": "Expiré {days} jours", + "esAR": "Vencido {days} días", + "arDZ": "انتهت صلاحيته {days} يوم" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "监控管理": { + "text": "监控管理", + "key": "t_10_1745289354650", + "translations": { + "zhCN": "监控管理", + "zhTW": "監控管理", + "enUS": "Monitoring Management", + "jaJP": "監視管理", + "koKR": "모니터링 관리", + "ruRU": "Мониторинг управления", + "ptBR": "Gestão de Monitoramento", + "frFR": "Gestion de surveillance", + "esAR": "Gestión de monitoreo", + "arDZ": "إدارة المراقبة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "添加监控": { + "text": "添加监控", + "key": "t_11_1745289354516", + "translations": { + "zhCN": "添加监控", + "zhTW": "加入監控", + "enUS": "Add Monitoring", + "jaJP": "監視を追加する", + "koKR": "모니터링 추가", + "ruRU": "Добавить мониторинг", + "ptBR": "Adicionar monitoramento", + "frFR": "Ajouter une surveillance", + "esAR": "Agregar monitoreo", + "arDZ": "إضافة المراقبة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入监控名称或域名搜索": { + "text": "请输入监控名称或域名搜索", + "key": "t_12_1745289356974", + "translations": { + "zhCN": "请输入监控名称或域名进行搜索", + "zhTW": "請輸入監控名稱或域名進行搜尋", + "enUS": "Please enter the monitoring name or domain to search", + "jaJP": "監視名前缀またはドメインを入力して検索してください", + "koKR": "모니터링 이름이나 도메인을 입력하여 검색하세요", + "ruRU": "Введите имя монитора или домен для поиска", + "ptBR": "Por favor, insira o nome do monitoramento ou o domínio para pesquisar", + "frFR": "Veuillez saisir le nom de surveillance ou le domaine pour la recherche", + "esAR": "Por favor, ingrese el nombre de monitoreo o el dominio para buscar", + "arDZ": "الرجاء إدخال اسم المراقبة أو اسم النطاق للبحث عنه" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "监控名称": { + "text": "监控名称", + "key": "t_13_1745289354528", + "translations": { + "zhCN": "监控名称", + "zhTW": "監控名稱", + "enUS": "Monitor Name", + "jaJP": "モニタ名称", + "koKR": "모니터 이름", + "ruRU": "Название монитора", + "ptBR": "Nome do Monitor", + "frFR": "Nom du moniteur", + "esAR": "Nombre del monitor", + "arDZ": "اسم المراقب" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "证书域名": { + "text": "证书域名", + "key": "t_14_1745289354902", + "translations": { + "zhCN": "证书域名", + "zhTW": "證書域名", + "enUS": "Certificate Domain", + "jaJP": "証明書ドメイン", + "koKR": "인증서 도메인", + "ruRU": "Сертификат домена", + "ptBR": "Domínio do certificado", + "frFR": "Domaine du certificat", + "esAR": "Dominio del certificado", + "arDZ": "اسم المجال للمستند" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "证书颁发机构": { + "text": "证书颁发机构", + "key": "t_15_1745289355714", + "translations": { + "zhCN": "证书颁发机构", + "zhTW": "證書發頒機構", + "enUS": "Certificate Authority", + "jaJP": "証明書発行機関", + "koKR": "인증서 발급 기관", + "ruRU": "Аутентификационная служба", + "ptBR": "Autoridade de Certificação", + "frFR": "Autorité de certification", + "esAR": "Autoridad de certificación", + "arDZ": "جهة إصدار الشهادات" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "证书状态": { + "text": "证书状态", + "key": "t_16_1745289354902", + "translations": { + "zhCN": "证书状态", + "zhTW": "證書狀態", + "enUS": "Certificate Status", + "jaJP": "証明書の状態", + "koKR": "서류 상태", + "ruRU": "Состояние сертификата", + "ptBR": "Status do certificado", + "frFR": "Statut du certificat", + "esAR": "Estado del certificado", + "arDZ": "حالة الشهادة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "证书到期时间": { + "text": "证书到期时间", + "key": "t_17_1745289355715", + "translations": { + "zhCN": "证书到期时间", + "zhTW": "證書到期時間", + "enUS": "Certificate Expiration Date", + "jaJP": "証明書の有効期限", + "koKR": "인증서 만료일", + "ruRU": "Дата окончания действия сертификата", + "ptBR": "Data de expiração do certificado", + "frFR": "Date d'expiration du certificat", + "esAR": "Fecha de expiración del certificado", + "arDZ": "تاريخ انتهاء صلاحية الشهادة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "告警渠道": { + "text": "告警渠道", + "key": "t_18_1745289354598", + "translations": { + "zhCN": "告警渠道", + "zhTW": "告警管道", + "enUS": "Alert Channels", + "jaJP": "警報チャネル", + "koKR": "알림 채널", + "ruRU": "Каналы оповещений", + "ptBR": "Canais de alerta", + "frFR": "Canaux d'alerte", + "esAR": "Canales de alerta", + "arDZ": "قنوات التحذير" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "上次检查时间": { + "text": "上次检查时间", + "key": "t_19_1745289354676", + "translations": { + "zhCN": "上次检查时间", + "zhTW": "上次檢查時間", + "enUS": "Last Check Time", + "jaJP": "最後のチェック時刻", + "koKR": "최근 점검 시간", + "ruRU": "Время последней проверки", + "ptBR": "Última data de verificação", + "frFR": "Dernière date de vérification", + "esAR": "Última revisión", + "arDZ": "تاريخ آخر فحص" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "编辑监控": { + "text": "编辑监控", + "key": "t_20_1745289354598", + "translations": { + "zhCN": "编辑监控", + "zhTW": "編輯監控", + "enUS": "Edit Monitoring", + "jaJP": "編集監視", + "koKR": "편집 모니터링", + "ruRU": "Редактирование мониторинга", + "ptBR": "Edição de Monitoramento", + "frFR": "Édition de surveillance", + "esAR": "Edición de monitoreo", + "arDZ": "تعديل الرقابة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "确认删除": { + "text": "确认删除", + "key": "t_21_1745289354598", + "translations": { + "zhCN": "确认删除", + "zhTW": "確認刪除", + "enUS": "Confirm Delete", + "jaJP": "削除を確認してください", + "koKR": "삭제 확인", + "ruRU": "Подтвердите удаление", + "ptBR": "Confirmar exclusão", + "frFR": "Confirmez la suppression", + "esAR": "Confirmar eliminación", + "arDZ": "تأكيد الحذف" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "删除后无法恢复,确认要删除该监控吗?": { + "text": "删除后无法恢复,确认要删除该监控吗?", + "key": "t_22_1745289359036", + "translations": { + "zhCN": "删除后将无法恢复,您确认要删除该监控吗?", + "zhTW": "刪除後將無法恢復,您確定要刪除該監控嗎?", + "enUS": "Items cannot be restored after deletion. Are you sure you want to delete this monitor?", + "jaJP": "削除後は復元できません。この監視を削除する場合は確定しますか?", + "koKR": "삭제된 아이템은 복원할 수 없습니다. 이 모니터를 정말로 삭제하시겠습니까?", + "ruRU": "Элементы нельзя восстановить после удаления. Вы уверены, что хотите удалить этот монитор?", + "ptBR": "Os itens não podem ser restaurados após a exclusão. Tem certeza de que deseja excluir este monitor?", + "frFR": "Les éléments ne peuvent pas être restaurés après suppression. Êtes-vous sûr de vouloir supprimer ce moniteur?", + "esAR": "Los elementos no se pueden recuperar después de su eliminación. ¿Está seguro de que desea eliminar este monitor?", + "arDZ": "لا يمكن استعادة العناصر بعد الحذف. هل أنت متأكد من أنك تريد حذف هذا المراقب؟" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "修改失败": { + "text": "修改失败", + "key": "t_23_1745289355716", + "translations": { + "zhCN": "修改失败", + "zhTW": "修改失敗", + "enUS": "Modification failed", + "jaJP": "変更失敗", + "koKR": "변경 실패", + "ruRU": "Не удалось изменить", + "ptBR": "Falha na modificação", + "frFR": "Échec de la modification", + "esAR": "Fallo en la modificación", + "arDZ": "فشل التعديل" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "设置失败": { + "text": "设置失败", + "key": "t_24_1745289355715", + "translations": { + "zhCN": "设置失败", + "zhTW": "設定失敗", + "enUS": "Setup Failed", + "jaJP": "設定失敗", + "koKR": "설정 실패", + "ruRU": "Сбой настройки", + "ptBR": "Falha na configuração", + "frFR": "Échec de la configuration", + "esAR": "Fallo en la configuración", + "arDZ": "فشل في الإعداد" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入验证码": { + "text": "请输入验证码", + "key": "t_25_1745289355721", + "translations": { + "zhCN": "请输入验证码", + "zhTW": "請輸入驗證碼", + "enUS": "Please enter the verification code", + "jaJP": "認証コードを入力してください", + "koKR": "인증 코드를 입력하세요", + "ruRU": "Введите код подтверждения", + "ptBR": "Por favor, insira o código de verificação", + "frFR": "Veuillez saisir le code de vérification", + "esAR": "Por favor, ingrese el código de verificación", + "arDZ": "من فضلك، أدخل رمز التحقق" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "表单验证失败,请检查填写内容": { + "text": "表单验证失败,请检查填写内容", + "key": "t_26_1745289358341", + "translations": { + "zhCN": "表单验证失败,请检查填写内容", + "zhTW": "表單驗證失敗,請檢查填寫內容", + "enUS": "Form validation failed, please check the filled content", + "jaJP": "フォームのバリデーションに失敗しました、記入内容を確認してください", + "koKR": "양식 검증 실패, 입력 내용을 확인해 주세요", + "ruRU": "Проверка формы не пройдена, пожалуйста, проверьте填写的内容", + "ptBR": "Validação do formulário falhou, por favor, verifique o conteúdo preenchido", + "frFR": "Échec de validation du formulaire, veuillez vérifier le contenu rempli", + "esAR": "Validación del formulario fallida, por favor revise el contenido ingresado", + "arDZ": "فشل التحقق من النموذج، يرجى التحقق من المحتويات المملوءة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入授权API名称": { + "text": "请输入授权API名称", + "key": "t_27_1745289355721", + "translations": { + "zhCN": "请输入授权API名称", + "zhTW": "請輸入授權API名稱", + "enUS": "Please enter the authorized API name", + "jaJP": "認証API名前を入力してください", + "koKR": "인증 API 이름을 입력하세요", + "ruRU": "Введите имя авторизованного API", + "ptBR": "Por favor, insira o nome do API autorizado", + "frFR": "Veuillez saisir le nom de l'API autorisée", + "esAR": "Por favor, ingrese el nombre del API autorizado", + "arDZ": "من فضلك أدخل اسم API المصرح به" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请选择授权API类型": { + "text": "请选择授权API类型", + "key": "t_28_1745289356040", + "translations": { + "zhCN": "请选择授权API类型", + "zhTW": "請選擇授權API類型", + "enUS": "Please select the authorization API type", + "jaJP": "認証APIタイプを選択してください", + "koKR": "인증 API 유형을 선택하세요", + "ruRU": "Выберите тип авторизации API", + "ptBR": "Selecione o tipo de API de autorização", + "frFR": "Veuillez sélectionner le type d'API d'autorisation", + "esAR": "Seleccione el tipo de API de autorización", + "arDZ": "يرجى اختيار نوع API الت�权يز" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入服务器IP": { + "text": "请输入服务器IP", + "key": "t_29_1745289355850", + "translations": { + "zhCN": "请输入服务器IP", + "zhTW": "請輸入伺服器IP", + "enUS": "Please enter the server IP", + "jaJP": "サーバーIPを入力してください", + "koKR": "서버 IP를 입력하세요", + "ruRU": "Введите IP-адрес сервера", + "ptBR": "Por favor, insira o IP do servidor", + "frFR": "Veuillez saisir l'IP du serveur", + "esAR": "Por favor, ingrese la IP del servidor", + "arDZ": "الرجاء إدخال عنوان IP للخادم" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入SSH端口": { + "text": "请输入SSH端口", + "key": "t_30_1745289355718", + "translations": { + "zhCN": "请输入SSH端口", + "zhTW": "請輸入SSH端口", + "enUS": "Please enter the SSH port", + "jaJP": "SSHポートを入力してください", + "koKR": "SSH 포트를 입력하세요", + "ruRU": "Введите порт SSH", + "ptBR": "Por favor, insira a porta SSH", + "frFR": "S'il vous plaît, entrez le port SSH", + "esAR": "Por favor, ingrese el puerto SSH", + "arDZ": "من فضلك، أدخل ميناء SSH" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入SSH密钥": { + "text": "请输入SSH密钥", + "key": "t_31_1745289355715", + "translations": { + "zhCN": "请输入SSH密钥", + "zhTW": "請輸入SSH金鑰", + "enUS": "Please enter the SSH key", + "jaJP": "SSHキーを入力してください", + "koKR": "SSH 키를 입력하세요", + "ruRU": "Введите SSH-ключ", + "ptBR": "Por favor, insira a chave SSH", + "frFR": "Veuillez saisir la clé SSH", + "esAR": "Por favor, ingrese la clave SSH", + "arDZ": "من فضلك أدخل مفتاح SSH" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入宝塔地址": { + "text": "请输入宝塔地址", + "key": "t_32_1745289356127", + "translations": { + "zhCN": "请输入宝塔地址", + "zhTW": "請輸入寶塔地址", + "enUS": "Please enter the Baota address", + "jaJP": "宝塔アドレスを入力してください", + "koKR": "보타 주소를 입력하세요", + "ruRU": "Введите адрес Ботты", + "ptBR": "Por favor, insira o endereço do Baota", + "frFR": "Veuillez saisir l'adresse de Baota", + "esAR": "Por favor, ingrese la dirección de Baota", + "arDZ": "الرجاء إدخال عنوان بوتا" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入API密钥": { + "text": "请输入API密钥", + "key": "t_33_1745289355721", + "translations": { + "zhCN": "请输入API密钥", + "zhTW": "請輸入API金鑰", + "enUS": "Please enter the API key", + "jaJP": "APIキーを入力してください", + "koKR": "API 키를 입력하세요", + "ruRU": "Введіть ключ API", + "ptBR": "Por favor, insira a chave da API", + "frFR": "Veuillez saisir la clé API", + "esAR": "Por favor, ingrese la clave de API", + "arDZ": "الرجاء إدخال مفتاح API" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入1panel地址": { + "text": "请输入1panel地址", + "key": "t_34_1745289356040", + "translations": { + "zhCN": "请输入1panel地址", + "zhTW": "請輸入1panel地址", + "enUS": "Please enter the 1panel address", + "jaJP": "1panelのアドレスを入力してください", + "koKR": "1panel 주소를 입력해 주세요", + "ruRU": "Введите адрес 1panel", + "ptBR": "Por favor, insira o endereço do 1panel", + "frFR": "Veuillez saisir l'adresse 1panel", + "esAR": "Por favor, ingrese la dirección de 1panel", + "arDZ": "الرجاء إدخال عنوان 1panel" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入AccessKeyId": { + "text": "请输入AccessKeyId", + "key": "t_35_1745289355714", + "translations": { + "zhCN": "请输入AccessKeyId", + "zhTW": "請輸入AccessKeyId", + "enUS": "Please enter AccessKeyId", + "jaJP": "AccessKeyIdを入力してください", + "koKR": "AccessKeyId을 입력하세요", + "ruRU": "Введите AccessKeyId", + "ptBR": "Por favor, insira AccessKeyId", + "frFR": "Veuillez saisir AccessKeyId", + "esAR": "Por favor, ingrese AccessKeyId", + "arDZ": "من فضلك أدخل AccessKeyId" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入AccessKeySecret": { + "text": "请输入AccessKeySecret", + "key": "t_36_1745289355715", + "translations": { + "zhCN": "请输入AccessKeySecret", + "zhTW": "請輸入AccessKeySecret", + "enUS": "Please enter AccessKeySecret", + "jaJP": "AccessKeySecretを入力してください", + "koKR": "AccessKeySecret을 입력하세요", + "ruRU": "Введите AccessKeySecret", + "ptBR": "Por favor, insira AccessKeySecret", + "frFR": "Veuillez saisir AccessKeySecret", + "esAR": "Por favor, ingrese AccessKeySecret", + "arDZ": "من فضلك، أدخل AccessKeySecret" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入SecretId": { + "text": "请输入SecretId", + "key": "t_37_1745289356041", + "translations": { + "zhCN": "请输入SecretId", + "zhTW": "請輸入SecretId", + "enUS": "Please enter SecretId", + "jaJP": "SecretIdを入力してください", + "koKR": "SecretId를 입력하세요", + "ruRU": "Введіть SecretId", + "ptBR": "Por favor, insira SecretId", + "frFR": "S'il vous plaît, entrez SecretId", + "esAR": "Por favor, ingrese SecretId", + "arDZ": "من فضلك، أدخل SecretId" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入SecretKey": { + "text": "请输入SecretKey", + "key": "t_38_1745289356419", + "translations": { + "zhCN": "请输入密钥", + "zhTW": "請輸入密鑰", + "enUS": "Please enter SecretKey", + "jaJP": "SecretKeyを入力してください", + "koKR": "SecretKey를 입력하세요", + "ruRU": "Введите SecretKey", + "ptBR": "Por favor, insira a Chave Secreta", + "frFR": "Veuillez saisir la Clé Secrète", + "esAR": "Por favor, ingrese la Clave Secreta", + "arDZ": "من فضلك أدخل مفتاح السر" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "更新成功": { + "text": "更新成功", + "key": "t_39_1745289354902", + "translations": { + "zhCN": "更新成功", + "zhTW": "更新成功", + "enUS": "Update successful", + "jaJP": "更新成功", + "koKR": "업데이트 성공", + "ruRU": "Успешно обновлено", + "ptBR": "Atualização bem-sucedida", + "frFR": "Mise à jour réussie", + "esAR": "Actualización exitosa", + "arDZ": "نجاح التحديث" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "添加成功": { + "text": "添加成功", + "key": "t_40_1745289355715", + "translations": { + "zhCN": "添加成功", + "zhTW": "添加成功", + "enUS": "Addition Successful", + "jaJP": "追加成功", + "koKR": "추가 성공", + "ruRU": "Успешно добавлено", + "ptBR": "Adição bem-sucedida", + "frFR": "Ajout réussi", + "esAR": "Añadido con éxito", + "arDZ": "نجاح الإضافة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "类型": { + "text": "类型", + "key": "t_41_1745289354902", + "translations": { + "zhCN": "类型", + "zhTW": "類型", + "enUS": "Type", + "jaJP": "タイプ", + "koKR": "타입", + "ruRU": "Тип", + "ptBR": "Tipo", + "frFR": "Type", + "esAR": "Tipo", + "arDZ": "نوع" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "服务器IP": { + "text": "服务器IP", + "key": "t_42_1745289355715", + "translations": { + "zhCN": "服务器IP", + "zhTW": "伺服器IP", + "enUS": "Server IP", + "jaJP": "サーバーIP", + "koKR": "서버 IP", + "ruRU": "Сервер IP", + "ptBR": "IP do Servidor", + "frFR": "IP du serveur", + "esAR": "IP del servidor", + "arDZ": "IP del serveur" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "SSH端口": { + "text": "SSH端口", + "key": "t_43_1745289354598", + "translations": { + "zhCN": "SSH端口", + "zhTW": "SSH端口", + "enUS": "SSH port", + "jaJP": "SSHポート", + "koKR": "SSH 포트", + "ruRU": "Порт SSH", + "ptBR": "Porta SSH", + "frFR": "Port SSH", + "esAR": "Puerto SSH", + "arDZ": "منفذ SSH" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "用户名": { + "text": "用户名", + "key": "t_44_1745289354583", + "translations": { + "zhCN": "用户名", + "zhTW": "用戶名", + "enUS": "Username", + "jaJP": "ユーザー名", + "koKR": "사용자 이름", + "ruRU": "Имя пользователя", + "ptBR": "Nome de usuário", + "frFR": "Nom d'utilisateur", + "esAR": "Nombre de usuario", + "arDZ": "اسم المستخدم" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "认证方式": { + "text": "认证方式", + "key": "t_45_1745289355714", + "translations": { + "zhCN": "认证方式", + "zhTW": "認證方式", + "enUS": "Authentication method", + "jaJP": "認証方法", + "koKR": "인증 방법", + "ruRU": "Способ проверки", + "ptBR": "Método de autenticação", + "frFR": "Méthode d'authentification", + "esAR": "Método de autenticación", + "arDZ": "طريقة التحقق" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "密码认证": { + "text": "密码认证", + "key": "t_46_1745289355723", + "translations": { + "zhCN": "密码认证", + "zhTW": "密碼驗證", + "enUS": "Password authentication", + "jaJP": "パスワード認証", + "koKR": "암호 인증", + "ruRU": "Парольная аутентификация", + "ptBR": "Autenticação por senha", + "frFR": "Authentification par mot de passe", + "esAR": "Autenticación por contraseña", + "arDZ": "تأكيد البصمة البصرية" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "密钥认证": { + "text": "密钥认证", + "key": "t_47_1745289355715", + "translations": { + "zhCN": "密钥认证", + "zhTW": "密钥認證", + "enUS": "Key authentication", + "jaJP": "キー認証", + "koKR": "키 인증", + "ruRU": "Ключевая аутентификация", + "ptBR": "Autenticação de chave", + "frFR": "Authentification par clé", + "esAR": "Autenticación de clave", + "arDZ": "تأكيد البصمة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "密码": { + "text": "密码", + "key": "t_48_1745289355714", + "translations": { + "zhCN": "密码", + "zhTW": "密碼", + "enUS": "Password", + "jaJP": "パスワード", + "koKR": "비밀번호", + "ruRU": "Пароль", + "ptBR": "Senha", + "frFR": "Mot de passe", + "esAR": "Contraseña", + "arDZ": "كلمة المرور" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "SSH私钥": { + "text": "SSH私钥", + "key": "t_49_1745289355714", + "translations": { + "zhCN": "SSH私钥", + "zhTW": "SSH私鑰", + "enUS": "SSH private key", + "jaJP": "SSHプライベートキー", + "koKR": "SSH 비밀키", + "ruRU": "SSH частный ключ", + "ptBR": "Chave privada SSH", + "frFR": "Clé privée SSH", + "esAR": "Llave privada SSH", + "arDZ": "مفتاح خاص SSH" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入SSH私钥": { + "text": "请输入SSH私钥", + "key": "t_50_1745289355715", + "translations": { + "zhCN": "请输入SSH私钥", + "zhTW": "請輸入SSH私鑰", + "enUS": "Please enter the SSH private key", + "jaJP": "SSHプライベートキーを入力してください", + "koKR": "SSH 프라이빗 키를 입력하세요", + "ruRU": "Введите SSH частный ключ", + "ptBR": "Por favor, insira a chave privada SSH", + "frFR": "Veuillez saisir la clé privée SSH", + "esAR": "Por favor, ingrese la clave privada SSH", + "arDZ": "الرجاء إدخال مفتاح SSH الخاص" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "私钥密码": { + "text": "私钥密码", + "key": "t_51_1745289355714", + "translations": { + "zhCN": "私钥密码", + "zhTW": "私鍵密碼", + "enUS": "Private key password", + "jaJP": "プライベートキーワード", + "koKR": "private key 비밀번호", + "ruRU": "Пароль私ного ключа", + "ptBR": "Senha da chave privada", + "frFR": "Mot de passe de la clé privée", + "esAR": "Contraseña de la clave privada", + "arDZ": "كلمة المرور الخاصة بالمفتاح الخاص" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "如果私钥有密码,请输入": { + "text": "如果私钥有密码,请输入", + "key": "t_52_1745289359565", + "translations": { + "zhCN": "如果私钥有密码,请输入", + "zhTW": "如果私钥有密碼,請輸入", + "enUS": "If the private key has a password, please enter", + "jaJP": "プライベートキーにパスワードがある場合、入力してください", + "koKR": "비밀키에 비밀번호가 있으면 입력하세요", + "ruRU": "Если у私ного ключа есть пароль, введите", + "ptBR": "Se a chave privada tiver uma senha, insira", + "frFR": "Si la clé privée a un mot de passe, veuillez saisir", + "esAR": "Si la clave privada tiene una contraseña, ingrese", + "arDZ": "إذا كانت المفتاح الخاص يحتوي على كلمة مرور، أدخلها" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "宝塔面板地址": { + "text": "宝塔面板地址", + "key": "t_53_1745289356446", + "translations": { + "zhCN": "宝塔面板地址", + "zhTW": "宝塔面板地址", + "enUS": "BaoTa Panel Address", + "jaJP": "宝塔パネルのアドレス", + "koKR": "보타 패널 주소", + "ruRU": "Адрес панели Баота", + "ptBR": "Endereço da tela BaoTa", + "frFR": "Adresse du panneau BaoTa", + "esAR": "Dirección del panel BaoTa", + "arDZ": "عنوان واجهة بوتا" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入宝塔面板地址,例如: https://bt.example.com": { + "text": "请输入宝塔面板地址,例如: https://bt.example.com", + "key": "t_54_1745289358683", + "translations": { + "zhCN": "请输入宝塔面板地址,例如:https://bt.example.com", + "zhTW": "請輸入宝塔面板地址,例如:https://bt.example.com", + "enUS": "Please enter the Baota panel address, for example: https://bt.example.com", + "jaJP": "宝塔パネルのアドレスを入力してください、例えば:https://bt.example.com", + "koKR": "보타 패널 주소를 입력하세요,예를 들어: https://bt.example.com", + "ruRU": "Введіть адресс панели Baota, например: https://bt.example.com", + "ptBR": "Por favor, insira o endereço do painel Baota, por exemplo: https://bt.example.com", + "frFR": "Veuillez saisir l'adresse du panneau Baota, par exemple : https://bt.example.com", + "esAR": "Por favor, ingrese la dirección del panel Baota, por ejemplo: https://bt.example.com", + "arDZ": "من فضلك أدخل عنوان لوحة بوتا، مثل: https://bt.example.com" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "API密钥": { + "text": "API密钥", + "key": "t_55_1745289355715", + "translations": { + "zhCN": "API密钥", + "zhTW": "API金鑰", + "enUS": "API Key", + "jaJP": "APIキー", + "koKR": "API 키", + "ruRU": "API ключ", + "ptBR": "Chave API", + "frFR": "Clé API", + "esAR": "Clave API", + "arDZ": "مفتاح API" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "1panel地址": { + "text": "1panel地址", + "key": "t_56_1745289355714", + "translations": { + "zhCN": "1面板地址", + "zhTW": "1面板地址", + "enUS": "1 panel address", + "jaJP": "1パネルのアドレス", + "koKR": "1판의 주소", + "ruRU": "Адрес 1 панели", + "ptBR": "Endereço do painel 1", + "frFR": "Adresse du panneau 1", + "esAR": "Dirección del panel 1", + "arDZ": "عنوان اللوحة 1" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入1panel地址,例如: https://1panel.example.com": { + "text": "请输入1panel地址,例如: https://1panel.example.com", + "key": "t_57_1745289358341", + "translations": { + "zhCN": "请输入1panel地址,例如:https://1panel.example.com", + "zhTW": "請輸入1panel地址,例如:https://1panel.example.com", + "enUS": "Please enter the 1panel address, for example: https://1panel.example.com", + "jaJP": "1panelのアドレスを入力してください、例えば:https://1panel.example.com", + "koKR": "1panel 주소를 입력하세요, 예를 들어: https://1panel.example.com", + "ruRU": "Введіть адресс 1panel, например: https://1panel.example.com", + "ptBR": "Insira o endereço do 1panel, por exemplo: https://1panel.example.com", + "frFR": "Saisissez l'adresse 1panel, par exemple : https://1panel.example.com", + "esAR": "Ingrese la dirección de 1panel, por ejemplo: https://1panel.example.com", + "arDZ": "ادخل عنوان 1panel، مثلًا: https://1panel.example.com" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入AccessKey ID": { + "text": "请输入AccessKey ID", + "key": "t_58_1745289355721", + "translations": { + "zhCN": "请输入AccessKey ID", + "zhTW": "請輸入AccessKey ID", + "enUS": "Please enter the AccessKey ID", + "jaJP": "アクセスキーIDを入力してください", + "koKR": "AccessKey ID를 입력하세요", + "ruRU": "Введите ID AccessKey", + "ptBR": "Insira o ID do AccessKey", + "frFR": "Saisissez l'ID AccessKey", + "esAR": "Ingrese el ID de AccessKey", + "arDZ": "ادخل معرف AccessKey" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入AccessKey Secret": { + "text": "请输入AccessKey Secret", + "key": "t_59_1745289356803", + "translations": { + "zhCN": "请输入访问密钥的秘密", + "zhTW": "請輸入AccessKey密碼", + "enUS": "Please input AccessKey Secret", + "jaJP": "アクセスキーのシークレットを入力してください", + "koKR": "AccessKey 비밀번호를 입력하세요", + "ruRU": "Введите секрет AccessKey", + "ptBR": "Por favor, insira o segredo do AccessKey", + "frFR": "Veuillez saisir le secret d'AccessKey", + "esAR": "Por favor, ingrese el secreto de AccessKey", + "arDZ": "من فضلك ادخل سرية مفتاح الوصول" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入监控名称": { + "text": "请输入监控名称", + "key": "t_60_1745289355715", + "translations": { + "zhCN": "请输入监控名称", + "zhTW": "請輸入監控名稱", + "enUS": "Please enter the monitoring name", + "jaJP": "監視名前を入力してください", + "koKR": "모니터링 이름을 입력하세요", + "ruRU": "Введите имя монитора", + "ptBR": "Por favor, insira o nome do monitoramento", + "frFR": "Veuillez saisir le nom de surveillance", + "esAR": "Por favor, ingrese el nombre de monitoreo", + "arDZ": "الرجاء إدخال اسم المراقبة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入域名/IP": { + "text": "请输入域名/IP", + "key": "t_61_1745289355878", + "translations": { + "zhCN": "请输入域名/IP", + "zhTW": "請輸入域名/IP", + "enUS": "Please enter the domain/IP", + "jaJP": "ドメイン/IPを入力してください", + "koKR": "도메인/IP를 입력하세요", + "ruRU": "Введите домен/IP", + "ptBR": "Por favor, insira o domínio/IP", + "frFR": "Veuillez saisir le domaine/IP", + "esAR": "Por favor, ingrese el dominio/IP", + "arDZ": "الرجاء إدخال اسم النطاق/IP" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请选择检查周期": { + "text": "请选择检查周期", + "key": "t_62_1745289360212", + "translations": { + "zhCN": "请选择检查周期", + "zhTW": "請選擇檢查週期", + "enUS": "Please select the inspection cycle", + "jaJP": "検査サイクルを選択してください", + "koKR": "검사 주기를 선택하세요", + "ruRU": "Выберите период проверки", + "ptBR": "Selecione o período de inspeção", + "frFR": "Veuillez sélectionner le cycle d'inspection", + "esAR": "Por favor, seleccione el período de inspección", + "arDZ": "يرجى اختيار فترة التحقق" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "5分钟": { + "text": "5分钟", + "key": "t_63_1745289354897", + "translations": { + "zhCN": "5分钟", + "zhTW": "5分鐘", + "enUS": "5 minutes", + "jaJP": "5分", + "koKR": "5분", + "ruRU": "5 минут", + "ptBR": "5 minutos", + "frFR": "5 minutes", + "esAR": "5 minutos", + "arDZ": "5 دقائق" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "10分钟": { + "text": "10分钟", + "key": "t_64_1745289354670", + "translations": { + "zhCN": "10分钟", + "zhTW": "10分鐘", + "enUS": "10 minutes", + "jaJP": "10分", + "koKR": "10분", + "ruRU": "10 минут", + "ptBR": "10 minutos", + "frFR": "10 minutes", + "esAR": "10 minutos", + "arDZ": "10 دقائق" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "15分钟": { + "text": "15分钟", + "key": "t_65_1745289354591", + "translations": { + "zhCN": "15分钟", + "zhTW": "15分鐘", + "enUS": "15 minutes", + "jaJP": "15分", + "koKR": "15분", + "ruRU": "15 минут", + "ptBR": "15 minutos", + "frFR": "15 minutes", + "esAR": "15 minutos", + "arDZ": "15 دقيقة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "30分钟": { + "text": "30分钟", + "key": "t_66_1745289354655", + "translations": { + "zhCN": "30分钟", + "zhTW": "30分鐘", + "enUS": "30 minutes", + "jaJP": "30分", + "koKR": "30분", + "ruRU": "30 минут", + "ptBR": "30 minutos", + "frFR": "30 minutes", + "esAR": "30 minutos", + "arDZ": "30 دقيقة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "60分钟": { + "text": "60分钟", + "key": "t_67_1745289354487", + "translations": { + "zhCN": "60分钟", + "zhTW": "60分鐘", + "enUS": "60 minutes", + "jaJP": "60分", + "koKR": "60분", + "ruRU": "60 минут", + "ptBR": "60 minutos", + "frFR": "60 minutes", + "esAR": "60 minutos", + "arDZ": "60 دقيقة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "邮件": { + "text": "邮件", + "key": "t_68_1745289354676", + "translations": { + "zhCN": "邮件", + "zhTW": "郵件", + "enUS": "Email", + "jaJP": "メール", + "koKR": "이메일", + "ruRU": "Электронная почта", + "ptBR": "E-mail", + "frFR": "E-mail", + "esAR": "Correo electrónico", + "arDZ": "بريد إلكتروني" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "短信": { + "text": "短信", + "key": "t_69_1745289355721", + "translations": { + "zhCN": "短信", + "zhTW": "短信", + "enUS": "SMS", + "jaJP": "ショートメッセージ", + "koKR": "문자", + "ruRU": "СМС", + "ptBR": "SMS", + "frFR": "SMS", + "esAR": "SMS", + "arDZ": "رسالة قصيرة" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "微信": { + "text": "微信", + "key": "t_70_1745289354904", + "translations": { + "zhCN": "微信", + "zhTW": "微信", + "enUS": "WeChat", + "jaJP": "ライン", + "koKR": "위챗", + "ruRU": "Вайбер", + "ptBR": "WeChat", + "frFR": "WeChat", + "esAR": "WeChat", + "arDZ": "واتساب" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "域名/IP": { + "text": "域名/IP", + "key": "t_71_1745289354583", + "translations": { + "zhCN": "域名/IP", + "zhTW": "域名/IP", + "enUS": "Domain/IP", + "jaJP": "ドメイン/IP", + "koKR": "도메인/IP", + "ruRU": "Домен/IP", + "ptBR": "Domínio/IP", + "frFR": "Domaine/IP", + "esAR": "Dominio/IP", + "arDZ": "اسم النطاق/IP" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "检查周期": { + "text": "检查周期", + "key": "t_72_1745289355715", + "translations": { + "zhCN": "检查周期", + "zhTW": "檢查週期", + "enUS": "Inspection cycle", + "jaJP": "検査サイクル", + "koKR": "점검 주기", + "ruRU": "Период проверки", + "ptBR": "Período de inspeção", + "frFR": "Période de contrôle", + "esAR": "Período de inspección", + "arDZ": "فترة التحقق" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请选择告警渠道": { + "text": "请选择告警渠道", + "key": "t_73_1745289356103", + "translations": { + "zhCN": "请选择告警渠道", + "zhTW": "請選擇告警渠道", + "enUS": "Please select an alert channel", + "jaJP": "警報チャンネルを選択してください", + "koKR": "경고 채널을 선택해 주세요", + "ruRU": "Выберите канал уведомлений", + "ptBR": "Selecione o canal de alerta", + "frFR": "Sélectionnez un canal d'alerte", + "esAR": "Seleccione un canal de alerta", + "arDZ": "يرجى اختيار قناة التحذير" + }, + "timestamp": "2025-04-22T02:36:00.212Z" + }, + "请输入授权api名称": { + "text": "请输入授权api名称", + "key": "t_0_1745289808449", + "translations": { + "zhCN": "请输入授权API名称", + "zhTW": "請輸入授權API名稱", + "enUS": "Please enter the authorized API name", + "jaJP": "認証APIの名前を入力してください", + "koKR": "인증 API 이름을 입력하세요", + "ruRU": "Введите имя авторизованного API", + "ptBR": "Por favor, insira o nome do API autorizado", + "frFR": "Veuillez saisir le nom de l'API autorisée", + "esAR": "Por favor, ingrese el nombre del API autorizado", + "arDZ": "الرجاء إدخال اسم API المصرح به" + }, + "timestamp": "2025-04-22T02:43:28.449Z" + }, + "删除监控": { + "text": "删除监控", + "key": "t_0_1745294710530", + "translations": { + "zhCN": "删除监控", + "zhTW": "刪除監控", + "enUS": "Delete monitoring", + "jaJP": "監視を削除する", + "koKR": "모니터링 삭제", + "ruRU": "Удалить мониторинг", + "ptBR": "Excluir monitoramento", + "frFR": "Supprimer la surveillance", + "esAR": "Eliminar monitoreo", + "arDZ": "حذف المراقبة" + }, + "timestamp": "2025-04-22T04:05:10.531Z" + }, + "更新时间": { + "text": "更新时间", + "key": "t_0_1745295228865", + "translations": { + "zhCN": "更新时间", + "zhTW": "更新時間", + "enUS": "Update Time", + "jaJP": "更新時刻", + "koKR": "업데이트 시간", + "ruRU": "Время обновления", + "ptBR": "Data de atualização", + "frFR": "Heure de mise à jour", + "esAR": "Fecha de actualización", + "arDZ": "زمن التحديث" + }, + "timestamp": "2025-04-22T04:13:48.865Z" + }, + "服务器IP地址格式错误": { + "text": "服务器IP地址格式错误", + "key": "t_0_1745317313835", + "translations": { + "zhCN": "服务器IP地址格式错误", + "zhTW": "伺服器IP位址格式錯誤", + "enUS": "Server IP address format error", + "jaJP": "サーバーIPアドレスの形式が不正です", + "koKR": "서버 IP 주소 형식이 오류입니다", + "ruRU": "Ошибочный формат IP-адреса сервера", + "ptBR": "Endereço IP do servidor está no formato incorreto", + "frFR": "Format de l'adresse IP du serveur incorrect", + "esAR": "Formato incorrecto de la dirección IP del servidor", + "arDZ": "تنسيق عنوان IP للخادم غير صحيح" + }, + "timestamp": "2025-04-22T10:21:55.286Z" + }, + "端口格式错误": { + "text": "端口格式错误", + "key": "t_1_1745317313096", + "translations": { + "zhCN": "端口格式错误", + "zhTW": "端口格式錯誤", + "enUS": "Port format error", + "jaJP": "ポートフォーマットエラー", + "koKR": "포트 포맷 오류", + "ruRU": "Ошибка формата порта", + "ptBR": "Erro de formato de porta", + "frFR": "Erreur de format de port", + "esAR": "Error de formato de puerto", + "arDZ": "خطأ في تنسيق المنفذ" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "面板URL地址格式错误": { + "text": "面板URL地址格式错误", + "key": "t_2_1745317314362", + "translations": { + "zhCN": "面板URL地址格式错误", + "zhTW": "面板URL地址格式錯誤", + "enUS": "Panel URL address format error", + "jaJP": "パネルURLアドレスの形式が不正です", + "koKR": "패널 URL 주소 형식이 잘못되었습니다", + "ruRU": "Ошибка формата URL адреса панели", + "ptBR": "Formato de endereço da URL da página do painel incorreto", + "frFR": "Format incorrect de l'adresse URL du panneau", + "esAR": "Error de formato en la dirección URL del panel", + "arDZ": "خطأ في صيغة عنوان URL للوحة" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "请输入面板API密钥": { + "text": "请输入面板API密钥", + "key": "t_3_1745317313561", + "translations": { + "zhCN": "请输入面板API密钥", + "zhTW": "請輸入面板API金鑰", + "enUS": "Please enter the panel API key", + "jaJP": "パネルAPIキーを入力してください", + "koKR": "패널 API 키를 입력하세요", + "ruRU": "Введіть ключ API панелі", + "ptBR": "Por favor, insira a chave API da panela", + "frFR": "Veuillez saisir la clé API du panneau", + "esAR": "Por favor, ingrese la clave API del panel", + "arDZ": "الرجاء إدخال مفتاح API لوحة التحكم" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "请输入阿里云AccessKeyId": { + "text": "请输入阿里云AccessKeyId", + "key": "t_4_1745317314054", + "translations": { + "zhCN": "请输入阿里云AccessKeyId", + "zhTW": "請輸入阿里雲AccessKeyId", + "enUS": "Please enter the Aliyun AccessKeyId", + "jaJP": "阿里云アクセスキーIDを入力してください", + "koKR": "阿里云 접근키 ID를 입력하세요", + "ruRU": "Введите Aliyun AccessKeyId", + "ptBR": "Por favor, insira o AccessKeyId da Aliyun", + "frFR": "Veuillez saisir le AccessKeyId d'Aliyun", + "esAR": "Por favor, ingrese el AccessKeyId de Aliyun", + "arDZ": "الرجاء إدخال AccessKeyId لـ Aliyun" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "请输入阿里云AccessKeySecret": { + "text": "请输入阿里云AccessKeySecret", + "key": "t_5_1745317315285", + "translations": { + "zhCN": "请输入阿里云AccessKeySecret", + "zhTW": "請輸入阿里雲AccessKeySecret", + "enUS": "Please input the Aliyun AccessKeySecret", + "jaJP": "阿里云のAccessKeySecretを入力してください", + "koKR": "阿里yun AccessKeySecret을 입력하세요", + "ruRU": "Ввведите секретный ключ AccessKey Aliyun", + "ptBR": "Por favor, insira o AccessKeySecret da Aliyun", + "frFR": "Veuillez saisir le AccessKeySecret d'Aliyun", + "esAR": "Por favor, ingrese el AccessKeySecret de Aliyun", + "arDZ": "الرجاء إدخال AccessKeySecret لـ Aliyun" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "请输入腾讯云SecretId": { + "text": "请输入腾讯云SecretId", + "key": "t_6_1745317313383", + "translations": { + "zhCN": "请输入腾讯云SecretId", + "zhTW": "請輸入腾讯雲SecretId", + "enUS": "Please enter the Tencent Cloud SecretId", + "jaJP": "腾讯云SecretIdを入力してください", + "koKR": "腾讯云 SecretId를 입력하세요", + "ruRU": "Введите Tencent Cloud SecretId", + "ptBR": "Por favor, insira o SecretId do Tencent Cloud", + "frFR": "S'il vous plaît saisir le SecretId de Tencent Cloud", + "esAR": "Por favor, ingrese el SecretId de Tencent Cloud", + "arDZ": "الرجاء إدخال SecretId لتencent cloud" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "请输入腾讯云SecretKey": { + "text": "请输入腾讯云SecretKey", + "key": "t_7_1745317313831", + "translations": { + "zhCN": "请输入腾讯云SecretKey", + "zhTW": "請輸入腾讯雲SecretKey", + "enUS": "Please enter the Tencent Cloud SecretKey", + "jaJP": "腾讯雲のSecretKeyを入力してください", + "koKR": "腾讯云 SecretKey를 입력하세요", + "ruRU": "Введите SecretKey Tencent Cloud", + "ptBR": "Por favor, insira a SecretKey da Tencent Cloud", + "frFR": "Veuillez saisir la SecretKey de Tencent Cloud", + "esAR": "Por favor, ingrese la SecretKey de Tencent Cloud", + "arDZ": "من فضلك أدخل SecretKey Tencent Cloud" + }, + "timestamp": "2025-04-22T10:21:55.287Z" + }, + "已启用": { + "text": "已启用", + "key": "t_0_1745457486299", + "translations": { + "zhCN": "已启用", + "zhTW": "已啟用", + "enUS": "Enabled", + "jaJP": "有効", + "koKR": "활성화됨", + "ruRU": "Включено", + "ptBR": "Ativado", + "frFR": "Activé", + "esAR": "Habilitado", + "arDZ": "ممكّن" + }, + "timestamp": "2025-04-24T01:18:20.045Z" + }, + "已停止": { + "text": "已停止", + "key": "t_1_1745457484314", + "translations": { + "zhCN": "已停止", + "zhTW": "已停止", + "enUS": "Stopped", + "jaJP": "停止しました", + "koKR": "중지됨", + "ruRU": "Остановлено", + "ptBR": "Parado", + "frFR": "Arrêté", + "esAR": "Detenido", + "arDZ": "توقف" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "切换为手动模式": { + "text": "切换为手动模式", + "key": "t_2_1745457488661", + "translations": { + "zhCN": "切换为手动模式", + "zhTW": "切換為手動模式", + "enUS": "Switch to manual mode", + "jaJP": "手動モードに切り替え", + "koKR": "수동 모드로 전환", + "ruRU": "Переключиться в ручной режим", + "ptBR": "Mudar para o modo manual", + "frFR": "Passer en mode manuel", + "esAR": "Cambiar a modo manual", + "arDZ": "التبديل إلى الوضع اليدوي" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "切换为自动模式": { + "text": "切换为自动模式", + "key": "t_3_1745457486983", + "translations": { + "zhCN": "切换为自动模式", + "zhTW": "切換為自動模式", + "enUS": "Switch to automatic mode", + "jaJP": "自動モードに切り替える", + "koKR": "자동 모드로 전환", + "ruRU": "Переключиться в автоматический режим", + "ptBR": "Mudar para o modo automático", + "frFR": "Passer en mode automatique", + "esAR": "Cambiar a modo automático", + "arDZ": "التبديل إلى الوضع التلقائي" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "切换为手动模式后,工作流将不再自动执行,但仍可手动执行": { + "text": "切换为手动模式后,工作流将不再自动执行,但仍可手动执行", + "key": "t_4_1745457497303", + "translations": { + "zhCN": "切换为手动模式后,工作流将不再自动执行,但仍可手动执行", + "zhTW": "切換為手動模式後,工作流將不再自動執行,但仍可手動執行", + "enUS": "After switching to manual mode, the workflow will no longer be executed automatically, but can still be executed manually", + "jaJP": "手動モードに切り替えた後、ワークフローは自動的に実行されなくなりますが、手動で実行することは可能です", + "koKR": "수동 모드로 전환한 후 워크플로우는 더 이상 자동으로 실행되지 않지만 수동으로 실행할 수 있습니다", + "ruRU": "После переключения в ручной режим рабочий процесс больше не будет выполняться автоматически, но его все равно можно выполнить вручную", + "ptBR": "Ao mudar para o modo manual, o fluxo de trabalho não será mais executado automaticamente, mas ainda pode ser executado manualmente", + "frFR": "Après avoir basculé en mode manuel, le flux de travail ne s'exécutera plus automatiquement, mais peut toujours être exécuté manuellement", + "esAR": "Después de cambiar al modo manual, el flujo de trabajo ya no se ejecutará automáticamente, pero aún se puede ejecutar manualmente", + "arDZ": "بعد التبديل إلى الوضع اليدوي، لن يتم تنفيذ سير العمل تلقائيًا، ولكن لا يزال يمكن تنفيذه يدويًا" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "切换为自动模式后,工作流将按照配置的时间自动执行": { + "text": "切换为自动模式后,工作流将按照配置的时间自动执行", + "key": "t_5_1745457494695", + "translations": { + "zhCN": "切换为自动模式后,工作流将按照配置的时间自动执行", + "zhTW": "切換為自動模式後,工作流將按照配置的時間自動執行", + "enUS": "After switching to automatic mode, the workflow will automatically execute according to the configured time", + "jaJP": "自動モードに切り替えた後、ワークフローは設定された時間に従って自動的に実行されます", + "koKR": "자동 모드로 전환한 후 워크플로우는 구성된 시간에 따라 자동으로 실행됩니다", + "ruRU": "После переключения в автоматический режим рабочий процесс будет автоматически выполняться в соответствии с настроенным временем", + "ptBR": "Após mudar para o modo automático, o fluxo de trabalho será executado automaticamente de acordo com o tempo configurado", + "frFR": "Après être passé en mode automatique, le flux de travail s'exécutera automatiquement selon le temps configuré", + "esAR": "Después de cambiar al modo automático, el flujo de trabajo se ejecutará automáticamente según el tiempo configurado", + "arDZ": "بعد التبديل إلى الوضع التلقائي، سيعمل سير العمل تلقائيًا وفقًا للوقت المحدد" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "关闭当前工作流": { + "text": "关闭当前工作流", + "key": "t_6_1745457487560", + "translations": { + "zhCN": "关闭当前工作流", + "zhTW": "關閉當前工作流程", + "enUS": "Close current workflow", + "jaJP": "現在のワークフローを閉じる", + "koKR": "현재 워크플로우 닫기", + "ruRU": "Закрыть текущий рабочий процесс", + "ptBR": "Fechar fluxo de trabalho atual", + "frFR": "Fermer le flux de travail actuel", + "esAR": "Cerrar flujo de trabajo actual", + "arDZ": "إغلاق سير العمل الحالي" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "启用当前工作流": { + "text": "启用当前工作流", + "key": "t_7_1745457487185", + "translations": { + "zhCN": "启用当前工作流", + "zhTW": "啟用當前工作流程", + "enUS": "Enable current workflow", + "jaJP": "現在のワークフローを有効にする", + "koKR": "현재 워크플로우 활성화", + "ruRU": "Включить текущий рабочий процесс", + "ptBR": "Ativar fluxo de trabalho atual", + "frFR": "Activer le flux de travail actuel", + "esAR": "Habilitar flujo de trabajo actual", + "arDZ": "تمكين سير العمل الحالي" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "关闭后,工作流将不再自动执行,手动也无法执行,是否继续?": { + "text": "关闭后,工作流将不再自动执行,手动也无法执行,是否继续?", + "key": "t_8_1745457496621", + "translations": { + "zhCN": "关闭后,工作流将不再自动执行,手动也无法执行,是否继续?", + "zhTW": "關閉後,工作流將不再自動執行,手動也無法執行,是否繼續?", + "enUS": "After closing, the workflow will no longer execute automatically and cannot be executed manually. Continue?", + "jaJP": "閉じると、ワークフローは自動的に実行されなくなり、手動でも実行できません。続行しますか?", + "koKR": "닫으면 워크플로우가 자동으로 실행되지 않고 수동으로도 실행할 수 없습니다. 계속하시겠습니까?", + "ruRU": "После закрытия рабочий процесс больше не будет выполняться автоматически и вручную его тоже невозможно будет выполнить. Продолжить?", + "ptBR": "Após o fechamento, o fluxo de trabalho não será mais executado automaticamente e não poderá ser executado manualmente. Continuar?", + "frFR": "Après la fermeture, le flux de travail ne s'exécutera plus automatiquement et ne pourra pas être exécuté manuellement. Continuer ?", + "esAR": "Después de cerrar, el flujo de trabajo ya no se ejecutará automáticamente ni se podrá ejecutar manualmente. ¿Continuar?", + "arDZ": "بعد الإغلاق، لن يتم تنفيذ سير العمل تلقائيًا ولن يمكن تنفيذه يدويًا. هل تريد المتابعة؟" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "启用后,工作流配置自动执行,或手动执行,是否继续?": { + "text": "启用后,工作流配置自动执行,或手动执行,是否继续?", + "key": "t_9_1745457500045", + "translations": { + "zhCN": "启用后,工作流配置自动执行,或手动执行,是否继续?", + "zhTW": "啟用後,工作流程配置自動執行,或手動執行,是否繼續?", + "enUS": "After enabling, the workflow configuration will execute automatically or manually. Continue?", + "jaJP": "有効にすると、ワークフロー設定が自動的に実行されるか、手動で実行されます。続行しますか?", + "koKR": "활성화 후, 워크플로 구성이 자동 또는 수동으로 실행됩니다. 계속하시겠습니까?", + "ruRU": "После включения конфигурация рабочего процесса будет выполняться автоматически или вручную. Продолжить?", + "ptBR": "Após ativar, a configuração do fluxo de trabalho será executada automaticamente ou manualmente. Continuar?", + "frFR": "Après activation, la configuration du flux de travail s'exécutera automatiquement ou manuellement. Continuer ?", + "esAR": "Después de habilitar, la configuración del flujo de trabajo se ejecutará automáticamente o manualmente. ¿Continuar?", + "arDZ": "بعد التمكين، سيتم تنفيذ تكوين سير العمل تلقائيًا أو يدويًا. متابعة؟" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "添加工作流失败": { + "text": "添加工作流失败", + "key": "t_10_1745457486451", + "translations": { + "zhCN": "添加工作流失败", + "zhTW": "添加工作流程失敗", + "enUS": "Failed to add workflow", + "jaJP": "ワークフローの追加に失敗しました", + "koKR": "워크플로우 추가 실패", + "ruRU": "Не удалось добавить рабочий процесс", + "ptBR": "Falha ao adicionar fluxo de trabalho", + "frFR": "Échec de l'ajout du flux de travail", + "esAR": "Error al añadir el flujo de trabajo", + "arDZ": "فشل إضافة سير العمل" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "设置工作流运行方式失败": { + "text": "设置工作流运行方式失败", + "key": "t_11_1745457488256", + "translations": { + "zhCN": "设置工作流运行方式失败", + "zhTW": "設置工作流程運行方式失敗", + "enUS": "Failed to set workflow execution method", + "jaJP": "ワークフローの実行方法の設定に失敗しました", + "koKR": "워크플로우 실행 방식 설정 실패", + "ruRU": "Не удалось установить метод выполнения рабочего процесса", + "ptBR": "Falha ao definir o método de execução do fluxo de trabalho", + "frFR": "Échec de la définition du mode d'exécution du flux de travail", + "esAR": "Error al configurar el método de ejecución del flujo de trabajo", + "arDZ": "فشل في تعيين طريقة تنفيذ سير العمل" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "启用或禁用工作流失败": { + "text": "启用或禁用工作流失败", + "key": "t_12_1745457489076", + "translations": { + "zhCN": "启用或禁用工作流失败", + "zhTW": "啟用或禁用工作流程失敗", + "enUS": "Enable or disable workflow failure", + "jaJP": "ワークフローの失敗を有効または無効にする", + "koKR": "워크플로우 실패 활성화 또는 비활성화", + "ruRU": "Включение или отключение сбоя рабочего процесса", + "ptBR": "Ativar ou desativar falha no fluxo de trabalho", + "frFR": "Activer ou désactiver l'échec du flux de travail", + "esAR": "Habilitar o deshabilitar falla del flujo de trabajo", + "arDZ": "تمكين أو تعطيل فشل سير العمل" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "执行工作流失败": { + "text": "执行工作流失败", + "key": "t_13_1745457487555", + "translations": { + "zhCN": "执行工作流失败", + "zhTW": "執行工作流程失敗", + "enUS": "Failed to execute workflow", + "jaJP": "ワークフローの実行に失敗しました", + "koKR": "워크플로우 실행 실패", + "ruRU": "Не удалось выполнить рабочий процесс", + "ptBR": "Falha ao executar o fluxo de trabalho", + "frFR": "Échec de l'exécution du workflow", + "esAR": "Error al ejecutar el flujo de trabajo", + "arDZ": "فشل تنفيذ سير العمل" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "删除工作流失败": { + "text": "删除工作流失败", + "key": "t_14_1745457488092", + "translations": { + "zhCN": "删除工作流失败", + "zhTW": "刪除工作流失敗", + "enUS": "Failed to delete workflow", + "jaJP": "ワークフローの削除に失敗しました", + "koKR": "워크플로우 삭제 실패", + "ruRU": "Не удалось удалить рабочий процесс", + "ptBR": "Falha ao excluir fluxo de trabalho", + "frFR": "Échec de la suppression du flux de travail", + "esAR": "Error al eliminar el flujo de trabajo", + "arDZ": "فشل في حذف سير العمل" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "退出": { + "text": "退出", + "key": "t_15_1745457484292", + "translations": { + "zhCN": "退出", + "zhTW": "退出", + "enUS": "Exit", + "jaJP": "終了", + "koKR": "종료", + "ruRU": "Выход", + "ptBR": "Sair", + "frFR": "Quitter", + "esAR": "Salir", + "arDZ": "خروج" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "即将退出登录状态,确认退出吗?": { + "text": "即将退出登录状态,确认退出吗?", + "key": "t_16_1745457491607", + "translations": { + "zhCN": "即将退出登录状态,确认退出吗?", + "zhTW": "即將登出,確認要登出嗎?", + "enUS": "You are about to log out. Are you sure you want to exit?", + "jaJP": "ログアウトしようとしています。ログアウトしますか?", + "koKR": "로그아웃하려고 합니다. 로그아웃하시겠습니까?", + "ruRU": "Вы собираетесь выйти из системы. Вы уверены, что хотите выйти?", + "ptBR": "Você está prestes a sair. Tem certeza de que deseja sair?", + "frFR": "Vous êtes sur le point de vous déconnecter. Êtes-vous sûr de vouloir quitter ?", + "esAR": "Estás a punto de cerrar sesión. ¿Seguro que quieres salir?", + "arDZ": "أنت على وشك تسجيل الخروج. هل أنت متأكد أنك تريد الخروج؟" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "正在退出登录状态,请稍后...": { + "text": "正在退出登录状态,请稍后...", + "key": "t_17_1745457488251", + "translations": { + "zhCN": "正在退出登录状态,请稍后...", + "zhTW": "正在登出,請稍候...", + "enUS": "Logging out, please wait...", + "jaJP": "ログアウト中です、少々お待ちください...", + "koKR": "로그아웃 중입니다. 잠시만 기다려주세요...", + "ruRU": "Выход из системы, пожалуйста, подождите...", + "ptBR": "Saindo da conta, por favor aguarde...", + "frFR": "Déconnexion en cours, veuillez patienter...", + "esAR": "Cerrando sesión, por favor espere...", + "arDZ": "جاري تسجيل الخروج، يرجى الانتظار..." + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "添加邮箱通知": { + "text": "添加邮箱通知", + "key": "t_18_1745457490931", + "translations": { + "zhCN": "添加邮箱通知", + "zhTW": "新增郵箱通知", + "enUS": "Add email notification", + "jaJP": "メール通知を追加", + "koKR": "이메일 알림 추가", + "ruRU": "Добавить уведомление по электронной почте", + "ptBR": "Adicionar notificação por e-mail", + "frFR": "Ajouter une notification par e-mail", + "esAR": "Agregar notificación por correo electrónico", + "arDZ": "إضافة إشعار عبر البريد الإلكتروني" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "保存成功": { + "text": "保存成功", + "key": "t_19_1745457484684", + "translations": { + "zhCN": "保存成功", + "zhTW": "儲存成功", + "enUS": "Saved successfully", + "jaJP": "保存が成功しました", + "koKR": "저장 성공", + "ruRU": "Сохранено успешно", + "ptBR": "Salvo com sucesso", + "frFR": "Enregistré avec succès", + "esAR": "Guardado exitosamente", + "arDZ": "تم الحفظ بنجاح" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "删除成功": { + "text": "删除成功", + "key": "t_20_1745457485905", + "translations": { + "zhCN": "删除成功", + "zhTW": "刪除成功", + "enUS": "Deleted successfully", + "jaJP": "削除に成功しました", + "koKR": "삭제 성공", + "ruRU": "Удалено успешно", + "ptBR": "Excluído com sucesso", + "frFR": "Supprimé avec succès", + "esAR": "Eliminado con éxito", + "arDZ": "تم الحذف بنجاح" + }, + "timestamp": "2025-04-24T01:18:20.046Z" + }, + "获取系统设置失败": { + "text": "获取系统设置失败", + "key": "t_0_1745464080226", + "translations": { + "zhCN": "获取系统设置失败", + "zhTW": "獲取系統設置失敗", + "enUS": "Failed to get system settings", + "jaJP": "システム設定の取得に失敗しました", + "koKR": "시스템 설정 가져오기 실패", + "ruRU": "Не удалось получить настройки системы", + "ptBR": "Falha ao obter as configurações do sistema", + "frFR": "Échec de la récupération des paramètres du système", + "esAR": "Error al obtener la configuración del sistema", + "arDZ": "فشل الحصول على إعدادات النظام" + }, + "timestamp": "2025-04-24T03:08:06.047Z" + }, + "设置保存失败": { + "text": "设置保存失败", + "key": "t_1_1745464079590", + "translations": { + "zhCN": "设置保存失败", + "zhTW": "設定儲存失敗", + "enUS": "Failed to save settings", + "jaJP": "設定の保存に失敗しました", + "koKR": "설정 저장 실패", + "ruRU": "Не удалось сохранить настройки", + "ptBR": "Falha ao salvar configurações", + "frFR": "Échec de l'enregistrement des paramètres", + "esAR": "Error al guardar la configuración", + "arDZ": "فشل حفظ الإعدادات" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "获取通知设置失败": { + "text": "获取通知设置失败", + "key": "t_2_1745464077081", + "translations": { + "zhCN": "获取通知设置失败", + "zhTW": "獲取通知設置失敗", + "enUS": "Failed to get notification settings", + "jaJP": "通知設定の取得に失敗しました", + "koKR": "알림 설정 가져오기 실패", + "ruRU": "Не удалось получить настройки уведомлений", + "ptBR": "Falha ao obter configurações de notificação", + "frFR": "Échec de la récupération des paramètres de notification", + "esAR": "Error al obtener la configuración de notificaciones", + "arDZ": "فشل الحصول على إعدادات الإشعار" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "保存通知设置失败": { + "text": "保存通知设置失败", + "key": "t_3_1745464081058", + "translations": { + "zhCN": "保存通知设置失败", + "zhTW": "儲存通知設定失敗", + "enUS": "Failed to save notification settings", + "jaJP": "通知設定の保存に失敗しました", + "koKR": "알림 설정 저장 실패", + "ruRU": "Не удалось сохранить настройки уведомлений", + "ptBR": "Falha ao salvar configurações de notificação", + "frFR": "Échec de l'enregistrement des paramètres de notification", + "esAR": "Error al guardar la configuración de notificaciones", + "arDZ": "فشل حفظ إعدادات الإشعار" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "获取通知渠道列表失败": { + "text": "获取通知渠道列表失败", + "key": "t_4_1745464075382", + "translations": { + "zhCN": "获取通知渠道列表失败", + "zhTW": "獲取通知渠道列表失敗", + "enUS": "Failed to get notification channel list", + "jaJP": "通知チャネルリストの取得に失敗しました", + "koKR": "알림 채널 목록 가져오기 실패", + "ruRU": "Не удалось получить список каналов уведомлений", + "ptBR": "Falha ao obter a lista de canais de notificação", + "frFR": "Échec de la récupération de la liste des canaux de notification", + "esAR": "Error al obtener la lista de canales de notificación", + "arDZ": "فشل في الحصول على قائمة قنوات الإخطار" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "添加邮箱通知渠道失败": { + "text": "添加邮箱通知渠道失败", + "key": "t_5_1745464086047", + "translations": { + "zhCN": "添加邮箱通知渠道失败", + "zhTW": "添加郵箱通知渠道失敗", + "enUS": "Failed to add email notification channel", + "jaJP": "メール通知チャネルの追加に失敗しました", + "koKR": "이메일 알림 채널 추가 실패", + "ruRU": "Не удалось добавить канал уведомлений по электронной почте", + "ptBR": "Falha ao adicionar canal de notificação por e-mail", + "frFR": "Échec de l'ajout du canal de notification par email", + "esAR": "Error al agregar el canal de notificación por correo electrónico", + "arDZ": "فشل إضافة قناة إشعار البريد الإلكتروني" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "更新通知渠道失败": { + "text": "更新通知渠道失败", + "key": "t_6_1745464075714", + "translations": { + "zhCN": "更新通知渠道失败", + "zhTW": "更新通知渠道失敗", + "enUS": "Failed to update notification channel", + "jaJP": "通知チャネルの更新に失敗しました", + "koKR": "알림 채널 업데이트 실패", + "ruRU": "Не удалось обновить канал уведомлений", + "ptBR": "Falha ao atualizar o canal de notificação", + "frFR": "Échec de la mise à jour du canal de notification", + "esAR": "Error al actualizar el canal de notificación", + "arDZ": "فشل تحديث قناة الإشعارات" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "删除通知渠道失败": { + "text": "删除通知渠道失败", + "key": "t_7_1745464073330", + "translations": { + "zhCN": "删除通知渠道失败", + "zhTW": "刪除通知渠道失敗", + "enUS": "Failed to delete notification channel", + "jaJP": "通知チャネルの削除に失敗しました", + "koKR": "알림 채널 삭제 실패", + "ruRU": "Не удалось удалить канал уведомлений", + "ptBR": "Falha ao excluir o canal de notificação", + "frFR": "Échec de la suppression du canal de notification", + "esAR": "Error al eliminar el canal de notificación", + "arDZ": "فشل حذف قناة الإشعار" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "检查版本更新失败": { + "text": "检查版本更新失败", + "key": "t_8_1745464081472", + "translations": { + "zhCN": "检查版本更新失败", + "zhTW": "檢查版本更新失敗", + "enUS": "Failed to check for version update", + "jaJP": "バージョン更新の確認に失敗しました", + "koKR": "버전 업데이트 확인 실패", + "ruRU": "Не удалось проверить обновление версии", + "ptBR": "Falha ao verificar atualização de versão", + "frFR": "Échec de la vérification de la mise à jour de version", + "esAR": "Error al comprobar la actualización de versión", + "arDZ": "فشل التحقق من تحديث النسخة" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "保存设置": { + "text": "保存设置", + "key": "t_9_1745464078110", + "translations": { + "zhCN": "保存设置", + "zhTW": "儲存設定", + "enUS": "Save settings", + "jaJP": "設定を保存", + "koKR": "설정 저장", + "ruRU": "Сохранить настройки", + "ptBR": "Salvar configurações", + "frFR": "Enregistrer les paramètres", + "esAR": "Guardar configuración", + "arDZ": "حفظ الإعدادات" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "基础设置": { + "text": "基础设置", + "key": "t_10_1745464073098", + "translations": { + "zhCN": "基础设置", + "zhTW": "基礎設定", + "enUS": "Basic Settings", + "jaJP": "基本設定", + "koKR": "기본 설정", + "ruRU": "Основные настройки", + "ptBR": "Configurações básicas", + "frFR": "Paramètres de base", + "esAR": "Configuración básica", + "arDZ": "الإعدادات الأساسية" + }, + "timestamp": "2025-04-24T03:08:06.048Z" + }, + "选择模板": { + "text": "选择模板", + "key": "t_0_1745474945127", + "translations": { + "zhCN": "选择模板", + "zhTW": "選擇範本", + "enUS": "Choose template", + "jaJP": "テンプレートを選択", + "koKR": "템플릿 선택", + "ruRU": "Выбрать шаблон", + "ptBR": "Escolher modelo", + "frFR": "Choisir un modèle", + "esAR": "Elegir plantilla", + "arDZ": "اختر نموذج" + }, + "timestamp": "2025-04-24T06:09:05.127Z" + }, + "请输入工作流名称": { + "text": "请输入工作流名称", + "key": "t_0_1745490735213", + "translations": { + "zhCN": "请输入工作流名称", + "enUS": "Please enter the workflow name", + "jaJP": "ワークフロー名を入力してください", + "koKR": "워크플로우 이름을 입력하세요", + "ruRU": "Введите название рабочего процесса", + "ptBR": "Por favor, insira o nome do fluxo de trabalho", + "frFR": "Veuillez saisir le nom du workflow", + "esAR": "Por favor ingrese el nombre del flujo de trabajo", + "arDZ": "الرجاء إدخال اسم سير العمل", + "zhTW": "請輸入工作流程名稱" + }, + "timestamp": "2025-04-24T10:32:19.917Z" + }, + "配置": { + "text": "配置", + "key": "t_1_1745490731990", + "translations": { + "zhCN": "配置", + "zhTW": "配置", + "enUS": "Configuration", + "jaJP": "設定", + "koKR": "설정", + "ruRU": "Конфигурация", + "ptBR": "Configuração", + "frFR": "Configuration", + "esAR": "Configuración", + "arDZ": "إعدادات" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请输入邮箱格式": { + "text": "请输入邮箱格式", + "key": "t_2_1745490735558", + "translations": { + "zhCN": "请输入邮箱格式", + "zhTW": "請輸入電郵格式", + "enUS": "Please enter the email format", + "jaJP": "メール形式を入力してください", + "koKR": "이메일 형식을 입력하세요", + "ruRU": "Пожалуйста, введите формат электронной почты", + "ptBR": "Por favor, insira o formato de e-mail", + "frFR": "Veuillez saisir le format d'e-mail", + "esAR": "Por favor, ingrese el formato de correo electrónico", + "arDZ": "يرجى إدخال البريد الإلكتروني" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请选择DNS提供商": { + "text": "请选择DNS提供商", + "key": "t_3_1745490735059", + "translations": { + "zhCN": "请选择DNS提供商", + "zhTW": "請選擇DNS提供商", + "enUS": "Please select a DNS provider", + "jaJP": "DNSプロバイダーを選択してください", + "koKR": "DNS 공급자를 선택하세요", + "ruRU": "Пожалуйста, выберите поставщика DNS", + "ptBR": "Por favor, selecione um provedor de DNS", + "frFR": "Veuillez sélectionner un fournisseur DNS", + "esAR": "Por favor, seleccione un proveedor de DNS", + "arDZ": "يرجى اختيار موفر DNS" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请输入续签间隔": { + "text": "请输入续签间隔", + "key": "t_4_1745490735630", + "translations": { + "zhCN": "请输入续签间隔", + "zhTW": "請輸入續簽間隔", + "enUS": "Please enter the renewal interval", + "jaJP": "更新間隔を入力してください", + "koKR": "갱신 간격을 입력하세요", + "ruRU": "Введите интервал продления", + "ptBR": "Por favor, insira o intervalo de renovação", + "frFR": "Veuillez saisir l'intervalle de renouvellement", + "esAR": "Por favor, ingrese el intervalo de renovación", + "arDZ": "الرجاء إدخال فاصل التجديد" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请输入域名,域名不能为空": { + "text": "请输入域名,域名不能为空", + "key": "t_5_1745490738285", + "translations": { + "zhCN": "请输入域名,域名不能为空", + "zhTW": "請輸入域名,域名不能為空", + "enUS": "Please enter the domain name, the domain name cannot be empty", + "jaJP": "ドメイン名を入力してください。ドメイン名は空にできません", + "koKR": "도메인 이름을 입력하세요. 도메인 이름은 비워둘 수 없습니다", + "ruRU": "Введите доменное имя, оно не может быть пустым", + "ptBR": "Digite o nome de domínio, o nome de domínio não pode estar vazio", + "frFR": "Veuillez entrer le nom de domaine, il ne peut pas être vide", + "esAR": "Ingrese el nombre de dominio, el nombre de dominio no puede estar vacío", + "arDZ": "الرجاء إدخال اسم النطاق، لا يمكن أن يكون اسم النطاق فارغًا" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请输入邮箱,邮箱不能为空": { + "text": "请输入邮箱,邮箱不能为空", + "key": "t_6_1745490738548", + "translations": { + "zhCN": "请输入邮箱,邮箱不能为空", + "zhTW": "請輸入郵箱,郵箱不能為空", + "enUS": "Please enter your email, email cannot be empty", + "jaJP": "メールアドレスを入力してください、メールアドレスは空にできません", + "koKR": "이메일을 입력하세요, 이메일은 비워둘 수 없습니다", + "ruRU": "Пожалуйста, введите адрес электронной почты, поле не может быть пустым", + "ptBR": "Por favor, insira o e-mail, o e-mail não pode estar vazio", + "frFR": "Veuillez entrer votre email, l'email ne peut pas être vide", + "esAR": "Por favor ingrese el correo electrónico, el correo electrónico no puede estar vacío", + "arDZ": "الرجاء إدخال البريد الإلكتروني، لا يمكن أن يكون البريد الإلكتروني فارغًا" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请选择DNS提供商,DNS提供商不能为空": { + "text": "请选择DNS提供商,DNS提供商不能为空", + "key": "t_7_1745490739917", + "translations": { + "zhCN": "请选择DNS提供商,DNS提供商不能为空", + "zhTW": "請選擇DNS提供商,DNS提供商不能為空", + "enUS": "Please select a DNS provider, the DNS provider cannot be empty", + "jaJP": "DNSプロバイダーを選択してください。DNSプロバイダーは空にできません", + "koKR": "DNS 공급자를 선택하십시오. DNS 공급자는 비워 둘 수 없습니다", + "ruRU": "Пожалуйста, выберите DNS-провайдера, DNS-провайдер не может быть пустым", + "ptBR": "Por favor, selecione um provedor DNS, o provedor DNS não pode estar vazio", + "frFR": "Veuillez sélectionner un fournisseur DNS, le fournisseur DNS ne peut pas être vide", + "esAR": "Por favor, seleccione un proveedor DNS, el proveedor DNS no puede estar vacío", + "arDZ": "الرجاء اختيار موفر DNS، لا يمكن أن يكون موفر DNS فارغًا" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "请输入续签间隔,续签间隔不能为空": { + "text": "请输入续签间隔,续签间隔不能为空", + "key": "t_8_1745490739319", + "translations": { + "zhCN": "请输入续签间隔,续签间隔不能为空", + "zhTW": "請輸入續簽間隔,續簽間隔不能為空", + "enUS": "Please enter the renewal interval, the renewal interval cannot be empty", + "jaJP": "更新間隔を入力してください。更新間隔は空にできません", + "koKR": "갱신 간격을 입력하세요. 갱신 간격은 비워둘 수 없습니다", + "ruRU": "Введите интервал продления, интервал продления не может быть пустым", + "ptBR": "Insira o intervalo de renovação, o intervalo de renovação não pode estar vazio", + "frFR": "Veuillez saisir l'intervalle de renouvellement, l'intervalle de renouvellement ne peut pas être vide", + "esAR": "Ingrese el intervalo de renovación, el intervalo de renovación no puede estar vacío", + "arDZ": "الرجاء إدخال فترة التجديد، فترة التجديد لا يمكن أن تكون فارغة" + }, + "timestamp": "2025-04-24T10:32:19.918Z" + }, + "邮箱格式错误,请输入正确的邮箱": { + "text": "邮箱格式错误,请输入正确的邮箱", + "key": "t_1_1745553909483", + "translations": { + "zhCN": "邮箱格式错误,请输入正确的邮箱", + "zhTW": "郵箱格式錯誤,請輸入正確的郵箱", + "enUS": "Invalid email format, please enter a correct email", + "jaJP": "メールの形式が正しくありません。正しいメールアドレスを入力してください", + "koKR": "이메일 형식이 잘못되었습니다. 올바른 이메일을 입력하세요", + "ruRU": "Неверный формат электронной почты, введите правильный адрес", + "ptBR": "Formato de e-mail inválido, por favor insira um e-mail correto", + "frFR": "Format d'email incorrect, veuillez saisir un email valide", + "esAR": "Formato de correo electrónico incorrecto, ingrese un correo correcto", + "arDZ": "تنسيق البريد الإلكتروني غير صحيح، يرجى إدخال بريد صحيح" + }, + "timestamp": "2025-04-25T04:05:10.662Z" + }, + "续签间隔不能为空": { + "text": "续签间隔不能为空", + "key": "t_2_1745553907423", + "translations": { + "zhCN": "续签间隔不能为空", + "zhTW": "續簽間隔不能為空", + "enUS": "Renewal interval cannot be empty", + "jaJP": "更新間隔は空にできません", + "koKR": "갱신 간격은 비워둘 수 없습니다", + "ruRU": "Интервал продления не может быть пустым", + "ptBR": "O intervalo de renovação não pode estar vazio", + "frFR": "L'intervalle de renouvellement ne peut pas être vide", + "esAR": "El intervalo de renovación no puede estar vacío", + "arDZ": "لا يمكن أن يكون فاصل التجديد فارغًا" + }, + "timestamp": "2025-04-25T04:05:10.662Z" + }, + "请输入证书域名,多个域名用逗号分隔": { + "text": "请输入证书域名,多个域名用逗号分隔", + "key": "t_0_1745735774005", + "translations": { + "zhCN": "请输入证书域名,多个域名用逗号分隔", + "zhTW": "請輸入證書域名,多個域名用逗號分隔", + "enUS": "Please enter the certificate domain name, multiple domain names separated by commas", + "jaJP": "証明書のドメイン名を入力してください。複数のドメイン名はカンマで区切ります", + "koKR": "인증서 도메인 이름을 입력하세요. 여러 도메인 이름은 쉼표로 구분합니다", + "ruRU": "Введите доменное имя сертификата, несколько доменных имен разделяются запятыми", + "ptBR": "Digite o nome de domínio do certificado, vários nomes de domínio separados por vírgulas", + "frFR": "Veuillez saisir le nom de domaine du certificat, plusieurs noms de domaine séparés par des virgules", + "esAR": "Ingrese el nombre de dominio del certificado, varios nombres de dominio separados por comas", + "arDZ": "الرجاء إدخال اسم نطاق الشهادة، أسماء نطاقات متعددة مفصولة بفواصل" + }, + "timestamp": "2025-04-27T06:36:55.317Z" + }, + "邮箱": { + "text": "邮箱", + "key": "t_1_1745735764953", + "translations": { + "zhCN": "邮箱", + "zhTW": "信箱", + "enUS": "Mailbox", + "jaJP": "メールボックス", + "koKR": "메일박스", + "ruRU": "Почтовый ящик", + "ptBR": "Caixa de correio", + "frFR": "Boîte aux lettres", + "esAR": "Buzón", + "arDZ": "صندوق البريد" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入邮箱,用于接收证书颁发机构的邮件通知": { + "text": "请输入邮箱,用于接收证书颁发机构的邮件通知", + "key": "t_2_1745735773668", + "translations": { + "zhCN": "请输入邮箱,用于接收证书颁发机构的邮件通知", + "zhTW": "請輸入郵箱,用於接收證書頒發機構的郵件通知", + "enUS": "Please enter your email to receive notifications from the certificate authority", + "jaJP": "証明書発行機関からのメール通知を受け取るためにメールアドレスを入力してください", + "koKR": "인증 기관의 메일 알림을 수신할 이메일을 입력해 주세요", + "ruRU": "Введите адрес электронной почты для получения уведомлений от сертификационного органа", + "ptBR": "Digite seu e-mail para receber notificações da autoridade certificadora", + "frFR": "Veuillez saisir votre adresse e-mail pour recevoir les notifications de l'autorité de certification", + "esAR": "Ingrese su correo electrónico para recibir notificaciones de la autoridad certificadora", + "arDZ": "الرجاء إدخال البريد الإلكتروني لتلقي إشعارات من سلطة الشهادات" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "DNS提供商": { + "text": "DNS提供商", + "key": "t_3_1745735765112", + "translations": { + "zhCN": "DNS提供商", + "zhTW": "DNS提供商", + "enUS": "DNS provider", + "jaJP": "DNSプロバイダー", + "koKR": "DNS 제공자", + "ruRU": "Провайдер DNS", + "ptBR": "Provedor de DNS", + "frFR": "Fournisseur DNS", + "esAR": "Proveedor de DNS", + "arDZ": "موفر DNS" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "添加": { + "text": "添加", + "key": "t_4_1745735765372", + "translations": { + "zhCN": "添加", + "zhTW": "添加", + "enUS": "Add", + "jaJP": "追加", + "koKR": "추가", + "ruRU": "Добавить", + "ptBR": "Adicionar", + "frFR": "Ajouter", + "esAR": "Agregar", + "arDZ": "إضافة" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "续签间隔(天)": { + "text": "续签间隔(天)", + "key": "t_5_1745735769112", + "translations": { + "zhCN": "续签间隔(天)", + "zhTW": "續簽間隔(天)", + "enUS": "Renewal Interval (Days)", + "jaJP": "更新間隔 (日)", + "koKR": "갱신 간격 (일)", + "ruRU": "Интервал продления (дни)", + "ptBR": "Intervalo de Renovação (Dias)", + "frFR": "Intervalle de renouvellement (jours)", + "esAR": "Intervalo de Renovación (Días)", + "arDZ": "فترة التجديد (أيام)" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "续签间隔时间": { + "text": "续签间隔时间", + "key": "t_6_1745735765205", + "translations": { + "zhCN": "续签间隔时间", + "zhTW": "續簽間隔時間", + "enUS": "Renewal interval", + "jaJP": "更新間隔", + "koKR": "갱신 간격", + "ruRU": "Интервал продления", + "ptBR": "Intervalo de renovação", + "frFR": "Intervalle de renouvellement", + "esAR": "Intervalo de renovación", + "arDZ": "فترة التجديد" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "天,到期后自动续签": { + "text": "天,到期后自动续签", + "key": "t_7_1745735768326", + "translations": { + "zhCN": "天,到期后自动续签", + "zhTW": "天,到期後自動續簽", + "enUS": "day, automatically renewed upon expiration", + "jaJP": "日、期限切れ後に自動更新", + "koKR": "일, 만료 후 자동 갱신", + "ruRU": "дней, автоматически продлевается после истечения срока", + "ptBR": "dias, renovado automaticamente após o vencimento", + "frFR": "jour(s), renouvelé automatiquement à l'expiration", + "esAR": "días, se renueva automáticamente al vencimiento", + "arDZ": "يوم، يتم التجديد تلقائيًا عند الانتهاء" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "已配置": { + "text": "已配置", + "key": "t_8_1745735765753", + "translations": { + "zhCN": "已配置", + "zhTW": "已配置", + "enUS": "Configured", + "jaJP": "設定済み", + "koKR": "구성됨", + "ruRU": "Настроено", + "ptBR": "Configurado", + "frFR": "Configuré", + "esAR": "Configurado", + "arDZ": "تم التكوين" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "未配置": { + "text": "未配置", + "key": "t_9_1745735765287", + "translations": { + "zhCN": "未配置", + "zhTW": "未配置", + "enUS": "Not configured", + "jaJP": "未設定", + "koKR": "구성되지 않음", + "ruRU": "Не настроено", + "ptBR": "Não configurado", + "frFR": "Non configuré", + "esAR": "No configurado", + "arDZ": "غير مهيأ" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "宝塔面板": { + "text": "宝塔面板", + "key": "t_10_1745735765165", + "translations": { + "zhCN": "宝塔面板", + "zhTW": "寶塔面板", + "enUS": "Pagoda Panel", + "jaJP": "パゴダパネル", + "koKR": "파고다 패널", + "ruRU": "Панель Пагода", + "ptBR": "Painel Pagode", + "frFR": "Panneau Pagode", + "esAR": "Panel Pagoda", + "arDZ": "لوحة باغودة" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "宝塔面板网站": { + "text": "宝塔面板网站", + "key": "t_11_1745735766456", + "translations": { + "zhCN": "宝塔面板网站", + "zhTW": "寶塔面板網站", + "enUS": "Pagoda Panel Website", + "jaJP": "宝塔パネルのウェブサイト", + "koKR": "파고다 패널 웹사이트", + "ruRU": "Веб-сайт панели Pagoda", + "ptBR": "Site do Painel Pagoda", + "frFR": "Site Web du Panneau Pagode", + "esAR": "Sitio web del Panel Pagoda", + "arDZ": "موقع لوحة باغودا" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "1Panel面板": { + "text": "1Panel面板", + "key": "t_12_1745735765571", + "translations": { + "zhCN": "1Panel面板", + "zhTW": "1Panel面板", + "enUS": "1Panel", + "jaJP": "1Panelパネル", + "koKR": "1Panel 패널", + "ruRU": "Панель 1Panel", + "ptBR": "Painel 1Panel", + "frFR": "Panneau 1Panel", + "esAR": "Panel 1Panel", + "arDZ": "لوحة 1Panel" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "1Panel网站": { + "text": "1Panel网站", + "key": "t_13_1745735766084", + "translations": { + "zhCN": "1Panel网站", + "zhTW": "1Panel網站", + "enUS": "1Panel website", + "jaJP": "1Panelウェブサイト", + "koKR": "1Panel 웹사이트", + "ruRU": "1Panel веб-сайт", + "ptBR": "1Panel site", + "frFR": "1Panel site web", + "esAR": "1Panel sitio web", + "arDZ": "1Panel موقع إلكتروني" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "腾讯云CDN": { + "text": "腾讯云CDN", + "key": "t_14_1745735766121", + "translations": { + "zhCN": "腾讯云CDN", + "zhTW": "騰訊雲CDN", + "enUS": "Tencent Cloud CDN", + "jaJP": "Tencent Cloud CDN", + "koKR": "텐센트 클라우드 CDN", + "ruRU": "Tencent Cloud CDN", + "ptBR": "Tencent Cloud CDN", + "frFR": "Tencent Cloud CDN", + "esAR": "Tencent Cloud CDN", + "arDZ": "تنسنت كلاود CDN" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "腾讯云COS": { + "text": "腾讯云COS", + "key": "t_15_1745735768976", + "translations": { + "zhCN": "腾讯云COS", + "zhTW": "騰訊雲COS", + "enUS": "Tencent Cloud COS", + "jaJP": "Tencent Cloud COS", + "koKR": "텐센트 클라우드 COS", + "ruRU": "Tencent Cloud COS", + "ptBR": "Tencent Cloud COS", + "frFR": "Tencent Cloud COS", + "esAR": "Tencent Cloud COS", + "arDZ": "تنسنت كلاود كوس" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "阿里云CDN": { + "text": "阿里云CDN", + "key": "t_16_1745735766712", + "translations": { + "zhCN": "阿里云CDN", + "zhTW": "阿里雲CDN", + "enUS": "Alibaba Cloud CDN", + "jaJP": "阿里雲CDN", + "koKR": "알리바바 클라우드 CDN", + "ruRU": "Alibaba Cloud CDN", + "ptBR": "Alibaba Cloud CDN", + "frFR": "Alibaba Cloud CDN", + "esAR": "Alibaba Cloud CDN", + "arDZ": "ألي بابا كلاود CDN" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "部署类型": { + "text": "部署类型", + "key": "t_18_1745735765638", + "translations": { + "zhCN": "部署类型", + "zhTW": "部署類型", + "enUS": "Deployment Type", + "jaJP": "展開タイプ", + "koKR": "배포 유형", + "ruRU": "Тип развертывания", + "ptBR": "Tipo de Implantação", + "frFR": "Type de déploiement", + "esAR": "Tipo de despliegue", + "arDZ": "نوع النشر" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请选择部署类型": { + "text": "请选择部署类型", + "key": "t_19_1745735766810", + "translations": { + "zhCN": "请选择部署类型", + "zhTW": "請選擇部署類型", + "enUS": "Please select deployment type", + "jaJP": "展開タイプを選択してください", + "koKR": "배포 유형을 선택하세요", + "ruRU": "Пожалуйста, выберите тип развертывания", + "ptBR": "Por favor, selecione o tipo de implantação", + "frFR": "Veuillez sélectionner le type de déploiement", + "esAR": "Por favor, seleccione el tipo de despliegue", + "arDZ": "يرجى اختيار نوع النشر" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入部署路径": { + "text": "请输入部署路径", + "key": "t_20_1745735768764", + "translations": { + "zhCN": "请输入部署路径", + "enUS": "Please enter the deployment path", + "jaJP": "展開パスを入力してください", + "koKR": "배포 경로를 입력하십시오", + "ruRU": "Введите путь развертывания", + "ptBR": "Por favor, insira o caminho de implantação", + "frFR": "Veuillez entrer le chemin de déploiement", + "esAR": "Por favor, ingrese la ruta de despliegue", + "arDZ": "الرجاء إدخال مسار النشر", + "zhTW": "請輸入部署路徑" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入前置命令": { + "text": "请输入前置命令", + "key": "t_21_1745735769154", + "translations": { + "zhCN": "请输入前置命令", + "zhTW": "請輸入前置命令", + "enUS": "Please enter the prefix command", + "jaJP": "前置コマンドを入力してください", + "koKR": "앞에 명령어를 입력하세요", + "ruRU": "Пожалуйста, введите префиксную команду", + "ptBR": "Por favor, insira o comando de prefixo", + "frFR": "Veuillez saisir la commande de préfixe", + "esAR": "Por favor, ingrese el comando de prefijo", + "arDZ": "الرجاء إدخال الأمر البادئة" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入后置命令": { + "text": "请输入后置命令", + "key": "t_22_1745735767366", + "translations": { + "zhCN": "请输入后置命令", + "zhTW": "請輸入後置命令", + "enUS": "Please enter the post command", + "jaJP": "後置コマンドを入力してください", + "koKR": "후치 명령어를 입력하세요", + "ruRU": "Пожалуйста, введите пост-команду", + "ptBR": "Por favor, insira o comando pós", + "frFR": "Veuillez entrer la commande postérieure", + "esAR": "Por favor, ingrese el comando posterior", + "arDZ": "الرجاء إدخال الأمر اللاحق" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入站点ID": { + "text": "请输入站点ID", + "key": "t_24_1745735766826", + "translations": { + "zhCN": "请输入站点ID", + "zhTW": "請輸入站點ID", + "enUS": "Please enter the site ID", + "jaJP": "サイトIDを入力してください", + "koKR": "사이트 ID를 입력하십시오", + "ruRU": "Введите идентификатор сайта", + "ptBR": "Por favor, insira o ID do site", + "frFR": "Veuillez entrer l'ID du site", + "esAR": "Por favor ingrese el ID del sitio", + "arDZ": "يرجى إدخال معرف الموقع" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入区域": { + "text": "请输入区域", + "key": "t_25_1745735766651", + "translations": { + "zhCN": "请输入区域", + "zhTW": "請輸入區域", + "enUS": "Please enter the region", + "jaJP": "地域を入力してください", + "koKR": "지역을 입력하세요", + "ruRU": "Пожалуйста, введите регион", + "ptBR": "Por favor, insira a região", + "frFR": "Veuillez entrer la région", + "esAR": "Por favor, ingrese la región", + "arDZ": "الرجاء إدخال المنطقة" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请输入存储桶": { + "text": "请输入存储桶", + "key": "t_26_1745735767144", + "translations": { + "zhCN": "请输入存储桶", + "zhTW": "請輸入儲存桶", + "enUS": "Please enter the bucket", + "jaJP": "バケットを入力してください", + "koKR": "버킷을 입력하세요", + "ruRU": "Пожалуйста, введите ведро", + "ptBR": "Por favor, insira o balde", + "frFR": "Veuillez entrer le seau", + "esAR": "Por favor ingrese el cubo", + "arDZ": "الرجاء إدخال الحاوية" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "下一步": { + "text": "下一步", + "key": "t_27_1745735764546", + "translations": { + "zhCN": "下一步", + "zhTW": "下一步", + "enUS": "Next step", + "jaJP": "次のステップ", + "koKR": "다음 단계", + "ruRU": "Следующий шаг", + "ptBR": "Próximo passo", + "frFR": "Étape suivante", + "esAR": "Próximo paso", + "arDZ": "الخطوة التالية" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "选择部署类型": { + "text": "选择部署类型", + "key": "t_28_1745735766626", + "translations": { + "zhCN": "选择部署类型", + "zhTW": "選擇部署類型", + "enUS": "Select deployment type", + "jaJP": "展開タイプを選択", + "koKR": "배포 유형 선택", + "ruRU": "Выберите тип развертывания", + "ptBR": "Selecionar tipo de implantação", + "frFR": "Sélectionner le type de déploiement", + "esAR": "Seleccionar tipo de implementación", + "arDZ": "اختر نوع النشر" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "配置部署参数": { + "text": "配置部署参数", + "key": "t_29_1745735768933", + "translations": { + "zhCN": "配置部署参数", + "zhTW": "配置部署參數", + "enUS": "Configure deployment parameters", + "jaJP": "展開パラメータを設定する", + "koKR": "배포 매개변수 구성", + "ruRU": "Настройка параметров развертывания", + "ptBR": "Configurar parâmetros de implantação", + "frFR": "Configurer les paramètres de déploiement", + "esAR": "Configurar parámetros de despliegue", + "arDZ": "تكوين معلمات النشر" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "运行模式": { + "text": "运行模式", + "key": "t_30_1745735764748", + "translations": { + "zhCN": "运行模式", + "zhTW": "運行模式", + "enUS": "Operation mode", + "jaJP": "動作モード", + "koKR": "운영 모드", + "ruRU": "Режим работы", + "ptBR": "Modo de operação", + "frFR": "Mode de fonctionnement", + "esAR": "Modo de operación", + "arDZ": "وضع التشغيل" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "运行模式未配置": { + "text": "运行模式未配置", + "key": "t_31_1745735767891", + "translations": { + "zhCN": "运行模式未配置", + "zhTW": "運行模式未配置", + "enUS": "Operation mode not configured", + "jaJP": "動作モードが設定されていません", + "koKR": "운영 모드가 구성되지 않았습니다", + "ruRU": "Режим работы не настроен", + "ptBR": "Modo de operação não configurado", + "frFR": "Mode de fonctionnement non configuré", + "esAR": "Modo de operación no configurado", + "arDZ": "وضع التشغيل غير مُهيأ" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "运行周期未配置": { + "text": "运行周期未配置", + "key": "t_32_1745735767156", + "translations": { + "zhCN": "运行周期未配置", + "zhTW": "運行週期未配置", + "enUS": "Running cycle not configured", + "jaJP": "実行周期が設定されていません", + "koKR": "실행 주기가 구성되지 않았습니다", + "ruRU": "Цикл выполнения не настроен", + "ptBR": "Ciclo de execução não configurado", + "frFR": "Cycle d'exécution non configuré", + "esAR": "Ciclo de ejecución no configurado", + "arDZ": "دورة التشغيل غير مهيأة" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "运行时间未配置": { + "text": "运行时间未配置", + "key": "t_33_1745735766532", + "translations": { + "zhCN": "运行时间未配置", + "zhTW": "運行時間未配置", + "enUS": "Runtime not configured", + "jaJP": "実行時間が設定されていません", + "koKR": "실행 시간이 구성되지 않았습니다", + "ruRU": "Время выполнения не настроено", + "ptBR": "Tempo de execução não configurado", + "frFR": "Durée d'exécution non configurée", + "esAR": "Tiempo de ejecución no configurado", + "arDZ": "وقت التشغيل غير مضبوط" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "证书文件(PEM 格式)": { + "text": "证书文件(PEM 格式)", + "key": "t_34_1745735771147", + "translations": { + "zhCN": "证书文件(PEM 格式)", + "zhTW": "證書文件(PEM 格式)", + "enUS": "Certificate file (PEM format)", + "jaJP": "証明書ファイル(PEM形式)", + "koKR": "인증서 파일 (PEM 포맷)", + "ruRU": "Файл сертификата (формат PEM)", + "ptBR": "Arquivo de certificado (formato PEM)", + "frFR": "Fichier de certificat (format PEM)", + "esAR": "Archivo de certificado (formato PEM)", + "arDZ": "ملف الشهادة (تنسيق PEM)" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请粘贴证书文件内容,例如:\\n-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----": { + "text": "请粘贴证书文件内容,例如:\\n-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + "key": "t_35_1745735781545", + "translations": { + "zhCN": "请粘贴证书文件内容,例如:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "zhTW": "請貼上證書文件內容,例如:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "enUS": "Please paste the certificate file content, for example:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "jaJP": "証明書ファイルの内容を貼り付けてください。例:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "koKR": "인증서 파일 내용을 붙여넣으세요, 예:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "ruRU": "Пожалуйста, вставьте содержимое файла сертификата, например:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "ptBR": "Por favor, cole o conteúdo do arquivo de certificado, por exemplo:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "frFR": "Veuillez coller le contenu du fichier de certificat, par exemple :\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "esAR": "Por favor, pegue el contenido del archivo de certificado, por ejemplo:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----", + "arDZ": "الرجاء لصق محتوى ملف الشهادة، على سبيل المثال:\n-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "私钥文件(KEY 格式)": { + "text": "私钥文件(KEY 格式)", + "key": "t_36_1745735769443", + "translations": { + "zhCN": "私钥文件(KEY 格式)", + "zhTW": "私鑰文件(KEY 格式)", + "enUS": "Private key file (KEY format)", + "jaJP": "秘密鍵ファイル(KEY 形式)", + "koKR": "개인 키 파일 (KEY 형식)", + "ruRU": "Файл закрытого ключа (формат KEY)", + "ptBR": "Arquivo de chave privada (formato KEY)", + "frFR": "Fichier de clé privée (format KEY)", + "esAR": "Archivo de clave privada (formato KEY)", + "arDZ": "ملف المفتاح الخاص (تنسيق KEY)" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "请粘贴私钥文件内容,例如:\\n-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----": { + "text": "请粘贴私钥文件内容,例如:\\n-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----", + "key": "t_37_1745735779980", + "translations": { + "zhCN": "请粘贴私钥文件内容,例如:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "zhTW": "請貼上私鑰文件內容,例如:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "enUS": "Please paste the private key file content, for example:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "jaJP": "秘密キーファイルの内容を貼り付けてください、例:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "koKR": "개인 키 파일 내용을 붙여넣으세요, 예:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "ruRU": "Вставьте содержимое файла закрытого ключа, например:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "ptBR": "Cole o conteúdo do arquivo de chave privada, por exemplo:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "frFR": "Collez le contenu du fichier de clé privée, par exemple:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "esAR": "Pega el contenido del archivo de clave privada, por ejemplo:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----", + "arDZ": "الصق محتوى ملف المفتاح الخاص، على سبيل المثال:\n-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "证书私钥内容不能为空": { + "text": "证书私钥内容不能为空", + "key": "t_38_1745735769521", + "translations": { + "zhCN": "证书私钥内容不能为空", + "zhTW": "證書私鑰內容不能為空", + "enUS": "Certificate private key content cannot be empty", + "jaJP": "証明書の秘密鍵の内容は空にできません", + "koKR": "인증서 개인 키 내용은 비워둘 수 없습니다", + "ruRU": "Содержимое закрытого ключа сертификата не может быть пустым", + "ptBR": "O conteúdo da chave privada do certificado não pode estar vazio", + "frFR": "Le contenu de la clé privée du certificat ne peut pas être vide", + "esAR": "El contenido de la clave privada del certificado no puede estar vacío", + "arDZ": "محتوى المفتاح الخاص للشهادة لا يمكن أن يكون فارغًا" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "证书私钥格式不正确": { + "text": "证书私钥格式不正确", + "key": "t_39_1745735768565", + "translations": { + "zhCN": "证书私钥格式不正确", + "zhTW": "證書私鑰格式不正確", + "enUS": "The format of the certificate private key is incorrect", + "jaJP": "証明書の秘密鍵の形式が正しくありません", + "koKR": "인증서 개인 키 형식이 올바르지 않습니다", + "ruRU": "Неверный формат закрытого ключа сертификата", + "ptBR": "O formato da chave privada do certificado está incorreto", + "frFR": "Le format de la clé privée du certificat est incorrect", + "esAR": "El formato de la clave privada del certificado es incorrecto", + "arDZ": "تنسيق مفتاح الشهادة الخاص غير صحيح" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "证书内容不能为空": { + "text": "证书内容不能为空", + "key": "t_40_1745735815317", + "translations": { + "zhCN": "证书内容不能为空", + "zhTW": "證書內容不能為空", + "enUS": "Certificate content cannot be empty", + "jaJP": "証明書の内容は空にできません", + "koKR": "인증서 내용은 비울 수 없습니다", + "ruRU": "Содержимое сертификата не может быть пустым", + "ptBR": "O conteúdo do certificado não pode estar vazio", + "frFR": "Le contenu du certificat ne peut pas être vide", + "esAR": "El contenido del certificado no puede estar vacío", + "arDZ": "محتوى الشهادة لا يمكن أن يكون فارغا" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "证书格式不正确": { + "text": "证书格式不正确", + "key": "t_41_1745735767016", + "translations": { + "zhCN": "证书格式不正确", + "zhTW": "證書格式不正確", + "enUS": "Certificate format is incorrect", + "jaJP": "証明書の形式が正しくありません", + "koKR": "인증서 형식이 올바르지 않습니다", + "ruRU": "Неправильный формат сертификата", + "ptBR": "Formato do certificado incorreto", + "frFR": "Format du certificat incorrect", + "esAR": "Formato de certificado incorrecto", + "arDZ": "تنسيق الشهادة غير صحيح" + }, + "timestamp": "2025-04-27T06:36:55.318Z" + }, + "上一步": { + "text": "上一步", + "key": "t_0_1745738961258", + "translations": { + "zhCN": "上一步", + "zhTW": "上一步", + "enUS": "Previous", + "jaJP": "前へ", + "koKR": "이전", + "ruRU": "Назад", + "ptBR": "Anterior", + "frFR": "Précédent", + "esAR": "Anterior", + "arDZ": "السابق" + }, + "timestamp": "2025-04-27T07:29:29.879Z" + }, + "提交": { + "text": "提交", + "key": "t_1_1745738963744", + "translations": { + "zhCN": "提交", + "zhTW": "提交", + "enUS": "Submit", + "jaJP": "提出", + "koKR": "제출", + "ruRU": "Отправить", + "ptBR": "Enviar", + "frFR": "Soumettre", + "esAR": "Enviar", + "arDZ": "إرسال" + }, + "timestamp": "2025-04-27T07:29:29.881Z" + }, + "配置部署参数,类型决定参数配置": { + "text": "配置部署参数,类型决定参数配置", + "key": "t_2_1745738969878", + "translations": { + "zhCN": "配置部署参数,类型决定参数配置", + "zhTW": "配置部署參數,類型決定參數配置", + "enUS": "Configure deployment parameters, the type determines the parameter configuration", + "jaJP": "展開パラメータを設定し、タイプによってパラメータの設定が決まる", + "koKR": "배포 매개변수 구성, 유형이 매개변수 구성을 결정함", + "ruRU": "Настройка параметров развертывания, тип определяет конфигурацию параметров", + "ptBR": "Configurar parâmetros de implantação, o tipo determina a configuração do parâmetro", + "frFR": "Configurer les paramètres de déploiement, le type détermine la configuration des paramètres", + "esAR": "Configurar parámetros de despliegue, el tipo determina la configuración de parámetros", + "arDZ": "تكوين معلمات النشر، النوع يحدد تكوين المعلمة" + }, + "timestamp": "2025-04-27T07:29:29.881Z" + }, + "部署设备来源": { + "text": "部署设备来源", + "key": "t_0_1745744491696", + "translations": { + "zhCN": "部署设备来源", + "zhTW": "部署設備來源", + "enUS": "Deployment device source", + "jaJP": "展開デバイスのソース", + "koKR": "배포 장치 소스", + "ruRU": "Источник устройства развертывания", + "ptBR": "Fonte do dispositivo de implantação", + "frFR": "Source de l'appareil de déploiement", + "esAR": "Fuente del dispositivo de implementación", + "arDZ": "مصدر جهاز النشر" + }, + "timestamp": "2025-04-27T09:01:35.813Z" + }, + "请选择部署设备来源": { + "text": "请选择部署设备来源", + "key": "t_1_1745744495019", + "translations": { + "zhCN": "请选择部署设备来源", + "zhTW": "請選擇部署設備來源", + "enUS": "Please select the deployment device source", + "jaJP": "展開デバイスのソースを選んでください", + "koKR": "배포 장치 소스를 선택하십시오", + "ruRU": "Пожалуйста, выберите источник устройства развертывания", + "ptBR": "Selecione a fonte do dispositivo de implantação", + "frFR": "Veuillez sélectionner la source de l'appareil de déploiement", + "esAR": "Por favor seleccione la fuente del dispositivo de despliegue", + "arDZ": "الرجاء اختيار مصدر جهاز التوزيع" + }, + "timestamp": "2025-04-27T09:01:35.813Z" + }, + "请选择部署类型后,点击下一步": { + "text": "请选择部署类型后,点击下一步", + "key": "t_2_1745744495813", + "translations": { + "zhCN": "请选择部署类型后,点击下一步", + "zhTW": "請選擇部署類型後,點擊下一步", + "enUS": "Please select the deployment type and click Next", + "jaJP": "展開タイプを選択して、次へをクリックしてください", + "koKR": "배포 유형을 선택하고 다음을 클릭하십시오", + "ruRU": "Пожалуйста, выберите тип развертывания и нажмите Далее", + "ptBR": "Por favor, selecione o tipo de implantação e clique em Avançar", + "frFR": "Veuillez sélectionner le type de déploiement et cliquer sur Suivant", + "esAR": "Por favor, seleccione el tipo de implementación y haga clic en Siguiente", + "arDZ": "الرجاء اختيار نوع النشر والنقر فوق التالي" + }, + "timestamp": "2025-04-27T09:01:35.813Z" + }, + "部署来源": { + "text": "部署来源", + "key": "t_0_1745744902975", + "translations": { + "zhCN": "部署来源", + "zhTW": "部署來源", + "enUS": "Deployment source", + "jaJP": "デプロイソース", + "koKR": "배포 소스", + "ruRU": "Источник развертывания", + "ptBR": "Fonte de implantação", + "frFR": "Source de déploiement", + "esAR": "Fuente de implementación", + "arDZ": "مصدر النشر" + }, + "timestamp": "2025-04-27T09:08:25.566Z" + }, + "请选择部署来源": { + "text": "请选择部署来源", + "key": "t_1_1745744905566", + "translations": { + "zhCN": "请选择部署来源", + "zhTW": "請選擇部署來源", + "enUS": "Please select deployment source", + "jaJP": "デプロイソースを選択してください", + "koKR": "배포 소스를 선택하세요", + "ruRU": "Выберите источник развертывания", + "ptBR": "Selecione a fonte de implantação", + "frFR": "Veuillez sélectionner la source de déploiement", + "esAR": "Seleccione la fuente de despliegue", + "arDZ": "الرجاء اختيار مصدر النشر" + }, + "timestamp": "2025-04-27T09:08:25.568Z" + }, + "添加更多设备": { + "text": "添加更多设备", + "key": "t_2_1745744903722", + "translations": { + "zhCN": "添加更多设备", + "zhTW": "新增更多設備", + "enUS": "Add more devices", + "jaJP": "さらにデバイスを追加", + "koKR": "더 많은 기기 추가", + "ruRU": "Добавить больше устройств", + "ptBR": "Adicionar mais dispositivos", + "frFR": "Ajouter plus d'appareils", + "esAR": "Agregar más dispositivos", + "arDZ": "إضافة المزيد من الأجهزة" + }, + "timestamp": "2025-04-27T09:08:25.568Z" + }, + "添加部署来源": { + "text": "添加部署来源", + "key": "t_0_1745748292337", + "translations": { + "zhCN": "添加部署来源", + "zhTW": "添加部署來源", + "enUS": "Add deployment source", + "jaJP": "デプロイソースの追加", + "koKR": "배포 소스 추가", + "ruRU": "Добавить источник развертывания", + "ptBR": "Adicionar fonte de implantação", + "frFR": "Ajouter une source de déploiement", + "esAR": "Agregar fuente de despliegue", + "arDZ": "إضافة مصدر النشر" + }, + "timestamp": "2025-04-27T10:04:58.903Z" + }, + "证书来源": { + "text": "证书来源", + "key": "t_1_1745748290291", + "translations": { + "zhCN": "证书来源", + "zhTW": "證書來源", + "enUS": "Certificate Source", + "jaJP": "証明書の出所", + "koKR": "인증서 출처", + "ruRU": "Источник сертификата", + "ptBR": "Fonte do Certificado", + "frFR": "Source du certificat", + "esAR": "Fuente del certificado", + "arDZ": "مصدر الشهادة" + }, + "timestamp": "2025-04-27T10:04:58.904Z" + }, + "当前类型部署来源为空,请先添加部署来源": { + "text": "当前类型部署来源为空,请先添加部署来源", + "key": "t_2_1745748298902", + "translations": { + "zhCN": "当前类型部署来源为空,请先添加部署来源", + "zhTW": "當前類型部署來源為空,請先添加部署來源", + "enUS": "The current type deployment source is empty, please add a deployment source first", + "jaJP": "現在のタイプのデプロイソースが空です、デプロイソースを追加してください", + "koKR": "현재 유형의 배포 소스가 비어 있습니다. 배포 소스를 먼저 추가하십시오", + "ruRU": "Источник развертывания текущего типа пуст, сначала добавьте источник развертывания", + "ptBR": "A origem da implantação do tipo atual está vazia, adicione uma origem de implantação primeiro", + "frFR": "La source de déploiement du type actuel est vide, veuillez d'abord ajouter une source de déploiement", + "esAR": "La fuente de implementación del tipo actual está vacía, agregue una fuente de implementación primero", + "arDZ": "مصدر النشر للنوع الحالي فارغ، يرجى إضافة مصدر نشر أولاً" + }, + "timestamp": "2025-04-27T10:04:58.904Z" + }, + "当前流程中没有申请节点,请先添加申请节点": { + "text": "当前流程中没有申请节点,请先添加申请节点", + "key": "t_3_1745748298161", + "translations": { + "zhCN": "当前流程中没有申请节点,请先添加申请节点", + "zhTW": "當前流程中沒有申請節點,請先添加申請節點", + "enUS": "There is no application node in the current process, please add an application node first", + "jaJP": "現在のプロセスには申請ノードがありません、まず申請ノードを追加してください", + "koKR": "현재 프로세스에 신청 노드가 없습니다. 먼저 신청 노드를 추가하세요", + "ruRU": "В текущем процессе нет узла заявки, пожалуйста, сначала добавьте узел заявки", + "ptBR": "Não há nó de aplicação no processo atual, por favor, adicione um nó de aplicação primeiro", + "frFR": "Il n'y a pas de nœud de demande dans le processus actuel, veuillez d'abord ajouter un nœud de demande", + "esAR": "No hay ningún nodo de solicitud en el proceso actual, por favor agregue un nodo de solicitud primero", + "arDZ": "لا توجد عقدة طلب في العملية الحالية، يرجى إضافة عقدة طلب أولاً" + }, + "timestamp": "2025-04-27T10:04:58.904Z" + }, + "提交内容": { + "text": "提交内容", + "key": "t_4_1745748290292", + "translations": { + "zhCN": "提交内容", + "zhTW": "提交內容", + "enUS": "Submit content", + "jaJP": "提出内容", + "koKR": "제출 내용", + "ruRU": "Отправить содержание", + "ptBR": "Enviar conteúdo", + "frFR": "Soumettre le contenu", + "esAR": "Enviar contenido", + "arDZ": "إرسال المحتوى" + }, + "timestamp": "2025-04-27T10:04:58.904Z" + }, + "点击编辑工作流标题": { + "text": "点击编辑工作流标题", + "key": "t_0_1745765864788", + "translations": { + "zhCN": "点击编辑工作流标题", + "zhTW": "點擊編輯工作流程標題", + "enUS": "Click to edit workflow title", + "jaJP": "ワークフロータイトルを編集するにはクリックします", + "koKR": "작업 흐름 제목 편집을 클릭하세요", + "ruRU": "Нажмите, чтобы редактировать заголовок рабочего процесса", + "ptBR": "Clique para editar o título do fluxo de trabalho", + "frFR": "Cliquez pour modifier le titre du flux de travail", + "esAR": "Haz clic para editar el título del flujo de trabajo", + "arDZ": "انقر لتحرير عنوان سير العمل" + }, + "timestamp": "2025-04-27T14:58:40.953Z" + }, + "删除节点-【{name}】": { + "text": "删除节点-【{name}】", + "key": "t_1_1745765875247", + "translations": { + "zhCN": "删除节点-【{name}】", + "zhTW": "刪除節點-【{name}】", + "enUS": "Delete Node - 【{name}】", + "jaJP": "ノード削除 - 【{name}】", + "koKR": "노드 삭제 - 【{name}】", + "ruRU": "Удалить узел - 【{name}】", + "ptBR": "Excluir Nó - 【{name}】", + "frFR": "Supprimer le nœud - 【{name}】", + "esAR": "Eliminar Nodo - 【{name}】", + "arDZ": "حذف العقدة - 【{name}】" + }, + "timestamp": "2025-04-27T14:58:40.954Z" + }, + "当前节点存在子节点,删除后会影响其他节点,是否确认删除?": { + "text": "当前节点存在子节点,删除后会影响其他节点,是否确认删除?", + "key": "t_2_1745765875918", + "translations": { + "zhCN": "当前节点存在子节点,删除后会影响其他节点,是否确认删除?", + "zhTW": "當前節點存在子節點,刪除後會影響其他節點,是否確認刪除?", + "enUS": "The current node has child nodes. Deleting it will affect other nodes. Are you sure you want to delete it?", + "jaJP": "現在のノードには子ノードが存在します。削除すると他のノードに影響を与えます。削除してもよろしいですか?", + "koKR": "현재 노드에 하위 노드가 존재합니다. 삭제하면 다른 노드에 영향을 미치게 됩니다. 삭제하시겠습니까?", + "ruRU": "Текущий узел имеет дочерние узлы. Удаление повлияет на другие узлы. Вы уверены, что хотите удалить?", + "ptBR": "O nó atual possui nós filhos. A exclusão afetará outros nós. Tem certeza de que deseja excluir?", + "frFR": "Le nœud actuel contient des nœuds enfants. La suppression affectera d'autres nœuds. Confirmez-vous la suppression ?", + "esAR": "El nodo actual tiene nodos hijos. Eliminarlo afectará a otros nodos. ¿Está seguro de que desea eliminarlo?", + "arDZ": "العقدة الحالية تحتوي على عقد فرعية. حذفها سيؤثر على عقد أخرى. هل أنت متأكد أنك تريد الحذف؟" + }, + "timestamp": "2025-04-27T14:58:40.954Z" + }, + "当前节点存在配置数据,是否确认删除?": { + "text": "当前节点存在配置数据,是否确认删除?", + "key": "t_3_1745765920953", + "translations": { + "zhCN": "当前节点存在配置数据,是否确认删除?", + "zhTW": "目前節點存在配置數據,是否確認刪除?", + "enUS": "The current node has configuration data, are you sure you want to delete it?", + "jaJP": "現在のノードには設定データがあります。削除してもよろしいですか?", + "koKR": "현재 노드에 구성 데이터가 있습니다. 삭제하시겠습니까?", + "ruRU": "Текущий узел содержит данные конфигурации, вы уверены, что хотите их удалить?", + "ptBR": "O nó atual possui dados de configuração, tem certeza que deseja excluí-lo?", + "frFR": "Le nœud actuel contient des données de configuration, êtes-vous sûr de vouloir le supprimer ?", + "esAR": "El nodo actual tiene datos de configuración, ¿está seguro de que desea eliminarlo?", + "arDZ": "العقدة الحالية تحتوي على بيانات التكوين، هل أنت متأكد أنك تريد حذفها؟" + }, + "timestamp": "2025-04-27T14:58:40.954Z" + }, + "请选择部署类型后,在进行下一步": { + "text": "请选择部署类型后,在进行下一步", + "key": "t_4_1745765868807", + "translations": { + "zhCN": "请选择部署类型后,再进行下一步", + "zhTW": "請選擇部署類型後,再進行下一步", + "enUS": "Please select the deployment type before proceeding to the next step", + "jaJP": "デプロイメントタイプを選択してから、次に進んでください", + "koKR": "배포 유형을 선택한 후 다음 단계로 진행하십시오", + "ruRU": "Пожалуйста, выберите тип развертывания, прежде чем перейти к следующему шагу", + "ptBR": "Por favor, selecione o tipo de implantação antes de prosseguir para a próxima etapa", + "frFR": "Veuillez sélectionner le type de déploiement avant de passer à l'étape suivante", + "esAR": "Por favor, seleccione el tipo de implementación antes de continuar con el siguiente paso", + "arDZ": "الرجاء تحديد نوع النشر قبل المتابعة إلى الخطوة التالية" + }, + "timestamp": "2025-04-27T14:58:40.954Z" + }, + "请选择类型": { + "text": "请选择类型", + "key": "t_0_1745833934390", + "translations": { + "zhCN": "请选择类型", + "zhTW": "請選擇類型", + "enUS": "Please select type", + "jaJP": "タイプを選択してください", + "koKR": "유형을 선택하십시오", + "ruRU": "Пожалуйста, выберите тип", + "ptBR": "Por favor, selecione o tipo", + "frFR": "Veuillez sélectionner le type", + "esAR": "Por favor, seleccione el tipo", + "arDZ": "يرجى اختيار النوع" + }, + "timestamp": "2025-04-28T09:52:23.713Z" + }, + "主机": { + "text": "主机", + "key": "t_1_1745833931535", + "translations": { + "zhCN": "主机", + "zhTW": "主機", + "enUS": "Host", + "jaJP": "ホスト", + "koKR": "호스트", + "ruRU": "Хост", + "ptBR": "Host", + "frFR": "Hôte", + "esAR": "Host", + "arDZ": "مضيف" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "端口": { + "text": "端口", + "key": "t_2_1745833931404", + "translations": { + "zhCN": "端口", + "zhTW": "埠", + "enUS": "port", + "jaJP": "ポート", + "koKR": "포트", + "ruRU": "порт", + "ptBR": "porta", + "frFR": "port", + "esAR": "puerto", + "arDZ": "منفذ" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "获取首页概览数据失败": { + "text": "获取首页概览数据失败", + "key": "t_3_1745833936770", + "translations": { + "zhCN": "获取首页概览数据失败", + "zhTW": "獲取首頁概覽數據失敗", + "enUS": "Failed to get homepage overview data", + "jaJP": "ホームページの概要データの取得に失敗しました", + "koKR": "홈페이지 개요 데이터 가져오기 실패", + "ruRU": "Не удалось получить обзорные данные главной страницы", + "ptBR": "Falha ao obter dados de visão geral da página inicial", + "frFR": "Échec de la récupération des données de vue d'ensemble de la page d'accueil", + "esAR": "Error al obtener los datos de vista general de la página de inicio", + "arDZ": "فشل في الحصول على بيانات نظرة عامة على الصفحة الرئيسية" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "版本信息": { + "text": "版本信息", + "key": "t_4_1745833932780", + "translations": { + "zhCN": "版本信息", + "zhTW": "版本資訊", + "enUS": "Version information", + "jaJP": "バージョン情報", + "koKR": "버전 정보", + "ruRU": "Информация о версии", + "ptBR": "Informações da versão", + "frFR": "Information de version", + "esAR": "Información de versión", + "arDZ": "معلومات النسخة" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "当前版本": { + "text": "当前版本", + "key": "t_5_1745833933241", + "translations": { + "zhCN": "当前版本", + "zhTW": "目前版本", + "enUS": "Current version", + "jaJP": "現在のバージョン", + "koKR": "현재 버전", + "ruRU": "Текущая версия", + "ptBR": "Versão atual", + "frFR": "Version actuelle", + "esAR": "Versión actual", + "arDZ": "الإصدار الحالي" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "更新方式": { + "text": "更新方式", + "key": "t_6_1745833933523", + "translations": { + "zhCN": "更新方式", + "zhTW": "更新方式", + "enUS": "Update method", + "jaJP": "更新方法", + "koKR": "업데이트 방법", + "ruRU": "Метод обновления", + "ptBR": "Método de atualização", + "frFR": "Méthode de mise à jour", + "esAR": "Método de actualización", + "arDZ": "طريقة التحديث" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "最新版本": { + "text": "最新版本", + "key": "t_7_1745833933278", + "translations": { + "zhCN": "最新版本", + "zhTW": "最新版本", + "enUS": "Latest version", + "jaJP": "最新バージョン", + "koKR": "최신 버전", + "ruRU": "Последняя версия", + "ptBR": "Última versão", + "frFR": "Dernière version", + "esAR": "Última versión", + "arDZ": "أحدث إصدار" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "更新日志": { + "text": "更新日志", + "key": "t_8_1745833933552", + "translations": { + "zhCN": "更新日志", + "zhTW": "更新日誌", + "enUS": "Changelog", + "jaJP": "更新履歴", + "koKR": "업데이트 로그", + "ruRU": "История изменений", + "ptBR": "Registro de alterações", + "frFR": "Journal des modifications", + "esAR": "Registro de cambios", + "arDZ": "سجل التغييرات" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "客服二维码": { + "text": "客服二维码", + "key": "t_9_1745833935269", + "translations": { + "zhCN": "客服二维码", + "zhTW": "客服二維碼", + "enUS": "Customer Service QR Code", + "jaJP": "カスタマーサービスQRコード", + "koKR": "고객 서비스 QR 코드", + "ruRU": "QR-код службы поддержки", + "ptBR": "Código QR do Atendimento ao Cliente", + "frFR": "Code QR du Service Client", + "esAR": "Código QR de Servicio al Cliente", + "arDZ": "رمز QR لخدمة العملاء" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "扫码添加客服": { + "text": "扫码添加客服", + "key": "t_10_1745833941691", + "translations": { + "zhCN": "扫码添加客服", + "zhTW": "掃碼添加客服", + "enUS": "Scan the QR code to add customer service", + "jaJP": "QRコードをスキャンしてカスタマーサービスを追加", + "koKR": "QR 코드를 스캔하여 고객 서비스 추가", + "ruRU": "Сканируйте QR-код, чтобы добавить службу поддержки", + "ptBR": "Escaneie o código QR para adicionar atendimento ao cliente", + "frFR": "Scannez le code QR pour ajouter le service client", + "esAR": "Escanee el código QR para agregar servicio al cliente", + "arDZ": "امسح رمز QR لإضافة خدمة العملاء" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "微信公众号": { + "text": "微信公众号", + "key": "t_11_1745833935261", + "translations": { + "zhCN": "微信公众号", + "zhTW": "微信公眾號", + "enUS": "WeChat Official Account", + "jaJP": "WeChat公式アカウント", + "koKR": "위챗 공식 계정", + "ruRU": "Официальный аккаунт WeChat", + "ptBR": "Conta Oficial do WeChat", + "frFR": "Compte officiel WeChat", + "esAR": "Cuenta Oficial de WeChat", + "arDZ": "حساب وي تشات الرسمي" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "扫码关注微信公众号": { + "text": "扫码关注微信公众号", + "key": "t_12_1745833943712", + "translations": { + "zhCN": "扫码关注微信公众号", + "zhTW": "掃碼關注微信公眾號", + "enUS": "Scan to follow the WeChat official account", + "jaJP": "QRコードをスキャンしてWeChat公式アカウントをフォロー", + "koKR": "QR 코드를 스캔하여 WeChat 공식 계정 팔로우", + "ruRU": "Сканируйте QR-код, чтобы подписаться на официальный аккаунт WeChat", + "ptBR": "Escaneie para seguir a conta oficial do WeChat", + "frFR": "Scannez pour suivre le compte officiel WeChat", + "esAR": "Escanea para seguir la cuenta oficial de WeChat", + "arDZ": "امسح الكود الضوئي لمتابعة الحساب الرسمي على WeChat" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "关于产品": { + "text": "关于产品", + "key": "t_13_1745833933630", + "translations": { + "zhCN": "关于产品", + "zhTW": "關於產品", + "enUS": "About the product", + "jaJP": "製品について", + "koKR": "제품 정보", + "ruRU": "О продукте", + "ptBR": "Sobre o produto", + "frFR": "À propos du produit", + "esAR": "Acerca del producto", + "arDZ": "حول المنتج" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "SMTP服务器": { + "text": "SMTP服务器", + "key": "t_14_1745833932440", + "translations": { + "zhCN": "SMTP服务器", + "zhTW": "SMTP伺服器", + "enUS": "SMTP server", + "jaJP": "SMTPサーバー", + "koKR": "SMTP 서버", + "ruRU": "SMTP сервер", + "ptBR": "Servidor SMTP", + "frFR": "Serveur SMTP", + "esAR": "Servidor SMTP", + "arDZ": "خادم SMTP" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "请输入SMTP服务器": { + "text": "请输入SMTP服务器", + "key": "t_15_1745833940280", + "translations": { + "zhCN": "请输入SMTP服务器", + "zhTW": "請輸入SMTP伺服器", + "enUS": "Please enter the SMTP server", + "jaJP": "SMTPサーバーを入力してください", + "koKR": "SMTP 서버를 입력하세요", + "ruRU": "Пожалуйста, введите SMTP сервер", + "ptBR": "Por favor, insira o servidor SMTP", + "frFR": "Veuillez entrer le serveur SMTP", + "esAR": "Por favor, ingrese el servidor SMTP", + "arDZ": "الرجاء إدخال خادم SMTP" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "SMTP端口": { + "text": "SMTP端口", + "key": "t_16_1745833933819", + "translations": { + "zhCN": "SMTP端口", + "zhTW": "SMTP埠", + "enUS": "SMTP port", + "jaJP": "SMTPポート", + "koKR": "SMTP 포트", + "ruRU": "SMTP порт", + "ptBR": "Porta SMTP", + "frFR": "Port SMTP", + "esAR": "Puerto SMTP", + "arDZ": "منفذ SMTP" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "请输入SMTP端口": { + "text": "请输入SMTP端口", + "key": "t_17_1745833935070", + "translations": { + "zhCN": "请输入SMTP端口", + "zhTW": "請輸入SMTP端口", + "enUS": "Please enter the SMTP port", + "jaJP": "SMTPポートを入力してください", + "koKR": "SMTP 포트를 입력하세요", + "ruRU": "Введите порт SMTP", + "ptBR": "Por favor, insira a porta SMTP", + "frFR": "Veuillez entrer le port SMTP", + "esAR": "Por favor, ingrese el puerto SMTP", + "arDZ": "الرجاء إدخال منفذ SMTP" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "SSL/TLS连接": { + "text": "SSL/TLS连接", + "key": "t_18_1745833933989", + "translations": { + "zhCN": "SSL/TLS连接", + "zhTW": "SSL/TLS連接", + "enUS": "SSL/TLS connection", + "jaJP": "SSL/TLS接続", + "koKR": "SSL/TLS 연결", + "ruRU": "SSL/TLS соединение", + "ptBR": "Conexão SSL/TLS", + "frFR": "Connexion SSL/TLS", + "esAR": "Conexión SSL/TLS", + "arDZ": "اتصال SSL/TLS" + }, + "timestamp": "2025-04-28T09:52:23.715Z" + }, + "请选择消息通知": { + "text": "请选择消息通知", + "key": "t_0_1745887835267", + "translations": { + "zhCN": "请选择消息通知", + "enUS": "Please select message notification", + "jaJP": "メッセージ通知を選択してください", + "koKR": "메시지 알림을 선택하세요", + "ruRU": "Пожалуйста, выберите уведомление о сообщении", + "ptBR": "Por favor, selecione notificação de mensagem", + "frFR": "Veuillez sélectionner la notification de message", + "esAR": "Por favor, seleccione notificación de mensaje", + "arDZ": "الرجاء اختيار إشعار الرسالة" + }, + "timestamp": "2025-04-29T00:50:35.267Z" + }, + "消息通知": { + "text": "消息通知", + "key": "t_1_1745887832941", + "translations": { + "zhCN": "消息通知", + "zhTW": "訊息通知", + "enUS": "Notification", + "jaJP": "通知", + "koKR": "알림", + "ruRU": "Уведомление", + "ptBR": "Notificação", + "frFR": "Notification", + "esAR": "Notificación", + "arDZ": "إشعار" + }, + "timestamp": "2025-04-29T00:50:35.268Z" + }, + "添加通知渠道": { + "text": "添加通知渠道", + "key": "t_2_1745887834248", + "translations": { + "zhCN": "添加通知渠道", + "zhTW": "新增通知渠道", + "enUS": "Add notification channel", + "jaJP": "通知チャネルを追加", + "koKR": "알림 채널 추가", + "ruRU": "Добавить канал уведомлений", + "ptBR": "Adicionar canal de notificação", + "frFR": "Ajouter un canal de notification", + "esAR": "Agregar canal de notificación", + "arDZ": "إضافة قناة إشعار" + }, + "timestamp": "2025-04-29T00:50:35.268Z" + }, + "请输入通知主题": { + "text": "请输入通知主题", + "key": "t_3_1745887835089", + "translations": { + "zhCN": "请输入通知主题", + "zhTW": "請輸入通知主題", + "enUS": "Please enter the notification subject", + "jaJP": "通知の件名を入力してください", + "koKR": "알림 제목을 입력하세요", + "ruRU": "Введите тему уведомления", + "ptBR": "Digite o assunto da notificação", + "frFR": "Veuillez saisir le sujet de la notification", + "esAR": "Ingrese el asunto de la notificación", + "arDZ": "الرجاء إدخال موضوع الإشعار" + }, + "timestamp": "2025-04-29T00:50:35.268Z" + }, + "请输入通知内容": { + "text": "请输入通知内容", + "key": "t_4_1745887835265", + "translations": { + "zhCN": "请输入通知内容", + "zhTW": "請輸入通知內容", + "enUS": "Please enter the notification content", + "jaJP": "通知内容を入力してください", + "koKR": "알림 내용을 입력하세요", + "ruRU": "Введите содержание уведомления", + "ptBR": "Por favor, insira o conteúdo da notificação", + "frFR": "Veuillez saisir le contenu de la notification", + "esAR": "Por favor ingrese el contenido de la notificación", + "arDZ": "يرجى إدخال محتوى الإشعار" + }, + "timestamp": "2025-04-29T00:50:35.268Z" + }, + "修改邮箱通知配置": { + "text": "修改邮箱通知配置", + "key": "t_0_1745895057404", + "translations": { + "zhCN": "修改邮箱通知配置", + "zhTW": "修改郵箱通知配置", + "enUS": "Modify email notification settings", + "jaJP": "メール通知設定の変更", + "koKR": "이메일 알림 설정 수정", + "ruRU": "Изменение настроек уведомлений по электронной почте", + "ptBR": "Modificar configurações de notificação por e-mail", + "frFR": "Modifier les paramètres de notification par e-mail", + "esAR": "Modificar configuración de notificaciones por correo electrónico", + "arDZ": "تعديل إعدادات الإشعارات عبر البريد الإلكتروني" + }, + "timestamp": "2025-04-29T02:50:57.404Z" + }, + "通知主题": { + "text": "通知主题", + "key": "t_0_1745920566646", + "translations": { + "zhCN": "通知主题", + "zhTW": "通知主題", + "enUS": "Notification Subject", + "jaJP": "通知主題", + "koKR": "공지 주제", + "ruRU": "Тема уведомления", + "ptBR": "Assunto da Notificação", + "frFR": "Sujet de la notification", + "esAR": "Asunto de la notificación", + "arDZ": "موضوع الإشعار" + }, + "timestamp": "2025-04-29T09:56:07.200Z" + }, + "通知内容": { + "text": "通知内容", + "key": "t_1_1745920567200", + "translations": { + "zhCN": "通知内容", + "zhTW": "通知內容", + "enUS": "Notification content", + "jaJP": "通知内容", + "koKR": "공지 내용", + "ruRU": "Содержание уведомления", + "ptBR": "Conteúdo da notificação", + "frFR": "Contenu de la notification", + "esAR": "Contenido de la notificación", + "arDZ": "محتوى الإخطار" + }, + "timestamp": "2025-04-29T09:56:07.200Z" + }, + "点击获取验证码": { + "text": "点击获取验证码", + "key": "t_0_1745936396853", + "translations": { + "zhCN": "点击获取验证码", + "zhTW": "點擊獲取驗證碼", + "enUS": "Click to get verification code", + "jaJP": "確認コードを取得するにはクリックしてください", + "koKR": "인증 코드 받기", + "ruRU": "Нажмите, чтобы получить код подтверждения", + "ptBR": "Clique para obter o código de verificação", + "frFR": "Cliquez pour obtenir le code de vérification", + "esAR": "Haz clic para obtener el código de verificación", + "arDZ": "انقر للحصول على رمز التحقق" + }, + "timestamp": "2025-04-29T14:19:56.853Z" + }, + "剩余{days}天": { + "text": "剩余{days}天", + "key": "t_0_1745999035681", + "translations": { + "zhCN": "剩余{days}天", + "zhTW": "剩餘{days}天", + "enUS": "remaining {days} days", + "jaJP": "残り{days}日", + "koKR": "남은 {days}일", + "ruRU": "осталось {days} дней", + "ptBR": "faltam {days} dias", + "frFR": "il reste {days} jours", + "esAR": "faltan {days} días", + "arDZ": "باقي {days} يوم" + }, + "timestamp": "2025-04-30T07:43:56.289Z" + }, + "即将到期{days}天": { + "text": "即将到期{days}天", + "key": "t_1_1745999036289", + "translations": { + "zhCN": "即将到期{days}天", + "zhTW": "即將到期{days}天", + "enUS": "Expiring soon {days} days", + "jaJP": "まもなく期限切れ {days} 日", + "koKR": "곧 만료됩니다 {days} 일", + "ruRU": "Скоро истекает срок действия {days} дней", + "ptBR": "Expirando em breve {days} dias", + "frFR": "Expiration prochaine {days} jours", + "esAR": "Próximo a vencer {days} días", + "arDZ": "قريباً تنتهي الصلاحية {days} يوم" + }, + "timestamp": "2025-04-30T07:43:56.291Z" + }, + "已过期": { + "text": "已过期", + "key": "t_0_1746000517848", + "translations": { + "zhCN": "已过期", + "zhTW": "已過期", + "enUS": "Expired", + "jaJP": "期限切れ", + "koKR": "만료됨", + "ruRU": "Истек срок", + "ptBR": "Expirado", + "frFR": "Expiré", + "esAR": "Caducado", + "arDZ": "منتهي الصلاحية" + }, + "timestamp": "2025-04-30T08:08:37.848Z" + }, + "已到期": { + "text": "已到期", + "key": "t_0_1746001199409", + "translations": { + "zhCN": "已到期", + "zhTW": "已到期", + "enUS": "Expired", + "jaJP": "期限切れ", + "koKR": "만료됨", + "ruRU": "Истекший", + "ptBR": "Expirado", + "frFR": "Expiré", + "esAR": "Expirado", + "arDZ": "انتهت الصلاحية" + }, + "timestamp": "2025-04-30T08:19:59.409Z" + }, + "DNS提供商为空": { + "text": "DNS提供商为空", + "key": "t_0_1746004861782", + "translations": { + "zhCN": "DNS提供商为空", + "zhTW": "DNS提供商為空", + "enUS": "DNS provider is empty", + "jaJP": "DNSプロバイダーが空です", + "koKR": "DNS 공급자가 비어 있습니다", + "ruRU": "DNS-провайдер пуст", + "ptBR": "Provedor DNS está vazio", + "frFR": "Le fournisseur DNS est vide", + "esAR": "El proveedor DNS está vacío", + "arDZ": "موفر DNS فارغ" + }, + "timestamp": "2025-04-30T09:21:01.782Z" + }, + "添加DNS提供商": { + "text": "添加DNS提供商", + "key": "t_1_1746004861166", + "translations": { + "zhCN": "添加DNS提供商", + "zhTW": "新增DNS供應商", + "enUS": "Add DNS provider", + "jaJP": "DNSプロバイダーを追加", + "koKR": "DNS 공급자 추가", + "ruRU": "Добавить DNS-провайдера", + "ptBR": "Adicionar provedor de DNS", + "frFR": "Ajouter un fournisseur DNS", + "esAR": "Agregar proveedor de DNS", + "arDZ": "إضافة مزود DNS" + }, + "timestamp": "2025-04-30T09:21:01.782Z" + }, + "刷新": { + "text": "刷新", + "key": "t_0_1746497662220", + "translations": { + "zhCN": "刷新", + "zhTW": "刷新", + "enUS": "Refresh", + "jaJP": "更新", + "koKR": "새로 고침", + "ruRU": "Обновить", + "ptBR": "Atualizar", + "frFR": "Rafraîchir", + "esAR": "Actualizar", + "arDZ": "تحديث" + }, + "timestamp": "2025-05-06T02:14:22.220Z" + }, + "运行中": { + "text": "运行中", + "key": "t_0_1746519384035", + "translations": { + "zhCN": "运行中", + "zhTW": "運行中", + "enUS": "Running", + "jaJP": "実行中", + "koKR": "실행 중", + "ruRU": "В работе", + "ptBR": "Em execução", + "frFR": "En cours", + "esAR": "En ejecución", + "arDZ": "قيد التشغيل" + }, + "timestamp": "2025-05-06T08:16:24.035Z" + }, + "执行历史详情": { + "text": "执行历史详情", + "key": "t_0_1746579648713", + "translations": { + "zhCN": "执行历史详情", + "zhTW": "執行歷史詳情", + "enUS": "Execution History Details", + "jaJP": "実行履歴の詳細", + "koKR": "실행 내역 상세 정보", + "ruRU": "Детали истории выполнения", + "ptBR": "Detalhes do Histórico de Execução", + "frFR": "Détails de l'historique d'exécution", + "esAR": "Detalles del Historial de Ejecución", + "arDZ": "تفاصيل سجل التنفيذ" + }, + "timestamp": "2025-05-07T01:00:48.713Z" + }, + "执行状态": { + "text": "执行状态", + "key": "t_0_1746590054456", + "translations": { + "zhCN": "执行状态", + "zhTW": "執行狀態", + "enUS": "Execution status", + "jaJP": "実行状態", + "koKR": "실행 상태", + "ruRU": "Статус выполнения", + "ptBR": "Status de execução", + "frFR": "État d'exécution", + "esAR": "Estado de ejecución", + "arDZ": "حالة التنفيذ" + }, + "timestamp": "2025-05-07T03:54:20.448Z" + }, + "触发方式": { + "text": "触发方式", + "key": "t_1_1746590060448", + "translations": { + "zhCN": "触发方式", + "zhTW": "觸發方式", + "enUS": "Trigger Method", + "jaJP": "トリガー方式", + "koKR": "트리거 방식", + "ruRU": "Способ активации", + "ptBR": "Método de Ativação", + "frFR": "Méthode de Déclenchement", + "esAR": "Método de Activación", + "arDZ": "طريقة التشغيل" + }, + "timestamp": "2025-05-07T03:54:20.449Z" + }, + "正在提交信息,请稍后...": { + "text": "正在提交信息,请稍后...", + "key": "t_0_1746667592819", + "translations": { + "zhCN": "正在提交信息,请稍后...", + "zhTW": "正在提交資訊,請稍後...", + "enUS": "Submitting information, please wait...", + "jaJP": "情報を送信中、少々お待ちください...", + "koKR": "정보를 제출 중입니다. 잠시 기다려주세요...", + "ruRU": "Отправка информации, пожалуйста, подождите...", + "ptBR": "Enviando informações, por favor aguarde...", + "frFR": "Soumission des informations en cours, veuillez patienter...", + "esAR": "Enviando información, por favor espere...", + "arDZ": "جاري تقديم المعلومات، يرجى الانتظار..." + }, + "timestamp": "2025-05-08T01:26:39.218Z" + }, + "密钥": { + "text": "密钥", + "key": "t_1_1746667588689", + "translations": { + "zhCN": "密钥", + "zhTW": "密鑰", + "enUS": "Key", + "jaJP": "キー", + "koKR": "키", + "ruRU": "Ключ", + "ptBR": "Chave", + "frFR": "Clé", + "esAR": "Clave", + "arDZ": "مفتاح" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "面板URL": { + "text": "面板URL", + "key": "t_2_1746667592840", + "translations": { + "zhCN": "面板URL", + "zhTW": "面板URL", + "enUS": "Panel URL", + "jaJP": "パネルURL", + "koKR": "패널 URL", + "ruRU": "URL панели", + "ptBR": "URL do painel", + "frFR": "URL du panneau", + "esAR": "URL del panel", + "arDZ": "عنوان URL للوحة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "忽略 SSL/TLS证书错误": { + "text": "忽略 SSL/TLS证书错误", + "key": "t_3_1746667592270", + "translations": { + "zhCN": "忽略 SSL/TLS证书错误", + "zhTW": "忽略 SSL/TLS證書錯誤", + "enUS": "Ignore SSL/TLS certificate errors", + "jaJP": "SSL/TLS証明書のエラーを無視する", + "koKR": "SSL/TLS 인증서 오류 무시", + "ruRU": "Игнорировать ошибки SSL/TLS сертификатов", + "ptBR": "Ignorar erros de certificado SSL/TLS", + "frFR": "Ignorer les erreurs de certificat SSL/TLS", + "esAR": "Ignorar errores de certificado SSL/TLS", + "arDZ": "تجاهل أخطاء شهادة SSL/TLS" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "表单验证失败": { + "text": "表单验证失败", + "key": "t_4_1746667590873", + "translations": { + "zhCN": "表单验证失败", + "zhTW": "表單驗證失敗", + "enUS": "Form validation failed", + "jaJP": "フォーム検証失敗", + "koKR": "양식 검증 실패", + "ruRU": "Проверка формы не удалась", + "ptBR": "Validação de formulário falhou", + "frFR": "Échec de la validation du formulaire", + "esAR": "Falló la validación del formulario", + "arDZ": "فشل التحقق من النموذج" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "新建工作流": { + "text": "新建工作流", + "key": "t_5_1746667590676", + "translations": { + "zhCN": "新建工作流", + "zhTW": "新增工作流程", + "enUS": "New workflow", + "jaJP": "新しいワークフロー", + "koKR": "새 워크플로우", + "ruRU": "Новый рабочий процесс", + "ptBR": "Novo fluxo de trabalho", + "frFR": "Nouveau flux de travail", + "esAR": "Nuevo flujo de trabajo", + "arDZ": "سير عمل جديد" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "正在提交申请,请稍后...": { + "text": "正在提交申请,请稍后...", + "key": "t_6_1746667592831", + "translations": { + "zhCN": "正在提交申请,请稍后...", + "zhTW": "正在提交申請,請稍後...", + "enUS": "Submitting application, please wait...", + "jaJP": "申請を提出しています、少々お待ちください...", + "koKR": "제출 중입니다. 잠시만 기다려 주세요...", + "ruRU": "Отправка заявки, пожалуйста, подождите...", + "ptBR": "Enviando aplicação, por favor aguarde...", + "frFR": "Soumission de la demande, veuillez patienter...", + "esAR": "Enviando aplicación, por favor espere...", + "arDZ": "جارٍ تقديم الطلب، يرجى الانتظار..." + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "请输入正确的域名": { + "text": "请输入正确的域名", + "key": "t_7_1746667592468", + "translations": { + "zhCN": "请输入正确的域名", + "zhTW": "請輸入正確的域名", + "enUS": "Please enter the correct domain name", + "jaJP": "正しいドメイン名を入力してください", + "koKR": "올바른 도메인 이름을 입력하세요", + "ruRU": "Пожалуйста, введите правильное доменное имя", + "ptBR": "Por favor, insira o nome de domínio correto", + "frFR": "Veuillez entrer le nom de domaine correct", + "esAR": "Por favor ingrese el nombre de dominio correcto", + "arDZ": "يرجى إدخال اسم النطاق الصحيح" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "请选择解析方式": { + "text": "请选择解析方式", + "key": "t_8_1746667591924", + "translations": { + "zhCN": "请选择解析方式", + "zhTW": "請選擇解析方式", + "enUS": "Please select the parsing method", + "jaJP": "解析方法を選択してください", + "koKR": "파싱 방법을 선택하세요", + "ruRU": "Пожалуйста, выберите метод анализа", + "ptBR": "Por favor, selecione o método de análise", + "frFR": "Veuillez sélectionner la méthode d'analyse", + "esAR": "Por favor, seleccione el método de análisis", + "arDZ": "يرجى اختيار طريقة التحليل" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "刷新列表": { + "text": "刷新列表", + "key": "t_9_1746667589516", + "translations": { + "zhCN": "刷新列表", + "zhTW": "刷新列表", + "enUS": "Refresh list", + "jaJP": "リストを更新", + "koKR": "목록 새로 고침", + "ruRU": "Обновить список", + "ptBR": "Atualizar lista", + "frFR": "Actualiser la liste", + "esAR": "Actualizar lista", + "arDZ": "تحديث القائمة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "通配符": { + "text": "通配符", + "key": "t_10_1746667589575", + "translations": { + "zhCN": "通配符", + "zhTW": "通配符", + "enUS": "Wildcard", + "jaJP": "ワイルドカード", + "koKR": "와일드카드", + "ruRU": "Подстановочный знак", + "ptBR": "Curinga", + "frFR": "Joker", + "esAR": "Comodín", + "arDZ": "حرف بدل" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "多域名": { + "text": "多域名", + "key": "t_11_1746667589598", + "translations": { + "zhCN": "多域名", + "zhTW": "多域名", + "enUS": "Multi-domain", + "jaJP": "マルチドメイン", + "koKR": "멀티 도메인", + "ruRU": "Мультидомен", + "ptBR": "Multidomínio", + "frFR": "Multi-domaine", + "esAR": "Multidominio", + "arDZ": "متعدد النطاقات" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "热门": { + "text": "热门", + "key": "t_12_1746667589733", + "translations": { + "zhCN": "热门", + "zhTW": "熱門", + "enUS": "Popular", + "jaJP": "人気", + "koKR": "인기", + "ruRU": "Популярные", + "ptBR": "Popular", + "frFR": "Populaire", + "esAR": "Popular", + "arDZ": "شائع" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。": { + "text": "是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。", + "key": "t_13_1746667599218", + "translations": { + "zhCN": "是广泛使用的免费SSL证书提供商,适合个人网站和测试环境。", + "zhTW": "是廣泛使用的免費SSL證書提供商,適合個人網站和測試環境。", + "enUS": "is a widely used free SSL certificate provider, suitable for personal websites and testing environments.", + "jaJP": "広く使用されている無料のSSL証明書プロバイダーで、個人のウェブサイトやテスト環境に適しています。", + "koKR": "개인 웹사이트 및 테스트 환경에 적합한 널리 사용되는 무료 SSL 인증서 제공업체입니다.", + "ruRU": "широко используемый бесплатный провайдер SSL-сертификатов, подходящий для личных веб-сайтов и тестовых сред.", + "ptBR": "é um fornecedor de certificados SSL gratuito amplamente utilizado, adequado para sites pessoais e ambientes de teste.", + "frFR": "est un fournisseur de certificats SSL gratuits largement utilisé, adapté aux sites personnels et aux environnements de test.", + "esAR": "es un proveedor de certificados SSL gratuito ampliamente utilizado, adecuado para sitios web personales y entornos de prueba.", + "arDZ": "هو موفر شهادات SSL مجاني مستخدم على نطاق واسع، مناسب للمواقع الشخصية وبيئات الاختبار." + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "支持域名数": { + "text": "支持域名数", + "key": "t_14_1746667590827", + "translations": { + "zhCN": "支持域名数", + "zhTW": "支持域名數", + "enUS": "Number of supported domains", + "jaJP": "サポートされているドメインの数", + "koKR": "지원되는 도메인 수", + "ruRU": "Количество поддерживаемых доменов", + "ptBR": "Número de domínios suportados", + "frFR": "Nombre de domaines pris en charge", + "esAR": "Número de dominios soportados", + "arDZ": "عدد النطاقات المدعومة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "个": { + "text": "个", + "key": "t_15_1746667588493", + "translations": { + "zhCN": "个", + "zhTW": "個", + "enUS": "piece", + "jaJP": "個", + "koKR": "개", + "ruRU": "штука", + "ptBR": "peça", + "frFR": "pièce", + "esAR": "pieza", + "arDZ": "قطعة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "支持通配符": { + "text": "支持通配符", + "key": "t_16_1746667591069", + "translations": { + "zhCN": "支持通配符", + "zhTW": "支援萬用字元", + "enUS": "Support wildcards", + "jaJP": "ワイルドカードをサポート", + "koKR": "와일드카드 지원", + "ruRU": "Поддержка подстановочных знаков", + "ptBR": "Suporte a curingas", + "frFR": "Prise en charge des caractères génériques", + "esAR": "Compatibilidad con caracteres comodín", + "arDZ": "دعم أحرف البدل" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "支持": { + "text": "支持", + "key": "t_17_1746667588785", + "translations": { + "zhCN": "支持", + "zhTW": "支持", + "enUS": "support", + "jaJP": "サポート", + "koKR": "지원", + "ruRU": "поддержка", + "ptBR": "suporte", + "frFR": "soutien", + "esAR": "apoyo", + "arDZ": "دعم" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "不支持": { + "text": "不支持", + "key": "t_18_1746667590113", + "translations": { + "zhCN": "不支持", + "zhTW": "不支援", + "enUS": "Not supported", + "jaJP": "サポートされていません", + "koKR": "지원되지 않음", + "ruRU": "Не поддерживается", + "ptBR": "Não suportado", + "frFR": "Non pris en charge", + "esAR": "No soportado", + "arDZ": "غير مدعوم" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "有效期": { + "text": "有效期", + "key": "t_19_1746667589295", + "translations": { + "zhCN": "有效期", + "zhTW": "有效期", + "enUS": "Validity period", + "jaJP": "有効期間", + "koKR": "유효 기간", + "ruRU": "Срок действия", + "ptBR": "Validade", + "frFR": "Période de validité", + "esAR": "Período de validez", + "arDZ": "فترة الصلاحية" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "天": { + "text": "天", + "key": "t_20_1746667588453", + "translations": { + "zhCN": "天", + "zhTW": "天", + "enUS": "Day", + "jaJP": "天", + "koKR": "하늘", + "ruRU": "день", + "ptBR": "dia", + "frFR": "jour", + "esAR": "día", + "arDZ": "يوم" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "支持小程序": { + "text": "支持小程序", + "key": "t_21_1746667590834", + "translations": { + "zhCN": "支持小程序", + "zhTW": "支援小程式", + "enUS": "Support Mini Program", + "jaJP": "ミニプログラムをサポート", + "koKR": "미니프로그램 지원", + "ruRU": "Поддержка мини-программ", + "ptBR": "Suporte para Mini Programas", + "frFR": "Prise en charge des mini-programmes", + "esAR": "Soporte para Mini Programas", + "arDZ": "دعم البرامج الصغيرة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "适用网站": { + "text": "适用网站", + "key": "t_22_1746667591024", + "translations": { + "zhCN": "适用网站", + "zhTW": "適用網站", + "enUS": "Applicable websites", + "jaJP": "対応サイト", + "koKR": "적용 가능한 웹사이트", + "ruRU": "Применимые веб-сайты", + "ptBR": "Sites aplicáveis", + "frFR": "Sites applicables", + "esAR": "Sitios aplicables", + "arDZ": "المواقع المطبقة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "*.example.com、*.demo.com": { + "text": "*.example.com、*.demo.com", + "key": "t_23_1746667591989", + "translations": { + "zhCN": "*.example.com、*.demo.com", + "zhTW": "*.example.com、*.demo.com", + "enUS": "*.example.com, *.demo.com", + "jaJP": "*.example.com、*.demo.com", + "koKR": "*.example.com, *.demo.com", + "ruRU": "*.example.com, *.demo.com", + "ptBR": "*.example.com, *.demo.com", + "frFR": "*.example.com, *.demo.com", + "esAR": "*.example.com, *.demo.com", + "arDZ": "*.example.com، *.demo.com" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "*.example.com": { + "text": "*.example.com", + "key": "t_24_1746667583520", + "translations": { + "zhCN": "*.example.com", + "zhTW": "*.example.com", + "enUS": "*.example.com", + "jaJP": "*.example.com", + "koKR": "*.example.com", + "ruRU": "*.example.com", + "ptBR": "*.example.com", + "frFR": "*.example.com", + "esAR": "*.example.com", + "arDZ": "*.example.com" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "example.com、demo.com": { + "text": "example.com、demo.com", + "key": "t_25_1746667590147", + "translations": { + "zhCN": "example.com、demo.com", + "zhTW": "example.com、demo.com", + "enUS": "example.com、demo.com", + "jaJP": "example.com、demo.com", + "koKR": "example.com、demo.com", + "ruRU": "example.com、demo.com", + "ptBR": "example.com、demo.com", + "frFR": "example.com、demo.com", + "esAR": "example.com、demo.com", + "arDZ": "example.com、demo.com" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "www.example.com、example.com": { + "text": "www.example.com、example.com", + "key": "t_26_1746667594662", + "translations": { + "zhCN": "www.example.com、example.com", + "zhTW": "www.example.com、example.com", + "enUS": "www.example.com, example.com", + "jaJP": "www.example.com、example.com", + "koKR": "www.example.com, example.com", + "ruRU": "www.example.com, example.com", + "ptBR": "www.example.com, example.com", + "frFR": "www.example.com, example.com", + "esAR": "www.example.com, example.com", + "arDZ": "www.example.com، example.com" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "免费": { + "text": "免费", + "key": "t_27_1746667589350", + "translations": { + "zhCN": "免费", + "zhTW": "免費", + "enUS": "Free", + "jaJP": "無料", + "koKR": "무료", + "ruRU": "Бесплатно", + "ptBR": "Grátis", + "frFR": "Gratuit", + "esAR": "Gratis", + "arDZ": "مجاني" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "立即申请": { + "text": "立即申请", + "key": "t_28_1746667590336", + "translations": { + "zhCN": "立即申请", + "zhTW": "立即申請", + "enUS": "Apply Now", + "jaJP": "今すぐ申し込む", + "koKR": "지금 신청하기", + "ruRU": "Подать заявку сейчас", + "ptBR": "Aplicar agora", + "frFR": "Postuler maintenant", + "esAR": "Aplicar ahora", + "arDZ": "تقديم الآن" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "项目地址": { + "text": "项目地址", + "key": "t_29_1746667589773", + "translations": { + "zhCN": "项目地址", + "zhTW": "專案地址", + "enUS": "Project address", + "jaJP": "プロジェクトアドレス", + "koKR": "프로젝트 주소", + "ruRU": "Адрес проекта", + "ptBR": "Endereço do projeto", + "frFR": "Adresse du projet", + "esAR": "Dirección del proyecto", + "arDZ": "عنوان المشروع" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "请输入证书文件路径": { + "text": "请输入证书文件路径", + "key": "t_30_1746667591892", + "translations": { + "zhCN": "请输入证书文件路径", + "zhTW": "請輸入憑證檔案路徑", + "enUS": "Please enter the certificate file path", + "jaJP": "証明書ファイルのパスを入力してください", + "koKR": "인증서 파일 경로를 입력하세요", + "ruRU": "Введите путь к файлу сертификата", + "ptBR": "Digite o caminho do arquivo de certificado", + "frFR": "Veuillez entrer le chemin du fichier de certificat", + "esAR": "Ingrese la ruta del archivo de certificado", + "arDZ": "الرجاء إدخال مسار ملف الشهادة" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "请输入私钥文件路径": { + "text": "请输入私钥文件路径", + "key": "t_31_1746667593074", + "translations": { + "zhCN": "请输入私钥文件路径", + "zhTW": "請輸入私鑰文件路徑", + "enUS": "Please enter the private key file path", + "jaJP": "秘密鍵ファイルのパスを入力してください", + "koKR": "개인 키 파일 경로를 입력하세요", + "ruRU": "Введите путь к файлу закрытого ключа", + "ptBR": "Digite o caminho do arquivo de chave privada", + "frFR": "Veuillez entrer le chemin du fichier de clé privée", + "esAR": "Ingrese la ruta del archivo de clave privada", + "arDZ": "الرجاء إدخال مسار ملف المفتاح الخاص" + }, + "timestamp": "2025-05-08T01:26:39.219Z" + }, + "当前DNS提供商为空,请先添加DNS提供商": { + "text": "当前DNS提供商为空,请先添加DNS提供商", + "key": "t_0_1746673515941", + "translations": { + "zhCN": "当前DNS提供商为空,请先添加DNS提供商", + "zhTW": "當前DNS提供商為空,請先添加DNS提供商", + "enUS": "The current DNS provider is empty, please add a DNS provider first", + "jaJP": "現在のDNSプロバイダーが空です。まずDNSプロバイダーを追加してください", + "koKR": "현재 DNS 공급자가 비어 있습니다. 먼저 DNS 공급자를 추가하세요", + "ruRU": "Текущий DNS-провайдер отсутствует, сначала добавьте DNS-провайдера", + "ptBR": "O provedor de DNS atual está vazio, adicione um provedor de DNS primeiro", + "frFR": "Le fournisseur DNS actuel est vide, veuillez d'abord ajouter un fournisseur DNS", + "esAR": "El proveedor de DNS actual está vacío, por favor agregue un proveedor de DNS primero", + "arDZ": "موفر DNS الحالي فارغ، يرجى إضافة موفر DNS أولاً" + }, + "timestamp": "2025-05-08T03:05:15.942Z" + }, + "测试通知发送失败": { + "text": "测试通知发送失败", + "key": "t_0_1746676862189", + "translations": { + "zhCN": "测试通知发送失败", + "zhTW": "測試通知發送失敗", + "enUS": "Test notification sending failed", + "jaJP": "テスト通知の送信に失敗しました", + "koKR": "테스트 알림 전송 실패", + "ruRU": "Не удалось отправить тестовое уведомление", + "ptBR": "Falha no envio da notificação de teste", + "frFR": "Échec de l'envoi de la notification de test", + "esAR": "Error en el envío de notificación de prueba", + "arDZ": "فشل إرسال إشعار الاختبار" + }, + "timestamp": "2025-05-08T04:01:02.329Z" + }, + "添加配置": { + "text": "添加配置", + "key": "t_1_1746676859550", + "translations": { + "zhCN": "添加配置", + "zhTW": "新增配置", + "enUS": "Add Configuration", + "jaJP": "設定を追加", + "koKR": "구성 추가", + "ruRU": "Добавить конфигурацию", + "ptBR": "Adicionar Configuração", + "frFR": "Ajouter une Configuration", + "esAR": "Agregar Configuración", + "arDZ": "إضافة تكوين" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "暂未支持": { + "text": "暂未支持", + "key": "t_2_1746676856700", + "translations": { + "zhCN": "暂未支持", + "zhTW": "暫不支持", + "enUS": "Not supported yet", + "jaJP": "まだサポートされていません", + "koKR": "아직 지원되지 않음", + "ruRU": "Пока не поддерживается", + "ptBR": "Ainda não suportado", + "frFR": "Pas encore pris en charge", + "esAR": "Aún no compatible", + "arDZ": "غير مدعوم بعد" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "邮件通知": { + "text": "邮件通知", + "key": "t_3_1746676857930", + "translations": { + "zhCN": "邮件通知", + "zhTW": "郵件通知", + "enUS": "Email notification", + "jaJP": "メール通知", + "koKR": "이메일 알림", + "ruRU": "Уведомление по электронной почте", + "ptBR": "Notificação por e-mail", + "frFR": "Notification par e-mail", + "esAR": "Notificación por correo electrónico", + "arDZ": "إشعار البريد الإلكتروني" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "通过邮件发送告警通知": { + "text": "通过邮件发送告警通知", + "key": "t_4_1746676861473", + "translations": { + "zhCN": "通过邮件发送告警通知", + "zhTW": "透過郵件發送警報通知", + "enUS": "Send alert notifications via email", + "jaJP": "メールでアラート通知を送信する", + "koKR": "이메일로 경고 알림 보내기", + "ruRU": "Отправка уведомлений о тревоге по электронной почте", + "ptBR": "Enviar notificações de alerta por e-mail", + "frFR": "Envoyer des notifications d'alerte par e-mail", + "esAR": "Enviar notificaciones de alerta por correo electrónico", + "arDZ": "إرسال إخطارات التنبيه عبر البريد الإلكتروني" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "钉钉通知": { + "text": "钉钉通知", + "key": "t_5_1746676856974", + "translations": { + "zhCN": "钉钉通知", + "zhTW": "釘釘通知", + "enUS": "DingTalk Notification", + "jaJP": "DingTalk通知", + "koKR": "DingTalk 알림", + "ruRU": "Уведомление DingTalk", + "ptBR": "Notificação DingTalk", + "frFR": "Notification DingTalk", + "esAR": "Notificación de DingTalk", + "arDZ": "إشعار DingTalk" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "通过钉钉机器人发送告警通知": { + "text": "通过钉钉机器人发送告警通知", + "key": "t_6_1746676860886", + "translations": { + "zhCN": "通过钉钉机器人发送告警通知", + "zhTW": "通過釘釘機器人發送警報通知", + "enUS": "Send alarm notifications via DingTalk robot", + "jaJP": "DingTalkロボットを通じてアラーム通知を送信する", + "koKR": "DingTalk 봇을 통해 경고 알림 보내기", + "ruRU": "Отправка уведомлений о тревоге через робота DingTalk", + "ptBR": "Enviar notificações de alarme via robô DingTalk", + "frFR": "Envoyer des notifications d'alarme via le robot DingTalk", + "esAR": "Enviar notificaciones de alarma a través del robot DingTalk", + "arDZ": "إرسال إشعارات الإنذار عبر روبوت DingTalk" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "企业微信通知": { + "text": "企业微信通知", + "key": "t_7_1746676857191", + "translations": { + "zhCN": "企业微信通知", + "zhTW": "企業微信通知", + "enUS": "WeChat Work Notification", + "jaJP": "企業WeChat通知", + "koKR": "기업 위챗 알림", + "ruRU": "Уведомление WeChat Work", + "ptBR": "Notificação do WeChat Work", + "frFR": "Notification WeChat Work", + "esAR": "Notificación de WeChat Work", + "arDZ": "إشعار WeChat Work" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "通过企业微信机器人发送告警通知": { + "text": "通过企业微信机器人发送告警通知", + "key": "t_8_1746676860457", + "translations": { + "zhCN": "通过企业微信机器人发送告警通知", + "zhTW": "通過企業微信機器人發送警報通知", + "enUS": "Send alarm notifications via WeCom bot", + "jaJP": "WeComボットでアラーム通知を送信", + "koKR": "WeCom 봇을 통해 경고 알림 보내기", + "ruRU": "Отправка уведомлений о тревоге через бота WeCom", + "ptBR": "Enviar notificações de alarme via bot do WeCom", + "frFR": "Envoyer des notifications d'alarme via le bot WeCom", + "esAR": "Enviar notificaciones de alarma a través del bot de WeCom", + "arDZ": "إرسال تنبيهات الإنذار عبر بوت WeCom" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "飞书通知": { + "text": "飞书通知", + "key": "t_9_1746676857164", + "translations": { + "zhCN": "飞书通知", + "zhTW": "飛書通知", + "enUS": "Feishu Notification", + "jaJP": "Feishu通知", + "koKR": "Feishu 알림", + "ruRU": "Уведомление Feishu", + "ptBR": "Notificação Feishu", + "frFR": "Notification Feishu", + "esAR": "Notificación de Feishu", + "arDZ": "إشعار Feishu" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "通过飞书机器人发送告警通知": { + "text": "通过飞书机器人发送告警通知", + "key": "t_10_1746676862329", + "translations": { + "zhCN": "通过飞书机器人发送告警通知", + "zhTW": "通過飛書機器人發送告警通知", + "enUS": "Send alarm notifications via Feishu bot", + "jaJP": "飛書ロボットでアラーム通知を送信する", + "koKR": "Feishu 봇을 통해 알림 알림 보내기", + "ruRU": "Отправка уведомлений о тревоге через бота Feishu", + "ptBR": "Enviar notificações de alarme via bot Feishu", + "frFR": "Envoyer des notifications d'alarme via le bot Feishu", + "esAR": "Enviar notificaciones de alarma a través del bot Feishu", + "arDZ": "إرسال إخطارات الإنذار عبر بوت Feishu" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "WebHook通知": { + "text": "WebHook通知", + "key": "t_11_1746676859158", + "translations": { + "zhCN": "WebHook通知", + "zhTW": "WebHook通知", + "enUS": "WebHook Notification", + "jaJP": "WebHook通知", + "koKR": "WebHook 알림", + "ruRU": "WebHook уведомление", + "ptBR": "Notificação WebHook", + "frFR": "Notification WebHook", + "esAR": "Notificación WebHook", + "arDZ": "إشعار WebHook" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "通过WebHook发送告警通知": { + "text": "通过WebHook发送告警通知", + "key": "t_12_1746676860503", + "translations": { + "zhCN": "通过WebHook发送告警通知", + "zhTW": "通過WebHook發送警報通知", + "enUS": "Send alarm notifications via WebHook", + "jaJP": "WebHookを介してアラーム通知を送信する", + "koKR": "WebHook를 통해 알림 알림 보내기", + "ruRU": "Отправка уведомлений о тревоге через WebHook", + "ptBR": "Enviar notificações de alarme via WebHook", + "frFR": "Envoyer des notifications d'alarme via WebHook", + "esAR": "Enviar notificaciones de alarma a través de WebHook", + "arDZ": "إرسال إشعارات الإنذار عبر WebHook" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "通知渠道": { + "text": "通知渠道", + "key": "t_13_1746676856842", + "translations": { + "zhCN": "通知渠道", + "zhTW": "通知渠道", + "enUS": "Notification channel", + "jaJP": "通知チャネル", + "koKR": "알림 채널", + "ruRU": "Канал уведомлений", + "ptBR": "Canal de notificação", + "frFR": "Canal de notification", + "esAR": "Canal de notificación", + "arDZ": "قناة الإخطار" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "已配置的通知渠道": { + "text": "已配置的通知渠道", + "key": "t_14_1746676859019", + "translations": { + "zhCN": "已配置的通知渠道", + "zhTW": "已配置的通知頻道", + "enUS": "Configured notification channels", + "jaJP": "設定済みの通知チャネル", + "koKR": "구성된 알림 채널", + "ruRU": "Настроенные каналы уведомлений", + "ptBR": "Canais de notificação configurados", + "frFR": "Canaux de notification configurés", + "esAR": "Canales de notificación configurados", + "arDZ": "قنوات الإعلام المُهيأة" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "已停用": { + "text": "已停用", + "key": "t_15_1746676856567", + "translations": { + "zhCN": "已停用", + "zhTW": "已停用", + "enUS": "Disabled", + "jaJP": "無効化", + "koKR": "비활성화됨", + "ruRU": "Отключено", + "ptBR": "Desativado", + "frFR": "Désactivé", + "esAR": "Desactivado", + "arDZ": "معطل" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "测试": { + "text": "测试", + "key": "t_16_1746676855270", + "translations": { + "zhCN": "测试", + "zhTW": "測試", + "enUS": "Test", + "jaJP": "テスト", + "koKR": "테스트", + "ruRU": "тест", + "ptBR": "Teste", + "frFR": "Test", + "esAR": "Prueba", + "arDZ": "اختبار" + }, + "timestamp": "2025-05-08T04:01:02.331Z" + }, + "最后一次执行状态": { + "text": "最后一次执行状态", + "key": "t_0_1746677882486", + "translations": { + "zhCN": "最后一次执行状态", + "zhTW": "最後一次執行狀態", + "enUS": "Last execution status", + "jaJP": "最後の実行状態", + "koKR": "마지막 실행 상태", + "ruRU": "Последний статус выполнения", + "ptBR": "Último status de execução", + "frFR": "Dernier état d'exécution", + "esAR": "Último estado de ejecución", + "arDZ": "حالة التنفيذ الأخيرة" + }, + "timestamp": "2025-05-08T04:18:02.487Z" + }, + "域名不能为空": { + "text": "域名不能为空", + "key": "t_0_1746697487119", + "translations": { + "zhCN": "域名不能为空", + "zhTW": "域名不能為空", + "enUS": "Domain name cannot be empty", + "jaJP": "ドメイン名は空にできません", + "koKR": "도메인 이름은 비워둘 수 없습니다", + "ruRU": "Имя домена не может быть пустым", + "ptBR": "O nome do domínio não pode estar vazio", + "frFR": "Le nom de domaine ne peut pas être vide", + "esAR": "El nombre de dominio no puede estar vacío", + "arDZ": "اسم النطاق لا يمكن أن يكون فارغًا" + }, + "timestamp": "2025-05-08T09:44:47.164Z" + }, + "邮箱不能为空": { + "text": "邮箱不能为空", + "key": "t_1_1746697485188", + "translations": { + "zhCN": "邮箱不能为空", + "zhTW": "郵箱不能為空", + "enUS": "Email cannot be empty", + "jaJP": "メールアドレスは空にできません", + "koKR": "이메일은 비워둘 수 없습니다", + "ruRU": "Почта не может быть пустой", + "ptBR": "O e-mail não pode estar vazio", + "frFR": "L'e-mail ne peut pas être vide", + "esAR": "El correo electrónico no puede estar vacío", + "arDZ": "البريد الإلكتروني لا يمكن أن يكون فارغاً" + }, + "timestamp": "2025-05-08T09:44:47.164Z" + }, + "阿里云OSS": { + "text": "阿里云OSS", + "key": "t_2_1746697487164", + "translations": { + "zhCN": "阿里云OSS", + "zhTW": "阿里雲OSS", + "enUS": "Alibaba Cloud OSS", + "jaJP": "アリババクラウドOSS", + "koKR": "알리바바 클라우드 OSS", + "ruRU": "Alibaba Cloud OSS", + "ptBR": "Alibaba Cloud OSS", + "frFR": "Alibaba Cloud OSS", + "esAR": "Alibaba Cloud OSS", + "arDZ": "علي بابا كلاود OSS" + }, + "timestamp": "2025-05-08T09:44:47.164Z" + }, + "主机提供商": { + "text": "主机提供商", + "key": "t_0_1746754500246", + "translations": { + "zhCN": "主机提供商", + "zhTW": "主機供應商", + "enUS": "Hosting Provider", + "jaJP": "ホスティングプロバイダー", + "koKR": "호스팅 제공업체", + "ruRU": "Хостинг-провайдер", + "ptBR": "Provedor de Hospedagem", + "frFR": "Fournisseur d'hébergement", + "esAR": "Proveedor de Alojamiento", + "arDZ": "مزود الاستضافة" + }, + "timestamp": "2025-05-09T01:35:00.270Z" + }, + "API来源": { + "text": "API来源", + "key": "t_1_1746754499371", + "translations": { + "zhCN": "API来源", + "zhTW": "API來源", + "enUS": "API Source", + "jaJP": "APIソース", + "koKR": "API 소스", + "ruRU": "Источник API", + "ptBR": "Fonte da API", + "frFR": "Source de l'API", + "esAR": "Fuente de la API", + "arDZ": "مصدر API" + }, + "timestamp": "2025-05-09T01:35:00.270Z" + }, + "API 类型": { + "text": "API 类型", + "key": "t_2_1746754500270", + "translations": { + "zhCN": "API 类型", + "zhTW": "API 類型", + "enUS": "API type", + "jaJP": "APIタイプ", + "koKR": "API 유형", + "ruRU": "Тип API", + "ptBR": "Tipo de API", + "frFR": "Type d'API", + "esAR": "Tipo de API", + "arDZ": "نوع API" + }, + "timestamp": "2025-05-09T01:35:00.270Z" + }, + "请求错误": { + "text": "请求错误", + "key": "t_0_1746760933542", + "translations": { + "zhCN": "请求错误", + "zhTW": "請求錯誤", + "enUS": "Request error", + "jaJP": "リクエストエラー", + "koKR": "요청 오류", + "ruRU": "Ошибка запроса", + "ptBR": "Erro de solicitação", + "frFR": "Erreur de requête", + "esAR": "Error de solicitud", + "arDZ": "خطأ في الطلب" + }, + "timestamp": "2025-05-09T03:22:13.542Z" + }, + "共{0}条": { + "text": "共{0}条", + "key": "t_0_1746773350551", + "translations": { + "zhCN": "共{0}条", + "zhTW": "共{0}條", + "enUS": "{0} results", + "jaJP": "合計{0}件", + "koKR": "총 {0}건", + "ruRU": "Всего {0}", + "ptBR": "Total de {0} itens", + "frFR": "{0} résultats", + "esAR": "{0} en total", + "arDZ": "مجموع {0}" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "未执行": { + "text": "未执行", + "key": "t_1_1746773348701", + "translations": { + "zhCN": "未执行", + "zhTW": "未執行", + "enUS": "Not executed", + "jaJP": "未実行", + "koKR": "실행되지 않음", + "ruRU": "Не выполнено", + "ptBR": "Não executado", + "frFR": "Non exécuté", + "esAR": "No ejecutado", + "arDZ": "لم يتم التنفيذ" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "自动化工作流": { + "text": "自动化工作流", + "key": "t_2_1746773350970", + "translations": { + "zhCN": "自动化工作流", + "zhTW": "自動化工作流程", + "enUS": "Automated workflow", + "jaJP": "自動化ワークフロー", + "koKR": "자동화 워크플로우", + "ruRU": "Автоматизированный рабочий процесс", + "ptBR": "Fluxo de trabalho automatizado", + "frFR": "Workflow automatisé", + "esAR": "Flujo de trabajo automatizado", + "arDZ": "سير العمل الآلي" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "总数量": { + "text": "总数量", + "key": "t_3_1746773348798", + "translations": { + "zhCN": "总数量", + "zhTW": "總數量", + "enUS": "Total quantity", + "jaJP": "総数量", + "koKR": "총 수량", + "ruRU": "Общее количество", + "ptBR": "Quantidade total", + "frFR": "Quantité totale", + "esAR": "Cantidad total", + "arDZ": "العدد الكلي" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "执行失败": { + "text": "执行失败", + "key": "t_4_1746773348957", + "translations": { + "zhCN": "执行失败", + "zhTW": "執行失敗", + "enUS": "Execution failed", + "jaJP": "実行に失敗しました", + "koKR": "실행 실패", + "ruRU": "Ошибка выполнения", + "ptBR": "Falha na execução", + "frFR": "Échec de l'exécution", + "esAR": "Falló la ejecución", + "arDZ": "فشل التنفيذ" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "即将到期": { + "text": "即将到期", + "key": "t_5_1746773349141", + "translations": { + "zhCN": "即将到期", + "zhTW": "即將到期", + "enUS": "Expiring soon", + "jaJP": "まもなく期限切れ", + "koKR": "곧 만료됩니다", + "ruRU": "Скоро истекает", + "ptBR": "Expirando em breve", + "frFR": "Expire bientôt", + "esAR": "Próximo a expirar", + "arDZ": "تنتهي قريبا" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "实时监控": { + "text": "实时监控", + "key": "t_6_1746773349980", + "translations": { + "zhCN": "实时监控", + "zhTW": "即時監控", + "enUS": "Real-time monitoring", + "jaJP": "リアルタイム監視", + "koKR": "실시간 모니터링", + "ruRU": "Мониторинг в реальном времени", + "ptBR": "Monitoramento em tempo real", + "frFR": "Surveillance en temps réel", + "esAR": "Monitoreo en tiempo real", + "arDZ": "مراقبة في الوقت الحقيقي" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "异常数量": { + "text": "异常数量", + "key": "t_7_1746773349302", + "translations": { + "zhCN": "异常数量", + "zhTW": "異常數量", + "enUS": "Abnormal quantity", + "jaJP": "異常数量", + "koKR": "이상 수량", + "ruRU": "Аномальное количество", + "ptBR": "Quantidade anormal", + "frFR": "Quantité anormale", + "esAR": "Cantidad anormal", + "arDZ": "كمية غير طبيعية" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "最近工作流执行记录": { + "text": "最近工作流执行记录", + "key": "t_8_1746773351524", + "translations": { + "zhCN": "最近工作流执行记录", + "zhTW": "最近工作流程執行紀錄", + "enUS": "Recent workflow execution records", + "jaJP": "最近のワークフロー実行記録", + "koKR": "최근 워크플로우 실행 기록", + "ruRU": "Недавние записи выполнения рабочего процесса", + "ptBR": "Registros recentes de execução de fluxo de trabalho", + "frFR": "Récents enregistrements d'exécution de flux de travail", + "esAR": "Registros recientes de ejecución de flujo de trabajo", + "arDZ": "سجلات تنفيذ سير العمل الحديثة" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "查看全部": { + "text": "查看全部", + "key": "t_9_1746773348221", + "translations": { + "zhCN": "查看全部", + "zhTW": "查看全部", + "enUS": "View all", + "jaJP": "すべて表示", + "koKR": "모두 보기", + "ruRU": "Просмотреть все", + "ptBR": "Ver tudo", + "frFR": "Voir tout", + "esAR": "Ver todo", + "arDZ": "عرض الكل" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "暂无工作流执行记录": { + "text": "暂无工作流执行记录", + "key": "t_10_1746773351576", + "translations": { + "zhCN": "暂无工作流执行记录", + "zhTW": "暫無工作流執行記錄", + "enUS": "No workflow execution records", + "jaJP": "ワークフロー実行記録がありません", + "koKR": "워크플로우 실행 기록 없음", + "ruRU": "Нет записей выполнения рабочего процесса", + "ptBR": "Nenhum registro de execução de fluxo de trabalho", + "frFR": "Aucun enregistrement d'exécution de flux de travail", + "esAR": "No hay registros de ejecución de flujo de trabajo", + "arDZ": "لا توجد سجلات تنفيذ سير العمل" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "创建工作流": { + "text": "创建工作流", + "key": "t_11_1746773349054", + "translations": { + "zhCN": "创建工作流", + "zhTW": "建立工作流程", + "enUS": "Create workflow", + "jaJP": "ワークフローの作成", + "koKR": "워크플로우 생성", + "ruRU": "Создание рабочего процесса", + "ptBR": "Criar fluxo de trabalho", + "frFR": "Créer un workflow", + "esAR": "Crear flujo de trabajo", + "arDZ": "إنشاء سير العمل" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "点击创建自动化工作流程,提高效率": { + "text": "点击创建自动化工作流程,提高效率", + "key": "t_12_1746773355641", + "translations": { + "zhCN": "点击创建自动化工作流程,提高效率", + "zhTW": "點擊創建自動化工作流程,提高效率", + "enUS": "Click to create an automated workflow to improve efficiency", + "jaJP": "効率を向上させるために自動化されたワークフローを作成するにはクリックしてください", + "koKR": "효율성을 높이기 위해 자동화된 워크플로우를 생성하려면 클릭하세요", + "ruRU": "Нажмите, чтобы создать автоматизированный рабочий процесс для повышения эффективности", + "ptBR": "Clique para criar um fluxo de trabalho automatizado para melhorar a eficiência", + "frFR": "Cliquez pour créer un flux de travail automatisé afin d'améliorer l'efficacité", + "esAR": "Haz clic para crear un flujo de trabajo automatizado y mejorar la eficiencia", + "arDZ": "انقر لإنشاء سير عمل آلي لتحسين الكفاءة" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "申请证书": { + "text": "申请证书", + "key": "t_13_1746773349526", + "translations": { + "zhCN": "申请证书", + "zhTW": "申請證書", + "enUS": "Apply for certificate", + "jaJP": "証明書を申請する", + "koKR": "증명서 신청", + "ruRU": "Подать заявку на сертификат", + "ptBR": "Solicitar certificado", + "frFR": "Demander un certificat", + "esAR": "Solicitar certificado", + "arDZ": "التقدم بطلب للحصول على شهادة" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "点击申请和管理SSL证书,保障安全": { + "text": "点击申请和管理SSL证书,保障安全", + "key": "t_14_1746773355081", + "translations": { + "zhCN": "点击申请和管理SSL证书,保障安全", + "zhTW": "點擊申請和管理SSL證書,保障安全", + "enUS": "Click to apply for and manage SSL certificates to ensure security", + "jaJP": "SSL証明書の申請と管理をクリックして、セキュリティを確保します", + "koKR": "SSL 인증서를 신청하고 관리하여 보안을 보장합니다", + "ruRU": "Нажмите, чтобы подать заявку на SSL-сертификаты и управлять ими для обеспечения безопасности", + "ptBR": "Clique para solicitar e gerenciar certificados SSL para garantir segurança", + "frFR": "Cliquez pour demander et gérer les certificats SSL afin d'assurer la sécurité", + "esAR": "Haz clic para solicitar y administrar certificados SSL para garantizar la seguridad", + "arDZ": "انقر للتقدم بطلب وإدارة شهادات SSL لضمان الأمان" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "最多只能配置一个邮箱通知渠道": { + "text": "最多只能配置一个邮箱通知渠道", + "key": "t_16_1746773356568", + "translations": { + "zhCN": "最多只能配置一个邮箱通知渠道", + "zhTW": "最多只能配置一個郵箱通知渠道", + "enUS": "Only one email notification channel can be configured at most", + "jaJP": "最大で1つのメール通知チャネルしか設定できません", + "koKR": "최대 하나의 이메일 알림 채널만 구성할 수 있습니다", + "ruRU": "Можно настроить только один канал уведомлений по электронной почте", + "ptBR": "No máximo, apenas um canal de notificação por e-mail pode ser configurado", + "frFR": "Un seul canal de notification par e-mail peut être configuré au maximum", + "esAR": "Solo se puede configurar un canal de notificación por correo electrónico como máximo", + "arDZ": "يمكن تكوين قناة إشعار واحدة فقط عبر البريد الإلكتروني كحد أقصى" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "确认{0}通知渠道": { + "text": "确认{0}通知渠道", + "key": "t_17_1746773351220", + "translations": { + "zhCN": "确认{0}通知渠道", + "zhTW": "確認{0}通知渠道", + "enUS": "Confirm {0} notification channel", + "jaJP": "{0}通知チャネルの確認", + "koKR": "{0} 알림 채널 확인", + "ruRU": "Подтвердить канал уведомлений {0}", + "ptBR": "Confirmar canal de notificação {0}", + "frFR": "Confirmer le canal de notification {0}", + "esAR": "Confirmar canal de notificación {0}", + "arDZ": "تأكيد قناة الإشعارات {0}" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "{0}通知渠道,将开始发送告警通知。": { + "text": "{0}通知渠道,将开始发送告警通知。", + "key": "t_18_1746773355467", + "translations": { + "zhCN": "{0}通知渠道,将开始发送告警通知。", + "zhTW": "{0}通知渠道,將開始發送告警通知。", + "enUS": "{0} notification channels will start sending alert notifications.", + "jaJP": "{0}通知チャネルは、アラート通知の送信を開始します。", + "koKR": "{0} 알림 채널에서 경고 알림을 보내기 시작할 예정입니다.", + "ruRU": "{0} каналы уведомлений начнут отправлять оповещения.", + "ptBR": "Os canais de notificação {0} começarão a enviar alertas.", + "frFR": "Les canaux de notification {0} commenceront à envoyer des alertes.", + "esAR": "Los canales de notificación {0} comenzarán a enviar alertas.", + "arDZ": "ستبدأ قنوات الإشعار {0} في إرسال تنبيهات." + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "当前通知渠道不支持测试": { + "text": "当前通知渠道不支持测试", + "key": "t_19_1746773352558", + "translations": { + "zhCN": "当前通知渠道不支持测试", + "zhTW": "當前通知渠道不支援測試", + "enUS": "The current notification channel does not support testing", + "jaJP": "現在の通知チャネルはテストをサポートしていません", + "koKR": "현재 알림 채널은 테스트를 지원하지 않습니다", + "ruRU": "Текущий канал уведомлений не поддерживает тестирование", + "ptBR": "O canal de notificação atual não suporta testes", + "frFR": "Le canal de notification actuel ne prend pas en charge les tests", + "esAR": "El canal de notificación actual no admite pruebas", + "arDZ": "قناة الإشعارات الحالية لا تدعم الاختبار" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "正在发送测试邮件,请稍后...": { + "text": "正在发送测试邮件,请稍后...", + "key": "t_20_1746773356060", + "translations": { + "zhCN": "正在发送测试邮件,请稍后...", + "zhTW": "正在發送測試郵件,請稍後...", + "enUS": "Sending test email, please wait...", + "jaJP": "テストメールを送信しています、少々お待ちください...", + "koKR": "테스트 이메일을 보내는 중입니다. 잠시 기다려주세요...", + "ruRU": "Отправка тестового письма, пожалуйста, подождите...", + "ptBR": "Enviando e-mail de teste, por favor aguarde...", + "frFR": "Envoi d'un e-mail de test, veuillez patienter...", + "esAR": "Enviando correo de prueba, por favor espere...", + "arDZ": "يتم إرسال البريد الإلكتروني الاختباري، يرجى الانتظار..." + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "测试邮件": { + "text": "测试邮件", + "key": "t_21_1746773350759", + "translations": { + "zhCN": "测试邮件", + "zhTW": "測試郵件", + "enUS": "Test email", + "jaJP": "テストメール", + "koKR": "테스트 이메일", + "ruRU": "Тестовое письмо", + "ptBR": "E-mail de teste", + "frFR": "E-mail de test", + "esAR": "Correo de prueba", + "arDZ": "بريد إلكتروني تجريبي" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "发送测试邮件到当前配置的邮箱,是否继续?": { + "text": "发送测试邮件到当前配置的邮箱,是否继续?", + "key": "t_22_1746773360711", + "translations": { + "zhCN": "发送测试邮件到当前配置的邮箱,是否继续?", + "zhTW": "發送測試郵件到當前配置的郵箱,是否繼續?", + "enUS": "Send a test email to the currently configured mailbox, continue?", + "jaJP": "現在設定されているメールボックスにテストメールを送信します。続けますか?", + "koKR": "현재 설정된 메일박스로 테스트 메일을 보내시겠습니까?", + "ruRU": "Отправить тестовое письмо на текущий настроенный почтовый ящик, продолжить?", + "ptBR": "Enviar um e-mail de teste para a caixa de correio configurada atualmente, continuar?", + "frFR": "Envoyer un e-mail de test à la boîte mail configurée actuellement, continuer ?", + "esAR": "¿Enviar un correo de prueba al buzón configurado actualmente, continuar?", + "arDZ": "إرسال بريد إلكتروني اختباري إلى صندوق البريد الحالي المُهيأ، هل تتابع؟" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "删除确认": { + "text": "删除确认", + "key": "t_23_1746773350040", + "translations": { + "zhCN": "删除确认", + "zhTW": "刪除確認", + "enUS": "Delete Confirmation", + "jaJP": "削除の確認", + "koKR": "삭제 확인", + "ruRU": "Подтверждение удаления", + "ptBR": "Confirmação de exclusão", + "frFR": "Confirmation de suppression", + "esAR": "Confirmación de eliminación", + "arDZ": "تأكيد الحذف" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "请输入名称": { + "text": "请输入名称", + "key": "t_25_1746773349596", + "translations": { + "zhCN": "请输入名称", + "zhTW": "請輸入名稱", + "enUS": "Please enter name", + "jaJP": "名前を入力してください", + "koKR": "이름을 입력하세요", + "ruRU": "Пожалуйста, введите имя", + "ptBR": "Por favor, insira o nome", + "frFR": "Veuillez entrer le nom", + "esAR": "Por favor ingrese el nombre", + "arDZ": "الرجاء إدخال الاسم" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "请输入正确的SMTP端口": { + "text": "请输入正确的SMTP端口", + "key": "t_26_1746773353409", + "translations": { + "zhCN": "请输入正确的SMTP端口", + "zhTW": "請輸入正確的SMTP端口", + "enUS": "Please enter the correct SMTP port", + "jaJP": "正しいSMTPポートを入力してください", + "koKR": "올바른 SMTP 포트를 입력하세요", + "ruRU": "Пожалуйста, введите правильный порт SMTP", + "ptBR": "Por favor, insira a porta SMTP correta", + "frFR": "Veuillez saisir le bon port SMTP", + "esAR": "Por favor, ingrese el puerto SMTP correcto", + "arDZ": "الرجاء إدخال منفذ SMTP الصحيح" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "请输入用户密码": { + "text": "请输入用户密码", + "key": "t_27_1746773352584", + "translations": { + "zhCN": "请输入用户密码", + "zhTW": "請輸入使用者密碼", + "enUS": "Please enter user password", + "jaJP": "ユーザーパスワードを入力してください", + "koKR": "사용자 비밀번호를 입력하세요", + "ruRU": "Введите пароль пользователя", + "ptBR": "Por favor, insira a senha do usuário", + "frFR": "Veuillez entrer le mot de passe utilisateur", + "esAR": "Por favor, ingrese la contraseña de usuario", + "arDZ": "يرجى إدخال كلمة مرور المستخدم" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "请输入正确的发送人邮箱": { + "text": "请输入正确的发送人邮箱", + "key": "t_28_1746773354048", + "translations": { + "zhCN": "请输入正确的发送人邮箱", + "zhTW": "請輸入正確的發件人郵箱", + "enUS": "Please enter the correct sender email", + "jaJP": "正しい送信者のメールアドレスを入力してください", + "koKR": "올바른 발신자 이메일을 입력하세요", + "ruRU": "Пожалуйста, введите правильный адрес электронной почты отправителя", + "ptBR": "Por favor, insira o e-mail do remetente correto", + "frFR": "Veuillez entrer l'e-mail correct de l'expéditeur", + "esAR": "Por favor, ingrese el correo electrónico correcto del remitente", + "arDZ": "الرجاء إدخال البريد الإلكتروني الصحيح للمرسل" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "请输入正确的接收邮箱": { + "text": "请输入正确的接收邮箱", + "key": "t_29_1746773351834", + "translations": { + "zhCN": "请输入正确的接收邮箱", + "zhTW": "請輸入正確的接收信箱", + "enUS": "Please enter the correct receiving email", + "jaJP": "正しい受信メールを入力してください", + "koKR": "올바른 수신 이메일을 입력하세요", + "ruRU": "Пожалуйста, введите правильную электронную почту", + "ptBR": "Por favor, insira o e-mail de recebimento correto", + "frFR": "Veuillez entrer le bon e-mail de réception", + "esAR": "Por favor, ingrese el correo electrónico de recepción correcto", + "arDZ": "الرجاء إدخال البريد الإلكتروني الصحيح" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "发送人邮箱": { + "text": "发送人邮箱", + "key": "t_30_1746773350013", + "translations": { + "zhCN": "发送人邮箱", + "zhTW": "寄件人信箱", + "enUS": "Sender's email", + "jaJP": "送信者のメール", + "koKR": "보내는 사람 이메일", + "ruRU": "Электронная почта отправителя", + "ptBR": "E-mail do remetente", + "frFR": "E-mail de l'expéditeur", + "esAR": "Correo electrónico del remitente", + "arDZ": "بريد المرسل الإلكتروني" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "接收邮箱": { + "text": "接收邮箱", + "key": "t_31_1746773349857", + "translations": { + "zhCN": "接收邮箱", + "zhTW": "接收郵箱", + "enUS": "Receive Email", + "jaJP": "受信メール", + "koKR": "이메일 수신", + "ruRU": "Получить электронную почту", + "ptBR": "Receber E-mail", + "frFR": "Recevoir un e-mail", + "esAR": "Recibir correo electrónico", + "arDZ": "تلقي البريد الإلكتروني" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "钉钉": { + "text": "钉钉", + "key": "t_32_1746773348993", + "translations": { + "zhCN": "钉钉", + "zhTW": "釘釘", + "enUS": "DingTalk", + "jaJP": "ディンタン", + "koKR": "딩톡", + "ruRU": "ДинТолк", + "ptBR": "DingTalk", + "frFR": "DingTalk", + "esAR": "DingTalk", + "arDZ": "دينغتالک" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "企业微信": { + "text": "企业微信", + "key": "t_33_1746773350932", + "translations": { + "zhCN": "企业微信", + "zhTW": "企業微信", + "enUS": "WeChat Work", + "jaJP": "WeChat Work", + "koKR": "위챗 워크", + "ruRU": "WeChat Work", + "ptBR": "WeChat Work", + "frFR": "WeChat Work", + "esAR": "WeChat Work", + "arDZ": "WeChat Work" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "飞书": { + "text": "飞书", + "key": "t_34_1746773350153", + "translations": { + "zhCN": "飞书", + "zhTW": "飛書", + "enUS": "Feishu", + "jaJP": "飛書", + "koKR": "페이슈", + "ruRU": "Фэйшу", + "ptBR": "Feishu", + "frFR": "Feishu", + "esAR": "Feishu", + "arDZ": "فيشو" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。": { + "text": "一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。", + "key": "t_35_1746773362992", + "translations": { + "zhCN": "一个集证书申请、管理、部署和监控于一体的SSL证书全生命周期管理工具。", + "zhTW": "一個集證書申請、管理、部署和監控於一體的SSL證書全生命週期管理工具。", + "enUS": "A comprehensive SSL certificate lifecycle management tool that integrates application, management, deployment, and monitoring.", + "jaJP": "SSL証明書の申請、管理、展開、監視を統合したライフサイクル管理ツール。", + "koKR": "SSL 인증서 신청, 관리, 배포 및 모니터링을 통합한 전 생애 주기 관리 도구.", + "ruRU": "Инструмент управления полным жизненным циклом SSL-сертификатов, объединяющий подачу заявки, управление, развертывание и мониторинг.", + "ptBR": "Uma ferramenta de gerenciamento do ciclo de vida completo de certificados SSL que integra solicitação, gerenciamento, implantação e monitoramento.", + "frFR": "Un outil de gestion du cycle de vie complet des certificats SSL intégrant la demande, la gestion, le déploiement et la surveillance.", + "esAR": "Una herramienta de gestión del ciclo de vida completo de certificados SSL que integra solicitud, gestión, implementación y monitoreo.", + "arDZ": "أداة إدارة دورة حياة شهادات SSL متكاملة تشمل التقديم، الإدارة، النشر والمراقبة." + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "证书申请:": { + "text": "证书申请:", + "key": "t_36_1746773348989", + "translations": { + "zhCN": "证书申请", + "zhTW": "證書申請", + "enUS": "Certificate Application", + "jaJP": "証明書申請", + "koKR": "증명서 신청", + "ruRU": "Заявка на сертификат", + "ptBR": "Pedido de Certificado", + "frFR": "Demande de certificat", + "esAR": "Solicitud de Certificado", + "arDZ": "طلب الشهادة" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "支持通过ACME协议从Let": { + "text": "支持通过ACME协议从Let", + "key": "t_37_1746773356895", + "translations": { + "zhCN": "支持通过ACME协议从Let's Encrypt获取证书", + "zhTW": "支援通過ACME協議從Let's Encrypt獲取證書", + "enUS": "Support obtaining certificates from Let's Encrypt via ACME protocol", + "jaJP": "ACMEプロトコルを介してLet's Encryptから証明書を取得する", + "koKR": "ACME 프로토콜을 통해 Let's Encrypt에서 인증서를 획득할 수 있도록 지원", + "ruRU": "Поддержка получения сертификатов от Let's Encrypt через протокол ACME", + "ptBR": "Suporte à obtenção de certificados do Let's Encrypt através do protocolo ACME", + "frFR": "Support pour obtenir des certificats de Let's Encrypt via le protocole ACME", + "esAR": "Soporte para obtener certificados de Let's Encrypt a través del protocolo ACME", + "arDZ": "دعم الحصول على شهادات من Let's Encrypt عبر بروتوكول ACME" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "证书管理:": { + "text": "证书管理:", + "key": "t_38_1746773349796", + "translations": { + "zhCN": "证书管理", + "zhTW": "證書管理", + "enUS": "Certificate Management", + "jaJP": "証明書管理", + "koKR": "인증서 관리", + "ruRU": "Управление сертификатами", + "ptBR": "Gerenciamento de Certificados", + "frFR": "Gestion des certificats", + "esAR": "Gestión de Certificados", + "arDZ": "إدارة الشهادات" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "集中管理所有SSL证书,包括手动上传和自动申请的证书": { + "text": "集中管理所有SSL证书,包括手动上传和自动申请的证书", + "key": "t_39_1746773358932", + "translations": { + "zhCN": "集中管理所有SSL证书,包括手动上传和自动申请的证书", + "zhTW": "集中管理所有SSL證書,包括手動上傳和自動申請的證書", + "enUS": "Centralized management of all SSL certificates, including manually uploaded and automatically applied certificates", + "jaJP": "すべてのSSL証明書を一元管理、手動アップロードおよび自動申請の証明書を含む", + "koKR": "모든 SSL 인증서를 중앙에서 관리하며, 수동으로 업로드한 인증서와 자동으로 신청한 인증서를 포함합니다", + "ruRU": "Централизованное управление всеми SSL-сертификатами, включая загруженные вручную и автоматически запрошенные сертификаты", + "ptBR": "Gerenciamento centralizado de todos os certificados SSL, incluindo certificados carregados manualmente e aplicados automaticamente", + "frFR": "Gestion centralisée de tous les certificats SSL, y compris les certificats téléchargés manuellement et appliqués automatiquement", + "esAR": "Gestión centralizada de todos los certificados SSL, incluidos los certificados cargados manualmente y aplicados automáticamente", + "arDZ": "الإدارة المركزية لجميع شهادات SSL، بما في ذلك الشهادات المرفوعة يدويًا والمطبقة تلقائيًا" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "证书部署:": { + "text": "证书部署:", + "key": "t_40_1746773352188", + "translations": { + "zhCN": "证书部署", + "zhTW": "證書部署", + "enUS": "Certificate deployment", + "jaJP": "証明書の展開", + "koKR": "인증서 배포", + "ruRU": "Развертывание сертификата", + "ptBR": "Implantaçã de certificado", + "frFR": "Déploiement de certificat", + "esAR": "Implementación de certificado", + "arDZ": "نشر الشهادة" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等": { + "text": "支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等", + "key": "t_41_1746773364475", + "translations": { + "zhCN": "支持一键部署证书到多种平台,如阿里云、腾讯云、宝塔面板、1Panel等", + "zhTW": "支援一鍵部署證書到多種平台,如阿里雲、騰訊雲、寶塔面板、1Panel等", + "enUS": "Support one-click certificate deployment to multiple platforms such as Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", + "jaJP": "ワンクリックでの証明書のデプロイを複数のプラットフォームでサポート、例えばアリババクラウド、テンセントクラウド、Pagoda Panel、1Panelなど", + "koKR": "여러 플랫폼에 한 번의 클릭으로 인증서 배포 지원, 알리바바 클라우드, 텐센트 클라우드, Pagoda Panel, 1Panel 등", + "ruRU": "Поддержка развертывания сертификатов в один клик на нескольких платформах, таких как Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel и др.", + "ptBR": "Suporte à implantação de certificados com um clique em várias plataformas, como Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", + "frFR": "Prise en charge du déploiement de certificats en un clic sur plusieurs plateformes telles que Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", + "esAR": "Soporte para implementar certificados con un clic en múltiples plataformas como Alibaba Cloud, Tencent Cloud, Pagoda Panel, 1Panel, etc.", + "arDZ": "دعم نشر الشهادات بنقرة واحدة على منصات متعددة مثل علي بابا كلاود، تينسنت كلاود، لوحة باغودا، 1Panel، إلخ." + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "站点监控:": { + "text": "站点监控:", + "key": "t_42_1746773348768", + "translations": { + "zhCN": "站点监控", + "zhTW": "站點監控", + "enUS": "Site monitoring", + "jaJP": "サイト監視", + "koKR": "사이트 모니터링", + "ruRU": "Мониторинг сайта", + "ptBR": "Monitoramento do site", + "frFR": "Surveillance du site", + "esAR": "Monitoreo del sitio", + "arDZ": "مراقبة الموقع" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "实时监控站点SSL证书状态,提前预警证书过期": { + "text": "实时监控站点SSL证书状态,提前预警证书过期", + "key": "t_43_1746773359511", + "translations": { + "zhCN": "实时监控站点SSL证书状态,提前预警证书过期", + "zhTW": "實時監控站點SSL證書狀態,提前預警證書過期", + "enUS": "Real-time monitoring of site SSL certificate status to provide early warning of certificate expiration", + "jaJP": "サイトのSSL証明書の状態をリアルタイムで監視し、証明書の有効期限切れを事前に警告します", + "koKR": "사이트 SSL 인증서 상태를 실시간으로 모니터링하여 인증서 만료를 사전에 경고합니다", + "ruRU": "Мониторинг состояния SSL-сертификатов сайта в режиме реального времени с предупреждением об истечении срока действия сертификата", + "ptBR": "Monitoramento em tempo real do status do certificado SSL do site para alertar sobre a expiração do certificado", + "frFR": "Surveillance en temps réel de l'état des certificats SSL du site pour prévenir l'expiration des certificats", + "esAR": "Monitoreo en tiempo real del estado de los certificados SSL del sitio para alertar sobre la expiración de los certificados", + "arDZ": "مراقبة حالة شهادات SSL للموقع في الوقت الفعلي للتحذير المسبق من انتهاء صلاحية الشهادة" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "自动化任务:": { + "text": "自动化任务:", + "key": "t_44_1746773352805", + "translations": { + "zhCN": "自动化任务:", + "zhTW": "自動化任務:", + "enUS": "Automation task:", + "jaJP": "自動化タスク:", + "koKR": "자동화 작업:", + "ruRU": "Автоматизированная задача:", + "ptBR": "Tarefa automatizada:", + "frFR": "Tâche automatisée :", + "esAR": "Tarea automatizada:", + "arDZ": "مهمة الأتمتة:" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "支持定时任务,自动续期证书并部署": { + "text": "支持定时任务,自动续期证书并部署", + "key": "t_45_1746773355717", + "translations": { + "zhCN": "支持定时任务,自动续期证书并部署", + "zhTW": "支援定時任務,自動續期證書並部署", + "enUS": "Support scheduled tasks, automatically renew certificates and deploy", + "jaJP": "スケジュールされたタスクをサポートし、証明書を自動的に更新して展開します", + "koKR": "예약된 작업 지원, 인증서 자동 갱신 및 배포", + "ruRU": "Поддержка запланированных задач, автоматическое продление сертификатов и развертывание", + "ptBR": "Suporta tarefas agendadas, renova automaticamente os certificados e implanta", + "frFR": "Prend en charge les tâches planifiées, renouvellement automatique des certificats et déploiement", + "esAR": "Admite tareas programadas, renovación automática de certificados e implementación", + "arDZ": "يدعم المهام المجدولة، تجديد الشهادات تلقائياً ونشرها" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "多平台支持:": { + "text": "多平台支持:", + "key": "t_46_1746773350579", + "translations": { + "zhCN": "多平台支持", + "zhTW": "多平台支援", + "enUS": "Multi-platform support", + "jaJP": "マルチプラットフォーム対応", + "koKR": "다중 플랫폼 지원", + "ruRU": "Поддержка нескольких платформ", + "ptBR": "Suporte multiplataforma", + "frFR": "Prise en charge multiplateforme", + "esAR": "Soporte multiplataforma", + "arDZ": "دعم متعدد المنصات" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式": { + "text": "支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式", + "key": "t_47_1746773360760", + "translations": { + "zhCN": "支持多种DNS提供商(阿里云、腾讯云等)的DNS验证方式", + "zhTW": "支援多種DNS提供商(阿里雲、騰訊雲等)的DNS驗證方式", + "enUS": "Supports DNS verification methods for multiple DNS providers (Alibaba Cloud, Tencent Cloud, etc.)", + "jaJP": "複数のDNSプロバイダー(アリババクラウド、テンセントクラウドなど)のDNS検証方法をサポート", + "koKR": "다양한 DNS 제공업체(알리바바 클라우드, 텐센트 클라우드 등)의 DNS 확인 방법 지원", + "ruRU": "Поддерживает методы проверки DNS для нескольких поставщиков DNS (Alibaba Cloud, Tencent Cloud и др.)", + "ptBR": "Suporta métodos de verificação DNS para vários provedores de DNS (Alibaba Cloud, Tencent Cloud, etc.)", + "frFR": "Prend en charge les méthodes de vérification DNS pour plusieurs fournisseurs DNS (Alibaba Cloud, Tencent Cloud, etc.)", + "esAR": "Admite métodos de verificación DNS para múltiples proveedores de DNS (Alibaba Cloud, Tencent Cloud, etc.)", + "arDZ": "يدعم طرق التحقق DNS لعدة موفري DNS (Alibaba Cloud، Tencent Cloud، إلخ)" + }, + "timestamp": "2025-05-09T06:49:24.475Z" + }, + "确定要删除{0},通知渠道吗?": { + "text": "确定要删除{0},通知渠道吗?", + "key": "t_0_1746773763967", + "translations": { + "zhCN": "确定要删除{0},通知渠道吗?", + "zhTW": "確定要刪除{0},通知渠道嗎?", + "enUS": "Are you sure you want to delete {0}, the notification channel?", + "jaJP": "{0}、通知チャネルを削除してもよろしいですか?", + "koKR": "{0}, 알림 채널을 삭제하시겠습니까?", + "ruRU": "Вы уверены, что хотите удалить {0}, канал уведомлений?", + "ptBR": "Tem certeza que deseja excluir {0}, o canal de notificação?", + "frFR": "Êtes-vous sûr de vouloir supprimer {0}, le canal de notification ?", + "esAR": "¿Estás seguro de que deseas eliminar {0}, el canal de notificaciones?", + "arDZ": "هل أنت متأكد أنك تريد حذف {0}، قناة الإشعارات؟" + }, + "timestamp": "2025-05-09T06:56:03.967Z" + }, + "Let%27Encrypt等CA自动申请免费证书": { + "text": "Let%27Encrypt等CA自动申请免费证书", + "key": "t_1_1746773763643", + "translations": { + "zhCN": "Let's Encrypt等CA自动申请免费证书", + "zhTW": "Let's Encrypt等CA自動申請免費證書", + "enUS": "Let's Encrypt and other CAs automatically apply for free certificates", + "jaJP": "Let's EncryptなどのCAが無料の証明書を自動的に申請する", + "koKR": "Let's Encrypt 등의 CA에서 무료 인증서를 자동으로 신청", + "ruRU": "Let's Encrypt и другие центры сертификации автоматически подают заявки на бесплатные сертификаты", + "ptBR": "Let's Encrypt e outras autoridades de certificação solicitam automaticamente certificados gratuitos", + "frFR": "Let's Encrypt et d'autres CA demandent automatiquement des certificats gratuits", + "esAR": "Let's Encrypt y otras CA solicitan automáticamente certificados gratuitos", + "arDZ": "Let's Encrypt وغيرها من الجهات المصدقة تطلب شهادات مجانية تلقائيًا" + }, + "timestamp": "2025-05-09T06:56:03.967Z" + }, + "日志详情": { + "text": "日志详情", + "key": "t_0_1746776194126", + "translations": { + "zhCN": "日志详情", + "zhTW": "日誌詳情", + "enUS": "Log Details", + "jaJP": "ログの詳細", + "koKR": "로그 상세", + "ruRU": "Детали журнала", + "ptBR": "Detalhes do Log", + "frFR": "Détails du journal", + "esAR": "Detalles del registro", + "arDZ": "تفاصيل السجل" + }, + "timestamp": "2025-05-09T07:36:38.156Z" + }, + "加载日志失败:": { + "text": "加载日志失败:", + "key": "t_1_1746776198156", + "translations": { + "zhCN": "加载日志失败:", + "zhTW": "載入日誌失敗:", + "enUS": "Failed to load log:", + "jaJP": "ロードログ失敗:", + "koKR": "로그 로드 실패:", + "ruRU": "Не удалось загрузить журнал:", + "ptBR": "Falha ao carregar o log:", + "frFR": "Échec du chargement du journal :", + "esAR": "Error al cargar el registro:", + "arDZ": "فشل تحميل السجل:" + }, + "timestamp": "2025-05-09T07:36:38.157Z" + }, + "下载日志": { + "text": "下载日志", + "key": "t_2_1746776194263", + "translations": { + "zhCN": "下载日志", + "zhTW": "下載日誌", + "enUS": "Download log", + "jaJP": "ログをダウンロード", + "koKR": "로그 다운로드", + "ruRU": "Скачать журнал", + "ptBR": "Baixar registro", + "frFR": "Télécharger le journal", + "esAR": "Descargar registro", + "arDZ": "تنزيل السجل" + }, + "timestamp": "2025-05-09T07:36:38.157Z" + }, + "暂无日志信息": { + "text": "暂无日志信息", + "key": "t_3_1746776195004", + "translations": { + "zhCN": "暂无日志信息", + "zhTW": "暫無日誌資訊", + "enUS": "No log information", + "jaJP": "ログ情報がありません", + "koKR": "로그 정보 없음", + "ruRU": "Нет информации в журнале", + "ptBR": "Sem informações de log", + "frFR": "Aucune information de journal", + "esAR": "Sin información de registro", + "arDZ": "لا توجد معلومات السجل" + }, + "timestamp": "2025-05-09T07:36:38.157Z" + }, + "自动化任务": { + "text": "自动化任务", + "key": "t_0_1746782379424", + "translations": { + "zhCN": "自动化任务", + "zhTW": "自動化任務", + "enUS": "Automated tasks", + "jaJP": "自動化タスク", + "koKR": "자동화 작업", + "ruRU": "Автоматизированные задачи", + "ptBR": "Tarefas automatizadas", + "frFR": "Tâches automatisées", + "esAR": "Tareas automatizadas", + "arDZ": "المهام الآلية" + }, + "timestamp": "2025-05-09T09:19:39.424Z" + }, + "请选择主机提供商": { + "text": "请选择主机提供商", + "key": "t_0_1746858920894", + "translations": { + "zhCN": "请选择主机提供商", + "zhTW": "請選擇主機提供商", + "enUS": "Please select a hosting provider", + "jaJP": "ホスティングプロバイダーを選択してください", + "koKR": "호스팅 제공자를 선택하십시오", + "ruRU": "Пожалуйста, выберите хостинг-провайдера", + "ptBR": "Por favor, selecione um provedor de hospedagem", + "frFR": "Veuillez sélectionner un hébergeur", + "esAR": "Por favor, seleccione un proveedor de alojamiento", + "arDZ": "يرجى اختيار موفر الاستضافة" + }, + "timestamp": "2025-05-10T06:35:23.964Z" + }, + "DNS提供商列表为空,请添加": { + "text": "DNS提供商列表为空,请添加", + "key": "t_1_1746858922914", + "translations": { + "zhCN": "DNS提供商列表为空,请添加", + "zhTW": "DNS提供商列表為空,請添加", + "enUS": "The DNS provider list is empty, please add", + "jaJP": "DNSプロバイダーリストが空です、追加してください", + "koKR": "DNS 공급자 목록이 비어 있습니다. 추가해 주세요", + "ruRU": "Список DNS-провайдеров пуст, пожалуйста, добавьте", + "ptBR": "A lista de provedores DNS está vazia, por favor adicione", + "frFR": "La liste des fournisseurs DNS est vide, veuillez ajouter", + "esAR": "La lista de proveedores DNS está vacía, por favor agregue", + "arDZ": "قائمة موفري DNS فارغة، يرجى الإضافة" + }, + "timestamp": "2025-05-10T06:35:23.965Z" + }, + "主机提供商列表为空,请添加": { + "text": "主机提供商列表为空,请添加", + "key": "t_2_1746858923964", + "translations": { + "zhCN": "主机提供商列表为空,请添加", + "zhTW": "主機供應商列表為空,請添加", + "enUS": "The list of hosting providers is empty, please add", + "jaJP": "ホスティングプロバイダーのリストが空です、追加してください", + "koKR": "호스팅 제공자 목록이 비어 있습니다. 추가해 주세요", + "ruRU": "Список хостинг-провайдеров пуст, добавьте", + "ptBR": "A lista de provedores de hospedagem está vazia, adicione", + "frFR": "La liste des fournisseurs d'hébergement est vide, veuillez ajouter", + "esAR": "La lista de proveedores de alojamiento está vacía, agregue", + "arDZ": "قائمة مزودي الاستضافة فارغة، يرجى الإضافة" + }, + "timestamp": "2025-05-10T06:35:23.965Z" + }, + "添加主机提供商": { + "text": "添加主机提供商", + "key": "t_3_1746858920060", + "translations": { + "zhCN": "添加主机提供商", + "zhTW": "新增主機提供商", + "enUS": "Add host provider", + "jaJP": "ホストプロバイダーを追加", + "koKR": "호스트 공급자 추가", + "ruRU": "Добавить поставщика хоста", + "ptBR": "Adicionar provedor de hospedagem", + "frFR": "Ajouter un fournisseur d'hébergement", + "esAR": "Agregar proveedor de alojamiento", + "arDZ": "إضافة مزود استضافة" + }, + "timestamp": "2025-05-10T06:35:23.965Z" + }, + "已选择": { + "text": "已选择", + "key": "t_4_1746858917773", + "translations": { + "zhCN": "已选择", + "zhTW": "已選擇", + "enUS": "Selected", + "jaJP": "選択済み", + "koKR": "선택됨", + "ruRU": "Выбрано", + "ptBR": "Selecionado", + "frFR": "Sélectionné", + "esAR": "Seleccionado", + "arDZ": "محدد" + }, + "timestamp": "2025-05-10T06:35:23.965Z" + }, + "请选择主机提供商{0}": { + "text": "请选择主机提供商{0}", + "key": "t_0_1747019621052", + "translations": { + "zhCN": "请选择主机提供商{0}", + "zhTW": "請選擇主機提供商{0}", + "enUS": "Please select a host provider{0}", + "jaJP": "ホストプロバイダーを選択してください{0}", + "koKR": "호스트 공급자를 선택하세요{0}", + "ruRU": "Выберите поставщика хоста{0}", + "ptBR": "Selecione um provedor de hospedagem{0}", + "frFR": "Veuillez choisir un fournisseur d'hébergement{0}", + "esAR": "Seleccione un proveedor de alojamiento{0}", + "arDZ": "الرجاء اختيار مزود استضافة{0}" + }, + "timestamp": "2025-05-12T03:13:44.067Z" + }, + "点击设置网站监控,掌握实时状态": { + "text": "点击设置网站监控,掌握实时状态", + "key": "t_1_1747019624067", + "translations": { + "zhCN": "点击设置网站监控,掌握实时状态", + "zhTW": "點擊設置網站監控,掌握實時狀態", + "enUS": "Click to set up website monitoring and grasp real-time status", + "jaJP": "クリックしてウェブサイト監視を設定し、リアルタイム状態を把握する", + "koKR": "클릭하여 웹사이트 모니터링을 설정하고 실시간 상태를 파악하세요", + "ruRU": "Нажмите, чтобы настроить мониторинг веб-сайта и следить за состоянием в реальном времени", + "ptBR": "Clique para configurar o monitoramento do site e acompanhar o status em tempo real", + "frFR": "Cliquez pour configurer la surveillance du site et suivre l'état en temps réel", + "esAR": "Haz clic para configurar el monitoreo del sitio web y conocer el estado en tiempo real", + "arDZ": "انقر لضبط مراقبة الموقع وفهم الحالة في الوقت الحقيقي" + }, + "timestamp": "2025-05-12T03:13:44.070Z" + }, + "阿里云": { + "text": "阿里云", + "key": "t_2_1747019616224", + "translations": { + "zhCN": "阿里云", + "zhTW": "阿里雲", + "enUS": "Alibaba Cloud", + "jaJP": "アリババクラウド", + "koKR": "알리바바 클라우드", + "ruRU": "Alibaba Cloud", + "ptBR": "Alibaba Cloud", + "frFR": "Alibaba Cloud", + "esAR": "Alibaba Cloud", + "arDZ": "علي بابا كلاود" + }, + "timestamp": "2025-05-12T03:13:44.070Z" + }, + "腾讯云": { + "text": "腾讯云", + "key": "t_3_1747019616129", + "translations": { + "zhCN": "腾讯云", + "zhTW": "騰訊雲", + "enUS": "Tencent Cloud", + "jaJP": "テンセントクラウド", + "koKR": "텐센트 클라우드", + "ruRU": "Tencent Cloud", + "ptBR": "Tencent Cloud", + "frFR": "Tencent Cloud", + "esAR": "Tencent Cloud", + "arDZ": "تينسنت كلاود" + }, + "timestamp": "2025-05-12T03:13:44.070Z" + }, + "多域名请使用英文逗号分隔,例如:test.com,test.cn": { + "text": "多域名请使用英文逗号分隔,例如:test.com,test.cn", + "key": "t_0_1747040228657", + "translations": { + "zhCN": "多域名请使用英文逗号分隔,例如:test.com,test.cn", + "zhTW": "多域名請使用英文逗號分隔,例如:test.com,test.cn", + "enUS": "For multiple domains, please use English commas to separate them, for example: test.com,test.cn", + "jaJP": "複数のドメインは英語のカンマで区切ってください。例:test.com,test.cn", + "koKR": "여러 도메인은 영어 쉼표로 구분하십시오. 예: test.com,test.cn", + "ruRU": "Для нескольких доменов используйте английские запятые для разделения, например: test.com,test.cn", + "ptBR": "Para vários domínios, use vírgulas em inglês para separá-los, por exemplo: test.com,test.cn", + "frFR": "Pour plusieurs domaines, veuillez utiliser des virgules anglaises pour les séparer, par exemple : test.com,test.cn", + "esAR": "Para múltiples dominios, utilice comas en inglés para separarlos, por ejemplo: test.com,test.cn", + "arDZ": "للمجالات المتعددة، يرجى استخدام فواصل إنجليزية لفصلها، على سبيل المثال: test.com,test.cn" + }, + "timestamp": "2025-05-12T08:57:08.657Z" + }, + "泛域名请使用*号,例如:*.test.com": { + "text": "泛域名请使用*号,例如:*.test.com", + "key": "t_1_1747040226143", + "translations": { + "zhCN": "泛域名请使用*号,例如:*.test.com", + "zhTW": "泛網域請使用*號,例如:*.test.com", + "enUS": "For wildcard domains, use an asterisk *, for example: *.test.com", + "jaJP": "ワイルドカードドメインにはアスタリスク*を使用してください。例:*.test.com", + "koKR": "와일드카드 도메인에는 별표 *를 사용하세요. 예: *.test.com", + "ruRU": "Для подстановочных доменов используйте звездочку *, например: *.test.com", + "ptBR": "Para domínios curinga, use um asterisco *, por exemplo: *.test.com", + "frFR": "Pour les domaines génériques, utilisez un astérisque *, par exemple : *.test.com", + "esAR": "Para dominios comodín, use un asterisco *, por ejemplo: *.test.com", + "arDZ": "للمجالات العامة، استخدم علامة النجمة *، على سبيل المثال: *.test.com" + }, + "timestamp": "2025-05-12T08:57:08.658Z" + }, + "请输入正确的Cloudflare API密钥": { + "text": "请输入正确的Cloudflare API密钥", + "key": "t_0_1747042966820", + "translations": { + "zhCN": "请输入正确的Cloudflare API密钥", + "zhTW": "請輸入正確的Cloudflare API密鑰", + "enUS": "Please enter the correct Cloudflare API key", + "jaJP": "正しいCloudflare APIキーを入力してください", + "koKR": "올바른 Cloudflare API 키를 입력하세요", + "ruRU": "Пожалуйста, введите правильный API-ключ Cloudflare", + "ptBR": "Por favor, insira a chave de API correta do Cloudflare", + "frFR": "Veuillez entrer la clé API Cloudflare correcte", + "esAR": "Por favor, ingrese la clave API correcta de Cloudflare", + "arDZ": "الرجاء إدخال مفتاح Cloudflare API الصحيح" + }, + "timestamp": "2025-05-12T09:42:49.705Z" + }, + "请输入正确的宝塔API密钥": { + "text": "请输入正确的宝塔API密钥", + "key": "t_1_1747042969705", + "translations": { + "zhCN": "请输入正确的宝塔API密钥", + "zhTW": "請輸入正確的寶塔API密鑰", + "enUS": "Please enter the correct BT-Panel API key", + "jaJP": "正しい宝塔APIキーを入力してください", + "koKR": "올바른 보타(BT) API 키를 입력하세요", + "ruRU": "Пожалуйста, введите правильный API-ключ BT-Panel", + "ptBR": "Por favor, insira a chave de API correta do BT-Panel", + "frFR": "Veuillez entrer la clé API correcte de BT-Panel", + "esAR": "Por favor, ingrese la clave API correcta de BT-Panel", + "arDZ": "يرجى إدخال مفتاح API الصحيح لـ BT-Panel" + }, + "timestamp": "2025-05-12T09:42:49.706Z" + }, + "请输入正确的腾讯云SecretKey": { + "text": "请输入正确的腾讯云SecretKey", + "key": "t_2_1747042967277", + "translations": { + "zhCN": "请输入正确的腾讯云SecretKey", + "zhTW": "請輸入正確的騰訊雲SecretKey", + "enUS": "Please enter the correct Tencent Cloud SecretKey", + "jaJP": "正しいTencent Cloud SecretKeyを入力してください", + "koKR": "올바른 Tencent Cloud SecretKey를 입력하세요", + "ruRU": "Пожалуйста, введите правильный SecretKey от Tencent Cloud", + "ptBR": "Por favor, insira o SecretKey correto do Tencent Cloud", + "frFR": "Veuillez entrer le bon SecretKey de Tencent Cloud", + "esAR": "Por favor, ingrese el SecretKey correcto de Tencent Cloud", + "arDZ": "الرجاء إدخال SecretKey الصحيح لـ Tencent Cloud" + }, + "timestamp": "2025-05-12T09:42:49.706Z" + }, + "请输入正确的华为云SecretKey": { + "text": "请输入正确的华为云SecretKey", + "key": "t_3_1747042967608", + "translations": { + "zhCN": "请输入正确的华为云SecretKey", + "zhTW": "請輸入正確的華為雲SecretKey", + "enUS": "Please enter the correct Huawei Cloud SecretKey", + "jaJP": "正しいHuawei Cloud SecretKeyを入力してください", + "koKR": "정확한 Huawei Cloud SecretKey를 입력하세요", + "ruRU": "Пожалуйста, введите правильный Huawei Cloud SecretKey", + "ptBR": "Por favor, insira o SecretKey correto da Huawei Cloud", + "frFR": "Veuillez entrer la bonne clé secrète Huawei Cloud", + "esAR": "Por favor, ingrese el SecretKey correcto de Huawei Cloud", + "arDZ": "الرجاء إدخال Huawei Cloud SecretKey الصحيح" + }, + "timestamp": "2025-05-12T09:42:49.706Z" + }, + "请输入华为云AccessKey": { + "text": "请输入华为云AccessKey", + "key": "t_4_1747042966254", + "translations": { + "zhCN": "请输入华为云AccessKey", + "zhTW": "請輸入華為雲AccessKey", + "enUS": "Please enter Huawei Cloud AccessKey", + "jaJP": "Huawei Cloud AccessKeyを入力してください", + "koKR": "Huawei Cloud AccessKey를 입력하십시오", + "ruRU": "Пожалуйста, введите Huawei Cloud AccessKey", + "ptBR": "Por favor, insira o AccessKey da Huawei Cloud", + "frFR": "Veuillez saisir la clé d'accès Huawei Cloud", + "esAR": "Por favor ingrese el AccessKey de Huawei Cloud", + "arDZ": "الرجاء إدخال مفتاح الوصول Huawei Cloud" + }, + "timestamp": "2025-05-12T09:42:49.706Z" + }, + "请输入正确的邮箱账号": { + "text": "请输入正确的邮箱账号", + "key": "t_5_1747042965911", + "translations": { + "zhCN": "请输入正确的邮箱账号", + "zhTW": "請輸入正確的郵箱賬號", + "enUS": "Please enter the correct email account", + "jaJP": "正しいメールアカウントを入力してください", + "koKR": "올바른 이메일 계정을 입력하세요", + "ruRU": "Пожалуйста, введите правильный адрес электронной почты", + "ptBR": "Por favor, insira a conta de email correta", + "frFR": "Veuillez entrer le bon compte email", + "esAR": "Por favor, ingrese la cuenta de correo electrónico correcta", + "arDZ": "الرجاء إدخال حساب البريد الإلكتروني الصحيح" + }, + "timestamp": "2025-05-12T09:42:49.706Z" + }, + "添加自动化部署": { + "text": "添加自动化部署", + "key": "t_0_1747047213730", + "translations": { + "zhCN": "添加自动化部署", + "zhTW": "添加自動化部署", + "enUS": "Add automated deployment", + "jaJP": "自動デプロイの追加", + "koKR": "자동 배포 추가", + "ruRU": "Добавить автоматическое развертывание", + "ptBR": "Adicionar implantação automatizada", + "frFR": "Ajouter un déploiement automatisé", + "esAR": "Agregar despliegue automatizado", + "arDZ": "إضافة النشر الآلي" + }, + "timestamp": "2025-05-12T10:53:38.669Z" + }, + "添加证书": { + "text": "添加证书", + "key": "t_1_1747047213009", + "translations": { + "zhCN": "添加证书", + "zhTW": "添加證書", + "enUS": "Add certificate", + "jaJP": "証明書を追加", + "koKR": "인증서 추가", + "ruRU": "Добавить сертификат", + "ptBR": "Adicionar certificado", + "frFR": "Ajouter un certificat", + "esAR": "Agregar certificado", + "arDZ": "إضافة شهادة" + }, + "timestamp": "2025-05-12T10:53:38.672Z" + }, + "AllinSSL 证书管理平台": { + "text": "AllinSSL 证书管理平台", + "key": "t_2_1747047214975", + "translations": { + "zhCN": "AllinSSL 证书管理平台", + "zhTW": "SSL證書管理平臺", + "enUS": "SSL Certificate Management Platform", + "jaJP": "SSL証明書管理プラットフォーム", + "koKR": "SSL 인증서 관리 플랫폼", + "ruRU": "Платформа управления SSL-сертификатами", + "ptBR": "Plataforma de Gerenciamento de Certificados SSL", + "frFR": "Plateforme de Gestion de Certificats SSL", + "esAR": "Plataforma de Gestión de Certificados SSL", + "arDZ": "منصة إدارة شهادات SSL" + }, + "timestamp": "2025-05-12T10:53:38.672Z" + }, + "域名格式错误,请检查域名格式": { + "text": "域名格式错误,请检查域名格式", + "key": "t_3_1747047218669", + "translations": { + "zhCN": "域名格式错误,请检查域名格式", + "zhTW": "域名格式錯誤,請檢查域名格式", + "enUS": "Domain format error, please check the domain format", + "jaJP": "ドメイン形式が間違っています、ドメイン形式を確認してください", + "koKR": "도메인 형식 오류, 도메인 형식을 확인하세요", + "ruRU": "Ошибка формата домена, проверьте формат домена", + "ptBR": "Erro de formato de domínio, verifique o formato do domínio", + "frFR": "Erreur de format de domaine, vérifiez le format du domaine", + "esAR": "Error de formato de dominio, verifique el formato del dominio", + "arDZ": "خطأ في تنسيق النطاق، يرجى التحقق من تنسيق النطاق" + }, + "timestamp": "2025-05-12T10:53:38.672Z" + }, + "DNS 递归服务器(可选)": { + "text": "DNS 递归服务器(可选)", + "key": "t_0_1747106957037", + "translations": { + "zhCN": "DNS 递归服务器(可选)", + "zhTW": "DNS 遞迴伺服器(可選)", + "enUS": "DNS recursive server (optional)", + "jaJP": "DNS再帰サーバー(オプション)", + "koKR": "DNS 재귀 서버 (선택 사항)", + "ruRU": "Рекурсивный DNS-сервер (опционально)", + "ptBR": "Servidor recursivo DNS (opcional)", + "frFR": "Serveur DNS récursif (facultatif)", + "esAR": "Servidor DNS recursivo (opcional)", + "arDZ": "خادم DNS العودي (اختياري)" + }, + "timestamp": "2025-05-13T03:29:21.747Z" + }, + "请输入 DNS 递归服务器(多个值请用,隔开)": { + "text": "请输入 DNS 递归服务器(多个值请用,隔开)", + "key": "t_1_1747106961747", + "translations": { + "zhCN": "请输入 DNS 递归服务器(多个值请用,隔开)", + "zhTW": "請輸入 DNS 遞歸服務器(多個值請用,隔開)", + "enUS": "Please enter DNS recursive servers (use commas to separate multiple values)", + "jaJP": "DNS 再帰サーバーを入力してください(複数の値は,で区切ってください)", + "koKR": "DNS 재귀 서버를 입력하십시오 (여러 값은 쉼표로 구분하십시오)", + "ruRU": "Введите рекурсивные DNS-серверы (разделяйте несколько значений запятыми)", + "ptBR": "Digite os servidores DNS recursivos (use vírgulas para separar vários valores)", + "frFR": "Saisissez les serveurs DNS récursifs (séparez plusieurs valeurs par des virgules)", + "esAR": "Ingrese los servidores DNS recursivos (separe varios valores con comas)", + "arDZ": "أدخل خوادم DNS العودية (استخدم الفواصل لفصل القيم المتعددة)" + }, + "timestamp": "2025-05-13T03:29:21.752Z" + }, + "跳过本地预检查": { + "text": "跳过本地预检查", + "key": "t_2_1747106957037", + "translations": { + "zhCN": "跳过本地预检查", + "zhTW": "跳過本地預檢查", + "enUS": "Skip local pre-check", + "jaJP": "ローカル事前チェックをスキップ", + "koKR": "로컬 사전 확인 건너뛰기", + "ruRU": "Пропустить локальную предварительную проверку", + "ptBR": "Ignorar verificação prévia local", + "frFR": "Ignorer la vérification préalable locale", + "esAR": "Omitir la comprobación previa local", + "arDZ": "تخطي الفحص المسبق المحلي" + }, + "timestamp": "2025-05-13T03:29:21.752Z" + }, + "选择证书": { + "text": "选择证书", + "key": "t_0_1747110184700", + "translations": { + "zhCN": "选择证书", + "zhTW": "選擇證書", + "enUS": "Select certificate", + "jaJP": "証明書を選択", + "koKR": "인증서 선택", + "ruRU": "Выбор сертификата", + "ptBR": "Selecionar certificado", + "frFR": "Sélectionner le certificat", + "esAR": "Seleccionar certificado", + "arDZ": "اختيار الشهادة" + }, + "timestamp": "2025-05-13T04:23:13.465Z" + }, + "如果需要修改证书内容与密钥,请选择自定义证书": { + "text": "如果需要修改证书内容与密钥,请选择自定义证书", + "key": "t_1_1747110191587", + "translations": { + "zhCN": "如果需要修改证书内容与密钥,请选择自定义证书", + "zhTW": "如果需要修改證書內容與密鑰,請選擇自定義證書", + "enUS": "If you need to modify the certificate content and key, please choose a custom certificate", + "jaJP": "証明書の内容とキーを変更する必要がある場合は、カスタム証明書を選択してください", + "koKR": "인증서 내용과 키를 수정해야 하는 경우 사용자 정의 인증서를 선택하십시오", + "ruRU": "Если вам нужно изменить содержимое сертификата и ключ, выберите пользовательский сертификат", + "ptBR": "Se precisar modificar o conteúdo do certificado e a chave, escolha um certificado personalizado", + "frFR": "Si vous devez modifier le contenu du certificat et la clé, choisissez un certificat personnalisé", + "esAR": "Si necesita modificar el contenido del certificado y la clave, elija un certificado personalizado", + "arDZ": "إذا كنت بحاجة إلى تعديل محتوى الشهادة والمفتاح، فاختر شهادة مخصصة" + }, + "timestamp": "2025-05-13T04:23:13.468Z" + }, + "当选择非自定义证书时,证书内容与密钥均不可修改": { + "text": "当选择非自定义证书时,证书内容与密钥均不可修改", + "key": "t_2_1747110193465", + "translations": { + "zhCN": "当选择非自定义证书时,证书内容与密钥均不可修改", + "zhTW": "當選擇非自訂憑證時,憑證內容與金鑰均不可修改", + "enUS": "When a non-custom certificate is selected, neither the certificate content nor the key can be modified", + "jaJP": "非カスタム証明書を選択した場合、証明書の内容とキーはどちらも変更できません", + "koKR": "사용자 정의 인증서가 아닌 것을 선택하면 인증서 내용과 키 모두 수정할 수 없습니다", + "ruRU": "При выборе нестандартного сертификата ни содержание сертификата, ни ключ нельзя изменить", + "ptBR": "Quando um certificado não personalizado é selecionado, nem o conteúdo do certificado nem a chave podem ser modificados", + "frFR": "Lorsqu'un certificat non personnalisé est sélectionné, ni le contenu du certificat ni la clé ne peuvent être modifiés", + "esAR": "Cuando se selecciona un certificado no personalizado, ni el contenido del certificado ni la clave se pueden modificar", + "arDZ": "عند اختيار شهادة غير مخصصة، لا يمكن تعديل محتوى الشهادة أو المفتاح" + }, + "timestamp": "2025-05-13T04:23:13.468Z" + }, + "上传并提交": { + "text": "上传并提交", + "key": "t_3_1747110185110", + "translations": { + "zhCN": "上传并提交", + "zhTW": "上傳並提交", + "enUS": "Upload and submit", + "jaJP": "アップロードして提出", + "koKR": "업로드 및 제출", + "ruRU": "Загрузить и отправить", + "ptBR": "Enviar e submeter", + "frFR": "Télécharger et soumettre", + "esAR": "Subir y enviar", + "arDZ": "تحميل وتقديم" + }, + "timestamp": "2025-05-13T04:23:13.468Z" + }, + "宝塔WAF网站": { + "text": "宝塔WAF网站", + "key": "t_0_1747215751189", + "translations": { + "zhCN": "宝塔WAF网站", + "zhTW": "寶塔WAF網站", + "enUS": "Pagoda WAF Website", + "jaJP": "宝塔WAFウェブサイト", + "koKR": "보타 WAF 웹사이트", + "ruRU": "Веб-сайт Pagoda WAF", + "ptBR": "Site do Pagoda WAF", + "frFR": "Site Web Pagoda WAF", + "esAR": "Sitio web de Pagoda WAF", + "arDZ": "موقع ويف باغودا" + }, + "timestamp": "2025-05-14T09:42:31.189Z" + }, + "宝塔WAF-URL地址格式错误": { + "text": "宝塔WAF-URL地址格式错误", + "key": "t_0_1747271295174", + "translations": { + "zhCN": "宝塔WAF-URL地址格式错误", + "zhTW": "寶塔WAF-URL地址格式錯誤", + "enUS": "Pagoda WAF - URL format error", + "jaJP": "Pagoda WAF - URL形式エラー", + "koKR": "Pagoda WAF - URL 형식 오류", + "ruRU": "Pagoda WAF - Ошибка формата URL", + "ptBR": "Pagoda WAF - Erro de formato de URL", + "frFR": "Pagoda WAF - Erreur de format d'URL", + "esAR": "Pagoda WAF - Error de formato de URL", + "arDZ": "Pagoda WAF - خطأ في تنسيق URL" + }, + "timestamp": "2025-05-15T01:08:16.995Z" + }, + "请输入宝塔WAF-API密钥": { + "text": "请输入宝塔WAF-API密钥", + "key": "t_1_1747271295484", + "translations": { + "zhCN": "请输入宝塔WAF-API密钥", + "zhTW": "請輸入寶塔WAF-API金鑰", + "enUS": "Please enter the Pagoda WAF-API key", + "jaJP": "宝塔WAF-APIキーを入力してください", + "koKR": "파고다 WAF-API 키를 입력하세요", + "ruRU": "Пожалуйста, введите ключ Pagoda WAF-API", + "ptBR": "Por favor, insira a chave Pagoda WAF-API", + "frFR": "Veuillez saisir la clé Pagoda WAF-API", + "esAR": "Por favor, introduzca la clave Pagoda WAF-API", + "arDZ": "الرجاء إدخال مفتاح Pagoda WAF-API" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "请输入正确的华为云AccessKey": { + "text": "请输入正确的华为云AccessKey", + "key": "t_2_1747271295877", + "translations": { + "zhCN": "请输入正确的华为云AccessKey", + "zhTW": "請輸入正確的華為雲AccessKey", + "enUS": "Please enter the correct Huawei Cloud AccessKey", + "jaJP": "正しいHuaweiクラウドAccessKeyを入力してください", + "koKR": "올바른 Huawei 클라우드 AccessKey를 입력하세요", + "ruRU": "Пожалуйста, введите правильный AccessKey Huawei Cloud", + "ptBR": "Por favor, insira o AccessKey correto da Huawei Cloud", + "frFR": "Veuillez saisir le bon AccessKey Huawei Cloud", + "esAR": "Por favor ingrese el AccessKey correcto de Huawei Cloud", + "arDZ": "الرجاء إدخال AccessKey الصحيح لـ Huawei Cloud" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "请输入正确的百度云AccessKey": { + "text": "请输入正确的百度云AccessKey", + "key": "t_3_1747271294475", + "translations": { + "zhCN": "请输入正确的百度云AccessKey", + "zhTW": "請輸入正確的百度雲AccessKey", + "enUS": "Please enter the correct Baidu Cloud AccessKey", + "jaJP": "正しい百度クラウドのAccessKeyを入力してください", + "koKR": "올바른 바이두 클라우드 AccessKey를 입력하세요", + "ruRU": "Пожалуйста, введите правильный Baidu Cloud AccessKey", + "ptBR": "Por favor, insira o Baidu Cloud AccessKey correto", + "frFR": "Veuillez saisir le bon Baidu Cloud AccessKey", + "esAR": "Por favor, ingrese el Baidu Cloud AccessKey correcto", + "arDZ": "يرجى إدخال Baidu Cloud AccessKey الصحيح" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "请输入正确的百度云SecretKey": { + "text": "请输入正确的百度云SecretKey", + "key": "t_4_1747271294621", + "translations": { + "zhCN": "请输入正确的百度云SecretKey", + "zhTW": "請輸入正確的百度雲SecretKey", + "enUS": "Please enter the correct Baidu Cloud SecretKey", + "jaJP": "正しい百度クラウドのSecretKeyを入力してください", + "koKR": "올바른 바이두 클라우드 SecretKey를 입력하세요", + "ruRU": "Пожалуйста, введите правильный SecretKey Baidu Cloud", + "ptBR": "Por favor, insira o SecretKey correto do Baidu Cloud", + "frFR": "Veuillez entrer le bon SecretKey de Baidu Cloud", + "esAR": "Por favor, ingrese el SecretKey correcto de Baidu Cloud", + "arDZ": "الرجاء إدخال SecretKey الصحيح لـ Baidu Cloud" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "宝塔WAF-URL": { + "text": "宝塔WAF-URL", + "key": "t_5_1747271291828", + "translations": { + "zhCN": "宝塔WAF-URL", + "zhTW": "寶塔WAF-URL", + "enUS": "Baota WAF-URL", + "jaJP": "宝塔WAF-URL", + "koKR": "보타 WAF-URL", + "ruRU": "Баота WAF-URL", + "ptBR": "Baota WAF-URL", + "frFR": "Baota WAF-URL", + "esAR": "Baota WAF-URL", + "arDZ": "باوتا WAF-URL" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "本机部署": { + "text": "本机部署", + "key": "t_6_1747271296994", + "translations": { + "zhCN": "本机部署", + "zhTW": "本機部署", + "enUS": "Local Deployment", + "jaJP": "ローカルデプロイ", + "koKR": "로컬 배포", + "ruRU": "Локальное развертывание", + "ptBR": "Implantação Local", + "frFR": "Déploiement Local", + "esAR": "Despliegue Local", + "arDZ": "النشر المحلي" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "全部来源": { + "text": "全部来源", + "key": "t_7_1747271292060", + "translations": { + "zhCN": "全部来源", + "zhTW": "全部來源", + "enUS": "All sources", + "jaJP": "すべてのソース", + "koKR": "모든 출처", + "ruRU": "Все источники", + "ptBR": "Todas as fontes", + "frFR": "Toutes les sources", + "esAR": "Todas las fuentes", + "arDZ": "جميع المصادر" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "宝塔": { + "text": "宝塔", + "key": "t_8_1747271290414", + "translations": { + "zhCN": "宝塔", + "zhTW": "寶塔", + "enUS": "Pagoda", + "jaJP": "パゴダ", + "koKR": "탑", + "ruRU": "Пагода", + "ptBR": "Pagode", + "frFR": "Pagode", + "esAR": "Pagoda", + "arDZ": "باغودة" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "1Panel": { + "text": "1Panel", + "key": "t_9_1747271284765", + "translations": { + "zhCN": "1Panel", + "zhTW": "1Panel", + "enUS": "1Panel", + "jaJP": "1Panel", + "koKR": "1Panel", + "ruRU": "1Panel", + "ptBR": "1Panel", + "frFR": "1Panel", + "esAR": "1Panel", + "arDZ": "1Panel" + }, + "timestamp": "2025-05-15T01:08:16.997Z" + }, + "SMTP端口禁止修改": { + "text": "SMTP端口禁止修改", + "key": "t_0_1747280814475", + "translations": { + "zhCN": "SMTP端口禁止修改", + "zhTW": "SMTP端口禁止修改", + "enUS": "SMTP port modification is prohibited", + "jaJP": "SMTPポートの変更は禁止されています", + "koKR": "SMTP 포트 수정은 금지됩니다", + "ruRU": "Изменение порта SMTP запрещено", + "ptBR": "A modificação da porta SMTP é proibida", + "frFR": "La modification du port SMTP est interdite", + "esAR": "La modificación del puerto SMTP está prohibida", + "arDZ": "تعديل منفذ SMTP ممنوع" + }, + "timestamp": "2025-05-15T03:46:56.952Z" + }, + "证书文件路径(仅支持PEM格式)": { + "text": "证书文件路径(仅支持PEM格式)", + "key": "t_1_1747280813656", + "translations": { + "zhCN": "证书文件路径(仅支持PEM格式)", + "zhTW": "證書文件路徑(僅支持PEM格式)", + "enUS": "Certificate file path (PEM format only)", + "jaJP": "証明書ファイルのパス(PEM形式のみ対応)", + "koKR": "인증서 파일 경로(PEM 형식만 지원)", + "ruRU": "Путь к файлу сертификата (только в формате PEM)", + "ptBR": "Caminho do arquivo de certificado (somente formato PEM)", + "frFR": "Chemin du fichier de certificat (format PEM uniquement)", + "esAR": "Ruta del archivo de certificado (solo formato PEM)", + "arDZ": "مسار ملف الشهادة (يدعم تنسيق PEM فقط)" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "私钥文件路径": { + "text": "私钥文件路径", + "key": "t_2_1747280811593", + "translations": { + "zhCN": "私钥文件路径", + "zhTW": "私鑰文件路徑", + "enUS": "Private key file path", + "jaJP": "秘密鍵ファイルのパス", + "koKR": "개인 키 파일 경로", + "ruRU": "Путь к файлу закрытого ключа", + "ptBR": "Caminho do arquivo de chave privada", + "frFR": "Chemin du fichier de clé privée", + "esAR": "Ruta del archivo de clave privada", + "arDZ": "مسار ملف المفتاح الخاص" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "前置命令(可选)": { + "text": "前置命令(可选)", + "key": "t_3_1747280812067", + "translations": { + "zhCN": "前置命令(可选)", + "zhTW": "前置命令(可選)", + "enUS": "Pre-command (optional)", + "jaJP": "前置コマンド(オプション)", + "koKR": "프리 커맨드 (선택 사항)", + "ruRU": "Предварительная команда (необязательно)", + "ptBR": "Comando prévio (opcional)", + "frFR": "Commande préalable (facultative)", + "esAR": "Comando previo (opcional)", + "arDZ": "أمر مسبق (اختياري)" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "后置命令(可选)": { + "text": "后置命令(可选)", + "key": "t_4_1747280811462", + "translations": { + "zhCN": "后置命令(可选)", + "zhTW": "後置命令(可選)", + "enUS": "Post command (optional)", + "jaJP": "後置コマンド(オプション)", + "koKR": "후처리 명령 (선택 사항)", + "ruRU": "Посткоманда (опционально)", + "ptBR": "Comando pós (opcional)", + "frFR": "Commande postérieure (facultatif)", + "esAR": "Comando posterior (opcional)", + "arDZ": "أمر لاحق (اختياري)" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "站点ID": { + "text": "站点ID", + "key": "t_6_1747280809615", + "translations": { + "zhCN": "站点ID", + "zhTW": "站點ID", + "enUS": "Site ID", + "jaJP": "サイトID", + "koKR": "사이트 ID", + "ruRU": "ID сайта", + "ptBR": "ID do site", + "frFR": "ID du site", + "esAR": "ID del sitio", + "arDZ": "معرّف الموقع" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "区域": { + "text": "区域", + "key": "t_7_1747280808936", + "translations": { + "zhCN": "区域", + "zhTW": "區域", + "enUS": "Region", + "jaJP": "地域", + "koKR": "지역", + "ruRU": "Регион", + "ptBR": "Região", + "frFR": "Région", + "esAR": "Región", + "arDZ": "منطقة" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "存储桶": { + "text": "存储桶", + "key": "t_8_1747280809382", + "translations": { + "zhCN": "存储桶", + "zhTW": "儲存桶", + "enUS": "Bucket", + "jaJP": "バケット", + "koKR": "버킷", + "ruRU": "Ведро", + "ptBR": "Balde", + "frFR": "Seau", + "esAR": "Cubo", + "arDZ": "دلو" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "重复部署": { + "text": "重复部署", + "key": "t_9_1747280810169", + "translations": { + "zhCN": "重复部署", + "zhTW": "重複部署", + "enUS": "Repeated deployment", + "jaJP": "重複デプロイ", + "koKR": "반복 배포", + "ruRU": "Повторное развертывание", + "ptBR": "Implantações repetidas", + "frFR": "Déploiement répété", + "esAR": "Implementación repetida", + "arDZ": "نشر متكرر" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "当与上次部署的证书相同且上次部署成功时": { + "text": "当与上次部署的证书相同且上次部署成功时", + "key": "t_10_1747280816952", + "translations": { + "zhCN": "当与上次部署的证书相同且上次部署成功时", + "zhTW": "當與上次部署的證書相同且上次部署成功時", + "enUS": "When the certificate is the same as the last deployment and the last deployment was successful", + "jaJP": "前回の展開と同じ証明書で、前回の展開が成功した場合", + "koKR": "이전 배포와 동일한 인증서이며 이전 배포가 성공한 경우", + "ruRU": "Когда сертификат совпадает с последним развертыванием и последнее развертывание было успешным", + "ptBR": "Quando o certificado é o mesmo da última implantação e a última implantação foi bem-sucedida", + "frFR": "Lorsque le certificat est identique au dernier déploiement et que le dernier déploiement a réussi", + "esAR": "Cuando el certificado es el mismo que el último despliegue y el último despliegue fue exitoso", + "arDZ": "عندما يكون الشهادة هي نفسها كما في النشر الأخير وكان النشر الأخير ناجحًا" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "跳过": { + "text": "跳过", + "key": "t_11_1747280809178", + "translations": { + "zhCN": "跳过", + "zhTW": "跳過", + "enUS": "Skip", + "jaJP": "スキップ", + "koKR": "건너뛰기", + "ruRU": "Пропустить", + "ptBR": "Pular", + "frFR": "Passer", + "esAR": "Saltar", + "arDZ": "تخطي" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "不跳过": { + "text": "不跳过", + "key": "t_12_1747280809893", + "translations": { + "zhCN": "不跳过", + "zhTW": "不跳過", + "enUS": "Do not skip", + "jaJP": "スキップしない", + "koKR": "건너뛰지 않음", + "ruRU": "Не пропускать", + "ptBR": "Não pular", + "frFR": "Ne pas sauter", + "esAR": "No omitir", + "arDZ": "لا تتخطى" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "重新部署": { + "text": "重新部署", + "key": "t_13_1747280810369", + "translations": { + "zhCN": "重新部署", + "zhTW": "重新部署", + "enUS": "Re-deployment", + "jaJP": "再展開", + "koKR": "재배치", + "ruRU": "Повторное развертывание", + "ptBR": "Reimplantação", + "frFR": "Redéploiement", + "esAR": "Redespliegue", + "arDZ": "إعادة النشر" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "搜索部署类型": { + "text": "搜索部署类型", + "key": "t_14_1747280811231", + "translations": { + "zhCN": "搜索部署类型", + "zhTW": "搜尋部署類型", + "enUS": "Search deployment type", + "jaJP": "展開タイプを検索", + "koKR": "배포 유형 검색", + "ruRU": "Поиск типа развертывания", + "ptBR": "Pesquisar tipo de implantação", + "frFR": "Rechercher le type de déploiement", + "esAR": "Buscar tipo de implementación", + "arDZ": "بحث نوع النشر" + }, + "timestamp": "2025-05-15T03:46:56.953Z" + }, + "网站名": { + "text": "网站名", + "key": "t_0_1747296173751", + "translations": { + "zhCN": "网站名", + "zhTW": "網站名", + "enUS": "Website name", + "jaJP": "ウェブサイト名", + "koKR": "웹사이트 이름", + "ruRU": "Название сайта", + "ptBR": "Nome do site", + "frFR": "Nom du site", + "esAR": "Nombre del sitio", + "arDZ": "اسم الموقع" + }, + "timestamp": "2025-05-15T08:02:55.494Z" + }, + "请输入网址名": { + "text": "请输入网址名", + "key": "t_1_1747296175494", + "translations": { + "zhCN": "请输入网址名", + "zhTW": "請輸入網址名", + "enUS": "Please enter the website name", + "jaJP": "ウェブサイト名を入力してください", + "koKR": "웹사이트 이름을 입력하세요", + "ruRU": "Пожалуйста, введите название сайта", + "ptBR": "Por favor, insira o nome do site", + "frFR": "Veuillez entrer le nom du site Web", + "esAR": "Por favor ingrese el nombre del sitio web", + "arDZ": "الرجاء إدخال اسم الموقع" + }, + "timestamp": "2025-05-15T08:02:55.496Z" + }, + "雷池WAF站点": { + "text": "雷池WAF站点", + "key": "t_0_1747298114839", + "translations": { + "zhCN": "雷池WAF站点", + "zhTW": "雷池WAF站點", + "enUS": "Leichi WAF Site", + "jaJP": "雷池WAFサイト", + "koKR": "레이치 WAF 사이트", + "ruRU": "Сайт Leichi WAF", + "ptBR": "Site Leichi WAF", + "frFR": "Site Leichi WAF", + "esAR": "Sitio Leichi WAF", + "arDZ": "موقع Leichi WAF" + }, + "timestamp": "2025-05-15T08:35:14.839Z" + }, + "雷池WAF": { + "text": "雷池WAF", + "key": "t_1_1747298114192", + "translations": { + "zhCN": "雷池WAF", + "zhTW": "雷池WAF", + "enUS": "Leichi WAF", + "jaJP": "雷池WAF", + "koKR": "레이치 WAF", + "ruRU": "Лэйчи WAF", + "ptBR": "Leichi WAF", + "frFR": "Leichi WAF", + "esAR": "Leichi WAF", + "arDZ": "ليتشي WAF" + }, + "timestamp": "2025-05-15T08:35:14.841Z" + }, + "雷池WAF-URL地址格式错误": { + "text": "雷池WAF-URL地址格式错误", + "key": "t_0_1747300383756", + "translations": { + "zhCN": "雷池WAF-URL地址格式错误", + "zhTW": "雷池WAF-URL地址格式錯誤", + "enUS": "Leichi WAF - URL format error", + "jaJP": "雷池WAF - URL形式エラー", + "koKR": "레츠 WAF - URL 형식 오류", + "ruRU": "Leichi WAF - ошибка формата URL", + "ptBR": "Leichi WAF - erro de formato de URL", + "frFR": "Leichi WAF - erreur de format d'URL", + "esAR": "Leichi WAF - error de formato de URL", + "arDZ": "ليتشي WAF - خطأ في تنسيق عنوان URL" + }, + "timestamp": "2025-05-15T09:13:05.223Z" + }, + "请输入正确的宝塔WAF-API密钥": { + "text": "请输入正确的宝塔WAF-API密钥", + "key": "t_1_1747300384579", + "translations": { + "zhCN": "请输入正确的宝塔WAF-API密钥", + "zhTW": "請輸入正確的寶塔WAF-API密鑰", + "enUS": "Please enter the correct BT-WAF API key", + "jaJP": "正しいBT-WAF APIキーを入力してください", + "koKR": "올바른 BT-WAF API 키를 입력하십시오", + "ruRU": "Пожалуйста, введите правильный API-ключ BT-WAF", + "ptBR": "Por favor, insira a chave de API correta do BT-WAF", + "frFR": "Veuillez entrer la clé API correcte de BT-WAF", + "esAR": "Por favor, ingrese la clave API correcta de BT-WAF", + "arDZ": "الرجاء إدخال مفتاح BT-WAF الصحيح API" + }, + "timestamp": "2025-05-15T09:13:05.223Z" + }, + "请输入正确的雷池WAF-API密钥": { + "text": "请输入正确的雷池WAF-API密钥", + "key": "t_2_1747300385222", + "translations": { + "zhCN": "请输入正确的雷池WAF-API密钥", + "zhTW": "請輸入正確的雷池WAF-API密鑰", + "enUS": "Please enter the correct Leichi WAF-API key", + "jaJP": "正しい雷池WAF-APIキーを入力してください", + "koKR": "올바른 레이치 WAF-API 키를 입력하세요", + "ruRU": "Пожалуйста, введите правильный ключ Leichi WAF-API", + "ptBR": "Por favor, insira a chave correta do Leichi WAF-API", + "frFR": "Veuillez saisir la clé correcte de Leichi WAF-API", + "esAR": "Por favor, ingrese la clave correcta de Leichi WAF-API", + "arDZ": "الرجاء إدخال مفتاح Leichi WAF-API الصحيح" + }, + "timestamp": "2025-05-15T09:13:05.223Z" + }, + "请输入西部数码的用户名": { + "text": "请输入西部数码的用户名", + "key": "t_0_1747365600180", + "translations": { + "zhCN": "请输入西部数码的用户名", + "zhTW": "請輸入西部數碼的用戶名", + "enUS": "Please enter the Western Digital username", + "jaJP": "Western Digitalのユーザー名を入力してください", + "koKR": "Western Digital 사용자 이름을 입력하세요", + "ruRU": "Пожалуйста, введите имя пользователя Western Digital", + "ptBR": "Por favor, insira o nome de usuário da Western Digital", + "frFR": "Veuillez saisir le nom d'utilisateur Western Digital", + "esAR": "Por favor, ingrese el nombre de usuario de Western Digital", + "arDZ": "الرجاء إدخال اسم المستخدم Western Digital" + }, + "timestamp": "2025-05-16T03:20:03.108Z" + }, + "请输入西部数码的Password": { + "text": "请输入西部数码的Password", + "key": "t_1_1747365603108", + "translations": { + "zhCN": "请输入西部数码的密码", + "zhTW": "請輸入西部數碼的密碼", + "enUS": "Please enter the Western Digital password", + "jaJP": "ウェスタンデジタルのパスワードを入力してください", + "koKR": "웨스턴 디지털의 비밀번호를 입력하세요", + "ruRU": "Пожалуйста, введите пароль Western Digital", + "ptBR": "Por favor, insira a senha da Western Digital", + "frFR": "Veuillez entrer le mot de passe de Western Digital", + "esAR": "Por favor, ingrese la contraseña de Western Digital", + "arDZ": "الرجاء إدخال كلمة مرور ويسترن ديجيتال" + }, + "timestamp": "2025-05-16T03:20:03.108Z" + }, + "请输入火山引擎的AccessKey": { + "text": "请输入火山引擎的AccessKey", + "key": "t_3_1747365600828", + "translations": { + "zhCN": "请输入火山引擎的AccessKey", + "zhTW": "請輸入火山引擎的AccessKey", + "enUS": "Please enter the AccessKey of Volcano Engine", + "jaJP": "ボルケーノエンジンのAccessKeyを入力してください", + "koKR": "볼케이노 엔진의 AccessKey를 입력하세요", + "ruRU": "Пожалуйста, введите AccessKey Volcano Engine", + "ptBR": "Por favor, insira a AccessKey do Volcano Engine", + "frFR": "Veuillez saisir la clé d'accès du moteur Volcano", + "esAR": "Por favor ingrese la AccessKey de Volcano Engine", + "arDZ": "يرجى إدخال مفتاح الوصول AccessKey لمحرك Volcano" + }, + "timestamp": "2025-05-16T03:20:03.108Z" + }, + "请输入火山引擎的SecretKey": { + "text": "请输入火山引擎的SecretKey", + "key": "t_4_1747365600137", + "translations": { + "zhCN": "请输入火山引擎的SecretKey", + "zhTW": "請輸入火山引擎的SecretKey", + "enUS": "Please enter the SecretKey of Volcano Engine", + "jaJP": "火山エンジンのSecretKeyを入力してください", + "koKR": "볼케이노 엔진의 SecretKey를 입력하세요", + "ruRU": "Введите SecretKey Volcano Engine", + "ptBR": "Por favor, insira o SecretKey do Volcano Engine", + "frFR": "Veuillez entrer le SecretKey de Volcano Engine", + "esAR": "Por favor ingrese el SecretKey de Volcano Engine", + "arDZ": "الرجاء إدخال SecretKey لمحرك بركان" + }, + "timestamp": "2025-05-16T03:20:03.108Z" + }, + "宝塔docker站点": { + "text": "宝塔docker站点", + "key": "t_0_1747367069267", + "translations": { + "zhCN": "宝塔docker站点", + "zhTW": "寶塔docker站點", + "enUS": "Pagoda docker site", + "jaJP": "Pagoda dockerサイト", + "koKR": "Pagoda docker 사이트", + "ruRU": "Сайт Pagoda docker", + "ptBR": "Site Pagoda docker", + "frFR": "Site Pagoda docker", + "esAR": "Sitio Pagoda docker", + "arDZ": "موقع Pagoda docker" + }, + "timestamp": "2025-05-16T03:44:29.267Z" + }, + "请输入雷池的API Token": { + "text": "请输入雷池的API Token", + "key": "t_0_1747617113090", + "translations": { + "zhCN": "请输入雷池的API令牌", + "zhTW": "請輸入雷池的API令牌", + "enUS": "Please enter the Leichi API Token", + "jaJP": "雷池のAPIトークンを入力してください", + "koKR": "레치 API 토큰을 입력하세요", + "ruRU": "Пожалуйста, введите API-токен Leichi", + "ptBR": "Por favor, insira o Token API do Leichi", + "frFR": "Veuillez entrer le jeton API de Leichi", + "esAR": "Por favor, ingrese el Token API de Leichi", + "arDZ": "الرجاء إدخال رمز API الخاص بـ Leichi" + }, + "timestamp": "2025-05-19T01:11:53.090Z" + }, + "API Token": { + "text": "API Token", + "key": "t_1_1747617105179", + "translations": { + "zhCN": "API Token", + "zhTW": "API Token", + "enUS": "API Token", + "jaJP": "API Token", + "koKR": "API Token", + "ruRU": "API Token", + "ptBR": "API Token", + "frFR": "API Token", + "esAR": "API Token", + "arDZ": "API Token" + }, + "timestamp": "2025-05-19T01:11:53.092Z" + }, + "证书算法": { + "text": "证书算法", + "key": "t_0_1747647014927", + "translations": { + "zhCN": "证书算法", + "zhTW": "證書算法", + "enUS": "Certificate algorithm", + "jaJP": "証明書アルゴリズム", + "koKR": "인증서 알고리즘", + "ruRU": "Алгоритм сертификата", + "ptBR": "Algoritmo de certificado", + "frFR": "Algorithme de certificat", + "esAR": "Algoritmo de certificado", + "arDZ": "خوارزمية الشهادة" + }, + "timestamp": "2025-05-19T09:30:14.927Z" + }, + "请输入SSH密钥,内容不能为空": { + "text": "请输入SSH密钥,内容不能为空", + "key": "t_0_1747709067998", + "translations": { + "zhCN": "请输入SSH密钥,内容不能为空", + "zhTW": "請輸入SSH密鑰,內容不能為空", + "enUS": "Please enter the SSH key, the content cannot be empty", + "jaJP": "SSHキーを入力してください。内容は空にできません。", + "koKR": "SSH 키를 입력하십시오. 내용은 비울 수 없습니다.", + "ruRU": "Введите SSH-ключ, содержимое не может быть пустым", + "ptBR": "Digite a chave SSH, o conteúdo não pode estar vazio", + "frFR": "Veuillez entrer la clé SSH, le contenu ne peut pas être vide", + "esAR": "Ingrese la clave SSH, el contenido no puede estar vacío", + "arDZ": "الرجاء إدخال مفتاح SSH، المحتوى لا يمكن أن يكون فارغًا" + }, + "timestamp": "2025-05-20T02:44:27.998Z" + }, + "请输入SSH密码": { + "text": "请输入SSH密码", + "key": "t_0_1747711335067", + "translations": { + "zhCN": "请输入SSH密码", + "zhTW": "請輸入SSH密碼", + "enUS": "Please enter the SSH password", + "jaJP": "SSHパスワードを入力してください", + "koKR": "SSH 비밀번호를 입력하세요", + "ruRU": "Введите пароль SSH", + "ptBR": "Por favor, insira a senha SSH", + "frFR": "Veuillez entrer le mot de passe SSH", + "esAR": "Por favor ingrese la contraseña SSH", + "arDZ": "يرجى إدخال كلمة مرور SSH" + }, + "timestamp": "2025-05-20T03:22:17.958Z" + }, + "主机地址": { + "text": "主机地址", + "key": "t_1_1747711335336", + "translations": { + "zhCN": "主机地址", + "zhTW": "主機地址", + "enUS": "Host address", + "jaJP": "ホストアドレス", + "koKR": "호스트 주소", + "ruRU": "Адрес хоста", + "ptBR": "Endereço do host", + "frFR": "Adresse de l'hôte", + "esAR": "Dirección del host", + "arDZ": "عنوان المضيف" + }, + "timestamp": "2025-05-20T03:22:17.960Z" + }, + "请输入主机地址不能为空": { + "text": "请输入主机地址不能为空", + "key": "t_2_1747711337958", + "translations": { + "zhCN": "请输入主机地址不能为空", + "zhTW": "請輸入主機地址不能為空", + "enUS": "Please enter the host address cannot be empty", + "jaJP": "ホストアドレスを入力してください。空にすることはできません", + "koKR": "호스트 주소를 입력하세요. 비워 둘 수 없습니다", + "ruRU": "Пожалуйста, введите адрес хоста, он не может быть пустым", + "ptBR": "Por favor, insira o endereço do host, não pode estar vazio", + "frFR": "Veuillez saisir l'adresse de l'hôte, elle ne peut pas être vide", + "esAR": "Por favor ingrese la dirección del host, no puede estar vacía", + "arDZ": "الرجاء إدخال عنوان المضيف، لا يمكن أن يكون فارغًا" + }, + "timestamp": "2025-05-20T03:22:17.960Z" + }, + "日志查看器": { + "text": "日志查看器", + "key": "t_0_1747754231151", + "translations": { + "zhCN": "日志查看器", + "zhTW": "日誌檢視器", + "enUS": "Log Viewer", + "jaJP": "ログビューア", + "koKR": "로그 뷰어", + "ruRU": "Просмотр логов", + "ptBR": "Visualizador de Logs", + "frFR": "Visionneuse de journaux", + "esAR": "Visor de registros", + "arDZ": "عارض السجلات" + }, + "timestamp": "2025-05-20T15:17:15.407Z" + }, + "请先": { + "text": "请先", + "key": "t_1_1747754231838", + "translations": { + "zhCN": "请先", + "zhTW": "請先", + "enUS": "Please first", + "jaJP": "まず", + "koKR": "먼저", + "ruRU": "Пожалуйста, сначала", + "ptBR": "Por favor, primeiro", + "frFR": "Veuillez d'abord", + "esAR": "Por favor primero", + "arDZ": "من فضلك أولاً" + }, + "timestamp": "2025-05-20T15:17:15.415Z" + }, + "有问题或建议可提": { + "text": "有问题或建议可提", + "key": "t_2_1747754234999", + "translations": { + "zhCN": "有问题或建议可提", + "zhTW": "有問題或建議可提", + "enUS": "If you have any questions or suggestions, please feel free to raise them", + "jaJP": "質問や提案がある場合はお気軽にどうぞ", + "koKR": "질문이나 제안이 있으면 언제든지 제출해 주세요", + "ruRU": "Если у вас есть вопросы или предложения, не стесняйтесь их высказывать", + "ptBR": "Se tiver alguma dúvida ou sugestão, sinta-se à vontade para apresentá-la", + "frFR": "Si vous avez des questions ou des suggestions, n'hésitez pas à les soulever", + "esAR": "Si tienes alguna pregunta o sugerencia, no dudes en expresarla", + "arDZ": "إذا كان لديك أي أسئلة أو اقتراحات، فلا تتردد في تقديمها" + }, + "timestamp": "2025-05-20T15:17:15.415Z" + }, + "也可在Github给我们": { + "text": "也可在Github给我们", + "key": "t_3_1747754232000", + "translations": { + "zhCN": "也可以在Github上找到我们", + "zhTW": "也可以在Github上找到我們", + "enUS": "You can also find us on Github", + "jaJP": "Githubでも私たちを見つけることができます", + "koKR": "Github에서도 저희를 찾을 수 있습니다", + "ruRU": "Вы также можете найти нас на Github", + "ptBR": "Você também pode nos encontrar no Github", + "frFR": "Vous pouvez également nous trouver sur Github", + "esAR": "También puedes encontrarnos en Github", + "arDZ": "يمكنك أيضًا العثور علينا على Github" + }, + "timestamp": "2025-05-20T15:17:15.415Z" + }, + "您的参与对AllinSSL极其重要,感谢。": { + "text": "您的参与对AllinSSL极其重要,感谢。", + "key": "t_4_1747754235407", + "translations": { + "zhCN": "您的参与对AllinSSL极其重要,感谢。", + "zhTW": "您的參與對AllinSSL極其重要,感謝。", + "enUS": "Your participation is extremely important to AllinSSL, thank you.", + "jaJP": "あなたの参加はAllinSSLにとって非常に重要です、感謝します。", + "koKR": "귀하의 참여는 AllinSSL에게 매우 중요합니다, 감사합니다.", + "ruRU": "Ваше участие чрезвычайно важно для AllinSSL, спасибо.", + "ptBR": "Sua participação é extremamente importante para o AllinSSL, obrigado.", + "frFR": "Votre participation est extrêmement importante pour AllinSSL, merci.", + "esAR": "Su participación es extremadamente importante para AllinSSL, gracias.", + "arDZ": "مشاركتك مهمة جدًا لـ AllinSSL، شكرًا لك." + }, + "timestamp": "2025-05-20T15:17:15.415Z" + }, + "请输入": { + "text": "请输入", + "key": "t_0_1747817614953", + "translations": { + "zhCN": "请输入", + "zhTW": "請輸入", + "enUS": "Please enter", + "jaJP": "入力してください", + "koKR": "입력해 주세요", + "ruRU": "Пожалуйста, введите", + "ptBR": "Por favor, insira", + "frFR": "Veuillez entrer", + "esAR": "Por favor ingrese", + "arDZ": "الرجاء إدخال" + }, + "timestamp": "2025-05-21T08:54:04.359Z" + }, + "是": { + "text": "是", + "key": "t_1_1747817639034", + "translations": { + "zhCN": "是", + "zhTW": "是", + "enUS": "Yes", + "jaJP": "はい", + "koKR": "네", + "ruRU": "да", + "ptBR": "sim", + "frFR": "oui", + "esAR": "sí", + "arDZ": "نعم" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "否": { + "text": "否", + "key": "t_2_1747817610671", + "translations": { + "zhCN": "否", + "zhTW": "否", + "enUS": "No", + "jaJP": "いいえ", + "koKR": "아니요", + "ruRU": "Нет", + "ptBR": "Não", + "frFR": "Non", + "esAR": "No", + "arDZ": "لا" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "节点字段必填": { + "text": "节点字段必填", + "key": "t_3_1747817612697", + "translations": { + "zhCN": "节点字段必填", + "zhTW": "節點字段必填", + "enUS": "Node field is required", + "jaJP": "ノードフィールドは必須です", + "koKR": "노드 필드는 필수입니다", + "ruRU": "Поле узла обязательно", + "ptBR": "O campo do nó é obrigatório", + "frFR": "Le champ du nœud est requis", + "esAR": "El campo del nodo es obligatorio", + "arDZ": "حقل العقدة مطلوب" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "请输入有效的域名": { + "text": "请输入有效的域名", + "key": "t_4_1747817613325", + "translations": { + "zhCN": "请输入有效的域名", + "zhTW": "請輸入有效的域名", + "enUS": "Please enter a valid domain name", + "jaJP": "有効なドメイン名を入力してください", + "koKR": "유효한 도메인 이름을 입력하세요", + "ruRU": "Пожалуйста, введите действительное доменное имя", + "ptBR": "Por favor, digite um nome de domínio válido", + "frFR": "Veuillez entrer un nom de domaine valide", + "esAR": "Por favor, ingrese un nombre de dominio válido", + "arDZ": "الرجاء إدخال اسم مجال صالح" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "请输入有效的域名,多个域名请用英文逗号分隔": { + "text": "请输入有效的域名,多个域名请用英文逗号分隔", + "key": "t_5_1747817619337", + "translations": { + "zhCN": "请输入有效的域名,多个域名请用英文逗号分隔", + "zhTW": "請輸入有效的網域名稱,多個網域請用英文逗號分隔", + "enUS": "Please enter a valid domain name, separate multiple domains with English commas", + "jaJP": "有効なドメイン名を入力してください。複数のドメインは英語のコンマで区切ってください", + "koKR": "유효한 도메인 이름을 입력하세요. 여러 도메인은 영어 쉼표로 구분하십시오", + "ruRU": "Пожалуйста, введите действительное доменное имя, разделите несколько доменов английскими запятыми", + "ptBR": "Por favor, insira um nome de domínio válido, separe vários domínios com vírgulas em inglês", + "frFR": "Veuillez entrer un nom de domaine valide, séparez plusieurs domaines par des virgules anglaises", + "esAR": "Por favor, ingrese un nombre de dominio válido, separe varios dominios con comas en inglés", + "arDZ": "الرجاء إدخال اسم نطاق صالح، افصل بين عدة نطاقات بفاصلة باللغة الإنجليزية" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "请输入邮箱地址": { + "text": "请输入邮箱地址", + "key": "t_6_1747817644358", + "translations": { + "zhCN": "请输入邮箱地址", + "zhTW": "請輸入電子郵件地址", + "enUS": "Please enter your email address", + "jaJP": "メールアドレスを入力してください", + "koKR": "이메일 주소를 입력하세요", + "ruRU": "Пожалуйста, введите свой адрес электронной почты", + "ptBR": "Por favor, digite seu endereço de e-mail", + "frFR": "Veuillez entrer votre adresse e-mail", + "esAR": "Por favor, ingrese su dirección de correo electrónico", + "arDZ": "الرجاء إدخال عنوان البريد الإلكتروني الخاص بك" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "请输入有效的邮箱地址": { + "text": "请输入有效的邮箱地址", + "key": "t_7_1747817613773", + "translations": { + "zhCN": "请输入有效的邮箱地址", + "zhTW": "請輸入有效的郵箱地址", + "enUS": "Please enter a valid email address", + "jaJP": "有効なメールアドレスを入力してください", + "koKR": "유효한 이메일 주소를 입력하세요", + "ruRU": "Пожалуйста, введите действительный адрес электронной почты", + "ptBR": "Por favor, insira um endereço de e-mail válido", + "frFR": "Veuillez entrer une adresse e-mail valide", + "esAR": "Por favor, ingrese una dirección de correo electrónico válida", + "arDZ": "الرجاء إدخال عنوان بريد إلكتروني صالح" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "节点错误": { + "text": "节点错误", + "key": "t_8_1747817614764", + "translations": { + "zhCN": "节点错误", + "zhTW": "節點錯誤", + "enUS": "Node error", + "jaJP": "ノードエラー", + "koKR": "노드 오류", + "ruRU": "Ошибка узла", + "ptBR": "Erro de nó", + "frFR": "Erreur de nœud", + "esAR": "Error de nodo", + "arDZ": "خطأ في العقدة" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "域名:": { + "text": "域名:", + "key": "t_9_1747817611448", + "translations": { + "zhCN": "域名:", + "zhTW": "域名:", + "enUS": "Domain:", + "jaJP": "ドメイン:", + "koKR": "도메인:", + "ruRU": "Домен:", + "ptBR": "Domínio:", + "frFR": "Domaine :", + "esAR": "Dominio:", + "arDZ": "النطاق:" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "申请": { + "text": "申请", + "key": "t_10_1747817611126", + "translations": { + "zhCN": "申请", + "zhTW": "申請", + "enUS": "Apply", + "jaJP": "申請", + "koKR": "신청", + "ruRU": "Подать заявку", + "ptBR": "Aplicar", + "frFR": "Postuler", + "esAR": "Solicitar", + "arDZ": "تقدم" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "部署": { + "text": "部署", + "key": "t_11_1747817612051", + "translations": { + "zhCN": "部署", + "zhTW": "部署", + "enUS": "Deploy", + "jaJP": "展開", + "koKR": "배포", + "ruRU": "Развертывание", + "ptBR": "Implantação", + "frFR": "Déploiement", + "esAR": "Despliegue", + "arDZ": "نشر" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "上传": { + "text": "上传", + "key": "t_12_1747817611391", + "translations": { + "zhCN": "上传", + "zhTW": "上傳", + "enUS": "Upload", + "jaJP": "アップロード", + "koKR": "업로드", + "ruRU": "Загрузка", + "ptBR": "Enviar", + "frFR": "Téléverser", + "esAR": "Subir", + "arDZ": "رفع" + }, + "timestamp": "2025-05-21T08:54:04.360Z" + }, + "消息推送配置": { + "text": "消息推送配置", + "key": "t_0_1747886301644", + "translations": { + "zhCN": "消息推送配置", + "zhTW": "消息推送配置", + "enUS": "Message Push Configuration", + "jaJP": "メッセージプッシュ設定", + "koKR": "메시지 푸시 설정", + "ruRU": "Конфигурация push-уведомлений", + "ptBR": "Configuração de Push de Mensagem", + "frFR": "Configuration de l'envoi de messages", + "esAR": "Configuración de notificaciones push", + "arDZ": "تكوين إرسال الرسائل" + }, + "timestamp": "2025-05-22T03:58:28.183Z" + }, + "宝塔面板-网站": { + "text": "宝塔面板-网站", + "key": "t_1_1747886307276", + "translations": { + "zhCN": "宝塔面板-网站", + "zhTW": "寶塔面板-網站", + "enUS": "Pagoda Panel - Website", + "jaJP": "宝塔パネル - ウェブサイト", + "koKR": "파고다 패널 - 웹사이트", + "ruRU": "Панель Пагода - Сайт", + "ptBR": "Painel Pagode - Site", + "frFR": "Panneau Pagode - Site Web", + "esAR": "Panel Pagoda - Sitio Web", + "arDZ": "لوحة باغودا - موقع الويب" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "1Panel-网站": { + "text": "1Panel-网站", + "key": "t_2_1747886302053", + "translations": { + "zhCN": "1Panel-网站", + "zhTW": "1Panel-網站", + "enUS": "1Panel-Website", + "jaJP": "1Panel-ウェブサイト", + "koKR": "1Panel-웹사이트", + "ruRU": "1Panel-Вебсайт", + "ptBR": "1Panel-Site", + "frFR": "1Panel-Site Web", + "esAR": "1Panel-Sitio web", + "arDZ": "1Panel-موقع ويب" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "宝塔WAF": { + "text": "宝塔WAF", + "key": "t_3_1747886302848", + "translations": { + "zhCN": "宝塔WAF", + "zhTW": "寶塔WAF", + "enUS": "Pagoda WAF", + "jaJP": "宝塔WAF", + "koKR": "파고다 WAF", + "ruRU": "Пагода WAF", + "ptBR": "Pagode WAF", + "frFR": "Pagode WAF", + "esAR": "Pagoda WAF", + "arDZ": "باغودا WAF" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "宝塔WAF-网站": { + "text": "宝塔WAF-网站", + "key": "t_4_1747886303229", + "translations": { + "zhCN": "宝塔WAF-网站", + "zhTW": "寶塔WAF-網站", + "enUS": "Pagoda WAF-Website", + "jaJP": "宝塔WAF-ウェブサイト", + "koKR": "보타 WAF-웹사이트", + "ruRU": "Пагода WAF-Вебсайт", + "ptBR": "Pagode WAF-Site", + "frFR": "Pagode WAF-Site Web", + "esAR": "Pagoda WAF-Sitio web", + "arDZ": "باغودة WAF-موقع الإنترنت" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "腾讯云EdgeOne": { + "text": "腾讯云EdgeOne", + "key": "t_5_1747886301427", + "translations": { + "zhCN": "腾讯云EdgeOne", + "zhTW": "騰訊雲EdgeOne", + "enUS": "Tencent Cloud EdgeOne", + "jaJP": "Tencent Cloud EdgeOne", + "koKR": "Tencent Cloud EdgeOne", + "ruRU": "Tencent Cloud EdgeOne", + "ptBR": "Tencent Cloud EdgeOne", + "frFR": "Tencent Cloud EdgeOne", + "esAR": "Tencent Cloud EdgeOne", + "arDZ": "Tencent Cloud EdgeOne" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "七牛云": { + "text": "七牛云", + "key": "t_6_1747886301844", + "translations": { + "zhCN": "七牛云", + "zhTW": "七牛雲", + "enUS": "Qiniu Cloud", + "jaJP": "七牛クラウド", + "koKR": "치니우 클라우드", + "ruRU": "Qiniu Cloud", + "ptBR": "Qiniu Cloud", + "frFR": "Qiniu Cloud", + "esAR": "Qiniu Cloud", + "arDZ": "تشينيو كلاود" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "七牛云-CDN": { + "text": "七牛云-CDN", + "key": "t_7_1747886302395", + "translations": { + "zhCN": "七牛云-CDN", + "zhTW": "七牛雲-CDN", + "enUS": "Qiniu Cloud-CDN", + "jaJP": "七牛雲-CDN", + "koKR": "치니우 클라우드-CDN", + "ruRU": "Qiniu Cloud-CDN", + "ptBR": "Qiniu Cloud-CDN", + "frFR": "Qiniu Cloud-CDN", + "esAR": "Qiniu Cloud-CDN", + "arDZ": "كينيو كلاود-CDN" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "七牛云-OSS": { + "text": "七牛云-OSS", + "key": "t_8_1747886304014", + "translations": { + "zhCN": "七牛云-OSS", + "zhTW": "七牛雲-OSS", + "enUS": "Qiniu Cloud - OSS", + "jaJP": "七牛雲-OSS", + "koKR": "치뉴 클라우드-OSS", + "ruRU": "Qiniu Cloud - OSS", + "ptBR": "Qiniu Cloud - OSS", + "frFR": "Qiniu Cloud - OSS", + "esAR": "Qiniu Cloud - OSS", + "arDZ": "كيوينو كلاود - OSS" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "华为云": { + "text": "华为云", + "key": "t_9_1747886301128", + "translations": { + "zhCN": "华为云", + "zhTW": "華為雲", + "enUS": "Huawei Cloud", + "jaJP": "Huawei Cloud", + "koKR": "화웨이 클라우드", + "ruRU": "Huawei Cloud", + "ptBR": "Huawei Cloud", + "frFR": "Huawei Cloud", + "esAR": "Huawei Cloud", + "arDZ": "هواوي كلاود" + }, + "timestamp": "2025-05-22T03:58:28.184Z" + }, + "百度云": { + "text": "百度云", + "key": "t_10_1747886300958", + "translations": { + "zhCN": "百度云", + "zhTW": "百度雲", + "enUS": "Baidu Cloud", + "jaJP": "百度クラウド", + "koKR": "바이두 클라우드", + "ruRU": "Baidu Cloud", + "ptBR": "Baidu Cloud", + "frFR": "Baidu Cloud", + "esAR": "Baidu Cloud", + "arDZ": "بايدو كلود" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "雷池": { + "text": "雷池", + "key": "t_11_1747886301986", + "translations": { + "zhCN": "雷池", + "zhTW": "雷池", + "enUS": "Thunder Pool", + "jaJP": "雷池", + "koKR": "번개 연못", + "ruRU": "Громовой бассейн", + "ptBR": "Piscina de Trovão", + "frFR": "Bassin de Tonnerre", + "esAR": "Piscina de Truenos", + "arDZ": "برق البركة" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "雷池WAF-网站": { + "text": "雷池WAF-网站", + "key": "t_12_1747886302725", + "translations": { + "zhCN": "雷池WAF-网站", + "zhTW": "雷池WAF-網站", + "enUS": "Leichi WAF-Website", + "jaJP": "雷池WAF-ウェブサイト", + "koKR": "레이치 WAF-웹사이트", + "ruRU": "Лэйчи WAF-Вебсайт", + "ptBR": "Leichi WAF-Site", + "frFR": "Leichi WAF-Site Web", + "esAR": "Leichi WAF-Sitio Web", + "arDZ": "ليتشي WAF-موقع ويب" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "火山引擎": { + "text": "火山引擎", + "key": "t_13_1747886301689", + "translations": { + "zhCN": "火山引擎", + "zhTW": "火山引擎", + "enUS": "Volcano Engine", + "jaJP": "ボルケーノエンジン", + "koKR": "볼케이노 엔진", + "ruRU": "Вулкан Двигатель", + "ptBR": "Motor Vulcão", + "frFR": "Moteur Volcan", + "esAR": "Motor Volcán", + "arDZ": "محرك البركان" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "西部数码": { + "text": "西部数码", + "key": "t_14_1747886301884", + "translations": { + "zhCN": "西部数码", + "zhTW": "西部數碼", + "enUS": "West Digital", + "jaJP": "ウェストデジタル", + "koKR": "웨스트 디지털", + "ruRU": "Вест Цифровой", + "ptBR": "West Digital", + "frFR": "West Digital", + "esAR": "West Digital", + "arDZ": "ويست ديجيتال" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "部署项目类型": { + "text": "部署项目类型", + "key": "t_15_1747886301573", + "translations": { + "zhCN": "部署项目类型", + "zhTW": "部署項目類型", + "enUS": "Deploy project type", + "jaJP": "プロジェクトタイプの展開", + "koKR": "프로젝트 유형 배포", + "ruRU": "Тип развертываемого проекта", + "ptBR": "Tipo de projeto de implantação", + "frFR": "Type de projet de déploiement", + "esAR": "Tipo de proyecto de despliegue", + "arDZ": "نوع مشروع النشر" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "您确定要刷新页面吗?数据可能会丢失哦!": { + "text": "您确定要刷新页面吗?数据可能会丢失哦!", + "key": "t_16_1747886308182", + "translations": { + "zhCN": "您确定要刷新页面吗?数据可能会丢失哦!", + "zhTW": "您確定要刷新頁面嗎?數據可能會遺失哦!", + "enUS": "Are you sure you want to refresh the page? Data may be lost!", + "jaJP": "ページを更新してもよろしいですか?データが失われる可能性があります!", + "koKR": "페이지를 새로 고치시겠습니까? 데이터가 손실될 수 있습니다!", + "ruRU": "Вы уверены, что хотите обновить страницу? Данные могут быть потеряны!", + "ptBR": "Tem certeza de que deseja atualizar a página? Os dados podem ser perdidos!", + "frFR": "Êtes-vous sûr de vouloir actualiser la page ? Les données peuvent être perdues !", + "esAR": "¿Estás seguro de que quieres actualizar la página? ¡Los datos pueden perderse!", + "arDZ": "هل أنت متأكد أنك تريد تحديث الصفحة؟ قد يتم فقدان البيانات!" + }, + "timestamp": "2025-05-22T03:58:28.185Z" + }, + "执行成功": { + "text": "执行成功", + "key": "t_0_1747895713179", + "translations": { + "zhCN": "执行成功", + "zhTW": "執行成功", + "enUS": "Execution successful", + "jaJP": "実行が成功しました", + "koKR": "실행 성공", + "ruRU": "Выполнение успешно", + "ptBR": "Execução bem-sucedida", + "frFR": "Exécution réussie", + "esAR": "Ejecución exitosa", + "arDZ": "تنفيذ ناجح" + }, + "timestamp": "2025-05-22T06:35:13.179Z" + }, + "正在执行": { + "text": "正在执行", + "key": "t_1_1747895712756", + "translations": { + "zhCN": "正在执行", + "zhTW": "正在執行", + "enUS": "Executing", + "jaJP": "実行中", + "koKR": "실행 중", + "ruRU": "Выполнение", + "ptBR": "Executando", + "frFR": "Exécution en cours", + "esAR": "Ejecutando", + "arDZ": "جارٍ التنفيذ" + }, + "timestamp": "2025-05-22T06:35:13.181Z" + }, + "CA授权管理": { + "text": "CA授权管理", + "key": "t_0_1747903670020", + "translations": { + "zhCN": "CA授权管理", + "zhTW": "CA授權管理", + "enUS": "CA Authorization Management", + "jaJP": "CA認証管理", + "koKR": "CA 권한 관리", + "ruRU": "Управление авторизацией CA", + "ptBR": "Gerenciamento de Autorização CA", + "frFR": "Gestion d'autorisation CA", + "esAR": "Gestión de Autorización CA", + "arDZ": "إدارة التفويض CA" + }, + "timestamp": "2025-05-22T08:48:05.371Z" + }, + "确定删除": { + "text": "确定删除", + "key": "t_2_1747903672640", + "translations": { + "zhCN": "确定删除", + "zhTW": "確定刪除", + "enUS": "Confirm deletion", + "jaJP": "削除を確認", + "koKR": "삭제 확인", + "ruRU": "Подтвердите удаление", + "ptBR": "Confirmar exclusão", + "frFR": "Confirmer la suppression", + "esAR": "Confirmar eliminación", + "arDZ": "تأكيد الحذف" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "确定要删除此CA授权吗?": { + "text": "确定要删除此CA授权吗?", + "key": "t_3_1747903672833", + "translations": { + "zhCN": "确定要删除此CA授权吗?", + "zhTW": "確定要刪除此CA授權嗎?", + "enUS": "Are you sure you want to delete this CA authorization?", + "jaJP": "このCA認証を削除してもよろしいですか?", + "koKR": "이 CA 인증을 삭제하시겠습니까?", + "ruRU": "Вы уверены, что хотите удалить эту авторизацию CA?", + "ptBR": "Tem certeza de que deseja excluir esta autorização CA?", + "frFR": "Êtes-vous sûr de vouloir supprimer cette autorisation CA ?", + "esAR": "¿Estás seguro de que quieres eliminar esta autorización CA?", + "arDZ": "هل أنت متأكد أنك تريد حذف هذا التفويض CA؟" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "添加CA授权": { + "text": "添加CA授权", + "key": "t_4_1747903685371", + "translations": { + "zhCN": "添加CA授权", + "zhTW": "添加CA授權", + "enUS": "Add CA Authorization", + "jaJP": "CA認証を追加", + "koKR": "CA 권한 추가", + "ruRU": "Добавить авторизацию CA", + "ptBR": "Adicionar Autorização CA", + "frFR": "Ajouter une autorisation CA", + "esAR": "Agregar Autorización CA", + "arDZ": "إضافة تفويض CA" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "请输入ACME EAB KID": { + "text": "请输入ACME EAB KID", + "key": "t_5_1747903671439", + "translations": { + "zhCN": "请输入ACME EAB KID", + "zhTW": "請輸入ACME EAB KID", + "enUS": "Please enter ACME EAB KID", + "jaJP": "ACME EAB KIDを入力してください", + "koKR": "ACME EAB KID를 입력하세요", + "ruRU": "Пожалуйста, введите ACME EAB KID", + "ptBR": "Por favor, insira ACME EAB KID", + "frFR": "Veuillez entrer ACME EAB KID", + "esAR": "Por favor, ingrese ACME EAB KID", + "arDZ": "الرجاء إدخال ACME EAB KID" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "请输入ACME EAB HMAC Key": { + "text": "请输入ACME EAB HMAC Key", + "key": "t_6_1747903672931", + "translations": { + "zhCN": "请输入ACME EAB HMAC密钥", + "zhTW": "請輸入ACME EAB HMAC密鑰", + "enUS": "Please enter ACME EAB HMAC Key", + "jaJP": "ACME EAB HMACキーを入力してください", + "koKR": "ACME EAB HMAC 키를 입력하세요", + "ruRU": "Введите ключ HMAC ACME EAB", + "ptBR": "Digite a chave HMAC ACME EAB", + "frFR": "Veuillez saisir la clé HMAC ACME EAB", + "esAR": "Ingrese la clave HMAC ACME EAB", + "arDZ": "الرجاء إدخال مفتاح HMAC ACME EAB" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "请选择CA提供商": { + "text": "请选择CA提供商", + "key": "t_7_1747903678624", + "translations": { + "zhCN": "请选择CA提供商", + "zhTW": "請選擇CA提供商", + "enUS": "Please select CA provider", + "jaJP": "CAプロバイダーを選択してください", + "koKR": "CA 제공자를 선택하십시오", + "ruRU": "Пожалуйста, выберите поставщика CA", + "ptBR": "Por favor, selecione o provedor CA", + "frFR": "Veuillez sélectionner le fournisseur CA", + "esAR": "Por favor, seleccione el proveedor CA", + "arDZ": "يرجى اختيار مزود CA" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "当前CA提供商授权的别名,用于快速识别": { + "text": "当前CA提供商授权的别名,用于快速识别", + "key": "t_8_1747903675532", + "translations": { + "zhCN": "当前CA提供商授权的别名,用于快速识别", + "zhTW": "當前CA提供商授權的別名,用於快速識別", + "enUS": "The alias authorized by the current CA provider for quick identification", + "jaJP": "現在のCAプロバイダーが承認したエイリアス、迅速な識別に使用", + "koKR": "현재 CA 공급자가 승인한 별칭, 빠른 식별용", + "ruRU": "Псевдоним, авторизованный текущим провайдером CA, для быстрой идентификации", + "ptBR": "O apelido autorizado pelo provedor CA atual para identificação rápida", + "frFR": "L'alias autorisé par le fournisseur CA actuel pour une identification rapide", + "esAR": "El alias autorizado por el proveedor de CA actual para identificación rápida", + "arDZ": "الاسم المستعار المصرح به من قبل مزود CA الحالي للتعرف السريع" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "CA提供商": { + "text": "CA提供商", + "key": "t_9_1747903669360", + "translations": { + "zhCN": "CA提供商", + "zhTW": "CA提供商", + "enUS": "CA provider", + "jaJP": "CAプロバイダー", + "koKR": "CA 제공자", + "ruRU": "CA провайдер", + "ptBR": "Provedor de CA", + "frFR": "Fournisseur d'AC", + "esAR": "Proveedor de CA", + "arDZ": "موفر CA" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "ACME EAB KID": { + "text": "ACME EAB KID", + "key": "t_10_1747903662994", + "translations": { + "zhCN": "ACME EAB KID", + "zhTW": "ACME EAB KID", + "enUS": "ACME EAB KID", + "jaJP": "ACME EAB KID", + "koKR": "ACME EAB KID", + "ruRU": "ACME EAB KID", + "ptBR": "ACME EAB KID", + "frFR": "ACME EAB KID", + "esAR": "ACME EAB KID", + "arDZ": "ACME EAB KID" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "请输入CA提供商的ACME EAB KID": { + "text": "请输入CA提供商的ACME EAB KID", + "key": "t_11_1747903674802", + "translations": { + "zhCN": "请输入CA提供商的ACME EAB KID", + "zhTW": "請輸入CA提供商的ACME EAB KID", + "enUS": "Please enter the ACME EAB KID provided by the CA", + "jaJP": "CAプロバイダーのACME EAB KIDを入力してください", + "koKR": "CA 공급자의 ACME EAB KID를 입력하세요", + "ruRU": "Введите ACME EAB KID, предоставленный CA", + "ptBR": "Por favor, insira o ACME EAB KID fornecido pelo CA", + "frFR": "Veuillez entrer l'ACME EAB KID fourni par le CA", + "esAR": "Por favor, ingrese el ACME EAB KID proporcionado por la CA", + "arDZ": "يرجى إدخال ACME EAB KID المقدم من قبل CA" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "ACME EAB HMAC Key": { + "text": "ACME EAB HMAC Key", + "key": "t_12_1747903662994", + "translations": { + "zhCN": "ACME EAB HMAC Key", + "zhTW": "ACME EAB HMAC Key", + "enUS": "ACME EAB HMAC Key", + "jaJP": "ACME EAB HMAC Key", + "koKR": "ACME EAB HMAC Key", + "ruRU": "ACME EAB HMAC Key", + "ptBR": "ACME EAB HMAC Key", + "frFR": "ACME EAB HMAC Key", + "esAR": "ACME EAB HMAC Key", + "arDZ": "ACME EAB HMAC Key" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "请输入CA提供商的ACME EAM HMAC": { + "text": "请输入CA提供商的ACME EAM HMAC", + "key": "t_13_1747903673007", + "translations": { + "zhCN": "请输入CA提供商的ACME EAM HMAC", + "zhTW": "請輸入CA提供商的ACME EAM HMAC", + "enUS": "Enter the CA provider's ACME EAM HMAC", + "jaJP": "CAプロバイダーのACME EAM HMACを入力してください", + "koKR": "CA 제공자의 ACME EAM HMAC을 입력하십시오", + "ruRU": "Введите ACME EAM HMAC поставщика CA", + "ptBR": "Digite o ACME EAM HMAC do provedor de CA", + "frFR": "Entrez l'ACME EAM HMAC du fournisseur de CA", + "esAR": "Ingrese el ACME EAM HMAC del proveedor de CA", + "arDZ": "أدخل ACME EAM HMAC لموفر CA" + }, + "timestamp": "2025-05-22T08:48:05.372Z" + }, + "AllinSSL \\n\\r开源免费的 SSL 证书自动化管理平台 \\n\\r一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。": { + "text": "AllinSSL \\n\\r开源免费的 SSL 证书自动化管理平台 \\n\\r一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。", + "key": "t_0_1747904536291", + "translations": { + "zhCN": "AllinSSL 开源免费的 SSL 证书自动化管理平台 一键自动化申请、续期、部署、监控所有 SSL/TLS 证书,支持跨云环境和多 CA (coding~),告别繁琐配置和高昂费用。", + "zhTW": "AllinSSL 開源免費的 SSL 證書自動化管理平台 一鍵自動化申請、續期、部署、監控所有 SSL/TLS 證書,支援跨雲環境和多 CA (coding~),告別繁瑣配置和高昂費用。", + "enUS": "AllinSSL, an open-source free SSL certificate automation management platform. One-click automated application, renewal, deployment, and monitoring of all SSL/TLS certificates, supporting cross-cloud environments and multiple CAs (coding~), say goodbye to cumbersome configurations and high costs.", + "jaJP": "AllinSSL オープンソースで無料のSSL証明書自動管理プラットフォーム。すべてのSSL/TLS証明書をワンクリックで自動申請、更新、展開、監視し、マルチクラウド環境と複数のCAをサポート(coding~)、面倒な設定と高額な費用に別れを告げましょう。", + "koKR": "AllinSSL 오픈소스 무료 SSL 자동화 인증서 관리 플랫폼. 모든 SSL/TLS 인증서를 자동으로 신청, 갱신, 배포 및 모니터링하세요. 멀티 클라우드 환경과 여러 CA를 지원하며 (coding~), 번거로운 설정과 높은 비용에 작별을 고합니다.", + "ruRU": "AllinSSL — это бесплатная платформа с открытым исходным кодом для автоматизации управления SSL-сертификатами. Автоматическая подача заявок, продление, развертывание и мониторинг всех SSL/TLS сертификатов одним кликом, поддержка кросс-облачных сред и нескольких CA (coding~), прощайте, сложные настройки и высокие затраты.", + "ptBR": "AllinSSL, uma plataforma gratuita e de código aberto para gerenciamento automatizado de certificados SSL. Aplicação, renovação, implantação e monitoramento automatizados de todos os certificados SSL/TLS com um clique, suportando ambientes multicloud e várias CAs (coding~), diga adeus a configurações complicadas e custos elevados.", + "frFR": "AllinSSL, une plateforme gratuite et open-source de gestion automatisée de certificats SSL. Application, renouvellement, déploiement et surveillance automatisés d'un seul clic pour tous les certificats SSL/TLS, prenant en charge les environnements multi-clouds et plusieurs CA (coding~), dites adieu aux configurations fastidieuses et aux coûts élevés.", + "esAR": "AllinSSL, una plataforma gratuita y de código abierto para la gestión automatizada de certificados SSL. Solicitud, renovación, implementación y monitoreo automatizados de todos los certificados SSL/TLS con un solo clic, compatible con entornos multi-nube y múltiples AC (coding~), adiós a configuraciones engorrosas y costos elevados.", + "arDZ": "AllinSSL منصة مجانية ومفتوحة المصدر لإدارة الشهادات SSL تلقائيًا. تقديم طلبات تلقائية وتجديد ونشر ومراقبة جميع شهادات SSL/TLS بنقرة واحدة، تدعم بيئات متعددة السحابات وعدة جهات اعتماد (coding~)، قل وداعًا للإعدادات المعقدة والتكاليف الباهظة." + }, + "timestamp": "2025-05-22T09:02:16.291Z" + }, + "请输入用于绑定CA授权的邮箱": { + "text": "请输入用于绑定CA授权的邮箱", + "key": "t_0_1747965909665", + "translations": { + "zhCN": "请输入用于绑定CA授权的邮箱", + "zhTW": "請輸入用於綁定CA授權的郵箱", + "enUS": "Please enter the email for binding CA authorization", + "jaJP": "CA認証に使用するメールアドレスを入力してください", + "koKR": "CA 인증에 사용할 이메일을 입력하세요", + "ruRU": "Введите электронную почту для привязки CA авторизации", + "ptBR": "Digite o e-mail para vincular a autorização CA", + "frFR": "Veuillez entrer l'email pour lier l'autorisation CA", + "esAR": "Ingrese el correo electrónico para vincular la autorización CA", + "arDZ": "الرجاء إدخال البريد الإلكتروني لربط تفويض CA" + }, + "timestamp": "2025-05-23T02:05:09.666Z" + }, + "终端部署": { + "text": "终端部署", + "key": "t_0_1747969933657", + "translations": { + "zhCN": "终端部署", + "zhTW": "終端部署", + "enUS": "Terminal deployment", + "jaJP": "端末展開", + "koKR": "터미널 배포", + "ruRU": "Развертывание терминала", + "ptBR": "Implantação de terminal", + "frFR": "Déploiement terminal", + "esAR": "Implementación de terminal", + "arDZ": "نشر المحطة الطرفية" + }, + "timestamp": "2025-05-23T03:12:13.657Z" + }, + "请输入正确的GoDaddy API Key": { + "text": "请输入正确的GoDaddy API Key", + "key": "t_0_1747984137443", + "translations": { + "zhCN": "请输入正确的GoDaddy API密钥", + "zhTW": "請輸入正確的GoDaddy API金鑰", + "enUS": "Please enter the correct GoDaddy API Key", + "jaJP": "正しいGoDaddy APIキーを入力してください", + "koKR": "올바른 GoDaddy API 키를 입력하세요", + "ruRU": "Пожалуйста, введите правильный API ключ GoDaddy", + "ptBR": "Por favor, insira a chave de API correta do GoDaddy", + "frFR": "Veuillez entrer la bonne clé API GoDaddy", + "esAR": "Por favor, ingrese la clave de API correcta de GoDaddy", + "arDZ": "الرجاء إدخال مفتاح API الصحيح لـ GoDaddy" + }, + "timestamp": "2025-05-23T07:08:57.443Z" + }, + "请输入GoDaddy API Secret": { + "text": "请输入GoDaddy API Secret", + "key": "t_1_1747984133312", + "translations": { + "zhCN": "请输入GoDaddy API密钥", + "zhTW": "請輸入GoDaddy API密鑰", + "enUS": "Please enter GoDaddy API Secret", + "jaJP": "GoDaddy APIシークレットを入力してください", + "koKR": "GoDaddy API 비밀을 입력하세요", + "ruRU": "Введите секрет API GoDaddy", + "ptBR": "Por favor, insira o Segredo da API da GoDaddy", + "frFR": "Veuillez entrer le Secret API de GoDaddy", + "esAR": "Por favor ingrese el Secreto de API de GoDaddy", + "arDZ": "يرجى إدخال سر API GoDaddy" + }, + "timestamp": "2025-05-23T07:08:57.446Z" + }, + "请输入七牛云Access Secret": { + "text": "请输入七牛云Access Secret", + "key": "t_2_1747984134626", + "translations": { + "zhCN": "请输入七牛云Access Secret", + "zhTW": "請輸入七牛雲Access Secret", + "enUS": "Please enter Qiniu Cloud Access Secret", + "jaJP": "七牛クラウドのAccess Secretを入力してください", + "koKR": "치니우 클라우드 Access Secret을 입력하세요", + "ruRU": "Пожалуйста, введите Qiniu Cloud Access Secret", + "ptBR": "Por favor, insira o Access Secret do Qiniu Cloud", + "frFR": "Veuillez entrer le Access Secret de Qiniu Cloud", + "esAR": "Por favor ingrese el Access Secret de Qiniu Cloud", + "arDZ": "الرجاء إدخال Qiniu Cloud Access Secret" + }, + "timestamp": "2025-05-23T07:08:57.446Z" + }, + "请输入七牛云Access Key": { + "text": "请输入七牛云Access Key", + "key": "t_3_1747984134586", + "translations": { + "zhCN": "请输入七牛云Access Key", + "zhTW": "請輸入七牛雲Access Key", + "enUS": "Please enter Qiniu Cloud Access Key", + "jaJP": "Qiniu CloudのAccess Keyを入力してください", + "koKR": "치뉴 클라우드 Access Key를 입력하세요", + "ruRU": "Введите Access Key Qiniu Cloud", + "ptBR": "Digite a Access Key do Qiniu Cloud", + "frFR": "Veuillez entrer la clé d'accès Qiniu Cloud", + "esAR": "Ingrese la Access Key de Qiniu Cloud", + "arDZ": "الرجاء إدخال مفتاح الوصول Qiniu Cloud" + }, + "timestamp": "2025-05-23T07:08:57.446Z" + }, + "复制": { + "text": "复制", + "key": "t_4_1747984130327", + "translations": { + "zhCN": "复制", + "zhTW": "复制", + "enUS": "Copy", + "jaJP": "コピー", + "koKR": "복사", + "ruRU": "Копировать", + "ptBR": "Copiar", + "frFR": "Copier", + "esAR": "Copiar", + "arDZ": "نسخ" + }, + "timestamp": "2025-05-23T07:08:57.446Z" + }, + "当距离到期时间": { + "text": "当距离到期时间", + "key": "t_5_1747984133112", + "translations": { + "zhCN": "当距离到期时间", + "zhTW": "當距離到期時間", + "enUS": "When the expiration time is approaching", + "jaJP": "有効期限までの時間が", + "koKR": "만료 시간이 다가올 때", + "ruRU": "Когда срок действия подходит к концу", + "ptBR": "Quando o tempo de expiração está próximo", + "frFR": "Lorsque la date d'expiration approche", + "esAR": "Cuando el tiempo de expiración se acerca", + "arDZ": "عند اقتراب وقت الانتهاء" + }, + "timestamp": "2025-05-23T07:08:57.446Z" + }, + "请选择证书颁发机构": { + "text": "请选择证书颁发机构", + "key": "t_0_1747990228780", + "translations": { + "zhCN": "请选择证书颁发机构", + "zhTW": "請選擇證書頒發機構", + "enUS": "Please select the certificate authority", + "jaJP": "証明書発行機関を選択してください", + "koKR": "증명서 발급 기관을 선택하세요", + "ruRU": "Пожалуйста, выберите центр сертификации", + "ptBR": "Por favor, selecione a autoridade certificadora", + "frFR": "Veuillez sélectionner l'autorité de certification", + "esAR": "Por favor, seleccione la autoridad certificadora", + "arDZ": "يرجى اختيار سلطة التصديق" + }, + "timestamp": "2025-05-23T08:50:35.316Z" + }, + "暂无CA授权数据": { + "text": "暂无CA授权数据", + "key": "t_2_1747990228008", + "translations": { + "zhCN": "暂无CA授权数据", + "zhTW": "暫無CA授權數據", + "enUS": "No CA authorization data available", + "jaJP": "CA認証データなし", + "koKR": "CA 인증 데이터 없음", + "ruRU": "Нет данных авторизации CA", + "ptBR": "Nenhum dado de autorização CA disponível", + "frFR": "Aucune donnée d'autorisation CA disponible", + "esAR": "No hay datos de autorización CA disponibles", + "arDZ": "لا تتوفر بيانات تفويض CA" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "获取CA授权列表失败": { + "text": "获取CA授权列表失败", + "key": "t_3_1747990229599", + "translations": { + "zhCN": "获取CA授权列表失败", + "zhTW": "獲取CA授權列表失敗", + "enUS": "Failed to get CA authorization list", + "jaJP": "CA認証リストの取得に失敗しました", + "koKR": "CA 인증 목록 가져오기 실패", + "ruRU": "Не удалось получить список авторизации CA", + "ptBR": "Falha ao obter a lista de autorização CA", + "frFR": "Échec de l'obtention de la liste d'autorisation CA", + "esAR": "Error al obtener la lista de autorización CA", + "arDZ": "فشل في الحصول على قائمة التفويض CA" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "自动续签(天)": { + "text": "自动续签(天)", + "key": "t_4_1747990227956", + "translations": { + "zhCN": "自动续签(天)", + "zhTW": "自動續簽(天)", + "enUS": "Auto-renewal (days)", + "jaJP": "自動更新(日)", + "koKR": "자동 갱신(일)", + "ruRU": "Автопродление (дни)", + "ptBR": "Renovação automática (dias)", + "frFR": "Renouvellement automatique (jours)", + "esAR": "Renovación automática (días)", + "arDZ": "التجديد التلقائي (أيام)" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "证书有效期小于": { + "text": "证书有效期小于", + "key": "t_5_1747990228592", + "translations": { + "zhCN": "证书有效期小于", + "zhTW": "證書有效期小於", + "enUS": "Certificate validity period is less than", + "jaJP": "証明書の有効期間が未満", + "koKR": "인증서 유효 기간 미만", + "ruRU": "Срок действия сертификата менее", + "ptBR": "Período de validade do certificado menor que", + "frFR": "La période de validité du certificat est inférieure à", + "esAR": "El período de validez del certificado es inferior a", + "arDZ": "فترة صلاحية الشهادة أقل من" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "天时,续签新的证书": { + "text": "天时,续签新的证书", + "key": "t_6_1747990228465", + "translations": { + "zhCN": "天时,续签新的证书", + "zhTW": "天時,續簽新的證書", + "enUS": "Time to renew the new certificate", + "jaJP": "タイミング、新しい証明書の更新", + "koKR": "시운, 새로운 인증서 갱신", + "ruRU": "Время обновить новый сертификат", + "ptBR": "Hora de renovar o novo certificado", + "frFR": "Il est temps de renouveler le nouveau certificat", + "esAR": "Momento de renovar el nuevo certificado", + "arDZ": "حان الوقت لتجديد الشهادة الجديدة" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "代理地址(可选)": { + "text": "代理地址(可选)", + "key": "t_7_1747990227761", + "translations": { + "zhCN": "代理地址(可选)", + "zhTW": "代理地址(可選)", + "enUS": "Proxy Address (Optional)", + "jaJP": "プロキシアドレス(オプション)", + "koKR": "프록시 주소(선택 사항)", + "ruRU": "Адрес прокси (опционально)", + "ptBR": "Endereço de Proxy (Opcional)", + "frFR": "Adresse proxy (facultatif)", + "esAR": "Dirección de Proxy (Opcional)", + "arDZ": "عنوان الوكيل (اختياري)" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)": { + "text": "仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)", + "key": "t_8_1747990235316", + "translations": { + "zhCN": "仅支持 http 或 https 代理地址(例如:http://proxy.example.com:8080)", + "zhTW": "僅支援 http 或 https 代理地址(例如:http://proxy.example.com:8080)", + "enUS": "Only supports http or https proxy addresses (e.g., http://proxy.example.com:8080)", + "jaJP": "http または https プロキシアドレスのみサポートしています(例:http://proxy.example.com:8080)", + "koKR": "http 또는 https 프록시 주소만 지원합니다 (예: http://proxy.example.com:8080)", + "ruRU": "Поддерживаются только прокси-адреса http или https (например, http://proxy.example.com:8080)", + "ptBR": "Apenas suporta endereços de proxy http ou https (por exemplo, http://proxy.example.com:8080)", + "frFR": "Ne prend en charge que les adresses proxy http ou https (par exemple, http://proxy.example.com:8080)", + "esAR": "Solo admite direcciones proxy http o https (por ejemplo, http://proxy.example.com:8080)", + "arDZ": "يدعم فقط عناوين الوكيل http أو https (مثال: http://proxy.example.com:8080)" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "自动续签时间不能为空": { + "text": "自动续签时间不能为空", + "key": "t_9_1747990229640", + "translations": { + "zhCN": "自动续签时间不能为空", + "zhTW": "自動續簽時間不能為空", + "enUS": "Auto-renewal time cannot be empty", + "jaJP": "自動更新時間は空にできません", + "koKR": "자동 갱신 시간은 비워 둘 수 없습니다", + "ruRU": "Время автоматического продления не может быть пустым", + "ptBR": "O tempo de renovação automática não pode estar vazio", + "frFR": "L'heure de renouvellement automatique ne peut pas être vide", + "esAR": "El tiempo de renovación automática no puede estar vacío", + "arDZ": "وقت التجديد التلقائي لا يمكن أن يكون فارغًا" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "请选择网站名,支持多选网站名称": { + "text": "请选择网站名,支持多选网站名称", + "key": "t_10_1747990232207", + "translations": { + "zhCN": "请选择网站名,支持多选网站名称", + "zhTW": "請選擇網站名,支援多選網站名稱", + "enUS": "Please select the website name, multiple selections are supported", + "jaJP": "ウェブサイト名を選択してください(複数選択可)", + "koKR": "웹사이트 이름을 선택하세요 (다중 선택 가능)", + "ruRU": "Пожалуйста, выберите название веб-сайта (поддерживается множественный выбор)", + "ptBR": "Por favor, selecione o nome do site (seleção múltipla suportada)", + "frFR": "Veuillez sélectionner le nom du site (sélection multiple prise en charge)", + "esAR": "Por favor, seleccione el nombre del sitio web (se admiten múltiples selecciones)", + "arDZ": "الرجاء اختيار اسم الموقع (يدعم اختيارات متعددة)" + }, + "timestamp": "2025-05-23T08:50:35.318Z" + }, + "宝塔docker网站": { + "text": "宝塔docker网站", + "key": "t_0_1747994891459", + "translations": { + "zhCN": "宝塔docker网站", + "zhTW": "寶塔docker網站", + "enUS": "Pagoda docker website", + "jaJP": "宝塔dockerサイト", + "koKR": "보타 docker 웹사이트", + "ruRU": "Веб-сайт Pagoda docker", + "ptBR": "Site do Pagoda docker", + "frFR": "Site web Pagoda docker", + "esAR": "Sitio web de Pagoda docker", + "arDZ": "موقع باغودا docker" + }, + "timestamp": "2025-05-23T10:08:11.459Z" + } } \ No newline at end of file diff --git a/frontend/apps/allin-ssl/src/components/CAProviderSelect/index.tsx b/frontend/apps/allin-ssl/src/components/CAProviderSelect/index.tsx index a1d9114..2824af8 100644 --- a/frontend/apps/allin-ssl/src/components/CAProviderSelect/index.tsx +++ b/frontend/apps/allin-ssl/src/components/CAProviderSelect/index.tsx @@ -109,7 +109,7 @@ export default defineComponent({ return () => ( - + ({ class="flex items-center cursor-pointer hover:text-[#333] hover:bg-[#eee]" onClick={() => goToAddCAProvider('addCAForm')} > - {$t('t_0_1747990626044')} + {$t('添加Zerossl、Google,CA证书授权')} ) }, @@ -139,15 +139,10 @@ export default defineComponent({ /> - goToAddCAProvider('caManage')} disabled={props.disabled}> + goToAddCAProvider('caManage')} disabled={props.disabled}> {$t('t_0_1747903670020')} - loadCAProviders()} - loading={isLoading.value} - disabled={props.disabled} - > + loadCAProviders()} loading={isLoading.value} disabled={props.disabled}> {$t('t_0_1746497662220')} diff --git a/frontend/apps/allin-ssl/src/views/autoDeploy/children/workflowView/node/apply/model.tsx b/frontend/apps/allin-ssl/src/views/autoDeploy/children/workflowView/node/apply/model.tsx index 97a0cc0..06d8a9a 100644 --- a/frontend/apps/allin-ssl/src/views/autoDeploy/children/workflowView/node/apply/model.tsx +++ b/frontend/apps/allin-ssl/src/views/autoDeploy/children/workflowView/node/apply/model.tsx @@ -53,11 +53,6 @@ export default defineComponent({ param.value.domains = val.replace(/,/g, ',').replace(/;/g, ',') // 中文逗号分隔 }, }), - useFormInput($t('t_1_1745735764953'), 'email', { - placeholder: $t('t_2_1745735773668'), - allowInput: noSideSpace, - readonly: param.value.ca !== 'letsencrypt', - }), { type: 'custom' as const, render: () => { @@ -78,6 +73,31 @@ export default defineComponent({ ) }, }, + { + type: 'custom' as const, + render: () => { + return ( + { + param.value.eabId = val.value + param.value.ca = val.ca + if (val.value) param.value.email = val.email + }, + }} + /> + ) + }, + }, + useFormInput($t('邮件'), 'email', { + placeholder: $t('请输入邮箱信息,用于接收证书验证邮件'), + allowInput: noSideSpace, + }), + { type: 'custom' as const, render: () => { @@ -95,27 +115,6 @@ export default defineComponent({ useFormMore(advancedOptions), ...(advancedOptions.value ? [ - { - type: 'custom' as const, - render: () => { - return ( - { - param.value.eabId = val.value - param.value.ca = val.ca - if (val.value) param.value.email = val.email - }, - }} - /> - ) - }, - }, - useFormSelect( $t('t_0_1747647014927'), 'algorithm', @@ -165,11 +164,9 @@ export default defineComponent({ useFormHelp([ { content: $t('t_0_1747040228657'), - isHtml: false, }, { content: $t('t_1_1747040226143'), - isHtml: false, }, ]), ]