react-toolkits 2.19.1 → 2.20.0

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,2 +1,1349 @@
1
- import {jwtDecode}from'jwt-decode';import {create,useStore,createStore}from'zustand';import {persist,createJSONStorage}from'zustand/middleware';import*as Xe from'antd';import {Modal,Form,Button,Drawer,Spin,Result,Table,Card,Input,Select,App,Space,Popconfirm,Switch,InputNumber,theme,Tag,Typography,Alert,Divider,notification,Menu,Row,Col,Breadcrumb,Descriptions,Skeleton,Empty,Dropdown,Tooltip,Checkbox,Collapse}from'antd';import {forwardRef,lazy,useContext,useMemo,useEffect,useState,useCallback,useImperativeHandle,cloneElement,useRef,createContext,memo,Fragment as Fragment$1,Suspense,useTransition}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {last,has,template,get,isEqual,first}from'lodash-es';import {flushSync}from'react-dom';import {createRoot}from'react-dom/client';import tn from'ky';import Ne,{mutate,unstable_serialize,useSWRConfig}from'swr';import Sn from'swr/immutable';import {Routes,Route,Navigate,useNavigate,useParams,useLocation,Link}from'react-router-dom';import {PlusOutlined,UserAddOutlined,UsergroupAddOutlined,LogoutOutlined,UserOutlined,MenuUnfoldOutlined,MenuFoldOutlined,MinusCircleOutlined}from'@ant-design/icons';import Zn from'./logo-L6MFCL6M.png';import Ae from'swr/mutation';import {Editor}from'@monaco-editor/react';import {produce}from'immer';import pr from'query-string';import hn from'swr/infinite';import T1 from'dayjs';var pa=Object.defineProperty;var h=(o,t)=>()=>(o&&(t=o(o=0)),t);var ve=(o,t)=>{for(var e in t)pa(o,e,{get:t[e],enumerable:!0});};var Lo,ma,dt,je=h(()=>{Lo={getItem:o=>sessionStorage.getItem(o)||localStorage.getItem(o),setItem:(o,t)=>{sessionStorage.setItem(o,t),localStorage.setItem(o,t);},removeItem(o){sessionStorage.removeItem(o),localStorage.removeItem(o);}},ma=0,dt=()=>{let o=Date.now(),t=Math.floor(Math.random()*1e3),e=++ma%1e3;return o*1e6+t*1e3+e};});var va,zo,Eo=h(()=>{va={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",projectGroup:"Project Group",view:"View"},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"},User:{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"},Role:{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"}},zo=va;});var Wt,he,Se,He,Z,ne=h(()=>{Wt="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1",he="App-ID",Se="/console/",He=(r=>(r.V1="v1",r.V2="v2",r.V3="v3",r))(He||{}),Z="*";});var Uo,No=h(()=>{Eo();Uo=o=>({locale:zo,gameApiV2:!1,isGlobal:!1,signInPath:"/sign_in",mainPagePath:"/",permissionVersion:"v1",setContext(t){o(e=>({...e,...t}));}});});var Ao,Bo=h(()=>{Ao=o=>({setGameId:t=>{o({gameId:t});}});});var Ko,Wo=h(()=>{Ko=(o,t)=>({getUser:()=>{let e=t().token;if(e)try{return jwtDecode(e)}catch{return null}return null},setToken:e=>o({token:e})});});var qo,jo=h(()=>{je();No();Bo();Wo();qo=o=>createStore()(persist((...t)=>{let[,e,r]=t,s=()=>{e().setToken(""),r.persist.clearStorage();};return {...Ko(...t),...Ao(...t),...Uo(...t),clearToken:s,...o}},{name:"toolkits",storage:createJSONStorage(()=>Lo),partialize:t=>({token:t.token,gameId:t.gameId,collapsed:t.collapsed})}));});function P(o){let t=useContext(qt);if(!t)throw new Error("Missing ToolkitsProvider in the tree");return useStore(t,o||(e=>e))}var qt,jt,q,Ra,Qo=h(()=>{jo();qt=createContext(null);jt=o=>{let{children:t,...e}=o,r=useRef(),s=useContext(qt)?.getState();if(r.current||(r.current=qo({...s,...e})),!r.current.getState().signInPath)throw new Error('ToolkitsProvider: \u8BF7\u914D\u7F6E "signInPath"');return jsx(qt.Provider,{value:r.current,children:jsx(App,{children:t})})},q=(o,t)=>{let e=r=>jsx(jt,{...t,children:jsx(o,{...r})});return e.displayName=`withContext(${o.displayName||o.name||"Component"})`,e};process.env.NODE_ENV!=="production"&&(jt.displayName="ToolkitsProvider");Ra=jt;});var O=h(()=>{Qo();});function C(){let o=P(e=>e.locale);return {t:useMemo(()=>(e,r)=>has(o,e)?template(get(o,e))(r):e,[o])}}var $o=h(()=>{O();});var z=h(()=>{$o();});var ja,$e,rr=h(()=>{z();ja=o=>{let{extras:t,isConfirming:e,onConfirm:r,onReset:s,children:a,buttonsAlign:n="left",showReset:l}=o,{t:i}=C(),{token:{colorFillAlter:p,lineWidth:c,lineType:v,colorBorder:b,borderRadiusLG:d}}=theme.useToken();return jsx("div",{style:{maxWidth:"none",background:p,borderWidth:c,borderStyle:v,borderColor:b,borderRadius:d,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:a}),jsx("div",{className:`${n==="bottom"?"text-end":"text-start"} ml-4`,children:jsxs(Space,{children:[jsx(Button,{type:"primary",loading:e,onClick:r,children:i("FilterFormWrapper.confirmText")}),t?.map(y=>jsx(Fragment$1,{children:y.children},y.key)),l&&jsx(Button,{onClick:s,children:i("FilterFormWrapper.resetText")})]})})]})})},$e=ja;});var ht=h(()=>{rr();});function Xa(o){let t=document.createElement("div"),e=createRoot(t);return new Promise(r=>{setTimeout(()=>{flushSync(()=>{e.render(o);}),r(t.innerHTML);});})}var Ya,Za,_e,sr=h(()=>{Ya=o=>{let t=/(<[^>]*>)/;return o.split(t).filter(e=>e!=="")};Za=o=>{let{texts:t,children:e}=o,[r,s]=useState("");return useEffect(()=>{Xa(e).then(a=>{let n=Ya(a);for(let l of t)for(let i=0;i<n.length;i++)n[i]=n[i].replace(String(l),`<span style='color: #DC143C;'>${l}</span>`);s(n.join(""));});},[e,t]),jsx("div",{dangerouslySetInnerHTML:{__html:r}})},_e=Za;});var Je=h(()=>{sr();});var Qt,yt,on,$t,rn,nr,sn,an,M,ir=h(()=>{O();ne();Qt=[0,1,200],yt={OK:200,UNAUTHORIZED:401,FORBIDDEN:403,UNREGISTERED:412},on=3e4,$t=o=>!o||typeof o!="object"?"Unknown error":o.msg||o.message||o.error||"Unknown error",rn=o=>{let{value:t,allowedCodes:e}=o;return t==null||typeof t!="number"?!1:e.includes(t)},nr=(o,t)=>t>=yt.OK&&t<300?!0:!o||typeof o!="object"?!1:[{field:"code",value:o.code,allowedCodes:Qt},{field:"status",value:o.status,allowedCodes:Qt},{field:"errno",value:o.errno,allowedCodes:Qt}].some(rn),sn=async(o,t)=>{switch(t){case"blob":return o.blob();case"text":return o.text();case"arrayBuffer":return o.arrayBuffer();case"formData":return o.formData();case"json":default:return o.json()}},an=o=>async(t,e,r)=>{let s=r.headers.get("content-type")||"";if(o==="blob"||o==="arrayBuffer"||o==="text"||o==="formData")return r;if(s.includes("application/json")||o==="json"){let a=await r.json();if(nr(a,r.status)){let i=a.data!==void 0?a.data:a;return new Response(JSON.stringify(i),{status:r.status,statusText:r.statusText,headers:r.headers})}let n=$t(a);notification.error({message:"Request failed",description:n});let l=new Error(n);throw l.response=r,l.data=a,l}return r},M=o=>{let t=P(),{token:e,isGlobal:r,gameId:s,permissionVersion:a,signInPath:n,clearToken:l}=t,i=useCallback(()=>{l(),n&&(window.location.href=n);},[l,n]),p=useCallback(()=>{if(l(),n){let k=new URL(n,window.location.origin);k.searchParams.set("unregistered","true"),window.location.href=k.toString();}},[l,n]),c=useCallback(()=>{notification.error({message:"\u8BBF\u95EE\u88AB\u7981\u6B62",description:"\u60A8\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u6B64\u8D44\u6E90\u3002"});},[]),v=useCallback((k,_)=>{switch(k){case yt.UNAUTHORIZED:i();break;case yt.UNREGISTERED:p();break;case yt.FORBIDDEN:c();break;default:{let S=$t(_)||`HTTP ${k} Error`;notification.error({message:"Request failed",description:S});break}}},[i,p,c]),b=useMemo(()=>tn.create({prefixUrl:o,timeout:on,headers:{Accept:"application/json","Content-Type":"application/json"},hooks:{beforeRequest:[_=>{e&&_.headers.set("Authorization",`Bearer ${e}`),!_.headers.has(he)&&a!=="v1"&&(r||!s?_.headers.set(he,"global"):_.headers.set(he,encodeURIComponent(String(s))));}],afterResponse:[async(_,S,T)=>{let F=T.headers.get("content-type")||"";if(F.includes("application/octet-stream"))return T;if(F.includes("application/json")){let G=await T.json();if(nr(G,T.status))return new Response(JSON.stringify(G),{status:T.status,statusText:T.statusText,headers:T.headers});let R=$t(G);notification.error({message:"Request failed",description:R});let L=new Error(R);throw L.response=T,L.data=G,L}return T}],beforeError:[async _=>{let{response:S}=_;if(S){let T=S.status,F;try{(S.headers.get("content-type")||"").includes("application/json")&&(F=await S.json());}catch{}v(T,F);}else notification.error({message:"Network Error",description:_.message||"Network request failed"});return _}]}}),[o,e,r,s,a,v]),d=useCallback(async(k,_,S,T)=>{let{responseType:F,...G}=T||{},R={...G,hooks:{...G.hooks,afterResponse:[...G.hooks?.afterResponse||[],an(F)]}},L;return S?L=await b(_,{method:k,json:S,...R}):L=await b(_,{method:k,...R}),sn(L,F)},[b]),f=useCallback((k,_)=>d("GET",k,void 0,_),[d]),y=useCallback((k,_,S)=>d("POST",k,_,S),[d]),u=useCallback((k,_,S)=>d("PUT",k,_,S),[d]),x=useCallback((k,_)=>d("DELETE",k,void 0,_),[d]),m=useCallback((k,_,S)=>d("PATCH",k,_,S),[d]),g=useCallback((k,_)=>d("OPTIONS",k,void 0,_),[d]),w=useCallback((k,_)=>d("HEAD",k,void 0,_),[d]),V=useCallback(k=>{let{url:_,...S}=k;return d(S.method||"GET",_,void 0,S)},[d]);return useMemo(()=>({get:f,post:y,put:u,delete:x,patch:m,options:g,head:w,request:V,instance:b}),[f,y,u,x,m,g,w,V,b])};});var ee=h(()=>{ir();});function J(o,t){let e=M(),{permissionVersion:r}=P(),s=r!=="v1"?"/api/usystem/user/checkV2":"/api/usystem/user/check",a=typeof o<"u"?typeof o=="string"?[o]:o:[],{data:n,...l}=Ne(a.length>0?[s,{json:{permissions:a},...t}]:null,p=>e.post(...p)),i=!0;return typeof o=="string"?i=n?.has_all?!0:n?.[o]??!1:Array.isArray(o)&&o.length>0&&(i=a.reduce((p,c)=>(p[c]=n?.has_all?!0:n?.[c]??!1,p),{})),{...l,data:i}}function De(){let{signInPath:o,gameId:t}=P(),e=M();return Ne(window.location.pathname!==o?{url:"/api/usystem/menu/navbar",headers:{[he]:t?encodeURIComponent(String(t)):"global"}}:null,({url:r,headers:s})=>e.get(r,{headers:s}))}var te=h(()=>{O();ne();ee();});var Ce,mp,Jt=h(()=>{O();ne();ee();Ce=()=>{let{gameApiV2:o,permissionVersion:t}=P(s=>s),e=M(),r=t!=="v1"?o?"/api/game/list":"/api/usystem/game/all":null;return Sn(r,async s=>{let a={headers:{[he]:"global"}};return o?(await e.get(s,a))?.list??[]:await e.get(s,a)??[]})},mp=o=>{let{data:t}=Ce(),{gameApiV2:e}=P(r=>r);return t?.find(r=>String(e?r.game_id:r.id)===String(o))};});var dr,ur=h(()=>{dr=create()(persist((o,t)=>({openKeys:[],setOpenKeys:e=>{let r=t();(r.openKeys.length!==e.length||!r.openKeys.every((s,a)=>s===e[a]))&&o({openKeys:e});},selectedKeys:[],setSelectedKeys:e=>{let r=t();(r.selectedKeys.length!==e.length||!r.selectedKeys.every((s,a)=>s===e[a]))&&o({selectedKeys:e});}}),{name:"nav",storage:createJSONStorage(()=>localStorage),partialize:o=>({openKeys:o.openKeys,selectedKeys:o.selectedKeys}),skipHydration:!1,version:1}));});function xt(o){let t=[];if(o)for(let e=0;e<o.length;e++)if(o[e]===null||o[e].type==="divider")t[e]=o[e];else if(o[e].children){let{children:r,...s}=o[e];t[e]={...s,children:xt(r)};}else {let{route:r,label:s,...a}=o[e],n=r?jsx(fr,{to:r,children:s}):s;t[e]={...a,label:n};}return t}function bt(o,t=[],e=[]){for(let r of o){let s=r?.children;if(Array.isArray(s)){let a=r.type!=="group"&&r.key?[...e,r.key]:e;bt(s,t,a);}else r&&t.push(Object.assign(r,{keypath:e}));}return t}var fr,hr=h(()=>{fr=memo(({to:o,children:t})=>jsx(Link,{to:o,children:t}));fr.displayName="MemoizedLink";});var br,Xt,wr=h(()=>{ur();hr();br=memo(function(t){let{items:e=[],theme:r,loading:s}=t,a=useLocation(),n=useRef(),l=useRef(),i=useMemo(()=>n.current===e?n.current?bt(n.current):[]:(n.current=e,bt(e)),[e]),p=useMemo(()=>n.current===e?n.current?xt(n.current):[]:xt(e),[e]),{openKeys:c,selectedKeys:v,setOpenKeys:b,setSelectedKeys:d}=dr(),f=useCallback(y=>{let u=y.find(x=>!c.includes(x));if(u){let x=i.find(g=>g.key===u),m=x?.keypath?[...x.keypath,u]:[u];b(m);}else b(y);},[i,c,b]);return useEffect(()=>{if(l.current===a.pathname)return;l.current=a.pathname;let y=i.find(u=>a.pathname===u.route);if(y){let u=y.key,x=y.keypath;(v[0]!==u||!c.every((m,g)=>m===x[g]))&&(d([u]),b(x));}},[i,a.pathname,v,c,d,b]),s?jsx("div",{className:"flex justify-center items-center",style:{height:"calc(100vh - 64px)"},children:jsx(Spin,{})}):jsx(Menu,{theme:r,style:{borderRight:"none"},items:p,mode:"inline",openKeys:c,selectedKeys:v,onOpenChange:f})});process.env.NODE_ENV==="development"&&(br.displayName="NavMenu");Xt=br;});var Zt=h(()=>{wr();});var On,zn,eo,Sr=h(()=>{vt();z();O();(({Spin:On}=Xe)),zn=({children:o})=>{let{permissionVersion:t,gameId:e,isGlobal:r}=P(n=>n),{isLoading:s}=Ce(),{t:a}=C();return s?jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:400},children:jsx(On,{})}):t==="v1"||r?o:e?jsx(Fragment$1,{children:o},e):jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:a("RequireGame.description")})},eo=zn;});var to=h(()=>{Sr();});var Kn,oo,_r=h(()=>{z();O();Kn=()=>{let{t:o}=C(),t=useNavigate(),{clearToken:e,getUser:r,signInPath:s}=P(c=>c),a=r(),n=()=>{e(),t(s);},l=c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),n());},i=c=>{(c.key==="Enter"||c.key===" ")&&c.preventDefault();},p=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{role:"button",tabIndex:0,onClick:n,onKeyDown:l,children:o("UserWidget.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:!0,items:p},placement:"bottomRight",children:jsx("a",{role:"button",tabIndex:0,onClick:c=>{c.preventDefault();},onKeyDown:i,children:jsxs(Space,{align:"center",children:[jsx("span",{children:a?.authorityId}),jsx(UserOutlined,{style:{fontSize:"16px"}})]})})})})},oo=Kn;});var ro=h(()=>{_r();});var Jn,Yn,Ir,kr=h(()=>{z();O();Jt();(({Text:Jn}=Typography)),Yn=o=>{let{filter:t,options:e}=o,{t:r}=C(),{gameApiV2:s,gameId:a,setGameId:n}=P(f=>f),{data:l,isLoading:i}=Ce(),{cache:p}=useSWRConfig(),c=l?.filter(f=>t?.(f)??!0),v=typeof e=="function"?e(c):c?.map(f=>({label:f.name,value:s?f.game_id:f.id})),b=f=>{d(),n(f);},d=()=>{for(let f of p.keys())f!=="/api/game/list"&&f!=="/api/usystem/game/all"&&p.delete(f);};return useEffect(()=>{if(l&&l.length>0){let f=s?l[0].game_id:l[0].id;l.every(y=>String(y.game_id||y.id)!==String(a))&&n(f);}},[l]),jsxs(Space,{children:[jsx(Jn,{children:r("GameSelect.label")}),jsx(Select,{showSearch:!0,optionFilterProp:"label",value:a,placeholder:r("GameSelect.placeholder"),loading:i,style:{width:"200px"},options:v,onChange:b})]})},Ir=Yn;});var ei,Ve,Pr=h(()=>{ei=o=>jsx("img",{src:Zn,alt:"logo",...o}),Ve=ei;});var so=h(()=>{Pr();});var Tr,Rr,Fr=h(()=>{so();Tr=memo(({title:o,subtitle:t,mainPagePath:e,collapsed:r})=>jsxs("div",{className:"px-6 py-2 font-bold relative bg-gradient-to-r from-white to-gray-50/30",style:{height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[jsxs("div",{className:`flex items-center w-full ${r?"justify-center":""}`,children:[jsx(Link,{to:e,className:"hover:opacity-80 transition-all duration-300 ease-out block rounded-lg p-1 hover:bg-white/50 hover:shadow-sm",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?.8:1,transform:"translateX(0)"},children:jsx(Ve,{width:36,style:{objectFit:"contain",display:"block",filter:"drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05))",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}})}),o&&jsx("div",{className:"ml-4 overflow-hidden min-w-0",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?0:1,width:r?"0px":"auto",marginLeft:r?"0px":"16px",transform:r?"translateX(-8px)":"translateX(0)"},children:jsx(Link,{to:e,className:"text-xl leading-tight hover:text-blue-600 transition-all duration-300 font-bold text-ellipsis overflow-hidden whitespace-nowrap block bg-gradient-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent hover:from-blue-600 hover:to-blue-500",title:o,style:{letterSpacing:"0.02em",textShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},children:o})})]}),jsx("div",{className:"w-full mt-2 overflow-hidden",style:{height:t&&!r?"20px":"1px",transition:"height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:jsxs("div",{className:"flex items-center justify-center h-full w-full",children:[jsx("div",{className:"w-full border-t border-gray-200 absolute",style:{opacity:!t||r?1:0,transition:"opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}}),t&&jsxs("div",{className:"flex items-center w-full text-sm",style:{opacity:r?0:1,transform:r?"translateY(-3px)":"translateY(0)",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:[jsx("div",{className:"flex-1 border-t border-gray-200"}),jsx("span",{className:"px-3 text-gray-500 font-medium whitespace-nowrap",title:t,children:t}),jsx("div",{className:"flex-1 border-t border-gray-200"})]})]})})]}));Tr.displayName="LayoutHeader";Rr=Tr;});var li,ci,pi,mi,di,ui,fi,Vr=h(()=>{Zt();to();O();ro();kr();Fr();(({Spin:li,theme:ci}=Xe)),{Header:pi,Sider:mi,Content:di}=Xe.Layout,ui=o=>{let{collapsible:t,isMenuLoading:e,items:r,headerExtra:s,children:a,navWidth:n,filter:l,gameSelectOptions:i,title:p,subtitle:c}=o,{token:{colorBgContainer:v,colorBorder:b}}=ci.useToken(),{permissionVersion:d,navWidth:f,collapsible:y,mainPagePath:u,collapsed:x,setContext:m,isGlobal:g}=P(),[w,V]=useState(x),k=async()=>{V(!w),m({collapsed:!w});},_=t??y??!1;return jsxs(Xe.Layout,{children:[jsxs(mi,{collapsible:_,theme:"light",trigger:null,collapsed:w,width:n??f,style:{height:"100vh",overflowX:"hidden",overflowY:"auto",borderRightWidth:1,borderRightStyle:"solid",borderRightColor:b,transition:"all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:[jsx(Rr,{title:p,subtitle:c,mainPagePath:u,collapsed:w||!1}),jsx(Xt,{items:r,loading:e})]}),jsxs(Xe.Layout,{children:[jsx(pi,{style:{padding:"0 24px",background:v},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:[_&&jsx(Button,{type:"text",icon:w?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),style:{fontSize:"16px"},onClick:k}),d!=="v1"&&!g&&jsx(Ir,{filter:l,options:i}),s?.left?.map(S=>jsx("span",{children:S.children},S.key))]}),jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),children:[s?.right?.map(S=>jsx("span",{children:S.children},S.key)),jsx(oo,{})]})]})}),jsx(di,{style:{overflow:"auto",padding:"24px 16px",maxHeight:"calc(100vh - 64px)",transition:"margin-left 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:jsx(Suspense,{fallback:jsx(li,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"200px"}}),children:jsx(eo,{children:a})})})]})]})},fi=ui;});var Gr=h(()=>{});var vt=h(()=>{Jt();Vr();Gr();});var ao,no=h(()=>{ao=create((o,t)=>({open:new Map,usedIds:new Set,isOpen:e=>t().open.get(e)??!1,show(e){o({open:new Map(t().open).set(e,!0)});},hide(e){o({open:new Map(t().open).set(e,!1)});},hideAll(){o({open:new Map});},checkUniqueness(e){let{usedIds:r}=t();return !r.has(e)},registerIds(e){let{usedIds:r}=t();return r.has(e)?!1:(o({usedIds:new Set(r).add(e)}),!0)},cleanup(e){let{open:r,usedIds:s}=t(),a=new Map(r),n=new Set(s);a.delete(e),n.delete(e),o({open:a,usedIds:n});}}));});function io(o){let{content:t,onConfirm:e,afterOpen:r,afterClose:s,...a}=o,n=useMemo(()=>dt(),[]),{show:l,hide:i,isOpen:p,cleanup:c}=ao();useEffect(()=>()=>{c(n);},[n,c]);let v=p(n),[b,d]=useState(!1),f=typeof t=="function",y=useCallback(async()=>{l(n),await r?.();},[n,l,r]),u=useCallback(()=>{i(n);},[n,i]),x=useCallback(async()=>{u(),await s?.();},[u,s]),m=useCallback(async()=>{try{d(!0),await e?.(),u(),await s?.();}catch(w){throw console.error("Modal confirm error:",w),w}finally{d(!1);}},[e,u,s]),g=jsx(Modal,{...a,open:v,confirmLoading:b,onOk:m,onCancel:x,children:f?t({hide:u}):t});return {id:n,show:y,hide:u,modal:g}}var lo=h(()=>{je();no();});function ye(o){let{content:t,form:e,formProps:r,onConfirm:s,onSuccess:a,afterClose:n,...l}=o,[i,p]=useState({}),[c]=Form.useForm();c=e||c;let v=typeof t=="function",b=useCallback(()=>{c.resetFields(),n?.();},[c]),{id:d,show:f,hide:y,modal:u}=io({...l,content:m=>jsx(Form,{...r,form:c,children:v?t(i,m):t}),onConfirm:async()=>{try{let m=await c.validateFields();await s?.(m,i),a?.(),y();}catch(m){throw console.error("Form validation or submission error:",m),m}},afterClose:b}),x=useCallback(m=>{let{initialValues:g,extraValues:w}=m||{};w&&p(w),g&&c.setFieldsValue(g),f();},[c,f]);return {id:d,show:x,hide:y,modal:u}}var Er=h(()=>{lo();});var co=h(()=>{Er();lo();no();});var Ci,Q,Ur=h(()=>{z();te();Ci=o=>{let{children:t,code:e,showLoading:r,disabled:s,config:a,...n}=o,l=e?Array.isArray(e)?e:[e]:[],{data:i,isLoading:p}=J(l,a),{t:c}=C();return p?jsx(Button,{loading:r,disabled:!r,...n,children:t}):typeof i=="boolean"||i&&Object.values(i).some(Boolean)?jsx(Button,{disabled:s,...n,children:t}):jsx(Tooltip,{defaultOpen:!1,title:c("global.noEntitlement"),children:jsx(Button,{disabled:!0,...n,children:t})})},Q=Ci;});var Oe=h(()=>{Ur();});var me,It=h(()=>{me=create((o,t)=>({keyMap:new Map,payloadMap:new Map,getPayload(e){return t().payloadMap.get(e)??{page:1}},setPayload(e,r){o(s=>({payloadMap:new Map(s.payloadMap).set(e,r)}));},refetch(e,r){let s=t().getPayload(e),a={...s,...r};isEqual(s,a)?t().mutate(e,void 0):t().setPayload(e,a);},mutate(e,r,s){let a=t().keyMap.get(e);return mutate(a,r,s)}}));});var Br,Ei,Ui,de,Kr=h(()=>{ht();z();ee();te();It();Br=(s=>(s[s.Confirm=0]="Confirm",s[s.Reset=1]="Reset",s[s.Jump=2]="Jump",s[s.Init=3]="Init",s))(Br||{}),Ei=(o,t)=>{let e={method:"GET",defaultSize:10,refreshInterval:0,getTotal:A=>A?.total,getDataSource:A=>A?.list,...o},{url:r,code:s,headers:a,onePage:n,method:l,buttonsAlign:i,showReset:p,defaultSize:c,refreshInterval:v,tableExtra:b,form:d,body:f,params:y,renderForm:u,afterSuccess:x,getTotal:m,getDataSource:g,footer:w,pageSizeOptions:V,...k}=e;if(!r)throw new Error("url property is required");let{t:_}=C(),[S]=Form.useForm(d),T=useRef(3),{data:F,isLoading:G}=J(s),[R,L]=useState(!1),{keyMap:Y,getPayload:we,refetch:X}=me(),Pe=M(),{page:ae,size:le=c,formValue:ce}=we(r),Me=useMemo(()=>({page:ae,size:le,formValue:ce}),[ae,le,ce]),lt=useMemo(()=>typeof f=="function"?f(Me):typeof f>"u"?l==="POST"?{...ce,page:n?void 0:ae,size:n?void 0:le}:void 0:f,[f,Me,l,ce,n,ae,le]),ct=useMemo(()=>typeof y=="function"?y(Me):typeof y>"u"?l==="GET"?{...ce,page:n?void 0:ae,size:n?void 0:le}:void 0:y,[y,Me,l,ce,n,ae,le]),pt=useMemo(()=>typeof a=="function"?a(S):a,[a,S]),j=useRef(!1),Te=useMemo(()=>({url:r,method:l,body:lt,searchParams:ct,headers:pt}),[r,l,lt,ct,pt]),Et=useMemo(()=>{if(!F||!R)return null;let A=unstable_serialize(Te);return Y.set(r,A),A},[F,R,Te,Y,r]),{data:ge,isLoading:Ut}=Ne(Et,async()=>{let{url:A,method:qe,body:mt,searchParams:la,headers:ca}=Te,Nt={method:qe,searchParams:la,headers:ca};return mt&&(mt instanceof FormData?Nt.body=mt:Nt.json=mt),await Pe.request({url:A,...Nt})},{shouldRetryOnError:!1,revalidateOnFocus:!1,refreshInterval:j.current?v:0,onSuccess(A){j.current=!0,x?.(T.current,S,A);}}),Fo=g(ge,S),ra=m(ge),sa=!n&&{pageSizeOptions:V,showSizeChanger:!0,showQuickJumper:!0,current:ae,pageSize:le,total:ra,onChange:async(A,qe)=>{T.current=2,X(r,{page:A,size:qe});}},Do=async()=>{T.current=0;try{await S.validateFields(),L(!0),X(r,{page:1,formValue:S.getFieldsValue()});}catch{L(!1);}},aa=async()=>{T.current=1,S.resetFields();try{await S.validateFields({validateOnly:!0}),L(!0),X(r,{page:1,formValue:S.getFieldsValue()});}catch{L(!1);}};if(useEffect(()=>{let A=async()=>{if(F)try{S.resetFields();let qe=await S.validateFields({validateOnly:!0});X(r,{page:1,formValue:qe}),L(!0);}catch{L(!1);}};setTimeout(()=>{A();},300);},[F,d,S,X,r]),useImperativeHandle(t,()=>({data:ge,dataSource:Fo,form:S})),G)return jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}});if(!F)return jsx(Result,{status:403,subTitle:_("global.noEntitlement")});let na=typeof u=="function"?jsx($e,{showReset:p,buttonsAlign:i,isConfirming:Ut,onReset:aa,onConfirm:Do,children:cloneElement(u(S),{onKeyUp:A=>{A.key==="Enter"&&Do();}})}):jsx(Form,{form:S}),ia=w&&(()=>w(ge));return jsxs("div",{children:[na,typeof b=="function"?b(S,ge):b,jsx(Table,{...k,dataSource:Fo,loading:Ut,pagination:sa,footer:ia})]})},Ui=forwardRef(Ei),de=Ui;});var Ee=h(()=>{Kr();It();});var uo,Wr=h(()=>{uo="/api/usystem/menu/list";});function qr(){let o=M();return Ae("/api/usystem/menu/set",(t,{arg:e})=>o.post(t,{...e,id:0,is_model:!0}))}function jr(){let o=M();return Ae("/api/usystem/menu/set",(t,{arg:e})=>o.post(t,{...e,is_model:!0}))}function Hr(){let o=M();return Ae("/api/usystem/menu/delete",(t,{arg:e})=>o.post(t,null,{searchParams:{id:e}}))}var go=h(()=>{ee();});var kt=h(()=>{Wr();go();});var $r={};ve($r,{default:()=>Xi});var Yi,Xi,Jr=h(()=>{Je();z();Ee();O();kt();go();te();Yi=q(()=>{let{t:o}=C(),{message:t}=App.useApp(),e=Hr(),{refetch:r}=me(),{mutate:s}=De(),a=useNavigate();return jsx(Fragment,{children:jsx(Card,{title:"\u83DC\u5355\u7BA1\u7406",extra:jsx(Button,{type:"primary",onClick:()=>{a("./create");},children:"\u521B\u5EFA\u83DC\u5355\u9879"}),children:jsx(de,{onePage:!0,code:"9900001",rowKey:"id",url:uo,columns:[{title:"\u83DC\u5355\u540D\u79F0",dataIndex:"category",key:"category"},{title:"\u524D\u7AEF\u8DEF\u7531",dataIndex:"front_route"},{title:"Order",dataIndex:"order"},{title:"Is Common",dataIndex:"is_common",key:"is_common",render:l=>l?"\u662F":"\u5426"},{title:"\u6A21\u677F\u540D\u79F0",dataIndex:"model_name",key:"model_name"},{title:"\u64CD\u4F5C",key:"action",width:150,align:"center",render(l,i){return i.is_model?jsxs(Space,{size:"small",children:[jsx(Button,{type:"link",onClick:()=>{a(`./update/${i.id}`);},children:o("global.update")}),jsx(Popconfirm,{title:"\u5220\u9664\u83DC\u5355",placement:"topRight",description:jsxs(_e,{texts:[i.category],children:["\u786E\u5B9A\u8981\u5220\u9664\u83DC\u5355 ",i.category," \u5417\uFF1F"]}),onConfirm:async()=>{await e.trigger(i.id),r(uo),s(),t.success("\u5220\u9664\u6210\u529F");},children:jsx(Button,{danger:!0,type:"link",size:"small",children:o("global.delete")})})]}):null}}],getDataSource:l=>l})})})},{isGlobal:!0}),Xi=Yi;});var es={};ve(es,{default:()=>n1});var a1,n1,ts=h(()=>{O();ne();kt();te();a1=q(()=>{let{message:o}=App.useApp(),[t]=Form.useForm(),e=useNavigate(),{trigger:r}=qr(),{mutate:s}=De();return jsx(Card,{title:"\u521B\u5EFA\u83DC\u5355\u9879",children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:async n=>{let{permissions:l,front_route:i,...p}=n;await r({...p,front_route:Se+i,permissions:l?JSON.parse(l):void 0}),s(),o.success("\u521B\u5EFA\u6210\u529F",.8,()=>e("..",{relative:"route"}));},children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Se})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{e("..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),n1=a1;});var as={};ve(as,{default:()=>h1});var g1,h1,ns=h(()=>{O();ne();kt();ee();te();g1=q(()=>{let{message:o}=App.useApp(),[t]=Form.useForm(),e=useNavigate(),{trigger:r}=jr(),s=useParams(),{mutate:a}=De(),n=M(),{data:l,isLoading:i}=Ne(`/api/usystem/menu/info?id=${s.id}`,c=>n.get(c)),p=async c=>{let{permissions:v,front_route:b,...d}=c;await r({...d,permissions:v?JSON.parse(v):void 0,front_route:Se+b,id:+s.id}),a(),o.success("\u66F4\u65B0\u6210\u529F",.8,()=>e("../..",{relative:"route"}));};return useEffect(()=>{let{permissions:c,front_route:v,...b}=l??{},d=JSON.stringify(c||[],null,2),f=v?.replace(Se,"");t.setFieldsValue({...b,permissions:d,front_route:f});},[l,t]),jsx(Card,{title:"\u66F4\u65B0\u83DC\u5355\u9879",loading:i,children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:p,children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Se})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{e("../..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),h1=g1;});function ds(){let o=M();return Ne("/api/usystem/user/allPermssions",t=>o.get(t))}function us(){let o=M();return Ne("/api/usystem/user/allPermissionsV2",t=>o.get(t))}function So(){let o=M();return Ne("/api/usystem/role/all",t=>o.get(t))}function fs(o){let t=P(r=>r.permissionVersion),e=M();return Ne(`/api/usystem/role/${t==="v2"?"infoV2":"info"}?name=${o}`,r=>e.get(r))}function E1(){let{permissionVersion:o}=P(e=>e),t=M();return Ae(o==="v2"?"/api/usystem/role/createV2":"/api/usystem/role/create",(e,{arg:r})=>t.post(e,r))}function U1(){let{permissionVersion:o}=P(e=>e),t=M();return Ae(o==="v2"?"/api/usystem/role/updateV2":"/api/usystem/role/update",(e,{arg:r})=>t.post(e,r))}function gs(){let o=M();return Ae("/api/usystem/role/delete",(t,{arg:e})=>o.post(t,e))}function hs(){let o=M();return Ae("/api/usystem/user/create",(t,{arg:e})=>o.post(t,e))}function ys(){let o=M();return Ae("/api/usystem/user/update",(t,{arg:e})=>o.post(t,e))}function xs(){let o=M();return Ae("/api/usystem/user/delete",(t,{arg:e})=>o.post(t,e))}var vo,bs,Tt,ws,vs,N1,A1,Ss,_s,Rt,Ft=h(()=>{z();co();O();ne();ee();_o();({Text:vo}=Typography);bs=({onSuccess:o}={})=>{let{t}=C(),{trigger:e}=E1();return ye({title:t("Role.createTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Be,{})})]}),onConfirm:async r=>{await e({name:`role_${r.name}`,permissions:r.permissions}),o?.();}})},Tt=({onSuccess:o}={})=>{let{t}=C(),{trigger:e}=U1();return ye({title:t("Role.updateTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0,addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Be,{})})]}),onConfirm:async(r,s)=>{await e({id:s?.id,name:`role_${r.name}`,permissions:r.permissions}),o?.();}})},ws=({onSuccess:o}={})=>{let{t}=C(),{data:e,isLoading:r}=So(),{trigger:s}=hs();return ye({title:t("User.createTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:e?.map(a=>({label:a.name,value:a.name}))})})]}),onConfirm:async a=>{await s(a),o?.();}})},vs=({onSuccess:o}={})=>{let{t}=C(),{data:e,isLoading:r}=So(),{trigger:s}=ys();return ye({title:t("User.updateTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:e?.map(a=>({label:a.name,value:a.name}))})})]}),onConfirm:async(a,n)=>{await s({...a,id:n?.id}),o?.();}})},N1=o=>{let{onChange:t,...e}=o,r=M(),{data:s,isLoading:a}=Ne("/api/enum/get?enum=game_group&type=all",i=>r.get(i)),n=[{label:"\u901A\u7528",value:Z}].concat(s?.map(i=>({label:i,value:i}))??[]);return jsx(Select,{...e,allowClear:!0,showSearch:!0,mode:"tags",optionFilterProp:"label",loading:a,options:n,onChange:i=>{last(i)===Z?t?.([Z]):first(i)===Z?t?.(i.slice(1)):t?.(i);}})},A1=o=>{let{groups:t,onChange:e,...r}=o,s=M(),{data:a,isLoading:n}=Ne(t?.length?`/api/enum/game_group/get_game_ids?game_groups=${t.join(",")}`:null,p=>s.get(p).then(c=>c?.list)),l=a?.map(p=>({label:p.name,value:p.id}));return jsx(Select,{...r,allowClear:!0,showSearch:!0,optionFilterProp:"label",mode:"tags",loading:n,options:l,onChange:p=>{last(p)===Z?e?.([Z]):first(p)===Z?e?.(p.slice(1)):e?.(p);}})},Ss=({isCreate:o})=>{let{t}=C(),{data:e,isLoading:r}=So();return jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!o})}),jsx(Form.List,{name:"permissions",children:(s,{add:a,remove:n})=>jsxs(Row,{gutter:8,children:[jsx(Col,{span:8,className:"text-center mb-4",children:jsx(vo,{strong:!0,children:t("global.projectGroup")})}),jsx(Col,{span:10,className:"text-center mb-4",children:jsx(vo,{strong:!0,children:t("global.game")})}),jsx(Col,{span:6,className:"text-center mb-4",children:jsx(vo,{strong:!0,children:t("global.role")})}),s.map(l=>jsxs(Fragment$1,{children:[jsx(Col,{span:8,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:!0,children:({setFieldValue:i})=>jsx(Form.Item,{name:[l.name,"game_group"],children:jsx(N1,{onChange:()=>{i(["permissions",l.name,"game_ids"],[]);}})})})}),jsx(Col,{span:10,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:(i,p)=>i.permissions[l.name]?.game_group!==p.permissions[l.name]?.game_group,children:({getFieldValue:i})=>{let p=i(["permissions",l.name,"game_group"]);return jsx(Form.Item,{name:[l.name,"game_ids"],dependencies:[["permissions",l.name,"game_group"]],rules:[{required:p?.length,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(A1,{groups:p})})}})}),jsx(Col,{span:6,children:jsxs("div",{className:"flex",children:[jsx("div",{className:"flex-1",children:jsx(Form.Item,{name:[l.name,"role"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272"},({getFieldValue:i})=>({validator(p,c){return i("permissions").filter((d,f)=>!!d&&f!==l.name).some(d=>d.role===c)?Promise.reject(new Error("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\u89D2\u8272")):Promise.resolve()}})],children:jsx(Select,{allowClear:!0,showSearch:!0,optionFilterProp:"label",loading:r,options:e?.map(i=>({label:i.name,value:i.name}))})})}),jsx("div",{className:"w-8 text-center",children:jsx(Form.Item,{children:jsx(MinusCircleOutlined,{onClick:()=>{n(l.name);}})})})]})})]},l.key)),s.length===0&&jsx(Col,{span:24,children:jsx(Empty,{className:"mb-6"})}),jsx(Col,{span:24,children:jsx(Button,{block:!0,type:"dashed",onClick:()=>a(),children:t("global.add")})})]})})]})},_s=({onSuccess:o}={})=>{let{t}=C(),{trigger:e}=hs();return ye({title:t("User.createTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(Ss,{isCreate:!0}),onConfirm:async r=>{await e(r),o?.();}})},Rt=({onSuccess:o}={})=>{let{t}=C(),{trigger:e}=ys();return ye({title:t("User.updateTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(Ss,{}),onConfirm:async(r,s)=>{await e({...r,id:s?.id}),o?.();}})};});var H1,st,Po=h(()=>{z();H1=o=>{let{permissions:t,readonly:e,expand:r,value:s,onChange:a}=o,[n,l]=useState([]),[i,p]=useState({}),[c,v]=useState(s??[]),{t:b}=C(),[,d]=useTransition(),f=useCallback(m=>{l(m);},[]),y=(m,g)=>{let w=[];return m?w=[...new Set(c.concat(g))]:(w=c.slice(),g.forEach(V=>{let k=w.findIndex(_=>_===V);k>-1&&w.splice(k,1);})),w},u=(m,g)=>{let w=y(m.target.checked,g);v(w),a?.(w);};useEffect(()=>{v(s??[]);},[s]),useEffect(()=>{r&&d(()=>{l((t??[]).map(({category:m})=>m));});},[r,t]),useEffect(()=>{let m=(t??[]).reduce((g,w)=>(g[w.category]=w.permissions.every(V=>c?.includes(V.value)),g),{});p(m);},[c,t]);let x=(t??[]).map(m=>({key:m.category,label:m.category,extra:!e&&jsx(Checkbox,{checked:i[m.category],onChange:g=>{u(g,m.permissions?.map(w=>w.value));},children:b("global.selectAll")}),children:jsx(Checkbox.Group,{style:{width:"100%"},value:c,disabled:e,children:jsx(Row,{gutter:[10,10],style:{width:"100%"},children:m.permissions?.map(g=>jsx(Col,{span:6,children:jsx(Checkbox,{value:g.value,onChange:w=>{u(w,[g.value]);},children:g.label})},g.value))})})}));return jsx(Collapse,{style:{width:"100%"},collapsible:"header",activeKey:n,items:x,onChange:f})},st=H1;});var Mo,el,tl,Ts,Rs=h(()=>{z();Ft();Po();(({Text:Mo}=Typography)),{Option:el}=Select,tl=o=>{let{expand:t=!0,value:e,readonly:r,onChange:s}=o,{data:{permission:a,game:n}={},isLoading:l,error:i}=us(),[p,c]=useState([]),v=a?.filter(u=>u.is_common),b=a?.filter(u=>!u.is_common),{t:d}=C();if(useEffect(()=>{let u=[];Object.keys(e??{}).forEach(x=>{x!=="global"&&u.push({gameId:x,permissions:e?.[x]??[]});}),c(u);},[e]),i)return jsx("div",{className:"flex justify-center",children:jsx(Mo,{type:"danger",children:d("PermissionList.failedDescription")})});let f=()=>{c(u=>[...u,{gameId:"",permissions:[]}]);},y=u=>{c(x=>x.filter((m,g)=>g!==u));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:!0,children:d("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:!0,loading:l,children:jsx(st,{value:e?.global,readonly:r,permissions:v,expand:t,onChange:u=>{s?.({...e,global:u});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:!0,children:d("PermissionList.gameSectionTitle")})}),p.map((u,x)=>jsx(Card,{title:jsxs(Space,{children:[jsx(Mo,{children:d("global.game")}),r?jsx(Mo,{children:n?.find(m=>String(m.id)===u.gameId)?.name}):jsx(Select,{disabled:r,value:p[x].gameId||void 0,style:{width:"160px"},placeholder:d("PermissionList.gameSelectPlaceholder"),onChange:m=>{c(g=>{let w=g.slice();return w[x].gameId=m,w});},children:n?.map(m=>jsx(el,{value:m.id,disabled:p.some(({gameId:g})=>g===String(m.id)),children:m.name},m.id))})]}),className:"mb-6",extra:!r&&jsx(Button,{type:"link",onClick:()=>{y(x);},children:d("PermissionList.removeText")}),children:p[x].gameId?jsx(Skeleton,{active:!0,loading:l,children:jsx(st,{value:e?.[p[x].gameId],readonly:r,expand:t,permissions:b,onChange:m=>{s?.({...e,[p[x].gameId]:m});}})}):jsx(Empty,{description:d("PermissionList.gameSectionDescription")})},x)),!r&&jsx(Button,{block:!0,type:"dashed",onClick:f,children:d("PermissionList.addText")})]})},Ts=tl;});var sl,al,Fs,Ds=h(()=>{z();Ft();Po();(({Text:sl}=Typography)),al=o=>{let{expand:t=!0,value:e,readonly:r,onChange:s}=o,{data:a,isLoading:n,error:l}=ds(),{t:i}=C();return l?jsx("div",{className:"flex justify-center",children:jsx(sl,{type:"danger",children:i("PermissionList.failedDescription")})}):jsx(Skeleton,{active:!0,loading:n,children:jsx(st,{value:e,permissions:a,readonly:r,expand:t,onChange:s})})},Fs=al;});var nl,Be,Ls=h(()=>{O();Rs();Ds();nl=o=>{let{value:t}=o,e=P(r=>r.permissionVersion);return jsx(Fragment,{children:e==="v2"?jsx(Ts,{...o,value:t}):jsx(Fs,{...o,value:t})})},Be=nl;});var _o=h(()=>{Ls();});var Vs=h(()=>{});var at=h(()=>{_o();Ft();Vs();});var Us={};ve(Us,{default:()=>yl});var We,hl,yl,Ns=h(()=>{Je();z();Oe();Ee();O();at();We="/api/usystem/user/list",hl=()=>{let{modal:o,message:t}=App.useApp(),{t:e}=C(),r=xs(),{mutate:s,refetch:a}=me(),{permissionVersion:n}=P(m=>m),l=n==="v1",i=n==="v3",{show:p,modal:c}=ws({onSuccess(){a(We,{page:1}),t.success(e("User.createSuccessfully"));}}),{show:v,modal:b}=vs({onSuccess(){a(We),t.success(e("User.updateSuccessfully"));}}),{show:d,modal:f}=_s({onSuccess(){a(We,{page:1}),t.success(e("User.createSuccessfully"));}}),{show:y,modal:u}=Rt({onSuccess(){a(We),t.success(e("User.updateSuccessfully"));}}),x=[{title:e("global.name"),dataIndex:"name",key:"name",render(m,g){return i?jsx(Link,{to:`./${g.id}`,children:m}):m}},{title:"ID",dataIndex:"id",key:"id"},(l||i)&&{title:e("global.role"),dataIndex:"roles",key:"roles",width:"40%",render(m){return jsx(Row,{gutter:[4,4],children:(m||[]).map(g=>jsx(Col,{children:g==="root"?jsx(Tag,{color:"#f50",children:g}):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${g}`,children:g})})},g))})}},{title:e("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:e("global.operation"),width:150,align:"center",render:(m,g)=>{let{name:w,permissions:V,roles:k,id:_}=g;return jsxs(Space,{children:[jsx(Q,{size:"small",type:"link",code:"100003",onClick:()=>{i?y({initialValues:{name:w,permissions:V},extraValues:{id:_}}):v({initialValues:{name:w,roles:k},extraValues:{id:_}});},children:e("global.update")}),jsx(Q,{danger:!0,size:"small",code:"100004",type:"link",onClick:()=>{o.confirm({title:e("User.deleteTitle"),content:jsx(_e,{texts:[w],children:e("User.deleteContent",{user:w})}),async onOk(){await r.trigger({id:_,name:w}),s(We,S=>produce(S,T=>{let F=T?.List?.findIndex(G=>G.id===_);F&&T?.List?.splice(F,1);})),t.success(e("User.deleteSuccessfully"));}});},children:e("global.delete")})]})}}].filter(Boolean);return jsxs(Fragment,{children:[jsx(Card,{title:e("global.user"),extra:jsx(Q,{type:"primary",icon:jsx(UserAddOutlined,{}),code:"100002",onClick:()=>{i?d():p();},children:e("User.createTitle")}),children:jsx(de,{code:"100001",url:We,rowKey:"id",columns:x,getTotal:m=>m?.Total,getDataSource:m=>m?.List,renderForm:i?m=>jsx(Form,{form:m,children:jsx(Form.Item,{label:"\u540D\u79F0",name:"name",children:jsx(Input,{})})}):void 0})}),c,b,f,u]})},yl=q(hl,{isGlobal:!0});});var Ws={};ve(Ws,{default:()=>kl});var Il,kl,qs=h(()=>{vt();z();Oe();O();ne();at();ee();te();Il=()=>{let{message:o}=App.useApp(),t=useParams(),{t:e}=C(),{gameApiV2:r}=P(d=>d),s=M(),{data:a,isLoading:n,mutate:l}=Ne(t.id?`/api/usystem/user/info?id=${t.id}`:null,d=>s.get(d)),{data:i}=Ce(),{data:p}=J("200005"),{show:c,modal:v}=Rt({onSuccess(){l(),o.success(e("User.updateSuccessfully"));}}),b=[{key:"group",title:e("global.projectGroup"),dataIndex:"game_group",render(d){return d.map(f=>jsx(Tag,{children:f===Z?"\u901A\u7528":f},f))}},{key:"game",title:e("global.game"),dataIndex:"game_ids",render(d){return d.map(f=>{let y=i?.find(u=>String(r?u.game_id:u.id)===f);return jsx(Tag,{children:y?.name??(f===Z?"\u901A\u7528":f)},f)})}},{key:"role",title:e("global.role"),dataIndex:"role",render(d){return p?jsx(Link,{to:`../../role/${d}`,relative:"path",children:d}):d}}];return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:e("global.user")})},{key:"2",title:"\u7528\u6237\u8BE6\u60C5"}]}),jsx(Card,{title:"\u7528\u6237\u8BE6\u60C5",loading:n,extra:jsx(Q,{code:"100003",onClick:()=>{c({initialValues:{name:a?.name,permissions:a?.permissions},extraValues:{id:a.id}});},children:e("global.update")}),children:jsxs(Descriptions,{bordered:!0,column:1,children:[jsx(Descriptions.Item,{label:e("global.name"),children:a?.name}),jsx(Descriptions.Item,{label:"ID",children:a?.id}),jsx(Descriptions.Item,{label:e("global.role"),children:jsx(Table,{rowKey:"role",columns:b,dataSource:a?.permissions,pagination:!1})})]})}),v]})},kl=Il;});var Qs={};ve(Qs,{default:()=>Gl});var Vt,Vl,Gl,$s=h(()=>{Je();z();Oe();Ee();It();O();at();ee();te();Vt="/api/usystem/role/list",Vl=()=>{let{modal:o,message:t}=App.useApp(),{data:e}=J("200005"),{t:r}=C(),{permissionVersion:s}=P(y=>y),{mutate:a,refetch:n}=me(),l=M(),{show:i,modal:p}=bs({onSuccess(){n(Vt,{page:1}),t.success(r("Role.createSuccessfully"));}}),{show:c,modal:v}=Tt({onSuccess(){a(Vt),t.success(r("Role.updateSuccessfully"));}}),b=gs(),d=async y=>{let u=await l.get(`/api/usystem/role/info${s==="v2"?"V2":""}?name=${y.name}`);c({initialValues:{permissions:u.permissions,name:u?.name.replace(/^role_/,"")},extraValues:{id:u?.id}});},f=[{title:r("global.name"),key:"name",render(y){return e?jsx(Link,{to:`${y.name}`,relative:"path",children:y.name}):jsx(Fragment,{children:y.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:r("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:r("global.operation"),width:150,align:"center",render:(y,u)=>jsxs(Space,{size:"small",children:[jsx(Q,{code:"200003",size:"small",type:"link",onClick:async()=>{d(u);},children:r("global.update")}),jsx(Q,{danger:!0,code:"200004",size:"small",type:"link",onClick:()=>{o.confirm({title:r("Role.deleteTitle"),content:jsx(_e,{texts:[u.name],children:r("Role.deleteContent",{role:u.name})}),async onOk(){await b.trigger({id:u.id,name:u.name}),a(Vt,x=>produce(x,m=>{let g=m?.List?.findIndex(w=>w.id===u.id);g&&m?.List?.splice(g,1);})),t.success(r("Role.deleteSuccessfully"));}});},children:r("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:r("global.role"),extra:jsx(Q,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),onClick:()=>{i();},children:r("Role.createTitle")}),children:jsx(de,{rowKey:"name",columns:f,code:"200001",url:Vt,getTotal:y=>y?.Total,getDataSource:y=>y?.List})}),p,v]})},Gl=q(Vl,{isGlobal:!0});});var Js={};ve(Js,{default:()=>Wl});var Kl,Wl,Ys=h(()=>{z();Oe();O();at();Kl=()=>{let{message:o}=App.useApp(),t=useParams(),{t:e}=C(),{data:r,isLoading:s,mutate:a}=fs(t.name),{show:n,modal:l}=Tt({onSuccess(){a(),o.success(e("Role.updateSuccessfully"));}}),i=async()=>{n({initialValues:{permissions:r?.permissions,name:r?.name.replace(/^role_/,"")},extraValues:{id:r.id}});};return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:e("global.role")})},{key:"2",title:e("RoleDetail.title")}]}),jsx(Card,{title:e("RoleDetail.title"),extra:jsx(Q,{code:"200003",onClick:i,children:e("global.update")}),children:jsxs(Skeleton,{loading:s,children:[jsxs(Descriptions,{column:2,layout:"vertical",className:"mb-6",children:[jsx(Descriptions.Item,{label:e("global.name"),children:r?.name}),jsx(Descriptions.Item,{label:"ID",children:r?.id}),jsx(Descriptions.Item,{label:e("global.creationTime"),children:r?.ctime})]}),jsx(Divider,{}),jsx(Be,{readonly:!0,value:r?.permissions})]})}),l]})},Wl=q(Kl,{isGlobal:!0});});je();var At=create((o,t)=>({open:new Map,usedIds:new Set,isOpen:e=>t().open.get(e)??!1,show(e){o({open:new Map(t().open).set(e,!0)});},hide(e){o({open:new Map(t().open).set(e,!1)});},hideAll(){o({open:new Map});},checkUniqueness(e){let{usedIds:r}=t();return !r.has(e)},registerIds(e){let{usedIds:r}=t();return r.has(e)?!1:(o({usedIds:new Set(r).add(e)}),!0)},cleanup(e){let{open:r,usedIds:s}=t(),a=new Map(r),n=new Set(s);a.delete(e),n.delete(e),o({open:a,usedIds:n});}}));function Kt(o){let{content:t,onConfirm:e,afterOpen:r,afterClose:s,footer:a,confirmText:n="\u786E\u8BA4",cancelText:l="\u53D6\u6D88",confirmButtonProps:i,cancelButtonProps:p,...c}=o,v=useMemo(()=>dt(),[]),{show:b,hide:d,isOpen:f,cleanup:y}=At();useEffect(()=>()=>{y(v);},[v,y]);let u=f(v),[x,m]=useState(!1),g=typeof t=="function",w=useCallback(async()=>{b(v),await r?.();},[v,b,r]),V=useCallback(()=>{d(v);},[v,d]),k=useCallback(async()=>{V(),await s?.();},[V,s]),_=useCallback(async()=>{try{m(!0),await e?.();}catch(F){throw console.error("Drawer confirm error:",F),F}finally{m(!1);}},[e]),S=a!==void 0?a:jsxs("div",{className:"flex gap-4 mx-4",children:[jsx(Button,{type:"primary",loading:x,...i,onClick:_,children:n}),jsx(Button,{...p,onClick:k,children:l})]}),T=jsx(Drawer,{...c,open:u,footer:S,onClose:k,children:g?t({hide:V}):t});return {id:v,show:w,hide:V,confirmLoading:x,drawer:T}}function ba(o){let{content:t,form:e,formProps:r,onConfirm:s,onSuccess:a,afterClose:n,...l}=o,[i,p]=useState({}),[c]=Form.useForm();c=e||c;let v=typeof t=="function",b=useCallback(()=>{c.resetFields(),n?.();},[c]),{id:d,show:f,hide:y,drawer:u}=Kt({...l,content:m=>jsx(Form,{...r,form:c,children:v?t(i,m):t}),onConfirm:async()=>{try{let m=await c.validateFields();await s?.(m,i),a?.(),y();}catch(m){throw console.error("Form validation or submission error:",m),m}},afterClose:b}),x=useCallback(m=>{let{initialValues:g,extraValues:w}=m||{};w&&p(w),g&&c.setFieldsValue(g),f();},[c,f]);return {id:d,show:x,hide:y,drawer:u}}z();var za=o=>{let{initialTags:t,addable:e,removable:r,addCallback:s,removeCallback:a}=o,{t:n}=C(),{token:l}=theme.useToken(),[i,p]=useState([]),[c,v]=useState(!1),[b,d]=useState(""),[f,y]=useState(-1),[u,x]=useState(""),m=useRef(null),g=useRef(null);useEffect(()=>{p(t??[]);},[t]),useEffect(()=>{c&&m.current?.focus();},[c]),useEffect(()=>{g.current?.focus();},[b]);let w=async R=>{if(await a?.(R)){let Y=i.filter(we=>we!==R);p(Y);}},V=()=>{v(!0);},k=R=>{d(R.target.value);},_=async()=>{b&&i.indexOf(b)===-1&&await s?.(b)&&p([...i,b]),v(!1),d("");},S=R=>{x(R.target.value);},T=()=>{let R=[...i];R[f]=u,p(R),y(-1),d("");},F={width:78,verticalAlign:"top"},G={background:l.colorBgContainer,borderStyle:"dashed"};return jsxs(Space,{wrap:!0,size:[0,8],children:[jsx(Space,{wrap:!0,size:[0,8],children:i.map((R,L)=>f===L?jsx(Input,{ref:g,size:"small",style:F,value:u,onChange:S,onBlur:T,onPressEnter:T},R):jsx(Tag,{closable:r,style:{userSelect:"none"},onClose:async Y=>{Y.preventDefault(),await w(R);},children:jsx("span",{onDoubleClick:Y=>{L!==0&&(y(L),x(R),Y.preventDefault());},children:R})},R))}),e&&(c?jsx(Input,{ref:m,type:"text",size:"small",style:F,value:b,onChange:k,onBlur:_,onPressEnter:_}):jsxs(Tag,{style:G,onClick:V,children:[jsx(PlusOutlined,{}),"\xA0",n("global.add")]}))]})},Ea=za;var Aa=o=>{let{children:t,...e}=o,[r,s]=useState(!1);return jsx(Typography.Paragraph,{...e,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:r,onExpand:(a,n)=>{s(n.expanded);}},children:t})},gt=Aa;ht();Je();ht();z();ee();te();var yn=(o,t)=>{let{code:e,url:r,tableExtra:s,headers:a,getRowKey:n,getDataSource:l,getHasMore:i,renderForm:p,params:c,footer:v,form:b,buttonsAlign:d,showReset:f,...y}=o,{t:u}=C(),[x]=Form.useForm(b),[m,g]=useState(!1),[w,V]=useState(),k=M(),_=(j,Te)=>{if(!m)return null;let Et=n?.(Te,j),ge=c(w,j,Et);return pr.stringify(ge)?`${r}?${pr.stringify(ge)}`:r},S=typeof a=="function"?a(x):a,{data:T,isLoading:F}=J(e),{data:G,size:R,setSize:L,isValidating:Y,mutate:we}=hn(_,async j=>await k.get(j,{headers:S}),{shouldRetryOnError:!1,revalidateOnFocus:!1,revalidateFirstPage:!1}),X=l(G),Pe=Y||R>0&&G&&typeof G[R-1]>"u",ae=typeof i<"u"?!i(last(G)):!1,le=!X||X.length===0,ce=async()=>{let j=await x.getFieldsValue();V(j);try{await x.validateFields(),g(!0),we();}catch{L(0),g(!1);}},Me=()=>{L(R+1);},lt=async()=>{try{x.resetFields(),await x.validateFields({validateOnly:!0}),we();}catch{L(0);}};if(useEffect(()=>{setTimeout(()=>{T&&x.validateFields({validateOnly:!0}).then(j=>{V(j),g(!0);}).catch(()=>{g(!1);});},300);},[T,x]),useImperativeHandle(t,()=>({data:G,dataSource:X,form:x,mutate:we,size:R,setSize:L})),F)return jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}});if(!T)return jsx(Result,{status:403,subTitle:u("global.noEntitlement")});let ct=v&&(()=>v(G)),pt=typeof p=="function"?jsx($e,{showReset:f,buttonsAlign:d,isConfirming:Y,onReset:lt,onConfirm:ce,children:cloneElement(p(x),{onKeyUp:j=>{j.key==="Enter"&&ce();}})}):jsx(Form,{form:x});return jsxs(Fragment,{children:[pt,typeof s=="function"?s(x,X):s,jsx(Table,{...y,dataSource:X,loading:Pe,pagination:!1,footer:ct}),!le&&jsx(Button,{block:!0,loading:Pe,type:"link",htmlType:"button",disabled:Pe||ae,onClick:Me,children:u(Pe?"InfiniteList.loadingText":ae?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})]})},xn=forwardRef(yn),bn=xn;vt();co();Zt();Oe();Ee();to();z();te();var Ki=o=>{let{code:t,config:e,children:r}=o,{data:s,isValidating:a}=J(t,e),{t:n}=C();return a?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:200}}):s?jsx(Fragment,{children:r}):jsx(Result,{status:"403",subTitle:n("global.noEntitlement")})},Wi=Ki;O();ro();ne();var x1=lazy(()=>Promise.resolve().then(()=>(Jr(),$r))),b1=lazy(()=>Promise.resolve().then(()=>(ts(),es))),w1=lazy(()=>Promise.resolve().then(()=>(ns(),as))),v1=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(x1,{})}),jsx(Route,{path:"create",element:jsx(b1,{})}),jsx(Route,{path:"update/:id",element:jsx(w1,{})})]});z();var k1=o=>{let{redirectUrl:t}=o,e=useNavigate(),{t:r}=C();return jsx("div",{className:"h-screen flex justify-center items-center",children:jsx(Result,{status:"404",title:"404",subTitle:r("NotFound.subTitle"),extra:t&&jsx(Button,{type:"primary",onClick:()=>{e(t);},children:r("NotFound.buttonText")})})})},P1=k1;z();Ee();O();var {Option:is}=Select,R1=()=>{let{t:o}=C(),t=[{key:"username",title:o("global.username"),dataIndex:"uname",width:100},{key:"label",title:o("global.label"),dataIndex:"label",width:150},{key:"method",title:o("global.method"),dataIndex:"method",width:100},{key:"route",title:o("global.route"),dataIndex:"route",width:200},{key:"request",title:o("global.request"),dataIndex:"request",render(e){return jsx(gt,{children:e})}},{key:"response",title:o("global.response"),dataIndex:"response",render(e){return jsx(gt,{children:e})}},{key:"creation_time",title:o("global.creationTime"),dataIndex:"ctime",width:200,render(e){return T1(e).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(de,{rowKey:"id",code:"300001",columns:t,tableLayout:"fixed",url:"/api/usystem/log/list",getTotal:e=>e?.Total,getDataSource:e=>e?.List,renderForm:e=>jsxs(Form,{form:e,layout:"inline",children:[jsx(Form.Item,{label:o("global.username"),name:"uname",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:o("global.route"),name:"route",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:o("global.method"),name:"method",children:jsxs(Select,{allowClear:!0,style:{width:"100px"},children:[jsx(is,{value:"get",children:"GET"}),jsx(is,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:o("global.label"),name:"label",children:jsx(Input,{allowClear:!0})})]})})})},F1=q(R1,{isGlobal:!0});var Ql=lazy(()=>Promise.resolve().then(()=>(Ns(),Us))),$l=lazy(()=>Promise.resolve().then(()=>(qs(),Ws))),Jl=lazy(()=>Promise.resolve().then(()=>($s(),Qs))),Yl=lazy(()=>Promise.resolve().then(()=>(Ys(),Js))),Xl=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Navigate,{to:"user"})}),jsx(Route,{path:"user",element:jsx(Ql,{})}),jsx(Route,{path:"user/:id",element:jsx($l,{})}),jsx(Route,{path:"role",element:jsx(Jl,{})}),jsx(Route,{path:"role/:name",element:jsx(Yl,{})})]});z();so();O();ne();var Xs='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';O();ee();function ea(){let o=M(),{setToken:t}=P(),[e,r]=useState(!1),{ticket:s,unregisteredFromUrl:a}=useMemo(()=>{let p=new URLSearchParams(window.location.search);return {ticket:p.get("ticket"),unregisteredFromUrl:p.get("unregistered")==="true"}},[]);useMemo(()=>{a&&r(!0);},[a]);let{isLoading:n,error:l}=Ne(s?`/api/usystem/user/login?ticket=${s}`:null,p=>o.get(p),{onSuccess:p=>{p?.token&&t(p.token);},onError:p=>{p?.response?.status===403&&r(!0);},revalidateOnFocus:!1,revalidateOnReconnect:!1});return {hasTicket:!!s,isLoading:n,error:l,isUnregistered:e,dismissUnregistered:()=>{if(r(!1),a){let p=new URL(window.location.href);p.searchParams.delete("unregistered"),window.history.replaceState({},"",p.toString());}}}}var c2=({extra:o,title:t})=>{let{token:e,mainPagePath:r}=P(i=>i),{t:s}=C(),{isLoading:a,isUnregistered:n,dismissUnregistered:l}=ea();if(a)return jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})});if(e){let i=!!window.location.hash,p=r;return i?(window.location.href=`${window.location.origin}${window.location.pathname}#${p}`,null):jsx(Navigate,{replace:!0,to:r})}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(Ve,{width:48}),t&&jsx("span",{className:"text-2xl font-bold",children:t})]})}),jsx("div",{className:"flex-1 flex justify-center items-center bg-slate-50",children:jsx("img",{src:Xs,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:n&&jsx(Alert,{banner:!0,closable:!0,message:s("SignIn.unregistered"),type:"error",onClose:l})}),jsx(Typography.Title,{level:2,children:s("SignIn.welcome")}),jsx("div",{className:"mt-4",children:jsxs(Form,{layout:"vertical",autoComplete:"off",children:[jsx(Form.Item,{label:s("global.username"),name:"username",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:s("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:s("global.signIn")})})]})}),jsx(Divider,{plain:!0,dashed:!0,children:s("SignIn.thirdParty")}),jsx("div",{className:"flex justify-center items-center",children:jsxs(Button,{block:!0,shape:"round",href:`${Wt}/logout?service=${Wt}/login?service=${window.location.href}`,target:"_self",children:[jsx(Ve,{width:18}),s("SignIn.signInWithIDass")]})})]})})})})]})},p2=c2;te();je();
2
- export{he as APP_ID_HEADER,Ea as DynamicTags,gt as ExpandableParagraph,Se as FRONTEND_ROUTE_PREFIX,$e as FilterFormWrapper,_e as Highlight,bn as InfiniteList,fi as Layout,Xt as NavMenu,P1 as NotFound,F1 as OperationLogList,Q as PermissionButton,He as PermissionVersion,de as QueryList,Br as QueryListAction,eo as RequireGame,Wi as RequirePermission,Wt as SSO_URL,p2 as SignIn,Ra as ToolkitsProvider,oo as UserWidget,Z as WILDCARD,dt as generateId,v1 as menuRoutes,Lo as mixedStorage,Xl as permissionRoutes,Kt as useDrawer,At as useDrawerStore,mp as useFindGame,ba as useFormDrawer,ye as useFormModal,Ce as useGames,De as useMenuList,io as useModal,ao as useModalStore,J as usePermission,me as useQueryListStore,P as useToolkitsStore,q as withContext};
1
+ import*as Vt from'react';import {forwardRef,memo,useRef,useMemo,useCallback,useEffect,lazy,useContext,useState,useImperativeHandle,cloneElement,Fragment as Fragment$1,Suspense,createContext,useTransition}from'react';import {useQuery,useInfiniteQuery,useQueryClient,useMutation,QueryClient,QueryClientProvider,onlineManager}from'@tanstack/react-query';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {jwtDecode}from'jwt-decode';import {create,useStore,createStore}from'zustand';import {persist,createJSONStorage,devtools,subscribeWithSelector}from'zustand/middleware';import*as jo from'antd';import {Spin,Menu,Modal,Form,Button,Drawer,Result,Table,Card,Input,Select,App,Space,Popconfirm,Switch,InputNumber,theme,Tag,Typography,Empty,Dropdown,Divider,Alert,notification,Row,Col,Breadcrumb,Descriptions,Skeleton,Tooltip,Checkbox,Collapse}from'antd';import {isEqual,has,template,get,last,first}from'lodash-es';import {flushSync}from'react-dom';import {createRoot}from'react-dom/client';import q4 from'ky';import {Link,useLocation,Routes,Route,Navigate,useNavigate,useParams}from'react-router-dom';import {Editor}from'@monaco-editor/react';import {PlusOutlined,LogoutOutlined,UserOutlined,MenuUnfoldOutlined,MenuFoldOutlined,UserAddOutlined,UsergroupAddOutlined,MinusCircleOutlined}from'@ant-design/icons';import z5 from'./logo-L6MFCL6M.png';import hv from'dayjs';var Ml=Object.defineProperty;var _l=e=>{throw TypeError(e)};var jf=(e,t,n)=>t in e?Ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t)=>()=>(e&&(t=e(e=0)),t);var ln=(e,t)=>{for(var n in t)Ml(e,n,{get:t[n],enumerable:!0});};var It=(e,t,n)=>jf(e,typeof t!="symbol"?t+"":t,n),Fl=(e,t,n)=>t.has(e)||_l("Cannot "+n);var ee=(e,t,n)=>(Fl(e,t,"read from private field"),n?n.call(e):t.get(e)),Ie=(e,t,n)=>t.has(e)?_l("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),xe=(e,t,n,r)=>(Fl(e,t,"write to private field"),t.set(e,n),n);var Dl,Wf,si,Zr=Q(()=>{Dl={getItem:e=>sessionStorage.getItem(e)||localStorage.getItem(e),setItem:(e,t)=>{sessionStorage.setItem(e,t),localStorage.setItem(e,t);},removeItem(e){sessionStorage.removeItem(e),localStorage.removeItem(e);}},Wf=0,si=()=>{let e=Date.now(),t=Math.floor(Math.random()*1e3),n=++Wf%1e3;return e*1e6+t*1e3+n};});function Al(e){let t=String(e),n=t.length-1;return te.context.id+(n?String.fromCharCode(96+n):"")+t}function qn(e){te.context=e;}function sp(){return {...te.context,id:te.getNextContextId(),count:0}}function Qt(e,t){let n=Ee,r=se,o=e.length===0,i=t===void 0?r:t,s=o?Xl:{owned:null,cleanups:null,context:i?i.context:null,owner:i},l=o?e:()=>e(()=>$e(()=>kn(s)));se=s,Ee=null;try{return ut(l,!0)}finally{Ee=n,se=r;}}function q(e,t){t=t?Object.assign({},mi,t):mi;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=o=>(typeof o=="function"&&(R&&R.running&&R.sources.has(n)?o=o(n.tValue):o=o(n.value)),oc(n,o));return [rc.bind(n),r]}function gi(e,t,n){let r=xi(e,t,!0,pt);lr&&R&&R.running?Ne.push(r):cr(r);}function U(e,t,n){let r=xi(e,t,!1,pt);lr&&R&&R.running?Ne.push(r):cr(r);}function j(e,t,n){Yl=pp;let r=xi(e,t,!1,pt);(!n||!n.render)&&(r.user=!0),Ze?Ze.push(r):cr(r);}function F(e,t,n){n=n?Object.assign({},mi,n):mi;let r=xi(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,lr&&R&&R.running?(r.tState=pt,Ne.push(r)):cr(r),rc.bind(r)}function lp(e){return e&&typeof e=="object"&&"then"in e}function cp(e,t,n){let r,o,i;r=!0,o=e,i={};let s=null,l=ks,a=null,u=!1,c=!1,d="initialValue"in i,m=typeof r=="function"&&F(r),p=new Set,[f,g]=(i.storage||q)(i.initialValue),[v,h]=q(void 0),[y,b]=q(void 0,{equals:!1}),[w,S]=q(d?"ready":"unresolved");te.context&&(a=te.getNextContextId(),i.ssrLoadFrom==="initial"?l=i.initialValue:te.load&&te.has(a)&&(l=te.load(a)));function k(V,D,N,B){return s===V&&(s=null,B!==void 0&&(d=!0),(V===l||D===l)&&i.onHydrated&&queueMicrotask(()=>i.onHydrated(B,{value:D})),l=ks,R&&V&&u?(R.promises.delete(V),u=!1,ut(()=>{R.running=!0,I(D,N);},!1)):I(D,N)),D}function I(V,D){ut(()=>{D===void 0&&g(()=>V),S(D!==void 0?"errored":d?"ready":"unresolved"),h(D);for(let N of p.keys())N.decrement();p.clear();},!1);}function E(){let V=no,D=f(),N=v();if(N!==void 0&&!s)throw N;return Ee&&!Ee.user&&V&&gi(()=>{y(),s&&(V.resolved?R.promises.add(s):p.has(V)||(V.increment(),p.add(V)));}),D}function C(V=!0){if(V!==!1&&c)return;c=!1;let D=m?m():r;if(u=R&&R.running,D==null||D===!1){k(s,$e(f));return}R&&s&&R.promises.delete(s);let N,B=l!==ks?l:$e(()=>{try{return o(D,{value:f(),refetching:V})}catch(re){N=re;}});if(N!==void 0){k(s,void 0,di(N),D);return}else if(!lp(B))return k(s,B,void 0,D),B;return s=B,"v"in B?(B.s===1?k(s,B.v,void 0,D):k(s,void 0,di(B.v),D),B):(c=!0,queueMicrotask(()=>c=!1),ut(()=>{S(d?"refreshing":"pending"),b();},!1),B.then(re=>k(B,re,void 0,D),re=>k(B,void 0,di(re),D)))}Object.defineProperties(E,{state:{get:()=>w()},error:{get:()=>v()},loading:{get(){let V=w();return V==="pending"||V==="refreshing"}},latest:{get(){if(!d)return E();let V=v();if(V&&!s)throw V;return f()}}});let $=se;return m?gi(()=>($=se,C(!1))):C(!1),[E,{refetch:V=>Jl($,()=>C(V)),mutate:g}]}function Zl(e){return ut(e,!1)}function $e(e){if(!sr&&Ee===null)return e();let t=Ee;Ee=null;try{return sr?sr.untrack(e):e()}finally{Ee=t;}}function jt(e,t,n){let r=Array.isArray(e),o,i=n&&n.defer;return s=>{let l;if(r){l=Array(e.length);for(let u=0;u<e.length;u++)l[u]=e[u]();}else l=e();if(i)return i=!1,s;let a=$e(()=>t(l,o,s));return o=l,a}}function Wt(e){j(()=>$e(e));}function W(e){return se===null||(se.cleanups===null?se.cleanups=[e]:se.cleanups.push(e)),e}function hi(){return se}function Jl(e,t){let n=se,r=Ee;se=e,Ee=null;try{return ut(t,!0)}catch(o){wi(o);}finally{se=n,Ee=r;}}function ec(e){if(R&&R.running)return e(),R.done;let t=Ee,n=se;return Promise.resolve().then(()=>{Ee=t,se=n;let r;return (lr||no)&&(r=R||(R={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(o=>r.resolve=o)),r.running=!0),ut(e,!1),Ee=se=null,r?r.done:void 0})}function tc(){return [up,ec]}function Qe(e,t){let n=Symbol("context");return {id:n,Provider:mp(n),defaultValue:e}}function Ke(e){let t;return se&&se.context&&(t=se.context[e.id])!==void 0?t:e.defaultValue}function nc(e){let t=F(e),n=F(()=>Ps(t()));return n.toArray=()=>{let r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}function rc(){let e=R&&R.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===pt)cr(this);else {let t=Ne;Ne=null,ut(()=>yi(this),!1),Ne=t;}if(Ee){let t=this.observers?this.observers.length:0;Ee.sources?(Ee.sources.push(this),Ee.sourceSlots.push(t)):(Ee.sources=[this],Ee.sourceSlots=[t]),this.observers?(this.observers.push(Ee),this.observerSlots.push(Ee.sources.length-1)):(this.observers=[Ee],this.observerSlots=[Ee.sources.length-1]);}return e&&R.sources.has(this)?this.tValue:this.value}function oc(e,t,n){let r=R&&R.running&&R.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(R){let o=R.running;(o||!n&&R.sources.has(e))&&(R.sources.add(e),e.tValue=t),o||(e.value=t);}else e.value=t;e.observers&&e.observers.length&&ut(()=>{for(let o=0;o<e.observers.length;o+=1){let i=e.observers[o],s=R&&R.running;s&&R.disposed.has(i)||((s?!i.tState:!i.state)&&(i.pure?Ne.push(i):Ze.push(i),i.observers&&sc(i)),s?i.tState=pt:i.state=pt);}if(Ne.length>1e6)throw Ne=[],new Error},!1);}return t}function cr(e){if(!e.fn)return;kn(e);let t=bi;zl(e,R&&R.running&&R.sources.has(e)?e.tValue:e.value,t),R&&!R.running&&R.sources.has(e)&&queueMicrotask(()=>{ut(()=>{R&&(R.running=!0),Ee=se=e,zl(e,e.tValue,t),Ee=se=null;},!1);});}function zl(e,t,n){let r,o=se,i=Ee;Ee=se=e;try{r=e.fn(t);}catch(s){return e.pure&&(R&&R.running?(e.tState=pt,e.tOwned&&e.tOwned.forEach(kn),e.tOwned=void 0):(e.state=pt,e.owned&&e.owned.forEach(kn),e.owned=null)),e.updatedAt=n+1,wi(s)}finally{Ee=i,se=o;}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?oc(e,r,!0):R&&R.running&&e.pure?(R.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n);}function xi(e,t,n,r=pt,o){let i={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:se,context:se?se.context:null,pure:n};if(R&&R.running&&(i.state=0,i.tState=r),se===null||se!==Xl&&(R&&R.running&&se.pure?se.tOwned?se.tOwned.push(i):se.tOwned=[i]:se.owned?se.owned.push(i):se.owned=[i]),sr&&i.fn){let[s,l]=q(void 0,{equals:!1}),a=sr.factory(i.fn,l);W(()=>a.dispose());let u=()=>ec(l).then(()=>c.dispose()),c=sr.factory(i.fn,u);i.fn=d=>(s(),R&&R.running?c.track(d):a.track(d));}return i}function ro(e){let t=R&&R.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===to)return yi(e);if(e.suspense&&$e(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<bi);){if(t&&R.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e);}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let o=e,i=n[r+1];for(;(o=o.owner)&&o!==i;)if(R.disposed.has(o))return}if((t?e.tState:e.state)===pt)cr(e);else if((t?e.tState:e.state)===to){let o=Ne;Ne=null,ut(()=>yi(e,n[0]),!1),Ne=o;}}}function ut(e,t){if(Ne)return e();let n=!1;t||(Ne=[]),Ze?n=!0:Ze=[],bi++;try{let r=e();return dp(n),r}catch(r){n||(Ze=null),Ne=null,wi(r);}}function dp(e){if(Ne&&(lr&&R&&R.running?fp(Ne):ic(Ne),Ne=null),e)return;let t;if(R){if(!R.promises.size&&!R.queue.size){let r=R.sources,o=R.disposed;Ze.push.apply(Ze,R.effects),t=R.resolve;for(let i of Ze)"tState"in i&&(i.state=i.tState),delete i.tState;R=null,ut(()=>{for(let i of o)kn(i);for(let i of r){if(i.value=i.tValue,i.owned)for(let s=0,l=i.owned.length;s<l;s++)kn(i.owned[s]);i.tOwned&&(i.owned=i.tOwned),delete i.tValue,delete i.tOwned,i.tState=0;}ql(!1);},!1);}else if(R.running){R.running=!1,R.effects.push.apply(R.effects,Ze),Ze=null,ql(!0);return}}let n=Ze;Ze=null,n.length&&ut(()=>Yl(n),!1),t&&t();}function ic(e){for(let t=0;t<e.length;t++)ro(e[t]);}function fp(e){for(let t=0;t<e.length;t++){let n=e[t],r=R.queue;r.has(n)||(r.add(n),lr(()=>{r.delete(n),ut(()=>{R.running=!0,ro(n);},!1),R&&(R.running=!1);}));}}function pp(e){let t,n=0;for(t=0;t<e.length;t++){let r=e[t];r.user?e[n++]=r:ro(r);}if(te.context){if(te.count){te.effects||(te.effects=[]),te.effects.push(...e.slice(0,n));return}qn();}for(te.effects&&(te.done||!te.count)&&(e=[...te.effects,...e],n+=te.effects.length,delete te.effects),t=0;t<n;t++)ro(e[t]);}function yi(e,t){let n=R&&R.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){let o=e.sources[r];if(o.sources){let i=n?o.tState:o.state;i===pt?o!==t&&(!o.updatedAt||o.updatedAt<bi)&&ro(o):i===to&&yi(o,t);}}}function sc(e){let t=R&&R.running;for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(t?!r.tState:!r.state)&&(t?r.tState=to:r.state=to,r.pure?Ne.push(r):Ze.push(r),r.observers&&sc(r));}}function kn(e){let t;if(e.sources)for(;e.sources.length;){let n=e.sources.pop(),r=e.sourceSlots.pop(),o=n.observers;if(o&&o.length){let i=o.pop(),s=n.observerSlots.pop();r<o.length&&(i.sourceSlots[s]=r,o[r]=i,n.observerSlots[r]=s);}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)kn(e.tOwned[t]);delete e.tOwned;}if(R&&R.running&&e.pure)ac(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)kn(e.owned[t]);e.owned=null;}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null;}R&&R.running?e.tState=0:e.state=0;}function ac(e,t){if(t||(e.tState=0,R.disposed.add(e)),e.owned)for(let n=0;n<e.owned.length;n++)ac(e.owned[n]);}function di(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Vl(e,t,n){try{for(let r of t)r(e);}catch(r){wi(r,n&&n.owner||null);}}function wi(e,t=se){let n=Rl&&t&&t.context&&t.context[Rl],r=di(e);if(!n)throw r;Ze?Ze.push({fn(){Vl(r,n,t);},state:pt}):Vl(r,n,t);}function Ps(e){if(typeof e=="function"&&!e.length)return Ps(e());if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=Ps(e[n]);Array.isArray(r)?t.push.apply(t,r):t.push(r);}return t}return e}function mp(e,t){return function(r){let o;return U(()=>o=$e(()=>(se.context={...se.context,[e]:r.value},nc(()=>r.children))),void 0),o}}function vi(e){for(let t=0;t<e.length;t++)e[t]();}function gp(e,t,n={}){let r=[],o=[],i=[],s=0,l=t.length>1?[]:null;return W(()=>vi(i)),()=>{let a=e()||[],u=a.length,c,d;return a[lo],$e(()=>{let p,f,g,v,h,y,b,w,S;if(u===0)s!==0&&(vi(i),i=[],r=[],o=[],s=0,l&&(l=[])),n.fallback&&(r=[Ts],o[0]=Qt(k=>(i[0]=k,n.fallback())),s=1);else if(s===0){for(o=new Array(u),d=0;d<u;d++)r[d]=a[d],o[d]=Qt(m);s=u;}else {for(g=new Array(u),v=new Array(u),l&&(h=new Array(u)),y=0,b=Math.min(s,u);y<b&&r[y]===a[y];y++);for(b=s-1,w=u-1;b>=y&&w>=y&&r[b]===a[w];b--,w--)g[w]=o[b],v[w]=i[b],l&&(h[w]=l[b]);for(p=new Map,f=new Array(w+1),d=w;d>=y;d--)S=a[d],c=p.get(S),f[d]=c===void 0?-1:c,p.set(S,d);for(c=y;c<=b;c++)S=r[c],d=p.get(S),d!==void 0&&d!==-1?(g[d]=o[c],v[d]=i[c],l&&(h[d]=l[c]),d=f[d],p.set(S,d)):i[c]();for(d=y;d<u;d++)d in g?(o[d]=g[d],i[d]=v[d],l&&(l[d]=h[d],l[d](d))):o[d]=Qt(m);o=o.slice(0,s=u),r=a.slice(0);}return o});function m(p){if(i[d]=p,l){let[f,g]=q(d);return l[d]=g,t(a[d],f)}return t(a[d])}}}function hp(e,t,n={}){let r=[],o=[],i=[],s=[],l=0,a;return W(()=>vi(i)),()=>{let u=e()||[],c=u.length;return u[lo],$e(()=>{if(c===0)return l!==0&&(vi(i),i=[],r=[],o=[],l=0,s=[]),n.fallback&&(r=[Ts],o[0]=Qt(m=>(i[0]=m,n.fallback())),l=1),o;for(r[0]===Ts&&(i[0](),i=[],r=[],o=[],l=0),a=0;a<c;a++)a<r.length&&r[a]!==u[a]?s[a](()=>u[a]):a>=r.length&&(o[a]=Qt(d));for(;a<r.length;a++)i[a]();return l=s.length=i.length=c,r=u.slice(0),o=o.slice(0,l)});function d(m){i[a]=m;let[p,f]=q(u[a]);return s[a]=f,t(p,a)}}}function x(e,t){if(yp&&te.context){let n=te.context;qn(sp());let r=$e(()=>e(t||{}));return qn(n),r}return $e(()=>e(t||{}))}function li(){return !0}function Is(e){return (e=typeof e=="function"?e():e)?e:{}}function vp(){for(let e=0,t=this.length;e<t;++e){let n=this[e]();if(n!==void 0)return n}}function ne(...e){let t=!1;for(let s=0;s<e.length;s++){let l=e[s];t=t||!!l&&pi in l,e[s]=typeof l=="function"?(t=!0,F(l)):l;}if(Wl&&t)return new Proxy({get(s){for(let l=e.length-1;l>=0;l--){let a=Is(e[l])[s];if(a!==void 0)return a}},has(s){for(let l=e.length-1;l>=0;l--)if(s in Is(e[l]))return !0;return !1},keys(){let s=[];for(let l=0;l<e.length;l++)s.push(...Object.keys(Is(e[l])));return [...new Set(s)]}},$s);let n={},r=Object.create(null);for(let s=e.length-1;s>=0;s--){let l=e[s];if(!l)continue;let a=Object.getOwnPropertyNames(l);for(let u=a.length-1;u>=0;u--){let c=a[u];if(c==="__proto__"||c==="constructor")continue;let d=Object.getOwnPropertyDescriptor(l,c);if(!r[c])r[c]=d.get?{enumerable:!0,configurable:!0,get:vp.bind(n[c]=[d.get.bind(l)])}:d.value!==void 0?d:void 0;else {let m=n[c];m&&(d.get?m.push(d.get.bind(l)):d.value!==void 0&&m.push(()=>d.value));}}}let o={},i=Object.keys(r);for(let s=i.length-1;s>=0;s--){let l=i[s],a=r[l];a&&a.get?Object.defineProperty(o,l,a):o[l]=a?a.value:void 0;}return o}function Ce(e,...t){if(Wl&&pi in e){let o=new Set(t.length>1?t.flat():t[0]),i=t.map(s=>new Proxy({get(l){return s.includes(l)?e[l]:void 0},has(l){return s.includes(l)&&l in e},keys(){return s.filter(l=>l in e)}},$s));return i.push(new Proxy({get(s){return o.has(s)?void 0:e[s]},has(s){return o.has(s)?!1:s in e},keys(){return Object.keys(e).filter(s=>!o.has(s))}},$s)),i}let n={},r=t.map(()=>({}));for(let o of Object.getOwnPropertyNames(e)){let i=Object.getOwnPropertyDescriptor(e,o),s=!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable,l=!1,a=0;for(let u of t)u.includes(o)&&(l=!0,s?r[a][o]=i.value:Object.defineProperty(r[a],o,i)),++a;l||(s?n[o]=i.value:Object.defineProperty(n,o,i));}return [...r,n]}function Os(e){let t,n,r=o=>{let i=te.context;if(i){let[l,a]=q();te.count||(te.count=0),te.count++,(n||(n=e())).then(u=>{!te.done&&qn(i),te.count--,a(()=>u.default),qn();}),t=l;}else if(!t){let[l]=cp(()=>(n||(n=e())).then(a=>a.default));t=l;}let s;return F(()=>(s=t())?$e(()=>{if(!i||te.done)return s(o);let l=te.context;qn(i);let a=s(o);return qn(l),a}):"")};return r.preload=()=>n||((n=e()).then(o=>t=()=>o.default),n),r}function mt(){return te.context?te.getNextContextId():`cl-${bp++}`}function cc(e){let t="fallback"in e&&{fallback:()=>e.fallback};return F(gp(()=>e.each,e.children,t||void 0))}function uc(e){let t="fallback"in e&&{fallback:()=>e.fallback};return F(hp(()=>e.each,e.children,t||void 0))}function G(e){let t=e.keyed,n=F(()=>e.when,void 0,void 0),r=t?n:F(n,void 0,{equals:(o,i)=>!o==!i});return F(()=>{let o=r();if(o){let i=e.children;return typeof i=="function"&&i.length>0?$e(()=>i(t?o:()=>{if(!$e(r))throw lc("Show");return n()})):i}return e.fallback},void 0,void 0)}function dc(e){let t=nc(()=>e.children),n=F(()=>{let r=t(),o=Array.isArray(r)?r:[r],i=()=>{};for(let s=0;s<o.length;s++){let l=s,a=o[s],u=i,c=F(()=>u()?void 0:a.when,void 0,void 0),d=a.keyed?c:F(c,void 0,{equals:(m,p)=>!m==!p});i=()=>u()||(d()?[l,c,a]:void 0);}return i});return F(()=>{let r=n()();if(!r)return e.fallback;let[o,i,s]=r,l=s.children;return typeof l=="function"&&l.length>0?$e(()=>l(s.keyed?i():()=>{if($e(n)()?.[0]!==o)throw lc("Match");return i()})):l},void 0,void 0)}function Si(e){return e}function Ip(e,t){let n=kp[e];return typeof n=="object"?n[t]?n.$:void 0:n}function $p(e,t,n){let r=n.length,o=t.length,i=r,s=0,l=0,a=t[o-1].nextSibling,u=null;for(;s<o||l<i;){if(t[s]===n[l]){s++,l++;continue}for(;t[o-1]===n[i-1];)o--,i--;if(o===s){let c=i<r?l?n[l-1].nextSibling:n[i-l]:a;for(;l<i;)e.insertBefore(n[l++],c);}else if(i===l)for(;s<o;)(!u||!u.has(t[s]))&&t[s].remove(),s++;else if(t[s]===n[i-1]&&n[l]===t[o-1]){let c=t[--o].nextSibling;e.insertBefore(n[l++],t[s++].nextSibling),e.insertBefore(n[--i],c),t[o]=n[i];}else {if(!u){u=new Map;let d=l;for(;d<i;)u.set(n[d],d++);}let c=u.get(t[s]);if(c!=null)if(l<c&&c<i){let d=s,m=1,p;for(;++d<o&&d<i&&!((p=u.get(t[d]))==null||p!==c+m);)m++;if(m>c-l){let f=t[s];for(;l<c;)e.insertBefore(n[l++],f);}else e.replaceChild(n[l++],t[s++]);}else s++;else t[s++].remove();}}}function As(e,t,n,r={}){let o;return Qt(i=>{o=i,t===document?e():P(t,e(),t.firstChild?null:void 0,n);},r.owner),()=>{o(),t.textContent="";}}function K(e,t,n,r){let o,i=()=>{let l=document.createElement("template");return l.innerHTML=e,l.content.firstChild},s=t?()=>$e(()=>document.importNode(o||(o=i()),!0)):()=>(o||(o=i())).cloneNode(!0);return s.cloneNode=s,s}function co(e,t=window.document){let n=t[Jr]||(t[Jr]=new Set);for(let r=0,o=e.length;r<o;r++){let i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,mc));}}function pc(e=window.document){if(e[Jr]){for(let t of e[Jr].keys())e.removeEventListener(t,mc);delete e[Jr];}}function L(e,t,n){Vn(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n));}function Mp(e,t,n,r){Vn(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r));}function _p(e,t,n){Vn(e)||(n?e.setAttribute(t,""):e.removeAttribute(t));}function O(e,t){Vn(e)||(t==null?e.removeAttribute("class"):e.className=t);}function Rs(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let o=n[0];e.addEventListener(t,n[0]=i=>o.call(e,n[1],i));}else e.addEventListener(t,n,typeof n!="function"&&n);}function Fp(e,t,n={}){let r=Object.keys(t||{}),o=Object.keys(n),i,s;for(i=0,s=o.length;i<s;i++){let l=o[i];!l||l==="undefined"||t[l]||(Nl(e,l,!1),delete n[l]);}for(i=0,s=r.length;i<s;i++){let l=r[i],a=!!t[l];!l||l==="undefined"||n[l]===a||!a||(Nl(e,l,!0),n[l]=a);}return n}function Dp(e,t,n){if(!t)return n?L(e,"style"):t;let r=e.style;if(typeof t=="string")return r.cssText=t;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),t||(t={});let o,i;for(i in n)t[i]==null&&r.removeProperty(i),delete n[i];for(i in t)o=t[i],o!==n[i]&&(r.setProperty(i,o),n[i]=o);return n}function qs(e,t={},n,r){let o={};return r||U(()=>o.children=oo(e,t.children,o.children)),U(()=>typeof t.ref=="function"&&zn(t.ref,e)),U(()=>Lp(e,t,n,!0,o,!0)),o}function zn(e,t,n){return $e(()=>e(t,n))}function P(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return oo(e,t,r,n);U(o=>oo(e,t(),o,n),r);}function Lp(e,t,n,r,o={},i=!1){t||(t={});for(let s in o)if(!(s in t)){if(s==="children")continue;o[s]=Kl(e,s,null,o[s],n,i,t);}for(let s in t){if(s==="children")continue;let l=t[s];o[s]=Kl(e,s,l,o[s],n,i,t);}}function Op(e){let t,n;return !Vn()||!(t=te.registry.get(n=Rp()))?e():(te.completed&&te.completed.add(t),te.registry.delete(n),t)}function Vn(e){return !!te.context&&!te.done&&(!e||e.isConnected)}function Ap(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Nl(e,t,n){let r=t.trim().split(/\s+/);for(let o=0,i=r.length;o<i;o++)e.classList.toggle(r[o],n);}function Kl(e,t,n,r,o,i,s){let l,a,u,c,d;if(t==="style")return Dp(e,n,r);if(t==="classList")return Fp(e,n,r);if(n===r)return r;if(t==="ref")i||n(e);else if(t.slice(0,3)==="on:"){let m=t.slice(3);r&&e.removeEventListener(m,r,typeof r!="function"&&r),n&&e.addEventListener(m,n,typeof n!="function"&&n);}else if(t.slice(0,10)==="oncapture:"){let m=t.slice(10);r&&e.removeEventListener(m,r,!0),n&&e.addEventListener(m,n,!0);}else if(t.slice(0,2)==="on"){let m=t.slice(2).toLowerCase(),p=Ep.has(m);if(!p&&r){let f=Array.isArray(r)?r[0]:r;e.removeEventListener(m,f);}(p||n)&&(Rs(e,m,n,p),p&&co([m]));}else if(t.slice(0,5)==="attr:")L(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")_p(e,t.slice(5),n);else if((d=t.slice(0,5)==="prop:")||(u=Sp.has(t))||!o&&((c=Ip(t,e.tagName))||(a=wp.has(t)))||(l=e.nodeName.includes("-")||"is"in s)){if(d)t=t.slice(5),a=!0;else if(Vn(e))return n;t==="class"||t==="className"?O(e,n):l&&!a&&!u?e[Ap(t)]=n:e[c||t]=n;}else {let m=o&&t.indexOf(":")>-1&&Tp[t.split(":")[0]];m?Mp(e,m,t,n):L(e,Cp[t]||t,n);}return n}function mc(e){if(te.registry&&te.events&&te.events.find(([a,u])=>u===e))return;let t=e.target,n=`$$${e.type}`,r=e.target,o=e.currentTarget,i=a=>Object.defineProperty(e,"target",{configurable:!0,value:a}),s=()=>{let a=t[n];if(a&&!t.disabled){let u=t[`${n}Data`];if(u!==void 0?a.call(t,u,e):a.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&i(t.host),!0},l=()=>{for(;s()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),te.registry&&!te.done&&(te.done=_$HY.done=!0),e.composedPath){let a=e.composedPath();i(a[0]);for(let u=0;u<a.length-2&&(t=a[u],!!s());u++){if(t._$host){t=t._$host,l();break}if(t.parentNode===o)break}}else l();i(r);}function oo(e,t,n,r,o){let i=Vn(e);if(i){!n&&(n=[...e.childNodes]);let a=[];for(let u=0;u<n.length;u++){let c=n[u];c.nodeType===8&&c.data.slice(0,2)==="!$"?c.remove():a.push(c);}n=a;}for(;typeof n=="function";)n=n();if(t===n)return n;let s=typeof t,l=r!==void 0;if(e=l&&n[0]&&n[0].parentNode||e,s==="string"||s==="number"){if(i||s==="number"&&(t=t.toString(),t===n))return n;if(l){let a=n[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),n=rr(e,n,r,a);}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t;}else if(t==null||s==="boolean"){if(i)return n;n=rr(e,n,r);}else {if(s==="function")return U(()=>{let a=t();for(;typeof a=="function";)a=a();n=oo(e,a,n,r);}),()=>n;if(Array.isArray(t)){let a=[],u=n&&Array.isArray(n);if(Ms(a,t,n,o))return U(()=>n=oo(e,a,n,r,!0)),()=>n;if(i){if(!a.length)return n;if(r===void 0)return n=[...e.childNodes];let c=a[0];if(c.parentNode!==e)return n;let d=[c];for(;(c=c.nextSibling)!==r;)d.push(c);return n=d}if(a.length===0){if(n=rr(e,n,r),l)return n}else u?n.length===0?Bl(e,a,r):$p(e,n,a):(n&&rr(e),Bl(e,a));n=a;}else if(t.nodeType){if(i&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=rr(e,n,r,t);rr(e,n,null,t);}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t;}}return n}function Ms(e,t,n,r){let o=!1;for(let i=0,s=t.length;i<s;i++){let l=t[i],a=n&&n[e.length],u;if(!(l==null||l===!0||l===!1))if((u=typeof l)=="object"&&l.nodeType)e.push(l);else if(Array.isArray(l))o=Ms(e,l,a)||o;else if(u==="function")if(r){for(;typeof l=="function";)l=l();o=Ms(e,Array.isArray(l)?l:[l],Array.isArray(a)?a:[a])||o;}else e.push(l),o=!0;else {let c=String(l);a&&a.nodeType===3&&a.data===c?e.push(a):e.push(document.createTextNode(c));}}return o}function Bl(e,t,n=null){for(let r=0,o=t.length;r<o;r++)e.insertBefore(t[r],n);}function rr(e,t,n,r){if(n===void 0)return e.textContent="";let o=r||document.createTextNode("");if(t.length){let i=!1;for(let s=t.length-1;s>=0;s--){let l=t[s];if(o!==l){let a=l.parentNode===e;!i&&!s?a?e.replaceChild(o,l):e.insertBefore(o,n):a&&l.remove();}else i=!0;}}else e.insertBefore(o,n);return [o]}function Rp(){return te.getNextContextId()}function gc(e,t=!1){return t?document.createElementNS(qp,e):document.createElement(e)}function zs(e){let{useShadow:t}=e,n=document.createTextNode(""),r=()=>e.mount||document.body,o=hi(),i,s=!!te.context;return j(()=>{s&&(hi().user=s=!1),i||(i=Jl(o,()=>F(()=>e.children)));let l=r();if(l instanceof HTMLHeadElement){let[a,u]=q(!1),c=()=>u(!0);Qt(d=>P(l,()=>a()?d():i(),null)),W(c);}else {let a=gc(e.isSVG?"g":"div",e.isSVG),u=t&&a.attachShadow?a.attachShadow({mode:"open"}):a;Object.defineProperty(a,"_$host",{get(){return n.parentNode},configurable:!0}),P(u,i),l.appendChild(a),e.ref&&e.ref(a),W(()=>l.removeChild(a));}},void 0,{render:!s}),n}function zp(e,t){let n=F(e);return F(()=>{let r=n();switch(typeof r){case"function":return $e(()=>r(t));case"string":let o=Pp.has(r),i=te.context?Op():gc(r,o);return qs(i,t,o),i}})}function hc(e){let[,t]=Ce(e,["component"]);return zp(()=>e.component,t)}function Kp(e){if("values"in Object)return Object.values(e);let t=[];for(let n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function Bp(e,t){let n=Kp(e);if("find"in n)return n.find(t);let r=n;for(let o=0;o<r.length;o++){let i=r[o];if(t(i))return i}}function ar(e,t){Object.entries(e).forEach(([n,r])=>t(r,n));}function fi(e,t){return e.indexOf(t)!==-1}function Gl(e,t){for(let n=0;n<e.length;n++){let r=e[n];if(t(r))return r}}function Ht(e,t,n,r){return {isApplicable:e,annotation:t,transform:n,untransform:r}}function Ci(e,t,n,r){return {isApplicable:e,annotation:t,transform:n,untransform:r}}function kc(e,t){return e?.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}function Tc(e){if(fi(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(fi(e,"prototype"))throw new Error("prototype is not allowed as a property");if(fi(e,"constructor"))throw new Error("constructor is not allowed as a property")}function Ds(e,t,n=[]){if(!e)return;if(!In(e)){ar(e,(i,s)=>Ds(i,t,[...n,...eo(s)]));return}let[r,o]=e;o&&ar(o,(i,s)=>{Ds(i,t,[...n,...eo(s)]);}),t(r,n);}function l2(e,t,n){return Ds(t,(r,o)=>{e=Fs(e,o,i=>s2(i,r,n));}),e}function c2(e,t){function n(r,o){let i=a2(e,eo(o));r.map(eo).forEach(s=>{e=Fs(e,s,()=>i);});}if(In(t)){let[r,o]=t;r.forEach(i=>{e=Fs(e,eo(i),()=>e);}),o&&ar(o,n);}else ar(t,n);return e}function d2(e,t,n){let r=n.get(e);r?r.push(t):n.set(e,[t]);}function f2(e,t){let n={},r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(l=>l.map(String)).sort((l,a)=>l.length-a.length));let[i,...s]=o;i.length===0?r=s.map(Es):n[Es(i)]=s.map(Es);}),r?_s(n)?[r]:[r,n]:_s(n)?void 0:n}function Mc(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ql(e){return Mc(e)==="Array"}function p2(e){if(Mc(e)!=="Object")return !1;let t=Object.getPrototypeOf(e);return !!t&&t.constructor===Object&&t===Object.prototype}function m2(e,t,n,r,o){let i={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";i==="enumerable"&&(e[t]=n),o&&i==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0});}function Ls(e,t={}){if(Ql(e))return e.map(o=>Ls(o,t));if(!p2(e))return e;let n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return [...n,...r].reduce((o,i)=>{if(Ql(t.props)&&!t.props.includes(i))return o;let s=e[i],l=Ls(s,t);return m2(o,i,l,e,t.nonenumerable),o},{})}function Nn(e){return e.state.fetchStatus==="fetching"?"fetching":e.getObserversCount()?e.state.fetchStatus==="paused"?"paused":e.isStale()?"stale":"fresh":"inactive"}function Fc(e,t){return `${e}${t.charAt(0).toUpperCase()+t.slice(1)}`}function Dc({queryState:e,observerCount:t,isStale:n}){return e.fetchStatus==="fetching"?"blue":t?e.fetchStatus==="paused"?"purple":n?"yellow":"green":"gray"}function Kn({status:e,isPaused:t}){return t?"purple":e==="error"?"red":e==="pending"?"yellow":e==="success"?"green":"gray"}function Lc(e){return e==="fresh"?"green":e==="stale"?"yellow":e==="paused"?"purple":e==="inactive"?"gray":"blue"}var te,ap,pi,Wl,lo,mi,Rl,Yl,pt,to,Xl,ks,se,R,lr,sr,Ee,Ne,Ze,bi,up,ql,no,Ts,yp,$s,bp,lc,fc,xp,wp,Sp,Cp,kp,Ep,Pp,Tp,qe,Jr,Je,qp,Vp,yc,Np,Gp,Up,vc,Hp,io,_s,In,Qp,jp,Wp,Yp,so,ao,bc,Xp,Zp,Ul,Jp,e2,t2,n2,r2,xc,Es,eo,wc,Sc,o2,Cc,Ic,Ec,i2,Hl,Pc,s2,or,a2,Fs,u2,$c,he,Vs,_c,uo,ci,g2,Oc,h2,ki,ui,Ac,y2,Ii,Ns,Ei,Cn,ir,Ks,fo=Q(()=>{te={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Al(this.context.count)},getNextContextId(){return Al(this.context.count++)}};ap=(e,t)=>e===t,pi=Symbol("solid-proxy"),Wl=typeof Proxy=="function",lo=Symbol("solid-track"),mi={equals:ap},Rl=null,Yl=ic,pt=1,to=2,Xl={owned:null,cleanups:null,context:null,owner:null},ks={},se=null,R=null,lr=null,sr=null,Ee=null,Ne=null,Ze=null,bi=0;[up,ql]=q(!1);Ts=Symbol("fallback");yp=!1;$s={get(e,t,n){return t===pi?n:e.get(t)},has(e,t){return t===pi?!0:e.has(t)},set:li,deleteProperty:li,getOwnPropertyDescriptor(e,t){return {configurable:!0,enumerable:!0,get(){return e.get(t)},set:li,deleteProperty:li}},ownKeys(e){return e.keys()}};bp=0;lc=e=>`Stale read from <${e}>.`;fc=void 0,xp=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],wp=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline",...xp]),Sp=new Set(["innerHTML","textContent","innerText","children"]),Cp=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),kp=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});Ep=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Pp=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Tp={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},qe=e=>F(()=>e());Jr="_$DX_DELEGATE";Je=!1,qp="http://www.w3.org/2000/svg";Vp=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map;}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e);}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear();}},yc=class{constructor(e){this.generateIdentifier=e,this.kv=new Vp;}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e));}clear(){this.kv.clear();}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Np=class extends yc{constructor(){super(e=>e.name),this.classToAllowedProps=new Map;}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t);}getAllowedProps(e){return this.classToAllowedProps.get(e)}};Gp=class{constructor(){this.transfomers={};}register(e){this.transfomers[e.name]=e;}findApplicable(e){return Bp(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}},Up=e=>Object.prototype.toString.call(e).slice(8,-1),vc=e=>typeof e>"u",Hp=e=>e===null,io=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,_s=e=>io(e)&&Object.keys(e).length===0,In=e=>Array.isArray(e),Qp=e=>typeof e=="string",jp=e=>typeof e=="number"&&!isNaN(e),Wp=e=>typeof e=="boolean",Yp=e=>e instanceof RegExp,so=e=>e instanceof Map,ao=e=>e instanceof Set,bc=e=>Up(e)==="Symbol",Xp=e=>e instanceof Date&&!isNaN(e.valueOf()),Zp=e=>e instanceof Error,Ul=e=>typeof e=="number"&&isNaN(e),Jp=e=>Wp(e)||Hp(e)||vc(e)||jp(e)||Qp(e)||bc(e),e2=e=>typeof e=="bigint",t2=e=>e===1/0||e===-1/0,n2=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),r2=e=>e instanceof URL,xc=e=>e.replace(/\./g,"\\."),Es=e=>e.map(String).map(xc).join("."),eo=e=>{let t=[],n="";for(let o=0;o<e.length;o++){let i=e.charAt(o);if(i==="\\"&&e.charAt(o+1)==="."){n+=".",o++;continue}if(i==="."){t.push(n),n="";continue}n+=i;}let r=n;return t.push(r),t};wc=[Ht(vc,"undefined",()=>null,()=>{}),Ht(e2,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):e),Ht(Xp,"Date",e=>e.toISOString(),e=>new Date(e)),Ht(Zp,"Error",(e,t)=>{let n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r];}),n},(e,t)=>{let n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r];}),n}),Ht(Yp,"regexp",e=>""+e,e=>{let t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Ht(ao,"set",e=>[...e.values()],e=>new Set(e)),Ht(so,"map",e=>[...e.entries()],e=>new Map(e)),Ht(e=>Ul(e)||t2(e),"number",e=>Ul(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Ht(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Ht(r2,"URL",e=>e.toString(),e=>new URL(e))];Sc=Ci((e,t)=>bc(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{let r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),o2=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Cc=Ci(n2,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{let n=o2[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});Ic=Ci(kc,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{let n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return {...e};let r={};return n.forEach(o=>{r[o]=e[o];}),r},(e,t,n)=>{let r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),Ec=Ci((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{let r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),i2=[Ic,Sc,Ec,Cc],Hl=(e,t)=>{let n=Gl(i2,o=>o.isApplicable(e,t));if(n)return {value:n.transform(e,t),type:n.annotation(e,t)};let r=Gl(wc,o=>o.isApplicable(e,t));if(r)return {value:r.transform(e,t),type:r.annotation}},Pc={};wc.forEach(e=>{Pc[e.annotation]=e;});s2=(e,t,n)=>{if(In(t))switch(t[0]){case"symbol":return Sc.untransform(e,t,n);case"class":return Ic.untransform(e,t,n);case"custom":return Ec.untransform(e,t,n);case"typed-array":return Cc.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else {let r=Pc[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},or=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");let n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};a2=(e,t)=>{Tc(t);for(let n=0;n<t.length;n++){let r=t[n];if(ao(e))e=or(e,+r);else if(so(e)){let o=+r,i=+t[++n]==0?"key":"value",s=or(e,o);switch(i){case"key":e=s;break;case"value":e=e.get(s);break}}else e=e[r];}return e},Fs=(e,t,n)=>{if(Tc(t),t.length===0)return n(e);let r=e;for(let i=0;i<t.length-1;i++){let s=t[i];if(In(r)){let l=+s;r=r[l];}else if(io(r))r=r[s];else if(ao(r)){let l=+s;r=or(r,l);}else if(so(r)){if(i===t.length-2)break;let a=+s,u=+t[++i]==0?"key":"value",c=or(r,a);switch(u){case"key":r=c;break;case"value":r=r.get(c);break}}}let o=t[t.length-1];if(In(r)?r[+o]=n(r[+o]):io(r)&&(r[o]=n(r[o])),ao(r)){let i=or(r,+o),s=n(i);i!==s&&(r.delete(i),r.add(s));}if(so(r)){let i=+t[t.length-2],s=or(r,i);switch(+o==0?"key":"value"){case"key":{let a=n(s);r.set(a,r.get(s)),a!==s&&r.delete(s);break}case"value":{r.set(s,n(r.get(s)));break}}}return e};u2=(e,t)=>io(e)||In(e)||so(e)||ao(e)||kc(e,t);$c=(e,t,n,r,o=[],i=[],s=new Map)=>{let l=Jp(e);if(!l){d2(e,o,t);let p=s.get(e);if(p)return r?{transformedValue:null}:p}if(!u2(e,n)){let p=Hl(e,n),f=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return l||s.set(e,f),f}if(fi(i,e))return {transformedValue:null};let a=Hl(e,n),u=a?.value??e,c=In(u)?[]:{},d={};ar(u,(p,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")throw new Error(`Detected property ${f}. This is a prototype pollution risk, please remove it from your object.`);let g=$c(p,t,n,r,[...o,f],[...i,e],s);c[f]=g.transformedValue,In(g.annotations)?d[f]=g.annotations:io(g.annotations)&&ar(g.annotations,(v,h)=>{d[xc(f)+"."+h]=v;});});let m=_s(d)?{transformedValue:c,annotations:a?[a.type]:void 0}:{transformedValue:c,annotations:a?[a.type,d]:d};return l||s.set(e,m),m};he=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Np,this.symbolRegistry=new yc(t=>t.description??""),this.customTransformerRegistry=new Gp,this.allowedErrorProps=[],this.dedupe=e;}serialize(e){let t=new Map,n=$c(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});let o=f2(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){let{json:t,meta:n}=e,r=Ls(t);return n?.values&&(r=l2(r,n.values,this)),n?.referentialEqualities&&(r=c2(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t);}registerSymbol(e,t){this.symbolRegistry.register(e,t);}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e});}allowErrorProps(...e){this.allowedErrorProps.push(...e);}};he.defaultInstance=new he;he.serialize=he.defaultInstance.serialize.bind(he.defaultInstance);he.deserialize=he.defaultInstance.deserialize.bind(he.defaultInstance);he.stringify=he.defaultInstance.stringify.bind(he.defaultInstance);he.parse=he.defaultInstance.parse.bind(he.defaultInstance);he.registerClass=he.defaultInstance.registerClass.bind(he.defaultInstance);he.registerSymbol=he.defaultInstance.registerSymbol.bind(he.defaultInstance);he.registerCustom=he.defaultInstance.registerCustom.bind(he.defaultInstance);he.allowErrorProps=he.defaultInstance.allowErrorProps.bind(he.defaultInstance);Vs=he.serialize;he.deserialize;_c=he.stringify;he.parse;he.registerClass;he.registerCustom;he.registerSymbol;he.allowErrorProps;uo=(e,t=!1)=>{let{json:n}=Vs(e);return JSON.stringify(n,null,t?2:void 0)},ci=e=>e.state.fetchStatus!=="idle"?0:e.getObserversCount()?e.isStale()?2:1:3,g2=(e,t)=>e.queryHash.localeCompare(t.queryHash),Oc=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,h2=(e,t)=>ci(e)===ci(t)?Oc(e,t):ci(e)>ci(t)?1:-1,ki={status:h2,"query hash":g2,"last updated":Oc},ui=e=>e.state.isPaused?0:e.state.status==="error"?2:e.state.status==="pending"?1:3,Ac=(e,t)=>e.state.submittedAt<t.state.submittedAt?1:-1,y2=(e,t)=>ui(e)===ui(t)?Ac(e,t):ui(e)>ui(t)?1:-1,Ii={status:y2,"last updated":Ac},Ns=e=>e*parseFloat(getComputedStyle(document.documentElement).fontSize),Ei=()=>{let[e,t]=q("dark");return Wt(()=>{let n=window.matchMedia("(prefers-color-scheme: dark)");t(n.matches?"dark":"light");let r=o=>{t(o.matches?"dark":"light");};n.addEventListener("change",r),W(()=>n.removeEventListener("change",r));}),e},Cn=(e,t,n)=>{if(t.length===0)return n;if(e instanceof Map){let r=new Map(e);if(t.length===1)return r.set(t[0],n),r;let[o,...i]=t;return r.set(o,Cn(r.get(o),i,n)),r}if(e instanceof Set){let r=Cn(Array.from(e),t,n);return new Set(r)}if(Array.isArray(e)){let r=[...e];if(t.length===1)return r[t[0]]=n,r;let[o,...i]=t;return r[o]=Cn(r[o],i,n),r}if(e instanceof Object){let r={...e};if(t.length===1)return r[t[0]]=n,r;let[o,...i]=t;return r[o]=Cn(r[o],i,n),r}return e},ir=(e,t)=>{if(e instanceof Map){let n=new Map(e);if(t.length===1)return n.delete(t[0]),n;let[r,...o]=t;return n.set(r,ir(n.get(r),o)),n}if(e instanceof Set){let n=ir(Array.from(e),t);return new Set(n)}if(Array.isArray(e)){let n=[...e];if(t.length===1)return n.filter((i,s)=>s.toString()!==t[0]);let[r,...o]=t;return n[r]=ir(n[r],o),n}if(e instanceof Object){let n={...e};if(t.length===1)return delete n[t[0]],n;let[r,...o]=t;return n[r]=ir(n[r],o),n}return e},Ks=(e,t)=>{if(!e||document.querySelector("#_goober")||t?.querySelector("#_goober"))return;let r=document.createElement("style"),o=document.createTextNode("");r.appendChild(o),r.id="_goober",r.setAttribute("nonce",e),t?t.appendChild(r):document.head.appendChild(r);};});function S2(e){return (...t)=>{for(let n of e)n&&n(...t);}}function C2(e,...t){return typeof e=="function"?e(...t):e}function I2(e,t,n,r){let o=e.length,i=t.length,s=0;if(!i){for(;s<o;s++)n(e[s]);return}if(!o){for(;s<i;s++)r(t[s]);return}for(;s<i&&t[s]===e[s];s++);let l,a;t=t.slice(s),e=e.slice(s);for(l of t)e.includes(l)||r(l);for(a of e)t.includes(a)||n(a);}function E2(e){let[t,n]=q(),r=e?.throw?(m,p)=>{throw n(m instanceof Error?m:new Error(p)),m}:(m,p)=>{n(m instanceof Error?m:new Error(p));},o=e?.api?Array.isArray(e.api)?e.api:[e.api]:[globalThis.localStorage].filter(Boolean),i=e?.prefix?`${e.prefix}.`:"",s=new Map,l=new Proxy({},{get(m,p){let f=s.get(p);f||(f=q(void 0,{equals:!1}),s.set(p,f)),f[0]();let g=o.reduce((v,h)=>{if(v!==null||!h)return v;try{return h.getItem(`${i}${p}`)}catch(y){return r(y,`Error reading ${i}${p} from ${h.name}`),null}},null);return g!==null&&e?.deserializer?e.deserializer(g,p,e.options):g}}),a=(m,p,f)=>{let g=e?.serializer?e.serializer(p,m,f??e.options):p,v=`${i}${m}`;o.forEach(y=>{try{y.getItem(v)!==g&&y.setItem(v,g);}catch(b){r(b,`Error setting ${i}${m} to ${g} in ${y.name}`);}});let h=s.get(m);h&&h[1]();},u=m=>o.forEach(p=>{try{p.removeItem(`${i}${m}`);}catch(f){r(f,`Error removing ${i}${m} from ${p.name}`);}}),c=()=>o.forEach(m=>{try{m.clear();}catch(p){r(p,`Error clearing ${m.name}`);}}),d=()=>{let m={},p=(f,g)=>{if(!m.hasOwnProperty(f)){let v=g&&e?.deserializer?e.deserializer(g,f,e.options):g;v&&(m[f]=v);}};return o.forEach(f=>{if(typeof f.getAll=="function"){let g;try{g=f.getAll();}catch(v){r(v,`Error getting all values from in ${f.name}`);}for(let v of g)p(v,g[v]);}else {let g=0,v;try{for(;v=f.key(g++);)m.hasOwnProperty(v)||p(v,f.getItem(v));}catch(h){r(h,`Error getting all values from ${f.name}`);}}}),m};return e?.sync!==!1&&Wt(()=>{let m=p=>{let f=!1;o.forEach(g=>{try{g!==p.storageArea&&p.key&&p.newValue!==g.getItem(p.key)&&(p.newValue?g.setItem(p.key,p.newValue):g.removeItem(p.key),f=!0);}catch(v){r(v,`Error synching api ${g.name} from storage event (${p.key}=${p.newValue})`);}}),f&&p.key&&s.get(p.key)?.[1]();};"addEventListener"in globalThis?(globalThis.addEventListener("storage",m),W(()=>globalThis.removeEventListener("storage",m))):(o.forEach(p=>p.addEventListener?.("storage",m)),W(()=>o.forEach(p=>p.removeEventListener?.("storage",m))));}),[l,a,{clear:c,error:t,remove:u,toJSON:d}]}function H(){return Ke(Co)}function Ye(){return Ke(ko)}function A2(e){return e.replace(O2,t=>Lu[t])}function Vc(e,t,n){var r;if(n=n||{},n.threshold=(r=n.threshold)!=null?r:dt.MATCHES,!n.accessors){let s=Nc(e,t,n);return {rankedValue:e,rank:s,accessorIndex:-1,accessorThreshold:n.threshold,passed:s>=n.threshold}}let o=V2(e,n.accessors),i={rankedValue:e,rank:dt.NO_MATCH,accessorIndex:-1,accessorThreshold:n.threshold,passed:!1};for(let s=0;s<o.length;s++){let l=o[s],a=Nc(l.itemValue,t,n),{minRanking:u,maxRanking:c,threshold:d=n.threshold}=l.attributes;a<u&&a>=dt.MATCHES?a=u:a>c&&(a=c),a=Math.min(a,c),a>=d&&a>i.rank&&(i.rank=a,i.passed=!0,i.accessorIndex=s,i.accessorThreshold=d,i.rankedValue=l.itemValue);}return i}function Nc(e,t,n){return e=Kc(e,n),t=Kc(t,n),t.length>e.length?dt.NO_MATCH:e===t?dt.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase(),t=t.toLowerCase(),e===t?dt.EQUAL:e.startsWith(t)?dt.STARTS_WITH:e.includes(` ${t}`)?dt.WORD_STARTS_WITH:e.includes(t)?dt.CONTAINS:t.length===1?dt.NO_MATCH:R2(e).includes(t)?dt.ACRONYM:q2(e,t))}function R2(e){let t="";return e.split(" ").forEach(r=>{r.split("-").forEach(i=>{t+=i.substr(0,1);});}),t}function q2(e,t){let n=0,r=0;function o(a,u,c){for(let d=c,m=u.length;d<m;d++)if(u[d]===a)return n+=1,d+1;return -1}function i(a){let u=1/a,c=n/t.length;return dt.MATCHES+c*u}let s=o(t[0],e,0);if(s<0)return dt.NO_MATCH;r=s;for(let a=1,u=t.length;a<u;a++){let c=t[a];if(r=o(c,e,r),!(r>-1))return dt.NO_MATCH}let l=r-s;return i(l)}function Kc(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=A2(e)),e}function z2(e,t){let n=t;typeof t=="object"&&(n=t.accessor);let r=n(e);return r==null?[]:Array.isArray(r)?r:[String(r)]}function V2(e,t){let n=[];for(let r=0,o=t.length;r<o;r++){let i=t[r],s=N2(i),l=z2(e,i);for(let a=0,u=l.length;a<u;a++)n.push({itemValue:l[a],attributes:s});}return n}function N2(e){return typeof e=="function"?Bc:{...Bc,...e}}function le(e){let t=this||{},n=e.call?e(t.p):e;return H2(n.unshift?n.raw?Q2(n,[].slice.call(arguments,1),t.p):n.reduce((r,o)=>Object.assign(r,o&&o.call?o(t.p):o),{}):n,B2(t.target),t.g,t.o,t.k)}function Au(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Au(e[t]))&&(r&&(r+=" "),r+=n);}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function z(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Au(e))&&(r&&(r+=" "),r+=t);return r}function j2(e,t){let n=$e(e);if(Je){let d=n.slice();return ()=>d}let{onChange:r}=t,o=new Set(t.appear?void 0:n),i=new WeakSet,[s,l]=q([],{equals:!1}),[a]=tc(),u=d=>{l(m=>(m.push.apply(m,d),m));for(let m of d)i.delete(m);},c=(d,m,p)=>d.splice(p,0,m);return F(d=>{let m=s(),p=e();if(p[lo],$e(a))return a(),d;if(m.length){let f=d.filter(g=>!m.includes(g));return m.length=0,r({list:f,added:[],removed:[],unchanged:f,finishRemoved:u}),f}return $e(()=>{let f=new Set(p),g=p.slice(),v=[],h=[],y=[];for(let w of p)(o.has(w)?y:v).push(w);let b=!v.length;for(let w=0;w<d.length;w++){let S=d[w];f.has(S)||(i.has(S)||(h.push(S),i.add(S)),c(g,S,w)),b&&S!==g[w]&&(b=!1);}return !h.length&&b?d:(r({list:g,added:v,removed:h,unchanged:y,finishRemoved:u}),o=f,g)})},t.appear?[]:n.slice())}function ot(...e){return S2(e)}function Ys(e,t){if(t(e))return e;if(typeof e=="function"&&!e.length)return Ys(e(),t);if(Array.isArray(e)){let n=[];for(let r of e){let o=Ys(r,t);o&&(Array.isArray(o)?n.push.apply(n,o):n.push(o));}return n.length?n:null}return null}function W2(e,t=Uc,n=Uc){let r=F(e),o=F(()=>Ys(r(),Je?n:t));return o.toArray=()=>{let i=o();return Array.isArray(i)?i:i?[i]:[]},o}function Y2(e){return F(()=>{let t=e.name||"s";return {enterActive:(e.enterActiveClass||t+"-enter-active").split(" "),enter:(e.enterClass||t+"-enter").split(" "),enterTo:(e.enterToClass||t+"-enter-to").split(" "),exitActive:(e.exitActiveClass||t+"-exit-active").split(" "),exit:(e.exitClass||t+"-exit").split(" "),exitTo:(e.exitToClass||t+"-exit-to").split(" "),move:(e.moveClass||t+"-move").split(" ")}})}function Ru(e){requestAnimationFrame(()=>requestAnimationFrame(e));}function X2(e,t,n,r){let{onBeforeEnter:o,onEnter:i,onAfterEnter:s}=t;o?.(n),n.classList.add(...e.enter),n.classList.add(...e.enterActive),queueMicrotask(()=>{if(!n.parentNode)return r?.();i?.(n,()=>l());}),Ru(()=>{n.classList.remove(...e.enter),n.classList.add(...e.enterTo),(!i||i.length<2)&&(n.addEventListener("transitionend",l),n.addEventListener("animationend",l));});function l(a){(!a||a.target===n)&&(n.removeEventListener("transitionend",l),n.removeEventListener("animationend",l),n.classList.remove(...e.enterActive),n.classList.remove(...e.enterTo),s?.(n));}}function Z2(e,t,n,r){let{onBeforeExit:o,onExit:i,onAfterExit:s}=t;if(!n.parentNode)return r?.();o?.(n),n.classList.add(...e.exit),n.classList.add(...e.exitActive),i?.(n,()=>l()),Ru(()=>{n.classList.remove(...e.exit),n.classList.add(...e.exitTo),(!i||i.length<2)&&(n.addEventListener("transitionend",l),n.addEventListener("animationend",l));});function l(a){(!a||a.target===n)&&(r?.(),n.removeEventListener("transitionend",l),n.removeEventListener("animationend",l),n.classList.remove(...e.exitActive),n.classList.remove(...e.exitTo),s?.(n));}}function Qc(e){for(let t of e)t.dispose();}function J2(e,t,n,r={}){if(Je){let s=e(),l=[];if(s&&s.length)for(let a=0,u=s.length;a<u;a++)l.push(n(()=>s[a],()=>a));else r.fallback&&(l=[r.fallback()]);return ()=>l}let o=new Map;return W(()=>Qc(o.values())),()=>{let s=e()||[];return s[lo],$e(()=>{if(!s.length)return Qc(o.values()),o.clear(),r.fallback?[Qt(d=>(o.set(Bs,{dispose:d}),r.fallback()))]:[];let l=new Array(s.length),a=o.get(Bs);if(!o.size||a){a?.dispose(),o.delete(Bs);for(let c=0;c<s.length;c++){let d=s[c],m=t(d,c);i(l,d,c,m);}return l}let u=new Set(o.keys());for(let c=0;c<s.length;c++){let d=s[c],m=t(d,c);u.delete(m);let p=o.get(m);p?(l[c]=p.mapped,p.setIndex?.(c),p.setItem(()=>d)):i(l,d,c,m);}for(let c of u)o.get(c)?.dispose(),o.delete(c);return l})};function i(s,l,a,u){Qt(c=>{let[d,m]=q(l),p={setItem:m,dispose:c};if(n.length>1){let[f,g]=q(a);p.setIndex=g,p.mapped=n(d,f);}else p.mapped=n(d);o.set(u,p),s[a]=p.mapped;});}}function Mi(e){let{by:t}=e;return F(J2(()=>e.each,typeof t=="function"?t:n=>n[t],e.children,"fallback"in e?{fallback:()=>e.fallback}:void 0))}function em(e,t,n,r){return e.addEventListener(t,n,r),k2(e.removeEventListener.bind(e,t,n,r))}function tm(e,t,n,r){if(Je)return;let o=()=>{js(_(e)).forEach(i=>{i&&js(_(t)).forEach(s=>em(i,s,n,r));});};typeof e=="function"?j(o):U(o);}function nm(e,t){if(Je)return {observe:Rc,unobserve:Rc};let n=new ResizeObserver(e);return W(n.disconnect.bind(n)),{observe:r=>n.observe(r,t),unobserve:n.unobserve.bind(n)}}function qu(e,t,n){if(Je)return;let r=new WeakMap,{observe:o,unobserve:i}=nm(s=>{for(let l of s){let{contentRect:a,target:u}=l,c=Math.round(a.width),d=Math.round(a.height),m=r.get(u);(!m||m.width!==c||m.height!==d)&&(t(a,u,l),r.set(u,{width:c,height:d}));}},n);j(s=>{let l=w2(js(_(e)));return I2(l,s,o,i),l},[]);}function jc(e){let t={},n;for(;n=rm.exec(e);)t[n[1]]=n[2];return t}function Vi(e,t){if(typeof e=="string"){if(typeof t=="string")return `${e};${t}`;e=jc(e);}else typeof t=="string"&&(t=jc(t));return {...e,...t}}function om(e,t,n=-1){return n in e?[...e.slice(0,n),t,...e.slice(n)]:[...e,t]}function Xs(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function im(e){return typeof e=="number"}function ur(e){return Object.prototype.toString.call(e)==="[object String]"}function sm(e){return typeof e=="function"}function Io(e){return t=>`${e()}-${t}`}function $t(e,t){return e?e===t||e.contains(t):!1}function yo(e,t=!1){let{activeElement:n}=Zt(e);if(!n?.nodeName)return null;if(zu(n)&&n.contentDocument)return yo(n.contentDocument.body,t);if(t){let r=n.getAttribute("aria-activedescendant");if(r){let o=Zt(n).getElementById(r);if(o)return o}}return n}function am(e){return Zt(e).defaultView||window}function Zt(e){return e?e.ownerDocument||e:document}function zu(e){return e.tagName==="IFRAME"}function ca(e){return typeof window<"u"&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function Ni(){return ca(/^Mac/i)}function lm(){return ca(/^iPhone/i)}function cm(){return ca(/^iPad/i)||Ni()&&navigator.maxTouchPoints>1}function um(){return lm()||cm()}function dm(){return Ni()||um()}function Fe(e,t){return t&&(sm(t)?t(e):t[0](t[1],e)),e?.defaultPrevented}function We(e){return t=>{for(let n of e)Fe(t,n);}}function fm(e){return Ni()?e.metaKey&&!e.ctrlKey:e.ctrlKey&&!e.metaKey}function tt(e){if(e)if(pm())e.focus({preventScroll:!0});else {let t=mm(e);e.focus(),gm(t);}}function pm(){if(Pi==null){Pi=!1;try{document.createElement("div").focus({get preventScroll(){return Pi=!0,!0}});}catch{}}return Pi}function mm(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function gm(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r;}function Nu(e,t){let r=Array.from(e.querySelectorAll(ua)).filter(Wc);return t&&Wc(e)&&r.unshift(e),r.forEach((o,i)=>{if(zu(o)&&o.contentDocument){let s=o.contentDocument.body,l=Nu(s,!1);r.splice(i,1,...l);}}),r}function Wc(e){return Ku(e)&&!vm(e)}function Ku(e){return e.matches(ua)&&da(e)}function vm(e){return parseInt(e.getAttribute("tabindex")||"0",10)<0}function da(e,t){return e.nodeName!=="#comment"&&bm(e)&&xm(e,t)&&(!e.parentElement||da(e.parentElement,e))}function bm(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return !1;let{display:t,visibility:n}=e.style,r=t!=="none"&&n!=="hidden"&&n!=="collapse";if(r){if(!e.ownerDocument.defaultView)return r;let{getComputedStyle:o}=e.ownerDocument.defaultView,{display:i,visibility:s}=o(e);r=i!=="none"&&s!=="hidden"&&s!=="collapse";}return r}function xm(e,t){return !e.hasAttribute("hidden")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function wm(e,t,n){let r=t?.tabbable?ym:ua,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(i){return t?.from?.contains(i)?NodeFilter.FILTER_REJECT:i.matches(r)&&da(i)&&(!t?.accept||t.accept(i))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t?.from&&(o.currentNode=t.from),o}function Yc(e){for(;e&&!Sm(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Sm(e){let t=window.getComputedStyle(e);return /(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function Cm(){}function km(e,t){let[n,r]=e,o=!1,i=t.length;for(let s=i,l=0,a=s-1;l<s;a=l++){let[u,c]=t[l],[d,m]=t[a],[,p]=t[a===0?s-1:a-1]||[0,0],f=(c-m)*(n-u)-(u-d)*(r-c);if(m<c){if(r>=m&&r<c){if(f===0)return !0;f>0&&(r===m?r>p&&(o=!o):o=!o);}}else if(c<m){if(r>c&&r<=m){if(f===0)return !0;f<0&&(r===m?r<p&&(o=!o):o=!o);}}else if(r==c&&(n>=d&&n<=u||n>=u&&n<=d))return !0}return o}function ve(e,t){return ne(e,t)}function Zc(){if(typeof window>"u")return;let e=n=>{if(!n.target)return;let r=po.get(n.target);r||(r=new Set,po.set(n.target,r),n.target.addEventListener("transitioncancel",t)),r.add(n.propertyName);},t=n=>{if(!n.target)return;let r=po.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",t),po.delete(n.target)),po.size===0)){for(let o of Xc)o();Xc.clear();}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t);}function Zs(e,t){let n=Jc(e,t,"left"),r=Jc(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,s=e.scrollLeft,l=e.scrollTop,a=s+e.offsetWidth,u=l+e.offsetHeight;n<=s?s=n:n+o>a&&(s+=n+o-a),r<=l?l=r:r+i>u&&(l+=r+i-u),e.scrollLeft=s,e.scrollTop=l;}function Jc(e,t,n){let r=n==="left"?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent;}return o}function Im(e,t){if(document.contains(e)){let n=document.scrollingElement||document.documentElement;if(window.getComputedStyle(n).overflow==="hidden"){let o=Yc(e);for(;e&&o&&e!==n&&o!==n;)Zs(o,e),e=o,o=Yc(e);}else {let{left:o,top:i}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:s,top:l}=e.getBoundingClientRect();(Math.abs(o-s)>1||Math.abs(i-l)>1)&&e.scrollIntoView?.({block:"nearest"});}}}function Mt(e){return t=>(e(t),()=>e(void 0))}function Ki(e,t){let[n,r]=q(eu(t?.()));return j(()=>{r(e()?.tagName.toLowerCase()||eu(t?.()));}),n}function eu(e){return ur(e)?e:void 0}function De(e){let[t,n]=Ce(e,["as"]);if(!t.as)throw new Error("[kobalte]: Polymorphic is missing the required `as` prop.");return x(hc,ne(n,{get component(){return t.as}}))}function Pm(e){let t=`form-control-${mt()}`,n=ve({id:t},e),[r,o]=q(),[i,s]=q(),[l,a]=q(),[u,c]=q(),d=(g,v,h)=>{let y=h!=null||r()!=null;return [h,r(),y&&v!=null?g:void 0].filter(Boolean).join(" ")||void 0},m=g=>[l(),u(),g].filter(Boolean).join(" ")||void 0,p=F(()=>({"data-valid":_(n.validationState)==="valid"?"":void 0,"data-invalid":_(n.validationState)==="invalid"?"":void 0,"data-required":_(n.required)?"":void 0,"data-disabled":_(n.disabled)?"":void 0,"data-readonly":_(n.readOnly)?"":void 0}));return {formControlContext:{name:()=>_(n.name)??_(n.id),dataset:p,validationState:()=>_(n.validationState),isRequired:()=>_(n.required),isDisabled:()=>_(n.disabled),isReadOnly:()=>_(n.readOnly),labelId:r,fieldId:i,descriptionId:l,errorMessageId:u,getAriaLabelledBy:d,getAriaDescribedBy:m,generateId:Io(()=>_(n.id)),registerLabel:Mt(o),registerField:Mt(s),registerDescription:Mt(a),registerErrorMessage:Mt(c)}}}function Eo(){let e=Ke(Gu);if(e===void 0)throw new Error("[kobalte]: `useFormControlContext` must be used within a `FormControlContext.Provider` component");return e}function Uu(e){let t=Eo(),n=ve({id:t.generateId("description")},e);return j(()=>W(t.registerDescription(n.id))),x(De,ne({as:"div"},()=>t.dataset(),n))}function Hu(e){let t=Eo(),n=ve({id:t.generateId("error-message")},e),[r,o]=Ce(n,["forceMount"]),i=()=>t.validationState()==="invalid";return j(()=>{i()&&W(t.registerErrorMessage(o.id));}),x(G,{get when(){return r.forceMount||i()},get children(){return x(De,ne({as:"div"},()=>t.dataset(),o))}})}function Tm(e){let t,n=Eo(),r=ve({id:n.generateId("label")},e),[o,i]=Ce(r,["ref"]),s=Ki(()=>t,()=>"label");return j(()=>W(n.registerLabel(i.id))),x(De,ne({as:"label",ref(l){let a=ot(u=>t=u,o.ref);typeof a=="function"&&a(l);},get for(){return qe(()=>s()==="label")()?n.fieldId():void 0}},()=>n.dataset(),i))}function $m(e,t){j(jt(e,n=>{if(n==null)return;let r=Mm(n);r!=null&&(r.addEventListener("reset",t,{passive:!0}),W(()=>{r.removeEventListener("reset",t);}));}));}function Mm(e){return _m(e)?e.form:e.closest("form")}function _m(e){return e.matches("textarea, input, select, button")}function Po(e){let[t,n]=q(e.defaultValue?.()),r=F(()=>e.value?.()!==void 0),o=F(()=>r()?e.value?.():t());return [o,s=>{$e(()=>{let l=C2(s,o());return Object.is(l,o())||(r()||n(l),e.onChange?.(l)),l});}]}function Qu(e){let[t,n]=Po(e);return [()=>t()??!1,n]}function Fm(e){let[t,n]=Po(e);return [()=>t()??[],n]}function Dm(e={}){let[t,n]=Qu({value:()=>_(e.isSelected),defaultValue:()=>!!_(e.defaultIsSelected),onChange:i=>e.onSelectedChange?.(i)});return {isSelected:t,setIsSelected:i=>{!_(e.isReadOnly)&&!_(e.isDisabled)&&n(i);},toggle:()=>{!_(e.isReadOnly)&&!_(e.isDisabled)&&n(!t());}}}function Wu(){return Ke(ju)}function Om(){let e=Wu();if(e===void 0)throw new Error("[kobalte]: `useDomCollectionContext` must be used within a `DomCollectionProvider` component");return e}function Yu(e,t){return !!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Am(e,t){let n=t.ref();if(!n)return -1;let r=e.length;if(!r)return -1;for(;r--;){let o=e[r]?.ref();if(o&&Yu(o,n))return r+1}return 0}function Rm(e){let t=e.map((r,o)=>[o,r]),n=!1;return t.sort(([r,o],[i,s])=>{let l=o.ref(),a=s.ref();return l===a||!l||!a?0:Yu(l,a)?(r>i&&(n=!0),-1):(r<i&&(n=!0),1)}),n?t.map(([r,o])=>o):e}function Xu(e,t){let n=Rm(e);e!==n&&t(n);}function qm(e){let t=e[0],n=e[e.length-1]?.ref(),r=t?.ref()?.parentElement;for(;r;){if(n&&r.contains(n))return r;r=r.parentElement;}return Zt(r).body}function zm(e,t){j(()=>{let n=setTimeout(()=>{Xu(e(),t);});W(()=>clearTimeout(n));});}function Vm(e,t){if(typeof IntersectionObserver!="function"){zm(e,t);return}let n=[];j(()=>{let r=()=>{let s=!!n.length;n=e(),s&&Xu(e(),t);},o=qm(e()),i=new IntersectionObserver(r,{root:o});for(let s of e()){let l=s.ref();l&&i.observe(l);}W(()=>i.disconnect());});}function Nm(e={}){let[t,n]=Fm({value:()=>_(e.items),onChange:i=>e.onItemsChange?.(i)});Vm(t,n);let r=i=>(n(s=>{let l=Am(s,i);return om(s,i,l)}),()=>{n(s=>{let l=s.filter(a=>a.ref()!==i.ref());return s.length===l.length?s:l});});return {DomCollectionProvider:i=>x(ju.Provider,{value:{registerItem:r},get children(){return i.children}})}}function Km(e){let t=Om(),n=ve({shouldRegisterItem:!0},e);j(()=>{if(!n.shouldRegisterItem)return;let r=t.registerItem(n.getItem());W(r);});}function Zu(e){let t=e.startIndex??0,n=e.startLevel??0,r=[],o=a=>{if(a==null)return "";let u=e.getKey??"key",c=ur(u)?a[u]:u(a);return c!=null?String(c):""},i=a=>{if(a==null)return "";let u=e.getTextValue??"textValue",c=ur(u)?a[u]:u(a);return c!=null?String(c):""},s=a=>{if(a==null)return !1;let u=e.getDisabled??"disabled";return (ur(u)?a[u]:u(a))??!1},l=a=>{if(a!=null)return ur(e.getSectionChildren)?a[e.getSectionChildren]:e.getSectionChildren?.(a)};for(let a of e.dataSource){if(ur(a)||im(a)){r.push({type:"item",rawValue:a,key:String(a),textValue:String(a),disabled:s(a),level:n,index:t}),t++;continue}if(l(a)!=null){r.push({type:"section",rawValue:a,key:"",textValue:"",disabled:!1,level:n,index:t}),t++;let u=l(a)??[];if(u.length>0){let c=Zu({dataSource:u,getKey:e.getKey,getTextValue:e.getTextValue,getDisabled:e.getDisabled,getSectionChildren:e.getSectionChildren,startIndex:t,startLevel:n+1});r.push(...c),t+=c.length;}}else r.push({type:"item",rawValue:a,key:o(a),textValue:i(a),disabled:s(a),level:n,index:t}),t++;}return r}function Bm(e,t=[]){return F(()=>{let n=Zu({dataSource:_(e.dataSource),getKey:_(e.getKey),getTextValue:_(e.getTextValue),getDisabled:_(e.getDisabled),getSectionChildren:_(e.getSectionChildren)});for(let r=0;r<t.length;r++)t[r]();return e.factory(n)})}function Hm(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize().script??"";return Gm.has(n)}let t=e.split("-")[0];return Um.has(t)}function Qm(e){return Hm(e)?"rtl":"ltr"}function Ju(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";return {locale:e,direction:Qm(e)}}function tu(){Js=Ju();for(let e of vo)e(Js);}function jm(){let e={locale:"en-US",direction:"ltr"},[t,n]=q(Js),r=F(()=>Je?e:t());return Wt(()=>{vo.size===0&&window.addEventListener("languagechange",tu),vo.add(n),W(()=>{vo.delete(n),vo.size===0&&window.removeEventListener("languagechange",tu);});}),{locale:()=>r().locale,direction:()=>r().direction}}function _n(){let e=jm();return Ke(Wm)||e}function Ym(e){let{locale:t}=_n(),n=F(()=>t()+(e?Object.entries(e).sort((r,o)=>r[0]<o[0]?-1:1).join():""));return F(()=>{let r=n(),o;return Gs.has(r)&&(o=Gs.get(r)),o||(o=new Intl.Collator(t(),e),Gs.set(r,o)),o})}function Xm(e){let[t,n]=Po(e);return [()=>t()??new un,n]}function td(e){return dm()?e.altKey:e.ctrlKey}function dr(e){return Ni()?e.metaKey:e.ctrlKey}function nu(e){return new un(e)}function Zm(e,t){if(e.size!==t.size)return !1;for(let n of e)if(!t.has(n))return !1;return !0}function Jm(e){let t=ve({selectionMode:"none",selectionBehavior:"toggle"},e),[n,r]=q(!1),[o,i]=q(),s=F(()=>{let g=_(t.selectedKeys);return g!=null?nu(g):g}),l=F(()=>{let g=_(t.defaultSelectedKeys);return g!=null?nu(g):new un}),[a,u]=Xm({value:s,defaultValue:l,onChange:g=>t.onSelectionChange?.(g)}),[c,d]=q(_(t.selectionBehavior)),m=()=>_(t.selectionMode),p=()=>_(t.disallowEmptySelection)??!1,f=g=>{(_(t.allowDuplicateSelectionEvents)||!Zm(g,a()))&&u(g);};return j(()=>{let g=a();_(t.selectionBehavior)==="replace"&&c()==="toggle"&&typeof g=="object"&&g.size===0&&d("replace");}),j(()=>{d(_(t.selectionBehavior)??"toggle");}),{selectionMode:m,disallowEmptySelection:p,selectionBehavior:c,setSelectionBehavior:d,isFocused:n,setFocused:r,focusedKey:o,setFocusedKey:i,selectedKeys:a,setSelectedKeys:f}}function eg(e){let[t,n]=q(""),[r,o]=q(-1);return {typeSelectHandlers:{onKeyDown:s=>{if(_(e.isDisabled))return;let l=_(e.keyboardDelegate),a=_(e.selectionManager);if(!l.getKeyForSearch)return;let u=tg(s.key);if(!u||s.ctrlKey||s.metaKey)return;u===" "&&t().trim().length>0&&(s.preventDefault(),s.stopPropagation());let c=n(m=>m+u),d=l.getKeyForSearch(c,a.focusedKey())??l.getKeyForSearch(c);d==null&&ng(c)&&(c=c[0],d=l.getKeyForSearch(c,a.focusedKey())??l.getKeyForSearch(c)),d!=null&&(a.setFocusedKey(d),e.onTypeSelect?.(d)),clearTimeout(r()),o(window.setTimeout(()=>n(""),500));}}}}function tg(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function ng(e){return e.split("").every(t=>t===e[0])}function rg(e,t,n){let o=ne({selectOnFocus:()=>_(e.selectionManager).selectionBehavior()==="replace"},e),i=()=>t(),{direction:s}=_n(),l={top:0,left:0};tm(()=>_(o.isVirtualized)?void 0:i(),"scroll",()=>{let v=i();v&&(l={top:v.scrollTop,left:v.scrollLeft});});let{typeSelectHandlers:a}=eg({isDisabled:()=>_(o.disallowTypeAhead),keyboardDelegate:()=>_(o.keyboardDelegate),selectionManager:()=>_(o.selectionManager)}),u=()=>_(o.orientation)??"vertical",c=v=>{Fe(v,a.onKeyDown),v.altKey&&v.key==="Tab"&&v.preventDefault();let h=t();if(!h?.contains(v.target))return;let y=_(o.selectionManager),b=_(o.selectOnFocus),w=E=>{E!=null&&(y.setFocusedKey(E),v.shiftKey&&y.selectionMode()==="multiple"?y.extendSelection(E):b&&!td(v)&&y.replaceSelection(E));},S=_(o.keyboardDelegate),k=_(o.shouldFocusWrap),I=y.focusedKey();switch(v.key){case(u()==="vertical"?"ArrowDown":"ArrowRight"):{if(S.getKeyBelow){v.preventDefault();let E;I!=null?E=S.getKeyBelow(I):E=S.getFirstKey?.(),E==null&&k&&(E=S.getFirstKey?.(I)),w(E);}break}case(u()==="vertical"?"ArrowUp":"ArrowLeft"):{if(S.getKeyAbove){v.preventDefault();let E;I!=null?E=S.getKeyAbove(I):E=S.getLastKey?.(),E==null&&k&&(E=S.getLastKey?.(I)),w(E);}break}case(u()==="vertical"?"ArrowLeft":"ArrowUp"):{if(S.getKeyLeftOf){v.preventDefault();let E=s()==="rtl",C;I!=null?C=S.getKeyLeftOf(I):C=E?S.getFirstKey?.():S.getLastKey?.(),w(C);}break}case(u()==="vertical"?"ArrowRight":"ArrowDown"):{if(S.getKeyRightOf){v.preventDefault();let E=s()==="rtl",C;I!=null?C=S.getKeyRightOf(I):C=E?S.getLastKey?.():S.getFirstKey?.(),w(C);}break}case"Home":if(S.getFirstKey){v.preventDefault();let E=S.getFirstKey(I,dr(v));E!=null&&(y.setFocusedKey(E),dr(v)&&v.shiftKey&&y.selectionMode()==="multiple"?y.extendSelection(E):b&&y.replaceSelection(E));}break;case"End":if(S.getLastKey){v.preventDefault();let E=S.getLastKey(I,dr(v));E!=null&&(y.setFocusedKey(E),dr(v)&&v.shiftKey&&y.selectionMode()==="multiple"?y.extendSelection(E):b&&y.replaceSelection(E));}break;case"PageDown":if(S.getKeyPageBelow&&I!=null){v.preventDefault();let E=S.getKeyPageBelow(I);w(E);}break;case"PageUp":if(S.getKeyPageAbove&&I!=null){v.preventDefault();let E=S.getKeyPageAbove(I);w(E);}break;case"a":dr(v)&&y.selectionMode()==="multiple"&&_(o.disallowSelectAll)!==!0&&(v.preventDefault(),y.selectAll());break;case"Escape":v.defaultPrevented||(v.preventDefault(),_(o.disallowEmptySelection)||y.clearSelection());break;case"Tab":if(!_(o.allowsTabNavigation)){if(v.shiftKey)h.focus();else {let E=wm(h,{tabbable:!0}),C,$;do $=E.lastChild(),$&&(C=$);while($);C&&!C.contains(document.activeElement)&&tt(C);}break}}},d=v=>{let h=_(o.selectionManager),y=_(o.keyboardDelegate),b=_(o.selectOnFocus);if(h.isFocused()){v.currentTarget.contains(v.target)||h.setFocused(!1);return}if(v.currentTarget.contains(v.target)){if(h.setFocused(!0),h.focusedKey()==null){let w=k=>{k!=null&&(h.setFocusedKey(k),b&&h.replaceSelection(k));},S=v.relatedTarget;S&&v.currentTarget.compareDocumentPosition(S)&Node.DOCUMENT_POSITION_FOLLOWING?w(h.lastSelectedKey()??y.getLastKey?.()):w(h.firstSelectedKey()??y.getFirstKey?.());}else if(!_(o.isVirtualized)){let w=i();if(w){w.scrollTop=l.top,w.scrollLeft=l.left;let S=w.querySelector(`[data-key="${h.focusedKey()}"]`);S&&(tt(S),Zs(w,S));}}}},m=v=>{let h=_(o.selectionManager);v.currentTarget.contains(v.relatedTarget)||h.setFocused(!1);},p=v=>{i()===v.target&&v.preventDefault();},f=()=>{let v=_(o.autoFocus);if(!v)return;let h=_(o.selectionManager),y=_(o.keyboardDelegate),b;v==="first"&&(b=y.getFirstKey?.()),v==="last"&&(b=y.getLastKey?.());let w=h.selectedKeys();w.size&&(b=w.values().next().value),h.setFocused(!0),h.setFocusedKey(b);let S=t();S&&b==null&&!_(o.shouldUseVirtualFocus)&&tt(S);};return Wt(()=>{o.deferAutoFocus?setTimeout(f,0):f();}),j(jt([i,()=>_(o.isVirtualized),()=>_(o.selectionManager).focusedKey()],v=>{let[h,y,b]=v;if(y)b&&o.scrollToKey?.(b);else if(b&&h){let w=h.querySelector(`[data-key="${b}"]`);w&&Zs(h,w);}})),{tabIndex:F(()=>{if(!_(o.shouldUseVirtualFocus))return _(o.selectionManager).focusedKey()==null?0:-1}),onKeyDown:c,onMouseDown:p,onFocusIn:d,onFocusOut:m}}function nd(e,t){let n=()=>_(e.selectionManager),r=()=>_(e.key),o=()=>_(e.shouldUseVirtualFocus),i=y=>{n().selectionMode()!=="none"&&(n().selectionMode()==="single"?n().isSelected(r())&&!n().disallowEmptySelection()?n().toggleSelection(r()):n().replaceSelection(r()):y?.shiftKey?n().extendSelection(r()):n().selectionBehavior()==="toggle"||dr(y)||"pointerType"in y&&y.pointerType==="touch"?n().toggleSelection(r()):n().replaceSelection(r()));},s=()=>n().isSelected(r()),l=()=>_(e.disabled)||n().isDisabled(r()),a=()=>!l()&&n().canSelectItem(r()),u=null,c=y=>{a()&&(u=y.pointerType,y.pointerType==="mouse"&&y.button===0&&!_(e.shouldSelectOnPressUp)&&i(y));},d=y=>{a()&&y.pointerType==="mouse"&&y.button===0&&_(e.shouldSelectOnPressUp)&&_(e.allowsDifferentPressOrigin)&&i(y);},m=y=>{a()&&(_(e.shouldSelectOnPressUp)&&!_(e.allowsDifferentPressOrigin)||u!=="mouse")&&i(y);},p=y=>{!a()||!["Enter"," "].includes(y.key)||(td(y)?n().toggleSelection(r()):i(y));},f=y=>{l()&&y.preventDefault();},g=y=>{let b=t();o()||l()||!b||y.target===b&&n().setFocusedKey(r());},v=F(()=>{if(!(o()||l()))return r()===n().focusedKey()?0:-1}),h=F(()=>_(e.virtualized)?void 0:r());return j(jt([t,r,o,()=>n().focusedKey(),()=>n().isFocused()],([y,b,w,S,k])=>{y&&b===S&&k&&!w&&document.activeElement!==y&&(e.focus?e.focus():tt(y));})),{isSelected:s,isDisabled:l,allowsSelection:a,tabIndex:v,dataKey:h,onPointerDown:c,onPointerUp:d,onClick:m,onKeyDown:p,onMouseDown:f,onFocus:g}}function ig(e){let t=Jm(e),r=Bm({dataSource:()=>_(e.dataSource),getKey:()=>_(e.getKey),getTextValue:()=>_(e.getTextValue),getDisabled:()=>_(e.getDisabled),getSectionChildren:()=>_(e.getSectionChildren),factory:i=>e.filter?new ru(e.filter(i)):new ru(i)},[()=>e.filter]),o=new og(r,t);return gi(()=>{let i=t.focusedKey();i!=null&&!r().getItem(i)&&t.setFocusedKey(void 0);}),{collection:r,selectionManager:()=>o}}function bo(e){return fn.findIndex(t=>t.node===e)}function lg(e){return fn[bo(e)]}function cg(e){return fn[fn.length-1].node===e}function id(){return fn.filter(e=>e.isPointerBlocking)}function ug(){return [...id()].slice(-1)[0]}function fa(){return id().length>0}function sd(e){let t=bo(ug()?.node);return bo(e)<t}function dg(e){fn.push(e);}function fg(e){let t=bo(e);t<0||fn.splice(t,1);}function pg(){for(let{node:e}of fn)e.style.pointerEvents=sd(e)?"none":"auto";}function mg(e){if(fa()&&!ea){let t=Zt(e);od=document.body.style.pointerEvents,t.body.style.pointerEvents="none",ea=!0;}}function gg(e){if(fa())return;let t=Zt(e);t.body.style.pointerEvents=od,t.body.style.length===0&&t.body.removeAttribute("style"),ea=!1;}function vg(e){let t=e.tagName.toLowerCase();return t==="button"?!0:t==="input"&&e.type?yg.indexOf(e.type)!==-1:!1}function pa(e){let t,n=ve({type:"button"},e),[r,o]=Ce(n,["ref","type","disabled"]),i=Ki(()=>t,()=>"button"),s=F(()=>{let u=i();return u==null?!1:vg({tagName:u,type:r.type})}),l=F(()=>i()==="input"),a=F(()=>i()==="a"&&t?.getAttribute("href")!=null);return x(De,ne({as:"button",ref(u){let c=ot(d=>t=d,r.ref);typeof c=="function"&&c(u);},get type(){return s()||l()?r.type:void 0},get role(){return !s()&&!a()?"button":void 0},get tabIndex(){return !s()&&!a()&&!r.disabled?0:void 0},get disabled(){return s()||l()?r.disabled:void 0},get"aria-disabled"(){return !s()&&!l()&&r.disabled?!0:void 0},get"data-disabled"(){return r.disabled?"":void 0}},o))}function ta(e,t,n){return yt(e,Xt(t,n))}function Qn(e,t){return typeof e=="function"?e(t):e}function $n(e){return e.split("-")[0]}function gr(e){return e.split("-")[1]}function ad(e){return e==="x"?"y":"x"}function ma(e){return e==="y"?"height":"width"}function Un(e){return ["top","bottom"].includes($n(e))?"y":"x"}function ga(e){return ad(Un(e))}function Cg(e,t,n){n===void 0&&(n=!1);let r=gr(e),o=ga(e),i=ma(o),s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Di(s)),[s,Di(s)]}function kg(e){let t=Di(e);return [na(e),t,na(t)]}function na(e){return e.replace(/start|end/g,t=>Sg[t])}function Ig(e,t,n){let r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return []}}function Eg(e,t,n,r){let o=gr(e),i=Ig($n(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(na)))),i}function Di(e){return e.replace(/left|right|bottom|top/g,t=>wg[t])}function Pg(e){return {top:0,right:0,bottom:0,left:0,...e}}function ld(e){return typeof e!="number"?Pg(e):{top:e,right:e,bottom:e,left:e}}function Li(e){let{x:t,y:n,width:r,height:o}=e;return {width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ou(e,t,n){let{reference:r,floating:o}=e,i=Un(t),s=ga(t),l=ma(s),a=$n(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,m=r[l]/2-o[l]/2,p;switch(a){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y};}switch(gr(t)){case"start":p[s]-=m*(n&&u?-1:1);break;case"end":p[s]+=m*(n&&u?-1:1);break}return p}async function xo(e,t){var n;t===void 0&&(t={});let{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=Qn(t,e),f=ld(p),v=l[m?d==="floating"?"reference":"floating":d],h=Li(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:a})),y=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},S=Li(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:a}):y);return {top:(h.top-S.top+f.top)/w.y,bottom:(S.bottom-h.bottom+f.bottom)/w.y,left:(h.left-S.left+f.left)/w.x,right:(S.right-h.right+f.right)/w.x}}function iu(e,t){return {top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function su(e){return xg.some(t=>e[t]>=0)}async function Fg(e,t){let{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=$n(n),l=gr(n),a=Un(n)==="y",u=["left","top"].includes(s)?-1:1,c=i&&a?-1:1,d=Qn(t,e),{mainAxis:m,crossAxis:p,alignmentAxis:f}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&typeof f=="number"&&(p=l==="end"?f*-1:f),a?{x:p*c,y:m*u}:{x:m*u,y:p*c}}function hr(e){return cd(e)?(e.nodeName||"").toLowerCase():"#document"}function vt(e){var t;return (e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pn(e){var t;return (t=(cd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function cd(e){return e instanceof Node||e instanceof vt(e).Node}function qt(e){return e instanceof Element||e instanceof vt(e).Element}function Jt(e){return e instanceof HTMLElement||e instanceof vt(e).HTMLElement}function au(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof vt(e).ShadowRoot}function To(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=zt(e);return /auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ag(e){return ["table","td","th"].includes(hr(e))}function Gi(e){return [":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return !1}})}function ha(e){let t=ya(),n=qt(e)?zt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Rg(e){let t=Mn(e);for(;Jt(t)&&!mr(t);){if(ha(t))return t;if(Gi(t))return null;t=Mn(t);}return null}function ya(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function mr(e){return ["html","body","#document"].includes(hr(e))}function zt(e){return vt(e).getComputedStyle(e)}function Ui(e){return qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mn(e){if(hr(e)==="html")return e;let t=e.assignedSlot||e.parentNode||au(e)&&e.host||pn(e);return au(t)?t.host:t}function ud(e){let t=Mn(e);return mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&To(t)?t:ud(t)}function wo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);let o=ud(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=vt(o);return i?t.concat(s,s.visualViewport||[],To(o)?o:[],s.frameElement&&n?wo(s.frameElement):[]):t.concat(o,wo(o,[],n))}function dd(e){let t=zt(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Jt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=Fi(n)!==i||Fi(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function va(e){return qt(e)?e:e.contextElement}function pr(e){let t=va(e);if(!Jt(t))return Tn(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=dd(t),s=(i?Fi(n.width):n.width)/r,l=(i?Fi(n.height):n.height)/o;return (!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function fd(e){let t=vt(e);return !ya()||!t.visualViewport?qg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==vt(e)?!1:t}function Hn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let o=e.getBoundingClientRect(),i=va(e),s=Tn(1);t&&(r?qt(r)&&(s=pr(r)):s=pr(e));let l=zg(i,n,r)?fd(i):Tn(0),a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){let m=vt(i),p=r&&qt(r)?vt(r):r,f=m,g=f.frameElement;for(;g&&r&&p!==f;){let v=pr(g),h=g.getBoundingClientRect(),y=zt(g),b=h.left+(g.clientLeft+parseFloat(y.paddingLeft))*v.x,w=h.top+(g.clientTop+parseFloat(y.paddingTop))*v.y;a*=v.x,u*=v.y,c*=v.x,d*=v.y,a+=b,u+=w,f=vt(g),g=f.frameElement;}}return Li({width:c,height:d,x:a,y:u})}function Vg(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i=o==="fixed",s=pn(r),l=t?Gi(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=Tn(1),c=Tn(0),d=Jt(r);if((d||!d&&!i)&&((hr(r)!=="body"||To(s))&&(a=Ui(r)),Jt(r))){let m=Hn(r);u=pr(r),c.x=m.x+r.clientLeft,c.y=m.y+r.clientTop;}return {width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+c.x,y:n.y*u.y-a.scrollTop*u.y+c.y}}function Ng(e){return Array.from(e.getClientRects())}function pd(e){return Hn(pn(e)).left+Ui(e).scrollLeft}function Kg(e){let t=pn(e),n=Ui(e),r=e.ownerDocument.body,o=yt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=yt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+pd(e),l=-n.scrollTop;return zt(r).direction==="rtl"&&(s+=yt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}function Bg(e,t){let n=vt(e),r=pn(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;let u=ya();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop);}return {width:i,height:s,x:l,y:a}}function Gg(e,t){let n=Hn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Jt(e)?pr(e):Tn(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return {width:s,height:l,x:a,y:u}}function lu(e,t,n){let r;if(t==="viewport")r=Bg(e,n);else if(t==="document")r=Kg(pn(e));else if(qt(t))r=Gg(t,n);else {let o=fd(e);r={...t,x:t.x-o.x,y:t.y-o.y};}return Li(r)}function md(e,t){let n=Mn(e);return n===t||!qt(n)||mr(n)?!1:zt(n).position==="fixed"||md(n,t)}function Ug(e,t){let n=t.get(e);if(n)return n;let r=wo(e,[],!1).filter(l=>qt(l)&&hr(l)!=="body"),o=null,i=zt(e).position==="fixed",s=i?Mn(e):e;for(;qt(s)&&!mr(s);){let l=zt(s),a=ha(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||To(s)&&!a&&md(e,s))?r=r.filter(c=>c!==s):o=l,s=Mn(s);}return t.set(e,r),r}function Hg(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,s=[...n==="clippingAncestors"?Gi(t)?[]:Ug(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,c)=>{let d=lu(t,c,o);return u.top=yt(d.top,u.top),u.right=Xt(d.right,u.right),u.bottom=Xt(d.bottom,u.bottom),u.left=yt(d.left,u.left),u},lu(t,l,o));return {width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Qg(e){let{width:t,height:n}=dd(e);return {width:t,height:n}}function jg(e,t,n){let r=Jt(t),o=pn(t),i=n==="fixed",s=Hn(e,!0,i,t),l={scrollLeft:0,scrollTop:0},a=Tn(0);if(r||!r&&!i)if((hr(t)!=="body"||To(o))&&(l=Ui(t)),r){let d=Hn(t,!0,i,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop;}else o&&(a.x=pd(o));let u=s.left+l.scrollLeft-a.x,c=s.top+l.scrollTop-a.y;return {x:u,y:c,width:s.width,height:s.height}}function Us(e){return zt(e).position==="static"}function cu(e,t){return !Jt(e)||zt(e).position==="fixed"?null:t?t(e):e.offsetParent}function gd(e,t){let n=vt(e);if(Gi(e))return n;if(!Jt(e)){let o=Mn(e);for(;o&&!mr(o);){if(qt(o)&&!Us(o))return o;o=Mn(o);}return n}let r=cu(e,t);for(;r&&Ag(r)&&Us(r);)r=cu(r,t);return r&&mr(r)&&Us(r)&&!ha(r)?n:r||Rg(e)||n}function Yg(e){return zt(e).direction==="rtl"}function Xg(e,t){let n=null,r,o=pn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null;}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();let{left:u,top:c,width:d,height:m}=e.getBoundingClientRect();if(l||t(),!d||!m)return;let p=Ti(c),f=Ti(o.clientWidth-(u+d)),g=Ti(o.clientHeight-(c+m)),v=Ti(u),y={rootMargin:-p+"px "+-f+"px "+-g+"px "+-v+"px",threshold:yt(0,Xt(1,a))||1},b=!0;function w(S){let k=S[0].intersectionRatio;if(k!==a){if(!b)return s();k?s(!1,k):r=setTimeout(()=>{s(!1,1e-7);},1e3);}b=!1;}try{n=new IntersectionObserver(w,{...y,root:o.ownerDocument});}catch{n=new IntersectionObserver(w,y);}n.observe(e);}return s(!0),i}function Zg(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=va(e),c=o||i?[...u?wo(u):[],...wo(t)]:[];c.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),i&&h.addEventListener("resize",n);});let d=u&&l?Xg(u,n):null,m=-1,p=null;s&&(p=new ResizeObserver(h=>{let[y]=h;y&&y.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t);})),n();}),u&&!a&&p.observe(u),p.observe(t));let f,g=a?Hn(e):null;a&&v();function v(){let h=Hn(e);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,f=requestAnimationFrame(v);}return n(),()=>{var h;c.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n);}),d?.(),(h=p)==null||h.disconnect(),p=null,a&&cancelAnimationFrame(f);}}function xa(){let e=Ke(ba);if(e===void 0)throw new Error("[kobalte]: `usePopperContext` must be used within a `Popper` component");return e}function wa(e){let t=xa(),n=ve({size:ra},e),[r,o]=Ce(n,["ref","style","size"]),i=()=>t.currentPlacement().split("-")[0],s=lh(t.contentRef),l=()=>s()?.getPropertyValue("background-color")||"none",a=()=>s()?.getPropertyValue(`border-${i()}-color`)||"none",u=()=>s()?.getPropertyValue(`border-${i()}-width`)||"0px",c=()=>Number.parseInt(u())*2*(ra/r.size),d=()=>`rotate(${ah[i()]} ${uu} ${uu}) translate(0 2)`;return x(De,ne({as:"div",ref(m){let p=ot(t.setArrowRef,r.ref);typeof p=="function"&&p(m);},"aria-hidden":"true",get style(){return Vi({position:"absolute","font-size":`${r.size}px`,width:"1em",height:"1em","pointer-events":"none",fill:l(),stroke:a(),"stroke-width":c()},r.style)}},o,{get children(){let m=sh(),p=m.firstChild;return U(()=>L(p,"transform",d())),m}}))}function lh(e){let[t,n]=q();return j(()=>{let r=e();r&&n(am(r).getComputedStyle(r));}),t}function ch(e){let t=xa(),[n,r]=Ce(e,["ref","style"]);return x(De,ne({as:"div",ref(o){let i=ot(t.setPositionerRef,n.ref);typeof i=="function"&&i(o);},"data-popper-positioner":"",get style(){return Vi({position:"absolute",top:0,left:0,"min-width":"max-content"},n.style)}},r))}function du(e){let{x:t=0,y:n=0,width:r=0,height:o=0}=e??{};if(typeof DOMRect=="function")return new DOMRect(t,n,r,o);let i={x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:n+o,left:t};return {...i,toJSON:()=>i}}function uh(e,t){return {contextElement:e,getBoundingClientRect:()=>{let r=t(e);return r?du(r):e?e.getBoundingClientRect():du()}}}function dh(e){return /^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function ph(e,t){let[n,r]=e.split("-"),o=fh[n];return r?n==="left"||n==="right"?`${o} ${r==="start"?"top":"bottom"}`:r==="start"?`${o} ${t==="rtl"?"right":"left"}`:`${o} ${t==="rtl"?"left":"right"}`:`${o} center`}function mh(e){let t=ve({getAnchorRect:m=>m?.getBoundingClientRect(),placement:"bottom",gutter:0,shift:0,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,hideWhenDetached:!1,detachedPadding:0,arrowPadding:4,overflowPadding:8},e),[n,r]=q(),[o,i]=q(),[s,l]=q(t.placement),a=()=>uh(t.anchorRef?.(),t.getAnchorRect),{direction:u}=_n();async function c(){let m=a(),p=n(),f=o();if(!m||!p)return;let g=(f?.clientHeight||0)/2,v=typeof t.gutter=="number"?t.gutter+g:t.gutter??g;p.style.setProperty("--kb-popper-content-overflow-padding",`${t.overflowPadding}px`),m.getBoundingClientRect();let h=[Jg(({placement:k})=>{let I=!!k.split("-")[1];return {mainAxis:v,crossAxis:I?void 0:t.shift,alignmentAxis:t.shift}})];if(t.flip!==!1){let k=typeof t.flip=="string"?t.flip.split(" "):void 0;if(k!==void 0&&!k.every(dh))throw new Error("`flip` expects a spaced-delimited list of placements");h.push(th({padding:t.overflowPadding,fallbackPlacements:k}));}(t.slide||t.overlap)&&h.push(eh({mainAxis:t.slide,crossAxis:t.overlap,padding:t.overflowPadding})),h.push(nh({padding:t.overflowPadding,apply({availableWidth:k,availableHeight:I,rects:E}){let C=Math.round(E.reference.width);k=Math.floor(k),I=Math.floor(I),p.style.setProperty("--kb-popper-anchor-width",`${C}px`),p.style.setProperty("--kb-popper-content-available-width",`${k}px`),p.style.setProperty("--kb-popper-content-available-height",`${I}px`),t.sameWidth&&(p.style.width=`${C}px`),t.fitViewport&&(p.style.maxWidth=`${k}px`,p.style.maxHeight=`${I}px`);}})),t.hideWhenDetached&&h.push(rh({padding:t.detachedPadding})),f&&h.push(oh({element:f,padding:t.arrowPadding}));let y=await ih(m,p,{placement:t.placement,strategy:"absolute",middleware:h,platform:{...hd,isRTL:()=>u()==="rtl"}});if(l(y.placement),t.onCurrentPlacementChange?.(y.placement),!p)return;p.style.setProperty("--kb-popper-content-transform-origin",ph(y.placement,u()));let b=Math.round(y.x),w=Math.round(y.y),S;if(t.hideWhenDetached&&(S=y.middlewareData.hide?.referenceHidden?"hidden":"visible"),Object.assign(p.style,{top:"0",left:"0",transform:`translate3d(${b}px, ${w}px, 0)`,visibility:S}),f&&y.middlewareData.arrow){let{x:k,y:I}=y.middlewareData.arrow,E=y.placement.split("-")[0];Object.assign(f.style,{left:k!=null?`${k}px`:"",top:I!=null?`${I}px`:"",[E]:"100%"});}}j(()=>{let m=a(),p=n();if(!m||!p)return;let f=Zg(m,p,c,{elementResize:typeof ResizeObserver=="function"});W(f);}),j(()=>{let m=n(),p=t.contentRef?.();!m||!p||queueMicrotask(()=>{m.style.zIndex=getComputedStyle(p).zIndex;});});let d={currentPlacement:s,contentRef:()=>t.contentRef?.(),setPositionerRef:r,setArrowRef:i};return x(ba.Provider,{value:d,get children(){return t.children}})}function gh(e){let t=n=>{n.key===la.Escape&&e.onEscapeKeyDown?.(n);};j(()=>{if(Je||_(e.isDisabled))return;let n=e.ownerDocument?.()??Zt();n.addEventListener("keydown",t),W(()=>{n.removeEventListener("keydown",t);});});}function hh(e,t){let n,r=Cm,o=()=>Zt(t()),i=d=>e.onPointerDownOutside?.(d),s=d=>e.onFocusOutside?.(d),l=d=>e.onInteractOutside?.(d),a=d=>{let m=d.target;return !(m instanceof HTMLElement)||m.closest(`[${_i}]`)||!$t(o(),m)||$t(t(),m)?!1:!e.shouldExcludeElement?.(m)},u=d=>{function m(){let p=t(),f=d.target;if(!p||!f||!a(d))return;let g=We([i,l]);f.addEventListener(fu,g,{once:!0});let v=new CustomEvent(fu,{bubbles:!1,cancelable:!0,detail:{originalEvent:d,isContextMenu:d.button===2||fm(d)&&d.button===0}});f.dispatchEvent(v);}d.pointerType==="touch"?(o().removeEventListener("click",m),r=m,o().addEventListener("click",m,{once:!0})):m();},c=d=>{let m=t(),p=d.target;if(!m||!p||!a(d))return;let f=We([s,l]);p.addEventListener(pu,f,{once:!0});let g=new CustomEvent(pu,{bubbles:!1,cancelable:!0,detail:{originalEvent:d,isContextMenu:!1}});p.dispatchEvent(g);};j(()=>{Je||_(e.isDisabled)||(n=window.setTimeout(()=>{o().addEventListener("pointerdown",u,!0);},0),o().addEventListener("focusin",c,!0),W(()=>{window.clearTimeout(n),o().removeEventListener("click",r),o().removeEventListener("pointerdown",u,!0),o().removeEventListener("focusin",c,!0);}));});}function yh(){return Ke(vd)}function vh(e){let t,n=yh(),[r,o]=Ce(e,["ref","disableOutsidePointerEvents","excludedElements","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","bypassTopMostLayerCheck"]),i=new Set([]),s=d=>{i.add(d);let m=n?.registerNestedLayer(d);return ()=>{i.delete(d),m?.();}};hh({shouldExcludeElement:d=>t?r.excludedElements?.some(m=>$t(m(),d))||[...i].some(m=>$t(m,d)):!1,onPointerDownOutside:d=>{!t||gt.isBelowPointerBlockingLayer(t)||!r.bypassTopMostLayerCheck&&!gt.isTopMostLayer(t)||(r.onPointerDownOutside?.(d),r.onInteractOutside?.(d),d.defaultPrevented||r.onDismiss?.());},onFocusOutside:d=>{r.onFocusOutside?.(d),r.onInteractOutside?.(d),d.defaultPrevented||r.onDismiss?.();}},()=>t),gh({ownerDocument:()=>Zt(t),onEscapeKeyDown:d=>{!t||!gt.isTopMostLayer(t)||(r.onEscapeKeyDown?.(d),!d.defaultPrevented&&r.onDismiss&&(d.preventDefault(),r.onDismiss()));}}),Wt(()=>{if(!t)return;gt.addLayer({node:t,isPointerBlocking:r.disableOutsidePointerEvents,dismiss:r.onDismiss});let d=n?.registerNestedLayer(t);gt.assignPointerEventToLayers(),gt.disableBodyPointerEvents(t),W(()=>{t&&(gt.removeLayer(t),d?.(),gt.assignPointerEventToLayers(),gt.restoreBodyPointerEvents(t));});}),j(jt([()=>t,()=>r.disableOutsidePointerEvents],([d,m])=>{if(!d)return;let p=gt.find(d);p&&p.isPointerBlocking!==m&&(p.isPointerBlocking=m,gt.assignPointerEventToLayers()),m&&gt.disableBodyPointerEvents(d),W(()=>{gt.restoreBodyPointerEvents(d);});},{defer:!0}));let c={registerNestedLayer:s};return x(vd.Provider,{value:c,get children(){return x(De,ne({as:"div",ref(d){let m=ot(p=>t=p,r.ref);typeof m=="function"&&m(d);}},o))}})}function bd(e={}){let[t,n]=Qu({value:()=>_(e.open),defaultValue:()=>!!_(e.defaultOpen),onChange:s=>e.onOpenChange?.(s)}),r=()=>{n(!0);},o=()=>{n(!1);};return {isOpen:t,setIsOpen:n,open:r,close:o,toggle:()=>{t()?o():r();}}}function wd(){let e=Ke(xd);if(e===void 0)throw new Error("[kobalte]: `useRadioGroupContext` must be used within a `RadioGroup` component");return e}function $o(){let e=Ke(Sd);if(e===void 0)throw new Error("[kobalte]: `useRadioGroupItemContext` must be used within a `RadioGroup.Item` component");return e}function Cd(e){let t=Eo(),n=wd(),r=`${t.generateId("item")}-${mt()}`,o=ve({id:r},e),[i,s]=Ce(o,["value","disabled","onPointerDown"]),[l,a]=q(),[u,c]=q(),[d,m]=q(),[p,f]=q(),[g,v]=q(!1),h=F(()=>n.isSelectedValue(i.value)),y=F(()=>i.disabled||t.isDisabled()||!1),b=k=>{Fe(k,i.onPointerDown),g()&&k.preventDefault();},w=F(()=>({...t.dataset(),"data-disabled":y()?"":void 0,"data-checked":h()?"":void 0})),S={value:()=>i.value,dataset:w,isSelected:h,isDisabled:y,inputId:l,labelId:u,descriptionId:d,inputRef:p,select:()=>n.setSelectedValue(i.value),generateId:Io(()=>s.id),registerInput:Mt(a),registerLabel:Mt(c),registerDescription:Mt(m),setIsFocused:v,setInputRef:f};return x(Sd.Provider,{value:S,get children(){return x(De,ne({as:"div",role:"group",onPointerDown:b},w,s))}})}function kd(e){let t=$o(),n=ve({id:t.generateId("control")},e),[r,o]=Ce(n,["onClick","onKeyDown"]);return x(De,ne({as:"div",onClick:l=>{Fe(l,r.onClick),t.select(),t.inputRef()?.focus();},onKeyDown:l=>{Fe(l,r.onKeyDown),l.key===la.Space&&(t.select(),t.inputRef()?.focus());}},()=>t.dataset(),o))}function Id(e){let t=$o(),n=ve({id:t.generateId("description")},e);return j(()=>W(t.registerDescription(n.id))),x(De,ne({as:"div"},()=>t.dataset(),n))}function Ed(e){let t=$o(),n=ve({id:t.generateId("indicator")},e),[r,o]=Ce(n,["ref","forceMount"]),[i,s]=q(),{present:l}=rd({show:()=>r.forceMount||t.isSelected(),element:()=>i()??null});return x(G,{get when(){return l()},get children(){return x(De,ne({as:"div",ref(a){let u=ot(s,r.ref);typeof u=="function"&&u(a);}},()=>t.dataset(),o))}})}function Pd(e){let t=Eo(),n=wd(),r=$o(),o=ve({id:r.generateId("input")},e),[i,s]=Ce(o,["ref","style","aria-labelledby","aria-describedby","onChange","onFocus","onBlur"]),l=()=>[i["aria-labelledby"],r.labelId(),i["aria-labelledby"]!=null&&s["aria-label"]!=null?s.id:void 0].filter(Boolean).join(" ")||void 0,a=()=>[i["aria-describedby"],r.descriptionId(),n.ariaDescribedBy()].filter(Boolean).join(" ")||void 0,[u,c]=q(!1),d=f=>{if(Fe(f,i.onChange),f.stopPropagation(),!u()){n.setSelectedValue(r.value());let g=f.target;g.checked=r.isSelected();}c(!1);},m=f=>{Fe(f,i.onFocus),r.setIsFocused(!0);},p=f=>{Fe(f,i.onBlur),r.setIsFocused(!1);};return j(jt([()=>r.isSelected(),()=>r.value()],f=>{if(!f[0]&&f[1]===r.value())return;c(!0);let g=r.inputRef();g?.dispatchEvent(new Event("input",{bubbles:!0,cancelable:!0})),g?.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0}));},{defer:!0})),j(()=>W(r.registerInput(s.id))),x(De,ne({as:"input",ref(f){let g=ot(r.setInputRef,i.ref);typeof g=="function"&&g(f);},type:"radio",get name(){return t.name()},get value(){return r.value()},get checked(){return r.isSelected()},get required(){return t.isRequired()},get disabled(){return r.isDisabled()},get readonly(){return t.isReadOnly()},get style(){return Vi({...Bu},i.style)},get"aria-labelledby"(){return l()},get"aria-describedby"(){return a()},onChange:d,onFocus:m,onBlur:p},()=>r.dataset(),s))}function Td(e){let t=$o(),n=ve({id:t.generateId("label")},e);return j(()=>W(t.registerLabel(n.id))),x(De,ne({as:"label",get for(){return t.inputId()}},()=>t.dataset(),n))}function $d(e){return x(Tm,ne({as:"span"},e))}function Md(e){let t,n=`radiogroup-${mt()}`,r=ve({id:n,orientation:"vertical"},e),[o,i,s]=Ce(r,["ref","value","defaultValue","onChange","orientation","aria-labelledby","aria-describedby"],Em),[l,a]=Po({value:()=>o.value,defaultValue:()=>o.defaultValue,onChange:f=>o.onChange?.(f)}),{formControlContext:u}=Pm(i);$m(()=>t,()=>a(o.defaultValue??""));let c=()=>u.getAriaLabelledBy(_(i.id),s["aria-label"],o["aria-labelledby"]),d=()=>u.getAriaDescribedBy(o["aria-describedby"]),m=f=>f===l(),p={ariaDescribedBy:d,isSelectedValue:m,setSelectedValue:f=>{if(!(u.isReadOnly()||u.isDisabled())&&(a(f),t))for(let g of t.querySelectorAll("[type='radio']")){let v=g;v.checked=m(v.value);}}};return x(Gu.Provider,{value:u,get children(){return x(xd.Provider,{value:p,get children(){return x(De,ne({as:"div",ref(f){let g=ot(v=>t=v,o.ref);typeof g=="function"&&g(f);},role:"radiogroup",get id(){return _(i.id)},get"aria-invalid"(){return u.validationState()==="invalid"||void 0},get"aria-required"(){return u.isRequired()||void 0},get"aria-disabled"(){return u.isDisabled()||void 0},get"aria-readonly"(){return u.isReadOnly()||void 0},get"aria-orientation"(){return o.orientation},get"aria-labelledby"(){return c()},get"aria-describedby"(){return d()}},()=>u.dataset(),s))}})}})}function wh(e,t,n){let r=Ym({usage:"search",sensitivity:"base"}),o=F(()=>{let i=_(e.keyboardDelegate);return i||new xh(e.collection,t,r)});return rg({selectionManager:()=>_(e.selectionManager),keyboardDelegate:o,autoFocus:()=>_(e.autoFocus),deferAutoFocus:()=>_(e.deferAutoFocus),shouldFocusWrap:()=>_(e.shouldFocusWrap),disallowEmptySelection:()=>_(e.disallowEmptySelection),selectOnFocus:()=>_(e.selectOnFocus),disallowTypeAhead:()=>_(e.disallowTypeAhead),shouldUseVirtualFocus:()=>_(e.shouldUseVirtualFocus),allowsTabNavigation:()=>_(e.allowsTabNavigation),isVirtualized:()=>_(e.isVirtualized),scrollToKey:i=>_(e.scrollToKey)?.(i),orientation:()=>_(e.orientation)},t)}function Sh(e,t){let[n,r]=q(!1),o={pause(){r(!0);},resume(){r(!1);}},i=null,s=f=>e.onMountAutoFocus?.(f),l=f=>e.onUnmountAutoFocus?.(f),a=()=>Zt(t()),u=()=>{let f=a().createElement("span");return f.setAttribute("data-focus-trap",""),f.tabIndex=0,Object.assign(f.style,Bu),f},c=()=>{let f=t();return f?Nu(f,!0).filter(g=>!g.hasAttribute("data-focus-trap")):[]},d=()=>{let f=c();return f.length>0?f[0]:null},m=()=>{let f=c();return f.length>0?f[f.length-1]:null},p=()=>{let f=t();if(!f)return !1;let g=yo(f);return !g||$t(f,g)?!1:Ku(g)};j(()=>{if(Je)return;let f=t();if(!f)return;gu.add(o);let g=yo(f);if(!$t(f,g)){let h=new CustomEvent(Hs,mu);f.addEventListener(Hs,s),f.dispatchEvent(h),h.defaultPrevented||setTimeout(()=>{tt(d()),yo(f)===g&&tt(f);},0);}W(()=>{f.removeEventListener(Hs,s),setTimeout(()=>{let h=new CustomEvent(Qs,mu);p()&&h.preventDefault(),f.addEventListener(Qs,l),f.dispatchEvent(h),h.defaultPrevented||tt(g??a().body),f.removeEventListener(Qs,l),gu.remove(o);},0);});}),j(()=>{if(Je)return;let f=t();if(!f||!_(e.trapFocus)||n())return;let g=h=>{let y=h.target;y?.closest(`[${_i}]`)||($t(f,y)?i=y:tt(i));},v=h=>{let b=h.relatedTarget??yo(f);b?.closest(`[${_i}]`)||$t(f,b)||tt(i);};a().addEventListener("focusin",g),a().addEventListener("focusout",v),W(()=>{a().removeEventListener("focusin",g),a().removeEventListener("focusout",v);});}),j(()=>{if(Je)return;let f=t();if(!f||!_(e.trapFocus)||n())return;let g=u();f.insertAdjacentElement("afterbegin",g);let v=u();f.insertAdjacentElement("beforeend",v);function h(b){let w=d(),S=m();b.relatedTarget===w?tt(S):tt(w);}g.addEventListener("focusin",h),v.addEventListener("focusin",h);let y=new MutationObserver(b=>{for(let w of b)w.previousSibling===v&&(v.remove(),f.insertAdjacentElement("beforeend",v)),w.nextSibling===g&&(g.remove(),f.insertAdjacentElement("afterbegin",g));});y.observe(f,{childList:!0,subtree:!1}),W(()=>{g.removeEventListener("focusin",h),v.removeEventListener("focusin",h),g.remove(),v.remove(),y.disconnect();});});}function kh(e){j(()=>{_(e.isDisabled)||W(Ih(_(e.targets),_(e.root)));});}function Ih(e,t=document.body){let n=new Set(e),r=new Set,o=a=>{for(let m of a.querySelectorAll(`[${Ch}], [${_i}]`))n.add(m);let u=m=>{if(n.has(m)||m.parentElement&&r.has(m.parentElement)&&m.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of n)if(m.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:u}),d=u(a);if(d===NodeFilter.FILTER_ACCEPT&&i(a),d!==NodeFilter.FILTER_REJECT){let m=c.nextNode();for(;m!=null;)i(m),m=c.nextNode();}},i=a=>{let u=mo.get(a)??0;a.getAttribute("aria-hidden")==="true"&&u===0||(u===0&&a.setAttribute("aria-hidden","true"),r.add(a),mo.set(a,u+1));};Pt.length&&Pt[Pt.length-1].disconnect(),o(t);let s=new MutationObserver(a=>{for(let u of a)if(!(u.type!=="childList"||u.addedNodes.length===0)&&![...n,...r].some(c=>c.contains(u.target))){for(let c of u.removedNodes)c instanceof Element&&(n.delete(c),r.delete(c));for(let c of u.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?n.add(c):c instanceof Element&&o(c);}});s.observe(t,{childList:!0,subtree:!0});let l={observe(){s.observe(t,{childList:!0,subtree:!0});},disconnect(){s.disconnect();}};return Pt.push(l),()=>{s.disconnect();for(let a of r){let u=mo.get(a);if(u==null)return;u===1?(a.removeAttribute("aria-hidden"),mo.delete(a)):mo.set(a,u-1);}l===Pt[Pt.length-1]?(Pt.pop(),Pt.length&&Pt[Pt.length-1].observe()):Pt.splice(Pt.indexOf(l),1);}}function Fd(){return Ke(_d)}function mn(){let e=Fd();if(e===void 0)throw new Error("[kobalte]: `useMenuContext` must be used within a `Menu` component");return e}function Sa(){let e=Ke(Dd);if(e===void 0)throw new Error("[kobalte]: `useMenuItemContext` must be used within a `Menu.Item` component");return e}function en(){let e=Ke(Ld);if(e===void 0)throw new Error("[kobalte]: `useMenuRootContext` must be used within a `MenuRoot` component");return e}function Ca(e){let t,n=en(),r=mn(),o=ve({id:n.generateId(`item-${mt()}`)},e),[i,s]=Ce(o,["ref","textValue","disabled","closeOnSelect","checked","indeterminate","onSelect","onPointerMove","onPointerLeave","onPointerDown","onPointerUp","onClick","onKeyDown","onMouseDown","onFocus"]),[l,a]=q(),[u,c]=q(),[d,m]=q(),p=()=>r.listState().selectionManager(),f=()=>s.id,g=()=>p().focusedKey()===f(),v=()=>{i.onSelect?.(),i.closeOnSelect&&setTimeout(()=>{r.close(!0);});};Km({getItem:()=>({ref:()=>t,type:"item",key:f(),textValue:i.textValue??d()?.textContent??t?.textContent??"",disabled:i.disabled??!1})});let h=nd({key:f,selectionManager:p,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,disabled:()=>i.disabled},()=>t),y=C=>{Fe(C,i.onPointerMove),C.pointerType==="mouse"&&(i.disabled?r.onItemLeave(C):(r.onItemEnter(C),C.defaultPrevented||(tt(C.currentTarget),r.listState().selectionManager().setFocused(!0),r.listState().selectionManager().setFocusedKey(f()))));},b=C=>{Fe(C,i.onPointerLeave),C.pointerType==="mouse"&&r.onItemLeave(C);},w=C=>{Fe(C,i.onPointerUp),!i.disabled&&C.button===0&&v();},S=C=>{if(Fe(C,i.onKeyDown),!C.repeat&&!i.disabled)switch(C.key){case"Enter":case" ":v();break}},k=F(()=>{if(i.indeterminate)return "mixed";if(i.checked!=null)return i.checked}),I=F(()=>({"data-indeterminate":i.indeterminate?"":void 0,"data-checked":i.checked&&!i.indeterminate?"":void 0,"data-disabled":i.disabled?"":void 0,"data-highlighted":g()?"":void 0})),E={isChecked:()=>i.checked,dataset:I,setLabelRef:m,generateId:Io(()=>s.id),registerLabel:Mt(a),registerDescription:Mt(c)};return x(Dd.Provider,{value:E,get children(){return x(De,ne({as:"div",ref(C){let $=ot(V=>t=V,i.ref);typeof $=="function"&&$(C);},get tabIndex(){return h.tabIndex()},get"aria-checked"(){return k()},get"aria-disabled"(){return i.disabled},get"aria-labelledby"(){return l()},get"aria-describedby"(){return u()},get"data-key"(){return h.dataKey()},get onPointerDown(){return We([i.onPointerDown,h.onPointerDown])},get onPointerUp(){return We([w,h.onPointerUp])},get onClick(){return We([i.onClick,h.onClick])},get onKeyDown(){return We([S,h.onKeyDown])},get onMouseDown(){return We([i.onMouseDown,h.onMouseDown])},get onFocus(){return We([i.onFocus,h.onFocus])},onPointerMove:y,onPointerLeave:b},I,s))}})}function Od(e){let t=ve({closeOnSelect:!1},e),[n,r]=Ce(t,["checked","defaultChecked","onChange","onSelect"]),o=Dm({isSelected:()=>n.checked,defaultIsSelected:()=>n.defaultChecked,onSelectedChange:s=>n.onChange?.(s),isDisabled:()=>r.disabled});return x(Ca,ne({role:"menuitemcheckbox",get checked(){return o.isSelected()},onSelect:()=>{n.onSelect?.(),o.toggle();}},r))}function Hi(){return Ke(Oh)}function Ad(e){let t=en(),n=mn(),r=Hi(),{direction:o}=_n(),i=ve({id:t.generateId("trigger")},e),[s,l]=Ce(i,["ref","id","disabled","onPointerDown","onClick","onKeyDown","onMouseOver","onFocus"]),a=()=>t.value();r!==void 0&&(a=()=>t.value()??s.id,r.lastValue()===void 0&&r.setLastValue(a));let u=Ki(()=>n.triggerRef(),()=>"button"),c=F(()=>u()==="a"&&n.triggerRef()?.getAttribute("href")!=null);j(jt(()=>r?.value(),h=>{c()&&h===a()&&n.triggerRef()?.focus();}));let d=()=>{r!==void 0?n.isOpen()?r.value()===a()&&r.closeMenu():(r.autoFocusMenu()||r.setAutoFocusMenu(!0),n.open(!1)):n.toggle(!0);},m=h=>{Fe(h,s.onPointerDown),h.currentTarget.dataset.pointerType=h.pointerType,!s.disabled&&h.pointerType!=="touch"&&h.button===0&&d();},p=h=>{Fe(h,s.onClick),s.disabled||h.currentTarget.dataset.pointerType==="touch"&&d();},f=h=>{if(Fe(h,s.onKeyDown),!s.disabled){if(c())switch(h.key){case"Enter":case" ":return}switch(h.key){case"Enter":case" ":case wu.first(t.orientation()):h.stopPropagation(),h.preventDefault(),Im(h.currentTarget),n.open("first"),r?.setAutoFocusMenu(!0),r?.setValue(a);break;case wu.last(t.orientation()):h.stopPropagation(),h.preventDefault(),n.open("last");break;case So.next(o(),t.orientation()):if(r===void 0)break;h.stopPropagation(),h.preventDefault(),r.nextMenu();break;case So.previous(o(),t.orientation()):if(r===void 0)break;h.stopPropagation(),h.preventDefault(),r.previousMenu();break}}},g=h=>{Fe(h,s.onMouseOver),n.triggerRef()?.dataset.pointerType!=="touch"&&!s.disabled&&r!==void 0&&r.value()!==void 0&&r.setValue(a);},v=h=>{Fe(h,s.onFocus),r!==void 0&&h.currentTarget.dataset.pointerType!=="touch"&&r.setValue(a);};return j(()=>W(n.registerTriggerId(s.id))),x(pa,ne({ref(h){let y=ot(n.setTriggerRef,s.ref);typeof y=="function"&&y(h);},get"data-kb-menu-value-trigger"(){return t.value()},get id(){return s.id},get disabled(){return s.disabled},"aria-haspopup":"true",get"aria-expanded"(){return n.isOpen()},get"aria-controls"(){return qe(()=>!!n.isOpen())()?n.contentId():void 0},get"data-highlighted"(){return a()!==void 0&&r?.value()===a()?!0:void 0},get tabIndex(){return r!==void 0?r.value()===a()||r.lastValue()===a()?0:-1:void 0},onPointerDown:m,onMouseOver:g,onClick:p,onKeyDown:f,onFocus:v,role:r!==void 0?"menuitem":void 0},()=>n.dataset(),l))}function Rd(){return Ke(Ah)}function qd(e){let t,n=en(),r=mn(),o=Hi(),i=Rd(),{direction:s}=_n(),l=ve({id:n.generateId(`content-${mt()}`)},e),[a,u]=Ce(l,["ref","id","style","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeyDown","onFocusOutside","onPointerEnter","onPointerMove","onKeyDown","onMouseDown","onFocusIn","onFocusOut"]),c=0,d=()=>r.parentMenuContext()==null&&o===void 0&&n.isModal(),m=wh({selectionManager:r.listState().selectionManager,collection:r.listState().collection,autoFocus:r.autoFocus,deferAutoFocus:!0,shouldFocusWrap:!0,disallowTypeAhead:()=>!r.listState().selectionManager().isFocused(),orientation:()=>n.orientation()==="horizontal"?"vertical":"horizontal"},()=>t);Sh({trapFocus:()=>d()&&r.isOpen(),onMountAutoFocus:b=>{o===void 0&&a.onOpenAutoFocus?.(b);},onUnmountAutoFocus:a.onCloseAutoFocus},()=>t);let p=b=>{if($t(b.currentTarget,b.target)&&(b.key==="Tab"&&r.isOpen()&&b.preventDefault(),o!==void 0&&b.currentTarget.getAttribute("aria-haspopup")!=="true"))switch(b.key){case So.next(s(),n.orientation()):b.stopPropagation(),b.preventDefault(),r.close(!0),o.setAutoFocusMenu(!0),o.nextMenu();break;case So.previous(s(),n.orientation()):if(b.currentTarget.hasAttribute("data-closed"))break;b.stopPropagation(),b.preventDefault(),r.close(!0),o.setAutoFocusMenu(!0),o.previousMenu();break}},f=b=>{a.onEscapeKeyDown?.(b),o?.setAutoFocusMenu(!1),r.close(!0);},g=b=>{a.onFocusOutside?.(b),n.isModal()&&b.preventDefault();},v=b=>{Fe(b,a.onPointerEnter),r.isOpen()&&(r.parentMenuContext()?.listState().selectionManager().setFocused(!1),r.parentMenuContext()?.listState().selectionManager().setFocusedKey(void 0));},h=b=>{if(Fe(b,a.onPointerMove),b.pointerType!=="mouse")return;let w=b.target,S=c!==b.clientX;$t(b.currentTarget,w)&&S&&(r.setPointerDir(b.clientX>c?"right":"left"),c=b.clientX);};j(()=>W(r.registerContentId(a.id)));let y={ref:ot(b=>{r.setContentRef(b),t=b;},a.ref),role:"menu",get id(){return a.id},get tabIndex(){return m.tabIndex()},get"aria-labelledby"(){return r.triggerId()},onKeyDown:We([a.onKeyDown,m.onKeyDown,p]),onMouseDown:We([a.onMouseDown,m.onMouseDown]),onFocusIn:We([a.onFocusIn,m.onFocusIn]),onFocusOut:We([a.onFocusOut,m.onFocusOut]),onPointerEnter:v,onPointerMove:h,get"data-orientation"(){return n.orientation()}};return x(G,{get when(){return r.contentPresent()},get children(){return x(G,{get when(){return i===void 0||r.parentMenuContext()!=null},get fallback(){return x(De,ne({as:"div"},()=>r.dataset(),y,u))},get children(){return x(yd.Positioner,{get children(){return x(vh,ne({get disableOutsidePointerEvents(){return qe(()=>!!d())()&&r.isOpen()},get excludedElements(){return [r.triggerRef]},bypassTopMostLayerCheck:!0,get style(){return Vi({"--kb-menu-content-transform-origin":"var(--kb-popper-content-transform-origin)",position:"relative"},a.style)},onEscapeKeyDown:f,onFocusOutside:g,get onDismiss(){return r.close}},()=>r.dataset(),y,u))}})}})}})}function Rh(e){let t,n=en(),r=mn(),[o,i]=Ce(e,["ref"]);return Lh({element:()=>t??null,enabled:()=>r.contentPresent()&&n.preventScroll()}),x(qd,ne({ref(s){let l=ot(a=>{t=a;},o.ref);typeof l=="function"&&l(s);}},i))}function qh(){let e=Ke(zd);if(e===void 0)throw new Error("[kobalte]: `useMenuGroupContext` must be used within a `Menu.Group` component");return e}function ka(e){let t=en(),n=ve({id:t.generateId(`group-${mt()}`)},e),[r,o]=q(),i={generateId:Io(()=>n.id),registerLabelId:Mt(o)};return x(zd.Provider,{value:i,get children(){return x(De,ne({as:"div",role:"group",get"aria-labelledby"(){return r()}},n))}})}function Vd(e){let t=qh(),n=ve({id:t.generateId("label")},e),[r,o]=Ce(n,["id"]);return j(()=>W(t.registerLabelId(r.id))),x(De,ne({as:"span",get id(){return r.id},"aria-hidden":"true"},o))}function Nd(e){let t=mn(),n=ve({children:"\u25BC"},e);return x(De,ne({as:"span","aria-hidden":"true"},()=>t.dataset(),n))}function Kd(e){return x(Ca,ne({role:"menuitem",closeOnSelect:!0},e))}function Bd(e){let t=Sa(),n=ve({id:t.generateId("description")},e),[r,o]=Ce(n,["id"]);return j(()=>W(t.registerDescription(r.id))),x(De,ne({as:"div",get id(){return r.id}},()=>t.dataset(),o))}function Gd(e){let t=Sa(),n=ve({id:t.generateId("indicator")},e),[r,o]=Ce(n,["forceMount"]);return x(G,{get when(){return r.forceMount||t.isChecked()},get children(){return x(De,ne({as:"div"},()=>t.dataset(),o))}})}function Ud(e){let t=Sa(),n=ve({id:t.generateId("label")},e),[r,o]=Ce(n,["ref","id"]);return j(()=>W(t.registerLabel(r.id))),x(De,ne({as:"div",ref(i){let s=ot(t.setLabelRef,r.ref);typeof s=="function"&&s(i);},get id(){return r.id}},()=>t.dataset(),o))}function Hd(e){let t=mn();return x(G,{get when(){return t.contentPresent()},get children(){return x(zs,e)}})}function zh(){let e=Ke(Qd);if(e===void 0)throw new Error("[kobalte]: `useMenuRadioGroupContext` must be used within a `Menu.RadioGroup` component");return e}function jd(e){let n=en().generateId(`radiogroup-${mt()}`),r=ve({id:n},e),[o,i]=Ce(r,["value","defaultValue","onChange","disabled"]),[s,l]=Po({value:()=>o.value,defaultValue:()=>o.defaultValue,onChange:u=>o.onChange?.(u)}),a={isDisabled:()=>o.disabled,isSelectedValue:u=>u===s(),setSelectedValue:l};return x(Qd.Provider,{value:a,get children(){return x(ka,i)}})}function Wd(e){let t=zh(),n=ve({closeOnSelect:!1},e),[r,o]=Ce(n,["value","onSelect"]);return x(Ca,ne({role:"menuitemradio",get checked(){return t.isSelectedValue(r.value)},onSelect:()=>{r.onSelect?.(),t.setSelectedValue(r.value);}},o))}function Vh(e,t,n){let r=e.split("-")[0],o=n.getBoundingClientRect(),i=[],s=t.clientX,l=t.clientY;switch(r){case"top":i.push([s,l+5]),i.push([o.left,o.bottom]),i.push([o.left,o.top]),i.push([o.right,o.top]),i.push([o.right,o.bottom]);break;case"right":i.push([s-5,l]),i.push([o.left,o.top]),i.push([o.right,o.top]),i.push([o.right,o.bottom]),i.push([o.left,o.bottom]);break;case"bottom":i.push([s,l-5]),i.push([o.right,o.top]),i.push([o.right,o.bottom]),i.push([o.left,o.bottom]),i.push([o.left,o.top]);break;case"left":i.push([s+5,l]),i.push([o.right,o.bottom]),i.push([o.left,o.bottom]),i.push([o.left,o.top]),i.push([o.right,o.top]);break}return i}function Nh(e,t){return t?km([e.clientX,e.clientY],t):!1}function Yd(e){let t=en(),n=Wu(),r=Fd(),o=Hi(),i=Rd(),s=ve({placement:t.orientation()==="horizontal"?"bottom-start":"right-start"},e),[l,a]=Ce(s,["open","defaultOpen","onOpenChange"]),u=0,c=null,d="right",[m,p]=q(),[f,g]=q(),[v,h]=q(),[y,b]=q(),[w,S]=q(!0),[k,I]=q(a.placement),[E,C]=q([]),[$,V]=q([]),{DomCollectionProvider:D}=Nm({items:$,onItemsChange:V}),N=bd({open:()=>l.open,defaultOpen:()=>l.defaultOpen,onOpenChange:Z=>l.onOpenChange?.(Z)}),{present:B}=rd({show:()=>t.forceMount()||N.isOpen(),element:()=>y()??null}),re=ig({selectionMode:"none",dataSource:$}),we=Z=>{S(Z),N.open();},ge=(Z=!1)=>{N.close(),Z&&r&&r.close(!0);},ce=Z=>{S(Z),N.toggle();},Pe=()=>{let Z=y();Z&&(tt(Z),re.selectionManager().setFocused(!0),re.selectionManager().setFocusedKey(void 0));},Le=()=>{i!=null?setTimeout(()=>Pe()):Pe();},Re=Z=>{C(Oe=>[...Oe,Z]);let He=r?.registerNestedMenu(Z);return ()=>{C(Oe=>Xs(Oe,Z)),He?.();}},be=Z=>d===c?.side&&Nh(Z,c?.area),Te=Z=>{be(Z)&&Z.preventDefault();},M=Z=>{be(Z)||Le();},ke=Z=>{be(Z)&&Z.preventDefault();};kh({isDisabled:()=>!(r==null&&N.isOpen()&&t.isModal()),targets:()=>[y(),...E()].filter(Boolean)}),j(()=>{let Z=y();if(!Z||!r)return;let He=r.registerNestedMenu(Z);W(()=>{He();});}),j(()=>{r===void 0&&o?.registerMenu(t.value(),[y(),...E()]);}),j(()=>{r!==void 0||o===void 0||(o.value()===t.value()?(v()?.focus(),o.autoFocusMenu()&&we(!0)):ge());}),j(()=>{r!==void 0||o===void 0||N.isOpen()&&o.setValue(t.value());}),W(()=>{r===void 0&&o?.unregisterMenu(t.value());});let Ue={dataset:F(()=>({"data-expanded":N.isOpen()?"":void 0,"data-closed":N.isOpen()?void 0:""})),isOpen:N.isOpen,contentPresent:B,nestedMenus:E,currentPlacement:k,pointerGraceTimeoutId:()=>u,autoFocus:w,listState:()=>re,parentMenuContext:()=>r,triggerRef:v,contentRef:y,triggerId:m,contentId:f,setTriggerRef:h,setContentRef:b,open:we,close:ge,toggle:ce,focusContent:Le,onItemEnter:Te,onItemLeave:M,onTriggerLeave:ke,setPointerDir:Z=>d=Z,setPointerGraceTimeoutId:Z=>u=Z,setPointerGraceIntent:Z=>c=Z,registerNestedMenu:Re,registerItemToParentDomCollection:n?.registerItem,registerTriggerId:Mt(p),registerContentId:Mt(g)};return x(D,{get children(){return x(_d.Provider,{value:Ue,get children(){return x(G,{when:i===void 0,get fallback(){return a.children},get children(){return x(yd,ne({anchorRef:v,contentRef:y,onCurrentPlacementChange:I},a))}})}})}})}function Xd(e){let{direction:t}=_n();return x(Yd,ne({get placement(){return t()==="rtl"?"left-start":"right-start"},flip:!0},e))}function Zd(e){let t=mn(),n=en(),[r,o]=Ce(e,["onFocusOutside","onKeyDown"]),{direction:i}=_n();return x(qd,ne({onOpenAutoFocus:c=>{c.preventDefault();},onCloseAutoFocus:c=>{c.preventDefault();},onFocusOutside:c=>{r.onFocusOutside?.(c);let d=c.target;$t(t.triggerRef(),d)||t.close();},onKeyDown:c=>{Fe(c,r.onKeyDown);let d=$t(c.currentTarget,c.target),m=Kh.close(i(),n.orientation()).includes(c.key),p=t.parentMenuContext()!=null;d&&m&&p&&(t.close(),tt(t.triggerRef()));}},o))}function Jd(e){let t,n=en(),r=mn(),o=ve({id:n.generateId(`sub-trigger-${mt()}`)},e),[i,s]=Ce(o,["ref","id","textValue","disabled","onPointerMove","onPointerLeave","onPointerDown","onPointerUp","onClick","onKeyDown","onMouseDown","onFocus"]),l=null,a=()=>{Je||(l&&window.clearTimeout(l),l=null);},{direction:u}=_n(),c=()=>i.id,d=()=>{let b=r.parentMenuContext();if(b==null)throw new Error("[kobalte]: `Menu.SubTrigger` must be used within a `Menu.Sub` component");return b.listState().selectionManager()},m=()=>r.listState().collection(),p=()=>d().focusedKey()===c(),f=nd({key:c,selectionManager:d,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,disabled:()=>i.disabled},()=>t),g=b=>{Fe(b,i.onClick),!r.isOpen()&&!i.disabled&&r.open(!0);},v=b=>{if(Fe(b,i.onPointerMove),b.pointerType!=="mouse")return;let w=r.parentMenuContext();if(w?.onItemEnter(b),!b.defaultPrevented){if(i.disabled){w?.onItemLeave(b);return}!r.isOpen()&&!l&&(r.parentMenuContext()?.setPointerGraceIntent(null),l=window.setTimeout(()=>{r.open(!1),a();},100)),w?.onItemEnter(b),b.defaultPrevented||(r.listState().selectionManager().isFocused()&&(r.listState().selectionManager().setFocused(!1),r.listState().selectionManager().setFocusedKey(void 0)),tt(b.currentTarget),w?.listState().selectionManager().setFocused(!0),w?.listState().selectionManager().setFocusedKey(c()));}},h=b=>{if(Fe(b,i.onPointerLeave),b.pointerType!=="mouse")return;a();let w=r.parentMenuContext(),S=r.contentRef();if(S){w?.setPointerGraceIntent({area:Vh(r.currentPlacement(),b,S),side:r.currentPlacement().split("-")[0]}),window.clearTimeout(w?.pointerGraceTimeoutId());let k=window.setTimeout(()=>{w?.setPointerGraceIntent(null);},300);w?.setPointerGraceTimeoutId(k);}else {if(w?.onTriggerLeave(b),b.defaultPrevented)return;w?.setPointerGraceIntent(null);}w?.onItemLeave(b);},y=b=>{Fe(b,i.onKeyDown),!b.repeat&&(i.disabled||Bh.open(u(),n.orientation()).includes(b.key)&&(b.stopPropagation(),b.preventDefault(),d().setFocused(!1),d().setFocusedKey(void 0),r.isOpen()||r.open("first"),r.focusContent(),r.listState().selectionManager().setFocused(!0),r.listState().selectionManager().setFocusedKey(m().getFirstKey())));};return j(()=>{if(r.registerItemToParentDomCollection==null)throw new Error("[kobalte]: `Menu.SubTrigger` must be used within a `Menu.Sub` component");let b=r.registerItemToParentDomCollection({ref:()=>t,type:"item",key:c(),textValue:i.textValue??t?.textContent??"",disabled:i.disabled??!1});W(b);}),j(jt(()=>r.parentMenuContext()?.pointerGraceTimeoutId(),b=>{W(()=>{window.clearTimeout(b),r.parentMenuContext()?.setPointerGraceIntent(null);});})),j(()=>W(r.registerTriggerId(i.id))),W(()=>{a();}),x(De,ne({as:"div",ref(b){let w=ot(S=>{r.setTriggerRef(S),t=S;},i.ref);typeof w=="function"&&w(b);},get id(){return i.id},role:"menuitem",get tabIndex(){return f.tabIndex()},"aria-haspopup":"true",get"aria-expanded"(){return r.isOpen()},get"aria-controls"(){return qe(()=>!!r.isOpen())()?r.contentId():void 0},get"aria-disabled"(){return i.disabled},get"data-key"(){return f.dataKey()},get"data-highlighted"(){return p()?"":void 0},get"data-disabled"(){return i.disabled?"":void 0},get onPointerDown(){return We([i.onPointerDown,f.onPointerDown])},get onPointerUp(){return We([i.onPointerUp,f.onPointerUp])},get onClick(){return We([g,f.onClick])},get onKeyDown(){return We([y,f.onKeyDown])},get onMouseDown(){return We([i.onMouseDown,f.onMouseDown])},get onFocus(){return We([i.onFocus,f.onFocus])},onPointerMove:v,onPointerLeave:h},()=>r.dataset(),s))}function Gh(e){let t=Hi(),n=`menu-${mt()}`,r=ve({id:n,modal:!0},e),[o,i]=Ce(r,["id","modal","preventScroll","forceMount","open","defaultOpen","onOpenChange","value","orientation"]),s=bd({open:()=>o.open,defaultOpen:()=>o.defaultOpen,onOpenChange:a=>o.onOpenChange?.(a)}),l={isModal:()=>o.modal??!0,preventScroll:()=>o.preventScroll??l.isModal(),forceMount:()=>o.forceMount??!1,generateId:Io(()=>o.id),value:()=>o.value,orientation:()=>o.orientation??t?.orientation()??"horizontal"};return x(Ld.Provider,{value:l,get children(){return x(Yd,ne({get open(){return s.isOpen()},get onOpenChange(){return s.setIsOpen}},i))}})}function Qi(e){let t,n=ve({orientation:"horizontal"},e),[r,o]=Ce(n,["ref","orientation"]),i=Ki(()=>t,()=>"hr");return x(De,ne({as:"hr",ref(s){let l=ot(a=>t=a,r.ref);typeof l=="function"&&l(s);},get role(){return i()!=="hr"?"separator":void 0},get"aria-orientation"(){return r.orientation==="vertical"?"vertical":void 0},get"data-orientation"(){return r.orientation}},o))}function e1(e){let t=en(),n=mn(),[r,o]=Ce(e,["onCloseAutoFocus","onInteractOutside"]),i=!1;return x(Rh,ne({onCloseAutoFocus:a=>{r.onCloseAutoFocus?.(a),i||tt(n.triggerRef()),i=!1,a.preventDefault();},onInteractOutside:a=>{r.onInteractOutside?.(a),(!t.isModal()||a.detail.isContextMenu)&&(i=!0);}},o))}function t1(e){let t=`dropdownmenu-${mt()}`,n=ve({id:t},e);return x(Gh,n)}function gy(){return jh()}function r1(){return Wh()}function fr(){return Yh()}function Cu(){return Xh()}function ku(){return Ia()}function hy(){return (()=>{var e=Ia();return e.style.setProperty("transform","rotate(90deg)"),e})()}function yy(){return (()=>{var e=Ia();return e.style.setProperty("transform","rotate(-90deg)"),e})()}function vy(){return Zh()}function by(){return Jh()}function xy(){return ey()}function wy(){return ty()}function Sy(){return ny()}function Cy(){return ry()}function ky(){return oy()}function Iy(){return iy()}function Ey(){return sy()}function Py(e){return (()=>{var t=n1(),n=t.firstChild;return U(()=>L(n,"stroke",e.theme==="dark"?"#12B76A":"#027A48")),t})()}function Ty(){return ay()}function $y(){return ly()}function My(e){return [x(G,{get when(){return e.checked},get children(){var t=n1(),n=t.firstChild;return U(()=>L(n,"stroke",e.theme==="dark"?"#9B8AFB":"#6938EF")),t}}),x(G,{get when(){return !e.checked},get children(){var t=cy(),n=t.firstChild;return U(()=>L(n,"stroke",e.theme==="dark"?"#9B8AFB":"#6938EF")),t}})]}function ia(){return uy()}function _y(){return dy()}function Fy(){return fy()}function Dy(){return py()}function Iu(){let e=mt();return (()=>{var t=my(),n=t.firstChild,r=n.nextSibling,o=r.nextSibling,i=o.firstChild,s=o.nextSibling,l=s.firstChild,a=s.nextSibling,u=a.nextSibling,c=u.firstChild,d=u.nextSibling,m=d.firstChild,p=d.nextSibling,f=p.nextSibling,g=f.firstChild,v=f.nextSibling,h=v.firstChild,y=v.nextSibling,b=y.nextSibling,w=b.firstChild,S=b.nextSibling,k=S.firstChild,I=S.nextSibling,E=I.nextSibling,C=E.firstChild,$=E.nextSibling,V=$.firstChild,D=$.nextSibling,N=D.nextSibling,B=N.firstChild,re=N.nextSibling,we=re.firstChild,ge=re.nextSibling,ce=ge.nextSibling,Pe=ce.firstChild,Le=ce.nextSibling,Re=Le.firstChild,be=Le.nextSibling,Te=be.firstChild,M=Te.nextSibling,ke=M.nextSibling,ae=ke.nextSibling,Ue=ae.nextSibling,Z=be.nextSibling,He=Z.firstChild,Oe=Z.nextSibling,Ct=Oe.firstChild,Ve=Oe.nextSibling,at=Ve.firstChild,kt=at.nextSibling,lt=kt.nextSibling,ct=lt.firstChild,ft=ct.nextSibling,A=ft.nextSibling,X=A.nextSibling,ue=X.nextSibling,ye=ue.nextSibling,fe=ye.nextSibling,Y=fe.nextSibling,de=Y.nextSibling,Se=de.nextSibling,rn=Se.nextSibling,on=rn.nextSibling,Ot=Ve.nextSibling,An=Ot.firstChild,sn=Ot.nextSibling,Rn=sn.firstChild,an=sn.nextSibling,Sn=an.firstChild,ri=Sn.nextSibling,jr=an.nextSibling,oi=jr.firstChild,tr=jr.nextSibling,ii=tr.firstChild,Wr=tr.nextSibling,Yr=Wr.firstChild,Xr=Yr.nextSibling,nr=Xr.nextSibling,hl=nr.nextSibling,yl=hl.nextSibling,vl=yl.nextSibling,bl=vl.nextSibling,xl=bl.nextSibling,wl=xl.nextSibling,Sl=wl.nextSibling,Cl=Sl.nextSibling,kl=Cl.nextSibling,Il=kl.nextSibling,El=Il.nextSibling,Pl=El.nextSibling,Tl=Pl.nextSibling,$l=Tl.nextSibling,Qf=$l.nextSibling;return L(n,"id",`a-${e}`),L(r,"fill",`url(#a-${e})`),L(i,"id",`am-${e}`),L(s,"id",`b-${e}`),L(l,"filter",`url(#am-${e})`),L(a,"mask",`url(#b-${e})`),L(c,"id",`ah-${e}`),L(d,"id",`k-${e}`),L(m,"filter",`url(#ah-${e})`),L(p,"mask",`url(#k-${e})`),L(g,"id",`ae-${e}`),L(v,"id",`j-${e}`),L(h,"filter",`url(#ae-${e})`),L(y,"mask",`url(#j-${e})`),L(w,"id",`ai-${e}`),L(S,"id",`i-${e}`),L(k,"filter",`url(#ai-${e})`),L(I,"mask",`url(#i-${e})`),L(C,"id",`aj-${e}`),L($,"id",`h-${e}`),L(V,"filter",`url(#aj-${e})`),L(D,"mask",`url(#h-${e})`),L(B,"id",`ag-${e}`),L(re,"id",`g-${e}`),L(we,"filter",`url(#ag-${e})`),L(ge,"mask",`url(#g-${e})`),L(Pe,"id",`af-${e}`),L(Le,"id",`f-${e}`),L(Re,"filter",`url(#af-${e})`),L(be,"mask",`url(#f-${e})`),L(ae,"id",`m-${e}`),L(Ue,"fill",`url(#m-${e})`),L(He,"id",`ak-${e}`),L(Oe,"id",`e-${e}`),L(Ct,"filter",`url(#ak-${e})`),L(Ve,"mask",`url(#e-${e})`),L(at,"id",`n-${e}`),L(kt,"fill",`url(#n-${e})`),L(ct,"id",`r-${e}`),L(ft,"fill",`url(#r-${e})`),L(A,"id",`s-${e}`),L(X,"fill",`url(#s-${e})`),L(ue,"id",`q-${e}`),L(ye,"fill",`url(#q-${e})`),L(fe,"id",`p-${e}`),L(Y,"fill",`url(#p-${e})`),L(de,"id",`o-${e}`),L(Se,"fill",`url(#o-${e})`),L(rn,"id",`l-${e}`),L(on,"fill",`url(#l-${e})`),L(An,"id",`al-${e}`),L(sn,"id",`d-${e}`),L(Rn,"filter",`url(#al-${e})`),L(an,"mask",`url(#d-${e})`),L(Sn,"id",`u-${e}`),L(ri,"fill",`url(#u-${e})`),L(oi,"id",`ad-${e}`),L(tr,"id",`c-${e}`),L(ii,"filter",`url(#ad-${e})`),L(Wr,"mask",`url(#c-${e})`),L(Yr,"id",`t-${e}`),L(Xr,"fill",`url(#t-${e})`),L(nr,"id",`v-${e}`),L(hl,"stroke",`url(#v-${e})`),L(yl,"id",`aa-${e}`),L(vl,"stroke",`url(#aa-${e})`),L(bl,"id",`w-${e}`),L(xl,"stroke",`url(#w-${e})`),L(wl,"id",`ac-${e}`),L(Sl,"stroke",`url(#ac-${e})`),L(Cl,"id",`ab-${e}`),L(kl,"stroke",`url(#ab-${e})`),L(Il,"id",`y-${e}`),L(El,"stroke",`url(#y-${e})`),L(Pl,"id",`x-${e}`),L(Tl,"stroke",`url(#x-${e})`),L($l,"id",`z-${e}`),L(Qf,"stroke",`url(#z-${e})`),t})()}function Gy(e,t){let n=0,r=[];for(;n<e.length;)r.push(e.slice(n,n+t)),n=n+t;return r}function $u(e){return Symbol.iterator in e}function En(e){let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?vr(n):yr(n)),o=H().client,[i,s]=q((e.defaultExpanded||[]).includes(e.label)),l=()=>s(f=>!f),[a,u]=q([]),c=F(()=>Array.isArray(e.value)?e.value.map((f,g)=>({label:g.toString(),value:f})):e.value!==null&&typeof e.value=="object"&&$u(e.value)&&typeof e.value[Symbol.iterator]=="function"?e.value instanceof Map?Array.from(e.value,([f,g])=>({label:f,value:g})):Array.from(e.value,(f,g)=>({label:g.toString(),value:f})):typeof e.value=="object"&&e.value!==null?Object.entries(e.value).map(([f,g])=>({label:f,value:g})):[]),d=F(()=>Array.isArray(e.value)?"array":e.value!==null&&typeof e.value=="object"&&$u(e.value)&&typeof e.value[Symbol.iterator]=="function"?"Iterable":typeof e.value=="object"&&e.value!==null?"object":typeof e.value),m=F(()=>Gy(c(),100)),p=e.dataPath??[];return (()=>{var f=go();return P(f,x(G,{get when(){return m().length},get children(){return [(()=>{var g=Vy(),v=g.firstChild,h=v.firstChild,y=h.nextSibling,b=y.nextSibling,w=b.nextSibling,S=w.firstChild;return v.$$click=()=>l(),P(v,x(Pu,{get expanded(){return i()}}),h),P(y,()=>e.label),P(w,()=>String(d()).toLowerCase()==="iterable"?"(Iterable) ":"",S),P(w,()=>c().length,S),P(w,()=>c().length>1?"items":"item",null),P(g,x(G,{get when(){return e.editable},get children(){var k=go();return P(k,x(Uy,{get value(){return e.value}}),null),P(k,x(G,{get when(){return e.itemsDeletable&&e.activeQuery!==void 0},get children(){return x(Tu,{get activeQuery(){return e.activeQuery},dataPath:p})}}),null),P(k,x(G,{get when(){return d()==="array"&&e.activeQuery!==void 0},get children(){return x(Hy,{get activeQuery(){return e.activeQuery},dataPath:p})}}),null),P(k,x(G,{get when(){return qe(()=>!!e.onEdit)()&&!Vs(e.value).meta},get children(){var I=zy();return I.$$click=()=>{e.onEdit?.();},P(I,x(Ey,{})),U(()=>O(I,r().actionButton)),I}}),null),U(()=>O(k,r().actions)),k}}),null),U(k=>{var I=r().expanderButtonContainer,E=r().expanderButton,C=r().info;return I!==k.e&&O(g,k.e=I),E!==k.t&&O(v,k.t=E),C!==k.a&&O(w,k.a=C),k},{e:void 0,t:void 0,a:void 0}),g})(),x(G,{get when(){return i()},get children(){return [x(G,{get when(){return m().length===1},get children(){var g=go();return P(g,x(Mi,{get each(){return c()},by:v=>v.label,children:v=>x(En,{get defaultExpanded(){return e.defaultExpanded},get label(){return v().label},get value(){return v().value},get editable(){return e.editable},get dataPath(){return [...p,v().label]},get activeQuery(){return e.activeQuery},get itemsDeletable(){return d()==="array"||d()==="Iterable"||d()==="object"}})})),U(()=>O(g,r().subEntry)),g}}),x(G,{get when(){return m().length>1},get children(){var g=go();return P(g,x(uc,{get each(){return m()},children:(v,h)=>(()=>{var y=By(),b=y.firstChild,w=b.firstChild,S=w.firstChild,k=S.nextSibling,I=k.nextSibling,E=I.nextSibling;return E.nextSibling,w.$$click=()=>u(C=>C.includes(h)?C.filter($=>$!==h):[...C,h]),P(w,x(Pu,{get expanded(){return a().includes(h)}}),S),P(w,h*100,k),P(w,h*100+100-1,E),P(b,x(G,{get when(){return a().includes(h)},get children(){var C=go();return P(C,x(Mi,{get each(){return v()},by:$=>$.label,children:$=>x(En,{get defaultExpanded(){return e.defaultExpanded},get label(){return $().label},get value(){return $().value},get editable(){return e.editable},get dataPath(){return [...p,$().label]},get activeQuery(){return e.activeQuery}})})),U(()=>O(C,r().subEntry)),C}}),null),U(C=>{var $=r().entry,V=r().expanderButton;return $!==C.e&&O(b,C.e=$),V!==C.t&&O(w,C.t=V),C},{e:void 0,t:void 0}),y})()})),U(()=>O(g,r().subEntry)),g}})]}})]}}),null),P(f,x(G,{get when(){return m().length===0},get children(){var g=Ky(),v=g.firstChild,h=v.firstChild;return P(v,()=>e.label,h),P(g,x(G,{get when(){return qe(()=>!!(e.editable&&e.activeQuery!==void 0))()&&(d()==="string"||d()==="number"||d()==="boolean")},get fallback(){return (()=>{var y=Eu();return P(y,()=>uo(e.value)),U(()=>O(y,r().value)),y})()},get children(){return [x(G,{get when(){return qe(()=>!!(e.editable&&e.activeQuery!==void 0))()&&(d()==="string"||d()==="number")},get children(){var y=Ny();return y.addEventListener("change",b=>{let w=e.activeQuery.state.data,S=Cn(w,p,d()==="number"?b.target.valueAsNumber:b.target.value);o.setQueryData(e.activeQuery.queryKey,S);}),U(b=>{var w=d()==="number"?"number":"text",S=z(r().value,r().editableInput);return w!==b.e&&L(y,"type",b.e=w),S!==b.t&&O(y,b.t=S),b},{e:void 0,t:void 0}),U(()=>y.value=e.value),y}}),x(G,{get when(){return d()==="boolean"},get children(){var y=Eu();return P(y,x(Qy,{get activeQuery(){return e.activeQuery},dataPath:p,get value(){return e.value}}),null),P(y,()=>uo(e.value),null),U(()=>O(y,z(r().value,r().actions,r().editableInput))),y}})]}}),null),P(g,x(G,{get when(){return e.editable&&e.itemsDeletable&&e.activeQuery!==void 0},get children(){return x(Tu,{get activeQuery(){return e.activeQuery},dataPath:p})}}),null),U(y=>{var b=r().row,w=r().label;return b!==y.e&&O(g,y.e=b),w!==y.t&&O(v,y.t=w),y},{e:void 0,t:void 0}),g}}),null),U(()=>O(f,r().entry)),f})()}var v2,b2,Rc,x2,w2,_,js,k2,Ri,P2,qc,Et,T2,Gn,sa,$2,Ws,qi,M2,_u,_2,Fu,F2,zc,D2,Co,Du,zi,aa,ko,Lu,L2,O2,dt,Bc,K2,B2,G2,U2,Gc,Bn,cn,Ou,H2,Q2,Uc,Hc,Bs,rm,la,Pi,Vu,hm,ua,ym,po,Xc,Bu,Em,Gu,Lm,Bi,ju,Gm,Um,Js,vo,Wm,Gs,un,og,ru,et,sg,ag,rd,_i,od,ea,fn,gt,hg,yg,bg,xg,Xt,yt,Fi,Ti,Tn,wg,Sg,Tg,$g,Mg,_g,Dg,Lg,Og,qg,Wg,hd,Jg,eh,th,nh,rh,oh,ih,ba,sh,ra,uu,ah,fh,yd,fu,pu,vd,Tt,xd,Sd,bh,xh,Hs,Qs,mu,gu,Ch,mo,Pt,$i,Eh,hu,Ph,Th,$h,yu,vu,Mh,_h,Fh,bu,xu,oa,Dh,Lh,_d,Dd,Ld,Oh,So,wu,Ah,zd,Qd,Kh,Su,Bh,Uh,Hh,Me,Qh,T,jh,Wh,Yh,Xh,Ia,Zh,Jh,ey,ty,ny,ry,oy,iy,sy,n1,ay,ly,cy,uy,dy,fy,py,my,Ly,Oy,Ay,Ry,qy,zy,go,Vy,Ny,Eu,Ky,By,Pu,Uy,Hy,Tu,Qy,o1,yr,vr,jy,Mo,Wy,Yy,Xy,Zy,Jy,e3,t3,n3,r3,o3,i3,s3,a3,l3,c3,u3,d3,f3,p3,m3,g3,h3,Mu,y3,v3,i1,b3,x3,w3,S3,C3,k3,I3,E3,P3,T3,ht,ji,Pn,s1,Rt,Ea,ho,$3,a1,M3,l1,_3,Wi,F3,D3,L3,O3,dn,A3,R3,Oi,q3,je,Ai,z3,At,V3,Yt,c1,_t,Ft,Pa=Q(()=>{fo();v2=!Je,b2=v2&&!!fc,Rc=()=>{},x2=e=>e!=null,w2=e=>e.filter(x2);_=e=>typeof e=="function"&&!e.length?e():e,js=e=>Array.isArray(e)?e:e?[e]:[];k2=b2?e=>hi()?W(e):e:W;Ri=E2,P2=e=>(typeof e.clear=="function"||(e.clear=()=>{let t;for(;t=e.key(0);)e.removeItem(t);}),e),qc=e=>{if(!e)return "";let t="";for(let n in e){if(!e.hasOwnProperty(n))continue;let r=e[n];t+=r instanceof Date?`; ${n}=${r.toUTCString()}`:typeof r=="boolean"?`; ${n}`:`; ${n}=${r}`;}return t},Et=P2({_cookies:[globalThis.document,"cookie"],getItem:e=>Et._cookies[0][Et._cookies[1]].match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)")?.pop()??null,setItem:(e,t,n)=>{let r=Et.getItem(e);Et._cookies[0][Et._cookies[1]]=`${e}=${t}${qc(n)}`;let o=Object.assign(new Event("storage"),{key:e,oldValue:r,newValue:t,url:globalThis.document.URL,storageArea:Et});window.dispatchEvent(o);},removeItem:e=>{Et._cookies[0][Et._cookies[1]]=`${e}=deleted${qc({expires:new Date(0)})}`;},key:e=>{let t=null,n=0;return Et._cookies[0][Et._cookies[1]].replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(r,o)=>(!t&&o&&n++===e&&(t=o),"")),t},get length(){let e=0;return Et._cookies[0][Et._cookies[1]].replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,t=>(e+=t?1:0,"")),e}}),T2=1024,Gn=796,sa=700,$2="bottom-right",Ws="bottom",qi="system",M2=!1,_u=500,_2=500,Fu=500,F2=Object.keys(ki)[0],zc=1,D2=Object.keys(Ii)[0],Co=Qe({client:void 0,onlineManager:void 0,queryFlavor:"",version:"",shadowDOMTarget:void 0});Du=Qe(void 0),zi=e=>{let[t,n]=q(null),r=()=>{let s=t();s!=null&&(s.close(),n(null));},o=(s,l)=>{if(t()!=null)return;let a=window.open("","TSQD-Devtools-Panel",`width=${s},height=${l},popup`);if(!a)throw new Error("Failed to open popup. Please allow popups for this site to view the devtools in picture-in-picture mode.");a.document.head.innerHTML="",a.document.body.innerHTML="",pc(a.document),a.document.title="TanStack Query Devtools",a.document.body.style.margin="0",a.addEventListener("pagehide",()=>{e.setLocalStore("pip_open","false"),n(null);}),[...(H().shadowDOMTarget||document).styleSheets].forEach(u=>{try{let c=[...u.cssRules].map(f=>f.cssText).join(""),d=document.createElement("style"),m=u.ownerNode,p="";m&&"id"in m&&(p=m.id),p&&d.setAttribute("id",p),d.textContent=c,a.document.head.appendChild(d);}catch{let d=document.createElement("link");if(u.href==null)return;d.rel="stylesheet",d.type=u.type,d.media=u.media.toString(),d.href=u.href,a.document.head.appendChild(d);}}),co(["focusin","focusout","pointermove","keydown","pointerdown","pointerup","click","mousedown","input"],a.document),e.setLocalStore("pip_open","true"),n(a);};j(()=>{(e.localStore.pip_open??"false")==="true"&&!e.disabled&&o(Number(window.innerWidth),Number(e.localStore.height||_2));}),j(()=>{let s=(H().shadowDOMTarget||document).querySelector("#_goober"),l=t();if(s&&l){let a=new MutationObserver(()=>{let u=(H().shadowDOMTarget||l.document).querySelector("#_goober");u&&(u.textContent=s.textContent);});a.observe(s,{childList:!0,subtree:!0,characterDataOldValue:!0}),W(()=>{a.disconnect();});}});let i=F(()=>({pipWindow:t(),requestPipWindow:o,closePipWindow:r,disabled:e.disabled??!1}));return x(Du.Provider,{value:i,get children(){return e.children}})},aa=()=>F(()=>{let t=Ke(Du);if(!t)throw new Error("usePiPWindow must be used within a PiPProvider");return t()}),ko=Qe(()=>"dark");Lu={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z"},L2=Object.keys(Lu).join("|"),O2=new RegExp(L2,"g");dt={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};Bc={maxRanking:1/0,minRanking:-1/0};K2={data:""},B2=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||K2,G2=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,U2=/\/\*[^]*?\*\/| +/g,Gc=/\n+/g,Bn=(e,t)=>{let n="",r="",o="";for(let i in e){let s=e[i];i[0]=="@"?i[1]=="i"?n=i+" "+s+";":r+=i[1]=="f"?Bn(s,i):i+"{"+Bn(s,i[1]=="k"?"":t)+"}":typeof s=="object"?r+=Bn(s,t?t.replace(/([^,])+/g,l=>i.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,a=>/&/.test(a)?a.replace(/&/g,l):l?l+" "+a:a)):i):s!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Bn.p?Bn.p(i,s):i+":"+s+";");}return n+(t&&o?t+"{"+o+"}":o)+r},cn={},Ou=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+Ou(e[n]);return t}return e},H2=(e,t,n,r,o)=>{let i=Ou(e),s=cn[i]||(cn[i]=(a=>{let u=0,c=11;for(;u<a.length;)c=101*c+a.charCodeAt(u++)>>>0;return "go"+c})(i));if(!cn[s]){let a=i!==e?e:(u=>{let c,d,m=[{}];for(;c=G2.exec(u.replace(U2,""));)c[4]?m.shift():c[3]?(d=c[3].replace(Gc," ").trim(),m.unshift(m[0][d]=m[0][d]||{})):m[0][c[1]]=c[2].replace(Gc," ").trim();return m[0]})(e);cn[s]=Bn(o?{["@keyframes "+s]:a}:a,n?"":"."+s);}let l=n&&cn.g?cn.g:null;return n&&(cn.g=cn[s]),((a,u,c,d)=>{d?u.data=u.data.replace(d,a):u.data.indexOf(a)===-1&&(u.data=c?a+u.data:u.data+a);})(cn[s],t,r,l),s},Q2=(e,t,n)=>e.reduce((r,o,i)=>{let s=t[i];if(s&&s.call){let l=s(n),a=l&&l.props&&l.props.className||/^go/.test(l)&&l;s=a?"."+a:l&&typeof l=="object"?l.props?"":Bn(l,""):l===!1?"":l;}return r+o+(s??"")},"");le.bind({g:1});le.bind({k:1});Uc=Je?e=>e!=null&&typeof e=="object"&&"t"in e:e=>e instanceof Element;Hc=e=>{let t=Y2(e);return j2(W2(()=>e.children).toArray,{appear:e.appear,onChange({added:n,removed:r,finishRemoved:o,list:i}){let s=t();for(let a of n)X2(s,e,a);let l=[];for(let a of i)a.isConnected&&(a instanceof HTMLElement||a instanceof SVGElement)&&l.push({el:a,rect:a.getBoundingClientRect()});queueMicrotask(()=>{let a=[];for(let{el:u,rect:c}of l)if(u.isConnected){let d=u.getBoundingClientRect(),m=c.left-d.left,p=c.top-d.top;(m||p)&&(u.style.transform=`translate(${m}px, ${p}px)`,u.style.transitionDuration="0s",a.push(u));}document.body.offsetHeight;for(let u of a){let c=function(d){(d.target===u||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",c),u.classList.remove(...s.move));};u.classList.add(...s.move),u.style.transform=u.style.transitionDuration="",u.addEventListener("transitionend",c);}});for(let a of r)Z2(s,e,a,()=>o([a]));}})},Bs=Symbol("fallback");rm=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;la=(e=>(e.Escape="Escape",e.Enter="Enter",e.Tab="Tab",e.Space=" ",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.ArrowUp="ArrowUp",e.End="End",e.Home="Home",e.PageDown="PageDown",e.PageUp="PageUp",e))(la||{});Pi=null;Vu=["input:not([type='hidden']):not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","[tabindex]","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]:not([contenteditable='false'])"],hm=[...Vu,'[tabindex]:not([tabindex="-1"]):not([disabled])'],ua=Vu.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])",ym=hm.join(':not([hidden]):not([tabindex="-1"]),');po=new Map,Xc=new Set;typeof document<"u"&&(document.readyState!=="loading"?Zc():document.addEventListener("DOMContentLoaded",Zc));Bu={border:"0",clip:"rect(0 0 0 0)","clip-path":"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:"0",position:"absolute",width:"1px","white-space":"nowrap"};Em=["id","name","validationState","required","disabled","readOnly"];Gu=Qe();Lm=Object.defineProperty,Bi=(e,t)=>{for(var n in t)Lm(e,n,{get:t[n],enumerable:!0});},ju=Qe();Gm=new Set(["Avst","Arab","Armi","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Um=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);Js=Ju(),vo=new Set;Wm=Qe();Gs=new Map;un=class ed extends Set{constructor(n,r,o){super(n);It(this,"anchorKey");It(this,"currentKey");n instanceof ed?(this.anchorKey=r||n.anchorKey,this.currentKey=o||n.currentKey):(this.anchorKey=r,this.currentKey=o);}};og=class{constructor(e,t){It(this,"collection");It(this,"state");this.collection=e,this.state=t;}selectionMode(){return this.state.selectionMode()}disallowEmptySelection(){return this.state.disallowEmptySelection()}selectionBehavior(){return this.state.selectionBehavior()}setSelectionBehavior(e){this.state.setSelectionBehavior(e);}isFocused(){return this.state.isFocused()}setFocused(e){this.state.setFocused(e);}focusedKey(){return this.state.focusedKey()}setFocusedKey(e){(e==null||this.collection().getItem(e))&&this.state.setFocusedKey(e);}selectedKeys(){return this.state.selectedKeys()}isSelected(e){if(this.state.selectionMode()==="none")return !1;let t=this.getKey(e);return t==null?!1:this.state.selectedKeys().has(t)}isEmpty(){return this.state.selectedKeys().size===0}isSelectAll(){if(this.isEmpty())return !1;let e=this.state.selectedKeys();return this.getAllSelectableKeys().every(t=>e.has(t))}firstSelectedKey(){let e;for(let t of this.state.selectedKeys()){let n=this.collection().getItem(t),r=n?.index!=null&&e?.index!=null&&n.index<e.index;(!e||r)&&(e=n);}return e?.key}lastSelectedKey(){let e;for(let t of this.state.selectedKeys()){let n=this.collection().getItem(t),r=n?.index!=null&&e?.index!=null&&n.index>e.index;(!e||r)&&(e=n);}return e?.key}extendSelection(e){if(this.selectionMode()==="none")return;if(this.selectionMode()==="single"){this.replaceSelection(e);return}let t=this.getKey(e);if(t==null)return;let n=this.state.selectedKeys(),r=n.anchorKey||t,o=new un(n,r,t);for(let i of this.getKeyRange(r,n.currentKey||t))o.delete(i);for(let i of this.getKeyRange(t,r))this.canSelectItem(i)&&o.add(i);this.state.setSelectedKeys(o);}getKeyRange(e,t){let n=this.collection().getItem(e),r=this.collection().getItem(t);return n&&r?n.index!=null&&r.index!=null&&n.index<=r.index?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){let n=[],r=e;for(;r!=null;){let o=this.collection().getItem(r);if(o&&o.type==="item"&&n.push(r),r===t)return n;r=this.collection().getKeyAfter(r);}return []}getKey(e){let t=this.collection().getItem(e);return t?!t||t.type!=="item"?null:t.key:e}toggleSelection(e){if(this.selectionMode()==="none")return;if(this.selectionMode()==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}let t=this.getKey(e);if(t==null)return;let n=new un(this.state.selectedKeys());n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),!(this.disallowEmptySelection()&&n.size===0)&&this.state.setSelectedKeys(n);}replaceSelection(e){if(this.selectionMode()==="none")return;let t=this.getKey(e);if(t==null)return;let n=this.canSelectItem(t)?new un([t],t,t):new un;this.state.setSelectedKeys(n);}setSelectedKeys(e){if(this.selectionMode()==="none")return;let t=new un;for(let n of e){let r=this.getKey(n);if(r!=null&&(t.add(r),this.selectionMode()==="single"))break}this.state.setSelectedKeys(t);}selectAll(){this.selectionMode()==="multiple"&&this.state.setSelectedKeys(new Set(this.getAllSelectableKeys()));}clearSelection(){let e=this.state.selectedKeys();!this.disallowEmptySelection()&&e.size>0&&this.state.setSelectedKeys(new un);}toggleSelectAll(){this.isSelectAll()?this.clearSelection():this.selectAll();}select(e,t){this.selectionMode()!=="none"&&(this.selectionMode()==="single"?this.isSelected(e)&&!this.disallowEmptySelection()?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior()==="toggle"||t&&t.pointerType==="touch"?this.toggleSelection(e):this.replaceSelection(e));}isSelectionEqual(e){if(e===this.state.selectedKeys())return !0;let t=this.selectedKeys();if(e.size!==t.size)return !1;for(let n of e)if(!t.has(n))return !1;for(let n of t)if(!e.has(n))return !1;return !0}canSelectItem(e){if(this.state.selectionMode()==="none")return !1;let t=this.collection().getItem(e);return t!=null&&!t.disabled}isDisabled(e){let t=this.collection().getItem(e);return !t||t.disabled}getAllSelectableKeys(){let e=[];return (n=>{for(;n!=null;){if(this.canSelectItem(n)){let r=this.collection().getItem(n);if(!r)continue;r.type==="item"&&e.push(n);}n=this.collection().getKeyAfter(n);}})(this.collection().getFirstKey()),e}},ru=class{constructor(e){It(this,"keyMap",new Map);It(this,"iterable");It(this,"firstKey");It(this,"lastKey");this.iterable=e;for(let r of e)this.keyMap.set(r.key,r);if(this.keyMap.size===0)return;let t,n=0;for(let[r,o]of this.keyMap)t?(t.nextKey=r,o.prevKey=t.key):(this.firstKey=r,o.prevKey=void 0),o.type==="item"&&(o.index=n++),t=o,t.nextKey=void 0;this.lastKey=t.key;}*[Symbol.iterator](){yield*this.iterable;}getSize(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey}getKeyAfter(e){return this.keyMap.get(e)?.nextKey}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}};et=e=>typeof e=="function"?e():e,sg=e=>{let t=F(()=>{let s=et(e.element);if(s)return getComputedStyle(s)}),n=()=>t()?.animationName??"none",[r,o]=q(et(e.show)?"present":"hidden"),i="none";return j(s=>{let l=et(e.show);return $e(()=>{if(s===l)return l;let a=i,u=n();l?o("present"):u==="none"||t()?.display==="none"?o("hidden"):o(s===!0&&a!==u?"hiding":"hidden");}),l}),j(()=>{let s=et(e.element);if(!s)return;let l=u=>{u.target===s&&(i=n());},a=u=>{let d=n().includes(u.animationName);u.target===s&&d&&r()==="hiding"&&o("hidden");};s.addEventListener("animationstart",l),s.addEventListener("animationcancel",a),s.addEventListener("animationend",a),W(()=>{s.removeEventListener("animationstart",l),s.removeEventListener("animationcancel",a),s.removeEventListener("animationend",a);});}),{present:()=>r()==="present"||r()==="hiding",state:r}},ag=sg,rd=ag,_i="data-kb-top-layer",ea=!1,fn=[];gt={layers:fn,isTopMostLayer:cg,hasPointerBlockingLayer:fa,isBelowPointerBlockingLayer:sd,addLayer:dg,removeLayer:fg,indexOf:bo,find:lg,assignPointerEventToLayers:pg,disableBodyPointerEvents:mg,restoreBodyPointerEvents:gg},hg={};Bi(hg,{Button:()=>bg,Root:()=>pa});yg=["button","color","file","image","reset","submit"];bg=pa,xg=["top","right","bottom","left"],Xt=Math.min,yt=Math.max,Fi=Math.round,Ti=Math.floor,Tn=e=>({x:e,y:e}),wg={left:"right",right:"left",bottom:"top",top:"bottom"},Sg={start:"end",end:"start"};Tg=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=ou(u,r,a),m=r,p={},f=0;for(let g=0;g<l.length;g++){let{name:v,fn:h}=l[g],{x:y,y:b,data:w,reset:S}=await h({x:c,y:d,initialPlacement:r,placement:m,strategy:o,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=y??c,d=b??d,p={...p,[v]:{...p[v],...w}},S&&f<=50&&(f++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(u=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:c,y:d}=ou(u,m,a)),g=-1);}return {x:c,y:d,placement:m,strategy:o,middlewareData:p}};$g=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:c=0}=Qn(e,t)||{};if(u==null)return {};let d=ld(c),m={x:n,y:r},p=ga(o),f=ma(p),g=await s.getDimensions(u),v=p==="y",h=v?"top":"left",y=v?"bottom":"right",b=v?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[p]-m[p]-i.floating[f],S=m[p]-i.reference[p],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u)),I=k?k[b]:0;(!I||!await(s.isElement==null?void 0:s.isElement(k)))&&(I=l.floating[b]||i.floating[f]);let E=w/2-S/2,C=I/2-g[f]/2-1,$=Xt(d[h],C),V=Xt(d[y],C),D=$,N=I-g[f]-V,B=I/2-g[f]/2+E,re=ta(D,B,N),we=!a.arrow&&gr(o)!=null&&B!==re&&i.reference[f]/2-(B<D?$:V)-g[f]/2<0,ge=we?B<D?B-D:B-N:0;return {[p]:m[p]+ge,data:{[p]:re,centerOffset:B-re-ge,...we&&{alignmentOffset:ge}},reset:we}}}),Mg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;let{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:g=!0,...v}=Qn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return {};let h=$n(o),y=Un(l),b=$n(l)===l,w=await(a.isRTL==null?void 0:a.isRTL(u.floating)),S=m||(b||!g?[Di(l)]:kg(l)),k=f!=="none";!m&&k&&S.push(...Eg(l,g,f,w));let I=[l,...S],E=await xo(t,v),C=[],$=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&C.push(E[h]),d){let B=Cg(o,s,w);C.push(E[B[0]],E[B[1]]);}if($=[...$,{placement:o,overflows:C}],!C.every(B=>B<=0)){var V,D;let B=(((V=i.flip)==null?void 0:V.index)||0)+1,re=I[B];if(re)return {data:{index:B,overflows:$},reset:{placement:re}};let we=(D=$.filter(ge=>ge.overflows[0]<=0).sort((ge,ce)=>ge.overflows[1]-ce.overflows[1])[0])==null?void 0:D.placement;if(!we)switch(p){case"bestFit":{var N;let ge=(N=$.filter(ce=>{if(k){let Pe=Un(ce.placement);return Pe===y||Pe==="y"}return !0}).map(ce=>[ce.placement,ce.overflows.filter(Pe=>Pe>0).reduce((Pe,Le)=>Pe+Le,0)]).sort((ce,Pe)=>ce[1]-Pe[1])[0])==null?void 0:N[0];ge&&(we=ge);break}case"initialPlacement":we=l;break}if(o!==we)return {reset:{placement:we}}}return {}}}};_g=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=Qn(e,t);switch(r){case"referenceHidden":{let i=await xo(t,{...o,elementContext:"reference"}),s=iu(i,n.reference);return {data:{referenceHiddenOffsets:s,referenceHidden:su(s)}}}case"escaped":{let i=await xo(t,{...o,altBoundary:!0}),s=iu(i,n.floating);return {data:{escapedOffsets:s,escaped:su(s)}}}default:return {}}}}};Dg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:s,middlewareData:l}=t,a=await Fg(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},Lg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:v=>{let{x:h,y}=v;return {x:h,y}}},...a}=Qn(e,t),u={x:n,y:r},c=await xo(t,a),d=Un($n(o)),m=ad(d),p=u[m],f=u[d];if(i){let v=m==="y"?"top":"left",h=m==="y"?"bottom":"right",y=p+c[v],b=p-c[h];p=ta(y,p,b);}if(s){let v=d==="y"?"top":"left",h=d==="y"?"bottom":"right",y=f+c[v],b=f-c[h];f=ta(y,f,b);}let g=l.fn({...t,[m]:p,[d]:f});return {...g,data:{x:g.x-n,y:g.y-r}}}}},Og=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=Qn(e,t),a=await xo(t,l),u=$n(n),c=gr(n),d=Un(n)==="y",{width:m,height:p}=r.floating,f,g;u==="top"||u==="bottom"?(f=u,g=c===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=u,f=c==="end"?"top":"bottom");let v=p-a.top-a.bottom,h=m-a.left-a.right,y=Xt(p-a[f],v),b=Xt(m-a[g],h),w=!t.middlewareData.shift,S=y,k=b;if(d?k=c||w?Xt(b,h):h:S=c||w?Xt(y,v):v,w&&!c){let E=yt(a.left,0),C=yt(a.right,0),$=yt(a.top,0),V=yt(a.bottom,0);d?k=m-2*(E!==0||C!==0?E+C:yt(a.left,a.right)):S=p-2*($!==0||V!==0?$+V:yt(a.top,a.bottom));}await s({...t,availableWidth:k,availableHeight:S});let I=await o.getDimensions(i.floating);return m!==I.width||p!==I.height?{reset:{rects:!0}}:{}}}};qg=Tn(0);Wg=async function(e){let t=this.getOffsetParent||gd,n=this.getDimensions,r=await n(e.floating);return {reference:jg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};hd={convertOffsetParentRelativeRectToViewportRelativeRect:Vg,getDocumentElement:pn,getClippingRect:Hg,getOffsetParent:gd,getElementRects:Wg,getClientRects:Ng,getDimensions:Qg,getScale:pr,isElement:qt,isRTL:Yg};Jg=Dg,eh=Lg,th=Mg,nh=Og,rh=_g,oh=$g,ih=(e,t,n)=>{let r=new Map,o={platform:hd,...n},i={...o.platform,_c:r};return Tg(e,t,{...o,platform:i})},ba=Qe();sh=K('<svg display="block" viewBox="0 0 30 30" style="transform:scale(1.02)"><g><path fill="none" d="M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"></path><path stroke="none" d="M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z">'),ra=30,uu=ra/2,ah={top:180,right:-90,bottom:0,left:90};fh={top:"bottom",right:"left",bottom:"top",left:"right"};yd=Object.assign(mh,{Arrow:wa,Context:ba,usePopperContext:xa,Positioner:ch});fu="interactOutside.pointerDownOutside",pu="interactOutside.focusOutside";vd=Qe();Tt={};Bi(Tt,{Description:()=>Uu,ErrorMessage:()=>Hu,Item:()=>Cd,ItemControl:()=>kd,ItemDescription:()=>Id,ItemIndicator:()=>Ed,ItemInput:()=>Pd,ItemLabel:()=>Td,Label:()=>$d,RadioGroup:()=>bh,Root:()=>Md});xd=Qe();Sd=Qe();bh=Object.assign(Md,{Description:Uu,ErrorMessage:Hu,Item:Cd,ItemControl:kd,ItemDescription:Id,ItemIndicator:Ed,ItemInput:Pd,ItemLabel:Td,Label:$d}),xh=class{constructor(e,t,n){It(this,"collection");It(this,"ref");It(this,"collator");this.collection=e,this.ref=t,this.collator=n;}getKeyBelow(e){let t=this.collection().getKeyAfter(e);for(;t!=null;){let n=this.collection().getItem(t);if(n&&n.type==="item"&&!n.disabled)return t;t=this.collection().getKeyAfter(t);}}getKeyAbove(e){let t=this.collection().getKeyBefore(e);for(;t!=null;){let n=this.collection().getItem(t);if(n&&n.type==="item"&&!n.disabled)return t;t=this.collection().getKeyBefore(t);}}getFirstKey(){let e=this.collection().getFirstKey();for(;e!=null;){let t=this.collection().getItem(e);if(t&&t.type==="item"&&!t.disabled)return e;e=this.collection().getKeyAfter(e);}}getLastKey(){let e=this.collection().getLastKey();for(;e!=null;){let t=this.collection().getItem(e);if(t&&t.type==="item"&&!t.disabled)return e;e=this.collection().getKeyBefore(e);}}getItem(e){return this.ref?.()?.querySelector(`[data-key="${e}"]`)??null}getKeyPageAbove(e){let t=this.ref?.(),n=this.getItem(e);if(!t||!n)return;let r=Math.max(0,n.offsetTop+n.offsetHeight-t.offsetHeight),o=e;for(;o&&n&&n.offsetTop>r;)o=this.getKeyAbove(o),n=o!=null?this.getItem(o):null;return o}getKeyPageBelow(e){let t=this.ref?.(),n=this.getItem(e);if(!t||!n)return;let r=Math.min(t.scrollHeight,n.offsetTop-n.offsetHeight+t.offsetHeight),o=e;for(;o&&n&&n.offsetTop<r;)o=this.getKeyBelow(o),n=o!=null?this.getItem(o):null;return o}getKeyForSearch(e,t){let n=this.collator?.();if(!n)return;let r=t!=null?this.getKeyBelow(t):this.getFirstKey();for(;r!=null;){let o=this.collection().getItem(r);if(o){let i=o.textValue.slice(0,e.length);if(o.textValue&&n.compare(i,e)===0)return r}r=this.getKeyBelow(r);}}};Hs="focusScope.autoFocusOnMount",Qs="focusScope.autoFocusOnUnmount",mu={bubbles:!1,cancelable:!0},gu={stack:[],active(){return this.stack[0]},add(e){e!==this.active()&&this.active()?.pause(),this.stack=Xs(this.stack,e),this.stack.unshift(e);},remove(e){this.stack=Xs(this.stack,e),this.active()?.resume();}};Ch="data-live-announcer";mo=new WeakMap,Pt=[];$i=new Map,Eh=e=>{j(()=>{let t=et(e.style)??{},n=et(e.properties)??[],r={};for(let i in t)r[i]=e.element.style[i];let o=$i.get(e.key);o?o.activeCount++:$i.set(e.key,{activeCount:1,originalStyles:r,properties:n.map(i=>i.key)}),Object.assign(e.element.style,e.style);for(let i of n)e.element.style.setProperty(i.key,i.value);W(()=>{let i=$i.get(e.key);if(i){if(i.activeCount!==1){i.activeCount--;return}$i.delete(e.key);for(let[s,l]of Object.entries(i.originalStyles))e.element.style[s]=l;for(let s of i.properties)e.element.style.removeProperty(s);e.element.style.length===0&&e.element.removeAttribute("style"),e.cleanup?.();}});});},hu=Eh,Ph=(e,t)=>{switch(t){case"x":return [e.clientWidth,e.scrollLeft,e.scrollWidth];case"y":return [e.clientHeight,e.scrollTop,e.scrollHeight]}},Th=(e,t)=>{let n=getComputedStyle(e),r=t==="x"?n.overflowX:n.overflowY;return r==="auto"||r==="scroll"||e.tagName==="HTML"&&r==="visible"},$h=(e,t,n)=>{let r=t==="x"&&window.getComputedStyle(e).direction==="rtl"?-1:1,o=e,i=0,s=0,l=!1;do{let[a,u,c]=Ph(o,t),d=c-a-r*u;(u!==0||d!==0)&&Th(o,t)&&(i+=d,s+=u),o===(n??document.documentElement)?l=!0:o=o._$host??o.parentElement;}while(o&&!l);return [i,s]},[yu,vu]=q([]),Mh=e=>yu().indexOf(e)===yu().length-1,_h=e=>{let t=ne({element:null,enabled:!0,hideScrollbar:!0,preventScrollbarShift:!0,preventScrollbarShiftMode:"padding",restoreScrollPosition:!0,allowPinchZoom:!1},e),n=mt(),r=[0,0],o=null,i=null;j(()=>{et(t.enabled)&&(vu(u=>[...u,n]),W(()=>{vu(u=>u.filter(c=>c!==n));}));}),j(()=>{if(!et(t.enabled)||!et(t.hideScrollbar))return;let{body:u}=document,c=window.innerWidth-u.offsetWidth;if(et(t.preventScrollbarShift)){let d={overflow:"hidden"},m=[];c>0&&(et(t.preventScrollbarShiftMode)==="padding"?d.paddingRight=`calc(${window.getComputedStyle(u).paddingRight} + ${c}px)`:d.marginRight=`calc(${window.getComputedStyle(u).marginRight} + ${c}px)`,m.push({key:"--scrollbar-width",value:`${c}px`}));let p=window.scrollY,f=window.scrollX;hu({key:"prevent-scroll",element:u,style:d,properties:m,cleanup:()=>{et(t.restoreScrollPosition)&&c>0&&window.scrollTo(f,p);}});}else hu({key:"prevent-scroll",element:u,style:{overflow:"hidden"}});}),j(()=>{!Mh(n)||!et(t.enabled)||(document.addEventListener("wheel",l,{passive:!1}),document.addEventListener("touchstart",s,{passive:!1}),document.addEventListener("touchmove",a,{passive:!1}),W(()=>{document.removeEventListener("wheel",l),document.removeEventListener("touchstart",s),document.removeEventListener("touchmove",a);}));});let s=u=>{r=bu(u),o=null,i=null;},l=u=>{let c=u.target,d=et(t.element),m=Fh(u),p=Math.abs(m[0])>Math.abs(m[1])?"x":"y",f=p==="x"?m[0]:m[1],g=xu(c,p,f,d),v;d&&oa(d,c)?v=!g:v=!0,v&&u.cancelable&&u.preventDefault();},a=u=>{let c=et(t.element),d=u.target,m;if(u.touches.length===2)m=!et(t.allowPinchZoom);else {if(o==null||i===null){let p=bu(u).map((g,v)=>r[v]-g),f=Math.abs(p[0])>Math.abs(p[1])?"x":"y";o=f,i=f==="x"?p[0]:p[1];}if(d.type==="range")m=!1;else {let p=xu(d,o,i,c);c&&oa(c,d)?m=!p:m=!0;}}m&&u.cancelable&&u.preventDefault();};},Fh=e=>[e.deltaX,e.deltaY],bu=e=>e.changedTouches[0]?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0],xu=(e,t,n,r)=>{let o=r!==null&&oa(r,e),[i,s]=$h(e,t,o?r:void 0);return !(n>0&&Math.abs(i)<=1||n<0&&Math.abs(s)<1)},oa=(e,t)=>{if(e.contains(t))return !0;let n=t;for(;n;){if(n===e)return !0;n=n._$host??n.parentElement;}return !1},Dh=_h,Lh=Dh,_d=Qe();Dd=Qe();Ld=Qe();Oh=Qe();So={next:(e,t)=>e==="ltr"?t==="horizontal"?"ArrowRight":"ArrowDown":t==="horizontal"?"ArrowLeft":"ArrowUp",previous:(e,t)=>So.next(e==="ltr"?"rtl":"ltr",t)},wu={first:e=>e==="horizontal"?"ArrowDown":"ArrowRight",last:e=>e==="horizontal"?"ArrowUp":"ArrowLeft"};Ah=Qe();zd=Qe();Qd=Qe();Kh={close:(e,t)=>e==="ltr"?[t==="horizontal"?"ArrowLeft":"ArrowUp"]:[t==="horizontal"?"ArrowRight":"ArrowDown"]};Su=["Enter"," "],Bh={open:(e,t)=>e==="ltr"?[...Su,t==="horizontal"?"ArrowRight":"ArrowDown"]:[...Su,t==="horizontal"?"ArrowLeft":"ArrowUp"]};Uh={};Bi(Uh,{Root:()=>Qi,Separator:()=>Hh});Hh=Qi,Me={};Bi(Me,{Arrow:()=>wa,CheckboxItem:()=>Od,Content:()=>e1,DropdownMenu:()=>Qh,Group:()=>ka,GroupLabel:()=>Vd,Icon:()=>Nd,Item:()=>Kd,ItemDescription:()=>Bd,ItemIndicator:()=>Gd,ItemLabel:()=>Ud,Portal:()=>Hd,RadioGroup:()=>jd,RadioItem:()=>Wd,Root:()=>t1,Separator:()=>Qi,Sub:()=>Xd,SubContent:()=>Zd,SubTrigger:()=>Jd,Trigger:()=>Ad});Qh=Object.assign(t1,{Arrow:wa,CheckboxItem:Od,Content:e1,Group:ka,GroupLabel:Vd,Icon:Nd,Item:Kd,ItemDescription:Bd,ItemIndicator:Gd,ItemLabel:Ud,Portal:Hd,RadioGroup:jd,RadioItem:Wd,Separator:Qi,Sub:Xd,SubContent:Zd,SubTrigger:Jd,Trigger:Ad}),T={colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"#ffffff",neutral:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},darkGray:{50:"#525c7a",100:"#49536e",200:"#414962",300:"#394056",400:"#313749",500:"#292e3d",600:"#212530",700:"#191c24",800:"#111318",900:"#0b0d10"},gray:{50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#344054",800:"#1d2939",900:"#101828"},blue:{25:"#F5FAFF",50:"#EFF8FF",100:"#D1E9FF",200:"#B2DDFF",300:"#84CAFF",400:"#53B1FD",500:"#2E90FA",600:"#1570EF",700:"#175CD3",800:"#1849A9",900:"#194185"},green:{25:"#F6FEF9",50:"#ECFDF3",100:"#D1FADF",200:"#A6F4C5",300:"#6CE9A6",400:"#32D583",500:"#12B76A",600:"#039855",700:"#027A48",800:"#05603A",900:"#054F31"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},yellow:{25:"#FFFCF5",50:"#FFFAEB",100:"#FEF0C7",200:"#FEDF89",300:"#FEC84B",400:"#FDB022",500:"#F79009",600:"#DC6803",700:"#B54708",800:"#93370D",900:"#7A2E0E"},purple:{25:"#FAFAFF",50:"#F4F3FF",100:"#EBE9FE",200:"#D9D6FE",300:"#BDB4FE",400:"#9B8AFB",500:"#7A5AF8",600:"#6938EF",700:"#5925DC",800:"#4A1FB8",900:"#3E1C96"},teal:{25:"#F6FEFC",50:"#F0FDF9",100:"#CCFBEF",200:"#99F6E0",300:"#5FE9D0",400:"#2ED3B7",500:"#15B79E",600:"#0E9384",700:"#107569",800:"#125D56",900:"#134E48"},pink:{25:"#fdf2f8",50:"#fce7f3",100:"#fbcfe8",200:"#f9a8d4",300:"#f472b6",400:"#ec4899",500:"#db2777",600:"#be185d",700:"#9d174d",800:"#831843",900:"#500724"},cyan:{25:"#ecfeff",50:"#cffafe",100:"#a5f3fc",200:"#67e8f9",300:"#22d3ee",400:"#06b6d4",500:"#0891b2",600:"#0e7490",700:"#155e75",800:"#164e63",900:"#083344"}},alpha:{100:"ff",90:"e5",80:"cc",70:"b3",60:"99",50:"80",40:"66",30:"4d",20:"33",10:"1a",0:"00"},font:{size:{"2xs":"calc(var(--tsqd-font-size) * 0.625)",xs:"calc(var(--tsqd-font-size) * 0.75)",sm:"calc(var(--tsqd-font-size) * 0.875)",md:"var(--tsqd-font-size)",lg:"calc(var(--tsqd-font-size) * 1.125)",xl:"calc(var(--tsqd-font-size) * 1.25)","2xl":"calc(var(--tsqd-font-size) * 1.5)","3xl":"calc(var(--tsqd-font-size) * 1.875)","4xl":"calc(var(--tsqd-font-size) * 2.25)","5xl":"calc(var(--tsqd-font-size) * 3)","6xl":"calc(var(--tsqd-font-size) * 3.75)","7xl":"calc(var(--tsqd-font-size) * 4.5)","8xl":"calc(var(--tsqd-font-size) * 6)","9xl":"calc(var(--tsqd-font-size) * 8)"},lineHeight:{xs:"calc(var(--tsqd-font-size) * 1)",sm:"calc(var(--tsqd-font-size) * 1.25)",md:"calc(var(--tsqd-font-size) * 1.5)",lg:"calc(var(--tsqd-font-size) * 1.75)",xl:"calc(var(--tsqd-font-size) * 2)","2xl":"calc(var(--tsqd-font-size) * 2.25)","3xl":"calc(var(--tsqd-font-size) * 2.5)","4xl":"calc(var(--tsqd-font-size) * 2.75)","5xl":"calc(var(--tsqd-font-size) * 3)","6xl":"calc(var(--tsqd-font-size) * 3.25)","7xl":"calc(var(--tsqd-font-size) * 3.5)","8xl":"calc(var(--tsqd-font-size) * 3.75)","9xl":"calc(var(--tsqd-font-size) * 4)"},weight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"}},breakpoints:{xs:"320px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},border:{radius:{none:"0px",xs:"calc(var(--tsqd-font-size) * 0.125)",sm:"calc(var(--tsqd-font-size) * 0.25)",md:"calc(var(--tsqd-font-size) * 0.375)",lg:"calc(var(--tsqd-font-size) * 0.5)",xl:"calc(var(--tsqd-font-size) * 0.75)","2xl":"calc(var(--tsqd-font-size) * 1)","3xl":"calc(var(--tsqd-font-size) * 1.5)",full:"9999px"}},size:{0:"0px",.25:"calc(var(--tsqd-font-size) * 0.0625)",.5:"calc(var(--tsqd-font-size) * 0.125)",1:"calc(var(--tsqd-font-size) * 0.25)",1.5:"calc(var(--tsqd-font-size) * 0.375)",2:"calc(var(--tsqd-font-size) * 0.5)",2.5:"calc(var(--tsqd-font-size) * 0.625)",3:"calc(var(--tsqd-font-size) * 0.75)",3.5:"calc(var(--tsqd-font-size) * 0.875)",4:"calc(var(--tsqd-font-size) * 1)",4.5:"calc(var(--tsqd-font-size) * 1.125)",5:"calc(var(--tsqd-font-size) * 1.25)",5.5:"calc(var(--tsqd-font-size) * 1.375)",6:"calc(var(--tsqd-font-size) * 1.5)",6.5:"calc(var(--tsqd-font-size) * 1.625)",7:"calc(var(--tsqd-font-size) * 1.75)",8:"calc(var(--tsqd-font-size) * 2)",9:"calc(var(--tsqd-font-size) * 2.25)",10:"calc(var(--tsqd-font-size) * 2.5)",11:"calc(var(--tsqd-font-size) * 2.75)",12:"calc(var(--tsqd-font-size) * 3)",14:"calc(var(--tsqd-font-size) * 3.5)",16:"calc(var(--tsqd-font-size) * 4)",20:"calc(var(--tsqd-font-size) * 5)",24:"calc(var(--tsqd-font-size) * 6)",28:"calc(var(--tsqd-font-size) * 7)",32:"calc(var(--tsqd-font-size) * 8)",36:"calc(var(--tsqd-font-size) * 9)",40:"calc(var(--tsqd-font-size) * 10)",44:"calc(var(--tsqd-font-size) * 11)",48:"calc(var(--tsqd-font-size) * 12)",52:"calc(var(--tsqd-font-size) * 13)",56:"calc(var(--tsqd-font-size) * 14)",60:"calc(var(--tsqd-font-size) * 15)",64:"calc(var(--tsqd-font-size) * 16)",72:"calc(var(--tsqd-font-size) * 18)",80:"calc(var(--tsqd-font-size) * 20)",96:"calc(var(--tsqd-font-size) * 24)"},shadow:{xs:(e="rgb(0 0 0 / 0.1)")=>"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:(e="rgb(0 0 0 / 0.1)")=>`0 1px 3px 0 ${e}, 0 1px 2px -1px ${e}`,md:(e="rgb(0 0 0 / 0.1)")=>`0 4px 6px -1px ${e}, 0 2px 4px -2px ${e}`,lg:(e="rgb(0 0 0 / 0.1)")=>`0 10px 15px -3px ${e}, 0 4px 6px -4px ${e}`,xl:(e="rgb(0 0 0 / 0.1)")=>`0 20px 25px -5px ${e}, 0 8px 10px -6px ${e}`,"2xl":(e="rgb(0 0 0 / 0.25)")=>`0 25px 50px -12px ${e}`,inner:(e="rgb(0 0 0 / 0.05)")=>`inset 0 2px 4px 0 ${e}`,none:()=>"none"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800}},jh=K('<svg width=14 height=14 viewBox="0 0 14 14"fill=none xmlns=http://www.w3.org/2000/svg><path d="M13 13L9.00007 9M10.3333 5.66667C10.3333 8.244 8.244 10.3333 5.66667 10.3333C3.08934 10.3333 1 8.244 1 5.66667C1 3.08934 3.08934 1 5.66667 1C8.244 1 10.3333 3.08934 10.3333 5.66667Z"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'),Wh=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 3H15M3 6H21M19 6L18.2987 16.5193C18.1935 18.0975 18.1409 18.8867 17.8 19.485C17.4999 20.0118 17.0472 20.4353 16.5017 20.6997C15.882 21 15.0911 21 13.5093 21H10.4907C8.90891 21 8.11803 21 7.49834 20.6997C6.95276 20.4353 6.50009 20.0118 6.19998 19.485C5.85911 18.8867 5.8065 18.0975 5.70129 16.5193L5 6M10 10.5V15.5M14 10.5V15.5"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),Yh=K('<svg width=10 height=6 viewBox="0 0 10 6"fill=none xmlns=http://www.w3.org/2000/svg><path d="M1 1L5 5L9 1"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'),Xh=K('<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 13.3333V2.66667M8 2.66667L4 6.66667M8 2.66667L12 6.66667"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'),Ia=K('<svg width=12 height=12 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 2.66667V13.3333M8 13.3333L4 9.33333M8 13.3333L12 9.33333"stroke=currentColor stroke-width=1.66667 stroke-linecap=round stroke-linejoin=round>'),Zh=K('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2v2m0 16v2M4 12H2m4.314-5.686L4.9 4.9m12.786 1.414L19.1 4.9M6.314 17.69 4.9 19.104m12.786-1.414 1.414 1.414M22 12h-2m-3 0a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),Jh=K('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M22 15.844a10.424 10.424 0 0 1-4.306.925c-5.779 0-10.463-4.684-10.463-10.462 0-1.536.33-2.994.925-4.307A10.464 10.464 0 0 0 2 11.538C2 17.316 6.684 22 12.462 22c4.243 0 7.896-2.526 9.538-6.156Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),ey=K('<svg viewBox="0 0 24 24"height=12 width=12 fill=none xmlns=http://www.w3.org/2000/svg><path d="M8 21h8m-4-4v4m-5.2-4h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 14.72 22 13.88 22 12.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v4.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 17 5.12 17 6.8 17Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),ty=K('<svg stroke=currentColor fill=currentColor stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z">'),ny=K('<svg stroke-width=0 viewBox="0 0 24 24"height=1em width=1em xmlns=http://www.w3.org/2000/svg><path fill=none d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z">'),ry=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),oy=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M16 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V8M11.5 12.5L17 7M17 7H12M17 7V12M6.2 21H8.8C9.9201 21 10.4802 21 10.908 20.782C11.2843 20.5903 11.5903 20.2843 11.782 19.908C12 19.4802 12 18.9201 12 17.8V15.2C12 14.0799 12 13.5198 11.782 13.092C11.5903 12.7157 11.2843 12.4097 10.908 12.218C10.4802 12 9.92011 12 8.8 12H6.2C5.0799 12 4.51984 12 4.09202 12.218C3.71569 12.4097 3.40973 12.7157 3.21799 13.092C3 13.5198 3 14.0799 3 15.2V17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),iy=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path class=copier d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round stroke=currentColor>'),sy=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M2.5 21.4998L8.04927 19.3655C8.40421 19.229 8.58168 19.1607 8.74772 19.0716C8.8952 18.9924 9.0358 18.901 9.16804 18.7984C9.31692 18.6829 9.45137 18.5484 9.72028 18.2795L21 6.99982C22.1046 5.89525 22.1046 4.10438 21 2.99981C19.8955 1.89525 18.1046 1.89524 17 2.99981L5.72028 14.2795C5.45138 14.5484 5.31692 14.6829 5.20139 14.8318C5.09877 14.964 5.0074 15.1046 4.92823 15.2521C4.83911 15.4181 4.77085 15.5956 4.63433 15.9506L2.5 21.4998ZM2.5 21.4998L4.55812 16.1488C4.7054 15.7659 4.77903 15.5744 4.90534 15.4867C5.01572 15.4101 5.1523 15.3811 5.2843 15.4063C5.43533 15.4351 5.58038 15.5802 5.87048 15.8703L8.12957 18.1294C8.41967 18.4195 8.56472 18.5645 8.59356 18.7155C8.61877 18.8475 8.58979 18.9841 8.51314 19.0945C8.42545 19.2208 8.23399 19.2944 7.85107 19.4417L2.5 21.4998Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),n1=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),ay=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z"stroke=#F04438 stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),ly=K('<svg width=24 height=24 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 xmlns=http://www.w3.org/2000/svg><rect class=list width=20 height=20 y=2 x=2 rx=2></rect><line class=list-item y1=7 y2=7 x1=6 x2=18></line><line class=list-item y2=12 y1=12 x1=6 x2=18></line><line class=list-item y1=17 y2=17 x1=6 x2=18>'),cy=K('<svg viewBox="0 0 24 24"height=20 width=20 fill=none xmlns=http://www.w3.org/2000/svg><path d="M3 7.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C5.28 3 6.12 3 7.8 3h8.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C21 5.28 21 6.12 21 7.8v8.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C18.72 21 17.88 21 16.2 21H7.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C3 18.72 3 17.88 3 16.2V7.8Z"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),uy=K('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),dy=K('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M12 2V6M12 18V22M6 12H2M22 12H18M19.0784 19.0784L16.25 16.25M19.0784 4.99994L16.25 7.82837M4.92157 19.0784L7.75 16.25M4.92157 4.99994L7.75 7.82837"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round></path><animateTransform attributeName=transform attributeType=XML type=rotate from=0 to=360 dur=2s repeatCount=indefinite>'),fy=K('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M15 9L9 15M9 9L15 15M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),py=K('<svg width=14 height=14 viewBox="0 0 24 24"fill=none xmlns=http://www.w3.org/2000/svg><path d="M9.5 15V9M14.5 15V9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),my=K('<svg version=1.0 viewBox="0 0 633 633"><linearGradient x1=-666.45 x2=-666.45 y1=163.28 y2=163.99 gradientTransform="matrix(633 0 0 633 422177 -103358)"gradientUnits=userSpaceOnUse><stop stop-color=#6BDAFF offset=0></stop><stop stop-color=#F9FFB5 offset=.32></stop><stop stop-color=#FFA770 offset=.71></stop><stop stop-color=#FF7373 offset=1></stop></linearGradient><circle cx=316.5 cy=316.5 r=316.5></circle><defs><filter x=-137.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=316.5 y=412 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=412 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=610.5 rx=214.5 ry=186 fill=#015064 stroke=#00CFE2 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=316.5 y=450 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=450 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=648.5 rx=214.5 ry=186 fill=#015064 stroke=#00A8B8 stroke-width=25></ellipse></g><defs><filter x=-137.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=-137.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=89.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=316.5 y=486 width=454 height=396.9 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=316.5 y=486 width=454 height=396.9 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><ellipse cx=543.5 cy=684.5 rx=214.5 ry=186 fill=#015064 stroke=#007782 stroke-width=25></ellipse></g><defs><filter x=272.2 y=308 width=176.9 height=129.3 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=272.2 y=308 width=176.9 height=129.3 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><line x1=436 x2=431 y1=403.2 y2=431.8 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=291 x2=280 y1=341.5 y2=403.5 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><line x1=332.9 x2=328.6 y1=384.1 y2=411.2 fill=none stroke=#000 stroke-linecap=round stroke-linejoin=bevel stroke-width=11></line><linearGradient x1=-670.75 x2=-671.59 y1=164.4 y2=164.49 gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)"gradientUnits=userSpaceOnUse><stop stop-color=#EE2700 offset=0></stop><stop stop-color=#FF008E offset=1></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z"clip-rule=evenodd fill-rule=evenodd></path><line x1=428.2 x2=429.1 y1=384.5 y2=378 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=395.2 x2=396.1 y1=379.5 y2=373 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=362.2 x2=363.1 y1=373.5 y2=367.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=324.2 x2=328.4 y1=351.3 y2=347.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line><line x1=303.2 x2=307.4 y1=331.3 y2=327.4 fill=none stroke=#fff stroke-linecap=round stroke-linejoin=bevel stroke-width=7></line></g><defs><filter x=73.2 y=113.8 width=280.6 height=317.4 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=73.2 y=113.8 width=280.6 height=317.4 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-672.16 x2=-672.16 y1=165.03 y2=166.03 gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)"gradientUnits=userSpaceOnUse><stop stop-color=#A17500 offset=0></stop><stop stop-color=#5D2100 offset=1></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6"clip-rule=evenodd fill-rule=evenodd></path><g stroke=#2F8A00><linearGradient x1=-660.23 x2=-660.23 y1=166.72 y2=167.72 gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-661.36 x2=-661.36 y1=164.18 y2=165.18 gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.79 x2=-656.79 y1=165.15 y2=166.15 gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-663.07 x2=-663.07 y1=165.44 y2=166.44 gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-662.57 x2=-662.57 y1=164.44 y2=165.44 gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><linearGradient x1=-656.43 x2=-656.43 y1=163.86 y2=164.86 gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)"gradientUnits=userSpaceOnUse><stop stop-color=#2F8A00 offset=0></stop><stop stop-color=#90FF57 offset=1></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z"clip-rule=evenodd fill-rule=evenodd stroke-width=13></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1"fill=none stroke-linecap=round stroke-width=8></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8"fill=none stroke-linecap=round stroke-width=8></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9"fill=none stroke-linecap=round stroke-width=8></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32"fill=none stroke-linecap=round stroke-width=8></path></g></g><defs><filter x=50.5 y=399 width=532 height=633 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=50.5 y=399 width=532 height=633 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-666.06 x2=-666.23 y1=163.36 y2=163.75 gradientTransform="matrix(532 0 0 633 354760 -102959)"gradientUnits=userSpaceOnUse><stop stop-color=#FFF400 offset=0></stop><stop stop-color=#3C8700 offset=1></stop></linearGradient><ellipse cx=316.5 cy=715.5 rx=266 ry=316.5></ellipse></g><defs><filter x=391 y=-24 width=288 height=283 filterUnits=userSpaceOnUse><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask x=391 y=-24 width=288 height=283 maskUnits=userSpaceOnUse><g><circle cx=316.5 cy=316.5 r=316.5 fill=#fff></circle></g></mask><g><linearGradient x1=-664.56 x2=-664.56 y1=163.79 y2=164.79 gradientTransform="matrix(227 0 0 227 151421 -37204)"gradientUnits=userSpaceOnUse><stop stop-color=#FFDF00 offset=0></stop><stop stop-color=#FF9D00 offset=1></stop></linearGradient><circle cx=565.5 cy=89.5 r=113.5></circle><linearGradient x1=-644.5 x2=-645.77 y1=342 y2=342 gradientTransform="matrix(30 0 0 1 19770 -253)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=427 x2=397 y1=89 y2=89 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-641.56 x2=-642.83 y1=196.02 y2=196.07 gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=430.5 x2=404 y1=55.5 y2=50 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-643.73 x2=-645 y1=185.83 y2=185.9 gradientTransform="matrix(29 0 0 8 19107 -1361)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=431 x2=402 y1=122 y2=130 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-638.94 x2=-640.22 y1=177.09 y2=177.39 gradientTransform="matrix(24 0 0 13 15783 -2145)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=442 x2=418 y1=153 y2=166 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-633.42 x2=-634.7 y1=172.41 y2=173.31 gradientTransform="matrix(20 0 0 19 13137 -3096)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=464 x2=444 y1=180 y2=199 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-619.05 x2=-619.52 y1=170.82 y2=171.82 gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=491.4 x2=477.5 y1=203 y2=225.9 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=-578.5 x2=-578.63 y1=170.31 y2=171.31 gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=524.5 x2=517 y1=219.5 y2=244 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12></line><linearGradient x1=666.5 x2=666.5 y1=170.31 y2=171.31 gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)"gradientUnits=userSpaceOnUse><stop stop-color=#FFA400 offset=0></stop><stop stop-color=#FF5E00 offset=1></stop></linearGradient><line x1=564.5 x2=565 y1=228.5 y2=253 fill=none stroke-linecap=round stroke-linejoin=bevel stroke-width=12>');Ly=K('<span><svg width=16 height=16 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6 12L10 8L6 4"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'),Oy=K('<button title="Copy object to clipboard">'),Ay=K('<button title="Remove all items"aria-label="Remove all items">'),Ry=K('<button title="Delete item"aria-label="Delete item">'),qy=K('<button title="Toggle value"aria-label="Toggle value">'),zy=K('<button title="Bulk Edit Data"aria-label="Bulk Edit Data">'),go=K("<div>"),Vy=K("<div><button> <span></span> <span> "),Ny=K("<input>"),Eu=K("<span>"),Ky=K("<div><span>:"),By=K("<div><div><button> [<!>...<!>]");Pu=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?vr(n):yr(n));return (()=>{var o=Ly();return U(()=>O(o,z(r().expander,n`
2
+ transform: rotate(${e.expanded?90:0}deg);
3
+ `,e.expanded&&n`
4
+ & svg {
5
+ top: -1px;
6
+ }
7
+ `))),o})()},Uy=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?vr(n):yr(n)),[o,i]=q("NoCopy");return (()=>{var s=Oy();return Rs(s,"click",o()==="NoCopy"?()=>{navigator.clipboard.writeText(_c(e.value)).then(()=>{i("SuccessCopy"),setTimeout(()=>{i("NoCopy");},1500);},l=>{i("ErrorCopy"),setTimeout(()=>{i("NoCopy");},1500);});}:void 0,!0),P(s,x(dc,{get children(){return [x(Si,{get when(){return o()==="NoCopy"},get children(){return x(Iy,{})}}),x(Si,{get when(){return o()==="SuccessCopy"},get children(){return x(Py,{get theme(){return t()}})}}),x(Si,{get when(){return o()==="ErrorCopy"},get children(){return x(Ty,{})}})]}})),U(l=>{var a=r().actionButton,u=`${o()==="NoCopy"?"Copy object to clipboard":o()==="SuccessCopy"?"Object copied to clipboard":"Error copying object to clipboard"}`;return a!==l.e&&O(s,l.e=a),u!==l.t&&L(s,"aria-label",l.t=u),l},{e:void 0,t:void 0}),s})()},Hy=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?vr(n):yr(n)),o=H().client;return (()=>{var i=Ay();return i.$$click=()=>{let s=e.activeQuery.state.data,l=Cn(s,e.dataPath,[]);o.setQueryData(e.activeQuery.queryKey,l);},P(i,x($y,{})),U(()=>O(i,r().actionButton)),i})()},Tu=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?vr(n):yr(n)),o=H().client;return (()=>{var i=Ry();return i.$$click=()=>{let s=e.activeQuery.state.data,l=ir(s,e.dataPath);o.setQueryData(e.activeQuery.queryKey,l);},P(i,x(r1,{})),U(()=>O(i,z(r().actionButton))),i})()},Qy=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?vr(n):yr(n)),o=H().client;return (()=>{var i=qy();return i.$$click=()=>{let s=e.activeQuery.state.data,l=Cn(s,e.dataPath,!e.value);o.setQueryData(e.activeQuery.queryKey,l);},P(i,x(My,{get theme(){return t()},get checked(){return e.value}})),U(()=>O(i,z(r().actionButton,n`
8
+ width: ${T.size[3.5]};
9
+ height: ${T.size[3.5]};
10
+ `))),i})()};o1=(e,t)=>{let{colors:n,font:r,size:o,border:i}=T,s=(l,a)=>e==="light"?l:a;return {entry:t`
11
+ & * {
12
+ font-size: ${r.size.xs};
13
+ font-family:
14
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
15
+ 'Liberation Mono', 'Courier New', monospace;
16
+ }
17
+ position: relative;
18
+ outline: none;
19
+ word-break: break-word;
20
+ `,subEntry:t`
21
+ margin: 0 0 0 0.5em;
22
+ padding-left: 0.75em;
23
+ border-left: 2px solid ${s(n.gray[300],n.darkGray[400])};
24
+ /* outline: 1px solid ${n.teal[400]}; */
25
+ `,expander:t`
26
+ & path {
27
+ stroke: ${n.gray[400]};
28
+ }
29
+ & svg {
30
+ width: ${o[3]};
31
+ height: ${o[3]};
32
+ }
33
+ display: inline-flex;
34
+ align-items: center;
35
+ transition: all 0.1s ease;
36
+ /* outline: 1px solid ${n.blue[400]}; */
37
+ `,expanderButtonContainer:t`
38
+ display: flex;
39
+ align-items: center;
40
+ line-height: ${o[4]};
41
+ min-height: ${o[4]};
42
+ gap: ${o[2]};
43
+ `,expanderButton:t`
44
+ cursor: pointer;
45
+ color: inherit;
46
+ font: inherit;
47
+ outline: inherit;
48
+ height: ${o[5]};
49
+ background: transparent;
50
+ border: none;
51
+ padding: 0;
52
+ display: inline-flex;
53
+ align-items: center;
54
+ gap: ${o[1]};
55
+ position: relative;
56
+ /* outline: 1px solid ${n.green[400]}; */
57
+
58
+ &:focus-visible {
59
+ border-radius: ${i.radius.xs};
60
+ outline: 2px solid ${n.blue[800]};
61
+ }
62
+
63
+ & svg {
64
+ position: relative;
65
+ left: 1px;
66
+ }
67
+ `,info:t`
68
+ color: ${s(n.gray[500],n.gray[500])};
69
+ font-size: ${r.size.xs};
70
+ margin-left: ${o[1]};
71
+ /* outline: 1px solid ${n.yellow[400]}; */
72
+ `,label:t`
73
+ color: ${s(n.gray[700],n.gray[300])};
74
+ white-space: nowrap;
75
+ `,value:t`
76
+ color: ${s(n.purple[600],n.purple[400])};
77
+ flex-grow: 1;
78
+ `,actions:t`
79
+ display: inline-flex;
80
+ gap: ${o[2]};
81
+ align-items: center;
82
+ `,row:t`
83
+ display: inline-flex;
84
+ gap: ${o[2]};
85
+ width: 100%;
86
+ margin: ${o[.25]} 0px;
87
+ line-height: ${o[4.5]};
88
+ align-items: center;
89
+ `,editableInput:t`
90
+ border: none;
91
+ padding: ${o[.5]} ${o[1]} ${o[.5]} ${o[1.5]};
92
+ flex-grow: 1;
93
+ border-radius: ${i.radius.xs};
94
+ background-color: ${s(n.gray[200],n.darkGray[500])};
95
+
96
+ &:hover {
97
+ background-color: ${s(n.gray[300],n.darkGray[600])};
98
+ }
99
+ `,actionButton:t`
100
+ background-color: transparent;
101
+ color: ${s(n.gray[500],n.gray[500])};
102
+ border: none;
103
+ display: inline-flex;
104
+ padding: 0px;
105
+ align-items: center;
106
+ justify-content: center;
107
+ cursor: pointer;
108
+ width: ${o[3]};
109
+ height: ${o[3]};
110
+ position: relative;
111
+ z-index: 1;
112
+
113
+ &:hover svg {
114
+ color: ${s(n.gray[600],n.gray[400])};
115
+ }
116
+
117
+ &:focus-visible {
118
+ border-radius: ${i.radius.xs};
119
+ outline: 2px solid ${n.blue[800]};
120
+ outline-offset: 2px;
121
+ }
122
+ `}},yr=e=>o1("light",e),vr=e=>o1("dark",e);co(["click"]);jy=K('<div><div aria-hidden=true></div><button type=button aria-label="Open Tanstack query devtools"class=tsqd-open-btn>'),Mo=K("<div>"),Wy=K('<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools">'),Yy=K("<select name=tsqd-queries-filter-sort>"),Xy=K("<select name=tsqd-mutations-filter-sort>"),Zy=K("<span>Asc"),Jy=K("<span>Desc"),e3=K('<button aria-label="Open in picture-in-picture mode"title="Open in picture-in-picture mode">'),t3=K("<div>Settings"),n3=K("<span>Position"),r3=K("<span>Top"),o3=K("<span>Bottom"),i3=K("<span>Left"),s3=K("<span>Right"),a3=K("<span>Theme"),l3=K("<span>Light"),c3=K("<span>Dark"),u3=K("<span>System"),d3=K("<span>Disabled Queries"),f3=K("<span>Show"),p3=K("<span>Hide"),m3=K("<div><div class=tsqd-queries-container>"),g3=K("<div><div class=tsqd-mutations-container>"),h3=K('<div><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div></div><div><div><div><input aria-label="Filter queries by query key"type=text placeholder=Filter name=tsqd-query-filter-input></div><div></div><button class=tsqd-query-filter-sort-order-btn></button></div><div><button aria-label="Clear query cache"></button><button>'),Mu=K("<option>Sort by "),y3=K("<div class=tsqd-query-disabled-indicator>disabled"),v3=K("<div class=tsqd-query-static-indicator>static"),i1=K("<button><div></div><code class=tsqd-query-hash>"),b3=K("<div role=tooltip id=tsqd-status-tooltip>"),x3=K("<span>"),w3=K("<button><span></span><span>"),S3=K("<button><span></span> Error"),C3=K('<div><span></span>Trigger Error<select><option value=""disabled selected>'),k3=K('<div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer">'),I3=K("<form><textarea name=data></textarea><div><span></span><div><button type=button>Cancel</button><button>Save"),E3=K('<div><div>Query Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-observers-count><span>Observers:</span><span></span></div><div class=tsqd-query-details-last-updated><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span>Remove</button><button><span></span> Loading</button></div><div>Data </div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">'),P3=K("<option>"),T3=K('<div><div>Mutation Details</div><div><div class=tsqd-query-details-summary><pre><code></code></pre><span></span></div><div class=tsqd-query-details-last-updated><span>Submitted At:</span><span></span></div></div><div>Variables Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Context Details</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer"></div><div>Mutations Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">'),[ht,ji]=q(null),[Pn,s1]=q(null),[Rt,Ea]=q(0),[ho,$3]=q(!1),a1=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?Ft(n):_t(n)),o=F(()=>H().onlineManager);Wt(()=>{let d=o().subscribe(m=>{$3(!m);});W(()=>{d();});});let i=aa(),s=F(()=>H().buttonPosition||$2),l=F(()=>e.localStore.open==="true"?!0:e.localStore.open==="false"?!1:H().initialIsOpen||M2),a=F(()=>e.localStore.position||H().position||Ws),u;j(()=>{let d=u.parentElement,m=e.localStore.height||_u,p=e.localStore.width||Fu,f=a();d.style.setProperty("--tsqd-panel-height",`${f==="top"?"-":""}${m}px`),d.style.setProperty("--tsqd-panel-width",`${f==="left"?"-":""}${p}px`);}),Wt(()=>{let d=()=>{let m=u.parentElement,p=getComputedStyle(m).fontSize;m.style.setProperty("--tsqd-font-size",p);};d(),window.addEventListener("focus",d),W(()=>{window.removeEventListener("focus",d);});});let c=F(()=>e.localStore.pip_open??"false");return [x(G,{get when(){return qe(()=>!!i().pipWindow)()&&c()=="true"},get children(){return x(zs,{get mount(){return i().pipWindow?.document.body},get children(){return x(M3,{get children(){return x(Wi,e)}})}})}}),(()=>{var d=Mo(),m=u;return typeof m=="function"?zn(m,d):u=d,P(d,x(Hc,{name:"tsqd-panel-transition",get children(){return x(G,{get when(){return qe(()=>!!(l()&&!i().pipWindow))()&&c()=="false"},get children(){return x(_3,{get localStore(){return e.localStore},get setLocalStore(){return e.setLocalStore}})}})}}),null),P(d,x(Hc,{name:"tsqd-button-transition",get children(){return x(G,{get when(){return !l()},get children(){var p=jy(),f=p.firstChild,g=f.nextSibling;return P(f,x(Iu,{})),g.$$click=()=>e.setLocalStore("open","true"),P(g,x(Iu,{})),U(()=>O(p,z(r().devtoolsBtn,r()[`devtoolsBtn-position-${s()}`],"tsqd-open-btn-container"))),p}})}}),null),U(()=>O(d,z(n`
123
+ & .tsqd-panel-transition-exit-active,
124
+ & .tsqd-panel-transition-enter-active {
125
+ transition:
126
+ opacity 0.3s,
127
+ transform 0.3s;
128
+ }
129
+
130
+ & .tsqd-panel-transition-exit-to,
131
+ & .tsqd-panel-transition-enter {
132
+ ${a()==="top"||a()==="bottom"?"transform: translateY(var(--tsqd-panel-height));":"transform: translateX(var(--tsqd-panel-width));"}
133
+ }
134
+
135
+ & .tsqd-button-transition-exit-active,
136
+ & .tsqd-button-transition-enter-active {
137
+ transition:
138
+ opacity 0.3s,
139
+ transform 0.3s;
140
+ opacity: 1;
141
+ }
142
+
143
+ & .tsqd-button-transition-exit-to,
144
+ & .tsqd-button-transition-enter {
145
+ transform: ${s()==="relative"?"none;":s()==="top-left"?"translateX(-72px);":s()==="top-right"?"translateX(72px);":"translateY(72px);"};
146
+ opacity: 0;
147
+ }
148
+ `,"tsqd-transitions-container"))),d})()]},M3=e=>{let t=aa(),n=Ye(),r=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,o=F(()=>n()==="dark"?Ft(r):_t(r)),i=()=>{let{colors:s}=T,l=(a,u)=>n()==="dark"?u:a;return Rt()<Gn?r`
149
+ flex-direction: column;
150
+ background-color: ${l(s.gray[300],s.gray[600])};
151
+ `:r`
152
+ flex-direction: row;
153
+ background-color: ${l(s.gray[200],s.darkGray[900])};
154
+ `};return j(()=>{let s=t().pipWindow,l=()=>{s&&Ea(s.innerWidth);};s&&(s.addEventListener("resize",l),l()),W(()=>{s&&s.removeEventListener("resize",l);});}),(()=>{var s=Mo();return s.style.setProperty("--tsqd-font-size","16px"),s.style.setProperty("max-height","100vh"),s.style.setProperty("height","100vh"),s.style.setProperty("width","100vw"),P(s,()=>e.children),U(()=>O(s,z(o().panel,i(),{[r`
155
+ min-width: min-content;
156
+ `]:Rt()<sa},"tsqd-main-panel"))),s})()},l1=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?Ft(n):_t(n)),o;Wt(()=>{qu(o,({width:s},l)=>{l===o&&Ea(s);});});let i=()=>{let{colors:s}=T,l=(a,u)=>t()==="dark"?u:a;return Rt()<Gn?n`
157
+ flex-direction: column;
158
+ background-color: ${l(s.gray[300],s.gray[600])};
159
+ `:n`
160
+ flex-direction: row;
161
+ background-color: ${l(s.gray[200],s.darkGray[900])};
162
+ `};return (()=>{var s=Mo(),l=o;return typeof l=="function"?zn(l,s):o=s,s.style.setProperty("--tsqd-font-size","16px"),P(s,()=>e.children),U(()=>O(s,z(r().parentPanel,i(),{[n`
163
+ min-width: min-content;
164
+ `]:Rt()<sa},"tsqd-main-panel"))),s})()},_3=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?Ft(n):_t(n)),[o,i]=q(!1),s=F(()=>e.localStore.position||H().position||Ws),l=c=>{let d=c.currentTarget.parentElement;if(!d)return;i(!0);let{height:m,width:p}=d.getBoundingClientRect(),f=c.clientX,g=c.clientY,v=0,h=Ns(3.5),y=Ns(12),b=S=>{if(S.preventDefault(),s()==="left"||s()==="right"){let k=s()==="right"?f-S.clientX:S.clientX-f;v=Math.round(p+k),v<y&&(v=y),e.setLocalStore("width",String(Math.round(v)));let I=d.getBoundingClientRect().width;Number(e.localStore.width)<I&&e.setLocalStore("width",String(I));}else {let k=s()==="bottom"?g-S.clientY:S.clientY-g;v=Math.round(m+k),v<h&&(v=h,ji(null)),e.setLocalStore("height",String(Math.round(v)));}},w=()=>{o()&&i(!1),document.removeEventListener("mousemove",b,!1),document.removeEventListener("mouseUp",w,!1);};document.addEventListener("mousemove",b,!1),document.addEventListener("mouseup",w,!1);},a;Wt(()=>{qu(a,({width:c},d)=>{d===a&&Ea(c);});}),j(()=>{let c=a.parentElement?.parentElement?.parentElement;if(!c)return;let d=e.localStore.position||Ws,m=Fc("padding",d),p=e.localStore.position==="left"||e.localStore.position==="right",f=(({padding:g,paddingTop:v,paddingBottom:h,paddingLeft:y,paddingRight:b})=>({padding:g,paddingTop:v,paddingBottom:h,paddingLeft:y,paddingRight:b}))(c.style);c.style[m]=`${p?e.localStore.width:e.localStore.height}px`,W(()=>{Object.entries(f).forEach(([g,v])=>{c.style[g]=v;});});});let u=()=>{let{colors:c}=T,d=(m,p)=>t()==="dark"?p:m;return Rt()<Gn?n`
165
+ flex-direction: column;
166
+ background-color: ${d(c.gray[300],c.gray[600])};
167
+ `:n`
168
+ flex-direction: row;
169
+ background-color: ${d(c.gray[200],c.darkGray[900])};
170
+ `};return (()=>{var c=Wy(),d=c.firstChild,m=d.nextSibling,p=a;return typeof p=="function"?zn(p,c):a=c,d.$$mousedown=l,m.$$click=()=>e.setLocalStore("open","false"),P(m,x(fr,{})),P(c,x(Wi,e),null),U(f=>{var g=z(r().panel,r()[`panel-position-${s()}`],u(),{[n`
171
+ min-width: min-content;
172
+ `]:Rt()<sa&&(s()==="right"||s()==="left")},"tsqd-main-panel"),v=s()==="bottom"||s()==="top"?`${e.localStore.height||_u}px`:"auto",h=s()==="right"||s()==="left"?`${e.localStore.width||Fu}px`:"auto",y=z(r().dragHandle,r()[`dragHandle-position-${s()}`],"tsqd-drag-handle"),b=z(r().closeBtn,r()[`closeBtn-position-${s()}`],"tsqd-minimize-btn");return g!==f.e&&O(c,f.e=g),v!==f.t&&((f.t=v)!=null?c.style.setProperty("height",v):c.style.removeProperty("height")),h!==f.a&&((f.a=h)!=null?c.style.setProperty("width",h):c.style.removeProperty("width")),y!==f.o&&O(d,f.o=y),b!==f.i&&O(m,f.i=b),f},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),c})()},Wi=e=>{q3(),z3();let t,n=Ye(),r=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,o=F(()=>n()==="dark"?Ft(r):_t(r)),i=aa(),[s,l]=q("queries"),a=F(()=>e.localStore.sort||F2),u=F(()=>Number(e.localStore.sortOrder)||zc),c=F(()=>e.localStore.mutationSort||D2),d=F(()=>Number(e.localStore.mutationSortOrder)||zc),m=F(()=>ki[a()]),p=F(()=>Ii[c()]),f=F(()=>H().onlineManager),g=F(()=>H().client.getQueryCache()),v=F(()=>H().client.getMutationCache()),h=je(I=>I().getAll().length,!1),y=F(jt(()=>[h(),e.localStore.filter,a(),u(),e.localStore.hideDisabledQueries],()=>{let I=g().getAll(),E=e.localStore.filter?I.filter($=>Vc($.queryHash,e.localStore.filter||"").passed):[...I];return e.localStore.hideDisabledQueries==="true"&&(E=E.filter($=>!$.isDisabled())),m()?E.sort(($,V)=>m()($,V)*u()):E})),b=At(I=>I().getAll().length,!1),w=F(jt(()=>[b(),e.localStore.mutationFilter,c(),d()],()=>{let I=v().getAll(),E=e.localStore.mutationFilter?I.filter($=>{let V=`${$.options.mutationKey?JSON.stringify($.options.mutationKey)+" - ":""}${new Date($.state.submittedAt).toLocaleString()}`;return Vc(V,e.localStore.mutationFilter||"").passed}):[...I];return p()?E.sort(($,V)=>p()($,V)*d()):E})),S=I=>{e.setLocalStore("position",I);},k=I=>{let C=getComputedStyle(t).getPropertyValue("--tsqd-font-size");I.style.setProperty("--tsqd-font-size",C);};return [(()=>{var I=h3(),E=I.firstChild,C=E.firstChild,$=C.firstChild,V=$.firstChild,D=V.nextSibling,N=D.firstChild,B=E.nextSibling,re=B.firstChild,we=re.firstChild,ge=we.firstChild,ce=we.nextSibling,Pe=ce.nextSibling,Le=re.nextSibling,Re=Le.firstChild,be=Re.nextSibling,Te=t;return typeof Te=="function"?zn(Te,I):t=I,$.$$click=()=>{if(!i().pipWindow&&!e.showPanelViewOnly){e.setLocalStore("open","false");return}e.onClose&&e.onClose();},P(D,()=>H().queryFlavor,N),P(D,()=>H().version,null),P(C,x(Tt.Root,{get class(){return z(o().viewToggle)},get value(){return s()},onChange:M=>{l(M),ji(null),s1(null);},get children(){return [x(Tt.Item,{value:"queries",class:"tsqd-radio-toggle",get children(){return [x(Tt.ItemInput,{}),x(Tt.ItemControl,{get children(){return x(Tt.ItemIndicator,{})}}),x(Tt.ItemLabel,{title:"Toggle Queries View",children:"Queries"})]}}),x(Tt.Item,{value:"mutations",class:"tsqd-radio-toggle",get children(){return [x(Tt.ItemInput,{}),x(Tt.ItemControl,{get children(){return x(Tt.ItemIndicator,{})}}),x(Tt.ItemLabel,{title:"Toggle Mutations View",children:"Mutations"})]}})]}}),null),P(E,x(G,{get when(){return s()==="queries"},get children(){return x(L3,{})}}),null),P(E,x(G,{get when(){return s()==="mutations"},get children(){return x(O3,{})}}),null),P(we,x(gy,{}),ge),ge.$$input=M=>{s()==="queries"?e.setLocalStore("filter",M.currentTarget.value):e.setLocalStore("mutationFilter",M.currentTarget.value);},P(ce,x(G,{get when(){return s()==="queries"},get children(){var M=Yy();return M.addEventListener("change",ke=>{e.setLocalStore("sort",ke.currentTarget.value);}),P(M,()=>Object.keys(ki).map(ke=>(()=>{var ae=Mu();return ae.firstChild,ae.value=ke,P(ae,ke,null),ae})())),U(()=>M.value=a()),M}}),null),P(ce,x(G,{get when(){return s()==="mutations"},get children(){var M=Xy();return M.addEventListener("change",ke=>{e.setLocalStore("mutationSort",ke.currentTarget.value);}),P(M,()=>Object.keys(Ii).map(ke=>(()=>{var ae=Mu();return ae.firstChild,ae.value=ke,P(ae,ke,null),ae})())),U(()=>M.value=c()),M}}),null),P(ce,x(fr,{}),null),Pe.$$click=()=>{s()==="queries"?e.setLocalStore("sortOrder",String(u()*-1)):e.setLocalStore("mutationSortOrder",String(d()*-1));},P(Pe,x(G,{get when(){return (s()==="queries"?u():d())===1},get children(){return [Zy(),x(Cu,{})]}}),null),P(Pe,x(G,{get when(){return (s()==="queries"?u():d())===-1},get children(){return [Jy(),x(ku,{})]}}),null),Re.$$click=()=>{s()==="queries"?(Yt({type:"CLEAR_QUERY_CACHE"}),g().clear()):(Yt({type:"CLEAR_MUTATION_CACHE"}),v().clear());},P(Re,x(r1,{})),be.$$click=()=>{f().setOnline(!f().isOnline());},P(be,(()=>{var M=qe(()=>!!ho());return ()=>M()?x(Sy,{}):x(wy,{})})()),P(Le,x(G,{get when(){return qe(()=>!i().pipWindow)()&&!i().disabled},get children(){var M=e3();return M.$$click=()=>{i().requestPipWindow(Number(window.innerWidth),Number(e.localStore.height??500));},P(M,x(ky,{})),U(()=>O(M,z(o().actionsBtn,"tsqd-actions-btn","tsqd-action-open-pip"))),M}}),null),P(Le,x(Me.Root,{gutter:4,get children(){return [x(Me.Trigger,{get class(){return z(o().actionsBtn,"tsqd-actions-btn","tsqd-action-settings")},get children(){return x(Cy,{})}}),x(Me.Portal,{ref:M=>k(M),get mount(){return qe(()=>!!i().pipWindow)()?i().pipWindow.document.body:document.body},get children(){return x(Me.Content,{get class(){return z(o().settingsMenu,"tsqd-settings-menu")},get children(){return [(()=>{var M=t3();return U(()=>O(M,z(o().settingsMenuHeader,"tsqd-settings-menu-header"))),M})(),x(G,{get when(){return !e.showPanelViewOnly},get children(){return x(Me.Sub,{overlap:!0,gutter:8,shift:-4,get children(){return [x(Me.SubTrigger,{get class(){return z(o().settingsSubTrigger,"tsqd-settings-menu-sub-trigger","tsqd-settings-menu-sub-trigger-position")},get children(){return [n3(),x(fr,{})]}}),x(Me.Portal,{ref:M=>k(M),get mount(){return qe(()=>!!i().pipWindow)()?i().pipWindow.document.body:document.body},get children(){return x(Me.SubContent,{get class(){return z(o().settingsMenu,"tsqd-settings-submenu")},get children(){return [x(Me.Item,{onSelect:()=>{S("top");},as:"button",get class(){return z(o().settingsSubButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-top")},get children(){return [r3(),x(Cu,{})]}}),x(Me.Item,{onSelect:()=>{S("bottom");},as:"button",get class(){return z(o().settingsSubButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-bottom")},get children(){return [o3(),x(ku,{})]}}),x(Me.Item,{onSelect:()=>{S("left");},as:"button",get class(){return z(o().settingsSubButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-left")},get children(){return [i3(),x(hy,{})]}}),x(Me.Item,{onSelect:()=>{S("right");},as:"button",get class(){return z(o().settingsSubButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-right")},get children(){return [s3(),x(yy,{})]}})]}})}})]}})}}),x(Me.Sub,{overlap:!0,gutter:8,shift:-4,get children(){return [x(Me.SubTrigger,{get class(){return z(o().settingsSubTrigger,"tsqd-settings-menu-sub-trigger","tsqd-settings-menu-sub-trigger-position")},get children(){return [a3(),x(fr,{})]}}),x(Me.Portal,{ref:M=>k(M),get mount(){return qe(()=>!!i().pipWindow)()?i().pipWindow.document.body:document.body},get children(){return x(Me.SubContent,{get class(){return z(o().settingsMenu,"tsqd-settings-submenu")},get children(){return [x(Me.Item,{onSelect:()=>{e.setLocalStore("theme_preference","light");},as:"button",get class(){return z(o().settingsSubButton,e.localStore.theme_preference==="light"&&o().themeSelectedButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-top")},get children(){return [l3(),x(vy,{})]}}),x(Me.Item,{onSelect:()=>{e.setLocalStore("theme_preference","dark");},as:"button",get class(){return z(o().settingsSubButton,e.localStore.theme_preference==="dark"&&o().themeSelectedButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-bottom")},get children(){return [c3(),x(by,{})]}}),x(Me.Item,{onSelect:()=>{e.setLocalStore("theme_preference","system");},as:"button",get class(){return z(o().settingsSubButton,e.localStore.theme_preference==="system"&&o().themeSelectedButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-left")},get children(){return [u3(),x(xy,{})]}})]}})}})]}}),x(Me.Sub,{overlap:!0,gutter:8,shift:-4,get children(){return [x(Me.SubTrigger,{get class(){return z(o().settingsSubTrigger,"tsqd-settings-menu-sub-trigger","tsqd-settings-menu-sub-trigger-disabled-queries")},get children(){return [d3(),x(fr,{})]}}),x(Me.Portal,{ref:M=>k(M),get mount(){return qe(()=>!!i().pipWindow)()?i().pipWindow.document.body:document.body},get children(){return x(Me.SubContent,{get class(){return z(o().settingsMenu,"tsqd-settings-submenu")},get children(){return [x(Me.Item,{onSelect:()=>{e.setLocalStore("hideDisabledQueries","false");},as:"button",get class(){return z(o().settingsSubButton,e.localStore.hideDisabledQueries!=="true"&&o().themeSelectedButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-show")},get children(){return [f3(),x(G,{get when(){return e.localStore.hideDisabledQueries!=="true"},get children(){return x(ia,{})}})]}}),x(Me.Item,{onSelect:()=>{e.setLocalStore("hideDisabledQueries","true");},as:"button",get class(){return z(o().settingsSubButton,e.localStore.hideDisabledQueries==="true"&&o().themeSelectedButton,"tsqd-settings-menu-position-btn","tsqd-settings-menu-position-btn-hide")},get children(){return [p3(),x(G,{get when(){return e.localStore.hideDisabledQueries==="true"},get children(){return x(ia,{})}})]}})]}})}})]}})]}})}})]}}),null),P(I,x(G,{get when(){return s()==="queries"},get children(){var M=m3(),ke=M.firstChild;return P(ke,x(Mi,{by:ae=>ae.queryHash,get each(){return y()},children:ae=>x(F3,{get query(){return ae()}})})),U(()=>O(M,z(o().overflowQueryContainer,"tsqd-queries-overflow-container"))),M}}),null),P(I,x(G,{get when(){return s()==="mutations"},get children(){var M=g3(),ke=M.firstChild;return P(ke,x(Mi,{by:ae=>ae.mutationId,get each(){return w()},children:ae=>x(D3,{get mutation(){return ae()}})})),U(()=>O(M,z(o().overflowQueryContainer,"tsqd-mutations-overflow-container"))),M}}),null),U(M=>{var ke=z(o().queriesContainer,Rt()<Gn&&(ht()||Pn())&&r`
173
+ height: 50%;
174
+ max-height: 50%;
175
+ `,Rt()<Gn&&!(ht()||Pn())&&r`
176
+ height: 100%;
177
+ max-height: 100%;
178
+ `,"tsqd-queries-container"),ae=z(o().row,"tsqd-header"),Ue=o().logoAndToggleContainer,Z=z(o().logo,"tsqd-text-logo-container"),He=z(o().tanstackLogo,"tsqd-text-logo-tanstack"),Oe=z(o().queryFlavorLogo,"tsqd-text-logo-query-flavor"),Ct=z(o().row,"tsqd-filters-actions-container"),Ve=z(o().filtersContainer,"tsqd-filters-container"),at=z(o().filterInput,"tsqd-query-filter-textfield-container"),kt=z("tsqd-query-filter-textfield"),lt=z(o().filterSelect,"tsqd-query-filter-sort-container"),ct=`Sort order ${(s()==="queries"?u():d())===-1?"descending":"ascending"}`,ft=(s()==="queries"?u():d())===-1,A=z(o().actionsContainer,"tsqd-actions-container"),X=z(o().actionsBtn,"tsqd-actions-btn","tsqd-action-clear-cache"),ue=`Clear ${s()} cache`,ye=z(o().actionsBtn,ho()&&o().actionsBtnOffline,"tsqd-actions-btn","tsqd-action-mock-offline-behavior"),fe=`${ho()?"Unset offline mocking behavior":"Mock offline behavior"}`,Y=ho(),de=`${ho()?"Unset offline mocking behavior":"Mock offline behavior"}`;return ke!==M.e&&O(I,M.e=ke),ae!==M.t&&O(E,M.t=ae),Ue!==M.a&&O(C,M.a=Ue),Z!==M.o&&O($,M.o=Z),He!==M.i&&O(V,M.i=He),Oe!==M.n&&O(D,M.n=Oe),Ct!==M.s&&O(B,M.s=Ct),Ve!==M.h&&O(re,M.h=Ve),at!==M.r&&O(we,M.r=at),kt!==M.d&&O(ge,M.d=kt),lt!==M.l&&O(ce,M.l=lt),ct!==M.u&&L(Pe,"aria-label",M.u=ct),ft!==M.c&&L(Pe,"aria-pressed",M.c=ft),A!==M.w&&O(Le,M.w=A),X!==M.m&&O(Re,M.m=X),ue!==M.f&&L(Re,"title",M.f=ue),ye!==M.y&&O(be,M.y=ye),fe!==M.g&&L(be,"aria-label",M.g=fe),Y!==M.p&&L(be,"aria-pressed",M.p=Y),de!==M.b&&L(be,"title",M.b=de),M},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0,g:void 0,p:void 0,b:void 0}),U(()=>ge.value=s()==="queries"?e.localStore.filter||"":e.localStore.mutationFilter||""),I})(),x(G,{get when(){return qe(()=>s()==="queries")()&&ht()},get children(){return x(A3,{})}}),x(G,{get when(){return qe(()=>s()==="mutations")()&&Pn()},get children(){return x(R3,{})}})]},F3=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?Ft(n):_t(n)),{colors:o,alpha:i}=T,s=(f,g)=>t()==="dark"?g:f,l=je(f=>f().find({queryKey:e.query.queryKey})?.state,!0,f=>f.query.queryHash===e.query.queryHash),a=je(f=>f().find({queryKey:e.query.queryKey})?.isDisabled()??!1,!0,f=>f.query.queryHash===e.query.queryHash),u=je(f=>f().find({queryKey:e.query.queryKey})?.isStatic()??!1,!0,f=>f.query.queryHash===e.query.queryHash),c=je(f=>f().find({queryKey:e.query.queryKey})?.isStale()??!1,!0,f=>f.query.queryHash===e.query.queryHash),d=je(f=>f().find({queryKey:e.query.queryKey})?.getObserversCount()??0,!0,f=>f.query.queryHash===e.query.queryHash),m=F(()=>Dc({queryState:l(),observerCount:d(),isStale:c()})),p=()=>m()==="gray"?n`
179
+ background-color: ${s(o[m()][200],o[m()][700])};
180
+ color: ${s(o[m()][700],o[m()][300])};
181
+ `:n`
182
+ background-color: ${s(o[m()][200]+i[80],o[m()][900])};
183
+ color: ${s(o[m()][800],o[m()][300])};
184
+ `;return x(G,{get when(){return l()},get children(){var f=i1(),g=f.firstChild,v=g.nextSibling;return f.$$click=()=>ji(e.query.queryHash===ht()?null:e.query.queryHash),P(g,d),P(v,()=>e.query.queryHash),P(f,x(G,{get when(){return a()},get children(){return y3()}}),null),P(f,x(G,{get when(){return u()},get children(){return v3()}}),null),U(h=>{var y=z(r().queryRow,ht()===e.query.queryHash&&r().selectedQueryRow,"tsqd-query-row"),b=`Query key ${e.query.queryHash}`,w=z(p(),"tsqd-query-observer-count");return y!==h.e&&O(f,h.e=y),b!==h.t&&L(f,"aria-label",h.t=b),w!==h.a&&O(g,h.a=w),h},{e:void 0,t:void 0,a:void 0}),f}})},D3=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?Ft(n):_t(n)),{colors:o,alpha:i}=T,s=(m,p)=>t()==="dark"?p:m,l=At(m=>m().getAll().find(g=>g.mutationId===e.mutation.mutationId)?.state),a=At(m=>{let f=m().getAll().find(g=>g.mutationId===e.mutation.mutationId);return f?f.state.isPaused:!1}),u=At(m=>{let f=m().getAll().find(g=>g.mutationId===e.mutation.mutationId);return f?f.state.status:"idle"}),c=F(()=>Kn({isPaused:a(),status:u()})),d=()=>c()==="gray"?n`
185
+ background-color: ${s(o[c()][200],o[c()][700])};
186
+ color: ${s(o[c()][700],o[c()][300])};
187
+ `:n`
188
+ background-color: ${s(o[c()][200]+i[80],o[c()][900])};
189
+ color: ${s(o[c()][800],o[c()][300])};
190
+ `;return x(G,{get when(){return l()},get children(){var m=i1(),p=m.firstChild,f=p.nextSibling;return m.$$click=()=>{s1(e.mutation.mutationId===Pn()?null:e.mutation.mutationId);},P(p,x(G,{get when(){return c()==="purple"},get children(){return x(Dy,{})}}),null),P(p,x(G,{get when(){return c()==="green"},get children(){return x(ia,{})}}),null),P(p,x(G,{get when(){return c()==="red"},get children(){return x(Fy,{})}}),null),P(p,x(G,{get when(){return c()==="yellow"},get children(){return x(_y,{})}}),null),P(f,x(G,{get when(){return e.mutation.options.mutationKey},get children(){return [qe(()=>JSON.stringify(e.mutation.options.mutationKey))," -"," "]}}),null),P(f,()=>new Date(e.mutation.state.submittedAt).toLocaleString(),null),U(g=>{var v=z(r().queryRow,Pn()===e.mutation.mutationId&&r().selectedQueryRow,"tsqd-query-row"),h=`Mutation submitted at ${new Date(e.mutation.state.submittedAt).toLocaleString()}`,y=z(d(),"tsqd-query-observer-count");return v!==g.e&&O(m,g.e=v),h!==g.t&&L(m,"aria-label",g.t=h),y!==g.a&&O(p,g.a=y),g},{e:void 0,t:void 0,a:void 0}),m}})},L3=()=>{let e=je(a=>a().getAll().filter(u=>Nn(u)==="stale").length),t=je(a=>a().getAll().filter(u=>Nn(u)==="fresh").length),n=je(a=>a().getAll().filter(u=>Nn(u)==="fetching").length),r=je(a=>a().getAll().filter(u=>Nn(u)==="paused").length),o=je(a=>a().getAll().filter(u=>Nn(u)==="inactive").length),i=Ye(),s=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,l=F(()=>i()==="dark"?Ft(s):_t(s));return (()=>{var a=Mo();return P(a,x(dn,{label:"Fresh",color:"green",get count(){return t()}}),null),P(a,x(dn,{label:"Fetching",color:"blue",get count(){return n()}}),null),P(a,x(dn,{label:"Paused",color:"purple",get count(){return r()}}),null),P(a,x(dn,{label:"Stale",color:"yellow",get count(){return e()}}),null),P(a,x(dn,{label:"Inactive",color:"gray",get count(){return o()}}),null),U(()=>O(a,z(l().queryStatusContainer,"tsqd-query-status-container"))),a})()},O3=()=>{let e=At(l=>l().getAll().filter(a=>Kn({isPaused:a.state.isPaused,status:a.state.status})==="green").length),t=At(l=>l().getAll().filter(a=>Kn({isPaused:a.state.isPaused,status:a.state.status})==="yellow").length),n=At(l=>l().getAll().filter(a=>Kn({isPaused:a.state.isPaused,status:a.state.status})==="purple").length),r=At(l=>l().getAll().filter(a=>Kn({isPaused:a.state.isPaused,status:a.state.status})==="red").length),o=Ye(),i=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,s=F(()=>o()==="dark"?Ft(i):_t(i));return (()=>{var l=Mo();return P(l,x(dn,{label:"Paused",color:"purple",get count(){return n()}}),null),P(l,x(dn,{label:"Pending",color:"yellow",get count(){return t()}}),null),P(l,x(dn,{label:"Success",color:"green",get count(){return e()}}),null),P(l,x(dn,{label:"Error",color:"red",get count(){return r()}}),null),U(()=>O(l,z(s().queryStatusContainer,"tsqd-query-status-container"))),l})()},dn=e=>{let t=Ye(),n=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,r=F(()=>t()==="dark"?Ft(n):_t(n)),{colors:o,alpha:i}=T,s=(p,f)=>t()==="dark"?f:p,l,[a,u]=q(!1),[c,d]=q(!1),m=F(()=>!(ht()&&Rt()<T2&&Rt()>Gn||Rt()<Gn));return (()=>{var p=w3(),f=p.firstChild,g=f.nextSibling,v=l;return typeof v=="function"?zn(v,p):l=p,p.addEventListener("mouseleave",()=>{u(!1),d(!1);}),p.addEventListener("mouseenter",()=>u(!0)),p.addEventListener("blur",()=>d(!1)),p.addEventListener("focus",()=>d(!0)),qs(p,ne({get disabled(){return m()},get class(){return z(r().queryStatusTag,!m()&&n`
191
+ cursor: pointer;
192
+ &:hover {
193
+ background: ${s(o.gray[200],o.darkGray[400])}${i[80]};
194
+ }
195
+ `,"tsqd-query-status-tag",`tsqd-query-status-tag-${e.label.toLowerCase()}`)}},()=>a()||c()?{"aria-describedby":"tsqd-status-tooltip"}:{}),!1,!0),P(p,x(G,{get when(){return qe(()=>!m())()&&(a()||c())},get children(){var h=b3();return P(h,()=>e.label),U(()=>O(h,z(r().statusTooltip,"tsqd-query-status-tooltip"))),h}}),f),P(p,x(G,{get when(){return m()},get children(){var h=x3();return P(h,()=>e.label),U(()=>O(h,z(r().queryStatusTagLabel,"tsqd-query-status-tag-label"))),h}}),g),P(g,()=>e.count),U(h=>{var y=z(n`
196
+ width: ${T.size[1.5]};
197
+ height: ${T.size[1.5]};
198
+ border-radius: ${T.border.radius.full};
199
+ background-color: ${T.colors[e.color][500]};
200
+ `,"tsqd-query-status-tag-dot"),b=z(r().queryStatusCount,e.count>0&&e.color!=="gray"&&n`
201
+ background-color: ${s(o[e.color][100],o[e.color][900])};
202
+ color: ${s(o[e.color][700],o[e.color][300])};
203
+ `,"tsqd-query-status-tag-count");return y!==h.e&&O(f,h.e=y),b!==h.t&&O(g,h.t=b),h},{e:void 0,t:void 0}),p})()},A3=()=>{let e=Ye(),t=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,n=F(()=>e()==="dark"?Ft(t):_t(t)),{colors:r}=T,o=(C,$)=>e()==="dark"?$:C,i=H().client,[s,l]=q(!1),[a,u]=q("view"),[c,d]=q(!1),m=F(()=>H().errorTypes||[]),p=je(C=>C().getAll().find($=>$.queryHash===ht()),!1),f=je(C=>C().getAll().find($=>$.queryHash===ht()),!1),g=je(C=>C().getAll().find($=>$.queryHash===ht())?.state,!1),v=je(C=>C().getAll().find($=>$.queryHash===ht())?.state.data,!1),h=je(C=>{let $=C().getAll().find(V=>V.queryHash===ht());return $?Nn($):"inactive"}),y=je(C=>{let $=C().getAll().find(V=>V.queryHash===ht());return $?$.state.status:"pending"}),b=je(C=>C().getAll().find($=>$.queryHash===ht())?.getObserversCount()??0),w=F(()=>Lc(h())),S=()=>{Yt({type:"REFETCH",queryHash:p()?.queryHash}),p()?.fetch()?.catch(()=>{});},k=C=>{let $=p();if(!$)return;Yt({type:"TRIGGER_ERROR",queryHash:$.queryHash,metadata:{error:C?.name}});let V=C?.initializer($)??new Error("Unknown error from devtools"),D=$.options;$.setState({status:"error",error:V,fetchMeta:{...$.state.fetchMeta,__previousQueryOptions:D}});},I=()=>{let C=p();if(!C)return;Yt({type:"RESTORE_LOADING",queryHash:C.queryHash});let $=C.state,V=C.state.fetchMeta?C.state.fetchMeta.__previousQueryOptions:null;C.cancel({silent:!0}),C.setState({...$,fetchStatus:"idle",fetchMeta:null}),V&&C.fetch(V);};j(()=>{h()!=="fetching"&&l(!1);});let E=()=>w()==="gray"?t`
204
+ background-color: ${o(r[w()][200],r[w()][700])};
205
+ color: ${o(r[w()][700],r[w()][300])};
206
+ border-color: ${o(r[w()][400],r[w()][600])};
207
+ `:t`
208
+ background-color: ${o(r[w()][100],r[w()][900])};
209
+ color: ${o(r[w()][700],r[w()][300])};
210
+ border-color: ${o(r[w()][400],r[w()][600])};
211
+ `;return x(G,{get when(){return qe(()=>!!p())()&&g()},get children(){var C=E3(),$=C.firstChild,V=$.nextSibling,D=V.firstChild,N=D.firstChild,B=N.firstChild,re=N.nextSibling,we=D.nextSibling,ge=we.firstChild,ce=ge.nextSibling,Pe=we.nextSibling,Le=Pe.firstChild,Re=Le.nextSibling,be=V.nextSibling,Te=be.nextSibling,M=Te.firstChild,ke=M.firstChild,ae=M.nextSibling,Ue=ae.firstChild,Z=ae.nextSibling,He=Z.firstChild,Oe=Z.nextSibling,Ct=Oe.firstChild,Ve=Oe.nextSibling,at=Ve.firstChild,kt=at.nextSibling,lt=Te.nextSibling;lt.firstChild;var ct=lt.nextSibling,ft=ct.nextSibling;return P(B,()=>uo(p().queryKey,!0)),P(re,h),P(ce,b),P(Re,()=>new Date(g().dataUpdatedAt).toLocaleTimeString()),M.$$click=S,ae.$$click=()=>{Yt({type:"INVALIDATE",queryHash:p()?.queryHash}),i.invalidateQueries(p());},Z.$$click=()=>{Yt({type:"RESET",queryHash:p()?.queryHash}),i.resetQueries(p());},Oe.$$click=()=>{Yt({type:"REMOVE",queryHash:p()?.queryHash}),i.removeQueries(p()),ji(null);},Ve.$$click=()=>{if(p()?.state.data===void 0)l(!0),I();else {let A=p();if(!A)return;Yt({type:"TRIGGER_LOADING",queryHash:A.queryHash});let X=A.options;A.fetch({...X,queryFn:()=>new Promise(()=>{}),gcTime:-1}),A.setState({data:void 0,status:"pending",fetchMeta:{...A.state.fetchMeta,__previousQueryOptions:X}});}},P(Ve,()=>y()==="pending"?"Restore":"Trigger",kt),P(Te,x(G,{get when(){return m().length===0||y()==="error"},get children(){var A=S3(),X=A.firstChild,ue=X.nextSibling;return A.$$click=()=>{p().state.error?(Yt({type:"RESTORE_ERROR",queryHash:p()?.queryHash}),i.resetQueries(p())):k();},P(A,()=>y()==="error"?"Restore":"Trigger",ue),U(ye=>{var fe=z(t`
212
+ color: ${o(r.red[500],r.red[400])};
213
+ `,"tsqd-query-details-actions-btn","tsqd-query-details-action-error"),Y=y()==="pending",de=t`
214
+ background-color: ${o(r.red[500],r.red[400])};
215
+ `;return fe!==ye.e&&O(A,ye.e=fe),Y!==ye.t&&(A.disabled=ye.t=Y),de!==ye.a&&O(X,ye.a=de),ye},{e:void 0,t:void 0,a:void 0}),A}}),null),P(Te,x(G,{get when(){return !(m().length===0||y()==="error")},get children(){var A=C3(),X=A.firstChild,ue=X.nextSibling,ye=ue.nextSibling;return ye.firstChild,ye.addEventListener("change",fe=>{let Y=m().find(de=>de.name===fe.currentTarget.value);k(Y);}),P(ye,x(cc,{get each(){return m()},children:fe=>(()=>{var Y=P3();return P(Y,()=>fe.name),U(()=>Y.value=fe.name),Y})()}),null),P(A,x(fr,{}),null),U(fe=>{var Y=z(n().actionsSelect,"tsqd-query-details-actions-btn","tsqd-query-details-action-error-multiple"),de=t`
216
+ background-color: ${T.colors.red[400]};
217
+ `,Se=y()==="pending";return Y!==fe.e&&O(A,fe.e=Y),de!==fe.t&&O(X,fe.t=de),Se!==fe.a&&(ye.disabled=fe.a=Se),fe},{e:void 0,t:void 0,a:void 0}),A}}),null),P(lt,()=>a()==="view"?"Explorer":"Editor",null),P(C,x(G,{get when(){return a()==="view"},get children(){var A=k3();return P(A,x(En,{label:"Data",defaultExpanded:["Data"],get value(){return v()},editable:!0,onEdit:()=>u("edit"),get activeQuery(){return p()}})),U(X=>(X=T.size[2])!=null?A.style.setProperty("padding",X):A.style.removeProperty("padding")),A}}),ct),P(C,x(G,{get when(){return a()==="edit"},get children(){var A=I3(),X=A.firstChild,ue=X.nextSibling,ye=ue.firstChild,fe=ye.nextSibling,Y=fe.firstChild,de=Y.nextSibling;return A.addEventListener("submit",Se=>{Se.preventDefault();let on=new FormData(Se.currentTarget).get("data");try{let Ot=JSON.parse(on);p().setState({...p().state,data:Ot}),u("view");}catch{d(!0);}}),X.addEventListener("focus",()=>d(!1)),P(ye,()=>c()?"Invalid Value":""),Y.$$click=()=>u("view"),U(Se=>{var rn=z(n().devtoolsEditForm,"tsqd-query-details-data-editor"),on=n().devtoolsEditTextarea,Ot=c(),An=n().devtoolsEditFormActions,sn=n().devtoolsEditFormError,Rn=n().devtoolsEditFormActionContainer,an=z(n().devtoolsEditFormAction,t`
218
+ color: ${o(r.gray[600],r.gray[300])};
219
+ `),Sn=z(n().devtoolsEditFormAction,t`
220
+ color: ${o(r.blue[600],r.blue[400])};
221
+ `);return rn!==Se.e&&O(A,Se.e=rn),on!==Se.t&&O(X,Se.t=on),Ot!==Se.a&&L(X,"data-error",Se.a=Ot),An!==Se.o&&O(ue,Se.o=An),sn!==Se.i&&O(ye,Se.i=sn),Rn!==Se.n&&O(fe,Se.n=Rn),an!==Se.s&&O(Y,Se.s=an),Sn!==Se.h&&O(de,Se.h=Sn),Se},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0}),U(()=>X.value=JSON.stringify(v(),null,2)),A}}),ct),P(ft,x(En,{label:"Query",defaultExpanded:["Query","queryKey"],get value(){return f()}})),U(A=>{var X=z(n().detailsContainer,"tsqd-query-details-container"),ue=z(n().detailsHeader,"tsqd-query-details-header"),ye=z(n().detailsBody,"tsqd-query-details-summary-container"),fe=z(n().queryDetailsStatus,E()),Y=z(n().detailsHeader,"tsqd-query-details-header"),de=z(n().actionsBody,"tsqd-query-details-actions-container"),Se=z(t`
222
+ color: ${o(r.blue[600],r.blue[400])};
223
+ `,"tsqd-query-details-actions-btn","tsqd-query-details-action-refetch"),rn=h()==="fetching",on=t`
224
+ background-color: ${o(r.blue[600],r.blue[400])};
225
+ `,Ot=z(t`
226
+ color: ${o(r.yellow[600],r.yellow[400])};
227
+ `,"tsqd-query-details-actions-btn","tsqd-query-details-action-invalidate"),An=y()==="pending",sn=t`
228
+ background-color: ${o(r.yellow[600],r.yellow[400])};
229
+ `,Rn=z(t`
230
+ color: ${o(r.gray[600],r.gray[300])};
231
+ `,"tsqd-query-details-actions-btn","tsqd-query-details-action-reset"),an=y()==="pending",Sn=t`
232
+ background-color: ${o(r.gray[600],r.gray[400])};
233
+ `,ri=z(t`
234
+ color: ${o(r.pink[500],r.pink[400])};
235
+ `,"tsqd-query-details-actions-btn","tsqd-query-details-action-remove"),jr=h()==="fetching",oi=t`
236
+ background-color: ${o(r.pink[500],r.pink[400])};
237
+ `,tr=z(t`
238
+ color: ${o(r.cyan[500],r.cyan[400])};
239
+ `,"tsqd-query-details-actions-btn","tsqd-query-details-action-loading"),ii=s(),Wr=t`
240
+ background-color: ${o(r.cyan[500],r.cyan[400])};
241
+ `,Yr=z(n().detailsHeader,"tsqd-query-details-header"),Xr=z(n().detailsHeader,"tsqd-query-details-header"),nr=T.size[2];return X!==A.e&&O(C,A.e=X),ue!==A.t&&O($,A.t=ue),ye!==A.a&&O(V,A.a=ye),fe!==A.o&&O(re,A.o=fe),Y!==A.i&&O(be,A.i=Y),de!==A.n&&O(Te,A.n=de),Se!==A.s&&O(M,A.s=Se),rn!==A.h&&(M.disabled=A.h=rn),on!==A.r&&O(ke,A.r=on),Ot!==A.d&&O(ae,A.d=Ot),An!==A.l&&(ae.disabled=A.l=An),sn!==A.u&&O(Ue,A.u=sn),Rn!==A.c&&O(Z,A.c=Rn),an!==A.w&&(Z.disabled=A.w=an),Sn!==A.m&&O(He,A.m=Sn),ri!==A.f&&O(Oe,A.f=ri),jr!==A.y&&(Oe.disabled=A.y=jr),oi!==A.g&&O(Ct,A.g=oi),tr!==A.p&&O(Ve,A.p=tr),ii!==A.b&&(Ve.disabled=A.b=ii),Wr!==A.T&&O(at,A.T=Wr),Yr!==A.A&&O(lt,A.A=Yr),Xr!==A.O&&O(ct,A.O=Xr),nr!==A.I&&((A.I=nr)!=null?ft.style.setProperty("padding",nr):ft.style.removeProperty("padding")),A},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0,c:void 0,w:void 0,m:void 0,f:void 0,y:void 0,g:void 0,p:void 0,b:void 0,T:void 0,A:void 0,O:void 0,I:void 0}),C}})},R3=()=>{let e=Ye(),t=H().shadowDOMTarget?le.bind({target:H().shadowDOMTarget}):le,n=F(()=>e()==="dark"?Ft(t):_t(t)),{colors:r}=T,o=(c,d)=>e()==="dark"?d:c,i=At(c=>{let m=c().getAll().find(p=>p.mutationId===Pn());return m?m.state.isPaused:!1}),s=At(c=>{let m=c().getAll().find(p=>p.mutationId===Pn());return m?m.state.status:"idle"}),l=F(()=>Kn({isPaused:i(),status:s()})),a=At(c=>c().getAll().find(d=>d.mutationId===Pn()),!1),u=()=>l()==="gray"?t`
242
+ background-color: ${o(r[l()][200],r[l()][700])};
243
+ color: ${o(r[l()][700],r[l()][300])};
244
+ border-color: ${o(r[l()][400],r[l()][600])};
245
+ `:t`
246
+ background-color: ${o(r[l()][100],r[l()][900])};
247
+ color: ${o(r[l()][700],r[l()][300])};
248
+ border-color: ${o(r[l()][400],r[l()][600])};
249
+ `;return x(G,{get when(){return a()},get children(){var c=T3(),d=c.firstChild,m=d.nextSibling,p=m.firstChild,f=p.firstChild,g=f.firstChild,v=f.nextSibling,h=p.nextSibling,y=h.firstChild,b=y.nextSibling,w=m.nextSibling,S=w.nextSibling,k=S.nextSibling,I=k.nextSibling,E=I.nextSibling,C=E.nextSibling,$=C.nextSibling,V=$.nextSibling;return P(g,x(G,{get when(){return a().options.mutationKey},fallback:"No mutationKey found",get children(){return uo(a().options.mutationKey,!0)}})),P(v,x(G,{get when(){return l()==="purple"},children:"pending"}),null),P(v,x(G,{get when(){return l()!=="purple"},get children(){return s()}}),null),P(b,()=>new Date(a().state.submittedAt).toLocaleTimeString()),P(S,x(En,{label:"Variables",defaultExpanded:["Variables"],get value(){return a().state.variables}})),P(I,x(En,{label:"Context",defaultExpanded:["Context"],get value(){return a().state.context}})),P(C,x(En,{label:"Data",defaultExpanded:["Data"],get value(){return a().state.data}})),P(V,x(En,{label:"Mutation",defaultExpanded:["Mutation"],get value(){return a()}})),U(D=>{var N=z(n().detailsContainer,"tsqd-query-details-container"),B=z(n().detailsHeader,"tsqd-query-details-header"),re=z(n().detailsBody,"tsqd-query-details-summary-container"),we=z(n().queryDetailsStatus,u()),ge=z(n().detailsHeader,"tsqd-query-details-header"),ce=T.size[2],Pe=z(n().detailsHeader,"tsqd-query-details-header"),Le=T.size[2],Re=z(n().detailsHeader,"tsqd-query-details-header"),be=T.size[2],Te=z(n().detailsHeader,"tsqd-query-details-header"),M=T.size[2];return N!==D.e&&O(c,D.e=N),B!==D.t&&O(d,D.t=B),re!==D.a&&O(m,D.a=re),we!==D.o&&O(v,D.o=we),ge!==D.i&&O(w,D.i=ge),ce!==D.n&&((D.n=ce)!=null?S.style.setProperty("padding",ce):S.style.removeProperty("padding")),Pe!==D.s&&O(k,D.s=Pe),Le!==D.h&&((D.h=Le)!=null?I.style.setProperty("padding",Le):I.style.removeProperty("padding")),Re!==D.r&&O(E,D.r=Re),be!==D.d&&((D.d=be)!=null?C.style.setProperty("padding",be):C.style.removeProperty("padding")),Te!==D.l&&O($,D.l=Te),M!==D.u&&((D.u=M)!=null?V.style.setProperty("padding",M):V.style.removeProperty("padding")),D},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0,r:void 0,d:void 0,l:void 0,u:void 0}),c}})},Oi=new Map,q3=()=>{let e=F(()=>H().client.getQueryCache()),t=e().subscribe(n=>{Zl(()=>{for(let[r,o]of Oi.entries())o.shouldUpdate(n)&&o.setter(r(e));});});return W(()=>{Oi.clear(),t();}),t},je=(e,t=!0,n=()=>!0)=>{let r=F(()=>H().client.getQueryCache()),[o,i]=q(e(r),t?void 0:{equals:!1});return j(()=>{i(e(r));}),Oi.set(e,{setter:i,shouldUpdate:n}),W(()=>{Oi.delete(e);}),o},Ai=new Map,z3=()=>{let e=F(()=>H().client.getMutationCache()),t=e().subscribe(()=>{for(let[n,r]of Ai.entries())queueMicrotask(()=>{r(n(e));});});return W(()=>{Ai.clear(),t();}),t},At=(e,t=!0)=>{let n=F(()=>H().client.getMutationCache()),[r,o]=q(e(n),t?void 0:{equals:!1});return j(()=>{o(e(n));}),Ai.set(e,o),W(()=>{Ai.delete(e);}),r},V3="@tanstack/query-devtools-event",Yt=({type:e,queryHash:t,metadata:n})=>{let r=new CustomEvent(V3,{detail:{type:e,queryHash:t,metadata:n},bubbles:!0,cancelable:!0});window.dispatchEvent(r);},c1=(e,t)=>{let{colors:n,font:r,size:o,alpha:i,shadow:s,border:l}=T,a=(u,c)=>e==="light"?u:c;return {devtoolsBtn:t`
250
+ z-index: 100000;
251
+ position: fixed;
252
+ padding: 4px;
253
+ text-align: left;
254
+
255
+ display: flex;
256
+ align-items: center;
257
+ justify-content: center;
258
+ border-radius: 9999px;
259
+ box-shadow: ${s.md()};
260
+ overflow: hidden;
261
+
262
+ & div {
263
+ position: absolute;
264
+ top: -8px;
265
+ left: -8px;
266
+ right: -8px;
267
+ bottom: -8px;
268
+ border-radius: 9999px;
269
+
270
+ & svg {
271
+ position: absolute;
272
+ width: 100%;
273
+ height: 100%;
274
+ }
275
+ filter: blur(6px) saturate(1.2) contrast(1.1);
276
+ }
277
+
278
+ &:focus-within {
279
+ outline-offset: 2px;
280
+ outline: 3px solid ${n.green[600]};
281
+ }
282
+
283
+ & button {
284
+ position: relative;
285
+ z-index: 1;
286
+ padding: 0;
287
+ border-radius: 9999px;
288
+ background-color: transparent;
289
+ border: none;
290
+ height: 40px;
291
+ display: flex;
292
+ width: 40px;
293
+ overflow: hidden;
294
+ cursor: pointer;
295
+ outline: none;
296
+ & svg {
297
+ position: absolute;
298
+ width: 100%;
299
+ height: 100%;
300
+ }
301
+ }
302
+ `,panel:t`
303
+ position: fixed;
304
+ z-index: 9999;
305
+ display: flex;
306
+ gap: ${T.size[.5]};
307
+ & * {
308
+ box-sizing: border-box;
309
+ text-transform: none;
310
+ }
311
+
312
+ & *::-webkit-scrollbar {
313
+ width: 7px;
314
+ }
315
+
316
+ & *::-webkit-scrollbar-track {
317
+ background: transparent;
318
+ }
319
+
320
+ & *::-webkit-scrollbar-thumb {
321
+ background: ${a(n.gray[300],n.darkGray[200])};
322
+ }
323
+
324
+ & *::-webkit-scrollbar-thumb:hover {
325
+ background: ${a(n.gray[400],n.darkGray[300])};
326
+ }
327
+ `,parentPanel:t`
328
+ z-index: 9999;
329
+ display: flex;
330
+ height: 100%;
331
+ gap: ${T.size[.5]};
332
+ & * {
333
+ box-sizing: border-box;
334
+ text-transform: none;
335
+ }
336
+
337
+ & *::-webkit-scrollbar {
338
+ width: 7px;
339
+ }
340
+
341
+ & *::-webkit-scrollbar-track {
342
+ background: transparent;
343
+ }
344
+
345
+ & *::-webkit-scrollbar-thumb {
346
+ background: ${a(n.gray[300],n.darkGray[200])};
347
+ }
348
+
349
+ & *::-webkit-scrollbar-thumb:hover {
350
+ background: ${a(n.gray[400],n.darkGray[300])};
351
+ }
352
+ `,"devtoolsBtn-position-bottom-right":t`
353
+ bottom: 12px;
354
+ right: 12px;
355
+ `,"devtoolsBtn-position-bottom-left":t`
356
+ bottom: 12px;
357
+ left: 12px;
358
+ `,"devtoolsBtn-position-top-left":t`
359
+ top: 12px;
360
+ left: 12px;
361
+ `,"devtoolsBtn-position-top-right":t`
362
+ top: 12px;
363
+ right: 12px;
364
+ `,"devtoolsBtn-position-relative":t`
365
+ position: relative;
366
+ `,"panel-position-top":t`
367
+ top: 0;
368
+ right: 0;
369
+ left: 0;
370
+ max-height: 90%;
371
+ min-height: ${o[14]};
372
+ border-bottom: ${a(n.gray[400],n.darkGray[300])} 1px solid;
373
+ `,"panel-position-bottom":t`
374
+ bottom: 0;
375
+ right: 0;
376
+ left: 0;
377
+ max-height: 90%;
378
+ min-height: ${o[14]};
379
+ border-top: ${a(n.gray[400],n.darkGray[300])} 1px solid;
380
+ `,"panel-position-right":t`
381
+ bottom: 0;
382
+ right: 0;
383
+ top: 0;
384
+ border-left: ${a(n.gray[400],n.darkGray[300])} 1px solid;
385
+ max-width: 90%;
386
+ `,"panel-position-left":t`
387
+ bottom: 0;
388
+ left: 0;
389
+ top: 0;
390
+ border-right: ${a(n.gray[400],n.darkGray[300])} 1px solid;
391
+ max-width: 90%;
392
+ `,closeBtn:t`
393
+ position: absolute;
394
+ cursor: pointer;
395
+ z-index: 5;
396
+ display: flex;
397
+ align-items: center;
398
+ justify-content: center;
399
+ outline: none;
400
+ background-color: ${a(n.gray[50],n.darkGray[700])};
401
+ &:hover {
402
+ background-color: ${a(n.gray[200],n.darkGray[500])};
403
+ }
404
+ &:focus-visible {
405
+ outline: 2px solid ${n.blue[600]};
406
+ }
407
+ & svg {
408
+ color: ${a(n.gray[600],n.gray[400])};
409
+ width: ${o[2]};
410
+ height: ${o[2]};
411
+ }
412
+ `,"closeBtn-position-top":t`
413
+ bottom: 0;
414
+ right: ${o[2]};
415
+ transform: translate(0, 100%);
416
+ border-right: ${a(n.gray[400],n.darkGray[300])} 1px solid;
417
+ border-left: ${a(n.gray[400],n.darkGray[300])} 1px solid;
418
+ border-top: none;
419
+ border-bottom: ${a(n.gray[400],n.darkGray[300])} 1px solid;
420
+ border-radius: 0px 0px ${l.radius.sm} ${l.radius.sm};
421
+ padding: ${o[.5]} ${o[1.5]} ${o[1]} ${o[1.5]};
422
+
423
+ &::after {
424
+ content: ' ';
425
+ position: absolute;
426
+ bottom: 100%;
427
+ left: -${o[2.5]};
428
+ height: ${o[1.5]};
429
+ width: calc(100% + ${o[5]});
430
+ }
431
+
432
+ & svg {
433
+ transform: rotate(180deg);
434
+ }
435
+ `,"closeBtn-position-bottom":t`
436
+ top: 0;
437
+ right: ${o[2]};
438
+ transform: translate(0, -100%);
439
+ border-right: ${a(n.gray[400],n.darkGray[300])} 1px solid;
440
+ border-left: ${a(n.gray[400],n.darkGray[300])} 1px solid;
441
+ border-top: ${a(n.gray[400],n.darkGray[300])} 1px solid;
442
+ border-bottom: none;
443
+ border-radius: ${l.radius.sm} ${l.radius.sm} 0px 0px;
444
+ padding: ${o[1]} ${o[1.5]} ${o[.5]} ${o[1.5]};
445
+
446
+ &::after {
447
+ content: ' ';
448
+ position: absolute;
449
+ top: 100%;
450
+ left: -${o[2.5]};
451
+ height: ${o[1.5]};
452
+ width: calc(100% + ${o[5]});
453
+ }
454
+ `,"closeBtn-position-right":t`
455
+ bottom: ${o[2]};
456
+ left: 0;
457
+ transform: translate(-100%, 0);
458
+ border-right: none;
459
+ border-left: ${a(n.gray[400],n.darkGray[300])} 1px solid;
460
+ border-top: ${a(n.gray[400],n.darkGray[300])} 1px solid;
461
+ border-bottom: ${a(n.gray[400],n.darkGray[300])} 1px solid;
462
+ border-radius: ${l.radius.sm} 0px 0px ${l.radius.sm};
463
+ padding: ${o[1.5]} ${o[.5]} ${o[1.5]} ${o[1]};
464
+
465
+ &::after {
466
+ content: ' ';
467
+ position: absolute;
468
+ left: 100%;
469
+ height: calc(100% + ${o[5]});
470
+ width: ${o[1.5]};
471
+ }
472
+
473
+ & svg {
474
+ transform: rotate(-90deg);
475
+ }
476
+ `,"closeBtn-position-left":t`
477
+ bottom: ${o[2]};
478
+ right: 0;
479
+ transform: translate(100%, 0);
480
+ border-left: none;
481
+ border-right: ${a(n.gray[400],n.darkGray[300])} 1px solid;
482
+ border-top: ${a(n.gray[400],n.darkGray[300])} 1px solid;
483
+ border-bottom: ${a(n.gray[400],n.darkGray[300])} 1px solid;
484
+ border-radius: 0px ${l.radius.sm} ${l.radius.sm} 0px;
485
+ padding: ${o[1.5]} ${o[1]} ${o[1.5]} ${o[.5]};
486
+
487
+ &::after {
488
+ content: ' ';
489
+ position: absolute;
490
+ right: 100%;
491
+ height: calc(100% + ${o[5]});
492
+ width: ${o[1.5]};
493
+ }
494
+
495
+ & svg {
496
+ transform: rotate(90deg);
497
+ }
498
+ `,queriesContainer:t`
499
+ flex: 1 1 700px;
500
+ background-color: ${a(n.gray[50],n.darkGray[700])};
501
+ display: flex;
502
+ flex-direction: column;
503
+ & * {
504
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
505
+ }
506
+ `,dragHandle:t`
507
+ position: absolute;
508
+ transition: background-color 0.125s ease;
509
+ &:hover {
510
+ background-color: ${n.purple[400]}${a("",i[90])};
511
+ }
512
+ z-index: 4;
513
+ `,"dragHandle-position-top":t`
514
+ bottom: 0;
515
+ width: 100%;
516
+ height: 3px;
517
+ cursor: ns-resize;
518
+ `,"dragHandle-position-bottom":t`
519
+ top: 0;
520
+ width: 100%;
521
+ height: 3px;
522
+ cursor: ns-resize;
523
+ `,"dragHandle-position-right":t`
524
+ left: 0;
525
+ width: 3px;
526
+ height: 100%;
527
+ cursor: ew-resize;
528
+ `,"dragHandle-position-left":t`
529
+ right: 0;
530
+ width: 3px;
531
+ height: 100%;
532
+ cursor: ew-resize;
533
+ `,row:t`
534
+ display: flex;
535
+ justify-content: space-between;
536
+ align-items: center;
537
+ padding: ${T.size[2]} ${T.size[2.5]};
538
+ gap: ${T.size[2.5]};
539
+ border-bottom: ${a(n.gray[300],n.darkGray[500])} 1px solid;
540
+ align-items: center;
541
+ & > button {
542
+ padding: 0;
543
+ background: transparent;
544
+ border: none;
545
+ display: flex;
546
+ gap: ${o[.5]};
547
+ flex-direction: column;
548
+ }
549
+ `,logoAndToggleContainer:t`
550
+ display: flex;
551
+ gap: ${T.size[3]};
552
+ align-items: center;
553
+ `,logo:t`
554
+ cursor: pointer;
555
+ display: flex;
556
+ flex-direction: column;
557
+ background-color: transparent;
558
+ border: none;
559
+ gap: ${T.size[.5]};
560
+ padding: 0px;
561
+ &:hover {
562
+ opacity: 0.7;
563
+ }
564
+ &:focus-visible {
565
+ outline-offset: 4px;
566
+ border-radius: ${l.radius.xs};
567
+ outline: 2px solid ${n.blue[800]};
568
+ }
569
+ `,tanstackLogo:t`
570
+ font-size: ${r.size.md};
571
+ font-weight: ${r.weight.bold};
572
+ line-height: ${r.lineHeight.xs};
573
+ white-space: nowrap;
574
+ color: ${a(n.gray[600],n.gray[300])};
575
+ `,queryFlavorLogo:t`
576
+ font-weight: ${r.weight.semibold};
577
+ font-size: ${r.size.xs};
578
+ background: linear-gradient(
579
+ to right,
580
+ ${a("#ea4037, #ff9b11","#dd524b, #e9a03b")}
581
+ );
582
+ background-clip: text;
583
+ -webkit-background-clip: text;
584
+ line-height: 1;
585
+ -webkit-text-fill-color: transparent;
586
+ white-space: nowrap;
587
+ `,queryStatusContainer:t`
588
+ display: flex;
589
+ gap: ${T.size[2]};
590
+ height: min-content;
591
+ `,queryStatusTag:t`
592
+ display: flex;
593
+ gap: ${T.size[1.5]};
594
+ box-sizing: border-box;
595
+ height: ${T.size[6.5]};
596
+ background: ${a(n.gray[50],n.darkGray[500])};
597
+ color: ${a(n.gray[700],n.gray[300])};
598
+ border-radius: ${T.border.radius.sm};
599
+ font-size: ${r.size.sm};
600
+ padding: ${T.size[1]};
601
+ padding-left: ${T.size[1.5]};
602
+ align-items: center;
603
+ font-weight: ${r.weight.medium};
604
+ border: ${a("1px solid "+n.gray[300],"1px solid transparent")};
605
+ user-select: none;
606
+ position: relative;
607
+ &:focus-visible {
608
+ outline-offset: 2px;
609
+ outline: 2px solid ${n.blue[800]};
610
+ }
611
+ `,queryStatusTagLabel:t`
612
+ font-size: ${r.size.xs};
613
+ `,queryStatusCount:t`
614
+ font-size: ${r.size.xs};
615
+ padding: 0 5px;
616
+ display: flex;
617
+ align-items: center;
618
+ justify-content: center;
619
+ color: ${a(n.gray[500],n.gray[400])};
620
+ background-color: ${a(n.gray[200],n.darkGray[300])};
621
+ border-radius: 2px;
622
+ font-variant-numeric: tabular-nums;
623
+ height: ${T.size[4.5]};
624
+ `,statusTooltip:t`
625
+ position: absolute;
626
+ z-index: 1;
627
+ background-color: ${a(n.gray[50],n.darkGray[500])};
628
+ top: 100%;
629
+ left: 50%;
630
+ transform: translate(-50%, calc(${T.size[2]}));
631
+ padding: ${T.size[.5]} ${T.size[2]};
632
+ border-radius: ${T.border.radius.sm};
633
+ font-size: ${r.size.xs};
634
+ border: 1px solid ${a(n.gray[400],n.gray[600])};
635
+ color: ${a(n.gray[600],n.gray[300])};
636
+
637
+ &::before {
638
+ top: 0px;
639
+ content: ' ';
640
+ display: block;
641
+ left: 50%;
642
+ transform: translate(-50%, -100%);
643
+ position: absolute;
644
+ border-color: transparent transparent
645
+ ${a(n.gray[400],n.gray[600])} transparent;
646
+ border-style: solid;
647
+ border-width: 7px;
648
+ /* transform: rotate(180deg); */
649
+ }
650
+
651
+ &::after {
652
+ top: 0px;
653
+ content: ' ';
654
+ display: block;
655
+ left: 50%;
656
+ transform: translate(-50%, calc(-100% + 2px));
657
+ position: absolute;
658
+ border-color: transparent transparent
659
+ ${a(n.gray[100],n.darkGray[500])} transparent;
660
+ border-style: solid;
661
+ border-width: 7px;
662
+ }
663
+ `,filtersContainer:t`
664
+ display: flex;
665
+ gap: ${T.size[2]};
666
+ & > button {
667
+ cursor: pointer;
668
+ padding: ${T.size[.5]} ${T.size[1.5]} ${T.size[.5]}
669
+ ${T.size[2]};
670
+ border-radius: ${T.border.radius.sm};
671
+ background-color: ${a(n.gray[100],n.darkGray[400])};
672
+ border: 1px solid ${a(n.gray[300],n.darkGray[200])};
673
+ color: ${a(n.gray[700],n.gray[300])};
674
+ font-size: ${r.size.xs};
675
+ display: flex;
676
+ align-items: center;
677
+ line-height: ${r.lineHeight.sm};
678
+ gap: ${T.size[1.5]};
679
+ max-width: 160px;
680
+ &:focus-visible {
681
+ outline-offset: 2px;
682
+ border-radius: ${l.radius.xs};
683
+ outline: 2px solid ${n.blue[800]};
684
+ }
685
+ & svg {
686
+ width: ${T.size[3]};
687
+ height: ${T.size[3]};
688
+ color: ${a(n.gray[500],n.gray[400])};
689
+ }
690
+ }
691
+ `,filterInput:t`
692
+ padding: ${o[.5]} ${o[2]};
693
+ border-radius: ${T.border.radius.sm};
694
+ background-color: ${a(n.gray[100],n.darkGray[400])};
695
+ display: flex;
696
+ box-sizing: content-box;
697
+ align-items: center;
698
+ gap: ${T.size[1.5]};
699
+ max-width: 160px;
700
+ min-width: 100px;
701
+ border: 1px solid ${a(n.gray[300],n.darkGray[200])};
702
+ height: min-content;
703
+ color: ${a(n.gray[600],n.gray[400])};
704
+ & > svg {
705
+ width: ${o[3]};
706
+ height: ${o[3]};
707
+ }
708
+ & input {
709
+ font-size: ${r.size.xs};
710
+ width: 100%;
711
+ background-color: ${a(n.gray[100],n.darkGray[400])};
712
+ border: none;
713
+ padding: 0;
714
+ line-height: ${r.lineHeight.sm};
715
+ color: ${a(n.gray[700],n.gray[300])};
716
+ &::placeholder {
717
+ color: ${a(n.gray[700],n.gray[300])};
718
+ }
719
+ &:focus {
720
+ outline: none;
721
+ }
722
+ }
723
+
724
+ &:focus-within {
725
+ outline-offset: 2px;
726
+ border-radius: ${l.radius.xs};
727
+ outline: 2px solid ${n.blue[800]};
728
+ }
729
+ `,filterSelect:t`
730
+ padding: ${T.size[.5]} ${T.size[2]};
731
+ border-radius: ${T.border.radius.sm};
732
+ background-color: ${a(n.gray[100],n.darkGray[400])};
733
+ display: flex;
734
+ align-items: center;
735
+ gap: ${T.size[1.5]};
736
+ box-sizing: content-box;
737
+ max-width: 160px;
738
+ border: 1px solid ${a(n.gray[300],n.darkGray[200])};
739
+ height: min-content;
740
+ & > svg {
741
+ color: ${a(n.gray[600],n.gray[400])};
742
+ width: ${T.size[2]};
743
+ height: ${T.size[2]};
744
+ }
745
+ & > select {
746
+ appearance: none;
747
+ color: ${a(n.gray[700],n.gray[300])};
748
+ min-width: 100px;
749
+ line-height: ${r.lineHeight.sm};
750
+ font-size: ${r.size.xs};
751
+ background-color: ${a(n.gray[100],n.darkGray[400])};
752
+ border: none;
753
+ &:focus {
754
+ outline: none;
755
+ }
756
+ }
757
+ &:focus-within {
758
+ outline-offset: 2px;
759
+ border-radius: ${l.radius.xs};
760
+ outline: 2px solid ${n.blue[800]};
761
+ }
762
+ `,actionsContainer:t`
763
+ display: flex;
764
+ gap: ${T.size[2]};
765
+ `,actionsBtn:t`
766
+ border-radius: ${T.border.radius.sm};
767
+ background-color: ${a(n.gray[100],n.darkGray[400])};
768
+ border: 1px solid ${a(n.gray[300],n.darkGray[200])};
769
+ width: ${T.size[6.5]};
770
+ height: ${T.size[6.5]};
771
+ justify-content: center;
772
+ display: flex;
773
+ align-items: center;
774
+ gap: ${T.size[1.5]};
775
+ max-width: 160px;
776
+ cursor: pointer;
777
+ padding: 0;
778
+ &:hover {
779
+ background-color: ${a(n.gray[200],n.darkGray[500])};
780
+ }
781
+ & svg {
782
+ color: ${a(n.gray[700],n.gray[300])};
783
+ width: ${T.size[3]};
784
+ height: ${T.size[3]};
785
+ }
786
+ &:focus-visible {
787
+ outline-offset: 2px;
788
+ border-radius: ${l.radius.xs};
789
+ outline: 2px solid ${n.blue[800]};
790
+ }
791
+ `,actionsBtnOffline:t`
792
+ & svg {
793
+ stroke: ${a(n.yellow[700],n.yellow[500])};
794
+ fill: ${a(n.yellow[700],n.yellow[500])};
795
+ }
796
+ `,overflowQueryContainer:t`
797
+ flex: 1;
798
+ overflow-y: auto;
799
+ & > div {
800
+ display: flex;
801
+ flex-direction: column;
802
+ }
803
+ `,queryRow:t`
804
+ display: flex;
805
+ align-items: center;
806
+ padding: 0;
807
+ border: none;
808
+ cursor: pointer;
809
+ color: ${a(n.gray[700],n.gray[300])};
810
+ background-color: ${a(n.gray[50],n.darkGray[700])};
811
+ line-height: 1;
812
+ &:focus {
813
+ outline: none;
814
+ }
815
+ &:focus-visible {
816
+ outline-offset: -2px;
817
+ border-radius: ${l.radius.xs};
818
+ outline: 2px solid ${n.blue[800]};
819
+ }
820
+ &:hover .tsqd-query-hash {
821
+ background-color: ${a(n.gray[200],n.darkGray[600])};
822
+ }
823
+
824
+ & .tsqd-query-observer-count {
825
+ padding: 0 ${T.size[1]};
826
+ user-select: none;
827
+ min-width: ${T.size[6.5]};
828
+ align-self: stretch;
829
+ display: flex;
830
+ align-items: center;
831
+ justify-content: center;
832
+ font-size: ${r.size.xs};
833
+ font-weight: ${r.weight.medium};
834
+ border-bottom-width: 1px;
835
+ border-bottom-style: solid;
836
+ border-bottom: 1px solid ${a(n.gray[300],n.darkGray[700])};
837
+ }
838
+ & .tsqd-query-hash {
839
+ user-select: text;
840
+ font-size: ${r.size.xs};
841
+ display: flex;
842
+ align-items: center;
843
+ min-height: ${T.size[6]};
844
+ flex: 1;
845
+ padding: ${T.size[1]} ${T.size[2]};
846
+ font-family:
847
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
848
+ 'Liberation Mono', 'Courier New', monospace;
849
+ border-bottom: 1px solid ${a(n.gray[300],n.darkGray[400])};
850
+ text-align: left;
851
+ text-overflow: clip;
852
+ word-break: break-word;
853
+ }
854
+
855
+ & .tsqd-query-disabled-indicator {
856
+ align-self: stretch;
857
+ display: flex;
858
+ align-items: center;
859
+ padding: 0 ${T.size[2]};
860
+ color: ${a(n.gray[800],n.gray[300])};
861
+ background-color: ${a(n.gray[300],n.darkGray[600])};
862
+ border-bottom: 1px solid ${a(n.gray[300],n.darkGray[400])};
863
+ font-size: ${r.size.xs};
864
+ }
865
+
866
+ & .tsqd-query-static-indicator {
867
+ align-self: stretch;
868
+ display: flex;
869
+ align-items: center;
870
+ padding: 0 ${T.size[2]};
871
+ color: ${a(n.teal[800],n.teal[300])};
872
+ background-color: ${a(n.teal[100],n.teal[900])};
873
+ border-bottom: 1px solid ${a(n.teal[300],n.teal[700])};
874
+ font-size: ${r.size.xs};
875
+ }
876
+ `,selectedQueryRow:t`
877
+ background-color: ${a(n.gray[200],n.darkGray[500])};
878
+ `,detailsContainer:t`
879
+ flex: 1 1 700px;
880
+ background-color: ${a(n.gray[50],n.darkGray[700])};
881
+ color: ${a(n.gray[700],n.gray[300])};
882
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
883
+ display: flex;
884
+ flex-direction: column;
885
+ overflow-y: auto;
886
+ display: flex;
887
+ text-align: left;
888
+ `,detailsHeader:t`
889
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
890
+ position: sticky;
891
+ top: 0;
892
+ z-index: 2;
893
+ background-color: ${a(n.gray[200],n.darkGray[600])};
894
+ padding: ${T.size[1.5]} ${T.size[2]};
895
+ font-weight: ${r.weight.medium};
896
+ font-size: ${r.size.xs};
897
+ line-height: ${r.lineHeight.xs};
898
+ text-align: left;
899
+ `,detailsBody:t`
900
+ margin: ${T.size[1.5]} 0px ${T.size[2]} 0px;
901
+ & > div {
902
+ display: flex;
903
+ align-items: stretch;
904
+ padding: 0 ${T.size[2]};
905
+ line-height: ${r.lineHeight.sm};
906
+ justify-content: space-between;
907
+ & > span {
908
+ font-size: ${r.size.xs};
909
+ }
910
+ & > span:nth-child(2) {
911
+ font-variant-numeric: tabular-nums;
912
+ }
913
+ }
914
+
915
+ & > div:first-child {
916
+ margin-bottom: ${T.size[1.5]};
917
+ }
918
+
919
+ & code {
920
+ font-family:
921
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
922
+ 'Liberation Mono', 'Courier New', monospace;
923
+ margin: 0;
924
+ font-size: ${r.size.xs};
925
+ line-height: ${r.lineHeight.xs};
926
+ max-width: 100%;
927
+ white-space: pre-wrap;
928
+ overflow-wrap: anywhere;
929
+ word-break: break-word;
930
+ }
931
+
932
+ & pre {
933
+ margin: 0;
934
+ display: flex;
935
+ align-items: center;
936
+ }
937
+ `,queryDetailsStatus:t`
938
+ border: 1px solid ${n.darkGray[200]};
939
+ border-radius: ${T.border.radius.sm};
940
+ font-weight: ${r.weight.medium};
941
+ padding: ${T.size[1]} ${T.size[2.5]};
942
+ `,actionsBody:t`
943
+ flex-wrap: wrap;
944
+ margin: ${T.size[2]} 0px ${T.size[2]} 0px;
945
+ display: flex;
946
+ gap: ${T.size[2]};
947
+ padding: 0px ${T.size[2]};
948
+ & > button {
949
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
950
+ font-size: ${r.size.xs};
951
+ padding: ${T.size[1]} ${T.size[2]};
952
+ display: flex;
953
+ border-radius: ${T.border.radius.sm};
954
+ background-color: ${a(n.gray[100],n.darkGray[600])};
955
+ border: 1px solid ${a(n.gray[300],n.darkGray[400])};
956
+ align-items: center;
957
+ gap: ${T.size[2]};
958
+ font-weight: ${r.weight.medium};
959
+ line-height: ${r.lineHeight.xs};
960
+ cursor: pointer;
961
+ &:focus-visible {
962
+ outline-offset: 2px;
963
+ border-radius: ${l.radius.xs};
964
+ outline: 2px solid ${n.blue[800]};
965
+ }
966
+ &:hover {
967
+ background-color: ${a(n.gray[200],n.darkGray[500])};
968
+ }
969
+
970
+ &:disabled {
971
+ opacity: 0.6;
972
+ cursor: not-allowed;
973
+ }
974
+
975
+ & > span {
976
+ width: ${o[1.5]};
977
+ height: ${o[1.5]};
978
+ border-radius: ${T.border.radius.full};
979
+ }
980
+ }
981
+ `,actionsSelect:t`
982
+ font-size: ${r.size.xs};
983
+ padding: ${T.size[.5]} ${T.size[2]};
984
+ display: flex;
985
+ border-radius: ${T.border.radius.sm};
986
+ overflow: hidden;
987
+ background-color: ${a(n.gray[100],n.darkGray[600])};
988
+ border: 1px solid ${a(n.gray[300],n.darkGray[400])};
989
+ align-items: center;
990
+ gap: ${T.size[2]};
991
+ font-weight: ${r.weight.medium};
992
+ line-height: ${r.lineHeight.sm};
993
+ color: ${a(n.red[500],n.red[400])};
994
+ cursor: pointer;
995
+ position: relative;
996
+ &:hover {
997
+ background-color: ${a(n.gray[200],n.darkGray[500])};
998
+ }
999
+ & > span {
1000
+ width: ${o[1.5]};
1001
+ height: ${o[1.5]};
1002
+ border-radius: ${T.border.radius.full};
1003
+ }
1004
+ &:focus-within {
1005
+ outline-offset: 2px;
1006
+ border-radius: ${l.radius.xs};
1007
+ outline: 2px solid ${n.blue[800]};
1008
+ }
1009
+ & select {
1010
+ position: absolute;
1011
+ top: 0;
1012
+ left: 0;
1013
+ width: 100%;
1014
+ height: 100%;
1015
+ appearance: none;
1016
+ background-color: transparent;
1017
+ border: none;
1018
+ color: transparent;
1019
+ outline: none;
1020
+ }
1021
+
1022
+ & svg path {
1023
+ stroke: ${T.colors.red[400]};
1024
+ }
1025
+ & svg {
1026
+ width: ${T.size[2]};
1027
+ height: ${T.size[2]};
1028
+ }
1029
+ `,settingsMenu:t`
1030
+ display: flex;
1031
+ & * {
1032
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
1033
+ }
1034
+ flex-direction: column;
1035
+ gap: ${o[.5]};
1036
+ border-radius: ${T.border.radius.sm};
1037
+ border: 1px solid ${a(n.gray[300],n.gray[700])};
1038
+ background-color: ${a(n.gray[50],n.darkGray[600])};
1039
+ font-size: ${r.size.xs};
1040
+ color: ${a(n.gray[700],n.gray[300])};
1041
+ z-index: 99999;
1042
+ min-width: 120px;
1043
+ padding: ${o[.5]};
1044
+ `,settingsSubTrigger:t`
1045
+ display: flex;
1046
+ align-items: center;
1047
+ justify-content: space-between;
1048
+ border-radius: ${T.border.radius.xs};
1049
+ padding: ${T.size[1]} ${T.size[1]};
1050
+ cursor: pointer;
1051
+ background-color: transparent;
1052
+ border: none;
1053
+ color: ${a(n.gray[700],n.gray[300])};
1054
+ & svg {
1055
+ color: ${a(n.gray[600],n.gray[400])};
1056
+ transform: rotate(-90deg);
1057
+ width: ${T.size[2]};
1058
+ height: ${T.size[2]};
1059
+ }
1060
+ &:hover {
1061
+ background-color: ${a(n.gray[200],n.darkGray[500])};
1062
+ }
1063
+ &:focus-visible {
1064
+ outline-offset: 2px;
1065
+ outline: 2px solid ${n.blue[800]};
1066
+ }
1067
+ &.data-disabled {
1068
+ opacity: 0.6;
1069
+ cursor: not-allowed;
1070
+ }
1071
+ `,settingsMenuHeader:t`
1072
+ padding: ${T.size[1]} ${T.size[1]};
1073
+ font-weight: ${r.weight.medium};
1074
+ border-bottom: 1px solid ${a(n.gray[300],n.darkGray[400])};
1075
+ color: ${a(n.gray[500],n.gray[400])};
1076
+ font-size: ${r.size.xs};
1077
+ `,settingsSubButton:t`
1078
+ display: flex;
1079
+ align-items: center;
1080
+ justify-content: space-between;
1081
+ color: ${a(n.gray[700],n.gray[300])};
1082
+ font-size: ${r.size.xs};
1083
+ border-radius: ${T.border.radius.xs};
1084
+ padding: ${T.size[1]} ${T.size[1]};
1085
+ cursor: pointer;
1086
+ background-color: transparent;
1087
+ border: none;
1088
+ & svg {
1089
+ color: ${a(n.gray[600],n.gray[400])};
1090
+ }
1091
+ &:hover {
1092
+ background-color: ${a(n.gray[200],n.darkGray[500])};
1093
+ }
1094
+ &:focus-visible {
1095
+ outline-offset: 2px;
1096
+ outline: 2px solid ${n.blue[800]};
1097
+ }
1098
+ `,themeSelectedButton:t`
1099
+ background-color: ${a(n.purple[100],n.purple[900])};
1100
+ color: ${a(n.purple[700],n.purple[300])};
1101
+ & svg {
1102
+ color: ${a(n.purple[700],n.purple[300])};
1103
+ }
1104
+ &:hover {
1105
+ background-color: ${a(n.purple[100],n.purple[900])};
1106
+ }
1107
+ `,viewToggle:t`
1108
+ border-radius: ${T.border.radius.sm};
1109
+ background-color: ${a(n.gray[200],n.darkGray[600])};
1110
+ border: 1px solid ${a(n.gray[300],n.darkGray[200])};
1111
+ display: flex;
1112
+ padding: 0;
1113
+ font-size: ${r.size.xs};
1114
+ color: ${a(n.gray[700],n.gray[300])};
1115
+ overflow: hidden;
1116
+
1117
+ &:has(:focus-visible) {
1118
+ outline: 2px solid ${n.blue[800]};
1119
+ }
1120
+
1121
+ & .tsqd-radio-toggle {
1122
+ opacity: 0.5;
1123
+ display: flex;
1124
+ & label {
1125
+ display: flex;
1126
+ align-items: center;
1127
+ cursor: pointer;
1128
+ line-height: ${r.lineHeight.md};
1129
+ }
1130
+
1131
+ & label:hover {
1132
+ background-color: ${a(n.gray[100],n.darkGray[500])};
1133
+ }
1134
+ }
1135
+
1136
+ & > [data-checked] {
1137
+ opacity: 1;
1138
+ background-color: ${a(n.gray[100],n.darkGray[400])};
1139
+ & label:hover {
1140
+ background-color: ${a(n.gray[100],n.darkGray[400])};
1141
+ }
1142
+ }
1143
+
1144
+ & .tsqd-radio-toggle:first-child {
1145
+ & label {
1146
+ padding: 0 ${T.size[1.5]} 0 ${T.size[2]};
1147
+ }
1148
+ border-right: 1px solid ${a(n.gray[300],n.darkGray[200])};
1149
+ }
1150
+
1151
+ & .tsqd-radio-toggle:nth-child(2) {
1152
+ & label {
1153
+ padding: 0 ${T.size[2]} 0 ${T.size[1.5]};
1154
+ }
1155
+ }
1156
+ `,devtoolsEditForm:t`
1157
+ padding: ${o[2]};
1158
+ & > [data-error='true'] {
1159
+ outline: 2px solid ${a(n.red[200],n.red[800])};
1160
+ outline-offset: 2px;
1161
+ border-radius: ${l.radius.xs};
1162
+ }
1163
+ `,devtoolsEditTextarea:t`
1164
+ width: 100%;
1165
+ max-height: 500px;
1166
+ font-family: 'Fira Code', monospace;
1167
+ font-size: ${r.size.xs};
1168
+ border-radius: ${l.radius.sm};
1169
+ field-sizing: content;
1170
+ padding: ${o[2]};
1171
+ background-color: ${a(n.gray[100],n.darkGray[800])};
1172
+ color: ${a(n.gray[900],n.gray[100])};
1173
+ border: 1px solid ${a(n.gray[200],n.gray[700])};
1174
+ resize: none;
1175
+ &:focus {
1176
+ outline-offset: 2px;
1177
+ border-radius: ${l.radius.xs};
1178
+ outline: 2px solid ${a(n.blue[200],n.blue[800])};
1179
+ }
1180
+ `,devtoolsEditFormActions:t`
1181
+ display: flex;
1182
+ justify-content: space-between;
1183
+ gap: ${o[2]};
1184
+ align-items: center;
1185
+ padding-top: ${o[1]};
1186
+ font-size: ${r.size.xs};
1187
+ `,devtoolsEditFormError:t`
1188
+ color: ${a(n.red[700],n.red[500])};
1189
+ `,devtoolsEditFormActionContainer:t`
1190
+ display: flex;
1191
+ gap: ${o[2]};
1192
+ `,devtoolsEditFormAction:t`
1193
+ font-family: ui-sans-serif, Inter, system-ui, sans-serif, sans-serif;
1194
+ font-size: ${r.size.xs};
1195
+ padding: ${o[1]} ${T.size[2]};
1196
+ display: flex;
1197
+ border-radius: ${l.radius.sm};
1198
+ background-color: ${a(n.gray[100],n.darkGray[600])};
1199
+ border: 1px solid ${a(n.gray[300],n.darkGray[400])};
1200
+ align-items: center;
1201
+ gap: ${o[2]};
1202
+ font-weight: ${r.weight.medium};
1203
+ line-height: ${r.lineHeight.xs};
1204
+ cursor: pointer;
1205
+ &:focus-visible {
1206
+ outline-offset: 2px;
1207
+ border-radius: ${l.radius.xs};
1208
+ outline: 2px solid ${n.blue[800]};
1209
+ }
1210
+ &:hover {
1211
+ background-color: ${a(n.gray[200],n.darkGray[500])};
1212
+ }
1213
+
1214
+ &:disabled {
1215
+ opacity: 0.6;
1216
+ cursor: not-allowed;
1217
+ }
1218
+ `}},_t=e=>c1("light",e),Ft=e=>c1("dark",e);co(["click","mousedown","input"]);});var u1={};ln(u1,{default:()=>K3});var N3,K3,d1=Q(()=>{Pa();fo();N3=e=>{let[t,n]=Ri({prefix:"TanstackQueryDevtools"}),r=Ei(),o=F(()=>{let i=t.theme_preference||qi;return i!=="system"?i:r()});return x(Co.Provider,{value:e,get children(){return x(zi,{localStore:t,setLocalStore:n,get children(){return x(ko.Provider,{value:o,get children(){return x(a1,{localStore:t,setLocalStore:n})}})}})}})},K3=N3;});var f1={};ln(f1,{default:()=>G3});var B3,G3,p1=Q(()=>{Pa();fo();B3=e=>{let[t,n]=Ri({prefix:"TanstackQueryDevtools"}),r=Ei(),o=F(()=>{let i=t.theme_preference||qi;return i!=="system"?i:r()});return x(Co.Provider,{value:e,get children(){return x(zi,{disabled:!0,localStore:t,setLocalStore:n,get children(){return x(ko.Provider,{value:o,get children(){return x(l1,{get children(){return x(Wi,{localStore:t,setLocalStore:n,get onClose(){return e.onClose},showPanelViewOnly:!0})}})}})}})}})},G3=B3;});var br,_o,Fo,Do,jn,Lo,xr,wr,Sr,Cr,kr,Oo,Ir,Ao,m1,h1,Er,Ro,qo,zo,Wn,Vo,Pr,Tr,$r,Mr,_r,No,Fr,Dr,Ko,g1,y1,Ta=Q(()=>{fo();h1=(m1=class{constructor(e){Ie(this,br);Ie(this,_o);Ie(this,Fo);Ie(this,Do);Ie(this,jn,!1);Ie(this,Lo);Ie(this,xr);Ie(this,wr);Ie(this,Sr);Ie(this,Cr);Ie(this,kr);Ie(this,Oo);Ie(this,Ir);Ie(this,Ao);let{client:t,queryFlavor:n,version:r,onlineManager:o,buttonPosition:i,position:s,initialIsOpen:l,errorTypes:a,styleNonce:u,shadowDOMTarget:c,hideDisabledQueries:d}=e;xe(this,br,q(t)),xe(this,Fo,n),xe(this,Do,r),xe(this,_o,o),xe(this,Lo,u),xe(this,xr,c),xe(this,wr,q(i)),xe(this,Sr,q(s)),xe(this,Cr,q(l)),xe(this,kr,q(a)),xe(this,Oo,q(d));}setButtonPosition(e){ee(this,wr)[1](e);}setPosition(e){ee(this,Sr)[1](e);}setInitialIsOpen(e){ee(this,Cr)[1](e);}setErrorTypes(e){ee(this,kr)[1](e);}setClient(e){ee(this,br)[1](e);}mount(e){if(ee(this,jn))throw new Error("Devtools is already mounted");let t=As(()=>{let n=this,[r]=ee(this,wr),[o]=ee(this,Sr),[i]=ee(this,Cr),[s]=ee(this,kr),[l]=ee(this,Oo),[a]=ee(this,br),u;return ee(this,Ir)?u=ee(this,Ir):(u=Os(()=>Promise.resolve().then(()=>(d1(),u1))),xe(this,Ir,u)),Ks(ee(this,Lo),ee(this,xr)),x(u,ne({get queryFlavor(){return ee(n,Fo)},get version(){return ee(n,Do)},get onlineManager(){return ee(n,_o)},get shadowDOMTarget(){return ee(n,xr)}},{get client(){return a()},get buttonPosition(){return r()},get position(){return o()},get initialIsOpen(){return i()},get errorTypes(){return s()},get hideDisabledQueries(){return l()}}))},e);xe(this,jn,!0),xe(this,Ao,t);}unmount(){var e;if(!ee(this,jn))throw new Error("Devtools is not mounted");(e=ee(this,Ao))==null||e.call(this),xe(this,jn,!1);}},br=new WeakMap,_o=new WeakMap,Fo=new WeakMap,Do=new WeakMap,jn=new WeakMap,Lo=new WeakMap,xr=new WeakMap,wr=new WeakMap,Sr=new WeakMap,Cr=new WeakMap,kr=new WeakMap,Oo=new WeakMap,Ir=new WeakMap,Ao=new WeakMap,m1),y1=(g1=class{constructor(e){Ie(this,Er);Ie(this,Ro);Ie(this,qo);Ie(this,zo);Ie(this,Wn,!1);Ie(this,Vo);Ie(this,Pr);Ie(this,Tr);Ie(this,$r);Ie(this,Mr);Ie(this,_r);Ie(this,No);Ie(this,Fr);Ie(this,Dr);Ie(this,Ko);let{client:t,queryFlavor:n,version:r,onlineManager:o,buttonPosition:i,position:s,initialIsOpen:l,errorTypes:a,styleNonce:u,shadowDOMTarget:c,onClose:d,hideDisabledQueries:m}=e;xe(this,Er,q(t)),xe(this,qo,n),xe(this,zo,r),xe(this,Ro,o),xe(this,Vo,u),xe(this,Pr,c),xe(this,Tr,q(i)),xe(this,$r,q(s)),xe(this,Mr,q(l)),xe(this,_r,q(a)),xe(this,No,q(m)),xe(this,Fr,q(d));}setButtonPosition(e){ee(this,Tr)[1](e);}setPosition(e){ee(this,$r)[1](e);}setInitialIsOpen(e){ee(this,Mr)[1](e);}setErrorTypes(e){ee(this,_r)[1](e);}setClient(e){ee(this,Er)[1](e);}setOnClose(e){ee(this,Fr)[1](()=>e);}mount(e){if(ee(this,Wn))throw new Error("Devtools is already mounted");let t=As(()=>{let n=this,[r]=ee(this,Tr),[o]=ee(this,$r),[i]=ee(this,Mr),[s]=ee(this,_r),[l]=ee(this,No),[a]=ee(this,Er),[u]=ee(this,Fr),c;return ee(this,Dr)?c=ee(this,Dr):(c=Os(()=>Promise.resolve().then(()=>(p1(),f1))),xe(this,Dr,c)),Ks(ee(this,Vo),ee(this,Pr)),x(c,ne({get queryFlavor(){return ee(n,qo)},get version(){return ee(n,zo)},get onlineManager(){return ee(n,Ro)},get shadowDOMTarget(){return ee(n,Pr)}},{get client(){return a()},get buttonPosition(){return r()},get position(){return o()},get initialIsOpen(){return i()},get errorTypes(){return s()},get hideDisabledQueries(){return l()},get onClose(){return u()}}))},e);xe(this,Wn,!0),xe(this,Ko,t);}unmount(){var e;if(!ee(this,Wn))throw new Error("Devtools is not mounted");(e=ee(this,Ko))==null||e.call(this),xe(this,Wn,!1);}},Er=new WeakMap,Ro=new WeakMap,qo=new WeakMap,zo=new WeakMap,Wn=new WeakMap,Vo=new WeakMap,Pr=new WeakMap,Tr=new WeakMap,$r=new WeakMap,Mr=new WeakMap,_r=new WeakMap,No=new WeakMap,Fr=new WeakMap,Dr=new WeakMap,Ko=new WeakMap,g1);});function v1(e){let t=useQueryClient(e.client),n=Vt.useRef(null),{buttonPosition:r,position:o,initialIsOpen:i,errorTypes:s,styleNonce:l,shadowDOMTarget:a,hideDisabledQueries:u}=e,[c]=Vt.useState(new h1({client:t,queryFlavor:"React Query",version:"5",onlineManager:onlineManager,buttonPosition:r,position:o,initialIsOpen:i,errorTypes:s,styleNonce:l,shadowDOMTarget:a,hideDisabledQueries:u}));return Vt.useEffect(()=>{c.setClient(t);},[t,c]),Vt.useEffect(()=>{r&&c.setButtonPosition(r);},[r,c]),Vt.useEffect(()=>{o&&c.setPosition(o);},[o,c]),Vt.useEffect(()=>{c.setInitialIsOpen(i||!1);},[i,c]),Vt.useEffect(()=>{c.setErrorTypes(s||[]);},[s,c]),Vt.useEffect(()=>(n.current&&c.mount(n.current),()=>{c.unmount();}),[c]),jsx("div",{dir:"ltr",className:"tsqd-parent-container",ref:n})}var b1=Q(()=>{"use client";Ta();});function x1(e){let t=useQueryClient(e.client),n=Vt.useRef(null),{errorTypes:r,styleNonce:o,shadowDOMTarget:i,hideDisabledQueries:s}=e,[l]=Vt.useState(new y1({client:t,queryFlavor:"React Query",version:"5",onlineManager:onlineManager,buttonPosition:"bottom-left",position:"bottom",initialIsOpen:!0,errorTypes:r,styleNonce:o,shadowDOMTarget:i,onClose:e.onClose,hideDisabledQueries:s}));return Vt.useEffect(()=>{l.setClient(t);},[t,l]),Vt.useEffect(()=>{l.setOnClose(e.onClose??(()=>{}));},[e.onClose,l]),Vt.useEffect(()=>{l.setErrorTypes(r||[]);},[r,l]),Vt.useEffect(()=>(n.current&&l.mount(n.current),()=>{l.unmount();}),[l]),jsx("div",{style:{height:"500px",...e.style},className:"tsqd-parent-container",ref:n})}var w1=Q(()=>{"use client";Ta();});var S1,C1=Q(()=>{"use client";b1();w1();S1=process.env.NODE_ENV!=="development"?function(){return null}:v1,process.env.NODE_ENV!=="development"?function(){return null}:x1;});var k1,I1=Q(()=>{C1();k1=({children:e})=>{let[t]=useState(()=>new QueryClient({defaultOptions:{queries:{staleTime:3e5,gcTime:6e5,retry:3,retryDelay:n=>Math.min(1e3*2**n,3e4),refetchOnWindowFocus:!1,refetchOnReconnect:!0},mutations:{retry:1,retryDelay:1e3}}}));return jsxs(QueryClientProvider,{client:t,children:[e,process.env.NODE_ENV==="development"&&jsx(S1,{initialIsOpen:!1})]})};});var o4,E1,P1=Q(()=>{o4={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",projectGroup:"Project Group",view:"View"},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"},User:{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"},Role:{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"}},E1=o4;});var $a,Yn,Xn,Ma,Nt,hn=Q(()=>{$a="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1",Yn="App-ID",Xn="/console/",Ma=(r=>(r.V1="v1",r.V2="v2",r.V3="v3",r))(Ma||{}),Nt="*";});var T1,$1=Q(()=>{P1();T1=e=>({locale:E1,gameApiV2:!1,isGlobal:!1,signInPath:"/sign_in",mainPagePath:"/",permissionVersion:"v1",setContext(t){e(n=>({...n,...t}));}});});var M1,_1=Q(()=>{M1=e=>({setGameId:t=>{e({gameId:t});}});});var F1,D1=Q(()=>{F1=(e,t)=>({getUser:()=>{let n=t().token;if(n)try{return jwtDecode(n)}catch{return null}return null},setToken:n=>e({token:n})});});var L1,O1=Q(()=>{Zr();$1();_1();D1();L1=e=>createStore()(persist((...t)=>{let[,n,r]=t,o=()=>{n().setToken(""),r.persist.clearStorage();};return {...F1(...t),...M1(...t),...T1(...t),clearToken:o,...e}},{name:"toolkits",storage:createJSONStorage(()=>Dl),partialize:t=>({token:t.token,gameId:t.gameId,collapsed:t.collapsed})}));});function pe(e){let t=useContext(_a);if(!t)throw new Error("Missing ToolkitsProvider in the tree");return useStore(t,e||(n=>n))}var _a,Fa,it,p4,R1=Q(()=>{I1();O1();_a=createContext(null);Fa=e=>{let{children:t,...n}=e,r=useRef(),o=useContext(_a)?.getState();if(r.current||(r.current=L1({...o,...n})),!r.current.getState().signInPath)throw new Error('ToolkitsProvider: \u8BF7\u914D\u7F6E "signInPath"');return jsx(k1,{children:jsx(_a.Provider,{value:r.current,children:jsx(App,{children:t})})})},it=(e,t)=>{let n=r=>jsx(Fa,{...t,children:jsx(e,{...r})});return n.displayName=`withContext(${e.displayName||e.name||"Component"})`,n};process.env.NODE_ENV!=="production"&&(Fa.displayName="ToolkitsProvider");p4=Fa;});var ze=Q(()=>{R1();});function J(){let e=pe(n=>n.locale);return {t:useMemo(()=>(n,r)=>has(e,n)?template(get(e,n))(r):n,[e])}}var q1=Q(()=>{ze();});var Ae=Q(()=>{q1();});var $4,Uo,H1=Q(()=>{Ae();$4=e=>{let{extras:t,isConfirming:n,onConfirm:r,onReset:o,children:i,buttonsAlign:s="left",showReset:l}=e,{t:a}=J(),{token:{colorFillAlter:u,lineWidth:c,lineType:d,colorBorder:m,borderRadiusLG:p}}=theme.useToken();return jsx("div",{style:{maxWidth:"none",background:u,borderWidth:c,borderStyle:d,borderColor:m,borderRadius:p,padding:24,marginBottom:24},children:jsxs("div",{className:`flex ${s==="bottom"?"flex-col":"flex-row"}`,children:[jsx("div",{className:`${s==="left"?"flex-grow-0":"flex-1"}`,children:i}),jsx("div",{className:`${s==="bottom"?"text-end":"text-start"} ml-4`,children:jsxs(Space,{children:[jsx(Button,{type:"primary",loading:n,onClick:r,children:a("FilterFormWrapper.confirmText")}),t?.map(g=>jsx(Fragment$1,{children:g.children},g.key)),l&&jsx(Button,{onClick:o,children:a("FilterFormWrapper.resetText")})]})})]})})},Uo=$4;});var Xi=Q(()=>{H1();});function O4(e){let t=document.createElement("div"),n=createRoot(t);return new Promise(r=>{setTimeout(()=>{flushSync(()=>{n.render(e);}),r(t.innerHTML);});})}var L4,A4,Zn,Q1=Q(()=>{L4=e=>{let t=/(<[^>]*>)/;return e.split(t).filter(n=>n!=="")};A4=e=>{let{texts:t,children:n}=e,[r,o]=useState("");return useEffect(()=>{O4(n).then(i=>{let s=L4(i);for(let l of t)for(let a=0;a<s.length;a++)s[a]=s[a].replace(String(l),`<span style='color: #DC143C;'>${l}</span>`);o(s.join(""));});},[n,t]),jsx("div",{dangerouslySetInnerHTML:{__html:r}})},Zn=A4;});var Ho=Q(()=>{Q1();});var La,Zi,z4,Oa,V4,W1,N4,K4,me,Y1=Q(()=>{ze();hn();La=[0,1,200],Zi={OK:200,UNAUTHORIZED:401,FORBIDDEN:403,UNREGISTERED:412},z4=3e4,Oa=e=>!e||typeof e!="object"?"Unknown error":e.msg||e.message||e.error||"Unknown error",V4=e=>{let{value:t,allowedCodes:n}=e;return t==null||typeof t!="number"?!1:n.includes(t)},W1=(e,t)=>t>=Zi.OK&&t<300?!0:!e||typeof e!="object"?!1:[{field:"code",value:e.code,allowedCodes:La},{field:"status",value:e.status,allowedCodes:La},{field:"errno",value:e.errno,allowedCodes:La}].some(V4),N4=async(e,t)=>{switch(t){case"blob":return e.blob();case"text":return e.text();case"arrayBuffer":return e.arrayBuffer();case"formData":return e.formData();case"json":default:return e.json()}},K4=e=>async(t,n,r)=>{let o=r.headers.get("content-type")||"";if(e==="blob"||e==="arrayBuffer"||e==="text"||e==="formData")return r;if(o.includes("application/json")||e==="json"){let i=await r.json();if(W1(i,r.status)){let a=i.data!==void 0?i.data:i;return new Response(JSON.stringify(a),{status:r.status,statusText:r.statusText,headers:r.headers})}let s=Oa(i);notification.error({message:"Request failed",description:s});let l=new Error(s);throw l.response=r,l.data=i,l}return r},me=e=>{let t=pe(),{token:n,isGlobal:r,gameId:o,permissionVersion:i,signInPath:s,clearToken:l}=t,a=useCallback(()=>{l(),s&&(window.location.href=s);},[l,s]),u=useCallback(()=>{if(l(),s){let k=new URL(s,window.location.origin);k.searchParams.set("unregistered","true"),window.location.href=k.toString();}},[l,s]),c=useCallback(()=>{notification.error({message:"\u8BBF\u95EE\u88AB\u7981\u6B62",description:"\u60A8\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u6B64\u8D44\u6E90\u3002"});},[]),d=useCallback((k,I)=>{switch(k){case Zi.UNAUTHORIZED:a();break;case Zi.UNREGISTERED:u();break;case Zi.FORBIDDEN:c();break;default:{let E=Oa(I)||`HTTP ${k} Error`;notification.error({message:"Request failed",description:E});break}}},[a,u,c]),m=useMemo(()=>q4.create({prefixUrl:e,timeout:z4,headers:{Accept:"application/json","Content-Type":"application/json"},hooks:{beforeRequest:[I=>{n&&I.headers.set("Authorization",`Bearer ${n}`),!I.headers.has(Yn)&&i!=="v1"&&(r||!o?I.headers.set(Yn,"global"):I.headers.set(Yn,encodeURIComponent(String(o))));}],afterResponse:[async(I,E,C)=>{let $=C.headers.get("content-type")||"";if($.includes("application/octet-stream"))return C;if($.includes("application/json")){let V=await C.json();if(W1(V,C.status))return new Response(JSON.stringify(V),{status:C.status,statusText:C.statusText,headers:C.headers});let D=Oa(V);notification.error({message:"Request failed",description:D});let N=new Error(D);throw N.response=C,N.data=V,N}return C}],beforeError:[async I=>{let{response:E}=I;if(E){let C=E.status,$;try{(E.headers.get("content-type")||"").includes("application/json")&&($=await E.json());}catch{}d(C,$);}else notification.error({message:"Network Error",description:I.message||"Network request failed"});return I}]}}),[e,n,r,o,i,d]),p=useCallback(async(k,I,E,C)=>{let{responseType:$,...V}=C||{},D={...V,hooks:{...V.hooks,afterResponse:[...V.hooks?.afterResponse||[],K4($)]}},N;return E?N=await m(I,{method:k,json:E,...D}):N=await m(I,{method:k,...D}),N4(N,$)},[m]),f=useCallback((k,I)=>p("GET",k,void 0,I),[p]),g=useCallback((k,I,E)=>p("POST",k,I,E),[p]),v=useCallback((k,I,E)=>p("PUT",k,I,E),[p]),h=useCallback((k,I)=>p("DELETE",k,void 0,I),[p]),y=useCallback((k,I,E)=>p("PATCH",k,I,E),[p]),b=useCallback((k,I)=>p("OPTIONS",k,void 0,I),[p]),w=useCallback((k,I)=>p("HEAD",k,void 0,I),[p]),S=useCallback(k=>{let{url:I,...E}=k;return p(E.method||"GET",I,void 0,E)},[p]);return useMemo(()=>({get:f,post:g,put:v,delete:h,patch:y,options:b,head:w,request:S,instance:m}),[f,g,v,h,y,b,w,S,m])};});var Kt=Q(()=>{Y1();});var oe,Fn=Q(()=>{oe={permissions:{check:(e,t)=>["permissions","check",e,t],allPermissions:["permissions","all"],allPermissionsV2:["permissions","allV2"]},users:{all:["users"],detail:e=>["users","detail",e],create:["users","create"],update:["users","update"],delete:["users","delete"]},roles:{all:["roles"],detail:(e,t)=>["roles","detail",e,t],create:e=>["roles","create",e],update:e=>["roles","update",e],delete:["roles","delete"]},menus:{all:["menus"],navbar:e=>["menus","navbar",e],detail:e=>["menus","detail",e],create:["menus","create"],update:["menus","update"],delete:["menus","delete"]},enums:{gameGroups:["enums","gameGroups"],gameIds:e=>["enums","gameIds",e]}};});function Dt(e,t){let n=me(),{permissionVersion:r}=pe(),o=r!=="v1"?"/api/usystem/user/checkV2":"/api/usystem/user/check",i=typeof e<"u"?typeof e=="string"?[e]:e:[],s=r!=="v1"?"v2":"v1",{data:l,...a}=useQuery({queryKey:i.length>0?oe.permissions.check(i,s):["permissions","disabled"],queryFn:()=>n.post(o,{json:{permissions:i},...t}),enabled:i.length>0}),u=!0;return typeof e=="string"?u=l?.has_all?!0:l?.[e]??!1:Array.isArray(e)&&e.length>0&&(u=i.reduce((c,d)=>(c[d]=l?.has_all?!0:l?.[d]??!1,c),{})),{...a,data:u}}function Ji(){let{signInPath:e,gameId:t}=pe(),n=me();return useQuery({queryKey:oe.menus.navbar(t?String(t):void 0),queryFn:()=>n.get("/api/usystem/menu/navbar",{headers:{[Yn]:t?encodeURIComponent(String(t)):"global"}}),enabled:window.location.pathname!==e})}var Dn,xt=Q(()=>{ze();hn();Kt();Fn();Dn=()=>{let{gameApiV2:e,permissionVersion:t}=pe(o=>o),n=me(),r=t!=="v1"?e?"/api/game/list":"/api/usystem/game/all":null;return useQuery({queryKey:oe.enums.gameGroups,queryFn:async()=>{if(!r)return [];let o={headers:{[Yn]:"global"}};return e?(await n.get(r,o))?.list??[]:await n.get(r,o)??[]},enabled:!!r,staleTime:1/0})};});var Ka,Ba=Q(()=>{Ka=create((e,t)=>({open:new Map,usedIds:new Set,isOpen:n=>t().open.get(n)??!1,show(n){e({open:new Map(t().open).set(n,!0)});},hide(n){e({open:new Map(t().open).set(n,!1)});},hideAll(){e({open:new Map});},checkUniqueness(n){let{usedIds:r}=t();return !r.has(n)},registerIds(n){let{usedIds:r}=t();return r.has(n)?!1:(e({usedIds:new Set(r).add(n)}),!0)},cleanup(n){let{open:r,usedIds:o}=t(),i=new Map(r),s=new Set(o);i.delete(n),s.delete(n),e({open:i,usedIds:s});}}));});function Ga(e){let{content:t,onConfirm:n,afterOpen:r,afterClose:o,...i}=e,s=useMemo(()=>si(),[]),{show:l,hide:a,isOpen:u,cleanup:c}=Ka();useEffect(()=>()=>{c(s);},[s,c]);let d=u(s),[m,p]=useState(!1),f=typeof t=="function",g=useCallback(async()=>{l(s),await r?.();},[s,l,r]),v=useCallback(()=>{a(s);},[s,a]),h=useCallback(async()=>{v(),await o?.();},[v,o]),y=useCallback(async()=>{try{p(!0),await n?.(),v(),await o?.();}catch(w){throw console.error("Modal confirm error:",w),w}finally{p(!1);}},[n,v,o]),b=jsx(Modal,{...i,open:d,confirmLoading:m,onOk:y,onCancel:h,children:f?t({hide:v}):t});return {id:s,show:g,hide:v,modal:b}}var Ua=Q(()=>{Zr();Ba();});function vn(e){let{content:t,form:n,formProps:r,onConfirm:o,onSuccess:i,afterClose:s,...l}=e,[a,u]=useState({}),[c]=Form.useForm();c=n||c;let d=typeof t=="function",{id:m,show:p,hide:f,modal:g}=Ga({...l,content:h=>jsx(Form,{...r,form:c,children:d?t(a,h):t}),onConfirm:async()=>{try{let h=await c.validateFields();await o?.(h,a),i?.(),f();}catch(h){throw console.error("Form validation or submission error:",h),h}},afterClose:()=>{s?.(c);}}),v=useCallback(h=>{let{initialValues:y,extraValues:b}=h||{};b&&u(b),y&&c.setFieldsValue(y),p();},[c,p]);return {id:m,show:v,hide:f,modal:g}}var h0=Q(()=>{Ua();});var is=Q(()=>{h0();Ua();Ba();});var d6,wt,y0=Q(()=>{Ae();xt();d6=e=>{let{children:t,code:n,showLoading:r,disabled:o,config:i,...s}=e,l=n?Array.isArray(n)?n:[n]:[],{data:a,isLoading:u}=Dt(l,i),{t:c}=J();return u?jsx(Button,{loading:r,disabled:!r,...s,children:t}):typeof a=="boolean"||a&&Object.values(a).some(Boolean)?jsx(Button,{disabled:o,...s,children:t}):jsx(Tooltip,{defaultOpen:!1,title:c("global.noEntitlement"),children:jsx(Button,{disabled:!0,...s,children:t})})},wt=d6;});var zr=Q(()=>{y0();});var g6,h6,st,as=Q(()=>{g6=()=>create()(devtools(subscribeWithSelector((e,t)=>({instances:new Map,registerInstance(n,r,o,i){e(s=>{let l=s.instances.get(n);if(l){let c={...l,refetch:i},d=new Map(s.instances);return d.set(n,c),{instances:d}}let a={id:n,url:r,queryKey:o,payload:{page:1,size:10,formValue:{}},refetch:i},u=new Map(s.instances);return u.set(n,a),{instances:u}});},unregisterInstance(n){e(r=>{let o=new Map(r.instances);return o.delete(n)?{instances:o}:r});},updatePayload(n,r){e(o=>{let i=o.instances.get(n);if(!i)return o;let s={...i.payload,...r};if(!isEqual(i.payload,s)){let l={...i,payload:s},a=new Map(o.instances);return a.set(n,l),{instances:a}}return o});},getPayload(n){return t().instances.get(n)?.payload??{page:1,size:10,formValue:{}}},async refetch(n,r){let o=t().instances.get(n);if(!o){console.warn(`QueryList instance with id "${n}" not found`);return}if(r){let i=o.payload,s={...i,...r};isEqual(i,s)||t().updatePayload(n,r);}try{await o.refetch();}catch(i){throw console.error(`Failed to refetch QueryList instance "${n}":`,i),i}},getInstance(n){return t().instances.get(n)},getAllInstances(){return Array.from(t().instances.values())}})),{name:"query-list-store"})),h6=g6(),st=h6;});var S0,I6,E6,bn,C0=Q(()=>{Xi();Ae();Kt();xt();as();S0=(o=>(o[o.Confirm=0]="Confirm",o[o.Reset=1]="Reset",o[o.Jump=2]="Jump",o[o.Init=3]="Init",o))(S0||{}),I6=(e,t)=>{let n={defaultSize:10,refreshInterval:0,getTotal:Y=>Y?.total,getDataSource:Y=>Y?.list,...e},{identifier:r,code:o,onePage:i,buttonsAlign:s,showReset:l,defaultSize:a,refreshInterval:u,tableExtra:c,form:d,request:m,renderForm:p,afterSuccess:f,afterError:g,getTotal:v,getDataSource:h,footer:y,pageSizeOptions:b,...w}=n;if(!r)throw new Error("identifier property is required");let{url:S,method:k="GET",body:I,params:E,headers:C,cacheTime:$=5*60*1e3,staleTime:V=30*1e3}=m,{t:D}=J(),[N]=Form.useForm(d),B=useRef(3),{data:re,isLoading:we}=Dt(o),[ge,ce]=useState(!1),Pe=st(),Le=me(),Re=useRef(!1),{page:be,size:Te=a,formValue:M}=Pe.getPayload(r),ke={page:be,size:Te,formValue:M},ae=useMemo(()=>({...M,...!i&&{page:be,size:Te}}),[M,i,be,Te]),Ue=useMemo(()=>typeof I=="function"?I(ke):I??(k==="POST"?ae:void 0),[I,ke,k,ae]),Z=useMemo(()=>typeof E=="function"?E(ke):E??(k==="GET"?ae:void 0),[E,ke,k,ae]),He=useMemo(()=>typeof C=="function"?C(N):C,[C,N]),Oe=useRef(!1),Ct=useMemo(()=>{let Y=["queryList",S,r];return !re||!ge?[...Y,"disabled"]:[...Y,be,Te,JSON.stringify(M)]},[S,r,re,ge,be,Te,M]),{data:Ve,isLoading:at,refetch:kt}=useQuery({queryKey:Ct,queryFn:async()=>{try{let Y={method:k,searchParams:Z,headers:He};Ue&&(Ue instanceof FormData?Y.body=Ue:Y.json=Ue);let de=await Le.request({url:S,...Y});return Oe.current=!0,f?.(B.current,N,de),de}catch(Y){let de=Y instanceof Error?Y:new Error(String(Y));throw g?.(de,B.current,N),de}},enabled:re&&ge,retry:(Y,de)=>!(Y>=3||de?.message?.includes("401")),retryDelay:Y=>Math.min(1e3*2**Y,3e4),refetchOnWindowFocus:!1,refetchInterval:Oe.current?u:0,gcTime:$,staleTime:V});useEffect(()=>(st.getState().registerInstance(r,S,Ct,kt),()=>{st.getState().unregisterInstance(r);}),[r]);let lt=h(Ve,N),ct=v(Ve),ft=!i&&{pageSizeOptions:b,showSizeChanger:!0,showQuickJumper:!0,current:be,pageSize:Te,total:ct,onChange:async(Y,de)=>{B.current=2,st.getState().refetch(r,{page:Y,size:de});}},A=useCallback(async()=>{B.current=0;try{await N.validateFields(),ce(!0),st.getState().refetch(r,{page:1,formValue:N.getFieldsValue()});}catch{ce(!1);}},[N,r]),X=useCallback(async()=>{B.current=1,N.resetFields();try{await N.validateFields({validateOnly:!0}),ce(!0),st.getState().refetch(r,{page:1,formValue:N.getFieldsValue()});}catch{ce(!1);}},[N,r]),ue=typeof p=="function"?jsx(Uo,{showReset:l,buttonsAlign:s,isConfirming:at,onReset:X,onConfirm:A,children:cloneElement(p(N),{onKeyUp:Y=>{Y.key==="Enter"&&A();}})}):jsx(Form,{form:N}),ye=typeof c=="function"?c(N,Ve):c,fe=y?()=>y(Ve):void 0;return useEffect(()=>{let Y=async()=>{if(!(!re||Re.current))try{N.resetFields();let Se=await N.validateFields({validateOnly:!0});st.getState().refetch(r,{page:1,formValue:Se}),ce(!0),Re.current=!0;}catch{ce(!1),Re.current=!0;}},de=setTimeout(()=>{Y();},300);return ()=>{clearTimeout(de);}},[re,r]),useImperativeHandle(t,()=>({data:Ve,dataSource:lt,form:N,refetch:kt})),we?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}}):re?jsxs("div",{children:[ue,ye,jsx(Table,{...w,dataSource:lt,loading:at,pagination:ft,footer:fe})]}):jsx(Result,{status:403,subTitle:D("global.noEntitlement")})},E6=forwardRef(I6),bn=E6;});var Vr=Q(()=>{C0();as();});var Wa,k0=Q(()=>{Wa="/api/usystem/menu/list";});function I0(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.menus.create,mutationFn:n=>e.post("/api/usystem/menu/set",{...n,id:0,is_model:!0}),onSuccess:()=>{t.invalidateQueries({queryKey:oe.menus.all}),t.invalidateQueries({queryKey:oe.menus.navbar()});}})}function E0(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.menus.update,mutationFn:n=>e.post("/api/usystem/menu/set",{...n,is_model:!0}),onSuccess:()=>{t.invalidateQueries({queryKey:oe.menus.all}),t.invalidateQueries({queryKey:oe.menus.navbar()});}})}function P0(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.menus.delete,mutationFn:n=>e.post("/api/usystem/menu/delete",null,{searchParams:{id:n}}),onSuccess:()=>{t.invalidateQueries({queryKey:oe.menus.all}),t.invalidateQueries({queryKey:oe.menus.navbar()});}})}var Za=Q(()=>{Kt();Fn();});var ls=Q(()=>{k0();Za();});var $0={};ln($0,{default:()=>z6});var q6,z6,M0=Q(()=>{Ho();Ae();Vr();ze();ls();Za();xt();q6=it(()=>{let{t:e}=J(),{message:t}=App.useApp(),n=P0(),r=st(),{refetch:o}=Ji(),i=useNavigate();return jsx(Fragment,{children:jsx(Card,{title:"\u83DC\u5355\u7BA1\u7406",extra:jsx(Button,{type:"primary",onClick:()=>{i("./create");},children:"\u521B\u5EFA\u83DC\u5355\u9879"}),children:jsx(bn,{identifier:"menu-item-list",onePage:!0,code:"9900001",rowKey:"id",columns:[{title:"\u83DC\u5355\u540D\u79F0",dataIndex:"category",key:"category"},{title:"\u524D\u7AEF\u8DEF\u7531",dataIndex:"front_route"},{title:"Order",dataIndex:"order"},{title:"Is Common",dataIndex:"is_common",key:"is_common",render:l=>l?"\u662F":"\u5426"},{title:"\u6A21\u677F\u540D\u79F0",dataIndex:"model_name",key:"model_name"},{title:"\u64CD\u4F5C",key:"action",width:150,align:"center",render(l,a){return a.is_model?jsxs(Space,{size:"small",children:[jsx(Button,{type:"link",onClick:()=>{i(`./update/${a.id}`);},children:e("global.update")}),jsx(Popconfirm,{title:"\u5220\u9664\u83DC\u5355",placement:"topRight",description:jsxs(Zn,{texts:[a.category],children:["\u786E\u5B9A\u8981\u5220\u9664\u83DC\u5355 ",a.category," \u5417\uFF1F"]}),onConfirm:async()=>{await n.mutate(a.id),r.getAllInstances().filter(u=>u.url===Wa).forEach(u=>r.refetch(u.id)),o(),t.success("\u5220\u9664\u6210\u529F");},children:jsx(Button,{danger:!0,type:"link",size:"small",children:e("global.delete")})})]}):null}}],request:{url:Wa,method:"GET"},getDataSource:l=>l})})})},{isGlobal:!0}),z6=q6;});var L0={};ln(L0,{default:()=>Q6});var H6,Q6,O0=Q(()=>{ze();hn();ls();H6=it(()=>{let{message:e}=App.useApp(),[t]=Form.useForm(),n=useNavigate(),{mutate:r}=I0();return jsx(Card,{title:"\u521B\u5EFA\u83DC\u5355\u9879",children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:async i=>{let{permissions:s,front_route:l,...a}=i;await r({...a,front_route:Xn+l,permissions:s?JSON.parse(s):void 0}),e.success("\u521B\u5EFA\u6210\u529F",.8,()=>n("..",{relative:"route"}));},children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Xn})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{n("..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),Q6=H6;});var z0={};ln(z0,{default:()=>rv});var nv,rv,V0=Q(()=>{ze();hn();ls();Kt();Fn();xt();nv=it(()=>{let{message:e}=App.useApp(),[t]=Form.useForm(),n=useNavigate(),{mutate:r}=E0(),o=useParams(),{refetch:i}=Ji(),s=me(),{data:l,isLoading:a}=useQuery({queryKey:oe.menus.detail(Number(o.id)),queryFn:()=>s.get(`/api/usystem/menu/info?id=${o.id}`),enabled:!!o.id}),u=async c=>{let{permissions:d,front_route:m,...p}=c;await r({...p,permissions:d?JSON.parse(d):void 0,front_route:Xn+m,id:+o.id}),i(),e.success("\u66F4\u65B0\u6210\u529F",.8,()=>n("../..",{relative:"route"}));};return useEffect(()=>{let{permissions:c,front_route:d,...m}=l??{},p=JSON.stringify(c||[],null,2),f=d?.replace(Xn,"");t.setFieldsValue({...m,permissions:p,front_route:f});},[l,t]),jsx(Card,{title:"\u66F4\u65B0\u83DC\u5355\u9879",loading:a,children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:u,children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Xn})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{n("../..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),rv=nv;});function fs(){let e=me();return useQuery({queryKey:oe.roles.all,queryFn:()=>e.get("/api/usystem/role/all")})}function G0(e){let t=pe(o=>o.permissionVersion),n=me(),r=t==="v2"?"v2":"v1";return useQuery({queryKey:oe.roles.detail(e,r),queryFn:()=>n.get(`/api/usystem/role/${r==="v2"?"infoV2":"info"}?name=${e}`)})}function U0(){let{permissionVersion:e}=pe(o=>o),t=me(),n=useQueryClient(),r=e==="v2"?"v2":"v1";return useMutation({mutationKey:oe.roles.create(r),mutationFn:({name:o,permissions:i})=>t.post(r==="v2"?"/api/usystem/role/createV2":"/api/usystem/role/create",{name:o,permissions:i}),onSuccess:()=>{n.invalidateQueries({queryKey:oe.roles.all});}})}function H0(){let{permissionVersion:e}=pe(o=>o),t=me(),n=useQueryClient(),r=e==="v2"?"v2":"v1";return useMutation({mutationKey:oe.roles.update(r),mutationFn:({id:o,name:i,permissions:s})=>t.post(r==="v2"?"/api/usystem/role/updateV2":"/api/usystem/role/update",{id:o,name:i,permissions:s}),onSuccess:()=>{n.invalidateQueries({queryKey:oe.roles.all});}})}function Q0(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.roles.delete,mutationFn:({id:n,name:r})=>e.post("/api/usystem/role/delete",{id:n,name:r}),onSuccess:()=>{t.invalidateQueries({queryKey:oe.roles.all});}})}function ol(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.users.create,mutationFn:n=>e.post("/api/usystem/user/create",n),onSuccess:()=>{t.invalidateQueries({queryKey:oe.users.all});}})}function il(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.users.update,mutationFn:n=>e.post("/api/usystem/user/update",n),onSuccess:()=>{t.invalidateQueries({queryKey:oe.users.all});}})}function j0(){let e=me(),t=useQueryClient();return useMutation({mutationKey:oe.users.delete,mutationFn:({id:n,name:r})=>e.post("/api/usystem/user/delete",{id:n,name:r}),onSuccess:()=>{t.invalidateQueries({queryKey:oe.users.all});}})}function W0(){let e=me();return useQuery({queryKey:oe.permissions.allPermissions,queryFn:()=>e.get("/api/usystem/user/allPermssions"),staleTime:1/0})}function Y0(){let e=me();return useQuery({queryKey:oe.permissions.allPermissionsV2,queryFn:()=>e.get("/api/usystem/user/allPermssionsV2"),staleTime:1/0})}var Gr=Q(()=>{ze();Kt();Fn();});var kv,Zo,cl=Q(()=>{Ae();kv=e=>{let{permissions:t,readonly:n,expand:r,value:o,onChange:i}=e,[s,l]=useState([]),[a,u]=useState({}),[c,d]=useState(o??[]),{t:m}=J(),[,p]=useTransition(),f=useCallback(y=>{l(y);},[]),g=(y,b)=>{let w=[];return y?w=[...new Set(c.concat(b))]:(w=c.slice(),b.forEach(S=>{let k=w.findIndex(I=>I===S);k>-1&&w.splice(k,1);})),w},v=(y,b)=>{let w=g(y.target.checked,b);d(w),i?.(w);};useEffect(()=>{d(o??[]);},[o]),useEffect(()=>{r&&p(()=>{l((t??[]).map(({category:y})=>y));});},[r,t]),useEffect(()=>{let y=(t??[]).reduce((b,w)=>(b[w.category]=w.permissions.every(S=>c?.includes(S.value)),b),{});u(y);},[c,t]);let h=(t??[]).map(y=>({key:y.category,label:y.category,extra:!n&&jsx(Checkbox,{checked:a[y.category],onChange:b=>{v(b,y.permissions?.map(w=>w.value));},children:m("global.selectAll")}),children:jsx(Checkbox.Group,{style:{width:"100%"},value:c,disabled:n,children:jsx(Row,{gutter:[10,10],style:{width:"100%"},children:y.permissions?.map(b=>jsx(Col,{span:6,children:jsx(Checkbox,{value:b.value,onChange:w=>{v(w,[b.value]);},children:b.label})},b.value))})})}));return jsx(Collapse,{style:{width:"100%"},collapsible:"header",activeKey:s,items:h,onChange:f})},Zo=kv;});var ul,_v,Fv,nf,rf=Q(()=>{Ae();xt();Gr();cl();(({Text:ul}=Typography)),{Option:_v}=Select,Fv=e=>{let{expand:t=!0,value:n,readonly:r,onChange:o}=e,{data:i,isLoading:s,error:l}=Y0(),{data:a,isLoading:u}=Dn(),[c,d]=useState([]),m=i?.filter(y=>y.is_common),p=i?.filter(y=>!y.is_common),f=s||u,{t:g}=J();if(useEffect(()=>{let y=[];Object.keys(n??{}).forEach(b=>{b!=="global"&&y.push({gameId:b,permissions:n?.[b]??[]});}),d(y);},[n]),l)return jsx("div",{className:"flex justify-center",children:jsx(ul,{type:"danger",children:g("PermissionList.failedDescription")})});let v=()=>{d(y=>[...y,{gameId:"",permissions:[]}]);},h=y=>{d(b=>b.filter((w,S)=>S!==y));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:!0,children:g("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:!0,loading:f,children:jsx(Zo,{value:n?.global,readonly:r,permissions:m,expand:t,onChange:y=>{o?.({...n,global:y});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:!0,children:g("PermissionList.gameSectionTitle")})}),c.map((y,b)=>jsx(Card,{title:jsxs(Space,{children:[jsx(ul,{children:g("global.game")}),r?jsx(ul,{children:a?.find(w=>String(w.id)===y.gameId)?.name}):jsx(Select,{disabled:r,value:c[b].gameId||void 0,style:{width:"160px"},placeholder:g("PermissionList.gameSelectPlaceholder"),onChange:w=>{d(S=>{let k=S.slice();return k[b].gameId=w,k});},children:a?.map(w=>jsx(_v,{value:w.id,disabled:c.some(({gameId:S})=>S===String(w.id)),children:w.name},w.id))})]}),className:"mb-6",extra:!r&&jsx(Button,{type:"link",onClick:()=>{h(b);},children:g("PermissionList.removeText")}),children:c[b].gameId?jsx(Skeleton,{active:!0,loading:f,children:jsx(Zo,{value:n?.[c[b].gameId],readonly:r,expand:t,permissions:p,onChange:w=>{o?.({...n,[c[b].gameId]:w});}})}):jsx(Empty,{description:g("PermissionList.gameSectionDescription")})},b)),!r&&jsx(Button,{block:!0,type:"dashed",onClick:v,children:g("PermissionList.addText")})]})},nf=Fv;});var Ov,Av,of,sf=Q(()=>{Ae();Gr();cl();(({Text:Ov}=Typography)),Av=e=>{let{expand:t=!0,value:n,readonly:r,onChange:o}=e,{data:i,isLoading:s,error:l}=W0(),{t:a}=J();return l?jsx("div",{className:"flex justify-center",children:jsx(Ov,{type:"danger",children:a("PermissionList.failedDescription")})}):jsx(Skeleton,{active:!0,loading:s,children:jsx(Zo,{value:n,permissions:i,readonly:r,expand:t,onChange:o})})},of=Av;});var Rv,Hr,dl=Q(()=>{ze();rf();sf();Rv=e=>{let{value:t}=e;console.log("value",typeof t,t===null,JSON.stringify(t));let{permissionVersion:n}=pe();return n==="v2"?jsx(nf,{...e,value:t}):jsx(of,{...e,value:t})},Hr=Rv;});var lf=Q(()=>{dl();});var uf,gs,pf=Q(()=>{Ae();is();dl();Gr();uf=({onSuccess:e}={})=>{let{t}=J(),{mutateAsync:n}=U0();return vn({title:t("Role.createTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Hr,{})})]}),onConfirm:async r=>{await n({name:`role_${r.name}`,permissions:r.permissions}),e?.();}})},gs=({onSuccess:e}={})=>{let{t}=J(),{mutateAsync:n}=H0();return vn({title:t("Role.updateTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0,addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Hr,{})})]}),onConfirm:async(r,o)=>{await n({id:o?.id,name:`role_${r.name}`,permissions:r.permissions}),e?.();}})};});var Gv,Uv,yf,vf,fl,bf,xf,hs,wf=Q(()=>{Ae();is();hn();Kt();Fn();Gr();Gv=e=>{let{onChange:t,...n}=e,r=me(),{data:o,isLoading:i}=useQuery({queryKey:oe.enums.gameGroups,queryFn:()=>r.get("/api/enum/get?enum=game_group&type=all")}),s=[{label:"\u901A\u7528",value:Nt}].concat(o?.map(a=>({label:a,value:a}))??[]);return jsx(Select,{...n,allowClear:!0,showSearch:!0,mode:"tags",optionFilterProp:"label",loading:i,options:s,onChange:a=>{last(a)===Nt?t?.([Nt]):first(a)===Nt?t?.(a.slice(1)):t?.(a);}})},Uv=e=>{let{groups:t,onChange:n,...r}=e,o=me(),{data:i,isLoading:s}=useQuery({queryKey:oe.enums.gameIds(t||[]),queryFn:()=>o.get(`/api/enum/game_group/get_game_ids?game_groups=${t?.join(",")}`).then(u=>u?.list),enabled:!!t?.length}),l=i?.map(u=>({label:u.name,value:u.id}));return jsx(Select,{...r,allowClear:!0,showSearch:!0,optionFilterProp:"label",mode:"tags",loading:s,options:l,onChange:u=>{last(u)===Nt?n?.([Nt]):first(u)===Nt?n?.(u.slice(1)):n?.(u);}})},yf=({onSuccess:e}={})=>{let{t}=J(),{data:n,isLoading:r}=fs(),{mutateAsync:o}=ol();return vn({title:t("User.createTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:n?.map(i=>({label:i.name,value:i.name}))})})]}),onConfirm:async i=>{await o(i),e?.();}})},vf=({onSuccess:e}={})=>{let{t}=J(),{data:n,isLoading:r}=fs(),{mutateAsync:o}=il();return vn({title:t("User.updateTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:n?.map(i=>({label:i.name,value:i.name}))})})]}),onConfirm:async(i,s)=>{await o({...i,id:s?.id}),e?.();}})},{Text:fl}=Typography,bf=({isCreate:e})=>{let{t}=J(),{data:n,isLoading:r}=fs();return jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!e})}),jsx(Form.List,{name:"permissions",children:(o,{add:i,remove:s})=>jsxs(Row,{gutter:8,children:[jsx(Col,{span:8,className:"text-center mb-4",children:jsx(fl,{strong:!0,children:t("global.projectGroup")})}),jsx(Col,{span:10,className:"text-center mb-4",children:jsx(fl,{strong:!0,children:t("global.game")})}),jsx(Col,{span:6,className:"text-center mb-4",children:jsx(fl,{strong:!0,children:t("global.role")})}),o.map(l=>jsxs(Fragment$1,{children:[jsx(Col,{span:8,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:!0,children:({setFieldValue:a})=>jsx(Form.Item,{name:[l.name,"game_group"],children:jsx(Gv,{onChange:()=>{a(["permissions",l.name,"game_ids"],[]);}})})})}),jsx(Col,{span:10,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:(a,u)=>a.permissions[l.name]?.game_group!==u.permissions[l.name]?.game_group,children:({getFieldValue:a})=>{let u=a(["permissions",l.name,"game_group"]);return jsx(Form.Item,{name:[l.name,"game_ids"],dependencies:[["permissions",l.name,"game_group"]],rules:[{required:u?.length,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(Uv,{groups:u})})}})}),jsx(Col,{span:6,children:jsxs("div",{className:"flex",children:[jsx("div",{className:"flex-1",children:jsx(Form.Item,{name:[l.name,"role"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272"},({getFieldValue:a})=>({validator(u,c){return a("permissions").filter((p,f)=>!!p&&f!==l.name).some(p=>p.role===c)?Promise.reject(new Error("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\u89D2\u8272")):Promise.resolve()}})],children:jsx(Select,{allowClear:!0,showSearch:!0,optionFilterProp:"label",loading:r,options:n?.map(a=>({label:a.name,value:a.name}))})})}),jsx("div",{className:"w-8 text-center",children:jsx(Form.Item,{children:jsx(MinusCircleOutlined,{onClick:()=>{s(l.name);}})})})]})})]},l.key)),o.length===0&&jsx(Col,{span:24,children:jsx(Empty,{className:"mb-6"})}),jsx(Col,{span:24,children:jsx(Button,{block:!0,type:"dashed",onClick:()=>i(),children:t("global.add")})})]})})]})},xf=({onSuccess:e}={})=>{let{t}=J(),{mutateAsync:n}=ol();return vn({title:t("User.createTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(bf,{isCreate:!0}),onConfirm:async r=>{await n(r),e?.();}})},hs=({onSuccess:e}={})=>{let{t}=J(),{mutateAsync:n}=il();return vn({title:t("User.updateTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(bf,{}),onConfirm:async(r,o)=>{await n({...r,id:o?.id}),e?.();}})};});var Sf=Q(()=>{pf();wf();});var Cf=Q(()=>{});var ei=Q(()=>{lf();Sf();Gr();Cf();});var $f={};ln($f,{default:()=>e7});var Pf,Jv,e7,Mf=Q(()=>{Ho();Ae();zr();Vr();ze();ei();Pf="/api/usystem/user/list",Jv=()=>{let{modal:e,message:t}=App.useApp(),{t:n}=J(),r=j0(),o=st(),{permissionVersion:i}=pe(h=>h),s=i==="v1",l=i==="v3",{show:a,modal:u}=yf({onSuccess(){o.refetch("user-list",{page:1}),t.success(n("User.createSuccessfully"));}}),{show:c,modal:d}=vf({onSuccess(){o.refetch("user-list"),t.success(n("User.updateSuccessfully"));}}),{show:m,modal:p}=xf({onSuccess(){o.refetch("user-list",{page:1}),t.success(n("User.createSuccessfully"));}}),{show:f,modal:g}=hs({onSuccess(){o.refetch("user-list"),t.success(n("User.updateSuccessfully"));}}),v=[{title:n("global.name"),dataIndex:"name",key:"name",render(h,y){return l?jsx(Link,{to:`./${y.id}`,children:h}):h}},{title:"ID",dataIndex:"id",key:"id"},(s||l)&&{title:n("global.role"),dataIndex:"roles",key:"roles",width:"40%",render(h){return jsx(Row,{gutter:[4,4],children:(h||[]).map(y=>jsx(Col,{children:y==="root"?jsx(Tag,{color:"#f50",children:y}):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${y}`,children:y})})},y))})}},{title:n("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:n("global.operation"),width:150,align:"center",render:(h,y)=>{let{name:b,permissions:w,roles:S,id:k}=y;return jsxs(Space,{children:[jsx(wt,{size:"small",type:"link",code:"100003",onClick:()=>{l?f({initialValues:{name:b,permissions:w},extraValues:{id:k}}):c({initialValues:{name:b,roles:S},extraValues:{id:k}});},children:n("global.update")}),jsx(wt,{danger:!0,size:"small",code:"100004",type:"link",onClick:()=>{e.confirm({title:n("User.deleteTitle"),content:jsx(Zn,{texts:[b],children:n("User.deleteContent",{user:b})}),async onOk(){await r.mutate({id:k,name:b}),o.getAllInstances().filter(I=>I.url===Pf).forEach(I=>o.refetch(I.id)),t.success(n("User.deleteSuccessfully"));}});},children:n("global.delete")})]})}}].filter(Boolean);return jsxs(Fragment,{children:[jsx(Card,{title:n("global.user"),extra:jsx(wt,{type:"primary",icon:jsx(UserAddOutlined,{}),code:"100002",onClick:()=>{l?m():a();},children:n("User.createTitle")}),children:jsx(bn,{identifier:"user-list",code:"100001",request:{url:Pf,method:"GET"},rowKey:"id",columns:v,getTotal:h=>h?.Total,getDataSource:h=>h?.List,renderForm:l?h=>jsx(Form,{form:h,children:jsx(Form.Item,{label:"\u540D\u79F0",name:"name",children:jsx(Input,{})})}):void 0})}),u,d,p,g]})},e7=it(Jv,{isGlobal:!0});});var Lf={};ln(Lf,{default:()=>c7});var l7,c7,Of=Q(()=>{Ae();zr();ze();hn();ei();Kt();Fn();xt();l7=()=>{let{message:e}=App.useApp(),t=useParams(),{t:n}=J(),{gameApiV2:r}=pe(p=>p),o=me(),{data:i,isLoading:s,refetch:l}=useQuery({queryKey:oe.users.detail(t.id||""),queryFn:()=>o.get(`/api/usystem/user/info?id=${t.id}`),enabled:!!t.id}),{data:a}=Dn(),{data:u}=Dt("200005"),{show:c,modal:d}=hs({onSuccess(){l(),e.success(n("User.updateSuccessfully"));}}),m=[{key:"group",title:n("global.projectGroup"),dataIndex:"game_group",render(p){return p.map(f=>jsx(Tag,{children:f===Nt?"\u901A\u7528":f},f))}},{key:"game",title:n("global.game"),dataIndex:"game_ids",render(p){return p.map(f=>{let g=a?.find(v=>String(r?v.game_id:v.id)===f);return jsx(Tag,{children:g?.name??(f===Nt?"\u901A\u7528":f)},f)})}},{key:"role",title:n("global.role"),dataIndex:"role",render(p){return u?jsx(Link,{to:`../../role/${p}`,relative:"path",children:p}):p}}];return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:n("global.user")})},{key:"2",title:"\u7528\u6237\u8BE6\u60C5"}]}),jsx(Card,{title:"\u7528\u6237\u8BE6\u60C5",loading:s,extra:jsx(wt,{code:"100003",onClick:()=>{c({initialValues:{name:i?.name,permissions:i?.permissions},extraValues:{id:i.id}});},children:n("global.update")}),children:jsxs(Descriptions,{bordered:!0,column:1,children:[jsx(Descriptions.Item,{label:n("global.name"),children:i?.name}),jsx(Descriptions.Item,{label:"ID",children:i?.id}),jsx(Descriptions.Item,{label:n("global.role"),children:jsx(Table,{rowKey:"role",columns:m,dataSource:i?.permissions,pagination:!1})})]})}),d]})},c7=l7;});var qf={};ln(qf,{default:()=>v7});var h7,y7,v7,zf=Q(()=>{Ho();Ae();zr();Vr();as();ze();ei();Kt();xt();h7="/api/usystem/role/list",y7=()=>{let{modal:e,message:t}=App.useApp(),{data:n}=Dt("200005"),{t:r}=J(),{permissionVersion:o}=pe(f=>f),{refetch:i}=st(),s=me(),{show:l,modal:a}=uf({onSuccess(){i("role-list",{page:1}),t.success(r("Role.createSuccessfully"));}}),{show:u,modal:c}=gs({onSuccess(){i("role-list"),t.success(r("Role.updateSuccessfully"));}}),d=Q0(),m=async f=>{let g=await s.get(`/api/usystem/role/info${o==="v2"?"V2":""}?name=${f.name}`);u({initialValues:{permissions:g.permissions,name:g.name.replace(/^role_/,"")},extraValues:{id:g?.id}});},p=[{title:r("global.name"),key:"name",render(f){return n?jsx(Link,{to:`${f.name}`,relative:"path",children:f.name}):jsx(Fragment,{children:f.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:r("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:r("global.operation"),width:150,align:"center",render:(f,g)=>jsxs(Space,{size:"small",children:[jsx(wt,{code:"200003",size:"small",type:"link",onClick:async()=>{m(g);},children:r("global.update")}),jsx(wt,{danger:!0,code:"200004",size:"small",type:"link",onClick:()=>{e.confirm({title:r("Role.deleteTitle"),content:jsx(Zn,{texts:[g.name],children:r("Role.deleteContent",{role:g.name})}),async onOk(){await d.mutate({id:g.id,name:g.name}),i("role-list"),t.success(r("Role.deleteSuccessfully"));}});},children:r("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:r("global.role"),extra:jsx(wt,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),onClick:()=>{l();},children:r("Role.createTitle")}),children:jsx(bn,{identifier:"role-list",rowKey:"name",columns:p,code:"200001",request:{url:h7,method:"GET"},getTotal:f=>f?.Total,getDataSource:f=>f?.List})}),a,c]})},v7=it(y7,{isGlobal:!0});});var Vf={};ln(Vf,{default:()=>T7});var P7,T7,Nf=Q(()=>{Ae();zr();ze();ei();Fn();P7=()=>{let{message:e}=App.useApp(),t=useParams(),{t:n}=J(),r=useQueryClient(),{permissionVersion:o}=pe(),{data:i,isLoading:s}=G0(t.name),{show:l,modal:a}=gs({onSuccess(){let c=o==="v2"?"v2":"v1";r.invalidateQueries({queryKey:oe.roles.detail(t.name,c)}),e.success(n("Role.updateSuccessfully"));}}),u=async()=>{l({initialValues:{permissions:i?.permissions,name:i?.name.replace(/^role_/,"")},extraValues:{id:i.id}});};return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:n("global.role")})},{key:"2",title:n("RoleDetail.title")}]}),jsx(Card,{title:n("RoleDetail.title"),extra:jsx(wt,{code:"200003",onClick:u,children:n("global.update")}),children:jsxs(Skeleton,{loading:s,children:[jsxs(Descriptions,{column:2,layout:"vertical",className:"mb-6",children:[jsx(Descriptions.Item,{label:n("global.name"),children:i?.name}),jsx(Descriptions.Item,{label:"ID",children:i?.id}),jsx(Descriptions.Item,{label:n("global.creationTime"),children:i?.ctime})]}),jsx(Divider,{}),jsx(Hr,{readonly:!0,value:i?.permissions})]})}),a]})},T7=it(P7,{isGlobal:!0});});Zr();var ws=create((e,t)=>({open:new Map,usedIds:new Set,isOpen:n=>t().open.get(n)??!1,show(n){e({open:new Map(t().open).set(n,!0)});},hide(n){e({open:new Map(t().open).set(n,!1)});},hideAll(){e({open:new Map});},checkUniqueness(n){let{usedIds:r}=t();return !r.has(n)},registerIds(n){let{usedIds:r}=t();return r.has(n)?!1:(e({usedIds:new Set(r).add(n)}),!0)},cleanup(n){let{open:r,usedIds:o}=t(),i=new Map(r),s=new Set(o);i.delete(n),s.delete(n),e({open:i,usedIds:s});}}));function Cs(e){let{content:t,onConfirm:n,afterOpen:r,afterClose:o,footer:i,confirmText:s="\u786E\u8BA4",cancelText:l="\u53D6\u6D88",confirmButtonProps:a,cancelButtonProps:u,...c}=e,d=useMemo(()=>si(),[]),{show:m,hide:p,isOpen:f,cleanup:g}=ws();useEffect(()=>()=>{g(d);},[d,g]);let v=f(d),[h,y]=useState(!1),b=typeof t=="function",w=useCallback(async()=>{m(d),await r?.();},[d,m,r]),S=useCallback(()=>{p(d);},[d,p]),k=useCallback(async()=>{S(),await o?.();},[S,o]),I=useCallback(async()=>{try{y(!0),await n?.();}catch($){throw console.error("Drawer confirm error:",$),$}finally{y(!1);}},[n]),E=i!==void 0?i:jsxs("div",{className:"flex gap-4 mx-4",children:[jsx(Button,{type:"primary",loading:h,...a,onClick:I,children:s}),jsx(Button,{...u,onClick:k,children:l})]}),C=jsx(Drawer,{...c,open:v,footer:E,onClose:k,children:b?t({hide:S}):t});return {id:d,show:w,hide:S,confirmLoading:h,drawer:C}}function op(e){let{content:t,form:n,formProps:r,onConfirm:o,onSuccess:i,afterClose:s,...l}=e,[a,u]=useState({}),[c]=Form.useForm();c=n||c;let d=typeof t=="function",{id:m,show:p,hide:f,drawer:g}=Cs({...l,content:h=>jsx(Form,{...r,form:c,children:d?t(a,h):t}),onConfirm:async()=>{try{let h=await c.validateFields();await o?.(h,a),i?.(),f();}catch(h){throw console.error("Form validation or submission error:",h),h}},afterClose:()=>{s?.(c);}}),v=useCallback(h=>{let{initialValues:y,extraValues:b}=h||{};b&&u(b),y&&c.setFieldsValue(y),p();},[c,p]);return {id:m,show:v,hide:f,drawer:g}}Ae();var x4=e=>{let{initialTags:t,addable:n,removable:r,addCallback:o,removeCallback:i}=e,{t:s}=J(),{token:l}=theme.useToken(),[a,u]=useState([]),[c,d]=useState(!1),[m,p]=useState(""),[f,g]=useState(-1),[v,h]=useState(""),y=useRef(null),b=useRef(null);useEffect(()=>{u(t??[]);},[t]),useEffect(()=>{c&&y.current?.focus();},[c]),useEffect(()=>{b.current?.focus();},[m]);let w=async D=>{if(await i?.(D)){let B=a.filter(re=>re!==D);u(B);}},S=()=>{d(!0);},k=D=>{p(D.target.value);},I=async()=>{m&&a.indexOf(m)===-1&&await o?.(m)&&u([...a,m]),d(!1),p("");},E=D=>{h(D.target.value);},C=()=>{let D=[...a];D[f]=v,u(D),g(-1),p("");},$={width:78,verticalAlign:"top"},V={background:l.colorBgContainer,borderStyle:"dashed"};return jsxs(Space,{wrap:!0,size:[0,8],children:[jsx(Space,{wrap:!0,size:[0,8],children:a.map((D,N)=>f===N?jsx(Input,{ref:b,size:"small",style:$,value:v,onChange:E,onBlur:C,onPressEnter:C},D):jsx(Tag,{closable:r,style:{userSelect:"none"},onClose:async B=>{B.preventDefault(),await w(D);},children:jsx("span",{onDoubleClick:B=>{N!==0&&(g(N),h(D),B.preventDefault());},children:D})},D))}),n&&(c?jsx(Input,{ref:y,type:"text",size:"small",style:$,value:m,onChange:k,onBlur:I,onPressEnter:I}):jsxs(Tag,{style:V,onClick:S,children:[jsx(PlusOutlined,{}),"\xA0",s("global.add")]}))]})},w4=x4;var k4=e=>{let{children:t,...n}=e,[r,o]=useState(!1);return jsx(Typography.Paragraph,{...n,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:r,onExpand:(i,s)=>{o(s.expanded);}},children:t})},Yi=k4;Xi();Ho();Xi();Ae();Kt();xt();var H4=()=>create()(devtools(subscribeWithSelector((e,t)=>({instances:new Map,registerInstance(n,r,o,i,s){e(l=>{let a=l.instances.get(n);if(a){let d={...a,refetch:i,fetchNextPage:s},m=new Map(l.instances);return m.set(n,d),{instances:m}}let u={id:n,url:r,queryKey:o,payload:{page:0,formValue:{}},refetch:i,fetchNextPage:s},c=new Map(l.instances);return c.set(n,u),{instances:c}});},unregisterInstance(n){e(r=>{let o=new Map(r.instances);return o.delete(n)?{instances:o}:r});},updatePayload(n,r){e(o=>{let i=o.instances.get(n);if(!i)return o;let s={...i.payload,...r};if(!isEqual(i.payload,s)){let l={...i,payload:s},a=new Map(o.instances);return a.set(n,l),{instances:a}}return o});},getPayload(n){return t().instances.get(n)?.payload??{page:0,formValue:{}}},async refetch(n,r){let o=t().instances.get(n);if(!o){console.warn(`InfiniteList instance with id "${n}" not found`);return}if(r){let i=o.payload,s={...i,...r};isEqual(i,s)||t().updatePayload(n,r);}try{await o.refetch();}catch(i){throw console.error(`Failed to refetch InfiniteList instance "${n}":`,i),i}},async fetchNextPage(n){let r=t().instances.get(n);if(!r){console.warn(`InfiniteList instance with id "${n}" not found`);return}try{await r.fetchNextPage();}catch(o){throw console.error(`Failed to fetch next page for InfiniteList instance "${n}":`,o),o}},getInstance(n){return t().instances.get(n)},getAllInstances(){return Array.from(t().instances.values())}})),{name:"infinite-list-store"})),Q4=H4(),tn=Q4;var o5=(e,t)=>{let n={refreshInterval:0,getDataSource:X=>X?X.flatMap(ue=>ue?.list||ue||[]):[],getHasMore:X=>{if(!X)return !1;let ue=X;return ue?.hasMore||ue?.has_more||!1},getNextPageParam:(X,ue,ye)=>(Y=>{if(!Y)return !1;let de=Y;return de?.hasMore||de?.has_more||!1})(X)?ue.length:void 0,initialPageParam:0,...e},{identifier:r,code:o,buttonsAlign:i,showReset:s,refreshInterval:l,request:a,tableExtra:u,renderForm:c,afterSuccess:d,afterError:m,getDataSource:p,getNextPageParam:f,initialPageParam:g,footer:v,form:h,...y}=n,{t:b}=J(),[w]=Form.useForm(h),[S,k]=useState(!1),I=useRef(!1),E=useRef(3),C=me(),{data:$,isLoading:V}=Dt(o),D=useCallback(()=>tn.getState().getPayload(r),[r]),N=useMemo(()=>w,[w]),{url:B,method:re="GET",body:we,params:ge,headers:ce,cacheTime:Pe=5*60*1e3,staleTime:Le=0}=a,Re=useMemo(()=>typeof ce=="function"?ce(N):ce,[ce,N]),be=useMemo(()=>{let X=D();return [B,r,$,S,X,Re]},[B,r,$,S,D,Re]),{data:Te,fetchNextPage:M,hasNextPage:ke,isFetchingNextPage:ae,refetch:Ue,isFetching:Z}=useInfiniteQuery({queryKey:be,queryFn:async({pageParam:X=g})=>{try{let ue=D(),ye=typeof ge=="function"?ge(ue,X):ge,fe=typeof we=="function"?we(ue,X):we,Y={method:re,searchParams:ye,headers:Re};fe&&(fe instanceof FormData?Y.body=fe:Y.json=fe);let de=await C.request({url:B,...Y});return I.current=!0,d?.(E.current,N,[de]),de}catch(ue){let ye=ue instanceof Error?ue:new Error(String(ue));throw m?.(ye,E.current,N),ye}},initialPageParam:g,getNextPageParam:(X,ue)=>f?.(X,ue,g),enabled:$&&S,retry:(X,ue)=>!(X>=3||ue?.message?.includes("401")),retryDelay:X=>Math.min(1e3*2**X,3e4),refetchOnWindowFocus:!1,refetchInterval:I.current?l:0,gcTime:Pe,staleTime:Le});useEffect(()=>(tn.getState().registerInstance(r,B,be,Ue,M),()=>{tn.getState().unregisterInstance(r);}),[r,B,be,Ue,M]);let He=p(Te?.pages,N),Oe=ae,Ct=!ke,Ve=!He||He.length===0,at=async()=>{E.current=0;let X=await w.getFieldsValue();try{await w.validateFields(),k(!0),tn.getState().updatePayload(r,{page:0,formValue:X}),Ue();}catch{k(!1);}},kt=()=>{E.current=2,M();},lt=async()=>{E.current=1;try{w.resetFields();let X=await w.getFieldsValue();tn.getState().updatePayload(r,{page:0,formValue:X}),await w.validateFields({validateOnly:!0}),Ue();}catch{}};if(useEffect(()=>{setTimeout(()=>{$&&w.validateFields({validateOnly:!0}).then(X=>{k(!0),tn.getState().updatePayload(r,{page:0,formValue:X});}).catch(()=>{k(!1);});},300);},[$,w,r]),useImperativeHandle(t,()=>({data:Te?.pages,dataSource:He,form:w,refetch:()=>tn.getState().refetch(r),fetchNextPage:()=>tn.getState().fetchNextPage(r),hasNextPage:!!ke,isFetchingNextPage:ae})),V)return jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}});if(!$)return jsx(Result,{status:403,subTitle:b("global.noEntitlement")});let ct=v&&(()=>v(Te?.pages)),ft=()=>typeof u=="function"?u(N,Te?.pages):u,A=typeof c=="function"?jsx(Uo,{showReset:s,buttonsAlign:i,isConfirming:Z,onReset:lt,onConfirm:at,children:cloneElement(c(w),{onKeyUp:X=>{X.key==="Enter"&&at();}})}):jsx(Form,{form:w});return jsxs(Fragment,{children:[A,ft(),jsx(Table,{...y,dataSource:He,loading:Z,pagination:!1,footer:ct}),!Ve&&jsx(Button,{block:!0,loading:Oe,type:"link",htmlType:"button",disabled:Oe||Ct,onClick:kt,children:b(Oe?"InfiniteList.loadingText":Ct?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})]})},i5=forwardRef(o5),s5=i5;var t0=create()(persist((e,t)=>({openKeys:[],setOpenKeys:n=>{let r=t();(r.openKeys.length!==n.length||!r.openKeys.every((o,i)=>o===n[i]))&&e({openKeys:n});},selectedKeys:[],setSelectedKeys:n=>{let r=t();(r.selectedKeys.length!==n.length||!r.selectedKeys.every((o,i)=>o===n[i]))&&e({selectedKeys:n});}}),{name:"nav",storage:createJSONStorage(()=>localStorage),partialize:e=>({openKeys:e.openKeys,selectedKeys:e.selectedKeys}),skipHydration:!1,version:1}));var n0=memo(({to:e,children:t})=>jsx(Link,{to:e,children:t}));n0.displayName="MemoizedLink";function es(e){let t=[];if(e)for(let n=0;n<e.length;n++)if(e[n]===null||e[n].type==="divider")t[n]=e[n];else if(e[n].children){let{children:r,...o}=e[n];t[n]={...o,children:es(r)};}else {let{route:r,label:o,...i}=e[n],s=r?jsx(n0,{to:r,children:o}):o;t[n]={...i,label:s};}return t}function ts(e,t=[],n=[]){for(let r of e){let o=r?.children;if(Array.isArray(o)){let i=r.type!=="group"&&r.key?[...n,r.key]:n;ts(o,t,i);}else r&&t.push(Object.assign(r,{keypath:n}));}return t}var s0=memo(function(t){let{items:n=[],theme:r,loading:o}=t,i=useLocation(),s=useRef(),l=useRef(),a=useMemo(()=>s.current===n?s.current?ts(s.current):[]:(s.current=n,ts(n)),[n]),u=useMemo(()=>s.current===n?s.current?es(s.current):[]:es(n),[n]),{openKeys:c,selectedKeys:d,setOpenKeys:m,setSelectedKeys:p}=t0(),f=useCallback(g=>{let v=g.find(h=>!c.includes(h));if(v){let h=a.find(b=>b.key===v),y=h?.keypath?[...h.keypath,v]:[v];m(y);}else m(g);},[a,c,m]);return useEffect(()=>{if(l.current===i.pathname)return;l.current=i.pathname;let g=a.find(v=>i.pathname===v.route);if(g){let v=g.key,h=g.keypath;(d[0]!==v||!c.every((y,b)=>y===h[b]))&&(p([v]),m(h));}},[a,i.pathname,d,c,p,m]),o?jsx("div",{className:"flex justify-center items-center",style:{height:"calc(100vh - 64px)"},children:jsx(Spin,{})}):jsx(Menu,{theme:r,style:{borderRight:"none"},items:u,mode:"inline",openKeys:c,selectedKeys:d,onOpenChange:f})});process.env.NODE_ENV==="development"&&(s0.displayName="NavMenu");var za=s0;Ae();ze();xt();var {Spin:S5}=jo,C5=({children:e})=>{let{permissionVersion:t,gameId:n,isGlobal:r}=pe(s=>s),{isLoading:o}=Dn(),{t:i}=J();return o?jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:400},children:jsx(S5,{})}):t==="v1"||r?e:n?jsx(Fragment$1,{children:e},n):jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:i("RequireGame.description")})},Va=C5;ze();Ae();ze();var $5=()=>{let{t:e}=J(),t=useNavigate(),{clearToken:n,getUser:r,signInPath:o}=pe(c=>c),i=r(),s=()=>{n(),t(o);},l=c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),s());},a=c=>{(c.key==="Enter"||c.key===" ")&&c.preventDefault();},u=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{role:"button",tabIndex:0,onClick:s,onKeyDown:l,children:e("UserWidget.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:!0,items:u},placement:"bottomRight",children:jsx("a",{role:"button",tabIndex:0,onClick:c=>{c.preventDefault();},onKeyDown:a,children:jsxs(Space,{align:"center",children:[jsx("span",{children:i?.authorityId}),jsx(UserOutlined,{style:{fontSize:"16px"}})]})})})})},Na=$5;Ae();ze();xt();var{Text:A5}=Typography,R5=e=>{let{filter:t,options:n}=e,{t:r}=J(),{gameApiV2:o,gameId:i,setGameId:s}=pe(f=>f),{data:l,isLoading:a}=Dn(),u=useQueryClient(),c=l?.filter(f=>t?.(f)??!0),d=typeof n=="function"?n(c):c?.map(f=>({label:f.name,value:o?f.game_id:f.id})),m=f=>{p(),s(f);},p=()=>{u.removeQueries({predicate:f=>{let g=f.queryKey;return !g.includes("/api/game/list")&&!g.includes("/api/usystem/game/all")}});};return useEffect(()=>{if(l&&l.length>0){let f=o?l[0].game_id:l[0].id;l.every(g=>String(g.game_id||g.id)!==String(i))&&s(f);}},[l]),jsxs(Space,{children:[jsx(A5,{children:r("GameSelect.label")}),jsx(Select,{showSearch:!0,optionFilterProp:"label",value:i,placeholder:r("GameSelect.placeholder"),loading:a,style:{width:"200px"},options:d,onChange:m})]})},c0=R5;var V5=e=>jsx("img",{src:z5,alt:"logo",...e}),Rr=V5;var d0=memo(({title:e,subtitle:t,mainPagePath:n,collapsed:r})=>jsxs("div",{className:"px-6 py-2 font-bold relative bg-gradient-to-r from-white to-gray-50/30",style:{height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[jsxs("div",{className:`flex items-center w-full ${r?"justify-center":""}`,children:[jsx(Link,{to:n,className:"hover:opacity-80 transition-all duration-300 ease-out block rounded-lg p-1 hover:bg-white/50 hover:shadow-sm",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?.8:1,transform:"translateX(0)"},children:jsx(Rr,{width:36,style:{objectFit:"contain",display:"block",filter:"drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05))",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}})}),e&&jsx("div",{className:"ml-4 overflow-hidden min-w-0",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?0:1,width:r?"0px":"auto",marginLeft:r?"0px":"16px",transform:r?"translateX(-8px)":"translateX(0)"},children:jsx(Link,{to:n,className:"text-xl leading-tight hover:text-blue-600 transition-all duration-300 font-bold text-ellipsis overflow-hidden whitespace-nowrap block bg-gradient-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent hover:from-blue-600 hover:to-blue-500",title:e,style:{letterSpacing:"0.02em",textShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},children:e})})]}),jsx("div",{className:"w-full mt-2 overflow-hidden",style:{height:t&&!r?"20px":"1px",transition:"height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:jsxs("div",{className:"flex items-center justify-center h-full w-full",children:[jsx("div",{className:"w-full border-t border-gray-200 absolute",style:{opacity:!t||r?1:0,transition:"opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}}),t&&jsxs("div",{className:"flex items-center w-full text-sm",style:{opacity:r?0:1,transform:r?"translateY(-3px)":"translateY(0)",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:[jsx("div",{className:"flex-1 border-t border-gray-200"}),jsx("span",{className:"px-3 text-gray-500 font-medium whitespace-nowrap",title:t,children:t}),jsx("div",{className:"flex-1 border-t border-gray-200"})]})]})})]}));d0.displayName="LayoutHeader";var f0=d0;var {Spin:j5,theme:W5}=jo,{Header:Y5,Sider:X5,Content:Z5}=jo.Layout,J5=e=>{let{collapsible:t,isMenuLoading:n,items:r,headerExtra:o,children:i,navWidth:s,filter:l,gameSelectOptions:a,title:u,subtitle:c}=e,{token:{colorBgContainer:d,colorBorder:m}}=W5.useToken(),{permissionVersion:p,navWidth:f,collapsible:g,mainPagePath:v,collapsed:h,setContext:y,isGlobal:b}=pe(),[w,S]=useState(h),k=async()=>{S(!w),y({collapsed:!w});},I=t??g??!1;return jsxs(jo.Layout,{children:[jsxs(X5,{collapsible:I,theme:"light",trigger:null,collapsed:w,width:s??f,style:{height:"100vh",overflowX:"hidden",overflowY:"auto",borderRightWidth:1,borderRightStyle:"solid",borderRightColor:m,transition:"all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:[jsx(f0,{title:u,subtitle:c,mainPagePath:v,collapsed:w||!1}),jsx(za,{items:r,loading:n})]}),jsxs(jo.Layout,{children:[jsx(Y5,{style:{padding:"0 24px",background:d},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:[I&&jsx(Button,{type:"text",icon:w?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),style:{fontSize:"16px"},onClick:k}),p!=="v1"&&!b&&jsx(c0,{filter:l,options:a}),o?.left?.map(E=>jsx("span",{children:E.children},E.key))]}),jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),children:[o?.right?.map(E=>jsx("span",{children:E.children},E.key)),jsx(Na,{})]})]})}),jsx(Z5,{style:{overflow:"auto",padding:"24px 16px",maxHeight:"calc(100vh - 64px)",transition:"margin-left 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:jsx(Suspense,{fallback:jsx(j5,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"200px"}}),children:jsx(Va,{children:i})})})]})]})},e6=J5;is();zr();Vr();Ae();xt();var M6=e=>{let{code:t,config:n,children:r}=e,{data:o,isLoading:i}=Dt(t,n),{t:s}=J();return i?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:200}}):o?jsx(Fragment,{children:r}):jsx(Result,{status:"403",subTitle:s("global.noEntitlement")})},_6=M6;ze();hn();var iv=lazy(()=>Promise.resolve().then(()=>(M0(),$0))),sv=lazy(()=>Promise.resolve().then(()=>(O0(),L0))),av=lazy(()=>Promise.resolve().then(()=>(V0(),z0))),lv=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(iv,{})}),jsx(Route,{path:"create",element:jsx(sv,{})}),jsx(Route,{path:"update/:id",element:jsx(av,{})})]});Ae();var pv=e=>{let{redirectUrl:t}=e,n=useNavigate(),{t:r}=J();return jsx("div",{className:"h-screen flex justify-center items-center",children:jsx(Result,{status:"404",title:"404",subTitle:r("NotFound.subTitle"),extra:t&&jsx(Button,{type:"primary",onClick:()=>{n(t);},children:r("NotFound.buttonText")})})})},mv=pv;Ae();Vr();ze();var {Option:N0}=Select,yv=()=>{let{t:e}=J(),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(n){return jsx(Yi,{children:n})}},{key:"response",title:e("global.response"),dataIndex:"response",render(n){return jsx(Yi,{children:n})}},{key:"creation_time",title:e("global.creationTime"),dataIndex:"ctime",width:200,render(n){return hv(n).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(bn,{identifier:"operation-log-list",rowKey:"id",code:"300001",columns:t,tableLayout:"fixed",request:{url:"/api/usystem/log/list",method:"GET"},getTotal:n=>n?.Total,getDataSource:n=>n?.List,renderForm:n=>jsxs(Form,{form:n,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(N0,{value:"get",children:"GET"}),jsx(N0,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:e("global.label"),name:"label",children:jsx(Input,{allowClear:!0})})]})})})},vv=it(yv,{isGlobal:!0});var F7=lazy(()=>Promise.resolve().then(()=>(Mf(),$f))),D7=lazy(()=>Promise.resolve().then(()=>(Of(),Lf))),L7=lazy(()=>Promise.resolve().then(()=>(zf(),qf))),O7=lazy(()=>Promise.resolve().then(()=>(Nf(),Vf))),A7=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Navigate,{to:"user"})}),jsx(Route,{path:"user",element:jsx(F7,{})}),jsx(Route,{path:"user/:id",element:jsx(D7,{})}),jsx(Route,{path:"role",element:jsx(L7,{})}),jsx(Route,{path:"role/:name",element:jsx(O7,{})})]});Ae();ze();hn();var Kf='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';ze();Kt();function Gf(){let e=me(),{setToken:t}=pe(),{ticket:n,unregisteredFromUrl:r}=useMemo(()=>{let c=new URLSearchParams(window.location.search);return {ticket:c.get("ticket"),unregisteredFromUrl:c.get("unregistered")==="true"}},[]),[o,i]=useState(r),{data:s,isLoading:l,error:a}=useQuery({queryKey:["ticket-login",n],queryFn:()=>e.get(`/api/usystem/user/login?ticket=${n}`),enabled:!!n,retry:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1});useEffect(()=>{s?.token?t(s.token):a&&"response"in a&&a.response?.status===403&&i(!0);},[s,a,t]);let u=useMemo(()=>()=>{if(i(!1),r){let c=new URL(window.location.href);c.searchParams.delete("unregistered"),window.history.replaceState({},"",c.toString());}},[r]);return {hasTicket:!!n,isLoading:l,error:a,isUnregistered:o,dismissUnregistered:u}}var j7=({extra:e,title:t})=>{let{token:n,mainPagePath:r}=pe(a=>a),{t:o}=J(),{isLoading:i,isUnregistered:s,dismissUnregistered:l}=Gf();if(i)return jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})});if(n){let a=!!window.location.hash,u=r;return a?(window.location.href=`${window.location.origin}${window.location.pathname}#${u}`,null):jsx(Navigate,{replace:!0,to:r})}return jsxs("div",{className:"w-screen h-screen relative flex overflow-hidden",children:[jsx("div",{className:"absolute top-16 right-16 z-10",children:e}),jsx("div",{className:"absolute left-14 top-6",children:jsxs(Space,{align:"center",children:[jsx(Rr,{width:48}),t&&jsx("span",{className:"text-2xl font-bold",children:t})]})}),jsx("div",{className:"flex-1 flex justify-center items-center bg-slate-50",children:jsx("img",{src:Kf,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:s&&jsx(Alert,{banner:!0,closable:!0,message:o("SignIn.unregistered"),type:"error",onClose:l})}),jsx(Typography.Title,{level:2,children:o("SignIn.welcome")}),jsx("div",{className:"mt-4",children:jsxs(Form,{layout:"vertical",autoComplete:"off",children:[jsx(Form.Item,{label:o("global.username"),name:"username",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:o("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:o("global.signIn")})})]})}),jsx(Divider,{plain:!0,dashed:!0,children:o("SignIn.thirdParty")}),jsx("div",{className:"flex justify-center items-center",children:jsxs(Button,{block:!0,shape:"round",href:`${$a}/logout?service=${$a}/login?service=${window.location.href}`,target:"_self",children:[jsx(Rr,{width:18}),o("SignIn.signInWithIDass")]})})]})})})})]})},W7=j7;xt();Zr();/*! Bundled license information:
1219
+
1220
+ @tanstack/query-devtools/build/chunk/ZDWCUMSJ.js:
1221
+ (*! Bundled license information:
1222
+
1223
+ @tanstack/match-sorter-utils/build/lib/index.mjs:
1224
+ (**
1225
+ * match-sorter-utils
1226
+ *
1227
+ * Copyright (c) TanStack
1228
+ *
1229
+ * This source code is licensed under the MIT license found in the
1230
+ * LICENSE.md file in the root directory of this source tree.
1231
+ *
1232
+ * @license MIT
1233
+ *)
1234
+ (**
1235
+ * @name match-sorter
1236
+ * @license MIT license.
1237
+ * @copyright (c) 2099 Kent C. Dodds
1238
+ * @author Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)
1239
+ *)
1240
+
1241
+ @kobalte/utils/dist/index.js:
1242
+ (*!
1243
+ * Portions of this file are based on code from ariakit.
1244
+ * MIT Licensed, Copyright (c) Diego Haz.
1245
+ *
1246
+ * Credits to the Ariakit team:
1247
+ * https://github.com/ariakit/ariakit/blob/da142672eddefa99365773ced72171facc06fdcb/packages/ariakit-utils/src/array.ts
1248
+ *)
1249
+ (*!
1250
+ * Original code by Chakra UI
1251
+ * MIT Licensed, Copyright (c) 2019 Segun Adebayo.
1252
+ *
1253
+ * Credits to the Chakra UI team:
1254
+ * https://github.com/chakra-ui/chakra-ui/blob/main/packages/utils/src/assertion.ts
1255
+ *)
1256
+ (*!
1257
+ * Portions of this file are based on code from react-spectrum.
1258
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1259
+ *
1260
+ * Credits to the React Spectrum team:
1261
+ * https://github.com/solidjs-community/solid-aria/blob/2c5f54feb5cfea514b1ee0a52d0416878f882351/packages/utils/src/createGlobalListeners.ts
1262
+ *)
1263
+ (*!
1264
+ * Portions of this file are based on code from ariakit.
1265
+ * MIT Licensed, Copyright (c) Diego Haz.
1266
+ *
1267
+ * Credits to the Ariakit team:
1268
+ * https://github.com/ariakit/ariakit/blob/232bc79018ec20967fec1e097a9474aba3bb5be7/packages/ariakit-utils/src/dom.ts
1269
+ *)
1270
+ (*!
1271
+ * Portions of this file are based on code from react-spectrum.
1272
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1273
+ *
1274
+ * Credits to the React Spectrum team:
1275
+ * https://github.com/adobe/react-spectrum/blob/cf9ab24f3255be1530d0f584061a01aa1e8180e6/packages/@react-aria/utils/src/platform.ts
1276
+ *)
1277
+ (*!
1278
+ * Portions of this file are based on code from react-spectrum.
1279
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1280
+ *
1281
+ * Credits to the React Spectrum team:
1282
+ * https://github.com/adobe/react-spectrum/blob/a9dea8a3672179e6c38aafd1429daf44c7ea2ff6/packages/@react-aria/utils/src/focusWithoutScrolling.ts
1283
+ *)
1284
+ (*!
1285
+ * Portions of this file are based on code from ariakit.
1286
+ * MIT Licensed, Copyright (c) Diego Haz.
1287
+ *
1288
+ * Credits to the Ariakit team:
1289
+ * https://github.com/ariakit/ariakit/blob/main/packages/ariakit-utils/src/focus.ts
1290
+ *
1291
+ * Portions of this file are based on code from react-spectrum.
1292
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1293
+ *
1294
+ * Credits to the React Spectrum team:
1295
+ * https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/focus/src/isElementVisible.ts
1296
+ * https://github.com/adobe/react-spectrum/blob/8f2f2acb3d5850382ebe631f055f88c704aa7d17/packages/@react-aria/focus/src/FocusScope.tsx
1297
+ *)
1298
+ (*!
1299
+ * Portions of this file are based on code from react-spectrum.
1300
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1301
+ *
1302
+ * Credits to the React Spectrum team:
1303
+ * https://github.com/adobe/react-spectrum/blob/f6e686fe9d3b983d48650980c1ecfdde320bc62f/packages/@react-aria/focus/src/FocusScope.tsx
1304
+ *)
1305
+ (*!
1306
+ * Portions of this file are based on code from react-spectrum.
1307
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1308
+ *
1309
+ * Credits to the React Spectrum team:
1310
+ * https://github.com/adobe/react-spectrum/blob/a9dea8a3672179e6c38aafd1429daf44c7ea2ff6/packages/@react-aria/utils/src/getScrollParent.ts
1311
+ *)
1312
+ (*!
1313
+ * Portions of this file are based on code from react-spectrum.
1314
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1315
+ *
1316
+ * Credits to the React Spectrum team:
1317
+ * https://github.com/adobe/react-spectrum/blob/a9dea8a3672179e6c38aafd1429daf44c7ea2ff6/packages/@react-aria/utils/src/isVirtualEvent.ts
1318
+ *)
1319
+ (*!
1320
+ * Portions of this file are based on code from react-spectrum.
1321
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1322
+ *
1323
+ * Credits to the React Spectrum team:
1324
+ * https://github.com/adobe/react-spectrum/blob/ff3e690fffc6c54367b8057e28a0e5b9211f37b5/packages/@react-stately/utils/src/number.ts
1325
+ *)
1326
+ (*!
1327
+ * Portions of this file are based on code from ariakit.
1328
+ * MIT Licensed, Copyright (c) Diego Haz.
1329
+ *
1330
+ * Credits to the Ariakit team:
1331
+ * https://github.com/ariakit/ariakit/blob/84e97943ad637a582c01c9b56d880cd95f595737/packages/ariakit/src/hovercard/__utils/polygon.ts
1332
+ * https://github.com/ariakit/ariakit/blob/f2a96973de523d67e41eec983263936c489ef3e2/packages/ariakit/src/hovercard/__utils/debug-polygon.ts
1333
+ *)
1334
+ (*!
1335
+ * Portions of this file are based on code from react-spectrum.
1336
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1337
+ *
1338
+ * Credits to the React Spectrum team:
1339
+ * https://github.com/adobe/react-spectrum/blob/a9dea8a3672179e6c38aafd1429daf44c7ea2ff6/packages/@react-aria/utils/src/runAfterTransition.ts
1340
+ *)
1341
+ (*!
1342
+ * Portions of this file are based on code from react-spectrum.
1343
+ * Apache License Version 2.0, Copyright 2020 Adobe.
1344
+ *
1345
+ * Credits to the React Spectrum team:
1346
+ * https://github.com/adobe/react-spectrum/blob/8f2f2acb3d5850382ebe631f055f88c704aa7d17/packages/@react-aria/utils/src/scrollIntoView.ts
1347
+ *)
1348
+ *)
1349
+ */export{Yn as APP_ID_HEADER,w4 as DynamicTags,Yi as ExpandableParagraph,Xn as FRONTEND_ROUTE_PREFIX,Uo as FilterFormWrapper,Zn as Highlight,s5 as InfiniteList,e6 as Layout,za as NavMenu,mv as NotFound,vv as OperationLogList,wt as PermissionButton,Ma as PermissionVersion,bn as QueryList,S0 as QueryListAction,Va as RequireGame,_6 as RequirePermission,$a as SSO_URL,W7 as SignIn,p4 as ToolkitsProvider,Na as UserWidget,Nt as WILDCARD,si as generateId,lv as menuRoutes,Dl as mixedStorage,A7 as permissionRoutes,Cs as useDrawer,ws as useDrawerStore,op as useFormDrawer,vn as useFormModal,Dn as useGames,tn as useInfiniteListStore,Ji as useMenuList,Ga as useModal,Ka as useModalStore,Dt as usePermission,st as useQueryListStore,pe as useToolkitsStore,it as withContext};