react-toolkits 2.9.26 → 2.9.28

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/lib/index.js CHANGED
@@ -1,2789 +1,24 @@
1
1
  import { lazy, useContext, useMemo, useState, useRef, useEffect, createContext, memo, useCallback, forwardRef, Fragment as Fragment$1, Suspense, useImperativeHandle, cloneElement } from 'react';
2
2
  import { useStore, create, createStore } from 'zustand';
3
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import { pick, has, template, get, isEqual } from 'lodash-es';
5
- import * as Antd2 from 'antd';
6
- import { Modal, Form, theme, Space, Input, Tag, Typography, Spin, Result, Table, Button, Card, Select, Alert, Divider, Menu, App, Row, Col, Breadcrumb, Skeleton, Descriptions, Empty, Dropdown, Tooltip, Collapse, Checkbox } from 'antd';
5
+ import * as Ie from 'antd';
6
+ import { Modal, Form, theme, Space, Input, Tag, Typography, Spin, Table, Button, Result, Card, Select, Alert, Divider, Menu, App, Row, Col, Breadcrumb, Skeleton, Descriptions, Empty, Dropdown, Tooltip, Collapse, Checkbox } from 'antd';
7
7
  import { flushSync } from 'react-dom';
8
8
  import { createRoot } from 'react-dom/client';
9
- import logoUrl from './logo-L6MFCL6M.png';
9
+ import f1 from './logo-L6MFCL6M.png';
10
10
  import { persist, createJSONStorage } from 'zustand/middleware';
11
11
  import { Routes, Route, Navigate, useNavigate, useLocation, Link, useParams } from 'react-router-dom';
12
12
  import { jwtDecode } from 'jwt-decode';
13
- import useSWRImmutable from 'swr/immutable';
13
+ import F1 from 'swr/immutable';
14
14
  import { PlusOutlined, UserAddOutlined, UsergroupAddOutlined, LogoutOutlined, UserOutlined, MenuUnfoldOutlined, MenuFoldOutlined } from '@ant-design/icons';
15
- import qs from 'query-string';
16
- import useSWR3, { mutate, unstable_serialize } from 'swr';
17
- import useSWRMutation from 'swr/mutation';
15
+ import Is from 'query-string';
16
+ import Ke, { mutate, unstable_serialize } from 'swr';
17
+ import be from 'swr/mutation';
18
18
  import { produce } from 'immer';
19
- import useSWRInfinite from 'swr/infinite';
20
- import dayjs from 'dayjs';
19
+ import fr from 'swr/infinite';
20
+ import ra from 'dayjs';
21
21
 
