react-toolkits 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,3159 +1,18 @@
1
1
  import { AliyunOutlined, UserAddOutlined, UsergroupAddOutlined, PlusOutlined } from '@ant-design/icons';
2
- import { Spin, Row, Col, Card, Alert, Divider, Space, Button, Result, theme, Layout as Layout$1, App, Tag, Form, Input, Breadcrumb, Skeleton, Descriptions, Typography, Modal, Tooltip, Table, Select, Menu, Collapse, Checkbox } from 'antd';
2
+ import { Spin, Row, Col, Card, Alert, Divider, Space, Button, Result, theme, Layout, App, Tag, Form, Input, Breadcrumb, Skeleton, Descriptions, Typography, Modal, Tooltip, Table, Select, Menu, Collapse, Checkbox } from 'antd';
3
3
  import { lazy, useState, useRef, useCallback, useMemo, useEffect, Suspense, forwardRef, useId, useImperativeHandle } from 'react';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { createPortal, flushSync } from 'react-dom';
6
6
  import { createRoot } from 'react-dom/client';
7
7
  import { create } from 'zustand';
8
8
  import { persist } from 'zustand/middleware';
9
- import axios from 'axios';
10
- import useSWRImmutable from 'swr/immutable';
11
- import { useNavigate, useSearchParams, Navigate, Link, useParams, useLocation } from 'react-router-dom';
12
- import useSWRMutation2 from 'swr/mutation';
13
- import useSWR from 'swr';
14
- import logo from './512_orange_nobackground-L6MFCL6M.png';
9
+ import Et from 'axios';
10
+ import Ut from 'swr/immutable';
11
+ import { Navigate, useNavigate, useSearchParams, Link, useParams, useLocation } from 'react-router-dom';
12
+ import t1 from 'swr/mutation';
13
+ import N1 from 'swr';
14
+ import mo from './512_orange_nobackground-L6MFCL6M.png';
15
15
 
