diff --git a/dist/index.html b/dist/index.html index 64eb704..5aee739 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/dist/p__AdminManagement.1126dff2.async.js b/dist/p__AdminManagement.1126dff2.async.js deleted file mode 100644 index bcd8de7..0000000 --- a/dist/p__AdminManagement.1126dff2.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{3973:function(me,K,r){r.r(K);var u=r(15009),j=r.n(u),Y=r(99289),T=r.n(Y),N=r(5574),P=r.n(N),k=r(35312),C=r(8232),z=r(66309),q=r(14726),ee=r(72051),ne=r(17788),x=r(96365),y=r(34041),Z=r(71230),D=r(15746),R=r(8925),S=r(67294),H=r(48357),a=r(85893),re=function(){var ae=(0,S.useState)([]),V=P()(ae,2),M=V[0],te=V[1],le=(0,S.useState)(!1),X=P()(le,2),G=X[0],B=X[1],e=(0,S.useState)(!1),l=P()(e,2),o=l[0],n=l[1],t=(0,S.useState)(0),h=P()(t,2),m=h[0],p=h[1],b=C.Z.useForm(),I=P()(b,1),f=I[0],U=(0,S.useState)([]),O=P()(U,2),E=O[0],W=O[1],L=(0,k.useModel)("@@initialState"),v=L.initialState,_=v==null?void 0:v.currentUser,Q=function(i){var s=E.find(function($){return $.id===i});return s?s.name:""},w=function(i){f.setFieldsValue(i),B(!0),n(!0),p(i.role?i.role:0)},J=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(i){return(0,a.jsx)("div",{children:i==null?void 0:i.map(function(s){return(0,a.jsx)(z.Z,{color:"blue",children:Q(s)},s)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(i){var s="";switch(i){case 1:s="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:s="\u7BA1\u7406\u5458";break;case 3:s="\u6E38\u620F\u4E3B";break;case 4:s="\u8BBE\u5907\u4E3B";break;default:s=""}return s}},{title:"\u64CD\u4F5C",render:function(i){return[(0,a.jsx)("a",{onClick:function(){return w(i)},children:"\u7F16\u8F91"},"edit")]}}],F=function(){f.submit()},se=function(){B(!1)},g=function(){var d=T()(j()().mark(function i(){var s;return j()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,H.N0)();case 2:s=c.sent,s.data&&te(s.data);case 4:case"end":return c.stop()}},i)}));return function(){return d.apply(this,arguments)}}(),oe=function(){var d=T()(j()().mark(function i(){var s;return j()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,H.ln)();case 2:s=c.sent,s.data&&W(s.data);case 4:case"end":return c.stop()}},i)}));return function(){return d.apply(this,arguments)}}();(0,S.useEffect)(function(){g(),oe()},[]);var ie=function(){f.resetFields(),B(!0),n(!1),p(0)},ce=function(){var d=T()(j()().mark(function i(s){return j()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,(0,H.P7)(s);case 3:c.next=8;break;case 5:return c.prev=5,c.t0=c.catch(0),c.abrupt("return");case 8:B(!1),g();case 10:case"end":return c.stop()}},i,null,[[0,5]])}));return function(s){return d.apply(this,arguments)}}();return(0,a.jsxs)("div",{children:[(0,a.jsx)(q.ZP,{onClick:ie,children:"\u65B0\u5EFA\u8D26\u53F7"}),(0,a.jsx)(ee.Z,{columns:J,dataSource:M}),(0,a.jsx)(ne.Z,{title:"\u7F16\u8F91",visible:G,onOk:F,onCancel:se,children:(0,a.jsxs)(C.Z,{form:f,onFinish:ce,children:[(0,a.jsx)(C.Z.Item,{name:"id",style:{display:"none"},children:(0,a.jsx)(x.Z,{type:"hidden"})}),(0,a.jsx)(C.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,a.jsx)(x.Z,{disabled:o})}),(0,a.jsx)(C.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,a.jsx)(x.Z.Password,{disabled:o})}),(0,a.jsx)(C.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,a.jsx)(y.Z,{mode:"multiple",children:E.map(function(d){return(0,a.jsx)(y.Z.Option,{value:d.id,children:d.name},d.id)})})}),(0,a.jsx)(C.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,a.jsxs)(y.Z,{disabled:o,onSelect:p,children:[(0,a.jsx)(y.Z.Option,{disabled:(_==null?void 0:_.role)&&_.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,a.jsx)(y.Z.Option,{disabled:(_==null?void 0:_.role)&&_.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,a.jsx)(y.Z.Option,{value:4,children:"\u8BBE\u5907\u4E3B"})]})}),m>3&&(0,a.jsxs)(Z.Z,{children:[(0,a.jsx)(D.Z,{span:12,children:(0,a.jsx)(C.Z.Item,{label:"\u6536\u5165\u6BD4\u4F8B",name:"incomeRate",children:(0,a.jsx)(R.Z,{placeholder:"1-100\u6574\u6570",style:{width:"80%"}})})}),(0,a.jsx)(D.Z,{span:12,children:(0,a.jsx)(C.Z.Item,{label:"\u8BBE\u5907\u6570",name:"deviceCnt",children:(0,a.jsx)(R.Z,{style:{width:"80%"}})})})]})]})})]})};K.default=re},66309:function(me,K,r){r.d(K,{Z:function(){return B}});var u=r(67294),j=r(62208),Y=r(93967),T=r.n(Y),N=r(98787),P=r(69760),k=r(45353),C=r(53124),z=r(54548),q=r(10274),ee=r(14747),ne=r(45503),x=r(91945);const y=e=>{const{paddingXXS:l,lineWidth:o,tagPaddingHorizontal:n,componentCls:t,calc:h}=e,m=h(n).sub(o).equal(),p=h(l).sub(o).equal();return{[t]:Object.assign(Object.assign({},(0,ee.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:m,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,z.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${t}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${t}-close-icon`]:{marginInlineStart:p,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${t}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${t}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:m}}),[`${t}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Z=e=>{const{lineWidth:l,fontSizeIcon:o,calc:n}=e,t=e.fontSizeSM;return(0,ne.TS)(e,{tagFontSize:t,tagLineHeight:(0,z.bf)(n(e.lineHeightSM).mul(t).equal()),tagIconSize:n(o).sub(n(l).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},D=e=>({defaultBg:new q.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var R=(0,x.I$)("Tag",e=>{const l=Z(e);return y(l)},D),S=function(e,l){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&l.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,n=Object.getOwnPropertySymbols(e);t{const{prefixCls:o,style:n,className:t,checked:h,onChange:m,onClick:p}=e,b=S(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:I,tag:f}=u.useContext(C.E_),U=_=>{m==null||m(!h),p==null||p(_)},O=I("tag",o),[E,W,L]=R(O),v=T()(O,`${O}-checkable`,{[`${O}-checkable-checked`]:h},f==null?void 0:f.className,t,W,L);return E(u.createElement("span",Object.assign({},b,{ref:l,style:Object.assign(Object.assign({},n),f==null?void 0:f.style),className:v,onClick:U})))}),re=r(98719);const de=e=>(0,re.Z)(e,(l,o)=>{let{textColor:n,lightBorderColor:t,lightColor:h,darkColor:m}=o;return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:n,background:h,borderColor:t,"&-inverse":{color:e.colorTextLightSolid,background:m,borderColor:m},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,x.bk)(["Tag","preset"],e=>{const l=Z(e);return de(l)},D);function V(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const M=(e,l,o)=>{const n=V(o);return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:e[`color${o}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var te=(0,x.bk)(["Tag","status"],e=>{const l=Z(e);return[M(l,"success","Success"),M(l,"processing","Info"),M(l,"error","Error"),M(l,"warning","Warning")]},D),le=function(e,l){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&l.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,n=Object.getOwnPropertySymbols(e);t{const{prefixCls:o,className:n,rootClassName:t,style:h,children:m,icon:p,color:b,onClose:I,closeIcon:f,closable:U,bordered:O=!0}=e,E=le(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:W,direction:L,tag:v}=u.useContext(C.E_),[_,Q]=u.useState(!0);u.useEffect(()=>{"visible"in E&&Q(E.visible)},[E.visible]);const w=(0,N.o2)(b),J=(0,N.yT)(b),F=w||J,se=Object.assign(Object.assign({backgroundColor:b&&!F?b:void 0},v==null?void 0:v.style),h),g=W("tag",o),[oe,ie,ce]=R(g),d=T()(g,v==null?void 0:v.className,{[`${g}-${b}`]:F,[`${g}-has-color`]:b&&!F,[`${g}-hidden`]:!_,[`${g}-rtl`]:L==="rtl",[`${g}-borderless`]:!O},n,t,ie,ce),i=A=>{A.stopPropagation(),I==null||I(A),!A.defaultPrevented&&Q(!1)},[,s]=(0,P.Z)({closable:U,closeIcon:f!=null?f:v==null?void 0:v.closeIcon,customCloseIconRender:A=>A===null?u.createElement(j.Z,{className:`${g}-close-icon`,onClick:i}):u.createElement("span",{className:`${g}-close-icon`,onClick:i},A),defaultCloseIcon:null,defaultClosable:!1}),$=typeof E.onClick=="function"||m&&m.type==="a",c=p||null,fe=c?u.createElement(u.Fragment,null,c,m&&u.createElement("span",null,m)):m,ue=u.createElement("span",Object.assign({},E,{ref:l,className:d,style:se}),fe,s,w&&u.createElement(ae,{key:"preset",prefixCls:g}),J&&u.createElement(te,{key:"status",prefixCls:g}));return oe($?u.createElement(k.Z,{component:"Tag"},ue):ue)},G=u.forwardRef(X);G.CheckableTag=a;var B=G}}]); diff --git a/dist/p__AdminManagement.a1779b54.async.js b/dist/p__AdminManagement.a1779b54.async.js new file mode 100644 index 0000000..c4ecf1d --- /dev/null +++ b/dist/p__AdminManagement.a1779b54.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{3973:function(fe,H,r){r.r(H);var m=r(15009),P=r.n(m),re=r(99289),M=r.n(re),V=r(5574),y=r.n(V),te=r(35312),g=r(8232),R=r(66309),ae=r(14726),le=r(13169),w=r(72051),U=r(17788),L=r(96365),O=r(34041),W=r(71230),F=r(15746),X=r(8925),S=r(67294),K=r(48357),G=r(16250),a=r(85893),oe=function(){var T=(0,S.useState)([]),Q=y()(T,2),J=Q[0],se=Q[1],Y=(0,S.useState)(!1),k=y()(Y,2),e=k[0],s=k[1],c=(0,S.useState)(!1),t=y()(c,2),o=t[0],f=t[1],v=(0,S.useState)(0),x=y()(v,2),p=x[0],j=x[1],C=g.Z.useForm(),N=y()(C,1),b=N[0],I=(0,S.useState)([]),D=y()(I,2),B=D[0],h=D[1],z=(0,te.useModel)("@@initialState"),$=z.initialState,E=$==null?void 0:$.currentUser,A=function(l){return l?parseFloat((l/1e5).toFixed(2)):0},Z=function(l){var n=B.find(function(d){return d.id===l});return n?n.name:""},q=function(l){b.setFieldsValue(l),s(!0),f(!0),j(l.role?l.role:0)},_=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(l){return(0,a.jsx)("div",{children:l==null?void 0:l.map(function(n){return(0,a.jsx)(R.Z,{color:"blue",children:Z(n)},n)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(l){var n="";switch(l){case 1:n="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:n="\u7BA1\u7406\u5458";break;case 3:n="\u6E38\u620F\u4E3B";break;case 4:n="\u8BBE\u5907\u4E3B";break;default:n=""}return n}},{title:"\u64CD\u4F5C",render:function(l){return[(0,a.jsx)("a",{onClick:function(){return q(l)},children:"\u7F16\u8F91"},"edit")]}}],ie=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(l){return(0,a.jsx)("div",{children:l==null?void 0:l.map(function(n){return(0,a.jsx)(R.Z,{color:"blue",children:Z(n)},n)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(l){var n="";switch(l){case 1:n="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:n="\u7BA1\u7406\u5458";break;case 3:n="\u6E38\u620F\u4E3B";break;case 4:n="\u8BBE\u5907\u4E3B";break;default:n=""}return n}},{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeThisMonth",render:function(l,n){var d;return A((d=n.overview)===null||d===void 0?void 0:d.thisMonthIncome)}},{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeLastMonth",render:function(l,n){var d;return A((d=n.overview)===null||d===void 0?void 0:d.lastMonthIncome)}},{title:"\u7D2F\u8BA1\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeTotal",render:function(l,n){var d;return A((d=n.overview)===null||d===void 0?void 0:d.totalIncome)}},{title:"\u5F53\u524D\u5206\u6210\u6BD4\u4F8B",dataIndex:"incomeRate"},{title:"\u64CD\u4F5C",render:function(l){return[(0,a.jsx)("a",{onClick:function(){return q(l)},children:"\u7F16\u8F91"},"edit")]}}],ce=function(){b.submit()},de=function(){s(!1)},ee=function(){var i=M()(P()().mark(function l(){var n;return P()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,K.N0)();case 2:n=u.sent,n.data&&se(n.data);case 4:case"end":return u.stop()}},l)}));return function(){return i.apply(this,arguments)}}(),ne=function(){var i=M()(P()().mark(function l(){var n;return P()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,K.ln)();case 2:n=u.sent,n.data&&h(n.data);case 4:case"end":return u.stop()}},l)}));return function(){return i.apply(this,arguments)}}();(0,S.useEffect)(function(){ee(),ne()},[]);var ue=function(){b.resetFields(),s(!0),f(!1),j(0)},me=function(){var i=M()(P()().mark(function l(n){return P()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,(0,K.P7)(n);case 3:u.next=8;break;case 5:return u.prev=5,u.t0=u.catch(0),u.abrupt("return");case 8:s(!1),ee();case 10:case"end":return u.stop()}},l,null,[[0,5]])}));return function(n){return i.apply(this,arguments)}}();return(0,a.jsxs)("div",{children:[(0,a.jsx)(ae.ZP,{onClick:ue,children:"\u65B0\u5EFA\u8D26\u53F7"}),(0,a.jsxs)(le.Z,{centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[p<3&&(0,a.jsx)(G.Z,{tab:"\u6E38\u620F\u4E3B",children:(0,a.jsx)(w.Z,{columns:_,dataSource:J.filter(function(i){return i.role===3})})},"1"),(0,a.jsx)(G.Z,{tab:"\u8BBE\u5907\u4E3B",children:(0,a.jsx)(w.Z,{columns:ie,dataSource:J.filter(function(i){return i.role===4})})},"2")]}),(0,a.jsx)(U.Z,{title:"\u7F16\u8F91",visible:e,onOk:ce,onCancel:de,children:(0,a.jsxs)(g.Z,{form:b,onFinish:me,children:[(0,a.jsx)(g.Z.Item,{name:"id",style:{display:"none"},children:(0,a.jsx)(L.Z,{type:"hidden"})}),(0,a.jsx)(g.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,a.jsx)(L.Z,{disabled:o})}),(0,a.jsx)(g.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,a.jsx)(L.Z.Password,{disabled:o})}),(0,a.jsx)(g.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,a.jsx)(O.Z,{mode:"multiple",children:B.map(function(i){return(0,a.jsx)(O.Z.Option,{value:i.id,children:i.name},i.id)})})}),(0,a.jsx)(g.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,a.jsxs)(O.Z,{disabled:o,onSelect:j,children:[(0,a.jsx)(O.Z.Option,{disabled:(E==null?void 0:E.role)&&E.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,a.jsx)(O.Z.Option,{disabled:(E==null?void 0:E.role)&&E.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,a.jsx)(O.Z.Option,{value:4,children:"\u8BBE\u5907\u4E3B"})]})}),p>3&&(0,a.jsxs)(W.Z,{children:[(0,a.jsx)(F.Z,{span:12,children:(0,a.jsx)(g.Z.Item,{label:"\u6536\u5165\u6BD4\u4F8B",name:"incomeRate",children:(0,a.jsx)(X.Z,{placeholder:"1-100\u6574\u6570",style:{width:"80%"}})})}),(0,a.jsx)(F.Z,{span:12,children:(0,a.jsx)(g.Z.Item,{label:"\u8BBE\u5907\u6570",name:"deviceCnt",children:(0,a.jsx)(X.Z,{style:{width:"80%"}})})})]})]})})]})};H.default=oe},66309:function(fe,H,r){r.d(H,{Z:function(){return k}});var m=r(67294),P=r(62208),re=r(93967),M=r.n(re),V=r(98787),y=r(69760),te=r(45353),g=r(53124),R=r(54548),ae=r(10274),le=r(14747),w=r(45503),U=r(91945);const L=e=>{const{paddingXXS:s,lineWidth:c,tagPaddingHorizontal:t,componentCls:o,calc:f}=e,v=f(t).sub(c).equal(),x=f(s).sub(c).equal();return{[o]:Object.assign(Object.assign({},(0,le.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:v,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,R.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:x,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:v}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},O=e=>{const{lineWidth:s,fontSizeIcon:c,calc:t}=e,o=e.fontSizeSM;return(0,w.TS)(e,{tagFontSize:o,tagLineHeight:(0,R.bf)(t(e.lineHeightSM).mul(o).equal()),tagIconSize:t(c).sub(t(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},W=e=>({defaultBg:new ae.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var F=(0,U.I$)("Tag",e=>{const s=O(e);return L(s)},W),X=function(e,s){var c={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&s.indexOf(t)<0&&(c[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(e);o{const{prefixCls:c,style:t,className:o,checked:f,onChange:v,onClick:x}=e,p=X(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:j,tag:C}=m.useContext(g.E_),N=z=>{v==null||v(!f),x==null||x(z)},b=j("tag",c),[I,D,B]=F(b),h=M()(b,`${b}-checkable`,{[`${b}-checkable-checked`]:f},C==null?void 0:C.className,o,D,B);return I(m.createElement("span",Object.assign({},p,{ref:s,style:Object.assign(Object.assign({},t),C==null?void 0:C.style),className:h,onClick:N})))}),G=r(98719);const a=e=>(0,G.Z)(e,(s,c)=>{let{textColor:t,lightBorderColor:o,lightColor:f,darkColor:v}=c;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:t,background:f,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:v,borderColor:v},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var oe=(0,U.bk)(["Tag","preset"],e=>{const s=O(e);return a(s)},W);function ve(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const T=(e,s,c)=>{const t=ve(c);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${c}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Q=(0,U.bk)(["Tag","status"],e=>{const s=O(e);return[T(s,"success","Success"),T(s,"processing","Info"),T(s,"error","Error"),T(s,"warning","Warning")]},W),J=function(e,s){var c={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&s.indexOf(t)<0&&(c[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(e);o{const{prefixCls:c,className:t,rootClassName:o,style:f,children:v,icon:x,color:p,onClose:j,closeIcon:C,closable:N,bordered:b=!0}=e,I=J(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:D,direction:B,tag:h}=m.useContext(g.E_),[z,$]=m.useState(!0);m.useEffect(()=>{"visible"in I&&$(I.visible)},[I.visible]);const E=(0,V.o2)(p),A=(0,V.yT)(p),Z=E||A,q=Object.assign(Object.assign({backgroundColor:p&&!Z?p:void 0},h==null?void 0:h.style),f),_=D("tag",c),[ie,ce,de]=F(_),ee=M()(_,h==null?void 0:h.className,{[`${_}-${p}`]:Z,[`${_}-has-color`]:p&&!Z,[`${_}-hidden`]:!z,[`${_}-rtl`]:B==="rtl",[`${_}-borderless`]:!b},t,o,ce,de),ne=d=>{d.stopPropagation(),j==null||j(d),!d.defaultPrevented&&$(!1)},[,ue]=(0,y.Z)({closable:N,closeIcon:C!=null?C:h==null?void 0:h.closeIcon,customCloseIconRender:d=>d===null?m.createElement(P.Z,{className:`${_}-close-icon`,onClick:ne}):m.createElement("span",{className:`${_}-close-icon`,onClick:ne},d),defaultCloseIcon:null,defaultClosable:!1}),me=typeof I.onClick=="function"||v&&v.type==="a",i=x||null,l=i?m.createElement(m.Fragment,null,i,v&&m.createElement("span",null,v)):v,n=m.createElement("span",Object.assign({},I,{ref:s,className:ee,style:q}),l,ue,E&&m.createElement(oe,{key:"preset",prefixCls:_}),A&&m.createElement(Q,{key:"status",prefixCls:_}));return ie(me?m.createElement(te.Z,{component:"Tag"},n):n)},Y=m.forwardRef(se);Y.CheckableTag=K;var k=Y}}]); diff --git a/dist/umi.4523c287.js b/dist/umi.e8d45b1c.js similarity index 99% rename from dist/umi.4523c287.js rename to dist/umi.e8d45b1c.js index 309de01..f093e1f 100644 --- a/dist/umi.4523c287.js +++ b/dist/umi.e8d45b1c.js @@ -426,8 +426,8 @@ 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),d=e(13841),p=e(62570),h=e(65411),y=e(67697),f=e(53931);v.exports=function(b,C,S,x){var w="stackTraceLimit",T=x?2:1,B=b.split("."),P=B[B.length-1],M=t.apply(null,B);if(M){var H=M.prototype;if(!f&&r(H,"cause")&&delete H.cause,!S)return M;var ue=t("Error"),U=C(function(J,ee){var ae=d(x?ee:J,void 0),j=x?new M(J):new M;return ae!==void 0&&o(j,"message",ae),h(j,U,j.stack,2),this&&a(H,this)&&u(j,this,U),arguments.length>T&&p(j,arguments[T]),j});if(U.prototype=H,P!=="Error"?s?s(U,ue):c(U,ue,{name:!0}):y&&w in M&&(l(U,M,w),l(U,M,"prepareStackTrace")),c(U,M),!f)try{H.name!==P&&o(H,"name",P),H.constructor=U}catch(J){}return U}}},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(d){return function(h,y){return o(d,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),d=e(62570),p=e(65411),h=e(18734),y=e(13841),f=e(44201),b=f("toStringTag"),C=Error,S=[].push,x=function(B,P){var M=r(w,this),H;a?H=a(new C,M?o(this):w):(H=M?this:c(w),l(H,b,"Error")),P!==void 0&&l(H,"message",y(P)),p(H,x,H.stack,1),arguments.length>2&&d(H,arguments[2]);var ue=[];return h(B,S,{that:ue}),l(H,"errors",ue),H};a?a(x,C):s(x,C,{name:!0});var w=x.prototype=c(C.prototype,{constructor:u(1,x),message:u(1,""),name:u(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:x})},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),d=o(u),p=a(l),h=p>=0?p:d+p;return h<0||h>=d?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}},d=l||!u();t({target:"Array",proto:!0,arity:1,forced:d},{push:function(h){var y=r(this),f=o(y),b=arguments.length;s(f+b);for(var C=0;C79&&a<83,l=c||!o("reduceRight");t({target:"Array",proto:!0,forced:l},{reduceRight:function(d){return r(this,d,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(d){var p=arguments.length;return r(this,d,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,d=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(h){h!==void 0&&o(h);var y=a(this),f=s(u,y);return d(f,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,d=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(y,f){var b=c(this),C=a(b),S=s(y,C),x=arguments.length,w=0,T,B,P,M;for(x===0?T=B=0:x===1?(T=0,B=C-S):(T=x-2,B=p(d(l(f),0),C-S)),P=o(C+T-B),M=u(P);w=0?f:y+f;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,d=0;d=56320||++d>=u||(s(l,d)&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),d=e(54849),p=e(63477),h=e(27017),y=e(44201),f=e(53931),b=y("replace"),C=TypeError,S=o("".indexOf),x=o("".replace),w=o("".slice),T=Math.max,B=function(P,M,H){return H>P.length?-1:M===""?H:S(P,M,H)};t({target:"String",proto:!0},{replaceAll:function(M,H){var ue=a(this),U,J,ee,ae,j,ie,ne,q,$,z=0,N=0,E="";if(!c(M)){if(U=l(M),U&&(J=u(a(p(M))),!~S(J,"g")))throw new C("`.replaceAll` does not allow non-global regexes");if(ee=d(M,b),ee)return r(ee,M,ue,H);if(f&&U)return x(u(ue),M,H)}for(ae=u(ue),j=u(M),ie=s(H),ie||(H=u(H)),ne=j.length,q=T(1,ne),z=B(ae,j,0);z!==-1;)$=ie?u(H(j,z,ae)):h(j,ae,z,[],void 0,H),E+=w(ae,N,z)+$,N=z+ne,z=B(ae,j,z+q);return N=56320||w+1>=S||(d(C,w+1)&64512)!==56320?x[w]=y:(x[w]=u(C,w),x[++w]=u(C,w))}return p(x,"")}})},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),d=r(u),p=o(l),h=p>=0?p:d+p;return h<0||h>=d?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,d=t.Int8Array,p=d&&d.prototype,h=p&&p.set,y=o.aTypedArray,f=o.exportTypedArrayMethod,b=!l(function(){var S=new Uint8ClampedArray(2);return r(h,S,{length:1,0:3},1),S[1]!==3}),C=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var S=new d(2);return S.set(1),S.set("2",1),S[0]!==0||S[1]!==2});f("set",function(x){y(this);var w=s(arguments.length>1?arguments[1]:void 0,1),T=c(x);if(b)return r(h,this,T,w);var B=this.length,P=a(T),M=0;if(P+w>B)throw new u("Wrong length");for(;M1?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,d;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),f=s(c(h),10,2);return u(this,y,f[1]<<8|f[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(d,p){if(o(this)!=="DataView")throw new c("Incorrect receiver");var h=a(d);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),d=e(44201),p=e(618),h=e(29199),y=o("SuppressedError"),f=ReferenceError,b=d("dispose"),C=d("toStringTag"),S="DisposableStack",x=p.set,w=p.getterFor(S),T="sync-dispose",B="disposed",P="pending",M=function(U){var J=w(U);if(J.state===B)throw new f(S+" already disposed");return J},H=function(){x(s(this,ue),{type:S,state:P,stack:[]}),r||(this.disposed=!1)},ue=H.prototype;l(ue,{dispose:function(){var J=w(this);if(J.state!==B){J.state=B,r||(this.disposed=!0);for(var ee=J.stack,ae=ee.length,j=!1,ie;ae;){var ne=ee[--ae];ee[ae]=null;try{ne()}catch(q){j?ie=new y(q,ie):(j=!0,ie=q)}}if(J.stack=null,j)throw ie}},use:function(J){return h(M(this),J,T),J},adopt:function(J,ee){var ae=M(this);return a(ee),h(ae,void 0,T,function(){ee(J)}),J},defer:function(J){var ee=M(this);a(J),h(ee,void 0,T,J)},move:function(){var J=M(this),ee=new H;return w(ee).stack=J.stack,J.stack=[],J.state=B,r||(this.disposed=!0),ee}}),r&&u(ue,"disposed",{configurable:!0,get:function(){return w(this).state===B}}),c(ue,b,ue.dispose,{name:"dispose"}),c(ue,C,S,{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/,d=r(u.exec),p=function(h){try{if(!c||!d(u,a(h)))return!1}catch(f){}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),d=e(3689),p=e(36812),h=e(44201),y=e(12013).IteratorPrototype,f=e(67697),b=e(53931),C="constructor",S="Iterator",x=h("toStringTag"),w=TypeError,T=r[S],B=b||!s(T)||T.prototype!==y||!d(function(){T({})}),P=function(){if(o(this,y),c(this)===y)throw new w("Abstract class Iterator not directly constructable")},M=function(H,ue){f?l(y,H,{configurable:!0,get:function(){return ue},set:function(U){if(a(this),this===y)throw new w("You can't redefine this property");p(this,H)?this[H]=U:u(this,H,U)}}):y[H]=ue};p(y,x)||M(x,S),(B||!p(y,C)||y[C]===Object)&&M(C,P),P.prototype=y,t({global:!0,constructor:!0,forced:B},{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),d=l(function(){for(var p=this.iterator,h=this.next,y,f;this.remaining;)if(this.remaining--,y=o(r(h,p)),f=this.done=!!y.done,f)return;if(y=o(r(h,p)),f=this.done=!!y.done,!f)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(h){o(this);var y=c(s(+h));return new d(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),d=0;return!r(u,function(p,h){if(!l(p,d++))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),d=c(function(){for(var p=this.iterator,h=this.predicate,y=this.next,f,b,C;;){if(f=a(r(y,p)),b=this.done=!!f.done,b)return;if(C=f.value,l(p,h,[C,this.counter++],!0))return C}});t({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(h){return a(this),o(h),new d(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),d=0;return r(u,function(p,h){if(l(p,d++))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),d=e(53931),p=l(function(){for(var h=this.iterator,y=this.mapper,f,b;;){if(b=this.inner)try{if(f=a(r(b.next,b.iterator)),!f.done)return f.value;this.inner=null}catch(C){u(h,"throw",C)}if(f=a(r(this.next,h)),this.done=!!f.done)return;try{this.inner=c(y(f.value,this.counter++),!1)}catch(C){u(h,"throw",C)}}});t({target:"Iterator",proto:!0,real:!0,forced:d},{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),d=0;r(u,function(p){l(p,d++)},{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),d=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 d(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 d=s(this),p=arguments.length<2,h=p?void 0:arguments[1],y=0;if(r(d,function(f){p?(p=!1,h=f):h=u(h,f,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),d=0;return r(u,function(p,h){if(l(p,d++))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),d=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)),f=this.done=!!y.done;if(!f)return y.value});t({target:"Iterator",proto:!0,real:!0,forced:d},{take:function(y){o(this);var f=c(s(+y));return new p(a(this),{remaining:f})}})},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),d=e(92297),p=e(36812),h=e(34327),y=e(6310),f=e(76522),b=e(3689),C=e(46675),S=e(50146),x=o.JSON,w=o.Number,T=o.SyntaxError,B=x&&x.parse,P=a("Object","keys"),M=Object.getOwnPropertyDescriptor,H=s("".charAt),ue=s("".slice),U=s(/./.exec),J=s([].push),ee=/^\d$/,ae=/^[1-9]$/,j=/^(?:-|\d)$/,ie=/^[\t\n\r ]$/,ne=0,q=1,$=function(te,V){te=h(te);var pe=new F(te,0,""),xe=pe.parse(),Ne=xe.value,He=pe.skip(ie,xe.end);if(He1?arguments[1]:void 0);return a(l,function(d,p){if(!u(d,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(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f,b){h(f,b,p)&&l(y,b,f)}),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),d=a(l,function(p,h){if(u(p,h,l))return{key:h}},!0);return d&&d.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),d=a(l,function(p,h){if(u(p,h,l))return{value:p}},!0);return d&&d.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,d){var p=a(this)?this:c,h=new p;s(d);var y=s(h.set);return o(u,function(f){r(y,h,d(f),f)}),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(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f,b){l(y,h(f,b,p),f)}),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(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f,b){l(y,b,h(f,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,d=0;d1?arguments[1]:void 0);return a(l,function(d,p){if(u(d,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),f=arguments.length;r(h);var b=l(y,p);if(!b&&f<3)throw new s("Updating absent value");var C=b?c(y,p):r(f>2?arguments[2]:void 0)(p,y);return u(y,p,h(C,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,d){return o(r(s,c,l,u,d))}})},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,d=s>>>0;return u+(c>>>0)+((l&d|(l|d)&~(l+d>>>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,d=l&s,p=c>>16,h=l>>16,y=(p*d>>>0)+(u*d>>>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,d=s>>>0;return u-(c>>>0)-((~l&d|~(l^d)&l-d>>>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",d='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,h=c.getterFor(u),y=TypeError,f=a(function(C){p(this,{type:u,seed:C%2147483647})},l,function(){var C=h(this),S=C.seed=(C.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var S=r(C).seed;if(!o(S))throw new y(d);return new f(S)}})},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,d=l&s,p=c>>>16,h=l>>>16,y=(p*d>>>0)+(u*d>>>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,d=parseInt,p=Math.pow,h=/^[\d.a-z]+$/,y=r("".charAt),f=r(h.exec),b=r(1 .toString),C=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(w,T){var B=1;if(typeof w!="string")throw new u(a);if(!w.length)throw new l(a);if(y(w,0)==="-"&&(B=-1,w=C(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(!f(h,w))throw new l(a);var M=S(w,"."),H=d(M[0],P);if(M.length>1&&(H+=d(M[1],P)/p(P,M[1].length)),P===10&&b(H,P)!==w)throw new l(a);return B*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),d=e(981),p=e(48999),h=e(54849),y=e(11880),f=e(6045),b=e(62148),C=e(20920),S=e(44201),x=e(618),w=S("observable"),T="Observable",B="Subscription",P="SubscriptionObserver",M=x.getterFor,H=x.set,ue=M(T),U=M(B),J=M(P),ee=function(q){this.observer=c(q),this.cleanup=void 0,this.subscriptionObserver=void 0};ee.prototype={type:B,clean:function(){var q=this.cleanup;if(q){this.cleanup=void 0;try{q()}catch($){C($)}}},close:function(){if(!o){var q=this.facade,$=this.subscriptionObserver;q.closed=!0,$&&($.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ae=function(q,$){var z=H(this,new ee(q)),N;o||(this.closed=!1);try{(N=h(q,"start"))&&r(N,q,this)}catch(le){C(le)}if(!z.isClosed()){var E=z.subscriptionObserver=new j(z);try{var F=$(E),Q=F;d(F)||(z.cleanup=u(F.unsubscribe)?function(){Q.unsubscribe()}:s(F))}catch(le){E.error(le);return}z.isClosed()&&z.clean()}};ae.prototype=f({},{unsubscribe:function(){var $=U(this);$.isClosed()||($.close(),$.clean())}}),o&&b(ae.prototype,"closed",{configurable:!0,get:function(){return U(this).isClosed()}});var j=function(q){H(this,{type:P,subscriptionState:q}),o||(this.closed=!1)};j.prototype=f({},{next:function($){var z=J(this).subscriptionState;if(!z.isClosed()){var N=z.observer;try{var E=h(N,"next");E&&r(E,N,$)}catch(F){C(F)}}},error:function($){var z=J(this).subscriptionState;if(!z.isClosed()){var N=z.observer;z.close();try{var E=h(N,"error");E?r(E,N,$):C($)}catch(F){C(F)}z.clean()}},complete:function(){var $=J(this).subscriptionState;if(!$.isClosed()){var z=$.observer;$.close();try{var N=h(z,"complete");N&&r(N,z)}catch(E){C(E)}$.clean()}}}),o&&b(j.prototype,"closed",{configurable:!0,get:function(){return J(this).subscriptionState.isClosed()}});var ie=function($){l(this,ne),H(this,{type:T,subscriber:s($)})},ne=ie.prototype;f(ne,{subscribe:function($){var z=arguments.length;return new ae(u($)?{next:$,error:z>1?arguments[1]:void 0,complete:z>2?arguments[2]:void 0}:p($)?$:{},ue(this).subscriber)}}),y(ne,w,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:ie}),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),d=e(44201),p=d("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(y){var f=s(this)?this:r("Observable"),b=l(a(y),p);if(b){var C=a(o(b,y));return C.constructor===f?C:new f(function(x){return C.subscribe(x)})}var S=c(y);return new f(function(x){u(S,function(w,T){if(x.next(w),x.closed)return T()},{IS_ITERATOR:!0,INTERRUPTED:!0}),x.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),d=0;d?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(d){var p=o(d),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(d){if(!u(d,d,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(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f){h(f,f,p)&&l(y,f)}),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),d=a(l,function(p){if(u(p,p,l))return{value:p}},!0);return d&&d.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(d){var p=o(this),h=d===void 0?",":s(d),y=[];return a(p,function(f){l(y,f)}),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(d){var p=o(this),h=r(d,arguments.length>1?arguments[1]:void 0),y=new c;return s(p,function(f){l(y,h(f,f,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),d=arguments.length<2,p=d?void 0:arguments[1];if(r(l),a(u,function(h){d?(d=!1,p=h):p=l(p,h,h,u)}),d)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(d){if(u(d,d,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)),d=u.length,p=a(l),h=p>=0?p:d+p;return h<0||h>=d?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,d=l.charAt,p="String Iterator",h=c.set,y=c.getterFor(p),f=r(function(C){h(this,{type:p,string:C,index:0})},"String",function(){var C=y(this),S=C.string,x=C.index,w;return x>=S.length?o(void 0,!0):(w=d(S,x),C.index+=w.length,o({codePoint:u(w,0),position:x},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new f(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),d=e(6310),p=e(72560).f,h=e(9015),y=e(16803),f=e(8195),b=e(98985),C=e(86350),S=new y.WeakMap,x=y.get,w=y.has,T=y.set,B=Array,P=TypeError,M=Object.freeze||Object,H=Object.isFrozen,ue=Math.min,U=a("".charAt),J=a("".slice),ee=a("".split),ae=a(/./.exec),j=/([\n\u2028\u2029]|\r\n?)/g,ie=RegExp("^["+C+"]*"),ne=RegExp("[^"+C+"]"),q="Invalid tag",$="Invalid opening line",z="Invalid closing line",N=function(V){var pe=V.raw;if(t&&!H(pe))throw new P("Raw template should be frozen");if(w(S,pe))return x(S,pe);var xe=E(pe),Ne=Q(xe);return p(Ne,"raw",{value:M(xe)}),M(Ne),T(S,pe,Ne),Ne},E=function(V){var pe=l(V),xe=d(pe),Ne=B(xe),He=B(xe),Qe=0,pt,Pt,tt,ft;if(!xe)throw new P(q);for(;Qe0)throw new P($);pt[1]=""}if(he){if(pt.length===1||ae(ne,pt[pt.length-1]))throw new P(z);pt[pt.length-2]="",pt[pt.length-1]=""}for(var X=2;X1?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(d){var p=this,h=arguments.length,y=h>1?arguments[1]:void 0,f=h>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(d,y,f))}).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,d=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,h=Math.max,y=Math.min,f=!l(function(){var b=new Int8Array([1]),C=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return C[0]!==2||C[1]!==3});p("toSpliced",function(C,S){var x=u(this),w=d(x),T=r(x),B=a(C,T),P=arguments.length,M=0,H,ue,U,J,ee,ae,j;if(P===0)H=ue=0;else if(P===1)H=0,ue=T-B;else if(ue=y(h(c(S),0),T-B),H=P-2,H){J=new w(H),U=o(J);for(var ie=2;ie1?a(arguments[1]):void 0,H=d(M)==="base64"?p:h,ue=M?!!M.strict:!1,U=ue?P:C(P,w,"");if(U.length%4===0)S(U,-2)==="=="?U=S(U,0,-2):S(U,-1)==="="&&(U=S(U,0,-1));else if(ue)throw new f("Input is not correctly padded");var J=U.length%4;switch(J){case 1:throw new f("Bad input length");case 2:U+="AA";break;case 3:U+="A"}for(var ee=[],ae=0,j=U.length,ie=function($){var z=b(U,ae+$);if(!c(H,z))throw new f('Bad char in input: "'+z+'"');return H[z]<<18-6*$};ae>16&255,ne>>8&255,ne&255)}var q=ee.length;if(J===2){if(ue&&ee[q-2]!==0)throw new f(T);q-=2}else if(J===3){if(ue&&ee[q-1]!==0)throw new f(T);q--}return l(y,ee,q)}})},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,d=o(u.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){a(y);var f=y.length;if(f%2)throw new c("String should have an even number of characters");if(d(u,y))throw new c("String should only contain hex characters");for(var b=new s(f/2),C=0;C>6*P&63)};x+21&&!p(arguments[1])?b(arguments[1]):void 0,Pe=Y?Y.transfer:void 0,Ze,De;Pe!==void 0&&(Ze=new N,De=Oe(Pe,Ze));var Fe=fe(re,Ze);return De&&_e(De),Fe}})},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),d=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 f=arguments.length,b=f<2?void 0:arguments[1];if(f&&b===void 0)return u(this,y);var C=[];d(this,function(H,ue){p(C,{key:ue,value:H})}),a(f,1);for(var S=o(y),x=o(b),w=0,T=0,B=!1,P=C.length,M;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,d=!1,p;return{s:function(){s=s.call(o)},n:function(){var y=s.next();return u=y.done,y},e:function(y){d=!0,p=y},f:function(){try{!u&&s.return!=null&&s.return()}finally{if(d)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),d;if(c){var p=(0,t.Z)(this).constructor;d=Reflect.construct(u,arguments,p)}else d=u.apply(this,arguments);return(0,o.Z)(this,d)}}},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(N,E,F){N[E]=F.value},u=typeof Symbol=="function"?Symbol:{},d=u.iterator||"@@iterator",p=u.asyncIterator||"@@asyncIterator",h=u.toStringTag||"@@toStringTag";function y(N,E,F){return Object.defineProperty(N,E,{value:F,enumerable:!0,configurable:!0,writable:!0}),N[E]}try{y({},"")}catch(N){y=function(F,Q,le){return F[Q]=le}}function f(N,E,F,Q){var le=E&&E.prototype instanceof B?E:B,te=Object.create(le.prototype),V=new $(Q||[]);return l(te,"_invoke",{value:j(N,F,V)}),te}function b(N,E,F){try{return{type:"normal",arg:N.call(E,F)}}catch(Q){return{type:"throw",arg:Q}}}a.wrap=f;var C="suspendedStart",S="suspendedYield",x="executing",w="completed",T={};function B(){}function P(){}function M(){}var H={};y(H,d,function(){return this});var ue=Object.getPrototypeOf,U=ue&&ue(ue(z([])));U&&U!==s&&c.call(U,d)&&(H=U);var J=M.prototype=B.prototype=Object.create(H);function ee(N){["next","throw","return"].forEach(function(E){y(N,E,function(F){return this._invoke(E,F)})})}function ae(N,E){function F(le,te,V,pe){var xe=b(N[le],N,te);if(xe.type!=="throw"){var Ne=xe.arg,He=Ne.value;return He&&(0,t.Z)(He)=="object"&&c.call(He,"__await")?E.resolve(He.__await).then(function(Qe){F("next",Qe,V,pe)},function(Qe){F("throw",Qe,V,pe)}):E.resolve(He).then(function(Qe){Ne.value=Qe,V(Ne)},function(Qe){return F("throw",Qe,V,pe)})}pe(xe.arg)}var Q;l(this,"_invoke",{value:function(te,V){function pe(){return new E(function(xe,Ne){F(te,V,xe,Ne)})}return Q=Q?Q.then(pe,pe):pe()}})}function j(N,E,F){var Q=C;return function(le,te){if(Q===x)throw new Error("Generator is already running");if(Q===w){if(le==="throw")throw te;return{value:o,done:!0}}for(F.method=le,F.arg=te;;){var V=F.delegate;if(V){var pe=ie(V,F);if(pe){if(pe===T)continue;return pe}}if(F.method==="next")F.sent=F._sent=F.arg;else if(F.method==="throw"){if(Q===C)throw Q=w,F.arg;F.dispatchException(F.arg)}else F.method==="return"&&F.abrupt("return",F.arg);Q=x;var xe=b(N,E,F);if(xe.type==="normal"){if(Q=F.done?w:S,xe.arg===T)continue;return{value:xe.arg,done:F.done}}xe.type==="throw"&&(Q=w,F.method="throw",F.arg=xe.arg)}}}function ie(N,E){var F=E.method,Q=N.iterator[F];if(Q===o)return E.delegate=null,F==="throw"&&N.iterator.return&&(E.method="return",E.arg=o,ie(N,E),E.method==="throw")||F!=="return"&&(E.method="throw",E.arg=new TypeError("The iterator does not provide a '"+F+"' method")),T;var le=b(Q,N.iterator,E.arg);if(le.type==="throw")return E.method="throw",E.arg=le.arg,E.delegate=null,T;var te=le.arg;return te?te.done?(E[N.resultName]=te.value,E.next=N.nextLoc,E.method!=="return"&&(E.method="next",E.arg=o),E.delegate=null,T):te:(E.method="throw",E.arg=new TypeError("iterator result is not an object"),E.delegate=null,T)}function ne(N){var E={tryLoc:N[0]};1 in N&&(E.catchLoc=N[1]),2 in N&&(E.finallyLoc=N[2],E.afterLoc=N[3]),this.tryEntries.push(E)}function q(N){var E=N.completion||{};E.type="normal",delete E.arg,N.completion=E}function $(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(ne,this),this.reset(!0)}function z(N){if(N||N===""){var E=N[d];if(E)return E.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var F=-1,Q=function le(){for(;++F=0;--le){var te=this.tryEntries[le],V=te.completion;if(te.tryLoc==="root")return Q("end");if(te.tryLoc<=this.prev){var pe=c.call(te,"catchLoc"),xe=c.call(te,"finallyLoc");if(pe&&xe){if(this.prev=0;--Q){var le=this.tryEntries[Q];if(le.tryLoc<=this.prev&&c.call(le,"finallyLoc")&&this.prev=0;--F){var Q=this.tryEntries[F];if(Q.finallyLoc===E)return this.complete(Q.completion,Q.afterLoc),q(Q),T}},catch:function(E){for(var F=this.tryEntries.length-1;F>=0;--F){var Q=this.tryEntries[F];if(Q.tryLoc===E){var le=Q.completion;if(le.type==="throw"){var te=le.arg;q(Q)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(E,F,Q){return this.delegate={iterator:z(E),resultName:F,nextLoc:Q},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 d,p,h,y,f=[],b=!0,C=!1;try{if(h=(u=u.call(c)).next,l===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(d=h.call(u)).done)&&(f.push(d.value),f.length!==l);b=!0);}catch(S){C=!0,p=S}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(C)throw p}}return f}}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 Ze},ZP:function(){return De},kY:function(){return R}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Fe=>Fe===a,l=Fe=>typeof Fe=="function",u=(Fe,me)=>Ul(Ul({},Fe),me),d=Fe=>l(Fe.then),p=new WeakMap;let h=0;const y=Fe=>{const me=typeof Fe,Se=Fe&&Fe.constructor,Ae=Se==Date;let Ue,rt;if(s(Fe)===Fe&&!Ae&&Se!=RegExp){if(Ue=p.get(Fe),Ue)return Ue;if(Ue=++h+"~",p.set(Fe,Ue),Se==Array){for(Ue="@",rt=0;rtx&&typeof window.requestAnimationFrame!=S,B=(Fe,me)=>{const Se=f.get(Fe);return[()=>!c(me)&&Fe.get(me)||b,Ae=>{if(!c(me)){const Ue=Fe.get(me);me in C||(C[me]=Ue),Se[5](me,u(Ue,Ae),Ue||b)}},Se[6],()=>!c(me)&&me in C?C[me]:!c(me)&&Fe.get(me)||b]};let P=!0;const M=()=>P,[H,ue]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],U=()=>{const Fe=w&&document.visibilityState;return c(Fe)||Fe!=="hidden"},J=Fe=>(w&&document.addEventListener("visibilitychange",Fe),H("focus",Fe),()=>{w&&document.removeEventListener("visibilitychange",Fe),ue("focus",Fe)}),ee=Fe=>{const me=()=>{P=!0,Fe()},Se=()=>{P=!1};return H("online",me),H("offline",Se),()=>{ue("online",me),ue("offline",Se)}},ae={isOnline:M,isVisible:U},j={initFocus:J,initReconnect:ee},ie=!t.useId,ne=!x||"Deno"in window,q=Fe=>T()?window.requestAnimationFrame(Fe):setTimeout(Fe,1),$=ne?t.useEffect:t.useLayoutEffect,z=typeof navigator!="undefined"&&navigator.connection,N=!ne&&z&&(["slow-2g","2g"].includes(z.effectiveType)||z.saveData),E=Fe=>{if(l(Fe))try{Fe=Fe()}catch(Se){Fe=""}const me=Fe;return Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?y(Fe):"",[Fe,me]};let F=0;const Q=()=>++F,le=0,te=1,V=2;var xe={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:le,MUTATE_EVENT:V,RECONNECT_EVENT:te};function Ne(...Fe){return Lu(this,null,function*(){const[me,Se,Ae,Ue]=Fe,rt=u({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ke=rt.populateCache;const Xe=rt.rollbackOnError;let Ce=rt.optimisticData;const je=st=>typeof Xe=="function"?Xe(st):Xe!==!1,ve=rt.throwOnError;if(l(Se)){const st=Se,vt=[],Te=me.keys();for(const Ge of Te)!/^\$(inf|sub)\$/.test(Ge)&&st(me.get(Ge)._k)&&vt.push(Ge);return Promise.all(vt.map(Ke))}return Ke(Se);function Ke(st){return Lu(this,null,function*(){const[vt]=E(st);if(!vt)return;const[Te,Ge]=B(me,vt),[nt,et,St,Rt]=f.get(me),Bt=()=>{const gn=nt[vt];return(l(rt.revalidate)?rt.revalidate(Te().data,st):rt.revalidate!==!1)&&(delete St[vt],delete Rt[vt],gn&&gn[0])?gn[0](V).then(()=>Te().data):Te().data};if(Fe.length<3)return Bt();let $t=Ae,wt;const Et=Q();et[vt]=[Et,0];const Ct=!c(Ce),Ft=Te(),xn=Ft.data,hn=Ft._c,On=c(hn)?xn:hn;if(Ct&&(Ce=l(Ce)?Ce(On,xn):Ce,Ge({data:Ce,_c:On})),l($t))try{$t=$t(On)}catch(gn){wt=gn}if($t&&d($t))if($t=yield $t.catch(gn=>{wt=gn}),Et!==et[vt][0]){if(wt)throw wt;return $t}else wt&&Ct&&je(wt)&&(ke=!0,Ge({data:On,_c:a}));if(ke&&!wt)if(l(ke)){const gn=ke($t,On);Ge({data:gn,error:a,_c:a})}else Ge({data:$t,error:a,_c:a});if(et[vt][1]=Q(),Promise.resolve(Bt()).then(()=>{Ge({_c:a})}),wt){if(ve)throw wt;return}return $t})}})}const He=(Fe,me)=>{for(const Se in Fe)Fe[Se][0]&&Fe[Se][0](me)},Qe=(Fe,me)=>{if(!f.has(Fe)){const Se=u(j,me),Ae={},Ue=Ne.bind(a,Fe);let rt=o;const ke={},Xe=(ve,Ke)=>{const st=ke[ve]||[];return ke[ve]=st,st.push(Ke),()=>st.splice(st.indexOf(Ke),1)},Ce=(ve,Ke,st)=>{Fe.set(ve,Ke);const vt=ke[ve];if(vt)for(const Te of vt)Te(Ke,st)},je=()=>{if(!f.has(Fe)&&(f.set(Fe,[Ae,{},{},{},Ue,Ce,Xe]),!ne)){const ve=Se.initFocus(setTimeout.bind(a,He.bind(a,Ae,le))),Ke=Se.initReconnect(setTimeout.bind(a,He.bind(a,Ae,te)));rt=()=>{ve&&ve(),Ke&&Ke(),f.delete(Fe)}}};return je(),[Fe,Ue,je,rt]}return[Fe,f.get(Fe)[4]]},pt=(Fe,me,Se,Ae,Ue)=>{const rt=Se.errorRetryCount,ke=Ue.retryCount,Xe=~~((Math.random()+.5)*(1<<(ke<8?ke:8)))*Se.errorRetryInterval;!c(rt)&&ke>rt||setTimeout(Ae,Xe,Ue)},Pt=(Fe,me)=>y(Fe)==y(me),[tt,ft]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:N?5e3:3e3,compare:Pt,isPaused:()=>!1,cache:tt,mutate:ft,fallback:{}},ae),he=(Fe,me)=>{const Se=u(Fe,me);if(me){const{use:Ae,fallback:Ue}=Fe,{use:rt,fallback:ke}=me;Ae&&rt&&(Se.use=Ae.concat(rt)),Ue&&ke&&(Se.fallback=u(Ue,ke))}return Se},X=(0,t.createContext)({}),I=Fe=>{const{value:me}=Fe,Se=(0,t.useContext)(X),Ae=l(me),Ue=(0,t.useMemo)(()=>Ae?me(Se):me,[Ae,Se,me]),rt=(0,t.useMemo)(()=>Ae?Ue:he(Se,Ue),[Ae,Se,Ue]),ke=Ue&&Ue.provider,Xe=(0,t.useRef)(a);ke&&!Xe.current&&(Xe.current=Qe(ke(rt.cache||tt),Ue));const Ce=Xe.current;return Ce&&(rt.cache=Ce[0],rt.mutate=Ce[1]),$(()=>{if(Ce)return Ce[2]&&Ce[2](),Ce[3]},[]),(0,t.createElement)(X.Provider,u(Fe,{value:rt}))},L="$inf$",de=x&&window.__SWR_DEVTOOLS_USE__,K=de?window.__SWR_DEVTOOLS_USE__:[],D=()=>{de&&(window.__SWR_DEVTOOLS_REACT__=t)},A=Fe=>l(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}],R=()=>u(lt,(0,t.useContext)(X)),Z=(Fe,me)=>{const[Se,Ae]=E(Fe),[,,,Ue]=f.get(tt);if(Ue[Se])return Ue[Se];const rt=me(Ae);return Ue[Se]=rt,rt},G=Fe=>(me,Se,Ae)=>Fe(me,Se&&((...rt)=>{const[ke]=E(me),[,,,Xe]=f.get(tt);if(ke.startsWith(L))return Se(...rt);const Ce=Xe[ke];return c(Ce)?Se(...rt):(delete Xe[ke],Ce)}),Ae),se=K.concat(G),fe=Fe=>function(...Se){const Ae=R(),[Ue,rt,ke]=A(Se),Xe=he(Ae,ke);let Ce=Fe;const{use:je}=Xe,ve=(je||[]).concat(se);for(let Ke=ve.length;Ke--;)Ce=ve[Ke](Ce);return Ce(Ue,rt||Xe.fetcher||null,Xe)},Oe=(Fe,me,Se)=>{const Ae=me[Fe]||(me[Fe]=[]);return Ae.push(Se),()=>{const Ue=Ae.indexOf(Se);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},_e=(Fe,me)=>(...Se)=>{const[Ae,Ue,rt]=A(Se),ke=(rt.use||[]).concat(me);return Fe(Ae,Ue,Qc(Ul({},rt),{use:ke}))};D();const _=Fe=>serialize(Fe)[0],re=t.use||(Fe=>{if(Fe.status==="pending")throw Fe;if(Fe.status==="fulfilled")return Fe.value;throw Fe.status==="rejected"?Fe.reason:(Fe.status="pending",Fe.then(me=>{Fe.status="fulfilled",Fe.value=me},me=>{Fe.status="rejected",Fe.reason=me}),Fe)}),Y={dedupe:!0},Pe=(Fe,me,Se)=>{const{cache:Ae,compare:Ue,suspense:rt,fallbackData:ke,revalidateOnMount:Xe,revalidateIfStale:Ce,refreshInterval:je,refreshWhenHidden:ve,refreshWhenOffline:Ke,keepPreviousData:st}=Se,[vt,Te,Ge,nt]=f.get(Ae),[et,St]=E(Fe),Rt=(0,t.useRef)(!1),Bt=(0,t.useRef)(!1),$t=(0,t.useRef)(et),wt=(0,t.useRef)(me),Et=(0,t.useRef)(Se),Ct=()=>Et.current,Ft=()=>Ct().isVisible()&&Ct().isOnline(),[xn,hn,On,gn]=B(Ae,et),ot=(0,t.useRef)({}).current,Be=c(ke)?Se.fallback[et]:ke,xt=(bt,ze)=>{for(const Ot in ot){const zt=Ot;if(zt==="data"){if(!Ue(bt[zt],ze[zt])&&(!c(bt[zt])||!Ue(Mn,ze[zt])))return!1}else if(ze[zt]!==bt[zt])return!1}return!0},It=(0,t.useMemo)(()=>{const bt=(()=>!et||!me?!1:c(Xe)?Ct().isPaused()||rt?!1:c(Ce)?!0:Ce:Xe)(),ze=mn=>{const Pn=u(mn);return delete Pn._k,bt?Ul({isValidating:!0,isLoading:!0},Pn):Pn},Ot=xn(),zt=gn(),jt=ze(Ot),tn=Ot===zt?jt:ze(zt);let un=jt;return[()=>{const mn=ze(xn());return xt(mn,un)?(un.data=mn.data,un.isLoading=mn.isLoading,un.isValidating=mn.isValidating,un.error=mn.error,un):(un=mn,mn)},()=>tn]},[Ae,et]),Lt=(0,r.useSyncExternalStore)((0,t.useCallback)(bt=>On(et,(ze,Ot)=>{xt(Ot,ze)||bt()}),[Ae,et]),It[0],It[1]),Yt=!Rt.current,qt=vt[et]&&vt[et].length>0,yn=Lt.data,In=c(yn)?Be:yn,Nn=Lt.error,Xn=(0,t.useRef)(In),Mn=st?c(yn)?Xn.current:yn:In,Un=(()=>qt&&!c(Nn)?!1:Yt&&!c(Xe)?Xe:Ct().isPaused()?!1:rt?c(In)?!1:Ce:c(In)||Ce)(),en=!!(et&&me&&Yt&&Un),_n=c(Lt.isValidating)?en:Lt.isValidating,Qt=c(Lt.isLoading)?en:Lt.isLoading,an=(0,t.useCallback)(bt=>Lu(this,null,function*(){const ze=wt.current;if(!et||!ze||Bt.current||Ct().isPaused())return!1;let Ot,zt,jt=!0;const tn=bt||{},un=!Ge[et]||!tn.dedupe,mn=()=>ie?!Bt.current&&et===$t.current&&Rt.current:et===$t.current,Pn={isValidating:!1,isLoading:!1},Gn=()=>{hn(Pn)},wn=()=>{const Rn=Ge[et];Rn&&Rn[1]===zt&&delete Ge[et]},zn={isValidating:!0};c(xn().data)&&(zn.isLoading=!0);try{if(un&&(hn(zn),Se.loadingTimeout&&c(xn().data)&&setTimeout(()=>{jt&&mn()&&Ct().onLoadingSlow(et,Se)},Se.loadingTimeout),Ge[et]=[ze(St),Q()]),[Ot,zt]=Ge[et],Ot=yield Ot,un&&setTimeout(wn,Se.dedupingInterval),!Ge[et]||Ge[et][1]!==zt)return un&&mn()&&Ct().onDiscarded(et),!1;Pn.error=a;const Rn=Te[et];if(!c(Rn)&&(zt<=Rn[0]||zt<=Rn[1]||Rn[1]===0))return Gn(),un&&mn()&&Ct().onDiscarded(et),!1;const jn=xn().data;Pn.data=Ue(jn,Ot)?jn:Ot,un&&mn()&&Ct().onSuccess(Ot,et,Se)}catch(Rn){wn();const jn=Ct(),{shouldRetryOnError:Er}=jn;jn.isPaused()||(Pn.error=Rn,un&&mn()&&(jn.onError(Rn,et,jn),(Er===!0||l(Er)&&Er(Rn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Ft())&&jn.onErrorRetry(Rn,et,jn,Me=>{const Ie=vt[et];Ie&&Ie[0]&&Ie[0](xe.ERROR_REVALIDATE_EVENT,Me)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return jt=!1,Gn(),!0}),[et,Ae]),mt=(0,t.useCallback)((...bt)=>Ne(Ae,$t.current,...bt),[]);if($(()=>{wt.current=me,Et.current=Se,c(yn)||(Xn.current=yn)}),$(()=>{if(!et)return;const bt=an.bind(a,Y);let ze=0;const zt=Oe(et,vt,(jt,tn={})=>{if(jt==xe.FOCUS_EVENT){const un=Date.now();Ct().revalidateOnFocus&&un>ze&&Ft()&&(ze=un+Ct().focusThrottleInterval,bt())}else if(jt==xe.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Ft()&&bt();else{if(jt==xe.MUTATE_EVENT)return an();if(jt==xe.ERROR_REVALIDATE_EVENT)return an(tn)}});return Bt.current=!1,$t.current=et,Rt.current=!0,hn({_k:St}),Un&&(c(In)||ne?bt():q(bt)),()=>{Bt.current=!0,zt()}},[et]),$(()=>{let bt;function ze(){const zt=l(je)?je(xn().data):je;zt&&bt!==-1&&(bt=setTimeout(Ot,zt))}function Ot(){!xn().error&&(ve||Ct().isVisible())&&(Ke||Ct().isOnline())?an(Y).then(ze):ze()}return ze(),()=>{bt&&(clearTimeout(bt),bt=-1)}},[je,ve,Ke,et]),(0,t.useDebugValue)(Mn),rt&&c(In)&&et){if(!ie&&ne)throw new Error("Fallback data is required when using suspense in SSR.");wt.current=me,Et.current=Se,Bt.current=!1;const bt=nt[et];if(!c(bt)){const ze=mt(bt);re(ze)}if(c(Nn)){const ze=an(Y);c(Mn)||(ze.status="fulfilled",ze.value=!0),re(ze)}else throw Nn}return{mutate:mt,get data(){return ot.data=!0,Mn},get error(){return ot.error=!0,Nn},get isValidating(){return ot.isValidating=!0,_n},get isLoading(){return ot.isLoading=!0,Qt}}},Ze=s.defineProperty(I,"defaultValue",{value:lt}),De=fe(Pe)}},Ko={};function we(v){var m=Ko[v];if(m!==void 0)return m.exports;var e=Ko[v]={id:v,loaded:!1,exports:{}};return fi[v].call(e.exports,e,e.exports,we),e.loaded=!0,e.exports}we.m=fi,function(){we.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return we.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;we.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);we.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},we.d(r,o),r}}(),function(){we.d=function(v,m){for(var e in m)we.o(m,e)&&!we.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){we.f={},we.e=function(v){return Promise.all(Object.keys(we.f).reduce(function(m,e){return we.f[e](v,m),m},[]))}}(),function(){we.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",557:"p__Bind",571:"p__404",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"4953f9d3",51:"d90b1fa5",134:"957d5baa",169:"c5babfbf",185:"61596037",269:"4542f5a4",270:"f1c2a3da",287:"93586c34",301:"afe80231",366:"da479be3",371:"6709cb8d",390:"41467286",393:"2a09f5b6",397:"0ef2ea1f",455:"ffff8e8d",557:"b6ee068f",559:"683b9a7b",571:"0c100574",601:"e46b1579",635:"09454aea",676:"a53a9987",706:"1c4598f2",816:"1126dff2",857:"2fce5070",905:"745134cb",930:"05171fe3"}[v]+".async.js"}}(),function(){we.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){we.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){we.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";we.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 Ze},ZP:function(){return De},kY:function(){return R}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=Fe=>Fe===a,l=Fe=>typeof Fe=="function",u=(Fe,me)=>Ul(Ul({},Fe),me),d=Fe=>l(Fe.then),p=new WeakMap;let h=0;const y=Fe=>{const me=typeof Fe,Se=Fe&&Fe.constructor,Ae=Se==Date;let Ue,rt;if(s(Fe)===Fe&&!Ae&&Se!=RegExp){if(Ue=p.get(Fe),Ue)return Ue;if(Ue=++h+"~",p.set(Fe,Ue),Se==Array){for(Ue="@",rt=0;rtx&&typeof window.requestAnimationFrame!=S,B=(Fe,me)=>{const Se=f.get(Fe);return[()=>!c(me)&&Fe.get(me)||b,Ae=>{if(!c(me)){const Ue=Fe.get(me);me in C||(C[me]=Ue),Se[5](me,u(Ue,Ae),Ue||b)}},Se[6],()=>!c(me)&&me in C?C[me]:!c(me)&&Fe.get(me)||b]};let P=!0;const M=()=>P,[H,ue]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],U=()=>{const Fe=w&&document.visibilityState;return c(Fe)||Fe!=="hidden"},J=Fe=>(w&&document.addEventListener("visibilitychange",Fe),H("focus",Fe),()=>{w&&document.removeEventListener("visibilitychange",Fe),ue("focus",Fe)}),ee=Fe=>{const me=()=>{P=!0,Fe()},Se=()=>{P=!1};return H("online",me),H("offline",Se),()=>{ue("online",me),ue("offline",Se)}},ae={isOnline:M,isVisible:U},j={initFocus:J,initReconnect:ee},ie=!t.useId,ne=!x||"Deno"in window,q=Fe=>T()?window.requestAnimationFrame(Fe):setTimeout(Fe,1),$=ne?t.useEffect:t.useLayoutEffect,z=typeof navigator!="undefined"&&navigator.connection,N=!ne&&z&&(["slow-2g","2g"].includes(z.effectiveType)||z.saveData),E=Fe=>{if(l(Fe))try{Fe=Fe()}catch(Se){Fe=""}const me=Fe;return Fe=typeof Fe=="string"?Fe:(Array.isArray(Fe)?Fe.length:Fe)?y(Fe):"",[Fe,me]};let F=0;const Q=()=>++F,le=0,te=1,V=2;var xe={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:le,MUTATE_EVENT:V,RECONNECT_EVENT:te};function Ne(...Fe){return Lu(this,null,function*(){const[me,Se,Ae,Ue]=Fe,rt=u({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ke=rt.populateCache;const Xe=rt.rollbackOnError;let Ce=rt.optimisticData;const je=st=>typeof Xe=="function"?Xe(st):Xe!==!1,ve=rt.throwOnError;if(l(Se)){const st=Se,vt=[],Te=me.keys();for(const Ge of Te)!/^\$(inf|sub)\$/.test(Ge)&&st(me.get(Ge)._k)&&vt.push(Ge);return Promise.all(vt.map(Ke))}return Ke(Se);function Ke(st){return Lu(this,null,function*(){const[vt]=E(st);if(!vt)return;const[Te,Ge]=B(me,vt),[nt,et,St,Rt]=f.get(me),Bt=()=>{const gn=nt[vt];return(l(rt.revalidate)?rt.revalidate(Te().data,st):rt.revalidate!==!1)&&(delete St[vt],delete Rt[vt],gn&&gn[0])?gn[0](V).then(()=>Te().data):Te().data};if(Fe.length<3)return Bt();let $t=Ae,wt;const Et=Q();et[vt]=[Et,0];const Ct=!c(Ce),Ft=Te(),xn=Ft.data,hn=Ft._c,On=c(hn)?xn:hn;if(Ct&&(Ce=l(Ce)?Ce(On,xn):Ce,Ge({data:Ce,_c:On})),l($t))try{$t=$t(On)}catch(gn){wt=gn}if($t&&d($t))if($t=yield $t.catch(gn=>{wt=gn}),Et!==et[vt][0]){if(wt)throw wt;return $t}else wt&&Ct&&je(wt)&&(ke=!0,Ge({data:On,_c:a}));if(ke&&!wt)if(l(ke)){const gn=ke($t,On);Ge({data:gn,error:a,_c:a})}else Ge({data:$t,error:a,_c:a});if(et[vt][1]=Q(),Promise.resolve(Bt()).then(()=>{Ge({_c:a})}),wt){if(ve)throw wt;return}return $t})}})}const He=(Fe,me)=>{for(const Se in Fe)Fe[Se][0]&&Fe[Se][0](me)},Qe=(Fe,me)=>{if(!f.has(Fe)){const Se=u(j,me),Ae={},Ue=Ne.bind(a,Fe);let rt=o;const ke={},Xe=(ve,Ke)=>{const st=ke[ve]||[];return ke[ve]=st,st.push(Ke),()=>st.splice(st.indexOf(Ke),1)},Ce=(ve,Ke,st)=>{Fe.set(ve,Ke);const vt=ke[ve];if(vt)for(const Te of vt)Te(Ke,st)},je=()=>{if(!f.has(Fe)&&(f.set(Fe,[Ae,{},{},{},Ue,Ce,Xe]),!ne)){const ve=Se.initFocus(setTimeout.bind(a,He.bind(a,Ae,le))),Ke=Se.initReconnect(setTimeout.bind(a,He.bind(a,Ae,te)));rt=()=>{ve&&ve(),Ke&&Ke(),f.delete(Fe)}}};return je(),[Fe,Ue,je,rt]}return[Fe,f.get(Fe)[4]]},pt=(Fe,me,Se,Ae,Ue)=>{const rt=Se.errorRetryCount,ke=Ue.retryCount,Xe=~~((Math.random()+.5)*(1<<(ke<8?ke:8)))*Se.errorRetryInterval;!c(rt)&&ke>rt||setTimeout(Ae,Xe,Ue)},Pt=(Fe,me)=>y(Fe)==y(me),[tt,ft]=Qe(new Map),lt=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:pt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:N?5e3:3e3,compare:Pt,isPaused:()=>!1,cache:tt,mutate:ft,fallback:{}},ae),he=(Fe,me)=>{const Se=u(Fe,me);if(me){const{use:Ae,fallback:Ue}=Fe,{use:rt,fallback:ke}=me;Ae&&rt&&(Se.use=Ae.concat(rt)),Ue&&ke&&(Se.fallback=u(Ue,ke))}return Se},X=(0,t.createContext)({}),I=Fe=>{const{value:me}=Fe,Se=(0,t.useContext)(X),Ae=l(me),Ue=(0,t.useMemo)(()=>Ae?me(Se):me,[Ae,Se,me]),rt=(0,t.useMemo)(()=>Ae?Ue:he(Se,Ue),[Ae,Se,Ue]),ke=Ue&&Ue.provider,Xe=(0,t.useRef)(a);ke&&!Xe.current&&(Xe.current=Qe(ke(rt.cache||tt),Ue));const Ce=Xe.current;return Ce&&(rt.cache=Ce[0],rt.mutate=Ce[1]),$(()=>{if(Ce)return Ce[2]&&Ce[2](),Ce[3]},[]),(0,t.createElement)(X.Provider,u(Fe,{value:rt}))},L="$inf$",de=x&&window.__SWR_DEVTOOLS_USE__,K=de?window.__SWR_DEVTOOLS_USE__:[],D=()=>{de&&(window.__SWR_DEVTOOLS_REACT__=t)},A=Fe=>l(Fe[1])?[Fe[0],Fe[1],Fe[2]||{}]:[Fe[0],null,(Fe[1]===null?Fe[2]:Fe[1])||{}],R=()=>u(lt,(0,t.useContext)(X)),Z=(Fe,me)=>{const[Se,Ae]=E(Fe),[,,,Ue]=f.get(tt);if(Ue[Se])return Ue[Se];const rt=me(Ae);return Ue[Se]=rt,rt},G=Fe=>(me,Se,Ae)=>Fe(me,Se&&((...rt)=>{const[ke]=E(me),[,,,Xe]=f.get(tt);if(ke.startsWith(L))return Se(...rt);const Ce=Xe[ke];return c(Ce)?Se(...rt):(delete Xe[ke],Ce)}),Ae),se=K.concat(G),fe=Fe=>function(...Se){const Ae=R(),[Ue,rt,ke]=A(Se),Xe=he(Ae,ke);let Ce=Fe;const{use:je}=Xe,ve=(je||[]).concat(se);for(let Ke=ve.length;Ke--;)Ce=ve[Ke](Ce);return Ce(Ue,rt||Xe.fetcher||null,Xe)},Oe=(Fe,me,Se)=>{const Ae=me[Fe]||(me[Fe]=[]);return Ae.push(Se),()=>{const Ue=Ae.indexOf(Se);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},_e=(Fe,me)=>(...Se)=>{const[Ae,Ue,rt]=A(Se),ke=(rt.use||[]).concat(me);return Fe(Ae,Ue,Qc(Ul({},rt),{use:ke}))};D();const _=Fe=>serialize(Fe)[0],re=t.use||(Fe=>{if(Fe.status==="pending")throw Fe;if(Fe.status==="fulfilled")return Fe.value;throw Fe.status==="rejected"?Fe.reason:(Fe.status="pending",Fe.then(me=>{Fe.status="fulfilled",Fe.value=me},me=>{Fe.status="rejected",Fe.reason=me}),Fe)}),Y={dedupe:!0},Pe=(Fe,me,Se)=>{const{cache:Ae,compare:Ue,suspense:rt,fallbackData:ke,revalidateOnMount:Xe,revalidateIfStale:Ce,refreshInterval:je,refreshWhenHidden:ve,refreshWhenOffline:Ke,keepPreviousData:st}=Se,[vt,Te,Ge,nt]=f.get(Ae),[et,St]=E(Fe),Rt=(0,t.useRef)(!1),Bt=(0,t.useRef)(!1),$t=(0,t.useRef)(et),wt=(0,t.useRef)(me),Et=(0,t.useRef)(Se),Ct=()=>Et.current,Ft=()=>Ct().isVisible()&&Ct().isOnline(),[xn,hn,On,gn]=B(Ae,et),ot=(0,t.useRef)({}).current,Be=c(ke)?Se.fallback[et]:ke,xt=(bt,ze)=>{for(const Ot in ot){const zt=Ot;if(zt==="data"){if(!Ue(bt[zt],ze[zt])&&(!c(bt[zt])||!Ue(Mn,ze[zt])))return!1}else if(ze[zt]!==bt[zt])return!1}return!0},It=(0,t.useMemo)(()=>{const bt=(()=>!et||!me?!1:c(Xe)?Ct().isPaused()||rt?!1:c(Ce)?!0:Ce:Xe)(),ze=mn=>{const Pn=u(mn);return delete Pn._k,bt?Ul({isValidating:!0,isLoading:!0},Pn):Pn},Ot=xn(),zt=gn(),jt=ze(Ot),tn=Ot===zt?jt:ze(zt);let un=jt;return[()=>{const mn=ze(xn());return xt(mn,un)?(un.data=mn.data,un.isLoading=mn.isLoading,un.isValidating=mn.isValidating,un.error=mn.error,un):(un=mn,mn)},()=>tn]},[Ae,et]),Lt=(0,r.useSyncExternalStore)((0,t.useCallback)(bt=>On(et,(ze,Ot)=>{xt(Ot,ze)||bt()}),[Ae,et]),It[0],It[1]),Yt=!Rt.current,qt=vt[et]&&vt[et].length>0,yn=Lt.data,In=c(yn)?Be:yn,Nn=Lt.error,Xn=(0,t.useRef)(In),Mn=st?c(yn)?Xn.current:yn:In,Un=(()=>qt&&!c(Nn)?!1:Yt&&!c(Xe)?Xe:Ct().isPaused()?!1:rt?c(In)?!1:Ce:c(In)||Ce)(),en=!!(et&&me&&Yt&&Un),_n=c(Lt.isValidating)?en:Lt.isValidating,Qt=c(Lt.isLoading)?en:Lt.isLoading,an=(0,t.useCallback)(bt=>Lu(this,null,function*(){const ze=wt.current;if(!et||!ze||Bt.current||Ct().isPaused())return!1;let Ot,zt,jt=!0;const tn=bt||{},un=!Ge[et]||!tn.dedupe,mn=()=>ie?!Bt.current&&et===$t.current&&Rt.current:et===$t.current,Pn={isValidating:!1,isLoading:!1},Gn=()=>{hn(Pn)},wn=()=>{const Rn=Ge[et];Rn&&Rn[1]===zt&&delete Ge[et]},zn={isValidating:!0};c(xn().data)&&(zn.isLoading=!0);try{if(un&&(hn(zn),Se.loadingTimeout&&c(xn().data)&&setTimeout(()=>{jt&&mn()&&Ct().onLoadingSlow(et,Se)},Se.loadingTimeout),Ge[et]=[ze(St),Q()]),[Ot,zt]=Ge[et],Ot=yield Ot,un&&setTimeout(wn,Se.dedupingInterval),!Ge[et]||Ge[et][1]!==zt)return un&&mn()&&Ct().onDiscarded(et),!1;Pn.error=a;const Rn=Te[et];if(!c(Rn)&&(zt<=Rn[0]||zt<=Rn[1]||Rn[1]===0))return Gn(),un&&mn()&&Ct().onDiscarded(et),!1;const jn=xn().data;Pn.data=Ue(jn,Ot)?jn:Ot,un&&mn()&&Ct().onSuccess(Ot,et,Se)}catch(Rn){wn();const jn=Ct(),{shouldRetryOnError:Er}=jn;jn.isPaused()||(Pn.error=Rn,un&&mn()&&(jn.onError(Rn,et,jn),(Er===!0||l(Er)&&Er(Rn))&&(!Ct().revalidateOnFocus||!Ct().revalidateOnReconnect||Ft())&&jn.onErrorRetry(Rn,et,jn,Me=>{const Ie=vt[et];Ie&&Ie[0]&&Ie[0](xe.ERROR_REVALIDATE_EVENT,Me)},{retryCount:(tn.retryCount||0)+1,dedupe:!0})))}return jt=!1,Gn(),!0}),[et,Ae]),mt=(0,t.useCallback)((...bt)=>Ne(Ae,$t.current,...bt),[]);if($(()=>{wt.current=me,Et.current=Se,c(yn)||(Xn.current=yn)}),$(()=>{if(!et)return;const bt=an.bind(a,Y);let ze=0;const zt=Oe(et,vt,(jt,tn={})=>{if(jt==xe.FOCUS_EVENT){const un=Date.now();Ct().revalidateOnFocus&&un>ze&&Ft()&&(ze=un+Ct().focusThrottleInterval,bt())}else if(jt==xe.RECONNECT_EVENT)Ct().revalidateOnReconnect&&Ft()&&bt();else{if(jt==xe.MUTATE_EVENT)return an();if(jt==xe.ERROR_REVALIDATE_EVENT)return an(tn)}});return Bt.current=!1,$t.current=et,Rt.current=!0,hn({_k:St}),Un&&(c(In)||ne?bt():q(bt)),()=>{Bt.current=!0,zt()}},[et]),$(()=>{let bt;function ze(){const zt=l(je)?je(xn().data):je;zt&&bt!==-1&&(bt=setTimeout(Ot,zt))}function Ot(){!xn().error&&(ve||Ct().isVisible())&&(Ke||Ct().isOnline())?an(Y).then(ze):ze()}return ze(),()=>{bt&&(clearTimeout(bt),bt=-1)}},[je,ve,Ke,et]),(0,t.useDebugValue)(Mn),rt&&c(In)&&et){if(!ie&&ne)throw new Error("Fallback data is required when using suspense in SSR.");wt.current=me,Et.current=Se,Bt.current=!1;const bt=nt[et];if(!c(bt)){const ze=mt(bt);re(ze)}if(c(Nn)){const ze=an(Y);c(Mn)||(ze.status="fulfilled",ze.value=!0),re(ze)}else throw Nn}return{mutate:mt,get data(){return ot.data=!0,Mn},get error(){return ot.error=!0,Nn},get isValidating(){return ot.isValidating=!0,_n},get isLoading(){return ot.isLoading=!0,Qt}}},Ze=s.defineProperty(I,"defaultValue",{value:lt}),De=fe(Pe)}},Ko={};function we(v){var m=Ko[v];if(m!==void 0)return m.exports;var e=Ko[v]={id:v,loaded:!1,exports:{}};return fi[v].call(e.exports,e,e.exports,we),e.loaded=!0,e.exports}we.m=fi,function(){we.n=function(v){var m=v&&v.__esModule?function(){return v.default}:function(){return v};return we.d(m,{a:m}),m}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},m;we.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);we.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},we.d(r,o),r}}(),function(){we.d=function(v,m){for(var e in m)we.o(m,e)&&!we.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:m[e]})}}(),function(){we.f={},we.e=function(v){return Promise.all(Object.keys(we.f).reduce(function(m,e){return we.f[e](v,m),m},[]))}}(),function(){we.u=function(v){return""+({39:"p__AppManagement",185:"p__Welcome",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",557:"p__Bind",571:"p__404",816:"p__AdminManagement",857:"p__AdvRecordList"}[v]||v)+"."+{39:"4953f9d3",51:"d90b1fa5",134:"957d5baa",169:"c5babfbf",185:"61596037",269:"4542f5a4",270:"f1c2a3da",287:"93586c34",301:"afe80231",366:"da479be3",371:"6709cb8d",390:"41467286",393:"2a09f5b6",397:"0ef2ea1f",455:"ffff8e8d",557:"b6ee068f",559:"683b9a7b",571:"0c100574",601:"e46b1579",635:"09454aea",676:"a53a9987",706:"1c4598f2",816:"a1779b54",857:"2fce5070",905:"745134cb",930:"05171fe3"}[v]+".async.js"}}(),function(){we.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){we.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){we.o=function(v,m){return Object.prototype.hasOwnProperty.call(v,m)}}(),function(){var v={},m="ant-design-pro:";we.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;lsn.length)&&(ce=sn.length);for(var Re=0,k=new Array(ce);Re0&&arguments[0]!==void 0?arguments[0]:"";return sn.endsWith("/")?sn:"".concat(sn,"/")}var co=we(49647),Ya=we(58096),Ia=Yn.createContext(void 0);function ga(){return Yn.useContext(Ia)}var fo=["redirect"];function vo(sn){var ce=sn.routesById,Re=sn.parentId,k=sn.routeComponents;return Object.keys(ce).filter(function(dt){return ce[dt].parentId===Re}).map(function(dt){var Mt=Ro(Wr({route:ce[dt],routeComponent:k[dt],loadingComponent:sn.loadingComponent,reactRouter5Compat:sn.reactRouter5Compat},sn.reactRouter5Compat&&{hasChildren:Object.keys(ce).filter(function(vn){return ce[vn].parentId===dt}).length>0})),Jt=vo({routesById:ce,routeComponents:k,parentId:Mt.id,loadingComponent:sn.loadingComponent,reactRouter5Compat:sn.reactRouter5Compat});return Jt.length>0&&(Mt.children=Jt,Mt.routes=Jt),Mt})}function wo(sn){var ce=(0,pa.UO)(),Re=Wr(Wr({},sn),{},{to:(0,pa.Gn)(sn.to,ce)});return Yn.createElement(pa.Fg,(0,Ya.Z)({replace:!0},Re))}function Ro(sn){var ce=sn.route,Re=ce.redirect,k=(0,co.Z)(ce,fo),dt=sn.reactRouter5Compat?Oo:Lo;return Wr({element:Re?Yn.createElement(wo,{to:Re}):Yn.createElement(Ia.Provider,{value:{route:sn.route}},Yn.createElement(dt,{loader:Yn.memo(sn.routeComponent),loadingComponent:sn.loadingComponent||mo,hasChildren:sn.hasChildren}))},k)}function mo(){return Yn.createElement("div",null)}function Oo(sn){var ce=ga(),Re=ce.route,k=(0,$a.Ov)(),dt=k.history,Mt=k.clientRoutes,Jt=(0,pa.UO)(),vn={params:Jt,isExact:!0,path:Re.path,url:dt.location.pathname},Jn=sn.loader;return Yn.createElement(Yn.Suspense,{fallback:Yn.createElement(sn.loadingComponent,null)},Yn.createElement(Jn,{location:dt.location,match:vn,history:dt,params:Jt,route:Re,routes:Mt},sn.hasChildren&&Yn.createElement(pa.j3,null)))}function Lo(sn){var ce=sn.loader;return Yn.createElement(Yn.Suspense,{fallback:Yn.createElement(sn.loadingComponent,null)},Yn.createElement(ce,null))}var ti=null;function Ti(){return ti}function as(sn){var ce=sn.history,Re=Yn.useState({action:ce.action,location:ce.location}),k=ca(Re,2),dt=k[0],Mt=k[1];return(0,Yn.useLayoutEffect)(function(){return ce.listen(Mt)},[ce]),(0,Yn.useLayoutEffect)(function(){function Jt(vn){sn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:sn.routes,clientRoutes:sn.clientRoutes,location:vn.location,action:vn.action,basename:sn.basename,isFirst:!!vn.isFirst}})}return Jt({location:dt.location,action:dt.action,isFirst:!0}),ce.listen(Jt)},[ce,sn.routes,sn.clientRoutes]),Yn.createElement(pa.F0,{navigator:ce,location:dt.location,basename:sn.basename},sn.children)}function Ki(){var sn=(0,$a.Ov)(),ce=sn.clientRoutes;return(0,pa.V$)(ce)}var Gi=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ni=function(ce,Re){var k=ce.basename||"/",dt=vo({routesById:ce.routes,routeComponents:ce.routeComponents,loadingComponent:ce.loadingComponent,reactRouter5Compat:ce.reactRouter5Compat});ce.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:dt}});for(var Mt=Yn.createElement(as,{basename:k,pluginManager:ce.pluginManager,routes:ce.routes,clientRoutes:dt,history:ce.history},Re),Jt=0,vn=Gi;Jt0&&arguments[0]!==void 0?arguments[0]:"";return sn.endsWith("/")?sn:"".concat(sn,"/")}var co=we(49647),Ya=we(58096),Ia=Yn.createContext(void 0);function ga(){return Yn.useContext(Ia)}var fo=["redirect"];function vo(sn){var ce=sn.routesById,Re=sn.parentId,k=sn.routeComponents;return Object.keys(ce).filter(function(dt){return ce[dt].parentId===Re}).map(function(dt){var Mt=Ro(Wr({route:ce[dt],routeComponent:k[dt],loadingComponent:sn.loadingComponent,reactRouter5Compat:sn.reactRouter5Compat},sn.reactRouter5Compat&&{hasChildren:Object.keys(ce).filter(function(vn){return ce[vn].parentId===dt}).length>0})),Jt=vo({routesById:ce,routeComponents:k,parentId:Mt.id,loadingComponent:sn.loadingComponent,reactRouter5Compat:sn.reactRouter5Compat});return Jt.length>0&&(Mt.children=Jt,Mt.routes=Jt),Mt})}function wo(sn){var ce=(0,pa.UO)(),Re=Wr(Wr({},sn),{},{to:(0,pa.Gn)(sn.to,ce)});return Yn.createElement(pa.Fg,(0,Ya.Z)({replace:!0},Re))}function Ro(sn){var ce=sn.route,Re=ce.redirect,k=(0,co.Z)(ce,fo),dt=sn.reactRouter5Compat?Oo:Lo;return Wr({element:Re?Yn.createElement(wo,{to:Re}):Yn.createElement(Ia.Provider,{value:{route:sn.route}},Yn.createElement(dt,{loader:Yn.memo(sn.routeComponent),loadingComponent:sn.loadingComponent||mo,hasChildren:sn.hasChildren}))},k)}function mo(){return Yn.createElement("div",null)}function Oo(sn){var ce=ga(),Re=ce.route,k=(0,$a.Ov)(),dt=k.history,Mt=k.clientRoutes,Jt=(0,pa.UO)(),vn={params:Jt,isExact:!0,path:Re.path,url:dt.location.pathname},Jn=sn.loader;return Yn.createElement(Yn.Suspense,{fallback:Yn.createElement(sn.loadingComponent,null)},Yn.createElement(Jn,{location:dt.location,match:vn,history:dt,params:Jt,route:Re,routes:Mt},sn.hasChildren&&Yn.createElement(pa.j3,null)))}function Lo(sn){var ce=sn.loader;return Yn.createElement(Yn.Suspense,{fallback:Yn.createElement(sn.loadingComponent,null)},Yn.createElement(ce,null))}var ti=null;function Ti(){return ti}function as(sn){var ce=sn.history,Re=Yn.useState({action:ce.action,location:ce.location}),k=ca(Re,2),dt=k[0],Mt=k[1];return(0,Yn.useLayoutEffect)(function(){return ce.listen(Mt)},[ce]),(0,Yn.useLayoutEffect)(function(){function Jt(vn){sn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:sn.routes,clientRoutes:sn.clientRoutes,location:vn.location,action:vn.action,basename:sn.basename,isFirst:!!vn.isFirst}})}return Jt({location:dt.location,action:dt.action,isFirst:!0}),ce.listen(Jt)},[ce,sn.routes,sn.clientRoutes]),Yn.createElement(pa.F0,{navigator:ce,location:dt.location,basename:sn.basename},sn.children)}function Ki(){var sn=(0,$a.Ov)(),ce=sn.clientRoutes;return(0,pa.V$)(ce)}var Gi=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ni=function(ce,Re){var k=ce.basename||"/",dt=vo({routesById:ce.routes,routeComponents:ce.routeComponents,loadingComponent:ce.loadingComponent,reactRouter5Compat:ce.reactRouter5Compat});ce.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:dt}});for(var Mt=Yn.createElement(as,{basename:k,pluginManager:ce.pluginManager,routes:ce.routes,clientRoutes:dt,history:ce.history},Re),Jt=0,vn=Gi;Jt { const [data, setData] = useState([]); @@ -15,6 +16,13 @@ const AdminManagement = () => { const { initialState } = useModel('@@initialState'); const currentUser = initialState?.currentUser; + const formatIncome = (v: number | undefined) => { + if (!v) { + return 0; + } + return parseFloat((v / 1000_00).toFixed(2)); + }; + const getAppNameById = (appId: number) => { const app = appArr.find((app) => app.id === appId); return app ? app.name : ''; @@ -80,6 +88,85 @@ const AdminManagement = () => { }, ]; + const deviceColumns: ColumnsType = [ + { + title: '姓名', + dataIndex: 'name', + ellipsis: true, + }, + + { + title: '应用IDs', + dataIndex: 'appIds', + render: (text: []) => ( +
+ {text?.map((appId) => ( + + {getAppNameById(appId)} + + ))} +
+ ), + }, + { + title: '角色', + dataIndex: 'role', + render: (r: number) => { + let roleText = ''; + switch (r) { + case 1: + roleText = '超级管理员'; + break; + case 2: + roleText = '管理员'; + break; + case 3: + roleText = '游戏主'; + break; + case 4: + roleText = '设备主'; + break; + default: + roleText = ''; + } + return roleText; + }, + }, + { + title: '本月收入(元)', + dataIndex: 'incomeThisMonth', + render: (_, r: API.MatrixAdminBo) => { + return formatIncome(r.overview?.thisMonthIncome); + }, + }, + { + title: '上月收入(元)', + dataIndex: 'incomeLastMonth', + render: (_, r: API.MatrixAdminBo) => { + return formatIncome(r.overview?.lastMonthIncome); + }, + }, + { + title: '累计收入(元)', + dataIndex: 'incomeTotal', + render: (_, r: API.MatrixAdminBo) => { + return formatIncome(r.overview?.totalIncome); + }, + }, + { + title: '当前分成比例', + dataIndex: 'incomeRate', + }, + { + title: '操作', + render: (record: API.MatrixAdminBo) => [ + handleEdit(record)}> + 编辑 + , + ], + }, + ]; + const handleOk = () => { form.submit(); }; @@ -127,7 +214,16 @@ const AdminManagement = () => { return (
- + + {role < 3 && ( + +
x.role === 3)} /> + + )} + +
x.role === 4)} /> + +
diff --git a/src/services/matrix/typings.d.ts b/src/services/matrix/typings.d.ts index fcdd9e8..aa0d38a 100644 --- a/src/services/matrix/typings.d.ts +++ b/src/services/matrix/typings.d.ts @@ -28,6 +28,7 @@ declare namespace API { deviceId?: string; code?: string; createdAt?: string[]; + adminId?: number; }; type AppInfo = { @@ -142,6 +143,7 @@ declare namespace API { role?: number; deviceCnt?: number; incomeRate?: number; + overview?: OverviewBo; }; type MatrixAdminDevice = { @@ -169,6 +171,7 @@ declare namespace API { appId?: number; createdAt?: number; id?: number; + adminName?: string; }; type MatrixAdvRecordEditBo = {