From 9a2e89fab83c9add1874b3e61d34354835ba7f70 Mon Sep 17 00:00:00 2001 From: nili Date: Thu, 25 Jul 2024 17:42:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ... => _umi_route_preload_helper.08f54f7e.js} | 2 +- dist/index.html | 4 +-- dist/p__SuperAdmin.001a1245.async.js | 1 + dist/p__SuperAdmin.762227e0.async.js | 1 - dist/{umi.cad28bb4.js => umi.a5d371d9.js} | 2 +- src/pages/SuperAdmin.tsx | 7 +++++ .../SuperAdmin/MockScheduleManagement.tsx | 28 +++++++++++++------ 7 files changed, 31 insertions(+), 14 deletions(-) rename dist/{_umi_route_preload_helper.9a1cbd7b.js => _umi_route_preload_helper.08f54f7e.js} (96%) create mode 100644 dist/p__SuperAdmin.001a1245.async.js delete mode 100644 dist/p__SuperAdmin.762227e0.async.js rename dist/{umi.cad28bb4.js => umi.a5d371d9.js} (99%) diff --git a/dist/_umi_route_preload_helper.9a1cbd7b.js b/dist/_umi_route_preload_helper.08f54f7e.js similarity index 96% rename from dist/_umi_route_preload_helper.9a1cbd7b.js rename to dist/_umi_route_preload_helper.08f54f7e.js index 55f4a98..a4b1c89 100644 --- a/dist/_umi_route_preload_helper.9a1cbd7b.js +++ b/dist/_umi_route_preload_helper.08f54f7e.js @@ -1 +1 @@ -!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["15.a664eb81.async.js",15],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.4138f9c6.async.js",190],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.c61abcd9.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["p__SuperAdmin.762227e0.async.js",455],["p__Proxy__ProxyUserManagement.3e781dae.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.93e34297.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.8a884f26.async.js",635],["p__App__AppManagement.6464403a.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.30842614.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.0ef1f876.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["931.c2d40e0b.async.js",931],["p__Proxy__ProxyAdvRecordListV2.20a0f4c8.async.js",990]],"r":{"/*":[19,27],"/":[1,5,6,18,20,27],"/welcome":[1,2,3,10,18,28,5,6,20,27],"/super":[0,1,2,12,14,15,27,28,29,5,6,18,20],"/adminList":[0,1,2,14,15,22,23,27,5,6,18,20],"/bind":[1,2,10,11,17,18,28,5,6,20,27],"/appList":[1,2,11,14,15,21,27,28,29,5,6,18,20],"/advList/:code":[1,2,14,15,18,24,25,27,28,5,6,20],"/advListV2/:code":[0,1,2,14,15,16,18,24,27,28,5,6,20],"/user/:code":[0,1,2,14,15,26,27,28,5,6,18,20],"/money/:code":[0,1,2,4,14,15,27,28,5,6,18,20],"/app/:code":[1,2,8,14,15,18,24,27,28,5,6,20],"/user/login":[1,2,7,14],"/proxy/advListV2/:code":[0,1,2,14,15,18,24,27,28,30,5,6,20],"/proxy/user/:code":[0,1,2,13,14,15,27,28,5,6,18,20]}},{publicPath:"https://apks.bzgames.cn/matrix_fe/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file +!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["15.a664eb81.async.js",15],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.4138f9c6.async.js",190],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.c61abcd9.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["p__SuperAdmin.001a1245.async.js",455],["p__Proxy__ProxyUserManagement.3e781dae.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.93e34297.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.8a884f26.async.js",635],["p__App__AppManagement.6464403a.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.30842614.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.0ef1f876.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["931.c2d40e0b.async.js",931],["p__Proxy__ProxyAdvRecordListV2.20a0f4c8.async.js",990]],"r":{"/*":[19,27],"/":[1,5,6,18,20,27],"/welcome":[1,2,3,10,18,28,5,6,20,27],"/super":[0,1,2,12,14,15,27,28,29,5,6,18,20],"/adminList":[0,1,2,14,15,22,23,27,5,6,18,20],"/bind":[1,2,10,11,17,18,28,5,6,20,27],"/appList":[1,2,11,14,15,21,27,28,29,5,6,18,20],"/advList/:code":[1,2,14,15,18,24,25,27,28,5,6,20],"/advListV2/:code":[0,1,2,14,15,16,18,24,27,28,5,6,20],"/user/:code":[0,1,2,14,15,26,27,28,5,6,18,20],"/money/:code":[0,1,2,4,14,15,27,28,5,6,18,20],"/app/:code":[1,2,8,14,15,18,24,27,28,5,6,20],"/user/login":[1,2,7,14],"/proxy/advListV2/:code":[0,1,2,14,15,18,24,27,28,30,5,6,20],"/proxy/user/:code":[0,1,2,13,14,15,27,28,5,6,18,20]}},{publicPath:"https://apks.bzgames.cn/matrix_fe/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 2462307..d1d2d47 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,10 +7,10 @@ Ant Design Pro - +
- + \ No newline at end of file diff --git a/dist/p__SuperAdmin.001a1245.async.js b/dist/p__SuperAdmin.001a1245.async.js new file mode 100644 index 0000000..9dc317f --- /dev/null +++ b/dist/p__SuperAdmin.001a1245.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{87450:function(ge,re,s){s.r(re),s.d(re,{default:function(){return Ve}});var ce=s(97857),_=s.n(ce),de=s(13769),te=s.n(de),oe=s(15009),o=s.n(oe),fe=s(99289),Z=s.n(fe),ae=s(5574),x=s.n(ae),L=s(48357),G=s(52043),N=s(40110),me=s(3089),ue=s(90930),v=s(8232),B=s(55102),R=s(42075),I=s(14726),Se=s(55241),se=s(66309),z=s(2453),Ze=s(13169),ve=s(72051),Q=s(17788),pe=s(34041),Ie=s(71230),je=s(15746),ye=s(47676),X=s(16250),De=s(27484),J=s.n(De),g=s(67294),ke=s(19632),Fe=s.n(ke),Ae=s(32400),Ee=s(56448),be=s.n(Ee),Pe=s(66476),e=s(85893),Te=function(K){var P=K.onUploadSuccess,M=K.onUploadError,E=(0,g.useState)(!1),$=x()(E,2),O=$[0],T=$[1],Y=(0,g.useState)([]),U=x()(Y,2),F=U[0],f=U[1],j=(0,g.useState)(null),S=x()(j,2),y=S[0],D=S[1],C=Pe.Z.Dragger;(0,g.useEffect)(function(){function n(){return r.apply(this,arguments)}function r(){return r=Z()(o()().mark(function i(){var u,m;return o()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,L.po)();case 3:if(u=d.sent,!(!u.data||!u.data.accessKeySecret||!u.data.accessKeyId)){d.next=7;break}return z.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),d.abrupt("return");case 7:m=new(be())({region:"oss-cn-beijing",accessKeyId:u.data.accessKeyId,accessKeySecret:u.data.accessKeySecret,stsToken:u.data.securityToken,bucket:u.data.bucket}),D(m),d.next=15;break;case 11:d.prev=11,d.t0=d.catch(0),z.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),M&&M(d.t0);case 15:case"end":return d.stop()}},i,null,[[0,11]])})),r.apply(this,arguments)}n()},[M]);var h=function(r){var i=(F||[]).filter(function(u){return u.url!==r.url});f(i)},t=function(){var n=Z()(o()().mark(function r(i){var u,m,k,d;return o()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(u=i.file,!(u instanceof File)){A.next=26;break}return T(!0),A.prev=3,A.next=6,(0,Ae.p)(u);case 6:return m=A.sent,k="matrix/".concat(m,".").concat(u.name.split(".").pop()),A.next=10,y==null?void 0:y.put(k,u,{headers:{"Content-Type":u.type}});case 10:d="https://apks.bzgames.cn/".concat(k),P&&P(d),T(!1),f(function(ne){return[].concat(Fe()(ne),[{uid:u.uid,name:u.name+"\uFF1A"+d,status:"done",url:d}])}),A.next=21;break;case 16:A.prev=16,A.t0=A.catch(3),z.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),M&&M(A.t0),f(function(ne){return[].concat(Fe()(ne),[{uid:u.uid,name:u.name,status:"error"}])});case 21:return A.prev=21,T(!1),A.finish(21);case 24:A.next=27;break;case 26:z.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return A.stop()}},r,null,[[3,16,21,24]])}));return function(i){return n.apply(this,arguments)}}();return(0,e.jsxs)(C,{fileList:F,multiple:!0,customRequest:t,onRemove:h,disabled:O||!y,onPreview:function(){var n=Z()(o()().mark(function r(i){return o()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,navigator.clipboard.writeText(i.url||"");case 2:z.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+i.url);case 3:case"end":return m.stop()}},r)}));return function(r){return n.apply(this,arguments)}}(),capture:void 0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)("i",{className:"anticon anticon-inbox"})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},Me=Te,ie=s(67539),H=s(4575),we=function(){var K=(0,g.useState)(!1),P=x()(K,2),M=P[0],E=P[1],$=(0,g.useState)([]),O=x()($,2),T=O[0],Y=O[1],U=(0,g.useState)([]),F=x()(U,2),f=F[0],j=F[1],S=v.Z.useForm(),y=x()(S,1),D=y[0],C=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,u=n.confirm,m=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(B.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:i[0],onChange:function(d){return r(d.target.value?[d.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){return typeof n=="string"&&typeof(r==null?void 0:r.name)=="string"?r.name.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,u=n.confirm,m=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(B.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:i[0],onChange:function(d){return r(d.target.value?[d.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){return typeof n=="string"&&typeof(r==null?void 0:r.packageName)=="string"?r.packageName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:function(){E(!0),D.setFieldsValue(n)},children:"\u7F16\u8F91"},"edit")}}],h=function(){var t=Z()(o()().mark(function n(){var r;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,H.ai)();case 2:r=u.sent,r.data&&(Y(r.data),j(r.data));case 4:case"end":return u.stop()}},n)}));return function(){return t.apply(this,arguments)}}();return(0,g.useEffect)(function(){h()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(I.ZP,{style:{marginBottom:"20px"},onClick:function(){E(!0),D.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(ie.Z,{search:!1,onReset:function(){j(T)},columns:C,dataSource:f}),(0,e.jsx)(Q.Z,{title:"\u7F16\u8F91",visible:M,onOk:function(){D.submit(),E(!1)},onCancel:function(){E(!1)},children:(0,e.jsxs)(v.Z,{labelCol:{span:4},wrapperCol:{span:18},form:D,onFinish:function(){var t=Z()(o()().mark(function n(r){return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,H.XM)(r);case 2:h();case 3:case"end":return u.stop()}},n)}));return function(n){return t.apply(this,arguments)}}(),children:[(0,e.jsx)(v.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(B.Z,{type:"hidden"})}),(0,e.jsx)(v.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(B.Z,{})}),(0,e.jsx)(v.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(B.Z,{})})]})})]})},Be=we,le=s(37804),xe=s(42767),Oe=function(){var K=(0,g.useState)(!1),P=x()(K,2),M=P[0],E=P[1],$=v.Z.useForm(),O=x()($,1),T=O[0],Y=(0,g.useRef)(),U=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(f){var j=f.setSelectedKeys,S=f.selectedKeys,y=f.confirm,D=f.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(B.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:S[0],onChange:function(h){return j(h.target.value?[h.target.value]:[])},onPressEnter:function(){return y()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return y()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return D&&D()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(f,j){return typeof f=="string"&&typeof(j==null?void 0:j.appName)=="string"?j.appName.includes(f):!1},filterIcon:function(f){return(0,e.jsx)(N.Z,{style:{color:f?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(f,j){return(0,e.jsx)(xe.Z,{data:j.user||{}})},filterDropdown:function(f){var j=f.setSelectedKeys,S=f.selectedKeys,y=f.confirm,D=f.clearFilters,C=S[0]?String(S[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(le.Z,{placeholder:"\u641C\u7D22 userId",value:C,onChange:function(t){return j(t?[t]:[])},onPressEnter:function(){return y()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return y()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return D&&D()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(f,j){var S;return((S=j.user)===null||S===void 0?void 0:S.id)===f},filterIcon:function(f){return(0,e.jsx)(N.Z,{style:{color:f?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(I.ZP,{style:{marginBottom:"20px"},onClick:function(){E(!0),T.resetFields()},children:"\u6DFB\u52A0\u5185\u90E8\u7528\u6237"}),(0,e.jsx)(ie.Z,{search:!1,actionRef:Y,request:Z()(o()().mark(function F(){var f,j;return o()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,H.k_)();case 2:return j=y.sent,y.abrupt("return",{data:j.data,total:(f=j.data)===null||f===void 0?void 0:f.length,success:!0});case 4:case"end":return y.stop()}},F)})),columns:U}),(0,e.jsx)(Q.Z,{title:"\u7F16\u8F91",visible:M,onOk:function(){T.submit(),E(!1)},onCancel:function(){E(!1)},children:(0,e.jsx)(v.Z,{labelCol:{span:4},wrapperCol:{span:18},form:T,onFinish:function(){var F=Z()(o()().mark(function f(j){var S,y;return o()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(S=j.userId,!S){C.next=5;break}return C.next=4,(0,H.SN)({userId:S});case 4:(y=Y.current)===null||y===void 0||y.reload();case 5:case"end":return C.stop()}},f)}));return function(f){return F.apply(this,arguments)}}(),children:(0,e.jsx)(v.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(le.Z,{style:{width:200}})})})})]})},Ke=Oe,$e=s(58125),Ye=["scheduleTime"],Ue=function(){var K=(0,g.useState)(!1),P=x()(K,2),M=P[0],E=P[1],$=(0,g.useState)([]),O=x()($,2),T=O[0],Y=O[1],U=v.Z.useForm(),F=x()(U,1),f=F[0],j=(0,g.useRef)(),S=function(){var h=Z()(o()().mark(function t(){var n;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,L.ln)();case 2:n=i.sent,n.data&&Y(n.data);case 4:case"end":return i.stop()}},t)}));return function(){return h.apply(this,arguments)}}(),y=function(t){var n=T.find(function(r){return r.id===t});return n?n.name:""},D=[{title:"\u5E94\u7528",dataIndex:"appId",renderText:function(t,n){return(0,e.jsx)(se.Z,{color:"blue",children:y(n.appId||0)},n.appId)}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",renderText:function(t){return(0,$e.P)(t)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",renderText:function(t){return J()(t).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",renderText:function(t){switch(t){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return t}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",renderText:function(t){return J()(t).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",renderText:function(t){return J()(t).format("YYYY-MM-DD HH:mm")}}];(0,g.useEffect)(function(){S()},[]);var C=function(){f.resetFields(),E(!0)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{children:[(0,e.jsx)(I.ZP,{onClick:C,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(ie.Z,{search:!1,actionRef:j,request:Z()(o()().mark(function h(){var t,n;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,H.nN)();case 2:return n=i.sent,i.abrupt("return",{data:n.data,total:(t=n.data)===null||t===void 0?void 0:t.length,success:!0});case 4:case"end":return i.stop()}},h)})),columns:D}),(0,e.jsx)(Q.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:M,onOk:function(){f.submit()},onCancel:function(){E(!1)},children:(0,e.jsxs)(v.Z,{labelCol:{span:6},wrapperCol:{span:18},form:f,onFinish:function(){var h=Z()(o()().mark(function t(n){var r,i,u,m;return o()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(i=n.scheduleTime,u=te()(n,Ye),i){d.next=4;break}return z.ZP.error("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"),d.abrupt("return");case 4:return m=i.map(function(W){return W.valueOf()}),d.prev=5,d.next=8,(0,H.Rn)(_()({scheduleTime:m},u));case 8:d.next=13;break;case 10:return d.prev=10,d.t0=d.catch(5),d.abrupt("return");case 13:z.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),(r=j.current)===null||r===void 0||r.reload(),E(!1);case 16:case"end":return d.stop()}},t,null,[[5,10]])}));return function(t){return h.apply(this,arguments)}}(),children:[T.length>0&&(0,e.jsx)(v.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",showSearch:!0,filterOption:function(t,n){return n!=null&&n.label?n.label.includes(t):!1},options:T.map(function(h){return{label:h.name,value:h.id}})})}),(0,e.jsx)(v.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(B.Z,{})}),(0,e.jsx)(v.Z.Item,{name:"scheduleTime",label:"\u5F00\u59CB\u65F6\u95F4",children:(0,e.jsx)(ye.default,{multiple:!0,format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})]})})]})})},Re=Ue,Le=function(){var K=(0,g.useState)(!1),P=x()(K,2),M=P[0],E=P[1],$=(0,g.useState)([]),O=x()($,2),T=O[0],Y=O[1],U=(0,g.useState)([]),F=x()(U,2),f=F[0],j=F[1],S=v.Z.useForm(),y=x()(S,1),D=y[0],C=function(){var t=Z()(o()().mark(function n(){var r;return o()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,H.nr)();case 2:r=u.sent,r.data&&(Y(r.data),j(r.data));case 4:case"end":return u.stop()}},n)}));return function(){return t.apply(this,arguments)}}(),h=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,u=n.confirm,m=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(B.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:i[0],onChange:function(d){return r(d.target.value?[d.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){return typeof n=="string"&&typeof(r==null?void 0:r.appName)=="string"?r.appName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(n,r){return(0,e.jsx)(xe.Z,{data:r.user||{}})},filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,u=n.confirm,m=n.clearFilters,k=i[0]?String(i[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(le.Z,{placeholder:"\u641C\u7D22 userId",value:k,onChange:function(W){return r(W?[W]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){var i;return((i=r.user)===null||i===void 0?void 0:i.id)===n},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u72B6\u6001",hideInSearch:!0,renderText:function(n){return n.status===0?(0,e.jsx)(se.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(se.Z,{color:"red",children:"\u672A\u542F\u7528"})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:Z()(o()().mark(function r(){var i;return o()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,(0,H.vE)({userId:((i=n.user)===null||i===void 0?void 0:i.id)||0,status:n.status===0?-1:0});case 2:C();case 3:case"end":return m.stop()}},r)})),children:n.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,g.useEffect)(function(){C()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(I.ZP,{style:{marginBottom:"20px"},onClick:function(){E(!0),D.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(ie.Z,{search:!1,onReset:function(){j(T)},columns:h,dataSource:f}),(0,e.jsx)(Q.Z,{title:"\u7F16\u8F91",visible:M,onOk:function(){D.submit(),E(!1)},onCancel:function(){E(!1)},children:(0,e.jsx)(v.Z,{labelCol:{span:4},wrapperCol:{span:18},form:D,onFinish:function(){var t=Z()(o()().mark(function n(r){var i;return o()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(i=r.userId,!i){m.next=5;break}return m.next=4,(0,H.vE)({userId:i});case 4:C();case 5:case"end":return m.stop()}},n)}));return function(n){return t.apply(this,arguments)}}(),children:(0,e.jsx)(v.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(le.Z,{style:{width:200}})})})})]})},Ne=Le,He=["scheduleTime"],We=function(){var K=(0,g.useState)([]),P=x()(K,2),M=P[0],E=P[1],$=(0,g.useState)([]),O=x()($,2),T=O[0],Y=O[1],U=(0,g.useState)([]),F=x()(U,2),f=F[0],j=F[1],S=(0,g.useState)(!1),y=x()(S,2),D=y[0],C=y[1],h=(0,g.useState)(!1),t=x()(h,2),n=t[0],r=t[1],i=v.Z.useForm(),u=x()(i,1),m=u[0],k=v.Z.useForm(),d=x()(k,1),W=d[0],A=function(){var p=Z()(o()().mark(function a(){var l;return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,L.hy)();case 2:l=c.sent,l.data&&Y(l.data);case 4:case"end":return c.stop()}},a)}));return function(){return p.apply(this,arguments)}}(),ne=function(){var p=Z()(o()().mark(function a(l){return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(l){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,(0,L.o9)({deviceId:l});case 4:A();case 5:case"end":return c.stop()}},a)}));return function(l){return p.apply(this,arguments)}}(),Ge=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var l=a.setSelectedKeys,b=a.selectedKeys,c=a.confirm,V=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(B.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:b[0],onChange:function(w){return l(w.target.value?[w.target.value]:[])},onPressEnter:function(){return c()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return c()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return V&&V()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,l){return typeof a=="string"&&typeof(l==null?void 0:l.deviceId)=="string"?l.deviceId.includes(a):!1},filterIcon:function(a){return(0,e.jsx)(N.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,G.FG)(),b=l.find(function(c){return c.value===a});return b?b.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,l){return(0,e.jsx)(Se.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,e.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,e.jsx)("a",{onClick:function(){return ne(l.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],ze=function(a){var l=M.find(function(b){return b.id===a});return l?l.name:""},Xe=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Je=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(a){return(0,e.jsx)(se.Z,{color:"blue",children:ze(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,G.FG)(),b=l.find(function(c){return c.value===a});return b?b.label:a}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(a){return Xe(a)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(a){return J()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(a){switch(a){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return a}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(a){return J()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(a){return J()(a).format("YYYY-MM-DD HH:mm")}}],he=function(){var p=Z()(o()().mark(function a(){var l;return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,L.mW)();case 2:l=c.sent,l.data&&j(l.data);case 4:case"end":return c.stop()}},a)}));return function(){return p.apply(this,arguments)}}(),Qe=function(){var p=Z()(o()().mark(function a(){var l;return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,L.ln)();case 2:l=c.sent,l.data&&E(l.data);case 4:case"end":return c.stop()}},a)}));return function(){return p.apply(this,arguments)}}();(0,g.useEffect)(function(){Qe(),A(),he()},[]);var qe=function(){var p=Z()(o()().mark(function a(l){var b,c,V;return o()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return b=l.scheduleTime,c=te()(l,He),V=b.map(function(Ce){return J()(Ce.time).valueOf()}),w.prev=2,w.next=5,(0,L.tI)(_()({scheduleTime:V},c));case 5:w.next=10;break;case 7:return w.prev=7,w.t0=w.catch(2),w.abrupt("return");case 10:z.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),he(),r(!1);case 13:case"end":return w.stop()}},a,null,[[2,7]])}));return function(l){return p.apply(this,arguments)}}(),_e=function(){m.resetFields(),C(!0)},en=function(){W.resetFields(),r(!0)},nn=function(){m.submit()},rn=function(){C(!1)},tn=function(){W.submit()},an=function(){r(!1)},un=function(){var p=Z()(o()().mark(function a(l){return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,(0,L.gz)({deviceId:l.deviceId||"",channel:l.channel||""});case 3:c.next=8;break;case 5:return c.prev=5,c.t0=c.catch(0),c.abrupt("return");case 8:C(!1),A();case 10:case"end":return c.stop()}},a,null,[[0,5]])}));return function(l){return p.apply(this,arguments)}}();return(0,e.jsx)(ue._z,{children:(0,e.jsxs)(Ze.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?A():a==="2"&&he()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(X.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(I.ZP,{onClick:_e,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(ve.Z,{columns:Ge,dataSource:T}),(0,e.jsx)(Q.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:D,onOk:nn,onCancel:rn,children:(0,e.jsxs)(v.Z,{form:m,onFinish:un,children:[(0,e.jsx)(v.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(B.Z,{})}),(0,e.jsx)(v.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(pe.Z,{options:(0,G.FG)()})})]})})]})},"1"),(0,e.jsx)(X.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(I.ZP,{onClick:en,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(ve.Z,{columns:Je,dataSource:f}),(0,e.jsx)(Q.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:n,onOk:tn,onCancel:an,children:(0,e.jsxs)(v.Z,{labelCol:{span:6},wrapperCol:{span:18},form:W,onFinish:qe,children:[(0,e.jsx)(v.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",showSearch:!0,filterOption:function(a,l){return l!=null&&l.label?l.label.includes(a):!1},options:M.map(function(p){return{label:p.name,value:p.id}})})}),(0,e.jsx)(v.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(B.Z,{})}),(0,e.jsx)(v.Z.List,{name:"scheduleTime",children:function(a,l){var b=l.add,c=l.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(V){var q=V.key,w=V.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(Ie.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(je.Z,{span:18,children:(0,e.jsx)(v.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[w,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(ye.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(je.Z,{children:(0,e.jsx)(me.Z,{onClick:function(){return c(w)}})})]},q)})}),(0,e.jsx)(v.Z.Item,{children:(0,e.jsx)(I.ZP,{type:"dashed",onClick:function(){return b()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(X.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(Me,{})},"3"),(0,e.jsx)(X.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(Be,{})},"4"),(0,e.jsx)(X.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Ne,{})},"5"),(0,e.jsx)(X.Z,{tab:"\u5237\u6570\u636Ev2",children:(0,e.jsx)(Re,{})},"6"),(0,e.jsx)(X.Z,{tab:"\u5185\u90E8\u7528\u6237",children:(0,e.jsx)(Ke,{})},"7")]})})},Ve=We},32400:function(ge,re,s){s.d(re,{p:function(){return fe}});var ce=s(15009),_=s.n(ce),de=s(99289),te=s.n(de),oe=s(8322),o=s.n(oe);function fe(ae){return Z.apply(this,arguments)}function Z(){return Z=te()(_()().mark(function ae(x){return _()().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.abrupt("return",new Promise(function(N,me){var ue=new(o()).ArrayBuffer,v=new FileReader;v.onload=function(B){var R;ue.append((R=B.target)===null||R===void 0?void 0:R.result),N(ue.end())},v.onerror=function(B){me(B)},v.readAsArrayBuffer(x)}));case 1:case"end":return G.stop()}},ae)})),Z.apply(this,arguments)}}}]); diff --git a/dist/p__SuperAdmin.762227e0.async.js b/dist/p__SuperAdmin.762227e0.async.js deleted file mode 100644 index 4aa53fc..0000000 --- a/dist/p__SuperAdmin.762227e0.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{87450:function(ge,re,s){s.r(re),s.d(re,{default:function(){return Ve}});var de=s(97857),_=s.n(de),ce=s(13769),te=s.n(ce),oe=s(15009),o=s.n(oe),fe=s(99289),Z=s.n(fe),ae=s(5574),x=s.n(ae),L=s(48357),G=s(52043),N=s(40110),me=s(3089),ue=s(90930),v=s(8232),w=s(55102),R=s(42075),I=s(14726),Se=s(55241),se=s(66309),z=s(2453),Ze=s(13169),ve=s(72051),Q=s(17788),pe=s(34041),Ie=s(71230),je=s(15746),ye=s(47676),X=s(16250),De=s(27484),J=s.n(De),g=s(67294),ke=s(19632),Fe=s.n(ke),Ae=s(32400),Ee=s(56448),Pe=s.n(Ee),be=s(66476),e=s(85893),Te=function(K){var b=K.onUploadSuccess,T=K.onUploadError,E=(0,g.useState)(!1),$=x()(E,2),O=$[0],M=$[1],Y=(0,g.useState)([]),U=x()(Y,2),F=U[0],f=U[1],j=(0,g.useState)(null),S=x()(j,2),y=S[0],D=S[1],C=be.Z.Dragger;(0,g.useEffect)(function(){function n(){return r.apply(this,arguments)}function r(){return r=Z()(o()().mark(function i(){var a,m;return o()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,L.po)();case 3:if(a=d.sent,!(!a.data||!a.data.accessKeySecret||!a.data.accessKeyId)){d.next=7;break}return z.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),d.abrupt("return");case 7:m=new(Pe())({region:"oss-cn-beijing",accessKeyId:a.data.accessKeyId,accessKeySecret:a.data.accessKeySecret,stsToken:a.data.securityToken,bucket:a.data.bucket}),D(m),d.next=15;break;case 11:d.prev=11,d.t0=d.catch(0),z.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),T&&T(d.t0);case 15:case"end":return d.stop()}},i,null,[[0,11]])})),r.apply(this,arguments)}n()},[T]);var h=function(r){var i=(F||[]).filter(function(a){return a.url!==r.url});f(i)},t=function(){var n=Z()(o()().mark(function r(i){var a,m,k,d;return o()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(a=i.file,!(a instanceof File)){A.next=26;break}return M(!0),A.prev=3,A.next=6,(0,Ae.p)(a);case 6:return m=A.sent,k="matrix/".concat(m,".").concat(a.name.split(".").pop()),A.next=10,y==null?void 0:y.put(k,a,{headers:{"Content-Type":a.type}});case 10:d="https://apks.bzgames.cn/".concat(k),b&&b(d),M(!1),f(function(ne){return[].concat(Fe()(ne),[{uid:a.uid,name:a.name+"\uFF1A"+d,status:"done",url:d}])}),A.next=21;break;case 16:A.prev=16,A.t0=A.catch(3),z.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),T&&T(A.t0),f(function(ne){return[].concat(Fe()(ne),[{uid:a.uid,name:a.name,status:"error"}])});case 21:return A.prev=21,M(!1),A.finish(21);case 24:A.next=27;break;case 26:z.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return A.stop()}},r,null,[[3,16,21,24]])}));return function(i){return n.apply(this,arguments)}}();return(0,e.jsxs)(C,{fileList:F,multiple:!0,customRequest:t,onRemove:h,disabled:O||!y,onPreview:function(){var n=Z()(o()().mark(function r(i){return o()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,navigator.clipboard.writeText(i.url||"");case 2:z.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+i.url);case 3:case"end":return m.stop()}},r)}));return function(r){return n.apply(this,arguments)}}(),capture:void 0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)("i",{className:"anticon anticon-inbox"})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},Me=Te,ie=s(67539),H=s(4575),Be=function(){var K=(0,g.useState)(!1),b=x()(K,2),T=b[0],E=b[1],$=(0,g.useState)([]),O=x()($,2),M=O[0],Y=O[1],U=(0,g.useState)([]),F=x()(U,2),f=F[0],j=F[1],S=v.Z.useForm(),y=x()(S,1),D=y[0],C=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,a=n.confirm,m=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(w.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:i[0],onChange:function(d){return r(d.target.value?[d.target.value]:[])},onPressEnter:function(){return a()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return a()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){return typeof n=="string"&&typeof(r==null?void 0:r.name)=="string"?r.name.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,a=n.confirm,m=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(w.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:i[0],onChange:function(d){return r(d.target.value?[d.target.value]:[])},onPressEnter:function(){return a()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return a()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){return typeof n=="string"&&typeof(r==null?void 0:r.packageName)=="string"?r.packageName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:function(){E(!0),D.setFieldsValue(n)},children:"\u7F16\u8F91"},"edit")}}],h=function(){var t=Z()(o()().mark(function n(){var r;return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,H.ai)();case 2:r=a.sent,r.data&&(Y(r.data),j(r.data));case 4:case"end":return a.stop()}},n)}));return function(){return t.apply(this,arguments)}}();return(0,g.useEffect)(function(){h()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(I.ZP,{style:{marginBottom:"20px"},onClick:function(){E(!0),D.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(ie.Z,{search:!1,onReset:function(){j(M)},columns:C,dataSource:f}),(0,e.jsx)(Q.Z,{title:"\u7F16\u8F91",visible:T,onOk:function(){D.submit(),E(!1)},onCancel:function(){E(!1)},children:(0,e.jsxs)(v.Z,{labelCol:{span:4},wrapperCol:{span:18},form:D,onFinish:function(){var t=Z()(o()().mark(function n(r){return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,H.XM)(r);case 2:h();case 3:case"end":return a.stop()}},n)}));return function(n){return t.apply(this,arguments)}}(),children:[(0,e.jsx)(v.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(w.Z,{type:"hidden"})}),(0,e.jsx)(v.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(w.Z,{})}),(0,e.jsx)(v.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(w.Z,{})})]})})]})},we=Be,le=s(37804),xe=s(42767),Oe=function(){var K=(0,g.useState)(!1),b=x()(K,2),T=b[0],E=b[1],$=v.Z.useForm(),O=x()($,1),M=O[0],Y=(0,g.useRef)(),U=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(f){var j=f.setSelectedKeys,S=f.selectedKeys,y=f.confirm,D=f.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(w.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:S[0],onChange:function(h){return j(h.target.value?[h.target.value]:[])},onPressEnter:function(){return y()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return y()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return D&&D()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(f,j){return typeof f=="string"&&typeof(j==null?void 0:j.appName)=="string"?j.appName.includes(f):!1},filterIcon:function(f){return(0,e.jsx)(N.Z,{style:{color:f?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(f,j){return(0,e.jsx)(xe.Z,{data:j.user||{}})},filterDropdown:function(f){var j=f.setSelectedKeys,S=f.selectedKeys,y=f.confirm,D=f.clearFilters,C=S[0]?String(S[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(le.Z,{placeholder:"\u641C\u7D22 userId",value:C,onChange:function(t){return j(t?[t]:[])},onPressEnter:function(){return y()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return y()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return D&&D()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(f,j){var S;return((S=j.user)===null||S===void 0?void 0:S.id)===f},filterIcon:function(f){return(0,e.jsx)(N.Z,{style:{color:f?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(I.ZP,{style:{marginBottom:"20px"},onClick:function(){E(!0),M.resetFields()},children:"\u6DFB\u52A0\u5185\u90E8\u7528\u6237"}),(0,e.jsx)(ie.Z,{search:!1,actionRef:Y,request:Z()(o()().mark(function F(){var f,j;return o()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,H.k_)();case 2:return j=y.sent,y.abrupt("return",{data:j.data,total:(f=j.data)===null||f===void 0?void 0:f.length,success:!0});case 4:case"end":return y.stop()}},F)})),columns:U}),(0,e.jsx)(Q.Z,{title:"\u7F16\u8F91",visible:T,onOk:function(){M.submit(),E(!1)},onCancel:function(){E(!1)},children:(0,e.jsx)(v.Z,{labelCol:{span:4},wrapperCol:{span:18},form:M,onFinish:function(){var F=Z()(o()().mark(function f(j){var S,y;return o()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(S=j.userId,!S){C.next=5;break}return C.next=4,(0,H.SN)({userId:S});case 4:(y=Y.current)===null||y===void 0||y.reload();case 5:case"end":return C.stop()}},f)}));return function(f){return F.apply(this,arguments)}}(),children:(0,e.jsx)(v.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(le.Z,{style:{width:200}})})})})]})},Ke=Oe,$e=s(58125),Ye=["scheduleTime"],Ue=function(){var K=(0,g.useState)(!1),b=x()(K,2),T=b[0],E=b[1],$=(0,g.useState)([]),O=x()($,2),M=O[0],Y=O[1],U=v.Z.useForm(),F=x()(U,1),f=F[0],j=(0,g.useRef)(),S=function(){var h=Z()(o()().mark(function t(){var n;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,L.ln)();case 2:n=i.sent,n.data&&Y(n.data);case 4:case"end":return i.stop()}},t)}));return function(){return h.apply(this,arguments)}}(),y=function(t){var n=M.find(function(r){return r.id===t});return n?n.name:""},D=[{title:"\u5E94\u7528",dataIndex:"appId",renderText:function(t,n){return(0,e.jsx)(se.Z,{color:"blue",children:y(n.appId||0)},n.appId)}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",renderText:function(t){return(0,$e.P)(t)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",renderText:function(t){return J()(t).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",renderText:function(t){switch(t){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return t}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",renderText:function(t){return J()(t).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",renderText:function(t){return J()(t).format("YYYY-MM-DD HH:mm")}}];(0,g.useEffect)(function(){S()},[]);var C=function(){f.resetFields(),E(!0)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{children:[(0,e.jsx)(I.ZP,{onClick:C,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(ie.Z,{search:!1,actionRef:j,request:Z()(o()().mark(function h(){var t,n;return o()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,H.nN)();case 2:return n=i.sent,i.abrupt("return",{data:n.data,total:(t=n.data)===null||t===void 0?void 0:t.length,success:!0});case 4:case"end":return i.stop()}},h)})),columns:D}),(0,e.jsx)(Q.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:T,onOk:function(){f.submit()},onCancel:function(){E(!1)},children:(0,e.jsxs)(v.Z,{labelCol:{span:6},wrapperCol:{span:18},form:f,onFinish:function(){var h=Z()(o()().mark(function t(n){var r,i,a,m;return o()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(i=n.scheduleTime,a=te()(n,Ye),i){d.next=4;break}return z.ZP.error("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"),d.abrupt("return");case 4:return m=i.map(function(W){return W.valueOf()}),d.prev=5,d.next=8,(0,H.Rn)(_()({scheduleTime:m},a));case 8:d.next=13;break;case 10:return d.prev=10,d.t0=d.catch(5),d.abrupt("return");case 13:z.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),(r=j.current)===null||r===void 0||r.reload(),E(!1);case 16:case"end":return d.stop()}},t,null,[[5,10]])}));return function(t){return h.apply(this,arguments)}}(),children:[(0,e.jsx)(v.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",options:M.map(function(h){return{label:h.name,value:h.id}})})}),(0,e.jsx)(v.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(w.Z,{})}),(0,e.jsx)(v.Z.Item,{name:"scheduleTime",label:"\u5F00\u59CB\u65F6\u95F4",children:(0,e.jsx)(ye.default,{multiple:!0,format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})]})})]})})},Re=Ue,Le=function(){var K=(0,g.useState)(!1),b=x()(K,2),T=b[0],E=b[1],$=(0,g.useState)([]),O=x()($,2),M=O[0],Y=O[1],U=(0,g.useState)([]),F=x()(U,2),f=F[0],j=F[1],S=v.Z.useForm(),y=x()(S,1),D=y[0],C=function(){var t=Z()(o()().mark(function n(){var r;return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,H.nr)();case 2:r=a.sent,r.data&&(Y(r.data),j(r.data));case 4:case"end":return a.stop()}},n)}));return function(){return t.apply(this,arguments)}}(),h=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,a=n.confirm,m=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(w.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:i[0],onChange:function(d){return r(d.target.value?[d.target.value]:[])},onPressEnter:function(){return a()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return a()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){return typeof n=="string"&&typeof(r==null?void 0:r.appName)=="string"?r.appName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(n,r){return(0,e.jsx)(xe.Z,{data:r.user||{}})},filterDropdown:function(n){var r=n.setSelectedKeys,i=n.selectedKeys,a=n.confirm,m=n.clearFilters,k=i[0]?String(i[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(le.Z,{placeholder:"\u641C\u7D22 userId",value:k,onChange:function(W){return r(W?[W]:[])},onPressEnter:function(){return a()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return a()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return m&&m()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,r){var i;return((i=r.user)===null||i===void 0?void 0:i.id)===n},filterIcon:function(n){return(0,e.jsx)(N.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u72B6\u6001",hideInSearch:!0,renderText:function(n){return n.status===0?(0,e.jsx)(se.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(se.Z,{color:"red",children:"\u672A\u542F\u7528"})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:Z()(o()().mark(function r(){var i;return o()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,(0,H.vE)({userId:((i=n.user)===null||i===void 0?void 0:i.id)||0,status:n.status===0?-1:0});case 2:C();case 3:case"end":return m.stop()}},r)})),children:n.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,g.useEffect)(function(){C()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(I.ZP,{style:{marginBottom:"20px"},onClick:function(){E(!0),D.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(ie.Z,{search:!1,onReset:function(){j(M)},columns:h,dataSource:f}),(0,e.jsx)(Q.Z,{title:"\u7F16\u8F91",visible:T,onOk:function(){D.submit(),E(!1)},onCancel:function(){E(!1)},children:(0,e.jsx)(v.Z,{labelCol:{span:4},wrapperCol:{span:18},form:D,onFinish:function(){var t=Z()(o()().mark(function n(r){var i;return o()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(i=r.userId,!i){m.next=5;break}return m.next=4,(0,H.vE)({userId:i});case 4:C();case 5:case"end":return m.stop()}},n)}));return function(n){return t.apply(this,arguments)}}(),children:(0,e.jsx)(v.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(le.Z,{style:{width:200}})})})})]})},Ne=Le,He=["scheduleTime"],We=function(){var K=(0,g.useState)([]),b=x()(K,2),T=b[0],E=b[1],$=(0,g.useState)([]),O=x()($,2),M=O[0],Y=O[1],U=(0,g.useState)([]),F=x()(U,2),f=F[0],j=F[1],S=(0,g.useState)(!1),y=x()(S,2),D=y[0],C=y[1],h=(0,g.useState)(!1),t=x()(h,2),n=t[0],r=t[1],i=v.Z.useForm(),a=x()(i,1),m=a[0],k=v.Z.useForm(),d=x()(k,1),W=d[0],A=function(){var p=Z()(o()().mark(function u(){var c;return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,L.hy)();case 2:c=l.sent,c.data&&Y(c.data);case 4:case"end":return l.stop()}},u)}));return function(){return p.apply(this,arguments)}}(),ne=function(){var p=Z()(o()().mark(function u(c){return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(c){l.next=2;break}return l.abrupt("return");case 2:return l.next=4,(0,L.o9)({deviceId:c});case 4:A();case 5:case"end":return l.stop()}},u)}));return function(c){return p.apply(this,arguments)}}(),Ge=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(u){var c=u.setSelectedKeys,P=u.selectedKeys,l=u.confirm,V=u.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(w.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:P[0],onChange:function(B){return c(B.target.value?[B.target.value]:[])},onPressEnter:function(){return l()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(R.Z,{children:[(0,e.jsx)(I.ZP,{onClick:function(){return l()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(I.ZP,{onClick:function(){return V&&V()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,c){return typeof u=="string"&&typeof(c==null?void 0:c.deviceId)=="string"?c.deviceId.includes(u):!1},filterIcon:function(u){return(0,e.jsx)(N.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(u){var c=(0,G.FG)(),P=c.find(function(l){return l.value===u});return P?P.label:u}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(u,c){return(0,e.jsx)(Se.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,e.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,e.jsx)("a",{onClick:function(){return ne(c.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],ze=function(u){var c=T.find(function(P){return P.id===u});return c?c.name:""},Xe=function(u){return u?parseFloat((u/1e5).toFixed(2)):0},Je=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(u){return(0,e.jsx)(se.Z,{color:"blue",children:ze(u)},u)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(u){var c=(0,G.FG)(),P=c.find(function(l){return l.value===u});return P?P.label:u}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(u){return Xe(u)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(u){return J()(u).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(u){switch(u){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return u}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(u){return J()(u).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(u){return J()(u).format("YYYY-MM-DD HH:mm")}}],he=function(){var p=Z()(o()().mark(function u(){var c;return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,L.mW)();case 2:c=l.sent,c.data&&j(c.data);case 4:case"end":return l.stop()}},u)}));return function(){return p.apply(this,arguments)}}(),Qe=function(){var p=Z()(o()().mark(function u(){var c;return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,L.ln)();case 2:c=l.sent,c.data&&E(c.data);case 4:case"end":return l.stop()}},u)}));return function(){return p.apply(this,arguments)}}();(0,g.useEffect)(function(){Qe(),A(),he()},[]);var qe=function(){var p=Z()(o()().mark(function u(c){var P,l,V;return o()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return P=c.scheduleTime,l=te()(c,He),V=P.map(function(Ce){return J()(Ce.time).valueOf()}),B.prev=2,B.next=5,(0,L.tI)(_()({scheduleTime:V},l));case 5:B.next=10;break;case 7:return B.prev=7,B.t0=B.catch(2),B.abrupt("return");case 10:z.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),he(),r(!1);case 13:case"end":return B.stop()}},u,null,[[2,7]])}));return function(c){return p.apply(this,arguments)}}(),_e=function(){m.resetFields(),C(!0)},en=function(){W.resetFields(),r(!0)},nn=function(){m.submit()},rn=function(){C(!1)},tn=function(){W.submit()},an=function(){r(!1)},un=function(){var p=Z()(o()().mark(function u(c){return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,(0,L.gz)({deviceId:c.deviceId||"",channel:c.channel||""});case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:C(!1),A();case 10:case"end":return l.stop()}},u,null,[[0,5]])}));return function(c){return p.apply(this,arguments)}}();return(0,e.jsx)(ue._z,{children:(0,e.jsxs)(Ze.Z,{defaultActiveKey:"1",onChange:function(u){u==="1"?A():u==="2"&&he()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(X.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(I.ZP,{onClick:_e,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(ve.Z,{columns:Ge,dataSource:M}),(0,e.jsx)(Q.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:D,onOk:nn,onCancel:rn,children:(0,e.jsxs)(v.Z,{form:m,onFinish:un,children:[(0,e.jsx)(v.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(w.Z,{})}),(0,e.jsx)(v.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(pe.Z,{options:(0,G.FG)()})})]})})]})},"1"),(0,e.jsx)(X.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(I.ZP,{onClick:en,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(ve.Z,{columns:Je,dataSource:f}),(0,e.jsx)(Q.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:n,onOk:tn,onCancel:an,children:(0,e.jsxs)(v.Z,{labelCol:{span:6},wrapperCol:{span:18},form:W,onFinish:qe,children:[(0,e.jsx)(v.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",options:T.map(function(p){return{label:p.name,value:p.id}})})}),(0,e.jsx)(v.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(w.Z,{})}),(0,e.jsx)(v.Z.List,{name:"scheduleTime",children:function(u,c){var P=c.add,l=c.remove;return(0,e.jsxs)(e.Fragment,{children:[u.map(function(V){var q=V.key,B=V.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(Ie.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(je.Z,{span:18,children:(0,e.jsx)(v.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[B,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(ye.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(je.Z,{children:(0,e.jsx)(me.Z,{onClick:function(){return l(B)}})})]},q)})}),(0,e.jsx)(v.Z.Item,{children:(0,e.jsx)(I.ZP,{type:"dashed",onClick:function(){return P()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(X.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(Me,{})},"3"),(0,e.jsx)(X.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(we,{})},"4"),(0,e.jsx)(X.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Ne,{})},"5"),(0,e.jsx)(X.Z,{tab:"\u5237\u6570\u636Ev2",children:(0,e.jsx)(Re,{})},"6"),(0,e.jsx)(X.Z,{tab:"\u5185\u90E8\u7528\u6237",children:(0,e.jsx)(Ke,{})},"7")]})})},Ve=We},32400:function(ge,re,s){s.d(re,{p:function(){return fe}});var de=s(15009),_=s.n(de),ce=s(99289),te=s.n(ce),oe=s(8322),o=s.n(oe);function fe(ae){return Z.apply(this,arguments)}function Z(){return Z=te()(_()().mark(function ae(x){return _()().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.abrupt("return",new Promise(function(N,me){var ue=new(o()).ArrayBuffer,v=new FileReader;v.onload=function(w){var R;ue.append((R=w.target)===null||R===void 0?void 0:R.result),N(ue.end())},v.onerror=function(w){me(w)},v.readAsArrayBuffer(x)}));case 1:case"end":return G.stop()}},ae)})),Z.apply(this,arguments)}}}]); diff --git a/dist/umi.cad28bb4.js b/dist/umi.a5d371d9.js similarity index 99% rename from dist/umi.cad28bb4.js rename to dist/umi.a5d371d9.js index 68ae7a2..3c20423 100644 --- a/dist/umi.cad28bb4.js +++ b/dist/umi.a5d371d9.js @@ -419,7 +419,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},51064:function(v,g,e){"use strict";var t=e(76058),r=e(36812),o=e(75773),a=e(23622),s=e(49385),c=e(8758),u=e(38055),l=e(33457),f=e(13841),p=e(62570),y=e(65411),m=e(67697),d=e(53931);v.exports=function(b,C,S,x){var T="stackTraceLimit",w=x?2:1,j=b.split("."),E=j[j.length-1],$=t.apply(null,j);if($){var N=$.prototype;if(!d&&r(N,"cause")&&delete N.cause,!S)return $;var oe=t("Error"),z=C(function(Y,te){var ee=f(x?te:Y,void 0),B=x?new $(Y):new $;return ee!==void 0&&o(B,"message",ee),y(B,z,B.stack,2),this&&a(N,this)&&l(B,this,z),arguments.length>w&&p(B,arguments[w]),B});if(z.prototype=N,E!=="Error"?s?s(z,oe):c(z,oe,{name:!0}):m&&T in $&&(u(z,$,T),u(z,$,"prepareStackTrace")),c(z,$),!d)try{N.name!==E&&o(N,"name",E),N.constructor=z}catch(Y){}return z}}},54927:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(61735),a=e(3689),s=e(51064),c="AggregateError",u=r(c),l=!a(function(){return u([1]).errors[0]!==1})&&a(function(){return u([1],c,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:s(c,function(f){return function(y,m){return o(f,this,arguments)}},l,!0)})},39382:function(v,g,e){"use strict";var t=e(79989),r=e(23622),o=e(61868),a=e(49385),s=e(8758),c=e(25391),u=e(75773),l=e(75684),f=e(62570),p=e(65411),y=e(18734),m=e(13841),d=e(44201),b=d("toStringTag"),C=Error,S=[].push,x=function(j,E){var $=r(T,this),N;a?N=a(new C,$?o(this):T):(N=$?this:c(T),u(N,b,"Error")),E!==void 0&&u(N,"message",m(E)),p(N,x,N.stack,1),arguments.length>2&&f(N,arguments[2]);var oe=[];return y(j,S,{that:oe}),u(N,"errors",oe),N};a?a(x,C):s(x,C,{name:!0});var T=x.prototype=c(C.prototype,{constructor:l(1,x),message:l(1,""),name:l(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:x})},95879:function(v,g,e){"use strict";e(39382)},92176:function(v,g,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(68700),s=e(87370);t({target:"Array",proto:!0},{at:function(u){var l=r(this),f=o(l),p=a(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:l[y]}}),s("at")},93383:function(v,g,e){"use strict";var t=e(79989),r=e(61969).findLastIndex,o=e(87370);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},59867:function(v,g,e){"use strict";var t=e(79989),r=e(61969).findLast,o=e(87370);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},70560:function(v,g,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(5649),s=e(55565),c=e(3689),u=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},f=u||!l();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(y){var m=r(this),d=o(m),b=arguments.length;s(d+b);for(var C=0;C79&&a<83,u=c||!o("reduceRight");t({target:"Array",proto:!0,forced:u},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:function(v,g,e){"use strict";var t=e(79989),r=e(88820).left,o=e(16834),a=e(3615),s=e(50806),c=!s&&a>79&&a<83,u=c||!o("reduce");t({target:"Array",proto:!0,forced:u},{reduce:function(f){var p=arguments.length;return r(this,f,p,p>1?arguments[1]:void 0)}})},29830:function(v,g,e){"use strict";var t=e(79989),r=e(26166),o=e(65290),a=e(87370),s=Array;t({target:"Array",proto:!0},{toReversed:function(){return r(o(this),s)}}),a("toReversed")},12894:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(10509),a=e(65290),s=e(59976),c=e(88277),u=e(87370),l=Array,f=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(y){y!==void 0&&o(y);var m=a(this),d=s(l,m);return f(d,y)}}),u("toSorted")},93530:function(v,g,e){"use strict";var t=e(79989),r=e(87370),o=e(55565),a=e(6310),s=e(27578),c=e(65290),u=e(68700),l=Array,f=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(m,d){var b=c(this),C=a(b),S=s(m,C),x=arguments.length,T=0,w,j,E,$;for(x===0?w=j=0:x===1?(w=0,j=C-S):(w=x-2,j=p(f(u(d),0),C-S)),E=o(C+w-j),$=l(E);T=0?d:m+d;return b<0||b>=m?void 0:u(y,b)}})},12281:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(74684),a=e(34327),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var u=a(o(this)),l=u.length,f=0;f=56320||++f>=l||(s(u,f)&64512)!==56320))return!1}return!0}})},56532:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(68844),a=e(74684),s=e(69985),c=e(981),u=e(91245),l=e(34327),f=e(54849),p=e(63477),y=e(27017),m=e(44201),d=e(53931),b=m("replace"),C=TypeError,S=o("".indexOf),x=o("".replace),T=o("".slice),w=Math.max,j=function(E,$,N){return N>E.length?-1:$===""?N:S(E,$,N)};t({target:"String",proto:!0},{replaceAll:function($,N){var oe=a(this),z,Y,te,ee,B,ne,Q,q,L,F=0,I=0,M="";if(!c($)){if(z=u($),z&&(Y=l(a(p($))),!~S(Y,"g")))throw new C("`.replaceAll` does not allow non-global regexes");if(te=f($,b),te)return r(te,$,oe,N);if(d&&z)return x(l(oe),$,N)}for(ee=l(oe),B=l($),ne=s(N),ne||(N=l(N)),Q=B.length,q=w(1,Q),F=j(ee,B,0);F!==-1;)L=ne?l(N(B,F,ee)):y(B,ee,F,[],void 0,N),M+=T(ee,I,F)+L,I=F+Q,F=j(ee,B,F+q);return I=56320||T+1>=S||(f(C,T+1)&64512)!==56320?x[T]=m:(x[T]=l(C,T),x[++T]=l(C,T))}return p(x,"")}})},95194:function(v,g,e){"use strict";var t=e(54872),r=e(6310),o=e(68700),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(u){var l=a(this),f=r(l),p=o(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:l[y]})},82:function(v,g,e){"use strict";var t=e(54872),r=e(61969).findLastIndex,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},20522:function(v,g,e){"use strict";var t=e(54872),r=e(61969).findLast,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},79976:function(v,g,e){"use strict";var t=e(19037),r=e(22615),o=e(54872),a=e(6310),s=e(83250),c=e(90690),u=e(3689),l=t.RangeError,f=t.Int8Array,p=f&&f.prototype,y=p&&p.set,m=o.aTypedArray,d=o.exportTypedArrayMethod,b=!u(function(){var S=new Uint8ClampedArray(2);return r(y,S,{length:1,0:3},1),S[1]!==3}),C=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var S=new f(2);return S.set(1),S.set("2",1),S[0]!==0||S[1]!==2});d("set",function(x){m(this);var T=s(arguments.length>1?arguments[1]:void 0,1),w=c(x);if(b)return r(y,this,w,T);var j=this.length,E=a(w),$=0;if(E+T>j)throw new l("Wrong length");for(;$1?arguments[1]:void 0)}}),o("filterOut")},54883:function(v,g,e){"use strict";var t=e(79989),r=e(2960).filterReject,o=e(87370);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},18073:function(v,g,e){"use strict";var t=e(79989),r=e(2231);t({target:"Array",stat:!0},{fromAsync:r})},96882:function(v,g,e){"use strict";var t=e(79989),r=e(16834),o=e(87370),a=e(44416),s=e(53931);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),o("groupByToMap")},22525:function(v,g,e){"use strict";var t=e(79989),r=e(64976),o=e(16834),a=e(87370);t({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(c){var u=arguments.length>1?arguments[1]:void 0;return r(this,c,u)}}),a("groupBy")},32539:function(v,g,e){"use strict";var t=e(79989),r=e(87370),o=e(44416),a=e(53931);t({target:"Array",proto:!0,forced:a},{groupToMap:o}),r("groupToMap")},36208:function(v,g,e){"use strict";var t=e(79989),r=e(64976),o=e(87370);t({target:"Array",proto:!0},{group:function(s){var c=arguments.length>1?arguments[1]:void 0;return r(this,s,c)}}),o("group")},5082:function(v,g,e){"use strict";var t=e(79989),r=e(92297),o=Object.isFrozen,a=function(s,c){if(!o||!r(s)||!o(s))return!1;for(var u=0,l=s.length,f;u1?arguments[1]:!1);return o([u&255,u>>8&255],10)}})},89246:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return o(this,s)}})},31186:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(15477).pack,c=e(76043),u=TypeError,l=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(p,y){if(o(this)!=="DataView")throw new u("Incorrect receiver");var m=a(p),d=s(c(y),10,2);return l(this,m,d[1]<<8|d[0],arguments.length>2?arguments[2]:!1)}})},9279:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(87191),c=TypeError,u=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,p){if(o(this)!=="DataView")throw new c("Incorrect receiver");var y=a(f);return u(this,y,s(p))}})},26725:function(v,g,e){"use strict";var t=e(79989),r=e(67697),o=e(76058),a=e(10509),s=e(767),c=e(11880),u=e(6045),l=e(62148),f=e(44201),p=e(618),y=e(29199),m=o("SuppressedError"),d=ReferenceError,b=f("dispose"),C=f("toStringTag"),S="DisposableStack",x=p.set,T=p.getterFor(S),w="sync-dispose",j="disposed",E="pending",$=function(z){var Y=T(z);if(Y.state===j)throw new d(S+" already disposed");return Y},N=function(){x(s(this,oe),{type:S,state:E,stack:[]}),r||(this.disposed=!1)},oe=N.prototype;u(oe,{dispose:function(){var Y=T(this);if(Y.state!==j){Y.state=j,r||(this.disposed=!0);for(var te=Y.stack,ee=te.length,B=!1,ne;ee;){var Q=te[--ee];te[ee]=null;try{Q()}catch(q){B?ne=new m(q,ne):(B=!0,ne=q)}}if(Y.stack=null,B)throw ne}},use:function(Y){return y($(this),Y,w),Y},adopt:function(Y,te){var ee=$(this);return a(te),y(ee,void 0,w,function(){te(Y)}),Y},defer:function(Y){var te=$(this);a(Y),y(te,void 0,w,Y)},move:function(){var Y=$(this),te=new N;return T(te).stack=Y.stack,Y.stack=[],Y.state=j,r||(this.disposed=!0),te}}),r&&l(oe,"disposed",{configurable:!0,get:function(){return T(this).state===j}}),c(oe,b,oe.dispose,{name:"dispose"}),c(oe,C,S,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:N})},26125:function(v,g,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},2820:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(69985),a=e(6738),s=e(36812),c=e(67697),u=Object.getOwnPropertyDescriptor,l=/^\s*class\b/,f=r(l.exec),p=function(y){try{if(!c||!f(l,a(y)))return!1}catch(d){}var m=u(y,"prototype");return!!m&&s(m,"writable")&&!m.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(m){return o(m)&&!p(m)}})},62517:function(v,g,e){"use strict";var t=e(79989),r=e(19429);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},54947:function(v,g,e){"use strict";var t=e(44201),r=e(72560).f,o=t("metadata"),a=Function.prototype;a[o]===void 0&&r(a,o,{value:null})},74993:function(v,g,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},50647:function(v,g,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},67602:function(v,g,e){"use strict";var t=e(79989),r=e(19037),o=e(767),a=e(85027),s=e(69985),c=e(61868),u=e(62148),l=e(76522),f=e(3689),p=e(36812),y=e(44201),m=e(12013).IteratorPrototype,d=e(67697),b=e(53931),C="constructor",S="Iterator",x=y("toStringTag"),T=TypeError,w=r[S],j=b||!s(w)||w.prototype!==m||!f(function(){w({})}),E=function(){if(o(this,m),c(this)===m)throw new T("Abstract class Iterator not directly constructable")},$=function(N,oe){d?u(m,N,{configurable:!0,get:function(){return oe},set:function(z){if(a(this),this===m)throw new T("You can't redefine this property");p(this,N)?this[N]=z:l(this,N,z)}}):m[N]=oe};p(m,x)||$(x,S),(j||!p(m,C)||m[C]===Object)&&$(C,E),E.prototype=m,t({global:!0,constructor:!0,forced:j},{Iterator:E})},82639:function(v,g,e){"use strict";var t=e(22615),r=e(11880),o=e(54849),a=e(36812),s=e(44201),c=e(12013).IteratorPrototype,u=s("dispose");a(c,u)||r(c,u,function(){var l=o(this,"return");l&&t(l,this)})},63986:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),u=e(65419),l=e(53931),f=u(function(){for(var p=this.iterator,y=this.next,m,d;this.remaining;)if(this.remaining--,m=o(r(y,p)),d=this.done=!!m.done,d)return;if(m=o(r(y,p)),d=this.done=!!m.done,!d)return m.value});t({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(y){o(this);var m=c(s(+y));return new f(a(this),{remaining:m})}})},16054:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{every:function(u){a(this),o(u);var l=s(this),f=0;return!r(l,function(p,y){if(!u(p,f++))return y()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53476:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(65419),u=e(71228),l=e(53931),f=c(function(){for(var p=this.iterator,y=this.predicate,m=this.next,d,b,C;;){if(d=a(r(m,p)),b=this.done=!!d.done,b)return;if(C=d.value,u(p,y,[C,this.counter++],!0))return C}});t({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(y){return a(this),o(y),new f(s(this),{predicate:y})}})},70928:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{find:function(u){a(this),o(u);var l=s(this),f=0;return r(l,function(p,y){if(u(p,f++))return y(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},49411:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(36752),u=e(65419),l=e(72125),f=e(53931),p=u(function(){for(var y=this.iterator,m=this.mapper,d,b;;){if(b=this.inner)try{if(d=a(r(b.next,b.iterator)),!d.done)return d.value;this.inner=null}catch(C){l(y,"throw",C)}if(d=a(r(this.next,y)),this.done=!!d.done)return;try{this.inner=c(m(d.value,this.counter++),!1)}catch(C){l(y,"throw",C)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(m){return a(this),o(m),new p(s(this),{mapper:m,inner:null})}})},30005:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{forEach:function(u){a(this),o(u);var l=s(this),f=0;r(l,function(p){u(p,f++)},{IS_RECORD:!0})}})},73494:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(90690),a=e(23622),s=e(12013).IteratorPrototype,c=e(65419),u=e(36752),l=e(53931),f=c(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:l},{from:function(y){var m=u(typeof y=="string"?o(y):y,!0);return a(s,m.iterator)?m.iterator:new f(m)}})},94564:function(v,g,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},41792:function(v,g,e){"use strict";var t=e(79989),r=e(88983),o=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:o},{map:r})},5985:function(v,g,e){"use strict";var t=e(79989),r=e(98554),o=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,c,u){if(typeof s=="number")return new r(s,c,u,"number",0,1);if(typeof s=="bigint")return new r(s,c,u,"bigint",BigInt(0),BigInt(1));throw new o("Incorrect Iterator.range arguments")}})},31107:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302),c=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(l){a(this),o(l);var f=s(this),p=arguments.length<2,y=p?void 0:arguments[1],m=0;if(r(f,function(d){p?(p=!1,y=d):y=l(y,d,m),m++},{IS_RECORD:!0}),p)throw new c("Reduce of empty iterator with no initial value");return y}})},28244:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{some:function(u){a(this),o(u);var l=s(this),f=0;return r(l,function(p,y){if(u(p,f++))return y()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3645:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),u=e(65419),l=e(72125),f=e(53931),p=u(function(){var y=this.iterator;if(!this.remaining--)return this.done=!0,l(y,"normal",void 0);var m=o(r(this.next,y)),d=this.done=!!m.done;if(!d)return m.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(m){o(this);var d=c(s(+m));return new p(a(this),{remaining:d})}})},58429:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(18734),a=e(22302),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var u=[];return o(a(r(this)),s,{that:u,IS_RECORD:!0}),u}})},39569:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(29019),a=e(40219),s=e(22302),c=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:c},{toAsync:function(){return new a(s(new o(s(r(this)))))}})},74320:function(v,g,e){"use strict";var t=e(79989),r=e(22818),o=e(55670);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:o})},20691:function(v,g,e){"use strict";var t=e(79989),r=e(67697),o=e(19037),a=e(76058),s=e(68844),c=e(22615),u=e(69985),l=e(48999),f=e(92297),p=e(36812),y=e(34327),m=e(6310),d=e(76522),b=e(3689),C=e(46675),S=e(50146),x=o.JSON,T=o.Number,w=o.SyntaxError,j=x&&x.parse,E=a("Object","keys"),$=Object.getOwnPropertyDescriptor,N=s("".charAt),oe=s("".slice),z=s(/./.exec),Y=s([].push),te=/^\d$/,ee=/^[1-9]$/,B=/^(?:-|\d)$/,ne=/^[\t\n\r ]$/,Q=0,q=1,L=function(X,G){X=y(X);var ce=new R(X,0,""),he=ce.parse(),Re=he.value,Ie=ce.skip(ne,he.end);if(Ie1?arguments[1]:void 0);return a(u,function(f,p){if(!l(f,p,u))return!1},!0)!==!1}})},41099:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){y(d,b,p)&&u(m,b,d)}),m}})},20876:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p,y){if(l(p,y,u))return{key:y}},!0);return f&&f.key}})},26320:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p,y){if(l(p,y,u))return{value:p}},!0);return f&&f.value}})},6052:function(v,g,e){"use strict";var t=e(79989),r=e(28737);t({target:"Map",stat:!0,forced:!0},{from:r})},76791:function(v,g,e){"use strict";var t=e(79989),r=e(68600),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(c){return a(o(this),function(u){if(r(u,c))return!0},!0)===!0}})},75341:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(18734),a=e(69985),s=e(10509),c=e(83914).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(l,f){var p=a(this)?this:c,y=new p;s(f);var m=s(y.set);return o(l,function(d){r(m,y,f(d),d)}),y}})},40019:function(v,g,e){"use strict";var t=e(79989),r=e(9945),o=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var c=o(r(this),function(u,l){if(u===s)return{key:l}},!0);return c&&c.key}})},92343:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){u(m,y(d,b,p),d)}),m}})},51096:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){u(m,b,y(d,b,p))}),m}})},4314:function(v,g,e){"use strict";var t=e(79989),r=e(9945),o=e(18734),a=e(83914).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(c){for(var u=r(this),l=arguments.length,f=0;f1?arguments[1]:void 0);return a(u,function(f,p){if(l(f,p,u))return!0},!0)===!0}})},24453:function(v,g,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},64078:function(v,g,e){"use strict";var t=e(79989),r=e(10509),o=e(9945),a=e(83914),s=TypeError,c=a.get,u=a.has,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,y){var m=o(this),d=arguments.length;r(y);var b=u(m,p);if(!b&&d<3)throw new s("Updating absent value");var C=b?c(m,p):r(d>2?arguments[2]:void 0)(p,m);return l(m,p,y(C,p,m)),m}})},66190:function(v,g,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},25684:function(v,g,e){"use strict";var t=e(79989),r=Math.min,o=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,c,u){return r(u,o(c,s))}})},31789:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},8677:function(v,g,e){"use strict";var t=e(79989),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},59151:function(v,g,e){"use strict";var t=e(79989),r=e(76043);t({target:"Math",stat:!0},{f16round:r})},346:function(v,g,e){"use strict";var t=e(79989),r=e(84463),o=e(37788);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,c,u,l,f){return o(r(s,c,u,l,f))}})},91069:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{iaddh:function(o,a,s,c){var u=o>>>0,l=a>>>0,f=s>>>0;return l+(c>>>0)+((u&f|(u|f)&~(u+f>>>0))>>>31)|0}})},18886:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{imulh:function(o,a){var s=65535,c=+o,u=+a,l=c&s,f=u&s,p=c>>16,y=u>>16,m=(p*f>>>0)+(l*f>>>16);return p*y+(m>>16)+((l*y>>>0)+(m&s)>>16)}})},88065:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{isubh:function(o,a,s,c){var u=o>>>0,l=a>>>0,f=s>>>0;return l-(c>>>0)-((~u&f|~(u^f)&u-f>>>0)>>>31)|0}})},68172:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},60445:function(v,g,e){"use strict";var t=e(79989),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},99457:function(v,g,e){"use strict";var t=e(79989),r=e(84463);t({target:"Math",stat:!0,forced:!0},{scale:r})},613:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(70046),a=e(30974),s=e(27807),c=e(618),u="Seeded Random",l=u+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,y=c.getterFor(l),m=TypeError,d=a(function(C){p(this,{type:l,seed:C%2147483647})},u,function(){var C=y(this),S=C.seed=(C.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var S=r(C).seed;if(!o(S))throw new m(f);return new d(S)}})},835:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{signbit:function(o){var a=+o;return a===a&&a===0?1/a===-1/0:a<0}})},926:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{umulh:function(o,a){var s=65535,c=+o,u=+a,l=c&s,f=u&s,p=c>>>16,y=u>>>16,m=(p*f>>>0)+(l*f>>>16);return p*y+(m>>>16)+((l*y>>>0)+(m&s)>>>16)}})},82899:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(68700),a="Invalid number representation",s="Invalid radix",c=RangeError,u=SyntaxError,l=TypeError,f=parseInt,p=Math.pow,y=/^[\d.a-z]+$/,m=r("".charAt),d=r(y.exec),b=r(1 .toString),C=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(T,w){var j=1;if(typeof T!="string")throw new l(a);if(!T.length)throw new u(a);if(m(T,0)==="-"&&(j=-1,T=C(T,1),!T.length))throw new u(a);var E=w===void 0?10:o(w);if(E<2||E>36)throw new c(s);if(!d(y,T))throw new u(a);var $=S(T,"."),N=f($[0],E);if($.length>1&&(N+=f($[1],E)/p(E,$[1].length)),E===10&&b(N,E)!==T)throw new u(a);return j*N}})},29977:function(v,g,e){"use strict";var t=e(79989),r=e(98554);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,c){return new r(a,s,c,"number",0,1)}})},31927:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},77131:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},55174:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},63503:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(67697),a=e(14241),s=e(10509),c=e(85027),u=e(767),l=e(69985),f=e(981),p=e(48999),y=e(54849),m=e(11880),d=e(6045),b=e(62148),C=e(20920),S=e(44201),x=e(618),T=S("observable"),w="Observable",j="Subscription",E="SubscriptionObserver",$=x.getterFor,N=x.set,oe=$(w),z=$(j),Y=$(E),te=function(q){this.observer=c(q),this.cleanup=void 0,this.subscriptionObserver=void 0};te.prototype={type:j,clean:function(){var q=this.cleanup;if(q){this.cleanup=void 0;try{q()}catch(L){C(L)}}},close:function(){if(!o){var q=this.facade,L=this.subscriptionObserver;q.closed=!0,L&&(L.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ee=function(q,L){var F=N(this,new te(q)),I;o||(this.closed=!1);try{(I=y(q,"start"))&&r(I,q,this)}catch(ae){C(ae)}if(!F.isClosed()){var M=F.subscriptionObserver=new B(F);try{var R=L(M),H=R;f(R)||(F.cleanup=l(R.unsubscribe)?function(){H.unsubscribe()}:s(R))}catch(ae){M.error(ae);return}F.isClosed()&&F.clean()}};ee.prototype=d({},{unsubscribe:function(){var L=z(this);L.isClosed()||(L.close(),L.clean())}}),o&&b(ee.prototype,"closed",{configurable:!0,get:function(){return z(this).isClosed()}});var B=function(q){N(this,{type:E,subscriptionState:q}),o||(this.closed=!1)};B.prototype=d({},{next:function(L){var F=Y(this).subscriptionState;if(!F.isClosed()){var I=F.observer;try{var M=y(I,"next");M&&r(M,I,L)}catch(R){C(R)}}},error:function(L){var F=Y(this).subscriptionState;if(!F.isClosed()){var I=F.observer;F.close();try{var M=y(I,"error");M?r(M,I,L):C(L)}catch(R){C(R)}F.clean()}},complete:function(){var L=Y(this).subscriptionState;if(!L.isClosed()){var F=L.observer;L.close();try{var I=y(F,"complete");I&&r(I,F)}catch(M){C(M)}L.clean()}}}),o&&b(B.prototype,"closed",{configurable:!0,get:function(){return Y(this).subscriptionState.isClosed()}});var ne=function(L){u(this,Q),N(this,{type:w,subscriber:s(L)})},Q=ne.prototype;d(Q,{subscribe:function(L){var F=arguments.length;return new ee(l(L)?{next:L,error:F>1?arguments[1]:void 0,complete:F>2?arguments[2]:void 0}:p(L)?L:{},oe(this).subscriber)}}),m(Q,T,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:ne}),a(w)},9818:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(22615),a=e(85027),s=e(19429),c=e(5185),u=e(54849),l=e(18734),f=e(44201),p=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(m){var d=s(this)?this:r("Observable"),b=u(a(m),p);if(b){var C=a(o(b,m));return C.constructor===d?C:new d(function(x){return C.subscribe(x)})}var S=c(m);return new d(function(x){l(S,function(T,w){if(x.next(T),x.closed)return w()},{IS_ITERATOR:!0,INTERRUPTED:!0}),x.complete()})}})},76314:function(v,g,e){"use strict";e(63503),e(9818),e(38771)},38771:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(19429),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var c=o(this)?this:r("Observable"),u=arguments.length,l=a(u),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var p=o(f),y=s(p,0);return(y>47&&y<58?"\\x3":"")+c(p,u,"\\$&")}})},57282:function(v,g,e){"use strict";var t=e(79989),r=e(10029),o=e(61034).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),c=0,u=arguments.length;c1?arguments[1]:void 0);return a(u,function(f){if(!l(f,f,u))return!1},!0)!==!1}})},96986:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,u=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d){y(d,d,p)&&u(m,d)}),m}})},95681:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p){if(l(p,p,u))return{value:p}},!0);return f&&f.value}})},13781:function(v,g,e){"use strict";var t=e(79989),r=e(28737);t({target:"Set",stat:!0,forced:!0},{from:r})},98873:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(72948);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(c){return r(a,this,o(c))}})},33442:function(v,g,e){"use strict";var t=e(79989),r=e(3689),o=e(72948),a=e(53234),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:o})},50308:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(97795);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(c){return r(a,this,o(c))}})},61964:function(v,g,e){"use strict";var t=e(79989),r=e(97795),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:r})},18955:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(26951);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(c){return r(a,this,o(c))}})},69878:function(v,g,e){"use strict";var t=e(79989),r=e(26951),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:r})},65115:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(3894);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(c){return r(a,this,o(c))}})},52915:function(v,g,e){"use strict";var t=e(79989),r=e(3894),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:r})},19490:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(10029),a=e(48774),s=e(34327),c=r([].join),u=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var p=o(this),y=f===void 0?",":s(f),m=[];return a(p,function(d){u(m,d)}),c(m,y)}})},95752:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,u=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d){u(m,y(d,d,p))}),m}})},32789:function(v,g,e){"use strict";var t=e(79989),r=e(1114);t({target:"Set",stat:!0,forced:!0},{of:r})},27913:function(v,g,e){"use strict";var t=e(79989),r=e(10509),o=e(10029),a=e(48774),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(u){var l=o(this),f=arguments.length<2,p=f?void 0:arguments[1];if(r(u),a(l,function(y){f?(f=!1,p=y):p=u(p,y,y,l)}),f)throw new s("Reduce of empty set with no initial value");return p}})},6831:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0);return a(u,function(f){if(l(f,f,u))return!0},!0)===!0}})},90243:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(62289);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(c){return r(a,this,o(c))}})},97895:function(v,g,e){"use strict";var t=e(79989),r=e(62289),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:r})},98030:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(75674);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(c){return r(a,this,o(c))}})},22275:function(v,g,e){"use strict";var t=e(79989),r=e(75674),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:r})},86220:function(v,g,e){"use strict";var t=e(79989),r=e(10730).charAt,o=e(74684),a=e(68700),s=e(34327);t({target:"String",proto:!0,forced:!0},{at:function(u){var l=s(o(this)),f=l.length,p=a(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:r(l,y)}})},95853:function(v,g,e){"use strict";var t=e(79989),r=e(30974),o=e(27807),a=e(74684),s=e(34327),c=e(618),u=e(10730),l=u.codeAt,f=u.charAt,p="String Iterator",y=c.set,m=c.getterFor(p),d=r(function(C){y(this,{type:p,string:C,index:0})},"String",function(){var C=m(this),S=C.string,x=C.index,T;return x>=S.length?o(void 0,!0):(T=f(S,x),C.index+=T.length,o({codePoint:l(T,0),position:x},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new d(s(a(this)))}})},21917:function(v,g,e){"use strict";var t=e(79989),r=e(8195);t({target:"String",stat:!0,forced:!0},{cooked:r})},66084:function(v,g,e){"use strict";var t=e(71594),r=e(79989),o=e(98702),a=e(68844),s=e(61735),c=e(85027),u=e(90690),l=e(69985),f=e(6310),p=e(72560).f,y=e(9015),m=e(16803),d=e(8195),b=e(98985),C=e(86350),S=new m.WeakMap,x=m.get,T=m.has,w=m.set,j=Array,E=TypeError,$=Object.freeze||Object,N=Object.isFrozen,oe=Math.min,z=a("".charAt),Y=a("".slice),te=a("".split),ee=a(/./.exec),B=/([\n\u2028\u2029]|\r\n?)/g,ne=RegExp("^["+C+"]*"),Q=RegExp("[^"+C+"]"),q="Invalid tag",L="Invalid opening line",F="Invalid closing line",I=function(G){var ce=G.raw;if(t&&!N(ce))throw new E("Raw template should be frozen");if(T(S,ce))return x(S,ce);var he=M(ce),Re=H(he);return p(Re,"raw",{value:$(he)}),$(Re),w(S,ce,Re),Re},M=function(G){var ce=u(G),he=f(ce),Re=j(he),Ie=j(he),Ze=0,nt,pt,Qe,ot;if(!he)throw new E(q);for(;Ze0)throw new E(L);nt[1]=""}if(le){if(nt.length===1||ee(Q,nt[nt.length-1]))throw new E(F);nt[nt.length-2]="",nt[nt.length-1]=""}for(var Z=2;Z1?arguments[1]:void 0);return o(this,l)},!0)},59359:function(v,g,e){"use strict";var t=e(54872),r=e(2960).filterReject,o=e(20716),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(u){var l=r(a(this),u,arguments.length>1?arguments[1]:void 0);return o(this,l)},!0)},76677:function(v,g,e){"use strict";var t=e(76058),r=e(52655),o=e(2231),a=e(54872),s=e(59976),c=a.aTypedArrayConstructor,u=a.exportTypedArrayStaticMethod;u("fromAsync",function(f){var p=this,y=arguments.length,m=y>1?arguments[1]:void 0,d=y>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(f,m,d))}).then(function(b){return s(c(p),b)})},!0)},30548:function(v,g,e){"use strict";var t=e(54872),r=e(64976),o=e(47338),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(u){var l=arguments.length>1?arguments[1]:void 0;return r(a(this),u,l,o)},!0)},915:function(v,g,e){"use strict";var t=e(54872),r=e(6310),o=e(9401),a=e(27578),s=e(71530),c=e(68700),u=e(3689),l=t.aTypedArray,f=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,y=Math.max,m=Math.min,d=!u(function(){var b=new Int8Array([1]),C=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return C[0]!==2||C[1]!==3});p("toSpliced",function(C,S){var x=l(this),T=f(x),w=r(x),j=a(C,w),E=arguments.length,$=0,N,oe,z,Y,te,ee,B;if(E===0)N=oe=0;else if(E===1)N=0,oe=w-j;else if(oe=m(y(c(S),0),w-j),N=E-2,N){Y=new T(N),z=o(Y);for(var ne=2;ne1?a(arguments[1]):void 0,N=f($)==="base64"?p:y,oe=$?!!$.strict:!1,z=oe?E:C(E,T,"");if(z.length%4===0)S(z,-2)==="=="?z=S(z,0,-2):S(z,-1)==="="&&(z=S(z,0,-1));else if(oe)throw new d("Input is not correctly padded");var Y=z.length%4;switch(Y){case 1:throw new d("Bad input length");case 2:z+="AA";break;case 3:z+="A"}for(var te=[],ee=0,B=z.length,ne=function(L){var F=b(z,ee+L);if(!c(N,F))throw new d('Bad char in input: "'+F+'"');return N[F]<<18-6*L};ee>16&255,Q>>8&255,Q&255)}var q=te.length;if(Y===2){if(oe&&te[q-2]!==0)throw new d(w);q-=2}else if(Y===3){if(oe&&te[q-1]!==0)throw new d(w);q--}return u(m,te,q)}})},91117:function(v,g,e){"use strict";var t=e(79989),r=e(19037),o=e(68844),a=e(51082),s=r.Uint8Array,c=r.SyntaxError,u=r.parseInt,l=/[^\da-f]/i,f=o(l.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(m){a(m);var d=m.length;if(d%2)throw new c("String should have an even number of characters");if(f(l,m))throw new c("String should only contain hex characters");for(var b=new s(d/2),C=0;C>6*E&63)};x+21&&!p(arguments[1])?b(arguments[1]):void 0,ie=D?D.transfer:void 0,We,Fe;ie!==void 0&&(We=new I,Fe=Ne(ie,We));var $e=de(xe,We);return Fe&&at(Fe),$e}})},98858:function(v,g,e){"use strict";var t=e(11880),r=e(68844),o=e(34327),a=e(21500),s=URLSearchParams,c=s.prototype,u=r(c.append),l=r(c.delete),f=r(c.forEach),p=r([].push),y=new s("a=1&a=2&b=3");y.delete("a",1),y.delete("b",void 0),y+""!="a=2"&&t(c,"delete",function(m){var d=arguments.length,b=d<2?void 0:arguments[1];if(d&&b===void 0)return l(this,m);var C=[];f(this,function(N,oe){p(C,{key:oe,value:N})}),a(d,1);for(var S=o(m),x=o(b),T=0,w=0,j=!1,E=C.length,$;Tr.length)&&(o=r.length);for(var a=0,s=new Array(o);a=o.length?{done:!0}:{done:!1,value:o[c++]}},e:function(m){throw m},f:u}}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 l=!0,f=!1,p;return{s:function(){s=s.call(o)},n:function(){var m=s.next();return l=m.done,m},e:function(m){f=!0,p=m},f:function(){try{!l&&s.return!=null&&s.return()}finally{if(f)throw p}}}}},29388:function(v,g,e){"use strict";e.d(g,{Z:function(){return a}});var t=e(61120),r=e(78814),o=e(82963);function a(s){var c=(0,r.Z)();return function(){var l=(0,t.Z)(s),f;if(c){var p=(0,t.Z)(this).constructor;f=Reflect.construct(l,arguments,p)}else f=l.apply(this,arguments);return(0,o.Z)(this,f)}}},4942:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(83997);function r(o,a,s){return a=(0,t.Z)(a),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o}},87462:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)continue;s[c]=o[c]}return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},82963:function(v,g,e){"use strict";e.d(g,{Z:function(){return o}});var t=e(71002),r=e(97326);function o(a,s){if(s&&((0,t.Z)(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(a)}},74165:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(71002);function r(){"use strict";r=function(){return a};var o,a={},s=Object.prototype,c=s.hasOwnProperty,u=Object.defineProperty||function(I,M,R){I[M]=R.value},l=typeof Symbol=="function"?Symbol:{},f=l.iterator||"@@iterator",p=l.asyncIterator||"@@asyncIterator",y=l.toStringTag||"@@toStringTag";function m(I,M,R){return Object.defineProperty(I,M,{value:R,enumerable:!0,configurable:!0,writable:!0}),I[M]}try{m({},"")}catch(I){m=function(R,H,ae){return R[H]=ae}}function d(I,M,R,H){var ae=M&&M.prototype instanceof j?M:j,X=Object.create(ae.prototype),G=new L(H||[]);return u(X,"_invoke",{value:B(I,R,G)}),X}function b(I,M,R){try{return{type:"normal",arg:I.call(M,R)}}catch(H){return{type:"throw",arg:H}}}a.wrap=d;var C="suspendedStart",S="suspendedYield",x="executing",T="completed",w={};function j(){}function E(){}function $(){}var N={};m(N,f,function(){return this});var oe=Object.getPrototypeOf,z=oe&&oe(oe(F([])));z&&z!==s&&c.call(z,f)&&(N=z);var Y=$.prototype=j.prototype=Object.create(N);function te(I){["next","throw","return"].forEach(function(M){m(I,M,function(R){return this._invoke(M,R)})})}function ee(I,M){function R(ae,X,G,ce){var he=b(I[ae],I,X);if(he.type!=="throw"){var Re=he.arg,Ie=Re.value;return Ie&&(0,t.Z)(Ie)=="object"&&c.call(Ie,"__await")?M.resolve(Ie.__await).then(function(Ze){R("next",Ze,G,ce)},function(Ze){R("throw",Ze,G,ce)}):M.resolve(Ie).then(function(Ze){Re.value=Ze,G(Re)},function(Ze){return R("throw",Ze,G,ce)})}ce(he.arg)}var H;u(this,"_invoke",{value:function(X,G){function ce(){return new M(function(he,Re){R(X,G,he,Re)})}return H=H?H.then(ce,ce):ce()}})}function B(I,M,R){var H=C;return function(ae,X){if(H===x)throw Error("Generator is already running");if(H===T){if(ae==="throw")throw X;return{value:o,done:!0}}for(R.method=ae,R.arg=X;;){var G=R.delegate;if(G){var ce=ne(G,R);if(ce){if(ce===w)continue;return ce}}if(R.method==="next")R.sent=R._sent=R.arg;else if(R.method==="throw"){if(H===C)throw H=T,R.arg;R.dispatchException(R.arg)}else R.method==="return"&&R.abrupt("return",R.arg);H=x;var he=b(I,M,R);if(he.type==="normal"){if(H=R.done?T:S,he.arg===w)continue;return{value:he.arg,done:R.done}}he.type==="throw"&&(H=T,R.method="throw",R.arg=he.arg)}}}function ne(I,M){var R=M.method,H=I.iterator[R];if(H===o)return M.delegate=null,R==="throw"&&I.iterator.return&&(M.method="return",M.arg=o,ne(I,M),M.method==="throw")||R!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+R+"' method")),w;var ae=b(H,I.iterator,M.arg);if(ae.type==="throw")return M.method="throw",M.arg=ae.arg,M.delegate=null,w;var X=ae.arg;return X?X.done?(M[I.resultName]=X.value,M.next=I.nextLoc,M.method!=="return"&&(M.method="next",M.arg=o),M.delegate=null,w):X:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,w)}function Q(I){var M={tryLoc:I[0]};1 in I&&(M.catchLoc=I[1]),2 in I&&(M.finallyLoc=I[2],M.afterLoc=I[3]),this.tryEntries.push(M)}function q(I){var M=I.completion||{};M.type="normal",delete M.arg,I.completion=M}function L(I){this.tryEntries=[{tryLoc:"root"}],I.forEach(Q,this),this.reset(!0)}function F(I){if(I||I===""){var M=I[f];if(M)return M.call(I);if(typeof I.next=="function")return I;if(!isNaN(I.length)){var R=-1,H=function ae(){for(;++R=0;--ae){var X=this.tryEntries[ae],G=X.completion;if(X.tryLoc==="root")return H("end");if(X.tryLoc<=this.prev){var ce=c.call(X,"catchLoc"),he=c.call(X,"finallyLoc");if(ce&&he){if(this.prev=0;--H){var ae=this.tryEntries[H];if(ae.tryLoc<=this.prev&&c.call(ae,"finallyLoc")&&this.prev=0;--R){var H=this.tryEntries[R];if(H.finallyLoc===M)return this.complete(H.completion,H.afterLoc),q(H),w}},catch:function(M){for(var R=this.tryEntries.length-1;R>=0;--R){var H=this.tryEntries[R];if(H.tryLoc===M){var ae=H.completion;if(ae.type==="throw"){var X=ae.arg;q(H)}return X}}throw Error("illegal catch attempt")},delegateYield:function(M,R,H){return this.delegate={iterator:F(M),resultName:R,nextLoc:H},this.method==="next"&&(this.arg=o),w}},a}},89611:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(r,o){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,c){return s.__proto__=c,s},t(r,o)}},97685:function(v,g,e){"use strict";e.d(g,{Z:function(){return s}});var t=e(83878);function r(c,u){var l=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(l!=null){var f,p,y,m,d=[],b=!0,C=!1;try{if(y=(l=l.call(c)).next,u===0){if(Object(l)!==l)return;b=!1}else for(;!(b=(f=y.call(l)).done)&&(d.push(f.value),d.length!==u);b=!0);}catch(S){C=!0,p=S}finally{try{if(!b&&l.return!=null&&(m=l.return(),Object(m)!==m))return}finally{if(C)throw p}}return d}}var o=e(40181),a=e(25267);function s(c,u){return(0,t.Z)(c)||r(c,u)||(0,o.Z)(c,u)||(0,a.Z)()}},84506:function(v,g,e){"use strict";e.d(g,{Z:function(){return s}});var t=e(83878),r=e(59199),o=e(40181),a=e(25267);function s(c){return(0,t.Z)(c)||(0,r.Z)(c)||(0,o.Z)(c)||(0,a.Z)()}},74902:function(v,g,e){"use strict";e.d(g,{Z:function(){return c}});var t=e(30907);function r(u){if(Array.isArray(u))return(0,t.Z)(u)}var o=e(59199),a=e(40181);function s(){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 c(u){return r(u)||(0,o.Z)(u)||(0,a.Z)(u)||s()}},83997:function(v,g,e){"use strict";e.d(g,{Z:function(){return o}});var t=e(71002);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var u=c.call(a,s||"default");if((0,t.Z)(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function o(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},71002:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(r)}},40181:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(30907);function r(o,a){if(o){if(typeof o=="string")return(0,t.Z)(o,a);var s=Object.prototype.toString.call(o).slice(8,-1);if(s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set")return Array.from(o);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,t.Z)(o,a)}}},58096:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[u]=o[u]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,g,e){"use strict";e.d(g,{J$:function(){return We},ZP:function(){return Fe},kY:function(){return _}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=$e=>$e===a,u=$e=>typeof $e=="function",l=($e,we)=>Gl(Gl({},$e),we),f=$e=>u($e.then),p=new WeakMap;let y=0;const m=$e=>{const we=typeof $e,Pe=$e&&$e.constructor,Ae=Pe==Date;let Ue,_e;if(s($e)===$e&&!Ae&&Pe!=RegExp){if(Ue=p.get($e),Ue)return Ue;if(Ue=++y+"~",p.set($e,Ue),Pe==Array){for(Ue="@",_e=0;_e<$e.length;_e++)Ue+=m($e[_e])+",";p.set($e,Ue)}if(Pe==s){Ue="#";const ct=s.keys($e).sort();for(;!c(_e=ct.pop());)c($e[_e])||(Ue+=_e+":"+m($e[_e])+",");p.set($e,Ue)}}else Ue=Ae?$e.toJSON():we=="symbol"?$e.toString():we=="string"?JSON.stringify($e):""+$e;return Ue},d=new WeakMap,b={},C={},S="undefined",x=typeof window!=S,T=typeof document!=S,w=()=>x&&typeof window.requestAnimationFrame!=S,j=($e,we)=>{const Pe=d.get($e);return[()=>!c(we)&&$e.get(we)||b,Ae=>{if(!c(we)){const Ue=$e.get(we);we in C||(C[we]=Ue),Pe[5](we,l(Ue,Ae),Ue||b)}},Pe[6],()=>!c(we)&&we in C?C[we]:!c(we)&&$e.get(we)||b]};let E=!0;const $=()=>E,[N,oe]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],z=()=>{const $e=T&&document.visibilityState;return c($e)||$e!=="hidden"},Y=$e=>(T&&document.addEventListener("visibilitychange",$e),N("focus",$e),()=>{T&&document.removeEventListener("visibilitychange",$e),oe("focus",$e)}),te=$e=>{const we=()=>{E=!0,$e()},Pe=()=>{E=!1};return N("online",we),N("offline",Pe),()=>{oe("online",we),oe("offline",Pe)}},ee={isOnline:$,isVisible:z},B={initFocus:Y,initReconnect:te},ne=!t.useId,Q=!x||"Deno"in window,q=$e=>w()?window.requestAnimationFrame($e):setTimeout($e,1),L=Q?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,I=!Q&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),M=$e=>{if(u($e))try{$e=$e()}catch(Pe){$e=""}const we=$e;return $e=typeof $e=="string"?$e:(Array.isArray($e)?$e.length:$e)?m($e):"",[$e,we]};let R=0;const H=()=>++R,ae=0,X=1,G=2;var he={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:ae,MUTATE_EVENT:G,RECONNECT_EVENT:X};function Re(...$e){return Lu(this,null,function*(){const[we,Pe,Ae,Ue]=$e,_e=l({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ct=_e.populateCache;const At=_e.rollbackOnError;let vt=_e.optimisticData;const qt=Kt=>typeof At=="function"?At(Kt):At!==!1,kt=_e.throwOnError;if(u(Pe)){const Kt=Pe,Ct=[],Ke=we.keys();for(const Et of Ke)!/^\$(inf|sub)\$/.test(Et)&&Kt(we.get(Et)._k)&&Ct.push(Et);return Promise.all(Ct.map(wt))}return wt(Pe);function wt(Kt){return Lu(this,null,function*(){const[Ct]=M(Kt);if(!Ct)return;const[Ke,Et]=j(we,Ct),[Ut,gt,cn,Ft]=d.get(we),en=()=>{const er=Ut[Ct];return(u(_e.revalidate)?_e.revalidate(Ke().data,Kt):_e.revalidate!==!1)&&(delete cn[Ct],delete Ft[Ct],er&&er[0])?er[0](G).then(()=>Ke().data):Ke().data};if($e.length<3)return en();let Yt=Ae,dn;const pn=H();gt[Ct]=[pn,0];const rn=!c(vt),On=Ke(),An=On.data,Jn=On._c,Rr=c(Jn)?An:Jn;if(rn&&(vt=u(vt)?vt(Rr,An):vt,Et({data:vt,_c:Rr})),u(Yt))try{Yt=Yt(Rr)}catch(er){dn=er}if(Yt&&f(Yt))if(Yt=yield Yt.catch(er=>{dn=er}),pn!==gt[Ct][0]){if(dn)throw dn;return Yt}else dn&&rn&&qt(dn)&&(ct=!0,Et({data:Rr,_c:a}));if(ct&&!dn)if(u(ct)){const er=ct(Yt,Rr);Et({data:er,error:a,_c:a})}else Et({data:Yt,error:a,_c:a});if(gt[Ct][1]=H(),Promise.resolve(en()).then(()=>{Et({_c:a})}),dn){if(kt)throw dn;return}return Yt})}})}const Ie=($e,we)=>{for(const Pe in $e)$e[Pe][0]&&$e[Pe][0](we)},Ze=($e,we)=>{if(!d.has($e)){const Pe=l(B,we),Ae={},Ue=Re.bind(a,$e);let _e=o;const ct={},At=(kt,wt)=>{const Kt=ct[kt]||[];return ct[kt]=Kt,Kt.push(wt),()=>Kt.splice(Kt.indexOf(wt),1)},vt=(kt,wt,Kt)=>{$e.set(kt,wt);const Ct=ct[kt];if(Ct)for(const Ke of Ct)Ke(wt,Kt)},qt=()=>{if(!d.has($e)&&(d.set($e,[Ae,{},{},{},Ue,vt,At]),!Q)){const kt=Pe.initFocus(setTimeout.bind(a,Ie.bind(a,Ae,ae))),wt=Pe.initReconnect(setTimeout.bind(a,Ie.bind(a,Ae,X)));_e=()=>{kt&&kt(),wt&&wt(),d.delete($e)}}};return qt(),[$e,Ue,qt,_e]}return[$e,d.get($e)[4]]},nt=($e,we,Pe,Ae,Ue)=>{const _e=Pe.errorRetryCount,ct=Ue.retryCount,At=~~((Math.random()+.5)*(1<<(ct<8?ct:8)))*Pe.errorRetryInterval;!c(_e)&&ct>_e||setTimeout(Ae,At,Ue)},pt=($e,we)=>m($e)==m(we),[Qe,ot]=Ze(new Map),it=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:nt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:I?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:I?5e3:3e3,compare:pt,isPaused:()=>!1,cache:Qe,mutate:ot,fallback:{}},ee),le=($e,we)=>{const Pe=l($e,we);if(we){const{use:Ae,fallback:Ue}=$e,{use:_e,fallback:ct}=we;Ae&&_e&&(Pe.use=Ae.concat(_e)),Ue&&ct&&(Pe.fallback=l(Ue,ct))}return Pe},Z=(0,t.createContext)({}),O=$e=>{const{value:we}=$e,Pe=(0,t.useContext)(Z),Ae=u(we),Ue=(0,t.useMemo)(()=>Ae?we(Pe):we,[Ae,Pe,we]),_e=(0,t.useMemo)(()=>Ae?Ue:le(Pe,Ue),[Ae,Pe,Ue]),ct=Ue&&Ue.provider,At=(0,t.useRef)(a);ct&&!At.current&&(At.current=Ze(ct(_e.cache||Qe),Ue));const vt=At.current;return vt&&(_e.cache=vt[0],_e.mutate=vt[1]),L(()=>{if(vt)return vt[2]&&vt[2](),vt[3]},[]),(0,t.createElement)(Z.Provider,l($e,{value:_e}))},A="$inf$",W=x&&window.__SWR_DEVTOOLS_USE__,V=W?window.__SWR_DEVTOOLS_USE__:[],J=()=>{W&&(window.__SWR_DEVTOOLS_REACT__=t)},ue=$e=>u($e[1])?[$e[0],$e[1],$e[2]||{}]:[$e[0],null,($e[1]===null?$e[2]:$e[1])||{}],_=()=>l(it,(0,t.useContext)(Z)),K=($e,we)=>{const[Pe,Ae]=M($e),[,,,Ue]=d.get(Qe);if(Ue[Pe])return Ue[Pe];const _e=we(Ae);return Ue[Pe]=_e,_e},se=$e=>(we,Pe,Ae)=>$e(we,Pe&&((..._e)=>{const[ct]=M(we),[,,,At]=d.get(Qe);if(ct.startsWith(A))return Pe(..._e);const vt=At[ct];return c(vt)?Pe(..._e):(delete At[ct],vt)}),Ae),pe=V.concat(se),de=$e=>function(...Pe){const Ae=_(),[Ue,_e,ct]=ue(Pe),At=le(Ae,ct);let vt=$e;const{use:qt}=At,kt=(qt||[]).concat(pe);for(let wt=kt.length;wt--;)vt=kt[wt](vt);return vt(Ue,_e||At.fetcher||null,At)},Ne=($e,we,Pe)=>{const Ae=we[$e]||(we[$e]=[]);return Ae.push(Pe),()=>{const Ue=Ae.indexOf(Pe);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},at=($e,we)=>(...Pe)=>{const[Ae,Ue,_e]=ue(Pe),ct=(_e.use||[]).concat(we);return $e(Ae,Ue,Xc(Gl({},_e),{use:ct}))};J();const Ce=$e=>serialize($e)[0],xe=t.use||($e=>{if($e.status==="pending")throw $e;if($e.status==="fulfilled")return $e.value;throw $e.status==="rejected"?$e.reason:($e.status="pending",$e.then(we=>{$e.status="fulfilled",$e.value=we},we=>{$e.status="rejected",$e.reason=we}),$e)}),D={dedupe:!0},ie=($e,we,Pe)=>{const{cache:Ae,compare:Ue,suspense:_e,fallbackData:ct,revalidateOnMount:At,revalidateIfStale:vt,refreshInterval:qt,refreshWhenHidden:kt,refreshWhenOffline:wt,keepPreviousData:Kt}=Pe,[Ct,Ke,Et,Ut]=d.get(Ae),[gt,cn]=M($e),Ft=(0,t.useRef)(!1),en=(0,t.useRef)(!1),Yt=(0,t.useRef)(gt),dn=(0,t.useRef)(we),pn=(0,t.useRef)(Pe),rn=()=>pn.current,On=()=>rn().isVisible()&&rn().isOnline(),[An,Jn,Rr,er]=j(Ae,gt),ut=(0,t.useRef)({}).current,Je=c(ct)?Pe.fallback[gt]:ct,ke=(qe,xt)=>{for(const Bt in ut){const bt=Bt;if(bt==="data"){if(!Ue(qe[bt],xt[bt])&&(!c(qe[bt])||!Ue(ir,xt[bt])))return!1}else if(xt[bt]!==qe[bt])return!1}return!0},Jt=(0,t.useMemo)(()=>{const qe=(()=>!gt||!we?!1:c(At)?rn().isPaused()||_e?!1:c(vt)?!0:vt:At)(),xt=Dn=>{const Gn=l(Dn);return delete Gn._k,qe?Gl({isValidating:!0,isLoading:!0},Gn):Gn},Bt=An(),bt=er(),zt=xt(Bt),Vt=Bt===bt?zt:xt(bt);let nn=zt;return[()=>{const Dn=xt(An());return ke(Dn,nn)?(nn.data=Dn.data,nn.isLoading=Dn.isLoading,nn.isValidating=Dn.isValidating,nn.error=Dn.error,nn):(nn=Dn,Dn)},()=>Vt]},[Ae,gt]),ht=(0,r.useSyncExternalStore)((0,t.useCallback)(qe=>Rr(gt,(xt,Bt)=>{ke(Bt,xt)||qe()}),[Ae,gt]),Jt[0],Jt[1]),un=!Ft.current,Tn=Ct[gt]&&Ct[gt].length>0,Un=ht.data,rr=c(Un)?Je:Un,or=ht.error,fr=(0,t.useRef)(rr),ir=Kt?c(Un)?fr.current:Un:rr,gr=(()=>Tn&&!c(or)?!1:un&&!c(At)?At:rn().isPaused()?!1:_e?c(rr)?!1:vt:c(rr)||vt)(),sr=!!(gt&&we&&un&&gr),fn=c(ht.isValidating)?sr:ht.isValidating,tr=c(ht.isLoading)?sr:ht.isLoading,gn=(0,t.useCallback)(qe=>Lu(this,null,function*(){const xt=dn.current;if(!gt||!xt||en.current||rn().isPaused())return!1;let Bt,bt,zt=!0;const Vt=qe||{},nn=!Et[gt]||!Vt.dedupe,Dn=()=>ne?!en.current&>===Yt.current&&Ft.current:gt===Yt.current,Gn={isValidating:!1,isLoading:!1},Vn=()=>{Jn(Gn)},Fn=()=>{const Bn=Et[gt];Bn&&Bn[1]===bt&&delete Et[gt]},mn={isValidating:!0};c(An().data)&&(mn.isLoading=!0);try{if(nn&&(Jn(mn),Pe.loadingTimeout&&c(An().data)&&setTimeout(()=>{zt&&Dn()&&rn().onLoadingSlow(gt,Pe)},Pe.loadingTimeout),Et[gt]=[xt(cn),H()]),[Bt,bt]=Et[gt],Bt=yield Bt,nn&&setTimeout(Fn,Pe.dedupingInterval),!Et[gt]||Et[gt][1]!==bt)return nn&&Dn()&&rn().onDiscarded(gt),!1;Gn.error=a;const Bn=Ke[gt];if(!c(Bn)&&(bt<=Bn[0]||bt<=Bn[1]||Bn[1]===0))return Vn(),nn&&Dn()&&rn().onDiscarded(gt),!1;const Mn=An().data;Gn.data=Ue(Mn,Bt)?Mn:Bt,nn&&Dn()&&rn().onSuccess(Bt,gt,Pe)}catch(Bn){Fn();const Mn=rn(),{shouldRetryOnError:jr}=Mn;Mn.isPaused()||(Gn.error=Bn,nn&&Dn()&&(Mn.onError(Bn,gt,Mn),(jr===!0||u(jr)&&jr(Bn))&&(!rn().revalidateOnFocus||!rn().revalidateOnReconnect||On())&&Mn.onErrorRetry(Bn,gt,Mn,De=>{const Te=Ct[gt];Te&&Te[0]&&Te[0](he.ERROR_REVALIDATE_EVENT,De)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return zt=!1,Vn(),!0}),[gt,Ae]),an=(0,t.useCallback)((...qe)=>Re(Ae,Yt.current,...qe),[]);if(L(()=>{dn.current=we,pn.current=Pe,c(Un)||(fr.current=Un)}),L(()=>{if(!gt)return;const qe=gn.bind(a,D);let xt=0;const bt=Ne(gt,Ct,(zt,Vt={})=>{if(zt==he.FOCUS_EVENT){const nn=Date.now();rn().revalidateOnFocus&&nn>xt&&On()&&(xt=nn+rn().focusThrottleInterval,qe())}else if(zt==he.RECONNECT_EVENT)rn().revalidateOnReconnect&&On()&&qe();else{if(zt==he.MUTATE_EVENT)return gn();if(zt==he.ERROR_REVALIDATE_EVENT)return gn(Vt)}});return en.current=!1,Yt.current=gt,Ft.current=!0,Jn({_k:cn}),gr&&(c(rr)||Q?qe():q(qe)),()=>{en.current=!0,bt()}},[gt]),L(()=>{let qe;function xt(){const bt=u(qt)?qt(An().data):qt;bt&&qe!==-1&&(qe=setTimeout(Bt,bt))}function Bt(){!An().error&&(kt||rn().isVisible())&&(wt||rn().isOnline())?gn(D).then(xt):xt()}return xt(),()=>{qe&&(clearTimeout(qe),qe=-1)}},[qt,kt,wt,gt]),(0,t.useDebugValue)(ir),_e&&c(rr)&>){if(!ne&&Q)throw new Error("Fallback data is required when using suspense in SSR.");dn.current=we,pn.current=Pe,en.current=!1;const qe=Ut[gt];if(!c(qe)){const xt=an(qe);xe(xt)}if(c(or)){const xt=gn(D);c(ir)||(xt.status="fulfilled",xt.value=!0),xe(xt)}else throw or}return{mutate:an,get data(){return ut.data=!0,ir},get error(){return ut.error=!0,or},get isValidating(){return ut.isValidating=!0,fn},get isLoading(){return ut.isLoading=!0,tr}}},We=s.defineProperty(O,"defaultValue",{value:it}),Fe=de(ie)}},Ho={};function be(v){var g=Ho[v];if(g!==void 0)return g.exports;var e=Ho[v]={id:v,loaded:!1,exports:{}};return di[v].call(e.exports,e,e.exports,be),e.loaded=!0,e.exports}be.m=di,function(){be.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return be.d(g,{a:g}),g}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;be.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);be.r(r);var o={};g=g||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~g.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},be.d(r,o),r}}(),function(){be.d=function(v,g){for(var e in g)be.o(g,e)&&!be.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:g[e]})}}(),function(){be.f={},be.e=function(v){return Promise.all(Object.keys(be.f).reduce(function(g,e){return be.f[e](v,g),g},[]))}}(),function(){be.u=function(v){return""+({185:"p__Welcome",190:"p__MoneyManagement",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",526:"p__Proxy__ProxyUserManagement",542:"p__AdvRecordListV2",557:"p__Bind",571:"p__404",731:"p__App__AppManagement",816:"p__AdminManagement",857:"p__AdvRecordList",903:"p__UserManagement",990:"p__Proxy__ProxyAdvRecordListV2"}[v]||v)+"."+{15:"a664eb81",134:"6fc81d91",169:"57647c7d",185:"61596037",190:"4138f9c6",301:"4594a64b",366:"9d3ab92e",371:"c61abcd9",390:"41467286",393:"38316f72",397:"fb5f72c1",455:"762227e0",526:"3e781dae",531:"35af34f5",539:"290aefb9",542:"93e34297",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"8a884f26",731:"6464403a",761:"f7bbde11",816:"30842614",841:"614ef4c0",857:"fc092f59",903:"0ef1f876",905:"6e225d1b",930:"fca7adbf",931:"c2d40e0b",990:"20a0f4c8"}[v]+".async.js"}}(),function(){be.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){be.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)}}(),function(){var v={},g="ant-design-pro:";be.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),u=0;u=0)&&(s[u]=o[u]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,g,e){"use strict";e.d(g,{J$:function(){return We},ZP:function(){return Fe},kY:function(){return _}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=$e=>$e===a,u=$e=>typeof $e=="function",l=($e,we)=>Gl(Gl({},$e),we),f=$e=>u($e.then),p=new WeakMap;let y=0;const m=$e=>{const we=typeof $e,Pe=$e&&$e.constructor,Ae=Pe==Date;let Ue,_e;if(s($e)===$e&&!Ae&&Pe!=RegExp){if(Ue=p.get($e),Ue)return Ue;if(Ue=++y+"~",p.set($e,Ue),Pe==Array){for(Ue="@",_e=0;_e<$e.length;_e++)Ue+=m($e[_e])+",";p.set($e,Ue)}if(Pe==s){Ue="#";const ct=s.keys($e).sort();for(;!c(_e=ct.pop());)c($e[_e])||(Ue+=_e+":"+m($e[_e])+",");p.set($e,Ue)}}else Ue=Ae?$e.toJSON():we=="symbol"?$e.toString():we=="string"?JSON.stringify($e):""+$e;return Ue},d=new WeakMap,b={},C={},S="undefined",x=typeof window!=S,T=typeof document!=S,w=()=>x&&typeof window.requestAnimationFrame!=S,j=($e,we)=>{const Pe=d.get($e);return[()=>!c(we)&&$e.get(we)||b,Ae=>{if(!c(we)){const Ue=$e.get(we);we in C||(C[we]=Ue),Pe[5](we,l(Ue,Ae),Ue||b)}},Pe[6],()=>!c(we)&&we in C?C[we]:!c(we)&&$e.get(we)||b]};let E=!0;const $=()=>E,[N,oe]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],z=()=>{const $e=T&&document.visibilityState;return c($e)||$e!=="hidden"},Y=$e=>(T&&document.addEventListener("visibilitychange",$e),N("focus",$e),()=>{T&&document.removeEventListener("visibilitychange",$e),oe("focus",$e)}),te=$e=>{const we=()=>{E=!0,$e()},Pe=()=>{E=!1};return N("online",we),N("offline",Pe),()=>{oe("online",we),oe("offline",Pe)}},ee={isOnline:$,isVisible:z},B={initFocus:Y,initReconnect:te},ne=!t.useId,Q=!x||"Deno"in window,q=$e=>w()?window.requestAnimationFrame($e):setTimeout($e,1),L=Q?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,I=!Q&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),M=$e=>{if(u($e))try{$e=$e()}catch(Pe){$e=""}const we=$e;return $e=typeof $e=="string"?$e:(Array.isArray($e)?$e.length:$e)?m($e):"",[$e,we]};let R=0;const H=()=>++R,ae=0,X=1,G=2;var he={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:ae,MUTATE_EVENT:G,RECONNECT_EVENT:X};function Re(...$e){return Lu(this,null,function*(){const[we,Pe,Ae,Ue]=$e,_e=l({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ct=_e.populateCache;const At=_e.rollbackOnError;let vt=_e.optimisticData;const qt=Kt=>typeof At=="function"?At(Kt):At!==!1,kt=_e.throwOnError;if(u(Pe)){const Kt=Pe,Ct=[],Ke=we.keys();for(const Et of Ke)!/^\$(inf|sub)\$/.test(Et)&&Kt(we.get(Et)._k)&&Ct.push(Et);return Promise.all(Ct.map(wt))}return wt(Pe);function wt(Kt){return Lu(this,null,function*(){const[Ct]=M(Kt);if(!Ct)return;const[Ke,Et]=j(we,Ct),[Ut,gt,cn,Ft]=d.get(we),en=()=>{const er=Ut[Ct];return(u(_e.revalidate)?_e.revalidate(Ke().data,Kt):_e.revalidate!==!1)&&(delete cn[Ct],delete Ft[Ct],er&&er[0])?er[0](G).then(()=>Ke().data):Ke().data};if($e.length<3)return en();let Yt=Ae,dn;const pn=H();gt[Ct]=[pn,0];const rn=!c(vt),On=Ke(),An=On.data,Jn=On._c,Rr=c(Jn)?An:Jn;if(rn&&(vt=u(vt)?vt(Rr,An):vt,Et({data:vt,_c:Rr})),u(Yt))try{Yt=Yt(Rr)}catch(er){dn=er}if(Yt&&f(Yt))if(Yt=yield Yt.catch(er=>{dn=er}),pn!==gt[Ct][0]){if(dn)throw dn;return Yt}else dn&&rn&&qt(dn)&&(ct=!0,Et({data:Rr,_c:a}));if(ct&&!dn)if(u(ct)){const er=ct(Yt,Rr);Et({data:er,error:a,_c:a})}else Et({data:Yt,error:a,_c:a});if(gt[Ct][1]=H(),Promise.resolve(en()).then(()=>{Et({_c:a})}),dn){if(kt)throw dn;return}return Yt})}})}const Ie=($e,we)=>{for(const Pe in $e)$e[Pe][0]&&$e[Pe][0](we)},Ze=($e,we)=>{if(!d.has($e)){const Pe=l(B,we),Ae={},Ue=Re.bind(a,$e);let _e=o;const ct={},At=(kt,wt)=>{const Kt=ct[kt]||[];return ct[kt]=Kt,Kt.push(wt),()=>Kt.splice(Kt.indexOf(wt),1)},vt=(kt,wt,Kt)=>{$e.set(kt,wt);const Ct=ct[kt];if(Ct)for(const Ke of Ct)Ke(wt,Kt)},qt=()=>{if(!d.has($e)&&(d.set($e,[Ae,{},{},{},Ue,vt,At]),!Q)){const kt=Pe.initFocus(setTimeout.bind(a,Ie.bind(a,Ae,ae))),wt=Pe.initReconnect(setTimeout.bind(a,Ie.bind(a,Ae,X)));_e=()=>{kt&&kt(),wt&&wt(),d.delete($e)}}};return qt(),[$e,Ue,qt,_e]}return[$e,d.get($e)[4]]},nt=($e,we,Pe,Ae,Ue)=>{const _e=Pe.errorRetryCount,ct=Ue.retryCount,At=~~((Math.random()+.5)*(1<<(ct<8?ct:8)))*Pe.errorRetryInterval;!c(_e)&&ct>_e||setTimeout(Ae,At,Ue)},pt=($e,we)=>m($e)==m(we),[Qe,ot]=Ze(new Map),it=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:nt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:I?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:I?5e3:3e3,compare:pt,isPaused:()=>!1,cache:Qe,mutate:ot,fallback:{}},ee),le=($e,we)=>{const Pe=l($e,we);if(we){const{use:Ae,fallback:Ue}=$e,{use:_e,fallback:ct}=we;Ae&&_e&&(Pe.use=Ae.concat(_e)),Ue&&ct&&(Pe.fallback=l(Ue,ct))}return Pe},Z=(0,t.createContext)({}),O=$e=>{const{value:we}=$e,Pe=(0,t.useContext)(Z),Ae=u(we),Ue=(0,t.useMemo)(()=>Ae?we(Pe):we,[Ae,Pe,we]),_e=(0,t.useMemo)(()=>Ae?Ue:le(Pe,Ue),[Ae,Pe,Ue]),ct=Ue&&Ue.provider,At=(0,t.useRef)(a);ct&&!At.current&&(At.current=Ze(ct(_e.cache||Qe),Ue));const vt=At.current;return vt&&(_e.cache=vt[0],_e.mutate=vt[1]),L(()=>{if(vt)return vt[2]&&vt[2](),vt[3]},[]),(0,t.createElement)(Z.Provider,l($e,{value:_e}))},A="$inf$",W=x&&window.__SWR_DEVTOOLS_USE__,V=W?window.__SWR_DEVTOOLS_USE__:[],J=()=>{W&&(window.__SWR_DEVTOOLS_REACT__=t)},ue=$e=>u($e[1])?[$e[0],$e[1],$e[2]||{}]:[$e[0],null,($e[1]===null?$e[2]:$e[1])||{}],_=()=>l(it,(0,t.useContext)(Z)),K=($e,we)=>{const[Pe,Ae]=M($e),[,,,Ue]=d.get(Qe);if(Ue[Pe])return Ue[Pe];const _e=we(Ae);return Ue[Pe]=_e,_e},se=$e=>(we,Pe,Ae)=>$e(we,Pe&&((..._e)=>{const[ct]=M(we),[,,,At]=d.get(Qe);if(ct.startsWith(A))return Pe(..._e);const vt=At[ct];return c(vt)?Pe(..._e):(delete At[ct],vt)}),Ae),pe=V.concat(se),de=$e=>function(...Pe){const Ae=_(),[Ue,_e,ct]=ue(Pe),At=le(Ae,ct);let vt=$e;const{use:qt}=At,kt=(qt||[]).concat(pe);for(let wt=kt.length;wt--;)vt=kt[wt](vt);return vt(Ue,_e||At.fetcher||null,At)},Ne=($e,we,Pe)=>{const Ae=we[$e]||(we[$e]=[]);return Ae.push(Pe),()=>{const Ue=Ae.indexOf(Pe);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},at=($e,we)=>(...Pe)=>{const[Ae,Ue,_e]=ue(Pe),ct=(_e.use||[]).concat(we);return $e(Ae,Ue,Xc(Gl({},_e),{use:ct}))};J();const Ce=$e=>serialize($e)[0],xe=t.use||($e=>{if($e.status==="pending")throw $e;if($e.status==="fulfilled")return $e.value;throw $e.status==="rejected"?$e.reason:($e.status="pending",$e.then(we=>{$e.status="fulfilled",$e.value=we},we=>{$e.status="rejected",$e.reason=we}),$e)}),D={dedupe:!0},ie=($e,we,Pe)=>{const{cache:Ae,compare:Ue,suspense:_e,fallbackData:ct,revalidateOnMount:At,revalidateIfStale:vt,refreshInterval:qt,refreshWhenHidden:kt,refreshWhenOffline:wt,keepPreviousData:Kt}=Pe,[Ct,Ke,Et,Ut]=d.get(Ae),[gt,cn]=M($e),Ft=(0,t.useRef)(!1),en=(0,t.useRef)(!1),Yt=(0,t.useRef)(gt),dn=(0,t.useRef)(we),pn=(0,t.useRef)(Pe),rn=()=>pn.current,On=()=>rn().isVisible()&&rn().isOnline(),[An,Jn,Rr,er]=j(Ae,gt),ut=(0,t.useRef)({}).current,Je=c(ct)?Pe.fallback[gt]:ct,ke=(qe,xt)=>{for(const Bt in ut){const bt=Bt;if(bt==="data"){if(!Ue(qe[bt],xt[bt])&&(!c(qe[bt])||!Ue(ir,xt[bt])))return!1}else if(xt[bt]!==qe[bt])return!1}return!0},Jt=(0,t.useMemo)(()=>{const qe=(()=>!gt||!we?!1:c(At)?rn().isPaused()||_e?!1:c(vt)?!0:vt:At)(),xt=Dn=>{const Gn=l(Dn);return delete Gn._k,qe?Gl({isValidating:!0,isLoading:!0},Gn):Gn},Bt=An(),bt=er(),zt=xt(Bt),Vt=Bt===bt?zt:xt(bt);let nn=zt;return[()=>{const Dn=xt(An());return ke(Dn,nn)?(nn.data=Dn.data,nn.isLoading=Dn.isLoading,nn.isValidating=Dn.isValidating,nn.error=Dn.error,nn):(nn=Dn,Dn)},()=>Vt]},[Ae,gt]),ht=(0,r.useSyncExternalStore)((0,t.useCallback)(qe=>Rr(gt,(xt,Bt)=>{ke(Bt,xt)||qe()}),[Ae,gt]),Jt[0],Jt[1]),un=!Ft.current,Tn=Ct[gt]&&Ct[gt].length>0,Un=ht.data,rr=c(Un)?Je:Un,or=ht.error,fr=(0,t.useRef)(rr),ir=Kt?c(Un)?fr.current:Un:rr,gr=(()=>Tn&&!c(or)?!1:un&&!c(At)?At:rn().isPaused()?!1:_e?c(rr)?!1:vt:c(rr)||vt)(),sr=!!(gt&&we&&un&&gr),fn=c(ht.isValidating)?sr:ht.isValidating,tr=c(ht.isLoading)?sr:ht.isLoading,gn=(0,t.useCallback)(qe=>Lu(this,null,function*(){const xt=dn.current;if(!gt||!xt||en.current||rn().isPaused())return!1;let Bt,bt,zt=!0;const Vt=qe||{},nn=!Et[gt]||!Vt.dedupe,Dn=()=>ne?!en.current&>===Yt.current&&Ft.current:gt===Yt.current,Gn={isValidating:!1,isLoading:!1},Vn=()=>{Jn(Gn)},Fn=()=>{const Bn=Et[gt];Bn&&Bn[1]===bt&&delete Et[gt]},mn={isValidating:!0};c(An().data)&&(mn.isLoading=!0);try{if(nn&&(Jn(mn),Pe.loadingTimeout&&c(An().data)&&setTimeout(()=>{zt&&Dn()&&rn().onLoadingSlow(gt,Pe)},Pe.loadingTimeout),Et[gt]=[xt(cn),H()]),[Bt,bt]=Et[gt],Bt=yield Bt,nn&&setTimeout(Fn,Pe.dedupingInterval),!Et[gt]||Et[gt][1]!==bt)return nn&&Dn()&&rn().onDiscarded(gt),!1;Gn.error=a;const Bn=Ke[gt];if(!c(Bn)&&(bt<=Bn[0]||bt<=Bn[1]||Bn[1]===0))return Vn(),nn&&Dn()&&rn().onDiscarded(gt),!1;const Mn=An().data;Gn.data=Ue(Mn,Bt)?Mn:Bt,nn&&Dn()&&rn().onSuccess(Bt,gt,Pe)}catch(Bn){Fn();const Mn=rn(),{shouldRetryOnError:jr}=Mn;Mn.isPaused()||(Gn.error=Bn,nn&&Dn()&&(Mn.onError(Bn,gt,Mn),(jr===!0||u(jr)&&jr(Bn))&&(!rn().revalidateOnFocus||!rn().revalidateOnReconnect||On())&&Mn.onErrorRetry(Bn,gt,Mn,De=>{const Te=Ct[gt];Te&&Te[0]&&Te[0](he.ERROR_REVALIDATE_EVENT,De)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return zt=!1,Vn(),!0}),[gt,Ae]),an=(0,t.useCallback)((...qe)=>Re(Ae,Yt.current,...qe),[]);if(L(()=>{dn.current=we,pn.current=Pe,c(Un)||(fr.current=Un)}),L(()=>{if(!gt)return;const qe=gn.bind(a,D);let xt=0;const bt=Ne(gt,Ct,(zt,Vt={})=>{if(zt==he.FOCUS_EVENT){const nn=Date.now();rn().revalidateOnFocus&&nn>xt&&On()&&(xt=nn+rn().focusThrottleInterval,qe())}else if(zt==he.RECONNECT_EVENT)rn().revalidateOnReconnect&&On()&&qe();else{if(zt==he.MUTATE_EVENT)return gn();if(zt==he.ERROR_REVALIDATE_EVENT)return gn(Vt)}});return en.current=!1,Yt.current=gt,Ft.current=!0,Jn({_k:cn}),gr&&(c(rr)||Q?qe():q(qe)),()=>{en.current=!0,bt()}},[gt]),L(()=>{let qe;function xt(){const bt=u(qt)?qt(An().data):qt;bt&&qe!==-1&&(qe=setTimeout(Bt,bt))}function Bt(){!An().error&&(kt||rn().isVisible())&&(wt||rn().isOnline())?gn(D).then(xt):xt()}return xt(),()=>{qe&&(clearTimeout(qe),qe=-1)}},[qt,kt,wt,gt]),(0,t.useDebugValue)(ir),_e&&c(rr)&>){if(!ne&&Q)throw new Error("Fallback data is required when using suspense in SSR.");dn.current=we,pn.current=Pe,en.current=!1;const qe=Ut[gt];if(!c(qe)){const xt=an(qe);xe(xt)}if(c(or)){const xt=gn(D);c(ir)||(xt.status="fulfilled",xt.value=!0),xe(xt)}else throw or}return{mutate:an,get data(){return ut.data=!0,ir},get error(){return ut.error=!0,or},get isValidating(){return ut.isValidating=!0,fn},get isLoading(){return ut.isLoading=!0,tr}}},We=s.defineProperty(O,"defaultValue",{value:it}),Fe=de(ie)}},Ho={};function be(v){var g=Ho[v];if(g!==void 0)return g.exports;var e=Ho[v]={id:v,loaded:!1,exports:{}};return di[v].call(e.exports,e,e.exports,be),e.loaded=!0,e.exports}be.m=di,function(){be.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return be.d(g,{a:g}),g}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;be.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);be.r(r);var o={};g=g||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~g.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},be.d(r,o),r}}(),function(){be.d=function(v,g){for(var e in g)be.o(g,e)&&!be.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:g[e]})}}(),function(){be.f={},be.e=function(v){return Promise.all(Object.keys(be.f).reduce(function(g,e){return be.f[e](v,g),g},[]))}}(),function(){be.u=function(v){return""+({185:"p__Welcome",190:"p__MoneyManagement",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",526:"p__Proxy__ProxyUserManagement",542:"p__AdvRecordListV2",557:"p__Bind",571:"p__404",731:"p__App__AppManagement",816:"p__AdminManagement",857:"p__AdvRecordList",903:"p__UserManagement",990:"p__Proxy__ProxyAdvRecordListV2"}[v]||v)+"."+{15:"a664eb81",134:"6fc81d91",169:"57647c7d",185:"61596037",190:"4138f9c6",301:"4594a64b",366:"9d3ab92e",371:"c61abcd9",390:"41467286",393:"38316f72",397:"fb5f72c1",455:"001a1245",526:"3e781dae",531:"35af34f5",539:"290aefb9",542:"93e34297",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"8a884f26",731:"6464403a",761:"f7bbde11",816:"30842614",841:"614ef4c0",857:"fc092f59",903:"0ef1f876",905:"6e225d1b",930:"fca7adbf",931:"c2d40e0b",990:"20a0f4c8"}[v]+".async.js"}}(),function(){be.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){be.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)}}(),function(){var v={},g="ant-design-pro:";be.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),u=0;uqn.length)&&(Yn=qn.length);for(var ye=0,je=new Array(Yn);ye0&&arguments[0]!==void 0?arguments[0]:"";return qn.endsWith("/")?qn:"".concat(qn,"/")}var Na=be(49647),Ga=be(58096),ka=da.createContext(void 0);function no(){return da.useContext(ka)}var bo=["redirect"];function Ro(qn){var Yn=qn.routesById,ye=qn.parentId,je=qn.routeComponents;return Object.keys(Yn).filter(function(k){return Yn[k].parentId===ye}).map(function(k){var lt=Ni(Hr({route:Yn[k],routeComponent:je[k],loadingComponent:qn.loadingComponent,reactRouter5Compat:qn.reactRouter5Compat},qn.reactRouter5Compat&&{hasChildren:Object.keys(Yn).filter(function(Pn){return Yn[Pn].parentId===k}).length>0})),Ot=Ro({routesById:Yn,routeComponents:je,parentId:lt.id,loadingComponent:qn.loadingComponent,reactRouter5Compat:qn.reactRouter5Compat});return Ot.length>0&&(lt.children=Ot,lt.routes=Ot),lt})}function mo(qn){var Yn=(0,Za.UO)(),ye=(0,Za.Gn)(qn.to,Yn),je=(0,so.T$)(),k=(0,Za.TH)();if(je!=null&&je.keepQuery){var lt=k.search+k.hash;ye+=lt}var Ot=Hr(Hr({},qn),{},{to:ye});return da.createElement(Za.Fg,(0,Ga.Z)({replace:!0},Ot))}function Ni(qn){var Yn=qn.route,ye=Yn.redirect,je=(0,Na.Z)(Yn,bo),k=qn.reactRouter5Compat?Ei:Qi;return Hr({element:ye?da.createElement(mo,{to:ye}):da.createElement(ka.Provider,{value:{route:qn.route}},da.createElement(k,{loader:da.memo(qn.routeComponent),loadingComponent:qn.loadingComponent||Ci,hasChildren:qn.hasChildren}))},je)}function Ci(){return da.createElement("div",null)}function Ei(qn){var Yn=no(),ye=Yn.route,je=(0,so.Ov)(),k=je.history,lt=je.clientRoutes,Ot=(0,Za.UO)(),Pn={params:Ot,isExact:!0,path:ye.path,url:k.location.pathname},Qn=qn.loader;return da.createElement(da.Suspense,{fallback:da.createElement(qn.loadingComponent,null)},da.createElement(Qn,{location:k.location,match:Pn,history:k,params:Ot,route:ye,routes:lt},qn.hasChildren&&da.createElement(Za.j3,null)))}function Qi(qn){var Yn=qn.loader;return da.createElement(da.Suspense,{fallback:da.createElement(qn.loadingComponent,null)},da.createElement(Yn,null))}var Ji=null;function Hs(){return Ji}function Ps(qn){var Yn=qn.history,ye=da.useState({action:Yn.action,location:Yn.location}),je=Yo(ye,2),k=je[0],lt=je[1];return(0,da.useLayoutEffect)(function(){return Yn.listen(lt)},[Yn]),(0,da.useLayoutEffect)(function(){function Ot(Pn){qn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:qn.routes,clientRoutes:qn.clientRoutes,location:Pn.location,action:Pn.action,basename:qn.basename,isFirst:!!Pn.isFirst}})}return Ot({location:k.location,action:k.action,isFirst:!0}),Yn.listen(Ot)},[Yn,qn.routes,qn.clientRoutes]),da.createElement(Za.F0,{navigator:Yn,location:k.location,basename:qn.basename},qn.children)}function Os(){var qn=(0,so.Ov)(),Yn=qn.clientRoutes;return(0,Za.V$)(Yn)}var Oe=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Se=function(Yn,ye){var je=Yn.basename||"/",k=Ro({routesById:Yn.routes,routeComponents:Yn.routeComponents,loadingComponent:Yn.loadingComponent,reactRouter5Compat:Yn.reactRouter5Compat});Yn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:k}});for(var lt=da.createElement(Ps,{basename:je,pluginManager:Yn.pluginManager,routes:Yn.routes,clientRoutes:k,history:Yn.history},ye),Ot=0,Pn=Oe;Ot { ({ - label: app.name, - value: app.id, - }))} - > - + {appArr.length > 0 && ( + +