From b1753932bf73676bbf13482fa11889a914607a1a Mon Sep 17 00:00:00 2001 From: nili Date: Sun, 28 Apr 2024 13:21:19 +0800 Subject: [PATCH] =?UTF-8?q?h5=E5=B1=95=E7=A4=BA=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.html | 2 +- dist/p__AdvRecordList.e1c1d752.async.js | 1 + dist/p__AdvRecordList.ec333a28.async.js | 1 - dist/p__DeviceOwnerApp.15acd8c2.async.js | 1 + dist/p__DeviceOwnerApp.287b3a44.async.js | 1 - dist/{umi.920dedb8.js => umi.a7e407cb.js} | 2 +- src/pages/AdvRecordList.tsx | 20 +++++++++++++++++++- src/pages/DeviceOwnerApp.tsx | 20 ++++++++++++++++++++ 8 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 dist/p__AdvRecordList.e1c1d752.async.js delete mode 100644 dist/p__AdvRecordList.ec333a28.async.js create mode 100644 dist/p__DeviceOwnerApp.15acd8c2.async.js delete mode 100644 dist/p__DeviceOwnerApp.287b3a44.async.js rename dist/{umi.920dedb8.js => umi.a7e407cb.js} (99%) diff --git a/dist/index.html b/dist/index.html index 97160f8..a8e2114 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file diff --git a/dist/p__AdvRecordList.e1c1d752.async.js b/dist/p__AdvRecordList.e1c1d752.async.js new file mode 100644 index 0000000..7621c16 --- /dev/null +++ b/dist/p__AdvRecordList.e1c1d752.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[857],{46701:function(g,p,t){t.r(p);var x=t(15009),l=t.n(x),b=t(99289),v=t.n(b),M=t(5574),h=t.n(M),j=t(90930),D=t(85601),m=t(67294),f=t(48357),o=t(85893),O=function(){var P=(0,m.useRef)(),R=(0,m.useState)(void 0),E=h()(R,2),I=E[0],y=E[1],A=function(){var n=v()(l()().mark(function e(){var r,d,_;return l()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,f.ln)();case 2:return d=a.sent,_=[],(r=d.data)===null||r===void 0||r.forEach(function(c){_.push({label:c.name,value:c.code})}),a.abrupt("return",_);case 6:case"end":return a.stop()}},e)}));return function(){return n.apply(this,arguments)}}(),s=function(){return window.innerWidth<=768},U=(0,m.useState)({deviceId:{show:!s()},appName:{show:!s()},platform:{show:!s()},device:{show:!s()},ip:{show:!s()},advType:{show:!s()}}),T=h()(U,2),C=T[0],S=T[1],L=[{title:"\u5E94\u7528\u540D\u79F0",hideInTable:!0,dataIndex:"code",valueType:"select",request:A},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},5:{text:"\u5FEB\u624B"},7:{text:"Sigmob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45"},2:{text:"\u63D2\u9875"},3:{text:"\u6FC0\u52B1\u89C6\u9891"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(e){return e/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,valueType:"textarea",renderText:function(e,r){return(0,o.jsxs)("p",{children:[r.deviceBrand," ",(0,o.jsx)("br",{})," ",r.deviceName]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],W=function(e){return e?parseFloat((e/1e5).toFixed(2)):0};return(0,o.jsx)(j._z,{children:(0,o.jsx)(D.Z,{headerTitle:I?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+W(I)+"\u5143":"",actionRef:P,rowKey:"key",search:{labelWidth:120},request:function(){var n=v()(l()().mark(function e(r){var d,_,i,a;return l()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,f._5)(r);case 2:return i=u.sent,r.current===1&&y((a=i.data)===null||a===void 0?void 0:a.sum),u.abrupt("return",{data:(d=i.data)===null||d===void 0?void 0:d.data,total:(_=i.data)===null||_===void 0?void 0:_.total,success:!0});case 5:case"end":return u.stop()}},e)}));return function(e){return n.apply(this,arguments)}}(),columns:L,columnsState:{value:C,onChange:function(e){S(e)}}})})};p.default=O}}]); diff --git a/dist/p__AdvRecordList.ec333a28.async.js b/dist/p__AdvRecordList.ec333a28.async.js deleted file mode 100644 index a864fd4..0000000 --- a/dist/p__AdvRecordList.ec333a28.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[857],{46701:function(U,m,e){e.r(m);var h=e(15009),i=e.n(h),I=e(99289),c=e.n(I),x=e(5574),T=e.n(x),b=e(90930),M=e(85601),p=e(67294),v=e(48357),l=e(85893),j=function(){var D=(0,p.useRef)(),O=(0,p.useState)(void 0),f=T()(O,2),E=f[0],P=f[1],R=function(){var n=c()(i()().mark(function t(){var r,s,_;return i()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,v.ln)();case 2:return s=a.sent,_=[],(r=s.data)===null||r===void 0||r.forEach(function(o){_.push({label:o.name,value:o.code})}),a.abrupt("return",_);case 6:case"end":return a.stop()}},t)}));return function(){return n.apply(this,arguments)}}(),y=[{title:"\u5E94\u7528\u540D\u79F0",hideInTable:!0,dataIndex:"code",valueType:"select",request:R},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},5:{text:"\u5FEB\u624B"},7:{text:"Sigmob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45"},2:{text:"\u63D2\u9875"},3:{text:"\u6FC0\u52B1\u89C6\u9891"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(t){return t/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,valueType:"textarea",renderText:function(t,r){return(0,l.jsxs)("p",{children:[r.deviceBrand," ",(0,l.jsx)("br",{})," ",r.deviceName]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],A=function(t){return t?parseFloat((t/1e5).toFixed(2)):0};return(0,l.jsx)(b._z,{children:(0,l.jsx)(M.Z,{headerTitle:E?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+A(E)+"\u5143":"",actionRef:D,rowKey:"key",search:{labelWidth:120},request:function(){var n=c()(i()().mark(function t(r){var s,_,u,a;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,v._5)(r);case 2:return u=d.sent,r.current===1&&P((a=u.data)===null||a===void 0?void 0:a.sum),d.abrupt("return",{data:(s=u.data)===null||s===void 0?void 0:s.data,total:(_=u.data)===null||_===void 0?void 0:_.total,success:!0});case 5:case"end":return d.stop()}},t)}));return function(t){return n.apply(this,arguments)}}(),columns:y})})};m.default=j}}]); diff --git a/dist/p__DeviceOwnerApp.15acd8c2.async.js b/dist/p__DeviceOwnerApp.15acd8c2.async.js new file mode 100644 index 0000000..c832f13 --- /dev/null +++ b/dist/p__DeviceOwnerApp.15acd8c2.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[371],{35431:function(w,I,e){e.r(I);var U=e(97857),m=e.n(U),C=e(15009),_=e.n(C),R=e(99289),v=e.n(R),j=e(5574),g=e.n(j),D=e(48357),A=e(90930),M=e(85601),x=e(35312),T=e(13169),P=e(16250),f=e(67294),y=e(80484),o=e(85893),s=function(){var p=(0,f.useRef)(),b=(0,f.useRef)(),r=(0,f.useState)(0),B=g()(r,2),K=B[0],$=B[1],N=(0,x.useIntl)(),G=(0,x.useModel)("@@initialState"),S=G.initialState,h=S==null?void 0:S.currentUser,L=function(){var c=v()(_()().mark(function n(){var t,i,d;return _()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,(0,D.ln)();case 2:return i=E.sent,d=[],(t=i.data)===null||t===void 0||t.forEach(function(a){d.push({label:a.name,value:a.code})}),E.abrupt("return",d);case 6:case"end":return E.stop()}},n)}));return function(){return c.apply(this,arguments)}}(),O=function(){return window.innerWidth<=768},Z=function(){var c=v()(_()().mark(function n(t){var i,d,l;return _()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t.appName){a.next=2;break}return a.abrupt("return",{data:[],total:0,success:!0});case 2:return a.next=4,(0,y.sk)({appCode:t.appName?t.appName:""});case 4:return d=a.sent,d.data&&$((l=d.data)===null||l===void 0?void 0:l.filter(function(Y){return Y.status===0}).length),a.abrupt("return",{data:d.data,total:(i=d.data)===null||i===void 0?void 0:i.length,success:!0});case 7:case"end":return a.stop()}},n)}));return function(t){return c.apply(this,arguments)}}(),F=function(){var c=v()(_()().mark(function n(t){var i;return _()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(t){l.next=2;break}return l.abrupt("return");case 2:return l.next=4,(0,y.n4)({deviceId:t});case 4:(i=b.current)===null||i===void 0||i.reload();case 5:case"end":return l.stop()}},n)}));return function(t){return c.apply(this,arguments)}}(),z=(0,f.useState)({deviceId:{show:!O()},appName:{show:!O()},platform:{show:!O()},deviceBrand:{show:!O()},deviceName:{show:!O()},ip:{show:!O()}}),W=g()(z,2),H=W[0],J=W[1],Q=[{title:"\u5E94\u7528\u540D\u79F0",dataIndex:"appName",valueType:"textarea",request:L},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},5:{text:"\u5FEB\u624B"},7:{text:"Sigmob"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(n){return n/100}},{title:"ecpm-\u62BD\u6210\u540E(\u5143)",dataIndex:"deductEcpm",hideInSearch:!0,renderText:function(n,t){return h!=null&&h.incomeRate&&t.ecpm?Math.floor(t.ecpm*h.incomeRate/100)/100:"-"}},{title:"\u8BBE\u5907\u54C1\u724C",dataIndex:"deviceBrand",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u540D",dataIndex:"deviceName",hideInSearch:!0,valueType:"textarea"},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],V=[{title:"\u5E94\u7528\u540D\u79F0",dataIndex:"appName",valueType:"textarea",request:L,hideInTable:!0},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"text",ellipsis:!0,width:400,copyable:!0,hideInSearch:!0},{title:"\u72B6\u6001",dataIndex:"status",valueEnum:{0:{text:"\u6B63\u5E38"},"-1":{text:"\u5DF2\u4E0B\u7EBF"}},filters:!0,onFilter:!0,hideInSearch:!0},{title:"\u7ED1\u5B9A\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",dataIndex:"operation",hideInSearch:!0,render:function(n,t){return t.status===0?(0,o.jsx)("a",{onClick:function(){return F(t.deviceId)},children:"\u4E0B\u7EBF"}):null}}],X=function(){var c=v()(_()().mark(function n(t){var i,d,l;return _()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t.appName){a.next=2;break}return a.abrupt("return",{data:[],total:0,success:!0});case 2:return a.next=4,(0,D._5)(m()(m()({},t),{},{code:t.appName}));case 4:return l=a.sent,a.abrupt("return",{data:(i=l.data)===null||i===void 0?void 0:i.data,total:(d=l.data)===null||d===void 0?void 0:d.total,success:!0});case 6:case"end":return a.stop()}},n)}));return function(t){return c.apply(this,arguments)}}();return(0,o.jsx)(A._z,{children:(0,o.jsxs)(T.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,o.jsxs)(P.Z,{tab:"\u8BBE\u5907\u5217\u8868",children:[(0,o.jsx)("p",{style:{textAlign:"center"},children:"\u6B63\u5E38\u4F7F\u7528\u8BBE\u5907\u6570\uFF1A"+K+"\uFF0C\u5269\u4F59\u53EF\u7ED1\u5B9A\u8BBE\u5907\u6570\uFF1A"+Math.max(0,(h!=null&&h.deviceCnt?h.deviceCnt:0)-K)}),(0,o.jsx)(M.Z,{actionRef:b,rowKey:"id",request:Z,columns:V})]},"1"),(0,o.jsx)(P.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,o.jsx)(M.Z,{headerTitle:N.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:p,rowKey:"id",search:{labelWidth:120},request:X,columns:Q,columnsState:{value:H,onChange:function(n){J(n)}}})},"2")]})})};I.default=s},80484:function(w,I,e){e.d(I,{OE:function(){return x},di:function(){return A},n4:function(){return y},sk:function(){return P}});var U=e(15009),m=e.n(U),C=e(97857),_=e.n(C),R=e(99289),v=e.n(R),j=e(35312);function g(s,u){return D.apply(this,arguments)}function D(){return D=_asyncToGenerator(_regeneratorRuntime().mark(function s(u,p){return _regeneratorRuntime().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},u)},p||{})));case 1:case"end":return r.stop()}},s)})),D.apply(this,arguments)}function A(s,u){return M.apply(this,arguments)}function M(){return M=v()(m()().mark(function s(u,p){return m()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/incomeDaily",_()({method:"POST",headers:{"Content-Type":"application/json"},data:u},p||{})));case 1:case"end":return r.stop()}},s)})),M.apply(this,arguments)}function x(s,u){return T.apply(this,arguments)}function T(){return T=v()(m()().mark(function s(u,p){return m()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/incomeOverview",_()({method:"GET",params:_()({},u)},p||{})));case 1:case"end":return r.stop()}},s)})),T.apply(this,arguments)}function P(s,u){return f.apply(this,arguments)}function f(){return f=v()(m()().mark(function s(u,p){return m()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/list",_()({method:"GET",params:_()({},u)},p||{})));case 1:case"end":return r.stop()}},s)})),f.apply(this,arguments)}function y(s,u){return o.apply(this,arguments)}function o(){return o=v()(m()().mark(function s(u,p){return m()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/offline",_()({method:"POST",params:_()({},u)},p||{})));case 1:case"end":return r.stop()}},s)})),o.apply(this,arguments)}}}]); diff --git a/dist/p__DeviceOwnerApp.287b3a44.async.js b/dist/p__DeviceOwnerApp.287b3a44.async.js deleted file mode 100644 index a9258cd..0000000 --- a/dist/p__DeviceOwnerApp.287b3a44.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[371],{35431:function(L,M,e){e.r(M);var y=e(97857),c=e.n(y),U=e(15009),n=e.n(U),R=e(99289),v=e.n(R),j=e(5574),A=e.n(j),D=e(48357),C=e(90930),O=e(85601),I=e(35312),T=e(13169),x=e(16250),E=e(67294),P=e(80484),o=e(85893),_=function(){var m=(0,E.useRef)(),b=(0,E.useRef)(),r=(0,E.useState)(0),B=A()(r,2),K=B[0],W=B[1],w=(0,I.useIntl)(),$=(0,I.useModel)("@@initialState"),g=$.initialState,f=g==null?void 0:g.currentUser,S=function(){var p=v()(n()().mark(function u(){var a,i,d;return n()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(0,D.ln)();case 2:return i=h.sent,d=[],(a=i.data)===null||a===void 0||a.forEach(function(t){d.push({label:t.name,value:t.code})}),h.abrupt("return",d);case 6:case"end":return h.stop()}},u)}));return function(){return p.apply(this,arguments)}}(),N=function(){var p=v()(n()().mark(function u(a){var i,d,l;return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(a.appName){t.next=2;break}return t.abrupt("return",{data:[],total:0,success:!0});case 2:return t.next=4,(0,P.sk)({appCode:a.appName?a.appName:""});case 4:return d=t.sent,d.data&&W((l=d.data)===null||l===void 0?void 0:l.filter(function(H){return H.status===0}).length),t.abrupt("return",{data:d.data,total:(i=d.data)===null||i===void 0?void 0:i.length,success:!0});case 7:case"end":return t.stop()}},u)}));return function(a){return p.apply(this,arguments)}}(),G=function(){var p=v()(n()().mark(function u(a){var i;return n()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(a){l.next=2;break}return l.abrupt("return");case 2:return l.next=4,(0,P.n4)({deviceId:a});case 4:(i=b.current)===null||i===void 0||i.reload();case 5:case"end":return l.stop()}},u)}));return function(a){return p.apply(this,arguments)}}(),Z=[{title:"\u5E94\u7528\u540D\u79F0",dataIndex:"appName",valueType:"textarea",request:S},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},5:{text:"\u5FEB\u624B"},7:{text:"Sigmob"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(u){return u/100}},{title:"ecpm-\u62BD\u6210\u540E(\u5143)",dataIndex:"deductEcpm",hideInSearch:!0,renderText:function(u,a){return f!=null&&f.incomeRate&&a.ecpm?Math.floor(a.ecpm*f.incomeRate/100)/100:"-"}},{title:"\u8BBE\u5907\u54C1\u724C",dataIndex:"deviceBrand",hideInSearch:!0,valueType:"textarea"},{title:"\u8BBE\u5907\u540D",dataIndex:"deviceName",hideInSearch:!0,valueType:"textarea"},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],F=[{title:"\u5E94\u7528\u540D\u79F0",dataIndex:"appName",valueType:"textarea",request:S,hideInTable:!0},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"text",ellipsis:!0,width:400,copyable:!0,hideInSearch:!0},{title:"\u72B6\u6001",dataIndex:"status",valueEnum:{0:{text:"\u6B63\u5E38"},"-1":{text:"\u5DF2\u4E0B\u7EBF"}},filters:!0,onFilter:!0,hideInSearch:!0},{title:"\u7ED1\u5B9A\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",dataIndex:"operation",hideInSearch:!0,render:function(u,a){return a.status===0?(0,o.jsx)("a",{onClick:function(){return G(a.deviceId)},children:"\u4E0B\u7EBF"}):null}}],z=function(){var p=v()(n()().mark(function u(a){var i,d,l;return n()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(a.appName){t.next=2;break}return t.abrupt("return",{data:[],total:0,success:!0});case 2:return t.next=4,(0,D._5)(c()(c()({},a),{},{code:a.appName}));case 4:return l=t.sent,t.abrupt("return",{data:(i=l.data)===null||i===void 0?void 0:i.data,total:(d=l.data)===null||d===void 0?void 0:d.total,success:!0});case 6:case"end":return t.stop()}},u)}));return function(a){return p.apply(this,arguments)}}();return(0,o.jsx)(C._z,{children:(0,o.jsxs)(T.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,o.jsxs)(x.Z,{tab:"\u8BBE\u5907\u5217\u8868",children:[(0,o.jsx)("p",{style:{textAlign:"center"},children:"\u6B63\u5E38\u4F7F\u7528\u8BBE\u5907\u6570\uFF1A"+K+"\uFF0C\u5269\u4F59\u53EF\u7ED1\u5B9A\u8BBE\u5907\u6570\uFF1A"+Math.max(0,(f!=null&&f.deviceCnt?f.deviceCnt:0)-K)}),(0,o.jsx)(O.Z,{actionRef:b,rowKey:"id",request:N,columns:F})]},"1"),(0,o.jsx)(x.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,o.jsx)(O.Z,{headerTitle:w.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:m,rowKey:"id",search:{labelWidth:120},request:z,columns:Z})},"2")]})})};M.default=_},80484:function(L,M,e){e.d(M,{OE:function(){return I},di:function(){return C},n4:function(){return P},sk:function(){return x}});var y=e(15009),c=e.n(y),U=e(97857),n=e.n(U),R=e(99289),v=e.n(R),j=e(35312);function A(_,s){return D.apply(this,arguments)}function D(){return D=_asyncToGenerator(_regeneratorRuntime().mark(function _(s,m){return _regeneratorRuntime().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},s)},m||{})));case 1:case"end":return r.stop()}},_)})),D.apply(this,arguments)}function C(_,s){return O.apply(this,arguments)}function O(){return O=v()(c()().mark(function _(s,m){return c()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/incomeDaily",n()({method:"POST",headers:{"Content-Type":"application/json"},data:s},m||{})));case 1:case"end":return r.stop()}},_)})),O.apply(this,arguments)}function I(_,s){return T.apply(this,arguments)}function T(){return T=v()(c()().mark(function _(s,m){return c()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/incomeOverview",n()({method:"GET",params:n()({},s)},m||{})));case 1:case"end":return r.stop()}},_)})),T.apply(this,arguments)}function x(_,s){return E.apply(this,arguments)}function E(){return E=v()(c()().mark(function _(s,m){return c()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/list",n()({method:"GET",params:n()({},s)},m||{})));case 1:case"end":return r.stop()}},_)})),E.apply(this,arguments)}function P(_,s){return o.apply(this,arguments)}function o(){return o=v()(c()().mark(function _(s,m){return c()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,j.request)("/api/admin/device/offline",n()({method:"POST",params:n()({},s)},m||{})));case 1:case"end":return r.stop()}},_)})),o.apply(this,arguments)}}}]); diff --git a/dist/umi.920dedb8.js b/dist/umi.a7e407cb.js similarity index 99% rename from dist/umi.920dedb8.js rename to dist/umi.a7e407cb.js index 108cb34..b0a0efc 100644 --- a/dist/umi.920dedb8.js +++ b/dist/umi.a7e407cb.js @@ -426,7 +426,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,m,e){"use strict";var t=e(76058),r=e(36812),o=e(75773),a=e(23622),s=e(49385),c=e(8758),l=e(38055),u=e(33457),f=e(13841),p=e(62570),h=e(65411),y=e(67697),d=e(53931);v.exports=function(b,S,x,E){var w="stackTraceLimit",T=E?2:1,F=b.split("."),P=F[F.length-1],R=t.apply(null,F);if(R){var H=R.prototype;if(!d&&r(H,"cause")&&delete H.cause,!x)return R;var ie=t("Error"),k=S(function(_,q){var oe=f(E?q:_,void 0),B=E?new R(_):new R;return oe!==void 0&&o(B,"message",oe),h(B,k,B.stack,2),this&&a(H,this)&&u(B,this,k),arguments.length>T&&p(B,arguments[T]),B});if(k.prototype=H,P!=="Error"?s?s(k,ie):c(k,ie,{name:!0}):y&&w in R&&(l(k,R,w),l(k,R,"prepareStackTrace")),c(k,R),!d)try{H.name!==P&&o(H,"name",P),H.constructor=k}catch(_){}return k}}},54927:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(61735),a=e(3689),s=e(51064),c="AggregateError",l=r(c),u=!a(function(){return l([1]).errors[0]!==1})&&a(function(){return l([1],c,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:s(c,function(f){return function(h,y){return o(f,this,arguments)}},u,!0)})},39382:function(v,m,e){"use strict";var t=e(79989),r=e(23622),o=e(61868),a=e(49385),s=e(8758),c=e(25391),l=e(75773),u=e(75684),f=e(62570),p=e(65411),h=e(18734),y=e(13841),d=e(44201),b=d("toStringTag"),S=Error,x=[].push,E=function(F,P){var R=r(w,this),H;a?H=a(new S,R?o(this):w):(H=R?this:c(w),l(H,b,"Error")),P!==void 0&&l(H,"message",y(P)),p(H,E,H.stack,1),arguments.length>2&&f(H,arguments[2]);var ie=[];return h(F,x,{that:ie}),l(H,"errors",ie),H};a?a(E,S):s(E,S,{name:!0});var w=E.prototype=c(S.prototype,{constructor:u(1,E),message:u(1,""),name:u(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:E})},95879:function(v,m,e){"use strict";e(39382)},92176:function(v,m,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(l){var u=r(this),f=o(u),p=a(l),h=p>=0?p:f+p;return h<0||h>=f?void 0:u[h]}}),s("at")},93383:function(v,m,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,m,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,m,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(5649),s=e(55565),c=e(3689),l=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},f=l||!u();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(h){var y=r(this),d=o(y),b=arguments.length;s(d+b);for(var S=0;S79&&a<83,l=c||!o("reduceRight");t({target:"Array",proto:!0,forced:l},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:function(v,m,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,l=c||!o("reduce");t({target:"Array",proto:!0,forced:l},{reduce:function(f){var p=arguments.length;return r(this,f,p,p>1?arguments[1]:void 0)}})},29830:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(68844),o=e(10509),a=e(65290),s=e(59976),c=e(88277),l=e(87370),u=Array,f=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(h){h!==void 0&&o(h);var y=a(this),d=s(u,y);return f(d,h)}}),l("toSorted")},93530:function(v,m,e){"use strict";var t=e(79989),r=e(87370),o=e(55565),a=e(6310),s=e(27578),c=e(65290),l=e(68700),u=Array,f=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(y,d){var b=c(this),S=a(b),x=s(y,S),E=arguments.length,w=0,T,F,P,R;for(E===0?T=F=0:E===1?(T=0,F=S-x):(T=E-2,F=p(f(l(d),0),S-x)),P=o(S+T-F),R=u(P);w=0?d:y+d;return b<0||b>=y?void 0:l(h,b)}})},12281:function(v,m,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 l=a(o(this)),u=l.length,f=0;f=56320||++f>=u||(s(l,f)&64512)!==56320))return!1}return!0}})},56532:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(68844),a=e(74684),s=e(69985),c=e(981),l=e(91245),u=e(34327),f=e(54849),p=e(63477),h=e(27017),y=e(44201),d=e(53931),b=y("replace"),S=TypeError,x=o("".indexOf),E=o("".replace),w=o("".slice),T=Math.max,F=function(P,R,H){return H>P.length?-1:R===""?H:x(P,R,H)};t({target:"String",proto:!0},{replaceAll:function(R,H){var ie=a(this),k,_,q,oe,B,le,ne,ee,L,z=0,j=0,C="";if(!c(R)){if(k=l(R),k&&(_=u(a(p(R))),!~x(_,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(q=f(R,b),q)return r(q,R,ie,H);if(d&&k)return E(u(ie),R,H)}for(oe=u(ie),B=u(R),le=s(H),le||(H=u(H)),ne=B.length,ee=T(1,ne),z=F(oe,B,0);z!==-1;)L=le?u(H(B,z,oe)):h(B,oe,z,[],void 0,H),C+=w(oe,j,z)+L,j=z+ne,z=F(oe,B,z+ee);return j=56320||w+1>=x||(f(S,w+1)&64512)!==56320?E[w]=y:(E[w]=u(S,w),E[++w]=u(S,w))}return p(E,"")}})},95194:function(v,m,e){"use strict";var t=e(54872),r=e(6310),o=e(68700),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(l){var u=a(this),f=r(u),p=o(l),h=p>=0?p:f+p;return h<0||h>=f?void 0:u[h]})},82:function(v,m,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,m,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,m,e){"use strict";var t=e(19037),r=e(22615),o=e(54872),a=e(6310),s=e(83250),c=e(90690),l=e(3689),u=t.RangeError,f=t.Int8Array,p=f&&f.prototype,h=p&&p.set,y=o.aTypedArray,d=o.exportTypedArrayMethod,b=!l(function(){var x=new Uint8ClampedArray(2);return r(h,x,{length:1,0:3},1),x[1]!==3}),S=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var x=new f(2);return x.set(1),x.set("2",1),x[0]!==0||x[1]!==2});d("set",function(E){y(this);var w=s(arguments.length>1?arguments[1]:void 0,1),T=c(E);if(b)return r(h,this,T,w);var F=this.length,P=a(T),R=0;if(P+w>F)throw new u("Wrong length");for(;R1?arguments[1]:void 0)}}),o("filterOut")},54883:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(2231);t({target:"Array",stat:!0},{fromAsync:r})},96882:function(v,m,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,m,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 l=arguments.length>1?arguments[1]:void 0;return r(this,c,l)}}),a("groupBy")},32539:function(v,m,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,m,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,m,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 l=0,u=s.length,f;l1?arguments[1]:!1);return o([l&255,l>>8&255],10)}})},89246:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(15477).pack,c=e(76043),l=TypeError,u=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(p,h){if(o(this)!=="DataView")throw new l("Incorrect receiver");var y=a(p),d=s(c(h),10,2);return u(this,y,d[1]<<8|d[0],arguments.length>2?arguments[2]:!1)}})},9279:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(87191),c=TypeError,l=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 h=a(f);return l(this,h,s(p))}})},26725:function(v,m,e){"use strict";var t=e(79989),r=e(67697),o=e(76058),a=e(10509),s=e(767),c=e(11880),l=e(6045),u=e(62148),f=e(44201),p=e(618),h=e(29199),y=o("SuppressedError"),d=ReferenceError,b=f("dispose"),S=f("toStringTag"),x="DisposableStack",E=p.set,w=p.getterFor(x),T="sync-dispose",F="disposed",P="pending",R=function(k){var _=w(k);if(_.state===F)throw new d(x+" already disposed");return _},H=function(){E(s(this,ie),{type:x,state:P,stack:[]}),r||(this.disposed=!1)},ie=H.prototype;l(ie,{dispose:function(){var _=w(this);if(_.state!==F){_.state=F,r||(this.disposed=!0);for(var q=_.stack,oe=q.length,B=!1,le;oe;){var ne=q[--oe];q[oe]=null;try{ne()}catch(ee){B?le=new y(ee,le):(B=!0,le=ee)}}if(_.stack=null,B)throw le}},use:function(_){return h(R(this),_,T),_},adopt:function(_,q){var oe=R(this);return a(q),h(oe,void 0,T,function(){q(_)}),_},defer:function(_){var q=R(this);a(_),h(q,void 0,T,_)},move:function(){var _=R(this),q=new H;return w(q).stack=_.stack,_.stack=[],_.state=F,r||(this.disposed=!0),q}}),r&&u(ie,"disposed",{configurable:!0,get:function(){return w(this).state===F}}),c(ie,b,ie.dispose,{name:"dispose"}),c(ie,S,x,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:H})},26125:function(v,m,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},2820:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(69985),a=e(6738),s=e(36812),c=e(67697),l=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,f=r(u.exec),p=function(h){try{if(!c||!f(u,a(h)))return!1}catch(d){}var y=l(h,"prototype");return!!y&&s(y,"writable")&&!y.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return o(y)&&!p(y)}})},62517:function(v,m,e){"use strict";var t=e(79989),r=e(19429);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},54947:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},50647:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(19037),o=e(767),a=e(85027),s=e(69985),c=e(61868),l=e(62148),u=e(76522),f=e(3689),p=e(36812),h=e(44201),y=e(12013).IteratorPrototype,d=e(67697),b=e(53931),S="constructor",x="Iterator",E=h("toStringTag"),w=TypeError,T=r[x],F=b||!s(T)||T.prototype!==y||!f(function(){T({})}),P=function(){if(o(this,y),c(this)===y)throw new w("Abstract class Iterator not directly constructable")},R=function(H,ie){d?l(y,H,{configurable:!0,get:function(){return ie},set:function(k){if(a(this),this===y)throw new w("You can't redefine this property");p(this,H)?this[H]=k:u(this,H,k)}}):y[H]=ie};p(y,E)||R(E,x),(F||!p(y,S)||y[S]===Object)&&R(S,P),P.prototype=y,t({global:!0,constructor:!0,forced:F},{Iterator:P})},82639:function(v,m,e){"use strict";var t=e(22615),r=e(11880),o=e(54849),a=e(36812),s=e(44201),c=e(12013).IteratorPrototype,l=s("dispose");a(c,l)||r(c,l,function(){var u=o(this,"return");u&&t(u,this)})},63986:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),l=e(65419),u=e(53931),f=l(function(){for(var p=this.iterator,h=this.next,y,d;this.remaining;)if(this.remaining--,y=o(r(h,p)),d=this.done=!!y.done,d)return;if(y=o(r(h,p)),d=this.done=!!y.done,!d)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(h){o(this);var y=c(s(+h));return new f(a(this),{remaining:y})}})},16054:function(v,m,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(l){a(this),o(l);var u=s(this),f=0;return!r(u,function(p,h){if(!l(p,f++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53476:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(65419),l=e(71228),u=e(53931),f=c(function(){for(var p=this.iterator,h=this.predicate,y=this.next,d,b,S;;){if(d=a(r(y,p)),b=this.done=!!d.done,b)return;if(S=d.value,l(p,h,[S,this.counter++],!0))return S}});t({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(h){return a(this),o(h),new f(s(this),{predicate:h})}})},70928:function(v,m,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(l){a(this),o(l);var u=s(this),f=0;return r(u,function(p,h){if(l(p,f++))return h(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},49411:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(36752),l=e(65419),u=e(72125),f=e(53931),p=l(function(){for(var h=this.iterator,y=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(S){u(h,"throw",S)}if(d=a(r(this.next,h)),this.done=!!d.done)return;try{this.inner=c(y(d.value,this.counter++),!1)}catch(S){u(h,"throw",S)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(y){return a(this),o(y),new p(s(this),{mapper:y,inner:null})}})},30005:function(v,m,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(l){a(this),o(l);var u=s(this),f=0;r(u,function(p){l(p,f++)},{IS_RECORD:!0})}})},73494:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(90690),a=e(23622),s=e(12013).IteratorPrototype,c=e(65419),l=e(36752),u=e(53931),f=c(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:u},{from:function(h){var y=l(typeof h=="string"?o(h):h,!0);return a(s,y.iterator)?y.iterator:new f(y)}})},94564:function(v,m,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},41792:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(98554),o=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,c,l){if(typeof s=="number")return new r(s,c,l,"number",0,1);if(typeof s=="bigint")return new r(s,c,l,"bigint",BigInt(0),BigInt(1));throw new o("Incorrect Iterator.range arguments")}})},31107:function(v,m,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(u){a(this),o(u);var f=s(this),p=arguments.length<2,h=p?void 0:arguments[1],y=0;if(r(f,function(d){p?(p=!1,h=d):h=u(h,d,y),y++},{IS_RECORD:!0}),p)throw new c("Reduce of empty iterator with no initial value");return h}})},28244:function(v,m,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(l){a(this),o(l);var u=s(this),f=0;return r(u,function(p,h){if(l(p,f++))return h()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3645:function(v,m,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),l=e(65419),u=e(72125),f=e(53931),p=l(function(){var h=this.iterator;if(!this.remaining--)return this.done=!0,u(h,"normal",void 0);var y=o(r(this.next,h)),d=this.done=!!y.done;if(!d)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(y){o(this);var d=c(s(+y));return new p(a(this),{remaining:d})}})},58429:function(v,m,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 l=[];return o(a(r(this)),s,{that:l,IS_RECORD:!0}),l}})},39569:function(v,m,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,m,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,m,e){"use strict";var t=e(79989),r=e(67697),o=e(19037),a=e(76058),s=e(68844),c=e(22615),l=e(69985),u=e(48999),f=e(92297),p=e(36812),h=e(34327),y=e(6310),d=e(76522),b=e(3689),S=e(46675),x=e(50146),E=o.JSON,w=o.Number,T=o.SyntaxError,F=E&&E.parse,P=a("Object","keys"),R=Object.getOwnPropertyDescriptor,H=s("".charAt),ie=s("".slice),k=s(/./.exec),_=s([].push),q=/^\d$/,oe=/^[1-9]$/,B=/^(?:-|\d)$/,le=/^[\t\n\r ]$/,ne=0,ee=1,L=function(X,V){X=h(X);var ve=new N(X,0,""),ye=ve.parse(),Te=ye.value,ke=ve.skip(le,ye.end);if(ke1?arguments[1]:void 0);return a(l,function(f,p){if(!u(f,p,l))return!1},!0)!==!1}})},41099:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d,b){h(d,b,p)&&l(y,b,d)}),y}})},20876:function(v,m,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 l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),f=a(l,function(p,h){if(u(p,h,l))return{key:h}},!0);return f&&f.key}})},26320:function(v,m,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 l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),f=a(l,function(p,h){if(u(p,h,l))return{value:p}},!0);return f&&f.value}})},6052:function(v,m,e){"use strict";var t=e(79989),r=e(28737);t({target:"Map",stat:!0,forced:!0},{from:r})},76791:function(v,m,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(l){if(r(l,c))return!0},!0)===!0}})},75341:function(v,m,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(u,f){var p=a(this)?this:c,h=new p;s(f);var y=s(h.set);return o(u,function(d){r(y,h,f(d),d)}),h}})},40019:function(v,m,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(l,u){if(l===s)return{key:u}},!0);return c&&c.key}})},92343:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d,b){l(y,h(d,b,p),d)}),y}})},51096:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d,b){l(y,b,h(d,b,p))}),y}})},4314:function(v,m,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 l=r(this),u=arguments.length,f=0;f1?arguments[1]:void 0);return a(l,function(f,p){if(u(f,p,l))return!0},!0)===!0}})},24453:function(v,m,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,m,e){"use strict";var t=e(79989),r=e(10509),o=e(9945),a=e(83914),s=TypeError,c=a.get,l=a.has,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,h){var y=o(this),d=arguments.length;r(h);var b=l(y,p);if(!b&&d<3)throw new s("Updating absent value");var S=b?c(y,p):r(d>2?arguments[2]:void 0)(p,y);return u(y,p,h(S,p,y)),y}})},66190:function(v,m,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},25684:function(v,m,e){"use strict";var t=e(79989),r=Math.min,o=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,c,l){return r(l,o(c,s))}})},31789:function(v,m,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,m,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,m,e){"use strict";var t=e(79989),r=e(76043);t({target:"Math",stat:!0},{f16round:r})},346:function(v,m,e){"use strict";var t=e(79989),r=e(84463),o=e(37788);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,c,l,u,f){return o(r(s,c,l,u,f))}})},91069:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{iaddh:function(o,a,s,c){var l=o>>>0,u=a>>>0,f=s>>>0;return u+(c>>>0)+((l&f|(l|f)&~(l+f>>>0))>>>31)|0}})},18886:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{imulh:function(o,a){var s=65535,c=+o,l=+a,u=c&s,f=l&s,p=c>>16,h=l>>16,y=(p*f>>>0)+(u*f>>>16);return p*h+(y>>16)+((u*h>>>0)+(y&s)>>16)}})},88065:function(v,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{isubh:function(o,a,s,c){var l=o>>>0,u=a>>>0,f=s>>>0;return u-(c>>>0)-((~l&f|~(l^f)&l-f>>>0)>>>31)|0}})},68172:function(v,m,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,m,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,m,e){"use strict";var t=e(79989),r=e(84463);t({target:"Math",stat:!0,forced:!0},{scale:r})},613:function(v,m,e){"use strict";var t=e(79989),r=e(85027),o=e(70046),a=e(30974),s=e(27807),c=e(618),l="Seeded Random",u=l+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,h=c.getterFor(u),y=TypeError,d=a(function(S){p(this,{type:u,seed:S%2147483647})},l,function(){var S=h(this),x=S.seed=(S.seed*1103515245+12345)%2147483647;return s((x&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var x=r(S).seed;if(!o(x))throw new y(f);return new d(x)}})},835:function(v,m,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,m,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{umulh:function(o,a){var s=65535,c=+o,l=+a,u=c&s,f=l&s,p=c>>>16,h=l>>>16,y=(p*f>>>0)+(u*f>>>16);return p*h+(y>>>16)+((u*h>>>0)+(y&s)>>>16)}})},82899:function(v,m,e){"use strict";var t=e(79989),r=e(68844),o=e(68700),a="Invalid number representation",s="Invalid radix",c=RangeError,l=SyntaxError,u=TypeError,f=parseInt,p=Math.pow,h=/^[\d.a-z]+$/,y=r("".charAt),d=r(h.exec),b=r(1 .toString),S=r("".slice),x=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(w,T){var F=1;if(typeof w!="string")throw new u(a);if(!w.length)throw new l(a);if(y(w,0)==="-"&&(F=-1,w=S(w,1),!w.length))throw new l(a);var P=T===void 0?10:o(T);if(P<2||P>36)throw new c(s);if(!d(h,w))throw new l(a);var R=x(w,"."),H=f(R[0],P);if(R.length>1&&(H+=f(R[1],P)/p(P,R[1].length)),P===10&&b(H,P)!==w)throw new l(a);return F*H}})},29977:function(v,m,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,m,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,m,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,m,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,m,e){"use strict";var t=e(79989),r=e(22615),o=e(67697),a=e(14241),s=e(10509),c=e(85027),l=e(767),u=e(69985),f=e(981),p=e(48999),h=e(54849),y=e(11880),d=e(6045),b=e(62148),S=e(20920),x=e(44201),E=e(618),w=x("observable"),T="Observable",F="Subscription",P="SubscriptionObserver",R=E.getterFor,H=E.set,ie=R(T),k=R(F),_=R(P),q=function(ee){this.observer=c(ee),this.cleanup=void 0,this.subscriptionObserver=void 0};q.prototype={type:F,clean:function(){var ee=this.cleanup;if(ee){this.cleanup=void 0;try{ee()}catch(L){S(L)}}},close:function(){if(!o){var ee=this.facade,L=this.subscriptionObserver;ee.closed=!0,L&&(L.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var oe=function(ee,L){var z=H(this,new q(ee)),j;o||(this.closed=!1);try{(j=h(ee,"start"))&&r(j,ee,this)}catch(fe){S(fe)}if(!z.isClosed()){var C=z.subscriptionObserver=new B(z);try{var N=L(C),te=N;f(N)||(z.cleanup=u(N.unsubscribe)?function(){te.unsubscribe()}:s(N))}catch(fe){C.error(fe);return}z.isClosed()&&z.clean()}};oe.prototype=d({},{unsubscribe:function(){var L=k(this);L.isClosed()||(L.close(),L.clean())}}),o&&b(oe.prototype,"closed",{configurable:!0,get:function(){return k(this).isClosed()}});var B=function(ee){H(this,{type:P,subscriptionState:ee}),o||(this.closed=!1)};B.prototype=d({},{next:function(L){var z=_(this).subscriptionState;if(!z.isClosed()){var j=z.observer;try{var C=h(j,"next");C&&r(C,j,L)}catch(N){S(N)}}},error:function(L){var z=_(this).subscriptionState;if(!z.isClosed()){var j=z.observer;z.close();try{var C=h(j,"error");C?r(C,j,L):S(L)}catch(N){S(N)}z.clean()}},complete:function(){var L=_(this).subscriptionState;if(!L.isClosed()){var z=L.observer;L.close();try{var j=h(z,"complete");j&&r(j,z)}catch(C){S(C)}L.clean()}}}),o&&b(B.prototype,"closed",{configurable:!0,get:function(){return _(this).subscriptionState.isClosed()}});var le=function(L){l(this,ne),H(this,{type:T,subscriber:s(L)})},ne=le.prototype;d(ne,{subscribe:function(L){var z=arguments.length;return new oe(u(L)?{next:L,error:z>1?arguments[1]:void 0,complete:z>2?arguments[2]:void 0}:p(L)?L:{},ie(this).subscriber)}}),y(ne,w,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:le}),a(T)},9818:function(v,m,e){"use strict";var t=e(79989),r=e(76058),o=e(22615),a=e(85027),s=e(19429),c=e(5185),l=e(54849),u=e(18734),f=e(44201),p=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(y){var d=s(this)?this:r("Observable"),b=l(a(y),p);if(b){var S=a(o(b,y));return S.constructor===d?S:new d(function(E){return S.subscribe(E)})}var x=c(y);return new d(function(E){u(x,function(w,T){if(E.next(w),E.closed)return T()},{IS_ITERATOR:!0,INTERRUPTED:!0}),E.complete()})}})},76314:function(v,m,e){"use strict";e(63503),e(9818),e(38771)},38771:function(v,m,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"),l=arguments.length,u=a(l),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var p=o(f),h=s(p,0);return(h>47&&h<58?"\\x3":"")+c(p,l,"\\$&")}})},57282:function(v,m,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,l=arguments.length;c1?arguments[1]:void 0);return a(l,function(f){if(!u(f,f,l))return!1},!0)!==!1}})},96986:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,l=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d){h(d,d,p)&&l(y,d)}),y}})},95681:function(v,m,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 l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0),f=a(l,function(p){if(u(p,p,l))return{value:p}},!0);return f&&f.value}})},13781:function(v,m,e){"use strict";var t=e(79989),r=e(28737);t({target:"Set",stat:!0,forced:!0},{from:r})},98873:function(v,m,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,m,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,m,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,m,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,m,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,m,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,m,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,m,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,m,e){"use strict";var t=e(79989),r=e(68844),o=e(10029),a=e(48774),s=e(34327),c=r([].join),l=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var p=o(this),h=f===void 0?",":s(f),y=[];return a(p,function(d){l(y,d)}),c(y,h)}})},95752:function(v,m,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,l=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var p=o(this),h=r(f,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(d){l(y,h(d,d,p))}),y}})},32789:function(v,m,e){"use strict";var t=e(79989),r=e(1114);t({target:"Set",stat:!0,forced:!0},{of:r})},27913:function(v,m,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(l){var u=o(this),f=arguments.length<2,p=f?void 0:arguments[1];if(r(l),a(u,function(h){f?(f=!1,p=h):p=l(p,h,h,u)}),f)throw new s("Reduce of empty set with no initial value");return p}})},6831:function(v,m,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 l=o(this),u=r(c,arguments.length>1?arguments[1]:void 0);return a(l,function(f){if(u(f,f,l))return!0},!0)===!0}})},90243:function(v,m,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,m,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,m,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,m,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,m,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(l){var u=s(o(this)),f=u.length,p=a(l),h=p>=0?p:f+p;return h<0||h>=f?void 0:r(u,h)}})},95853:function(v,m,e){"use strict";var t=e(79989),r=e(30974),o=e(27807),a=e(74684),s=e(34327),c=e(618),l=e(10730),u=l.codeAt,f=l.charAt,p="String Iterator",h=c.set,y=c.getterFor(p),d=r(function(S){h(this,{type:p,string:S,index:0})},"String",function(){var S=y(this),x=S.string,E=S.index,w;return E>=x.length?o(void 0,!0):(w=f(x,E),S.index+=w.length,o({codePoint:u(w,0),position:E},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new d(s(a(this)))}})},21917:function(v,m,e){"use strict";var t=e(79989),r=e(8195);t({target:"String",stat:!0,forced:!0},{cooked:r})},66084:function(v,m,e){"use strict";var t=e(71594),r=e(79989),o=e(98702),a=e(68844),s=e(61735),c=e(85027),l=e(90690),u=e(69985),f=e(6310),p=e(72560).f,h=e(9015),y=e(16803),d=e(8195),b=e(98985),S=e(86350),x=new y.WeakMap,E=y.get,w=y.has,T=y.set,F=Array,P=TypeError,R=Object.freeze||Object,H=Object.isFrozen,ie=Math.min,k=a("".charAt),_=a("".slice),q=a("".split),oe=a(/./.exec),B=/([\n\u2028\u2029]|\r\n?)/g,le=RegExp("^["+S+"]*"),ne=RegExp("[^"+S+"]"),ee="Invalid tag",L="Invalid opening line",z="Invalid closing line",j=function(V){var ve=V.raw;if(t&&!H(ve))throw new P("Raw template should be frozen");if(w(x,ve))return E(x,ve);var ye=C(ve),Te=te(ye);return p(Te,"raw",{value:R(ye)}),R(Te),T(x,ve,Te),Te},C=function(V){var ve=l(V),ye=f(ve),Te=F(ye),ke=F(ye),Qe=0,pt,It,ot,St;if(!ye)throw new P(ee);for(;Qe0)throw new P(L);pt[1]=""}if(xe){if(pt.length===1||oe(ne,pt[pt.length-1]))throw new P(z);pt[pt.length-2]="",pt[pt.length-1]=""}for(var Q=2;Q1?arguments[1]:void 0);return o(this,u)},!0)},59359:function(v,m,e){"use strict";var t=e(54872),r=e(2960).filterReject,o=e(20716),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(l){var u=r(a(this),l,arguments.length>1?arguments[1]:void 0);return o(this,u)},!0)},76677:function(v,m,e){"use strict";var t=e(76058),r=e(52655),o=e(2231),a=e(54872),s=e(59976),c=a.aTypedArrayConstructor,l=a.exportTypedArrayStaticMethod;l("fromAsync",function(f){var p=this,h=arguments.length,y=h>1?arguments[1]:void 0,d=h>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(f,y,d))}).then(function(b){return s(c(p),b)})},!0)},30548:function(v,m,e){"use strict";var t=e(54872),r=e(64976),o=e(47338),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(l){var u=arguments.length>1?arguments[1]:void 0;return r(a(this),l,u,o)},!0)},915:function(v,m,e){"use strict";var t=e(54872),r=e(6310),o=e(9401),a=e(27578),s=e(71530),c=e(68700),l=e(3689),u=t.aTypedArray,f=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,h=Math.max,y=Math.min,d=!l(function(){var b=new Int8Array([1]),S=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return S[0]!==2||S[1]!==3});p("toSpliced",function(S,x){var E=u(this),w=f(E),T=r(E),F=a(S,T),P=arguments.length,R=0,H,ie,k,_,q,oe,B;if(P===0)H=ie=0;else if(P===1)H=0,ie=T-F;else if(ie=y(h(c(x),0),T-F),H=P-2,H){_=new w(H),k=o(_);for(var le=2;le1?a(arguments[1]):void 0,H=f(R)==="base64"?p:h,ie=R?!!R.strict:!1,k=ie?P:S(P,w,"");if(k.length%4===0)x(k,-2)==="=="?k=x(k,0,-2):x(k,-1)==="="&&(k=x(k,0,-1));else if(ie)throw new d("Input is not correctly padded");var _=k.length%4;switch(_){case 1:throw new d("Bad input length");case 2:k+="AA";break;case 3:k+="A"}for(var q=[],oe=0,B=k.length,le=function(L){var z=b(k,oe+L);if(!c(H,z))throw new d('Bad char in input: "'+z+'"');return H[z]<<18-6*L};oe>16&255,ne>>8&255,ne&255)}var ee=q.length;if(_===2){if(ie&&q[ee-2]!==0)throw new d(T);ee-=2}else if(_===3){if(ie&&q[ee-1]!==0)throw new d(T);ee--}return l(y,q,ee)}})},91117:function(v,m,e){"use strict";var t=e(79989),r=e(19037),o=e(68844),a=e(51082),s=r.Uint8Array,c=r.SyntaxError,l=r.parseInt,u=/[^\da-f]/i,f=o(u.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){a(y);var d=y.length;if(d%2)throw new c("String should have an even number of characters");if(f(u,y))throw new c("String should only contain hex characters");for(var b=new s(d/2),S=0;S>6*P&63)};E+21&&!p(arguments[1])?b(arguments[1]):void 0,Me=Y?Y.transfer:void 0,We,Ne;Me!==void 0&&(We=new j,Ne=Pe(Me,We));var Be=de(re,We);return Ne&&Je(Ne),Be}})},98858:function(v,m,e){"use strict";var t=e(11880),r=e(68844),o=e(34327),a=e(21500),s=URLSearchParams,c=s.prototype,l=r(c.append),u=r(c.delete),f=r(c.forEach),p=r([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&t(c,"delete",function(y){var d=arguments.length,b=d<2?void 0:arguments[1];if(d&&b===void 0)return u(this,y);var S=[];f(this,function(H,ie){p(S,{key:ie,value:H})}),a(d,1);for(var x=o(y),E=o(b),w=0,T=0,F=!1,P=S.length,R;wr.length)&&(o=r.length);for(var a=0,s=new Array(o);a=o.length?{done:!0}:{done:!1,value:o[c++]}},e:function(y){throw y},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,f=!1,p;return{s:function(){s=s.call(o)},n:function(){var y=s.next();return u=y.done,y},e:function(y){f=!0,p=y},f:function(){try{!u&&s.return!=null&&s.return()}finally{if(f)throw p}}}}},29388:function(v,m,e){"use strict";e.d(m,{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 u=(0,t.Z)(s),f;if(c){var p=(0,t.Z)(this).constructor;f=Reflect.construct(u,arguments,p)}else f=u.apply(this,arguments);return(0,o.Z)(this,f)}}},4942:function(v,m,e){"use strict";e.d(m,{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,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},82963:function(v,m,e){"use strict";e.d(m,{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,m,e){"use strict";e.d(m,{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,l=Object.defineProperty||function(j,C,N){j[C]=N.value},u=typeof Symbol=="function"?Symbol:{},f=u.iterator||"@@iterator",p=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function y(j,C,N){return Object.defineProperty(j,C,{value:N,enumerable:!0,configurable:!0,writable:!0}),j[C]}try{y({},"")}catch(j){y=function(N,te,fe){return N[te]=fe}}function d(j,C,N,te){var fe=C&&C.prototype instanceof F?C:F,X=Object.create(fe.prototype),V=new L(te||[]);return l(X,"_invoke",{value:B(j,N,V)}),X}function b(j,C,N){try{return{type:"normal",arg:j.call(C,N)}}catch(te){return{type:"throw",arg:te}}}a.wrap=d;var S="suspendedStart",x="suspendedYield",E="executing",w="completed",T={};function F(){}function P(){}function R(){}var H={};y(H,f,function(){return this});var ie=Object.getPrototypeOf,k=ie&&ie(ie(z([])));k&&k!==s&&c.call(k,f)&&(H=k);var _=R.prototype=F.prototype=Object.create(H);function q(j){["next","throw","return"].forEach(function(C){y(j,C,function(N){return this._invoke(C,N)})})}function oe(j,C){function N(fe,X,V,ve){var ye=b(j[fe],j,X);if(ye.type!=="throw"){var Te=ye.arg,ke=Te.value;return ke&&(0,t.Z)(ke)=="object"&&c.call(ke,"__await")?C.resolve(ke.__await).then(function(Qe){N("next",Qe,V,ve)},function(Qe){N("throw",Qe,V,ve)}):C.resolve(ke).then(function(Qe){Te.value=Qe,V(Te)},function(Qe){return N("throw",Qe,V,ve)})}ve(ye.arg)}var te;l(this,"_invoke",{value:function(X,V){function ve(){return new C(function(ye,Te){N(X,V,ye,Te)})}return te=te?te.then(ve,ve):ve()}})}function B(j,C,N){var te=S;return function(fe,X){if(te===E)throw new Error("Generator is already running");if(te===w){if(fe==="throw")throw X;return{value:o,done:!0}}for(N.method=fe,N.arg=X;;){var V=N.delegate;if(V){var ve=le(V,N);if(ve){if(ve===T)continue;return ve}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(te===S)throw te=w,N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);te=E;var ye=b(j,C,N);if(ye.type==="normal"){if(te=N.done?w:x,ye.arg===T)continue;return{value:ye.arg,done:N.done}}ye.type==="throw"&&(te=w,N.method="throw",N.arg=ye.arg)}}}function le(j,C){var N=C.method,te=j.iterator[N];if(te===o)return C.delegate=null,N==="throw"&&j.iterator.return&&(C.method="return",C.arg=o,le(j,C),C.method==="throw")||N!=="return"&&(C.method="throw",C.arg=new TypeError("The iterator does not provide a '"+N+"' method")),T;var fe=b(te,j.iterator,C.arg);if(fe.type==="throw")return C.method="throw",C.arg=fe.arg,C.delegate=null,T;var X=fe.arg;return X?X.done?(C[j.resultName]=X.value,C.next=j.nextLoc,C.method!=="return"&&(C.method="next",C.arg=o),C.delegate=null,T):X:(C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,T)}function ne(j){var C={tryLoc:j[0]};1 in j&&(C.catchLoc=j[1]),2 in j&&(C.finallyLoc=j[2],C.afterLoc=j[3]),this.tryEntries.push(C)}function ee(j){var C=j.completion||{};C.type="normal",delete C.arg,j.completion=C}function L(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(ne,this),this.reset(!0)}function z(j){if(j||j===""){var C=j[f];if(C)return C.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var N=-1,te=function fe(){for(;++N=0;--fe){var X=this.tryEntries[fe],V=X.completion;if(X.tryLoc==="root")return te("end");if(X.tryLoc<=this.prev){var ve=c.call(X,"catchLoc"),ye=c.call(X,"finallyLoc");if(ve&&ye){if(this.prev=0;--te){var fe=this.tryEntries[te];if(fe.tryLoc<=this.prev&&c.call(fe,"finallyLoc")&&this.prev=0;--N){var te=this.tryEntries[N];if(te.finallyLoc===C)return this.complete(te.completion,te.afterLoc),ee(te),T}},catch:function(C){for(var N=this.tryEntries.length-1;N>=0;--N){var te=this.tryEntries[N];if(te.tryLoc===C){var fe=te.completion;if(fe.type==="throw"){var X=fe.arg;ee(te)}return X}}throw new Error("illegal catch attempt")},delegateYield:function(C,N,te){return this.delegate={iterator:z(C),resultName:N,nextLoc:te},this.method==="next"&&(this.arg=o),T}},a}},97685:function(v,m,e){"use strict";e.d(m,{Z:function(){return s}});var t=e(83878);function r(c,l){var u=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(u!=null){var f,p,h,y,d=[],b=!0,S=!1;try{if(h=(u=u.call(c)).next,l===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(f=h.call(u)).done)&&(d.push(f.value),d.length!==l);b=!0);}catch(x){S=!0,p=x}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw p}}return d}}var o=e(40181),a=e(25267);function s(c,l){return(0,t.Z)(c)||r(c,l)||(0,o.Z)(c,l)||(0,a.Z)()}},84506:function(v,m,e){"use strict";e.d(m,{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,m,e){"use strict";e.d(m,{Z:function(){return c}});var t=e(30907);function r(l){if(Array.isArray(l))return(0,t.Z)(l)}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(l){return r(l)||(0,o.Z)(l)||(0,a.Z)(l)||s()}},83997:function(v,m,e){"use strict";e.d(m,{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 l=c.call(a,s||"default");if((0,t.Z)(l)!="object")return l;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:String(s)}},71002:function(v,m,e){"use strict";e.d(m,{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,m,e){"use strict";e.d(m,{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,m,e){"use strict";e.d(m,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,m,e){"use strict";e.d(m,{J$:function(){return We},ZP:function(){return Ne},kY:function(){return M}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Be=>Be===a,l=Be=>typeof Be=="function",u=(Be,ge)=>Ul(Ul({},Be),ge),f=Be=>l(Be.then),p=new WeakMap;let h=0;const y=Be=>{const ge=typeof Be,Se=Be&&Be.constructor,je=Se==Date;let ze,et;if(s(Be)===Be&&!je&&Se!=RegExp){if(ze=p.get(Be),ze)return ze;if(ze=++h+"~",p.set(Be,ze),Se==Array){for(ze="@",et=0;etE&&typeof window.requestAnimationFrame!=x,F=(Be,ge)=>{const Se=d.get(Be);return[()=>!c(ge)&&Be.get(ge)||b,je=>{if(!c(ge)){const ze=Be.get(ge);ge in S||(S[ge]=ze),Se[5](ge,u(ze,je),ze||b)}},Se[6],()=>!c(ge)&&ge in S?S[ge]:!c(ge)&&Be.get(ge)||b]};let P=!0;const R=()=>P,[H,ie]=E&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],k=()=>{const Be=w&&document.visibilityState;return c(Be)||Be!=="hidden"},_=Be=>(w&&document.addEventListener("visibilitychange",Be),H("focus",Be),()=>{w&&document.removeEventListener("visibilitychange",Be),ie("focus",Be)}),q=Be=>{const ge=()=>{P=!0,Be()},Se=()=>{P=!1};return H("online",ge),H("offline",Se),()=>{ie("online",ge),ie("offline",Se)}},oe={isOnline:R,isVisible:k},B={initFocus:_,initReconnect:q},le=!t.useId,ne=!E||"Deno"in window,ee=Be=>T()?window.requestAnimationFrame(Be):setTimeout(Be,1),L=ne?t.useEffect:t.useLayoutEffect,z=typeof navigator!="undefined"&&navigator.connection,j=!ne&&z&&(["slow-2g","2g"].includes(z.effectiveType)||z.saveData),C=Be=>{if(l(Be))try{Be=Be()}catch(Se){Be=""}const ge=Be;return Be=typeof Be=="string"?Be:(Array.isArray(Be)?Be.length:Be)?y(Be):"",[Be,ge]};let N=0;const te=()=>++N,fe=0,X=1,V=2;var ye={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fe,MUTATE_EVENT:V,RECONNECT_EVENT:X};function Te(...Be){return Lu(this,null,function*(){const[ge,Se,je,ze]=Be,et=u({populateCache:!0,throwOnError:!0},typeof ze=="boolean"?{revalidate:ze}:ze||{});let He=et.populateCache;const Ye=et.rollbackOnError;let Ee=et.optimisticData;const Fe=st=>typeof Ye=="function"?Ye(st):Ye!==!1,me=et.throwOnError;if(l(Se)){const st=Se,ct=[],we=ge.keys();for(const Ke of we)!/^\$(inf|sub)\$/.test(Ke)&&st(ge.get(Ke)._k)&&ct.push(Ke);return Promise.all(ct.map(Ve))}return Ve(Se);function Ve(st){return Lu(this,null,function*(){const[ct]=C(st);if(!ct)return;const[we,Ke]=F(ge,ct),[_e,qe,yt,Rt]=d.get(ge),Zt=()=>{const bn=_e[ct];return(l(et.revalidate)?et.revalidate(we().data,st):et.revalidate!==!1)&&(delete yt[ct],delete Rt[ct],bn&&bn[0])?bn[0](V).then(()=>we().data):we().data};if(Be.length<3)return Zt();let At=je,Pt;const vt=te();qe[ct]=[vt,0];const Ct=!c(Ee),Nt=we(),En=Nt.data,Sn=Nt._c,Pn=c(Sn)?En:Sn;if(Ct&&(Ee=l(Ee)?Ee(Pn,En):Ee,Ke({data:Ee,_c:Pn})),l(At))try{At=At(Pn)}catch(bn){Pt=bn}if(At&&f(At))if(At=yield At.catch(bn=>{Pt=bn}),vt!==qe[ct][0]){if(Pt)throw Pt;return At}else Pt&&Ct&&Fe(Pt)&&(He=!0,Ke({data:Pn,_c:a}));if(He&&!Pt)if(l(He)){const bn=He(At,Pn);Ke({data:bn,error:a,_c:a})}else Ke({data:At,error:a,_c:a});if(qe[ct][1]=te(),Promise.resolve(Zt()).then(()=>{Ke({_c:a})}),Pt){if(me)throw Pt;return}return At})}})}const ke=(Be,ge)=>{for(const Se in Be)Be[Se][0]&&Be[Se][0](ge)},Qe=(Be,ge)=>{if(!d.has(Be)){const Se=u(B,ge),je={},ze=Te.bind(a,Be);let et=o;const He={},Ye=(me,Ve)=>{const st=He[me]||[];return He[me]=st,st.push(Ve),()=>st.splice(st.indexOf(Ve),1)},Ee=(me,Ve,st)=>{Be.set(me,Ve);const ct=He[me];if(ct)for(const we of ct)we(Ve,st)},Fe=()=>{if(!d.has(Be)&&(d.set(Be,[je,{},{},{},ze,Ee,Ye]),!ne)){const me=Se.initFocus(setTimeout.bind(a,ke.bind(a,je,fe))),Ve=Se.initReconnect(setTimeout.bind(a,ke.bind(a,je,X)));et=()=>{me&&me(),Ve&&Ve(),d.delete(Be)}}};return Fe(),[Be,ze,Fe,et]}return[Be,d.get(Be)[4]]},pt=(Be,ge,Se,je,ze)=>{const et=Se.errorRetryCount,He=ze.retryCount,Ye=~~((Math.random()+.5)*(1<<(He<8?He:8)))*Se.errorRetryInterval;!c(et)&&He>et||setTimeout(je,Ye,ze)},It=(Be,ge)=>y(Be)==y(ge),[ot,St]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:j?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:j?5e3:3e3,compare:It,isPaused:()=>!1,cache:ot,mutate:St,fallback:{}},oe),xe=(Be,ge)=>{const Se=u(Be,ge);if(ge){const{use:je,fallback:ze}=Be,{use:et,fallback:He}=ge;je&&et&&(Se.use=je.concat(et)),ze&&He&&(Se.fallback=u(ze,He))}return Se},Q=(0,t.createContext)({}),I=Be=>{const{value:ge}=Be,Se=(0,t.useContext)(Q),je=l(ge),ze=(0,t.useMemo)(()=>je?ge(Se):ge,[je,Se,ge]),et=(0,t.useMemo)(()=>je?ze:xe(Se,ze),[je,Se,ze]),He=ze&&ze.provider,Ye=(0,t.useRef)(a);He&&!Ye.current&&(Ye.current=Qe(He(et.cache||ot),ze));const Ee=Ye.current;return Ee&&(et.cache=Ee[0],et.mutate=Ee[1]),L(()=>{if(Ee)return Ee[2]&&Ee[2](),Ee[3]},[]),(0,t.createElement)(Q.Provider,u(Be,{value:et}))},D="$inf$",ce=E&&window.__SWR_DEVTOOLS_USE__,K=ce?window.__SWR_DEVTOOLS_USE__:[],A=()=>{ce&&(window.__SWR_DEVTOOLS_REACT__=t)},$=Be=>l(Be[1])?[Be[0],Be[1],Be[2]||{}]:[Be[0],null,(Be[1]===null?Be[2]:Be[1])||{}],M=()=>u(lt,(0,t.useContext)(Q)),Z=(Be,ge)=>{const[Se,je]=C(Be),[,,,ze]=d.get(ot);if(ze[Se])return ze[Se];const et=ge(je);return ze[Se]=et,et},G=Be=>(ge,Se,je)=>Be(ge,Se&&((...et)=>{const[He]=C(ge),[,,,Ye]=d.get(ot);if(He.startsWith(D))return Se(...et);const Ee=Ye[He];return c(Ee)?Se(...et):(delete Ye[He],Ee)}),je),se=K.concat(G),de=Be=>function(...Se){const je=M(),[ze,et,He]=$(Se),Ye=xe(je,He);let Ee=Be;const{use:Fe}=Ye,me=(Fe||[]).concat(se);for(let Ve=me.length;Ve--;)Ee=me[Ve](Ee);return Ee(ze,et||Ye.fetcher||null,Ye)},Pe=(Be,ge,Se)=>{const je=ge[Be]||(ge[Be]=[]);return je.push(Se),()=>{const ze=je.indexOf(Se);ze>=0&&(je[ze]=je[je.length-1],je.pop())}},Je=(Be,ge)=>(...Se)=>{const[je,ze,et]=$(Se),He=(et.use||[]).concat(ge);return Be(je,ze,Qc(Ul({},et),{use:He}))};A();const J=Be=>serialize(Be)[0],re=t.use||(Be=>{if(Be.status==="pending")throw Be;if(Be.status==="fulfilled")return Be.value;throw Be.status==="rejected"?Be.reason:(Be.status="pending",Be.then(ge=>{Be.status="fulfilled",Be.value=ge},ge=>{Be.status="rejected",Be.reason=ge}),Be)}),Y={dedupe:!0},Me=(Be,ge,Se)=>{const{cache:je,compare:ze,suspense:et,fallbackData:He,revalidateOnMount:Ye,revalidateIfStale:Ee,refreshInterval:Fe,refreshWhenHidden:me,refreshWhenOffline:Ve,keepPreviousData:st}=Se,[ct,we,Ke,_e]=d.get(je),[qe,yt]=C(Be),Rt=(0,t.useRef)(!1),Zt=(0,t.useRef)(!1),At=(0,t.useRef)(qe),Pt=(0,t.useRef)(ge),vt=(0,t.useRef)(Se),Ct=()=>vt.current,Nt=()=>Ct().isVisible()&&Ct().isOnline(),[En,Sn,Pn,bn]=F(je,qe),at=(0,t.useRef)({}).current,Ze=c(He)?Se.fallback[qe]:He,bt=(ht,$t)=>{for(const Ot in at){const Ht=Ot;if(Ht==="data"){if(!ze(ht[Ht],$t[Ht])&&(!c(ht[Ht])||!ze(An,$t[Ht])))return!1}else if($t[Ht]!==ht[Ht])return!1}return!0},Tt=(0,t.useMemo)(()=>{const ht=(()=>!qe||!ge?!1:c(Ye)?Ct().isPaused()||et?!1:c(Ee)?!0:Ee:Ye)(),$t=pn=>{const wn=u(pn);return delete wn._k,ht?Ul({isValidating:!0,isLoading:!0},wn):wn},Ot=En(),Ht=bn(),Bt=$t(Ot),tn=Ot===Ht?Bt:$t(Ht);let fn=Bt;return[()=>{const pn=$t(En());return bt(pn,fn)?(fn.data=pn.data,fn.isLoading=pn.isLoading,fn.isValidating=pn.isValidating,fn.error=pn.error,fn):(fn=pn,pn)},()=>tn]},[je,qe]),jt=(0,r.useSyncExternalStore)((0,t.useCallback)(ht=>Pn(qe,($t,Ot)=>{bt(Ot,$t)||ht()}),[je,qe]),Tt[0],Tt[1]),Yt=!Rt.current,en=ct[qe]&&ct[qe].length>0,xn=jt.data,Rn=c(xn)?Ze:xn,Fn=jt.error,_n=(0,t.useRef)(Rn),An=st?c(xn)?_n.current:xn:Rn,Xn=(()=>en&&!c(Fn)?!1:Yt&&!c(Ye)?Ye:Ct().isPaused()?!1:et?c(Rn)?!1:Ee:c(Rn)||Ee)(),rn=!!(qe&&ge&&Yt&&Xn),qn=c(jt.isValidating)?rn:jt.isValidating,Jt=c(jt.isLoading)?rn:jt.isLoading,on=(0,t.useCallback)(ht=>Lu(this,null,function*(){const $t=Pt.current;if(!qe||!$t||Zt.current||Ct().isPaused())return!1;let Ot,Ht,Bt=!0;const tn=ht||{},fn=!Ke[qe]||!tn.dedupe,pn=()=>le?!Zt.current&&qe===At.current&&Rt.current:qe===At.current,wn={isValidating:!1,isLoading:!1},Jn=()=>{Sn(wn)},Tn=()=>{const Dn=Ke[qe];Dn&&Dn[1]===Ht&&delete Ke[qe]},Zn={isValidating:!0};c(En().data)&&(Zn.isLoading=!0);try{if(fn&&(Sn(Zn),Se.loadingTimeout&&c(En().data)&&setTimeout(()=>{Bt&&pn()&&Ct().onLoadingSlow(qe,Se)},Se.loadingTimeout),Ke[qe]=[$t(yt),te()]),[Ot,Ht]=Ke[qe],Ot=yield Ot,fn&&setTimeout(Tn,Se.dedupingInterval),!Ke[qe]||Ke[qe][1]!==Ht)return fn&&pn()&&Ct().onDiscarded(qe),!1;wn.error=a;const Dn=we[qe];if(!c(Dn)&&(Ht<=Dn[0]||Ht<=Dn[1]||Dn[1]===0))return Jn(),fn&&pn()&&Ct().onDiscarded(qe),!1;const Nn=En().data;wn.data=ze(Nn,Ot)?Nn:Ot,fn&&pn()&&Ct().onSuccess(Ot,qe,Se)}catch(Dn){Tn();const Nn=Ct(),{shouldRetryOnError:xr}=Nn;Nn.isPaused()||(wn.error=Dn,fn&&pn()&&(Nn.onError(Dn,qe,Nn),(xr===!0||l(xr)&&xr(Dn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Nt())&&Nn.onErrorRetry(Dn,qe,Nn,Re=>{const Ie=ct[qe];Ie&&Ie[0]&&Ie[0](ye.ERROR_REVALIDATE_EVENT,Re)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return Bt=!1,Jn(),!0}),[qe,je]),ft=(0,t.useCallback)((...ht)=>Te(je,At.current,...ht),[]);if(L(()=>{Pt.current=ge,vt.current=Se,c(xn)||(_n.current=xn)}),L(()=>{if(!qe)return;const ht=on.bind(a,Y);let $t=0;const Ht=Pe(qe,ct,(Bt,tn={})=>{if(Bt==ye.FOCUS_EVENT){const fn=Date.now();Ct().revalidateOnFocus&&fn>$t&&Nt()&&($t=fn+Ct().focusThrottleInterval,ht())}else if(Bt==ye.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Nt()&&ht();else{if(Bt==ye.MUTATE_EVENT)return on();if(Bt==ye.ERROR_REVALIDATE_EVENT)return on(tn)}});return Zt.current=!1,At.current=qe,Rt.current=!0,Sn({_k:yt}),Xn&&(c(Rn)||ne?ht():ee(ht)),()=>{Zt.current=!0,Ht()}},[qe]),L(()=>{let ht;function $t(){const Ht=l(Fe)?Fe(En().data):Fe;Ht&&ht!==-1&&(ht=setTimeout(Ot,Ht))}function Ot(){!En().error&&(me||Ct().isVisible())&&(Ve||Ct().isOnline())?on(Y).then($t):$t()}return $t(),()=>{ht&&(clearTimeout(ht),ht=-1)}},[Fe,me,Ve,qe]),(0,t.useDebugValue)(An),et&&c(Rn)&&qe){if(!le&&ne)throw new Error("Fallback data is required when using suspense in SSR.");Pt.current=ge,vt.current=Se,Zt.current=!1;const ht=_e[qe];if(!c(ht)){const $t=ft(ht);re($t)}if(c(Fn)){const $t=on(Y);c(An)||($t.status="fulfilled",$t.value=!0),re($t)}else throw Fn}return{mutate:ft,get data(){return at.data=!0,An},get error(){return at.error=!0,Fn},get isValidating(){return at.isValidating=!0,qn},get isLoading(){return at.isLoading=!0,Jt}}},We=s.defineProperty(I,"defaultValue",{value:lt}),Ne=de(Me)}},Yo={};function Oe(v){var m=Yo[v];if(m!==void 0)return m.exports;var e=Yo[v]={id:v,loaded:!1,exports:{}};return hi[v].call(e.exports,e,e.exports,Oe),e.loaded=!0,e.exports}Oe.m=hi,function(){Oe.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return Oe.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;Oe.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);Oe.r(r);var o={};m=m||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~m.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},Oe.d(r,o),r}}(),function(){Oe.d=function(v,m){for(var e in m)Oe.o(m,e)&&!Oe.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){Oe.f={},Oe.e=function(v){return Promise.all(Object.keys(Oe.f).reduce(function(m,e){return Oe.f[e](v,m),m},[]))}}(),function(){Oe.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",557:"p__Bind",571:"p__404",581:"p__DeviceOverview",628:"p__Overview",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"16d305c4",51:"d90b1fa5",60:"16c1b5e4",86:"b26c32d8",89:"d8aaef40",134:"957d5baa",168:"01472d0e",169:"c5babfbf",185:"70b2426d",301:"9c68ad01",366:"79522455",371:"287b3a44",390:"41467286",397:"0ef2ea1f",470:"bb8d466d",557:"a80b7711",559:"683b9a7b",571:"0c100574",581:"d73ca448",601:"f0684ea2",628:"f23404e9",816:"8c0c25d4",857:"ec333a28",905:"745134cb",930:"66e0f98d",991:"a4a764f4"}[v]+".async.js"}}(),function(){Oe.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){Oe.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){Oe.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";Oe.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"),l=0;l=0)&&(s[l]=o[l]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,m,e){"use strict";e.d(m,{J$:function(){return We},ZP:function(){return Ne},kY:function(){return M}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Be=>Be===a,l=Be=>typeof Be=="function",u=(Be,ge)=>Ul(Ul({},Be),ge),f=Be=>l(Be.then),p=new WeakMap;let h=0;const y=Be=>{const ge=typeof Be,Se=Be&&Be.constructor,je=Se==Date;let ze,et;if(s(Be)===Be&&!je&&Se!=RegExp){if(ze=p.get(Be),ze)return ze;if(ze=++h+"~",p.set(Be,ze),Se==Array){for(ze="@",et=0;etE&&typeof window.requestAnimationFrame!=x,F=(Be,ge)=>{const Se=d.get(Be);return[()=>!c(ge)&&Be.get(ge)||b,je=>{if(!c(ge)){const ze=Be.get(ge);ge in S||(S[ge]=ze),Se[5](ge,u(ze,je),ze||b)}},Se[6],()=>!c(ge)&&ge in S?S[ge]:!c(ge)&&Be.get(ge)||b]};let P=!0;const R=()=>P,[H,ie]=E&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],k=()=>{const Be=w&&document.visibilityState;return c(Be)||Be!=="hidden"},_=Be=>(w&&document.addEventListener("visibilitychange",Be),H("focus",Be),()=>{w&&document.removeEventListener("visibilitychange",Be),ie("focus",Be)}),q=Be=>{const ge=()=>{P=!0,Be()},Se=()=>{P=!1};return H("online",ge),H("offline",Se),()=>{ie("online",ge),ie("offline",Se)}},oe={isOnline:R,isVisible:k},B={initFocus:_,initReconnect:q},le=!t.useId,ne=!E||"Deno"in window,ee=Be=>T()?window.requestAnimationFrame(Be):setTimeout(Be,1),L=ne?t.useEffect:t.useLayoutEffect,z=typeof navigator!="undefined"&&navigator.connection,j=!ne&&z&&(["slow-2g","2g"].includes(z.effectiveType)||z.saveData),C=Be=>{if(l(Be))try{Be=Be()}catch(Se){Be=""}const ge=Be;return Be=typeof Be=="string"?Be:(Array.isArray(Be)?Be.length:Be)?y(Be):"",[Be,ge]};let N=0;const te=()=>++N,fe=0,X=1,V=2;var ye={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fe,MUTATE_EVENT:V,RECONNECT_EVENT:X};function Te(...Be){return Lu(this,null,function*(){const[ge,Se,je,ze]=Be,et=u({populateCache:!0,throwOnError:!0},typeof ze=="boolean"?{revalidate:ze}:ze||{});let He=et.populateCache;const Ye=et.rollbackOnError;let Ee=et.optimisticData;const Fe=st=>typeof Ye=="function"?Ye(st):Ye!==!1,me=et.throwOnError;if(l(Se)){const st=Se,ct=[],we=ge.keys();for(const Ke of we)!/^\$(inf|sub)\$/.test(Ke)&&st(ge.get(Ke)._k)&&ct.push(Ke);return Promise.all(ct.map(Ve))}return Ve(Se);function Ve(st){return Lu(this,null,function*(){const[ct]=C(st);if(!ct)return;const[we,Ke]=F(ge,ct),[_e,qe,yt,Rt]=d.get(ge),Zt=()=>{const bn=_e[ct];return(l(et.revalidate)?et.revalidate(we().data,st):et.revalidate!==!1)&&(delete yt[ct],delete Rt[ct],bn&&bn[0])?bn[0](V).then(()=>we().data):we().data};if(Be.length<3)return Zt();let At=je,Pt;const vt=te();qe[ct]=[vt,0];const Ct=!c(Ee),Nt=we(),En=Nt.data,Sn=Nt._c,Pn=c(Sn)?En:Sn;if(Ct&&(Ee=l(Ee)?Ee(Pn,En):Ee,Ke({data:Ee,_c:Pn})),l(At))try{At=At(Pn)}catch(bn){Pt=bn}if(At&&f(At))if(At=yield At.catch(bn=>{Pt=bn}),vt!==qe[ct][0]){if(Pt)throw Pt;return At}else Pt&&Ct&&Fe(Pt)&&(He=!0,Ke({data:Pn,_c:a}));if(He&&!Pt)if(l(He)){const bn=He(At,Pn);Ke({data:bn,error:a,_c:a})}else Ke({data:At,error:a,_c:a});if(qe[ct][1]=te(),Promise.resolve(Zt()).then(()=>{Ke({_c:a})}),Pt){if(me)throw Pt;return}return At})}})}const ke=(Be,ge)=>{for(const Se in Be)Be[Se][0]&&Be[Se][0](ge)},Qe=(Be,ge)=>{if(!d.has(Be)){const Se=u(B,ge),je={},ze=Te.bind(a,Be);let et=o;const He={},Ye=(me,Ve)=>{const st=He[me]||[];return He[me]=st,st.push(Ve),()=>st.splice(st.indexOf(Ve),1)},Ee=(me,Ve,st)=>{Be.set(me,Ve);const ct=He[me];if(ct)for(const we of ct)we(Ve,st)},Fe=()=>{if(!d.has(Be)&&(d.set(Be,[je,{},{},{},ze,Ee,Ye]),!ne)){const me=Se.initFocus(setTimeout.bind(a,ke.bind(a,je,fe))),Ve=Se.initReconnect(setTimeout.bind(a,ke.bind(a,je,X)));et=()=>{me&&me(),Ve&&Ve(),d.delete(Be)}}};return Fe(),[Be,ze,Fe,et]}return[Be,d.get(Be)[4]]},pt=(Be,ge,Se,je,ze)=>{const et=Se.errorRetryCount,He=ze.retryCount,Ye=~~((Math.random()+.5)*(1<<(He<8?He:8)))*Se.errorRetryInterval;!c(et)&&He>et||setTimeout(je,Ye,ze)},It=(Be,ge)=>y(Be)==y(ge),[ot,St]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:j?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:j?5e3:3e3,compare:It,isPaused:()=>!1,cache:ot,mutate:St,fallback:{}},oe),xe=(Be,ge)=>{const Se=u(Be,ge);if(ge){const{use:je,fallback:ze}=Be,{use:et,fallback:He}=ge;je&&et&&(Se.use=je.concat(et)),ze&&He&&(Se.fallback=u(ze,He))}return Se},Q=(0,t.createContext)({}),I=Be=>{const{value:ge}=Be,Se=(0,t.useContext)(Q),je=l(ge),ze=(0,t.useMemo)(()=>je?ge(Se):ge,[je,Se,ge]),et=(0,t.useMemo)(()=>je?ze:xe(Se,ze),[je,Se,ze]),He=ze&&ze.provider,Ye=(0,t.useRef)(a);He&&!Ye.current&&(Ye.current=Qe(He(et.cache||ot),ze));const Ee=Ye.current;return Ee&&(et.cache=Ee[0],et.mutate=Ee[1]),L(()=>{if(Ee)return Ee[2]&&Ee[2](),Ee[3]},[]),(0,t.createElement)(Q.Provider,u(Be,{value:et}))},D="$inf$",ce=E&&window.__SWR_DEVTOOLS_USE__,K=ce?window.__SWR_DEVTOOLS_USE__:[],A=()=>{ce&&(window.__SWR_DEVTOOLS_REACT__=t)},$=Be=>l(Be[1])?[Be[0],Be[1],Be[2]||{}]:[Be[0],null,(Be[1]===null?Be[2]:Be[1])||{}],M=()=>u(lt,(0,t.useContext)(Q)),Z=(Be,ge)=>{const[Se,je]=C(Be),[,,,ze]=d.get(ot);if(ze[Se])return ze[Se];const et=ge(je);return ze[Se]=et,et},G=Be=>(ge,Se,je)=>Be(ge,Se&&((...et)=>{const[He]=C(ge),[,,,Ye]=d.get(ot);if(He.startsWith(D))return Se(...et);const Ee=Ye[He];return c(Ee)?Se(...et):(delete Ye[He],Ee)}),je),se=K.concat(G),de=Be=>function(...Se){const je=M(),[ze,et,He]=$(Se),Ye=xe(je,He);let Ee=Be;const{use:Fe}=Ye,me=(Fe||[]).concat(se);for(let Ve=me.length;Ve--;)Ee=me[Ve](Ee);return Ee(ze,et||Ye.fetcher||null,Ye)},Pe=(Be,ge,Se)=>{const je=ge[Be]||(ge[Be]=[]);return je.push(Se),()=>{const ze=je.indexOf(Se);ze>=0&&(je[ze]=je[je.length-1],je.pop())}},Je=(Be,ge)=>(...Se)=>{const[je,ze,et]=$(Se),He=(et.use||[]).concat(ge);return Be(je,ze,Qc(Ul({},et),{use:He}))};A();const J=Be=>serialize(Be)[0],re=t.use||(Be=>{if(Be.status==="pending")throw Be;if(Be.status==="fulfilled")return Be.value;throw Be.status==="rejected"?Be.reason:(Be.status="pending",Be.then(ge=>{Be.status="fulfilled",Be.value=ge},ge=>{Be.status="rejected",Be.reason=ge}),Be)}),Y={dedupe:!0},Me=(Be,ge,Se)=>{const{cache:je,compare:ze,suspense:et,fallbackData:He,revalidateOnMount:Ye,revalidateIfStale:Ee,refreshInterval:Fe,refreshWhenHidden:me,refreshWhenOffline:Ve,keepPreviousData:st}=Se,[ct,we,Ke,_e]=d.get(je),[qe,yt]=C(Be),Rt=(0,t.useRef)(!1),Zt=(0,t.useRef)(!1),At=(0,t.useRef)(qe),Pt=(0,t.useRef)(ge),vt=(0,t.useRef)(Se),Ct=()=>vt.current,Nt=()=>Ct().isVisible()&&Ct().isOnline(),[En,Sn,Pn,bn]=F(je,qe),at=(0,t.useRef)({}).current,Ze=c(He)?Se.fallback[qe]:He,bt=(ht,$t)=>{for(const Ot in at){const Ht=Ot;if(Ht==="data"){if(!ze(ht[Ht],$t[Ht])&&(!c(ht[Ht])||!ze(An,$t[Ht])))return!1}else if($t[Ht]!==ht[Ht])return!1}return!0},Tt=(0,t.useMemo)(()=>{const ht=(()=>!qe||!ge?!1:c(Ye)?Ct().isPaused()||et?!1:c(Ee)?!0:Ee:Ye)(),$t=pn=>{const wn=u(pn);return delete wn._k,ht?Ul({isValidating:!0,isLoading:!0},wn):wn},Ot=En(),Ht=bn(),Bt=$t(Ot),tn=Ot===Ht?Bt:$t(Ht);let fn=Bt;return[()=>{const pn=$t(En());return bt(pn,fn)?(fn.data=pn.data,fn.isLoading=pn.isLoading,fn.isValidating=pn.isValidating,fn.error=pn.error,fn):(fn=pn,pn)},()=>tn]},[je,qe]),jt=(0,r.useSyncExternalStore)((0,t.useCallback)(ht=>Pn(qe,($t,Ot)=>{bt(Ot,$t)||ht()}),[je,qe]),Tt[0],Tt[1]),Yt=!Rt.current,en=ct[qe]&&ct[qe].length>0,xn=jt.data,Rn=c(xn)?Ze:xn,Fn=jt.error,_n=(0,t.useRef)(Rn),An=st?c(xn)?_n.current:xn:Rn,Xn=(()=>en&&!c(Fn)?!1:Yt&&!c(Ye)?Ye:Ct().isPaused()?!1:et?c(Rn)?!1:Ee:c(Rn)||Ee)(),rn=!!(qe&&ge&&Yt&&Xn),qn=c(jt.isValidating)?rn:jt.isValidating,Jt=c(jt.isLoading)?rn:jt.isLoading,on=(0,t.useCallback)(ht=>Lu(this,null,function*(){const $t=Pt.current;if(!qe||!$t||Zt.current||Ct().isPaused())return!1;let Ot,Ht,Bt=!0;const tn=ht||{},fn=!Ke[qe]||!tn.dedupe,pn=()=>le?!Zt.current&&qe===At.current&&Rt.current:qe===At.current,wn={isValidating:!1,isLoading:!1},Jn=()=>{Sn(wn)},Tn=()=>{const Dn=Ke[qe];Dn&&Dn[1]===Ht&&delete Ke[qe]},Zn={isValidating:!0};c(En().data)&&(Zn.isLoading=!0);try{if(fn&&(Sn(Zn),Se.loadingTimeout&&c(En().data)&&setTimeout(()=>{Bt&&pn()&&Ct().onLoadingSlow(qe,Se)},Se.loadingTimeout),Ke[qe]=[$t(yt),te()]),[Ot,Ht]=Ke[qe],Ot=yield Ot,fn&&setTimeout(Tn,Se.dedupingInterval),!Ke[qe]||Ke[qe][1]!==Ht)return fn&&pn()&&Ct().onDiscarded(qe),!1;wn.error=a;const Dn=we[qe];if(!c(Dn)&&(Ht<=Dn[0]||Ht<=Dn[1]||Dn[1]===0))return Jn(),fn&&pn()&&Ct().onDiscarded(qe),!1;const Nn=En().data;wn.data=ze(Nn,Ot)?Nn:Ot,fn&&pn()&&Ct().onSuccess(Ot,qe,Se)}catch(Dn){Tn();const Nn=Ct(),{shouldRetryOnError:xr}=Nn;Nn.isPaused()||(wn.error=Dn,fn&&pn()&&(Nn.onError(Dn,qe,Nn),(xr===!0||l(xr)&&xr(Dn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Nt())&&Nn.onErrorRetry(Dn,qe,Nn,Re=>{const Ie=ct[qe];Ie&&Ie[0]&&Ie[0](ye.ERROR_REVALIDATE_EVENT,Re)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return Bt=!1,Jn(),!0}),[qe,je]),ft=(0,t.useCallback)((...ht)=>Te(je,At.current,...ht),[]);if(L(()=>{Pt.current=ge,vt.current=Se,c(xn)||(_n.current=xn)}),L(()=>{if(!qe)return;const ht=on.bind(a,Y);let $t=0;const Ht=Pe(qe,ct,(Bt,tn={})=>{if(Bt==ye.FOCUS_EVENT){const fn=Date.now();Ct().revalidateOnFocus&&fn>$t&&Nt()&&($t=fn+Ct().focusThrottleInterval,ht())}else if(Bt==ye.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Nt()&&ht();else{if(Bt==ye.MUTATE_EVENT)return on();if(Bt==ye.ERROR_REVALIDATE_EVENT)return on(tn)}});return Zt.current=!1,At.current=qe,Rt.current=!0,Sn({_k:yt}),Xn&&(c(Rn)||ne?ht():ee(ht)),()=>{Zt.current=!0,Ht()}},[qe]),L(()=>{let ht;function $t(){const Ht=l(Fe)?Fe(En().data):Fe;Ht&&ht!==-1&&(ht=setTimeout(Ot,Ht))}function Ot(){!En().error&&(me||Ct().isVisible())&&(Ve||Ct().isOnline())?on(Y).then($t):$t()}return $t(),()=>{ht&&(clearTimeout(ht),ht=-1)}},[Fe,me,Ve,qe]),(0,t.useDebugValue)(An),et&&c(Rn)&&qe){if(!le&&ne)throw new Error("Fallback data is required when using suspense in SSR.");Pt.current=ge,vt.current=Se,Zt.current=!1;const ht=_e[qe];if(!c(ht)){const $t=ft(ht);re($t)}if(c(Fn)){const $t=on(Y);c(An)||($t.status="fulfilled",$t.value=!0),re($t)}else throw Fn}return{mutate:ft,get data(){return at.data=!0,An},get error(){return at.error=!0,Fn},get isValidating(){return at.isValidating=!0,qn},get isLoading(){return at.isLoading=!0,Jt}}},We=s.defineProperty(I,"defaultValue",{value:lt}),Ne=de(Me)}},Yo={};function Oe(v){var m=Yo[v];if(m!==void 0)return m.exports;var e=Yo[v]={id:v,loaded:!1,exports:{}};return hi[v].call(e.exports,e,e.exports,Oe),e.loaded=!0,e.exports}Oe.m=hi,function(){Oe.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return Oe.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;Oe.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);Oe.r(r);var o={};m=m||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~m.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},Oe.d(r,o),r}}(),function(){Oe.d=function(v,m){for(var e in m)Oe.o(m,e)&&!Oe.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){Oe.f={},Oe.e=function(v){return Promise.all(Object.keys(Oe.f).reduce(function(m,e){return Oe.f[e](v,m),m},[]))}}(),function(){Oe.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",557:"p__Bind",571:"p__404",581:"p__DeviceOverview",628:"p__Overview",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"16d305c4",51:"d90b1fa5",60:"16c1b5e4",86:"b26c32d8",89:"d8aaef40",134:"957d5baa",168:"01472d0e",169:"c5babfbf",185:"70b2426d",301:"9c68ad01",366:"79522455",371:"15acd8c2",390:"41467286",397:"0ef2ea1f",470:"bb8d466d",557:"a80b7711",559:"683b9a7b",571:"0c100574",581:"d73ca448",601:"f0684ea2",628:"f23404e9",816:"8c0c25d4",857:"e1c1d752",905:"745134cb",930:"66e0f98d",991:"a4a764f4"}[v]+".async.js"}}(),function(){Oe.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){Oe.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){Oe.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";Oe.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"),l=0;lln.length)&&(ue=ln.length);for(var $e=0,W=new Array(ue);$e0&&arguments[0]!==void 0?arguments[0]:"";return ln.endsWith("/")?ln:"".concat(ln,"/")}var Ja=Oe(49647),uo=Oe(58096),za=yn.createContext(void 0);function kr(){return yn.useContext(za)}var Va=["redirect"];function co(ln){var ue=ln.routesById,$e=ln.parentId,W=ln.routeComponents;return Object.keys(ue).filter(function(ut){return ue[ut].parentId===$e}).map(function(ut){var Mt=Eo(Yn({route:ue[ut],routeComponent:W[ut],loadingComponent:ln.loadingComponent,reactRouter5Compat:ln.reactRouter5Compat},ln.reactRouter5Compat&&{hasChildren:Object.keys(ue).filter(function(mn){return ue[mn].parentId===ut}).length>0})),_t=co({routesById:ue,routeComponents:W,parentId:Mt.id,loadingComponent:ln.loadingComponent,reactRouter5Compat:ln.reactRouter5Compat});return _t.length>0&&(Mt.children=_t,Mt.routes=_t),Mt})}function Io(ln){var ue=(0,na.UO)(),$e=Yn(Yn({},ln),{},{to:(0,na.Gn)(ln.to,ue)});return yn.createElement(na.Fg,(0,uo.Z)({replace:!0},$e))}function Eo(ln){var ue=ln.route,$e=ue.redirect,W=(0,Ja.Z)(ue,Va),ut=ln.reactRouter5Compat?Jo:No;return Yn({element:$e?yn.createElement(Io,{to:$e}):yn.createElement(za.Provider,{value:{route:ln.route}},yn.createElement(ut,{loader:yn.memo(ln.routeComponent),loadingComponent:ln.loadingComponent||ti,hasChildren:ln.hasChildren}))},W)}function ti(){return yn.createElement("div",null)}function Jo(ln){var ue=kr(),$e=ue.route,W=(0,ba.Ov)(),ut=W.history,Mt=W.clientRoutes,_t=(0,na.UO)(),mn={params:_t,isExact:!0,path:$e.path,url:ut.location.pathname},er=ln.loader;return yn.createElement(yn.Suspense,{fallback:yn.createElement(ln.loadingComponent,null)},yn.createElement(er,{location:ut.location,match:mn,history:ut,params:_t,route:$e,routes:Mt},ln.hasChildren&&yn.createElement(na.j3,null)))}function No(ln){var ue=ln.loader;return yn.createElement(yn.Suspense,{fallback:yn.createElement(ln.loadingComponent,null)},yn.createElement(ue,null))}var Fo=null;function Bo(){return Fo}function bi(ln){var ue=ln.history,$e=yn.useState({action:ue.action,location:ue.location}),W=br($e,2),ut=W[0],Mt=W[1];return(0,yn.useLayoutEffect)(function(){return ue.listen(Mt)},[ue]),(0,yn.useLayoutEffect)(function(){function _t(mn){ln.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:ln.routes,clientRoutes:ln.clientRoutes,location:mn.location,action:mn.action,basename:ln.basename,isFirst:!!mn.isFirst}})}return _t({location:ut.location,action:ut.action,isFirst:!0}),ue.listen(_t)},[ue,ln.routes,ln.clientRoutes]),yn.createElement(na.F0,{navigator:ue,location:ut.location,basename:ln.basename},ln.children)}function ni(){var ln=(0,ba.Ov)(),ue=ln.clientRoutes;return(0,na.V$)(ue)}var vo=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ao=function(ue,$e){var W=ue.basename||"/",ut=co({routesById:ue.routes,routeComponents:ue.routeComponents,loadingComponent:ue.loadingComponent,reactRouter5Compat:ue.reactRouter5Compat});ue.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ut}});for(var Mt=yn.createElement(bi,{basename:W,pluginManager:ue.pluginManager,routes:ue.routes,clientRoutes:ut,history:ue.history},$e),_t=0,mn=vo;_t { return data; }; + const isMobile = () => { + return window.innerWidth <= 768; + }; + const [columnsState, setColumnsState] = useState>({ + deviceId: { show: !isMobile() }, + appName: { show: !isMobile() }, + platform: { show: !isMobile() }, + device: { show: !isMobile() }, + ip: { show: !isMobile() }, + advType: { show: !isMobile() }, + }); + const columns: ProColumns[] = [ { title: '应用名称', @@ -144,6 +156,12 @@ const AdvRecordList: React.FC = () => { }; }} columns={columns} + columnsState={{ + value: columnsState, + onChange: (newState) => { + setColumnsState(newState); + }, + }} /> ); diff --git a/src/pages/DeviceOwnerApp.tsx b/src/pages/DeviceOwnerApp.tsx index 4c0db5d..a68898b 100644 --- a/src/pages/DeviceOwnerApp.tsx +++ b/src/pages/DeviceOwnerApp.tsx @@ -1,5 +1,6 @@ import { advList, appList } from '@/services/matrix/admin'; import { + ColumnsState, PageContainer, ProColumns, ProFieldRequestData, @@ -38,6 +39,10 @@ const DeviceOwnerApp: React.FC = () => { return data; }; + const isMobile = () => { + return window.innerWidth <= 768; + }; + const fetchDevice = async (params: any) => { if (!params.appName) { return { @@ -65,6 +70,15 @@ const DeviceOwnerApp: React.FC = () => { deviceRef.current?.reload(); }; + const [columnsState, setColumnsState] = useState>({ + deviceId: { show: !isMobile() }, + appName: { show: !isMobile() }, + platform: { show: !isMobile() }, + deviceBrand: { show: !isMobile() }, + deviceName: { show: !isMobile() }, + ip: { show: !isMobile() }, + }); + const columns: ProColumns[] = [ { title: '应用名称', @@ -252,6 +266,12 @@ const DeviceOwnerApp: React.FC = () => { }} request={fetchData} columns={columns} + columnsState={{ + value: columnsState, + onChange: (newState) => { + setColumnsState(newState); + }, + }} />