From 7fc44582c6eadb47dce36a803ba7e7e38e990e2d Mon Sep 17 00:00:00 2001 From: whit3rabbit Date: Sun, 12 Jul 2026 09:14:20 -0500 Subject: [PATCH] fix: enforce model allowlist on Bedrock native routes; fix model discovery Bedrock native routes (converse/converse-stream/invoke/invoke-with-response- stream) now enforce the virtual key's model allowlist, closing a model-scope bypass where a model-scoped key could invoke any Bedrock modelId. Admin UI "Query models" discovery: stop doubling /v1 into /v1/v1/models for local providers whose catalog base URL already ends in /v1, trim trailing slashes off api_base, support Anthropic-native providers (x-api-key + anthropic-version auth, display_name model field), and show/warn about the discovery target URL in the Add-Backend form. Co-Authored-By: Claude Opus 4.8 (1M context) --- CHANGELOG.md | 8 ++ crates/proxy/admin-ui/dist/index.html | 16 ++-- .../admin-ui/src/tabs/providers/Providers.tsx | 18 +++- .../admin-ui/src/utils/providerFields.ts | 10 +++ crates/proxy/src/admin/routes/models.rs | 50 +++++++++-- crates/proxy/src/server/bedrock_native.rs | 37 +++++++- crates/proxy/tests/virtual_keys.rs | 87 +++++++++++++++++++ 7 files changed, 206 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b025eb1..21d7cac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,14 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versions follo packages. The binaries were already built in CI but never packaged/attached. ### Fixed +- Admin UI model discovery ("Query models"): fixed the discovery URL builder doubling + `/v1` into `/v1/v1/models` for local providers whose catalog default base URL already + ends in `/v1` (LM Studio, vLLM, etc.), and now trims trailing slashes off `api_base` + before saving/discovering. Anthropic-native providers are now discoverable too: + the request authenticates with `x-api-key` + `anthropic-version` (not a Bearer token) + and reads the model name from `display_name` (Anthropic's field) as well as `name`. + The Add-Backend form shows the exact URL "Query models" will hit and warns when + discovery is unsupported for the provider protocol (Vertex/Gemini/Bedrock native). - Security: Bedrock native routes (`POST /model/{modelId}/converse`, `/converse-stream`, `/invoke`, `/invoke-with-response-stream`) now enforce the virtual key's model allowlist. Previously these handlers skipped the diff --git a/crates/proxy/admin-ui/dist/index.html b/crates/proxy/admin-ui/dist/index.html index b5b17f9..f15bba7 100644 --- a/crates/proxy/admin-ui/dist/index.html +++ b/crates/proxy/admin-ui/dist/index.html @@ -12,17 +12,17 @@ `);for(i=r=0;ri||c[r]!==l[i]){var u=` `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ce=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Se(n):``}function Te(e,t){switch(e.tag){case 26:case 27:case 5:return Se(e.type);case 16:return Se(`Lazy`);case 13:return e.child!==t&&t!==null?Se(`Suspense Fallback`):Se(`Suspense`);case 19:return Se(`SuspenseList`);case 0:case 15:return we(e.type,!1);case 11:return we(e.type.render,!1);case 1:return we(e.type,!0);case 31:return Se(`Activity`);default:return``}}function Ee(e){try{var t=``,n=null;do t+=Te(e,n),n=e,e=e.return;while(e);return t}catch(e){return` Error generating stack: `+e.message+` -`+e.stack}}var De=Object.prototype.hasOwnProperty,Oe=t.unstable_scheduleCallback,ke=t.unstable_cancelCallback,Ae=t.unstable_shouldYield,je=t.unstable_requestPaint,Me=t.unstable_now,Ne=t.unstable_getCurrentPriorityLevel,Pe=t.unstable_ImmediatePriority,Fe=t.unstable_UserBlockingPriority,Ie=t.unstable_NormalPriority,Le=t.unstable_LowPriority,Re=t.unstable_IdlePriority,ze=t.log,Be=t.unstable_setDisableYieldValue,Ve=null,He=null;function Ue(e){if(typeof ze==`function`&&Be(e),He&&typeof He.setStrictMode==`function`)try{He.setStrictMode(Ve,e)}catch{}}var We=Math.clz32?Math.clz32:qe,Ge=Math.log,Ke=Math.LN2;function qe(e){return e>>>=0,e===0?32:31-(Ge(e)/Ke|0)|0}var Je=256,Ye=262144,Xe=4194304;function Ze(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Qe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ze(n))):i=Ze(o):i=Ze(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ze(n))):i=Ze(o)):i=Ze(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function $e(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function et(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tt(){var e=Xe;return Xe<<=1,!(Xe&62914560)&&(Xe=4194304),e}function nt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function it(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0`u`||window.document===void 0||window.document.createElement===void 0),hn=!1;if(mn)try{var gn={};Object.defineProperty(gn,"passive",{get:function(){hn=!0}}),window.addEventListener(`test`,gn,gn),window.removeEventListener(`test`,gn,gn)}catch{hn=!1}var _n=null,vn=null,yn=null;function bn(){if(yn)return yn;var e,t=vn,n=t.length,r,i=`value`in _n?_n.value:_n.textContent,a=i.length;for(e=0;e=Xn),$n=` `,er=!1;function tr(e,t){switch(e){case`keyup`:return Jn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function nr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var rr=!1;function ir(e,t){switch(e){case`compositionend`:return nr(t);case`keypress`:return t.which===32?(er=!0,$n):null;case`textInput`:return e=t.data,e===$n&&er?null:e;default:return null}}function ar(e,t){if(rr)return e===`compositionend`||!Yn&&tr(e,t)?(e=bn(),yn=vn=_n=null,rr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Dr(n)}}function kr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ar(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Vt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vt(e.document)}return t}function jr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Mr=mn&&`documentMode`in document&&11>=document.documentMode,Nr=null,Pr=null,Fr=null,Ir=!1;function Lr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ir||Nr==null||Nr!==Vt(r)||(r=Nr,`selectionStart`in r&&jr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fr&&Er(Fr,r)||(Fr=r,r=Dd(Pr,`onSelect`),0>=o,i-=o,ki=1<<32-We(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),L&&ji(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),L&&ji(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return L&&ji(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),L&&ji(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ka(l)===r.type){n(e,r.sibling),c=a(r,o.props),Fa(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=gi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=hi(o.type,o.key,o.props,null,e.mode,c),Fa(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=yi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ka(o),b(e,r,o,c)}if(oe(o))return h(e,r,o,c);if(re(o)){if(l=re(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Pa(o),c);if(o.$$typeof===C)return b(e,r,ra(e,o),c);Ia(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=_i(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Na=0;var i=b(e,t,n,r);return z=null,i}catch(t){if(t===Ca||t===Ta)throw t;var a=di(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ra=La(!0),za=La(!1),Ba=!1;function Va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ha(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ua(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,G&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ci(e),si(e,null,n),t}return ii(e,r,t,n),ci(e)}function Ga(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ot(e,n)}}function Ka(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var qa=!1;function Ja(){if(qa){var e=ma;if(e!==null)throw e}}function Ya(e,t,n,r){qa=!1;var i=e.updateQueue;Ba=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(J&f)===f:(r&f)===f){f!==0&&f===pa&&(qa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ba=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Kl|=o,e.lanes=o,e.memoizedState=d}}function Xa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Za(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=k.T,s={};k.T=s,Fs(e,!1,t,n);try{var c=i(),l=k.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ps(e,t,_a(c,r),mu(e)):Ps(e,t,r,mu(e))}catch(n){Ps(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{A.p=a,o!==null&&s.types!==null&&(o.types=s.types),k.T=o}}function ws(){}function Ts(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Es(e).queue;Cs(e,a,t,se,n===null?ws:function(){return Ds(e),n(r)})}function Es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:se},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ds(e){var t=Es(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},mu())}function Os(){return R($f)}function ks(){return jo().memoizedState}function As(){return jo().memoizedState}function js(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Ua(n);var r=Wa(t,e,n);r!==null&&(gu(r,t,n),Ga(r,t,n)),t={cache:la()},e.payload=t;return}t=t.return}}function Ms(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},U(e)?Is(t,n):(n=ai(e,t,n,r),n!==null&&(gu(n,e,r),Ls(n,t,r)))}function Ns(e,t,n){Ps(e,t,n,mu())}function Ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(U(e))Is(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Tr(s,o))return ii(e,t,i,0),K===null&&ri(),!1}catch{}if(n=ai(e,t,i,r),n!==null)return gu(n,e,r),Ls(n,t,r),!0}return!1}function Fs(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},U(e)){if(t)throw Error(i(479))}else t=ai(e,n,r,2),t!==null&&gu(t,e,2)}function U(e){var t=e.alternate;return e===B||t!==null&&t===B}function Is(e,t){go=ho=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ls(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ot(e,n)}}var W={readContext:R,use:Po,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useLayoutEffect:xo,useInsertionEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useDeferredValue:xo,useTransition:xo,useSyncExternalStore:xo,useId:xo,useHostTransitionStatus:xo,useFormState:xo,useActionState:xo,useOptimistic:xo,useMemoCache:xo,useCacheRefresh:xo};W.useEffectEvent=xo;var Rs={readContext:R,use:Po,useCallback:function(e,t){return Ao().memoizedState=[e,t===void 0?null:t],e},useContext:R,useEffect:us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),cs(4194308,4,gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){cs(4,2,e,t)},useMemo:function(e,t){var n=Ao();t=t===void 0?null:t;var r=e();if(H){Ue(!0);try{e()}finally{Ue(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Ao();if(n!==void 0){var i=n(t);if(H){Ue(!0);try{n(t)}finally{Ue(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Ao();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Ns.bind(null,B,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:vs,useDeferredValue:function(e,t){return xs(Ao(),e,t)},useTransition:function(){var e=Ko(!1);return e=Cs.bind(null,B,e.queue,!0,!1),Ao().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=B,a=Ao();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),K===null)throw Error(i(349));J&127||Vo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,us(Uo.bind(null,r,o,e),[e]),r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,o,n,t),null),n},useId:function(){var e=Ao(),t=K.identifierPrefix;if(L){var n=Ai,r=ki;n=(r&~(1<<32-We(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=_o++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ft]=t,o[pt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Fd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Mc(t)}}return Lc(t),Nc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Mc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=me.current,Ui(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ii,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||Bi(t,!0)}else e=Vd(e).createTextNode(r),e[ft]=t,t.stateNode=e}return Lc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ui(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ft]=t}else Wi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lc(t),e=!1}else n=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(lo(t),t):(lo(t),null);if(t.flags&128)throw Error(i(558))}return Lc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ui(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ft]=t}else Wi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lc(t),a=!1}else a=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(lo(t),t):(lo(t),null)}return lo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Fc(t,t.updateQueue),Lc(t),null);case 4:return _e(),e===null&&Cd(t.stateNode.containerInfo),Lc(t),null;case 10:return Zi(t.type),Lc(t),null;case 19:if(de(uo),r=t.memoizedState,r===null)return Lc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Ic(r,!1);else{if(Gl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=fo(e),o!==null){for(t.flags|=128,Ic(r,!1),e=o.updateQueue,t.updateQueue=e,Fc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)mi(n,e),n=n.sibling;return j(uo,uo.current&1|2),L&&ji(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Me()>nu&&(t.flags|=128,a=!0,Ic(r,!1),t.lanes=4194304)}else{if(!a)if(e=fo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Fc(t,e),Ic(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!L)return Lc(t),null}else 2*Me()-r.renderingStartTime>nu&&n!==536870912&&(t.flags|=128,a=!0,Ic(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Lc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Me(),e.sibling=null,n=uo.current,j(uo,a?n&1|2:n&1),L&&ji(t,r.treeForkCount),e);case 22:case 23:return lo(t),no(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Lc(t),t.subtreeFlags&6&&(t.flags|=8192)):Lc(t),n=t.updateQueue,n!==null&&Fc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&de(ya),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Zi(ca),Lc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function zc(e,t){switch(Pi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zi(ca),_e(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ye(t),null;case 31:if(t.memoizedState!==null){if(lo(t),t.alternate===null)throw Error(i(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(lo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Wi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(uo),null;case 4:return _e(),null;case 10:return Zi(t.type),null;case 22:case 23:return lo(t),no(),e!==null&&de(ya),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Zi(ca),null;case 25:return null;default:return null}}function Bc(e,t){switch(Pi(t),t.tag){case 3:Zi(ca),_e();break;case 26:case 27:case 5:ye(t);break;case 4:_e();break;case 31:t.memoizedState!==null&&lo(t);break;case 13:lo(t);break;case 19:de(uo);break;case 10:Zi(t.type);break;case 22:case 23:lo(t),no(),e!==null&&de(ya);break;case 24:Zi(ca)}}function Vc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){X(t,t.return,e)}}function Hc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){X(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){X(t,t.return,e)}}function Uc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Za(t,n)}catch(t){X(e,e.return,t)}}}function Wc(e,t,n){n.props=Gs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){X(e,t,n)}}function Gc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){X(e,t,n)}}function Kc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){X(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){X(e,t,n)}else n.current=null}function qc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){X(e,e.return,t)}}function Jc(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[pt]=t}catch(t){X(e,e.return,t)}}function Yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Xc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Yc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Qd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=an));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fd(t,r,n),t[ft]=e,t[pt]=n}catch(t){X(e,e.return,t)}}var el=!1,tl=!1,nl=!1,rl=typeof WeakSet==`function`?WeakSet:Set,il=null;function al(e,t){if(e=e.containerInfo,zd=cp,e=Ar(e),jr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bd={focusedElem:e,selectionRange:n},cp=!1,il=t;il!==null;)if(t=il,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,il=e;else for(;il!==null;){switch(t=il,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n title`))),Fd(o,r,n),o[ft]=e,wt(o),r=o;break a;case`link`:var s=Hf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;cg&&(o=g,g=h,h=o);var _=Or(s,h),v=Or(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,k.T=null,n=uu,uu=null;var o=ou,s=cu;if(au=0,su=ou=null,cu=0,G&6)throw Error(i(331));var c=G;if(G|=4,Fl(o.current),Dl(o,o.current,s,n),G=c,ad(0,!1),He&&typeof He.onPostCommitFiberRoot==`function`)try{He.onPostCommitFiberRoot(Ve,o)}catch{}return!0}finally{A.p=a,k.T=r,Hu(e,t)}}function Gu(e,t,n){t=xi(n,t),t=Zs(e.stateNode,t,2),e=Wa(e,t,2),e!==null&&(rt(e,2),id(e))}function X(e,t,n){if(e.tag===3)Gu(e,e,n);else for(;t!==null;){if(t.tag===3){Gu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(iu===null||!iu.has(r))){e=xi(n,e),n=Qs(2),r=Wa(t,n,2),r!==null&&($s(n,r,t,e),rt(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Ul=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,K===e&&(J&n)===n&&(Gl===4||Gl===3&&(J&62914560)===J&&300>Me()-eu?!(G&2)&&Cu(e,0):Jl|=n,Xl===J&&(Xl=0)),id(e)}function Ju(e,t){t===0&&(t=tt()),e=oi(e,t),e!==null&&(rt(e,t),id(e))}function Yu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ju(e,n)}function Xu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Ju(e,n)}function Zu(e,t){return Oe(e,t)}var Qu=null,$u=null,ed=!1,td=!1,nd=!1,rd=0;function id(e){e!==$u&&e.next===null&&($u===null?Qu=$u=e:$u=$u.next=e),td=!0,ed||(ed=!0,dd())}function ad(e,t){if(!nd&&td){nd=!0;do for(var n=!1,r=Qu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-We(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ud(r,a))}else a=J,a=Qe(r,r===K?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||$e(r,a)||(n=!0,ud(r,a));r=r.next}while(n);nd=!1}}function od(){sd()}function sd(){td=ed=!1;var e=0;rd!==0&&Kd()&&(e=rd);for(var t=Me(),n=null,r=Qu;r!==null;){var i=r.next,a=cd(r,t);a===0?(r.next=null,n===null?Qu=i:n.next=i,i===null&&($u=n)):(n=r,(e!==0||a&3)&&(td=!0)),r=i}au!==0&&au!==5||ad(e,!1),rd!==0&&(rd=0)}function cd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&Ld(d)&&(c=c.responseEnd,o+=u*(c`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Ut(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Ut(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Ut(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Ut(n.imageSizes)+`"]`)):i+=`[href="`+Ut(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Fd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Ut(r)+`"][href="`+Ut(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),wt(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=Ct(r).hoistableStyles,a=jf(e);t=t||`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);wt(c),Fd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=Ct(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),wt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=Ct(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),wt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var a=(a=me.current)?_f(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=jf(n.href),n=Ct(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=jf(n.href);var o=Ct(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},hf.set(e,n),o||Pf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Ff(n),n=Ct(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function jf(e){return`href="`+Ut(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Fd(t,`link`,n),wt(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Ut(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Ut(n.href)+`"]`);if(r)return t.instance=r,wt(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),wt(r),Fd(r,`style`,a),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=jf(n.href);var o=e.querySelector(Mf(a));if(o)return t.state.loading|=4,t.instance=o,wt(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),wt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Fd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(a=e.querySelector(If(o)))?(t.instance=a,wt(a),a):(r=n,(a=hf.get(o))&&(r=m({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),wt(a),Fd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Rf(r,n.precedence,e));return t.instance}function Rf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Wf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=jf(r.href),a=t.querySelector(Mf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,wt(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),wt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};function y(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}var b=o((()=>{}));function x(e,t,n){y(e,t),t.set(e,n)}var S=o((()=>{b()}));function C(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}var w=o((()=>{}));function T(e,t,n){return e.set(C(e,t),n),n}var E=o((()=>{w()}));function D(e,t){return e.get(C(e,t))}var O=o((()=>{w()}));S(),E(),O();var ee,te,ne,re=new(ee=new WeakMap,te=new WeakMap,ne=new WeakMap,class extends v{constructor(){super(),x(this,ee,void 0),x(this,te,void 0),x(this,ne,void 0),T(ne,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}})}onSubscribe(){D(te,this)||this.setEventListener(D(ne,this))}onUnsubscribe(){this.hasListeners()||(D(te,this)?.call(this),T(te,this,void 0))}setEventListener(e){T(ne,this,e),D(te,this)?.call(this),T(te,this,e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()}))}setFocused(e){D(ee,this)!==e&&(T(ee,this,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof D(ee,this)==`boolean`?D(ee,this):globalThis.document?.visibilityState!==`hidden`}});S(),O(),E();var ie,ae,oe={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},k=new(ie=new WeakMap,ae=new WeakMap,class{constructor(){x(this,ie,oe),x(this,ae,!1)}setTimeoutProvider(e){T(ie,this,e)}setTimeout(e,t){return D(ie,this).setTimeout(e,t)}clearTimeout(e){D(ie,this).clearTimeout(e)}setInterval(e,t){return D(ie,this).setInterval(e,t)}clearInterval(e){D(ie,this).clearInterval(e)}});function A(e){setTimeout(e,0)}var se=typeof window>`u`||`Deno`in globalThis;function ce(){}function le(e,t){return typeof e==`function`?e(t):e}function ue(e){return typeof e==`number`&&e>=0&&e!==1/0}function de(e,t){return Math.max(e+(t||0)-Date.now(),0)}function j(e,t){return typeof e==`function`?e(t):e}function fe(e,t){return typeof e==`function`?e(t):e}function pe(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==he(o,t.options))return!1}else if(!_e(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function me(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ge(t.options.mutationKey)!==ge(a))return!1}else if(!_e(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function he(e,t){return(t?.queryKeyHashFn||ge)(e)}function ge(e){return JSON.stringify(e,(e,t)=>Se(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function _e(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>_e(e[n],t[n])):!1}var ve=Object.prototype.hasOwnProperty;function ye(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=xe(e)&&xe(t);if(!r&&!(Se(e)&&Se(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l{k.setTimeout(t,e)})}function Te(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:ye(e,t)}function Ee(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function De(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Oe=Symbol();function ke(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Oe?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ae(e,t){return typeof e==`function`?e(...t):!!e}function je(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Me=(()=>{let e=()=>se;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ne(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Pe=A;function Fe(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Pe,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var Ie=Fe();S(),E(),O();var Le,Re,ze,Be=new(Le=new WeakMap,Re=new WeakMap,ze=new WeakMap,class extends v{constructor(){super(),x(this,Le,!0),x(this,Re,void 0),x(this,ze,void 0),T(ze,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}})}onSubscribe(){D(Re,this)||this.setEventListener(D(ze,this))}onUnsubscribe(){this.hasListeners()||(D(Re,this)?.call(this),T(Re,this,void 0))}setEventListener(e){T(ze,this,e),D(Re,this)?.call(this),T(Re,this,e(this.setOnline.bind(this)))}setOnline(e){D(Le,this)!==e&&(T(Le,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return D(Le,this)}});function Ve(e){return Math.min(1e3*2**e,3e4)}function He(e){return(e??`online`)===`online`?Be.isOnline():!0}var Ue=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function We(e){let t=!1,n=0,r,i=Ne(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Ue(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>re.isFocused()&&(e.networkMode===`always`||Be.isOnline())&&e.canRun(),u=()=>He(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Me.isServer()?0:3),o=e.retryDelay??Ve,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&nl()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}S(),E(),O();var Ge,Ke=(Ge=new WeakMap,class{constructor(){x(this,Ge,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ue(this.gcTime)&&T(Ge,this,k.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Me.isServer()?1/0:300*1e3))}clearGcTimeout(){D(Ge,this)&&(k.clearTimeout(D(Ge,this)),T(Ge,this,void 0))}});function qe(e,t){y(e,t),t.add(e)}var Je=o((()=>{b()}));Je(),S(),E(),O(),w();var Ye,Xe,Ze,Qe,$e,et,tt,nt,rt=(Ye=new WeakMap,Xe=new WeakMap,Ze=new WeakMap,Qe=new WeakMap,$e=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakSet,class extends Ke{constructor(e){super(),qe(this,nt),x(this,Ye,void 0),x(this,Xe,void 0),x(this,Ze,void 0),x(this,Qe,void 0),x(this,$e,void 0),x(this,et,void 0),x(this,tt,void 0),T(tt,this,!1),T(et,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],T(Qe,this,e.client),T(Ze,this,D(Qe,this).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,T(Ye,this,ct(this.options)),this.state=e.state??D(Ye,this),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return D($e,this)?.promise}setOptions(e){if(this.options={...D(et,this),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=ct(this.options);e.data!==void 0&&(this.setState(st(e.data,e.dataUpdatedAt)),T(Ye,this,e))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&D(Ze,this).remove(this)}setData(e,t){let n=Te(this.state.data,e,this.options);return C(nt,this,at).call(this,{data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){C(nt,this,at).call(this,{type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=D($e,this)?.promise;return D($e,this)?.cancel(e),t?t.then(ce).catch(ce):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return D(Ye,this)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>fe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Oe||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>j(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!de(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),D($e,this)?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),D($e,this)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),D(Ze,this).notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(D($e,this)&&(D(tt,this)||C(nt,this,it).call(this)?D($e,this).cancel({revert:!0}):D($e,this).cancelRetry()),this.scheduleGc()),D(Ze,this).notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||C(nt,this,at).call(this,{type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&D($e,this)?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(D($e,this))return D($e,this).continueRetry(),D($e,this).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(T(tt,this,!0),n.signal)})},i=()=>{let e=ke(this.options,t),n=(()=>{let e={client:D(Qe,this),queryKey:this.queryKey,meta:this.meta};return r(e),e})();return T(tt,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:D(Qe,this),state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),T(Xe,this,this.state),(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&C(nt,this,at).call(this,{type:`fetch`,meta:a.fetchOptions?.meta}),T($e,this,We({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Ue&&e.revert&&this.setState({...D(Xe,this),fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{C(nt,this,at).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{C(nt,this,at).call(this,{type:`pause`})},onContinue:()=>{C(nt,this,at).call(this,{type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{let e=await D($e,this).start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),D(Ze,this).config.onSuccess?.(e,this),D(Ze,this).config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Ue){if(e.silent)return D($e,this).promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw C(nt,this,at).call(this,{type:`error`,error:e}),D(Ze,this).config.onError?.(e,this),D(Ze,this).config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}});function it(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}function at(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...ot(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...st(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return T(Xe,this,e.manual?n:void 0),n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),Ie.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),D(Ze,this).notify({query:this,type:`updated`,action:e})})}function ot(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:He(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function st(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function ct(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}Je(),S(),E(),O(),w();var lt,M,ut,dt,ft,pt,mt,ht,gt,_t,vt,yt,bt,xt,St,N,Ct=(lt=new WeakMap,M=new WeakMap,ut=new WeakMap,dt=new WeakMap,ft=new WeakMap,pt=new WeakMap,mt=new WeakMap,ht=new WeakMap,gt=new WeakMap,_t=new WeakMap,vt=new WeakMap,yt=new WeakMap,bt=new WeakMap,xt=new WeakMap,St=new WeakMap,N=new WeakSet,class extends v{constructor(e,t){super(),qe(this,N),x(this,lt,void 0),x(this,M,void 0),x(this,ut,void 0),x(this,dt,void 0),x(this,ft,void 0),x(this,pt,void 0),x(this,mt,void 0),x(this,ht,void 0),x(this,gt,void 0),x(this,_t,void 0),x(this,vt,void 0),x(this,yt,void 0),x(this,bt,void 0),x(this,xt,void 0),x(this,St,new Set),this.options=t,T(lt,this,e),T(ht,this,null),T(mt,this,Ne()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(M,this).addObserver(this),Pt(D(M,this),this.options)?C(N,this,wt).call(this):this.updateResult(),C(N,this,Ot).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ft(D(M,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ft(D(M,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,C(N,this,kt).call(this),C(N,this,At).call(this),D(M,this).removeObserver(this)}setOptions(e){let t=this.options,n=D(M,this);if(this.options=D(lt,this).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof fe(this.options.enabled,D(M,this))!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);C(N,this,jt).call(this),D(M,this).setOptions(this.options),t._defaulted&&!be(this.options,t)&&D(lt,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:D(M,this),observer:this});let r=this.hasListeners();r&&It(D(M,this),n,this.options,t)&&C(N,this,wt).call(this),this.updateResult(),r&&(D(M,this)!==n||fe(this.options.enabled,D(M,this))!==fe(t.enabled,D(M,this))||j(this.options.staleTime,D(M,this))!==j(t.staleTime,D(M,this)))&&C(N,this,Tt).call(this);let i=C(N,this,Et).call(this);r&&(D(M,this)!==n||fe(this.options.enabled,D(M,this))!==fe(t.enabled,D(M,this))||i!==D(xt,this))&&C(N,this,Dt).call(this,i)}getOptimisticResult(e){let t=D(lt,this).getQueryCache().build(D(lt,this),e),n=this.createResult(t,e);return Rt(this,n)&&(T(dt,this,n),T(pt,this,this.options),T(ft,this,D(M,this).state)),n}getCurrentResult(){return D(dt,this)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&D(mt,this).status===`pending`&&D(mt,this).reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){D(St,this).add(e)}getCurrentQuery(){return D(M,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=D(lt,this).defaultQueryOptions(e),n=D(lt,this).getQueryCache().build(D(lt,this),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return C(N,this,wt).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),D(dt,this)))}createResult(e,t){let n=D(M,this),r=this.options,i=D(dt,this),a=D(ft,this),o=D(pt,this),s=e===n?D(ut,this):e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Pt(e,t),o=i&&It(e,n,t,r);(a||o)&&(l={...l,...ot(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(D(vt,this)?.state.data,D(vt,this)):t.placeholderData,e!==void 0&&(m=`success`,d=Te(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===D(gt,this))d=D(_t,this);else try{T(gt,this,t.select),d=t.select(d),d=Te(i?.data,d,t),T(_t,this,d),T(ht,this,null)}catch(e){T(ht,this,e)}D(ht,this)&&(f=D(ht,this),d=D(_t,this),p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Lt(e,t),refetch:this.refetch,promise:D(mt,this),isEnabled:fe(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{i(T(mt,this,x.promise=Ne()))},o=D(mt,this);switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a();break}}return x}updateResult(){let e=D(dt,this),t=this.createResult(D(M,this),this.options);T(ft,this,D(M,this).state),T(pt,this,this.options),D(ft,this).data!==void 0&&T(vt,this,D(M,this)),!be(t,e)&&(T(dt,this,t),C(N,this,Mt).call(this,{listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!D(St,this).size)return!0;let r=new Set(n??D(St,this));return this.options.throwOnError&&r.add(`error`),Object.keys(D(dt,this)).some(t=>{let n=t;return D(dt,this)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&C(N,this,Ot).call(this)}});function wt(e){C(N,this,jt).call(this);let t=D(M,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(ce)),t}function Tt(){C(N,this,kt).call(this);let e=j(this.options.staleTime,D(M,this));if(Me.isServer()||D(dt,this).isStale||!ue(e))return;let t=de(D(dt,this).dataUpdatedAt,e)+1;T(yt,this,k.setTimeout(()=>{D(dt,this).isStale||this.updateResult()},t))}function Et(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(D(M,this)):this.options.refetchInterval)??!1}function Dt(e){C(N,this,At).call(this),T(xt,this,e),!(Me.isServer()||fe(this.options.enabled,D(M,this))===!1||!ue(D(xt,this))||D(xt,this)===0)&&T(bt,this,k.setInterval(()=>{(this.options.refetchIntervalInBackground||re.isFocused())&&C(N,this,wt).call(this)},D(xt,this)))}function Ot(){C(N,this,Tt).call(this),C(N,this,Dt).call(this,C(N,this,Et).call(this))}function kt(){D(yt,this)&&(k.clearTimeout(D(yt,this)),T(yt,this,void 0))}function At(){D(bt,this)&&(k.clearInterval(D(bt,this)),T(bt,this,void 0))}function jt(){let e=D(lt,this).getQueryCache().build(D(lt,this),this.options);if(e===D(M,this))return;let t=D(M,this);T(M,this,e),T(ut,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function Mt(e){Ie.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(D(dt,this))}),D(lt,this).getQueryCache().notify({query:D(M,this),type:`observerResultsUpdated`})})}function Nt(e,t){return fe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&t.retryOnMount===!1)}function Pt(e,t){return Nt(e,t)||e.state.data!==void 0&&Ft(e,t,t.refetchOnMount)}function Ft(e,t,n){if(fe(t.enabled,e)!==!1&&j(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Lt(e,t)}return!1}function It(e,t,n,r){return(e!==t||fe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Lt(e,n)}function Lt(e,t){return fe(t.enabled,e)!==!1&&e.isStaleByTime(j(t.staleTime,e))}function Rt(e,t){return!be(e.getCurrentResult(),t)}function zt(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{je(e,()=>t.signal,()=>n=!0)},u=ke(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?De:Ee;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Vt:Bt,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Bt(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(ct.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Bt(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Vt(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}Je(),S(),E(),O(),w();var Ht,Ut,Wt,Gt,Kt,qt=(Ht=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap,Kt=new WeakSet,class extends Ke{constructor(e){super(),qe(this,Kt),x(this,Ht,void 0),x(this,Ut,void 0),x(this,Wt,void 0),x(this,Gt,void 0),T(Ht,this,e.client),this.mutationId=e.mutationId,T(Wt,this,e.mutationCache),T(Ut,this,[]),this.state=e.state||Yt(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){D(Ut,this).includes(e)||(D(Ut,this).push(e),this.clearGcTimeout(),D(Wt,this).notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){T(Ut,this,D(Ut,this).filter(t=>t!==e)),this.scheduleGc(),D(Wt,this).notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){D(Ut,this).length||(this.state.status===`pending`?this.scheduleGc():D(Wt,this).remove(this))}continue(){return D(Gt,this)?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{C(Kt,this,Jt).call(this,{type:`continue`})},n={client:D(Ht,this),meta:this.options.meta,mutationKey:this.options.mutationKey};T(Gt,this,We({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{C(Kt,this,Jt).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{C(Kt,this,Jt).call(this,{type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(Wt,this).canRun(this)}));let r=this.state.status===`pending`,i=!D(Gt,this).canStart();try{if(r)t();else{C(Kt,this,Jt).call(this,{type:`pending`,variables:e,isPaused:i}),D(Wt,this).config.onMutate&&await D(Wt,this).config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&C(Kt,this,Jt).call(this,{type:`pending`,context:t,variables:e,isPaused:i})}let a=await D(Gt,this).start();return await D(Wt,this).config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await D(Wt,this).config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),C(Kt,this,Jt).call(this,{type:`success`,data:a}),a}catch(t){try{await D(Wt,this).config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await D(Wt,this).config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw C(Kt,this,Jt).call(this,{type:`error`,error:t}),t}finally{D(Wt,this).runNext(this)}}});function Jt(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),Ie.batch(()=>{D(Ut,this).forEach(t=>{t.onMutationUpdate(e)}),D(Wt,this).notify({mutation:this,type:`updated`,action:e})})}function Yt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}S(),E(),O();var Xt,Zt,Qt,$t=(Xt=new WeakMap,Zt=new WeakMap,Qt=new WeakMap,class extends v{constructor(e={}){super(),x(this,Xt,void 0),x(this,Zt,void 0),x(this,Qt,void 0),this.config=e,T(Xt,this,new Set),T(Zt,this,new Map),T(Qt,this,0)}build(e,t,n){var r;let i=new qt({client:e,mutationCache:this,mutationId:T(Qt,this,(r=D(Qt,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){D(Xt,this).add(e);let t=en(e);if(typeof t==`string`){let n=D(Zt,this).get(t);n?n.push(e):D(Zt,this).set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(D(Xt,this).delete(e)){let t=en(e);if(typeof t==`string`){let n=D(Zt,this).get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&D(Zt,this).delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=en(e);if(typeof t==`string`){let n=D(Zt,this).get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=en(e);return typeof t==`string`?(D(Zt,this).get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){Ie.batch(()=>{D(Xt,this).forEach(e=>{this.notify({type:`removed`,mutation:e})}),D(Xt,this).clear(),D(Zt,this).clear()})}getAll(){return Array.from(D(Xt,this))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>me(t,e))}findAll(e={}){return this.getAll().filter(t=>me(e,t))}notify(e){Ie.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return Ie.batch(()=>Promise.all(e.map(e=>e.continue().catch(ce))))}});function en(e){return e.options.scope?.id}Je(),S(),E(),w(),O();var tn,nn,rn,an,on,sn=(tn=new WeakMap,nn=new WeakMap,rn=new WeakMap,an=new WeakMap,on=new WeakSet,class extends v{constructor(e,t){super(),qe(this,on),x(this,tn,void 0),x(this,nn,void 0),x(this,rn,void 0),x(this,an,void 0),T(tn,this,e),this.setOptions(t),this.bindMethods(),C(on,this,cn).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=D(tn,this).defaultMutationOptions(e),be(this.options,t)||D(tn,this).getMutationCache().notify({type:`observerOptionsUpdated`,mutation:D(rn,this),observer:this}),t?.mutationKey&&this.options.mutationKey&&ge(t.mutationKey)!==ge(this.options.mutationKey)?this.reset():D(rn,this)?.state.status===`pending`&&D(rn,this).setOptions(this.options)}onUnsubscribe(){this.hasListeners()||D(rn,this)?.removeObserver(this)}onMutationUpdate(e){C(on,this,cn).call(this),C(on,this,ln).call(this,e)}getCurrentResult(){return D(nn,this)}reset(){D(rn,this)?.removeObserver(this),T(rn,this,void 0),C(on,this,cn).call(this),C(on,this,ln).call(this)}mutate(e,t){return T(an,this,t),D(rn,this)?.removeObserver(this),T(rn,this,D(tn,this).getMutationCache().build(D(tn,this),this.options)),D(rn,this).addObserver(this),D(rn,this).execute(e)}});function cn(){let e=D(rn,this)?.state??Yt();T(nn,this,{...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset})}function ln(e){Ie.batch(()=>{if(D(an,this)&&this.hasListeners()){let t=D(nn,this).variables,n=D(nn,this).context,r={client:D(tn,this),meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{D(an,this).onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{D(an,this).onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{D(an,this).onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{D(an,this).onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(D(nn,this))})})}S(),E(),O();var un,dn=(un=new WeakMap,class extends v{constructor(e={}){super(),x(this,un,void 0),this.config=e,T(un,this,new Map)}build(e,t,n){let r=t.queryKey,i=t.queryHash??he(r,t),a=this.get(i);return a||(a=new rt({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){D(un,this).has(e.queryHash)||(D(un,this).set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=D(un,this).get(e.queryHash);t&&(e.destroy(),t===e&&D(un,this).delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){Ie.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return D(un,this).get(e)}getAll(){return[...D(un,this).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>pe(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>pe(e,t)):t}notify(e){Ie.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ie.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ie.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}});S(),E(),O();var fn,pn,mn,hn,gn,_n,vn,yn,bn=(fn=new WeakMap,pn=new WeakMap,mn=new WeakMap,hn=new WeakMap,gn=new WeakMap,_n=new WeakMap,vn=new WeakMap,yn=new WeakMap,class{constructor(e={}){x(this,fn,void 0),x(this,pn,void 0),x(this,mn,void 0),x(this,hn,void 0),x(this,gn,void 0),x(this,_n,void 0),x(this,vn,void 0),x(this,yn,void 0),T(fn,this,e.queryCache||new dn),T(pn,this,e.mutationCache||new $t),T(mn,this,e.defaultOptions||{}),T(hn,this,new Map),T(gn,this,new Map),T(_n,this,0)}mount(){var e;T(_n,this,(e=D(_n,this),e++,e)),D(_n,this)===1&&(T(vn,this,re.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(fn,this).onFocus())})),T(yn,this,Be.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(fn,this).onOnline())})))}unmount(){var e;T(_n,this,(e=D(_n,this),e--,e)),D(_n,this)===0&&(D(vn,this)?.call(this),T(vn,this,void 0),D(yn,this)?.call(this),T(yn,this,void 0))}isFetching(e){return D(fn,this).findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return D(pn,this).findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return D(fn,this).get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=D(fn,this).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(j(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return D(fn,this).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=D(fn,this).get(r.queryHash)?.state.data,a=le(t,i);if(a!==void 0)return D(fn,this).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Ie.batch(()=>D(fn,this).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return D(fn,this).get(t.queryHash)?.state}removeQueries(e){let t=D(fn,this);Ie.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=D(fn,this);return Ie.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=Ie.batch(()=>D(fn,this).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(ce).catch(ce)}invalidateQueries(e,t={}){return Ie.batch(()=>(D(fn,this).findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ie.batch(()=>D(fn,this).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(ce)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(ce)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=D(fn,this).build(this,t);return n.isStaleByTime(j(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ce).catch(ce)}fetchInfiniteQuery(e){return e.behavior=zt(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ce).catch(ce)}ensureInfiniteQueryData(e){return e.behavior=zt(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Be.isOnline()?D(pn,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(fn,this)}getMutationCache(){return D(pn,this)}getDefaultOptions(){return D(mn,this)}setDefaultOptions(e){T(mn,this,e)}setQueryDefaults(e,t){D(hn,this).set(ge(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...D(hn,this).values()],n={};return t.forEach(t=>{_e(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){D(gn,this).set(ge(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...D(gn,this).values()],n={};return t.forEach(t=>{_e(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...D(mn,this).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=he(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===Oe&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...D(mn,this).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(fn,this).clear(),D(pn,this).clear()}}),xn=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Sn=s(((e,t)=>{t.exports=xn()})),P=l(d(),1),F=Sn(),Cn=P.createContext(void 0),wn=e=>{let t=P.useContext(Cn);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},Tn=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,F.jsx)(Cn.Provider,{value:e,children:t})),En=P.createContext(!1),Dn=()=>P.useContext(En);En.Provider;function On(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var kn=P.createContext(On()),An=()=>P.useContext(kn),jn=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Ae(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},Mn=e=>{P.useEffect(()=>{e.clearReset()},[e])},Nn=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Ae(n,[e.error,r])),Pn=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Fn=(e,t)=>e.isLoading&&e.isFetching&&!t,In=(e,t)=>e?.suspense&&t.isPending,Ln=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Rn(e,t,n){let r=Dn(),i=An(),a=wn(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,Pn(o),jn(o,i,s),Mn(i);let c=!a.getQueryCache().get(o.queryHash),[l]=P.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),d=!r&&e.subscribed!==!1;if(P.useSyncExternalStore(P.useCallback(e=>{let t=d?l.subscribe(Ie.batchCalls(e)):ce;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),P.useEffect(()=>{l.setOptions(o)},[o,l]),In(o,u))throw Ln(o,l,i);if(Nn({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!Me.isServer()&&Fn(u,r)&&(c?Ln(o,l,i):s?.promise)?.catch(ce).finally(()=>{l.updateResult()}),o.notifyOnChangeProps?u:l.trackResult(u)}function zn(e,t){return Rn(e,Ct,t)}function Bn(e,t){let n=wn(t),[r]=P.useState(()=>new sn(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);let i=P.useSyncExternalStore(P.useCallback(e=>r.subscribe(Ie.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((e,t)=>{r.mutate(e,t).catch(ce)},[r]);if(i.error&&Ae(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var Vn=l(h()),Hn=_();function Un(){return Un=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function er(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=Wn.Pop,c=null,l=u();l??(l=0,o.replaceState(Un({},o.state,{idx:l}),``));function u(){return(o.state||{idx:null}).idx}function d(){s=Wn.Pop;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=Wn.Push;let r=Zn(h.location,e,t);n&&n(r,e),l=u()+1;let d=Xn(r,l),f=h.createHref(r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=Wn.Replace;let r=Zn(h.location,e,t);n&&n(r,e),l=u();let i=Xn(r,l),d=h.createHref(r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){let t=i.location.origin===`null`?i.location.href:i.location.origin,n=typeof e==`string`?e:Qn(e);return n=n.replace(/ $/,`%20`),qn(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(Gn,d),c=e,()=>{i.removeEventListener(Gn,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}var tr;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(tr||(tr={}));function nr(e,t,n){return n===void 0&&(n=`/`),rr(e,t,n,!1)}function rr(e,t,n,r){let i=br((typeof t==`string`?$n(t):t).pathname||`/`,n);if(i==null)return null;let a=ir(e);or(a);let o=null,s=yr(i);for(let e=0;o==null&&e{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(qn(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=Ar([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(qn(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),ir(e.children,t,c,s)),!(e.path==null&&!e.index)&&t.push({path:s,score:mr(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of ar(e.path))i(e,t,n)}),t}function ar(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=ar(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function or(e){e.sort((e,t)=>e.score===t.score?hr(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var sr=/^:[\w-]+$/,cr=3,lr=2,ur=1,dr=10,fr=-2,pr=e=>e===`*`;function mr(e,t){let n=e.split(`/`),r=n.length;return n.some(pr)&&(r+=fr),t&&(r+=lr),n.filter(e=>!pr(e)).reduce((e,t)=>e+(sr.test(t)?cr:t===``?ur:dr),r)}function hr(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function gr(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return i&&!c?e[r]=void 0:e[r]=(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function vr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Jn(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "`+e+`" will be treated as if it were `+(`"`+e.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+e.replace(/\*$/,`/*`)+`".`));let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function yr(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return Jn(!1,`The URL path "`+e+`" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent `+(`encoding (`+t+`).`)),e}}function br(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var xr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Sr=e=>xr.test(e);function Cr(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?$n(e):e,a;if(n)if(Sr(n))a=n;else{if(n.includes(`//`)){let e=n;n=kr(n),Jn(!1,`Pathnames cannot have embedded double slashes - normalizing `+(e+` -> `+n))}a=n.startsWith(`/`)?wr(n.substring(1),`/`):wr(n,t)}else a=t;return{pathname:a,search:Mr(r),hash:Nr(i)}}function wr(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Tr(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`]. Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in and the router will parse it for you.`}function Er(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Dr(e,t){let n=Er(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function Or(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=$n(e):(i=Un({},e),qn(!i.pathname||!i.pathname.includes(`?`),Tr(`?`,`pathname`,`search`,i)),qn(!i.pathname||!i.pathname.includes(`#`),Tr(`#`,`pathname`,`hash`,i)),qn(!i.search||!i.search.includes(`#`),Tr(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Cr(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var kr=e=>e.replace(/\/\/+/g,`/`),Ar=e=>kr(e.join(`/`)),jr=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),Mr=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Nr=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e;function Pr(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var Fr=[`post`,`put`,`patch`,`delete`];new Set(Fr);var Ir=[`get`,...Fr];new Set(Ir);function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(n,i){if(i===void 0&&(i={}),!s.current)return;if(typeof n==`number`){r.go(n);return}let c=Or(n,JSON.parse(o),a,i.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Ar([t,c.pathname])),(i.replace?r.replace:r.push)(c,i.state,i)},[t,r,o,a,e])}function Xr(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Br),{matches:i}=P.useContext(Hr),{pathname:a}=Kr(),o=JSON.stringify(Dr(i,r.v7_relativeSplatPath));return P.useMemo(()=>Or(e,JSON.parse(o),a,n===`path`),[e,o,a,n])}function Zr(e,t){return Qr(e,t)}function Qr(e,t,n,r){!Gr()&&qn(!1);let{navigator:i}=P.useContext(Br),{matches:a}=P.useContext(Hr),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:`/`;o&&o.route;let l=Kr(),u;if(t){let e=typeof t==`string`?$n(t):t;!(c===`/`||e.pathname?.startsWith(c))&&qn(!1),u=e}else u=l;let d=u.pathname||`/`,f=d;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);f=`/`+d.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let p=nr(e,{pathname:f}),m=ri(p&&p.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:Ar([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Ar([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,n,r);return t&&m?P.createElement(Vr.Provider,{value:{location:Lr({pathname:`/`,search:``,hash:``,state:null,key:`default`},u),navigationType:Wn.Pop}},m):m}function $r(){let e=ui(),t=Pr(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return P.createElement(P.Fragment,null,P.createElement(`h2`,null,`Unexpected Application Error!`),P.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?P.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var ei=P.createElement($r,null),ti=class extends P.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error===void 0?this.props.children:P.createElement(Hr.Provider,{value:this.props.routeContext},P.createElement(Ur.Provider,{value:this.state.error,children:this.props.component}))}};function ni(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(Rr);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Hr.Provider,{value:t},r)}function ri(e,t,n,r){if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n?.errors;if(o!=null){let e=a.findIndex(e=>e.route.id&&o?.[e.route.id]!==void 0);!(e>=0)&&qn(!1),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight((e,r,i)=>{let l,u=!1,d=null,f=null;n&&(l=o&&r.route.id?o[r.route.id]:void 0,d=r.route.errorElement||ei,s&&(c<0&&i===0?(pi(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,f=null):c===i&&(u=!0,f=r.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,i+1)),m=()=>{let t;return t=l?d:u?f:r.route.Component?P.createElement(r.route.Component,null):r.route.element?r.route.element:e,P.createElement(ni,{match:r,routeContext:{outlet:e,matches:p,isDataRoute:n!=null},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||i===0)?P.createElement(ti,{location:n.location,revalidation:n.revalidation,component:d,error:l,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var ii=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(ii||{}),ai=function(e){return e.UseBlocker=`useBlocker`,e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e.UseRouteId=`useRouteId`,e}(ai||{});function oi(e){let t=P.useContext(Rr);return!t&&qn(!1),t}function si(e){let t=P.useContext(zr);return!t&&qn(!1),t}function ci(e){let t=P.useContext(Hr);return!t&&qn(!1),t}function li(e){let t=ci(e),n=t.matches[t.matches.length-1];return!n.route.id&&qn(!1),n.route.id}function ui(){let e=P.useContext(Ur),t=si(ai.UseRouteError),n=li(ai.UseRouteError);return e===void 0?t.errors?.[n]:e}function di(){let{router:e}=oi(ii.UseNavigateStable),t=li(ai.UseNavigateStable),n=P.useRef(!1);return qr(()=>{n.current=!0}),P.useCallback(function(r,i){i===void 0&&(i={}),n.current&&(typeof r==`number`?e.navigate(r):e.navigate(r,Lr({fromRouteId:t},i)))},[e,t])}var fi={};function pi(e,t,n){!t&&!fi[e]&&(fi[e]=!0)}var mi=(e,t,n)=>(``+t+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`),void 0);function hi(e,t){e?.v7_startTransition===void 0&&mi(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&mi(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&mi(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&mi(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&mi(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&mi(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}function gi(e){let{to:t,replace:n,state:r,relative:i}=e;!Gr()&&qn(!1);let{future:a,static:o}=P.useContext(Br),{matches:s}=P.useContext(Hr),{pathname:c}=Kr(),l=Jr(),u=Or(t,Dr(s,a.v7_relativeSplatPath),c,i===`path`),d=JSON.stringify(u);return P.useEffect(()=>l(JSON.parse(d),{replace:n,state:r,relative:i}),[l,d,i,n,r]),null}function _i(e){qn(!1)}function vi(e){let{basename:t=`/`,children:n=null,location:r,navigationType:i=Wn.Pop,navigator:a,static:o=!1,future:s}=e;Gr()&&qn(!1);let c=t.replace(/^\/*/,`/`),l=P.useMemo(()=>({basename:c,navigator:a,static:o,future:Lr({v7_relativeSplatPath:!1},s)}),[c,s,a,o]);typeof r==`string`&&(r=$n(r));let{pathname:u=`/`,search:d=``,hash:f=``,state:p=null,key:m=`default`}=r,h=P.useMemo(()=>{let e=br(u,c);return e==null?null:{location:{pathname:e,search:d,hash:f,state:p,key:m},navigationType:i}},[c,u,d,f,p,m,i]);return h==null?null:P.createElement(Br.Provider,{value:l},P.createElement(Vr.Provider,{children:n,value:h}))}function yi(e){let{children:t,location:n}=e;return Zr(xi(t),n)}var bi=function(e){return e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`,e}(bi||{});new Promise(()=>{}),P.Component;function xi(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(e,r)=>{if(!P.isValidElement(e))return;let i=[...t,r];if(e.type===P.Fragment){n.push.apply(n,xi(e.props.children,i));return}e.type!==_i&&qn(!1),!(!e.props.index||!e.props.children)&&qn(!1);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=xi(e.props.children,i)),n.push(a)}),n}function Si(){return Si=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Di(e,t){let n=Ei(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var Oi=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],ki=[`aria-current`,`caseSensitive`,`className`,`end`,`style`,`to`,`viewTransition`,`children`],Ai=`6`;try{window.__reactRouterVersion=Ai}catch{}var ji=P.createContext({isTransitioning:!1}),Mi=P.startTransition;function Ni(e){let{basename:t,children:n,future:r,window:i}=e,a=P.useRef();a.current??(a.current=Kn({window:i,v5Compat:!0}));let o=a.current,[s,c]=P.useState({action:o.action,location:o.location}),{v7_startTransition:l}=r||{},u=P.useCallback(e=>{l&&Mi?Mi(()=>c(e)):c(e)},[c,l]);return P.useLayoutEffect(()=>o.listen(u),[o,u]),P.useEffect(()=>hi(r),[r]),P.createElement(vi,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}var Pi=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Fi=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ii=P.forwardRef(function(e,t){let{onClick:n,relative:r,reloadDocument:i,replace:a,state:o,target:s,to:c,preventScrollReset:l,viewTransition:u}=e,d=Ci(e,Oi),{basename:f}=P.useContext(Br),p,m=!1;if(typeof c==`string`&&Fi.test(c)&&(p=c,Pi))try{let e=new URL(window.location.href),t=c.startsWith(`//`)?new URL(e.protocol+c):new URL(c),n=br(t.pathname,f);t.origin===e.origin&&n!=null?c=n+t.search+t.hash:m=!0}catch{}let h=Wr(c,{relative:r}),g=zi(c,{replace:a,state:o,target:s,preventScrollReset:l,relative:r,viewTransition:u});function _(e){n&&n(e),e.defaultPrevented||g(e)}return P.createElement(`a`,Si({},d,{href:p||h,onClick:m||i?n:_,ref:t,target:s}))}),I=P.forwardRef(function(e,t){let{"aria-current":n=`page`,caseSensitive:r=!1,className:i=``,end:a=!1,style:o,to:s,viewTransition:c,children:l}=e,u=Ci(e,ki),d=Xr(s,{relative:u.relative}),f=Kr(),p=P.useContext(zr),{navigator:m,basename:h}=P.useContext(Br),g=p!=null&&Vi(d)&&c===!0,_=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,v=f.pathname,y=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;r||(v=v.toLowerCase(),y=y?y.toLowerCase():null,_=_.toLowerCase()),y&&h&&(y=br(y,h)||y);let b=_!==`/`&&_.endsWith(`/`)?_.length-1:_.length,x=v===_||!a&&v.startsWith(_)&&v.charAt(b)===`/`,S=y!=null&&(y===_||!a&&y.startsWith(_)&&y.charAt(_.length)===`/`),C={isActive:x,isPending:S,isTransitioning:g},w=x?n:void 0,T;T=typeof i==`function`?i(C):[i,x?`active`:null,S?`pending`:null,g?`transitioning`:null].filter(Boolean).join(` `);let E=typeof o==`function`?o(C):o;return P.createElement(Ii,Si({},u,{"aria-current":w,className:T,ref:t,style:E,to:s,viewTransition:c}),typeof l==`function`?l(C):l)}),L;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(L||(L={}));var Li;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Li||(Li={}));function Ri(e){let t=P.useContext(Rr);return!t&&qn(!1),t}function zi(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:s}=t===void 0?{}:t,c=Jr(),l=Kr(),u=Xr(e,{relative:o});return P.useCallback(t=>{Ti(t,n)&&(t.preventDefault(),c(e,{replace:r===void 0?Qn(l)===Qn(u):r,state:i,preventScrollReset:a,relative:o,viewTransition:s}))},[l,c,u,r,i,n,e,a,o,s])}function Bi(e){let t=P.useRef(Ei(e)),n=P.useRef(!1),r=Kr(),i=P.useMemo(()=>Di(r.search,n.current?null:t.current),[r.search]),a=Jr();return[i,P.useCallback((e,t)=>{let r=Ei(typeof e==`function`?e(i):e);n.current=!0,a(`?`+r,t)},[a,i])]}function Vi(e,t){t===void 0&&(t={});let n=P.useContext(ji);n??qn(!1);let{basename:r}=Ri(L.useViewTransitionState),i=Xr(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=br(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=br(n.nextLocation.pathname,r)||n.nextLocation.pathname;return _r(i.pathname,o)!=null||_r(i.pathname,a)!=null}var Hi=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},Ui=(e=>e?Hi(e):Hi),Wi=e=>e;function Gi(e,t=Wi){let n=P.useSyncExternalStore(e.subscribe,P.useCallback(()=>t(e.getState()),[e,t]),P.useCallback(()=>t(e.getInitialState()),[e,t]));return P.useDebugValue(n),n}var Ki=e=>{let t=Ui(e),n=e=>Gi(t,e);return Object.assign(n,t),n},qi=(e=>e?Ki(e):Ki),Ji=`anyllm_admin_token`;function Yi(){try{let e=new URLSearchParams(window.location.search),t=e.get(`token`);if(!t)return null;e.delete(`token`);let n=e.toString(),r=window.location.pathname+(n?`?${n}`:``)+window.location.hash;return window.history.replaceState(null,``,r),t}catch{return null}}function Xi(){let e=Yi();if(e)return Zi(e),e;try{return window.sessionStorage.getItem(Ji)}catch{return null}}function Zi(e){try{window.sessionStorage.setItem(Ji,e)}catch{}}function Qi(){try{window.sessionStorage.removeItem(Ji)}catch{}}var $i=qi(e=>({token:Xi(),login(t){Zi(t),e({token:t})},logout(){Qi(),e({token:null})}})),ea=qi(e=>({status:`disconnected`,lastEvent:null,setStatus:t=>e({status:t}),pushEvent:t=>e({lastEvent:t})})),ta=3e4,na=1e3,R=null,ra=null,ia=0,aa=!1;function oa(){aa=!1,!(R&&(R.readyState===WebSocket.OPEN||R.readyState===WebSocket.CONNECTING))&&ca()}function sa(){aa=!0,ra&&clearTimeout(ra),R?.close(),R=null,ea.getState().setStatus(`disconnected`)}function ca(){if(aa)return;let e=$i.getState().token;if(!e)return;ea.getState().setStatus(`connecting`);let t=location.protocol===`https:`?`wss:`:`ws:`;R=new WebSocket(`${t}//${location.host}/admin/ws`),R.onopen=()=>{R.send(JSON.stringify({token:e}))},R.onmessage=e=>{let t;try{t=JSON.parse(e.data)}catch{return}if(typeof t==`object`&&t&&`status`in t&&t.status===`authenticated`){ia=0,ea.getState().setStatus(`connected`);return}typeof t==`object`&&t&&`type`in t&&ea.getState().pushEvent(t)},R.onclose=()=>{if(aa)return;ea.getState().setStatus(`disconnected`);let e=Math.min(na*2**ia,ta);ia++,ra=setTimeout(ca,e)},R.onerror=()=>{R?.close()}}var la=5,ua=4e3,da=1,fa=qi(e=>({toasts:[],push({variant:t,message:n,ttlMs:r}){let i=da++,a=r===void 0?t===`error`?null:ua:r;return e(e=>{let r=[...e.toasts,{id:i,variant:t,message:n,ttlMs:a}];return{toasts:r.length>la?r.slice(-5):r}}),i},dismiss(t){e(e=>({toasts:e.toasts.filter(e=>e.id!==t)}))},clear(){e({toasts:[]})}}));function pa(e){return fa.getState().push(e)}function ma(){let e=Promise.resolve();return function(t){let n=e.then(t,t);return e=n.catch(()=>void 0),n}}var ha=ma();async function ga(e,t){let n=await e(`/admin/csrf-token`,{headers:{Authorization:`Bearer ${t()}`}});if(!n.ok)throw Error(`Failed to fetch CSRF token`);let r=await n.json();if(typeof r.csrf_token!=`string`)throw Error(`Failed to fetch CSRF token`);return r.csrf_token}function _a(e,t,n){return{Authorization:`Bearer ${t}`,"X-CSRF-Token":e,...n?{"Content-Type":n}:{}}}function va(e){return e.status===204||e.headers.get(`content-length`)===`0`}async function ya(e,t,n,r,i){let a=async a=>i.fetchImpl(t,{method:e,headers:_a(a,i.getToken(),r),body:n}),o=await ga(i.fetchImpl,i.getToken),s=await a(o);if(s.status===403&&(o=await ga(i.fetchImpl,i.getToken),s=await a(o)),await i.handleAuthAndErrors(s),!va(s))return s.json()}function ba(e){"@babel/helpers - typeof";return ba=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ba(e)}var xa=o((()=>{}));function Sa(e,t){if(ba(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(ba(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ca=o((()=>{xa()}));function wa(e){var t=Sa(e,`string`);return ba(t)==`symbol`?t:t+``}var Ta=o((()=>{xa(),Ca()}));function Ea(e,t,n){return(t=wa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}o((()=>{Ta()}))();function Da(){return $i.getState().token??``}var Oa=class extends Error{constructor(e){super(`Rate limited. Retry in ${e}s.`),Ea(this,`retryAfterSeconds`,void 0),this.name=`RateLimitError`,this.retryAfterSeconds=e}};function ka(e){let t=e.headers.get(`retry-after`);if(!t)return 1;let n=Number(t);if(Number.isFinite(n)&&n>0)return Math.ceil(n);let r=Date.parse(t);return Number.isNaN(r)?1:Math.max(1,Math.ceil((r-Date.now())/1e3))}async function Aa(e){if(e.status===401)throw $i.getState().logout(),Error(`Unauthorized`);if(e.status===429){let t=ka(e);throw pa({variant:`warn`,message:`Admin API rate-limited. Retry in ${t}s.`,ttlMs:t*1e3}),new Oa(t)}if(!e.ok){let t=await e.text().catch(()=>e.statusText);throw Error(t||`HTTP ${e.status}`)}}async function ja(e,t){let n=await fetch(e,{...t,headers:{Authorization:`Bearer ${Da()}`,...t?.headers??{}}});return await Aa(n),n.json()}async function Ma(e,t,n,r){return ha(()=>ya(e,t,n,r,{fetchImpl:(e,t)=>fetch(e,t),getToken:Da,handleAuthAndErrors:Aa}))}function z(e,t,n){return Ma(e,t,n===void 0?void 0:JSON.stringify(n),n===void 0?void 0:`application/json`)}function Na(e,t){return Ma(`POST`,e,t)}function Pa(e=!0){return zn({queryKey:[`status`],queryFn:()=>ja(`/admin/api/status`),enabled:e,refetchInterval:1e4})}function Fa(){return zn({queryKey:[`metrics`],queryFn:()=>ja(`/admin/api/metrics`),refetchInterval:5e3,staleTime:0})}function Ia(e,t){return zn({queryKey:[`observability`,e,t],queryFn:()=>ja(`/admin/api/observability/overview?window=${e}&backend=${encodeURIComponent(t)}`),refetchInterval:3e4,staleTime:0})}function La(e){let t=new URLSearchParams;return t.set(`limit`,String(e.page_size)),t.set(`offset`,String((e.page-1)*e.page_size)),e.backend&&t.set(`backend`,e.backend),e.status&&t.set(`status`,e.status),e.since&&t.set(`since`,e.since),e.until&&t.set(`until`,e.until),e.model&&t.set(`model`,e.model),zn({queryKey:[`requests`,e],queryFn:()=>ja(`/admin/api/requests?${t}`),staleTime:1/0})}function Ra(){return zn({queryKey:[`keys`],queryFn:()=>ja(`/admin/api/keys`).then(e=>e.keys),staleTime:1/0})}function za(){let e=wn();return Bn({mutationFn:e=>z(`POST`,`/admin/api/keys`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`keys`]})}})}function Ba(){let e=wn();return Bn({mutationFn:({id:e,body:t})=>z(`PUT`,`/admin/api/keys/${e}`,t),onSuccess:()=>{e.invalidateQueries({queryKey:[`keys`]})}})}function Va(){let e=wn();return Bn({mutationFn:e=>z(`DELETE`,`/admin/api/keys/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`keys`]})}})}function Ha(){return zn({queryKey:[`backends`],queryFn:()=>ja(`/admin/api/backends`).then(e=>e.backends),staleTime:1/0})}function Ua(){return zn({queryKey:[`config`],queryFn:()=>Promise.all([ja(`/admin/api/config`),ja(`/admin/api/config/overrides`)]).then(([e,t])=>({...e,entries:t.overrides??[],env:{}})),staleTime:1/0})}function Wa(){let e=wn();return Bn({mutationFn:e=>z(`PUT`,`/admin/api/config`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`]}),pa({variant:`success`,message:`Setting saved — applied live, no restart needed`})}})}function Ga(){let e=wn();return Bn({mutationFn:e=>z(`DELETE`,`/admin/api/config/overrides/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`]})}})}function Ka(){return zn({queryKey:[`env`],queryFn:()=>ja(`/admin/api/env`),staleTime:1/0})}function qa(){return zn({queryKey:[`models`],queryFn:()=>ja(`/admin/api/models`),staleTime:1/0})}function Ja(){let e=wn();return Bn({mutationFn:e=>z(`POST`,`/admin/api/models`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`models`]})}})}function Ya(){let e=wn();return Bn({mutationFn:e=>z(`DELETE`,`/admin/api/models/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`models`]})}})}function Xa(){return Bn({mutationFn:e=>z(`POST`,`/admin/api/models/discover`,e)})}function Za(e){return zn({queryKey:[`audit`,e],queryFn:()=>ja(`/admin/api/audit?limit=${e.page_size}&offset=${(e.page-1)*e.page_size}`),staleTime:1/0})}function Qa(e){return zn({queryKey:[`traffic`,e],queryFn:()=>ja(`/admin/api/traffic?window=${e}`),refetchInterval:3e4,staleTime:0})}function $a(){return zn({queryKey:[`uptime`],queryFn:()=>ja(`/admin/api/uptime`),refetchInterval:3e4,staleTime:0})}function eo(){return Bn({mutationFn:e=>{let t=new FormData;return t.append(`file`,e),Na(`/admin/api/env/import`,t)}})}function to(){return zn({queryKey:[`catalog-providers`],queryFn:()=>ja(`/admin/api/catalog/providers`).then(e=>e.providers),staleTime:1/0})}function no(){return zn({queryKey:[`favorites`],queryFn:()=>ja(`/admin/api/favorites`).then(e=>e.favorites),staleTime:1/0})}function ro(){let e=wn();return Bn({mutationFn:({providerId:e,on:t})=>t?z(`POST`,`/admin/api/favorites`,{provider_id:e}):z(`DELETE`,`/admin/api/favorites/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`favorites`]})}})}function io(){return zn({queryKey:[`managed-backends`],queryFn:()=>ja(`/admin/api/backends/managed`),staleTime:1/0})}function ao(){let e=wn();return Bn({mutationFn:e=>z(`POST`,`/admin/api/backends/managed`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`managed-backends`]}),e.invalidateQueries({queryKey:[`status`]})}})}function oo(){let e=wn();return Bn({mutationFn:({name:e,data:t})=>z(`PUT`,`/admin/api/backends/managed/${e}`,t),onSuccess:()=>{e.invalidateQueries({queryKey:[`managed-backends`]})}})}function so(){let e=wn();return Bn({mutationFn:e=>z(`DELETE`,`/admin/api/backends/managed/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`managed-backends`]}),e.invalidateQueries({queryKey:[`status`]})}})}function co(){return zn({queryKey:[`routes`],queryFn:()=>ja(`/admin/api/routes`),staleTime:1/0})}function lo(){let e=wn();return Bn({mutationFn:e=>z(`POST`,`/admin/api/routes`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`routes`]})}})}function uo(){let e=wn();return Bn({mutationFn:({id:e,data:t})=>z(`PUT`,`/admin/api/routes/${e}`,t),onSuccess:()=>{e.invalidateQueries({queryKey:[`routes`]})}})}function fo(){let e=wn();return Bn({mutationFn:e=>z(`DELETE`,`/admin/api/routes/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`routes`]})}})}function po(e){return zn({queryKey:[`route-providers`,e],queryFn:()=>ja(`/admin/api/routes/${e}/providers`),enabled:!!e,staleTime:1/0})}function B(){let e=wn();return Bn({mutationFn:({routeId:e,data:t})=>z(`POST`,`/admin/api/routes/${e}/providers`,t),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]}),e.invalidateQueries({queryKey:[`routes`]})}})}function V(){let e=wn();return Bn({mutationFn:({routeId:e,providerId:t,data:n})=>z(`PUT`,`/admin/api/routes/${e}/providers/${t}`,n),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]})}})}function mo(){let e=wn();return Bn({mutationFn:({routeId:e,providerId:t})=>z(`DELETE`,`/admin/api/routes/${e}/providers/${t}`),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]}),e.invalidateQueries({queryKey:[`routes`]})}})}function ho(){let e=wn();return Bn({mutationFn:({routeId:e,data:t})=>z(`PUT`,`/admin/api/routes/${e}/providers/reorder`,t),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]}),e.invalidateQueries({queryKey:[`routes`]})}})}async function go(){let e=$i.getState().token??``,t=await fetch(`/admin/api/env/export`,{headers:{Authorization:`Bearer ${e}`}});if(!t.ok)throw Error(`Export failed: HTTP ${t.status}`);let n=await t.blob(),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=`.anyllm.env`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)}function H(...e){let t=[],n=e=>{e&&(typeof e==`string`||typeof e==`number`?t.push(String(e)):Array.isArray(e)&&e.forEach(n))};return e.forEach(n),t.join(` `)}var _o=(0,P.forwardRef)(({glyph:e=`✦`,solid:t,static:n,className:r,...i},a)=>(0,F.jsx)(`span`,{ref:a,"aria-hidden":`true`,className:H(`pui-sparkle`,!n&&`pui-sparkle--blink`,t&&`pui-sparkle--solid`,r),...i,children:e}));_o.displayName=`Sparkle`;var vo=(0,P.forwardRef)(({as:e,static:t,className:n,children:r,...i},a)=>(0,F.jsx)(e??`span`,{ref:a,className:H(`pui-gradient-text`,!t&&`pui-gradient-text--animate`,n),...i,children:r}));vo.displayName=`GradientText`;var yo=(0,P.forwardRef)(({color:e,static:t,className:n,style:r,...i},a)=>(0,F.jsx)(`span`,{ref:a,"aria-hidden":`true`,className:H(`pui-dot`,!t&&`pui-dot--pulse`,n),style:e?{...r,background:e,color:e}:r,...i}));yo.displayName=`StatusDot`;var bo=new Set([`flash1`,`flash2`,`flash3`,`glow1`,`glow2`,`glow3`]),xo=(0,P.forwardRef)(({text:e,animation:t=`wave`,color:n=`glow1`,className:r,style:i,...a},o)=>{let s=bo.has(n),c=s?`pui-quest--${n}`:void 0,l=s?void 0:{color:n};if(t===`wave`){let t=[...e];return(0,F.jsx)(`span`,{ref:o,className:H(`pui-quest`,`pui-quest--wave`,c,r),style:{...l,...i},...a,children:t.map((e,t)=>(0,F.jsx)(`span`,{className:`pui-quest__char`,style:{animationDelay:`${-(t+1)*50}ms`},children:e===` `?`\xA0`:e},t))})}let u=t===`scroll`?`pui-quest__scroll`:`pui-quest__slide`;return(0,F.jsx)(`span`,{ref:o,className:H(`pui-quest`,`pui-quest--${t}`,c,r),style:{...l,...i},...a,children:(0,F.jsx)(`span`,{className:u,children:e})})});xo.displayName=`QuestText`;function So({variant:e=`glow`,size:t=`md`,sparkle:n,loading:r,block:i,as:a,className:o,children:s,disabled:c,...l},u){let d=a??`button`;return(0,F.jsxs)(d,{ref:u,className:H(`pui-btn`,`pui-btn--${e}`,t!==`md`&&`pui-btn--${t}`,i&&`pui-btn--block`,o),disabled:d===`button`?c||r:void 0,"aria-busy":r||void 0,...l,children:[r?(0,F.jsx)(`span`,{className:`pui-btn__spinner`,"aria-hidden":!0}):null,(0,F.jsx)(`span`,{children:s}),n?(0,F.jsx)(_o,{}):null]})}var Co=(0,P.forwardRef)(So),wo=(0,P.forwardRef)(({hideSparkle:e,trailing:t,className:n,children:r,...i},a)=>(0,F.jsxs)(`div`,{ref:a,className:H(`pui-sticky-banner`,n),...i,children:[!e&&(0,F.jsx)(_o,{}),(0,F.jsx)(`span`,{children:r}),t]}));wo.displayName=`StickyBanner`;var To=(0,P.forwardRef)(({icon:e,statusColor:t,className:n,children:r,...i},a)=>(0,F.jsxs)(`span`,{ref:a,className:H(`pui-eyebrow`,n),...i,children:[e===!1?null:e??(0,F.jsx)(yo,{color:t}),(0,F.jsx)(`span`,{children:r})]}));To.displayName=`EyebrowPill`;function Eo({words:e,typeMs:t=70,deleteMs:n=32,holdMs:r=1500,loop:i=!0,onWordReached:a}){let[o,s]=(0,P.useState)(``),[c,l]=(0,P.useState)(0),[u,d]=(0,P.useState)(!1),[f,p]=(0,P.useState)(!1),m=(0,P.useRef)({word:o,index:c,isDeleting:u});return m.current={word:o,index:c,isDeleting:u},(0,P.useEffect)(()=>{let o=null,c=!1;if(!e.length)return;let u=()=>{if(c)return;let{word:f,index:h,isDeleting:g}=m.current,_=e[h],v=g?_.slice(0,f.length-1):_.slice(0,f.length+1);if(s(v),!g&&v===_){if(a?.(_,h),!i&&h===e.length-1){p(!0);return}o=setTimeout(()=>{c||(d(!0),o=setTimeout(u,n))},r);return}g&&v===``&&(d(!1),l(t=>(t+1)%e.length)),o=setTimeout(u,g?n:t)};return o=setTimeout(u,t),()=>{c=!0,o&&clearTimeout(o)}},[]),{word:o,index:c,isDeleting:u,isComplete:f}}var Do=(0,P.forwardRef)(({words:e,typeMs:t,deleteMs:n,holdMs:r,loop:i,onWordReached:a,hideCursor:o,cursor:s,renderWord:c,className:l,...u},d)=>{let{word:f,index:p}=Eo({words:e,typeMs:t,deleteMs:n,holdMs:r,loop:i,onWordReached:a});return(0,F.jsxs)(`span`,{ref:d,className:H(`pui-rotator`,l),...u,children:[c?c(f,p):f,!o&&(0,F.jsx)(`span`,{"aria-hidden":`true`,className:H(`pui-rotator__cursor`,s===void 0&&`pui-rotator__cursor--block`,`pui-rotator__cursor--blink`),children:s})]})});Do.displayName=`Rotator`;var Oo=(0,P.forwardRef)(({words:e,intervalMs:t=2200,transitionMs:n=500,direction:r=`up`,gradient:i,className:a,style:o,...s},c)=>{let[l,u]=(0,P.useState)(0);(0,P.useEffect)(()=>{if(!e.length)return;let n=setInterval(()=>u(t=>(t+1)%e.length),t);return()=>clearInterval(n)},[t,e.length]);let d={...o,"--pui-roll-ms":`${n}ms`},f=(l-1+e.length)%e.length;return(0,F.jsxs)(`span`,{ref:c,className:H(`pui-roll`,r===`down`&&`pui-roll--down`,i&&`pui-roll--gradient`,a),style:d,...s,children:[(0,F.jsx)(`span`,{className:`pui-roll__sizer`,"aria-hidden":`true`,children:e[l]}),e.map((e,t)=>(0,F.jsx)(`span`,{className:H(`pui-roll__word`,t===l&&`pui-roll__word--active`,t===f&&l!==f&&`pui-roll__word--past`),"aria-hidden":t===l?void 0:`true`,children:e},t))]})});Oo.displayName=`WordRoll`;var ko=(0,P.forwardRef)(({placeholder:e=`Describe what you want to build…`,defaultValue:t,value:n,onChange:r,onSubmit:i,leading:a,ctaLabel:o=`Generate`,hideCta:s,className:c,...l},u)=>{let d=n!==void 0,[f,p]=(0,P.useState)(t??``),m=d?n:f;return(0,F.jsxs)(`form`,{ref:u,className:H(`pui-prompt`,c),onSubmit:e=>{e.preventDefault(),i?.(m)},...l,children:[a===!1?null:(0,F.jsx)(`span`,{className:`pui-prompt__icon`,children:a??(0,F.jsx)(_o,{})}),(0,F.jsx)(`input`,{className:`pui-prompt__input`,type:`text`,placeholder:e,value:m,onChange:e=>{let t=e.target.value;d||p(t),r?.(t)},autoComplete:`off`}),!s&&(0,F.jsx)(Co,{type:`submit`,variant:`glow`,sparkle:!0,children:o})]})});ko.displayName=`PromptHero`;var Ao=[`GPT-5 Turbo Vision`,`Claude Opus 4.7`,`Gemini 3 Pro`],jo=(0,P.forwardRef)(({value:e,defaultValue:t=``,onChange:n,onSubmit:r,placeholder:i=`Build me a…`,rows:a=3,models:o=Ao,model:s,defaultModel:c,onModelChange:l,onAddContext:u,onVoice:d,hideAddContext:f,hideModel:p,hideVoice:m,hideSend:h,submitOnCmdEnter:g=!0,toolbarExtras:_,className:v,...y},b)=>{let x=e!==void 0,[S,C]=(0,P.useState)(t),w=x?e:S,T=s!==void 0,[E,D]=(0,P.useState)(c??o[0]??``),O=T?s:E,[ee,te]=(0,P.useState)(!1),ne=(0,P.useRef)(null);(0,P.useEffect)(()=>{if(!ee)return;let e=e=>{var t;(t=ne.current)!=null&&t.contains(e.target)||te(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[ee]);let re=e=>{x||C(e),n?.(e)},ie=e=>{T||D(e),l?.(e),te(!1)},ae=e=>{e?.preventDefault(),r?.(w,{model:O})},oe=e=>{g&&e.key===`Enter`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),ae())};return(0,F.jsxs)(`form`,{ref:b,className:H(`pui-promptbox`,v),onSubmit:ae,...y,children:[(0,F.jsx)(`textarea`,{className:`pui-promptbox__textarea`,value:w,onChange:e=>re(e.target.value),onKeyDown:oe,placeholder:i,rows:a}),(0,F.jsxs)(`div`,{className:`pui-promptbox__toolbar`,children:[!f&&(0,F.jsx)(`button`,{type:`button`,className:`pui-promptbox__iconbtn`,onClick:u,title:`Add context`,"aria-label":`Add context`,children:(0,F.jsx)(Mo,{})}),!p&&o.length>0&&(0,F.jsxs)(`div`,{className:`pui-promptbox__model-wrap`,ref:ne,children:[(0,F.jsxs)(`button`,{type:`button`,className:`pui-promptbox__model`,onClick:()=>te(e=>!e),"aria-expanded":ee,"aria-haspopup":`menu`,children:[(0,F.jsx)(`span`,{children:O}),(0,F.jsx)(No,{})]}),ee&&(0,F.jsx)(`div`,{className:`pui-promptbox__menu`,role:`menu`,children:o.map(e=>(0,F.jsxs)(`button`,{type:`button`,className:H(`pui-promptbox__menu-item`,e===O&&`pui-promptbox__menu-item--active`),onClick:()=>ie(e),role:`menuitemradio`,"aria-checked":e===O,children:[(0,F.jsx)(`span`,{children:e}),e===O&&(0,F.jsx)(Io,{})]},e))})]}),(0,F.jsx)(`div`,{className:`pui-promptbox__spacer`}),_,!m&&(0,F.jsx)(`button`,{type:`button`,className:`pui-promptbox__iconbtn`,onClick:d,title:`Voice mode`,"aria-label":`Voice mode`,children:(0,F.jsx)(Po,{})}),!h&&(0,F.jsx)(`button`,{type:`submit`,className:`pui-promptbox__iconbtn pui-promptbox__send`,title:`Send`,"aria-label":`Send`,children:(0,F.jsx)(Fo,{})})]})]})});jo.displayName=`Prompt`;function Mo(){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.2`,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,F.jsx)(`path`,{d:`M12 5v14M5 12h14`})})}function No(){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`10`,height:`10`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,F.jsx)(`polyline`,{points:`6 9 12 15 18 9`})})}function Po(){return(0,F.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,F.jsx)(`rect`,{x:`9`,y:`2`,width:`6`,height:`12`,rx:`3`}),(0,F.jsx)(`path`,{d:`M19 10a7 7 0 0 1-14 0`}),(0,F.jsx)(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`22`})]})}function Fo(){return(0,F.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.4`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,F.jsx)(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`5`}),(0,F.jsx)(`polyline`,{points:`5 12 12 5 19 12`})]})}function Io(){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.4`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,F.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}var Lo=` .\`'",:;Il!i><~+_-?][}{1)(|/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$`,Ro=[`#a78bfa`,`#ec4899`,`#67e8f9`,`#fbbf24`];function zo(e,t,n={}){let{cols:r,rows:i,fontSize:a=11,fontFamily:o=`JetBrains Mono, ui-monospace, monospace`,charRamp:s=Lo,colorful:c=!1,palette:l,baseOpacity:u=1,reactive:d=!0,rippleStrength:f=1.4,rippleRadius:p=6,spotlightOpacity:m,spotlightRadius:h=8,frameMs:g=50}=n,_=(0,P.useMemo)(()=>l??(c?Ro:null),[l,c]);(0,P.useEffect)(()=>{let n=e.current,c=t.current;if(!n||!c)return;let l=n.getContext(`2d`);if(!l)return;let v=0,y=0,b=0,x=0,S=0,C=0,w=new Float32Array,T=1,E={x:-9999,y:-9999},D=()=>{w=new Float32Array(b*x);for(let e=0;e{let e=c.getBoundingClientRect();e.width===0||e.height===0||(T=Math.min(window.devicePixelRatio||1,2),n.width=Math.max(1,Math.floor(e.width*T)),n.height=Math.max(1,Math.floor(e.height*T)),l.setTransform(T,0,0,T,0,0),l.font=`${a}px ${o}`,l.textBaseline=`top`,S=l.measureText(`M`).width||a*.6,C=a*1.15,b=r??Math.max(1,Math.floor(e.width/S)),x=i??Math.max(1,Math.floor(e.height/C)),r!==void 0&&(S=e.width/b),i!==void 0&&(C=e.height/x),D())},ee=e=>{if(e-y=r.left-24&&E.x<=r.right+24&&E.y>=r.top-24&&E.y<=r.bottom+24;l.clearRect(0,0,r.width,r.height);let c=s.length-1,T=typeof m==`number`&&m!==u,D=h*h*2;for(let e=0;e1&&(te=1)}if(te<=.01)continue;let ne=`#c8c8d4`;if(_&&_.length){let r=(n*.1+e*.07+t*.12)%_.length;ne=_[Math.floor(Math.abs(r))%_.length]}l.globalAlpha=te,l.fillStyle=ne,l.fillText(ee,n*S,e*C)}l.globalAlpha=1,v=requestAnimationFrame(ee)},te=e=>{E.x=e.clientX,E.y=e.clientY},ne=new ResizeObserver(O);return ne.observe(c),O(),d&&window.addEventListener(`mousemove`,te,{passive:!0}),v=requestAnimationFrame(ee),()=>{cancelAnimationFrame(v),ne.disconnect(),d&&window.removeEventListener(`mousemove`,te)}},[e,t,r,i,a,o,s,_,u,d,f,p,m,h,g])}var Bo=(0,P.forwardRef)(({variant:e=`panel`,cols:t,rows:n,fontSize:r,fontFamily:i,charRamp:a,colorful:o,palette:s,baseOpacity:c,reactive:l,rippleStrength:u,rippleRadius:d,spotlightOpacity:f,spotlightRadius:p,frameMs:m,className:h,...g},_)=>{let v=(0,P.useRef)(null),y=(0,P.useRef)(null);return zo(y,v,{cols:t,rows:n,fontSize:r,fontFamily:i,charRamp:a,colorful:o,palette:s,baseOpacity:c,reactive:l,rippleStrength:u,rippleRadius:d,spotlightOpacity:f,spotlightRadius:p,frameMs:m}),(0,F.jsx)(`div`,{ref:e=>{v.current=e,typeof _==`function`?_(e):_&&(_.current=e)},className:H(`pui-ascii`,e===`panel`&&`pui-ascii--panel`,h),"aria-hidden":`true`,...g,children:(0,F.jsx)(`canvas`,{ref:y})})});Bo.displayName=`AsciiHero`;var Vo=`circle(0px at -9999px -9999px)`,Ho=(0,P.forwardRef)(({text_default:e,text_reveal:t,pattern:n=`0 1 0 1 `,pattern_size_default:r=14,pattern_size_reveal:i=22,scopeSize:a=320,fontSize:o,fontFamily:s,className:c,style:l,...u},d)=>{let f=(0,P.useRef)(null),p=(0,P.useRef)(null);(0,P.useEffect)(()=>{let e=f.current,t=p.current;if(!e||!t)return;let n=a/2,r=0,i=0,o=0,s=!1,c=()=>{if(r=0,!s)return;s=!1;let e=`circle(${n}px at ${i}px ${o}px)`;t.style.clipPath=e,t.style.webkitClipPath=e},l=t=>{let n=e.getBoundingClientRect();i=t.clientX-n.left,o=t.clientY-n.top,s=!0,r||(r=requestAnimationFrame(c))},u=()=>{r&&(cancelAnimationFrame(r),r=0,s=!1),t.style.clipPath=Vo,t.style.webkitClipPath=Vo};return e.addEventListener(`pointermove`,l),e.addEventListener(`pointerleave`,u),e.addEventListener(`pointercancel`,u),()=>{e.removeEventListener(`pointermove`,l),e.removeEventListener(`pointerleave`,u),e.removeEventListener(`pointercancel`,u),r&&cancelAnimationFrame(r)}},[a]);let m=e=>{f.current=e,typeof d==`function`?d(e):d&&(d.current=e)},h=(0,P.useMemo)(()=>n.repeat(40),[n]),g=(0,P.useMemo)(()=>Array.from({length:40},(e,t)=>t),[]),_=e=>(0,F.jsx)(`div`,{className:`pui-goldeneye__pattern`,style:{fontSize:`${e}px`},children:g.map(e=>(0,F.jsx)(`div`,{className:`pui-goldeneye__pattern-row`,children:h},e))}),v={...s?{"--pui-goldeneye-font":s}:{},...o==null?{}:{"--pui-goldeneye-headline-size":typeof o==`number`?`${o}px`:o}};return(0,F.jsxs)(`div`,{ref:m,className:H(`pui-goldeneye`,c),style:{...v,...l},...u,children:[(0,F.jsxs)(`div`,{className:`pui-goldeneye__base`,children:[_(r),(0,F.jsx)(`div`,{className:`pui-goldeneye__headline`,children:e})]}),(0,F.jsxs)(`div`,{ref:p,className:`pui-goldeneye__scope`,"aria-hidden":`true`,style:{clipPath:Vo,WebkitClipPath:Vo},children:[_(i),(0,F.jsx)(`div`,{className:`pui-goldeneye__headline`,children:t})]})]})});Ho.displayName=`Goldeneye`;var Uo=[{color:`rgba(124,58,237,0.45)`,x:20,y:30,size:60},{color:`rgba(236,72,153,0.35)`,x:80,y:25,size:50},{color:`rgba(6,182,212,0.30)`,x:50,y:80,size:50}],Wo=(0,P.forwardRef)(({blobs:e=Uo,blur:t=50,static:n,animated:r,repulsion:i=.18,className:a,style:o,...s},c)=>{let l=(0,P.useRef)([]);(0,P.useEffect)(()=>{if(!r)return;let t=e.map(e=>({x:e.x,y:e.y,homeX:e.x,homeY:e.y,size:e.size??50,vx:(Math.random()-.5)*.06,vy:(Math.random()-.5)*.06})),n=0,a=()=>{for(let e=0;e.001){let e=(l-c)/l*i;n.vx+=o/c*e,n.vy+=s/c*e}}n.vx+=(Math.random()-.5)*.012,n.vy+=(Math.random()-.5)*.012,n.x+=n.vx,n.y+=n.vy,n.x<-10&&(n.x=-10,n.vx=Math.abs(n.vx)*.6),n.x>110&&(n.x=110,n.vx=-Math.abs(n.vx)*.6),n.y<-10&&(n.y=-10,n.vy=Math.abs(n.vy)*.6),n.y>110&&(n.y=110,n.vy=-Math.abs(n.vy)*.6);let r=l.current[e];r&&(r.style.left=`${n.x}%`,r.style.top=`${n.y}%`)}n=requestAnimationFrame(a)};return n=requestAnimationFrame(a),()=>cancelAnimationFrame(n)},[r,e,i]);let u={...o,filter:`blur(${t}px) saturate(140%)`};return(0,F.jsx)(`div`,{ref:c,"aria-hidden":`true`,className:H(`pui-aurora`,!n&&!r&&`pui-aurora--drift`,a),style:u,...s,children:e.map((e,t)=>{let n=e.size??50;return(0,F.jsx)(`div`,{ref:e=>{l.current[t]=e},className:`pui-aurora__blob`,style:{position:`absolute`,left:`${e.x}%`,top:`${e.y}%`,width:`${n}%`,height:`${n}%`,background:`radial-gradient(circle at center, ${e.color} 0%, transparent 70%)`,transform:`translate(-50%, -50%)`,pointerEvents:`none`,borderRadius:`50%`}},t)})})});Wo.displayName=`Aurora`;var Go=(0,P.forwardRef)(({density:e=70,speed:t=.4,linkDistance:n=140,colors:r=[`#a78bfa`,`#f0abfc`,`#67e8f9`],linkColor:i=`#7c3aed`,hoverDistance:a=200,hoverGravity:o=.005,hoverBrighten:s=.8,baseOpacity:c=.45,overscan:l=80,className:u,...d},f)=>{let p=(0,P.useRef)(null),m=(0,P.useRef)(null);return(0,P.useEffect)(()=>{let u=p.current,d=m.current,f=d.getContext(`2d`);if(!f)return;let h=0,g=0,_=1,v={x:-9999,y:-9999},y=0,b=[],x=()=>{let n=-l,i=h+l,a=-l,o=g+l;b=Array.from({length:e},()=>({x:n+Math.random()*(i-n),y:a+Math.random()*(o-a),vx:(Math.random()-.5)*t*2,vy:(Math.random()-.5)*t*2,r:1+Math.random()*1.6,color:r[Math.floor(Math.random()*r.length)]}))},S=()=>{let e=u.getBoundingClientRect();_=Math.min(window.devicePixelRatio||1,2),h=e.width,g=e.height,d.width=h*_,d.height=g*_,d.style.width=`${h}px`,d.style.height=`${g}px`,f.setTransform(_,0,0,_,0,0),x()},C=()=>{f.clearRect(0,0,h,g);let e=-l,t=h+l,r=-l,u=g+l,d=v.x>-9e3;for(let n of b)if(n.x+=n.vx,n.y+=n.vy,(n.xt)&&(n.vx*=-1),(n.yu)&&(n.vy*=-1),a>0&&o>0&&d){let e=v.x-n.x,t=v.y-n.y,r=Math.hypot(e,t);if(r{if(!d||a<=0||s<=0)return 0;let n=Math.hypot(v.x-e,v.y-t);return n>=a?0:(1-n/a)*s};f.lineWidth=1;for(let e=0;e{let t=u.getBoundingClientRect();v.x=e.clientX-t.left,v.y=e.clientY-t.top},T=()=>{v.x=-9999,v.y=-9999},E=new ResizeObserver(S);return E.observe(u),S(),u.addEventListener(`mousemove`,w),u.addEventListener(`mouseleave`,T),y=requestAnimationFrame(C),()=>{cancelAnimationFrame(y),E.disconnect(),u.removeEventListener(`mousemove`,w),u.removeEventListener(`mouseleave`,T)}},[e,t,n,a,o,s,c,l,r,i]),(0,F.jsx)(`div`,{ref:e=>{p.current=e,typeof f==`function`?f(e):f&&(f.current=e)},"aria-hidden":`true`,className:H(`pui-node-graph`,u),...d,children:(0,F.jsx)(`canvas`,{ref:m})})});Go.displayName=`NodeGraphBackground`;function Ko(e,t){if(e.startsWith(`#`)){let n,r,i;return e.length===4?(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),i=parseInt(e[3]+e[3],16)):(n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16)),`rgba(${n},${r},${i},${t})`}return e}var qo=(0,P.forwardRef)(({count:e=18,glyphs:t=[`✦`,`✧`,`✶`,`✺`,`✹`,`·`],durationS:n=[8,18],sizeRange:r=[8,20],className:i,...a},o)=>{let s=(0,P.useMemo)(()=>Array.from({length:e},()=>({glyph:t[Math.floor(Math.random()*t.length)],left:Math.random()*100,duration:n[0]+Math.random()*(n[1]-n[0]),delay:Math.random()*n[1],size:r[0]+Math.random()*(r[1]-r[0]),opacity:.4+Math.random()*.5})),[e,t,n,r]);return(0,F.jsx)(`div`,{ref:o,"aria-hidden":`true`,className:H(`pui-sparkle-field`,i),...a,children:s.map((e,t)=>(0,F.jsx)(`span`,{className:`pui-sparkle-field__item`,style:{left:`${e.left}%`,fontSize:`${e.size}px`,"--pui-sparkle-peak":e.opacity.toFixed(2),animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`},children:e.glyph},t))})});qo.displayName=`FloatingSparkles`;var Jo=(0,P.forwardRef)(({breathing:e,glowOnHover:t=!0,className:n,children:r,...i},a)=>(0,F.jsx)(`article`,{ref:a,className:H(`pui-glass-card`,e&&`pui-glass-card--breathing`,t&&`pui-glass-card--glow-hover`,n),...i,children:r}));Jo.displayName=`GlassCard`;var Yo=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`div`,{ref:n,className:H(`pui-glass-card__icon`,e),...t}));Yo.displayName=`GlassCard.Icon`;var Xo=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`h3`,{ref:n,className:H(`pui-glass-card__title`,e),...t}));Xo.displayName=`GlassCard.Title`;var Zo=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`p`,{ref:n,className:H(`pui-glass-card__body`,e),...t}));Zo.displayName=`GlassCard.Body`;var Qo=(0,P.forwardRef)(({className:e,children:t,...n},r)=>(0,F.jsxs)(`a`,{ref:r,className:H(`pui-glass-card__link`,e),...n,children:[(0,F.jsx)(`span`,{children:t}),(0,F.jsx)(`span`,{className:`pui-arrow`,children:`→`})]}));Qo.displayName=`GlassCard.Link`;var $o=Object.assign(Jo,{Icon:Yo,Title:Xo,Body:Zo,Link:Qo}),es=(0,P.forwardRef)(({filename:e,tokens:t,loop:n=!0,charMs:r=[14,42],thinkingLabel:i=`AI is writing…`,className:a,children:o,...s},c)=>(0,F.jsx)(`div`,{ref:c,"data-theme":`dark`,className:H(`pui-ide`,a),...s,children:o??(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ts,{filename:e,thinking:i}),(0,F.jsx)(ns,{tokens:t??[],loop:n,charMs:r})]})}));es.displayName=`MockIDE`;var ts=(0,P.forwardRef)(({filename:e,thinking:t,className:n,children:r,...i},a)=>(0,F.jsxs)(`div`,{ref:a,className:H(`pui-ide__chrome`,n),...i,children:[(0,F.jsx)(`span`,{className:`pui-ide__dot pui-ide__dot--red`}),(0,F.jsx)(`span`,{className:`pui-ide__dot pui-ide__dot--yellow`}),(0,F.jsx)(`span`,{className:`pui-ide__dot pui-ide__dot--green`}),e&&(0,F.jsx)(`span`,{className:`pui-ide__tab`,children:e}),r,t!==!1&&(0,F.jsxs)(`span`,{className:`pui-ide__thinking`,children:[(0,F.jsx)(`span`,{className:`pui-spinner`}),(0,F.jsx)(`span`,{children:t})]})]}));ts.displayName=`MockIDE.Chrome`;var ns=(0,P.forwardRef)(({tokens:e,loop:t=!0,charMs:n=[14,42],className:r,...i},a)=>{let o=(0,P.useRef)(null),s=a??o,[c,l]=(0,P.useState)(0);return(0,P.useEffect)(()=>{let r=s.current;if(!r||!e.length)return;let i=!1,a=null,o=0,c=0,u=``,d=e=>e.replace(/&/g,`&`).replace(//g,`>`),f=()=>{if(i)return;if(o>=e.length){t&&(a=setTimeout(()=>{o=0,c=0,r.innerHTML=u,l(e=>e+1),f()},3e3));return}let s=e[o];if(c+=1,c>s.c.length){o+=1,c=0,f();return}let p=``;for(let t=0;t${d(n.c)}`:d(n.c)}let m=s.c.slice(0,c);p+=s.cls?`${d(m)}`:d(m),p+=u,r.innerHTML=p;let[h,g]=n,_=h+Math.random()*(g-h)+(m.endsWith(` -`)?120:0);a=setTimeout(f,_)};return r.innerHTML=u,f(),()=>{i=!0,a&&clearTimeout(a)}},[e,t,n,s,c]),(0,F.jsx)(`pre`,{ref:s,className:H(`pui-ide__body`,r),...i})});ns.displayName=`MockIDE.Body`,Object.assign(es,{Chrome:ts,Body:ns});var rs=(0,P.forwardRef)(({role:e,agent:t,thinking:n,icon:r,className:i,children:a,...o},s)=>(0,F.jsxs)(`div`,{ref:s,className:H(`pui-bubble`,e===`user`?`pui-bubble--user`:`pui-bubble--ai`,i),...o,children:[e===`ai`&&(t||n!==!1||r!==!1)&&(0,F.jsxs)(`div`,{className:`pui-bubble__meta`,children:[r===!1?null:r??(0,F.jsx)(_o,{}),t&&(0,F.jsx)(`span`,{children:t}),n!==!1&&(0,F.jsxs)(`span`,{className:`pui-bubble__thinking-pill`,children:[(0,F.jsx)(`span`,{className:`pui-spinner pui-spinner--sm`}),(0,F.jsx)(`span`,{children:n??`thinking…`})]})]}),(0,F.jsx)(`div`,{className:`pui-bubble__stream`,children:a})]}));rs.displayName=`ChatBubble`;var is=e=>e.split(/(\s+)/);function as({text:e,speedMs:t=[18,80],tokenize:n=is,loop:r=!1,loopDelayMs:i=6e3,onComplete:a}){let[o,s]=(0,P.useState)(``),[c,l]=(0,P.useState)(!1),u=(0,P.useRef)(a);return u.current=a,(0,P.useEffect)(()=>{let a=!1,o=null,c=n(e),d=()=>Array.isArray(t)?t[0]+Math.random()*(t[1]-t[0]):t,f=()=>{let e=0,t=``,n=()=>{var p;if(!a){if(e>=c.length){l(!0),(p=u.current)==null||p.call(u),r&&(o=setTimeout(()=>{a||(l(!1),s(``),f())},i));return}t+=c[e],e+=1,s(t),o=setTimeout(n,d())}};n()};return f(),()=>{a=!0,o&&clearTimeout(o)}},[]),{output:o,isStreaming:!c,isComplete:c}}var os=(0,P.forwardRef)(({text:e,speedMs:t,tokenize:n,loop:r,loopDelayMs:i,onComplete:a,hideCaret:o,className:s,...c},l)=>{let{output:u,isStreaming:d}=as({text:e,speedMs:t,tokenize:n,loop:r,loopDelayMs:i,onComplete:a});return(0,F.jsxs)(`span`,{ref:l,className:H(s),...c,children:[u,!o&&d&&(0,F.jsx)(`span`,{className:`pui-bubble__stream-caret`})]})});os.displayName=`TokenStream`;var ss=[`·`,`✢`,`✳`,`✶`,`✻`,`✽`],cs=`Accomplishing.Actioning.Actualizing.Architecting.Baking.Beaming.Befuddling.Billowing.Blanching.Bloviating.Boogieing.Boondoggling.Booping.Bootstrapping.Brewing.Bunning.Burrowing.Calculating.Canoodling.Caramelizing.Cascading.Catapulting.Cerebrating.Channeling.Channelling.Choreographing.Churning.Clauding.Coalescing.Cogitating.Combobulating.Composing.Computing.Concocting.Considering.Contemplating.Cooking.Crafting.Creating.Crunching.Crystallizing.Cultivating.Deciphering.Deliberating.Determining.Dilly-dallying.Discombobulating.Doing.Doodling.Drizzling.Ebbing.Effecting.Elucidating.Embellishing.Enchanting.Envisioning.Evaporating.Fermenting.Fiddle-faddling.Finagling.Flambéing.Flibbertigibbeting.Flowing.Flummoxing.Fluttering.Forging.Forming.Frolicking.Frosting.Gallivanting.Galloping.Garnishing.Generating.Gesticulating.Germinating.Gitifying.Grooving.Gusting.Harmonizing.Hashing.Hatching.Herding.Honking.Hullaballooing.Hyperspacing.Ideating.Imagining.Improvising.Incubating.Inferring.Infusing.Ionizing.Jitterbugging.Julienning.Kneading.Leavening.Levitating.Lollygagging.Manifesting.Marinating.Meandering.Metamorphosing.Misting.Moonwalking.Moseying.Mulling.Mustering.Musing.Nebulizing.Nesting.Newspapering.Noodling.Nucleating.Orbiting.Orchestrating.Osmosing.Perambulating.Percolating.Perusing.Philosophising.Photosynthesizing.Pollinating.Pondering.Pontificating.Pouncing.Precipitating.Prestidigitating.Processing.Proofing.Propagating.Puttering.Puzzling.Quantumizing.Razzle-dazzling.Razzmatazzing.Recombobulating.Reticulating.Roosting.Ruminating.Sautéing.Scampering.Schlepping.Scurrying.Seasoning.Shenaniganing.Shimmying.Simmering.Skedaddling.Sketching.Slithering.Smooshing.Sock-hopping.Spelunking.Spinning.Sprouting.Stewing.Sublimating.Swirling.Swooping.Symbioting.Synthesizing.Tempering.Thinking.Thundering.Tinkering.Tomfoolering.Topsy-turvying.Transfiguring.Transmuting.Twisting.Undulating.Unfurling.Unravelling.Vibing.Waddling.Wandering.Warping.Whatchamacalliting.Whirlpooling.Whirring.Whisking.Wibbling.Working.Wrangling.Zesting.Zigzagging`.split(`.`);function ls(e){return e[Math.floor(Math.random()*e.length)]}var us=(0,P.forwardRef)(({verbs:e=cs,glyphs:t=ss,glyphInterval:n=250,verbInterval:r,ellipsis:i=`…`,info:a,glyphColor:o,className:s,...c},l)=>{let[u,d]=(0,P.useState)(0),[f,p]=(0,P.useState)(()=>e.length?ls(e):``);(0,P.useEffect)(()=>{if(!t.length)return;let e=setInterval(()=>{d(e=>(e+1)%t.length)},n);return()=>clearInterval(e)},[n,t.length]),(0,P.useEffect)(()=>{if(r==null||!e.length)return;let t=setInterval(()=>{p(ls(e))},r);return()=>clearInterval(t)},[e,r]);let m=f;return(0,F.jsxs)(`span`,{ref:l,className:H(`pui-wibble`,s),...c,children:[(0,F.jsx)(`span`,{className:`pui-wibble__glyph`,"aria-hidden":`true`,style:o?{color:o}:void 0,children:t[u]??``}),(0,F.jsxs)(`span`,{className:`pui-wibble__verb`,children:[m,i]}),a!=null&&a!==!1&&(0,F.jsxs)(`span`,{className:`pui-wibble__info`,children:[`(`,a,`)`]})]})});us.displayName=`WibblingSpinner`;var ds=(0,P.forwardRef)(({label:e=`Ask AI`,open:t,defaultOpen:n,onOpenChange:r,popover:i,className:a,onClick:o,...s},c)=>{let l=t!==void 0,[u,d]=(0,P.useState)(n??!1),f=l?!!t:u,p=()=>{let e=!f;l||d(e),r?.(e)},m=()=>{l||d(!1),r?.(!1)};return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`button`,{ref:c,className:H(`pui-fab`,a),onClick:e=>{o?.(e),p()},"aria-expanded":f,...s,children:[(0,F.jsx)(_o,{}),(0,F.jsx)(`span`,{children:e})]}),f&&(0,F.jsx)(`div`,{role:`dialog`,className:`pui-fab-popover`,children:(0,F.jsx)(fs.Provider,{value:m,children:i})})]})});ds.displayName=`ChatFAB`;var fs=(0,P.createContext)(()=>{}),ps=(0,P.forwardRef)(({onClose:e,className:t,children:n,...r},i)=>{let a=(0,P.useContext)(fs);return(0,F.jsxs)(`div`,{ref:i,className:H(`pui-fab-popover__header`,t),...r,children:[(0,F.jsx)(_o,{}),(0,F.jsx)(`span`,{children:n}),(0,F.jsx)(`button`,{type:`button`,"aria-label":`Close`,className:`pui-fab-popover__close`,onClick:e??a,children:`×`})]})});ps.displayName=`ChatFAB.Header`;var ms=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`div`,{ref:n,className:H(`pui-fab-popover__body`,e),...t}));ms.displayName=`ChatFAB.Body`,Object.assign(ds,{Header:ps,Body:ms});var hs=(0,P.forwardRef)(({logos:e,speed:t=40,gap:n=56,fade:r=!0,pauseOnHover:i,className:a,style:o,...s},c)=>{let l={...o??{},"--pui-marquee-speed":`${t}s`,"--pui-marquee-gap":`${n}px`},u=(e,t)=>e.kind===`img`?(0,F.jsx)(`span`,{className:`pui-marquee__item`,children:(0,F.jsx)(`img`,{src:e.src,alt:e.alt??``})},`a${t}`):(0,F.jsx)(`span`,{className:`pui-marquee__item`,children:e.node},e.key??`b${t}`);return(0,F.jsx)(`div`,{ref:c,className:H(`pui-marquee`,r&&`pui-marquee--fade`,i&&`pui-marquee--paused-on-hover`,a),style:l,"aria-label":`Trusted by`,...s,children:(0,F.jsxs)(`div`,{className:`pui-marquee__track`,children:[e.map(u),e.map((t,n)=>u(t,n+e.length))]})})});hs.displayName=`LogoMarquee`;var gs=(0,P.forwardRef)(({heading:e,logos:t,className:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:H(`pui-logo-row`,n),...r,children:[e&&(0,F.jsx)(`p`,{className:`pui-logo-row__heading`,children:e}),(0,F.jsx)(`div`,{className:`pui-logo-row__items`,children:t.map((e,t)=>e.kind===`img`?(0,F.jsx)(`img`,{src:e.src,alt:e.alt??``},t):(0,F.jsx)(`span`,{className:`pui-logo-row__text`,children:e.node},e.key??t))})]}));gs.displayName=`LogoRow`;var _s=(0,P.forwardRef)(({rows:e,intensity:t=240,startDirection:n=`left`,gap:r=12,fade:i=!0,gradient:a=!1,static:o,className:s,style:c,...l},u)=>{let d=(0,P.useRef)(null);(0,P.useEffect)(()=>{let e=d.current;if(!e||o||window.matchMedia?.call(window,`(prefers-reduced-motion: reduce)`).matches)return;let n=0,r=()=>{n=0;let r=e.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,a=(i-r.top)/(i+r.height),o=(Math.min(1,Math.max(0,a))-.5)*t;e.style.setProperty(`--pui-slip`,`${o}px`)},i=()=>{n||(n=requestAnimationFrame(r))};return r(),window.addEventListener(`scroll`,i,{passive:!0}),window.addEventListener(`resize`,i,{passive:!0}),()=>{n&&cancelAnimationFrame(n),window.removeEventListener(`scroll`,i),window.removeEventListener(`resize`,i)}},[t,o]);let f=e=>{d.current=e,typeof u==`function`?u(e):u&&(u.current=e)},p=n===`left`?-1:1,m={...c??{},"--pui-slip-gap":`${r}px`};return(0,F.jsx)(`div`,{ref:f,className:H(`pui-slippy`,i&&`pui-slippy--fade`,s),style:m,"aria-label":`Featured terms`,...l,children:e.map((e,t)=>(0,F.jsx)(`div`,{className:`pui-slippy__row`,style:{"--pui-slip-dir":t%2==0?p:-p},children:e.map((e,n)=>{let r=typeof e==`string`?{label:e}:e;return(0,F.jsx)(`span`,{className:H(`pui-slippy__word`,(a||typeof e==`object`&&e.gradient)&&`pui-slippy__word--gradient`),children:r.label},typeof e==`object`&&e.key||`${t}-${n}`)})},t))})});_s.displayName=`SlippyWords`;function vs({target:e,durationMs:t=1800,from:n=0,ease:r=e=>1-(1-e)**3}){let[i,a]=(0,P.useState)(n);return(0,P.useEffect)(()=>{let i=0,o=performance.now(),s=c=>{let l=Math.min(1,(c-o)/t);a(Math.floor(n+(e-n)*r(l))),l<1&&(i=requestAnimationFrame(s))};return i=requestAnimationFrame(s),()=>cancelAnimationFrame(i)},[]),i}var ys=(0,P.forwardRef)(({target:e,durationMs:t,from:n,ease:r,format:i=e=>e.toLocaleString(),className:a,...o},s)=>{let c=vs({target:e,durationMs:t,from:n,ease:r});return(0,F.jsx)(`span`,{ref:s,className:H(`pui-stat`,a),...o,children:i(c)})});ys.displayName=`StatCounter`;var bs=(0,P.forwardRef)(({icon:e,iconNode:t,title:n,subtitle:r,className:i,...a},o)=>(0,F.jsxs)(`a`,{ref:o,className:H(`pui-community`,i),...a,children:[t??(e&&(0,F.jsx)(`img`,{className:`pui-community__icon`,src:e,alt:``})),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`pui-community__top`,children:n}),(0,F.jsx)(`div`,{className:`pui-community__bottom`,children:r})]})]}));bs.displayName=`CommunityBadge`;var xs=(0,P.forwardRef)(({featured:e,className:t,...n},r)=>(0,F.jsx)(`article`,{ref:r,className:H(`pui-price`,e&&`pui-price--featured`,t),...n}));xs.displayName=`PricingCard`;var Ss=(0,P.forwardRef)(({hideSparkle:e,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:H(`pui-price__flag`,t),...r,children:[!e&&(0,F.jsx)(_o,{solid:!0}),(0,F.jsx)(`span`,{children:n})]}));Ss.displayName=`PricingCard.Flag`;var Cs=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`div`,{ref:n,className:H(`pui-price__tier`,e),...t}));Cs.displayName=`PricingCard.Tier`;var ws=(0,P.forwardRef)(({unit:e,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:H(`pui-price__amount`,t),...r,children:[n,e&&(0,F.jsx)(`span`,{className:`pui-price__amount-unit`,children:e})]}));ws.displayName=`PricingCard.Amount`;var Ts=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`p`,{ref:n,className:H(`pui-price__blurb`,e),...t}));Ts.displayName=`PricingCard.Blurb`;var Es=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`ul`,{ref:n,className:H(`pui-price__features`,e),...t}));Es.displayName=`PricingCard.Features`;var Ds=(0,P.forwardRef)(({className:e,children:t,...n},r)=>(0,F.jsx)(`a`,{ref:r,className:H(`pui-btn pui-btn--glow pui-btn--block`,e),...n,children:(0,F.jsx)(`span`,{children:t})}));Ds.displayName=`PricingCard.CTA`,Object.assign(xs,{Flag:Ss,Tier:Cs,Amount:ws,Blurb:Ts,Features:Es,CTA:Ds});var Os=(0,P.forwardRef)(({before:e,after:t,brand:n,beforeLabel:r=`Before`,afterLabel:i=`After`,className:a,children:o,...s},c)=>(0,F.jsx)(`div`,{ref:c,className:H(`pui-ba`,a),...s,children:o??(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ks,{label:r,children:(0,F.jsx)(`ul`,{children:(e??[]).map((e,t)=>(0,F.jsx)(`li`,{children:e},t))})}),(0,F.jsx)(js,{brand:n}),(0,F.jsx)(As,{label:i,children:(0,F.jsx)(`ul`,{children:(t??[]).map((e,t)=>(0,F.jsx)(`li`,{children:e},t))})})]})}));Os.displayName=`BeforeAfter`;var ks=(0,P.forwardRef)(({label:e=`Before`,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:H(`pui-ba__panel pui-ba__panel--before`,t),...r,children:[(0,F.jsx)(`div`,{className:`pui-ba__tag`,children:e}),n]}));ks.displayName=`BeforeAfter.Before`;var As=(0,P.forwardRef)(({label:e=`After`,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:H(`pui-ba__panel pui-ba__panel--after`,t),...r,children:[(0,F.jsx)(`div`,{className:`pui-ba__tag`,children:e}),n]}));As.displayName=`BeforeAfter.After`;var js=(0,P.forwardRef)(({brand:e,className:t,...n},r)=>(0,F.jsxs)(`div`,{ref:r,className:H(`pui-ba__arrow`,t),...n,children:[(0,F.jsx)(_o,{}),e?(0,F.jsxs)(`span`,{children:[`with `,e]}):(0,F.jsx)(`span`,{children:`after`}),(0,F.jsx)(`span`,{children:`→`})]}));js.displayName=`BeforeAfter.Arrow`,Object.assign(Os,{Before:ks,After:As,Arrow:js});var Ms=(0,P.forwardRef)(({placeholder:e=`you@startup.ai`,defaultValue:t=``,ctaLabel:n=`Notify me`,leading:r,footnote:i,onSubmit:a,className:o,...s},c)=>{let[l,u]=(0,P.useState)(t);return(0,F.jsxs)(`div`,{className:H(`pui-waitlist-wrap`,o),children:[(0,F.jsxs)(`form`,{ref:c,className:`pui-waitlist`,onSubmit:e=>{e.preventDefault(),a?.(l)},...s,children:[r===!1?null:(0,F.jsx)(`span`,{className:`pui-waitlist__icon`,"aria-hidden":`true`,children:r??(0,F.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,width:`18`,height:`18`,children:[(0,F.jsx)(`rect`,{x:`3`,y:`5`,width:`18`,height:`14`,rx:`2`}),(0,F.jsx)(`path`,{d:`M3 7l9 6 9-6`})]})}),(0,F.jsx)(`input`,{className:`pui-waitlist__input`,type:`email`,placeholder:e,value:l,onChange:e=>u(e.target.value)}),(0,F.jsx)(Co,{type:`submit`,variant:`solid`,children:n})]}),i&&(0,F.jsx)(`div`,{className:`pui-waitlist__footnote`,children:i})]})});Ms.displayName=`WaitlistForm`;function Ns({open:e,defaultOpen:t=!1,onOpenChange:n,timer:r=0,title:i,children:a,closeLabel:o=`Maybe later`,closeOnEscape:s=!1,closeOnBackdrop:c=!1,container:l,className:u}){let d=e!==void 0,[f,p]=(0,P.useState)(t),m=d?e:f,h=e=>{d||p(e),n?.(e)};if((0,P.useEffect)(()=>{if(r<=0||m)return;let e=setTimeout(()=>h(!0),r);return()=>clearTimeout(e)},[]),(0,P.useEffect)(()=>{if(!m||!s)return;let e=e=>{e.key===`Escape`&&(e.preventDefault(),h(!1))};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[m,s]),(0,P.useEffect)(()=>{if(!m)return;let e=e=>{e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||[`[`,`]`,`j`,`k`,`ArrowLeft`,`ArrowRight`].includes(e.key)&&e.stopPropagation()};return document.addEventListener(`keydown`,e,{capture:!0}),()=>document.removeEventListener(`keydown`,e,{capture:!0})},[m]),(0,P.useEffect)(()=>{if(!m)return;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}},[m]),!m)return null;let g=l??(typeof document<`u`?document.body:null);return g?(0,Vn.createPortal)((0,F.jsxs)(`div`,{className:`pui-popover-overlay`,role:`dialog`,"aria-modal":`true`,children:[(0,F.jsx)(`div`,{className:`pui-popover-backdrop`,"aria-hidden":`true`,onClick:c?()=>h(!1):void 0}),(0,F.jsxs)(`div`,{className:H(`pui-popover`,u),children:[i&&(0,F.jsx)(`div`,{className:`pui-popover__title`,children:i}),(0,F.jsx)(`div`,{className:`pui-popover__body`,children:a}),o!==!1&&(0,F.jsx)(`button`,{type:`button`,className:`pui-popover__dismiss`,onClick:()=>h(!1),children:o})]})]}),g):null}Ns.displayName=`Popover`;var Ps={primary:`wave`,secondary:`ghost`,danger:`ghost`,icon:`ghost`},Fs={sm:`sm`,md:`md`};function U({tone:e=`secondary`,size:t=`md`,loading:n=!1,block:r=!1,className:i,children:a,disabled:o,...s}){return(0,F.jsx)(Co,{variant:Ps[e],size:Fs[t],loading:n,block:r,className:[`admin-button`,`admin-button-${e}`,i].filter(Boolean).join(` `),disabled:o||n,...s,children:a})}var Is={ok:`var(--ok)`,warn:`var(--warn)`,err:`var(--err)`,dim:`var(--text-3)`};function Ls({status:e,pulse:t}){return(0,F.jsx)(yo,{color:Is[e],static:!t,className:`admin-status-dot`})}function W({children:e,className:t,breathing:n=!1,glowOnHover:r=!1,...i}){return(0,F.jsx)($o,{breathing:n,glowOnHover:r,className:[`admin-surface`,t].filter(Boolean).join(` `),...i,children:e})}function Rs({label:e=`Loading`,info:t,className:n}){return(0,F.jsx)(us,{verbs:[e],glyphs:[`.`,`o`,`O`,`o`],glyphInterval:220,ellipsis:`...`,info:t,glyphColor:`var(--accent)`,className:[`admin-loading`,n].filter(Boolean).join(` `)})}function zs({value:e,precision:t=0,durationMs:n=450,className:r,format:i}){let a=10**t,o=Math.round(e*a),s=(0,P.useRef)(o),c=s.current;return(0,P.useEffect)(()=>{s.current=o},[o]),(0,F.jsx)(ys,{target:o,from:c,durationMs:n,className:r,format:e=>{let t=e/a;return i?i(t):t.toLocaleString()}},o)}function Bs(){let e=$i(e=>e.login),[t,n]=(0,P.useState)(``),[r,i]=(0,P.useState)(!1);async function a(t){t.preventDefault();let r=t.currentTarget.elements.namedItem(`token`).value.trim();if(r){i(!0),n(``);try{if(!(await fetch(`/admin/api/metrics`,{headers:{Authorization:`Bearer ${r}`}})).ok)throw Error(`Invalid token`);e(r)}catch{n(`Invalid token`)}finally{i(!1)}}}return(0,F.jsxs)(`div`,{className:`login-overlay`,children:[(0,F.jsx)(Go,{density:24,speed:.16,linkDistance:110,hoverDistance:120,hoverGravity:.002,baseOpacity:.18,colors:[`#e8a030`,`#4caf6e`,`#5aa9e6`],linkColor:`#e8a030`,className:`login-node-bg`}),(0,F.jsxs)(W,{className:`login-card`,glowOnHover:!0,breathing:!0,children:[(0,F.jsxs)(`div`,{className:`login-title`,children:[(0,F.jsx)(`span`,{className:`prompt`,children:`>\xA0`}),`proxy admin`]}),(0,F.jsxs)(`form`,{onSubmit:a,children:[(0,F.jsx)(`input`,{type:`password`,name:`token`,placeholder:`Admin token`,autoComplete:`current-password`,autoFocus:!0}),(0,F.jsx)(U,{type:`submit`,tone:`primary`,loading:r,block:!0,children:`Sign in`})]}),(0,F.jsx)(`div`,{className:`login-error`,children:t})]})]})}var Vs=[{label:`Overview`,items:[{to:`/dashboard`,label:`Dashboard`},{to:`/requests`,label:`Request Log`},{to:`/traffic`,label:`Traffic`}]},{label:`Configure`,items:[{to:`/providers`,label:`Providers`},{to:`/routes`,label:`Routes`},{to:`/models`,label:`Models`},{to:`/backends`,label:`Backends`}]},{label:`Access`,items:[{to:`/keys`,label:`API Keys`},{to:`/audit`,label:`Audit Log`}]},{label:`System`,items:[{to:`/settings`,label:`Settings`},{to:`/uptime`,label:`Uptime`}]}];function Hs(){let e=$i(e=>e.logout),t=ea(e=>e.status);return(0,F.jsxs)(`aside`,{className:`sidebar`,children:[(0,F.jsx)(`div`,{className:`sidebar-brand`,children:`anyllm`}),(0,F.jsx)(`div`,{className:`sidebar-scroll`,children:Vs.map(e=>(0,F.jsxs)(`div`,{className:`sidebar-group`,children:[(0,F.jsx)(`div`,{className:`sidebar-group-label`,children:e.label}),e.items.map(e=>(0,F.jsx)(I,{to:e.to,className:({isActive:e})=>`sidebar-item${e?` active`:``}`,children:e.label},e.to))]},e.label))}),(0,F.jsxs)(`div`,{className:`sidebar-footer`,children:[(0,F.jsx)(`span`,{className:`ws-status ${t===`connected`?`connected`:`disconnected`}`,children:t===`connected`?`Live`:`Offline`}),(0,F.jsx)(U,{size:`sm`,onClick:e,children:`Sign out`})]})]})}function Us(){let e=fa(e=>e.toasts);return e.length===0?null:(0,F.jsx)(`div`,{className:`toast-stack`,role:`region`,"aria-label":`Notifications`,children:e.map(e=>(0,F.jsx)(Ws,{toast:e},e.id))})}function Ws({toast:e}){let t=fa(e=>e.dismiss);return(0,P.useEffect)(()=>{if(e.ttlMs==null)return;let n=window.setTimeout(()=>t(e.id),e.ttlMs);return()=>window.clearTimeout(n)},[e.id,e.ttlMs,t]),(0,F.jsxs)(`div`,{className:`toast toast-${e.variant}`,role:`status`,children:[(0,F.jsx)(`div`,{className:`toast-message`,children:e.message}),(0,F.jsx)(`button`,{type:`button`,className:`toast-close`,"aria-label":`Dismiss`,onClick:()=>t(e.id),children:`×`})]})}function Gs({req:e}){return(0,F.jsxs)(`div`,{className:`feed-detail`,children:[(0,F.jsx)(`span`,{className:`label`,children:`Request ID`}),(0,F.jsx)(`span`,{className:`val`,children:e.request_id}),(0,F.jsx)(`span`,{className:`label`,children:`Backend`}),(0,F.jsx)(`span`,{className:`val`,children:e.backend}),(0,F.jsx)(`span`,{className:`label`,children:`Model (req)`}),(0,F.jsx)(`span`,{className:`val`,children:e.model_requested??`—`}),(0,F.jsx)(`span`,{className:`label`,children:`Model (mapped)`}),(0,F.jsx)(`span`,{className:`val`,children:e.model_mapped??`—`}),(0,F.jsx)(`span`,{className:`label`,children:`Latency`}),(0,F.jsxs)(`span`,{className:`val`,children:[e.latency_ms,` ms`]}),(0,F.jsx)(`span`,{className:`label`,children:`Tokens in/out`}),(0,F.jsxs)(`span`,{className:`val`,children:[e.input_tokens??`—`,` / `,e.output_tokens??`—`]}),(0,F.jsx)(`span`,{className:`label`,children:`Cost`}),(0,F.jsx)(`span`,{className:`val`,children:e.cost_usd==null?`—`:`$${e.cost_usd.toFixed(6)}`}),e.error_message&&(0,F.jsx)(`div`,{className:`error-msg`,children:e.error_message})]})}function Ks(e){return e<300?`status-2xx`:e<500?`status-4xx`:`status-5xx`}function qs({req:e}){let[t,n]=(0,P.useState)(!1);return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`feed-row`,onClick:()=>n(e=>!e),children:[(0,F.jsx)(`span`,{className:`mono dim`,children:e.timestamp.slice(11,19)}),(0,F.jsx)(`span`,{className:`mono ${Ks(e.status_code)}`,children:e.status_code}),(0,F.jsxs)(`span`,{className:`mono`,children:[e.latency_ms,`ms`]}),(0,F.jsxs)(`span`,{className:`mono`,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:[e.model_requested??e.backend,e.is_streaming&&(0,F.jsx)(`span`,{className:`streaming-badge`,children:`stream`})]}),(0,F.jsx)(`span`,{className:`mono dim`,children:e.input_tokens??`—`}),(0,F.jsx)(`span`,{className:`mono dim`,children:e.output_tokens??`—`}),(0,F.jsx)(`span`,{className:`mono dim`,children:e.cost_usd==null?`—`:`$${e.cost_usd.toFixed(5)}`})]}),t&&(0,F.jsx)(Gs,{req:e})]})}var Js=200;function Ys({initial:e}){let[t,n]=(0,P.useState)(e??[]),[r,i]=(0,P.useState)(!1),a=(0,P.useRef)(r);a.current=r;let o=ea(e=>e.lastEvent);return(0,P.useEffect)(()=>{!o||o.type!==`request_completed`||a.current||n(e=>[o.data,...e].slice(0,Js))},[o]),(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Live Feed`}),(0,F.jsx)(U,{size:`sm`,tone:r?`primary`:`secondary`,onClick:()=>i(e=>!e),children:r?`Resume`:`Pause`})]}),(0,F.jsxs)(`div`,{className:`feed`,children:[(0,F.jsxs)(`div`,{className:`feed-header`,children:[(0,F.jsx)(`span`,{children:`Time`}),(0,F.jsx)(`span`,{children:`Status`}),(0,F.jsx)(`span`,{children:`Latency`}),(0,F.jsx)(`span`,{children:`Model`}),(0,F.jsx)(`span`,{children:`In`}),(0,F.jsx)(`span`,{children:`Out`}),(0,F.jsx)(`span`,{children:`Cost`})]}),t.length===0?(0,F.jsx)(`div`,{className:`empty`,children:`Waiting for requests…`}):t.map(e=>(0,F.jsx)(qs,{req:e},e.request_id))]})]})}function Xs({text:e}){return(0,F.jsx)(`span`,{className:`info-tip`,title:e,"aria-label":e,role:`img`,children:`?`})}function Zs({series:e,gridColor:t=`var(--border-sub)`,height:n=130}){let r=n,i={top:8,right:8,bottom:0,left:0},a=600-i.left-i.right,o=r-i.top-i.bottom,s=e.flatMap(e=>e.data),c=Math.max(...s,1),l=Math.max(...e.map(e=>e.data.length),2);function u(e){return i.left+e/(l-1)*a}function d(e){return i.top+o-e/c*o}let f=Array.from({length:4},(e,t)=>i.top+t/3*o);return(0,F.jsxs)(`svg`,{className:`chart-svg`,viewBox:`0 0 600 ${r}`,preserveAspectRatio:`none`,style:{height:n},children:[f.map((e,n)=>(0,F.jsx)(`line`,{className:`chart-grid-line`,x1:i.left,y1:e,x2:600-i.right,y2:e,stroke:t},n)),e.map((e,t)=>{if(e.data.length<2)return null;let n=e.data.map((e,t)=>`${u(t)},${d(e)}`).join(` `);return(0,F.jsxs)(`g`,{children:[(0,F.jsx)(`polygon`,{className:`chart-area`,points:[`${u(0)},${i.top+o}`,...e.data.map((e,t)=>`${u(t)},${d(e)}`),`${u(e.data.length-1)},${i.top+o}`].join(` `),fill:e.color}),(0,F.jsx)(`polyline`,{className:`chart-line${e.secondary?` secondary`:``}`,points:n,stroke:e.color})]},t)})]})}function Qs({loading:e,error:t,empty:n,message:r}){return e?(0,F.jsx)(`div`,{className:`empty`,children:(0,F.jsx)(Rs,{})}):t?(0,F.jsx)(`div`,{className:`empty error`,children:t}):n?(0,F.jsx)(`div`,{className:`empty`,children:r??`No data`}):null}function $s(){let[e,t]=(0,P.useState)(6),[n,r]=(0,P.useState)(``),{data:i}=Ha(),{data:a,isLoading:o,error:s}=Ia(e,n),c=a?[{label:`Requests`,color:`#e8a030`,data:a.series.map(e=>e.requests)},{label:`Errors`,color:`#e05252`,data:a.series.map(e=>e.errors),secondary:!0}]:[],l=a?[{label:`Input`,color:`#4caf6e`,data:a.series.map(e=>e.input_tokens)},{label:`Output`,color:`#6eb5c0`,data:a.series.map(e=>e.output_tokens),secondary:!0}]:[],u=a?[{label:`Cost`,color:`#c87dd4`,data:a.series.map(e=>e.cost_usd)}]:[];return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`operator-controls`,children:[(0,F.jsx)(`span`,{className:`section-label`,style:{marginBottom:0},children:`Operator View`}),(0,F.jsxs)(`div`,{className:`form-row`,style:{flexWrap:`wrap`,gap:6,marginTop:0},children:[(0,F.jsxs)(`select`,{value:e,onChange:e=>t(Number(e.target.value)),children:[(0,F.jsx)(`option`,{value:1,children:`Last 1 hour`}),(0,F.jsx)(`option`,{value:6,children:`Last 6 hours`}),(0,F.jsx)(`option`,{value:24,children:`Last 24 hours`})]}),(0,F.jsxs)(`select`,{value:n,onChange:e=>r(e.target.value),children:[(0,F.jsx)(`option`,{value:``,children:`All backends`}),i?.map(e=>(0,F.jsx)(`option`,{value:e.name,children:e.name},e.name))]})]})]}),a&&(0,F.jsxs)(`div`,{className:`stats-row`,children:[(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Input Tokens`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:a.total_input_tokens})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Output Tokens`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:a.total_output_tokens})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`Window Failures`,(0,F.jsx)(Xs,{text:`Failed (error) requests within the selected time window and backend filter.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:a.total_errors})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`Window Cost`,(0,F.jsx)(Xs,{text:`Estimated USD spend within the selected time window and backend filter, from model pricing.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:a.total_cost_usd,precision:2,format:e=>`$${e.toFixed(2)}`})})]})]}),(0,F.jsx)(Qs,{loading:o,error:s?.message}),a&&(0,F.jsxs)(`div`,{className:`operator-grid`,children:[(0,F.jsxs)(W,{className:`chart-card`,children:[(0,F.jsxs)(`div`,{className:`chart-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Request Volume`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`Rolling request count and errors`})]}),(0,F.jsx)(`div`,{className:`chart-value`,children:a.total_requests})]}),(0,F.jsx)(Zs,{series:c})]}),(0,F.jsxs)(W,{className:`chart-card`,children:[(0,F.jsxs)(`div`,{className:`chart-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Tokens`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`Input and output usage`})]}),(0,F.jsx)(`div`,{className:`chart-value`,children:(a.total_input_tokens+a.total_output_tokens).toLocaleString()})]}),(0,F.jsx)(Zs,{series:l})]}),(0,F.jsxs)(W,{className:`chart-card`,children:[(0,F.jsxs)(`div`,{className:`chart-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Estimated Cost`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`USD by minute bucket`})]}),(0,F.jsxs)(`div`,{className:`chart-value`,children:[`$`,a.total_cost_usd.toFixed(4)]})]}),(0,F.jsx)(Zs,{series:u})]})]})]})}function ec(){let{data:e}=Fa();return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`stats-row`,children:[(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Requests/min`}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(zs,{value:e.requests_per_minute,precision:1,format:e=>e.toFixed(1)}):`—`})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Error Rate`}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(zs,{value:e.error_rate*100,precision:1,format:e=>`${e.toFixed(1)}%`}):`—`})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`P50 Latency`,(0,F.jsx)(Xs,{text:`Median response latency — half of requests were faster than this.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(zs,{value:e.p50_latency_ms??0,format:e=>`${Math.round(e)}ms`}):`—`})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`P95 Latency`,(0,F.jsx)(Xs,{text:`95th-percentile latency — 95% of requests were faster than this. Captures tail slowness.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(zs,{value:e.p95_latency_ms??0,format:e=>`${Math.round(e)}ms`}):`—`})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Total Requests`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:e?.total_requests??0})})]})]}),(0,F.jsxs)(`div`,{className:`stats-row`,style:{marginBottom:16},children:[(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Streams Started`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:e?.streams_started??0})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Completed`}),(0,F.jsx)(`div`,{className:`stat-value ok`,children:(0,F.jsx)(zs,{value:e?.streams_completed??0})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Failed`}),(0,F.jsx)(`div`,{className:`stat-value`,style:{color:`var(--err)`},children:(0,F.jsx)(zs,{value:e?.streams_failed??0})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Client Disconnects`}),(0,F.jsx)(`div`,{className:`stat-value`,style:{color:`var(--warn)`},children:(0,F.jsx)(zs,{value:e?.streams_client_disconnected??0})})]})]}),(e?.pxpipe_compressed_total??0)>0&&(0,F.jsxs)(`div`,{className:`stats-row`,style:{marginBottom:16},children:[(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Image-Compressed Requests`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:e?.pxpipe_compressed_total??0})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Images Emitted`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:e?.pxpipe_images_total??0})})]}),(0,F.jsxs)(W,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Chars Imaged`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(zs,{value:e?.pxpipe_imaged_chars_total??0})})]})]}),(0,F.jsx)($s,{}),(0,F.jsx)(`div`,{style:{marginTop:16},children:(0,F.jsx)(Ys,{})})]})}function tc({page:e,hasMore:t,onPrev:n,onNext:r}){return(0,F.jsxs)(`div`,{className:`pagination`,children:[(0,F.jsx)(U,{size:`sm`,onClick:n,disabled:e<=1,children:`Prev`}),(0,F.jsxs)(`span`,{children:[`Page `,e]}),(0,F.jsx)(U,{size:`sm`,onClick:r,disabled:!t,children:`Next`})]})}function nc({query:e,children:t,empty:n,loading:r,errorTitle:i=`Failed to load`,skeletonRows:a=3}){return e.isLoading&&e.data===void 0?(0,F.jsx)(F.Fragment,{children:r??(0,F.jsx)(rc,{count:a})}):e.isError?(0,F.jsxs)(`div`,{className:`async-error`,role:`alert`,children:[(0,F.jsx)(`div`,{className:`async-error-title`,children:i}),(0,F.jsx)(`div`,{className:`async-error-message`,children:e.error instanceof Error?e.error.message:String(e.error)}),(0,F.jsx)(U,{type:`button`,onClick:()=>{e.refetch()},disabled:e.isFetching,loading:e.isFetching,children:`Retry`})]}):e.data===void 0?null:n&&n.when(e.data)?(0,F.jsx)(F.Fragment,{children:n.render()}):(0,F.jsx)(F.Fragment,{children:t(e.data)})}function rc({count:e}){return(0,F.jsx)(`div`,{className:`skeleton-stack`,"aria-hidden":`true`,children:Array.from({length:e},(e,t)=>(0,F.jsx)(`div`,{className:`skeleton skeleton-row`},t))})}function ic(){let[e,t]=Bi(),n=Math.max(1,Number(e.get(`page`)??`1`)||1),r=e.get(`backend`)??``,i=e.get(`status`)??``;function a(n,r,i){let a=new URLSearchParams(e);r?a.set(n,r):a.delete(n),i?.resetPage&&a.delete(`page`),t(a,{replace:!0})}function o(r){let i=new URLSearchParams(e),a=r(n);a<=1?i.delete(`page`):i.set(`page`,String(a)),t(i,{replace:!0})}let s=La({page:n,page_size:50,backend:r,status:i}),{data:c}=Ha();return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Request Log`}),(0,F.jsxs)(`div`,{className:`form-row`,style:{marginTop:0},children:[(0,F.jsxs)(`select`,{name:`requestlog-backend`,value:r,onChange:e=>a(`backend`,e.target.value,{resetPage:!0}),children:[(0,F.jsx)(`option`,{value:``,children:`All backends`}),c?.map(e=>(0,F.jsx)(`option`,{value:e.name,children:e.name},e.name))]}),(0,F.jsxs)(`select`,{name:`requestlog-status`,value:i,onChange:e=>a(`status`,e.target.value,{resetPage:!0}),children:[(0,F.jsx)(`option`,{value:``,children:`All status`}),(0,F.jsx)(`option`,{value:`ok`,children:`2xx`}),(0,F.jsx)(`option`,{value:`error`,children:`4xx/5xx`})]})]})]}),(0,F.jsx)(nc,{query:s,errorTitle:`Failed to load request log`,empty:{when:e=>e.requests.length===0&&n===1,render:()=>(0,F.jsxs)(`div`,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No requests logged`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Send a request through the proxy and it will appear here. Only proxied traffic is logged; admin API calls are in the Audit tab.`})]})},children:e=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`feed`,children:[(0,F.jsxs)(`div`,{className:`feed-header`,children:[(0,F.jsx)(`span`,{children:`Time`}),(0,F.jsx)(`span`,{children:`Status`}),(0,F.jsx)(`span`,{children:`Latency`}),(0,F.jsx)(`span`,{children:`Model`}),(0,F.jsx)(`span`,{children:`In`}),(0,F.jsx)(`span`,{children:`Out`}),(0,F.jsx)(`span`,{children:`Cost`})]}),e.requests.map(e=>(0,F.jsx)(qs,{req:e},e.request_id))]}),(0,F.jsx)(tc,{page:n,hasMore:e.has_more,onPrev:()=>o(e=>Math.max(1,e-1)),onNext:()=>o(e=>e+1)})]})})]})}var ac=[`a[href]`,`button:not([disabled])`,`textarea:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`,`);function oc({open:e,onClose:t,title:n,size:r=`md`,children:i,footer:a,dismissable:o=!0}){let s=(0,P.useRef)(null),c=(0,P.useRef)(null);return(0,P.useEffect)(()=>{if(!e)return;c.current=document.activeElement??null;let t=s.current;return t&&(t.querySelector(ac)??t).focus(),()=>{c.current?.focus?.()}},[e]),(0,P.useEffect)(()=>{if(!e)return;let t=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=t}},[e]),(0,P.useEffect)(()=>{if(!e)return;let n=e=>{if(e.key===`Escape`&&o){e.stopPropagation(),t();return}if(e.key!==`Tab`)return;let n=s.current;if(!n)return;let r=Array.from(n.querySelectorAll(ac)).filter(e=>!e.hasAttribute(`data-focus-skip`));if(r.length===0){e.preventDefault();return}let i=r[0],a=r[r.length-1],c=document.activeElement;e.shiftKey&&c===i?(e.preventDefault(),a.focus()):!e.shiftKey&&c===a&&(e.preventDefault(),i.focus())};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,o,t]),e?(0,Vn.createPortal)((0,F.jsx)(`div`,{className:`modal-backdrop-v2`,onClick:()=>{o&&t()},children:(0,F.jsxs)(`div`,{ref:s,className:`modal-v2 modal-${r}`,role:`dialog`,"aria-modal":`true`,"aria-label":n,tabIndex:-1,onClick:e=>e.stopPropagation(),children:[(0,F.jsxs)(`div`,{className:`modal-header`,children:[(0,F.jsx)(`div`,{className:`modal-title`,children:n}),(0,F.jsx)(`button`,{type:`button`,className:`modal-close`,"aria-label":`Close`,onClick:t,disabled:!o,children:`×`})]}),(0,F.jsx)(`div`,{className:`modal-body`,children:i}),a!=null&&(0,F.jsx)(`div`,{className:`modal-footer`,children:a})]})}),document.body):null}function sc({open:e,onClose:t,onConfirm:n,title:r,message:i,confirmLabel:a=`Delete`,cancelLabel:o=`Cancel`,variant:s=`danger`}){let[c,l]=(0,P.useState)(!1),[u,d]=(0,P.useState)(null),f=async()=>{l(!0),d(null);try{await n(),t()}catch(e){d(e instanceof Error?e.message:String(e))}finally{l(!1)}},p=()=>{c||(d(null),t())};return(0,F.jsxs)(oc,{open:e,onClose:p,title:r,size:`sm`,dismissable:!c,footer:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(U,{type:`button`,onClick:p,disabled:c,children:o}),(0,F.jsx)(U,{type:`button`,tone:s===`danger`?`danger`:`primary`,onClick:f,disabled:c,loading:c,children:a})]}),children:[(0,F.jsx)(`div`,{className:`confirm-message`,children:i}),u&&(0,F.jsx)(`div`,{className:`confirm-error`,role:`alert`,children:u})]})}var cc=`env_import_pending_restart`;function lc(){return sessionStorage.getItem(cc)===`1`}function uc({configured:e=!0}){let{data:t,isLoading:n,error:r}=Ua(),{data:i}=Ka(),{data:a}=Pa(),o=Wa(),s=Ga(),c=eo(),l=(0,P.useRef)(null),[u,d]=(0,P.useState)({}),[f,p]=(0,P.useState)(null),[m,h]=(0,P.useState)(null),[g,_]=(0,P.useState)(null),[v,y]=(0,P.useState)(lc),[b,x]=(0,P.useState)(null);function S(){if(!b)return Promise.resolve();let e=b;return s.mutateAsync(e).then(()=>void 0)}function C(e,t){o.mutate({[e]:u[e]??t})}function w(e,t){o.mutate({[e]:t})}function T(){return(t?.pxpipe_models??``).split(`,`).map(e=>e.trim()).filter(Boolean)}function E(e){let t=e.toLowerCase();return T().some(e=>t.includes(e.toLowerCase()))}function D(e,t){let n=T(),r=t?E(e)?n:[...n,e]:n.filter(t=>!e.toLowerCase().includes(t.toLowerCase()));o.mutate({pxpipe_models:r.join(`,`)})}function O(e){let t=e.target.files?.[0];t&&(p(null),h(null),c.mutate(t,{onSuccess(e){p(e),sessionStorage.setItem(cc,`1`),y(!0)},onError(e){try{let t=JSON.parse(e.message);if(t.hard_errors){h(t);return}}catch{}h({hard_errors:[e.message],warnings:[]})}}),l.current&&(l.current.value=``))}async function ee(){_(null);try{await go()}catch(e){_(e instanceof Error?e.message:String(e))}}function te(){sessionStorage.removeItem(cc),y(!1)}let ne=a?`http://${window.location.hostname}:${a.proxy_port}`:``;return(0,F.jsxs)(`div`,{children:[a&&(0,F.jsxs)(`div`,{className:`proxy-status-badge`,style:{marginBottom:16,fontSize:13,display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`span`,{style:{color:a.proxy_running?`var(--ok, green)`:`var(--warn, orange)`},children:a.proxy_running?`●`:`○`}),a.proxy_running?(0,F.jsxs)(`span`,{children:[`Proxy running — `,(0,F.jsx)(`span`,{className:`mono`,children:ne})]}):(0,F.jsxs)(`span`,{children:[`Proxy unreachable on `,(0,F.jsx)(`span`,{className:`mono`,children:ne})]})]}),!e&&(0,F.jsxs)(`div`,{style:{marginBottom:20,padding:`12px 16px`,border:`1px solid var(--border)`,borderLeft:`3px solid var(--warn)`,borderRadius:`var(--r)`,fontSize:13},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:8},children:`No backend configured — nothing to forward requests to.`}),(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[`Add a backend on the `,(0,F.jsx)(`span`,{className:`mono`,children:`Backends`}),` tab, or configure one via env. The proxy needs a backend endpoint (where to forward) and a listen port (where to accept). LISTEN_PORT defaults to 3000. Create a `,(0,F.jsx)(`span`,{className:`mono`,children:`.anyllm.env`}),` and import it below, or pass it at startup: `,(0,F.jsx)(`span`,{className:`mono`,children:`anyllm-proxy --webui --env-file .anyllm.env`})]}),(0,F.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr 1fr`,gap:10},children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4,fontSize:12},children:`OpenAI`}),(0,F.jsx)(`pre`,{style:{margin:0,padding:`6px 10px`,background:`var(--surface-2)`,borderRadius:`var(--r)`,fontSize:11,overflowX:`auto`},children:`OPENAI_API_KEY=sk-... +`+e.stack}}var De=Object.prototype.hasOwnProperty,Oe=t.unstable_scheduleCallback,ke=t.unstable_cancelCallback,Ae=t.unstable_shouldYield,je=t.unstable_requestPaint,Me=t.unstable_now,Ne=t.unstable_getCurrentPriorityLevel,Pe=t.unstable_ImmediatePriority,Fe=t.unstable_UserBlockingPriority,Ie=t.unstable_NormalPriority,Le=t.unstable_LowPriority,Re=t.unstable_IdlePriority,ze=t.log,Be=t.unstable_setDisableYieldValue,Ve=null,He=null;function Ue(e){if(typeof ze==`function`&&Be(e),He&&typeof He.setStrictMode==`function`)try{He.setStrictMode(Ve,e)}catch{}}var We=Math.clz32?Math.clz32:qe,Ge=Math.log,Ke=Math.LN2;function qe(e){return e>>>=0,e===0?32:31-(Ge(e)/Ke|0)|0}var Je=256,Ye=262144,Xe=4194304;function Ze(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Qe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ze(n))):i=Ze(o):i=Ze(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ze(n))):i=Ze(o)):i=Ze(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function $e(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function et(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tt(){var e=Xe;return Xe<<=1,!(Xe&62914560)&&(Xe=4194304),e}function nt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function it(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0`u`||window.document===void 0||window.document.createElement===void 0),hn=!1;if(mn)try{var gn={};Object.defineProperty(gn,"passive",{get:function(){hn=!0}}),window.addEventListener(`test`,gn,gn),window.removeEventListener(`test`,gn,gn)}catch{hn=!1}var _n=null,vn=null,yn=null;function bn(){if(yn)return yn;var e,t=vn,n=t.length,r,i=`value`in _n?_n.value:_n.textContent,a=i.length;for(e=0;e=Xn),$n=` `,er=!1;function tr(e,t){switch(e){case`keyup`:return Jn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function nr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var rr=!1;function ir(e,t){switch(e){case`compositionend`:return nr(t);case`keypress`:return t.which===32?(er=!0,$n):null;case`textInput`:return e=t.data,e===$n&&er?null:e;default:return null}}function ar(e,t){if(rr)return e===`compositionend`||!Yn&&tr(e,t)?(e=bn(),yn=vn=_n=null,rr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Dr(n)}}function kr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ar(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Vt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vt(e.document)}return t}function jr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Mr=mn&&`documentMode`in document&&11>=document.documentMode,Nr=null,Pr=null,Fr=null,Ir=!1;function Lr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ir||Nr==null||Nr!==Vt(r)||(r=Nr,`selectionStart`in r&&jr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fr&&Er(Fr,r)||(Fr=r,r=Dd(Pr,`onSelect`),0>=o,i-=o,ki=1<<32-We(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),I&&ji(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),I&&ji(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return I&&ji(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),I&&ji(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&Aa(l)===r.type){n(e,r.sibling),c=a(r,o.props),La(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=gi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=hi(o.type,o.key,o.props,null,e.mode,c),La(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=yi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Aa(o),b(e,r,o,c)}if(oe(o))return h(e,r,o,c);if(re(o)){if(l=re(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ia(o),c);if(o.$$typeof===C)return b(e,r,ia(e,o),c);Ra(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=_i(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Fa=0;var i=b(e,t,n,r);return Pa=null,i}catch(t){if(t===wa||t===Ea)throw t;var a=di(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ba=za(!0),Va=za(!1),Ha=!1;function Ua(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ga(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ka(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ci(e),si(e,null,n),t}return ii(e,r,t,n),ci(e)}function qa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ot(e,n)}}function Ja(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ya=!1;function Xa(){if(Ya){var e=ha;if(e!==null)throw e}}function Za(e,t,n,r){Ya=!1;var i=e.updateQueue;Ha=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(q&f)===f:(r&f)===f){f!==0&&f===ma&&(Ya=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ha=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Kl|=o,e.lanes=o,e.memoizedState=d}}function Qa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function $a(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=k.T,s={};k.T=s,Ls(e,!1,t,n);try{var c=i(),l=k.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Is(e,t,va(c,r),mu(e)):Is(e,t,r,mu(e))}catch(n){Is(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{A.p=a,o!==null&&s.types!==null&&(o.types=s.types),k.T=o}}function Es(){}function Ds(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Os(e).queue;Ts(e,a,t,se,n===null?Es:function(){return ks(e),n(r)})}function Os(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ro,lastRenderedState:se},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ro,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ks(e){var t=Os(e);t.next===null&&(t=e.alternate.memoizedState),Is(e,t.next.queue,{},mu())}function As(){return L($f)}function js(){return No().memoizedState}function Ms(){return No().memoizedState}function Ns(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Ga(n);var r=Ka(t,e,n);r!==null&&(gu(r,t,n),qa(r,t,n)),t={cache:ua()},e.payload=t;return}t=t.return}}function Ps(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},V(e)?Rs(t,n):(n=ai(e,t,n,r),n!==null&&(gu(n,e,r),zs(n,t,r)))}function Fs(e,t,n){Is(e,t,n,mu())}function Is(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(V(e))Rs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Tr(s,o))return ii(e,t,i,0),G===null&&ri(),!1}catch{}if(n=ai(e,t,i,r),n!==null)return gu(n,e,r),zs(n,t,r),!0}return!1}function Ls(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},V(e)){if(t)throw Error(i(479))}else t=ai(e,n,r,2),t!==null&&gu(t,e,2)}function V(e){var t=e.alternate;return e===R||t!==null&&t===R}function Rs(e,t){vo=_o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ot(e,n)}}var H={readContext:L,use:Io,useCallback:Co,useContext:Co,useEffect:Co,useImperativeHandle:Co,useLayoutEffect:Co,useInsertionEffect:Co,useMemo:Co,useReducer:Co,useRef:Co,useState:Co,useDebugValue:Co,useDeferredValue:Co,useTransition:Co,useSyncExternalStore:Co,useId:Co,useHostTransitionStatus:Co,useFormState:Co,useActionState:Co,useOptimistic:Co,useMemoCache:Co,useCacheRefresh:Co};H.useEffectEvent=Co;var Bs={readContext:L,use:Io,useCallback:function(e,t){return Mo().memoizedState=[e,t===void 0?null:t],e},useContext:L,useEffect:fs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),us(4194308,4,vs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return us(4194308,4,e,t)},useInsertionEffect:function(e,t){us(4,2,e,t)},useMemo:function(e,t){var n=Mo();t=t===void 0?null:t;var r=e();if(B){Ue(!0);try{e()}finally{Ue(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Mo();if(n!==void 0){var i=n(t);if(B){Ue(!0);try{n(t)}finally{Ue(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ps.bind(null,R,e),[r.memoizedState,e]},useRef:function(e){var t=Mo();return e={current:e},t.memoizedState=e},useState:function(e){e=Jo(e);var t=e.queue,n=Fs.bind(null,R,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:bs,useDeferredValue:function(e,t){return Cs(Mo(),e,t)},useTransition:function(){var e=Jo(!1);return e=Ts.bind(null,R,e.queue,!0,!1),Mo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=R,a=Mo();if(I){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),G===null)throw Error(i(349));q&127||Uo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,fs(Go.bind(null,r,o,e),[e]),r.flags|=2048,cs(9,{destroy:void 0},Wo.bind(null,r,o,n,t),null),n},useId:function(){var e=Mo(),t=G.identifierPrefix;if(I){var n=Ai,r=ki;n=(r&~(1<<32-We(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=yo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ft]=t,o[pt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Fd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Pc(t)}}return zc(t),Fc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=me.current,Wi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ii,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||Vi(t,!0)}else e=Vd(e).createTextNode(r),e[ft]=t,t.stateNode=e}return zc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Wi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ft]=t}else Gi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;zc(t),e=!1}else n=Ki(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(fo(t),t):(fo(t),null);if(t.flags&128)throw Error(i(558))}return zc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ft]=t}else Gi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;zc(t),a=!1}else a=Ki(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(fo(t),t):(fo(t),null)}return fo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Lc(t,t.updateQueue),zc(t),null);case 4:return _e(),e===null&&Cd(t.stateNode.containerInfo),zc(t),null;case 10:return Qi(t.type),zc(t),null;case 19:if(de(po),r=t.memoizedState,r===null)return zc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Rc(r,!1);else{if(Y!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=mo(e),o!==null){for(t.flags|=128,Rc(r,!1),e=o.updateQueue,t.updateQueue=e,Lc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)mi(n,e),n=n.sibling;return j(po,po.current&1|2),I&&ji(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Me()>nu&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304)}else{if(!a)if(e=mo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Lc(t,e),Rc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!I)return zc(t),null}else 2*Me()-r.renderingStartTime>nu&&n!==536870912&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(zc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Me(),e.sibling=null,n=po.current,j(po,a?n&1|2:n&1),I&&ji(t,r.treeForkCount),e);case 22:case 23:return fo(t),io(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(zc(t),t.subtreeFlags&6&&(t.flags|=8192)):zc(t),n=t.updateQueue,n!==null&&Lc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&de(ba),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Qi(la),zc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Vc(e,t){switch(Pi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qi(la),_e(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ye(t),null;case 31:if(t.memoizedState!==null){if(fo(t),t.alternate===null)throw Error(i(340));Gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(fo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(po),null;case 4:return _e(),null;case 10:return Qi(t.type),null;case 22:case 23:return fo(t),io(),e!==null&&de(ba),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Qi(la),null;case 25:return null;default:return null}}function Hc(e,t){switch(Pi(t),t.tag){case 3:Qi(la),_e();break;case 26:case 27:case 5:ye(t);break;case 4:_e();break;case 31:t.memoizedState!==null&&fo(t);break;case 13:fo(t);break;case 19:de(po);break;case 10:Qi(t.type);break;case 22:case 23:fo(t),io(),e!==null&&de(ba);break;case 24:Qi(la)}}function Uc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){X(t,t.return,e)}}function Wc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){X(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){X(t,t.return,e)}}function Gc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{$a(t,n)}catch(t){X(e,e.return,t)}}}function Kc(e,t,n){n.props=qs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){X(e,t,n)}}function qc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){X(e,t,n)}}function Jc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){X(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){X(e,t,n)}else n.current=null}function Yc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){X(e,e.return,t)}}function Xc(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[pt]=t}catch(t){X(e,e.return,t)}}function Zc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Qc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Zc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Qd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $c(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=an));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fd(t,r,n),t[ft]=e,t[pt]=n}catch(t){X(e,e.return,t)}}var nl=!1,rl=!1,il=!1,al=typeof WeakSet==`function`?WeakSet:Set,ol=null;function sl(e,t){if(e=e.containerInfo,zd=cp,e=Ar(e),jr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bd={focusedElem:e,selectionRange:n},cp=!1,ol=t;ol!==null;)if(t=ol,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,ol=e;else for(;ol!==null;){switch(t=ol,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n title`))),Fd(o,r,n),o[ft]=e,wt(o),r=o;break a;case`link`:var s=Hf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;cg&&(o=g,g=h,h=o);var _=Or(s,h),v=Or(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,k.T=null,n=uu,uu=null;var o=ou,s=cu;if(au=0,su=ou=null,cu=0,W&6)throw Error(i(331));var c=W;if(W|=4,Il(o.current),Ol(o,o.current,s,n),W=c,ad(0,!1),He&&typeof He.onPostCommitFiberRoot==`function`)try{He.onPostCommitFiberRoot(Ve,o)}catch{}return!0}finally{A.p=a,k.T=r,Hu(e,t)}}function Gu(e,t,n){t=xi(n,t),t=$s(e.stateNode,t,2),e=Ka(e,t,2),e!==null&&(rt(e,2),id(e))}function X(e,t,n){if(e.tag===3)Gu(e,e,n);else for(;t!==null;){if(t.tag===3){Gu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(iu===null||!iu.has(r))){e=xi(n,e),n=ec(2),r=Ka(t,n,2),r!==null&&(tc(n,r,t,e),rt(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Wl=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,G===e&&(q&n)===n&&(Y===4||Y===3&&(q&62914560)===q&&300>Me()-eu?!(W&2)&&Cu(e,0):Jl|=n,Xl===q&&(Xl=0)),id(e)}function Ju(e,t){t===0&&(t=tt()),e=oi(e,t),e!==null&&(rt(e,t),id(e))}function Yu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ju(e,n)}function Xu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Ju(e,n)}function Zu(e,t){return Oe(e,t)}var Qu=null,$u=null,ed=!1,td=!1,nd=!1,rd=0;function id(e){e!==$u&&e.next===null&&($u===null?Qu=$u=e:$u=$u.next=e),td=!0,ed||(ed=!0,dd())}function ad(e,t){if(!nd&&td){nd=!0;do for(var n=!1,r=Qu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-We(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ud(r,a))}else a=q,a=Qe(r,r===G?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||$e(r,a)||(n=!0,ud(r,a));r=r.next}while(n);nd=!1}}function od(){sd()}function sd(){td=ed=!1;var e=0;rd!==0&&Kd()&&(e=rd);for(var t=Me(),n=null,r=Qu;r!==null;){var i=r.next,a=cd(r,t);a===0?(r.next=null,n===null?Qu=i:n.next=i,i===null&&($u=n)):(n=r,(e!==0||a&3)&&(td=!0)),r=i}au!==0&&au!==5||ad(e,!1),rd!==0&&(rd=0)}function cd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&Ld(d)&&(c=c.responseEnd,o+=u*(c`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Ut(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Ut(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Ut(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Ut(n.imageSizes)+`"]`)):i+=`[href="`+Ut(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Fd(t,`link`,e),wt(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Ut(r)+`"][href="`+Ut(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=m({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),wt(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=Ct(r).hoistableStyles,a=jf(e);t=t||`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);wt(c),Fd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=Ct(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),wt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=Ct(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),wt(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var a=(a=me.current)?_f(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=jf(n.href),n=Ct(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=jf(n.href);var o=Ct(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},hf.set(e,n),o||Pf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Ff(n),n=Ct(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function jf(e){return`href="`+Ut(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Fd(t,`link`,n),wt(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Ut(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Ut(n.href)+`"]`);if(r)return t.instance=r,wt(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),wt(r),Fd(r,`style`,a),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=jf(n.href);var o=e.querySelector(Mf(a));if(o)return t.state.loading|=4,t.instance=o,wt(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),wt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Fd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(a=e.querySelector(If(o)))?(t.instance=a,wt(a),a):(r=n,(a=hf.get(o))&&(r=m({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),wt(a),Fd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Rf(r,n.precedence,e));return t.instance}function Rf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Wf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=jf(r.href),a=t.querySelector(Mf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,wt(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),wt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};function y(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}var b=o((()=>{}));function x(e,t,n){y(e,t),t.set(e,n)}var S=o((()=>{b()}));function C(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}var w=o((()=>{}));function T(e,t,n){return e.set(C(e,t),n),n}var E=o((()=>{w()}));function D(e,t){return e.get(C(e,t))}var O=o((()=>{w()}));S(),E(),O();var ee,te,ne,re=new(ee=new WeakMap,te=new WeakMap,ne=new WeakMap,class extends v{constructor(){super(),x(this,ee,void 0),x(this,te,void 0),x(this,ne,void 0),T(ne,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}})}onSubscribe(){D(te,this)||this.setEventListener(D(ne,this))}onUnsubscribe(){this.hasListeners()||(D(te,this)?.call(this),T(te,this,void 0))}setEventListener(e){T(ne,this,e),D(te,this)?.call(this),T(te,this,e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()}))}setFocused(e){D(ee,this)!==e&&(T(ee,this,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof D(ee,this)==`boolean`?D(ee,this):globalThis.document?.visibilityState!==`hidden`}});S(),O(),E();var ie,ae,oe={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},k=new(ie=new WeakMap,ae=new WeakMap,class{constructor(){x(this,ie,oe),x(this,ae,!1)}setTimeoutProvider(e){T(ie,this,e)}setTimeout(e,t){return D(ie,this).setTimeout(e,t)}clearTimeout(e){D(ie,this).clearTimeout(e)}setInterval(e,t){return D(ie,this).setInterval(e,t)}clearInterval(e){D(ie,this).clearInterval(e)}});function A(e){setTimeout(e,0)}var se=typeof window>`u`||`Deno`in globalThis;function ce(){}function le(e,t){return typeof e==`function`?e(t):e}function ue(e){return typeof e==`number`&&e>=0&&e!==1/0}function de(e,t){return Math.max(e+(t||0)-Date.now(),0)}function j(e,t){return typeof e==`function`?e(t):e}function fe(e,t){return typeof e==`function`?e(t):e}function pe(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==he(o,t.options))return!1}else if(!_e(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function me(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ge(t.options.mutationKey)!==ge(a))return!1}else if(!_e(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function he(e,t){return(t?.queryKeyHashFn||ge)(e)}function ge(e){return JSON.stringify(e,(e,t)=>Se(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function _e(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>_e(e[n],t[n])):!1}var ve=Object.prototype.hasOwnProperty;function ye(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=xe(e)&&xe(t);if(!r&&!(Se(e)&&Se(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l{k.setTimeout(t,e)})}function Te(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:ye(e,t)}function Ee(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function De(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Oe=Symbol();function ke(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Oe?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ae(e,t){return typeof e==`function`?e(...t):!!e}function je(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Me=(()=>{let e=()=>se;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ne(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Pe=A;function Fe(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Pe,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var Ie=Fe();S(),E(),O();var Le,Re,ze,Be=new(Le=new WeakMap,Re=new WeakMap,ze=new WeakMap,class extends v{constructor(){super(),x(this,Le,!0),x(this,Re,void 0),x(this,ze,void 0),T(ze,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}})}onSubscribe(){D(Re,this)||this.setEventListener(D(ze,this))}onUnsubscribe(){this.hasListeners()||(D(Re,this)?.call(this),T(Re,this,void 0))}setEventListener(e){T(ze,this,e),D(Re,this)?.call(this),T(Re,this,e(this.setOnline.bind(this)))}setOnline(e){D(Le,this)!==e&&(T(Le,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return D(Le,this)}});function Ve(e){return Math.min(1e3*2**e,3e4)}function He(e){return(e??`online`)===`online`?Be.isOnline():!0}var Ue=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function We(e){let t=!1,n=0,r,i=Ne(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Ue(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>re.isFocused()&&(e.networkMode===`always`||Be.isOnline())&&e.canRun(),u=()=>He(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Me.isServer()?0:3),o=e.retryDelay??Ve,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&nl()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}S(),E(),O();var Ge,Ke=(Ge=new WeakMap,class{constructor(){x(this,Ge,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ue(this.gcTime)&&T(Ge,this,k.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Me.isServer()?1/0:300*1e3))}clearGcTimeout(){D(Ge,this)&&(k.clearTimeout(D(Ge,this)),T(Ge,this,void 0))}});function qe(e,t){y(e,t),t.add(e)}var Je=o((()=>{b()}));Je(),S(),E(),O(),w();var Ye,Xe,Ze,Qe,$e,et,tt,nt,rt=(Ye=new WeakMap,Xe=new WeakMap,Ze=new WeakMap,Qe=new WeakMap,$e=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakSet,class extends Ke{constructor(e){super(),qe(this,nt),x(this,Ye,void 0),x(this,Xe,void 0),x(this,Ze,void 0),x(this,Qe,void 0),x(this,$e,void 0),x(this,et,void 0),x(this,tt,void 0),T(tt,this,!1),T(et,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],T(Qe,this,e.client),T(Ze,this,D(Qe,this).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,T(Ye,this,ct(this.options)),this.state=e.state??D(Ye,this),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return D($e,this)?.promise}setOptions(e){if(this.options={...D(et,this),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=ct(this.options);e.data!==void 0&&(this.setState(st(e.data,e.dataUpdatedAt)),T(Ye,this,e))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&D(Ze,this).remove(this)}setData(e,t){let n=Te(this.state.data,e,this.options);return C(nt,this,at).call(this,{data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){C(nt,this,at).call(this,{type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=D($e,this)?.promise;return D($e,this)?.cancel(e),t?t.then(ce).catch(ce):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return D(Ye,this)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>fe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Oe||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>j(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!de(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),D($e,this)?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),D($e,this)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),D(Ze,this).notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(D($e,this)&&(D(tt,this)||C(nt,this,it).call(this)?D($e,this).cancel({revert:!0}):D($e,this).cancelRetry()),this.scheduleGc()),D(Ze,this).notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||C(nt,this,at).call(this,{type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&D($e,this)?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(D($e,this))return D($e,this).continueRetry(),D($e,this).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(T(tt,this,!0),n.signal)})},i=()=>{let e=ke(this.options,t),n=(()=>{let e={client:D(Qe,this),queryKey:this.queryKey,meta:this.meta};return r(e),e})();return T(tt,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:D(Qe,this),state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),T(Xe,this,this.state),(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&C(nt,this,at).call(this,{type:`fetch`,meta:a.fetchOptions?.meta}),T($e,this,We({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Ue&&e.revert&&this.setState({...D(Xe,this),fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{C(nt,this,at).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{C(nt,this,at).call(this,{type:`pause`})},onContinue:()=>{C(nt,this,at).call(this,{type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{let e=await D($e,this).start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),D(Ze,this).config.onSuccess?.(e,this),D(Ze,this).config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Ue){if(e.silent)return D($e,this).promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw C(nt,this,at).call(this,{type:`error`,error:e}),D(Ze,this).config.onError?.(e,this),D(Ze,this).config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}});function it(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}function at(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...ot(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...st(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return T(Xe,this,e.manual?n:void 0),n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),Ie.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),D(Ze,this).notify({query:this,type:`updated`,action:e})})}function ot(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:He(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function st(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function ct(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}Je(),S(),E(),O(),w();var lt,M,ut,dt,ft,pt,mt,ht,gt,_t,vt,yt,bt,xt,St,N,Ct=(lt=new WeakMap,M=new WeakMap,ut=new WeakMap,dt=new WeakMap,ft=new WeakMap,pt=new WeakMap,mt=new WeakMap,ht=new WeakMap,gt=new WeakMap,_t=new WeakMap,vt=new WeakMap,yt=new WeakMap,bt=new WeakMap,xt=new WeakMap,St=new WeakMap,N=new WeakSet,class extends v{constructor(e,t){super(),qe(this,N),x(this,lt,void 0),x(this,M,void 0),x(this,ut,void 0),x(this,dt,void 0),x(this,ft,void 0),x(this,pt,void 0),x(this,mt,void 0),x(this,ht,void 0),x(this,gt,void 0),x(this,_t,void 0),x(this,vt,void 0),x(this,yt,void 0),x(this,bt,void 0),x(this,xt,void 0),x(this,St,new Set),this.options=t,T(lt,this,e),T(ht,this,null),T(mt,this,Ne()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(M,this).addObserver(this),Pt(D(M,this),this.options)?C(N,this,wt).call(this):this.updateResult(),C(N,this,Ot).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ft(D(M,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ft(D(M,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,C(N,this,kt).call(this),C(N,this,At).call(this),D(M,this).removeObserver(this)}setOptions(e){let t=this.options,n=D(M,this);if(this.options=D(lt,this).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof fe(this.options.enabled,D(M,this))!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);C(N,this,jt).call(this),D(M,this).setOptions(this.options),t._defaulted&&!be(this.options,t)&&D(lt,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:D(M,this),observer:this});let r=this.hasListeners();r&&It(D(M,this),n,this.options,t)&&C(N,this,wt).call(this),this.updateResult(),r&&(D(M,this)!==n||fe(this.options.enabled,D(M,this))!==fe(t.enabled,D(M,this))||j(this.options.staleTime,D(M,this))!==j(t.staleTime,D(M,this)))&&C(N,this,Tt).call(this);let i=C(N,this,Et).call(this);r&&(D(M,this)!==n||fe(this.options.enabled,D(M,this))!==fe(t.enabled,D(M,this))||i!==D(xt,this))&&C(N,this,Dt).call(this,i)}getOptimisticResult(e){let t=D(lt,this).getQueryCache().build(D(lt,this),e),n=this.createResult(t,e);return Rt(this,n)&&(T(dt,this,n),T(pt,this,this.options),T(ft,this,D(M,this).state)),n}getCurrentResult(){return D(dt,this)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&D(mt,this).status===`pending`&&D(mt,this).reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){D(St,this).add(e)}getCurrentQuery(){return D(M,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=D(lt,this).defaultQueryOptions(e),n=D(lt,this).getQueryCache().build(D(lt,this),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return C(N,this,wt).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),D(dt,this)))}createResult(e,t){let n=D(M,this),r=this.options,i=D(dt,this),a=D(ft,this),o=D(pt,this),s=e===n?D(ut,this):e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Pt(e,t),o=i&&It(e,n,t,r);(a||o)&&(l={...l,...ot(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(D(vt,this)?.state.data,D(vt,this)):t.placeholderData,e!==void 0&&(m=`success`,d=Te(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===D(gt,this))d=D(_t,this);else try{T(gt,this,t.select),d=t.select(d),d=Te(i?.data,d,t),T(_t,this,d),T(ht,this,null)}catch(e){T(ht,this,e)}D(ht,this)&&(f=D(ht,this),d=D(_t,this),p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Lt(e,t),refetch:this.refetch,promise:D(mt,this),isEnabled:fe(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{i(T(mt,this,x.promise=Ne()))},o=D(mt,this);switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a();break}}return x}updateResult(){let e=D(dt,this),t=this.createResult(D(M,this),this.options);T(ft,this,D(M,this).state),T(pt,this,this.options),D(ft,this).data!==void 0&&T(vt,this,D(M,this)),!be(t,e)&&(T(dt,this,t),C(N,this,Mt).call(this,{listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!D(St,this).size)return!0;let r=new Set(n??D(St,this));return this.options.throwOnError&&r.add(`error`),Object.keys(D(dt,this)).some(t=>{let n=t;return D(dt,this)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&C(N,this,Ot).call(this)}});function wt(e){C(N,this,jt).call(this);let t=D(M,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(ce)),t}function Tt(){C(N,this,kt).call(this);let e=j(this.options.staleTime,D(M,this));if(Me.isServer()||D(dt,this).isStale||!ue(e))return;let t=de(D(dt,this).dataUpdatedAt,e)+1;T(yt,this,k.setTimeout(()=>{D(dt,this).isStale||this.updateResult()},t))}function Et(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(D(M,this)):this.options.refetchInterval)??!1}function Dt(e){C(N,this,At).call(this),T(xt,this,e),!(Me.isServer()||fe(this.options.enabled,D(M,this))===!1||!ue(D(xt,this))||D(xt,this)===0)&&T(bt,this,k.setInterval(()=>{(this.options.refetchIntervalInBackground||re.isFocused())&&C(N,this,wt).call(this)},D(xt,this)))}function Ot(){C(N,this,Tt).call(this),C(N,this,Dt).call(this,C(N,this,Et).call(this))}function kt(){D(yt,this)&&(k.clearTimeout(D(yt,this)),T(yt,this,void 0))}function At(){D(bt,this)&&(k.clearInterval(D(bt,this)),T(bt,this,void 0))}function jt(){let e=D(lt,this).getQueryCache().build(D(lt,this),this.options);if(e===D(M,this))return;let t=D(M,this);T(M,this,e),T(ut,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function Mt(e){Ie.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(D(dt,this))}),D(lt,this).getQueryCache().notify({query:D(M,this),type:`observerResultsUpdated`})})}function Nt(e,t){return fe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&t.retryOnMount===!1)}function Pt(e,t){return Nt(e,t)||e.state.data!==void 0&&Ft(e,t,t.refetchOnMount)}function Ft(e,t,n){if(fe(t.enabled,e)!==!1&&j(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Lt(e,t)}return!1}function It(e,t,n,r){return(e!==t||fe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Lt(e,n)}function Lt(e,t){return fe(t.enabled,e)!==!1&&e.isStaleByTime(j(t.staleTime,e))}function Rt(e,t){return!be(e.getCurrentResult(),t)}function zt(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{je(e,()=>t.signal,()=>n=!0)},u=ke(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?De:Ee;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Vt:Bt,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Bt(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(ct.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Bt(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Vt(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}Je(),S(),E(),O(),w();var Ht,Ut,Wt,Gt,Kt,qt=(Ht=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,Gt=new WeakMap,Kt=new WeakSet,class extends Ke{constructor(e){super(),qe(this,Kt),x(this,Ht,void 0),x(this,Ut,void 0),x(this,Wt,void 0),x(this,Gt,void 0),T(Ht,this,e.client),this.mutationId=e.mutationId,T(Wt,this,e.mutationCache),T(Ut,this,[]),this.state=e.state||Yt(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){D(Ut,this).includes(e)||(D(Ut,this).push(e),this.clearGcTimeout(),D(Wt,this).notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){T(Ut,this,D(Ut,this).filter(t=>t!==e)),this.scheduleGc(),D(Wt,this).notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){D(Ut,this).length||(this.state.status===`pending`?this.scheduleGc():D(Wt,this).remove(this))}continue(){return D(Gt,this)?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{C(Kt,this,Jt).call(this,{type:`continue`})},n={client:D(Ht,this),meta:this.options.meta,mutationKey:this.options.mutationKey};T(Gt,this,We({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{C(Kt,this,Jt).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{C(Kt,this,Jt).call(this,{type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(Wt,this).canRun(this)}));let r=this.state.status===`pending`,i=!D(Gt,this).canStart();try{if(r)t();else{C(Kt,this,Jt).call(this,{type:`pending`,variables:e,isPaused:i}),D(Wt,this).config.onMutate&&await D(Wt,this).config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&C(Kt,this,Jt).call(this,{type:`pending`,context:t,variables:e,isPaused:i})}let a=await D(Gt,this).start();return await D(Wt,this).config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await D(Wt,this).config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),C(Kt,this,Jt).call(this,{type:`success`,data:a}),a}catch(t){try{await D(Wt,this).config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await D(Wt,this).config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw C(Kt,this,Jt).call(this,{type:`error`,error:t}),t}finally{D(Wt,this).runNext(this)}}});function Jt(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),Ie.batch(()=>{D(Ut,this).forEach(t=>{t.onMutationUpdate(e)}),D(Wt,this).notify({mutation:this,type:`updated`,action:e})})}function Yt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}S(),E(),O();var Xt,Zt,Qt,$t=(Xt=new WeakMap,Zt=new WeakMap,Qt=new WeakMap,class extends v{constructor(e={}){super(),x(this,Xt,void 0),x(this,Zt,void 0),x(this,Qt,void 0),this.config=e,T(Xt,this,new Set),T(Zt,this,new Map),T(Qt,this,0)}build(e,t,n){var r;let i=new qt({client:e,mutationCache:this,mutationId:T(Qt,this,(r=D(Qt,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){D(Xt,this).add(e);let t=en(e);if(typeof t==`string`){let n=D(Zt,this).get(t);n?n.push(e):D(Zt,this).set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(D(Xt,this).delete(e)){let t=en(e);if(typeof t==`string`){let n=D(Zt,this).get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&D(Zt,this).delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=en(e);if(typeof t==`string`){let n=D(Zt,this).get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=en(e);return typeof t==`string`?(D(Zt,this).get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){Ie.batch(()=>{D(Xt,this).forEach(e=>{this.notify({type:`removed`,mutation:e})}),D(Xt,this).clear(),D(Zt,this).clear()})}getAll(){return Array.from(D(Xt,this))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>me(t,e))}findAll(e={}){return this.getAll().filter(t=>me(e,t))}notify(e){Ie.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return Ie.batch(()=>Promise.all(e.map(e=>e.continue().catch(ce))))}});function en(e){return e.options.scope?.id}Je(),S(),E(),w(),O();var tn,nn,rn,an,on,sn=(tn=new WeakMap,nn=new WeakMap,rn=new WeakMap,an=new WeakMap,on=new WeakSet,class extends v{constructor(e,t){super(),qe(this,on),x(this,tn,void 0),x(this,nn,void 0),x(this,rn,void 0),x(this,an,void 0),T(tn,this,e),this.setOptions(t),this.bindMethods(),C(on,this,cn).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=D(tn,this).defaultMutationOptions(e),be(this.options,t)||D(tn,this).getMutationCache().notify({type:`observerOptionsUpdated`,mutation:D(rn,this),observer:this}),t?.mutationKey&&this.options.mutationKey&&ge(t.mutationKey)!==ge(this.options.mutationKey)?this.reset():D(rn,this)?.state.status===`pending`&&D(rn,this).setOptions(this.options)}onUnsubscribe(){this.hasListeners()||D(rn,this)?.removeObserver(this)}onMutationUpdate(e){C(on,this,cn).call(this),C(on,this,ln).call(this,e)}getCurrentResult(){return D(nn,this)}reset(){D(rn,this)?.removeObserver(this),T(rn,this,void 0),C(on,this,cn).call(this),C(on,this,ln).call(this)}mutate(e,t){return T(an,this,t),D(rn,this)?.removeObserver(this),T(rn,this,D(tn,this).getMutationCache().build(D(tn,this),this.options)),D(rn,this).addObserver(this),D(rn,this).execute(e)}});function cn(){let e=D(rn,this)?.state??Yt();T(nn,this,{...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset})}function ln(e){Ie.batch(()=>{if(D(an,this)&&this.hasListeners()){let t=D(nn,this).variables,n=D(nn,this).context,r={client:D(tn,this),meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{D(an,this).onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{D(an,this).onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{D(an,this).onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{D(an,this).onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(D(nn,this))})})}S(),E(),O();var un,dn=(un=new WeakMap,class extends v{constructor(e={}){super(),x(this,un,void 0),this.config=e,T(un,this,new Map)}build(e,t,n){let r=t.queryKey,i=t.queryHash??he(r,t),a=this.get(i);return a||(a=new rt({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){D(un,this).has(e.queryHash)||(D(un,this).set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=D(un,this).get(e.queryHash);t&&(e.destroy(),t===e&&D(un,this).delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){Ie.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return D(un,this).get(e)}getAll(){return[...D(un,this).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>pe(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>pe(e,t)):t}notify(e){Ie.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ie.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ie.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}});S(),E(),O();var fn,pn,mn,hn,gn,_n,vn,yn,bn=(fn=new WeakMap,pn=new WeakMap,mn=new WeakMap,hn=new WeakMap,gn=new WeakMap,_n=new WeakMap,vn=new WeakMap,yn=new WeakMap,class{constructor(e={}){x(this,fn,void 0),x(this,pn,void 0),x(this,mn,void 0),x(this,hn,void 0),x(this,gn,void 0),x(this,_n,void 0),x(this,vn,void 0),x(this,yn,void 0),T(fn,this,e.queryCache||new dn),T(pn,this,e.mutationCache||new $t),T(mn,this,e.defaultOptions||{}),T(hn,this,new Map),T(gn,this,new Map),T(_n,this,0)}mount(){var e;T(_n,this,(e=D(_n,this),e++,e)),D(_n,this)===1&&(T(vn,this,re.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(fn,this).onFocus())})),T(yn,this,Be.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(fn,this).onOnline())})))}unmount(){var e;T(_n,this,(e=D(_n,this),e--,e)),D(_n,this)===0&&(D(vn,this)?.call(this),T(vn,this,void 0),D(yn,this)?.call(this),T(yn,this,void 0))}isFetching(e){return D(fn,this).findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return D(pn,this).findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return D(fn,this).get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=D(fn,this).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(j(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return D(fn,this).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=D(fn,this).get(r.queryHash)?.state.data,a=le(t,i);if(a!==void 0)return D(fn,this).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Ie.batch(()=>D(fn,this).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return D(fn,this).get(t.queryHash)?.state}removeQueries(e){let t=D(fn,this);Ie.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=D(fn,this);return Ie.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=Ie.batch(()=>D(fn,this).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(ce).catch(ce)}invalidateQueries(e,t={}){return Ie.batch(()=>(D(fn,this).findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ie.batch(()=>D(fn,this).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(ce)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(ce)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=D(fn,this).build(this,t);return n.isStaleByTime(j(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ce).catch(ce)}fetchInfiniteQuery(e){return e.behavior=zt(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ce).catch(ce)}ensureInfiniteQueryData(e){return e.behavior=zt(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Be.isOnline()?D(pn,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(fn,this)}getMutationCache(){return D(pn,this)}getDefaultOptions(){return D(mn,this)}setDefaultOptions(e){T(mn,this,e)}setQueryDefaults(e,t){D(hn,this).set(ge(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...D(hn,this).values()],n={};return t.forEach(t=>{_e(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){D(gn,this).set(ge(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...D(gn,this).values()],n={};return t.forEach(t=>{_e(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...D(mn,this).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=he(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===Oe&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...D(mn,this).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(fn,this).clear(),D(pn,this).clear()}}),xn=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Sn=s(((e,t)=>{t.exports=xn()})),P=l(d(),1),F=Sn(),Cn=P.createContext(void 0),wn=e=>{let t=P.useContext(Cn);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},Tn=({client:e,children:t})=>(P.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,F.jsx)(Cn.Provider,{value:e,children:t})),En=P.createContext(!1),Dn=()=>P.useContext(En);En.Provider;function On(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var kn=P.createContext(On()),An=()=>P.useContext(kn),jn=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Ae(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},Mn=e=>{P.useEffect(()=>{e.clearReset()},[e])},Nn=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Ae(n,[e.error,r])),Pn=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Fn=(e,t)=>e.isLoading&&e.isFetching&&!t,In=(e,t)=>e?.suspense&&t.isPending,Ln=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Rn(e,t,n){let r=Dn(),i=An(),a=wn(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,Pn(o),jn(o,i,s),Mn(i);let c=!a.getQueryCache().get(o.queryHash),[l]=P.useState(()=>new t(a,o)),u=l.getOptimisticResult(o),d=!r&&e.subscribed!==!1;if(P.useSyncExternalStore(P.useCallback(e=>{let t=d?l.subscribe(Ie.batchCalls(e)):ce;return l.updateResult(),t},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),P.useEffect(()=>{l.setOptions(o)},[o,l]),In(o,u))throw Ln(o,l,i);if(Nn({result:u,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw u.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,u),o.experimental_prefetchInRender&&!Me.isServer()&&Fn(u,r)&&(c?Ln(o,l,i):s?.promise)?.catch(ce).finally(()=>{l.updateResult()}),o.notifyOnChangeProps?u:l.trackResult(u)}function zn(e,t){return Rn(e,Ct,t)}function Bn(e,t){let n=wn(t),[r]=P.useState(()=>new sn(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);let i=P.useSyncExternalStore(P.useCallback(e=>r.subscribe(Ie.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((e,t)=>{r.mutate(e,t).catch(ce)},[r]);if(i.error&&Ae(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var Vn=l(h()),Hn=_();function Un(){return Un=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function er(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=Wn.Pop,c=null,l=u();l??(l=0,o.replaceState(Un({},o.state,{idx:l}),``));function u(){return(o.state||{idx:null}).idx}function d(){s=Wn.Pop;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=Wn.Push;let r=Zn(h.location,e,t);n&&n(r,e),l=u()+1;let d=Xn(r,l),f=h.createHref(r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=Wn.Replace;let r=Zn(h.location,e,t);n&&n(r,e),l=u();let i=Xn(r,l),d=h.createHref(r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){let t=i.location.origin===`null`?i.location.href:i.location.origin,n=typeof e==`string`?e:Qn(e);return n=n.replace(/ $/,`%20`),qn(t,`No window.location.(origin|href) available to create URL for href: `+n),new URL(n,t)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(Gn,d),c=e,()=>{i.removeEventListener(Gn,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}var tr;(function(e){e.data=`data`,e.deferred=`deferred`,e.redirect=`redirect`,e.error=`error`})(tr||(tr={}));function nr(e,t,n){return n===void 0&&(n=`/`),rr(e,t,n,!1)}function rr(e,t,n,r){let i=br((typeof t==`string`?$n(t):t).pathname||`/`,n);if(i==null)return null;let a=ir(e);or(a);let o=null,s=yr(i);for(let e=0;o==null&&e{let o={relativePath:a===void 0?e.path||``:a,caseSensitive:e.caseSensitive===!0,childrenIndex:i,route:e};o.relativePath.startsWith(`/`)&&(qn(o.relativePath.startsWith(r),`Absolute route path "`+o.relativePath+`" nested under path `+(`"`+r+`" is not valid. An absolute child route path `)+`must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=Ar([r,o.relativePath]),c=n.concat(o);e.children&&e.children.length>0&&(qn(e.index!==!0,`Index routes must not have child routes. Please remove `+(`all child routes from route path "`+s+`".`)),ir(e.children,t,c,s)),!(e.path==null&&!e.index)&&t.push({path:s,score:mr(s,e.index),routesMeta:c})};return e.forEach((e,t)=>{var n;if(e.path===``||!((n=e.path)!=null&&n.includes(`?`)))i(e,t);else for(let n of ar(e.path))i(e,t,n)}),t}function ar(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=ar(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function or(e){e.sort((e,t)=>e.score===t.score?hr(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var sr=/^:[\w-]+$/,cr=3,lr=2,ur=1,dr=10,fr=-2,pr=e=>e===`*`;function mr(e,t){let n=e.split(`/`),r=n.length;return n.some(pr)&&(r+=fr),t&&(r+=lr),n.filter(e=>!pr(e)).reduce((e,t)=>e+(sr.test(t)?cr:t===``?ur:dr),r)}function hr(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function gr(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e{let{paramName:r,isOptional:i}=t;if(r===`*`){let e=s[n]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let c=s[n];return i&&!c?e[r]=void 0:e[r]=(c||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function vr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Jn(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "`+e+`" will be treated as if it were `+(`"`+e.replace(/\*$/,`/*`)+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+(`please change the route path to "`+e.replace(/\*$/,`/*`)+`".`));let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`));return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function yr(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return Jn(!1,`The URL path "`+e+`" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent `+(`encoding (`+t+`).`)),e}}function br(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var xr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Sr=e=>xr.test(e);function Cr(e,t){t===void 0&&(t=`/`);let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?$n(e):e,a;if(n)if(Sr(n))a=n;else{if(n.includes(`//`)){let e=n;n=kr(n),Jn(!1,`Pathnames cannot have embedded double slashes - normalizing `+(e+` -> `+n))}a=n.startsWith(`/`)?wr(n.substring(1),`/`):wr(n,t)}else a=t;return{pathname:a,search:Mr(r),hash:Nr(i)}}function wr(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Tr(e,t,n,r){return`Cannot include a '`+e+`' character in a manually specified `+("`to."+t+"` field ["+JSON.stringify(r)+`]. Please separate it out to the `)+("`to."+n+"` field. Alternatively you may provide the full path as ")+`a string in and the router will parse it for you.`}function Er(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Dr(e,t){let n=Er(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}function Or(e,t,n,r){r===void 0&&(r=!1);let i;typeof e==`string`?i=$n(e):(i=Un({},e),qn(!i.pathname||!i.pathname.includes(`?`),Tr(`?`,`pathname`,`search`,i)),qn(!i.pathname||!i.pathname.includes(`#`),Tr(`#`,`pathname`,`hash`,i)),qn(!i.search||!i.search.includes(`#`),Tr(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Cr(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var kr=e=>e.replace(/\/\/+/g,`/`),Ar=e=>kr(e.join(`/`)),jr=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),Mr=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Nr=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e;function Pr(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}var Fr=[`post`,`put`,`patch`,`delete`];new Set(Fr);var Ir=[`get`,...Fr];new Set(Ir);function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),P.useCallback(function(n,i){if(i===void 0&&(i={}),!s.current)return;if(typeof n==`number`){r.go(n);return}let c=Or(n,JSON.parse(o),a,i.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Ar([t,c.pathname])),(i.replace?r.replace:r.push)(c,i.state,i)},[t,r,o,a,e])}function Xr(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Br),{matches:i}=P.useContext(Hr),{pathname:a}=Kr(),o=JSON.stringify(Dr(i,r.v7_relativeSplatPath));return P.useMemo(()=>Or(e,JSON.parse(o),a,n===`path`),[e,o,a,n])}function Zr(e,t){return Qr(e,t)}function Qr(e,t,n,r){!Gr()&&qn(!1);let{navigator:i}=P.useContext(Br),{matches:a}=P.useContext(Hr),o=a[a.length-1],s=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:`/`;o&&o.route;let l=Kr(),u;if(t){let e=typeof t==`string`?$n(t):t;!(c===`/`||e.pathname?.startsWith(c))&&qn(!1),u=e}else u=l;let d=u.pathname||`/`,f=d;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);f=`/`+d.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let p=nr(e,{pathname:f}),m=ri(p&&p.map(e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:Ar([c,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Ar([c,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,n,r);return t&&m?P.createElement(Vr.Provider,{value:{location:Lr({pathname:`/`,search:``,hash:``,state:null,key:`default`},u),navigationType:Wn.Pop}},m):m}function $r(){let e=ui(),t=Pr(e)?e.status+` `+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return P.createElement(P.Fragment,null,P.createElement(`h2`,null,`Unexpected Application Error!`),P.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?P.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var ei=P.createElement($r,null),ti=class extends P.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(`React Router caught the following error during render`,e,t)}render(){return this.state.error===void 0?this.props.children:P.createElement(Hr.Provider,{value:this.props.routeContext},P.createElement(Ur.Provider,{value:this.state.error,children:this.props.component}))}};function ni(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(Rr);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Hr.Provider,{value:t},r)}function ri(e,t,n,r){if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n?.errors;if(o!=null){let e=a.findIndex(e=>e.route.id&&o?.[e.route.id]!==void 0);!(e>=0)&&qn(!1),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let e=0;e=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight((e,r,i)=>{let l,u=!1,d=null,f=null;n&&(l=o&&r.route.id?o[r.route.id]:void 0,d=r.route.errorElement||ei,s&&(c<0&&i===0?(pi(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),u=!0,f=null):c===i&&(u=!0,f=r.route.hydrateFallbackElement||null)));let p=t.concat(a.slice(0,i+1)),m=()=>{let t;return t=l?d:u?f:r.route.Component?P.createElement(r.route.Component,null):r.route.element?r.route.element:e,P.createElement(ni,{match:r,routeContext:{outlet:e,matches:p,isDataRoute:n!=null},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||i===0)?P.createElement(ti,{location:n.location,revalidation:n.revalidation,component:d,error:l,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var ii=function(e){return e.UseBlocker=`useBlocker`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e}(ii||{}),ai=function(e){return e.UseBlocker=`useBlocker`,e.UseLoaderData=`useLoaderData`,e.UseActionData=`useActionData`,e.UseRouteError=`useRouteError`,e.UseNavigation=`useNavigation`,e.UseRouteLoaderData=`useRouteLoaderData`,e.UseMatches=`useMatches`,e.UseRevalidator=`useRevalidator`,e.UseNavigateStable=`useNavigate`,e.UseRouteId=`useRouteId`,e}(ai||{});function oi(e){let t=P.useContext(Rr);return!t&&qn(!1),t}function si(e){let t=P.useContext(zr);return!t&&qn(!1),t}function ci(e){let t=P.useContext(Hr);return!t&&qn(!1),t}function li(e){let t=ci(e),n=t.matches[t.matches.length-1];return!n.route.id&&qn(!1),n.route.id}function ui(){let e=P.useContext(Ur),t=si(ai.UseRouteError),n=li(ai.UseRouteError);return e===void 0?t.errors?.[n]:e}function di(){let{router:e}=oi(ii.UseNavigateStable),t=li(ai.UseNavigateStable),n=P.useRef(!1);return qr(()=>{n.current=!0}),P.useCallback(function(r,i){i===void 0&&(i={}),n.current&&(typeof r==`number`?e.navigate(r):e.navigate(r,Lr({fromRouteId:t},i)))},[e,t])}var fi={};function pi(e,t,n){!t&&!fi[e]&&(fi[e]=!0)}var mi=(e,t,n)=>(``+t+("You can use the `"+e+"` future flag to opt-in early. ")+(`For more information, see `+n+`.`),void 0);function hi(e,t){e?.v7_startTransition===void 0&&mi(`v7_startTransition`,"React Router will begin wrapping state updates in `React.startTransition` in v7",`https://reactrouter.com/v6/upgrading/future#v7_starttransition`),e?.v7_relativeSplatPath===void 0&&(!t||t.v7_relativeSplatPath===void 0)&&mi(`v7_relativeSplatPath`,`Relative route resolution within Splat routes is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath`),t&&(t.v7_fetcherPersist===void 0&&mi(`v7_fetcherPersist`,`The persistence behavior of fetchers is changing in v7`,`https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist`),t.v7_normalizeFormMethod===void 0&&mi(`v7_normalizeFormMethod`,"Casing of `formMethod` fields is being normalized to uppercase in v7",`https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod`),t.v7_partialHydration===void 0&&mi(`v7_partialHydration`,"`RouterProvider` hydration behavior is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_partialhydration`),t.v7_skipActionErrorRevalidation===void 0&&mi(`v7_skipActionErrorRevalidation`,"The revalidation behavior after 4xx/5xx `action` responses is changing in v7",`https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation`))}function gi(e){let{to:t,replace:n,state:r,relative:i}=e;!Gr()&&qn(!1);let{future:a,static:o}=P.useContext(Br),{matches:s}=P.useContext(Hr),{pathname:c}=Kr(),l=Jr(),u=Or(t,Dr(s,a.v7_relativeSplatPath),c,i===`path`),d=JSON.stringify(u);return P.useEffect(()=>l(JSON.parse(d),{replace:n,state:r,relative:i}),[l,d,i,n,r]),null}function _i(e){qn(!1)}function vi(e){let{basename:t=`/`,children:n=null,location:r,navigationType:i=Wn.Pop,navigator:a,static:o=!1,future:s}=e;Gr()&&qn(!1);let c=t.replace(/^\/*/,`/`),l=P.useMemo(()=>({basename:c,navigator:a,static:o,future:Lr({v7_relativeSplatPath:!1},s)}),[c,s,a,o]);typeof r==`string`&&(r=$n(r));let{pathname:u=`/`,search:d=``,hash:f=``,state:p=null,key:m=`default`}=r,h=P.useMemo(()=>{let e=br(u,c);return e==null?null:{location:{pathname:e,search:d,hash:f,state:p,key:m},navigationType:i}},[c,u,d,f,p,m,i]);return h==null?null:P.createElement(Br.Provider,{value:l},P.createElement(Vr.Provider,{children:n,value:h}))}function yi(e){let{children:t,location:n}=e;return Zr(xi(t),n)}var bi=function(e){return e[e.pending=0]=`pending`,e[e.success=1]=`success`,e[e.error=2]=`error`,e}(bi||{});new Promise(()=>{}),P.Component;function xi(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(e,r)=>{if(!P.isValidElement(e))return;let i=[...t,r];if(e.type===P.Fragment){n.push.apply(n,xi(e.props.children,i));return}e.type!==_i&&qn(!1),!(!e.props.index||!e.props.children)&&qn(!1);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=xi(e.props.children,i)),n.push(a)}),n}function Si(){return Si=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Di(e,t){let n=Ei(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var Oi=[`onClick`,`relative`,`reloadDocument`,`replace`,`state`,`target`,`to`,`preventScrollReset`,`viewTransition`],ki=[`aria-current`,`caseSensitive`,`className`,`end`,`style`,`to`,`viewTransition`,`children`],Ai=`6`;try{window.__reactRouterVersion=Ai}catch{}var ji=P.createContext({isTransitioning:!1}),Mi=P.startTransition;function Ni(e){let{basename:t,children:n,future:r,window:i}=e,a=P.useRef();a.current??(a.current=Kn({window:i,v5Compat:!0}));let o=a.current,[s,c]=P.useState({action:o.action,location:o.location}),{v7_startTransition:l}=r||{},u=P.useCallback(e=>{l&&Mi?Mi(()=>c(e)):c(e)},[c,l]);return P.useLayoutEffect(()=>o.listen(u),[o,u]),P.useEffect(()=>hi(r),[r]),P.createElement(vi,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}var Pi=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Fi=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ii=P.forwardRef(function(e,t){let{onClick:n,relative:r,reloadDocument:i,replace:a,state:o,target:s,to:c,preventScrollReset:l,viewTransition:u}=e,d=Ci(e,Oi),{basename:f}=P.useContext(Br),p,m=!1;if(typeof c==`string`&&Fi.test(c)&&(p=c,Pi))try{let e=new URL(window.location.href),t=c.startsWith(`//`)?new URL(e.protocol+c):new URL(c),n=br(t.pathname,f);t.origin===e.origin&&n!=null?c=n+t.search+t.hash:m=!0}catch{}let h=Wr(c,{relative:r}),g=Bi(c,{replace:a,state:o,target:s,preventScrollReset:l,relative:r,viewTransition:u});function _(e){n&&n(e),e.defaultPrevented||g(e)}return P.createElement(`a`,Si({},d,{href:p||h,onClick:m||i?n:_,ref:t,target:s}))}),Li=P.forwardRef(function(e,t){let{"aria-current":n=`page`,caseSensitive:r=!1,className:i=``,end:a=!1,style:o,to:s,viewTransition:c,children:l}=e,u=Ci(e,ki),d=Xr(s,{relative:u.relative}),f=Kr(),p=P.useContext(zr),{navigator:m,basename:h}=P.useContext(Br),g=p!=null&&Hi(d)&&c===!0,_=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,v=f.pathname,y=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;r||(v=v.toLowerCase(),y=y?y.toLowerCase():null,_=_.toLowerCase()),y&&h&&(y=br(y,h)||y);let b=_!==`/`&&_.endsWith(`/`)?_.length-1:_.length,x=v===_||!a&&v.startsWith(_)&&v.charAt(b)===`/`,S=y!=null&&(y===_||!a&&y.startsWith(_)&&y.charAt(_.length)===`/`),C={isActive:x,isPending:S,isTransitioning:g},w=x?n:void 0,T;T=typeof i==`function`?i(C):[i,x?`active`:null,S?`pending`:null,g?`transitioning`:null].filter(Boolean).join(` `);let E=typeof o==`function`?o(C):o;return P.createElement(Ii,Si({},u,{"aria-current":w,className:T,ref:t,style:E,to:s,viewTransition:c}),typeof l==`function`?l(C):l)}),I;(function(e){e.UseScrollRestoration=`useScrollRestoration`,e.UseSubmit=`useSubmit`,e.UseSubmitFetcher=`useSubmitFetcher`,e.UseFetcher=`useFetcher`,e.useViewTransitionState=`useViewTransitionState`})(I||(I={}));var Ri;(function(e){e.UseFetcher=`useFetcher`,e.UseFetchers=`useFetchers`,e.UseScrollRestoration=`useScrollRestoration`})(Ri||(Ri={}));function zi(e){let t=P.useContext(Rr);return!t&&qn(!1),t}function Bi(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:s}=t===void 0?{}:t,c=Jr(),l=Kr(),u=Xr(e,{relative:o});return P.useCallback(t=>{Ti(t,n)&&(t.preventDefault(),c(e,{replace:r===void 0?Qn(l)===Qn(u):r,state:i,preventScrollReset:a,relative:o,viewTransition:s}))},[l,c,u,r,i,n,e,a,o,s])}function Vi(e){let t=P.useRef(Ei(e)),n=P.useRef(!1),r=Kr(),i=P.useMemo(()=>Di(r.search,n.current?null:t.current),[r.search]),a=Jr();return[i,P.useCallback((e,t)=>{let r=Ei(typeof e==`function`?e(i):e);n.current=!0,a(`?`+r,t)},[a,i])]}function Hi(e,t){t===void 0&&(t={});let n=P.useContext(ji);n??qn(!1);let{basename:r}=zi(I.useViewTransitionState),i=Xr(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=br(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=br(n.nextLocation.pathname,r)||n.nextLocation.pathname;return _r(i.pathname,o)!=null||_r(i.pathname,a)!=null}var Ui=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},Wi=(e=>e?Ui(e):Ui),Gi=e=>e;function Ki(e,t=Gi){let n=P.useSyncExternalStore(e.subscribe,P.useCallback(()=>t(e.getState()),[e,t]),P.useCallback(()=>t(e.getInitialState()),[e,t]));return P.useDebugValue(n),n}var qi=e=>{let t=Wi(e),n=e=>Ki(t,e);return Object.assign(n,t),n},Ji=(e=>e?qi(e):qi),Yi=`anyllm_admin_token`;function Xi(){try{let e=new URLSearchParams(window.location.search),t=e.get(`token`);if(!t)return null;e.delete(`token`);let n=e.toString(),r=window.location.pathname+(n?`?${n}`:``)+window.location.hash;return window.history.replaceState(null,``,r),t}catch{return null}}function Zi(){let e=Xi();if(e)return Qi(e),e;try{return window.sessionStorage.getItem(Yi)}catch{return null}}function Qi(e){try{window.sessionStorage.setItem(Yi,e)}catch{}}function $i(){try{window.sessionStorage.removeItem(Yi)}catch{}}var ea=Ji(e=>({token:Zi(),login(t){Qi(t),e({token:t})},logout(){$i(),e({token:null})}})),ta=Ji(e=>({status:`disconnected`,lastEvent:null,setStatus:t=>e({status:t}),pushEvent:t=>e({lastEvent:t})})),na=3e4,ra=1e3,L=null,ia=null,aa=0,oa=!1;function sa(){oa=!1,!(L&&(L.readyState===WebSocket.OPEN||L.readyState===WebSocket.CONNECTING))&&la()}function ca(){oa=!0,ia&&clearTimeout(ia),L?.close(),L=null,ta.getState().setStatus(`disconnected`)}function la(){if(oa)return;let e=ea.getState().token;if(!e)return;ta.getState().setStatus(`connecting`);let t=location.protocol===`https:`?`wss:`:`ws:`;L=new WebSocket(`${t}//${location.host}/admin/ws`),L.onopen=()=>{L.send(JSON.stringify({token:e}))},L.onmessage=e=>{let t;try{t=JSON.parse(e.data)}catch{return}if(typeof t==`object`&&t&&`status`in t&&t.status===`authenticated`){aa=0,ta.getState().setStatus(`connected`);return}typeof t==`object`&&t&&`type`in t&&ta.getState().pushEvent(t)},L.onclose=()=>{if(oa)return;ta.getState().setStatus(`disconnected`);let e=Math.min(ra*2**aa,na);aa++,ia=setTimeout(la,e)},L.onerror=()=>{L?.close()}}var ua=5,da=4e3,fa=1,pa=Ji(e=>({toasts:[],push({variant:t,message:n,ttlMs:r}){let i=fa++,a=r===void 0?t===`error`?null:da:r;return e(e=>{let r=[...e.toasts,{id:i,variant:t,message:n,ttlMs:a}];return{toasts:r.length>ua?r.slice(-5):r}}),i},dismiss(t){e(e=>({toasts:e.toasts.filter(e=>e.id!==t)}))},clear(){e({toasts:[]})}}));function ma(e){return pa.getState().push(e)}function ha(){let e=Promise.resolve();return function(t){let n=e.then(t,t);return e=n.catch(()=>void 0),n}}var ga=ha();async function _a(e,t){let n=await e(`/admin/csrf-token`,{headers:{Authorization:`Bearer ${t()}`}});if(!n.ok)throw Error(`Failed to fetch CSRF token`);let r=await n.json();if(typeof r.csrf_token!=`string`)throw Error(`Failed to fetch CSRF token`);return r.csrf_token}function va(e,t,n){return{Authorization:`Bearer ${t}`,"X-CSRF-Token":e,...n?{"Content-Type":n}:{}}}function ya(e){return e.status===204||e.headers.get(`content-length`)===`0`}async function ba(e,t,n,r,i){let a=async a=>i.fetchImpl(t,{method:e,headers:va(a,i.getToken(),r),body:n}),o=await _a(i.fetchImpl,i.getToken),s=await a(o);if(s.status===403&&(o=await _a(i.fetchImpl,i.getToken),s=await a(o)),await i.handleAuthAndErrors(s),!ya(s))return s.json()}function xa(e){"@babel/helpers - typeof";return xa=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xa(e)}var Sa=o((()=>{}));function Ca(e,t){if(xa(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(xa(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var wa=o((()=>{Sa()}));function Ta(e){var t=Ca(e,`string`);return xa(t)==`symbol`?t:t+``}var Ea=o((()=>{Sa(),wa()}));function Da(e,t,n){return(t=Ta(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}o((()=>{Ea()}))();function Oa(){return ea.getState().token??``}var ka=class extends Error{constructor(e){super(`Rate limited. Retry in ${e}s.`),Da(this,`retryAfterSeconds`,void 0),this.name=`RateLimitError`,this.retryAfterSeconds=e}};function Aa(e){let t=e.headers.get(`retry-after`);if(!t)return 1;let n=Number(t);if(Number.isFinite(n)&&n>0)return Math.ceil(n);let r=Date.parse(t);return Number.isNaN(r)?1:Math.max(1,Math.ceil((r-Date.now())/1e3))}async function ja(e){if(e.status===401)throw ea.getState().logout(),Error(`Unauthorized`);if(e.status===429){let t=Aa(e);throw ma({variant:`warn`,message:`Admin API rate-limited. Retry in ${t}s.`,ttlMs:t*1e3}),new ka(t)}if(!e.ok){let t=await e.text().catch(()=>e.statusText);throw Error(t||`HTTP ${e.status}`)}}async function Ma(e,t){let n=await fetch(e,{...t,headers:{Authorization:`Bearer ${Oa()}`,...t?.headers??{}}});return await ja(n),n.json()}async function Na(e,t,n,r){return ga(()=>ba(e,t,n,r,{fetchImpl:(e,t)=>fetch(e,t),getToken:Oa,handleAuthAndErrors:ja}))}function Pa(e,t,n){return Na(e,t,n===void 0?void 0:JSON.stringify(n),n===void 0?void 0:`application/json`)}function Fa(e,t){return Na(`POST`,e,t)}function Ia(e=!0){return zn({queryKey:[`status`],queryFn:()=>Ma(`/admin/api/status`),enabled:e,refetchInterval:1e4})}function La(){return zn({queryKey:[`metrics`],queryFn:()=>Ma(`/admin/api/metrics`),refetchInterval:5e3,staleTime:0})}function Ra(e,t){return zn({queryKey:[`observability`,e,t],queryFn:()=>Ma(`/admin/api/observability/overview?window=${e}&backend=${encodeURIComponent(t)}`),refetchInterval:3e4,staleTime:0})}function za(e){let t=new URLSearchParams;return t.set(`limit`,String(e.page_size)),t.set(`offset`,String((e.page-1)*e.page_size)),e.backend&&t.set(`backend`,e.backend),e.status&&t.set(`status`,e.status),e.since&&t.set(`since`,e.since),e.until&&t.set(`until`,e.until),e.model&&t.set(`model`,e.model),zn({queryKey:[`requests`,e],queryFn:()=>Ma(`/admin/api/requests?${t}`),staleTime:1/0})}function Ba(){return zn({queryKey:[`keys`],queryFn:()=>Ma(`/admin/api/keys`).then(e=>e.keys),staleTime:1/0})}function Va(){let e=wn();return Bn({mutationFn:e=>Pa(`POST`,`/admin/api/keys`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`keys`]})}})}function Ha(){let e=wn();return Bn({mutationFn:({id:e,body:t})=>Pa(`PUT`,`/admin/api/keys/${e}`,t),onSuccess:()=>{e.invalidateQueries({queryKey:[`keys`]})}})}function Ua(){let e=wn();return Bn({mutationFn:e=>Pa(`DELETE`,`/admin/api/keys/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`keys`]})}})}function Wa(){return zn({queryKey:[`backends`],queryFn:()=>Ma(`/admin/api/backends`).then(e=>e.backends),staleTime:1/0})}function Ga(){return zn({queryKey:[`config`],queryFn:()=>Promise.all([Ma(`/admin/api/config`),Ma(`/admin/api/config/overrides`)]).then(([e,t])=>({...e,entries:t.overrides??[],env:{}})),staleTime:1/0})}function Ka(){let e=wn();return Bn({mutationFn:e=>Pa(`PUT`,`/admin/api/config`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`]}),ma({variant:`success`,message:`Setting saved — applied live, no restart needed`})}})}function qa(){let e=wn();return Bn({mutationFn:e=>Pa(`DELETE`,`/admin/api/config/overrides/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`config`]})}})}function Ja(){return zn({queryKey:[`env`],queryFn:()=>Ma(`/admin/api/env`),staleTime:1/0})}function Ya(){return zn({queryKey:[`models`],queryFn:()=>Ma(`/admin/api/models`),staleTime:1/0})}function Xa(){let e=wn();return Bn({mutationFn:e=>Pa(`POST`,`/admin/api/models`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`models`]})}})}function Za(){let e=wn();return Bn({mutationFn:e=>Pa(`DELETE`,`/admin/api/models/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`models`]})}})}function Qa(){return Bn({mutationFn:e=>Pa(`POST`,`/admin/api/models/discover`,e)})}function $a(e){return zn({queryKey:[`audit`,e],queryFn:()=>Ma(`/admin/api/audit?limit=${e.page_size}&offset=${(e.page-1)*e.page_size}`),staleTime:1/0})}function eo(e){return zn({queryKey:[`traffic`,e],queryFn:()=>Ma(`/admin/api/traffic?window=${e}`),refetchInterval:3e4,staleTime:0})}function to(){return zn({queryKey:[`uptime`],queryFn:()=>Ma(`/admin/api/uptime`),refetchInterval:3e4,staleTime:0})}function no(){return Bn({mutationFn:e=>{let t=new FormData;return t.append(`file`,e),Fa(`/admin/api/env/import`,t)}})}function ro(){return zn({queryKey:[`catalog-providers`],queryFn:()=>Ma(`/admin/api/catalog/providers`).then(e=>e.providers),staleTime:1/0})}function io(){return zn({queryKey:[`favorites`],queryFn:()=>Ma(`/admin/api/favorites`).then(e=>e.favorites),staleTime:1/0})}function ao(){let e=wn();return Bn({mutationFn:({providerId:e,on:t})=>t?Pa(`POST`,`/admin/api/favorites`,{provider_id:e}):Pa(`DELETE`,`/admin/api/favorites/${encodeURIComponent(e)}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`favorites`]})}})}function oo(){return zn({queryKey:[`managed-backends`],queryFn:()=>Ma(`/admin/api/backends/managed`),staleTime:1/0})}function so(){let e=wn();return Bn({mutationFn:e=>Pa(`POST`,`/admin/api/backends/managed`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`managed-backends`]}),e.invalidateQueries({queryKey:[`status`]})}})}function co(){let e=wn();return Bn({mutationFn:({name:e,data:t})=>Pa(`PUT`,`/admin/api/backends/managed/${e}`,t),onSuccess:()=>{e.invalidateQueries({queryKey:[`managed-backends`]})}})}function lo(){let e=wn();return Bn({mutationFn:e=>Pa(`DELETE`,`/admin/api/backends/managed/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`managed-backends`]}),e.invalidateQueries({queryKey:[`status`]})}})}function uo(){return zn({queryKey:[`routes`],queryFn:()=>Ma(`/admin/api/routes`),staleTime:1/0})}function fo(){let e=wn();return Bn({mutationFn:e=>Pa(`POST`,`/admin/api/routes`,e),onSuccess:()=>{e.invalidateQueries({queryKey:[`routes`]})}})}function po(){let e=wn();return Bn({mutationFn:({id:e,data:t})=>Pa(`PUT`,`/admin/api/routes/${e}`,t),onSuccess:()=>{e.invalidateQueries({queryKey:[`routes`]})}})}function mo(){let e=wn();return Bn({mutationFn:e=>Pa(`DELETE`,`/admin/api/routes/${e}`),onSuccess:()=>{e.invalidateQueries({queryKey:[`routes`]})}})}function ho(e){return zn({queryKey:[`route-providers`,e],queryFn:()=>Ma(`/admin/api/routes/${e}/providers`),enabled:!!e,staleTime:1/0})}function R(){let e=wn();return Bn({mutationFn:({routeId:e,data:t})=>Pa(`POST`,`/admin/api/routes/${e}/providers`,t),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]}),e.invalidateQueries({queryKey:[`routes`]})}})}function z(){let e=wn();return Bn({mutationFn:({routeId:e,providerId:t,data:n})=>Pa(`PUT`,`/admin/api/routes/${e}/providers/${t}`,n),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]})}})}function go(){let e=wn();return Bn({mutationFn:({routeId:e,providerId:t})=>Pa(`DELETE`,`/admin/api/routes/${e}/providers/${t}`),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]}),e.invalidateQueries({queryKey:[`routes`]})}})}function _o(){let e=wn();return Bn({mutationFn:({routeId:e,data:t})=>Pa(`PUT`,`/admin/api/routes/${e}/providers/reorder`,t),onSuccess:(t,{routeId:n})=>{e.invalidateQueries({queryKey:[`route-providers`,n]}),e.invalidateQueries({queryKey:[`routes`]})}})}async function vo(){let e=ea.getState().token??``,t=await fetch(`/admin/api/env/export`,{headers:{Authorization:`Bearer ${e}`}});if(!t.ok)throw Error(`Export failed: HTTP ${t.status}`);let n=await t.blob(),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=`.anyllm.env`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)}function B(...e){let t=[],n=e=>{e&&(typeof e==`string`||typeof e==`number`?t.push(String(e)):Array.isArray(e)&&e.forEach(n))};return e.forEach(n),t.join(` `)}var yo=(0,P.forwardRef)(({glyph:e=`✦`,solid:t,static:n,className:r,...i},a)=>(0,F.jsx)(`span`,{ref:a,"aria-hidden":`true`,className:B(`pui-sparkle`,!n&&`pui-sparkle--blink`,t&&`pui-sparkle--solid`,r),...i,children:e}));yo.displayName=`Sparkle`;var bo=(0,P.forwardRef)(({as:e,static:t,className:n,children:r,...i},a)=>(0,F.jsx)(e??`span`,{ref:a,className:B(`pui-gradient-text`,!t&&`pui-gradient-text--animate`,n),...i,children:r}));bo.displayName=`GradientText`;var xo=(0,P.forwardRef)(({color:e,static:t,className:n,style:r,...i},a)=>(0,F.jsx)(`span`,{ref:a,"aria-hidden":`true`,className:B(`pui-dot`,!t&&`pui-dot--pulse`,n),style:e?{...r,background:e,color:e}:r,...i}));xo.displayName=`StatusDot`;var So=new Set([`flash1`,`flash2`,`flash3`,`glow1`,`glow2`,`glow3`]),Co=(0,P.forwardRef)(({text:e,animation:t=`wave`,color:n=`glow1`,className:r,style:i,...a},o)=>{let s=So.has(n),c=s?`pui-quest--${n}`:void 0,l=s?void 0:{color:n};if(t===`wave`){let t=[...e];return(0,F.jsx)(`span`,{ref:o,className:B(`pui-quest`,`pui-quest--wave`,c,r),style:{...l,...i},...a,children:t.map((e,t)=>(0,F.jsx)(`span`,{className:`pui-quest__char`,style:{animationDelay:`${-(t+1)*50}ms`},children:e===` `?`\xA0`:e},t))})}let u=t===`scroll`?`pui-quest__scroll`:`pui-quest__slide`;return(0,F.jsx)(`span`,{ref:o,className:B(`pui-quest`,`pui-quest--${t}`,c,r),style:{...l,...i},...a,children:(0,F.jsx)(`span`,{className:u,children:e})})});Co.displayName=`QuestText`;function wo({variant:e=`glow`,size:t=`md`,sparkle:n,loading:r,block:i,as:a,className:o,children:s,disabled:c,...l},u){let d=a??`button`;return(0,F.jsxs)(d,{ref:u,className:B(`pui-btn`,`pui-btn--${e}`,t!==`md`&&`pui-btn--${t}`,i&&`pui-btn--block`,o),disabled:d===`button`?c||r:void 0,"aria-busy":r||void 0,...l,children:[r?(0,F.jsx)(`span`,{className:`pui-btn__spinner`,"aria-hidden":!0}):null,(0,F.jsx)(`span`,{children:s}),n?(0,F.jsx)(yo,{}):null]})}var To=(0,P.forwardRef)(wo),Eo=(0,P.forwardRef)(({hideSparkle:e,trailing:t,className:n,children:r,...i},a)=>(0,F.jsxs)(`div`,{ref:a,className:B(`pui-sticky-banner`,n),...i,children:[!e&&(0,F.jsx)(yo,{}),(0,F.jsx)(`span`,{children:r}),t]}));Eo.displayName=`StickyBanner`;var Do=(0,P.forwardRef)(({icon:e,statusColor:t,className:n,children:r,...i},a)=>(0,F.jsxs)(`span`,{ref:a,className:B(`pui-eyebrow`,n),...i,children:[e===!1?null:e??(0,F.jsx)(xo,{color:t}),(0,F.jsx)(`span`,{children:r})]}));Do.displayName=`EyebrowPill`;function Oo({words:e,typeMs:t=70,deleteMs:n=32,holdMs:r=1500,loop:i=!0,onWordReached:a}){let[o,s]=(0,P.useState)(``),[c,l]=(0,P.useState)(0),[u,d]=(0,P.useState)(!1),[f,p]=(0,P.useState)(!1),m=(0,P.useRef)({word:o,index:c,isDeleting:u});return m.current={word:o,index:c,isDeleting:u},(0,P.useEffect)(()=>{let o=null,c=!1;if(!e.length)return;let u=()=>{if(c)return;let{word:f,index:h,isDeleting:g}=m.current,_=e[h],v=g?_.slice(0,f.length-1):_.slice(0,f.length+1);if(s(v),!g&&v===_){if(a?.(_,h),!i&&h===e.length-1){p(!0);return}o=setTimeout(()=>{c||(d(!0),o=setTimeout(u,n))},r);return}g&&v===``&&(d(!1),l(t=>(t+1)%e.length)),o=setTimeout(u,g?n:t)};return o=setTimeout(u,t),()=>{c=!0,o&&clearTimeout(o)}},[]),{word:o,index:c,isDeleting:u,isComplete:f}}var ko=(0,P.forwardRef)(({words:e,typeMs:t,deleteMs:n,holdMs:r,loop:i,onWordReached:a,hideCursor:o,cursor:s,renderWord:c,className:l,...u},d)=>{let{word:f,index:p}=Oo({words:e,typeMs:t,deleteMs:n,holdMs:r,loop:i,onWordReached:a});return(0,F.jsxs)(`span`,{ref:d,className:B(`pui-rotator`,l),...u,children:[c?c(f,p):f,!o&&(0,F.jsx)(`span`,{"aria-hidden":`true`,className:B(`pui-rotator__cursor`,s===void 0&&`pui-rotator__cursor--block`,`pui-rotator__cursor--blink`),children:s})]})});ko.displayName=`Rotator`;var Ao=(0,P.forwardRef)(({words:e,intervalMs:t=2200,transitionMs:n=500,direction:r=`up`,gradient:i,className:a,style:o,...s},c)=>{let[l,u]=(0,P.useState)(0);(0,P.useEffect)(()=>{if(!e.length)return;let n=setInterval(()=>u(t=>(t+1)%e.length),t);return()=>clearInterval(n)},[t,e.length]);let d={...o,"--pui-roll-ms":`${n}ms`},f=(l-1+e.length)%e.length;return(0,F.jsxs)(`span`,{ref:c,className:B(`pui-roll`,r===`down`&&`pui-roll--down`,i&&`pui-roll--gradient`,a),style:d,...s,children:[(0,F.jsx)(`span`,{className:`pui-roll__sizer`,"aria-hidden":`true`,children:e[l]}),e.map((e,t)=>(0,F.jsx)(`span`,{className:B(`pui-roll__word`,t===l&&`pui-roll__word--active`,t===f&&l!==f&&`pui-roll__word--past`),"aria-hidden":t===l?void 0:`true`,children:e},t))]})});Ao.displayName=`WordRoll`;var jo=(0,P.forwardRef)(({placeholder:e=`Describe what you want to build…`,defaultValue:t,value:n,onChange:r,onSubmit:i,leading:a,ctaLabel:o=`Generate`,hideCta:s,className:c,...l},u)=>{let d=n!==void 0,[f,p]=(0,P.useState)(t??``),m=d?n:f;return(0,F.jsxs)(`form`,{ref:u,className:B(`pui-prompt`,c),onSubmit:e=>{e.preventDefault(),i?.(m)},...l,children:[a===!1?null:(0,F.jsx)(`span`,{className:`pui-prompt__icon`,children:a??(0,F.jsx)(yo,{})}),(0,F.jsx)(`input`,{className:`pui-prompt__input`,type:`text`,placeholder:e,value:m,onChange:e=>{let t=e.target.value;d||p(t),r?.(t)},autoComplete:`off`}),!s&&(0,F.jsx)(To,{type:`submit`,variant:`glow`,sparkle:!0,children:o})]})});jo.displayName=`PromptHero`;var Mo=[`GPT-5 Turbo Vision`,`Claude Opus 4.7`,`Gemini 3 Pro`],No=(0,P.forwardRef)(({value:e,defaultValue:t=``,onChange:n,onSubmit:r,placeholder:i=`Build me a…`,rows:a=3,models:o=Mo,model:s,defaultModel:c,onModelChange:l,onAddContext:u,onVoice:d,hideAddContext:f,hideModel:p,hideVoice:m,hideSend:h,submitOnCmdEnter:g=!0,toolbarExtras:_,className:v,...y},b)=>{let x=e!==void 0,[S,C]=(0,P.useState)(t),w=x?e:S,T=s!==void 0,[E,D]=(0,P.useState)(c??o[0]??``),O=T?s:E,[ee,te]=(0,P.useState)(!1),ne=(0,P.useRef)(null);(0,P.useEffect)(()=>{if(!ee)return;let e=e=>{var t;(t=ne.current)!=null&&t.contains(e.target)||te(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[ee]);let re=e=>{x||C(e),n?.(e)},ie=e=>{T||D(e),l?.(e),te(!1)},ae=e=>{e?.preventDefault(),r?.(w,{model:O})},oe=e=>{g&&e.key===`Enter`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),ae())};return(0,F.jsxs)(`form`,{ref:b,className:B(`pui-promptbox`,v),onSubmit:ae,...y,children:[(0,F.jsx)(`textarea`,{className:`pui-promptbox__textarea`,value:w,onChange:e=>re(e.target.value),onKeyDown:oe,placeholder:i,rows:a}),(0,F.jsxs)(`div`,{className:`pui-promptbox__toolbar`,children:[!f&&(0,F.jsx)(`button`,{type:`button`,className:`pui-promptbox__iconbtn`,onClick:u,title:`Add context`,"aria-label":`Add context`,children:(0,F.jsx)(Po,{})}),!p&&o.length>0&&(0,F.jsxs)(`div`,{className:`pui-promptbox__model-wrap`,ref:ne,children:[(0,F.jsxs)(`button`,{type:`button`,className:`pui-promptbox__model`,onClick:()=>te(e=>!e),"aria-expanded":ee,"aria-haspopup":`menu`,children:[(0,F.jsx)(`span`,{children:O}),(0,F.jsx)(Fo,{})]}),ee&&(0,F.jsx)(`div`,{className:`pui-promptbox__menu`,role:`menu`,children:o.map(e=>(0,F.jsxs)(`button`,{type:`button`,className:B(`pui-promptbox__menu-item`,e===O&&`pui-promptbox__menu-item--active`),onClick:()=>ie(e),role:`menuitemradio`,"aria-checked":e===O,children:[(0,F.jsx)(`span`,{children:e}),e===O&&(0,F.jsx)(Ro,{})]},e))})]}),(0,F.jsx)(`div`,{className:`pui-promptbox__spacer`}),_,!m&&(0,F.jsx)(`button`,{type:`button`,className:`pui-promptbox__iconbtn`,onClick:d,title:`Voice mode`,"aria-label":`Voice mode`,children:(0,F.jsx)(Io,{})}),!h&&(0,F.jsx)(`button`,{type:`submit`,className:`pui-promptbox__iconbtn pui-promptbox__send`,title:`Send`,"aria-label":`Send`,children:(0,F.jsx)(Lo,{})})]})]})});No.displayName=`Prompt`;function Po(){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.2`,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,F.jsx)(`path`,{d:`M12 5v14M5 12h14`})})}function Fo(){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`10`,height:`10`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,F.jsx)(`polyline`,{points:`6 9 12 15 18 9`})})}function Io(){return(0,F.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,F.jsx)(`rect`,{x:`9`,y:`2`,width:`6`,height:`12`,rx:`3`}),(0,F.jsx)(`path`,{d:`M19 10a7 7 0 0 1-14 0`}),(0,F.jsx)(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`22`})]})}function Lo(){return(0,F.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.4`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,F.jsx)(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`5`}),(0,F.jsx)(`polyline`,{points:`5 12 12 5 19 12`})]})}function Ro(){return(0,F.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.4`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,F.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}var zo=` .\`'",:;Il!i><~+_-?][}{1)(|/tfjrxnuvczXYUJCLQ0OZmwqpdbkhao*#MW&8%B@$`,Bo=[`#a78bfa`,`#ec4899`,`#67e8f9`,`#fbbf24`];function Vo(e,t,n={}){let{cols:r,rows:i,fontSize:a=11,fontFamily:o=`JetBrains Mono, ui-monospace, monospace`,charRamp:s=zo,colorful:c=!1,palette:l,baseOpacity:u=1,reactive:d=!0,rippleStrength:f=1.4,rippleRadius:p=6,spotlightOpacity:m,spotlightRadius:h=8,frameMs:g=50}=n,_=(0,P.useMemo)(()=>l??(c?Bo:null),[l,c]);(0,P.useEffect)(()=>{let n=e.current,c=t.current;if(!n||!c)return;let l=n.getContext(`2d`);if(!l)return;let v=0,y=0,b=0,x=0,S=0,C=0,w=new Float32Array,T=1,E={x:-9999,y:-9999},D=()=>{w=new Float32Array(b*x);for(let e=0;e{let e=c.getBoundingClientRect();e.width===0||e.height===0||(T=Math.min(window.devicePixelRatio||1,2),n.width=Math.max(1,Math.floor(e.width*T)),n.height=Math.max(1,Math.floor(e.height*T)),l.setTransform(T,0,0,T,0,0),l.font=`${a}px ${o}`,l.textBaseline=`top`,S=l.measureText(`M`).width||a*.6,C=a*1.15,b=r??Math.max(1,Math.floor(e.width/S)),x=i??Math.max(1,Math.floor(e.height/C)),r!==void 0&&(S=e.width/b),i!==void 0&&(C=e.height/x),D())},ee=e=>{if(e-y=r.left-24&&E.x<=r.right+24&&E.y>=r.top-24&&E.y<=r.bottom+24;l.clearRect(0,0,r.width,r.height);let c=s.length-1,T=typeof m==`number`&&m!==u,D=h*h*2;for(let e=0;e1&&(te=1)}if(te<=.01)continue;let ne=`#c8c8d4`;if(_&&_.length){let r=(n*.1+e*.07+t*.12)%_.length;ne=_[Math.floor(Math.abs(r))%_.length]}l.globalAlpha=te,l.fillStyle=ne,l.fillText(ee,n*S,e*C)}l.globalAlpha=1,v=requestAnimationFrame(ee)},te=e=>{E.x=e.clientX,E.y=e.clientY},ne=new ResizeObserver(O);return ne.observe(c),O(),d&&window.addEventListener(`mousemove`,te,{passive:!0}),v=requestAnimationFrame(ee),()=>{cancelAnimationFrame(v),ne.disconnect(),d&&window.removeEventListener(`mousemove`,te)}},[e,t,r,i,a,o,s,_,u,d,f,p,m,h,g])}var Ho=(0,P.forwardRef)(({variant:e=`panel`,cols:t,rows:n,fontSize:r,fontFamily:i,charRamp:a,colorful:o,palette:s,baseOpacity:c,reactive:l,rippleStrength:u,rippleRadius:d,spotlightOpacity:f,spotlightRadius:p,frameMs:m,className:h,...g},_)=>{let v=(0,P.useRef)(null),y=(0,P.useRef)(null);return Vo(y,v,{cols:t,rows:n,fontSize:r,fontFamily:i,charRamp:a,colorful:o,palette:s,baseOpacity:c,reactive:l,rippleStrength:u,rippleRadius:d,spotlightOpacity:f,spotlightRadius:p,frameMs:m}),(0,F.jsx)(`div`,{ref:e=>{v.current=e,typeof _==`function`?_(e):_&&(_.current=e)},className:B(`pui-ascii`,e===`panel`&&`pui-ascii--panel`,h),"aria-hidden":`true`,...g,children:(0,F.jsx)(`canvas`,{ref:y})})});Ho.displayName=`AsciiHero`;var Uo=`circle(0px at -9999px -9999px)`,Wo=(0,P.forwardRef)(({text_default:e,text_reveal:t,pattern:n=`0 1 0 1 `,pattern_size_default:r=14,pattern_size_reveal:i=22,scopeSize:a=320,fontSize:o,fontFamily:s,className:c,style:l,...u},d)=>{let f=(0,P.useRef)(null),p=(0,P.useRef)(null);(0,P.useEffect)(()=>{let e=f.current,t=p.current;if(!e||!t)return;let n=a/2,r=0,i=0,o=0,s=!1,c=()=>{if(r=0,!s)return;s=!1;let e=`circle(${n}px at ${i}px ${o}px)`;t.style.clipPath=e,t.style.webkitClipPath=e},l=t=>{let n=e.getBoundingClientRect();i=t.clientX-n.left,o=t.clientY-n.top,s=!0,r||(r=requestAnimationFrame(c))},u=()=>{r&&(cancelAnimationFrame(r),r=0,s=!1),t.style.clipPath=Uo,t.style.webkitClipPath=Uo};return e.addEventListener(`pointermove`,l),e.addEventListener(`pointerleave`,u),e.addEventListener(`pointercancel`,u),()=>{e.removeEventListener(`pointermove`,l),e.removeEventListener(`pointerleave`,u),e.removeEventListener(`pointercancel`,u),r&&cancelAnimationFrame(r)}},[a]);let m=e=>{f.current=e,typeof d==`function`?d(e):d&&(d.current=e)},h=(0,P.useMemo)(()=>n.repeat(40),[n]),g=(0,P.useMemo)(()=>Array.from({length:40},(e,t)=>t),[]),_=e=>(0,F.jsx)(`div`,{className:`pui-goldeneye__pattern`,style:{fontSize:`${e}px`},children:g.map(e=>(0,F.jsx)(`div`,{className:`pui-goldeneye__pattern-row`,children:h},e))}),v={...s?{"--pui-goldeneye-font":s}:{},...o==null?{}:{"--pui-goldeneye-headline-size":typeof o==`number`?`${o}px`:o}};return(0,F.jsxs)(`div`,{ref:m,className:B(`pui-goldeneye`,c),style:{...v,...l},...u,children:[(0,F.jsxs)(`div`,{className:`pui-goldeneye__base`,children:[_(r),(0,F.jsx)(`div`,{className:`pui-goldeneye__headline`,children:e})]}),(0,F.jsxs)(`div`,{ref:p,className:`pui-goldeneye__scope`,"aria-hidden":`true`,style:{clipPath:Uo,WebkitClipPath:Uo},children:[_(i),(0,F.jsx)(`div`,{className:`pui-goldeneye__headline`,children:t})]})]})});Wo.displayName=`Goldeneye`;var Go=[{color:`rgba(124,58,237,0.45)`,x:20,y:30,size:60},{color:`rgba(236,72,153,0.35)`,x:80,y:25,size:50},{color:`rgba(6,182,212,0.30)`,x:50,y:80,size:50}],Ko=(0,P.forwardRef)(({blobs:e=Go,blur:t=50,static:n,animated:r,repulsion:i=.18,className:a,style:o,...s},c)=>{let l=(0,P.useRef)([]);(0,P.useEffect)(()=>{if(!r)return;let t=e.map(e=>({x:e.x,y:e.y,homeX:e.x,homeY:e.y,size:e.size??50,vx:(Math.random()-.5)*.06,vy:(Math.random()-.5)*.06})),n=0,a=()=>{for(let e=0;e.001){let e=(l-c)/l*i;n.vx+=o/c*e,n.vy+=s/c*e}}n.vx+=(Math.random()-.5)*.012,n.vy+=(Math.random()-.5)*.012,n.x+=n.vx,n.y+=n.vy,n.x<-10&&(n.x=-10,n.vx=Math.abs(n.vx)*.6),n.x>110&&(n.x=110,n.vx=-Math.abs(n.vx)*.6),n.y<-10&&(n.y=-10,n.vy=Math.abs(n.vy)*.6),n.y>110&&(n.y=110,n.vy=-Math.abs(n.vy)*.6);let r=l.current[e];r&&(r.style.left=`${n.x}%`,r.style.top=`${n.y}%`)}n=requestAnimationFrame(a)};return n=requestAnimationFrame(a),()=>cancelAnimationFrame(n)},[r,e,i]);let u={...o,filter:`blur(${t}px) saturate(140%)`};return(0,F.jsx)(`div`,{ref:c,"aria-hidden":`true`,className:B(`pui-aurora`,!n&&!r&&`pui-aurora--drift`,a),style:u,...s,children:e.map((e,t)=>{let n=e.size??50;return(0,F.jsx)(`div`,{ref:e=>{l.current[t]=e},className:`pui-aurora__blob`,style:{position:`absolute`,left:`${e.x}%`,top:`${e.y}%`,width:`${n}%`,height:`${n}%`,background:`radial-gradient(circle at center, ${e.color} 0%, transparent 70%)`,transform:`translate(-50%, -50%)`,pointerEvents:`none`,borderRadius:`50%`}},t)})})});Ko.displayName=`Aurora`;var qo=(0,P.forwardRef)(({density:e=70,speed:t=.4,linkDistance:n=140,colors:r=[`#a78bfa`,`#f0abfc`,`#67e8f9`],linkColor:i=`#7c3aed`,hoverDistance:a=200,hoverGravity:o=.005,hoverBrighten:s=.8,baseOpacity:c=.45,overscan:l=80,className:u,...d},f)=>{let p=(0,P.useRef)(null),m=(0,P.useRef)(null);return(0,P.useEffect)(()=>{let u=p.current,d=m.current,f=d.getContext(`2d`);if(!f)return;let h=0,g=0,_=1,v={x:-9999,y:-9999},y=0,b=[],x=()=>{let n=-l,i=h+l,a=-l,o=g+l;b=Array.from({length:e},()=>({x:n+Math.random()*(i-n),y:a+Math.random()*(o-a),vx:(Math.random()-.5)*t*2,vy:(Math.random()-.5)*t*2,r:1+Math.random()*1.6,color:r[Math.floor(Math.random()*r.length)]}))},S=()=>{let e=u.getBoundingClientRect();_=Math.min(window.devicePixelRatio||1,2),h=e.width,g=e.height,d.width=h*_,d.height=g*_,d.style.width=`${h}px`,d.style.height=`${g}px`,f.setTransform(_,0,0,_,0,0),x()},C=()=>{f.clearRect(0,0,h,g);let e=-l,t=h+l,r=-l,u=g+l,d=v.x>-9e3;for(let n of b)if(n.x+=n.vx,n.y+=n.vy,(n.xt)&&(n.vx*=-1),(n.yu)&&(n.vy*=-1),a>0&&o>0&&d){let e=v.x-n.x,t=v.y-n.y,r=Math.hypot(e,t);if(r{if(!d||a<=0||s<=0)return 0;let n=Math.hypot(v.x-e,v.y-t);return n>=a?0:(1-n/a)*s};f.lineWidth=1;for(let e=0;e{let t=u.getBoundingClientRect();v.x=e.clientX-t.left,v.y=e.clientY-t.top},T=()=>{v.x=-9999,v.y=-9999},E=new ResizeObserver(S);return E.observe(u),S(),u.addEventListener(`mousemove`,w),u.addEventListener(`mouseleave`,T),y=requestAnimationFrame(C),()=>{cancelAnimationFrame(y),E.disconnect(),u.removeEventListener(`mousemove`,w),u.removeEventListener(`mouseleave`,T)}},[e,t,n,a,o,s,c,l,r,i]),(0,F.jsx)(`div`,{ref:e=>{p.current=e,typeof f==`function`?f(e):f&&(f.current=e)},"aria-hidden":`true`,className:B(`pui-node-graph`,u),...d,children:(0,F.jsx)(`canvas`,{ref:m})})});qo.displayName=`NodeGraphBackground`;function Jo(e,t){if(e.startsWith(`#`)){let n,r,i;return e.length===4?(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),i=parseInt(e[3]+e[3],16)):(n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),i=parseInt(e.slice(5,7),16)),`rgba(${n},${r},${i},${t})`}return e}var Yo=(0,P.forwardRef)(({count:e=18,glyphs:t=[`✦`,`✧`,`✶`,`✺`,`✹`,`·`],durationS:n=[8,18],sizeRange:r=[8,20],className:i,...a},o)=>{let s=(0,P.useMemo)(()=>Array.from({length:e},()=>({glyph:t[Math.floor(Math.random()*t.length)],left:Math.random()*100,duration:n[0]+Math.random()*(n[1]-n[0]),delay:Math.random()*n[1],size:r[0]+Math.random()*(r[1]-r[0]),opacity:.4+Math.random()*.5})),[e,t,n,r]);return(0,F.jsx)(`div`,{ref:o,"aria-hidden":`true`,className:B(`pui-sparkle-field`,i),...a,children:s.map((e,t)=>(0,F.jsx)(`span`,{className:`pui-sparkle-field__item`,style:{left:`${e.left}%`,fontSize:`${e.size}px`,"--pui-sparkle-peak":e.opacity.toFixed(2),animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`},children:e.glyph},t))})});Yo.displayName=`FloatingSparkles`;var Xo=(0,P.forwardRef)(({breathing:e,glowOnHover:t=!0,className:n,children:r,...i},a)=>(0,F.jsx)(`article`,{ref:a,className:B(`pui-glass-card`,e&&`pui-glass-card--breathing`,t&&`pui-glass-card--glow-hover`,n),...i,children:r}));Xo.displayName=`GlassCard`;var Zo=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`div`,{ref:n,className:B(`pui-glass-card__icon`,e),...t}));Zo.displayName=`GlassCard.Icon`;var Qo=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`h3`,{ref:n,className:B(`pui-glass-card__title`,e),...t}));Qo.displayName=`GlassCard.Title`;var $o=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`p`,{ref:n,className:B(`pui-glass-card__body`,e),...t}));$o.displayName=`GlassCard.Body`;var es=(0,P.forwardRef)(({className:e,children:t,...n},r)=>(0,F.jsxs)(`a`,{ref:r,className:B(`pui-glass-card__link`,e),...n,children:[(0,F.jsx)(`span`,{children:t}),(0,F.jsx)(`span`,{className:`pui-arrow`,children:`→`})]}));es.displayName=`GlassCard.Link`;var ts=Object.assign(Xo,{Icon:Zo,Title:Qo,Body:$o,Link:es}),ns=(0,P.forwardRef)(({filename:e,tokens:t,loop:n=!0,charMs:r=[14,42],thinkingLabel:i=`AI is writing…`,className:a,children:o,...s},c)=>(0,F.jsx)(`div`,{ref:c,"data-theme":`dark`,className:B(`pui-ide`,a),...s,children:o??(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(rs,{filename:e,thinking:i}),(0,F.jsx)(is,{tokens:t??[],loop:n,charMs:r})]})}));ns.displayName=`MockIDE`;var rs=(0,P.forwardRef)(({filename:e,thinking:t,className:n,children:r,...i},a)=>(0,F.jsxs)(`div`,{ref:a,className:B(`pui-ide__chrome`,n),...i,children:[(0,F.jsx)(`span`,{className:`pui-ide__dot pui-ide__dot--red`}),(0,F.jsx)(`span`,{className:`pui-ide__dot pui-ide__dot--yellow`}),(0,F.jsx)(`span`,{className:`pui-ide__dot pui-ide__dot--green`}),e&&(0,F.jsx)(`span`,{className:`pui-ide__tab`,children:e}),r,t!==!1&&(0,F.jsxs)(`span`,{className:`pui-ide__thinking`,children:[(0,F.jsx)(`span`,{className:`pui-spinner`}),(0,F.jsx)(`span`,{children:t})]})]}));rs.displayName=`MockIDE.Chrome`;var is=(0,P.forwardRef)(({tokens:e,loop:t=!0,charMs:n=[14,42],className:r,...i},a)=>{let o=(0,P.useRef)(null),s=a??o,[c,l]=(0,P.useState)(0);return(0,P.useEffect)(()=>{let r=s.current;if(!r||!e.length)return;let i=!1,a=null,o=0,c=0,u=``,d=e=>e.replace(/&/g,`&`).replace(//g,`>`),f=()=>{if(i)return;if(o>=e.length){t&&(a=setTimeout(()=>{o=0,c=0,r.innerHTML=u,l(e=>e+1),f()},3e3));return}let s=e[o];if(c+=1,c>s.c.length){o+=1,c=0,f();return}let p=``;for(let t=0;t${d(n.c)}`:d(n.c)}let m=s.c.slice(0,c);p+=s.cls?`${d(m)}`:d(m),p+=u,r.innerHTML=p;let[h,g]=n,_=h+Math.random()*(g-h)+(m.endsWith(` +`)?120:0);a=setTimeout(f,_)};return r.innerHTML=u,f(),()=>{i=!0,a&&clearTimeout(a)}},[e,t,n,s,c]),(0,F.jsx)(`pre`,{ref:s,className:B(`pui-ide__body`,r),...i})});is.displayName=`MockIDE.Body`,Object.assign(ns,{Chrome:rs,Body:is});var as=(0,P.forwardRef)(({role:e,agent:t,thinking:n,icon:r,className:i,children:a,...o},s)=>(0,F.jsxs)(`div`,{ref:s,className:B(`pui-bubble`,e===`user`?`pui-bubble--user`:`pui-bubble--ai`,i),...o,children:[e===`ai`&&(t||n!==!1||r!==!1)&&(0,F.jsxs)(`div`,{className:`pui-bubble__meta`,children:[r===!1?null:r??(0,F.jsx)(yo,{}),t&&(0,F.jsx)(`span`,{children:t}),n!==!1&&(0,F.jsxs)(`span`,{className:`pui-bubble__thinking-pill`,children:[(0,F.jsx)(`span`,{className:`pui-spinner pui-spinner--sm`}),(0,F.jsx)(`span`,{children:n??`thinking…`})]})]}),(0,F.jsx)(`div`,{className:`pui-bubble__stream`,children:a})]}));as.displayName=`ChatBubble`;var os=e=>e.split(/(\s+)/);function ss({text:e,speedMs:t=[18,80],tokenize:n=os,loop:r=!1,loopDelayMs:i=6e3,onComplete:a}){let[o,s]=(0,P.useState)(``),[c,l]=(0,P.useState)(!1),u=(0,P.useRef)(a);return u.current=a,(0,P.useEffect)(()=>{let a=!1,o=null,c=n(e),d=()=>Array.isArray(t)?t[0]+Math.random()*(t[1]-t[0]):t,f=()=>{let e=0,t=``,n=()=>{var p;if(!a){if(e>=c.length){l(!0),(p=u.current)==null||p.call(u),r&&(o=setTimeout(()=>{a||(l(!1),s(``),f())},i));return}t+=c[e],e+=1,s(t),o=setTimeout(n,d())}};n()};return f(),()=>{a=!0,o&&clearTimeout(o)}},[]),{output:o,isStreaming:!c,isComplete:c}}var cs=(0,P.forwardRef)(({text:e,speedMs:t,tokenize:n,loop:r,loopDelayMs:i,onComplete:a,hideCaret:o,className:s,...c},l)=>{let{output:u,isStreaming:d}=ss({text:e,speedMs:t,tokenize:n,loop:r,loopDelayMs:i,onComplete:a});return(0,F.jsxs)(`span`,{ref:l,className:B(s),...c,children:[u,!o&&d&&(0,F.jsx)(`span`,{className:`pui-bubble__stream-caret`})]})});cs.displayName=`TokenStream`;var ls=[`·`,`✢`,`✳`,`✶`,`✻`,`✽`],us=`Accomplishing.Actioning.Actualizing.Architecting.Baking.Beaming.Befuddling.Billowing.Blanching.Bloviating.Boogieing.Boondoggling.Booping.Bootstrapping.Brewing.Bunning.Burrowing.Calculating.Canoodling.Caramelizing.Cascading.Catapulting.Cerebrating.Channeling.Channelling.Choreographing.Churning.Clauding.Coalescing.Cogitating.Combobulating.Composing.Computing.Concocting.Considering.Contemplating.Cooking.Crafting.Creating.Crunching.Crystallizing.Cultivating.Deciphering.Deliberating.Determining.Dilly-dallying.Discombobulating.Doing.Doodling.Drizzling.Ebbing.Effecting.Elucidating.Embellishing.Enchanting.Envisioning.Evaporating.Fermenting.Fiddle-faddling.Finagling.Flambéing.Flibbertigibbeting.Flowing.Flummoxing.Fluttering.Forging.Forming.Frolicking.Frosting.Gallivanting.Galloping.Garnishing.Generating.Gesticulating.Germinating.Gitifying.Grooving.Gusting.Harmonizing.Hashing.Hatching.Herding.Honking.Hullaballooing.Hyperspacing.Ideating.Imagining.Improvising.Incubating.Inferring.Infusing.Ionizing.Jitterbugging.Julienning.Kneading.Leavening.Levitating.Lollygagging.Manifesting.Marinating.Meandering.Metamorphosing.Misting.Moonwalking.Moseying.Mulling.Mustering.Musing.Nebulizing.Nesting.Newspapering.Noodling.Nucleating.Orbiting.Orchestrating.Osmosing.Perambulating.Percolating.Perusing.Philosophising.Photosynthesizing.Pollinating.Pondering.Pontificating.Pouncing.Precipitating.Prestidigitating.Processing.Proofing.Propagating.Puttering.Puzzling.Quantumizing.Razzle-dazzling.Razzmatazzing.Recombobulating.Reticulating.Roosting.Ruminating.Sautéing.Scampering.Schlepping.Scurrying.Seasoning.Shenaniganing.Shimmying.Simmering.Skedaddling.Sketching.Slithering.Smooshing.Sock-hopping.Spelunking.Spinning.Sprouting.Stewing.Sublimating.Swirling.Swooping.Symbioting.Synthesizing.Tempering.Thinking.Thundering.Tinkering.Tomfoolering.Topsy-turvying.Transfiguring.Transmuting.Twisting.Undulating.Unfurling.Unravelling.Vibing.Waddling.Wandering.Warping.Whatchamacalliting.Whirlpooling.Whirring.Whisking.Wibbling.Working.Wrangling.Zesting.Zigzagging`.split(`.`);function ds(e){return e[Math.floor(Math.random()*e.length)]}var fs=(0,P.forwardRef)(({verbs:e=us,glyphs:t=ls,glyphInterval:n=250,verbInterval:r,ellipsis:i=`…`,info:a,glyphColor:o,className:s,...c},l)=>{let[u,d]=(0,P.useState)(0),[f,p]=(0,P.useState)(()=>e.length?ds(e):``);(0,P.useEffect)(()=>{if(!t.length)return;let e=setInterval(()=>{d(e=>(e+1)%t.length)},n);return()=>clearInterval(e)},[n,t.length]),(0,P.useEffect)(()=>{if(r==null||!e.length)return;let t=setInterval(()=>{p(ds(e))},r);return()=>clearInterval(t)},[e,r]);let m=f;return(0,F.jsxs)(`span`,{ref:l,className:B(`pui-wibble`,s),...c,children:[(0,F.jsx)(`span`,{className:`pui-wibble__glyph`,"aria-hidden":`true`,style:o?{color:o}:void 0,children:t[u]??``}),(0,F.jsxs)(`span`,{className:`pui-wibble__verb`,children:[m,i]}),a!=null&&a!==!1&&(0,F.jsxs)(`span`,{className:`pui-wibble__info`,children:[`(`,a,`)`]})]})});fs.displayName=`WibblingSpinner`;var ps=(0,P.forwardRef)(({label:e=`Ask AI`,open:t,defaultOpen:n,onOpenChange:r,popover:i,className:a,onClick:o,...s},c)=>{let l=t!==void 0,[u,d]=(0,P.useState)(n??!1),f=l?!!t:u,p=()=>{let e=!f;l||d(e),r?.(e)},m=()=>{l||d(!1),r?.(!1)};return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`button`,{ref:c,className:B(`pui-fab`,a),onClick:e=>{o?.(e),p()},"aria-expanded":f,...s,children:[(0,F.jsx)(yo,{}),(0,F.jsx)(`span`,{children:e})]}),f&&(0,F.jsx)(`div`,{role:`dialog`,className:`pui-fab-popover`,children:(0,F.jsx)(ms.Provider,{value:m,children:i})})]})});ps.displayName=`ChatFAB`;var ms=(0,P.createContext)(()=>{}),hs=(0,P.forwardRef)(({onClose:e,className:t,children:n,...r},i)=>{let a=(0,P.useContext)(ms);return(0,F.jsxs)(`div`,{ref:i,className:B(`pui-fab-popover__header`,t),...r,children:[(0,F.jsx)(yo,{}),(0,F.jsx)(`span`,{children:n}),(0,F.jsx)(`button`,{type:`button`,"aria-label":`Close`,className:`pui-fab-popover__close`,onClick:e??a,children:`×`})]})});hs.displayName=`ChatFAB.Header`;var gs=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`div`,{ref:n,className:B(`pui-fab-popover__body`,e),...t}));gs.displayName=`ChatFAB.Body`,Object.assign(ps,{Header:hs,Body:gs});var _s=(0,P.forwardRef)(({logos:e,speed:t=40,gap:n=56,fade:r=!0,pauseOnHover:i,className:a,style:o,...s},c)=>{let l={...o??{},"--pui-marquee-speed":`${t}s`,"--pui-marquee-gap":`${n}px`},u=(e,t)=>e.kind===`img`?(0,F.jsx)(`span`,{className:`pui-marquee__item`,children:(0,F.jsx)(`img`,{src:e.src,alt:e.alt??``})},`a${t}`):(0,F.jsx)(`span`,{className:`pui-marquee__item`,children:e.node},e.key??`b${t}`);return(0,F.jsx)(`div`,{ref:c,className:B(`pui-marquee`,r&&`pui-marquee--fade`,i&&`pui-marquee--paused-on-hover`,a),style:l,"aria-label":`Trusted by`,...s,children:(0,F.jsxs)(`div`,{className:`pui-marquee__track`,children:[e.map(u),e.map((t,n)=>u(t,n+e.length))]})})});_s.displayName=`LogoMarquee`;var vs=(0,P.forwardRef)(({heading:e,logos:t,className:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:B(`pui-logo-row`,n),...r,children:[e&&(0,F.jsx)(`p`,{className:`pui-logo-row__heading`,children:e}),(0,F.jsx)(`div`,{className:`pui-logo-row__items`,children:t.map((e,t)=>e.kind===`img`?(0,F.jsx)(`img`,{src:e.src,alt:e.alt??``},t):(0,F.jsx)(`span`,{className:`pui-logo-row__text`,children:e.node},e.key??t))})]}));vs.displayName=`LogoRow`;var ys=(0,P.forwardRef)(({rows:e,intensity:t=240,startDirection:n=`left`,gap:r=12,fade:i=!0,gradient:a=!1,static:o,className:s,style:c,...l},u)=>{let d=(0,P.useRef)(null);(0,P.useEffect)(()=>{let e=d.current;if(!e||o||window.matchMedia?.call(window,`(prefers-reduced-motion: reduce)`).matches)return;let n=0,r=()=>{n=0;let r=e.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,a=(i-r.top)/(i+r.height),o=(Math.min(1,Math.max(0,a))-.5)*t;e.style.setProperty(`--pui-slip`,`${o}px`)},i=()=>{n||(n=requestAnimationFrame(r))};return r(),window.addEventListener(`scroll`,i,{passive:!0}),window.addEventListener(`resize`,i,{passive:!0}),()=>{n&&cancelAnimationFrame(n),window.removeEventListener(`scroll`,i),window.removeEventListener(`resize`,i)}},[t,o]);let f=e=>{d.current=e,typeof u==`function`?u(e):u&&(u.current=e)},p=n===`left`?-1:1,m={...c??{},"--pui-slip-gap":`${r}px`};return(0,F.jsx)(`div`,{ref:f,className:B(`pui-slippy`,i&&`pui-slippy--fade`,s),style:m,"aria-label":`Featured terms`,...l,children:e.map((e,t)=>(0,F.jsx)(`div`,{className:`pui-slippy__row`,style:{"--pui-slip-dir":t%2==0?p:-p},children:e.map((e,n)=>{let r=typeof e==`string`?{label:e}:e;return(0,F.jsx)(`span`,{className:B(`pui-slippy__word`,(a||typeof e==`object`&&e.gradient)&&`pui-slippy__word--gradient`),children:r.label},typeof e==`object`&&e.key||`${t}-${n}`)})},t))})});ys.displayName=`SlippyWords`;function bs({target:e,durationMs:t=1800,from:n=0,ease:r=e=>1-(1-e)**3}){let[i,a]=(0,P.useState)(n);return(0,P.useEffect)(()=>{let i=0,o=performance.now(),s=c=>{let l=Math.min(1,(c-o)/t);a(Math.floor(n+(e-n)*r(l))),l<1&&(i=requestAnimationFrame(s))};return i=requestAnimationFrame(s),()=>cancelAnimationFrame(i)},[]),i}var xs=(0,P.forwardRef)(({target:e,durationMs:t,from:n,ease:r,format:i=e=>e.toLocaleString(),className:a,...o},s)=>{let c=bs({target:e,durationMs:t,from:n,ease:r});return(0,F.jsx)(`span`,{ref:s,className:B(`pui-stat`,a),...o,children:i(c)})});xs.displayName=`StatCounter`;var Ss=(0,P.forwardRef)(({icon:e,iconNode:t,title:n,subtitle:r,className:i,...a},o)=>(0,F.jsxs)(`a`,{ref:o,className:B(`pui-community`,i),...a,children:[t??(e&&(0,F.jsx)(`img`,{className:`pui-community__icon`,src:e,alt:``})),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`pui-community__top`,children:n}),(0,F.jsx)(`div`,{className:`pui-community__bottom`,children:r})]})]}));Ss.displayName=`CommunityBadge`;var Cs=(0,P.forwardRef)(({featured:e,className:t,...n},r)=>(0,F.jsx)(`article`,{ref:r,className:B(`pui-price`,e&&`pui-price--featured`,t),...n}));Cs.displayName=`PricingCard`;var ws=(0,P.forwardRef)(({hideSparkle:e,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:B(`pui-price__flag`,t),...r,children:[!e&&(0,F.jsx)(yo,{solid:!0}),(0,F.jsx)(`span`,{children:n})]}));ws.displayName=`PricingCard.Flag`;var Ts=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`div`,{ref:n,className:B(`pui-price__tier`,e),...t}));Ts.displayName=`PricingCard.Tier`;var Es=(0,P.forwardRef)(({unit:e,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:B(`pui-price__amount`,t),...r,children:[n,e&&(0,F.jsx)(`span`,{className:`pui-price__amount-unit`,children:e})]}));Es.displayName=`PricingCard.Amount`;var Ds=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`p`,{ref:n,className:B(`pui-price__blurb`,e),...t}));Ds.displayName=`PricingCard.Blurb`;var Os=(0,P.forwardRef)(({className:e,...t},n)=>(0,F.jsx)(`ul`,{ref:n,className:B(`pui-price__features`,e),...t}));Os.displayName=`PricingCard.Features`;var ks=(0,P.forwardRef)(({className:e,children:t,...n},r)=>(0,F.jsx)(`a`,{ref:r,className:B(`pui-btn pui-btn--glow pui-btn--block`,e),...n,children:(0,F.jsx)(`span`,{children:t})}));ks.displayName=`PricingCard.CTA`,Object.assign(Cs,{Flag:ws,Tier:Ts,Amount:Es,Blurb:Ds,Features:Os,CTA:ks});var As=(0,P.forwardRef)(({before:e,after:t,brand:n,beforeLabel:r=`Before`,afterLabel:i=`After`,className:a,children:o,...s},c)=>(0,F.jsx)(`div`,{ref:c,className:B(`pui-ba`,a),...s,children:o??(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(js,{label:r,children:(0,F.jsx)(`ul`,{children:(e??[]).map((e,t)=>(0,F.jsx)(`li`,{children:e},t))})}),(0,F.jsx)(Ns,{brand:n}),(0,F.jsx)(Ms,{label:i,children:(0,F.jsx)(`ul`,{children:(t??[]).map((e,t)=>(0,F.jsx)(`li`,{children:e},t))})})]})}));As.displayName=`BeforeAfter`;var js=(0,P.forwardRef)(({label:e=`Before`,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:B(`pui-ba__panel pui-ba__panel--before`,t),...r,children:[(0,F.jsx)(`div`,{className:`pui-ba__tag`,children:e}),n]}));js.displayName=`BeforeAfter.Before`;var Ms=(0,P.forwardRef)(({label:e=`After`,className:t,children:n,...r},i)=>(0,F.jsxs)(`div`,{ref:i,className:B(`pui-ba__panel pui-ba__panel--after`,t),...r,children:[(0,F.jsx)(`div`,{className:`pui-ba__tag`,children:e}),n]}));Ms.displayName=`BeforeAfter.After`;var Ns=(0,P.forwardRef)(({brand:e,className:t,...n},r)=>(0,F.jsxs)(`div`,{ref:r,className:B(`pui-ba__arrow`,t),...n,children:[(0,F.jsx)(yo,{}),e?(0,F.jsxs)(`span`,{children:[`with `,e]}):(0,F.jsx)(`span`,{children:`after`}),(0,F.jsx)(`span`,{children:`→`})]}));Ns.displayName=`BeforeAfter.Arrow`,Object.assign(As,{Before:js,After:Ms,Arrow:Ns});var Ps=(0,P.forwardRef)(({placeholder:e=`you@startup.ai`,defaultValue:t=``,ctaLabel:n=`Notify me`,leading:r,footnote:i,onSubmit:a,className:o,...s},c)=>{let[l,u]=(0,P.useState)(t);return(0,F.jsxs)(`div`,{className:B(`pui-waitlist-wrap`,o),children:[(0,F.jsxs)(`form`,{ref:c,className:`pui-waitlist`,onSubmit:e=>{e.preventDefault(),a?.(l)},...s,children:[r===!1?null:(0,F.jsx)(`span`,{className:`pui-waitlist__icon`,"aria-hidden":`true`,children:r??(0,F.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,width:`18`,height:`18`,children:[(0,F.jsx)(`rect`,{x:`3`,y:`5`,width:`18`,height:`14`,rx:`2`}),(0,F.jsx)(`path`,{d:`M3 7l9 6 9-6`})]})}),(0,F.jsx)(`input`,{className:`pui-waitlist__input`,type:`email`,placeholder:e,value:l,onChange:e=>u(e.target.value)}),(0,F.jsx)(To,{type:`submit`,variant:`solid`,children:n})]}),i&&(0,F.jsx)(`div`,{className:`pui-waitlist__footnote`,children:i})]})});Ps.displayName=`WaitlistForm`;function Fs({open:e,defaultOpen:t=!1,onOpenChange:n,timer:r=0,title:i,children:a,closeLabel:o=`Maybe later`,closeOnEscape:s=!1,closeOnBackdrop:c=!1,container:l,className:u}){let d=e!==void 0,[f,p]=(0,P.useState)(t),m=d?e:f,h=e=>{d||p(e),n?.(e)};if((0,P.useEffect)(()=>{if(r<=0||m)return;let e=setTimeout(()=>h(!0),r);return()=>clearTimeout(e)},[]),(0,P.useEffect)(()=>{if(!m||!s)return;let e=e=>{e.key===`Escape`&&(e.preventDefault(),h(!1))};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[m,s]),(0,P.useEffect)(()=>{if(!m)return;let e=e=>{e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||[`[`,`]`,`j`,`k`,`ArrowLeft`,`ArrowRight`].includes(e.key)&&e.stopPropagation()};return document.addEventListener(`keydown`,e,{capture:!0}),()=>document.removeEventListener(`keydown`,e,{capture:!0})},[m]),(0,P.useEffect)(()=>{if(!m)return;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}},[m]),!m)return null;let g=l??(typeof document<`u`?document.body:null);return g?(0,Vn.createPortal)((0,F.jsxs)(`div`,{className:`pui-popover-overlay`,role:`dialog`,"aria-modal":`true`,children:[(0,F.jsx)(`div`,{className:`pui-popover-backdrop`,"aria-hidden":`true`,onClick:c?()=>h(!1):void 0}),(0,F.jsxs)(`div`,{className:B(`pui-popover`,u),children:[i&&(0,F.jsx)(`div`,{className:`pui-popover__title`,children:i}),(0,F.jsx)(`div`,{className:`pui-popover__body`,children:a}),o!==!1&&(0,F.jsx)(`button`,{type:`button`,className:`pui-popover__dismiss`,onClick:()=>h(!1),children:o})]})]}),g):null}Fs.displayName=`Popover`;var Is={primary:`wave`,secondary:`ghost`,danger:`ghost`,icon:`ghost`},Ls={sm:`sm`,md:`md`};function V({tone:e=`secondary`,size:t=`md`,loading:n=!1,block:r=!1,className:i,children:a,disabled:o,...s}){return(0,F.jsx)(To,{variant:Is[e],size:Ls[t],loading:n,block:r,className:[`admin-button`,`admin-button-${e}`,i].filter(Boolean).join(` `),disabled:o||n,...s,children:a})}var Rs={ok:`var(--ok)`,warn:`var(--warn)`,err:`var(--err)`,dim:`var(--text-3)`};function zs({status:e,pulse:t}){return(0,F.jsx)(xo,{color:Rs[e],static:!t,className:`admin-status-dot`})}function H({children:e,className:t,breathing:n=!1,glowOnHover:r=!1,...i}){return(0,F.jsx)(ts,{breathing:n,glowOnHover:r,className:[`admin-surface`,t].filter(Boolean).join(` `),...i,children:e})}function Bs({label:e=`Loading`,info:t,className:n}){return(0,F.jsx)(fs,{verbs:[e],glyphs:[`.`,`o`,`O`,`o`],glyphInterval:220,ellipsis:`...`,info:t,glyphColor:`var(--accent)`,className:[`admin-loading`,n].filter(Boolean).join(` `)})}function Vs({value:e,precision:t=0,durationMs:n=450,className:r,format:i}){let a=10**t,o=Math.round(e*a),s=(0,P.useRef)(o),c=s.current;return(0,P.useEffect)(()=>{s.current=o},[o]),(0,F.jsx)(xs,{target:o,from:c,durationMs:n,className:r,format:e=>{let t=e/a;return i?i(t):t.toLocaleString()}},o)}function Hs(){let e=ea(e=>e.login),[t,n]=(0,P.useState)(``),[r,i]=(0,P.useState)(!1);async function a(t){t.preventDefault();let r=t.currentTarget.elements.namedItem(`token`).value.trim();if(r){i(!0),n(``);try{if(!(await fetch(`/admin/api/metrics`,{headers:{Authorization:`Bearer ${r}`}})).ok)throw Error(`Invalid token`);e(r)}catch{n(`Invalid token`)}finally{i(!1)}}}return(0,F.jsxs)(`div`,{className:`login-overlay`,children:[(0,F.jsx)(qo,{density:24,speed:.16,linkDistance:110,hoverDistance:120,hoverGravity:.002,baseOpacity:.18,colors:[`#e8a030`,`#4caf6e`,`#5aa9e6`],linkColor:`#e8a030`,className:`login-node-bg`}),(0,F.jsxs)(H,{className:`login-card`,glowOnHover:!0,breathing:!0,children:[(0,F.jsxs)(`div`,{className:`login-title`,children:[(0,F.jsx)(`span`,{className:`prompt`,children:`>\xA0`}),`proxy admin`]}),(0,F.jsxs)(`form`,{onSubmit:a,children:[(0,F.jsx)(`input`,{type:`password`,name:`token`,placeholder:`Admin token`,autoComplete:`current-password`,autoFocus:!0}),(0,F.jsx)(V,{type:`submit`,tone:`primary`,loading:r,block:!0,children:`Sign in`})]}),(0,F.jsx)(`div`,{className:`login-error`,children:t})]})]})}var Us=[{label:`Overview`,items:[{to:`/dashboard`,label:`Dashboard`},{to:`/requests`,label:`Request Log`},{to:`/traffic`,label:`Traffic`}]},{label:`Configure`,items:[{to:`/providers`,label:`Providers`},{to:`/routes`,label:`Routes`},{to:`/models`,label:`Models`},{to:`/backends`,label:`Backends`}]},{label:`Access`,items:[{to:`/keys`,label:`API Keys`},{to:`/audit`,label:`Audit Log`}]},{label:`System`,items:[{to:`/settings`,label:`Settings`},{to:`/uptime`,label:`Uptime`}]}];function Ws(){let e=ea(e=>e.logout),t=ta(e=>e.status);return(0,F.jsxs)(`aside`,{className:`sidebar`,children:[(0,F.jsx)(`div`,{className:`sidebar-brand`,children:`anyllm`}),(0,F.jsx)(`div`,{className:`sidebar-scroll`,children:Us.map(e=>(0,F.jsxs)(`div`,{className:`sidebar-group`,children:[(0,F.jsx)(`div`,{className:`sidebar-group-label`,children:e.label}),e.items.map(e=>(0,F.jsx)(Li,{to:e.to,className:({isActive:e})=>`sidebar-item${e?` active`:``}`,children:e.label},e.to))]},e.label))}),(0,F.jsxs)(`div`,{className:`sidebar-footer`,children:[(0,F.jsx)(`span`,{className:`ws-status ${t===`connected`?`connected`:`disconnected`}`,children:t===`connected`?`Live`:`Offline`}),(0,F.jsx)(V,{size:`sm`,onClick:e,children:`Sign out`})]})]})}function Gs(){let e=pa(e=>e.toasts);return e.length===0?null:(0,F.jsx)(`div`,{className:`toast-stack`,role:`region`,"aria-label":`Notifications`,children:e.map(e=>(0,F.jsx)(Ks,{toast:e},e.id))})}function Ks({toast:e}){let t=pa(e=>e.dismiss);return(0,P.useEffect)(()=>{if(e.ttlMs==null)return;let n=window.setTimeout(()=>t(e.id),e.ttlMs);return()=>window.clearTimeout(n)},[e.id,e.ttlMs,t]),(0,F.jsxs)(`div`,{className:`toast toast-${e.variant}`,role:`status`,children:[(0,F.jsx)(`div`,{className:`toast-message`,children:e.message}),(0,F.jsx)(`button`,{type:`button`,className:`toast-close`,"aria-label":`Dismiss`,onClick:()=>t(e.id),children:`×`})]})}function qs({req:e}){return(0,F.jsxs)(`div`,{className:`feed-detail`,children:[(0,F.jsx)(`span`,{className:`label`,children:`Request ID`}),(0,F.jsx)(`span`,{className:`val`,children:e.request_id}),(0,F.jsx)(`span`,{className:`label`,children:`Backend`}),(0,F.jsx)(`span`,{className:`val`,children:e.backend}),(0,F.jsx)(`span`,{className:`label`,children:`Model (req)`}),(0,F.jsx)(`span`,{className:`val`,children:e.model_requested??`—`}),(0,F.jsx)(`span`,{className:`label`,children:`Model (mapped)`}),(0,F.jsx)(`span`,{className:`val`,children:e.model_mapped??`—`}),(0,F.jsx)(`span`,{className:`label`,children:`Latency`}),(0,F.jsxs)(`span`,{className:`val`,children:[e.latency_ms,` ms`]}),(0,F.jsx)(`span`,{className:`label`,children:`Tokens in/out`}),(0,F.jsxs)(`span`,{className:`val`,children:[e.input_tokens??`—`,` / `,e.output_tokens??`—`]}),(0,F.jsx)(`span`,{className:`label`,children:`Cost`}),(0,F.jsx)(`span`,{className:`val`,children:e.cost_usd==null?`—`:`$${e.cost_usd.toFixed(6)}`}),e.error_message&&(0,F.jsx)(`div`,{className:`error-msg`,children:e.error_message})]})}function Js(e){return e<300?`status-2xx`:e<500?`status-4xx`:`status-5xx`}function Ys({req:e}){let[t,n]=(0,P.useState)(!1);return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`feed-row`,onClick:()=>n(e=>!e),children:[(0,F.jsx)(`span`,{className:`mono dim`,children:e.timestamp.slice(11,19)}),(0,F.jsx)(`span`,{className:`mono ${Js(e.status_code)}`,children:e.status_code}),(0,F.jsxs)(`span`,{className:`mono`,children:[e.latency_ms,`ms`]}),(0,F.jsxs)(`span`,{className:`mono`,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:[e.model_requested??e.backend,e.is_streaming&&(0,F.jsx)(`span`,{className:`streaming-badge`,children:`stream`})]}),(0,F.jsx)(`span`,{className:`mono dim`,children:e.input_tokens??`—`}),(0,F.jsx)(`span`,{className:`mono dim`,children:e.output_tokens??`—`}),(0,F.jsx)(`span`,{className:`mono dim`,children:e.cost_usd==null?`—`:`$${e.cost_usd.toFixed(5)}`})]}),t&&(0,F.jsx)(qs,{req:e})]})}var Xs=200;function Zs({initial:e}){let[t,n]=(0,P.useState)(e??[]),[r,i]=(0,P.useState)(!1),a=(0,P.useRef)(r);a.current=r;let o=ta(e=>e.lastEvent);return(0,P.useEffect)(()=>{!o||o.type!==`request_completed`||a.current||n(e=>[o.data,...e].slice(0,Xs))},[o]),(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Live Feed`}),(0,F.jsx)(V,{size:`sm`,tone:r?`primary`:`secondary`,onClick:()=>i(e=>!e),children:r?`Resume`:`Pause`})]}),(0,F.jsxs)(`div`,{className:`feed`,children:[(0,F.jsxs)(`div`,{className:`feed-header`,children:[(0,F.jsx)(`span`,{children:`Time`}),(0,F.jsx)(`span`,{children:`Status`}),(0,F.jsx)(`span`,{children:`Latency`}),(0,F.jsx)(`span`,{children:`Model`}),(0,F.jsx)(`span`,{children:`In`}),(0,F.jsx)(`span`,{children:`Out`}),(0,F.jsx)(`span`,{children:`Cost`})]}),t.length===0?(0,F.jsx)(`div`,{className:`empty`,children:`Waiting for requests…`}):t.map(e=>(0,F.jsx)(Ys,{req:e},e.request_id))]})]})}function Qs({text:e}){return(0,F.jsx)(`span`,{className:`info-tip`,title:e,"aria-label":e,role:`img`,children:`?`})}function $s({series:e,gridColor:t=`var(--border-sub)`,height:n=130}){let r=n,i={top:8,right:8,bottom:0,left:0},a=600-i.left-i.right,o=r-i.top-i.bottom,s=e.flatMap(e=>e.data),c=Math.max(...s,1),l=Math.max(...e.map(e=>e.data.length),2);function u(e){return i.left+e/(l-1)*a}function d(e){return i.top+o-e/c*o}let f=Array.from({length:4},(e,t)=>i.top+t/3*o);return(0,F.jsxs)(`svg`,{className:`chart-svg`,viewBox:`0 0 600 ${r}`,preserveAspectRatio:`none`,style:{height:n},children:[f.map((e,n)=>(0,F.jsx)(`line`,{className:`chart-grid-line`,x1:i.left,y1:e,x2:600-i.right,y2:e,stroke:t},n)),e.map((e,t)=>{if(e.data.length<2)return null;let n=e.data.map((e,t)=>`${u(t)},${d(e)}`).join(` `);return(0,F.jsxs)(`g`,{children:[(0,F.jsx)(`polygon`,{className:`chart-area`,points:[`${u(0)},${i.top+o}`,...e.data.map((e,t)=>`${u(t)},${d(e)}`),`${u(e.data.length-1)},${i.top+o}`].join(` `),fill:e.color}),(0,F.jsx)(`polyline`,{className:`chart-line${e.secondary?` secondary`:``}`,points:n,stroke:e.color})]},t)})]})}function ec({loading:e,error:t,empty:n,message:r}){return e?(0,F.jsx)(`div`,{className:`empty`,children:(0,F.jsx)(Bs,{})}):t?(0,F.jsx)(`div`,{className:`empty error`,children:t}):n?(0,F.jsx)(`div`,{className:`empty`,children:r??`No data`}):null}function tc(){let[e,t]=(0,P.useState)(6),[n,r]=(0,P.useState)(``),{data:i}=Wa(),{data:a,isLoading:o,error:s}=Ra(e,n),c=a?[{label:`Requests`,color:`#e8a030`,data:a.series.map(e=>e.requests)},{label:`Errors`,color:`#e05252`,data:a.series.map(e=>e.errors),secondary:!0}]:[],l=a?[{label:`Input`,color:`#4caf6e`,data:a.series.map(e=>e.input_tokens)},{label:`Output`,color:`#6eb5c0`,data:a.series.map(e=>e.output_tokens),secondary:!0}]:[],u=a?[{label:`Cost`,color:`#c87dd4`,data:a.series.map(e=>e.cost_usd)}]:[];return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`operator-controls`,children:[(0,F.jsx)(`span`,{className:`section-label`,style:{marginBottom:0},children:`Operator View`}),(0,F.jsxs)(`div`,{className:`form-row`,style:{flexWrap:`wrap`,gap:6,marginTop:0},children:[(0,F.jsxs)(`select`,{value:e,onChange:e=>t(Number(e.target.value)),children:[(0,F.jsx)(`option`,{value:1,children:`Last 1 hour`}),(0,F.jsx)(`option`,{value:6,children:`Last 6 hours`}),(0,F.jsx)(`option`,{value:24,children:`Last 24 hours`})]}),(0,F.jsxs)(`select`,{value:n,onChange:e=>r(e.target.value),children:[(0,F.jsx)(`option`,{value:``,children:`All backends`}),i?.map(e=>(0,F.jsx)(`option`,{value:e.name,children:e.name},e.name))]})]})]}),a&&(0,F.jsxs)(`div`,{className:`stats-row`,children:[(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Input Tokens`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:a.total_input_tokens})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Output Tokens`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:a.total_output_tokens})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`Window Failures`,(0,F.jsx)(Qs,{text:`Failed (error) requests within the selected time window and backend filter.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:a.total_errors})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`Window Cost`,(0,F.jsx)(Qs,{text:`Estimated USD spend within the selected time window and backend filter, from model pricing.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:a.total_cost_usd,precision:2,format:e=>`$${e.toFixed(2)}`})})]})]}),(0,F.jsx)(ec,{loading:o,error:s?.message}),a&&(0,F.jsxs)(`div`,{className:`operator-grid`,children:[(0,F.jsxs)(H,{className:`chart-card`,children:[(0,F.jsxs)(`div`,{className:`chart-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Request Volume`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`Rolling request count and errors`})]}),(0,F.jsx)(`div`,{className:`chart-value`,children:a.total_requests})]}),(0,F.jsx)($s,{series:c})]}),(0,F.jsxs)(H,{className:`chart-card`,children:[(0,F.jsxs)(`div`,{className:`chart-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Tokens`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`Input and output usage`})]}),(0,F.jsx)(`div`,{className:`chart-value`,children:(a.total_input_tokens+a.total_output_tokens).toLocaleString()})]}),(0,F.jsx)($s,{series:l})]}),(0,F.jsxs)(H,{className:`chart-card`,children:[(0,F.jsxs)(`div`,{className:`chart-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Estimated Cost`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`USD by minute bucket`})]}),(0,F.jsxs)(`div`,{className:`chart-value`,children:[`$`,a.total_cost_usd.toFixed(4)]})]}),(0,F.jsx)($s,{series:u})]})]})]})}function nc(){let{data:e}=La();return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`stats-row`,children:[(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Requests/min`}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(Vs,{value:e.requests_per_minute,precision:1,format:e=>e.toFixed(1)}):`—`})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Error Rate`}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(Vs,{value:e.error_rate*100,precision:1,format:e=>`${e.toFixed(1)}%`}):`—`})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`P50 Latency`,(0,F.jsx)(Qs,{text:`Median response latency — half of requests were faster than this.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(Vs,{value:e.p50_latency_ms??0,format:e=>`${Math.round(e)}ms`}):`—`})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsxs)(`div`,{className:`stat-label`,children:[`P95 Latency`,(0,F.jsx)(Qs,{text:`95th-percentile latency — 95% of requests were faster than this. Captures tail slowness.`})]}),(0,F.jsx)(`div`,{className:`stat-value`,children:e?(0,F.jsx)(Vs,{value:e.p95_latency_ms??0,format:e=>`${Math.round(e)}ms`}):`—`})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Total Requests`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:e?.total_requests??0})})]})]}),(0,F.jsxs)(`div`,{className:`stats-row`,style:{marginBottom:16},children:[(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Streams Started`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:e?.streams_started??0})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Completed`}),(0,F.jsx)(`div`,{className:`stat-value ok`,children:(0,F.jsx)(Vs,{value:e?.streams_completed??0})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Failed`}),(0,F.jsx)(`div`,{className:`stat-value`,style:{color:`var(--err)`},children:(0,F.jsx)(Vs,{value:e?.streams_failed??0})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Client Disconnects`}),(0,F.jsx)(`div`,{className:`stat-value`,style:{color:`var(--warn)`},children:(0,F.jsx)(Vs,{value:e?.streams_client_disconnected??0})})]})]}),(e?.pxpipe_compressed_total??0)>0&&(0,F.jsxs)(`div`,{className:`stats-row`,style:{marginBottom:16},children:[(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Image-Compressed Requests`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:e?.pxpipe_compressed_total??0})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Images Emitted`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:e?.pxpipe_images_total??0})})]}),(0,F.jsxs)(H,{className:`stat`,children:[(0,F.jsx)(`div`,{className:`stat-label`,children:`Chars Imaged`}),(0,F.jsx)(`div`,{className:`stat-value`,children:(0,F.jsx)(Vs,{value:e?.pxpipe_imaged_chars_total??0})})]})]}),(0,F.jsx)(tc,{}),(0,F.jsx)(`div`,{style:{marginTop:16},children:(0,F.jsx)(Zs,{})})]})}function rc({page:e,hasMore:t,onPrev:n,onNext:r}){return(0,F.jsxs)(`div`,{className:`pagination`,children:[(0,F.jsx)(V,{size:`sm`,onClick:n,disabled:e<=1,children:`Prev`}),(0,F.jsxs)(`span`,{children:[`Page `,e]}),(0,F.jsx)(V,{size:`sm`,onClick:r,disabled:!t,children:`Next`})]})}function ic({query:e,children:t,empty:n,loading:r,errorTitle:i=`Failed to load`,skeletonRows:a=3}){return e.isLoading&&e.data===void 0?(0,F.jsx)(F.Fragment,{children:r??(0,F.jsx)(ac,{count:a})}):e.isError?(0,F.jsxs)(`div`,{className:`async-error`,role:`alert`,children:[(0,F.jsx)(`div`,{className:`async-error-title`,children:i}),(0,F.jsx)(`div`,{className:`async-error-message`,children:e.error instanceof Error?e.error.message:String(e.error)}),(0,F.jsx)(V,{type:`button`,onClick:()=>{e.refetch()},disabled:e.isFetching,loading:e.isFetching,children:`Retry`})]}):e.data===void 0?null:n&&n.when(e.data)?(0,F.jsx)(F.Fragment,{children:n.render()}):(0,F.jsx)(F.Fragment,{children:t(e.data)})}function ac({count:e}){return(0,F.jsx)(`div`,{className:`skeleton-stack`,"aria-hidden":`true`,children:Array.from({length:e},(e,t)=>(0,F.jsx)(`div`,{className:`skeleton skeleton-row`},t))})}function oc(){let[e,t]=Vi(),n=Math.max(1,Number(e.get(`page`)??`1`)||1),r=e.get(`backend`)??``,i=e.get(`status`)??``;function a(n,r,i){let a=new URLSearchParams(e);r?a.set(n,r):a.delete(n),i?.resetPage&&a.delete(`page`),t(a,{replace:!0})}function o(r){let i=new URLSearchParams(e),a=r(n);a<=1?i.delete(`page`):i.set(`page`,String(a)),t(i,{replace:!0})}let s=za({page:n,page_size:50,backend:r,status:i}),{data:c}=Wa();return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Request Log`}),(0,F.jsxs)(`div`,{className:`form-row`,style:{marginTop:0},children:[(0,F.jsxs)(`select`,{name:`requestlog-backend`,value:r,onChange:e=>a(`backend`,e.target.value,{resetPage:!0}),children:[(0,F.jsx)(`option`,{value:``,children:`All backends`}),c?.map(e=>(0,F.jsx)(`option`,{value:e.name,children:e.name},e.name))]}),(0,F.jsxs)(`select`,{name:`requestlog-status`,value:i,onChange:e=>a(`status`,e.target.value,{resetPage:!0}),children:[(0,F.jsx)(`option`,{value:``,children:`All status`}),(0,F.jsx)(`option`,{value:`ok`,children:`2xx`}),(0,F.jsx)(`option`,{value:`error`,children:`4xx/5xx`})]})]})]}),(0,F.jsx)(ic,{query:s,errorTitle:`Failed to load request log`,empty:{when:e=>e.requests.length===0&&n===1,render:()=>(0,F.jsxs)(`div`,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No requests logged`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Send a request through the proxy and it will appear here. Only proxied traffic is logged; admin API calls are in the Audit tab.`})]})},children:e=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`feed`,children:[(0,F.jsxs)(`div`,{className:`feed-header`,children:[(0,F.jsx)(`span`,{children:`Time`}),(0,F.jsx)(`span`,{children:`Status`}),(0,F.jsx)(`span`,{children:`Latency`}),(0,F.jsx)(`span`,{children:`Model`}),(0,F.jsx)(`span`,{children:`In`}),(0,F.jsx)(`span`,{children:`Out`}),(0,F.jsx)(`span`,{children:`Cost`})]}),e.requests.map(e=>(0,F.jsx)(Ys,{req:e},e.request_id))]}),(0,F.jsx)(rc,{page:n,hasMore:e.has_more,onPrev:()=>o(e=>Math.max(1,e-1)),onNext:()=>o(e=>e+1)})]})})]})}var sc=[`a[href]`,`button:not([disabled])`,`textarea:not([disabled])`,`input:not([disabled])`,`select:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`,`);function cc({open:e,onClose:t,title:n,size:r=`md`,children:i,footer:a,dismissable:o=!0}){let s=(0,P.useRef)(null),c=(0,P.useRef)(null);return(0,P.useEffect)(()=>{if(!e)return;c.current=document.activeElement??null;let t=s.current;return t&&(t.querySelector(sc)??t).focus(),()=>{c.current?.focus?.()}},[e]),(0,P.useEffect)(()=>{if(!e)return;let t=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=t}},[e]),(0,P.useEffect)(()=>{if(!e)return;let n=e=>{if(e.key===`Escape`&&o){e.stopPropagation(),t();return}if(e.key!==`Tab`)return;let n=s.current;if(!n)return;let r=Array.from(n.querySelectorAll(sc)).filter(e=>!e.hasAttribute(`data-focus-skip`));if(r.length===0){e.preventDefault();return}let i=r[0],a=r[r.length-1],c=document.activeElement;e.shiftKey&&c===i?(e.preventDefault(),a.focus()):!e.shiftKey&&c===a&&(e.preventDefault(),i.focus())};return document.addEventListener(`keydown`,n),()=>document.removeEventListener(`keydown`,n)},[e,o,t]),e?(0,Vn.createPortal)((0,F.jsx)(`div`,{className:`modal-backdrop-v2`,onClick:()=>{o&&t()},children:(0,F.jsxs)(`div`,{ref:s,className:`modal-v2 modal-${r}`,role:`dialog`,"aria-modal":`true`,"aria-label":n,tabIndex:-1,onClick:e=>e.stopPropagation(),children:[(0,F.jsxs)(`div`,{className:`modal-header`,children:[(0,F.jsx)(`div`,{className:`modal-title`,children:n}),(0,F.jsx)(`button`,{type:`button`,className:`modal-close`,"aria-label":`Close`,onClick:t,disabled:!o,children:`×`})]}),(0,F.jsx)(`div`,{className:`modal-body`,children:i}),a!=null&&(0,F.jsx)(`div`,{className:`modal-footer`,children:a})]})}),document.body):null}function lc({open:e,onClose:t,onConfirm:n,title:r,message:i,confirmLabel:a=`Delete`,cancelLabel:o=`Cancel`,variant:s=`danger`}){let[c,l]=(0,P.useState)(!1),[u,d]=(0,P.useState)(null),f=async()=>{l(!0),d(null);try{await n(),t()}catch(e){d(e instanceof Error?e.message:String(e))}finally{l(!1)}},p=()=>{c||(d(null),t())};return(0,F.jsxs)(cc,{open:e,onClose:p,title:r,size:`sm`,dismissable:!c,footer:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(V,{type:`button`,onClick:p,disabled:c,children:o}),(0,F.jsx)(V,{type:`button`,tone:s===`danger`?`danger`:`primary`,onClick:f,disabled:c,loading:c,children:a})]}),children:[(0,F.jsx)(`div`,{className:`confirm-message`,children:i}),u&&(0,F.jsx)(`div`,{className:`confirm-error`,role:`alert`,children:u})]})}var uc=`env_import_pending_restart`;function dc(){return sessionStorage.getItem(uc)===`1`}function fc({configured:e=!0}){let{data:t,isLoading:n,error:r}=Ga(),{data:i}=Ja(),{data:a}=Ia(),o=Ka(),s=qa(),c=no(),l=(0,P.useRef)(null),[u,d]=(0,P.useState)({}),[f,p]=(0,P.useState)(null),[m,h]=(0,P.useState)(null),[g,_]=(0,P.useState)(null),[v,y]=(0,P.useState)(dc),[b,x]=(0,P.useState)(null);function S(){if(!b)return Promise.resolve();let e=b;return s.mutateAsync(e).then(()=>void 0)}function C(e,t){o.mutate({[e]:u[e]??t})}function w(e,t){o.mutate({[e]:t})}function T(){return(t?.pxpipe_models??``).split(`,`).map(e=>e.trim()).filter(Boolean)}function E(e){let t=e.toLowerCase();return T().some(e=>t.includes(e.toLowerCase()))}function D(e,t){let n=T(),r=t?E(e)?n:[...n,e]:n.filter(t=>!e.toLowerCase().includes(t.toLowerCase()));o.mutate({pxpipe_models:r.join(`,`)})}function O(e){let t=e.target.files?.[0];t&&(p(null),h(null),c.mutate(t,{onSuccess(e){p(e),sessionStorage.setItem(uc,`1`),y(!0)},onError(e){try{let t=JSON.parse(e.message);if(t.hard_errors){h(t);return}}catch{}h({hard_errors:[e.message],warnings:[]})}}),l.current&&(l.current.value=``))}async function ee(){_(null);try{await vo()}catch(e){_(e instanceof Error?e.message:String(e))}}function te(){sessionStorage.removeItem(uc),y(!1)}let ne=a?`http://${window.location.hostname}:${a.proxy_port}`:``;return(0,F.jsxs)(`div`,{children:[a&&(0,F.jsxs)(`div`,{className:`proxy-status-badge`,style:{marginBottom:16,fontSize:13,display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`span`,{style:{color:a.proxy_running?`var(--ok, green)`:`var(--warn, orange)`},children:a.proxy_running?`●`:`○`}),a.proxy_running?(0,F.jsxs)(`span`,{children:[`Proxy running — `,(0,F.jsx)(`span`,{className:`mono`,children:ne})]}):(0,F.jsxs)(`span`,{children:[`Proxy unreachable on `,(0,F.jsx)(`span`,{className:`mono`,children:ne})]})]}),!e&&(0,F.jsxs)(`div`,{style:{marginBottom:20,padding:`12px 16px`,border:`1px solid var(--border)`,borderLeft:`3px solid var(--warn)`,borderRadius:`var(--r)`,fontSize:13},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:8},children:`No backend configured — nothing to forward requests to.`}),(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[`Add a backend on the `,(0,F.jsx)(`span`,{className:`mono`,children:`Backends`}),` tab, or configure one via env. The proxy needs a backend endpoint (where to forward) and a listen port (where to accept). LISTEN_PORT defaults to 3000. Create a `,(0,F.jsx)(`span`,{className:`mono`,children:`.anyllm.env`}),` and import it below, or pass it at startup: `,(0,F.jsx)(`span`,{className:`mono`,children:`anyllm-proxy --webui --env-file .anyllm.env`})]}),(0,F.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr 1fr`,gap:10},children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4,fontSize:12},children:`OpenAI`}),(0,F.jsx)(`pre`,{style:{margin:0,padding:`6px 10px`,background:`var(--surface-2)`,borderRadius:`var(--r)`,fontSize:11,overflowX:`auto`},children:`OPENAI_API_KEY=sk-... PROXY_API_KEYS=my-key`})]}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4,fontSize:12},children:`Ollama / local LLM`}),(0,F.jsx)(`pre`,{style:{margin:0,padding:`6px 10px`,background:`var(--surface-2)`,borderRadius:`var(--r)`,fontSize:11,overflowX:`auto`},children:`OPENAI_BASE_URL=http://localhost:11434/v1 PROXY_OPEN_RELAY=true`})]}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4,fontSize:12},children:`OpenRouter / custom`}),(0,F.jsx)(`pre`,{style:{margin:0,padding:`6px 10px`,background:`var(--surface-2)`,borderRadius:`var(--r)`,fontSize:11,overflowX:`auto`},children:`OPENAI_BASE_URL=https://openrouter.ai/api/v1 OPENAI_API_KEY=sk-or-... -PROXY_API_KEYS=my-key`})]})]})]}),v&&(0,F.jsxs)(W,{className:`settings-restart-banner`,children:[(0,F.jsx)(`span`,{children:`Restart the proxy for imported env vars to take effect.`}),(0,F.jsx)(U,{size:`sm`,onClick:te,children:`Dismiss`})]}),(0,F.jsxs)(`div`,{style:{marginBottom:24},children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:8},children:`Env File`}),(0,F.jsxs)(`div`,{style:{display:`flex`,gap:8,alignItems:`center`},children:[(0,F.jsx)(`input`,{ref:l,type:`file`,accept:`.env,.anyllm.env,text/plain`,style:{display:`none`},onChange:O}),(0,F.jsx)(U,{size:`sm`,onClick:()=>l.current?.click(),disabled:c.isPending,loading:c.isPending,children:`Import .anyllm.env`}),(0,F.jsx)(U,{size:`sm`,onClick:ee,children:`Export .anyllm.env`})]}),f&&(0,F.jsxs)(`div`,{style:{marginTop:10},children:[(0,F.jsxs)(`div`,{className:`dim`,style:{marginBottom:4},children:[f.applied,` variable`,f.applied===1?``:`s`,` imported.`,f.warnings.length===0&&` No issues.`]}),f.warnings.length>0&&(0,F.jsxs)(`div`,{style:{marginTop:8,padding:`8px 12px`,background:`var(--warn-dim)`,borderLeft:`3px solid var(--warn)`,borderRadius:`var(--r)`,fontSize:12},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4},children:`Warnings`}),f.warnings.map((e,t)=>(0,F.jsxs)(`div`,{className:`mono`,style:{fontSize:12},children:[e.line!=null&&(0,F.jsxs)(`span`,{className:`dim`,children:[`[line `,e.line,`] `]}),e.key&&(0,F.jsxs)(`span`,{children:[e.key,`: `]}),e.message]},t))]})]}),m&&(0,F.jsxs)(`div`,{style:{marginTop:10,padding:`8px 12px`,background:`var(--err-dim)`,borderLeft:`3px solid var(--err)`,borderRadius:`var(--r)`,fontSize:12},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4},children:`Import rejected`}),m.hard_errors.map((e,t)=>(0,F.jsx)(`div`,{className:`mono`,style:{fontSize:12},children:e},t)),m.warnings.length>0&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginTop:8,marginBottom:4},children:`Warnings (from partial parse)`}),m.warnings.map((e,t)=>(0,F.jsxs)(`div`,{className:`mono`,style:{fontSize:12},children:[e.line!=null&&(0,F.jsxs)(`span`,{className:`dim`,children:[`[line `,e.line,`] `]}),e.message]},t))]})]}),g&&(0,F.jsxs)(`div`,{style:{marginTop:10,padding:`8px 12px`,background:`var(--err-dim)`,borderLeft:`3px solid var(--err)`,borderRadius:`var(--r)`,fontSize:12},children:[`Export failed: `,g]})]}),(0,F.jsx)(Qs,{loading:n,error:r?.message}),t&&(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:8},children:`Runtime`}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-redact-secrets`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-redact-secrets`,type:`checkbox`,checked:t.redact_secrets,disabled:o.isPending,onChange:e=>w(`redact_secrets`,e.target.checked)}),`Redact secrets`]}),t.overridden_keys.includes(`redact_secrets`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`redact_secrets`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-log-bodies`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-log-bodies`,type:`checkbox`,checked:t.log_bodies,disabled:o.isPending,onChange:e=>w(`log_bodies`,e.target.checked)}),`Log bodies`]}),t.overridden_keys.includes(`log_bodies`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`log_bodies`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-thinking-repair`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-thinking-repair`,type:`checkbox`,checked:t.anthropic_thinking_repair,disabled:o.isPending,onChange:e=>w(`anthropic_thinking_repair`,e.target.checked)}),`Anthropic thinking-block repair`]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Repairs corrupted thinking/redacted_thinking blocks in Anthropic passthrough requests (applies to any backend running in BACKEND=anthropic passthrough mode, including a named backend in a multi-backend config). Off by default.`}),t.overridden_keys.includes(`anthropic_thinking_repair`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`anthropic_thinking_repair`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-pxpipe-compress`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-pxpipe-compress`,type:`checkbox`,checked:t.pxpipe_compress,disabled:o.isPending,onChange:e=>w(`pxpipe_compress`,e.target.checked)}),`Image context compression (pxpipe)`]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Renders the stable system + tool-definition slab of Anthropic passthrough requests to a PNG image block to save input tokens on vision models. Off by default. Enable per-model below — only models that read imaged text reliably are offered.`}),t.overridden_keys.includes(`pxpipe_compress`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`pxpipe_compress`),children:`Reset`})}),t.pxpipe_compress&&(0,F.jsxs)(`div`,{style:{marginTop:8},children:[(0,F.jsx)(`div`,{className:`form-label`,style:{fontSize:13},children:`Models in scope (vision-capable)`}),t.pxpipe_available_models.length===0?(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`No vision-capable models in the catalog.`}):(0,F.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:`4px 16px`},children:t.pxpipe_available_models.map(e=>(0,F.jsxs)(`label`,{style:{display:`flex`,alignItems:`center`,gap:6,fontSize:12},children:[(0,F.jsx)(`input`,{type:`checkbox`,checked:E(e),disabled:o.isPending,onChange:t=>D(e,t.target.checked)}),e]},e))}),t.overridden_keys.includes(`pxpipe_models`)&&(0,F.jsx)(`div`,{className:`form-row`,style:{marginTop:6},children:(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`pxpipe_models`),children:`Reset scope`})})]})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-forward-client-auth`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-forward-client-auth`,type:`checkbox`,checked:t.forward_client_auth,disabled:o.isPending,onChange:e=>w(`forward_client_auth`,e.target.checked)}),`Forward client credential (Anthropic passthrough)`]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Forwards the client's own x-api-key/Authorization header upstream instead of the operator's configured credential (BACKEND=anthropic passthrough only, single-key/BYOK deployments). The proxy refuses to enable this with 2+ PROXY_API_KEYS entries and no PROXY_OPEN_RELAY. Off by default.`}),t.overridden_keys.includes(`forward_client_auth`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`forward_client_auth`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`cfg-tool-guardrail-mode`,children:`Tool guardrail mode`}),(0,F.jsxs)(`div`,{className:`form-row`,children:[(0,F.jsxs)(`select`,{id:`cfg-tool-guardrail-mode`,value:t.tool_guardrail_mode,disabled:o.isPending,onChange:e=>o.mutate({tool_guardrail_mode:e.target.value}),children:[(0,F.jsx)(`option`,{value:`disabled`,children:`Disabled`}),(0,F.jsx)(`option`,{value:`standard`,children:`Standard`})]}),t.overridden_keys.includes(`tool_guardrail_mode`)&&(0,F.jsx)(U,{size:`sm`,onClick:()=>x(`tool_guardrail_mode`),children:`Reset`})]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Applies advisory guardrails to tool calls the proxy auto-executes. Disabled by default.`})]}),t.entries.filter(e=>![`redact_secrets`,`log_bodies`,`anthropic_thinking_repair`,`pxpipe_compress`,`pxpipe_models`,`forward_client_auth`,`tool_guardrail_mode`].includes(e.key)).map(e=>{let t=`cfg-${e.key}`;return(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:t,children:e.key}),(0,F.jsxs)(`div`,{className:`form-row`,children:[(0,F.jsx)(`input`,{id:t,name:e.key,value:u[e.key]??e.value,onChange:t=>d(n=>({...n,[e.key]:t.target.value}))}),(0,F.jsx)(U,{tone:`primary`,size:`sm`,onClick:()=>C(e.key,e.value),children:`Save`}),(0,F.jsx)(U,{size:`sm`,onClick:()=>x(e.key),children:`Reset`})]})]},e.key)})]}),i&&(0,F.jsxs)(`div`,{className:`readonly-section`,style:{marginTop:16},children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Environment`}),(0,F.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`220px 1fr`,gap:`4px 12px`,marginTop:8,fontSize:12},children:Object.entries(i).map(([e,t])=>(0,F.jsxs)(P.Fragment,{children:[(0,F.jsx)(`span`,{className:`dim`,children:e}),(0,F.jsx)(`span`,{className:`mono`,children:t})]},e))})]}),(0,F.jsx)(sc,{open:b!==null,onClose:()=>x(null),onConfirm:S,title:`Reset override?`,message:(0,F.jsxs)(F.Fragment,{children:[`Reset override for `,(0,F.jsx)(`span`,{className:`mono`,children:b}),`? The runtime value will revert to the env-file or default. Active connections are not affected.`]}),confirmLabel:`Reset`,variant:`primary`})]})}function dc({variant:e}){return(0,F.jsx)(`span`,{className:`badge badge-${e}`,children:e})}function fc({spent:e,limit:t}){if(!t)return(0,F.jsx)(`span`,{className:`dim`,children:`—`});let n=Math.min(e/t*100,100),r=n>=95?`danger`:n>=80?`warn`:``;return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`budget-bar`,children:(0,F.jsx)(`div`,{className:`budget-bar-fill${r?` ${r}`:``}`,style:{width:`${n}%`}})}),(0,F.jsxs)(`span`,{className:`dim`,style:{fontSize:10},children:[`$`,e.toFixed(4),` / $`,t.toFixed(2)]})]})}function pc(e){let t=e.trim();return t?Number(t):null}function mc(e){return{description:e.description.trim()||null,max_budget_usd:pc(e.spendLimit),rpm_limit:pc(e.rpmLimit)}}function hc({onCreated:e}){let t=za(),[n,r]=(0,P.useState)(``),[i,a]=(0,P.useState)(``),[o,s]=(0,P.useState)(``);function c(){t.mutate(mc({description:n,spendLimit:i,rpmLimit:o}),{onSuccess:t=>{r(``),a(``),s(``),e(t.key)}})}return(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`div`,{className:`form-label`,children:`Create Key`}),(0,F.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),c()},children:[(0,F.jsxs)(`div`,{className:`form-row`,style:{flexWrap:`wrap`},children:[(0,F.jsx)(`input`,{name:`description`,placeholder:`Description`,value:n,onChange:e=>r(e.target.value)}),(0,F.jsx)(`input`,{name:`max_budget_usd`,placeholder:`Spend limit USD`,type:`number`,value:i,onChange:e=>a(e.target.value),style:{width:160}}),(0,F.jsx)(`input`,{name:`rpm_limit`,placeholder:`RPM limit`,type:`number`,value:o,onChange:e=>s(e.target.value),style:{width:100}}),(0,F.jsx)(U,{type:`submit`,tone:`primary`,loading:t.isPending,children:`Create`})]}),!i&&!o&&(0,F.jsx)(`div`,{className:`form-hint`,style:{color:`var(--warn)`,marginTop:6},children:`No limits set — this key will be unrestricted (unlimited spend and requests).`})]})]})}function gc({vk:e,onClose:t}){let n=Ba(),r=Va(),[i,a]=(0,P.useState)(e.description??``),[o,s]=(0,P.useState)(e.max_budget_usd?.toString()??``),[c,l]=(0,P.useState)(e.rpm_limit?.toString()??``),[u,d]=(0,P.useState)(new Set(e.allowed_routes??[])),[f,p]=(0,P.useState)(!1),{data:m}=co();function h(){n.mutate({id:e.id,body:{description:i||null,max_budget_usd:o?Number(o):null,rpm_limit:c?Number(c):null,allowed_routes:u.size>0?[...u]:null,expires_at:e.expires_at,tpm_limit:e.tpm_limit,budget_duration:e.budget_duration,allowed_models:e.allowed_models}},{onSuccess:t})}function g(){return r.mutateAsync(e.id)}return(0,P.useEffect)(()=>{r.isSuccess&&t()},[r.isSuccess]),(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(oc,{open:!0,onClose:t,title:`Edit Key — ${e.key_prefix}…`,dismissable:!n.isPending,footer:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(U,{tone:`danger`,onClick:()=>p(!0),disabled:n.isPending,style:{marginRight:`auto`},children:`Revoke`}),(0,F.jsx)(U,{onClick:t,disabled:n.isPending,children:`Cancel`}),(0,F.jsx)(U,{tone:`primary`,onClick:h,loading:n.isPending,children:`Save`})]}),children:[(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`vk-desc`,children:`Description`}),(0,F.jsx)(`input`,{id:`vk-desc`,name:`description`,value:i,onChange:e=>a(e.target.value),style:{width:`100%`}})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`vk-spend`,children:`Spend limit (USD)`}),(0,F.jsx)(`input`,{id:`vk-spend`,name:`spend_limit`,value:o,onChange:e=>s(e.target.value),type:`number`,min:`0`,step:`0.01`})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`vk-rpm`,children:`RPM limit`}),(0,F.jsx)(`input`,{id:`vk-rpm`,name:`rpm_limit`,value:c,onChange:e=>l(e.target.value),type:`number`,min:`0`})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`div`,{className:`form-label`,children:[`Allowed routes `,u.size===0&&(0,F.jsx)(`span`,{className:`hint`,children:`(all routes)`})]}),(0,F.jsxs)(`div`,{className:`route-scope-list`,children:[m?.routes.map(e=>(0,F.jsxs)(`label`,{className:`route-scope-item`,children:[(0,F.jsx)(`input`,{type:`checkbox`,name:`route-${e.id}`,checked:u.has(e.id),onChange:()=>{d(t=>{let n=new Set(t);return n.has(e.id)?n.delete(e.id):n.add(e.id),n})}}),(0,F.jsx)(`span`,{children:e.name})]},e.id)),!m?.routes.length&&(0,F.jsx)(`span`,{className:`hint`,children:`No routes configured`})]})]})]}),(0,F.jsx)(sc,{open:f,onClose:()=>p(!1),onConfirm:g,title:`Revoke key?`,message:(0,F.jsxs)(F.Fragment,{children:[`Revoking `,(0,F.jsxs)(`span`,{className:`mono`,children:[e.key_prefix,`…`]}),` will immediately reject any request using it. This cannot be undone.`]}),confirmLabel:`Revoke`})]})}async function _c(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}function vc(){let e=Ra(),[t,n]=Bi(),r=t.get(`q`)??``,i=t.get(`edit`),[a,o]=(0,P.useState)(null),[s,c]=(0,P.useState)(null);(0,P.useEffect)(()=>{if(!i||!e.data)return;let t=e.data.find(e=>String(e.id)===i);t&&c(t)},[i,e.data]);function l(){if(c(null),t.has(`edit`)){let e=new URLSearchParams(t);e.delete(`edit`),n(e,{replace:!0})}}function u(e){c(e);let r=new URLSearchParams(t);r.set(`edit`,String(e.id)),n(r,{replace:!0})}function d(e){let r=new URLSearchParams(t);e?r.set(`q`,e):r.delete(`q`),n(r,{replace:!0})}let f=r.trim().toLowerCase(),p=(0,P.useMemo)(()=>f?(e.data??[]).filter(e=>{let t=(e.description??``).toLowerCase(),n=e.key_prefix.toLowerCase();return t.includes(f)||n.includes(f)}):e.data??[],[e.data,f]);return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(hc,{onCreated:o}),a&&(0,F.jsxs)(`div`,{className:`key-result`,children:[(0,F.jsx)(`div`,{className:`key-result-label`,children:`New key (copy now — not shown again)`}),(0,F.jsxs)(`div`,{className:`key-result-value`,children:[(0,F.jsx)(`span`,{className:`mono`,children:a}),(0,F.jsxs)(`div`,{className:`key-result-actions`,children:[(0,F.jsx)(U,{size:`sm`,onClick:async()=>{pa(await _c(a)?{variant:`success`,message:`Key copied to clipboard`}:{variant:`error`,message:`Copy failed — select and copy manually`})},children:`Copy`}),(0,F.jsx)(`button`,{type:`button`,className:`key-result-dismiss`,"aria-label":`Dismiss`,onClick:()=>o(null),children:`×`})]})]})]}),(0,F.jsxs)(`div`,{className:`toolbar`,children:[(0,F.jsx)(`input`,{type:`search`,name:`keys-search`,placeholder:`Search by description or prefix…`,value:r,onChange:e=>d(e.target.value),className:`toolbar-search`}),e.data&&(0,F.jsxs)(`span`,{className:`dim toolbar-count`,children:[p.length,` of `,e.data.length]})]}),(0,F.jsx)(nc,{query:e,errorTitle:`Failed to load keys`,empty:{when:e=>e.length===0,render:()=>(0,F.jsxs)(`div`,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No virtual keys yet`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Use the form above to create one. Keys are shown once at creation and hashed in storage.`})]})},children:()=>p.length===0?(0,F.jsxs)(`div`,{className:`empty`,children:[`No keys match "`,r,`".`]}):(0,F.jsxs)(`table`,{className:`keys-grid`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Prefix`}),(0,F.jsx)(`th`,{children:`Description`}),(0,F.jsx)(`th`,{children:`Status`}),(0,F.jsx)(`th`,{children:`Spend`}),(0,F.jsx)(`th`,{children:`Requests`}),(0,F.jsx)(`th`,{children:`Created`})]})}),(0,F.jsx)(`tbody`,{children:p.map(e=>(0,F.jsxs)(`tr`,{style:{cursor:`pointer`},onClick:()=>u(e),children:[(0,F.jsxs)(`td`,{className:`mono`,children:[e.key_prefix,`…`]}),(0,F.jsx)(`td`,{className:`dim`,children:e.description??`—`}),(0,F.jsx)(`td`,{children:(0,F.jsx)(dc,{variant:e.status})}),(0,F.jsx)(`td`,{children:(0,F.jsx)(fc,{spent:e.period_spend_usd,limit:e.max_budget_usd})}),(0,F.jsx)(`td`,{className:`mono`,children:e.total_requests.toLocaleString()}),(0,F.jsx)(`td`,{className:`mono dim`,children:e.created_at.slice(0,10)})]},e.id))})]})}),s&&(0,F.jsx)(gc,{vk:s,onClose:l},s.id)]})}var yc={openrouter:{text:`Public, no key needed`,needsKey:!1},deepinfra:{text:`Public, no key needed`,needsKey:!1},ollama:{text:`No key needed (local)`,needsKey:!1},configured:{text:`API key required`,needsKey:!0},custom:{text:`API key may be required`,needsKey:!0}};function bc(){return(0,F.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 16 16`,fill:`none`,className:`key-icon-inline`,children:(0,F.jsx)(`path`,{d:`M10.5 1a4.5 4.5 0 0 0-4.1 6.35L2 11.75V15h3.25v-2H7v-1.75h1.75L9.65 10.4A4.5 4.5 0 1 0 10.5 1zm1 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2z`,fill:`currentColor`})})}function xc(){let e=qa(),t=Ja(),n=Ya(),r=Xa(),{data:i}=Ha(),{data:a}=io(),[o,s]=(0,P.useState)(``),[c,l]=(0,P.useState)(``),[u,d]=(0,P.useState)(``),[f,p]=(0,P.useState)(``),[m,h]=(0,P.useState)(`openrouter`),[g,_]=(0,P.useState)(``),[v,y]=(0,P.useState)(``),[b,x]=(0,P.useState)(null),S=yc[m]??yc.custom;function C(){r.mutate({source:m,...m===`custom`?{url:g}:{}})}function w(){t.mutate({model_name:o,actual_model:u,backend_name:f},{onSuccess:()=>{s(``),l(``),d(``),p(``)}})}function T(){return b?n.mutateAsync(b).then(()=>void 0):Promise.resolve()}let E=v.trim().toLowerCase(),D=(0,P.useMemo)(()=>{let t=e.data?.models??[];return E?t.filter(e=>e.model_name.toLowerCase().includes(E)):t},[e.data,E]);return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`models-discover`,children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Discover Models`}),(0,F.jsxs)(`div`,{className:`models-discover-row`,children:[(0,F.jsxs)(`select`,{value:m,onChange:e=>{h(e.target.value),r.reset()},children:[(0,F.jsx)(`option`,{value:`openrouter`,children:`OpenRouter`}),(0,F.jsx)(`option`,{value:`deepinfra`,children:`DeepInfra`}),(0,F.jsx)(`option`,{value:`ollama`,children:`Ollama (local)`}),(0,F.jsx)(`option`,{value:`configured`,children:`Configured backend`}),(0,F.jsx)(`option`,{value:`custom`,children:`Custom URL`})]}),m===`custom`&&(0,F.jsx)(`input`,{name:`discover-url`,placeholder:`https://api.example.com`,value:g,onChange:e=>_(e.target.value),style:{minWidth:220}}),(0,F.jsx)(U,{onClick:C,disabled:r.isPending||m===`custom`&&!g,loading:r.isPending,children:`Fetch`}),(0,F.jsxs)(`span`,{className:`dim models-discover-hint`,children:[S.needsKey&&(0,F.jsx)(bc,{}),S.text]})]}),r.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:r.error.message}),r.data&&r.data.models.length>0&&(0,F.jsxs)(`div`,{className:`models-discover-results`,children:[(0,F.jsxs)(`div`,{className:`dim models-discover-count`,children:[r.data.models.length,` model`,r.data.models.length===1?``:`s`,` found. Click to populate the form below.`]}),(0,F.jsx)(`div`,{className:`models-discover-list`,children:r.data.models.map(e=>(0,F.jsxs)(`div`,{onClick:()=>{if(d(e.id),!o||o===c){let t=e.name&&e.name!==e.id?e.name:e.id;s(t),l(t)}},className:`models-discover-item${u===e.id?` is-selected`:``}`,children:[(0,F.jsx)(`span`,{className:`mono`,children:e.id}),e.name&&e.name!==e.id&&(0,F.jsx)(`span`,{className:`dim models-discover-item-name`,children:e.name})]},e.id))})]}),r.data&&r.data.models.length===0&&(0,F.jsx)(`div`,{className:`dim models-discover-count`,children:`No models returned.`})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`div`,{className:`form-label`,children:`Add Model`}),(0,F.jsxs)(`div`,{className:`form-row`,style:{flexWrap:`wrap`},children:[(0,F.jsx)(`input`,{name:`model-name`,placeholder:`Virtual name`,value:o,onChange:e=>s(e.target.value)}),(0,F.jsx)(`input`,{name:`model-id`,placeholder:`Model ID`,value:u,onChange:e=>d(e.target.value)}),(0,F.jsxs)(`select`,{name:`backend`,value:f,onChange:e=>p(e.target.value),children:[(0,F.jsx)(`option`,{value:``,children:`Backend…`}),i?.map(e=>(0,F.jsx)(`option`,{value:e.name,children:e.name},e.name)),a?.backends.map(e=>(0,F.jsxs)(`option`,{value:e.name,children:[e.name,` (managed)`]},`managed-${e.name}`))]}),(0,F.jsx)(U,{tone:`primary`,onClick:w,disabled:!o||!u||!f||t.isPending,loading:t.isPending,children:`Add`})]}),t.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:t.error.message})]}),(0,F.jsxs)(`div`,{className:`toolbar`,children:[(0,F.jsx)(`input`,{type:`search`,name:`models-search`,placeholder:`Search models…`,value:v,onChange:e=>y(e.target.value),className:`toolbar-search`}),e.data&&(0,F.jsxs)(`span`,{className:`dim toolbar-count`,children:[D.length,` of `,e.data.models.length]})]}),(0,F.jsx)(nc,{query:e,errorTitle:`Failed to load models`,empty:{when:e=>(e.models?.length??0)===0,render:()=>(0,F.jsxs)(W,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No models configured`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Add a model above, or use Discover to pull a catalog from OpenRouter, DeepInfra, Ollama, or a custom endpoint.`})]})},children:e=>D.length===0?(0,F.jsxs)(`div`,{className:`empty`,children:[`No models match "`,v,`".`]}):(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Virtual Name`}),(0,F.jsx)(`th`,{children:`Deployments`}),(0,F.jsx)(`th`,{children:`Strategy`}),(0,F.jsx)(`th`,{})]})}),(0,F.jsx)(`tbody`,{children:D.map(t=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:t.model_name}),(0,F.jsx)(`td`,{className:`mono`,children:t.deployments}),(0,F.jsx)(`td`,{className:`dim`,children:e.strategy??`—`}),(0,F.jsx)(`td`,{children:(0,F.jsx)(U,{tone:`danger`,size:`sm`,onClick:()=>x(t.model_name),children:`Remove`})})]},t.model_name))})]})}),(0,F.jsx)(sc,{open:b!==null,onClose:()=>x(null),onConfirm:T,title:`Remove model?`,message:(0,F.jsxs)(F.Fragment,{children:[`Remove model `,(0,F.jsx)(`span`,{className:`mono`,children:b}),`? Requests using this virtual name will fail until another model with the same name is added.`]}),confirmLabel:`Remove`})]})}function Sc(){let[e,t]=Bi(),n=Math.max(1,Number(e.get(`page`)??`1`)||1);function r(r){let i=new URLSearchParams(e),a=r(n);a<=1?i.delete(`page`):i.set(`page`,String(a)),t(i,{replace:!0})}return(0,F.jsx)(`div`,{children:(0,F.jsx)(nc,{query:Za({page:n,page_size:50}),errorTitle:`Failed to load audit log`,empty:{when:e=>e.entries.length===0&&n===1,render:()=>(0,F.jsxs)(`div`,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No audit entries yet`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Admin actions (creating keys, editing routes, managing backends) are recorded here.`})]})},children:e=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Time`}),(0,F.jsx)(`th`,{children:`Action`}),(0,F.jsx)(`th`,{children:`Target`}),(0,F.jsx)(`th`,{children:`Detail`}),(0,F.jsx)(`th`,{children:`IP`})]})}),(0,F.jsx)(`tbody`,{children:e.entries.map(e=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono dim`,children:e.timestamp.slice(0,19)}),(0,F.jsx)(`td`,{className:`mono`,children:e.action}),(0,F.jsxs)(`td`,{className:`dim`,children:[e.target_type,e.target_id?` #${e.target_id}`:``]}),(0,F.jsx)(`td`,{className:`dim audit-detail`,children:e.detail??`—`}),(0,F.jsx)(`td`,{className:`mono dim`,children:e.source_ip??`—`})]},e.id))})]}),(0,F.jsx)(tc,{page:n,hasMore:e.has_more,onPrev:()=>r(e=>Math.max(1,e-1)),onNext:()=>r(e=>e+1)})]})})})}function Cc({routes:e}){let t=[...e].sort((e,t)=>t.requests_per_min-e.requests_per_min);return(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Route`}),(0,F.jsx)(`th`,{children:`Req/min`}),(0,F.jsx)(`th`,{children:`Error rate`}),(0,F.jsx)(`th`,{children:`Avg latency`}),(0,F.jsx)(`th`,{children:`P95 latency`}),(0,F.jsx)(`th`,{children:`Total`})]})}),(0,F.jsx)(`tbody`,{children:t.map(e=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:e.path}),(0,F.jsx)(`td`,{className:`mono`,children:e.requests_per_min.toFixed(2)}),(0,F.jsxs)(`td`,{className:`mono`,style:{color:e.error_rate>.05?`var(--err)`:e.error_rate>.01?`var(--warn)`:void 0},children:[(e.error_rate*100).toFixed(1),`%`]}),(0,F.jsxs)(`td`,{className:`mono`,children:[e.avg_latency_ms.toFixed(0),`ms`]}),(0,F.jsxs)(`td`,{className:`mono`,children:[e.p95_latency_ms,`ms`]}),(0,F.jsx)(`td`,{className:`mono`,children:e.total_requests.toLocaleString()})]},e.path))})]})}var wc=[`#e8a030`,`#d4922b`,`#c07820`,`#a86015`,`#8c500a`],Tc=[`#6eb5c0`,`#5aa0ab`,`#468b96`,`#327681`,`#1e616c`];function Ec(){let[e,t]=(0,P.useState)(6),{data:n,isLoading:r,error:i}=Qa(e),a=n?.routes??[],o=a.slice(0,5).map((e,t)=>{let r=(n?.series??[]).filter(t=>t.path===e.path).map(e=>e.requests);return{label:e.path,color:wc[t%wc.length],data:r}});return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Traffic`}),(0,F.jsxs)(`select`,{value:e,onChange:e=>t(Number(e.target.value)),children:[(0,F.jsx)(`option`,{value:1,children:`Last 1 hour`}),(0,F.jsx)(`option`,{value:6,children:`Last 6 hours`}),(0,F.jsx)(`option`,{value:24,children:`Last 24 hours`})]})]}),(0,F.jsx)(Qs,{loading:r,error:i?.message}),n&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Cc,{routes:n.routes}),(0,F.jsxs)(`div`,{className:`operator-grid`,style:{marginTop:16},children:[(0,F.jsxs)(W,{className:`chart-card`,children:[(0,F.jsx)(`div`,{className:`chart-header`,children:(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Requests / min by route`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`Stacked over time window`})]})}),a.length===0?(0,F.jsx)(`div`,{className:`empty`,children:`No routes`}):(0,F.jsx)(Zs,{series:o})]}),(0,F.jsxs)(W,{className:`chart-card`,children:[(0,F.jsx)(`div`,{className:`chart-header`,children:(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Avg latency per route`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`ms`})]})}),a.length===0?(0,F.jsx)(`div`,{className:`empty`,children:`No routes`}):(0,F.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8,paddingTop:8},children:a.slice(0,5).map((e,t)=>{let n=Math.max(...a.slice(0,5).map(e=>e.avg_latency_ms),1),r=e.avg_latency_ms/n*100;return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,fontSize:11,marginBottom:2},children:[(0,F.jsx)(`span`,{className:`mono dim`,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,maxWidth:`70%`},children:e.path}),(0,F.jsxs)(`span`,{className:`mono`,children:[e.avg_latency_ms.toFixed(0),`ms`]})]}),(0,F.jsx)(`div`,{style:{height:6,background:`var(--border)`,borderRadius:0},children:(0,F.jsx)(`div`,{style:{height:`100%`,width:`${r}%`,background:Tc[t%Tc.length],borderRadius:0}})})]},e.path)})})]})]})]})]})}function Dc(e){let t=Math.floor(Date.now()/1e3-e),n=Math.floor(t/86400),r=Math.floor(t%86400/3600),i=Math.floor(t%3600/60);return n>0?`${n}d ${r}h ${i}m`:r>0?`${r}h ${i}m`:`${i}m`}function Oc({proxy:e}){return(0,F.jsxs)(`div`,{className:`uptime-proxy`,children:[(0,F.jsxs)(`div`,{className:`uptime-proxy-stats`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Uptime (30d)`}),(0,F.jsxs)(`div`,{className:`uptime-pct`,children:[e.uptime_pct_30d.toFixed(2),`%`]})]}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Running`}),(0,F.jsx)(`div`,{className:`stat-value`,style:{fontSize:16},children:Dc(e.started_at)})]})]}),(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:4},children:`30-day history`}),(0,F.jsx)(`div`,{className:`history-bar`,children:e.history.map(e=>(0,F.jsx)(`div`,{className:`history-day ${e.status}`,title:`${e.date}: ${e.status}`},e.date))})]})}var kc=Ls;function Ac({b:e}){let t=e.status===`up`?`ok`:e.status===`down`?`err`:`dim`,n=e.last_checked_at?new Date(e.last_checked_at*1e3).toLocaleTimeString():`—`;return(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:e.name}),(0,F.jsxs)(`td`,{children:[(0,F.jsx)(kc,{status:t,pulse:e.status===`up`}),e.status]}),(0,F.jsxs)(`td`,{className:`mono`,children:[e.uptime_pct_30d.toFixed(2),`%`]}),(0,F.jsx)(`td`,{className:`mono dim`,children:n}),(0,F.jsx)(`td`,{className:`mono dim`,children:e.last_latency_ms==null?`—`:`${e.last_latency_ms}ms`}),(0,F.jsx)(`td`,{children:(0,F.jsx)(`div`,{className:`history-bar`,style:{height:12},children:e.history.map(e=>(0,F.jsx)(`div`,{className:`history-day ${e.status}`,title:`${e.date}: ${e.status}`},e.date))})})]})}function jc(){let{data:e,isLoading:t,error:n}=$a();return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(Qs,{loading:t,error:n?.message}),e&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Oc,{proxy:e.proxy}),(0,F.jsx)(`div`,{className:`section-label`,style:{marginTop:16,marginBottom:8},children:`Backend Availability`}),(0,F.jsxs)(`table`,{className:`backend-health-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Backend`}),(0,F.jsx)(`th`,{children:`Status`}),(0,F.jsx)(`th`,{children:`Uptime (30d)`}),(0,F.jsx)(`th`,{children:`Last checked`}),(0,F.jsx)(`th`,{children:`Latency`}),(0,F.jsx)(`th`,{children:`History`})]})}),(0,F.jsx)(`tbody`,{children:e.backends.slice().sort((e,t)=>e.name.localeCompare(t.name)).map(e=>(0,F.jsx)(Ac,{b:e},e.name))})]})]})]})}function Mc(e){let t=[],n=e.env_vars.length>0?e.env_vars[0]:null,{protocol:r,auth:i,default_base_url:a}=e;return r===`openai_compat`&&i===`bearer`?(t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`,...n?{hint:`or set ${n} env var`}:{}}),t.push({name:`api_base`,label:`API Base URL`,type:`url`,required:!a,group:`endpoint`,...a?{placeholder:a}:{}})):r===`openai_compat`&&i===`none`?(t.push({name:`api_base`,label:`API Base URL`,type:`url`,required:!a,group:`endpoint`,...a?{placeholder:a}:{}}),t.push({name:`api_key`,label:`API Key (optional)`,type:`password`,required:!1,group:`auth`,hint:`Only if your local server enforces a key`})):r===`azure_openai`&&i===`azure_api_key`?(t.push({name:`api_key`,label:`Azure API Key`,type:`password`,required:!0,group:`auth`}),t.push({name:`api_base`,label:`Endpoint URL`,type:`url`,required:!0,placeholder:`https://.openai.azure.com`,group:`endpoint`}),t.push({name:`deployment`,label:`Deployment Name`,type:`text`,required:!0,group:`endpoint`}),t.push({name:`api_version`,label:`API Version`,type:`text`,required:!0,placeholder:`2024-08-01-preview`,group:`endpoint`})):r===`vertex_ai`&&i===`google_api_key`?(t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`}),t.push({name:`project`,label:`GCP Project ID`,type:`text`,required:!0,group:`endpoint`}),t.push({name:`region`,label:`GCP Region`,type:`text`,required:!0,placeholder:`us-central1`,group:`endpoint`})):r===`bedrock_native`&&i===`aws_sigv4`?(t.push({name:`aws_access_key_id`,label:`AWS Access Key ID`,type:`text`,required:!0,group:`auth`}),t.push({name:`aws_secret_access_key`,label:`AWS Secret Access Key`,type:`password`,required:!0,group:`auth`}),t.push({name:`aws_session_token`,label:`AWS Session Token`,type:`password`,required:!1,group:`auth`}),t.push({name:`region`,label:`AWS Region`,type:`text`,required:!0,placeholder:`us-east-1`,group:`endpoint`})):(r===`gemini_openai`||r===`gemini_native`)&&i===`google_api_key`||r===`anthropic_native`&&i===`bearer`?t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`,...n?{hint:`or set ${n} env var`}:{}}):(i.includes(`bearer`)&&t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`}),(i===`none`||i.includes(`bearer`))&&t.push({name:`api_base`,label:`API Base URL`,type:`url`,required:!a,group:`endpoint`,...a?{placeholder:a}:{}}),i===`none`&&t.push({name:`api_key`,label:`API Key (optional)`,type:`password`,required:!1,group:`auth`,hint:`Only if your server enforces a key`})),t.push({name:`rpm`,label:`Rate Limit (req/min)`,type:`number`,required:!1,group:`limits`,hint:`Stored for reference; not enforced on managed backends`}),t.push({name:`tpm`,label:`Token Limit (tokens/min)`,type:`number`,required:!1,group:`limits`,hint:`Stored for reference; not enforced on managed backends`}),t}var Nc={openai:0,anthropic:0,gemini:0,vertex:0,azure:1,bedrock:1,mistral:1,groq:1,deepseek:1,xai:1,together_ai:2,openrouter:2,fireworks_ai:2,perplexity:2,cohere_chat:2,cerebras:2,sambanova:2,ollama:2,deepinfra:2,replicate:2,nvidia_nim:2},Pc={0:`Top providers`,1:`Popular`,2:`Notable`,3:`More providers`},Fc=new Set([`gemini`,`groq`,`openrouter`,`mistral`,`deepseek`,`cohere_chat`,`cohere`]);function Ic(e){let t=e.default_base_url??``;return/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(t)}function Lc(e,t){let n=[],r=[],i=[],a=new Map;for(let o of e)if(t.has(o.id))n.push(o);else if(Ic(o))r.push(o);else if(Fc.has(o.id))i.push(o);else{let e=Nc[o.id]??3;a.has(e)||a.set(e,[]),a.get(e).push(o)}let o=(e,t)=>e.display_name.localeCompare(t.display_name);n.sort(o),r.sort(o),i.sort(o);let s=[];n.length&&s.push({key:`favorites`,label:`Favorites`,top:!0,providers:n}),r.length&&s.push({key:`local`,label:`Local LLMs`,top:!1,providers:r}),i.length&&s.push({key:`free`,label:`Free`,top:!1,providers:i});for(let[e,t]of[...a.entries()].sort(([e],[t])=>e-t))t.sort(o),s.push({key:`tier-${e}`,label:Pc[e]??`Other`,top:!1,providers:t});return s}var Rc=function(e){return typeof window<`u`?matchMedia&&matchMedia(`(prefers-color-scheme: ${e})`):{matches:!1}},zc,Bc=(0,P.createContext)({appearance:`light`,setAppearance:function(){},isDarkMode:!1,themeMode:`light`,setThemeMode:function(){},browserPrefers:(zc=Rc(`dark`))!=null&&zc.matches?`dark`:`light`}),Vc=function(){return(0,P.useContext)(Bc)},Hc=(e,t)=>{if(t)return`row`;switch(e){case`horizontal`:return`row`;case`horizontal-reverse`:return`row-reverse`;case`vertical`:default:return`column`;case`vertical-reverse`:return`column-reverse`}},Uc=e=>{if(e)return[`space-between`,`space-around`,`space-evenly`].includes(e)},Wc=(e,t)=>Hc(e,t)===`row`,Gc=e=>typeof e==`number`?`${e}px`:e,Kc=(0,P.memo)(({visible:e,flex:t,gap:n,direction:r,horizontal:i,align:a,justify:o,distribution:s,height:c,width:l,allowShrink:u,padding:d,paddingInline:f,paddingBlock:p,prefixCls:m,as:h=`div`,className:g,style:_,children:v,wrap:y,ref:b,...x})=>{let S=o||s,C=Wc(r,i)&&!l&&Uc(S)?`100%`:Gc(l),w={...t===void 0?{}:{"--lobe-flex":String(t)},...r||i?{"--lobe-flex-direction":Hc(r,i)}:{},...y===void 0?{}:{"--lobe-flex-wrap":y},...S===void 0?{}:{"--lobe-flex-justify":S},...a===void 0?{}:{"--lobe-flex-align":a},...C===void 0?{}:{"--lobe-flex-width":C},...c===void 0?{}:{"--lobe-flex-height":Gc(c)},...d===void 0?{}:{"--lobe-flex-padding":Gc(d)},...f===void 0?{}:{"--lobe-flex-padding-inline":Gc(f)},...p===void 0?{}:{"--lobe-flex-padding-block":Gc(p)},...n===void 0?{}:{"--lobe-flex-gap":Gc(n)},...u?{minWidth:0}:{},..._},T=`lobe-flex`,E=[T,e===!1?`${T}--hidden`:void 0,m?`${m}-flex`:void 0,g].filter(Boolean).join(` `);return(0,F.jsx)(h,{ref:b,...x,className:E,style:w,children:v})}),qc=({children:e,ref:t,...n})=>(0,F.jsx)(Kc,{...n,align:`center`,justify:`center`,ref:t,children:e});function Jc(e){return Array.from(e.match(Yc)??[])}var Yc,Xc=o((()=>{Yc=/\p{Lu}?\p{Ll}+|[0-9]+|\p{Lu}+(?!\p{Ll})|\p{Emoji_Presentation}|\p{Extended_Pictographic}|\p{L}+/gu}));function Zc(e){return Jc(e).map(e=>e.toLowerCase()).join(`-`)}o((()=>{Xc()}))();var Qc=function(e){var t=(0,P.useId)(),n=`lobe-icons-${Zc(e)}-${t}`;return(0,P.useMemo)(function(){return{fill:`url(#${n})`,id:n}},[e])},$c=function(e,t){var n=(0,P.useId)();return(0,P.useMemo)(function(){return Array.from({length:t},function(t,r){var i=`lobe-icons-${Zc(e)}-${r}-${n}`;return{fill:`url(#${i})`,id:i}})},[e,t,n])},el=`Gemini`,tl=`#fff`,nl=`#fff`,rl=.8;function il(e){"@babel/helpers - typeof";return il=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},il(e)}var al=[`size`,`style`];function ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sl(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vl(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var yl=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=_l(e,al),a=dl($c(el,3),3),o=a[0],s=a[1],c=a[2];return(0,F.jsxs)(`svg`,sl(sl({height:n,style:sl({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:el}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:`#3186FF`}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:o.fill}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:s.fill}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:c.fill}),(0,F.jsxs)(`defs`,{children:[(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o.id,x1:`7`,x2:`11`,y1:`15.5`,y2:`12`,children:[(0,F.jsx)(`stop`,{stopColor:`#08B962`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#08B962`,stopOpacity:`0`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:s.id,x1:`8`,x2:`11.5`,y1:`5.5`,y2:`11`,children:[(0,F.jsx)(`stop`,{stopColor:`#F94543`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#F94543`,stopOpacity:`0`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:c.id,x1:`3.5`,x2:`17.5`,y1:`13.5`,y2:`12`,children:[(0,F.jsx)(`stop`,{stopColor:`#FABC12`}),(0,F.jsx)(`stop`,{offset:`.46`,stopColor:`#FABC12`,stopOpacity:`0`})]})]})]}))});function bl(e){"@babel/helpers - typeof";return bl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bl(e)}function xl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sl(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hl(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ul=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Vl(e,G);return(0,F.jsxs)(`svg`,q(q({fill:`currentColor`,fillRule:`evenodd`,height:n,style:q({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Ol}),(0,F.jsx)(`path`,{d:`M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z`})]}))});function Wl(e){"@babel/helpers - typeof";return Wl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Wl(e)}var Gl=[`type`];function Kl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ql(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ql(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var $l=(0,P.memo)(function(e){var t=e.type,n=t===void 0?`normal`:t,r=Zl(e,Gl);return(0,F.jsx)($,ql({Icon:Ul,"aria-label":Ol,background:(0,P.useMemo)(function(){switch(n){case`gpt3`:return Al;case`gpt4`:return jl;case`gpt5`:return Ml;case`o3`:case`o1`:return Nl;case`oss`:return Pl;case`platform`:return Fl;default:return Il}},[n]),color:Ll,iconMultiple:Rl},r))}),eu=`Qwen`,tu=`#615ced`,nu=`#fff`,ru=.75;function iu(e){"@babel/helpers - typeof";return iu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},iu(e)}var au=[`size`,`style`];function ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function su(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fu(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var pu=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=du(e,au);return(0,F.jsxs)(`svg`,su(su({fill:`currentColor`,fillRule:`evenodd`,height:n,style:su({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:eu}),(0,F.jsx)(`path`,{d:`M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z`})]}))});function mu(e){"@babel/helpers - typeof";return mu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},mu(e)}function hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Pu(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Fu=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Nu(e,Du);return(0,F.jsxs)(`svg`,ku(ku({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ku({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Su}),(0,F.jsx)(`path`,{d:`M6.47 17l-.367-1.189H2.718L2.35 17H0l3.398-9.789h2.026L8.864 17H6.47zm-2.052-6.993l-1.17 4.028H5.56l-1.142-4.028zm4.707-2.796h2.23V17h-2.23V7.211zM11.955 15c.1-.483.277-.946.524-1.37.214-.359.482-.68.795-.951.32-.273.658-.52 1.013-.741.28-.168.54-.33.781-.483.222-.14.433-.296.632-.468.172-.148.317-.325.428-.525.107-.199.16-.423.157-.65 0-.392-.104-.674-.313-.846a1.176 1.176 0 00-.775-.259 1.207 1.207 0 00-.863.329c-.231.219-.347.585-.347 1.098H11.8a3.387 3.387 0 01.224-1.245c.146-.377.371-.716.66-.993.306-.29.667-.514 1.06-.657A4.04 4.04 0 0115.183 7c.42-.002.84.057 1.244.175.376.107.73.287 1.04.531.305.246.55.562.714.923.185.419.275.875.265 1.335.005.39-.084.774-.259 1.12-.167.328-.38.63-.632.894-.246.259-.517.49-.808.693-.29.2-.554.37-.789.51-.326.224-.596.417-.809.58a3.872 3.872 0 00-.51.455 1.229 1.229 0 00-.265.434 1.633 1.633 0 00-.074.517h4.078V17h-6.606a9.24 9.24 0 01.183-2zM18.8 8.93a5.05 5.05 0 001.135-.105c.25-.049.484-.156.686-.314.163-.139.28-.324.34-.532.068-.25.1-.51.095-.77H23V17h-2.243v-6.475H18.8V8.93z`})]}))}),Iu=`Anthropic`,Lu=`#F1F0E8`,Ru=`#141413`,zu=.75;function Bu(e){"@babel/helpers - typeof";return Bu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Bu(e)}var Vu=[`size`,`style`];function Hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Uu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qu(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ju=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Ku(e,Vu);return(0,F.jsxs)(`svg`,Uu(Uu({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Uu({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Iu}),(0,F.jsx)(`path`,{d:`M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z`})]}))});function Yu(e){"@babel/helpers - typeof";return Yu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Yu(e)}function Xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hd(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var gd=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=md(e,cd);return(0,F.jsxs)(`svg`,ud(ud({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ud({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:rd}),(0,F.jsx)(`path`,{d:`M10.595 1.5a3.695 3.695 0 00-3.444 2.355L0 22.26h5.432l5.629-14.486h.002a.96.96 0 011.782 0h.75V4.835h-1.393L13.498 1.5h-2.902z`}),(0,F.jsx)(`path`,{d:`M7.151 3.855a3.695 3.695 0 013.26-2.35l-.002-.005H13.405c1.524 0 2.893.936 3.444 2.355L24 22.26h-5.525L11.54 4.413a2.528 2.528 0 00-4.609.006l.22-.564z`})]}))});function _d(e){"@babel/helpers - typeof";return _d=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_d(e)}function vd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yd(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Pd(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Fd=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Q(e,Od);return(0,F.jsxs)(`svg`,Ad(Ad({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Ad({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`AWS`}),(0,F.jsx)(`path`,{d:`M6.763 11.212c0 .296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183 0 .08-.048.16-.152.24l-.503.335a.383.383 0 01-.208.072c-.08 0-.16-.04-.239-.112a2.47 2.47 0 01-.287-.375 6.18 6.18 0 01-.248-.471c-.622.734-1.405 1.101-2.347 1.101-.67 0-1.205-.191-1.596-.574-.39-.384-.59-.894-.59-1.533 0-.678.24-1.23.726-1.644.487-.415 1.133-.623 1.955-.623.272 0 .551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28 0-.568.031-.863.103-.295.072-.583.16-.862.272a2.4 2.4 0 01-.28.104.488.488 0 01-.127.023c-.112 0-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597 0 01.224-.167 4.577 4.577 0 011.005-.36 4.84 4.84 0 011.246-.151c.95 0 1.644.216 2.091.647.44.43.662 1.085.662 1.963v2.586h.016zm-3.24 1.214c.263 0 .534-.048.822-.144a1.78 1.78 0 00.758-.51 1.27 1.27 0 00.272-.512c.047-.191.08-.423.08-.694v-.335a6.66 6.66 0 00-.735-.136 6.02 6.02 0 00-.75-.048c-.535 0-.926.104-1.19.32-.263.215-.39.518-.39.917 0 .375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144 0-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586 6.726a1.398 1.398 0 01-.072-.32c0-.128.064-.2.191-.2h.783c.151 0 .255.025.31.08.065.048.113.16.16.312l1.342 5.284 1.245-5.284c.04-.16.088-.264.151-.312a.549.549 0 01.32-.08h.638c.152 0 .256.025.32.08.063.048.12.16.151.312l1.261 5.348 1.381-5.348c.048-.16.104-.264.16-.312a.52.52 0 01.311-.08h.743c.127 0 .2.065.2.2 0 .04-.009.08-.017.128a1.137 1.137 0 01-.056.2l-1.923 6.17c-.048.16-.104.263-.168.311a.51.51 0 01-.303.08h-.687c-.15 0-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32L12.32 7.747l-1.23 5.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08l-.686.001zm10.256.215c-.415 0-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563 0 01-.048-.224v-.407c0-.167.064-.247.183-.247.048 0 .096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.32.064.63.096.95.096.502 0 .894-.088 1.165-.264a.86.86 0 00.415-.758.777.777 0 00-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902 1.902 0 01-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136 1.006-.136.175 0 .36.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69 0 01.24.2.43.43 0 01.071.263v.375c0 .168-.064.256-.184.256a.83.83 0 01-.303-.096 3.652 3.652 0 00-1.532-.311c-.455 0-.815.071-1.062.223-.248.152-.375.383-.375.71 0 .224.08.416.24.567.16.152.454.304.877.44l1.134.358c.574.184.99.44 1.237.767.247.327.367.702.367 1.117 0 .343-.072.655-.207.926a2.157 2.157 0 01-.583.703c-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167z`}),(0,F.jsx)(`path`,{d:`M.378 15.475c3.384 1.963 7.56 3.153 11.877 3.153 2.914 0 6.114-.607 9.06-1.852.44-.2.814.287.383.607-2.626 1.94-6.442 2.969-9.722 2.969-4.598 0-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351zm23.531-.2c.287.36-.08 2.826-1.485 4.007-.215.184-.423.088-.327-.151l.175-.439c.343-.88.802-2.198.52-2.555-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36 1.5-1.053 3.967-.75 4.254-.399z`,fill:`#F90`})]}))});function Id(e){"@babel/helpers - typeof";return Id=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Id(e)}function Ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rd(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function nf(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var rf=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=tf(e,Yd);return(0,F.jsxs)(`svg`,Zd(Zd({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Zd({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Wd}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0018.1 1H7.549A6.55 6.55 0 001 7.55c0 3.617 2.745 6.549 7.128 6.549z`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M9.912 18.61a4.387 4.387 0 012.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 01-5.105 5.104l-3.597-.001a4.386 4.386 0 01-4.386-4.387z`}),(0,F.jsx)(`path`,{d:`M4.776 14.962A3.775 3.775 0 001 18.738v.489a3.776 3.776 0 007.551 0v-.49a3.775 3.775 0 00-3.775-3.775z`})]}))});function af(e){"@babel/helpers - typeof";return af=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},af(e)}function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sf(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Tf(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ef=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=wf(e,vf);return(0,F.jsxs)(`svg`,bf(bf({fill:`currentColor`,fillRule:`evenodd`,height:n,style:bf({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:pf}),(0,F.jsx)(`path`,{d:`M21.821 9.894l-9.81 5.595L1.505 9.511 1 9.787v4.34l11.01 6.256 9.811-5.574v2.297l-9.81 5.596-10.506-5.979L1 17v.745L12.01 24 23 17.745v-4.34l-.505-.277-10.484 5.957-9.832-5.574v-2.298l9.832 5.574L23 10.532V6.255l-.547-.319-10.442 5.936-9.327-5.276 9.327-5.298 7.663 4.362.673-.383v-.532L12.011 0 1 6.255v.681l11.01 6.255 9.811-5.595z`})]}))});function Df(e){"@babel/helpers - typeof";return Df=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Df(e)}function Of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kf(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qf(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Jf=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Kf(e,Bf);return(0,F.jsxs)(`svg`,Hf(Hf({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Hf({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Ff}),(0,F.jsx)(`path`,{d:`M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z`})]}))});function Yf(e){"@babel/helpers - typeof";return Yf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Yf(e)}function Xf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zf(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var gp=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=mp(e,cp);return(0,F.jsxs)(`svg`,up(up({fill:`currentColor`,fillRule:`evenodd`,height:n,style:up({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:rp}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M14.8 5l-2.801 6.795L9.195 5H7.397l3.072 7.428a1.64 1.64 0 003.038.002L16.598 5H14.8zm1.196 10.352l5.124-5.244-.699-1.669-5.596 5.739a1.664 1.664 0 00-.343 1.807 1.642 1.642 0 001.516 1.012L16 17l8-.02-.699-1.669-7.303.041h-.002zM2.88 10.104l.699-1.669 5.596 5.739c.468.479.603 1.189.343 1.807a1.643 1.643 0 01-1.516 1.012l-8-.018-.002.002.699-1.669 7.303.042-5.122-5.246z`})]}))});function _p(e){"@babel/helpers - typeof";return _p=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_p(e)}function vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yp(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Lp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Rp=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Ip(e,Ap);return(0,F.jsxs)(`svg`,Mp(Mp({height:n,style:Mp({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Tp}),(0,F.jsx)(`path`,{d:`M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z`,fill:`#4285F4`}),(0,F.jsx)(`path`,{d:`M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z`,fill:`#34A853`}),(0,F.jsx)(`path`,{d:`M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z`,fill:`#FBBC05`}),(0,F.jsx)(`path`,{d:`M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z`,fill:`#EB4335`})]}))});function zp(e){"@babel/helpers - typeof";return zp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},zp(e)}function Bp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vp(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function im(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var am=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=rm(e,Zp);return(0,F.jsxs)(`svg`,$p($p({fill:`currentColor`,fillRule:`evenodd`,height:n,style:$p({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`IBM`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M24 16.333V17h-3.158v-.667H24zm-7.579 0V17h-3.158v-.667h3.158zm2.464 0L18.63 17l-.25-.667h.504zm-7.075 0a2.528 2.528 0 01-1.717.667h-5.04v-.667h6.757zm-7.389 0V17H0v-.667h4.421zm12-1.333v.667h-3.158V15h3.158zm2.958 0l-.246.667h-1L17.885 15h1.494zm-6.937 0c-.057.237-.148.46-.265.667H5.053V15h7.39zm-8.02 0v.667H0V15h4.421zM24 15v.667h-3.158V15H24zm-1.263-1.333v.666h-1.895v-.666h1.895zm-6.316 0v.666h-1.895v-.666h1.895zm3.453 0l-.248.666h-1.989l-.25-.666h2.487zm-7.52 0c.056.212.088.435.088.666h-2.337v-.666h2.249zm-4.143 0v.666H6.316v-.666H8.21zm-5.053 0v.666H1.263v-.666h1.895zm19.579-1.334V13h-1.895v-.667h1.895zm-6.316 0V13h-1.895v-.667h1.895zm3.948 0l-.247.667h-2.987l-.245-.667h3.48zm-8.792 0c.218.188.405.414.55.667H6.315v-.667h5.26zm-8.42 0V13H1.264v-.667h1.895zM18.456 11l.177.539.176-.539h3.929v.667h-1.895v-.613l-.215.613H16.63l-.209-.613v.613h-1.895V11h3.929zM3.158 11v.667H1.263V11h1.895zm8.968 0a2.555 2.555 0 01-.55.667h-5.26V11h5.81zm10.61-1.333v.666h-3.709l.224-.666h3.486zm-4.722 0l.224.666h-3.712v-.666h3.488zm-5.572 0c0 .23-.032.454-.088.666h-2.249v-.666h2.337zm-4.231 0v.666H6.316v-.666H8.21zm-5.053 0v.666H1.263v-.666h1.895zm14.419-1.334l.22.667h-4.534v-.667h4.314zm6.423 0V9h-4.536l.229-.667H24zm-11.823 0c.117.206.208.43.265.667h-7.39v-.667h7.125zm-7.756 0V9H0v-.667h4.421zM17.133 7l.224.667h-4.094V7h3.87zM24 7v.667h-4.089L20.13 7H24zM10.093 7c.662 0 1.264.253 1.717.667H5.053V7h5.04zM4.42 7v.667H0V7h4.421z`})]}))});function om(e){"@babel/helpers - typeof";return om=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},om(e)}function sm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cm(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Em(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Dm=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Tm(e,ym);return(0,F.jsxs)(`svg`,xm(xm({fill:`currentColor`,fillRule:`evenodd`,height:n,style:xm({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:mm}),(0,F.jsx)(`path`,{d:`M6.608 21.416a4.608 4.608 0 100-9.217 4.608 4.608 0 000 9.217zM20.894 2.015c.614 0 1.106.492 1.106 1.106v9.002c0 5.13-4.148 9.309-9.217 9.37v-9.355l-.03-9.032c0-.614.491-1.106 1.106-1.106h7.158l-.123.015z`})]}))});function Om(e){"@babel/helpers - typeof";return Om=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Om(e)}function km(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Am(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Jm(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ym=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=qm(e,Vm);return(0,F.jsxs)(`svg`,Um(Um({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Um({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Im}),(0,F.jsx)(`path`,{d:`M6.897 4c1.915 0 3.516.932 5.43 3.376l.282-.373c.19-.246.383-.484.58-.71l.313-.35C14.588 4.788 15.792 4 17.225 4c1.273 0 2.469.557 3.491 1.516l.218.213c1.73 1.765 2.917 4.71 3.053 8.026l.011.392.002.25c0 1.501-.28 2.759-.818 3.7l-.14.23-.108.153c-.301.42-.664.758-1.086 1.009l-.265.142-.087.04a3.493 3.493 0 01-.302.118 4.117 4.117 0 01-1.33.208c-.524 0-.996-.067-1.438-.215-.614-.204-1.163-.56-1.726-1.116l-.227-.235c-.753-.812-1.534-1.976-2.493-3.586l-1.43-2.41-.544-.895-1.766 3.13-.343.592C7.597 19.156 6.227 20 4.356 20c-1.21 0-2.205-.42-2.936-1.182l-.168-.184c-.484-.573-.837-1.311-1.043-2.189l-.067-.32a8.69 8.69 0 01-.136-1.288L0 14.468c.002-.745.06-1.49.174-2.23l.1-.573c.298-1.53.828-2.958 1.536-4.157l.209-.34c1.177-1.83 2.789-3.053 4.615-3.16L6.897 4zm-.033 2.615l-.201.01c-.83.083-1.606.673-2.252 1.577l-.138.199-.01.018c-.67 1.017-1.185 2.378-1.456 3.845l-.004.022a12.591 12.591 0 00-.207 2.254l.002.188c.004.18.017.36.04.54l.043.291c.092.503.257.908.486 1.208l.117.137c.303.323.698.492 1.17.492 1.1 0 1.796-.676 3.696-3.641l2.175-3.4.454-.701-.139-.198C9.11 7.3 8.084 6.616 6.864 6.616zm10.196-.552l-.176.007c-.635.048-1.223.359-1.82.933l-.196.198c-.439.462-.887 1.064-1.367 1.807l.266.398c.18.274.362.56.55.858l.293.475 1.396 2.335.695 1.114c.583.926 1.03 1.6 1.408 2.082l.213.262c.282.326.529.54.777.673l.102.05c.227.1.457.138.718.138.176.002.35-.023.518-.073.338-.104.61-.32.813-.637l.095-.163.077-.162c.194-.459.29-1.06.29-1.785l-.006-.449c-.08-2.871-.938-5.372-2.2-6.798l-.176-.189c-.67-.683-1.444-1.074-2.27-1.074z`})]}))});function Xm(e){"@babel/helpers - typeof";return Xm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Xm(e)}function Zm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qm(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var _h=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=hh(e,lh);return(0,F.jsxs)(`svg`,dh(dh({fill:`currentColor`,fillRule:`evenodd`,height:n,style:dh({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ih}),(0,F.jsx)(`path`,{d:`M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z`})]}))});function vh(e){"@babel/helpers - typeof";return vh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vh(e)}function yh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bh(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var zh=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Lh(e,jh);return(0,F.jsxs)(`svg`,Nh(Nh({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Nh({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Eh}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M3.428 3.4h3.429v3.428h3.429v3.429h-.002 3.431V6.828h3.427V3.4h3.43v13.714H24v3.429H13.714v-3.428h-3.428v-3.429h-3.43v3.428h3.43v3.429H0v-3.429h3.428V3.4zm10.286 13.715h3.428v-3.429h-3.427v3.429z`})]}))});function Bh(e){"@babel/helpers - typeof";return Bh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Bh(e)}function Vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hh(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function og(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var sg=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=ag(e,$h);return(0,F.jsxs)(`svg`,tg(tg({fill:`currentColor`,fillRule:`evenodd`,height:n,style:tg({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Jh}),(0,F.jsx)(`path`,{d:`M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z`})]}))});function cg(e){"@babel/helpers - typeof";return cg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},cg(e)}function lg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ug(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Og(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var kg=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Dg(e,xg);return(0,F.jsxs)(`svg`,Cg(Cg({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Cg({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:gg}),(0,F.jsx)(`path`,{d:`M7.941 2c.23 0 .452.073.638.21.186.136.325.328.397.55l.593 1.814c.073.221.212.413.397.55.186.136.409.21.638.21h2.791c.23 0 .452-.074.638-.21a1.11 1.11 0 00.397-.55l.594-1.815a1.11 1.11 0 01.397-.55c.185-.136.408-.209.637-.209h1.7c.23 0 .453.073.639.21.185.136.324.328.397.55l.652 1.994c.118.361.41.635.77.728l2.957.752c.236.06.446.199.596.394.15.195.23.436.231.684v9.376c0 .248-.081.488-.231.684a1.09 1.09 0 01-.595.394l-2.957.752a1.086 1.086 0 00-.477.263 1.114 1.114 0 00-.293.465l-.653 1.994a1.11 1.11 0 01-.396.55c-.186.136-.41.21-.638.21h-1.702c-.229 0-.452-.073-.637-.21a1.11 1.11 0 01-.397-.55l-.364-1.11a1.131 1.131 0 01.15-1.002 1.074 1.074 0 01.885-.462h2.85c.29 0 .567-.116.772-.325.204-.208.32-.49.32-.785V6.444c0-.294-.116-.577-.32-.785a1.08 1.08 0 00-.771-.326h-3.273c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v7.778c0 .295-.114.578-.319.786a1.08 1.08 0 01-.771.325h-2.182a1.08 1.08 0 01-.771-.325 1.122 1.122 0 01-.32-.786V6.444c0-.294-.115-.577-.32-.785a1.081 1.081 0 00-.77-.326H5.454c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v11.112c0 .294.116.577.32.785.205.209.482.326.772.326h2.85a1.075 1.075 0 01.885.461 1.122 1.122 0 01.15 1.001l-.364 1.112a1.11 1.11 0 01-.397.55c-.185.136-.408.209-.637.209H6.24c-.229 0-.452-.073-.638-.21a1.11 1.11 0 01-.397-.55l-.652-1.994a1.114 1.114 0 00-.294-.465 1.086 1.086 0 00-.477-.263l-2.956-.752a1.09 1.09 0 01-.595-.394A1.124 1.124 0 010 16.688V7.312c0-.248.081-.489.231-.684.15-.195.36-.334.595-.394l2.957-.753c.178-.045.342-.136.477-.263.134-.127.235-.287.293-.464l.653-1.995a1.11 1.11 0 01.397-.55C5.788 2.075 6.01 2 6.24 2h1.701z`})]}))});function Ag(e){"@babel/helpers - typeof";return Ag=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ag(e)}function jg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Mg(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Xg(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Zg=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Yg(e,Ug);return(0,F.jsxs)(`svg`,Gg(Gg({fill:`none`,height:n,style:Gg({flex:`none`,lineHeight:1},r),viewBox:`0 0 33 32`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Rg}),(0,F.jsx)(`path`,{d:`m17.865 23.28 1.533 1.543c.07.07.092.175.055.267l-2.398 6.118A1.24 1.24 0 0 1 15.9 32c-.51 0-.969-.315-1.155-.793l-3.451-8.804-5.582 5.617a.246.246 0 0 1-.35 0l-1.407-1.415a.25.25 0 0 1 0-.352l6.89-6.932a1.3 1.3 0 0 1 .834-.398 1.25 1.25 0 0 1 1.232.79l2.992 7.63 1.557-3.977a.248.248 0 0 1 .408-.085zm8.224-19.3-5.583 5.617-3.45-8.805a1.24 1.24 0 0 0-1.43-.762c-.414.092-.744.407-.899.805l-2.38 6.072a.25.25 0 0 0 .055.267l1.533 1.543c.127.127.34.082.407-.085L15.9 4.655l2.991 7.629a1.24 1.24 0 0 0 2.035.425l6.922-6.965a.25.25 0 0 0 0-.352L26.44 3.977a.246.246 0 0 0-.35 0zM8.578 17.566l-3.953-1.567 7.582-3.01c.49-.195.815-.685.785-1.24a1.3 1.3 0 0 0-.395-.84l-6.886-6.93a.246.246 0 0 0-.35 0L3.954 5.395a.25.25 0 0 0 0 .353l5.583 5.617-8.75 3.472a1.25 1.25 0 0 0 0 2.325l6.079 2.412a.24.24 0 0 0 .266-.055l1.533-1.542a.25.25 0 0 0-.085-.41zm22.434-2.73-6.08-2.412a.24.24 0 0 0-.265.055l-1.533 1.542a.25.25 0 0 0 .084.41L27.172 16l-7.583 3.01a1.255 1.255 0 0 0-.785 1.24c.018.317.172.614.395.84l6.89 6.931a.246.246 0 0 0 .35 0l1.406-1.415a.25.25 0 0 0 0-.352l-5.582-5.617 8.75-3.472a1.25 1.25 0 0 0 0-2.325z`,fill:`currentColor`})]}))});function Qg(e){"@babel/helpers - typeof";return Qg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Qg(e)}function $g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function e_(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function v_(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var y_=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=__(e,d_);return(0,F.jsxs)(`svg`,p_(p_({fill:`currentColor`,fillRule:`evenodd`,height:n,style:p_({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:o_}),(0,F.jsx)(`path`,{d:`M10.212 8.976V7.62c.127-.01.256-.017.388-.021 3.596-.117 5.957 3.184 5.957 3.184s-2.548 3.647-5.282 3.647a3.227 3.227 0 01-1.063-.175v-4.109c1.4.174 1.681.812 2.523 2.258l1.873-1.627a4.905 4.905 0 00-3.67-1.846 6.594 6.594 0 00-.729.044m0-4.476v2.025c.13-.01.259-.019.388-.024 5.002-.174 8.261 4.226 8.261 4.226s-3.743 4.69-7.643 4.69c-.338 0-.675-.031-1.007-.092v1.25c.278.038.558.057.838.057 3.629 0 6.253-1.91 8.794-4.169.421.347 2.146 1.193 2.501 1.564-2.416 2.083-8.048 3.763-11.24 3.763-.308 0-.603-.02-.894-.048V19.5H24v-15H10.21zm0 9.756v1.068c-3.356-.616-4.287-4.21-4.287-4.21a7.173 7.173 0 014.287-2.138v1.172h-.005a3.182 3.182 0 00-2.502 1.178s.615 2.276 2.507 2.931m-5.961-3.3c1.436-1.935 3.604-3.148 5.961-3.336V6.523C5.81 6.887 2 10.723 2 10.723s2.158 6.427 8.21 7.015v-1.166C5.77 16 4.25 10.958 4.25 10.958h-.002z`})]}))});function b_(e){"@babel/helpers - typeof";return b_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},b_(e)}function x_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function S_(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function B_(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var V_=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=z_(e,N_);return(0,F.jsxs)(`svg`,F_(F_({fill:`currentColor`,fillRule:`evenodd`,height:n,style:F_({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:O_}),(0,F.jsx)(`path`,{d:`M16.804 1.957l7.22 4.105v.087L16.73 10.21l.017-2.117-.821-.03c-1.059-.028-1.611.002-2.268.11-1.064.175-2.038.577-3.147 1.352L8.345 11.03c-.284.195-.495.336-.68.455l-.515.322-.397.234.385.23.53.338c.476.314 1.17.796 2.701 1.866 1.11.775 2.083 1.177 3.147 1.352l.3.045c.694.091 1.375.094 2.825.033l.022-2.159 7.22 4.105v.087L16.589 22l.014-1.862-.635.022c-1.386.042-2.137.002-3.138-.162-1.694-.28-3.26-.926-4.881-2.059l-2.158-1.5a21.997 21.997 0 00-.755-.498l-.467-.28a55.927 55.927 0 00-.76-.43C2.908 14.73.563 14.116 0 14.116V9.888l.14.004c.564-.007 2.91-.622 3.809-1.124l1.016-.58.438-.274c.428-.28 1.072-.726 2.686-1.853 1.621-1.133 3.186-1.78 4.881-2.059 1.152-.19 1.974-.213 3.814-.138l.02-1.907z`})]}))});function H_(e){"@babel/helpers - typeof";return H_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},H_(e)}function U_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W_(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function cv(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var lv=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=sv(e,tv);return(0,F.jsxs)(`svg`,rv(rv({height:n,style:rv({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:X_}),(0,F.jsx)(`path`,{d:`M12 22.926c.928 0 1.679-.752 1.679-1.68V6.696h-3.358v14.552c0 .927.751 1.679 1.679 1.679z`,fill:`#F9AB00`}),(0,F.jsx)(`path`,{d:`M18.69 12.005A5.819 5.819 0 0012 10.904l7.188 7.188c.296.296.807.179.933-.22a5.815 5.815 0 00-1.431-5.867z`,fill:`#5BB974`}),(0,F.jsx)(`path`,{d:`M5.31 12.005A5.819 5.819 0 0112 10.904l-7.188 7.188a.562.562 0 01-.933-.22 5.815 5.815 0 011.431-5.867z`,fill:`#129EAF`}),(0,F.jsx)(`path`,{d:`M18.157 6.426c-2.86 0-5.288 1.875-6.157 4.478h11.367a.629.629 0 00.565-.908c-1.08-2.12-3.26-3.57-5.775-3.57z`,fill:`#AF5CF7`}),(0,F.jsx)(`path`,{d:`M13.188 3.384c-2.023 2.024-2.414 5.064-1.188 7.52l8.038-8.039a.629.629 0 00-.242-1.042c-2.264-.735-4.83-.217-6.608 1.561z`,fill:`#FF8BCB`}),(0,F.jsx)(`path`,{d:`M10.812 3.384c2.023 2.024 2.414 5.064 1.188 7.52L3.962 2.865a.629.629 0 01.242-1.042c2.264-.735 4.83-.217 6.608 1.561z`,fill:`#FA7B17`}),(0,F.jsx)(`path`,{d:`M5.843 6.426c2.86 0 5.288 1.875 6.157 4.478H.633a.629.629 0 01-.565-.908c1.08-2.12 3.26-3.57 5.775-3.57z`,fill:`#4285F4`})]}))});function uv(e){"@babel/helpers - typeof";return uv=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},uv(e)}function dv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fv(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Av(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var jv=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=kv(e,Cv);return(0,F.jsxs)(`svg`,Tv(Tv({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Tv({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:vv}),(0,F.jsx)(`path`,{d:`M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z`})]}))});function Mv(e){"@babel/helpers - typeof";return Mv=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Mv(e)}function Nv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pv(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Qv(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var $v=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Zv(e,Gv);return(0,F.jsxs)(`svg`,qv(qv({fill:`currentColor`,fillRule:`evenodd`,height:n,style:qv({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Bv}),(0,F.jsx)(`path`,{d:`M11.615 0l6.237 6.107c2.382 2.338 2.823 3.743 3.161 6.15-1.197-1.732-1.776-2.02-4.504-2.772C12.48 8.374 11.095 5.933 11.615 0z`}),(0,F.jsx)(`path`,{d:`M9.32 2.122C4.771 6.367 2 9.182 2 13.08c0 5.76 4.288 9.788 9.745 9.918 5.457.13 9.441-5.284 9.095-8.403-.347-3.118-4.418-3.81-4.418-3.81 1.69 3.16-.13 8.098-4.894 8.098-5.154 0-6.8-6.02-4.2-9.008.82 1.617 1.879 2.563 2.674 3.273.717.64 1.219 1.09 1.136 1.664-.173 1.213-1.385.866-1.385.866.346.607 3.6 1.473 4.59-1.342.613-1.741-.423-2.789-1.714-4.096-1.632-1.651-3.672-3.717-3.31-8.118z`})]}))});function ey(e){"@babel/helpers - typeof";return ey=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ey(e)}function ty(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ny(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function by(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var xy=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=yy(e,py);return(0,F.jsxs)(`svg`,hy(hy({fill:`currentColor`,fillRule:`evenodd`,height:n,style:hy({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:cy}),(0,F.jsx)(`path`,{d:`M7.223 21c4.252 0 7.018-2.22 7.018-5.56 0-2.59-1.682-4.236-4.69-4.918l-1.93-.571c-1.694-.375-2.683-.825-2.45-1.975.194-.957.773-1.497 2.122-1.497 4.285 0 5.873 1.497 5.873 1.497v-3.6S11.62 3 7.293 3C3.213 3 1 5.07 1 8.273c0 2.59 1.534 4.097 4.645 4.812l.334.083c.473.144 1.112.335 1.916.572 1.59.375 1.999.773 1.999 1.966 0 1.09-1.15 1.71-2.67 1.71C2.841 17.416 1 15.231 1 15.231v3.989S2.152 21 7.223 21z`}),(0,F.jsx)(`path`,{d:`M20.374 20.73c1.505 0 2.626-1.073 2.626-2.526 0-1.484-1.089-2.526-2.626-2.526-1.505 0-2.594 1.042-2.594 2.526 0 1.484 1.089 2.526 2.594 2.526z`})]}))});function Sy(e){"@babel/helpers - typeof";return Sy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Sy(e)}function Cy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wy(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vy(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Hy=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=By(e,Py);return(0,F.jsxs)(`svg`,Iy(Iy({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Iy({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`V0`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M14.252 8.25h5.624c.088 0 .176.006.26.018l-5.87 5.87a1.889 1.889 0 01-.019-.265V8.25h-2.25v5.623a4.124 4.124 0 004.125 4.125h5.624v-2.25h-5.624c-.09 0-.179-.006-.265-.018l5.874-5.875a1.9 1.9 0 01.02.27v5.623H24v-5.624A4.124 4.124 0 0019.876 6h-5.624v2.25zM0 7.5v.006l7.686 9.788c.924 1.176 2.813.523 2.813-.973V7.5H8.25v6.87L2.856 7.5H0z`})]}))});function Uy(e){"@babel/helpers - typeof";return Uy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Uy(e)}function Wy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gy(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lb(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var ub=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=cb(e,nb);return(0,F.jsxs)(`svg`,ib(ib({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ib({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Zy}),(0,F.jsx)(`path`,{d:`M11.995 20.216a1.892 1.892 0 100 3.785 1.892 1.892 0 000-3.785zm0 2.806a.927.927 0 11.927-.914.914.914 0 01-.927.914z`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M21.687 14.144c.237.038.452.16.605.344a.978.978 0 01-.18 1.3l-8.24 6.082a1.892 1.892 0 00-1.147-1.508l8.28-6.08a.991.991 0 01.682-.138z`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M10.122 21.842l-8.217-6.066a.952.952 0 01-.206-1.287.978.978 0 011.287-.206l8.28 6.08a1.893 1.893 0 00-1.144 1.479z`}),(0,F.jsx)(`path`,{d:`M4.273 4.475a.978.978 0 01-.965-.965V1.09a.978.978 0 111.943 0v2.42a.978.978 0 01-.978.965zM4.247 13.034a.978.978 0 100-1.956.978.978 0 000 1.956zM4.247 10.19a.978.978 0 100-1.956.978.978 0 000 1.956zM4.247 7.332a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M19.718 7.307a.978.978 0 01-.965-.979v-2.42a.965.965 0 011.93 0v2.42a.964.964 0 01-.965.979zM19.743 13.047a.978.978 0 100-1.956.978.978 0 000 1.956zM19.743 10.151a.978.978 0 100-1.956.978.978 0 000 1.956zM19.743 2.068a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M11.995 15.917a.978.978 0 01-.965-.965v-2.459a.978.978 0 011.943 0v2.433a.976.976 0 01-.978.991zM11.995 18.762a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 10.64a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 7.783a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M15.856 10.177a.978.978 0 01-.965-.965v-2.42a.977.977 0 011.702-.763.979.979 0 01.241.763v2.42a.978.978 0 01-.978.965zM15.869 4.913a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 12.996a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M8.121 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 7.783a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 4.913a.978.978 0 100-1.957.978.978 0 000 1.957zM8.134 12.996a.978.978 0 01-.978-.94V9.611a.965.965 0 011.93 0v2.445a.966.966 0 01-.952.94z`})]}))});function db(e){"@babel/helpers - typeof";return db=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},db(e)}function fb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pb(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jb(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Mb=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Ab(e,wb);return(0,F.jsxs)(`svg`,Eb(Eb({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Eb({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:yb}),(0,F.jsx)(`path`,{d:`M5.407 0v.066a.974.974 0 00-.048.245c-.011.11-.016.208-.016.295 0 .339.043.715.128 1.13.097.405.274.912.531 1.524l7.125 16.366L20.011 3.39c.161-.404.333-.846.515-1.327.182-.48.273-.966.273-1.458a1.406 1.406 0 00-.096-.54V0H24v.066c-.204.207-.45.578-.74 1.114-.29.535-.606 1.195-.949 1.982L13.095 24h-1.287L3.075 3.965c-.204-.47-.418-.923-.644-1.36-.214-.437-.418-.83-.61-1.18-.194-.36-.365-.66-.515-.9A5.666 5.666 0 001 .064V0h4.407z`})]}))});function Nb(e){"@babel/helpers - typeof";return Nb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Nb(e)}function Pb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fb(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $b(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var ex=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Qb(e,Kb);return(0,F.jsxs)(`svg`,Jb(Jb({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Jb({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Vb}),(0,F.jsx)(`path`,{d:`M.958 15.936a.459.459 0 01.459.44v2.729a.46.46 0 01-.918 0v-2.729a.459.459 0 01.459-.44zm4.814-2.035a.46.46 0 01.553.45v4.754a.458.458 0 11-.918 0V15.48L3.74 17.202a.462.462 0 01-.655.016.462.462 0 01-.065-.082L.628 14.67a.459.459 0 01.658-.637l2.124 2.187 2.127-2.188a.46.46 0 01.235-.13zm2.068.004a.46.46 0 01.458.445v4.755a.46.46 0 01-.458.458.459.459 0 01-.458-.458V14.35a.459.459 0 01.458-.445zm1.973 2.014a.46.46 0 01.46.457v2.729a.46.46 0 01-.784.324.46.46 0 01-.134-.324v-2.729a.46.46 0 01.458-.458zm.002-2.045a.458.458 0 01.328.157l2.127 2.19 2.125-2.19a.459.459 0 01.784.318v4.756a.46.46 0 01-.455.458.46.46 0 01-.458-.458V15.48l-1.667 1.723a.46.46 0 01-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46 0 01-.008-.667.461.461 0 01.338-.128zm6.797 1.206a.46.46 0 01.53.651A1.966 1.966 0 0019.81 18.4a.462.462 0 01.623.18.46.46 0 01-.181.624 2.863 2.863 0 01-1.38.353l-.142-.004a2.88 2.88 0 01-2.393-4.263.461.461 0 01.274-.21zm.864-.931a2.884 2.884 0 013.915 3.914.46.46 0 01-.402.24l-.057-.004a.458.458 0 01-.164-.055.46.46 0 01-.182-.622 1.967 1.967 0 00-2.669-2.67.459.459 0 11-.441-.803zM9.59 6.368c1.481 0 1.696 1.202 1.696 1.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133 0-1.289-.03-1.384-1.136-.082-.932.675-1.61 2.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379 1.012-.567 1.764-.567zm4.427.1c1.263 0 2.082.97 2.083 2.15 0 1.181-.824 2.154-2.083 2.154-1.26 0-2.084-.972-2.084-2.152 0-1.18.82-2.153 2.084-2.153zm6.801.015c.68 0 1.202.465 1.197 1.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628 0-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22 1.22 0 01.947-.516c.398 0 .76.193.982.686a1.321 1.321 0 011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311 8.07l2.14 2.602H4.24L2.725 8.796 1.21 10.672H0L2.138 8.07.13 5.583h1.138l1.458 1.772zm4.149 3.317h-.916V6.644h.916v4.028zm16.99 0h-.916V6.644h.916v4.028zM9.925 8.71c-1.055 0-1.359.412-1.326.742.032.329.324.537.757.537a1.013 1.013 0 001.014-.968l.002-.31h-.447zM14.018 7.3c-.663 0-1.184.487-1.184 1.32 0 .832.52 1.32 1.184 1.32.662 0 1.182-.49 1.182-1.32 0-.832-.52-1.32-1.182-1.32zM6.417 5.001a.568.568 0 01.587.582.588.588 0 01-1.175 0A.57.57 0 016.417 5zm16.991 0a.57.57 0 01.592.582.588.588 0 01-1.174 0 .57.57 0 01.357-.542.572.572 0 01.225-.04z`})]}))});function tx(e){"@babel/helpers - typeof";return tx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tx(e)}function nx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rx(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Sx=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=bx(e,mx);return(0,F.jsxs)(`svg`,gx(gx({fill:`currentColor`,fillRule:`evenodd`,height:n,style:gx({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:lx}),(0,F.jsx)(`path`,{d:`M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z`})]}))});function Cx(e){"@babel/helpers - typeof";return Cx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Cx(e)}function wx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Tx(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ux(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Wx=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Hx(e,Ix);return(0,F.jsxs)(`svg`,Rx(Rx({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Rx({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:jx}),(0,F.jsx)(`path`,{d:`M2.373 4.301L1 7.663a4.608 4.608 0 012.602 2.602c.976 2.422-.18 5.169-2.566 6.145L2.41 19.77c2.096-.867 3.723-2.494 4.554-4.59A8.346 8.346 0 002.374 4.3zM5.916 21.072L8.084 24c1.049-.759 1.988-1.699 2.783-2.71l-2.819-2.242a11.324 11.324 0 01-2.132 2.024zM14.157 12.036c0-4.699-2.277-9.144-6.073-11.928L5.916 3.036c2.891 2.096 4.59 5.458 4.626 9.036A14.81 14.81 0 0016.578 24l2.133-2.928c-2.856-2.132-4.554-5.458-4.554-9.036zM18.82 2.964L16.722 0a14.601 14.601 0 00-2.964 2.82l2.82 2.24a11.256 11.256 0 012.24-2.096zM21.277 14.06c-1.12-2.421-.036-5.313 2.386-6.433l-1.518-3.29a8.457 8.457 0 00-4.193 4.265c-1.916 4.265 0 9.29 4.301 11.17l1.482-3.29a4.862 4.862 0 01-2.458-2.422z`})]}))});function Gx(e){"@babel/helpers - typeof";return Gx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Gx(e)}function Kx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qx(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var fS=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=uS(e,iS);return(0,F.jsxs)(`svg`,oS(oS({fill:`currentColor`,fillRule:`evenodd`,height:n,style:oS({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:$x}),(0,F.jsx)(`path`,{d:`M17.583 12.344L14.606 17.5H20.6c.22 0 .424-.117.535-.308l2.799-4.848h-6.351zM23.934 11.656l-2.799-4.848A.616.616 0 0020.6 6.5h-5.994l2.977 5.156h6.35zM8.653 6.5h5.953l-2.997-5.191A.616.616 0 0011.074 1H5.476l3.176 5.5zM4.881 1.343L2.083 6.191a.618.618 0 000 .617l2.997 5.191 2.976-5.156-3.175-5.5zM8.057 17.155L5.081 12l-2.998 5.192a.618.618 0 000 .617l2.798 4.848 3.175-5.5h.001zM5.476 23h5.598c.22 0 .424-.117.535-.308l2.997-5.192H8.653L5.477 23z`})]}))});function pS(e){"@babel/helpers - typeof";return pS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},pS(e)}function mS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hS(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var BS=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=RS(e,ES),a=MS($c(xS,3),3),o=a[0],s=a[1],c=a[2];return(0,F.jsxs)(`svg`,OS(OS({height:n,style:OS({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:xS}),(0,F.jsx)(`path`,{d:`M7.242 1.613A1.11 1.11 0 018.295.857h6.977L8.03 22.316a1.11 1.11 0 01-1.052.755h-5.43a1.11 1.11 0 01-1.053-1.466L7.242 1.613z`,fill:o.fill}),(0,F.jsx)(`path`,{d:`M18.397 15.296H7.4a.51.51 0 00-.347.882l7.066 6.595c.206.192.477.298.758.298h6.226l-2.706-7.775z`,fill:`#0078D4`}),(0,F.jsx)(`path`,{d:`M15.272.857H7.497L0 23.071h7.775l1.596-4.73 5.068 4.73h6.665l-2.707-7.775h-7.998L15.272.857z`,fill:s.fill}),(0,F.jsx)(`path`,{d:`M17.193 1.613a1.11 1.11 0 00-1.052-.756h-7.81.035c.477 0 .9.304 1.052.756l6.748 19.992a1.11 1.11 0 01-1.052 1.466h-.12 7.895a1.11 1.11 0 001.052-1.466L17.193 1.613z`,fill:c.fill}),(0,F.jsxs)(`defs`,{children:[(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o.id,x1:`8.247`,x2:`1.002`,y1:`1.626`,y2:`23.03`,children:[(0,F.jsx)(`stop`,{stopColor:`#114A8B`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#0669BC`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:s.id,x1:`14.042`,x2:`12.324`,y1:`15.302`,y2:`15.888`,children:[(0,F.jsx)(`stop`,{stopOpacity:`.3`}),(0,F.jsx)(`stop`,{offset:`.071`,stopOpacity:`.2`}),(0,F.jsx)(`stop`,{offset:`.321`,stopOpacity:`.1`}),(0,F.jsx)(`stop`,{offset:`.623`,stopOpacity:`.05`}),(0,F.jsx)(`stop`,{offset:`1`,stopOpacity:`0`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:c.id,x1:`12.841`,x2:`20.793`,y1:`1.626`,y2:`22.814`,children:[(0,F.jsx)(`stop`,{stopColor:`#3CCBF4`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#2892DF`})]})]})]}))});function VS(e){"@babel/helpers - typeof";return VS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VS(e)}function HS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function US(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var mC=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=fC(e,eC),a=oC($c(YS,3),3),o=a[0],s=a[1],c=a[2];return(0,F.jsxs)(`svg`,nC(nC({height:n,style:nC({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:YS}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M16.233 0c.713 0 1.345.551 1.572 1.329.227.778 1.555 5.59 1.555 5.59v9.562h-4.813L14.645 0h1.588z`,fill:o.fill,fillRule:`evenodd`}),(0,F.jsx)(`path`,{d:`M23.298 7.47c0-.34-.275-.6-.6-.6h-2.835a3.617 3.617 0 00-3.614 3.615v5.996h3.436a3.617 3.617 0 003.613-3.614V7.47z`,fill:s.fill}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M16.233 0a.982.982 0 00-.989.989l-.097 18.198A4.814 4.814 0 0110.334 24H1.6a.597.597 0 01-.567-.794l7-19.981A4.819 4.819 0 0112.57 0h3.679-.016z`,fill:c.fill,fillRule:`evenodd`}),(0,F.jsxs)(`defs`,{children:[(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o.id,x1:`18.242`,x2:`14.191`,y1:`16.837`,y2:`.616`,children:[(0,F.jsx)(`stop`,{stopColor:`#712575`}),(0,F.jsx)(`stop`,{offset:`.09`,stopColor:`#9A2884`}),(0,F.jsx)(`stop`,{offset:`.18`,stopColor:`#BF2C92`}),(0,F.jsx)(`stop`,{offset:`.27`,stopColor:`#DA2E9C`}),(0,F.jsx)(`stop`,{offset:`.34`,stopColor:`#EB30A2`}),(0,F.jsx)(`stop`,{offset:`.4`,stopColor:`#F131A5`}),(0,F.jsx)(`stop`,{offset:`.5`,stopColor:`#EC30A3`}),(0,F.jsx)(`stop`,{offset:`.61`,stopColor:`#DF2F9E`}),(0,F.jsx)(`stop`,{offset:`.72`,stopColor:`#C92D96`}),(0,F.jsx)(`stop`,{offset:`.83`,stopColor:`#AA2A8A`}),(0,F.jsx)(`stop`,{offset:`.95`,stopColor:`#83267C`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#712575`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:s.id,x1:`19.782`,x2:`19.782`,y1:`.34`,y2:`23.222`,children:[(0,F.jsx)(`stop`,{stopColor:`#DA7ED0`}),(0,F.jsx)(`stop`,{offset:`.08`,stopColor:`#B17BD5`}),(0,F.jsx)(`stop`,{offset:`.19`,stopColor:`#8778DB`}),(0,F.jsx)(`stop`,{offset:`.3`,stopColor:`#6276E1`}),(0,F.jsx)(`stop`,{offset:`.41`,stopColor:`#4574E5`}),(0,F.jsx)(`stop`,{offset:`.54`,stopColor:`#2E72E8`}),(0,F.jsx)(`stop`,{offset:`.67`,stopColor:`#1D71EB`}),(0,F.jsx)(`stop`,{offset:`.81`,stopColor:`#1471EC`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#1171ED`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:c.id,x1:`18.404`,x2:`3.236`,y1:`.859`,y2:`25.183`,children:[(0,F.jsx)(`stop`,{stopColor:`#DA7ED0`}),(0,F.jsx)(`stop`,{offset:`.05`,stopColor:`#B77BD4`}),(0,F.jsx)(`stop`,{offset:`.11`,stopColor:`#9079DA`}),(0,F.jsx)(`stop`,{offset:`.18`,stopColor:`#6E77DF`}),(0,F.jsx)(`stop`,{offset:`.25`,stopColor:`#5175E3`}),(0,F.jsx)(`stop`,{offset:`.33`,stopColor:`#3973E7`}),(0,F.jsx)(`stop`,{offset:`.42`,stopColor:`#2772E9`}),(0,F.jsx)(`stop`,{offset:`.54`,stopColor:`#1A71EB`}),(0,F.jsx)(`stop`,{offset:`.68`,stopColor:`#1371EC`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#1171ED`})]})]})]}))});function hC(e){"@babel/helpers - typeof";return hC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hC(e)}function gC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _C(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function FC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var IC=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=PC(e,OC);return(0,F.jsxs)(`svg`,AC(AC({fill:`currentColor`,fillRule:`evenodd`,height:n,style:AC({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:CC}),(0,F.jsx)(`path`,{d:`M8.859 11.735c1.017-1.71 4.059-3.083 6.202.286 1.579 2.284 4.284 4.397 4.284 4.397s2.027 1.601.73 4.684c-1.24 2.956-5.64 1.607-6.005 1.49l-.024-.009s-1.746-.568-3.776-.112c-2.026.458-3.773.286-3.773.286l-.045-.001c-.328-.01-2.38-.187-3.001-2.968-.675-3.028 2.365-4.687 2.592-4.968.226-.288 1.802-1.37 2.816-3.085zm.986 1.738v2.032h-1.64s-1.64.138-2.213 2.014c-.2 1.252.177 1.99.242 2.148.067.157.596 1.073 1.927 1.342h3.078v-7.514l-1.394-.022zm3.588 2.191l-1.44.024v3.956s.064.985 1.44 1.344h3.541v-5.3h-1.528v3.979h-1.46s-.466-.068-.553-.447v-3.556zM9.82 16.715v3.06H8.58s-.863-.045-1.126-1.049c-.136-.445.02-.959.088-1.16.063-.203.353-.671.951-.85H9.82zm9.525-9.036c2.086 0 2.646 2.06 2.646 2.742 0 .688.284 3.597-2.309 3.655-2.595.057-2.704-1.77-2.704-3.08 0-1.374.277-3.317 2.367-3.317zM4.24 6.08c1.523-.135 2.645 1.55 2.762 2.513.07.625.393 3.486-1.975 4-2.364.515-3.244-2.249-2.984-3.544 0 0 .28-2.797 2.197-2.969zm8.847-1.483c.14-1.31 1.69-3.316 2.931-3.028 1.236.285 2.367 1.944 2.137 3.37-.224 1.428-1.345 3.313-3.095 3.082-1.748-.226-2.143-1.823-1.973-3.424zM9.425 1c1.307 0 2.364 1.519 2.364 3.398 0 1.879-1.057 3.4-2.364 3.4s-2.367-1.521-2.367-3.4C7.058 2.518 8.118 1 9.425 1z`})]}))});function LC(e){"@babel/helpers - typeof";return LC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},LC(e)}function RC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zC(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rw(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var iw=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=nw(e,XC);return(0,F.jsxs)(`svg`,QC(QC({fill:`currentColor`,fillRule:`evenodd`,height:n,style:QC({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:GC}),(0,F.jsx)(`path`,{d:`M2.316 4.8h14.682v4.8H7.31a.302.302 0 00-.308.3v4.2c0 .171.14.3.308.3h9.688v4.8h-4.686a.302.302 0 00-.308.3v4.2c0 .171.141.3.308.3h4.378a.297.297 0 00.308-.3v-4.5h4.694a.302.302 0 00.308-.3v-4.2c0-.171-.14-.3-.308-.3h-4.694V9.6h4.694A.302.302 0 0022 9.3V5.1c0-.171-.14-.3-.308-.3h-4.694V.3c0-.171-.14-.3-.308-.3H2.316A.31.31 0 002 .3v4.2c0 .171.14.3.316.3z`})]}))});function aw(e){"@babel/helpers - typeof";return aw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},aw(e)}function ow(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sw(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Tw(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ew=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=ww(e,vw);return(0,F.jsxs)(`svg`,bw(bw({fill:`currentColor`,fillRule:`evenodd`,height:n,style:bw({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:pw}),(0,F.jsx)(`path`,{d:`M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z`})]}))});function Dw(e){"@babel/helpers - typeof";return Dw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Dw(e)}function Ow(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kw(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qw(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Jw=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Kw(e,Bw);return(0,F.jsxs)(`svg`,Hw(Hw({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Hw({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Fw}),(0,F.jsx)(`path`,{d:`M17.113 10.248H14.56l-2.553-3.616-7.963 11.27h2.558l5.405-7.654h2.552l-5.404 7.653h2.565l5.392-7.653L24 20 19.97 20v-2.091l-2.857-4.044-2.842 4.037V20H0L12.008 3l5.105 7.249z`})]}))});function Yw(e){"@babel/helpers - typeof";return Yw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Yw(e)}function Xw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zw(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hT(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var gT=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=mT(e,cT);return(0,F.jsxs)(`svg`,uT(uT({fill:`currentColor`,fillRule:`evenodd`,height:n,style:uT({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:rT}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z`}),(0,F.jsx)(`path`,{d:`M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z`})]}))});function _T(e){"@babel/helpers - typeof";return _T=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_T(e)}function vT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yT(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function LT(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var RT=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=IT(e,AT);return(0,F.jsxs)(`svg`,MT(MT({fill:`currentColor`,fillRule:`evenodd`,height:n,style:MT({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:TT}),(0,F.jsx)(`path`,{d:`M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437`}),(0,F.jsx)(`path`,{d:`M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777`})]}))});function zT(e){"@babel/helpers - typeof";return zT=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},zT(e)}function BT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VT(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var oE=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=iE(e,QT),a=Qc(qT),o=a.id,s=a.fill;return(0,F.jsxs)(`svg`,eE(eE({height:n,style:eE({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:qT}),(0,F.jsx)(`path`,{d:`M12 0L4.583 6.583c-3.23 2.869-3.23 7.965 0 10.834L12 24l7.417-6.583c3.23-2.869 3.23-7.965 0-10.834L12 0z`,fill:s}),(0,F.jsx)(`defs`,{children:(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o,x1:`18.919`,x2:`4.853`,y1:`5.595`,y2:`18.301`,children:[(0,F.jsx)(`stop`,{stopColor:`#F4BF45`}),(0,F.jsx)(`stop`,{offset:`.35`,stopColor:`#E48047`}),(0,F.jsx)(`stop`,{offset:`.69`,stopColor:`#C73361`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#A42F5F`})]})})]}))});function sE(e){"@babel/helpers - typeof";return sE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sE(e)}function cE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lE(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var OE=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=EE(e,bE);return(0,F.jsxs)(`svg`,SE(SE({height:n,style:SE({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:hE}),(0,F.jsx)(`path`,{d:`M3.294 7.821A2.297 2.297 0 011 5.527a2.297 2.297 0 012.294-2.295A2.297 2.297 0 015.59 5.527 2.297 2.297 0 013.294 7.82zm0-3.688a1.396 1.396 0 000 2.79 1.396 1.396 0 000-2.79zM3.294 14.293A2.297 2.297 0 011 11.998a2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294 2.297 2.297 0 01-2.295 2.295zm0-3.688a1.395 1.395 0 000 2.788 1.395 1.395 0 100-2.788zM3.294 20.761A2.297 2.297 0 011 18.467a2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.295 2.294zm0-3.688a1.396 1.396 0 000 2.79 1.396 1.396 0 000-2.79zM20.738 7.821a2.297 2.297 0 01-2.295-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.294 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM20.738 14.293a2.297 2.297 0 01-2.295-2.295 2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688c-.769 0-1.395.625-1.395 1.393a1.396 1.396 0 002.79 0c0-.77-.626-1.393-1.395-1.393zM20.738 20.761a2.297 2.297 0 01-2.295-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.294 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.016 11.057a2.297 2.297 0 01-2.294-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.295 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.625-1.395-1.395-1.395zM12.017 4.589a2.297 2.297 0 01-2.295-2.295A2.297 2.297 0 0112.017 0a2.297 2.297 0 012.294 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.017 17.529a2.297 2.297 0 01-2.295-2.295 2.297 2.297 0 012.295-2.294 2.297 2.297 0 012.294 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.016 24a2.297 2.297 0 01-2.294-2.295 2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294A2.297 2.297 0 0112.016 24zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.625-1.395-1.395-1.395z`,fill:`#2A3275`}),(0,F.jsx)(`path`,{d:`M8.363 8.222a.742.742 0 01-.277-.053l-1.494-.596a.75.75 0 11.557-1.392l1.493.595a.75.75 0 01-.278 1.446h-.001zM8.363 14.566a.743.743 0 01-.277-.053l-1.494-.595a.75.75 0 11.557-1.393l1.493.596a.75.75 0 01-.278 1.445h-.001zM17.124 11.397a.741.741 0 01-.277-.054l-1.493-.595a.75.75 0 11.555-1.392l1.493.595a.75.75 0 01-.278 1.446zM17.124 5.05a.744.744 0 01-.277-.054L15.354 4.4a.75.75 0 01.555-1.392l1.493.596a.75.75 0 01-.278 1.445zM17.124 17.739a.743.743 0 01-.277-.053l-1.494-.596a.75.75 0 11.556-1.392l1.493.596a.75.75 0 01-.278 1.445zM6.91 17.966a.75.75 0 01-.279-1.445l1.494-.595a.749.749 0 11.556 1.392l-1.493.595a.743.743 0 01-.277.053H6.91zM6.91 11.66a.75.75 0 01-.279-1.446l1.494-.595a.75.75 0 01.556 1.392l-1.493.595a.743.743 0 01-.277.053H6.91zM6.91 5.033a.75.75 0 01-.279-1.446l1.494-.595a.75.75 0 01.556 1.392l-1.493.596a.744.744 0 01-.277.053H6.91zM8.363 21.364a.743.743 0 01-.277-.053l-1.494-.596a.75.75 0 01.555-1.392l1.494.595a.75.75 0 01-.278 1.446zM15.63 8.223a.75.75 0 01-.278-1.447l1.494-.595a.75.75 0 01.556 1.393l-1.494.595a.744.744 0 01-.276.054h-.002zM15.63 14.567a.75.75 0 01-.278-1.446l1.494-.596a.75.75 0 01.556 1.394l-1.494.595a.743.743 0 01-.276.053h-.002zM15.63 21.363a.749.749 0 01-.278-1.445l1.494-.595a.75.75 0 11.555 1.392l-1.494.595a.741.741 0 01-.277.053z`,fill:`#5699DB`})]}))});function kE(e){"@babel/helpers - typeof";return kE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kE(e)}function AE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jE(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function JE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var YE=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=qE(e,VE);return(0,F.jsxs)(`svg`,UE(UE({fill:`currentColor`,fillRule:`evenodd`,height:n,style:UE({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`Exa`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M3 0h19v1.791L13.892 12 22 22.209V24H3V0zm9.62 10.348l6.589-8.557H6.03l6.59 8.557zM5.138 3.935v7.17h5.52l-5.52-7.17zm5.52 8.96h-5.52v7.17l5.52-7.17zM6.03 22.21l6.59-8.557 6.589 8.557H6.03z`})]}))});function XE(e){"@babel/helpers - typeof";return XE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},XE(e)}function ZE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function QE(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var gD=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=mD(e,cD);return(0,F.jsxs)(`svg`,uD(uD({fill:`currentColor`,fillRule:`evenodd`,height:n,style:uD({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`Fal`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M15.477 0c.415 0 .749.338.788.752a7.775 7.775 0 006.985 6.984c.413.04.752.373.752.788v6.952c0 .415-.338.748-.752.788a7.775 7.775 0 00-6.985 6.984c-.04.414-.373.752-.788.752H8.525c-.416 0-.749-.338-.789-.752a7.775 7.775 0 00-6.984-6.984c-.414-.04-.752-.373-.752-.788V8.524c0-.415.338-.748.752-.788A7.775 7.775 0 007.736.752C7.776.338 8.11 0 8.526 0h6.95zM4.819 11.98a7.226 7.226 0 007.223 7.23 7.226 7.226 0 007.223-7.23c0-3.994-3.234-7.23-7.223-7.23a7.227 7.227 0 00-7.223 7.23z`})]}))});function _D(e){"@babel/helpers - typeof";return _D=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_D(e)}function vD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yD(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function LD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var RD=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=ID(e,AD);return(0,F.jsxs)(`svg`,MD(MD({fill:`currentColor`,fillRule:`evenodd`,height:n,style:MD({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:TD}),(0,F.jsx)(`path`,{d:`M22.724 3.088C21.527 2.376 19.91 2 18.044 2c-2.854 0-6 .877-8.826 2.403l-.02-.007-.004.021c-.855.464-1.684.981-2.462 1.558C2.147 9.376.863 13.412 1.947 15.57.76 17.542.03 19.583 0 22c2.28-4.233 3.648-7.663 11.076-13.438-2.122.443-5.79 2.545-8.258 5.735-.233-1.866 1.28-4.879 4.65-7.379.428-.316.871-.612 1.324-.893-.354 1.071-.24.805-.975 2.307 1.086-1.001 1.8-1.62 2.873-3.335a18.995 18.995 0 014.276-1.465c-.238.767-.69 2.067-1.302 3.095 0 0 1.553-.324 2.837-.25-.701.753-1.333 1.569-1.973 2.403-.876 1.142-1.782 2.322-2.943 3.421-.14.133-.273.253-.408.377-1.784-.167-2.961.483-4.065 1.63.87-.395 2.04-.72 2.772-.524-1.35 1.073-3.477 2.487-5.224 2.37-.332.492-.353.507-.717 1.1 2.835.688 6.395-2.118 8.49-4.103 1.229-1.164 2.165-2.383 3.07-3.56 1.862-2.427 3.471-4.523 7.04-5.32L24 3.846l-1.276-.758z`})]}))});function zD(e){"@babel/helpers - typeof";return zD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},zD(e)}function BD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VD(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var sO=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=aO(e,$D);return(0,F.jsxs)(`svg`,tO(tO({fill:`currentColor`,fillRule:`evenodd`,height:n,style:tO({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:qD}),(0,F.jsx)(`path`,{d:`M3.675 7.386A3.684 3.684 0 007.35 3.693 3.684 3.684 0 003.675 0 3.684 3.684 0 000 3.693a3.684 3.684 0 003.675 3.693zm0 16.614a3.683 3.683 0 003.675-3.693 3.684 3.684 0 00-3.675-3.693A3.683 3.683 0 000 20.307 3.684 3.684 0 003.675 24z`}),(0,F.jsx)(`path`,{d:`M10.338 7.2a8.002 8.002 0 011.146-.114h2.037a2.14 2.14 0 002.136-2.139V2.44c0-1.179-.96-2.139-2.136-2.139h-2.484a2.14 2.14 0 00-2.136 2.14l-.08 1.487a8.001 8.001 0 01-.12.9 5.2 5.2 0 01-.487 1.38s-.327.627-.753 1.068a5 5 0 01-.327.306l-.219.18a4.4 4.4 0 01-1.779.786c-.285.06-.939.066-1.206.072H2.433c-1.179 0-2.136.96-2.136 2.148v2.5c0 1.187.96 2.147 2.136 2.147h2.544a2.15 2.15 0 002.136-2.148v-1.794c-.02-.62.021-1.773.567-2.547.34-.48.88-.906.972-.98a3.58 3.58 0 01.798-.487c.087-.039.36-.147.885-.246V7.2h.003z`}),(0,F.jsx)(`path`,{d:`M21.897.3H19.28c-1.146 0-2.07.927-2.07 2.073V4.14s0 1.227-.3 2.14c-.321.905-1.131 1.727-1.944 2.027-.951.348-2.064.3-2.631.3h-1.59a2.07 2.07 0 00-2.064 2.073v2.634c0 1.146.924 2.073 2.064 2.073h2.622a2.07 2.07 0 002.064-2.073l.02-1.1c-.011-.409.028-1.249.226-1.86.072-.229.219-.649.552-1.108.24-.327.474-.534.71-.753.433-.387.799-.612.9-.666.22-.132.6-.36 1.138-.528.48-.147.84-.174 1.452-.213.36-.027.858-.039 1.458-.006 1.146 0 2.07-.927 2.07-2.073V2.373A2.07 2.07 0 0021.888.3h.009z`})]}))});function cO(e){"@babel/helpers - typeof";return cO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},cO(e)}function lO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uO(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function OO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var kO=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=DO(e,xO);return(0,F.jsxs)(`svg`,CO(CO({fill:`currentColor`,fillRule:`evenodd`,height:n,style:CO({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:gO}),(0,F.jsx)(`path`,{d:`M12 0c6.63 0 12 5.276 12 11.79-.001 5.067-3.29 9.567-8.175 11.187-.6.118-.825-.25-.825-.56 0-.398.015-1.665.015-3.242 0-1.105-.375-1.813-.81-2.181 2.67-.295 5.475-1.297 5.475-5.822 0-1.297-.465-2.344-1.23-3.169.12-.295.54-1.503-.12-3.125 0 0-1.005-.324-3.3 1.209a11.32 11.32 0 00-3-.398c-1.02 0-2.04.133-3 .398-2.295-1.518-3.3-1.209-3.3-1.209-.66 1.622-.24 2.83-.12 3.125-.765.825-1.23 1.887-1.23 3.169 0 4.51 2.79 5.527 5.46 5.822-.345.294-.66.81-.765 1.577-.69.31-2.415.81-3.495-.973-.225-.354-.9-1.223-1.845-1.209-1.005.015-.405.56.015.781.51.28 1.095 1.327 1.23 1.666.24.663 1.02 1.93 4.035 1.385 0 .988.015 1.916.015 2.196 0 .31-.225.664-.825.56C3.303 21.374-.003 16.867 0 11.791 0 5.276 5.37 0 12 0z`})]}))});function AO(e){"@babel/helpers - typeof";return AO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},AO(e)}function jO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MO(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function XO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var ZO=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=YO(e,UO);return(0,F.jsxs)(`svg`,GO(GO({fill:`currentColor`,fillRule:`evenodd`,height:n,style:GO({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:RO}),(0,F.jsx)(`path`,{d:`M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.375 4.375 0 01-3.033-1.252l-1.851 1.818A7 7 0 0012.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2z`})]}))});function QO(e){"@babel/helpers - typeof";return QO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},QO(e)}function $O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ek(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vk(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var yk=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=_k(e,dk);return(0,F.jsxs)(`svg`,pk(pk({height:n,style:pk({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ok}),(0,F.jsx)(`path`,{d:`M2.25 11.535c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0c2.997 1.704 4.844 4.851 4.844 8.258 0 5.266-4.337 9.535-9.687 9.535S2.25 16.8 2.25 11.535z`,fill:`#FF9D0B`}),(0,F.jsx)(`path`,{d:`M11.938 20.086c4.797 0 8.687-3.829 8.687-8.551 0-4.722-3.89-8.55-8.687-8.55-4.798 0-8.688 3.828-8.688 8.55 0 4.722 3.89 8.55 8.688 8.55z`,fill:`#FFD21E`}),(0,F.jsx)(`path`,{d:`M11.875 15.113c2.457 0 3.25-2.156 3.25-3.263 0-.576-.393-.394-1.023-.089-.582.283-1.365.675-2.224.675-1.798 0-3.25-1.693-3.25-.586 0 1.107.79 3.263 3.25 3.263h-.003z`,fill:`#FF323D`}),(0,F.jsx)(`path`,{d:`M14.76 9.21c.32.108.445.753.767.585.447-.233.707-.708.659-1.204a1.235 1.235 0 00-.879-1.059 1.262 1.262 0 00-1.33.394c-.322.384-.377.92-.14 1.36.153.283.638-.177.925-.079l-.002.003zm-5.887 0c-.32.108-.448.753-.768.585a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003zm1.12 5.34a2.166 2.166 0 011.325-1.106c.07-.02.144.06.219.171l.192.306c.069.1.139.175.209.175.074 0 .15-.074.223-.172l.205-.302c.08-.11.157-.188.234-.165.537.168.986.536 1.25 1.026.932-.724 1.275-1.905 1.275-2.633 0-.508-.306-.426-.81-.19l-.616.296c-.52.24-1.148.48-1.824.48-.676 0-1.302-.24-1.823-.48l-.589-.283c-.52-.248-.838-.342-.838.177 0 .703.32 1.831 1.187 2.56l.18.14z`,fill:`#3A3B45`}),(0,F.jsx)(`path`,{d:`M17.812 10.366a.806.806 0 00.813-.8c0-.441-.364-.8-.813-.8a.806.806 0 00-.812.8c0 .442.364.8.812.8zm-11.624 0a.806.806 0 00.812-.8c0-.441-.364-.8-.812-.8a.806.806 0 00-.813.8c0 .442.364.8.813.8zM4.515 13.073c-.405 0-.765.162-1.017.46a1.455 1.455 0 00-.333.925 1.801 1.801 0 00-.485-.074c-.387 0-.737.146-.985.409a1.41 1.41 0 00-.2 1.722 1.302 1.302 0 00-.447.694c-.06.222-.12.69.2 1.166a1.267 1.267 0 00-.093 1.236c.238.533.81.958 1.89 1.405l.24.096c.768.3 1.473.492 1.478.494.89.243 1.808.375 2.732.394 1.465 0 2.513-.443 3.115-1.314.93-1.342.842-2.575-.274-3.763l-.151-.154c-.692-.684-1.155-1.69-1.25-1.912-.195-.655-.71-1.383-1.562-1.383-.46.007-.889.233-1.15.605-.25-.31-.495-.553-.715-.694a1.87 1.87 0 00-.993-.312zm14.97 0c.405 0 .767.162 1.017.46.216.262.333.588.333.925.158-.047.322-.071.487-.074.388 0 .738.146.985.409a1.41 1.41 0 01.2 1.722c.22.178.377.422.445.694.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.238.533-.81.958-1.889 1.405l-.239.096c-.77.3-1.475.492-1.48.494-.89.243-1.808.375-2.732.394-1.465 0-2.513-.443-3.115-1.314-.93-1.342-.842-2.575.274-3.763l.151-.154c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694.244-.162.523-.265.814-.3l.176-.012z`,fill:`#FF9D0B`}),(0,F.jsx)(`path`,{d:`M9.785 20.132c.688-.994.638-1.74-.305-2.667-.945-.928-1.495-2.288-1.495-2.288s-.205-.788-.672-.714c-.468.074-.81 1.25.17 1.971.977.721-.195 1.21-.573.534-.375-.677-1.405-2.416-1.94-2.751-.532-.332-.907-.148-.782.541.125.687 2.357 2.35 2.14 2.707-.218.362-.983-.42-.983-.42S2.953 14.9 2.43 15.46c-.52.558.398 1.026 1.7 1.803 1.308.778 1.41.985 1.225 1.28-.187.295-3.07-2.1-3.34-1.083-.27 1.011 2.943 1.304 2.745 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725 1.075.276 3.813.859 4.77-.522zm4.432 0c-.687-.994-.64-1.74.305-2.667.943-.928 1.493-2.288 1.493-2.288s.205-.788.675-.714c.465.074.807 1.25-.17 1.971-.98.721.195 1.21.57.534.377-.677 1.407-2.416 1.94-2.751.532-.332.91-.148.782.541-.125.687-2.355 2.35-2.137 2.707.215.362.98-.42.98-.42S21.05 14.9 21.57 15.46c.52.558-.395 1.026-1.7 1.803-1.308.778-1.408.985-1.225 1.28.187.295 3.07-2.1 3.34-1.083.27 1.011-2.94 1.304-2.743 2.006.2.7 2.263-1.324 2.685-.537.423.79-2.912 1.718-2.94 1.725-1.077.276-3.815.859-4.77-.522z`,fill:`#FFD21E`})]}))});function bk(e){"@babel/helpers - typeof";return bk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bk(e)}function xk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sk(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Bk(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Vk=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=zk(e,Nk);return(0,F.jsxs)(`svg`,Fk(Fk({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Fk({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Ok}),(0,F.jsx)(`path`,{d:`M.193 19.503a2.413 2.413 0 00-.186.925c0 1.317 1.112 2.518 2.95 3.437a1.337 1.337 0 001.838-.738l2.049-4.93c.359-.857.642-1.745.846-2.652-3.795.637-6.656 2.092-7.448 3.872l-.032.076-.017.01zm7.49-11.047a15.981 15.981 0 00-.846-2.653L4.79.873a1.34 1.34 0 00-1.84-.738C1.112 1.054 0 2.256 0 3.573c0 .317.064.631.186.924v.01l.032.077c.81 1.78 3.67 3.234 7.466 3.872zM21.049.136c1.838.918 2.95 2.12 2.95 3.436a2.454 2.454 0 01-.196.925l-.027.063c-.785 1.792-3.653 3.254-7.46 3.896.204-.907.487-1.795.846-2.653L19.21.873a1.337 1.337 0 011.839-.738zm-4.722 15.409c.201.906.48 1.793.837 2.65l2.048 4.932a1.338 1.338 0 001.838.738c1.839-.92 2.951-2.12 2.951-3.437a2.446 2.446 0 00-.186-.925l-.027-.062c-.782-1.792-3.66-3.256-7.46-3.896zm-.129-6.04c2.695-.415 4.935-1.223 6.48-2.278L22.24 8.28a9.755 9.755 0 000 7.437l.435 1.048c-1.547-1.055-3.787-1.855-6.479-2.275l-.07-.01A27.196 27.196 0 0012 14.172c-1.377-.002-2.752.1-4.114.307l-.071.01c-2.693.413-4.933 1.222-6.48 2.277l.437-1.05a9.755 9.755 0 000-7.437l-.437-1.052c1.54 1.06 3.78 1.863 6.473 2.278l.071.01c2.734.407 5.513.407 8.246 0l.071-.01z`})]}))});function Hk(e){"@babel/helpers - typeof";return Hk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Hk(e)}function Uk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wk(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function cA(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var lA=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=sA(e,tA);return(0,F.jsxs)(`svg`,rA(rA({fill:`currentColor`,fillRule:`evenodd`,height:n,style:rA({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Xk}),(0,F.jsx)(`path`,{d:`M20.713 6.655c-.414-1.426-1.748-2.472-3.357-2.472a3.62 3.62 0 00-1.7.423C14.62 3.046 12.804 2 10.735 2 7.77 2 5.31 4.16 4.943 6.944 2.138 7.39 0 9.728 0 12.58c0 3.14 2.62 5.68 5.862 5.68 1.61 0 3.08-.646 4.138-1.671.276-.267.529-.557.736-.89a5.02 5.02 0 01-.713.845 8.998 8.998 0 00-1.77 5.39V22a16.682 16.682 0 018.666-2.717h.046c3.035 0 5.633-1.871 6.621-4.499A6.599 6.599 0 0024 12.445c0-2.427-1.31-4.565-3.287-5.79zM6.966 12.869a.836.836 0 01-.851.824.81.81 0 01-.805-.824v-2.183a.81.81 0 01.805-.824c.46 0 .85.379.85.824v2.183zm3.011 1.069a.86.86 0 01-.874.846.86.86 0 01-.873-.846v-4.9a.86.86 0 01.873-.846.86.86 0 01.874.846v4.9zm3.104-1.047c0 .445-.414.824-.874.824s-.85-.379-.85-.824v-2.227c0-.446.367-.824.85-.824.46 0 .873.378.873.824v2.227zm3.149 1.069a.86.86 0 01-.874.846.86.86 0 01-.873-.846v-4.9a.86.86 0 01.873-.846.86.86 0 01.874.846v4.9zm3.08-1.091a.836.836 0 01-.85.824.81.81 0 01-.805-.824v-2.183a.81.81 0 01.805-.824c.46 0 .85.379.85.824v2.183z`})]}))});function uA(e){"@babel/helpers - typeof";return uA=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},uA(e)}function dA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fA(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function AA(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var jA=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=kA(e,CA);return(0,F.jsxs)(`svg`,TA(TA({fill:`currentColor`,fillRule:`evenodd`,height:n,style:TA({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:vA}),(0,F.jsx)(`path`,{d:`M2 2h20v20H2V2zm1.768 18.237h16.459V3.761H3.768v16.476zm3.515-14.91l3.479 6.176-3.871 7.154h2.493l2.58-4.883 2.747 4.883h2.54L9.82 5.324l-2.538.002z`})]}))});function MA(e){"@babel/helpers - typeof";return MA=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},MA(e)}function NA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function PA(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function QA(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var $A=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=ZA(e,GA);return(0,F.jsxs)(`svg`,qA(qA({fill:`currentColor`,fillRule:`evenodd`,height:n,style:qA({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:BA}),(0,F.jsx)(`path`,{d:`M2.84 2a1.273 1.273 0 100 2.547h14.107a1.273 1.273 0 100-2.547H2.84zM7.935 5.33a1.273 1.273 0 000 2.548H22.04a1.274 1.274 0 000-2.547H7.935zM3.624 9.935c0-.704.57-1.274 1.274-1.274h14.106a1.274 1.274 0 010 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM1.273 12.188a1.273 1.273 0 100 2.547H15.38a1.274 1.274 0 000-2.547H1.273zM3.624 16.792c0-.704.57-1.274 1.274-1.274h14.106a1.273 1.273 0 110 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM13.029 18.849a1.273 1.273 0 100 2.547h9.698a1.273 1.273 0 100-2.547h-9.698z`,fillOpacity:`.3`}),(0,F.jsx)(`path`,{d:`M2.84 2a1.273 1.273 0 100 2.547h10.287a1.274 1.274 0 000-2.547H2.84zM7.935 5.33a1.273 1.273 0 000 2.548H18.22a1.274 1.274 0 000-2.547H7.935zM3.624 9.935c0-.704.57-1.274 1.274-1.274h10.286a1.273 1.273 0 010 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM1.273 12.188a1.273 1.273 0 100 2.547H11.56a1.274 1.274 0 000-2.547H1.273zM3.624 16.792c0-.704.57-1.274 1.274-1.274h10.286a1.273 1.273 0 110 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM13.029 18.849a1.273 1.273 0 100 2.547h5.78a1.273 1.273 0 100-2.547h-5.78z`})]}))});function ej(e){"@babel/helpers - typeof";return ej=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ej(e)}function tj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nj(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var xj=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=yj(e,pj);return(0,F.jsxs)(`svg`,hj(hj({fill:`currentColor`,fillRule:`evenodd`,height:n,style:hj({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:cj}),(0,F.jsx)(`path`,{d:`M10.033 5.807L0 18.193h10.792l4.636-5.724-5.395-6.662zm.651 5.421l-.651 2.553-.652-2.553-2.538.926 3.19-3.938 3.19 3.938-2.539-.926zM18.107 10.918l-5.893 7.275H24l-5.893-7.275zm0 4.683l-.383-1.499-1.49.544 1.873-2.313 1.873 2.313-1.49-.544-.383 1.5z`})]}))});function Sj(e){"@babel/helpers - typeof";return Sj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Sj(e)}function Cj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wj(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Uj=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Vj(e,Fj);return(0,F.jsxs)(`svg`,Lj(Lj({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Lj({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Aj}),(0,F.jsx)(`path`,{d:`M20 2.306v16.797s4-.242 4-4.815V2.306h-4zM4 22.001V5.204s-4 .242-4 4.816V22h4z`}),(0,F.jsx)(`path`,{d:`M16.318 16.51L11.286 4.94c-.824-1.872-2.168-2.926-4.077-2.926-1.908 0-3.211 1.54-3.211 3.19 0 0 2.405-.333 3.68 2.593l5.036 11.57c.821 1.87 2.168 2.926 4.075 2.926 1.905 0 3.211-1.541 3.211-3.19 0 0-2.406.333-3.682-2.594z`})]}))});function Wj(e){"@babel/helpers - typeof";return Wj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Wj(e)}function Gj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Kj(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function uM(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var dM=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=lM(e,rM);return(0,F.jsxs)(`svg`,aM(aM({fill:`currentColor`,fillRule:`evenodd`,height:n,style:aM({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Qj}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z`})]}))});function fM(e){"@babel/helpers - typeof";return fM=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},fM(e)}function pM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mM(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function MM(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var NM=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=jM(e,TM);return(0,F.jsxs)(`svg`,DM(DM({fill:`currentColor`,fillRule:`evenodd`,height:n,style:DM({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:bM}),(0,F.jsx)(`path`,{d:`M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z`})]}))});function PM(e){"@babel/helpers - typeof";return PM=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},PM(e)}function FM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IM(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function eN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var tN=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=$M(e,qM);return(0,F.jsxs)(`svg`,YM(YM({fill:`currentColor`,fillRule:`evenodd`,height:n,style:YM({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:HM}),(0,F.jsx)(`path`,{d:`M22 10.552v2.26h-7.932V22H11.54V10.552H22zM22 2v2.264H4.528V22H2V2h20zm0 4.276V8.54H9.296V22H6.768V6.276H22z`})]}))});function nN(e){"@babel/helpers - typeof";return nN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nN(e)}function rN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iN(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function SN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var CN=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=xN(e,hN);return(0,F.jsxs)(`svg`,_N(_N({fill:`currentColor`,fillRule:`evenodd`,height:n,style:_N({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:uN}),(0,F.jsx)(`path`,{d:`M23 23h-1.223V8.028c0-3.118-2.568-5.806-5.744-5.806H8.027c-3.176 0-5.744 2.565-5.744 5.686 0 3.119 2.568 5.684 5.744 5.684h.794c1.346 0 2.445 1.1 2.445 2.444 0 1.346-1.1 2.446-2.445 2.446H1v-1.223h7.761c.671 0 1.223-.551 1.223-1.16 0-.67-.552-1.16-1.223-1.16h-.794C4.177 14.872 1 11.756 1 7.909 1 4.058 4.176 1 8.027 1h8.066C19.88 1 23 4.239 23 8.028V23z`}),(0,F.jsx)(`path`,{d:`M8.884 12.672c1.71.06 3.361 1.588 3.361 3.422 0 1.833-1.528 3.421-3.421 3.421H1v1.223h7.761c2.568 0 4.705-2.077 4.705-4.644 0-.672-.123-1.283-.43-1.894-.245-.551-.67-1.1-1.099-1.528-.489-.429-1.039-.734-1.65-.977-.525-.175-1.048-.193-1.594-.212-.218-.008-.441-.016-.669-.034-.428 0-1.406-.245-1.956-.61a3.369 3.369 0 01-1.223-1.406c-.183-.489-.305-.977-.305-1.528A3.417 3.417 0 017.96 4.482h8.066c1.895 0 3.422 1.65 3.422 3.483v15.032h1.223V8.027c0-2.568-2.077-4.768-4.645-4.768h-8c-2.568 0-4.705 2.077-4.705 4.646 0 .67.123 1.282.43 1.894a4.45 4.45 0 001.099 1.528c.429.428 1.039.734 1.588.976.306.123.611.183.976.246.857.06 1.406.123 1.466.123h.003z`}),(0,F.jsx)(`path`,{d:`M1 23h7.761v-.003c3.85 0 7.03-3.116 7.09-7.026 0-3.79-3.117-6.906-6.967-6.906H8.09c-.672 0-1.222-.552-1.222-1.16 0-.608.487-1.16 1.159-1.16h8.069c.608 0 1.159.611 1.159 1.283v14.97h1.223V8.024c0-1.345-1.1-2.505-2.445-2.505H7.967a2.451 2.451 0 00-2.445 2.445 2.45 2.45 0 002.445 2.445h.794c3.176 0 5.744 2.568 5.744 5.684s-2.568 5.684-5.744 5.684H1V23z`})]}))});function wN(e){"@babel/helpers - typeof";return wN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wN(e)}function TN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function EN(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function WN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var GN=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=UN(e,LN);return(0,F.jsxs)(`svg`,zN(zN({fill:`currentColor`,fillRule:`evenodd`,height:n,style:zN({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:MN}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M22.956 6.521H12.522c-.577 0-1.044.468-1.044 1.044v3.13c0 .577-.466 1.044-1.043 1.044H1.044c-.577 0-1.044.467-1.044 1.044v4.174C0 17.533.467 18 1.044 18h10.434c.577 0 1.044-.467 1.044-1.043v-3.13c0-.578.466-1.044 1.043-1.044h9.391c.577 0 1.044-.467 1.044-1.044V7.565c0-.576-.467-1.044-1.044-1.044z`})]}))});function KN(e){"@babel/helpers - typeof";return KN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},KN(e)}function qN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function JN(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var pP=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=dP(e,aP);return(0,F.jsxs)(`svg`,sP(sP({fill:`currentColor`,fillRule:`evenodd`,height:n,style:sP({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:eP}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M23.252 10.365l-2.843 1.636 2.843 1.631a1.47 1.47 0 01.697.903 1.492 1.492 0 01-.15 1.135c-.202.342-.53.591-.912.693a1.498 1.498 0 01-1.132-.15l-5.09-2.924a1.473 1.473 0 01-.68-.851 1.446 1.446 0 01-.068-.485 1.5 1.5 0 01.745-1.248l5.09-2.921a1.496 1.496 0 012.044.547 1.479 1.479 0 01-.544 2.034zm-2.692 7.927l-5.087-2.92a1.477 1.477 0 00-.867-.195 1.478 1.478 0 00-.982.468c-.257.276-.4.639-.403 1.017v5.847A1.49 1.49 0 0014.718 24c.828 0 1.497-.668 1.497-1.491v-3.27l2.849 1.636a1.493 1.493 0 002.044-.544 1.49 1.49 0 00-.548-2.04zm-5.87-5.719l-2.116 2.102a.42.42 0 01-.265.112h-.621a.427.427 0 01-.265-.112l-2.115-2.102a.42.42 0 01-.11-.262v-.62a.43.43 0 01.11-.265l2.114-2.102a.426.426 0 01.264-.11h.623a.422.422 0 01.265.11l2.116 2.102a.43.43 0 01.109.265v.62a.428.428 0 01-.11.262zM13 11.99a.442.442 0 00-.113-.266l-.612-.607a.431.431 0 00-.266-.11h-.024a.426.426 0 00-.264.11l-.612.607a.436.436 0 00-.107.266v.024c0 .085.047.202.107.262l.612.61c.061.06.179.11.264.11h.024a.434.434 0 00.266-.11l.612-.61a.429.429 0 00.112-.262v-.024zM3.436 5.704l5.089 2.924c.274.157.578.219.868.195.375-.026.726-.194.983-.47.256-.275.4-.64.403-1.017V1.489C10.78.667 10.11 0 9.284 0c-.829 0-1.498.667-1.498 1.49v3.27l-2.85-1.639a1.496 1.496 0 00-2.045.546 1.489 1.489 0 00.546 2.037zm11.17 3.119c.29.024.594-.038.866-.195l5.087-2.923a1.474 1.474 0 00.697-.903 1.496 1.496 0 00-.149-1.135 1.496 1.496 0 00-2.044-.545L16.215 4.76V1.489C16.215.667 15.546 0 14.718 0c-.83 0-1.497.667-1.497 1.49v5.845a1.491 1.491 0 001.385 1.487zm-5.213 6.354a1.479 1.479 0 00-.868.194l-5.089 2.92a1.476 1.476 0 00-.696.905 1.498 1.498 0 00.148 1.135 1.496 1.496 0 002.044.543l2.851-1.636v3.27c0 .825.67 1.491 1.498 1.491.826 0 1.496-.667 1.496-1.49v-5.847a1.5 1.5 0 00-.401-1.017 1.477 1.477 0 00-.982-.468zm-1.38-2.74c.05-.156.072-.32.068-.484a1.497 1.497 0 00-.751-1.248l-5.084-2.92a1.499 1.499 0 00-2.045.547 1.481 1.481 0 00.549 2.034l2.841 1.636L.75 13.633a1.47 1.47 0 00-.698.903 1.492 1.492 0 00.15 1.135c.202.343.53.592.912.693.382.102.789.048 1.132-.15l5.086-2.924c.345-.195.577-.505.684-.852z`})]}))});function mP(e){"@babel/helpers - typeof";return mP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},mP(e)}function hP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gP(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function PP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var FP=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=NP(e,DP);return(0,F.jsxs)(`svg`,kP(kP({height:n,style:kP({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:SP}),(0,F.jsx)(`path`,{d:`M23.197 4.503A6 6 0 0015 2.307a5.973 5.973 0 00-2.995 4.933l5.996.008v.515h-5.996c.039.937.298 1.87.8 2.74a6 6 0 1010.39-6z`,fill:`#EF2CC1`}),(0,F.jsx)(`path`,{d:`M.805 4.5A6 6 0 003 12.697a5.972 5.972 0 005.77.127L5.779 7.627l.446-.257 2.997 5.192A6 6 0 10.804 4.5z`,fill:`#CAAEF5`}),(0,F.jsx)(`path`,{d:`M12 23.894a6 6 0 005.999-6c0-2.13-1.1-3.996-2.775-5.06l-3.005 5.189-.444-.258 2.997-5.192A6 6 0 1012 23.894z`,fill:`#FC4C02`})]}))});function IP(e){"@babel/helpers - typeof";return IP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},IP(e)}function LP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function RP(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function nF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var rF=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=tF(e,YP);return(0,F.jsxs)(`svg`,ZP(ZP({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ZP({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:WP}),(0,F.jsx)(`path`,{d:`M12 0l12 20.785H0L12 0z`})]}))});function iF(e){"@babel/helpers - typeof";return iF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},iF(e)}function aF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oF(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var TF=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=CF(e,_F);return(0,F.jsxs)(`svg`,yF(yF({height:n,style:yF({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:fF}),(0,F.jsx)(`path`,{d:`M0 4.973h9.324V23L0 4.973z`,fill:`#FDB515`}),(0,F.jsx)(`path`,{d:`M13.986 4.351L22.378 0l-6.216 23H9.324l4.662-18.649z`,fill:`#30A2FF`})]}))});function EF(e){"@babel/helpers - typeof";return EF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},EF(e)}function DF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function OF(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function KF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var qF=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=GF(e,zF);return(0,F.jsxs)(`svg`,VF(VF({height:n,style:VF({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:PF}),(0,F.jsx)(`path`,{d:`M19.44 10.153l-2.936 11.586a.215.215 0 00.214.261h5.87a.215.215 0 00.214-.261l-2.95-11.586a.214.214 0 00-.412 0zM3.28 12.778l-2.275 8.96A.214.214 0 001.22 22h4.532a.212.212 0 00.214-.165.214.214 0 000-.097l-2.276-8.96a.214.214 0 00-.41 0z`,fill:`#00E5E5`}),(0,F.jsx)(`path`,{d:`M7.29 5.359L3.148 21.738a.215.215 0 00.203.261h8.29a.214.214 0 00.215-.261L7.7 5.358a.214.214 0 00-.41 0z`,fill:`#006EFF`}),(0,F.jsx)(`path`,{d:`M14.44.15a.214.214 0 00-.41 0L8.366 21.739a.214.214 0 00.214.261H19.9a.216.216 0 00.171-.078.214.214 0 00.044-.183L14.439.15z`,fill:`#006EFF`}),(0,F.jsx)(`path`,{d:`M10.278 7.741L6.685 21.736a.214.214 0 00.214.264h7.17a.215.215 0 00.214-.264L10.688 7.741a.214.214 0 00-.41 0z`,fill:`#00E5E5`})]}))});function JF(e){"@babel/helpers - typeof";return JF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},JF(e)}function YF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function XF(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var hI=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=pI(e,sI);return(0,F.jsxs)(`svg`,lI(lI({fill:`currentColor`,fillRule:`evenodd`,height:n,style:lI({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:nI}),(0,F.jsx)(`path`,{d:`M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z`})]}))});function gI(e){"@babel/helpers - typeof";return gI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},gI(e)}function _I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vI(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function II(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var LI=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=FI(e,kI);return(0,F.jsxs)(`svg`,jI(jI({fill:`currentColor`,fillRule:`evenodd`,height:n,style:jI({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:wI}),(0,F.jsx)(`path`,{d:`M5.223 9.692c.652 1.795 1.925 3.376 3.396 4.573 1.482 1.229 3.254 2.17 5.122 2.653a9.99 9.99 0 002.033.302c1.302.05 2.713-.206 3.758-1.04 1.297-1.036 1.651-2.625 1.318-4.21-.209-.993-.641-1.93-1.205-2.787a10.284 10.284 0 00-.366-.525.008.008 0 01.005-.007h.004c.002 0 .004 0 .006.002l.394.405a17.227 17.227 0 012.484 3.262c.579.993 1.023 2.046 1.255 3.144.369 1.747.07 3.546-1.306 4.777-.724.648-1.655 1.041-2.59 1.235-1.297.267-2.649.228-3.965.007-.669-.112-1.315-.26-1.937-.443-2.576-.756-5.012-2.051-7.143-3.677a20.968 20.968 0 01-3.484-3.296C1.949 12.813 1.046 11.396.487 9.853.12 8.845-.087 7.725.035 6.663c.267-2.306 1.98-3.654 4.174-4.06 1.265-.234 2.594-.186 3.879.037a17.71 17.71 0 013.978 1.192v.004a.006.006 0 01-.004.004h-.004a8.907 8.907 0 00-2.869-.29c-.807.048-1.666.263-2.357.656-1.034.588-1.67 1.463-1.907 2.625a4.567 4.567 0 00-.069 1.1c.025.58.163 1.198.367 1.761z`}),(0,F.jsx)(`path`,{d:`M18.02 7.235a.05.05 0 01-.007.03c-.461.916-.923 1.832-1.386 2.747-.424.837-.745 1.437-.965 1.8a17.877 17.877 0 01-2.98 3.707.027.027 0 01-.03.005 12.678 12.678 0 01-4.205-2.777c-.14-.14-.28-.288-.42-.447a.024.024 0 01-.005-.013c0-.005 0-.01.003-.014a17.718 17.718 0 011.68-2.379 18.27 18.27 0 012.7-2.606c.408-.32 1.39-1.094 2.95-2.323L21.652.002a.008.008 0 01.01 0 .01.01 0 01.004.005.01.01 0 010 .006l-3.648 7.222z`}),(0,F.jsx)(`path`,{d:`M2.027 24c.002 0 .004 0 .005-.002l5.843-4.58a.02.02 0 00.008-.017.02.02 0 00-.01-.016 26.743 26.743 0 01-2.584-1.842h-.006a.014.014 0 00-.005.002.012.012 0 00-.004.005L2.02 23.987a.01.01 0 000 .006c0 .002 0 .004.002.005a.009.009 0 00.006.002z`})]}))});function RI(e){"@babel/helpers - typeof";return RI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},RI(e)}function zI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function BI(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var aL=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=rL(e,ZI);return(0,F.jsxs)(`svg`,$I($I({fill:`currentColor`,fillRule:`evenodd`,height:n,style:$I({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:KI}),(0,F.jsx)(`path`,{d:`M11.991 23.503a.24.24 0 00-.244.248.24.24 0 00.244.249.24.24 0 00.245-.249.24.24 0 00-.22-.247l-.025-.001zM9.671 5.365a1.697 1.697 0 011.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.661 1.661 0 01-2.077 1.102 1.711 1.711 0 01-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 00-1.954.746 1.66 1.66 0 01-1.065.764 1.677 1.677 0 01-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.51 1.51 0 01.296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.307 1.307 0 00-.227-.693 2.515 2.515 0 01-.366-1.403 2.39 2.39 0 01.366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.43 1.43 0 01-.299-.07l-.05-.019a1.7 1.7 0 01-1.047-2.114 1.68 1.68 0 012.094-1.101zm-5.575 10.11c.26-.264.639-.367.994-.27.355.096.633.379.728.74.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.062 1.062 0 010-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025-.107.36-.396.634-.756.718-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 01.757-1.26zm-.064-4.39c.314.32.49.753.49 1.206 0 .452-.176.886-.49 1.206-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 010-2.412 1.654 1.654 0 012.369 0zm-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 01-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 011.33-1.038c.593-.08 1.183.169 1.547.652zm11.545-4.221c.368 0 .708.2.892.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.892.524c-.568 0-1.03-.47-1.03-1.048 0-.579.462-1.048 1.03-1.048zm-14.358 0c.368 0 .707.2.891.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.891.524c-.569 0-1.03-.47-1.03-1.048 0-.579.461-1.048 1.03-1.048zm10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705c0-.942.75-1.706 1.674-1.706zm-2.626-.684c.362-.082.653-.356.761-.718a1.062 1.062 0 00-.238-1.028 1.017 1.017 0 00-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783zm0 16.876c.359-.087.644-.36.75-.72a1.062 1.062 0 00-.237-1.019 1.018 1.018 0 00-.985-.301 1.037 1.037 0 00-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305l.043-.01zM17.19 3.5a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64a.631.631 0 00-.628.64c0 .355.28.64.628.64zm-10.38 0a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64a.631.631 0 00-.628.64c0 .355.279.64.628.64zm-5.182 7.852a.631.631 0 00-.628.64c0 .354.28.639.628.639a.63.63 0 00.627-.606l.001-.034a.62.62 0 00-.628-.64zm5.182 9.13a.631.631 0 00-.628.64c0 .355.279.64.628.64a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm10.38.018a.631.631 0 00-.628.64c0 .355.28.64.628.64a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64zm5.182-9.148a.631.631 0 00-.628.64c0 .354.279.639.628.639a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 00.244-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249c0 .142.122.249.244.249zM11.991.497a.24.24 0 00.245-.248A.24.24 0 0011.99 0a.24.24 0 00-.244.249c0 .133.108.236.223.247l.021.001zM2.011 6.36a.24.24 0 00.245-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249.24.24 0 00.244.249zm0 11.263a.24.24 0 00-.243.248.24.24 0 00.244.249.24.24 0 00.244-.249.252.252 0 00-.244-.248zm19.995-.018a.24.24 0 00-.245.248.24.24 0 00.245.25.24.24 0 00.244-.25.252.252 0 00-.244-.248z`})]}))});function oL(e){"@babel/helpers - typeof";return oL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},oL(e)}function sL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cL(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function EL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var DL=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=TL(e,yL);return(0,F.jsxs)(`svg`,xL(xL({fill:`currentColor`,fillRule:`evenodd`,height:n,style:xL({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:mL}),(0,F.jsx)(`path`,{d:`M5 0h5v24H5V0zM14 0h5v24h-5V0z`})]}))});function OL(e){"@babel/helpers - typeof";return OL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},OL(e)}function kL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AL(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function JL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var YL=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=qL(e,VL);return(0,F.jsxs)(`svg`,UL(UL({fill:`currentColor`,fillRule:`evenodd`,height:n,style:UL({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:IL}),(0,F.jsx)(`path`,{d:`M11.823 22.145c.127.192.217.402.276.627.099.336.037.713-.377.725-.279.028-.506-.126-.54-.397-.066-.39.105-.75.299-1.083l.011-.018c.025-.037.057-.073.095-.078h.008c.074-.007.159.122.228.224zm1.596-1.247c.75.31.95 1.246-.084 1.256h-.015c-.52.017-.906-.472-.587-.92.15-.212.417-.42.686-.336zm-3.989-.594c.256.033.512.1.762.16l.037.011c.21.058.458.11.55.297.26.585-.47 1.093-.976 1.103h-.028v-.001c-.413.01-.809-.126-.942-.535-.11-.28-.085-.603.128-.827l.014-.015c.117-.124.282-.212.455-.193zm6.094.237v.014c-.004.302-.148.608-.42.751-.186.093-.417-.01-.588-.15-.171-.147-.283-.356-.382-.568l-.04-.087c-.193-.405.088-.552.405-.627l.04-.01c.058-.012.116-.022.173-.032l.042-.008c.578-.105.792.15.77.717zM2.827 2.991c1.15.86 2.286 1.734 3.376 2.67 2.476 2.166 3.346 5.568 3.452 8.766.048 1.103.108 2.205.199 3.306l.004.04c.019.182.078.563.25.522l.007-.003c.057-.04.086-.123.109-.192.114-.336.194-.693.323-1.026.09-.216.204-.344.377-.411.3-.12.702-.062.87.246.037.05.073.123.11.202l.036.078.02.044.015.03.013.026.013.026c.1.189.223.344.42.264.117-.059.221-.19.319-.283.2-.22.505-.292.713-.053.524.616.5 1.486 0 2.106-.451.585-1.182.7-1.862.586l-.054-.01c-.972-.162-1.555-.96-2.015-1.779l-.03-.055a141.48 141.48 0 00-1.583-2.577l-.03-.045c-.116-.165-.264-.35-.43-.445-.07-.015-.006.127.009.173.467 1.253 1.07 2.425 1.961 3.427l.011.02c.086.168-.045.122-.19.041l-.016-.01-.027-.015-.019-.011a3.561 3.561 0 01-.126-.082l-.075-.05a4.532 4.532 0 01-.78-.67c-.772-.87-1.42-1.838-2.054-2.816l-.375-.58-.165-.255a32.793 32.793 0 00-1.11-1.623c-.415-.567-.89-1.092-1.298-1.666-.774-1.071-1.251-2.312-1.519-3.61-.137-.56-.297-1.114-.438-1.672l-.06-.24c-.094-.38-.166-.784-.129-1.173.083-.894.815-1.97 1.778-1.222zm18.27 14.434c-1.048 1.176-3.299 2.527-4.609 2.154l.002-.002c.014-.019.125-.043.177-.055.838-.192 1.555-.639 2.285-1.058.556-.295 1.048-.682 1.525-1.1l.04-.032c.106-.089.223-.18.352-.214.226-.053.428.11.228.307zM2.012 11.4c1.647.403 2.589 1.718 3.455 3.08l.108.17.226.358c.25.398.502.79.77 1.155.213.305.442.598.666.894.048.058.115.21.05.216h-.011c-.051 0-.127-.062-.172-.106a41.465 41.465 0 01-.727-.698l-.24-.236a26.247 26.247 0 00-1.103-1.032c-.165-.079-.093.137-.027.238.187.286.463.497.695.747.353.352.711.7 1.094 1.018.805.66 1.68 1.232 2.534 1.832l.056.042c.099.074.211.172.205.28-.005.288-1.397.287-1.663.275H7.92c-1.797-.073-3.27-1.012-4.66-2.055l-.138-.105-.097-.073a68.65 68.65 0 01-.287-.22l-.501-.387c-.286-.224-.573-.443-.848-.681C.464 15.3.032 14.098.01 12.882c-.117-1.32.826-1.809 2.003-1.482zm20.708.695l.064.014c.369.078.673.288.899.618.253.37.387.827.28 1.26-.266.87-.806 1.621-1.446 2.26-.15.147-.309.283-.47.418-.178.135-.345.331-.571.376-.19.034-.402-.135-.597-.129-.158 0-.29.092-.41.193-.806.767-1.78 1.286-2.772 1.765l-.186.089-.186.089-.248.117-.017.007c-.189.076-.786.402-.87.234l-.004-.007c-.034-.07.03-.211.091-.298.968-1.244 1.618-2.666 2.246-4.097l.213-.486.255-.576.123-.26c.19-.4.397-.807.726-1.098.77-.65 1.924-.691 2.88-.49zM21.197 4.78c.161.335.22.69.327 1.054.022.084.04.171.04.257v.012a.977.977 0 01-.027.217l-.073.3a7.983 7.983 0 01-.331 1.104c-.32.797-.632 1.597-.942 2.399l-.373.962c-.688 1.776-1.381 3.551-2.15 5.292-.453.953-1.084 1.814-1.791 2.59-.197.227-.453.404-.777.323-.51-.124-.59-.456-.416-.918.187-.546.42-1.08.567-1.636.286-1.186.382-2.408.2-3.628-.094-.72-.458-.813-.943-1.199a.586.586 0 01-.207-.52c.034-.337.158-.684.264-1.01l.015-.046c.353-1.092 1.013-2.015 1.707-2.912l.08-.103.08-.103.162-.206c.12-.154.241-.308.36-.463.222-.296.529-.5.84-.688.48-.32.792-.816 1.258-1.146.566-.437 1.708-.666 2.13.068zM11.21 18.728c.007.54.965.728.996.052v-.013c.037-.614-.95-.599-.996-.04zm-5.78-.884h-.002c.8.623 1.737 1.182 2.757 1.33 0-.02-.09-.059-.123-.076-.876-.411-1.752-.862-2.632-1.254zM.76 14.145l.009.02c.88 1.917 2.523 3.067 4.354 3.903l.055.026.001-.001-.253-.159-.152-.095-.1-.064-.096-.06c-1.466-.93-2.883-1.934-3.767-3.51l-.049-.088c-.048-.083-.047-.07-.002.028zm14.154-1.55c.293.401.325.933.331 1.411v.013a7.8 7.8 0 01-.267 1.831c-.028.081-.05.171-.074.261l-.011.042-.012.04c-.052.18-.122.351-.274.444-.317.166-.444-.222-.414-.482.028-1 .078-2.002.128-3 .016-.199.013-.403.06-.6.02-.077.055-.143.106-.173.163-.077.33.093.427.212zm1.373-9.036c.609.393.956 1.003 1.052 1.716l.005.034a.666.666 0 01-.184.569c-2.37 2.286-3.416 5.563-3.605 8.805l-.026.204c-.045.34-.094.68-.165 1.014-.09.377-.438.46-.66.124-.112-.17-.122-.388-.138-.587a98.335 98.335 0 01-.098-1.872c-.044-.646.108-.898.588-1.298.259-.263.3-.595.232-.955l-.022-.102c-.077-.352-.167-.715-.4-.996-.362-.432-1.06-.554-1.495-.158-.556.515-.644 1.344-.361 2.021l.01.025c.232.546.445 1.108.533 1.695l.009.061c.064.427.05.867-.01 1.293l-.013.096c-.026.193-.042.423-.163.554-.089.1-.257.129-.389.082-.173-.055-.201-.263-.203-.427-.002-.637-.154-1.246-.32-1.852l-.084-.304a17.057 17.057 0 01-.174-.669l-.22-.949c-.2-.87-.396-1.742-.565-2.62-.504-1.985.138-3.798 1.852-4.934.37-.228.792-.434 1.236-.434.573-.004 1.156.34 1.4.88.082.188.093.394.086.597V5.2c-.031.816-.071 1.633-.11 2.45l-.02.412-.013.274c-.023.458-.042.915-.036 1.374.003.113-.005.24.016.347.01.047.023.07.037.06l.003-.001-.002-.002c.028-.024.05-.149.054-.208.019-.184.038-.369.054-.553.102-1.29.162-2.582.28-3.87.075-.899.953-2.621 2.03-1.925zM1.84 3.237c-.33.095-.365.509-.32.804l.02.167c.045.39.099.78.187 1.16l.054.224c.05.203.093.407.078.617-.03.253-.088.499-.007.746.177.7.449 1.363.78 1.999l.014.02c.107.15.073-.046.033-.135l-.195-.482c-.065-.16-.13-.321-.19-.483l-.082-.217c-.165-.446-.307-.895-.203-1.38.082-.268.08-.537-.037-.796-.228-.605-.363-1.25-.23-1.89.23-.935 1.874.88 2.082 1.23.205.29.379.614.512.948.257.655.505 1.304.743 1.964.849 2.276 1.312 4.665 1.713 7.065l.001.001a1.37 1.37 0 00-.011-.274l-.002-.012c-.07-.573-.135-1.15-.209-1.722-.245-2.102-.837-4.132-1.562-6.113l-.037-.103a6.717 6.717 0 00-1.063-1.937l-.023-.027C3.506 4.15 2.44 3.075 1.84 3.237zm5.688 10.665c.119.666.373.617.964.656h.013c.317.03.503-.115.559-.422l.003-.019c.146-.84-.385-1.915-1.262-2.068-.781-.079-.347 1.417-.277 1.853zm.67-1.185c.214.21.4.555.353.899l-.003.011c-.066.216-.397.167-.52.054a.392.392 0 01-.088-.172c-.07-.245-.134-.507-.127-.764.023-.264.264-.158.385-.028zm4.026-2.251c.4.147.491.734.273 1.078-.328.499-1.009.373-.966-.299v-.015c.006-.369.274-.886.693-.764zm7.163-5.23v.01c-.014.173.01.355.028.529.148 1.259.17 2.518-.015 3.775-.04.28-.093.555-.15.832-.024.175-.108.41-.094.571l.002.002c.01.009.036-.032.063-.101.054-.14.092-.3.126-.448.364-1.723.499-3.504.304-5.255-.075-.246-.25-.12-.264.085zm-.962.684c.271.565.321 1.175.35 1.784l.011.278c.008.172.016.342.03.511h.001c.14-.862.114-1.766-.35-2.544l-.02-.035c-.053-.084-.064-.09-.022.006zm2.225-.994c-.021.01-.02.095-.024.133-.027.705-.073 1.37-.086 2.033h.001l.054-.243c.124-.57.231-1.16.103-1.79l-.009-.036c-.01-.04-.023-.09-.039-.097zm-12.524-2.2c.281.257.521.567.68.917.282.646-.196 1.064-.811 1.063h-.032c-.55.015-1.096-.403-1.18-.955l-.002-.02c-.11-.691.705-1.576 1.345-1.005zm5.76-1.494l.007.012c.094.15.17.315.247.475l.017.036c.064.136.131.253.098.395l-.002.01v.001l-.017.064c-.037.139-.087.302-.187.404-.227.264-.684.22-.867-.073l-.009-.015c-.239-.394-.148-1.039.19-1.344.147-.133.41-.141.523.035zM20.337.5c.96.022.681 1.21-.15 1.16a.568.568 0 01-.493-.65c.035-.33.279-.505.61-.51h.033z`})]}))});function XL(e){"@babel/helpers - typeof";return XL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},XL(e)}function ZL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function QL(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gR(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var _R=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=hR(e,lR);return(0,F.jsxs)(`svg`,dR(dR({fill:`currentColor`,fillRule:`evenodd`,height:n,style:dR({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:iR}),(0,F.jsx)(`path`,{d:`M19.667 8.275c0-4.57-4.15-8.275-9.27-8.275-1.774 0-3.213 3.705-3.213 8.275 0 1.143.09 2.233.253 3.224H4.29L1 23h9.4v-6.447c5.117 0 9.266-3.707 9.266-8.275l.001-.002zm-9.27-6.76c.93 0 1.682 3.028 1.682 6.76 0 3.733-.752 6.76-1.681 6.76-.93 0-1.681-3.027-1.681-6.76 0-3.732.752-6.76 1.68-6.76z`}),(0,F.jsx)(`path`,{d:`M19.848 16.552h-9.44L14.028 23h9.438l-3.618-6.448z`})]}))});function vR(e){"@babel/helpers - typeof";return vR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vR(e)}function yR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bR(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function RR(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var zR=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=LR(e,jR);return(0,F.jsxs)(`svg`,NR(NR({fill:`currentColor`,fillRule:`evenodd`,height:n,style:NR({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ER}),(0,F.jsx)(`path`,{d:`M17.86 22.992c-2.669.245-4.887-2.876-6.597-4.454C10.398 24.759 1 24.177 1 17.86V6.15c0-.921.244-1.861.733-2.65C2.635 1.977 4.383.98 6.15 1h11.71c6.316 0 6.918 9.398.677 10.243l2.97 2.951c3.252 3.064.808 8.929-3.646 8.797zm-1.428-3.721c1.842 1.898 4.774-1.034 2.876-2.876l-5.132-5.132H11.3v2.876l4.436 4.436.696.696zM4.12 17.842c-.037 2.632 4.117 2.632 4.06 0V6.132c.038-1.316-1.353-2.35-2.612-1.955-.057.019-.113.037-.15.056-.79.301-1.335 1.09-1.317 1.936v11.673h.02zm13.74-9.68c2.632.037 2.632-4.098 0-4.06h-6.973c.526 1.109.395 2.857.413 4.06h6.56z`})]}))});function BR(e){"@babel/helpers - typeof";return BR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},BR(e)}function VR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HR(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var sz=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=az(e,$R);return(0,F.jsxs)(`svg`,tz(tz({height:n,style:tz({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:JR}),(0,F.jsx)(`path`,{d:`M9.1.503l2.824 4.47a1.078 1.078 0 01-.911 1.655H9.858v6.692h-1.67V0c.35 0 .7.168.912.503z`,fill:`#8FBCFA`}),(0,F.jsx)(`path`,{d:`M4.453 4.974L7.277.503A1.07 1.07 0 018.189 0v13.32a2.633 2.633 0 00-1.67.48V6.628H5.364c-.85 0-1.366-.936-.912-1.654z`,fill:`#468BFF`}),(0,F.jsx)(`path`,{d:`M17.041 17.74h-7.028c.423-.457.67-1.049.7-1.67h12.956c0 .35-.168.7-.502.912l-4.472 2.823a1.078 1.078 0 01-1.654-.911v-1.155z`,fill:`#FDBB11`}),(0,F.jsx)(`path`,{d:`M18.695 12.334l4.47 2.824c.336.212.503.562.503.912H10.713a2.65 2.65 0 00-.493-1.67h6.822v-1.154c0-.85.935-1.366 1.653-.912z`,fill:`#F6D785`}),(0,F.jsx)(`path`,{d:`M4.394 19.605L.316 23.683a1.07 1.07 0 001 .29l5.158-1.165A1.078 1.078 0 007 20.994l-.816-.816 3.073-3.074a1.61 1.61 0 000-2.276l-.042-.043-4.82 4.82z`,fill:`#FF9A9D`}),(0,F.jsx)(`path`,{d:`M3.822 17.817l3.073-3.074a1.61 1.61 0 012.277 0l.042.043-4.818 4.819-4.08 4.079a1.07 1.07 0 01-.289-1l1.165-5.158A1.078 1.078 0 013.006 17l.816.817z`,fill:`#FE363B`})]}))});function cz(e){"@babel/helpers - typeof";return cz=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},cz(e)}function lz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uz(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Tz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var $=(0,P.memo)(function(e){var t=e.shape,n=t===void 0?`circle`:t,r=e.color,i=r===void 0?`#fff`:r,a=e.background,o=e.size,s=e.style,c=e.iconMultiple,l=c===void 0?.75:c,u=e.Icon,d=e.iconStyle,f=e.iconClassName,p=wz(e,vz),m=Vc().isDarkMode;return(0,F.jsx)(qc,bz(bz({flex:`none`,style:bz({background:a,borderRadius:n===`circle`?`50%`:Math.floor(o*.1),boxShadow:gz(m,a),color:i,height:o,width:o},s)},p),{},{children:u&&(0,F.jsx)(u,{className:f,color:i,size:o,style:bz({transform:`scale(${l})`},d)})}))});function Ez(e){"@babel/helpers - typeof";return Ez=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ez(e)}function Dz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Oz(e){for(var t=1;t0?` has-backends`:``}`,onClick:i,children:[(0,F.jsx)(Iz,{id:e.id,size:28}),(0,F.jsx)(`span`,{className:`provider-tile-name`,children:e.display_name}),(0,F.jsx)(`span`,{className:`provider-tile-id`,children:e.id}),t>0&&(0,F.jsxs)(`span`,{className:`provider-tile-count`,children:[t,` key`,t===1?``:`s`]})]}),(0,F.jsx)(`button`,{type:`button`,className:`provider-fav-btn${n?` active`:``}`,"aria-label":n?`Remove from favorites`:`Add to favorites`,"aria-pressed":n,title:n?`Unfavorite`:`Favorite`,onClick:e=>{e.stopPropagation(),r()},children:n?`♥`:`♡`})]})}function Bz({backend:e,healthStatus:t,onDelete:n}){return(0,F.jsxs)(`div`,{className:`provider-backend-row`,children:[(0,F.jsx)(kc,{status:t===`up`?`ok`:t===`down`?`err`:`dim`,pulse:t===`up`}),(0,F.jsx)(`span`,{className:`backend-name`,children:e.name}),(0,F.jsxs)(`span`,{className:`backend-status`,children:[e.api_key_set?`key set`:`no key`,e.rpm!=null&&(0,F.jsxs)(F.Fragment,{children:[` · RPM `,e.rpm]})]}),(0,F.jsx)(U,{tone:`danger`,size:`sm`,onClick:n,children:`Delete`})]})}function Vz({provider:e,existingCount:t}){let n=ao(),r=Xa(),i=()=>{let n={name:`${e.id}-${t+1}`,provider_id:e.id};return Lz(e)&&e.default_base_url&&(n.api_base=e.default_base_url),n},[a,o]=(0,P.useState)(i);(0,P.useEffect)(()=>{o(i())},[e.id,t]);function s(){n.mutate({name:a.name,provider_id:e.id,api_key:a.api_key||void 0,api_base:a.api_base||void 0,deployment:a.deployment||void 0,api_version:a.api_version||void 0,project:a.project||void 0,region:a.region||void 0,aws_access_key_id:a.aws_access_key_id||void 0,aws_secret_access_key:a.aws_secret_access_key||void 0,aws_session_token:a.aws_session_token||void 0,rpm:a.rpm?Number(a.rpm):void 0,tpm:a.tpm?Number(a.tpm):void 0},{onSuccess:()=>o(i())})}function c(){r.mutate({source:`custom`,url:a.api_base||e.default_base_url,provider_id:e.id,api_key:a.api_key||void 0})}let l=Mc(e);return(0,F.jsxs)(`div`,{className:`provider-add-form`,children:[(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`add-backend-name`,children:`Name`}),(0,F.jsx)(`input`,{id:`add-backend-name`,name:`name`,type:`text`,value:a.name,onChange:e=>o(t=>({...t,name:e.target.value})),style:{width:`100%`}})]}),l.map(e=>(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`add-${e.name}`,children:e.label}),e.hint&&(0,F.jsx)(`div`,{className:`form-hint`,children:e.hint}),(0,F.jsx)(`input`,{id:`add-${e.name}`,name:e.name,type:e.type,placeholder:e.placeholder,value:a[e.name]??``,onChange:t=>o(n=>({...n,[e.name]:t.target.value})),style:{width:`100%`}})]},e.name)),r.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:Rz(r.error,`Failed to query models`)}),r.isSuccess&&(0,F.jsx)(`div`,{className:`form-hint`,children:r.data.models.length>0?`Found ${r.data.models.length} model(s): ${r.data.models.slice(0,8).map(e=>e.id).join(`, `)}${r.data.models.length>8?`, …`:``}`:`No models returned by the server.`}),n.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:Rz(n.error,`Failed to create backend`)}),(0,F.jsxs)(`div`,{className:`provider-add-actions`,children:[(0,F.jsx)(U,{size:`sm`,onClick:()=>o(i()),disabled:n.isPending,children:`Reset`}),(0,F.jsx)(U,{size:`sm`,onClick:c,disabled:r.isPending||!a.api_base&&!e.default_base_url,loading:r.isPending,children:`Query models`}),(0,F.jsx)(U,{tone:`primary`,size:`sm`,onClick:s,disabled:!a.name||n.isPending,loading:n.isPending,children:`Create`})]})]})}function Hz({provider:e,backends:t,healthMap:n,onClose:r,onDeleteBackend:i}){let a=e.capabilities,o=[[`chat`,a.chat_completions],[`streaming`,a.streaming],[`tool use`,a.tool_use],[`vision`,a.vision],[`embeddings`,a.embeddings],[`batch`,a.batch]];return(0,F.jsxs)(oc,{open:!0,onClose:r,title:`${e.display_name} (${e.id})`,size:`md`,children:[(0,F.jsxs)(`div`,{className:`provider-panel-caps`,children:[o.map(([e,t])=>(0,F.jsx)(`span`,{className:`badge-cap${t?` active`:``}`,children:e},e)),(0,F.jsxs)(`span`,{style:{marginLeft:`auto`},className:`badge-cap active`,children:[e.model_count,` models`]})]}),(0,F.jsxs)(`div`,{className:`provider-panel-meta`,children:[(0,F.jsxs)(`span`,{children:[`Protocol: `,(0,F.jsx)(`span`,{className:`mono`,children:e.protocol.replace(/_/g,` `)})]}),(0,F.jsxs)(`span`,{children:[`Auth: `,(0,F.jsx)(`span`,{className:`mono`,children:e.auth.replace(/_/g,` `)})]}),(0,F.jsxs)(`span`,{children:[`Status: `,(0,F.jsx)(`span`,{className:`mono`,children:e.status})]}),e.env_vars.length>0&&(0,F.jsxs)(`span`,{children:[`Env: `,(0,F.jsx)(`span`,{className:`mono`,children:e.env_vars[0]})]})]}),(0,F.jsxs)(`div`,{className:`provider-panel-section`,children:[(0,F.jsxs)(`div`,{className:`provider-panel-section-label`,children:[`Configured keys (`,t.length,`)`]}),t.length===0&&(0,F.jsx)(`div`,{className:`provider-empty-hint`,children:`No keys configured. Add one below to start forwarding requests.`}),t.map(e=>(0,F.jsx)(Bz,{backend:e,healthStatus:n.get(e.name),onDelete:()=>i(e)},e.id)),(0,F.jsx)(Vz,{provider:e,existingCount:t.length})]})]})}function Uz(){let e=to(),t=io(),{data:n}=$a(),{data:r}=no(),i=ro(),a=so(),o=(0,P.useMemo)(()=>new Set(r??[]),[r]),[s,c]=(0,P.useState)(null),[l,u]=(0,P.useState)(``),[d,f]=(0,P.useState)(null),p=(0,P.useMemo)(()=>e.data??[],[e.data]),m=(0,P.useMemo)(()=>t.data?.backends??[],[t.data]),h=(0,P.useMemo)(()=>{let e=new Map;for(let t of m)e.has(t.provider_id)||e.set(t.provider_id,[]),e.get(t.provider_id).push(t);return e},[m]),g=(0,P.useMemo)(()=>{let e=new Map;for(let t of n?.backends??[])e.set(t.name,t.status);return e},[n]),_=(0,P.useMemo)(()=>{let e=l.toLowerCase();return Lc(e?p.filter(t=>t.display_name.toLowerCase().includes(e)||t.id.includes(e)):p,o)},[p,l,o]),v=s?p.find(e=>e.id===s):null,y=s?h.get(s)??[]:[];function b(){return d?a.mutateAsync(d.name).then(()=>void 0):Promise.resolve()}return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`h2`,{children:`Providers`}),(0,F.jsx)(`input`,{type:`search`,name:`provider-search`,placeholder:`Search providers...`,value:l,onChange:e=>u(e.target.value),style:{width:260}})]}),(0,F.jsx)(nc,{query:e,errorTitle:`Failed to load provider catalog`,empty:{when:()=>p.length===0,render:()=>(0,F.jsxs)(W,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No providers available`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`The provider catalog is empty. Check that the providers crate is loaded.`})]})},children:()=>(0,F.jsxs)(`div`,{className:`provider-catalog`,children:[_.map(e=>(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`provider-tier-label`,children:e.label}),(0,F.jsx)(`div`,{className:`provider-tile-grid${e.top?` tier-top`:``}`,children:e.providers.map(e=>(0,F.jsx)(zz,{provider:e,backendCount:h.get(e.id)?.length??0,favorited:o.has(e.id),onToggleFavorite:()=>i.mutate({providerId:e.id,on:!o.has(e.id)}),onClick:()=>c(e.id)},e.id))})]},e.key)),_.length===0&&l&&(0,F.jsxs)(`div`,{className:`dim`,style:{padding:20},children:[`No providers match "`,l,`".`]})]})}),v&&(0,F.jsx)(Hz,{provider:v,backends:y,healthMap:g,onClose:()=>c(null),onDeleteBackend:f},s),(0,F.jsx)(sc,{open:d!==null,onClose:()=>f(null),onConfirm:b,title:`Delete backend?`,message:(0,F.jsxs)(F.Fragment,{children:[`Delete backend `,(0,F.jsx)(`span`,{className:`mono`,children:d?.name}),`? Routes referencing this backend will lose it from their provider list.`]})})]})}function Wz({initial:e,onSuccess:t,onCancel:n}){let r=!!e,{data:i=[]}=to(),a=ao(),o=oo(),[s,c]=(0,P.useState)(e?.name??``),[l,u]=(0,P.useState)(e?.provider_id??``),[d,f]=(0,P.useState)(()=>{if(!e)return{};let t={};for(let n of[`api_base`,`deployment`,`api_version`,`project`,`region`])e[n]!=null&&(t[n]=e[n]);return e.rpm!=null&&(t.rpm=String(e.rpm)),e.tpm!=null&&(t.tpm=String(e.tpm)),t}),[p,m]=(0,P.useState)(null);(0,P.useEffect)(()=>{i.length>0&&!l&&u(e?.provider_id??i[0].id)},[i.length]);let h=i.find(e=>e.id===l)??(i.length>0?i[0]:void 0),g=h?Mc(h):[],_=g.filter(e=>e.group===`auth`),v=g.filter(e=>e.group===`endpoint`),y=g.filter(e=>e.group===`limits`);function b(e){return d[e]??``}function x(e,t){f(n=>({...n,[e]:t}))}function S(t){return!r||!e?!1:t===`api_key`?e.api_key_set:t===`aws_secret_access_key`||t===`aws_access_key_id`?e.aws_creds_set:!1}function C(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==``))}function w(n){n.preventDefault(),m(null);let i=C(d);if(r&&e)o.mutate({name:e.name,data:i},{onSuccess:()=>t(),onError:e=>m(e.message)});else{if(!s){m(`Name is required`);return}a.mutate({name:s,provider_id:l,...i},{onSuccess:()=>t(),onError:e=>m(e.message)})}}let T=a.isPending||o.isPending;function E(e){let t=b(e.name),n=S(e.name),r=e.type===`url`?`text`:e.type;return(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[(0,F.jsxs)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:3},children:[e.label,e.required&&(0,F.jsx)(`span`,{style:{color:`var(--err)`,marginLeft:2},children:`*`})]}),(0,F.jsx)(`input`,{type:r,value:t,placeholder:n?`••••••••`:e.placeholder,onChange:t=>x(e.name,t.target.value),style:{width:`100%`}}),e.hint&&(0,F.jsx)(`div`,{style:{fontSize:11,color:`var(--text-2)`,marginTop:3},children:e.hint})]},e.name)}return(0,F.jsxs)(`form`,{onSubmit:w,style:{padding:`12px`,background:`var(--bg-raised)`,border:`1px solid var(--border)`,borderRadius:`var(--rm)`,marginBottom:14},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:12,fontSize:13},children:r?`Edit backend: ${e.name}`:`Add managed backend`}),(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[(0,F.jsxs)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:3},children:[`Provider`,(0,F.jsx)(`span`,{style:{color:`var(--err)`,marginLeft:2},children:`*`})]}),(0,F.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[l&&(0,F.jsx)(Iz,{id:l,size:18,style:{flexShrink:0}}),(0,F.jsxs)(`select`,{value:l,onChange:e=>{u(e.target.value),f({})},disabled:r,style:{flex:1},children:[i.length===0&&(0,F.jsx)(`option`,{value:``,children:`Loading providers…`}),[`implemented`,`wired`,`stub`].map(e=>{let t=i.filter(t=>t.status===e);return t.length===0?null:(0,F.jsx)(`optgroup`,{label:e.charAt(0).toUpperCase()+e.slice(1),children:t.map(e=>(0,F.jsxs)(`option`,{value:e.id,children:[e.display_name,` (`,e.id,`)`]},e.id))},e)})]})]})]}),(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[(0,F.jsxs)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:3},children:[`Name`,(0,F.jsx)(`span`,{style:{color:`var(--err)`,marginLeft:2},children:`*`})]}),(0,F.jsx)(`input`,{type:`text`,value:s,onChange:e=>c(e.target.value),required:!0,pattern:`[a-zA-Z0-9_\\-]+`,placeholder:`my-backend`,disabled:r,style:{width:`100%`}}),!r&&(0,F.jsx)(`div`,{style:{fontSize:11,color:`var(--text-2)`,marginTop:3},children:`Letters, numbers, underscores, hyphens only`})]}),_.length>0&&(0,F.jsxs)(`div`,{style:{marginBottom:4},children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:6},children:`Authentication`}),_.map(E)]}),v.length>0&&(0,F.jsxs)(`div`,{style:{marginBottom:4},children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:6},children:`Endpoint`}),v.map(E)]}),y.length>0&&(0,F.jsxs)(`details`,{style:{marginBottom:10},children:[(0,F.jsx)(`summary`,{style:{fontSize:11,color:`var(--text-2)`,cursor:`pointer`,textTransform:`uppercase`,letterSpacing:`0.07em`,fontWeight:500,marginBottom:6},children:`Rate Limits`}),(0,F.jsx)(`div`,{style:{marginTop:8},children:y.map(E)})]}),p&&(0,F.jsx)(`div`,{style:{marginBottom:10,padding:`6px 10px`,background:`var(--err-dim)`,borderLeft:`3px solid var(--err)`,borderRadius:`var(--r)`,fontSize:12},children:p}),(0,F.jsxs)(`div`,{style:{display:`flex`,gap:8},children:[(0,F.jsx)(U,{type:`submit`,tone:`primary`,size:`sm`,loading:T,children:r?`Save changes`:`Create backend`}),(0,F.jsx)(U,{type:`button`,size:`sm`,onClick:n,disabled:T,children:`Cancel`})]})]})}function Gz(){let{data:e,isLoading:t,error:n}=io(),{data:r=[]}=to(),i=so(),[a,o]=(0,P.useState)({mode:`none`}),[s,c]=(0,P.useState)(null),l=(0,P.useMemo)(()=>Object.fromEntries(r.map(e=>[e.id,e.display_name])),[r]);function u(e){return l[e]??e}function d(){return s?i.mutateAsync(s.name).then(()=>void 0):Promise.resolve()}return(0,F.jsxs)(`div`,{style:{marginBottom:24},children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`div`,{className:`section-label`,style:{margin:0},children:`Managed Backends`}),(0,F.jsx)(U,{tone:`primary`,size:`sm`,onClick:()=>o({mode:`create`}),children:`Add Backend`})]}),(0,F.jsx)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:10},children:`Configure provider credentials and backend settings at runtime.`}),a.mode===`create`&&(0,F.jsx)(Wz,{onSuccess:()=>o({mode:`none`}),onCancel:()=>o({mode:`none`})}),a.mode===`edit`&&(0,F.jsx)(Wz,{initial:a.backend,onSuccess:()=>o({mode:`none`}),onCancel:()=>o({mode:`none`})}),(0,F.jsx)(Qs,{loading:t,error:n?.message}),e&&e.backends.length===0&&(0,F.jsx)(`div`,{style:{padding:`20px 0`,color:`var(--text-2)`,fontSize:13},children:`No managed backends yet. Add one to configure provider credentials at runtime.`}),e&&e.backends.length>0&&(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Name`}),(0,F.jsx)(`th`,{children:`Provider`}),(0,F.jsx)(`th`,{children:`Credentials`}),(0,F.jsx)(`th`,{children:`Base URL`}),(0,F.jsx)(`th`,{})]})}),(0,F.jsx)(`tbody`,{children:e.backends.map(e=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:e.name}),(0,F.jsxs)(`td`,{className:`dim`,style:{whiteSpace:`nowrap`},children:[(0,F.jsx)(Iz,{id:e.provider_id,size:16,style:{marginRight:6,verticalAlign:`middle`,opacity:.8}}),u(e.provider_id)]}),(0,F.jsxs)(`td`,{children:[e.api_key_set&&(0,F.jsx)(`span`,{className:`badge badge-active`,style:{marginRight:4},children:`Key set`}),!e.api_key_set&&!e.aws_creds_set&&(0,F.jsx)(`span`,{className:`badge badge-revoked`,children:`No key`}),e.aws_creds_set&&(0,F.jsx)(`span`,{className:`badge badge-active`,children:`AWS creds set`})]}),(0,F.jsx)(`td`,{className:`dim mono`,style:{fontSize:11},children:e.api_base??`—`}),(0,F.jsx)(`td`,{children:(0,F.jsxs)(`div`,{style:{display:`flex`,gap:6},children:[(0,F.jsx)(U,{size:`sm`,onClick:()=>{a.mode===`edit`&&a.backend.id===e.id?o({mode:`none`}):o({mode:`edit`,backend:e})},children:`Edit`}),(0,F.jsx)(U,{tone:`danger`,size:`sm`,onClick:()=>c(e),disabled:i.isPending&&i.variables===e.name,children:`Delete`})]})})]},e.id))})]}),(0,F.jsx)(sc,{open:s!==null,onClose:()=>c(null),onConfirm:d,title:`Delete managed backend?`,message:(0,F.jsxs)(F.Fragment,{children:[`Delete backend `,(0,F.jsx)(`span`,{className:`mono`,children:s?.name}),`? Stored credentials will be removed. Routes still referencing it will fail until reconfigured.`]})})]})}function Kz(){let{data:e,isLoading:t,error:n}=Ha(),{data:r}=$a(),i=(0,P.useMemo)(()=>{let e=new Map;for(let t of r?.backends??[])e.set(t.name,t);return e},[r]);return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(Gz,{}),(0,F.jsx)(`div`,{className:`section-label`,style:{marginTop:8},children:`Backend Status`}),(0,F.jsx)(Qs,{loading:t,error:n?.message,empty:e?.length===0}),(0,F.jsx)(`div`,{className:`backend-cards`,children:e?.map(e=>{let t=i.get(e.name),n=t?.status===`up`?`ok`:t?.status===`down`?`err`:`dim`;return(0,F.jsxs)(W,{className:`card`,children:[(0,F.jsxs)(`div`,{className:`card-header`,children:[(0,F.jsx)(`span`,{className:`card-name`,children:e.name}),(0,F.jsx)(kc,{status:n,pulse:n===`ok`})]}),(0,F.jsxs)(`div`,{className:`card-body`,children:[(0,F.jsxs)(`div`,{className:`mono`,children:[e.big_model,` / `,e.small_model]}),(0,F.jsxs)(`div`,{style:{marginTop:6,display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:4},children:[(0,F.jsx)(`span`,{className:`dim`,children:`Requests`}),(0,F.jsx)(`span`,{className:`mono`,children:e.metrics.requests_total}),(0,F.jsx)(`span`,{className:`dim`,children:`Errors`}),(0,F.jsx)(`span`,{className:`mono`,style:{color:e.metrics.requests_error>0?`var(--err)`:void 0},children:e.metrics.requests_error}),t?.last_latency_ms!=null&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`span`,{className:`dim`,children:`Last latency`}),(0,F.jsxs)(`span`,{className:`mono`,children:[t.last_latency_ms,`ms`]})]}),t&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`span`,{className:`dim`,children:`30d uptime`}),(0,F.jsxs)(`span`,{className:`mono`,children:[t.uptime_pct_30d,`%`]})]})]})]})]},e.name)})})]})}var qz=[`failover`,`round-robin`,`least-busy`,`latency`,`weighted`,`cost`];function Jz({value:e,onChange:t}){return(0,F.jsxs)(`select`,{value:e===null?`inherit`:e?`on`:`off`,onChange:e=>{let n=e.target.value;t(n===`inherit`?null:n===`on`)},children:[(0,F.jsx)(`option`,{value:`inherit`,children:`inherit (global)`}),(0,F.jsx)(`option`,{value:`on`,children:`on`}),(0,F.jsx)(`option`,{value:`off`,children:`off`})]})}function Yz({route:e,onClose:t}){let{data:n,isLoading:r}=po(e.id),i=B(),a=V(),o=mo(),s=ho(),c=uo(),l=oo(),{data:u}=io(),{data:d}=Pa(),[f,p]=(0,P.useState)(!1),[m,h]=(0,P.useState)(``),[g,_]=(0,P.useState)(`*`),v=n?.providers??[],y=u?.backends??[],b=[`curl ${`http://${window.location.hostname}:${d?.proxy_port??3e3}/v1/chat/completions`} \\`,` -H 'Authorization: Bearer ' \\`,` -H 'Content-Type: application/json' \\`,` -d '${JSON.stringify({model:e.name,messages:[{role:`user`,content:`hi`}]})}'`].join(` -`);async function x(){pa(await _c(b)?{variant:`success`,message:`curl snippet copied`}:{variant:`error`,message:`Copy failed (clipboard blocked)`})}let S=new Set(v.map(e=>e.backend_id)),C=y.filter(e=>!S.has(e.id));function w(){if(!m)return;let t=g.trim()===`*`?[`*`]:g.split(`,`).map(e=>e.trim()).filter(Boolean);i.mutate({routeId:e.id,data:{backend_id:m,models:t,priority:v.length,enabled:!0}},{onSuccess:()=>{p(!1),h(``),_(`*`)}})}function T(t,n){let r=t+n;if(r<0||r>=v.length)return;let i=v.slice(),[a]=i.splice(t,1);i.splice(r,0,a),s.mutate({routeId:e.id,data:{provider_ids:i.map(e=>e.id)}})}return(0,F.jsxs)(`div`,{className:`route-detail`,children:[(0,F.jsxs)(`div`,{className:`route-detail-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`span`,{className:`route-detail-title`,children:e.name}),e.description&&(0,F.jsx)(`span`,{className:`dim route-detail-desc`,children:e.description})]}),(0,F.jsxs)(`div`,{className:`route-detail-meta`,children:[e.rpm&&(0,F.jsxs)(`span`,{className:`dim mono`,children:[`RPM `,e.rpm]}),(0,F.jsx)(U,{size:`sm`,tone:e.enabled?`primary`:`secondary`,title:`Route on/off. Disabled routes stop dispatching and lose virtual-key scope.`,onClick:()=>c.mutate({id:e.id,data:{enabled:!e.enabled}}),children:e.enabled?`route on`:`route off`}),(0,F.jsx)(U,{size:`sm`,onClick:t,children:`Close`})]})]}),e.enabled&&(0,F.jsxs)(`div`,{className:`route-detail-curl`,children:[(0,F.jsxs)(`div`,{className:`route-detail-curl-head`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Call this route`}),(0,F.jsx)(U,{size:`sm`,onClick:x,children:`Copy curl`})]}),(0,F.jsx)(`pre`,{className:`route-detail-curl-body mono`,children:b}),(0,F.jsxs)(`div`,{className:`dim route-detail-curl-hint`,children:[`The route is selected by the `,(0,F.jsx)(`code`,{children:`model`}),` field (= route name). Replace`,` `,(0,F.jsx)(`code`,{children:``}),` with a proxy or virtual key.`]})]}),(0,F.jsxs)(`div`,{className:`route-detail-options`,children:[(0,F.jsx)(`span`,{className:`section-label route-detail-subhead-label`,children:`Route options`}),(0,F.jsxs)(`div`,{className:`route-options-grid`,children:[(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Strategy`}),(0,F.jsx)(`select`,{value:e.strategy,onChange:t=>c.mutate({id:e.id,data:{strategy:t.target.value}}),children:qz.map(e=>(0,F.jsx)(`option`,{value:e,children:e},e))})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Position (lower wins across routes)`}),(0,F.jsx)(`input`,{type:`number`,name:`route-position`,defaultValue:e.position,onBlur:t=>{let n=Number.parseInt(t.target.value,10);Number.isNaN(n)||n===e.position||c.mutate({id:e.id,data:{position:n}})}})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Guardrails`}),(0,F.jsxs)(`select`,{value:e.guardrail_mode??`inherit`,onChange:t=>c.mutate({id:e.id,data:{guardrail_mode:t.target.value===`inherit`?null:t.target.value}}),children:[(0,F.jsx)(`option`,{value:`inherit`,children:`inherit (global)`}),(0,F.jsx)(`option`,{value:`disabled`,children:`disabled`}),(0,F.jsx)(`option`,{value:`standard`,children:`standard`})]})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Secret redaction`}),(0,F.jsx)(Jz,{value:e.redact_secrets,onChange:t=>c.mutate({id:e.id,data:{redact_secrets:t}})})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Image compression`}),(0,F.jsx)(Jz,{value:e.pxpipe_compress,onChange:t=>c.mutate({id:e.id,data:{pxpipe_compress:t}})})]}),(0,F.jsxs)(`label`,{className:`route-option route-option-wide`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Compression model scope (CSV, blank = inherit)`}),(0,F.jsx)(`input`,{type:`text`,name:`route-pxpipe-models`,defaultValue:e.pxpipe_models??``,placeholder:`inherit global`,onBlur:t=>{let n=t.target.value.trim();(e.pxpipe_models??``)!==n&&c.mutate({id:e.id,data:{pxpipe_models:n===``?null:n}})}})]})]}),(0,F.jsx)(`div`,{className:`dim route-options-note`,children:`Overrides apply only where the feature already runs (image compression: Anthropic passthrough backends only). "inherit" / blank uses the global value from Settings.`})]}),(0,F.jsxs)(`div`,{className:`route-detail-subhead`,children:[(0,F.jsx)(`span`,{className:`section-label route-detail-subhead-label`,children:`Providers (priority order)`}),(0,F.jsx)(U,{tone:`primary`,size:`sm`,onClick:()=>p(!f),children:f?`Cancel`:`+ Add Provider`})]}),f&&(0,F.jsxs)(`div`,{className:`route-detail-add`,children:[(0,F.jsxs)(`select`,{value:m,onChange:e=>h(e.target.value),className:`route-detail-add-select`,children:[(0,F.jsx)(`option`,{value:``,children:`Select provider...`}),C.map(e=>(0,F.jsxs)(`option`,{value:e.id,children:[e.name,` (`,e.provider_id,`)`]},e.id))]}),(0,F.jsx)(`input`,{type:`text`,name:`route-provider-models`,placeholder:`models (* for all)`,value:g,onChange:e=>_(e.target.value),className:`route-detail-add-models`}),(0,F.jsx)(U,{tone:`primary`,size:`sm`,onClick:w,disabled:!m||i.isPending,loading:i.isPending,children:`Add`})]}),r&&(0,F.jsx)(`div`,{className:`dim`,children:(0,F.jsx)(Rs,{label:`Loading providers`})}),!r&&v.length===0&&(0,F.jsx)(`div`,{className:`dim route-detail-empty`,children:`No providers assigned. Click "+ Add Provider" above.`}),!r&&v.map((t,n)=>(0,F.jsxs)(`div`,{className:`route-provider-row`,children:[(0,F.jsxs)(`span`,{className:`dim mono`,children:[n+1,`.`]}),(0,F.jsxs)(`span`,{children:[(0,F.jsx)(`span`,{className:`route-provider-name`,children:t.backend_name}),(0,F.jsxs)(`span`,{className:`dim route-provider-id`,children:[`(`,t.provider_id,`)`]})]}),(0,F.jsxs)(`span`,{className:`mono dim route-provider-models`,children:[`[`,t.models.join(`, `),`]`]}),(0,F.jsxs)(`span`,{className:`route-provider-reorder`,children:[(0,F.jsx)(U,{tone:`icon`,size:`sm`,className:`btn-icon`,onClick:()=>T(n,-1),disabled:n===0||s.isPending,"aria-label":`Move up`,children:`↑`}),(0,F.jsx)(U,{tone:`icon`,size:`sm`,className:`btn-icon`,onClick:()=>T(n,1),disabled:n>=v.length-1||s.isPending,"aria-label":`Move down`,children:`↓`})]}),(0,F.jsx)(U,{size:`sm`,tone:t.enabled?`primary`:`secondary`,className:`route-provider-toggle`,title:`In-route membership: whether this backend is active within this route.`,onClick:()=>a.mutate({routeId:e.id,providerId:t.id,data:{enabled:!t.enabled}}),children:t.enabled?`in route`:`excluded`}),(()=>{let e=y.find(e=>e.id===t.backend_id);return e?(0,F.jsx)(U,{size:`sm`,tone:e.enabled?`primary`:`secondary`,className:`route-provider-toggle`,title:`Backend online (global). Disables this backend everywhere, not just this route.`,onClick:()=>l.mutate({name:e.name,data:{enabled:!e.enabled}}),children:e.enabled?`backend on`:`backend off`}):null})(),(0,F.jsx)(U,{tone:`danger`,size:`sm`,className:`route-provider-remove`,onClick:()=>o.mutate({routeId:e.id,providerId:t.id}),children:`Remove`})]},t.id))]})}function Xz({onClose:e}){let t=lo(),[n,r]=(0,P.useState)(``),[i,a]=(0,P.useState)(``),[o,s]=(0,P.useState)(`failover`);function c(){t.mutate({name:n,description:i||void 0,strategy:o},{onSuccess:e})}return(0,F.jsxs)(oc,{open:!0,onClose:e,title:`New Route`,size:`sm`,dismissable:!t.isPending,footer:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(U,{onClick:e,disabled:t.isPending,children:`Cancel`}),(0,F.jsx)(U,{tone:`primary`,onClick:c,disabled:!n.trim()||t.isPending,loading:t.isPending,children:`Create`})]}),children:[(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`route-name`,children:`Name`}),(0,F.jsx)(`input`,{id:`route-name`,name:`name`,type:`text`,value:n,onChange:e=>r(e.target.value),placeholder:`e.g. default, cheap`,style:{width:`100%`}})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`route-desc`,children:`Description`}),(0,F.jsx)(`input`,{id:`route-desc`,name:`description`,type:`text`,value:i,onChange:e=>a(e.target.value),placeholder:`optional`,style:{width:`100%`}})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`route-strategy`,children:`Strategy`}),(0,F.jsx)(`select`,{id:`route-strategy`,name:`strategy`,value:o,onChange:e=>s(e.target.value),style:{width:`100%`},children:qz.map(e=>(0,F.jsx)(`option`,{value:e,children:e},e))})]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:`0.85em`},children:`Per-route options (guardrails, compression, secret redaction) and on/off are set after creation from the route's detail panel.`}),t.isError&&(0,F.jsx)(`div`,{className:`error`,children:`Failed to create route`})]})}function Zz(){let e=co(),t=fo(),[n,r]=(0,P.useState)(null),[i,a]=(0,P.useState)(!1),[o,s]=(0,P.useState)(null);function c(){return o?t.mutateAsync(o.id).then(()=>void 0):Promise.resolve()}return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`h2`,{children:`Routes`}),(0,F.jsx)(U,{tone:`primary`,onClick:()=>a(!0),children:`+ New Route`})]}),(0,F.jsx)(nc,{query:e,errorTitle:`Failed to load routes`,empty:{when:e=>(e.routes?.length??0)===0,render:()=>(0,F.jsxs)(W,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No routes yet`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Create a route to fan requests out across multiple backends with priority-based failover.`}),(0,F.jsx)(U,{tone:`primary`,onClick:()=>a(!0),children:`+ New Route`})]})},children:e=>(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Name`}),(0,F.jsx)(`th`,{children:`Strategy`}),(0,F.jsx)(`th`,{children:`Providers`}),(0,F.jsx)(`th`,{children:`Limits`}),(0,F.jsx)(`th`,{})]})}),(0,F.jsx)(`tbody`,{children:e.routes.map(e=>(0,F.jsx)(Qz,{route:e,expanded:n===e.id,onToggle:()=>r(n===e.id?null:e.id),onDelete:()=>s(e)},e.id))})]})}),i&&(0,F.jsx)(Xz,{onClose:()=>a(!1)}),(0,F.jsx)(sc,{open:o!==null,onClose:()=>s(null),onConfirm:c,title:`Delete route?`,message:(0,F.jsxs)(F.Fragment,{children:[`Delete route `,(0,F.jsx)(`span`,{className:`mono`,children:o?.name}),`? Virtual keys scoped to this route will lose access. This cannot be undone.`]})})]})}function Qz({route:e,expanded:t,onToggle:n,onDelete:r}){let i=[e.rpm&&`RPM ${e.rpm}`,e.tpm&&`TPM ${e.tpm}`].filter(Boolean).join(`, `)||`—`;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`tr`,{className:`route-row`,onClick:n,children:[(0,F.jsxs)(`td`,{className:`route-row-name`,children:[t?`▾ `:`▸ `,e.name,!e.enabled&&(0,F.jsx)(`span`,{className:`dim route-row-desc`,children:`(disabled)`}),e.description&&(0,F.jsx)(`span`,{className:`dim route-row-desc`,children:e.description})]}),(0,F.jsx)(`td`,{className:`dim`,children:e.strategy}),(0,F.jsx)(`td`,{children:e.provider_count}),(0,F.jsx)(`td`,{className:`mono dim`,children:i}),(0,F.jsx)(`td`,{className:`route-row-actions`,children:(0,F.jsx)(U,{tone:`danger`,size:`sm`,onClick:e=>{e.stopPropagation(),r()},children:`Delete`})})]}),t&&(0,F.jsx)(`tr`,{children:(0,F.jsx)(`td`,{colSpan:5,className:`route-row-detail-cell`,children:(0,F.jsx)(Yz,{route:e,onClose:n})})})]})}function $z(){let e=$i(e=>e.token),t=ea(e=>e.lastEvent),n=wn(),{data:r}=Pa(!!e);if((0,P.useEffect)(()=>{e?oa():sa()},[e]),(0,P.useEffect)(()=>{t&&(t.type===`metrics_snapshot`?n.setQueryData([`metrics`],t.data):t.type===`backend_health_changed`?n.invalidateQueries({queryKey:[`uptime`]}):t.type===`config_changed`&&(n.invalidateQueries({queryKey:[`config`]}),n.invalidateQueries({queryKey:[`env`]})))},[t,n]),!e)return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Bs,{}),(0,F.jsx)(Us,{})]});let i=r?.configured??!0;return(0,F.jsx)(Ni,{children:(0,F.jsxs)(`div`,{className:`app-layout`,children:[(0,F.jsx)(Hs,{}),(0,F.jsx)(`div`,{className:`tab-content`,children:(0,F.jsxs)(yi,{children:[(0,F.jsx)(_i,{path:`/`,element:(0,F.jsx)(gi,{to:i?`/dashboard`:`/settings`,replace:!0})}),(0,F.jsx)(_i,{path:`/dashboard`,element:(0,F.jsx)(ec,{})}),(0,F.jsx)(_i,{path:`/requests`,element:(0,F.jsx)(ic,{})}),(0,F.jsx)(_i,{path:`/traffic`,element:(0,F.jsx)(Ec,{})}),(0,F.jsx)(_i,{path:`/providers`,element:(0,F.jsx)(Uz,{})}),(0,F.jsx)(_i,{path:`/routes`,element:(0,F.jsx)(Zz,{})}),(0,F.jsx)(_i,{path:`/models`,element:(0,F.jsx)(xc,{})}),(0,F.jsx)(_i,{path:`/backends`,element:(0,F.jsx)(Kz,{})}),(0,F.jsx)(_i,{path:`/keys`,element:(0,F.jsx)(vc,{})}),(0,F.jsx)(_i,{path:`/audit`,element:(0,F.jsx)(Sc,{})}),(0,F.jsx)(_i,{path:`/settings`,element:(0,F.jsx)(uc,{configured:i})}),(0,F.jsx)(_i,{path:`/uptime`,element:(0,F.jsx)(jc,{})}),(0,F.jsx)(_i,{path:`*`,element:(0,F.jsx)(gi,{to:`/dashboard`,replace:!0})})]})}),(0,F.jsx)(Us,{})]})})}var eB=new bn({defaultOptions:{queries:{retry:(e,t)=>t instanceof Oa?!1:e<1,refetchOnWindowFocus:!1,staleTime:3e4},mutations:{retry:(e,t)=>t instanceof Oa?!1:e<1}}});(0,Hn.createRoot)(document.getElementById(`root`)).render((0,F.jsx)(P.StrictMode,{children:(0,F.jsx)(Tn,{client:eB,children:(0,F.jsx)($z,{})})})); +PROXY_API_KEYS=my-key`})]})]})]}),v&&(0,F.jsxs)(H,{className:`settings-restart-banner`,children:[(0,F.jsx)(`span`,{children:`Restart the proxy for imported env vars to take effect.`}),(0,F.jsx)(V,{size:`sm`,onClick:te,children:`Dismiss`})]}),(0,F.jsxs)(`div`,{style:{marginBottom:24},children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:8},children:`Env File`}),(0,F.jsxs)(`div`,{style:{display:`flex`,gap:8,alignItems:`center`},children:[(0,F.jsx)(`input`,{ref:l,type:`file`,accept:`.env,.anyllm.env,text/plain`,style:{display:`none`},onChange:O}),(0,F.jsx)(V,{size:`sm`,onClick:()=>l.current?.click(),disabled:c.isPending,loading:c.isPending,children:`Import .anyllm.env`}),(0,F.jsx)(V,{size:`sm`,onClick:ee,children:`Export .anyllm.env`})]}),f&&(0,F.jsxs)(`div`,{style:{marginTop:10},children:[(0,F.jsxs)(`div`,{className:`dim`,style:{marginBottom:4},children:[f.applied,` variable`,f.applied===1?``:`s`,` imported.`,f.warnings.length===0&&` No issues.`]}),f.warnings.length>0&&(0,F.jsxs)(`div`,{style:{marginTop:8,padding:`8px 12px`,background:`var(--warn-dim)`,borderLeft:`3px solid var(--warn)`,borderRadius:`var(--r)`,fontSize:12},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4},children:`Warnings`}),f.warnings.map((e,t)=>(0,F.jsxs)(`div`,{className:`mono`,style:{fontSize:12},children:[e.line!=null&&(0,F.jsxs)(`span`,{className:`dim`,children:[`[line `,e.line,`] `]}),e.key&&(0,F.jsxs)(`span`,{children:[e.key,`: `]}),e.message]},t))]})]}),m&&(0,F.jsxs)(`div`,{style:{marginTop:10,padding:`8px 12px`,background:`var(--err-dim)`,borderLeft:`3px solid var(--err)`,borderRadius:`var(--r)`,fontSize:12},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:4},children:`Import rejected`}),m.hard_errors.map((e,t)=>(0,F.jsx)(`div`,{className:`mono`,style:{fontSize:12},children:e},t)),m.warnings.length>0&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginTop:8,marginBottom:4},children:`Warnings (from partial parse)`}),m.warnings.map((e,t)=>(0,F.jsxs)(`div`,{className:`mono`,style:{fontSize:12},children:[e.line!=null&&(0,F.jsxs)(`span`,{className:`dim`,children:[`[line `,e.line,`] `]}),e.message]},t))]})]}),g&&(0,F.jsxs)(`div`,{style:{marginTop:10,padding:`8px 12px`,background:`var(--err-dim)`,borderLeft:`3px solid var(--err)`,borderRadius:`var(--r)`,fontSize:12},children:[`Export failed: `,g]})]}),(0,F.jsx)(ec,{loading:n,error:r?.message}),t&&(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:8},children:`Runtime`}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-redact-secrets`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-redact-secrets`,type:`checkbox`,checked:t.redact_secrets,disabled:o.isPending,onChange:e=>w(`redact_secrets`,e.target.checked)}),`Redact secrets`]}),t.overridden_keys.includes(`redact_secrets`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`redact_secrets`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-log-bodies`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-log-bodies`,type:`checkbox`,checked:t.log_bodies,disabled:o.isPending,onChange:e=>w(`log_bodies`,e.target.checked)}),`Log bodies`]}),t.overridden_keys.includes(`log_bodies`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`log_bodies`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-thinking-repair`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-thinking-repair`,type:`checkbox`,checked:t.anthropic_thinking_repair,disabled:o.isPending,onChange:e=>w(`anthropic_thinking_repair`,e.target.checked)}),`Anthropic thinking-block repair`]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Repairs corrupted thinking/redacted_thinking blocks in Anthropic passthrough requests (applies to any backend running in BACKEND=anthropic passthrough mode, including a named backend in a multi-backend config). Off by default.`}),t.overridden_keys.includes(`anthropic_thinking_repair`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`anthropic_thinking_repair`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-pxpipe-compress`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-pxpipe-compress`,type:`checkbox`,checked:t.pxpipe_compress,disabled:o.isPending,onChange:e=>w(`pxpipe_compress`,e.target.checked)}),`Image context compression (pxpipe)`]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Renders the stable system + tool-definition slab of Anthropic passthrough requests to a PNG image block to save input tokens on vision models. Off by default. Enable per-model below — only models that read imaged text reliably are offered.`}),t.overridden_keys.includes(`pxpipe_compress`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`pxpipe_compress`),children:`Reset`})}),t.pxpipe_compress&&(0,F.jsxs)(`div`,{style:{marginTop:8},children:[(0,F.jsx)(`div`,{className:`form-label`,style:{fontSize:13},children:`Models in scope (vision-capable)`}),t.pxpipe_available_models.length===0?(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`No vision-capable models in the catalog.`}):(0,F.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:`4px 16px`},children:t.pxpipe_available_models.map(e=>(0,F.jsxs)(`label`,{style:{display:`flex`,alignItems:`center`,gap:6,fontSize:12},children:[(0,F.jsx)(`input`,{type:`checkbox`,checked:E(e),disabled:o.isPending,onChange:t=>D(e,t.target.checked)}),e]},e))}),t.overridden_keys.includes(`pxpipe_models`)&&(0,F.jsx)(`div`,{className:`form-row`,style:{marginTop:6},children:(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`pxpipe_models`),children:`Reset scope`})})]})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`label`,{className:`form-label`,htmlFor:`cfg-forward-client-auth`,style:{display:`flex`,alignItems:`center`,gap:8},children:[(0,F.jsx)(`input`,{id:`cfg-forward-client-auth`,type:`checkbox`,checked:t.forward_client_auth,disabled:o.isPending,onChange:e=>w(`forward_client_auth`,e.target.checked)}),`Forward client credential (Anthropic passthrough)`]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Forwards the client's own x-api-key/Authorization header upstream instead of the operator's configured credential (BACKEND=anthropic passthrough only, single-key/BYOK deployments). The proxy refuses to enable this with 2+ PROXY_API_KEYS entries and no PROXY_OPEN_RELAY. Off by default.`}),t.overridden_keys.includes(`forward_client_auth`)&&(0,F.jsx)(`div`,{className:`form-row`,children:(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`forward_client_auth`),children:`Reset`})})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`cfg-tool-guardrail-mode`,children:`Tool guardrail mode`}),(0,F.jsxs)(`div`,{className:`form-row`,children:[(0,F.jsxs)(`select`,{id:`cfg-tool-guardrail-mode`,value:t.tool_guardrail_mode,disabled:o.isPending,onChange:e=>o.mutate({tool_guardrail_mode:e.target.value}),children:[(0,F.jsx)(`option`,{value:`disabled`,children:`Disabled`}),(0,F.jsx)(`option`,{value:`standard`,children:`Standard`})]}),t.overridden_keys.includes(`tool_guardrail_mode`)&&(0,F.jsx)(V,{size:`sm`,onClick:()=>x(`tool_guardrail_mode`),children:`Reset`})]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:12},children:`Applies advisory guardrails to tool calls the proxy auto-executes. Disabled by default.`})]}),t.entries.filter(e=>![`redact_secrets`,`log_bodies`,`anthropic_thinking_repair`,`pxpipe_compress`,`pxpipe_models`,`forward_client_auth`,`tool_guardrail_mode`].includes(e.key)).map(e=>{let t=`cfg-${e.key}`;return(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:t,children:e.key}),(0,F.jsxs)(`div`,{className:`form-row`,children:[(0,F.jsx)(`input`,{id:t,name:e.key,value:u[e.key]??e.value,onChange:t=>d(n=>({...n,[e.key]:t.target.value}))}),(0,F.jsx)(V,{tone:`primary`,size:`sm`,onClick:()=>C(e.key,e.value),children:`Save`}),(0,F.jsx)(V,{size:`sm`,onClick:()=>x(e.key),children:`Reset`})]})]},e.key)})]}),i&&(0,F.jsxs)(`div`,{className:`readonly-section`,style:{marginTop:16},children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Environment`}),(0,F.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`220px 1fr`,gap:`4px 12px`,marginTop:8,fontSize:12},children:Object.entries(i).map(([e,t])=>(0,F.jsxs)(P.Fragment,{children:[(0,F.jsx)(`span`,{className:`dim`,children:e}),(0,F.jsx)(`span`,{className:`mono`,children:t})]},e))})]}),(0,F.jsx)(lc,{open:b!==null,onClose:()=>x(null),onConfirm:S,title:`Reset override?`,message:(0,F.jsxs)(F.Fragment,{children:[`Reset override for `,(0,F.jsx)(`span`,{className:`mono`,children:b}),`? The runtime value will revert to the env-file or default. Active connections are not affected.`]}),confirmLabel:`Reset`,variant:`primary`})]})}function pc({variant:e}){return(0,F.jsx)(`span`,{className:`badge badge-${e}`,children:e})}function mc({spent:e,limit:t}){if(!t)return(0,F.jsx)(`span`,{className:`dim`,children:`—`});let n=Math.min(e/t*100,100),r=n>=95?`danger`:n>=80?`warn`:``;return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`budget-bar`,children:(0,F.jsx)(`div`,{className:`budget-bar-fill${r?` ${r}`:``}`,style:{width:`${n}%`}})}),(0,F.jsxs)(`span`,{className:`dim`,style:{fontSize:10},children:[`$`,e.toFixed(4),` / $`,t.toFixed(2)]})]})}function hc(e){let t=e.trim();return t?Number(t):null}function gc(e){return{description:e.description.trim()||null,max_budget_usd:hc(e.spendLimit),rpm_limit:hc(e.rpmLimit)}}function _c({onCreated:e}){let t=Va(),[n,r]=(0,P.useState)(``),[i,a]=(0,P.useState)(``),[o,s]=(0,P.useState)(``);function c(){t.mutate(gc({description:n,spendLimit:i,rpmLimit:o}),{onSuccess:t=>{r(``),a(``),s(``),e(t.key)}})}return(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`div`,{className:`form-label`,children:`Create Key`}),(0,F.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),c()},children:[(0,F.jsxs)(`div`,{className:`form-row`,style:{flexWrap:`wrap`},children:[(0,F.jsx)(`input`,{name:`description`,placeholder:`Description`,value:n,onChange:e=>r(e.target.value)}),(0,F.jsx)(`input`,{name:`max_budget_usd`,placeholder:`Spend limit USD`,type:`number`,value:i,onChange:e=>a(e.target.value),style:{width:160}}),(0,F.jsx)(`input`,{name:`rpm_limit`,placeholder:`RPM limit`,type:`number`,value:o,onChange:e=>s(e.target.value),style:{width:100}}),(0,F.jsx)(V,{type:`submit`,tone:`primary`,loading:t.isPending,children:`Create`})]}),!i&&!o&&(0,F.jsx)(`div`,{className:`form-hint`,style:{color:`var(--warn)`,marginTop:6},children:`No limits set — this key will be unrestricted (unlimited spend and requests).`})]})]})}function vc({vk:e,onClose:t}){let n=Ha(),r=Ua(),[i,a]=(0,P.useState)(e.description??``),[o,s]=(0,P.useState)(e.max_budget_usd?.toString()??``),[c,l]=(0,P.useState)(e.rpm_limit?.toString()??``),[u,d]=(0,P.useState)(new Set(e.allowed_routes??[])),[f,p]=(0,P.useState)(!1),{data:m}=uo();function h(){n.mutate({id:e.id,body:{description:i||null,max_budget_usd:o?Number(o):null,rpm_limit:c?Number(c):null,allowed_routes:u.size>0?[...u]:null,expires_at:e.expires_at,tpm_limit:e.tpm_limit,budget_duration:e.budget_duration,allowed_models:e.allowed_models}},{onSuccess:t})}function g(){return r.mutateAsync(e.id)}return(0,P.useEffect)(()=>{r.isSuccess&&t()},[r.isSuccess]),(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(cc,{open:!0,onClose:t,title:`Edit Key — ${e.key_prefix}…`,dismissable:!n.isPending,footer:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(V,{tone:`danger`,onClick:()=>p(!0),disabled:n.isPending,style:{marginRight:`auto`},children:`Revoke`}),(0,F.jsx)(V,{onClick:t,disabled:n.isPending,children:`Cancel`}),(0,F.jsx)(V,{tone:`primary`,onClick:h,loading:n.isPending,children:`Save`})]}),children:[(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`vk-desc`,children:`Description`}),(0,F.jsx)(`input`,{id:`vk-desc`,name:`description`,value:i,onChange:e=>a(e.target.value),style:{width:`100%`}})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`vk-spend`,children:`Spend limit (USD)`}),(0,F.jsx)(`input`,{id:`vk-spend`,name:`spend_limit`,value:o,onChange:e=>s(e.target.value),type:`number`,min:`0`,step:`0.01`})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`vk-rpm`,children:`RPM limit`}),(0,F.jsx)(`input`,{id:`vk-rpm`,name:`rpm_limit`,value:c,onChange:e=>l(e.target.value),type:`number`,min:`0`})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsxs)(`div`,{className:`form-label`,children:[`Allowed routes `,u.size===0&&(0,F.jsx)(`span`,{className:`hint`,children:`(all routes)`})]}),(0,F.jsxs)(`div`,{className:`route-scope-list`,children:[m?.routes.map(e=>(0,F.jsxs)(`label`,{className:`route-scope-item`,children:[(0,F.jsx)(`input`,{type:`checkbox`,name:`route-${e.id}`,checked:u.has(e.id),onChange:()=>{d(t=>{let n=new Set(t);return n.has(e.id)?n.delete(e.id):n.add(e.id),n})}}),(0,F.jsx)(`span`,{children:e.name})]},e.id)),!m?.routes.length&&(0,F.jsx)(`span`,{className:`hint`,children:`No routes configured`})]})]})]}),(0,F.jsx)(lc,{open:f,onClose:()=>p(!1),onConfirm:g,title:`Revoke key?`,message:(0,F.jsxs)(F.Fragment,{children:[`Revoking `,(0,F.jsxs)(`span`,{className:`mono`,children:[e.key_prefix,`…`]}),` will immediately reject any request using it. This cannot be undone.`]}),confirmLabel:`Revoke`})]})}async function yc(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}function bc(){let e=Ba(),[t,n]=Vi(),r=t.get(`q`)??``,i=t.get(`edit`),[a,o]=(0,P.useState)(null),[s,c]=(0,P.useState)(null);(0,P.useEffect)(()=>{if(!i||!e.data)return;let t=e.data.find(e=>String(e.id)===i);t&&c(t)},[i,e.data]);function l(){if(c(null),t.has(`edit`)){let e=new URLSearchParams(t);e.delete(`edit`),n(e,{replace:!0})}}function u(e){c(e);let r=new URLSearchParams(t);r.set(`edit`,String(e.id)),n(r,{replace:!0})}function d(e){let r=new URLSearchParams(t);e?r.set(`q`,e):r.delete(`q`),n(r,{replace:!0})}let f=r.trim().toLowerCase(),p=(0,P.useMemo)(()=>f?(e.data??[]).filter(e=>{let t=(e.description??``).toLowerCase(),n=e.key_prefix.toLowerCase();return t.includes(f)||n.includes(f)}):e.data??[],[e.data,f]);return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(_c,{onCreated:o}),a&&(0,F.jsxs)(`div`,{className:`key-result`,children:[(0,F.jsx)(`div`,{className:`key-result-label`,children:`New key (copy now — not shown again)`}),(0,F.jsxs)(`div`,{className:`key-result-value`,children:[(0,F.jsx)(`span`,{className:`mono`,children:a}),(0,F.jsxs)(`div`,{className:`key-result-actions`,children:[(0,F.jsx)(V,{size:`sm`,onClick:async()=>{ma(await yc(a)?{variant:`success`,message:`Key copied to clipboard`}:{variant:`error`,message:`Copy failed — select and copy manually`})},children:`Copy`}),(0,F.jsx)(`button`,{type:`button`,className:`key-result-dismiss`,"aria-label":`Dismiss`,onClick:()=>o(null),children:`×`})]})]})]}),(0,F.jsxs)(`div`,{className:`toolbar`,children:[(0,F.jsx)(`input`,{type:`search`,name:`keys-search`,placeholder:`Search by description or prefix…`,value:r,onChange:e=>d(e.target.value),className:`toolbar-search`}),e.data&&(0,F.jsxs)(`span`,{className:`dim toolbar-count`,children:[p.length,` of `,e.data.length]})]}),(0,F.jsx)(ic,{query:e,errorTitle:`Failed to load keys`,empty:{when:e=>e.length===0,render:()=>(0,F.jsxs)(`div`,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No virtual keys yet`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Use the form above to create one. Keys are shown once at creation and hashed in storage.`})]})},children:()=>p.length===0?(0,F.jsxs)(`div`,{className:`empty`,children:[`No keys match "`,r,`".`]}):(0,F.jsxs)(`table`,{className:`keys-grid`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Prefix`}),(0,F.jsx)(`th`,{children:`Description`}),(0,F.jsx)(`th`,{children:`Status`}),(0,F.jsx)(`th`,{children:`Spend`}),(0,F.jsx)(`th`,{children:`Requests`}),(0,F.jsx)(`th`,{children:`Created`})]})}),(0,F.jsx)(`tbody`,{children:p.map(e=>(0,F.jsxs)(`tr`,{style:{cursor:`pointer`},onClick:()=>u(e),children:[(0,F.jsxs)(`td`,{className:`mono`,children:[e.key_prefix,`…`]}),(0,F.jsx)(`td`,{className:`dim`,children:e.description??`—`}),(0,F.jsx)(`td`,{children:(0,F.jsx)(pc,{variant:e.status})}),(0,F.jsx)(`td`,{children:(0,F.jsx)(mc,{spent:e.period_spend_usd,limit:e.max_budget_usd})}),(0,F.jsx)(`td`,{className:`mono`,children:e.total_requests.toLocaleString()}),(0,F.jsx)(`td`,{className:`mono dim`,children:e.created_at.slice(0,10)})]},e.id))})]})}),s&&(0,F.jsx)(vc,{vk:s,onClose:l},s.id)]})}var xc={openrouter:{text:`Public, no key needed`,needsKey:!1},deepinfra:{text:`Public, no key needed`,needsKey:!1},ollama:{text:`No key needed (local)`,needsKey:!1},configured:{text:`API key required`,needsKey:!0},custom:{text:`API key may be required`,needsKey:!0}};function Sc(){return(0,F.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 16 16`,fill:`none`,className:`key-icon-inline`,children:(0,F.jsx)(`path`,{d:`M10.5 1a4.5 4.5 0 0 0-4.1 6.35L2 11.75V15h3.25v-2H7v-1.75h1.75L9.65 10.4A4.5 4.5 0 1 0 10.5 1zm1 3a1 1 0 1 1 0-2 1 1 0 0 1 0 2z`,fill:`currentColor`})})}function Cc(){let e=Ya(),t=Xa(),n=Za(),r=Qa(),{data:i}=Wa(),{data:a}=oo(),[o,s]=(0,P.useState)(``),[c,l]=(0,P.useState)(``),[u,d]=(0,P.useState)(``),[f,p]=(0,P.useState)(``),[m,h]=(0,P.useState)(`openrouter`),[g,_]=(0,P.useState)(``),[v,y]=(0,P.useState)(``),[b,x]=(0,P.useState)(null),S=xc[m]??xc.custom;function C(){r.mutate({source:m,...m===`custom`?{url:g}:{}})}function w(){t.mutate({model_name:o,actual_model:u,backend_name:f},{onSuccess:()=>{s(``),l(``),d(``),p(``)}})}function T(){return b?n.mutateAsync(b).then(()=>void 0):Promise.resolve()}let E=v.trim().toLowerCase(),D=(0,P.useMemo)(()=>{let t=e.data?.models??[];return E?t.filter(e=>e.model_name.toLowerCase().includes(E)):t},[e.data,E]);return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`models-discover`,children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Discover Models`}),(0,F.jsxs)(`div`,{className:`models-discover-row`,children:[(0,F.jsxs)(`select`,{value:m,onChange:e=>{h(e.target.value),r.reset()},children:[(0,F.jsx)(`option`,{value:`openrouter`,children:`OpenRouter`}),(0,F.jsx)(`option`,{value:`deepinfra`,children:`DeepInfra`}),(0,F.jsx)(`option`,{value:`ollama`,children:`Ollama (local)`}),(0,F.jsx)(`option`,{value:`configured`,children:`Configured backend`}),(0,F.jsx)(`option`,{value:`custom`,children:`Custom URL`})]}),m===`custom`&&(0,F.jsx)(`input`,{name:`discover-url`,placeholder:`https://api.example.com`,value:g,onChange:e=>_(e.target.value),style:{minWidth:220}}),(0,F.jsx)(V,{onClick:C,disabled:r.isPending||m===`custom`&&!g,loading:r.isPending,children:`Fetch`}),(0,F.jsxs)(`span`,{className:`dim models-discover-hint`,children:[S.needsKey&&(0,F.jsx)(Sc,{}),S.text]})]}),r.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:r.error.message}),r.data&&r.data.models.length>0&&(0,F.jsxs)(`div`,{className:`models-discover-results`,children:[(0,F.jsxs)(`div`,{className:`dim models-discover-count`,children:[r.data.models.length,` model`,r.data.models.length===1?``:`s`,` found. Click to populate the form below.`]}),(0,F.jsx)(`div`,{className:`models-discover-list`,children:r.data.models.map(e=>(0,F.jsxs)(`div`,{onClick:()=>{if(d(e.id),!o||o===c){let t=e.name&&e.name!==e.id?e.name:e.id;s(t),l(t)}},className:`models-discover-item${u===e.id?` is-selected`:``}`,children:[(0,F.jsx)(`span`,{className:`mono`,children:e.id}),e.name&&e.name!==e.id&&(0,F.jsx)(`span`,{className:`dim models-discover-item-name`,children:e.name})]},e.id))})]}),r.data&&r.data.models.length===0&&(0,F.jsx)(`div`,{className:`dim models-discover-count`,children:`No models returned.`})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`div`,{className:`form-label`,children:`Add Model`}),(0,F.jsxs)(`div`,{className:`form-row`,style:{flexWrap:`wrap`},children:[(0,F.jsx)(`input`,{name:`model-name`,placeholder:`Virtual name`,value:o,onChange:e=>s(e.target.value)}),(0,F.jsx)(`input`,{name:`model-id`,placeholder:`Model ID`,value:u,onChange:e=>d(e.target.value)}),(0,F.jsxs)(`select`,{name:`backend`,value:f,onChange:e=>p(e.target.value),children:[(0,F.jsx)(`option`,{value:``,children:`Backend…`}),i?.map(e=>(0,F.jsx)(`option`,{value:e.name,children:e.name},e.name)),a?.backends.map(e=>(0,F.jsxs)(`option`,{value:e.name,children:[e.name,` (managed)`]},`managed-${e.name}`))]}),(0,F.jsx)(V,{tone:`primary`,onClick:w,disabled:!o||!u||!f||t.isPending,loading:t.isPending,children:`Add`})]}),t.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:t.error.message})]}),(0,F.jsxs)(`div`,{className:`toolbar`,children:[(0,F.jsx)(`input`,{type:`search`,name:`models-search`,placeholder:`Search models…`,value:v,onChange:e=>y(e.target.value),className:`toolbar-search`}),e.data&&(0,F.jsxs)(`span`,{className:`dim toolbar-count`,children:[D.length,` of `,e.data.models.length]})]}),(0,F.jsx)(ic,{query:e,errorTitle:`Failed to load models`,empty:{when:e=>(e.models?.length??0)===0,render:()=>(0,F.jsxs)(H,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No models configured`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Add a model above, or use Discover to pull a catalog from OpenRouter, DeepInfra, Ollama, or a custom endpoint.`})]})},children:e=>D.length===0?(0,F.jsxs)(`div`,{className:`empty`,children:[`No models match "`,v,`".`]}):(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Virtual Name`}),(0,F.jsx)(`th`,{children:`Deployments`}),(0,F.jsx)(`th`,{children:`Strategy`}),(0,F.jsx)(`th`,{})]})}),(0,F.jsx)(`tbody`,{children:D.map(t=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:t.model_name}),(0,F.jsx)(`td`,{className:`mono`,children:t.deployments}),(0,F.jsx)(`td`,{className:`dim`,children:e.strategy??`—`}),(0,F.jsx)(`td`,{children:(0,F.jsx)(V,{tone:`danger`,size:`sm`,onClick:()=>x(t.model_name),children:`Remove`})})]},t.model_name))})]})}),(0,F.jsx)(lc,{open:b!==null,onClose:()=>x(null),onConfirm:T,title:`Remove model?`,message:(0,F.jsxs)(F.Fragment,{children:[`Remove model `,(0,F.jsx)(`span`,{className:`mono`,children:b}),`? Requests using this virtual name will fail until another model with the same name is added.`]}),confirmLabel:`Remove`})]})}function wc(){let[e,t]=Vi(),n=Math.max(1,Number(e.get(`page`)??`1`)||1);function r(r){let i=new URLSearchParams(e),a=r(n);a<=1?i.delete(`page`):i.set(`page`,String(a)),t(i,{replace:!0})}return(0,F.jsx)(`div`,{children:(0,F.jsx)(ic,{query:$a({page:n,page_size:50}),errorTitle:`Failed to load audit log`,empty:{when:e=>e.entries.length===0&&n===1,render:()=>(0,F.jsxs)(`div`,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No audit entries yet`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Admin actions (creating keys, editing routes, managing backends) are recorded here.`})]})},children:e=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Time`}),(0,F.jsx)(`th`,{children:`Action`}),(0,F.jsx)(`th`,{children:`Target`}),(0,F.jsx)(`th`,{children:`Detail`}),(0,F.jsx)(`th`,{children:`IP`})]})}),(0,F.jsx)(`tbody`,{children:e.entries.map(e=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono dim`,children:e.timestamp.slice(0,19)}),(0,F.jsx)(`td`,{className:`mono`,children:e.action}),(0,F.jsxs)(`td`,{className:`dim`,children:[e.target_type,e.target_id?` #${e.target_id}`:``]}),(0,F.jsx)(`td`,{className:`dim audit-detail`,children:e.detail??`—`}),(0,F.jsx)(`td`,{className:`mono dim`,children:e.source_ip??`—`})]},e.id))})]}),(0,F.jsx)(rc,{page:n,hasMore:e.has_more,onPrev:()=>r(e=>Math.max(1,e-1)),onNext:()=>r(e=>e+1)})]})})})}function Tc({routes:e}){let t=[...e].sort((e,t)=>t.requests_per_min-e.requests_per_min);return(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Route`}),(0,F.jsx)(`th`,{children:`Req/min`}),(0,F.jsx)(`th`,{children:`Error rate`}),(0,F.jsx)(`th`,{children:`Avg latency`}),(0,F.jsx)(`th`,{children:`P95 latency`}),(0,F.jsx)(`th`,{children:`Total`})]})}),(0,F.jsx)(`tbody`,{children:t.map(e=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:e.path}),(0,F.jsx)(`td`,{className:`mono`,children:e.requests_per_min.toFixed(2)}),(0,F.jsxs)(`td`,{className:`mono`,style:{color:e.error_rate>.05?`var(--err)`:e.error_rate>.01?`var(--warn)`:void 0},children:[(e.error_rate*100).toFixed(1),`%`]}),(0,F.jsxs)(`td`,{className:`mono`,children:[e.avg_latency_ms.toFixed(0),`ms`]}),(0,F.jsxs)(`td`,{className:`mono`,children:[e.p95_latency_ms,`ms`]}),(0,F.jsx)(`td`,{className:`mono`,children:e.total_requests.toLocaleString()})]},e.path))})]})}var Ec=[`#e8a030`,`#d4922b`,`#c07820`,`#a86015`,`#8c500a`],Dc=[`#6eb5c0`,`#5aa0ab`,`#468b96`,`#327681`,`#1e616c`];function Oc(){let[e,t]=(0,P.useState)(6),{data:n,isLoading:r,error:i}=eo(e),a=n?.routes??[],o=a.slice(0,5).map((e,t)=>{let r=(n?.series??[]).filter(t=>t.path===e.path).map(e=>e.requests);return{label:e.path,color:Ec[t%Ec.length],data:r}});return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Traffic`}),(0,F.jsxs)(`select`,{value:e,onChange:e=>t(Number(e.target.value)),children:[(0,F.jsx)(`option`,{value:1,children:`Last 1 hour`}),(0,F.jsx)(`option`,{value:6,children:`Last 6 hours`}),(0,F.jsx)(`option`,{value:24,children:`Last 24 hours`})]})]}),(0,F.jsx)(ec,{loading:r,error:i?.message}),n&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Tc,{routes:n.routes}),(0,F.jsxs)(`div`,{className:`operator-grid`,style:{marginTop:16},children:[(0,F.jsxs)(H,{className:`chart-card`,children:[(0,F.jsx)(`div`,{className:`chart-header`,children:(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Requests / min by route`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`Stacked over time window`})]})}),a.length===0?(0,F.jsx)(`div`,{className:`empty`,children:`No routes`}):(0,F.jsx)($s,{series:o})]}),(0,F.jsxs)(H,{className:`chart-card`,children:[(0,F.jsx)(`div`,{className:`chart-header`,children:(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`chart-title`,children:`Avg latency per route`}),(0,F.jsx)(`div`,{className:`chart-subtitle`,children:`ms`})]})}),a.length===0?(0,F.jsx)(`div`,{className:`empty`,children:`No routes`}):(0,F.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8,paddingTop:8},children:a.slice(0,5).map((e,t)=>{let n=Math.max(...a.slice(0,5).map(e=>e.avg_latency_ms),1),r=e.avg_latency_ms/n*100;return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,fontSize:11,marginBottom:2},children:[(0,F.jsx)(`span`,{className:`mono dim`,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,maxWidth:`70%`},children:e.path}),(0,F.jsxs)(`span`,{className:`mono`,children:[e.avg_latency_ms.toFixed(0),`ms`]})]}),(0,F.jsx)(`div`,{style:{height:6,background:`var(--border)`,borderRadius:0},children:(0,F.jsx)(`div`,{style:{height:`100%`,width:`${r}%`,background:Dc[t%Dc.length],borderRadius:0}})})]},e.path)})})]})]})]})]})}function kc(e){let t=Math.floor(Date.now()/1e3-e),n=Math.floor(t/86400),r=Math.floor(t%86400/3600),i=Math.floor(t%3600/60);return n>0?`${n}d ${r}h ${i}m`:r>0?`${r}h ${i}m`:`${i}m`}function Ac({proxy:e}){return(0,F.jsxs)(`div`,{className:`uptime-proxy`,children:[(0,F.jsxs)(`div`,{className:`uptime-proxy-stats`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Uptime (30d)`}),(0,F.jsxs)(`div`,{className:`uptime-pct`,children:[e.uptime_pct_30d.toFixed(2),`%`]})]}),(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`section-label`,children:`Running`}),(0,F.jsx)(`div`,{className:`stat-value`,style:{fontSize:16},children:kc(e.started_at)})]})]}),(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:4},children:`30-day history`}),(0,F.jsx)(`div`,{className:`history-bar`,children:e.history.map(e=>(0,F.jsx)(`div`,{className:`history-day ${e.status}`,title:`${e.date}: ${e.status}`},e.date))})]})}var jc=zs;function Mc({b:e}){let t=e.status===`up`?`ok`:e.status===`down`?`err`:`dim`,n=e.last_checked_at?new Date(e.last_checked_at*1e3).toLocaleTimeString():`—`;return(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:e.name}),(0,F.jsxs)(`td`,{children:[(0,F.jsx)(jc,{status:t,pulse:e.status===`up`}),e.status]}),(0,F.jsxs)(`td`,{className:`mono`,children:[e.uptime_pct_30d.toFixed(2),`%`]}),(0,F.jsx)(`td`,{className:`mono dim`,children:n}),(0,F.jsx)(`td`,{className:`mono dim`,children:e.last_latency_ms==null?`—`:`${e.last_latency_ms}ms`}),(0,F.jsx)(`td`,{children:(0,F.jsx)(`div`,{className:`history-bar`,style:{height:12},children:e.history.map(e=>(0,F.jsx)(`div`,{className:`history-day ${e.status}`,title:`${e.date}: ${e.status}`},e.date))})})]})}function Nc(){let{data:e,isLoading:t,error:n}=to();return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(ec,{loading:t,error:n?.message}),e&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Ac,{proxy:e.proxy}),(0,F.jsx)(`div`,{className:`section-label`,style:{marginTop:16,marginBottom:8},children:`Backend Availability`}),(0,F.jsxs)(`table`,{className:`backend-health-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Backend`}),(0,F.jsx)(`th`,{children:`Status`}),(0,F.jsx)(`th`,{children:`Uptime (30d)`}),(0,F.jsx)(`th`,{children:`Last checked`}),(0,F.jsx)(`th`,{children:`Latency`}),(0,F.jsx)(`th`,{children:`History`})]})}),(0,F.jsx)(`tbody`,{children:e.backends.slice().sort((e,t)=>e.name.localeCompare(t.name)).map(e=>(0,F.jsx)(Mc,{b:e},e.name))})]})]})]})}function Pc(e){let t=e.trim().replace(/\/+$/,``);return t?t.endsWith(`/models`)?t:t.endsWith(`/v1`)?`${t}/models`:`${t}/v1/models`:``}function Fc(e){let t=[],n=e.env_vars.length>0?e.env_vars[0]:null,{protocol:r,auth:i,default_base_url:a}=e;return r===`openai_compat`&&i===`bearer`?(t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`,...n?{hint:`or set ${n} env var`}:{}}),t.push({name:`api_base`,label:`API Base URL`,type:`url`,required:!a,group:`endpoint`,...a?{placeholder:a}:{}})):r===`openai_compat`&&i===`none`?(t.push({name:`api_base`,label:`API Base URL`,type:`url`,required:!a,group:`endpoint`,...a?{placeholder:a}:{}}),t.push({name:`api_key`,label:`API Key (optional)`,type:`password`,required:!1,group:`auth`,hint:`Only if your local server enforces a key`})):r===`azure_openai`&&i===`azure_api_key`?(t.push({name:`api_key`,label:`Azure API Key`,type:`password`,required:!0,group:`auth`}),t.push({name:`api_base`,label:`Endpoint URL`,type:`url`,required:!0,placeholder:`https://.openai.azure.com`,group:`endpoint`}),t.push({name:`deployment`,label:`Deployment Name`,type:`text`,required:!0,group:`endpoint`}),t.push({name:`api_version`,label:`API Version`,type:`text`,required:!0,placeholder:`2024-08-01-preview`,group:`endpoint`})):r===`vertex_ai`&&i===`google_api_key`?(t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`}),t.push({name:`project`,label:`GCP Project ID`,type:`text`,required:!0,group:`endpoint`}),t.push({name:`region`,label:`GCP Region`,type:`text`,required:!0,placeholder:`us-central1`,group:`endpoint`})):r===`bedrock_native`&&i===`aws_sigv4`?(t.push({name:`aws_access_key_id`,label:`AWS Access Key ID`,type:`text`,required:!0,group:`auth`}),t.push({name:`aws_secret_access_key`,label:`AWS Secret Access Key`,type:`password`,required:!0,group:`auth`}),t.push({name:`aws_session_token`,label:`AWS Session Token`,type:`password`,required:!1,group:`auth`}),t.push({name:`region`,label:`AWS Region`,type:`text`,required:!0,placeholder:`us-east-1`,group:`endpoint`})):(r===`gemini_openai`||r===`gemini_native`)&&i===`google_api_key`||r===`anthropic_native`&&i===`bearer`?t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`,...n?{hint:`or set ${n} env var`}:{}}):(i.includes(`bearer`)&&t.push({name:`api_key`,label:`API Key`,type:`password`,required:!0,group:`auth`}),(i===`none`||i.includes(`bearer`))&&t.push({name:`api_base`,label:`API Base URL`,type:`url`,required:!a,group:`endpoint`,...a?{placeholder:a}:{}}),i===`none`&&t.push({name:`api_key`,label:`API Key (optional)`,type:`password`,required:!1,group:`auth`,hint:`Only if your server enforces a key`})),t.push({name:`rpm`,label:`Rate Limit (req/min)`,type:`number`,required:!1,group:`limits`,hint:`Stored for reference; not enforced on managed backends`}),t.push({name:`tpm`,label:`Token Limit (tokens/min)`,type:`number`,required:!1,group:`limits`,hint:`Stored for reference; not enforced on managed backends`}),t}var Ic={openai:0,anthropic:0,gemini:0,vertex:0,azure:1,bedrock:1,mistral:1,groq:1,deepseek:1,xai:1,together_ai:2,openrouter:2,fireworks_ai:2,perplexity:2,cohere_chat:2,cerebras:2,sambanova:2,ollama:2,deepinfra:2,replicate:2,nvidia_nim:2},Lc={0:`Top providers`,1:`Popular`,2:`Notable`,3:`More providers`},Rc=new Set([`gemini`,`groq`,`openrouter`,`mistral`,`deepseek`,`cohere_chat`,`cohere`]);function zc(e){let t=e.default_base_url??``;return/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(t)}function Bc(e,t){let n=[],r=[],i=[],a=new Map;for(let o of e)if(t.has(o.id))n.push(o);else if(zc(o))r.push(o);else if(Rc.has(o.id))i.push(o);else{let e=Ic[o.id]??3;a.has(e)||a.set(e,[]),a.get(e).push(o)}let o=(e,t)=>e.display_name.localeCompare(t.display_name);n.sort(o),r.sort(o),i.sort(o);let s=[];n.length&&s.push({key:`favorites`,label:`Favorites`,top:!0,providers:n}),r.length&&s.push({key:`local`,label:`Local LLMs`,top:!1,providers:r}),i.length&&s.push({key:`free`,label:`Free`,top:!1,providers:i});for(let[e,t]of[...a.entries()].sort(([e],[t])=>e-t))t.sort(o),s.push({key:`tier-${e}`,label:Lc[e]??`Other`,top:!1,providers:t});return s}var Vc=function(e){return typeof window<`u`?matchMedia&&matchMedia(`(prefers-color-scheme: ${e})`):{matches:!1}},Hc,Uc=(0,P.createContext)({appearance:`light`,setAppearance:function(){},isDarkMode:!1,themeMode:`light`,setThemeMode:function(){},browserPrefers:(Hc=Vc(`dark`))!=null&&Hc.matches?`dark`:`light`}),Wc=function(){return(0,P.useContext)(Uc)},Gc=(e,t)=>{if(t)return`row`;switch(e){case`horizontal`:return`row`;case`horizontal-reverse`:return`row-reverse`;case`vertical`:default:return`column`;case`vertical-reverse`:return`column-reverse`}},Kc=e=>{if(e)return[`space-between`,`space-around`,`space-evenly`].includes(e)},qc=(e,t)=>Gc(e,t)===`row`,Jc=e=>typeof e==`number`?`${e}px`:e,Yc=(0,P.memo)(({visible:e,flex:t,gap:n,direction:r,horizontal:i,align:a,justify:o,distribution:s,height:c,width:l,allowShrink:u,padding:d,paddingInline:f,paddingBlock:p,prefixCls:m,as:h=`div`,className:g,style:_,children:v,wrap:y,ref:b,...x})=>{let S=o||s,C=qc(r,i)&&!l&&Kc(S)?`100%`:Jc(l),w={...t===void 0?{}:{"--lobe-flex":String(t)},...r||i?{"--lobe-flex-direction":Gc(r,i)}:{},...y===void 0?{}:{"--lobe-flex-wrap":y},...S===void 0?{}:{"--lobe-flex-justify":S},...a===void 0?{}:{"--lobe-flex-align":a},...C===void 0?{}:{"--lobe-flex-width":C},...c===void 0?{}:{"--lobe-flex-height":Jc(c)},...d===void 0?{}:{"--lobe-flex-padding":Jc(d)},...f===void 0?{}:{"--lobe-flex-padding-inline":Jc(f)},...p===void 0?{}:{"--lobe-flex-padding-block":Jc(p)},...n===void 0?{}:{"--lobe-flex-gap":Jc(n)},...u?{minWidth:0}:{},..._},T=`lobe-flex`,E=[T,e===!1?`${T}--hidden`:void 0,m?`${m}-flex`:void 0,g].filter(Boolean).join(` `);return(0,F.jsx)(h,{ref:b,...x,className:E,style:w,children:v})}),Xc=({children:e,ref:t,...n})=>(0,F.jsx)(Yc,{...n,align:`center`,justify:`center`,ref:t,children:e});function Zc(e){return Array.from(e.match(Qc)??[])}var Qc,$c=o((()=>{Qc=/\p{Lu}?\p{Ll}+|[0-9]+|\p{Lu}+(?!\p{Ll})|\p{Emoji_Presentation}|\p{Extended_Pictographic}|\p{L}+/gu}));function el(e){return Zc(e).map(e=>e.toLowerCase()).join(`-`)}o((()=>{$c()}))();var tl=function(e){var t=(0,P.useId)(),n=`lobe-icons-${el(e)}-${t}`;return(0,P.useMemo)(function(){return{fill:`url(#${n})`,id:n}},[e])},nl=function(e,t){var n=(0,P.useId)();return(0,P.useMemo)(function(){return Array.from({length:t},function(t,r){var i=`lobe-icons-${el(e)}-${r}-${n}`;return{fill:`url(#${i})`,id:i}})},[e,t,n])},rl=`Gemini`,il=`#fff`,al=`#fff`,ol=.8;function sl(e){"@babel/helpers - typeof";return sl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sl(e)}var cl=[`size`,`style`];function ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function U(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bl(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var xl=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=yl(e,cl),a=pl(nl(rl,3),3),o=a[0],s=a[1],c=a[2];return(0,F.jsxs)(`svg`,U(U({height:n,style:U({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:rl}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:`#3186FF`}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:o.fill}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:s.fill}),(0,F.jsx)(`path`,{d:`M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z`,fill:c.fill}),(0,F.jsxs)(`defs`,{children:[(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o.id,x1:`7`,x2:`11`,y1:`15.5`,y2:`12`,children:[(0,F.jsx)(`stop`,{stopColor:`#08B962`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#08B962`,stopOpacity:`0`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:s.id,x1:`8`,x2:`11.5`,y1:`5.5`,y2:`11`,children:[(0,F.jsx)(`stop`,{stopColor:`#F94543`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#F94543`,stopOpacity:`0`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:c.id,x1:`3.5`,x2:`17.5`,y1:`13.5`,y2:`12`,children:[(0,F.jsx)(`stop`,{stopColor:`#FABC12`}),(0,F.jsx)(`stop`,{offset:`.46`,stopColor:`#FABC12`,stopOpacity:`0`})]})]})]}))});function Sl(e){"@babel/helpers - typeof";return Sl=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Sl(e)}function Cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wl(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Wl(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Gl=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Ul(e,G);return(0,F.jsxs)(`svg`,q(q({fill:`currentColor`,fillRule:`evenodd`,height:n,style:q({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Al}),(0,F.jsx)(`path`,{d:`M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z`})]}))});function Y(e){"@babel/helpers - typeof";return Y=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Y(e)}var Kl=[`type`];function ql(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jl(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $l(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var eu=(0,P.memo)(function(e){var t=e.type,n=t===void 0?`normal`:t,r=Ql(e,Kl);return(0,F.jsx)($,Jl({Icon:Gl,"aria-label":Al,background:(0,P.useMemo)(function(){switch(n){case`gpt3`:return Ml;case`gpt4`:return Nl;case`gpt5`:return Pl;case`o3`:case`o1`:return Fl;case`oss`:return Il;case`platform`:return Ll;default:return Rl}},[n]),color:zl,iconMultiple:Bl},r))}),tu=`Qwen`,nu=`#615ced`,ru=`#fff`,iu=.75;function au(e){"@babel/helpers - typeof";return au=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},au(e)}var ou=[`size`,`style`];function su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pu(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var mu=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=fu(e,ou);return(0,F.jsxs)(`svg`,cu(cu({fill:`currentColor`,fillRule:`evenodd`,height:n,style:cu({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:tu}),(0,F.jsx)(`path`,{d:`M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z`})]}))});function hu(e){"@babel/helpers - typeof";return hu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hu(e)}function gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _u(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fu(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Iu=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Pu(e,Ou);return(0,F.jsxs)(`svg`,Au(Au({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Au({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Cu}),(0,F.jsx)(`path`,{d:`M6.47 17l-.367-1.189H2.718L2.35 17H0l3.398-9.789h2.026L8.864 17H6.47zm-2.052-6.993l-1.17 4.028H5.56l-1.142-4.028zm4.707-2.796h2.23V17h-2.23V7.211zM11.955 15c.1-.483.277-.946.524-1.37.214-.359.482-.68.795-.951.32-.273.658-.52 1.013-.741.28-.168.54-.33.781-.483.222-.14.433-.296.632-.468.172-.148.317-.325.428-.525.107-.199.16-.423.157-.65 0-.392-.104-.674-.313-.846a1.176 1.176 0 00-.775-.259 1.207 1.207 0 00-.863.329c-.231.219-.347.585-.347 1.098H11.8a3.387 3.387 0 01.224-1.245c.146-.377.371-.716.66-.993.306-.29.667-.514 1.06-.657A4.04 4.04 0 0115.183 7c.42-.002.84.057 1.244.175.376.107.73.287 1.04.531.305.246.55.562.714.923.185.419.275.875.265 1.335.005.39-.084.774-.259 1.12-.167.328-.38.63-.632.894-.246.259-.517.49-.808.693-.29.2-.554.37-.789.51-.326.224-.596.417-.809.58a3.872 3.872 0 00-.51.455 1.229 1.229 0 00-.265.434 1.633 1.633 0 00-.074.517h4.078V17h-6.606a9.24 9.24 0 01.183-2zM18.8 8.93a5.05 5.05 0 001.135-.105c.25-.049.484-.156.686-.314.163-.139.28-.324.34-.532.068-.25.1-.51.095-.77H23V17h-2.243v-6.475H18.8V8.93z`})]}))}),Lu=`Anthropic`,Ru=`#F1F0E8`,zu=`#141413`,Bu=.75;function Vu(e){"@babel/helpers - typeof";return Vu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Vu(e)}var Hu=[`size`,`style`];function Uu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Wu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ju(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Yu=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=qu(e,Hu);return(0,F.jsxs)(`svg`,Wu(Wu({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Wu({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Lu}),(0,F.jsx)(`path`,{d:`M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z`})]}))});function Xu(e){"@babel/helpers - typeof";return Xu=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Xu(e)}function Zu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qu(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gd(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var _d=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=hd(e,ld);return(0,F.jsxs)(`svg`,dd(dd({fill:`currentColor`,fillRule:`evenodd`,height:n,style:dd({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:id}),(0,F.jsx)(`path`,{d:`M10.595 1.5a3.695 3.695 0 00-3.444 2.355L0 22.26h5.432l5.629-14.486h.002a.96.96 0 011.782 0h.75V4.835h-1.393L13.498 1.5h-2.902z`}),(0,F.jsx)(`path`,{d:`M7.151 3.855a3.695 3.695 0 013.26-2.35l-.002-.005H13.405c1.524 0 2.893.936 3.444 2.355L24 22.26h-5.525L11.54 4.413a2.528 2.528 0 00-4.609.006l.22-.564z`})]}))});function vd(e){"@babel/helpers - typeof";return vd=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vd(e)}function yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bd(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fd(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Id=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Pd(e,kd);return(0,F.jsxs)(`svg`,jd(jd({fill:`currentColor`,fillRule:`evenodd`,height:n,style:jd({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`AWS`}),(0,F.jsx)(`path`,{d:`M6.763 11.212c0 .296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183 0 .08-.048.16-.152.24l-.503.335a.383.383 0 01-.208.072c-.08 0-.16-.04-.239-.112a2.47 2.47 0 01-.287-.375 6.18 6.18 0 01-.248-.471c-.622.734-1.405 1.101-2.347 1.101-.67 0-1.205-.191-1.596-.574-.39-.384-.59-.894-.59-1.533 0-.678.24-1.23.726-1.644.487-.415 1.133-.623 1.955-.623.272 0 .551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28 0-.568.031-.863.103-.295.072-.583.16-.862.272a2.4 2.4 0 01-.28.104.488.488 0 01-.127.023c-.112 0-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597 0 01.224-.167 4.577 4.577 0 011.005-.36 4.84 4.84 0 011.246-.151c.95 0 1.644.216 2.091.647.44.43.662 1.085.662 1.963v2.586h.016zm-3.24 1.214c.263 0 .534-.048.822-.144a1.78 1.78 0 00.758-.51 1.27 1.27 0 00.272-.512c.047-.191.08-.423.08-.694v-.335a6.66 6.66 0 00-.735-.136 6.02 6.02 0 00-.75-.048c-.535 0-.926.104-1.19.32-.263.215-.39.518-.39.917 0 .375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144 0-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586 6.726a1.398 1.398 0 01-.072-.32c0-.128.064-.2.191-.2h.783c.151 0 .255.025.31.08.065.048.113.16.16.312l1.342 5.284 1.245-5.284c.04-.16.088-.264.151-.312a.549.549 0 01.32-.08h.638c.152 0 .256.025.32.08.063.048.12.16.151.312l1.261 5.348 1.381-5.348c.048-.16.104-.264.16-.312a.52.52 0 01.311-.08h.743c.127 0 .2.065.2.2 0 .04-.009.08-.017.128a1.137 1.137 0 01-.056.2l-1.923 6.17c-.048.16-.104.263-.168.311a.51.51 0 01-.303.08h-.687c-.15 0-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32L12.32 7.747l-1.23 5.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08l-.686.001zm10.256.215c-.415 0-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563 0 01-.048-.224v-.407c0-.167.064-.247.183-.247.048 0 .096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.32.064.63.096.95.096.502 0 .894-.088 1.165-.264a.86.86 0 00.415-.758.777.777 0 00-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902 1.902 0 01-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136 1.006-.136.175 0 .36.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69 0 01.24.2.43.43 0 01.071.263v.375c0 .168-.064.256-.184.256a.83.83 0 01-.303-.096 3.652 3.652 0 00-1.532-.311c-.455 0-.815.071-1.062.223-.248.152-.375.383-.375.71 0 .224.08.416.24.567.16.152.454.304.877.44l1.134.358c.574.184.99.44 1.237.767.247.327.367.702.367 1.117 0 .343-.072.655-.207.926a2.157 2.157 0 01-.583.703c-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167z`}),(0,F.jsx)(`path`,{d:`M.378 15.475c3.384 1.963 7.56 3.153 11.877 3.153 2.914 0 6.114-.607 9.06-1.852.44-.2.814.287.383.607-2.626 1.94-6.442 2.969-9.722 2.969-4.598 0-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351zm23.531-.2c.287.36-.08 2.826-1.485 4.007-.215.184-.423.088-.327-.151l.175-.439c.343-.88.802-2.198.52-2.555-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36 1.5-1.053 3.967-.75 4.254-.399z`,fill:`#F90`})]}))});function Ld(e){"@babel/helpers - typeof";return Ld=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ld(e)}function Rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zd(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rf(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var af=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=nf(e,Xd);return(0,F.jsxs)(`svg`,Qd(Qd({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Qd({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Gd}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0018.1 1H7.549A6.55 6.55 0 001 7.55c0 3.617 2.745 6.549 7.128 6.549z`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M9.912 18.61a4.387 4.387 0 012.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 01-5.105 5.104l-3.597-.001a4.386 4.386 0 01-4.386-4.387z`}),(0,F.jsx)(`path`,{d:`M4.776 14.962A3.775 3.775 0 001 18.738v.489a3.776 3.776 0 007.551 0v-.49a3.775 3.775 0 00-3.775-3.775z`})]}))});function of(e){"@babel/helpers - typeof";return of=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},of(e)}function sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cf(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ef(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Df=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Tf(e,yf);return(0,F.jsxs)(`svg`,xf(xf({fill:`currentColor`,fillRule:`evenodd`,height:n,style:xf({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:mf}),(0,F.jsx)(`path`,{d:`M21.821 9.894l-9.81 5.595L1.505 9.511 1 9.787v4.34l11.01 6.256 9.811-5.574v2.297l-9.81 5.596-10.506-5.979L1 17v.745L12.01 24 23 17.745v-4.34l-.505-.277-10.484 5.957-9.832-5.574v-2.298l9.832 5.574L23 10.532V6.255l-.547-.319-10.442 5.936-9.327-5.276 9.327-5.298 7.663 4.362.673-.383v-.532L12.011 0 1 6.255v.681l11.01 6.255 9.811-5.595z`})]}))});function Of(e){"@babel/helpers - typeof";return Of=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Of(e)}function kf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Af(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Jf(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Yf=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=qf(e,Vf);return(0,F.jsxs)(`svg`,Uf(Uf({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Uf({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:If}),(0,F.jsx)(`path`,{d:`M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z`})]}))});function Xf(e){"@babel/helpers - typeof";return Xf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Xf(e)}function Zf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qf(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var _p=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=hp(e,lp);return(0,F.jsxs)(`svg`,dp(dp({fill:`currentColor`,fillRule:`evenodd`,height:n,style:dp({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ip}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M14.8 5l-2.801 6.795L9.195 5H7.397l3.072 7.428a1.64 1.64 0 003.038.002L16.598 5H14.8zm1.196 10.352l5.124-5.244-.699-1.669-5.596 5.739a1.664 1.664 0 00-.343 1.807 1.642 1.642 0 001.516 1.012L16 17l8-.02-.699-1.669-7.303.041h-.002zM2.88 10.104l.699-1.669 5.596 5.739c.468.479.603 1.189.343 1.807a1.643 1.643 0 01-1.516 1.012l-8-.018-.002.002.699-1.669 7.303.042-5.122-5.246z`})]}))});function vp(e){"@babel/helpers - typeof";return vp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vp(e)}function yp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bp(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var zp=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Lp(e,jp);return(0,F.jsxs)(`svg`,Np(Np({height:n,style:Np({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Ep}),(0,F.jsx)(`path`,{d:`M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z`,fill:`#4285F4`}),(0,F.jsx)(`path`,{d:`M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z`,fill:`#34A853`}),(0,F.jsx)(`path`,{d:`M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z`,fill:`#FBBC05`}),(0,F.jsx)(`path`,{d:`M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z`,fill:`#EB4335`})]}))});function Bp(e){"@babel/helpers - typeof";return Bp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Bp(e)}function Vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hp(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function am(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var om=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=im(e,Qp);return(0,F.jsxs)(`svg`,em(em({fill:`currentColor`,fillRule:`evenodd`,height:n,style:em({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`IBM`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M24 16.333V17h-3.158v-.667H24zm-7.579 0V17h-3.158v-.667h3.158zm2.464 0L18.63 17l-.25-.667h.504zm-7.075 0a2.528 2.528 0 01-1.717.667h-5.04v-.667h6.757zm-7.389 0V17H0v-.667h4.421zm12-1.333v.667h-3.158V15h3.158zm2.958 0l-.246.667h-1L17.885 15h1.494zm-6.937 0c-.057.237-.148.46-.265.667H5.053V15h7.39zm-8.02 0v.667H0V15h4.421zM24 15v.667h-3.158V15H24zm-1.263-1.333v.666h-1.895v-.666h1.895zm-6.316 0v.666h-1.895v-.666h1.895zm3.453 0l-.248.666h-1.989l-.25-.666h2.487zm-7.52 0c.056.212.088.435.088.666h-2.337v-.666h2.249zm-4.143 0v.666H6.316v-.666H8.21zm-5.053 0v.666H1.263v-.666h1.895zm19.579-1.334V13h-1.895v-.667h1.895zm-6.316 0V13h-1.895v-.667h1.895zm3.948 0l-.247.667h-2.987l-.245-.667h3.48zm-8.792 0c.218.188.405.414.55.667H6.315v-.667h5.26zm-8.42 0V13H1.264v-.667h1.895zM18.456 11l.177.539.176-.539h3.929v.667h-1.895v-.613l-.215.613H16.63l-.209-.613v.613h-1.895V11h3.929zM3.158 11v.667H1.263V11h1.895zm8.968 0a2.555 2.555 0 01-.55.667h-5.26V11h5.81zm10.61-1.333v.666h-3.709l.224-.666h3.486zm-4.722 0l.224.666h-3.712v-.666h3.488zm-5.572 0c0 .23-.032.454-.088.666h-2.249v-.666h2.337zm-4.231 0v.666H6.316v-.666H8.21zm-5.053 0v.666H1.263v-.666h1.895zm14.419-1.334l.22.667h-4.534v-.667h4.314zm6.423 0V9h-4.536l.229-.667H24zm-11.823 0c.117.206.208.43.265.667h-7.39v-.667h7.125zm-7.756 0V9H0v-.667h4.421zM17.133 7l.224.667h-4.094V7h3.87zM24 7v.667h-4.089L20.13 7H24zM10.093 7c.662 0 1.264.253 1.717.667H5.053V7h5.04zM4.42 7v.667H0V7h4.421z`})]}))});function sm(e){"@babel/helpers - typeof";return sm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sm(e)}function cm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lm(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Dm(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Om=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Em(e,bm);return(0,F.jsxs)(`svg`,Sm(Sm({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Sm({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:hm}),(0,F.jsx)(`path`,{d:`M6.608 21.416a4.608 4.608 0 100-9.217 4.608 4.608 0 000 9.217zM20.894 2.015c.614 0 1.106.492 1.106 1.106v9.002c0 5.13-4.148 9.309-9.217 9.37v-9.355l-.03-9.032c0-.614.491-1.106 1.106-1.106h7.158l-.123.015z`})]}))});function km(e){"@babel/helpers - typeof";return km=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},km(e)}function Am(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jm(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ym(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Xm=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Jm(e,Hm);return(0,F.jsxs)(`svg`,Wm(Wm({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Wm({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Lm}),(0,F.jsx)(`path`,{d:`M6.897 4c1.915 0 3.516.932 5.43 3.376l.282-.373c.19-.246.383-.484.58-.71l.313-.35C14.588 4.788 15.792 4 17.225 4c1.273 0 2.469.557 3.491 1.516l.218.213c1.73 1.765 2.917 4.71 3.053 8.026l.011.392.002.25c0 1.501-.28 2.759-.818 3.7l-.14.23-.108.153c-.301.42-.664.758-1.086 1.009l-.265.142-.087.04a3.493 3.493 0 01-.302.118 4.117 4.117 0 01-1.33.208c-.524 0-.996-.067-1.438-.215-.614-.204-1.163-.56-1.726-1.116l-.227-.235c-.753-.812-1.534-1.976-2.493-3.586l-1.43-2.41-.544-.895-1.766 3.13-.343.592C7.597 19.156 6.227 20 4.356 20c-1.21 0-2.205-.42-2.936-1.182l-.168-.184c-.484-.573-.837-1.311-1.043-2.189l-.067-.32a8.69 8.69 0 01-.136-1.288L0 14.468c.002-.745.06-1.49.174-2.23l.1-.573c.298-1.53.828-2.958 1.536-4.157l.209-.34c1.177-1.83 2.789-3.053 4.615-3.16L6.897 4zm-.033 2.615l-.201.01c-.83.083-1.606.673-2.252 1.577l-.138.199-.01.018c-.67 1.017-1.185 2.378-1.456 3.845l-.004.022a12.591 12.591 0 00-.207 2.254l.002.188c.004.18.017.36.04.54l.043.291c.092.503.257.908.486 1.208l.117.137c.303.323.698.492 1.17.492 1.1 0 1.796-.676 3.696-3.641l2.175-3.4.454-.701-.139-.198C9.11 7.3 8.084 6.616 6.864 6.616zm10.196-.552l-.176.007c-.635.048-1.223.359-1.82.933l-.196.198c-.439.462-.887 1.064-1.367 1.807l.266.398c.18.274.362.56.55.858l.293.475 1.396 2.335.695 1.114c.583.926 1.03 1.6 1.408 2.082l.213.262c.282.326.529.54.777.673l.102.05c.227.1.457.138.718.138.176.002.35-.023.518-.073.338-.104.61-.32.813-.637l.095-.163.077-.162c.194-.459.29-1.06.29-1.785l-.006-.449c-.08-2.871-.938-5.372-2.2-6.798l-.176-.189c-.67-.683-1.444-1.074-2.27-1.074z`})]}))});function Zm(e){"@babel/helpers - typeof";return Zm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Zm(e)}function Qm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $m(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _h(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var vh=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=gh(e,uh);return(0,F.jsxs)(`svg`,fh(fh({fill:`currentColor`,fillRule:`evenodd`,height:n,style:fh({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ah}),(0,F.jsx)(`path`,{d:`M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z`})]}))});function yh(e){"@babel/helpers - typeof";return yh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yh(e)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xh(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Bh=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Rh(e,Mh);return(0,F.jsxs)(`svg`,Ph(Ph({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Ph({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Dh}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M3.428 3.4h3.429v3.428h3.429v3.429h-.002 3.431V6.828h3.427V3.4h3.43v13.714H24v3.429H13.714v-3.428h-3.428v-3.429h-3.43v3.428h3.43v3.429H0v-3.429h3.428V3.4zm10.286 13.715h3.428v-3.429h-3.427v3.429z`})]}))});function Vh(e){"@babel/helpers - typeof";return Vh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Vh(e)}function Hh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Uh(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sg(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var cg=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=og(e,eg);return(0,F.jsxs)(`svg`,ng(ng({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ng({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Yh}),(0,F.jsx)(`path`,{d:`M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z`})]}))});function lg(e){"@babel/helpers - typeof";return lg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},lg(e)}function ug(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dg(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function kg(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ag=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Og(e,Sg);return(0,F.jsxs)(`svg`,wg(wg({fill:`currentColor`,fillRule:`evenodd`,height:n,style:wg({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:_g}),(0,F.jsx)(`path`,{d:`M7.941 2c.23 0 .452.073.638.21.186.136.325.328.397.55l.593 1.814c.073.221.212.413.397.55.186.136.409.21.638.21h2.791c.23 0 .452-.074.638-.21a1.11 1.11 0 00.397-.55l.594-1.815a1.11 1.11 0 01.397-.55c.185-.136.408-.209.637-.209h1.7c.23 0 .453.073.639.21.185.136.324.328.397.55l.652 1.994c.118.361.41.635.77.728l2.957.752c.236.06.446.199.596.394.15.195.23.436.231.684v9.376c0 .248-.081.488-.231.684a1.09 1.09 0 01-.595.394l-2.957.752a1.086 1.086 0 00-.477.263 1.114 1.114 0 00-.293.465l-.653 1.994a1.11 1.11 0 01-.396.55c-.186.136-.41.21-.638.21h-1.702c-.229 0-.452-.073-.637-.21a1.11 1.11 0 01-.397-.55l-.364-1.11a1.131 1.131 0 01.15-1.002 1.074 1.074 0 01.885-.462h2.85c.29 0 .567-.116.772-.325.204-.208.32-.49.32-.785V6.444c0-.294-.116-.577-.32-.785a1.08 1.08 0 00-.771-.326h-3.273c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v7.778c0 .295-.114.578-.319.786a1.08 1.08 0 01-.771.325h-2.182a1.08 1.08 0 01-.771-.325 1.122 1.122 0 01-.32-.786V6.444c0-.294-.115-.577-.32-.785a1.081 1.081 0 00-.77-.326H5.454c-.29 0-.567.117-.772.326-.204.208-.32.49-.32.785v11.112c0 .294.116.577.32.785.205.209.482.326.772.326h2.85a1.075 1.075 0 01.885.461 1.122 1.122 0 01.15 1.001l-.364 1.112a1.11 1.11 0 01-.397.55c-.185.136-.408.209-.637.209H6.24c-.229 0-.452-.073-.638-.21a1.11 1.11 0 01-.397-.55l-.652-1.994a1.114 1.114 0 00-.294-.465 1.086 1.086 0 00-.477-.263l-2.956-.752a1.09 1.09 0 01-.595-.394A1.124 1.124 0 010 16.688V7.312c0-.248.081-.489.231-.684.15-.195.36-.334.595-.394l2.957-.753c.178-.045.342-.136.477-.263.134-.127.235-.287.293-.464l.653-1.995a1.11 1.11 0 01.397-.55C5.788 2.075 6.01 2 6.24 2h1.701z`})]}))});function jg(e){"@babel/helpers - typeof";return jg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jg(e)}function Mg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ng(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zg(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Qg=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Xg(e,Wg);return(0,F.jsxs)(`svg`,Kg(Kg({fill:`none`,height:n,style:Kg({flex:`none`,lineHeight:1},r),viewBox:`0 0 33 32`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:zg}),(0,F.jsx)(`path`,{d:`m17.865 23.28 1.533 1.543c.07.07.092.175.055.267l-2.398 6.118A1.24 1.24 0 0 1 15.9 32c-.51 0-.969-.315-1.155-.793l-3.451-8.804-5.582 5.617a.246.246 0 0 1-.35 0l-1.407-1.415a.25.25 0 0 1 0-.352l6.89-6.932a1.3 1.3 0 0 1 .834-.398 1.25 1.25 0 0 1 1.232.79l2.992 7.63 1.557-3.977a.248.248 0 0 1 .408-.085zm8.224-19.3-5.583 5.617-3.45-8.805a1.24 1.24 0 0 0-1.43-.762c-.414.092-.744.407-.899.805l-2.38 6.072a.25.25 0 0 0 .055.267l1.533 1.543c.127.127.34.082.407-.085L15.9 4.655l2.991 7.629a1.24 1.24 0 0 0 2.035.425l6.922-6.965a.25.25 0 0 0 0-.352L26.44 3.977a.246.246 0 0 0-.35 0zM8.578 17.566l-3.953-1.567 7.582-3.01c.49-.195.815-.685.785-1.24a1.3 1.3 0 0 0-.395-.84l-6.886-6.93a.246.246 0 0 0-.35 0L3.954 5.395a.25.25 0 0 0 0 .353l5.583 5.617-8.75 3.472a1.25 1.25 0 0 0 0 2.325l6.079 2.412a.24.24 0 0 0 .266-.055l1.533-1.542a.25.25 0 0 0-.085-.41zm22.434-2.73-6.08-2.412a.24.24 0 0 0-.265.055l-1.533 1.542a.25.25 0 0 0 .084.41L27.172 16l-7.583 3.01a1.255 1.255 0 0 0-.785 1.24c.018.317.172.614.395.84l6.89 6.931a.246.246 0 0 0 .35 0l1.406-1.415a.25.25 0 0 0 0-.352l-5.582-5.617 8.75-3.472a1.25 1.25 0 0 0 0-2.325z`,fill:`currentColor`})]}))});function $g(e){"@babel/helpers - typeof";return $g=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$g(e)}function e_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t_(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function y_(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var b_=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=v_(e,f_);return(0,F.jsxs)(`svg`,m_(m_({fill:`currentColor`,fillRule:`evenodd`,height:n,style:m_({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:s_}),(0,F.jsx)(`path`,{d:`M10.212 8.976V7.62c.127-.01.256-.017.388-.021 3.596-.117 5.957 3.184 5.957 3.184s-2.548 3.647-5.282 3.647a3.227 3.227 0 01-1.063-.175v-4.109c1.4.174 1.681.812 2.523 2.258l1.873-1.627a4.905 4.905 0 00-3.67-1.846 6.594 6.594 0 00-.729.044m0-4.476v2.025c.13-.01.259-.019.388-.024 5.002-.174 8.261 4.226 8.261 4.226s-3.743 4.69-7.643 4.69c-.338 0-.675-.031-1.007-.092v1.25c.278.038.558.057.838.057 3.629 0 6.253-1.91 8.794-4.169.421.347 2.146 1.193 2.501 1.564-2.416 2.083-8.048 3.763-11.24 3.763-.308 0-.603-.02-.894-.048V19.5H24v-15H10.21zm0 9.756v1.068c-3.356-.616-4.287-4.21-4.287-4.21a7.173 7.173 0 014.287-2.138v1.172h-.005a3.182 3.182 0 00-2.502 1.178s.615 2.276 2.507 2.931m-5.961-3.3c1.436-1.935 3.604-3.148 5.961-3.336V6.523C5.81 6.887 2 10.723 2 10.723s2.158 6.427 8.21 7.015v-1.166C5.77 16 4.25 10.958 4.25 10.958h-.002z`})]}))});function x_(e){"@babel/helpers - typeof";return x_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},x_(e)}function S_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function C_(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function V_(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var H_=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=B_(e,P_);return(0,F.jsxs)(`svg`,I_(I_({fill:`currentColor`,fillRule:`evenodd`,height:n,style:I_({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:k_}),(0,F.jsx)(`path`,{d:`M16.804 1.957l7.22 4.105v.087L16.73 10.21l.017-2.117-.821-.03c-1.059-.028-1.611.002-2.268.11-1.064.175-2.038.577-3.147 1.352L8.345 11.03c-.284.195-.495.336-.68.455l-.515.322-.397.234.385.23.53.338c.476.314 1.17.796 2.701 1.866 1.11.775 2.083 1.177 3.147 1.352l.3.045c.694.091 1.375.094 2.825.033l.022-2.159 7.22 4.105v.087L16.589 22l.014-1.862-.635.022c-1.386.042-2.137.002-3.138-.162-1.694-.28-3.26-.926-4.881-2.059l-2.158-1.5a21.997 21.997 0 00-.755-.498l-.467-.28a55.927 55.927 0 00-.76-.43C2.908 14.73.563 14.116 0 14.116V9.888l.14.004c.564-.007 2.91-.622 3.809-1.124l1.016-.58.438-.274c.428-.28 1.072-.726 2.686-1.853 1.621-1.133 3.186-1.78 4.881-2.059 1.152-.19 1.974-.213 3.814-.138l.02-1.907z`})]}))});function U_(e){"@babel/helpers - typeof";return U_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},U_(e)}function W_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G_(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lv(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var uv=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=cv(e,nv);return(0,F.jsxs)(`svg`,iv(iv({height:n,style:iv({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Z_}),(0,F.jsx)(`path`,{d:`M12 22.926c.928 0 1.679-.752 1.679-1.68V6.696h-3.358v14.552c0 .927.751 1.679 1.679 1.679z`,fill:`#F9AB00`}),(0,F.jsx)(`path`,{d:`M18.69 12.005A5.819 5.819 0 0012 10.904l7.188 7.188c.296.296.807.179.933-.22a5.815 5.815 0 00-1.431-5.867z`,fill:`#5BB974`}),(0,F.jsx)(`path`,{d:`M5.31 12.005A5.819 5.819 0 0112 10.904l-7.188 7.188a.562.562 0 01-.933-.22 5.815 5.815 0 011.431-5.867z`,fill:`#129EAF`}),(0,F.jsx)(`path`,{d:`M18.157 6.426c-2.86 0-5.288 1.875-6.157 4.478h11.367a.629.629 0 00.565-.908c-1.08-2.12-3.26-3.57-5.775-3.57z`,fill:`#AF5CF7`}),(0,F.jsx)(`path`,{d:`M13.188 3.384c-2.023 2.024-2.414 5.064-1.188 7.52l8.038-8.039a.629.629 0 00-.242-1.042c-2.264-.735-4.83-.217-6.608 1.561z`,fill:`#FF8BCB`}),(0,F.jsx)(`path`,{d:`M10.812 3.384c2.023 2.024 2.414 5.064 1.188 7.52L3.962 2.865a.629.629 0 01.242-1.042c2.264-.735 4.83-.217 6.608 1.561z`,fill:`#FA7B17`}),(0,F.jsx)(`path`,{d:`M5.843 6.426c2.86 0 5.288 1.875 6.157 4.478H.633a.629.629 0 01-.565-.908c1.08-2.12 3.26-3.57 5.775-3.57z`,fill:`#4285F4`})]}))});function dv(e){"@babel/helpers - typeof";return dv=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},dv(e)}function fv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pv(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jv(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Mv=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Av(e,wv);return(0,F.jsxs)(`svg`,Ev(Ev({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Ev({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:yv}),(0,F.jsx)(`path`,{d:`M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z`})]}))});function Nv(e){"@babel/helpers - typeof";return Nv=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Nv(e)}function Pv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fv(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $v(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var ey=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Qv(e,Kv);return(0,F.jsxs)(`svg`,Jv(Jv({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Jv({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Vv}),(0,F.jsx)(`path`,{d:`M11.615 0l6.237 6.107c2.382 2.338 2.823 3.743 3.161 6.15-1.197-1.732-1.776-2.02-4.504-2.772C12.48 8.374 11.095 5.933 11.615 0z`}),(0,F.jsx)(`path`,{d:`M9.32 2.122C4.771 6.367 2 9.182 2 13.08c0 5.76 4.288 9.788 9.745 9.918 5.457.13 9.441-5.284 9.095-8.403-.347-3.118-4.418-3.81-4.418-3.81 1.69 3.16-.13 8.098-4.894 8.098-5.154 0-6.8-6.02-4.2-9.008.82 1.617 1.879 2.563 2.674 3.273.717.64 1.219 1.09 1.136 1.664-.173 1.213-1.385.866-1.385.866.346.607 3.6 1.473 4.59-1.342.613-1.741-.423-2.789-1.714-4.096-1.632-1.651-3.672-3.717-3.31-8.118z`})]}))});function ty(e){"@babel/helpers - typeof";return ty=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ty(e)}function ny(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ry(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xy(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Sy=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=by(e,my);return(0,F.jsxs)(`svg`,gy(gy({fill:`currentColor`,fillRule:`evenodd`,height:n,style:gy({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ly}),(0,F.jsx)(`path`,{d:`M7.223 21c4.252 0 7.018-2.22 7.018-5.56 0-2.59-1.682-4.236-4.69-4.918l-1.93-.571c-1.694-.375-2.683-.825-2.45-1.975.194-.957.773-1.497 2.122-1.497 4.285 0 5.873 1.497 5.873 1.497v-3.6S11.62 3 7.293 3C3.213 3 1 5.07 1 8.273c0 2.59 1.534 4.097 4.645 4.812l.334.083c.473.144 1.112.335 1.916.572 1.59.375 1.999.773 1.999 1.966 0 1.09-1.15 1.71-2.67 1.71C2.841 17.416 1 15.231 1 15.231v3.989S2.152 21 7.223 21z`}),(0,F.jsx)(`path`,{d:`M20.374 20.73c1.505 0 2.626-1.073 2.626-2.526 0-1.484-1.089-2.526-2.626-2.526-1.505 0-2.594 1.042-2.594 2.526 0 1.484 1.089 2.526 2.594 2.526z`})]}))});function Cy(e){"@babel/helpers - typeof";return Cy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Cy(e)}function wy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ty(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hy(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Uy=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Vy(e,Fy);return(0,F.jsxs)(`svg`,Ly(Ly({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Ly({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`V0`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M14.252 8.25h5.624c.088 0 .176.006.26.018l-5.87 5.87a1.889 1.889 0 01-.019-.265V8.25h-2.25v5.623a4.124 4.124 0 004.125 4.125h5.624v-2.25h-5.624c-.09 0-.179-.006-.265-.018l5.874-5.875a1.9 1.9 0 01.02.27v5.623H24v-5.624A4.124 4.124 0 0019.876 6h-5.624v2.25zM0 7.5v.006l7.686 9.788c.924 1.176 2.813.523 2.813-.973V7.5H8.25v6.87L2.856 7.5H0z`})]}))});function Wy(e){"@babel/helpers - typeof";return Wy=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Wy(e)}function Gy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ky(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ub(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var db=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=lb(e,rb);return(0,F.jsxs)(`svg`,ab(ab({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ab({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Qy}),(0,F.jsx)(`path`,{d:`M11.995 20.216a1.892 1.892 0 100 3.785 1.892 1.892 0 000-3.785zm0 2.806a.927.927 0 11.927-.914.914.914 0 01-.927.914z`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M21.687 14.144c.237.038.452.16.605.344a.978.978 0 01-.18 1.3l-8.24 6.082a1.892 1.892 0 00-1.147-1.508l8.28-6.08a.991.991 0 01.682-.138z`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M10.122 21.842l-8.217-6.066a.952.952 0 01-.206-1.287.978.978 0 011.287-.206l8.28 6.08a1.893 1.893 0 00-1.144 1.479z`}),(0,F.jsx)(`path`,{d:`M4.273 4.475a.978.978 0 01-.965-.965V1.09a.978.978 0 111.943 0v2.42a.978.978 0 01-.978.965zM4.247 13.034a.978.978 0 100-1.956.978.978 0 000 1.956zM4.247 10.19a.978.978 0 100-1.956.978.978 0 000 1.956zM4.247 7.332a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M19.718 7.307a.978.978 0 01-.965-.979v-2.42a.965.965 0 011.93 0v2.42a.964.964 0 01-.965.979zM19.743 13.047a.978.978 0 100-1.956.978.978 0 000 1.956zM19.743 10.151a.978.978 0 100-1.956.978.978 0 000 1.956zM19.743 2.068a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M11.995 15.917a.978.978 0 01-.965-.965v-2.459a.978.978 0 011.943 0v2.433a.976.976 0 01-.978.991zM11.995 18.762a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 10.64a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 7.783a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M15.856 10.177a.978.978 0 01-.965-.965v-2.42a.977.977 0 011.702-.763.979.979 0 01.241.763v2.42a.978.978 0 01-.978.965zM15.869 4.913a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 12.996a.978.978 0 100-1.956.978.978 0 000 1.956z`}),(0,F.jsx)(`path`,{d:`M8.121 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 7.783a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 4.913a.978.978 0 100-1.957.978.978 0 000 1.957zM8.134 12.996a.978.978 0 01-.978-.94V9.611a.965.965 0 011.93 0v2.445a.966.966 0 01-.952.94z`})]}))});function fb(e){"@babel/helpers - typeof";return fb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},fb(e)}function pb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mb(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mb(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Nb=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=jb(e,Tb);return(0,F.jsxs)(`svg`,Db(Db({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Db({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:bb}),(0,F.jsx)(`path`,{d:`M5.407 0v.066a.974.974 0 00-.048.245c-.011.11-.016.208-.016.295 0 .339.043.715.128 1.13.097.405.274.912.531 1.524l7.125 16.366L20.011 3.39c.161-.404.333-.846.515-1.327.182-.48.273-.966.273-1.458a1.406 1.406 0 00-.096-.54V0H24v.066c-.204.207-.45.578-.74 1.114-.29.535-.606 1.195-.949 1.982L13.095 24h-1.287L3.075 3.965c-.204-.47-.418-.923-.644-1.36-.214-.437-.418-.83-.61-1.18-.194-.36-.365-.66-.515-.9A5.666 5.666 0 001 .064V0h4.407z`})]}))});function Pb(e){"@babel/helpers - typeof";return Pb=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Pb(e)}function Fb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ib(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ex(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var tx=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=$b(e,qb);return(0,F.jsxs)(`svg`,Yb(Yb({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Yb({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Hb}),(0,F.jsx)(`path`,{d:`M.958 15.936a.459.459 0 01.459.44v2.729a.46.46 0 01-.918 0v-2.729a.459.459 0 01.459-.44zm4.814-2.035a.46.46 0 01.553.45v4.754a.458.458 0 11-.918 0V15.48L3.74 17.202a.462.462 0 01-.655.016.462.462 0 01-.065-.082L.628 14.67a.459.459 0 01.658-.637l2.124 2.187 2.127-2.188a.46.46 0 01.235-.13zm2.068.004a.46.46 0 01.458.445v4.755a.46.46 0 01-.458.458.459.459 0 01-.458-.458V14.35a.459.459 0 01.458-.445zm1.973 2.014a.46.46 0 01.46.457v2.729a.46.46 0 01-.784.324.46.46 0 01-.134-.324v-2.729a.46.46 0 01.458-.458zm.002-2.045a.458.458 0 01.328.157l2.127 2.19 2.125-2.19a.459.459 0 01.784.318v4.756a.46.46 0 01-.455.458.46.46 0 01-.458-.458V15.48l-1.667 1.723a.46.46 0 01-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46 0 01-.008-.667.461.461 0 01.338-.128zm6.797 1.206a.46.46 0 01.53.651A1.966 1.966 0 0019.81 18.4a.462.462 0 01.623.18.46.46 0 01-.181.624 2.863 2.863 0 01-1.38.353l-.142-.004a2.88 2.88 0 01-2.393-4.263.461.461 0 01.274-.21zm.864-.931a2.884 2.884 0 013.915 3.914.46.46 0 01-.402.24l-.057-.004a.458.458 0 01-.164-.055.46.46 0 01-.182-.622 1.967 1.967 0 00-2.669-2.67.459.459 0 11-.441-.803zM9.59 6.368c1.481 0 1.696 1.202 1.696 1.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133 0-1.289-.03-1.384-1.136-.082-.932.675-1.61 2.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379 1.012-.567 1.764-.567zm4.427.1c1.263 0 2.082.97 2.083 2.15 0 1.181-.824 2.154-2.083 2.154-1.26 0-2.084-.972-2.084-2.152 0-1.18.82-2.153 2.084-2.153zm6.801.015c.68 0 1.202.465 1.197 1.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628 0-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22 1.22 0 01.947-.516c.398 0 .76.193.982.686a1.321 1.321 0 011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311 8.07l2.14 2.602H4.24L2.725 8.796 1.21 10.672H0L2.138 8.07.13 5.583h1.138l1.458 1.772zm4.149 3.317h-.916V6.644h.916v4.028zm16.99 0h-.916V6.644h.916v4.028zM9.925 8.71c-1.055 0-1.359.412-1.326.742.032.329.324.537.757.537a1.013 1.013 0 001.014-.968l.002-.31h-.447zM14.018 7.3c-.663 0-1.184.487-1.184 1.32 0 .832.52 1.32 1.184 1.32.662 0 1.182-.49 1.182-1.32 0-.832-.52-1.32-1.182-1.32zM6.417 5.001a.568.568 0 01.587.582.588.588 0 01-1.175 0A.57.57 0 016.417 5zm16.991 0a.57.57 0 01.592.582.588.588 0 01-1.174 0 .57.57 0 01.357-.542.572.572 0 01.225-.04z`})]}))});function nx(e){"@babel/helpers - typeof";return nx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},nx(e)}function rx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ix(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Sx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Cx=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=xx(e,hx);return(0,F.jsxs)(`svg`,_x(_x({fill:`currentColor`,fillRule:`evenodd`,height:n,style:_x({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ux}),(0,F.jsx)(`path`,{d:`M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z`})]}))});function wx(e){"@babel/helpers - typeof";return wx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},wx(e)}function Tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ex(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Wx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Gx=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Ux(e,Lx);return(0,F.jsxs)(`svg`,zx(zx({fill:`currentColor`,fillRule:`evenodd`,height:n,style:zx({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Mx}),(0,F.jsx)(`path`,{d:`M2.373 4.301L1 7.663a4.608 4.608 0 012.602 2.602c.976 2.422-.18 5.169-2.566 6.145L2.41 19.77c2.096-.867 3.723-2.494 4.554-4.59A8.346 8.346 0 002.374 4.3zM5.916 21.072L8.084 24c1.049-.759 1.988-1.699 2.783-2.71l-2.819-2.242a11.324 11.324 0 01-2.132 2.024zM14.157 12.036c0-4.699-2.277-9.144-6.073-11.928L5.916 3.036c2.891 2.096 4.59 5.458 4.626 9.036A14.81 14.81 0 0016.578 24l2.133-2.928c-2.856-2.132-4.554-5.458-4.554-9.036zM18.82 2.964L16.722 0a14.601 14.601 0 00-2.964 2.82l2.82 2.24a11.256 11.256 0 012.24-2.096zM21.277 14.06c-1.12-2.421-.036-5.313 2.386-6.433l-1.518-3.29a8.457 8.457 0 00-4.193 4.265c-1.916 4.265 0 9.29 4.301 11.17l1.482-3.29a4.862 4.862 0 01-2.458-2.422z`})]}))});function Kx(e){"@babel/helpers - typeof";return Kx=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Kx(e)}function qx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jx(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var pS=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=dS(e,aS);return(0,F.jsxs)(`svg`,sS(sS({fill:`currentColor`,fillRule:`evenodd`,height:n,style:sS({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:eS}),(0,F.jsx)(`path`,{d:`M17.583 12.344L14.606 17.5H20.6c.22 0 .424-.117.535-.308l2.799-4.848h-6.351zM23.934 11.656l-2.799-4.848A.616.616 0 0020.6 6.5h-5.994l2.977 5.156h6.35zM8.653 6.5h5.953l-2.997-5.191A.616.616 0 0011.074 1H5.476l3.176 5.5zM4.881 1.343L2.083 6.191a.618.618 0 000 .617l2.997 5.191 2.976-5.156-3.175-5.5zM8.057 17.155L5.081 12l-2.998 5.192a.618.618 0 000 .617l2.798 4.848 3.175-5.5h.001zM5.476 23h5.598c.22 0 .424-.117.535-.308l2.997-5.192H8.653L5.477 23z`})]}))});function mS(e){"@babel/helpers - typeof";return mS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},mS(e)}function hS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gS(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function BS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var VS=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=zS(e,DS),a=NS(nl(SS,3),3),o=a[0],s=a[1],c=a[2];return(0,F.jsxs)(`svg`,kS(kS({height:n,style:kS({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:SS}),(0,F.jsx)(`path`,{d:`M7.242 1.613A1.11 1.11 0 018.295.857h6.977L8.03 22.316a1.11 1.11 0 01-1.052.755h-5.43a1.11 1.11 0 01-1.053-1.466L7.242 1.613z`,fill:o.fill}),(0,F.jsx)(`path`,{d:`M18.397 15.296H7.4a.51.51 0 00-.347.882l7.066 6.595c.206.192.477.298.758.298h6.226l-2.706-7.775z`,fill:`#0078D4`}),(0,F.jsx)(`path`,{d:`M15.272.857H7.497L0 23.071h7.775l1.596-4.73 5.068 4.73h6.665l-2.707-7.775h-7.998L15.272.857z`,fill:s.fill}),(0,F.jsx)(`path`,{d:`M17.193 1.613a1.11 1.11 0 00-1.052-.756h-7.81.035c.477 0 .9.304 1.052.756l6.748 19.992a1.11 1.11 0 01-1.052 1.466h-.12 7.895a1.11 1.11 0 001.052-1.466L17.193 1.613z`,fill:c.fill}),(0,F.jsxs)(`defs`,{children:[(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o.id,x1:`8.247`,x2:`1.002`,y1:`1.626`,y2:`23.03`,children:[(0,F.jsx)(`stop`,{stopColor:`#114A8B`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#0669BC`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:s.id,x1:`14.042`,x2:`12.324`,y1:`15.302`,y2:`15.888`,children:[(0,F.jsx)(`stop`,{stopOpacity:`.3`}),(0,F.jsx)(`stop`,{offset:`.071`,stopOpacity:`.2`}),(0,F.jsx)(`stop`,{offset:`.321`,stopOpacity:`.1`}),(0,F.jsx)(`stop`,{offset:`.623`,stopOpacity:`.05`}),(0,F.jsx)(`stop`,{offset:`1`,stopOpacity:`0`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:c.id,x1:`12.841`,x2:`20.793`,y1:`1.626`,y2:`22.814`,children:[(0,F.jsx)(`stop`,{stopColor:`#3CCBF4`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#2892DF`})]})]})]}))});function HS(e){"@babel/helpers - typeof";return HS=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},HS(e)}function US(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function WS(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var hC=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=pC(e,tC),a=sC(nl(XS,3),3),o=a[0],s=a[1],c=a[2];return(0,F.jsxs)(`svg`,rC(rC({height:n,style:rC({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:XS}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M16.233 0c.713 0 1.345.551 1.572 1.329.227.778 1.555 5.59 1.555 5.59v9.562h-4.813L14.645 0h1.588z`,fill:o.fill,fillRule:`evenodd`}),(0,F.jsx)(`path`,{d:`M23.298 7.47c0-.34-.275-.6-.6-.6h-2.835a3.617 3.617 0 00-3.614 3.615v5.996h3.436a3.617 3.617 0 003.613-3.614V7.47z`,fill:s.fill}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M16.233 0a.982.982 0 00-.989.989l-.097 18.198A4.814 4.814 0 0110.334 24H1.6a.597.597 0 01-.567-.794l7-19.981A4.819 4.819 0 0112.57 0h3.679-.016z`,fill:c.fill,fillRule:`evenodd`}),(0,F.jsxs)(`defs`,{children:[(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o.id,x1:`18.242`,x2:`14.191`,y1:`16.837`,y2:`.616`,children:[(0,F.jsx)(`stop`,{stopColor:`#712575`}),(0,F.jsx)(`stop`,{offset:`.09`,stopColor:`#9A2884`}),(0,F.jsx)(`stop`,{offset:`.18`,stopColor:`#BF2C92`}),(0,F.jsx)(`stop`,{offset:`.27`,stopColor:`#DA2E9C`}),(0,F.jsx)(`stop`,{offset:`.34`,stopColor:`#EB30A2`}),(0,F.jsx)(`stop`,{offset:`.4`,stopColor:`#F131A5`}),(0,F.jsx)(`stop`,{offset:`.5`,stopColor:`#EC30A3`}),(0,F.jsx)(`stop`,{offset:`.61`,stopColor:`#DF2F9E`}),(0,F.jsx)(`stop`,{offset:`.72`,stopColor:`#C92D96`}),(0,F.jsx)(`stop`,{offset:`.83`,stopColor:`#AA2A8A`}),(0,F.jsx)(`stop`,{offset:`.95`,stopColor:`#83267C`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#712575`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:s.id,x1:`19.782`,x2:`19.782`,y1:`.34`,y2:`23.222`,children:[(0,F.jsx)(`stop`,{stopColor:`#DA7ED0`}),(0,F.jsx)(`stop`,{offset:`.08`,stopColor:`#B17BD5`}),(0,F.jsx)(`stop`,{offset:`.19`,stopColor:`#8778DB`}),(0,F.jsx)(`stop`,{offset:`.3`,stopColor:`#6276E1`}),(0,F.jsx)(`stop`,{offset:`.41`,stopColor:`#4574E5`}),(0,F.jsx)(`stop`,{offset:`.54`,stopColor:`#2E72E8`}),(0,F.jsx)(`stop`,{offset:`.67`,stopColor:`#1D71EB`}),(0,F.jsx)(`stop`,{offset:`.81`,stopColor:`#1471EC`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#1171ED`})]}),(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:c.id,x1:`18.404`,x2:`3.236`,y1:`.859`,y2:`25.183`,children:[(0,F.jsx)(`stop`,{stopColor:`#DA7ED0`}),(0,F.jsx)(`stop`,{offset:`.05`,stopColor:`#B77BD4`}),(0,F.jsx)(`stop`,{offset:`.11`,stopColor:`#9079DA`}),(0,F.jsx)(`stop`,{offset:`.18`,stopColor:`#6E77DF`}),(0,F.jsx)(`stop`,{offset:`.25`,stopColor:`#5175E3`}),(0,F.jsx)(`stop`,{offset:`.33`,stopColor:`#3973E7`}),(0,F.jsx)(`stop`,{offset:`.42`,stopColor:`#2772E9`}),(0,F.jsx)(`stop`,{offset:`.54`,stopColor:`#1A71EB`}),(0,F.jsx)(`stop`,{offset:`.68`,stopColor:`#1371EC`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#1171ED`})]})]})]}))});function gC(e){"@babel/helpers - typeof";return gC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},gC(e)}function _C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vC(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function IC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var LC=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=FC(e,kC);return(0,F.jsxs)(`svg`,jC(jC({fill:`currentColor`,fillRule:`evenodd`,height:n,style:jC({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:wC}),(0,F.jsx)(`path`,{d:`M8.859 11.735c1.017-1.71 4.059-3.083 6.202.286 1.579 2.284 4.284 4.397 4.284 4.397s2.027 1.601.73 4.684c-1.24 2.956-5.64 1.607-6.005 1.49l-.024-.009s-1.746-.568-3.776-.112c-2.026.458-3.773.286-3.773.286l-.045-.001c-.328-.01-2.38-.187-3.001-2.968-.675-3.028 2.365-4.687 2.592-4.968.226-.288 1.802-1.37 2.816-3.085zm.986 1.738v2.032h-1.64s-1.64.138-2.213 2.014c-.2 1.252.177 1.99.242 2.148.067.157.596 1.073 1.927 1.342h3.078v-7.514l-1.394-.022zm3.588 2.191l-1.44.024v3.956s.064.985 1.44 1.344h3.541v-5.3h-1.528v3.979h-1.46s-.466-.068-.553-.447v-3.556zM9.82 16.715v3.06H8.58s-.863-.045-1.126-1.049c-.136-.445.02-.959.088-1.16.063-.203.353-.671.951-.85H9.82zm9.525-9.036c2.086 0 2.646 2.06 2.646 2.742 0 .688.284 3.597-2.309 3.655-2.595.057-2.704-1.77-2.704-3.08 0-1.374.277-3.317 2.367-3.317zM4.24 6.08c1.523-.135 2.645 1.55 2.762 2.513.07.625.393 3.486-1.975 4-2.364.515-3.244-2.249-2.984-3.544 0 0 .28-2.797 2.197-2.969zm8.847-1.483c.14-1.31 1.69-3.316 2.931-3.028 1.236.285 2.367 1.944 2.137 3.37-.224 1.428-1.345 3.313-3.095 3.082-1.748-.226-2.143-1.823-1.973-3.424zM9.425 1c1.307 0 2.364 1.519 2.364 3.398 0 1.879-1.057 3.4-2.364 3.4s-2.367-1.521-2.367-3.4C7.058 2.518 8.118 1 9.425 1z`})]}))});function RC(e){"@babel/helpers - typeof";return RC=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},RC(e)}function zC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function BC(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iw(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var aw=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=rw(e,ZC);return(0,F.jsxs)(`svg`,$C($C({fill:`currentColor`,fillRule:`evenodd`,height:n,style:$C({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:KC}),(0,F.jsx)(`path`,{d:`M2.316 4.8h14.682v4.8H7.31a.302.302 0 00-.308.3v4.2c0 .171.14.3.308.3h9.688v4.8h-4.686a.302.302 0 00-.308.3v4.2c0 .171.141.3.308.3h4.378a.297.297 0 00.308-.3v-4.5h4.694a.302.302 0 00.308-.3v-4.2c0-.171-.14-.3-.308-.3h-4.694V9.6h4.694A.302.302 0 0022 9.3V5.1c0-.171-.14-.3-.308-.3h-4.694V.3c0-.171-.14-.3-.308-.3H2.316A.31.31 0 002 .3v4.2c0 .171.14.3.316.3z`})]}))});function ow(e){"@babel/helpers - typeof";return ow=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ow(e)}function sw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cw(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ew(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Dw=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Tw(e,yw);return(0,F.jsxs)(`svg`,xw(xw({fill:`currentColor`,fillRule:`evenodd`,height:n,style:xw({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:mw}),(0,F.jsx)(`path`,{d:`M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z`})]}))});function Ow(e){"@babel/helpers - typeof";return Ow=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Ow(e)}function kw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Aw(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Jw(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Yw=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=qw(e,Vw);return(0,F.jsxs)(`svg`,Uw(Uw({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Uw({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Iw}),(0,F.jsx)(`path`,{d:`M17.113 10.248H14.56l-2.553-3.616-7.963 11.27h2.558l5.405-7.654h2.552l-5.404 7.653h2.565l5.392-7.653L24 20 19.97 20v-2.091l-2.857-4.044-2.842 4.037V20H0L12.008 3l5.105 7.249z`})]}))});function Xw(e){"@babel/helpers - typeof";return Xw=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Xw(e)}function Zw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qw(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gT(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var _T=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=hT(e,lT);return(0,F.jsxs)(`svg`,dT(dT({fill:`currentColor`,fillRule:`evenodd`,height:n,style:dT({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:iT}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z`}),(0,F.jsx)(`path`,{d:`M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z`})]}))});function vT(e){"@babel/helpers - typeof";return vT=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vT(e)}function yT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bT(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function RT(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var zT=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=LT(e,jT);return(0,F.jsxs)(`svg`,NT(NT({fill:`currentColor`,fillRule:`evenodd`,height:n,style:NT({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ET}),(0,F.jsx)(`path`,{d:`M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437`}),(0,F.jsx)(`path`,{d:`M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777`})]}))});function BT(e){"@babel/helpers - typeof";return BT=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},BT(e)}function VT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HT(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var sE=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=aE(e,$T),a=tl(JT),o=a.id,s=a.fill;return(0,F.jsxs)(`svg`,tE(tE({height:n,style:tE({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:JT}),(0,F.jsx)(`path`,{d:`M12 0L4.583 6.583c-3.23 2.869-3.23 7.965 0 10.834L12 24l7.417-6.583c3.23-2.869 3.23-7.965 0-10.834L12 0z`,fill:s}),(0,F.jsx)(`defs`,{children:(0,F.jsxs)(`linearGradient`,{gradientUnits:`userSpaceOnUse`,id:o,x1:`18.919`,x2:`4.853`,y1:`5.595`,y2:`18.301`,children:[(0,F.jsx)(`stop`,{stopColor:`#F4BF45`}),(0,F.jsx)(`stop`,{offset:`.35`,stopColor:`#E48047`}),(0,F.jsx)(`stop`,{offset:`.69`,stopColor:`#C73361`}),(0,F.jsx)(`stop`,{offset:`1`,stopColor:`#A42F5F`})]})})]}))});function cE(e){"@babel/helpers - typeof";return cE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},cE(e)}function lE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uE(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function OE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var kE=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=DE(e,xE);return(0,F.jsxs)(`svg`,CE(CE({height:n,style:CE({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:gE}),(0,F.jsx)(`path`,{d:`M3.294 7.821A2.297 2.297 0 011 5.527a2.297 2.297 0 012.294-2.295A2.297 2.297 0 015.59 5.527 2.297 2.297 0 013.294 7.82zm0-3.688a1.396 1.396 0 000 2.79 1.396 1.396 0 000-2.79zM3.294 14.293A2.297 2.297 0 011 11.998a2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294 2.297 2.297 0 01-2.295 2.295zm0-3.688a1.395 1.395 0 000 2.788 1.395 1.395 0 100-2.788zM3.294 20.761A2.297 2.297 0 011 18.467a2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.295 2.294zm0-3.688a1.396 1.396 0 000 2.79 1.396 1.396 0 000-2.79zM20.738 7.821a2.297 2.297 0 01-2.295-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.294 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM20.738 14.293a2.297 2.297 0 01-2.295-2.295 2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688c-.769 0-1.395.625-1.395 1.393a1.396 1.396 0 002.79 0c0-.77-.626-1.393-1.395-1.393zM20.738 20.761a2.297 2.297 0 01-2.295-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.294 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.016 11.057a2.297 2.297 0 01-2.294-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.295 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.625-1.395-1.395-1.395zM12.017 4.589a2.297 2.297 0 01-2.295-2.295A2.297 2.297 0 0112.017 0a2.297 2.297 0 012.294 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.017 17.529a2.297 2.297 0 01-2.295-2.295 2.297 2.297 0 012.295-2.294 2.297 2.297 0 012.294 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.016 24a2.297 2.297 0 01-2.294-2.295 2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294A2.297 2.297 0 0112.016 24zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.625-1.395-1.395-1.395z`,fill:`#2A3275`}),(0,F.jsx)(`path`,{d:`M8.363 8.222a.742.742 0 01-.277-.053l-1.494-.596a.75.75 0 11.557-1.392l1.493.595a.75.75 0 01-.278 1.446h-.001zM8.363 14.566a.743.743 0 01-.277-.053l-1.494-.595a.75.75 0 11.557-1.393l1.493.596a.75.75 0 01-.278 1.445h-.001zM17.124 11.397a.741.741 0 01-.277-.054l-1.493-.595a.75.75 0 11.555-1.392l1.493.595a.75.75 0 01-.278 1.446zM17.124 5.05a.744.744 0 01-.277-.054L15.354 4.4a.75.75 0 01.555-1.392l1.493.596a.75.75 0 01-.278 1.445zM17.124 17.739a.743.743 0 01-.277-.053l-1.494-.596a.75.75 0 11.556-1.392l1.493.596a.75.75 0 01-.278 1.445zM6.91 17.966a.75.75 0 01-.279-1.445l1.494-.595a.749.749 0 11.556 1.392l-1.493.595a.743.743 0 01-.277.053H6.91zM6.91 11.66a.75.75 0 01-.279-1.446l1.494-.595a.75.75 0 01.556 1.392l-1.493.595a.743.743 0 01-.277.053H6.91zM6.91 5.033a.75.75 0 01-.279-1.446l1.494-.595a.75.75 0 01.556 1.392l-1.493.596a.744.744 0 01-.277.053H6.91zM8.363 21.364a.743.743 0 01-.277-.053l-1.494-.596a.75.75 0 01.555-1.392l1.494.595a.75.75 0 01-.278 1.446zM15.63 8.223a.75.75 0 01-.278-1.447l1.494-.595a.75.75 0 01.556 1.393l-1.494.595a.744.744 0 01-.276.054h-.002zM15.63 14.567a.75.75 0 01-.278-1.446l1.494-.596a.75.75 0 01.556 1.394l-1.494.595a.743.743 0 01-.276.053h-.002zM15.63 21.363a.749.749 0 01-.278-1.445l1.494-.595a.75.75 0 11.555 1.392l-1.494.595a.741.741 0 01-.277.053z`,fill:`#5699DB`})]}))});function AE(e){"@babel/helpers - typeof";return AE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},AE(e)}function jE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ME(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function YE(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var XE=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=JE(e,HE);return(0,F.jsxs)(`svg`,WE(WE({fill:`currentColor`,fillRule:`evenodd`,height:n,style:WE({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`Exa`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M3 0h19v1.791L13.892 12 22 22.209V24H3V0zm9.62 10.348l6.589-8.557H6.03l6.59 8.557zM5.138 3.935v7.17h5.52l-5.52-7.17zm5.52 8.96h-5.52v7.17l5.52-7.17zM6.03 22.21l6.59-8.557 6.589 8.557H6.03z`})]}))});function ZE(e){"@babel/helpers - typeof";return ZE=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ZE(e)}function QE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $E(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var _D=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=hD(e,lD);return(0,F.jsxs)(`svg`,dD(dD({fill:`currentColor`,fillRule:`evenodd`,height:n,style:dD({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:`Fal`}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M15.477 0c.415 0 .749.338.788.752a7.775 7.775 0 006.985 6.984c.413.04.752.373.752.788v6.952c0 .415-.338.748-.752.788a7.775 7.775 0 00-6.985 6.984c-.04.414-.373.752-.788.752H8.525c-.416 0-.749-.338-.789-.752a7.775 7.775 0 00-6.984-6.984c-.414-.04-.752-.373-.752-.788V8.524c0-.415.338-.748.752-.788A7.775 7.775 0 007.736.752C7.776.338 8.11 0 8.526 0h6.95zM4.819 11.98a7.226 7.226 0 007.223 7.23 7.226 7.226 0 007.223-7.23c0-3.994-3.234-7.23-7.223-7.23a7.227 7.227 0 00-7.223 7.23z`})]}))});function vD(e){"@babel/helpers - typeof";return vD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},vD(e)}function yD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bD(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function RD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var zD=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=LD(e,jD);return(0,F.jsxs)(`svg`,ND(ND({fill:`currentColor`,fillRule:`evenodd`,height:n,style:ND({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:ED}),(0,F.jsx)(`path`,{d:`M22.724 3.088C21.527 2.376 19.91 2 18.044 2c-2.854 0-6 .877-8.826 2.403l-.02-.007-.004.021c-.855.464-1.684.981-2.462 1.558C2.147 9.376.863 13.412 1.947 15.57.76 17.542.03 19.583 0 22c2.28-4.233 3.648-7.663 11.076-13.438-2.122.443-5.79 2.545-8.258 5.735-.233-1.866 1.28-4.879 4.65-7.379.428-.316.871-.612 1.324-.893-.354 1.071-.24.805-.975 2.307 1.086-1.001 1.8-1.62 2.873-3.335a18.995 18.995 0 014.276-1.465c-.238.767-.69 2.067-1.302 3.095 0 0 1.553-.324 2.837-.25-.701.753-1.333 1.569-1.973 2.403-.876 1.142-1.782 2.322-2.943 3.421-.14.133-.273.253-.408.377-1.784-.167-2.961.483-4.065 1.63.87-.395 2.04-.72 2.772-.524-1.35 1.073-3.477 2.487-5.224 2.37-.332.492-.353.507-.717 1.1 2.835.688 6.395-2.118 8.49-4.103 1.229-1.164 2.165-2.383 3.07-3.56 1.862-2.427 3.471-4.523 7.04-5.32L24 3.846l-1.276-.758z`})]}))});function BD(e){"@babel/helpers - typeof";return BD=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},BD(e)}function VD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HD(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var cO=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=oO(e,eO);return(0,F.jsxs)(`svg`,nO(nO({fill:`currentColor`,fillRule:`evenodd`,height:n,style:nO({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:JD}),(0,F.jsx)(`path`,{d:`M3.675 7.386A3.684 3.684 0 007.35 3.693 3.684 3.684 0 003.675 0 3.684 3.684 0 000 3.693a3.684 3.684 0 003.675 3.693zm0 16.614a3.683 3.683 0 003.675-3.693 3.684 3.684 0 00-3.675-3.693A3.683 3.683 0 000 20.307 3.684 3.684 0 003.675 24z`}),(0,F.jsx)(`path`,{d:`M10.338 7.2a8.002 8.002 0 011.146-.114h2.037a2.14 2.14 0 002.136-2.139V2.44c0-1.179-.96-2.139-2.136-2.139h-2.484a2.14 2.14 0 00-2.136 2.14l-.08 1.487a8.001 8.001 0 01-.12.9 5.2 5.2 0 01-.487 1.38s-.327.627-.753 1.068a5 5 0 01-.327.306l-.219.18a4.4 4.4 0 01-1.779.786c-.285.06-.939.066-1.206.072H2.433c-1.179 0-2.136.96-2.136 2.148v2.5c0 1.187.96 2.147 2.136 2.147h2.544a2.15 2.15 0 002.136-2.148v-1.794c-.02-.62.021-1.773.567-2.547.34-.48.88-.906.972-.98a3.58 3.58 0 01.798-.487c.087-.039.36-.147.885-.246V7.2h.003z`}),(0,F.jsx)(`path`,{d:`M21.897.3H19.28c-1.146 0-2.07.927-2.07 2.073V4.14s0 1.227-.3 2.14c-.321.905-1.131 1.727-1.944 2.027-.951.348-2.064.3-2.631.3h-1.59a2.07 2.07 0 00-2.064 2.073v2.634c0 1.146.924 2.073 2.064 2.073h2.622a2.07 2.07 0 002.064-2.073l.02-1.1c-.011-.409.028-1.249.226-1.86.072-.229.219-.649.552-1.108.24-.327.474-.534.71-.753.433-.387.799-.612.9-.666.22-.132.6-.36 1.138-.528.48-.147.84-.174 1.452-.213.36-.027.858-.039 1.458-.006 1.146 0 2.07-.927 2.07-2.073V2.373A2.07 2.07 0 0021.888.3h.009z`})]}))});function lO(e){"@babel/helpers - typeof";return lO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},lO(e)}function uO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dO(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function kO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var AO=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=OO(e,SO);return(0,F.jsxs)(`svg`,wO(wO({fill:`currentColor`,fillRule:`evenodd`,height:n,style:wO({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:_O}),(0,F.jsx)(`path`,{d:`M12 0c6.63 0 12 5.276 12 11.79-.001 5.067-3.29 9.567-8.175 11.187-.6.118-.825-.25-.825-.56 0-.398.015-1.665.015-3.242 0-1.105-.375-1.813-.81-2.181 2.67-.295 5.475-1.297 5.475-5.822 0-1.297-.465-2.344-1.23-3.169.12-.295.54-1.503-.12-3.125 0 0-1.005-.324-3.3 1.209a11.32 11.32 0 00-3-.398c-1.02 0-2.04.133-3 .398-2.295-1.518-3.3-1.209-3.3-1.209-.66 1.622-.24 2.83-.12 3.125-.765.825-1.23 1.887-1.23 3.169 0 4.51 2.79 5.527 5.46 5.822-.345.294-.66.81-.765 1.577-.69.31-2.415.81-3.495-.973-.225-.354-.9-1.223-1.845-1.209-1.005.015-.405.56.015.781.51.28 1.095 1.327 1.23 1.666.24.663 1.02 1.93 4.035 1.385 0 .988.015 1.916.015 2.196 0 .31-.225.664-.825.56C3.303 21.374-.003 16.867 0 11.791 0 5.276 5.37 0 12 0z`})]}))});function jO(e){"@babel/helpers - typeof";return jO=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jO(e)}function MO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NO(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ZO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var QO=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=XO(e,WO);return(0,F.jsxs)(`svg`,KO(KO({fill:`currentColor`,fillRule:`evenodd`,height:n,style:KO({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:zO}),(0,F.jsx)(`path`,{d:`M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.375 4.375 0 01-3.033-1.252l-1.851 1.818A7 7 0 0012.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2z`})]}))});function $O(e){"@babel/helpers - typeof";return $O=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$O(e)}function ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tk(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yk(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var bk=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=vk(e,fk);return(0,F.jsxs)(`svg`,mk(mk({height:n,style:mk({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:sk}),(0,F.jsx)(`path`,{d:`M2.25 11.535c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0c2.997 1.704 4.844 4.851 4.844 8.258 0 5.266-4.337 9.535-9.687 9.535S2.25 16.8 2.25 11.535z`,fill:`#FF9D0B`}),(0,F.jsx)(`path`,{d:`M11.938 20.086c4.797 0 8.687-3.829 8.687-8.551 0-4.722-3.89-8.55-8.687-8.55-4.798 0-8.688 3.828-8.688 8.55 0 4.722 3.89 8.55 8.688 8.55z`,fill:`#FFD21E`}),(0,F.jsx)(`path`,{d:`M11.875 15.113c2.457 0 3.25-2.156 3.25-3.263 0-.576-.393-.394-1.023-.089-.582.283-1.365.675-2.224.675-1.798 0-3.25-1.693-3.25-.586 0 1.107.79 3.263 3.25 3.263h-.003z`,fill:`#FF323D`}),(0,F.jsx)(`path`,{d:`M14.76 9.21c.32.108.445.753.767.585.447-.233.707-.708.659-1.204a1.235 1.235 0 00-.879-1.059 1.262 1.262 0 00-1.33.394c-.322.384-.377.92-.14 1.36.153.283.638-.177.925-.079l-.002.003zm-5.887 0c-.32.108-.448.753-.768.585a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003zm1.12 5.34a2.166 2.166 0 011.325-1.106c.07-.02.144.06.219.171l.192.306c.069.1.139.175.209.175.074 0 .15-.074.223-.172l.205-.302c.08-.11.157-.188.234-.165.537.168.986.536 1.25 1.026.932-.724 1.275-1.905 1.275-2.633 0-.508-.306-.426-.81-.19l-.616.296c-.52.24-1.148.48-1.824.48-.676 0-1.302-.24-1.823-.48l-.589-.283c-.52-.248-.838-.342-.838.177 0 .703.32 1.831 1.187 2.56l.18.14z`,fill:`#3A3B45`}),(0,F.jsx)(`path`,{d:`M17.812 10.366a.806.806 0 00.813-.8c0-.441-.364-.8-.813-.8a.806.806 0 00-.812.8c0 .442.364.8.812.8zm-11.624 0a.806.806 0 00.812-.8c0-.441-.364-.8-.812-.8a.806.806 0 00-.813.8c0 .442.364.8.813.8zM4.515 13.073c-.405 0-.765.162-1.017.46a1.455 1.455 0 00-.333.925 1.801 1.801 0 00-.485-.074c-.387 0-.737.146-.985.409a1.41 1.41 0 00-.2 1.722 1.302 1.302 0 00-.447.694c-.06.222-.12.69.2 1.166a1.267 1.267 0 00-.093 1.236c.238.533.81.958 1.89 1.405l.24.096c.768.3 1.473.492 1.478.494.89.243 1.808.375 2.732.394 1.465 0 2.513-.443 3.115-1.314.93-1.342.842-2.575-.274-3.763l-.151-.154c-.692-.684-1.155-1.69-1.25-1.912-.195-.655-.71-1.383-1.562-1.383-.46.007-.889.233-1.15.605-.25-.31-.495-.553-.715-.694a1.87 1.87 0 00-.993-.312zm14.97 0c.405 0 .767.162 1.017.46.216.262.333.588.333.925.158-.047.322-.071.487-.074.388 0 .738.146.985.409a1.41 1.41 0 01.2 1.722c.22.178.377.422.445.694.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.238.533-.81.958-1.889 1.405l-.239.096c-.77.3-1.475.492-1.48.494-.89.243-1.808.375-2.732.394-1.465 0-2.513-.443-3.115-1.314-.93-1.342-.842-2.575.274-3.763l.151-.154c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694.244-.162.523-.265.814-.3l.176-.012z`,fill:`#FF9D0B`}),(0,F.jsx)(`path`,{d:`M9.785 20.132c.688-.994.638-1.74-.305-2.667-.945-.928-1.495-2.288-1.495-2.288s-.205-.788-.672-.714c-.468.074-.81 1.25.17 1.971.977.721-.195 1.21-.573.534-.375-.677-1.405-2.416-1.94-2.751-.532-.332-.907-.148-.782.541.125.687 2.357 2.35 2.14 2.707-.218.362-.983-.42-.983-.42S2.953 14.9 2.43 15.46c-.52.558.398 1.026 1.7 1.803 1.308.778 1.41.985 1.225 1.28-.187.295-3.07-2.1-3.34-1.083-.27 1.011 2.943 1.304 2.745 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725 1.075.276 3.813.859 4.77-.522zm4.432 0c-.687-.994-.64-1.74.305-2.667.943-.928 1.493-2.288 1.493-2.288s.205-.788.675-.714c.465.074.807 1.25-.17 1.971-.98.721.195 1.21.57.534.377-.677 1.407-2.416 1.94-2.751.532-.332.91-.148.782.541-.125.687-2.355 2.35-2.137 2.707.215.362.98-.42.98-.42S21.05 14.9 21.57 15.46c.52.558-.395 1.026-1.7 1.803-1.308.778-1.408.985-1.225 1.28.187.295 3.07-2.1 3.34-1.083.27 1.011-2.94 1.304-2.743 2.006.2.7 2.263-1.324 2.685-.537.423.79-2.912 1.718-2.94 1.725-1.077.276-3.815.859-4.77-.522z`,fill:`#FFD21E`})]}))});function xk(e){"@babel/helpers - typeof";return xk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},xk(e)}function Sk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ck(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vk(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Hk=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Bk(e,Pk);return(0,F.jsxs)(`svg`,Ik(Ik({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Ik({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:kk}),(0,F.jsx)(`path`,{d:`M.193 19.503a2.413 2.413 0 00-.186.925c0 1.317 1.112 2.518 2.95 3.437a1.337 1.337 0 001.838-.738l2.049-4.93c.359-.857.642-1.745.846-2.652-3.795.637-6.656 2.092-7.448 3.872l-.032.076-.017.01zm7.49-11.047a15.981 15.981 0 00-.846-2.653L4.79.873a1.34 1.34 0 00-1.84-.738C1.112 1.054 0 2.256 0 3.573c0 .317.064.631.186.924v.01l.032.077c.81 1.78 3.67 3.234 7.466 3.872zM21.049.136c1.838.918 2.95 2.12 2.95 3.436a2.454 2.454 0 01-.196.925l-.027.063c-.785 1.792-3.653 3.254-7.46 3.896.204-.907.487-1.795.846-2.653L19.21.873a1.337 1.337 0 011.839-.738zm-4.722 15.409c.201.906.48 1.793.837 2.65l2.048 4.932a1.338 1.338 0 001.838.738c1.839-.92 2.951-2.12 2.951-3.437a2.446 2.446 0 00-.186-.925l-.027-.062c-.782-1.792-3.66-3.256-7.46-3.896zm-.129-6.04c2.695-.415 4.935-1.223 6.48-2.278L22.24 8.28a9.755 9.755 0 000 7.437l.435 1.048c-1.547-1.055-3.787-1.855-6.479-2.275l-.07-.01A27.196 27.196 0 0012 14.172c-1.377-.002-2.752.1-4.114.307l-.071.01c-2.693.413-4.933 1.222-6.48 2.277l.437-1.05a9.755 9.755 0 000-7.437l-.437-1.052c1.54 1.06 3.78 1.863 6.473 2.278l.071.01c2.734.407 5.513.407 8.246 0l.071-.01z`})]}))});function Uk(e){"@babel/helpers - typeof";return Uk=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Uk(e)}function Wk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gk(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lA(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var uA=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=cA(e,nA);return(0,F.jsxs)(`svg`,iA(iA({fill:`currentColor`,fillRule:`evenodd`,height:n,style:iA({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:Zk}),(0,F.jsx)(`path`,{d:`M20.713 6.655c-.414-1.426-1.748-2.472-3.357-2.472a3.62 3.62 0 00-1.7.423C14.62 3.046 12.804 2 10.735 2 7.77 2 5.31 4.16 4.943 6.944 2.138 7.39 0 9.728 0 12.58c0 3.14 2.62 5.68 5.862 5.68 1.61 0 3.08-.646 4.138-1.671.276-.267.529-.557.736-.89a5.02 5.02 0 01-.713.845 8.998 8.998 0 00-1.77 5.39V22a16.682 16.682 0 018.666-2.717h.046c3.035 0 5.633-1.871 6.621-4.499A6.599 6.599 0 0024 12.445c0-2.427-1.31-4.565-3.287-5.79zM6.966 12.869a.836.836 0 01-.851.824.81.81 0 01-.805-.824v-2.183a.81.81 0 01.805-.824c.46 0 .85.379.85.824v2.183zm3.011 1.069a.86.86 0 01-.874.846.86.86 0 01-.873-.846v-4.9a.86.86 0 01.873-.846.86.86 0 01.874.846v4.9zm3.104-1.047c0 .445-.414.824-.874.824s-.85-.379-.85-.824v-2.227c0-.446.367-.824.85-.824.46 0 .873.378.873.824v2.227zm3.149 1.069a.86.86 0 01-.874.846.86.86 0 01-.873-.846v-4.9a.86.86 0 01.873-.846.86.86 0 01.874.846v4.9zm3.08-1.091a.836.836 0 01-.85.824.81.81 0 01-.805-.824v-2.183a.81.81 0 01.805-.824c.46 0 .85.379.85.824v2.183z`})]}))});function dA(e){"@babel/helpers - typeof";return dA=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},dA(e)}function fA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pA(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jA(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var MA=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=AA(e,wA);return(0,F.jsxs)(`svg`,EA(EA({fill:`currentColor`,fillRule:`evenodd`,height:n,style:EA({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:yA}),(0,F.jsx)(`path`,{d:`M2 2h20v20H2V2zm1.768 18.237h16.459V3.761H3.768v16.476zm3.515-14.91l3.479 6.176-3.871 7.154h2.493l2.58-4.883 2.747 4.883h2.54L9.82 5.324l-2.538.002z`})]}))});function NA(e){"@babel/helpers - typeof";return NA=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},NA(e)}function PA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function FA(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $A(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var ej=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=QA(e,KA);return(0,F.jsxs)(`svg`,JA(JA({fill:`currentColor`,fillRule:`evenodd`,height:n,style:JA({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:VA}),(0,F.jsx)(`path`,{d:`M2.84 2a1.273 1.273 0 100 2.547h14.107a1.273 1.273 0 100-2.547H2.84zM7.935 5.33a1.273 1.273 0 000 2.548H22.04a1.274 1.274 0 000-2.547H7.935zM3.624 9.935c0-.704.57-1.274 1.274-1.274h14.106a1.274 1.274 0 010 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM1.273 12.188a1.273 1.273 0 100 2.547H15.38a1.274 1.274 0 000-2.547H1.273zM3.624 16.792c0-.704.57-1.274 1.274-1.274h14.106a1.273 1.273 0 110 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM13.029 18.849a1.273 1.273 0 100 2.547h9.698a1.273 1.273 0 100-2.547h-9.698z`,fillOpacity:`.3`}),(0,F.jsx)(`path`,{d:`M2.84 2a1.273 1.273 0 100 2.547h10.287a1.274 1.274 0 000-2.547H2.84zM7.935 5.33a1.273 1.273 0 000 2.548H18.22a1.274 1.274 0 000-2.547H7.935zM3.624 9.935c0-.704.57-1.274 1.274-1.274h10.286a1.273 1.273 0 010 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM1.273 12.188a1.273 1.273 0 100 2.547H11.56a1.274 1.274 0 000-2.547H1.273zM3.624 16.792c0-.704.57-1.274 1.274-1.274h10.286a1.273 1.273 0 110 2.547H4.898c-.703 0-1.274-.57-1.274-1.273zM13.029 18.849a1.273 1.273 0 100 2.547h5.78a1.273 1.273 0 100-2.547h-5.78z`})]}))});function tj(e){"@babel/helpers - typeof";return tj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},tj(e)}function nj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rj(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Sj=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=bj(e,mj);return(0,F.jsxs)(`svg`,gj(gj({fill:`currentColor`,fillRule:`evenodd`,height:n,style:gj({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:lj}),(0,F.jsx)(`path`,{d:`M10.033 5.807L0 18.193h10.792l4.636-5.724-5.395-6.662zm.651 5.421l-.651 2.553-.652-2.553-2.538.926 3.19-3.938 3.19 3.938-2.539-.926zM18.107 10.918l-5.893 7.275H24l-5.893-7.275zm0 4.683l-.383-1.499-1.49.544 1.873-2.313 1.873 2.313-1.49-.544-.383 1.5z`})]}))});function Cj(e){"@babel/helpers - typeof";return Cj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Cj(e)}function wj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Tj(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Uj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Wj=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=Hj(e,Ij);return(0,F.jsxs)(`svg`,Rj(Rj({fill:`currentColor`,fillRule:`evenodd`,height:n,style:Rj({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:jj}),(0,F.jsx)(`path`,{d:`M20 2.306v16.797s4-.242 4-4.815V2.306h-4zM4 22.001V5.204s-4 .242-4 4.816V22h4z`}),(0,F.jsx)(`path`,{d:`M16.318 16.51L11.286 4.94c-.824-1.872-2.168-2.926-4.077-2.926-1.908 0-3.211 1.54-3.211 3.19 0 0 2.405-.333 3.68 2.593l5.036 11.57c.821 1.87 2.168 2.926 4.075 2.926 1.905 0 3.211-1.541 3.211-3.19 0 0-2.406.333-3.682-2.594z`})]}))});function Gj(e){"@babel/helpers - typeof";return Gj=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Gj(e)}function Kj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qj(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dM(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var fM=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=uM(e,iM);return(0,F.jsxs)(`svg`,oM(oM({fill:`currentColor`,fillRule:`evenodd`,height:n,style:oM({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:$j}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z`})]}))});function pM(e){"@babel/helpers - typeof";return pM=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},pM(e)}function mM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hM(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function NM(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var PM=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=MM(e,EM);return(0,F.jsxs)(`svg`,OM(OM({fill:`currentColor`,fillRule:`evenodd`,height:n,style:OM({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:xM}),(0,F.jsx)(`path`,{d:`M7.905 1.09c.216.085.411.225.588.41.295.306.544.744.734 1.263.191.522.315 1.1.362 1.68a5.054 5.054 0 012.049-.636l.051-.004c.87-.07 1.73.087 2.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67 1.67 0 01.589-.41c.257-.1.53-.118.796-.042.401.114.745.368 1.016.737.248.337.434.769.561 1.287.23.934.27 2.163.115 3.645l.053.04.026.019c.757.576 1.284 1.397 1.563 2.35.435 1.487.216 3.155-.534 4.088l-.018.021.002.003c.417.762.67 1.567.724 2.4l.002.03c.064 1.065-.2 2.137-.814 3.19l-.007.01.01.024c.472 1.157.62 2.322.438 3.486l-.006.039a.651.651 0 01-.747.536.648.648 0 01-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643 0 01.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644 0 01.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229 4.229 0 00-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653 0 01-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288 3.288 0 00-1.772-.332c-1.245.099-2.343.801-2.67 1.686a.652.652 0 01-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066 1.588a4.07 4.07 0 00-.068 1.886c.112.558.331 1.02.582 1.269l.008.007c.212.207.257.53.109.785-.36.622-.629 1.549-.673 2.44-.05 1.018.186 1.902.719 2.536l.016.019a.643.643 0 01.095.69c-.576 1.236-.753 2.252-.562 3.052a.652.652 0 01-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339 4.339 0 01-.598-1.309l-.005-.019a5.764 5.764 0 01-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352 5.352 0 01.093-2.49c.262-.915.777-1.701 1.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622 1.015-.737.266-.076.54-.059.797.042zm4.116 9.09c.936 0 1.8.313 2.446.855.63.527 1.005 1.235 1.005 1.94 0 .888-.406 1.58-1.133 2.022-.62.375-1.451.557-2.403.557-1.009 0-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845 0-.707.398-1.417 1.056-1.946.668-.537 1.55-.849 2.485-.849zm0 .896a3.07 3.07 0 00-1.916.65c-.461.37-.722.835-.722 1.25 0 .428.21.829.61 1.134.455.347 1.124.548 1.943.548.799 0 1.473-.147 1.932-.426.463-.28.7-.686.7-1.257 0-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662 1.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375 0 01-.376.373.375.375 0 01-.376-.373v-.46l-.271-.218a.347.347 0 01-.052-.49.353.353 0 01.494-.051l.215.172.22-.174a.353.353 0 01.49.051zm-5.04-1.919c.478 0 .867.39.867.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zm8.706 0c.48 0 .868.39.868.871a.87.87 0 01-.868.871.87.87 0 01-.867-.87.87.87 0 01.867-.872zM7.44 2.3l-.003.002a.659.659 0 00-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216 1.631-.124 2.782.43-.128.899-.208 1.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628 0 00-.107-.09L7.44 2.3zm9.174.04l-.002.001a.628.628 0 00-.107.09c-.156.163-.32.45-.453.814-.29.794-.387 1.776-.23 2.572l.058.097.008.014h.03a5.184 5.184 0 011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659 0 00-.285-.239h-.004z`})]}))});function FM(e){"@babel/helpers - typeof";return FM=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},FM(e)}function IM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function LM(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var nN=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=eN(e,JM);return(0,F.jsxs)(`svg`,XM(XM({fill:`currentColor`,fillRule:`evenodd`,height:n,style:XM({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:UM}),(0,F.jsx)(`path`,{d:`M22 10.552v2.26h-7.932V22H11.54V10.552H22zM22 2v2.264H4.528V22H2V2h20zm0 4.276V8.54H9.296V22H6.768V6.276H22z`})]}))});function rN(e){"@babel/helpers - typeof";return rN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},rN(e)}function iN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aN(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function CN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var wN=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=SN(e,gN);return(0,F.jsxs)(`svg`,vN(vN({fill:`currentColor`,fillRule:`evenodd`,height:n,style:vN({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:dN}),(0,F.jsx)(`path`,{d:`M23 23h-1.223V8.028c0-3.118-2.568-5.806-5.744-5.806H8.027c-3.176 0-5.744 2.565-5.744 5.686 0 3.119 2.568 5.684 5.744 5.684h.794c1.346 0 2.445 1.1 2.445 2.444 0 1.346-1.1 2.446-2.445 2.446H1v-1.223h7.761c.671 0 1.223-.551 1.223-1.16 0-.67-.552-1.16-1.223-1.16h-.794C4.177 14.872 1 11.756 1 7.909 1 4.058 4.176 1 8.027 1h8.066C19.88 1 23 4.239 23 8.028V23z`}),(0,F.jsx)(`path`,{d:`M8.884 12.672c1.71.06 3.361 1.588 3.361 3.422 0 1.833-1.528 3.421-3.421 3.421H1v1.223h7.761c2.568 0 4.705-2.077 4.705-4.644 0-.672-.123-1.283-.43-1.894-.245-.551-.67-1.1-1.099-1.528-.489-.429-1.039-.734-1.65-.977-.525-.175-1.048-.193-1.594-.212-.218-.008-.441-.016-.669-.034-.428 0-1.406-.245-1.956-.61a3.369 3.369 0 01-1.223-1.406c-.183-.489-.305-.977-.305-1.528A3.417 3.417 0 017.96 4.482h8.066c1.895 0 3.422 1.65 3.422 3.483v15.032h1.223V8.027c0-2.568-2.077-4.768-4.645-4.768h-8c-2.568 0-4.705 2.077-4.705 4.646 0 .67.123 1.282.43 1.894a4.45 4.45 0 001.099 1.528c.429.428 1.039.734 1.588.976.306.123.611.183.976.246.857.06 1.406.123 1.466.123h.003z`}),(0,F.jsx)(`path`,{d:`M1 23h7.761v-.003c3.85 0 7.03-3.116 7.09-7.026 0-3.79-3.117-6.906-6.967-6.906H8.09c-.672 0-1.222-.552-1.222-1.16 0-.608.487-1.16 1.159-1.16h8.069c.608 0 1.159.611 1.159 1.283v14.97h1.223V8.024c0-1.345-1.1-2.505-2.445-2.505H7.967a2.451 2.451 0 00-2.445 2.445 2.45 2.45 0 002.445 2.445h.794c3.176 0 5.744 2.568 5.744 5.684s-2.568 5.684-5.744 5.684H1V23z`})]}))});function TN(e){"@babel/helpers - typeof";return TN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},TN(e)}function EN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function DN(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function GN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var KN=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=WN(e,RN);return(0,F.jsxs)(`svg`,BN(BN({fill:`currentColor`,fillRule:`evenodd`,height:n,style:BN({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:NN}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M22.956 6.521H12.522c-.577 0-1.044.468-1.044 1.044v3.13c0 .577-.466 1.044-1.043 1.044H1.044c-.577 0-1.044.467-1.044 1.044v4.174C0 17.533.467 18 1.044 18h10.434c.577 0 1.044-.467 1.044-1.043v-3.13c0-.578.466-1.044 1.043-1.044h9.391c.577 0 1.044-.467 1.044-1.044V7.565c0-.576-.467-1.044-1.044-1.044z`})]}))});function qN(e){"@babel/helpers - typeof";return qN=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qN(e)}function JN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YN(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var mP=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=fP(e,oP);return(0,F.jsxs)(`svg`,cP(cP({fill:`currentColor`,fillRule:`evenodd`,height:n,style:cP({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:tP}),(0,F.jsx)(`path`,{clipRule:`evenodd`,d:`M23.252 10.365l-2.843 1.636 2.843 1.631a1.47 1.47 0 01.697.903 1.492 1.492 0 01-.15 1.135c-.202.342-.53.591-.912.693a1.498 1.498 0 01-1.132-.15l-5.09-2.924a1.473 1.473 0 01-.68-.851 1.446 1.446 0 01-.068-.485 1.5 1.5 0 01.745-1.248l5.09-2.921a1.496 1.496 0 012.044.547 1.479 1.479 0 01-.544 2.034zm-2.692 7.927l-5.087-2.92a1.477 1.477 0 00-.867-.195 1.478 1.478 0 00-.982.468c-.257.276-.4.639-.403 1.017v5.847A1.49 1.49 0 0014.718 24c.828 0 1.497-.668 1.497-1.491v-3.27l2.849 1.636a1.493 1.493 0 002.044-.544 1.49 1.49 0 00-.548-2.04zm-5.87-5.719l-2.116 2.102a.42.42 0 01-.265.112h-.621a.427.427 0 01-.265-.112l-2.115-2.102a.42.42 0 01-.11-.262v-.62a.43.43 0 01.11-.265l2.114-2.102a.426.426 0 01.264-.11h.623a.422.422 0 01.265.11l2.116 2.102a.43.43 0 01.109.265v.62a.428.428 0 01-.11.262zM13 11.99a.442.442 0 00-.113-.266l-.612-.607a.431.431 0 00-.266-.11h-.024a.426.426 0 00-.264.11l-.612.607a.436.436 0 00-.107.266v.024c0 .085.047.202.107.262l.612.61c.061.06.179.11.264.11h.024a.434.434 0 00.266-.11l.612-.61a.429.429 0 00.112-.262v-.024zM3.436 5.704l5.089 2.924c.274.157.578.219.868.195.375-.026.726-.194.983-.47.256-.275.4-.64.403-1.017V1.489C10.78.667 10.11 0 9.284 0c-.829 0-1.498.667-1.498 1.49v3.27l-2.85-1.639a1.496 1.496 0 00-2.045.546 1.489 1.489 0 00.546 2.037zm11.17 3.119c.29.024.594-.038.866-.195l5.087-2.923a1.474 1.474 0 00.697-.903 1.496 1.496 0 00-.149-1.135 1.496 1.496 0 00-2.044-.545L16.215 4.76V1.489C16.215.667 15.546 0 14.718 0c-.83 0-1.497.667-1.497 1.49v5.845a1.491 1.491 0 001.385 1.487zm-5.213 6.354a1.479 1.479 0 00-.868.194l-5.089 2.92a1.476 1.476 0 00-.696.905 1.498 1.498 0 00.148 1.135 1.496 1.496 0 002.044.543l2.851-1.636v3.27c0 .825.67 1.491 1.498 1.491.826 0 1.496-.667 1.496-1.49v-5.847a1.5 1.5 0 00-.401-1.017 1.477 1.477 0 00-.982-.468zm-1.38-2.74c.05-.156.072-.32.068-.484a1.497 1.497 0 00-.751-1.248l-5.084-2.92a1.499 1.499 0 00-2.045.547 1.481 1.481 0 00.549 2.034l2.841 1.636L.75 13.633a1.47 1.47 0 00-.698.903 1.492 1.492 0 00.15 1.135c.202.343.53.592.912.693.382.102.789.048 1.132-.15l5.086-2.924c.345-.195.577-.505.684-.852z`})]}))});function hP(e){"@babel/helpers - typeof";return hP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hP(e)}function gP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _P(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function FP(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var IP=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=PP(e,OP);return(0,F.jsxs)(`svg`,AP(AP({height:n,style:AP({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:CP}),(0,F.jsx)(`path`,{d:`M23.197 4.503A6 6 0 0015 2.307a5.973 5.973 0 00-2.995 4.933l5.996.008v.515h-5.996c.039.937.298 1.87.8 2.74a6 6 0 1010.39-6z`,fill:`#EF2CC1`}),(0,F.jsx)(`path`,{d:`M.805 4.5A6 6 0 003 12.697a5.972 5.972 0 005.77.127L5.779 7.627l.446-.257 2.997 5.192A6 6 0 10.804 4.5z`,fill:`#CAAEF5`}),(0,F.jsx)(`path`,{d:`M12 23.894a6 6 0 005.999-6c0-2.13-1.1-3.996-2.775-5.06l-3.005 5.189-.444-.258 2.997-5.192A6 6 0 1012 23.894z`,fill:`#FC4C02`})]}))});function LP(e){"@babel/helpers - typeof";return LP=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},LP(e)}function RP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zP(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var iF=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=nF(e,XP);return(0,F.jsxs)(`svg`,QP(QP({fill:`currentColor`,fillRule:`evenodd`,height:n,style:QP({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:GP}),(0,F.jsx)(`path`,{d:`M12 0l12 20.785H0L12 0z`})]}))});function aF(e){"@babel/helpers - typeof";return aF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},aF(e)}function oF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sF(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function TF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var EF=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=wF(e,vF);return(0,F.jsxs)(`svg`,bF(bF({height:n,style:bF({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:pF}),(0,F.jsx)(`path`,{d:`M0 4.973h9.324V23L0 4.973z`,fill:`#FDB515`}),(0,F.jsx)(`path`,{d:`M13.986 4.351L22.378 0l-6.216 23H9.324l4.662-18.649z`,fill:`#30A2FF`})]}))});function DF(e){"@babel/helpers - typeof";return DF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},DF(e)}function OF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kF(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var JF=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=KF(e,BF);return(0,F.jsxs)(`svg`,HF(HF({height:n,style:HF({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:FF}),(0,F.jsx)(`path`,{d:`M19.44 10.153l-2.936 11.586a.215.215 0 00.214.261h5.87a.215.215 0 00.214-.261l-2.95-11.586a.214.214 0 00-.412 0zM3.28 12.778l-2.275 8.96A.214.214 0 001.22 22h4.532a.212.212 0 00.214-.165.214.214 0 000-.097l-2.276-8.96a.214.214 0 00-.41 0z`,fill:`#00E5E5`}),(0,F.jsx)(`path`,{d:`M7.29 5.359L3.148 21.738a.215.215 0 00.203.261h8.29a.214.214 0 00.215-.261L7.7 5.358a.214.214 0 00-.41 0z`,fill:`#006EFF`}),(0,F.jsx)(`path`,{d:`M14.44.15a.214.214 0 00-.41 0L8.366 21.739a.214.214 0 00.214.261H19.9a.216.216 0 00.171-.078.214.214 0 00.044-.183L14.439.15z`,fill:`#006EFF`}),(0,F.jsx)(`path`,{d:`M10.278 7.741L6.685 21.736a.214.214 0 00.214.264h7.17a.215.215 0 00.214-.264L10.688 7.741a.214.214 0 00-.41 0z`,fill:`#00E5E5`})]}))});function YF(e){"@babel/helpers - typeof";return YF=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},YF(e)}function XF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ZF(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var gI=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=mI(e,cI);return(0,F.jsxs)(`svg`,uI(uI({fill:`currentColor`,fillRule:`evenodd`,height:n,style:uI({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:rI}),(0,F.jsx)(`path`,{d:`M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z`})]}))});function _I(e){"@babel/helpers - typeof";return _I=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_I(e)}function vI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yI(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function LI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var RI=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=II(e,AI);return(0,F.jsxs)(`svg`,MI(MI({fill:`currentColor`,fillRule:`evenodd`,height:n,style:MI({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:TI}),(0,F.jsx)(`path`,{d:`M5.223 9.692c.652 1.795 1.925 3.376 3.396 4.573 1.482 1.229 3.254 2.17 5.122 2.653a9.99 9.99 0 002.033.302c1.302.05 2.713-.206 3.758-1.04 1.297-1.036 1.651-2.625 1.318-4.21-.209-.993-.641-1.93-1.205-2.787a10.284 10.284 0 00-.366-.525.008.008 0 01.005-.007h.004c.002 0 .004 0 .006.002l.394.405a17.227 17.227 0 012.484 3.262c.579.993 1.023 2.046 1.255 3.144.369 1.747.07 3.546-1.306 4.777-.724.648-1.655 1.041-2.59 1.235-1.297.267-2.649.228-3.965.007-.669-.112-1.315-.26-1.937-.443-2.576-.756-5.012-2.051-7.143-3.677a20.968 20.968 0 01-3.484-3.296C1.949 12.813 1.046 11.396.487 9.853.12 8.845-.087 7.725.035 6.663c.267-2.306 1.98-3.654 4.174-4.06 1.265-.234 2.594-.186 3.879.037a17.71 17.71 0 013.978 1.192v.004a.006.006 0 01-.004.004h-.004a8.907 8.907 0 00-2.869-.29c-.807.048-1.666.263-2.357.656-1.034.588-1.67 1.463-1.907 2.625a4.567 4.567 0 00-.069 1.1c.025.58.163 1.198.367 1.761z`}),(0,F.jsx)(`path`,{d:`M18.02 7.235a.05.05 0 01-.007.03c-.461.916-.923 1.832-1.386 2.747-.424.837-.745 1.437-.965 1.8a17.877 17.877 0 01-2.98 3.707.027.027 0 01-.03.005 12.678 12.678 0 01-4.205-2.777c-.14-.14-.28-.288-.42-.447a.024.024 0 01-.005-.013c0-.005 0-.01.003-.014a17.718 17.718 0 011.68-2.379 18.27 18.27 0 012.7-2.606c.408-.32 1.39-1.094 2.95-2.323L21.652.002a.008.008 0 01.01 0 .01.01 0 01.004.005.01.01 0 010 .006l-3.648 7.222z`}),(0,F.jsx)(`path`,{d:`M2.027 24c.002 0 .004 0 .005-.002l5.843-4.58a.02.02 0 00.008-.017.02.02 0 00-.01-.016 26.743 26.743 0 01-2.584-1.842h-.006a.014.014 0 00-.005.002.012.012 0 00-.004.005L2.02 23.987a.01.01 0 000 .006c0 .002 0 .004.002.005a.009.009 0 00.006.002z`})]}))});function zI(e){"@babel/helpers - typeof";return zI=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},zI(e)}function BI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VI(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var oL=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=iL(e,QI);return(0,F.jsxs)(`svg`,eL(eL({fill:`currentColor`,fillRule:`evenodd`,height:n,style:eL({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:qI}),(0,F.jsx)(`path`,{d:`M11.991 23.503a.24.24 0 00-.244.248.24.24 0 00.244.249.24.24 0 00.245-.249.24.24 0 00-.22-.247l-.025-.001zM9.671 5.365a1.697 1.697 0 011.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.661 1.661 0 01-2.077 1.102 1.711 1.711 0 01-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 00-1.954.746 1.66 1.66 0 01-1.065.764 1.677 1.677 0 01-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.51 1.51 0 01.296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.307 1.307 0 00-.227-.693 2.515 2.515 0 01-.366-1.403 2.39 2.39 0 01.366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.43 1.43 0 01-.299-.07l-.05-.019a1.7 1.7 0 01-1.047-2.114 1.68 1.68 0 012.094-1.101zm-5.575 10.11c.26-.264.639-.367.994-.27.355.096.633.379.728.74.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.062 1.062 0 010-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025-.107.36-.396.634-.756.718-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 01.757-1.26zm-.064-4.39c.314.32.49.753.49 1.206 0 .452-.176.886-.49 1.206-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 010-2.412 1.654 1.654 0 012.369 0zm-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 01-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 011.33-1.038c.593-.08 1.183.169 1.547.652zm11.545-4.221c.368 0 .708.2.892.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.892.524c-.568 0-1.03-.47-1.03-1.048 0-.579.462-1.048 1.03-1.048zm-14.358 0c.368 0 .707.2.891.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.891.524c-.569 0-1.03-.47-1.03-1.048 0-.579.461-1.048 1.03-1.048zm10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705c0-.942.75-1.706 1.674-1.706zm-2.626-.684c.362-.082.653-.356.761-.718a1.062 1.062 0 00-.238-1.028 1.017 1.017 0 00-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783zm0 16.876c.359-.087.644-.36.75-.72a1.062 1.062 0 00-.237-1.019 1.018 1.018 0 00-.985-.301 1.037 1.037 0 00-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305l.043-.01zM17.19 3.5a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64a.631.631 0 00-.628.64c0 .355.28.64.628.64zm-10.38 0a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64a.631.631 0 00-.628.64c0 .355.279.64.628.64zm-5.182 7.852a.631.631 0 00-.628.64c0 .354.28.639.628.639a.63.63 0 00.627-.606l.001-.034a.62.62 0 00-.628-.64zm5.182 9.13a.631.631 0 00-.628.64c0 .355.279.64.628.64a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm10.38.018a.631.631 0 00-.628.64c0 .355.28.64.628.64a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64zm5.182-9.148a.631.631 0 00-.628.64c0 .354.279.639.628.639a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 00.244-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249c0 .142.122.249.244.249zM11.991.497a.24.24 0 00.245-.248A.24.24 0 0011.99 0a.24.24 0 00-.244.249c0 .133.108.236.223.247l.021.001zM2.011 6.36a.24.24 0 00.245-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249.24.24 0 00.244.249zm0 11.263a.24.24 0 00-.243.248.24.24 0 00.244.249.24.24 0 00.244-.249.252.252 0 00-.244-.248zm19.995-.018a.24.24 0 00-.245.248.24.24 0 00.245.25.24.24 0 00.244-.25.252.252 0 00-.244-.248z`})]}))});function sL(e){"@babel/helpers - typeof";return sL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sL(e)}function cL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lL(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var OL=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=EL(e,bL);return(0,F.jsxs)(`svg`,SL(SL({fill:`currentColor`,fillRule:`evenodd`,height:n,style:SL({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:hL}),(0,F.jsx)(`path`,{d:`M5 0h5v24H5V0zM14 0h5v24h-5V0z`})]}))});function kL(e){"@babel/helpers - typeof";return kL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},kL(e)}function AL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jL(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function YL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var XL=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=JL(e,HL);return(0,F.jsxs)(`svg`,WL(WL({fill:`currentColor`,fillRule:`evenodd`,height:n,style:WL({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:LL}),(0,F.jsx)(`path`,{d:`M11.823 22.145c.127.192.217.402.276.627.099.336.037.713-.377.725-.279.028-.506-.126-.54-.397-.066-.39.105-.75.299-1.083l.011-.018c.025-.037.057-.073.095-.078h.008c.074-.007.159.122.228.224zm1.596-1.247c.75.31.95 1.246-.084 1.256h-.015c-.52.017-.906-.472-.587-.92.15-.212.417-.42.686-.336zm-3.989-.594c.256.033.512.1.762.16l.037.011c.21.058.458.11.55.297.26.585-.47 1.093-.976 1.103h-.028v-.001c-.413.01-.809-.126-.942-.535-.11-.28-.085-.603.128-.827l.014-.015c.117-.124.282-.212.455-.193zm6.094.237v.014c-.004.302-.148.608-.42.751-.186.093-.417-.01-.588-.15-.171-.147-.283-.356-.382-.568l-.04-.087c-.193-.405.088-.552.405-.627l.04-.01c.058-.012.116-.022.173-.032l.042-.008c.578-.105.792.15.77.717zM2.827 2.991c1.15.86 2.286 1.734 3.376 2.67 2.476 2.166 3.346 5.568 3.452 8.766.048 1.103.108 2.205.199 3.306l.004.04c.019.182.078.563.25.522l.007-.003c.057-.04.086-.123.109-.192.114-.336.194-.693.323-1.026.09-.216.204-.344.377-.411.3-.12.702-.062.87.246.037.05.073.123.11.202l.036.078.02.044.015.03.013.026.013.026c.1.189.223.344.42.264.117-.059.221-.19.319-.283.2-.22.505-.292.713-.053.524.616.5 1.486 0 2.106-.451.585-1.182.7-1.862.586l-.054-.01c-.972-.162-1.555-.96-2.015-1.779l-.03-.055a141.48 141.48 0 00-1.583-2.577l-.03-.045c-.116-.165-.264-.35-.43-.445-.07-.015-.006.127.009.173.467 1.253 1.07 2.425 1.961 3.427l.011.02c.086.168-.045.122-.19.041l-.016-.01-.027-.015-.019-.011a3.561 3.561 0 01-.126-.082l-.075-.05a4.532 4.532 0 01-.78-.67c-.772-.87-1.42-1.838-2.054-2.816l-.375-.58-.165-.255a32.793 32.793 0 00-1.11-1.623c-.415-.567-.89-1.092-1.298-1.666-.774-1.071-1.251-2.312-1.519-3.61-.137-.56-.297-1.114-.438-1.672l-.06-.24c-.094-.38-.166-.784-.129-1.173.083-.894.815-1.97 1.778-1.222zm18.27 14.434c-1.048 1.176-3.299 2.527-4.609 2.154l.002-.002c.014-.019.125-.043.177-.055.838-.192 1.555-.639 2.285-1.058.556-.295 1.048-.682 1.525-1.1l.04-.032c.106-.089.223-.18.352-.214.226-.053.428.11.228.307zM2.012 11.4c1.647.403 2.589 1.718 3.455 3.08l.108.17.226.358c.25.398.502.79.77 1.155.213.305.442.598.666.894.048.058.115.21.05.216h-.011c-.051 0-.127-.062-.172-.106a41.465 41.465 0 01-.727-.698l-.24-.236a26.247 26.247 0 00-1.103-1.032c-.165-.079-.093.137-.027.238.187.286.463.497.695.747.353.352.711.7 1.094 1.018.805.66 1.68 1.232 2.534 1.832l.056.042c.099.074.211.172.205.28-.005.288-1.397.287-1.663.275H7.92c-1.797-.073-3.27-1.012-4.66-2.055l-.138-.105-.097-.073a68.65 68.65 0 01-.287-.22l-.501-.387c-.286-.224-.573-.443-.848-.681C.464 15.3.032 14.098.01 12.882c-.117-1.32.826-1.809 2.003-1.482zm20.708.695l.064.014c.369.078.673.288.899.618.253.37.387.827.28 1.26-.266.87-.806 1.621-1.446 2.26-.15.147-.309.283-.47.418-.178.135-.345.331-.571.376-.19.034-.402-.135-.597-.129-.158 0-.29.092-.41.193-.806.767-1.78 1.286-2.772 1.765l-.186.089-.186.089-.248.117-.017.007c-.189.076-.786.402-.87.234l-.004-.007c-.034-.07.03-.211.091-.298.968-1.244 1.618-2.666 2.246-4.097l.213-.486.255-.576.123-.26c.19-.4.397-.807.726-1.098.77-.65 1.924-.691 2.88-.49zM21.197 4.78c.161.335.22.69.327 1.054.022.084.04.171.04.257v.012a.977.977 0 01-.027.217l-.073.3a7.983 7.983 0 01-.331 1.104c-.32.797-.632 1.597-.942 2.399l-.373.962c-.688 1.776-1.381 3.551-2.15 5.292-.453.953-1.084 1.814-1.791 2.59-.197.227-.453.404-.777.323-.51-.124-.59-.456-.416-.918.187-.546.42-1.08.567-1.636.286-1.186.382-2.408.2-3.628-.094-.72-.458-.813-.943-1.199a.586.586 0 01-.207-.52c.034-.337.158-.684.264-1.01l.015-.046c.353-1.092 1.013-2.015 1.707-2.912l.08-.103.08-.103.162-.206c.12-.154.241-.308.36-.463.222-.296.529-.5.84-.688.48-.32.792-.816 1.258-1.146.566-.437 1.708-.666 2.13.068zM11.21 18.728c.007.54.965.728.996.052v-.013c.037-.614-.95-.599-.996-.04zm-5.78-.884h-.002c.8.623 1.737 1.182 2.757 1.33 0-.02-.09-.059-.123-.076-.876-.411-1.752-.862-2.632-1.254zM.76 14.145l.009.02c.88 1.917 2.523 3.067 4.354 3.903l.055.026.001-.001-.253-.159-.152-.095-.1-.064-.096-.06c-1.466-.93-2.883-1.934-3.767-3.51l-.049-.088c-.048-.083-.047-.07-.002.028zm14.154-1.55c.293.401.325.933.331 1.411v.013a7.8 7.8 0 01-.267 1.831c-.028.081-.05.171-.074.261l-.011.042-.012.04c-.052.18-.122.351-.274.444-.317.166-.444-.222-.414-.482.028-1 .078-2.002.128-3 .016-.199.013-.403.06-.6.02-.077.055-.143.106-.173.163-.077.33.093.427.212zm1.373-9.036c.609.393.956 1.003 1.052 1.716l.005.034a.666.666 0 01-.184.569c-2.37 2.286-3.416 5.563-3.605 8.805l-.026.204c-.045.34-.094.68-.165 1.014-.09.377-.438.46-.66.124-.112-.17-.122-.388-.138-.587a98.335 98.335 0 01-.098-1.872c-.044-.646.108-.898.588-1.298.259-.263.3-.595.232-.955l-.022-.102c-.077-.352-.167-.715-.4-.996-.362-.432-1.06-.554-1.495-.158-.556.515-.644 1.344-.361 2.021l.01.025c.232.546.445 1.108.533 1.695l.009.061c.064.427.05.867-.01 1.293l-.013.096c-.026.193-.042.423-.163.554-.089.1-.257.129-.389.082-.173-.055-.201-.263-.203-.427-.002-.637-.154-1.246-.32-1.852l-.084-.304a17.057 17.057 0 01-.174-.669l-.22-.949c-.2-.87-.396-1.742-.565-2.62-.504-1.985.138-3.798 1.852-4.934.37-.228.792-.434 1.236-.434.573-.004 1.156.34 1.4.88.082.188.093.394.086.597V5.2c-.031.816-.071 1.633-.11 2.45l-.02.412-.013.274c-.023.458-.042.915-.036 1.374.003.113-.005.24.016.347.01.047.023.07.037.06l.003-.001-.002-.002c.028-.024.05-.149.054-.208.019-.184.038-.369.054-.553.102-1.29.162-2.582.28-3.87.075-.899.953-2.621 2.03-1.925zM1.84 3.237c-.33.095-.365.509-.32.804l.02.167c.045.39.099.78.187 1.16l.054.224c.05.203.093.407.078.617-.03.253-.088.499-.007.746.177.7.449 1.363.78 1.999l.014.02c.107.15.073-.046.033-.135l-.195-.482c-.065-.16-.13-.321-.19-.483l-.082-.217c-.165-.446-.307-.895-.203-1.38.082-.268.08-.537-.037-.796-.228-.605-.363-1.25-.23-1.89.23-.935 1.874.88 2.082 1.23.205.29.379.614.512.948.257.655.505 1.304.743 1.964.849 2.276 1.312 4.665 1.713 7.065l.001.001a1.37 1.37 0 00-.011-.274l-.002-.012c-.07-.573-.135-1.15-.209-1.722-.245-2.102-.837-4.132-1.562-6.113l-.037-.103a6.717 6.717 0 00-1.063-1.937l-.023-.027C3.506 4.15 2.44 3.075 1.84 3.237zm5.688 10.665c.119.666.373.617.964.656h.013c.317.03.503-.115.559-.422l.003-.019c.146-.84-.385-1.915-1.262-2.068-.781-.079-.347 1.417-.277 1.853zm.67-1.185c.214.21.4.555.353.899l-.003.011c-.066.216-.397.167-.52.054a.392.392 0 01-.088-.172c-.07-.245-.134-.507-.127-.764.023-.264.264-.158.385-.028zm4.026-2.251c.4.147.491.734.273 1.078-.328.499-1.009.373-.966-.299v-.015c.006-.369.274-.886.693-.764zm7.163-5.23v.01c-.014.173.01.355.028.529.148 1.259.17 2.518-.015 3.775-.04.28-.093.555-.15.832-.024.175-.108.41-.094.571l.002.002c.01.009.036-.032.063-.101.054-.14.092-.3.126-.448.364-1.723.499-3.504.304-5.255-.075-.246-.25-.12-.264.085zm-.962.684c.271.565.321 1.175.35 1.784l.011.278c.008.172.016.342.03.511h.001c.14-.862.114-1.766-.35-2.544l-.02-.035c-.053-.084-.064-.09-.022.006zm2.225-.994c-.021.01-.02.095-.024.133-.027.705-.073 1.37-.086 2.033h.001l.054-.243c.124-.57.231-1.16.103-1.79l-.009-.036c-.01-.04-.023-.09-.039-.097zm-12.524-2.2c.281.257.521.567.68.917.282.646-.196 1.064-.811 1.063h-.032c-.55.015-1.096-.403-1.18-.955l-.002-.02c-.11-.691.705-1.576 1.345-1.005zm5.76-1.494l.007.012c.094.15.17.315.247.475l.017.036c.064.136.131.253.098.395l-.002.01v.001l-.017.064c-.037.139-.087.302-.187.404-.227.264-.684.22-.867-.073l-.009-.015c-.239-.394-.148-1.039.19-1.344.147-.133.41-.141.523.035zM20.337.5c.96.022.681 1.21-.15 1.16a.568.568 0 01-.493-.65c.035-.33.279-.505.61-.51h.033z`})]}))});function ZL(e){"@babel/helpers - typeof";return ZL=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ZL(e)}function QL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $L(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _R(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var vR=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=gR(e,uR);return(0,F.jsxs)(`svg`,fR(fR({fill:`currentColor`,fillRule:`evenodd`,height:n,style:fR({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:aR}),(0,F.jsx)(`path`,{d:`M19.667 8.275c0-4.57-4.15-8.275-9.27-8.275-1.774 0-3.213 3.705-3.213 8.275 0 1.143.09 2.233.253 3.224H4.29L1 23h9.4v-6.447c5.117 0 9.266-3.707 9.266-8.275l.001-.002zm-9.27-6.76c.93 0 1.682 3.028 1.682 6.76 0 3.733-.752 6.76-1.681 6.76-.93 0-1.681-3.027-1.681-6.76 0-3.732.752-6.76 1.68-6.76z`}),(0,F.jsx)(`path`,{d:`M19.848 16.552h-9.44L14.028 23h9.438l-3.618-6.448z`})]}))});function yR(e){"@babel/helpers - typeof";return yR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},yR(e)}function bR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xR(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zR(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var BR=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=RR(e,MR);return(0,F.jsxs)(`svg`,PR(PR({fill:`currentColor`,fillRule:`evenodd`,height:n,style:PR({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:DR}),(0,F.jsx)(`path`,{d:`M17.86 22.992c-2.669.245-4.887-2.876-6.597-4.454C10.398 24.759 1 24.177 1 17.86V6.15c0-.921.244-1.861.733-2.65C2.635 1.977 4.383.98 6.15 1h11.71c6.316 0 6.918 9.398.677 10.243l2.97 2.951c3.252 3.064.808 8.929-3.646 8.797zm-1.428-3.721c1.842 1.898 4.774-1.034 2.876-2.876l-5.132-5.132H11.3v2.876l4.436 4.436.696.696zM4.12 17.842c-.037 2.632 4.117 2.632 4.06 0V6.132c.038-1.316-1.353-2.35-2.612-1.955-.057.019-.113.037-.15.056-.79.301-1.335 1.09-1.317 1.936v11.673h.02zm13.74-9.68c2.632.037 2.632-4.098 0-4.06h-6.973c.526 1.109.395 2.857.413 4.06h6.56z`})]}))});function VR(e){"@babel/helpers - typeof";return VR=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},VR(e)}function HR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UR(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sz(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var cz=(0,P.memo)(function(e){var t=e.size,n=t===void 0?`1em`:t,r=e.style,i=oz(e,ez);return(0,F.jsxs)(`svg`,nz(nz({height:n,style:nz({flex:`none`,lineHeight:1},r),viewBox:`0 0 24 24`,width:n,xmlns:`http://www.w3.org/2000/svg`},i),{},{children:[(0,F.jsx)(`title`,{children:YR}),(0,F.jsx)(`path`,{d:`M9.1.503l2.824 4.47a1.078 1.078 0 01-.911 1.655H9.858v6.692h-1.67V0c.35 0 .7.168.912.503z`,fill:`#8FBCFA`}),(0,F.jsx)(`path`,{d:`M4.453 4.974L7.277.503A1.07 1.07 0 018.189 0v13.32a2.633 2.633 0 00-1.67.48V6.628H5.364c-.85 0-1.366-.936-.912-1.654z`,fill:`#468BFF`}),(0,F.jsx)(`path`,{d:`M17.041 17.74h-7.028c.423-.457.67-1.049.7-1.67h12.956c0 .35-.168.7-.502.912l-4.472 2.823a1.078 1.078 0 01-1.654-.911v-1.155z`,fill:`#FDBB11`}),(0,F.jsx)(`path`,{d:`M18.695 12.334l4.47 2.824c.336.212.503.562.503.912H10.713a2.65 2.65 0 00-.493-1.67h6.822v-1.154c0-.85.935-1.366 1.653-.912z`,fill:`#F6D785`}),(0,F.jsx)(`path`,{d:`M4.394 19.605L.316 23.683a1.07 1.07 0 001 .29l5.158-1.165A1.078 1.078 0 007 20.994l-.816-.816 3.073-3.074a1.61 1.61 0 000-2.276l-.042-.043-4.82 4.82z`,fill:`#FF9A9D`}),(0,F.jsx)(`path`,{d:`M3.822 17.817l3.073-3.074a1.61 1.61 0 012.277 0l.042.043-4.818 4.819-4.08 4.079a1.07 1.07 0 01-.289-1l1.165-5.158A1.078 1.078 0 013.006 17l.816.817z`,fill:`#FE363B`})]}))});function lz(e){"@babel/helpers - typeof";return lz=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},lz(e)}function uz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dz(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ez(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var $=(0,P.memo)(function(e){var t=e.shape,n=t===void 0?`circle`:t,r=e.color,i=r===void 0?`#fff`:r,a=e.background,o=e.size,s=e.style,c=e.iconMultiple,l=c===void 0?.75:c,u=e.Icon,d=e.iconStyle,f=e.iconClassName,p=Tz(e,yz),m=Wc().isDarkMode;return(0,F.jsx)(Xc,xz(xz({flex:`none`,style:xz({background:a,borderRadius:n===`circle`?`50%`:Math.floor(o*.1),boxShadow:_z(m,a),color:i,height:o,width:o},s)},p),{},{children:u&&(0,F.jsx)(u,{className:f,color:i,size:o,style:xz({transform:`scale(${l})`},d)})}))});function Dz(e){"@babel/helpers - typeof";return Dz=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Dz(e)}function Oz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kz(e){for(var t=1;t0?` has-backends`:``}`,onClick:i,children:[(0,F.jsx)(Lz,{id:e.id,size:28}),(0,F.jsx)(`span`,{className:`provider-tile-name`,children:e.display_name}),(0,F.jsx)(`span`,{className:`provider-tile-id`,children:e.id}),t>0&&(0,F.jsxs)(`span`,{className:`provider-tile-count`,children:[t,` key`,t===1?``:`s`]})]}),(0,F.jsx)(`button`,{type:`button`,className:`provider-fav-btn${n?` active`:``}`,"aria-label":n?`Remove from favorites`:`Add to favorites`,"aria-pressed":n,title:n?`Unfavorite`:`Favorite`,onClick:e=>{e.stopPropagation(),r()},children:n?`♥`:`♡`})]})}function Vz({backend:e,healthStatus:t,onDelete:n}){return(0,F.jsxs)(`div`,{className:`provider-backend-row`,children:[(0,F.jsx)(jc,{status:t===`up`?`ok`:t===`down`?`err`:`dim`,pulse:t===`up`}),(0,F.jsx)(`span`,{className:`backend-name`,children:e.name}),(0,F.jsxs)(`span`,{className:`backend-status`,children:[e.api_key_set?`key set`:`no key`,e.rpm!=null&&(0,F.jsxs)(F.Fragment,{children:[` · RPM `,e.rpm]})]}),(0,F.jsx)(V,{tone:`danger`,size:`sm`,onClick:n,children:`Delete`})]})}function Hz({provider:e,existingCount:t}){let n=so(),r=Qa(),i=()=>{let n={name:`${e.id}-${t+1}`,provider_id:e.id};return Rz(e)&&e.default_base_url&&(n.api_base=e.default_base_url),n},[a,o]=(0,P.useState)(i);(0,P.useEffect)(()=>{o(i())},[e.id,t]);function s(){n.mutate({name:a.name,provider_id:e.id,api_key:a.api_key||void 0,api_base:a.api_base?a.api_base.trim().replace(/\/+$/,``):void 0,deployment:a.deployment||void 0,api_version:a.api_version||void 0,project:a.project||void 0,region:a.region||void 0,aws_access_key_id:a.aws_access_key_id||void 0,aws_secret_access_key:a.aws_secret_access_key||void 0,aws_session_token:a.aws_session_token||void 0,rpm:a.rpm?Number(a.rpm):void 0,tpm:a.tpm?Number(a.tpm):void 0},{onSuccess:()=>o(i())})}function c(){r.mutate({source:`custom`,url:a.api_base||e.default_base_url,provider_id:e.id,api_key:a.api_key||void 0})}let l=Fc(e);return(0,F.jsxs)(`div`,{className:`provider-add-form`,children:[(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`add-backend-name`,children:`Name`}),(0,F.jsx)(`input`,{id:`add-backend-name`,name:`name`,type:`text`,value:a.name,onChange:e=>o(t=>({...t,name:e.target.value})),style:{width:`100%`}})]}),l.map(t=>(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`add-${t.name}`,children:t.label}),t.hint&&(0,F.jsx)(`div`,{className:`form-hint`,children:t.hint}),(0,F.jsx)(`input`,{id:`add-${t.name}`,name:t.name,type:t.type,placeholder:t.placeholder,value:a[t.name]??``,onChange:e=>o(n=>({...n,[t.name]:e.target.value})),style:{width:`100%`}}),t.name===`api_base`&&(()=>{let t=Pc(a.api_base||e.default_base_url||``);if(!t)return null;let n=[`vertex_ai`,`gemini_native`,`bedrock_native`].includes(e.protocol);return(0,F.jsxs)(`div`,{className:`form-hint`,children:[`Query models will request: `,(0,F.jsx)(`span`,{className:`mono`,children:t}),n&&` — model discovery may not work for this provider.`]})})()]},t.name)),r.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:zz(r.error,`Failed to query models`)}),r.isSuccess&&(0,F.jsx)(`div`,{className:`form-hint`,children:r.data.models.length>0?`Found ${r.data.models.length} model(s): ${r.data.models.slice(0,8).map(e=>e.id).join(`, `)}${r.data.models.length>8?`, …`:``}`:`No models returned by the server.`}),n.isError&&(0,F.jsx)(`div`,{className:`inline-error`,children:zz(n.error,`Failed to create backend`)}),(0,F.jsxs)(`div`,{className:`provider-add-actions`,children:[(0,F.jsx)(V,{size:`sm`,onClick:()=>o(i()),disabled:n.isPending,children:`Reset`}),(0,F.jsx)(V,{size:`sm`,onClick:c,disabled:r.isPending||!a.api_base&&!e.default_base_url,loading:r.isPending,children:`Query models`}),(0,F.jsx)(V,{tone:`primary`,size:`sm`,onClick:s,disabled:!a.name||n.isPending,loading:n.isPending,children:`Create`})]})]})}function Uz({provider:e,backends:t,healthMap:n,onClose:r,onDeleteBackend:i}){let a=e.capabilities,o=[[`chat`,a.chat_completions],[`streaming`,a.streaming],[`tool use`,a.tool_use],[`vision`,a.vision],[`embeddings`,a.embeddings],[`batch`,a.batch]];return(0,F.jsxs)(cc,{open:!0,onClose:r,title:`${e.display_name} (${e.id})`,size:`md`,children:[(0,F.jsxs)(`div`,{className:`provider-panel-caps`,children:[o.map(([e,t])=>(0,F.jsx)(`span`,{className:`badge-cap${t?` active`:``}`,children:e},e)),(0,F.jsxs)(`span`,{style:{marginLeft:`auto`},className:`badge-cap active`,children:[e.model_count,` models`]})]}),(0,F.jsxs)(`div`,{className:`provider-panel-meta`,children:[(0,F.jsxs)(`span`,{children:[`Protocol: `,(0,F.jsx)(`span`,{className:`mono`,children:e.protocol.replace(/_/g,` `)})]}),(0,F.jsxs)(`span`,{children:[`Auth: `,(0,F.jsx)(`span`,{className:`mono`,children:e.auth.replace(/_/g,` `)})]}),(0,F.jsxs)(`span`,{children:[`Status: `,(0,F.jsx)(`span`,{className:`mono`,children:e.status})]}),e.env_vars.length>0&&(0,F.jsxs)(`span`,{children:[`Env: `,(0,F.jsx)(`span`,{className:`mono`,children:e.env_vars[0]})]})]}),(0,F.jsxs)(`div`,{className:`provider-panel-section`,children:[(0,F.jsxs)(`div`,{className:`provider-panel-section-label`,children:[`Configured keys (`,t.length,`)`]}),t.length===0&&(0,F.jsx)(`div`,{className:`provider-empty-hint`,children:`No keys configured. Add one below to start forwarding requests.`}),t.map(e=>(0,F.jsx)(Vz,{backend:e,healthStatus:n.get(e.name),onDelete:()=>i(e)},e.id)),(0,F.jsx)(Hz,{provider:e,existingCount:t.length})]})]})}function Wz(){let e=ro(),t=oo(),{data:n}=to(),{data:r}=io(),i=ao(),a=lo(),o=(0,P.useMemo)(()=>new Set(r??[]),[r]),[s,c]=(0,P.useState)(null),[l,u]=(0,P.useState)(``),[d,f]=(0,P.useState)(null),p=(0,P.useMemo)(()=>e.data??[],[e.data]),m=(0,P.useMemo)(()=>t.data?.backends??[],[t.data]),h=(0,P.useMemo)(()=>{let e=new Map;for(let t of m)e.has(t.provider_id)||e.set(t.provider_id,[]),e.get(t.provider_id).push(t);return e},[m]),g=(0,P.useMemo)(()=>{let e=new Map;for(let t of n?.backends??[])e.set(t.name,t.status);return e},[n]),_=(0,P.useMemo)(()=>{let e=l.toLowerCase();return Bc(e?p.filter(t=>t.display_name.toLowerCase().includes(e)||t.id.includes(e)):p,o)},[p,l,o]),v=s?p.find(e=>e.id===s):null,y=s?h.get(s)??[]:[];function b(){return d?a.mutateAsync(d.name).then(()=>void 0):Promise.resolve()}return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`h2`,{children:`Providers`}),(0,F.jsx)(`input`,{type:`search`,name:`provider-search`,placeholder:`Search providers...`,value:l,onChange:e=>u(e.target.value),style:{width:260}})]}),(0,F.jsx)(ic,{query:e,errorTitle:`Failed to load provider catalog`,empty:{when:()=>p.length===0,render:()=>(0,F.jsxs)(H,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No providers available`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`The provider catalog is empty. Check that the providers crate is loaded.`})]})},children:()=>(0,F.jsxs)(`div`,{className:`provider-catalog`,children:[_.map(e=>(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`div`,{className:`provider-tier-label`,children:e.label}),(0,F.jsx)(`div`,{className:`provider-tile-grid${e.top?` tier-top`:``}`,children:e.providers.map(e=>(0,F.jsx)(Bz,{provider:e,backendCount:h.get(e.id)?.length??0,favorited:o.has(e.id),onToggleFavorite:()=>i.mutate({providerId:e.id,on:!o.has(e.id)}),onClick:()=>c(e.id)},e.id))})]},e.key)),_.length===0&&l&&(0,F.jsxs)(`div`,{className:`dim`,style:{padding:20},children:[`No providers match "`,l,`".`]})]})}),v&&(0,F.jsx)(Uz,{provider:v,backends:y,healthMap:g,onClose:()=>c(null),onDeleteBackend:f},s),(0,F.jsx)(lc,{open:d!==null,onClose:()=>f(null),onConfirm:b,title:`Delete backend?`,message:(0,F.jsxs)(F.Fragment,{children:[`Delete backend `,(0,F.jsx)(`span`,{className:`mono`,children:d?.name}),`? Routes referencing this backend will lose it from their provider list.`]})})]})}function Gz({initial:e,onSuccess:t,onCancel:n}){let r=!!e,{data:i=[]}=ro(),a=so(),o=co(),[s,c]=(0,P.useState)(e?.name??``),[l,u]=(0,P.useState)(e?.provider_id??``),[d,f]=(0,P.useState)(()=>{if(!e)return{};let t={};for(let n of[`api_base`,`deployment`,`api_version`,`project`,`region`])e[n]!=null&&(t[n]=e[n]);return e.rpm!=null&&(t.rpm=String(e.rpm)),e.tpm!=null&&(t.tpm=String(e.tpm)),t}),[p,m]=(0,P.useState)(null);(0,P.useEffect)(()=>{i.length>0&&!l&&u(e?.provider_id??i[0].id)},[i.length]);let h=i.find(e=>e.id===l)??(i.length>0?i[0]:void 0),g=h?Fc(h):[],_=g.filter(e=>e.group===`auth`),v=g.filter(e=>e.group===`endpoint`),y=g.filter(e=>e.group===`limits`);function b(e){return d[e]??``}function x(e,t){f(n=>({...n,[e]:t}))}function S(t){return!r||!e?!1:t===`api_key`?e.api_key_set:t===`aws_secret_access_key`||t===`aws_access_key_id`?e.aws_creds_set:!1}function C(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==``))}function w(n){n.preventDefault(),m(null);let i=C(d);if(r&&e)o.mutate({name:e.name,data:i},{onSuccess:()=>t(),onError:e=>m(e.message)});else{if(!s){m(`Name is required`);return}a.mutate({name:s,provider_id:l,...i},{onSuccess:()=>t(),onError:e=>m(e.message)})}}let T=a.isPending||o.isPending;function E(e){let t=b(e.name),n=S(e.name),r=e.type===`url`?`text`:e.type;return(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[(0,F.jsxs)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:3},children:[e.label,e.required&&(0,F.jsx)(`span`,{style:{color:`var(--err)`,marginLeft:2},children:`*`})]}),(0,F.jsx)(`input`,{type:r,value:t,placeholder:n?`••••••••`:e.placeholder,onChange:t=>x(e.name,t.target.value),style:{width:`100%`}}),e.hint&&(0,F.jsx)(`div`,{style:{fontSize:11,color:`var(--text-2)`,marginTop:3},children:e.hint})]},e.name)}return(0,F.jsxs)(`form`,{onSubmit:w,style:{padding:`12px`,background:`var(--bg-raised)`,border:`1px solid var(--border)`,borderRadius:`var(--rm)`,marginBottom:14},children:[(0,F.jsx)(`div`,{style:{fontWeight:600,marginBottom:12,fontSize:13},children:r?`Edit backend: ${e.name}`:`Add managed backend`}),(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[(0,F.jsxs)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:3},children:[`Provider`,(0,F.jsx)(`span`,{style:{color:`var(--err)`,marginLeft:2},children:`*`})]}),(0,F.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8},children:[l&&(0,F.jsx)(Lz,{id:l,size:18,style:{flexShrink:0}}),(0,F.jsxs)(`select`,{value:l,onChange:e=>{u(e.target.value),f({})},disabled:r,style:{flex:1},children:[i.length===0&&(0,F.jsx)(`option`,{value:``,children:`Loading providers…`}),[`implemented`,`wired`,`stub`].map(e=>{let t=i.filter(t=>t.status===e);return t.length===0?null:(0,F.jsx)(`optgroup`,{label:e.charAt(0).toUpperCase()+e.slice(1),children:t.map(e=>(0,F.jsxs)(`option`,{value:e.id,children:[e.display_name,` (`,e.id,`)`]},e.id))},e)})]})]})]}),(0,F.jsxs)(`div`,{style:{marginBottom:10},children:[(0,F.jsxs)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:3},children:[`Name`,(0,F.jsx)(`span`,{style:{color:`var(--err)`,marginLeft:2},children:`*`})]}),(0,F.jsx)(`input`,{type:`text`,value:s,onChange:e=>c(e.target.value),required:!0,pattern:`[a-zA-Z0-9_\\-]+`,placeholder:`my-backend`,disabled:r,style:{width:`100%`}}),!r&&(0,F.jsx)(`div`,{style:{fontSize:11,color:`var(--text-2)`,marginTop:3},children:`Letters, numbers, underscores, hyphens only`})]}),_.length>0&&(0,F.jsxs)(`div`,{style:{marginBottom:4},children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:6},children:`Authentication`}),_.map(E)]}),v.length>0&&(0,F.jsxs)(`div`,{style:{marginBottom:4},children:[(0,F.jsx)(`div`,{className:`section-label`,style:{marginBottom:6},children:`Endpoint`}),v.map(E)]}),y.length>0&&(0,F.jsxs)(`details`,{style:{marginBottom:10},children:[(0,F.jsx)(`summary`,{style:{fontSize:11,color:`var(--text-2)`,cursor:`pointer`,textTransform:`uppercase`,letterSpacing:`0.07em`,fontWeight:500,marginBottom:6},children:`Rate Limits`}),(0,F.jsx)(`div`,{style:{marginTop:8},children:y.map(E)})]}),p&&(0,F.jsx)(`div`,{style:{marginBottom:10,padding:`6px 10px`,background:`var(--err-dim)`,borderLeft:`3px solid var(--err)`,borderRadius:`var(--r)`,fontSize:12},children:p}),(0,F.jsxs)(`div`,{style:{display:`flex`,gap:8},children:[(0,F.jsx)(V,{type:`submit`,tone:`primary`,size:`sm`,loading:T,children:r?`Save changes`:`Create backend`}),(0,F.jsx)(V,{type:`button`,size:`sm`,onClick:n,disabled:T,children:`Cancel`})]})]})}function Kz(){let{data:e,isLoading:t,error:n}=oo(),{data:r=[]}=ro(),i=lo(),[a,o]=(0,P.useState)({mode:`none`}),[s,c]=(0,P.useState)(null),l=(0,P.useMemo)(()=>Object.fromEntries(r.map(e=>[e.id,e.display_name])),[r]);function u(e){return l[e]??e}function d(){return s?i.mutateAsync(s.name).then(()=>void 0):Promise.resolve()}return(0,F.jsxs)(`div`,{style:{marginBottom:24},children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`div`,{className:`section-label`,style:{margin:0},children:`Managed Backends`}),(0,F.jsx)(V,{tone:`primary`,size:`sm`,onClick:()=>o({mode:`create`}),children:`Add Backend`})]}),(0,F.jsx)(`div`,{style:{fontSize:12,color:`var(--text-2)`,marginBottom:10},children:`Configure provider credentials and backend settings at runtime.`}),a.mode===`create`&&(0,F.jsx)(Gz,{onSuccess:()=>o({mode:`none`}),onCancel:()=>o({mode:`none`})}),a.mode===`edit`&&(0,F.jsx)(Gz,{initial:a.backend,onSuccess:()=>o({mode:`none`}),onCancel:()=>o({mode:`none`})}),(0,F.jsx)(ec,{loading:t,error:n?.message}),e&&e.backends.length===0&&(0,F.jsx)(`div`,{style:{padding:`20px 0`,color:`var(--text-2)`,fontSize:13},children:`No managed backends yet. Add one to configure provider credentials at runtime.`}),e&&e.backends.length>0&&(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Name`}),(0,F.jsx)(`th`,{children:`Provider`}),(0,F.jsx)(`th`,{children:`Credentials`}),(0,F.jsx)(`th`,{children:`Base URL`}),(0,F.jsx)(`th`,{})]})}),(0,F.jsx)(`tbody`,{children:e.backends.map(e=>(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`td`,{className:`mono`,children:e.name}),(0,F.jsxs)(`td`,{className:`dim`,style:{whiteSpace:`nowrap`},children:[(0,F.jsx)(Lz,{id:e.provider_id,size:16,style:{marginRight:6,verticalAlign:`middle`,opacity:.8}}),u(e.provider_id)]}),(0,F.jsxs)(`td`,{children:[e.api_key_set&&(0,F.jsx)(`span`,{className:`badge badge-active`,style:{marginRight:4},children:`Key set`}),!e.api_key_set&&!e.aws_creds_set&&(0,F.jsx)(`span`,{className:`badge badge-revoked`,children:`No key`}),e.aws_creds_set&&(0,F.jsx)(`span`,{className:`badge badge-active`,children:`AWS creds set`})]}),(0,F.jsx)(`td`,{className:`dim mono`,style:{fontSize:11},children:e.api_base??`—`}),(0,F.jsx)(`td`,{children:(0,F.jsxs)(`div`,{style:{display:`flex`,gap:6},children:[(0,F.jsx)(V,{size:`sm`,onClick:()=>{a.mode===`edit`&&a.backend.id===e.id?o({mode:`none`}):o({mode:`edit`,backend:e})},children:`Edit`}),(0,F.jsx)(V,{tone:`danger`,size:`sm`,onClick:()=>c(e),disabled:i.isPending&&i.variables===e.name,children:`Delete`})]})})]},e.id))})]}),(0,F.jsx)(lc,{open:s!==null,onClose:()=>c(null),onConfirm:d,title:`Delete managed backend?`,message:(0,F.jsxs)(F.Fragment,{children:[`Delete backend `,(0,F.jsx)(`span`,{className:`mono`,children:s?.name}),`? Stored credentials will be removed. Routes still referencing it will fail until reconfigured.`]})})]})}function qz(){let{data:e,isLoading:t,error:n}=Wa(),{data:r}=to(),i=(0,P.useMemo)(()=>{let e=new Map;for(let t of r?.backends??[])e.set(t.name,t);return e},[r]);return(0,F.jsxs)(`div`,{children:[(0,F.jsx)(Kz,{}),(0,F.jsx)(`div`,{className:`section-label`,style:{marginTop:8},children:`Backend Status`}),(0,F.jsx)(ec,{loading:t,error:n?.message,empty:e?.length===0}),(0,F.jsx)(`div`,{className:`backend-cards`,children:e?.map(e=>{let t=i.get(e.name),n=t?.status===`up`?`ok`:t?.status===`down`?`err`:`dim`;return(0,F.jsxs)(H,{className:`card`,children:[(0,F.jsxs)(`div`,{className:`card-header`,children:[(0,F.jsx)(`span`,{className:`card-name`,children:e.name}),(0,F.jsx)(jc,{status:n,pulse:n===`ok`})]}),(0,F.jsxs)(`div`,{className:`card-body`,children:[(0,F.jsxs)(`div`,{className:`mono`,children:[e.big_model,` / `,e.small_model]}),(0,F.jsxs)(`div`,{style:{marginTop:6,display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:4},children:[(0,F.jsx)(`span`,{className:`dim`,children:`Requests`}),(0,F.jsx)(`span`,{className:`mono`,children:e.metrics.requests_total}),(0,F.jsx)(`span`,{className:`dim`,children:`Errors`}),(0,F.jsx)(`span`,{className:`mono`,style:{color:e.metrics.requests_error>0?`var(--err)`:void 0},children:e.metrics.requests_error}),t?.last_latency_ms!=null&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`span`,{className:`dim`,children:`Last latency`}),(0,F.jsxs)(`span`,{className:`mono`,children:[t.last_latency_ms,`ms`]})]}),t&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(`span`,{className:`dim`,children:`30d uptime`}),(0,F.jsxs)(`span`,{className:`mono`,children:[t.uptime_pct_30d,`%`]})]})]})]})]},e.name)})})]})}var Jz=[`failover`,`round-robin`,`least-busy`,`latency`,`weighted`,`cost`];function Yz({value:e,onChange:t}){return(0,F.jsxs)(`select`,{value:e===null?`inherit`:e?`on`:`off`,onChange:e=>{let n=e.target.value;t(n===`inherit`?null:n===`on`)},children:[(0,F.jsx)(`option`,{value:`inherit`,children:`inherit (global)`}),(0,F.jsx)(`option`,{value:`on`,children:`on`}),(0,F.jsx)(`option`,{value:`off`,children:`off`})]})}function Xz({route:e,onClose:t}){let{data:n,isLoading:r}=ho(e.id),i=R(),a=z(),o=go(),s=_o(),c=po(),l=co(),{data:u}=oo(),{data:d}=Ia(),[f,p]=(0,P.useState)(!1),[m,h]=(0,P.useState)(``),[g,_]=(0,P.useState)(`*`),v=n?.providers??[],y=u?.backends??[],b=[`curl ${`http://${window.location.hostname}:${d?.proxy_port??3e3}/v1/chat/completions`} \\`,` -H 'Authorization: Bearer ' \\`,` -H 'Content-Type: application/json' \\`,` -d '${JSON.stringify({model:e.name,messages:[{role:`user`,content:`hi`}]})}'`].join(` +`);async function x(){ma(await yc(b)?{variant:`success`,message:`curl snippet copied`}:{variant:`error`,message:`Copy failed (clipboard blocked)`})}let S=new Set(v.map(e=>e.backend_id)),C=y.filter(e=>!S.has(e.id));function w(){if(!m)return;let t=g.trim()===`*`?[`*`]:g.split(`,`).map(e=>e.trim()).filter(Boolean);i.mutate({routeId:e.id,data:{backend_id:m,models:t,priority:v.length,enabled:!0}},{onSuccess:()=>{p(!1),h(``),_(`*`)}})}function T(t,n){let r=t+n;if(r<0||r>=v.length)return;let i=v.slice(),[a]=i.splice(t,1);i.splice(r,0,a),s.mutate({routeId:e.id,data:{provider_ids:i.map(e=>e.id)}})}return(0,F.jsxs)(`div`,{className:`route-detail`,children:[(0,F.jsxs)(`div`,{className:`route-detail-header`,children:[(0,F.jsxs)(`div`,{children:[(0,F.jsx)(`span`,{className:`route-detail-title`,children:e.name}),e.description&&(0,F.jsx)(`span`,{className:`dim route-detail-desc`,children:e.description})]}),(0,F.jsxs)(`div`,{className:`route-detail-meta`,children:[e.rpm&&(0,F.jsxs)(`span`,{className:`dim mono`,children:[`RPM `,e.rpm]}),(0,F.jsx)(V,{size:`sm`,tone:e.enabled?`primary`:`secondary`,title:`Route on/off. Disabled routes stop dispatching and lose virtual-key scope.`,onClick:()=>c.mutate({id:e.id,data:{enabled:!e.enabled}}),children:e.enabled?`route on`:`route off`}),(0,F.jsx)(V,{size:`sm`,onClick:t,children:`Close`})]})]}),e.enabled&&(0,F.jsxs)(`div`,{className:`route-detail-curl`,children:[(0,F.jsxs)(`div`,{className:`route-detail-curl-head`,children:[(0,F.jsx)(`span`,{className:`section-label`,children:`Call this route`}),(0,F.jsx)(V,{size:`sm`,onClick:x,children:`Copy curl`})]}),(0,F.jsx)(`pre`,{className:`route-detail-curl-body mono`,children:b}),(0,F.jsxs)(`div`,{className:`dim route-detail-curl-hint`,children:[`The route is selected by the `,(0,F.jsx)(`code`,{children:`model`}),` field (= route name). Replace`,` `,(0,F.jsx)(`code`,{children:``}),` with a proxy or virtual key.`]})]}),(0,F.jsxs)(`div`,{className:`route-detail-options`,children:[(0,F.jsx)(`span`,{className:`section-label route-detail-subhead-label`,children:`Route options`}),(0,F.jsxs)(`div`,{className:`route-options-grid`,children:[(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Strategy`}),(0,F.jsx)(`select`,{value:e.strategy,onChange:t=>c.mutate({id:e.id,data:{strategy:t.target.value}}),children:Jz.map(e=>(0,F.jsx)(`option`,{value:e,children:e},e))})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Position (lower wins across routes)`}),(0,F.jsx)(`input`,{type:`number`,name:`route-position`,defaultValue:e.position,onBlur:t=>{let n=Number.parseInt(t.target.value,10);Number.isNaN(n)||n===e.position||c.mutate({id:e.id,data:{position:n}})}})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Guardrails`}),(0,F.jsxs)(`select`,{value:e.guardrail_mode??`inherit`,onChange:t=>c.mutate({id:e.id,data:{guardrail_mode:t.target.value===`inherit`?null:t.target.value}}),children:[(0,F.jsx)(`option`,{value:`inherit`,children:`inherit (global)`}),(0,F.jsx)(`option`,{value:`disabled`,children:`disabled`}),(0,F.jsx)(`option`,{value:`standard`,children:`standard`})]})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Secret redaction`}),(0,F.jsx)(Yz,{value:e.redact_secrets,onChange:t=>c.mutate({id:e.id,data:{redact_secrets:t}})})]}),(0,F.jsxs)(`label`,{className:`route-option`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Image compression`}),(0,F.jsx)(Yz,{value:e.pxpipe_compress,onChange:t=>c.mutate({id:e.id,data:{pxpipe_compress:t}})})]}),(0,F.jsxs)(`label`,{className:`route-option route-option-wide`,children:[(0,F.jsx)(`span`,{className:`dim`,children:`Compression model scope (CSV, blank = inherit)`}),(0,F.jsx)(`input`,{type:`text`,name:`route-pxpipe-models`,defaultValue:e.pxpipe_models??``,placeholder:`inherit global`,onBlur:t=>{let n=t.target.value.trim();(e.pxpipe_models??``)!==n&&c.mutate({id:e.id,data:{pxpipe_models:n===``?null:n}})}})]})]}),(0,F.jsx)(`div`,{className:`dim route-options-note`,children:`Overrides apply only where the feature already runs (image compression: Anthropic passthrough backends only). "inherit" / blank uses the global value from Settings.`})]}),(0,F.jsxs)(`div`,{className:`route-detail-subhead`,children:[(0,F.jsx)(`span`,{className:`section-label route-detail-subhead-label`,children:`Providers (priority order)`}),(0,F.jsx)(V,{tone:`primary`,size:`sm`,onClick:()=>p(!f),children:f?`Cancel`:`+ Add Provider`})]}),f&&(0,F.jsxs)(`div`,{className:`route-detail-add`,children:[(0,F.jsxs)(`select`,{value:m,onChange:e=>h(e.target.value),className:`route-detail-add-select`,children:[(0,F.jsx)(`option`,{value:``,children:`Select provider...`}),C.map(e=>(0,F.jsxs)(`option`,{value:e.id,children:[e.name,` (`,e.provider_id,`)`]},e.id))]}),(0,F.jsx)(`input`,{type:`text`,name:`route-provider-models`,placeholder:`models (* for all)`,value:g,onChange:e=>_(e.target.value),className:`route-detail-add-models`}),(0,F.jsx)(V,{tone:`primary`,size:`sm`,onClick:w,disabled:!m||i.isPending,loading:i.isPending,children:`Add`})]}),r&&(0,F.jsx)(`div`,{className:`dim`,children:(0,F.jsx)(Bs,{label:`Loading providers`})}),!r&&v.length===0&&(0,F.jsx)(`div`,{className:`dim route-detail-empty`,children:`No providers assigned. Click "+ Add Provider" above.`}),!r&&v.map((t,n)=>(0,F.jsxs)(`div`,{className:`route-provider-row`,children:[(0,F.jsxs)(`span`,{className:`dim mono`,children:[n+1,`.`]}),(0,F.jsxs)(`span`,{children:[(0,F.jsx)(`span`,{className:`route-provider-name`,children:t.backend_name}),(0,F.jsxs)(`span`,{className:`dim route-provider-id`,children:[`(`,t.provider_id,`)`]})]}),(0,F.jsxs)(`span`,{className:`mono dim route-provider-models`,children:[`[`,t.models.join(`, `),`]`]}),(0,F.jsxs)(`span`,{className:`route-provider-reorder`,children:[(0,F.jsx)(V,{tone:`icon`,size:`sm`,className:`btn-icon`,onClick:()=>T(n,-1),disabled:n===0||s.isPending,"aria-label":`Move up`,children:`↑`}),(0,F.jsx)(V,{tone:`icon`,size:`sm`,className:`btn-icon`,onClick:()=>T(n,1),disabled:n>=v.length-1||s.isPending,"aria-label":`Move down`,children:`↓`})]}),(0,F.jsx)(V,{size:`sm`,tone:t.enabled?`primary`:`secondary`,className:`route-provider-toggle`,title:`In-route membership: whether this backend is active within this route.`,onClick:()=>a.mutate({routeId:e.id,providerId:t.id,data:{enabled:!t.enabled}}),children:t.enabled?`in route`:`excluded`}),(()=>{let e=y.find(e=>e.id===t.backend_id);return e?(0,F.jsx)(V,{size:`sm`,tone:e.enabled?`primary`:`secondary`,className:`route-provider-toggle`,title:`Backend online (global). Disables this backend everywhere, not just this route.`,onClick:()=>l.mutate({name:e.name,data:{enabled:!e.enabled}}),children:e.enabled?`backend on`:`backend off`}):null})(),(0,F.jsx)(V,{tone:`danger`,size:`sm`,className:`route-provider-remove`,onClick:()=>o.mutate({routeId:e.id,providerId:t.id}),children:`Remove`})]},t.id))]})}function Zz({onClose:e}){let t=fo(),[n,r]=(0,P.useState)(``),[i,a]=(0,P.useState)(``),[o,s]=(0,P.useState)(`failover`);function c(){t.mutate({name:n,description:i||void 0,strategy:o},{onSuccess:e})}return(0,F.jsxs)(cc,{open:!0,onClose:e,title:`New Route`,size:`sm`,dismissable:!t.isPending,footer:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(V,{onClick:e,disabled:t.isPending,children:`Cancel`}),(0,F.jsx)(V,{tone:`primary`,onClick:c,disabled:!n.trim()||t.isPending,loading:t.isPending,children:`Create`})]}),children:[(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`route-name`,children:`Name`}),(0,F.jsx)(`input`,{id:`route-name`,name:`name`,type:`text`,value:n,onChange:e=>r(e.target.value),placeholder:`e.g. default, cheap`,style:{width:`100%`}})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`route-desc`,children:`Description`}),(0,F.jsx)(`input`,{id:`route-desc`,name:`description`,type:`text`,value:i,onChange:e=>a(e.target.value),placeholder:`optional`,style:{width:`100%`}})]}),(0,F.jsxs)(`div`,{className:`form-group`,children:[(0,F.jsx)(`label`,{className:`form-label`,htmlFor:`route-strategy`,children:`Strategy`}),(0,F.jsx)(`select`,{id:`route-strategy`,name:`strategy`,value:o,onChange:e=>s(e.target.value),style:{width:`100%`},children:Jz.map(e=>(0,F.jsx)(`option`,{value:e,children:e},e))})]}),(0,F.jsx)(`div`,{className:`dim`,style:{fontSize:`0.85em`},children:`Per-route options (guardrails, compression, secret redaction) and on/off are set after creation from the route's detail panel.`}),t.isError&&(0,F.jsx)(`div`,{className:`error`,children:`Failed to create route`})]})}function Qz(){let e=uo(),t=mo(),[n,r]=(0,P.useState)(null),[i,a]=(0,P.useState)(!1),[o,s]=(0,P.useState)(null);function c(){return o?t.mutateAsync(o.id).then(()=>void 0):Promise.resolve()}return(0,F.jsxs)(`div`,{children:[(0,F.jsxs)(`div`,{className:`section-header`,children:[(0,F.jsx)(`h2`,{children:`Routes`}),(0,F.jsx)(V,{tone:`primary`,onClick:()=>a(!0),children:`+ New Route`})]}),(0,F.jsx)(ic,{query:e,errorTitle:`Failed to load routes`,empty:{when:e=>(e.routes?.length??0)===0,render:()=>(0,F.jsxs)(H,{className:`empty-cta`,children:[(0,F.jsx)(`div`,{className:`empty-cta-title`,children:`No routes yet`}),(0,F.jsx)(`div`,{className:`empty-cta-body`,children:`Create a route to fan requests out across multiple backends with priority-based failover.`}),(0,F.jsx)(V,{tone:`primary`,onClick:()=>a(!0),children:`+ New Route`})]})},children:e=>(0,F.jsxs)(`table`,{className:`route-table`,children:[(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{children:[(0,F.jsx)(`th`,{children:`Name`}),(0,F.jsx)(`th`,{children:`Strategy`}),(0,F.jsx)(`th`,{children:`Providers`}),(0,F.jsx)(`th`,{children:`Limits`}),(0,F.jsx)(`th`,{})]})}),(0,F.jsx)(`tbody`,{children:e.routes.map(e=>(0,F.jsx)($z,{route:e,expanded:n===e.id,onToggle:()=>r(n===e.id?null:e.id),onDelete:()=>s(e)},e.id))})]})}),i&&(0,F.jsx)(Zz,{onClose:()=>a(!1)}),(0,F.jsx)(lc,{open:o!==null,onClose:()=>s(null),onConfirm:c,title:`Delete route?`,message:(0,F.jsxs)(F.Fragment,{children:[`Delete route `,(0,F.jsx)(`span`,{className:`mono`,children:o?.name}),`? Virtual keys scoped to this route will lose access. This cannot be undone.`]})})]})}function $z({route:e,expanded:t,onToggle:n,onDelete:r}){let i=[e.rpm&&`RPM ${e.rpm}`,e.tpm&&`TPM ${e.tpm}`].filter(Boolean).join(`, `)||`—`;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`tr`,{className:`route-row`,onClick:n,children:[(0,F.jsxs)(`td`,{className:`route-row-name`,children:[t?`▾ `:`▸ `,e.name,!e.enabled&&(0,F.jsx)(`span`,{className:`dim route-row-desc`,children:`(disabled)`}),e.description&&(0,F.jsx)(`span`,{className:`dim route-row-desc`,children:e.description})]}),(0,F.jsx)(`td`,{className:`dim`,children:e.strategy}),(0,F.jsx)(`td`,{children:e.provider_count}),(0,F.jsx)(`td`,{className:`mono dim`,children:i}),(0,F.jsx)(`td`,{className:`route-row-actions`,children:(0,F.jsx)(V,{tone:`danger`,size:`sm`,onClick:e=>{e.stopPropagation(),r()},children:`Delete`})})]}),t&&(0,F.jsx)(`tr`,{children:(0,F.jsx)(`td`,{colSpan:5,className:`route-row-detail-cell`,children:(0,F.jsx)(Xz,{route:e,onClose:n})})})]})}function eB(){let e=ea(e=>e.token),t=ta(e=>e.lastEvent),n=wn(),{data:r}=Ia(!!e);if((0,P.useEffect)(()=>{e?sa():ca()},[e]),(0,P.useEffect)(()=>{t&&(t.type===`metrics_snapshot`?n.setQueryData([`metrics`],t.data):t.type===`backend_health_changed`?n.invalidateQueries({queryKey:[`uptime`]}):t.type===`config_changed`&&(n.invalidateQueries({queryKey:[`config`]}),n.invalidateQueries({queryKey:[`env`]})))},[t,n]),!e)return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Hs,{}),(0,F.jsx)(Gs,{})]});let i=r?.configured??!0;return(0,F.jsx)(Ni,{children:(0,F.jsxs)(`div`,{className:`app-layout`,children:[(0,F.jsx)(Ws,{}),(0,F.jsx)(`div`,{className:`tab-content`,children:(0,F.jsxs)(yi,{children:[(0,F.jsx)(_i,{path:`/`,element:(0,F.jsx)(gi,{to:i?`/dashboard`:`/settings`,replace:!0})}),(0,F.jsx)(_i,{path:`/dashboard`,element:(0,F.jsx)(nc,{})}),(0,F.jsx)(_i,{path:`/requests`,element:(0,F.jsx)(oc,{})}),(0,F.jsx)(_i,{path:`/traffic`,element:(0,F.jsx)(Oc,{})}),(0,F.jsx)(_i,{path:`/providers`,element:(0,F.jsx)(Wz,{})}),(0,F.jsx)(_i,{path:`/routes`,element:(0,F.jsx)(Qz,{})}),(0,F.jsx)(_i,{path:`/models`,element:(0,F.jsx)(Cc,{})}),(0,F.jsx)(_i,{path:`/backends`,element:(0,F.jsx)(qz,{})}),(0,F.jsx)(_i,{path:`/keys`,element:(0,F.jsx)(bc,{})}),(0,F.jsx)(_i,{path:`/audit`,element:(0,F.jsx)(wc,{})}),(0,F.jsx)(_i,{path:`/settings`,element:(0,F.jsx)(fc,{configured:i})}),(0,F.jsx)(_i,{path:`/uptime`,element:(0,F.jsx)(Nc,{})}),(0,F.jsx)(_i,{path:`*`,element:(0,F.jsx)(gi,{to:`/dashboard`,replace:!0})})]})}),(0,F.jsx)(Gs,{})]})})}var tB=new bn({defaultOptions:{queries:{retry:(e,t)=>t instanceof ka?!1:e<1,refetchOnWindowFocus:!1,staleTime:3e4},mutations:{retry:(e,t)=>t instanceof ka?!1:e<1}}});(0,Hn.createRoot)(document.getElementById(`root`)).render((0,F.jsx)(P.StrictMode,{children:(0,F.jsx)(Tn,{client:tB,children:(0,F.jsx)(eB,{})})})); diff --git a/crates/proxy/admin-ui/src/tabs/providers/Providers.tsx b/crates/proxy/admin-ui/src/tabs/providers/Providers.tsx index c829b8e..e4eaed7 100644 --- a/crates/proxy/admin-ui/src/tabs/providers/Providers.tsx +++ b/crates/proxy/admin-ui/src/tabs/providers/Providers.tsx @@ -10,7 +10,7 @@ import { useDiscoverModels, } from '../../api/queries' import type { CatalogProvider, ManagedBackend } from '../../api/types' -import { getProviderFields } from '../../utils/providerFields' +import { getProviderFields, resolveDiscoveryUrl } from '../../utils/providerFields' import { groupSections } from '../../utils/providerTiers' // A provider is "local" when its default endpoint is a loopback address. @@ -153,7 +153,7 @@ function AddBackendForm({ name: form.name, provider_id: provider.id, api_key: form.api_key || undefined, - api_base: form.api_base || undefined, + api_base: form.api_base ? form.api_base.trim().replace(/\/+$/, '') : undefined, deployment: form.deployment || undefined, api_version: form.api_version || undefined, project: form.project || undefined, @@ -210,6 +210,20 @@ function AddBackendForm({ onChange={(e) => setForm((p) => ({ ...p, [f.name]: e.target.value }))} style={{ width: '100%' }} /> + {f.name === 'api_base' && (() => { + const target = resolveDiscoveryUrl(form.api_base || provider.default_base_url || '') + if (!target) return null + // /v1/models discovery only works for OpenAI-shaped and Anthropic-native providers. + const unsupported = ['vertex_ai', 'gemini_native', 'bedrock_native'].includes( + provider.protocol, + ) + return ( +
+ Query models will request: {target} + {unsupported && ' — model discovery may not work for this provider.'} +
+ ) + })()} ))} {discover.isError && ( diff --git a/crates/proxy/admin-ui/src/utils/providerFields.ts b/crates/proxy/admin-ui/src/utils/providerFields.ts index fbe9319..6f617eb 100644 --- a/crates/proxy/admin-ui/src/utils/providerFields.ts +++ b/crates/proxy/admin-ui/src/utils/providerFields.ts @@ -12,6 +12,16 @@ export interface FieldDef { group: FieldGroup } +// Mirror of resolve_discover_target's /v1/models logic in models.rs — keep in sync. +// Handles trailing slashes and avoids doubling /v1 (catalog defaults end in /v1). +export function resolveDiscoveryUrl(base: string): string { + const trimmed = base.trim().replace(/\/+$/, '') + if (!trimmed) return '' + if (trimmed.endsWith('/models')) return trimmed + if (trimmed.endsWith('/v1')) return `${trimmed}/models` + return `${trimmed}/v1/models` +} + export function getProviderFields(provider: CatalogProvider): FieldDef[] { const fields: FieldDef[] = [] const firstEnvVar = provider.env_vars.length > 0 ? provider.env_vars[0] : null diff --git a/crates/proxy/src/admin/routes/models.rs b/crates/proxy/src/admin/routes/models.rs index 8f60a33..a458034 100644 --- a/crates/proxy/src/admin/routes/models.rs +++ b/crates/proxy/src/admin/routes/models.rs @@ -1,5 +1,6 @@ use crate::admin::state::SharedState; use anyllm_client::http::{build_http_client, HttpClientConfig}; +use anyllm_providers::provider::ProviderProtocol; use axum::{ extract::{ConnectInfo, Path, State}, http::StatusCode, @@ -280,12 +281,17 @@ pub(super) async fn discover_models( State(shared): State, Json(body): Json, ) -> impl IntoResponse { - // A provider counts as local only if the catalog says so — never trust a client flag. - let provider_is_local = body + // Look the provider up once; derive local-ness and protocol from the catalog, + // never from a client flag. + let provider_def = body .provider_id .as_deref() - .and_then(|id| shared.provider_catalog.get_provider(id)) - .is_some_and(|p| p.is_local()); + .and_then(|id| shared.provider_catalog.get_provider(id)); + let provider_is_local = provider_def.is_some_and(|p| p.is_local()); + // Anthropic-native providers list models at /v1/models too, but authenticate with + // x-api-key + anthropic-version instead of a Bearer token. + let is_anthropic = + provider_def.is_some_and(|p| p.protocol == ProviderProtocol::AnthropicNative); let (url, api_key) = match resolve_discover_target(&body, provider_is_local) { Ok(v) => v, @@ -306,7 +312,13 @@ pub(super) async fn discover_models( }; let mut req = client.get(&url); if let Some(ref key) = api_key { - req = req.header("Authorization", format!("Bearer {key}")); + if is_anthropic { + req = req + .header("x-api-key", key) + .header("anthropic-version", "2023-06-01"); + } else { + req = req.header("Authorization", format!("Bearer {key}")); + } } let resp = match req.send().await { @@ -366,7 +378,12 @@ pub(super) async fn discover_models( arr.iter() .filter_map(|m| { let id = m.get("id")?.as_str()?.to_string(); - let name = m.get("name").and_then(|n| n.as_str()).map(String::from); + // OpenAI uses "name"; Anthropic list-models uses "display_name". + let name = m + .get("name") + .or_else(|| m.get("display_name")) + .and_then(|n| n.as_str()) + .map(String::from); Some(DiscoveredModel { id, name }) }) .collect() @@ -438,9 +455,13 @@ fn resolve_discover_target( } else { crate::config::validate_base_url(url)?; } - // If the URL already ends with /models, use as-is; otherwise append. + // Append the models path, but don't double up: catalog default base URLs + // for local providers already end in /v1 (e.g. http://host:4444/v1), so a + // blind /v1/models append produced /v1/v1/models. let url = if url.ends_with("/models") { url.to_string() + } else if url.ends_with("/v1") { + format!("{url}/models") } else { format!("{url}/v1/models") }; @@ -521,6 +542,21 @@ mod tests { assert_eq!(api_key, None); } + #[test] + fn custom_discover_does_not_double_v1_suffix() { + // Local-provider catalog defaults already end in /v1; don't produce /v1/v1/models. + let (url, _) = + resolve_discover_target(&custom_request("http://192.168.1.72:4444/v1"), true) + .expect("local LAN /v1 discovery URL should be accepted when allow_local"); + assert_eq!(url, "http://192.168.1.72:4444/v1/models"); + + // Trailing slash on a /v1 base collapses the same way. + let (url, _) = + resolve_discover_target(&custom_request("http://192.168.1.72:4444/v1/"), true) + .expect("trailing-slash /v1 discovery URL should be accepted when allow_local"); + assert_eq!(url, "http://192.168.1.72:4444/v1/models"); + } + #[test] fn custom_discover_local_allows_loopback_but_keeps_scheme_check() { // allow_local=true: loopback is accepted (LM Studio/Ollama on localhost)... diff --git a/crates/proxy/src/server/bedrock_native.rs b/crates/proxy/src/server/bedrock_native.rs index dabe9e2..a0e750d 100644 --- a/crates/proxy/src/server/bedrock_native.rs +++ b/crates/proxy/src/server/bedrock_native.rs @@ -17,14 +17,17 @@ use axum::{ response::{IntoResponse, Response}, }; +type VkCtx = Option>; + /// POST /model/{modelId}/converse — Bedrock Converse API (non-streaming). pub(crate) async fn bedrock_converse( State(state): State, Path(model_id): Path, headers: HeaderMap, + vk_ctx: VkCtx, body: Bytes, ) -> Response { - forward_native(&state, &model_id, &headers, body, "converse", false).await + forward_native(&state, &model_id, &headers, vk_ctx, body, "converse", false).await } /// POST /model/{modelId}/converse-stream — Bedrock Converse API (streaming). @@ -32,9 +35,19 @@ pub(crate) async fn bedrock_converse_stream( State(state): State, Path(model_id): Path, headers: HeaderMap, + vk_ctx: VkCtx, body: Bytes, ) -> Response { - forward_native(&state, &model_id, &headers, body, "converse-stream", true).await + forward_native( + &state, + &model_id, + &headers, + vk_ctx, + body, + "converse-stream", + true, + ) + .await } /// POST /model/{modelId}/invoke — Bedrock InvokeModel (non-streaming, model-native format). @@ -42,9 +55,10 @@ pub(crate) async fn bedrock_invoke( State(state): State, Path(model_id): Path, headers: HeaderMap, + vk_ctx: VkCtx, body: Bytes, ) -> Response { - forward_native(&state, &model_id, &headers, body, "invoke", false).await + forward_native(&state, &model_id, &headers, vk_ctx, body, "invoke", false).await } /// POST /model/{modelId}/invoke-with-response-stream — Bedrock InvokeModel (streaming). @@ -52,12 +66,14 @@ pub(crate) async fn bedrock_invoke_stream( State(state): State, Path(model_id): Path, headers: HeaderMap, + vk_ctx: VkCtx, body: Bytes, ) -> Response { forward_native( &state, &model_id, &headers, + vk_ctx, body, "invoke-with-response-stream", true, @@ -69,6 +85,7 @@ async fn forward_native( state: &AppState, model_id: &str, headers: &HeaderMap, + vk_ctx: VkCtx, body: Bytes, suffix: &str, streaming: bool, @@ -85,6 +102,20 @@ async fn forward_native( } }; + // Enforce the virtual key's model allowlist. The model comes from the URL path + // here (Bedrock native puts modelId in the URL), so check it directly — the + // same enforcement bedrock_passthrough applies to the body's `model` field. + if let Some(axum::Extension(ref ctx)) = vk_ctx { + if !crate::server::policy::is_model_allowed(model_id, &ctx.allowed_models) { + let err = anyllm_translate::mapping::errors_map::create_anthropic_error( + anyllm_translate::anthropic::ErrorType::PermissionError, + format!("Model '{model_id}' is not allowed for this API key."), + None, + ); + return (StatusCode::FORBIDDEN, axum::Json(err)).into_response(); + } + } + let body = match super::secret_redaction::redact_body(state.redact_secrets(), headers, body).await { Ok(body) => body, diff --git a/crates/proxy/tests/virtual_keys.rs b/crates/proxy/tests/virtual_keys.rs index 5a1ae50..54f1e69 100644 --- a/crates/proxy/tests/virtual_keys.rs +++ b/crates/proxy/tests/virtual_keys.rs @@ -7,6 +7,7 @@ use anyllm_proxy::admin; use anyllm_proxy::config::{ BackendAuth, BackendConfig, BackendKind, Config, ModelMapping, MultiConfig, OpenAIApiFormat, + TlsConfig, }; use anyllm_proxy::server::routes; use axum::body::Body; @@ -1674,6 +1675,92 @@ async fn translate_model_passthrough_routes_enforce_virtual_key_model_allowlist( ); } +// --------------------------------------------------------------------------- +// Bedrock native routes (POST /model/{modelId}/...) must enforce the virtual +// key's model allowlist, same as bedrock_passthrough. The modelId comes from +// the URL path here, so the check runs before any AWS call — a denied model is +// rejected 403 without dummy credentials ever being signed/sent. +// --------------------------------------------------------------------------- + +fn bedrock_backend_config() -> BackendConfig { + BackendConfig { + kind: BackendKind::Bedrock, + provider_id: Some("bedrock".to_string()), + api_key: String::new(), + base_url: "us-east-1".to_string(), // region is stored in base_url for Bedrock + api_format: OpenAIApiFormat::Chat, + model_mapping: ModelMapping { + big_model: "anthropic.claude-3-5-sonnet-20241022-v2:0".into(), + small_model: "anthropic.claude-3-5-haiku-20241022-v1:0".into(), + }, + tls: TlsConfig::default(), + backend_auth: BackendAuth::BearerToken(String::new()), + log_bodies: false, + omit_stream_options: false, + stream_timeout_secs: 900, + // Dummy static credentials — never actually used because the denied + // model is rejected before signing. + bedrock_credentials: Some(aws_credential_types::Credentials::new( + "AKIDTEST", "secret", None, None, "test", + )), + allow_local_ssrf: true, + } +} + +async fn spawn_bedrock_proxy_with_shared_vk() -> String { + let state = shared_state(); // fires set_virtual_keys before app build + let mut backends = IndexMap::new(); + backends.insert("bedrock".to_string(), bedrock_backend_config()); + let multi = MultiConfig { + listen_port: 0, + log_bodies: false, + redact_secrets: false, + anthropic_thinking_repair: false, + pxpipe_compress: false, + forward_client_auth: false, + default_backend: "bedrock".to_string(), + backends, + expose_degradation_warnings: false, + }; + let app = routes::app_multi_with_shared(multi, Some(state), None, None, None, None); + let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); + let addr = listener.local_addr().unwrap(); + tokio::spawn(async move { axum::serve(listener, app).await.unwrap() }); + format!("http://{addr}") +} + +#[tokio::test] +async fn bedrock_native_routes_enforce_virtual_key_model_allowlist() { + let proxy_url = spawn_bedrock_proxy_with_shared_vk().await; + let raw_key = "sk-vkbedrocknativedenied"; + insert_test_virtual_key( + raw_key, + 90_010, + Some(vec!["anthropic.claude-3-5-sonnet-20241022-v2:0".to_string()]), + ); + + let client = Client::new(); + // Denied model in the URL path across all four native endpoints. + let denied = "anthropic.claude-3-opus-20240229-v1:0"; + for suffix in [ + "converse", + "converse-stream", + "invoke", + "invoke-with-response-stream", + ] { + let resp = client + .post(format!("{proxy_url}/model/{denied}/{suffix}")) + .header("x-api-key", raw_key) + .json(&json!({"messages": [{"role": "user", "content": "hi"}]})) + .send() + .await + .unwrap(); + assert_eq!(resp.status(), 403, "native {suffix} must deny scoped model"); + let body: serde_json::Value = resp.json().await.unwrap(); + assert_eq!(body["error"]["type"], "permission_error"); + } +} + // --------------------------------------------------------------------------- // RPM rate limiting (T051): create key with rpm_limit:2, 3rd request → 429 // ---------------------------------------------------------------------------