16
- var __defProp = Object.defineProperty;
17
- var __defProps = Object.defineProperties;
18
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
19
- var __getOwnPropNames = Object.getOwnPropertyNames;
20
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
21
- var __hasOwnProp = Object.prototype.hasOwnProperty;
22
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
23
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
24
- var __spreadValues = (a, b) => {
25
- for (var prop in b || (b = {}))
26
- if (__hasOwnProp.call(b, prop))
27
- __defNormalProp(a, prop, b[prop]);
28
- if (__getOwnPropSymbols)
29
- for (var prop of __getOwnPropSymbols(b)) {
30
- if (__propIsEnum.call(b, prop))
31
- __defNormalProp(a, prop, b[prop]);
32
- }
33
- return a;
34
- };
35
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
36
- var __objRest = (source, exclude) => {
37
- var target = {};
38
- for (var prop in source)
39
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
40
- target[prop] = source[prop];
41
- if (source != null && __getOwnPropSymbols)
42
- for (var prop of __getOwnPropSymbols(source)) {
43
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
44
- target[prop] = source[prop];
45
- }
46
- return target;
47
- };
48
- var __esm = (fn, res) => function __init() {
49
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
50
- };
51
- var __export = (target, all) => {
52
- for (var name in all)
53
- __defProp(target, name, { get: all[name], enumerable: true });
54
- };
55
- var __async = (__this, __arguments, generator) => {
56
- return new Promise((resolve, reject) => {
57
- var fulfilled = (value) => {
58
- try {
59
- step(generator.next(value));
60
- } catch (e) {
61
- reject(e);
62
- }
63
- };
64
- var rejected = (value) => {
65
- try {
66
- step(generator.throw(value));
67
- } catch (e) {
68
- reject(e);
69
- }
70
- };
71
- var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
72
- step((generator = generator.apply(__this, __arguments)).next());
73
- });
74
- };
16
+ var oe=Object.defineProperty,ot=Object.defineProperties;var st=Object.getOwnPropertyDescriptors;var h1=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var te=(o,t,s)=>t in o?oe(o,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[t]=s,v=(o,t)=>{for(var s in t||(t={}))se.call(t,s)&&te(o,s,t[s]);if(h1)for(var s of h1(t))ne.call(t,s)&&te(o,s,t[s]);return o},S=(o,t)=>ot(o,st(t));var K=(o,t)=>{var s={};for(var n in o)se.call(o,n)&&t.indexOf(n)<0&&(s[n]=o[n]);if(o!=null&&h1)for(var n of h1(o))t.indexOf(n)<0&&ne.call(o,n)&&(s[n]=o[n]);return s};var C=(o,t)=>()=>(o&&(t=o(o=0)),t);var T1=(o,t)=>{for(var s in t)oe(o,s,{get:t[s],enumerable:!0});};var P=(o,t,s)=>new Promise((n,i)=>{var p=f=>{try{l(s.next(f));}catch(g){i(g);}},r=f=>{try{l(s.throw(f));}catch(g){i(g);}},l=f=>f.done?n(f.value):Promise.resolve(f.value).then(p,r);l((s=s.apply(o,t)).next());});var a=C(()=>{});var it,at,fe=C(()=>{a();it=o=>{let{initialTags:t,addable:s,removable:n,addCallback:i,removeCallback:p}=o,{token:r}=theme.useToken(),[l,f]=useState([]),[g,h]=useState(!1),[x,d]=useState(""),[M,F]=useState(-1),[u,m]=useState(""),y=useRef(null),R=useRef(null);useEffect(()=>{f(t!=null?t:[]);},[t]),useEffect(()=>{var T;g&&((T=y.current)==null||T.focus());},[g]),useEffect(()=>{var T;(T=R.current)==null||T.focus();},[x]);let I=T=>P(void 0,null,function*(){if(yield p==null?void 0:p(T)){let G=l.filter(g1=>g1!==T);f(G);}}),U=()=>{h(!0);},z=T=>{d(T.target.value);},W=()=>P(void 0,null,function*(){x&&l.indexOf(x)===-1&&(yield i==null?void 0:i(x))&&f([...l,x]),h(!1),d("");}),u1=T=>{m(T.target.value);},D=()=>{let T=[...l];T[M]=u,f(T),F(-1),d("");},V={width:78,verticalAlign:"top"},tt={background:r.colorBgContainer,borderStyle:"dashed"};return jsxs(Space,{wrap:!0,size:[0,8],children:[jsx(Space,{wrap:!0,size:[0,8],children:l.map((T,j)=>M===j?jsx(Input,{ref:R,size:"small",style:V,value:u,onChange:u1,onBlur:D,onPressEnter:D},T):jsx(Tag,{closable:n,style:{userSelect:"none"},onClose:G=>P(void 0,null,function*(){G.preventDefault(),yield I(T);}),children:jsx("span",{onDoubleClick:G=>{j!==0&&(F(j),m(T),G.preventDefault());},children:T})},T))}),s&&(g?jsx(Input,{ref:y,type:"text",size:"small",style:V,value:x,onChange:z,onBlur:W,onPressEnter:W}):jsxs(Tag,{style:tt,onClick:U,children:[jsx(PlusOutlined,{}),"\xA0\u6DFB\u52A0"]}))]})},at=it;});var mt,I1,v1=C(()=>{a();mt=o=>{let f=o,{children:t,confirmText:s,form:n,onReset:i}=f,p=K(f,["children","confirmText","form","onReset"]),{token:r}=theme.useToken(),l={maxWidth:"none",background:r.colorFillAlter,borderWidth:r.lineWidth,borderStyle:r.lineType,borderColor:r.colorBorder,borderRadius:r.borderRadiusLG,padding:24,marginBottom:24};return jsx(Form,S(v({},p),{form:n,autoComplete:"off",children:t&&jsx("div",{style:l,children:jsxs(Row,{gutter:18,children:[t,jsx(Col,{flex:"auto"}),jsx(Col,{flex:"auto",span:24,style:{textAlign:"right"},children:jsxs(Space,{children:[jsx(Button,{type:"primary",htmlType:"submit",children:s||"\u67E5\u8BE2"}),jsx(Button,{htmlType:"reset",onClick:i,children:"\u91CD\u7F6E"})]})})]})})}))},I1=mt;});var bt,Mt,F1,Z1=C(()=>{a();bt=(o,t)=>{let{width:s,children:n,title:i,open:p,footer:r,layout:l,labelCol:f,bodyStyle:g,initialValues:h,maskClosable:x,closeFn:d,afterClose:M,onConfirm:F}=o,u=useId(),[m]=Form.useForm(),y=useRef(null),R=typeof n=="function",[I,U]=useState(!1);return useImperativeHandle(t,()=>({setFieldsValue(z){var W;(W=y.current)==null||W.setFieldsValue(z);}})),jsx(Modal,{destroyOnClose:!0,bodyStyle:g,style:{textAlign:"start"},width:s,open:p,title:i,forceRender:!0,getContainer:!1,maskClosable:x,footer:typeof r=="object"?r:[jsx(Button,{onClick:()=>{d==null||d();},children:"\u53D6\u6D88"},"cancel"),jsx(Button,{form:u,type:"primary",htmlType:"submit",loading:I,children:"\u786E\u5B9A"},"submit")],afterClose:()=>{M==null||M(),m.resetFields();},onCancel:d,children:jsx(Form,{form:m,ref:y,id:u,autoComplete:"off",labelAlign:"right",labelWrap:!0,layout:l,initialValues:h,labelCol:f||{flex:!l||l==="horizontal"?"120px":"0"},onFinish:z=>P(void 0,null,function*(){try{U(!0),yield F==null?void 0:F(z),d==null||d(),m.resetFields();}finally{U(!1);}}),children:R?n({form:m,open:p,closeFn:d}):n})})},Mt=forwardRef(bt),F1=Mt;});function X(o){let d=o,{content:t,onConfirm:s}=d,n=K(d,["content","onConfirm"]),[i,p]=useState(!1),[r,l]=useState(),f=useRef(null),g=M=>{var F,u;l((F=M==null?void 0:M.title)!=null?F:n.title),M!=null&&M.initialValues&&((u=f.current)==null||u.setFieldsValue(M==null?void 0:M.initialValues)),p(!0);},h=useCallback(()=>{p(!1);},[]),x=useMemo(()=>jsx(F1,S(v({ref:f},n),{open:i,closeFn:h,title:r,onConfirm:s,children:t})),[r,t,n,i,h,s]);return {Modal:createPortal(x,document.body),showModal:g,closeModal:h}}var w1=C(()=>{a();Z1();});function St(o){let t=document.createElement("div"),s=createRoot(t);return new Promise(n=>{setTimeout(()=>{flushSync(()=>{s.render(o);}),n(t.innerHTML);});})}var Zt,Lt,r1,ye=C(()=>{a();Zt=o=>{let t=/(<[^>]*>)/;return o.split(t).filter(s=>s!=="")};Lt=o=>{let{texts:t,children:s}=o,[n,i]=useState("");return useEffect(()=>{St(s).then(p=>{let r=Zt(p);for(let l of t)for(let f=0;f<r.length;f++)r[f]=r[f].replace(String(l),`<span style='color: #DC143C;'>${l}</span>`);i(r.join(""));});},[s,t]),jsx("p",{dangerouslySetInnerHTML:{__html:n}})},r1=Lt;});var i1,we=C(()=>{a();i1=create()(persist(o=>({openKeys:[],selectedKeys:[],setOpenKeys:t=>o({openKeys:t}),setSelectedKeys:t=>o({selectedKeys:t})}),{name:"menu",partialize:o=>({openKeys:o.openKeys,selectedKeys:o.selectedKeys})}));});var e1,be=C(()=>{a();e1=create()(persist(o=>({token:"",setToken:t=>o({token:t}),clearToken:()=>{o({token:""}),e1.persist.clearStorage();}}),{name:"token",partialize:o=>({token:o.token})}));});var N,Me=C(()=>{a();N=create((o,t)=>({data:new Map,getPaginationData:s=>{var i,p,r;let n=(i=t().data.get(s))==null?void 0:i.pagination;return {page:(p=n==null?void 0:n.page)!=null?p:1,size:(r=n==null?void 0:n.size)!=null?r:10}},setPaginationData:(s,n)=>{var i,p;o({data:new Map(t().data).set(s,S(v({},t().data.get(s)),{pagination:{page:(i=n==null?void 0:n.page)!=null?i:t().getPaginationData(s).page,size:(p=n==null?void 0:n.size)!=null?p:t().getPaginationData(s).size}}))});},refresh:(s,n)=>{var p,r,l;let i=(p=t().data.get(s))==null?void 0:p.refresh;i&&i({page:(r=n==null?void 0:n.page)!=null?r:t().getPaginationData(s).page,size:(l=n==null?void 0:n.size)!=null?l:t().getPaginationData(s).size});},setRefresh:(s,n)=>{let i=t().data;o({data:new Map(i).set(s,S(v({},i.get(s)),{refresh:n}))});}}));});var q=C(()=>{a();we();be();Me();});function B(){let o=e1(n=>n.token),t={withCredentials:!0},s=Et.create(t);return s.interceptors.request.use(n=>(n.headers.set("Authorization",`Bearer ${o}`),n)),s.interceptors.response.use(n=>{if(n.data.code===0||n.data.status===0)return n.data.data;throw new O(n.data.msg,0)},n=>{var i;throw n.response?n.response.status===401?new O("\u672A\u767B\u5F55\u6216\u767B\u5F55\u5DF2\u8FC7\u671F",n.response.status):n.response.status===403?new O("\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6388\u6743",n.response.status):[404,405].includes(n.response.status)?new O("Not Found or Method not Allowed",n.response.status,!0):n.response.status===412?new O("\u672A\u6CE8\u518C\u7528\u6237",n.response.status):new O((i=n.response.data)==null?void 0:i.msg,n.response.status):new O("\u65E0\u54CD\u5E94")}),s}var O,S1=C(()=>{a();q();O=class extends Error{constructor(s,n,i=!1){super(s);this.code=n,this.skip=i;}};});function L1(o){let t=B(),s=useNavigate(),{data:n,isLoading:i}=Ut(o.length>0?{method:"POST",url:"/api/usystem/user/check",data:{permissions:o}}:null,p=>t.request(p).then(r=>r.has_all?o.reduce((l,f)=>(l[f]=!0,l),{}):o.reduce((l,f)=>(l[f]=r[f],l),{})),{suspense:!0,shouldRetryOnError:!1,onError(){s("/login");}});return {data:n,isLoading:i}}function A(o){var n;let{data:t,isLoading:s}=L1(o?[o]:[]);return o?{accessible:(n=t==null?void 0:t[o])!=null?n:!1,isValidating:s}:{accessible:!0,isValidating:!1}}var xe=C(()=>{a();S1();});var Q=C(()=>{a();S1();xe();});var Qt,H,Pe=C(()=>{a();Q();Qt=o=>{let l=o,{children:t,code:s,showLoading:n}=l,i=K(l,["children","code","showLoading"]),{accessible:p,isValidating:r}=A(s);return r?jsx(Button,S(v({loading:n,disabled:!n},i),{children:t})):p?jsx(Button,S(v({},i),{children:t})):jsx(Tooltip,{defaultOpen:!1,title:"\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6388\u6743",children:jsx(Button,S(v({disabled:!0},i),{children:t}))})},H=Qt;});var Gt,a1,Te=C(()=>{a();Q();q();v1();Gt=o=>{let u1=o,{code:t,confirmText:s,labelCol:n,swrKey:i,initialValues:p,renderForm:r,transformArg:l,transformResponse:f}=u1,g=K(u1,["code","confirmText","labelCol","swrKey","initialValues","renderForm","transformArg","transformResponse"]),{accessible:h}=A(t!=null?t:""),[x]=Form.useForm(),d=N(D=>D.setRefresh),M=N(D=>D.getPaginationData),F=N(D=>D.setPaginationData),u=M(i),m=B(),{data:y,isMutating:R,trigger:I}=t1(i,(tt,T)=>P(void 0,[tt,T],function*(D,{arg:V}){var $1,j1,J1;let j={page:($1=V==null?void 0:V.page)!=null?$1:u.page,size:(j1=V==null?void 0:V.size)!=null?j1:u.size};F(i,V);let G=x.getFieldsValue(),g1=v(v({},G),j);return m.request(S(v({},D),{[D.method==="POST"?"data":"params"]:(J1=l==null?void 0:l(g1))!=null?J1:g1})).then(Y1=>{var ee;return (ee=f==null?void 0:f(Y1))!=null?ee:Y1})})),U=()=>P(void 0,null,function*(){yield I({page:1});}),z=useCallback(()=>P(void 0,null,function*(){try{x.resetFields(),yield x.validateFields(),yield I({page:1});}catch(D){console.log("\u8868\u5355\u6821\u9A8C\u5931\u8D25");}}),[x,I]),W=useCallback((D,V)=>P(void 0,null,function*(){yield I({page:D,size:V});}),[I]);return useEffect(()=>{d(i,I);},[i,I,d]),useEffect(()=>{P(void 0,null,function*(){try{yield x.validateFields(),yield I();}catch(D){x.resetFields();}});},[x,I]),h?jsxs(Fragment,{children:[jsx(I1,{initialValues:p,form:x,labelCol:n,confirmText:s,onFinish:U,onReset:z,children:r==null?void 0:r(x)}),jsx(Table,S(v({},g),{dataSource:y==null?void 0:y.List,loading:R,pagination:{showSizeChanger:!0,showQuickJumper:!0,current:u.page,pageSize:u.size,total:y==null?void 0:y.Total,onChange:W}}))]}):jsx(Result,{status:403,subTitle:"\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6388\u6743"})},a1=Gt;});var M1=C(()=>{a();fe();v1();Z1();w1();ye();Pe();Te();});function Fe(){return N1({url:"/api/usystem/user/allPermssions"})}function A1(){let{accessible:o}=A("200005");return N1(o?{url:"/api/usystem/role/all"}:null)}function Ze(o){return N1({url:"/api/usystem/role/info",params:{name:o}})}function Se(){let o=B();return t1("/api/usystem/role/create",(t,{arg:s})=>o.post(t,s))}function Le(){let o=B();return t1("/api/usystem/role/update",(t,{arg:s})=>o.post(t,s))}function De(){let o=B();return t1("/api/usystem/role/delete",(t,{arg:s})=>o.post(t,s))}function Be(){let o=B();return t1("/api/usystem/user/create",(t,{arg:s})=>o.post(t,s))}function Ve(){let o=B();return t1("/api/usystem/user/update",(t,{arg:s})=>o.post(t,s))}function Ke(){let o=B();return t1("/api/usystem/user/delete",(t,{arg:s})=>o.post(t,s))}var E1=C(()=>{a();Q();});var k2,C2,s1,Ae=C(()=>{a();E1();(({Text:k2}=Typography)),C2=({expand:o=!0,value:t,readonly:s,onChange:n})=>{let[i,p]=useState([]),[r,l]=useState(t!=null?t:[]),{data:f,isLoading:g,error:h}=Fe(),[x,d]=useState({});useEffect(()=>{l(t!=null?t:[]);},[t]),useEffect(()=>{o&&p((f!=null?f:[]).map(({category:m})=>m));},[o,f]),useEffect(()=>{let m=(f!=null?f:[]).reduce((y,R)=>(y[R.category]=R.permissions.every(I=>r.includes(I.value)),y),{});d(m);},[r,f]);let M=m=>{p(m);},F=(m,y)=>{let R=[];return m?R=[...new Set(r.concat(y))]:(R=r.slice(),y.forEach(I=>{let U=R.findIndex(z=>z===I);U>-1&&R.splice(U,1);})),R},u=(m,y,R)=>{let I=F(m.target.checked,R);l(I),n==null||n(I);};return h?jsx("div",{className:"flex justify-center",children:jsx(k2,{type:"danger",children:"\u6743\u9650\u83B7\u53D6\u5931\u8D25"})}):jsx(Skeleton,{active:!0,loading:g,children:jsx(Collapse,{style:{width:"100%"},collapsible:"header",activeKey:i,items:(f!=null?f:[]).map(m=>({key:m.category,label:m.category,extra:!s&&jsx(Checkbox,{checked:x[m.category],onChange:y=>{u(y,m.category,m.permissions.map(R=>R.value));},children:"\u5168\u9009"}),children:jsx(Checkbox.Group,{style:{width:"100%"},options:m.permissions.map(y=>({label:y.label,value:y.value,disabled:s,onChange(R){u(R,m.category,[y.value]);}})),value:r})})),onChange:M})})},s1=C2;});var Ee=C(()=>{a();});var x1=C(()=>{a();Ae();E1();Ee();});var Oe={};T1(Oe,{default:()=>V2,swrKey:()=>p1});function L2(){let{message:o}=App.useApp(),t=Be(),{data:s,isLoading:n}=A1(),i=N(r=>r.refresh);return X({title:"\u521B\u5EFA\u89D2\u8272",labelCol:{flex:"80px"},content:jsxs(Fragment,{children:[jsx(Form.Item,{noStyle:!0,shouldUpdate:(r,l)=>r.type!==l.type,children:({getFieldValue:r})=>jsx(Form.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:r("id")})})}),jsx(Form.Item,{label:"\u89D2\u8272",name:"roles",children:jsx(Select,{allowClear:!0,mode:"multiple",loading:n,children:(s!=null?s:[]).map(r=>jsx(ze,{value:r.name,children:r.name},r.id))})})]}),onConfirm(r){return P(this,null,function*(){yield t.trigger(r,{onSuccess(){o.success("\u7528\u6237\u521B\u5EFA\u6210\u529F"),i(p1,{page:1});}});})}})}function D2(){let{message:o}=App.useApp(),t=Ve(),{data:s,isLoading:n}=A1(),i=N(r=>r.refresh);return X({title:"\u66F4\u65B0\u89D2\u8272",labelCol:{flex:"80px"},content:jsxs(Fragment,{children:[jsx(Form.Item,{hidden:!0,name:"id",children:jsx(Input,{})}),jsx(Form.Item,{noStyle:!0,shouldUpdate:(r,l)=>r.type!==l.type,children:({getFieldValue:r})=>jsx(Form.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:r("id")})})}),jsx(Form.Item,{label:"\u89D2\u8272",name:"roles",children:jsx(Select,{allowClear:!0,mode:"multiple",loading:n,children:(s!=null?s:[]).map(r=>jsx(ze,{value:r.name,children:r.name},r.id))})})]}),onConfirm(r){return P(this,null,function*(){yield t.trigger(r,{onSuccess(){o.success("\u7528\u6237\u66F4\u65B0\u6210\u529F"),i(p1,{page:1});}});})}})}var ze,p1,B2,V2,Qe=C(()=>{a();M1();w1();x1();q();(({Option:ze}=Select)),p1={url:"/api/usystem/user/list"};B2=()=>{let{modal:o,message:t}=App.useApp(),s=Ke(),n=N(g=>g.refresh),{showModal:i,Modal:p}=L2(),{showModal:r,Modal:l}=D2(),f=useMemo(()=>[{title:"\u540D\u79F0",dataIndex:"name",key:"name"},{title:"ID",dataIndex:"id",key:"id"},{title:"\u89D2\u8272",dataIndex:"roles",key:"roles",width:"40%",render(g){return jsx(Row,{gutter:[4,4],children:(g||[]).map(h=>jsx(Col,{children:h==="root"?jsx(Tag,{color:"#f50",children:h}):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`/permission/role/${h}`,children:h})})},h))})}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"Ctime",key:"ctime"},{title:"\u64CD\u4F5C",width:150,align:"center",render:g=>jsxs(Space,{children:[jsx(H,{size:"small",type:"link",code:"100003",onClick:()=>{r({initialValues:{id:g.id,name:g.name,roles:g.roles}});},children:"\u66F4\u65B0"}),jsx(H,{danger:!0,size:"small",code:"100004",type:"link",onClick:()=>{o.confirm({title:"\u5220\u9664\u7528\u6237",content:jsxs(r1,{texts:[g.name],children:["\u786E\u5B9A\u8981\u5220\u9664\u7528\u6237\xA0",g.name,"\xA0\u5417\uFF1F"]}),onOk(){return P(this,null,function*(){yield s.trigger({id:g.id,name:g.name},{onSuccess(){return P(this,null,function*(){yield t.success("\u7528\u6237\u5220\u9664\u6210\u529F"),n(p1,{page:1});})}});})}});},children:"\u5220\u9664"})]})}],[n,s,t,o,r]);return jsxs(Fragment,{children:[jsx(Card,{title:"\u7528\u6237",extra:jsx(H,{type:"primary",icon:jsx(UserAddOutlined,{}),code:"100002",onClick:()=>{i();},children:"\u521B\u5EFA\u7528\u6237"}),children:jsx(a1,{code:"100001",swrKey:p1,rowKey:"id",columns:f})}),p,l]})},V2=B2;});var He={};T1(He,{default:()=>Q2,swrKey:()=>m1});var m1,O2,Q2,_e=C(()=>{a();M1();w1();x1();Q();q();m1={url:"/api/usystem/role/list"},O2=()=>{let{accessible:o}=A("200005"),{modal:t,message:s}=App.useApp(),n=B(),i=Se(),p=De(),r=Le(),l=N(u=>u.refresh),{showModal:f,Modal:g}=X({title:"\u521B\u5EFA\u89D2\u8272",width:"50vw",layout:"vertical",content:jsxs(Fragment,{children:[jsx(Form.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0}],children:jsx(Input,{addonBefore:"role_"})}),jsx(Form.Item,{label:"\u6743\u9650",name:"permissions",children:jsx(s1,{})})]}),onConfirm(u){return P(this,null,function*(){yield i.trigger({name:`role_${u.name}`,permissions:u.permissions},{onSuccess(){return P(this,null,function*(){yield s.success("\u89D2\u8272\u521B\u5EFA\u6210\u529F"),l(m1,{page:1});})}});})}}),{showModal:h,Modal:x}=X({title:"\u66F4\u65B0\u89D2\u8272",width:"50vw",layout:"vertical",content:jsxs(Fragment,{children:[jsx(Form.Item,{hidden:!0,label:"ID",name:"id",children:jsx(Input,{})}),jsx(Form.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0,addonBefore:"role_"})}),jsx(Form.Item,{label:"\u6743\u9650",name:"permissions",children:jsx(s1,{})})]}),onConfirm(u){return P(this,null,function*(){yield r.trigger({id:u.id,name:`role_${u.name}`,permissions:u.permissions},{onSuccess(){return P(this,null,function*(){yield s.success("\u89D2\u8272\u66F4\u65B0\u6210\u529F"),l(m1,{page:1});})}});})}}),d=useMemo(()=>[{title:"\u540D\u79F0",key:"name",render(u){return o?jsx(Link,{to:`${u.name}`,children:u.name}):jsx(Fragment,{children:u.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"ctime",key:"ctime"},{title:"\u64CD\u4F5C",width:150,align:"center",render:u=>jsxs(Space,{size:"small",children:[jsx(H,{code:"200003",size:"small",type:"link",onClick:()=>P(void 0,null,function*(){let m=yield n.get("/api/usystem/role/info",{params:{name:u.name}});h({initialValues:{id:m==null?void 0:m.id,permissions:m==null?void 0:m.permissions,name:m==null?void 0:m.name.replace(/^role_/,"")}});}),children:"\u66F4\u65B0"}),jsx(H,{danger:!0,code:"200004",size:"small",type:"link",onClick:()=>{t.confirm({title:"\u5220\u9664\u89D2\u8272",content:jsxs(r1,{texts:[u.name],children:["\u786E\u5B9A\u8981\u5220\u9664\u89D2\u8272\xA0",u.name,"\xA0\u5417\uFF1F"]}),onOk(){return P(this,null,function*(){yield p.trigger({id:u.id,name:u.name},{onSuccess(){return P(this,null,function*(){yield s.success("\u89D2\u8272\u5220\u9664\u6210\u529F"),l(m1,{page:1});})}});})}});},children:"\u5220\u9664"})]})}],[l,o,n,t,s,p,h]);return jsxs(Fragment,{children:[jsx(Card,{title:"\u89D2\u8272",extra:jsx(H,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),onClick:()=>{f();},children:"\u521B\u5EFA\u89D2\u8272"}),children:jsx(a1,{rowKey:"name",columns:d,code:"200001",swrKey:m1,transformResponse:u=>{let{List:m,Total:y}=u;return {List:m,Total:y}}})}),g,x]})},Q2=O2;});var We={};T1(We,{default:()=>$2});var X2,$2,Ge=C(()=>{a();x1();X2=()=>{let o=useParams(),{data:t,isLoading:s}=Ze(o.name);return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:24},items:[{key:"1",title:jsx(Link,{to:"/permission/role",children:"\u89D2\u8272"})},{key:"2",title:o.name}]}),jsx(Card,{title:"\u6743\u9650\u8BE6\u60C5",children:jsx(Skeleton,{loading:s,children:jsxs(Descriptions,{column:3,layout:"vertical",children:[jsx(Descriptions.Item,{label:"\u540D\u79F0",children:t==null?void 0:t.name}),jsx(Descriptions.Item,{label:"ID",children:t==null?void 0:t.id}),jsx(Descriptions.Item,{label:"\u521B\u5EFA\u65F6\u95F4",children:t==null?void 0:t.ctime}),jsx(Descriptions.Item,{label:"\u6743\u9650",span:3,children:jsx(s1,{readonly:!0,value:t==null?void 0:t.permissions})})]})})})]})},$2=X2;});a();M1();Q();q();a();a();a();var Re="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1";q();a();var jt=()=>jsxs("svg",{viewBox:"0 0 1620 1028",xmlns:"http://www.w3.org/2000/svg",children:[jsx("g",{id:"a"}),jsx("g",{id:"b",children:jsx("g",{id:"c",children:jsxs("g",{children:[jsx("path",{fill:"#e8f2fa",d:"M1543.84,1025.63c-92.65,0-1442.29,.34-1443.07-2.11l-.13-.31s-.13-.3-.13-.45c-.52-1.23-207.95-345.42,114.53-585.03,126.18-93.75-7.9-155.64,92.44-260.01,115.31-119.94,241.15,12.74,369.38-41.64,22.66-9.6,45.39-25.05,68.15-48.76C797.78,32.37,870.19,6.95,944.96,1.25c143.27-10.86,304.51,50.23,387.71,139.53,16.75,17.98,92.93,111.03,32.88,238.91-37.91,80.74,120.91,157.86,177.35,250.06,143.49,234.42,2.24,392.82,.93,395.87Z"}),jsxs("g",{opacity:".5",children:[jsx("g",{opacity:".5",children:jsx("path",{fill:"#a9c2ff",d:"M522.98,381s-10.51-89.31-55.62-142.6c-6-7.08-17.47-2.57-17.28,6.76,0,.16,0,.31,.01,.47,.58,15.93,51.09,83.13,72.89,135.37Z"})}),jsx("g",{opacity:".5",children:jsx("path",{fill:"#a9c2ff",d:"M528.46,406.57s-44.95-111.62-121.74-160.99c-4.68-3.01-11.02-1.92-14.16,2.72-2.04,3.02-2.96,7.73-.67,15.1,6.12,19.63,91.75,85.72,136.57,143.18Z"})})]}),jsxs("g",{children:[jsx("path",{fill:"#73b471",d:"M1088.4,378.19s-40.25-25.14-19.73-56.1c0,0,16.18-18.86,32.87-23.19,0,0-10.72,47-1.98,48.49,8.75,1.48,8.23-53.25,8.23-53.25,0,0,44.27-19.36,61.23-16.97,0,0-28.81,45.13-19.97,44.38,8.84-.75,40.96-46.29,40.96-46.29,0,0,44.84-6.49,50.9,20.56,6.05,27.05-6.03,39.94-12.69,41.34-6.66,1.4-48.94-.94-48.07,4.68,.87,5.62,29.08,15.74,45.22,11.39,0,0-19.38,43.29-42.36,40.09-22.99-3.2-29.54-17.99-43.78-19.7-14.24-1.71-24.84,1.75-17.85,5.95,6.98,4.2,31.27,2.59,42.4,13.03,11.13,10.43,20.22,16.96-1.39,20.52-21.61,3.56-59.96-.84-66.97-17.88l-7.01-17.04Z"}),jsxs("g",{children:[jsx("path",{fill:"#73b471",d:"M1220.24,303.33s-116.93,33.06-131.84,74.86c0,0-.22,18.97-12.65,40.22l-.34,8.36s13.25-27.92,20-31.54c0,0-24.32-37.87,124.83-91.9Z"}),jsx("path",{fill:"#73b471",d:"M1075.75,418.41s-18.91,26.66-10.13,60.45l4.63-1.05s-2.94-36.94,7.12-55.03c10.06-18.09-1.62-4.37-1.62-4.37Z"})]})]}),jsxs("g",{children:[jsx("path",{fill:"#9bd399",d:"M925.53,377.18s-67.6,6.07-70.13-47.44c0,0,2.69-35.79,18.25-55.28,0,0,27.38,63.45,38.71,57.55,11.32-5.9-35.54-68.47-35.54-68.47,0,0,34.61-60.79,56.16-72.8,0,0,4.97,77.02,14.52,68.48,9.54-8.54,8.04-88.93,8.04-88.93,0,0,46.15-46.48,75.98-20.59,29.83,25.89,26.82,51.24,20.33,58.64-6.49,7.4-57.15,41.49-51.4,47.2,5.75,5.71,46.78-7.17,61.69-26.21,0,0,14.28,66.7-14.89,83.01-29.17,16.31-49.21,4.98-67.06,15.39-17.84,10.41-27.12,23.62-15.53,22.38,11.59-1.24,38.19-24.21,59.83-21.88,21.64,2.33,37.62,1.94,15.74,24.83-21.87,22.89-69.75,51.18-92.22,37.65l-22.48-13.53Z"}),jsxs("g",{children:[jsx("path",{fill:"#9bd399",d:"M1014.06,176.32s-106.69,139.76-88.53,200.87c0,0,15.78,22.04,19.44,57.32l6.67,9.92s-8.34-43.67-3.63-53.71c0,0-60.01-22.45,66.05-214.39Z"}),jsx("path",{fill:"#9bd399",d:"M944.97,434.5s.76,47.15,39.44,78.42l4.44-5.24s-34.61-39.97-38.32-69.55c-3.71-29.58-5.56-3.62-5.56-3.62Z"})]})]}),jsxs("g",{children:[jsxs("g",{children:[jsx("path",{fill:"#b6cfff",d:"M290.34,904.31s-18.93-22.41-1.17-36.64c0,0,12.98-7.97,23.56-7.32,0,0-14.99,25.5-10.14,28.04,4.85,2.54,14.69-29.64,14.69-29.64,0,0,29.53-2.91,39.03,1.73,0,0-25.25,20.96-19.93,22.2,5.32,1.25,32.58-19.32,32.58-19.32,0,0,27.48,4.74,26.02,21.75-1.47,17.01-10.94,22.26-15.1,21.81-4.16-.45-28.51-9.88-29.04-6.42-.53,3.46,14.13,14.77,24.39,15.29,0,0-19.38,21.68-32.26,15.42-12.88-6.26-13.98-16.17-22.01-19.89-8.03-3.72-14.88-3.71-11.57,.08,3.31,3.79,17.84,7.48,22.43,15.72,4.59,8.24,8.71,13.79-4.61,11.76-13.32-2.03-34.98-11.92-35.93-23.25l-.95-11.32Z"}),jsxs("g",{children:[jsx("path",{fill:"#b6cfff",d:"M381.48,885.57s-74.65-2.92-91.14,18.74c0,0-3.65,11.08-14.87,21.16l-1.75,4.83s12.94-13.84,17.56-14.67c0,0-7.24-26.83,90.19-30.06Z"}),jsx("path",{fill:"#b6cfff",d:"M275.48,925.47s-16.02,12.02-17.14,33.5l2.91,.26s5.12-22.21,14.37-30.89c9.25-8.68-.14-2.87-.14-2.87Z"})]})]}),jsxs("g",{children:[jsx("path",{fill:"#a9c2ff",d:"M224.15,876.13s30.12-17.11,16.06-40.33c0,0-11.24-14.26-23.29-17.92,0,0,6.42,34.62,0,35.44-6.43,.81-4.42-39.11-4.42-39.11,0,0-31.72-15.48-44.17-14.26,0,0,19.68,33.81,13.25,33-6.43-.81-28.51-35.03-28.51-35.03,0,0-32.53-6.11-37.75,13.44-5.22,19.55,3.21,29.33,8.03,30.55,4.82,1.22,35.74,.81,34.94,4.89-.8,4.07-21.69,10.59-33.33,6.92,0,0,12.85,32.18,29.72,30.55,16.87-1.63,22.09-12.22,32.53-13.03,10.44-.81,18.07,2.04,12.85,4.89-5.22,2.85-22.89,.93-31.32,8.21-8.43,7.27-15.26,11.75,.4,15.01,15.66,3.26,43.77,1.22,49.39-11l5.62-12.22Z"}),jsxs("g",{children:[jsx("path",{fill:"#a9c2ff",d:"M130.18,817.47s84.33,27.7,93.97,58.66c0,0-.4,13.85,8.03,29.74v6.11s-8.83-20.78-13.65-23.63c0,0,18.87-26.88-88.35-70.88Z"}),jsx("path",{fill:"#a9c2ff",d:"M232.18,905.87s13.01,20.03,5.59,44.42l-3.35-.91s3.25-26.86-3.56-40.37c-6.8-13.51,1.31-3.14,1.31-3.14Z"})]})]}),jsxs("g",{children:[jsx("path",{fill:"#cedfff",d:"M272.06,852.53s-39.7-22.55-21.17-53.16c0,0,14.82-18.79,30.7-23.63,0,0-8.47,45.64,0,46.72,8.47,1.07,5.82-51.55,5.82-51.55,0,0,41.82-20.4,58.23-18.79,0,0-25.94,44.57-17.47,43.49,8.47-1.07,37.58-46.18,37.58-46.18,0,0,42.88-8.05,49.76,17.72,6.88,25.77-4.23,38.66-10.59,40.27-6.35,1.61-47.11,1.07-46.05,6.44,1.06,5.37,28.58,13.96,43.94,9.13,0,0-16.94,42.42-39.17,40.27-22.23-2.15-29.11-16.11-42.88-17.18-13.76-1.07-23.82,2.69-16.94,6.44,6.88,3.76,30.17,1.23,41.29,10.82,11.12,9.59,20.12,15.49-.53,19.79-20.64,4.3-57.7,1.61-65.11-14.5l-7.41-16.11Z"}),jsxs("g",{children:[jsx("path",{fill:"#cedfff",d:"M395.93,775.21s-111.16,36.51-123.87,77.32c0,0,.53,18.26-10.59,39.2v8.05s11.65-27.39,18-31.14c0,0-24.88-35.44,116.46-93.43Z"}),jsx("path",{fill:"#cedfff",d:"M261.48,891.73s-17.14,26.41-7.37,58.55l4.41-1.2s-4.28-35.41,4.69-53.21c8.97-17.81-1.73-4.14-1.73-4.14Z"})]})]}),jsx("path",{fill:"#bbd3ff",d:"M270.72,1019.99c42.95,0,77.77-35.32,77.77-78.89H192.96c0,43.57,34.82,78.89,77.77,78.89Z"}),jsx("path",{fill:"#bbd3ff",d:"M349.57,1024.01H191.88c0-5.37,4.3-9.73,9.59-9.73h138.49c5.3,0,9.59,4.36,9.59,9.73h0Z"}),jsx("rect",{fill:"#80a1e6",height:"2.42",width:"159.86",y:"941.11",x:"190.4"})]}),jsx("path",{fill:"#768cee",d:"M801.19,578.05l-34.8,419.74s-3.65,25.44,15.01,25.49c30.68,.07,152.69,0,152.69,0,0,0-23.09-5.3-22.81-17.21,.33-14.05,40.67-431.99,40.67-431.99l-150.76,3.97Z"}),jsx("path",{fill:"#a9c2ff",d:"M945.58,1015.66c-6.03,.02-124.16,.22-154.03-.17-13.02-.16-15.3-11.74-15.41-19.24-.05-3.59,.4-6.25,.4-6.25l.9-10.91,2.31-27.81,2.04-24.57,2.62-31.57,2.2-26.64,24.73-298.26,150.76-3.97s-16.99,174.91-29.01,302.22c-1.34,14.19-2.62,27.79-3.8,40.48-.38,4.05-.75,8.02-1.11,11.88-1.11,12.05-2.13,23.11-3.02,32.88-.47,5.15-.9,9.93-1.29,14.31-1.53,17.17-2.43,28.13-2.44,30.22,0,1.22,.1,2.35,.29,3.4,2.47,13.38,21.59,13.98,23.86,13.98Z"}),jsx("polygon",{fill:"#a9c2ff",points:"435.05 349.47 519.82 694.86 531.43 742.16 570.91 903.04 1304.39 903.04 1158.87 349.47 435.05 349.47"}),jsx("polygon",{fill:"#768cee",points:"435.05 349.46 423.31 353.44 555.29 915.06 570.91 903.04 435.05 349.46"}),jsx("polygon",{fill:"#809bf5",points:"555.29 915.06 1284.26 915.06 1304.39 903.04 570.91 903.04 555.29 915.06"}),jsx("rect",{fill:"#a9c2ff",transform:"translate(1780.4 2038.92) rotate(180)",height:"7.61",width:"157.83",y:"1015.66",x:"811.28"}),jsx("polygon",{fill:"#899bfa",points:"928.99 915.05 928.18 920.87 779.74 951.29 781.78 926.72 782.75 915.05 928.99 915.05"}),jsx("g",{opacity:".5",children:jsx("path",{fill:"#899bfa",d:"M945.58,1015.66c-6.03,.02-124.16,.22-154.03-.17-13.02-.16-15.3-11.74-15.41-19.24l147.73-28.19c-1.53,17.17-2.43,28.13-2.44,30.22,0,1.22,.1,2.35,.29,3.4,2.47,13.38,21.59,13.98,23.86,13.98Z"})}),jsx("polygon",{fill:"#899bfa",points:"435.05 349.46 1158.87 349.46 1276.31 794.36 544.24 794.36 435.05 349.46"}),jsx("polygon",{fill:"#5158bf",points:"1242.18 775.08 564.46 775.08 540.24 677.22 530.87 639.35 527.05 623.91 502.16 523.34 500.87 518.1 487.71 464.94 481.83 441.15 476.81 420.86 472.71 404.31 465.03 373.3 1132.98 373.3 1141.41 404.31 1145.91 420.86 1151.42 441.15 1157.88 464.94 1200.47 621.65 1200.47 621.65 1204.08 634.93 1205.76 641.09 1235.16 749.28 1242.18 775.08"}),jsx("polygon",{fill:"#5d6cd2",points:"973.57 757.36 624.87 757.36 605.71 662.1 598.3 632.14 595.28 619.93 575.59 540.37 574.57 536.23 564.16 494.17 559.5 475.35 555.53 459.3 552.29 446.21 546.22 421.68 887.42 421.68 973.57 757.36"}),jsx("polygon",{fill:"#899bfa",points:"819.24 794.36 571.16 904.34 544.24 794.36 819.24 794.36"}),jsxs("g",{children:[jsx("path",{fill:"#2a3967",d:"M1384.19,552.09c.04-.99,.79-11.66,16.82-12.22,0,0-7.88,.95-9.24,4.47,0,0,5.37-4.34,9.74-2.95,4.37,1.4,6.94,9.16,6.96,11.72,.03,2.55-2.4,10.79-5.18,11.49-1.05,.27-2.26,.19-3.36,0,.74,1.17,1.46,2.46,2.15,3.9,6.4,13.32-.2,26.33-5.61,24.89-3.47-.92-4.45,5.09-4.45,5.09l-33.74-27.7s12.39-26.01,25.91-18.69Z"}),jsx("path",{fill:"#ffae73",d:"M1292.25,718.6c2.82,2.53,10.3-6.16,11.33-7.32,.05-.11,.11-.17,.11-.17l-2.28-6.44s-9.82-.38-11.44,1.27c-1.63,1.65-.81,9.96,2.28,12.65Z"}),jsx("path",{fill:"#25468f",d:"M1372.45,944.42l7.17,2.71s31.12-43.79,34.96-82.31c.68-6.88-.72-21.46-.19-24.57,.25-1.45,.55-3.2,.89-5.21,1.01-5.88,2.4-13.93,4-23.09,3.66-21.09,8.41-48.04,12.09-67.85l-1.93-.63-20.89-6.84-4.32-13.91-15.56-4.15s-3.47,6.9-6.58,39.47c-.57,4.27-1.09,8.98-1.49,14.09-1.21,15.6-1.3,34.94,1.48,57.06,.71,5.66,3.67,27.92,3.33,34.81-1.57,31.49-12.96,80.44-12.96,80.44Z"}),jsx("path",{fill:"#1e3865",d:"M1380.6,772.11l33.78,68.12c.25-1.45,.55-3.2,.89-5.21,1.01-5.88,2.4-13.93,4-23.09,3.66-21.09,8.41-48.04,12.09-67.85l-1.93-.63-20.89-6.84-4.32-13.91-15.56-4.15s-3.47,6.9-6.58,39.47c-.57,4.27-1.09,8.98-1.49,14.09Z"}),jsx("path",{fill:"#25468f",d:"M1395.46,727.29l.78-6.8c13.1,3.53,48.1-9.86,48.1-9.86,0,0,12.69,11.32,11.03,38.44-.81,13.24-2.3,69.5-3.85,86.15-.56,6.03,3.3,21.56,4.85,25.75,15.23,41.17-2.35,91.87-2.35,91.87l-4.56-1.87s-28.85-106.12-31.83-117.36c-5.63-21.25-10.15-48.9-13.17-70.25-.42,.02-9.01-36.08-9.01-36.08Z"}),jsx("path",{fill:"#ffae73",d:"M1385.52,648.37c22.52,1.25,17.57-32.81,16.2-32.63-2.76-1.46-7.7-8.55-10.56-20.41l-.97,.46-16.25,7.75s1.73,5.36,3,10.5c.99,4.02,1.71,7.9,1.11,8.98-1.28,.53-2.05,.86-2.05,.86,0,0,0,0,0,.02-.16,.42,3.52,24.15,9.53,24.48Z"}),jsx("path",{fill:"#f99352",d:"M1373.93,603.53s1.73,5.36,3,10.5c9.5-2.69,12.38-12.82,13.25-18.25l-16.25,7.75Z"}),jsx("path",{fill:"#ffae73",d:"M1371.93,609.21s22.73-5.34,19.23-19.64c-3.49-14.31-2.91-24.63-17.57-21.83-14.66,2.8-16.13,8.97-16.11,14.03,.02,5.06,8.45,28.46,14.45,27.44Z"}),jsx("path",{fill:"#2a3967",d:"M1356.2,573.64c2.44-5.19,5.32-4.91,7.12-3.99,10.68-10.02,21.15-1.83,21.15-1.83,4.03,9.88,12.77,13.92,12.77,13.92,0,0-3.49,3.63-13.61,3.55-3.09-.02-6.2-1.46-9.03-3.45,5.45,5.57,11.85,8.97,11.85,8.97-12.67-2.46-21.16-17.34-22.03-18.92-1.07,1.61-3.13,5.03-3.3,7.92-.23,3.93,1.1,11.55-1.12,11.84,0,0-7.47-10.23-3.8-18Z"}),jsx("path",{fill:"#1e3865",d:"M1427.51,956.62h36.09s.87-5.58-1.02-9.81c-1.81-4.06-4.64-5.91-3.96-10.82-2.29,2.4-6.03,5.08-11.25,4.37-.64,1.05-4.13,6.68-6.26,8.23-2.36,1.72-12.88,1.11-13.6,8.04Z"}),jsx("path",{fill:"#1e3865",d:"M1350.02,956.62h36.09s1.35-5.84-1.02-9.81c-2.1-3.52-1.29-5.52,.26-8.43-1.64,.68-3.75,1.3-6.08,1.16-1.8-.1-3.7-.93-5.37-1.91-1.55,1.8-8.2,9.44-10.28,10.96-2.36,1.72-12.88,1.11-13.6,8.04Z"}),jsx("path",{fill:"#899bfa",d:"M1445.02,667.38c-1.94-6.38-3.95-12.51-5.98-18.16-4.62-12.85-7.56-19.56-10.05-24.76-4.74-9.89-25.93-9.27-25.93-9.27-4.08,14.92-15.3,24.22-15.3,24.22-5.98-3.56-10.43-16.08-10.43-16.08l-13.09,7.06h0s-4.05,2.45-7.58,12.75c-5.25,15.32-13.77,37.08-19.68,43.73-1.38,1.55-5.42,3.9-10.31,6.39h0c-.11,.17-.19,.25-.24,.25,.32,.73,1.74,4.18,4.04,7.69,1.87,2.85,4.32,5.73,7.22,7.21,2.23-1.09,6.25-2.7,7.95-3.76,6.16-3.82,15.33-9.32,22.51-20.93l2,27.29,3.62,49.37c5.57,1.76,10.87,3.13,15.89,4.18,.33-4.14,1.65-9.09,1.65-9.09-.06,2.6,2.94,7.56,4.71,10.27,46.22,7.51,67.88-12.94,67.88-12.94-1.8-18.1-9.58-54.72-18.91-85.41Z"}),jsx("path",{fill:"#6f7deb",d:"M1398.39,612.43s3.84,.26,4.67,2.76c0,0-5.02,20.49-15.29,24.22l10.62-26.97Z"}),jsx("path",{fill:"#6f7deb",d:"M1387.77,639.4s-9.82-17.97-9.78-20.4c0,0-3.73,3.35-3.49,5.85,0,0,8.27,13.43,13.26,14.55Z"}),jsx("path",{fill:"#6f7deb",d:"M1414.09,632.11c-.28,.97-20.31,49.54-38.28,67.44-7.87,7.84,17.2,5.57,17.44,4.12,.24-1.46,20.84-71.56,20.84-71.56Z"}),jsx("path",{fill:"#6f7deb",d:"M1370.8,712.54l1.71,27.4c54.8-12.91,50.2-101.44,50.2-101.44l-27.52,57.64-24.15,16.01s-.09,.14-.25,.39Z"}),jsx("path",{fill:"#a9c2ff",d:"M1326.37,693.41c.01,.06,.04,.09,.07,.09-.02-.04-.03-.08-.04-.1-.04-.09-.05-.09-.03,.01Z"}),jsxs("g",{children:[jsx("path",{fill:"#ff912b",d:"M1353.48,655.68l10.91,49.33c1.74,7.86-4.13,14.22-13.1,14.22h-262c-8.97,0-17.65-6.37-19.39-14.22l-10.91-49.33c-.07-.3-.12-.6-.16-.9-1.13-7.44,4.63-13.32,13.26-13.32h262c8.63,0,16.99,5.88,19.15,13.32,.1,.3,.17,.6,.24,.9Z"}),jsxs("g",{children:[jsxs("g",{children:[jsx("polygon",{fill:"#e8f2fa",points:"1089.87 697 1087.3 697 1080.51 666.3 1083.08 666.3 1089.87 697"}),jsx("polygon",{fill:"#e8f2fa",points:"1107.58 678.97 1089.17 678.97 1087.24 670.28 1105.66 670.28 1107.58 678.97"}),jsx("polygon",{fill:"#e8f2fa",points:"1116.16 691.42 1091.92 691.42 1090 682.74 1114.24 682.74 1116.16 691.42"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#e8f2fa",points:"1148.77 697 1146.2 697 1139.41 666.3 1141.98 666.3 1148.77 697"}),jsx("polygon",{fill:"#e8f2fa",points:"1152.7 678.97 1134.29 678.97 1132.37 670.28 1150.78 670.28 1152.7 678.97"}),jsx("polygon",{fill:"#e8f2fa",points:"1158.37 691.42 1134.13 691.42 1132.21 682.74 1156.45 682.74 1158.37 691.42"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#e8f2fa",points:"1207.67 697 1205.1 697 1198.31 666.3 1200.88 666.3 1207.67 697"}),jsx("polygon",{fill:"#e8f2fa",points:"1197.82 678.97 1179.4 678.97 1177.48 670.28 1195.89 670.28 1197.82 678.97"}),jsx("polygon",{fill:"#e8f2fa",points:"1200.57 691.42 1176.33 691.42 1174.41 682.74 1198.65 682.74 1200.57 691.42"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#e8f2fa",points:"1245.35 668.78 1215.1 668.78 1214.52 666.18 1244.78 666.18 1245.35 668.78"}),jsx("polygon",{fill:"#e8f2fa",points:"1228.12 671.23 1232.26 689.91 1223.69 689.91 1219.56 671.23 1228.12 671.23"}),jsx("polygon",{fill:"#e8f2fa",points:"1240.4 671.23 1245.84 695.82 1237.28 695.82 1231.84 671.23 1240.4 671.23"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#e8f2fa",points:"1292.98 682.95 1262.72 682.95 1262.14 680.35 1292.4 680.35 1292.98 682.95"}),jsx("polygon",{fill:"#e8f2fa",points:"1272.86 672.31 1276.99 690.99 1268.42 690.99 1264.29 672.31 1272.86 672.31"}),jsx("polygon",{fill:"#e8f2fa",points:"1284.48 669.36 1289.92 693.94 1281.35 693.94 1275.91 669.36 1284.48 669.36"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#e8f2fa",points:"1340.63 697.23 1310.37 697.23 1309.79 694.63 1340.05 694.63 1340.63 697.23"}),jsx("polygon",{fill:"#e8f2fa",points:"1317.78 673.28 1321.91 691.96 1313.34 691.96 1309.21 673.28 1317.78 673.28"}),jsx("polygon",{fill:"#e8f2fa",points:"1328.74 667.37 1334.18 691.96 1325.62 691.96 1320.18 667.37 1328.74 667.37"})]})]})]}),jsxs("g",{children:[jsx("path",{fill:"#ffae73",d:"M1327.16,714.82c2.99-.01,7.7-.22,10.42-1.28,0,0-8.7-.13-6.85-2.92,.34-.51,4.66-.12,9.49-.12,1.98,0,6.88,2.75,6.62,2.88,3.5-.47,6.68-1.16,7.71-1.38,.27-.06,.38-.11,.38-.11l3.09,9.13s-.65,.16-1.79,.38c-2.87,.72-8.79,2.26-14.37,4.46-7.81,3.14-13.55-.76-16.16-3.52-1.65-1.75-2.95-4.07-2.86-5.75,.1-1.84,2.5-1.76,4.32-1.77Z"}),jsx("path",{fill:"#ffae73",d:"M1348.16,715.52l1.9,7.04s2.39-.44,6.18-1.16c1.14-.22,1.79-.39,1.79-.39,3.04-.6,6.67-1.43,10.63-2.31h.06c6.78-1.65,14.37-3.63,20.77-5.83,.57-.2,1.14-.41,1.69-.61,3.78-1.42-3.53-20.9-6.84-18.47-.88,.65-1.82,1.31-2.8,1.99-5.49,3.78-12.47,7.99-18.67,11.54-3.04,1.76-5.91,3.36-8.3,4.68-3.85,2.14-6.4,3.52-6.4,3.52Z"}),jsx("path",{fill:"#899bfa",d:"M1381.53,695.79s-.4,13.3,11.88,19.77c14.19-5.2,21.78-26.66,27.64-41.4,.81-2.03,1.57-4.07,2.33-6.05,2.71-7.37,4.88-14.63,6.18-20.91,.81-3.74-14.97-22.61-16.97-18.15-3.09,7.09-6.34,16.28-9.38,25.41-1.68,5.01-3.31,10.01-4.94,14.63-.92,2.8-1.85,5.44-2.71,7.86-1.68,4.62-3.2,8.36-4.55,10.73-.87,1.54-3.36,3.69-6.67,6.11-.88,.65-1.82,1.31-2.8,1.99Z"})]})]}),jsx("polygon",{fill:"#3c4aaa",points:"1141.41 404.31 472.71 404.31 465.03 373.3 1132.98 373.3 1141.41 404.31"}),jsxs("g",{children:[jsx("path",{fill:"#e8f2fa",d:"M506.59,389.09c.87,2.78-.86,5.05-3.87,5.07-3.01,.02-6.16-2.22-7.03-4.99-.87-2.78,.86-5.05,3.87-5.07,3.01-.02,6.16,2.21,7.03,4.99Z"}),jsx("path",{fill:"#e8f2fa",d:"M529.14,388.93c.87,2.78-.86,5.05-3.87,5.07-3.01,.02-6.16-2.21-7.03-4.99-.87-2.78,.86-5.05,3.87-5.07,3.01-.02,6.16,2.21,7.03,4.99Z"}),jsx("path",{fill:"#e8f2fa",d:"M551.69,388.77c.87,2.78-.86,5.05-3.87,5.07-3.01,.02-6.16-2.21-7.03-4.99-.87-2.78,.86-5.05,3.87-5.07,3.01-.02,6.16,2.21,7.03,4.99Z"})]}),jsx("path",{fill:"#ff912b",d:"M559.5,475.35s78.71,.3,135.79,44.69c57.08,44.39,48.85,84.22,96.21,94.2,77.61,16.36,29.43-67.66,130.21-58.92l51.86,202.04h-348.7l-26.57-125.21-38.8-156.79Z"}),jsx("path",{fill:"#fff",d:"M809.47,617.1c-5.34,0-11.34-.72-18.11-2.15-26.14-5.51-35.78-20.39-47.98-39.22-10.11-15.61-22.69-35.03-48.52-55.11-16.21-12.61-44.82-29.59-89.01-38.86-26.44-5.54-46.15-5.68-46.35-5.68v-1.46c.2,0,20.06,.14,46.64,5.72,24.54,5.15,60,16.11,89.59,39.13,26.02,20.24,38.68,39.77,48.85,55.47,12.49,19.28,21.51,33.21,47.07,38.59,36.4,7.67,44.63-6.84,54.16-23.64,10.62-18.71,22.66-39.93,75.97-35.3l-.12,1.45c-52.41-4.55-64.2,16.24-74.6,34.58-4.82,8.5-9.38,16.53-17.46,21.49-5.44,3.34-12.02,4.99-20.12,4.99Z"}),jsx("path",{fill:"#fc7400",d:"M577.88,549.18l20.01,80.88,26.98,127.29h348.7l-17.58-66.1s-51.62-29.18-121.62-3.75c-70,25.44-147.49,1.96-152.48-55.25-5.62-64.51-64.06-95.58-104.01-83.08Z"}),jsx("path",{fill:"#fff",d:"M665.98,587.45c-20.04-31.44-57-47.24-87.89-37.57l-.42-1.39c31.49-9.85,69.13,6.2,89.52,38.17l-1.21,.79Z"}),jsxs("g",{children:[jsx("polygon",{fill:"#fff",points:"795.85 620.61 784.52 619.43 785.69 607.94 797.02 609.12 795.85 620.61"}),jsx("polygon",{fill:"#fff",points:"892.8 636.61 701.9 596.39 702.28 594.51 893.18 634.73 892.8 636.61"}),jsx("path",{fill:"#fff",d:"M698.84,595.11c.19-1.82,1.79-3.15,3.59-2.96,1.8,.19,3.1,1.82,2.92,3.64s-1.79,3.15-3.59,2.96c-1.8-.19-3.1-1.82-2.92-3.64Z"}),jsx("path",{fill:"#fff",d:"M889.74,635.33c.19-1.82,1.79-3.15,3.59-2.96,1.8,.19,3.1,1.82,2.92,3.64-.19,1.82-1.79,3.15-3.59,2.96-1.8-.19-3.1-1.82-2.92-3.64Z"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#fff",points:"656.9 504.31 648.61 496.38 656.42 487.98 664.71 495.9 656.9 504.31"}),jsx("polygon",{fill:"#fff",points:"687.13 528 622.39 462.58 623.73 461.23 688.46 526.64 687.13 528"}),jsx("path",{fill:"#fff",d:"M620.52,459.81c1.14-1.42,3.2-1.64,4.6-.49,1.4,1.15,1.62,3.24,.48,4.67-1.14,1.42-3.2,1.64-4.6,.49-1.4-1.15-1.62-3.24-.48-4.67Z"}),jsx("path",{fill:"#fff",d:"M685.26,525.23c1.14-1.42,3.2-1.64,4.6-.49s1.62,3.24,.48,4.67c-1.14,1.42-3.2,1.64-4.6,.49-1.4-1.15-1.62-3.24-.48-4.67Z"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#fff",points:"882.44 557.53 877.99 568.16 867.5 563.65 871.96 553.01 882.44 557.53"}),jsx("polygon",{fill:"#fff",points:"863.91 587.74 862.2 586.94 886.44 533.18 888.16 533.98 863.91 587.74"}),jsx("path",{fill:"#fff",d:"M862,590.48c-1.71-.59-2.63-2.47-2.05-4.21,.58-1.74,2.44-2.66,4.15-2.08,1.71,.59,2.63,2.47,2.05,4.21-.58,1.74-2.44,2.66-4.15,2.08Z"}),jsx("path",{fill:"#fff",d:"M886.25,536.72c-1.71-.59-2.63-2.47-2.05-4.21,.58-1.74,2.44-2.66,4.15-2.08,1.71,.59,2.63,2.47,2.05,4.21-.58,1.74-2.44,2.66-4.15,2.08Z"})]}),jsxs("g",{children:[jsx("path",{fill:"#cedfff",d:"M933.58,440.32l17.72,74.3c.76,3.18-2.2,5.76-6.61,5.76h-182.3c-4.41,0-8.6-2.58-9.35-5.76l-17.72-74.3c-.76-3.18,2.2-5.76,6.61-5.76h182.3c4.41,0,8.59,2.58,9.35,5.76Z"}),jsxs("g",{children:[jsxs("g",{children:[jsx("polygon",{fill:"#25468f",points:"781.52 483.78 762.12 483.78 757.43 464.1 776.83 464.1 781.52 483.78"}),jsx("polygon",{fill:"#25468f",points:"793.57 493.62 774.17 493.62 769.47 473.94 788.88 473.94 793.57 493.62"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#25468f",points:"826.82 483.78 807.42 483.78 802.72 464.1 822.12 464.1 826.82 483.78"}),jsxs("g",{children:[jsx("polygon",{fill:"#6b98f6",points:"838.87 493.62 819.47 493.62 814.77 473.94 834.17 473.94 838.87 493.62"}),jsx("path",{fill:"#183a76",d:"M839.9,494.47h-21.06l-5.1-21.36h21.06l5.1,21.36Zm-19.8-1.68h17.75l-4.29-18h-17.75l4.29,18Z"})]})]}),jsxs("g",{children:[jsx("polygon",{fill:"#6b98f6",points:"872.12 483.78 852.71 483.78 848.02 464.1 867.42 464.1 872.12 483.78"}),jsx("path",{fill:"#25468f",d:"M873.14,484.62h-21.06l-5.1-21.36h21.06l5.1,21.36Zm-19.8-1.68h17.75l-4.29-18h-17.75l4.29,18Z"}),jsx("polygon",{fill:"#6b98f6",points:"884.16 493.62 864.76 493.62 860.07 473.94 879.47 473.94 884.16 493.62"}),jsx("path",{fill:"#25468f",d:"M885.19,494.47h-21.06l-5.1-21.36h21.06l5.1,21.36Zm-19.8-1.68h17.75l-4.29-18h-17.75l4.29,18Z"}),jsx("polygon",{fill:"#25468f",points:"873.14 484.58 861.71 484.58 858.97 473.1 870.4 473.1 873.14 484.58"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#25468f",points:"917.41 483.78 898.01 483.78 893.31 464.1 912.72 464.1 917.41 483.78"}),jsx("polygon",{fill:"#25468f",points:"929.46 493.62 910.06 493.62 905.36 473.94 924.77 473.94 929.46 493.62"}),jsx("polygon",{fill:"#6b98f6",points:"916.86 483.31 907.97 483.31 905.84 474.37 914.73 474.37 916.86 483.31"})]})]})]}),jsxs("g",{children:[jsx("path",{fill:"#3c4aaa",d:"M429.21,674.95h-67.18c-8.96,0-17.83-7.37-19.81-16.46l-50.55-231.5c-1.98-9.09,3.67-16.46,12.63-16.46h67.18c8.96,0,17.83,7.37,19.81,16.46l50.55,231.5c1.98,9.09-3.67,16.46-12.63,16.46Z"}),jsx("rect",{fill:"#a9c2ff",height:".44",width:"99.62",y:"462.59",x:"299.49"}),jsx("rect",{fill:"#a9c2ff",height:".44",width:"99.63",y:"517.14",x:"311.4"}),jsx("rect",{fill:"#a9c2ff",height:".44",width:"99.63",y:"571.69",x:"323.31"}),jsx("path",{fill:"#fff",d:"M360.43,446.51c.13-1.17-5.02-21.24-5.02-21.24l18.26,15.01-8.97-.32-4.27,6.56Z"}),jsx("path",{fill:"#cedfff",d:"M415.47,651.23h-35.38l-7.83-35.84h35.38l7.83,35.84Zm-33.8-2h31.35l-6.95-31.85h-31.35l6.95,31.85Z"}),jsx("polygon",{fill:"#ff7536",points:"390.05 630.85 356.68 630.85 349.29 597 382.66 597 390.05 630.85"}),jsx("polygon",{fill:"#ff7536",points:"382 651.12 379.75 649.34 405.73 615.5 407.98 617.27 382 651.12"}),jsxs("g",{children:[jsx("path",{fill:"#cedfff",d:"M315.51,446.51c.13-1.17-5.02-21.24-5.02-21.24l18.26,15.01-8.97-.32-4.27,6.56Z"}),jsxs("g",{children:[jsx("polygon",{fill:"#cedfff",points:"322.59 486.27 319.9 486.27 318.83 481.4 337.08 481.4 338.1 486.08 335.41 486.08 334.99 484.13 322.12 484.13 322.59 486.27"}),jsx("polygon",{fill:"#cedfff",points:"332.96 498.16 330.27 498.16 326.91 482.76 329.6 482.76 332.96 498.16"}),jsx("polygon",{fill:"#cedfff",points:"335.38 499.13 328.28 499.13 327.68 496.4 334.79 496.4 335.38 499.13"})]}),jsx("polygon",{fill:"#cedfff",points:"371.78 500.83 369.35 499.06 382.17 478.6 384.6 480.37 371.78 500.83"}),jsxs("g",{children:[jsx("path",{fill:"#cedfff",d:"M340.97,548.52c-5.13,0-10.23-4.24-11.37-9.44-1.14-5.21,2.11-9.44,7.25-9.44s10.23,4.24,11.37,9.44c1.14,5.21-2.11,9.44-7.25,9.44Zm-3.58-16.39c-3.78,0-6.17,3.12-5.33,6.95,.84,3.83,4.59,6.95,8.37,6.95s6.17-3.12,5.33-6.95c-.84-3.83-4.59-6.95-8.37-6.95Z"}),jsx("path",{fill:"#cedfff",d:"M358.69,556.72c-.32,0-.67-.13-.97-.38l-12.38-10.57c-.58-.5-.74-1.28-.36-1.76,.38-.48,1.17-.46,1.75,.03l12.38,10.57c.58,.5,.74,1.28,.36,1.76-.19,.23-.47,.35-.78,.35Z"})]}),jsx("polygon",{fill:"#cedfff",points:"385.5 528.76 390.11 537.32 398.98 537.32 392.96 542.61 397.57 551.16 389.24 545.87 383.22 551.16 384.09 542.61 375.76 537.32 384.63 537.32 385.5 528.76"})]})]}),jsxs("g",{children:[jsx("path",{fill:"#fa8b79",d:"M1241.96,453.88s.24,13.48-1.75,13.23c-1.99-.25-4.7-11.3-4.72-11.14-.02,.17,.9,11.62-1.6,12.19-2.51,.57-5.05-12.13-5.05-12.13,0,0,1.68,10.9-.08,11.19-1.76,.29-4.54-10.28-5.27-10.31-.73-.03,2.34,9.06,.19,9.53-2.15,.46-6.94-12.33-5.32-13.96,1.62-1.63,4.15,.11,4.15,.11,0,0,3.12-2.35,5.52-1.02,0,0,5.62-1.14,7.31,1.39,0,0,3.51-3.06,6.61,.91Z"}),jsxs("g",{children:[jsx("path",{fill:"#cedfff",d:"M1278.23,402.24l45.59,166.75c1.95,7.13-2.5,12.92-9.94,12.92h-307.72c-7.44,0-15.05-5.78-17-12.92l-45.59-166.75c-1.95-7.13,2.5-12.92,9.94-12.92h307.72c7.44,0,15.05,5.78,17,12.92Z"}),jsxs("g",{children:[jsx("polygon",{fill:"#b0c0ff",points:"1038.92 477.47 999.17 477.47 988.15 437.16 1027.89 437.16 1038.92 477.47"}),jsx("polygon",{fill:"#5158bf",points:"1026.48 467.6 1006.21 467.6 1000.59 447.03 1020.86 447.03 1026.48 467.6"}),jsx("polygon",{fill:"#ff7536",points:"1000.44 478.4 997.91 476.54 1026.63 436.23 1029.16 438.08 1000.44 478.4"}),jsx("polygon",{fill:"#ff7536",points:"1010.63 455.62 970.89 455.62 959.87 415.3 999.61 415.3 1010.63 455.62"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#ff7536",points:"1033.21 525.04 1001.26 525.04 992.4 492.63 1024.35 492.63 1033.21 525.04"}),jsx("polygon",{fill:"#fc7600",points:"1064.86 525.04 1032.91 525.04 1024.05 492.63 1056 492.63 1064.86 525.04"}),jsx("polygon",{fill:"#ff8111",points:"1096.81 525.04 1064.86 525.04 1056 492.63 1087.95 492.63 1096.81 525.04"}),jsx("polygon",{fill:"#6b98f6",points:"1128.76 525.04 1096.81 525.04 1087.95 492.63 1119.9 492.63 1128.76 525.04"}),jsx("polygon",{fill:"#899bfa",points:"1160.71 525.04 1128.76 525.04 1119.9 492.63 1151.85 492.63 1160.71 525.04"}),jsx("polygon",{fill:"#697ee3",points:"1192.66 525.04 1160.71 525.04 1151.85 492.63 1183.8 492.63 1192.66 525.04"}),jsx("polygon",{fill:"#5158bf",points:"1224.61 525.04 1192.66 525.04 1183.8 492.63 1215.75 492.63 1224.61 525.04"}),jsx("polygon",{fill:"#25468f",points:"1256.56 525.04 1224.61 525.04 1215.75 492.63 1247.7 492.63 1256.56 525.04"}),jsx("polygon",{fill:"#a1b3ff",points:"1042.07 557.45 1010.12 557.45 1001.26 525.04 1033.21 525.04 1042.07 557.45"}),jsx("polygon",{fill:"#899bfa",points:"1073.72 557.45 1041.77 557.45 1032.91 525.04 1064.86 525.04 1073.72 557.45"}),jsx("polygon",{fill:"#5158bf",points:"1105.67 557.45 1073.72 557.45 1064.86 525.04 1096.81 525.04 1105.67 557.45"}),jsx("polygon",{fill:"#25468f",points:"1137.62 557.45 1105.67 557.45 1096.81 525.04 1128.76 525.04 1137.62 557.45"})]}),jsx("path",{fill:"#ff8111",d:"M1258.13,429.21h-167.36c-2.3,0-4.7-1.91-5.34-4.24h0c-.64-2.33,.72-4.24,3.02-4.24h167.36c2.3,0,4.7,1.91,5.34,4.24h0c.64,2.33-.72,4.24-3.02,4.24Z"}),jsx("path",{fill:"#6b98f6",d:"M1263.98,450.63h-167.36c-2.3,0-4.7-1.91-5.34-4.24h0c-.64-2.33,.72-4.24,3.02-4.24h167.36c2.3,0,4.7,1.91,5.34,4.24h0c.64,2.33-.72,4.24-3.02,4.24Z"}),jsx("path",{fill:"#5158bf",d:"M1269.84,472.05h-167.36c-2.3,0-4.7-1.91-5.34-4.24h0c-.64-2.33,.72-4.24,3.02-4.24h167.36c2.3,0,4.7,1.91,5.34,4.24h0c.64,2.33-.72,4.24-3.02,4.24Z"}),jsxs("g",{children:[jsx("path",{fill:"#5158bf",d:"M1062.31,418.73h5.04c2.65,0,4.59,1.44,5.2,3.65,.51,1.88-.29,3.01-1.75,3.47l4.24,4.34h-2.34l-3.9-4h-2.45l1.09,4h-1.99l-3.14-11.47Zm6.45,5.68c1.42,0,2.12-.75,1.79-1.95-.34-1.23-1.39-1.9-2.86-1.9h-2.89l1.05,3.85h2.91Z"}),jsx("path",{fill:"#5158bf",d:"M1068.12,446.11c-.88-3.21,.8-5.93,4.21-5.93,1.97,0,3.33,.56,4.77,1.56l-.84,1.52c-1.08-.75-2.06-1.23-3.5-1.23-2.08,0-3.16,1.85-2.55,4.08,.64,2.36,2.65,4.1,4.96,4.1,1.07,0,1.94-.34,2.49-.87l-.59-2.15h-2.89l-.48-1.75h4.81l1.32,4.82c-.85,.97-2.23,1.79-4.23,1.79-3.54,0-6.56-2.56-7.48-5.93Z"}),jsx("path",{fill:"#5158bf",d:"M1074.44,463.09h5.07c1.29,0,2.41,.36,3.23,1.02,.64,.51,1.07,1.13,1.29,1.93,.38,1.38-.2,2.11-.92,2.56,1.45,.46,2.58,1.23,3.01,2.82,.56,2.05-.8,3.15-3.32,3.15h-5.23l-3.14-11.47Zm5.99,4.83c1.28,0,1.99-.51,1.7-1.59-.25-.9-1.11-1.46-2.38-1.46h-2.86l.83,3.05h2.71Zm1.91,4.85c1.36,0,2.03-.54,1.74-1.61-.26-.97-1.18-1.54-2.75-1.54h-3.15l.86,3.15h3.29Z"})]})]})]}),jsxs("g",{children:[jsxs("g",{children:[jsx("path",{fill:"#ffae73",d:"M640.44,422.49c-.89,1.03-1,2.18-.56,3.41,0,0,0,.01,0,.02,.81,2.27,3.49,4.81,6.6,7.35,.4,.33,.75,.62,1.06,.9,.08,.07,.16,.14,.24,.22,.06,.06,.12,.11,.18,.17,2.9,2.71,1.81,3.34,7.03,8.85,5.95,6.28,10.04,6.39,11.21,5.82,.99-.49-1.02-3.82-3.23-7.56-.11-.18-.21-.36-.32-.55-.3-.5-.59-1-.88-1.5-2.6-4.5-1.93-6.62-1.32-13.32,.5-5.45,8.35-30.42,8.35-30.42l-11.4-1.99s-3.43,19.89-7.21,22.95c-2.02,1.63-4.29,1.65-6.23,2.86-.14,.08-.27,.17-.4,.26-1.1,.74-2.23,1.51-3.12,2.54Z"}),jsx("path",{fill:"#1e3865",d:"M640.44,422.49c-.89,1.03-1,2.18-.56,3.41,0,0,0,.01,0,.02,.99,2.27,3.61,4.8,6.62,7.33,.39,.33,.74,.64,1.05,.92,.08,.07,.16,.14,.24,.22,.06,.06,.12,.11,.18,.17,2.9,2.71,1.81,3.34,7.03,8.85,5.95,6.28,10.04,6.39,11.21,5.82,.99-.49-1.02-3.82-3.23-7.56-1.16-.43-6.54-2.65-10.6-7.92-3.45-4.47-5.79-10.16-8.14-13.65-.26-.05-.41-.08-.67-.13-1.1,.74-2.23,1.51-3.12,2.54Z"}),jsx("path",{fill:"#ffae73",d:"M732.33,415.27c.7,3.57,5.72,2.97,11.32,1.58,5.6-1.39,4.27,.26,12.24-.63,7.97-.9,10.39-3.91,10.63-5.11,.22-1.07-3.72-1.44-7.95-1.94-.53-.06-1.07-.13-1.6-.19-4.77-.61-8.26-3.73-12.6-6.29-4.1-2.43-10.23-12.33-10.23-12.33l-10.93,.88s5.74,8.84,7.96,12.68c1.31,2.26,1.24,5.25,1.07,7.56-.08,1.25-.17,2.54,.08,3.79Z"}),jsx("path",{fill:"#1e3865",d:"M743.65,416.85c5.6-1.39,4.27,.26,12.24-.63,7.97-.9,10.39-3.91,10.63-5.11,.22-1.07-3.72-1.44-7.95-1.94l-.04,.08s-4.78,3.44-11.42,3.6c-5.41,.13-11.14-1.44-14.87-1.38-.08,1.25-.17,2.54,.08,3.79,.7,3.57,5.72,2.97,11.32,1.58Z"}),jsx("path",{fill:"#f28018",d:"M690.43,344.35l-10.22,27.9-13.34,36.43s-3.62,.35-7.09-.66c-3.19-.94-6.86-3.39-6.86-3.39,0,0,3.71-39.12,10.62-61.57,1.77-5.76,3.76-10.43,5.95-13.05,10.72-12.85,20.95,14.33,20.95,14.33Z"}),jsx("path",{fill:"#ff912b",d:"M680.04,300.04c-5.82-1.9-21-.03-37.47,2.99-4.55,.84-9.14-1.27-11.53-5.28h0l-41.44-3.28s-13.68,30.76-6.19,50.36c1.1,2.88,3.52,4.68,7.24,4.74h0s25.04,.04,33.05,.04c20.61,0,43.62-14.37,46.59-14.97,4.87-.99,6.82,8.89,11.69,19.27,4.87,10.38,45.79,45.96,45.79,45.96,0,0,6.29,.06,8.89-.92,2.79-1.06,3.82-2.44,3.82-2.44,0,0-45.34-91.51-60.45-96.45Z"}),jsx("path",{fill:"#10294c",d:"M626.64,174.3c-3.08-1.86-6.08-2.14-7.92-2.09-1.28,.04-2.56-.05-3.82-.23-15.82-2.35-25.34,20.95-25.9,27.99-1.02,12.93-7.77,14.9-17.26,23-19.03,16.23-13.45,35.1-3.04,42.11,6.24,4.21,17.25,0,17.25,0,.16,.11,30.09-16.98,44.85-25.22,22.12-3.19,4.73-60.19-4.16-65.55Z"}),jsx("path",{fill:"#ffae73",d:"M618.43,232.84c.06,.04-7.26,2.58-12.16,.38-4.61-2.07-8.1-9.76-8.03-9.76,2.1-.1,4.4-1.96,6.17-14.16l.89,.32,15.01,5.48s-1.09,4.89-1.79,9.54c-.59,3.91-.91,7.65-.09,8.2Z"}),jsx("path",{fill:"#f9924f",d:"M620.31,215.1s-.6,2.64-1.47,7.56c-8.62-1.57-12.32-8.31-13.54-13.04l15.01,5.48Z"}),jsx("path",{fill:"#ffae73",d:"M622.54,219.95s-20.53-2.8-18.62-15.74c1.91-12.95,.55-22.02,13.74-20.79,13.19,1.24,15,6.56,15.4,11.04,.4,4.48-5.13,25.88-10.52,25.49Z"}),jsx("path",{fill:"#10294c",d:"M632.32,187.37s-13.15,11.49-22.09,12.42c-8.94,.93-12.33-1.98-12.33-1.98,0,0,5.27-4.44,8.44-11.6,.93-2.11,2.91-3.56,5.18-3.76,6.38-.56,18.49-.81,20.79,4.93Z"}),jsx("path",{fill:"#10294c",d:"M624.1,186.34s4.4,4.31,5.78,7.51c1.34,3.09,1.74,10.47,.67,13.4,0,0,6.85-13.51,2.97-20.08-4.11-6.96-9.43-.84-9.43-.84Z"}),jsx("path",{fill:"#899bfa",d:"M635.72,263.52c-.62,42.17-.17,33.35-4.72,37.36-1.1,.96-4.18,1.54-8.23,1.81-12.75,.86-35.15-1.27-36-3.66-2.94-8.27-.86-10.84-3.32-23.49-.26-1.35-.57-2.8-.94-4.39-2.05-8.69-4.04-11.65,3.22-25.62,6.58-12.65,13.42-22.92,14.03-22.55,17.36,10.45,18.76,1.67,18.76,1.67,0,0,17.51,18.31,17.2,38.88Z"}),jsx("path",{fill:"#ff912b",d:"M680.21,372.25l-13.34,36.43s-3.62,.35-7.09-.66c-3.19-.94-6.86-3.39-6.86-3.39,0,0,3.71-39.12,10.62-61.57l16.67,29.18Z"}),jsx("path",{fill:"#899bfa",d:"M618.52,224.64s17.86,3.07,19.96,10.87c2.1,7.8,9,55.16,9,55.16,0,0-5.04,4.99-9.23,.73-4.19-4.26-13.2-44.31-13.2-44.31l-6.53-22.46Z"}),jsx("path",{fill:"#6f7deb",d:"M622.77,302.69c-12.75,.86-35.15-1.27-36-3.66-2.94-8.27-.86-10.84-3.32-23.49l6.15-17.56s-1.02,19.55,4.67,24.7c5.68,5.14,23.28,9.93,26.04,14.23,1.33,2.06,2.21,4.13,2.47,5.79Z"}),jsx("path",{fill:"#ffae73",d:"M608.17,294.46s12.57-2.84,14.6-1.71c2.03,1.13,6.99,5.25,7.61,6.69,.62,1.43-4.52-1.09-6.19-1.54-1.08-.29-3.93,.71-5.34,1.19-5.93,2.01-9.57,.97-9.57,.97l-1.11-5.6Z"}),jsx("path",{fill:"#899bfa",d:"M599.74,222.97s-16.88,1.05-22.73,9.32c-8.23,11.64-24.55,61.25-15.2,67.87,10.53,7.45,47.95,1.95,47.95,1.95,0,0,1.24-5.9-.49-8.76-1.73-2.86-29.88-7.47-31.18-8.79-1.3-1.32,16.24-25.7,16.24-29.65s5.41-31.95,5.41-31.95Z"}),jsx("path",{fill:"#ffae73",d:"M623.38,296.31s2.63,3.45,3.5,3.86c.86,.41,1.42,.31,1.42,.31l-1.78-3.24-3.14-.93Z"}),jsx("path",{fill:"#ffae73",d:"M622.77,292.76l7.66,3.77s-.33,.54-1.27,.5c-.94-.04-3.32-.93-3.32-.93l-3.07-3.34Z"})]}),jsxs("g",{children:[jsx("polygon",{fill:"#10294c",points:"688.18 301.63 608.17 301.63 608.17 303.42 687.47 303.42 688.18 301.63"}),jsx("polygon",{fill:"#10294c",points:"626.88 303.42 687.47 303.42 705.7 257.44 645.2 257.44 626.88 303.42"}),jsx("path",{fill:"#e8f2fa",d:"M672.18,280.43c.46-1.62-.46-2.93-2.06-2.93s-3.26,1.31-3.71,2.93,.46,2.93,2.06,2.93,3.26-1.31,3.71-2.93Z"})]})]}),jsx("polygon",{fill:"#fff",points:"666.18 584.13 672.4 589.62 666.99 595.92 660.77 590.43 666.18 584.13"}),jsxs("g",{children:[jsx("path",{fill:"#f28018",d:"M586.7,695.57c-1.24-4.18-1.86-4.55-1.86-4.55,0,0-38.53,4.87-45.07,4.44-3.88-.25-50.15-15.91-50.15-15.91l-28.09,27.33s69.67,11.64,79.49,10.88c16.23-1.26,41-15.79,41-15.79,0,0,5.65-3.12,4.67-6.4Z"}),jsx("path",{fill:"#104c82",d:"M481.4,1007.55s.54,13.24,3.05,16.46l34.88,.2c-.24-1.37-.39-4.52-5.21-5.38-6.09-1.08-13.25-5.39-16.94-13.56-3.88-8.6-15.77,2.27-15.77,2.27Z"}),jsx("path",{fill:"#104c82",d:"M412.95,1005.64s-2.43,17.59,.87,17.9c.44,.04,14.05,.26,19.95,.36,6.93,.12,18.33-.13,18.33-.13,1.43,.06,2.37-1.51,1.64-2.77-.8-1.37-2.33-2.84-5.24-3.41-6.07-1.19-16.2-5.71-19.74-13.95-3.73-8.66-15.8,1.99-15.8,1.99Z"}),jsx("path",{fill:"#6f7deb",d:"M499.53,825.34s-9.7,34.42-37.49,94.2c-27.79,59.78-29,88.58-29,88.58,0,0-4.21,1.51-9.79,.91-6.04-.65-10.3-3.39-10.3-3.39,0,0,1.8-71.15,14.93-101.31,13.13-30.17,15.8-112.71,15.8-112.71l55.84,33.73Z"}),jsx("path",{fill:"#899bfa",d:"M515.1,795.72s.77,53.3-8.32,118.75c-9.09,65.44-4.84,95.88-4.84,95.88,0,0-2.41,1.78-9.82,1.75-8.68-.03-13.12-3.67-13.12-3.67,0,0-13.01-65.47-9.28-98.23,3.73-32.76-17.82-112.4-17.82-112.4l63.2-2.08Z"}),jsx("path",{fill:"#ffae73",d:"M493.98,662.86c-.09,4.18-.64,8.74-2.29,10.97l-9.25,4.93-10.26-7.71s3.76-8.46,2.84-20.82c-.09-.74-.46-5.48-.46-5.58l5.13,2.6,13.93,7.06s0,.28,.09,.65c.09,1.4,.28,4.46,.28,7.9Z"}),jsx("path",{fill:"#ff912b",d:"M442.72,802.31c3.36,15.58,75.23,8.74,74.29-.77-.04-.32-.22-4.72-.48-10.65-.54-12.83-1.38-32.89-1.48-34.45,0-.03,0-.05,0-.08-1.29-13.24-2.54-26.19-2.62-34.65-.07-7.34-1.07-14.84-2.39-21.65-1.22-6.29-2.72-11.99-4.03-16.44-.92-3.13-2.63-5.89-4.9-8.05-1.62-1.54-3.51-2.78-5.6-3.62-.57-.24-1.15-.44-1.74-.62-8.46-2.49-16.99-5.66-20.16-4.72-8.59,2.56-18.15,18-22.67,37.55-8.46,36.6-10.41,88-8.21,98.15Z"}),jsx("path",{fill:"#ffa05e",d:"M493.98,662.86c-5.22-2.14-15.21-6.97-17.96-12.45-1.19-2.42,.64-3.16,3.66-3.16l13.93,7.06s0,.28,.09,.65c.09,1.4,.28,4.46,.28,7.9Z"}),jsx("path",{fill:"#ffae73",d:"M500.32,653.44s-25.01,7.91-29.63-7.96c-4.62-15.87-10.96-25.54,4.82-31.27,15.77-5.72,20.65-.6,23.46,4.32,2.81,4.92,7.74,32.44,1.35,34.91Z"}),jsx("path",{fill:"#0b3563",d:"M497.99,617s-1.59,18.47-5.36,17.67c-3.77-.8-7.18-1.4-6.63,4.17,.55,5.57,.73,12.26-10.88,13.25-11.61,.99-23.25-29.64-20.06-35.39,9.2-16.59,56.22-19.93,42.93,.3Z"}),jsx("path",{fill:"#f28018",d:"M516.52,790.89c-.54-12.83-1.38-32.89-1.48-34.45,0-.03,0-.05,0-.08l-42.46-25.75s-1.64,60.11,43.95,60.29Z"}),jsxs("g",{children:[jsxs("g",{children:[jsx("path",{fill:"#0b3563",d:"M663,586.79l7.65,6.75s-13.11,14.24-11.89,29.23l-19.58,16.77-16.21-14.32,13.56-22.81s14.53-.53,26.48-15.63Z"}),jsx("path",{fill:"#fff",d:"M643.1,611.15c1.58-1.84,4.33-2.03,6.15-.43,1.81,1.6,2.01,4.39,.43,6.23-1.58,1.84-4.33,2.03-6.15,.43-1.81-1.6-2.01-4.39-.43-6.23Z"}),jsx("polygon",{fill:"#fff",points:"644.37 617.69 643.11 616.58 666.23 589.63 667.49 590.74 644.37 617.69"})]}),jsx("polygon",{fill:"#6d76ff",points:"635.64 643.68 619.42 629.36 622.96 625.23 639.18 639.54 635.64 643.68"}),jsx("path",{fill:"#0b3563",d:"M458.23,834.69l-.79-.69c-4.26-3.76-4.71-10.32-1-14.64l162.97-190,16.22,14.32-162.97,190c-3.71,4.32-10.17,4.78-14.43,1.02Z"})]}),jsx("path",{fill:"#ffae73",d:"M549.94,736.45s3.13-2.82,3.87-4.77c.25-.68,2.39-3.74,6.03-3.47,3.33,.25,9.24-6.94,9.24-6.94,.86,1.9,3.83,9.03-.42,12.65-3.47,2.95-11.81,8.05-16.87,11.41-5.44,3.61-1.85-8.88-1.85-8.88Z"}),jsx("path",{fill:"#ff912b",d:"M550.35,735.4s-42.11,7.26-45.84,5.42c-5.96-2.94,2.31-46.28,2.31-46.28,0,0,.36-9.82-10.96-12.14-9.83-2.01-19.31,5.46-19.31,5.46,0,0-8.63,7.83-7.52,16.51,2.44,19.25,6.24,58.39,18.93,64.39,16.37,7.74,63.73-21.46,63.73-21.46,0,0,1.58-1.96,1.35-5.6-.2-3.21-2.7-6.3-2.7-6.3Z"}),jsx("path",{fill:"#ffae73",d:"M588.46,698.68s10.63-3.93,9.69-9.44c-.94-5.51-4.25-4.82-6.25-2.92-2,1.9-.89,11.66-3.44,12.36Z"}),jsx("path",{fill:"#ffae73",d:"M553.07,733.63s1.45-4.32,3-6.17c1.55-1.85,2.2-4.99,2.91-3.95,.7,1.05-.56,4.8,0,6.23,.56,1.43-5.9,3.89-5.9,3.89Z"})]}),jsx("rect",{fill:"#a9c2ff",height:"67.09",width:"190.42",y:"956.62",x:"1304.39"}),jsx("rect",{fill:"#1e3865",ry:"2.37",rx:"2.37",height:"4.74",width:"1620",y:"1023.26"})]})})})]}),Ie=jt;Q();var {Title:m2}=Typography,d2=o=>{let{children:t}=o,[s,n]=useSearchParams(),i=e1(h=>h.token),p=e1(h=>h.setToken),[r,l]=useState(!1),f=B(),{isLoading:g}=Ut(s.has("ticket")?{url:"/api/usystem/user/login",params:{ticket:s.get("ticket")}}:null,h=>f.request(h),{onSuccess:h=>{p(h.token);}});return useEffect(()=>{s.has("not_registered")&&(l(!0),s.delete("not_registered"),n(s));},[s,n]),g?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100vw",height:"100vh"}}):i?jsx(Navigate,{replace:!0,to:"/"}):jsxs(Row,{children:[jsx(Col,{span:10,offset:3,children:jsx("div",{className:"h-screen flex justify-end items-center",children:jsx(Ie,{})})}),jsx(Col,{span:5,offset:3,children:jsx("div",{className:"h-screen relative",children:jsxs(Card,{hoverable:!0,className:"absolute left-0 right-0 top-1/2 -translate-y-1/2",children:[r&&jsx("div",{className:"absolute -top-12 left-0 right-0",children:jsx(Alert,{banner:!0,closable:!0,message:"\u60A8\u8FD8\u672A\u5728\u5E73\u53F0\u6CE8\u518C\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",type:"error",onClose:()=>{l(!1);}})}),jsxs("div",{className:"text-center mb-6",children:[jsx(m2,{level:5,children:"\u767B\u5F55\u65B9\u5F0F"}),jsx("div",{className:"min-h-10",children:t})]}),jsx(Divider,{plain:!0,children:"\u7B2C\u4E09\u65B9\u767B\u5F55\u65B9\u5F0F"}),jsx("div",{className:"w-full flex justify-center",children:jsx(Space,{size:"small",children:jsx(Button,{type:"link",size:"small",shape:"round",icon:jsx(AliyunOutlined,{}),href:`${Re}/login?service=${encodeURIComponent(window.location.origin)}/login`,target:"_self",children:"IDass \u767B\u5F55"})})})]})})})]})},u2=d2;a();var w2=()=>{let o=useNavigate();return jsx("div",{className:"h-screen flex justify-center items-center",children:jsx(Result,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:jsx(Button,{type:"primary",onClick:()=>{o("/");},children:"Back Home"})})})},b2=w2;a();var Y2=lazy(()=>Promise.resolve().then(()=>(Qe(),Oe))),eo=lazy(()=>Promise.resolve().then(()=>(_e(),He))),to=lazy(()=>Promise.resolve().then(()=>(Ge(),We))),oo={path:"permission",children:[{index:!0,element:jsx(Navigate,{relative:"path",to:"user"})},{path:"user",element:jsx(Y2,{})},{path:"role",element:jsx(eo,{})},{path:"role/:name",element:jsx(to,{})}]},so=oo;a();a();a();Q();q();var po=(o,t)=>o?t?jsx(Link,{to:t,children:o}):o:jsx(Fragment,{});function $e(o,t){let s=[];for(let p=0;p<o.length;p++)if(o[p]===null)s[p]=null;else if(o[p].type==="divider")s[p]=v({},o[p]);else if(o[p].children){let n=o[p],{children:r}=n,l=K(n,["children"]);s[p]=S(v({},l),{children:$e(r!=null?r:[],t)});}else {let i=o[p],{route:r,label:l,code:f}=i,g=K(i,["route","label","code"]),h=!f||!t||t[f];s[p]=h?S(v({},g),{label:po(l,r)}):null;}return s}function je(o,t=[],s=[]){for(let n of o){let i=n.children;if(Array.isArray(i)){let p=n.type!=="group"&&n.key?[...s,n.key]:s;je(i,t,p);}else t.push(Object.assign(n,{keypath:s}));}return t}var fo=o=>{let{items:t}=o,s=useLocation(),n=useMemo(()=>je(t!=null?t:[]),[t]),i=n.map(d=>d.code).filter(Boolean),{data:p}=L1(i),r=useMemo(()=>$e(t!=null?t:[],p),[t,p]),l=i1(d=>d.openKeys),f=i1(d=>d.selectedKeys),g=i1(d=>d.setOpenKeys),h=i1(d=>d.setSelectedKeys),x=useCallback(d=>{var m;let M=d==null?void 0:d.find(y=>(l==null?void 0:l.indexOf(y))===-1),F=n.find(y=>M===y.key),u=(m=F==null?void 0:F.keypath)!=null?m:[M];g(u);},[n,l,g]);return useEffect(()=>{let d=n.find(M=>s.pathname===M.route);if(d){let M=d.key,F=d.keypath;h([M]),g(F);}},[n,s,g,h]),jsx(Menu,{style:{borderRight:"none"},items:r,mode:"inline",openKeys:l,selectedKeys:f,onOpenChange:x})},Je=fo;Q();var {Header:yo,Sider:wo,Content:bo}=Layout,{ErrorBoundary:Mo}=Alert,xo=o=>{let{title:t,items:s,header:n,children:i}=o,{token:{colorBgContainer:p,colorBorder:r}}=theme.useToken();return A("100001"),jsx(Layout,{hasSider:!0,className:"h-screen",children:jsx(Mo,{children:jsxs(Suspense,{fallback:jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"100vw",height:"100vh"}}),children:[jsxs(wo,{width:256,style:{overflow:"auto",height:"100vh",position:"fixed",left:0,top:0,bottom:0,borderRightWidth:1,borderRightStyle:"solid",borderRightColor:r},theme:"light",children:[jsxs("div",{className:"flex items-end px-6 py-4",children:[jsx("img",{src:mo,alt:"logo",className:"w-8 h-8"}),jsx(Link,{className:"font-bold text-lg ml-2",to:"/",children:t})]}),jsx(Je,{items:s})]}),jsxs(Layout,{className:"ml-64",children:[jsx(yo,{style:{padding:"0 24px",background:p,borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:r},children:n}),jsx(bo,{className:"p-6 overflow-auto bg-gray-50",children:jsx(Suspense,{fallback:jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"50vh"}}),children:i})})]})]})})})},Po=xo;
75
17
 
76
- // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js
77
- var init_esm_shims = __esm({
78
- "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.27_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js"() {
79
- }
80
- });
81
- var DynamicTags, DynamicTags_default;
82
- var init_DynamicTags = __esm({
83
- "src/components/DynamicTags/index.tsx"() {
84
- init_esm_shims();
85
- DynamicTags = (props) => {
86
- const { initialTags, addable, removable, addCallback, removeCallback } = props;
87
- const { token } = theme.useToken();
88
- const [tags, setTags] = useState([]);
89
- const [inputVisible, setInputVisible] = useState(false);
90
- const [inputValue, setInputValue] = useState("");
91
- const [editInputIndex, setEditInputIndex] = useState(-1);
92
- const [editInputValue, setEditInputValue] = useState("");
93
- const inputRef = useRef(null);
94
- const editInputRef = useRef(null);
95
- useEffect(() => {
96
- setTags(initialTags != null ? initialTags : []);
97
- }, [initialTags]);
98
- useEffect(() => {
99
- var _a;
100
- if (inputVisible) {
101
- (_a = inputRef.current) == null ? void 0 : _a.focus();
102
- }
103
- }, [inputVisible]);
104
- useEffect(() => {
105
- var _a;
106
- (_a = editInputRef.current) == null ? void 0 : _a.focus();
107
- }, [inputValue]);
108
- const handleClose = (removedTag) => __async(void 0, null, function* () {
109
- const success = yield removeCallback == null ? void 0 : removeCallback(removedTag);
110
- if (success) {
111
- const newTags = tags.filter((tag) => tag !== removedTag);
112
- setTags(newTags);
113
- }
114
- });
115
- const showInput = () => {
116
- setInputVisible(true);
117
- };
118
- const handleInputChange = (e) => {
119
- setInputValue(e.target.value);
120
- };
121
- const handleInputConfirm = () => __async(void 0, null, function* () {
122
- if (inputValue && tags.indexOf(inputValue) === -1) {
123
- const success = yield addCallback == null ? void 0 : addCallback(inputValue);
124
- if (success) {
125
- setTags([...tags, inputValue]);
126
- }
127
- }
128
- setInputVisible(false);
129
- setInputValue("");
130
- });
131
- const handleEditInputChange = (e) => {
132
- setEditInputValue(e.target.value);
133
- };
134
- const handleEditInputConfirm = () => {
135
- const newTags = [...tags];
136
- newTags[editInputIndex] = editInputValue;
137
- setTags(newTags);
138
- setEditInputIndex(-1);
139
- setInputValue("");
140
- };
141
- const tagInputStyle = {
142
- width: 78,
143
- verticalAlign: "top"
144
- };
145
- const tagPlusStyle = {
146
- background: token.colorBgContainer,
147
- borderStyle: "dashed"
148
- };
149
- return /* @__PURE__ */ jsxs(Space, { wrap: true, size: [0, 8], children: [
150
- /* @__PURE__ */ jsx(Space, { wrap: true, size: [0, 8], children: tags.map((tag, index) => {
151
- if (editInputIndex === index) {
152
- return /* @__PURE__ */ jsx(
153
- Input,
154
- {
155
- ref: editInputRef,
156
- size: "small",
157
- style: tagInputStyle,
158
- value: editInputValue,
159
- onChange: handleEditInputChange,
160
- onBlur: handleEditInputConfirm,
161
- onPressEnter: handleEditInputConfirm
162
- },
163
- tag
164
- );
165
- }
166
- return /* @__PURE__ */ jsx(
167
- Tag,
168
- {
169
- closable: removable,
170
- style: { userSelect: "none" },
171
- onClose: (e) => __async(void 0, null, function* () {
172
- e.preventDefault();
173
- yield handleClose(tag);
174
- }),
175
- children: /* @__PURE__ */ jsx(
176
- "span",
177
- {
178
- onDoubleClick: (e) => {
179
- if (index !== 0) {
180
- setEditInputIndex(index);
181
- setEditInputValue(tag);
182
- e.preventDefault();
183
- }
184
- },
185
- children: tag
186
- }
187
- )
188
- },
189
- tag
190
- );
191
- }) }),
192
- addable && (inputVisible ? /* @__PURE__ */ jsx(
193
- Input,
194
- {
195
- ref: inputRef,
196
- type: "text",
197
- size: "small",
198
- style: tagInputStyle,
199
- value: inputValue,
200
- onChange: handleInputChange,
201
- onBlur: handleInputConfirm,
202
- onPressEnter: handleInputConfirm
203
- }
204
- ) : /* @__PURE__ */ jsxs(Tag, { style: tagPlusStyle, onClick: showInput, children: [
205
- /* @__PURE__ */ jsx(PlusOutlined, {}),
206
- "\xA0\u6DFB\u52A0"
207
- ] }))
208
- ] });
209
- };
210
- DynamicTags_default = DynamicTags;
211
- }
212
- });
213
- var FilterForm, FilterForm_default;
214
- var init_FilterForm = __esm({
215
- "src/components/FilterForm/index.tsx"() {
216
- init_esm_shims();
217
- FilterForm = (props) => {
218
- const _a = props, { children, confirmText, form, onReset } = _a, restProps = __objRest(_a, ["children", "confirmText", "form", "onReset"]);
219
- const { token } = theme.useToken();
220
- const formStyle = {
221
- maxWidth: "none",
222
- background: token.colorFillAlter,
223
- borderWidth: token.lineWidth,
224
- borderStyle: token.lineType,
225
- borderColor: token.colorBorder,
226
- borderRadius: token.borderRadiusLG,
227
- padding: 24,
228
- marginBottom: 24
229
- };
230
- return /* @__PURE__ */ jsx(Form, __spreadProps(__spreadValues({}, restProps), { form, autoComplete: "off", children: children && /* @__PURE__ */ jsx("div", { style: formStyle, children: /* @__PURE__ */ jsxs(Row, { gutter: 18, children: [
231
- children,
232
- /* @__PURE__ */ jsx(Col, { flex: "auto" }),
233
- /* @__PURE__ */ jsx(Col, { flex: "auto", span: 24, style: { textAlign: "right" }, children: /* @__PURE__ */ jsxs(Space, { children: [
234
- /* @__PURE__ */ jsx(Button, { type: "primary", htmlType: "submit", children: confirmText || "\u67E5\u8BE2" }),
235
- /* @__PURE__ */ jsx(Button, { htmlType: "reset", onClick: onReset, children: "\u91CD\u7F6E" })
236
- ] }) })
237
- ] }) }) }));
238
- };
239
- FilterForm_default = FilterForm;
240
- }
241
- });
242
- var InternalFormModal, FormModal, FormModal_default;
243
- var init_FormModal = __esm({
244
- "src/components/FormModal/index.tsx"() {
245
- init_esm_shims();
246
- InternalFormModal = (props, ref) => {
247
- const {
248
- width,
249
- children,
250
- title,
251
- open,
252
- footer,
253
- layout,
254
- labelCol,
255
- bodyStyle,
256
- initialValues,
257
- maskClosable,
258
- closeFn,
259
- afterClose,
260
- onConfirm
261
- } = props;
262
- const id = useId();
263
- const [form] = Form.useForm();
264
- const formRef = useRef(null);
265
- const isRenderProps = typeof children === "function";
266
- const [confirmLoading, setConfirmLoading] = useState(false);
267
- useImperativeHandle(ref, () => {
268
- return {
269
- setFieldsValue(values) {
270
- var _a;
271
- (_a = formRef.current) == null ? void 0 : _a.setFieldsValue(values);
272
- }
273
- };
274
- });
275
- return /* @__PURE__ */ jsx(
276
- Modal,
277
- {
278
- destroyOnClose: true,
279
- bodyStyle,
280
- style: { textAlign: "start" },
281
- width,
282
- open,
283
- title,
284
- forceRender: true,
285
- getContainer: false,
286
- maskClosable,
287
- footer: typeof footer === "object" ? footer : [
288
- /* @__PURE__ */ jsx(
289
- Button,
290
- {
291
- onClick: () => {
292
- closeFn == null ? void 0 : closeFn();
293
- },
294
- children: "\u53D6\u6D88"
295
- },
296
- "cancel"
297
- ),
298
- /* @__PURE__ */ jsx(Button, { form: id, type: "primary", htmlType: "submit", loading: confirmLoading, children: "\u786E\u5B9A" }, "submit")
299
- ],
300
- afterClose: () => {
301
- afterClose == null ? void 0 : afterClose();
302
- form.resetFields();
303
- },
304
- onCancel: closeFn,
305
- children: /* @__PURE__ */ jsx(
306
- Form,
307
- {
308
- form,
309
- ref: formRef,
310
- id,
311
- autoComplete: "off",
312
- labelAlign: "right",
313
- labelWrap: true,
314
- layout,
315
- initialValues,
316
- labelCol: labelCol || {
317
- flex: !layout || layout === "horizontal" ? "120px" : "0"
318
- },
319
- onFinish: (values) => __async(void 0, null, function* () {
320
- try {
321
- setConfirmLoading(true);
322
- yield onConfirm == null ? void 0 : onConfirm(values);
323
- closeFn == null ? void 0 : closeFn();
324
- form.resetFields();
325
- } finally {
326
- setConfirmLoading(false);
327
- }
328
- }),
329
- children: isRenderProps ? children({ form, open, closeFn }) : children
330
- }
331
- )
332
- }
333
- );
334
- };
335
- FormModal = forwardRef(InternalFormModal);
336
- FormModal_default = FormModal;
337
- }
338
- });
339
- function useFormModal(props) {
340
- const _a = props, { content, onConfirm } = _a, restProps = __objRest(_a, ["content", "onConfirm"]);
341
- const [open, setOpen] = useState(false);
342
- const [title, setTitle] = useState();
343
- const formRef = useRef(null);
344
- const showModal = (options) => {
345
- var _a2, _b;
346
- setTitle((_a2 = options == null ? void 0 : options.title) != null ? _a2 : restProps.title);
347
- if (options == null ? void 0 : options.initialValues) {
348
- (_b = formRef.current) == null ? void 0 : _b.setFieldsValue(options == null ? void 0 : options.initialValues);
349
- }
350
- setOpen(true);
351
- };
352
- const closeModal = useCallback(() => {
353
- setOpen(false);
354
- }, []);
355
- const Modal2 = useMemo(() => {
356
- return /* @__PURE__ */ jsx(FormModal_default, __spreadProps(__spreadValues({ ref: formRef }, restProps), { open, closeFn: closeModal, title, onConfirm, children: content }));
357
- }, [title, content, restProps, open, closeModal, onConfirm]);
358
- return {
359
- Modal: createPortal(Modal2, document.body),
360
- showModal,
361
- closeModal
362
- };
363
- }
364
- var init_hooks = __esm({
365
- "src/components/FormModal/hooks.tsx"() {
366
- init_esm_shims();
367
- init_FormModal();
368
- }
369
- });
370
- function renderToString(node) {
371
- const container = document.createElement("div");
372
- const root = createRoot(container);
373
- return new Promise((resolve) => {
374
- setTimeout(() => {
375
- flushSync(() => {
376
- root.render(node);
377
- });
378
- resolve(container.innerHTML);
379
- });
380
- });
381
- }
382
- var splitByTags, Highlight, Highlight_default;
383
- var init_Highlight = __esm({
384
- "src/components/Highlight/index.tsx"() {
385
- init_esm_shims();
386
- splitByTags = (str) => {
387
- const regex = /(<[^>]*>)/;
388
- return str.split(regex).filter((part) => part !== "");
389
- };
390
- Highlight = (props) => {
391
- const { texts, children } = props;
392
- const [htmlString, setHtmlString] = useState("");
393
- useEffect(() => {
394
- renderToString(children).then((str) => {
395
- const result = splitByTags(str);
396
- for (const text of texts) {
397
- for (let index = 0; index < result.length; index++) {
398
- result[index] = result[index].replace(String(text), `<span style='color: #DC143C;'>${text}</span>`);
399
- }
400
- }
401
- setHtmlString(result.join(""));
402
- });
403
- }, [children, texts]);
404
- return /* @__PURE__ */ jsx("p", { dangerouslySetInnerHTML: { __html: htmlString } });
405
- };
406
- Highlight_default = Highlight;
407
- }
408
- });
409
- var useMenuStore;
410
- var init_menu = __esm({
411
- "src/stores/menu.ts"() {
412
- init_esm_shims();
413
- useMenuStore = create()(
414
- persist(
415
- (set) => ({
416
- openKeys: [],
417
- selectedKeys: [],
418
- setOpenKeys: (keys) => set({ openKeys: keys }),
419
- setSelectedKeys: (keys) => set({ selectedKeys: keys })
420
- }),
421
- {
422
- name: "menu",
423
- partialize: (state) => ({
424
- openKeys: state.openKeys,
425
- selectedKeys: state.selectedKeys
426
- })
427
- }
428
- )
429
- );
430
- }
431
- });
432
- var useTokenStore;
433
- var init_token = __esm({
434
- "src/stores/token.ts"() {
435
- init_esm_shims();
436
- useTokenStore = create()(
437
- persist(
438
- (set) => ({
439
- token: "",
440
- setToken: (token) => set({ token }),
441
- clearToken: () => {
442
- set({ token: "" });
443
- useTokenStore.persist.clearStorage();
444
- }
445
- }),
446
- {
447
- name: "token",
448
- partialize: (state) => ({ token: state.token })
449
- }
450
- )
451
- );
452
- }
453
- });
454
- var useQueryTriggerStore;
455
- var init_queryTrigger = __esm({
456
- "src/stores/queryTrigger.ts"() {
457
- init_esm_shims();
458
- useQueryTriggerStore = create((set, get) => ({
459
- triggers: /* @__PURE__ */ new Map(),
460
- setTrigger: (key, trigger) => {
461
- set({
462
- triggers: new Map(get().triggers).set(key, trigger)
463
- });
464
- },
465
- trigger: (key, arg) => {
466
- const trigger = get().triggers.get(key);
467
- if (trigger) {
468
- trigger(arg);
469
- }
470
- }
471
- }));
472
- }
473
- });
474
-
475
- // src/stores/index.ts
476
- var init_stores = __esm({
477
- "src/stores/index.ts"() {
478
- init_esm_shims();
479
- init_menu();
480
- init_token();
481
- init_queryTrigger();
482
- }
483
- });
484
- function useHttpClient() {
485
- const token = useTokenStore((state) => state.token);
486
- const defaultOptions = {
487
- withCredentials: true
488
- };
489
- const instance = axios.create(defaultOptions);
490
- instance.interceptors.request.use((config) => {
491
- const headers = config.headers;
492
- headers.set("Authorization", `Bearer ${token}`);
493
- return config;
494
- });
495
- instance.interceptors.response.use(
496
- (response) => {
497
- if (response.data.code === 0 || response.data.status === 0) {
498
- return response.data.data;
499
- }
500
- throw new HttpClientError(response.data.msg, 0);
501
- },
502
- (error) => {
503
- var _a;
504
- if (error.response) {
505
- if (error.response.status === 401) {
506
- throw new HttpClientError("\u672A\u767B\u5F55\u6216\u767B\u5F55\u5DF2\u8FC7\u671F", error.response.status);
507
- } else if (error.response.status === 403) {
508
- throw new HttpClientError("\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6388\u6743", error.response.status);
509
- } else if ([404, 405].includes(error.response.status)) {
510
- throw new HttpClientError("Not Found or Method not Allowed", error.response.status, true);
511
- } else if (error.response.status === 412) {
512
- throw new HttpClientError("\u672A\u6CE8\u518C\u7528\u6237", error.response.status);
513
- } else {
514
- throw new HttpClientError((_a = error.response.data) == null ? void 0 : _a.msg, error.response.status);
515
- }
516
- }
517
- throw new HttpClientError("\u65E0\u54CD\u5E94");
518
- }
519
- );
520
- return instance;
521
- }
522
- var HttpClientError;
523
- var init_use_http_client = __esm({
524
- "src/hooks/use-http-client.tsx"() {
525
- init_esm_shims();
526
- init_stores();
527
- HttpClientError = class extends Error {
528
- constructor(message, code, skip = false) {
529
- super(message);
530
- this.code = code;
531
- this.skip = skip;
532
- }
533
- };
534
- }
535
- });
536
- function usePermissions(codes) {
537
- const httpClient = useHttpClient();
538
- const navigate = useNavigate();
539
- const { data, isLoading } = useSWRImmutable(
540
- codes.length > 0 ? {
541
- method: "POST",
542
- url: "/api/usystem/user/check",
543
- data: { permissions: codes }
544
- } : null,
545
- (config) => httpClient.request(config).then((res) => {
546
- if (res.has_all) {
547
- return codes.reduce(
548
- (acc, curr) => {
549
- acc[curr] = true;
550
- return acc;
551
- },
552
- {}
553
- );
554
- }
555
- return codes.reduce(
556
- (acc, curr) => {
557
- acc[curr] = res[curr];
558
- return acc;
559
- },
560
- {}
561
- );
562
- }),
563
- {
564
- suspense: true,
565
- shouldRetryOnError: false,
566
- onError() {
567
- navigate("/login");
568
- }
569
- }
570
- );
571
- return { data, isLoading };
572
- }
573
- function usePermission(code) {
574
- var _a;
575
- const { data, isLoading } = usePermissions(code ? [code] : []);
576
- if (!code) {
577
- return {
578
- accessible: true,
579
- isValidating: false
580
- };
581
- }
582
- return {
583
- accessible: (_a = data == null ? void 0 : data[code]) != null ? _a : false,
584
- isValidating: isLoading
585
- };
586
- }
587
- var init_use_permission = __esm({
588
- "src/hooks/use-permission.tsx"() {
589
- init_esm_shims();
590
- init_use_http_client();
591
- }
592
- });
593
-
594
- // src/hooks/index.ts
595
- var init_hooks2 = __esm({
596
- "src/hooks/index.ts"() {
597
- init_esm_shims();
598
- init_use_http_client();
599
- init_use_permission();
600
- }
601
- });
602
- var PermissionButton, PermissionButton_default;
603
- var init_PermissionButton = __esm({
604
- "src/components/PermissionButton/index.tsx"() {
605
- init_esm_shims();
606
- init_hooks2();
607
- PermissionButton = (props) => {
608
- const _a = props, { children, code, showLoading } = _a, restProps = __objRest(_a, ["children", "code", "showLoading"]);
609
- const { accessible, isValidating } = usePermission(code);
610
- if (isValidating) {
611
- return /* @__PURE__ */ jsx(Button, __spreadProps(__spreadValues({ loading: showLoading, disabled: !showLoading }, restProps), { children }));
612
- }
613
- if (!accessible) {
614
- return /* @__PURE__ */ jsx(Tooltip, { defaultOpen: false, title: "\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6388\u6743", children: /* @__PURE__ */ jsx(Button, __spreadProps(__spreadValues({ disabled: true }, restProps), { children })) });
615
- }
616
- return /* @__PURE__ */ jsx(Button, __spreadProps(__spreadValues({}, restProps), { children }));
617
- };
618
- PermissionButton_default = PermissionButton;
619
- }
620
- });
621
- var QueryList, QueryList_default;
622
- var init_QueryList = __esm({
623
- "src/components/QueryList/index.tsx"() {
624
- init_esm_shims();
625
- init_hooks2();
626
- init_stores();
627
- init_FilterForm();
628
- QueryList = (props) => {
629
- const _a = props, { code, confirmText, labelCol, swrKey: swrKey3, renderForm, transformArg, initialValues } = _a, tableProps = __objRest(_a, ["code", "confirmText", "labelCol", "swrKey", "renderForm", "transformArg", "initialValues"]);
630
- const { accessible } = usePermission(code != null ? code : "");
631
- const [form] = Form.useForm();
632
- const setTrigger = useQueryTriggerStore((state) => state.setTrigger);
633
- const [paginationData, setPaginationData] = useState({
634
- page: 1,
635
- perPage: 10
636
- });
637
- const httpClient = useHttpClient();
638
- const { data, isMutating, trigger } = useSWRMutation2(
639
- swrKey3,
640
- (_0, _1) => __async(void 0, [_0, _1], function* (key, {
641
- arg
642
- }) {
643
- var _a2, _b, _c, _d;
644
- const newPaginationData = {
645
- page: (_b = (_a2 = arg == null ? void 0 : arg.page) != null ? _a2 : paginationData.page) != null ? _b : 1,
646
- perPage: (_d = (_c = arg == null ? void 0 : arg.perPage) != null ? _c : paginationData.perPage) != null ? _d : 10
647
- };
648
- setPaginationData(newPaginationData);
649
- const values = form.getFieldsValue();
650
- const fetcherArg = __spreadValues(__spreadValues({}, values), newPaginationData);
651
- return httpClient.request(__spreadProps(__spreadValues({}, key), {
652
- [key.method === "POST" ? "data" : "params"]: typeof transformArg === "function" ? transformArg(fetcherArg) : fetcherArg
653
- }));
654
- })
655
- );
656
- const onFinish = () => __async(void 0, null, function* () {
657
- yield trigger({ page: 1 });
658
- });
659
- const onReset = useCallback(() => __async(void 0, null, function* () {
660
- try {
661
- form.resetFields();
662
- yield form.validateFields();
663
- yield trigger({ page: 1 });
664
- } catch (_) {
665
- console.log("\u8868\u5355\u6821\u9A8C\u5931\u8D25");
666
- }
667
- }), [form, trigger]);
668
- const onPaginationChange = useCallback(
669
- (currentPage, currentSize) => __async(void 0, null, function* () {
670
- yield trigger({
671
- page: currentPage,
672
- perPage: currentSize
673
- });
674
- }),
675
- [trigger]
676
- );
677
- useEffect(() => {
678
- setTrigger(swrKey3, trigger);
679
- }, [swrKey3, trigger, setTrigger]);
680
- useEffect(() => {
681
- (() => __async(void 0, null, function* () {
682
- try {
683
- yield form.validateFields();
684
- yield trigger();
685
- } catch (_) {
686
- form.resetFields();
687
- }
688
- }))();
689
- }, [form, trigger]);
690
- if (!accessible) {
691
- return /* @__PURE__ */ jsx(Result, { status: 403, subTitle: "\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6388\u6743" });
692
- }
693
- return /* @__PURE__ */ jsxs(Fragment, { children: [
694
- /* @__PURE__ */ jsx(
695
- FilterForm_default,
696
- {
697
- initialValues,
698
- form,
699
- labelCol,
700
- confirmText,
701
- onFinish,
702
- onReset,
703
- children: renderForm == null ? void 0 : renderForm(form)
704
- }
705
- ),
706
- /* @__PURE__ */ jsx(
707
- Table,
708
- __spreadProps(__spreadValues({}, tableProps), {
709
- dataSource: data == null ? void 0 : data.List,
710
- loading: isMutating,
711
- pagination: {
712
- showSizeChanger: true,
713
- showQuickJumper: true,
714
- current: paginationData.page,
715
- pageSize: paginationData.perPage,
716
- total: data == null ? void 0 : data.Total,
717
- onChange: onPaginationChange
718
- }
719
- })
720
- )
721
- ] });
722
- };
723
- QueryList_default = QueryList;
724
- }
725
- });
726
-
727
- // src/components/index.ts
728
- var init_components = __esm({
729
- "src/components/index.ts"() {
730
- init_esm_shims();
731
- init_DynamicTags();
732
- init_FilterForm();
733
- init_FormModal();
734
- init_hooks();
735
- init_Highlight();
736
- init_PermissionButton();
737
- init_QueryList();
738
- }
739
- });
740
- function useAllPermissions() {
741
- return useSWR({
742
- url: "/api/usystem/user/allPermssions"
743
- });
744
- }
745
- function useAllRoles() {
746
- const { accessible } = usePermission("200005");
747
- return useSWR(
748
- accessible ? {
749
- url: "/api/usystem/role/all"
750
- } : null
751
- );
752
- }
753
- function useRole(name) {
754
- return useSWR({
755
- url: "/api/usystem/role/info",
756
- params: { name }
757
- });
758
- }
759
- function useCreateRole() {
760
- const httpClient = useHttpClient();
761
- return useSWRMutation2(
762
- "/api/usystem/role/create",
763
- (url, {
764
- arg
765
- }) => httpClient.post(url, arg)
766
- );
767
- }
768
- function useUpdateRole() {
769
- const httpClient = useHttpClient();
770
- return useSWRMutation2(
771
- "/api/usystem/role/update",
772
- (url, {
773
- arg
774
- }) => httpClient.post(url, arg)
775
- );
776
- }
777
- function useRemoveRole() {
778
- const httpClient = useHttpClient();
779
- return useSWRMutation2(
780
- "/api/usystem/role/delete",
781
- (url, {
782
- arg
783
- }) => httpClient.post(url, arg)
784
- );
785
- }
786
- function useCreateUser() {
787
- const httpClient = useHttpClient();
788
- return useSWRMutation2(
789
- "/api/usystem/user/create",
790
- (url, {
791
- arg
792
- }) => httpClient.post(url, arg)
793
- );
794
- }
795
- function useUpdateUser() {
796
- const httpClient = useHttpClient();
797
- return useSWRMutation2(
798
- "/api/usystem/user/update",
799
- (url, {
800
- arg
801
- }) => httpClient.post(url, arg)
802
- );
803
- }
804
- function useRemoveUser() {
805
- const httpClient = useHttpClient();
806
- return useSWRMutation2(
807
- "/api/usystem/user/delete",
808
- (url, {
809
- arg
810
- }) => httpClient.post(url, arg)
811
- );
812
- }
813
- var init_hooks3 = __esm({
814
- "src/features/permission/hooks/index.ts"() {
815
- init_esm_shims();
816
- init_hooks2();
817
- }
818
- });
819
- var Text, PermissionList, PermissionList_default;
820
- var init_PermissionList = __esm({
821
- "src/features/permission/components/PermissionList.tsx"() {
822
- init_esm_shims();
823
- init_hooks3();
824
- ({ Text } = Typography);
825
- PermissionList = ({
826
- expand = true,
827
- value,
828
- readonly,
829
- onChange
830
- }) => {
831
- const [activeKey, setActiveKey] = useState([]);
832
- const [internalValue, setInternalValue] = useState(value != null ? value : []);
833
- const { data: permissions, isLoading, error } = useAllPermissions();
834
- const [checkedMap, setCheckedMap] = useState({});
835
- useEffect(() => {
836
- setInternalValue(value != null ? value : []);
837
- }, [value]);
838
- useEffect(() => {
839
- if (expand) {
840
- setActiveKey((permissions != null ? permissions : []).map(({ category }) => category));
841
- }
842
- }, [expand, permissions]);
843
- useEffect(() => {
844
- const checkedValue = (permissions != null ? permissions : []).reduce(
845
- (acc, curr) => {
846
- acc[curr.category] = curr.permissions.every((item) => internalValue.includes(item.value));
847
- return acc;
848
- },
849
- {}
850
- );
851
- setCheckedMap(checkedValue);
852
- }, [internalValue, permissions]);
853
- const onCollapseChange = (key) => {
854
- setActiveKey(key);
855
- };
856
- const getCheckedValue = (checkedValue, codes) => {
857
- let tempValue = [];
858
- if (checkedValue) {
859
- tempValue = [...new Set(internalValue.concat(codes))];
860
- } else {
861
- tempValue = internalValue.slice();
862
- codes.forEach((code) => {
863
- const index = tempValue.findIndex((item) => item === code);
864
- if (index > -1) {
865
- tempValue.splice(index, 1);
866
- }
867
- });
868
- }
869
- return tempValue;
870
- };
871
- const onCheckChange = (e, category, codes) => {
872
- const checkedValue = getCheckedValue(e.target.checked, codes);
873
- setInternalValue(checkedValue);
874
- onChange == null ? void 0 : onChange(checkedValue);
875
- };
876
- if (error) {
877
- return /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(Text, { type: "danger", children: "\u6743\u9650\u83B7\u53D6\u5931\u8D25" }) });
878
- }
879
- return /* @__PURE__ */ jsx(Skeleton, { active: true, loading: isLoading, children: /* @__PURE__ */ jsx(
880
- Collapse,
881
- {
882
- style: { width: "100%" },
883
- collapsible: "header",
884
- activeKey,
885
- items: (permissions != null ? permissions : []).map((item) => ({
886
- key: item.category,
887
- label: item.category,
888
- extra: !readonly && /* @__PURE__ */ jsx(
889
- Checkbox,
890
- {
891
- checked: checkedMap[item.category],
892
- onChange: (e) => {
893
- onCheckChange(
894
- e,
895
- item.category,
896
- item.permissions.map((permission) => permission.value)
897
- );
898
- },
899
- children: "\u5168\u9009"
900
- }
901
- ),
902
- children: /* @__PURE__ */ jsx(
903
- Checkbox.Group,
904
- {
905
- style: { width: "100%" },
906
- options: item.permissions.map((permission) => ({
907
- label: permission.label,
908
- value: permission.value,
909
- disabled: readonly,
910
- onChange(e) {
911
- onCheckChange(e, item.category, [permission.value]);
912
- }
913
- })),
914
- value: internalValue
915
- }
916
- )
917
- })),
918
- onChange: onCollapseChange
919
- }
920
- ) });
921
- };
922
- PermissionList_default = PermissionList;
923
- }
924
- });
925
-
926
- // src/features/permission/types/index.ts
927
- var init_types = __esm({
928
- "src/features/permission/types/index.ts"() {
929
- init_esm_shims();
930
- }
931
- });
932
-
933
- // src/features/permission/index.ts
934
- var init_permission = __esm({
935
- "src/features/permission/index.ts"() {
936
- init_esm_shims();
937
- init_PermissionList();
938
- init_hooks3();
939
- init_types();
940
- }
941
- });
942
-
943
- // src/pages/permission/UserList.tsx
944
- var UserList_exports = {};
945
- __export(UserList_exports, {
946
- default: () => UserList_default,
947
- swrKey: () => swrKey
948
- });
949
- function useCreatingUserModal() {
950
- const { message } = App.useApp();
951
- const create4 = useCreateUser();
952
- const { data: roles, isLoading } = useAllRoles();
953
- const trigger = useQueryTriggerStore((state) => state.trigger);
954
- return useFormModal({
955
- title: "\u521B\u5EFA\u89D2\u8272",
956
- labelCol: { flex: "80px" },
957
- content: /* @__PURE__ */ jsxs(Fragment, { children: [
958
- /* @__PURE__ */ jsx(Form.Item, { noStyle: true, shouldUpdate: (prevValues, currentValue) => prevValues.type !== currentValue.type, children: ({ getFieldValue }) => /* @__PURE__ */ jsx(Form.Item, { label: "\u540D\u79F0", name: "name", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, { disabled: getFieldValue("id") }) }) }),
959
- /* @__PURE__ */ jsx(Form.Item, { label: "\u89D2\u8272", name: "roles", children: /* @__PURE__ */ jsx(Select, { allowClear: true, mode: "multiple", loading: isLoading, children: (roles != null ? roles : []).map((role) => /* @__PURE__ */ jsx(Option, { value: role.name, children: role.name }, role.id)) }) })
960
- ] }),
961
- onConfirm(values) {
962
- return __async(this, null, function* () {
963
- yield create4.trigger(values, {
964
- onSuccess() {
965
- message.success("\u7528\u6237\u521B\u5EFA\u6210\u529F");
966
- trigger(swrKey);
967
- }
968
- });
969
- });
970
- }
971
- });
972
- }
973
- function useUpdatingUserModal() {
974
- const { message } = App.useApp();
975
- const update = useUpdateUser();
976
- const { data: roles, isLoading } = useAllRoles();
977
- const trigger = useQueryTriggerStore((state) => state.trigger);
978
- return useFormModal({
979
- title: "\u66F4\u65B0\u89D2\u8272",
980
- labelCol: { flex: "80px" },
981
- content: /* @__PURE__ */ jsxs(Fragment, { children: [
982
- /* @__PURE__ */ jsx(Form.Item, { hidden: true, name: "id", children: /* @__PURE__ */ jsx(Input, {}) }),
983
- /* @__PURE__ */ jsx(Form.Item, { noStyle: true, shouldUpdate: (prevValues, currentValue) => prevValues.type !== currentValue.type, children: ({ getFieldValue }) => /* @__PURE__ */ jsx(Form.Item, { label: "\u540D\u79F0", name: "name", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, { disabled: getFieldValue("id") }) }) }),
984
- /* @__PURE__ */ jsx(Form.Item, { label: "\u89D2\u8272", name: "roles", children: /* @__PURE__ */ jsx(Select, { allowClear: true, mode: "multiple", loading: isLoading, children: (roles != null ? roles : []).map((role) => /* @__PURE__ */ jsx(Option, { value: role.name, children: role.name }, role.id)) }) })
985
- ] }),
986
- onConfirm(values) {
987
- return __async(this, null, function* () {
988
- yield update.trigger(values, {
989
- onSuccess() {
990
- message.success("\u7528\u6237\u66F4\u65B0\u6210\u529F");
991
- trigger(swrKey);
992
- }
993
- });
994
- });
995
- }
996
- });
997
- }
998
- var Option, swrKey, UserList, UserList_default;
999
- var init_UserList = __esm({
1000
- "src/pages/permission/UserList.tsx"() {
1001
- init_esm_shims();
1002
- init_components();
1003
- init_hooks();
1004
- init_permission();
1005
- init_stores();
1006
- ({ Option } = Select);
1007
- swrKey = {
1008
- url: "/api/usystem/user/list"
1009
- };
1010
- UserList = () => {
1011
- const { modal, message } = App.useApp();
1012
- const remove = useRemoveUser();
1013
- const trigger = useQueryTriggerStore((state) => state.trigger);
1014
- const { showModal: showCreatingModal, Modal: CreatingModal } = useCreatingUserModal();
1015
- const { showModal: showUpdatingModal, Modal: UpdatingModal } = useUpdatingUserModal();
1016
- const columns = useMemo(() => {
1017
- return [
1018
- {
1019
- title: "\u540D\u79F0",
1020
- dataIndex: "name",
1021
- key: "name"
1022
- },
1023
- {
1024
- title: "ID",
1025
- dataIndex: "id",
1026
- key: "id"
1027
- },
1028
- {
1029
- title: "\u89D2\u8272",
1030
- dataIndex: "roles",
1031
- key: "roles",
1032
- width: "40%",
1033
- render(value) {
1034
- return /* @__PURE__ */ jsx(Row, { gutter: [4, 4], children: (value || []).map((item) => /* @__PURE__ */ jsx(Col, { children: item === "root" ? /* @__PURE__ */ jsx(Tag, { color: "#f50", children: item }) : /* @__PURE__ */ jsx(Tag, { color: "#ff5a00", children: /* @__PURE__ */ jsx(Link, { to: `/permission/role/${item}`, children: item }) }) }, item)) });
1035
- }
1036
- },
1037
- {
1038
- title: "\u521B\u5EFA\u65F6\u95F4",
1039
- dataIndex: "Ctime",
1040
- key: "ctime"
1041
- },
1042
- {
1043
- title: "\u64CD\u4F5C",
1044
- width: 150,
1045
- align: "center",
1046
- render: (value) => /* @__PURE__ */ jsxs(Space, { children: [
1047
- /* @__PURE__ */ jsx(
1048
- PermissionButton_default,
1049
- {
1050
- size: "small",
1051
- type: "link",
1052
- code: "100003",
1053
- onClick: () => {
1054
- showUpdatingModal({
1055
- initialValues: {
1056
- id: value.id,
1057
- name: value.name,
1058
- roles: value.roles
1059
- }
1060
- });
1061
- },
1062
- children: "\u66F4\u65B0"
1063
- }
1064
- ),
1065
- /* @__PURE__ */ jsx(
1066
- PermissionButton_default,
1067
- {
1068
- danger: true,
1069
- size: "small",
1070
- code: "100004",
1071
- type: "link",
1072
- onClick: () => {
1073
- modal.confirm({
1074
- title: "\u5220\u9664\u7528\u6237",
1075
- content: /* @__PURE__ */ jsxs(Highlight_default, { texts: [value.name], children: [
1076
- "\u786E\u5B9A\u8981\u5220\u9664\u7528\u6237\xA0",
1077
- value.name,
1078
- "\xA0\u5417\uFF1F"
1079
- ] }),
1080
- onOk() {
1081
- return __async(this, null, function* () {
1082
- yield remove.trigger(
1083
- {
1084
- id: value.id,
1085
- name: value.name
1086
- },
1087
- {
1088
- onSuccess() {
1089
- return __async(this, null, function* () {
1090
- yield message.success("\u7528\u6237\u5220\u9664\u6210\u529F");
1091
- trigger(swrKey);
1092
- });
1093
- }
1094
- }
1095
- );
1096
- });
1097
- }
1098
- });
1099
- },
1100
- children: "\u5220\u9664"
1101
- }
1102
- )
1103
- ] })
1104
- }
1105
- ];
1106
- }, [trigger, remove, message, modal, showUpdatingModal]);
1107
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1108
- /* @__PURE__ */ jsx(
1109
- Card,
1110
- {
1111
- title: "\u7528\u6237",
1112
- extra: /* @__PURE__ */ jsx(
1113
- PermissionButton_default,
1114
- {
1115
- type: "primary",
1116
- icon: /* @__PURE__ */ jsx(UserAddOutlined, {}),
1117
- code: "100002",
1118
- onClick: () => {
1119
- showCreatingModal();
1120
- },
1121
- children: "\u521B\u5EFA\u7528\u6237"
1122
- }
1123
- ),
1124
- children: /* @__PURE__ */ jsx(
1125
- QueryList_default,
1126
- {
1127
- code: "100001",
1128
- swrKey,
1129
- rowKey: "id",
1130
- columns,
1131
- transformArg: (arg) => {
1132
- const _a = arg, { page, perPage } = _a, restValues = __objRest(_a, ["page", "perPage"]);
1133
- return __spreadProps(__spreadValues({}, restValues != null ? restValues : {}), {
1134
- page,
1135
- size: perPage
1136
- });
1137
- }
1138
- }
1139
- )
1140
- }
1141
- ),
1142
- CreatingModal,
1143
- UpdatingModal
1144
- ] });
1145
- };
1146
- UserList_default = UserList;
1147
- }
1148
- });
1149
-
1150
- // src/pages/permission/RoleList.tsx
1151
- var RoleList_exports = {};
1152
- __export(RoleList_exports, {
1153
- default: () => RoleList_default,
1154
- swrKey: () => swrKey2
1155
- });
1156
- var swrKey2, RoleList, RoleList_default;
1157
- var init_RoleList = __esm({
1158
- "src/pages/permission/RoleList.tsx"() {
1159
- init_esm_shims();
1160
- init_components();
1161
- init_hooks();
1162
- init_permission();
1163
- init_hooks2();
1164
- init_stores();
1165
- swrKey2 = {
1166
- url: "/api/usystem/role/list"
1167
- };
1168
- RoleList = () => {
1169
- const { accessible: viewable } = usePermission("200005");
1170
- const { modal, message } = App.useApp();
1171
- const httpClient = useHttpClient();
1172
- const create4 = useCreateRole();
1173
- const remove = useRemoveRole();
1174
- const update = useUpdateRole();
1175
- const trigger = useQueryTriggerStore((state) => state.trigger);
1176
- const { showModal: showCreateModal, Modal: CreateModal } = useFormModal({
1177
- title: "\u521B\u5EFA\u89D2\u8272",
1178
- width: "50vw",
1179
- layout: "vertical",
1180
- content: /* @__PURE__ */ jsxs(Fragment, { children: [
1181
- /* @__PURE__ */ jsx(Form.Item, { label: "\u540D\u79F0", name: "name", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, { addonBefore: "role_" }) }),
1182
- /* @__PURE__ */ jsx(Form.Item, { label: "\u6743\u9650", name: "permissions", children: /* @__PURE__ */ jsx(PermissionList_default, {}) })
1183
- ] }),
1184
- onConfirm(values) {
1185
- return __async(this, null, function* () {
1186
- yield create4.trigger(
1187
- {
1188
- name: `role_${values.name}`,
1189
- permissions: values.permissions
1190
- },
1191
- {
1192
- onSuccess() {
1193
- return __async(this, null, function* () {
1194
- yield message.success("\u89D2\u8272\u521B\u5EFA\u6210\u529F");
1195
- trigger(swrKey2);
1196
- });
1197
- }
1198
- }
1199
- );
1200
- });
1201
- }
1202
- });
1203
- const { showModal: showUpdateModal, Modal: UpdateModal } = useFormModal({
1204
- title: "\u66F4\u65B0\u89D2\u8272",
1205
- width: "50vw",
1206
- layout: "vertical",
1207
- content: /* @__PURE__ */ jsxs(Fragment, { children: [
1208
- /* @__PURE__ */ jsx(Form.Item, { hidden: true, label: "ID", name: "id", children: /* @__PURE__ */ jsx(Input, {}) }),
1209
- /* @__PURE__ */ jsx(Form.Item, { label: "\u540D\u79F0", name: "name", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, { disabled: true, addonBefore: "role_" }) }),
1210
- /* @__PURE__ */ jsx(Form.Item, { label: "\u6743\u9650", name: "permissions", children: /* @__PURE__ */ jsx(PermissionList_default, {}) })
1211
- ] }),
1212
- onConfirm(values) {
1213
- return __async(this, null, function* () {
1214
- yield update.trigger(
1215
- {
1216
- id: values.id,
1217
- name: `role_${values.name}`,
1218
- permissions: values.permissions
1219
- },
1220
- {
1221
- onSuccess() {
1222
- return __async(this, null, function* () {
1223
- yield message.success("\u89D2\u8272\u66F4\u65B0\u6210\u529F");
1224
- trigger(swrKey2);
1225
- });
1226
- }
1227
- }
1228
- );
1229
- });
1230
- }
1231
- });
1232
- const columns = useMemo(
1233
- () => [
1234
- {
1235
- title: "\u540D\u79F0",
1236
- key: "name",
1237
- render(value) {
1238
- if (viewable) {
1239
- return /* @__PURE__ */ jsx(Link, { to: `${value.name}`, children: value.name });
1240
- } else {
1241
- return /* @__PURE__ */ jsx(Fragment, { children: value.name });
1242
- }
1243
- }
1244
- },
1245
- {
1246
- title: "ID",
1247
- dataIndex: "id",
1248
- key: "id"
1249
- },
1250
- {
1251
- title: "\u521B\u5EFA\u65F6\u95F4",
1252
- dataIndex: "ctime",
1253
- key: "ctime"
1254
- },
1255
- {
1256
- title: "\u64CD\u4F5C",
1257
- width: 150,
1258
- align: "center",
1259
- render: (value) => {
1260
- return /* @__PURE__ */ jsxs(Space, { size: "small", children: [
1261
- /* @__PURE__ */ jsx(
1262
- PermissionButton_default,
1263
- {
1264
- code: "200003",
1265
- size: "small",
1266
- type: "link",
1267
- onClick: () => __async(void 0, null, function* () {
1268
- const role = yield httpClient.get("/api/usystem/role/info", {
1269
- params: { name: value.name }
1270
- });
1271
- showUpdateModal({
1272
- initialValues: {
1273
- id: role == null ? void 0 : role.id,
1274
- permissions: role == null ? void 0 : role.permissions,
1275
- name: role == null ? void 0 : role.name.replace(/^role_/, "")
1276
- }
1277
- });
1278
- }),
1279
- children: "\u66F4\u65B0"
1280
- }
1281
- ),
1282
- /* @__PURE__ */ jsx(
1283
- PermissionButton_default,
1284
- {
1285
- danger: true,
1286
- code: "200004",
1287
- size: "small",
1288
- type: "link",
1289
- onClick: () => {
1290
- modal.confirm({
1291
- title: "\u5220\u9664\u89D2\u8272",
1292
- content: /* @__PURE__ */ jsxs(Highlight_default, { texts: [value.name], children: [
1293
- "\u786E\u5B9A\u8981\u5220\u9664\u89D2\u8272\xA0",
1294
- value.name,
1295
- "\xA0\u5417\uFF1F"
1296
- ] }),
1297
- onOk() {
1298
- return __async(this, null, function* () {
1299
- yield remove.trigger(
1300
- {
1301
- id: value.id,
1302
- name: value.name
1303
- },
1304
- {
1305
- onSuccess() {
1306
- return __async(this, null, function* () {
1307
- yield message.success("\u89D2\u8272\u5220\u9664\u6210\u529F");
1308
- trigger(swrKey2);
1309
- });
1310
- }
1311
- }
1312
- );
1313
- });
1314
- }
1315
- });
1316
- },
1317
- children: "\u5220\u9664"
1318
- }
1319
- )
1320
- ] });
1321
- }
1322
- }
1323
- ],
1324
- [trigger, viewable, httpClient, modal, message, remove, showUpdateModal]
1325
- );
1326
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1327
- /* @__PURE__ */ jsx(
1328
- Card,
1329
- {
1330
- title: "\u89D2\u8272",
1331
- extra: /* @__PURE__ */ jsx(
1332
- PermissionButton_default,
1333
- {
1334
- type: "primary",
1335
- code: "200002",
1336
- icon: /* @__PURE__ */ jsx(UsergroupAddOutlined, {}),
1337
- onClick: () => {
1338
- showCreateModal();
1339
- },
1340
- children: "\u521B\u5EFA\u89D2\u8272"
1341
- }
1342
- ),
1343
- children: /* @__PURE__ */ jsx(
1344
- QueryList_default,
1345
- {
1346
- rowKey: "name",
1347
- columns,
1348
- code: "200001",
1349
- swrKey: swrKey2,
1350
- transformArg: (arg) => {
1351
- const _a2 = arg, { page, perPage } = _a2, restValues = __objRest(_a2, ["page", "perPage"]);
1352
- return __spreadProps(__spreadValues({}, restValues), {
1353
- page,
1354
- size: perPage
1355
- });
1356
- }
1357
- }
1358
- )
1359
- }
1360
- ),
1361
- CreateModal,
1362
- UpdateModal
1363
- ] });
1364
- };
1365
- RoleList_default = RoleList;
1366
- }
1367
- });
1368
-
1369
- // src/pages/permission/RoleDetail.tsx
1370
- var RoleDetail_exports = {};
1371
- __export(RoleDetail_exports, {
1372
- default: () => RoleDetail_default
1373
- });
1374
- var RoleDetail, RoleDetail_default;
1375
- var init_RoleDetail = __esm({
1376
- "src/pages/permission/RoleDetail.tsx"() {
1377
- init_esm_shims();
1378
- init_permission();
1379
- RoleDetail = () => {
1380
- const params = useParams();
1381
- const { data, isLoading } = useRole(params.name);
1382
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1383
- /* @__PURE__ */ jsx(
1384
- Breadcrumb,
1385
- {
1386
- style: { marginBottom: 24 },
1387
- items: [
1388
- {
1389
- key: "1",
1390
- title: /* @__PURE__ */ jsx(Link, { to: "/permission/role", children: "\u89D2\u8272" })
1391
- },
1392
- {
1393
- key: "2",
1394
- title: params.name
1395
- }
1396
- ]
1397
- }
1398
- ),
1399
- /* @__PURE__ */ jsx(Card, { title: "\u6743\u9650\u8BE6\u60C5", children: /* @__PURE__ */ jsx(Skeleton, { loading: isLoading, children: /* @__PURE__ */ jsxs(Descriptions, { column: 3, layout: "vertical", children: [
1400
- /* @__PURE__ */ jsx(Descriptions.Item, { label: "\u540D\u79F0", children: data == null ? void 0 : data.name }),
1401
- /* @__PURE__ */ jsx(Descriptions.Item, { label: "ID", children: data == null ? void 0 : data.id }),
1402
- /* @__PURE__ */ jsx(Descriptions.Item, { label: "\u521B\u5EFA\u65F6\u95F4", children: data == null ? void 0 : data.ctime }),
1403
- /* @__PURE__ */ jsx(Descriptions.Item, { label: "\u6743\u9650", span: 3, children: /* @__PURE__ */ jsx(PermissionList_default, { readonly: true, value: data == null ? void 0 : data.permissions }) })
1404
- ] }) }) })
1405
- ] });
1406
- };
1407
- RoleDetail_default = RoleDetail;
1408
- }
1409
- });
1410
-
1411
- // src/index.ts
1412
- init_esm_shims();
1413
- init_components();
1414
- init_hooks2();
1415
- init_stores();
1416
-
1417
- // src/pages/index.ts
1418
- init_esm_shims();
1419
-
1420
- // src/pages/Login/index.tsx
1421
- init_esm_shims();
1422
-
1423
- // src/constants/index.ts
1424
- init_esm_shims();
1425
- var SSO_URL = "https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1";
1426
-
1427
- // src/pages/Login/index.tsx
1428
- init_stores();
1429
-
1430
- // src/pages/Login/default.tsx
1431
- init_esm_shims();
1432
- var Default = () => {
1433
- return /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 1620 1028", xmlns: "http://www.w3.org/2000/svg", children: [
1434
- /* @__PURE__ */ jsx("g", { id: "a" }),
1435
- /* @__PURE__ */ jsx("g", { id: "b", children: /* @__PURE__ */ jsx("g", { id: "c", children: /* @__PURE__ */ jsxs("g", { children: [
1436
- /* @__PURE__ */ jsx(
1437
- "path",
1438
- {
1439
- fill: "#e8f2fa",
1440
- d: "M1543.84,1025.63c-92.65,0-1442.29,.34-1443.07-2.11l-.13-.31s-.13-.3-.13-.45c-.52-1.23-207.95-345.42,114.53-585.03,126.18-93.75-7.9-155.64,92.44-260.01,115.31-119.94,241.15,12.74,369.38-41.64,22.66-9.6,45.39-25.05,68.15-48.76C797.78,32.37,870.19,6.95,944.96,1.25c143.27-10.86,304.51,50.23,387.71,139.53,16.75,17.98,92.93,111.03,32.88,238.91-37.91,80.74,120.91,157.86,177.35,250.06,143.49,234.42,2.24,392.82,.93,395.87Z"
1441
- }
1442
- ),
1443
- /* @__PURE__ */ jsxs("g", { opacity: ".5", children: [
1444
- /* @__PURE__ */ jsx("g", { opacity: ".5", children: /* @__PURE__ */ jsx(
1445
- "path",
1446
- {
1447
- fill: "#a9c2ff",
1448
- d: "M522.98,381s-10.51-89.31-55.62-142.6c-6-7.08-17.47-2.57-17.28,6.76,0,.16,0,.31,.01,.47,.58,15.93,51.09,83.13,72.89,135.37Z"
1449
- }
1450
- ) }),
1451
- /* @__PURE__ */ jsx("g", { opacity: ".5", children: /* @__PURE__ */ jsx(
1452
- "path",
1453
- {
1454
- fill: "#a9c2ff",
1455
- d: "M528.46,406.57s-44.95-111.62-121.74-160.99c-4.68-3.01-11.02-1.92-14.16,2.72-2.04,3.02-2.96,7.73-.67,15.1,6.12,19.63,91.75,85.72,136.57,143.18Z"
1456
- }
1457
- ) })
1458
- ] }),
1459
- /* @__PURE__ */ jsxs("g", { children: [
1460
- /* @__PURE__ */ jsx(
1461
- "path",
1462
- {
1463
- fill: "#73b471",
1464
- d: "M1088.4,378.19s-40.25-25.14-19.73-56.1c0,0,16.18-18.86,32.87-23.19,0,0-10.72,47-1.98,48.49,8.75,1.48,8.23-53.25,8.23-53.25,0,0,44.27-19.36,61.23-16.97,0,0-28.81,45.13-19.97,44.38,8.84-.75,40.96-46.29,40.96-46.29,0,0,44.84-6.49,50.9,20.56,6.05,27.05-6.03,39.94-12.69,41.34-6.66,1.4-48.94-.94-48.07,4.68,.87,5.62,29.08,15.74,45.22,11.39,0,0-19.38,43.29-42.36,40.09-22.99-3.2-29.54-17.99-43.78-19.7-14.24-1.71-24.84,1.75-17.85,5.95,6.98,4.2,31.27,2.59,42.4,13.03,11.13,10.43,20.22,16.96-1.39,20.52-21.61,3.56-59.96-.84-66.97-17.88l-7.01-17.04Z"
1465
- }
1466
- ),
1467
- /* @__PURE__ */ jsxs("g", { children: [
1468
- /* @__PURE__ */ jsx(
1469
- "path",
1470
- {
1471
- fill: "#73b471",
1472
- d: "M1220.24,303.33s-116.93,33.06-131.84,74.86c0,0-.22,18.97-12.65,40.22l-.34,8.36s13.25-27.92,20-31.54c0,0-24.32-37.87,124.83-91.9Z"
1473
- }
1474
- ),
1475
- /* @__PURE__ */ jsx(
1476
- "path",
1477
- {
1478
- fill: "#73b471",
1479
- d: "M1075.75,418.41s-18.91,26.66-10.13,60.45l4.63-1.05s-2.94-36.94,7.12-55.03c10.06-18.09-1.62-4.37-1.62-4.37Z"
1480
- }
1481
- )
1482
- ] })
1483
- ] }),
1484
- /* @__PURE__ */ jsxs("g", { children: [
1485
- /* @__PURE__ */ jsx(
1486
- "path",
1487
- {
1488
- fill: "#9bd399",
1489
- d: "M925.53,377.18s-67.6,6.07-70.13-47.44c0,0,2.69-35.79,18.25-55.28,0,0,27.38,63.45,38.71,57.55,11.32-5.9-35.54-68.47-35.54-68.47,0,0,34.61-60.79,56.16-72.8,0,0,4.97,77.02,14.52,68.48,9.54-8.54,8.04-88.93,8.04-88.93,0,0,46.15-46.48,75.98-20.59,29.83,25.89,26.82,51.24,20.33,58.64-6.49,7.4-57.15,41.49-51.4,47.2,5.75,5.71,46.78-7.17,61.69-26.21,0,0,14.28,66.7-14.89,83.01-29.17,16.31-49.21,4.98-67.06,15.39-17.84,10.41-27.12,23.62-15.53,22.38,11.59-1.24,38.19-24.21,59.83-21.88,21.64,2.33,37.62,1.94,15.74,24.83-21.87,22.89-69.75,51.18-92.22,37.65l-22.48-13.53Z"
1490
- }
1491
- ),
1492
- /* @__PURE__ */ jsxs("g", { children: [
1493
- /* @__PURE__ */ jsx(
1494
- "path",
1495
- {
1496
- fill: "#9bd399",
1497
- d: "M1014.06,176.32s-106.69,139.76-88.53,200.87c0,0,15.78,22.04,19.44,57.32l6.67,9.92s-8.34-43.67-3.63-53.71c0,0-60.01-22.45,66.05-214.39Z"
1498
- }
1499
- ),
1500
- /* @__PURE__ */ jsx(
1501
- "path",
1502
- {
1503
- fill: "#9bd399",
1504
- d: "M944.97,434.5s.76,47.15,39.44,78.42l4.44-5.24s-34.61-39.97-38.32-69.55c-3.71-29.58-5.56-3.62-5.56-3.62Z"
1505
- }
1506
- )
1507
- ] })
1508
- ] }),
1509
- /* @__PURE__ */ jsxs("g", { children: [
1510
- /* @__PURE__ */ jsxs("g", { children: [
1511
- /* @__PURE__ */ jsx(
1512
- "path",
1513
- {
1514
- fill: "#b6cfff",
1515
- d: "M290.34,904.31s-18.93-22.41-1.17-36.64c0,0,12.98-7.97,23.56-7.32,0,0-14.99,25.5-10.14,28.04,4.85,2.54,14.69-29.64,14.69-29.64,0,0,29.53-2.91,39.03,1.73,0,0-25.25,20.96-19.93,22.2,5.32,1.25,32.58-19.32,32.58-19.32,0,0,27.48,4.74,26.02,21.75-1.47,17.01-10.94,22.26-15.1,21.81-4.16-.45-28.51-9.88-29.04-6.42-.53,3.46,14.13,14.77,24.39,15.29,0,0-19.38,21.68-32.26,15.42-12.88-6.26-13.98-16.17-22.01-19.89-8.03-3.72-14.88-3.71-11.57,.08,3.31,3.79,17.84,7.48,22.43,15.72,4.59,8.24,8.71,13.79-4.61,11.76-13.32-2.03-34.98-11.92-35.93-23.25l-.95-11.32Z"
1516
- }
1517
- ),
1518
- /* @__PURE__ */ jsxs("g", { children: [
1519
- /* @__PURE__ */ jsx(
1520
- "path",
1521
- {
1522
- fill: "#b6cfff",
1523
- d: "M381.48,885.57s-74.65-2.92-91.14,18.74c0,0-3.65,11.08-14.87,21.16l-1.75,4.83s12.94-13.84,17.56-14.67c0,0-7.24-26.83,90.19-30.06Z"
1524
- }
1525
- ),
1526
- /* @__PURE__ */ jsx(
1527
- "path",
1528
- {
1529
- fill: "#b6cfff",
1530
- d: "M275.48,925.47s-16.02,12.02-17.14,33.5l2.91,.26s5.12-22.21,14.37-30.89c9.25-8.68-.14-2.87-.14-2.87Z"
1531
- }
1532
- )
1533
- ] })
1534
- ] }),
1535
- /* @__PURE__ */ jsxs("g", { children: [
1536
- /* @__PURE__ */ jsx(
1537
- "path",
1538
- {
1539
- fill: "#a9c2ff",
1540
- d: "M224.15,876.13s30.12-17.11,16.06-40.33c0,0-11.24-14.26-23.29-17.92,0,0,6.42,34.62,0,35.44-6.43,.81-4.42-39.11-4.42-39.11,0,0-31.72-15.48-44.17-14.26,0,0,19.68,33.81,13.25,33-6.43-.81-28.51-35.03-28.51-35.03,0,0-32.53-6.11-37.75,13.44-5.22,19.55,3.21,29.33,8.03,30.55,4.82,1.22,35.74,.81,34.94,4.89-.8,4.07-21.69,10.59-33.33,6.92,0,0,12.85,32.18,29.72,30.55,16.87-1.63,22.09-12.22,32.53-13.03,10.44-.81,18.07,2.04,12.85,4.89-5.22,2.85-22.89,.93-31.32,8.21-8.43,7.27-15.26,11.75,.4,15.01,15.66,3.26,43.77,1.22,49.39-11l5.62-12.22Z"
1541
- }
1542
- ),
1543
- /* @__PURE__ */ jsxs("g", { children: [
1544
- /* @__PURE__ */ jsx(
1545
- "path",
1546
- {
1547
- fill: "#a9c2ff",
1548
- d: "M130.18,817.47s84.33,27.7,93.97,58.66c0,0-.4,13.85,8.03,29.74v6.11s-8.83-20.78-13.65-23.63c0,0,18.87-26.88-88.35-70.88Z"
1549
- }
1550
- ),
1551
- /* @__PURE__ */ jsx(
1552
- "path",
1553
- {
1554
- fill: "#a9c2ff",
1555
- d: "M232.18,905.87s13.01,20.03,5.59,44.42l-3.35-.91s3.25-26.86-3.56-40.37c-6.8-13.51,1.31-3.14,1.31-3.14Z"
1556
- }
1557
- )
1558
- ] })
1559
- ] }),
1560
- /* @__PURE__ */ jsxs("g", { children: [
1561
- /* @__PURE__ */ jsx(
1562
- "path",
1563
- {
1564
- fill: "#cedfff",
1565
- d: "M272.06,852.53s-39.7-22.55-21.17-53.16c0,0,14.82-18.79,30.7-23.63,0,0-8.47,45.64,0,46.72,8.47,1.07,5.82-51.55,5.82-51.55,0,0,41.82-20.4,58.23-18.79,0,0-25.94,44.57-17.47,43.49,8.47-1.07,37.58-46.18,37.58-46.18,0,0,42.88-8.05,49.76,17.72,6.88,25.77-4.23,38.66-10.59,40.27-6.35,1.61-47.11,1.07-46.05,6.44,1.06,5.37,28.58,13.96,43.94,9.13,0,0-16.94,42.42-39.17,40.27-22.23-2.15-29.11-16.11-42.88-17.18-13.76-1.07-23.82,2.69-16.94,6.44,6.88,3.76,30.17,1.23,41.29,10.82,11.12,9.59,20.12,15.49-.53,19.79-20.64,4.3-57.7,1.61-65.11-14.5l-7.41-16.11Z"
1566
- }
1567
- ),
1568
- /* @__PURE__ */ jsxs("g", { children: [
1569
- /* @__PURE__ */ jsx(
1570
- "path",
1571
- {
1572
- fill: "#cedfff",
1573
- d: "M395.93,775.21s-111.16,36.51-123.87,77.32c0,0,.53,18.26-10.59,39.2v8.05s11.65-27.39,18-31.14c0,0-24.88-35.44,116.46-93.43Z"
1574
- }
1575
- ),
1576
- /* @__PURE__ */ jsx(
1577
- "path",
1578
- {
1579
- fill: "#cedfff",
1580
- d: "M261.48,891.73s-17.14,26.41-7.37,58.55l4.41-1.2s-4.28-35.41,4.69-53.21c8.97-17.81-1.73-4.14-1.73-4.14Z"
1581
- }
1582
- )
1583
- ] })
1584
- ] }),
1585
- /* @__PURE__ */ jsx(
1586
- "path",
1587
- {
1588
- fill: "#bbd3ff",
1589
- d: "M270.72,1019.99c42.95,0,77.77-35.32,77.77-78.89H192.96c0,43.57,34.82,78.89,77.77,78.89Z"
1590
- }
1591
- ),
1592
- /* @__PURE__ */ jsx(
1593
- "path",
1594
- {
1595
- fill: "#bbd3ff",
1596
- d: "M349.57,1024.01H191.88c0-5.37,4.3-9.73,9.59-9.73h138.49c5.3,0,9.59,4.36,9.59,9.73h0Z"
1597
- }
1598
- ),
1599
- /* @__PURE__ */ jsx("rect", { fill: "#80a1e6", height: "2.42", width: "159.86", y: "941.11", x: "190.4" })
1600
- ] }),
1601
- /* @__PURE__ */ jsx(
1602
- "path",
1603
- {
1604
- fill: "#768cee",
1605
- d: "M801.19,578.05l-34.8,419.74s-3.65,25.44,15.01,25.49c30.68,.07,152.69,0,152.69,0,0,0-23.09-5.3-22.81-17.21,.33-14.05,40.67-431.99,40.67-431.99l-150.76,3.97Z"
1606
- }
1607
- ),
1608
- /* @__PURE__ */ jsx(
1609
- "path",
1610
- {
1611
- fill: "#a9c2ff",
1612
- d: "M945.58,1015.66c-6.03,.02-124.16,.22-154.03-.17-13.02-.16-15.3-11.74-15.41-19.24-.05-3.59,.4-6.25,.4-6.25l.9-10.91,2.31-27.81,2.04-24.57,2.62-31.57,2.2-26.64,24.73-298.26,150.76-3.97s-16.99,174.91-29.01,302.22c-1.34,14.19-2.62,27.79-3.8,40.48-.38,4.05-.75,8.02-1.11,11.88-1.11,12.05-2.13,23.11-3.02,32.88-.47,5.15-.9,9.93-1.29,14.31-1.53,17.17-2.43,28.13-2.44,30.22,0,1.22,.1,2.35,.29,3.4,2.47,13.38,21.59,13.98,23.86,13.98Z"
1613
- }
1614
- ),
1615
- /* @__PURE__ */ jsx(
1616
- "polygon",
1617
- {
1618
- fill: "#a9c2ff",
1619
- points: "435.05 349.47 519.82 694.86 531.43 742.16 570.91 903.04 1304.39 903.04 1158.87 349.47 435.05 349.47"
1620
- }
1621
- ),
1622
- /* @__PURE__ */ jsx(
1623
- "polygon",
1624
- {
1625
- fill: "#768cee",
1626
- points: "435.05 349.46 423.31 353.44 555.29 915.06 570.91 903.04 435.05 349.46"
1627
- }
1628
- ),
1629
- /* @__PURE__ */ jsx(
1630
- "polygon",
1631
- {
1632
- fill: "#809bf5",
1633
- points: "555.29 915.06 1284.26 915.06 1304.39 903.04 570.91 903.04 555.29 915.06"
1634
- }
1635
- ),
1636
- /* @__PURE__ */ jsx(
1637
- "rect",
1638
- {
1639
- fill: "#a9c2ff",
1640
- transform: "translate(1780.4 2038.92) rotate(180)",
1641
- height: "7.61",
1642
- width: "157.83",
1643
- y: "1015.66",
1644
- x: "811.28"
1645
- }
1646
- ),
1647
- /* @__PURE__ */ jsx(
1648
- "polygon",
1649
- {
1650
- fill: "#899bfa",
1651
- points: "928.99 915.05 928.18 920.87 779.74 951.29 781.78 926.72 782.75 915.05 928.99 915.05"
1652
- }
1653
- ),
1654
- /* @__PURE__ */ jsx("g", { opacity: ".5", children: /* @__PURE__ */ jsx(
1655
- "path",
1656
- {
1657
- fill: "#899bfa",
1658
- d: "M945.58,1015.66c-6.03,.02-124.16,.22-154.03-.17-13.02-.16-15.3-11.74-15.41-19.24l147.73-28.19c-1.53,17.17-2.43,28.13-2.44,30.22,0,1.22,.1,2.35,.29,3.4,2.47,13.38,21.59,13.98,23.86,13.98Z"
1659
- }
1660
- ) }),
1661
- /* @__PURE__ */ jsx(
1662
- "polygon",
1663
- {
1664
- fill: "#899bfa",
1665
- points: "435.05 349.46 1158.87 349.46 1276.31 794.36 544.24 794.36 435.05 349.46"
1666
- }
1667
- ),
1668
- /* @__PURE__ */ jsx(
1669
- "polygon",
1670
- {
1671
- fill: "#5158bf",
1672
- points: "1242.18 775.08 564.46 775.08 540.24 677.22 530.87 639.35 527.05 623.91 502.16 523.34 500.87 518.1 487.71 464.94 481.83 441.15 476.81 420.86 472.71 404.31 465.03 373.3 1132.98 373.3 1141.41 404.31 1145.91 420.86 1151.42 441.15 1157.88 464.94 1200.47 621.65 1200.47 621.65 1204.08 634.93 1205.76 641.09 1235.16 749.28 1242.18 775.08"
1673
- }
1674
- ),
1675
- /* @__PURE__ */ jsx(
1676
- "polygon",
1677
- {
1678
- fill: "#5d6cd2",
1679
- points: "973.57 757.36 624.87 757.36 605.71 662.1 598.3 632.14 595.28 619.93 575.59 540.37 574.57 536.23 564.16 494.17 559.5 475.35 555.53 459.3 552.29 446.21 546.22 421.68 887.42 421.68 973.57 757.36"
1680
- }
1681
- ),
1682
- /* @__PURE__ */ jsx("polygon", { fill: "#899bfa", points: "819.24 794.36 571.16 904.34 544.24 794.36 819.24 794.36" }),
1683
- /* @__PURE__ */ jsxs("g", { children: [
1684
- /* @__PURE__ */ jsx(
1685
- "path",
1686
- {
1687
- fill: "#2a3967",
1688
- d: "M1384.19,552.09c.04-.99,.79-11.66,16.82-12.22,0,0-7.88,.95-9.24,4.47,0,0,5.37-4.34,9.74-2.95,4.37,1.4,6.94,9.16,6.96,11.72,.03,2.55-2.4,10.79-5.18,11.49-1.05,.27-2.26,.19-3.36,0,.74,1.17,1.46,2.46,2.15,3.9,6.4,13.32-.2,26.33-5.61,24.89-3.47-.92-4.45,5.09-4.45,5.09l-33.74-27.7s12.39-26.01,25.91-18.69Z"
1689
- }
1690
- ),
1691
- /* @__PURE__ */ jsx(
1692
- "path",
1693
- {
1694
- fill: "#ffae73",
1695
- d: "M1292.25,718.6c2.82,2.53,10.3-6.16,11.33-7.32,.05-.11,.11-.17,.11-.17l-2.28-6.44s-9.82-.38-11.44,1.27c-1.63,1.65-.81,9.96,2.28,12.65Z"
1696
- }
1697
- ),
1698
- /* @__PURE__ */ jsx(
1699
- "path",
1700
- {
1701
- fill: "#25468f",
1702
- d: "M1372.45,944.42l7.17,2.71s31.12-43.79,34.96-82.31c.68-6.88-.72-21.46-.19-24.57,.25-1.45,.55-3.2,.89-5.21,1.01-5.88,2.4-13.93,4-23.09,3.66-21.09,8.41-48.04,12.09-67.85l-1.93-.63-20.89-6.84-4.32-13.91-15.56-4.15s-3.47,6.9-6.58,39.47c-.57,4.27-1.09,8.98-1.49,14.09-1.21,15.6-1.3,34.94,1.48,57.06,.71,5.66,3.67,27.92,3.33,34.81-1.57,31.49-12.96,80.44-12.96,80.44Z"
1703
- }
1704
- ),
1705
- /* @__PURE__ */ jsx(
1706
- "path",
1707
- {
1708
- fill: "#1e3865",
1709
- d: "M1380.6,772.11l33.78,68.12c.25-1.45,.55-3.2,.89-5.21,1.01-5.88,2.4-13.93,4-23.09,3.66-21.09,8.41-48.04,12.09-67.85l-1.93-.63-20.89-6.84-4.32-13.91-15.56-4.15s-3.47,6.9-6.58,39.47c-.57,4.27-1.09,8.98-1.49,14.09Z"
1710
- }
1711
- ),
1712
- /* @__PURE__ */ jsx(
1713
- "path",
1714
- {
1715
- fill: "#25468f",
1716
- d: "M1395.46,727.29l.78-6.8c13.1,3.53,48.1-9.86,48.1-9.86,0,0,12.69,11.32,11.03,38.44-.81,13.24-2.3,69.5-3.85,86.15-.56,6.03,3.3,21.56,4.85,25.75,15.23,41.17-2.35,91.87-2.35,91.87l-4.56-1.87s-28.85-106.12-31.83-117.36c-5.63-21.25-10.15-48.9-13.17-70.25-.42,.02-9.01-36.08-9.01-36.08Z"
1717
- }
1718
- ),
1719
- /* @__PURE__ */ jsx(
1720
- "path",
1721
- {
1722
- fill: "#ffae73",
1723
- d: "M1385.52,648.37c22.52,1.25,17.57-32.81,16.2-32.63-2.76-1.46-7.7-8.55-10.56-20.41l-.97,.46-16.25,7.75s1.73,5.36,3,10.5c.99,4.02,1.71,7.9,1.11,8.98-1.28,.53-2.05,.86-2.05,.86,0,0,0,0,0,.02-.16,.42,3.52,24.15,9.53,24.48Z"
1724
- }
1725
- ),
1726
- /* @__PURE__ */ jsx(
1727
- "path",
1728
- {
1729
- fill: "#f99352",
1730
- d: "M1373.93,603.53s1.73,5.36,3,10.5c9.5-2.69,12.38-12.82,13.25-18.25l-16.25,7.75Z"
1731
- }
1732
- ),
1733
- /* @__PURE__ */ jsx(
1734
- "path",
1735
- {
1736
- fill: "#ffae73",
1737
- d: "M1371.93,609.21s22.73-5.34,19.23-19.64c-3.49-14.31-2.91-24.63-17.57-21.83-14.66,2.8-16.13,8.97-16.11,14.03,.02,5.06,8.45,28.46,14.45,27.44Z"
1738
- }
1739
- ),
1740
- /* @__PURE__ */ jsx(
1741
- "path",
1742
- {
1743
- fill: "#2a3967",
1744
- d: "M1356.2,573.64c2.44-5.19,5.32-4.91,7.12-3.99,10.68-10.02,21.15-1.83,21.15-1.83,4.03,9.88,12.77,13.92,12.77,13.92,0,0-3.49,3.63-13.61,3.55-3.09-.02-6.2-1.46-9.03-3.45,5.45,5.57,11.85,8.97,11.85,8.97-12.67-2.46-21.16-17.34-22.03-18.92-1.07,1.61-3.13,5.03-3.3,7.92-.23,3.93,1.1,11.55-1.12,11.84,0,0-7.47-10.23-3.8-18Z"
1745
- }
1746
- ),
1747
- /* @__PURE__ */ jsx(
1748
- "path",
1749
- {
1750
- fill: "#1e3865",
1751
- d: "M1427.51,956.62h36.09s.87-5.58-1.02-9.81c-1.81-4.06-4.64-5.91-3.96-10.82-2.29,2.4-6.03,5.08-11.25,4.37-.64,1.05-4.13,6.68-6.26,8.23-2.36,1.72-12.88,1.11-13.6,8.04Z"
1752
- }
1753
- ),
1754
- /* @__PURE__ */ jsx(
1755
- "path",
1756
- {
1757
- fill: "#1e3865",
1758
- d: "M1350.02,956.62h36.09s1.35-5.84-1.02-9.81c-2.1-3.52-1.29-5.52,.26-8.43-1.64,.68-3.75,1.3-6.08,1.16-1.8-.1-3.7-.93-5.37-1.91-1.55,1.8-8.2,9.44-10.28,10.96-2.36,1.72-12.88,1.11-13.6,8.04Z"
1759
- }
1760
- ),
1761
- /* @__PURE__ */ jsx(
1762
- "path",
1763
- {
1764
- fill: "#899bfa",
1765
- d: "M1445.02,667.38c-1.94-6.38-3.95-12.51-5.98-18.16-4.62-12.85-7.56-19.56-10.05-24.76-4.74-9.89-25.93-9.27-25.93-9.27-4.08,14.92-15.3,24.22-15.3,24.22-5.98-3.56-10.43-16.08-10.43-16.08l-13.09,7.06h0s-4.05,2.45-7.58,12.75c-5.25,15.32-13.77,37.08-19.68,43.73-1.38,1.55-5.42,3.9-10.31,6.39h0c-.11,.17-.19,.25-.24,.25,.32,.73,1.74,4.18,4.04,7.69,1.87,2.85,4.32,5.73,7.22,7.21,2.23-1.09,6.25-2.7,7.95-3.76,6.16-3.82,15.33-9.32,22.51-20.93l2,27.29,3.62,49.37c5.57,1.76,10.87,3.13,15.89,4.18,.33-4.14,1.65-9.09,1.65-9.09-.06,2.6,2.94,7.56,4.71,10.27,46.22,7.51,67.88-12.94,67.88-12.94-1.8-18.1-9.58-54.72-18.91-85.41Z"
1766
- }
1767
- ),
1768
- /* @__PURE__ */ jsx(
1769
- "path",
1770
- {
1771
- fill: "#6f7deb",
1772
- d: "M1398.39,612.43s3.84,.26,4.67,2.76c0,0-5.02,20.49-15.29,24.22l10.62-26.97Z"
1773
- }
1774
- ),
1775
- /* @__PURE__ */ jsx(
1776
- "path",
1777
- {
1778
- fill: "#6f7deb",
1779
- d: "M1387.77,639.4s-9.82-17.97-9.78-20.4c0,0-3.73,3.35-3.49,5.85,0,0,8.27,13.43,13.26,14.55Z"
1780
- }
1781
- ),
1782
- /* @__PURE__ */ jsx(
1783
- "path",
1784
- {
1785
- fill: "#6f7deb",
1786
- d: "M1414.09,632.11c-.28,.97-20.31,49.54-38.28,67.44-7.87,7.84,17.2,5.57,17.44,4.12,.24-1.46,20.84-71.56,20.84-71.56Z"
1787
- }
1788
- ),
1789
- /* @__PURE__ */ jsx(
1790
- "path",
1791
- {
1792
- fill: "#6f7deb",
1793
- d: "M1370.8,712.54l1.71,27.4c54.8-12.91,50.2-101.44,50.2-101.44l-27.52,57.64-24.15,16.01s-.09,.14-.25,.39Z"
1794
- }
1795
- ),
1796
- /* @__PURE__ */ jsx(
1797
- "path",
1798
- {
1799
- fill: "#a9c2ff",
1800
- d: "M1326.37,693.41c.01,.06,.04,.09,.07,.09-.02-.04-.03-.08-.04-.1-.04-.09-.05-.09-.03,.01Z"
1801
- }
1802
- ),
1803
- /* @__PURE__ */ jsxs("g", { children: [
1804
- /* @__PURE__ */ jsx(
1805
- "path",
1806
- {
1807
- fill: "#ff912b",
1808
- d: "M1353.48,655.68l10.91,49.33c1.74,7.86-4.13,14.22-13.1,14.22h-262c-8.97,0-17.65-6.37-19.39-14.22l-10.91-49.33c-.07-.3-.12-.6-.16-.9-1.13-7.44,4.63-13.32,13.26-13.32h262c8.63,0,16.99,5.88,19.15,13.32,.1,.3,.17,.6,.24,.9Z"
1809
- }
1810
- ),
1811
- /* @__PURE__ */ jsxs("g", { children: [
1812
- /* @__PURE__ */ jsxs("g", { children: [
1813
- /* @__PURE__ */ jsx(
1814
- "polygon",
1815
- {
1816
- fill: "#e8f2fa",
1817
- points: "1089.87 697 1087.3 697 1080.51 666.3 1083.08 666.3 1089.87 697"
1818
- }
1819
- ),
1820
- /* @__PURE__ */ jsx(
1821
- "polygon",
1822
- {
1823
- fill: "#e8f2fa",
1824
- points: "1107.58 678.97 1089.17 678.97 1087.24 670.28 1105.66 670.28 1107.58 678.97"
1825
- }
1826
- ),
1827
- /* @__PURE__ */ jsx(
1828
- "polygon",
1829
- {
1830
- fill: "#e8f2fa",
1831
- points: "1116.16 691.42 1091.92 691.42 1090 682.74 1114.24 682.74 1116.16 691.42"
1832
- }
1833
- )
1834
- ] }),
1835
- /* @__PURE__ */ jsxs("g", { children: [
1836
- /* @__PURE__ */ jsx(
1837
- "polygon",
1838
- {
1839
- fill: "#e8f2fa",
1840
- points: "1148.77 697 1146.2 697 1139.41 666.3 1141.98 666.3 1148.77 697"
1841
- }
1842
- ),
1843
- /* @__PURE__ */ jsx(
1844
- "polygon",
1845
- {
1846
- fill: "#e8f2fa",
1847
- points: "1152.7 678.97 1134.29 678.97 1132.37 670.28 1150.78 670.28 1152.7 678.97"
1848
- }
1849
- ),
1850
- /* @__PURE__ */ jsx(
1851
- "polygon",
1852
- {
1853
- fill: "#e8f2fa",
1854
- points: "1158.37 691.42 1134.13 691.42 1132.21 682.74 1156.45 682.74 1158.37 691.42"
1855
- }
1856
- )
1857
- ] }),
1858
- /* @__PURE__ */ jsxs("g", { children: [
1859
- /* @__PURE__ */ jsx(
1860
- "polygon",
1861
- {
1862
- fill: "#e8f2fa",
1863
- points: "1207.67 697 1205.1 697 1198.31 666.3 1200.88 666.3 1207.67 697"
1864
- }
1865
- ),
1866
- /* @__PURE__ */ jsx(
1867
- "polygon",
1868
- {
1869
- fill: "#e8f2fa",
1870
- points: "1197.82 678.97 1179.4 678.97 1177.48 670.28 1195.89 670.28 1197.82 678.97"
1871
- }
1872
- ),
1873
- /* @__PURE__ */ jsx(
1874
- "polygon",
1875
- {
1876
- fill: "#e8f2fa",
1877
- points: "1200.57 691.42 1176.33 691.42 1174.41 682.74 1198.65 682.74 1200.57 691.42"
1878
- }
1879
- )
1880
- ] }),
1881
- /* @__PURE__ */ jsxs("g", { children: [
1882
- /* @__PURE__ */ jsx(
1883
- "polygon",
1884
- {
1885
- fill: "#e8f2fa",
1886
- points: "1245.35 668.78 1215.1 668.78 1214.52 666.18 1244.78 666.18 1245.35 668.78"
1887
- }
1888
- ),
1889
- /* @__PURE__ */ jsx(
1890
- "polygon",
1891
- {
1892
- fill: "#e8f2fa",
1893
- points: "1228.12 671.23 1232.26 689.91 1223.69 689.91 1219.56 671.23 1228.12 671.23"
1894
- }
1895
- ),
1896
- /* @__PURE__ */ jsx(
1897
- "polygon",
1898
- {
1899
- fill: "#e8f2fa",
1900
- points: "1240.4 671.23 1245.84 695.82 1237.28 695.82 1231.84 671.23 1240.4 671.23"
1901
- }
1902
- )
1903
- ] }),
1904
- /* @__PURE__ */ jsxs("g", { children: [
1905
- /* @__PURE__ */ jsx(
1906
- "polygon",
1907
- {
1908
- fill: "#e8f2fa",
1909
- points: "1292.98 682.95 1262.72 682.95 1262.14 680.35 1292.4 680.35 1292.98 682.95"
1910
- }
1911
- ),
1912
- /* @__PURE__ */ jsx(
1913
- "polygon",
1914
- {
1915
- fill: "#e8f2fa",
1916
- points: "1272.86 672.31 1276.99 690.99 1268.42 690.99 1264.29 672.31 1272.86 672.31"
1917
- }
1918
- ),
1919
- /* @__PURE__ */ jsx(
1920
- "polygon",
1921
- {
1922
- fill: "#e8f2fa",
1923
- points: "1284.48 669.36 1289.92 693.94 1281.35 693.94 1275.91 669.36 1284.48 669.36"
1924
- }
1925
- )
1926
- ] }),
1927
- /* @__PURE__ */ jsxs("g", { children: [
1928
- /* @__PURE__ */ jsx(
1929
- "polygon",
1930
- {
1931
- fill: "#e8f2fa",
1932
- points: "1340.63 697.23 1310.37 697.23 1309.79 694.63 1340.05 694.63 1340.63 697.23"
1933
- }
1934
- ),
1935
- /* @__PURE__ */ jsx(
1936
- "polygon",
1937
- {
1938
- fill: "#e8f2fa",
1939
- points: "1317.78 673.28 1321.91 691.96 1313.34 691.96 1309.21 673.28 1317.78 673.28"
1940
- }
1941
- ),
1942
- /* @__PURE__ */ jsx(
1943
- "polygon",
1944
- {
1945
- fill: "#e8f2fa",
1946
- points: "1328.74 667.37 1334.18 691.96 1325.62 691.96 1320.18 667.37 1328.74 667.37"
1947
- }
1948
- )
1949
- ] })
1950
- ] })
1951
- ] }),
1952
- /* @__PURE__ */ jsxs("g", { children: [
1953
- /* @__PURE__ */ jsx(
1954
- "path",
1955
- {
1956
- fill: "#ffae73",
1957
- d: "M1327.16,714.82c2.99-.01,7.7-.22,10.42-1.28,0,0-8.7-.13-6.85-2.92,.34-.51,4.66-.12,9.49-.12,1.98,0,6.88,2.75,6.62,2.88,3.5-.47,6.68-1.16,7.71-1.38,.27-.06,.38-.11,.38-.11l3.09,9.13s-.65,.16-1.79,.38c-2.87,.72-8.79,2.26-14.37,4.46-7.81,3.14-13.55-.76-16.16-3.52-1.65-1.75-2.95-4.07-2.86-5.75,.1-1.84,2.5-1.76,4.32-1.77Z"
1958
- }
1959
- ),
1960
- /* @__PURE__ */ jsx(
1961
- "path",
1962
- {
1963
- fill: "#ffae73",
1964
- d: "M1348.16,715.52l1.9,7.04s2.39-.44,6.18-1.16c1.14-.22,1.79-.39,1.79-.39,3.04-.6,6.67-1.43,10.63-2.31h.06c6.78-1.65,14.37-3.63,20.77-5.83,.57-.2,1.14-.41,1.69-.61,3.78-1.42-3.53-20.9-6.84-18.47-.88,.65-1.82,1.31-2.8,1.99-5.49,3.78-12.47,7.99-18.67,11.54-3.04,1.76-5.91,3.36-8.3,4.68-3.85,2.14-6.4,3.52-6.4,3.52Z"
1965
- }
1966
- ),
1967
- /* @__PURE__ */ jsx(
1968
- "path",
1969
- {
1970
- fill: "#899bfa",
1971
- d: "M1381.53,695.79s-.4,13.3,11.88,19.77c14.19-5.2,21.78-26.66,27.64-41.4,.81-2.03,1.57-4.07,2.33-6.05,2.71-7.37,4.88-14.63,6.18-20.91,.81-3.74-14.97-22.61-16.97-18.15-3.09,7.09-6.34,16.28-9.38,25.41-1.68,5.01-3.31,10.01-4.94,14.63-.92,2.8-1.85,5.44-2.71,7.86-1.68,4.62-3.2,8.36-4.55,10.73-.87,1.54-3.36,3.69-6.67,6.11-.88,.65-1.82,1.31-2.8,1.99Z"
1972
- }
1973
- )
1974
- ] })
1975
- ] }),
1976
- /* @__PURE__ */ jsx(
1977
- "polygon",
1978
- {
1979
- fill: "#3c4aaa",
1980
- points: "1141.41 404.31 472.71 404.31 465.03 373.3 1132.98 373.3 1141.41 404.31"
1981
- }
1982
- ),
1983
- /* @__PURE__ */ jsxs("g", { children: [
1984
- /* @__PURE__ */ jsx(
1985
- "path",
1986
- {
1987
- fill: "#e8f2fa",
1988
- d: "M506.59,389.09c.87,2.78-.86,5.05-3.87,5.07-3.01,.02-6.16-2.22-7.03-4.99-.87-2.78,.86-5.05,3.87-5.07,3.01-.02,6.16,2.21,7.03,4.99Z"
1989
- }
1990
- ),
1991
- /* @__PURE__ */ jsx(
1992
- "path",
1993
- {
1994
- fill: "#e8f2fa",
1995
- d: "M529.14,388.93c.87,2.78-.86,5.05-3.87,5.07-3.01,.02-6.16-2.21-7.03-4.99-.87-2.78,.86-5.05,3.87-5.07,3.01-.02,6.16,2.21,7.03,4.99Z"
1996
- }
1997
- ),
1998
- /* @__PURE__ */ jsx(
1999
- "path",
2000
- {
2001
- fill: "#e8f2fa",
2002
- d: "M551.69,388.77c.87,2.78-.86,5.05-3.87,5.07-3.01,.02-6.16-2.21-7.03-4.99-.87-2.78,.86-5.05,3.87-5.07,3.01-.02,6.16,2.21,7.03,4.99Z"
2003
- }
2004
- )
2005
- ] }),
2006
- /* @__PURE__ */ jsx(
2007
- "path",
2008
- {
2009
- fill: "#ff912b",
2010
- d: "M559.5,475.35s78.71,.3,135.79,44.69c57.08,44.39,48.85,84.22,96.21,94.2,77.61,16.36,29.43-67.66,130.21-58.92l51.86,202.04h-348.7l-26.57-125.21-38.8-156.79Z"
2011
- }
2012
- ),
2013
- /* @__PURE__ */ jsx(
2014
- "path",
2015
- {
2016
- fill: "#fff",
2017
- d: "M809.47,617.1c-5.34,0-11.34-.72-18.11-2.15-26.14-5.51-35.78-20.39-47.98-39.22-10.11-15.61-22.69-35.03-48.52-55.11-16.21-12.61-44.82-29.59-89.01-38.86-26.44-5.54-46.15-5.68-46.35-5.68v-1.46c.2,0,20.06,.14,46.64,5.72,24.54,5.15,60,16.11,89.59,39.13,26.02,20.24,38.68,39.77,48.85,55.47,12.49,19.28,21.51,33.21,47.07,38.59,36.4,7.67,44.63-6.84,54.16-23.64,10.62-18.71,22.66-39.93,75.97-35.3l-.12,1.45c-52.41-4.55-64.2,16.24-74.6,34.58-4.82,8.5-9.38,16.53-17.46,21.49-5.44,3.34-12.02,4.99-20.12,4.99Z"
2018
- }
2019
- ),
2020
- /* @__PURE__ */ jsx(
2021
- "path",
2022
- {
2023
- fill: "#fc7400",
2024
- d: "M577.88,549.18l20.01,80.88,26.98,127.29h348.7l-17.58-66.1s-51.62-29.18-121.62-3.75c-70,25.44-147.49,1.96-152.48-55.25-5.62-64.51-64.06-95.58-104.01-83.08Z"
2025
- }
2026
- ),
2027
- /* @__PURE__ */ jsx(
2028
- "path",
2029
- {
2030
- fill: "#fff",
2031
- d: "M665.98,587.45c-20.04-31.44-57-47.24-87.89-37.57l-.42-1.39c31.49-9.85,69.13,6.2,89.52,38.17l-1.21,.79Z"
2032
- }
2033
- ),
2034
- /* @__PURE__ */ jsxs("g", { children: [
2035
- /* @__PURE__ */ jsx(
2036
- "polygon",
2037
- {
2038
- fill: "#fff",
2039
- points: "795.85 620.61 784.52 619.43 785.69 607.94 797.02 609.12 795.85 620.61"
2040
- }
2041
- ),
2042
- /* @__PURE__ */ jsx(
2043
- "polygon",
2044
- {
2045
- fill: "#fff",
2046
- points: "892.8 636.61 701.9 596.39 702.28 594.51 893.18 634.73 892.8 636.61"
2047
- }
2048
- ),
2049
- /* @__PURE__ */ jsx(
2050
- "path",
2051
- {
2052
- fill: "#fff",
2053
- d: "M698.84,595.11c.19-1.82,1.79-3.15,3.59-2.96,1.8,.19,3.1,1.82,2.92,3.64s-1.79,3.15-3.59,2.96c-1.8-.19-3.1-1.82-2.92-3.64Z"
2054
- }
2055
- ),
2056
- /* @__PURE__ */ jsx(
2057
- "path",
2058
- {
2059
- fill: "#fff",
2060
- d: "M889.74,635.33c.19-1.82,1.79-3.15,3.59-2.96,1.8,.19,3.1,1.82,2.92,3.64-.19,1.82-1.79,3.15-3.59,2.96-1.8-.19-3.1-1.82-2.92-3.64Z"
2061
- }
2062
- )
2063
- ] }),
2064
- /* @__PURE__ */ jsxs("g", { children: [
2065
- /* @__PURE__ */ jsx(
2066
- "polygon",
2067
- {
2068
- fill: "#fff",
2069
- points: "656.9 504.31 648.61 496.38 656.42 487.98 664.71 495.9 656.9 504.31"
2070
- }
2071
- ),
2072
- /* @__PURE__ */ jsx("polygon", { fill: "#fff", points: "687.13 528 622.39 462.58 623.73 461.23 688.46 526.64 687.13 528" }),
2073
- /* @__PURE__ */ jsx(
2074
- "path",
2075
- {
2076
- fill: "#fff",
2077
- d: "M620.52,459.81c1.14-1.42,3.2-1.64,4.6-.49,1.4,1.15,1.62,3.24,.48,4.67-1.14,1.42-3.2,1.64-4.6,.49-1.4-1.15-1.62-3.24-.48-4.67Z"
2078
- }
2079
- ),
2080
- /* @__PURE__ */ jsx(
2081
- "path",
2082
- {
2083
- fill: "#fff",
2084
- d: "M685.26,525.23c1.14-1.42,3.2-1.64,4.6-.49s1.62,3.24,.48,4.67c-1.14,1.42-3.2,1.64-4.6,.49-1.4-1.15-1.62-3.24-.48-4.67Z"
2085
- }
2086
- )
2087
- ] }),
2088
- /* @__PURE__ */ jsxs("g", { children: [
2089
- /* @__PURE__ */ jsx(
2090
- "polygon",
2091
- {
2092
- fill: "#fff",
2093
- points: "882.44 557.53 877.99 568.16 867.5 563.65 871.96 553.01 882.44 557.53"
2094
- }
2095
- ),
2096
- /* @__PURE__ */ jsx(
2097
- "polygon",
2098
- {
2099
- fill: "#fff",
2100
- points: "863.91 587.74 862.2 586.94 886.44 533.18 888.16 533.98 863.91 587.74"
2101
- }
2102
- ),
2103
- /* @__PURE__ */ jsx(
2104
- "path",
2105
- {
2106
- fill: "#fff",
2107
- d: "M862,590.48c-1.71-.59-2.63-2.47-2.05-4.21,.58-1.74,2.44-2.66,4.15-2.08,1.71,.59,2.63,2.47,2.05,4.21-.58,1.74-2.44,2.66-4.15,2.08Z"
2108
- }
2109
- ),
2110
- /* @__PURE__ */ jsx(
2111
- "path",
2112
- {
2113
- fill: "#fff",
2114
- d: "M886.25,536.72c-1.71-.59-2.63-2.47-2.05-4.21,.58-1.74,2.44-2.66,4.15-2.08,1.71,.59,2.63,2.47,2.05,4.21-.58,1.74-2.44,2.66-4.15,2.08Z"
2115
- }
2116
- )
2117
- ] }),
2118
- /* @__PURE__ */ jsxs("g", { children: [
2119
- /* @__PURE__ */ jsx(
2120
- "path",
2121
- {
2122
- fill: "#cedfff",
2123
- d: "M933.58,440.32l17.72,74.3c.76,3.18-2.2,5.76-6.61,5.76h-182.3c-4.41,0-8.6-2.58-9.35-5.76l-17.72-74.3c-.76-3.18,2.2-5.76,6.61-5.76h182.3c4.41,0,8.59,2.58,9.35,5.76Z"
2124
- }
2125
- ),
2126
- /* @__PURE__ */ jsxs("g", { children: [
2127
- /* @__PURE__ */ jsxs("g", { children: [
2128
- /* @__PURE__ */ jsx(
2129
- "polygon",
2130
- {
2131
- fill: "#25468f",
2132
- points: "781.52 483.78 762.12 483.78 757.43 464.1 776.83 464.1 781.52 483.78"
2133
- }
2134
- ),
2135
- /* @__PURE__ */ jsx(
2136
- "polygon",
2137
- {
2138
- fill: "#25468f",
2139
- points: "793.57 493.62 774.17 493.62 769.47 473.94 788.88 473.94 793.57 493.62"
2140
- }
2141
- )
2142
- ] }),
2143
- /* @__PURE__ */ jsxs("g", { children: [
2144
- /* @__PURE__ */ jsx(
2145
- "polygon",
2146
- {
2147
- fill: "#25468f",
2148
- points: "826.82 483.78 807.42 483.78 802.72 464.1 822.12 464.1 826.82 483.78"
2149
- }
2150
- ),
2151
- /* @__PURE__ */ jsxs("g", { children: [
2152
- /* @__PURE__ */ jsx(
2153
- "polygon",
2154
- {
2155
- fill: "#6b98f6",
2156
- points: "838.87 493.62 819.47 493.62 814.77 473.94 834.17 473.94 838.87 493.62"
2157
- }
2158
- ),
2159
- /* @__PURE__ */ jsx(
2160
- "path",
2161
- {
2162
- fill: "#183a76",
2163
- d: "M839.9,494.47h-21.06l-5.1-21.36h21.06l5.1,21.36Zm-19.8-1.68h17.75l-4.29-18h-17.75l4.29,18Z"
2164
- }
2165
- )
2166
- ] })
2167
- ] }),
2168
- /* @__PURE__ */ jsxs("g", { children: [
2169
- /* @__PURE__ */ jsx(
2170
- "polygon",
2171
- {
2172
- fill: "#6b98f6",
2173
- points: "872.12 483.78 852.71 483.78 848.02 464.1 867.42 464.1 872.12 483.78"
2174
- }
2175
- ),
2176
- /* @__PURE__ */ jsx(
2177
- "path",
2178
- {
2179
- fill: "#25468f",
2180
- d: "M873.14,484.62h-21.06l-5.1-21.36h21.06l5.1,21.36Zm-19.8-1.68h17.75l-4.29-18h-17.75l4.29,18Z"
2181
- }
2182
- ),
2183
- /* @__PURE__ */ jsx(
2184
- "polygon",
2185
- {
2186
- fill: "#6b98f6",
2187
- points: "884.16 493.62 864.76 493.62 860.07 473.94 879.47 473.94 884.16 493.62"
2188
- }
2189
- ),
2190
- /* @__PURE__ */ jsx(
2191
- "path",
2192
- {
2193
- fill: "#25468f",
2194
- d: "M885.19,494.47h-21.06l-5.1-21.36h21.06l5.1,21.36Zm-19.8-1.68h17.75l-4.29-18h-17.75l4.29,18Z"
2195
- }
2196
- ),
2197
- /* @__PURE__ */ jsx(
2198
- "polygon",
2199
- {
2200
- fill: "#25468f",
2201
- points: "873.14 484.58 861.71 484.58 858.97 473.1 870.4 473.1 873.14 484.58"
2202
- }
2203
- )
2204
- ] }),
2205
- /* @__PURE__ */ jsxs("g", { children: [
2206
- /* @__PURE__ */ jsx(
2207
- "polygon",
2208
- {
2209
- fill: "#25468f",
2210
- points: "917.41 483.78 898.01 483.78 893.31 464.1 912.72 464.1 917.41 483.78"
2211
- }
2212
- ),
2213
- /* @__PURE__ */ jsx(
2214
- "polygon",
2215
- {
2216
- fill: "#25468f",
2217
- points: "929.46 493.62 910.06 493.62 905.36 473.94 924.77 473.94 929.46 493.62"
2218
- }
2219
- ),
2220
- /* @__PURE__ */ jsx(
2221
- "polygon",
2222
- {
2223
- fill: "#6b98f6",
2224
- points: "916.86 483.31 907.97 483.31 905.84 474.37 914.73 474.37 916.86 483.31"
2225
- }
2226
- )
2227
- ] })
2228
- ] })
2229
- ] }),
2230
- /* @__PURE__ */ jsxs("g", { children: [
2231
- /* @__PURE__ */ jsx(
2232
- "path",
2233
- {
2234
- fill: "#3c4aaa",
2235
- d: "M429.21,674.95h-67.18c-8.96,0-17.83-7.37-19.81-16.46l-50.55-231.5c-1.98-9.09,3.67-16.46,12.63-16.46h67.18c8.96,0,17.83,7.37,19.81,16.46l50.55,231.5c1.98,9.09-3.67,16.46-12.63,16.46Z"
2236
- }
2237
- ),
2238
- /* @__PURE__ */ jsx("rect", { fill: "#a9c2ff", height: ".44", width: "99.62", y: "462.59", x: "299.49" }),
2239
- /* @__PURE__ */ jsx("rect", { fill: "#a9c2ff", height: ".44", width: "99.63", y: "517.14", x: "311.4" }),
2240
- /* @__PURE__ */ jsx("rect", { fill: "#a9c2ff", height: ".44", width: "99.63", y: "571.69", x: "323.31" }),
2241
- /* @__PURE__ */ jsx(
2242
- "path",
2243
- {
2244
- fill: "#fff",
2245
- d: "M360.43,446.51c.13-1.17-5.02-21.24-5.02-21.24l18.26,15.01-8.97-.32-4.27,6.56Z"
2246
- }
2247
- ),
2248
- /* @__PURE__ */ jsx(
2249
- "path",
2250
- {
2251
- fill: "#cedfff",
2252
- d: "M415.47,651.23h-35.38l-7.83-35.84h35.38l7.83,35.84Zm-33.8-2h31.35l-6.95-31.85h-31.35l6.95,31.85Z"
2253
- }
2254
- ),
2255
- /* @__PURE__ */ jsx(
2256
- "polygon",
2257
- {
2258
- fill: "#ff7536",
2259
- points: "390.05 630.85 356.68 630.85 349.29 597 382.66 597 390.05 630.85"
2260
- }
2261
- ),
2262
- /* @__PURE__ */ jsx("polygon", { fill: "#ff7536", points: "382 651.12 379.75 649.34 405.73 615.5 407.98 617.27 382 651.12" }),
2263
- /* @__PURE__ */ jsxs("g", { children: [
2264
- /* @__PURE__ */ jsx(
2265
- "path",
2266
- {
2267
- fill: "#cedfff",
2268
- d: "M315.51,446.51c.13-1.17-5.02-21.24-5.02-21.24l18.26,15.01-8.97-.32-4.27,6.56Z"
2269
- }
2270
- ),
2271
- /* @__PURE__ */ jsxs("g", { children: [
2272
- /* @__PURE__ */ jsx(
2273
- "polygon",
2274
- {
2275
- fill: "#cedfff",
2276
- points: "322.59 486.27 319.9 486.27 318.83 481.4 337.08 481.4 338.1 486.08 335.41 486.08 334.99 484.13 322.12 484.13 322.59 486.27"
2277
- }
2278
- ),
2279
- /* @__PURE__ */ jsx(
2280
- "polygon",
2281
- {
2282
- fill: "#cedfff",
2283
- points: "332.96 498.16 330.27 498.16 326.91 482.76 329.6 482.76 332.96 498.16"
2284
- }
2285
- ),
2286
- /* @__PURE__ */ jsx(
2287
- "polygon",
2288
- {
2289
- fill: "#cedfff",
2290
- points: "335.38 499.13 328.28 499.13 327.68 496.4 334.79 496.4 335.38 499.13"
2291
- }
2292
- )
2293
- ] }),
2294
- /* @__PURE__ */ jsx(
2295
- "polygon",
2296
- {
2297
- fill: "#cedfff",
2298
- points: "371.78 500.83 369.35 499.06 382.17 478.6 384.6 480.37 371.78 500.83"
2299
- }
2300
- ),
2301
- /* @__PURE__ */ jsxs("g", { children: [
2302
- /* @__PURE__ */ jsx(
2303
- "path",
2304
- {
2305
- fill: "#cedfff",
2306
- d: "M340.97,548.52c-5.13,0-10.23-4.24-11.37-9.44-1.14-5.21,2.11-9.44,7.25-9.44s10.23,4.24,11.37,9.44c1.14,5.21-2.11,9.44-7.25,9.44Zm-3.58-16.39c-3.78,0-6.17,3.12-5.33,6.95,.84,3.83,4.59,6.95,8.37,6.95s6.17-3.12,5.33-6.95c-.84-3.83-4.59-6.95-8.37-6.95Z"
2307
- }
2308
- ),
2309
- /* @__PURE__ */ jsx(
2310
- "path",
2311
- {
2312
- fill: "#cedfff",
2313
- d: "M358.69,556.72c-.32,0-.67-.13-.97-.38l-12.38-10.57c-.58-.5-.74-1.28-.36-1.76,.38-.48,1.17-.46,1.75,.03l12.38,10.57c.58,.5,.74,1.28,.36,1.76-.19,.23-.47,.35-.78,.35Z"
2314
- }
2315
- )
2316
- ] }),
2317
- /* @__PURE__ */ jsx(
2318
- "polygon",
2319
- {
2320
- fill: "#cedfff",
2321
- points: "385.5 528.76 390.11 537.32 398.98 537.32 392.96 542.61 397.57 551.16 389.24 545.87 383.22 551.16 384.09 542.61 375.76 537.32 384.63 537.32 385.5 528.76"
2322
- }
2323
- )
2324
- ] })
2325
- ] }),
2326
- /* @__PURE__ */ jsxs("g", { children: [
2327
- /* @__PURE__ */ jsx(
2328
- "path",
2329
- {
2330
- fill: "#fa8b79",
2331
- d: "M1241.96,453.88s.24,13.48-1.75,13.23c-1.99-.25-4.7-11.3-4.72-11.14-.02,.17,.9,11.62-1.6,12.19-2.51,.57-5.05-12.13-5.05-12.13,0,0,1.68,10.9-.08,11.19-1.76,.29-4.54-10.28-5.27-10.31-.73-.03,2.34,9.06,.19,9.53-2.15,.46-6.94-12.33-5.32-13.96,1.62-1.63,4.15,.11,4.15,.11,0,0,3.12-2.35,5.52-1.02,0,0,5.62-1.14,7.31,1.39,0,0,3.51-3.06,6.61,.91Z"
2332
- }
2333
- ),
2334
- /* @__PURE__ */ jsxs("g", { children: [
2335
- /* @__PURE__ */ jsx(
2336
- "path",
2337
- {
2338
- fill: "#cedfff",
2339
- d: "M1278.23,402.24l45.59,166.75c1.95,7.13-2.5,12.92-9.94,12.92h-307.72c-7.44,0-15.05-5.78-17-12.92l-45.59-166.75c-1.95-7.13,2.5-12.92,9.94-12.92h307.72c7.44,0,15.05,5.78,17,12.92Z"
2340
- }
2341
- ),
2342
- /* @__PURE__ */ jsxs("g", { children: [
2343
- /* @__PURE__ */ jsx(
2344
- "polygon",
2345
- {
2346
- fill: "#b0c0ff",
2347
- points: "1038.92 477.47 999.17 477.47 988.15 437.16 1027.89 437.16 1038.92 477.47"
2348
- }
2349
- ),
2350
- /* @__PURE__ */ jsx(
2351
- "polygon",
2352
- {
2353
- fill: "#5158bf",
2354
- points: "1026.48 467.6 1006.21 467.6 1000.59 447.03 1020.86 447.03 1026.48 467.6"
2355
- }
2356
- ),
2357
- /* @__PURE__ */ jsx(
2358
- "polygon",
2359
- {
2360
- fill: "#ff7536",
2361
- points: "1000.44 478.4 997.91 476.54 1026.63 436.23 1029.16 438.08 1000.44 478.4"
2362
- }
2363
- ),
2364
- /* @__PURE__ */ jsx(
2365
- "polygon",
2366
- {
2367
- fill: "#ff7536",
2368
- points: "1010.63 455.62 970.89 455.62 959.87 415.3 999.61 415.3 1010.63 455.62"
2369
- }
2370
- )
2371
- ] }),
2372
- /* @__PURE__ */ jsxs("g", { children: [
2373
- /* @__PURE__ */ jsx(
2374
- "polygon",
2375
- {
2376
- fill: "#ff7536",
2377
- points: "1033.21 525.04 1001.26 525.04 992.4 492.63 1024.35 492.63 1033.21 525.04"
2378
- }
2379
- ),
2380
- /* @__PURE__ */ jsx(
2381
- "polygon",
2382
- {
2383
- fill: "#fc7600",
2384
- points: "1064.86 525.04 1032.91 525.04 1024.05 492.63 1056 492.63 1064.86 525.04"
2385
- }
2386
- ),
2387
- /* @__PURE__ */ jsx(
2388
- "polygon",
2389
- {
2390
- fill: "#ff8111",
2391
- points: "1096.81 525.04 1064.86 525.04 1056 492.63 1087.95 492.63 1096.81 525.04"
2392
- }
2393
- ),
2394
- /* @__PURE__ */ jsx(
2395
- "polygon",
2396
- {
2397
- fill: "#6b98f6",
2398
- points: "1128.76 525.04 1096.81 525.04 1087.95 492.63 1119.9 492.63 1128.76 525.04"
2399
- }
2400
- ),
2401
- /* @__PURE__ */ jsx(
2402
- "polygon",
2403
- {
2404
- fill: "#899bfa",
2405
- points: "1160.71 525.04 1128.76 525.04 1119.9 492.63 1151.85 492.63 1160.71 525.04"
2406
- }
2407
- ),
2408
- /* @__PURE__ */ jsx(
2409
- "polygon",
2410
- {
2411
- fill: "#697ee3",
2412
- points: "1192.66 525.04 1160.71 525.04 1151.85 492.63 1183.8 492.63 1192.66 525.04"
2413
- }
2414
- ),
2415
- /* @__PURE__ */ jsx(
2416
- "polygon",
2417
- {
2418
- fill: "#5158bf",
2419
- points: "1224.61 525.04 1192.66 525.04 1183.8 492.63 1215.75 492.63 1224.61 525.04"
2420
- }
2421
- ),
2422
- /* @__PURE__ */ jsx(
2423
- "polygon",
2424
- {
2425
- fill: "#25468f",
2426
- points: "1256.56 525.04 1224.61 525.04 1215.75 492.63 1247.7 492.63 1256.56 525.04"
2427
- }
2428
- ),
2429
- /* @__PURE__ */ jsx(
2430
- "polygon",
2431
- {
2432
- fill: "#a1b3ff",
2433
- points: "1042.07 557.45 1010.12 557.45 1001.26 525.04 1033.21 525.04 1042.07 557.45"
2434
- }
2435
- ),
2436
- /* @__PURE__ */ jsx(
2437
- "polygon",
2438
- {
2439
- fill: "#899bfa",
2440
- points: "1073.72 557.45 1041.77 557.45 1032.91 525.04 1064.86 525.04 1073.72 557.45"
2441
- }
2442
- ),
2443
- /* @__PURE__ */ jsx(
2444
- "polygon",
2445
- {
2446
- fill: "#5158bf",
2447
- points: "1105.67 557.45 1073.72 557.45 1064.86 525.04 1096.81 525.04 1105.67 557.45"
2448
- }
2449
- ),
2450
- /* @__PURE__ */ jsx(
2451
- "polygon",
2452
- {
2453
- fill: "#25468f",
2454
- points: "1137.62 557.45 1105.67 557.45 1096.81 525.04 1128.76 525.04 1137.62 557.45"
2455
- }
2456
- )
2457
- ] }),
2458
- /* @__PURE__ */ jsx(
2459
- "path",
2460
- {
2461
- fill: "#ff8111",
2462
- d: "M1258.13,429.21h-167.36c-2.3,0-4.7-1.91-5.34-4.24h0c-.64-2.33,.72-4.24,3.02-4.24h167.36c2.3,0,4.7,1.91,5.34,4.24h0c.64,2.33-.72,4.24-3.02,4.24Z"
2463
- }
2464
- ),
2465
- /* @__PURE__ */ jsx(
2466
- "path",
2467
- {
2468
- fill: "#6b98f6",
2469
- d: "M1263.98,450.63h-167.36c-2.3,0-4.7-1.91-5.34-4.24h0c-.64-2.33,.72-4.24,3.02-4.24h167.36c2.3,0,4.7,1.91,5.34,4.24h0c.64,2.33-.72,4.24-3.02,4.24Z"
2470
- }
2471
- ),
2472
- /* @__PURE__ */ jsx(
2473
- "path",
2474
- {
2475
- fill: "#5158bf",
2476
- d: "M1269.84,472.05h-167.36c-2.3,0-4.7-1.91-5.34-4.24h0c-.64-2.33,.72-4.24,3.02-4.24h167.36c2.3,0,4.7,1.91,5.34,4.24h0c.64,2.33-.72,4.24-3.02,4.24Z"
2477
- }
2478
- ),
2479
- /* @__PURE__ */ jsxs("g", { children: [
2480
- /* @__PURE__ */ jsx(
2481
- "path",
2482
- {
2483
- fill: "#5158bf",
2484
- d: "M1062.31,418.73h5.04c2.65,0,4.59,1.44,5.2,3.65,.51,1.88-.29,3.01-1.75,3.47l4.24,4.34h-2.34l-3.9-4h-2.45l1.09,4h-1.99l-3.14-11.47Zm6.45,5.68c1.42,0,2.12-.75,1.79-1.95-.34-1.23-1.39-1.9-2.86-1.9h-2.89l1.05,3.85h2.91Z"
2485
- }
2486
- ),
2487
- /* @__PURE__ */ jsx(
2488
- "path",
2489
- {
2490
- fill: "#5158bf",
2491
- d: "M1068.12,446.11c-.88-3.21,.8-5.93,4.21-5.93,1.97,0,3.33,.56,4.77,1.56l-.84,1.52c-1.08-.75-2.06-1.23-3.5-1.23-2.08,0-3.16,1.85-2.55,4.08,.64,2.36,2.65,4.1,4.96,4.1,1.07,0,1.94-.34,2.49-.87l-.59-2.15h-2.89l-.48-1.75h4.81l1.32,4.82c-.85,.97-2.23,1.79-4.23,1.79-3.54,0-6.56-2.56-7.48-5.93Z"
2492
- }
2493
- ),
2494
- /* @__PURE__ */ jsx(
2495
- "path",
2496
- {
2497
- fill: "#5158bf",
2498
- d: "M1074.44,463.09h5.07c1.29,0,2.41,.36,3.23,1.02,.64,.51,1.07,1.13,1.29,1.93,.38,1.38-.2,2.11-.92,2.56,1.45,.46,2.58,1.23,3.01,2.82,.56,2.05-.8,3.15-3.32,3.15h-5.23l-3.14-11.47Zm5.99,4.83c1.28,0,1.99-.51,1.7-1.59-.25-.9-1.11-1.46-2.38-1.46h-2.86l.83,3.05h2.71Zm1.91,4.85c1.36,0,2.03-.54,1.74-1.61-.26-.97-1.18-1.54-2.75-1.54h-3.15l.86,3.15h3.29Z"
2499
- }
2500
- )
2501
- ] })
2502
- ] })
2503
- ] }),
2504
- /* @__PURE__ */ jsxs("g", { children: [
2505
- /* @__PURE__ */ jsxs("g", { children: [
2506
- /* @__PURE__ */ jsx(
2507
- "path",
2508
- {
2509
- fill: "#ffae73",
2510
- d: "M640.44,422.49c-.89,1.03-1,2.18-.56,3.41,0,0,0,.01,0,.02,.81,2.27,3.49,4.81,6.6,7.35,.4,.33,.75,.62,1.06,.9,.08,.07,.16,.14,.24,.22,.06,.06,.12,.11,.18,.17,2.9,2.71,1.81,3.34,7.03,8.85,5.95,6.28,10.04,6.39,11.21,5.82,.99-.49-1.02-3.82-3.23-7.56-.11-.18-.21-.36-.32-.55-.3-.5-.59-1-.88-1.5-2.6-4.5-1.93-6.62-1.32-13.32,.5-5.45,8.35-30.42,8.35-30.42l-11.4-1.99s-3.43,19.89-7.21,22.95c-2.02,1.63-4.29,1.65-6.23,2.86-.14,.08-.27,.17-.4,.26-1.1,.74-2.23,1.51-3.12,2.54Z"
2511
- }
2512
- ),
2513
- /* @__PURE__ */ jsx(
2514
- "path",
2515
- {
2516
- fill: "#1e3865",
2517
- d: "M640.44,422.49c-.89,1.03-1,2.18-.56,3.41,0,0,0,.01,0,.02,.99,2.27,3.61,4.8,6.62,7.33,.39,.33,.74,.64,1.05,.92,.08,.07,.16,.14,.24,.22,.06,.06,.12,.11,.18,.17,2.9,2.71,1.81,3.34,7.03,8.85,5.95,6.28,10.04,6.39,11.21,5.82,.99-.49-1.02-3.82-3.23-7.56-1.16-.43-6.54-2.65-10.6-7.92-3.45-4.47-5.79-10.16-8.14-13.65-.26-.05-.41-.08-.67-.13-1.1,.74-2.23,1.51-3.12,2.54Z"
2518
- }
2519
- ),
2520
- /* @__PURE__ */ jsx(
2521
- "path",
2522
- {
2523
- fill: "#ffae73",
2524
- d: "M732.33,415.27c.7,3.57,5.72,2.97,11.32,1.58,5.6-1.39,4.27,.26,12.24-.63,7.97-.9,10.39-3.91,10.63-5.11,.22-1.07-3.72-1.44-7.95-1.94-.53-.06-1.07-.13-1.6-.19-4.77-.61-8.26-3.73-12.6-6.29-4.1-2.43-10.23-12.33-10.23-12.33l-10.93,.88s5.74,8.84,7.96,12.68c1.31,2.26,1.24,5.25,1.07,7.56-.08,1.25-.17,2.54,.08,3.79Z"
2525
- }
2526
- ),
2527
- /* @__PURE__ */ jsx(
2528
- "path",
2529
- {
2530
- fill: "#1e3865",
2531
- d: "M743.65,416.85c5.6-1.39,4.27,.26,12.24-.63,7.97-.9,10.39-3.91,10.63-5.11,.22-1.07-3.72-1.44-7.95-1.94l-.04,.08s-4.78,3.44-11.42,3.6c-5.41,.13-11.14-1.44-14.87-1.38-.08,1.25-.17,2.54,.08,3.79,.7,3.57,5.72,2.97,11.32,1.58Z"
2532
- }
2533
- ),
2534
- /* @__PURE__ */ jsx(
2535
- "path",
2536
- {
2537
- fill: "#f28018",
2538
- d: "M690.43,344.35l-10.22,27.9-13.34,36.43s-3.62,.35-7.09-.66c-3.19-.94-6.86-3.39-6.86-3.39,0,0,3.71-39.12,10.62-61.57,1.77-5.76,3.76-10.43,5.95-13.05,10.72-12.85,20.95,14.33,20.95,14.33Z"
2539
- }
2540
- ),
2541
- /* @__PURE__ */ jsx(
2542
- "path",
2543
- {
2544
- fill: "#ff912b",
2545
- d: "M680.04,300.04c-5.82-1.9-21-.03-37.47,2.99-4.55,.84-9.14-1.27-11.53-5.28h0l-41.44-3.28s-13.68,30.76-6.19,50.36c1.1,2.88,3.52,4.68,7.24,4.74h0s25.04,.04,33.05,.04c20.61,0,43.62-14.37,46.59-14.97,4.87-.99,6.82,8.89,11.69,19.27,4.87,10.38,45.79,45.96,45.79,45.96,0,0,6.29,.06,8.89-.92,2.79-1.06,3.82-2.44,3.82-2.44,0,0-45.34-91.51-60.45-96.45Z"
2546
- }
2547
- ),
2548
- /* @__PURE__ */ jsx(
2549
- "path",
2550
- {
2551
- fill: "#10294c",
2552
- d: "M626.64,174.3c-3.08-1.86-6.08-2.14-7.92-2.09-1.28,.04-2.56-.05-3.82-.23-15.82-2.35-25.34,20.95-25.9,27.99-1.02,12.93-7.77,14.9-17.26,23-19.03,16.23-13.45,35.1-3.04,42.11,6.24,4.21,17.25,0,17.25,0,.16,.11,30.09-16.98,44.85-25.22,22.12-3.19,4.73-60.19-4.16-65.55Z"
2553
- }
2554
- ),
2555
- /* @__PURE__ */ jsx(
2556
- "path",
2557
- {
2558
- fill: "#ffae73",
2559
- d: "M618.43,232.84c.06,.04-7.26,2.58-12.16,.38-4.61-2.07-8.1-9.76-8.03-9.76,2.1-.1,4.4-1.96,6.17-14.16l.89,.32,15.01,5.48s-1.09,4.89-1.79,9.54c-.59,3.91-.91,7.65-.09,8.2Z"
2560
- }
2561
- ),
2562
- /* @__PURE__ */ jsx(
2563
- "path",
2564
- {
2565
- fill: "#f9924f",
2566
- d: "M620.31,215.1s-.6,2.64-1.47,7.56c-8.62-1.57-12.32-8.31-13.54-13.04l15.01,5.48Z"
2567
- }
2568
- ),
2569
- /* @__PURE__ */ jsx(
2570
- "path",
2571
- {
2572
- fill: "#ffae73",
2573
- d: "M622.54,219.95s-20.53-2.8-18.62-15.74c1.91-12.95,.55-22.02,13.74-20.79,13.19,1.24,15,6.56,15.4,11.04,.4,4.48-5.13,25.88-10.52,25.49Z"
2574
- }
2575
- ),
2576
- /* @__PURE__ */ jsx(
2577
- "path",
2578
- {
2579
- fill: "#10294c",
2580
- d: "M632.32,187.37s-13.15,11.49-22.09,12.42c-8.94,.93-12.33-1.98-12.33-1.98,0,0,5.27-4.44,8.44-11.6,.93-2.11,2.91-3.56,5.18-3.76,6.38-.56,18.49-.81,20.79,4.93Z"
2581
- }
2582
- ),
2583
- /* @__PURE__ */ jsx(
2584
- "path",
2585
- {
2586
- fill: "#10294c",
2587
- d: "M624.1,186.34s4.4,4.31,5.78,7.51c1.34,3.09,1.74,10.47,.67,13.4,0,0,6.85-13.51,2.97-20.08-4.11-6.96-9.43-.84-9.43-.84Z"
2588
- }
2589
- ),
2590
- /* @__PURE__ */ jsx(
2591
- "path",
2592
- {
2593
- fill: "#899bfa",
2594
- d: "M635.72,263.52c-.62,42.17-.17,33.35-4.72,37.36-1.1,.96-4.18,1.54-8.23,1.81-12.75,.86-35.15-1.27-36-3.66-2.94-8.27-.86-10.84-3.32-23.49-.26-1.35-.57-2.8-.94-4.39-2.05-8.69-4.04-11.65,3.22-25.62,6.58-12.65,13.42-22.92,14.03-22.55,17.36,10.45,18.76,1.67,18.76,1.67,0,0,17.51,18.31,17.2,38.88Z"
2595
- }
2596
- ),
2597
- /* @__PURE__ */ jsx(
2598
- "path",
2599
- {
2600
- fill: "#ff912b",
2601
- d: "M680.21,372.25l-13.34,36.43s-3.62,.35-7.09-.66c-3.19-.94-6.86-3.39-6.86-3.39,0,0,3.71-39.12,10.62-61.57l16.67,29.18Z"
2602
- }
2603
- ),
2604
- /* @__PURE__ */ jsx(
2605
- "path",
2606
- {
2607
- fill: "#899bfa",
2608
- d: "M618.52,224.64s17.86,3.07,19.96,10.87c2.1,7.8,9,55.16,9,55.16,0,0-5.04,4.99-9.23,.73-4.19-4.26-13.2-44.31-13.2-44.31l-6.53-22.46Z"
2609
- }
2610
- ),
2611
- /* @__PURE__ */ jsx(
2612
- "path",
2613
- {
2614
- fill: "#6f7deb",
2615
- d: "M622.77,302.69c-12.75,.86-35.15-1.27-36-3.66-2.94-8.27-.86-10.84-3.32-23.49l6.15-17.56s-1.02,19.55,4.67,24.7c5.68,5.14,23.28,9.93,26.04,14.23,1.33,2.06,2.21,4.13,2.47,5.79Z"
2616
- }
2617
- ),
2618
- /* @__PURE__ */ jsx(
2619
- "path",
2620
- {
2621
- fill: "#ffae73",
2622
- d: "M608.17,294.46s12.57-2.84,14.6-1.71c2.03,1.13,6.99,5.25,7.61,6.69,.62,1.43-4.52-1.09-6.19-1.54-1.08-.29-3.93,.71-5.34,1.19-5.93,2.01-9.57,.97-9.57,.97l-1.11-5.6Z"
2623
- }
2624
- ),
2625
- /* @__PURE__ */ jsx(
2626
- "path",
2627
- {
2628
- fill: "#899bfa",
2629
- d: "M599.74,222.97s-16.88,1.05-22.73,9.32c-8.23,11.64-24.55,61.25-15.2,67.87,10.53,7.45,47.95,1.95,47.95,1.95,0,0,1.24-5.9-.49-8.76-1.73-2.86-29.88-7.47-31.18-8.79-1.3-1.32,16.24-25.7,16.24-29.65s5.41-31.95,5.41-31.95Z"
2630
- }
2631
- ),
2632
- /* @__PURE__ */ jsx(
2633
- "path",
2634
- {
2635
- fill: "#ffae73",
2636
- d: "M623.38,296.31s2.63,3.45,3.5,3.86c.86,.41,1.42,.31,1.42,.31l-1.78-3.24-3.14-.93Z"
2637
- }
2638
- ),
2639
- /* @__PURE__ */ jsx(
2640
- "path",
2641
- {
2642
- fill: "#ffae73",
2643
- d: "M622.77,292.76l7.66,3.77s-.33,.54-1.27,.5c-.94-.04-3.32-.93-3.32-.93l-3.07-3.34Z"
2644
- }
2645
- )
2646
- ] }),
2647
- /* @__PURE__ */ jsxs("g", { children: [
2648
- /* @__PURE__ */ jsx(
2649
- "polygon",
2650
- {
2651
- fill: "#10294c",
2652
- points: "688.18 301.63 608.17 301.63 608.17 303.42 687.47 303.42 688.18 301.63"
2653
- }
2654
- ),
2655
- /* @__PURE__ */ jsx(
2656
- "polygon",
2657
- {
2658
- fill: "#10294c",
2659
- points: "626.88 303.42 687.47 303.42 705.7 257.44 645.2 257.44 626.88 303.42"
2660
- }
2661
- ),
2662
- /* @__PURE__ */ jsx(
2663
- "path",
2664
- {
2665
- fill: "#e8f2fa",
2666
- d: "M672.18,280.43c.46-1.62-.46-2.93-2.06-2.93s-3.26,1.31-3.71,2.93,.46,2.93,2.06,2.93,3.26-1.31,3.71-2.93Z"
2667
- }
2668
- )
2669
- ] })
2670
- ] }),
2671
- /* @__PURE__ */ jsx(
2672
- "polygon",
2673
- {
2674
- fill: "#fff",
2675
- points: "666.18 584.13 672.4 589.62 666.99 595.92 660.77 590.43 666.18 584.13"
2676
- }
2677
- ),
2678
- /* @__PURE__ */ jsxs("g", { children: [
2679
- /* @__PURE__ */ jsx(
2680
- "path",
2681
- {
2682
- fill: "#f28018",
2683
- d: "M586.7,695.57c-1.24-4.18-1.86-4.55-1.86-4.55,0,0-38.53,4.87-45.07,4.44-3.88-.25-50.15-15.91-50.15-15.91l-28.09,27.33s69.67,11.64,79.49,10.88c16.23-1.26,41-15.79,41-15.79,0,0,5.65-3.12,4.67-6.4Z"
2684
- }
2685
- ),
2686
- /* @__PURE__ */ jsx(
2687
- "path",
2688
- {
2689
- fill: "#104c82",
2690
- d: "M481.4,1007.55s.54,13.24,3.05,16.46l34.88,.2c-.24-1.37-.39-4.52-5.21-5.38-6.09-1.08-13.25-5.39-16.94-13.56-3.88-8.6-15.77,2.27-15.77,2.27Z"
2691
- }
2692
- ),
2693
- /* @__PURE__ */ jsx(
2694
- "path",
2695
- {
2696
- fill: "#104c82",
2697
- d: "M412.95,1005.64s-2.43,17.59,.87,17.9c.44,.04,14.05,.26,19.95,.36,6.93,.12,18.33-.13,18.33-.13,1.43,.06,2.37-1.51,1.64-2.77-.8-1.37-2.33-2.84-5.24-3.41-6.07-1.19-16.2-5.71-19.74-13.95-3.73-8.66-15.8,1.99-15.8,1.99Z"
2698
- }
2699
- ),
2700
- /* @__PURE__ */ jsx(
2701
- "path",
2702
- {
2703
- fill: "#6f7deb",
2704
- d: "M499.53,825.34s-9.7,34.42-37.49,94.2c-27.79,59.78-29,88.58-29,88.58,0,0-4.21,1.51-9.79,.91-6.04-.65-10.3-3.39-10.3-3.39,0,0,1.8-71.15,14.93-101.31,13.13-30.17,15.8-112.71,15.8-112.71l55.84,33.73Z"
2705
- }
2706
- ),
2707
- /* @__PURE__ */ jsx(
2708
- "path",
2709
- {
2710
- fill: "#899bfa",
2711
- d: "M515.1,795.72s.77,53.3-8.32,118.75c-9.09,65.44-4.84,95.88-4.84,95.88,0,0-2.41,1.78-9.82,1.75-8.68-.03-13.12-3.67-13.12-3.67,0,0-13.01-65.47-9.28-98.23,3.73-32.76-17.82-112.4-17.82-112.4l63.2-2.08Z"
2712
- }
2713
- ),
2714
- /* @__PURE__ */ jsx(
2715
- "path",
2716
- {
2717
- fill: "#ffae73",
2718
- d: "M493.98,662.86c-.09,4.18-.64,8.74-2.29,10.97l-9.25,4.93-10.26-7.71s3.76-8.46,2.84-20.82c-.09-.74-.46-5.48-.46-5.58l5.13,2.6,13.93,7.06s0,.28,.09,.65c.09,1.4,.28,4.46,.28,7.9Z"
2719
- }
2720
- ),
2721
- /* @__PURE__ */ jsx(
2722
- "path",
2723
- {
2724
- fill: "#ff912b",
2725
- d: "M442.72,802.31c3.36,15.58,75.23,8.74,74.29-.77-.04-.32-.22-4.72-.48-10.65-.54-12.83-1.38-32.89-1.48-34.45,0-.03,0-.05,0-.08-1.29-13.24-2.54-26.19-2.62-34.65-.07-7.34-1.07-14.84-2.39-21.65-1.22-6.29-2.72-11.99-4.03-16.44-.92-3.13-2.63-5.89-4.9-8.05-1.62-1.54-3.51-2.78-5.6-3.62-.57-.24-1.15-.44-1.74-.62-8.46-2.49-16.99-5.66-20.16-4.72-8.59,2.56-18.15,18-22.67,37.55-8.46,36.6-10.41,88-8.21,98.15Z"
2726
- }
2727
- ),
2728
- /* @__PURE__ */ jsx(
2729
- "path",
2730
- {
2731
- fill: "#ffa05e",
2732
- d: "M493.98,662.86c-5.22-2.14-15.21-6.97-17.96-12.45-1.19-2.42,.64-3.16,3.66-3.16l13.93,7.06s0,.28,.09,.65c.09,1.4,.28,4.46,.28,7.9Z"
2733
- }
2734
- ),
2735
- /* @__PURE__ */ jsx(
2736
- "path",
2737
- {
2738
- fill: "#ffae73",
2739
- d: "M500.32,653.44s-25.01,7.91-29.63-7.96c-4.62-15.87-10.96-25.54,4.82-31.27,15.77-5.72,20.65-.6,23.46,4.32,2.81,4.92,7.74,32.44,1.35,34.91Z"
2740
- }
2741
- ),
2742
- /* @__PURE__ */ jsx(
2743
- "path",
2744
- {
2745
- fill: "#0b3563",
2746
- d: "M497.99,617s-1.59,18.47-5.36,17.67c-3.77-.8-7.18-1.4-6.63,4.17,.55,5.57,.73,12.26-10.88,13.25-11.61,.99-23.25-29.64-20.06-35.39,9.2-16.59,56.22-19.93,42.93,.3Z"
2747
- }
2748
- ),
2749
- /* @__PURE__ */ jsx(
2750
- "path",
2751
- {
2752
- fill: "#f28018",
2753
- d: "M516.52,790.89c-.54-12.83-1.38-32.89-1.48-34.45,0-.03,0-.05,0-.08l-42.46-25.75s-1.64,60.11,43.95,60.29Z"
2754
- }
2755
- ),
2756
- /* @__PURE__ */ jsxs("g", { children: [
2757
- /* @__PURE__ */ jsxs("g", { children: [
2758
- /* @__PURE__ */ jsx(
2759
- "path",
2760
- {
2761
- fill: "#0b3563",
2762
- d: "M663,586.79l7.65,6.75s-13.11,14.24-11.89,29.23l-19.58,16.77-16.21-14.32,13.56-22.81s14.53-.53,26.48-15.63Z"
2763
- }
2764
- ),
2765
- /* @__PURE__ */ jsx(
2766
- "path",
2767
- {
2768
- fill: "#fff",
2769
- d: "M643.1,611.15c1.58-1.84,4.33-2.03,6.15-.43,1.81,1.6,2.01,4.39,.43,6.23-1.58,1.84-4.33,2.03-6.15,.43-1.81-1.6-2.01-4.39-.43-6.23Z"
2770
- }
2771
- ),
2772
- /* @__PURE__ */ jsx(
2773
- "polygon",
2774
- {
2775
- fill: "#fff",
2776
- points: "644.37 617.69 643.11 616.58 666.23 589.63 667.49 590.74 644.37 617.69"
2777
- }
2778
- )
2779
- ] }),
2780
- /* @__PURE__ */ jsx(
2781
- "polygon",
2782
- {
2783
- fill: "#6d76ff",
2784
- points: "635.64 643.68 619.42 629.36 622.96 625.23 639.18 639.54 635.64 643.68"
2785
- }
2786
- ),
2787
- /* @__PURE__ */ jsx(
2788
- "path",
2789
- {
2790
- fill: "#0b3563",
2791
- d: "M458.23,834.69l-.79-.69c-4.26-3.76-4.71-10.32-1-14.64l162.97-190,16.22,14.32-162.97,190c-3.71,4.32-10.17,4.78-14.43,1.02Z"
2792
- }
2793
- )
2794
- ] }),
2795
- /* @__PURE__ */ jsx(
2796
- "path",
2797
- {
2798
- fill: "#ffae73",
2799
- d: "M549.94,736.45s3.13-2.82,3.87-4.77c.25-.68,2.39-3.74,6.03-3.47,3.33,.25,9.24-6.94,9.24-6.94,.86,1.9,3.83,9.03-.42,12.65-3.47,2.95-11.81,8.05-16.87,11.41-5.44,3.61-1.85-8.88-1.85-8.88Z"
2800
- }
2801
- ),
2802
- /* @__PURE__ */ jsx(
2803
- "path",
2804
- {
2805
- fill: "#ff912b",
2806
- d: "M550.35,735.4s-42.11,7.26-45.84,5.42c-5.96-2.94,2.31-46.28,2.31-46.28,0,0,.36-9.82-10.96-12.14-9.83-2.01-19.31,5.46-19.31,5.46,0,0-8.63,7.83-7.52,16.51,2.44,19.25,6.24,58.39,18.93,64.39,16.37,7.74,63.73-21.46,63.73-21.46,0,0,1.58-1.96,1.35-5.6-.2-3.21-2.7-6.3-2.7-6.3Z"
2807
- }
2808
- ),
2809
- /* @__PURE__ */ jsx(
2810
- "path",
2811
- {
2812
- fill: "#ffae73",
2813
- d: "M588.46,698.68s10.63-3.93,9.69-9.44c-.94-5.51-4.25-4.82-6.25-2.92-2,1.9-.89,11.66-3.44,12.36Z"
2814
- }
2815
- ),
2816
- /* @__PURE__ */ jsx(
2817
- "path",
2818
- {
2819
- fill: "#ffae73",
2820
- d: "M553.07,733.63s1.45-4.32,3-6.17c1.55-1.85,2.2-4.99,2.91-3.95,.7,1.05-.56,4.8,0,6.23,.56,1.43-5.9,3.89-5.9,3.89Z"
2821
- }
2822
- )
2823
- ] }),
2824
- /* @__PURE__ */ jsx("rect", { fill: "#a9c2ff", height: "67.09", width: "190.42", y: "956.62", x: "1304.39" }),
2825
- /* @__PURE__ */ jsx("rect", { fill: "#1e3865", ry: "2.37", rx: "2.37", height: "4.74", width: "1620", y: "1023.26" })
2826
- ] }) }) })
2827
- ] });
2828
- };
2829
- var default_default = Default;
2830
-
2831
- // src/pages/Login/index.tsx
2832
- init_hooks2();
2833
- var { Title } = Typography;
2834
- var Login = (props) => {
2835
- const { children } = props;
2836
- const [searchParams, setSearchParams] = useSearchParams();
2837
- const token = useTokenStore((state) => state.token);
2838
- const setToken = useTokenStore((state) => state.setToken);
2839
- const [showAlert, setShowAlert] = useState(false);
2840
- const httpClient = useHttpClient();
2841
- const { isLoading } = useSWRImmutable(
2842
- searchParams.has("ticket") ? {
2843
- url: "/api/usystem/user/login",
2844
- params: {
2845
- ticket: searchParams.get("ticket")
2846
- }
2847
- } : null,
2848
- (config) => httpClient.request(config),
2849
- {
2850
- onSuccess: (data) => {
2851
- setToken(data.token);
2852
- }
2853
- }
2854
- );
2855
- useEffect(() => {
2856
- if (searchParams.has("not_registered")) {
2857
- setShowAlert(true);
2858
- searchParams.delete("not_registered");
2859
- setSearchParams(searchParams);
2860
- }
2861
- }, [searchParams, setSearchParams]);
2862
- if (isLoading) {
2863
- return /* @__PURE__ */ jsx(
2864
- Spin,
2865
- {
2866
- style: {
2867
- display: "flex",
2868
- justifyContent: "center",
2869
- alignItems: "center",
2870
- width: "100vw",
2871
- height: "100vh"
2872
- }
2873
- }
2874
- );
2875
- }
2876
- if (token) {
2877
- return /* @__PURE__ */ jsx(Navigate, { replace: true, to: "/" });
2878
- }
2879
- return /* @__PURE__ */ jsxs(Row, { children: [
2880
- /* @__PURE__ */ jsx(Col, { span: 10, offset: 3, children: /* @__PURE__ */ jsx("div", { className: "h-screen flex justify-end items-center", children: /* @__PURE__ */ jsx(default_default, {}) }) }),
2881
- /* @__PURE__ */ jsx(Col, { span: 5, offset: 3, children: /* @__PURE__ */ jsx("div", { className: "h-screen relative", children: /* @__PURE__ */ jsxs(Card, { hoverable: true, className: "absolute left-0 right-0 top-1/2 -translate-y-1/2", children: [
2882
- showAlert && /* @__PURE__ */ jsx("div", { className: "absolute -top-12 left-0 right-0", children: /* @__PURE__ */ jsx(
2883
- Alert,
2884
- {
2885
- banner: true,
2886
- closable: true,
2887
- message: "\u60A8\u8FD8\u672A\u5728\u5E73\u53F0\u6CE8\u518C\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",
2888
- type: "error",
2889
- onClose: () => {
2890
- setShowAlert(false);
2891
- }
2892
- }
2893
- ) }),
2894
- /* @__PURE__ */ jsxs("div", { className: "text-center mb-6", children: [
2895
- /* @__PURE__ */ jsx(Title, { level: 5, children: "\u767B\u5F55\u65B9\u5F0F" }),
2896
- /* @__PURE__ */ jsx("div", { className: "min-h-10", children })
2897
- ] }),
2898
- /* @__PURE__ */ jsx(Divider, { plain: true, children: "\u7B2C\u4E09\u65B9\u767B\u5F55\u65B9\u5F0F" }),
2899
- /* @__PURE__ */ jsx("div", { className: "w-full flex justify-center", children: /* @__PURE__ */ jsx(Space, { size: "small", children: /* @__PURE__ */ jsx(
2900
- Button,
2901
- {
2902
- type: "link",
2903
- size: "small",
2904
- shape: "round",
2905
- icon: /* @__PURE__ */ jsx(AliyunOutlined, {}),
2906
- href: `${SSO_URL}/login?service=${encodeURIComponent(window.location.origin)}/login`,
2907
- target: "_self",
2908
- children: "IDass \u767B\u5F55"
2909
- }
2910
- ) }) })
2911
- ] }) }) })
2912
- ] });
2913
- };
2914
- var Login_default = Login;
2915
-
2916
- // src/pages/NoMatch/index.tsx
2917
- init_esm_shims();
2918
- var NoMatch = () => {
2919
- const navigate = useNavigate();
2920
- return /* @__PURE__ */ jsx("div", { className: "h-screen flex justify-center items-center", children: /* @__PURE__ */ jsx(
2921
- Result,
2922
- {
2923
- status: "404",
2924
- title: "404",
2925
- subTitle: "Sorry, the page you visited does not exist.",
2926
- extra: /* @__PURE__ */ jsx(
2927
- Button,
2928
- {
2929
- type: "primary",
2930
- onClick: () => {
2931
- navigate("/");
2932
- },
2933
- children: "Back Home"
2934
- }
2935
- )
2936
- }
2937
- ) });
2938
- };
2939
- var NoMatch_default = NoMatch;
2940
-
2941
- // src/pages/permission/index.tsx
2942
- init_esm_shims();
2943
- var UserList2 = lazy(() => Promise.resolve().then(() => (init_UserList(), UserList_exports)));
2944
- var RoleList2 = lazy(() => Promise.resolve().then(() => (init_RoleList(), RoleList_exports)));
2945
- var RoleDetail2 = lazy(() => Promise.resolve().then(() => (init_RoleDetail(), RoleDetail_exports)));
2946
- var routes = {
2947
- path: "permission",
2948
- children: [
2949
- {
2950
- index: true,
2951
- element: /* @__PURE__ */ jsx(Navigate, { relative: "path", to: "user" })
2952
- },
2953
- {
2954
- path: "user",
2955
- element: /* @__PURE__ */ jsx(UserList2, {})
2956
- },
2957
- {
2958
- path: "role",
2959
- element: /* @__PURE__ */ jsx(RoleList2, {})
2960
- },
2961
- {
2962
- path: "role/:name",
2963
- element: /* @__PURE__ */ jsx(RoleDetail2, {})
2964
- }
2965
- ]
2966
- };
2967
- var permission_default = routes;
2968
-
2969
- // src/layouts/index.ts
2970
- init_esm_shims();
2971
-
2972
- // src/layouts/Layout.tsx
2973
- init_esm_shims();
2974
-
2975
- // src/layouts/NavBar.tsx
2976
- init_esm_shims();
2977
- init_hooks2();
2978
- init_stores();
2979
- var withLink = (label, route) => {
2980
- if (!label) {
2981
- return /* @__PURE__ */ jsx(Fragment, {});
2982
- }
2983
- if (route) {
2984
- return /* @__PURE__ */ jsx(Link, { to: route, children: label });
2985
- }
2986
- return label;
2987
- };
2988
- function transformItems(items, permissions) {
2989
- const result = [];
2990
- for (let i = 0; i < items.length; i++) {
2991
- if (items[i] === null) {
2992
- result[i] = null;
2993
- } else if (items[i].type === "divider") {
2994
- result[i] = __spreadValues({}, items[i]);
2995
- } else {
2996
- if (items[i].children) {
2997
- const _a = items[i], { children } = _a, restProps = __objRest(_a, ["children"]);
2998
- result[i] = __spreadProps(__spreadValues({}, restProps), {
2999
- children: transformItems(children != null ? children : [], permissions)
3000
- });
3001
- } else {
3002
- const _b = items[i], { route, label, code } = _b, restProps = __objRest(_b, ["route", "label", "code"]);
3003
- const isPass = !code || !permissions || permissions[code];
3004
- result[i] = isPass ? __spreadProps(__spreadValues({}, restProps), {
3005
- label: withLink(label, route)
3006
- }) : null;
3007
- }
3008
- }
3009
- }
3010
- return result;
3011
- }
3012
- function flatItems(items, result = [], keypath = []) {
3013
- for (const item of items) {
3014
- const children = item.children;
3015
- if (Array.isArray(children)) {
3016
- const _keys = item.type !== "group" && item.key ? [...keypath, item.key] : keypath;
3017
- flatItems(children, result, _keys);
3018
- } else {
3019
- result.push(Object.assign(item, { keypath }));
3020
- }
3021
- }
3022
- return result;
3023
- }
3024
- var NavBar = (props) => {
3025
- const { items } = props;
3026
- const location = useLocation();
3027
- const flattenItems = useMemo(() => flatItems(items != null ? items : []), [items]);
3028
- const codes = flattenItems.map((item) => item.code).filter(Boolean);
3029
- const { data: permissions } = usePermissions(codes);
3030
- const internalItems = useMemo(() => transformItems(items != null ? items : [], permissions), [items, permissions]);
3031
- const openKeys = useMenuStore((state) => state.openKeys);
3032
- const selectedKeys = useMenuStore((state) => state.selectedKeys);
3033
- const setOpenKeys = useMenuStore((state) => state.setOpenKeys);
3034
- const setSelectedKeys = useMenuStore((state) => state.setSelectedKeys);
3035
- const onOpenChange = useCallback(
3036
- (keys) => {
3037
- var _a;
3038
- const latestOpenKey = keys == null ? void 0 : keys.find((key) => (openKeys == null ? void 0 : openKeys.indexOf(key)) === -1);
3039
- const match = flattenItems.find((item) => latestOpenKey === item.key);
3040
- const _openKeys = (_a = match == null ? void 0 : match.keypath) != null ? _a : [latestOpenKey];
3041
- setOpenKeys(_openKeys);
3042
- },
3043
- [flattenItems, openKeys, setOpenKeys]
3044
- );
3045
- useEffect(() => {
3046
- const match = flattenItems.find((item) => location.pathname === item.route);
3047
- if (match) {
3048
- const key = match.key;
3049
- const keypath = match.keypath;
3050
- setSelectedKeys([key]);
3051
- setOpenKeys(keypath);
3052
- }
3053
- }, [flattenItems, location, setOpenKeys, setSelectedKeys]);
3054
- return /* @__PURE__ */ jsx(
3055
- Menu,
3056
- {
3057
- style: { borderRight: "none" },
3058
- items: internalItems,
3059
- mode: "inline",
3060
- openKeys,
3061
- selectedKeys,
3062
- onOpenChange
3063
- }
3064
- );
3065
- };
3066
- var NavBar_default = NavBar;
3067
-
3068
- // src/layouts/Layout.tsx
3069
- init_hooks2();
3070
- var { Header, Sider, Content } = Layout$1;
3071
- var { ErrorBoundary } = Alert;
3072
- var Layout = (props) => {
3073
- const { title, items, header, children } = props;
3074
- const {
3075
- token: { colorBgContainer, colorBorder }
3076
- } = theme.useToken();
3077
- usePermission("100001");
3078
- return /* @__PURE__ */ jsx(Layout$1, { hasSider: true, className: "h-screen", children: /* @__PURE__ */ jsx(ErrorBoundary, { children: /* @__PURE__ */ jsxs(
3079
- Suspense,
3080
- {
3081
- fallback: /* @__PURE__ */ jsx(
3082
- Spin,
3083
- {
3084
- style: {
3085
- display: "flex",
3086
- justifyContent: "center",
3087
- alignItems: "center",
3088
- width: "100vw",
3089
- height: "100vh"
3090
- }
3091
- }
3092
- ),
3093
- children: [
3094
- /* @__PURE__ */ jsxs(
3095
- Sider,
3096
- {
3097
- width: 256,
3098
- style: {
3099
- overflow: "auto",
3100
- height: "100vh",
3101
- position: "fixed",
3102
- left: 0,
3103
- top: 0,
3104
- bottom: 0,
3105
- borderRightWidth: 1,
3106
- borderRightStyle: "solid",
3107
- borderRightColor: colorBorder
3108
- },
3109
- theme: "light",
3110
- children: [
3111
- /* @__PURE__ */ jsxs("div", { className: "flex items-end px-6 py-4", children: [
3112
- /* @__PURE__ */ jsx("img", { src: logo, alt: "logo", className: "w-8 h-8" }),
3113
- /* @__PURE__ */ jsx(Link, { className: "font-bold text-lg ml-2", to: "/", children: title })
3114
- ] }),
3115
- /* @__PURE__ */ jsx(NavBar_default, { items })
3116
- ]
3117
- }
3118
- ),
3119
- /* @__PURE__ */ jsxs(Layout$1, { className: "ml-64", children: [
3120
- /* @__PURE__ */ jsx(
3121
- Header,
3122
- {
3123
- style: {
3124
- padding: "0 24px",
3125
- background: colorBgContainer,
3126
- borderBottomWidth: 1,
3127
- borderBottomStyle: "solid",
3128
- borderBottomColor: colorBorder
3129
- },
3130
- children: header
3131
- }
3132
- ),
3133
- /* @__PURE__ */ jsx(Content, { className: "p-6 overflow-auto bg-gray-50", children: /* @__PURE__ */ jsx(
3134
- Suspense,
3135
- {
3136
- fallback: /* @__PURE__ */ jsx(
3137
- Spin,
3138
- {
3139
- style: {
3140
- display: "flex",
3141
- justifyContent: "center",
3142
- alignItems: "center",
3143
- height: "50vh"
3144
- }
3145
- }
3146
- ),
3147
- children
3148
- }
3149
- ) })
3150
- ] })
3151
- ]
3152
- }
3153
- ) }) });
3154
- };
3155
- var Layout_default = Layout;
3156
-
3157
- export { DynamicTags_default as DynamicTags, FilterForm_default as FilterForm, FormModal_default as FormModal, Highlight_default as Highlight, HttpClientError, Layout_default as Layout, Login_default as Login, NoMatch_default as NoMatch, PermissionButton_default as PermissionButton, QueryList_default as QueryList, SSO_URL, permission_default as permission, useFormModal, useHttpClient, useMenuStore, usePermission, usePermissions, useQueryTriggerStore, useTokenStore };
3158
- //# sourceMappingURL=out.js.map
3159
- //# sourceMappingURL=index.esm.js.map
18
+ export { at as DynamicTags, I1 as FilterForm, F1 as FormModal, r1 as Highlight, O as HttpClientError, Po as Layout, u2 as Login, b2 as NoMatch, H as PermissionButton, a1 as QueryList, Re as SSO_URL, so as permission, X as useFormModal, B as useHttpClient, i1 as useMenuStore, A as usePermission, L1 as usePermissions, N as useQueryListStore, e1 as useTokenStore };