From 568d9fc3cfeb261ab6e08ba445b4584f696abf7c Mon Sep 17 00:00:00 2001 From: 1-6 Date: Mon, 17 Jul 2023 09:36:07 +0800 Subject: [PATCH] x --- core/admin/index.html | 2 +- core/admin/p__Task__index.0056ca3c.async.js | 1 - core/admin/p__Task__index.27446b54.async.js | 2 + .../{umi.ce22547e.js => umi.d07105ee.js} | 2 +- core/task.go | 70 +++++++++++++------ 5 files changed, 51 insertions(+), 26 deletions(-) delete mode 100644 core/admin/p__Task__index.0056ca3c.async.js create mode 100644 core/admin/p__Task__index.27446b54.async.js rename core/admin/{umi.ce22547e.js => umi.d07105ee.js} (99%) diff --git a/core/admin/index.html b/core/admin/index.html index 45de2fb..6c08801 100644 --- a/core/admin/index.html +++ b/core/admin/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/core/admin/p__Task__index.0056ca3c.async.js b/core/admin/p__Task__index.0056ca3c.async.js deleted file mode 100644 index f4b4459..0000000 --- a/core/admin/p__Task__index.0056ca3c.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[785],{59419:function(J,Z,e){var v=e(75782),p=e(58733),g=e(18518),P=e(50959),S=e(60061),r=e(72961),E=e(11527),u=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],k=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],A=P.forwardRef(function(n,m){var W=n.fieldProps,B=n.children,y=n.params,j=n.proFieldProps,$=n.mode,b=n.valueEnum,C=n.request,V=n.showSearch,K=n.options,w=(0,p.Z)(n,u),_=(0,P.useContext)(S.Z);return(0,E.jsx)(r.Z,(0,v.Z)((0,v.Z)({valueEnum:(0,g.h)(b),request:C,params:y,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,v.Z)({options:K,mode:$,showSearch:V,getPopupContainer:_.getPopupContainer},W),ref:m,proFieldProps:j},w),{},{children:B}))}),x=P.forwardRef(function(n,m){var W=n.fieldProps,B=n.children,y=n.params,j=n.proFieldProps,$=n.mode,b=n.valueEnum,C=n.request,V=n.options,K=(0,p.Z)(n,k),w=(0,v.Z)({options:V,mode:$||"multiple",labelInValue:!0,showSearch:!0,showArrow:!1,autoClearSearchValue:!0,optionLabelProp:"label"},W),_=(0,P.useContext)(S.Z);return(0,E.jsx)(r.Z,(0,v.Z)((0,v.Z)({valueEnum:(0,g.h)(b),request:C,params:y,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,v.Z)({getPopupContainer:_.getPopupContainer},w),ref:m,proFieldProps:j},K),{},{children:B}))}),a=A,t=x,c=a;c.SearchSelect=t,c.displayName="ProFormComponent",Z.Z=c},66732:function(J,Z,e){var v=e(75782),p=e(58733),g=e(50959),P=e(72961),S=e(11527),r=["fieldProps","proFieldProps"],E=["fieldProps","proFieldProps"],u="text",k=function(t){var c=t.fieldProps,n=t.proFieldProps,m=(0,p.Z)(t,r);return(0,S.jsx)(P.Z,(0,v.Z)({valueType:u,fieldProps:c,filedConfig:{valueType:u},proFieldProps:n},m))},A=function(t){var c=t.fieldProps,n=t.proFieldProps,m=(0,p.Z)(t,E);return(0,S.jsx)(P.Z,(0,v.Z)({valueType:"password",fieldProps:c,proFieldProps:n,filedConfig:{valueType:u}},m))},x=k;x.Password=A,x.displayName="ProFormComponent",Z.Z=x},46271:function(J,Z,e){e.r(Z),e.d(Z,{default:function(){return ue}});var v=e(25359),p=e.n(v),g=e(49811),P=e.n(g),S=e(54306),r=e.n(S),E=e(45645),u=e(50959),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},A=k,x=e(26087),a=function(O,R){return u.createElement(x.Z,(0,E.Z)((0,E.Z)({},O),{},{ref:R,icon:A}))},t=u.forwardRef(a),c=e(27693),n=e(99168),m=e(12472),W=e(61643),B=e(81308),y=e(66732),j=e(59419),$=e(42096),b=e(24176),C=e(86195),V=e(833),K=e(31255),w=e(21362),_=e(68243),re=e(26572),oe=e(79112),o=e(11527),ue=function(){var i=(0,u.useRef)(),O=(0,u.useState)(H),R=r()(O,2),N=R[0],I=R[1],Q=[{title:"\u7F16\u53F7",dataIndex:"id",key:"id"},{title:"\u4EFB\u52A1ID",dataIndex:"task_id",key:"task_id",hideInTable:!0},{title:"\u4EFB\u52A1\u540D",dataIndex:"title",key:"title"},{title:"\u6267\u884C\u65F6\u95F4",dataIndex:"schedule",key:"schedule"},{title:"\u5907\u6CE8",dataIndex:"remark",key:"remark"},{title:"\u521B\u5EFA\u65E5\u671F",dataIndex:"created_at",key:"created_at",render:function(h,l){return(0,o.jsx)("span",{children:new Date(h*1e3).toLocaleDateString()})}},{title:"\u542F\u7528",dataIndex:"enable",key:"enable",renderFormItem:function(){return(0,o.jsx)(V.Z,{disabled:!0,defaultChecked:!1})},render:function(h,l){return(0,o.jsx)(V.Z,{onChange:function(d){(0,C.request)("/api/tasks",{method:"post",data:JSON.stringify({task_id:l.task_id,enable:d})})},defaultChecked:l==null?void 0:l.enable})}},{title:"\u64CD\u4F5C",valueType:"option",width:"130",render:function(h,l){return[(0,o.jsx)(K.Z,{title:"\u8FD0\u884C",children:(0,o.jsx)("a",{onClick:function(){(0,C.request)("/api/tasks/run?task_id="+l.task_id,{method:"get",data:JSON.stringify({task_id:l.task_id})}).finally(function(){w.ZP.success("\u8FD0\u884C\u6210\u529F\uFF01",1)})},children:(0,o.jsx)(t,{})},"run")}),(0,o.jsx)("a",{onClick:function(){return I(l)},children:"\u7F16\u8F91"},"more"),(0,o.jsx)("a",{onClick:function(){var d,L;(0,C.request)("/api/tasks",{method:"delete",data:JSON.stringify({task_id:l.task_id})}),(d=i.current)===null||d===void 0||(L=d.reloadAndRest)===null||L===void 0||L.call(d)},children:"\u5220\u9664"},"delete")]}}];return(0,o.jsxs)(m._z,{content:"\u8BA1\u5212\u4EFB\u52A1",children:[(0,o.jsx)(_.Z,{style:{marginBottom:10},children:(0,o.jsx)(re.ZP,{type:"primary",onClick:function(){I(le)},icon:(0,o.jsx)(c.Z,{}),children:"\u65B0\u5EFA\u4E00\u884C"})}),(0,o.jsx)(W.Z,{search:!1,actionRef:i,rowKey:function(h){return h.task_id},columns:Q,request:P()(p()().mark(function F(){var h,l=arguments;return p()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return h=l.length>0&&l[0]!==void 0?l[0]:{},d.abrupt("return",(0,C.request)("/api/tasks",{params:h}));case 2:case"end":return d.stop()}},F)}))}),N.id!=-1&&(0,o.jsx)(ie,{open:N.id!=-1,data:N,onCancel:function(){return I(H)},onFinish:function(){var F=P()(p()().mark(function h(l){return p()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:(0,C.request)("/api/tasks",{method:"post",data:JSON.stringify(l)}).then(function(L){var M,z;(M=i.current)===null||M===void 0||(z=M.reloadAndRest)===null||z===void 0||z.call(M),I(H)});case 1:case"end":return d.stop()}},h)}));return function(h){return F.apply(this,arguments)}}()})]})};function ie(i){var O,R,N=(0,u.useState)([]),I=r()(N,2),Q=I[0],F=I[1],h=(0,u.useState)({}),l=r()(h,2),T=l[0],d=l[1],L=(0,u.useState)(!1),M=r()(L,2),z=M[0],Ce=M[1],se=(0,u.useState)({}),X=r()(se,2),Fe=X[0],ge=X[1],de=(0,u.useState)([]),Y=r()(de,2),ce=Y[0],me=Y[1],ve=(0,u.useState)([]),q=r()(ve,2),pe=q[0],ee=q[1],he=(0,u.useState)([]),te=r()(he,2),fe=te[0],ae=te[1],Pe=(0,u.useState)([]),ne=r()(Pe,2),Ee=ne[0],Se=ne[1],U=(0,u.useRef)(),xe=function(f){var s;return(s=U.current)===null||s===void 0?void 0:s.getFieldValue(f)},ye=function(f,s){var G;return(G=U.current)===null||G===void 0?void 0:G.setFieldValue(f,s)};return i.data.task_id==""&&(i.data.task_id=(0,n.Z)()),(0,u.useEffect)(function(){var D,f=(D=U.current)===null||D===void 0?void 0:D.getFieldValue("platform");return(0,C.request)("/api/task/selects").then(function(s){s.data&&(d(s.data.scripts),ee(s.data.group_names),ae(s.data.user_names),me(s.data.platforms))}),function(){}},[z]),(0,o.jsx)(oe.Z,{title:i.data.id==0?"\u521B\u5EFA":"\u7F16\u8F91",open:!0,onCancel:i.onCancel,onOk:function(){var f;i.onFinish(U==null||(f=U.current)===null||f===void 0?void 0:f.getFieldsValue())},children:(0,o.jsxs)(B.A,{formRef:U,onValuesChange:function(f){},onFinish:i.onFinish,submitter:!1,children:[(0,o.jsx)(y.Z,{tooltip:"\u7CFB\u7EDF\u552F\u4E00\u4E0D\u53EF\u66F4\u6539\uFF0C\u53EA\u80FD\u5220\u9664\u3002",name:"task_id",initialValue:i.data.task_id,label:"\u4EFB\u52A1ID",disabled:!0,required:!0}),(0,o.jsxs)(B.A.Group,{children:[(0,o.jsx)(y.Z,{name:"title",initialValue:i.data.title,label:"\u4EFB\u52A1\u540D\u79F0"}),(0,o.jsx)(y.Z,{name:"remark",initialValue:i.data.remark,label:"\u4EFB\u52A1\u5907\u6CE8",rules:[{message:"\u8BF7\u586B\u5199\u4EFB\u52A1\u5907\u6CE8"}]})]}),(0,o.jsx)(y.Z,{name:"command",initialValue:i.data.command,tooltip:"\u811A\u672C\u9700\u8981\u53C2\u6570\u65F6\u586B\u5199",label:"\u4EFB\u52A1\u6307\u4EE4",rules:[{message:"\u8BF7\u586B\u5199\u4EFB\u52A1\u5907\u6CE8"}]}),(0,o.jsx)(y.Z,{name:"schedule",initialValue:i.data.schedule,tooltip:"\u811A\u672C\u9700\u8981\u53C2\u6570\u65F6\u586B\u5199",label:"\u8FD0\u884C\u65F6\u95F4"}),(0,o.jsx)(j.Z,{tooltip:"\u987A\u5E8F\u6267\u884C\u811A\u672C\u3002",name:"scripts",label:"\u6267\u884C\u811A\u672C",fieldProps:{mode:"multiple"},valueEnum:T,initialValue:(O=i.data.scripts)!==null&&O!==void 0?O:[]}),(0,o.jsx)($.u,{name:"senders",alwaysShowItemLabel:!0,initialValue:(R=i.data.senders)!==null&&R!==void 0?R:[],creatorButtonProps:{position:"top",creatorButtonText:"\u6DFB\u52A0\u6267\u884C\u73AF\u5883"},creatorRecord:{chat_id:"",user_id:""},children:(0,o.jsxs)(b.UW,{title:"\u6267\u884C\u73AF\u5883",children:[(0,o.jsx)(j.Z,{width:"lg",name:"user_id",label:"\u7528\u6237ID",fieldProps:{showSearch:!0,onSearch:function(f){(0,C.request)("/api/nickname/labels?ukeyword="+f).then(function(s){s&&s.data&&ae(s.data)})},notFoundContent:null},options:fe}),(0,o.jsx)(j.Z,{width:"lg",name:"chat_id",label:"\u7FA4\u804AID",fieldProps:{showSearch:!0,onSearch:function(f){(0,C.request)("/api/nickname/labels?gkeyword="+f).then(function(s){if(s&&s.data){var G=[{value:"",label:"\u79C1\u804A"}].concat(s.data);ee(G)}})},notFoundContent:null},options:pe}),(0,o.jsx)(j.Z,{width:"lg",label:"\u793E\u4EA4\u5A92\u4F53",name:"platform",options:ce})]})})]})},i.data.task_id)}var H={id:-1,task_id:""},le={id:0,task_id:"",schedule:"0 0 6 * * *"}},99168:function(J,Z,e){e.d(Z,{Z:function(){return x}});var p={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let g;const P=new Uint8Array(16);function S(){if(!g&&(g=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!g))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(P)}const r=[];for(let a=0;a<256;++a)r.push((a+256).toString(16).slice(1));function E(a,t=0){return(r[a[t+0]]+r[a[t+1]]+r[a[t+2]]+r[a[t+3]]+"-"+r[a[t+4]]+r[a[t+5]]+"-"+r[a[t+6]]+r[a[t+7]]+"-"+r[a[t+8]]+r[a[t+9]]+"-"+r[a[t+10]]+r[a[t+11]]+r[a[t+12]]+r[a[t+13]]+r[a[t+14]]+r[a[t+15]]).toLowerCase()}function u(a,t=0){const c=E(a,t);if(!validate(c))throw TypeError("Stringified UUID is invalid");return c}var k=null;function A(a,t,c){if(p.randomUUID&&!t&&!a)return p.randomUUID();a=a||{};const n=a.random||(a.rng||S)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){c=c||0;for(let m=0;m<16;++m)t[c+m]=n[m];return t}return E(n)}var x=A}}]); diff --git a/core/admin/p__Task__index.27446b54.async.js b/core/admin/p__Task__index.27446b54.async.js new file mode 100644 index 0000000..c6497d1 --- /dev/null +++ b/core/admin/p__Task__index.27446b54.async.js @@ -0,0 +1,2 @@ +(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[785],{59419:function(M,A,e){"use strict";var h=e(75782),g=e(58733),u=e(18518),m=e(50959),d=e(60061),o=e(72961),x=e(11527),c=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],D=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],i=m.forwardRef(function(a,C){var z=a.fieldProps,H=a.children,J=a.params,K=a.proFieldProps,R=a.mode,O=a.valueEnum,Q=a.request,X=a.showSearch,E=a.options,_=(0,g.Z)(a,c),$=(0,m.useContext)(d.Z);return(0,x.jsx)(o.Z,(0,h.Z)((0,h.Z)({valueEnum:(0,u.h)(O),request:Q,params:J,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,h.Z)({options:E,mode:R,showSearch:X,getPopupContainer:$.getPopupContainer},z),ref:C,proFieldProps:K},_),{},{children:H}))}),p=m.forwardRef(function(a,C){var z=a.fieldProps,H=a.children,J=a.params,K=a.proFieldProps,R=a.mode,O=a.valueEnum,Q=a.request,X=a.options,E=(0,g.Z)(a,D),_=(0,h.Z)({options:X,mode:R||"multiple",labelInValue:!0,showSearch:!0,showArrow:!1,autoClearSearchValue:!0,optionLabelProp:"label"},z),$=(0,m.useContext)(d.Z);return(0,x.jsx)(o.Z,(0,h.Z)((0,h.Z)({valueEnum:(0,u.h)(O),request:Q,params:J,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,h.Z)({getPopupContainer:$.getPopupContainer},_),ref:C,proFieldProps:K},E),{},{children:H}))}),t=i,n=p,f=t;f.SearchSelect=n,f.displayName="ProFormComponent",A.Z=f},66732:function(M,A,e){"use strict";var h=e(75782),g=e(58733),u=e(50959),m=e(72961),d=e(11527),o=["fieldProps","proFieldProps"],x=["fieldProps","proFieldProps"],c="text",D=function(n){var f=n.fieldProps,a=n.proFieldProps,C=(0,g.Z)(n,o);return(0,d.jsx)(m.Z,(0,h.Z)({valueType:c,fieldProps:f,filedConfig:{valueType:c},proFieldProps:a},C))},i=function(n){var f=n.fieldProps,a=n.proFieldProps,C=(0,g.Z)(n,x);return(0,d.jsx)(m.Z,(0,h.Z)({valueType:"password",fieldProps:f,proFieldProps:a,filedConfig:{valueType:c}},C))},p=D;p.Password=i,p.displayName="ProFormComponent",A.Z=p},46271:function(M,A,e){"use strict";e.r(A),e.d(A,{default:function(){return Se}});var h=e(54689),g=e.n(h),u=e(25359),m=e.n(u),d=e(49811),o=e.n(d),x=e(54306),c=e.n(x),D=e(45645),i=e(50959),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"},t=p,n=e(26087),f=function(U,b){return i.createElement(n.Z,(0,D.Z)((0,D.Z)({},U),{},{ref:b,icon:t}))},a=i.forwardRef(f),C=e(27693),z=e(99168),H=e(12472),J=e(61643),K=e(81308),R=e(66732),O=e(59419),Q=e(42096),X=e(24176),E=e(86195),_=e(63538),$=e(31255),se=e(833),ge=e(21362),xe=e(68243),Ee=e(26572),Fe=e(79112),r=e(11527),Se=function(){var v=(0,i.useRef)(),U=(0,i.useState)(re),b=c()(U,2),Y=b[0],B=b[1],de=[{title:"\u7F16\u53F7",dataIndex:"id",key:"id"},{title:"\u4EFB\u52A1ID",dataIndex:"task_id",key:"task_id",hideInTable:!0},{title:"\u4EFB\u52A1\u540D",dataIndex:"title",key:"title"},{title:"\u6267\u884C\u65F6\u95F4",dataIndex:"schedule",key:"schedule"},{title:"\u6267\u884C\u811A\u672C",dataIndex:"title",render:function(y,l){var S;return(0,r.jsx)(_.C.Group,{maxCount:2,maxStyle:{color:"#f56a00",backgroundColor:"#fde3cf"},children:(S=l.icons)===null||S===void 0?void 0:S.map(function(s){return(0,r.jsx)($.Z,{title:s.title,placement:"top",children:(0,r.jsx)(_.C,{src:s.link})})})})}},{title:"\u5907\u6CE8",dataIndex:"remark",key:"remark"},{title:"\u521B\u5EFA\u65E5\u671F",dataIndex:"created_at",key:"created_at",render:function(y,l){return(0,r.jsx)("span",{children:new Date(y*1e3).toLocaleDateString()})}},{title:"\u542F\u7528",dataIndex:"enable",key:"enable",renderFormItem:function(){return(0,r.jsx)(se.Z,{disabled:!0,defaultChecked:!1})},render:function(y,l){return(0,r.jsx)(se.Z,{onChange:function(s){(0,E.request)("/api/tasks",{method:"post",data:JSON.stringify({task_id:l.task_id,enable:s})})},defaultChecked:l==null?void 0:l.enable})}},{title:"\u64CD\u4F5C",valueType:"option",width:"130",render:function(y,l){return[(0,r.jsx)($.Z,{title:"\u8FD0\u884C",children:(0,r.jsx)("a",{onClick:function(){(0,E.request)("/api/tasks/run?task_id="+l.task_id,{method:"get",data:JSON.stringify({task_id:l.task_id})}).finally(function(){ge.ZP.success("\u8FD0\u884C\u6210\u529F\uFF01",1)})},children:(0,r.jsx)(a,{})})},"run"),(0,r.jsx)("a",{onClick:function(){return B(l)},children:"\u7F16\u8F91"},"more"),(0,r.jsx)("a",{onClick:function(){var s,N;(0,E.request)("/api/tasks",{method:"delete",data:JSON.stringify({task_id:l.task_id})}),(s=v.current)===null||s===void 0||(N=s.reloadAndRest)===null||N===void 0||N.call(s)},children:"\u5220\u9664"},"delete")]}}];return(0,r.jsxs)(H._z,{content:"\u8BA1\u5212\u4EFB\u52A1",children:[(0,r.jsx)(xe.Z,{style:{marginBottom:10},children:(0,r.jsx)(Ee.ZP,{type:"primary",onClick:function(){B({id:0,task_id:(0,z.Z)(),schedule:"0 0 6 * * *"})},icon:(0,r.jsx)(C.Z,{}),children:"\u65B0\u5EFA\u4E00\u884C"})}),(0,r.jsx)(J.Z,{search:!1,actionRef:v,rowKey:function(y){return y.task_id},columns:de,request:o()(m()().mark(function F(){var y,l=arguments;return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return y=l.length>0&&l[0]!==void 0?l[0]:{},s.abrupt("return",(0,E.request)("/api/tasks",{params:y}));case 2:case"end":return s.stop()}},F)}))}),Y.id!=-1&&(0,r.jsx)(De,{open:Y.id!=-1,data:Y,onCancel:function(){return B(re)},onFinish:function(){var F=o()(m()().mark(function y(l){return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:(0,E.request)("/api/tasks",{method:"post",data:JSON.stringify(l)}).then(function(N){var V,q;(V=v.current)===null||V===void 0||(q=V.reloadAndRest)===null||q===void 0||q.call(V),B(re)});case 1:case"end":return s.stop()}},y)}));return function(y){return F.apply(this,arguments)}}()})]})};function De(v){var U,b,Y=(0,i.useState)([]),B=c()(Y,2),de=B[0],F=B[1],y=(0,i.useState)({}),l=c()(y,2),S=l[0],s=l[1],N=(0,i.useState)(!1),V=c()(N,2),q=V[0],Te=V[1],je=(0,i.useState)({}),ce=c()(je,2),Me=ce[0],be=ce[1],Ze=(0,i.useState)({}),ve=c()(Ze,2),ee=ve[0],Ie=ve[1],Ae=(0,i.useState)([]),me=c()(Ae,2),pe=me[0],fe=me[1],Re=(0,i.useState)([]),he=c()(Re,2),Pe=he[0],Ce=he[1],Oe=(0,i.useState)([]),ye=c()(Oe,2),ke=ye[0],Ue=ye[1],G=(0,i.useRef)(),Be=function(Z){var L;return(L=G.current)===null||L===void 0?void 0:L.getFieldValue(Z)},Ve=function(Z,L){var k;return(k=G.current)===null||k===void 0?void 0:k.setFieldValue(Z,L)};return(0,i.useEffect)(function(){return(0,E.request)("/api/task/selects?task_id="+v.data.task_id).then(function(j){j.data&&(s(j.data.scripts),fe(j.data.group_names),Ce(j.data.user_names),Ie(j.data.platforms))}),function(){}},[q]),(0,r.jsx)(Fe.Z,{title:v.data.id==0?"\u521B\u5EFA":"\u7F16\u8F91",open:!0,onCancel:v.onCancel,onOk:function(){var Z;v.onFinish(G==null||(Z=G.current)===null||Z===void 0?void 0:Z.getFieldsValue())},children:(0,r.jsxs)(K.A,{formRef:G,onValuesChange:function(Z){Z.senders},onFinish:v.onFinish,submitter:!1,children:[(0,r.jsx)(R.Z,{tooltip:"\u7CFB\u7EDF\u552F\u4E00\u4E0D\u53EF\u66F4\u6539\uFF0C\u53EA\u80FD\u5220\u9664\u3002",name:"task_id",initialValue:v.data.task_id,label:"\u4EFB\u52A1ID",disabled:!0,required:!0}),(0,r.jsxs)(K.A.Group,{children:[(0,r.jsx)(R.Z,{name:"title",initialValue:v.data.title,label:"\u4EFB\u52A1\u540D\u79F0"}),(0,r.jsx)(R.Z,{name:"remark",initialValue:v.data.remark,label:"\u4EFB\u52A1\u5907\u6CE8",rules:[{message:"\u8BF7\u586B\u5199\u4EFB\u52A1\u5907\u6CE8"}]})]}),(0,r.jsx)(R.Z,{name:"command",initialValue:v.data.command,tooltip:"\u811A\u672C\u9700\u8981\u53C2\u6570\u65F6\u586B\u5199",label:"\u4EFB\u52A1\u6307\u4EE4",rules:[{message:"\u8BF7\u586B\u5199\u4EFB\u52A1\u5907\u6CE8"}]}),(0,r.jsx)(R.Z,{name:"schedule",initialValue:v.data.schedule,tooltip:"\u811A\u672C\u9700\u8981\u53C2\u6570\u65F6\u586B\u5199",label:"\u8FD0\u884C\u65F6\u95F4"}),(0,r.jsx)(O.Z,{tooltip:"\u987A\u5E8F\u6267\u884C\u811A\u672C\u3002",name:"scripts",label:"\u6267\u884C\u811A\u672C",fieldProps:{mode:"multiple"},valueEnum:S,initialValue:(U=v.data.scripts)!==null&&U!==void 0?U:[]}),(0,r.jsx)(Q.u,{name:"senders",alwaysShowItemLabel:!0,initialValue:(b=v.data.senders)!==null&&b!==void 0?b:[],creatorButtonProps:{position:"top",creatorButtonText:"\u6DFB\u52A0\u6267\u884C\u73AF\u5883"},creatorRecord:{chat_id:"",user_id:""},children:function(Z,L,k,Le){var oe=k.getCurrentRowData(),ie=oe.platform,we=oe.user_id,We=oe.chat_id;return(0,r.jsxs)(X.UW,{title:"\u6267\u884C\u73AF\u5883 "+(L+1),children:[(0,r.jsx)(O.Z,{width:"lg",name:"user_id",label:"\u7528\u6237ID",fieldProps:{showSearch:!0,onSearch:function(T){(0,E.request)("/api/nickname/labels?ukeyword="+T).then(function(I){I&&I.data&&Ce(I.data)})},notFoundContent:null,onChange:function(T,I){var P=g()(Pe),te;try{for(P.s();!(te=P.n()).done;){var ne=te.value,ue=ne.value,w=ne.platform;if(T==ue){if(ie!=w){var W;k.setCurrentRowData({platform:w,bot_id:(W=ee[w][0])!==null&&W!==void 0?W:""})}break}}}catch(le){P.e(le)}finally{P.f()}}},options:Pe}),(0,r.jsx)(O.Z,{width:"lg",name:"chat_id",label:"\u7FA4\u804AID",fieldProps:{showSearch:!0,onSearch:function(T){(0,E.request)("/api/nickname/labels?gkeyword="+T).then(function(I){if(I&&I.data){var P=[{value:"",label:"\u79C1\u804A"}].concat(I.data);fe(P)}})},notFoundContent:null,onChange:function(T,I){var P=g()(pe),te;try{for(P.s();!(te=P.n()).done;){var ne=te.value,ue=ne.value,w=ne.platform;if(T==ue){if(ie!=w){var W;k.setCurrentRowData({platform:w,bot_id:(W=ee[w][0])!==null&&W!==void 0?W:""})}break}}}catch(le){P.e(le)}finally{P.f()}}},options:pe}),(0,r.jsx)(O.Z,{width:"lg",label:"\u793E\u4EA4\u5A92\u4F53",name:"platform",options:Object.keys(ee),fieldProps:{onChange:function(T,I){var P;k.setCurrentRowData({bot_id:(P=ee[T][0])!==null&&P!==void 0?P:""})}}}),(0,r.jsx)(O.Z,{width:"lg",label:"\u673A\u5668\u4EBAID",name:"bot_id",options:ee[ie]})]})}})]})},v.data.task_id)}var re={id:-1,task_id:""}},99168:function(M,A,e){"use strict";e.d(A,{Z:function(){return p}});var g={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let u;const m=new Uint8Array(16);function d(){if(!u&&(u=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(m)}const o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));function x(t,n=0){return(o[t[n+0]]+o[t[n+1]]+o[t[n+2]]+o[t[n+3]]+"-"+o[t[n+4]]+o[t[n+5]]+"-"+o[t[n+6]]+o[t[n+7]]+"-"+o[t[n+8]]+o[t[n+9]]+"-"+o[t[n+10]]+o[t[n+11]]+o[t[n+12]]+o[t[n+13]]+o[t[n+14]]+o[t[n+15]]).toLowerCase()}function c(t,n=0){const f=x(t,n);if(!validate(f))throw TypeError("Stringified UUID is invalid");return f}var D=null;function i(t,n,f){if(g.randomUUID&&!n&&!t)return g.randomUUID();t=t||{};const a=t.random||(t.rng||d)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,n){f=f||0;for(let C=0;C<16;++C)n[f+C]=a[C];return n}return x(a)}var p=i},54689:function(M,A,e){var h=e(41442);function g(u,m){var d=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(!d){if(Array.isArray(u)||(d=h(u))||m&&u&&typeof u.length=="number"){d&&(u=d);var o=0,x=function(){};return{s:x,n:function(){return o>=u.length?{done:!0}:{done:!1,value:u[o++]}},e:function(t){throw t},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,D=!1,i;return{s:function(){d=d.call(u)},n:function(){var t=d.next();return c=t.done,t},e:function(t){D=!0,i=t},f:function(){try{!c&&d.return!=null&&d.return()}finally{if(D)throw i}}}}M.exports=g,M.exports.__esModule=!0,M.exports.default=M.exports}}]); diff --git a/core/admin/umi.ce22547e.js b/core/admin/umi.d07105ee.js similarity index 99% rename from core/admin/umi.ce22547e.js rename to core/admin/umi.d07105ee.js index 20474da..bccd4cc 100644 --- a/core/admin/umi.ce22547e.js +++ b/core/admin/umi.d07105ee.js @@ -287,6 +287,6 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(c){return n(c)||i(c)||(0,l.Z)(c)||r()}},34242:function(h,y,e){"use strict";e.d(y,{Z:function(){return i}});var o=e(82604);function n(l,r){if((0,o.Z)(l)!=="object"||l===null)return l;var f=l[Symbol.toPrimitive];if(f!==void 0){var c=f.call(l,r||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(l)}function i(l){var r=n(l,"string");return(0,o.Z)(r)==="symbol"?r:String(r)}},82604:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(n){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},o(n)}},7979:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(45725);function n(i,l){if(i){if(typeof i=="string")return(0,o.Z)(i,l);var r=Object.prototype.toString.call(i).slice(8,-1);if(r==="Object"&&i.constructor&&(r=i.constructor.name),r==="Map"||r==="Set")return Array.from(i);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(i,l)}}},8681:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(n,i){(i==null||i>n.length)&&(i=n.length);for(var l=0,r=new Array(i);l=i.length?{done:!0}:{done:!1,value:i[f++]}},e:function(g){throw g},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,d=!1,m;return{s:function(){r=r.call(i)},n:function(){var g=r.next();return u=g.done,g},e:function(g){d=!0,m=g},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(d)throw m}}}}},76614:function(h,y,e){"use strict";e.d(y,{Z:function(){return f}});function o(c){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},o(c)}function n(){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(c){return!1}}var i=e(26143),l=e(60790);function r(c,u){if(u&&((0,i.Z)(u)==="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,l.Z)(c)}function f(c){var u=n();return function(){var m=o(c),b;if(u){var g=o(this).constructor;b=Reflect.construct(m,arguments,g)}else b=m.apply(this,arguments);return r(this,b)}}},24572:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(1536);function n(i,l,r){return l=(0,o.Z)(l),l in i?Object.defineProperty(i,l,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[l]=r,i}},51163:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(){return o=Object.assign?Object.assign.bind():function(n){for(var i=1;i=0)&&(r[c]=i[c]);return r}function n(i,l){if(i==null)return{};var r=o(i,l),f,c;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(i,f)&&(r[f]=i[f])}return r}},99932:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(26143);function n(){"use strict";n=function(){return i};var i={},l=Object.prototype,r=l.hasOwnProperty,f=Object.defineProperty||function(F,D,w){F[D]=w.value},c=typeof Symbol=="function"?Symbol:{},u=c.iterator||"@@iterator",d=c.asyncIterator||"@@asyncIterator",m=c.toStringTag||"@@toStringTag";function b(F,D,w){return Object.defineProperty(F,D,{value:w,enumerable:!0,configurable:!0,writable:!0}),F[D]}try{b({},"")}catch(F){b=function(w,k,U){return w[k]=U}}function g(F,D,w,k){var U=D&&D.prototype instanceof M?D:M,Z=Object.create(U.prototype),J=new ne(k||[]);return f(Z,"_invoke",{value:V(F,w,J)}),Z}function x(F,D,w){try{return{type:"normal",arg:F.call(D,w)}}catch(k){return{type:"throw",arg:k}}}i.wrap=g;var T={};function M(){}function L(){}function $(){}var O={};b(O,u,function(){return this});var N=Object.getPrototypeOf,j=N&&N(N(oe([])));j&&j!==l&&r.call(j,u)&&(O=j);var I=$.prototype=M.prototype=Object.create(O);function R(F){["next","throw","return"].forEach(function(D){b(F,D,function(w){return this._invoke(D,w)})})}function A(F,D){function w(U,Z,J,ue){var Fe=x(F[U],F,Z);if(Fe.type!=="throw"){var be=Fe.arg,we=be.value;return we&&(0,o.Z)(we)=="object"&&r.call(we,"__await")?D.resolve(we.__await).then(function(De){w("next",De,J,ue)},function(De){w("throw",De,J,ue)}):D.resolve(we).then(function(De){be.value=De,J(be)},function(De){return w("throw",De,J,ue)})}ue(Fe.arg)}var k;f(this,"_invoke",{value:function(Z,J){function ue(){return new D(function(Fe,be){w(Z,J,Fe,be)})}return k=k?k.then(ue,ue):ue()}})}function V(F,D,w){var k="suspendedStart";return function(U,Z){if(k==="executing")throw new Error("Generator is already running");if(k==="completed"){if(U==="throw")throw Z;return _()}for(w.method=U,w.arg=Z;;){var J=w.delegate;if(J){var ue=H(J,w);if(ue){if(ue===T)continue;return ue}}if(w.method==="next")w.sent=w._sent=w.arg;else if(w.method==="throw"){if(k==="suspendedStart")throw k="completed",w.arg;w.dispatchException(w.arg)}else w.method==="return"&&w.abrupt("return",w.arg);k="executing";var Fe=x(F,D,w);if(Fe.type==="normal"){if(k=w.done?"completed":"suspendedYield",Fe.arg===T)continue;return{value:Fe.arg,done:w.done}}Fe.type==="throw"&&(k="completed",w.method="throw",w.arg=Fe.arg)}}}function H(F,D){var w=D.method,k=F.iterator[w];if(k===void 0)return D.delegate=null,w==="throw"&&F.iterator.return&&(D.method="return",D.arg=void 0,H(F,D),D.method==="throw")||w!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+w+"' method")),T;var U=x(k,F.iterator,D.arg);if(U.type==="throw")return D.method="throw",D.arg=U.arg,D.delegate=null,T;var Z=U.arg;return Z?Z.done?(D[F.resultName]=Z.value,D.next=F.nextLoc,D.method!=="return"&&(D.method="next",D.arg=void 0),D.delegate=null,T):Z:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,T)}function G(F){var D={tryLoc:F[0]};1 in F&&(D.catchLoc=F[1]),2 in F&&(D.finallyLoc=F[2],D.afterLoc=F[3]),this.tryEntries.push(D)}function K(F){var D=F.completion||{};D.type="normal",delete D.arg,F.completion=D}function ne(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(G,this),this.reset(!0)}function oe(F){if(F){var D=F[u];if(D)return D.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var w=-1,k=function U(){for(;++w=0;--U){var Z=this.tryEntries[U],J=Z.completion;if(Z.tryLoc==="root")return k("end");if(Z.tryLoc<=this.prev){var ue=r.call(Z,"catchLoc"),Fe=r.call(Z,"finallyLoc");if(ue&&Fe){if(this.prev=0;--k){var U=this.tryEntries[k];if(U.tryLoc<=this.prev&&r.call(U,"finallyLoc")&&this.prev=0;--w){var k=this.tryEntries[w];if(k.finallyLoc===D)return this.complete(k.completion,k.afterLoc),K(k),T}},catch:function(D){for(var w=this.tryEntries.length-1;w>=0;--w){var k=this.tryEntries[w];if(k.tryLoc===D){var U=k.completion;if(U.type==="throw"){var Z=U.arg;K(k)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(D,w,k){return this.delegate={iterator:oe(D),resultName:w,nextLoc:k},this.method==="next"&&(this.arg=void 0),T}},i}},91600:function(h,y,e){"use strict";e.d(y,{Z:function(){return r}});var o=e(20533);function n(f,c){var u=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(u!=null){var d,m,b,g,x=[],T=!0,M=!1;try{if(b=(u=u.call(f)).next,c===0){if(Object(u)!==u)return;T=!1}else for(;!(T=(d=b.call(u)).done)&&(x.push(d.value),x.length!==c);T=!0);}catch(L){M=!0,m=L}finally{try{if(!T&&u.return!=null&&(g=u.return(),Object(g)!==g))return}finally{if(M)throw m}}return x}}var i=e(22266),l=e(71885);function r(f,c){return(0,o.Z)(f)||n(f,c)||(0,i.Z)(f,c)||(0,l.Z)()}},9942:function(h,y,e){"use strict";e.d(y,{Z:function(){return r}});var o=e(20533),n=e(52987),i=e(22266),l=e(71885);function r(f){return(0,o.Z)(f)||(0,n.Z)(f)||(0,i.Z)(f)||(0,l.Z)()}},49544:function(h,y,e){"use strict";e.d(y,{Z:function(){return f}});var o=e(8681);function n(c){if(Array.isArray(c))return(0,o.Z)(c)}var i=e(52987),l=e(22266);function r(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(c){return n(c)||(0,i.Z)(c)||(0,l.Z)(c)||r()}},1536:function(h,y,e){"use strict";e.d(y,{Z:function(){return i}});var o=e(26143);function n(l,r){if((0,o.Z)(l)!=="object"||l===null)return l;var f=l[Symbol.toPrimitive];if(f!==void 0){var c=f.call(l,r||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(l)}function i(l){var r=n(l,"string");return(0,o.Z)(r)==="symbol"?r:String(r)}},26143:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(n){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},o(n)}},22266:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(8681);function n(i,l){if(i){if(typeof i=="string")return(0,o.Z)(i,l);var r=Object.prototype.toString.call(i).slice(8,-1);if(r==="Object"&&i.constructor&&(r=i.constructor.name),r==="Map"||r==="Set")return Array.from(i);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(i,l)}}},71448:function(h,y,e){"use strict";e.d(y,{Ab:function(){return l},Fr:function(){return r},G$:function(){return i},K$:function(){return d},MS:function(){return o},h5:function(){return f},lK:function(){return M},uj:function(){return n}});var o="-ms-",n="-moz-",i="-webkit-",l="comm",r="rule",f="decl",c="@page",u="@media",d="@import",m="@charset",b="@viewport",g="@supports",x="@document",T="@namespace",M="@keyframes",L="@font-face",$="@counter-style",O="@font-feature-values"},42727:function(h,y,e){"use strict";e.d(y,{MY:function(){return l}});var o=e(71448),n=e(22697),i=e(97765);function l(d){return(0,i.cE)(r("",null,null,null,[""],d=(0,i.un)(d),0,[0],d))}function r(d,m,b,g,x,T,M,L,$){for(var O=0,N=0,j=M,I=0,R=0,A=0,V=1,H=1,G=1,K=0,ne="",oe=x,_=T,F=g,D=ne;H;)switch(A=K,K=(0,i.lp)()){case 40:if(A!=108&&(0,n.uO)(D,j-1)==58){(0,n.Cw)(D+=(0,n.gx)((0,i.iF)(K),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:D+=(0,i.iF)(K);break;case 9:case 10:case 13:case 32:D+=(0,i.Qb)(A);break;case 92:D+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,n.R3)(c((0,i.q6)((0,i.lp)(),(0,i.Ud)()),m,b),$);break;default:D+="/"}break;case 123*V:L[O++]=(0,n.to)(D)*G;case 125*V:case 59:case 0:switch(K){case 0:case 125:H=0;case 59+N:R>0&&(0,n.to)(D)-j&&(0,n.R3)(R>32?u(D+";",g,b,j-1):u((0,n.gx)(D," ","")+";",g,b,j-2),$);break;case 59:D+=";";default:if((0,n.R3)(F=f(D,m,b,O,N,x,L,ne,oe=[],_=[],j),T),K===123)if(N===0)r(D,m,F,F,oe,T,j,L,_);else switch(I===99&&(0,n.uO)(D,3)===110?100:I){case 100:case 109:case 115:r(d,F,F,g&&(0,n.R3)(f(d,F,F,0,0,x,L,ne,x,oe=[],j),_),x,_,j,L,g?oe:_);break;default:r(D,F,F,F,[""],_,0,L,_)}}O=N=R=0,V=G=1,ne=D="",j=M;break;case 58:j=1+(0,n.to)(D),R=A;default:if(V<1){if(K==123)--V;else if(K==125&&V++==0&&(0,i.mp)()==125)continue}switch(D+=(0,n.Dp)(K),K*V){case 38:G=N>0?1:(D+="\f",-1);break;case 44:L[O++]=((0,n.to)(D)-1)*G,G=1;break;case 64:(0,i.fj)()===45&&(D+=(0,i.iF)((0,i.lp)())),I=(0,i.fj)(),N=j=(0,n.to)(ne=D+=(0,i.QU)((0,i.Ud)())),K++;break;case 45:A===45&&(0,n.to)(D)==2&&(V=0)}}return T}function f(d,m,b,g,x,T,M,L,$,O,N){for(var j=x-1,I=x===0?T:[""],R=(0,n.Ei)(I),A=0,V=0,H=0;A0?I[G]+" "+K:(0,n.gx)(K,/&\f/g,I[G])))&&($[H++]=ne);return(0,i.dH)(d,m,b,x===0?o.Fr:L,$,O,N)}function c(d,m,b){return(0,i.dH)(d,m,b,o.Ab,(0,n.Dp)((0,i.Tb)()),(0,n.tb)(d,2,-2),0)}function u(d,m,b,g){return(0,i.dH)(d,m,b,o.h5,(0,n.tb)(d,0,g),(0,n.tb)(d,g+1,-1),g)}},90137:function(h,y,e){"use strict";e.d(y,{P:function(){return l},q:function(){return i}});var o=e(71448),n=e(22697);function i(r,f){for(var c="",u=(0,n.Ei)(r),d=0;d0?(0,o.uO)(c,--r):0,i--,f===10&&(i=1,n--),f}function g(){return f=r2||L(f)>3?"":" "}function R(K){for(;g();)switch(L(f)){case 0:append(G(r-1),K);break;case 2:append(N(f),K);break;default:append(from(f),K)}return K}function A(K,ne){for(;--ne&&g()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return M(K,T()+(ne<6&&x()==32&&g()==32))}function V(K){for(;g();)switch(f){case K:return r;case 34:case 39:K!==34&&K!==39&&V(f);break;case 40:K===41&&V(K);break;case 92:g();break}return r}function H(K,ne){for(;g()&&K+f!==57;)if(K+f===84&&x()===47)break;return"/*"+M(ne,r-1)+"*"+(0,o.Dp)(K===47?K:g())}function G(K){for(;!L(x());)g();return M(K,r)}},22697:function(h,y,e){"use strict";e.d(y,{$e:function(){return T},Cw:function(){return u},Dp:function(){return n},EQ:function(){return f},Ei:function(){return g},R3:function(){return x},Wn:function(){return o},f0:function(){return i},fy:function(){return r},gx:function(){return c},tb:function(){return m},to:function(){return b},uO:function(){return d},vp:function(){return l}});var o=Math.abs,n=String.fromCharCode,i=Object.assign;function l(M,L){return d(M,0)^45?(((L<<2^d(M,0))<<2^d(M,1))<<2^d(M,2))<<2^d(M,3):0}function r(M){return M.trim()}function f(M,L){return(M=L.exec(M))?M[0]:M}function c(M,L,$){return M.replace(L,$)}function u(M,L){return M.indexOf(L)}function d(M,L){return M.charCodeAt(L)|0}function m(M,L,$){return M.slice(L,$)}function b(M){return M.length}function g(M){return M.length}function x(M,L){return L.push(M),M}function T(M,L){return M.map(L).join("")}},94083:function(h,y,e){"use strict";e.d(y,{J$:function(){return Je},ZP:function(){return _e},kY:function(){return Q}});var o=e(50959),n=e(4322);const i=new WeakMap,l={},r={},f=()=>{},c=f(),u=Object,d=Ze=>Ze===c,m=Ze=>typeof Ze=="function",b=(Ze,vt)=>Kp(Kp({},Ze),vt),g="undefined",x=typeof window!=g,T=typeof document!=g,M=()=>x&&typeof window.requestAnimationFrame!=g,L=(Ze,vt)=>{const wt=i.get(Ze);return[()=>Ze.get(vt)||l,me=>{if(!d(vt)){const We=Ze.get(vt);vt in r||(r[vt]=We),wt[5](vt,b(We,me),We||l)}},wt[6],()=>!d(vt)&&vt in r?r[vt]:Ze.get(vt)||l]},$=new WeakMap;let O=0;const N=Ze=>{const vt=typeof Ze,wt=Ze&&Ze.constructor,me=wt==Date;let We,Ke;if(u(Ze)===Ze&&!me&&wt!=RegExp){if(We=$.get(Ze),We)return We;if(We=++O+"~",$.set(Ze,We),wt==Array){for(We="@",Ke=0;Kej,[R,A]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[f,f],V=()=>{const Ze=T&&document.visibilityState;return d(Ze)||Ze!=="hidden"},H=Ze=>(T&&document.addEventListener("visibilitychange",Ze),R("focus",Ze),()=>{T&&document.removeEventListener("visibilitychange",Ze),A("focus",Ze)}),G=Ze=>{const vt=()=>{j=!0,Ze()},wt=()=>{j=!1};return R("online",vt),R("offline",wt),()=>{A("online",vt),A("offline",wt)}},K={isOnline:I,isVisible:V},ne={initFocus:H,initReconnect:G},oe=!o.useId,_=!x||"Deno"in window,F=Ze=>M()?window.requestAnimationFrame(Ze):setTimeout(Ze,1),D=_?o.useEffect:o.useLayoutEffect,w=typeof navigator!="undefined"&&navigator.connection,k=!_&&w&&(["slow-2g","2g"].includes(w.effectiveType)||w.saveData),U=Ze=>{if(m(Ze))try{Ze=Ze()}catch(wt){Ze=""}const vt=Ze;return Ze=typeof Ze=="string"?Ze:(Array.isArray(Ze)?Ze.length:Ze)?N(Ze):"",[Ze,vt]};let Z=0;const J=()=>++Z,ue=0,Fe=1,be=2;var we={__proto__:null,FOCUS_EVENT:ue,RECONNECT_EVENT:Fe,MUTATE_EVENT:be};function De(...Ze){return Dv(this,null,function*(){const[vt,wt,me,We]=Ze,Ke=b({populateCache:!0,throwOnError:!0},typeof We=="boolean"?{revalidate:We}:We||{});let mt=Ke.populateCache;const Ot=Ke.rollbackOnError;let Ut=Ke.optimisticData;const cn=Ke.revalidate!==!1,Ne=nt=>typeof Ot=="function"?Ot(nt):Ot!==!1,Me=Ke.throwOnError;if(m(wt)){const nt=wt,Mt=[],Lt=vt.keys();for(let Ct=Lt.next();!Ct.done;Ct=Lt.next()){const fn=Ct.value;!fn.startsWith("$inf$")&&nt(vt.get(fn)._k)&&Mt.push(fn)}return Promise.all(Mt.map(at))}return at(wt);function at(nt){return Dv(this,null,function*(){const[Mt]=U(nt);if(!Mt)return;const[Lt,Ct]=L(vt,Mt),[fn,zn,Mn]=i.get(vt),Tn=fn[Mt],or=()=>cn&&(delete Mn[Mt],Tn&&Tn[0])?Tn[0](be).then(()=>Lt().data):Lt().data;if(Ze.length<3)return or();let Jn=me,In;const Dn=J();zn[Mt]=[Dn,0];const $t=!d(Ut),kt=Lt(),jt=kt.data,Jt=kt._c,pn=d(Jt)?jt:Jt;if($t&&(Ut=m(Ut)?Ut(pn):Ut,Ct({data:Ut,_c:pn})),m(Jn))try{Jn=Jn(pn)}catch(bn){In=bn}if(Jn&&m(Jn.then))if(Jn=yield Jn.catch(bn=>{In=bn}),Dn!==zn[Mt][0]){if(In)throw In;return Jn}else In&&$t&&Ne(In)&&(mt=!0,Jn=pn,Ct({data:Jn,_c:c}));mt&&(In||(m(mt)&&(Jn=mt(Jn,pn)),Ct({data:Jn,_c:c}))),zn[Mt][1]=J();const Fn=yield or();if(Ct({_c:c}),In){if(Me)throw In;return}return mt?Fn:Jn})}})}const He=(Ze,vt)=>{for(const wt in Ze)Ze[wt][0]&&Ze[wt][0](vt)},Ve=(Ze,vt)=>{if(!i.has(Ze)){const wt=b(ne,vt),me={},We=De.bind(c,Ze);let Ke=f;const mt={},Ot=(Ne,Me)=>{const at=mt[Ne]||[];return mt[Ne]=at,at.push(Me),()=>at.splice(at.indexOf(Me),1)},Ut=(Ne,Me,at)=>{Ze.set(Ne,Me);const nt=mt[Ne];if(nt)for(let Mt=nt.length;Mt--;)nt[Mt](Me,at)},cn=()=>{if(!i.has(Ze)&&(i.set(Ze,[me,{},{},{},We,Ut,Ot]),!_)){const Ne=wt.initFocus(setTimeout.bind(c,He.bind(c,me,ue))),Me=wt.initReconnect(setTimeout.bind(c,He.bind(c,me,Fe)));Ke=()=>{Ne&&Ne(),Me&&Me(),i.delete(Ze)}}};return cn(),[Ze,We,cn,Ke]}return[Ze,i.get(Ze)[4]]},Ie=(Ze,vt,wt,me,We)=>{const Ke=wt.errorRetryCount,mt=We.retryCount,Ot=~~((Math.random()+.5)*(1<<(mt<8?mt:8)))*wt.errorRetryInterval;!d(Ke)&&mt>Ke||setTimeout(me,Ot,We)},Le=(Ze,vt)=>N(Ze)==N(vt),[dt,St]=Ve(new Map),ht=b({onLoadingSlow:f,onSuccess:f,onError:f,onErrorRetry:Ie,onDiscarded:f,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:k?5e3:3e3,compare:Le,isPaused:()=>!1,cache:dt,mutate:St,fallback:{}},K),pt=(Ze,vt)=>{const wt=b(Ze,vt);if(vt){const{use:me,fallback:We}=Ze,{use:Ke,fallback:mt}=vt;me&&Ke&&(wt.use=me.concat(Ke)),We&&mt&&(wt.fallback=b(We,mt))}return wt},Rt=(0,o.createContext)({}),q=Ze=>{const{value:vt}=Ze,wt=(0,o.useContext)(Rt),me=m(vt),We=(0,o.useMemo)(()=>me?vt(wt):vt,[me,wt,vt]),Ke=(0,o.useMemo)(()=>me?We:pt(wt,We),[me,wt,We]),mt=We&&We.provider,[Ot]=(0,o.useState)(()=>mt?Ve(mt(Ke.cache||dt),We):c);return Ot&&(Ke.cache=Ot[0],Ke.mutate=Ot[1]),D(()=>{if(Ot)return Ot[2]&&Ot[2](),Ot[3]},[]),(0,o.createElement)(Rt.Provider,b(Ze,{value:Ke}))},B=x&&window.__SWR_DEVTOOLS_USE__,S=B?window.__SWR_DEVTOOLS_USE__:[],C=()=>{B&&(window.__SWR_DEVTOOLS_REACT__=o)},Y=Ze=>m(Ze[1])?[Ze[0],Ze[1],Ze[2]||{}]:[Ze[0],null,(Ze[1]===null?Ze[2]:Ze[1])||{}],Q=()=>b(ht,(0,o.useContext)(Rt)),se=(Ze,vt)=>{const wt=U(Ze)[0],[,,,me]=i.get(dt);if(me[wt])return me[wt];const We=vt(Ze);return me[wt]=We,We},ye=Ze=>(vt,wt,me)=>Ze(vt,wt&&((...Ke)=>{const mt=U(vt)[0],[,,,Ot]=i.get(dt),Ut=Ot[mt];return Ut?(delete Ot[mt],Ut):wt(...Ke)}),me),re=S.concat(ye),he=Ze=>function(...wt){const me=Q(),[We,Ke,mt]=Y(wt),Ot=pt(me,mt);let Ut=Ze;const{use:cn}=Ot,Ne=(cn||[]).concat(re);for(let Me=Ne.length;Me--;)Ut=Ne[Me](Ut);return Ut(We,Ke||Ot.fetcher||null,Ot)},ot=Ze=>{const vt=useState({})[1],wt=useRef(!1),me=useRef(Ze),We=useRef({data:!1,error:!1,isValidating:!1}),Ke=useCallback(mt=>{let Ot=!1;const Ut=me.current;for(const cn in mt){const Ne=cn;Ut[Ne]!==mt[Ne]&&(Ut[Ne]=mt[Ne],We.current[Ne]&&(Ot=!0))}Ot&&!wt.current&&(oe?vt({}):React.startTransition(()=>vt({})))},[]);return D(()=>(wt.current=!1,()=>{wt.current=!0})),[me,We.current,Ke]},Ue=(Ze,vt,wt)=>{const me=vt[Ze]||(vt[Ze]=[]);return me.push(wt),()=>{const We=me.indexOf(wt);We>=0&&(me[We]=me[me.length-1],me.pop())}},Se=(Ze,vt)=>(...wt)=>{const[me,We,Ke]=Y(wt),mt=(Ke.use||[]).concat(vt);return Ze(me,We,KC(Kp({},Ke),{use:mt}))};C();const tt={dedupe:!0},yt=(Ze,vt,wt)=>{const{cache:me,compare:We,suspense:Ke,fallbackData:mt,revalidateOnMount:Ot,revalidateIfStale:Ut,refreshInterval:cn,refreshWhenHidden:Ne,refreshWhenOffline:Me,keepPreviousData:at}=wt,[nt,Mt,Lt]=i.get(me),[Ct,fn]=U(Ze),zn=(0,o.useRef)(!1),Mn=(0,o.useRef)(!1),Tn=(0,o.useRef)(Ct),or=(0,o.useRef)(vt),Jn=(0,o.useRef)(wt),In=()=>Jn.current,Dn=()=>In().isVisible()&&In().isOnline(),[$t,kt,jt,Jt]=L(me,Ct),pn=(0,o.useRef)({}).current,Fn=d(mt)?wt.fallback[Ct]:mt,bn=(qn,tr)=>{let Tr=!0;for(const Ir in pn){const Sr=Ir;Sr==="data"?We(tr[Sr],qn[Sr])||d(qn[Sr])&&We(tr[Sr],er)||(Tr=!1):tr[Sr]!==qn[Sr]&&(Tr=!1)}return Tr},Zn=(0,o.useMemo)(()=>{const qn=(()=>!Ct||!vt?!1:d(Ot)?In().isPaused()||Ke?!1:d(Ut)?!0:Ut:Ot)(),tr=Sr=>{const rt=b(Sr);return delete rt._k,qn?Kp({isValidating:!0,isLoading:!0},rt):rt};let Tr=tr($t());const Ir=tr(Jt());return[()=>{const Sr=tr($t());return bn(Sr,Tr)?Tr:Tr=Sr},()=>Ir]},[me,Ct]),_n=(0,n.useSyncExternalStore)((0,o.useCallback)(qn=>jt(Ct,(tr,Tr)=>{bn(Tr,tr)||qn()}),[me,Ct]),Zn[0],Zn[1]),sr=!zn.current,br=nt[Ct]&&nt[Ct].length>0,Or=_n.data,ur=d(Or)?Fn:Or,cr=_n.error,Pr=(0,o.useRef)(ur),er=at?d(Or)?Pr.current:Or:ur,Sa=(()=>br&&!d(cr)?!1:sr&&!d(Ot)?Ot:In().isPaused()?!1:Ke?d(ur)?!1:Ut:d(ur)||Ut)(),ya=!!(Ct&&vt&&sr&&Sa),Pa=d(_n.isValidating)?ya:_n.isValidating,$a=d(_n.isLoading)?ya:_n.isLoading,fa=(0,o.useCallback)(qn=>Dv(this,null,function*(){const tr=or.current;if(!Ct||!tr||Mn.current||In().isPaused())return!1;let Tr,Ir,Sr=!0;const rt=qn||{},Xe=!Lt[Ct]||!rt.dedupe,ut=()=>oe?!Mn.current&&Ct===Tn.current&&zn.current:Ct===Tn.current,st={isValidating:!1,isLoading:!1},It=()=>{kt(st)},Ye=()=>{const le=Lt[Ct];le&&le[1]===Ir&&delete Lt[Ct]},ve={isValidating:!0};d($t().data)&&(ve.isLoading=!0);try{if(Xe&&(kt(ve),wt.loadingTimeout&&d($t().data)&&setTimeout(()=>{Sr&&ut()&&In().onLoadingSlow(Ct,wt)},wt.loadingTimeout),Lt[Ct]=[tr(fn),J()]),[Tr,Ir]=Lt[Ct],Tr=yield Tr,Xe&&setTimeout(Ye,wt.dedupingInterval),!Lt[Ct]||Lt[Ct][1]!==Ir)return Xe&&ut()&&In().onDiscarded(Ct),!1;st.error=c;const le=Mt[Ct];if(!d(le)&&(Ir<=le[0]||Ir<=le[1]||le[1]===0))return It(),Xe&&ut()&&In().onDiscarded(Ct),!1;const Ee=$t().data;st.data=We(Ee,Tr)?Ee:Tr,Xe&&ut()&&In().onSuccess(Tr,Ct,wt)}catch(le){Ye();const Ee=In(),{shouldRetryOnError:de}=Ee;Ee.isPaused()||(st.error=le,Xe&&ut()&&(Ee.onError(le,Ct,Ee),(de===!0||m(de)&&de(le))&&Dn()&&Ee.onErrorRetry(le,Ct,Ee,fa,{retryCount:(rt.retryCount||0)+1,dedupe:!0})))}return Sr=!1,It(),!0}),[Ct,me]),nr=(0,o.useCallback)((...qn)=>De(me,Tn.current,...qn),[]);if(D(()=>{or.current=vt,Jn.current=wt,d(Or)||(Pr.current=Or)}),D(()=>{if(!Ct)return;const qn=fa.bind(c,tt);let tr=0;const Ir=Ue(Ct,nt,Sr=>{if(Sr==we.FOCUS_EVENT){const rt=Date.now();In().revalidateOnFocus&&rt>tr&&Dn()&&(tr=rt+In().focusThrottleInterval,qn())}else if(Sr==we.RECONNECT_EVENT)In().revalidateOnReconnect&&Dn()&&qn();else if(Sr==we.MUTATE_EVENT)return fa()});return Mn.current=!1,Tn.current=Ct,zn.current=!0,kt({_k:fn}),Sa&&(d(ur)||_?qn():F(qn)),()=>{Mn.current=!0,Ir()}},[Ct]),D(()=>{let qn;function tr(){const Ir=m(cn)?cn(ur):cn;Ir&&qn!==-1&&(qn=setTimeout(Tr,Ir))}function Tr(){!$t().error&&(Ne||In().isVisible())&&(Me||In().isOnline())?fa(tt).then(tr):tr()}return tr(),()=>{qn&&(clearTimeout(qn),qn=-1)}},[cn,Ne,Me,Ct]),(0,o.useDebugValue)(er),Ke&&d(ur)&&Ct)throw!oe&&_?new Error("Fallback data is required when using suspense in SSR."):(or.current=vt,Jn.current=wt,Mn.current=!1,d(cr)?fa(tt):cr);return{mutate:nr,get data(){return pn.data=!0,er},get error(){return pn.error=!0,cr},get isValidating(){return pn.isValidating=!0,Pa},get isLoading(){return pn.isLoading=!0,$a}}},Je=u.defineProperty(q,"defaultValue",{value:ht}),Nt=Ze=>serialize(Ze)[0];var _e=he(yt)}},Ls={};function ce(h){var y=Ls[h];if(y!==void 0)return y.exports;var e=Ls[h]={id:h,loaded:!1,exports:{}};return yl[h].call(e.exports,e,e.exports,ce),e.loaded=!0,e.exports}ce.m=yl,function(){ce.n=function(h){var y=h&&h.__esModule?function(){return h.default}:function(){return h};return ce.d(y,{a:y}),y}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y;ce.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var n=Object.create(null);ce.r(n);var i={};y=y||[null,h({}),h([]),h(h)];for(var l=o&2&&e;typeof l=="object"&&!~y.indexOf(l);l=h(l))Object.getOwnPropertyNames(l).forEach(function(r){i[r]=function(){return e[r]}});return i.default=function(){return e},ce.d(n,i),n}}(),function(){ce.d=function(h,y){for(var e in y)ce.o(y,e)&&!ce.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:y[e]})}}(),function(){ce.f={},ce.e=function(h){return Promise.all(Object.keys(ce.f).reduce(function(y,e){return ce.f[e](h,y),y},[]))}}(),function(){ce.u=function(h){return""+({81:"p__Message__Noreply__index",96:"p__Plugin__Share__index",145:"p__Plugin__Subscribe__index",185:"p__Welcome",274:"p__Carry__index",294:"p__Basic__index",301:"t__plugin-layout__Layout",354:"p__Storage__index",366:"p__User__Login__index",398:"p__Script__index",402:"p__Reply__index",430:"p__Master__index",538:"p__Message__Private__index",571:"p__404",583:"p__Proxy__index",737:"p__Plugin__Publish__index",785:"p__Task__index",929:"p__Secret__Fenyong__index",966:"p__Message__Listen__index"}[h]||h)+"."+{54:"698cd806",81:"21ff9f2d",96:"41925d7a",118:"99dbea07",145:"694c5bee",164:"339064d0",185:"31f51469",273:"3dfaac85",274:"ba07a3e6",294:"a03f98fd",301:"f972cb61",315:"ca5fa681",354:"31101d21",361:"a6a74763",366:"a85e5196",398:"2bc8fdd4",402:"c1b22478",430:"efad6296",454:"045543df",472:"ccfb3d48",538:"d005e661",571:"7e3f819c",583:"52cd85e5",630:"42a3526e",643:"eb5ab551",650:"6dec3238",737:"3b4ea689",785:"0056ca3c",845:"1f162f9a",852:"e34fba04",929:"809c357f",964:"43acb396",966:"5377170b",989:"2d9cc9ce"}[h]+".async.js"}}(),function(){ce.miniCssF=function(h){return"t__plugin-layout__Layout.74b4118c.chunk.css"}}(),function(){ce.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){ce.o=function(h,y){return Object.prototype.hasOwnProperty.call(h,y)}}(),function(){var h={},y="ant-design-pro:";ce.l=function(e,o,n,i){if(h[e]){h[e].push(o);return}var l,r;if(n!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c0&&(0,n.to)(D)-j&&(0,n.R3)(R>32?u(D+";",g,b,j-1):u((0,n.gx)(D," ","")+";",g,b,j-2),$);break;case 59:D+=";";default:if((0,n.R3)(F=f(D,m,b,O,N,x,L,ne,oe=[],_=[],j),T),K===123)if(N===0)r(D,m,F,F,oe,T,j,L,_);else switch(I===99&&(0,n.uO)(D,3)===110?100:I){case 100:case 109:case 115:r(d,F,F,g&&(0,n.R3)(f(d,F,F,0,0,x,L,ne,x,oe=[],j),_),x,_,j,L,g?oe:_);break;default:r(D,F,F,F,[""],_,0,L,_)}}O=N=R=0,V=G=1,ne=D="",j=M;break;case 58:j=1+(0,n.to)(D),R=A;default:if(V<1){if(K==123)--V;else if(K==125&&V++==0&&(0,i.mp)()==125)continue}switch(D+=(0,n.Dp)(K),K*V){case 38:G=N>0?1:(D+="\f",-1);break;case 44:L[O++]=((0,n.to)(D)-1)*G,G=1;break;case 64:(0,i.fj)()===45&&(D+=(0,i.iF)((0,i.lp)())),I=(0,i.fj)(),N=j=(0,n.to)(ne=D+=(0,i.QU)((0,i.Ud)())),K++;break;case 45:A===45&&(0,n.to)(D)==2&&(V=0)}}return T}function f(d,m,b,g,x,T,M,L,$,O,N){for(var j=x-1,I=x===0?T:[""],R=(0,n.Ei)(I),A=0,V=0,H=0;A0?I[G]+" "+K:(0,n.gx)(K,/&\f/g,I[G])))&&($[H++]=ne);return(0,i.dH)(d,m,b,x===0?o.Fr:L,$,O,N)}function c(d,m,b){return(0,i.dH)(d,m,b,o.Ab,(0,n.Dp)((0,i.Tb)()),(0,n.tb)(d,2,-2),0)}function u(d,m,b,g){return(0,i.dH)(d,m,b,o.h5,(0,n.tb)(d,0,g),(0,n.tb)(d,g+1,-1),g)}},90137:function(h,y,e){"use strict";e.d(y,{P:function(){return l},q:function(){return i}});var o=e(71448),n=e(22697);function i(r,f){for(var c="",u=(0,n.Ei)(r),d=0;d0?(0,o.uO)(c,--r):0,i--,f===10&&(i=1,n--),f}function g(){return f=r2||L(f)>3?"":" "}function R(K){for(;g();)switch(L(f)){case 0:append(G(r-1),K);break;case 2:append(N(f),K);break;default:append(from(f),K)}return K}function A(K,ne){for(;--ne&&g()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return M(K,T()+(ne<6&&x()==32&&g()==32))}function V(K){for(;g();)switch(f){case K:return r;case 34:case 39:K!==34&&K!==39&&V(f);break;case 40:K===41&&V(K);break;case 92:g();break}return r}function H(K,ne){for(;g()&&K+f!==57;)if(K+f===84&&x()===47)break;return"/*"+M(ne,r-1)+"*"+(0,o.Dp)(K===47?K:g())}function G(K){for(;!L(x());)g();return M(K,r)}},22697:function(h,y,e){"use strict";e.d(y,{$e:function(){return T},Cw:function(){return u},Dp:function(){return n},EQ:function(){return f},Ei:function(){return g},R3:function(){return x},Wn:function(){return o},f0:function(){return i},fy:function(){return r},gx:function(){return c},tb:function(){return m},to:function(){return b},uO:function(){return d},vp:function(){return l}});var o=Math.abs,n=String.fromCharCode,i=Object.assign;function l(M,L){return d(M,0)^45?(((L<<2^d(M,0))<<2^d(M,1))<<2^d(M,2))<<2^d(M,3):0}function r(M){return M.trim()}function f(M,L){return(M=L.exec(M))?M[0]:M}function c(M,L,$){return M.replace(L,$)}function u(M,L){return M.indexOf(L)}function d(M,L){return M.charCodeAt(L)|0}function m(M,L,$){return M.slice(L,$)}function b(M){return M.length}function g(M){return M.length}function x(M,L){return L.push(M),M}function T(M,L){return M.map(L).join("")}},94083:function(h,y,e){"use strict";e.d(y,{J$:function(){return Je},ZP:function(){return _e},kY:function(){return Q}});var o=e(50959),n=e(4322);const i=new WeakMap,l={},r={},f=()=>{},c=f(),u=Object,d=Ze=>Ze===c,m=Ze=>typeof Ze=="function",b=(Ze,vt)=>Kp(Kp({},Ze),vt),g="undefined",x=typeof window!=g,T=typeof document!=g,M=()=>x&&typeof window.requestAnimationFrame!=g,L=(Ze,vt)=>{const wt=i.get(Ze);return[()=>Ze.get(vt)||l,me=>{if(!d(vt)){const We=Ze.get(vt);vt in r||(r[vt]=We),wt[5](vt,b(We,me),We||l)}},wt[6],()=>!d(vt)&&vt in r?r[vt]:Ze.get(vt)||l]},$=new WeakMap;let O=0;const N=Ze=>{const vt=typeof Ze,wt=Ze&&Ze.constructor,me=wt==Date;let We,Ke;if(u(Ze)===Ze&&!me&&wt!=RegExp){if(We=$.get(Ze),We)return We;if(We=++O+"~",$.set(Ze,We),wt==Array){for(We="@",Ke=0;Kej,[R,A]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[f,f],V=()=>{const Ze=T&&document.visibilityState;return d(Ze)||Ze!=="hidden"},H=Ze=>(T&&document.addEventListener("visibilitychange",Ze),R("focus",Ze),()=>{T&&document.removeEventListener("visibilitychange",Ze),A("focus",Ze)}),G=Ze=>{const vt=()=>{j=!0,Ze()},wt=()=>{j=!1};return R("online",vt),R("offline",wt),()=>{A("online",vt),A("offline",wt)}},K={isOnline:I,isVisible:V},ne={initFocus:H,initReconnect:G},oe=!o.useId,_=!x||"Deno"in window,F=Ze=>M()?window.requestAnimationFrame(Ze):setTimeout(Ze,1),D=_?o.useEffect:o.useLayoutEffect,w=typeof navigator!="undefined"&&navigator.connection,k=!_&&w&&(["slow-2g","2g"].includes(w.effectiveType)||w.saveData),U=Ze=>{if(m(Ze))try{Ze=Ze()}catch(wt){Ze=""}const vt=Ze;return Ze=typeof Ze=="string"?Ze:(Array.isArray(Ze)?Ze.length:Ze)?N(Ze):"",[Ze,vt]};let Z=0;const J=()=>++Z,ue=0,Fe=1,be=2;var we={__proto__:null,FOCUS_EVENT:ue,RECONNECT_EVENT:Fe,MUTATE_EVENT:be};function De(...Ze){return Dv(this,null,function*(){const[vt,wt,me,We]=Ze,Ke=b({populateCache:!0,throwOnError:!0},typeof We=="boolean"?{revalidate:We}:We||{});let mt=Ke.populateCache;const Ot=Ke.rollbackOnError;let Ut=Ke.optimisticData;const cn=Ke.revalidate!==!1,Ne=nt=>typeof Ot=="function"?Ot(nt):Ot!==!1,Me=Ke.throwOnError;if(m(wt)){const nt=wt,Mt=[],Lt=vt.keys();for(let Ct=Lt.next();!Ct.done;Ct=Lt.next()){const fn=Ct.value;!fn.startsWith("$inf$")&&nt(vt.get(fn)._k)&&Mt.push(fn)}return Promise.all(Mt.map(at))}return at(wt);function at(nt){return Dv(this,null,function*(){const[Mt]=U(nt);if(!Mt)return;const[Lt,Ct]=L(vt,Mt),[fn,zn,Mn]=i.get(vt),Tn=fn[Mt],or=()=>cn&&(delete Mn[Mt],Tn&&Tn[0])?Tn[0](be).then(()=>Lt().data):Lt().data;if(Ze.length<3)return or();let Jn=me,In;const Dn=J();zn[Mt]=[Dn,0];const $t=!d(Ut),kt=Lt(),jt=kt.data,Jt=kt._c,pn=d(Jt)?jt:Jt;if($t&&(Ut=m(Ut)?Ut(pn):Ut,Ct({data:Ut,_c:pn})),m(Jn))try{Jn=Jn(pn)}catch(bn){In=bn}if(Jn&&m(Jn.then))if(Jn=yield Jn.catch(bn=>{In=bn}),Dn!==zn[Mt][0]){if(In)throw In;return Jn}else In&&$t&&Ne(In)&&(mt=!0,Jn=pn,Ct({data:Jn,_c:c}));mt&&(In||(m(mt)&&(Jn=mt(Jn,pn)),Ct({data:Jn,_c:c}))),zn[Mt][1]=J();const Fn=yield or();if(Ct({_c:c}),In){if(Me)throw In;return}return mt?Fn:Jn})}})}const He=(Ze,vt)=>{for(const wt in Ze)Ze[wt][0]&&Ze[wt][0](vt)},Ve=(Ze,vt)=>{if(!i.has(Ze)){const wt=b(ne,vt),me={},We=De.bind(c,Ze);let Ke=f;const mt={},Ot=(Ne,Me)=>{const at=mt[Ne]||[];return mt[Ne]=at,at.push(Me),()=>at.splice(at.indexOf(Me),1)},Ut=(Ne,Me,at)=>{Ze.set(Ne,Me);const nt=mt[Ne];if(nt)for(let Mt=nt.length;Mt--;)nt[Mt](Me,at)},cn=()=>{if(!i.has(Ze)&&(i.set(Ze,[me,{},{},{},We,Ut,Ot]),!_)){const Ne=wt.initFocus(setTimeout.bind(c,He.bind(c,me,ue))),Me=wt.initReconnect(setTimeout.bind(c,He.bind(c,me,Fe)));Ke=()=>{Ne&&Ne(),Me&&Me(),i.delete(Ze)}}};return cn(),[Ze,We,cn,Ke]}return[Ze,i.get(Ze)[4]]},Ie=(Ze,vt,wt,me,We)=>{const Ke=wt.errorRetryCount,mt=We.retryCount,Ot=~~((Math.random()+.5)*(1<<(mt<8?mt:8)))*wt.errorRetryInterval;!d(Ke)&&mt>Ke||setTimeout(me,Ot,We)},Le=(Ze,vt)=>N(Ze)==N(vt),[dt,St]=Ve(new Map),ht=b({onLoadingSlow:f,onSuccess:f,onError:f,onErrorRetry:Ie,onDiscarded:f,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:k?5e3:3e3,compare:Le,isPaused:()=>!1,cache:dt,mutate:St,fallback:{}},K),pt=(Ze,vt)=>{const wt=b(Ze,vt);if(vt){const{use:me,fallback:We}=Ze,{use:Ke,fallback:mt}=vt;me&&Ke&&(wt.use=me.concat(Ke)),We&&mt&&(wt.fallback=b(We,mt))}return wt},Rt=(0,o.createContext)({}),q=Ze=>{const{value:vt}=Ze,wt=(0,o.useContext)(Rt),me=m(vt),We=(0,o.useMemo)(()=>me?vt(wt):vt,[me,wt,vt]),Ke=(0,o.useMemo)(()=>me?We:pt(wt,We),[me,wt,We]),mt=We&&We.provider,[Ot]=(0,o.useState)(()=>mt?Ve(mt(Ke.cache||dt),We):c);return Ot&&(Ke.cache=Ot[0],Ke.mutate=Ot[1]),D(()=>{if(Ot)return Ot[2]&&Ot[2](),Ot[3]},[]),(0,o.createElement)(Rt.Provider,b(Ze,{value:Ke}))},B=x&&window.__SWR_DEVTOOLS_USE__,S=B?window.__SWR_DEVTOOLS_USE__:[],C=()=>{B&&(window.__SWR_DEVTOOLS_REACT__=o)},Y=Ze=>m(Ze[1])?[Ze[0],Ze[1],Ze[2]||{}]:[Ze[0],null,(Ze[1]===null?Ze[2]:Ze[1])||{}],Q=()=>b(ht,(0,o.useContext)(Rt)),se=(Ze,vt)=>{const wt=U(Ze)[0],[,,,me]=i.get(dt);if(me[wt])return me[wt];const We=vt(Ze);return me[wt]=We,We},ye=Ze=>(vt,wt,me)=>Ze(vt,wt&&((...Ke)=>{const mt=U(vt)[0],[,,,Ot]=i.get(dt),Ut=Ot[mt];return Ut?(delete Ot[mt],Ut):wt(...Ke)}),me),re=S.concat(ye),he=Ze=>function(...wt){const me=Q(),[We,Ke,mt]=Y(wt),Ot=pt(me,mt);let Ut=Ze;const{use:cn}=Ot,Ne=(cn||[]).concat(re);for(let Me=Ne.length;Me--;)Ut=Ne[Me](Ut);return Ut(We,Ke||Ot.fetcher||null,Ot)},ot=Ze=>{const vt=useState({})[1],wt=useRef(!1),me=useRef(Ze),We=useRef({data:!1,error:!1,isValidating:!1}),Ke=useCallback(mt=>{let Ot=!1;const Ut=me.current;for(const cn in mt){const Ne=cn;Ut[Ne]!==mt[Ne]&&(Ut[Ne]=mt[Ne],We.current[Ne]&&(Ot=!0))}Ot&&!wt.current&&(oe?vt({}):React.startTransition(()=>vt({})))},[]);return D(()=>(wt.current=!1,()=>{wt.current=!0})),[me,We.current,Ke]},Ue=(Ze,vt,wt)=>{const me=vt[Ze]||(vt[Ze]=[]);return me.push(wt),()=>{const We=me.indexOf(wt);We>=0&&(me[We]=me[me.length-1],me.pop())}},Se=(Ze,vt)=>(...wt)=>{const[me,We,Ke]=Y(wt),mt=(Ke.use||[]).concat(vt);return Ze(me,We,KC(Kp({},Ke),{use:mt}))};C();const tt={dedupe:!0},yt=(Ze,vt,wt)=>{const{cache:me,compare:We,suspense:Ke,fallbackData:mt,revalidateOnMount:Ot,revalidateIfStale:Ut,refreshInterval:cn,refreshWhenHidden:Ne,refreshWhenOffline:Me,keepPreviousData:at}=wt,[nt,Mt,Lt]=i.get(me),[Ct,fn]=U(Ze),zn=(0,o.useRef)(!1),Mn=(0,o.useRef)(!1),Tn=(0,o.useRef)(Ct),or=(0,o.useRef)(vt),Jn=(0,o.useRef)(wt),In=()=>Jn.current,Dn=()=>In().isVisible()&&In().isOnline(),[$t,kt,jt,Jt]=L(me,Ct),pn=(0,o.useRef)({}).current,Fn=d(mt)?wt.fallback[Ct]:mt,bn=(qn,tr)=>{let Tr=!0;for(const Ir in pn){const Sr=Ir;Sr==="data"?We(tr[Sr],qn[Sr])||d(qn[Sr])&&We(tr[Sr],er)||(Tr=!1):tr[Sr]!==qn[Sr]&&(Tr=!1)}return Tr},Zn=(0,o.useMemo)(()=>{const qn=(()=>!Ct||!vt?!1:d(Ot)?In().isPaused()||Ke?!1:d(Ut)?!0:Ut:Ot)(),tr=Sr=>{const rt=b(Sr);return delete rt._k,qn?Kp({isValidating:!0,isLoading:!0},rt):rt};let Tr=tr($t());const Ir=tr(Jt());return[()=>{const Sr=tr($t());return bn(Sr,Tr)?Tr:Tr=Sr},()=>Ir]},[me,Ct]),_n=(0,n.useSyncExternalStore)((0,o.useCallback)(qn=>jt(Ct,(tr,Tr)=>{bn(Tr,tr)||qn()}),[me,Ct]),Zn[0],Zn[1]),sr=!zn.current,br=nt[Ct]&&nt[Ct].length>0,Or=_n.data,ur=d(Or)?Fn:Or,cr=_n.error,Pr=(0,o.useRef)(ur),er=at?d(Or)?Pr.current:Or:ur,Sa=(()=>br&&!d(cr)?!1:sr&&!d(Ot)?Ot:In().isPaused()?!1:Ke?d(ur)?!1:Ut:d(ur)||Ut)(),ya=!!(Ct&&vt&&sr&&Sa),Pa=d(_n.isValidating)?ya:_n.isValidating,$a=d(_n.isLoading)?ya:_n.isLoading,fa=(0,o.useCallback)(qn=>Dv(this,null,function*(){const tr=or.current;if(!Ct||!tr||Mn.current||In().isPaused())return!1;let Tr,Ir,Sr=!0;const rt=qn||{},Xe=!Lt[Ct]||!rt.dedupe,ut=()=>oe?!Mn.current&&Ct===Tn.current&&zn.current:Ct===Tn.current,st={isValidating:!1,isLoading:!1},It=()=>{kt(st)},Ye=()=>{const le=Lt[Ct];le&&le[1]===Ir&&delete Lt[Ct]},ve={isValidating:!0};d($t().data)&&(ve.isLoading=!0);try{if(Xe&&(kt(ve),wt.loadingTimeout&&d($t().data)&&setTimeout(()=>{Sr&&ut()&&In().onLoadingSlow(Ct,wt)},wt.loadingTimeout),Lt[Ct]=[tr(fn),J()]),[Tr,Ir]=Lt[Ct],Tr=yield Tr,Xe&&setTimeout(Ye,wt.dedupingInterval),!Lt[Ct]||Lt[Ct][1]!==Ir)return Xe&&ut()&&In().onDiscarded(Ct),!1;st.error=c;const le=Mt[Ct];if(!d(le)&&(Ir<=le[0]||Ir<=le[1]||le[1]===0))return It(),Xe&&ut()&&In().onDiscarded(Ct),!1;const Ee=$t().data;st.data=We(Ee,Tr)?Ee:Tr,Xe&&ut()&&In().onSuccess(Tr,Ct,wt)}catch(le){Ye();const Ee=In(),{shouldRetryOnError:de}=Ee;Ee.isPaused()||(st.error=le,Xe&&ut()&&(Ee.onError(le,Ct,Ee),(de===!0||m(de)&&de(le))&&Dn()&&Ee.onErrorRetry(le,Ct,Ee,fa,{retryCount:(rt.retryCount||0)+1,dedupe:!0})))}return Sr=!1,It(),!0}),[Ct,me]),nr=(0,o.useCallback)((...qn)=>De(me,Tn.current,...qn),[]);if(D(()=>{or.current=vt,Jn.current=wt,d(Or)||(Pr.current=Or)}),D(()=>{if(!Ct)return;const qn=fa.bind(c,tt);let tr=0;const Ir=Ue(Ct,nt,Sr=>{if(Sr==we.FOCUS_EVENT){const rt=Date.now();In().revalidateOnFocus&&rt>tr&&Dn()&&(tr=rt+In().focusThrottleInterval,qn())}else if(Sr==we.RECONNECT_EVENT)In().revalidateOnReconnect&&Dn()&&qn();else if(Sr==we.MUTATE_EVENT)return fa()});return Mn.current=!1,Tn.current=Ct,zn.current=!0,kt({_k:fn}),Sa&&(d(ur)||_?qn():F(qn)),()=>{Mn.current=!0,Ir()}},[Ct]),D(()=>{let qn;function tr(){const Ir=m(cn)?cn(ur):cn;Ir&&qn!==-1&&(qn=setTimeout(Tr,Ir))}function Tr(){!$t().error&&(Ne||In().isVisible())&&(Me||In().isOnline())?fa(tt).then(tr):tr()}return tr(),()=>{qn&&(clearTimeout(qn),qn=-1)}},[cn,Ne,Me,Ct]),(0,o.useDebugValue)(er),Ke&&d(ur)&&Ct)throw!oe&&_?new Error("Fallback data is required when using suspense in SSR."):(or.current=vt,Jn.current=wt,Mn.current=!1,d(cr)?fa(tt):cr);return{mutate:nr,get data(){return pn.data=!0,er},get error(){return pn.error=!0,cr},get isValidating(){return pn.isValidating=!0,Pa},get isLoading(){return pn.isLoading=!0,$a}}},Je=u.defineProperty(q,"defaultValue",{value:ht}),Nt=Ze=>serialize(Ze)[0];var _e=he(yt)}},Ls={};function ce(h){var y=Ls[h];if(y!==void 0)return y.exports;var e=Ls[h]={id:h,loaded:!1,exports:{}};return yl[h].call(e.exports,e,e.exports,ce),e.loaded=!0,e.exports}ce.m=yl,function(){ce.n=function(h){var y=h&&h.__esModule?function(){return h.default}:function(){return h};return ce.d(y,{a:y}),y}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y;ce.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var n=Object.create(null);ce.r(n);var i={};y=y||[null,h({}),h([]),h(h)];for(var l=o&2&&e;typeof l=="object"&&!~y.indexOf(l);l=h(l))Object.getOwnPropertyNames(l).forEach(function(r){i[r]=function(){return e[r]}});return i.default=function(){return e},ce.d(n,i),n}}(),function(){ce.d=function(h,y){for(var e in y)ce.o(y,e)&&!ce.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:y[e]})}}(),function(){ce.f={},ce.e=function(h){return Promise.all(Object.keys(ce.f).reduce(function(y,e){return ce.f[e](h,y),y},[]))}}(),function(){ce.u=function(h){return""+({81:"p__Message__Noreply__index",96:"p__Plugin__Share__index",145:"p__Plugin__Subscribe__index",185:"p__Welcome",274:"p__Carry__index",294:"p__Basic__index",301:"t__plugin-layout__Layout",354:"p__Storage__index",366:"p__User__Login__index",398:"p__Script__index",402:"p__Reply__index",430:"p__Master__index",538:"p__Message__Private__index",571:"p__404",583:"p__Proxy__index",737:"p__Plugin__Publish__index",785:"p__Task__index",929:"p__Secret__Fenyong__index",966:"p__Message__Listen__index"}[h]||h)+"."+{54:"698cd806",81:"21ff9f2d",96:"41925d7a",118:"99dbea07",145:"694c5bee",164:"339064d0",185:"31f51469",273:"3dfaac85",274:"ba07a3e6",294:"a03f98fd",301:"f972cb61",315:"ca5fa681",354:"31101d21",361:"a6a74763",366:"a85e5196",398:"2bc8fdd4",402:"c1b22478",430:"efad6296",454:"045543df",472:"ccfb3d48",538:"d005e661",571:"7e3f819c",583:"52cd85e5",630:"42a3526e",643:"eb5ab551",650:"6dec3238",737:"3b4ea689",785:"27446b54",845:"1f162f9a",852:"e34fba04",929:"809c357f",964:"43acb396",966:"5377170b",989:"2d9cc9ce"}[h]+".async.js"}}(),function(){ce.miniCssF=function(h){return"t__plugin-layout__Layout.74b4118c.chunk.css"}}(),function(){ce.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){ce.o=function(h,y){return Object.prototype.hasOwnProperty.call(h,y)}}(),function(){var h={},y="ant-design-pro:";ce.l=function(e,o,n,i){if(h[e]){h[e].push(o);return}var l,r;if(n!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c0})),ca=js({routesById:Sn,routeComponents:Lr,parentId:ra.id,loadingComponent:Ln.loadingComponent,reactRouter5Compat:Ln.reactRouter5Compat});return ca.length>0&&(ra.children=ca,ra.routes=ca),ra})}function bl(Ln){var Sn=(0,za.UO)(),xr=(0,wa.Z)((0,wa.Z)({},Ln),{},{to:(0,za.Gn)(Ln.to,Sn)});return Xn.createElement(za.Fg,(0,jo.Z)({replace:!0},xr))}function Oa(Ln){var Sn=Ln.route,xr=Sn.redirect,Lr=(0,ao.Z)(Sn,Pi),Xr=Ln.reactRouter5Compat?Cr:Aa;return(0,wa.Z)({element:xr?Xn.createElement(bl,{to:xr}):Xn.createElement(si.Provider,{value:{route:Ln.route}},Xn.createElement(Xr,{loader:Xn.memo(Ln.routeComponent),loadingComponent:Ln.loadingComponent||Jr,hasChildren:Ln.hasChildren}))},Lr)}function Jr(){return Xn.createElement("div",null)}function Cr(Ln){var Sn=Xo(),xr=Sn.route,Lr=(0,Va.Ov)(),Xr=Lr.history,ra=Lr.clientRoutes,ca=(0,za.UO)(),Ma={params:ca,isExact:!0,path:xr.path,url:Xr.location.pathname},Xa=Ln.loader;return Xn.createElement(Xn.Suspense,{fallback:Xn.createElement(Ln.loadingComponent,null)},Xn.createElement(Xa,{location:Xr.location,match:Ma,history:Xr,params:ca,route:xr,routes:ra},Ln.hasChildren&&Xn.createElement(za.j3,null)))}function Aa(Ln){var Sn=Ln.loader;return Xn.createElement(Xn.Suspense,{fallback:Xn.createElement(Ln.loadingComponent,null)},Xn.createElement(Sn,null))}var Ca=null;function Vo(){return Ca}function yi(Ln){var Sn=Ln.history,xr=Xn.useState({action:Sn.action,location:Sn.location}),Lr=(0,Wo.Z)(xr,2),Xr=Lr[0],ra=Lr[1];return(0,Xn.useLayoutEffect)(function(){return Sn.listen(ra)},[Sn]),(0,Xn.useLayoutEffect)(function(){function ca(Ma){Ln.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Ln.routes,clientRoutes:Ln.clientRoutes,location:Ma.location,action:Ma.action,basename:Ln.basename,isFirst:Boolean(Ma.isFirst)}})}Sn.listen(ca),ca({location:Xr.location,action:Xr.action,isFirst:!0})},[Sn,Ln.routes,Ln.clientRoutes]),Xn.createElement(za.F0,{navigator:Sn,location:Xr.location,basename:Ln.basename},Ln.children)}function Ui(){var Ln=(0,Va.Ov)(),Sn=Ln.clientRoutes;return(0,za.V$)(Sn)}var _i=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],$o=function(Sn,xr){var Lr=Sn.basename||"/",Xr=js({routesById:Sn.routes,routeComponents:Sn.routeComponents,loadingComponent:Sn.loadingComponent,reactRouter5Compat:Sn.reactRouter5Compat});Sn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Xr}});for(var ra=Xn.createElement(yi,{basename:Lr,pluginManager:Sn.pluginManager,routes:Sn.routes,clientRoutes:Xr,history:Sn.history},xr),ca=0,Ma=_i;ca