22
- var __defProp = Object.defineProperty;
23
- var __getOwnPropNames = Object.getOwnPropertyNames;
24
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
25
- var __esm = (fn, res) => function __init() {
26
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
27
- };
28
- var __export = (target, all) => {
29
- for (var name in all)
30
- __defProp(target, name, { get: all[name], enumerable: true });
31
- };
32
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
22
+ var qt=Object.defineProperty;var Vo=(e,t,s)=>t in e?qt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var x=(e,t)=>()=>(e&&(t=e(e=0)),t);var it=(e,t)=>{for(var s in t)qt(e,s,{get:t[s],enumerable:!0});};var nt=(e,t,s)=>Vo(e,typeof t!="symbol"?t+"":t,s);var Do,Wt,Kt=x(()=>{Do={global:{noEntitlement:"No permission, please contact the administrator.",name:"Name",creationTime:"Creation Time",operation:"Operation",update:"Update",edit:"Edit",delete:"Delete",selectAll:"Select All",game:"Game",user:"User",role:"Role",username:"Username",password:"Password",label:"Label",method:"Method",route:"Route",request:"Request",response:"Response",add:"Add",signIn:"Sign In"},SignIn:{title:"Sign In Method",thirdParty:"Third party sign in",signInWithIDass:"Sign in with IDass",unregistered:"You are not yet registered on the platform, please contact the administrator",welcome:"Welcome"},NotFound:{subTitle:"The page you visited does not exist",buttonText:"Return to homepage"},FilterFormWrapper:{confirmText:"Search",resetText:"Reset"},FormModal:{confirmText:"Confirm",cancelText:"Cancel"},GameSelect:{label:"Current Game",placeholder:"Please select a game"},RequireGame:{description:"Please select a game"},UserWidget:{signOutText:"Sign Out"},UserList:{createTitle:"Create User",createSuccessfully:"User created successfully",updateTitle:"Update User",updateSuccessfully:"User updated successfully",deleteTitle:"Delete User",deleteContent:"Are you sure you want to delete user <%= user %>?",deleteSuccessfully:"User deleted successfully"},RoleList:{createTitle:"Create Role",createSuccessfully:"Role created successfully",updateTitle:"Update Role",updateSuccessfully:"Role updated successfully",deleteTitle:"Delete Role",deleteContent:"Are you sure you want to delete role <%= role %>?",deleteSuccessfully:"Role deleted successfully"},PermissionList:{failedDescription:"Failed to get permission list",baseSectionTitle:"Platform Basic Permissions",gameSectionTitle:"Game Permissions",gameSectionDescription:"Please select a game first",gameSelectPlaceholder:"Please select a game first",removeText:"Remove",addText:"Add Game Permissions"},RoleDetail:{title:"Role Details"},InfiniteList:{loadingText:"Loading...",reachEndText:"You've reached the end",loadMoreText:"Load more"}},Wt=Do;});function P(e){let t=useContext(Ht);if(!t)throw new Error("Missing ToolkitsContext.Provider in the tree");return useStore(t,e)}var No,ee,Ht,Qt,Bo,jt=x(()=>{Kt();No=e=>{let t={locale:Wt,usePermissionApiV2:!1,gameApiV2:!1};return createStore()(s=>({...t,...e,setContext:o=>{s({...o});}}))},Ht=createContext(null);Qt=e=>{let{children:t,...s}=e,o=useRef();return o.current||(o.current=No(s)),ee=o.current,jsx(Ht.Provider,{value:o.current,children:t})};process.env.NODE_ENV!=="production"&&(Qt.displayName="ContextProvider");Bo=Qt;});var z=x(()=>{jt();});function S(){let e=P(s=>s.locale);return {t:useMemo(()=>(s,o)=>has(e,s)?template(get(e,s))(o):s,[e])}}var $t=x(()=>{z();});var k=x(()=>{$t();});var a1,we,os=x(()=>{k();a1=e=>{let{extras:t,isConfirming:s,onConfirm:o,onReset:r,children:i,buttonsAlign:n="left",showReset:u}=e,{t:a}=S(),{token:{colorFillAlter:f,lineWidth:c,lineType:p,colorBorder:y,borderRadiusLG:l}}=theme.useToken();return jsx("div",{style:{maxWidth:"none",background:f,borderWidth:c,borderStyle:p,borderColor:y,borderRadius:l,padding:24,marginBottom:24},children:jsxs("div",{className:`flex ${n==="bottom"?"flex-col":"flex-row"}`,children:[jsx("div",{className:`${n==="left"?"flex-grow-0":"flex-1"}`,children:i}),jsx("div",{className:`${n==="bottom"?"text-end":"text-start"} ml-4`,children:jsxs(Space,{children:[jsx(Button,{type:"primary",loading:s,onClick:o,children:a("FilterFormWrapper.confirmText")}),t?.map(h=>jsx(Fragment$1,{children:h.children},h.key)),u&&jsx(Button,{onClick:r,children:a("FilterFormWrapper.resetText")})]})})]})})},we=a1;});var Ae=x(()=>{os();});function m1(e){let t=document.createElement("div"),s=createRoot(t);return new Promise(o=>{setTimeout(()=>{flushSync(()=>{s.render(e);}),o(t.innerHTML);});})}var p1,d1,Pe,rs=x(()=>{p1=e=>{let t=/(<[^>]*>)/;return e.split(t).filter(s=>s!=="")};d1=e=>{let{texts:t,children:s}=e,[o,r]=useState("");return useEffect(()=>{m1(s).then(i=>{let n=p1(i);for(let u of t)for(let a=0;a<n.length;a++)n[a]=n[a].replace(String(u),`<span style='color: #DC143C;'>${u}</span>`);r(n.join(""));});},[s,t]),jsx("div",{dangerouslySetInnerHTML:{__html:o}})},Pe=d1;});var Oe=x(()=>{rs();});var ct,C,q=x(()=>{ct="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1",C="App-ID";});var g1,fe,as=x(()=>{g1=e=>jsx("img",{src:f1,alt:"logo",...e}),fe=g1;});var pt=x(()=>{as();});var is,ns=x(()=>{is=create()(persist(e=>({openKeys:[],setOpenKeys:t=>e({openKeys:t}),selectedKeys:[],setSelectedKeys:t=>e({selectedKeys:t})}),{name:"nav",storage:createJSONStorage(()=>localStorage),partialize:e=>({openKeys:e.openKeys,selectedKeys:e.selectedKeys})}));});function ls(e,t){return (e??[]).some(s=>s===null?!1:s.type==="divider"?!0:s.children?ls(s.children??[],t):!t||!s.code||t[s.code])}function mt(e,t){let s=[];if(e)for(let o=0;o<e.length;o++)if(e[o]===null||e[o].type==="divider")s[o]=e[o];else if(e[o].children){let{children:r,...i}=e[o];s[o]=ls(r,t)?{...i,children:mt(r,t)}:null;}else {let{route:r,label:i,code:n,...u}=e[o],a=!n||!t||t[n],f=r?jsx(Link,{to:r,children:i}):i;s[o]=a?{...u,label:f}:null;}return s}function dt(e,t=[],s=[]){for(let o of e){let r=o?.children;if(Array.isArray(r)){let i=o.type!=="group"&&o.key?[...s,o.key]:s;dt(r,t,i);}else o&&t.push(Object.assign(o,{keypath:s}));}return t}var cs=x(()=>{});var ps,gt,ms=x(()=>{j();ns();cs();ps=memo(function(t){let{items:s,theme:o,loading:r}=t,i=useLocation(),n=useMemo(()=>dt(s??[]),[s]),u=useMemo(()=>n.map(m=>m.code).filter(Boolean),[n]),{data:a,isLoading:f}=Me(u,{headers:{APP_ID_HEADER_NAME:"global"}}),c=useMemo(()=>mt(s??[],a),[s,a]),{openKeys:p,selectedKeys:y,setOpenKeys:l,setSelectedKeys:_}=is(),h=useCallback(m=>{let d=m?.find(b=>p?.indexOf(b)===-1),g=n.find(b=>d===b.key);l(g?.keypath??[d]);},[n,p,l]);return useEffect(()=>{let m=n.find(d=>i.pathname===d.route);if(m){let d=m.key,g=m.keypath;_([d]),l(g);}},[n,i]),r||f?jsx("div",{className:"flex justify-center items-center",style:{height:"calc(100vh - 64px)"},children:jsx(Spin,{})}):jsx(Menu,{theme:o,style:{borderRight:"none"},items:c,mode:"inline",openKeys:p,selectedKeys:y,onOpenChange:h})});process.env.NODE_ENV==="development"&&(ps.displayName="NavMenu");gt=ps;});var ht=x(()=>{ms();});var R1,k1,xt,us=x(()=>{z();ge();k();(({Spin:R1}=Ie)),k1=e=>{let{hideGameSelect:t,children:s}=e,o=P(u=>u.usePermissionApiV2),{game:r,isLoading:i}=W(),{t:n}=S();return i?jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:200},children:jsx(R1,{})}):o&&!t&&!r?jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:n("RequireGame.description")}):s},xt=k1;});var bt=x(()=>{us();});function Bi(){let e=P(t=>t.usePermissionApiV2);return F1(e?"/api/usystem/user/checkV2":"/api/usystem/user/check",t=>w(t,{method:"POST",body:{permissions:[]},headers:{[C]:"global"}}))}var he,ve=x(()=>{z();q();K();he=create()(persist((e,t,s)=>({token:"",getUser:()=>{try{return jwtDecode(t().token)}catch{return null}},setToken:o=>e({token:o}),clearToken:()=>{t().setToken(""),s.persist.clearStorage();}}),{name:"token",partialize:e=>({token:e.token})}));});var U1,_t,fs=x(()=>{ve();k();U1=e=>{let{logoutRedirectUrl:t}=e,{t:s}=S(),o=useNavigate(),{clearToken:r,getUser:i}=he(),n=i(),u=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{onClick:()=>{r(),o(t);},children:s("UserWidget.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:!0,items:u},placement:"bottomRight",children:jsx("a",{onClick:a=>{a.preventDefault();},children:jsxs(Space,{align:"center",children:[jsx("span",{children:n?.authorityId}),jsx(UserOutlined,{style:{fontSize:"16px"}})]})})})})},_t=U1;});var St=x(()=>{fs();});var gs,Ct=x(()=>{gs={getItem:e=>sessionStorage.getItem(e)||localStorage.getItem(e),setItem:(e,t)=>{sessionStorage.setItem(e,t),localStorage.setItem(e,t);},removeItem:async e=>{sessionStorage.removeItem(e),localStorage.removeItem(e);}};});var bs,W,Ue=x(()=>{K();Ct();z();bs=create()(persist(e=>({collapsed:!1,setCollapsed:t=>e({collapsed:t})}),{name:"layout",storage:createJSONStorage(()=>localStorage),partialize:e=>({collapsed:e.collapsed})})),W=create()(persist((e,t)=>({initialized:!1,isLoading:!1,game:null,games:[],async fetchGames({apiV2:s=ee.getState().gameApiV2,forceUpdate:o=!1}={}){if(!o&&t().initialized)return t().games;try{e({isLoading:!0});let r;return s?r=(await w("/api/game/list")).data?.list??[]:r=(await w("/api/usystem/game/all")).data??[],e({games:r}),r}finally{e({initialized:!0,isLoading:!1});}}}),{name:"game",storage:createJSONStorage(()=>gs),partialize:e=>({game:e.game})}));});var H1,Q1,Ss,Cs=x(()=>{z();k();Ue();(({Text:H1}=Typography)),Q1=e=>{let{filter:t,onGameChange:s}=e,{t:o}=S(),{game:r,games:i,isLoading:n,fetchGames:u}=W(),a=P(p=>p.gameApiV2);useEffect(()=>{u({apiV2:a});},[]);let f=i?.filter(p=>t?.(p)??!0)?.map(p=>({label:p.name,value:a?p.game_id:p.id})),c=async p=>{let y=i.find(l=>String(a?l.game_id:l.id)===String(p));W.setState({game:y}),s?.(y);};return jsxs(Space,{children:[jsx(H1,{children:o("GameSelect.label")}),jsx(Select,{showSearch:!0,optionFilterProp:"label",value:a?r?.game_id:r?.id,placeholder:o("GameSelect.placeholder"),loading:n,style:{width:"200px"},options:f,onChange:c})]})},Ss=Q1;});var ws=x(()=>{});var Z1,er,tr,sr,or,rr,ar,vs=x(()=>{z();pt();ht();bt();St();Cs();Ue();ws();(({Spin:Z1,theme:er}=Ie)),{Header:tr,Sider:sr,Content:or}=Ie.Layout,rr=e=>{let{menuCollapsible:t,isMenuLoading:s,title:o,items:r,headerExtra:i,hideGameSelect:n,children:u,navWidth:a,logoutRedirectUrl:f,filter:c,onGameChange:p}=e,{token:{colorBgContainer:y,colorBorder:l}}=er.useToken(),_=P(g=>g.usePermissionApiV2),{collapsed:h,setCollapsed:m}=bs();return jsxs(Ie.Layout,{children:[jsxs(sr,{collapsible:!0,theme:"light",trigger:null,collapsed:h,width:a,style:{height:"100vh",overflow:"auto",borderRightWidth:1,borderRightStyle:"solid",borderRightColor:l},children:[jsxs("div",{className:"flex gap-2 px-6 py-4 overflow-hidden",children:[jsx(fe,{width:32,height:32}),(!t||!h)&&jsx("div",{className:"h-8 flex items-center expand",children:o})]}),jsx(gt,{items:r,loading:s})]}),jsxs(Ie.Layout,{children:[jsx(tr,{style:{padding:"0 24px",background:y},children:jsxs("div",{className:"flex justify-between items-center h-full",children:[jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),className:"mr-6",children:[t&&jsx(Button,{type:"text",icon:h?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),style:{fontSize:"16px"},onClick:async()=>{m(!h);}}),_&&!n&&jsx(Ss,{filter:c,onGameChange:p}),i?.left?.map(g=>jsx("span",{children:g.children},g.key))]}),jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),children:[i?.right?.map(g=>jsx("span",{children:g.children},g.key)),jsx(_t,{logoutRedirectUrl:f})]})]})}),jsx(or,{style:{overflow:"auto",padding:"24px 16px",maxHeight:"calc(100vh - 64px)"},children:jsx(Suspense,{fallback:jsx(Z1,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"200px"}}),children:jsx(xt,{hideGameSelect:n,children:u})})})]})]})},ar=rr;});var ge=x(()=>{vs();Ue();});async function w(e,t={}){let s=Object.assign(t,{responseType:t.responseType??"json"}),{body:o,params:r,responseType:i,...n}=s;if(!e)throw new ye({status:400,message:"URL is required"});let u=Is.parseUrl(e),a=Object.assign({},u.query,r),f={skipNull:!0,skipEmptyString:!0,strict:!0,encode:!0},c=Is.stringify(a,f);e=c?`${u.url}?${c}`:e;let p=new Headers(s.headers),y=he?.getState()?.token;if(y&&p.set("Authorization",`Bearer ${y}`),!p.has(C)&&ee.getState().usePermissionApiV2){let b=W.getState().game;b&&p.set(C,String(ee.getState().gameApiV2?b.game_id:b.id));}i==="blob"?p.append("Accept","application/octet-stream"):i==="json"&&p.append("Accept","application/json");let l=!!(o&&typeof o=="object"&&!(o instanceof FormData));l&&p.set("Content-Type","application/json");let _=Object.assign(n,{headers:p,body:l?JSON.stringify(o):o}),h=await fetch(e,_);if(!h.ok)try{let b=await h.json();throw new Error(b.msg)}catch(b){throw new ye({status:h.status,message:b?.message??"Can't parse response."})}let m=ee.getState().interceptor?.response;if(typeof m=="function")return await m(h,s);let d;if(i==="blob")d=await h.blob();else if(i==="json")try{let b=await h.json();if(b.code===0||b.code===200||b.status===0)d=b.data;else throw new ye({code:b.code,status:h.status,message:b.msg})}catch(b){throw new ye({status:h.status,message:b?.message??"Can't parse response."})}else d=await h.text();return {...pick(h,["headers","status","statusText","url"]),data:d}}var ye,K=x(()=>{z();ge();q();ve();ye=class extends Error{constructor(s){super(s?.message);nt(this,"status");nt(this,"code");this.status=s.status,this.code=s.code;}};});function Me(e,t){let o=P(a=>a.usePermissionApiV2)?"/api/usystem/user/checkV2":"/api/usystem/user/check",r=e.length>0?{url:o,codes:e,options:t}:null,{data:i,isValidating:n,isLoading:u}=Ke(r,async()=>{let a=await w(o,{...t,method:"POST",body:{permissions:e}});return a.data?.has_all?e.reduce((f,c)=>(f[c]=!0,f),{}):e.reduce((f,c)=>(f[c]=a.data?.[c]??!1,f),{})},{revalidateOnFocus:!1});return {data:i,isValidating:n,isLoading:u}}function H(e,t){let{data:s,isValidating:o,isLoading:r}=Me(e?[e]:[],t);return e===void 0?{accessible:!0,isValidating:!1,isLoading:!1}:{accessible:s?.[e]??!1,isValidating:o,isLoading:r}}var j=x(()=>{z();K();});var _r,$,Ls=x(()=>{q();j();k();_r=e=>{let{children:t,code:s,showLoading:o,isGlobal:r,disabled:i,...n}=e,{data:u,isLoading:a}=Me(Array.isArray(s)?s:[s],{headers:{[C]:"global"}}),{t:f}=S();return a?jsx(Button,{loading:o,disabled:!o,...n,children:t}):Object.values(u??{})?.some(Boolean)?jsx(Button,{disabled:i,...n,children:t}):jsx(Tooltip,{defaultOpen:!1,title:f("global.noEntitlement"),children:jsx(Button,{disabled:!0,...n,children:t})})},$=_r;});var Be=x(()=>{Ls();});var J,Te=x(()=>{J=create((e,t)=>({keyMap:new Map,payloadMap:new Map,getPayload(s){return t().payloadMap.get(s)??{page:1}},setPayload(s,o){e(r=>({payloadMap:new Map(r.payloadMap).set(s,o)}));},refetch(s,o){let r=t().getPayload(s),i={...r,...o};isEqual(r,i)?t().mutate(s,void 0):t().setPayload(s,i);},mutate(s,o,r){let i=t().keyMap.get(s);return mutate(i,o,r)}}));});var Vs,Dr,zr,le,Ds=x(()=>{q();j();K();z();Ae();ge();k();Te();Vs=(r=>(r[r.Confirm=0]="Confirm",r[r.Reset=1]="Reset",r[r.Jump=2]="Jump",r[r.Init=3]="Init",r))(Vs||{}),Dr=(e,t)=>{let s={method:"GET",defaultSize:10,refreshInterval:0,getTotal:I=>I?.total,getDataSource:I=>I?.list,...e},{route:o,code:r,headers:i,isGlobal:n,onePage:u,method:a,buttonsAlign:f,showReset:c,defaultSize:p,refreshInterval:y,tableExtra:l,form:_,body:h,params:m,renderForm:d,afterSuccess:g,getTotal:b,getDataSource:E,footer:Y,...se}=s,{notification:pe}=App.useApp(),{t:Se}=S(),[T]=Form.useForm(_),N=useRef(3),{game:V}=W(),{gameApiV2:R,usePermissionApiV2:B}=P(I=>I),{accessible:D,isLoading:me}=H(r,{headers:{[C]:V?n?"global":String(R?V.game_id:V.id):""}}),[ze,X]=useState(!1),{keyMap:Ze,getPayload:et,refetch:M}=J(),{page:U,size:Q=p,formValue:Z}=et(o),tt={page:U,size:Q,formValue:Z},st=useMemo(()=>typeof h=="function"?h(tt):a==="POST"&&typeof h>"u"?{...Z,...u?void 0:{page:U,size:Q}}:h,[u,a,U,Q,Z,h]),ot=useMemo(()=>typeof m=="function"?m(tt):a==="GET"&&typeof m>"u"?{...Z,...u?void 0:{page:U,size:Q}}:void 0,[u,a,U,Q,Z,m]),rt=useMemo(()=>{let I=new Headers(i);return B&&(n?I.set(C,"global"):V&&I.set(C,String(R?V.game_id:V.id))),I},[B,n,V,i]),Ro=useMemo(()=>{if(!D||!ze)return null;let re=unstable_serialize({route:o,method:a,body:st,params:ot,headers:rt});return Ze.set(o,re),re},[a,o,st,ot,rt,ze,D]),at=useRef(!1),{data:oe,isValidating:Ot}=Ke(Ro,async()=>(await w(o,{method:a,body:st,params:ot,headers:rt})).data,{shouldRetryOnError:!1,revalidateOnFocus:!1,refreshInterval:at.current?y:0,onSuccess(I){at.current=!0,g?.(N.current,I,T);},onError(I){at.current=!1,pe.error({message:"\u8BF7\u6C42\u51FA\u9519",description:I.message});}}),Ut=useMemo(()=>E(oe,T),[oe,_,E]),Nt=useMemo(()=>b(oe),[oe,b]),ko=useMemo(()=>!u&&{showSizeChanger:!0,showQuickJumper:!0,current:U,pageSize:Q,total:Nt,onChange:async(I,re)=>{N.current=2,M(o,{page:I,size:re});}},[U,Q,u,Nt]),Bt=async()=>{N.current=0;try{await T.validateFields(),X(!0),M(o,{page:1,formValue:T.getFieldsValue()});}catch{X(!1);}},Lo=async()=>{N.current=1,T.resetFields();try{await T.validateFields({validateOnly:!0}),X(!0),M(o,{page:1,formValue:T.getFieldsValue()});}catch{X(!1);}};if(useEffect(()=>{(async()=>{if(D)try{T.resetFields();let re=await T.validateFields({validateOnly:!0});M(o,{page:1,formValue:re}),X(!0);}catch{X(!1);}})();},[D,_,V]),useImperativeHandle(t,()=>({data:oe,dataSource:Ut,form:T})),me)return jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}});if(!D)return jsx(Result,{status:403,subTitle:Se("global.noEntitlement")});let Fo=typeof d=="function"?jsx(we,{showReset:c,buttonsAlign:f,isConfirming:Ot,onReset:Lo,onConfirm:Bt,children:cloneElement(d(T),{onKeyUp:I=>{I.key==="Enter"&&Bt();}})}):jsx(Form,{form:T}),Go=Y&&(()=>Y(oe));return jsxs("div",{children:[Fo,typeof l=="function"?l(T,oe):l,jsx(Table,{...se,dataSource:Ut,loading:Ot,pagination:ko,footer:Go})]})},zr=forwardRef(Dr),le=zr;});var ke=x(()=>{Ds();Te();});function zs(e){let{content:t,onConfirm:s,...o}=e,r=useMemo(()=>++jr,[]),i=Qr(),n=i.getOpen(r),[u,a]=useState(!1),f=typeof t=="function",c=()=>{i.show(r);},p=()=>{i.hide(r);},_=jsx(Modal,{...o,open:n,confirmLoading:u,onOk:async()=>{try{a(!0),await s?.();}finally{a(!1);}},onCancel:()=>{p();},children:f?t({hide:p}):t});return {uuid:r,show:c,hide:p,modal:_}}var Qr,jr,Mt=x(()=>{Qr=create((e,t)=>({open:new Map,getOpen:s=>t().open.get(s)??!1,show(s){e({open:new Map(t().open).set(s,!0)});},hide(s){e({open:new Map(t().open).set(s,!1)});},hideAll(){e({open:new Map});}})),jr=0;});function qe(e){let{content:t,form:s,formProps:o,onConfirm:r,...i}=e,[n,u]=useState({}),[a]=Form.useForm();a=s||a;let f=typeof t=="function",c=async()=>{let d=await a.validateFields();await r?.(d,n),_();},p=()=>{a.resetFields();},{uuid:y,show:l,hide:_,modal:h}=zs({...i,content:d=>jsx(Form,{...o,form:a,children:f?t(n,d):t}),onConfirm:c,afterClose:p});return {uuid:y,show:({initialValues:d,extraValues:g}={})=>{g&&u(g),d&&a.setFieldsValue(d),l();},hide:_,modal:h}}var We=x(()=>{Mt();});function Ns(){return Ke("/api/usystem/user/allPermssions",e=>w(e,{headers:{[C]:"global"}}).then(t=>t.data))}function Bs(){return Ke("/api/usystem/user/allPermissionsV2",e=>w(e,{headers:{[C]:"global"}}).then(t=>t.data))}function qs(){let{accessible:e}=H("200005",{headers:{[C]:"global"}});return Ke(e?"/api/usystem/role/all":null,t=>w(t,{headers:{[C]:"global"}}).then(s=>s.data))}function Ws(e){let t=P(s=>s.usePermissionApiV2);return Ke(`/api/usystem/role/${t?"infoV2":"info"}?name=${e}`,s=>w(s,{headers:{[C]:"global"}}).then(o=>o.data))}function Ks(){let e=P(t=>t.usePermissionApiV2);return be(e?"/api/usystem/role/createV2":"/api/usystem/role/create",(t,{arg:s})=>w(t,{method:"post",body:s,headers:{[C]:"global"}}))}function Hs(){let e=P(t=>t.usePermissionApiV2);return be(e?"/api/usystem/role/updateV2":"/api/usystem/role/update",(t,{arg:s})=>w(t,{method:"post",body:s,headers:{[C]:"global"}}))}function Qs(){return be("/api/usystem/role/delete",(e,{arg:t})=>w(e,{method:"post",body:t,headers:{[C]:"global"}}))}function js(){return be("/api/usystem/user/create",(e,{arg:t})=>w(e,{method:"post",body:t,headers:{[C]:"global"}}))}function $s(){return be("/api/usystem/user/update",(e,{arg:t})=>w(e,{method:"post",body:t,headers:{[C]:"global"}}))}function Js(){return be("/api/usystem/user/delete",(e,{arg:t})=>w(e,{method:"post",body:t,headers:{[C]:"global"}}))}var He=x(()=>{z();q();j();K();});var ma,Fe,Lt=x(()=>{k();ma=e=>{let{permissions:t,readonly:s,expand:o,value:r,onChange:i}=e,[n,u]=useState([]),[a,f]=useState({}),[c,p]=useState(r??[]),{t:y}=S(),l=useCallback(m=>{u(m);},[]),_=(m,d)=>{let g=[];return m?g=[...new Set(c.concat(d))]:(g=c.slice(),d.forEach(b=>{let E=g.findIndex(Y=>Y===b);E>-1&&g.splice(E,1);})),g},h=(m,d)=>{let g=_(m.target.checked,d);p(g),i?.(g);};return useEffect(()=>{p(r??[]);},[r]),useEffect(()=>{o&&u((t??[]).map(({category:m})=>m));},[o,t]),useEffect(()=>{let m=(t??[]).reduce((d,g)=>(d[g.category]=g.permissions.every(b=>c?.includes(b.value)),d),{});f(m);},[c,t]),jsx(Collapse,{style:{width:"100%"},collapsible:"header",activeKey:n,items:(t??[]).map(m=>({key:m.category,label:m.category,extra:!s&&jsx(Checkbox,{checked:a[m.category],onChange:d=>{h(d,m.permissions.map(g=>g.value));},children:y("global.selectAll")}),children:jsx(Checkbox.Group,{style:{width:"100%"},value:c,disabled:s,children:jsx(Row,{gutter:[10,10],style:{width:"100%"},children:m.permissions.map(d=>jsx(Col,{span:6,children:jsx(Checkbox,{value:d.value,onChange:g=>{h(g,[d.value]);},children:d.label})},d.value))})})})),onChange:l})},Fe=ma;});var fa,ga,Ys,Xs=x(()=>{k();He();Lt();(({Text:fa}=Typography)),ga=e=>{let{expand:t=!0,value:s,readonly:o,onChange:r}=e,{data:i,isLoading:n,error:u}=Ns(),{t:a}=S();return u?jsx("div",{className:"flex justify-center",children:jsx(fa,{type:"danger",children:a("PermissionList.failedDescription")})}):jsx(Skeleton,{active:!0,loading:n,children:jsx(Fe,{value:s,permissions:i,readonly:o,expand:t,onChange:r})})},Ys=ga;});var Ft,Ca,wa,ro,ao=x(()=>{k();He();Lt();(({Text:Ft}=Typography)),{Option:Ca}=Select,wa=e=>{let{expand:t=!0,value:s,readonly:o,onChange:r}=e,{data:{permission:i,game:n}={},isLoading:u,error:a}=Bs(),[f,c]=useState([]),p=i?.filter(m=>m.is_common),y=i?.filter(m=>!m.is_common),{t:l}=S();if(useEffect(()=>{let m=[];Object.keys(s??{}).forEach(d=>{d!=="global"&&m.push({gameId:d,permissions:s?.[d]??[]});}),c(m);},[s]),a)return jsx("div",{className:"flex justify-center",children:jsx(Ft,{type:"danger",children:l("PermissionList.failedDescription")})});let _=()=>{c(m=>[...m,{gameId:"",permissions:[]}]);},h=m=>{c(d=>d.filter((g,b)=>b!==m));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:!0,children:l("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:!0,loading:u,children:jsx(Fe,{value:s?.global,readonly:o,permissions:p,expand:t,onChange:m=>{r?.({...s,global:m});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:!0,children:l("PermissionList.gameSectionTitle")})}),f.map((m,d)=>jsx(Card,{title:jsxs(Space,{children:[jsx(Ft,{children:l("global.game")}),o?jsx(Ft,{children:n?.find(g=>String(g.id)===m.gameId)?.name}):jsx(Select,{disabled:o,value:f[d].gameId||void 0,style:{width:"160px"},placeholder:l("PermissionList.gameSelectPlaceholder"),onChange:g=>{c(b=>{let E=b.slice();return E[d].gameId=g,E});},children:n?.map(g=>jsx(Ca,{value:g.id,disabled:f.some(({gameId:b})=>b===String(g.id)),children:g.name},g.id))})]}),className:"mb-6",extra:!o&&jsx(Button,{type:"link",onClick:()=>{h(d);},children:l("PermissionList.removeText")}),children:f[d].gameId?jsx(Skeleton,{active:!0,loading:u,children:jsx(Fe,{value:s?.[f[d].gameId],readonly:o,expand:t,permissions:y,onChange:g=>{r?.({...s,[f[d].gameId]:g});}})}):jsx(Empty,{description:l("PermissionList.gameSectionDescription")})},d)),!o&&jsx(Button,{block:!0,type:"dashed",onClick:_,children:l("PermissionList.addText")})]})},ro=wa;});var Pa,Ge,io=x(()=>{z();Xs();ao();Pa=e=>{let{value:t}=e,s=P(o=>o.usePermissionApiV2);return jsx(Fragment,{children:s?jsx(ro,{...e,value:t}):jsx(Ys,{...e,value:t})})},Ge=Pa;});var no=x(()=>{});var je=x(()=>{io();He();no();});var go={};it(go,{default:()=>Da,route:()=>Ve});var Ga,Ve,po,Va,Da,yo=x(()=>{Oe();k();Be();ke();Te();je();We();(({Option:Ga}=Select)),Ve="/api/usystem/user/list",po=e=>{let{message:t}=App.useApp(),{t:s}=S(),{refetch:o,mutate:r}=J(),{data:i,isLoading:n}=qs(),u=js(),a=$s(),f=s(e?"UserList.createTitle":"UserList.updateTitle"),c=jsxs(Fragment,{children:[jsx(Form.Item,{label:s("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!e})}),jsx(Form.Item,{label:s("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,mode:"multiple",loading:n,children:(i??[]).map(y=>jsx(Ga,{value:y.name,children:y.name},y.id))})})]});return qe({title:f,formProps:{labelCol:{flex:"80px"}},content:c,onConfirm:async(y,l)=>{e?(await u.trigger(y),o(Ve,{page:1}),t.success(s("UserList.createSuccessfully"))):(await a.trigger(y),r(Ve,_=>produce(_,h=>{if(h?.List){let m=h.List?.findIndex(d=>d.id===l?.id);m!==-1&&(h.List[m].roles=y.roles);}}),{revalidate:!1}),t.success(s("UserList.updateSuccessfully")));}})},Va=()=>{let{modal:e,message:t}=App.useApp(),s=Js(),{mutate:o}=J(),{show:r,modal:i}=po(!0),{show:n,modal:u}=po(),{t:a}=S(),f=[{title:a("global.name"),dataIndex:"name",key:"name"},{title:"ID",dataIndex:"id",key:"id"},{title:a("global.role"),dataIndex:"roles",key:"roles",width:"40%",render(c){return jsx(Row,{gutter:[4,4],children:(c||[]).map(p=>jsx(Col,{children:p==="root"?jsx(Tag,{color:"#f50",children:p}):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${p}`,children:p})})},p))})}},{title:a("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:a("global.operation"),width:150,align:"center",render:c=>jsxs(Space,{children:[jsx($,{isGlobal:!0,size:"small",type:"link",code:"100003",onClick:()=>{n({initialValues:{name:c.name,roles:c.roles},extraValues:{id:c.id}});},children:a("global.update")}),jsx($,{isGlobal:!0,danger:!0,size:"small",code:"100004",type:"link",onClick:()=>{e.confirm({title:a("UserList.deleteTitle"),content:jsx(Pe,{texts:[c.name],children:a("UserList.deleteContent",{user:c.name})}),async onOk(){await s.trigger({id:c.id,name:c.name}),o(Ve,p=>produce(p,y=>{let l=y?.List?.findIndex(_=>_.id===c.id);l&&y?.List?.splice(l,1);})),t.success(a("UserList.deleteSuccessfully"));}});},children:a("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:a("global.user"),extra:jsx($,{isGlobal:!0,type:"primary",icon:jsx(UserAddOutlined,{}),code:"100002",onClick:()=>{r();},children:a("UserList.createTitle")}),children:jsx(le,{isGlobal:!0,code:"100001",route:Ve,rowKey:"id",columns:f,getTotal:c=>c?.Total,getDataSource:c=>c?.List})}),i,u]})},Da=Va;});var Co={};it(Co,{default:()=>Ba});var $e,bo,Na,Ba,wo=x(()=>{z();Oe();k();Be();ke();Te();q();je();We();j();K();$e="/api/usystem/role/list",bo=e=>{let{message:t}=App.useApp(),{t:s}=S(),{refetch:o,mutate:r}=J(),i=Ks(),n=Hs(),u=s(e?"RoleList.createTitle":"RoleList.updateTitle"),a={layout:"vertical"},f=jsxs(Fragment,{children:[jsx(Form.Item,{label:s("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!e,addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Ge,{})})]});return qe({title:u,width:"50vw",formProps:a,content:f,onConfirm:async(p,y)=>{e?(await i.trigger({name:`role_${p.name}`,permissions:p.permissions}),o($e,{page:1}),t.success(s("RoleList.createSuccessfully"))):(await n.trigger({id:y?.id,name:`role_${p.name}`,permissions:p.permissions}),r($e,l=>produce(l,_=>{let h=_?.List?.find(m=>m.id===y?.id);h&&(h.permissions=p.permissions);}),{revalidate:!1}),t.success(s("RoleList.updateSuccessfully")));}})},Na=()=>{let{accessible:e}=H("200005",{headers:{[C]:"global"}}),{modal:t,message:s}=App.useApp(),{t:o}=S(),r=P(l=>l.usePermissionApiV2),{mutate:i}=J(),{show:n,modal:u}=bo(!0),{show:a,modal:f}=bo(),c=Qs(),p=async l=>{let{data:_}=await w(`/api/usystem/role/info${r?"V2":""}?name=${l.name}`,{headers:{[C]:"global"}});a({initialValues:{permissions:_?.permissions,name:_?.name.replace(/^role_/,"")},extraValues:{id:_?.id}});},y=[{title:o("global.name"),key:"name",render(l){return e?jsx(Link,{to:`${l.name}`,relative:"path",children:l.name}):jsx(Fragment,{children:l.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:o("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:o("global.operation"),width:150,align:"center",render:(l,_)=>jsxs(Space,{size:"small",children:[jsx($,{isGlobal:!0,code:"200003",size:"small",type:"link",onClick:async()=>{p(_);},children:o("global.edit")}),jsx($,{isGlobal:!0,danger:!0,code:"200004",size:"small",type:"link",onClick:()=>{t.confirm({title:o("RoleList.deleteTitle"),content:jsx(Pe,{texts:[_.name],children:o("RoleList.deleteContent",{role:_.name})}),async onOk(){await c.trigger({id:_.id,name:_.name}),i($e,h=>produce(h,m=>{let d=m?.List?.findIndex(g=>g.id===_.id);d&&m?.List?.splice(d,1);})),s.success(o("RoleList.deleteSuccessfully"));}});},children:o("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:o("global.role"),extra:jsx($,{isGlobal:!0,type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),onClick:()=>{n();},children:o("RoleList.createTitle")}),children:jsx(le,{isGlobal:!0,rowKey:"name",columns:y,code:"200001",route:$e,getTotal:l=>l?.Total,getDataSource:l=>l?.List})}),u,f]})},Ba=Na;});var Po={};it(Po,{default:()=>$a});var ja,$a,Mo=x(()=>{k();je();ja=()=>{let e=useParams(),{data:t,isLoading:s}=Ws(e.name),{t:o}=S();return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:24},items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:o("global.role")})},{key:"2",title:e.name}]}),jsx(Card,{title:o("RoleDetail.title"),children:jsxs(Skeleton,{loading:s,children:[jsxs(Descriptions,{column:3,layout:"vertical",children:[jsx(Descriptions.Item,{label:o("global.name"),children:t?.name}),jsx(Descriptions.Item,{label:"ID",children:t?.id}),jsx(Descriptions.Item,{label:o("global.creationTime"),children:t?.ctime})]}),jsx(Ge,{readonly:!0,value:t?.permissions})]})})]})},$a=ja;});z();k();var Jo=e=>{let{initialTags:t,addable:s,removable:o,addCallback:r,removeCallback:i}=e,{t:n}=S(),{token:u}=theme.useToken(),[a,f]=useState([]),[c,p]=useState(!1),[y,l]=useState(""),[_,h]=useState(-1),[m,d]=useState(""),g=useRef(null),b=useRef(null);useEffect(()=>{f(t??[]);},[t]),useEffect(()=>{c&&g.current?.focus();},[c]),useEffect(()=>{b.current?.focus();},[y]);let E=async R=>{if(await i?.(R)){let D=a.filter(me=>me!==R);f(D);}},Y=()=>{p(!0);},se=R=>{l(R.target.value);},pe=async()=>{y&&a.indexOf(y)===-1&&await r?.(y)&&f([...a,y]),p(!1),l("");},Se=R=>{d(R.target.value);},T=()=>{let R=[...a];R[_]=m,f(R),h(-1),l("");},N={width:78,verticalAlign:"top"},V={background:u.colorBgContainer,borderStyle:"dashed"};return jsxs(Space,{wrap:!0,size:[0,8],children:[jsx(Space,{wrap:!0,size:[0,8],children:a.map((R,B)=>_===B?jsx(Input,{ref:b,size:"small",style:N,value:m,onChange:Se,onBlur:T,onPressEnter:T},R):jsx(Tag,{closable:o,style:{userSelect:"none"},onClose:async D=>{D.preventDefault(),await E(R);},children:jsx("span",{onDoubleClick:D=>{B!==0&&(h(B),d(R),D.preventDefault());},children:R})},R))}),s&&(c?jsx(Input,{ref:g,type:"text",size:"small",style:N,value:y,onChange:se,onBlur:pe,onPressEnter:pe}):jsxs(Tag,{style:V,onClick:Y,children:[jsx(PlusOutlined,{}),"\xA0",n("global.add")]}))]})},Yo=Jo;var e1=e=>{let{children:t,...s}=e,[o,r]=useState(!1);return jsx(Typography.Paragraph,{...s,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:o,onExpand:(i,n)=>{r(n.expanded);}},children:t})},Ee=e1;Ae();Oe();q();j();K();z();Ae();ge();k();var gr=e=>{let{code:t,action:s,extras:o,headers:r,isGlobal:i,getRowKey:n,getDataSource:u,hasMore:a,renderForm:f,transformArg:c,...p}=e,{t:y}=S(),[l]=Form.useForm(),[_,h]=useState(!1),[m,d]=useState(),g=(M,U)=>{if(!_)return null;let Q=M!==0?n(U):void 0,Z=c(m,Q);return Is.stringify(Z)?`${s}?${Is.stringify(Z)}`:s},{game:b}=W(),{usePermissionApiV2:E,gameApiV2:Y}=P(M=>M),{accessible:se,isLoading:pe}=H(t,{headers:{[C]:b?i?"global":String(Y?b.game_id:b.id):""}}),Se=useMemo(()=>{let M=new Headers(typeof r=="function"?r(l):r);return E&&(i?M.set(C,"global"):b&&M.set(C,String(b.id))),M},[E,i,b,r]),{data:T,size:N,setSize:V,isValidating:R}=fr(g,M=>w(M,{headers:Se}).then(U=>U.data),{shouldRetryOnError:!1,revalidateOnFocus:!1,revalidateFirstPage:!1}),B=u(T),D=R||N>0&&T&&typeof T[N-1]>"u",me=typeof a<"u"?!a(T):!0,ze=!B||B.length===0,X=async()=>{let M=await l.getFieldsValue();d(M);try{await l.validateFields(),V(1),h(!0);}catch{V(0),h(!1);}},Ze=()=>{V(N+1);},et=async()=>{try{l.resetFields(),await l.validateFields({validateOnly:!0}),V(1);}catch{V(0);}};return useEffect(()=>{se&&l.validateFields({validateOnly:!0}).then(M=>{d(M),h(!0);}).catch(()=>{h(!1);});},[se]),pe?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}}):se?jsxs(Fragment,{children:[f?jsx(we,{extras:o?.map(M=>({key:M.key,children:typeof M.children=="function"?M.children(l):M.children})),onReset:et,onConfirm:X,children:f(l)}):jsx(Form,{form:l}),jsx(Table,{...p,dataSource:B,loading:D,pagination:!1}),!ze&&jsx(Button,{block:!0,loading:D,type:"link",htmlType:"button",disabled:D||me,onClick:Ze,children:y(D?"InfiniteList.loadingText":me?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})]}):jsx(Result,{status:403,subTitle:y("global.noEntitlement")})},hr=gr;ge();ht();Be();ke();bt();q();j();k();var Ur=e=>{let{code:t,isGlobal:s,children:o}=e,{accessible:r,isValidating:i}=H(t,s?{headers:{[C]:"global"}}:void 0),{t:n}=S();return i?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:200}}):r?jsx(Fragment,{children:o}):jsx(Result,{status:"403",subTitle:n("global.noEntitlement")})},Nr=Ur;St();q();We();Mt();j();ve();k();var ta=e=>{let{redirectUrl:t}=e,s=useNavigate(),{t:o}=S();return jsx("div",{className:"h-screen flex justify-center items-center",children:jsx(Result,{status:"404",title:"404",subTitle:o("NotFound.subTitle"),extra:t&&jsx(Button,{type:"primary",onClick:()=>{s(t);},children:o("NotFound.buttonText")})})})},sa=ta;k();ke();var {Option:As}=Select,aa=()=>{let{t:e}=S(),t=[{key:"username",title:e("global.username"),dataIndex:"uname",width:100},{key:"label",title:e("global.label"),dataIndex:"label",width:150},{key:"method",title:e("global.method"),dataIndex:"method",width:100},{key:"route",title:e("global.route"),dataIndex:"route",width:200},{key:"request",title:e("global.request"),dataIndex:"request",render(s){return jsx(Ee,{children:s})}},{key:"response",title:e("global.response"),dataIndex:"response",render(s){return jsx(Ee,{children:s})}},{key:"creation_time",title:e("global.creationTime"),dataIndex:"ctime",width:200,render(s){return ra(s).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(le,{isGlobal:!0,rowKey:"id",code:"300001",columns:t,tableLayout:"fixed",route:"/api/usystem/log/list",getTotal:s=>s?.Total,getDataSource:s=>s?.List,renderForm:s=>jsxs(Form,{form:s,layout:"inline",children:[jsx(Form.Item,{label:e("global.username"),name:"uname",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:e("global.route"),name:"route",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:e("global.method"),name:"method",children:jsxs(Select,{allowClear:!0,style:{width:"100px"},children:[jsx(As,{value:"get",children:"GET"}),jsx(As,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:e("global.label"),name:"label",children:jsx(Input,{allowClear:!0})})]})})})},ia=aa;var Za=lazy(()=>Promise.resolve().then(()=>(yo(),go))),e2=lazy(()=>Promise.resolve().then(()=>(wo(),Co))),t2=lazy(()=>Promise.resolve().then(()=>(Mo(),Po))),s2=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Navigate,{to:"user"})}),jsx(Route,{path:"user",element:jsx(Za,{})}),jsx(Route,{path:"role",element:jsx(e2,{})}),jsx(Route,{path:"role/:name",element:jsx(t2,{})})]});k();pt();q();ve();K();var vo='data:image/svg+xml,<svg xml:space="preserve" style="enable-background:new 0 0 6000 4000;" viewBox="0 0 6000 4000" y="0px" x="0px" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1">%0A<style type="text/css">%0A%09.Graphic_x0020_Style_x0020_100{fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_101{fill:url(%23SVGID_1_);}%0A%09.Graphic_x0020_Style_x0020_102{fill:url(%23SVGID_2_);}%0A%09.Graphic_x0020_Style_x0020_104{fill:%23DB6767;}%0A%09.Graphic_x0020_Style_x0020_105{fill:%23FFDE70;}%0A%09.Graphic_x0020_Style_x0020_106{fill:%23FFB114;}%0A%09.Graphic_x0020_Style_x0020_107{fill:%236584C6;}%0A%09.Graphic_x0020_Style_x0020_108{fill:%23102140;}%0A%09.Graphic_x0020_Style_x0020_109{fill:%233B546B;}%0A%09.Graphic_x0020_Style_x0020_110{fill:%23152A52;}%0A%09.Graphic_x0020_Style_x0020_111{fill:%23E8766F;}%0A%09.Graphic_x0020_Style_x0020_112{fill:%23EF5668;}%0A%09.Graphic_x0020_Style_x0020_113{fill:%23FC9590;}%0A%09.Graphic_x0020_Style_x0020_114{fill:%23912433;}%0A%09.Graphic_x0020_Style_x0020_115{opacity:0.5;fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_116{fill:%231A1A1A;}%0A%09.Graphic_x0020_Style_x0020_117{fill:%23535353;}%0A%09.Graphic_x0020_Style_x0020_118{fill:%23DBD2DB;}%0A%09.Graphic_x0020_Style_x0020_119{fill:%234D73C6;}%0A%09.Graphic_x0020_Style_x0020_120{fill:%23D1334A;}%0A%09.Graphic_x0020_Style_x0020_123{fill:url(%23SVGID_3_);}%0A%09.st0{fill:url(%23SVGID_4_);}%0A%09.st1{fill:url(%23SVGID_5_);}%0A%09.st2{fill:url(%23SVGID_6_);}%0A%09.st3{fill:%239D8A9D;}%0A%09.st4{fill:url(%23SVGID_7_);}%0A%09.st5{fill:url(%23SVGID_8_);}%0A%09.st6{fill:%233B546B;}%0A%09.st7{fill:%23A8A1A8;}%0A%09.st8{fill:%23DBD2DB;}%0A%09.st9{fill:%23FFFFFF;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st10{fill:%23339E7E;}%0A%09.st11{fill:none;stroke:%2310663F;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st12{fill:%2300593B;}%0A%09.st13{fill:none;stroke:%233DBE88;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st14{fill:none;stroke:%23134411;stroke-width:8.0149;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st15{fill:%23EF5668;}%0A%09.st16{fill:%23FC9590;}%0A%09.st17{fill:%23102140;}%0A%09.st18{fill:%23DB6767;}%0A%09.st19{fill:%231A1A1A;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st20{fill:%23FFFFFF;}%0A%09.st21{fill:%23535353;}%0A%09.st22{fill:%23F9EBF9;}%0A%09.st23{fill:%23D896D8;}%0A%09.st24{fill:%238E3D8E;}%0A%09.st25{fill:%23CA74CA;}%0A%09.st26{fill:%23D590D5;}%0A%09.st27{fill:%23160A16;}%0A%09.st28{fill:%23384A6E;}%0A%09.st29{fill:%23B7C0D4;}%0A%09.st30{fill:%23E8766F;}%0A%09.st31{fill:%23FFB114;}%0A%09.st32{fill:%23FFDE70;}%0A%09.st33{fill:%23434343;}%0A%09.st34{fill:%23664708;}%0A%09.st35{fill:%23D9D9D9;}%0A%09.st36{fill:url(%23SVGID_9_);}%0A%09.st37{fill:url(%23SVGID_10_);}%0A%09.st38{fill:url(%23SVGID_11_);}%0A%09.st39{fill:url(%23SVGID_12_);}%0A</style>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_1_">%0A%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_2_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_3_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A</linearGradient>%0A<g>%0A%09<linearGradient y2="3014.9536" x2="4941.2124" y1="3014.9536" x1="1288.5804" gradientUnits="userSpaceOnUse" id="SVGID_4_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1288.6,2793.9c55.3,134.1,186.5,387.6,453.7,503.3c220.8,95.6,442.9,57.4,694.7,14.2%0A%09%09c343.1-59,344.3-140.4,552.9-134.7c282.5,7.8,357.3,159.3,673.4,219.7c66.5,12.7,309.6,47.5,574.2-28.4%0A%09%09c360.6-103.4,734.8-407.2,701.8-560C4895.4,2605.9,4103.5,2505.3,1288.6,2793.9z" class="st0"></path>%0A%09<linearGradient y2="1994.5433" x2="5456.5684" y1="1994.5433" x1="686.3356" gradientUnits="userSpaceOnUse" id="SVGID_5_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5428.3,1649.1c-131.4-612.4-697.6-977.3-1155.4-1020.7c-232.1-22-245.1,56.7-616.7,117%0A%09%09c-821.7,133.2-1081-199.5-1850.1-85.1c-341.2,50.8-687.6,102.3-914.4,382.8C519.9,1502.7,718.2,2270,973.9,2621.3%0A%09%09c165.2,227,392.7,363.9,392.7,363.9c68.9,41.5,168.6,100.4,304.8,131.1c237.9,53.7,359.9-29.9,560-42.5%0A%09%09c342.7-21.6,401.6,197.2,772.6,276.4c190.7,40.7,257.4,0.5,1084.5-212.6c811.7-209.1,858.2-198.9,974.7-297.7%0A%09%09C5379.4,2571.8,5521.7,2084.7,5428.3,1649.1z M2709.5,2042.7v-2.7V2042.7z" class="st1"></path>%0A%09<linearGradient y2="1859.5726" x2="5227.9292" y1="1859.5726" x1="1116.5316" gradientUnits="userSpaceOnUse" id="SVGID_6_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5148.1,1664.4c-146.3-421.8-552.5-838.3-943.2-819c-297.4,14.6-412.5,273.3-678.4,215.1%0A%09%09c-227.7-49.8-217.9-255.8-471.6-405.4c-401.7-236.8-1083-107.4-1265.9,223.4c-99.3,179.7-11.7,346.7-173.7,521.2%0A%09%09c-113.5,122.3-192.5,78.9-314.4,198.6c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1%0A%09%09c827.4,146.2,1654.7,292.3,2482.1,438.5c80.8,13.1,529.4,77.9,879.7-216.7C5295.8,2609,5272.6,2023.2,5148.1,1664.4z%0A%09%09 M2709.5,2042.7v-2.7V2042.7z" class="st2"></path>%0A%09<path d="M5224.3,2042.5c-143.7-88.6-413.9-68.2-740.1-95.9c-488.7-41.5-1188.7,312.8-1437,221.4%0A%09%09c-95.1-35-167.4-141.7-220.4-260v1053.6c291.4,51.5,582.8,103,874.2,154.4l1292.2-269.1C5190,2615.6,5243.4,2314,5224.3,2042.5z" class="st3"></path>%0A%09<linearGradient y2="1741.7239" x2="2757.678" y1="1741.7239" x1="1116.5317" gradientUnits="userSpaceOnUse" id="SVGID_7_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.3,179.7-11.7,346.7-173.7,521.2c-113.5,122.3-192.5,78.9-314.4,198.6%0A%09%09c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1c411.1,72.6,822.2,145.3,1233.4,217.9V550.2%0A%09%09C2377.7,484.9,1931.7,620.4,1789.1,878.4z M2709.5,2042.7v-2.7V2042.7z" class="st4"></path>%0A%09<linearGradient y2="1215.4698" x2="2649.5779" y1="1215.4698" x1="1137.9542" gradientUnits="userSpaceOnUse" id="SVGID_8_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.4,179.7-11.7,346.7-173.7,521.2c-113.6,122.3-192.5,78.9-314.4,198.6%0A%09%09c-79.1,77.6-134.7,183-163,298.8c82.9-108.4,187.6-189.5,319.3-210.4c445.6-70.8,892.8,45.1,1192.3-113.7V537.1%0A%09%09C2296.9,511.3,1918.4,644.5,1789.1,878.4z" class="st5"></path>%0A%09<polygon points="1937.1,644.5 1937.1,2265.3 1979.7,2269.9 1983,640.9" class="st6"></polygon>%0A%09<path d="M2757.7,550.2c-35.6-6.1-71.7-10.5-108.1-13.1v1035.7c38.6-20.4,74.7-45.4,108.1-76V550.2z" class="st7"></path>%0A%09<path d="M1117.4,850.5c-15.5,9-30.8,18.5-45.8,28.5v1689.5l42.6,5.1L1117.4,850.5z" class="st6"></path>%0A%09<path d="M2826.8,564.5c-22.7-5.5-45.8-10.3-69.1-14.3v2399.3c23,4.1,46.1,8.1,69.1,12.2V564.5z" class="st8"></path>%0A%09<g>%0A%09%09<path d="M1121,2361c0,0-98.3-110.7,84.2-222.1c-25.3,43.4-118,92.3-52.4,202.9%0A%09%09%09c27.1,62.9-12.8,89.7-12.8,89.7S1080.6,2436.5,1121,2361z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<g>%0A%09%09%09<path d="M1282.2,2470.4c-15.5,28.9-215.1,26.5-315.7,23.4c-1.1-4.4-2.1-8.7-3.1-13c-1.8-7.8-3.5-15.5-5-23.2%0A%09%09%09%09C1035.2,2452.4,1299.9,2437.2,1282.2,2470.4z" class="st9"></path>%0A%09%09%09<path d="M1282.2,2470.4l-16.7,216.9c-25.9,39.1-25.5,89.5-36,137.5c-4.3,22.7-20.4,30.2-38.6,29.2%0A%09%09%09%09c-39.4-34.1-82.1-74.2-124.2-119.9c-50-80.3-81.3-162.6-100.3-240.3C1067.1,2496.9,1266.7,2499.4,1282.2,2470.4z" class="st9"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1331.3,2151c12.7,12.2,30.7,16,43,17c5.5-2.7,11.1-5.7,16.6-8.9c24.3-13.9,39.8-38.8,49.7-66.7%0A%09%09%09%09c-16.1,5.8-51.8,17.4-67.4,11.2c-20.4-8.1-12.5-17.1-3-14.1c11.7,6,55.7-6.5,75.3-12.5c4.1-14.9,6.8-30.2,8.6-44.8%0A%09%09%09%09c-13.9,8.3-34.9,15.8-44.4,12.6c-12.3-4.2-7.4-14.4,2.7-13.2c7.4,0.8,31.4-12,43.6-18.8c2.2-29.7,0.8-53.4,0.4-59.6%0A%09%09%09%09c-0.1-1-0.1-1.6-0.1-1.6s-29-8.6-66.9-14.1c-8,8.1-19.9,20.8-24.9,29.3c-8,13.3-11.7,24.3-18.1,22.2%0A%09%09%09%09c-12.7-6.6,13.3-37.6,27.8-53.4c-16.5-1.8-34.1-2.9-51.4-2.3c-51.5,40.6-24.5,76.1-44.7,71.8c-17.5-3.7,13.5-51.5,26.6-70.5%0A%09%09%09%09c-16.3,1.8-31.9,5.4-45.3,11.6c-12.1,6.2-22.8,12.2-32.4,18.1c-14.5,34.4,20,53.7,1.7,57.9c-14.3,3.3-16.2-30.4-16.2-48.5%0A%09%09%09%09c-124.9,86.7,2.8,144.8,2.8,144.8c0.1,0.5,0.2,1,0.3,1.6c11.4,70.5,70.1,82,134.6,58.3c-10-8-28.1-22.8-31-26.1%0A%09%09%09%09C1315,2147.7,1321.1,2139.9,1331.3,2151z" class="st10"></path>%0A%09%09%09<path d="M1433.5,1969.4c0,0-146,112.4-218.2,149.3" class="st11"></path>%0A%09%09%09<path d="M1396.4,2051c0,0-33.9,4.5-68.8-3.9" class="st11"></path>%0A%09%09%09<path d="M1316.2,1996.6c0,0-20.5,49.4-10.8,65.9" class="st11"></path>%0A%09%09%09<path d="M1352,2122.6c0,0-59.6-20.8-79-38.4" class="st11"></path>%0A%09%09%09<path d="M1216.4,2052.4c0,0-4.7,37.9,18.4,55.6" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M882.7,2066.4c10.6,1.3,21,2.9,31.1,4.8c13.6,13.1,30.4,35.2,30.3,62.7c-1.8,23.8,15.4,19.7,16.3,10%0A%09%09%09%09c0.7-7-2.6-43-4.5-62.6c108.1,32.2,164.1,103.7,86.8,204.4c0,0,80.5,195.4-178.5,184.8c22.7-22.7,62.8-66.9,41.4-76.4%0A%09%09%09%09c-27.3-12.2-10,45.1-70.7,74.5c-19-1.7-39.5-4.4-61.7-8.2c-24-5.1-47.2-15.4-69.1-28.8c39.7-11.4,137-41.9,120.6-63.3%0A%09%09%09%09c-18.9-24.6-31,45.8-143.9,47.6c-21.5-15.8-41.4-33.9-58.9-52.1c37.3-6,107.4-20.1,100.5-40.6c-5.2-8.8-23.3,1.5-49.6,10.6%0A%09%09%09%09c-16.7,5.7-46.9,10.3-66.7,12.9c-38.7-43.2-62.7-81.8-62.7-81.8s30.7-35.6,77.3-76.8c23.3,3.1,68.1,9.9,76,18.1%0A%09%09%09%09c10.7,11.2,29.3,3.1,19.9-14.1c-7.3-13.2-42.1-23.8-69.1-26.7c20.4-16.6,42.9-33.2,66.6-48c31,11.1,99.6,37.5,106.2,56.3%0A%09%09%09%09c7.6,12.8,28.5,9,14.2-20.6c-10.9-22.7-68.4-42.4-95-50.5C786.1,2077.1,836.1,2060.7,882.7,2066.4z" class="st12"></path>%0A%09%09%09<path d="M593.2,2264.5c0,0,316.6-1.6,449.7,21.1" class="st13"></path>%0A%09%09%09<path d="M740.2,2197.3c0,0,46.4,26.9,77.7,70.8" class="st13"></path>%0A%09%09%09<path d="M768.3,2342.5c0,0,86.7-42.5,95.7-72.6" class="st13"></path>%0A%09%09%09<path d="M883.4,2149.7c0,0,45.4,83.2,46.7,123.9" class="st13"></path>%0A%09%09%09<path d="M958.3,2368c0,0,53.3-43.2,47.7-87.5" class="st13"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M924,1810c7.6,5.4,14.9,11,21.8,16.7c4.5,17.1,7.4,43.4-5.2,67.8c-12.3,20.5,2.9,23.7,8,15.4%0A%09%09%09%09c3.7-5.9,17.7-39.3,25.2-57.5c68.8,71.8,79.4,157.7-26.4,216.5c0,0-27.1,205.9-222.4,93.1c27.9-11.1,79.1-34.4,67-51.4%0A%09%09%09%09c-15.5-21.8-28.3,36.1-88.6,38c-13.9-9.1-28.5-19.7-43.9-32c-16.2-14.1-29.4-32.6-40.2-53.2c35.9,5.7,125,17.5,122.1-8.1%0A%09%09%09%09c-3.3-29.5-44.9,28.3-132.9-15.1c-9.4-22.6-16.5-46.7-21.7-69.8c31.6,9.6,92.2,25,96.2,4c0-9.9-18.7-8-43.2-10.4%0A%09%09%09%09c-15.5-1.6-41-9.5-57.5-15.1c-10.2-53.9-11.1-97.8-11.1-97.8s40-19.4,94.8-37.4c16.6,12,48.1,36,50.4,46.4%0A%09%09%09%09c3.2,14.2,21.3,14.5,21.8-4.6c0.4-14.7-21.6-38-41.2-51.3c23.4-6.6,48.4-12.4,73.4-16.1c18.9,22.3,59.8,73.1,56.3,92.5%0A%09%09%09%09c0,14.5,17.9,19.4,20.4-12.7c1.9-24.5-33.5-65-50.3-82.8C844.5,1781,890.6,1786.3,924,1810z" class="st10"></path>%0A%09%09%09<path d="M609.7,1870.6c0,0,245.3,125,337.8,198.4" class="st11"></path>%0A%09%09%09<path d="M754.1,1869.5c0,0,23.6,42.4,27.7,94" class="st11"></path>%0A%09%09%09<path d="M709.4,2009.9c0,0,86.4-3.2,107.1-26.3" class="st11"></path>%0A%09%09%09<path d="M886.5,1884.4c0,0-2.9,92.1-20.5,128.9" class="st11"></path>%0A%09%09%09<path d="M844.5,2108.4c0,0,60.9-17.2,76.8-58.8" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1245.1,1794.2c20.8-5.3,34.8-21,42.5-32.8c-0.2-7.2-0.7-14.6-1.4-22.1c-3.2-32.9-23.8-63.7-50.7-90.6%0A%09%09%09%09c-1.8,19.7-7.4,62.7-22.8,74.5c-20.1,15.5-26.4,2-17.9-5.6c13.2-8.1,22.1-59.9,25.4-83.2c-15-13.2-31.3-25.3-47.2-36%0A%09%09%09%09c2.2,19-0.2,44.7-9,52.2c-11.4,9.8-20.6-1.3-13.9-10.8c4.9-7,2.8-38.8,1.4-55.2c-33.1-20.3-61.3-33.5-68.7-36.8%0A%09%09%09%09c-1.2-0.6-1.9-0.9-1.9-0.9s-25.3,23.8-51.7,58.6c5.2,13,13.5,32.7,20.6,42.9c11.1,16.1,21.9,26.5,16,31.7%0A%09%09%09%09c-14.4,8.7-36.4-36.3-47-60.5c-10.9,15.5-21.4,32.5-29.9,50.2c19.7,76.5,74.9,71.1,59.3,88.7c-13.5,15.3-52.4-45-67.4-69.8%0A%09%09%09%09c-6.6,17.5-10.6,35.3-10.6,52.6c0.7,15.9,2,30.4,3.8,43.6c32.1,35.6,72.7,12.7,67.8,33.6c-3.8,16.4-43.7-2.3-64.6-13.4%0A%09%09%09%09c33.9,178.4,168.8,85.6,168.8,85.6c0.7,0.2,1.3,0.5,2,0.7c87.5,31.6,132-20.3,138.8-99.5c-14.6,5.1-41.3,14.3-46.7,15.2%0A%09%09%09%09C1232.6,1808.5,1226.7,1797.5,1245.1,1794.2z" class="st10"></path>%0A%09%09%09<path d="M1089.2,1580.6c0,0,52.5,215.2,56.8,310.2" class="st11"></path>%0A%09%09%09<path d="M1164,1667.7c0,0-12.8,36.8-41,66.6" class="st11"></path>%0A%09%09%09<path d="M1058.6,1715c0,0,46.2,50.8,70.4,51.1" class="st11"></path>%0A%09%09%09<path d="M1223.1,1755.9c0,0-55.6,47.1-86.3,55.9" class="st11"></path>%0A%09%09%09<path d="M1070,1849.3c0,0,41.4,27.9,74,15.4" class="st11"></path>%0A%09%09</g>%0A%09%09<path d="M1146.1,1890.8c0,0,14.8,158.8-25,350.6" class="st14"></path>%0A%09%09<path d="M937.7,2061.4c0,0,170.2,50.3,183.3,183.5" class="st14"></path>%0A%09%09<path d="M1029.4,2285.6c13.6-4.9,80.6-4.6,99.5,8.8" class="st14"></path>%0A%09%09<path d="M1223.3,2114.4c0,0-98.3,30.9-77.3,232.1" class="st14"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M2812.2,2216.6c0,0,60.8,180.6,68.3,350.2c-193.8,44.1-832.8-6.2-832.8-6.2%0A%09%09%09s14-297.1,80.4-332.6C2416.5,2250.4,2812.2,2216.6,2812.2,2216.6z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M2880.5,2566.9c-7.5-169.6-68.3-350.2-68.3-350.2s-395.8,33.8-684.1,11.4%0A%09%09%09c-17.2,9.2-30.9,36-41.7,70.6c61.5,25.5,298.6,104,672.8-9.3c-4.1,90.6,73.5,94.8,73.5,94.8c12.1,42.2,11.5,131.9,9.7,189.5%0A%09%09%09C2856.4,2571.7,2869.2,2569.4,2880.5,2566.9z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<path d="M2025.5,1497.7c-85.5,55.5-169,100.9-241.9,164.1c7.6,4.2,13.3,9.3,16.2,15.7%0A%09%09%09c0,0,180.9-97,314-235c-1,0.6-1.9,1.2-2.9,1.8C2081.6,1463,2054.9,1479,2025.5,1497.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2229.4,1095.4c-25.7-0.9-176.5,78.1-272.1,168.2c-95.6,90.1-340.3,323.9-337.5,369.2%0A%09%09%09c19.6,10.4,121.7,5.7,163.9,29c72.9-63.1,156.4-108.6,241.9-164.1c29.4-18.7,56.1-34.7,85.5-53.4c0.9-0.7,1.9-1.2,2.9-1.8%0A%09%09%09c13.7-14.2,26.8-28.8,39.2-43.8C2153.1,1398.7,2255.2,1096.3,2229.4,1095.4z" class="st15"></path>%0A%09%09<path d="M2771.6,1674.1c-70.5,28.9-142.4,50.7-222.4,50.7c-37.4,0-80.1,18.7-104.2,53.4%0A%09%09%09c-61.4,98.9-133.6,184.3-232.4,229.8c-32.1,14.6-74.5,15.6-110.7,1.8c-16.7,87.9-31.4,153-31.4,153s68.3,148.9,349.6,142.7%0A%09%09%09c281.3-6.2,397.1-37.2,407.5-93.1C2841.2,2157.3,2787.4,1837.7,2771.6,1674.1z M2709.5,2042.7v-2.7V2042.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2767.4,1598.2c4.1-101.3,24.8-260.6-97.2-366.1c-122-105.5-384.9-173.4-473.5-126.7l-76.5,292.8%0A%09%09%09c11.8,55.4,25.9,140.8,27.6,239.6c1.7,97.6-23.8,254.9-46,372c36.3,13.8,78.6,12.7,110.7-1.8c98.9-45.4,171-130.9,232.4-229.8%0A%09%09%09c24-34.7,66.8-53.4,104.2-53.4c80,0,151.9-21.8,222.4-50.7C2768.4,1641.5,2766.7,1615.1,2767.4,1598.2z" class="st15"></path>%0A%09%09<path d="M2357.9,1064.1c0,0-9-52.4-22.1-33.8c-13.1,18.6-10.3,92.4,9,98.6" class="st16"></path>%0A%09%09<path d="M2626.6,1195.8c5.3-16-5.3-34.7-24-34.7c-74.8,5.3-155,13.4-224.4-18.7c-23.9-11-31.4-34.7-32.8-58.9%0A%09%09%09c-12.4,46.4-71.3,284.2,13.2,332.7c71.4,40.9,184.3-8.4,256.1-105.5C2581,1285.5,2613.8,1234.5,2626.6,1195.8z" class="st16"></path>%0A%09%09<path d="M2517.2,949.8c-125.5-23.1-169.6,125.8-169.6,125.8s-0.8,2.8-2.2,7.9%0A%09%09%09c1.4,24.2,8.9,47.9,32.8,58.9c69.5,32.1,149.6,24,224.4,18.7c18.7,0,29.4,18.7,24,34.7c-12.9,38.6-45.6,89.7-12,114.9%0A%09%09%09c22.5-30.4,41-65.6,52.8-104.1C2717.1,1045.3,2621.6,969,2517.2,949.8z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2650.9,1208c2.1-1.4,41.5-29.8,53.8,4.1c10.6,31.7-40.8,91.7-77.6,80.7l-7.2-3.4" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2641.7,1253.5c0,0,22.4-60.7,39.3-38c16.9,22.7-50.4,66.6-53,66.6C2625.5,1282,2641.7,1253.5,2641.7,1253.5%0A%09%09%09z" class="st16"></path>%0A%09%09<path d="M2695.3,1256.7L2573,1608.5c0,0-4.1,73.6,8.3,89.5c-74.5,98.7-223.4,363.4-223.4,363.4%0A%09%09%09c93.1,24.8,111.9,120,92.1,155.1c108.5-97.2,400.1-407.5,406.4-575C2879.1,1534.1,2854.6,1361.8,2695.3,1256.7z" class="st15"></path>%0A%09%09<path d="M2837.6,1430.3c30.9,169.9,7.7,183.1-75,353.6%0A%09%09%09c-61.7,127.1-230.6,287.4-312.6,360.9c9.9,28.2,8.9,56.1,0,71.9c108.5-97.2,400.1-407.5,406.4-575%0A%09%09%09C2868.7,1583.2,2867.1,1505.7,2837.6,1430.3z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M2680.8,1197.5c-6.7,0-12.5,1.5-17.3,3.9c-21.5,10.5-26.4,38.8-26.4,38.8s-8.9,23.1-16.3,12.6%0A%09%09%09c-0.8-1.2-1.6-2.7-2.3-4.8c18.6-24.8,18.6-85.5,11.7-103.4c-6.9-17.9-99.3,26.2-212.3-13.8c-68.9-29.9-68.1-84.2-59.4-118%0A%09%09%09c4.5-17.6,11.1-29.6,11.1-29.6c8.7-20.6,14.7-76,34.2-70.3c40.6,11.7,106.8-29.1,164.9-24.4c49.8,4.1,97.3,36.1,128.3,67.6%0A%09%09%09c18.2,18.5,30.7,36.8,34.4,49.1C2741.5,1038.4,2700.5,1163.4,2680.8,1197.5z" class="st17"></path>%0A%09%09<path d="M2759.2,2289.4c0,0-18.6,62.6,23.2,86c41.8,23.4,50.2,8.7,50.2,8.7S2751.6,2373.8,2759.2,2289.4z" class="st9"></path>%0A%09%09<path d="M1712.9,1890.5c-52.6-85.2-72.3-184.5-63.6-284.7c-5.7,3.2-11.6,6.9-17.5,11%0A%09%09%09c0,0-40.7,64.1,46.2,255.8c-60.7,57.2-63.2,76.8-57.8,148.5c3.8,6,7.7,11.4,11.8,16.3C1628.4,1981.4,1663.8,1922.1,1712.9,1890.5z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M1827.7,1946.4c-2.8-88.2-44.1-69.6-38.6-133.1c5.5-63.4,12.4-109.6,15.9-150.3%0A%09%09%09c3.3-38.4-60.9-110.4-155.6-57.2c-8.8,100.2,10.9,199.5,63.6,284.7c-49.2,31.6-84.5,91-80.9,146.9c42.1,50.6,95,40.7,95,40.7%0A%09%09%09s40.7-51,44.8-68.3c11.7,0.7-32.4,71-32.4,71s7.6,14.2,24.1,13C1780.1,2092.5,1830.4,2034.6,1827.7,1946.4z" class="st16"></path>%0A%09%09<path d="M1679.1,1995l-15.9,55.8c0,0,23.8-50.3,29.3-72C1698.1,1957.1,1679.1,1995,1679.1,1995z" class="st18"></path>%0A%09%09<path d="M1719.7,2081.7c0.5-1.4,56.1-102.4,65.3-88.7c9.2,13.7-42,92.4-42,92.4s-5.3,3.1-3.5-4.7%0A%09%09%09c1.8-7.8,42.7-68.9,35.4-68.5c-7.4,0.5-44.1,60.7-47.8,65.7S1719.7,2081.7,1719.7,2081.7z" class="st18"></path>%0A%09%09<path d="M1686.9,2067.8c0,0,33.5-83.7,43.3-79.9c9.8,3.9-39.4,83.3-39.4,83.3L1686.9,2067.8z" class="st18"></path>%0A%09%09<path d="M1653.4,1961.3c0,0-15.7,62.3-15.2,75C1645.6,2045.3,1657.7,1960.6,1653.4,1961.3z" class="st18"></path>%0A%09%09<path d="M1761.8,2227.6c-54.2-19.3-110.3-23.2-166.4-38.7c-0.1,0-0.2-0.1-0.3-0.1c8.4,8.6,16.7,17.2,25.1,25.7%0A%09%09%09c53.2,60.7,288.8,91.2,288.8,91.2s-10.9-9.9-72.5-89.2c-8.1,3.7-16.2,7.5-24.4,11.1C1796.6,2235.3,1777.3,2233.4,1761.8,2227.6z" class="st19"></path>%0A%09%09<path d="M1267.8,1860.2c0,0,164.6,162.1,327.3,328.6c0.1,0,0.2,0.1,0.3,0.1c56.1,15.5,112.2,19.3,166.4,38.7%0A%09%09%09c15.5,5.8,34.8,7.7,50.3,0c8.2-3.6,16.4-7.4,24.4-11.1c-33.8-43.5-82.8-108-153.6-203.3%0A%09%09%09C1514.7,2038.1,1267.8,1860.2,1267.8,1860.2z" class="st20"></path>%0A%09%09<path d="M1894.6,2339.3c-53.4,8-106.9,10.7-163-2.7c-19-4.7-34.6-13.9-48.5-25.2%0A%09%09%09c15.8,36.7,102.7,87.4,133.9,82.8c31.7-4.6,303.8-96.5,339.7-99.3c35.9-2.8,272.6-59.4,293.2-78.4c6.2-5.7,10.6-21.4,10.5-40.6%0A%09%09%09c-161,58-322,87.3-483.1,141.9C1950.7,2325.9,1921.3,2334,1894.6,2339.3z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2357.9,2061.5c-149.6,34-453,200.5-549.1,192.3c0,0-60.2,7.5-96.1-8.3c-35.9-15.8-83.7-37.4-96.5-28.9%0A%09%09%09c-10.2,6.8,29.5,56.4,52.7,80.6c6,6.2,10.8,10.8,13.5,12.5c0.2,0.6,0.5,1.1,0.7,1.7c13.9,11.3,29.5,20.5,48.5,25.2%0A%09%09%09c56.1,13.4,109.5,10.7,163,2.7c26.7-5.3,56.1-13.4,82.8-21.4c161-54.5,322-83.8,483.1-141.9%0A%09%09%09C2460.3,2131.9,2436.5,2068.5,2357.9,2061.5z" class="st16"></path>%0A%09</g>%0A%09<path d="M5147.8,2758.7c3.3,42.6-104.8,129-220.1,160.2c-111.1,40.4-316.5,84.1-839.1,218.8%0A%09%09c-356.5,91.9-571.8,151.6-716.6,186.6c-191.1,46.2-259.5,49.2-368,26c-51.4-11-96.9-24.7-137.9-40%0A%09%09c-255-95.3-339.6-255.1-634.7-236.4c-200.1,12.7-322,96.2-560,42.5c-136.3-30.7-235.9-89.6-304.8-131.1%0A%09%09c0,0-186.3-112.1-344.2-301.7c-39.9-42.2-73.3-85.6-94.5-130.9l1061.8-81.6L5147.8,2758.7z" class="Graphic_x0020_Style_x0020_118"></path>%0A%09<polygon points="1909,2627.9 2329.7,2696.9 2880.5,2648.9 2839.9,2636 1902.2,2607.7 1873.4,2616.7" class="st21"></polygon>%0A%09<path d="M2902.4,2554.2c0,0,128.1,29.9,198.1,36.5c16.9,26,103.7,26.1,139.2,31.4c35.5,5.3,64.9,60.1,137.9,65%0A%09%09c73,4.9,88.9,32.2,118.2,30.1c29.2-2.1,39.1-54.7,49.7-59.9c10.6-5.2-32-38.9-10.7-45.5C3396.5,2597.2,2902.4,2554.2,2902.4,2554.2%0A%09%09z" class="st21"></path>%0A%09<path d="M3668.6,2761.4c39.6,3,90.3-36.8,169.2-23.5c88.5,14.9,307.2,32.5,354.3-1.4%0A%09%09c61.3,3.3,696.2,65.4,749.1,44.1c52.9-21.3,68-34.5,68-34.5l-1182-107.2c0,0-299.4,44.5-286.7,84.2%0A%09%09C3547.2,2749,3629,2758.4,3668.6,2761.4z" class="Graphic_x0020_Style_x0020_117"></path>%0A%09<path d="M3779.6,3218.3c-115.9-48.9-340.1-136.6-484.1-148c-201.1-15.9-340.3-109.9-337.2-157.7%0A%09%09c3.1-47.8-605.8-113-946.8-126.3c-204.7-8-676.2-112.3-330.9-291.5l-79,6.1c-81.3,57.9-200.4,165.5-77.3,230.8%0A%09%09c174.8,92.7,1373.9,95.9,1387.8,212c13.2,110.3,575.5,195.9,765.9,301.5C3710,3236.7,3743.7,3227.7,3779.6,3218.3z" class="st22"></path>%0A%09<g>%0A%09%09<path d="M4484.2,1461.7v1181h488.7v-1181H4484.2z M4939.2,2561.4h-421.4v-539.8h421.4%0A%09%09%09V2561.4z M4939.2,1982.4h-421.4v-485.5h421.4V1982.4z" class="Graphic_x0020_Style_x0020_107"></path>%0A%09%09<rect height="485.5" width="355.8" class="Graphic_x0020_Style_x0020_118" y="1496.9" x="4583.5"></rect>%0A%09%09<rect height="485.5" width="65.6" class="Graphic_x0020_Style_x0020_119" y="1496.9" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="80.1" class="Graphic_x0020_Style_x0020_119" y="2021.5" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="341.3" class="Graphic_x0020_Style_x0020_118" y="2021.5" x="4597.9"></rect>%0A%09%09<polygon points="5067.7,1559.5 4972.9,1461.7 4975.8,2765.4 5070.3,2765.4" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<polyline points="2442.7,2752.3 2386.8,2825.9 2352.6,2827.7 2416.8,2743.1 2832.6,2738.3 %0A%09%09%092839.9,2747.7" class="Graphic_x0020_Style_x0020_117"></polyline>%0A%09%09<polygon points="2832.6,2738.3 2416.8,2743.1 2352.6,2827.7 2134.5,2839.2 2105.5,2724.6 %0A%09%09%092798.5,2694.4" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="3202.8,2854.8 2364.9,2854.8 2386.8,2825.9 2442.7,2752.3 2839.9,2747.7 %0A%09%09%093134.1,2744.3" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="2839.5,2730.9 2805.3,2687.1 2112.4,2717.2 2141.4,2831.8 2359.4,2820.3 %0A%09%09%092393.7,2818.5 2449.6,2745 2846.8,2740.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09%09<polygon points="3202.8,2848.8 2364.9,2848.8 2386.8,2819.9 2442.7,2746.3 2839.9,2741.7 %0A%09%09%093134.1,2738.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3326.7,2053.5c67.2,11.8,127,45.4,188.5,75.5c-25.6-21.6-54.4-38-66.9-44.7c-69.9-65-238.4-55.8-331.3-54.5%0A%09%09%09c-56.7,0.8-107.4,28.8-147.4,65.5C3076.9,2034.1,3204.5,2033.1,3326.7,2053.5z" class="st23"></path>%0A%09%09<path d="M3390.7,2125.6c29.4,10.7,40.1,48.1,64.1,69.5c33.5,30.3,76.4,36.8,117.6,27.5c-4-13-8.3-25.7-12.8-37.7%0A%09%09%09c-7.5-20.2-25.1-39.4-44.4-55.7c-61.4-30.2-121.3-63.8-188.5-75.5c-6.7-1.1-13.5-2.2-20.2-3.1c2.5,4.5,4.8,9.1,6.8,13.8%0A%09%09%09c6.9,18.8,10.9,38,12.4,57.2C3347.5,2119.7,3369.7,2120.3,3390.7,2125.6z" class="st23"></path>%0A%09%09<path d="M3454.8,2195c-24-21.4-34.7-58.8-64.1-69.5c-21.1-5.3-43.3-5.9-65.1-4.2c6.4,84.5-36.4,169.9-95.2,228.6%0A%09%09%09c-29.4,32.1-61.4,58.8-101.5,82.8c-32.1,21.4-66.8,37.4-101.5,53.4c-41.6,14.5-81.5,4.8-119.8-10.2c3.7,32.6,11.1,70.7,27.1,85.4%0A%09%09%09c2.2,2,149.9,56.5,246.1,29.3c130.3-36.9,227.4-163.5,314.2-210.2c10.9-5.9,21.4-12.4,31.4-19.5l-0.4-14l53.6-33.2%0A%09%09%09c3.8-4.2,7.6-8.5,11.2-12.9c-4.1-26.8-10.7-53.3-18.4-78.3C3531.3,2231.8,3488.3,2225.3,3454.8,2195z" class="st24"></path>%0A%09%09<path d="M2963.9,2113.7l-74.4,244.3c3.2,19.6,7.7,41,13.7,64.4c0.8-0.5,1.1,24.3,4.3,53.6%0A%09%09%09c38.3,15.1,78.3,24.8,119.8,10.2c34.7-16,69.5-32.1,101.5-53.4c40.1-24,72.1-50.8,101.5-82.8c65-65,110.5-162.6,91.4-255.6%0A%09%09%09C3210,2135.2,3083,2108.6,2963.9,2113.7z" class="st25"></path>%0A%09%09<path d="M3321.8,2094.4c-2.1-10.2-4.9-20.2-8.6-30.2c-2-4.6-4.2-9.2-6.8-13.8c-116-16.9-235.4-12.9-336.9,44.9%0A%09%09%09l-5.6,18.4C3083,2108.6,3210,2135.2,3321.8,2094.4z" class="st26"></path>%0A%09%09<path d="M3590.8,2300.8c-3.6,4.4-7.4,8.7-11.2,12.9l12-7.5C3591.4,2304.4,3591.1,2302.6,3590.8,2300.8z" class="st9"></path>%0A%09%09<g>%0A%09%09%09<path d="M3452.4,2090.3c-50.3-112.2-85.1-243.7-193.4-309.5c-17.4-9.7-50.3-13.5-71.6,3.9%0A%09%09%09%09c-34.5,27-36.4,68-35.6,109.5c51.1,42.2,96.7,74.2,118.4,75.2c65,3,117,150.1,192.8,215.4c35.5,30.6,78.2,23.7,113.6,7.7%0A%09%09%09%09c-19.8-3.7-39.3-11.4-54.6-19C3487.2,2158,3467.9,2123.1,3452.4,2090.3z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09%09<path d="M3489,1994.5c-13.8-96.5-49-197.2-111.1-242.1c-62.1-44.9-38.1-160-114.8-199.7%0A%09%09%09%09c-190.3-102-287.5,4.8-333,55.2c-45.5,50.3-4.1,77.2-4.1,77.2s123.9,124.8,225.9,209c-0.9-41.4,1-82.4,35.6-109.5%0A%09%09%09%09c21.3-17.4,54.2-13.5,71.6-3.9c108.3,65.8,143.1,197.3,193.4,309.5c15.5,32.9,34.8,67.7,69.6,83.2c15.3,7.7,34.8,15.3,54.6,19%0A%09%09%09%09c40.3-18.2,71.2-48.2,71.2-48.2S3502.8,2091.1,3489,1994.5z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09%09<path d="M3182.3,2144.3c-13.4-74.8,34.7-189.7-58.8-221.7c-16-61.4,5.3-128.2-37.4-184.3%0A%09%09%09%09c-33.7-46.4-75.8-81.1-127.5-97.6c-15.4,4-42.2,14-46.3,24.6c-13.8,35.6-24.4,108.3-3.6,195.1c19.9,94,53.6,191.2,151.7,162.7%0A%09%09%09%09c51,68.9,51,103.4,48.3,128.2c25.3,30.5,60,37.2,94.1,32.1C3192.8,2173.6,3185.5,2160.8,3182.3,2144.3z" class="st16"></path>%0A%09%09%09<path d="M3314.2,2124.9c-5.5-129.6-75.8-207-93.8-211.7c30.3-46.1,33.1-82-6.9-106.8%0A%09%09%09%09c-40-24.8-57.9,67.6-57.9,67.6s-19.3,18-16-3.3c17.7-114.7-62.5-214-170.5-231.9c-1.2-0.2-5.1,0.5-10.4,1.9%0A%09%09%09%09c51.7,16.5,93.8,51.2,127.5,97.6c42.7,56.1,21.4,122.9,37.4,184.3c93.5,32.1,45.4,146.9,58.8,221.7c3.1,16.5,10.5,29.3,20.4,38.9%0A%09%09%09%09C3250.3,2176,3296.5,2145.8,3314.2,2124.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M2969,1635.8c0,0,75.2,27.2,72.4,70.7c-2.8,43.5-9.8,77.5,56.3,98.1c-31.6-35.6-34.2-44-26.9-86.3%0A%09%09%09%09S3035.8,1587.8,2969,1635.8z" class="st17"></path>%0A%09%09%09<path d="M2789.6,2288.5c-77.5,101.5-203,106.9-323.3,128.2c-27.7,5.9-43.7,28.1-64.3,43.4%0A%09%09%09%09c7.2,13.8,19.1,27.9,28,39.8c0.5-0.1,1.1-0.3,1.6-0.4c159.5-16.7,359.4-29.1,470.9-150.7l-0.1-16l61-218.3%0A%09%09%09%09c-27.4,9-56.1,12.8-77.6,32.4C2837.7,2184.3,2824.3,2243.1,2789.6,2288.5z" class="st25"></path>%0A%09%09%09<path d="M3017.4,2050.7c-17.9,4.3-35.5,9.7-52.8,16.1c-58.6,21.8-113.1,55-149.7,106.6%0A%09%09%09%09c-16.4,23.2-29.7,48.3-42.2,73.7c-5.8,11.7-11.7,21.5-19.5,31.9c-8.1,10.8-17.8,20.2-27.8,29.2c-21.9,19.5-47.7,34.4-75.4,44.1%0A%09%09%09%09c-33.1,11.6-67.9,16.1-101.5,25.4c-82.7,23-147.1,41.1-152.6,60.5c-0.2,7,2.3,14.5,6.2,22c20.6-15.4,36.6-37.5,64.3-43.4%0A%09%09%09%09c120.2-21.4,245.8-26.7,323.3-128.2c34.7-45.4,48.1-104.2,96.2-141.6c21.5-19.6,50.2-23.4,77.6-32.4l5.1-18.3%0A%09%09%09%09c11-10.8,16.7-15,29.5-24.1c14.7-10.5,30.5-19.7,47.1-26.7c0.1-0.2,0.2-0.4,0.3-0.6C3036,2046.5,3026.6,2048.4,3017.4,2050.7z" class="st23"></path>%0A%09%09%09<path d="M3045.4,2044.9c-0.1,0.2-0.2,0.4-0.3,0.6c0.7-0.3,1.4-0.6,2.1-0.9%0A%09%09%09%09C3046.6,2044.7,3046,2044.8,3045.4,2044.9z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09%09<path d="M2431.6,2499.6c-0.5,0.1-1.1,0.3-1.6,0.4c0.9,1.2,1.8,2.4,2.6,3.6c10.8,15.3,7.8,45,49.1,42.6%0A%09%09%09%09c30.8-6,230-18.7,273.3-29.7c32-8.2,82.2-26.3,148.2-94.1l-0.7-73.5C2791,2470.5,2591.1,2482.9,2431.6,2499.6z" class="st24"></path>%0A%09%09%09<path d="M2398.2,2439.8c0,0,40.7-31.7,69.6,4.1c29,35.9,49.3,96,29,100.7c-20.4,4.6-65.8,2.1-87-35.2%0A%09%09%09%09C2388.5,2472.2,2387.5,2454.3,2398.2,2439.8z" class="st27"></path>%0A%09%09%09<path d="M3350.7,1877.1c18.7-58.6,71.9-104,69.5-165.2c-4.1,1.2-8.2,5.1-10.8,12.5c-7.6,21.4-71.4,103.8-71.4,103.8%0A%09%09%09%09s0,0,3.8-22.1s1.4-35.5-9.7-36.9c-11-1.4-18.3,10.3-18.3,10.3c1-31-13.4-29.3-23.4-27.6c-10,1.7-9.3,51.4-10,64.8%0A%09%09%09%09c-0.7,13.4-15.2,26.9-20-4.1c-2.8-35.9-40.7-71.7-51.7-66.9c-11,4.8,14.8,62,13.1,94.5c-1.7,32.4-20,100.7-5.5,148.2%0A%09%09%09%09c14.5,47.6-3.4,102-3.4,102l85.3,21.2c4.2-67.5,4.5-134.6,44.5-197.1C3350.7,1903.8,3348,1890.5,3350.7,1877.1z" class="st16"></path>%0A%09%09%09<path d="M3420.1,1711.9c2.4,61.2-50.8,106.6-69.5,165.2c-2.7,13.4,0,26.7-8,37.4%0A%09%09%09%09c-40,62.5-40.2,129.7-44.5,197.1l22.9,5.7c0,0-3.5-115.8,17.2-141.3c20.7-25.5,15.2-80,25.3-108.9c10.1-29,71.3-117.9,72-137.2%0A%09%09%09%09C3436,1717.3,3427.9,1709.7,3420.1,1711.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M3305.2,1839.7c-0.4,0.9,11-56.8,9-67.2c4.3,1.6,4.3,1.6,4.3,1.6S3312.8,1824.1,3305.2,1839.7z" class="st9"></path>%0A%09%09%09<g>%0A%09%09%09%09<polygon points="2369.1,2558.8 2880.5,2623.2 2325,2668.2 1891.1,2604.1" class="Graphic_x0020_Style_x0020_115"></polygon>%0A%09%09%09%09<polygon points="2264.3,2566.5 2626.8,2624.8 2334.4,2648.9 2170.4,2611.3" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M2421.8,2452.1c-5.6-0.2-22.6,8.6-22.6,8.6s-13.8-44.1-80.7-43.4s-64.8,65.5-64.8,65.5s5.5,77.2,26.9,93.1%0A%09%09%09%09%09c21.4,15.9,99.3,4.1,102.4,0c3.1-4.1,45.3-6.9,66.9-30.3c21.6-23.4,33.5-24.4,33.5-24.4S2463.5,2453.5,2421.8,2452.1z" class="st16"></path>%0A%09%09%09%09<path d="M2319.3,2460c0,0-45.5,32.4-15.2,90.3c-6.8,0.6-6.8,0.6-6.8,0.6%0A%09%09%09%09%09S2262.7,2493.1,2319.3,2460z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09%09%09<path d="M2376.8,2552.2c0,0-56.9-11.2-43.1-33.6c13.8-22.4,45.5-15.9,46.9-24.5%0A%09%09%09%09%09c1.4-8.6-15.9-23.8-21.7-14.5c-5.9,9.3-15.5,25.2-15.5,25.2s-24.1,6.2-17.9,23.1c6.2,16.9,33.8,15.5,6.2,16.9%0A%09%09%09%09%09c-27.6,1.4-39.6,0-39.6,0s-7.4,36.2,7.3,37.5c14.7,1.4,61.6,6.9,105-10.3c43.4-17.2,43.8-24.7,43.8-24.7%0A%09%09%09%09%09S2401.3,2559.2,2376.8,2552.2z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09%09<polygon points="2331,2682 2848.1,2642 2880.5,2623.2 2322,2668.2 1885.6,2604.1 %0A%09%09%09%09%091893.9,2613.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M1784.9,2001.5l427.1,0.5l15.9,3c18.3,3.5,31.9,18.7,33.5,37.3c9.9,120.2,38.5,538.8,42.7,616.9%0A%09%09%09%09%09c0.3,6.5-11.2,15-17.7,14.2l-444.6-65.8L1784.9,2001.5z" class="st28"></path>%0A%09%09%09%09<path d="M1794.6,1993.3l411.5,8.2c15.8,0.3,28.8,12.5,30.1,28.3c10.4,126.7,52.8,644.5,49.2,643.3%0A%09%09%09%09%09c-3.6-1.2-348.6-51.6-443.5-65.4c-14.1-2.1-24.9-13.4-26.2-27.6l-52.4-553C1761.5,2008.7,1776.2,1992.9,1794.6,1993.3z" class="st29"></path>%0A%09%09%09</g>%0A%09%09%09<path d="M3465.5,2285.9c-5.8-29.1-28.6-54-57-68.5c9.3,57-21.2,85.5-21.2,85.5c-6.8,3.4-40.2,78.1-48.3,71.7%0A%09%09%09%09c-4.1-3.3-5.8-14.7-6.3-29.4c-17.3-67.3-4-136.5-11.5-203.5c-2.3-18.1-0.7-36.2-6.7-52.6c-6.5-5.5-15.7-10.3-27.9-14.4%0A%09%09%09%09c0.8,120.3-17.7,240.4,10.5,355.6c8,37.4,77.5,16,112.2-8C3452.2,2392.7,3478.9,2339.3,3465.5,2285.9z" class="st24"></path>%0A%09%09%09<path d="M3332.7,2345.1c-0.9-27.1,2.3-65.1,1.7-83.5c-0.9-28.4,4.6-84.2-6.4-147.7c-0.5-9.3-4.6-17.6-13.4-24.9%0A%09%09%09%09c5.9,16.5,4.4,34.5,6.7,52.6C3328.7,2208.5,3315.4,2277.8,3332.7,2345.1z" class="st27"></path>%0A%09%09%09<path d="M3591.6,2306.2l-189.3-113.8c2.9,8.8,4.9,17.1,6.2,24.9c28.4,14.5,51.2,39.4,57,68.5%0A%09%09%09%09c4.9,19.6,4.4,39.1-0.3,57.5c36.8,33.3,76.9,62.3,118.5,89.3C3596.9,2393.5,3597.6,2349.6,3591.6,2306.2z" class="st24"></path>%0A%09%09%09<path d="M3226.7,2062.8c-4.2-0.5-8.6-0.9-13.2-1.3c-89.6,102-96.5,485.4-63.4,524c10.1,11.8,36.5,17.9,71.6,18.6%0A%09%09%09%09c-2.7-1.6-5.1-3.5-7.3-5.6C3080,2450.9,3137.9,2222.8,3226.7,2062.8z" class="st23"></path>%0A%09%09%09<path d="M3465.3,2343.4c-8.1,31.8-28.7,60.1-55.8,78.8c-34.7,24-104.2,45.4-112.2,8%0A%09%09%09%09c-28.2-115.2-9.7-235.3-10.5-355.6c-15.1-5.1-34.8-9.1-60-11.8c-88.8,160-146.7,388.1-12.3,535.7c2.1,2.1,4.6,4,7.3,5.6%0A%09%09%09%09c79.8,1.5,205-25.2,288.3-77.9c38.4-24.3,61.5-56.9,73.7-93.5C3542.2,2405.6,3502.1,2376.6,3465.3,2343.4z" class="st25"></path>%0A%09%09</g>%0A%09%09<path d="M3123.6,1922.5c3.2,5.9-36.5,92.1-63.1,100.4c35,56.6,28,41.3,37.6,63.1c63.2-44,78.1-61.9,78.3-92.2%0A%09%09%09C3177.1,1914.4,3123.6,1922.5,3123.6,1922.5z" class="st30"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3972.8,2436.5c-19.3-100.6-1.9-197.3,30.9-292.1c1.9-7.7,9.7-13.5,11.6-23.2%0A%09%09%09c13.5-58,34.8-108.3,58-160.5c1.9-7.7,1.9-15.5,3.9-23.2c1.5-4.4,6.3-7.7,9.3-11.5c-108.6,18.8-247.9,49.9-313.3,64.9%0A%09%09%09c22.2,33.7,40.9,69.3,52.5,109.1c3.9,7.7,13.5,13.5,17.4,21.3c3.9,5.8,0,11.6,3.9,17.4c11.6,15.5,21.3,29,25.1,48.4%0A%09%09%09c1.9,3.9,7.7,5.8,7.7,9.7c0,94.8,7.7,189.6,0,284.3c-6.7,72.9-22.6,143.8-37.3,214.7c84.9-0.2,183-1.6,281.4-2.7%0A%09%09%09c-52.2-58.4-91.1-128-129.9-198.4C3984.4,2475.2,3976.6,2455.8,3972.8,2436.5z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M4194.9,2483.6c82.8-18.7,163-5.3,237.8,48.1c8,8,26.7,5.3,37.4,0%0A%09%09%09c58.6-34.6,128.4-61.3,198-68.7c-150.8-225.4-393-546.7-446.5-551.9c-23.2-2.2-74.3,4.4-135,14.8c-3.1,3.9-7.9,7.1-9.3,11.5%0A%09%09%09c-1.9,7.7-1.9,15.5-3.9,23.2c-23.2,52.2-44.5,102.5-58,160.5c-1.9,9.7-9.7,15.5-11.6,23.2c-32.9,94.8-50.3,191.5-30.9,292.1%0A%09%09%09c3.3,16.6,9.5,33.3,17.3,49.9C4050.6,2508.5,4130.6,2499.3,4194.9,2483.6z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4470.1,2531.7c-10.7,5.3-29.4,8-37.4,0c-74.8-53.4-155-66.8-237.8-48.1%0A%09%09%09c-64.3,15.7-144.3,24.9-204.8,2.8c1.3,2.7,2.6,5.4,3.9,8.1c38.9,70.4,77.7,140.1,129.9,198.4c233-2.6,467.2-3.9,529.1,13.9%0A%09%09%09c110.3,31.7,131,20.7,137.9-30.3c2.3-16.7-49.5-103.7-123-213.5C4598.5,2470.4,4528.6,2497,4470.1,2531.7z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3879.9,2196.6c0-3.9-5.8-5.8-7.7-9.7c-3.9-19.3-13.5-32.9-25.1-48.4c-3.9-5.8,0-11.6-3.9-17.4%0A%09%09%09c-3.9-7.7-13.5-13.5-17.4-21.3c-11.6-39.8-30.4-75.4-52.5-109.1c-23.2,5.3-37.1,8.6-37.1,8.6s-76.6,50.8-73.5,108.1%0A%09%09%09c3.1,57.3,7.7,545.5-0.1,585.4c44.9,2.2,107.7,2.8,180,2.6c14.8-70.9,30.6-141.8,37.3-214.7%0A%09%09%09C3887.6,2386.2,3879.9,2291.4,3879.9,2196.6z" class="st31"></path>%0A%09%09<path d="M3622.6,2308.8c7.7-30.9,11.6-63.8,40.6-85.1c3.9-3.9,1.9-9.7,5.8-13.5c21.7-17.1,39.8-41.6,63-53.7%0A%09%09%09c-6.4-58.7-17.6-101.8-29.1-95c-30.3,17.9-474.3,322.7-497.1,369.5s-42.1,123.7,13.1,152.8c0,0-20.7-133.5,59.3-157%0A%09%09%09c80-23.4,155.8,45.5,157.2,51c0.7,2.8,16.3,25.9,31.7,46.8c24.5-12.2,48.8-24.7,72.3-41.8%0A%09%09%09C3593.6,2440.4,3609.1,2376.5,3622.6,2308.8z" class="st32"></path>%0A%09%09<path d="M3669.1,2210.2c-3.9,3.9-1.9,9.7-5.8,13.5c-29,21.3-32.9,54.2-40.6,85.1c-13.5,67.7-29,131.5-83.2,174.1%0A%09%09%09c-23.4,17.1-47.7,29.6-72.3,41.8c14.9,20.3,29.7,38.6,30.4,34.1c1.4-9.2,146.2-90.6,205.5-136.8c36.9-28.8,39.6-168.5,29.1-265.5%0A%09%09%09C3708.8,2168.5,3690.8,2193.1,3669.1,2210.2z" class="st31"></path>%0A%09%09<path d="M3252.8,2424.8c-14.7,6.4-25.2,15.5-32.7,25.8c33.5,31.1,84.8,42,119.8,22.2c22.9-10.4,45.8-17.6,64.9-32.9%0A%09%09%09c-0.9-0.6-1.9-1.3-3.1-2.1C3385.9,2421.4,3321.1,2395.2,3252.8,2424.8z" class="st16"></path>%0A%09%09<path d="M3220.1,2450.6c-5.4,7.5-9.3,15.6-11.9,23.8c11.3,29.8,34.2,55.9,59.6,75.9%0A%09%09%09c39.9,36.8,89.5,48.9,140.2,47.1l4-152.6c0,0,0,0-7.2-4.8c-19.1,15.3-42,22.5-64.9,32.9%0A%09%09%09C3304.9,2492.6,3253.6,2481.7,3220.1,2450.6z" class="Graphic_x0020_Style_x0020_113"></path>%0A%09%09<path d="M3267.8,2550.4c-25.4-20-48.3-46.1-59.6-75.9c-0.6,1.9-1.2,3.9-1.7,5.8%0A%09%09%09c-3.2,12.6-4,25-3.7,35.5c0.4,15.7,3.1,26.9,3.1,26.9s73.1,121.3,186.1,122.7c14.5-13.8,14.5-13.8,14.5-13.8l0.5-17.8l0.7-24.6%0A%09%09%09l0.3-11.9C3357.3,2599.3,3307.7,2587.2,3267.8,2550.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3235.6,2602c0,0,20.6,1.7,15.5-3.8c-16.6-18-47.6-98.2-21.8-124.8c29.7-30.7,122.5-41.5,160.6-26.4%0A%09%09%09c-3.3-14.6-3.3-14.6-3.3-14.6s-76.5-31-120-13.1c-43.4,17.9-62.2,9.2-63.8,77c-1.7,67.8,9.5,101.6,23.2,107.8%0A%09%09%09C3239.7,2610.3,3235.6,2602,3235.6,2602z" class="st33"></path>%0A%09%09<path d="M3226,2604.1c0,0-34.8-98.6-3.2-143.2s183.6-37.2,209.7,22.5c15.9-4.6,15.9-4.6,15.9-4.6%0A%09%09%09s51.4-54.7-36.3-81.6c-87.8-26.9-216.5,9.7-228.4,92.5S3199.4,2597,3226,2604.1z" class="st20"></path>%0A%09%09<path d="M3340,2529c32.1-10.7,40.1-29.4,53.4-58.8c2.7-5.3,21.4,2.7,32.1-5.3%0A%09%09%09c34.7-32.1,80.1-48.1,120.2-32.1c9,3,17.6,7.1,26,11.5c-6.3-16.9-12.8-29.1-12.8-29.1s-3-1.5-7.6-3.6%0A%09%09%09c-11.7-5.4-33.9-14.8-44.8-14.3c-15.2,0.7-29.9,22.1-29.9,22.1s-32.8-9-49.4,0c-16.5,9-18.5,35.5-18.5,35.5s-15.9-1.7-33.9,7.3%0A%09%09%09s-6.2,37.2-6.2,37.2s-15.2-12.4-42.1,6.2c-20.5,12.6-13.4,51.1-1.3,85.4C3326.1,2565.1,3319.5,2533.5,3340,2529z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M3545.7,2432.8c-40.1-16-85.5,0-120.2,32.1c-10.7,8-29.4,0-32.1,5.3c-13.4,29.4-21.4,48.1-53.4,58.8%0A%09%09%09c-20.4,4.5-13.9,36.1-14.7,61.9c4.6,13,9.9,25.4,14.7,35.5c6.7,14.3,12.4,24,13.6,24.5c32.4,14.5,39.8-12.1,39.8-12.1%0A%09%09%09s7.4,27.2,34.4,26.6c27-0.6,13.8-43.4,13.8-43.4s36.8,33.1,54,29c17.2-4.1,4.1-42.1,4.1-42.1s23.4,27.6,48.3,21.4%0A%09%09%09c24.8-6.2-10.3-94-10.3-94s24.1,13.3,41.4-12.2c10.5-21.9,1.8-55.6-7.2-79.8C3563.2,2439.9,3554.7,2435.8,3545.7,2432.8z" class="st16"></path>%0A%09%09<path d="M3855.6,1746.2c-34.7-66.8-53.4-157.6-120.2-181.7c-70.3-26.7-149.3,8.2-227.2-3%0A%09%09%09c-21.3,43.8-31,95-34.5,140.3c-7.9,103.1,20.2,204.3,82.4,287.5c9.2,12.3,20.1,15.4,35.2,15.3c13.5-0.1,92.2-26.6,94.3-24.1%0A%09%09%09c0,0,89.2,104.8,138.8,155.4c3.9,4,7.6,7.6,11.1,10.9c41,38.7,55.1,33.2,55.1,33.2s66.2-16.5,80-60.7c13.8-44.1,68-261.3,68-261.3%0A%09%09%09s-2.5-6.5-5.6-15.8C3959.1,1845.2,3889.3,1813.7,3855.6,1746.2z" class="st16"></path>%0A%09%09<path d="M4022,1797.7c-2.8-24.8,81.8-357.6-168.2-366.8c-89.9-3.3-189,3.2-269.9,46.9%0A%09%09%09c-34.4,18.6-58.8,48.8-75.7,83.7c77.9,11.2,156.9-23.7,227.2,3c66.8,24,85.5,114.9,120.2,181.7c33.8,67.5,103.5,99,177.4,96.1%0A%09%09%09c-1.2-3.7-2.5-7.7-3.8-12.1C4026.1,1819.7,4023.1,1807.8,4022,1797.7z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4069.8,1569.7c-23-40.4-27.6-96.5-46-109.4c-0.8-25.3-12.8-44.3-33.2-58.9%0A%09%09%09c-26.3-18.9-66.6-30.6-114.7-39.4c-85.5-15.6-326.4,68.3-388.9,41.2c-46.2-20-44.1,85.7-44.1,85.7s-0.6,8.6,2.7,18.9%0A%09%09%09c0.8,2.6,1.9,5.3,3.4,8c6.8,13.1,21.3,26,51.9,25.5c61.6-0.9,148-35.8,156.3-17.5c8.3,18.4,0.9,143.8,12.9,163.8%0A%09%09%09c4.5,0.7,8.3,1.3,11.5,1.8c16,2.6,16,2.6,16,2.6s1.8-85.5,55.2-84.1c18.2,0.5,37.2,5.3,55.1,14.9c34.5,18.6,64.6,55.2,75.4,113.4%0A%09%09%09c16.6,88.2,147.1,77.2,147.1,77.2s2.3-7.5,5.9-19.9c5.1-17.8,12.8-45.6,20-75.9C4070,1659,4082.1,1591.2,4069.8,1569.7z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<polygon points="3720.5,1573.4 3453,1652.4 3452.3,1641 3736.1,1563.3" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09%09<path d="M3661.3,2544.8c-2.7-1-5.3-2.4-7.9-4.1c4.4,48.9,8.2,80.7,8.2,80.7l146.2-7.8%0A%09%09%09c0,0,5.8-43,13.8-101.1c-7.6,1.5-15.3,3.9-23,7.2C3756.1,2539,3707.8,2556.4,3661.3,2544.8z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3847.5,2157.6c-42.9-65.3-126-117.2-122.4-138.8c-110.1-35.4-87.2,349.7-71.6,521.9%0A%09%09%09c2.6,1.7,5.2,3.1,7.9,4.1c46.4,11.6,94.8-5.8,137.3-25.1c7.7-3.3,15.3-5.7,23-7.2c11.1-80.9,26.4-191.1,35.8-255.6%0A%09%09%09C3859.9,2240.5,3857.5,2172.8,3847.5,2157.6z" class="st32"></path>%0A%09%09<path d="M4242.6,2242.6c0,0,36.8,108.5,119.5,116.7c-13.8,52.4,206.2,183.4,206.2,183.4l9.8-23.8l-239.8-248.8%0A%09%09%09L4242.6,2242.6z" class="st34"></path>%0A%09%09<path d="M3298.6,2799c-8.5,5.6-14.3,9.3-14.8,9.1c-2.1-0.7-22.1,19.3-22.1,19.3%0A%09%09%09s33.8,2.8,36.5,0c0.5-0.5,4.9-3.2,11.4-7C3308.5,2811.6,3304.6,2802.8,3298.6,2799z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<path d="M3379,2744c0,0-53.6,37.3-80.3,55c3.9,2.5,6.9,7,8.8,12.3l95.8-56.5%0A%09%09%09C3402.9,2747.5,3396.9,2742.8,3379,2744z" class="Graphic_x0020_Style_x0020_112"></path>%0A%09%09<path d="M3307.5,2811.4c1.1,2.9,1.8,6,2.3,9.1c26.5-15.5,89.9-50.9,89.9-50.9%0A%09%09%09c2.2-5.4,3.8-10.5,3.6-14.7L3307.5,2811.4z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M4750.6,2686.6c-104.2,18.7-203,5.3-304.6,0c-109.5-2.7-227.1-26.7-334,16%0A%09%09%09c-80.1,29.4-171-21.4-261.8-2.7c-64.6,14.9-126.9,34.4-189.1,52.1c1.8,0.1,3.8,0.2,6,0.2c37.2,0,155.8-45.5,257.9-29%0A%09%09%09s212.4,30.3,251-6.9c96.5,5.5,601.2,41.4,650.9,26.2c10.9-23.2,13.8-50.2,10.6-77.7C4808.9,2673.1,4780.3,2680.7,4750.6,2686.6z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4112.1,2702.6c106.9-42.7,224.4-18.7,334-16c101.5,5.3,200.4,18.7,304.6,0c29.7-5.9,58.4-13.5,86.9-21.6%0A%09%09%09c-9.7-83.3-75.3-171.2-141.6-173.3c-45.6,12.2-90.4,22.8-134.1,31.9c-331.1,69.3-596.5,55.3-657.4,37%0A%09%09%09c-68.9-20.7-170.7,19.4-243.8,51.1c-73.1,31.7-122,56.6-95.8,74.6c-0.8,1.2-5,6.1-5.1,9.5c-0.1,3.5-5.8,5.5-8.7,8.7%0A%09%09%09c-8.6,9.5-7.7,26.2,7.4,27.1c1.8,0.1,3.6,0.3,5.3,0.6c20,3.4,31.7,17.6,60.9,4.9c30.3-4.1,30.3-4.1,30.3-4.1s-21.9,17.1,6.4,19.1%0A%09%09%09c62.2-17.7,124.5-37.2,189.1-52.1C3941.1,2681.3,4031.9,2732,4112.1,2702.6z" class="st16"></path>%0A%09%09<path d="M5017.7,2587.8c-2.7-5.3,2.7-13.4,0-18.7c-37.4-72.1-72.1-141.6-130.9-195%0A%09%09%09c-45.4-42.7-96.2-77.5-141.6-120.2c-64.1-53.4-101.5-125.6-173.7-165.6c-80.1-45.4-157.6-88.2-243.1-120.2%0A%09%09%09c-56.1-18.7-114.9-8-173.7-10.7c-8,0-13.4-8-18.7-8c-26.9-3.6-52.7-12-77.2-22.8l-4.1,6.3l-47.1,153.2l241.3,154.8%0A%09%09%09c0.7,4.9,2.5,10,5.3,15.1c70.7-21.4,153.8-12.5,210.4,35.3c58.8,50.8,77.5,133.6,138.9,176.3c50.8,37.4,117.6,48.1,155,101.5%0A%09%09%09c26.3,32.9,23.8,78.3-4.4,111.2c16.3,20,31.9,41.7,46.4,65.4c43.6,17.7,172.5,20.1,226.6-52.4%0A%09%09%09C5038.9,2660.1,5036.7,2621.8,5017.7,2587.8z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4666.9,2134.6c-215.1-230.3-311.2-220.2-404.5-226.6%0A%09%09%09c-58.4-29.4-93.8-48.3-120.4-4.6c-12.4-21.6-57-17.5-57-17.5l-26.1,40.5c24.5,10.8,50.2,19.2,77.2,22.8c5.3,0,10.7,8,18.7,8%0A%09%09%09c58.8,2.7,117.6-8,173.7,10.7c85.5,32.1,163,74.8,243.1,120.2c72.1,40.1,109.5,112.2,173.7,165.6c45.4,42.7,96.2,77.5,141.6,120.2%0A%09%09%09c58.8,53.4,93.5,122.9,130.9,195c2.7,5.3-2.7,13.4,0,18.7c18.9,34.1,21.2,72.4,9.5,105.5c14.4-19.2,23.5-43.8,24.4-74.7%0A%09%09%09C5055.7,2471,4882,2364.8,4666.9,2134.6z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M4758.6,2569.1c-37.4-53.4-104.2-64.1-155-101.5%0A%09%09%09c-61.4-42.7-80.1-125.6-138.9-176.3c-56.5-47.8-139.6-56.7-210.4-35.3c25.1,47.2,127.1,102.1,127.1,102.1s20.7,44.1,55.2,84.1%0A%09%09%09c30.5,35.4,193.5,85.8,317.6,238.2C4782.4,2647.3,4784.9,2601.9,4758.6,2569.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3715.8,2015.7l-33.4,5.8c0,0,86.9,194.9,81.4,227c99.3-46.4,98.4-56.1,98.4-56.1%0A%09%09%09l-7.4-38.1C3852.2,2113.2,3774.4,2063.6,3715.8,2015.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M4035.3,1825.7c0,0-127.3,345.2-108.9,400.3c60.7-14.7,108.9,4.6,108.9,4.6%0A%09%09%09s-11.5-222.5,55.6-345.6C4061.5,1845.5,4035.3,1825.7,4035.3,1825.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M3654.8,2733l130-51c-71.4,10.3-156.4,53.6-160.3,55.2C3633.4,2740.2,3654.8,2733,3654.8,2733z" class="st18"></path>%0A%09%09<path d="M3576.1,2735.8c0,0,55.9-47.6,182.8-76.5c-16.5-5.5-133.9,28.9-190.4,74.1%0A%09%09%09C3573.4,2738.5,3576.1,2735.8,3576.1,2735.8z" class="st18"></path>%0A%09%09<path d="M3558,2699.3c0,0,110.1-70.4,179-82.8c-35.9-12.4-176.2,71.6-176.2,71.6L3558,2699.3z" class="st18"></path>%0A%09%09<path d="M3834.5,1885.6c0,0-102,90.4-148.9,95c48.7,53.3,78.2,78.6,99.3,89.2%0A%09%09%09c0-99.3,91.9-168.2,83.7-237.2c-8.3-68.9-6.4-64.3-6.4-64.3S3863,1851.2,3834.5,1885.6z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M4897.2,2712.3c-24.8-45.5-111.6-233-210.3-220.6c0,0-65.2,9.2-99.4,20.8c-1.1,12.9,9.7,22,21.7,26.5%0A%09%09%09c104.1,32,201.6,111.9,214.5,216.4c41.8,6.1,86.6,20.3,88.3-2.4C4912.3,2747.3,4901.4,2720.1,4897.2,2712.3z" class="st20"></path>%0A%09%09<path d="M4609.1,2539c-12-4.5-22.8-13.6-21.7-26.5c-9.2,3.1-16.2,6.4-19,9.7c149.6,89.2,160.1,153.2,228.5,227.8%0A%09%09%09c9,2.3,18,4.1,26.7,5.4C4810.8,2650.9,4713.3,2571,4609.1,2539z" class="st35"></path>%0A%09%09<path d="M3389.9,2642.1c0,0-40.9-81.4-37.1-99.3c3.8-17.9-3.1-35.9,15.9-43.4c-6.2,13.8-11,29-10,45.5%0A%09%09%09c1,16.5,34.6,94,34.6,94L3389.9,2642.1z" class="st18"></path>%0A%09%09<path d="M3407,2460.9c0,0-9.2,34.9-1.9,66.6c7.4,31.7,30.8,93.9,37,97.1c6.2,3.2,6.2,3.2,6.2,3.2%0A%09%09%09S3398.3,2507.3,3407,2460.9z" class="st18"></path>%0A%09%09<path d="M3472.9,2418.4c0,0-17,55.4-15.2,76c1.8,20.7,41.7,120.8,41.7,120.8l2.9-3.5%0A%09%09%09c0,0-42.5-108.1-31.7-146c10.9-37.9,9.3-50.7,9.3-50.7L3472.9,2418.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3537.6,2454.9c0,0-9.2,72.2,0,81.4s20.4,7.3,20.4,7.3S3539.9,2483.9,3537.6,2454.9z" class="st18"></path>%0A%09%09<path d="M3543.3,2484.1c0,0-7.6,38.4-5.8,52.2c0.7,5.4,2.5,11.2,5.6,16.5c7.7,6.5,16.6,9.4,25.4,1.7%0A%09%09%09c15.6-12.5,17.4-32.6,17.5-52.1c-0.7-2.3-1.4-4.6-2.2-7" class="st16"></path>%0A%09%09<g>%0A%09%09%09<polygon points="3466.8,1624.2 3466.8,1624.2 3466.8,1624.2" class="st9"></polygon>%0A%09%09%09<path d="M3516.4,1675.9c-7.1-21.6-14.1-34.6-21-42.6c-3.4-4-6.9-6.7-10.3-8.4%0A%09%09%09%09c-3.4-1.7-6.8-2.3-9.8-2.3c-3.4,0-6.3,0.8-8.6,1.5c-4.1,1.3-8,4.5-10.7,9.6c-2.7,5.1-4.4,12.1-4.4,21.5%0A%09%09%09%09c0,12.2,2.8,28.6,10.1,50.4c6.4,19,13.3,30.6,20.3,37.6c3.5,3.5,7.1,5.8,10.5,7.3c3.4,1.4,6.8,2,9.7,2c2.7,0,5.1-0.4,7.1-0.9%0A%09%09%09%09c2-0.5,3.5-1.1,4.4-1.4l0,0c2.9-0.9,6.2-3.2,8.5-7.4c2.3-4.2,3.8-10.1,3.8-18.4C3526.2,1713.3,3523.6,1697.9,3516.4,1675.9z%0A%09%09%09%09 M3515.7,1738.9c-1.5,2.6-3.1,3.5-4.1,3.8c-1.2,0.4-2.5,0.9-4,1.3c-1.5,0.4-3.3,0.7-5.1,0.7c-2,0-4.3-0.3-6.7-1.4%0A%09%09%09%09c-3.7-1.5-7.9-4.6-12.5-10.9c-4.6-6.2-9.4-15.6-14-29.3c-7.1-21.2-9.7-36.9-9.7-47.9c0-8.5,1.5-14.2,3.5-17.9%0A%09%09%09%09c2-3.6,4.2-5.2,6.2-5.8l0,0c2-0.6,4.1-1.1,6.3-1.1c2,0,4,0.4,6.3,1.5c3.5,1.7,7.7,5.3,12.4,12.6c4.7,7.2,9.7,18.1,14.9,33.8%0A%09%09%09%09c7.1,21.4,9.4,36.2,9.4,46C3518.5,1731.7,3517.1,1736.3,3515.7,1738.9z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09</g>%0A%09</g>%0A%09<polygon points="4535.9,1753.6 4677.9,1982.4 4774.4,1982.4 4597.9,1697.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09<polygon points="4616.6,1659.7 4815.1,1982.4 4916.5,1982.4 4705.5,1586.9" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<polygon points="4597.9,1697.5 4644.4,1704.9 4815.1,1982.4 4774.4,1982.4" class="Graphic_x0020_Style_x0020_108"></polygon>%0A%09<polygon points="4791.1,1650.6 4705.5,1586.9 4916.5,1982.4 4939.2,1982.4 4939.2,1925.9" class="Graphic_x0020_Style_x0020_107"></polygon>%0A%09<path d="M4590.7,1773.7c0,0,19.3-16,39,11c19.6,27-20.3,47.3-33.4,30.1%0A%09%09C4583.1,1797.4,4579.5,1778.2,4590.7,1773.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09<path d="M4596.3,1780.1c0,0,13.5-11.2,27.3,7.7s-14.2,33.1-23.4,21.1%0A%09%09C4591,1796.7,4588.5,1783.2,4596.3,1780.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09<polygon points="4609.5,1841.2 4648,1821.1 4757.4,1982.4 4699.5,1982.4" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<ellipse ry="38.6" rx="31.7" cy="1701" cx="4703.2" class="Graphic_x0020_Style_x0020_104"></ellipse>%0A%09<polygon points="4705.5,1762.7 4757.4,1724.1 4766.2,1734.7 4712.4,1768.9" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4718.4,1793 4770.3,1754.3 4779,1764.9 4725.3,1799.2" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4731.2,1823.2 4783.2,1784.6 4791.9,1795.1 4738.1,1829.4" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<g>%0A%09%09<path d="M973.4,2494.7c-1.1-7.7-1.9-15.4-2.3-22.9c9.5-13.4,26.8-31.8,52.9-40.2c23.1-6.1,15.4-16.7,6-14.3%0A%09%09%09c-6.8,1.7-40.3,15-58.6,22.4c6.9-84.5,62.6-145.2,175.4-122.9c0,0,168.2-115.8,215,66.2c-26.6-8.7-77.4-22.7-81.8-5%0A%09%09%09c-5.6,22.6,45.1-7,86.4,25.8c2.5,13.6,4.5,28.6,5.7,45.1c0.4,18.1-4.3,37.3-12.2,56.6c-19.6-23.9-69.9-81.6-86.6-63.7%0A%09%09%09c-19.3,20.6,50.3,7.3,76.9,84.6c-10.3,19.7-23.2,39-36.6,56.7c-13.9-23.9-42.7-67.9-60.7-56.8c-7.2,6.3,6.6,15.6,21,31%0A%09%09%09c9.1,9.8,20.1,29.2,27,42.1c-32.6,40-64,68.5-64,68.5s-40.6-10.2-90-29.6c-2.2-17-5.6-50,0.5-58c8.3-10.9-3.5-21.2-17.7-9.4%0A%09%09%09c-11,9.1-13.4,36.4-10.2,55.9c-20.3-9-41-19.4-60.3-31.1c3.7-24.8,13.8-80.3,30.3-90.6c10.5-9.2,2.3-22.4-22.7-3.4%0A%09%09%09c-19.2,14.5-25.3,60.3-27.2,81.1C1004.8,2558,978.2,2528.6,973.4,2494.7z" class="st10"></path>%0A%09%09<path d="M1225.4,2633.4c0,0-71-217.9-78.6-316.8" class="st11"></path>%0A%09%09<path d="M1129.2,2552.6c0,0,15.4-40.3,50.3-75.4" class="st11"></path>%0A%09%09<path d="M1261.1,2488.4c0,0-59.5-46.7-90-43.7" class="st11"></path>%0A%09%09<path d="M1052.5,2468.5c0,0,69.2-57,107.6-70.5" class="st11"></path>%0A%09%09<path d="M1243.7,2349.5c0,0-52.8-23.4-93.7-5.9" class="st11"></path>%0A%09</g>%0A%09<path d="M3360.2,3327.1c-71.4-58-182.9-129.1-345.1-184.1c-329.3-111.6-176.9-187.3-303.6-225.2%0A%09%09s-430.3-22.5-784.9-68.8s-643.1-33.1-556-162c60.4-89.4,145-152.7,191.1-183.1l-109.7,8.4c-108.3,81.3-312.5,270.2,66.8,308.2%0A%09%09c486.5,48.7,1181.1,101.9,1192.6,208.2c9.2,84.8,440.1,200.1,610.2,307.3C3334,3333.3,3346.8,3330.3,3360.2,3327.1z" class="st22"></path>%0A%09<linearGradient y2="608.8419" x2="3633.9429" y1="608.8419" x1="3431.6741" gradientUnits="userSpaceOnUse" id="SVGID_9_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="101.1" rx="101.1" cy="608.8" cx="3532.8" class="st36"></ellipse>%0A%09<linearGradient y2="3174.8586" x2="1457.2415" y1="3174.8586" x1="1136.8959" gradientUnits="userSpaceOnUse" id="SVGID_10_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="106.3" rx="160.2" cy="3174.9" cx="1297.1" class="st37"></ellipse>%0A%09<linearGradient y2="2968.6479" x2="1266.5088" y1="2968.6479" x1="1085.6805" gradientUnits="userSpaceOnUse" id="SVGID_11_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="60" rx="90.4" cy="2968.6" cx="1176.1" class="st38"></ellipse>%0A%09<linearGradient y2="3078.0559" x2="5051.6841" y1="3078.0559" x1="4866.0625" gradientUnits="userSpaceOnUse" id="SVGID_12_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="92.8" rx="92.8" cy="3078.1" cx="4958.9" class="st39"></ellipse>%0A%09<path d="M2285.6,3438c0,0,206.8,24.5,420.7-87.7c42.5-28.4,62.6,33.1,35.4,53.2%0A%09%09c-27.2,20.1-168.9,100.4-399.3,87.4C2216,3486.1,2239.4,3435.8,2285.6,3438z" class="Graphic_x0020_Style_x0020_100"></path>%0A</g>%0A</svg>%0A';var d2=e=>{let{title:t,successRedirectUrl:s,extra:o,unregistered:r}=e,i=new URLSearchParams(window.location.search),{token:n,setToken:u}=he(),{t:a}=S(),{isLoading:f}=F1(i.has("ticket")?`/api/usystem/user/login?ticket=${i.get("ticket")}`:null,c=>w(c),{onSuccess:c=>{u(c.data.token);}});if(f)return jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})});if(n){let c=!!window.location.hash,p=s;return c?(window.location.href=`${window.location.origin}${window.location.pathname}#${p}`,null):jsx(Navigate,{replace:!0,to:p})}return jsxs("div",{className:"w-screen h-screen relative flex overflow-hidden",children:[jsx("div",{className:"absolute top-16 right-16 z-10",children:o}),jsx("div",{className:"absolute left-14 top-6",children:jsxs(Space,{align:"center",children:[jsx(fe,{width:48}),t]})}),jsx("div",{className:"flex-1 flex justify-center items-center bg-slate-50",children:jsx("img",{src:vo,alt:"background",className:"w-10/12"})}),jsx("div",{className:"w-[650px] relative top-0 left-0 right-0 bottom-0",children:jsx("div",{className:"absolute top-1/2 -translate-y-1/2 left-0 right-0",children:jsx("div",{className:"-translate-y-10 px-36",children:jsxs("div",{className:"flex flex-col justify-center",children:[jsx("div",{className:"h-10",children:r&&jsx(Alert,{banner:!0,closable:!0,message:a("SignIn.unregistered"),type:"error"})}),jsx(Typography.Title,{level:2,children:a("SignIn.welcome")}),jsx("div",{className:"mt-4",children:jsxs(Form,{layout:"vertical",autoComplete:"off",children:[jsx(Form.Item,{label:a("global.username"),name:"username",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:a("global.password"),name:"password",rules:[{required:!0}],children:jsx(Input.Password,{})}),jsx(Form.Item,{children:jsx(Button,{block:!0,type:"primary",shape:"round",htmlType:"submit",children:a("global.signIn")})})]})}),jsx(Divider,{plain:!0,dashed:!0,children:a("SignIn.thirdParty")}),jsx("div",{className:"flex justify-center items-center",children:jsxs(Button,{block:!0,shape:"round",href:`${ct}/logout?service=${ct}/login?service=${window.location.href}`,target:"_self",children:[jsx(fe,{width:18}),a("SignIn.signInWithIDass")]})})]})})})})]})},u2=d2;K();Ct();
33
23
 
34
- // src/components/locale/en_GB.ts
35
- var locale, en_GB_default;
36
- var init_en_GB = __esm({
37
- "src/components/locale/en_GB.ts"() {
38
- locale = {
39
- global: {
40
- noEntitlement: "No permission, please contact the administrator.",
41
- name: "Name",
42
- creationTime: "Creation Time",
43
- operation: "Operation",
44
- update: "Update",
45
- edit: "Edit",
46
- delete: "Delete",
47
- selectAll: "Select All",
48
- game: "Game",
49
- user: "User",
50
- role: "Role",
51
- username: "Username",
52
- password: "Password",
53
- label: "Label",
54
- method: "Method",
55
- route: "Route",
56
- request: "Request",
57
- response: "Response",
58
- add: "Add",
59
- signIn: "Sign In"
60
- },
61
- SignIn: {
62
- title: "Sign In Method",
63
- thirdParty: "Third party sign in",
64
- signInWithIDass: "Sign in with IDass",
65
- unregistered: "You are not yet registered on the platform, please contact the administrator",
66
- welcome: "Welcome"
67
- },
68
- NotFound: {
69
- subTitle: "The page you visited does not exist",
70
- buttonText: "Return to homepage"
71
- },
72
- FilterFormWrapper: {
73
- confirmText: "Search",
74
- resetText: "Reset"
75
- },
76
- FormModal: {
77
- confirmText: "Confirm",
78
- cancelText: "Cancel"
79
- },
80
- GameSelect: {
81
- label: "Current Game",
82
- placeholder: "Please select a game"
83
- },
84
- RequireGame: {
85
- description: "Please select a game"
86
- },
87
- UserWidget: {
88
- signOutText: "Sign Out"
89
- },
90
- UserList: {
91
- createTitle: "Create User",
92
- createSuccessfully: "User created successfully",
93
- updateTitle: "Update User",
94
- updateSuccessfully: "User updated successfully",
95
- deleteTitle: "Delete User",
96
- deleteContent: "Are you sure you want to delete user <%= user %>?",
97
- deleteSuccessfully: "User deleted successfully"
98
- },
99
- RoleList: {
100
- createTitle: "Create Role",
101
- createSuccessfully: "Role created successfully",
102
- updateTitle: "Update Role",
103
- updateSuccessfully: "Role updated successfully",
104
- deleteTitle: "Delete Role",
105
- deleteContent: "Are you sure you want to delete role <%= role %>?",
106
- deleteSuccessfully: "Role deleted successfully"
107
- },
108
- PermissionList: {
109
- failedDescription: "Failed to get permission list",
110
- baseSectionTitle: "Platform Basic Permissions",
111
- gameSectionTitle: "Game Permissions",
112
- gameSectionDescription: "Please select a game first",
113
- gameSelectPlaceholder: "Please select a game first",
114
- removeText: "Remove",
115
- addText: "Add Game Permissions"
116
- },
117
- RoleDetail: {
118
- title: "Role Details"
119
- },
120
- InfiniteList: {
121
- loadingText: "Loading...",
122
- reachEndText: "You've reached the end",
123
- loadMoreText: "Load more"
124
- }
125
- };
126
- en_GB_default = locale;
127
- }
128
- });
129
- function useToolkitsContext(selector) {
130
- const store = useContext(ToolkitsContext);
131
- if (!store) throw new Error("Missing ToolkitsContext.Provider in the tree");
132
- return useStore(store, selector);
133
- }
134
- var createContextStore, contextStore, ToolkitsContext, ContextProvider, Provider_default;
135
- var init_Provider = __esm({
136
- "src/components/contextProvider/Provider.tsx"() {
137
- init_en_GB();
138
- createContextStore = (initProps) => {
139
- const DEFAULT_PROPS = {
140
- locale: en_GB_default,
141
- usePermissionApiV2: false,
142
- gameApiV2: false
143
- };
144
- return createStore()((set) => ({
145
- ...DEFAULT_PROPS,
146
- ...initProps,
147
- setContext: (props) => {
148
- set({ ...props });
149
- }
150
- }));
151
- };
152
- ToolkitsContext = createContext(null);
153
- ContextProvider = (props) => {
154
- const { children, ...restProps } = props;
155
- const storeRef = useRef();
156
- if (!storeRef.current) {
157
- storeRef.current = createContextStore(restProps);
158
- }
159
- contextStore = storeRef.current;
160
- return /* @__PURE__ */ jsx(ToolkitsContext.Provider, { value: storeRef.current, children });
161
- };
162
- if (process.env.NODE_ENV !== "production") {
163
- ContextProvider.displayName = "ContextProvider";
164
- }
165
- Provider_default = ContextProvider;
166
- }
167
- });
168
-
169
- // src/components/contextProvider/index.ts
170
- var init_contextProvider = __esm({
171
- "src/components/contextProvider/index.ts"() {
172
- init_Provider();
173
- }
174
- });
175
- function useTranslation() {
176
- const locale2 = useToolkitsContext((state) => state.locale);
177
- const t = useMemo(
178
- () => (key, data) => has(locale2, key) ? template(get(locale2, key))(data) : key,
179
- [locale2]
180
- );
181
- return { t };
182
- }
183
- var init_hooks = __esm({
184
- "src/components/locale/hooks.ts"() {
185
- init_contextProvider();
186
- }
187
- });
188
-
189
- // src/components/locale/index.ts
190
- var init_locale = __esm({
191
- "src/components/locale/index.ts"() {
192
- init_hooks();
193
- }
194
- });
195
- var FilterFormWrapper, FilterFormWrapper_default;
196
- var init_FilterFormWrapper = __esm({
197
- "src/components/filterFormWrapper/FilterFormWrapper.tsx"() {
198
- init_locale();
199
- FilterFormWrapper = (props) => {
200
- const { extras, isConfirming, onConfirm, onReset, children, buttonsAlign = "left", showReset } = props;
201
- const { t } = useTranslation();
202
- const {
203
- token: { colorFillAlter, lineWidth, lineType, colorBorder, borderRadiusLG }
204
- } = theme.useToken();
205
- const style = {
206
- maxWidth: "none",
207
- background: colorFillAlter,
208
- borderWidth: lineWidth,
209
- borderStyle: lineType,
210
- borderColor: colorBorder,
211
- borderRadius: borderRadiusLG,
212
- padding: 24,
213
- marginBottom: 24
214
- };
215
- return /* @__PURE__ */ jsx("div", { style, children: /* @__PURE__ */ jsxs("div", { className: `flex ${buttonsAlign === "bottom" ? "flex-col" : "flex-row"}`, children: [
216
- /* @__PURE__ */ jsx("div", { className: `${buttonsAlign === "left" ? "flex-grow-0" : "flex-1"}`, children }),
217
- /* @__PURE__ */ jsx("div", { className: `${buttonsAlign === "bottom" ? "text-end" : "text-start"} ml-4`, children: /* @__PURE__ */ jsxs(Space, { children: [
218
- /* @__PURE__ */ jsx(Button, { type: "primary", loading: isConfirming, onClick: onConfirm, children: t("FilterFormWrapper.confirmText") }),
219
- extras?.map((item) => /* @__PURE__ */ jsx(Fragment$1, { children: item.children }, item.key)),
220
- showReset && /* @__PURE__ */ jsx(Button, { onClick: onReset, children: t("FilterFormWrapper.resetText") })
221
- ] }) })
222
- ] }) });
223
- };
224
- FilterFormWrapper_default = FilterFormWrapper;
225
- }
226
- });
227
-
228
- // src/components/filterFormWrapper/index.ts
229
- var init_filterFormWrapper = __esm({
230
- "src/components/filterFormWrapper/index.ts"() {
231
- init_FilterFormWrapper();
232
- }
233
- });
234
- function renderToString(node) {
235
- const container = document.createElement("div");
236
- const root = createRoot(container);
237
- return new Promise((resolve) => {
238
- setTimeout(() => {
239
- flushSync(() => {
240
- root.render(node);
241
- });
242
- resolve(container.innerHTML);
243
- });
244
- });
245
- }
246
- var splitByTags, Highlight, Highlight_default;
247
- var init_Highlight = __esm({
248
- "src/components/highlight/Highlight.tsx"() {
249
- splitByTags = (str) => {
250
- const regex = /(<[^>]*>)/;
251
- return str.split(regex).filter((part) => part !== "");
252
- };
253
- Highlight = (props) => {
254
- const { texts, children } = props;
255
- const [htmlString, setHtmlString] = useState("");
256
- useEffect(() => {
257
- renderToString(children).then((str) => {
258
- const result = splitByTags(str);
259
- for (const text of texts) {
260
- for (let index = 0; index < result.length; index++) {
261
- result[index] = result[index].replace(String(text), `<span style='color: #DC143C;'>${text}</span>`);
262
- }
263
- }
264
- setHtmlString(result.join(""));
265
- });
266
- }, [children, texts]);
267
- return /* @__PURE__ */ jsx("div", { dangerouslySetInnerHTML: { __html: htmlString } });
268
- };
269
- Highlight_default = Highlight;
270
- }
271
- });
272
-
273
- // src/components/highlight/index.ts
274
- var init_highlight = __esm({
275
- "src/components/highlight/index.ts"() {
276
- init_Highlight();
277
- }
278
- });
279
-
280
- // src/constants.ts
281
- var SSO_URL, APP_ID_HEADER_NAME;
282
- var init_constants = __esm({
283
- "src/constants.ts"() {
284
- SSO_URL = "https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1";
285
- APP_ID_HEADER_NAME = "App-ID";
286
- }
287
- });
288
- var Logo, Logo_default;
289
- var init_Logo = __esm({
290
- "src/components/logo/Logo.tsx"() {
291
- Logo = (props) => {
292
- return /* @__PURE__ */ jsx("img", { src: logoUrl, alt: "logo", ...props });
293
- };
294
- Logo_default = Logo;
295
- }
296
- });
297
-
298
- // src/components/logo/index.ts
299
- var init_logo = __esm({
300
- "src/components/logo/index.ts"() {
301
- init_Logo();
302
- }
303
- });
304
- var useNavStore;
305
- var init_stores = __esm({
306
- "src/components/navMenu/stores.ts"() {
307
- useNavStore = create()(
308
- persist(
309
- (set) => ({
310
- openKeys: [],
311
- setOpenKeys: (keys) => set({ openKeys: keys }),
312
- selectedKeys: [],
313
- setSelectedKeys: (keys) => set({ selectedKeys: keys })
314
- }),
315
- {
316
- name: "nav",
317
- storage: createJSONStorage(() => localStorage),
318
- partialize: (state) => ({
319
- openKeys: state.openKeys,
320
- selectedKeys: state.selectedKeys
321
- })
322
- }
323
- )
324
- );
325
- }
326
- });
327
- function checkChildren(children, permissions) {
328
- return (children ?? []).some((child) => {
329
- if (child === null) {
330
- return false;
331
- } else if (child.type === "divider") {
332
- return true;
333
- } else {
334
- if (child.children) {
335
- return checkChildren(child.children ?? [], permissions);
336
- } else {
337
- return !permissions || !child.code || permissions[child.code];
338
- }
339
- }
340
- });
341
- }
342
- function transformItems(items, permissions) {
343
- const result = [];
344
- if (items) {
345
- for (let i = 0; i < items.length; i++) {
346
- if (items[i] === null || items[i].type === "divider") {
347
- result[i] = items[i];
348
- } else if (items[i].children) {
349
- const { children, ...rest } = items[i];
350
- result[i] = checkChildren(children, permissions) ? {
351
- ...rest,
352
- children: transformItems(children, permissions)
353
- } : null;
354
- } else {
355
- const { route: route3, label, code, ...rest } = items[i];
356
- const isPass = !code || !permissions || permissions[code];
357
- const labelNode = route3 ? /* @__PURE__ */ jsx(Link, { to: route3, children: label }) : label;
358
- result[i] = isPass ? {
359
- ...rest,
360
- label: labelNode
361
- } : null;
362
- }
363
- }
364
- }
365
- return result;
366
- }
367
- function flatItems(items, result = [], keypath = []) {
368
- for (const item of items) {
369
- const children = item?.children;
370
- if (Array.isArray(children)) {
371
- const keys = item.type !== "group" && item.key ? [...keypath, item.key] : keypath;
372
- flatItems(children, result, keys);
373
- } else if (item) {
374
- result.push(Object.assign(item, { keypath }));
375
- }
376
- }
377
- return result;
378
- }
379
- var init_utils = __esm({
380
- "src/components/navMenu/utils.tsx"() {
381
- }
382
- });
383
- var NavMenu, NavMenu_default;
384
- var init_NavMenu = __esm({
385
- "src/components/navMenu/NavMenu.tsx"() {
386
- init_permission();
387
- init_stores();
388
- init_utils();
389
- NavMenu = memo(function NavMenu2(props) {
390
- const { items, theme: theme4, loading } = props;
391
- const location = useLocation();
392
- const flattenItems = useMemo(() => flatItems(items ?? []), [items]);
393
- const codes = useMemo(() => flattenItems.map((item) => item.code).filter(Boolean), [flattenItems]);
394
- const { data: permissions, isLoading: isChecking } = usePermissions(codes, {
395
- headers: { APP_ID_HEADER_NAME: "global" }
396
- });
397
- const internalItems = useMemo(() => transformItems(items ?? [], permissions), [items, permissions]);
398
- const { openKeys, selectedKeys, setOpenKeys, setSelectedKeys } = useNavStore();
399
- const onOpenChange = useCallback(
400
- (keys) => {
401
- const lastOpenKey = keys?.find((key) => openKeys?.indexOf(key) === -1);
402
- const match = flattenItems.find((item) => lastOpenKey === item.key);
403
- setOpenKeys(match?.keypath ?? [lastOpenKey]);
404
- },
405
- [flattenItems, openKeys, setOpenKeys]
406
- );
407
- useEffect(() => {
408
- const match = flattenItems.find((item) => location.pathname === item.route);
409
- if (match) {
410
- const key = match.key;
411
- const keypath = match.keypath;
412
- setSelectedKeys([key]);
413
- setOpenKeys(keypath);
414
- }
415
- }, [flattenItems, location]);
416
- if (loading || isChecking) {
417
- return /* @__PURE__ */ jsx("div", { className: "flex justify-center items-center", style: { height: "calc(100vh - 64px)" }, children: /* @__PURE__ */ jsx(Spin, {}) });
418
- }
419
- return /* @__PURE__ */ jsx(
420
- Menu,
421
- {
422
- theme: theme4,
423
- style: { borderRight: "none" },
424
- items: internalItems,
425
- mode: "inline",
426
- openKeys,
427
- selectedKeys,
428
- onOpenChange
429
- }
430
- );
431
- });
432
- if (process.env.NODE_ENV === "development") {
433
- NavMenu.displayName = "NavMenu";
434
- }
435
- NavMenu_default = NavMenu;
436
- }
437
- });
438
-
439
- // src/components/navMenu/index.ts
440
- var init_navMenu = __esm({
441
- "src/components/navMenu/index.ts"() {
442
- init_NavMenu();
443
- }
444
- });
445
- var Spin2, RequireGame, RequireGame_default;
446
- var init_RequireGame = __esm({
447
- "src/components/requireGame/RequireGame.tsx"() {
448
- init_contextProvider();
449
- init_layout();
450
- init_locale();
451
- ({ Spin: Spin2 } = Antd2);
452
- RequireGame = (props) => {
453
- const { hideGameSelect, children } = props;
454
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
455
- const { game, isLoading } = useGameStore();
456
- const { t } = useTranslation();
457
- if (isLoading) {
458
- return /* @__PURE__ */ jsx(
459
- "div",
460
- {
461
- style: {
462
- display: "flex",
463
- justifyContent: "center",
464
- alignItems: "center",
465
- height: 200
466
- },
467
- children: /* @__PURE__ */ jsx(Spin2, {})
468
- }
469
- );
470
- }
471
- if (usePermissionApiV2 && !hideGameSelect && !game) {
472
- return /* @__PURE__ */ jsx(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE, description: t("RequireGame.description") });
473
- }
474
- return children;
475
- };
476
- RequireGame_default = RequireGame;
477
- }
478
- });
479
-
480
- // src/components/requireGame/index.ts
481
- var init_requireGame = __esm({
482
- "src/components/requireGame/index.ts"() {
483
- init_RequireGame();
484
- }
485
- });
486
- function useTokenValidation(options) {
487
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
488
- return useSWRImmutable(
489
- !options?.skip ? usePermissionApiV2 ? "/api/usystem/user/checkV2" : "/api/usystem/user/check" : null,
490
- (url) => request(url, {
491
- method: "POST",
492
- body: {
493
- permissions: ["100001"]
494
- },
495
- headers: { [APP_ID_HEADER_NAME]: "global" }
496
- })
497
- );
498
- }
499
- var useTokenStore;
500
- var init_token = __esm({
501
- "src/hooks/token.ts"() {
502
- init_contextProvider();
503
- init_constants();
504
- init_request();
505
- useTokenStore = create()(
506
- persist(
507
- (set, get2, store) => ({
508
- token: "",
509
- getUser: () => {
510
- try {
511
- return jwtDecode(get2().token);
512
- } catch (_) {
513
- return null;
514
- }
515
- },
516
- setToken: (token) => set({ token }),
517
- clearToken: () => {
518
- get2().setToken("");
519
- store.persist.clearStorage();
520
- }
521
- }),
522
- {
523
- name: "token",
524
- partialize: (state) => ({ token: state.token })
525
- }
526
- )
527
- );
528
- }
529
- });
530
- var UserWidget, UserWidget_default;
531
- var init_UserWidget = __esm({
532
- "src/components/userWidget/UserWidget.tsx"() {
533
- init_token();
534
- init_locale();
535
- UserWidget = (props) => {
536
- const { logoutRedirectUrl } = props;
537
- const { t } = useTranslation();
538
- const navigate = useNavigate();
539
- const { clearToken, getUser } = useTokenStore();
540
- const user = getUser();
541
- const items = [
542
- {
543
- key: "1",
544
- icon: /* @__PURE__ */ jsx(LogoutOutlined, {}),
545
- label: /* @__PURE__ */ jsx(
546
- "a",
547
- {
548
- onClick: () => {
549
- clearToken();
550
- navigate(logoutRedirectUrl);
551
- },
552
- children: t("UserWidget.signOutText")
553
- }
554
- )
555
- }
556
- ];
557
- return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
558
- Dropdown,
559
- {
560
- menu: {
561
- selectable: true,
562
- items
563
- },
564
- placement: "bottomRight",
565
- children: /* @__PURE__ */ jsx(
566
- "a",
567
- {
568
- onClick: (e) => {
569
- e.preventDefault();
570
- },
571
- children: /* @__PURE__ */ jsxs(Space, { align: "center", children: [
572
- /* @__PURE__ */ jsx("span", { children: user?.authorityId }),
573
- /* @__PURE__ */ jsx(UserOutlined, { style: { fontSize: "16px" } })
574
- ] })
575
- }
576
- )
577
- }
578
- ) });
579
- };
580
- UserWidget_default = UserWidget;
581
- }
582
- });
583
-
584
- // src/components/userWidget/index.ts
585
- var init_userWidget = __esm({
586
- "src/components/userWidget/index.ts"() {
587
- init_UserWidget();
588
- }
589
- });
590
-
591
- // src/utils/storage.ts
592
- var mixedStorage;
593
- var init_storage = __esm({
594
- "src/utils/storage.ts"() {
595
- mixedStorage = {
596
- getItem: (name) => {
597
- return sessionStorage.getItem(name) || localStorage.getItem(name);
598
- },
599
- setItem: (name, value) => {
600
- sessionStorage.setItem(name, value);
601
- localStorage.setItem(name, value);
602
- },
603
- removeItem: async (name) => {
604
- sessionStorage.removeItem(name);
605
- localStorage.removeItem(name);
606
- }
607
- };
608
- }
609
- });
610
- var useLayoutStore, useGameStore;
611
- var init_stores2 = __esm({
612
- "src/components/layout/stores.ts"() {
613
- init_request();
614
- init_storage();
615
- init_contextProvider();
616
- useLayoutStore = create()(
617
- persist(
618
- (set) => ({
619
- collapsed: false,
620
- setCollapsed: (collapsed) => set({ collapsed })
621
- }),
622
- {
623
- name: "layout",
624
- storage: createJSONStorage(() => localStorage),
625
- partialize: (state) => ({ collapsed: state.collapsed })
626
- }
627
- )
628
- );
629
- useGameStore = create()(
630
- persist(
631
- (set, get2) => ({
632
- initialized: false,
633
- isLoading: false,
634
- game: null,
635
- games: [],
636
- async fetchGames({ apiV2 = contextStore.getState().gameApiV2, forceUpdate = false } = {}) {
637
- if (!forceUpdate && get2().initialized) {
638
- return get2().games;
639
- }
640
- try {
641
- set({ isLoading: true });
642
- let games;
643
- if (!apiV2) {
644
- const response = await request("/api/usystem/game/all");
645
- games = response.data ?? [];
646
- } else {
647
- const response = await request("/api/game/list");
648
- games = response.data?.list ?? [];
649
- }
650
- set({ games });
651
- return games;
652
- } finally {
653
- set({
654
- initialized: true,
655
- isLoading: false
656
- });
657
- }
658
- }
659
- }),
660
- {
661
- name: "game",
662
- storage: createJSONStorage(() => mixedStorage),
663
- partialize: (state) => ({ game: state.game })
664
- }
665
- )
666
- );
667
- }
668
- });
669
- var Text, GameSelect, GameSelect_default;
670
- var init_GameSelect = __esm({
671
- "src/components/layout/GameSelect.tsx"() {
672
- init_contextProvider();
673
- init_locale();
674
- init_stores2();
675
- ({ Text } = Typography);
676
- GameSelect = (props) => {
677
- const { filter, onGameChange } = props;
678
- const { t } = useTranslation();
679
- const { game, games, isLoading, fetchGames } = useGameStore();
680
- const apiV2 = useToolkitsContext((state) => state.gameApiV2);
681
- useEffect(() => {
682
- fetchGames({ apiV2 });
683
- }, []);
684
- const options = games?.filter((item) => filter?.(item) ?? true)?.map((item) => ({
685
- label: item.name,
686
- value: apiV2 ? item.game_id : item.id
687
- }));
688
- const onChange = async (id2) => {
689
- const match = games.find((item) => String(apiV2 ? item.game_id : item.id) === String(id2));
690
- useGameStore.setState({ game: match });
691
- onGameChange?.(match);
692
- };
693
- return /* @__PURE__ */ jsxs(Space, { children: [
694
- /* @__PURE__ */ jsx(Text, { children: t("GameSelect.label") }),
695
- /* @__PURE__ */ jsx(
696
- Select,
697
- {
698
- showSearch: true,
699
- optionFilterProp: "label",
700
- value: apiV2 ? game?.game_id : game?.id,
701
- placeholder: t("GameSelect.placeholder"),
702
- loading: isLoading,
703
- style: { width: "200px" },
704
- options,
705
- onChange
706
- }
707
- )
708
- ] });
709
- };
710
- GameSelect_default = GameSelect;
711
- }
712
- });
713
-
714
- // src/components/layout/style.css
715
- var init_style = __esm({
716
- "src/components/layout/style.css"() {
717
- }
718
- });
719
- var Spin3, theme3, Header, Sider, Content, Layout2, Layout_default;
720
- var init_Layout = __esm({
721
- "src/components/layout/Layout.tsx"() {
722
- init_contextProvider();
723
- init_logo();
724
- init_navMenu();
725
- init_requireGame();
726
- init_userWidget();
727
- init_GameSelect();
728
- init_stores2();
729
- init_style();
730
- ({ Spin: Spin3, theme: theme3 } = Antd2);
731
- ({ Header, Sider, Content } = Antd2.Layout);
732
- Layout2 = (props) => {
733
- const {
734
- menuCollapsible,
735
- isMenuLoading,
736
- title,
737
- items,
738
- headerExtra,
739
- hideGameSelect,
740
- children,
741
- navWidth,
742
- logoutRedirectUrl,
743
- filter,
744
- onGameChange
745
- } = props;
746
- const {
747
- token: { colorBgContainer, colorBorder }
748
- } = theme3.useToken();
749
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
750
- const { collapsed, setCollapsed } = useLayoutStore();
751
- const onCollapse = async () => {
752
- setCollapsed(!collapsed);
753
- };
754
- return /* @__PURE__ */ jsxs(Antd2.Layout, { children: [
755
- /* @__PURE__ */ jsxs(
756
- Sider,
757
- {
758
- collapsible: true,
759
- theme: "light",
760
- trigger: null,
761
- collapsed,
762
- width: navWidth,
763
- style: {
764
- height: "100vh",
765
- overflow: "auto",
766
- borderRightWidth: 1,
767
- borderRightStyle: "solid",
768
- borderRightColor: colorBorder
769
- },
770
- children: [
771
- /* @__PURE__ */ jsxs("div", { className: "flex gap-2 px-6 py-4 overflow-hidden", children: [
772
- /* @__PURE__ */ jsx(Logo_default, { width: 32, height: 32 }),
773
- (!menuCollapsible || !collapsed) && /* @__PURE__ */ jsx("div", { className: "h-8 flex items-center expand", children: title })
774
- ] }),
775
- /* @__PURE__ */ jsx(NavMenu_default, { items, loading: isMenuLoading })
776
- ]
777
- }
778
- ),
779
- /* @__PURE__ */ jsxs(Antd2.Layout, { children: [
780
- /* @__PURE__ */ jsx(
781
- Header,
782
- {
783
- style: {
784
- padding: "0 24px",
785
- background: colorBgContainer
786
- },
787
- children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center h-full", children: [
788
- /* @__PURE__ */ jsxs(Space, { size: "small", split: /* @__PURE__ */ jsx(Divider, { type: "vertical" }), className: "mr-6", children: [
789
- menuCollapsible && /* @__PURE__ */ jsx(
790
- Button,
791
- {
792
- type: "text",
793
- icon: collapsed ? /* @__PURE__ */ jsx(MenuUnfoldOutlined, {}) : /* @__PURE__ */ jsx(MenuFoldOutlined, {}),
794
- style: { fontSize: "16px" },
795
- onClick: onCollapse
796
- }
797
- ),
798
- usePermissionApiV2 && !hideGameSelect && /* @__PURE__ */ jsx(GameSelect_default, { filter, onGameChange }),
799
- headerExtra?.left?.map((extra) => /* @__PURE__ */ jsx("span", { children: extra.children }, extra.key))
800
- ] }),
801
- /* @__PURE__ */ jsxs(Space, { size: "small", split: /* @__PURE__ */ jsx(Divider, { type: "vertical" }), children: [
802
- headerExtra?.right?.map((extra) => /* @__PURE__ */ jsx("span", { children: extra.children }, extra.key)),
803
- /* @__PURE__ */ jsx(UserWidget_default, { logoutRedirectUrl })
804
- ] })
805
- ] })
806
- }
807
- ),
808
- /* @__PURE__ */ jsx(
809
- Content,
810
- {
811
- style: {
812
- overflow: "auto",
813
- padding: "24px 16px",
814
- maxHeight: "calc(100vh - 64px)"
815
- },
816
- children: /* @__PURE__ */ jsx(
817
- Suspense,
818
- {
819
- fallback: /* @__PURE__ */ jsx(
820
- Spin3,
821
- {
822
- style: {
823
- display: "flex",
824
- justifyContent: "center",
825
- alignItems: "center",
826
- height: "200px"
827
- }
828
- }
829
- ),
830
- children: /* @__PURE__ */ jsx(RequireGame_default, { hideGameSelect, children })
831
- }
832
- )
833
- }
834
- )
835
- ] })
836
- ] });
837
- };
838
- Layout_default = Layout2;
839
- }
840
- });
841
-
842
- // src/components/layout/index.ts
843
- var init_layout = __esm({
844
- "src/components/layout/index.ts"() {
845
- init_Layout();
846
- init_stores2();
847
- }
848
- });
849
- async function request(url, opts = {}) {
850
- const _opts = Object.assign(opts, { responseType: opts.responseType ?? "json" });
851
- const { body, params, responseType, ...rest } = _opts;
852
- if (!url) {
853
- throw new RequestError({
854
- status: 400,
855
- message: "URL is required"
856
- });
857
- }
858
- const parsed = qs.parseUrl(url);
859
- const queryParams = Object.assign({}, parsed.query, params);
860
- const options = {
861
- skipNull: true,
862
- skipEmptyString: true,
863
- strict: true,
864
- encode: true
865
- };
866
- const queryString = qs.stringify(queryParams, options);
867
- url = queryString ? `${parsed.url}?${queryString}` : url;
868
- const headers = new Headers(_opts.headers);
869
- const token = useTokenStore?.getState()?.token;
870
- if (token) {
871
- headers.set("Authorization", `Bearer ${token}`);
872
- }
873
- if (!headers.has(APP_ID_HEADER_NAME) && contextStore.getState().usePermissionApiV2) {
874
- const game = useGameStore.getState().game;
875
- if (game) {
876
- headers.set(APP_ID_HEADER_NAME, String(contextStore.getState().gameApiV2 ? game.game_id : game.id));
877
- }
878
- }
879
- if (responseType === "blob") {
880
- headers.append("Accept", "application/octet-stream");
881
- } else if (responseType === "json") {
882
- headers.append("Accept", "application/json");
883
- }
884
- const isJsonBody = !!(body && typeof body === "object" && !(body instanceof FormData));
885
- if (isJsonBody) {
886
- headers.set("Content-Type", "application/json");
887
- }
888
- const requestOpts = Object.assign(rest, {
889
- headers,
890
- body: isJsonBody ? JSON.stringify(body) : body
891
- });
892
- const response = await fetch(url, requestOpts);
893
- if (!response.ok) {
894
- throw new RequestError({ status: response.status });
895
- }
896
- const responseInterceptor = contextStore.getState().interceptor?.response;
897
- if (typeof responseInterceptor === "function") {
898
- return await responseInterceptor(response, _opts);
899
- }
900
- let data;
901
- if (responseType === "blob") {
902
- data = await response.blob();
903
- } else if (responseType === "json") {
904
- const json = await response.json();
905
- if (json.code === 0 || json.code === 200 || json.status === 0) {
906
- data = json.data;
907
- } else {
908
- throw new RequestError({
909
- code: json.code,
910
- status: response.status,
911
- message: json.msg
912
- });
913
- }
914
- } else {
915
- data = await response.text();
916
- }
917
- const result = {
918
- ...pick(response, ["headers", "status", "statusText", "url"]),
919
- data
920
- };
921
- return result;
922
- }
923
- var RequestError;
924
- var init_request = __esm({
925
- "src/utils/request.ts"() {
926
- init_contextProvider();
927
- init_layout();
928
- init_constants();
929
- init_token();
930
- RequestError = class extends Error {
931
- constructor(opts) {
932
- super(opts?.message);
933
- __publicField(this, "status");
934
- __publicField(this, "code");
935
- this.status = opts.status;
936
- this.code = opts.code;
937
- }
938
- };
939
- }
940
- });
941
- function usePermissions(codes, options) {
942
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
943
- const { data, isValidating, isLoading } = useSWR3(
944
- codes.length > 0 ? [usePermissionApiV2 ? "/api/usystem/user/checkV2" : "/api/usystem/user/check", codes, options] : null,
945
- ([url]) => request(url, {
946
- ...options,
947
- method: "POST",
948
- body: {
949
- permissions: codes
950
- }
951
- }).then((response) => {
952
- if (response.data?.has_all) {
953
- return codes.reduce(
954
- (acc, curr) => {
955
- acc[curr] = true;
956
- return acc;
957
- },
958
- {}
959
- );
960
- }
961
- return codes.reduce(
962
- (acc, curr) => {
963
- acc[curr] = response.data?.[curr] ?? false;
964
- return acc;
965
- },
966
- {}
967
- );
968
- }),
969
- {
970
- revalidateOnFocus: false
971
- }
972
- );
973
- return { data, isValidating, isLoading };
974
- }
975
- function usePermission(code, options) {
976
- const { data, isValidating, isLoading } = usePermissions(code ? [code] : [], options);
977
- if (code === void 0) {
978
- return {
979
- accessible: true,
980
- isValidating: false,
981
- isLoading: false
982
- };
983
- }
984
- return {
985
- accessible: data?.[code] ?? false,
986
- isValidating,
987
- isLoading
988
- };
989
- }
990
- var init_permission = __esm({
991
- "src/hooks/permission.ts"() {
992
- init_contextProvider();
993
- init_request();
994
- }
995
- });
996
- var PermissionButton, PermissionButton_default;
997
- var init_PermissionButton = __esm({
998
- "src/components/permissionButton/PermissionButton.tsx"() {
999
- init_constants();
1000
- init_permission();
1001
- init_locale();
1002
- PermissionButton = (props) => {
1003
- const { children, code, showLoading, isGlobal, disabled, ...restProps } = props;
1004
- const { data, isLoading } = usePermissions(Array.isArray(code) ? code : [code], {
1005
- headers: { [APP_ID_HEADER_NAME]: "global" }
1006
- });
1007
- const { t } = useTranslation();
1008
- if (isLoading) {
1009
- return /* @__PURE__ */ jsx(Button, { loading: showLoading, disabled: !showLoading, ...restProps, children });
1010
- }
1011
- if (!Object.values(data ?? {})?.some(Boolean)) {
1012
- return /* @__PURE__ */ jsx(Tooltip, { defaultOpen: false, title: t("global.noEntitlement"), children: /* @__PURE__ */ jsx(Button, { disabled: true, ...restProps, children }) });
1013
- }
1014
- return /* @__PURE__ */ jsx(Button, { disabled, ...restProps, children });
1015
- };
1016
- PermissionButton_default = PermissionButton;
1017
- }
1018
- });
1019
-
1020
- // src/components/permissionButton/index.ts
1021
- var init_permissionButton = __esm({
1022
- "src/components/permissionButton/index.ts"() {
1023
- init_PermissionButton();
1024
- }
1025
- });
1026
- var useQueryListStore;
1027
- var init_stores3 = __esm({
1028
- "src/components/queryList/stores.ts"() {
1029
- useQueryListStore = create((set, get2) => ({
1030
- keyMap: /* @__PURE__ */ new Map(),
1031
- payloadMap: /* @__PURE__ */ new Map(),
1032
- getPayload(route3) {
1033
- return get2().payloadMap.get(route3) ?? { page: 1 };
1034
- },
1035
- setPayload(route3, payload) {
1036
- set((state) => ({
1037
- payloadMap: new Map(state.payloadMap).set(route3, payload)
1038
- }));
1039
- },
1040
- refetch(route3, payload) {
1041
- const prevPayload = get2().getPayload(route3);
1042
- const nextPayload = { ...prevPayload, ...payload };
1043
- if (isEqual(prevPayload, nextPayload)) {
1044
- get2().mutate(route3, void 0);
1045
- } else {
1046
- get2().setPayload(route3, nextPayload);
1047
- }
1048
- },
1049
- mutate(route3, data, opts) {
1050
- const key = get2().keyMap.get(route3);
1051
- return mutate(key, data, opts);
1052
- }
1053
- }));
1054
- }
1055
- });
1056
- var QueryListAction, InternalQueryList, QueryList, QueryList_default;
1057
- var init_QueryList = __esm({
1058
- "src/components/queryList/QueryList.tsx"() {
1059
- init_constants();
1060
- init_permission();
1061
- init_request();
1062
- init_contextProvider();
1063
- init_filterFormWrapper();
1064
- init_layout();
1065
- init_locale();
1066
- init_stores3();
1067
- QueryListAction = /* @__PURE__ */ ((QueryListAction2) => {
1068
- QueryListAction2[QueryListAction2["Confirm"] = 0] = "Confirm";
1069
- QueryListAction2[QueryListAction2["Reset"] = 1] = "Reset";
1070
- QueryListAction2[QueryListAction2["Jump"] = 2] = "Jump";
1071
- QueryListAction2[QueryListAction2["Init"] = 3] = "Init";
1072
- return QueryListAction2;
1073
- })(QueryListAction || {});
1074
- InternalQueryList = (props, ref) => {
1075
- const internalProps = {
1076
- method: "GET",
1077
- defaultSize: 10,
1078
- refreshInterval: 0,
1079
- getTotal: (data2) => data2?.total,
1080
- getDataSource: (data2) => data2?.list,
1081
- ...props
1082
- };
1083
- const {
1084
- route: route3,
1085
- code,
1086
- headers,
1087
- isGlobal,
1088
- onePage,
1089
- method,
1090
- buttonsAlign,
1091
- showReset,
1092
- defaultSize,
1093
- refreshInterval,
1094
- tableExtra,
1095
- form,
1096
- body,
1097
- params,
1098
- renderForm,
1099
- afterSuccess,
1100
- getTotal,
1101
- getDataSource,
1102
- footer,
1103
- ...tableProps
1104
- } = internalProps;
1105
- const { notification } = App.useApp();
1106
- const { t } = useTranslation();
1107
- const [_form] = Form.useForm(form);
1108
- const action = useRef(3 /* Init */);
1109
- const { game } = useGameStore();
1110
- const { gameApiV2, usePermissionApiV2 } = useToolkitsContext((state) => state);
1111
- const { accessible, isLoading } = usePermission(code, {
1112
- headers: {
1113
- [APP_ID_HEADER_NAME]: game ? isGlobal ? "global" : String(gameApiV2 ? game.game_id : game.id) : ""
1114
- }
1115
- });
1116
- const [isValid, setIsValid] = useState(false);
1117
- const { keyMap, getPayload, refetch } = useQueryListStore();
1118
- const { page, size = defaultSize, formValue } = getPayload(route3);
1119
- const payload = { page, size, formValue };
1120
- const _body = useMemo(() => {
1121
- return typeof body === "function" ? body(payload) : method === "POST" && typeof body === "undefined" ? {
1122
- ...formValue,
1123
- ...!onePage ? { page, size } : void 0
1124
- } : body;
1125
- }, [onePage, method, page, size, formValue, body]);
1126
- const _params = useMemo(
1127
- () => typeof params === "function" ? params(payload) : method === "GET" && typeof params === "undefined" ? {
1128
- ...formValue,
1129
- ...!onePage ? { page, size } : void 0
1130
- } : void 0,
1131
- [onePage, method, page, size, formValue, params]
1132
- );
1133
- const _headers = useMemo(() => {
1134
- const newHeaders = new Headers(headers);
1135
- if (usePermissionApiV2) {
1136
- if (isGlobal) {
1137
- newHeaders.set(APP_ID_HEADER_NAME, "global");
1138
- } else if (game) {
1139
- newHeaders.set(APP_ID_HEADER_NAME, String(gameApiV2 ? game.game_id : game.id));
1140
- }
1141
- }
1142
- return newHeaders;
1143
- }, [usePermissionApiV2, isGlobal, game, headers]);
1144
- const key = useMemo(() => {
1145
- if (!accessible || !isValid) {
1146
- return null;
1147
- }
1148
- const httpOption = {
1149
- route: route3,
1150
- method,
1151
- body: _body,
1152
- params: _params,
1153
- headers: _headers
1154
- };
1155
- const serializedKey = unstable_serialize(httpOption);
1156
- keyMap.set(route3, serializedKey);
1157
- return serializedKey;
1158
- }, [method, route3, _body, _params, _headers, isValid, accessible]);
1159
- const shouldPoll = useRef(false);
1160
- const { data, isValidating } = useSWR3(
1161
- key,
1162
- async () => {
1163
- const response = await request(route3, {
1164
- method,
1165
- body: _body,
1166
- params: _params,
1167
- headers: _headers
1168
- });
1169
- return response.data;
1170
- },
1171
- {
1172
- shouldRetryOnError: false,
1173
- revalidateOnFocus: false,
1174
- refreshInterval: shouldPoll.current ? refreshInterval : 0,
1175
- onSuccess(_data) {
1176
- shouldPoll.current = true;
1177
- afterSuccess?.(action.current, _data, _form);
1178
- },
1179
- onError(error) {
1180
- shouldPoll.current = false;
1181
- notification.error({
1182
- message: "\u8BF7\u6C42\u51FA\u9519",
1183
- description: error.message
1184
- });
1185
- }
1186
- }
1187
- );
1188
- const dataSource = useMemo(() => getDataSource(data, _form), [data, form, getDataSource]);
1189
- const total = useMemo(() => getTotal(data), [data, getTotal]);
1190
- const pagination = useMemo(
1191
- () => !onePage && {
1192
- showSizeChanger: true,
1193
- showQuickJumper: true,
1194
- current: page,
1195
- pageSize: size,
1196
- total,
1197
- onChange: async (currentPage, currentSize) => {
1198
- action.current = 2 /* Jump */;
1199
- refetch(route3, {
1200
- page: currentPage,
1201
- size: currentSize
1202
- });
1203
- }
1204
- },
1205
- [page, size, onePage, total]
1206
- );
1207
- const onConfirm = async () => {
1208
- action.current = 0 /* Confirm */;
1209
- try {
1210
- await _form.validateFields();
1211
- setIsValid(true);
1212
- refetch(route3, {
1213
- page: 1,
1214
- formValue: _form.getFieldsValue()
1215
- });
1216
- } catch (error) {
1217
- setIsValid(false);
1218
- }
1219
- };
1220
- const onReset = async () => {
1221
- action.current = 1 /* Reset */;
1222
- _form.resetFields();
1223
- try {
1224
- await _form.validateFields({ validateOnly: true });
1225
- setIsValid(true);
1226
- refetch(route3, {
1227
- page: 1,
1228
- formValue: _form.getFieldsValue()
1229
- });
1230
- } catch (error) {
1231
- setIsValid(false);
1232
- }
1233
- };
1234
- useEffect(() => {
1235
- const init = async () => {
1236
- if (!accessible) {
1237
- return;
1238
- }
1239
- try {
1240
- _form.resetFields();
1241
- const value = await _form.validateFields({ validateOnly: true });
1242
- refetch(route3, {
1243
- page: 1,
1244
- formValue: value
1245
- });
1246
- setIsValid(true);
1247
- } catch (err) {
1248
- setIsValid(false);
1249
- }
1250
- };
1251
- init();
1252
- }, [accessible, form, game]);
1253
- useImperativeHandle(ref, () => ({
1254
- data,
1255
- dataSource,
1256
- form: _form
1257
- }));
1258
- if (isLoading) {
1259
- return /* @__PURE__ */ jsx(
1260
- Spin,
1261
- {
1262
- style: {
1263
- display: "flex",
1264
- justifyContent: "center",
1265
- alignItems: "center",
1266
- height: 300
1267
- }
1268
- }
1269
- );
1270
- }
1271
- if (!accessible) {
1272
- return /* @__PURE__ */ jsx(Result, { status: 403, subTitle: t("global.noEntitlement") });
1273
- }
1274
- const formRenderer = typeof renderForm === "function" ? /* @__PURE__ */ jsx(
1275
- FilterFormWrapper_default,
1276
- {
1277
- showReset,
1278
- buttonsAlign,
1279
- isConfirming: isValidating,
1280
- onReset,
1281
- onConfirm,
1282
- children: cloneElement(renderForm(_form), {
1283
- onKeyUp: (e) => {
1284
- if (e.key === "Enter") {
1285
- onConfirm();
1286
- }
1287
- }
1288
- })
1289
- }
1290
- ) : (
1291
- // 屏蔽 Form 组件的警告(Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?)
1292
- /* @__PURE__ */ jsx(Form, { form: _form })
1293
- );
1294
- const renderFooter = footer && (() => footer(data));
1295
- return /* @__PURE__ */ jsxs("div", { children: [
1296
- formRenderer,
1297
- typeof tableExtra === "function" ? tableExtra(_form, data) : tableExtra,
1298
- /* @__PURE__ */ jsx(
1299
- Table,
1300
- {
1301
- ...tableProps,
1302
- dataSource,
1303
- loading: isValidating,
1304
- pagination,
1305
- footer: renderFooter
1306
- }
1307
- )
1308
- ] });
1309
- };
1310
- QueryList = forwardRef(InternalQueryList);
1311
- QueryList_default = QueryList;
1312
- }
1313
- });
1314
-
1315
- // src/components/queryList/index.ts
1316
- var init_queryList = __esm({
1317
- "src/components/queryList/index.ts"() {
1318
- init_QueryList();
1319
- init_stores3();
1320
- }
1321
- });
1322
- function useModal(props) {
1323
- const { content, onConfirm, ...modalProps } = props;
1324
- const uuid = useMemo(() => ++id, []);
1325
- const modalStore = useModalStore();
1326
- const open = modalStore.getOpen(uuid);
1327
- const [confirmLoading, setConfirmLoading] = useState(false);
1328
- const isRenderFunction = typeof content === "function";
1329
- const show = () => {
1330
- modalStore.show(uuid);
1331
- };
1332
- const hide = () => {
1333
- modalStore.hide(uuid);
1334
- };
1335
- const onCancel = () => {
1336
- hide();
1337
- };
1338
- const onOk = async () => {
1339
- try {
1340
- setConfirmLoading(true);
1341
- await onConfirm?.();
1342
- } finally {
1343
- setConfirmLoading(false);
1344
- }
1345
- };
1346
- const internalModal = /* @__PURE__ */ jsx(Modal, { ...modalProps, open, confirmLoading, onOk, onCancel, children: isRenderFunction ? content({ hide }) : content });
1347
- return {
1348
- uuid,
1349
- show,
1350
- hide,
1351
- modal: internalModal
1352
- };
1353
- }
1354
- var useModalStore, id;
1355
- var init_modal = __esm({
1356
- "src/hooks/modal.tsx"() {
1357
- useModalStore = create((set, get2) => ({
1358
- open: /* @__PURE__ */ new Map(),
1359
- getOpen: (uuid) => get2().open.get(uuid) ?? false,
1360
- show(uuid) {
1361
- set({ open: new Map(get2().open).set(uuid, true) });
1362
- },
1363
- hide(uuid) {
1364
- set({ open: new Map(get2().open).set(uuid, false) });
1365
- },
1366
- hideAll() {
1367
- set({ open: /* @__PURE__ */ new Map() });
1368
- }
1369
- }));
1370
- id = 0;
1371
- }
1372
- });
1373
- function useFormModal(props) {
1374
- const { content, form, formProps, onConfirm, ...modalProps } = props;
1375
- const [internalExtraValues, setInternalExtraValues] = useState({});
1376
- let [internalForm] = Form.useForm();
1377
- internalForm = form || internalForm;
1378
- const isRenderFunction = typeof content === "function";
1379
- const hanldeConfirm = async () => {
1380
- const values = await internalForm.validateFields();
1381
- await onConfirm?.(values, internalExtraValues);
1382
- hide();
1383
- };
1384
- const afterClose = () => {
1385
- internalForm.resetFields();
1386
- };
1387
- const { uuid, show, hide, modal } = useModal({
1388
- ...modalProps,
1389
- content: (operation) => /* @__PURE__ */ jsx(Form, { ...formProps, form: internalForm, children: isRenderFunction ? content(internalExtraValues, operation) : content }),
1390
- onConfirm: hanldeConfirm,
1391
- afterClose
1392
- });
1393
- const onShow = ({
1394
- initialValues,
1395
- extraValues
1396
- } = {}) => {
1397
- if (extraValues) {
1398
- setInternalExtraValues(extraValues);
1399
- }
1400
- if (initialValues) {
1401
- internalForm.setFieldsValue(initialValues);
1402
- }
1403
- show();
1404
- };
1405
- return {
1406
- uuid,
1407
- show: onShow,
1408
- hide,
1409
- modal
1410
- };
1411
- }
1412
- var init_formModal = __esm({
1413
- "src/hooks/formModal.tsx"() {
1414
- init_modal();
1415
- }
1416
- });
1417
- function useAllPermissions() {
1418
- return useSWR3(
1419
- "/api/usystem/user/allPermssions",
1420
- (url) => request(url, { headers: { [APP_ID_HEADER_NAME]: "global" } }).then((response) => response.data)
1421
- );
1422
- }
1423
- function useAllPermissionsV2() {
1424
- return useSWR3(
1425
- "/api/usystem/user/allPermissionsV2",
1426
- (url) => request(url, { headers: { [APP_ID_HEADER_NAME]: "global" } }).then((response) => response.data)
1427
- );
1428
- }
1429
- function useAllRoles() {
1430
- const { accessible } = usePermission("200005", { headers: { [APP_ID_HEADER_NAME]: "global" } });
1431
- return useSWR3(
1432
- accessible ? "/api/usystem/role/all" : null,
1433
- (url) => request(url, { headers: { [APP_ID_HEADER_NAME]: "global" } }).then((response) => response.data)
1434
- );
1435
- }
1436
- function useRole(name) {
1437
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
1438
- return useSWR3(
1439
- `/api/usystem/role/${usePermissionApiV2 ? "infoV2" : "info"}?name=${name}`,
1440
- (url) => request(url, { headers: { [APP_ID_HEADER_NAME]: "global" } }).then((response) => response.data)
1441
- );
1442
- }
1443
- function useCreateRole() {
1444
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
1445
- return useSWRMutation(
1446
- usePermissionApiV2 ? "/api/usystem/role/createV2" : "/api/usystem/role/create",
1447
- (url, {
1448
- arg
1449
- }) => request(url, {
1450
- method: "post",
1451
- body: arg,
1452
- headers: { [APP_ID_HEADER_NAME]: "global" }
1453
- })
1454
- );
1455
- }
1456
- function useUpdateRole() {
1457
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
1458
- return useSWRMutation(
1459
- usePermissionApiV2 ? "/api/usystem/role/updateV2" : "/api/usystem/role/update",
1460
- (url, {
1461
- arg
1462
- }) => request(url, {
1463
- method: "post",
1464
- body: arg,
1465
- headers: { [APP_ID_HEADER_NAME]: "global" }
1466
- })
1467
- );
1468
- }
1469
- function useRemoveRole() {
1470
- return useSWRMutation(
1471
- "/api/usystem/role/delete",
1472
- (url, {
1473
- arg
1474
- }) => request(url, {
1475
- method: "post",
1476
- body: arg,
1477
- headers: { [APP_ID_HEADER_NAME]: "global" }
1478
- })
1479
- );
1480
- }
1481
- function useCreateUser() {
1482
- return useSWRMutation(
1483
- "/api/usystem/user/create",
1484
- (url, {
1485
- arg
1486
- }) => request(url, {
1487
- method: "post",
1488
- body: arg,
1489
- headers: { [APP_ID_HEADER_NAME]: "global" }
1490
- })
1491
- );
1492
- }
1493
- function useUpdateUser() {
1494
- return useSWRMutation(
1495
- "/api/usystem/user/update",
1496
- (url, {
1497
- arg
1498
- }) => request(url, {
1499
- method: "post",
1500
- body: arg,
1501
- headers: { [APP_ID_HEADER_NAME]: "global" }
1502
- })
1503
- );
1504
- }
1505
- function useRemoveUser() {
1506
- return useSWRMutation(
1507
- "/api/usystem/user/delete",
1508
- (url, {
1509
- arg
1510
- }) => request(url, {
1511
- method: "post",
1512
- body: arg,
1513
- headers: { [APP_ID_HEADER_NAME]: "global" }
1514
- })
1515
- );
1516
- }
1517
- var init_hooks2 = __esm({
1518
- "src/features/permission/hooks/index.ts"() {
1519
- init_contextProvider();
1520
- init_constants();
1521
- init_permission();
1522
- init_request();
1523
- }
1524
- });
1525
- var PermissionCollapse, permissionCollapse_default;
1526
- var init_permissionCollapse = __esm({
1527
- "src/features/permission/components/permissionCollapse/index.tsx"() {
1528
- init_locale();
1529
- PermissionCollapse = (props) => {
1530
- const { permissions, readonly, expand, value, onChange } = props;
1531
- const [activeKey, setActiveKey] = useState([]);
1532
- const [checkedMap, setCheckedMap] = useState({});
1533
- const [internalValue, setInternalValue] = useState(value ?? []);
1534
- const { t } = useTranslation();
1535
- const onCollapseChange = useCallback((key) => {
1536
- setActiveKey(key);
1537
- }, []);
1538
- const getCheckedValue = (checkedValue, codes) => {
1539
- let tempValue = [];
1540
- if (checkedValue) {
1541
- tempValue = [...new Set(internalValue.concat(codes))];
1542
- } else {
1543
- tempValue = internalValue.slice();
1544
- codes.forEach((code) => {
1545
- const index = tempValue.findIndex((item) => item === code);
1546
- if (index > -1) {
1547
- tempValue.splice(index, 1);
1548
- }
1549
- });
1550
- }
1551
- return tempValue;
1552
- };
1553
- const onCheckChange = (e, codes) => {
1554
- const checkedValue = getCheckedValue(e.target.checked, codes);
1555
- setInternalValue(checkedValue);
1556
- onChange?.(checkedValue);
1557
- };
1558
- useEffect(() => {
1559
- setInternalValue(value ?? []);
1560
- }, [value]);
1561
- useEffect(() => {
1562
- if (expand) {
1563
- setActiveKey((permissions ?? []).map(({ category }) => category));
1564
- }
1565
- }, [expand, permissions]);
1566
- useEffect(() => {
1567
- const checkedValue = (permissions ?? []).reduce(
1568
- (acc, curr) => {
1569
- acc[curr.category] = curr.permissions.every((item) => internalValue?.includes(item.value));
1570
- return acc;
1571
- },
1572
- {}
1573
- );
1574
- setCheckedMap(checkedValue);
1575
- }, [internalValue, permissions]);
1576
- return /* @__PURE__ */ jsx(
1577
- Collapse,
1578
- {
1579
- style: { width: "100%" },
1580
- collapsible: "header",
1581
- activeKey,
1582
- items: (permissions ?? []).map((item) => ({
1583
- key: item.category,
1584
- label: item.category,
1585
- extra: !readonly && /* @__PURE__ */ jsx(
1586
- Checkbox,
1587
- {
1588
- checked: checkedMap[item.category],
1589
- onChange: (e) => {
1590
- onCheckChange(
1591
- e,
1592
- item.permissions.map((permission) => permission.value)
1593
- );
1594
- },
1595
- children: t("global.selectAll")
1596
- }
1597
- ),
1598
- children: /* @__PURE__ */ jsx(Checkbox.Group, { style: { width: "100%" }, value: internalValue, disabled: readonly, children: /* @__PURE__ */ jsx(Row, { gutter: [10, 10], style: { width: "100%" }, children: item.permissions.map((permission) => /* @__PURE__ */ jsx(Col, { span: 6, children: /* @__PURE__ */ jsx(
1599
- Checkbox,
1600
- {
1601
- value: permission.value,
1602
- onChange: (e) => {
1603
- onCheckChange(e, [permission.value]);
1604
- },
1605
- children: permission.label
1606
- }
1607
- ) }, permission.value)) }) })
1608
- })),
1609
- onChange: onCollapseChange
1610
- }
1611
- );
1612
- };
1613
- permissionCollapse_default = PermissionCollapse;
1614
- }
1615
- });
1616
- var Text2, PermissionListV1, permissionListV1_default;
1617
- var init_permissionListV1 = __esm({
1618
- "src/features/permission/components/permissionListV1/index.tsx"() {
1619
- init_locale();
1620
- init_hooks2();
1621
- init_permissionCollapse();
1622
- ({ Text: Text2 } = Typography);
1623
- PermissionListV1 = (props) => {
1624
- const { expand = true, value, readonly, onChange } = props;
1625
- const { data: permissions, isLoading, error } = useAllPermissions();
1626
- const { t } = useTranslation();
1627
- if (error) {
1628
- return /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(Text2, { type: "danger", children: t("PermissionList.failedDescription") }) });
1629
- }
1630
- return /* @__PURE__ */ jsx(Skeleton, { active: true, loading: isLoading, children: /* @__PURE__ */ jsx(
1631
- permissionCollapse_default,
1632
- {
1633
- value,
1634
- permissions,
1635
- readonly,
1636
- expand,
1637
- onChange
1638
- }
1639
- ) });
1640
- };
1641
- permissionListV1_default = PermissionListV1;
1642
- }
1643
- });
1644
- var Text3, Option2, PermissionListV2, permissionListV2_default;
1645
- var init_permissionListV2 = __esm({
1646
- "src/features/permission/components/permissionListV2/index.tsx"() {
1647
- init_locale();
1648
- init_hooks2();
1649
- init_permissionCollapse();
1650
- ({ Text: Text3 } = Typography);
1651
- ({ Option: Option2 } = Select);
1652
- PermissionListV2 = (props) => {
1653
- const { expand = true, value, readonly, onChange } = props;
1654
- const { data: { permission, game: games } = {}, isLoading, error } = useAllPermissionsV2();
1655
- const [gameList, setGameList] = useState([]);
1656
- const globalPermissions = permission?.filter((item) => item.is_common);
1657
- const gamePermissions = permission?.filter((item) => !item.is_common);
1658
- const { t } = useTranslation();
1659
- useEffect(() => {
1660
- const list = [];
1661
- Object.keys(value ?? {}).forEach((key) => {
1662
- if (key !== "global") {
1663
- list.push({ gameId: key, permissions: value?.[key] ?? [] });
1664
- }
1665
- });
1666
- setGameList(list);
1667
- }, [value]);
1668
- if (error) {
1669
- return /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(Text3, { type: "danger", children: t("PermissionList.failedDescription") }) });
1670
- }
1671
- const addGame = () => {
1672
- setGameList((prev) => [...prev, { gameId: "", permissions: [] }]);
1673
- };
1674
- const removeGame = (index) => {
1675
- setGameList((prev) => prev.filter((_, i) => i !== index));
1676
- };
1677
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-col w-full", children: [
1678
- /* @__PURE__ */ jsx("div", { className: "mb-12", children: /* @__PURE__ */ jsx(Divider, { dashed: true, children: t("PermissionList.baseSectionTitle") }) }),
1679
- /* @__PURE__ */ jsx(Skeleton, { active: true, loading: isLoading, children: /* @__PURE__ */ jsx(
1680
- permissionCollapse_default,
1681
- {
1682
- value: value?.global,
1683
- readonly,
1684
- permissions: globalPermissions,
1685
- expand,
1686
- onChange: (newValue) => {
1687
- onChange?.({
1688
- ...value,
1689
- global: newValue
1690
- });
1691
- }
1692
- }
1693
- ) }),
1694
- /* @__PURE__ */ jsx("div", { className: "my-12", children: /* @__PURE__ */ jsx(Divider, { dashed: true, children: t("PermissionList.gameSectionTitle") }) }),
1695
- gameList.map((item, index) => /* @__PURE__ */ jsx(
1696
- Card,
1697
- {
1698
- title: /* @__PURE__ */ jsxs(Space, { children: [
1699
- /* @__PURE__ */ jsx(Text3, { children: t("global.game") }),
1700
- readonly ? /* @__PURE__ */ jsx(Text3, { children: games?.find((game) => String(game.id) === item.gameId)?.name }) : /* @__PURE__ */ jsx(
1701
- Select,
1702
- {
1703
- disabled: readonly,
1704
- value: gameList[index].gameId || void 0,
1705
- style: { width: "160px" },
1706
- placeholder: t("PermissionList.gameSelectPlaceholder"),
1707
- onChange: (selectedValue) => {
1708
- setGameList((pev) => {
1709
- const temp = pev.slice();
1710
- temp[index].gameId = selectedValue;
1711
- return temp;
1712
- });
1713
- },
1714
- children: games?.map((game) => /* @__PURE__ */ jsx(
1715
- Option2,
1716
- {
1717
- value: game.id,
1718
- disabled: gameList.some(({ gameId }) => gameId === String(game.id)),
1719
- children: game.name
1720
- },
1721
- game.id
1722
- ))
1723
- }
1724
- )
1725
- ] }),
1726
- className: "mb-6",
1727
- extra: !readonly && /* @__PURE__ */ jsx(
1728
- Button,
1729
- {
1730
- type: "link",
1731
- onClick: () => {
1732
- removeGame(index);
1733
- },
1734
- children: t("PermissionList.removeText")
1735
- }
1736
- ),
1737
- children: gameList[index].gameId ? /* @__PURE__ */ jsx(Skeleton, { active: true, loading: isLoading, children: /* @__PURE__ */ jsx(
1738
- permissionCollapse_default,
1739
- {
1740
- value: value?.[gameList[index].gameId],
1741
- readonly,
1742
- expand,
1743
- permissions: gamePermissions,
1744
- onChange: (newValue) => {
1745
- onChange?.({
1746
- ...value,
1747
- [gameList[index].gameId]: newValue
1748
- });
1749
- }
1750
- }
1751
- ) }) : /* @__PURE__ */ jsx(Empty, { description: t("PermissionList.gameSectionDescription") })
1752
- },
1753
- index
1754
- )),
1755
- !readonly && /* @__PURE__ */ jsx(Button, { block: true, type: "dashed", onClick: addGame, children: t("PermissionList.addText") })
1756
- ] });
1757
- };
1758
- permissionListV2_default = PermissionListV2;
1759
- }
1760
- });
1761
- var PermissionList, permissionList_default;
1762
- var init_permissionList = __esm({
1763
- "src/features/permission/components/permissionList/index.tsx"() {
1764
- init_contextProvider();
1765
- init_permissionListV1();
1766
- init_permissionListV2();
1767
- PermissionList = (props) => {
1768
- const { value } = props;
1769
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
1770
- return /* @__PURE__ */ jsx(Fragment, { children: usePermissionApiV2 ? /* @__PURE__ */ jsx(permissionListV2_default, { ...props, value }) : /* @__PURE__ */ jsx(permissionListV1_default, { ...props, value }) });
1771
- };
1772
- permissionList_default = PermissionList;
1773
- }
1774
- });
1775
-
1776
- // src/features/permission/types/index.ts
1777
- var init_types = __esm({
1778
- "src/features/permission/types/index.ts"() {
1779
- }
1780
- });
1781
-
1782
- // src/features/permission/index.ts
1783
- var init_permission2 = __esm({
1784
- "src/features/permission/index.ts"() {
1785
- init_permissionList();
1786
- init_hooks2();
1787
- init_types();
1788
- }
1789
- });
1790
-
1791
- // src/pages/permission/userList/index.tsx
1792
- var userList_exports = {};
1793
- __export(userList_exports, {
1794
- default: () => userList_default,
1795
- route: () => route
1796
- });
1797
- var Option3, route, useModal2, UserList, userList_default;
1798
- var init_userList = __esm({
1799
- "src/pages/permission/userList/index.tsx"() {
1800
- init_highlight();
1801
- init_locale();
1802
- init_permissionButton();
1803
- init_queryList();
1804
- init_stores3();
1805
- init_permission2();
1806
- init_formModal();
1807
- ({ Option: Option3 } = Select);
1808
- route = "/api/usystem/user/list";
1809
- useModal2 = (isCreate) => {
1810
- const { message } = App.useApp();
1811
- const { t } = useTranslation();
1812
- const { refetch, mutate: mutate2 } = useQueryListStore();
1813
- const { data: roles, isLoading } = useAllRoles();
1814
- const create6 = useCreateUser();
1815
- const update = useUpdateUser();
1816
- const title = isCreate ? t("UserList.createTitle") : t("UserList.updateTitle");
1817
- const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1818
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.name"), name: "name", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, { disabled: !isCreate }) }),
1819
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.role"), name: "roles", children: /* @__PURE__ */ jsx(Select, { allowClear: true, mode: "multiple", loading: isLoading, children: (roles ?? []).map((role) => /* @__PURE__ */ jsx(Option3, { value: role.name, children: role.name }, role.id)) }) })
1820
- ] });
1821
- const onConfirm = async (values, extraValues) => {
1822
- if (isCreate) {
1823
- await create6.trigger(values);
1824
- refetch(route, { page: 1 });
1825
- message.success(t("UserList.createSuccessfully"));
1826
- } else {
1827
- await update.trigger(values);
1828
- mutate2(
1829
- route,
1830
- (prev) => {
1831
- return produce(prev, (draft) => {
1832
- if (draft?.List) {
1833
- const index = draft.List?.findIndex((item) => item.id === extraValues?.id);
1834
- if (index !== -1) {
1835
- draft.List[index].roles = values.roles;
1836
- }
1837
- }
1838
- });
1839
- },
1840
- { revalidate: false }
1841
- );
1842
- message.success(t("UserList.updateSuccessfully"));
1843
- }
1844
- };
1845
- return useFormModal({
1846
- title,
1847
- formProps: {
1848
- labelCol: { flex: "80px" }
1849
- },
1850
- content,
1851
- onConfirm
1852
- });
1853
- };
1854
- UserList = () => {
1855
- const { modal, message } = App.useApp();
1856
- const remove = useRemoveUser();
1857
- const { mutate: mutate2 } = useQueryListStore();
1858
- const { show: showCreateModal, modal: createModal } = useModal2(true);
1859
- const { show: showUpdateModal, modal: updateModal } = useModal2();
1860
- const { t } = useTranslation();
1861
- const columns = [
1862
- {
1863
- title: t("global.name"),
1864
- dataIndex: "name",
1865
- key: "name"
1866
- },
1867
- {
1868
- title: "ID",
1869
- dataIndex: "id",
1870
- key: "id"
1871
- },
1872
- {
1873
- title: t("global.role"),
1874
- dataIndex: "roles",
1875
- key: "roles",
1876
- width: "40%",
1877
- render(value) {
1878
- 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: `../role/${item}`, children: item }) }) }, item)) });
1879
- }
1880
- },
1881
- {
1882
- title: t("global.creationTime"),
1883
- dataIndex: "Ctime",
1884
- key: "ctime"
1885
- },
1886
- {
1887
- title: t("global.operation"),
1888
- width: 150,
1889
- align: "center",
1890
- render: (value) => /* @__PURE__ */ jsxs(Space, { children: [
1891
- /* @__PURE__ */ jsx(
1892
- PermissionButton_default,
1893
- {
1894
- isGlobal: true,
1895
- size: "small",
1896
- type: "link",
1897
- code: "100003",
1898
- onClick: () => {
1899
- showUpdateModal({
1900
- initialValues: {
1901
- name: value.name,
1902
- roles: value.roles
1903
- },
1904
- extraValues: {
1905
- id: value.id
1906
- }
1907
- });
1908
- },
1909
- children: t("global.update")
1910
- }
1911
- ),
1912
- /* @__PURE__ */ jsx(
1913
- PermissionButton_default,
1914
- {
1915
- isGlobal: true,
1916
- danger: true,
1917
- size: "small",
1918
- code: "100004",
1919
- type: "link",
1920
- onClick: () => {
1921
- modal.confirm({
1922
- title: t("UserList.deleteTitle"),
1923
- content: /* @__PURE__ */ jsx(Highlight_default, { texts: [value.name], children: t("UserList.deleteContent", { user: value.name }) }),
1924
- async onOk() {
1925
- await remove.trigger({
1926
- id: value.id,
1927
- name: value.name
1928
- });
1929
- mutate2(route, (prev) => {
1930
- return produce(prev, (draft) => {
1931
- const index = draft?.List?.findIndex((item) => item.id === value.id);
1932
- if (index) {
1933
- draft?.List?.splice(index, 1);
1934
- }
1935
- });
1936
- });
1937
- message.success(t("UserList.deleteSuccessfully"));
1938
- }
1939
- });
1940
- },
1941
- children: t("global.delete")
1942
- }
1943
- )
1944
- ] })
1945
- }
1946
- ];
1947
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1948
- /* @__PURE__ */ jsx(
1949
- Card,
1950
- {
1951
- title: t("global.user"),
1952
- extra: /* @__PURE__ */ jsx(
1953
- PermissionButton_default,
1954
- {
1955
- isGlobal: true,
1956
- type: "primary",
1957
- icon: /* @__PURE__ */ jsx(UserAddOutlined, {}),
1958
- code: "100002",
1959
- onClick: () => {
1960
- showCreateModal();
1961
- },
1962
- children: t("UserList.createTitle")
1963
- }
1964
- ),
1965
- children: /* @__PURE__ */ jsx(
1966
- QueryList_default,
1967
- {
1968
- isGlobal: true,
1969
- code: "100001",
1970
- route,
1971
- rowKey: "id",
1972
- columns,
1973
- getTotal: (response) => response?.Total,
1974
- getDataSource: (response) => response?.List
1975
- }
1976
- )
1977
- }
1978
- ),
1979
- createModal,
1980
- updateModal
1981
- ] });
1982
- };
1983
- userList_default = UserList;
1984
- }
1985
- });
1986
-
1987
- // src/pages/permission/roleList/index.tsx
1988
- var roleList_exports = {};
1989
- __export(roleList_exports, {
1990
- default: () => roleList_default
1991
- });
1992
- var route2, useModal3, RoleList, roleList_default;
1993
- var init_roleList = __esm({
1994
- "src/pages/permission/roleList/index.tsx"() {
1995
- init_contextProvider();
1996
- init_highlight();
1997
- init_locale();
1998
- init_permissionButton();
1999
- init_queryList();
2000
- init_stores3();
2001
- init_constants();
2002
- init_permission2();
2003
- init_formModal();
2004
- init_permission();
2005
- init_request();
2006
- route2 = "/api/usystem/role/list";
2007
- useModal3 = (isCreate) => {
2008
- const { message } = App.useApp();
2009
- const { t } = useTranslation();
2010
- const { refetch, mutate: mutate2 } = useQueryListStore();
2011
- const create6 = useCreateRole();
2012
- const update = useUpdateRole();
2013
- const title = isCreate ? t("RoleList.createTitle") : t("RoleList.updateTitle");
2014
- const formProps = {
2015
- layout: "vertical"
2016
- };
2017
- const content = /* @__PURE__ */ jsxs(Fragment, { children: [
2018
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.name"), name: "name", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, { disabled: !isCreate, addonBefore: "role_" }) }),
2019
- /* @__PURE__ */ jsx(Form.Item, { name: "permissions", children: /* @__PURE__ */ jsx(permissionList_default, {}) })
2020
- ] });
2021
- const onConfirm = async (values, extraValues) => {
2022
- if (isCreate) {
2023
- await create6.trigger({
2024
- name: `role_${values.name}`,
2025
- permissions: values.permissions
2026
- });
2027
- refetch(route2, { page: 1 });
2028
- message.success(t("RoleList.createSuccessfully"));
2029
- } else {
2030
- await update.trigger({
2031
- id: extraValues?.id,
2032
- name: `role_${values.name}`,
2033
- permissions: values.permissions
2034
- });
2035
- mutate2(
2036
- route2,
2037
- (prev) => produce(prev, (draft) => {
2038
- const match = draft?.List?.find((item) => item.id === extraValues?.id);
2039
- if (match) {
2040
- match.permissions = values.permissions;
2041
- }
2042
- }),
2043
- { revalidate: false }
2044
- );
2045
- message.success(t("RoleList.updateSuccessfully"));
2046
- }
2047
- };
2048
- return useFormModal({
2049
- title,
2050
- width: "50vw",
2051
- formProps,
2052
- content,
2053
- onConfirm
2054
- });
2055
- };
2056
- RoleList = () => {
2057
- const { accessible: viewable } = usePermission("200005", { headers: { [APP_ID_HEADER_NAME]: "global" } });
2058
- const { modal, message } = App.useApp();
2059
- const { t } = useTranslation();
2060
- const usePermissionApiV2 = useToolkitsContext((state) => state.usePermissionApiV2);
2061
- const { mutate: mutate2 } = useQueryListStore();
2062
- const { show: showCreateModal, modal: createModal } = useModal3(true);
2063
- const { show: showUpdateModal, modal: updateModal } = useModal3();
2064
- const remove = useRemoveRole();
2065
- const handleUpdateBtnClick = async (record) => {
2066
- const { data: role } = await request(
2067
- `/api/usystem/role/info${usePermissionApiV2 ? "V2" : ""}?name=${record.name}`,
2068
- { headers: { [APP_ID_HEADER_NAME]: "global" } }
2069
- );
2070
- showUpdateModal({
2071
- initialValues: {
2072
- permissions: role?.permissions,
2073
- name: role?.name.replace(/^role_/, "")
2074
- },
2075
- extraValues: {
2076
- id: role?.id
2077
- }
2078
- });
2079
- };
2080
- const columns = [
2081
- {
2082
- title: t("global.name"),
2083
- key: "name",
2084
- render(value) {
2085
- if (viewable) {
2086
- return /* @__PURE__ */ jsx(Link, { to: `${value.name}`, relative: "path", children: value.name });
2087
- } else {
2088
- return /* @__PURE__ */ jsx(Fragment, { children: value.name });
2089
- }
2090
- }
2091
- },
2092
- {
2093
- title: "ID",
2094
- dataIndex: "id",
2095
- key: "id"
2096
- },
2097
- {
2098
- title: t("global.creationTime"),
2099
- dataIndex: "ctime",
2100
- key: "ctime"
2101
- },
2102
- {
2103
- title: t("global.operation"),
2104
- width: 150,
2105
- align: "center",
2106
- render: (_, record) => {
2107
- return /* @__PURE__ */ jsxs(Space, { size: "small", children: [
2108
- /* @__PURE__ */ jsx(
2109
- PermissionButton_default,
2110
- {
2111
- isGlobal: true,
2112
- code: "200003",
2113
- size: "small",
2114
- type: "link",
2115
- onClick: async () => {
2116
- handleUpdateBtnClick(record);
2117
- },
2118
- children: t("global.edit")
2119
- }
2120
- ),
2121
- /* @__PURE__ */ jsx(
2122
- PermissionButton_default,
2123
- {
2124
- isGlobal: true,
2125
- danger: true,
2126
- code: "200004",
2127
- size: "small",
2128
- type: "link",
2129
- onClick: () => {
2130
- modal.confirm({
2131
- title: t("RoleList.deleteTitle"),
2132
- content: /* @__PURE__ */ jsx(Highlight_default, { texts: [record.name], children: t("RoleList.deleteContent", { role: record.name }) }),
2133
- async onOk() {
2134
- await remove.trigger({
2135
- id: record.id,
2136
- name: record.name
2137
- });
2138
- mutate2(route2, (prev) => {
2139
- return produce(prev, (draft) => {
2140
- const index = draft?.List?.findIndex((item) => item.id === record.id);
2141
- if (index) {
2142
- draft?.List?.splice(index, 1);
2143
- }
2144
- });
2145
- });
2146
- message.success(t("RoleList.deleteSuccessfully"));
2147
- }
2148
- });
2149
- },
2150
- children: t("global.delete")
2151
- }
2152
- )
2153
- ] });
2154
- }
2155
- }
2156
- ];
2157
- return /* @__PURE__ */ jsxs(Fragment, { children: [
2158
- /* @__PURE__ */ jsx(
2159
- Card,
2160
- {
2161
- title: t("global.role"),
2162
- extra: /* @__PURE__ */ jsx(
2163
- PermissionButton_default,
2164
- {
2165
- isGlobal: true,
2166
- type: "primary",
2167
- code: "200002",
2168
- icon: /* @__PURE__ */ jsx(UsergroupAddOutlined, {}),
2169
- onClick: () => {
2170
- showCreateModal();
2171
- },
2172
- children: t("RoleList.createTitle")
2173
- }
2174
- ),
2175
- children: /* @__PURE__ */ jsx(
2176
- QueryList_default,
2177
- {
2178
- isGlobal: true,
2179
- rowKey: "name",
2180
- columns,
2181
- code: "200001",
2182
- route: route2,
2183
- getTotal: (response) => response?.Total,
2184
- getDataSource: (response) => response?.List
2185
- }
2186
- )
2187
- }
2188
- ),
2189
- createModal,
2190
- updateModal
2191
- ] });
2192
- };
2193
- roleList_default = RoleList;
2194
- }
2195
- });
2196
-
2197
- // src/pages/permission/roleDetail/index.tsx
2198
- var roleDetail_exports = {};
2199
- __export(roleDetail_exports, {
2200
- default: () => roleDetail_default
2201
- });
2202
- var RoleDetail, roleDetail_default;
2203
- var init_roleDetail = __esm({
2204
- "src/pages/permission/roleDetail/index.tsx"() {
2205
- init_locale();
2206
- init_permission2();
2207
- RoleDetail = () => {
2208
- const params = useParams();
2209
- const { data, isLoading } = useRole(params.name);
2210
- const { t } = useTranslation();
2211
- return /* @__PURE__ */ jsxs(Fragment, { children: [
2212
- /* @__PURE__ */ jsx(
2213
- Breadcrumb,
2214
- {
2215
- style: { marginBottom: 24 },
2216
- items: [
2217
- {
2218
- key: "1",
2219
- title: /* @__PURE__ */ jsx(Link, { to: "..", relative: "path", children: t("global.role") })
2220
- },
2221
- {
2222
- key: "2",
2223
- title: params.name
2224
- }
2225
- ]
2226
- }
2227
- ),
2228
- /* @__PURE__ */ jsx(Card, { title: t("RoleDetail.title"), children: /* @__PURE__ */ jsxs(Skeleton, { loading: isLoading, children: [
2229
- /* @__PURE__ */ jsxs(Descriptions, { column: 3, layout: "vertical", children: [
2230
- /* @__PURE__ */ jsx(Descriptions.Item, { label: t("global.name"), children: data?.name }),
2231
- /* @__PURE__ */ jsx(Descriptions.Item, { label: "ID", children: data?.id }),
2232
- /* @__PURE__ */ jsx(Descriptions.Item, { label: t("global.creationTime"), children: data?.ctime })
2233
- ] }),
2234
- /* @__PURE__ */ jsx(permissionList_default, { readonly: true, value: data?.permissions })
2235
- ] }) })
2236
- ] });
2237
- };
2238
- roleDetail_default = RoleDetail;
2239
- }
2240
- });
2241
-
2242
- // src/index.ts
2243
- init_contextProvider();
2244
-
2245
- // src/components/dynamicTags/DynamicTags.tsx
2246
- init_locale();
2247
- var DynamicTags = (props) => {
2248
- const { initialTags, addable, removable, addCallback, removeCallback } = props;
2249
- const { t } = useTranslation();
2250
- const { token } = theme.useToken();
2251
- const [tags, setTags] = useState([]);
2252
- const [inputVisible, setInputVisible] = useState(false);
2253
- const [inputValue, setInputValue] = useState("");
2254
- const [editInputIndex, setEditInputIndex] = useState(-1);
2255
- const [editInputValue, setEditInputValue] = useState("");
2256
- const inputRef = useRef(null);
2257
- const editInputRef = useRef(null);
2258
- useEffect(() => {
2259
- setTags(initialTags ?? []);
2260
- }, [initialTags]);
2261
- useEffect(() => {
2262
- if (inputVisible) {
2263
- inputRef.current?.focus();
2264
- }
2265
- }, [inputVisible]);
2266
- useEffect(() => {
2267
- editInputRef.current?.focus();
2268
- }, [inputValue]);
2269
- const handleClose = async (removedTag) => {
2270
- const success = await removeCallback?.(removedTag);
2271
- if (success) {
2272
- const newTags = tags.filter((tag) => tag !== removedTag);
2273
- setTags(newTags);
2274
- }
2275
- };
2276
- const showInput = () => {
2277
- setInputVisible(true);
2278
- };
2279
- const handleInputChange = (e) => {
2280
- setInputValue(e.target.value);
2281
- };
2282
- const handleInputConfirm = async () => {
2283
- if (inputValue && tags.indexOf(inputValue) === -1) {
2284
- const success = await addCallback?.(inputValue);
2285
- if (success) {
2286
- setTags([...tags, inputValue]);
2287
- }
2288
- }
2289
- setInputVisible(false);
2290
- setInputValue("");
2291
- };
2292
- const handleEditInputChange = (e) => {
2293
- setEditInputValue(e.target.value);
2294
- };
2295
- const handleEditInputConfirm = () => {
2296
- const newTags = [...tags];
2297
- newTags[editInputIndex] = editInputValue;
2298
- setTags(newTags);
2299
- setEditInputIndex(-1);
2300
- setInputValue("");
2301
- };
2302
- const tagInputStyle = {
2303
- width: 78,
2304
- verticalAlign: "top"
2305
- };
2306
- const tagPlusStyle = {
2307
- background: token.colorBgContainer,
2308
- borderStyle: "dashed"
2309
- };
2310
- return /* @__PURE__ */ jsxs(Space, { wrap: true, size: [0, 8], children: [
2311
- /* @__PURE__ */ jsx(Space, { wrap: true, size: [0, 8], children: tags.map((tag, index) => {
2312
- if (editInputIndex === index) {
2313
- return /* @__PURE__ */ jsx(
2314
- Input,
2315
- {
2316
- ref: editInputRef,
2317
- size: "small",
2318
- style: tagInputStyle,
2319
- value: editInputValue,
2320
- onChange: handleEditInputChange,
2321
- onBlur: handleEditInputConfirm,
2322
- onPressEnter: handleEditInputConfirm
2323
- },
2324
- tag
2325
- );
2326
- }
2327
- return /* @__PURE__ */ jsx(
2328
- Tag,
2329
- {
2330
- closable: removable,
2331
- style: { userSelect: "none" },
2332
- onClose: async (e) => {
2333
- e.preventDefault();
2334
- await handleClose(tag);
2335
- },
2336
- children: /* @__PURE__ */ jsx(
2337
- "span",
2338
- {
2339
- onDoubleClick: (e) => {
2340
- if (index !== 0) {
2341
- setEditInputIndex(index);
2342
- setEditInputValue(tag);
2343
- e.preventDefault();
2344
- }
2345
- },
2346
- children: tag
2347
- }
2348
- )
2349
- },
2350
- tag
2351
- );
2352
- }) }),
2353
- addable && (inputVisible ? /* @__PURE__ */ jsx(
2354
- Input,
2355
- {
2356
- ref: inputRef,
2357
- type: "text",
2358
- size: "small",
2359
- style: tagInputStyle,
2360
- value: inputValue,
2361
- onChange: handleInputChange,
2362
- onBlur: handleInputConfirm,
2363
- onPressEnter: handleInputConfirm
2364
- }
2365
- ) : /* @__PURE__ */ jsxs(Tag, { style: tagPlusStyle, onClick: showInput, children: [
2366
- /* @__PURE__ */ jsx(PlusOutlined, {}),
2367
- "\xA0",
2368
- t("global.add")
2369
- ] }))
2370
- ] });
2371
- };
2372
- var DynamicTags_default = DynamicTags;
2373
- var ExpandableParagraph = (props) => {
2374
- const { children, ...restProps } = props;
2375
- const [expanded, setExpanded] = useState(false);
2376
- return /* @__PURE__ */ jsx(
2377
- Typography.Paragraph,
2378
- {
2379
- ...restProps,
2380
- className: "mb-0",
2381
- ellipsis: {
2382
- rows: 2,
2383
- expandable: "collapsible",
2384
- expanded,
2385
- onExpand: (_, info) => {
2386
- setExpanded(info.expanded);
2387
- }
2388
- },
2389
- children
2390
- }
2391
- );
2392
- };
2393
- var ExpandableParagraph_default = ExpandableParagraph;
2394
-
2395
- // src/index.ts
2396
- init_filterFormWrapper();
2397
- init_highlight();
2398
-
2399
- // src/components/infiniteList/InfiniteList.tsx
2400
- init_constants();
2401
- init_permission();
2402
- init_request();
2403
- init_contextProvider();
2404
- init_filterFormWrapper();
2405
- init_layout();
2406
- init_locale();
2407
- var InfiniteList = (props) => {
2408
- const {
2409
- code,
2410
- action,
2411
- extras,
2412
- headers,
2413
- isGlobal,
2414
- getRowKey,
2415
- getDataSource,
2416
- hasMore,
2417
- renderForm,
2418
- transformArg,
2419
- ...tableProps
2420
- } = props;
2421
- const { t } = useTranslation();
2422
- const [form] = Form.useForm();
2423
- const [isValid, setIsValid] = useState(false);
2424
- const [formValues, setFormValues] = useState();
2425
- const getKey = (pageIndex, previousPageData) => {
2426
- if (!isValid) return null;
2427
- const rowKey = pageIndex !== 0 ? getRowKey(previousPageData) : void 0;
2428
- const args = transformArg(formValues, rowKey);
2429
- const queryString = qs.stringify(args);
2430
- return queryString ? `${action}?${qs.stringify(args)}` : action;
2431
- };
2432
- const { game } = useGameStore();
2433
- const { usePermissionApiV2, gameApiV2 } = useToolkitsContext((state) => state);
2434
- const { accessible, isLoading } = usePermission(code, {
2435
- headers: {
2436
- [APP_ID_HEADER_NAME]: game ? isGlobal ? "global" : String(gameApiV2 ? game.game_id : game.id) : ""
2437
- }
2438
- });
2439
- const _headers = useMemo(() => {
2440
- const newHeaders = new Headers(typeof headers === "function" ? headers(form) : headers);
2441
- if (usePermissionApiV2) {
2442
- if (isGlobal) {
2443
- newHeaders.set(APP_ID_HEADER_NAME, "global");
2444
- } else if (game) {
2445
- newHeaders.set(APP_ID_HEADER_NAME, String(game.id));
2446
- }
2447
- }
2448
- return newHeaders;
2449
- }, [usePermissionApiV2, isGlobal, game, headers]);
2450
- const {
2451
- data,
2452
- size,
2453
- setSize,
2454
- isValidating: isListValidating
2455
- } = useSWRInfinite(
2456
- getKey,
2457
- (arg) => {
2458
- return request(arg, {
2459
- headers: _headers
2460
- }).then((response) => response.data);
2461
- },
2462
- {
2463
- shouldRetryOnError: false,
2464
- revalidateOnFocus: false,
2465
- revalidateFirstPage: false
2466
- }
2467
- );
2468
- const dataSource = getDataSource(data);
2469
- const isLoadingMore = isListValidating || size > 0 && data && typeof data[size - 1] === "undefined";
2470
- const isReachingEnd = typeof hasMore !== "undefined" ? !hasMore(data) : true;
2471
- const isEmpty = !dataSource || dataSource.length === 0;
2472
- const onConfirm = async () => {
2473
- const values = await form.getFieldsValue();
2474
- setFormValues(values);
2475
- try {
2476
- await form.validateFields();
2477
- setSize(1);
2478
- setIsValid(true);
2479
- } catch (_) {
2480
- setSize(0);
2481
- setIsValid(false);
2482
- }
2483
- };
2484
- const loadMore = () => {
2485
- setSize(size + 1);
2486
- };
2487
- const onReset = async () => {
2488
- try {
2489
- form.resetFields();
2490
- await form.validateFields({ validateOnly: true });
2491
- setSize(1);
2492
- } catch (_) {
2493
- setSize(0);
2494
- }
2495
- };
2496
- useEffect(() => {
2497
- if (accessible) {
2498
- form.validateFields({ validateOnly: true }).then((values) => {
2499
- setFormValues(values);
2500
- setIsValid(true);
2501
- }).catch(() => {
2502
- setIsValid(false);
2503
- });
2504
- }
2505
- }, [accessible]);
2506
- if (isLoading) {
2507
- return /* @__PURE__ */ jsx(
2508
- Spin,
2509
- {
2510
- style: {
2511
- display: "flex",
2512
- justifyContent: "center",
2513
- alignItems: "center",
2514
- height: 300
2515
- }
2516
- }
2517
- );
2518
- }
2519
- if (!accessible) {
2520
- return /* @__PURE__ */ jsx(Result, { status: 403, subTitle: t("global.noEntitlement") });
2521
- }
2522
- return /* @__PURE__ */ jsxs(Fragment, { children: [
2523
- renderForm ? /* @__PURE__ */ jsx(
2524
- FilterFormWrapper_default,
2525
- {
2526
- extras: extras?.map((extra) => ({
2527
- key: extra.key,
2528
- children: typeof extra.children === "function" ? extra.children(form) : extra.children
2529
- })),
2530
- onReset,
2531
- onConfirm,
2532
- children: renderForm(form)
2533
- }
2534
- ) : /* @__PURE__ */ jsx(Form, { form }),
2535
- /* @__PURE__ */ jsx(Table, { ...tableProps, dataSource, loading: isLoadingMore, pagination: false }),
2536
- !isEmpty && /* @__PURE__ */ jsx(
2537
- Button,
2538
- {
2539
- block: true,
2540
- loading: isLoadingMore,
2541
- type: "link",
2542
- htmlType: "button",
2543
- disabled: isLoadingMore || isReachingEnd,
2544
- onClick: loadMore,
2545
- children: isLoadingMore ? t("InfiniteList.loadingText") : isReachingEnd ? t("InfiniteList.reachEndText") : t("InfiniteList.loadMoreText")
2546
- }
2547
- )
2548
- ] });
2549
- };
2550
- var InfiniteList_default = InfiniteList;
2551
-
2552
- // src/index.ts
2553
- init_layout();
2554
- init_navMenu();
2555
- init_permissionButton();
2556
- init_queryList();
2557
- init_requireGame();
2558
-
2559
- // src/components/requirePermission/RequirePermission.tsx
2560
- init_constants();
2561
- init_permission();
2562
- init_locale();
2563
- var RequirePermission = (props) => {
2564
- const { code, isGlobal, children } = props;
2565
- const { accessible, isValidating } = usePermission(
2566
- code,
2567
- isGlobal ? { headers: { [APP_ID_HEADER_NAME]: "global" } } : void 0
2568
- );
2569
- const { t } = useTranslation();
2570
- if (isValidating) {
2571
- return /* @__PURE__ */ jsx(
2572
- Spin,
2573
- {
2574
- style: {
2575
- display: "flex",
2576
- justifyContent: "center",
2577
- alignItems: "center",
2578
- height: 200
2579
- }
2580
- }
2581
- );
2582
- }
2583
- if (!accessible) {
2584
- return /* @__PURE__ */ jsx(Result, { status: "403", subTitle: t("global.noEntitlement") });
2585
- }
2586
- return /* @__PURE__ */ jsx(Fragment, { children });
2587
- };
2588
- var RequirePermission_default = RequirePermission;
2589
-
2590
- // src/index.ts
2591
- init_userWidget();
2592
- init_constants();
2593
- init_formModal();
2594
- init_modal();
2595
- init_permission();
2596
- init_token();
2597
-
2598
- // src/pages/notFound/index.tsx
2599
- init_locale();
2600
- var NotFound = (props) => {
2601
- const { redirectUrl } = props;
2602
- const navigate = useNavigate();
2603
- const { t } = useTranslation();
2604
- return /* @__PURE__ */ jsx("div", { className: "h-screen flex justify-center items-center", children: /* @__PURE__ */ jsx(
2605
- Result,
2606
- {
2607
- status: "404",
2608
- title: "404",
2609
- subTitle: t("NotFound.subTitle"),
2610
- extra: redirectUrl && /* @__PURE__ */ jsx(
2611
- Button,
2612
- {
2613
- type: "primary",
2614
- onClick: () => {
2615
- navigate(redirectUrl);
2616
- },
2617
- children: t("NotFound.buttonText")
2618
- }
2619
- )
2620
- }
2621
- ) });
2622
- };
2623
- var notFound_default = NotFound;
2624
- init_locale();
2625
- init_queryList();
2626
- var { Option } = Select;
2627
- var OperationLogList = () => {
2628
- const { t } = useTranslation();
2629
- const columns = [
2630
- {
2631
- key: "username",
2632
- title: t("global.username"),
2633
- dataIndex: "uname",
2634
- width: 100
2635
- },
2636
- {
2637
- key: "label",
2638
- title: t("global.label"),
2639
- dataIndex: "label",
2640
- width: 150
2641
- },
2642
- {
2643
- key: "method",
2644
- title: t("global.method"),
2645
- dataIndex: "method",
2646
- width: 100
2647
- },
2648
- {
2649
- key: "route",
2650
- title: t("global.route"),
2651
- dataIndex: "route",
2652
- width: 200
2653
- },
2654
- {
2655
- key: "request",
2656
- title: t("global.request"),
2657
- dataIndex: "request",
2658
- render(value) {
2659
- return /* @__PURE__ */ jsx(ExpandableParagraph_default, { children: value });
2660
- }
2661
- },
2662
- {
2663
- key: "response",
2664
- title: t("global.response"),
2665
- dataIndex: "response",
2666
- render(value) {
2667
- return /* @__PURE__ */ jsx(ExpandableParagraph_default, { children: value });
2668
- }
2669
- },
2670
- {
2671
- key: "creation_time",
2672
- title: t("global.creationTime"),
2673
- dataIndex: "ctime",
2674
- width: 200,
2675
- render(value) {
2676
- return dayjs(value).format("YYYY-MM-DD HH:mm:ss");
2677
- }
2678
- }
2679
- ];
2680
- return /* @__PURE__ */ jsx(Card, { title: "\u64CD\u4F5C\u65E5\u5FD7", children: /* @__PURE__ */ jsx(
2681
- QueryList_default,
2682
- {
2683
- isGlobal: true,
2684
- rowKey: "id",
2685
- code: "300001",
2686
- columns,
2687
- tableLayout: "fixed",
2688
- route: "/api/usystem/log/list",
2689
- getTotal: (response) => response?.Total,
2690
- getDataSource: (response) => response?.List,
2691
- renderForm: (form) => /* @__PURE__ */ jsxs(Form, { form, layout: "inline", children: [
2692
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.username"), name: "uname", children: /* @__PURE__ */ jsx(Input, { allowClear: true }) }),
2693
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.route"), name: "route", children: /* @__PURE__ */ jsx(Input, { allowClear: true }) }),
2694
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.method"), name: "method", children: /* @__PURE__ */ jsxs(Select, { allowClear: true, style: { width: "100px" }, children: [
2695
- /* @__PURE__ */ jsx(Option, { value: "get", children: "GET" }),
2696
- /* @__PURE__ */ jsx(Option, { value: "post", children: "POST" })
2697
- ] }) }),
2698
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.label"), name: "label", children: /* @__PURE__ */ jsx(Input, { allowClear: true }) })
2699
- ] })
2700
- }
2701
- ) });
2702
- };
2703
- var operationLogList_default = OperationLogList;
2704
- var UserList2 = lazy(() => Promise.resolve().then(() => (init_userList(), userList_exports)));
2705
- var RoleList2 = lazy(() => Promise.resolve().then(() => (init_roleList(), roleList_exports)));
2706
- var RoleDetail2 = lazy(() => Promise.resolve().then(() => (init_roleDetail(), roleDetail_exports)));
2707
- var permission_default = /* @__PURE__ */ jsxs(Routes, { children: [
2708
- /* @__PURE__ */ jsx(Route, { index: true, element: /* @__PURE__ */ jsx(Navigate, { to: "user" }) }),
2709
- /* @__PURE__ */ jsx(Route, { path: "user", element: /* @__PURE__ */ jsx(UserList2, {}) }),
2710
- /* @__PURE__ */ jsx(Route, { path: "role", element: /* @__PURE__ */ jsx(RoleList2, {}) }),
2711
- /* @__PURE__ */ jsx(Route, { path: "role/:name", element: /* @__PURE__ */ jsx(RoleDetail2, {}) })
2712
- ] });
2713
-
2714
- // src/pages/signIn/index.tsx
2715
- init_locale();
2716
- init_logo();
2717
- init_constants();
2718
- init_token();
2719
- init_request();
2720
-
2721
- // src/pages/signIn/background.svg
2722
- var background_default = 'data:image/svg+xml,<svg xml:space="preserve" style="enable-background:new 0 0 6000 4000;" viewBox="0 0 6000 4000" y="0px" x="0px" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1">%0A<style type="text/css">%0A%09.Graphic_x0020_Style_x0020_100{fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_101{fill:url(%23SVGID_1_);}%0A%09.Graphic_x0020_Style_x0020_102{fill:url(%23SVGID_2_);}%0A%09.Graphic_x0020_Style_x0020_104{fill:%23DB6767;}%0A%09.Graphic_x0020_Style_x0020_105{fill:%23FFDE70;}%0A%09.Graphic_x0020_Style_x0020_106{fill:%23FFB114;}%0A%09.Graphic_x0020_Style_x0020_107{fill:%236584C6;}%0A%09.Graphic_x0020_Style_x0020_108{fill:%23102140;}%0A%09.Graphic_x0020_Style_x0020_109{fill:%233B546B;}%0A%09.Graphic_x0020_Style_x0020_110{fill:%23152A52;}%0A%09.Graphic_x0020_Style_x0020_111{fill:%23E8766F;}%0A%09.Graphic_x0020_Style_x0020_112{fill:%23EF5668;}%0A%09.Graphic_x0020_Style_x0020_113{fill:%23FC9590;}%0A%09.Graphic_x0020_Style_x0020_114{fill:%23912433;}%0A%09.Graphic_x0020_Style_x0020_115{opacity:0.5;fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_116{fill:%231A1A1A;}%0A%09.Graphic_x0020_Style_x0020_117{fill:%23535353;}%0A%09.Graphic_x0020_Style_x0020_118{fill:%23DBD2DB;}%0A%09.Graphic_x0020_Style_x0020_119{fill:%234D73C6;}%0A%09.Graphic_x0020_Style_x0020_120{fill:%23D1334A;}%0A%09.Graphic_x0020_Style_x0020_123{fill:url(%23SVGID_3_);}%0A%09.st0{fill:url(%23SVGID_4_);}%0A%09.st1{fill:url(%23SVGID_5_);}%0A%09.st2{fill:url(%23SVGID_6_);}%0A%09.st3{fill:%239D8A9D;}%0A%09.st4{fill:url(%23SVGID_7_);}%0A%09.st5{fill:url(%23SVGID_8_);}%0A%09.st6{fill:%233B546B;}%0A%09.st7{fill:%23A8A1A8;}%0A%09.st8{fill:%23DBD2DB;}%0A%09.st9{fill:%23FFFFFF;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st10{fill:%23339E7E;}%0A%09.st11{fill:none;stroke:%2310663F;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st12{fill:%2300593B;}%0A%09.st13{fill:none;stroke:%233DBE88;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st14{fill:none;stroke:%23134411;stroke-width:8.0149;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st15{fill:%23EF5668;}%0A%09.st16{fill:%23FC9590;}%0A%09.st17{fill:%23102140;}%0A%09.st18{fill:%23DB6767;}%0A%09.st19{fill:%231A1A1A;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st20{fill:%23FFFFFF;}%0A%09.st21{fill:%23535353;}%0A%09.st22{fill:%23F9EBF9;}%0A%09.st23{fill:%23D896D8;}%0A%09.st24{fill:%238E3D8E;}%0A%09.st25{fill:%23CA74CA;}%0A%09.st26{fill:%23D590D5;}%0A%09.st27{fill:%23160A16;}%0A%09.st28{fill:%23384A6E;}%0A%09.st29{fill:%23B7C0D4;}%0A%09.st30{fill:%23E8766F;}%0A%09.st31{fill:%23FFB114;}%0A%09.st32{fill:%23FFDE70;}%0A%09.st33{fill:%23434343;}%0A%09.st34{fill:%23664708;}%0A%09.st35{fill:%23D9D9D9;}%0A%09.st36{fill:url(%23SVGID_9_);}%0A%09.st37{fill:url(%23SVGID_10_);}%0A%09.st38{fill:url(%23SVGID_11_);}%0A%09.st39{fill:url(%23SVGID_12_);}%0A</style>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_1_">%0A%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_2_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_3_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A</linearGradient>%0A<g>%0A%09<linearGradient y2="3014.9536" x2="4941.2124" y1="3014.9536" x1="1288.5804" gradientUnits="userSpaceOnUse" id="SVGID_4_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1288.6,2793.9c55.3,134.1,186.5,387.6,453.7,503.3c220.8,95.6,442.9,57.4,694.7,14.2%0A%09%09c343.1-59,344.3-140.4,552.9-134.7c282.5,7.8,357.3,159.3,673.4,219.7c66.5,12.7,309.6,47.5,574.2-28.4%0A%09%09c360.6-103.4,734.8-407.2,701.8-560C4895.4,2605.9,4103.5,2505.3,1288.6,2793.9z" class="st0"></path>%0A%09<linearGradient y2="1994.5433" x2="5456.5684" y1="1994.5433" x1="686.3356" gradientUnits="userSpaceOnUse" id="SVGID_5_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5428.3,1649.1c-131.4-612.4-697.6-977.3-1155.4-1020.7c-232.1-22-245.1,56.7-616.7,117%0A%09%09c-821.7,133.2-1081-199.5-1850.1-85.1c-341.2,50.8-687.6,102.3-914.4,382.8C519.9,1502.7,718.2,2270,973.9,2621.3%0A%09%09c165.2,227,392.7,363.9,392.7,363.9c68.9,41.5,168.6,100.4,304.8,131.1c237.9,53.7,359.9-29.9,560-42.5%0A%09%09c342.7-21.6,401.6,197.2,772.6,276.4c190.7,40.7,257.4,0.5,1084.5-212.6c811.7-209.1,858.2-198.9,974.7-297.7%0A%09%09C5379.4,2571.8,5521.7,2084.7,5428.3,1649.1z M2709.5,2042.7v-2.7V2042.7z" class="st1"></path>%0A%09<linearGradient y2="1859.5726" x2="5227.9292" y1="1859.5726" x1="1116.5316" gradientUnits="userSpaceOnUse" id="SVGID_6_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5148.1,1664.4c-146.3-421.8-552.5-838.3-943.2-819c-297.4,14.6-412.5,273.3-678.4,215.1%0A%09%09c-227.7-49.8-217.9-255.8-471.6-405.4c-401.7-236.8-1083-107.4-1265.9,223.4c-99.3,179.7-11.7,346.7-173.7,521.2%0A%09%09c-113.5,122.3-192.5,78.9-314.4,198.6c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1%0A%09%09c827.4,146.2,1654.7,292.3,2482.1,438.5c80.8,13.1,529.4,77.9,879.7-216.7C5295.8,2609,5272.6,2023.2,5148.1,1664.4z%0A%09%09 M2709.5,2042.7v-2.7V2042.7z" class="st2"></path>%0A%09<path d="M5224.3,2042.5c-143.7-88.6-413.9-68.2-740.1-95.9c-488.7-41.5-1188.7,312.8-1437,221.4%0A%09%09c-95.1-35-167.4-141.7-220.4-260v1053.6c291.4,51.5,582.8,103,874.2,154.4l1292.2-269.1C5190,2615.6,5243.4,2314,5224.3,2042.5z" class="st3"></path>%0A%09<linearGradient y2="1741.7239" x2="2757.678" y1="1741.7239" x1="1116.5317" gradientUnits="userSpaceOnUse" id="SVGID_7_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.3,179.7-11.7,346.7-173.7,521.2c-113.5,122.3-192.5,78.9-314.4,198.6%0A%09%09c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1c411.1,72.6,822.2,145.3,1233.4,217.9V550.2%0A%09%09C2377.7,484.9,1931.7,620.4,1789.1,878.4z M2709.5,2042.7v-2.7V2042.7z" class="st4"></path>%0A%09<linearGradient y2="1215.4698" x2="2649.5779" y1="1215.4698" x1="1137.9542" gradientUnits="userSpaceOnUse" id="SVGID_8_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.4,179.7-11.7,346.7-173.7,521.2c-113.6,122.3-192.5,78.9-314.4,198.6%0A%09%09c-79.1,77.6-134.7,183-163,298.8c82.9-108.4,187.6-189.5,319.3-210.4c445.6-70.8,892.8,45.1,1192.3-113.7V537.1%0A%09%09C2296.9,511.3,1918.4,644.5,1789.1,878.4z" class="st5"></path>%0A%09<polygon points="1937.1,644.5 1937.1,2265.3 1979.7,2269.9 1983,640.9" class="st6"></polygon>%0A%09<path d="M2757.7,550.2c-35.6-6.1-71.7-10.5-108.1-13.1v1035.7c38.6-20.4,74.7-45.4,108.1-76V550.2z" class="st7"></path>%0A%09<path d="M1117.4,850.5c-15.5,9-30.8,18.5-45.8,28.5v1689.5l42.6,5.1L1117.4,850.5z" class="st6"></path>%0A%09<path d="M2826.8,564.5c-22.7-5.5-45.8-10.3-69.1-14.3v2399.3c23,4.1,46.1,8.1,69.1,12.2V564.5z" class="st8"></path>%0A%09<g>%0A%09%09<path d="M1121,2361c0,0-98.3-110.7,84.2-222.1c-25.3,43.4-118,92.3-52.4,202.9%0A%09%09%09c27.1,62.9-12.8,89.7-12.8,89.7S1080.6,2436.5,1121,2361z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<g>%0A%09%09%09<path d="M1282.2,2470.4c-15.5,28.9-215.1,26.5-315.7,23.4c-1.1-4.4-2.1-8.7-3.1-13c-1.8-7.8-3.5-15.5-5-23.2%0A%09%09%09%09C1035.2,2452.4,1299.9,2437.2,1282.2,2470.4z" class="st9"></path>%0A%09%09%09<path d="M1282.2,2470.4l-16.7,216.9c-25.9,39.1-25.5,89.5-36,137.5c-4.3,22.7-20.4,30.2-38.6,29.2%0A%09%09%09%09c-39.4-34.1-82.1-74.2-124.2-119.9c-50-80.3-81.3-162.6-100.3-240.3C1067.1,2496.9,1266.7,2499.4,1282.2,2470.4z" class="st9"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1331.3,2151c12.7,12.2,30.7,16,43,17c5.5-2.7,11.1-5.7,16.6-8.9c24.3-13.9,39.8-38.8,49.7-66.7%0A%09%09%09%09c-16.1,5.8-51.8,17.4-67.4,11.2c-20.4-8.1-12.5-17.1-3-14.1c11.7,6,55.7-6.5,75.3-12.5c4.1-14.9,6.8-30.2,8.6-44.8%0A%09%09%09%09c-13.9,8.3-34.9,15.8-44.4,12.6c-12.3-4.2-7.4-14.4,2.7-13.2c7.4,0.8,31.4-12,43.6-18.8c2.2-29.7,0.8-53.4,0.4-59.6%0A%09%09%09%09c-0.1-1-0.1-1.6-0.1-1.6s-29-8.6-66.9-14.1c-8,8.1-19.9,20.8-24.9,29.3c-8,13.3-11.7,24.3-18.1,22.2%0A%09%09%09%09c-12.7-6.6,13.3-37.6,27.8-53.4c-16.5-1.8-34.1-2.9-51.4-2.3c-51.5,40.6-24.5,76.1-44.7,71.8c-17.5-3.7,13.5-51.5,26.6-70.5%0A%09%09%09%09c-16.3,1.8-31.9,5.4-45.3,11.6c-12.1,6.2-22.8,12.2-32.4,18.1c-14.5,34.4,20,53.7,1.7,57.9c-14.3,3.3-16.2-30.4-16.2-48.5%0A%09%09%09%09c-124.9,86.7,2.8,144.8,2.8,144.8c0.1,0.5,0.2,1,0.3,1.6c11.4,70.5,70.1,82,134.6,58.3c-10-8-28.1-22.8-31-26.1%0A%09%09%09%09C1315,2147.7,1321.1,2139.9,1331.3,2151z" class="st10"></path>%0A%09%09%09<path d="M1433.5,1969.4c0,0-146,112.4-218.2,149.3" class="st11"></path>%0A%09%09%09<path d="M1396.4,2051c0,0-33.9,4.5-68.8-3.9" class="st11"></path>%0A%09%09%09<path d="M1316.2,1996.6c0,0-20.5,49.4-10.8,65.9" class="st11"></path>%0A%09%09%09<path d="M1352,2122.6c0,0-59.6-20.8-79-38.4" class="st11"></path>%0A%09%09%09<path d="M1216.4,2052.4c0,0-4.7,37.9,18.4,55.6" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M882.7,2066.4c10.6,1.3,21,2.9,31.1,4.8c13.6,13.1,30.4,35.2,30.3,62.7c-1.8,23.8,15.4,19.7,16.3,10%0A%09%09%09%09c0.7-7-2.6-43-4.5-62.6c108.1,32.2,164.1,103.7,86.8,204.4c0,0,80.5,195.4-178.5,184.8c22.7-22.7,62.8-66.9,41.4-76.4%0A%09%09%09%09c-27.3-12.2-10,45.1-70.7,74.5c-19-1.7-39.5-4.4-61.7-8.2c-24-5.1-47.2-15.4-69.1-28.8c39.7-11.4,137-41.9,120.6-63.3%0A%09%09%09%09c-18.9-24.6-31,45.8-143.9,47.6c-21.5-15.8-41.4-33.9-58.9-52.1c37.3-6,107.4-20.1,100.5-40.6c-5.2-8.8-23.3,1.5-49.6,10.6%0A%09%09%09%09c-16.7,5.7-46.9,10.3-66.7,12.9c-38.7-43.2-62.7-81.8-62.7-81.8s30.7-35.6,77.3-76.8c23.3,3.1,68.1,9.9,76,18.1%0A%09%09%09%09c10.7,11.2,29.3,3.1,19.9-14.1c-7.3-13.2-42.1-23.8-69.1-26.7c20.4-16.6,42.9-33.2,66.6-48c31,11.1,99.6,37.5,106.2,56.3%0A%09%09%09%09c7.6,12.8,28.5,9,14.2-20.6c-10.9-22.7-68.4-42.4-95-50.5C786.1,2077.1,836.1,2060.7,882.7,2066.4z" class="st12"></path>%0A%09%09%09<path d="M593.2,2264.5c0,0,316.6-1.6,449.7,21.1" class="st13"></path>%0A%09%09%09<path d="M740.2,2197.3c0,0,46.4,26.9,77.7,70.8" class="st13"></path>%0A%09%09%09<path d="M768.3,2342.5c0,0,86.7-42.5,95.7-72.6" class="st13"></path>%0A%09%09%09<path d="M883.4,2149.7c0,0,45.4,83.2,46.7,123.9" class="st13"></path>%0A%09%09%09<path d="M958.3,2368c0,0,53.3-43.2,47.7-87.5" class="st13"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M924,1810c7.6,5.4,14.9,11,21.8,16.7c4.5,17.1,7.4,43.4-5.2,67.8c-12.3,20.5,2.9,23.7,8,15.4%0A%09%09%09%09c3.7-5.9,17.7-39.3,25.2-57.5c68.8,71.8,79.4,157.7-26.4,216.5c0,0-27.1,205.9-222.4,93.1c27.9-11.1,79.1-34.4,67-51.4%0A%09%09%09%09c-15.5-21.8-28.3,36.1-88.6,38c-13.9-9.1-28.5-19.7-43.9-32c-16.2-14.1-29.4-32.6-40.2-53.2c35.9,5.7,125,17.5,122.1-8.1%0A%09%09%09%09c-3.3-29.5-44.9,28.3-132.9-15.1c-9.4-22.6-16.5-46.7-21.7-69.8c31.6,9.6,92.2,25,96.2,4c0-9.9-18.7-8-43.2-10.4%0A%09%09%09%09c-15.5-1.6-41-9.5-57.5-15.1c-10.2-53.9-11.1-97.8-11.1-97.8s40-19.4,94.8-37.4c16.6,12,48.1,36,50.4,46.4%0A%09%09%09%09c3.2,14.2,21.3,14.5,21.8-4.6c0.4-14.7-21.6-38-41.2-51.3c23.4-6.6,48.4-12.4,73.4-16.1c18.9,22.3,59.8,73.1,56.3,92.5%0A%09%09%09%09c0,14.5,17.9,19.4,20.4-12.7c1.9-24.5-33.5-65-50.3-82.8C844.5,1781,890.6,1786.3,924,1810z" class="st10"></path>%0A%09%09%09<path d="M609.7,1870.6c0,0,245.3,125,337.8,198.4" class="st11"></path>%0A%09%09%09<path d="M754.1,1869.5c0,0,23.6,42.4,27.7,94" class="st11"></path>%0A%09%09%09<path d="M709.4,2009.9c0,0,86.4-3.2,107.1-26.3" class="st11"></path>%0A%09%09%09<path d="M886.5,1884.4c0,0-2.9,92.1-20.5,128.9" class="st11"></path>%0A%09%09%09<path d="M844.5,2108.4c0,0,60.9-17.2,76.8-58.8" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1245.1,1794.2c20.8-5.3,34.8-21,42.5-32.8c-0.2-7.2-0.7-14.6-1.4-22.1c-3.2-32.9-23.8-63.7-50.7-90.6%0A%09%09%09%09c-1.8,19.7-7.4,62.7-22.8,74.5c-20.1,15.5-26.4,2-17.9-5.6c13.2-8.1,22.1-59.9,25.4-83.2c-15-13.2-31.3-25.3-47.2-36%0A%09%09%09%09c2.2,19-0.2,44.7-9,52.2c-11.4,9.8-20.6-1.3-13.9-10.8c4.9-7,2.8-38.8,1.4-55.2c-33.1-20.3-61.3-33.5-68.7-36.8%0A%09%09%09%09c-1.2-0.6-1.9-0.9-1.9-0.9s-25.3,23.8-51.7,58.6c5.2,13,13.5,32.7,20.6,42.9c11.1,16.1,21.9,26.5,16,31.7%0A%09%09%09%09c-14.4,8.7-36.4-36.3-47-60.5c-10.9,15.5-21.4,32.5-29.9,50.2c19.7,76.5,74.9,71.1,59.3,88.7c-13.5,15.3-52.4-45-67.4-69.8%0A%09%09%09%09c-6.6,17.5-10.6,35.3-10.6,52.6c0.7,15.9,2,30.4,3.8,43.6c32.1,35.6,72.7,12.7,67.8,33.6c-3.8,16.4-43.7-2.3-64.6-13.4%0A%09%09%09%09c33.9,178.4,168.8,85.6,168.8,85.6c0.7,0.2,1.3,0.5,2,0.7c87.5,31.6,132-20.3,138.8-99.5c-14.6,5.1-41.3,14.3-46.7,15.2%0A%09%09%09%09C1232.6,1808.5,1226.7,1797.5,1245.1,1794.2z" class="st10"></path>%0A%09%09%09<path d="M1089.2,1580.6c0,0,52.5,215.2,56.8,310.2" class="st11"></path>%0A%09%09%09<path d="M1164,1667.7c0,0-12.8,36.8-41,66.6" class="st11"></path>%0A%09%09%09<path d="M1058.6,1715c0,0,46.2,50.8,70.4,51.1" class="st11"></path>%0A%09%09%09<path d="M1223.1,1755.9c0,0-55.6,47.1-86.3,55.9" class="st11"></path>%0A%09%09%09<path d="M1070,1849.3c0,0,41.4,27.9,74,15.4" class="st11"></path>%0A%09%09</g>%0A%09%09<path d="M1146.1,1890.8c0,0,14.8,158.8-25,350.6" class="st14"></path>%0A%09%09<path d="M937.7,2061.4c0,0,170.2,50.3,183.3,183.5" class="st14"></path>%0A%09%09<path d="M1029.4,2285.6c13.6-4.9,80.6-4.6,99.5,8.8" class="st14"></path>%0A%09%09<path d="M1223.3,2114.4c0,0-98.3,30.9-77.3,232.1" class="st14"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M2812.2,2216.6c0,0,60.8,180.6,68.3,350.2c-193.8,44.1-832.8-6.2-832.8-6.2%0A%09%09%09s14-297.1,80.4-332.6C2416.5,2250.4,2812.2,2216.6,2812.2,2216.6z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M2880.5,2566.9c-7.5-169.6-68.3-350.2-68.3-350.2s-395.8,33.8-684.1,11.4%0A%09%09%09c-17.2,9.2-30.9,36-41.7,70.6c61.5,25.5,298.6,104,672.8-9.3c-4.1,90.6,73.5,94.8,73.5,94.8c12.1,42.2,11.5,131.9,9.7,189.5%0A%09%09%09C2856.4,2571.7,2869.2,2569.4,2880.5,2566.9z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<path d="M2025.5,1497.7c-85.5,55.5-169,100.9-241.9,164.1c7.6,4.2,13.3,9.3,16.2,15.7%0A%09%09%09c0,0,180.9-97,314-235c-1,0.6-1.9,1.2-2.9,1.8C2081.6,1463,2054.9,1479,2025.5,1497.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2229.4,1095.4c-25.7-0.9-176.5,78.1-272.1,168.2c-95.6,90.1-340.3,323.9-337.5,369.2%0A%09%09%09c19.6,10.4,121.7,5.7,163.9,29c72.9-63.1,156.4-108.6,241.9-164.1c29.4-18.7,56.1-34.7,85.5-53.4c0.9-0.7,1.9-1.2,2.9-1.8%0A%09%09%09c13.7-14.2,26.8-28.8,39.2-43.8C2153.1,1398.7,2255.2,1096.3,2229.4,1095.4z" class="st15"></path>%0A%09%09<path d="M2771.6,1674.1c-70.5,28.9-142.4,50.7-222.4,50.7c-37.4,0-80.1,18.7-104.2,53.4%0A%09%09%09c-61.4,98.9-133.6,184.3-232.4,229.8c-32.1,14.6-74.5,15.6-110.7,1.8c-16.7,87.9-31.4,153-31.4,153s68.3,148.9,349.6,142.7%0A%09%09%09c281.3-6.2,397.1-37.2,407.5-93.1C2841.2,2157.3,2787.4,1837.7,2771.6,1674.1z M2709.5,2042.7v-2.7V2042.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2767.4,1598.2c4.1-101.3,24.8-260.6-97.2-366.1c-122-105.5-384.9-173.4-473.5-126.7l-76.5,292.8%0A%09%09%09c11.8,55.4,25.9,140.8,27.6,239.6c1.7,97.6-23.8,254.9-46,372c36.3,13.8,78.6,12.7,110.7-1.8c98.9-45.4,171-130.9,232.4-229.8%0A%09%09%09c24-34.7,66.8-53.4,104.2-53.4c80,0,151.9-21.8,222.4-50.7C2768.4,1641.5,2766.7,1615.1,2767.4,1598.2z" class="st15"></path>%0A%09%09<path d="M2357.9,1064.1c0,0-9-52.4-22.1-33.8c-13.1,18.6-10.3,92.4,9,98.6" class="st16"></path>%0A%09%09<path d="M2626.6,1195.8c5.3-16-5.3-34.7-24-34.7c-74.8,5.3-155,13.4-224.4-18.7c-23.9-11-31.4-34.7-32.8-58.9%0A%09%09%09c-12.4,46.4-71.3,284.2,13.2,332.7c71.4,40.9,184.3-8.4,256.1-105.5C2581,1285.5,2613.8,1234.5,2626.6,1195.8z" class="st16"></path>%0A%09%09<path d="M2517.2,949.8c-125.5-23.1-169.6,125.8-169.6,125.8s-0.8,2.8-2.2,7.9%0A%09%09%09c1.4,24.2,8.9,47.9,32.8,58.9c69.5,32.1,149.6,24,224.4,18.7c18.7,0,29.4,18.7,24,34.7c-12.9,38.6-45.6,89.7-12,114.9%0A%09%09%09c22.5-30.4,41-65.6,52.8-104.1C2717.1,1045.3,2621.6,969,2517.2,949.8z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2650.9,1208c2.1-1.4,41.5-29.8,53.8,4.1c10.6,31.7-40.8,91.7-77.6,80.7l-7.2-3.4" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2641.7,1253.5c0,0,22.4-60.7,39.3-38c16.9,22.7-50.4,66.6-53,66.6C2625.5,1282,2641.7,1253.5,2641.7,1253.5%0A%09%09%09z" class="st16"></path>%0A%09%09<path d="M2695.3,1256.7L2573,1608.5c0,0-4.1,73.6,8.3,89.5c-74.5,98.7-223.4,363.4-223.4,363.4%0A%09%09%09c93.1,24.8,111.9,120,92.1,155.1c108.5-97.2,400.1-407.5,406.4-575C2879.1,1534.1,2854.6,1361.8,2695.3,1256.7z" class="st15"></path>%0A%09%09<path d="M2837.6,1430.3c30.9,169.9,7.7,183.1-75,353.6%0A%09%09%09c-61.7,127.1-230.6,287.4-312.6,360.9c9.9,28.2,8.9,56.1,0,71.9c108.5-97.2,400.1-407.5,406.4-575%0A%09%09%09C2868.7,1583.2,2867.1,1505.7,2837.6,1430.3z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M2680.8,1197.5c-6.7,0-12.5,1.5-17.3,3.9c-21.5,10.5-26.4,38.8-26.4,38.8s-8.9,23.1-16.3,12.6%0A%09%09%09c-0.8-1.2-1.6-2.7-2.3-4.8c18.6-24.8,18.6-85.5,11.7-103.4c-6.9-17.9-99.3,26.2-212.3-13.8c-68.9-29.9-68.1-84.2-59.4-118%0A%09%09%09c4.5-17.6,11.1-29.6,11.1-29.6c8.7-20.6,14.7-76,34.2-70.3c40.6,11.7,106.8-29.1,164.9-24.4c49.8,4.1,97.3,36.1,128.3,67.6%0A%09%09%09c18.2,18.5,30.7,36.8,34.4,49.1C2741.5,1038.4,2700.5,1163.4,2680.8,1197.5z" class="st17"></path>%0A%09%09<path d="M2759.2,2289.4c0,0-18.6,62.6,23.2,86c41.8,23.4,50.2,8.7,50.2,8.7S2751.6,2373.8,2759.2,2289.4z" class="st9"></path>%0A%09%09<path d="M1712.9,1890.5c-52.6-85.2-72.3-184.5-63.6-284.7c-5.7,3.2-11.6,6.9-17.5,11%0A%09%09%09c0,0-40.7,64.1,46.2,255.8c-60.7,57.2-63.2,76.8-57.8,148.5c3.8,6,7.7,11.4,11.8,16.3C1628.4,1981.4,1663.8,1922.1,1712.9,1890.5z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M1827.7,1946.4c-2.8-88.2-44.1-69.6-38.6-133.1c5.5-63.4,12.4-109.6,15.9-150.3%0A%09%09%09c3.3-38.4-60.9-110.4-155.6-57.2c-8.8,100.2,10.9,199.5,63.6,284.7c-49.2,31.6-84.5,91-80.9,146.9c42.1,50.6,95,40.7,95,40.7%0A%09%09%09s40.7-51,44.8-68.3c11.7,0.7-32.4,71-32.4,71s7.6,14.2,24.1,13C1780.1,2092.5,1830.4,2034.6,1827.7,1946.4z" class="st16"></path>%0A%09%09<path d="M1679.1,1995l-15.9,55.8c0,0,23.8-50.3,29.3-72C1698.1,1957.1,1679.1,1995,1679.1,1995z" class="st18"></path>%0A%09%09<path d="M1719.7,2081.7c0.5-1.4,56.1-102.4,65.3-88.7c9.2,13.7-42,92.4-42,92.4s-5.3,3.1-3.5-4.7%0A%09%09%09c1.8-7.8,42.7-68.9,35.4-68.5c-7.4,0.5-44.1,60.7-47.8,65.7S1719.7,2081.7,1719.7,2081.7z" class="st18"></path>%0A%09%09<path d="M1686.9,2067.8c0,0,33.5-83.7,43.3-79.9c9.8,3.9-39.4,83.3-39.4,83.3L1686.9,2067.8z" class="st18"></path>%0A%09%09<path d="M1653.4,1961.3c0,0-15.7,62.3-15.2,75C1645.6,2045.3,1657.7,1960.6,1653.4,1961.3z" class="st18"></path>%0A%09%09<path d="M1761.8,2227.6c-54.2-19.3-110.3-23.2-166.4-38.7c-0.1,0-0.2-0.1-0.3-0.1c8.4,8.6,16.7,17.2,25.1,25.7%0A%09%09%09c53.2,60.7,288.8,91.2,288.8,91.2s-10.9-9.9-72.5-89.2c-8.1,3.7-16.2,7.5-24.4,11.1C1796.6,2235.3,1777.3,2233.4,1761.8,2227.6z" class="st19"></path>%0A%09%09<path d="M1267.8,1860.2c0,0,164.6,162.1,327.3,328.6c0.1,0,0.2,0.1,0.3,0.1c56.1,15.5,112.2,19.3,166.4,38.7%0A%09%09%09c15.5,5.8,34.8,7.7,50.3,0c8.2-3.6,16.4-7.4,24.4-11.1c-33.8-43.5-82.8-108-153.6-203.3%0A%09%09%09C1514.7,2038.1,1267.8,1860.2,1267.8,1860.2z" class="st20"></path>%0A%09%09<path d="M1894.6,2339.3c-53.4,8-106.9,10.7-163-2.7c-19-4.7-34.6-13.9-48.5-25.2%0A%09%09%09c15.8,36.7,102.7,87.4,133.9,82.8c31.7-4.6,303.8-96.5,339.7-99.3c35.9-2.8,272.6-59.4,293.2-78.4c6.2-5.7,10.6-21.4,10.5-40.6%0A%09%09%09c-161,58-322,87.3-483.1,141.9C1950.7,2325.9,1921.3,2334,1894.6,2339.3z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2357.9,2061.5c-149.6,34-453,200.5-549.1,192.3c0,0-60.2,7.5-96.1-8.3c-35.9-15.8-83.7-37.4-96.5-28.9%0A%09%09%09c-10.2,6.8,29.5,56.4,52.7,80.6c6,6.2,10.8,10.8,13.5,12.5c0.2,0.6,0.5,1.1,0.7,1.7c13.9,11.3,29.5,20.5,48.5,25.2%0A%09%09%09c56.1,13.4,109.5,10.7,163,2.7c26.7-5.3,56.1-13.4,82.8-21.4c161-54.5,322-83.8,483.1-141.9%0A%09%09%09C2460.3,2131.9,2436.5,2068.5,2357.9,2061.5z" class="st16"></path>%0A%09</g>%0A%09<path d="M5147.8,2758.7c3.3,42.6-104.8,129-220.1,160.2c-111.1,40.4-316.5,84.1-839.1,218.8%0A%09%09c-356.5,91.9-571.8,151.6-716.6,186.6c-191.1,46.2-259.5,49.2-368,26c-51.4-11-96.9-24.7-137.9-40%0A%09%09c-255-95.3-339.6-255.1-634.7-236.4c-200.1,12.7-322,96.2-560,42.5c-136.3-30.7-235.9-89.6-304.8-131.1%0A%09%09c0,0-186.3-112.1-344.2-301.7c-39.9-42.2-73.3-85.6-94.5-130.9l1061.8-81.6L5147.8,2758.7z" class="Graphic_x0020_Style_x0020_118"></path>%0A%09<polygon points="1909,2627.9 2329.7,2696.9 2880.5,2648.9 2839.9,2636 1902.2,2607.7 1873.4,2616.7" class="st21"></polygon>%0A%09<path d="M2902.4,2554.2c0,0,128.1,29.9,198.1,36.5c16.9,26,103.7,26.1,139.2,31.4c35.5,5.3,64.9,60.1,137.9,65%0A%09%09c73,4.9,88.9,32.2,118.2,30.1c29.2-2.1,39.1-54.7,49.7-59.9c10.6-5.2-32-38.9-10.7-45.5C3396.5,2597.2,2902.4,2554.2,2902.4,2554.2%0A%09%09z" class="st21"></path>%0A%09<path d="M3668.6,2761.4c39.6,3,90.3-36.8,169.2-23.5c88.5,14.9,307.2,32.5,354.3-1.4%0A%09%09c61.3,3.3,696.2,65.4,749.1,44.1c52.9-21.3,68-34.5,68-34.5l-1182-107.2c0,0-299.4,44.5-286.7,84.2%0A%09%09C3547.2,2749,3629,2758.4,3668.6,2761.4z" class="Graphic_x0020_Style_x0020_117"></path>%0A%09<path d="M3779.6,3218.3c-115.9-48.9-340.1-136.6-484.1-148c-201.1-15.9-340.3-109.9-337.2-157.7%0A%09%09c3.1-47.8-605.8-113-946.8-126.3c-204.7-8-676.2-112.3-330.9-291.5l-79,6.1c-81.3,57.9-200.4,165.5-77.3,230.8%0A%09%09c174.8,92.7,1373.9,95.9,1387.8,212c13.2,110.3,575.5,195.9,765.9,301.5C3710,3236.7,3743.7,3227.7,3779.6,3218.3z" class="st22"></path>%0A%09<g>%0A%09%09<path d="M4484.2,1461.7v1181h488.7v-1181H4484.2z M4939.2,2561.4h-421.4v-539.8h421.4%0A%09%09%09V2561.4z M4939.2,1982.4h-421.4v-485.5h421.4V1982.4z" class="Graphic_x0020_Style_x0020_107"></path>%0A%09%09<rect height="485.5" width="355.8" class="Graphic_x0020_Style_x0020_118" y="1496.9" x="4583.5"></rect>%0A%09%09<rect height="485.5" width="65.6" class="Graphic_x0020_Style_x0020_119" y="1496.9" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="80.1" class="Graphic_x0020_Style_x0020_119" y="2021.5" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="341.3" class="Graphic_x0020_Style_x0020_118" y="2021.5" x="4597.9"></rect>%0A%09%09<polygon points="5067.7,1559.5 4972.9,1461.7 4975.8,2765.4 5070.3,2765.4" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<polyline points="2442.7,2752.3 2386.8,2825.9 2352.6,2827.7 2416.8,2743.1 2832.6,2738.3 %0A%09%09%092839.9,2747.7" class="Graphic_x0020_Style_x0020_117"></polyline>%0A%09%09<polygon points="2832.6,2738.3 2416.8,2743.1 2352.6,2827.7 2134.5,2839.2 2105.5,2724.6 %0A%09%09%092798.5,2694.4" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="3202.8,2854.8 2364.9,2854.8 2386.8,2825.9 2442.7,2752.3 2839.9,2747.7 %0A%09%09%093134.1,2744.3" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="2839.5,2730.9 2805.3,2687.1 2112.4,2717.2 2141.4,2831.8 2359.4,2820.3 %0A%09%09%092393.7,2818.5 2449.6,2745 2846.8,2740.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09%09<polygon points="3202.8,2848.8 2364.9,2848.8 2386.8,2819.9 2442.7,2746.3 2839.9,2741.7 %0A%09%09%093134.1,2738.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3326.7,2053.5c67.2,11.8,127,45.4,188.5,75.5c-25.6-21.6-54.4-38-66.9-44.7c-69.9-65-238.4-55.8-331.3-54.5%0A%09%09%09c-56.7,0.8-107.4,28.8-147.4,65.5C3076.9,2034.1,3204.5,2033.1,3326.7,2053.5z" class="st23"></path>%0A%09%09<path d="M3390.7,2125.6c29.4,10.7,40.1,48.1,64.1,69.5c33.5,30.3,76.4,36.8,117.6,27.5c-4-13-8.3-25.7-12.8-37.7%0A%09%09%09c-7.5-20.2-25.1-39.4-44.4-55.7c-61.4-30.2-121.3-63.8-188.5-75.5c-6.7-1.1-13.5-2.2-20.2-3.1c2.5,4.5,4.8,9.1,6.8,13.8%0A%09%09%09c6.9,18.8,10.9,38,12.4,57.2C3347.5,2119.7,3369.7,2120.3,3390.7,2125.6z" class="st23"></path>%0A%09%09<path d="M3454.8,2195c-24-21.4-34.7-58.8-64.1-69.5c-21.1-5.3-43.3-5.9-65.1-4.2c6.4,84.5-36.4,169.9-95.2,228.6%0A%09%09%09c-29.4,32.1-61.4,58.8-101.5,82.8c-32.1,21.4-66.8,37.4-101.5,53.4c-41.6,14.5-81.5,4.8-119.8-10.2c3.7,32.6,11.1,70.7,27.1,85.4%0A%09%09%09c2.2,2,149.9,56.5,246.1,29.3c130.3-36.9,227.4-163.5,314.2-210.2c10.9-5.9,21.4-12.4,31.4-19.5l-0.4-14l53.6-33.2%0A%09%09%09c3.8-4.2,7.6-8.5,11.2-12.9c-4.1-26.8-10.7-53.3-18.4-78.3C3531.3,2231.8,3488.3,2225.3,3454.8,2195z" class="st24"></path>%0A%09%09<path d="M2963.9,2113.7l-74.4,244.3c3.2,19.6,7.7,41,13.7,64.4c0.8-0.5,1.1,24.3,4.3,53.6%0A%09%09%09c38.3,15.1,78.3,24.8,119.8,10.2c34.7-16,69.5-32.1,101.5-53.4c40.1-24,72.1-50.8,101.5-82.8c65-65,110.5-162.6,91.4-255.6%0A%09%09%09C3210,2135.2,3083,2108.6,2963.9,2113.7z" class="st25"></path>%0A%09%09<path d="M3321.8,2094.4c-2.1-10.2-4.9-20.2-8.6-30.2c-2-4.6-4.2-9.2-6.8-13.8c-116-16.9-235.4-12.9-336.9,44.9%0A%09%09%09l-5.6,18.4C3083,2108.6,3210,2135.2,3321.8,2094.4z" class="st26"></path>%0A%09%09<path d="M3590.8,2300.8c-3.6,4.4-7.4,8.7-11.2,12.9l12-7.5C3591.4,2304.4,3591.1,2302.6,3590.8,2300.8z" class="st9"></path>%0A%09%09<g>%0A%09%09%09<path d="M3452.4,2090.3c-50.3-112.2-85.1-243.7-193.4-309.5c-17.4-9.7-50.3-13.5-71.6,3.9%0A%09%09%09%09c-34.5,27-36.4,68-35.6,109.5c51.1,42.2,96.7,74.2,118.4,75.2c65,3,117,150.1,192.8,215.4c35.5,30.6,78.2,23.7,113.6,7.7%0A%09%09%09%09c-19.8-3.7-39.3-11.4-54.6-19C3487.2,2158,3467.9,2123.1,3452.4,2090.3z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09%09<path d="M3489,1994.5c-13.8-96.5-49-197.2-111.1-242.1c-62.1-44.9-38.1-160-114.8-199.7%0A%09%09%09%09c-190.3-102-287.5,4.8-333,55.2c-45.5,50.3-4.1,77.2-4.1,77.2s123.9,124.8,225.9,209c-0.9-41.4,1-82.4,35.6-109.5%0A%09%09%09%09c21.3-17.4,54.2-13.5,71.6-3.9c108.3,65.8,143.1,197.3,193.4,309.5c15.5,32.9,34.8,67.7,69.6,83.2c15.3,7.7,34.8,15.3,54.6,19%0A%09%09%09%09c40.3-18.2,71.2-48.2,71.2-48.2S3502.8,2091.1,3489,1994.5z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09%09<path d="M3182.3,2144.3c-13.4-74.8,34.7-189.7-58.8-221.7c-16-61.4,5.3-128.2-37.4-184.3%0A%09%09%09%09c-33.7-46.4-75.8-81.1-127.5-97.6c-15.4,4-42.2,14-46.3,24.6c-13.8,35.6-24.4,108.3-3.6,195.1c19.9,94,53.6,191.2,151.7,162.7%0A%09%09%09%09c51,68.9,51,103.4,48.3,128.2c25.3,30.5,60,37.2,94.1,32.1C3192.8,2173.6,3185.5,2160.8,3182.3,2144.3z" class="st16"></path>%0A%09%09%09<path d="M3314.2,2124.9c-5.5-129.6-75.8-207-93.8-211.7c30.3-46.1,33.1-82-6.9-106.8%0A%09%09%09%09c-40-24.8-57.9,67.6-57.9,67.6s-19.3,18-16-3.3c17.7-114.7-62.5-214-170.5-231.9c-1.2-0.2-5.1,0.5-10.4,1.9%0A%09%09%09%09c51.7,16.5,93.8,51.2,127.5,97.6c42.7,56.1,21.4,122.9,37.4,184.3c93.5,32.1,45.4,146.9,58.8,221.7c3.1,16.5,10.5,29.3,20.4,38.9%0A%09%09%09%09C3250.3,2176,3296.5,2145.8,3314.2,2124.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M2969,1635.8c0,0,75.2,27.2,72.4,70.7c-2.8,43.5-9.8,77.5,56.3,98.1c-31.6-35.6-34.2-44-26.9-86.3%0A%09%09%09%09S3035.8,1587.8,2969,1635.8z" class="st17"></path>%0A%09%09%09<path d="M2789.6,2288.5c-77.5,101.5-203,106.9-323.3,128.2c-27.7,5.9-43.7,28.1-64.3,43.4%0A%09%09%09%09c7.2,13.8,19.1,27.9,28,39.8c0.5-0.1,1.1-0.3,1.6-0.4c159.5-16.7,359.4-29.1,470.9-150.7l-0.1-16l61-218.3%0A%09%09%09%09c-27.4,9-56.1,12.8-77.6,32.4C2837.7,2184.3,2824.3,2243.1,2789.6,2288.5z" class="st25"></path>%0A%09%09%09<path d="M3017.4,2050.7c-17.9,4.3-35.5,9.7-52.8,16.1c-58.6,21.8-113.1,55-149.7,106.6%0A%09%09%09%09c-16.4,23.2-29.7,48.3-42.2,73.7c-5.8,11.7-11.7,21.5-19.5,31.9c-8.1,10.8-17.8,20.2-27.8,29.2c-21.9,19.5-47.7,34.4-75.4,44.1%0A%09%09%09%09c-33.1,11.6-67.9,16.1-101.5,25.4c-82.7,23-147.1,41.1-152.6,60.5c-0.2,7,2.3,14.5,6.2,22c20.6-15.4,36.6-37.5,64.3-43.4%0A%09%09%09%09c120.2-21.4,245.8-26.7,323.3-128.2c34.7-45.4,48.1-104.2,96.2-141.6c21.5-19.6,50.2-23.4,77.6-32.4l5.1-18.3%0A%09%09%09%09c11-10.8,16.7-15,29.5-24.1c14.7-10.5,30.5-19.7,47.1-26.7c0.1-0.2,0.2-0.4,0.3-0.6C3036,2046.5,3026.6,2048.4,3017.4,2050.7z" class="st23"></path>%0A%09%09%09<path d="M3045.4,2044.9c-0.1,0.2-0.2,0.4-0.3,0.6c0.7-0.3,1.4-0.6,2.1-0.9%0A%09%09%09%09C3046.6,2044.7,3046,2044.8,3045.4,2044.9z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09%09<path d="M2431.6,2499.6c-0.5,0.1-1.1,0.3-1.6,0.4c0.9,1.2,1.8,2.4,2.6,3.6c10.8,15.3,7.8,45,49.1,42.6%0A%09%09%09%09c30.8-6,230-18.7,273.3-29.7c32-8.2,82.2-26.3,148.2-94.1l-0.7-73.5C2791,2470.5,2591.1,2482.9,2431.6,2499.6z" class="st24"></path>%0A%09%09%09<path d="M2398.2,2439.8c0,0,40.7-31.7,69.6,4.1c29,35.9,49.3,96,29,100.7c-20.4,4.6-65.8,2.1-87-35.2%0A%09%09%09%09C2388.5,2472.2,2387.5,2454.3,2398.2,2439.8z" class="st27"></path>%0A%09%09%09<path d="M3350.7,1877.1c18.7-58.6,71.9-104,69.5-165.2c-4.1,1.2-8.2,5.1-10.8,12.5c-7.6,21.4-71.4,103.8-71.4,103.8%0A%09%09%09%09s0,0,3.8-22.1s1.4-35.5-9.7-36.9c-11-1.4-18.3,10.3-18.3,10.3c1-31-13.4-29.3-23.4-27.6c-10,1.7-9.3,51.4-10,64.8%0A%09%09%09%09c-0.7,13.4-15.2,26.9-20-4.1c-2.8-35.9-40.7-71.7-51.7-66.9c-11,4.8,14.8,62,13.1,94.5c-1.7,32.4-20,100.7-5.5,148.2%0A%09%09%09%09c14.5,47.6-3.4,102-3.4,102l85.3,21.2c4.2-67.5,4.5-134.6,44.5-197.1C3350.7,1903.8,3348,1890.5,3350.7,1877.1z" class="st16"></path>%0A%09%09%09<path d="M3420.1,1711.9c2.4,61.2-50.8,106.6-69.5,165.2c-2.7,13.4,0,26.7-8,37.4%0A%09%09%09%09c-40,62.5-40.2,129.7-44.5,197.1l22.9,5.7c0,0-3.5-115.8,17.2-141.3c20.7-25.5,15.2-80,25.3-108.9c10.1-29,71.3-117.9,72-137.2%0A%09%09%09%09C3436,1717.3,3427.9,1709.7,3420.1,1711.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M3305.2,1839.7c-0.4,0.9,11-56.8,9-67.2c4.3,1.6,4.3,1.6,4.3,1.6S3312.8,1824.1,3305.2,1839.7z" class="st9"></path>%0A%09%09%09<g>%0A%09%09%09%09<polygon points="2369.1,2558.8 2880.5,2623.2 2325,2668.2 1891.1,2604.1" class="Graphic_x0020_Style_x0020_115"></polygon>%0A%09%09%09%09<polygon points="2264.3,2566.5 2626.8,2624.8 2334.4,2648.9 2170.4,2611.3" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M2421.8,2452.1c-5.6-0.2-22.6,8.6-22.6,8.6s-13.8-44.1-80.7-43.4s-64.8,65.5-64.8,65.5s5.5,77.2,26.9,93.1%0A%09%09%09%09%09c21.4,15.9,99.3,4.1,102.4,0c3.1-4.1,45.3-6.9,66.9-30.3c21.6-23.4,33.5-24.4,33.5-24.4S2463.5,2453.5,2421.8,2452.1z" class="st16"></path>%0A%09%09%09%09<path d="M2319.3,2460c0,0-45.5,32.4-15.2,90.3c-6.8,0.6-6.8,0.6-6.8,0.6%0A%09%09%09%09%09S2262.7,2493.1,2319.3,2460z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09%09%09<path d="M2376.8,2552.2c0,0-56.9-11.2-43.1-33.6c13.8-22.4,45.5-15.9,46.9-24.5%0A%09%09%09%09%09c1.4-8.6-15.9-23.8-21.7-14.5c-5.9,9.3-15.5,25.2-15.5,25.2s-24.1,6.2-17.9,23.1c6.2,16.9,33.8,15.5,6.2,16.9%0A%09%09%09%09%09c-27.6,1.4-39.6,0-39.6,0s-7.4,36.2,7.3,37.5c14.7,1.4,61.6,6.9,105-10.3c43.4-17.2,43.8-24.7,43.8-24.7%0A%09%09%09%09%09S2401.3,2559.2,2376.8,2552.2z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09%09<polygon points="2331,2682 2848.1,2642 2880.5,2623.2 2322,2668.2 1885.6,2604.1 %0A%09%09%09%09%091893.9,2613.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M1784.9,2001.5l427.1,0.5l15.9,3c18.3,3.5,31.9,18.7,33.5,37.3c9.9,120.2,38.5,538.8,42.7,616.9%0A%09%09%09%09%09c0.3,6.5-11.2,15-17.7,14.2l-444.6-65.8L1784.9,2001.5z" class="st28"></path>%0A%09%09%09%09<path d="M1794.6,1993.3l411.5,8.2c15.8,0.3,28.8,12.5,30.1,28.3c10.4,126.7,52.8,644.5,49.2,643.3%0A%09%09%09%09%09c-3.6-1.2-348.6-51.6-443.5-65.4c-14.1-2.1-24.9-13.4-26.2-27.6l-52.4-553C1761.5,2008.7,1776.2,1992.9,1794.6,1993.3z" class="st29"></path>%0A%09%09%09</g>%0A%09%09%09<path d="M3465.5,2285.9c-5.8-29.1-28.6-54-57-68.5c9.3,57-21.2,85.5-21.2,85.5c-6.8,3.4-40.2,78.1-48.3,71.7%0A%09%09%09%09c-4.1-3.3-5.8-14.7-6.3-29.4c-17.3-67.3-4-136.5-11.5-203.5c-2.3-18.1-0.7-36.2-6.7-52.6c-6.5-5.5-15.7-10.3-27.9-14.4%0A%09%09%09%09c0.8,120.3-17.7,240.4,10.5,355.6c8,37.4,77.5,16,112.2-8C3452.2,2392.7,3478.9,2339.3,3465.5,2285.9z" class="st24"></path>%0A%09%09%09<path d="M3332.7,2345.1c-0.9-27.1,2.3-65.1,1.7-83.5c-0.9-28.4,4.6-84.2-6.4-147.7c-0.5-9.3-4.6-17.6-13.4-24.9%0A%09%09%09%09c5.9,16.5,4.4,34.5,6.7,52.6C3328.7,2208.5,3315.4,2277.8,3332.7,2345.1z" class="st27"></path>%0A%09%09%09<path d="M3591.6,2306.2l-189.3-113.8c2.9,8.8,4.9,17.1,6.2,24.9c28.4,14.5,51.2,39.4,57,68.5%0A%09%09%09%09c4.9,19.6,4.4,39.1-0.3,57.5c36.8,33.3,76.9,62.3,118.5,89.3C3596.9,2393.5,3597.6,2349.6,3591.6,2306.2z" class="st24"></path>%0A%09%09%09<path d="M3226.7,2062.8c-4.2-0.5-8.6-0.9-13.2-1.3c-89.6,102-96.5,485.4-63.4,524c10.1,11.8,36.5,17.9,71.6,18.6%0A%09%09%09%09c-2.7-1.6-5.1-3.5-7.3-5.6C3080,2450.9,3137.9,2222.8,3226.7,2062.8z" class="st23"></path>%0A%09%09%09<path d="M3465.3,2343.4c-8.1,31.8-28.7,60.1-55.8,78.8c-34.7,24-104.2,45.4-112.2,8%0A%09%09%09%09c-28.2-115.2-9.7-235.3-10.5-355.6c-15.1-5.1-34.8-9.1-60-11.8c-88.8,160-146.7,388.1-12.3,535.7c2.1,2.1,4.6,4,7.3,5.6%0A%09%09%09%09c79.8,1.5,205-25.2,288.3-77.9c38.4-24.3,61.5-56.9,73.7-93.5C3542.2,2405.6,3502.1,2376.6,3465.3,2343.4z" class="st25"></path>%0A%09%09</g>%0A%09%09<path d="M3123.6,1922.5c3.2,5.9-36.5,92.1-63.1,100.4c35,56.6,28,41.3,37.6,63.1c63.2-44,78.1-61.9,78.3-92.2%0A%09%09%09C3177.1,1914.4,3123.6,1922.5,3123.6,1922.5z" class="st30"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3972.8,2436.5c-19.3-100.6-1.9-197.3,30.9-292.1c1.9-7.7,9.7-13.5,11.6-23.2%0A%09%09%09c13.5-58,34.8-108.3,58-160.5c1.9-7.7,1.9-15.5,3.9-23.2c1.5-4.4,6.3-7.7,9.3-11.5c-108.6,18.8-247.9,49.9-313.3,64.9%0A%09%09%09c22.2,33.7,40.9,69.3,52.5,109.1c3.9,7.7,13.5,13.5,17.4,21.3c3.9,5.8,0,11.6,3.9,17.4c11.6,15.5,21.3,29,25.1,48.4%0A%09%09%09c1.9,3.9,7.7,5.8,7.7,9.7c0,94.8,7.7,189.6,0,284.3c-6.7,72.9-22.6,143.8-37.3,214.7c84.9-0.2,183-1.6,281.4-2.7%0A%09%09%09c-52.2-58.4-91.1-128-129.9-198.4C3984.4,2475.2,3976.6,2455.8,3972.8,2436.5z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M4194.9,2483.6c82.8-18.7,163-5.3,237.8,48.1c8,8,26.7,5.3,37.4,0%0A%09%09%09c58.6-34.6,128.4-61.3,198-68.7c-150.8-225.4-393-546.7-446.5-551.9c-23.2-2.2-74.3,4.4-135,14.8c-3.1,3.9-7.9,7.1-9.3,11.5%0A%09%09%09c-1.9,7.7-1.9,15.5-3.9,23.2c-23.2,52.2-44.5,102.5-58,160.5c-1.9,9.7-9.7,15.5-11.6,23.2c-32.9,94.8-50.3,191.5-30.9,292.1%0A%09%09%09c3.3,16.6,9.5,33.3,17.3,49.9C4050.6,2508.5,4130.6,2499.3,4194.9,2483.6z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4470.1,2531.7c-10.7,5.3-29.4,8-37.4,0c-74.8-53.4-155-66.8-237.8-48.1%0A%09%09%09c-64.3,15.7-144.3,24.9-204.8,2.8c1.3,2.7,2.6,5.4,3.9,8.1c38.9,70.4,77.7,140.1,129.9,198.4c233-2.6,467.2-3.9,529.1,13.9%0A%09%09%09c110.3,31.7,131,20.7,137.9-30.3c2.3-16.7-49.5-103.7-123-213.5C4598.5,2470.4,4528.6,2497,4470.1,2531.7z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3879.9,2196.6c0-3.9-5.8-5.8-7.7-9.7c-3.9-19.3-13.5-32.9-25.1-48.4c-3.9-5.8,0-11.6-3.9-17.4%0A%09%09%09c-3.9-7.7-13.5-13.5-17.4-21.3c-11.6-39.8-30.4-75.4-52.5-109.1c-23.2,5.3-37.1,8.6-37.1,8.6s-76.6,50.8-73.5,108.1%0A%09%09%09c3.1,57.3,7.7,545.5-0.1,585.4c44.9,2.2,107.7,2.8,180,2.6c14.8-70.9,30.6-141.8,37.3-214.7%0A%09%09%09C3887.6,2386.2,3879.9,2291.4,3879.9,2196.6z" class="st31"></path>%0A%09%09<path d="M3622.6,2308.8c7.7-30.9,11.6-63.8,40.6-85.1c3.9-3.9,1.9-9.7,5.8-13.5c21.7-17.1,39.8-41.6,63-53.7%0A%09%09%09c-6.4-58.7-17.6-101.8-29.1-95c-30.3,17.9-474.3,322.7-497.1,369.5s-42.1,123.7,13.1,152.8c0,0-20.7-133.5,59.3-157%0A%09%09%09c80-23.4,155.8,45.5,157.2,51c0.7,2.8,16.3,25.9,31.7,46.8c24.5-12.2,48.8-24.7,72.3-41.8%0A%09%09%09C3593.6,2440.4,3609.1,2376.5,3622.6,2308.8z" class="st32"></path>%0A%09%09<path d="M3669.1,2210.2c-3.9,3.9-1.9,9.7-5.8,13.5c-29,21.3-32.9,54.2-40.6,85.1c-13.5,67.7-29,131.5-83.2,174.1%0A%09%09%09c-23.4,17.1-47.7,29.6-72.3,41.8c14.9,20.3,29.7,38.6,30.4,34.1c1.4-9.2,146.2-90.6,205.5-136.8c36.9-28.8,39.6-168.5,29.1-265.5%0A%09%09%09C3708.8,2168.5,3690.8,2193.1,3669.1,2210.2z" class="st31"></path>%0A%09%09<path d="M3252.8,2424.8c-14.7,6.4-25.2,15.5-32.7,25.8c33.5,31.1,84.8,42,119.8,22.2c22.9-10.4,45.8-17.6,64.9-32.9%0A%09%09%09c-0.9-0.6-1.9-1.3-3.1-2.1C3385.9,2421.4,3321.1,2395.2,3252.8,2424.8z" class="st16"></path>%0A%09%09<path d="M3220.1,2450.6c-5.4,7.5-9.3,15.6-11.9,23.8c11.3,29.8,34.2,55.9,59.6,75.9%0A%09%09%09c39.9,36.8,89.5,48.9,140.2,47.1l4-152.6c0,0,0,0-7.2-4.8c-19.1,15.3-42,22.5-64.9,32.9%0A%09%09%09C3304.9,2492.6,3253.6,2481.7,3220.1,2450.6z" class="Graphic_x0020_Style_x0020_113"></path>%0A%09%09<path d="M3267.8,2550.4c-25.4-20-48.3-46.1-59.6-75.9c-0.6,1.9-1.2,3.9-1.7,5.8%0A%09%09%09c-3.2,12.6-4,25-3.7,35.5c0.4,15.7,3.1,26.9,3.1,26.9s73.1,121.3,186.1,122.7c14.5-13.8,14.5-13.8,14.5-13.8l0.5-17.8l0.7-24.6%0A%09%09%09l0.3-11.9C3357.3,2599.3,3307.7,2587.2,3267.8,2550.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3235.6,2602c0,0,20.6,1.7,15.5-3.8c-16.6-18-47.6-98.2-21.8-124.8c29.7-30.7,122.5-41.5,160.6-26.4%0A%09%09%09c-3.3-14.6-3.3-14.6-3.3-14.6s-76.5-31-120-13.1c-43.4,17.9-62.2,9.2-63.8,77c-1.7,67.8,9.5,101.6,23.2,107.8%0A%09%09%09C3239.7,2610.3,3235.6,2602,3235.6,2602z" class="st33"></path>%0A%09%09<path d="M3226,2604.1c0,0-34.8-98.6-3.2-143.2s183.6-37.2,209.7,22.5c15.9-4.6,15.9-4.6,15.9-4.6%0A%09%09%09s51.4-54.7-36.3-81.6c-87.8-26.9-216.5,9.7-228.4,92.5S3199.4,2597,3226,2604.1z" class="st20"></path>%0A%09%09<path d="M3340,2529c32.1-10.7,40.1-29.4,53.4-58.8c2.7-5.3,21.4,2.7,32.1-5.3%0A%09%09%09c34.7-32.1,80.1-48.1,120.2-32.1c9,3,17.6,7.1,26,11.5c-6.3-16.9-12.8-29.1-12.8-29.1s-3-1.5-7.6-3.6%0A%09%09%09c-11.7-5.4-33.9-14.8-44.8-14.3c-15.2,0.7-29.9,22.1-29.9,22.1s-32.8-9-49.4,0c-16.5,9-18.5,35.5-18.5,35.5s-15.9-1.7-33.9,7.3%0A%09%09%09s-6.2,37.2-6.2,37.2s-15.2-12.4-42.1,6.2c-20.5,12.6-13.4,51.1-1.3,85.4C3326.1,2565.1,3319.5,2533.5,3340,2529z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M3545.7,2432.8c-40.1-16-85.5,0-120.2,32.1c-10.7,8-29.4,0-32.1,5.3c-13.4,29.4-21.4,48.1-53.4,58.8%0A%09%09%09c-20.4,4.5-13.9,36.1-14.7,61.9c4.6,13,9.9,25.4,14.7,35.5c6.7,14.3,12.4,24,13.6,24.5c32.4,14.5,39.8-12.1,39.8-12.1%0A%09%09%09s7.4,27.2,34.4,26.6c27-0.6,13.8-43.4,13.8-43.4s36.8,33.1,54,29c17.2-4.1,4.1-42.1,4.1-42.1s23.4,27.6,48.3,21.4%0A%09%09%09c24.8-6.2-10.3-94-10.3-94s24.1,13.3,41.4-12.2c10.5-21.9,1.8-55.6-7.2-79.8C3563.2,2439.9,3554.7,2435.8,3545.7,2432.8z" class="st16"></path>%0A%09%09<path d="M3855.6,1746.2c-34.7-66.8-53.4-157.6-120.2-181.7c-70.3-26.7-149.3,8.2-227.2-3%0A%09%09%09c-21.3,43.8-31,95-34.5,140.3c-7.9,103.1,20.2,204.3,82.4,287.5c9.2,12.3,20.1,15.4,35.2,15.3c13.5-0.1,92.2-26.6,94.3-24.1%0A%09%09%09c0,0,89.2,104.8,138.8,155.4c3.9,4,7.6,7.6,11.1,10.9c41,38.7,55.1,33.2,55.1,33.2s66.2-16.5,80-60.7c13.8-44.1,68-261.3,68-261.3%0A%09%09%09s-2.5-6.5-5.6-15.8C3959.1,1845.2,3889.3,1813.7,3855.6,1746.2z" class="st16"></path>%0A%09%09<path d="M4022,1797.7c-2.8-24.8,81.8-357.6-168.2-366.8c-89.9-3.3-189,3.2-269.9,46.9%0A%09%09%09c-34.4,18.6-58.8,48.8-75.7,83.7c77.9,11.2,156.9-23.7,227.2,3c66.8,24,85.5,114.9,120.2,181.7c33.8,67.5,103.5,99,177.4,96.1%0A%09%09%09c-1.2-3.7-2.5-7.7-3.8-12.1C4026.1,1819.7,4023.1,1807.8,4022,1797.7z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4069.8,1569.7c-23-40.4-27.6-96.5-46-109.4c-0.8-25.3-12.8-44.3-33.2-58.9%0A%09%09%09c-26.3-18.9-66.6-30.6-114.7-39.4c-85.5-15.6-326.4,68.3-388.9,41.2c-46.2-20-44.1,85.7-44.1,85.7s-0.6,8.6,2.7,18.9%0A%09%09%09c0.8,2.6,1.9,5.3,3.4,8c6.8,13.1,21.3,26,51.9,25.5c61.6-0.9,148-35.8,156.3-17.5c8.3,18.4,0.9,143.8,12.9,163.8%0A%09%09%09c4.5,0.7,8.3,1.3,11.5,1.8c16,2.6,16,2.6,16,2.6s1.8-85.5,55.2-84.1c18.2,0.5,37.2,5.3,55.1,14.9c34.5,18.6,64.6,55.2,75.4,113.4%0A%09%09%09c16.6,88.2,147.1,77.2,147.1,77.2s2.3-7.5,5.9-19.9c5.1-17.8,12.8-45.6,20-75.9C4070,1659,4082.1,1591.2,4069.8,1569.7z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<polygon points="3720.5,1573.4 3453,1652.4 3452.3,1641 3736.1,1563.3" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09%09<path d="M3661.3,2544.8c-2.7-1-5.3-2.4-7.9-4.1c4.4,48.9,8.2,80.7,8.2,80.7l146.2-7.8%0A%09%09%09c0,0,5.8-43,13.8-101.1c-7.6,1.5-15.3,3.9-23,7.2C3756.1,2539,3707.8,2556.4,3661.3,2544.8z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3847.5,2157.6c-42.9-65.3-126-117.2-122.4-138.8c-110.1-35.4-87.2,349.7-71.6,521.9%0A%09%09%09c2.6,1.7,5.2,3.1,7.9,4.1c46.4,11.6,94.8-5.8,137.3-25.1c7.7-3.3,15.3-5.7,23-7.2c11.1-80.9,26.4-191.1,35.8-255.6%0A%09%09%09C3859.9,2240.5,3857.5,2172.8,3847.5,2157.6z" class="st32"></path>%0A%09%09<path d="M4242.6,2242.6c0,0,36.8,108.5,119.5,116.7c-13.8,52.4,206.2,183.4,206.2,183.4l9.8-23.8l-239.8-248.8%0A%09%09%09L4242.6,2242.6z" class="st34"></path>%0A%09%09<path d="M3298.6,2799c-8.5,5.6-14.3,9.3-14.8,9.1c-2.1-0.7-22.1,19.3-22.1,19.3%0A%09%09%09s33.8,2.8,36.5,0c0.5-0.5,4.9-3.2,11.4-7C3308.5,2811.6,3304.6,2802.8,3298.6,2799z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<path d="M3379,2744c0,0-53.6,37.3-80.3,55c3.9,2.5,6.9,7,8.8,12.3l95.8-56.5%0A%09%09%09C3402.9,2747.5,3396.9,2742.8,3379,2744z" class="Graphic_x0020_Style_x0020_112"></path>%0A%09%09<path d="M3307.5,2811.4c1.1,2.9,1.8,6,2.3,9.1c26.5-15.5,89.9-50.9,89.9-50.9%0A%09%09%09c2.2-5.4,3.8-10.5,3.6-14.7L3307.5,2811.4z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M4750.6,2686.6c-104.2,18.7-203,5.3-304.6,0c-109.5-2.7-227.1-26.7-334,16%0A%09%09%09c-80.1,29.4-171-21.4-261.8-2.7c-64.6,14.9-126.9,34.4-189.1,52.1c1.8,0.1,3.8,0.2,6,0.2c37.2,0,155.8-45.5,257.9-29%0A%09%09%09s212.4,30.3,251-6.9c96.5,5.5,601.2,41.4,650.9,26.2c10.9-23.2,13.8-50.2,10.6-77.7C4808.9,2673.1,4780.3,2680.7,4750.6,2686.6z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4112.1,2702.6c106.9-42.7,224.4-18.7,334-16c101.5,5.3,200.4,18.7,304.6,0c29.7-5.9,58.4-13.5,86.9-21.6%0A%09%09%09c-9.7-83.3-75.3-171.2-141.6-173.3c-45.6,12.2-90.4,22.8-134.1,31.9c-331.1,69.3-596.5,55.3-657.4,37%0A%09%09%09c-68.9-20.7-170.7,19.4-243.8,51.1c-73.1,31.7-122,56.6-95.8,74.6c-0.8,1.2-5,6.1-5.1,9.5c-0.1,3.5-5.8,5.5-8.7,8.7%0A%09%09%09c-8.6,9.5-7.7,26.2,7.4,27.1c1.8,0.1,3.6,0.3,5.3,0.6c20,3.4,31.7,17.6,60.9,4.9c30.3-4.1,30.3-4.1,30.3-4.1s-21.9,17.1,6.4,19.1%0A%09%09%09c62.2-17.7,124.5-37.2,189.1-52.1C3941.1,2681.3,4031.9,2732,4112.1,2702.6z" class="st16"></path>%0A%09%09<path d="M5017.7,2587.8c-2.7-5.3,2.7-13.4,0-18.7c-37.4-72.1-72.1-141.6-130.9-195%0A%09%09%09c-45.4-42.7-96.2-77.5-141.6-120.2c-64.1-53.4-101.5-125.6-173.7-165.6c-80.1-45.4-157.6-88.2-243.1-120.2%0A%09%09%09c-56.1-18.7-114.9-8-173.7-10.7c-8,0-13.4-8-18.7-8c-26.9-3.6-52.7-12-77.2-22.8l-4.1,6.3l-47.1,153.2l241.3,154.8%0A%09%09%09c0.7,4.9,2.5,10,5.3,15.1c70.7-21.4,153.8-12.5,210.4,35.3c58.8,50.8,77.5,133.6,138.9,176.3c50.8,37.4,117.6,48.1,155,101.5%0A%09%09%09c26.3,32.9,23.8,78.3-4.4,111.2c16.3,20,31.9,41.7,46.4,65.4c43.6,17.7,172.5,20.1,226.6-52.4%0A%09%09%09C5038.9,2660.1,5036.7,2621.8,5017.7,2587.8z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4666.9,2134.6c-215.1-230.3-311.2-220.2-404.5-226.6%0A%09%09%09c-58.4-29.4-93.8-48.3-120.4-4.6c-12.4-21.6-57-17.5-57-17.5l-26.1,40.5c24.5,10.8,50.2,19.2,77.2,22.8c5.3,0,10.7,8,18.7,8%0A%09%09%09c58.8,2.7,117.6-8,173.7,10.7c85.5,32.1,163,74.8,243.1,120.2c72.1,40.1,109.5,112.2,173.7,165.6c45.4,42.7,96.2,77.5,141.6,120.2%0A%09%09%09c58.8,53.4,93.5,122.9,130.9,195c2.7,5.3-2.7,13.4,0,18.7c18.9,34.1,21.2,72.4,9.5,105.5c14.4-19.2,23.5-43.8,24.4-74.7%0A%09%09%09C5055.7,2471,4882,2364.8,4666.9,2134.6z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M4758.6,2569.1c-37.4-53.4-104.2-64.1-155-101.5%0A%09%09%09c-61.4-42.7-80.1-125.6-138.9-176.3c-56.5-47.8-139.6-56.7-210.4-35.3c25.1,47.2,127.1,102.1,127.1,102.1s20.7,44.1,55.2,84.1%0A%09%09%09c30.5,35.4,193.5,85.8,317.6,238.2C4782.4,2647.3,4784.9,2601.9,4758.6,2569.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3715.8,2015.7l-33.4,5.8c0,0,86.9,194.9,81.4,227c99.3-46.4,98.4-56.1,98.4-56.1%0A%09%09%09l-7.4-38.1C3852.2,2113.2,3774.4,2063.6,3715.8,2015.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M4035.3,1825.7c0,0-127.3,345.2-108.9,400.3c60.7-14.7,108.9,4.6,108.9,4.6%0A%09%09%09s-11.5-222.5,55.6-345.6C4061.5,1845.5,4035.3,1825.7,4035.3,1825.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M3654.8,2733l130-51c-71.4,10.3-156.4,53.6-160.3,55.2C3633.4,2740.2,3654.8,2733,3654.8,2733z" class="st18"></path>%0A%09%09<path d="M3576.1,2735.8c0,0,55.9-47.6,182.8-76.5c-16.5-5.5-133.9,28.9-190.4,74.1%0A%09%09%09C3573.4,2738.5,3576.1,2735.8,3576.1,2735.8z" class="st18"></path>%0A%09%09<path d="M3558,2699.3c0,0,110.1-70.4,179-82.8c-35.9-12.4-176.2,71.6-176.2,71.6L3558,2699.3z" class="st18"></path>%0A%09%09<path d="M3834.5,1885.6c0,0-102,90.4-148.9,95c48.7,53.3,78.2,78.6,99.3,89.2%0A%09%09%09c0-99.3,91.9-168.2,83.7-237.2c-8.3-68.9-6.4-64.3-6.4-64.3S3863,1851.2,3834.5,1885.6z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M4897.2,2712.3c-24.8-45.5-111.6-233-210.3-220.6c0,0-65.2,9.2-99.4,20.8c-1.1,12.9,9.7,22,21.7,26.5%0A%09%09%09c104.1,32,201.6,111.9,214.5,216.4c41.8,6.1,86.6,20.3,88.3-2.4C4912.3,2747.3,4901.4,2720.1,4897.2,2712.3z" class="st20"></path>%0A%09%09<path d="M4609.1,2539c-12-4.5-22.8-13.6-21.7-26.5c-9.2,3.1-16.2,6.4-19,9.7c149.6,89.2,160.1,153.2,228.5,227.8%0A%09%09%09c9,2.3,18,4.1,26.7,5.4C4810.8,2650.9,4713.3,2571,4609.1,2539z" class="st35"></path>%0A%09%09<path d="M3389.9,2642.1c0,0-40.9-81.4-37.1-99.3c3.8-17.9-3.1-35.9,15.9-43.4c-6.2,13.8-11,29-10,45.5%0A%09%09%09c1,16.5,34.6,94,34.6,94L3389.9,2642.1z" class="st18"></path>%0A%09%09<path d="M3407,2460.9c0,0-9.2,34.9-1.9,66.6c7.4,31.7,30.8,93.9,37,97.1c6.2,3.2,6.2,3.2,6.2,3.2%0A%09%09%09S3398.3,2507.3,3407,2460.9z" class="st18"></path>%0A%09%09<path d="M3472.9,2418.4c0,0-17,55.4-15.2,76c1.8,20.7,41.7,120.8,41.7,120.8l2.9-3.5%0A%09%09%09c0,0-42.5-108.1-31.7-146c10.9-37.9,9.3-50.7,9.3-50.7L3472.9,2418.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3537.6,2454.9c0,0-9.2,72.2,0,81.4s20.4,7.3,20.4,7.3S3539.9,2483.9,3537.6,2454.9z" class="st18"></path>%0A%09%09<path d="M3543.3,2484.1c0,0-7.6,38.4-5.8,52.2c0.7,5.4,2.5,11.2,5.6,16.5c7.7,6.5,16.6,9.4,25.4,1.7%0A%09%09%09c15.6-12.5,17.4-32.6,17.5-52.1c-0.7-2.3-1.4-4.6-2.2-7" class="st16"></path>%0A%09%09<g>%0A%09%09%09<polygon points="3466.8,1624.2 3466.8,1624.2 3466.8,1624.2" class="st9"></polygon>%0A%09%09%09<path d="M3516.4,1675.9c-7.1-21.6-14.1-34.6-21-42.6c-3.4-4-6.9-6.7-10.3-8.4%0A%09%09%09%09c-3.4-1.7-6.8-2.3-9.8-2.3c-3.4,0-6.3,0.8-8.6,1.5c-4.1,1.3-8,4.5-10.7,9.6c-2.7,5.1-4.4,12.1-4.4,21.5%0A%09%09%09%09c0,12.2,2.8,28.6,10.1,50.4c6.4,19,13.3,30.6,20.3,37.6c3.5,3.5,7.1,5.8,10.5,7.3c3.4,1.4,6.8,2,9.7,2c2.7,0,5.1-0.4,7.1-0.9%0A%09%09%09%09c2-0.5,3.5-1.1,4.4-1.4l0,0c2.9-0.9,6.2-3.2,8.5-7.4c2.3-4.2,3.8-10.1,3.8-18.4C3526.2,1713.3,3523.6,1697.9,3516.4,1675.9z%0A%09%09%09%09 M3515.7,1738.9c-1.5,2.6-3.1,3.5-4.1,3.8c-1.2,0.4-2.5,0.9-4,1.3c-1.5,0.4-3.3,0.7-5.1,0.7c-2,0-4.3-0.3-6.7-1.4%0A%09%09%09%09c-3.7-1.5-7.9-4.6-12.5-10.9c-4.6-6.2-9.4-15.6-14-29.3c-7.1-21.2-9.7-36.9-9.7-47.9c0-8.5,1.5-14.2,3.5-17.9%0A%09%09%09%09c2-3.6,4.2-5.2,6.2-5.8l0,0c2-0.6,4.1-1.1,6.3-1.1c2,0,4,0.4,6.3,1.5c3.5,1.7,7.7,5.3,12.4,12.6c4.7,7.2,9.7,18.1,14.9,33.8%0A%09%09%09%09c7.1,21.4,9.4,36.2,9.4,46C3518.5,1731.7,3517.1,1736.3,3515.7,1738.9z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09</g>%0A%09</g>%0A%09<polygon points="4535.9,1753.6 4677.9,1982.4 4774.4,1982.4 4597.9,1697.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09<polygon points="4616.6,1659.7 4815.1,1982.4 4916.5,1982.4 4705.5,1586.9" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<polygon points="4597.9,1697.5 4644.4,1704.9 4815.1,1982.4 4774.4,1982.4" class="Graphic_x0020_Style_x0020_108"></polygon>%0A%09<polygon points="4791.1,1650.6 4705.5,1586.9 4916.5,1982.4 4939.2,1982.4 4939.2,1925.9" class="Graphic_x0020_Style_x0020_107"></polygon>%0A%09<path d="M4590.7,1773.7c0,0,19.3-16,39,11c19.6,27-20.3,47.3-33.4,30.1%0A%09%09C4583.1,1797.4,4579.5,1778.2,4590.7,1773.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09<path d="M4596.3,1780.1c0,0,13.5-11.2,27.3,7.7s-14.2,33.1-23.4,21.1%0A%09%09C4591,1796.7,4588.5,1783.2,4596.3,1780.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09<polygon points="4609.5,1841.2 4648,1821.1 4757.4,1982.4 4699.5,1982.4" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<ellipse ry="38.6" rx="31.7" cy="1701" cx="4703.2" class="Graphic_x0020_Style_x0020_104"></ellipse>%0A%09<polygon points="4705.5,1762.7 4757.4,1724.1 4766.2,1734.7 4712.4,1768.9" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4718.4,1793 4770.3,1754.3 4779,1764.9 4725.3,1799.2" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4731.2,1823.2 4783.2,1784.6 4791.9,1795.1 4738.1,1829.4" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<g>%0A%09%09<path d="M973.4,2494.7c-1.1-7.7-1.9-15.4-2.3-22.9c9.5-13.4,26.8-31.8,52.9-40.2c23.1-6.1,15.4-16.7,6-14.3%0A%09%09%09c-6.8,1.7-40.3,15-58.6,22.4c6.9-84.5,62.6-145.2,175.4-122.9c0,0,168.2-115.8,215,66.2c-26.6-8.7-77.4-22.7-81.8-5%0A%09%09%09c-5.6,22.6,45.1-7,86.4,25.8c2.5,13.6,4.5,28.6,5.7,45.1c0.4,18.1-4.3,37.3-12.2,56.6c-19.6-23.9-69.9-81.6-86.6-63.7%0A%09%09%09c-19.3,20.6,50.3,7.3,76.9,84.6c-10.3,19.7-23.2,39-36.6,56.7c-13.9-23.9-42.7-67.9-60.7-56.8c-7.2,6.3,6.6,15.6,21,31%0A%09%09%09c9.1,9.8,20.1,29.2,27,42.1c-32.6,40-64,68.5-64,68.5s-40.6-10.2-90-29.6c-2.2-17-5.6-50,0.5-58c8.3-10.9-3.5-21.2-17.7-9.4%0A%09%09%09c-11,9.1-13.4,36.4-10.2,55.9c-20.3-9-41-19.4-60.3-31.1c3.7-24.8,13.8-80.3,30.3-90.6c10.5-9.2,2.3-22.4-22.7-3.4%0A%09%09%09c-19.2,14.5-25.3,60.3-27.2,81.1C1004.8,2558,978.2,2528.6,973.4,2494.7z" class="st10"></path>%0A%09%09<path d="M1225.4,2633.4c0,0-71-217.9-78.6-316.8" class="st11"></path>%0A%09%09<path d="M1129.2,2552.6c0,0,15.4-40.3,50.3-75.4" class="st11"></path>%0A%09%09<path d="M1261.1,2488.4c0,0-59.5-46.7-90-43.7" class="st11"></path>%0A%09%09<path d="M1052.5,2468.5c0,0,69.2-57,107.6-70.5" class="st11"></path>%0A%09%09<path d="M1243.7,2349.5c0,0-52.8-23.4-93.7-5.9" class="st11"></path>%0A%09</g>%0A%09<path d="M3360.2,3327.1c-71.4-58-182.9-129.1-345.1-184.1c-329.3-111.6-176.9-187.3-303.6-225.2%0A%09%09s-430.3-22.5-784.9-68.8s-643.1-33.1-556-162c60.4-89.4,145-152.7,191.1-183.1l-109.7,8.4c-108.3,81.3-312.5,270.2,66.8,308.2%0A%09%09c486.5,48.7,1181.1,101.9,1192.6,208.2c9.2,84.8,440.1,200.1,610.2,307.3C3334,3333.3,3346.8,3330.3,3360.2,3327.1z" class="st22"></path>%0A%09<linearGradient y2="608.8419" x2="3633.9429" y1="608.8419" x1="3431.6741" gradientUnits="userSpaceOnUse" id="SVGID_9_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="101.1" rx="101.1" cy="608.8" cx="3532.8" class="st36"></ellipse>%0A%09<linearGradient y2="3174.8586" x2="1457.2415" y1="3174.8586" x1="1136.8959" gradientUnits="userSpaceOnUse" id="SVGID_10_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="106.3" rx="160.2" cy="3174.9" cx="1297.1" class="st37"></ellipse>%0A%09<linearGradient y2="2968.6479" x2="1266.5088" y1="2968.6479" x1="1085.6805" gradientUnits="userSpaceOnUse" id="SVGID_11_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="60" rx="90.4" cy="2968.6" cx="1176.1" class="st38"></ellipse>%0A%09<linearGradient y2="3078.0559" x2="5051.6841" y1="3078.0559" x1="4866.0625" gradientUnits="userSpaceOnUse" id="SVGID_12_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="92.8" rx="92.8" cy="3078.1" cx="4958.9" class="st39"></ellipse>%0A%09<path d="M2285.6,3438c0,0,206.8,24.5,420.7-87.7c42.5-28.4,62.6,33.1,35.4,53.2%0A%09%09c-27.2,20.1-168.9,100.4-399.3,87.4C2216,3486.1,2239.4,3435.8,2285.6,3438z" class="Graphic_x0020_Style_x0020_100"></path>%0A</g>%0A</svg>%0A';
2723
- var SignIn = (props) => {
2724
- const { title, successRedirectUrl, extra, unregistered } = props;
2725
- const queryParams = new URLSearchParams(window.location.search);
2726
- const { token, setToken } = useTokenStore();
2727
- const { t } = useTranslation();
2728
- const { isLoading } = useSWRImmutable(
2729
- queryParams.has("ticket") ? `/api/usystem/user/login?ticket=${queryParams.get("ticket")}` : null,
2730
- (url) => request(url),
2731
- {
2732
- onSuccess: (data) => {
2733
- setToken(data.data.token);
2734
- }
2735
- }
2736
- );
2737
- if (isLoading) {
2738
- return /* @__PURE__ */ jsx("div", { className: "w-screen h-screen flex justify-center items-center", children: /* @__PURE__ */ jsx(Spin, {}) });
2739
- }
2740
- if (token) {
2741
- const hashMode = !!window.location.hash;
2742
- const path = successRedirectUrl;
2743
- if (!hashMode) {
2744
- return /* @__PURE__ */ jsx(Navigate, { replace: true, to: path });
2745
- }
2746
- window.location.href = `${window.location.origin}${window.location.pathname}#${path}`;
2747
- return null;
2748
- }
2749
- return /* @__PURE__ */ jsxs("div", { className: "w-screen h-screen relative flex overflow-hidden", children: [
2750
- /* @__PURE__ */ jsx("div", { className: "absolute top-16 right-16 z-10", children: extra }),
2751
- /* @__PURE__ */ jsx("div", { className: "absolute left-14 top-6", children: /* @__PURE__ */ jsxs(Space, { align: "center", children: [
2752
- /* @__PURE__ */ jsx(Logo_default, { width: 48 }),
2753
- title
2754
- ] }) }),
2755
- /* @__PURE__ */ jsx("div", { className: "flex-1 flex justify-center items-center bg-slate-50", children: /* @__PURE__ */ jsx("img", { src: background_default, alt: "background", className: "w-10/12" }) }),
2756
- /* @__PURE__ */ jsx("div", { className: "w-[650px] relative top-0 left-0 right-0 bottom-0", children: /* @__PURE__ */ jsx("div", { className: "absolute top-1/2 -translate-y-1/2 left-0 right-0", children: /* @__PURE__ */ jsx("div", { className: "-translate-y-10 px-36", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
2757
- /* @__PURE__ */ jsx("div", { className: "h-10", children: unregistered && /* @__PURE__ */ jsx(Alert, { banner: true, closable: true, message: t("SignIn.unregistered"), type: "error" }) }),
2758
- /* @__PURE__ */ jsx(Typography.Title, { level: 2, children: t("SignIn.welcome") }),
2759
- /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsxs(Form, { layout: "vertical", autoComplete: "off", children: [
2760
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.username"), name: "username", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input, {}) }),
2761
- /* @__PURE__ */ jsx(Form.Item, { label: t("global.password"), name: "password", rules: [{ required: true }], children: /* @__PURE__ */ jsx(Input.Password, {}) }),
2762
- /* @__PURE__ */ jsx(Form.Item, { children: /* @__PURE__ */ jsx(Button, { block: true, type: "primary", shape: "round", htmlType: "submit", children: t("global.signIn") }) })
2763
- ] }) }),
2764
- /* @__PURE__ */ jsx(Divider, { plain: true, dashed: true, children: t("SignIn.thirdParty") }),
2765
- /* @__PURE__ */ jsx("div", { className: "flex justify-center items-center", children: /* @__PURE__ */ jsxs(
2766
- Button,
2767
- {
2768
- block: true,
2769
- shape: "round",
2770
- href: `${SSO_URL}/logout?service=${SSO_URL}/login?service=${window.location.href}`,
2771
- target: "_self",
2772
- children: [
2773
- /* @__PURE__ */ jsx(Logo_default, { width: 18 }),
2774
- t("SignIn.signInWithIDass")
2775
- ]
2776
- }
2777
- ) })
2778
- ] }) }) }) })
2779
- ] });
2780
- };
2781
- var signIn_default = SignIn;
2782
-
2783
- // src/index.ts
2784
- init_request();
2785
- init_storage();
2786
-
2787
- export { APP_ID_HEADER_NAME, Provider_default as ContextProvider, DynamicTags_default as DynamicTags, ExpandableParagraph_default as ExpandableParagraph, FilterFormWrapper_default as FilterFormWrapper, Highlight_default as Highlight, InfiniteList_default as InfiniteList, Layout_default as Layout, NavMenu_default as NavMenu, notFound_default as NotFound, operationLogList_default as OperationLogList, PermissionButton_default as PermissionButton, QueryList_default as QueryList, QueryListAction, RequestError, RequireGame_default as RequireGame, RequirePermission_default as RequirePermission, SSO_URL, signIn_default as SignIn, UserWidget_default as UserWidget, contextStore, mixedStorage, permission_default as permissionRoutes, request, useFormModal, useGameStore, useLayoutStore, useModal, useModalStore, usePermission, usePermissions, useQueryListStore, useTokenStore, useTokenValidation, useToolkitsContext };
2788
- //# sourceMappingURL=index.js.map
2789
- //# sourceMappingURL=index.js.map
24
+ export { C as APP_ID_HEADER_NAME, Bo as ContextProvider, Yo as DynamicTags, Ee as ExpandableParagraph, we as FilterFormWrapper, Pe as Highlight, hr as InfiniteList, ar as Layout, gt as NavMenu, sa as NotFound, ia as OperationLogList, $ as PermissionButton, le as QueryList, Vs as QueryListAction, ye as RequestError, xt as RequireGame, Nr as RequirePermission, ct as SSO_URL, u2 as SignIn, _t as UserWidget, ee as contextStore, gs as mixedStorage, s2 as permissionRoutes, w as request, qe as useFormModal, W as useGameStore, bs as useLayoutStore, zs as useModal, Qr as useModalStore, H as usePermission, Me as usePermissions, J as useQueryListStore, Bi as useTestToken, he as useTokenStore, P as useToolkitsContext };