@byteluck-fe/model-driven-core 2.23.0-beta.2 → 2.23.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -45
- package/package.json +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -1,45 +1 @@
|
|
|
1
|
-
var Wb=Object.defineProperty,Hb=Object.defineProperties;var jb=Object.getOwnPropertyDescriptors;var Pl=Object.getOwnPropertySymbols,qb=Object.getPrototypeOf,Gb=Object.prototype.hasOwnProperty,Kb=Object.prototype.propertyIsEnumerable,Xb=Reflect.get;var Ml=(F,te,ie)=>te in F?Wb(F,te,{enumerable:!0,configurable:!0,writable:!0,value:ie}):F[te]=ie,Qe=(F,te)=>{for(var ie in te||(te={}))Gb.call(te,ie)&&Ml(F,ie,te[ie]);if(Pl)for(var ie of Pl(te))Kb.call(te,ie)&&Ml(F,ie,te[ie]);return F},Lt=(F,te)=>Hb(F,jb(te));var gu=(F,te,ie)=>Xb(qb(F),ie,te);var Ze=(F,te,ie)=>new Promise((Oa,kn)=>{var La=We=>{try{Zt(ie.next(We))}catch(Yt){kn(Yt)}},wa=We=>{try{Zt(ie.throw(We))}catch(Yt){kn(Yt)}},Zt=We=>We.done?Oa(We.value):Promise.resolve(We.value).then(La,wa);Zt((ie=ie.apply(F,te)).next())});(function(F,te){typeof exports=="object"&&typeof module!="undefined"?te(exports):typeof define=="function"&&define.amd?define(["exports"],te):(F=typeof globalThis!="undefined"?globalThis:F||self,te(F.modelDrivenCore={}))})(this,function(F){"use strict";var te="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Oa="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",La="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",wa="{caption}\u5FC5\u586B",Zt="\u8BF7\u8F93\u5165\u6807\u9898",We="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Yt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",$l="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Vl="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",kl="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ul="\u8BF7\u7ED1\u5B9A\u5217\u8868",xl="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Wl="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Hl="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",jl="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ql="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Gl="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Kl="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Xl="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Jl="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",zl="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ql="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zl="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Yl="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",eo="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",to="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",no="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ao="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ro="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",uo="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",io="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",so="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",lo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",oo="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",co="\u8BF7\u7ED1\u5B9A\u670D\u52A1",fo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",mo="\u8BF7\u9009\u62E9\u7701",ho="\u8BF7\u9009\u62E9\u5E02",_o="\u8BF7\u9009\u62E9\u533A",Eo="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",go="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",vo="\u8BF7\u8F93\u5165\u5217\u5BBD",yo="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Co="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",bo="\u8BF7\u9009\u62E9\u63A7\u4EF6",Fo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ao="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Do="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",No="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",So="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Io="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Bo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Oo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Lo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",To="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ro="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",po="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Po="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Mo="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",$o="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Vo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ko="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xo="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Wo="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ho="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",jo="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",qo="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Go="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ko="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Xo="\u6279\u91CF\u5220\u9664",Jo="\u6279\u91CF\u6253\u5370",zo="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Qo="\u6309\u94AE",Zo="\u521B\u5EFA\u5355\u636E",Yo="\u4EEA\u8868\u76D8",ec="\u5206\u5272\u7EBF",tc="\u5BFC\u51FA",nc="\u8868\u5355\u64CD\u4F5C",ac="\u5BFC\u5165",rc="\u53D1\u7968\u8BC6\u522B",uc="\u94FE\u63A5",ic="\u5217\u8868\u9009\u62E9",sc="\u5217\u8868\u89C6\u56FE",lc="\u64CD\u4F5C\u6309\u94AE",oc="\u5206\u9875",cc="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",fc="\u8BF4\u660E\u6587\u5B57",dc="\u6587\u5B57\u8BC6\u522B",mc="\u6807\u9898\u7EC4\u4EF6",hc="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",_c="\u6570\u7EC4",Ec="\u81EA\u52A8\u7F16\u53F7",gc="\u81EA\u5B9A\u4E49",vc="\u6570\u503C",yc="\u90E8\u95E8",Cc="\u4EBA\u5458",bc="\u9644\u4EF6",Fc="\u56FE\u7247",Ac="\u5730\u5740",Dc="\u64CD\u4F5C",Nc="\u5E8F\u53F7",Sc="\u4EBA\u5458",Ic="\u957F\u6587\u672C",Bc="\u65E5\u671F\u533A\u95F4",Oc="\u65E5\u671F",Lc="\u77ED\u6587\u672C",wc="\u6362\u884C\u5BB9\u5668Wrap",Tc="\u8868\u683C",Rc="\u660E\u7EC6\u5B50\u8868",pc="\u5730\u5740",Pc="\u91D1\u989D",Mc="\u8BA1\u7B97\u516C\u5F0F",$c="\u591A\u9009",Vc="\u7535\u5B50\u7B7E\u7AE0",kc="\u5355\u884C\u6587\u672C",Uc="\u6570\u5B57",xc="\u4E1A\u52A1\u7EC4\u7EC7",Wc="\u5355\u9009",Hc="\u5BCC\u6587\u672C",jc="\u8BC4\u5206",qc="\u6570\u5B57\u533A\u95F4",Gc="\u4E0B\u62C9\u5355\u9009",Kc="\u4E0B\u62C9\u591A\u9009",Xc="\u5173\u8054\u5355\u9009",Jc="\u591A\u884C\u6587\u672C",zc="\u6811",Qc="Vue\u5BB9\u5668",Zc="Vue\u9875\u9762",Yc="\u5728\u7EBF\u6587\u6863",ef="\u6309\u94AE\u64CD\u4F5C\u680F",tf="\u9AD8\u7EA7\u5BB9\u5668",nf="\u5206\u7EC4",af="\u6805\u683C\u5217",rf="\u6570\u636E\u5BB9\u5668",uf="\u753B\u5E03",sf="\u6362\u884C\u5BB9\u5668",lf="\u6805\u683C\u7B49\u5206\u884C",of="\u5217\u8868\u5BB9\u5668",cf="\u81EA\u7531\u9875\u9762",ff="\u5B9A\u4F4D\u5B50\u5BB9\u5668",df="\u5B9A\u4F4D\u5BB9\u5668",mf="\u6805\u683C\u5E03\u5C40",hf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",_f="\u660E\u7EC6\u5B50\u8868\u884C",Ef="\u6807\u7B7E\u9875",gf="\u6807\u7B7E\u5355\u5143",vf="\u5DE5\u5177\u680F",yf="\u6279\u91CF\u63D0\u4EA4",Cf="\u5BFC\u51FA\u8BB0\u5F55",bf="\u5217\u8868\u89C6\u56FE",Ff="\u7ED3\u675F\u65F6\u95F4",Af="\u5F00\u59CB\u65F6\u95F4",Df="\u5355\u4F4D",Nf="\u7ED3\u679C",Sf="\u5E01\u79CD",If="\u7ED3\u675F\u65E5\u671F",Bf="\u5F00\u59CB\u65E5\u671F",Of="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Lf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",wf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Tf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Rf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",pf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Pf="\u8BF7\u9009\u62E9",Mf="\u8BF7\u9009\u62E9\u7EC4\u7EC7",$f="\u8BF7\u9009\u62E9\u90E8\u95E8",Vf="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",kf="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Uf="\u8BF7\u9009\u62E9\u5730\u5740",xf="\u5F39\u7A97\u786E\u8BA4\u65F6",Wf="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Hf="\u884C\u9009\u4E2D\u65F6",jf="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",qf="\u884C\u5220\u9664\u524D",Gf="\u884C\u70B9\u51FB\u65F6",Kf="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Xf="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Jf="\u91CD\u547D\u540D\u65F6",zf="\u4FDD\u5B58\u6587\u4EF6\u65F6",Qf="\u6253\u5F00\u6587\u4EF6\u65F6",Zf="\u83B7\u53D6\u7126\u70B9\u65F6",Yf="\u5931\u53BB\u7126\u70B9\u65F6",ed="\u7528\u6237\u8F93\u5165\u65F6",td="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",nd="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",ad="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",rd="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ud="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",id="\u641C\u7D22\u65F6",sd="\u503C\u53D1\u751F\u53D8\u5316\u65F6",ld="\u6267\u884C\u5B8C\u6210\u65F6",od="\u70B9\u51FB\u65F6",cd="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",fd="\u8BF7\u8F93\u5165\u65E5\u671F",dd="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",md="\u8BF7\u8F93\u5165",hd="\u9ED8\u8BA4\u6A21\u7248",_d="\u5DE6\u53F3\u5E03\u5C40",Ed="\u4E0A\u4E0B\u5E03\u5C40",gd="\u53EA\u8BFB",vd="\u5FC5\u586B",yd="\u63D0\u793A\u6587\u5B57",Cd="\u9690\u85CF\u6807\u9898",bd="\u6807\u9898\u5FC5\u586B",Fd="\u7EC4\u7EC7\u5F62\u6001",Ad="\u4E1A\u52A1\u7C7B\u578B",Dd="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Nd="\u9690\u85CF",Sd="\u6D41\u7A0B\u72B6\u6001",Id="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Bd="\u5220\u9664",Od="\u7F16\u8F91",Ld="\u67E5\u770B",wd="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Td="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Rd="\u5145\u6EE1\u6574\u884C",pd="\u6700\u5C0F\u503C",Pd="\u6700\u5927\u503C",Md="\u65B0\u5EFA\u6587\u6863",$d="\u91CD\u7F6E",Vd="\u67E5\u8BE2",kd="\u660E\u7EC6",Ud="\u6253\u5370",xd="\u4FDD\u5B58\u8349\u7A3F",Wd="\u4FDD\u5B58",Hd="\u53D6\u6D88",jd="\u4E0A\u4F20\u56FE\u7247",qd="\u53D1\u8D77\u7B7E\u7F72",Gd="\u4E0A\u4F20\u9644\u4EF6",Kd="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Xd={isNotNumber:te,isNotString:ie,isNotObject:Oa,isNotArray:kn,isNotBoolean:La,runtimeRequired:wa,pleaseEnterCaption:Zt,pleaseEnterCaptionTip:We,pleaseEnterRowCaption:Yt,pleaseEnterPlaceholder:$l,pleaseEnterFieldCode:Vl,pleaseEnterForm:kl,pleaseEnterList:Ul,pleaseEnterProcess:xl,pleaseEnterLabel:Wl,pleaseEnterValue:Hl,bizKeyNotBindFiled:jl,pleaseSelectOneField:ql,pleaseEnterNumberRange:Gl,pleaseEnterAValueGreaterThanMin:Kl,pleaseEnterAValueLessThanMax:Xl,numberRangeSetError:Jl,stringRangeError:zl,attachmentMaxSize:Ql,pleaseEnterTotalScoreSetting:Zl,theTotalScoreMustNotBeLessThan1:Yl,scoreDefaultValueRange:eo,attachmentLimitError:to,PleaseReselectTheOptionalQuantity:no,TheMaximumLengthIsGreaterThanTheMinimumLength:ao,TheMinimumLengthIsGreaterThanTheMaximumLength:ro,PleaseSelectTheCorrectOptionSettings:uo,optionIdIsRepeat:io,optionIsRequired:so,pleaseEnterDataCode:lo,pleaseEnterValueFieldCode:oo,pleaseEnterSvcCode:co,pleaseBindAtLeastOneDisplayValue:fo,pleaseSelectProvince:mo,pleaseSelectCity:ho,pleaseSelectDistrict:_o,limitRowsCannotBeLessThan0:Eo,TheNumberOfRowsCannotBeLessThanMinRows:go,pleaseEnterColumnWidth:vo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yo,pleaseCompleteAllRulesAndConditions:Co,pleaseSelectControl:bo,pleaseSelectAtLeastOneColumn:Fo,pleaseSelectFillBackMode:Ao,pleaseSelectDashboard:Do,rootNodeIsRequired:No,theViewNameCannotBeEmpty:So,pleaseSelectOcrType:Io,pleaseSelectAtLeastOneFieldToFillIn:Bo,pleaseChooseAtLeastOne:Oo,pleaseEnterButtonContent:Lo,pleaseEnterDataCodeInDataSetting:wo,pleaseEnterValueFieldCodeInDataSetting:To,pleaseEnterSvcCodeInDataSetting:Ro,pleaseBindAtLeastOneDisplayValueInDataSetting:po,rootNodeIsRequiredInDataSetting:Po,pleaseEnterMaxHeight:Mo,pleaseEnterWatermark:$o,pleaseEnterFileName:Vo,pleaseUploadAtLeastOnePrintTemplate:ko,pleaseAssignBusiness:Uo,pleaseAssignExternal:xo,pleaseEnterAliasCode:Wo,pleaseSelectDataCode:Ho,pleaseSelectSvcCode:jo,pleaseSelectJoinFieldCode:qo,pleaseSelectMainFieldCode:Go,pleaseSelectSortFieldCode:Ko,batchDeleteButton:Xo,batchPrintListButton:Jo,batchPrintRecordList:zo,button:Qo,createFormListButton:Zo,dashboard:Yo,divider:ec,exportListButton:tc,formSelectButton:nc,importRecordListButton:ac,invoiceCheckButton:rc,link:uc,listSelectButton:ic,ListViewSelect:sc,operationButton:lc,pagination:oc,submissionRecordListButton:cc,text:fc,textOcrButton:dc,title:mc,approvalStatusColumn:hc,array:_c,autoNumber:Ec,custom:gc,decimal:vc,department:yc,employee:Cc,file:bc,image:Fc,location:Ac,operation:Dc,order:Nc,people:Sc,long:Ic,timescope:Bc,timestamp:Oc,varchar:Lc,gridLayoutWrap:wc,gridTable:Tc,subTable:Rc,address:pc,amount:Pc,calc:Mc,checkBox:$c,electronicSignature:Vc,input:kc,number:Uc,organizationSelection:xc,radio:Wc,richText:Hc,score:jc,searchNumberRange:qc,select:Gc,selectMultiple:Kc,selectRelation:Xc,textarea:Jc,tree:zc,vueFormItem:Qc,vuePage:Zc,WPS:Yc,actionBar:ef,advancedContainer:tf,cardGroup:nf,col:af,dataView:rf,grid:uf,gridLayoutContainer:sf,gridRow:lf,listView:of,page:cf,position:ff,positioningContainer:df,row:mf,subtableColumn:hf,subtableRow:_f,tab:Ef,tabPane:gf,toolbox:vf,batchSubmissionListButton:yf,exportRecordListButton:Cf,listViewSelect:bf,endTime:Ff,startTime:Af,unit:Df,result:Nf,currency:Sf,endDate:If,startDate:Bf,pleaseSelectCompanyName:Of,pleaseSelectPhoneOrEmail:Lf,pleaseSelectSignType:wf,pleaseSelectSigner:Tf,pleaseSelectOnlyOne:Rf,pleaseSelectSignFile:pf,pleaseSelect:Pf,pleaseSelectOrg:Mf,pleaseSelectDept:$f,pleaseSelectEndDate:Vf,pleaseSelectStartDate:kf,pleaseChooseAddress:Uf,modalConfirm:xf,tabChange:Wf,rowSelected:Hf,listDataImport:jf,rowDelete:qf,rowClick:Gf,cellRender:Kf,onClickBtn:Xf,rename:Jf,onSaveFile:zf,onOpenFile:Qf,onFocus:Zf,onBlur:Yf,onInput:ed,listDataAdd:td,listDataDelete:nd,listDataBack:ad,listDataCreate:rd,listDataChange:ud,search:id,valueChange:sd,finished:ld,click:od,pleaseEnterNameorEmail:cd,pleaseEnterDate:fd,pleaseEnterAutonumber:dd,pleaseEnter:md,defaultTemplate:hd,left:_d,top:Ed,default:"\u666E\u901A",readonly:gd,required:vd,textTip:yd,hideCaption:Cd,titleRequired:bd,organizationalForm:Fd,businessType:Ad,deleteConfirm:Dd,hide:Nd,processStatus:Sd,approvedDocuments:Id,delete:Bd,edit:Od,view:Ld,loadCtrlErrorTip:wd,loadCtrlError:Td,fullLine:Rd,min:pd,max:Pd,createWPS:Md,reset:$d,query:Vd,detailed:kd,print:Ud,draft:xd,save:Wd,cancel:Hd,uploadImg:jd,signature:qd,uploadFile:Gd,linkContent:Kd},Jd="Please enter a number",zd="Please enter a string",Qd="Please enter an object",Zd="Please enter an array",Yd="Please enter a boolean",em="{caption} Required",tm="Please enter the title",nm="Please enter the bubble prompt",am="Please enter the row title",rm="Please enter the prompt text",um="Please bind data items",im="Please bind the form",sm="Please bind the list",lm="Please bind the process",om="Please enter the displayed value",cm="Please enter the stored value",fm="The document number is not bound to the data item",dm="Please select at least one display field",mm="Please enter a value greater than or equal to {min} and less than or equal to {max}",hm="Please enter a value greater than or equal to {min}",_m="Please enter a value less than or equal to {max}",Em="The value range is set incorrectly",gm="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",vm="The attachment size must be between 0MB and 1000MB",ym="Please fill in the total score setting",Cm="The total score cannot be less than 1",bm="The default value must be between {min} and {max}",Fm="The number of attachment uploads exceeds the limit",Am="Please re-select the optional quantity",Dm="The maximum length of the control must be greater than the minimum length",Nm="The minimum length of the control must be less than the maximum length",Sm="Please select the correct option setting",Im="Option ID cannot be repeated",Bm="Please enter at least one option",Om="Please bind the data source",Lm="Please bind the stored value",wm="Please bind the service",Tm="At least one display value must be bound",Rm="Please select a province",pm="Please select a city",Pm="Please select a district",Mm="The minimum number of lines to fill in cannot be less than 0",$m="The number of rows cannot be less than {min} rows",Vm="Please enter the column width",km="Please set the logical relationship of all rule conditions",Um="Please complete all rules and conditions",xm="please select control",Wm="Please select the dashboard",Hm="View name cannot be empty",jm="Please select recognition type",qm="Please select at least one field to fill in",Gm="Please select at least one",Km="Please enter the button title",Xm="Please bind the business model in the data settings",Jm="Please bind storage values in data settings",zm="Please bind the service in the data settings",Qm="Please bind at least one display value in the data settings",Zm="Please select the root node in the data settings",Ym="Please enter the maximum height",eh="The input content cannot be empty",th="Watermark cannot be empty",nh="File name cannot be empty",ah="Please upload at least one printing template!\uFF01",rh="Please select a specific business department",uh="Please select a specified external organization",ih="Please enter a sub table alias",sh="Please select the associated table to set the business model",lh="Please select the association table to set the binding service",oh="Select associated sub table fields",ch="Please select the associated main table field",fh="Please select the sort field",dh="\u6279\u91CF\u5220\u9664",mh="\u6279\u91CF\u6253\u5370",hh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",_h="\u6309\u94AE",Eh="\u521B\u5EFA\u5355\u636E",gh="\u4EEA\u8868\u76D8",vh="\u5206\u5272\u7EBF",yh="\u5BFC\u51FA",Ch="\u8868\u5355\u64CD\u4F5C",bh="\u5BFC\u5165",Fh="\u53D1\u7968\u8BC6\u522B",Ah="\u94FE\u63A5",Dh="\u5217\u8868\u9009\u62E9",Nh="\u5217\u8868\u89C6\u56FE",Sh="\u64CD\u4F5C\u6309\u94AE",Ih="\u5206\u9875",Bh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Oh="\u8BF4\u660E\u6587\u5B57",Lh="\u6587\u5B57\u8BC6\u522B",wh="\u6807\u9898\u7EC4\u4EF6",Th="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Rh="\u6570\u7EC4",ph="\u81EA\u52A8\u7F16\u53F7",Ph="\u81EA\u5B9A\u4E49",Mh="\u6570\u503C",$h="\u90E8\u95E8",Vh="\u4EBA\u5458",kh="\u9644\u4EF6",Uh="\u56FE\u7247",xh="\u5730\u5740",Wh="\u64CD\u4F5C",Hh="\u5E8F\u53F7",jh="\u4EBA\u5458",qh="\u957F\u6587\u672C",Gh="\u65E5\u671F\u533A\u95F4",Kh="\u65E5\u671F",Xh="\u77ED\u6587\u672C",Jh="\u6362\u884C\u5BB9\u5668Wrap",zh="\u8868\u683C",Qh="\u660E\u7EC6\u5B50\u8868",Zh="\u5730\u5740",Yh="\u91D1\u989D",e_="\u8BA1\u7B97\u516C\u5F0F",t_="\u591A\u9009",n_="\u7535\u5B50\u7B7E\u7AE0",a_="\u5355\u884C\u6587\u672C",r_="\u6570\u5B57",u_="\u4E1A\u52A1\u7EC4\u7EC7",i_="\u5355\u9009",s_="\u5BCC\u6587\u672C",l_="\u8BC4\u5206",o_="\u6570\u5B57\u533A\u95F4",c_="\u4E0B\u62C9\u5355\u9009",f_="\u4E0B\u62C9\u591A\u9009",d_="\u5173\u8054\u5355\u9009",m_="\u591A\u884C\u6587\u672C",h_="\u6811",__="Vue\u5BB9\u5668",E_="Vue\u9875\u9762",g_="\u5728\u7EBF\u6587\u6863",v_="\u6309\u94AE\u64CD\u4F5C\u680F",y_="\u9AD8\u7EA7\u5BB9\u5668",C_="\u5206\u7EC4",b_="\u6805\u683C\u5217",F_="\u6570\u636E\u5BB9\u5668",A_="\u753B\u5E03",D_="\u6362\u884C\u5BB9\u5668",N_="\u6805\u683C\u7B49\u5206\u884C",S_="\u5217\u8868\u5BB9\u5668",I_="\u81EA\u7531\u9875\u9762",B_="\u5B9A\u4F4D\u5B50\u5BB9\u5668",O_="\u5B9A\u4F4D\u5BB9\u5668",L_="\u6805\u683C\u5E03\u5C40",w_="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",T_="\u660E\u7EC6\u5B50\u8868\u884C",R_="\u6807\u7B7E\u9875",p_="\u6807\u7B7E\u5355\u5143",P_="\u5DE5\u5177\u680F",M_="\u6279\u91CF\u63D0\u4EA4",$_="\u5BFC\u51FA\u8BB0\u5F55",V_="\u5217\u8868\u89C6\u56FE",k_={isNotNumber:Jd,isNotString:zd,isNotObject:Qd,isNotArray:Zd,isNotBoolean:Yd,runtimeRequired:em,pleaseEnterCaption:tm,pleaseEnterCaptionTip:nm,pleaseEnterRowCaption:am,pleaseEnterPlaceholder:rm,pleaseEnterFieldCode:um,pleaseEnterForm:im,pleaseEnterList:sm,pleaseEnterProcess:lm,pleaseEnterLabel:om,pleaseEnterValue:cm,bizKeyNotBindFiled:fm,pleaseSelectOneField:dm,pleaseEnterNumberRange:mm,pleaseEnterAValueGreaterThanMin:hm,pleaseEnterAValueLessThanMax:_m,numberRangeSetError:Em,stringRangeError:gm,attachmentMaxSize:vm,pleaseEnterTotalScoreSetting:ym,theTotalScoreMustNotBeLessThan1:Cm,scoreDefaultValueRange:bm,attachmentLimitError:Fm,PleaseReselectTheOptionalQuantity:Am,TheMaximumLengthIsGreaterThanTheMinimumLength:Dm,TheMinimumLengthIsGreaterThanTheMaximumLength:Nm,PleaseSelectTheCorrectOptionSettings:Sm,optionIdIsRepeat:Im,optionIsRequired:Bm,pleaseEnterDataCode:Om,pleaseEnterValueFieldCode:Lm,pleaseEnterSvcCode:wm,pleaseBindAtLeastOneDisplayValue:Tm,pleaseSelectProvince:Rm,pleaseSelectCity:pm,pleaseSelectDistrict:Pm,limitRowsCannotBeLessThan0:Mm,TheNumberOfRowsCannotBeLessThanMinRows:$m,pleaseEnterColumnWidth:Vm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:km,pleaseCompleteAllRulesAndConditions:Um,pleaseSelectControl:xm,pleaseSelectDashboard:Wm,theViewNameCannotBeEmpty:Hm,pleaseSelectOcrType:jm,pleaseSelectAtLeastOneFieldToFillIn:qm,pleaseChooseAtLeastOne:Gm,pleaseEnterButtonContent:Km,pleaseEnterDataCodeInDataSetting:Xm,pleaseEnterValueFieldCodeInDataSetting:Jm,pleaseEnterSvcCodeInDataSetting:zm,pleaseBindAtLeastOneDisplayValueInDataSetting:Qm,rootNodeIsRequiredInDataSetting:Zm,pleaseEnterMaxHeight:Ym,pleaseEnter:eh,pleaseEnterWatermark:th,pleaseEnterFileName:nh,pleaseUploadAtLeastOnePrintTemplate:ah,pleaseAssignBusiness:rh,pleaseAssignExternal:uh,pleaseEnterAliasCode:ih,pleaseSelectDataCode:sh,pleaseSelectSvcCode:lh,pleaseSelectJoinFieldCode:oh,pleaseSelectMainFieldCode:ch,pleaseSelectSortFieldCode:fh,batchDeleteButton:dh,batchPrintListButton:mh,batchPrintRecordList:hh,button:_h,createFormListButton:Eh,dashboard:gh,divider:vh,exportListButton:yh,formSelectButton:Ch,importRecordListButton:bh,invoiceCheckButton:Fh,link:Ah,listSelectButton:Dh,ListViewSelect:Nh,operationButton:Sh,pagination:Ih,submissionRecordListButton:Bh,text:Oh,textOcrButton:Lh,title:wh,approvalStatusColumn:Th,array:Rh,autoNumber:ph,custom:Ph,decimal:Mh,department:$h,employee:Vh,file:kh,image:Uh,location:xh,operation:Wh,order:Hh,people:jh,long:qh,timescope:Gh,timestamp:Kh,varchar:Xh,gridLayoutWrap:Jh,gridTable:zh,subTable:Qh,address:Zh,amount:Yh,calc:e_,checkBox:t_,electronicSignature:n_,input:a_,number:r_,organizationSelection:u_,radio:i_,richText:s_,score:l_,searchNumberRange:o_,select:c_,selectMultiple:f_,selectRelation:d_,textarea:m_,tree:h_,vueFormItem:__,vuePage:E_,WPS:g_,actionBar:v_,advancedContainer:y_,cardGroup:C_,col:b_,dataView:F_,grid:A_,gridLayoutContainer:D_,gridRow:N_,listView:S_,page:I_,position:B_,positioningContainer:O_,row:L_,subtableColumn:w_,subtableRow:T_,tab:R_,tabPane:p_,toolbox:P_,batchSubmissionListButton:M_,exportRecordListButton:$_,listViewSelect:V_},U_="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",x_="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",W_="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",H_="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",j_="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",q_="{caption}\u5FC5\u9808",G_="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",K_="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",X_="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",J_="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",z_="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Q_="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Z_="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Y_="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eE="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tE="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nE="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",aE="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rE="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uE="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iE="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sE="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",lE="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oE="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cE="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",fE="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dE="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mE="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",hE="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_E="\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",EE="\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",gE="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vE="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yE="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",CE="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bE="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",FE="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AE="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",DE="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NE="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SE="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IE="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",BE="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",OE="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LE="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wE="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",TE="please select control",RE="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pE="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",PE="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ME="\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",$E="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VE="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kE="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",UE="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xE="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",WE="\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",HE="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jE="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qE="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",GE="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",KE="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",XE="\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",JE="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zE="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QE="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ZE="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",YE="\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",e0="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",t0="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",n0="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",a0="\u6279\u91CF\u5220\u9664",r0="\u6279\u91CF\u6253\u5370",u0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",i0="\u6309\u94AE",s0="\u521B\u5EFA\u5355\u636E",l0="\u4EEA\u8868\u76D8",o0="\u5206\u5272\u7EBF",c0="\u5BFC\u51FA",f0="\u8868\u5355\u64CD\u4F5C",d0="\u5BFC\u5165",m0="\u53D1\u7968\u8BC6\u522B",h0="\u94FE\u63A5",_0="\u5217\u8868\u9009\u62E9",E0="\u5217\u8868\u89C6\u56FE",g0="\u64CD\u4F5C\u6309\u94AE",v0="\u5206\u9875",y0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",C0="\u8BF4\u660E\u6587\u5B57",b0="\u6587\u5B57\u8BC6\u522B",F0="\u6807\u9898\u7EC4\u4EF6",A0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",D0="\u6570\u7EC4",N0="\u81EA\u52A8\u7F16\u53F7",S0="\u81EA\u5B9A\u4E49",I0="\u6570\u503C",B0="\u90E8\u95E8",O0="\u4EBA\u5458",L0="\u9644\u4EF6",w0="\u56FE\u7247",T0="\u5730\u5740",R0="\u64CD\u4F5C",p0="\u5E8F\u53F7",P0="\u4EBA\u5458",M0="\u957F\u6587\u672C",$0="\u65E5\u671F\u533A\u95F4",V0="\u65E5\u671F",k0="\u77ED\u6587\u672C",U0="\u6362\u884C\u5BB9\u5668Wrap",x0="\u8868\u683C",W0="\u660E\u7EC6\u5B50\u8868",H0="\u5730\u5740",j0="\u91D1\u989D",q0="\u8BA1\u7B97\u516C\u5F0F",G0="\u591A\u9009",K0="\u7535\u5B50\u7B7E\u7AE0",X0="\u5355\u884C\u6587\u672C",J0="\u6570\u5B57",z0="\u4E1A\u52A1\u7EC4\u7EC7",Q0="\u5355\u9009",Z0="\u5BCC\u6587\u672C",Y0="\u8BC4\u5206",eg="\u6570\u5B57\u533A\u95F4",tg="\u4E0B\u62C9\u5355\u9009",ng="\u4E0B\u62C9\u591A\u9009",ag="\u5173\u8054\u5355\u9009",rg="\u591A\u884C\u6587\u672C",ug="\u6811",ig="Vue\u5BB9\u5668",sg="Vue\u9875\u9762",lg="\u5728\u7EBF\u6587\u6863",og="\u6309\u94AE\u64CD\u4F5C\u680F",cg="\u9AD8\u7EA7\u5BB9\u5668",fg="\u5206\u7EC4",dg="\u6805\u683C\u5217",mg="\u6570\u636E\u5BB9\u5668",hg="\u753B\u5E03",_g="\u6362\u884C\u5BB9\u5668",Eg="\u6805\u683C\u7B49\u5206\u884C",gg="\u5217\u8868\u5BB9\u5668",vg="\u81EA\u7531\u9875\u9762",yg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Cg="\u5B9A\u4F4D\u5BB9\u5668",bg="\u6805\u683C\u5E03\u5C40",Fg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ag="\u660E\u7EC6\u5B50\u8868\u884C",Dg="\u6807\u7B7E\u9875",Ng="\u6807\u7B7E\u5355\u5143",Sg="\u5DE5\u5177\u680F",Ig="\u6279\u91CF\u63D0\u4EA4",Bg="\u5BFC\u51FA\u8BB0\u5F55",Og="\u5217\u8868\u89C6\u56FE",Lg={isNotNumber:U_,isNotString:x_,isNotObject:W_,isNotArray:H_,isNotBoolean:j_,runtimeRequired:q_,pleaseEnterCaption:G_,pleaseEnterCaptionTip:K_,pleaseEnterRowCaption:X_,pleaseEnterPlaceholder:J_,pleaseEnterFieldCode:z_,pleaseEnterForm:Q_,pleaseEnterList:Z_,pleaseEnterProcess:Y_,pleaseEnterLabel:eE,pleaseEnterValue:tE,bizKeyNotBindFiled:nE,pleaseSelectOneField:aE,pleaseEnterNumberRange:rE,pleaseEnterAValueGreaterThanMin:uE,pleaseEnterAValueLessThanMax:iE,numberRangeSetError:sE,stringRangeError:lE,attachmentMaxSize:oE,pleaseEnterTotalScoreSetting:cE,theTotalScoreMustNotBeLessThan1:fE,scoreDefaultValueRange:dE,attachmentLimitError:mE,PleaseReselectTheOptionalQuantity:hE,TheMaximumLengthIsGreaterThanTheMinimumLength:_E,TheMinimumLengthIsGreaterThanTheMaximumLength:EE,PleaseSelectTheCorrectOptionSettings:gE,optionIdIsRepeat:vE,optionIsRequired:yE,pleaseEnterDataCode:CE,pleaseEnterValueFieldCode:bE,pleaseEnterSvcCode:FE,pleaseBindAtLeastOneDisplayValue:AE,pleaseSelectProvince:DE,pleaseSelectCity:NE,pleaseSelectDistrict:SE,limitRowsCannotBeLessThan0:IE,TheNumberOfRowsCannotBeLessThanMinRows:BE,pleaseEnterColumnWidth:OE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:LE,pleaseCompleteAllRulesAndConditions:wE,pleaseSelectControl:TE,pleaseSelectDashboard:RE,theViewNameCannotBeEmpty:pE,pleaseSelectOcrType:PE,pleaseSelectAtLeastOneFieldToFillIn:ME,pleaseChooseAtLeastOne:$E,pleaseEnterButtonContent:VE,pleaseEnterDataCodeInDataSetting:kE,pleaseEnterValueFieldCodeInDataSetting:UE,pleaseEnterSvcCodeInDataSetting:xE,pleaseBindAtLeastOneDisplayValueInDataSetting:WE,rootNodeIsRequiredInDataSetting:HE,pleaseEnterMaxHeight:jE,pleaseEnter:qE,pleaseEnterWatermark:GE,pleaseEnterFileName:KE,pleaseUploadAtLeastOnePrintTemplate:XE,pleaseAssignBusiness:JE,pleaseAssignExternal:zE,pleaseEnterAliasCode:QE,pleaseSelectDataCode:ZE,pleaseSelectSvcCode:YE,pleaseSelectJoinFieldCode:e0,pleaseSelectMainFieldCode:t0,pleaseSelectSortFieldCode:n0,batchDeleteButton:a0,batchPrintListButton:r0,batchPrintRecordList:u0,button:i0,createFormListButton:s0,dashboard:l0,divider:o0,exportListButton:c0,formSelectButton:f0,importRecordListButton:d0,invoiceCheckButton:m0,link:h0,listSelectButton:_0,ListViewSelect:E0,operationButton:g0,pagination:v0,submissionRecordListButton:y0,text:C0,textOcrButton:b0,title:F0,approvalStatusColumn:A0,array:D0,autoNumber:N0,custom:S0,decimal:I0,department:B0,employee:O0,file:L0,image:w0,location:T0,operation:R0,order:p0,people:P0,long:M0,timescope:$0,timestamp:V0,varchar:k0,gridLayoutWrap:U0,gridTable:x0,subTable:W0,address:H0,amount:j0,calc:q0,checkBox:G0,electronicSignature:K0,input:X0,number:J0,organizationSelection:z0,radio:Q0,richText:Z0,score:Y0,searchNumberRange:eg,select:tg,selectMultiple:ng,selectRelation:ag,textarea:rg,tree:ug,vueFormItem:ig,vuePage:sg,WPS:lg,actionBar:og,advancedContainer:cg,cardGroup:fg,col:dg,dataView:mg,grid:hg,gridLayoutContainer:_g,gridRow:Eg,listView:gg,page:vg,position:yg,positioningContainer:Cg,row:bg,subtableColumn:Fg,subtableRow:Ag,tab:Dg,tabPane:Ng,toolbox:Sg,batchSubmissionListButton:Ig,exportRecordListButton:Bg,listViewSelect:Og},wg={zhCN:Xd,enUS:k_,jaJP:Lg},vu;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(vu||(vu={}));var yu;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(yu||(yu={}));var Ta,Tg=(Ta=window.localStorage.getItem("locale"))!==null&&Ta!==void 0?Ta:"zh-CN",wt;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(wt||(wt={}));var Cu;(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"})(Cu||(Cu={}));var bu;(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"})(bu||(bu={}));var Fu;(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"})(Fu||(Fu={}));var en;(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"})(en||(en={}));var Au;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Au||(Au={}));var Du="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Rg=Du+"0123456789";function Ye(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var a=n===0?Du:Rg,r=Math.random()*a.length;t+=a[parseInt(String(r),10)]}return t}function Ra(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function pg(e){if(Array.isArray(e))return Ra(e)}function Pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e,t,n){return Bu()?Un=Reflect.construct:Un=function(r,u,i){var s=[null];s.push.apply(s,u);var l=Function.bind.apply(r,s),o=new l;return i&&nn(o,i.prototype),o},Un.apply(null,arguments)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(e)}function Su(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&&nn(e,t)}function Mg(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $g(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vg(){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 kg(e,t){return t&&(Ug(t)==="object"||typeof t=="function")?t:Pg(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(a,r){return a.__proto__=r,a},nn(e,t)}function Iu(e){return pg(e)||$g(e)||xg(e)||Vg()}function Ug(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xg(e,t){if(!!e){if(typeof e=="string")return Ra(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 Ra(e,t)}}function pa(e){var t=typeof Map=="function"?new Map:void 0;return pa=function(a){if(a===null||!Mg(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(a))return t.get(a);t.set(a,r)}function r(){return Un(a,arguments,tn(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),nn(r,a)},pa(e)}function Bu(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ou(e){var t=Bu();return function(){var a=tn(e),r;if(t){var u=tn(this).constructor;r=Reflect.construct(a,arguments,u)}else r=a.apply(this,arguments);return kg(this,r)}}var Pa=console;function Ma(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a,r=t.slice(1);(a=Pa).warn.apply(a,["\u{1F9D0} Driven Warning:"+t[0]].concat(Iu(r)))}function Lu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a,r=t.slice(1);(a=Pa).log.apply(a,["\u{1F680} Driven Log:"+t[0]].concat(Iu(r)))}function Wg(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var $a=function(e){Su(n,e);var t=Ou(n);function n(a){Nu(this,n);var r;return r=t.call(this,a),r.name="\u{1F4A5} Driven Error",r.message=a?Wg(a):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(pa(Error)),Hg=function(e){Su(n,e);var t=Ou(n);function n(a){Nu(this,n);var r;return r=t.call(this,a),r.name="\u{1F6A8} Driven Reference Error",r}return n}($a);function Va(e){throw new $a(e)}function wu(e){throw new Hg(e)}function jg(e){Pa.error(new $a(e))}/*!
|
|
2
|
-
* shared v9.14.0
|
|
3
|
-
* (c) 2024 kazuya kawaguchi
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/const Oe=typeof window!="undefined";let Ae,_t;if(process.env.NODE_ENV!=="production"){const e=Oe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ae=t=>{e.mark(t)},_t=(t,n,a)=>{e.measure(t,n,a),e.clearMarks(n),e.clearMarks(a)})}const qg=/\{([0-9a-zA-Z]+)\}/g;function an(e,...t){return t.length===1&&H(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(qg,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const Le=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Gg=(e,t,n)=>Kg({l:e,k:t,s:n}),Kg=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),se=e=>typeof e=="number"&&isFinite(e),Xg=e=>Pu(e)==="[object Date]",et=e=>Pu(e)==="[object RegExp]",xn=e=>$(e)&&Object.keys(e).length===0,le=Object.assign;let Tu;const He=()=>Tu||(Tu=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Ru(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Jg=Object.prototype.hasOwnProperty;function Wn(e,t){return Jg.call(e,t)}const z=Array.isArray,X=e=>typeof e=="function",R=e=>typeof e=="string",V=e=>typeof e=="boolean",H=e=>e!==null&&typeof e=="object",zg=e=>H(e)&&X(e.then)&&X(e.catch),pu=Object.prototype.toString,Pu=e=>pu.call(e),$=e=>{if(!H(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Qg=e=>e==null?"":z(e)||$(e)&&e.toString===pu?JSON.stringify(e,null,2):String(e);function ka(e,t=""){return e.reduce((n,a,r)=>r===0?n+a:n+t+a,"")}const Mu=2;function Zg(e,t=0,n=e.length){const a=e.split(/\r?\n/);let r=0;const u=[];for(let i=0;i<a.length;i++)if(r+=a[i].length+1,r>=t){for(let s=i-Mu;s<=i+Mu||n>r;s++){if(s<0||s>=a.length)continue;const l=s+1;u.push(`${l}${" ".repeat(3-String(l).length)}| ${a[s]}`);const o=a[s].length;if(s===i){const h=t-(r-o)+1,f=Math.max(1,n>r?o-h:n-t);u.push(" | "+" ".repeat(h)+"^".repeat(f))}else if(s>i){if(n>r){const h=Math.max(Math.min(n-r,o),1);u.push(" | "+"^".repeat(h))}r+=o+1}}break}return u.join(`
|
|
6
|
-
`)}function Hn(e){let t=e;return()=>++t}function oe(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const $u={};function Vu(e){$u[e]||($u[e]=!0,oe(e))}function Ua(){const e=new Map;return{events:e,on(n,a){const r=e.get(n);r&&r.push(a)||e.set(n,[a])},off(n,a){const r=e.get(n);r&&r.splice(r.indexOf(a)>>>0,1)},emit(n,a){(e.get(n)||[]).slice().map(r=>r(a)),(e.get("*")||[]).slice().map(r=>r(n,a))}}}const jn=e=>!H(e)||z(e);function qn(e,t){if(jn(e)||jn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:r}=n.pop();Object.keys(a).forEach(u=>{jn(a[u])||jn(r[u])?r[u]=a[u]:n.push({src:a[u],des:r[u]})})}}/*!
|
|
7
|
-
* message-compiler v9.14.0
|
|
8
|
-
* (c) 2024 kazuya kawaguchi
|
|
9
|
-
* Released under the MIT License.
|
|
10
|
-
*/function Yg(e,t,n){return{line:e,column:t,offset:n}}function Gn(e,t,n){const a={start:e,end:t};return n!=null&&(a.source=n),a}const Kn={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},ev={[Kn.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function tv(e,t,...n){const a=process.env.NODE_ENV!=="production"?an(ev[e]||"",...n||[]):e,r={message:String(a),code:e};return t&&(r.location=t),r}const M={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},nv={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Tt(e,t,n={}){const{domain:a,messages:r,args:u}=n,i=process.env.NODE_ENV!=="production"?an((r||nv)[e]||"",...u||[]):e,s=new SyntaxError(String(i));return s.code=e,t&&(s.location=t),s.domain=a,s}function av(e){throw e}const rv=/<\/?[\w\s="/.':;#-\/]+>/,uv=e=>rv.test(e),je=" ",iv="\r",he=`
|
|
11
|
-
`,sv=String.fromCharCode(8232),lv=String.fromCharCode(8233);function ov(e){const t=e;let n=0,a=1,r=1,u=0;const i=v=>t[v]===iv&&t[v+1]===he,s=v=>t[v]===he,l=v=>t[v]===lv,o=v=>t[v]===sv,h=v=>i(v)||s(v)||l(v)||o(v),f=()=>n,m=()=>a,D=()=>r,S=()=>u,y=v=>i(v)||l(v)||o(v)?he:t[v],B=()=>y(n),E=()=>y(n+u);function A(){return u=0,h(n)&&(a++,r=0),i(n)&&n++,n++,r++,t[n]}function _(){return i(n+u)&&u++,u++,t[n+u]}function g(){n=0,a=1,r=1,u=0}function N(v=0){u=v}function b(){const v=n+u;for(;v!==n;)A();u=0}return{index:f,line:m,column:D,peekOffset:S,charAt:y,currentChar:B,currentPeek:E,next:A,peek:_,reset:g,resetPeek:N,skipToPeek:b}}const tt=void 0,cv=".",ku="'",fv="tokenizer";function dv(e,t={}){const n=t.location!==!1,a=ov(e),r=()=>a.index(),u=()=>Yg(a.line(),a.column(),a.index()),i=u(),s=r(),l={currentType:14,offset:s,startLoc:i,endLoc:i,lastType:14,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},o=()=>l,{onError:h}=t;function f(c,d,I,...P){const ee=o();if(d.column+=I,d.offset+=I,h){const J=n?Gn(ee.startLoc,d):null,K=Tt(c,J,{domain:fv,args:P});h(K)}}function m(c,d,I){c.endLoc=u(),c.currentType=d;const P={type:d};return n&&(P.loc=Gn(c.startLoc,c.endLoc)),I!=null&&(P.value=I),P}const D=c=>m(c,14);function S(c,d){return c.currentChar()===d?(c.next(),d):(f(M.EXPECTED_TOKEN,u(),0,d),"")}function y(c){let d="";for(;c.currentPeek()===je||c.currentPeek()===he;)d+=c.currentPeek(),c.peek();return d}function B(c){const d=y(c);return c.skipToPeek(),d}function E(c){if(c===tt)return!1;const d=c.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d===95}function A(c){if(c===tt)return!1;const d=c.charCodeAt(0);return d>=48&&d<=57}function _(c,d){const{currentType:I}=d;if(I!==2)return!1;y(c);const P=E(c.currentPeek());return c.resetPeek(),P}function g(c,d){const{currentType:I}=d;if(I!==2)return!1;y(c);const P=c.currentPeek()==="-"?c.peek():c.currentPeek(),ee=A(P);return c.resetPeek(),ee}function N(c,d){const{currentType:I}=d;if(I!==2)return!1;y(c);const P=c.currentPeek()===ku;return c.resetPeek(),P}function b(c,d){const{currentType:I}=d;if(I!==8)return!1;y(c);const P=c.currentPeek()===".";return c.resetPeek(),P}function v(c,d){const{currentType:I}=d;if(I!==9)return!1;y(c);const P=E(c.currentPeek());return c.resetPeek(),P}function O(c,d){const{currentType:I}=d;if(!(I===8||I===12))return!1;y(c);const P=c.currentPeek()===":";return c.resetPeek(),P}function w(c,d){const{currentType:I}=d;if(I!==10)return!1;const P=()=>{const J=c.currentPeek();return J==="{"?E(c.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===je||!J?!1:J===he?(c.peek(),P()):k(c,!1)},ee=P();return c.resetPeek(),ee}function j(c){y(c);const d=c.currentPeek()==="|";return c.resetPeek(),d}function ye(c){const d=y(c),I=c.currentPeek()==="%"&&c.peek()==="{";return c.resetPeek(),{isModulo:I,hasSpace:d.length>0}}function k(c,d=!0){const I=(ee=!1,J="",K=!1)=>{const C=c.currentPeek();return C==="{"?J==="%"?!1:ee:C==="@"||!C?J==="%"?!0:ee:C==="%"?(c.peek(),I(ee,"%",!0)):C==="|"?J==="%"||K?!0:!(J===je||J===he):C===je?(c.peek(),I(!0,je,K)):C===he?(c.peek(),I(!0,he,K)):!0},P=I();return d&&c.resetPeek(),P}function ue(c,d){const I=c.currentChar();return I===tt?tt:d(I)?(c.next(),I):null}function Ie(c){const d=c.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36}function Dn(c){return ue(c,Ie)}function xe(c){const d=c.charCodeAt(0);return d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===95||d===36||d===45}function Nn(c){return ue(c,xe)}function Sn(c){const d=c.charCodeAt(0);return d>=48&&d<=57}function In(c){return ue(c,Sn)}function Bn(c){const d=c.charCodeAt(0);return d>=48&&d<=57||d>=65&&d<=70||d>=97&&d<=102}function On(c){return ue(c,Bn)}function Be(c){let d="",I="";for(;d=In(c);)I+=d;return I}function Xt(c){B(c);const d=c.currentChar();return d!=="%"&&f(M.EXPECTED_TOKEN,u(),0,d),c.next(),"%"}function Jt(c){let d="";for(;;){const I=c.currentChar();if(I==="{"||I==="}"||I==="@"||I==="|"||!I)break;if(I==="%")if(k(c))d+=I,c.next();else break;else if(I===je||I===he)if(k(c))d+=I,c.next();else{if(j(c))break;d+=I,c.next()}else d+=I,c.next()}return d}function Ln(c){B(c);let d="",I="";for(;d=Nn(c);)I+=d;return c.currentChar()===tt&&f(M.UNTERMINATED_CLOSING_BRACE,u(),0),I}function wn(c){B(c);let d="";return c.currentChar()==="-"?(c.next(),d+=`-${Be(c)}`):d+=Be(c),c.currentChar()===tt&&f(M.UNTERMINATED_CLOSING_BRACE,u(),0),d}function Tn(c){return c!==ku&&c!==he}function Ia(c){B(c),S(c,"'");let d="",I="";for(;d=ue(c,Tn);)d==="\\"?I+=Rn(c):I+=d;const P=c.currentChar();return P===he||P===tt?(f(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,u(),0),P===he&&(c.next(),S(c,"'")),I):(S(c,"'"),I)}function Rn(c){const d=c.currentChar();switch(d){case"\\":case"'":return c.next(),`\\${d}`;case"u":return zt(c,d,4);case"U":return zt(c,d,6);default:return f(M.UNKNOWN_ESCAPE_SEQUENCE,u(),0,d),""}}function zt(c,d,I){S(c,d);let P="";for(let ee=0;ee<I;ee++){const J=On(c);if(!J){f(M.INVALID_UNICODE_ESCAPE_SEQUENCE,u(),0,`\\${d}${P}${c.currentChar()}`);break}P+=J}return`\\${d}${P}`}function pn(c){return c!=="{"&&c!=="}"&&c!==je&&c!==he}function Pn(c){B(c);let d="",I="";for(;d=ue(c,pn);)I+=d;return I}function Mn(c){let d="",I="";for(;d=Dn(c);)I+=d;return I}function T(c){const d=I=>{const P=c.currentChar();return P==="{"||P==="%"||P==="@"||P==="|"||P==="("||P===")"||!P||P===je?I:(I+=P,c.next(),d(I))};return d("")}function q(c){B(c);const d=S(c,"|");return B(c),d}function $n(c,d){let I=null;switch(c.currentChar()){case"{":return d.braceNest>=1&&f(M.NOT_ALLOW_NEST_PLACEHOLDER,u(),0),c.next(),I=m(d,2,"{"),B(c),d.braceNest++,I;case"}":return d.braceNest>0&&d.currentType===2&&f(M.EMPTY_PLACEHOLDER,u(),0),c.next(),I=m(d,3,"}"),d.braceNest--,d.braceNest>0&&B(c),d.inLinked&&d.braceNest===0&&(d.inLinked=!1),I;case"@":return d.braceNest>0&&f(M.UNTERMINATED_CLOSING_BRACE,u(),0),I=Bt(c,d)||D(d),d.braceNest=0,I;default:{let ee=!0,J=!0,K=!0;if(j(c))return d.braceNest>0&&f(M.UNTERMINATED_CLOSING_BRACE,u(),0),I=m(d,1,q(c)),d.braceNest=0,d.inLinked=!1,I;if(d.braceNest>0&&(d.currentType===5||d.currentType===6||d.currentType===7))return f(M.UNTERMINATED_CLOSING_BRACE,u(),0),d.braceNest=0,Vn(c,d);if(ee=_(c,d))return I=m(d,5,Ln(c)),B(c),I;if(J=g(c,d))return I=m(d,6,wn(c)),B(c),I;if(K=N(c,d))return I=m(d,7,Ia(c)),B(c),I;if(!ee&&!J&&!K)return I=m(d,13,Pn(c)),f(M.INVALID_TOKEN_IN_PLACEHOLDER,u(),0,I.value),B(c),I;break}}return I}function Bt(c,d){const{currentType:I}=d;let P=null;const ee=c.currentChar();switch((I===8||I===9||I===12||I===10)&&(ee===he||ee===je)&&f(M.INVALID_LINKED_FORMAT,u(),0),ee){case"@":return c.next(),P=m(d,8,"@"),d.inLinked=!0,P;case".":return B(c),c.next(),m(d,9,".");case":":return B(c),c.next(),m(d,10,":");default:return j(c)?(P=m(d,1,q(c)),d.braceNest=0,d.inLinked=!1,P):b(c,d)||O(c,d)?(B(c),Bt(c,d)):v(c,d)?(B(c),m(d,12,Mn(c))):w(c,d)?(B(c),ee==="{"?$n(c,d)||P:m(d,11,T(c))):(I===8&&f(M.INVALID_LINKED_FORMAT,u(),0),d.braceNest=0,d.inLinked=!1,Vn(c,d))}}function Vn(c,d){let I={type:14};if(d.braceNest>0)return $n(c,d)||D(d);if(d.inLinked)return Bt(c,d)||D(d);switch(c.currentChar()){case"{":return $n(c,d)||D(d);case"}":return f(M.UNBALANCED_CLOSING_BRACE,u(),0),c.next(),m(d,3,"}");case"@":return Bt(c,d)||D(d);default:{if(j(c))return I=m(d,1,q(c)),d.braceNest=0,d.inLinked=!1,I;const{isModulo:ee,hasSpace:J}=ye(c);if(ee)return J?m(d,0,Jt(c)):m(d,4,Xt(c));if(k(c))return m(d,0,Jt(c));break}}return I}function Eu(){const{currentType:c,offset:d,startLoc:I,endLoc:P}=l;return l.lastType=c,l.lastOffset=d,l.lastStartLoc=I,l.lastEndLoc=P,l.offset=r(),l.startLoc=u(),a.currentChar()===tt?m(l,14):Vn(a,l)}return{nextToken:Eu,currentOffset:r,currentPosition:u,context:o}}const mv="parser",hv=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _v(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"\uFFFD"}}}function Ev(e={}){const t=e.location!==!1,{onError:n,onWarn:a}=e;function r(_,g,N,b,...v){const O=_.currentPosition();if(O.offset+=b,O.column+=b,n){const w=t?Gn(N,O):null,j=Tt(g,w,{domain:mv,args:v});n(j)}}function u(_,g,N,b,...v){const O=_.currentPosition();if(O.offset+=b,O.column+=b,a){const w=t?Gn(N,O):null;a(tv(g,w,v))}}function i(_,g,N){const b={type:_};return t&&(b.start=g,b.end=g,b.loc={start:N,end:N}),b}function s(_,g,N,b){b&&(_.type=b),t&&(_.end=g,_.loc&&(_.loc.end=N))}function l(_,g){const N=_.context(),b=i(3,N.offset,N.startLoc);return b.value=g,s(b,_.currentOffset(),_.currentPosition()),b}function o(_,g){const N=_.context(),{lastOffset:b,lastStartLoc:v}=N,O=i(5,b,v);return O.index=parseInt(g,10),_.nextToken(),s(O,_.currentOffset(),_.currentPosition()),O}function h(_,g,N){const b=_.context(),{lastOffset:v,lastStartLoc:O}=b,w=i(4,v,O);return w.key=g,N===!0&&(w.modulo=!0),_.nextToken(),s(w,_.currentOffset(),_.currentPosition()),w}function f(_,g){const N=_.context(),{lastOffset:b,lastStartLoc:v}=N,O=i(9,b,v);return O.value=g.replace(hv,_v),_.nextToken(),s(O,_.currentOffset(),_.currentPosition()),O}function m(_){const g=_.nextToken(),N=_.context(),{lastOffset:b,lastStartLoc:v}=N,O=i(8,b,v);return g.type!==12?(r(_,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),O.value="",s(O,b,v),{nextConsumeToken:g,node:O}):(g.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,we(g)),O.value=g.value||"",s(O,_.currentOffset(),_.currentPosition()),{node:O})}function D(_,g){const N=_.context(),b=i(7,N.offset,N.startLoc);return b.value=g,s(b,_.currentOffset(),_.currentPosition()),b}function S(_){const g=_.context(),N=i(6,g.offset,g.startLoc);let b=_.nextToken();if(b.type===9){const v=m(_);N.modifier=v.node,b=v.nextConsumeToken||_.nextToken()}switch(b.type!==10&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(b)),b=_.nextToken(),b.type===2&&(b=_.nextToken()),b.type){case 11:b.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(b)),N.key=D(_,b.value||"");break;case 5:b.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(b)),N.key=h(_,b.value||"");break;case 6:b.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(b)),N.key=o(_,b.value||"");break;case 7:b.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(b)),N.key=f(_,b.value||"");break;default:{r(_,M.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const v=_.context(),O=i(7,v.offset,v.startLoc);return O.value="",s(O,v.offset,v.startLoc),N.key=O,s(N,v.offset,v.startLoc),{nextConsumeToken:b,node:N}}}return s(N,_.currentOffset(),_.currentPosition()),{node:N}}function y(_){const g=_.context(),N=g.currentType===1?_.currentOffset():g.offset,b=g.currentType===1?g.endLoc:g.startLoc,v=i(2,N,b);v.items=[];let O=null,w=null;do{const k=O||_.nextToken();switch(O=null,k.type){case 0:k.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(k)),v.items.push(l(_,k.value||""));break;case 6:k.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(k)),v.items.push(o(_,k.value||""));break;case 4:w=!0;break;case 5:k.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(k)),v.items.push(h(_,k.value||"",!!w)),w&&(u(_,Kn.USE_MODULO_SYNTAX,g.lastStartLoc,0,we(k)),w=null);break;case 7:k.value==null&&r(_,M.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,we(k)),v.items.push(f(_,k.value||""));break;case 8:{const ue=S(_);v.items.push(ue.node),O=ue.nextConsumeToken||null;break}}}while(g.currentType!==14&&g.currentType!==1);const j=g.currentType===1?g.lastOffset:_.currentOffset(),ye=g.currentType===1?g.lastEndLoc:_.currentPosition();return s(v,j,ye),v}function B(_,g,N,b){const v=_.context();let O=b.items.length===0;const w=i(1,g,N);w.cases=[],w.cases.push(b);do{const j=y(_);O||(O=j.items.length===0),w.cases.push(j)}while(v.currentType!==14);return O&&r(_,M.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),s(w,_.currentOffset(),_.currentPosition()),w}function E(_){const g=_.context(),{offset:N,startLoc:b}=g,v=y(_);return g.currentType===14?v:B(_,N,b,v)}function A(_){const g=dv(_,le({},e)),N=g.context(),b=i(0,N.offset,N.startLoc);return t&&b.loc&&(b.loc.source=_),b.body=E(g),e.onCacheKey&&(b.cacheKey=e.onCacheKey(_)),N.currentType!==14&&r(g,M.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,_[N.offset]||""),s(b,g.currentOffset(),g.currentPosition()),b}return{parse:A}}function we(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 gv(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:u=>(n.helpers.add(u),u)}}function Uu(e,t){for(let n=0;n<e.length;n++)xa(e[n],t)}function xa(e,t){switch(e.type){case 1:Uu(e.cases,t),t.helper("plural");break;case 2:Uu(e.items,t);break;case 6:{xa(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 vv(e,t={}){const n=gv(e);n.helper("normalize"),e.body&&xa(e.body,n);const a=n.context();e.helpers=Array.from(a.helpers)}function yv(e){const t=e.body;return t.type===2?xu(t):t.cases.forEach(n=>xu(n)),e}function xu(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 a=e.items[n];if(!(a.type===3||a.type===9)||a.value==null)break;t.push(a.value)}if(t.length===e.items.length){e.static=ka(t);for(let n=0;n<e.items.length;n++){const a=e.items[n];(a.type===3||a.type===9)&&delete a.value}}}}const Cv="minifier";function Rt(e){switch(e.t=e.type,e.type){case 0:{const t=e;Rt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let a=0;a<n.length;a++)Rt(n[a]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let a=0;a<n.length;a++)Rt(n[a]);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;Rt(t.key),t.k=t.key,delete t.key,t.modifier&&(Rt(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 Tt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Cv,args:[e.type]})}delete e.type}const bv="parser";function Fv(e,t){const{sourceMap:n,filename:a,breakLineCode:r,needIndent:u}=t,i=t.location!==!1,s={filename:a,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:u,indentLevel:0};i&&e.loc&&(s.source=e.loc.source);const l=()=>s;function o(B,E){s.code+=B}function h(B,E=!0){const A=E?r:"";o(u?A+" ".repeat(B):A)}function f(B=!0){const E=++s.indentLevel;B&&h(E)}function m(B=!0){const E=--s.indentLevel;B&&h(E)}function D(){h(s.indentLevel)}return{context:l,push:o,indent:f,deindent:m,newline:D,helper:B=>`_${B}`,needIndent:()=>s.needIndent}}function Av(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),pt(e,t.key),t.modifier?(e.push(", "),pt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dv(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const r=t.items.length;for(let u=0;u<r&&(pt(e,t.items[u]),u!==r-1);u++)e.push(", ");e.deindent(a()),e.push("])")}function Nv(e,t){const{helper:n,needIndent:a}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(a());const r=t.cases.length;for(let u=0;u<r&&(pt(e,t.cases[u]),u!==r-1);u++)e.push(", ");e.deindent(a()),e.push("])")}}function Sv(e,t){t.body?pt(e,t.body):e.push("null")}function pt(e,t){const{helper:n}=e;switch(t.type){case 0:Sv(e,t);break;case 1:Nv(e,t);break;case 2:Dv(e,t);break;case 6:Av(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 Tt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:bv,args:[t.type]})}}const Iv=(e,t={})=>{const n=R(t.mode)?t.mode:"normal",a=R(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,u=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
12
|
-
`,i=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=Fv(e,{mode:n,filename:a,sourceMap:r,breakLineCode:u,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),s.length>0&&(l.push(`const { ${ka(s.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),pt(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:o,map:h}=l.context();return{ast:e,code:o,map:h?h.toJSON():void 0}};function Bv(e,t={}){const n=le({},t),a=!!n.jit,r=!!n.minify,u=n.optimize==null?!0:n.optimize,s=Ev(n).parse(e);return a?(u&&yv(s),r&&Rt(s),{ast:s,code:""}):(vv(s,n),Iv(s,n))}/*!
|
|
13
|
-
* core-base v9.14.0
|
|
14
|
-
* (c) 2024 kazuya kawaguchi
|
|
15
|
-
* Released under the MIT License.
|
|
16
|
-
*/function Ov(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(He().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(He().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(He().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const nt=[];nt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},nt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},nt[2]={w:[2],i:[3,0],[0]:[3,0]},nt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},nt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},nt[5]={["'"]:[4,0],o:8,l:[5,0]},nt[6]={['"']:[4,0],o:8,l:[6,0]};const Lv=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function wv(e){return Lv.test(e)}function Tv(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 Rv(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 pv(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:wv(t)?Tv(t):"*"+t}function Pv(e){const t=[];let n=-1,a=0,r=0,u,i,s,l,o,h,f;const m=[];m[0]=()=>{i===void 0?i=s:i+=s},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),r++},m[3]=()=>{if(r>0)r--,a=4,m[0]();else{if(r=0,i===void 0||(i=pv(i),i===!1))return!1;m[1]()}};function D(){const S=e[n+1];if(a===5&&S==="'"||a===6&&S==='"')return n++,s="\\"+S,m[0](),!0}for(;a!==null;)if(n++,u=e[n],!(u==="\\"&&D())){if(l=Rv(u),f=nt[a],o=f[l]||f.l||8,o===8||(a=o[0],o[1]!==void 0&&(h=m[o[1]],h&&(s=u,h()===!1))))return;if(a===7)return t}}const Wu=new Map;function Mv(e,t){return H(e)?e[t]:null}function $v(e,t){if(!H(e))return null;let n=Wu.get(t);if(n||(n=Pv(t),n&&Wu.set(t,n)),!n)return null;const a=n.length;let r=e,u=0;for(;u<a;){const i=r[n[u]];if(i===void 0||X(r))return null;r=i,u++}return r}const Vv=e=>e,kv=e=>"",Uv="text",xv=e=>e.length===0?"":ka(e),Wv=Qg;function Hu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Hv(e){const t=se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(se(e.named.count)||se(e.named.n))?se(e.named.count)?e.named.count:se(e.named.n)?e.named.n:t:t}function jv(e,t){t.count||(t.count=e),t.n||(t.n=e)}function qv(e={}){const t=e.locale,n=Hv(e),a=H(e.pluralRules)&&R(t)&&X(e.pluralRules[t])?e.pluralRules[t]:Hu,r=H(e.pluralRules)&&R(t)&&X(e.pluralRules[t])?Hu:void 0,u=E=>E[a(n,E.length,r)],i=e.list||[],s=E=>i[E],l=e.named||{};se(e.pluralIndex)&&jv(n,l);const o=E=>l[E];function h(E){const A=X(e.messages)?e.messages(E):H(e.messages)?e.messages[E]:!1;return A||(e.parent?e.parent.message(E):kv)}const f=E=>e.modifiers?e.modifiers[E]:Vv,m=$(e.processor)&&X(e.processor.normalize)?e.processor.normalize:xv,D=$(e.processor)&&X(e.processor.interpolate)?e.processor.interpolate:Wv,S=$(e.processor)&&R(e.processor.type)?e.processor.type:Uv,B={list:s,named:o,plural:u,linked:(E,...A)=>{const[_,g]=A;let N="text",b="";A.length===1?H(_)?(b=_.modifier||b,N=_.type||N):R(_)&&(b=_||b):A.length===2&&(R(_)&&(b=_||b),R(g)&&(N=g||N));const v=h(E)(B),O=N==="vnode"&&z(v)&&b?v[0]:v;return b?f(b)(O,N):O},message:h,type:S,interpolate:D,normalize:m,values:le({},i,l)};return B}let rn=null;function Gv(e){rn=e}function Kv(e,t,n){rn&&rn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Xv=Jv("function:translate");function Jv(e){return t=>rn&&rn.emit(e,t)}const ju=Kn.__EXTEND_POINT__,Et=Hn(ju),_e={NOT_FOUND_KEY:ju,FALLBACK_TO_TRANSLATE:Et(),CANNOT_FORMAT_NUMBER:Et(),FALLBACK_TO_NUMBER_FORMAT:Et(),CANNOT_FORMAT_DATE:Et(),FALLBACK_TO_DATE_FORMAT:Et(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Et(),__EXTEND_POINT__:Et()},zv={[_e.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[_e.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[_e.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[_e.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[_e.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[_e.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[_e.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 gt(e,...t){return an(zv[e],...t)}const qu=M.__EXTEND_POINT__,vt=Hn(qu),de={INVALID_ARGUMENT:qu,INVALID_DATE_ARGUMENT:vt(),INVALID_ISO_DATE_ARGUMENT:vt(),NOT_SUPPORT_NON_STRING_MESSAGE:vt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:vt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:vt(),NOT_SUPPORT_LOCALE_TYPE:vt(),__EXTEND_POINT__:vt()};function Pe(e){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:Qv}:void 0)}const Qv={[de.INVALID_ARGUMENT]:"Invalid arguments",[de.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[de.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[de.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[de.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[de.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Wa(e,t){return t.locale!=null?Gu(t.locale):Gu(e.locale)}let Ha;function Gu(e){if(R(e))return e;if(X(e)){if(e.resolvedOnce&&Ha!=null)return Ha;if(e.constructor.name==="Function"){const t=e();if(zg(t))throw Pe(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ha=t}else throw Pe(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Pe(de.NOT_SUPPORT_LOCALE_TYPE)}function Zv(e,t,n){return[...new Set([n,...z(t)?t:H(t)?Object.keys(t):R(t)?[t]:[n]])]}function Ku(e,t,n){const a=R(n)?n:Pt,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let u=r.__localeChainCache.get(a);if(!u){u=[];let i=[n];for(;z(i);)i=Xu(u,i,t);const s=z(t)||!$(t)?t:t.default?t.default:null;i=R(s)?[s]:s,z(i)&&Xu(u,i,!1),r.__localeChainCache.set(a,u)}return u}function Xu(e,t,n){let a=!0;for(let r=0;r<t.length&&V(a);r++){const u=t[r];R(u)&&(a=Yv(e,t[r],n))}return a}function Yv(e,t,n){let a;const r=t.split("-");do{const u=r.join("-");a=e5(e,u,n),r.splice(-1,1)}while(r.length&&a===!0);return a}function e5(e,t,n){let a=!1;if(!e.includes(t)&&(a=!0,t)){a=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(z(n)||$(n))&&n[r]&&(a=n[r])}return a}const t5="9.14.0",Xn=-1,Pt="en-US",Jn="",Ju=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function n5(){return{upper:(e,t)=>t==="text"&&R(e)?e.toUpperCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&R(e)?e.toLowerCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&R(e)?Ju(e):t==="vnode"&&H(e)&&"__v_isVNode"in e?Ju(e.children):e}}let zu;function Qu(e){zu=e}let Zu;function a5(e){Zu=e}let Yu;function r5(e){Yu=e}let ei=null;const ti=e=>{ei=e},u5=()=>ei;let ni=null;const ai=e=>{ni=e},i5=()=>ni;let ri=0;function s5(e={}){const t=X(e.onWarn)?e.onWarn:oe,n=R(e.version)?e.version:t5,a=R(e.locale)||X(e.locale)?e.locale:Pt,r=X(a)?Pt:a,u=z(e.fallbackLocale)||$(e.fallbackLocale)||R(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=$(e.messages)?e.messages:{[r]:{}},s=$(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=$(e.numberFormats)?e.numberFormats:{[r]:{}},o=le({},e.modifiers||{},n5()),h=e.pluralRules||{},f=X(e.missing)?e.missing:null,m=V(e.missingWarn)||et(e.missingWarn)?e.missingWarn:!0,D=V(e.fallbackWarn)||et(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,y=!!e.unresolving,B=X(e.postTranslation)?e.postTranslation:null,E=$(e.processor)?e.processor:null,A=V(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,g=X(e.messageCompiler)?e.messageCompiler:zu;process.env.NODE_ENV!=="production"&&!0&&!0&&X(e.messageCompiler)&&Vu(gt(_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=X(e.messageResolver)?e.messageResolver:Zu||Mv,b=X(e.localeFallbacker)?e.localeFallbacker:Yu||Zv,v=H(e.fallbackContext)?e.fallbackContext:void 0,O=e,w=H(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,j=H(O.__numberFormatters)?O.__numberFormatters:new Map,ye=H(O.__meta)?O.__meta:{};ri++;const k={version:n,cid:ri,locale:a,fallbackLocale:u,messages:i,modifiers:o,pluralRules:h,missing:f,missingWarn:m,fallbackWarn:D,fallbackFormat:S,unresolving:y,postTranslation:B,processor:E,warnHtmlMessage:A,escapeParameter:_,messageCompiler:g,messageResolver:N,localeFallbacker:b,fallbackContext:v,onWarn:t,__meta:ye};return k.datetimeFormats=s,k.numberFormats=l,k.__datetimeFormatters=w,k.__numberFormatters=j,process.env.NODE_ENV!=="production"&&(k.__v_emitter=O.__v_emitter!=null?O.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Kv(k,n,ye),k}function zn(e,t){return e instanceof RegExp?e.test(t):e}function ui(e,t){return e instanceof RegExp?e.test(t):e}function ja(e,t,n,a,r){const{missing:u,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:n,key:t,type:r,groupId:`${r}:${t}`})}if(u!==null){const s=u(e,n,t,r);return R(s)?s:t}else return process.env.NODE_ENV!=="production"&&ui(a,t)&&i(gt(_e.NOT_FOUND_KEY,{key:t,locale:n})),t}function un(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ii(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function l5(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let a=n+1;a<t.length;a++)if(ii(e,t[a]))return!0;return!1}function qa(e){return n=>o5(n,e)}function o5(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const a=n,r=a.c||a.cases;return e.plural(r.reduce((u,i)=>[...u,si(e,i)],[]))}else return si(e,n)}function si(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const a=(t.i||t.items).reduce((r,u)=>[...r,Ga(e,u)],[]);return e.normalize(a)}}function Ga(e,t){const n=t.t||t.type;switch(n){case 3:{const a=t;return a.v||a.value}case 9:{const a=t;return a.v||a.value}case 4:{const a=t;return e.interpolate(e.named(a.k||a.key))}case 5:{const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index))}case 6:{const a=t,r=a.m||a.modifier;return e.linked(Ga(e,a.k||a.key),r?Ga(e,r):void 0,e.type)}case 7:{const a=t;return a.v||a.value}case 8:{const a=t;return a.v||a.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const c5="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function li(e,t){t&&uv(e)&&oe(an(c5,{source:e}))}const oi=e=>e;let Mt=Object.create(null);function ci(e){e.code===Kn.USE_MODULO_SYNTAX&&oe(`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 at=e=>H(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function fi(e,t={}){let n=!1;const a=t.onError||av;return t.onError=r=>{n=!0,a(r)},Lt(Qe({},Bv(e,t)),{detectError:n})}const f5=(e,t)=>{if(!R(e))throw Pe(de.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=ci);{const n=V(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&li(e,n);const r=(t.onCacheKey||oi)(e),u=Mt[r];if(u)return u;const{code:i,detectError:s}=fi(e,t),l=new Function(`return ${i}`)();return s?l:Mt[r]=l}};function d5(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=ci),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&R(e)){const n=V(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&li(e,n);const r=(t.onCacheKey||oi)(e),u=Mt[r];if(u)return u;const{ast:i,detectError:s}=fi(e,Lt(Qe({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),l=qa(i);return s?l:Mt[r]=l}else{if(process.env.NODE_ENV!=="production"&&!at(e))return oe(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const a=Mt[n];return a||(Mt[n]=qa(e))}else return qa(e)}}const di=()=>"",Ne=e=>X(e);function mi(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:r,messageCompiler:u,fallbackLocale:i,messages:s}=e,[l,o]=Ka(...t),h=V(o.missingWarn)?o.missingWarn:e.missingWarn,f=V(o.fallbackWarn)?o.fallbackWarn:e.fallbackWarn,m=V(o.escapeParameter)?o.escapeParameter:e.escapeParameter,D=!!o.resolvedMessage,S=R(o.default)||V(o.default)?V(o.default)?u?l:()=>l:o.default:n?u?l:()=>l:"",y=n||S!=="",B=Wa(e,o);m&&m5(o);let[E,A,_]=D?[l,B,s[B]||{}]:hi(e,l,B,i,f,h),g=E,N=l;if(!D&&!(R(g)||at(g)||Ne(g))&&y&&(g=S,N=g),!D&&(!(R(g)||at(g)||Ne(g))||!R(A)))return r?Xn:l;if(process.env.NODE_ENV!=="production"&&R(g)&&e.messageCompiler==null)return oe(`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 '${l}'.`),l;let b=!1;const v=()=>{b=!0},O=Ne(g)?g:_i(e,l,A,g,N,v);if(b)return g;const w=g5(e,A,_,o),j=qv(w),ye=h5(e,O,j),k=a?a(ye,l):ye;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ue={timestamp:Date.now(),key:R(l)?l:Ne(g)?g.key:"",locale:A||(Ne(g)?g.locale:""),format:R(g)?g:Ne(g)?g.source:"",message:k};ue.meta=le({},e.__meta,u5()||{}),Xv(ue)}return k}function m5(e){z(e.list)?e.list=e.list.map(t=>R(t)?Ru(t):t):H(e.named)&&Object.keys(e.named).forEach(t=>{R(e.named[t])&&(e.named[t]=Ru(e.named[t]))})}function hi(e,t,n,a,r,u){const{messages:i,onWarn:s,messageResolver:l,localeFallbacker:o}=e,h=o(e,a,n);let f={},m,D=null,S=n,y=null;const B="translate";for(let E=0;E<h.length;E++){if(m=y=h[E],process.env.NODE_ENV!=="production"&&n!==m&&!ii(n,m)&&zn(r,t)&&s(gt(_e.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const N=e.__v_emitter;N&&N.emit("fallback",{type:B,key:t,from:S,to:y,groupId:`${B}:${t}`})}f=i[m]||{};let A=null,_,g;if(process.env.NODE_ENV!=="production"&&Oe&&(A=window.performance.now(),_="intlify-message-resolve-start",g="intlify-message-resolve-end",Ae&&Ae(_)),(D=l(f,t))===null&&(D=f[t]),process.env.NODE_ENV!=="production"&&Oe){const N=window.performance.now(),b=e.__v_emitter;b&&A&&D&&b.emit("message-resolve",{type:"message-resolve",key:t,message:D,time:N-A,groupId:`${B}:${t}`}),_&&g&&Ae&&_t&&(Ae(g),_t("intlify message resolve",_,g))}if(R(D)||at(D)||Ne(D))break;if(!l5(m,h)){const N=ja(e,t,m,u,B);N!==t&&(D=N)}S=y}return[D,m,f]}function _i(e,t,n,a,r,u){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Ne(a)){const m=a;return m.locale=m.locale||n,m.key=m.key||t,m}if(i==null){const m=()=>a;return m.locale=n,m.key=t,m}let l=null,o,h;process.env.NODE_ENV!=="production"&&Oe&&(l=window.performance.now(),o="intlify-message-compilation-start",h="intlify-message-compilation-end",Ae&&Ae(o));const f=i(a,_5(e,n,r,a,s,u));if(process.env.NODE_ENV!=="production"&&Oe){const m=window.performance.now(),D=e.__v_emitter;D&&l&&D.emit("message-compilation",{type:"message-compilation",message:a,time:m-l,groupId:`translate:${t}`}),o&&h&&Ae&&_t&&(Ae(h),_t("intlify message compilation",o,h))}return f.locale=n,f.key=t,f.source=a,f}function h5(e,t,n){let a=null,r,u;process.env.NODE_ENV!=="production"&&Oe&&(a=window.performance.now(),r="intlify-message-evaluation-start",u="intlify-message-evaluation-end",Ae&&Ae(r));const i=t(n);if(process.env.NODE_ENV!=="production"&&Oe){const s=window.performance.now(),l=e.__v_emitter;l&&a&&l.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-a,groupId:`translate:${t.key}`}),r&&u&&Ae&&_t&&(Ae(u),_t("intlify message evaluation",r,u))}return i}function Ka(...e){const[t,n,a]=e,r={};if(!R(t)&&!se(t)&&!Ne(t)&&!at(t))throw Pe(de.INVALID_ARGUMENT);const u=se(t)?String(t):(Ne(t),t);return se(n)?r.plural=n:R(n)?r.default=n:$(n)&&!xn(n)?r.named=n:z(n)&&(r.list=n),se(a)?r.plural=a:R(a)?r.default=a:$(a)&&le(r,a),[u,r]}function _5(e,t,n,a,r,u){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{if(u&&u(i),process.env.NODE_ENV!=="production"){const s=E5(a),l=`Message compilation error: ${i.message}`,o=i.location&&s&&Zg(s,i.location.start.offset,i.location.end.offset),h=e.__v_emitter;h&&s&&h.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${n}`}),console.error(o?`${l}
|
|
19
|
-
${o}`:l)}else throw i},onCacheKey:i=>Gg(t,n,i)}}function E5(e){if(R(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function g5(e,t,n,a){const{modifiers:r,pluralRules:u,messageResolver:i,fallbackLocale:s,fallbackWarn:l,missingWarn:o,fallbackContext:h}=e,m={locale:t,modifiers:r,pluralRules:u,messages:D=>{let S=i(n,D);if(S==null&&h){const[,,y]=hi(h,D,t,s,l,o);S=i(y,D)}if(R(S)||at(S)){let y=!1;const E=_i(e,D,t,S,D,()=>{y=!0});return y?di:E}else return Ne(S)?S:di}};return e.processor&&(m.processor=e.processor),a.list&&(m.list=a.list),a.named&&(m.named=a.named),se(a.plural)&&(m.pluralIndex=a.plural),m}const Ei=typeof Intl!="undefined",gi={dateTimeFormat:Ei&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Ei&&typeof Intl.NumberFormat!="undefined"};function vi(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:r,onWarn:u,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!gi.dateTimeFormat)return u(gt(_e.CANNOT_FORMAT_DATE)),Jn;const[l,o,h,f]=Xa(...t),m=V(h.missingWarn)?h.missingWarn:e.missingWarn,D=V(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,S=!!h.part,y=Wa(e,h),B=i(e,r,y);if(!R(l)||l==="")return new Intl.DateTimeFormat(y,f).format(o);let E={},A,_=null,g=y,N=null;const b="datetime format";for(let w=0;w<B.length;w++){if(A=N=B[w],process.env.NODE_ENV!=="production"&&y!==A&&zn(D,l)&&u(gt(_e.FALLBACK_TO_DATE_FORMAT,{key:l,target:A})),process.env.NODE_ENV!=="production"&&y!==A){const j=e.__v_emitter;j&&j.emit("fallback",{type:b,key:l,from:g,to:N,groupId:`${b}:${l}`})}if(E=n[A]||{},_=E[l],$(_))break;ja(e,l,A,m,b),g=N}if(!$(_)||!R(A))return a?Xn:l;let v=`${A}__${l}`;xn(f)||(v=`${v}__${JSON.stringify(f)}`);let O=s.get(v);return O||(O=new Intl.DateTimeFormat(A,le({},_,f)),s.set(v,O)),S?O.formatToParts(o):O.format(o)}const yi=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Xa(...e){const[t,n,a,r]=e,u={};let i={},s;if(R(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Pe(de.INVALID_ISO_DATE_ARGUMENT);const o=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(o);try{s.toISOString()}catch(h){throw Pe(de.INVALID_ISO_DATE_ARGUMENT)}}else if(Xg(t)){if(isNaN(t.getTime()))throw Pe(de.INVALID_DATE_ARGUMENT);s=t}else if(se(t))s=t;else throw Pe(de.INVALID_ARGUMENT);return R(n)?u.key=n:$(n)&&Object.keys(n).forEach(l=>{yi.includes(l)?i[l]=n[l]:u[l]=n[l]}),R(a)?u.locale=a:$(a)&&(i=a),$(r)&&(i=r),[u.key||"",s,u,i]}function Ci(e,t,n){const a=e;for(const r in n){const u=`${t}__${r}`;!a.__datetimeFormatters.has(u)||a.__datetimeFormatters.delete(u)}}function bi(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:r,onWarn:u,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!gi.numberFormat)return u(gt(_e.CANNOT_FORMAT_NUMBER)),Jn;const[l,o,h,f]=Ja(...t),m=V(h.missingWarn)?h.missingWarn:e.missingWarn,D=V(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,S=!!h.part,y=Wa(e,h),B=i(e,r,y);if(!R(l)||l==="")return new Intl.NumberFormat(y,f).format(o);let E={},A,_=null,g=y,N=null;const b="number format";for(let w=0;w<B.length;w++){if(A=N=B[w],process.env.NODE_ENV!=="production"&&y!==A&&zn(D,l)&&u(gt(_e.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:A})),process.env.NODE_ENV!=="production"&&y!==A){const j=e.__v_emitter;j&&j.emit("fallback",{type:b,key:l,from:g,to:N,groupId:`${b}:${l}`})}if(E=n[A]||{},_=E[l],$(_))break;ja(e,l,A,m,b),g=N}if(!$(_)||!R(A))return a?Xn:l;let v=`${A}__${l}`;xn(f)||(v=`${v}__${JSON.stringify(f)}`);let O=s.get(v);return O||(O=new Intl.NumberFormat(A,le({},_,f)),s.set(v,O)),S?O.formatToParts(o):O.format(o)}const Fi=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ja(...e){const[t,n,a,r]=e,u={};let i={};if(!se(t))throw Pe(de.INVALID_ARGUMENT);const s=t;return R(n)?u.key=n:$(n)&&Object.keys(n).forEach(l=>{Fi.includes(l)?i[l]=n[l]:u[l]=n[l]}),R(a)?u.locale=a:$(a)&&(i=a),$(r)&&(i=r),[u.key||"",s,u,i]}function Ai(e,t,n){const a=e;for(const r in n){const u=`${t}__${r}`;!a.__numberFormatters.has(u)||a.__numberFormatters.delete(u)}}Ov();/**
|
|
20
|
-
* @vue/shared v3.4.38
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**//*! #__NO_SIDE_EFFECTS__ */function v5(e,t){const n=new Set(e.split(","));return t?a=>n.has(a.toLowerCase()):a=>n.has(a)}const Me=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const rt=()=>{},y5=()=>!1,C5=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Se=Object.assign,b5=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},F5=Object.prototype.hasOwnProperty,ae=(e,t)=>F5.call(e,t),Q=Array.isArray,$t=e=>Qn(e)==="[object Map]",A5=e=>Qn(e)==="[object Set]",re=e=>typeof e=="function",Te=e=>typeof e=="string",sn=e=>typeof e=="symbol",Ee=e=>e!==null&&typeof e=="object",D5=e=>(Ee(e)||re(e))&&re(e.then)&&re(e.catch),N5=Object.prototype.toString,Qn=e=>N5.call(e),Di=e=>Qn(e).slice(8,-1),S5=e=>Qn(e)==="[object Object]",za=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ni=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Si=Ni(e=>e.charAt(0).toUpperCase()+e.slice(1)),I5=Ni(e=>e?`on${Si(e)}`:""),ut=(e,t)=>!Object.is(e,t),B5=(e,t,n,a=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})};let Ii;const Bi=()=>Ii||(Ii=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Qa(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const a=e[n],r=Te(a)?T5(a):Qa(a);if(r)for(const u in r)t[u]=r[u]}return t}else if(Te(e)||Ee(e))return e}const O5=/;(?![^(]*\))/g,L5=/:([^]+)/,w5=/\/\*[^]*?\*\//g;function T5(e){const t={};return e.replace(w5,"").split(O5).forEach(n=>{if(n){const a=n.split(L5);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function Za(e){let t="";if(Te(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const a=Za(e[n]);a&&(t+=a+" ")}else if(Ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
|
|
24
|
-
* @vue/reactivity v3.4.38
|
|
25
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26
|
-
* @license MIT
|
|
27
|
-
**/function it(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Re;class R5{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Re,!t&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Re;try{return Re=this,t()}finally{Re=n}}else process.env.NODE_ENV!=="production"&&it("cannot run an inactive effect scope.")}on(){Re=this}off(){Re=this.parent}stop(t){if(this._active){let n,a;for(n=0,a=this.effects.length;n<a;n++)this.effects[n].stop();for(n=0,a=this.cleanups.length;n<a;n++)this.cleanups[n]();if(this.scopes)for(n=0,a=this.scopes.length;n<a;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function p5(e){return new R5(e)}function P5(e,t=Re){t&&t.active&&t.effects.push(e)}function M5(){return Re}let yt;class Oi{constructor(t,n,a,r){this.fn=t,this.trigger=n,this.scheduler=a,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,P5(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ln();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&($5(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),on()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=st,n=yt;try{return st=!0,yt=this,this._runnings++,Li(this),this.fn()}finally{wi(this),this._runnings--,yt=n,st=t}}stop(){this.active&&(Li(this),wi(this),this.onStop&&this.onStop(),this.active=!1)}}function $5(e){return e.value}function Li(e){e._trackId++,e._depsLength=0}function wi(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ti(e.deps[t],e);e.deps.length=e._depsLength}}function Ti(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let st=!0,Ya=0;const Ri=[];function ln(){Ri.push(st),st=!1}function on(){const e=Ri.pop();st=e===void 0?!0:e}function er(){Ya++}function tr(){for(Ya--;!Ya&&nr.length;)nr.shift()()}function pi(e,t,n){var a;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Ti(r,e),e.deps[e._depsLength++]=t):e._depsLength++,process.env.NODE_ENV!=="production"&&((a=e.onTrack)==null||a.call(e,Se({effect:e},n)))}}const nr=[];function Pi(e,t,n){var a;er();for(const r of e.keys()){let u;r._dirtyLevel<t&&(u!=null?u:u=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(u!=null?u:u=e.get(r)===r._trackId)&&(process.env.NODE_ENV!=="production"&&((a=r.onTrigger)==null||a.call(r,Se({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&nr.push(r.scheduler)))}tr()}const Mi=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ar=new WeakMap,Ct=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),rr=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function me(e,t,n){if(st&&yt){let a=ar.get(e);a||ar.set(e,a=new Map);let r=a.get(n);r||a.set(n,r=Mi(()=>a.delete(n))),pi(yt,r,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function lt(e,t,n,a,r,u){const i=ar.get(e);if(!i)return;let s=[];if(t==="clear")s=[...i.values()];else if(n==="length"&&Q(e)){const l=Number(a);i.forEach((o,h)=>{(h==="length"||!sn(h)&&h>=l)&&s.push(o)})}else switch(n!==void 0&&s.push(i.get(n)),t){case"add":Q(e)?za(n)&&s.push(i.get("length")):(s.push(i.get(Ct)),$t(e)&&s.push(i.get(rr)));break;case"delete":Q(e)||(s.push(i.get(Ct)),$t(e)&&s.push(i.get(rr)));break;case"set":$t(e)&&s.push(i.get(Ct));break}er();for(const l of s)l&&Pi(l,4,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:a,oldValue:r,oldTarget:u}:void 0);tr()}const V5=v5("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn)),Vi=k5();function k5(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const a=U(this);for(let u=0,i=this.length;u<i;u++)me(a,"get",u+"");const r=a[t](...n);return r===-1||r===!1?a[t](...n.map(U)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ln(),er();const a=U(this)[t].apply(this,n);return tr(),on(),a}}),e}function U5(e){sn(e)||(e=String(e));const t=U(this);return me(t,"has",e),t.hasOwnProperty(e)}class ki{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,a){const r=this._isReadonly,u=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return u;if(n==="__v_raw")return a===(r?u?Xi:Ki:u?Y5:Gi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const i=Q(t);if(!r){if(i&&ae(Vi,n))return Reflect.get(Vi,n,a);if(n==="hasOwnProperty")return U5}const s=Reflect.get(t,n,a);return(sn(n)?$i.has(n):V5(n))||(r||me(t,"get",n),u)?s:Ce(s)?i&&za(n)?s:s.value:Ee(s)?r?zi(s):Ji(s):s}}class x5 extends ki{constructor(t=!1){super(!1,t)}set(t,n,a,r){let u=t[n];if(!this._isShallow){const l=qe(u);if(!Ge(a)&&!qe(a)&&(u=U(u),a=U(a)),!Q(t)&&Ce(u)&&!Ce(a))return l?!1:(u.value=a,!0)}const i=Q(t)&&za(n)?Number(n)<t.length:ae(t,n),s=Reflect.set(t,n,a,r);return t===U(r)&&(i?ut(a,u)&<(t,"set",n,a,u):lt(t,"add",n,a)),s}deleteProperty(t,n){const a=ae(t,n),r=t[n],u=Reflect.deleteProperty(t,n);return u&&a&<(t,"delete",n,void 0,r),u}has(t,n){const a=Reflect.has(t,n);return(!sn(n)||!$i.has(n))&&me(t,"has",n),a}ownKeys(t){return me(t,"iterate",Q(t)?"length":Ct),Reflect.ownKeys(t)}}class Ui extends ki{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&it(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&it(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const W5=new x5,H5=new Ui,j5=new Ui(!0),ur=e=>e,Zn=e=>Reflect.getPrototypeOf(e);function Yn(e,t,n=!1,a=!1){e=e.__v_raw;const r=U(e),u=U(t);n||(ut(t,u)&&me(r,"get",t),me(r,"get",u));const{has:i}=Zn(r),s=a?ur:n?or:cn;if(i.call(r,t))return s(e.get(t));if(i.call(r,u))return s(e.get(u));e!==r&&e.get(t)}function ea(e,t=!1){const n=this.__v_raw,a=U(n),r=U(e);return t||(ut(e,r)&&me(a,"has",e),me(a,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ta(e,t=!1){return e=e.__v_raw,!t&&me(U(e),"iterate",Ct),Reflect.get(e,"size",e)}function xi(e,t=!1){!t&&!Ge(e)&&!qe(e)&&(e=U(e));const n=U(this);return Zn(n).has.call(n,e)||(n.add(e),lt(n,"add",e,e)),this}function Wi(e,t,n=!1){!n&&!Ge(t)&&!qe(t)&&(t=U(t));const a=U(this),{has:r,get:u}=Zn(a);let i=r.call(a,e);i?process.env.NODE_ENV!=="production"&&qi(a,r,e):(e=U(e),i=r.call(a,e));const s=u.call(a,e);return a.set(e,t),i?ut(t,s)&<(a,"set",e,t,s):lt(a,"add",e,t),this}function Hi(e){const t=U(this),{has:n,get:a}=Zn(t);let r=n.call(t,e);r?process.env.NODE_ENV!=="production"&&qi(t,n,e):(e=U(e),r=n.call(t,e));const u=a?a.call(t,e):void 0,i=t.delete(e);return r&<(t,"delete",e,void 0,u),i}function ji(){const e=U(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?$t(e)?new Map(e):new Set(e):void 0,a=e.clear();return t&<(e,"clear",void 0,void 0,n),a}function na(e,t){return function(a,r){const u=this,i=u.__v_raw,s=U(i),l=t?ur:e?or:cn;return!e&&me(s,"iterate",Ct),i.forEach((o,h)=>a.call(r,l(o),l(h),u))}}function aa(e,t,n){return function(...a){const r=this.__v_raw,u=U(r),i=$t(u),s=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,o=r[e](...a),h=n?ur:t?or:cn;return!t&&me(u,"iterate",l?rr:Ct),{next(){const{value:f,done:m}=o.next();return m?{value:f,done:m}:{value:s?[h(f[0]),h(f[1])]:h(f),done:m}},[Symbol.iterator](){return this}}}}function ot(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";it(`${Si(e)} operation ${n}failed: target is readonly.`,U(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function q5(){const e={get(u){return Yn(this,u)},get size(){return ta(this)},has:ea,add:xi,set:Wi,delete:Hi,clear:ji,forEach:na(!1,!1)},t={get(u){return Yn(this,u,!1,!0)},get size(){return ta(this)},has:ea,add(u){return xi.call(this,u,!0)},set(u,i){return Wi.call(this,u,i,!0)},delete:Hi,clear:ji,forEach:na(!1,!0)},n={get(u){return Yn(this,u,!0)},get size(){return ta(this,!0)},has(u){return ea.call(this,u,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:na(!0,!1)},a={get(u){return Yn(this,u,!0,!0)},get size(){return ta(this,!0)},has(u){return ea.call(this,u,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:na(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(u=>{e[u]=aa(u,!1,!1),n[u]=aa(u,!0,!1),t[u]=aa(u,!1,!0),a[u]=aa(u,!0,!0)}),[e,n,t,a]}const[G5,K5,X5,J5]=q5();function ir(e,t){const n=t?e?J5:X5:e?K5:G5;return(a,r,u)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?a:Reflect.get(ae(n,r)&&r in a?n:a,r,u)}const z5={get:ir(!1,!1)},Q5={get:ir(!0,!1)},Z5={get:ir(!0,!0)};function qi(e,t,n){const a=U(n);if(a!==n&&t.call(e,a)){const r=Di(e);it(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="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 Gi=new WeakMap,Y5=new WeakMap,Ki=new WeakMap,Xi=new WeakMap;function ey(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ty(e){return e.__v_skip||!Object.isExtensible(e)?0:ey(Di(e))}function Ji(e){return qe(e)?e:sr(e,!1,W5,z5,Gi)}function zi(e){return sr(e,!0,H5,Q5,Ki)}function ra(e){return sr(e,!0,j5,Z5,Xi)}function sr(e,t,n,a,r){if(!Ee(e))return process.env.NODE_ENV!=="production"&&it(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=r.get(e);if(u)return u;const i=ty(e);if(i===0)return e;const s=new Proxy(e,i===2?a:n);return r.set(e,s),s}function Vt(e){return qe(e)?Vt(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function lr(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function ny(e){return Object.isExtensible(e)&&B5(e,"__v_skip",!0),e}const cn=e=>Ee(e)?Ji(e):e,or=e=>Ee(e)?zi(e):e,ay="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Qi{constructor(t,n,a,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Oi(()=>t(this._value),()=>ua(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=a}get value(){const t=U(this);return(!t._cacheable||t.effect.dirty)&&ut(t._value,t._value=t.effect.run())&&ua(t,4),Zi(t),t.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&it(ay,`
|
|
28
|
-
|
|
29
|
-
getter: `,this.getter),ua(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ry(e,t,n=!1){let a,r;const u=re(e);u?(a=e,r=process.env.NODE_ENV!=="production"?()=>{it("Write operation failed: computed value is readonly")}:rt):(a=e.get,r=e.set);const i=new Qi(a,r,u||!r,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function Zi(e){var t;st&&yt&&(e=U(e),pi(yt,(t=e.dep)!=null?t:e.dep=Mi(()=>e.dep=void 0,e instanceof Qi?e:void 0),process.env.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function ua(e,t=4,n,a){e=U(e);const r=e.dep;r&&Pi(r,t,process.env.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n,oldValue:a}:void 0)}function Ce(e){return!!(e&&e.__v_isRef===!0)}function kt(e){return es(e,!1)}function Yi(e){return es(e,!0)}function es(e,t){return Ce(e)?e:new uy(e,t)}class uy{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:U(t),this._value=n?t:cn(t)}get value(){return Zi(this),this._value}set value(t){const n=this.__v_isShallow||Ge(t)||qe(t);if(t=n?t:U(t),ut(t,this._rawValue)){const a=this._rawValue;this._rawValue=t,this._value=n?t:cn(t),ua(this,4,t,a)}}}function iy(e){return Ce(e)?e.value:e}const sy={get:(e,t,n)=>iy(Reflect.get(e,t,n)),set:(e,t,n,a)=>{const r=e[t];return Ce(r)&&!Ce(n)?(r.value=n,!0):Reflect.set(e,t,n,a)}};function ly(e){return Vt(e)?e:new Proxy(e,sy)}/**
|
|
30
|
-
* @vue/runtime-core v3.4.38
|
|
31
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
32
|
-
* @license MIT
|
|
33
|
-
**/const bt=[];function oy(e){bt.push(e)}function cy(){bt.pop()}let cr=!1;function Z(e,...t){if(cr)return;cr=!0,ln();const n=bt.length?bt[bt.length-1].component:null,a=n&&n.appContext.config.warnHandler,r=fy();if(a)Ft(a,n,11,[e+t.map(u=>{var i,s;return(s=(i=u.toString)==null?void 0:i.call(u))!=null?s:JSON.stringify(u)}).join(""),n&&n.proxy,r.map(({vnode:u})=>`at <${Ds(n,u.type)}>`).join(`
|
|
34
|
-
`),r]);else{const u=[`[Vue warn]: ${e}`,...t];r.length&&u.push(`
|
|
35
|
-
`,...dy(r)),console.warn(...u)}on(),cr=!1}function fy(){let e=bt[bt.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 a=e.component&&e.component.parent;e=a&&a.vnode}return t}function dy(e){const t=[];return e.forEach((n,a)=>{t.push(...a===0?[]:[`
|
|
36
|
-
`],...my(n))}),t}function my({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",a=e.component?e.component.parent==null:!1,r=` at <${Ds(e.component,e.type,a)}`,u=">"+n;return e.props?[r,...hy(e.props),u]:[r+u]}function hy(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(a=>{t.push(...ts(a,e[a]))}),n.length>3&&t.push(" ..."),t}function ts(e,t,n){return Te(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ce(t)?(t=ts(e,U(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):re(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=U(t),n?t:[`${e}=`,t])}const fr={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"};function Ft(e,t,n,a){try{return a?e(...a):e()}catch(r){dr(r,t,n)}}function fn(e,t,n,a){if(re(e)){const r=Ft(e,t,n,a);return r&&D5(r)&&r.catch(u=>{dr(u,t,n)}),r}if(Q(e)){const r=[];for(let u=0;u<e.length;u++)r.push(fn(e[u],t,n,a));return r}else process.env.NODE_ENV!=="production"&&Z(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function dr(e,t,n,a=!0){const r=t?t.vnode:null;if(t){let u=t.parent;const i=t.proxy,s=process.env.NODE_ENV!=="production"?fr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;u;){const o=u.ec;if(o){for(let h=0;h<o.length;h++)if(o[h](e,i,s)===!1)return}u=u.parent}const l=t.appContext.config.errorHandler;if(l){ln(),Ft(l,null,10,[e,i,s]),on();return}}_y(e,n,r,a)}function _y(e,t,n,a=!0){if(process.env.NODE_ENV!=="production"){const r=fr[t];if(n&&oy(n),Z(`Unhandled error${r?` during execution of ${r}`:""}`),n&&cy(),a)throw e;console.error(e)}else console.error(e)}let ia=!1,mr=!1;const pe=[];let ct=0;const Ut=[];let ft=null,At=0;const ns=Promise.resolve();let hr=null;const Ey=100;function gy(e){const t=hr||ns;return e?t.then(this?e.bind(this):e):t}function vy(e){let t=ct+1,n=pe.length;for(;t<n;){const a=t+n>>>1,r=pe[a],u=dn(r);u<e||u===e&&r.pre?t=a+1:n=a}return t}function _r(e){(!pe.length||!pe.includes(e,ia&&e.allowRecurse?ct+1:ct))&&(e.id==null?pe.push(e):pe.splice(vy(e.id),0,e),as())}function as(){!ia&&!mr&&(mr=!0,hr=ns.then(us))}function rs(e){Q(e)?Ut.push(...e):(!ft||!ft.includes(e,e.allowRecurse?At+1:At))&&Ut.push(e),as()}function yy(e){if(Ut.length){const t=[...new Set(Ut)].sort((n,a)=>dn(n)-dn(a));if(Ut.length=0,ft){ft.push(...t);return}for(ft=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),At=0;At<ft.length;At++){const n=ft[At];process.env.NODE_ENV!=="production"&&is(e,n)||n.active!==!1&&n()}ft=null,At=0}}const dn=e=>e.id==null?1/0:e.id,Cy=(e,t)=>{const n=dn(e)-dn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function us(e){mr=!1,ia=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),pe.sort(Cy);const t=process.env.NODE_ENV!=="production"?n=>is(e,n):rt;try{for(ct=0;ct<pe.length;ct++){const n=pe[ct];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;Ft(n,n.i,n.i?15:14)}}}finally{ct=0,pe.length=0,yy(e),ia=!1,hr=null,(pe.length||Ut.length)&&us(e)}}function is(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Ey){const a=t.i,r=a&&As(a.type);return dr(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. 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}else e.set(t,n+1)}}const Er=new Map;process.env.NODE_ENV!=="production"&&(Bi().__VUE_HMR_RUNTIME__={createRecord:gr(by),rerender:gr(Fy),reload:gr(Ay)});const sa=new Map;function by(e,t){return sa.has(e)?!1:(sa.set(e,{initialDef:la(t),instances:new Set}),!0)}function la(e){return Ns(e)?e.__vccOpts:e}function Fy(e,t){const n=sa.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(a=>{t&&(a.render=t,la(a.type).render=t),a.renderCache=[],a.effect.dirty=!0,a.update()}))}function Ay(e,t){const n=sa.get(e);if(!n)return;t=la(t),ss(n.initialDef,t);const a=[...n.instances];for(let r=0;r<a.length;r++){const u=a[r],i=la(u.type);let s=Er.get(i);s||(i!==n.initialDef&&ss(i,t),Er.set(i,s=new Set)),s.add(u),u.appContext.propsCache.delete(u.type),u.appContext.emitsCache.delete(u.type),u.appContext.optionsCache.delete(u.type),u.ceReload?(s.add(u),u.ceReload(t.styles),s.delete(u)):u.parent?(u.parent.effect.dirty=!0,_r(()=>{u.parent.update(),s.delete(u)})):u.appContext.reload?u.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}rs(()=>{Er.clear()})}function ss(e,t){Se(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function gr(e){return(t,n)=>{try{return e(t,n)}catch(a){console.error(a),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let xt,oa=[];function ls(e,t){var n,a;xt=e,xt?(xt.enabled=!0,oa.forEach(({event:r,args:u})=>xt.emit(r,...u)),oa=[]):typeof window!="undefined"&&window.HTMLElement&&!((a=(n=window.navigator)==null?void 0:n.userAgent)!=null&&a.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(u=>{ls(u,t)}),setTimeout(()=>{xt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,oa=[])},3e3)):oa=[]}let $e=null,Dy=null;function os(e,t){e.shapeFlag&6&&e.component?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 vr(e,t){return re(e)?(()=>Se({name:e.name},t,{setup:e}))():e}function Ny(e,t,n=Nt,a=!1){if(n){const r=n[e]||(n[e]=[]),u=t.__weh||(t.__weh=(...i)=>{ln();const s=Fs(n),l=fn(t,n,e,i);return s(),on(),l});return a?r.unshift(u):r.push(u),u}else if(process.env.NODE_ENV!=="production"){const r=I5(fr[e].replace(/ hook$/,""));Z(`${r} 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 yr=e=>(t,n=Nt)=>{(!_a||e==="sp")&&Ny(e,(...a)=>t(...a),n)},Sy=yr("bm"),Iy=yr("m"),By=yr("um"),Oy=Symbol.for("v-ndc"),Cr=e=>e?Zy(e)?Yy(e):Cr(e.parent):null,mn=Se(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?ra(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?ra(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?ra(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?ra(e.refs):e.refs,$parent:e=>Cr(e.parent),$root:e=>Cr(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Ry(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,_r(e.update)}),$nextTick:e=>e.n||(e.n=gy.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?Wy.bind(e):rt}),Ly=e=>e==="_"||e==="$",br=(e,t)=>e!==Me&&!e.__isScriptSetup&&ae(e,t),wy={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:a,data:r,props:u,accessCache:i,type:s,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let o;if(t[0]!=="$"){const D=i[t];if(D!==void 0)switch(D){case 1:return a[t];case 2:return r[t];case 4:return n[t];case 3:return u[t]}else{if(br(a,t))return i[t]=1,a[t];if(r!==Me&&ae(r,t))return i[t]=2,r[t];if((o=e.propsOptions[0])&&ae(o,t))return i[t]=3,u[t];if(n!==Me&&ae(n,t))return i[t]=4,n[t];(!__VUE_OPTIONS_API__||Ty)&&(i[t]=0)}}const h=mn[t];let f,m;if(h)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),h(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Me&&ae(n,t))return i[t]=4,n[t];if(m=l.config.globalProperties,ae(m,t))return m[t];process.env.NODE_ENV!=="production"&&$e&&(!Te(t)||t.indexOf("__v")!==0)&&(r!==Me&&Ly(t[0])&&ae(r,t)?Z(`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===$e&&Z(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:a,setupState:r,ctx:u}=e;return br(r,t)?(r[t]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&ae(r,t)?(Z(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):a!==Me&&ae(a,t)?(a[t]=n,!0):ae(e.props,t)?(process.env.NODE_ENV!=="production"&&Z(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Z(`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(u,t,{enumerable:!0,configurable:!0,value:n}):u[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:r,propsOptions:u}},i){let s;return!!n[i]||e!==Me&&ae(e,i)||br(t,i)||(s=u[0])&&ae(s,i)||ae(a,i)||ae(mn,i)||ae(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(wy.ownKeys=e=>(Z("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 Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ty=!0;function Ry(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:r,optionsCache:u,config:{optionMergeStrategies:i}}=e.appContext,s=u.get(t);let l;return s?l=s:!r.length&&!n&&!a?l=t:(l={},r.length&&r.forEach(o=>ca(l,o,i,!0)),ca(l,t,i)),Ee(t)&&u.set(t,l),l}function ca(e,t,n,a=!1){const{mixins:r,extends:u}=t;u&&ca(e,u,n,!0),r&&r.forEach(i=>ca(e,i,n,!0));for(const i in t)if(a&&i==="expose")process.env.NODE_ENV!=="production"&&Z('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=py[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const py={data:fs,props:ms,emits:ms,methods:hn,computed:hn,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:hn,directives:hn,watch:My,provide:fs,inject:Py};function fs(e,t){return t?e?function(){return Se(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function Py(e,t){return hn(ds(e),ds(t))}function ds(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function hn(e,t){return e?Se(Object.create(null),e,t):t}function ms(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:Se(Object.create(null),cs(e),cs(t!=null?t:{})):t}function My(e,t){if(!e)return t;if(!t)return e;const n=Se(Object.create(null),e);for(const a in t)n[a]=ge(e[a],t[a]);return n}function $y(){return{app:null,config:{isNativeTag:y5,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 Fr=null;function hs(e,t,n=!1){const a=Nt||$e;if(a||Fr){const r=Fr?Fr._context.provides:a?a.parent==null?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&re(t)?t.call(a&&a.proxy):t;process.env.NODE_ENV!=="production"&&Z(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Z("inject() can only be used inside setup() or functional components.")}const Vy={},_s=e=>Object.getPrototypeOf(e)===Vy,ky=e=>e.__isTeleport,Es=qy,Uy=Symbol.for("v-scx"),xy=()=>{{const e=hs(Uy);return e||process.env.NODE_ENV!=="production"&&Z("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},fa={};function Ar(e,t,n){return process.env.NODE_ENV!=="production"&&!re(t)&&Z("`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."),gs(e,t,n)}function gs(e,t,{immediate:n,deep:a,flush:r,once:u,onTrack:i,onTrigger:s}=Me){if(t&&u){const v=t;t=(...O)=>{v(...O),b()}}process.env.NODE_ENV!=="production"&&a!==void 0&&typeof a=="number"&&Z('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&Z('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&Z('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&Z('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=v=>{Z("Invalid watch source: ",v,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},o=Nt,h=v=>a===!0?v:Dt(v,a===!1?1:void 0);let f,m=!1,D=!1;if(Ce(e)?(f=()=>e.value,m=Ge(e)):Vt(e)?(f=()=>h(e),m=!0):Q(e)?(D=!0,m=e.some(v=>Vt(v)||Ge(v)),f=()=>e.map(v=>{if(Ce(v))return v.value;if(Vt(v))return h(v);if(re(v))return Ft(v,o,2);process.env.NODE_ENV!=="production"&&l(v)})):re(e)?t?f=()=>Ft(e,o,2):f=()=>(S&&S(),fn(e,o,3,[y])):(f=rt,process.env.NODE_ENV!=="production"&&l(e)),t&&a){const v=f;f=()=>Dt(v())}let S,y=v=>{S=g.onStop=()=>{Ft(v,o,4),S=g.onStop=void 0}},B;if(_a)if(y=rt,t?n&&fn(t,o,3,[f(),D?[]:void 0,y]):f(),r==="sync"){const v=xy();B=v.__watcherHandles||(v.__watcherHandles=[])}else return rt;let E=D?new Array(e.length).fill(fa):fa;const A=()=>{if(!(!g.active||!g.dirty))if(t){const v=g.run();(a||m||(D?v.some((O,w)=>ut(O,E[w])):ut(v,E)))&&(S&&S(),fn(t,o,3,[v,E===fa?void 0:D&&E[0]===fa?[]:E,y]),E=v)}else g.run()};A.allowRecurse=!!t;let _;r==="sync"?_=A:r==="post"?_=()=>Es(A,o&&o.suspense):(A.pre=!0,o&&(A.id=o.uid),_=()=>_r(A));const g=new Oi(f,rt,_),N=M5(),b=()=>{g.stop(),N&&b5(N.effects,g)};return process.env.NODE_ENV!=="production"&&(g.onTrack=i,g.onTrigger=s),t?n?A():E=g.run():r==="post"?Es(g.run.bind(g),o&&o.suspense):g.run(),B&&B.push(b),b}function Wy(e,t,n){const a=this.proxy,r=Te(e)?e.includes(".")?Hy(a,e):()=>a[e]:e.bind(a,a);let u;re(t)?u=t:(u=t.handler,n=t);const i=Fs(this),s=gs(r,u.bind(a),n);return i(),s}function Hy(e,t){const n=t.split(".");return()=>{let a=e;for(let r=0;r<n.length&&a;r++)a=a[n[r]];return a}}function Dt(e,t=1/0,n){if(t<=0||!Ee(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ce(e))Dt(e.value,t,n);else if(Q(e))for(let a=0;a<e.length;a++)Dt(e[a],t,n);else if(A5(e)||$t(e))e.forEach(a=>{Dt(a,t,n)});else if(S5(e)){for(const a in e)Dt(e[a],t,n);for(const a of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,a)&&Dt(e[a],t,n)}return e}function Jb(){}const jy=e=>e.__isSuspense;function qy(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):rs(e)}const da=Symbol.for("v-fgt"),vs=Symbol.for("v-txt"),Gy=Symbol.for("v-cmt");let Wt=null;function Dr(e){return e?e.__v_isVNode===!0:!1}const Ky=(...e)=>Cs(...e),ys=({key:e})=>e!=null?e:null,ma=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||Ce(e)||re(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function Xy(e,t=null,n=null,a=0,r=null,u=e===da?0:1,i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ys(t),ref:t&&ma(t),scopeId:Dy,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:u,patchFlag:a,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:$e};return s?(Nr(l,n),u&128&&e.normalize(l)):n&&(l.shapeFlag|=Te(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&Z("VNode created with invalid key (NaN). VNode type:",l.type),!i&&Wt&&(l.patchFlag>0||u&6)&&l.patchFlag!==32&&Wt.push(l),l}const Ht=process.env.NODE_ENV!=="production"?Ky:Cs;function Cs(e,t=null,n=null,a=0,r=null,u=!1){if((!e||e===Oy)&&(process.env.NODE_ENV!=="production"&&!e&&Z(`Invalid vnode type when creating vnode: ${e}.`),e=Gy),Dr(e)){const s=ha(e,t,!0);return n&&Nr(s,n),!u&&Wt&&(s.shapeFlag&6?Wt[Wt.indexOf(e)]=s:Wt.push(s)),s.patchFlag=-2,s}if(Ns(e)&&(e=e.__vccOpts),t){t=Jy(t);let{class:s,style:l}=t;s&&!Te(s)&&(t.class=Za(s)),Ee(l)&&(lr(l)&&!Q(l)&&(l=Se({},l)),t.style=Qa(l))}const i=Te(e)?1:jy(e)?128:ky(e)?64:Ee(e)?4:re(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&lr(e)&&(e=U(e),Z("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`.",`
|
|
37
|
-
Component that was made reactive: `,e)),Xy(e,t,n,a,r,i,u,!0)}function Jy(e){return e?lr(e)||_s(e)?Se({},e):e:null}function ha(e,t,n=!1,a=!1){const{props:r,ref:u,patchFlag:i,children:s,transition:l}=e,o=t?Qy(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&ys(o),ref:t&&t.ref?n&&u?Q(u)?u.concat(ma(t)):[u,ma(t)]:ma(t):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&Q(s)?s.map(bs):s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==da?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ha(e.ssContent),ssFallback:e.ssFallback&&ha(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&a&&os(h,l.clone(h)),h}function bs(e){const t=ha(e);return Q(e.children)&&(t.children=e.children.map(bs)),t}function zy(e=" ",t=0){return Ht(vs,null,e,t)}function Nr(e,t){let n=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(a&65){const r=t.default;r&&(r._c&&(r._d=!1),Nr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!_s(t)?t._ctx=$e:r===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),a&64?(n=16,t=[zy(t)]):n=8);e.children=t,e.shapeFlag|=n}function Qy(...e){const t={};for(let n=0;n<e.length;n++){const a=e[n];for(const r in a)if(r==="class")t.class!==a.class&&(t.class=Za([t.class,a.class]));else if(r==="style")t.style=Qa([t.style,a.style]);else if(C5(r)){const u=t[r],i=a[r];i&&u!==i&&!(Q(u)&&u.includes(i))&&(t[r]=u?[].concat(u,i):i)}else r!==""&&(t[r]=a[r])}return t}$y();let Nt=null;const jt=()=>Nt||$e;let Sr;{const e=Bi(),t=(n,a)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(a),u=>{r.length>1?r.forEach(i=>i(u)):r[0](u)}};Sr=t("__VUE_INSTANCE_SETTERS__",n=>Nt=n),t("__VUE_SSR_SETTERS__",n=>_a=n)}const Fs=e=>{const t=Nt;return Sr(e),e.scope.on(),()=>{e.scope.off(),Sr(t)}};function Zy(e){return e.vnode.shapeFlag&4}let _a=!1;process.env.NODE_ENV;function Yy(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ly(ny(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}})):e.proxy}const eC=/(?:^|[-_])(\w)/g,tC=e=>e.replace(eC,t=>t.toUpperCase()).replace(/[-_]/g,"");function As(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function Ds(e,t,n=!1){let a=As(t);if(!a&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(a=r[1])}if(!a&&e&&e.parent){const r=u=>{for(const i in u)if(u[i]===t)return i};a=r(e.components||e.parent.type.components)||r(e.appContext.components)}return a?tC(a):n?"App":"Anonymous"}function Ns(e){return re(e)&&"__vccOpts"in e}const Ve=(e,t)=>{const n=ry(e,t,_a);if(process.env.NODE_ENV!=="production"){const a=jt();a&&a.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Ss(e,t,n){const a=arguments.length;return a===2?Ee(t)&&!Q(t)?Dr(t)?Ht(e,null,[t]):Ht(e,t):Ht(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):a===3&&Dr(n)&&(n=[n]),Ht(e,t,n))}function nC(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},a={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(f){return Ee(f)?f.__isVue?["div",e,"VueInstance"]:Ce(f)?["div",{},["span",e,h(f)],"<",s(f.value),">"]:Vt(f)?["div",{},["span",e,Ge(f)?"ShallowReactive":"Reactive"],"<",s(f),`>${qe(f)?" (readonly)":""}`]:qe(f)?["div",{},["span",e,Ge(f)?"ShallowReadonly":"Readonly"],"<",s(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...u(f.$)]}};function u(f){const m=[];f.type.props&&f.props&&m.push(i("props",U(f.props))),f.setupState!==Me&&m.push(i("setup",f.setupState)),f.data!==Me&&m.push(i("data",U(f.data)));const D=l(f,"computed");D&&m.push(i("computed",D));const S=l(f,"inject");return S&&m.push(i("injected",S)),m.push(["div",{},["span",{style:a.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),m}function i(f,m){return m=Se({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(D=>["div",{},["span",a,D+": "],s(m[D],!1)])]]:["span",{}]}function s(f,m=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",a,f]:Ee(f)?["object",{object:m?U(f):f}]:["span",n,String(f)]}function l(f,m){const D=f.type;if(re(D))return;const S={};for(const y in f.ctx)o(D,y,m)&&(S[y]=f.ctx[y]);return S}function o(f,m,D){const S=f[D];if(Q(S)&&S.includes(m)||Ee(S)&&m in S||f.extends&&o(f.extends,m,D)||f.mixins&&f.mixins.some(y=>o(y,m,D)))return!0}function h(f){return Ge(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
38
|
-
* vue v3.4.38
|
|
39
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
40
|
-
* @license MIT
|
|
41
|
-
**/function aC(){nC()}process.env.NODE_ENV!=="production"&&aC();function rC(){return Is().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Is(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const uC=typeof Proxy=="function",iC="devtools-plugin:setup",sC="plugin:settings:set";let qt,Ir;function lC(){var e;return qt!==void 0||(typeof window!="undefined"&&window.performance?(qt=!0,Ir=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(qt=!0,Ir=globalThis.perf_hooks.performance):qt=!1),qt}function oC(){return lC()?Ir.now():Date.now()}class cC{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const i in t.settings){const s=t.settings[i];a[i]=s.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let u=Object.assign({},a);try{const i=localStorage.getItem(r),s=JSON.parse(i);Object.assign(u,s)}catch(i){}this.fallbacks={getSettings(){return u},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch(s){}u=i},now(){return oC()}},n&&n.on(sC,(i,s)=>{i===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(i,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(o=>{this.targetQueue.push({method:s,args:l,resolve:o})})})}setRealTarget(t){return Ze(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 fC(e,t){const n=e,a=Is(),r=rC(),u=uC&&n.enableEarlyProxy;if(r&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!u))r.emit(iC,e,t);else{const i=u?new cC(n,r):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
42
|
-
* vue-i18n v9.14.0
|
|
43
|
-
* (c) 2024 kazuya kawaguchi
|
|
44
|
-
* Released under the MIT License.
|
|
45
|
-
*/const dC="9.14.0";function mC(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(He().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(He().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(He().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(He().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(He().__INTLIFY_PROD_DEVTOOLS__=!1)}const Bs=_e.__EXTEND_POINT__,Ke=Hn(Bs),Y={FALLBACK_TO_ROOT:Bs,NOT_SUPPORTED_PRESERVE:Ke(),NOT_SUPPORTED_FORMATTER:Ke(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Ke(),NOT_SUPPORTED_GET_CHOICE_INDEX:Ke(),COMPONENT_NAME_LEGACY_COMPATIBLE:Ke(),NOT_FOUND_PARENT_SCOPE:Ke(),IGNORE_OBJ_FLATTEN:Ke(),NOTICE_DROP_ALLOW_COMPOSITION:Ke(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Ke()},hC={[Y.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Y.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Y.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Y.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Y.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Y.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Y.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Y.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",[Y.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function be(e,...t){return an(hC[e],...t)}const Os=de.__EXTEND_POINT__,Fe=Hn(Os),W={UNEXPECTED_RETURN_TYPE:Os,INVALID_ARGUMENT:Fe(),MUST_BE_CALL_SETUP_TOP:Fe(),NOT_INSTALLED:Fe(),NOT_AVAILABLE_IN_LEGACY_MODE:Fe(),REQUIRED_VALUE:Fe(),INVALID_VALUE:Fe(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Fe(),NOT_INSTALLED_WITH_PROVIDE:Fe(),UNEXPECTED_ERROR:Fe(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Fe(),BRIDGE_SUPPORT_VUE_2_ONLY:Fe(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Fe(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Fe(),__EXTEND_POINT__:Fe()};function ce(e,...t){return Tt(e,null,process.env.NODE_ENV!=="production"?{messages:_C,args:t}:void 0)}const _C={[W.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[W.INVALID_ARGUMENT]:"Invalid argument",[W.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[W.NOT_INSTALLED]:"Need to install with `app.use` function",[W.UNEXPECTED_ERROR]:"Unexpected error",[W.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[W.REQUIRED_VALUE]:"Required in value: {0}",[W.INVALID_VALUE]:"Invalid value",[W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[W.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[W.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[W.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[W.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",[W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Br=Le("__translateVNode"),Or=Le("__datetimeParts"),Lr=Le("__numberParts"),St=Le("__enableEmitter"),_n=Le("__disableEmitter"),Ls=Le("__setPluralRules");Le("__intlifyMeta");const ws=Le("__injectWithOption"),wr=Le("__dispose");function En(e){if(!H(e))return e;for(const t in e)if(!!Wn(e,t))if(!t.includes("."))H(e[t])&&En(e[t]);else{const n=t.split("."),a=n.length-1;let r=e,u=!1;for(let i=0;i<a;i++){if(n[i]in r||(r[n[i]]={}),!H(r[n[i]])){process.env.NODE_ENV!=="production"&&oe(be(Y.IGNORE_OBJ_FLATTEN,{key:n[i]})),u=!0;break}r=r[n[i]]}u||(r[n[a]]=e[t],delete e[t]),H(r[n[a]])&&En(r[n[a]])}return e}function Ea(e,t){const{messages:n,__i18n:a,messageResolver:r,flatJson:u}=t,i=$(n)?n:z(a)?{}:{[e]:{}};if(z(a)&&a.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:o}=s;l?(i[l]=i[l]||{},qn(o,i[l])):qn(o,i)}else R(s)&&qn(JSON.parse(s),i)}),r==null&&u)for(const s in i)Wn(i,s)&&En(i[s]);return i}function Ts(e){return e.type}function Rs(e,t,n){let a=H(t.messages)?t.messages:{};"__i18nGlobal"in n&&(a=Ea(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const r=Object.keys(a);r.length&&r.forEach(u=>{e.mergeLocaleMessage(u,a[u])});{if(H(t.datetimeFormats)){const u=Object.keys(t.datetimeFormats);u.length&&u.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(H(t.numberFormats)){const u=Object.keys(t.numberFormats);u.length&&u.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function ps(e){return Ht(vs,null,e,0)}const Ps="__INTLIFY_META__",Ms=()=>[],EC=()=>!1;let $s=0;function Vs(e){return(t,n,a,r)=>e(n,a,jt()||void 0,r)}const gC=()=>{const e=jt();let t=null;return e&&(t=Ts(e)[Ps])?{[Ps]:t}:null};function Tr(e={},t){const{__root:n,__injectWithOption:a}=e,r=n===void 0,u=e.flatJson,i=Oe?kt:Yi,s=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&s&&Vu(be(Y.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let l=V(e.inheritLocale)?e.inheritLocale:!0;const o=i(n&&l?n.locale.value:R(e.locale)?e.locale:Pt),h=i(n&&l?n.fallbackLocale.value:R(e.fallbackLocale)||z(e.fallbackLocale)||$(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),f=i(Ea(o.value,e)),m=i($(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),D=i($(e.numberFormats)?e.numberFormats:{[o.value]:{}});let S=n?n.missingWarn:V(e.missingWarn)||et(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:V(e.fallbackWarn)||et(e.fallbackWarn)?e.fallbackWarn:!0,B=n?n.fallbackRoot:V(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,A=X(e.missing)?e.missing:null,_=X(e.missing)?Vs(e.missing):null,g=X(e.postTranslation)?e.postTranslation:null,N=n?n.warnHtmlMessage:V(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const v=n?n.modifiers:$(e.modifiers)?e.modifiers:{};let O=e.pluralRules||n&&n.pluralRules,w;w=(()=>{r&&ai(null);const C={version:dC,locale:o.value,fallbackLocale:h.value,messages:f.value,modifiers:v,pluralRules:O,missing:_===null?void 0:_,missingWarn:S,fallbackWarn:y,fallbackFormat:E,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:N,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=m.value,C.numberFormats=D.value,C.__datetimeFormatters=$(w)?w.__datetimeFormatters:void 0,C.__numberFormatters=$(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=$(w)?w.__v_emitter:void 0);const L=s5(C);return r&&ai(L),L})(),un(w,o.value,h.value);function ye(){return[o.value,h.value,f.value,m.value,D.value]}const k=Ve({get:()=>o.value,set:C=>{o.value=C,w.locale=o.value}}),ue=Ve({get:()=>h.value,set:C=>{h.value=C,w.fallbackLocale=h.value,un(w,o.value,C)}}),Ie=Ve(()=>f.value),Dn=Ve(()=>m.value),xe=Ve(()=>D.value);function Nn(){return X(g)?g:null}function Sn(C){g=C,w.postTranslation=C}function In(){return A}function Bn(C){C!==null&&(_=Vs(C)),A=C,w.missing=_}function On(C,L){return C!=="translate"||!L.resolvedMessage}const Be=(C,L,G,ne,ht,Ba)=>{ye();let Qt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ti(gC()),r||(w.fallbackContext=n?i5():void 0),Qt=C(w)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ti(null),r||(w.fallbackContext=void 0)}if(G!=="translate exists"&&se(Qt)&&Qt===Xn||G==="translate exists"&&!Qt){const[Ot,xb]=L();if(process.env.NODE_ENV!=="production"&&n&&R(Ot)&&On(G,xb)&&(B&&(zn(y,Ot)||ui(S,Ot))&&oe(be(Y.FALLBACK_TO_ROOT,{key:Ot,type:G})),process.env.NODE_ENV!=="production")){const{__v_emitter:pl}=w;pl&&B&&pl.emit("fallback",{type:G,key:Ot,to:"global",groupId:`${G}:${Ot}`})}return n&&B?ne(n):ht(Ot)}else{if(Ba(Qt))return Qt;throw ce(W.UNEXPECTED_RETURN_TYPE)}};function Xt(...C){return Be(L=>Reflect.apply(mi,null,[L,...C]),()=>Ka(...C),"translate",L=>Reflect.apply(L.t,L,[...C]),L=>L,L=>R(L))}function Jt(...C){const[L,G,ne]=C;if(ne&&!H(ne))throw ce(W.INVALID_ARGUMENT);return Xt(L,G,le({resolvedMessage:!0},ne||{}))}function Ln(...C){return Be(L=>Reflect.apply(vi,null,[L,...C]),()=>Xa(...C),"datetime format",L=>Reflect.apply(L.d,L,[...C]),()=>Jn,L=>R(L))}function wn(...C){return Be(L=>Reflect.apply(bi,null,[L,...C]),()=>Ja(...C),"number format",L=>Reflect.apply(L.n,L,[...C]),()=>Jn,L=>R(L))}function Tn(C){return C.map(L=>R(L)||se(L)||V(L)?ps(String(L)):L)}const Rn={normalize:Tn,interpolate:C=>C,type:"vnode"};function zt(...C){return Be(L=>{let G;const ne=L;try{ne.processor=Rn,G=Reflect.apply(mi,null,[ne,...C])}finally{ne.processor=null}return G},()=>Ka(...C),"translate",L=>L[Br](...C),L=>[ps(L)],L=>z(L))}function pn(...C){return Be(L=>Reflect.apply(bi,null,[L,...C]),()=>Ja(...C),"number format",L=>L[Lr](...C),Ms,L=>R(L)||z(L))}function Pn(...C){return Be(L=>Reflect.apply(vi,null,[L,...C]),()=>Xa(...C),"datetime format",L=>L[Or](...C),Ms,L=>R(L)||z(L))}function Mn(C){O=C,w.pluralRules=O}function T(C,L){return Be(()=>{if(!C)return!1;const G=R(L)?L:o.value,ne=Bt(G),ht=w.messageResolver(ne,C);return s?ht!=null:at(ht)||Ne(ht)||R(ht)},()=>[C],"translate exists",G=>Reflect.apply(G.te,G,[C,L]),EC,G=>V(G))}function q(C){let L=null;const G=Ku(w,h.value,o.value);for(let ne=0;ne<G.length;ne++){const ht=f.value[G[ne]]||{},Ba=w.messageResolver(ht,C);if(Ba!=null){L=Ba;break}}return L}function $n(C){const L=q(C);return L!=null?L:n?n.tm(C)||{}:{}}function Bt(C){return f.value[C]||{}}function Vn(C,L){if(u){const G={[C]:L};for(const ne in G)Wn(G,ne)&&En(G[ne]);L=G[C]}f.value[C]=L,w.messages=f.value}function Eu(C,L){f.value[C]=f.value[C]||{};const G={[C]:L};if(u)for(const ne in G)Wn(G,ne)&&En(G[ne]);L=G[C],qn(L,f.value[C]),w.messages=f.value}function c(C){return m.value[C]||{}}function d(C,L){m.value[C]=L,w.datetimeFormats=m.value,Ci(w,C,L)}function I(C,L){m.value[C]=le(m.value[C]||{},L),w.datetimeFormats=m.value,Ci(w,C,L)}function P(C){return D.value[C]||{}}function ee(C,L){D.value[C]=L,w.numberFormats=D.value,Ai(w,C,L)}function J(C,L){D.value[C]=le(D.value[C]||{},L),w.numberFormats=D.value,Ai(w,C,L)}$s++,n&&Oe&&(Ar(n.locale,C=>{l&&(o.value=C,w.locale=C,un(w,o.value,h.value))}),Ar(n.fallbackLocale,C=>{l&&(h.value=C,w.fallbackLocale=C,un(w,o.value,h.value))}));const K={id:$s,locale:k,fallbackLocale:ue,get inheritLocale(){return l},set inheritLocale(C){l=C,C&&n&&(o.value=n.locale.value,h.value=n.fallbackLocale.value,un(w,o.value,h.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Ie,get modifiers(){return v},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return S},set missingWarn(C){S=C,w.missingWarn=S},get fallbackWarn(){return y},set fallbackWarn(C){y=C,w.fallbackWarn=y},get fallbackRoot(){return B},set fallbackRoot(C){B=C},get fallbackFormat(){return E},set fallbackFormat(C){E=C,w.fallbackFormat=E},get warnHtmlMessage(){return N},set warnHtmlMessage(C){N=C,w.warnHtmlMessage=C},get escapeParameter(){return b},set escapeParameter(C){b=C,w.escapeParameter=C},t:Xt,getLocaleMessage:Bt,setLocaleMessage:Vn,mergeLocaleMessage:Eu,getPostTranslationHandler:Nn,setPostTranslationHandler:Sn,getMissingHandler:In,setMissingHandler:Bn,[Ls]:Mn};return K.datetimeFormats=Dn,K.numberFormats=xe,K.rt=Jt,K.te=T,K.tm=$n,K.d=Ln,K.n=wn,K.getDateTimeFormat=c,K.setDateTimeFormat=d,K.mergeDateTimeFormat=I,K.getNumberFormat=P,K.setNumberFormat=ee,K.mergeNumberFormat=J,K[ws]=a,K[Br]=zt,K[Or]=Pn,K[Lr]=pn,process.env.NODE_ENV!=="production"&&(K[St]=C=>{w.__v_emitter=C},K[_n]=()=>{w.__v_emitter=void 0}),K}function vC(e){const t=R(e.locale)?e.locale:Pt,n=R(e.fallbackLocale)||z(e.fallbackLocale)||$(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=X(e.missing)?e.missing:void 0,r=V(e.silentTranslationWarn)||et(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,u=V(e.silentFallbackWarn)||et(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=V(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=$(e.modifiers)?e.modifiers:{},o=e.pluralizationRules,h=X(e.postTranslation)?e.postTranslation:void 0,f=R(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,D=V(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&oe(be(Y.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&oe(be(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=e.messages;if($(e.sharedMessages)){const b=e.sharedMessages;S=Object.keys(b).reduce((O,w)=>{const j=O[w]||(O[w]={});return le(j,b[w]),O},S||{})}const{__i18n:y,__root:B,__injectWithOption:E}=e,A=e.datetimeFormats,_=e.numberFormats,g=e.flatJson,N=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:S,flatJson:g,datetimeFormats:A,numberFormats:_,missing:a,missingWarn:r,fallbackWarn:u,fallbackRoot:i,fallbackFormat:s,modifiers:l,pluralRules:o,postTranslation:h,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:D,translateExistCompatible:N,__i18n:y,__root:B,__injectWithOption:E}}function Rr(e={},t){{const n=Tr(vC(e)),{__extender:a}=e,r={id:n.id,get locale(){return n.locale.value},set locale(u){n.locale.value=u},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(u){n.fallbackLocale.value=u},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"&&oe(be(Y.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(u){process.env.NODE_ENV!=="production"&&oe(be(Y.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(u){n.setMissingHandler(u)},get silentTranslationWarn(){return V(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(u){n.missingWarn=V(u)?!u:u},get silentFallbackWarn(){return V(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(u){n.fallbackWarn=V(u)?!u:u},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(u){n.fallbackFormat=u},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(u){n.setPostTranslationHandler(u)},get sync(){return n.inheritLocale},set sync(u){n.inheritLocale=u},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(u){n.warnHtmlMessage=u!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(u){n.escapeParameter=u},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&oe(be(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(u){process.env.NODE_ENV!=="production"&&oe(be(Y.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...u){const[i,s,l]=u,o={};let h=null,f=null;if(!R(i))throw ce(W.INVALID_ARGUMENT);const m=i;return R(s)?o.locale=s:z(s)?h=s:$(s)&&(f=s),z(l)?h=l:$(l)&&(f=l),Reflect.apply(n.t,n,[m,h||f||{},o])},rt(...u){return Reflect.apply(n.rt,n,[...u])},tc(...u){const[i,s,l]=u,o={plural:1};let h=null,f=null;if(!R(i))throw ce(W.INVALID_ARGUMENT);const m=i;return R(s)?o.locale=s:se(s)?o.plural=s:z(s)?h=s:$(s)&&(f=s),R(l)?o.locale=l:z(l)?h=l:$(l)&&(f=l),Reflect.apply(n.t,n,[m,h||f||{},o])},te(u,i){return n.te(u,i)},tm(u){return n.tm(u)},getLocaleMessage(u){return n.getLocaleMessage(u)},setLocaleMessage(u,i){n.setLocaleMessage(u,i)},mergeLocaleMessage(u,i){n.mergeLocaleMessage(u,i)},d(...u){return Reflect.apply(n.d,n,[...u])},getDateTimeFormat(u){return n.getDateTimeFormat(u)},setDateTimeFormat(u,i){n.setDateTimeFormat(u,i)},mergeDateTimeFormat(u,i){n.mergeDateTimeFormat(u,i)},n(...u){return Reflect.apply(n.n,n,[...u])},getNumberFormat(u){return n.getNumberFormat(u)},setNumberFormat(u,i){n.setNumberFormat(u,i)},mergeNumberFormat(u,i){n.mergeNumberFormat(u,i)},getChoiceIndex(u,i){return process.env.NODE_ENV!=="production"&&oe(be(Y.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=a,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=u=>{const i=n;i[St]&&i[St](u)},r.__disableEmitter=()=>{const u=n;u[_n]&&u[_n]()}),r}}const pr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function yC({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((a,r)=>[...a,...r.type===da?r.children:[r]],[]):t.reduce((n,a)=>{const r=e[a];return r&&(n[a]=r()),n},{})}function ks(e){return da}const Pr=vr({name:"i18n-t",props:le({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>se(e)||!isNaN(e)}},pr),setup(e,t){const{slots:n,attrs:a}=t,r=e.i18n||kr({useScope:e.scope,__useComponent:!0});return()=>{const u=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=R(e.plural)?+e.plural:e.plural);const s=yC(t,u),l=r[Br](e.keypath,s,i),o=le({},a),h=R(e.tag)||H(e.tag)?e.tag:ks();return Ss(h,o,l)}}});function CC(e){return z(e)&&!R(e[0])}function Us(e,t,n,a){const{slots:r,attrs:u}=t;return()=>{const i={part:!0};let s={};e.locale&&(i.locale=e.locale),R(e.format)?i.key=e.format:H(e.format)&&(R(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((m,D)=>n.includes(D)?le({},m,{[D]:e.format[D]}):m,{}));const l=a(e.value,i,s);let o=[i.key];z(l)?o=l.map((m,D)=>{const S=r[m.type],y=S?S({[m.type]:m.value,index:D,parts:l}):[m.value];return CC(y)&&(y[0].key=`${m.type}-${D}`),y}):R(l)&&(o=[l]);const h=le({},u),f=R(e.tag)||H(e.tag)?e.tag:ks();return Ss(f,h,o)}}const xs=vr({name:"i18n-n",props:le({value:{type:Number,required:!0},format:{type:[String,Object]}},pr),setup(e,t){const n=e.i18n||kr({useScope:e.scope,__useComponent:!0});return Us(e,t,Fi,(...a)=>n[Lr](...a))}}),Ws=vr({name:"i18n-d",props:le({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pr),setup(e,t){const n=e.i18n||kr({useScope:e.scope,__useComponent:!0});return Us(e,t,yi,(...a)=>n[Or](...a))}});function bC(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const a=n.__getInstance(t);return a!=null?a.__composer:e.global.__composer}}function FC(e){const t=i=>{const{instance:s,modifiers:l,value:o}=i;if(!s||!s.$)throw ce(W.UNEXPECTED_ERROR);const h=bC(e,s.$);process.env.NODE_ENV!=="production"&&l.preserve&&oe(be(Y.NOT_SUPPORTED_PRESERVE));const f=Hs(o);return[Reflect.apply(h.t,h,[...js(f)]),h]};return{created:(i,s)=>{const[l,o]=t(s);Oe&&e.global===o&&(i.__i18nWatcher=Ar(o.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=o,i.textContent=l},unmounted:i=>{Oe&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const l=i.__composer,o=Hs(s);i.textContent=Reflect.apply(l.t,l,[...js(o)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function Hs(e){if(R(e))return{path:e};if($(e)){if(!("path"in e))throw ce(W.REQUIRED_VALUE,"path");return e}else throw ce(W.INVALID_VALUE)}function js(e){const{path:t,locale:n,args:a,choice:r,plural:u}=e,i={},s=a||{};return R(n)&&(i.locale=n),se(r)&&(i.plural=r),se(u)&&(i.plural=u),[t,s,i]}function AC(e,t,...n){const a=$(n[0])?n[0]:{},r=!!a.useI18nComponentName,u=V(a.globalInstall)?a.globalInstall:!0;process.env.NODE_ENV!=="production"&&u&&r&&oe(be(Y.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Pr.name})),u&&([r?"i18n":Pr.name,"I18nT"].forEach(i=>e.component(i,Pr)),[xs.name,"I18nN"].forEach(i=>e.component(i,xs)),[Ws.name,"I18nD"].forEach(i=>e.component(i,Ws))),e.directive("t",FC(t))}const Mr={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},DC={["vue-i18n-resource-inspector"]:"Search for scopes ..."},NC={["vue-i18n-timeline"]:16764185},qs="vue-i18n: composer properties";let $r;function SC(e,t){return Ze(this,null,function*(){return new Promise((n,a)=>{try{fC({id:"vue-devtools-plugin-vue-i18n",label:Mr["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:[qs],app:e},r=>{$r=r,r.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{IC(i,s,t)}),r.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.vnode.el&&i.vnode.el.__VUE_I18N__&&s&&(t.mode==="legacy"?i.vnode.el.__VUE_I18N__!==t.global.__composer&&Ks(s,i.vnode.el.__VUE_I18N__):Ks(s,i.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:Mr["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:DC["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&TC(i,t)});const u=new Map;r.on.getInspectorState(i=>Ze(this,null,function*(){if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),pC(i,t),i.nodeId==="global"){if(!u.has(i.app)){const[s]=yield r.getComponentInstances(i.app);u.set(i.app,s)}r.highlightElement(u.get(i.app))}else{const s=RC(i.nodeId,t);s&&r.highlightElement(s)}})),r.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&MC(i,t)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:Mr["vue-i18n-timeline"],color:NC["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),a(!1)}})})}function Gs(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function IC(e,t,n){const a=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==a){const r={label:`i18n (${Gs(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(r)}}function Ks(e,t){const n=qs;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:Vr(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 Vr(e){const t={};return Object.keys(e).forEach(n=>{const a=e[n];X(a)&&"source"in a?t[n]=wC(a):at(a)&&a.loc&&a.loc.source?t[n]=a.loc.source:H(a)?t[n]=Vr(a):t[n]=a}),t}const BC={"<":"<",">":">",'"':""","&":"&"};function OC(e){return e.replace(/[<>"&]/g,LC)}function LC(e){return BC[e]||e}function wC(e){const t=e.source?`("${OC(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function TC(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[a,r]of t.__instances){const u=t.mode==="composition"?r:r.__composer;n!==u&&e.rootNodes.push({id:u.id.toString(),label:`${Gs(a)} Scope`})}}function RC(e,t){let n=null;if(e!=="global"){for(const[a,r]of t.__instances.entries())if(r.id.toString()===e){n=a;break}}return n}function Xs(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function pC(e,t){const n=Xs(e.nodeId,t);return n&&(e.state=PC(n)),null}function PC(e){const t={},n="Locale related info",a=[{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]=a;const r="Locale messages info",u=[{type:r,key:"messages",editable:!1,value:Vr(e.messages.value)}];t[r]=u;{const i="Datetime formats info",s=[{type:i,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[i]=s;const l="Datetime formats info",o=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=o}return t}function gn(e,t){if($r){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),$r.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 MC(e,t){const n=Xs(e.nodeId,t);if(n){const[a]=e.path;a==="locale"&&R(e.state.value)?n.locale.value=e.state.value:a==="fallbackLocale"&&(R(e.state.value)||z(e.state.value)||H(e.state.value))?n.fallbackLocale.value=e.state.value:a==="inheritLocale"&&V(e.state.value)&&(n.inheritLocale=e.state.value)}}function $C(e,t,n){return{beforeCreate(){const a=jt();if(!a)throw ce(W.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const u=r.i18n;if(r.__i18n&&(u.__i18n=r.__i18n),u.__root=t,this===this.$root)this.$i18n=Js(e,u);else{u.__injectWithOption=!0,u.__extender=n.__vueI18nExtend,this.$i18n=Rr(u);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Js(e,r);else{this.$i18n=Rr({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&Rs(t,r,r),this.$t=(...u)=>this.$i18n.t(...u),this.$rt=(...u)=>this.$i18n.rt(...u),this.$tc=(...u)=>this.$i18n.tc(...u),this.$te=(u,i)=>this.$i18n.te(u,i),this.$d=(...u)=>this.$i18n.d(...u),this.$n=(...u)=>this.$i18n.n(...u),this.$tm=u=>this.$i18n.tm(u),n.__setInstance(a,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const a=this.$i18n;this.$el.__VUE_I18N__=a.__composer;const r=this.__v_emitter=Ua();a.__enableEmitter&&a.__enableEmitter(r),r.on("*",gn)}},unmounted(){const a=jt();if(!a)throw ce(W.UNEXPECTED_ERROR);const r=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",gn),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__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,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(a),delete this.$i18n}}}function Js(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[Ls](t.pluralizationRules||e.pluralizationRules);const n=Ea(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(a=>e.mergeLocaleMessage(a,n[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}const VC=Le("global-vue-i18n");function kC(e={},t){const n=__VUE_I18N_LEGACY_API__&&V(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,a=V(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,u=new Map,[i,s]=UC(e,n),l=Le(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&r&&oe(be(Y.NOTICE_DROP_ALLOW_COMPOSITION));function o(m){return u.get(m)||null}function h(m,D){u.set(m,D)}function f(m){u.delete(m)}{let D;const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},install(S,...y){return Ze(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=m),S.__VUE_I18N_SYMBOL__=l,S.provide(S.__VUE_I18N_SYMBOL__,m),$(y[0])){const A=y[0];m.__composerExtend=A.__composerExtend,m.__vueI18nExtend=A.__vueI18nExtend}let B=null;!n&&a&&(B=JC(S,m.global)),__VUE_I18N_FULL_INSTALL__&&AC(S,m,...y),__VUE_I18N_LEGACY_API__&&n&&S.mixin($C(s,s.__composer,m));const E=S.unmount;if(S.unmount=()=>{B&&B(),m.dispose(),E()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield SC(S,m)))throw ce(W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const _=Ua();if(n){const g=s;g.__enableEmitter&&g.__enableEmitter(_)}else{const g=s;g[St]&&g[St](_)}_.on("*",gn)}})},get global(){return s},dispose(){i.stop()},__instances:u,__getInstance:o,__setInstance:h,__deleteInstance:f};return m}}function kr(e={}){const t=jt();if(t==null)throw ce(W.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ce(W.NOT_INSTALLED);const n=xC(t),a=HC(n),r=Ts(t),u=WC(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw ce(W.NOT_AVAILABLE_IN_LEGACY_MODE);return KC(t,u,a,e)}if(u==="global")return Rs(a,e,r),a;if(u==="parent"){let l=jC(n,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&oe(be(Y.NOT_FOUND_PARENT_SCOPE)),l=a),l}const i=n;let s=i.__getInstance(t);if(s==null){const l=le({},e);"__i18n"in r&&(l.__i18n=r.__i18n),a&&(l.__root=a),s=Tr(l),i.__composerExtend&&(s[wr]=i.__composerExtend(s)),GC(i,t,s),i.__setInstance(t,s)}return s}function UC(e,t,n){const a=p5();{const r=__VUE_I18N_LEGACY_API__&&t?a.run(()=>Rr(e)):a.run(()=>Tr(e));if(r==null)throw ce(W.UNEXPECTED_ERROR);return[a,r]}}function xC(e){{const t=hs(e.isCE?VC:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ce(e.isCE?W.NOT_INSTALLED_WITH_PROVIDE:W.UNEXPECTED_ERROR);return t}}function WC(e,t){return xn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function HC(e){return e.mode==="composition"?e.global:e.global.__composer}function jC(e,t,n=!1){let a=null;const r=t.root;let u=qC(t,n);for(;u!=null;){const i=e;if(e.mode==="composition")a=i.__getInstance(u);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(u);s!=null&&(a=s.__composer,n&&a&&!a[ws]&&(a=null))}if(a!=null||r===u)break;u=u.parent}return a}function qC(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function GC(e,t,n){let a=null;Iy(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,a=Ua();const r=n;r[St]&&r[St](a),a.on("*",gn)}},t),By(()=>{const r=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(a&&a.off("*",gn),r[_n]&&r[_n](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const u=r[wr];u&&(u(),delete r[wr])},t)}function KC(e,t,n,a={}){const r=t==="local",u=Yi(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw ce(W.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=V(a.inheritLocale)?a.inheritLocale:!R(a.locale),s=kt(!r||i?n.locale.value:R(a.locale)?a.locale:Pt),l=kt(!r||i?n.fallbackLocale.value:R(a.fallbackLocale)||z(a.fallbackLocale)||$(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:s.value),o=kt(Ea(s.value,a)),h=kt($(a.datetimeFormats)?a.datetimeFormats:{[s.value]:{}}),f=kt($(a.numberFormats)?a.numberFormats:{[s.value]:{}}),m=r?n.missingWarn:V(a.missingWarn)||et(a.missingWarn)?a.missingWarn:!0,D=r?n.fallbackWarn:V(a.fallbackWarn)||et(a.fallbackWarn)?a.fallbackWarn:!0,S=r?n.fallbackRoot:V(a.fallbackRoot)?a.fallbackRoot:!0,y=!!a.fallbackFormat,B=X(a.missing)?a.missing:null,E=X(a.postTranslation)?a.postTranslation:null,A=r?n.warnHtmlMessage:V(a.warnHtmlMessage)?a.warnHtmlMessage:!0,_=!!a.escapeParameter,g=r?n.modifiers:$(a.modifiers)?a.modifiers:{},N=a.pluralRules||r&&n.pluralRules;function b(){return[s.value,l.value,o.value,h.value,f.value]}const v=Ve({get:()=>u.value?u.value.locale.value:s.value,set:T=>{u.value&&(u.value.locale.value=T),s.value=T}}),O=Ve({get:()=>u.value?u.value.fallbackLocale.value:l.value,set:T=>{u.value&&(u.value.fallbackLocale.value=T),l.value=T}}),w=Ve(()=>u.value?u.value.messages.value:o.value),j=Ve(()=>h.value),ye=Ve(()=>f.value);function k(){return u.value?u.value.getPostTranslationHandler():E}function ue(T){u.value&&u.value.setPostTranslationHandler(T)}function Ie(){return u.value?u.value.getMissingHandler():B}function Dn(T){u.value&&u.value.setMissingHandler(T)}function xe(T){return b(),T()}function Nn(...T){return u.value?xe(()=>Reflect.apply(u.value.t,null,[...T])):xe(()=>"")}function Sn(...T){return u.value?Reflect.apply(u.value.rt,null,[...T]):""}function In(...T){return u.value?xe(()=>Reflect.apply(u.value.d,null,[...T])):xe(()=>"")}function Bn(...T){return u.value?xe(()=>Reflect.apply(u.value.n,null,[...T])):xe(()=>"")}function On(T){return u.value?u.value.tm(T):{}}function Be(T,q){return u.value?u.value.te(T,q):!1}function Xt(T){return u.value?u.value.getLocaleMessage(T):{}}function Jt(T,q){u.value&&(u.value.setLocaleMessage(T,q),o.value[T]=q)}function Ln(T,q){u.value&&u.value.mergeLocaleMessage(T,q)}function wn(T){return u.value?u.value.getDateTimeFormat(T):{}}function Tn(T,q){u.value&&(u.value.setDateTimeFormat(T,q),h.value[T]=q)}function Ia(T,q){u.value&&u.value.mergeDateTimeFormat(T,q)}function Rn(T){return u.value?u.value.getNumberFormat(T):{}}function zt(T,q){u.value&&(u.value.setNumberFormat(T,q),f.value[T]=q)}function pn(T,q){u.value&&u.value.mergeNumberFormat(T,q)}const Pn={get id(){return u.value?u.value.id:-1},locale:v,fallbackLocale:O,messages:w,datetimeFormats:j,numberFormats:ye,get inheritLocale(){return u.value?u.value.inheritLocale:i},set inheritLocale(T){u.value&&(u.value.inheritLocale=T)},get availableLocales(){return u.value?u.value.availableLocales:Object.keys(o.value)},get modifiers(){return u.value?u.value.modifiers:g},get pluralRules(){return u.value?u.value.pluralRules:N},get isGlobal(){return u.value?u.value.isGlobal:!1},get missingWarn(){return u.value?u.value.missingWarn:m},set missingWarn(T){u.value&&(u.value.missingWarn=T)},get fallbackWarn(){return u.value?u.value.fallbackWarn:D},set fallbackWarn(T){u.value&&(u.value.missingWarn=T)},get fallbackRoot(){return u.value?u.value.fallbackRoot:S},set fallbackRoot(T){u.value&&(u.value.fallbackRoot=T)},get fallbackFormat(){return u.value?u.value.fallbackFormat:y},set fallbackFormat(T){u.value&&(u.value.fallbackFormat=T)},get warnHtmlMessage(){return u.value?u.value.warnHtmlMessage:A},set warnHtmlMessage(T){u.value&&(u.value.warnHtmlMessage=T)},get escapeParameter(){return u.value?u.value.escapeParameter:_},set escapeParameter(T){u.value&&(u.value.escapeParameter=T)},t:Nn,getPostTranslationHandler:k,setPostTranslationHandler:ue,getMissingHandler:Ie,setMissingHandler:Dn,rt:Sn,d:In,n:Bn,tm:On,te:Be,getLocaleMessage:Xt,setLocaleMessage:Jt,mergeLocaleMessage:Ln,getDateTimeFormat:wn,setDateTimeFormat:Tn,mergeDateTimeFormat:Ia,getNumberFormat:Rn,setNumberFormat:zt,mergeNumberFormat:pn};function Mn(T){T.locale.value=s.value,T.fallbackLocale.value=l.value,Object.keys(o.value).forEach(q=>{T.mergeLocaleMessage(q,o.value[q])}),Object.keys(h.value).forEach(q=>{T.mergeDateTimeFormat(q,h.value[q])}),Object.keys(f.value).forEach(q=>{T.mergeNumberFormat(q,f.value[q])}),T.escapeParameter=_,T.fallbackFormat=y,T.fallbackRoot=S,T.fallbackWarn=D,T.missingWarn=m,T.warnHtmlMessage=A}return Sy(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw ce(W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const T=u.value=e.proxy.$i18n.__composer;t==="global"?(s.value=T.locale.value,l.value=T.fallbackLocale.value,o.value=T.messages.value,h.value=T.datetimeFormats.value,f.value=T.numberFormats.value):r&&Mn(T)}),Pn}const XC=["locale","fallbackLocale","availableLocales"],zs=["t","rt","d","n","tm","te"];function JC(e,t){const n=Object.create(null);return XC.forEach(r=>{const u=Object.getOwnPropertyDescriptor(t,r);if(!u)throw ce(W.UNEXPECTED_ERROR);const i=Ce(u.value)?{get(){return u.value.value},set(s){u.value.value=s}}:{get(){return u.get&&u.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,zs.forEach(r=>{const u=Object.getOwnPropertyDescriptor(t,r);if(!u||!u.value)throw ce(W.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,u)}),()=>{delete e.config.globalProperties.$i18n,zs.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(mC(),__INTLIFY_JIT_COMPILATION__?Qu(d5):Qu(f5),a5($v),r5(Ku),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=He();e.__INTLIFY__=!0,Gv(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const zC=(e,t)=>{var i;const n=e.split(".");let a;const r=((i=window.baitedaWorkers)==null?void 0:i.languageMessages)||{};n.forEach((s,l)=>{l===0?a=r[s]:a&&(a=a[s])});let u="";return a&&(u=a),t&&Object.keys(t).forEach(s=>{const l=t[s];u=u.replace(new RegExp(`\\{\\s*${s}\\s*\\}`),l)}),u||(u=e),u};function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ZC(e,t,n){return t&&Qs(e.prototype,t),n&&Qs(e,n),e}function YC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){function e(){QC(this,e)}return ZC(e,null,[{key:"getMessage",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return(r=zC("engine."+n))!==null&&r!==void 0?r:this.$i18n.global.t(n,a)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tg;return kC({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,a){var r=a;a||(r=wg.zhCN),this.$i18n.global.setLocaleMessage(n,r)}}]),e}();YC(p,"$i18n",p.resetI18n());function e3(e,t,n){var a=t.replace(/\[(\d)]/g,function(u,i){return"."+i}).split("."),r=!1;return a.reduce(function(u,i,s,l){var o=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,i)){Ma("Can not set ".concat(t,"'s ").concat(i," property in current %o, Because there is no ").concat(i," property on the %o"),u,u);return}return s===l.length-1&&!Object.is(o[i],n)&&(o[i]=n,r=!0),o[i]}},e),r}var t3=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},n3={exports:{}};(function(e){(function(t){var n=function(E,A,_){if(!o(A)||f(A)||m(A)||D(A)||l(A))return A;var g,N=0,b=0;if(h(A))for(g=[],b=A.length;N<b;N++)g.push(n(E,A[N],_));else{g={};for(var v in A)Object.prototype.hasOwnProperty.call(A,v)&&(g[E(v,_)]=n(E,A[v],_))}return g},a=function(E,A){A=A||{};var _=A.separator||"_",g=A.split||/(?=[A-Z])/;return E.split(g).join(_)},r=function(E){return S(E)?E:(E=E.replace(/[\-_\s]+(.)?/g,function(A,_){return _?_.toUpperCase():""}),E.substr(0,1).toLowerCase()+E.substr(1))},u=function(E){var A=r(E);return A.substr(0,1).toUpperCase()+A.substr(1)},i=function(E,A){return a(E,A).toLowerCase()},s=Object.prototype.toString,l=function(E){return typeof E=="function"},o=function(E){return E===Object(E)},h=function(E){return s.call(E)=="[object Array]"},f=function(E){return s.call(E)=="[object Date]"},m=function(E){return s.call(E)=="[object RegExp]"},D=function(E){return s.call(E)=="[object Boolean]"},S=function(E){return E=E-0,E===E},y=function(E,A){var _=A&&"process"in A?A.process:A;return typeof _!="function"?E:function(g,N){return _(g,E,N)}},B={camelize:r,decamelize:i,pascalize:u,depascalize:i,camelizeKeys:function(E,A){return n(y(r,A),E)},decamelizeKeys:function(E,A){return n(y(i,A),E,A)},pascalizeKeys:function(E,A){return n(y(u,A),E)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=B:t.humps=B})(t3)})(n3);var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});function Ur(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ur(t));{const t={};for(const n in e){const a=e[n];t[n]=typeof a!="object"||a===null?a:Ur(a)}return t}}var a3=Zs.default=Ur;function r3(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xe(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":r3(e))==="object"?a3(e):e}function u3(e){return Object.prototype.toString.call(e)==="[object Object]"}function i3(e){return Array.isArray(e)}function s3(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function xr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function l3(e){if(Array.isArray(e))return xr(e)}function Ys(e,t,n,a,r,u,i){try{var s=e[u](i),l=s.value}catch(o){n(o);return}s.done?t(l):Promise.resolve(l).then(a,r)}function o3(e){return function(){var t=this,n=arguments;return new Promise(function(a,r){var u=e.apply(t,n);function i(l){Ys(u,a,r,i,s,"next",l)}function s(l){Ys(u,a,r,i,s,"throw",l)}i(void 0)})}}function c3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function el(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function f3(e,t,n){return t&&el(e.prototype,t),n&&el(e,n),e}function tl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function m3(){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 Wr(e){return l3(e)||d3(e)||h3(e)||m3()}function h3(e,t){if(!!e){if(typeof e=="string")return xr(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 xr(e,t)}}function _3(e,t){var n,a,r,u,i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(o){return function(h){return l([o,h])}}function l(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,a&&(r=o[0]&2?a.return:o[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;switch(a=0,r&&(o=[o[0]&2,r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1],r=o;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(o);break}r[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(h){o=[6,h],a=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var E3=function(){function e(){c3(this,e),tl(this,"_events",new Map),tl(this,"debug",!1)}return f3(e,[{key:"emit",value:function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),u=1;u<a;u++)r[u-1]=arguments[u];var i=this;return o3(function(){var s,l,o,h,f,m,D,S,y,B,E,A;return _3(this,function(_){switch(_.label){case 0:if(s=i._events.get(n),l=[],!s)return[3,10];o=s.slice(),h=!0,f=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),D=o[Symbol.iterator](),_.label=2;case 2:if(h=(S=D.next()).done)return[3,7];if(y=S.value,!s.includes(y))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),i.debug&&Lu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Wr(r))),[4,y.apply(null,Wr(r))];case 4:return B=_.sent(),i.debug&&Lu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Wr(r),[B])),l.push(B),B===!1?[3,7]:[3,6];case 5:return E=_.sent(),jg(String(E)+":"+String(E.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return A=_.sent(),f=!0,m=A,[3,10];case 9:try{!h&&D.return!=null&&D.return()}finally{if(f)throw m}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(n,a){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(a)}else this._events.set(n,[a])}},{key:"off",value:function(n,a){if(this._events.has(n)){var r=this._events.get(n),u=r==null?void 0:r.indexOf(a);r==null||r.splice(u,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function g3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function v3(e,t,n){return t&&nl(e.prototype,t),n&&nl(e,n),e}function y3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C3=[{key:"on_click",name:p.getMessage("click"),code:"click"},{key:"on_click_finish",name:p.getMessage("finished"),code:"click-finish"},{key:"on_change",name:p.getMessage("valueChange"),code:"change"},{key:"on_search",name:p.getMessage("search"),code:"search"},{key:"on_list_change",name:p.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:p.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:p.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:p.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:p.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:p.getMessage("onInput"),code:"input"},{key:"on_blur",name:p.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:p.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:p.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:p.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:p.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:p.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:p.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:p.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:p.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:p.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:p.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:p.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:p.getMessage("modalConfirm"),code:"modal-ok"}],b3=function(){function e(){g3(this,e)}return v3(e,null,[{key:"getEventsFromKeys",value:function(n){var a=typeof n=="string"?[n]:n;return e.events.filter(function(r){return a.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var a=[],r=n.eventKeys;a=a.concat(e.events.filter(function(i){return r.includes(i.key)}));var u=n.customEvents.map(function(i){var s=i.key;return i.namespace!==void 0&&i.namespace!==null&&i.namespace!==""&&(s=i.namespace+":"+i.key),{key:s,code:i.key,name:i.name}});return a=a.concat(u),a}}]),e}();y3(b3,"events",C3);function ga(e,t){var n;(n=Object.getOwnPropertyDescriptors(e)[t])!=null&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Hr(e,t,n){n!=="Runtime"&&(e.parent=t,ga(e,"parent"))}function al(e,t,n){e.forEach(a=>{Hr(a,t,n)})}const rl=Symbol("targetKey");function ul(e){var t;return(t=e[rl])!=null?t:e}function il(e,t,n){return al(e,t,n),new Proxy(e,{get(a,r,...u){return r===rl?a:Reflect.get(a,r,...u)},set(a,r,u,...i){if(i3(e)&&r==="length"&&u===e.length)return!0;const s=Reflect.set(a,r,u,...i);return u3(u)&&Hr(u,t,n),s}})}function dt(e,t,n,a,r){const u=a!=null?a:e;let i=il(ul(n!=null?n:[]),u,r);Object.defineProperty(e,t,{get(){return i},set(s){i=il(ul(s),u,r)},enumerable:!0})}const sl=[],jr=class{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}static staticGetRules(e,t){const n=jr.staticControlsRuntimeRules.get(e);let a=[];if(n){const r=new n(t);a=Array.from(r)}return a}registerControlConfig(e,t){return this.controlConfigMap.set(e,t),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e,t){const{Designer:n,Runtime:a,Property:r}=e;(!n||!a||!n.__is_control__||!a.__is_control__)&&Va(`${e} is can't register as a Control`);const u=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return u>-1&&(Ma(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(u,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),r.mode=t,this}getControls(){return this._controls}register(e){e.__is_control__||Va(`${e.name} is not a Control`);const t=this._controls.findIndex(n=>n.controlType===e.controlType);return t>-1&&(Ma(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(t,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===wt.LAYOUT}isFormControl(e){return e.controlType===wt.FORM}isListControl(e){return e.controlType===wt.LIST}isColumnControl(e){return e.controlType===wt.COLUMN}createControl(e,t){if(Array.isArray(e))return e.map(a=>this.createControl(a,t));if(e.children&&(e.children=e.children.map(a=>this.createControl(a,t))),this.isListControl(e)){const a=e.props;a.headers&&(a.headers=a.headers.map(r=>this.createControl(r,t)))}const n=this.getControlFormType(e.type);if(n){let a=e;if(typeof t=="function"){const u=t(a);u&&(a=u)}let r;return n.mode==="Runtime"?(r=a,r.fieldType=n.controlFieldType,this._setParentPrototypeToSchema(r,this)):r=new n(a),r}else Va(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}resetInstanceParent(e,t){delete e.parent,Object.defineProperty(e,"parent",{configurable:!0,get(){return t}}),ga(e,"parent")}_setParentPrototypeToSchema(e,t){t._type==="Runtime"&&(Object.defineProperty(e,"parent",{configurable:!0,get(){const n=e.id,a=t._controlParentIdMap,r=t.instanceMap;if(!a||!r)return;const u=a[n],i=r[n];if(!u&&!i)return;const s=i.findIndex(h=>h==e),l=r[u]||[];let o;return l.length!==i.length?o=l[0]:o=l[s],o}}),ga(e,"parent"))}createControlInstance(e,t){const n=this.getControlFormType(e);if(n)return new n(t)}getControlFormType(e){return this._controls.find(t=>t.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(t=>{this.register(t[e]),jr.staticControlsRuntimeRules.set(t.Runtime.controlType,t.Property.RuntimeRules),t.Property.mode=e})}};let vn=jr;vn.staticControlsRuntimeRules=new Map,vn.staticControls=sl,vn.staticRegisteredTypes=new Set(sl.map(e=>e.Designer.controlType)),vn.staticRegisteredConfigs=new Map;class ke{constructor(t){var n,a,r;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.fieldCode=(a=t==null?void 0:t.fieldCode)!=null?a:"",this.fieldType=(r=t==null?void 0:t.fieldType)!=null?r:"",this.aliasCode=t==null?void 0:t.aliasCode}}class qr{constructor(t){var n,a;this.minWidth=(n=t==null?void 0:t.minWidth)!=null?n:150,this.maxWidth=t==null?void 0:t.maxWidth,this.flex=(a=t==null?void 0:t.flex)!=null?a:1}}class Gr{constructor(t){var n,a,r,u;this.rowHeightType=(n=t==null?void 0:t.rowHeightType)!=null?n:"fixed",this.minRows=(a=t==null?void 0:t.minRows)!=null?a:4,this.maxRows=(r=t==null?void 0:t.maxRows)!=null?r:20,this.fiexdRow=(u=t==null?void 0:t.fiexdRow)!=null?u:4}}class F3{constructor(t){this.pc=new Gr(t==null?void 0:t.pc),this.mobile=new Gr(t==null?void 0:t.mobile)}}class va extends qr{constructor(t){var n,a;super(t),this.width=(n=t==null?void 0:t.width)!=null?n:240,this.widthType=(a=t==null?void 0:t.widthType)!=null?a:"auto"}}class A3{constructor(t){this.pc=new va(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new va(t==null?void 0:t.mobile):new va({width:130,minWidth:180})}}class D3{constructor(t){var n,a;this.type=(n=t==null?void 0:t.type)!=null?n:"firstThree",this.customOptions=(a=t==null?void 0:t.customOptions)!=null?a:[]}}class ya{constructor(t){var n,a,r;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.formKey=(a=t==null?void 0:t.formKey)!=null?a:"",this.appId=(r=t==null?void 0:t.appId)!=null?r:""}}class N3 extends ya{constructor(t){var n;super(t),this.primaryControlId=(n=t==null?void 0:t.primaryControlId)!=null?n:""}}class ll{constructor(t){var n,a;this.fieldCode=(n=t==null?void 0:t.fieldCode)!=null?n:"",this.dataCode=(a=t==null?void 0:t.dataCode)!=null?a:""}}class S3{constructor(t){var n,a,r,u;this.appId=(n=t==null?void 0:t.appId)!=null?n:"",this.formKey=(a=t==null?void 0:t.formKey)!=null?a:"",this.headers=(u=(r=t==null?void 0:t.headers)==null?void 0:r.map(i=>new ll(i)))!=null?u:[]}}class ol{constructor(t){var n,a,r;this.fieldName=(n=t==null?void 0:t.fieldName)!=null?n:"",this.fieldCode=(a=t==null?void 0:t.fieldCode)!=null?a:"",this.fieldType=(r=t==null?void 0:t.fieldType)!=null?r:en.VARCHAR}}class cl extends ya{constructor(t){var n,a,r,u;super(t),this.title=(n=t==null?void 0:t.title)!=null?n:"",this.svcCode=(a=t==null?void 0:t.svcCode)!=null?a:"",this.isOpenFilter=(r=t==null?void 0:t.isOpenFilter)!=null?r:!1,this.filters=(u=t==null?void 0:t.filters)!=null?u:[]}}class I3{constructor(t){var n,a,r,u;this.type="sublist-page",this.formBind=new ya(t==null?void 0:t.formBind),this.displayFields=(a=(n=t==null?void 0:t.displayFields)==null?void 0:n.map(i=>new ol(i)))!=null?a:[],this.sublists=(u=(r=t==null?void 0:t.sublists)==null?void 0:r.map(i=>new cl(i)))!=null?u:[]}}class fl{constructor(t){this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode}}class Kr{constructor(t){var n,a,r;this.type=(n=t==null?void 0:t.type)!=null?n:"custom",this.value=(a=t==null?void 0:t.value)!=null?a:[],this.displayBos=(r=t==null?void 0:t.displayBos)!=null?r:[]}}class Gt{constructor(t){var n,a,r,u;this.type="conditions",this.id=(n=t==null?void 0:t.id)!=null?n:Ye(),this.ruleId=(a=t==null?void 0:t.ruleId)!=null?a:new Date().valueOf(),this.level=(r=t==null?void 0:t.level)!=null?r:0,this.value=(u=t==null?void 0:t.value)!=null?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(i=>{var s,l;if(i.children!==void 0){const o=new Gt(i);(s=this.children)==null||s.push(o)}else{const o=new yn(i);(l=this.children)==null||l.push(o)}}))}}class yn{constructor(t){var n,a,r,u,i;this.type="condition",this.id=(n=t==null?void 0:t.id)!=null?n:Ye(),this.ruleId=(a=t==null?void 0:t.ruleId)!=null?a:new Date().valueOf(),this.symbol=(r=t==null?void 0:t.symbol)!=null?r:"",this.checked=(u=t==null?void 0:t.checked)!=null?u:!1,this.describe=(i=t==null?void 0:t.describe)!=null?i:"",this.leftVariableBo=new fl(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Kr(t==null?void 0:t.rightVariableBo)}}class B3{constructor(t){var n,a;this.aliasCode=(n=t==null?void 0:t.aliasCode)!=null?n:"",this.datasourceBind=new Ca(t==null?void 0:t.datasourceBind),this.relationFields=(a=t==null?void 0:t.relationFields)!=null?a:[]}}class dl{constructor(t){var n,a,r,u;this.controlId=(n=t==null?void 0:t.controlId)!=null?n:"",this.fieldCode=(a=t==null?void 0:t.fieldCode)!=null?a:"",this.fieldType=(r=t==null?void 0:t.fieldType)!=null?r:"",this.propName=(u=t==null?void 0:t.propName)!=null?u:""}}class Xr{constructor(t){var n,a;this.type=(n=t==null?void 0:t.type)!=null?n:"FIELD",this.value=(a=t==null?void 0:t.value)!=null?a:"",this.fieldType=t==null?void 0:t.fieldType}}class O3{constructor(t){var n,a;this.title=(n=t==null?void 0:t.title)!=null?n:"",this.displayBoList=(a=t==null?void 0:t.displayBoList)!=null?a:[]}}class Jr{constructor(t){var n,a;this.columnName=(n=t.columnName)!=null?n:"",this.desc=(a=t.desc)!=null?a:!1}}class ml{constructor(t){var n,a,r;this.code=(n=t.code)!=null?n:"",this.value=(a=t.value)!=null?a:"",this.field_type=(r=t.field_type)!=null?r:en.ANY}}class L3{constructor(t){var n,a,r,u,i,s,l;this.id=(n=t.id)!=null?n:"",this.limit=(a=t.limit)!=null?a:20,this.formKey=(r=t.formKey)!=null?r:"",this.orders=(i=(u=t.orders)==null?void 0:u.map(o=>new Jr(o)))!=null?i:[],this.dataSet=(l=(s=t.dataSet)==null?void 0:s.map(o=>new ml(o)))!=null?l:[]}}function zr(e){var t,n,a,r,u,i;this.filters=(n=(t=e==null?void 0:e.filters)==null?void 0:t.map(s=>s.children!==void 0?new Gt(s):new yn(s)))!=null?n:[],this.viewFilters=(r=(a=e==null?void 0:e.viewFilters)==null?void 0:a.map(s=>s.children!==void 0?new Gt(s):new yn(s)))!=null?r:[],this.orders=(i=(u=e==null?void 0:e.orders)==null?void 0:u.map(s=>new Jr(s)))!=null?i:[]}class Ca{constructor(t){var n,a,r,u,i,s,l;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.appId=(a=t==null?void 0:t.appId)!=null?a:"",this.valueFieldCode=(r=t==null?void 0:t.valueFieldCode)!=null?r:"",this.displayBoList=[],this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!=null?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(o=>{var h;(h=this.displayBoList)==null||h.push(new Xr(o))})),this.keywordMapping=(i=t==null?void 0:t.keywordMapping)!=null?i:"",this.showOrder=(s=t==null?void 0:t.showOrder)!=null?s:!0,this.svcCode=(l=t==null?void 0:t.svcCode)!=null?l:"",zr.call(this,t)}}class w3{constructor(t){var n,a;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.displayBoList=(a=t==null?void 0:t.displayBoList)!=null?a:[]}}class T3{constructor(t){var n,a,r,u,i,s,l,o,h,f;this.code=(n=t==null?void 0:t.code)!=null?n:"view",this.color=(a=t==null?void 0:t.color)!=null?a:"primary",this.command=(r=t==null?void 0:t.command)!=null?r:"view",this.confirmMessage=(u=t==null?void 0:t.confirmMessage)!=null?u:void 0,this.defaultState=(i=t==null?void 0:t.defaultState)!=null?i:"default",this.formKey=(s=t==null?void 0:t.formKey)!=null?s:void 0,this.formType=t==null?void 0:t.formType,this.icon=(l=t==null?void 0:t.icon)!=null?l:"iconliulan1",this.needConfirm=(o=t==null?void 0:t.needConfirm)!=null?o:!1,this.openType=(h=t==null?void 0:t.openType)!=null?h:"modal",this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!=null?f:!0}}class Qr{constructor(t){var n,a,r,u;this.name=(n=t==null?void 0:t.name)!=null?n:"",this.key=(a=t==null?void 0:t.key)!=null?a:"",this.value=(u=(r=t==null?void 0:t.value)==null?void 0:r.map(i=>new Xr(i)))!=null?u:[]}}class hl extends Ca{constructor(t){var n,a;super(t),this.attributes=(a=(n=t==null?void 0:t.attributes)==null?void 0:n.map(r=>new Qr(r)))!=null?a:[]}}class R3 extends Ca{constructor(t){var n,a,r;super(t),this.attributes=(a=(n=t==null?void 0:t.attributes)==null?void 0:n.map(u=>new Qr(u)))!=null?a:[],this.formCode=(r=t==null?void 0:t.formCode)!=null?r:""}}class p3 extends hl{constructor(t){var n;super(t),this.rootNode=new Kr(t==null?void 0:t.rootNode),this.filterCode=(n=t==null?void 0:t.filterCode)!=null?n:""}}class _l{constructor(t){var n,a,r,u;this.dataCode=(n=t==null?void 0:t.dataCode)!=null?n:"",this.appId=(a=t==null?void 0:t.appId)!=null?a:"",this.fillList=(u=(r=t==null?void 0:t.fillList)==null?void 0:r.map(i=>new dl(i)))!=null?u:[]}}class P3 extends _l{constructor(t){super(t),zr.call(this,t)}}class M3 extends _l{constructor(t){var n,a;super(t),this.mode=(n=t==null?void 0:t.mode)!=null?n:"current",this.multiple=(a=t==null?void 0:t.multiple)!=null?a:!1}}class $3{constructor(t){var n,a,r;this.zh=(n=t==null?void 0:t.zh)!=null?n:"",this.en=(a=t==null?void 0:t.en)!=null?a:"",this.ja=(r=t==null?void 0:t.ja)!=null?r:""}}class V3{constructor(t){var n,a,r;this.stencilName=(n=t==null?void 0:t.stencilName)!=null?n:"",this.expression=(a=t==null?void 0:t.expression)!=null?a:"",this.errMessage=(r=t==null?void 0:t.errMessage)!=null?r:""}}class Zr{constructor(t){var n,a,r;this.id=(n=t==null?void 0:t.id)!=null?n:Ye(8),this.label=(a=t==null?void 0:t.label)!=null?a:"",this.value=(r=t==null?void 0:t.value)!=null?r:this.label}}class El extends Zr{constructor(t){var n,a;super(t),this.image=(n=t==null?void 0:t.image)!=null?n:"",this.type=(a=t==null?void 0:t.type)!=null?a:"src"}}function k3(e){var t;return(t=e==null?void 0:e.map(n=>new Zr(n)))!=null?t:[]}function U3(e){var t;return(t=e==null?void 0:e.map(n=>new El(n)))!=null?t:[]}class ba{}class x3 extends ba{constructor(t){super(),this.amount=new ke(t==null?void 0:t.amount),this.currency=new ke(t==null?void 0:t.currency)}}class W3{constructor(t){var n,a;this.amount=(n=t==null?void 0:t.amount)!=null?n:"",this.currency=(a=t==null?void 0:t.currency)!=null?a:Yr.CNY}}class H3 extends ba{constructor(t){super(),this.min=new ke(t==null?void 0:t.min),this.max=new ke(t==null?void 0:t.max)}}class j3{constructor(t){var n,a;this.min=(n=t==null?void 0:t.min)!=null?n:"",this.max=(a=t==null?void 0:t.max)!=null?a:""}}class q3{constructor(t){var n,a,r,u,i,s;this.city=(n=t==null?void 0:t.city)!=null?n:"",this.cityDisplay=(a=t==null?void 0:t.cityDisplay)!=null?a:"",this.district=(r=t==null?void 0:t.district)!=null?r:"",this.districtDisplay=(u=t==null?void 0:t.districtDisplay)!=null?u:"",this.province=(i=t==null?void 0:t.province)!=null?i:"",this.provinceDisplay=(s=t==null?void 0:t.provinceDisplay)!=null?s:""}}class G3 extends ba{constructor(t){super(),this.result=new ke(t==null?void 0:t.result),this.unit=new ke(t==null?void 0:t.unit)}}class K3{constructor(t){var n,a;this.result=(n=t==null?void 0:t.result)!=null?n:0,this.unit=(a=t==null?void 0:t.unit)!=null?a:""}}var Yr=(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",e))(Yr||{}),gl=(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",e))(gl||{}),eu=(e=>(e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT",e))(eu||{});class X3{constructor(t){var n,a,r,u,i,s;this.isShow=(n=t==null?void 0:t.isShow)!=null?n:!0,this.content=(a=t==null?void 0:t.content)!=null?a:"",this.formKey=(r=t==null?void 0:t.formKey)!=null?r:"",this.openType=(u=t==null?void 0:t.openType)!=null?u:"modal",this.type=(i=t==null?void 0:t.type)!=null?i:"",this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!=null?s:!1}}class J3{constructor(t){var n,a,r,u;this.id=(n=t==null?void 0:t.id)!=null?n:Ye(8),this.title=(a=t==null?void 0:t.title)!=null?a:"",this.headers=(u=(r=t==null?void 0:t.headers)==null?void 0:r.map(i=>new ll(i)))!=null?u:[],zr.call(this,t)}}class z3{constructor(t){var n,a;this.key=(n=t.key)!=null?n:Ye(8),this.caption=(a=t.caption)!=null?a:""}}class vl{constructor(t){var n,a,r,u;this.width=(n=t==null?void 0:t.width)!=null?n:"",this.height=(a=t==null?void 0:t.height)!=null?a:"",this.widthConfig=(r=t==null?void 0:t.widthConfig)!=null?r:"fill",this.heightConfig=(u=t==null?void 0:t.heightConfig)!=null?u:"fill"}}class Q3{constructor(t){var n,a;this.optCode=(n=t==null?void 0:t.optCode)!=null?n:"",this.optType=(a=t==null?void 0:t.optType)!=null?a:""}}class yl{constructor(t){var n,a,r,u,i,s;this.id=(n=t==null?void 0:t.id)!=null?n:Ye(),this.name=(a=t==null?void 0:t.name)!=null?a:"",this.filters=(u=(r=t==null?void 0:t.filters)==null?void 0:r.map(l=>l.children!==void 0?new Gt(l):new yn(l)))!=null?u:[],this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(s=(i=t==null?void 0:t.settings)==null?void 0:i.map(l=>new Cl(l)))!=null?s:[]:[],this.script=t==null?void 0:t.script}}class Cl{constructor(t){var n,a,r,u;this.type=(n=t.type)!=null?n:"background",this.fieldCodes=(a=t.fieldCodes)!=null?a:[],this.color=(r=t.color)!=null?r:"theme",this.scope=(u=t.scope)!=null?u:"row"}}class Z3{constructor(t){var n,a,r,u;this.type=(n=t==null?void 0:t.type)!=null?n:"none",this.interval=(a=t==null?void 0:t.interval)!=null?a:{color:""},this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(u=(r=t==null?void 0:t.rules)==null?void 0:r.map(i=>new yl(i)))!=null?u:[]:[]}}class Fa{constructor(t){this.isHide={type:"boolean"}}}class tu extends Array{constructor(t){super()}}class Je{constructor(t,n=""){var a,r;this.isHide=(a=t==null?void 0:t.isHide)!=null?a:!1,this.style=new vl(t==null?void 0:t.style),this.caption=(r=t==null?void 0:t.caption)!=null?r:n}}Je.Rules=Fa,Je.RuntimeRules=tu;function Ue(){return Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ue.apply(this,arguments)}function Y3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(e)}function Aa(e,t){return Aa=Object.setPrototypeOf||function(a,r){return a.__proto__=r,a},Aa(e,t)}function eb(){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 Da(e,t,n){return eb()?Da=Reflect.construct:Da=function(r,u,i){var s=[null];s.push.apply(s,u);var l=Function.bind.apply(r,s),o=new l;return i&&Aa(o,i.prototype),o},Da.apply(null,arguments)}function tb(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function au(e){var t=typeof Map=="function"?new Map:void 0;return au=function(a){if(a===null||!tb(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(a))return t.get(a);t.set(a,r)}function r(){return Da(a,arguments,nu(this).constructor)}return r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Aa(r,a)},au(e)}var nb=/%[sdj%]/g,bl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(bl=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(a){return typeof a=="string"})&&console.warn(t,n)});function ru(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var a=n.field;t[a]=t[a]||[],t[a].push(n)}),t}function De(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=1,r=t[0],u=t.length;if(typeof r=="function")return r.apply(null,t.slice(1));if(typeof r=="string"){var i=String(r).replace(nb,function(s){if(s==="%%")return"%";if(a>=u)return s;switch(s){case"%s":return String(t[a++]);case"%d":return Number(t[a++]);case"%j":try{return JSON.stringify(t[a++])}catch(l){return"[Circular]"}break;default:return s}});return i}return r}function ab(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function fe(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||ab(t)&&typeof e=="string"&&!e)}function rb(e,t,n){var a=[],r=0,u=e.length;function i(s){a.push.apply(a,s),r++,r===u&&n(a)}e.forEach(function(s){t(s,i)})}function Fl(e,t,n){var a=0,r=e.length;function u(i){if(i&&i.length){n(i);return}var s=a;a=a+1,s<r?t(e[s],u):n([])}u([])}function ub(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Al=function(e){Y3(t,e);function t(n,a){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=a,r}return t}(au(Error));function ib(e,t,n,a){if(t.first){var r=new Promise(function(f,m){var D=function(B){return a(B),B.length?m(new Al(B,ru(B))):f()},S=ub(e);Fl(S,n,D)});return r.catch(function(f){return f}),r}var u=t.firstFields||[];u===!0&&(u=Object.keys(e));var i=Object.keys(e),s=i.length,l=0,o=[],h=new Promise(function(f,m){var D=function(y){if(o.push.apply(o,y),l++,l===s)return a(o),o.length?m(new Al(o,ru(o))):f()};i.length||(a(o),f()),i.forEach(function(S){var y=e[S];u.indexOf(S)!==-1?Fl(y,n,D):rb(y,n,D)})});return h.catch(function(f){return f}),h}function Dl(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 Nl(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];typeof a=="object"&&typeof e[n]=="object"?e[n]=Ue(Ue({},e[n]),a):e[n]=a}}return e}function Sl(e,t,n,a,r,u){e.required&&(!n.hasOwnProperty(e.field)||fe(t,u||e.type))&&a.push(De(r.messages.required,e.fullField))}function sb(e,t,n,a,r){(/^\s+$/.test(t)||t==="")&&a.push(De(r.messages.whitespace,e.fullField))}var uu={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},Cn={integer:function(t){return Cn.number(t)&&parseInt(t,10)===t},float:function(t){return Cn.number(t)&&!Cn.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"&&!Cn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(uu.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(uu.url)},hex:function(t){return typeof t=="string"&&!!t.match(uu.hex)}};function lb(e,t,n,a,r){if(e.required&&t===void 0){Sl(e,t,n,a,r);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=e.type;u.indexOf(i)>-1?Cn[i](t)||a.push(De(r.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&a.push(De(r.messages.types[i],e.fullField,e.type))}function ob(e,t,n,a,r){var u=typeof e.len=="number",i=typeof e.min=="number",s=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=t,h=null,f=typeof t=="number",m=typeof t=="string",D=Array.isArray(t);if(f?h="number":m?h="string":D&&(h="array"),!h)return!1;D&&(o=t.length),m&&(o=t.replace(l,"_").length),u?o!==e.len&&a.push(De(r.messages[h].len,e.fullField,e.len)):i&&!s&&o<e.min?a.push(De(r.messages[h].min,e.fullField,e.min)):s&&!i&&o>e.max?a.push(De(r.messages[h].max,e.fullField,e.max)):i&&s&&(o<e.min||o>e.max)&&a.push(De(r.messages[h].range,e.fullField,e.min,e.max))}var Kt="enum";function cb(e,t,n,a,r){e[Kt]=Array.isArray(e[Kt])?e[Kt]:[],e[Kt].indexOf(t)===-1&&a.push(De(r.messages[Kt],e.fullField,e[Kt].join(", ")))}function fb(e,t,n,a,r){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||a.push(De(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var u=new RegExp(e.pattern);u.test(t)||a.push(De(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var x={required:Sl,whitespace:sb,type:lb,range:ob,enum:cb,pattern:fb};function db(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t,"string")&&!e.required)return n();x.required(e,t,a,u,r,"string"),fe(t,"string")||(x.type(e,t,a,u,r),x.range(e,t,a,u,r),x.pattern(e,t,a,u,r),e.whitespace===!0&&x.whitespace(e,t,a,u,r))}n(u)}function mb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&x.type(e,t,a,u,r)}n(u)}function hb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(t===""&&(t=void 0),fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&(x.type(e,t,a,u,r),x.range(e,t,a,u,r))}n(u)}function _b(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&x.type(e,t,a,u,r)}n(u)}function Eb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),fe(t)||x.type(e,t,a,u,r)}n(u)}function gb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&(x.type(e,t,a,u,r),x.range(e,t,a,u,r))}n(u)}function vb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&(x.type(e,t,a,u,r),x.range(e,t,a,u,r))}n(u)}function yb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(t==null&&!e.required)return n();x.required(e,t,a,u,r,"array"),t!=null&&(x.type(e,t,a,u,r),x.range(e,t,a,u,r))}n(u)}function Cb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&x.type(e,t,a,u,r)}n(u)}var bb="enum";function Fb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r),t!==void 0&&x[bb](e,t,a,u,r)}n(u)}function Ab(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t,"string")&&!e.required)return n();x.required(e,t,a,u,r),fe(t,"string")||x.pattern(e,t,a,u,r)}n(u)}function Db(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t,"date")&&!e.required)return n();if(x.required(e,t,a,u,r),!fe(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),x.type(e,s,a,u,r),s&&x.range(e,s.getTime(),a,u,r)}}n(u)}function Nb(e,t,n,a,r){var u=[],i=Array.isArray(t)?"array":typeof t;x.required(e,t,a,u,r,i),n(u)}function iu(e,t,n,a,r){var u=e.type,i=[],s=e.required||!e.required&&a.hasOwnProperty(e.field);if(s){if(fe(t,u)&&!e.required)return n();x.required(e,t,a,i,r,u),fe(t,u)||x.type(e,t,a,i,r)}n(i)}function Sb(e,t,n,a,r){var u=[],i=e.required||!e.required&&a.hasOwnProperty(e.field);if(i){if(fe(t)&&!e.required)return n();x.required(e,t,a,u,r)}n(u)}var bn={string:db,method:mb,number:hb,boolean:_b,regexp:Eb,integer:gb,float:vb,array:yb,object:Cb,enum:Fb,pattern:Ab,date:Db,url:iu,hex:iu,email:iu,required:Nb,any:Sb};function su(){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 lu=su();function mt(e){this.rules=null,this._messages=lu,this.define(e)}mt.prototype={messages:function(t){return t&&(this._messages=Nl(su(),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,a;for(n in t)t.hasOwnProperty(n)&&(a=t[n],this.rules[n]=Array.isArray(a)?a:[a])},validate:function(t,n,a){var r=this;n===void 0&&(n={}),a===void 0&&(a=function(){});var u=t,i=n,s=a;if(typeof i=="function"&&(s=i,i={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function l(y){var B,E=[],A={};function _(g){if(Array.isArray(g)){var N;E=(N=E).concat.apply(N,g)}else E.push(g)}for(B=0;B<y.length;B++)_(y[B]);E.length?A=ru(E):(E=null,A=null),s(E,A)}if(i.messages){var o=this.messages();o===lu&&(o=su()),Nl(o,i.messages),i.messages=o}else i.messages=this.messages();var h,f,m={},D=i.keys||Object.keys(this.rules);D.forEach(function(y){h=r.rules[y],f=u[y],h.forEach(function(B){var E=B;typeof E.transform=="function"&&(u===t&&(u=Ue({},u)),f=u[y]=E.transform(f)),typeof E=="function"?E={validator:E}:E=Ue({},E),E.validator=r.getValidationMethod(E),E.field=y,E.fullField=E.fullField||y,E.type=r.getType(E),E.validator&&(m[y]=m[y]||[],m[y].push({rule:E,value:f,source:u,field:y}))})});var S={};return ib(m,i,function(y,B){var E=y.rule,A=(E.type==="object"||E.type==="array")&&(typeof E.fields=="object"||typeof E.defaultField=="object");A=A&&(E.required||!E.required&&y.value),E.field=y.field;function _(b,v){return Ue(Ue({},v),{},{fullField:E.fullField+"."+b})}function g(b){b===void 0&&(b=[]);var v=b;if(Array.isArray(v)||(v=[v]),!i.suppressWarning&&v.length&&mt.warning("async-validator:",v),v.length&&E.message!==void 0&&(v=[].concat(E.message)),v=v.map(Dl(E)),i.first&&v.length)return S[E.field]=1,B(v);if(!A)B(v);else{if(E.required&&!y.value)return E.message!==void 0?v=[].concat(E.message).map(Dl(E)):i.error&&(v=[i.error(E,De(i.messages.required,E.field))]),B(v);var O={};if(E.defaultField)for(var w in y.value)y.value.hasOwnProperty(w)&&(O[w]=E.defaultField);O=Ue(Ue({},O),y.rule.fields);for(var j in O)if(O.hasOwnProperty(j)){var ye=Array.isArray(O[j])?O[j]:[O[j]];O[j]=ye.map(_.bind(null,j))}var k=new mt(O);k.messages(i.messages),y.rule.options&&(y.rule.options.messages=i.messages,y.rule.options.error=i.error),k.validate(y.value,y.rule.options||i,function(ue){var Ie=[];v&&v.length&&Ie.push.apply(Ie,v),ue&&ue.length&&Ie.push.apply(Ie,ue),B(Ie.length?Ie:null)})}}var N;E.asyncValidator?N=E.asyncValidator(E,y.value,g,y.source,i):E.validator&&(N=E.validator(E,y.value,g,y.source,i),N===!0?g():N===!1?g(E.message||E.field+" fails"):N instanceof Array?g(N):N instanceof Error&&g(N.message)),N&&N.then&&N.then(function(){return g()},function(b){return g(b)})},function(y){l(y)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!bn.hasOwnProperty(t.type))throw new Error(De("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),a=n.indexOf("message");return a!==-1&&n.splice(a,1),n.length===1&&n[0]==="required"?bn.required:bn[this.getType(t)]||!1}},mt.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");bn[t]=n},mt.warning=bl,mt.messages=lu,mt.validators=bn;const Ib={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 Il(e,t={}){const n=new mt(e);return n.messages(Object.assign(Ib,t)),n}const Bl=new E3;class ve{constructor(t){var m,D,S,y;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ll,this.removeSetting=Ol,this._callControlHooks("preInstance",t);const{controlName:n,controlIcon:a,controlType:r,controlFieldType:u,controlEventKeys:i,controlCustomEvents:s,name:l,setting:o,slots:h,slotPosition:f}=new.target;n&&a&&r||wu(`The ${l} controlName,controlIcon,controlType is not define`),this.id=(m=t==null?void 0:t.id)!=null?m:Ye(10),this.name=n,this.icon=a,this.type=(D=t==null?void 0:t.type)!=null?D:r,this.props=new Je(t==null?void 0:t.props,new.target.controlName),this.controlType=(S=t==null?void 0:t.controlType)!=null?S:"base",this.setting=Xe(o),this.fieldType=(y=t==null?void 0:t.fieldType)!=null?y:u,this.eventKeys=Xe(i),this.customEvents=Xe(s),this.slots=Xe(h),this.slotPosition=Xe(f),Promise.resolve().then(()=>{this._callControlHooks("postInstance",t)})}get rules(){const t=this.props.constructor.Rules;return t?new t(this.props):{}}_callControlHooks(...t){const[n,...a]=t;return Bl.emit(n,this,...a)}preUpdate(t,n){this._callControlHooks("preUpdateProps",t,n)}postUpdate(t,n){this._callControlHooks("postUpdateProps",t,n)}updateProps(t,n){this.preUpdate(t,n),e3(this.props,t,n),this.postUpdate(t,n)}preValidate(){return Ze(this,null,function*(){const t=Qe({},this.rules),n=yield this._callControlHooks("preValidate",t),a=n[n.length-1];return a===!1?void 0:a})}validate(t,n){return Ze(this,null,function*(){const a=yield this.preValidate(),r=a!==void 0?a:Qe({},this.rules);Array.isArray(n)&&n.forEach(i=>{r.hasOwnProperty(i)&&delete r[i]});const u=Il(r,t);try{return yield u.validate(this.props),!0}catch(i){throw i.control||(i.control=this),i}})}toDataBindModel(t=null){const n=this.fieldType,a=this.id,r=this.type,{dataBind:u,datasourceBind:i,optionConfig:s,caption:l,required:o,maxLength:h,options:f,encrypted:m,encryptedMode:D}=this.props;if(!n&&!u&&!i)return;const S={parentId:t,fieldType:n,controlId:a,caption:l,type:r,props:{}};switch(u&&(S.dataBind=u),s){case"datasource":case void 0:i&&(S.datasourceBind=i);break;case"custom":S.props.options=f;break}return o!==void 0&&(S.required=o),h!==void 0&&(S.maxLength=h),m!==void 0&&(S.encrypted=m),D!==void 0&&(S.encryptedMode=D),S}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:Xe(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(t,n){t==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}ve.mode="Designer",ve.controlName="\u63A7\u4EF6",ve.controlIcon="icon",ve.controlType="control",ve.controlEventKeys=[],ve.controlCustomEvents=[],ve.setting=[],ve.__is_control__=!0,ve.removeSettingItem=Ol,ve.updateSettingItem=Ll;function Ol(e){(Array.isArray(e)?e:[e]).forEach(n=>{var u,i,s;const a=typeof n!="string",r=(u=this.setting)==null?void 0:u.findIndex(l=>l.key===(a?n.key:n));r!==-1&&(a?this.setting[r].showItems=(i=this.setting[r].showItems)==null?void 0:i.filter(l=>!n.hideItems.includes(l)):this.setting.splice(r,1),a&&!((s=this.setting[r].showItems)!=null&&s.length)&&this.setting.splice(r,1))})}function Ll(e,t){(typeof e=="string"?[e]:e).forEach(a=>{var u;const r=this.setting.find(i=>i.key===a);r&&(typeof t=="boolean"?r.visible=t:typeof t=="object"&&(((u=t.type)!=null?u:"replace")==="replace"?r.showItems=t.showItems:r.showItems.push(...t.showItems)))})}class ze{constructor(t){var i,s,l,o,h;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:a,name:r,controlCustomEvents:u}=new.target;n||wu(`The ${r} controlType is not define`),this.id=(i=t==null?void 0:t.id)!=null?i:Ye(10),this.type=(s=t==null?void 0:t.type)!=null?s:n,this.props=new Je(t==null?void 0:t.props),this.customEvents=u,this.controlType=(l=t==null?void 0:t.controlType)!=null?l:"base",this.fieldType=(o=t==null?void 0:t.fieldType)!=null?o:a,this.pageStatus=(h=t==null?void 0:t.pageStatus)!=null?h:eu.UNKNOWN}get rules(){const t=this.props.constructor.RuntimeRules;if(t){const n=new t(this.props);return Array.from(n)}return[]}}ze.mode="Runtime",ze.controlType="control",ze.__is_control__=!0,ze.controlCustomEvents=[];function ou(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator(t,n,a){n.length===0&&a(p.getMessage("optionIsRequired")),a()}},{type:"array",validator(t,n,a){const r=n.map(i=>i.value),u=s3(r);r.length!==u.length?a(p.getMessage("optionIdIsRepeat")):a()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator(t,n,a){n.length===0&&a(p.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Bb(e,t,n=!1){this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator(a,r,u){r.length===0&&u(p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function wl(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}class cu extends Fa{constructor(t){super(t),this.dataBind={},this.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(wl(t.dataBind))this.dataBind={type:"object",required:!0,fields:Xe(n),message:p.getMessage("pleaseEnterFieldCode")};else{let a={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(t.dataBind).forEach(r=>{a.fields[r]={type:"object",required:!0,fields:Xe(n),message:p.getMessage("pleaseEnterFieldCode")}}),this.dataBind=a}t.isShowCaptionTip&&(this.captionTip.required=!0)}}class Tl extends tu{constructor(t){super(t);const n=t.isHide?!1:t.required;n&&this.push({type:"string",required:n,message:t.requiredMessage!==""?t.requiredMessage:p.getMessage("runtimeRequired",{caption:t.caption})})}}class Fn extends Je{constructor(t){var n,a,r,u,i,s,l,o,h,f;super(t),this.caption=(n=t==null?void 0:t.caption)!=null?n:"",this.isHideCaption=(a=t==null?void 0:t.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=t==null?void 0:t.isShowCaptionTip)!=null?r:!1,this.captionTip=(u=t==null?void 0:t.captionTip)!=null?u:"",this.defaultState=(i=t==null?void 0:t.defaultState)!=null?i:"default",this.labelPosition=(s=t==null?void 0:t.labelPosition)!=null?s:"top",this.placeholder=(l=t==null?void 0:t.placeholder)!=null?l:"",this.required=(o=t==null?void 0:t.required)!=null?o:!1,this.requiredMessage=(h=t==null?void 0:t.requiredMessage)!=null?h:"",this.dataBind=new ke(t==null?void 0:t.dataBind),this.defaultValue=(f=t==null?void 0:t.defaultValue)!=null?f:""}}Fn.Rules=cu,Fn.RuntimeRules=Tl;class Ob extends cu{constructor(t){super(t),this.optionConfig={type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:p.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],ou.call(this,t)}}class Rl extends ve{constructor(t){super(t),this.controlType="form",this.props=new Fn(t==null?void 0:t.props)}}Rl.controlEventKeys=["on_change","on_focus","on_blur"];class Lb extends ze{constructor(t){super(t),this.controlType="form",this.props=new Fn(t==null?void 0:t.props)}}class An extends Je{constructor(t){super(t)}}const wb=1e4;class It extends ve{constructor(t){super(t),this.controlType="layout";const{excludes:n,childrenMaxLength:a}=new.target;this.props=new An(t==null?void 0:t.props),dt(this,"children",t==null?void 0:t.children,void 0,"Designer"),this.excludes=Xe(n),this.childrenMaxLength=a}judgeExcludesChildren(t){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t)}judgeJoinChildren(t){const n=this.judgeExcludesChildren(t);return n&&this.childrenMaxLength>this.children.length}validate(t,n){return Ze(this,null,function*(){return yield gu(It.prototype,this,"validate").call(this,t,n),yield Promise.all(this.children.map(a=>a.validate(t,n))),!0})}toDataBindModel(t=null){const n=super.toDataBindModel(),a=n?[n]:[];return this.children.reduce((r,u)=>{const i=u.toDataBindModel(t);if(Array.isArray(i)){const s=i.filter(l=>!!l);return[...r,...s]}return i&&r.push(i),r},a)}toSchema(){const t=super.toSchema(),n=this.children.map(a=>a.toSchema());return Lt(Qe({},t),{children:n})}}It.excludes=!1,It.childrenMaxLength=wb;class fu extends ze{constructor(t){super(t),this.controlType="layout",this.props=new An(t==null?void 0:t.props),dt(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}class du extends Je{constructor(t,n,a){var r,u,i,s;super(n),dt(this,"headers",n==null?void 0:n.headers,t,a),dt(this,"footers",n==null?void 0:n.footers,t),this.pageIndex=(r=n==null?void 0:n.pageIndex)!=null?r:1,this.pageSize=(u=n==null?void 0:n.pageSize)!=null?u:20,this.pageSizeOptions=(i=n==null?void 0:n.pageSizeOptions)!=null?i:[20],this.totalCount=(s=n==null?void 0:n.totalCount)!=null?s:0}}class Na extends ve{constructor(t){super(t),this.controlType="list",this.props=new du(this,t==null?void 0:t.props,"Designer")}validate(t,n){return Ze(this,null,function*(){return yield gu(Na.prototype,this,"validate").call(this,t),yield Promise.all(this.props.headers.map(a=>a.validate(t,n))),!0})}toDataBindModel(){const t=super.toDataBindModel(),n=t?[t]:[],a=this.id;return this.props.headers.reduce((r,u)=>{const i=u.toDataBindModel(a);if(Array.isArray(i)){const s=i.filter(l=>!!l);return[...r,...s]}return i&&r.push(i),r},n)}toSchema(){const t=super.toSchema(),n=this.props.headers.map(a=>a.toSchema());return Lt(Qe({},t),{props:Lt(Qe({},this.props),{headers:n})})}}Na.controlFieldType=en.LIST;class Tb extends ze{constructor(t){super(t),this.controlType="list",this.props=new du(this,t==null?void 0:t.props,"Runtime"),dt(this,"children",t==null?void 0:t.children,void 0,"Runtime")}get length(){return this.children.length}}class mu extends Fa{constructor(t){super(t),this.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")},this.width.required=t.widthType==="px"}}class Sa extends Je{constructor(t){var n,a,r,u,i;super(t),this.width=(n=t==null?void 0:t.width)!=null?n:150,this.widthType=(t==null?void 0:t.widthType)||"auto",this.caption=(a=t==null?void 0:t.caption)!=null?a:"",this.fixed=(r=t==null?void 0:t.fixed)!=null?r:"none",this.autoWidth=new qr(t==null?void 0:t.autoWidth),this.dataBind=new ke(t==null?void 0:t.dataBind),this.sort=(u=t==null?void 0:t.sort)!=null?u:!0,this.align=t==null?void 0:t.align,this.colSpan=t==null?void 0:t.colSpan,this.autoHeight=(i=t==null?void 0:t.autoHeight)!=null?i:!1}}Sa.Rules=mu;class Rb extends mu{constructor(t){super(t),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:p.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],ou.call(this,t)}}class pb extends ve{constructor(t){super(t),this.controlType="column",this.props=new Sa(t==null?void 0:t.props),dt(this,"children",t==null?void 0:t.children,void 0,"Designer")}toSchema(){const t=super.toSchema();return Lt(Qe({},t),{children:this.children?this.children.map(n=>n.toSchema()):[]})}}class Pb extends ze{constructor(t){super(t),this.controlType="column",this.props=new Sa(t==null?void 0:t.props),dt(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}class hu extends An{constructor(t){super(t),this.dataBind=new ke(t==null?void 0:t.dataBind)}}class Mb extends It{constructor(t){super(t),this.controlType="search",this.props=new hu(t==null?void 0:t.props)}}class $b extends fu{constructor(t){super(t),this.controlType="search",this.props=new hu(t==null?void 0:t.props)}}class _u extends An{constructor(t){super(t)}}class Vb extends It{constructor(t){super(t),this.controlType="wrap",this.props=new _u(t==null?void 0:t.props)}}class kb extends fu{constructor(t){super(t),this.controlType="wrap",this.props=new _u(t==null?void 0:t.props)}}function Ub(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}F.AMOUNT_TYPE=Yr,F.AddressValue=q3,F.AmountDataBind=x3,F.AmountValue=W3,F.AutoWidth=qr,F.BaseControlProperty=Fn,F.BaseControlPropertyRules=cu,F.BaseControlPropertyRuntimeRules=Tl,F.BaseStyle=vl,F.COMMON_SETTING_TYPE=gl,F.CalcDataBind=G3,F.CalcValue=K3,F.ColumnControlProperty=Sa,F.ColumnControlPropertyRules=mu,F.ColumnOptionAndDataSourcePropertyRules=Rb,F.CustomAttributeItem=Qr,F.CustomPermissionItem=z3,F.DataBind=ke,F.DataSourceBind=Ca,F.DataSourceDataSetValue=ml,F.DataSourceOrderItem=Jr,F.DataSourceParamItem=L3,F.DataStorageDoc=D3,F.DesignerColumnControl=pb,F.DesignerControl=ve,F.DesignerFormControl=Rl,F.DesignerLayoutControl=It,F.DesignerListControl=Na,F.DesignerSearchControl=Mb,F.DesignerWrapControl=Vb,F.DisplayBoListItem=Xr,F.FieldBindItem=ol,F.FieldFilterCondition=yn,F.FieldFilterConditions=Gt,F.FillBackBind=M3,F.FillPayloadBind=P3,F.FormBind=ya,F.FormSelectBind=N3,F.ImageOptionSetting=El,F.JoinRelation=B3,F.Language=$3,F.LayoutControlProperty=An,F.LeftVariable=fl,F.LinkOperationOption=T3,F.ListBind=S3,F.ListControlProperty=du,F.MetaAutoWidth=A3,F.MetaRowHeight=F3,F.MetaWidth=va,F.MultistageFillingItem=dl,F.ObjectDataBind=ba,F.OperationItem=X3,F.OptObject=Q3,F.OptionAndDataSourcePropertyRules=Ob,F.OptionDisplayConfigItem=O3,F.OptionSetting=Zr,F.OrganizationDataSourceBind=R3,F.PAGE_STATUS=eu,F.Property=Je,F.PropertyRules=Fa,F.PropertyRuntimeRules=tu,F.RangeDataBind=H3,F.RangeDateValue=j3,F.RegisterControls=vn,F.RegularRules=V3,F.RightVariable=Kr,F.RowHeight=Gr,F.RowStyle=Z3,F.RowStyleRule=yl,F.RowStyleSettings=Cl,F.RuntimeColumnControl=Pb,F.RuntimeControl=ze,F.RuntimeFormControl=Lb,F.RuntimeLayoutControl=fu,F.RuntimeListControl=Tb,F.RuntimeSearchControl=$b,F.RuntimeWrapControl=kb,F.SearchControlProperty=hu,F.SelectedContentConfig=w3,F.SubListItem=cl,F.SubListPageConfig=I3,F.SuperDataSourceBind=hl,F.TreeDataSourceBind=p3,F.ViewOperationItem=J3,F.WrapControlProperty=_u,F.controlHooksEmitter=Bl,F.createValidator=Il,F.defineArrayParent=al,F.defineControlArrayToProperty=dt,F.defineParent=Hr,F.initImageOptions=U3,F.initLinkOperationRules=Ub,F.initOptionAndDataSourceRules=ou,F.initOptions=k3,F.initSuperDataSourceRules=Bb,F.isDataBind=wl,F.setPropertyDontEnum=ga,Object.defineProperty(F,"__esModule",{value:!0})});
|
|
1
|
+
var aa=Object.defineProperty,ra=Object.defineProperties;var ca=Object.getOwnPropertyDescriptors;var Yt=Object.getOwnPropertySymbols,ua=Object.getPrototypeOf,la=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable,oa=Reflect.get;var pt=(l,I,_)=>I in l?aa(l,I,{enumerable:!0,configurable:!0,writable:!0,value:_}):l[I]=_,O=(l,I)=>{for(var _ in I||(I={}))la.call(I,_)&&pt(l,_,I[_]);if(Yt)for(var _ of Yt(I))sa.call(I,_)&&pt(l,_,I[_]);return l},ce=(l,I)=>ra(l,ca(I));var at=(l,I,_)=>oa(ua(l),_,I);var ue=(l,I,_)=>new Promise((T,H)=>{var le=F=>{try{X(_.next(F))}catch(J){H(J)}},se=F=>{try{X(_.throw(F))}catch(J){H(J)}},X=F=>F.done?T(F.value):Promise.resolve(F.value).then(le,se);X((_=_.apply(l,I)).next())});(function(l,I){typeof exports=="object"&&typeof module!="undefined"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(l=typeof globalThis!="undefined"?globalThis:l||self,I(l.modelDrivenCore={}))})(this,function(l){"use strict";var I;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(I||(I={}));var _;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(_||(_={}));var T;T=window.localStorage.getItem("locale");var H;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(H||(H={}));var le;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(le||(le={}));var se;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(se||(se={}));var X;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(X||(X={}));var F;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(F||(F={}));var J;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(J||(J={}));var rt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",en=rt+"0123456789";function K(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?rt:en,a=Math.random()*i.length;e+=i[parseInt(String(a),10)]}return e}function Se(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tn(t){if(Array.isArray(t))return Se(t)}function nn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ct(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return st()?oe=Reflect.construct:oe=function(a,r,c){var u=[null];u.push.apply(u,r);var d=Function.bind.apply(a,u),o=new d;return c&&p(o,c.prototype),o},oe.apply(null,arguments)}function Y(t){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Y(t)}function ut(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function an(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rn(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cn(){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 un(t,e){return e&&(ln(e)==="object"||typeof e=="function")?e:nn(t)}function p(t,e){return p=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},p(t,e)}function lt(t){return tn(t)||rn(t)||sn(t)||cn()}function ln(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sn(t,e){if(!!t){if(typeof t=="string")return Se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Se(t,e)}}function Ie(t){var e=typeof Map=="function"?new Map:void 0;return Ie=function(i){if(i===null||!an(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,a)}function a(){return oe(i,arguments,Y(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),p(a,i)},Ie(t)}function st(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ot(t){var e=st();return function(){var i=Y(t),a;if(e){var r=Y(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return un(this,a)}}var De=console;function Ce(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=De).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(lt(a)))}function ft(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=De).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(lt(a)))}function on(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Re=function(t){ut(n,t);var e=ot(n);function n(i){ct(this,n);var a;return a=e.call(this,i),a.name="\u{1F4A5} Driven Error",a.message=i?on(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Ie(Error)),fn=function(t){ut(n,t);var e=ot(n);function n(i){ct(this,n);var a;return a=e.call(this,i),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Re);function _e(t){throw new Re(t)}function dt(t){throw new fn(t)}function dn(t){De.error(new Re(t))}const hn=(t,e)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let i;const a=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((c,u)=>{u===0?i=a[c]:i&&(i=i[c])});let r="";return i&&(r=i),e&&Object.keys(e).forEach(c=>{const u=e[c];r=r.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),u)}),r||(r=t),r};function yn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function gn(t,e,n){return e&&ht(t.prototype,e),n&&ht(t,n),t}var f=function(){function t(){yn(this,t)}return gn(t,null,[{key:"getMessage",value:function(n){return hn("CMD."+n)}}]),t}();function mn(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,c){return"."+c}).split("."),a=!1;return i.reduce(function(r,c,u,d){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,c)){Ce("Can not set ".concat(e,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),r,r);return}return u===d.length-1&&!Object.is(o[c],n)&&(o[c]=n,a=!0),o[c]}},t),a}var vn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wn={exports:{}};(function(t){(function(e){var n=function(s,y,w){if(!o(y)||v(y)||D(y)||C(y)||d(y))return y;var R,B=0,U=0;if(g(y))for(R=[],U=y.length;B<U;B++)R.push(n(s,y[B],w));else{R={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&(R[s(S,w)]=n(s,y[S],w))}return R},i=function(s,y){y=y||{};var w=y.separator||"_",R=y.split||/(?=[A-Z])/;return s.split(R).join(w)},a=function(s){return b(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(y,w){return w?w.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},r=function(s){var y=a(s);return y.substr(0,1).toUpperCase()+y.substr(1)},c=function(s,y){return i(s,y).toLowerCase()},u=Object.prototype.toString,d=function(s){return typeof s=="function"},o=function(s){return s===Object(s)},g=function(s){return u.call(s)=="[object Array]"},v=function(s){return u.call(s)=="[object Date]"},D=function(s){return u.call(s)=="[object RegExp]"},C=function(s){return u.call(s)=="[object Boolean]"},b=function(s){return s=s-0,s===s},h=function(s,y){var w=y&&"process"in y?y.process:y;return typeof w!="function"?s:function(R,B){return w(R,s,B)}},A={camelize:a,decamelize:c,pascalize:r,depascalize:c,camelizeKeys:function(s,y){return n(h(a,y),s)},decamelizeKeys:function(s,y){return n(h(c,y),s,y)},pascalizeKeys:function(s,y){return n(h(r,y),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(vn)})(wn);var yt={};Object.defineProperty(yt,"__esModule",{value:!0});function Be(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Be(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Be(i)}return e}}var bn=yt.default=Be;function An(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":An(t))==="object"?bn(t):t}function Sn(t){return Object.prototype.toString.call(t)==="[object Object]"}function In(t){return Array.isArray(t)}function Dn(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Me(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Cn(t){if(Array.isArray(t))return Me(t)}function gt(t,e,n,i,a,r,c){try{var u=t[r](c),d=u.value}catch(o){n(o);return}u.done?e(d):Promise.resolve(d).then(i,a)}function Rn(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function c(d){gt(r,i,a,c,u,"next",d)}function u(d){gt(r,i,a,c,u,"throw",d)}c(void 0)})}}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Bn(t,e,n){return e&&mt(t.prototype,e),n&&mt(t,n),t}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qn(){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 qe(t){return Cn(t)||Mn(t)||Fn(t)||qn()}function Fn(t,e){if(!!t){if(typeof t=="string")return Me(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Me(t,e)}}function En(t,e){var n,i,a,r,c={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(o){return function(g){return d([o,g])}}function d(o){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return c.label++,{value:o[1],done:!1};case 5:c.label++,i=o[1],o=[0];continue;case 7:o=c.ops.pop(),c.trys.pop();continue;default:if(a=c.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){c=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){c.label=o[1];break}if(o[0]===6&&c.label<a[1]){c.label=a[1],a=o;break}if(a&&c.label<a[2]){c.label=a[2],c.ops.push(o);break}a[2]&&c.ops.pop(),c.trys.pop();continue}o=e.call(t,c)}catch(g){o=[6,g],i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var jn=function(){function t(){_n(this,t),vt(this,"_events",new Map),vt(this,"debug",!1)}return Bn(t,[{key:"emit",value:function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];var c=this;return Rn(function(){var u,d,o,g,v,D,C,b,h,A,s,y;return En(this,function(w){switch(w.label){case 0:if(u=c._events.get(n),d=[],!u)return[3,10];o=u.slice(),g=!0,v=!1,D=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),C=o[Symbol.iterator](),w.label=2;case 2:if(g=(b=C.next()).done)return[3,7];if(h=b.value,!u.includes(h))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),c.debug&&ft.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(qe(a))),[4,h.apply(null,qe(a))];case 4:return A=w.sent(),c.debug&&ft.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(qe(a),[A])),d.push(A),A===!1?[3,7]:[3,6];case 5:return s=w.sent(),dn(String(s)+":"+String(s.stack)),[3,6];case 6:return g=!0,[3,2];case 7:return[3,10];case 8:return y=w.sent(),v=!0,D=y,[3,10];case 9:try{!g&&C.return!=null&&C.return()}finally{if(v)throw D}return[7];case 10:return[2,d]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(i);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Un(t,e,n){return e&&wt(t.prototype,e),n&&wt(t,n),t}function kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hn=[{key:"on_click",name:f.getMessage("click"),code:"click"},{key:"on_click_finish",name:f.getMessage("finished"),code:"click-finish"},{key:"on_change",name:f.getMessage("valueChange"),code:"change"},{key:"on_search",name:f.getMessage("search"),code:"search"},{key:"on_list_change",name:f.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:f.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:f.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:f.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:f.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:f.getMessage("onInput"),code:"input"},{key:"on_blur",name:f.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:f.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:f.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:f.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:f.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:f.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:f.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:f.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:f.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:f.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:f.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:f.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:f.getMessage("modalConfirm"),code:"modal-ok"}],Ln=function(){function t(){Vn(this,t)}return Un(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(a){return i.includes(a.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],a=n.eventKeys;i=i.concat(t.events.filter(function(c){return a.includes(c.key)}));var r=n.customEvents.map(function(c){var u=c.key;return c.namespace!==void 0&&c.namespace!==null&&c.namespace!==""&&(u=c.namespace+":"+c.key),{key:u,code:c.key,name:c.name}});return i=i.concat(r),i}}]),t}();kn(Ln,"events",Hn);function fe(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Fe(t,e,n){n!=="Runtime"&&(t.parent=e,fe(t,"parent"))}function bt(t,e,n){t.forEach(i=>{Fe(i,e,n)})}const At=Symbol("targetKey");function St(t){var e;return(e=t[At])!=null?e:t}function It(t,e,n){return bt(t,e,n),new Proxy(t,{get(i,a,...r){return a===At?i:Reflect.get(i,a,...r)},set(i,a,r,...c){if(In(t)&&a==="length"&&r===t.length)return!0;const u=Reflect.set(i,a,r,...c);return Sn(r)&&Fe(r,e,n),u}})}function P(t,e,n,i,a){const r=i!=null?i:t;let c=It(St(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get(){return c},set(u){c=It(St(u),r,a)},enumerable:!0})}const Dt=[],Ee=class{constructor(t){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}static staticGetRules(t,e){const n=Ee.staticControlsRuntimeRules.get(t);let i=[];if(n){const a=new n(e);i=Array.from(a)}return i}registerControlConfig(t,e){return this.controlConfigMap.set(t,e),this}getControlConfig(t){return this.controlConfigMap.get(t)}static register(t,e){const{Designer:n,Runtime:i,Property:a}=t;(!n||!i||!n.__is_control__||!i.__is_control__)&&_e(`${t} is can't register as a Control`);const r=this.staticControls.findIndex(c=>c.Designer.controlType===n.controlType);return r>-1&&(Ce(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(t),a.mode=e,this}getControls(){return this._controls}register(t){t.__is_control__||_e(`${t.name} is not a Control`);const e=this._controls.findIndex(n=>n.controlType===t.controlType);return e>-1&&(Ce(`The ${t.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(e,1)),this.registeredControlTypes.add(t.controlType),this._controls.push(t),this}isLayoutControl(t){return t.controlType===H.LAYOUT}isFormControl(t){return t.controlType===H.FORM}isListControl(t){return t.controlType===H.LIST}isColumnControl(t){return t.controlType===H.COLUMN}createControl(t,e){if(Array.isArray(t))return t.map(i=>this.createControl(i,e));if(t.children&&(t.children=t.children.map(i=>this.createControl(i,e))),this.isListControl(t)){const i=t.props;i.headers&&(i.headers=i.headers.map(a=>this.createControl(a,e)))}const n=this.getControlFormType(t.type);if(n){let i=t;if(typeof e=="function"){const r=e(i);r&&(i=r)}let a;return n.mode==="Runtime"?(a=i,a.fieldType=n.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new n(i),a}else _e(`The constructor of ${t.type} could not be found, please confirm that the constructor has been registered`)}resetInstanceParent(t,e){delete t.parent,Object.defineProperty(t,"parent",{configurable:!0,get(){return e}}),fe(t,"parent")}_setParentPrototypeToSchema(t,e){e._type==="Runtime"&&(Object.defineProperty(t,"parent",{configurable:!0,get(){const n=t.id,i=e._controlParentIdMap,a=e.instanceMap;if(!i||!a)return;const r=i[n],c=a[n];if(!r&&!c)return;const u=c.findIndex(g=>g==t),d=a[r]||[];let o;return d.length!==c.length?o=d[0]:o=d[u],o}}),fe(t,"parent"))}createControlInstance(t,e){const n=this.getControlFormType(t);if(n)return new n(e)}getControlFormType(t){return this._controls.find(e=>e.controlType===t)}_initControls(t){this.constructor.staticControls.forEach(e=>{this.register(e[t]),Ee.staticControlsRuntimeRules.set(e.Runtime.controlType,e.Property.RuntimeRules),e.Property.mode=t})}};let ee=Ee;ee.staticControlsRuntimeRules=new Map,ee.staticControls=Dt,ee.staticRegisteredTypes=new Set(Dt.map(t=>t.Designer.controlType)),ee.staticRegisteredConfigs=new Map;class j{constructor(e){var n,i,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!=null?i:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.aliasCode=e==null?void 0:e.aliasCode}}class je{constructor(e){var n,i;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!=null?i:1}}class Ve{constructor(e){var n,i,a,r;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!=null?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!=null?i:4,this.maxRows=(a=e==null?void 0:e.maxRows)!=null?a:20,this.fiexdRow=(r=e==null?void 0:e.fiexdRow)!=null?r:4}}class xn{constructor(e){this.pc=new Ve(e==null?void 0:e.pc),this.mobile=new Ve(e==null?void 0:e.mobile)}}class de extends je{constructor(e){var n,i;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(i=e==null?void 0:e.widthType)!=null?i:"auto"}}class Wn{constructor(e){this.pc=new de(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new de(e==null?void 0:e.mobile):new de({width:130,minWidth:180})}}class Kn{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!=null?i:[]}}class he{constructor(e){var n,i,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(i=e==null?void 0:e.formKey)!=null?i:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class Pn extends he{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Ct{constructor(e){var n,i;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:""}}class $n{constructor(e){var n,i,a,r;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(i=e==null?void 0:e.formKey)!=null?i:"",this.headers=(r=(a=e==null?void 0:e.headers)==null?void 0:a.map(c=>new Ct(c)))!=null?r:[]}}class Rt{constructor(e){var n,i,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!=null?i:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:F.VARCHAR}}class _t extends he{constructor(e){var n,i,a,r;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(i=e==null?void 0:e.svcCode)!=null?i:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(r=e==null?void 0:e.filters)!=null?r:[]}}class zn{constructor(e){var n,i,a,r;this.type="sublist-page",this.formBind=new he(e==null?void 0:e.formBind),this.displayFields=(i=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(c=>new Rt(c)))!=null?i:[],this.sublists=(r=(a=e==null?void 0:e.sublists)==null?void 0:a.map(c=>new _t(c)))!=null?r:[]}}class Bt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode}}class Ue{constructor(e){var n,i,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(i=e==null?void 0:e.value)!=null?i:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class N{constructor(e){var n,i,a,r;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:K(),this.ruleId=(i=e==null?void 0:e.ruleId)!=null?i:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(r=e==null?void 0:e.value)!=null?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(c=>{var u,d;if(c.children!==void 0){const o=new N(c);(u=this.children)==null||u.push(o)}else{const o=new te(c);(d=this.children)==null||d.push(o)}}))}}class te{constructor(e){var n,i,a,r,c;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:K(),this.ruleId=(i=e==null?void 0:e.ruleId)!=null?i:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(r=e==null?void 0:e.checked)!=null?r:!1,this.describe=(c=e==null?void 0:e.describe)!=null?c:"",this.leftVariableBo=new Bt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ue(e==null?void 0:e.rightVariableBo)}}class On{constructor(e){var n,i;this.aliasCode=(n=e==null?void 0:e.aliasCode)!=null?n:"",this.datasourceBind=new ye(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!=null?i:[]}}class Mt{constructor(e){var n,i,a,r;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!=null?i:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(r=e==null?void 0:e.propName)!=null?r:""}}class ke{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(i=e==null?void 0:e.value)!=null?i:"",this.fieldType=e==null?void 0:e.fieldType}}class Xn{constructor(e){var n,i;this.title=(n=e==null?void 0:e.title)!=null?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!=null?i:[]}}class He{constructor(e){var n,i;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(i=e.desc)!=null?i:!1}}class qt{constructor(e){var n,i,a;this.code=(n=e.code)!=null?n:"",this.value=(i=e.value)!=null?i:"",this.field_type=(a=e.field_type)!=null?a:F.ANY}}class Jn{constructor(e){var n,i,a,r,c,u,d;this.id=(n=e.id)!=null?n:"",this.limit=(i=e.limit)!=null?i:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(c=(r=e.orders)==null?void 0:r.map(o=>new He(o)))!=null?c:[],this.dataSet=(d=(u=e.dataSet)==null?void 0:u.map(o=>new qt(o)))!=null?d:[]}}function Le(t){var e,n,i,a,r,c;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(u=>u.children!==void 0?new N(u):new te(u)))!=null?n:[],this.viewFilters=(a=(i=t==null?void 0:t.viewFilters)==null?void 0:i.map(u=>u.children!==void 0?new N(u):new te(u)))!=null?a:[],this.orders=(c=(r=t==null?void 0:t.orders)==null?void 0:r.map(u=>new He(u)))!=null?c:[]}class ye{constructor(e){var n,i,a,r,c,u,d;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!=null?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(o=>{var g;(g=this.displayBoList)==null||g.push(new ke(o))})),this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!=null?c:"",this.showOrder=(u=e==null?void 0:e.showOrder)!=null?u:!0,this.svcCode=(d=e==null?void 0:e.svcCode)!=null?d:"",Le.call(this,e)}}class Nn{constructor(e){var n,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!=null?i:[]}}class Zn{constructor(e){var n,i,a,r,c,u,d,o,g,v;this.code=(n=e==null?void 0:e.code)!=null?n:"view",this.color=(i=e==null?void 0:e.color)!=null?i:"primary",this.command=(a=e==null?void 0:e.command)!=null?a:"view",this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!=null?r:void 0,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:void 0,this.formType=e==null?void 0:e.formType,this.icon=(d=e==null?void 0:e.icon)!=null?d:"iconliulan1",this.needConfirm=(o=e==null?void 0:e.needConfirm)!=null?o:!1,this.openType=(g=e==null?void 0:e.openType)!=null?g:"modal",this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!=null?v:!0}}class xe{constructor(e){var n,i,a,r;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(i=e==null?void 0:e.key)!=null?i:"",this.value=(r=(a=e==null?void 0:e.value)==null?void 0:a.map(c=>new ke(c)))!=null?r:[]}}class Ft extends ye{constructor(e){var n,i;super(e),this.attributes=(i=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new xe(a)))!=null?i:[]}}class Qn extends ye{constructor(e){var n,i,a;super(e),this.attributes=(i=(n=e==null?void 0:e.attributes)==null?void 0:n.map(r=>new xe(r)))!=null?i:[],this.formCode=(a=e==null?void 0:e.formCode)!=null?a:""}}class Gn extends Ft{constructor(e){var n;super(e),this.rootNode=new Ue(e==null?void 0:e.rootNode),this.filterCode=(n=e==null?void 0:e.filterCode)!=null?n:""}}class Et{constructor(e){var n,i,a,r;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.fillList=(r=(a=e==null?void 0:e.fillList)==null?void 0:a.map(c=>new Mt(c)))!=null?r:[]}}class Tn extends Et{constructor(e){super(e),Le.call(this,e)}}class Yn extends Et{constructor(e){var n,i;super(e),this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1}}class pn{constructor(e){var n,i,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(i=e==null?void 0:e.en)!=null?i:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class ei{constructor(e){var n,i,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(i=e==null?void 0:e.expression)!=null?i:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class We{constructor(e){var n,i,a;this.id=(n=e==null?void 0:e.id)!=null?n:K(8),this.label=(i=e==null?void 0:e.label)!=null?i:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class jt extends We{constructor(e){var n,i;super(e),this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(i=e==null?void 0:e.type)!=null?i:"src"}}function ti(t){var e;return(e=t==null?void 0:t.map(n=>new We(n)))!=null?e:[]}function ni(t){var e;return(e=t==null?void 0:t.map(n=>new jt(n)))!=null?e:[]}class ge{}class ii extends ge{constructor(e){super(),this.amount=new j(e==null?void 0:e.amount),this.currency=new j(e==null?void 0:e.currency)}}class ai{constructor(e){var n,i;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(i=e==null?void 0:e.currency)!=null?i:Ke.CNY}}class ri extends ge{constructor(e){super(),this.min=new j(e==null?void 0:e.min),this.max=new j(e==null?void 0:e.max)}}class ci{constructor(e){var n,i;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(i=e==null?void 0:e.max)!=null?i:""}}class ui{constructor(e){var n,i,a,r,c,u;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!=null?i:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!=null?r:"",this.province=(c=e==null?void 0:e.province)!=null?c:"",this.provinceDisplay=(u=e==null?void 0:e.provinceDisplay)!=null?u:""}}class li extends ge{constructor(e){super(),this.result=new j(e==null?void 0:e.result),this.unit=new j(e==null?void 0:e.unit)}}class si{constructor(e){var n,i;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(i=e==null?void 0:e.unit)!=null?i:""}}var Ke=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(Ke||{}),Vt=(t=>(t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t))(Vt||{}),Pe=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(Pe||{});class oi{constructor(e){var n,i,a,r,c,u;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(i=e==null?void 0:e.content)!=null?i:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal",this.type=(c=e==null?void 0:e.type)!=null?c:"",this.priorityProcess=(u=e==null?void 0:e.priorityProcess)!=null?u:!1}}class fi{constructor(e){var n,i,a,r;this.id=(n=e==null?void 0:e.id)!=null?n:K(8),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.headers=(r=(a=e==null?void 0:e.headers)==null?void 0:a.map(c=>new Ct(c)))!=null?r:[],Le.call(this,e)}}class di{constructor(e){var n,i;this.key=(n=e.key)!=null?n:K(8),this.caption=(i=e.caption)!=null?i:""}}class Ut{constructor(e){var n,i,a,r;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(i=e==null?void 0:e.height)!=null?i:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(r=e==null?void 0:e.heightConfig)!=null?r:"fill"}}class hi{constructor(e){var n,i;this.optCode=(n=e==null?void 0:e.optCode)!=null?n:"",this.optType=(i=e==null?void 0:e.optType)!=null?i:""}}class kt{constructor(e){var n,i,a,r,c,u;this.id=(n=e==null?void 0:e.id)!=null?n:K(),this.name=(i=e==null?void 0:e.name)!=null?i:"",this.filters=(r=(a=e==null?void 0:e.filters)==null?void 0:a.map(d=>d.children!==void 0?new N(d):new te(d)))!=null?r:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(u=(c=e==null?void 0:e.settings)==null?void 0:c.map(d=>new Ht(d)))!=null?u:[]:[],this.script=e==null?void 0:e.script}}class Ht{constructor(e){var n,i,a,r;this.type=(n=e.type)!=null?n:"background",this.fieldCodes=(i=e.fieldCodes)!=null?i:[],this.color=(a=e.color)!=null?a:"theme",this.scope=(r=e.scope)!=null?r:"row"}}class yi{constructor(e){var n,i,a,r;this.type=(n=e==null?void 0:e.type)!=null?n:"none",this.interval=(i=e==null?void 0:e.interval)!=null?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(r=(a=e==null?void 0:e.rules)==null?void 0:a.map(c=>new kt(c)))!=null?r:[]:[]}}class me{constructor(e){this.isHide={type:"boolean"}}}class $e extends Array{constructor(e){super()}}class x{constructor(e,n=""){var i,a;this.isHide=(i=e==null?void 0:e.isHide)!=null?i:!1,this.style=new Ut(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}x.Rules=me,x.RuntimeRules=$e;function V(){return V=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},V.apply(this,arguments)}function gi(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ze(t){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(t)}function ve(t,e){return ve=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ve(t,e)}function mi(){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(t){return!1}}function we(t,e,n){return mi()?we=Reflect.construct:we=function(a,r,c){var u=[null];u.push.apply(u,r);var d=Function.bind.apply(a,u),o=new d;return c&&ve(o,c.prototype),o},we.apply(null,arguments)}function vi(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Oe(t){var e=typeof Map=="function"?new Map:void 0;return Oe=function(i){if(i===null||!vi(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,a)}function a(){return we(i,arguments,ze(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ve(a,i)},Oe(t)}var wi=/%[sdj%]/g,Lt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Lt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Xe(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function E(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var c=String(a).replace(wi,function(u){if(u==="%%")return"%";if(i>=r)return u;switch(u){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return u}});return c}return a}function bi(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function M(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||bi(e)&&typeof t=="string"&&!t)}function Ai(t,e,n){var i=[],a=0,r=t.length;function c(u){i.push.apply(i,u),a++,a===r&&n(i)}t.forEach(function(u){e(u,c)})}function xt(t,e,n){var i=0,a=t.length;function r(c){if(c&&c.length){n(c);return}var u=i;i=i+1,u<a?e(t[u],r):n([])}r([])}function Si(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Wt=function(t){gi(e,t);function e(n,i){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=i,a}return e}(Oe(Error));function Ii(t,e,n,i){if(e.first){var a=new Promise(function(v,D){var C=function(A){return i(A),A.length?D(new Wt(A,Xe(A))):v()},b=Si(t);xt(b,n,C)});return a.catch(function(v){return v}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var c=Object.keys(t),u=c.length,d=0,o=[],g=new Promise(function(v,D){var C=function(h){if(o.push.apply(o,h),d++,d===u)return i(o),o.length?D(new Wt(o,Xe(o))):v()};c.length||(i(o),v()),c.forEach(function(b){var h=t[b];r.indexOf(b)!==-1?xt(h,n,C):Ai(h,n,C)})});return g.catch(function(v){return v}),g}function Kt(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Pt(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=V(V({},t[n]),i):t[n]=i}}return t}function $t(t,e,n,i,a,r){t.required&&(!n.hasOwnProperty(t.field)||M(e,r||t.type))&&i.push(E(a.messages.required,t.fullField))}function Di(t,e,n,i,a){(/^\s+$/.test(e)||e==="")&&i.push(E(a.messages.whitespace,t.fullField))}var Je={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},ne={integer:function(e){return ne.number(e)&&parseInt(e,10)===e},float:function(e){return ne.number(e)&&!ne.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!ne.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Je.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Je.url)},hex:function(e){return typeof e=="string"&&!!e.match(Je.hex)}};function Ci(t,e,n,i,a){if(t.required&&e===void 0){$t(t,e,n,i,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=t.type;r.indexOf(c)>-1?ne[c](e)||i.push(E(a.messages.types[c],t.fullField,t.type)):c&&typeof e!==t.type&&i.push(E(a.messages.types[c],t.fullField,t.type))}function Ri(t,e,n,i,a){var r=typeof t.len=="number",c=typeof t.min=="number",u=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,g=null,v=typeof e=="number",D=typeof e=="string",C=Array.isArray(e);if(v?g="number":D?g="string":C&&(g="array"),!g)return!1;C&&(o=e.length),D&&(o=e.replace(d,"_").length),r?o!==t.len&&i.push(E(a.messages[g].len,t.fullField,t.len)):c&&!u&&o<t.min?i.push(E(a.messages[g].min,t.fullField,t.min)):u&&!c&&o>t.max?i.push(E(a.messages[g].max,t.fullField,t.max)):c&&u&&(o<t.min||o>t.max)&&i.push(E(a.messages[g].range,t.fullField,t.min,t.max))}var Z="enum";function _i(t,e,n,i,a){t[Z]=Array.isArray(t[Z])?t[Z]:[],t[Z].indexOf(e)===-1&&i.push(E(a.messages[Z],t.fullField,t[Z].join(", ")))}function Bi(t,e,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(E(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(E(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var m={required:$t,whitespace:Di,type:Ci,range:Ri,enum:_i,pattern:Bi};function Mi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e,"string")&&!t.required)return n();m.required(t,e,i,r,a,"string"),M(e,"string")||(m.type(t,e,i,r,a),m.range(t,e,i,r,a),m.pattern(t,e,i,r,a),t.whitespace===!0&&m.whitespace(t,e,i,r,a))}n(r)}function qi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&m.type(t,e,i,r,a)}n(r)}function Fi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(e===""&&(e=void 0),M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&(m.type(t,e,i,r,a),m.range(t,e,i,r,a))}n(r)}function Ei(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&m.type(t,e,i,r,a)}n(r)}function ji(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),M(e)||m.type(t,e,i,r,a)}n(r)}function Vi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&(m.type(t,e,i,r,a),m.range(t,e,i,r,a))}n(r)}function Ui(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&(m.type(t,e,i,r,a),m.range(t,e,i,r,a))}n(r)}function ki(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(e==null&&!t.required)return n();m.required(t,e,i,r,a,"array"),e!=null&&(m.type(t,e,i,r,a),m.range(t,e,i,r,a))}n(r)}function Hi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&m.type(t,e,i,r,a)}n(r)}var Li="enum";function xi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a),e!==void 0&&m[Li](t,e,i,r,a)}n(r)}function Wi(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e,"string")&&!t.required)return n();m.required(t,e,i,r,a),M(e,"string")||m.pattern(t,e,i,r,a)}n(r)}function Ki(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e,"date")&&!t.required)return n();if(m.required(t,e,i,r,a),!M(e,"date")){var u;e instanceof Date?u=e:u=new Date(e),m.type(t,u,i,r,a),u&&m.range(t,u.getTime(),i,r,a)}}n(r)}function Pi(t,e,n,i,a){var r=[],c=Array.isArray(e)?"array":typeof e;m.required(t,e,i,r,a,c),n(r)}function Ne(t,e,n,i,a){var r=t.type,c=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(M(e,r)&&!t.required)return n();m.required(t,e,i,c,a,r),M(e,r)||m.type(t,e,i,c,a)}n(c)}function $i(t,e,n,i,a){var r=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(M(e)&&!t.required)return n();m.required(t,e,i,r,a)}n(r)}var ie={string:Mi,method:qi,number:Fi,boolean:Ei,regexp:ji,integer:Vi,float:Ui,array:ki,object:Hi,enum:xi,pattern:Wi,date:Ki,url:Ne,hex:Ne,email:Ne,required:Pi,any:$i};function Ze(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Qe=Ze();function $(t){this.rules=null,this._messages=Qe,this.define(t)}$.prototype={messages:function(e){return e&&(this._messages=Pt(Ze(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,c=n,u=i;if(typeof c=="function"&&(u=c,c={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(),Promise.resolve();function d(h){var A,s=[],y={};function w(R){if(Array.isArray(R)){var B;s=(B=s).concat.apply(B,R)}else s.push(R)}for(A=0;A<h.length;A++)w(h[A]);s.length?y=Xe(s):(s=null,y=null),u(s,y)}if(c.messages){var o=this.messages();o===Qe&&(o=Ze()),Pt(o,c.messages),c.messages=o}else c.messages=this.messages();var g,v,D={},C=c.keys||Object.keys(this.rules);C.forEach(function(h){g=a.rules[h],v=r[h],g.forEach(function(A){var s=A;typeof s.transform=="function"&&(r===e&&(r=V({},r)),v=r[h]=s.transform(v)),typeof s=="function"?s={validator:s}:s=V({},s),s.validator=a.getValidationMethod(s),s.field=h,s.fullField=s.fullField||h,s.type=a.getType(s),s.validator&&(D[h]=D[h]||[],D[h].push({rule:s,value:v,source:r,field:h}))})});var b={};return Ii(D,c,function(h,A){var s=h.rule,y=(s.type==="object"||s.type==="array")&&(typeof s.fields=="object"||typeof s.defaultField=="object");y=y&&(s.required||!s.required&&h.value),s.field=h.field;function w(U,S){return V(V({},S),{},{fullField:s.fullField+"."+U})}function R(U){U===void 0&&(U=[]);var S=U;if(Array.isArray(S)||(S=[S]),!c.suppressWarning&&S.length&&$.warning("async-validator:",S),S.length&&s.message!==void 0&&(S=[].concat(s.message)),S=S.map(Kt(s)),c.first&&S.length)return b[s.field]=1,A(S);if(!y)A(S);else{if(s.required&&!h.value)return s.message!==void 0?S=[].concat(s.message).map(Kt(s)):c.error&&(S=[c.error(s,E(c.messages.required,s.field))]),A(S);var k={};if(s.defaultField)for(var Gt in h.value)h.value.hasOwnProperty(Gt)&&(k[Gt]=s.defaultField);k=V(V({},k),h.rule.fields);for(var Q in k)if(k.hasOwnProperty(Q)){var ia=Array.isArray(k[Q])?k[Q]:[k[Q]];k[Q]=ia.map(w.bind(null,Q))}var Tt=new $(k);Tt.messages(c.messages),h.rule.options&&(h.rule.options.messages=c.messages,h.rule.options.error=c.error),Tt.validate(h.value,h.rule.options||c,function(it){var G=[];S&&S.length&&G.push.apply(G,S),it&&it.length&&G.push.apply(G,it),A(G.length?G:null)})}}var B;s.asyncValidator?B=s.asyncValidator(s,h.value,R,h.source,c):s.validator&&(B=s.validator(s,h.value,R,h.source,c),B===!0?R():B===!1?R(s.message||s.field+" fails"):B instanceof Array?R(B):B instanceof Error&&R(B.message)),B&&B.then&&B.then(function(){return R()},function(U){return R(U)})},function(h){d(h)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ie.hasOwnProperty(e.type))throw new Error(E("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?ie.required:ie[this.getType(e)]||!1}},$.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ie[e]=n},$.warning=Lt,$.messages=Qe,$.validators=ie;const zi={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 zt(t,e={}){const n=new $(t);return n.messages(Object.assign(zi,e)),n}const Ot=new jn;class q{constructor(e){var D,C,b,h;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Jt,this.removeSetting=Xt,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:i,controlType:a,controlFieldType:r,controlEventKeys:c,controlCustomEvents:u,name:d,setting:o,slots:g,slotPosition:v}=new.target;n&&i&&a||dt(`The ${d} controlName,controlIcon,controlType is not define`),this.id=(D=e==null?void 0:e.id)!=null?D:K(10),this.name=n,this.icon=i,this.type=(C=e==null?void 0:e.type)!=null?C:a,this.props=new x(e==null?void 0:e.props,new.target.controlName),this.controlType=(b=e==null?void 0:e.controlType)!=null?b:"base",this.setting=L(o),this.fieldType=(h=e==null?void 0:e.fieldType)!=null?h:r,this.eventKeys=L(c),this.customEvents=L(u),this.slots=L(g),this.slotPosition=L(v),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...i]=e;return Ot.emit(n,this,...i)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),mn(this.props,e,n),this.postUpdate(e,n)}preValidate(){return ue(this,null,function*(){const e=O({},this.rules),n=yield this._callControlHooks("preValidate",e),i=n[n.length-1];return i===!1?void 0:i})}validate(e,n){return ue(this,null,function*(){const i=yield this.preValidate(),a=i!==void 0?i:O({},this.rules);Array.isArray(n)&&n.forEach(c=>{a.hasOwnProperty(c)&&delete a[c]});const r=zt(a,e);try{return yield r.validate(this.props),!0}catch(c){throw c.control||(c.control=this),c}})}toDataBindModel(e=null){const n=this.fieldType,i=this.id,a=this.type,{dataBind:r,datasourceBind:c,optionConfig:u,caption:d,required:o,maxLength:g,options:v,encrypted:D,encryptedMode:C}=this.props;if(!n&&!r&&!c)return;const b={parentId:e,fieldType:n,controlId:i,caption:d,type:a,props:{}};switch(r&&(b.dataBind=r),u){case"datasource":case void 0:c&&(b.datasourceBind=c);break;case"custom":b.props.options=v;break}return o!==void 0&&(b.required=o),g!==void 0&&(b.maxLength=g),D!==void 0&&(b.encrypted=D),C!==void 0&&(b.encryptedMode=C),b}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:L(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}q.mode="Designer",q.controlName="\u63A7\u4EF6",q.controlIcon="icon",q.controlType="control",q.controlEventKeys=[],q.controlCustomEvents=[],q.setting=[],q.__is_control__=!0,q.removeSettingItem=Xt,q.updateSettingItem=Jt;function Xt(t){(Array.isArray(t)?t:[t]).forEach(n=>{var r,c,u;const i=typeof n!="string",a=(r=this.setting)==null?void 0:r.findIndex(d=>d.key===(i?n.key:n));a!==-1&&(i?this.setting[a].showItems=(c=this.setting[a].showItems)==null?void 0:c.filter(d=>!n.hideItems.includes(d)):this.setting.splice(a,1),i&&!((u=this.setting[a].showItems)!=null&&u.length)&&this.setting.splice(a,1))})}function Jt(t,e){(typeof t=="string"?[t]:t).forEach(i=>{var r;const a=this.setting.find(c=>c.key===i);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((r=e.type)!=null?r:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class W{constructor(e){var c,u,d,o,g;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:i,name:a,controlCustomEvents:r}=new.target;n||dt(`The ${a} controlType is not define`),this.id=(c=e==null?void 0:e.id)!=null?c:K(10),this.type=(u=e==null?void 0:e.type)!=null?u:n,this.props=new x(e==null?void 0:e.props),this.customEvents=r,this.controlType=(d=e==null?void 0:e.controlType)!=null?d:"base",this.fieldType=(o=e==null?void 0:e.fieldType)!=null?o:i,this.pageStatus=(g=e==null?void 0:e.pageStatus)!=null?g:Pe.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}W.mode="Runtime",W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function Ge(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,i){n.length===0&&i(f.getMessage("optionIsRequired")),i()}},{type:"array",validator(e,n,i){const a=n.map(c=>c.value),r=Dn(a);a.length!==r.length?i(f.getMessage("optionIdIsRepeat")):i()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(e,n,i){n.length===0&&i(f.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Oi(t,e,n=!1){this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(i,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Nt(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}class Te extends me{constructor(e){super(e),this.dataBind={},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Nt(e.dataBind))this.dataBind={type:"object",required:!0,fields:L(n),message:f.getMessage("pleaseEnterFieldCode")};else{let i={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{i.fields[a]={type:"object",required:!0,fields:L(n),message:f.getMessage("pleaseEnterFieldCode")}}),this.dataBind=i}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zt extends $e{constructor(e){super(e);const n=e.isHide?!1:e.required;n&&this.push({type:"string",required:n,message:e.requiredMessage!==""?e.requiredMessage:f.getMessage("runtimeRequired",{caption:e.caption})})}}class ae extends x{constructor(e){var n,i,a,r,c,u,d,o,g,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"",this.required=(o=e==null?void 0:e.required)!=null?o:!1,this.requiredMessage=(g=e==null?void 0:e.requiredMessage)!=null?g:"",this.dataBind=new j(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ae.Rules=Te,ae.RuntimeRules=Zt;class Xi extends Te{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Ge.call(this,e)}}class Qt extends q{constructor(e){super(e),this.controlType="form",this.props=new ae(e==null?void 0:e.props)}}Qt.controlEventKeys=["on_change","on_focus","on_blur"];class Ji extends W{constructor(e){super(e),this.controlType="form",this.props=new ae(e==null?void 0:e.props)}}class re extends x{constructor(e){super(e)}}const Ni=1e4;class z extends q{constructor(e){super(e),this.controlType="layout";const{excludes:n,childrenMaxLength:i}=new.target;this.props=new re(e==null?void 0:e.props),P(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=L(n),this.childrenMaxLength=i}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){return ue(this,null,function*(){return yield at(z.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),i=n?[n]:[];return this.children.reduce((a,r)=>{const c=r.toDataBindModel(e);if(Array.isArray(c)){const u=c.filter(d=>!!d);return[...a,...u]}return c&&a.push(c),a},i)}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return ce(O({},e),{children:n})}}z.excludes=!1,z.childrenMaxLength=Ni;class Ye extends W{constructor(e){super(e),this.controlType="layout",this.props=new re(e==null?void 0:e.props),P(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}class pe extends x{constructor(e,n,i){var a,r,c,u;super(n),P(this,"headers",n==null?void 0:n.headers,e,i),P(this,"footers",n==null?void 0:n.footers,e),this.pageIndex=(a=n==null?void 0:n.pageIndex)!=null?a:1,this.pageSize=(r=n==null?void 0:n.pageSize)!=null?r:20,this.pageSizeOptions=(c=n==null?void 0:n.pageSizeOptions)!=null?c:[20],this.totalCount=(u=n==null?void 0:n.totalCount)!=null?u:0}}class be extends q{constructor(e){super(e),this.controlType="list",this.props=new pe(this,e==null?void 0:e.props,"Designer")}validate(e,n){return ue(this,null,function*(){return yield at(be.prototype,this,"validate").call(this,e),yield Promise.all(this.props.headers.map(i=>i.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],i=this.id;return this.props.headers.reduce((a,r)=>{const c=r.toDataBindModel(i);if(Array.isArray(c)){const u=c.filter(d=>!!d);return[...a,...u]}return c&&a.push(c),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(i=>i.toSchema());return ce(O({},e),{props:ce(O({},this.props),{headers:n})})}}be.controlFieldType=F.LIST;class Zi extends W{constructor(e){super(e),this.controlType="list",this.props=new pe(this,e==null?void 0:e.props,"Runtime"),P(this,"children",e==null?void 0:e.children,void 0,"Runtime")}get length(){return this.children.length}}class et extends me{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Ae extends x{constructor(e){var n,i,a,r,c;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new je(e==null?void 0:e.autoWidth),this.dataBind=new j(e==null?void 0:e.dataBind),this.sort=(r=e==null?void 0:e.sort)!=null?r:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan,this.autoHeight=(c=e==null?void 0:e.autoHeight)!=null?c:!1}}Ae.Rules=et;class Qi extends et{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Ge.call(this,e)}}class Gi extends q{constructor(e){super(e),this.controlType="column",this.props=new Ae(e==null?void 0:e.props),P(this,"children",e==null?void 0:e.children,void 0,"Designer")}toSchema(){const e=super.toSchema();return ce(O({},e),{children:this.children?this.children.map(n=>n.toSchema()):[]})}}class Ti extends W{constructor(e){super(e),this.controlType="column",this.props=new Ae(e==null?void 0:e.props),P(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}class tt extends re{constructor(e){super(e),this.dataBind=new j(e==null?void 0:e.dataBind)}}class Yi extends z{constructor(e){super(e),this.controlType="search",this.props=new tt(e==null?void 0:e.props)}}class pi extends Ye{constructor(e){super(e),this.controlType="search",this.props=new tt(e==null?void 0:e.props)}}class nt extends re{constructor(e){super(e)}}class ea extends z{constructor(e){super(e),this.controlType="wrap",this.props=new nt(e==null?void 0:e.props)}}class ta extends Ye{constructor(e){super(e),this.controlType="wrap",this.props=new nt(e==null?void 0:e.props)}}function na(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}l.AMOUNT_TYPE=Ke,l.AddressValue=ui,l.AmountDataBind=ii,l.AmountValue=ai,l.AutoWidth=je,l.BaseControlProperty=ae,l.BaseControlPropertyRules=Te,l.BaseControlPropertyRuntimeRules=Zt,l.BaseStyle=Ut,l.COMMON_SETTING_TYPE=Vt,l.CalcDataBind=li,l.CalcValue=si,l.ColumnControlProperty=Ae,l.ColumnControlPropertyRules=et,l.ColumnOptionAndDataSourcePropertyRules=Qi,l.CustomAttributeItem=xe,l.CustomPermissionItem=di,l.DataBind=j,l.DataSourceBind=ye,l.DataSourceDataSetValue=qt,l.DataSourceOrderItem=He,l.DataSourceParamItem=Jn,l.DataStorageDoc=Kn,l.DesignerColumnControl=Gi,l.DesignerControl=q,l.DesignerFormControl=Qt,l.DesignerLayoutControl=z,l.DesignerListControl=be,l.DesignerSearchControl=Yi,l.DesignerWrapControl=ea,l.DisplayBoListItem=ke,l.FieldBindItem=Rt,l.FieldFilterCondition=te,l.FieldFilterConditions=N,l.FillBackBind=Yn,l.FillPayloadBind=Tn,l.FormBind=he,l.FormSelectBind=Pn,l.ImageOptionSetting=jt,l.JoinRelation=On,l.Language=pn,l.LayoutControlProperty=re,l.LeftVariable=Bt,l.LinkOperationOption=Zn,l.ListBind=$n,l.ListControlProperty=pe,l.MetaAutoWidth=Wn,l.MetaRowHeight=xn,l.MetaWidth=de,l.MultistageFillingItem=Mt,l.ObjectDataBind=ge,l.OperationItem=oi,l.OptObject=hi,l.OptionAndDataSourcePropertyRules=Xi,l.OptionDisplayConfigItem=Xn,l.OptionSetting=We,l.OrganizationDataSourceBind=Qn,l.PAGE_STATUS=Pe,l.Property=x,l.PropertyRules=me,l.PropertyRuntimeRules=$e,l.RangeDataBind=ri,l.RangeDateValue=ci,l.RegisterControls=ee,l.RegularRules=ei,l.RightVariable=Ue,l.RowHeight=Ve,l.RowStyle=yi,l.RowStyleRule=kt,l.RowStyleSettings=Ht,l.RuntimeColumnControl=Ti,l.RuntimeControl=W,l.RuntimeFormControl=Ji,l.RuntimeLayoutControl=Ye,l.RuntimeListControl=Zi,l.RuntimeSearchControl=pi,l.RuntimeWrapControl=ta,l.SearchControlProperty=tt,l.SelectedContentConfig=Nn,l.SubListItem=_t,l.SubListPageConfig=zn,l.SuperDataSourceBind=Ft,l.TreeDataSourceBind=Gn,l.ViewOperationItem=fi,l.WrapControlProperty=nt,l.controlHooksEmitter=Ot,l.createValidator=zt,l.defineArrayParent=bt,l.defineControlArrayToProperty=P,l.defineParent=Fe,l.initImageOptions=ni,l.initLinkOperationRules=na,l.initOptionAndDataSourceRules=Ge,l.initOptions=ti,l.initSuperDataSourceRules=Oi,l.isDataBind=Nt,l.setPropertyDontEnum=fe,Object.defineProperty(l,"__esModule",{value:!0})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-core",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.3",
|
|
4
4
|
"description": "model engine core",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-shared": "2.23.0-beta.
|
|
29
|
+
"@byteluck-fe/model-driven-shared": "2.23.0-beta.3",
|
|
30
30
|
"async-validator": "3.5.1",
|
|
31
31
|
"tslib": "^2.1.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "4233299d1ab2a863ee7b44db8e2fa3cdf83af820"
|
|
34
34
|
}
|