@byteluck-fe/model-driven-driven 2.23.0-beta.4 → 2.23.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/Builder.js +186 -0
- package/dist/esm/Designer.js +363 -0
- package/dist/esm/Driven.js +788 -0
- package/dist/esm/EventLogic.js +2 -0
- package/dist/esm/Plugin.js +10 -0
- package/dist/esm/Store.js +350 -0
- package/dist/esm/constants.js +33 -0
- package/dist/esm/designerUtils.js +34 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/utils.js +466 -0
- package/dist/index.umd.js +45 -0
- package/dist/types/Driven.d.ts +2 -2
- package/package.json +6 -6
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var sA=Object.defineProperty,lA=Object.defineProperties;var cA=Object.getOwnPropertyDescriptors;var $c=Object.getOwnPropertySymbols;var fA=Object.prototype.hasOwnProperty,dA=Object.prototype.propertyIsEnumerable;var Mc=(W,ie,ve)=>ie in W?sA(W,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):W[ie]=ve,Ft=(W,ie)=>{for(var ve in ie||(ie={}))fA.call(ie,ve)&&Mc(W,ve,ie[ve]);if($c)for(var ve of $c(ie))dA.call(ie,ve)&&Mc(W,ve,ie[ve]);return W},Pu=(W,ie)=>lA(W,cA(ie));var Ut=(W,ie,ve)=>new Promise((_o,lr)=>{var ho=tt=>{try{hn(ve.next(tt))}catch(mn){lr(mn)}},mo=tt=>{try{hn(ve.throw(tt))}catch(mn){lr(mn)}},hn=tt=>tt.done?_o(tt.value):Promise.resolve(tt.value).then(ho,mo);hn((ve=ve.apply(W,ie)).next())});(function(W,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(W=typeof globalThis!="undefined"?globalThis:W||self,ie(W.modelDrivenDriven={}))})(this,function(W){"use strict";var ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",_o="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",lr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ho="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",mo="{caption}\u5FC5\u586B",hn="\u8BF7\u8F93\u5165\u6807\u9898",tt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",mn="\u8BF7\u8F93\u5165\u884C\u6807\u9898",xc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Vc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",kc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Uc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Wc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",jc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Hc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Gc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",qc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Kc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Jc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Zc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Yc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ef="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",tf="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",nf="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",rf="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",of="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",uf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",af="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",sf="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",lf="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",cf="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ff="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",df="\u8BF7\u7ED1\u5B9A\u670D\u52A1",pf="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_f="\u8BF7\u9009\u62E9\u7701",hf="\u8BF7\u9009\u62E9\u5E02",mf="\u8BF7\u9009\u62E9\u533A",vf="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",gf="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ef="\u8BF7\u8F93\u5165\u5217\u5BBD",yf="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bf="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Of="\u8BF7\u9009\u62E9\u63A7\u4EF6",Cf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Sf="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Af="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",If="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ff="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Df="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Nf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Mf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",xf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Vf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Wf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Hf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Gf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",qf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Kf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Xf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Jf="\u6279\u91CF\u5220\u9664",zf="\u6279\u91CF\u6253\u5370",Qf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Zf="\u6309\u94AE",Yf="\u521B\u5EFA\u5355\u636E",ed="\u4EEA\u8868\u76D8",td="\u5206\u5272\u7EBF",nd="\u5BFC\u51FA",rd="\u8868\u5355\u64CD\u4F5C",od="\u5BFC\u5165",id="\u53D1\u7968\u8BC6\u522B",ud="\u94FE\u63A5",ad="\u5217\u8868\u9009\u62E9",sd="\u5217\u8868\u89C6\u56FE",ld="\u64CD\u4F5C\u6309\u94AE",cd="\u5206\u9875",fd="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",dd="\u8BF4\u660E\u6587\u5B57",pd="\u6587\u5B57\u8BC6\u522B",_d="\u6807\u9898\u7EC4\u4EF6",hd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",md="\u6570\u7EC4",vd="\u81EA\u52A8\u7F16\u53F7",gd="\u81EA\u5B9A\u4E49",Ed="\u6570\u503C",yd="\u90E8\u95E8",bd="\u4EBA\u5458",Od="\u9644\u4EF6",Cd="\u56FE\u7247",Sd="\u5730\u5740",Ad="\u64CD\u4F5C",Id="\u5E8F\u53F7",Fd="\u4EBA\u5458",Dd="\u957F\u6587\u672C",wd="\u65E5\u671F\u533A\u95F4",Nd="\u65E5\u671F",Bd="\u77ED\u6587\u672C",Td="\u6362\u884C\u5BB9\u5668Wrap",Ld="\u8868\u683C",Pd="\u660E\u7EC6\u5B50\u8868",Rd="\u5730\u5740",$d="\u91D1\u989D",Md="\u8BA1\u7B97\u516C\u5F0F",xd="\u591A\u9009",Vd="\u7535\u5B50\u7B7E\u7AE0",kd="\u5355\u884C\u6587\u672C",Ud="\u6570\u5B57",Wd="\u4E1A\u52A1\u7EC4\u7EC7",jd="\u5355\u9009",Hd="\u5BCC\u6587\u672C",Gd="\u8BC4\u5206",qd="\u6570\u5B57\u533A\u95F4",Kd="\u4E0B\u62C9\u5355\u9009",Xd="\u4E0B\u62C9\u591A\u9009",Jd="\u5173\u8054\u5355\u9009",zd="\u591A\u884C\u6587\u672C",Qd="\u6811",Zd="Vue\u5BB9\u5668",Yd="Vue\u9875\u9762",ep="\u5728\u7EBF\u6587\u6863",tp="\u6309\u94AE\u64CD\u4F5C\u680F",np="\u9AD8\u7EA7\u5BB9\u5668",rp="\u5206\u7EC4",op="\u6805\u683C\u5217",ip="\u6570\u636E\u5BB9\u5668",up="\u753B\u5E03",ap="\u6362\u884C\u5BB9\u5668",sp="\u6805\u683C\u7B49\u5206\u884C",lp="\u5217\u8868\u5BB9\u5668",cp="\u81EA\u7531\u9875\u9762",fp="\u5B9A\u4F4D\u5B50\u5BB9\u5668",dp="\u5B9A\u4F4D\u5BB9\u5668",pp="\u6805\u683C\u5E03\u5C40",_p="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",hp="\u660E\u7EC6\u5B50\u8868\u884C",mp="\u6807\u7B7E\u9875",vp="\u6807\u7B7E\u5355\u5143",gp="\u5DE5\u5177\u680F",Ep="\u6279\u91CF\u63D0\u4EA4",yp="\u5BFC\u51FA\u8BB0\u5F55",bp="\u5217\u8868\u89C6\u56FE",Op="\u7ED3\u675F\u65F6\u95F4",Cp="\u5F00\u59CB\u65F6\u95F4",Sp="\u5355\u4F4D",Ap="\u7ED3\u679C",Ip="\u5E01\u79CD",Fp="\u7ED3\u675F\u65E5\u671F",Dp="\u5F00\u59CB\u65E5\u671F",wp="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Np="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Bp="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Tp="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Lp="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Pp="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Rp="\u8BF7\u9009\u62E9",$p="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Mp="\u8BF7\u9009\u62E9\u90E8\u95E8",xp="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Vp="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",kp="\u8BF7\u9009\u62E9\u5730\u5740",Up="\u5F39\u7A97\u786E\u8BA4\u65F6",Wp="\u6807\u7B7E\u9875\u5207\u6362\u65F6",jp="\u884C\u9009\u4E2D\u65F6",Hp="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Gp="\u884C\u5220\u9664\u524D",qp="\u884C\u70B9\u51FB\u65F6",Kp="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Xp="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Jp="\u91CD\u547D\u540D\u65F6",zp="\u4FDD\u5B58\u6587\u4EF6\u65F6",Qp="\u6253\u5F00\u6587\u4EF6\u65F6",Zp="\u83B7\u53D6\u7126\u70B9\u65F6",Yp="\u5931\u53BB\u7126\u70B9\u65F6",e_="\u7528\u6237\u8F93\u5165\u65F6",t_="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",n_="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",r_="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",o_="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",i_="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",u_="\u641C\u7D22\u65F6",a_="\u503C\u53D1\u751F\u53D8\u5316\u65F6",s_="\u6267\u884C\u5B8C\u6210\u65F6",l_="\u70B9\u51FB\u65F6",c_="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",f_="\u8BF7\u8F93\u5165\u65E5\u671F",d_="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",p_="\u8BF7\u8F93\u5165",__="\u9ED8\u8BA4\u6A21\u7248",h_="\u5DE6\u53F3\u5E03\u5C40",m_="\u4E0A\u4E0B\u5E03\u5C40",v_="\u53EA\u8BFB",g_="\u5FC5\u586B",E_="\u63D0\u793A\u6587\u5B57",y_="\u9690\u85CF\u6807\u9898",b_="\u6807\u9898\u5FC5\u586B",O_="\u7EC4\u7EC7\u5F62\u6001",C_="\u4E1A\u52A1\u7C7B\u578B",S_="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",A_="\u9690\u85CF",I_="\u6D41\u7A0B\u72B6\u6001",F_="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",D_="\u5220\u9664",w_="\u7F16\u8F91",N_="\u67E5\u770B",B_="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",T_="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",L_="\u5145\u6EE1\u6574\u884C",P_="\u6700\u5C0F\u503C",R_="\u6700\u5927\u503C",$_="\u65B0\u5EFA\u6587\u6863",M_="\u91CD\u7F6E",x_="\u67E5\u8BE2",V_="\u660E\u7EC6",k_="\u6253\u5370",U_="\u4FDD\u5B58\u8349\u7A3F",W_="\u4FDD\u5B58",j_="\u53D6\u6D88",H_="\u4E0A\u4F20\u56FE\u7247",G_="\u53D1\u8D77\u7B7E\u7F72",q_="\u4E0A\u4F20\u9644\u4EF6",K_="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",X_={isNotNumber:ie,isNotString:ve,isNotObject:_o,isNotArray:lr,isNotBoolean:ho,runtimeRequired:mo,pleaseEnterCaption:hn,pleaseEnterCaptionTip:tt,pleaseEnterRowCaption:mn,pleaseEnterPlaceholder:xc,pleaseEnterFieldCode:Vc,pleaseEnterForm:kc,pleaseEnterList:Uc,pleaseEnterProcess:Wc,pleaseEnterLabel:jc,pleaseEnterValue:Hc,bizKeyNotBindFiled:Gc,pleaseSelectOneField:qc,pleaseEnterNumberRange:Kc,pleaseEnterAValueGreaterThanMin:Xc,pleaseEnterAValueLessThanMax:Jc,numberRangeSetError:zc,stringRangeError:Qc,attachmentMaxSize:Zc,pleaseEnterTotalScoreSetting:Yc,theTotalScoreMustNotBeLessThan1:ef,scoreDefaultValueRange:tf,attachmentLimitError:nf,PleaseReselectTheOptionalQuantity:rf,TheMaximumLengthIsGreaterThanTheMinimumLength:of,TheMinimumLengthIsGreaterThanTheMaximumLength:uf,PleaseSelectTheCorrectOptionSettings:af,optionIdIsRepeat:sf,optionIsRequired:lf,pleaseEnterDataCode:cf,pleaseEnterValueFieldCode:ff,pleaseEnterSvcCode:df,pleaseBindAtLeastOneDisplayValue:pf,pleaseSelectProvince:_f,pleaseSelectCity:hf,pleaseSelectDistrict:mf,limitRowsCannotBeLessThan0:vf,TheNumberOfRowsCannotBeLessThanMinRows:gf,pleaseEnterColumnWidth:Ef,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yf,pleaseCompleteAllRulesAndConditions:bf,pleaseSelectControl:Of,pleaseSelectAtLeastOneColumn:Cf,pleaseSelectFillBackMode:Sf,pleaseSelectDashboard:Af,rootNodeIsRequired:If,theViewNameCannotBeEmpty:Ff,pleaseSelectOcrType:Df,pleaseSelectAtLeastOneFieldToFillIn:wf,pleaseChooseAtLeastOne:Nf,pleaseEnterButtonContent:Bf,pleaseEnterDataCodeInDataSetting:Tf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:Pf,pleaseBindAtLeastOneDisplayValueInDataSetting:Rf,rootNodeIsRequiredInDataSetting:$f,pleaseEnterMaxHeight:Mf,pleaseEnterWatermark:xf,pleaseEnterFileName:Vf,pleaseUploadAtLeastOnePrintTemplate:kf,pleaseAssignBusiness:Uf,pleaseAssignExternal:Wf,pleaseEnterAliasCode:jf,pleaseSelectDataCode:Hf,pleaseSelectSvcCode:Gf,pleaseSelectJoinFieldCode:qf,pleaseSelectMainFieldCode:Kf,pleaseSelectSortFieldCode:Xf,batchDeleteButton:Jf,batchPrintListButton:zf,batchPrintRecordList:Qf,button:Zf,createFormListButton:Yf,dashboard:ed,divider:td,exportListButton:nd,formSelectButton:rd,importRecordListButton:od,invoiceCheckButton:id,link:ud,listSelectButton:ad,ListViewSelect:sd,operationButton:ld,pagination:cd,submissionRecordListButton:fd,text:dd,textOcrButton:pd,title:_d,approvalStatusColumn:hd,array:md,autoNumber:vd,custom:gd,decimal:Ed,department:yd,employee:bd,file:Od,image:Cd,location:Sd,operation:Ad,order:Id,people:Fd,long:Dd,timescope:wd,timestamp:Nd,varchar:Bd,gridLayoutWrap:Td,gridTable:Ld,subTable:Pd,address:Rd,amount:$d,calc:Md,checkBox:xd,electronicSignature:Vd,input:kd,number:Ud,organizationSelection:Wd,radio:jd,richText:Hd,score:Gd,searchNumberRange:qd,select:Kd,selectMultiple:Xd,selectRelation:Jd,textarea:zd,tree:Qd,vueFormItem:Zd,vuePage:Yd,WPS:ep,actionBar:tp,advancedContainer:np,cardGroup:rp,col:op,dataView:ip,grid:up,gridLayoutContainer:ap,gridRow:sp,listView:lp,page:cp,position:fp,positioningContainer:dp,row:pp,subtableColumn:_p,subtableRow:hp,tab:mp,tabPane:vp,toolbox:gp,batchSubmissionListButton:Ep,exportRecordListButton:yp,listViewSelect:bp,endTime:Op,startTime:Cp,unit:Sp,result:Ap,currency:Ip,endDate:Fp,startDate:Dp,pleaseSelectCompanyName:wp,pleaseSelectPhoneOrEmail:Np,pleaseSelectSignType:Bp,pleaseSelectSigner:Tp,pleaseSelectOnlyOne:Lp,pleaseSelectSignFile:Pp,pleaseSelect:Rp,pleaseSelectOrg:$p,pleaseSelectDept:Mp,pleaseSelectEndDate:xp,pleaseSelectStartDate:Vp,pleaseChooseAddress:kp,modalConfirm:Up,tabChange:Wp,rowSelected:jp,listDataImport:Hp,rowDelete:Gp,rowClick:qp,cellRender:Kp,onClickBtn:Xp,rename:Jp,onSaveFile:zp,onOpenFile:Qp,onFocus:Zp,onBlur:Yp,onInput:e_,listDataAdd:t_,listDataDelete:n_,listDataBack:r_,listDataCreate:o_,listDataChange:i_,search:u_,valueChange:a_,finished:s_,click:l_,pleaseEnterNameorEmail:c_,pleaseEnterDate:f_,pleaseEnterAutonumber:d_,pleaseEnter:p_,defaultTemplate:__,left:h_,top:m_,default:"\u666E\u901A",readonly:v_,required:g_,textTip:E_,hideCaption:y_,titleRequired:b_,organizationalForm:O_,businessType:C_,deleteConfirm:S_,hide:A_,processStatus:I_,approvedDocuments:F_,delete:D_,edit:w_,view:N_,loadCtrlErrorTip:B_,loadCtrlError:T_,fullLine:L_,min:P_,max:R_,createWPS:$_,reset:M_,query:x_,detailed:V_,print:k_,draft:U_,save:W_,cancel:j_,uploadImg:H_,signature:G_,uploadFile:q_,linkContent:K_},J_="Please enter a number",z_="Please enter a string",Q_="Please enter an object",Z_="Please enter an array",Y_="Please enter a boolean",eh="{caption} Required",th="Please enter the title",nh="Please enter the bubble prompt",rh="Please enter the row title",oh="Please enter the prompt text",ih="Please bind data items",uh="Please bind the form",ah="Please bind the list",sh="Please bind the process",lh="Please enter the displayed value",ch="Please enter the stored value",fh="The document number is not bound to the data item",dh="Please select at least one display field",ph="Please enter a value greater than or equal to {min} and less than or equal to {max}",_h="Please enter a value greater than or equal to {min}",hh="Please enter a value less than or equal to {max}",mh="The value range is set incorrectly",vh="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",gh="The attachment size must be between 0MB and 1000MB",Eh="Please fill in the total score setting",yh="The total score cannot be less than 1",bh="The default value must be between {min} and {max}",Oh="The number of attachment uploads exceeds the limit",Ch="Please re-select the optional quantity",Sh="The maximum length of the control must be greater than the minimum length",Ah="The minimum length of the control must be less than the maximum length",Ih="Please select the correct option setting",Fh="Option ID cannot be repeated",Dh="Please enter at least one option",wh="Please bind the data source",Nh="Please bind the stored value",Bh="Please bind the service",Th="At least one display value must be bound",Lh="Please select a province",Ph="Please select a city",Rh="Please select a district",$h="The minimum number of lines to fill in cannot be less than 0",Mh="The number of rows cannot be less than {min} rows",xh="Please enter the column width",Vh="Please set the logical relationship of all rule conditions",kh="Please complete all rules and conditions",Uh="please select control",Wh="Please select the dashboard",jh="View name cannot be empty",Hh="Please select recognition type",Gh="Please select at least one field to fill in",qh="Please select at least one",Kh="Please enter the button title",Xh="Please bind the business model in the data settings",Jh="Please bind storage values in data settings",zh="Please bind the service in the data settings",Qh="Please bind at least one display value in the data settings",Zh="Please select the root node in the data settings",Yh="Please enter the maximum height",em="The input content cannot be empty",tm="Watermark cannot be empty",nm="File name cannot be empty",rm="Please upload at least one printing template!\uFF01",om="Please select a specific business department",im="Please select a specified external organization",um="Please enter a sub table alias",am="Please select the associated table to set the business model",sm="Please select the association table to set the binding service",lm="Select associated sub table fields",cm="Please select the associated main table field",fm="Please select the sort field",dm="\u6279\u91CF\u5220\u9664",pm="\u6279\u91CF\u6253\u5370",_m="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",hm="\u6309\u94AE",mm="\u521B\u5EFA\u5355\u636E",vm="\u4EEA\u8868\u76D8",gm="\u5206\u5272\u7EBF",Em="\u5BFC\u51FA",ym="\u8868\u5355\u64CD\u4F5C",bm="\u5BFC\u5165",Om="\u53D1\u7968\u8BC6\u522B",Cm="\u94FE\u63A5",Sm="\u5217\u8868\u9009\u62E9",Am="\u5217\u8868\u89C6\u56FE",Im="\u64CD\u4F5C\u6309\u94AE",Fm="\u5206\u9875",Dm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",wm="\u8BF4\u660E\u6587\u5B57",Nm="\u6587\u5B57\u8BC6\u522B",Bm="\u6807\u9898\u7EC4\u4EF6",Tm="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Lm="\u6570\u7EC4",Pm="\u81EA\u52A8\u7F16\u53F7",Rm="\u81EA\u5B9A\u4E49",$m="\u6570\u503C",Mm="\u90E8\u95E8",xm="\u4EBA\u5458",Vm="\u9644\u4EF6",km="\u56FE\u7247",Um="\u5730\u5740",Wm="\u64CD\u4F5C",jm="\u5E8F\u53F7",Hm="\u4EBA\u5458",Gm="\u957F\u6587\u672C",qm="\u65E5\u671F\u533A\u95F4",Km="\u65E5\u671F",Xm="\u77ED\u6587\u672C",Jm="\u6362\u884C\u5BB9\u5668Wrap",zm="\u8868\u683C",Qm="\u660E\u7EC6\u5B50\u8868",Zm="\u5730\u5740",Ym="\u91D1\u989D",ev="\u8BA1\u7B97\u516C\u5F0F",tv="\u591A\u9009",nv="\u7535\u5B50\u7B7E\u7AE0",rv="\u5355\u884C\u6587\u672C",ov="\u6570\u5B57",iv="\u4E1A\u52A1\u7EC4\u7EC7",uv="\u5355\u9009",av="\u5BCC\u6587\u672C",sv="\u8BC4\u5206",lv="\u6570\u5B57\u533A\u95F4",cv="\u4E0B\u62C9\u5355\u9009",fv="\u4E0B\u62C9\u591A\u9009",dv="\u5173\u8054\u5355\u9009",pv="\u591A\u884C\u6587\u672C",_v="\u6811",hv="Vue\u5BB9\u5668",mv="Vue\u9875\u9762",vv="\u5728\u7EBF\u6587\u6863",gv="\u6309\u94AE\u64CD\u4F5C\u680F",Ev="\u9AD8\u7EA7\u5BB9\u5668",yv="\u5206\u7EC4",bv="\u6805\u683C\u5217",Ov="\u6570\u636E\u5BB9\u5668",Cv="\u753B\u5E03",Sv="\u6362\u884C\u5BB9\u5668",Av="\u6805\u683C\u7B49\u5206\u884C",Iv="\u5217\u8868\u5BB9\u5668",Fv="\u81EA\u7531\u9875\u9762",Dv="\u5B9A\u4F4D\u5B50\u5BB9\u5668",wv="\u5B9A\u4F4D\u5BB9\u5668",Nv="\u6805\u683C\u5E03\u5C40",Bv="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Tv="\u660E\u7EC6\u5B50\u8868\u884C",Lv="\u6807\u7B7E\u9875",Pv="\u6807\u7B7E\u5355\u5143",Rv="\u5DE5\u5177\u680F",$v="\u6279\u91CF\u63D0\u4EA4",Mv="\u5BFC\u51FA\u8BB0\u5F55",xv="\u5217\u8868\u89C6\u56FE",Vv={isNotNumber:J_,isNotString:z_,isNotObject:Q_,isNotArray:Z_,isNotBoolean:Y_,runtimeRequired:eh,pleaseEnterCaption:th,pleaseEnterCaptionTip:nh,pleaseEnterRowCaption:rh,pleaseEnterPlaceholder:oh,pleaseEnterFieldCode:ih,pleaseEnterForm:uh,pleaseEnterList:ah,pleaseEnterProcess:sh,pleaseEnterLabel:lh,pleaseEnterValue:ch,bizKeyNotBindFiled:fh,pleaseSelectOneField:dh,pleaseEnterNumberRange:ph,pleaseEnterAValueGreaterThanMin:_h,pleaseEnterAValueLessThanMax:hh,numberRangeSetError:mh,stringRangeError:vh,attachmentMaxSize:gh,pleaseEnterTotalScoreSetting:Eh,theTotalScoreMustNotBeLessThan1:yh,scoreDefaultValueRange:bh,attachmentLimitError:Oh,PleaseReselectTheOptionalQuantity:Ch,TheMaximumLengthIsGreaterThanTheMinimumLength:Sh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ah,PleaseSelectTheCorrectOptionSettings:Ih,optionIdIsRepeat:Fh,optionIsRequired:Dh,pleaseEnterDataCode:wh,pleaseEnterValueFieldCode:Nh,pleaseEnterSvcCode:Bh,pleaseBindAtLeastOneDisplayValue:Th,pleaseSelectProvince:Lh,pleaseSelectCity:Ph,pleaseSelectDistrict:Rh,limitRowsCannotBeLessThan0:$h,TheNumberOfRowsCannotBeLessThanMinRows:Mh,pleaseEnterColumnWidth:xh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Vh,pleaseCompleteAllRulesAndConditions:kh,pleaseSelectControl:Uh,pleaseSelectDashboard:Wh,theViewNameCannotBeEmpty:jh,pleaseSelectOcrType:Hh,pleaseSelectAtLeastOneFieldToFillIn:Gh,pleaseChooseAtLeastOne:qh,pleaseEnterButtonContent:Kh,pleaseEnterDataCodeInDataSetting:Xh,pleaseEnterValueFieldCodeInDataSetting:Jh,pleaseEnterSvcCodeInDataSetting:zh,pleaseBindAtLeastOneDisplayValueInDataSetting:Qh,rootNodeIsRequiredInDataSetting:Zh,pleaseEnterMaxHeight:Yh,pleaseEnter:em,pleaseEnterWatermark:tm,pleaseEnterFileName:nm,pleaseUploadAtLeastOnePrintTemplate:rm,pleaseAssignBusiness:om,pleaseAssignExternal:im,pleaseEnterAliasCode:um,pleaseSelectDataCode:am,pleaseSelectSvcCode:sm,pleaseSelectJoinFieldCode:lm,pleaseSelectMainFieldCode:cm,pleaseSelectSortFieldCode:fm,batchDeleteButton:dm,batchPrintListButton:pm,batchPrintRecordList:_m,button:hm,createFormListButton:mm,dashboard:vm,divider:gm,exportListButton:Em,formSelectButton:ym,importRecordListButton:bm,invoiceCheckButton:Om,link:Cm,listSelectButton:Sm,ListViewSelect:Am,operationButton:Im,pagination:Fm,submissionRecordListButton:Dm,text:wm,textOcrButton:Nm,title:Bm,approvalStatusColumn:Tm,array:Lm,autoNumber:Pm,custom:Rm,decimal:$m,department:Mm,employee:xm,file:Vm,image:km,location:Um,operation:Wm,order:jm,people:Hm,long:Gm,timescope:qm,timestamp:Km,varchar:Xm,gridLayoutWrap:Jm,gridTable:zm,subTable:Qm,address:Zm,amount:Ym,calc:ev,checkBox:tv,electronicSignature:nv,input:rv,number:ov,organizationSelection:iv,radio:uv,richText:av,score:sv,searchNumberRange:lv,select:cv,selectMultiple:fv,selectRelation:dv,textarea:pv,tree:_v,vueFormItem:hv,vuePage:mv,WPS:vv,actionBar:gv,advancedContainer:Ev,cardGroup:yv,col:bv,dataView:Ov,grid:Cv,gridLayoutContainer:Sv,gridRow:Av,listView:Iv,page:Fv,position:Dv,positioningContainer:wv,row:Nv,subtableColumn:Bv,subtableRow:Tv,tab:Lv,tabPane:Pv,toolbox:Rv,batchSubmissionListButton:$v,exportRecordListButton:Mv,listViewSelect:xv},kv="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uv="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wv="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jv="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hv="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gv="{caption}\u5FC5\u9808",qv="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kv="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xv="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jv="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zv="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qv="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zv="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yv="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",e0="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",t0="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",n0="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",r0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o0="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i0="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u0="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",a0="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",s0="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",l0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",f0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",d0="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",p0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",_0="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h0="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",m0="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",v0="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g0="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",E0="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",y0="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b0="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",O0="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",C0="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",S0="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",A0="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",I0="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",F0="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",D0="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",w0="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",N0="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",B0="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",T0="please select control",L0="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P0="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",R0="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",M0="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x0="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",V0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",U0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",W0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H0="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",G0="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",q0="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",K0="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",X0="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",J0="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",z0="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q0="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Z0="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Y0="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eg="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",tg="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ng="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rg="\u6279\u91CF\u5220\u9664",og="\u6279\u91CF\u6253\u5370",ig="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ug="\u6309\u94AE",ag="\u521B\u5EFA\u5355\u636E",sg="\u4EEA\u8868\u76D8",lg="\u5206\u5272\u7EBF",cg="\u5BFC\u51FA",fg="\u8868\u5355\u64CD\u4F5C",dg="\u5BFC\u5165",pg="\u53D1\u7968\u8BC6\u522B",_g="\u94FE\u63A5",hg="\u5217\u8868\u9009\u62E9",mg="\u5217\u8868\u89C6\u56FE",vg="\u64CD\u4F5C\u6309\u94AE",gg="\u5206\u9875",Eg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",yg="\u8BF4\u660E\u6587\u5B57",bg="\u6587\u5B57\u8BC6\u522B",Og="\u6807\u9898\u7EC4\u4EF6",Cg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Sg="\u6570\u7EC4",Ag="\u81EA\u52A8\u7F16\u53F7",Ig="\u81EA\u5B9A\u4E49",Fg="\u6570\u503C",Dg="\u90E8\u95E8",wg="\u4EBA\u5458",Ng="\u9644\u4EF6",Bg="\u56FE\u7247",Tg="\u5730\u5740",Lg="\u64CD\u4F5C",Pg="\u5E8F\u53F7",Rg="\u4EBA\u5458",$g="\u957F\u6587\u672C",Mg="\u65E5\u671F\u533A\u95F4",xg="\u65E5\u671F",Vg="\u77ED\u6587\u672C",kg="\u6362\u884C\u5BB9\u5668Wrap",Ug="\u8868\u683C",Wg="\u660E\u7EC6\u5B50\u8868",jg="\u5730\u5740",Hg="\u91D1\u989D",Gg="\u8BA1\u7B97\u516C\u5F0F",qg="\u591A\u9009",Kg="\u7535\u5B50\u7B7E\u7AE0",Xg="\u5355\u884C\u6587\u672C",Jg="\u6570\u5B57",zg="\u4E1A\u52A1\u7EC4\u7EC7",Qg="\u5355\u9009",Zg="\u5BCC\u6587\u672C",Yg="\u8BC4\u5206",eE="\u6570\u5B57\u533A\u95F4",tE="\u4E0B\u62C9\u5355\u9009",nE="\u4E0B\u62C9\u591A\u9009",rE="\u5173\u8054\u5355\u9009",oE="\u591A\u884C\u6587\u672C",iE="\u6811",uE="Vue\u5BB9\u5668",aE="Vue\u9875\u9762",sE="\u5728\u7EBF\u6587\u6863",lE="\u6309\u94AE\u64CD\u4F5C\u680F",cE="\u9AD8\u7EA7\u5BB9\u5668",fE="\u5206\u7EC4",dE="\u6805\u683C\u5217",pE="\u6570\u636E\u5BB9\u5668",_E="\u753B\u5E03",hE="\u6362\u884C\u5BB9\u5668",mE="\u6805\u683C\u7B49\u5206\u884C",vE="\u5217\u8868\u5BB9\u5668",gE="\u81EA\u7531\u9875\u9762",EE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",yE="\u5B9A\u4F4D\u5BB9\u5668",bE="\u6805\u683C\u5E03\u5C40",OE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",CE="\u660E\u7EC6\u5B50\u8868\u884C",SE="\u6807\u7B7E\u9875",AE="\u6807\u7B7E\u5355\u5143",IE="\u5DE5\u5177\u680F",FE="\u6279\u91CF\u63D0\u4EA4",DE="\u5BFC\u51FA\u8BB0\u5F55",wE="\u5217\u8868\u89C6\u56FE",NE={isNotNumber:kv,isNotString:Uv,isNotObject:Wv,isNotArray:jv,isNotBoolean:Hv,runtimeRequired:Gv,pleaseEnterCaption:qv,pleaseEnterCaptionTip:Kv,pleaseEnterRowCaption:Xv,pleaseEnterPlaceholder:Jv,pleaseEnterFieldCode:zv,pleaseEnterForm:Qv,pleaseEnterList:Zv,pleaseEnterProcess:Yv,pleaseEnterLabel:e0,pleaseEnterValue:t0,bizKeyNotBindFiled:n0,pleaseSelectOneField:r0,pleaseEnterNumberRange:o0,pleaseEnterAValueGreaterThanMin:i0,pleaseEnterAValueLessThanMax:u0,numberRangeSetError:a0,stringRangeError:s0,attachmentMaxSize:l0,pleaseEnterTotalScoreSetting:c0,theTotalScoreMustNotBeLessThan1:f0,scoreDefaultValueRange:d0,attachmentLimitError:p0,PleaseReselectTheOptionalQuantity:_0,TheMaximumLengthIsGreaterThanTheMinimumLength:h0,TheMinimumLengthIsGreaterThanTheMaximumLength:m0,PleaseSelectTheCorrectOptionSettings:v0,optionIdIsRepeat:g0,optionIsRequired:E0,pleaseEnterDataCode:y0,pleaseEnterValueFieldCode:b0,pleaseEnterSvcCode:O0,pleaseBindAtLeastOneDisplayValue:C0,pleaseSelectProvince:S0,pleaseSelectCity:A0,pleaseSelectDistrict:I0,limitRowsCannotBeLessThan0:F0,TheNumberOfRowsCannotBeLessThanMinRows:D0,pleaseEnterColumnWidth:w0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:N0,pleaseCompleteAllRulesAndConditions:B0,pleaseSelectControl:T0,pleaseSelectDashboard:L0,theViewNameCannotBeEmpty:P0,pleaseSelectOcrType:R0,pleaseSelectAtLeastOneFieldToFillIn:$0,pleaseChooseAtLeastOne:M0,pleaseEnterButtonContent:x0,pleaseEnterDataCodeInDataSetting:V0,pleaseEnterValueFieldCodeInDataSetting:k0,pleaseEnterSvcCodeInDataSetting:U0,pleaseBindAtLeastOneDisplayValueInDataSetting:W0,rootNodeIsRequiredInDataSetting:j0,pleaseEnterMaxHeight:H0,pleaseEnter:G0,pleaseEnterWatermark:q0,pleaseEnterFileName:K0,pleaseUploadAtLeastOnePrintTemplate:X0,pleaseAssignBusiness:J0,pleaseAssignExternal:z0,pleaseEnterAliasCode:Q0,pleaseSelectDataCode:Z0,pleaseSelectSvcCode:Y0,pleaseSelectJoinFieldCode:eg,pleaseSelectMainFieldCode:tg,pleaseSelectSortFieldCode:ng,batchDeleteButton:rg,batchPrintListButton:og,batchPrintRecordList:ig,button:ug,createFormListButton:ag,dashboard:sg,divider:lg,exportListButton:cg,formSelectButton:fg,importRecordListButton:dg,invoiceCheckButton:pg,link:_g,listSelectButton:hg,ListViewSelect:mg,operationButton:vg,pagination:gg,submissionRecordListButton:Eg,text:yg,textOcrButton:bg,title:Og,approvalStatusColumn:Cg,array:Sg,autoNumber:Ag,custom:Ig,decimal:Fg,department:Dg,employee:wg,file:Ng,image:Bg,location:Tg,operation:Lg,order:Pg,people:Rg,long:$g,timescope:Mg,timestamp:xg,varchar:Vg,gridLayoutWrap:kg,gridTable:Ug,subTable:Wg,address:jg,amount:Hg,calc:Gg,checkBox:qg,electronicSignature:Kg,input:Xg,number:Jg,organizationSelection:zg,radio:Qg,richText:Zg,score:Yg,searchNumberRange:eE,select:tE,selectMultiple:nE,selectRelation:rE,textarea:oE,tree:iE,vueFormItem:uE,vuePage:aE,WPS:sE,actionBar:lE,advancedContainer:cE,cardGroup:fE,col:dE,dataView:pE,grid:_E,gridLayoutContainer:hE,gridRow:mE,listView:vE,page:gE,position:EE,positioningContainer:yE,row:bE,subtableColumn:OE,subtableRow:CE,tab:SE,tabPane:AE,toolbox:IE,batchSubmissionListButton:FE,exportRecordListButton:DE,listViewSelect:wE},cr={zhCN:X_,enUS:Vv,jaJP:NE},Ru;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Ru||(Ru={}));var $u;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})($u||($u={}));var vo,go=(vo=window.localStorage.getItem("locale"))!==null&&vo!==void 0?vo:"zh-CN",BE=function(){},ge;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(ge||(ge={}));var Mu;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(Mu||(Mu={}));var P;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(P||(P={}));var xu;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(xu||(xu={}));var Ke;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(Ke||(Ke={}));var Vu;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Vu||(Vu={}));var ku="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",TE=ku+"0123456789";function Eo(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?ku:TE,o=Math.random()*r.length;t+=r[parseInt(String(o),10)]}return t}function yo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function LE(e){if(Array.isArray(e))return yo(e)}function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uu(e,t,n){return t=vn(t),xE(e,Oo()?Reflect.construct(t,n||[],vn(e).constructor):t.apply(e,n))}function Wu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,n){return Oo()?fr=Reflect.construct:fr=function(o,i,u){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(o,a),l=new s;return u&&gn(l,u.prototype),l},fr.apply(null,arguments)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(e)}function ju(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gn(e,t)}function RE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $E(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ME(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xE(e,t){return t&&(VE(t)==="object"||typeof t=="function")?t:PE(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gn(e,t)}function Hu(e){return LE(e)||$E(e)||kE(e)||ME()}function VE(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(e,t){if(!!e){if(typeof e=="string")return yo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yo(e,t)}}function bo(e){var t=typeof Map=="function"?new Map:void 0;return bo=function(r){if(r===null||!RE(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return fr(r,arguments,vn(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),gn(o,r)},bo(e)}function Oo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Oo=function(){return!!e})()}var Co=console;function dr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=Co).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Hu(o)))}function Gu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=Co).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Hu(o)))}function UE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var So=function(e){ju(t,e);function t(n){Wu(this,t);var r;return r=Uu(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?UE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(bo(Error)),WE=function(e){ju(t,e);function t(n){Wu(this,t);var r;return r=Uu(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(So);function En(e){throw new So(e)}function qu(e){throw new WE(e)}function jE(e){Co.error(new So(e))}/*!
|
|
2
|
+
* shared v9.14.0
|
|
3
|
+
* (c) 2024 kazuya kawaguchi
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/const Ue=typeof window!="undefined";let Be,Dt;if(process.env.NODE_ENV!=="production"){const e=Ue&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Be=t=>{e.mark(t)},Dt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const HE=/\{([0-9a-zA-Z]+)\}/g;function yn(e,...t){return t.length===1&&H(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(HE,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const We=(e,t=!1)=>t?Symbol.for(e):Symbol(e),GE=(e,t,n)=>qE({l:e,k:t,s:n}),qE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),KE=e=>zu(e)==="[object Date]",dt=e=>zu(e)==="[object RegExp]",pr=e=>M(e)&&Object.keys(e).length===0,fe=Object.assign;let Ku;const nt=()=>Ku||(Ku=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Xu(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const XE=Object.prototype.hasOwnProperty;function _r(e,t){return XE.call(e,t)}const Y=Array.isArray,Q=e=>typeof e=="function",T=e=>typeof e=="string",x=e=>typeof e=="boolean",H=e=>e!==null&&typeof e=="object",JE=e=>H(e)&&Q(e.then)&&Q(e.catch),Ju=Object.prototype.toString,zu=e=>Ju.call(e),M=e=>{if(!H(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zE=e=>e==null?"":Y(e)||M(e)&&e.toString===Ju?JSON.stringify(e,null,2):String(e);function Ao(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Qu=2;function QE(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const i=[];for(let u=0;u<r.length;u++)if(o+=r[u].length+1,o>=t){for(let a=u-Qu;a<=u+Qu||n>o;a++){if(a<0||a>=r.length)continue;const s=a+1;i.push(`${s}${" ".repeat(3-String(s).length)}| ${r[a]}`);const l=r[a].length;if(a===u){const p=t-(o-l)+1,c=Math.max(1,n>o?l-p:n-t);i.push(" | "+" ".repeat(p)+"^".repeat(c))}else if(a>u){if(n>o){const p=Math.max(Math.min(n-o,l),1);i.push(" | "+"^".repeat(p))}o+=l+1}}break}return i.join(`
|
|
6
|
+
`)}function hr(e){let t=e;return()=>++t}function de(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Zu={};function Yu(e){Zu[e]||(Zu[e]=!0,de(e))}function Io(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}const mr=e=>!H(e)||Y(e);function vr(e,t){if(mr(e)||mr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{mr(r[i])||mr(o[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]})})}}/*!
|
|
7
|
+
* message-compiler v9.14.0
|
|
8
|
+
* (c) 2024 kazuya kawaguchi
|
|
9
|
+
* Released under the MIT License.
|
|
10
|
+
*/function ZE(e,t,n){return{line:e,column:t,offset:n}}function gr(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Er={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},YE={[Er.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ey(e,t,...n){const r=process.env.NODE_ENV!=="production"?yn(YE[e]||"",...n||[]):e,o={message:String(r),code:e};return t&&(o.location=t),o}const R={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},ty={[R.EXPECTED_TOKEN]:"Expected token: '{0}'",[R.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[R.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[R.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[R.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[R.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[R.EMPTY_PLACEHOLDER]:"Empty placeholder",[R.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[R.INVALID_LINKED_FORMAT]:"Invalid linked format",[R.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[R.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[R.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[R.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[R.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[R.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Wt(e,t,n={}){const{domain:r,messages:o,args:i}=n,u=process.env.NODE_ENV!=="production"?yn((o||ty)[e]||"",...i||[]):e,a=new SyntaxError(String(u));return a.code=e,t&&(a.location=t),a.domain=r,a}function ny(e){throw e}const ry=/<\/?[\w\s="/.':;#-\/]+>/,oy=e=>ry.test(e),rt=" ",iy="\r",be=`
|
|
11
|
+
`,uy=String.fromCharCode(8232),ay=String.fromCharCode(8233);function sy(e){const t=e;let n=0,r=1,o=1,i=0;const u=A=>t[A]===iy&&t[A+1]===be,a=A=>t[A]===be,s=A=>t[A]===ay,l=A=>t[A]===uy,p=A=>u(A)||a(A)||s(A)||l(A),c=()=>n,f=()=>r,y=()=>o,I=()=>i,g=A=>u(A)||s(A)||l(A)?be:t[A],S=()=>g(n),h=()=>g(n+i);function C(){return i=0,p(n)&&(r++,o=0),u(n)&&n++,n++,o++,t[n]}function m(){return u(n+i)&&i++,i++,t[n+i]}function v(){n=0,r=1,o=1,i=0}function E(A=0){i=A}function b(){const A=n+i;for(;A!==n;)C();i=0}return{index:c,line:f,column:y,peekOffset:I,charAt:g,currentChar:S,currentPeek:h,next:C,peek:m,reset:v,resetPeek:E,skipToPeek:b}}const pt=void 0,ly=".",ea="'",cy="tokenizer";function fy(e,t={}){const n=t.location!==!1,r=sy(e),o=()=>r.index(),i=()=>ZE(r.line(),r.column(),r.index()),u=i(),a=o(),s={currentType:14,offset:a,startLoc:u,endLoc:u,lastType:14,lastOffset:a,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},l=()=>s,{onError:p}=t;function c(d,_,F,...L){const re=l();if(_.column+=F,_.offset+=F,p){const Z=n?gr(re.startLoc,_):null,z=Wt(d,Z,{domain:cy,args:L});p(z)}}function f(d,_,F){d.endLoc=i(),d.currentType=_;const L={type:_};return n&&(L.loc=gr(d.startLoc,d.endLoc)),F!=null&&(L.value=F),L}const y=d=>f(d,14);function I(d,_){return d.currentChar()===_?(d.next(),_):(c(R.EXPECTED_TOKEN,i(),0,_),"")}function g(d){let _="";for(;d.currentPeek()===rt||d.currentPeek()===be;)_+=d.currentPeek(),d.peek();return _}function S(d){const _=g(d);return d.skipToPeek(),_}function h(d){if(d===pt)return!1;const _=d.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function C(d){if(d===pt)return!1;const _=d.charCodeAt(0);return _>=48&&_<=57}function m(d,_){const{currentType:F}=_;if(F!==2)return!1;g(d);const L=h(d.currentPeek());return d.resetPeek(),L}function v(d,_){const{currentType:F}=_;if(F!==2)return!1;g(d);const L=d.currentPeek()==="-"?d.peek():d.currentPeek(),re=C(L);return d.resetPeek(),re}function E(d,_){const{currentType:F}=_;if(F!==2)return!1;g(d);const L=d.currentPeek()===ea;return d.resetPeek(),L}function b(d,_){const{currentType:F}=_;if(F!==8)return!1;g(d);const L=d.currentPeek()===".";return d.resetPeek(),L}function A(d,_){const{currentType:F}=_;if(F!==9)return!1;g(d);const L=h(d.currentPeek());return d.resetPeek(),L}function D(d,_){const{currentType:F}=_;if(!(F===8||F===12))return!1;g(d);const L=d.currentPeek()===":";return d.resetPeek(),L}function N(d,_){const{currentType:F}=_;if(F!==10)return!1;const L=()=>{const Z=d.currentPeek();return Z==="{"?h(d.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===rt||!Z?!1:Z===be?(d.peek(),L()):V(d,!1)},re=L();return d.resetPeek(),re}function G(d){g(d);const _=d.currentPeek()==="|";return d.resetPeek(),_}function Ie(d){const _=g(d),F=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:F,hasSpace:_.length>0}}function V(d,_=!0){const F=(re=!1,Z="",z=!1)=>{const O=d.currentPeek();return O==="{"?Z==="%"?!1:re:O==="@"||!O?Z==="%"?!0:re:O==="%"?(d.peek(),F(re,"%",!0)):O==="|"?Z==="%"||z?!0:!(Z===rt||Z===be):O===rt?(d.peek(),F(!0,rt,z)):O===be?(d.peek(),F(!0,be,z)):!0},L=F();return _&&d.resetPeek(),L}function le(d,_){const F=d.currentChar();return F===pt?pt:_(F)?(d.next(),F):null}function Ve(d){const _=d.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function Xn(d){return le(d,Ve)}function et(d){const _=d.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function Jn(d){return le(d,et)}function zn(d){const _=d.charCodeAt(0);return _>=48&&_<=57}function Qn(d){return le(d,zn)}function Zn(d){const _=d.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function Yn(d){return le(d,Zn)}function ke(d){let _="",F="";for(;_=Qn(d);)F+=_;return F}function fn(d){S(d);const _=d.currentChar();return _!=="%"&&c(R.EXPECTED_TOKEN,i(),0,_),d.next(),"%"}function dn(d){let _="";for(;;){const F=d.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(V(d))_+=F,d.next();else break;else if(F===rt||F===be)if(V(d))_+=F,d.next();else{if(G(d))break;_+=F,d.next()}else _+=F,d.next()}return _}function er(d){S(d);let _="",F="";for(;_=Jn(d);)F+=_;return d.currentChar()===pt&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),F}function tr(d){S(d);let _="";return d.currentChar()==="-"?(d.next(),_+=`-${ke(d)}`):_+=ke(d),d.currentChar()===pt&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),_}function nr(d){return d!==ea&&d!==be}function fo(d){S(d),I(d,"'");let _="",F="";for(;_=le(d,nr);)_==="\\"?F+=rr(d):F+=_;const L=d.currentChar();return L===be||L===pt?(c(R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),L===be&&(d.next(),I(d,"'")),F):(I(d,"'"),F)}function rr(d){const _=d.currentChar();switch(_){case"\\":case"'":return d.next(),`\\${_}`;case"u":return pn(d,_,4);case"U":return pn(d,_,6);default:return c(R.UNKNOWN_ESCAPE_SEQUENCE,i(),0,_),""}}function pn(d,_,F){I(d,_);let L="";for(let re=0;re<F;re++){const Z=Yn(d);if(!Z){c(R.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${_}${L}${d.currentChar()}`);break}L+=Z}return`\\${_}${L}`}function or(d){return d!=="{"&&d!=="}"&&d!==rt&&d!==be}function ir(d){S(d);let _="",F="";for(;_=le(d,or);)F+=_;return F}function ur(d){let _="",F="";for(;_=Xn(d);)F+=_;return F}function B(d){const _=F=>{const L=d.currentChar();return L==="{"||L==="%"||L==="@"||L==="|"||L==="("||L===")"||!L||L===rt?F:(F+=L,d.next(),_(F))};return _("")}function K(d){S(d);const _=I(d,"|");return S(d),_}function ar(d,_){let F=null;switch(d.currentChar()){case"{":return _.braceNest>=1&&c(R.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),d.next(),F=f(_,2,"{"),S(d),_.braceNest++,F;case"}":return _.braceNest>0&&_.currentType===2&&c(R.EMPTY_PLACEHOLDER,i(),0),d.next(),F=f(_,3,"}"),_.braceNest--,_.braceNest>0&&S(d),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),F;case"@":return _.braceNest>0&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),F=Vt(d,_)||y(_),_.braceNest=0,F;default:{let re=!0,Z=!0,z=!0;if(G(d))return _.braceNest>0&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),F=f(_,1,K(d)),_.braceNest=0,_.inLinked=!1,F;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return c(R.UNTERMINATED_CLOSING_BRACE,i(),0),_.braceNest=0,sr(d,_);if(re=m(d,_))return F=f(_,5,er(d)),S(d),F;if(Z=v(d,_))return F=f(_,6,tr(d)),S(d),F;if(z=E(d,_))return F=f(_,7,fo(d)),S(d),F;if(!re&&!Z&&!z)return F=f(_,13,ir(d)),c(R.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,F.value),S(d),F;break}}return F}function Vt(d,_){const{currentType:F}=_;let L=null;const re=d.currentChar();switch((F===8||F===9||F===12||F===10)&&(re===be||re===rt)&&c(R.INVALID_LINKED_FORMAT,i(),0),re){case"@":return d.next(),L=f(_,8,"@"),_.inLinked=!0,L;case".":return S(d),d.next(),f(_,9,".");case":":return S(d),d.next(),f(_,10,":");default:return G(d)?(L=f(_,1,K(d)),_.braceNest=0,_.inLinked=!1,L):b(d,_)||D(d,_)?(S(d),Vt(d,_)):A(d,_)?(S(d),f(_,12,ur(d))):N(d,_)?(S(d),re==="{"?ar(d,_)||L:f(_,11,B(d))):(F===8&&c(R.INVALID_LINKED_FORMAT,i(),0),_.braceNest=0,_.inLinked=!1,sr(d,_))}}function sr(d,_){let F={type:14};if(_.braceNest>0)return ar(d,_)||y(_);if(_.inLinked)return Vt(d,_)||y(_);switch(d.currentChar()){case"{":return ar(d,_)||y(_);case"}":return c(R.UNBALANCED_CLOSING_BRACE,i(),0),d.next(),f(_,3,"}");case"@":return Vt(d,_)||y(_);default:{if(G(d))return F=f(_,1,K(d)),_.braceNest=0,_.inLinked=!1,F;const{isModulo:re,hasSpace:Z}=Ie(d);if(re)return Z?f(_,0,dn(d)):f(_,4,fn(d));if(V(d))return f(_,0,dn(d));break}}return F}function Lu(){const{currentType:d,offset:_,startLoc:F,endLoc:L}=s;return s.lastType=d,s.lastOffset=_,s.lastStartLoc=F,s.lastEndLoc=L,s.offset=o(),s.startLoc=i(),r.currentChar()===pt?f(s,14):sr(r,s)}return{nextToken:Lu,currentOffset:o,currentPosition:i,context:l}}const dy="parser",py=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _y(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function hy(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(m,v,E,b,...A){const D=m.currentPosition();if(D.offset+=b,D.column+=b,n){const N=t?gr(E,D):null,G=Wt(v,N,{domain:dy,args:A});n(G)}}function i(m,v,E,b,...A){const D=m.currentPosition();if(D.offset+=b,D.column+=b,r){const N=t?gr(E,D):null;r(ey(v,N,A))}}function u(m,v,E){const b={type:m};return t&&(b.start=v,b.end=v,b.loc={start:E,end:E}),b}function a(m,v,E,b){b&&(m.type=b),t&&(m.end=v,m.loc&&(m.loc.end=E))}function s(m,v){const E=m.context(),b=u(3,E.offset,E.startLoc);return b.value=v,a(b,m.currentOffset(),m.currentPosition()),b}function l(m,v){const E=m.context(),{lastOffset:b,lastStartLoc:A}=E,D=u(5,b,A);return D.index=parseInt(v,10),m.nextToken(),a(D,m.currentOffset(),m.currentPosition()),D}function p(m,v,E){const b=m.context(),{lastOffset:A,lastStartLoc:D}=b,N=u(4,A,D);return N.key=v,E===!0&&(N.modulo=!0),m.nextToken(),a(N,m.currentOffset(),m.currentPosition()),N}function c(m,v){const E=m.context(),{lastOffset:b,lastStartLoc:A}=E,D=u(9,b,A);return D.value=v.replace(py,_y),m.nextToken(),a(D,m.currentOffset(),m.currentPosition()),D}function f(m){const v=m.nextToken(),E=m.context(),{lastOffset:b,lastStartLoc:A}=E,D=u(8,b,A);return v.type!==12?(o(m,R.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),D.value="",a(D,b,A),{nextConsumeToken:v,node:D}):(v.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,je(v)),D.value=v.value||"",a(D,m.currentOffset(),m.currentPosition()),{node:D})}function y(m,v){const E=m.context(),b=u(7,E.offset,E.startLoc);return b.value=v,a(b,m.currentOffset(),m.currentPosition()),b}function I(m){const v=m.context(),E=u(6,v.offset,v.startLoc);let b=m.nextToken();if(b.type===9){const A=f(m);E.modifier=A.node,b=A.nextConsumeToken||m.nextToken()}switch(b.type!==10&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),b=m.nextToken(),b.type===2&&(b=m.nextToken()),b.type){case 11:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=y(m,b.value||"");break;case 5:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=p(m,b.value||"");break;case 6:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=l(m,b.value||"");break;case 7:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=c(m,b.value||"");break;default:{o(m,R.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const A=m.context(),D=u(7,A.offset,A.startLoc);return D.value="",a(D,A.offset,A.startLoc),E.key=D,a(E,A.offset,A.startLoc),{nextConsumeToken:b,node:E}}}return a(E,m.currentOffset(),m.currentPosition()),{node:E}}function g(m){const v=m.context(),E=v.currentType===1?m.currentOffset():v.offset,b=v.currentType===1?v.endLoc:v.startLoc,A=u(2,E,b);A.items=[];let D=null,N=null;do{const V=D||m.nextToken();switch(D=null,V.type){case 0:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(s(m,V.value||""));break;case 6:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(l(m,V.value||""));break;case 4:N=!0;break;case 5:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(p(m,V.value||"",!!N)),N&&(i(m,Er.USE_MODULO_SYNTAX,v.lastStartLoc,0,je(V)),N=null);break;case 7:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(c(m,V.value||""));break;case 8:{const le=I(m);A.items.push(le.node),D=le.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const G=v.currentType===1?v.lastOffset:m.currentOffset(),Ie=v.currentType===1?v.lastEndLoc:m.currentPosition();return a(A,G,Ie),A}function S(m,v,E,b){const A=m.context();let D=b.items.length===0;const N=u(1,v,E);N.cases=[],N.cases.push(b);do{const G=g(m);D||(D=G.items.length===0),N.cases.push(G)}while(A.currentType!==14);return D&&o(m,R.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(N,m.currentOffset(),m.currentPosition()),N}function h(m){const v=m.context(),{offset:E,startLoc:b}=v,A=g(m);return v.currentType===14?A:S(m,E,b,A)}function C(m){const v=fy(m,fe({},e)),E=v.context(),b=u(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=m),b.body=h(v),e.onCacheKey&&(b.cacheKey=e.onCacheKey(m)),E.currentType!==14&&o(v,R.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,m[E.offset]||""),a(b,v.currentOffset(),v.currentPosition()),b}return{parse:C}}function je(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function my(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ta(e,t){for(let n=0;n<e.length;n++)Fo(e[n],t)}function Fo(e,t){switch(e.type){case 1:ta(e.cases,t),t.helper("plural");break;case 2:ta(e.items,t);break;case 6:{Fo(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function vy(e,t={}){const n=my(e);n.helper("normalize"),e.body&&Fo(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function gy(e){const t=e.body;return t.type===2?na(t):t.cases.forEach(n=>na(n)),e}function na(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Ao(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Ey="minifier";function jt(e){switch(e.t=e.type,e.type){case 0:{const t=e;jt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)jt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)jt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;jt(t.key),t.k=t.key,delete t.key,t.modifier&&(jt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Wt(R.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ey,args:[e.type]})}delete e.type}const yy="parser";function by(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,u=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};u&&e.loc&&(a.source=e.loc.source);const s=()=>a;function l(S,h){a.code+=S}function p(S,h=!0){const C=h?o:"";l(i?C+" ".repeat(S):C)}function c(S=!0){const h=++a.indentLevel;S&&p(h)}function f(S=!0){const h=--a.indentLevel;S&&p(h)}function y(){p(a.indentLevel)}return{context:s,push:l,indent:c,deindent:f,newline:y,helper:S=>`_${S}`,needIndent:()=>a.needIndent}}function Oy(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ht(e,t.key),t.modifier?(e.push(", "),Ht(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Cy(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(Ht(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function Sy(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i<o&&(Ht(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function Ay(e,t){t.body?Ht(e,t.body):e.push("null")}function Ht(e,t){const{helper:n}=e;switch(t.type){case 0:Ay(e,t);break;case 1:Sy(e,t);break;case 2:Cy(e,t);break;case 6:Oy(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Wt(R.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:yy,args:[t.type]})}}const Iy=(e,t={})=>{const n=T(t.mode)?t.mode:"normal",r=T(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
12
|
+
`,u=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],s=by(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:u});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(u),a.length>0&&(s.push(`const { ${Ao(a.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Ht(s,e),s.deindent(u),s.push("}"),delete e.helpers;const{code:l,map:p}=s.context();return{ast:e,code:l,map:p?p.toJSON():void 0}};function Fy(e,t={}){const n=fe({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=hy(n).parse(e);return r?(i&&gy(a),o&&jt(a),{ast:a,code:""}):(vy(a,n),Iy(a,n))}/*!
|
|
13
|
+
* core-base v9.14.0
|
|
14
|
+
* (c) 2024 kazuya kawaguchi
|
|
15
|
+
* Released under the MIT License.
|
|
16
|
+
*/function Dy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const _t=[];_t[0]={w:[0],i:[3,0],["["]:[4],o:[7]},_t[1]={w:[1],["."]:[2],["["]:[4],o:[7]},_t[2]={w:[2],i:[3,0],[0]:[3,0]},_t[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},_t[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},_t[5]={["'"]:[4,0],o:8,l:[5,0]},_t[6]={['"']:[4,0],o:8,l:[6,0]};const wy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ny(e){return wy.test(e)}function By(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ty(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Ly(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ny(t)?By(t):"*"+t}function Py(e){const t=[];let n=-1,r=0,o=0,i,u,a,s,l,p,c;const f=[];f[0]=()=>{u===void 0?u=a:u+=a},f[1]=()=>{u!==void 0&&(t.push(u),u=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,u===void 0||(u=Ly(u),u===!1))return!1;f[1]()}};function y(){const I=e[n+1];if(r===5&&I==="'"||r===6&&I==='"')return n++,a="\\"+I,f[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&y())){if(s=Ty(i),c=_t[r],l=c[s]||c.l||8,l===8||(r=l[0],l[1]!==void 0&&(p=f[l[1]],p&&(a=i,p()===!1))))return;if(r===7)return t}}const ra=new Map;function Ry(e,t){return H(e)?e[t]:null}function $y(e,t){if(!H(e))return null;let n=ra.get(t);if(n||(n=Py(t),n&&ra.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const u=o[n[i]];if(u===void 0||Q(o))return null;o=u,i++}return o}const My=e=>e,xy=e=>"",Vy="text",ky=e=>e.length===0?"":Ao(e),Uy=zE;function oa(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Wy(e){const t=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:t:t}function jy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Hy(e={}){const t=e.locale,n=Wy(e),r=H(e.pluralRules)&&T(t)&&Q(e.pluralRules[t])?e.pluralRules[t]:oa,o=H(e.pluralRules)&&T(t)&&Q(e.pluralRules[t])?oa:void 0,i=h=>h[r(n,h.length,o)],u=e.list||[],a=h=>u[h],s=e.named||{};ce(e.pluralIndex)&&jy(n,s);const l=h=>s[h];function p(h){const C=Q(e.messages)?e.messages(h):H(e.messages)?e.messages[h]:!1;return C||(e.parent?e.parent.message(h):xy)}const c=h=>e.modifiers?e.modifiers[h]:My,f=M(e.processor)&&Q(e.processor.normalize)?e.processor.normalize:ky,y=M(e.processor)&&Q(e.processor.interpolate)?e.processor.interpolate:Uy,I=M(e.processor)&&T(e.processor.type)?e.processor.type:Vy,S={list:a,named:l,plural:i,linked:(h,...C)=>{const[m,v]=C;let E="text",b="";C.length===1?H(m)?(b=m.modifier||b,E=m.type||E):T(m)&&(b=m||b):C.length===2&&(T(m)&&(b=m||b),T(v)&&(E=v||E));const A=p(h)(S),D=E==="vnode"&&Y(A)&&b?A[0]:A;return b?c(b)(D,E):D},message:p,type:I,interpolate:y,normalize:f,values:fe({},u,s)};return S}let bn=null;function Gy(e){bn=e}function qy(e,t,n){bn&&bn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Ky=Xy("function:translate");function Xy(e){return t=>bn&&bn.emit(e,t)}const ia=Er.__EXTEND_POINT__,wt=hr(ia),Oe={NOT_FOUND_KEY:ia,FALLBACK_TO_TRANSLATE:wt(),CANNOT_FORMAT_NUMBER:wt(),FALLBACK_TO_NUMBER_FORMAT:wt(),CANNOT_FORMAT_DATE:wt(),FALLBACK_TO_DATE_FORMAT:wt(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:wt(),__EXTEND_POINT__:wt()},Jy={[Oe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Oe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Oe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Oe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Nt(e,...t){return yn(Jy[e],...t)}const ua=R.__EXTEND_POINT__,Bt=hr(ua),he={INVALID_ARGUMENT:ua,INVALID_DATE_ARGUMENT:Bt(),INVALID_ISO_DATE_ARGUMENT:Bt(),NOT_SUPPORT_NON_STRING_MESSAGE:Bt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Bt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Bt(),NOT_SUPPORT_LOCALE_TYPE:Bt(),__EXTEND_POINT__:Bt()};function Xe(e){return Wt(e,null,process.env.NODE_ENV!=="production"?{messages:zy}:void 0)}const zy={[he.INVALID_ARGUMENT]:"Invalid arguments",[he.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[he.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[he.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[he.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[he.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[he.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Do(e,t){return t.locale!=null?aa(t.locale):aa(e.locale)}let wo;function aa(e){if(T(e))return e;if(Q(e)){if(e.resolvedOnce&&wo!=null)return wo;if(e.constructor.name==="Function"){const t=e();if(JE(t))throw Xe(he.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wo=t}else throw Xe(he.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Xe(he.NOT_SUPPORT_LOCALE_TYPE)}function Qy(e,t,n){return[...new Set([n,...Y(t)?t:H(t)?Object.keys(t):T(t)?[t]:[n]])]}function sa(e,t,n){const r=T(n)?n:Gt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let u=[n];for(;Y(u);)u=la(i,u,t);const a=Y(t)||!M(t)?t:t.default?t.default:null;u=T(a)?[a]:a,Y(u)&&la(i,u,!1),o.__localeChainCache.set(r,i)}return i}function la(e,t,n){let r=!0;for(let o=0;o<t.length&&x(r);o++){const i=t[o];T(i)&&(r=Zy(e,t[o],n))}return r}function Zy(e,t,n){let r;const o=t.split("-");do{const i=o.join("-");r=Yy(e,i,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Yy(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Y(n)||M(n))&&n[o]&&(r=n[o])}return r}const eb="9.14.0",yr=-1,Gt="en-US",br="",ca=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function tb(){return{upper:(e,t)=>t==="text"&&T(e)?e.toUpperCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&T(e)?e.toLowerCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&T(e)?ca(e):t==="vnode"&&H(e)&&"__v_isVNode"in e?ca(e.children):e}}let fa;function da(e){fa=e}let pa;function nb(e){pa=e}let _a;function rb(e){_a=e}let ha=null;const ma=e=>{ha=e},ob=()=>ha;let va=null;const ga=e=>{va=e},ib=()=>va;let Ea=0;function ub(e={}){const t=Q(e.onWarn)?e.onWarn:de,n=T(e.version)?e.version:eb,r=T(e.locale)||Q(e.locale)?e.locale:Gt,o=Q(r)?Gt:r,i=Y(e.fallbackLocale)||M(e.fallbackLocale)||T(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,u=M(e.messages)?e.messages:{[o]:{}},a=M(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},s=M(e.numberFormats)?e.numberFormats:{[o]:{}},l=fe({},e.modifiers||{},tb()),p=e.pluralRules||{},c=Q(e.missing)?e.missing:null,f=x(e.missingWarn)||dt(e.missingWarn)?e.missingWarn:!0,y=x(e.fallbackWarn)||dt(e.fallbackWarn)?e.fallbackWarn:!0,I=!!e.fallbackFormat,g=!!e.unresolving,S=Q(e.postTranslation)?e.postTranslation:null,h=M(e.processor)?e.processor:null,C=x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,v=Q(e.messageCompiler)?e.messageCompiler:fa;process.env.NODE_ENV!=="production"&&!0&&!0&&Q(e.messageCompiler)&&Yu(Nt(Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const E=Q(e.messageResolver)?e.messageResolver:pa||Ry,b=Q(e.localeFallbacker)?e.localeFallbacker:_a||Qy,A=H(e.fallbackContext)?e.fallbackContext:void 0,D=e,N=H(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,G=H(D.__numberFormatters)?D.__numberFormatters:new Map,Ie=H(D.__meta)?D.__meta:{};Ea++;const V={version:n,cid:Ea,locale:r,fallbackLocale:i,messages:u,modifiers:l,pluralRules:p,missing:c,missingWarn:f,fallbackWarn:y,fallbackFormat:I,unresolving:g,postTranslation:S,processor:h,warnHtmlMessage:C,escapeParameter:m,messageCompiler:v,messageResolver:E,localeFallbacker:b,fallbackContext:A,onWarn:t,__meta:Ie};return V.datetimeFormats=a,V.numberFormats=s,V.__datetimeFormatters=N,V.__numberFormatters=G,process.env.NODE_ENV!=="production"&&(V.__v_emitter=D.__v_emitter!=null?D.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&qy(V,n,Ie),V}function Or(e,t){return e instanceof RegExp?e.test(t):e}function ya(e,t){return e instanceof RegExp?e.test(t):e}function No(e,t,n,r,o){const{missing:i,onWarn:u}=e;if(process.env.NODE_ENV!=="production"){const a=e.__v_emitter;a&&a.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(i!==null){const a=i(e,n,t,o);return T(a)?a:t}else return process.env.NODE_ENV!=="production"&&ya(r,t)&&u(Nt(Oe.NOT_FOUND_KEY,{key:t,locale:n})),t}function On(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ba(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function ab(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(ba(e,t[r]))return!0;return!1}function Bo(e){return n=>sb(n,e)}function sb(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((i,u)=>[...i,Oa(e,u)],[]))}else return Oa(e,n)}function Oa(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,i)=>[...o,To(e,i)],[]);return e.normalize(r)}}function To(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,o=r.m||r.modifier;return e.linked(To(e,r.k||r.key),o?To(e,o):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const lb="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ca(e,t){t&&oy(e)&&de(yn(lb,{source:e}))}const Sa=e=>e;let qt=Object.create(null);function Aa(e){e.code===Er.USE_MODULO_SYNTAX&&de(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
17
|
+
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
18
|
+
(message compiler warning message: ${e.message})`)}const ht=e=>H(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ia(e,t={}){let n=!1;const r=t.onError||ny;return t.onError=o=>{n=!0,r(o)},Pu(Ft({},Fy(e,t)),{detectError:n})}const cb=(e,t)=>{if(!T(e))throw Xe(he.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=Aa);{const n=x(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ca(e,n);const o=(t.onCacheKey||Sa)(e),i=qt[o];if(i)return i;const{code:u,detectError:a}=Ia(e,t),s=new Function(`return ${u}`)();return a?s:qt[o]=s}};function fb(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=Aa),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&T(e)){const n=x(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ca(e,n);const o=(t.onCacheKey||Sa)(e),i=qt[o];if(i)return i;const{ast:u,detectError:a}=Ia(e,Pu(Ft({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),s=Bo(u);return a?s:qt[o]=s}else{if(process.env.NODE_ENV!=="production"&&!ht(e))return de(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=qt[n];return r||(qt[n]=Bo(e))}else return Bo(e)}}const Fa=()=>"",$e=e=>Q(e);function Da(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:u,messages:a}=e,[s,l]=Lo(...t),p=x(l.missingWarn)?l.missingWarn:e.missingWarn,c=x(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=x(l.escapeParameter)?l.escapeParameter:e.escapeParameter,y=!!l.resolvedMessage,I=T(l.default)||x(l.default)?x(l.default)?i?s:()=>s:l.default:n?i?s:()=>s:"",g=n||I!=="",S=Do(e,l);f&&db(l);let[h,C,m]=y?[s,S,a[S]||{}]:wa(e,s,S,u,c,p),v=h,E=s;if(!y&&!(T(v)||ht(v)||$e(v))&&g&&(v=I,E=v),!y&&(!(T(v)||ht(v)||$e(v))||!T(C)))return o?yr:s;if(process.env.NODE_ENV!=="production"&&T(v)&&e.messageCompiler==null)return de(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`),s;let b=!1;const A=()=>{b=!0},D=$e(v)?v:Na(e,s,C,v,E,A);if(b)return v;const N=mb(e,C,m,l),G=Hy(N),Ie=pb(e,D,G),V=r?r(Ie,s):Ie;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:T(s)?s:$e(v)?v.key:"",locale:C||($e(v)?v.locale:""),format:T(v)?v:$e(v)?v.source:"",message:V};le.meta=fe({},e.__meta,ob()||{}),Ky(le)}return V}function db(e){Y(e.list)?e.list=e.list.map(t=>T(t)?Xu(t):t):H(e.named)&&Object.keys(e.named).forEach(t=>{T(e.named[t])&&(e.named[t]=Xu(e.named[t]))})}function wa(e,t,n,r,o,i){const{messages:u,onWarn:a,messageResolver:s,localeFallbacker:l}=e,p=l(e,r,n);let c={},f,y=null,I=n,g=null;const S="translate";for(let h=0;h<p.length;h++){if(f=g=p[h],process.env.NODE_ENV!=="production"&&n!==f&&!ba(n,f)&&Or(o,t)&&a(Nt(Oe.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!=="production"&&n!==f){const E=e.__v_emitter;E&&E.emit("fallback",{type:S,key:t,from:I,to:g,groupId:`${S}:${t}`})}c=u[f]||{};let C=null,m,v;if(process.env.NODE_ENV!=="production"&&Ue&&(C=window.performance.now(),m="intlify-message-resolve-start",v="intlify-message-resolve-end",Be&&Be(m)),(y=s(c,t))===null&&(y=c[t]),process.env.NODE_ENV!=="production"&&Ue){const E=window.performance.now(),b=e.__v_emitter;b&&C&&y&&b.emit("message-resolve",{type:"message-resolve",key:t,message:y,time:E-C,groupId:`${S}:${t}`}),m&&v&&Be&&Dt&&(Be(v),Dt("intlify message resolve",m,v))}if(T(y)||ht(y)||$e(y))break;if(!ab(f,p)){const E=No(e,t,f,i,S);E!==t&&(y=E)}I=g}return[y,f,c]}function Na(e,t,n,r,o,i){const{messageCompiler:u,warnHtmlMessage:a}=e;if($e(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(u==null){const f=()=>r;return f.locale=n,f.key=t,f}let s=null,l,p;process.env.NODE_ENV!=="production"&&Ue&&(s=window.performance.now(),l="intlify-message-compilation-start",p="intlify-message-compilation-end",Be&&Be(l));const c=u(r,_b(e,n,o,r,a,i));if(process.env.NODE_ENV!=="production"&&Ue){const f=window.performance.now(),y=e.__v_emitter;y&&s&&y.emit("message-compilation",{type:"message-compilation",message:r,time:f-s,groupId:`translate:${t}`}),l&&p&&Be&&Dt&&(Be(p),Dt("intlify message compilation",l,p))}return c.locale=n,c.key=t,c.source=r,c}function pb(e,t,n){let r=null,o,i;process.env.NODE_ENV!=="production"&&Ue&&(r=window.performance.now(),o="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Be&&Be(o));const u=t(n);if(process.env.NODE_ENV!=="production"&&Ue){const a=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit("message-evaluation",{type:"message-evaluation",value:u,time:a-r,groupId:`translate:${t.key}`}),o&&i&&Be&&Dt&&(Be(i),Dt("intlify message evaluation",o,i))}return u}function Lo(...e){const[t,n,r]=e,o={};if(!T(t)&&!ce(t)&&!$e(t)&&!ht(t))throw Xe(he.INVALID_ARGUMENT);const i=ce(t)?String(t):($e(t),t);return ce(n)?o.plural=n:T(n)?o.default=n:M(n)&&!pr(n)?o.named=n:Y(n)&&(o.list=n),ce(r)?o.plural=r:T(r)?o.default=r:M(r)&&fe(o,r),[i,o]}function _b(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:u=>{if(i&&i(u),process.env.NODE_ENV!=="production"){const a=hb(r),s=`Message compilation error: ${u.message}`,l=u.location&&a&&QE(a,u.location.start.offset,u.location.end.offset),p=e.__v_emitter;p&&a&&p.emit("compile-error",{message:a,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(l?`${s}
|
|
19
|
+
${l}`:s)}else throw u},onCacheKey:u=>GE(t,n,u)}}function hb(e){if(T(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function mb(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:u,fallbackLocale:a,fallbackWarn:s,missingWarn:l,fallbackContext:p}=e,f={locale:t,modifiers:o,pluralRules:i,messages:y=>{let I=u(n,y);if(I==null&&p){const[,,g]=wa(p,y,t,a,s,l);I=u(g,y)}if(T(I)||ht(I)){let g=!1;const h=Na(e,y,t,I,y,()=>{g=!0});return g?Fa:h}else return $e(I)?I:Fa}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),ce(r.plural)&&(f.pluralIndex=r.plural),f}const Ba=typeof Intl!="undefined",Ta={dateTimeFormat:Ba&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Ba&&typeof Intl.NumberFormat!="undefined"};function La(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:u}=e,{__datetimeFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!Ta.dateTimeFormat)return i(Nt(Oe.CANNOT_FORMAT_DATE)),br;const[s,l,p,c]=Po(...t),f=x(p.missingWarn)?p.missingWarn:e.missingWarn,y=x(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,I=!!p.part,g=Do(e,p),S=u(e,o,g);if(!T(s)||s==="")return new Intl.DateTimeFormat(g,c).format(l);let h={},C,m=null,v=g,E=null;const b="datetime format";for(let N=0;N<S.length;N++){if(C=E=S[N],process.env.NODE_ENV!=="production"&&g!==C&&Or(y,s)&&i(Nt(Oe.FALLBACK_TO_DATE_FORMAT,{key:s,target:C})),process.env.NODE_ENV!=="production"&&g!==C){const G=e.__v_emitter;G&&G.emit("fallback",{type:b,key:s,from:v,to:E,groupId:`${b}:${s}`})}if(h=n[C]||{},m=h[s],M(m))break;No(e,s,C,f,b),v=E}if(!M(m)||!T(C))return r?yr:s;let A=`${C}__${s}`;pr(c)||(A=`${A}__${JSON.stringify(c)}`);let D=a.get(A);return D||(D=new Intl.DateTimeFormat(C,fe({},m,c)),a.set(A,D)),I?D.formatToParts(l):D.format(l)}const Pa=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Po(...e){const[t,n,r,o]=e,i={};let u={},a;if(T(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw Xe(he.INVALID_ISO_DATE_ARGUMENT);const l=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();a=new Date(l);try{a.toISOString()}catch(p){throw Xe(he.INVALID_ISO_DATE_ARGUMENT)}}else if(KE(t)){if(isNaN(t.getTime()))throw Xe(he.INVALID_DATE_ARGUMENT);a=t}else if(ce(t))a=t;else throw Xe(he.INVALID_ARGUMENT);return T(n)?i.key=n:M(n)&&Object.keys(n).forEach(s=>{Pa.includes(s)?u[s]=n[s]:i[s]=n[s]}),T(r)?i.locale=r:M(r)&&(u=r),M(o)&&(u=o),[i.key||"",a,i,u]}function Ra(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;!r.__datetimeFormatters.has(i)||r.__datetimeFormatters.delete(i)}}function $a(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:u}=e,{__numberFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!Ta.numberFormat)return i(Nt(Oe.CANNOT_FORMAT_NUMBER)),br;const[s,l,p,c]=Ro(...t),f=x(p.missingWarn)?p.missingWarn:e.missingWarn,y=x(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,I=!!p.part,g=Do(e,p),S=u(e,o,g);if(!T(s)||s==="")return new Intl.NumberFormat(g,c).format(l);let h={},C,m=null,v=g,E=null;const b="number format";for(let N=0;N<S.length;N++){if(C=E=S[N],process.env.NODE_ENV!=="production"&&g!==C&&Or(y,s)&&i(Nt(Oe.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:C})),process.env.NODE_ENV!=="production"&&g!==C){const G=e.__v_emitter;G&&G.emit("fallback",{type:b,key:s,from:v,to:E,groupId:`${b}:${s}`})}if(h=n[C]||{},m=h[s],M(m))break;No(e,s,C,f,b),v=E}if(!M(m)||!T(C))return r?yr:s;let A=`${C}__${s}`;pr(c)||(A=`${A}__${JSON.stringify(c)}`);let D=a.get(A);return D||(D=new Intl.NumberFormat(C,fe({},m,c)),a.set(A,D)),I?D.formatToParts(l):D.format(l)}const Ma=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ro(...e){const[t,n,r,o]=e,i={};let u={};if(!ce(t))throw Xe(he.INVALID_ARGUMENT);const a=t;return T(n)?i.key=n:M(n)&&Object.keys(n).forEach(s=>{Ma.includes(s)?u[s]=n[s]:i[s]=n[s]}),T(r)?i.locale=r:M(r)&&(u=r),M(o)&&(u=o),[i.key||"",a,i,u]}function xa(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;!r.__numberFormatters.has(i)||r.__numberFormatters.delete(i)}}Dy();/**
|
|
20
|
+
* @vue/shared v3.5.6
|
|
21
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
+
* @license MIT
|
|
23
|
+
**//*! #__NO_SIDE_EFFECTS__ */function vb(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Me=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Tt=()=>{},gb=()=>!1,Eb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Te=Object.assign,yb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bb=Object.prototype.hasOwnProperty,ue=(e,t)=>bb.call(e,t),ee=Array.isArray,Kt=e=>Cr(e)==="[object Map]",Ob=e=>Cr(e)==="[object Set]",ae=e=>typeof e=="function",He=e=>typeof e=="string",Cn=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",Cb=e=>(Ce(e)||ae(e))&&ae(e.then)&&ae(e.catch),Sb=Object.prototype.toString,Cr=e=>Sb.call(e),Va=e=>Cr(e).slice(8,-1),Ab=e=>Cr(e)==="[object Object]",$o=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ka=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ua=ka(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ib=ka(e=>e?`on${Ua(e)}`:""),mt=(e,t)=>!Object.is(e,t),Fb=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let Wa;const ja=()=>Wa||(Wa=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Mo(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=He(r)?Bb(r):Mo(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(He(e)||Ce(e))return e}const Db=/;(?![^(]*\))/g,wb=/:([^]+)/,Nb=/\/\*[^]*?\*\//g;function Bb(e){const t={};return e.replace(Nb,"").split(Db).forEach(n=>{if(n){const r=n.split(wb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xo(e){let t="";if(He(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=xo(e[n]);r&&(t+=r+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
|
|
24
|
+
* @vue/reactivity v3.5.6
|
|
25
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26
|
+
* @license MIT
|
|
27
|
+
**/function Je(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Le;class Tb{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}else process.env.NODE_ENV!=="production"&&Je("cannot run an inactive effect scope.")}on(){Le=this}off(){Le=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Lb(e){return new Tb(e)}function Pb(){return Le}let q;const Vo=new WeakSet;class Rb{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vo.has(this)&&(Vo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ga(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,za(this),qa(this);const t=q,n=Ge;q=this,Ge=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&q!==this&&Je("Active effect was not restored correctly - this is likely a Vue internal bug."),Ka(this),q=t,Ge=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)jo(t);this.deps=this.depsTail=void 0,za(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Wo(this)&&this.run()}get dirty(){return Wo(this)}}let Ha=0,Sn;function Ga(e){e.flags|=8,e.next=Sn,Sn=e}function ko(){Ha++}function Uo(){if(--Ha>0)return;let e;for(;Sn;){let t=Sn;for(Sn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function qa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ka(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),jo(r),$b(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Wo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xa(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xa(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fn))return;e.globalVersion=Fn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Wo(e)){e.flags&=-3;return}const n=q,r=Ge;q=e,Ge=!0;try{qa(e);const o=e.fn(e._value);(t.version===0||mt(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{q=n,Ge=r,Ka(e),e.flags&=-3}}function jo(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let o=t.computed.deps;o;o=o.nextDep)jo(o)}}function $b(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Ja=[];function An(){Ja.push(Ge),Ge=!1}function In(){const e=Ja.pop();Ge=e===void 0?!0:e}function za(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=q;q=void 0;try{t()}finally{q=n}}}let Fn=0;class Mb{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ho{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!q||!Ge||q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==q)n=this.activeLink=new Mb(q,this),q.deps?(n.prevDep=q.depsTail,q.depsTail.nextDep=n,q.depsTail=n):q.deps=q.depsTail=n,q.flags&4&&Qa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=q.depsTail,n.nextDep=void 0,q.depsTail.nextDep=n,q.depsTail=n,q.deps===n&&(q.deps=r)}return process.env.NODE_ENV!=="production"&&q.onTrack&&q.onTrack(Te({effect:q},t)),n}trigger(t){this.version++,Fn++,this.notify(t)}notify(t){ko();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(Te({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Uo()}}}function Qa(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Qa(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}const Go=new WeakMap,Lt=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),qo=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Dn=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function me(e,t,n){if(Ge&&q){let r=Go.get(e);r||Go.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=new Ho),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function vt(e,t,n,r,o,i){const u=Go.get(e);if(!u){Fn++;return}const a=s=>{s&&(process.env.NODE_ENV!=="production"?s.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:i}):s.trigger())};if(ko(),t==="clear")u.forEach(a);else{const s=ee(e),l=s&&$o(n);if(s&&n==="length"){const p=Number(r);u.forEach((c,f)=>{(f==="length"||f===Dn||!Cn(f)&&f>=p)&&a(c)})}else switch(n!==void 0&&a(u.get(n)),l&&a(u.get(Dn)),t){case"add":s?l&&a(u.get("length")):(a(u.get(Lt)),Kt(e)&&a(u.get(qo)));break;case"delete":s||(a(u.get(Lt)),Kt(e)&&a(u.get(qo)));break;case"set":Kt(e)&&a(u.get(Lt));break}}Uo()}function Xt(e){const t=U(e);return t===e?t:(me(t,"iterate",Dn),Fe(e)?t:t.map(Se))}function Ko(e){return me(e=U(e),"iterate",Dn),e}const xb={__proto__:null,[Symbol.iterator](){return Xo(this,Symbol.iterator,Se)},concat(...e){return Xt(this).concat(...e.map(t=>ee(t)?Xt(t):t))},entries(){return Xo(this,"entries",e=>(e[1]=Se(e[1]),e))},every(e,t){return ot(this,"every",e,t,void 0,arguments)},filter(e,t){return ot(this,"filter",e,t,n=>n.map(Se),arguments)},find(e,t){return ot(this,"find",e,t,Se,arguments)},findIndex(e,t){return ot(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ot(this,"findLast",e,t,Se,arguments)},findLastIndex(e,t){return ot(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ot(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jo(this,"includes",e)},indexOf(...e){return Jo(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return Jo(this,"lastIndexOf",e)},map(e,t){return ot(this,"map",e,t,void 0,arguments)},pop(){return wn(this,"pop")},push(...e){return wn(this,"push",e)},reduce(e,...t){return Za(this,"reduce",e,t)},reduceRight(e,...t){return Za(this,"reduceRight",e,t)},shift(){return wn(this,"shift")},some(e,t){return ot(this,"some",e,t,void 0,arguments)},splice(...e){return wn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return wn(this,"unshift",e)},values(){return Xo(this,"values",Se)}};function Xo(e,t,n){const r=Ko(e),o=r[t]();return r!==e&&!Fe(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Vb=Array.prototype;function ot(e,t,n,r,o,i){const u=Ko(e),a=u!==e&&!Fe(e),s=u[t];if(s!==Vb[t]){const c=s.apply(e,i);return a?Se(c):c}let l=n;u!==e&&(a?l=function(c,f){return n.call(this,Se(c),f,e)}:n.length>2&&(l=function(c,f){return n.call(this,c,f,e)}));const p=s.call(u,l,r);return a&&o?o(p):p}function Za(e,t,n,r){const o=Ko(e);let i=n;return o!==e&&(Fe(e)?n.length>3&&(i=function(u,a,s){return n.call(this,u,a,s,e)}):i=function(u,a,s){return n.call(this,u,Se(a),s,e)}),o[t](i,...r)}function Jo(e,t,n){const r=U(e);me(r,"iterate",Dn);const o=r[t](...n);return(o===-1||o===!1)&&Br(n[0])?(n[0]=U(n[0]),r[t](...n)):o}function wn(e,t,n=[]){An(),ko();const r=U(e)[t].apply(e,n);return Uo(),In(),r}const kb=vb("__proto__,__v_isRef,__isVue"),Ya=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cn));function Ub(e){Cn(e)||(e=String(e));const t=U(this);return me(t,"has",e),t.hasOwnProperty(e)}class es{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?ls:ss:i?e5:as).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const u=ee(t);if(!o){let s;if(u&&(s=xb[n]))return s;if(n==="hasOwnProperty")return Ub}const a=Reflect.get(t,n,Ee(t)?t:r);return(Cn(n)?Ya.has(n):kb(n))||(o||me(t,"get",n),i)?a:Ee(a)?u&&$o(n)?a:a.value:Ce(a)?o?fs(a):cs(a):a}}class Wb extends es{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const s=it(i);if(!Fe(r)&&!it(r)&&(i=U(i),r=U(r)),!ee(t)&&Ee(i)&&!Ee(r))return s?!1:(i.value=r,!0)}const u=ee(t)&&$o(n)?Number(n)<t.length:ue(t,n),a=Reflect.set(t,n,r,Ee(t)?t:o);return t===U(o)&&(u?mt(r,i)&&vt(t,"set",n,r,i):vt(t,"add",n,r)),a}deleteProperty(t,n){const r=ue(t,n),o=t[n],i=Reflect.deleteProperty(t,n);return i&&r&&vt(t,"delete",n,void 0,o),i}has(t,n){const r=Reflect.has(t,n);return(!Cn(n)||!Ya.has(n))&&me(t,"has",n),r}ownKeys(t){return me(t,"iterate",ee(t)?"length":Lt),Reflect.ownKeys(t)}}class ts extends es{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&Je(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&Je(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const jb=new Wb,Hb=new ts,Gb=new ts(!0),zo=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function Ar(e,t,n=!1,r=!1){e=e.__v_raw;const o=U(e),i=U(t);n||(mt(t,i)&&me(o,"get",t),me(o,"get",i));const{has:u}=Sr(o),a=r?zo:n?Yo:Se;if(u.call(o,t))return a(e.get(t));if(u.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function Ir(e,t=!1){const n=this.__v_raw,r=U(n),o=U(e);return t||(mt(e,o)&&me(r,"has",e),me(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Fr(e,t=!1){return e=e.__v_raw,!t&&me(U(e),"iterate",Lt),Reflect.get(e,"size",e)}function ns(e,t=!1){!t&&!Fe(e)&&!it(e)&&(e=U(e));const n=U(this);return Sr(n).has.call(n,e)||(n.add(e),vt(n,"add",e,e)),this}function rs(e,t,n=!1){!n&&!Fe(t)&&!it(t)&&(t=U(t));const r=U(this),{has:o,get:i}=Sr(r);let u=o.call(r,e);u?process.env.NODE_ENV!=="production"&&us(r,o,e):(e=U(e),u=o.call(r,e));const a=i.call(r,e);return r.set(e,t),u?mt(t,a)&&vt(r,"set",e,t,a):vt(r,"add",e,t),this}function os(e){const t=U(this),{has:n,get:r}=Sr(t);let o=n.call(t,e);o?process.env.NODE_ENV!=="production"&&us(t,n,e):(e=U(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,u=t.delete(e);return o&&vt(t,"delete",e,void 0,i),u}function is(){const e=U(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Kt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&vt(e,"clear",void 0,void 0,n),r}function Dr(e,t){return function(r,o){const i=this,u=i.__v_raw,a=U(u),s=t?zo:e?Yo:Se;return!e&&me(a,"iterate",Lt),u.forEach((l,p)=>r.call(o,s(l),s(p),i))}}function wr(e,t,n){return function(...r){const o=this.__v_raw,i=U(o),u=Kt(i),a=e==="entries"||e===Symbol.iterator&&u,s=e==="keys"&&u,l=o[e](...r),p=n?zo:t?Yo:Se;return!t&&me(i,"iterate",s?qo:Lt),{next(){const{value:c,done:f}=l.next();return f?{value:c,done:f}:{value:a?[p(c[0]),p(c[1])]:p(c),done:f}},[Symbol.iterator](){return this}}}}function gt(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Je(`${Ua(e)} operation ${n}failed: target is readonly.`,U(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function qb(){const e={get(i){return Ar(this,i)},get size(){return Fr(this)},has:Ir,add:ns,set:rs,delete:os,clear:is,forEach:Dr(!1,!1)},t={get(i){return Ar(this,i,!1,!0)},get size(){return Fr(this)},has:Ir,add(i){return ns.call(this,i,!0)},set(i,u){return rs.call(this,i,u,!0)},delete:os,clear:is,forEach:Dr(!1,!0)},n={get(i){return Ar(this,i,!0)},get size(){return Fr(this,!0)},has(i){return Ir.call(this,i,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Dr(!0,!1)},r={get(i){return Ar(this,i,!0,!0)},get size(){return Fr(this,!0)},has(i){return Ir.call(this,i,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Dr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wr(i,!1,!1),n[i]=wr(i,!0,!1),t[i]=wr(i,!1,!0),r[i]=wr(i,!0,!0)}),[e,n,t,r]}const[Kb,Xb,Jb,zb]=qb();function Qo(e,t){const n=t?e?zb:Jb:e?Xb:Kb;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ue(n,o)&&o in r?n:r,o,i)}const Qb={get:Qo(!1,!1)},Zb={get:Qo(!0,!1)},Yb={get:Qo(!0,!0)};function us(e,t,n){const r=U(n);if(r!==n&&t.call(e,r)){const o=Va(e);Je(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const as=new WeakMap,e5=new WeakMap,ss=new WeakMap,ls=new WeakMap;function t5(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function n5(e){return e.__v_skip||!Object.isExtensible(e)?0:t5(Va(e))}function cs(e){return it(e)?e:Zo(e,!1,jb,Qb,as)}function fs(e){return Zo(e,!0,Hb,Zb,ss)}function Nr(e){return Zo(e,!0,Gb,Yb,ls)}function Zo(e,t,n,r,o){if(!Ce(e))return process.env.NODE_ENV!=="production"&&Je(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const u=n5(e);if(u===0)return e;const a=new Proxy(e,u===2?r:n);return o.set(e,a),a}function Jt(e){return it(e)?Jt(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function Br(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function r5(e){return!ue(e,"__v_skip")&&Object.isExtensible(e)&&Fb(e,"__v_skip",!0),e}const Se=e=>Ce(e)?cs(e):e,Yo=e=>Ce(e)?fs(e):e;function Ee(e){return e?e.__v_isRef===!0:!1}function zt(e){return ps(e,!1)}function ds(e){return ps(e,!0)}function ps(e,t){return Ee(e)?e:new o5(e,t)}class o5{constructor(t,n){this.dep=new Ho,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:U(t),this._value=n?t:Se(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Fe(t)||it(t);t=r?t:U(t),mt(t,n)&&(this._rawValue=t,this._value=r?t:Se(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function i5(e){return Ee(e)?e.value:e}const u5={get:(e,t,n)=>t==="__v_raw"?e:i5(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ee(o)&&!Ee(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function a5(e){return Jt(e)?e:new Proxy(e,u5)}class s5{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ho(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fn-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return Ga(this),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Xa(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&Je("Write operation failed: computed value is readonly")}}function l5(e,t,n=!1){let r,o;ae(e)?r=e:(r=e.get,o=e.set);const i=new s5(r,o,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.onTrack=t.onTrack,i.onTrigger=t.onTrigger),i}const Tr={},Lr=new WeakMap;let Pt;function c5(e,t=!1,n=Pt){if(n){let r=Lr.get(n);r||Lr.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&Je("onWatcherCleanup() was called when there was no active watcher to associate with.")}function f5(e,t,n=Me){const{immediate:r,deep:o,once:i,scheduler:u,augmentJob:a,call:s}=n,l=E=>{(n.onWarn||Je)("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=E=>o?E:Fe(E)||o===!1||o===0?Et(E,1):Et(E);let c,f,y,I,g=!1,S=!1;if(Ee(e)?(f=()=>e.value,g=Fe(e)):Jt(e)?(f=()=>p(e),g=!0):ee(e)?(S=!0,g=e.some(E=>Jt(E)||Fe(E)),f=()=>e.map(E=>{if(Ee(E))return E.value;if(Jt(E))return p(E);if(ae(E))return s?s(E,2):E();process.env.NODE_ENV!=="production"&&l(E)})):ae(e)?t?f=s?()=>s(e,2):e:f=()=>{if(y){An();try{y()}finally{In()}}const E=Pt;Pt=c;try{return s?s(e,3,[I]):e(I)}finally{Pt=E}}:(f=Tt,process.env.NODE_ENV!=="production"&&l(e)),t&&o){const E=f,b=o===!0?1/0:o;f=()=>Et(E(),b)}const h=Pb(),C=()=>{c.stop(),h&&yb(h.effects,c)};if(i&&t){const E=t;t=(...b)=>{E(...b),C()}}let m=S?new Array(e.length).fill(Tr):Tr;const v=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const b=c.run();if(o||g||(S?b.some((A,D)=>mt(A,m[D])):mt(b,m))){y&&y();const A=Pt;Pt=c;try{const D=[b,m===Tr?void 0:S&&m[0]===Tr?[]:m,I];s?s(t,3,D):t(...D),m=b}finally{Pt=A}}}else c.run()};return a&&a(v),c=new Rb(f),c.scheduler=u?()=>u(v,!1):v,I=E=>c5(E,!1,c),y=c.onStop=()=>{const E=Lr.get(c);if(E){if(s)s(E,4);else for(const b of E)b();Lr.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?v(!0):m=c.run():u?u(v.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Et(e,t=1/0,n){if(t<=0||!Ce(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ee(e))Et(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)Et(e[r],t,n);else if(Ob(e)||Kt(e))e.forEach(r=>{Et(r,t,n)});else if(Ab(e)){for(const r in e)Et(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Et(e[r],t,n)}return e}/**
|
|
28
|
+
* @vue/runtime-core v3.5.6
|
|
29
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
|
+
* @license MIT
|
|
31
|
+
**/const Rt=[];function d5(e){Rt.push(e)}function p5(){Rt.pop()}let ei=!1;function te(e,...t){if(ei)return;ei=!0,An();const n=Rt.length?Rt[Rt.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=_5();if(r)Pr(r,n,11,[e+t.map(i=>{var u,a;return(a=(u=i.toString)==null?void 0:u.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,o.map(({vnode:i})=>`at <${$s(n,i.type)}>`).join(`
|
|
32
|
+
`),o]);else{const i=[`[Vue warn]: ${e}`,...t];o.length&&i.push(`
|
|
33
|
+
`,...h5(o)),console.warn(...i)}In(),ei=!1}function _5(){let e=Rt[Rt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function h5(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
34
|
+
`],...m5(n))}),t}function m5({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${$s(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...v5(e.props),i]:[o+i]}function v5(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(..._s(r,e[r]))}),n.length>3&&t.push(" ..."),t}function _s(e,t,n){return He(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ee(t)?(t=_s(e,U(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=U(t),n?t:[`${e}=`,t])}const ti={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"};function Pr(e,t,n,r){try{return r?e(...r):e()}catch(o){ri(o,t,n)}}function ni(e,t,n,r){if(ae(e)){const o=Pr(e,t,n,r);return o&&Cb(o)&&o.catch(i=>{ri(i,t,n)}),o}if(ee(e)){const o=[];for(let i=0;i<e.length;i++)o.push(ni(e[i],t,n,r));return o}else process.env.NODE_ENV!=="production"&&te(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ri(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:u}=t&&t.appContext.config||Me;if(t){let a=t.parent;const s=t.proxy,l=process.env.NODE_ENV!=="production"?ti[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const p=a.ec;if(p){for(let c=0;c<p.length;c++)if(p[c](e,s,l)===!1)return}a=a.parent}if(i){An(),Pr(i,null,10,[e,s,l]),In();return}}g5(e,n,o,r,u)}function g5(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const i=ti[t];if(n&&d5(n),te(`Unhandled error${i?` during execution of ${i}`:""}`),n&&p5(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}let Rr=!1,oi=!1;const xe=[];let ut=0;const Qt=[];let yt=null,Zt=0;const hs=Promise.resolve();let ii=null;const E5=100;function y5(e){const t=ii||hs;return e?t.then(this?e.bind(this):e):t}function b5(e){let t=Rr?ut+1:0,n=xe.length;for(;t<n;){const r=t+n>>>1,o=xe[r],i=Nn(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function ui(e){if(!(e.flags&1)){const t=Nn(e),n=xe[xe.length-1];!n||!(e.flags&2)&&t>=Nn(n)?xe.push(e):xe.splice(b5(t),0,e),e.flags|=1,ms()}}function ms(){!Rr&&!oi&&(oi=!0,ii=hs.then(gs))}function vs(e){ee(e)?Qt.push(...e):yt&&e.id===-1?yt.splice(Zt+1,0,e):e.flags&1||(Qt.push(e),e.flags|=1),ms()}function O5(e){if(Qt.length){const t=[...new Set(Qt)].sort((n,r)=>Nn(n)-Nn(r));if(Qt.length=0,yt){yt.push(...t);return}for(yt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Zt=0;Zt<yt.length;Zt++){const n=yt[Zt];process.env.NODE_ENV!=="production"&&Es(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}yt=null,Zt=0}}const Nn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gs(e){oi=!1,Rr=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Es(e,n):Tt;try{for(ut=0;ut<xe.length;ut++){const n=xe[ut];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Pr(n,n.i,n.i?15:14),n.flags&=-2}}}finally{for(;ut<xe.length;ut++){const n=xe[ut];n&&(n.flags&=-2)}ut=0,xe.length=0,O5(e),Rr=!1,ii=null,(xe.length||Qt.length)&&gs(e)}}function Es(e,t){const n=e.get(t)||0;if(n>E5){const r=t.i,o=r&&Rs(r.type);return ri(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const ai=new Map;process.env.NODE_ENV!=="production"&&(ja().__VUE_HMR_RUNTIME__={createRecord:si(C5),rerender:si(S5),reload:si(A5)});const $r=new Map;function C5(e,t){return $r.has(e)?!1:($r.set(e,{initialDef:Mr(t),instances:new Set}),!0)}function Mr(e){return Ms(e)?e.__vccOpts:e}function S5(e,t){const n=$r.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Mr(r.type).render=t),r.renderCache=[],r.update()}))}function A5(e,t){const n=$r.get(e);if(!n)return;t=Mr(t),ys(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const i=r[o],u=Mr(i.type);let a=ai.get(u);a||(u!==n.initialDef&&ys(u,t),ai.set(u,a=new Set)),a.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(a.add(i),i.ceReload(t.styles),a.delete(i)):i.parent?ui(()=>{i.parent.update(),a.delete(i)}):i.appContext.reload?i.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(u)}vs(()=>{ai.clear()})}function ys(e,t){Te(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function si(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Yt,xr=[];function bs(e,t){var n,r;Yt=e,Yt?(Yt.enabled=!0,xr.forEach(({event:o,args:i})=>Yt.emit(o,...i)),xr=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{bs(i,t)}),setTimeout(()=>{Yt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xr=[])},3e3)):xr=[]}let ze=null,I5=null;const F5=e=>e.__isTeleport;function Os(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Os(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function li(e,t){return ae(e)?(()=>Te({name:e.name},t,{setup:e}))():e}function D5(e,t,n=$t,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...u)=>{An();const a=Ps(n),s=ni(t,n,e,u);return a(),In(),s});return r?o.unshift(i):o.push(i),i}else if(process.env.NODE_ENV!=="production"){const o=Ib(ti[e].replace(/ hook$/,""));te(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const ci=e=>(t,n=$t)=>{(!jr||e==="sp")&&D5(e,(...r)=>t(...r),n)},w5=ci("bm"),N5=ci("m"),B5=ci("um"),T5=Symbol.for("v-ndc"),fi=e=>e?t3(e)?n3(e):fi(e.parent):null,Bn=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Nr(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Nr(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Nr(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Nr(e.refs):e.refs,$parent:e=>fi(e.parent),$root:e=>fi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?$5(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{ui(e.update)}),$nextTick:e=>e.n||(e.n=y5.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?G5.bind(e):Tt}),L5=e=>e==="_"||e==="$",di=(e,t)=>e!==Me&&!e.__isScriptSetup&&ue(e,t),P5={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:u,type:a,appContext:s}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let l;if(t[0]!=="$"){const y=u[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(di(r,t))return u[t]=1,r[t];if(o!==Me&&ue(o,t))return u[t]=2,o[t];if((l=e.propsOptions[0])&&ue(l,t))return u[t]=3,i[t];if(n!==Me&&ue(n,t))return u[t]=4,n[t];(!__VUE_OPTIONS_API__||R5)&&(u[t]=0)}}const p=Bn[t];let c,f;if(p)return t==="$attrs"?(me(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&me(e,"get",t),p(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Me&&ue(n,t))return u[t]=4,n[t];if(f=s.config.globalProperties,ue(f,t))return f[t];process.env.NODE_ENV!=="production"&&ze&&(!He(t)||t.indexOf("__v")!==0)&&(o!==Me&&L5(t[0])&&ue(o,t)?te(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ze&&te(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return di(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&ue(o,t)?(te(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Me&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)?(process.env.NODE_ENV!=="production"&&te(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&te(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},u){let a;return!!n[u]||e!==Me&&ue(e,u)||di(t,u)||(a=i[0])&&ue(a,u)||ue(r,u)||ue(Bn,u)||ue(o.config.globalProperties,u)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(P5.ownKeys=e=>(te("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Cs(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let R5=!0;function $5(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:u}}=e.appContext,a=i.get(t);let s;return a?s=a:!o.length&&!n&&!r?s=t:(s={},o.length&&o.forEach(l=>Vr(s,l,u,!0)),Vr(s,t,u)),Ce(t)&&i.set(t,s),s}function Vr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Vr(e,i,n,!0),o&&o.forEach(u=>Vr(e,u,n,!0));for(const u in t)if(r&&u==="expose")process.env.NODE_ENV!=="production"&&te('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=M5[u]||n&&n[u];e[u]=a?a(e[u],t[u]):t[u]}return e}const M5={data:Ss,props:Is,emits:Is,methods:Tn,computed:Tn,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Tn,directives:Tn,watch:V5,provide:Ss,inject:x5};function Ss(e,t){return t?e?function(){return Te(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function x5(e,t){return Tn(As(e),As(t))}function As(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function Tn(e,t){return e?Te(Object.create(null),e,t):t}function Is(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Te(Object.create(null),Cs(e),Cs(t!=null?t:{})):t}function V5(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const r in t)n[r]=Ae(e[r],t[r]);return n}function k5(){return{app:null,config:{isNativeTag:gb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pi=null;function Fs(e,t,n=!1){const r=$t||ze;if(r||pi){const o=pi?pi._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&te(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&te("inject() can only be used inside setup() or functional components.")}const U5={},Ds=e=>Object.getPrototypeOf(e)===U5,W5=X5,j5=Symbol.for("v-scx"),H5=()=>{{const e=Fs(j5);return e||process.env.NODE_ENV!=="production"&&te("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function _i(e,t,n){return process.env.NODE_ENV!=="production"&&!ae(t)&&te("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ws(e,t,n)}function ws(e,t,n=Me){const{immediate:r,deep:o,flush:i,once:u}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&te('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&te('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&te('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=Te({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=te);let s;if(jr)if(i==="sync"){const f=H5();s=f.__watcherHandles||(f.__watcherHandles=[])}else if(!t||r)a.once=!0;else{const f=()=>{};return f.stop=Tt,f.resume=Tt,f.pause=Tt,f}const l=$t;a.call=(f,y,I)=>ni(f,l,y,I);let p=!1;i==="post"?a.scheduler=f=>{W5(f,l&&l.suspense)}:i!=="sync"&&(p=!0,a.scheduler=(f,y)=>{y?f():ui(f)}),a.augmentJob=f=>{t&&(f.flags|=4),p&&(f.flags|=2,l&&(f.id=l.uid,f.i=l))};const c=f5(e,t,a);return s&&s.push(c),c}function G5(e,t,n){const r=this.proxy,o=He(e)?e.includes(".")?q5(r,e):()=>r[e]:e.bind(r,r);let i;ae(t)?i=t:(i=t.handler,n=t);const u=Ps(this),a=ws(o,i.bind(r),n);return u(),a}function q5(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function pA(){}const K5=e=>e.__isSuspense;function X5(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):vs(e)}const kr=Symbol.for("v-fgt"),Ns=Symbol.for("v-txt"),J5=Symbol.for("v-cmt");let en=null;function hi(e){return e?e.__v_isVNode===!0:!1}const z5=(...e)=>Ts(...e),Bs=({key:e})=>e!=null?e:null,Ur=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||Ee(e)||ae(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function Q5(e,t=null,n=null,r=0,o=null,i=e===kr?0:1,u=!1,a=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bs(t),ref:t&&Ur(t),scopeId:I5,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ze};return a?(mi(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=He(n)?8:16),process.env.NODE_ENV!=="production"&&s.key!==s.key&&te("VNode created with invalid key (NaN). VNode type:",s.type),!u&&en&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&en.push(s),s}const tn=process.env.NODE_ENV!=="production"?z5:Ts;function Ts(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===T5)&&(process.env.NODE_ENV!=="production"&&!e&&te(`Invalid vnode type when creating vnode: ${e}.`),e=J5),hi(e)){const a=Wr(e,t,!0);return n&&mi(a,n),!i&&en&&(a.shapeFlag&6?en[en.indexOf(e)]=a:en.push(a)),a.patchFlag=-2,a}if(Ms(e)&&(e=e.__vccOpts),t){t=Z5(t);let{class:a,style:s}=t;a&&!He(a)&&(t.class=xo(a)),Ce(s)&&(Br(s)&&!ee(s)&&(s=Te({},s)),t.style=Mo(s))}const u=He(e)?1:K5(e)?128:F5(e)?64:Ce(e)?4:ae(e)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&Br(e)&&(e=U(e),te("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
35
|
+
Component that was made reactive: `,e)),Q5(e,t,n,r,o,u,i,!0)}function Z5(e){return e?Br(e)||Ds(e)?Te({},e):e:null}function Wr(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:u,children:a,transition:s}=e,l=t?e3(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Bs(l),ref:t&&t.ref?n&&i?ee(i)?i.concat(Ur(t)):[i,Ur(t)]:Ur(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&ee(a)?a.map(Ls):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==kr?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wr(e.ssContent),ssFallback:e.ssFallback&&Wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&Os(p,s.clone(p)),p}function Ls(e){const t=Wr(e);return ee(e.children)&&(t.children=e.children.map(Ls)),t}function Y5(e=" ",t=0){return tn(Ns,null,e,t)}function mi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),mi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ds(t)?t._ctx=ze:o===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[Y5(t)]):n=8);e.children=t,e.shapeFlag|=n}function e3(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=xo([t.class,r.class]));else if(o==="style")t.style=Mo([t.style,r.style]);else if(Eb(o)){const i=t[o],u=r[o];u&&i!==u&&!(ee(i)&&i.includes(u))&&(t[o]=i?[].concat(i,u):u)}else o!==""&&(t[o]=r[o])}return t}k5();let $t=null;const nn=()=>$t||ze;let vi;{const e=ja(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(u=>u(i)):o[0](i)}};vi=t("__VUE_INSTANCE_SETTERS__",n=>$t=n),t("__VUE_SSR_SETTERS__",n=>jr=n)}const Ps=e=>{const t=$t;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}};function t3(e){return e.vnode.shapeFlag&4}let jr=!1;process.env.NODE_ENV;function n3(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(a5(r5(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bn)return Bn[n](e)},has(t,n){return n in t||n in Bn}})):e.proxy}const r3=/(?:^|[-_])(\w)/g,o3=e=>e.replace(r3,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rs(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function $s(e,t,n=!1){let r=Rs(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=i=>{for(const u in i)if(i[u]===t)return u};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?o3(r):n?"App":"Anonymous"}function Ms(e){return ae(e)&&"__vccOpts"in e}const Qe=(e,t)=>{const n=l5(e,t,jr);if(process.env.NODE_ENV!=="production"){const r=nn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function xs(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!ee(t)?hi(t)?tn(e,null,[t]):tn(e,t):tn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hi(n)&&(n=[n]),tn(e,t,n))}function i3(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(c){return Ce(c)?c.__isVue?["div",e,"VueInstance"]:Ee(c)?["div",{},["span",e,p(c)],"<",a("_value"in c?c._value:c),">"]:Jt(c)?["div",{},["span",e,Fe(c)?"ShallowReactive":"Reactive"],"<",a(c),`>${it(c)?" (readonly)":""}`]:it(c)?["div",{},["span",e,Fe(c)?"ShallowReadonly":"Readonly"],"<",a(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...i(c.$)]}};function i(c){const f=[];c.type.props&&c.props&&f.push(u("props",U(c.props))),c.setupState!==Me&&f.push(u("setup",c.setupState)),c.data!==Me&&f.push(u("data",U(c.data)));const y=s(c,"computed");y&&f.push(u("computed",y));const I=s(c,"inject");return I&&f.push(u("injected",I)),f.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),f}function u(c,f){return f=Te({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(y=>["div",{},["span",r,y+": "],a(f[y],!1)])]]:["span",{}]}function a(c,f=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:Ce(c)?["object",{object:f?U(c):c}]:["span",n,String(c)]}function s(c,f){const y=c.type;if(ae(y))return;const I={};for(const g in c.ctx)l(y,g,f)&&(I[g]=c.ctx[g]);return I}function l(c,f,y){const I=c[y];if(ee(I)&&I.includes(f)||Ce(I)&&f in I||c.extends&&l(c.extends,f,y)||c.mixins&&c.mixins.some(g=>l(g,f,y)))return!0}function p(c){return Fe(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
36
|
+
* vue v3.5.6
|
|
37
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
38
|
+
* @license MIT
|
|
39
|
+
**/function u3(){i3()}process.env.NODE_ENV!=="production"&&u3();function a3(){return Vs().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vs(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const s3=typeof Proxy=="function",l3="devtools-plugin:setup",c3="plugin:settings:set";let rn,gi;function f3(){var e;return rn!==void 0||(typeof window!="undefined"&&window.performance?(rn=!0,gi=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(rn=!0,gi=globalThis.perf_hooks.performance):rn=!1),rn}function d3(){return f3()?gi.now():Date.now()}class p3{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const u in t.settings){const a=t.settings[u];r[u]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const u=localStorage.getItem(o),a=JSON.parse(u);Object.assign(i,a)}catch(u){}this.fallbacks={getSettings(){return i},setSettings(u){try{localStorage.setItem(o,JSON.stringify(u))}catch(a){}i=u},now(){return d3()}},n&&n.on(c3,(u,a)=>{u===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(u,a)=>this.target?this.target.on[a]:(...s)=>{this.onQueue.push({method:a,args:s})}}),this.proxiedTarget=new Proxy({},{get:(u,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...s)=>(this.targetQueue.push({method:a,args:s,resolve:()=>{}}),this.fallbacks[a](...s)):(...s)=>new Promise(l=>{this.targetQueue.push({method:a,args:s,resolve:l})})})}setRealTarget(t){return Ut(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function _3(e,t){const n=e,r=Vs(),o=a3(),i=s3&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(l3,e,t);else{const u=i?new p3(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:u}),u&&t(u.proxiedTarget)}}/*!
|
|
40
|
+
* vue-i18n v9.14.0
|
|
41
|
+
* (c) 2024 kazuya kawaguchi
|
|
42
|
+
* Released under the MIT License.
|
|
43
|
+
*/const h3="9.14.0";function m3(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(nt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(nt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nt().__INTLIFY_PROD_DEVTOOLS__=!1)}const ks=Oe.__EXTEND_POINT__,at=hr(ks),ne={FALLBACK_TO_ROOT:ks,NOT_SUPPORTED_PRESERVE:at(),NOT_SUPPORTED_FORMATTER:at(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:at(),NOT_SUPPORTED_GET_CHOICE_INDEX:at(),COMPONENT_NAME_LEGACY_COMPATIBLE:at(),NOT_FOUND_PARENT_SCOPE:at(),IGNORE_OBJ_FLATTEN:at(),NOTICE_DROP_ALLOW_COMPOSITION:at(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:at()},v3={[ne.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ne.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ne.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ne.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ne.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ne.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ne.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ne.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[ne.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function De(e,...t){return yn(v3[e],...t)}const Us=he.__EXTEND_POINT__,we=hr(Us),j={UNEXPECTED_RETURN_TYPE:Us,INVALID_ARGUMENT:we(),MUST_BE_CALL_SETUP_TOP:we(),NOT_INSTALLED:we(),NOT_AVAILABLE_IN_LEGACY_MODE:we(),REQUIRED_VALUE:we(),INVALID_VALUE:we(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:we(),NOT_INSTALLED_WITH_PROVIDE:we(),UNEXPECTED_ERROR:we(),NOT_COMPATIBLE_LEGACY_VUE_I18N:we(),BRIDGE_SUPPORT_VUE_2_ONLY:we(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:we(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:we(),__EXTEND_POINT__:we()};function pe(e,...t){return Wt(e,null,process.env.NODE_ENV!=="production"?{messages:g3,args:t}:void 0)}const g3={[j.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[j.INVALID_ARGUMENT]:"Invalid argument",[j.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[j.NOT_INSTALLED]:"Need to install with `app.use` function",[j.UNEXPECTED_ERROR]:"Unexpected error",[j.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[j.REQUIRED_VALUE]:"Required in value: {0}",[j.INVALID_VALUE]:"Invalid value",[j.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[j.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[j.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[j.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[j.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[j.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ei=We("__translateVNode"),yi=We("__datetimeParts"),bi=We("__numberParts"),Mt=We("__enableEmitter"),Ln=We("__disableEmitter"),Ws=We("__setPluralRules");We("__intlifyMeta");const js=We("__injectWithOption"),Oi=We("__dispose");function Pn(e){if(!H(e))return e;for(const t in e)if(!!_r(e,t))if(!t.includes("."))H(e[t])&&Pn(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let u=0;u<r;u++){if(n[u]in o||(o[n[u]]={}),!H(o[n[u]])){process.env.NODE_ENV!=="production"&&de(De(ne.IGNORE_OBJ_FLATTEN,{key:n[u]})),i=!0;break}o=o[n[u]]}i||(o[n[r]]=e[t],delete e[t]),H(o[n[r]])&&Pn(o[n[r]])}return e}function Hr(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,u=M(n)?n:Y(r)?{}:{[e]:{}};if(Y(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:s,resource:l}=a;s?(u[s]=u[s]||{},vr(l,u[s])):vr(l,u)}else T(a)&&vr(JSON.parse(a),u)}),o==null&&i)for(const a in u)_r(u,a)&&Pn(u[a]);return u}function Hs(e){return e.type}function Gs(e,t,n){let r=H(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Hr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(H(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(u=>{e.mergeDateTimeFormat(u,t.datetimeFormats[u])})}if(H(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(u=>{e.mergeNumberFormat(u,t.numberFormats[u])})}}}function qs(e){return tn(Ns,null,e,0)}const Ks="__INTLIFY_META__",Xs=()=>[],E3=()=>!1;let Js=0;function zs(e){return(t,n,r,o)=>e(n,r,nn()||void 0,o)}const y3=()=>{const e=nn();let t=null;return e&&(t=Hs(e)[Ks])?{[Ks]:t}:null};function Ci(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,i=e.flatJson,u=Ue?zt:ds,a=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&a&&Yu(De(ne.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let s=x(e.inheritLocale)?e.inheritLocale:!0;const l=u(n&&s?n.locale.value:T(e.locale)?e.locale:Gt),p=u(n&&s?n.fallbackLocale.value:T(e.fallbackLocale)||Y(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=u(Hr(l.value,e)),f=u(M(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),y=u(M(e.numberFormats)?e.numberFormats:{[l.value]:{}});let I=n?n.missingWarn:x(e.missingWarn)||dt(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:x(e.fallbackWarn)||dt(e.fallbackWarn)?e.fallbackWarn:!0,S=n?n.fallbackRoot:x(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,C=Q(e.missing)?e.missing:null,m=Q(e.missing)?zs(e.missing):null,v=Q(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const A=n?n.modifiers:M(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,N;N=(()=>{o&&ga(null);const O={version:h3,locale:l.value,fallbackLocale:p.value,messages:c.value,modifiers:A,pluralRules:D,missing:m===null?void 0:m,missingWarn:I,fallbackWarn:g,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:E,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=f.value,O.numberFormats=y.value,O.__datetimeFormatters=M(N)?N.__datetimeFormatters:void 0,O.__numberFormatters=M(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(O.__v_emitter=M(N)?N.__v_emitter:void 0);const w=ub(O);return o&&ga(w),w})(),On(N,l.value,p.value);function Ie(){return[l.value,p.value,c.value,f.value,y.value]}const V=Qe({get:()=>l.value,set:O=>{l.value=O,N.locale=l.value}}),le=Qe({get:()=>p.value,set:O=>{p.value=O,N.fallbackLocale=p.value,On(N,l.value,O)}}),Ve=Qe(()=>c.value),Xn=Qe(()=>f.value),et=Qe(()=>y.value);function Jn(){return Q(v)?v:null}function zn(O){v=O,N.postTranslation=O}function Qn(){return C}function Zn(O){O!==null&&(m=zs(O)),C=O,N.missing=m}function Yn(O,w){return O!=="translate"||!w.resolvedMessage}const ke=(O,w,X,oe,It,po)=>{Ie();let _n;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ma(y3()),o||(N.fallbackContext=n?ib():void 0),_n=O(N)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ma(null),o||(N.fallbackContext=void 0)}if(X!=="translate exists"&&ce(_n)&&_n===yr||X==="translate exists"&&!_n){const[kt,aA]=w();if(process.env.NODE_ENV!=="production"&&n&&T(kt)&&Yn(X,aA)&&(S&&(Or(g,kt)||ya(I,kt))&&de(De(ne.FALLBACK_TO_ROOT,{key:kt,type:X})),process.env.NODE_ENV!=="production")){const{__v_emitter:Rc}=N;Rc&&S&&Rc.emit("fallback",{type:X,key:kt,to:"global",groupId:`${X}:${kt}`})}return n&&S?oe(n):It(kt)}else{if(po(_n))return _n;throw pe(j.UNEXPECTED_RETURN_TYPE)}};function fn(...O){return ke(w=>Reflect.apply(Da,null,[w,...O]),()=>Lo(...O),"translate",w=>Reflect.apply(w.t,w,[...O]),w=>w,w=>T(w))}function dn(...O){const[w,X,oe]=O;if(oe&&!H(oe))throw pe(j.INVALID_ARGUMENT);return fn(w,X,fe({resolvedMessage:!0},oe||{}))}function er(...O){return ke(w=>Reflect.apply(La,null,[w,...O]),()=>Po(...O),"datetime format",w=>Reflect.apply(w.d,w,[...O]),()=>br,w=>T(w))}function tr(...O){return ke(w=>Reflect.apply($a,null,[w,...O]),()=>Ro(...O),"number format",w=>Reflect.apply(w.n,w,[...O]),()=>br,w=>T(w))}function nr(O){return O.map(w=>T(w)||ce(w)||x(w)?qs(String(w)):w)}const rr={normalize:nr,interpolate:O=>O,type:"vnode"};function pn(...O){return ke(w=>{let X;const oe=w;try{oe.processor=rr,X=Reflect.apply(Da,null,[oe,...O])}finally{oe.processor=null}return X},()=>Lo(...O),"translate",w=>w[Ei](...O),w=>[qs(w)],w=>Y(w))}function or(...O){return ke(w=>Reflect.apply($a,null,[w,...O]),()=>Ro(...O),"number format",w=>w[bi](...O),Xs,w=>T(w)||Y(w))}function ir(...O){return ke(w=>Reflect.apply(La,null,[w,...O]),()=>Po(...O),"datetime format",w=>w[yi](...O),Xs,w=>T(w)||Y(w))}function ur(O){D=O,N.pluralRules=D}function B(O,w){return ke(()=>{if(!O)return!1;const X=T(w)?w:l.value,oe=Vt(X),It=N.messageResolver(oe,O);return a?It!=null:ht(It)||$e(It)||T(It)},()=>[O],"translate exists",X=>Reflect.apply(X.te,X,[O,w]),E3,X=>x(X))}function K(O){let w=null;const X=sa(N,p.value,l.value);for(let oe=0;oe<X.length;oe++){const It=c.value[X[oe]]||{},po=N.messageResolver(It,O);if(po!=null){w=po;break}}return w}function ar(O){const w=K(O);return w!=null?w:n?n.tm(O)||{}:{}}function Vt(O){return c.value[O]||{}}function sr(O,w){if(i){const X={[O]:w};for(const oe in X)_r(X,oe)&&Pn(X[oe]);w=X[O]}c.value[O]=w,N.messages=c.value}function Lu(O,w){c.value[O]=c.value[O]||{};const X={[O]:w};if(i)for(const oe in X)_r(X,oe)&&Pn(X[oe]);w=X[O],vr(w,c.value[O]),N.messages=c.value}function d(O){return f.value[O]||{}}function _(O,w){f.value[O]=w,N.datetimeFormats=f.value,Ra(N,O,w)}function F(O,w){f.value[O]=fe(f.value[O]||{},w),N.datetimeFormats=f.value,Ra(N,O,w)}function L(O){return y.value[O]||{}}function re(O,w){y.value[O]=w,N.numberFormats=y.value,xa(N,O,w)}function Z(O,w){y.value[O]=fe(y.value[O]||{},w),N.numberFormats=y.value,xa(N,O,w)}Js++,n&&Ue&&(_i(n.locale,O=>{s&&(l.value=O,N.locale=O,On(N,l.value,p.value))}),_i(n.fallbackLocale,O=>{s&&(p.value=O,N.fallbackLocale=O,On(N,l.value,p.value))}));const z={id:Js,locale:V,fallbackLocale:le,get inheritLocale(){return s},set inheritLocale(O){s=O,O&&n&&(l.value=n.locale.value,p.value=n.fallbackLocale.value,On(N,l.value,p.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Ve,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return I},set missingWarn(O){I=O,N.missingWarn=I},get fallbackWarn(){return g},set fallbackWarn(O){g=O,N.fallbackWarn=g},get fallbackRoot(){return S},set fallbackRoot(O){S=O},get fallbackFormat(){return h},set fallbackFormat(O){h=O,N.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(O){E=O,N.warnHtmlMessage=O},get escapeParameter(){return b},set escapeParameter(O){b=O,N.escapeParameter=O},t:fn,getLocaleMessage:Vt,setLocaleMessage:sr,mergeLocaleMessage:Lu,getPostTranslationHandler:Jn,setPostTranslationHandler:zn,getMissingHandler:Qn,setMissingHandler:Zn,[Ws]:ur};return z.datetimeFormats=Xn,z.numberFormats=et,z.rt=dn,z.te=B,z.tm=ar,z.d=er,z.n=tr,z.getDateTimeFormat=d,z.setDateTimeFormat=_,z.mergeDateTimeFormat=F,z.getNumberFormat=L,z.setNumberFormat=re,z.mergeNumberFormat=Z,z[js]=r,z[Ei]=pn,z[yi]=ir,z[bi]=or,process.env.NODE_ENV!=="production"&&(z[Mt]=O=>{N.__v_emitter=O},z[Ln]=()=>{N.__v_emitter=void 0}),z}function b3(e){const t=T(e.locale)?e.locale:Gt,n=T(e.fallbackLocale)||Y(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Q(e.missing)?e.missing:void 0,o=x(e.silentTranslationWarn)||dt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=x(e.silentFallbackWarn)||dt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=x(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,s=M(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,p=Q(e.postTranslation)?e.postTranslation:void 0,c=T(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,y=x(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&de(De(ne.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&de(De(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let I=e.messages;if(M(e.sharedMessages)){const b=e.sharedMessages;I=Object.keys(b).reduce((D,N)=>{const G=D[N]||(D[N]={});return fe(G,b[N]),D},I||{})}const{__i18n:g,__root:S,__injectWithOption:h}=e,C=e.datetimeFormats,m=e.numberFormats,v=e.flatJson,E=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:I,flatJson:v,datetimeFormats:C,numberFormats:m,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:u,fallbackFormat:a,modifiers:s,pluralRules:l,postTranslation:p,warnHtmlMessage:c,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:y,translateExistCompatible:E,__i18n:g,__root:S,__injectWithOption:h}}function Si(e={},t){{const n=Ci(b3(e)),{__extender:r}=e,o={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return x(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=x(i)?!i:i},get silentFallbackWarn(){return x(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=x(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[u,a,s]=i,l={};let p=null,c=null;if(!T(u))throw pe(j.INVALID_ARGUMENT);const f=u;return T(a)?l.locale=a:Y(a)?p=a:M(a)&&(c=a),Y(s)?p=s:M(s)&&(c=s),Reflect.apply(n.t,n,[f,p||c||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[u,a,s]=i,l={plural:1};let p=null,c=null;if(!T(u))throw pe(j.INVALID_ARGUMENT);const f=u;return T(a)?l.locale=a:ce(a)?l.plural=a:Y(a)?p=a:M(a)&&(c=a),T(s)?l.locale=s:Y(s)?p=s:M(s)&&(c=s),Reflect.apply(n.t,n,[f,p||c||{},l])},te(i,u){return n.te(i,u)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,u){n.setLocaleMessage(i,u)},mergeLocaleMessage(i,u){n.mergeLocaleMessage(i,u)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,u){n.setDateTimeFormat(i,u)},mergeDateTimeFormat(i,u){n.mergeDateTimeFormat(i,u)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,u){n.setNumberFormat(i,u)},mergeNumberFormat(i,u){n.mergeNumberFormat(i,u)},getChoiceIndex(i,u){return process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=r,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=i=>{const u=n;u[Mt]&&u[Mt](i)},o.__disableEmitter=()=>{const i=n;i[Ln]&&i[Ln]()}),o}}const Ai={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function O3({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===kr?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Qs(e){return kr}const Ii=li({name:"i18n-t",props:fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Ai),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Ni({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(c=>c!=="_"),u={};e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=T(e.plural)?+e.plural:e.plural);const a=O3(t,i),s=o[Ei](e.keypath,a,u),l=fe({},r),p=T(e.tag)||H(e.tag)?e.tag:Qs();return xs(p,l,s)}}});function C3(e){return Y(e)&&!T(e[0])}function Zs(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const u={part:!0};let a={};e.locale&&(u.locale=e.locale),T(e.format)?u.key=e.format:H(e.format)&&(T(e.format.key)&&(u.key=e.format.key),a=Object.keys(e.format).reduce((f,y)=>n.includes(y)?fe({},f,{[y]:e.format[y]}):f,{}));const s=r(e.value,u,a);let l=[u.key];Y(s)?l=s.map((f,y)=>{const I=o[f.type],g=I?I({[f.type]:f.value,index:y,parts:s}):[f.value];return C3(g)&&(g[0].key=`${f.type}-${y}`),g}):T(s)&&(l=[s]);const p=fe({},i),c=T(e.tag)||H(e.tag)?e.tag:Qs();return xs(c,p,l)}}const Ys=li({name:"i18n-n",props:fe({value:{type:Number,required:!0},format:{type:[String,Object]}},Ai),setup(e,t){const n=e.i18n||Ni({useScope:e.scope,__useComponent:!0});return Zs(e,t,Ma,(...r)=>n[bi](...r))}}),el=li({name:"i18n-d",props:fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ai),setup(e,t){const n=e.i18n||Ni({useScope:e.scope,__useComponent:!0});return Zs(e,t,Pa,(...r)=>n[yi](...r))}});function S3(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function A3(e){const t=u=>{const{instance:a,modifiers:s,value:l}=u;if(!a||!a.$)throw pe(j.UNEXPECTED_ERROR);const p=S3(e,a.$);process.env.NODE_ENV!=="production"&&s.preserve&&de(De(ne.NOT_SUPPORTED_PRESERVE));const c=tl(l);return[Reflect.apply(p.t,p,[...nl(c)]),p]};return{created:(u,a)=>{const[s,l]=t(a);Ue&&e.global===l&&(u.__i18nWatcher=_i(l.locale,()=>{a.instance&&a.instance.$forceUpdate()})),u.__composer=l,u.textContent=s},unmounted:u=>{Ue&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:a})=>{if(u.__composer){const s=u.__composer,l=tl(a);u.textContent=Reflect.apply(s.t,s,[...nl(l)])}},getSSRProps:u=>{const[a]=t(u);return{textContent:a}}}}function tl(e){if(T(e))return{path:e};if(M(e)){if(!("path"in e))throw pe(j.REQUIRED_VALUE,"path");return e}else throw pe(j.INVALID_VALUE)}function nl(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,u={},a=r||{};return T(n)&&(u.locale=n),ce(o)&&(u.plural=o),ce(i)&&(u.plural=i),[t,a,u]}function I3(e,t,...n){const r=M(n[0])?n[0]:{},o=!!r.useI18nComponentName,i=x(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&de(De(ne.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ii.name})),i&&([o?"i18n":Ii.name,"I18nT"].forEach(u=>e.component(u,Ii)),[Ys.name,"I18nN"].forEach(u=>e.component(u,Ys)),[el.name,"I18nD"].forEach(u=>e.component(u,el))),e.directive("t",A3(t))}const Fi={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},F3={["vue-i18n-resource-inspector"]:"Search for scopes ..."},D3={["vue-i18n-timeline"]:16764185},rl="vue-i18n: composer properties";let Di;function w3(e,t){return Ut(this,null,function*(){return new Promise((n,r)=>{try{_3({id:"vue-devtools-plugin-vue-i18n",label:Fi["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[rl],app:e},o=>{Di=o,o.on.visitComponentTree(({componentInstance:u,treeNode:a})=>{N3(u,a,t)}),o.on.inspectComponent(({componentInstance:u,instanceData:a})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&a&&(t.mode==="legacy"?u.vnode.el.__VUE_I18N__!==t.global.__composer&&il(a,u.vnode.el.__VUE_I18N__):il(a,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:Fi["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:F3["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&R3(u,t)});const i=new Map;o.on.getInspectorState(u=>Ut(this,null,function*(){if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),M3(u,t),u.nodeId==="global"){if(!i.has(u.app)){const[a]=yield o.getComponentInstances(u.app);i.set(u.app,a)}o.highlightElement(i.get(u.app))}else{const a=$3(u.nodeId,t);a&&o.highlightElement(a)}})),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&V3(u,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Fi["vue-i18n-timeline"],color:D3["vue-i18n-timeline"]}),n(!0)})}catch(o){console.error(o),r(!1)}})})}function ol(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function N3(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const o={label:`i18n (${ol(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function il(e,t){const n=rl;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:wi(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function wi(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];Q(r)&&"source"in r?t[n]=P3(r):ht(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:H(r)?t[n]=wi(r):t[n]=r}),t}const B3={"<":"<",">":">",'"':""","&":"&"};function T3(e){return e.replace(/[<>"&]/g,L3)}function L3(e){return B3[e]||e}function P3(e){const t=e.source?`("${T3(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function R3(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,o]of t.__instances){const i=t.mode==="composition"?o:o.__composer;n!==i&&e.rootNodes.push({id:i.id.toString(),label:`${ol(r)} Scope`})}}function $3(e,t){let n=null;if(e!=="global"){for(const[r,o]of t.__instances.entries())if(o.id.toString()===e){n=r;break}}return n}function ul(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function M3(e,t){const n=ul(e.nodeId,t);return n&&(e.state=x3(n)),null}function x3(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const o="Locale messages info",i=[{type:o,key:"messages",editable:!1,value:wi(e.messages.value)}];t[o]=i;{const u="Datetime formats info",a=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[u]=a;const s="Datetime formats info",l=[{type:s,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[s]=l}return t}function Rn(e,t){if(Di){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Di.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function V3(e,t){const n=ul(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&T(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(T(e.state.value)||Y(e.state.value)||H(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&x(e.state.value)&&(n.inheritLocale=e.state.value)}}function k3(e,t,n){return{beforeCreate(){const r=nn();if(!r)throw pe(j.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=al(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Si(i);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=al(e,o);else{this.$i18n=Si({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Gs(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,u)=>this.$i18n.te(i,u),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const o=this.__v_emitter=Io();r.__enableEmitter&&r.__enableEmitter(o),o.on("*",Rn)}},unmounted(){const r=nn();if(!r)throw pe(j.UNEXPECTED_ERROR);const o=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rn),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function al(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[Ws](t.pluralizationRules||e.pluralizationRules);const n=Hr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const U3=We("global-vue-i18n");function W3(e={},t){const n=__VUE_I18N_LEGACY_API__&&x(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=x(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[u,a]=j3(e,n),s=We(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&o&&de(De(ne.NOTICE_DROP_ALLOW_COMPOSITION));function l(f){return i.get(f)||null}function p(f,y){i.set(f,y)}function c(f){i.delete(f)}{let y;const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return o},install(I,...g){return Ut(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(I.__VUE_I18N__=f),I.__VUE_I18N_SYMBOL__=s,I.provide(I.__VUE_I18N_SYMBOL__,f),M(g[0])){const C=g[0];f.__composerExtend=C.__composerExtend,f.__vueI18nExtend=C.__vueI18nExtend}let S=null;!n&&r&&(S=Z3(I,f.global)),__VUE_I18N_FULL_INSTALL__&&I3(I,f,...g),__VUE_I18N_LEGACY_API__&&n&&I.mixin(k3(a,a.__composer,f));const h=I.unmount;if(I.unmount=()=>{S&&S(),f.dispose(),h()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield w3(I,f)))throw pe(j.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const m=Io();if(n){const v=a;v.__enableEmitter&&v.__enableEmitter(m)}else{const v=a;v[Mt]&&v[Mt](m)}m.on("*",Rn)}})},get global(){return a},dispose(){u.stop()},__instances:i,__getInstance:l,__setInstance:p,__deleteInstance:c};return f}}function Ni(e={}){const t=nn();if(t==null)throw pe(j.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw pe(j.NOT_INSTALLED);const n=H3(t),r=q3(n),o=Hs(t),i=G3(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw pe(j.NOT_AVAILABLE_IN_LEGACY_MODE);return z3(t,i,r,e)}if(i==="global")return Gs(r,e,o),r;if(i==="parent"){let s=K3(n,t,e.__useComponent);return s==null&&(process.env.NODE_ENV!=="production"&&de(De(ne.NOT_FOUND_PARENT_SCOPE)),s=r),s}const u=n;let a=u.__getInstance(t);if(a==null){const s=fe({},e);"__i18n"in o&&(s.__i18n=o.__i18n),r&&(s.__root=r),a=Ci(s),u.__composerExtend&&(a[Oi]=u.__composerExtend(a)),J3(u,t,a),u.__setInstance(t,a)}return a}function j3(e,t,n){const r=Lb();{const o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Si(e)):r.run(()=>Ci(e));if(o==null)throw pe(j.UNEXPECTED_ERROR);return[r,o]}}function H3(e){{const t=Fs(e.isCE?U3:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw pe(e.isCE?j.NOT_INSTALLED_WITH_PROVIDE:j.UNEXPECTED_ERROR);return t}}function G3(e,t){return pr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function q3(e){return e.mode==="composition"?e.global:e.global.__composer}function K3(e,t,n=!1){let r=null;const o=t.root;let i=X3(t,n);for(;i!=null;){const u=e;if(e.mode==="composition")r=u.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=u.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[js]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function X3(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function J3(e,t,n){let r=null;N5(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Io();const o=n;o[Mt]&&o[Mt](r),r.on("*",Rn)}},t),B5(()=>{const o=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Rn),o[Ln]&&o[Ln](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[Oi];i&&(i(),delete o[Oi])},t)}function z3(e,t,n,r={}){const o=t==="local",i=ds(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw pe(j.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=x(r.inheritLocale)?r.inheritLocale:!T(r.locale),a=zt(!o||u?n.locale.value:T(r.locale)?r.locale:Gt),s=zt(!o||u?n.fallbackLocale.value:T(r.fallbackLocale)||Y(r.fallbackLocale)||M(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),l=zt(Hr(a.value,r)),p=zt(M(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),c=zt(M(r.numberFormats)?r.numberFormats:{[a.value]:{}}),f=o?n.missingWarn:x(r.missingWarn)||dt(r.missingWarn)?r.missingWarn:!0,y=o?n.fallbackWarn:x(r.fallbackWarn)||dt(r.fallbackWarn)?r.fallbackWarn:!0,I=o?n.fallbackRoot:x(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,S=Q(r.missing)?r.missing:null,h=Q(r.postTranslation)?r.postTranslation:null,C=o?n.warnHtmlMessage:x(r.warnHtmlMessage)?r.warnHtmlMessage:!0,m=!!r.escapeParameter,v=o?n.modifiers:M(r.modifiers)?r.modifiers:{},E=r.pluralRules||o&&n.pluralRules;function b(){return[a.value,s.value,l.value,p.value,c.value]}const A=Qe({get:()=>i.value?i.value.locale.value:a.value,set:B=>{i.value&&(i.value.locale.value=B),a.value=B}}),D=Qe({get:()=>i.value?i.value.fallbackLocale.value:s.value,set:B=>{i.value&&(i.value.fallbackLocale.value=B),s.value=B}}),N=Qe(()=>i.value?i.value.messages.value:l.value),G=Qe(()=>p.value),Ie=Qe(()=>c.value);function V(){return i.value?i.value.getPostTranslationHandler():h}function le(B){i.value&&i.value.setPostTranslationHandler(B)}function Ve(){return i.value?i.value.getMissingHandler():S}function Xn(B){i.value&&i.value.setMissingHandler(B)}function et(B){return b(),B()}function Jn(...B){return i.value?et(()=>Reflect.apply(i.value.t,null,[...B])):et(()=>"")}function zn(...B){return i.value?Reflect.apply(i.value.rt,null,[...B]):""}function Qn(...B){return i.value?et(()=>Reflect.apply(i.value.d,null,[...B])):et(()=>"")}function Zn(...B){return i.value?et(()=>Reflect.apply(i.value.n,null,[...B])):et(()=>"")}function Yn(B){return i.value?i.value.tm(B):{}}function ke(B,K){return i.value?i.value.te(B,K):!1}function fn(B){return i.value?i.value.getLocaleMessage(B):{}}function dn(B,K){i.value&&(i.value.setLocaleMessage(B,K),l.value[B]=K)}function er(B,K){i.value&&i.value.mergeLocaleMessage(B,K)}function tr(B){return i.value?i.value.getDateTimeFormat(B):{}}function nr(B,K){i.value&&(i.value.setDateTimeFormat(B,K),p.value[B]=K)}function fo(B,K){i.value&&i.value.mergeDateTimeFormat(B,K)}function rr(B){return i.value?i.value.getNumberFormat(B):{}}function pn(B,K){i.value&&(i.value.setNumberFormat(B,K),c.value[B]=K)}function or(B,K){i.value&&i.value.mergeNumberFormat(B,K)}const ir={get id(){return i.value?i.value.id:-1},locale:A,fallbackLocale:D,messages:N,datetimeFormats:G,numberFormats:Ie,get inheritLocale(){return i.value?i.value.inheritLocale:u},set inheritLocale(B){i.value&&(i.value.inheritLocale=B)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(l.value)},get modifiers(){return i.value?i.value.modifiers:v},get pluralRules(){return i.value?i.value.pluralRules:E},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackWarn(){return i.value?i.value.fallbackWarn:y},set fallbackWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackRoot(){return i.value?i.value.fallbackRoot:I},set fallbackRoot(B){i.value&&(i.value.fallbackRoot=B)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(B){i.value&&(i.value.fallbackFormat=B)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:C},set warnHtmlMessage(B){i.value&&(i.value.warnHtmlMessage=B)},get escapeParameter(){return i.value?i.value.escapeParameter:m},set escapeParameter(B){i.value&&(i.value.escapeParameter=B)},t:Jn,getPostTranslationHandler:V,setPostTranslationHandler:le,getMissingHandler:Ve,setMissingHandler:Xn,rt:zn,d:Qn,n:Zn,tm:Yn,te:ke,getLocaleMessage:fn,setLocaleMessage:dn,mergeLocaleMessage:er,getDateTimeFormat:tr,setDateTimeFormat:nr,mergeDateTimeFormat:fo,getNumberFormat:rr,setNumberFormat:pn,mergeNumberFormat:or};function ur(B){B.locale.value=a.value,B.fallbackLocale.value=s.value,Object.keys(l.value).forEach(K=>{B.mergeLocaleMessage(K,l.value[K])}),Object.keys(p.value).forEach(K=>{B.mergeDateTimeFormat(K,p.value[K])}),Object.keys(c.value).forEach(K=>{B.mergeNumberFormat(K,c.value[K])}),B.escapeParameter=m,B.fallbackFormat=g,B.fallbackRoot=I,B.fallbackWarn=y,B.missingWarn=f,B.warnHtmlMessage=C}return w5(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw pe(j.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=i.value=e.proxy.$i18n.__composer;t==="global"?(a.value=B.locale.value,s.value=B.fallbackLocale.value,l.value=B.messages.value,p.value=B.datetimeFormats.value,c.value=B.numberFormats.value):o&&ur(B)}),ir}const Q3=["locale","fallbackLocale","availableLocales"],sl=["t","rt","d","n","tm","te"];function Z3(e,t){const n=Object.create(null);return Q3.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw pe(j.UNEXPECTED_ERROR);const u=Ee(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,u)}),e.config.globalProperties.$i18n=n,sl.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw pe(j.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,sl.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(m3(),__INTLIFY_JIT_COMPILATION__?da(fb):da(cb),nb($y),rb(sa),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=nt();e.__INTLIFY__=!0,Gy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Y3=(e,t)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=e.split(".");let r;const o=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((u,a)=>{a===0?r=o[u]:r&&(r=r[u])});let i="";return r&&(i=r),t&&Object.keys(t).forEach(u=>{const a=t[u];i=i.replace(new RegExp(`\\{\\s*${u}\\s*\\}`,"g"),a)}),i||(i=e),i};function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ll(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t6(e,t,n){return t&&ll(e.prototype,t),n&&ll(e,n),e}function n6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=function(){function e(){e6(this,e)}return t6(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,i,u,a=JSON.parse((u=window.localStorage.getItem("tenantDetail"))!==null&&u!==void 0?u:"{}");if(!(a==null||(i=a.data)===null||i===void 0||(o=i.tenant_auth)===null||o===void 0)&&o.dynamic_multilanguage){var s;return(s=Y3("engine."+n))!==null&&s!==void 0?s:this.$i18n.global.t(n,r)}else{var l;return cr==null||(l=cr[go])===null||l===void 0?void 0:l[n]}}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:go;return W3({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,r){var o=r;r||(o=cr.zhCN),this.$i18n.global.setLocaleMessage(n,o)}}]),e}();n6($,"$i18n",$.resetI18n());function cl(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return r.reduce(function(i,u,a,s){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){dr("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return a===s.length-1&&!Object.is(l[u],n)&&(l[u]=n,o=!0),l[u]}},e),o}var r6=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},o6={exports:{}};(function(e){(function(t){var n=function(h,C,m){if(!l(C)||c(C)||f(C)||y(C)||s(C))return C;var v,E=0,b=0;if(p(C))for(v=[],b=C.length;E<b;E++)v.push(n(h,C[E],m));else{v={};for(var A in C)Object.prototype.hasOwnProperty.call(C,A)&&(v[h(A,m)]=n(h,C[A],m))}return v},r=function(h,C){C=C||{};var m=C.separator||"_",v=C.split||/(?=[A-Z])/;return h.split(v).join(m)},o=function(h){return I(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(C,m){return m?m.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var C=o(h);return C.substr(0,1).toUpperCase()+C.substr(1)},u=function(h,C){return r(h,C).toLowerCase()},a=Object.prototype.toString,s=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},p=function(h){return a.call(h)=="[object Array]"},c=function(h){return a.call(h)=="[object Date]"},f=function(h){return a.call(h)=="[object RegExp]"},y=function(h){return a.call(h)=="[object Boolean]"},I=function(h){return h=h-0,h===h},g=function(h,C){var m=C&&"process"in C?C.process:C;return typeof m!="function"?h:function(v,E){return m(v,h,E)}},S={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,C){return n(g(o,C),h)},decamelizeKeys:function(h,C){return n(g(u,C),h,C)},pascalizeKeys:function(h,C){return n(g(i,C),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=S:t.humps=S})(r6)})(o6);var fl={};Object.defineProperty(fl,"__esModule",{value:!0});function Bi(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Bi(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:Bi(r)}return t}}var i6=fl.default=Bi;function dl(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function st(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":dl(e))==="object"?i6(e):e}function Ti(e){return Object.prototype.toString.call(e)==="[object Object]"}function u6(e){return e!=null&&(typeof e=="undefined"?"undefined":dl(e))==="object"&&Array.isArray(e)===!1}function $n(e){return Array.isArray(e)}function Li(e){return typeof e=="string"}function a6(e){return Object.values(P).includes(e)}function Pi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s6(e){if(Array.isArray(e))return Pi(e)}function pl(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function l6(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){pl(i,r,o,u,a,"next",s)}function a(s){pl(i,r,o,u,a,"throw",s)}u(void 0)})}}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f6(e,t,n){return t&&_l(e.prototype,t),n&&_l(e,n),e}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ri(e){return s6(e)||d6(e)||_6(e)||p6()}function _6(e,t){if(!!e){if(typeof e=="string")return Pi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pi(e,t)}}function h6(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ml=function(){function e(){c6(this,e),hl(this,"_events",new Map),hl(this,"debug",!1)}return f6(e,[{key:"emit",value:function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var u=this;return l6(function(){var a,s,l,p,c,f,y,I,g,S,h,C;return h6(this,function(m){switch(m.label){case 0:if(a=u._events.get(n),s=[],!a)return[3,10];l=a.slice(),p=!0,c=!1,f=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),y=l[Symbol.iterator](),m.label=2;case 2:if(p=(I=y.next()).done)return[3,7];if(g=I.value,!a.includes(g))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),u.debug&&Gu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Ri(o))),[4,g.apply(null,Ri(o))];case 4:return S=m.sent(),u.debug&&Gu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ri(o),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return h=m.sent(),jE(String(h)+":"+String(h.stack)),[3,6];case 6:return p=!0,[3,2];case 7:return[3,10];case 8:return C=m.sent(),c=!0,f=C,[3,10];case 9:try{!p&&y.return!=null&&y.return()}finally{if(c)throw f}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var o=this._events.get(n),i=o==null?void 0:o.indexOf(r);o==null||o.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function m6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v6(e,t,n){return t&&vl(e.prototype,t),n&&vl(e,n),e}function g6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E6=[{key:"on_click",name:$.getMessage("click"),code:"click"},{key:"on_click_finish",name:$.getMessage("finished"),code:"click-finish"},{key:"on_change",name:$.getMessage("valueChange"),code:"change"},{key:"on_search",name:$.getMessage("search"),code:"search"},{key:"on_list_change",name:$.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:$.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:$.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:$.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:$.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:$.getMessage("onInput"),code:"input"},{key:"on_blur",name:$.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:$.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:$.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:$.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:$.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:$.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:$.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:$.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:$.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:$.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:$.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:$.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:$.getMessage("modalConfirm"),code:"modal-ok"}],Mn=function(){function e(){m6(this,e)}return v6(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(o){return r.includes(o.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],o=n.eventKeys;r=r.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=n.customEvents.map(function(u){var a=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(a=u.namespace+":"+u.key),{key:a,code:u.key,name:u.name}});return r=r.concat(i),r}}]),e}();g6(Mn,"events",E6);function $i(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y6(e){if(Array.isArray(e))return $i(e)}function b6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function O6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function gl(e){return y6(e)||b6(e)||C6(e)||O6()}function C6(e,t){if(!!e){if(typeof e=="string")return $i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $i(e,t)}}function Mi(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function El(e,t,n){n!=="Runtime"&&(e.parent=t,Mi(e,"parent"))}function S6(e,t,n){e.forEach(function(r){El(r,t,n)})}var yl=Symbol("targetKey");function bl(e){var t;return(t=e[yl])!==null&&t!==void 0?t:e}function Ol(e,t,n){return S6(e,t,n),new Proxy(e,{get:function(o,i){for(var u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];var l;return i===yl?o:(l=Reflect).get.apply(l,[o,i].concat(gl(a)))},set:function(o,i,u){for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];var p;if($n(e)&&i==="length"&&u===e.length)return!0;var c=(p=Reflect).set.apply(p,[o,i,u].concat(gl(s)));return Ti(u)&&El(u,t,n),c}})}function xi(e,t,n,r,o){var i=r!=null?r:e,u=Ol(bl(n!=null?n:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(s){u=Ol(bl(s),i,o)},enumerable:!0})}function A6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I6(e,t,n){return t&&Cl(e.prototype,t),n&&Cl(e,n),e}function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sl=[],xn=function(){function e(t){A6(this,e),bt(this,"registeredControlTypes",new Set),bt(this,"controlConfigMap",new Map),bt(this,"_controls",[]),bt(this,"_type",void 0),this._type=t,this._initControls(t)}return I6(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||En("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(o){return o.controlType===n.controlType});return r>-1&&(dr("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ge.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ge.FORM}},{key:"isListControl",value:function(n){return n.controlType===ge.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ge.COLUMN}},{key:"createControl",value:function(n,r){var o=this;if(Array.isArray(n))return n.map(function(p){return o.createControl(p,r)});if(n.children&&(n.children=n.children.map(function(p){return o.createControl(p,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(p){return o.createControl(p,r)}))}var u=this.getControlFormType(n.type);if(u){var a=n;if(typeof r=="function"){var s=r(a);s&&(a=s)}var l;return u.mode==="Runtime"?(l=a,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(a),l}else En("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),Mi(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=r._controlParentIdMap,a=r.instanceMap;if(!(!u||!a)){var s=u[i],l=a[i];if(!(!s&&!l)){var p=l.findIndex(function(y){return y==n}),c=a[s]||[],f;return c.length!==l.length?f=c[0]:f=c[p],f}}}}),Mi(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var o=this.getControlFormType(n);if(o)return new o(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(o){r.register(o[n]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var o=e.staticControlsRuntimeRules.get(n),i=[];if(o){var u=new o(r);i=Array.from(u)}return i}},{key:"register",value:function(n,r){var o=n.Designer,i=n.Runtime,u=n.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&En("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(s){return s.Designer.controlType===o.controlType});return a>-1&&(dr("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(n),u.mode=r,this}}]),e}();bt(xn,"staticControlsRuntimeRules",new Map),bt(xn,"staticControls",Sl),bt(xn,"staticRegisteredTypes",new Set(Sl.map(function(e){return e.Designer.controlType}))),bt(xn,"staticRegisteredConfigs",new Map);function Vi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Al=function e(t){Vi(this,e),qe(this,"dataCode",void 0),qe(this,"fieldCode",void 0),qe(this,"fieldType",void 0),qe(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},F6=function e(t){Vi(this,e),qe(this,"minWidth",void 0),qe(this,"maxWidth",void 0),qe(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},Il;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Il||(Il={}));var Fl;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"})(Fl||(Fl={}));var ki;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ki||(ki={}));var D6=function e(t){Vi(this,e),qe(this,"width",void 0),qe(this,"height",void 0),qe(this,"widthConfig",void 0),qe(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function w6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(e,t,n){return t=Vn(t),L6(e,ji()?Reflect.construct(t,n||[],Vn(e).constructor):t.apply(e,n))}function Ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,n){return ji()?Gr=Reflect.construct:Gr=function(o,i,u){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(o,a),l=new s;return u&&kn(l,u.prototype),l},Gr.apply(null,arguments)}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kn(e,t)}function T6(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function L6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:w6(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kn(e,t)}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wi(e){var t=typeof Map=="function"?new Map:void 0;return Wi=function(r){if(r===null||!T6(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Gr(r,arguments,Vn(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),kn(o,r)},Wi(e)}function ji(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ji=function(){return!!e})()}var Hi=function e(t){Ui(this,e),lt(this,"isHide",{type:"boolean"})},Dl=function(e){B6(t,e);function t(n){return Ui(this,t),N6(this,t)}return t}(Wi(Array)),ct=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ui(this,e),lt(this,"isHide",void 0),lt(this,"className",void 0),lt(this,"style",void 0),lt(this,"caption",void 0),lt(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new D6(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:n};lt(ct,"mode",void 0),lt(ct,"Rules",Hi),lt(ct,"RuntimeRules",Dl);function Ze(){return Ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ze.apply(this,arguments)}function R6(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function qr(e,t){return qr=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qr(e,t)}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Kr(e,t,n){return $6()?Kr=Reflect.construct:Kr=function(o,i,u){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(o,a),l=new s;return u&&qr(l,u.prototype),l},Kr.apply(null,arguments)}function M6(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qi(e){var t=typeof Map=="function"?new Map:void 0;return qi=function(r){if(r===null||!M6(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Kr(r,arguments,Gi(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qr(o,r)},qi(e)}var x6=/%[sdj%]/g,wl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(wl=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Ki(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Pe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(x6,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return a}});return u}return o}function V6(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function _e(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||V6(t)&&typeof e=="string"&&!e)}function k6(e,t,n){var r=[],o=0,i=e.length;function u(a){r.push.apply(r,a),o++,o===i&&n(r)}e.forEach(function(a){t(a,u)})}function Nl(e,t,n){var r=0,o=e.length;function i(u){if(u&&u.length){n(u);return}var a=r;r=r+1,a<o?t(e[a],i):n([])}i([])}function U6(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Bl=function(e){R6(t,e);function t(n,r){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=n,o.fields=r,o}return t}(qi(Error));function W6(e,t,n,r){if(t.first){var o=new Promise(function(c,f){var y=function(S){return r(S),S.length?f(new Bl(S,Ki(S))):c()},I=U6(e);Nl(I,n,y)});return o.catch(function(c){return c}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),a=u.length,s=0,l=[],p=new Promise(function(c,f){var y=function(g){if(l.push.apply(l,g),s++,s===a)return r(l),l.length?f(new Bl(l,Ki(l))):c()};u.length||(r(l),c()),u.forEach(function(I){var g=e[I];i.indexOf(I)!==-1?Nl(g,n,y):k6(g,n,y)})});return p.catch(function(c){return c}),p}function Tl(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Ll(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ze(Ze({},e[n]),r):e[n]=r}}return e}function Pl(e,t,n,r,o,i){e.required&&(!n.hasOwnProperty(e.field)||_e(t,i||e.type))&&r.push(Pe(o.messages.required,e.fullField))}function j6(e,t,n,r,o){(/^\s+$/.test(t)||t==="")&&r.push(Pe(o.messages.whitespace,e.fullField))}var Xi={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[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,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Un={integer:function(t){return Un.number(t)&&parseInt(t,10)===t},float:function(t){return Un.number(t)&&!Un.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Un.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Xi.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Xi.url)},hex:function(t){return typeof t=="string"&&!!t.match(Xi.hex)}};function H6(e,t,n,r,o){if(e.required&&t===void 0){Pl(e,t,n,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Un[u](t)||r.push(Pe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&r.push(Pe(o.messages.types[u],e.fullField,e.type))}function G6(e,t,n,r,o){var i=typeof e.len=="number",u=typeof e.min=="number",a=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,p=null,c=typeof t=="number",f=typeof t=="string",y=Array.isArray(t);if(c?p="number":f?p="string":y&&(p="array"),!p)return!1;y&&(l=t.length),f&&(l=t.replace(s,"_").length),i?l!==e.len&&r.push(Pe(o.messages[p].len,e.fullField,e.len)):u&&!a&&l<e.min?r.push(Pe(o.messages[p].min,e.fullField,e.min)):a&&!u&&l>e.max?r.push(Pe(o.messages[p].max,e.fullField,e.max)):u&&a&&(l<e.min||l>e.max)&&r.push(Pe(o.messages[p].range,e.fullField,e.min,e.max))}var on="enum";function q6(e,t,n,r,o){e[on]=Array.isArray(e[on])?e[on]:[],e[on].indexOf(t)===-1&&r.push(Pe(o.messages[on],e.fullField,e[on].join(", ")))}function K6(e,t,n,r,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Pe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push(Pe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:Pl,whitespace:j6,type:H6,range:G6,enum:q6,pattern:K6};function X6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t,"string")&&!e.required)return n();k.required(e,t,r,i,o,"string"),_e(t,"string")||(k.type(e,t,r,i,o),k.range(e,t,r,i,o),k.pattern(e,t,r,i,o),e.whitespace===!0&&k.whitespace(e,t,r,i,o))}n(i)}function J6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k.type(e,t,r,i,o)}n(i)}function z6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function Q6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k.type(e,t,r,i,o)}n(i)}function Z6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),_e(t)||k.type(e,t,r,i,o)}n(i)}function Y6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function eO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function tO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,r,i,o,"array"),t!=null&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function nO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k.type(e,t,r,i,o)}n(i)}var rO="enum";function oO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k[rO](e,t,r,i,o)}n(i)}function iO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t,"string")&&!e.required)return n();k.required(e,t,r,i,o),_e(t,"string")||k.pattern(e,t,r,i,o)}n(i)}function uO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t,"date")&&!e.required)return n();if(k.required(e,t,r,i,o),!_e(t,"date")){var a;t instanceof Date?a=t:a=new Date(t),k.type(e,a,r,i,o),a&&k.range(e,a.getTime(),r,i,o)}}n(i)}function aO(e,t,n,r,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,r,i,o,u),n(i)}function Ji(e,t,n,r,o){var i=e.type,u=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t,i)&&!e.required)return n();k.required(e,t,r,u,o,i),_e(t,i)||k.type(e,t,r,u,o)}n(u)}function sO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o)}n(i)}var Wn={string:X6,method:J6,number:z6,boolean:Q6,regexp:Z6,integer:Y6,float:eO,array:tO,object:nO,enum:oO,pattern:iO,date:uO,url:Ji,hex:Ji,email:Ji,required:aO,any:sO};function zi(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Qi=zi();function Ot(e){this.rules=null,this._messages=Qi,this.define(e)}Ot.prototype={messages:function(t){return t&&(this._messages=Ll(zi(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var o=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,u=n,a=r;if(typeof u=="function"&&(a=u,u={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function s(g){var S,h=[],C={};function m(v){if(Array.isArray(v)){var E;h=(E=h).concat.apply(E,v)}else h.push(v)}for(S=0;S<g.length;S++)m(g[S]);h.length?C=Ki(h):(h=null,C=null),a(h,C)}if(u.messages){var l=this.messages();l===Qi&&(l=zi()),Ll(l,u.messages),u.messages=l}else u.messages=this.messages();var p,c,f={},y=u.keys||Object.keys(this.rules);y.forEach(function(g){p=o.rules[g],c=i[g],p.forEach(function(S){var h=S;typeof h.transform=="function"&&(i===t&&(i=Ze({},i)),c=i[g]=h.transform(c)),typeof h=="function"?h={validator:h}:h=Ze({},h),h.validator=o.getValidationMethod(h),h.field=g,h.fullField=h.fullField||g,h.type=o.getType(h),h.validator&&(f[g]=f[g]||[],f[g].push({rule:h,value:c,source:i,field:g}))})});var I={};return W6(f,u,function(g,S){var h=g.rule,C=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");C=C&&(h.required||!h.required&&g.value),h.field=g.field;function m(b,A){return Ze(Ze({},A),{},{fullField:h.fullField+"."+b})}function v(b){b===void 0&&(b=[]);var A=b;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&Ot.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(Tl(h)),u.first&&A.length)return I[h.field]=1,S(A);if(!C)S(A);else{if(h.required&&!g.value)return h.message!==void 0?A=[].concat(h.message).map(Tl(h)):u.error&&(A=[u.error(h,Pe(u.messages.required,h.field))]),S(A);var D={};if(h.defaultField)for(var N in g.value)g.value.hasOwnProperty(N)&&(D[N]=h.defaultField);D=Ze(Ze({},D),g.rule.fields);for(var G in D)if(D.hasOwnProperty(G)){var Ie=Array.isArray(D[G])?D[G]:[D[G]];D[G]=Ie.map(m.bind(null,G))}var V=new Ot(D);V.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),V.validate(g.value,g.rule.options||u,function(le){var Ve=[];A&&A.length&&Ve.push.apply(Ve,A),le&&le.length&&Ve.push.apply(Ve,le),S(Ve.length?Ve:null)})}}var E;h.asyncValidator?E=h.asyncValidator(h,g.value,v,g.source,u):h.validator&&(E=h.validator(h,g.value,v,g.source,u),E===!0?v():E===!1?v(h.message||h.field+" fails"):E instanceof Array?v(E):E instanceof Error&&v(E.message)),E&&E.then&&E.then(function(){return v()},function(b){return v(b)})},function(g){s(g)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Wn.hasOwnProperty(t.type))throw new Error(Pe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Wn.required:Wn[this.getType(t)]||!1}},Ot.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Wn[t]=n},Ot.warning=wl,Ot.messages=Qi,Ot.validators=Wn;var lO={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function cO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ot(e);return n.messages(Object.assign(lO,t)),n}var Rl=new ml;function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fO(e){if(Array.isArray(e))return e}function dO(e){if(Array.isArray(e))return Zi(e)}function $l(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function Ml(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){$l(i,r,o,u,a,"next",s)}function a(s){$l(i,r,o,u,a,"throw",s)}u(void 0)})}}function pO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _O(e,t,n){return t&&xl(e.prototype,t),n&&xl(e,n),e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function kl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hO(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function mO(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){J(e,o,n[o])})}return e}function vO(e){return fO(e)||kl(e)||Wl(e)||hO()}function Yi(e){return dO(e)||kl(e)||Wl(e)||mO()}function gO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wl(e,t){if(!!e){if(typeof e=="string")return Zi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zi(e,t)}}function jl(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ye=function(){function t(n){var r=this;pO(this,t),J(this,"id",void 0),J(this,"name",void 0),J(this,"icon",void 0),J(this,"type",void 0),J(this,"controlType",void 0),J(this,"props",void 0),J(this,"setting",[]),J(this,"fieldType",void 0),J(this,"eventKeys",[]),J(this,"customEvents",[]),J(this,"parent",null),J(this,"slots",void 0),J(this,"slotPosition",void 0),J(this,"updateSetting",Gl),J(this,"removeSetting",Hl),this._callControlHooks("preInstance",n);var o=Vl(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,a=o.controlType,s=o.controlFieldType,l=o.controlEventKeys,p=o.controlCustomEvents,c=o.name,f=o.setting,y=o.slots,I=o.slotPosition;i&&u&&a||qu("The ".concat(c," controlName,controlIcon,controlType is not define"));var g;this.id=(g=n==null?void 0:n.id)!==null&&g!==void 0?g:Eo(10),this.name=i,this.icon=u;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:a,this.props=new ct(n==null?void 0:n.props,(Vl(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=st(f);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:s,this.eventKeys=st(l),this.customEvents=st(p),this.slots=st(y),this.slotPosition=st(I),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return _O(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u,a=vO(o),s=a[0],l=a.slice(1);return(u=Rl).emit.apply(u,[s,this].concat(Yi(l)))}},{key:"preUpdate",value:function(r,o){this._callControlHooks("preUpdateProps",r,o)}},{key:"postUpdate",value:function(r,o){this._callControlHooks("postUpdateProps",r,o)}},{key:"updateProps",value:function(r,o){this.preUpdate(r,o),cl(this.props,r,o),this.postUpdate(r,o)}},{key:"preValidate",value:function(){var r=this;return Ml(function(){var o,i,u;return jl(this,function(a){switch(a.label){case 0:return o=Ul({},r.rules),[4,r._callControlHooks("preValidate",o)];case 1:return i=a.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(r,o){var i=this;return Ml(function(){var u,a,s,l;return jl(this,function(p){switch(p.label){case 0:return[4,i.preValidate()];case 1:u=p.sent(),a=u!==void 0?u:Ul({},i.rules),Array.isArray(o)&&o.forEach(function(c){a.hasOwnProperty(c)&&delete a[c]}),s=cO(a,r),p.label=2;case 2:return p.trys.push([2,4,,5]),[4,s.validate(i.props)];case 3:return p.sent(),[2,!0];case 4:throw l=p.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,a=this.props,s=a.dataBind,l=a.datasourceBind,p=a.optionConfig,c=a.caption,f=a.required,y=a.maxLength,I=a.options,g=a.encrypted,S=a.encryptedMode;if(!(!o&&!s&&!l)){var h={parentId:r,fieldType:o,controlId:i,caption:c,type:u,props:{}};switch(s&&(h.dataBind=s),p){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=I;break}return f!==void 0&&(h.required=f),y!==void 0&&(h.maxLength=y),g!==void 0&&(h.encrypted=g),S!==void 0&&(h.encryptedMode=S),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:st(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,o){if(r==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Yi(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();J(ye,"mode","Designer"),J(ye,"slots",void 0),J(ye,"slotPosition",void 0),J(ye,"controlName","\u63A7\u4EF6"),J(ye,"controlIcon","icon"),J(ye,"controlType","control"),J(ye,"controlFieldType",void 0),J(ye,"controlEventKeys",[]),J(ye,"controlCustomEvents",[]),J(ye,"setting",[]),J(ye,"__is_control__",!0),J(ye,"removeSettingItem",Hl),J(ye,"updateSettingItem",Gl);function Hl(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var o,i=typeof r!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?r.key:r)});if(u!==-1){var a,s;i?t.setting[u].showItems=(a=t.setting[u].showItems)===null||a===void 0?void 0:a.filter(function(l){return!r.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((s=t.setting[u].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(u,1)}})}function Gl(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(o){var i=n.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":gO(t))==="object"){var u,a=(u=t.type)!==null&&u!==void 0?u:"replace";if(a==="replace")i.showItems=t.showItems;else{var s;(s=i.showItems).push.apply(s,Yi(t.showItems))}}}})}function EO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ql(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yO(e,t,n){return t&&ql(e.prototype,t),n&&ql(e,n),e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bO(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var jn=function(){function t(n){EO(this,t),Re(this,"id",void 0),Re(this,"type",void 0),Re(this,"controlType",void 0),Re(this,"props",void 0),Re(this,"fieldType",void 0),Re(this,"customEvents",[]),Re(this,"pageStatus",void 0),Re(this,"parent",null);var r=bO(this,t)?this.constructor:void 0,o=r.controlType,i=r.controlFieldType,u=r.name,a=r.controlCustomEvents;o||qu("The ".concat(u," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:Eo(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:o,this.props=new ct(n==null?void 0:n.props),this.customEvents=a;var p;this.controlType=(p=n==null?void 0:n.controlType)!==null&&p!==void 0?p:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:i;var f;this.pageStatus=(f=n==null?void 0:n.pageStatus)!==null&&f!==void 0?f:ki.UNKNOWN}return yO(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var o=new r(this.props);return Array.from(o)}return[]}}]),t}();Re(jn,"mode","Runtime"),Re(jn,"controlType","control"),Re(jn,"controlFieldType",void 0),Re(jn,"__is_control__",!0),Re(jn,"controlCustomEvents",[]);function Kl(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eu(e,t,n){return t=Xr(t),CO(e,Xl()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function tu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function nu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ru(e,t)}function CO(e,t){return t&&(SO(t)==="object"||typeof t=="function")?t:OO(e)}function ru(e,t){return ru=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ru(e,t)}function SO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xl=function(){return!!e})()}var AO=function(e){nu(t,e);function t(n){tu(this,t);var r;r=eu(this,t,[n]),se(r,"dataBind",{}),se(r,"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),se(r,"isHideCaption",{type:"boolean"}),se(r,"labelPosition",{type:"enum",enum:["top","left"]}),se(r,"defaultState",{type:"enum",enum:["default","readonly"]}),se(r,"required",{type:"boolean"}),se(r,"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")});var o={fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}};if(Kl(n.dataBind))r.dataBind={type:"object",required:!0,fields:st(o),message:$.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:$.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:st(o),message:$.getMessage("pleaseEnterFieldCode")}}),r.dataBind=i}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(Hi),IO=function(e){nu(t,e);function t(n){tu(this,t);var r;r=eu(this,t,[n]);var o=n.isHide?!1:n.required;return o&&r.push({type:"string",required:o,message:n.requiredMessage!==""?n.requiredMessage:$.getMessage("runtimeRequired",{caption:n.caption})}),r}return t}(Dl),ou=function(e){nu(t,e);function t(n){tu(this,t);var r;r=eu(this,t,[n]),se(r,"caption",void 0),se(r,"isHideCaption",void 0),se(r,"isShowCaptionTip",void 0),se(r,"captionTip",void 0),se(r,"labelPosition",void 0),se(r,"dataBind",void 0),se(r,"defaultValue",void 0),se(r,"placeholder",void 0),se(r,"defaultState",void 0),se(r,"required",void 0),se(r,"requiredMessage",void 0);var o;r.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var i;r.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;r.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var a;r.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var l;r.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var p;r.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"";var c;r.required=(c=n==null?void 0:n.required)!==null&&c!==void 0?c:!1;var f;r.requiredMessage=(f=n==null?void 0:n.requiredMessage)!==null&&f!==void 0?f:"",r.dataBind=new Al(n==null?void 0:n.dataBind);var y;return r.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"",r}return t}(ct);se(ou,"Rules",AO),se(ou,"RuntimeRules",IO);function FO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DO(e,t,n){return t=zr(t),BO(e,Jl()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function NO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iu(e,t)}function BO(e,t){return t&&(TO(t)==="object"||typeof t=="function")?t:FO(e)}function iu(e,t){return iu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},iu(e,t)}function TO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jl=function(){return!!e})()}var zl=function(e){NO(t,e);function t(n){wO(this,t);var r;return r=DO(this,t,[n]),Jr(r,"controlType","form"),Jr(r,"props",void 0),r.props=new ou(n==null?void 0:n.props),r}return t}(ye);Jr(zl,"controlEventKeys",["on_change","on_focus","on_blur"]),Jr(zl,"controlCustomAttributes",void 0);function LO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t,n){return t=Qr(t),MO(e,Ql()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function RO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(e)}function $O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uu(e,t)}function MO(e,t){return t&&(xO(t)==="object"||typeof t=="function")?t:LO(e)}function uu(e,t){return uu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uu(e,t)}function xO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ql(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ql=function(){return!!e})()}var VO=function(e){$O(t,e);function t(n){return RO(this,t),PO(this,t,[n])}return t}(ct);function au(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kO(e){if(Array.isArray(e))return au(e)}function UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zl(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function WO(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){Zl(i,r,o,u,a,"next",s)}function a(s){Zl(i,r,o,u,a,"throw",s)}u(void 0)})}}function jO(e,t,n){return t=St(t),YO(e,tc()?Reflect.construct(t,n||[],St(e).constructor):t.apply(e,n))}function HO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GO(e,t,n){return t&&Yl(e.prototype,t),n&&Yl(e,n),e}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function un(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?un=Reflect.get:un=function(o,i,u){var a=eC(o,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(u||o):s.value}},un(e,t,n||e)}function St(e){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(e)}function qO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&su(e,t)}function KO(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function XO(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JO(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Ct(e,o,n[o])})}return e}function QO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ZO(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):QO(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function YO(e,t){return t&&(tC(t)==="object"||typeof t=="function")?t:UO(e)}function su(e,t){return su=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},su(e,t)}function eC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=St(e),e!==null););return e}function ec(e){return kO(e)||XO(e)||nC(e)||JO()}function tC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nC(e,t){if(!!e){if(typeof e=="string")return au(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return au(e,t)}}function tc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tc=function(){return!!e})()}function rC(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var oC=1e4,nc=function(t){qO(n,t);function n(r){HO(this,n);var o;o=jO(this,n,[r]),Ct(o,"controlType","layout"),Ct(o,"children",void 0),Ct(o,"excludes",void 0),Ct(o,"childrenMaxLength",void 0),Ct(o,"props",void 0);var i=KO(this,n)?this.constructor:void 0,u=i.excludes,a=i.childrenMaxLength;return o.props=new VO(r==null?void 0:r.props),xi(o,"children",r==null?void 0:r.children,void 0,"Designer"),o.excludes=st(u),o.childrenMaxLength=a,o}return GO(n,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var i=this.judgeExcludesChildren(o);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,i){var u=this,a=this,s=function(){return un(St(n.prototype),"validate",u)};return WO(function(){return rC(this,function(l){switch(l.label){case 0:return[4,s().call(a,o,i)];case 1:return l.sent(),[4,Promise.all(a.children.map(function(p){return p.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=un(St(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(a,s){var l=s.toDataBindModel(o);if(Array.isArray(l)){var p=l.filter(function(c){return!!c});return ec(a).concat(ec(p))}return l&&a.push(l),a},u)}},{key:"toSchema",value:function(){var o=un(St(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var a=u.toSchema();return a});return ZO(zO({},o),{children:i})}}]),n}(ye);Ct(nc,"excludes",!1),Ct(nc,"childrenMaxLength",oC);function iC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uC(e,t,n){return t=Zr(t),lC(e,rc()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function aC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lu(e,t)}function lC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:iC(e)}function lu(e,t){return lu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lu(e,t)}function cC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rc=function(){return!!e})()}var fC=function(e){sC(t,e);function t(n,r,o){aC(this,t);var i;i=uC(this,t,[r]),an(i,"headers",void 0),an(i,"footers",void 0),an(i,"pageIndex",void 0),an(i,"pageSize",void 0),an(i,"pageSizeOptions",void 0),an(i,"totalCount",void 0),xi(i,"headers",r==null?void 0:r.headers,n,o),xi(i,"footers",r==null?void 0:r.footers,n);var u;i.pageIndex=(u=r==null?void 0:r.pageIndex)!==null&&u!==void 0?u:1;var a;i.pageSize=(a=r==null?void 0:r.pageSize)!==null&&a!==void 0?a:20;var s;i.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var l;return i.totalCount=(l=r==null?void 0:r.totalCount)!==null&&l!==void 0?l:0,i}return t}(ct);function cu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dC(e){if(Array.isArray(e))return cu(e)}function pC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oc(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function _C(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){oc(i,r,o,u,a,"next",s)}function a(s){oc(i,r,o,u,a,"throw",s)}u(void 0)})}}function hC(e,t,n){return t=At(t),OC(e,lc()?Reflect.construct(t,n||[],At(e).constructor):t.apply(e,n))}function mC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vC(e,t,n){return t&&ic(e.prototype,t),n&&ic(e,n),e}function Yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sn(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?sn=Reflect.get:sn=function(o,i,u){var a=CC(o,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(u||o):s.value}},sn(e,t,n||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(e)}function gC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fu(e,t)}function EC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function uc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Yr(e,o,n[o])})}return e}function bC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ac(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function OC(e,t){return t&&(SC(t)==="object"||typeof t=="function")?t:pC(e)}function fu(e,t){return fu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fu(e,t)}function CC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}function sc(e){return dC(e)||EC(e)||AC(e)||yC()}function SC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AC(e,t){if(!!e){if(typeof e=="string")return cu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cu(e,t)}}function lc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lc=function(){return!!e})()}function IC(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var FC=function(e){gC(t,e);function t(n){mC(this,t);var r;return r=hC(this,t,[n]),Yr(r,"controlType","list"),Yr(r,"props",void 0),r.props=new fC(r,n==null?void 0:n.props,"Designer"),r}return vC(t,[{key:"validate",value:function(r,o){var i=this,u=this,a=function(){return sn(At(t.prototype),"validate",i)};return _C(function(){return IC(this,function(s){switch(s.label){case 0:return[4,a().call(u,r)];case 1:return s.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(r,o)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=sn(At(t.prototype),"toDataBindModel",this).call(this),o=r?[r]:[],i=this.id;return this.props.headers.reduce(function(u,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var l=s.filter(function(p){return!!p});return sc(u).concat(sc(l))}return s&&u.push(s),u},o)}},{key:"toSchema",value:function(){var r=sn(At(t.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(i){return i.toSchema()});return ac(uc({},r),{props:ac(uc({},this.props),{headers:o})})}}]),t}(ye);Yr(FC,"controlFieldType",Ke.LIST);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cc(e,t,n){return t=eo(t),wC(e,pc()?Reflect.construct(t,n||[],eo(e).constructor):t.apply(e,n))}function fc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eo(e)}function dc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&du(e,t)}function wC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:DC(e)}function du(e,t){return du=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},du(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pc=function(){return!!e})()}var BC=function(e){dc(t,e);function t(n){fc(this,t);var r;return r=cc(this,t,[n]),Ne(r,"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ne(r,"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),r.width.required=n.widthType==="px",r}return t}(Hi),TC=function(e){dc(t,e);function t(n){fc(this,t);var r;r=cc(this,t,[n]),Ne(r,"widthType",void 0),Ne(r,"width",void 0),Ne(r,"caption",void 0),Ne(r,"dataBind",void 0),Ne(r,"autoWidth",void 0),Ne(r,"fixed",void 0),Ne(r,"sort",void 0),Ne(r,"align",void 0),Ne(r,"colSpan",void 0),Ne(r,"autoHeight",void 0),Ne(r,"children",void 0);var o;r.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var i;r.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;r.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",r.autoWidth=new F6(n==null?void 0:n.autoWidth),r.dataBind=new Al(n==null?void 0:n.dataBind);var a;r.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(ct);Ne(TC,"Rules",BC);function pu(e){return"children"in e&&$n(e.children)}function _c(e){return"headers"in e.props&&$n(e.props.headers)}function to(e,t){Array.isArray(e)&&e.map(n=>{n.type===P.SUBTABLE?to(n.props.headers,t):pu(n)?to(n==null?void 0:n.children,t):n.controlType===ge.FORM&&t(n)})}const LC=[P.AMOUNT,P.CALC,P.DATE_RANGE];$.getMessage("amount"),Ke.DECIMAL,$.getMessage("currency"),Ke.VARCHAR,$.getMessage("result"),Ke.DECIMAL,$.getMessage("unit"),Ke.VARCHAR,$.getMessage("startTime"),Ke.TIMESTAMP,$.getMessage("endTime"),Ke.TIMESTAMP;function PC(e){let t=[];return to(e,n=>{n.controlType===ge.FORM?t.push(n):(n.type,P.SUBTABLE)}),t}function RC(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===P.TITLE)return n;if(LC.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(o=>{const i=r[o],u=n.controlId+"_"+o;i.fieldCode=hc(u),i.dataCode=t})}else n.dataBind.fieldCode=hc(n.controlId),n.dataBind.dataCode=t;return n})}function hc(e){const t="field_";return e.startsWith(t)?e:t+e}function _u(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function hu(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function mu(e,t,n){return Ut(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(o=>o.validate(t,n)))).every(o=>o):yield e.validate(t,n)})}const $C=[P.TITLE,P.GRID_TABLE_COLUMN,P.SUBTABLE_COLUMN,P.OPERATION_COLUMN,P.DATA_VIEW,P.LIST_VIEW,P.HEADER,P.FOOTER,P.SIMPLE_SEARCH,P.ROW,P.GRID_ROW,P.COL,P.GRID,P.DIVIDER,P.TAB_PANE,P.TAB,P.CARD_GROUP,P.ACTION_BAR,P.GRID_LAYOUT_CONTAINER,P.GRID_LAYOUT_WRAP],MC=[P.CALC],xC={check:{id:"listPageCheckBtnId",caption:$.getMessage("view")},edit:{id:"listPageEditBtnId",caption:$.getMessage("edit")},delete:{id:"listPageDeleteBtnId",caption:$.getMessage("delete")}};function Hn(e,t){var r,o,i,u,a,s,l,p,c;const n=[];if($n(e))n.push(...e.map(f=>Hn(f,t)).flat());else{const f=e.type,{caption:y,content:I}=e.props;let g;if($C.includes(f))f===P.OPERATION_COLUMN&&Object.entries(xC).reduce((S,[h,{caption:C,id:m}])=>{var E;const v=e.props[h];return v&&v.isShow&&S.push({controlId:m,caption:C,type:e.type,controlType:e.controlType,parentId:(E=t==null?void 0:t.controlId)!=null?E:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),S},n);else if(g={controlId:e.id,caption:y||I||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!MC.includes(f),canRead:!0,canHide:!0,group:"element"},t&&t.type===P.SUBTABLE&&(g.caption=t.caption+"_"+g.caption),f===P.VUE_FORM_ITEM&&(g.caption=e.props.controlExportName||e.name),(e.controlType===ge.FORM||e.controlType===ge.COLUMN)&&((i=(o=e.props)==null?void 0:o.dataBind)==null?void 0:i.fieldCode)!==void 0&&((a=(u=e.props)==null?void 0:u.dataBind)==null?void 0:a.fieldCode)!==""&&(g.group="field"),n.push(g),f===P.VUE_FORM_ITEM){let S="element";((l=(s=e.props)==null?void 0:s.dataBind)==null?void 0:l.fieldCode)!==void 0&&((c=(p=e.props)==null?void 0:p.dataBind)==null?void 0:c.fieldCode)!==""&&(S="field");const h=e.props.permissions;h==null||h.map(C=>{var m;g={controlId:C.key,caption:C.caption,type:e.type,controlType:e.controlType,parentId:(m=e.id)!=null?m:null,canEdit:!0,canRead:!0,canHide:!0,group:S},n.push(g)})}e.children&&n.push(...e.children.map(S=>Hn(S,t)).flat()),e.controlType===ge.LIST&&n.push(...e.props.headers.map(S=>Hn(S,g)).flat())}return n}class ln extends xn{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new Mn,this.fieldTypes=Ke,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(o){throw o}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return Ut(this,null,function*(){return mu(...t)})}getModelBindInfoList(...t){return hu(...t)}getSchema(...t){return _u(...t)}listenControlHook(...t){return Rl.on(...t)}}ln.EventLogic=Mn;class VC{constructor(){this.designer=new ln}ListPageBuilder(){const t=this.designer.createControlInstance(P.LIST_VIEW),n=this.designer.createControlInstance(P.SIMPLE_SEARCH),r=this.designer.createControlInstance(P.GRID_TABLE),o=this.designer.createControlInstance(P.CREATE_FORM_LIST_BUTTON),i=this.designer.createControlInstance(P.IMPORT_RECORD_LIST_BUTTON),u=this.designer.createControlInstance(P.EXPORT_LIST_BUTTON),a=this.designer.createControlInstance(P.EXPORT_RECORD_LIST_BUTTON);return r.children.push(o),r.children.push(i),r.children.push(u),r.children.push(a),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(P.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(P.SIMPLE_SEARCH),r=this.designer.createControlInstance(P.GRID_TABLE),o=this.designer.createControlInstance(P.EXPORT_LIST_BUTTON),i=this.designer.createControlInstance(P.EXPORT_RECORD_LIST_BUTTON);return r.children.push(o),r.children.push(i),t.children.push(n),t.children.push(r),t.props.rowStyle={type:"rules",interval:{color:""},rules:[{id:"default",name:$.getMessage("approvedDocuments"),color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:$.getMessage("processStatus")},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}],settings:[{color:"theme",field_codes:["process_status"],type:"fontColor",scope:"col"}],script:"(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"}]},t}FormPageBuilder(){const t=this.designer.createControlInstance(P.DATA_VIEW),n=this.designer.createControlInstance(P.TITLE),r=this.designer.createControlInstance(P.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(P.GRID),n=this.designer.createControlInstance(P.VUE_PAGE);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class mc{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?qn(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?Ec(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=qn(t)}updateDataFieldCodeMap(t){const n=qn(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[o,i]of r.entries())if(i.id===t.id){r.delete(o);break}gc(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;Gn(this.instance,o=>{t.push(o),n.set(o.id,o),gc(o,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function vc(e,t,n){const{dataCode:r,fieldCode:o}=t;r&&o&&(e.has(r)||e.set(r,new Map),e.get(r).set(o,n))}function gc(e,t){if(e.controlType===ge.FORM){const n=e.props.dataBind;Kl(n)?vc(t,n,e):Object.values(n).forEach(r=>{vc(t,r,e)})}}function Gn(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{t(r),pu(r)&&Gn(r.children,t),_c(r)&&Gn(r.props.headers,t)})}function vu(e){return[P.SUBTABLE,P.DATA_VIEW,P.LIST_VIEW].includes(e.type)}function qn(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!vu(t);)t=t.parent;return t}function Ec(e){const t=[e];return Gn(e,n=>{n!==e&&t.includes(n.parent)&&!vu(n)&&t.push(n)}),t}function kC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UC(e,t,n){return t&&yc(e.prototype,t),n&&yc(e,n),e}function gu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ft=function(){function e(t){kC(this,e),gu(this,"visible",void 0),gu(this,"expression",void 0),gu(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var o;this.updateParent=(o=t==null?void 0:t.updateParent)!==null&&o!==void 0?o:!1}return UC(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function WC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jC(e,t,n){return t&&bc(e.prototype,t),n&&bc(e,n),e}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HC=function(){function e(t){WC(this,e),Ye(this,"type",void 0),Ye(this,"label",void 0),Ye(this,"key",void 0),Ye(this,"component",void 0),Ye(this,"effect",void 0),Ye(this,"scopeEffect",void 0),Ye(this,"defaultValue",void 0),Ye(this,"validator",void 0),Ye(this,"props",void 0),Ye(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:BE,this.defaultValue=t.defaultValue,this.validator=t.validator;var o;this.props=(o=t.props)!==null&&o!==void 0?o:new ft,this.effectKeys=Object.keys(this.effect)}return jC(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(o){var i=new RegExp("^".concat(o,"(\\.\\w+)*$"));return i.test(n)}).map(function(o){return r.effect[o]})}},{key:"callEffectFn",value:function(n,r){try{var o=n.apply(null,r);Ti(o)&&Object.assign(this.props,o)}catch(i){En(`effect error
|
|
44
|
+
`.concat(i))}}},{key:"callEffect",value:function(n){for(var r=this,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];this.filterEffects(n).forEach(function(a){return r.callEffectFn(a,i)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];this.callEffectFn(this.scopeEffect,r)}}]),e}();function GC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oc=function e(t){GC(this,e),xt(this,"type","group"),xt(this,"title",void 0),xt(this,"required",void 0),xt(this,"items",void 0),xt(this,"tips",void 0),xt(this,"fromId",void 0),xt(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(o){var i;return(i=o.props)===null||i===void 0?void 0:i.visible})};function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KC(e){return"type"in e&&e.type==="tab"}var Kn=function e(t){qC(this,e),Eu(this,"type","tab"),Eu(this,"title",void 0),Eu(this,"items",void 0),this.title=t.title,this.items=t.items};function Cc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XC(e){if(Array.isArray(e))return e}function JC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t,n){return t=no(t),tS(e,Sc()?Reflect.construct(t,n||[],no(e).constructor):t.apply(e,n))}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},no(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yu(e,t)}function YC(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,u,a;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(r.push(u.value),!(t&&r.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function eS(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tS(e,t){return t&&(rS(t)==="object"||typeof t=="function")?t:JC(e)}function yu(e,t){return yu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yu(e,t)}function nS(e,t){return XC(e)||YC(e,t)||oS(e,t)||eS()}function rS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(e,t){if(!!e){if(typeof e=="string")return Cc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cc(e,t)}}function Sc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sc=function(){return!!e})()}var iS=function(e){ZC(t,e);function t(n){QC(this,t);var r;return r=zC(this,t,[n]),Ti(n)&&Object.entries(n).forEach(function(o){var i=nS(o,2),u=i[0],a=i[1];r[u]=a}),r}return t}(ft);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aS(e,t,n){return t=oo(t),cS(e,Ac()?Reflect.construct(t,n||[],oo(e).constructor):t.apply(e,n))}function sS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oo(e)}function lS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bu(e,t)}function cS(e,t){return t&&(fS(t)==="object"||typeof t=="function")?t:uS(e)}function bu(e,t){return bu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bu(e,t)}function fS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ac(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ac=function(){return!!e})()}var dS=function(e){lS(t,e);function t(n){sS(this,t);var r;r=aS(this,t,[n]),ro(r,"maxLength",void 0),ro(r,"minLength",void 0),ro(r,"placeholder",void 0),ro(r,"i18n",void 0);var o;r.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:"";var i;r.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:"";var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var a;return r.i18n=(a=n==null?void 0:n.i18n)!==null&&a!==void 0?a:!1,r}return t}(ft);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _S(e,t,n){return t=io(t),vS(e,Ic()?Reflect.construct(t,n||[],io(e).constructor):t.apply(e,n))}function hS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ou(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},io(e)}function mS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cu(e,t)}function vS(e,t){return t&&(gS(t)==="object"||typeof t=="function")?t:pS(e)}function Cu(e,t){return Cu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cu(e,t)}function gS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ic(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ic=function(){return!!e})()}var ES=function(e){mS(t,e);function t(n){hS(this,t);var r;r=_S(this,t,[n]),Ou(r,"max",void 0),Ou(r,"min",void 0),Ou(r,"placeholder",void 0);var o;r.max=(o=n==null?void 0:n.max)!==null&&o!==void 0?o:"";var i;r.min=(i=n==null?void 0:n.min)!==null&&i!==void 0?i:"";var u;return r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"",r}return t}(ft);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bS(e,t,n){return t=uo(t),SS(e,Fc()?Reflect.construct(t,n||[],uo(e).constructor):t.apply(e,n))}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uo(e)}function CS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Au(e,t)}function SS(e,t){return t&&(AS(t)==="object"||typeof t=="function")?t:yS(e)}function Au(e,t){return Au=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Au(e,t)}function AS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fc=function(){return!!e})()}var IS=function(e){CS(t,e);function t(n){OS(this,t);var r;r=bS(this,t,[n]),Su(r,"showType",void 0),Su(r,"tips",void 0),Su(r,"disabled",void 0);var o;r.showType=(o=n==null?void 0:n.showType)!==null&&o!==void 0?o:"switch";var i;r.tips=(i=n==null?void 0:n.tips)!==null&&i!==void 0?i:"";var u;return r.disabled=(u=n==null?void 0:n.disabled)!==null&&u!==void 0?u:!1,r}return t}(ft);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DS(e,t,n){return t=ao(t),TS(e,Dc()?Reflect.construct(t,n||[],ao(e).constructor):t.apply(e,n))}function wS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ao(e)}function BS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iu(e,t)}function TS(e,t){return t&&(LS(t)==="object"||typeof t=="function")?t:FS(e)}function Iu(e,t){return Iu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Iu(e,t)}function LS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dc=function(){return!!e})()}var PS=function(e){BS(t,e);function t(n){wS(this,t);var r;r=DS(this,t,[n]),NS(r,"options",void 0);var o;return r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[],r}return t}(ft);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $S(e,t,n){return t=so(t),VS(e,Nc()?Reflect.construct(t,n||[],so(e).constructor):t.apply(e,n))}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},so(e)}function xS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fu(e,t)}function VS(e,t){return t&&(kS(t)==="object"||typeof t=="function")?t:RS(e)}function Fu(e,t){return Fu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fu(e,t)}function kS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nc=function(){return!!e})()}var US=function(e){xS(t,e);function t(n){MS(this,t);var r;r=$S(this,t,[n]),wc(r,"placeholder",void 0),wc(r,"options",void 0);var o;r.placeholder=(o=n==null?void 0:n.placeholder)!==null&&o!==void 0?o:"";var i;return r.options=(i=n==null?void 0:n.options)!==null&&i!==void 0?i:[],r}return t}(ft);function WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t,n){return t=lo(t),qS(e,Tc()?Reflect.construct(t,n||[],lo(e).constructor):t.apply(e,n))}function HS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lo(e)}function GS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Du(e,t)}function qS(e,t){return t&&(KS(t)==="object"||typeof t=="function")?t:WS(e)}function Du(e,t){return Du=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Du(e,t)}function KS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tc=function(){return!!e})()}var XS=function(e){GS(t,e);function t(n){HS(this,t);var r;r=jS(this,t,[n]),Bc(r,"options",void 0),Bc(r,"showType",void 0);var o;r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[];var i;return r.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"outline",r}return t}(ft);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zS(e,t,n){return t=co(t),YS(e,Lc()?Reflect.construct(t,n||[],co(e).constructor):t.apply(e,n))}function QS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},co(e)}function ZS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wu(e,t)}function YS(e,t){return t&&(eA(t)==="object"||typeof t=="function")?t:JS(e)}function wu(e,t){return wu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wu(e,t)}function eA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lc=function(){return!!e})()}var tA=function(e){ZS(t,e);function t(n){QS(this,t);var r;r=zS(this,t,[n]),cn(r,"maxLength",void 0),cn(r,"minLength",void 0),cn(r,"placeholder",void 0),cn(r,"i18n",void 0),cn(r,"maxRows",void 0),cn(r,"minRows",void 0);var o;r.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:"";var i;r.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:"";var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var a;r.maxRows=(a=n==null?void 0:n.maxRows)!==null&&a!==void 0?a:"";var s;r.minRows=(s=n==null?void 0:n.minRows)!==null&&s!==void 0?s:"";var l;return r.i18n=(l=n==null?void 0:n.i18n)!==null&&l!==void 0?l:!1,r}return t}(ft);function nA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){nA(e,o,n[o])})}return e}function rA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bu(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rA(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function oA(e,t){switch(e){case"input":return new dS(t);case"textarea":return new tA(t);case"input-number":return new ES(t);case"switch":return new IS(t);case"radio":return new XS(t);case"checkbox":return new PS(t);case"select":return new US(t);default:return new iS(t)}}function iA(e){return function(t){var n=e.get(t);if(!!n)return new HC(Bu(Nu({},n),{props:oA(n.component,"props"in n?n.props:void 0)}))}}function uA(e){var t=e.fields.reduce(function(o,i){return o.set(i.key,i),o},new Map);function n(o){return new Oc(Bu(Nu({},o),{items:o.items.map(iA(t)).filter(Boolean)}))}function r(o){return o.map(n)}return e.groups.map(function(o){return KC(o)?new Kn(Bu(Nu({},o),{items:r(o.items)})):n(o)})}let Tu="";class Pc extends ml{constructor(t){super(),this.isMounted=!1,this.id=Eo(8),this.__pluginsApplied=!1,this.getSchema=_u,this.getModelBindInfoList=hu,this.generatePermissions=Hn,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=ln,schema:o,mode:i="form",store:u={},messagesI18n:a,language:s=go}=this.$options;$.setLocale(s,a),this.eventLogic=new Mn,this.designer=new r,this.store=new mc(Ft({instance:this.designer.createControl(Array.isArray(o)?o:[o])},u)),this.mode=i,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{Tu=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),Tu=""}catch(r){En(`${Tu||t.constructor.name} Plugin apply Error
|
|
45
|
+
${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var o,i;const t=this.store.selected;if(!t)return;let n=this.getControlSetting(t.type);if(((o=t.parent)==null?void 0:o.controlType)===ge.WRAP){const u=this.getControlSetting((i=t.parent)==null?void 0:i.type);n=this.concatSetting(n,u,t.parent.id)}this.store.setSelectInstanceSettings(n),this.callSelectedEffect("");const r={from:null,current:this.store.selectedInstanceDataScopeParent,oldParent:null,newParent:t.parent};this.callSelectedScopeEffect(r)}concatSetting(t,n,r){var i,u,a,s,l,p,c,f;let o=t;if(((i=t[0])==null?void 0:i.type)==="tab"&&((u=n[0])==null?void 0:u.type)==="tab"){const y=t,I=n.slice(0);o=y.map((g,S)=>{const h=new Kn(g),C=I.findIndex(v=>v.title===g.title);if(C===-1)return h;const m=I.splice(C,1)[0];return m&&(h.items=[...this.formatGroupSetting(m.items,r),...h.items]),h}),I.length&&(o=[...o,...I.map(g=>this.formatGroupSetting(g,r))])}else if(((a=t[0])==null?void 0:a.type)==="group"&&((s=n[0])==null?void 0:s.type)==="group"){const y=t,I=n;o=[...this.formatGroupSetting(I,r),...y]}else if(((l=t[0])==null?void 0:l.type)==="tab"&&((p=n[0])==null?void 0:p.type)==="group"){const y=t,I=n;o=y.map((g,S)=>{const h=new Kn(g);return S===0&&(h.items=[...this.formatGroupSetting(I,r),...h.items]),h})}else if(((c=t[0])==null?void 0:c.type)==="group"&&((f=n[0])==null?void 0:f.type)==="tab"){const y=t;o=n.map((g,S)=>{const h=new Kn(g);return S===0&&(h.items=[...h.items,...this.formatGroupSetting(y,r)]),h})}return o}formatGroupSetting(t,n){if($n(t))return t.map(r=>{const o=new Oc(r);return o.fromId=n,o});{const r=new Kn(t);return r.items=this.formatGroupSetting(r.items,n),r}}setControlConfig(...t){return this.designer.registerControlConfig(...t)}getControlConfig(t){return this.designer.getControlConfig(t)}getControlSetting(t){const n=this.designer.getControlSetting(t);return n?uA(n):[]}selectInstance(t){this.beforeSelectInstance(),this.store.setSelectInstance(t),this.afterSelectInstance()}setSelectedFieldItem(t){this.store.setSelectedFieldItem(t),this.callSelectedEffect("dataBind",{fieldItem:t})}moveStart(t){const n=this.getInstance(t);n&&this.store.setMovingInstance(n)}moveEnd(t=this.store.movingInstance){var s;if(t===null)return;const n=this.getInstance(t);if(!n)return;const r=this.store.movingInstanceOldDataScopeParent,o=qn(n),i=this.store.movingInstanceOldParent,u=n.parent;this.store.setMovingInstance(null),n.id!==((s=this.store.selected)==null?void 0:s.id)?this.selectInstance(n):this.store.setSelectInstance(n),this.store.getFlatInstances();const a={from:r,current:o,oldParent:i,newParent:u};this.callSelectedScopeEffect(a),i?this.emit("moved",Ft({},a)):this.emit("joined",Ft({},a))}createInstance(t,n){return this.designer.createControlInstance(t,n)}getInstance(t){return typeof t=="string"?this.store.instanceIdMap.get(t):t}getInstances(){return this.store.flatInstances}getInstancesFromType(t){return this.getInstances().filter(n=>n.type===t)}getDataScopeInstances(){return this.store.selectedDataScopeFlatInstances}getDataScopeInstancesFromType(t){return this.getDataScopeInstances().filter(n=>n.type===t)}updateInstancePropValue(t,n,r,o){var u;!cl(t.props,n,r)||(n.startsWith("dataBind")&&this.store.updateDataFieldCodeMap(t),t.id===((u=this.store.selected)==null?void 0:u.id)&&this.callSelectedEffect(n,o),this.emit("updated",{instance:t,propName:n,value:r}))}updateInstanceProps(t,n,r,o=""){Object.entries(n).forEach(([i,u])=>{const a=`${o?o+".":""}${i}`;u6(u)?this.updateInstanceProps(t,u,r,a):this.updateInstancePropValue(t,a,u,r)})}setInstance(t,n,r,o){Li(n)?this.updateInstancePropValue(t,String(n),r,o):this.updateInstanceProps(t,n,r)}removeInstance(t){const n=t.parent;if(!n)return;const r=n.controlType===ge.LIST&&n.props.headers.includes(t)?n.props.headers:n.children,o=r.findIndex(i=>i===t);o>-1&&r.splice(o,1),this.store.getFlatInstances(),this.emit("removed",{instance:t,index:o,parent:n})}replaceInstance(t,n){const r=t.parent;if(!r)return;const o=r.controlType===ge.LIST&&r.props.headers.includes(t)?r.props.headers:r.children,i=o.findIndex(u=>u===t);i>-1&&o.splice(i,1,n),this.store.getFlatInstances()}updateInstanceType(t,n){const r=t.toSchema(),o=this.createInstance(n,{id:r.id,props:r.props});if(!o){dr(`can\u2018t update instance type to ${n}`);return}return o}validate(t,n){return mu(this.store.instance,t,n)}getCustomControlsInUse(){return this.getInstances().filter(this.assertInstanceIsCustomControl).reduce((t,n)=>(t.includes(n.type)||t.push(n.type),t),[])}assertInstanceIsCustomControl(t){return!a6(Li(t)?t:t.type)}static register(...t){return ln.register(...t),this}static judgeControlIsRegistered(t){return ln.staticRegisteredTypes.has(t.Designer.controlType)}judgeControlIsRegistered(t){return this.designer.registeredControlTypes.has(t.Designer.controlType)}register(...t){return this.designer.registerControl(t[0]),this}assertInstance(t,n){return Li(n)?t.type===n:n.includes(t.type)}getInstanceInListControl(t){let n=t;for(;n;){if(n.controlType===ge.LIST)return!0;n=n.parent}return!1}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}callSelectedEffect(t,n={}){this.store.selectedInstanceSettingItems.forEach(r=>{r.callEffect(t,this,Ft({control:this.store.selected},n))})}callSelectedScopeEffect(t={}){this.store.selectedInstanceSettingItems.forEach(n=>{n.callScopeEffect(this,Ft({control:this.store.selected},t))})}}Pc.EventLogic=Mn,W.Builder=VC,W.Designer=ln,W.Driven=Pc,W.Store=mc,W.checkSchema=mu,W.fillModelBindInfoListFieldCode=RC,W.findInstanceDataScopeParent=qn,W.generatePermissions=Hn,W.getDataScopeFlatInstances=Ec,W.getMasterFormControls=PC,W.getModelBindInfoList=hu,W.hasChildrenControl=pu,W.hasHeaderControl=_c,W.isDataScopeInstance=vu,W.loop=Gn,W.loopFormControl=to,W.toSchema=_u,Object.defineProperty(W,"__esModule",{value:!0})});
|