vendor: 5,063 bytes, lines 1-9
1var Bu=e=>{throw TypeError(e)};var ka=(e,t,n)=>t.has(e)||Bu("Cannot "+n);var C=(e,t,n)=>(ka(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Bu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(ka(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ee=(e,t,n)=>(ka(e,t,"access private method"),n);var Ps=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return C(e,t,r)}});function ax(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Xf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jf={exports:{}},Gi={},Zf={exports:{}},G={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var gs=Symbol.for("react.element"),lx=Symbol.for("react.portal"),cx=Symbol.for("react.fragment"),ux=Symbol.for("react.strict_mode"),dx=Symbol.for("react.profiler"),fx=Symbol.for("react.provider"),px=Symbol.for("react.context"),hx=Symbol.for("react.forward_ref"),mx=Symbol.for("react.suspense"),gx=Symbol.for("react.memo"),xx=Symbol.for("react.lazy"),Uu=Symbol.iterator;function vx(e){return e===null||typeof e!="object"?null:(e=Uu&&e[Uu]||e["@@iterator"],typeof e=="function"?e:null)}var ep={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tp=Object.assign,np={};function lo(e,t,n){this.props=e,this.context=t,this.refs=np,this.updater=n||ep}lo.prototype.isReactComponent={};lo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};lo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rp(){}rp.prototype=lo.prototype;function mc(e,t,n){this.props=e,this.context=t,this.refs=np,this.updater=n||ep}var gc=mc.prototype=new rp;gc.constructor=mc;tp(gc,lo.prototype);gc.isPureReactComponent=!0;var Vu=Array.isArray,op=Object.prototype.hasOwnProperty,xc={current:null},sp={key:!0,ref:!0,__self:!0,__source:!0};function ip(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)op.call(t,r)&&!sp.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:gs,type:e,key:s,ref:i,props:o,_owner:xc.current}}function yx(e,t){return{$$typeof:gs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vc(e){return typeof e=="object"&&e!==null&&e.$$typeof===gs}function wx(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Qu=/\/+/g;function Sa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wx(""+e.key):t.toString(36)}function ti(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case gs:case lx:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Sa(i,0):r,Vu(o)?(n="",e!=null&&(n=e.replace(Qu,"$&/")+"/"),ti(o,t,n,"",function(u){return u})):o!=null&&(vc(o)&&(o=yx(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Qu,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Vu(e))for(var l=0;l<e.length;l++){s=e[l];var c=r+Sa(s,l);i+=ti(s,t,n,c,o)}else if(c=vx(e),typeof c=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=r+Sa(s,l++),i+=ti(s,t,n,c,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}
vendor: 6,590 bytes, lines 9-25
9function _s(e,t,n){if(e==null)return e;var r=[],o=0;return ti(e,r,"","",function(s){return t.call(n,s,o++)}),r}function bx(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ze={current:null},ni={transition:null},jx={ReactCurrentDispatcher:ze,ReactCurrentBatchConfig:ni,ReactCurrentOwner:xc};function ap(){throw Error("act(...) is not supported in production builds of React.")}G.Children={map:_s,forEach:function(e,t,n){_s(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return _s(e,function(){t++}),t},toArray:function(e){return _s(e,function(t){return t})||[]},only:function(e){if(!vc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Component=lo;G.Fragment=cx;G.Profiler=dx;G.PureComponent=mc;G.StrictMode=ux;G.Suspense=mx;G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jx;G.act=ap;G.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=tp({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=xc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)op.call(t,c)&&!sp.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:gs,type:e.type,key:o,ref:s,props:r,_owner:i}};G.createContext=function(e){return e={$$typeof:px,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:fx,_context:e},e.Consumer=e};G.createElement=ip;G.createFactory=function(e){var t=ip.bind(null,e);return t.type=e,t};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:hx,render:e}};G.isValidElement=vc;G.lazy=function(e){return{$$typeof:xx,_payload:{_status:-1,_result:e},_init:bx}};G.memo=function(e,t){return{$$typeof:gx,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=ni.transition;ni.transition={};try{e()}finally{ni.transition=t}};G.unstable_act=ap;G.useCallback=function(e,t){return ze.current.useCallback(e,t)};G.useContext=function(e){return ze.current.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e){return ze.current.useDeferredValue(e)};G.useEffect=function(e,t){return ze.current.useEffect(e,t)};G.useId=function(){return ze.current.useId()};G.useImperativeHandle=function(e,t,n){return ze.current.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return ze.current.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return ze.current.useLayoutEffect(e,t)};G.useMemo=function(e,t){return ze.current.useMemo(e,t)};G.useReducer=function(e,t,n){return ze.current.useReducer(e,t,n)};G.useRef=function(e){return ze.current.useRef(e)};G.useState=function(e){return ze.current.useState(e)};G.useSyncExternalStore=function(e,t,n){return ze.current.useSyncExternalStore(e,t,n)};G.useTransition=function(){return ze.current.useTransition()};G.version="18.3.1";Zf.exports=G;var x=Zf.exports;const R=Xf(x),lp=ax({__proto__:null,default:R},[x]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Nx=x,kx=Symbol.for("react.element"),Sx=Symbol.for("react.fragment"),Cx=Object.prototype.hasOwnProperty,Ex=Nx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Px={key:!0,ref:!0,__self:!0,__source:!0};function cp(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Cx.call(t,r)&&!Px.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:kx,type:e,key:s,ref:i,props:o,_owner:Ex.current}}Gi.Fragment=Sx;Gi.jsx=cp;Gi.jsxs=cp;Jf.exports=Gi;var a=Jf.exports,up={exports:{}},nt={},dp={exports:{}},fp={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(E,P){var O=E.length;E.push(P);e:for(;0<O;){var U=O-1>>>1,F=E[U];if(0<o(F,P))E[U]=P,E[O]=F,O=U;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var P=E[0],O=E.pop();if(O!==P){E[0]=O;e:for(var U=0,F=E.length,K=F>>>1;U<K;){var q=2*(U+1)-1,ge=E[q],Ce=q+1,Z=E[Ce];if(0>o(ge,O))Ce<F&&0>o(Z,ge)?(E[U]=Z,E[Ce]=O,U=Ce):(E[U]=ge,E[q]=O,U=q);else if(Ce<F&&0>o(Z,O))E[U]=Z,E[Ce]=O,U=Ce;else break e}}return P}function o(E,P){var O=E.sortIndex-P.sortIndex;return O!==0?O:E.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var c=[],u=[],f=1,p=null,h=3,d=!1,b=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(E){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=E)r(u),P.sortIndex=P.expirationTime,t(c,P);else break;P=n(u)}}function j(E){if(y=!1,v(E),!b)if(n(c)!==null)b=!0,W(N);else{var P=n(u);P!==null&&B(j,P.startTime-E)}}function N(E,P){b=!1,y&&(y=!1,g(_),_=-1),d=!0;var O=h;try{for(v(P),p=n(c);p!==null&&(!(p.expirationTime>P)||E&&!z());){var U=p.callback;if(typeof U=="function"){p.callback=null,h=p.priorityLevel;var F=U(p.expirationTime<=P);P=e.unstable_now(),typeof F=="function"?p.callback=F:p===n(c)&&r(c),v(P)}else r(c);p=n(c)}if(p!==null)var K=!0;else{var q=n(u);q!==null&&B(j,q.startTime-P),K=!1}return K}finally{p=null,h=O,d=!1}}var k=!1,S=null,_=-1,L=5,A=-1;function z(){return!(e.unstable_now()-A<L)}function D(){if(S!==null){var E=e.unstable_now();A=E;var P=!0;try{P=S(!0,E)}finally{P?Q():(k=!1,S=null)}}else k=!1}var Q;if(typeof m=="function")Q=function(){m(D)};
vendor: 8,632 bytes, lines 25-34
25else if(typeof MessageChannel<"u"){var M=new MessageChannel,Y=M.port2;M.port1.onmessage=D,Q=function(){Y.postMessage(null)}}else Q=function(){w(D,0)};function W(E){S=E,k||(k=!0,Q())}function B(E,P){_=w(function(){E(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){b||d||(b=!0,W(N))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(E){switch(h){case 1:case 2:case 3:var P=3;break;default:P=h}var O=h;h=P;try{return E()}finally{h=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,P){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var O=h;h=E;try{return P()}finally{h=O}},e.unstable_scheduleCallback=function(E,P,O){var U=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?U+O:U):O=U,E){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=O+F,E={id:f++,callback:P,priorityLevel:E,startTime:O,expirationTime:F,sortIndex:-1},O>U?(E.sortIndex=O,t(u,E),n(c)===null&&E===n(u)&&(y?(g(_),_=-1):y=!0,B(j,O-U))):(E.sortIndex=F,t(c,E),b||d||(b=!0,W(N))),E},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(E){var P=h;return function(){var O=h;h=P;try{return E.apply(this,arguments)}finally{h=O}}}})(fp);dp.exports=fp;var _x=dp.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Tx=x,tt=_x;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var pp=new Set,Vo={};function mr(e,t){Zr(e,t),Zr(e+"Capture",t)}function Zr(e,t){for(Vo[e]=t,e=0;e<t.length;e++)pp.add(t[e])}var qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sl=Object.prototype.hasOwnProperty,Rx=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ku={},Gu={};function Ax(e){return sl.call(Gu,e)?!0:sl.call(Ku,e)?!1:Rx.test(e)?Gu[e]=!0:(Ku[e]=!0,!1)}function Lx(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mx(e,t,n,r){if(t===null||typeof t>"u"||Lx(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function We(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Se[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Se[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Se[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Se[e]=new We(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Se[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Se[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Se[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Se[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Se[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var yc=/[\-:]([a-z])/g;function wc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(yc,wc);Se[t]=new We(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(yc,wc);Se[t]=new We(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(yc,wc);Se[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Se[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Se.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Se[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function bc(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Mx(t,n,o,r)&&(n=null),r||o===null?Ax(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var nn=Tx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ts=Symbol.for("react.element"),Sr=Symbol.for("react.portal"),Cr=Symbol.for("react.fragment"),jc=Symbol.for("react.strict_mode"),il=Symbol.for("react.profiler"),hp=Symbol.for("react.provider"),mp=Symbol.for("react.context"),Nc=Symbol.for("react.forward_ref"),al=Symbol.for("react.suspense"),ll=Symbol.for("react.suspense_list"),kc=Symbol.for("react.memo"),mn=Symbol.for("react.lazy"),gp=Symbol.for("react.offscreen"),Yu=Symbol.iterator;function yo(e){return e===null||typeof e!="object"?null:(e=Yu&&e[Yu]||e["@@iterator"],typeof e=="function"?e:null)}var de=Object.assign,Ca;function To(e){if(Ca===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ca=t&&t[1]||""}return` 34`+Ca+e}var Ea=!1;function Pa(e,t){if(!e||Ea)return"";Ea=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 16,718 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 35`),s=r.stack.split(` 36`),i=o.length-1,l=s.length-1;1<=i&&0<=l&&o[i]!==s[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==s[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==s[l]){var c=` 37`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=l);break}}}finally{Ea=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?To(e):""}function Ox(e){switch(e.tag){case 5:return To(e.type);case 16:return To("Lazy");case 13:return To("Suspense");case 19:return To("SuspenseList");case 0:case 2:case 15:return e=Pa(e.type,!1),e;case 11:return e=Pa(e.type.render,!1),e;case 1:return e=Pa(e.type,!0),e;default:return""}}function cl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Cr:return"Fragment";case Sr:return"Portal";case il:return"Profiler";case jc:return"StrictMode";case al:return"Suspense";case ll:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mp:return(e.displayName||"Context")+".Consumer";case hp:return(e._context.displayName||"Context")+".Provider";case Nc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case kc:return t=e.displayName||null,t!==null?t:cl(e.type)||"Memo";case mn:t=e._payload,e=e._init;try{return cl(e(t))}catch{}}return null}function Ix(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return cl(t);case 8:return t===jc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function In(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dx(e){var t=xp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rs(e){e._valueTracker||(e._valueTracker=Dx(e))}function vp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ul(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=In(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yp(e,t){t=t.checked,t!=null&&bc(e,"checked",t,!1)}function dl(e,t){yp(e,t);var n=In(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&fl(e,t.type,In(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fl(e,t,n){(t!=="number"||xi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ro=Array.isArray;function Dr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+In(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function pl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return de({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ju(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));if(Ro(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:In(n)}}function wp(e,t){var n=In(t.value),r=In(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Zu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function bp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function hl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?bp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var As,jp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(As=As||document.createElement("div"),As.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=As.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Oo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Fx=["Webkit","ms","Moz","O"];Object.keys(Oo).forEach(function(e){Fx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oo[t]=Oo[e]})});function Np(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Oo.hasOwnProperty(e)&&Oo[e]?(""+t).trim():t+"px"}function kp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Np(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zx=de({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ml(e,t){if(t){if(zx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function gl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xl=null;function Sc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vl=null,Fr=null,zr=null;function ed(e){if(e=ys(e)){if(typeof vl!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Zi(t),vl(e.stateNode,e.type,t))}}function Sp(e){Fr?zr?zr.push(e):zr=[e]:Fr=e}function Cp(){if(Fr){var e=Fr,t=zr;if(zr=Fr=null,ed(e),t)for(e=0;e<t.length;e++)ed(t[e])}}function Ep(e,t){return e(t)}function Pp(){}var _a=!1;function _p(e,t,n){if(_a)return e(t,n);_a=!0;try{return Ep(e,t,n)}finally{_a=!1,(Fr!==null||zr!==null)&&(Pp(),Cp())}}function Ko(e,t){var n=e.stateNode;if(n===null)return null;var r=Zi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(T(231,t,typeof n));return n}var yl=!1;if(qt)try{var wo={};Object.defineProperty(wo,"passive",{get:function(){yl=!0}}),window.addEventListener("test",wo,wo),window.removeEventListener("test",wo,wo)}catch{yl=!1}function Wx(e,t,n,r,o,s,i,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var Io=!1,vi=null,yi=!1,wl=null,$x={onError:function(e){Io=!0,vi=e}};function Hx(e,t,n,r,o,s,i,l,c){Io=!1,vi=null,Wx.apply($x,arguments)}function Bx(e,t,n,r,o,s,i,l,c){if(Hx.apply(this,arguments),Io){if(Io){var u=vi;Io=!1,vi=null}else throw Error(T(198));yi||(yi=!0,wl=u)}}function gr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Tp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function td(e){if(gr(e)!==e)throw Error(T(188))}function Ux(e){var t=e.alternate;if(!t){if(t=gr(e),t===null)throw Error(T(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return td(o),e;if(s===r)return td(o),t;s=s.sibling}throw Error(T(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=s;break}if(l===r){i=!0,r=o,n=s;break}l=l.sibling}if(!i){for(l=s.child;l;){if(l===n){i=!0,n=s,r=o;break}if(l===r){i=!0,r=s,n=o;break}l=l.sibling}if(!i)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function Rp(e){return e=Ux(e),e!==null?Ap(e):null}function Ap(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ap(e);if(t!==null)return t;e=e.sibling}return null}var Lp=tt.unstable_scheduleCallback,nd=tt.unstable_cancelCallback,Vx=tt.unstable_shouldYield,Qx=tt.unstable_requestPaint,he=tt.unstable_now,Kx=tt.unstable_getCurrentPriorityLevel,Cc=tt.unstable_ImmediatePriority,Mp=tt.unstable_UserBlockingPriority,wi=tt.unstable_NormalPriority,Gx=tt.unstable_LowPriority,Op=tt.unstable_IdlePriority,Yi=null,Dt=null;function Yx(e){if(Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(Yi,e,void 0,(e.current.flags&128)===128)}catch{}}var kt=Math.clz32?Math.clz32:Jx,qx=Math.log,Xx=Math.LN2;function Jx(e){return e>>>=0,e===0?32:31-(qx(e)/Xx|0)|0}var Ls=64,Ms=4194304;function Ao(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function bi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=Ao(l):(s&=i,s!==0&&(r=Ao(s)))}else i=n&~o,i!==0?r=Ao(i):s!==0&&(r=Ao(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-kt(t),o=1<<n,r|=e[n],t&=~o;return r}function Zx(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ev(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-kt(s),l=1<<i,c=o[i];c===-1?(!(l&n)||l&r)&&(o[i]=Zx(l,t)):c<=t&&(e.expiredLanes|=l),s&=~l}}function bl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ip(){var e=Ls;return Ls<<=1,!(Ls&4194240)&&(Ls=64),e}function Ta(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function xs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-kt(t),e[t]=n}function tv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-kt(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Ec(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-kt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function Dp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Fp,Pc,zp,Wp,$p,jl=!1,Os=[],En=null,Pn=null,_n=null,Go=new Map,Yo=new Map,xn=[],nv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rd(e,t){switch(e){case"focusin":case"focusout":En=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":Go.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yo.delete(t.pointerId)}}function bo(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=ys(t),t!==null&&Pc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function rv(e,t,n,r,o){switch(t){case"focusin":return En=bo(En,e,t,n,r,o),!0;case"dragenter":return Pn=bo(Pn,e,t,n,r,o),!0;case"mouseover":return _n=bo(_n,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return Go.set(s,bo(Go.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,Yo.set(s,bo(Yo.get(s)||null,e,t,n,r,o)),!0}return!1}function Hp(e){var t=Jn(e.target);if(t!==null){var n=gr(t);if(n!==null){if(t=n.tag,t===13){if(t=Tp(n),t!==null){e.blockedOn=t,$p(e.priority,function(){zp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ri(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);xl=r,n.target.dispatchEvent(r),xl=null}else return t=ys(n),t!==null&&Pc(t),e.blockedOn=n,!1;t.shift()}return!0}function od(e,t,n){ri(e)&&n.delete(t)}function ov(){jl=!1,En!==null&&ri(En)&&(En=null),Pn!==null&&ri(Pn)&&(Pn=null),_n!==null&&ri(_n)&&
vendor: 11,860 bytes, line 37
37(_n=null),Go.forEach(od),Yo.forEach(od)}function jo(e,t){e.blockedOn===t&&(e.blockedOn=null,jl||(jl=!0,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,ov)))}function qo(e){function t(o){return jo(o,e)}if(0<Os.length){jo(Os[0],e);for(var n=1;n<Os.length;n++){var r=Os[n];r.blockedOn===e&&(r.blockedOn=null)}}for(En!==null&&jo(En,e),Pn!==null&&jo(Pn,e),_n!==null&&jo(_n,e),Go.forEach(t),Yo.forEach(t),n=0;n<xn.length;n++)r=xn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<xn.length&&(n=xn[0],n.blockedOn===null);)Hp(n),n.blockedOn===null&&xn.shift()}var Wr=nn.ReactCurrentBatchConfig,ji=!0;function sv(e,t,n,r){var o=te,s=Wr.transition;Wr.transition=null;try{te=1,_c(e,t,n,r)}finally{te=o,Wr.transition=s}}function iv(e,t,n,r){var o=te,s=Wr.transition;Wr.transition=null;try{te=4,_c(e,t,n,r)}finally{te=o,Wr.transition=s}}function _c(e,t,n,r){if(ji){var o=Nl(e,t,n,r);if(o===null)Wa(e,t,r,Ni,n),rd(e,r);else if(rv(o,e,t,n,r))r.stopPropagation();else if(rd(e,r),t&4&&-1<nv.indexOf(e)){for(;o!==null;){var s=ys(o);if(s!==null&&Fp(s),s=Nl(e,t,n,r),s===null&&Wa(e,t,r,Ni,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Wa(e,t,r,null,n)}}var Ni=null;function Nl(e,t,n,r){if(Ni=null,e=Sc(r),e=Jn(e),e!==null)if(t=gr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Tp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ni=e,null}function Bp(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Kx()){case Cc:return 1;case Mp:return 4;case wi:case Gx:return 16;case Op:return 536870912;default:return 16}default:return 16}}var kn=null,Tc=null,oi=null;function Up(){if(oi)return oi;var e,t=Tc,n=t.length,r,o="value"in kn?kn.value:kn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return oi=o.slice(e,1<r?1-r:void 0)}function si(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Is(){return!0}function sd(){return!1}function rt(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Is:sd,this.isPropagationStopped=sd,this}return de(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Is)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Is)},persist:function(){},isPersistent:Is}),t}var co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rc=rt(co),vs=de({},co,{view:0,detail:0}),av=rt(vs),Ra,Aa,No,qi=de({},vs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ac,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==No&&(No&&e.type==="mousemove"?(Ra=e.screenX-No.screenX,Aa=e.screenY-No.screenY):Aa=Ra=0,No=e),Ra)},movementY:function(e){return"movementY"in e?e.movementY:Aa}}),id=rt(qi),lv=de({},qi,{dataTransfer:0}),cv=rt(lv),uv=de({},vs,{relatedTarget:0}),La=rt(uv),dv=de({},co,{animationName:0,elapsedTime:0,pseudoElement:0}),fv=rt(dv),pv=de({},co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hv=rt(pv),mv=de({},co,{data:0}),ad=rt(mv),gv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},vv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vv[e])?!!t[e]:!1}function Ac(){return yv}var wv=de({},vs,{key:function(e){if(e.key){var t=gv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=si(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ac,charCode:function(e){return e.type==="keypress"?si(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?si(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),bv=rt(wv),jv=de({},qi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ld=rt(jv),Nv=de({},vs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ac}),kv=rt(Nv),Sv=de({},co,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cv=rt(Sv),Ev=de({},qi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pv=rt(Ev),_v=[9,13,27,32],Lc=qt&&"CompositionEvent"in window,Do=null;qt&&"documentMode"in document&&(Do=document.documentMode);var Tv=qt&&"TextEvent"in window&&!Do,Vp=qt&&(!Lc||Do&&8<Do&&11>=Do),cd=" ",ud=!1;function Qp(e,t){switch(e){case"keyup":return _v.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Er=!1;function Rv(e,t){switch(e){case"compositionend":return Kp(t);case"keypress":return t.which!==32?null:(ud=!0,cd);case"textInput":return e=t.data,e===cd&&ud?null:e;default:return null}}function Av(e,t){if(Er)return e==="compositionend"||!Lc&&Qp(e,t)?(e=Up(),oi=Tc=kn=null,Er=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vp&&t.locale!=="ko"?null:t.data;default:return null}}var Lv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function dd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Lv[e.type]:t==="textarea"}function Gp(e,t,n,r){Sp(r),t=ki(t,"onChange"),0<t.length&&(n=new Rc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fo=null,Xo=null;function Mv(e){sh(e,0)}function Xi(e){var t=Tr(e);if(vp(t))return e}function Ov(e,t){if(e==="change")return t}var Yp=!1;if(qt){var Ma;if(qt){var Oa="oninput"in document;if(!Oa){var fd=document.createElement("div");fd.setAttribute("oninput","return;"),Oa=typeof fd.oninput=="function"}Ma=Oa}else Ma=!1;Yp=Ma&&(!document.documentMode||9<document.documentMode)}function pd(){Fo&&(Fo.detachEvent("onpropertychange",qp),Xo=Fo=null)}function qp(e){if(e.propertyName==="value"&&Xi(Xo)){var t=[];Gp(t,Xo,e,Sc(e)),_p(Mv,t)}}function Iv(e,t,n){e==="focusin"?(pd(),Fo=t,Xo=n,Fo.attachEvent("onpropertychange",qp)):e==="focusout"&&pd()}function Dv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xi(Xo)}function Fv(e,t){if(e==="click")return Xi(t)}function zv(e,t){if(e==="input"||e==="change")return Xi(t)}function Wv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ct=typeof Object.is=="function"?Object.is:Wv;function Jo(e,t){if(Ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!sl.call(t,o)||!Ct(e[o],t[o]))return!1}return!0}function hd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function md(e,t){var n=hd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hd(n)}}function Xp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jp(){for(var e=window,t=xi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xi(e.document)}return t}function Mc(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")}function $v(e){var t=Jp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xp(n.ownerDocument.documentElement,n)){if(r!==null&&Mc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=md(n,s);var i=md(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hv=qt&&"documentMode"in document&&11>=document.documentMode,Pr=null,kl=null,zo=null,Sl=!1;function gd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sl||Pr==null||Pr!==xi(r)||(r=Pr,"selectionStart"in r&&Mc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),zo&&Jo(zo,r)||(zo=r,r=ki(kl,"onSelect"),0<r.length&&(t=new Rc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pr)))}function Ds(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:Ds("Animation","AnimationEnd"),animationiteration:Ds("Animation","AnimationIteration"),animationstart:Ds("Animation","AnimationStart"),transitionend:Ds("Transition","TransitionEnd")},Ia={},Zp={};qt&&(Zp=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);function Ji(e){if(Ia[e])return Ia[e];if(!_r[e])return e;var t=_r[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Zp)return Ia[e]=t[n];return e}var eh=Ji("animationend"),th=Ji("animationiteration"),nh=Ji("animationstart"),rh=Ji("transitionend"),oh=new Map,xd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Hn(e,t){oh.set(e,t),mr(t,[e])}for(var Da=0;Da<xd.length;Da++){var Fa=xd[Da],Bv=Fa.toLowerCase(),Uv=Fa[0].toUpperCase()+Fa.slice(1);Hn(Bv,"on"+Uv)}Hn(eh,"onAnimationEnd");Hn(th,"onAnimationIteration");Hn(nh,"onAnimationStart");Hn("dblclick","onDoubleClick");Hn("focusin","onFocus");Hn("focusout","onBlur");Hn(rh,"onTransitionEnd");Zr("onMouseEnter",["mouseout","mouseover"]);Zr("onMouseLeave",["mouseout","mouseover"]);Zr("onPointerEnter",["pointerout","pointerover"]);Zr("onPointerLeave",["pointerout","pointerover"]);mr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));mr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));mr("onBeforeInput",["compositionend","keypress","textInput","paste"]);mr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));mr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));mr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Vv=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lo));function vd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Bx(r,t,void 0,e),e.currentTarget=null}function sh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==s&&o.isPropagationStopped())break e;vd(o,l,u),s=c}else for(i=0;i<r.length;i++){if(l=r[i],c=l.instance,u=l.currentTarget,l=l.listener,c!==s&&o.isPropagationStopped())break e;vd(o,l,u),s=c}}}if(yi)throw e=wl,yi=!1,wl=null,e}function se(e,t){var n=t[Tl];n===void 0&&(n=t[Tl]=new Set);var r=e+"__bubble";n.has(r)||(ih(t,e,2,!1),n.add(r))}function za(e,t,n){var r=0;t&&(r|=4),ih(n,e,r,t)}var Fs="_reactListening"+Math.random().toString(36).slice(2);function Zo(e){if(!e[Fs]){e[Fs]=!0,pp.forEach(function(n){n!=="selectionchange"&&(Vv.has(n)||za(n,!1,e),za(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Fs]||(t[Fs]=!0,za("selectionchange",!1,t))}}function ih(e,t,n,r){switch(Bp(t)){case 1:var o=sv;break;case 4:o=iv;break;default:o=_c}n=o.bind(null,t,n,e),o=void 0,!yl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wa(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;
vendor: 3,951 bytes, line 37
37if(l===o||l.nodeType===8&&l.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;l!==null;){if(i=Jn(l),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue e}l=l.parentNode}}r=r.return}_p(function(){var u=s,f=Sc(n),p=[];e:{var h=oh.get(e);if(h!==void 0){var d=Rc,b=e;switch(e){case"keypress":if(si(n)===0)break e;case"keydown":case"keyup":d=bv;break;case"focusin":b="focus",d=La;break;case"focusout":b="blur",d=La;break;case"beforeblur":case"afterblur":d=La;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=id;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=cv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=kv;break;case eh:case th:case nh:d=fv;break;case rh:d=Cv;break;case"scroll":d=av;break;case"wheel":d=Pv;break;case"copy":case"cut":case"paste":d=hv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=ld}var y=(t&4)!==0,w=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var j=v.stateNode;if(v.tag===5&&j!==null&&(v=j,g!==null&&(j=Ko(m,g),j!=null&&y.push(es(m,j,v)))),w)break;m=m.return}0<y.length&&(h=new d(h,b,null,n,f),p.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",h&&n!==xl&&(b=n.relatedTarget||n.fromElement)&&(Jn(b)||b[Xt]))break e;if((d||h)&&(h=f.window===f?f:(h=f.ownerDocument)?h.defaultView||h.parentWindow:window,d?(b=n.relatedTarget||n.toElement,d=u,b=b?Jn(b):null,b!==null&&(w=gr(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(d=null,b=u),d!==b)){if(y=id,j="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=ld,j="onPointerLeave",g="onPointerEnter",m="pointer"),w=d==null?h:Tr(d),v=b==null?h:Tr(b),h=new y(j,m+"leave",d,n,f),h.target=w,h.relatedTarget=v,j=null,Jn(f)===u&&(y=new y(g,m+"enter",b,n,f),y.target=v,y.relatedTarget=w,j=y),w=j,d&&b)t:{for(y=d,g=b,m=0,v=y;v;v=kr(v))m++;for(v=0,j=g;j;j=kr(j))v++;for(;0<m-v;)y=kr(y),m--;for(;0<v-m;)g=kr(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=kr(y),g=kr(g)}y=null}else y=null;d!==null&&yd(p,h,d,y,!1),b!==null&&w!==null&&yd(p,w,b,y,!0)}}e:{if(h=u?Tr(u):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var N=Ov;else if(dd(h))if(Yp)N=zv;else{N=Dv;var k=Iv}else(d=h.nodeName)&&d.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(N=Fv);if(N&&(N=N(e,u))){Gp(p,N,n,f);break e}k&&k(e,h,u),e==="focusout"&&(k=h._wrapperState)&&k.controlled&&h.type==="number"&&fl(h,"number",h.value)}switch(k=u?Tr(u):window,e){case"focusin":(dd(k)||k.contentEditable==="true")&&(Pr=k,kl=u,zo=null);break;case"focusout":zo=kl=Pr=null;break;case"mousedown":Sl=!0;break;case"contextmenu":case"mouseup":case"dragend":Sl=!1,gd(p,n,f);break;case"selectionchange":if(Hv)break;case"keydown":case"keyup":gd(p,n,f)}var S;if(Lc)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Er?Qp(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Vp&&n.locale!=="ko"&&(Er||_!=="onCompositionStart"?_==="onCompositionEnd"&&Er&&(S=Up()):(kn=f,Tc="value"in kn?kn.value:kn.textContent,Er=!0)),k=ki(u,_),0<k.length&&(_=new ad(_,e,null,n,f),p.push({event:_,listeners:k}),S?_.data=S:(S=Kp(n),S!==null&&(_.data=S)))),(S=Tv?Rv(e,n):Av(e,n))&&(u=ki(u,"onBeforeInput"),0<u.length&&(f=new ad("onBeforeInput","beforeinput",null,n,f),p.push({event:f,listeners:u}),f.data=S))}sh(p,t)})}
vendor: 4,257 bytes, lines 37-38
37function es(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ki(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=Ko(e,n),s!=null&&r.unshift(es(e,s,o)),s=Ko(e,t),s!=null&&r.push(es(e,s,o))),e=e.return}return r}function kr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function yd(e,t,n,r,o){for(var s=t._reactName,i=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,o?(c=Ko(n,s),c!=null&&i.unshift(es(n,c,l))):o||(c=Ko(n,s),c!=null&&i.push(es(n,c,l)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Qv=/\r\n?/g,Kv=/\u0000|\uFFFD/g;function wd(e){return(typeof e=="string"?e:""+e).replace(Qv,` 38`).replace(Kv,"")}function zs(e,t,n){if(t=wd(t),wd(e)!==t&&n)throw Error(T(425))}function Si(){}var Cl=null,El=null;function Pl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _l=typeof setTimeout=="function"?setTimeout:void 0,Gv=typeof clearTimeout=="function"?clearTimeout:void 0,bd=typeof Promise=="function"?Promise:void 0,Yv=typeof queueMicrotask=="function"?queueMicrotask:typeof bd<"u"?function(e){return bd.resolve(null).then(e).catch(qv)}:_l;function qv(e){setTimeout(function(){throw e})}function $a(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),qo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);qo(t)}function Tn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function jd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var uo=Math.random().toString(36).slice(2),Ot="__reactFiber$"+uo,ts="__reactProps$"+uo,Xt="__reactContainer$"+uo,Tl="__reactEvents$"+uo,Xv="__reactListeners$"+uo,Jv="__reactHandles$"+uo;function Jn(e){var t=e[Ot];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xt]||n[Ot]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=jd(e);e!==null;){if(n=e[Ot])return n;e=jd(e)}return t}e=n,n=e.parentNode}return null}function ys(e){return e=e[Ot]||e[Xt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Zi(e){return e[ts]||null}var Rl=[],Rr=-1;function Bn(e){return{current:e}}function ie(e){0>Rr||(e.current=Rl[Rr],Rl[Rr]=null,Rr--)}function re(e,t){Rr++,Rl[Rr]=e.current,e.current=t}var Dn={},Ae=Bn(Dn),Ve=Bn(!1),cr=Dn;function eo(e,t){var n=e.type.contextTypes;if(!n)return Dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Qe(e){return e=e.childContextTypes,e!=null}function Ci(){ie(Ve),ie(Ae)}function Nd(e,t,n){if(Ae.current!==Dn)throw Error(T(168));re(Ae,t),re(Ve,n)}function ah(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,Ix(e)||"Unknown",o));return de({},n,r)}function Ei(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dn,cr=Ae.current,re(Ae,e),re(Ve,Ve.current),!0}function kd(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=ah(e,t,cr),r.__reactInternalMemoizedMergedChildContext=e,ie(Ve),ie(Ae),re(Ae,e)):ie(Ve),re(Ve,n)}var Vt=null,ea=!1,Ha=!1;function lh(e){Vt===null?Vt=[e]:Vt.push(e)}function Zv(e){ea=!0,lh(e)}function Un(){if(!Ha&&Vt!==null){Ha=!0;var e=0,t=te;try{var n=Vt;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Vt=null,ea=!1}catch(o){throw Vt!==null&&(Vt=Vt.slice(e+1)),Lp(Cc,Un),o}finally{te=t,Ha=!1}}return null}var Ar=[],Lr=0,Pi=null,_i=0,it=[],at=0,ur=null,Kt=1,Gt="";function qn(e,t){Ar[Lr++]=_i,Ar[Lr++]=Pi,Pi=e,_i=t}
vendor: 5,984 bytes, line 38
38function ch(e,t,n){it[at++]=Kt,it[at++]=Gt,it[at++]=ur,ur=e;var r=Kt;e=Gt;var o=32-kt(r)-1;r&=~(1<<o),n+=1;var s=32-kt(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Kt=1<<32-kt(t)+o|n<<o|r,Gt=s+e}else Kt=1<<s|n<<o|r,Gt=e}function Oc(e){e.return!==null&&(qn(e,1),ch(e,1,0))}function Ic(e){for(;e===Pi;)Pi=Ar[--Lr],Ar[Lr]=null,_i=Ar[--Lr],Ar[Lr]=null;for(;e===ur;)ur=it[--at],it[at]=null,Gt=it[--at],it[at]=null,Kt=it[--at],it[at]=null}var Ze=null,Je=null,le=!1,Nt=null;function uh(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Sd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ze=e,Je=Tn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ze=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ur!==null?{id:Kt,overflow:Gt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ze=e,Je=null,!0):!1;default:return!1}}function Al(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ll(e){if(le){var t=Je;if(t){var n=t;if(!Sd(e,t)){if(Al(e))throw Error(T(418));t=Tn(n.nextSibling);var r=Ze;t&&Sd(e,t)?uh(r,n):(e.flags=e.flags&-4097|2,le=!1,Ze=e)}}else{if(Al(e))throw Error(T(418));e.flags=e.flags&-4097|2,le=!1,Ze=e}}}function Cd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ze=e}function Ws(e){if(e!==Ze)return!1;if(!le)return Cd(e),le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Pl(e.type,e.memoizedProps)),t&&(t=Je)){if(Al(e))throw dh(),Error(T(418));for(;t;)uh(e,t),t=Tn(t.nextSibling)}if(Cd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=Tn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=Ze?Tn(e.stateNode.nextSibling):null;return!0}function dh(){for(var e=Je;e;)e=Tn(e.nextSibling)}function to(){Je=Ze=null,le=!1}function Dc(e){Nt===null?Nt=[e]:Nt.push(e)}var e0=nn.ReactCurrentBatchConfig;function ko(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var l=o.refs;i===null?delete l[s]:l[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function $s(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ed(e){var t=e._init;return t(e._payload)}function fh(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function o(g,m){return g=Mn(g,m),g.index=0,g.sibling=null,g}function s(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,m,v,j){return m===null||m.tag!==6?(m=Ya(v,g.mode,j),m.return=g,m):(m=o(m,v),m.return=g,m)}function c(g,m,v,j){var N=v.type;return N===Cr?f(g,m,v.props.children,j,v.key):m!==null&&(m.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===mn&&Ed(N)===m.type)?(j=o(m,v.props),j.ref=ko(g,m,v),j.return=g,j):(j=fi(v.type,v.key,v.props,null,g.mode,j),j.ref=ko(g,m,v),j.return=g,j)}function u(g,m,v,j){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=qa(v,g.mode,j),m.return=g,m):(m=o(m,v.children||[]),m.return=g,m)}function f(g,m,v,j,N){return m===null||m.tag!==7?(m=lr(v,g.mode,j,N),m.return=g,m):(m=o(m,v),m.return=g,m)}function p(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ya(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ts:return v=fi(m.type,m.key,m.props,null,g.mode,v),v.ref=ko(g,null,m),v.return=g,v;case Sr:return m=qa(m,g.mode,v),m.return=g,m;case mn:var j=m._init;return p(g,j(m._payload),v)}if(Ro(m)||yo(m))return m=lr(m,g.mode,v,null),m.return=g,m;$s(g,m)}return null}function h(g,m,v,j){var N=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return N!==null?null:l(g,m,""+v,j);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ts:return v.key===N?c(g,m,v,j):null;case Sr:return v.key===N?u(g,m,v,j):null;case mn:return N=v._init,h(g,m,N(v._payload),j)}if(Ro(v)||yo(v))return N!==null?null:f(g,m,v,j,null);$s(g,v)}return null}function d(g,m,v,j,N){if(typeof j=="string"&&j!==""||typeof j=="number")return g=g.get(v)||null,l(m,g,""+j,N);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Ts:return g=g.get(j.key===null?v:j.key)||null,c(m,g,j,N);case Sr:return g=g.get(j.key===null?v:j.key)||null,u(m,g,j,N);case mn:var k=j._init;return d(g,m,v,k(j._payload),N)}if(Ro(j)||yo(j))return g=g.get(v)||null,f(m,g,j,N,null);$s(m,j)}return null}function b(g,m,v,j){for(var N=null,k=null,S=m,_=m=0,L=null;S!==null&&_<v.length;_++){S.index>_?(L=S,S=null):L=S.sibling;var A=h(g,S,v[_],j);if(A===null){S===null&&(S=L);break}e&&S&&A.alternate===null&&t(g,S),m=s(A,m,_),k===null?N=A:k.sibling=A,k=A,S=L}if(_===v.length)return n(g,S),le&&qn(g,_),N;if(S===null){for(;_<v.length;_++)S=p(g,v[_],j),S!==null&&(m=s(S,m,_),k===null?N=S:k.sibling=S,k=S);return le&&qn(g,_),N}for(S=r(g,S);_<v.length;_++)L=d(S,g,_,v[_],j),L!==null&&(e&&L.alternate!==null&&S.delete(L.key===null?_:L.key),m=s(L,m,_),k===null?N=L:k.sibling=L,k=L);
vendor: 1,476 bytes, line 38
38return e&&S.forEach(function(z){return t(g,z)}),le&&qn(g,_),N}function y(g,m,v,j){var N=yo(v);if(typeof N!="function")throw Error(T(150));if(v=N.call(v),v==null)throw Error(T(151));for(var k=N=null,S=m,_=m=0,L=null,A=v.next();S!==null&&!A.done;_++,A=v.next()){S.index>_?(L=S,S=null):L=S.sibling;var z=h(g,S,A.value,j);if(z===null){S===null&&(S=L);break}e&&S&&z.alternate===null&&t(g,S),m=s(z,m,_),k===null?N=z:k.sibling=z,k=z,S=L}if(A.done)return n(g,S),le&&qn(g,_),N;if(S===null){for(;!A.done;_++,A=v.next())A=p(g,A.value,j),A!==null&&(m=s(A,m,_),k===null?N=A:k.sibling=A,k=A);return le&&qn(g,_),N}for(S=r(g,S);!A.done;_++,A=v.next())A=d(S,g,_,A.value,j),A!==null&&(e&&A.alternate!==null&&S.delete(A.key===null?_:A.key),m=s(A,m,_),k===null?N=A:k.sibling=A,k=A);return e&&S.forEach(function(D){return t(g,D)}),le&&qn(g,_),N}function w(g,m,v,j){if(typeof v=="object"&&v!==null&&v.type===Cr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ts:e:{for(var N=v.key,k=m;k!==null;){if(k.key===N){if(N=v.type,N===Cr){if(k.tag===7){n(g,k.sibling),m=o(k,v.props.children),m.return=g,g=m;break e}}else if(k.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===mn&&Ed(N)===k.type){n(g,k.sibling),m=o(k,v.props),m.ref=ko(g,k,v),m.return=g,g=m;break e}n(g,k);break}else t(g,k);k=k.sibling}v.type===Cr?(m=lr(v.props.children,g.mode,j,v.key),m.return=g,g=m):(j=fi(v.type,v.key,v.props,null,g.mode,j),j.ref=ko(g,m,v),j.return=g,g=j)}return i(g);
vendor: 17,835 bytes, lines 38-40
38case Sr:e:{for(k=v.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=o(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=qa(v,g.mode,j),m.return=g,g=m}return i(g);case mn:return k=v._init,w(g,m,k(v._payload),j)}if(Ro(v))return b(g,m,v,j);if(yo(v))return y(g,m,v,j);$s(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,v),m.return=g,g=m):(n(g,m),m=Ya(v,g.mode,j),m.return=g,g=m),i(g)):n(g,m)}return w}var no=fh(!0),ph=fh(!1),Ti=Bn(null),Ri=null,Mr=null,Fc=null;function zc(){Fc=Mr=Ri=null}function Wc(e){var t=Ti.current;ie(Ti),e._currentValue=t}function Ml(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $r(e,t){Ri=e,Fc=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ue=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(Fc!==e)if(e={context:e,memoizedValue:t,next:null},Mr===null){if(Ri===null)throw Error(T(308));Mr=e,Ri.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return t}var Zn=null;function $c(e){Zn===null?Zn=[e]:Zn.push(e)}function hh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,$c(t)):(n.next=o.next,o.next=n),t.interleaved=n,Jt(e,r)}function Jt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var gn=!1;function Hc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function mh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Yt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Jt(e,n)}return o=r.interleaved,o===null?(t.next=t,$c(r)):(t.next=o.next,o.next=t),r.interleaved=t,Jt(e,n)}function ii(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ec(e,n)}}function Pd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ai(e,t,n,r){var o=e.updateQueue;gn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,i===null?s=u:i.next=u,i=c;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==i&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=c))}if(s!==null){var p=o.baseState;i=0,f=u=c=null,l=s;do{var h=l.lane,d=l.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:d,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,y=l;switch(h=t,d=n,y.tag){case 1:if(b=y.payload,typeof b=="function"){p=b.call(d,p,h);break e}p=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=y.payload,h=typeof b=="function"?b.call(d,p,h):b,h==null)break e;p=de({},p,h);break e;case 2:gn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[l]:h.push(l))}else d={eventTime:d,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=d,c=p):f=f.next=d,i|=h;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;h=l,l=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(f===null&&(c=p),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);fr|=i,e.lanes=i,e.memoizedState=p}}function _d(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(T(191,o));o.call(r)}}}var ws={},Ft=Bn(ws),ns=Bn(ws),rs=Bn(ws);function er(e){if(e===ws)throw Error(T(174));return e}function Bc(e,t){switch(re(rs,t),re(ns,e),re(Ft,ws),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=hl(t,e)}ie(Ft),re(Ft,t)}function ro(){ie(Ft),ie(ns),ie(rs)}function gh(e){er(rs.current);var t=er(Ft.current),n=hl(t,e.type);t!==n&&(re(ns,e),re(Ft,n))}function Uc(e){ns.current===e&&(ie(Ft),ie(ns))}var ce=Bn(0);function Li(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ba=[];function Vc(){for(var e=0;e<Ba.length;e++)Ba[e]._workInProgressVersionPrimary=null;Ba.length=0}var ai=nn.ReactCurrentDispatcher,Ua=nn.ReactCurrentBatchConfig,dr=0,ue=null,ve=null,be=null,Mi=!1,Wo=!1,os=0,t0=0;function Pe(){throw Error(T(321))}function Qc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ct(e[n],t[n]))return!1;return!0}function Kc(e,t,n,r,o,s){if(dr=s,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=e===null||e.memoizedState===null?s0:i0,e=n(r,o),Wo){s=0;do{if(Wo=!1,os=0,25<=s)throw Error(T(301));s+=1,be=ve=null,t.updateQueue=null,ai.current=a0,e=n(r,o)}while(Wo)}if(ai.current=Oi,t=ve!==null&&ve.next!==null,dr=0,be=ve=ue=null,Mi=!1,t)throw Error(T(300));return e}function Gc(){var e=os!==0;return os=0,e}function Rt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return be===null?ue.memoizedState=be=e:be=be.next=e,be}function dt(){if(ve===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=be===null?ue.memoizedState:be.next;if(t!==null)be=t,ve=e;else{if(e===null)throw Error(T(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},be===null?ue.memoizedState=be=e:be=be.next=e}return be}function ss(e,t){return typeof t=="function"?t(e):t}function Va(e){var t=dt(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=ve,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var l=i=null,c=null,u=s;do{var f=u.lane;if((dr&f)===f)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=p,i=r):c=c.next=p,ue.lanes|=f,fr|=f}u=u.next}while(u!==null&&u!==s);c===null?i=r:c.next=l,Ct(r,t.memoizedState)||(Ue=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,ue.lanes|=s,fr|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Qa(e){var t=dt(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Ct(s,t.memoizedState)||(Ue=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function xh(){}function vh(e,t){var n=ue,r=dt(),o=t(),s=!Ct(r.memoizedState,o);if(s&&(r.memoizedState=o,Ue=!0),r=r.queue,Yc(bh.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||be!==null&&be.memoizedState.tag&1){if(n.flags|=2048,is(9,wh.bind(null,n,r,o,t),void 0,null),je===null)throw Error(T(349));dr&30||yh(n,t,o)}return o}function yh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function wh(e,t,n,r){t.value=n,t.getSnapshot=r,jh(t)&&Nh(e)}function bh(e,t,n){return n(function(){jh(t)&&Nh(e)})}function jh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ct(e,n)}catch{return!0}}function Nh(e){var t=Jt(e,1);t!==null&&St(t,e,1,-1)}function Td(e){var t=Rt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ss,lastRenderedState:e},t.queue=e,e=e.dispatch=o0.bind(null,ue,e),[t.memoizedState,e]}function is(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function kh(){return dt().memoizedState}function li(e,t,n,r){var o=Rt();ue.flags|=e,o.memoizedState=is(1|t,n,void 0,r===void 0?null:r)}function ta(e,t,n,r){var o=dt();r=r===void 0?null:r;var s=void 0;if(ve!==null){var i=ve.memoizedState;if(s=i.destroy,r!==null&&Qc(r,i.deps)){o.memoizedState=is(t,n,s,r);return}}ue.flags|=e,o.memoizedState=is(1|t,n,s,r)}function Rd(e,t){return li(8390656,8,e,t)}function Yc(e,t){return ta(2048,8,e,t)}function Sh(e,t){return ta(4,2,e,t)}function Ch(e,t){return ta(4,4,e,t)}function Eh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ph(e,t,n){return n=n!=null?n.concat([e]):null,ta(4,4,Eh.bind(null,t,e),n)}function qc(){}function _h(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Th(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Rh(e,t,n){return dr&21?(Ct(n,t)||(n=Ip(),ue.lanes|=n,fr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ue=!0),e.memoizedState=n)}function n0(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Ua.transition;Ua.transition={};try{e(!1),t()}finally{te=n,Ua.transition=r}}function Ah(){return dt().memoizedState}function r0(e,t,n){var r=Ln(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lh(e))Mh(t,n);else if(n=hh(e,t,n,r),n!==null){var o=Fe();St(n,e,r,o),Oh(n,t,r)}}function o0(e,t,n){var r=Ln(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lh(e))Mh(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,Ct(l,i)){var c=t.interleaved;c===null?(o.next=o,$c(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=hh(e,t,o,r),n!==null&&(o=Fe(),St(n,e,r,o),Oh(n,t,r))}}function Lh(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Mh(e,t){Wo=Mi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Oh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ec(e,n)}}var Oi={readContext:ut,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},s0={readContext:ut,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:Rd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,li(4194308,4,Eh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return li(4194308,4,e,t)},useInsertionEffect:function(e,t){return li(4,2,e,t)},useMemo:function(e,t){var n=Rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=r0.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:Td,useDebugValue:qc,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=Td(!1),t=e[0];return e=n0.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=Rt();if(le){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),je===null)throw Error(T(349));dr&30||yh(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Rd(bh.bind(null,r,s,e),[e]),r.flags|=2048,is(9,wh.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Rt(),t=je.identifierPrefix;if(le){var n=Gt,r=Kt;n=(r&~(1<<32-kt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=os++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=t0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},i0={readContext:ut,useCallback:_h,useContext:ut,useEffect:Yc,useImperativeHandle:Ph,useInsertionEffect:Sh,useLayoutEffect:Ch,useMemo:Th,useReducer:Va,useRef:kh,useState:function(){return Va(ss)},useDebugValue:qc,useDeferredValue:function(e){var t=dt();return Rh(t,ve.memoizedState,e)},useTransition:function(){var e=Va(ss)[0],t=dt().memoizedState;return[e,t]},useMutableSource:xh,useSyncExternalStore:vh,useId:Ah,unstable_isNewReconciler:!1},a0={readContext:ut,useCallback:_h,useContext:ut,useEffect:Yc,useImperativeHandle:Ph,useInsertionEffect:Sh,useLayoutEffect:Ch,useMemo:Th,useReducer:Qa,useRef:kh,useState:function(){return Qa(ss)},useDebugValue:qc,useDeferredValue:function(e){var t=dt();return ve===null?t.memoizedState=e:Rh(t,ve.memoizedState,e)},useTransition:function(){var e=Qa(ss)[0],t=dt().memoizedState;return[e,t]},useMutableSource:xh,useSyncExternalStore:vh,useId:Ah,unstable_isNewReconciler:!1};function vt(e,t){if(e&&e.defaultProps){t=de({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ol(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:de({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var na={isMounted:function(e){return(e=e._reactInternals)?gr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Fe(),o=Ln(e),s=Yt(r,o);s.payload=t,n!=null&&(s.callback=n),t=Rn(e,s,o),t!==null&&(St(t,e,o,r),ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Fe(),o=Ln(e),s=Yt(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Rn(e,s,o),t!==null&&(St(t,e,o,r),ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Fe(),r=Ln(e),o=Yt(n,r);o.tag=2,t!=null&&(o.callback=t),t=Rn(e,o,r),t!==null&&(St(t,e,r,n),ii(t,e,r))}};function Ad(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!Jo(n,r)||!Jo(o,s):!0}function Ih(e,t,n){var r=!1,o=Dn,s=t.contextType;return typeof s=="object"&&s!==null?s=ut(s):(o=Qe(t)?cr:Ae.current,r=t.contextTypes,s=(r=r!=null)?eo(e,o):Dn),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=na,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Ld(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&na.enqueueReplaceState(t,t.state,null)}function Il(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Hc(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=ut(s):(s=Qe(t)?cr:Ae.current,o.context=eo(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Ol(e,t,s,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&na.enqueueReplaceState(o,o.state,null),Ai(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function oo(e,t){try{var n="",r=t;do n+=Ox(r),r=r.return;while(r);var o=n}catch(s){o=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function Ka(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Dl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var l0=typeof WeakMap=="function"?WeakMap:Map;function Dh(e,t,n){n=Yt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Di||(Di=!0,Kl=r),Dl(e,t)},n}function Fh(e,t,n){n=Yt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Dl(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Dl(e,t),typeof r!="function"&&(An===null?An=new Set([this]):An.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}
vendor: 11,131 bytes, line 40
40function Md(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new l0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=j0.bind(null,e,t,n),t.then(e,e))}function Od(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Id(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Yt(-1,1),t.tag=2,Rn(n,t,1))),n.lanes|=1),e)}var c0=nn.ReactCurrentOwner,Ue=!1;function Ie(e,t,n,r){t.child=e===null?ph(t,null,n,r):no(t,e.child,n,r)}function Dd(e,t,n,r,o){n=n.render;var s=t.ref;return $r(t,o),r=Kc(e,t,n,r,s,o),n=Gc(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(le&&n&&Oc(t),t.flags|=1,Ie(e,t,r,o),t.child)}function Fd(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!ou(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,zh(e,t,s,r,o)):(e=fi(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Jo,n(i,r)&&e.ref===t.ref)return Zt(e,t,o)}return t.flags|=1,e=Mn(s,r),e.ref=t.ref,e.return=t,t.child=e}function zh(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(Jo(s,r)&&e.ref===t.ref)if(Ue=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(Ue=!0);else return t.lanes=e.lanes,Zt(e,t,o)}return Fl(e,t,n,r,o)}function Wh(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(Ir,qe),qe|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(Ir,qe),qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,re(Ir,qe),qe|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,re(Ir,qe),qe|=r;return Ie(e,t,o,n),t.child}function $h(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Fl(e,t,n,r,o){var s=Qe(n)?cr:Ae.current;return s=eo(t,s),$r(t,o),n=Kc(e,t,n,r,s,o),r=Gc(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(le&&r&&Oc(t),t.flags|=1,Ie(e,t,n,o),t.child)}function zd(e,t,n,r,o){if(Qe(n)){var s=!0;Ei(t)}else s=!1;if($r(t,o),t.stateNode===null)ci(e,t),Ih(t,n,r),Il(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=ut(u):(u=Qe(n)?cr:Ae.current,u=eo(t,u));var f=n.getDerivedStateFromProps,p=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Ld(t,i,r,u),gn=!1;var h=t.memoizedState;i.state=h,Ai(t,r,i,o),c=t.memoizedState,l!==r||h!==c||Ve.current||gn?(typeof f=="function"&&(Ol(t,n,f,r),c=t.memoizedState),(l=gn||Ad(t,n,l,r,h,c,u))?(p||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=u,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,mh(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:vt(t.type,l),i.props=u,p=t.pendingProps,h=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=ut(c):(c=Qe(n)?cr:Ae.current,c=eo(t,c));var d=n.getDerivedStateFromProps;(f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==p||h!==c)&&Ld(t,i,r,c),gn=!1,h=t.memoizedState,i.state=h,Ai(t,r,i,o);var b=t.memoizedState;l!==p||h!==b||Ve.current||gn?(typeof d=="function"&&(Ol(t,n,d,r),b=t.memoizedState),(u=gn||Ad(t,n,u,r,h,b,c)||!1)?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,b,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,b,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),i.props=r,i.state=b,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return zl(e,t,n,r,s,o)}function zl(e,t,n,r,o,s){$h(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&kd(t,n,!1),Zt(e,t,s);r=t.stateNode,c0.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=no(t,e.child,null,s),t.child=no(t,null,l,s)):Ie(e,t,l,s),t.memoizedState=r.state,o&&kd(t,n,!0),t.child}function Hh(e){var t=e.stateNode;t.pendingContext?Nd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Nd(e,t.context,!1),Bc(e,t.containerInfo)}function Wd(e,t,n,r,o){return to(),Dc(o),t.flags|=256,Ie(e,t,n,r),t.child}var Wl={dehydrated:null,treeContext:null,retryLane:0};function $l(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bh(e,t,n){var r=t.pendingProps,o=ce.current,s=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),re(ce,o&1),e===null)return Ll(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=sa(i,r,0,null),e=lr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=$l(n),t.memoizedState=Wl,e):Xc(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return u0(e,t,i,r,l,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Mn(o,c),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?s=Mn(l,s):(s=lr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?$l(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Wl,r}return s=e.child,e=s.sibling,r=Mn(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Xc(e,t){return t=sa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Hs(e,t,n,r){return r!==null&&Dc(r),no(t,e.child,null,n),e=Xc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function u0(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=Ka(Error(T(422))),Hs(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=sa({mode:"visible",children:r.children},o,0,null),s=lr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&no(t,e.child,null,i),t.child.memoizedState=$l(i),t.memoizedState=Wl,s);if(!(t.mode&1))return Hs(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(T(419)),r=Ka(s,r,void 0),Hs(e,t,i,r)}if(l=(i&e.childLanes)!==0,Ue||l){if(r=je,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,Jt(e,o),St(r,e,o,-1))}return ru(),r=Ka(Error(T(421))),Hs(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=N0.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Je=Tn(o.nextSibling),Ze=t,le=!0,Nt=null,e!==null&&(it[at++]=Kt,it[at++]=Gt,it[at++]=ur,Kt=e.id,Gt=e.overflow,ur=t),t=Xc(t,r.children),t.flags|=4096,t)}function $d(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ml(e.return,t,n)}function Ga(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Uh(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Ie(e,t,r.children,n),r=ce.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$d(e,n,t);else if(e.tag===19)$d(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(re(ce,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Li(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ga(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Li(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ga(t,!0,n,null,s);break;case"together":Ga(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ci(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),fr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=Mn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Mn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function d0(e,t,n){switch(t.tag){case 3:Hh(t),to();break;case 5:gh(t);break;case 1:Qe(t.type)&&Ei(t);break;case 4:Bc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;re(Ti,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(ce,ce.current&1),t.flags|=128,null):n&t.child.childLanes?Bh(e,t,n):(re(ce,ce.current&1),e=Zt(e,t,n),e!==null?e.sibling:null);re(ce,ce.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Uh(e,t,n
vendor: 4,730 bytes, line 40
40);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),re(ce,ce.current),r)break;return null;case 22:case 23:return t.lanes=0,Wh(e,t,n)}return Zt(e,t,n)}var Vh,Hl,Qh,Kh;Vh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Hl=function(){};Qh=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,er(Ft.current);var s=null;switch(n){case"input":o=ul(e,o),r=ul(e,r),s=[];break;case"select":o=de({},o,{value:void 0}),r=de({},r,{value:void 0}),s=[];break;case"textarea":o=pl(e,o),r=pl(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Si)}ml(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Vo.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Vo.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&se("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Kh=function(e,t,n,r){n!==r&&(t.flags|=4)};function So(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function f0(e,t,n){var r=t.pendingProps;switch(Ic(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return Qe(t.type)&&Ci(),_e(t),null;case 3:return r=t.stateNode,ro(),ie(Ve),ie(Ae),Vc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ws(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Nt!==null&&(ql(Nt),Nt=null))),Hl(e,t),_e(t),null;case 5:Uc(t);var o=er(rs.current);if(n=t.type,e!==null&&t.stateNode!=null)Qh(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return _e(t),null}if(e=er(Ft.current),Ws(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Ot]=t,r[ts]=s,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(o=0;o<Lo.length;o++)se(Lo[o],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":qu(r,s),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},se("invalid",r);break;case"textarea":Ju(r,s),se("invalid",r)}ml(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&zs(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&zs(r.textContent,l,e),o=["children",""+l]):Vo.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&se("scroll",r)}switch(n){case"input":Rs(r),Xu(r,s,!0);break;case"textarea":Rs(r),Zu(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Si)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=bp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ot]=t,e[ts]=r,Vh(e,t,!1,!1),t.stateNode=e;e:{switch(i=gl(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lo.length;o++)se(Lo[o],e);o=r;break;case"source":se("error",e),o=r;break;case"img":case"image":case"link":se("error",e),se("load",e),o=r;break;case"details":se("toggle",e),o=r;break;case"input":qu(e,r),o=ul(e,r),se("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=de({},r,{value:void 0}),se("invalid",e);break;case"textarea":Ju(e,r),o=pl(e,r),se("invalid",e);break;default:o=r}ml(n,o),l=o;for(s in l)if(l.hasOwnProperty(s)){var c=l[s];s==="style"?kp(e,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&jp(e,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Qo(e,c):typeof c=="number"&&Qo(e,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Vo.hasOwnProperty(s)?c!=null&&s==="onScroll"&&se("scroll",e):c!=null&&bc(e,s,c,i))}switch(n){case"input":Rs(e),Xu(e,r,!1);break;case"textarea":Rs(e),Zu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+In(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Dr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Dr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Si)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _e(t),null;case 6:if(e&&t.stateNode!=null)Kh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=er(rs.current),er(Ft.current),Ws(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ot]=t,(s=r.nodeValue!==n)&&(e=Ze,e!==null))switch(e.tag){case 3:zs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&zs(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ot]=t,t.stateNode=r}return _e(t),null;case 13:if(ie(ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(le&&Je!==null&&t.mode&1&&!(t.flags&128))dh(),to(),t.flags|=98560,s=!1;else if(s=Ws(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(T(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(T(317));s[Ot]=t}else to(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),s=!1}else Nt!==null&&(ql(Nt),Nt=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ce.current&1?we===0&&(we=3):ru())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return ro(),Hl(e,t),e===null&&Zo(t.stateNode.containerInfo),_e(t),null;case 10:return Wc(t.type._context),_e(t),null;case 17:return Qe(t.type)&&Ci(),_e(t),null;case 19:if(ie(ce),s=t.memoizedState,s===null)return _e(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)So(s,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Li(e),i!==null){for(t.flags|=128,So(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(ce,ce.current&1|2),t.child}e=e.sibling}s.tail!==null&&he()>so&&(t.flags|=128,r=!0,So(s,!1),t.lanes=4194304)}else{if(!r)if(e=Li(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),So(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!le)return _e(t),null}else 2*he()-s.renderingStartTime>so&&n!==1073741824&&(t.flags|=128,r=!0,So(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=he(),t.sibling=null,n=ce.current,re(ce,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return nu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?qe&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function p0(e,t){switch(Ic(t),t.tag){case 1:return Qe(t.type)&&Ci(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,112 bytes, line 40
40case 3:return ro(),ie(Ve),ie(Ae),Vc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Uc(t),null;case 13:if(ie(ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));to()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ce),null;case 4:return ro(),null;case 10:return Wc(t.type._context),null;case 22:case 23:return nu(),null;case 24:return null;default:return null}}var Bs=!1,Re=!1,h0=typeof WeakSet=="function"?WeakSet:Set,I=null;function Or(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function Bl(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Hd=!1;function m0(e,t){if(Cl=ji,e=Jp(),Mc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,l=-1,c=-1,u=0,f=0,p=e,h=null;t:for(;;){for(var d;p!==n||o!==0&&p.nodeType!==3||(l=i+o),p!==s||r!==0&&p.nodeType!==3||(c=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(d=p.firstChild)!==null;)h=p,p=d;for(;;){if(p===e)break t;if(h===n&&++u===o&&(l=i),h===s&&++f===r&&(c=i),(d=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=d}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(El={focusedElem:e,selectionRange:n},ji=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var y=b.memoizedProps,w=b.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:vt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(j){pe(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return b=Hd,Hd=!1,b}function $o(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&Bl(t,n,s)}o=o.next}while(o!==r)}}function ra(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ul(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Gh(e){var t=e.alternate;t!==null&&(e.alternate=null,Gh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ot],delete t[ts],delete t[Tl],delete t[Xv],delete t[Jv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yh(e){return e.tag===5||e.tag===3||e.tag===4}function Bd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yh(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.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Si));else if(r!==4&&(e=e.child,e!==null))for(Vl(e,t,n),e=e.sibling;e!==null;)Vl(e,t,n),e=e.sibling}function Ql(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&&(e=e.child,e!==null))for(Ql(e,t,n),e=e.sibling;e!==null;)Ql(e,t,n),e=e.sibling}var Ne=null,jt=!1;function dn(e,t,n){for(n=n.child;n!==null;)qh(e,t,n),n=n.sibling}function qh(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(Yi,n)}catch{}switch(n.tag){case 5:Re||Or(n,t);case 6:var r=Ne,o=jt;Ne=null,dn(e,t,n),Ne=r,jt=o,Ne!==null&&(jt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(jt?(e=Ne,n=n.stateNode,e.nodeType===8?$a(e.parentNode,n):e.nodeType===1&&$a(e,n),qo(e)):$a(Ne,n.stateNode));break;case 4:r=Ne,o=jt,Ne=n.stateNode.containerInfo,jt=!0,dn(e,t,n),Ne=r,jt=o;break;case 0:case 11:case 14:case 15:if(!Re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Bl(n,t,i),o=o.next}while(o!==r)}dn(e,t,n);break;case 1:if(!Re&&(Or(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){pe(n,t,l)}dn(e,t,n);break;case 21:dn(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,dn(e,t,n),Re=r):dn(e,t,n);break;default:dn(e,t,n)}}function Ud(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new h0),t.forEach(function(r){var o=k0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 5:Ne=l.stateNode,jt=!1;break e;case 3:Ne=l.stateNode.containerInfo,jt=!0;break e;case 4:Ne=l.stateNode.containerInfo,jt=!0;break e}l=l.return}if(Ne===null)throw Error(T(160));qh(s,i,o),Ne=null,jt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){pe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Xh(t,e),t=t.sibling}function Xh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mt(t,e),Tt(e),r&4){try{$o(3,e,e.return),ra(3,e)}catch(y){pe(e,e.return,y)}try{$o(5,e,e.return)}catch(y){pe(e,e.return,y)}}break;case 1:mt(t,e),Tt(e),r&512&&n!==null&&Or(n,n.return);break;case 5:if(mt(t,e),Tt(e),r&512&&n!==null&&Or(n,n.return),e.flags&32){var o=e.stateNode;try{Qo(o,"")}catch(y){pe(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&yp(o,s),gl(l,i);var u=gl(l,s);for(i=0;i<c.length;i+=2){var f=c[i],p=c[i+1];f==="style"?kp(o,p):f==="dangerouslySetInnerHTML"?jp(o,p):f==="children"?Qo(o,p):bc(o,f,p,u)}switch(l){case"input":dl(o,s);break;case"textarea":wp(o,s);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var d=s.value;d!=null?Dr(o,!!s.multiple,d,!1):h!==!!s.multiple&&(s.defaultValue!=null?Dr(o,!!s.multiple,s.defaultValue,!0):Dr(o,!!s.multiple,s.multiple?[]:"",!1))}o[ts]=s}catch(y){pe(e,e.return,y)}}break;case 6:if(mt(t,e),Tt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(y){pe(e,e.return,y)}}break;case 3:if(mt(t,e),Tt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qo(t.containerInfo)}catch(y){pe(e,e.return,y)}break;case 4:mt(t,e),Tt(e);break;case 13:mt(t,e),Tt(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(eu=he())),r&4&&Ud(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Re=(u=Re)||f,mt(t,e),Re=u):mt(t,e),Tt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(I=e,f=e.child;f!==null;){for(p=I=f;I!==null;){switch(h=I,d=h.child,h.tag){case 0:case 11:case 14:case 15:$o(4,h,h.return);break;case 1:Or(h,h.return);var b=h.stateNode;if(typeof b.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(y){pe(r,n,y)}}break;case 5:Or(h,h.return);break;case 22:if(h.memoizedState!==null){Qd(p);continue}}d!==null?(d.return=h,I=d):Qd(p)}f=f.sibling}e:for(f=null,p=e;;){if(p.tag===5){if(f===null){f=p;try{o=p.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=p.stateNode,c=p.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Np("display",i))}catch(y){pe(e,e.return,y)}}}else if(p.tag===6){if(f===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(y){pe(e,e.return,y)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;f===p&&(f=null),p=p.return}f===p&&(f=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:mt(t,e),Tt(e),r&4&&Ud(e);break;case 21:break;default:mt(t,e),Tt(e)}}function Tt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Yh(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Qo(o,""),r.flags&=-33);var s=Bd(e);Ql(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=Bd(e);Vl(e,l,i);break;default:throw Error(T(161))}}catch(c){pe(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function g0(e,t,n){I=e,Jh(e)}function Jh(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var o=I,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Bs;if(!i){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Re;l=Bs;var u=Re;if(Bs=i,(Re=c)&&!u)for(I=o;I!==null;)i=I,c=i.child,i.tag===22&&i.memoizedState!==null?Kd(o):c!==null?(c.return=i,I=c):Kd(o);for(;s!==null;)I=s,Jh(s),s=s.sibling;I=o,Bs=l,Re=u}Vd(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,I=s):Vd(e)}}function Vd(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Re||ra(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Re)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:vt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&_d(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_d(t,i,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var p=f.dehydrated;p!==null&&qo(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}Re||t.flags&512&&Ul(t)}catch(h){pe(t,t.return,h)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Qd(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Kd(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ra(4,t)}catch(c){pe(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){pe(t,o,c)}}var s=t.return;try{Ul(t)}catch(c){pe(t,s,c)}break;case 5:var i=t.return;try{Ul(t)}catch(c){pe(t,i,c)}}}catch(c){pe(t,t.return,c)}if(t===e){I=null;break}var l=t.sibling;if(l!==null){l.return=t.return,I=l;break}I=t.return}}var x0=Math.ceil,Ii=nn.ReactCurrentDispatcher,Jc=nn.ReactCurrentOwner,ct=nn.ReactCurrentBatchConfig,X=0,je=null,xe=null,ke=0,qe=0,Ir=Bn(0),we=0,as=null,fr=0,oa=0,Zc=0,Ho=null,Be=null,eu=0,so=1/0,Ut=null,Di=!1,Kl=null,An=null,Us=!1,Sn=null,Fi=0,Bo=0,Gl=null,ui=-1,di=0;function Fe(){return X&6?he():ui!==-1?ui:ui=he()}function Ln(e){return e.mode&1?X&2&&ke!==0?ke&-ke:e0.transition!==null?(di===0&&(di=Ip()),di):(e=te,e!==0||(e=window.event,e=e===void 0?16:Bp(e.type)),e):1}function St(e,t,n,r){if(50<Bo)throw Bo=0,Gl=null,Error(T(185));xs(e,n,r),(!(X&2)||e!==je)&&(e===je&&(!(X&2)&&(oa|=n),we===4&&vn(e,ke)),Ke(e,r),n===1&&X===0&&!(t.mode&1)&&(so=he()+500,ea&&Un()))}function Ke(e,t){var n=e.callbackNode;ev(e,t);var r=bi(e,e===je?ke:0);if(r===0)n!==null&&nd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&nd(n),t===1)e.tag===0?Zv(Gd.bind(null,e)):lh(Gd.bind(null,e)),Yv(function(){!(X&6)&&Un()}),n=null;else{switch(Dp(r)){case 1:n=Cc;break;case 4:n=Mp;break;case 16:n=wi;break;case 536870912:n=Op;break;default:n=wi}n=im(n,Zh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Zh(e,t){if(ui=-1,di=0,X&6)throw Error(T(327));var n=e.callbackNode;if(Hr()&&e.callbackNode!==n)return null;var r=bi(e,e===je?ke:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=zi(e,r);else{t=r;var o=X;X|=2;var s=tm();(je!==e||ke!==t)&&(Ut=null,so=he()+500,ar(e,t));do try{w0();break}catch(l){em(e,l)}while(!0);zc(),Ii.current=s,X=o,xe!==null?t=0:(je=null,ke=0,t=we)}if(t!==0){if(t===2&&(o=bl(e),o!==0&&(r=o,t=Yl(e,o))),t===1)throw n=as,ar(e,0),vn(e,r),Ke(e,he()),n;if(t===6)vn(e,r);else{if(o=e.current.alternate,!(r&30)&&!v0(o)&&(t=zi(e,r),t===2&&(s=bl(e),s!==0&&(r=s,t=Yl(e,s))),t===1))throw n=as,ar(e,0),vn(e,r),Ke(e,he()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:Xn(e,Be,Ut);break;case 3:if(vn(e,r),(r&130023424)===r&&(t=eu+500-he(),10<t)){if(bi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Fe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=_l(Xn.bind(null,e,Be,Ut),t);break}Xn(e,Be,Ut);break;case 4:if(vn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-kt(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*x0(r/1960))-r,10<r){e.timeoutHandle=_l(Xn.bind(null,e,Be,Ut),r);break}Xn(e,Be,Ut);break;case 5:Xn(e,Be,Ut);break;default:throw Error(T(329))}}}return Ke(e,he()),e.callbackNode===n?Zh.bind(null,e):null}function Yl(e,t){var n=Ho;return e.current.memoizedState.isDehydrated&&(ar(e,t).flags|=256),e=zi(e,t),e!==2&&(t=Be,Be=n,t!==null&&ql(t)),e}function ql(e){Be===null?Be=e:Be.push.apply(Be,e)}function v0(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!Ct(s(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function vn(e,t){for(t&=~Zc,t&=~oa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-kt(t),r=1<<n;e[n]=-1,t&=~r}}function Gd(e){if(X&6)throw Error(T(327));Hr();var t=bi(e,0);if(!(t&1))return Ke(e,he()),null;var n=zi(e,t);if(e.tag!==0&&n===2){var r=bl(e);r!==0&&(t=r,n=Yl(e,r))}if(n===1)throw n=as,ar(e,0),vn(e,t),Ke(e,he()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xn(e,Be,Ut),Ke(e,he()),null}function tu(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(so=he()+500,ea&&Un())}}function pr(e){Sn!==null&&Sn.tag===0&&!(X&6)&&Hr();var t=X;X|=1;var n=ct.transition,r=te;try{if(ct.transition=null,te=1,e)return e()}finally{te=r,ct.transition=n,X=t,!(X&6)&&Un()}}function nu(){qe=Ir.current,ie(Ir)}function ar(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Gv(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(Ic(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ci();break;case 3:ro(),ie(Ve),ie(Ae),Vc();break;case 5:Uc(r);break;case 4:ro();break;case 13:ie(ce);break;case 19:ie(ce);break;case 10:Wc(r.type._context);break;case 22:case 23:nu()}n=n.return}if(je=e,xe=e=Mn(e.current,null),ke=qe=t,we=0,as=null,Zc=oa=fr=0,Be=Ho=null,Zn!==null){for(t=0;t<Zn.length;t++)if(n=Zn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}Zn=null}return e}function em(e,t){do{var n=xe;try{if(zc(),ai.current=Oi,Mi){for(var r=ue.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Mi=!1}if(dr=0,be=ve=ue=null,Wo=!1,os=0,Jc.current=null,n===null||n.return===null){we=1,as=t,xe=null;break}e:{var s=e,i=n.return,l=n,c=t;if(t=ke,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,f=l,p=f.tag;if(!(f.mode&1)&&(p===0||p===11||p===15)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var d=Od(i);if(d!==null){d.flags&=-257,Id(d,i,l,s,t),d.mode&1&&Md(s,u,t),t=d,c=u;var b=t.updateQueue;if(b===null){var y=new Set;y.add(c),t.updateQueue=y}else b.add(c);break e}else{if(!(t&1)){Md(s,u,t),ru();break e}c=Error(T(426))}}else if(le&&l.mode&1){var w=Od(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Id(w,i,l,s,t),Dc(oo(c,l));break e}}s=c=oo(c,l),we!==4&&(we=2),Ho===null?Ho=[s]:Ho.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=Dh(s,c,t);Pd(s,g);break e;case 1:l=c;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(An===null||!An.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var j=Fh(s,l,t);Pd(s,j);break e}}s=s.return}while(s!==null)}rm(n)}catch(N){t=N,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function tm(){var e=Ii.current;return Ii.current=Oi,e===null?Oi:e}function ru(){(we===0||we===3||we===2)&&(we=4),je===null||!(fr&268435455)&&!(oa&268435455)||vn(je,ke)}function zi(e,t){var n=X;X|=2;var r=tm();(je!==e||ke!==t)&&(Ut=null,ar(e,t));do try{y0();break}catch(o){em(e,o)}while(!0);if(zc(),X=n,Ii.current=r,xe!==null)throw Error(T(261));return je=null,ke=0,we}function y0(){for(;xe!==null;)nm(xe)}function w0(){for(;xe!==null&&!Vx();)nm(xe)}function nm(e){var t=sm(e.alternate,e,qe);e.memoizedProps=e.pendingProps,t===null?rm(e):xe=t,Jc.current=null}function rm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=p0(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,xe=null;return}}else if(n=f0(n,t,qe),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);we===0&&(we=5)}function Xn(e,t,n){var r=te,o=ct.transition;try{ct.transition=null,te=1,b0(e,t,n,r)}finally{ct.transition=o,te=r}return null}function b0(e,t,n,r){do Hr();while(Sn!==null);if(X&6)throw Error(T(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(tv(e,s),e===je&&(xe=je=null,ke=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Us||(Us=!0,im(wi,function(){return Hr(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ct.transition,ct.transition=null;var i=te;te=1;var l=X;X|=4,Jc.current=null,m0(e,n),Xh(n,e),$v(El),ji=!!Cl,El=Cl=null,e.current=n,g0(n),Qx(),X=l,te=i,ct.transition=s}else e.current=n;if(Us&&(Us=!1,Sn=e,Fi=o),s=e.pendingLanes,s===0&&(An=null),Yx(n.stateNode),Ke(e,he()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Di)throw Di=!1,e=Kl,Kl=null,e;return Fi&1&&e.tag!==0&&Hr(),s=e.pendingLanes,s&1?e===Gl?Bo++:(Bo=0,Gl=e):Bo=0,Un(),null}function Hr(){if(Sn!==null){var e=Dp(Fi),t=ct.transition,n=te;try{if(ct.transition=null,te=16>e?16:e,Sn===null)var r=!1;else{if(e=Sn,Sn=null,Fi=0,X&6)throw Error(T(331));var o=X;for(X|=4,I=e.current;I!==null;){var s=I,i=s.child;if(I.flags&16){var l=s.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(I=u;I!==null;){var f=I;switch(f.tag){case 0:case 11:case 15:$o(8,f,s)}var p=f.child;if(p!==null)p.return=f,I=p;else for(;I!==null;){f=I;var h=f.sibling,d=f.return;if(Gh(f),f===u){I=null;break}if(h!==null){h.return=d,I=h;break}I=d}}}var b=s.alternate;if(b!==null){var y=b.child;if(y!==null){b.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}I=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,I=i;else e:for(;I!==null;){if(s=I,s.flags&2048)switch(s.tag){case 0:case 11:case 15:$o(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,I=g;break e}I=s.return}}var m=e.current;for(I=m;I!==null;){i=I;var v=i.child;if(i.subtreeFlags&2064&&v!==null)v.return=i,I=v;else e:for(i=m;I!==null;){if(l=I,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:ra(9,l)}}catch(N){pe(l,l.return,N)}if(l===i){I=null;break e}var j=l.sibling;if(j!==null){j.return=l.return,I=j;break e}I=l.return}}if(X=o,Un(),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(Yi,e)}catch{}r=!0}return r}finally{te=n,ct.transition=t}}return!1}function Yd(e,t,n){t=oo(n,t),t=Dh(e,t,1),e=Rn(e,t,1),t=Fe(),e!==null&&(xs(e,1,t),Ke(e,t))}function pe(e,t,n){if(e.tag===3)Yd(e,e,n);else for(;t!==null;){if(t.tag===3){Yd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(An===null||!An.has(r))){e=oo(n,e),e=Fh(t,e,1),t=Rn(t,e,1),e=Fe(),t!==null&&(xs(t,1,e),Ke(t,e));break}}t=t.return}}function j0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Fe(),e.pingedLanes|=e.suspendedLanes&n,je===e&&(ke&n)===n&&(we===4||we===3&&(ke&130023424)===ke&&500>he()-eu?ar(e,0):Zc|=n),Ke(e,t)}function om(e,t){t===0&&(e.mode&1?(t=Ms,Ms<<=1,!(Ms&130023424)&&(Ms=4194304)):t=1);var n=Fe();e=Jt(e,t),e!==null&&(xs(e,t,n),Ke(e,n))}function N0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),om(e,n)}function k0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),om(e,n)}var sm;sm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)Ue=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ue=!1,d0(e,t,n);Ue=!!(e.flags&131072)}else Ue=!1,le&&t.flags&1048576&&ch(t,_i,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ci(e,t),e=t.pendingProps;var o=eo(t,Ae.current);$r(t,n),o=Kc(null,t,r,e,o,n);var s=Gc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(s=!0,Ei(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Hc(t),o.updater=na,t.stateNode=o,o._reactInternals=t,Il(t,r,e,n),t=zl(null,t,r,!0,s,n)):(t.tag=0,le&&s&&Oc(t),Ie(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ci(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=C0(r),e=vt(r,e),o){case 0:t=Fl(null,t,r,e,n);break e;case 1:t=zd(null,t,r,e,n);break e;case 11:t=Dd(null,t,r,e,n);break e;case 14:t=Fd(null,t,r,vt(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),Fl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),zd(e,t,r,o,n);case 3:e:{if(Hh(t),e===null)throw Error(T(387));
vendor: 5,689 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,o=s.element,mh(e,t),Ai(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=oo(Error(T(423)),t),t=Wd(e,t,r,n,o);break e}else if(r!==o){o=oo(Error(T(424)),t),t=Wd(e,t,r,n,o);break e}else for(Je=Tn(t.stateNode.containerInfo.firstChild),Ze=t,le=!0,Nt=null,n=ph(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(to(),r===o){t=Zt(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return gh(t),e===null&&Ll(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Pl(r,o)?i=null:s!==null&&Pl(r,s)&&(t.flags|=32),$h(e,t),Ie(e,t,i,n),t.child;case 6:return e===null&&Ll(t),null;case 13:return Bh(e,t,n);case 4:return Bc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=no(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),Dd(e,t,r,o,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,re(Ti,r._currentValue),r._currentValue=i,s!==null)if(Ct(s.value,i)){if(s.children===o.children&&!Ve.current){t=Zt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){i=s.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=Yt(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?c.next=c:(c.next=f.next,f.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Ml(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(T(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Ml(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Ie(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,$r(t,n),o=ut(o),r=r(o),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,o=vt(r,t.pendingProps),o=vt(r.type,o),Fd(e,t,r,o,n);case 15:return zh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vt(r,o),ci(e,t),t.tag=1,Qe(r)?(e=!0,Ei(t)):e=!1,$r(t,n),Ih(t,r,o),Il(t,r,o,n),zl(null,t,r,!0,e,n);case 19:return Uh(e,t,n);case 22:return Wh(e,t,n)}throw Error(T(156,t.tag))};function im(e,t){return Lp(e,t)}function S0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,r){return new S0(e,t,n,r)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function C0(e){if(typeof e=="function")return ou(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Nc)return 11;if(e===kc)return 14}return 2}function Mn(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function fi(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")ou(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Cr:return lr(n.children,o,s,t);case jc:i=8,o|=8;break;case il:return e=lt(12,n,t,o|2),e.elementType=il,e.lanes=s,e;case al:return e=lt(13,n,t,o),e.elementType=al,e.lanes=s,e;case ll:return e=lt(19,n,t,o),e.elementType=ll,e.lanes=s,e;case gp:return sa(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hp:i=10;break e;case mp:i=9;break e;case Nc:i=11;break e;case kc:i=14;break e;case mn:i=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=lt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function lr(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function sa(e,t,n,r){return e=lt(22,e,r,t),e.elementType=gp,e.lanes=n,e.stateNode={isHidden:!1},e}function Ya(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function qa(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function E0(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ta(0),this.expirationTimes=Ta(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ta(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function su(e,t,n,r,o,s,i,l,c){return e=new E0(e,t,n,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=lt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hc(s),e}
vendor: 3,361 bytes, line 40
40function P0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Sr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function am(e){if(!e)return Dn;e=e._reactInternals;e:{if(gr(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(Qe(n))return ah(e,n,t)}return t}function lm(e,t,n,r,o,s,i,l,c){return e=su(n,r,!0,e,o,s,i,l,c),e.context=am(null),n=e.current,r=Fe(),o=Ln(n),s=Yt(r,o),s.callback=t??null,Rn(n,s,o),e.current.lanes=o,xs(e,o,r),Ke(e,r),e}function ia(e,t,n,r){var o=t.current,s=Fe(),i=Ln(o);return n=am(n),t.context===null?t.context=n:t.pendingContext=n,t=Yt(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Rn(o,t,i),e!==null&&(St(e,o,i,s),ii(e,o,i)),i}function Wi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function qd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function iu(e,t){qd(e,t),(e=e.alternate)&&qd(e,t)}function _0(){return null}var cm=typeof reportError=="function"?reportError:function(e){console.error(e)};function au(e){this._internalRoot=e}aa.prototype.render=au.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));ia(e,t,null,null)};aa.prototype.unmount=au.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;pr(function(){ia(null,e,null,null)}),t[Xt]=null}};function aa(e){this._internalRoot=e}aa.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xn.length&&t!==0&&t<xn[n].priority;n++);xn.splice(n,0,e),n===0&&Hp(e)}};function lu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function la(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Xd(){}function T0(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=Wi(i);s.call(u)}}var i=lm(t,r,e,0,null,!1,!1,"",Xd);return e._reactRootContainer=i,e[Xt]=i.current,Zo(e.nodeType===8?e.parentNode:e),pr(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Wi(c);l.call(u)}}var c=su(e,0,!1,null,null,!1,!1,"",Xd);return e._reactRootContainer=c,e[Xt]=c.current,Zo(e.nodeType===8?e.parentNode:e),pr(function(){ia(t,c,n,r)}),c}function ca(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var l=o;o=function(){var c=Wi(i);l.call(c)}}ia(t,i,e,o)}else i=T0(n,t,e,o,r);return Wi(i)}Fp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ao(t.pendingLanes);n!==0&&(Ec(t,n|1),Ke(t,he()),!(X&6)&&(so=he()+500,Un()))}break;case 13:pr(function(){var r=Jt(e,1);if(r!==null){var o=Fe();St(r,e,1,o)}}),iu(e,1)}};Pc=function(e){if(e.tag===13){var t=Jt(e,134217728);if(t!==null){var n=Fe();St(t,e,134217728,n)}iu(e,134217728)}};zp=function(e){if(e.tag===13){var t=Ln(e),n=Jt(e,t);if(n!==null){var r=Fe();St(n,e,t,r)}iu(e,t)}};Wp=function(){return te};$p=function(e,t){var n=te;
vendor: 4,186 bytes, line 40
40try{return te=e,t()}finally{te=n}};vl=function(e,t,n){switch(t){case"input":if(dl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Zi(r);if(!o)throw Error(T(90));vp(r),dl(r,o)}}}break;case"textarea":wp(e,n);break;case"select":t=n.value,t!=null&&Dr(e,!!n.multiple,t,!1)}};Ep=tu;Pp=pr;var R0={usingClientEntryPoint:!1,Events:[ys,Tr,Zi,Sp,Cp,tu]},Co={findFiberByHostInstance:Jn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},A0={bundleType:Co.bundleType,version:Co.version,rendererPackageName:Co.rendererPackageName,rendererConfig:Co.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Rp(e),e===null?null:e.stateNode},findFiberByHostInstance:Co.findFiberByHostInstance||_0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vs.isDisabled&&Vs.supportsFiber)try{Yi=Vs.inject(A0),Dt=Vs}catch{}}nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R0;nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!lu(t))throw Error(T(200));return P0(e,t,null,n)};nt.createRoot=function(e,t){if(!lu(e))throw Error(T(299));var n=!1,r="",o=cm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=su(e,1,!1,null,null,n,!1,r,o),e[Xt]=t.current,Zo(e.nodeType===8?e.parentNode:e),new au(t)};nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=Rp(t),e=e===null?null:e.stateNode,e};nt.flushSync=function(e){return pr(e)};nt.hydrate=function(e,t,n){if(!la(t))throw Error(T(200));return ca(null,e,t,!0,n)};nt.hydrateRoot=function(e,t,n){if(!lu(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=cm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=lm(t,null,e,1,n??null,o,!1,s,i),e[Xt]=t.current,Zo(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new aa(t)};nt.render=function(e,t,n){if(!la(t))throw Error(T(200));return ca(null,e,t,!1,n)};nt.unmountComponentAtNode=function(e){if(!la(e))throw Error(T(40));return e._reactRootContainer?(pr(function(){ca(null,null,e,!1,function(){e._reactRootContainer=null,e[Xt]=null})}),!0):!1};nt.unstable_batchedUpdates=tu;nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!la(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return ca(e,t,n,!1,r)};nt.version="18.3.1-next-f1338f8080-20240426";function um(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(um)}catch(e){console.error(e)}}um(),up.exports=nt;var bs=up.exports;const dm=Xf(bs);var fm,Jd=bs;fm=Jd.createRoot,Jd.hydrateRoot;const L0=1,M0=1e6;let Xa=0;function O0(){return Xa=(Xa+1)%Number.MAX_SAFE_INTEGER,Xa.toString()}const Ja=new Map,Zd=e=>{if(Ja.has(e))return;const t=setTimeout(()=>{Ja.delete(e),Uo({type:"REMOVE_TOAST",toastId:e})},M0);Ja.set(e,t)},I0=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,L0)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?Zd(n):e.toasts.forEach(r=>{Zd(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},pi=[];let hi={toasts:[]};function Uo(e){hi=I0(hi,e),pi.forEach(t=>{t(hi)})}function D0({...e}){const t=O0(),n=o=>Uo({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Uo({type:"DISMISS_TOAST",toastId:t});return Uo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function F0(){const[e,t]=x.useState(hi);return x.useEffect(()=>(pi.push(t),()=>{const n=pi.indexOf(t);n>-1&&pi.splice(n,1)}),[e]),{...e,toast:D0,dismiss:n=>Uo({type:"DISMISS_TOAST",toastId:n})}}function ye(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ef(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function pm(...e){return t=>{let n=!1;const r=e.map(o=>{const s=ef(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():ef(e[o],null)}}}}function Et(...e){return x.useCallback(pm(...e),e)}function ua(e,t=[]){let n=[];function r(s,i){const l=x.createContext(i),c=n.length;n=[...n,i];const u=p=>{var g;const{scope:h,children:d,...b}=p,y=((g=h==null?void 0:h[e])==null?void 0:g[c])||l,w=x.useMemo(()=>b,Object.values(b));return a.jsx(y.Provider,{value:w,children:d})};u.displayName=s+"Provider";function f(p,h){var y;const d=((y=h==null?void 0:h[e])==null?void 0:y[c])||l,b=x.useContext(d);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=n.map(i=>x.createContext(i));return function(l){const c=(l==null?void 0:l[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,z0(o,...t)]}function z0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((l,{useScope:c,scopeName:u})=>{const p=c(s)[`__scope${u}`];return{...l,...p}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Xl(e){const t=W0(e),n=x.forwardRef((r,o)=>{const{children:s,...i}=r,l=x.Children.toArray(s),c=l.find(H0);if(c){const u=c.props.children,f=l.map(p=>p===c?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:p);return a.jsx(t,{...i,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,f):null})}return a.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function W0(e){const t=x.forwardRef((n,r)=>{const{children:o,...s}=n;if(x.isValidElement(o)){const i=U0(o),l=B0(s,o.props);return o.type!==x.Fragment&&(l.ref=r?pm(r,i):i),x.cloneElement(o,l)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hm=Symbol("radix.slottable");function $0(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=hm,t}function H0(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hm}function B0(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const c=s(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function U0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function V0(e){const t=e+"CollectionProvider",[n,r]=ua(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{const{scope:w,children:g}=y,m=R.useRef(null),v=R.useRef(new Map).current;return a.jsx(o,{scope:w,itemMap:v,collectionRef:m,children:g})};i.displayName=t;const l=e+"CollectionSlot",c=Xl(l),u=R.forwardRef((y,w)=>{const{scope:g,children:m}=y,v=s(l,g),j=Et(w,v.collectionRef);return a.jsx(c,{ref:j,children:m})});u.displayName=l;const f=e+"CollectionItemSlot",p="data-radix-collection-item",h=Xl(f),d=R.forwardRef((y,w)=>{const{scope:g,children:m,...v}=y,j=R.useRef(null),N=Et(w,j),k=s(f,g);return R.useEffect(()=>(k.itemMap.set(j,{ref:j,...v}),()=>void k.itemMap.delete(j))),a.jsx(h,{[p]:"",ref:N,children:m})});d.displayName=f;function b(y){const w=s(e+"CollectionConsumer",y);return R.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${p}]`));return Array.from(w.itemMap.values()).sort((k,S)=>v.indexOf(k.ref.current)-v.indexOf(S.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:d},b,r]}var Q0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ge=Q0.reduce((e,t)=>
vendor: 8,608 bytes, line 40
40{const n=Xl(`Primitive.${t}`),r=x.forwardRef((o,s)=>{const{asChild:i,...l}=o,c=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function mm(e,t){e&&bs.flushSync(()=>e.dispatchEvent(t))}function Fn(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function K0(e,t=globalThis==null?void 0:globalThis.document){const n=Fn(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var G0="DismissableLayer",Jl="dismissableLayer.update",Y0="dismissableLayer.pointerDownOutside",q0="dismissableLayer.focusOutside",tf,gm=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cu=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...c}=e,u=x.useContext(gm),[f,p]=x.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=x.useState({}),b=Et(t,S=>p(S)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(w),m=f?y.indexOf(f):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,j=m>=g,N=J0(S=>{const _=S.target,L=[...u.branches].some(A=>A.contains(_));!j||L||(o==null||o(S),i==null||i(S),S.defaultPrevented||l==null||l())},h),k=Z0(S=>{const _=S.target;[...u.branches].some(A=>A.contains(_))||(s==null||s(S),i==null||i(S),S.defaultPrevented||l==null||l())},h);return K0(S=>{m===u.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},h),x.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(tf=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),nf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=tf)}},[f,h,n,u]),x.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),nf())},[f,u]),x.useEffect(()=>{const S=()=>d({});return document.addEventListener(Jl,S),()=>document.removeEventListener(Jl,S)},[]),a.jsx(Ge.div,{...c,ref:b,style:{pointerEvents:v?j?"auto":"none":void 0,...e.style},onFocusCapture:ye(e.onFocusCapture,k.onFocusCapture),onBlurCapture:ye(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ye(e.onPointerDownCapture,N.onPointerDownCapture)})});cu.displayName=G0;var X0="DismissableLayerBranch",xm=x.forwardRef((e,t)=>{const n=x.useContext(gm),r=x.useRef(null),o=Et(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),a.jsx(Ge.div,{...e,ref:o})});xm.displayName=X0;function J0(e,t=globalThis==null?void 0:globalThis.document){const n=Fn(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){vm(Y0,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Z0(e,t=globalThis==null?void 0:globalThis.document){const n=Fn(e),r=x.useRef(!1);return x.useEffect(()=>{const o=s=>{s.target&&!r.current&&vm(q0,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function nf(){const e=new CustomEvent(Jl);document.dispatchEvent(e)}function vm(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mm(o,s):o.dispatchEvent(s)}var ey=cu,ty=xm,zn=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},ny="Portal",ym=x.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=x.useState(!1);zn(()=>s(!0),[]);const i=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return i?dm.createPortal(a.jsx(Ge.div,{...r,ref:t}),i):null});ym.displayName=ny;function ry(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var uu=e=>{const{present:t,children:n}=e,r=oy(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=Et(r.ref,sy(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:s}):null};uu.displayName="Presence";function oy(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),s=x.useRef("none"),i=e?"mounted":"unmounted",[l,c]=ry(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Qs(r.current);s.current=l==="mounted"?u:"none"},[l]),zn(()=>{const u=r.current,f=o.current;if(f!==e){const h=s.current,d=Qs(u);e?c("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(f&&h!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),zn(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,p=d=>{const y=Qs(r.current).includes(d.animationName);if(d.target===t&&y&&(c("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=d=>{d.target===t&&(s.current=Qs(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Qs(e){return(e==null?void 0:e.animationName)||"none"}function sy(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var iy=lp[" useInsertionEffect ".trim().toString()]||zn;function ay({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=ly({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const f=x.useRef(e!==void 0);x.useEffect(()=>{const p=f.current;p!==l&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=l},[l,r])}const u=x.useCallback(f=>{var p;if(l){const h=cy(f)?f(e):f;h!==e&&((p=i.current)==null||p.call(i,h))}else s(f)},[l,e,s,i]);return[c,u]}function ly({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),s=x.useRef(t);return iy(()=>{s.current=t},[t]),x.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function cy(e){return typeof e=="function"}var uy=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),dy="VisuallyHidden",da=x.forwardRef((e,t)=>a.jsx(Ge.span,{...e,ref:t,style:{...uy,...e.style}}));da.displayName=dy;var fy=da,du="ToastProvider",[fu,py,hy]=V0("Toast"),[wm,Ik]=ua("Toast",[hy]),[my,fa]=wm(du),bm=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[l,c]=x.useState(null),[u,f]=x.useState(0),p=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${du}\`. Expected non-empty \`string\`.`),a.jsx(fu.Provider,{scope:t,children:a.jsx(my,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:x.useCallback(()=>f(d=>d+1),[]),onToastRemove:x.useCallback(()=>f(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:h,children:i})})};bm.displayName=du;var jm="ToastViewport",gy=["F8"],Zl="toast.viewportPause",ec="toast.viewportResume",Nm=x.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=gy,label:o="Notifications ({hotkey})",...s}=e,i=fa(jm,n),l=py(n),c=x.useRef(null),u=x.useRef(null),f=x.useRef(null),p=x.useRef(null),h=Et(t,p,i.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=i.toastCount>0;x.useEffect(()=>{const w=g=>{var v;r.length!==0&&r.every(j=>g[j]||g.code===j)&&((v=p.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=c.current,g=p.current;if(b&&w&&g){const m=()=>{if(!i.isClosePausedRef.current){const k=new CustomEvent(Zl);g.dispatchEvent(k),i.isClosePausedRef.current=!0}},v=()=>{if(i.isClosePausedRef.current){const k=new CustomEvent(ec);g.dispatchEvent(k),i.isClosePausedRef.current=!1}},j=k=>{!w.contains(k.relatedTarget)&&v()},N=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",m),w.addEventListener("focusout",j),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",N),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",j),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",N),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[b,i.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:w})=>{const m=l().map(v=>{const j=v.ref.current,N=[j,..._y(j)];return w==="forwards"?N:N.reverse()});return(w==="forwards"?m.reverse():m).flat()},[l]);return x.useEffect(()=>{const w=p.current;if(w){const g=m=>{var N,k,S;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const _=document.activeElement,L=m.shiftKey;if(m.target===w&&L){(N=u.current)==null||N.focus();return}const D=y({tabbingDirection:L?"backwards":"forwards"}),Q=D.findIndex(M=>M===_);Za(D.slice(Q+1))?m.preventDefault():L?(k=u.current)==null||k.focus():(S=f.current)==null||S.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[l,y]),a.jsxs(ty,{ref:c,role:"region","aria-label":o.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&a.jsx(tc,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});Za(w)}}),a.jsx(fu.Slot,{scope:n,children:a.jsx(Ge.ol,{tabIndex:-1,...s,ref:h})}),b&&a.jsx(tc,{ref:f,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});Za(w)}})]})});Nm.displayName=jm;var km="ToastFocusProxy",tc=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=fa(km,n);return a.jsx(da,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const l=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});tc.displayName=km;var js="Toast",xy="toast.swipeStart",vy="toast.swipeMove",yy="toast.swipeCancel",wy="toast.swipeEnd",Sm=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[l,c]=ay({prop:r,defaultProp:o??!0,onChange:s,caller:js});return a.jsx(uu,{present:n||l,children:a.jsx(Ny,{open:l,...i,ref:t,onClose:()=>c(!1),onPause:Fn(e.onPause),onResume:Fn(e.onResume),onSwipeStart:ye(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ye(e.onSwipeMove,u=>{const{x:f,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:ye(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ye(e.onSwipeEnd,u=>{const{x:f,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})})});Sm.displayName=js;var[by,jy]=wm(js,{onClose(){}}),Ny=x.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:f,onSwipeMove:p,onSwipeCancel:h,onSwipeEnd:d,...b}=e,y=fa(js,n),[w,g]=x.useState(null),m=Et(t,M=>g(M)),v=x.useRef(null),j=x.useRef(null),N=o||y.duration,k=x.useRef(0),S=x.useRef(N),_=x.useRef(0),{onToastAdd:L,onToastRemove:A}=y,z=Fn(()=>{var Y;(w==null?void 0:w.contains(document.activeElement))&&((Y=y.viewport)==null||Y.focus()),i()}),D=x.useCallback(M=>{!M||M===1/0||(window.clearTimeout(_.current),k.current=new Date().getTime(),_.current=window.setTimeout(z,M))},[z]);x.useEffect(()=>{const M=y.viewport;if(M){const Y=()=>{D(S.current),u==null||u()},W=()=>{const B=new Date().getTime()-k.current;S.current=S.current-B,window.clearTimeout(_.current),c==null||c()};return M.addEventListener(Zl,W),M.addEventListener(ec,Y),()=>{M.removeEventListener(Zl,W),M.removeEventListener(ec,Y)}}},[y.viewport,N,c,u,D]),x.useEffect(()=>{s&&!y.isClosePausedRef.current&&D(N)},[s,N,y.isClosePausedRef,D]),x.useEffect(()=>(L(),()=>A()),[L,A]);const Q=x.useMemo(()=>w?Am(w):null,[w]);return y.viewport?a.jsxs(a.Fragment,{children:[Q&&a.jsx(ky,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Q}),a.jsx(by,{scope:n,onClose:z,children:bs.createPortal(a.jsx(fu.ItemSlot,{scope:n,children:a.jsx(ey,{asChild:!0,onEscapeKeyDown:ye(l,()=>{y.isFocusedToastEscapeKeyDownRef.current||z(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(Ge.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...b,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ye(e.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:ye(e.onPointerDown,M=>{M.button===0&&(v.current={x:M.clientX,y:M.clientY})}),onPointerMove:ye(e.onPointerMove,M=>{if(!v.current)return;const Y=M.clientX-v.current.x,W=M.clientY-v.current.y,B=!!j.current,E=["left","right"].includes(y.swipeDirection),P=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,O=E?P(0,Y):0,U=E?0:P(0,W),F=M.pointerType==="touch"?10:2,K={x:O,y:U},q={originalEvent:M,delta:K};B?(j.current=K,Ks(vy,p,q,{discrete:!1})):rf(K,y.swipeDirection,F)?(j.current=K,Ks(xy,f,q,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(Y)>F||Math.abs(W)>F)&&(v.current=null)}),onPointerUp:ye(e.onPointerUp,M=>{const Y=j.current,W=M.target;if(W.hasPointerCapture(M.pointerId)&&W.releasePointerCapture(M.pointerId),j.current=null,v.current=null,Y){const B=M.currentTarget,E={originalEvent:M,delta:Y};rf(Y,y.swipeDirection,y.swipeThreshold)?Ks(wy,d,E,{discrete:!0}):Ks(yy,h,E,{discrete:!0}),B.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),ky=e=>{const{__scopeToast:t,children:n,...r}=e,o=fa(js,t),[s,i]=x.useState(!1),[l,c]=x.useState(!1);return Ey(()=>i(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(ym,{asChild:!0,children:a.jsx(da,{...r,children:s&&a.jsxs(a.Fragment,{children:[o.label," ",n]})})})},Sy="ToastTitle",Cm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Ge.div,{...r,ref:t})});Cm.displayName=Sy;var Cy="ToastDescription",Em=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Ge.div,{...r,ref:t})});Em.displayName=Cy;var Pm="ToastAction",_m=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(Rm,{altText:n,asChild:!0,children:a.jsx(pu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Pm}\`. Expected non-empty \`string\`.`),null)});_m.displayName=Pm;var Tm="ToastClose",pu=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=jy(Tm,n);return a.jsx(Rm,{asChild:!0,children:a.jsx(Ge.button,{type:"button",...r,ref:t,onClick:ye(e.onClick,o.onClose)})})});pu.displayName=Tm;var Rm=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return a.jsx(Ge.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Am(e){const t=[];
vendor: 8,738 bytes, lines 40-130
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Py(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Am(r))}}),t}function Ks(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mm(o,s):o.dispatchEvent(s)}var rf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function Ey(e=()=>{}){const t=Fn(e);zn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Py(e){return e.nodeType===e.ELEMENT_NODE}function _y(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Za(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Ty=bm,Lm=Nm,Mm=Sm,Om=Cm,Im=Em,Dm=_m,Fm=pu;function zm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=zm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Wm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=zm(e))&&(r&&(r+=" "),r+=t);return r}const of=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sf=Wm,Ry=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return sf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],p=s==null?void 0:s[u];if(f===null)return null;const h=of(f)||of(p);return o[u][h]}),l=n&&Object.entries(n).reduce((u,f)=>{let[p,h]=f;return h===void 0||(u[p]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:p,className:h,...d}=f;return Object.entries(d).every(b=>{let[y,w]=b;return Array.isArray(w)?w.includes({...s,...l}[y]):{...s,...l}[y]===w})?[...u,p,h]:u},[]);return sf(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const Ay=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$m=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var Ly={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const My=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...l},c)=>x.createElement("svg",{ref:c,...Ly,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:$m("lucide",o),...l},[...i.map(([u,f])=>x.createElement(u,f)),...Array.isArray(s)?s:[s]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Ye=(e,t)=>{const n=x.forwardRef(({className:r,...o},s)=>x.createElement(My,{ref:s,iconNode:t,className:$m(`lucide-${Ay(e)}`,r),...o}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Oy=Ye("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const Iy=Ye("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const hu=Ye("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const mu=Ye("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const Dy=Ye("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const gu=Ye("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const xu=Ye("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const Fy=Ye("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const zy=Ye("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const vu=Ye("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const Hm=Ye("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const Wy=Ye("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const yu=Ye("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const $y=Ye("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,856 bytes, line 130
130],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),wu="-",Hy=e=>{const t=Uy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(wu);return l[0]===""&&l.length!==1&&l.shift(),Bm(l,t)||By(i)},getConflictingClassGroupIds:(i,l)=>{const c=n[i]||[];return l&&r[i]?[...c,...r[i]]:c}}},Bm=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Bm(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(wu);return(i=t.validators.find(({validator:l})=>l(s)))==null?void 0:i.classGroupId},af=/^\[(.+)\]$/,By=e=>{if(af.test(e)){const t=af.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Uy=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Qy(Object.entries(e.classGroups),n).forEach(([s,i])=>{nc(i,r,s,t)}),r},nc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:lf(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Vy(o)){nc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{nc(i,lf(t,s),n,r)})})},lf=(e,t)=>{let n=e;return t.split(wu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Vy=e=>e.isThemeGetter,Qy=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,l])=>[t+i,l])):s);return[n,o]}):e,Ky=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},Um="!",Gy=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=l=>{const c=[];let u=0,f=0,p;for(let w=0;w<l.length;w++){let g=l[w];if(u===0){if(g===o&&(r||l.slice(w,w+s)===t)){c.push(l.slice(f,w)),f=w+s;continue}if(g==="/"){p=w;continue}}g==="["?u++:g==="]"&&u--}const h=c.length===0?l:l.substring(f),d=h.startsWith(Um),b=d?h.substring(1):h,y=p&&p>f?p-f:void 0;return{modifiers:c,hasImportantModifier:d,baseClassName:b,maybePostfixModifierPosition:y}};return n?l=>n({className:l,parseClassName:i}):i},Yy=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},qy=e=>({cache:Ky(e.cacheSize),parseClassName:Gy(e),...Hy(e)}),Xy=/\s+/,Jy=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(Xy);let l="";for(let c=i.length-1;c>=0;c-=1){const u=i[c],{modifiers:f,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:d}=n(u);let b=!!d,y=r(b?h.substring(0,d):h);if(!y){if(!b){l=u+(l.length>0?" "+l:l);continue}if(y=r(h),!y){l=u+(l.length>0?" "+l:l);continue}b=!1}const w=Yy(f).join(":"),g=p?w+Um:w,m=g+y;if(s.includes(m))continue;s.push(m);const v=o(y,b);for(let j=0;j<v.length;++j){const N=v[j];s.push(g+N)}l=u+(l.length>0?" "+l:l)}return l};function Zy(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Vm(t))&&(r&&(r+=" "),r+=n);return r}const Vm=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Vm(e[r]))&&(n&&(n+=" "),n+=t);return n};function ew(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((f,p)=>p(f),e());return n=qy(u),r=n.cache.get,o=n.cache.set,s=l,l(c)}function l(c){const u=r(c);if(u)return u;const f=Jy(c,n);return o(c,f),f}return function(){return s(Zy.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Qm=/^\[(?:([a-z-]+):)?(.+)\]$/i,tw=/^\d+\/\d+$/,nw=new Set(["px","full","screen"]),rw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ow=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,sw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,iw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ht=e=>Br(e)||nw.has(e)||tw.test(e),fn=e=>fo(e,"length",mw),Br=e=>!!e&&!Number.isNaN(Number(e)),el=e=>fo(e,"number",Br),Eo=e=>!!e&&Number.isInteger(Number(e)),lw=e=>e.endsWith("%")&&Br(e.slice(0,-1)),V=e=>Qm.test(e),pn=e=>rw.test(e),cw=new Set(["length","size","percentage"]),uw=e=>fo(e,cw,Km),dw=e=>fo(e,"position",Km),fw=new Set(["image","url"]),pw=e=>fo(e,fw,xw),hw=e=>fo(e,"",gw),Po=()=>!0,fo=(e,t,n)=>{const r=Qm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},mw=e=>ow.test(e)&&!sw.test(e),Km=()=>!1,gw=e=>iw.test(e),xw=e=>aw.test(e),vw=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),o=oe("borderColor"),s=oe("borderRadius"),i=oe("borderSpacing"),l=oe("borderWidth"),c=oe("contrast"),u=oe("grayscale"),f=oe("hueRotate"),p=oe("invert"),h=oe("gap"),d=oe("gradientColorStops"),b=oe("gradientColorStopPositions"),y=oe("inset"),w=oe("margin"),g=oe("opacity"),m=oe("padding"),v=oe("saturate"),j=oe("scale"),N=oe("sepia"),k=oe("skew"),S=oe("space"),_=oe("translate"),L=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",V,t],D=()=>[V,t],Q=()=>["",Ht,fn],M=()=>["auto",Br,V],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",V],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Br,V];return{cacheSize:500,separator:":",theme:{colors:[Po],spacing:[Ht,fn],blur:["none","",pn,
vendor: 11,539 bytes, line 130
130V],brightness:U(),borderColor:[e],borderRadius:["none","","full",pn,V],borderSpacing:D(),borderWidth:Q(),contrast:U(),grayscale:P(),hueRotate:U(),invert:P(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[lw,fn],inset:z(),margin:z(),opacity:U(),padding:D(),saturate:U(),scale:U(),sepia:P(),skew:U(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",V]}],container:["container"],columns:[{columns:[pn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),V]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Eo,V]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",V]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Eo,V]}],"grid-cols":[{"grid-cols":[Po]}],"col-start-end":[{col:["auto",{span:["full",Eo,V]},V]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Po]}],"row-start-end":[{row:["auto",{span:[Eo,V]},V]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",V]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",V]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",V,t]}],"min-w":[{"min-w":[V,t,"min","max","fit"]}],"max-w":[{"max-w":[V,t,"none","full","min","max","fit","prose",{screen:[pn]},pn]}],h:[{h:[V,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[V,t,"auto","min","max","fit"]}],"font-size":[{text:["base",pn,fn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",el]}],"font-family":[{font:[Po]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",V]}],"line-clamp":[{"line-clamp":["none",Br,el]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ht,V]}],"list-image":[{"list-image":["none",V]}],"list-style-type":[{list:["none","disc","decimal",V]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ht,fn]}],"underline-offset":[{"underline-offset":["auto",Ht,V]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),dw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",uw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pw]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Ht,V]}],"outline-w":[{outline:[Ht,fn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Ht,fn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",pn,hw]}],"shadow-color":[{shadow:[Po]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",pn,V]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[p]}],saturate:[{saturate:[v]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",V]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",V]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",V]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Eo,V]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",V]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",V]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 130
130],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",V]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ht,fn,el]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},yw=ew(vw);function xr(...e){return yw(Wm(e))}const ww=Ty,Gm=x.forwardRef(({className:e,...t},n)=>a.jsx(Lm,{ref:n,className:xr("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Gm.displayName=Lm.displayName;const bw=Ry("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Ym=x.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(Mm,{ref:r,className:xr(bw({variant:t}),e),...n}));Ym.displayName=Mm.displayName;const jw=x.forwardRef(({className:e,...t},n)=>a.jsx(Dm,{ref:n,className:xr("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));jw.displayName=Dm.displayName;const qm=x.forwardRef(({className:e,...t},n)=>a.jsx(Fm,{ref:n,className:xr("absolute right-2 top-2 rounded-md p-1 text-foreground
130/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx($y,{className:"h-4 w-4"})}));qm.displayName=Fm.displayName;const Xm=x.forwardRef(({className:e,...t},n)=>a.jsx(Om,{ref:n,className:xr("text-sm font-semibold",e),...t}));Xm.displayName=Om.displayName;const Jm=x.forwardRef(({className:e,...t},n)=>a.jsx(Im,{ref:n,className:xr("text-sm opacity-90",e),...t}));Jm.displayName=Im.displayName;function Nw(){const{toasts:e}=F0();return a.jsxs(ww,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return a.jsxs(Ym,{...s,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(Xm,{children:n}),r&&a.jsx(Jm,{children:r})]}),o,a.jsx(qm,{})]},t)}),a.jsx(Gm,{})]})}var cf=["light","dark"],kw="(prefers-color-scheme: dark)",Sw=x.createContext(void 0),Cw={setTheme:e=>{},themes:[]},Ew=()=>{var e;return(e=x.useContext(Sw))!=null?e:Cw};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:l,nonce:c})=>{let u=s==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=o?cf.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(b,y=!1,w=!0)=>{let g=i?i[b]:b,m=y?b+"|| ''":`'${g}'`,v="";return o&&w&&!y&&cf.includes(b)&&(v+=`d.style.colorScheme = '${b}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},d=e?`!function(){${f}${h(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${kw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${p}}catch(t){}}();`;return x.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:d}})});var Pw=e=>{switch(e){case"success":return Rw;case"info":return Lw;case"warning":return Aw;case"error":return Mw;default:return null}},_w=Array(12).fill(0),Tw=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},_w.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Rw=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Aw=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Lw=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Mw=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Ow=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Iw=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};
130return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},rc=1,Dw=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:rc++,s=this.toasts.find(l=>l.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:i,title:n}):l):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
130this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,i=r.then(async c=>{if(s=["resolve",c],R.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(zw(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:f})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:f})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,f=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:f})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>i.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||rc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},$e=new Dw,Fw=(e,t)=>{let n=(t==null?void 0:t.id)||rc++;return $e.addToast({title:e,...t,id:n}),n},zw=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Ww=Fw,$w=()=>$e.toasts,Hw=()=>$e.getActiveToasts();Object.assign(Ww,{success:$e.success,info:$e.info,warning:$e.warning,error:$e.error,custom:$e.custom,message:$e.message,promise:$e.promise,dismiss:$e.dismiss,loading:$e.loading},{getHistory:$w,getToasts:Hw});function Bw(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Bw(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
130left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
130:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
130--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 131`);function Gs(e){return e.label!==void 0}var Uw=3,Vw="32px",Qw="16px",uf=4e3,Kw=356,Gw=14,Yw=20,qw=200;function gt(...e){return e.filter(Boolean).join(" ")}function Xw(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var Jw=e=>{var t,n,r,o,s,i,l,c,u,f,p;let{invert:h,toast:d,unstyled:b,interacting:y,setHeights:w,visibleToasts:g,heights:m,index:v,toasts:j,expanded:N,removeToast:k,defaultRichColors:S,closeButton:_,style:L,cancelButtonStyle:A,actionButtonStyle:z,className:D="",descriptionClassName:Q="",duration:M,position:Y,gap:W,loadingIcon:B,expandByDefault:E,classNames:P,icons:O,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:F}=e,[K,q]=R.useState(null),[ge,Ce]=R.useState(null),[Z,vr]=R.useState(!1),[on,Kn]=R.useState(!1),[sn,yr]=R.useState(!1),[an,Ss]=R.useState(!1),[wa,Cs]=R.useState(!1),[ba,xo]=R.use
131State(0),[wr,Du]=R.useState(0),vo=R.useRef(d.duration||M||uf),Fu=R.useRef(null),Gn=R.useRef(null),Jg=v===0,Zg=v+1<=g,ot=d.type,br=d.dismissible!==!1,ex=d.className||"",tx=d.descriptionClassName||"",Es=R.useMemo(()=>m.findIndex($=>$.toastId===d.id)||0,[m,d.id]),nx=R.useMemo(()=>{var $;return($=d.closeButton)!=null?$:_},[d.closeButton,_]),zu=R.useMemo(()=>d.duration||M||uf,[d.duration,M]),ja=R.useRef(0),jr=R.useRef(0),Wu=R.useRef(0),Nr=R.useRef(null),[rx,ox]=Y.split("-"),$u=R.useMemo(()=>m.reduce(($,ne,ae)=>ae>=Es?$:$+ne.height,0),[m,Es]),Hu=Iw(),sx=d.invert||h,Na=ot==="loading";jr.current=R.useMemo(()=>Es*W+$u,[Es,$u]),R.useEffect(()=>{vo.current=zu},[zu]),R.useEffect(()=>{vr(!0)},[]),R.useEffect(()=>{let $=Gn.current;if($){let ne=$.getBoundingClientRect().height;return Du(ne),w(ae=>[{toastId:d.id,height:ne,position:d.position},...ae]),()=>w(ae=>ae.filter(ft=>ft.toastId!==d.id))}},[w,d.id]),R.useLayoutEffect(()=>{if(!Z)return;let $=Gn.current,ne=$.style.height;$.style.height="auto";let ae=$.getBoundingClientRect().height;$.style.height=ne,Du(ae),w(ft=>ft.find(pt=>pt.toastId===d.id)?ft.map(pt=>pt.toastId===d.id?{...pt,height:ae}:pt):[{toastId:d.id,height:ae,position:d.position},...ft])},[Z,d.title,d.description,w,d.id]);let ln=R.useCallback(()=>{Kn(!0),xo(jr.current),w($=>$.filter(ne=>ne.toastId!==d.id)),setTimeout(()=>{k(d)},qw)},[d,k,w,jr]);R.useEffect(()=>{if(d.promise&&ot==="loading"||d.duration===1/0||d.type==="loading")return;let $;return N||y||F&&Hu?(()=>{if(Wu.current<ja.current){let ne=new Date().getTime()-ja.current;vo.current=vo.current-ne}Wu.current=new Date().getTime()})():vo.current!==1/0&&(ja.current=new Date().getTime(),$=setTimeout(()=>{var ne;(ne=d.onAutoClose)==null||ne.call(d,d),ln()},vo.current)),()=>clearTimeout($)},[N,y,d,ot,F,Hu,ln]),R.useEffect(()=>{d.delete&&ln()},[ln,d.delete]);function ix(){var $,ne,ae;return O!=null&&O.loading?R.createElement("div",{className:gt(P==null?void 0:P.loader,($=d==null?void 0:d.classNames)==null?void 0:$.loader,"sonner-loader"),"data-visible":ot==="loading"},O.loading):B?R.createElement("div",{className:gt(P==null?void 0:P.loader,(ne=d==null?void 0:d.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":ot==="loading"},B):R.createElement(Tw,{className:gt(P==null?void 0:P.loader,(ae=d==null?void 0:d.classNames)==null?void 0:ae.loader),visible:ot==="loading"})}return R.createElement("li",{tabIndex:0,ref:Gn,className:gt(D,ex,P==null?void 0:P.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[ot],(n=d==null?void 0:d.classNames)==null?void 0:n[ot]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:S,"data-styled":!(d.jsx||d.unstyled||b),"data-mounted":Z,"data-promise":!!d.promise,"data-swiped":wa,"data-removed":on,"data-visible":Zg,"data-y-position":rx,"data-x-position":ox,"data-index":v,"data-front":Jg,"data-swiping":sn,"data-dismissible":br,"data-type":ot,"data-invert":sx,"data-swipe-out":an,"data-swipe-direction":ge,"data-expanded":!!(N||E&&Z),style:{"--index":v,"--toasts-before":v,"--z-index":j.length-v,"--offset":`${on?ba:jr.current}px`,"--initial-height":E?"auto":`${wr}px`,...L,...d.style},onDragEnd:()=>{yr(!1),q(null),Nr.current=null},onPointerDown:$=>{Na||!br||(Fu.current=new Date,xo(jr.current),$.target.setPointerCapture($.pointerId),$.target.tagName!=="BUTTON"&&(yr(!0),Nr.current={x:$.clientX,y:$.clientY}))},onPointerUp:()=>{var $,ne,ae,ft;if(an||!br)return;Nr.current=null;let pt=Number((($=Gn.current)==null?void 0:$.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),cn=Number(((ne=Gn.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Yn=new Date().getTime()-((ae=Fu.current)==null?void 0:ae.getTime()),ht=K==="x"?pt:cn,un=Math.abs(ht)/Yn;if(Math.abs(ht)>=Yw||un>.11){xo(jr.current),(ft=d.onDismiss)==null||ft.call(d,d),Ce(K==="x"?pt>0?"right":"left":cn>0?"down":"up"),ln(),Ss(!0),Cs(!1);return}yr(!1),q(null)},onPointerMove:$=>{var ne,ae,ft,pt;if(!Nr.current||!br||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let cn=$.clientY-Nr.current.y,Yn=$.clientX-Nr.current.x,ht=(ae=e.swipeDirections)!=null?ae:Xw(Y);!K&&(Math.abs(Yn)>1||Math.abs(cn)>1)&&q(Math.abs(Yn)>Math.abs(cn)?"x":"y");let un={x:0,y:0};K==="y"?(ht.includes("top")||ht.includes("bottom"))&&(ht.includes("top")&&cn<0||ht.includes("bottom")&&cn>0)&&(un.y=cn):K==="x"&&(ht.includes("left")||ht.includes("right"))&&(ht.includes("left")&&Yn<0||ht.includes("right")&&Yn>0)&&(un.x=Yn),(Math.abs(un.x)>0||Math.abs(un.y)>0)&&Cs(!0),(ft=Gn.current)==null||ft.style.setProperty("--swipe-amount-x",`${un.x}px`),(pt=Gn.current)==null||pt.style.setProperty("--swipe-amount-y",`${un.y}px`)}},nx&&!d.jsx?R.createElement("button",{"aria-label":U,"data-disabled":Na,"data-close-button":!0,onClick:Na||!br?()=>{}:()=>{var $;ln(),($=d.onDismiss)==null||$.call(d,d)},className:gt(P==null?void 0:P.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},(s=O==null?void 0:O.close)!=null?s:Ow):null,d.jsx||x.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:R.createElement(R.Fragment,null,ot||d.icon||d.promise?R.createElement("div",{"data-icon":"",className:gt(P==null?void 0:P.icon,(i=d==null?void 0:d.classNames)==null?void 0:i.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||ix():null,d.type!=="loading"?d.icon||(O==null?void 0:O[ot])||Pw(ot):null):null,R.createElement("div",{"data-content":"",className:gt(P==null?void 0:P.content,(l=d==null?void 0:d.classNames)==null?void 0:l.content)},R.createElement("div",{"data-title":"",className:gt(P==null?void 0:P.title,(c=d==null?void 0:d.classNames)==null?void 0:c.title)},typeof d.title=="function"?d.title():d.title),d.description?R.createElement("div",{"data-description":"",className:gt(Q,tx,P==null?void 0:P.description,(u=d==null?void 0:d.classNames)==null?void 0:u.description)},typeof d.description=="function"?d.description():d.description):null),x.isValidElement(d.cancel)?d.cancel:d.cancel&&Gs(d.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||A,onClick:$=>{var ne,ae;Gs(d.cancel)&&br&&((ae=(ne=d.cancel).onClick)==null||ae.call(ne,$),ln())},className:gt(P==null?void 0:P.cancelButton,(f=d==null?void 0:d.classNames)==null?void 0:f.cancelButton)},d.cancel.label):null,x.isValidElement(d.action)?d.action:d.action&&Gs(d.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||z,onClick:$=>{var ne,ae;Gs(d.action)&&((ae=(ne=d.action).onClick)==null||ae.call(ne,$),!$.defaultPrevented&&ln())},className:gt(P==null?void 0:P.actionButton,(p=d==null?void 0:d.classNames)==null?void 0:p.actionButton)},d.action.label):null))};function df(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Zw(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",l=s?Qw:Vw;function c(u){["top","right","bottom","left"].forEach(f=>{n[`${i}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var e1=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:l,offset:c,mobileOffset:u,theme:f="light",richColors:p,duration:h,style:d,visibleToasts:b=Uw,toastOptions:y,dir:w=df(),gap:g=Gw,loadingIcon:m,icons:v,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:N}
vendor: 4,253 bytes, line 131
131=e,[k,S]=R.useState([]),_=R.useMemo(()=>Array.from(new Set([r].concat(k.filter(F=>F.position).map(F=>F.position)))),[k,r]),[L,A]=R.useState([]),[z,D]=R.useState(!1),[Q,M]=R.useState(!1),[Y,W]=R.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=R.useRef(null),E=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=R.useRef(null),O=R.useRef(!1),U=R.useCallback(F=>{S(K=>{var q;return(q=K.find(ge=>ge.id===F.id))!=null&&q.delete||$e.dismiss(F.id),K.filter(({id:ge})=>ge!==F.id)})},[]);return R.useEffect(()=>$e.subscribe(F=>{if(F.dismiss){S(K=>K.map(q=>q.id===F.id?{...q,delete:!0}:q));return}setTimeout(()=>{dm.flushSync(()=>{S(K=>{let q=K.findIndex(ge=>ge.id===F.id);return q!==-1?[...K.slice(0,q),{...K[q],...F},...K.slice(q+1)]:[F,...K]})})})}),[]),R.useEffect(()=>{if(f!=="system"){W(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?W("dark"):W("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:K})=>{W(K?"dark":"light")})}catch{F.addListener(({matches:q})=>{try{W(q?"dark":"light")}catch(ge){console.error(ge)}})}},[f]),R.useEffect(()=>{k.length<=1&&D(!1)},[k]),R.useEffect(()=>{let F=K=>{var q,ge;o.every(Ce=>K[Ce]||K.code===Ce)&&(D(!0),(q=B.current)==null||q.focus()),K.code==="Escape"&&(document.activeElement===B.current||(ge=B.current)!=null&&ge.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[o]),R.useEffect(()=>{if(B.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,O.current=!1)}},[B.current]),R.createElement("section",{ref:t,"aria-label":`${j} ${E}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},_.map((F,K)=>{var q;let[ge,Ce]=F.split("-");return k.length?R.createElement("ol",{key:F,dir:w==="auto"?df():w,tabIndex:-1,ref:B,className:l,"data-sonner-toaster":!0,"data-theme":Y,"data-y-position":ge,"data-lifted":z&&k.length>1&&!s,"data-x-position":Ce,style:{"--front-toast-height":`${((q=L[0])==null?void 0:q.height)||0}px`,"--width":`${Kw}px`,"--gap":`${g}px`,...d,...Zw(c,u)},onBlur:Z=>{O.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(O.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||O.current||(O.current=!0,P.current=Z.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{Q||D(!1)},onDragEnd:()=>D(!1),onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},k.filter(Z=>!Z.position&&K===0||Z.position===F).map((Z,vr)=>{var on,Kn;return R.createElement(Jw,{key:Z.id,icons:v,index:vr,toast:Z,defaultRichColors:p,duration:(on=y==null?void 0:y.duration)!=null?on:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:b,closeButton:(Kn=y==null?void 0:y.closeButton)!=null?Kn:i,interacting:Q,position:F,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:U,toasts:k.filter(sn=>sn.position==Z.position),heights:L.filter(sn=>sn.position==Z.position),setHeights:A,expandByDefault:s,gap:g,loadingIcon:m,expanded:z,pauseWhenPageIsHidden:N,swipeDirections:e.swipeDirections})})):null}))});const t1=({...e})=>{const{theme:t="system"}=Ew();return a.jsx(e1,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},n1=["top","right","bottom","left"],Wn=Math.min,Xe=Math.max,$i=Math.round,Ys=Math.floor,zt=e=>({x:e,y:e}
vendor: 9,396 bytes, line 131
131),r1={left:"right",right:"left",bottom:"top",top:"bottom"},o1={start:"end",end:"start"};function oc(e,t,n){return Xe(e,Wn(t,n))}function en(e,t){return typeof e=="function"?e(t):e}function tn(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function bu(e){return e==="x"?"y":"x"}function ju(e){return e==="y"?"height":"width"}const s1=new Set(["top","bottom"]);function It(e){return s1.has(tn(e))?"y":"x"}function Nu(e){return bu(It(e))}function i1(e,t,n){n===void 0&&(n=!1);const r=po(e),o=Nu(e),s=ju(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Hi(i)),[i,Hi(i)]}function a1(e){const t=Hi(e);return[sc(e),t,sc(t)]}function sc(e){return e.replace(/start|end/g,t=>o1[t])}const ff=["left","right"],pf=["right","left"],l1=["top","bottom"],c1=["bottom","top"];function u1(e,t,n){switch(e){case"top":case"bottom":return n?t?pf:ff:t?ff:pf;case"left":case"right":return t?l1:c1;default:return[]}}function d1(e,t,n,r){const o=po(e);let s=u1(tn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(sc)))),s}function Hi(e){return e.replace(/left|right|bottom|top/g,t=>r1[t])}function f1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zm(e){return typeof e!="number"?f1(e):{top:e,right:e,bottom:e,left:e}}function Bi(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hf(e,t,n){let{reference:r,floating:o}=e;const s=It(t),i=Nu(t),l=ju(i),c=tn(t),u=s==="y",f=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,h=r[l]/2-o[l]/2;let d;switch(c){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:p};break;case"left":d={x:r.x-o.width,y:p};break;default:d={x:r.x,y:r.y}}switch(po(t)){case"start":d[i]-=h*(n&&u?-1:1);break;case"end":d[i]+=h*(n&&u?-1:1);break}return d}const p1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=hf(u,r,c),h=r,d={},b=0;for(let y=0;y<l.length;y++){const{name:w,fn:g}=l[y],{x:m,y:v,data:j,reset:N}=await g({x:f,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:d,rects:u,platform:i,elements:{reference:e,floating:t}});f=m??f,p=v??p,d={...d,[w]:{...d[w],...j}},N&&b<=50&&(b++,typeof N=="object"&&(N.placement&&(h=N.placement),N.rects&&(u=N.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):N.rects),{x:f,y:p}=hf(u,h,c)),y=-1)}return{x:f,y:p,placement:h,strategy:o,middlewareData:d}};async function ls(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=en(t,e),b=Zm(d),w=l[h?p==="floating"?"reference":"floating":p],g=Bi(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:c})),m=p==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),j=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},N=Bi(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:m,offsetParent:v,strategy:c}):m);return{top:(g.top-N.top+b.top)/j.y,bottom:(N.bottom-g.bottom+b.bottom)/j.y,left:(g.left-N.left+b.left)/j.x,right:(N.right-g.right+b.right)/j.x}}const h1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:l,middlewareData:c}=t,{element:u,padding:f=0}=en(e,t)||{};if(u==null)return{};const p=Zm(f),h={x:n,y:r},d=Nu(o),b=ju(d),y=await i.getDimensions(u),w=d==="y",g=w?"top":"left",m=w?"bottom":"right",v=w?"clientHeight":"clientWidth",j=s.reference[b]+s.reference[d]-h[d]-s.floating[b],N=h[d]-s.reference[d],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let S=k?k[v]:0;(!S||!await(i.isElement==null?void 0:i.isElement(k)))&&(S=l.floating[v]||s.floating[b]);const _=j/2-N/2,L=S/2-y[b]/2-1,A=Wn(p[g],L),z=Wn(p[m],L),D=A,Q=S-y[b]-z,M=S/2-y[b]/2+_,Y=oc(D,M,Q),W=!c.arrow&&po(o)!=null&&M!==Y&&s.reference[b]/2-(M<D?A:z)-y[b]/2<0,B=W?M<D?M-D:M-Q:0;return{[d]:h[d]+B,data:{[d]:Y,centerOffset:M-Y-B,...W&&{alignmentOffset:B}},reset:W}}}),m1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...w}=en(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=tn(o),m=It(l),v=tn(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),N=h||(v||!y?[Hi(l)]:a1(l)),k=b!=="none";!h&&k&&N.push(...d1(l,y,b,j));const S=[l,...N],_=await ls(t,w),L=[];let A=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&L.push(_[g]),p){const M=i1(o,i,j);L.push(_[M[0]],_[M[1]])}if(A=[...A,{placement:o,overflows:L}],!L.every(M=>M<=0)){var z,D;const M=(((z=s.flip)==null?void 0:z.index)||0)+1,Y=S[M];if(Y&&(!(p==="alignment"?m!==It(Y):!1)||A.every(E=>E.overflows[0]>0&&It(E.placement)===m)))return{data:{index:M,overflows:A},reset:{placement:Y}};let W=(D=A.filter(B=>B.overflows[0]<=0).sort((B,E)=>B.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!W)switch(d){case"bestFit":{var Q;const B=(Q=A.filter(E=>{if(k){const P=It(E.placement);return P===m||P==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(P=>P>0).reduce((P,O)=>P+O,0)]).sort((E,P)=>E[1]-P[1])[0])==null?void 0:Q[0];B&&(W=B);break}case"initialPlacement":W=l;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function mf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gf(e){return n1.some(t=>e[t]>=0)}const g1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=en(e,t);switch(r){case"referenceHidden":{const s=await ls(t,{...o,elementContext:"reference"}),i=mf(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:gf(i)}}}case"escaped":{const s=await ls(t,{...o,altBoundary:!0}),i=mf(s,n.floating);return{data:{escapedOffsets:i,escaped:gf(i)}}}default:return{}}}}},eg=new Set(["left","top"]);async function x1(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=tn(n),l=po(n),c=It(n)==="y",u=eg.has(i)?-1:1,f=s&&c?-1:1,p=en(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof b=="number"&&(d=l==="end"?b*-1:b),c?{x:d*f,y:h*u}:{x:h*u,y:d*f}}const v1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:l}=t,c=await x1(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},y1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...c}=en(e,t),u={x:n,y:r},f=await ls(t,c),p=It(tn(o)),h=bu(p);let d=u[h],b=u[p];if(s){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=d+f[w],v=d-f[g];d=oc(m,d,v)}if(i){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",m=b+f[w],v=b-f[g];b=oc(m,b,v)}const y=l.fn({...t,[h]:d,[p]:b});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[p]:i}}}}}},w1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=en(e,t),f={x:n,y:r},p=It(o),h=bu(p);let d=f[h],b=f[p];const y=en(l,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){const v=h==="y"?"height":"width",j=s.reference[h]-s.floating[v]+w.mainAxis,N=s.reference[h]+s.reference[v]-w.mainAxis;d<j?d=j:d>N&&(d=N)}if(u){var g,m;const v=h==="y"?"width":"height",j=eg.has(tn(o)),N=s.reference[p]-s.floating[v]+(j&&((g=i.offset)==null?void 0:g[p])||0)+(j?0:w.crossAxis),k=s.reference[p]+s.reference[v]+(j?0:((m=i.offset)==null?void 0:m[p])||0)-(j?w.crossAxis:0);b<N?b=N:b>k&&(b=k)}return{[h]:d,[p]:b}}}},b1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:l}=t,{apply:c=()=>{},...u}=en(e,t),f=await ls(t,u),p=tn(o),h=po(o),d=It(o)==="y",{width:b,height:y}=s.floating;let w,g;p==="top"||p==="bottom"?(w=p,g=h===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,w=h==="end"?"top":"bottom");const m=y-f.top-f.bottom,v=b-f.left-f.right,j=Wn(y-f[w],m),N=Wn(b-f[g],v),k=!t.middlewareData.shift;let S=j,_=N;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=m),k&&!h){const A=Xe(f.left,0),z=Xe(f.right,0),D=Xe(f.top,0),Q=Xe(f.bottom,0);d?_=b-2*(A!==0||z!==0?A+z:Xe(f.left,f.right)):S=y-2*(D!==0||Q!==0?D+
vendor: 5,071 bytes, line 131
131Q:Xe(f.top,f.bottom))}await c({...t,availableWidth:_,availableHeight:S});const L=await i.getDimensions(l.floating);return b!==L.width||y!==L.height?{reset:{rects:!0}}:{}}}};function pa(){return typeof window<"u"}function ho(e){return tg(e)?(e.nodeName||"").toLowerCase():"#document"}function et(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $t(e){var t;return(t=(tg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tg(e){return pa()?e instanceof Node||e instanceof et(e).Node:!1}function Pt(e){return pa()?e instanceof Element||e instanceof et(e).Element:!1}function Wt(e){return pa()?e instanceof HTMLElement||e instanceof et(e).HTMLElement:!1}function xf(e){return!pa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof et(e).ShadowRoot}const j1=new Set(["inline","contents"]);function Ns(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=_t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!j1.has(o)}const N1=new Set(["table","td","th"]);function k1(e){return N1.has(ho(e))}const S1=[":popover-open",":modal"];function ha(e){return S1.some(t=>{try{return e.matches(t)}catch{return!1}})}const C1=["transform","translate","scale","rotate","perspective"],E1=["transform","translate","scale","rotate","perspective","filter"],P1=["paint","layout","strict","content"];function ku(e){const t=Su(),n=Pt(e)?_t(e):e;return C1.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||E1.some(r=>(n.willChange||"").includes(r))||P1.some(r=>(n.contain||"").includes(r))}function _1(e){let t=$n(e);for(;Wt(t)&&!io(t);){if(ku(t))return t;if(ha(t))return null;t=$n(t)}return null}function Su(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const T1=new Set(["html","body","#document"]);function io(e){return T1.has(ho(e))}function _t(e){return et(e).getComputedStyle(e)}function ma(e){return Pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $n(e){if(ho(e)==="html")return e;const t=e.assignedSlot||e.parentNode||xf(e)&&e.host||$t(e);return xf(t)?t.host:t}function ng(e){const t=$n(e);return io(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wt(t)&&Ns(t)?t:ng(t)}function cs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=ng(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=et(o);if(s){const l=ic(i);return t.concat(i,i.visualViewport||[],Ns(o)?o:[],l&&n?cs(l):[])}return t.concat(o,cs(o,[],n))}function ic(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rg(e){const t=_t(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Wt(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=$i(n)!==s||$i(r)!==i;return l&&(n=s,r=i),{width:n,height:r,$:l}}function Cu(e){return Pt(e)?e:e.contextElement}function Ur(e){const t=Cu(e);if(!Wt(t))return zt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=rg(t);let i=(s?$i(n.width):n.width)/r,l=(s?$i(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const R1=zt(0);function og(e){const t=et(e);return!Su()||!t.visualViewport?R1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function A1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==et(e)?!1:t}function hr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Cu(e);let i=zt(1);t&&(r?Pt(r)&&(i=Ur(r)):i=Ur(e));const l=A1(s,n,r)?og(s):zt(0);let c=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,f=o.width/i.x,p=o.height/i.y;if(s){const h=et(s),d=r&&Pt(r)?et(r):r;let b=h,y=ic(b);for(;y&&r&&d!==b;){const w=Ur(y),g=y.getBoundingClientRect(),m=_t(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*w.x,j=g.top+(y.clientTop+parseFloat(m.paddingTop))*w.y;c*=w.x,u*=w.y,f*=w.x,p*=w.y,c+=v,u+=j,b=et(y),y=ic(b)}}return Bi({width:f,height:p,x:c,y:u})}function Eu(e,t){const n=ma(e).scrollLeft;return t?t.left+n:hr($t(e)).left+n}function sg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Eu(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function L1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=$t(r),l=t?ha(t.floating):!1;if(r===i||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=zt(1);const f=zt(0),p=Wt(r);if((p||!p&&!s)&&((ho(r)!=="body"||Ns(i))&&(c=ma(r)),Wt(r))){const d=hr(r);u=Ur(r),f.x=d.x+r.clientLeft,f.y=d.y+r.clientTop}const h=i&&!p&&!s?sg(i,c,!0):zt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+h.x,y:n.y*u.y-c.scrollTop*u.y+f.y+h.y}}function M1(e){return Array.from(e.getClientRects())}function O1(e){const t=$t(e),n=ma(e),r=e.ownerDocument.body,o=Xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Eu(e);const l=-n.scrollTop;return _t(r).direction==="rtl"&&(i+=Xe(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:l}}
vendor: 10,451 bytes, line 131
131function I1(e,t){const n=et(e),r=$t(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,c=0;if(o){s=o.width,i=o.height;const u=Su();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:l,y:c}}const D1=new Set(["absolute","fixed"]);function F1(e,t){const n=hr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Wt(e)?Ur(e):zt(1),i=e.clientWidth*s.x,l=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:l,x:c,y:u}}function vf(e,t,n){let r;if(t==="viewport")r=I1(e,n);else if(t==="document")r=O1($t(e));else if(Pt(t))r=F1(t,n);else{const o=og(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Bi(r)}function ig(e,t){const n=$n(e);return n===t||!Pt(n)||io(n)?!1:_t(n).position==="fixed"||ig(n,t)}function z1(e,t){const n=t.get(e);if(n)return n;let r=cs(e,[],!1).filter(l=>Pt(l)&&ho(l)!=="body"),o=null;const s=_t(e).position==="fixed";let i=s?$n(e):e;for(;Pt(i)&&!io(i);){const l=_t(i),c=ku(i);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&D1.has(o.position)||Ns(i)&&!c&&ig(e,i))?r=r.filter(f=>f!==i):o=l,i=$n(i)}return t.set(e,r),r}function W1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?ha(t)?[]:z1(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,f)=>{const p=vf(t,f,o);return u.top=Xe(p.top,u.top),u.right=Wn(p.right,u.right),u.bottom=Wn(p.bottom,u.bottom),u.left=Xe(p.left,u.left),u},vf(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function $1(e){const{width:t,height:n}=rg(e);return{width:t,height:n}}function H1(e,t,n){const r=Wt(t),o=$t(t),s=n==="fixed",i=hr(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=zt(0);function u(){c.x=Eu(o)}if(r||!r&&!s)if((ho(t)!=="body"||Ns(o))&&(l=ma(t)),r){const d=hr(t,!0,s,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else o&&u();s&&!r&&o&&u();const f=o&&!r&&!s?sg(o,l):zt(0),p=i.left+l.scrollLeft-c.x-f.x,h=i.top+l.scrollTop-c.y-f.y;return{x:p,y:h,width:i.width,height:i.height}}function tl(e){return _t(e).position==="static"}function yf(e,t){if(!Wt(e)||_t(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return $t(e)===n&&(n=n.ownerDocument.body),n}function ag(e,t){const n=et(e);if(ha(e))return n;if(!Wt(e)){let o=$n(e);for(;o&&!io(o);){if(Pt(o)&&!tl(o))return o;o=$n(o)}return n}let r=yf(e,t);for(;r&&k1(r)&&tl(r);)r=yf(r,t);return r&&io(r)&&tl(r)&&!ku(r)?n:r||_1(e)||n}const B1=async function(e){const t=this.getOffsetParent||ag,n=this.getDimensions,r=await n(e.floating);return{reference:H1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function U1(e){return _t(e).direction==="rtl"}const V1={convertOffsetParentRelativeRectToViewportRelativeRect:L1,getDocumentElement:$t,getClippingRect:W1,getOffsetParent:ag,getElementRects:B1,getClientRects:M1,getDimensions:$1,getScale:Ur,isElement:Pt,isRTL:U1};function lg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Q1(e,t){let n=null,r;const o=$t(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:f,top:p,width:h,height:d}=u;if(l||t(),!h||!d)return;const b=Ys(p),y=Ys(o.clientWidth-(f+h)),w=Ys(o.clientHeight-(p+d)),g=Ys(f),v={rootMargin:-b+"px "+-y+"px "+-w+"px "+-g+"px",threshold:Xe(0,Wn(1,c))||1};let j=!0;function N(k){const S=k[0].intersectionRatio;if(S!==c){if(!j)return i();S?i(!1,S):r=setTimeout(()=>{i(!1,1e-7)},1e3)}S===1&&!lg(u,e.getBoundingClientRect())&&i(),j=!1}try{n=new IntersectionObserver(N,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(N,v)}n.observe(e)}return i(!0),s}function K1(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Cu(e),f=o||s?[...u?cs(u):[],...cs(t)]:[];f.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const p=u&&l?Q1(u,n):null;let h=-1,d=null;i&&(d=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(t)})),n()}),u&&!c&&d.observe(u),d.observe(t));let b,y=c?hr(e):null;c&&w();function w(){const g=hr(e);y&&!lg(y,g)&&n(),y=g,b=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(m=>{o&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),p==null||p(),(g=d)==null||g.disconnect(),d=null,c&&cancelAnimationFrame(b)}}const G1=v1,Y1=y1,q1=m1,X1=b1,J1=g1,wf=h1,Z1=w1,eb=(e,t,n)=>{const r=new Map,o={platform:V1,...n},s={...o.platform,_c:r};return p1(e,t,{...o,platform:s})};var tb=typeof document<"u",nb=function(){},mi=tb?x.useLayoutEffect:nb;function Ui(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ui(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Ui(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function cg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bf(e,t){const n=cg(e);return Math.round(t*n)/n}function nl(e){const t=x.useRef(e);return mi(()=>{t.current=e}),t}function rb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[f,p]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,d]=x.useState(r);Ui(h,r)||d(r);const[b,y]=x.useState(null),[w,g]=x.useState(null),m=x.useCallback(E=>{E!==k.current&&(k.current=E,y(E))},[]),v=x.useCallback(E=>{E!==S.current&&(S.current=E,g(E))},[]),j=s||b,N=i||w,k=x.useRef(null),S=x.useRef(null),_=x.useRef(f),L=c!=null,A=nl(c),z=nl(o),D=nl(u),Q=x.useCallback(()=>{if(!k.current||!S.current)return;const E={placement:t,strategy:n,middleware:h};z.current&&(E.platform=z.current),eb(k.current,S.current,E).then(P=>{const O={...P,isPositioned:D.current!==!1};M.current&&!Ui(_.current,O)&&(_.current=O,bs.flushSync(()=>{p(O)}))})},[h,t,n,z,D]);mi(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[u]);const M=x.useRef(!1);mi(()=>(M.current=!0,()=>{M.current=!1}),[]),mi(()=>{if(j&&(k.current=j),N&&(S.current=N),j&&N){if(A.current)return A.current(j,N,Q);Q()}},[j,N,Q,A,L]);const Y=x.useMemo(()=>({reference:k,floating:S,setReference:m,setFloating:v}),[m,v]),W=x.useMemo(()=>({reference:j,floating:N}),[j,N]),B=x.useMemo(()=>{const E={position:n,left:0,top:0};if(!W.floating)return E;const P=bf(W.floating,f.x),O=bf(W.floating,f.y);return l?{...E,transform:"translate("+P+"px, "+O+"px)",...cg(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:O}},[n,l,W.floating,f.x,f.y]);return x.useMemo(()=>({...f,update:Q,refs:Y,elements:W,floatingStyles:B}),[f,Q,Y,W,B])}const ob=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?wf({element:r.current,padding:o}).fn(n):{}:r?wf({element:r,padding:o}).fn(n):{}}}},sb=(e,t)=>({...G1(e),options:[e,t]}),ib=(e,t)=>({...Y1(e),options:[e,t]}),ab=(e,t)=>({...Z1(e),options:[e,t]}),lb=(e,t)=>({...q1(e),options:[e,t]}),cb=(e,t)=>({...X1(e),options:[e,t]}),ub=(e,t)=>({...J1(e),options:[e,t]}),db=(e,t)=>({...ob(e),options:[e,t]});var fb="Arrow",ug=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return a.jsx(Ge.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});ug.displayName=fb;var pb=ug;function hb(e){const[t,n]=x.useState(void 0);return zn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var dg="Popper",[fg,pg]=ua(dg),[Dk,hg]=fg(dg),mg="PopperAnchor",gg=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=hg(mg,n),i=x.useRef(null),l=Et(t,i);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:a.jsx(Ge.div,{...o,ref:l})});gg.displayName=mg;var Pu="PopperContent",[mb,gb]=fg(Pu),xg=x.forwardRef((e,t)=>{var Z,vr,on,Kn,sn,yr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:p="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:b,...y}=e,w=hg(Pu,n),[g,m]=x.useState(null),v=Et(t,an=>m(an)),[j,N]=x.useState(null),k=hb(j),S=(k==null?void 0:k.width)??0,_=(k==null?void 0:k.height)??0,L=r+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},z=Array.isArray(u)?u:[u],D=z.length>0,Q={padding:A,boundary:z.filter(vb),altBoundary:D},{refs:M,floatingStyles:Y,placement:W,isPositioned:B,middlewareData:E}=rb({strategy:"fixed",placement:L,whileElementsMounted:(...an)=>K1(...an,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[sb({mainAxis:o+_,alignmentAxis:i}),c&&ib({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?ab():void 0,...Q}),c&&lb({...Q}),cb({...Q,apply:({elements:an,rects:Ss,availableWidth:wa,availableHeight:Cs})=>{const{width:ba,height:xo}=Ss.reference,wr=an.floating.style;wr.setProperty("--radix-popper-available-width",`${wa}px`),wr.setProperty("--radix-popper-available-height",`${Cs}px`),wr.setProperty("--radix-popper-anchor-width",`${ba}px`),wr.setProperty("--radix-popper-anchor-height",`${xo}px`)}}),j&&db({element:j,padding:l}),yb({arrowWidth:S,arrowHeight:_}),h&&ub({strategy:"referenceHidden",...Q})]}),[P,O]=wg(W),U=Fn(b);zn(()=>{B&&(U==null||U())},[B,U]);const F=(Z=E.arrow)==null?void 0:Z.x,K=(vr=E.arrow)==null?void 0:vr.y,q=((on=E.arrow)==null?void 0:on.centerOffset)!==0,[ge,Ce]=x.use
vendor: 4,258 bytes, line 131
131State();return zn(()=>{g&&Ce(window.getComputedStyle(g).zIndex)},[g]),a.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:B?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[(Kn=E.transformOrigin)==null?void 0:Kn.x,(sn=E.transformOrigin)==null?void 0:sn.y].join(" "),...((yr=E.hide)==null?void 0:yr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(mb,{scope:n,placedSide:P,onArrowChange:N,arrowX:F,arrowY:K,shouldHideArrow:q,children:a.jsx(Ge.div,{"data-side":P,"data-align":O,...y,ref:v,style:{...y.style,animation:B?void 0:"none"}})})})});xg.displayName=Pu;var vg="PopperArrow",xb={top:"bottom",right:"left",bottom:"top",left:"right"},yg=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=gb(vg,r),i=xb[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(pb,{...o,ref:n,style:{...o.style,display:"block"}})})});yg.displayName=vg;function vb(e){return e!==null}var yb=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,f]=wg(n),p={start:"0%",center:"50%",end:"100%"}[f],h=(((g=o.arrow)==null?void 0:g.x)??0)+l/2,d=(((m=o.arrow)==null?void 0:m.y)??0)+c/2;let b="",y="";return u==="bottom"?(b=i?p:`${h}px`,y=`${-c}px`):u==="top"?(b=i?p:`${h}px`,y=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,y=i?p:`${d}px`):u==="left"&&(b=`${r.floating.width+c}px`,y=i?p:`${d}px`),{data:{x:b,y}}}});function wg(e){const[t,n="center"]=e.split("-");return[t,n]}var wb=gg,bb=xg,jb=yg,[ga,Fk]=ua("Tooltip",[pg]),_u=pg(),bg="TooltipProvider",Nb=700,jf="tooltip.open",[kb,jg]=ga(bg),Ng=e=>{const{__scopeTooltip:t,delayDuration:n=Nb,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=x.useRef(!0),l=x.useRef(!1),c=x.useRef(0);return x.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(kb,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};Ng.displayName=bg;var kg="Tooltip",[zk,xa]=ga(kg),ac="TooltipTrigger",Sb=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=xa(ac,n),s=jg(ac,n),i=_u(n),l=x.useRef(null),c=Et(t,l,o.onTriggerChange),u=x.useRef(!1),f=x.useRef(!1),p=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),a.jsx(wb,{asChild:!0,...i,children:a.jsx(Ge.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:ye(e.onPointerMove,h=>{h.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ye(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ye(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:ye(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ye(e.onBlur,o.onClose),onClick:ye(e.onClick,o.onClose)})})});Sb.displayName=ac;var Cb="TooltipPortal",[Wk,Eb]=ga(Cb,{forceMount:void 0}),ao="TooltipContent",Sg=x.forwardRef((e,t)=>{const n=Eb(ao,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=xa(ao,e.__scopeTooltip);return a.jsx(uu,{present:r||i.open,children:i.disableHoverableContent?a.jsx(Cg,{side:o,...s,ref:t}):a.jsx(Pb,{side:o,...s,ref:t})})}),Pb=x.forwardRef((e,t)=>{const n=xa(ao,e.__scopeTooltip),r=jg(ao,e.__scopeTooltip),o=x.useRef(null),s=Et(t,o),[i,l]=x.useState(null),{trigger:c,onClose:u}=n,f=o.current,{onPointerInTransitChange:p}=r,h=x.useCallback(()=>
vendor: 2,178 bytes, line 131
131{l(null),p(!1)},[p]),d=x.useCallback((b,y)=>{const w=b.currentTarget,g={x:b.clientX,y:b.clientY},m=Lb(g,w.getBoundingClientRect()),v=Mb(g,m),j=Ob(y.getBoundingClientRect()),N=Db([...v,...j]);l(N),p(!0)},[p]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(c&&f){const b=w=>d(w,f),y=w=>d(w,c);return c.addEventListener("pointerleave",b),f.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",y)}}},[c,f,d,h]),x.useEffect(()=>{if(i){const b=y=>{const w=y.target,g={x:y.clientX,y:y.clientY},m=(c==null?void 0:c.contains(w))||(f==null?void 0:f.contains(w)),v=!Ib(g,i);m?h():v&&(h(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,f,i,u,h]),a.jsx(Cg,{...e,ref:s})}),[_b,Tb]=ga(kg,{isInside:!1}),Rb=$0("TooltipContent"),Cg=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...l}=e,c=xa(ao,n),u=_u(n),{onClose:f}=c;return x.useEffect(()=>(document.addEventListener(jf,f),()=>document.removeEventListener(jf,f)),[f]),x.useEffect(()=>{if(c.trigger){const p=h=>{const d=h.target;d!=null&&d.contains(c.trigger)&&f()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,f]),a.jsx(cu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:f,children:a.jsxs(bb,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(Rb,{children:r}),a.jsx(_b,{scope:n,isInside:!0,children:a.jsx(fy,{id:c.contentId,role:"tooltip",children:o||r})})]})})});Sg.displayName=ao;var Eg="TooltipArrow",Ab=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=_u(n);
131return Tb(Eg,n).isInside?null:a.jsx(jb,{...o,...r,ref:t})});Ab.displayName=Eg;function Lb(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Mb(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Ob(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Ib(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const l=t[s],c=t[i],u=l.x,f=l.y,p=c.x,h=c.y;f>r!=h>r&&n<(p-u)*(r-f)/(h-f)+u&&(o=!o)}return o}function Db(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Fb(t)}function Fb(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var zb=Ng,Pg=Sg;const Wb=zb,$b=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(Pg,{ref:r,sideOffset:t,className:xr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));$b.displayName=Pg.displayName;var va=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(){}},ya=typeof window>"u"||"Deno"in globalThis;function yt(){}function Hb(e,t){return typeof e=="function"?e(t):e}function Bb(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ub(e,t){return Math.max(e+(t||0)-Date.now(),0)}function lc(e,t){return typeof e=="function"?e(t):e}function Vb(e,t){return typeof e=="function"?e(t):e}function Nf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:l}=e;if(i){if(r){if(t.queryHash!==Tu(i,t.options))return!1}else if(!ds(t.queryKey,i))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||s&&!s(t))}function kf(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(us(t.options.mutationKey)!==us(s))return!1}else if(!ds(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Tu(e,t){return((t==null?void 0:t.queryKeyHashFn)||us)(e)}function us(e){return JSON.stringify(e,(t,n)=>cc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ds(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ds(e[n],t[n])):!1}function _g(e,t){if(e===t)return e;const n=Sf(e)&&Sf(t);if(n||cc(e)&&cc(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,l=n?[]:{},c=new Set(r);let u=0;for(let f=0;f<i;f++){const p=n?f:s[f];(!n&&c.has(p)||n)&&e[p]===void 0&&t[p]===void 0?(l[p]=void 0,u++):(l[p]=_g(e[p],t[p]),l[p]===e[p]&&e[p]!==void 0&&u++)}return o===i&&u===o?e:l}return t}function Sf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function cc(e){if(!Cf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Cf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Cf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qb(e){return new Promise(t=>{setTimeout(t,e)})}function Kb(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_g(e,t):t}function Gb(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Yb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}
vendor: 4,399 bytes, line 131
131var Ru=Symbol();function Tg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ru?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var tr,yn,Vr,Bf,qb=(Bf=class extends va{constructor(){super();J(this,tr);J(this,yn);J(this,Vr);H(this,Vr,t=>{if(!ya&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,yn)||this.setEventListener(C(this,Vr))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,yn))==null||t.call(this),H(this,yn,void 0))}setEventListener(t){var n;H(this,Vr,t),(n=C(this,yn))==null||n.call(this),H(this,yn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){C(this,tr)!==t&&(H(this,tr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,tr)=="boolean"?C(this,tr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},tr=new WeakMap,yn=new WeakMap,Vr=new WeakMap,Bf),Rg=new qb,Qr,wn,Kr,Uf,Xb=(Uf=class extends va{constructor(){super();J(this,Qr,!0);J(this,wn);J(this,Kr);H(this,Kr,t=>{if(!ya&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){C(this,wn)||this.setEventListener(C(this,Kr))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,wn))==null||t.call(this),H(this,wn,void 0))}setEventListener(t){var n;H(this,Kr,t),(n=C(this,wn))==null||n.call(this),H(this,wn,t(this.setOnline.bind(this)))}setOnline(t){C(this,Qr)!==t&&(H(this,Qr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return C(this,Qr)}},Qr=new WeakMap,wn=new WeakMap,Kr=new WeakMap,Uf),Vi=new Xb;function Jb(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Zb(e){return Math.min(1e3*2**e,3e4)}function Ag(e){return(e??"online")==="online"?Vi.isOnline():!0}var Lg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function rl(e){return e instanceof Lg}function Mg(e){let t=!1,n=0,r=!1,o;const s=Jb(),i=y=>{var w;r||(h(new Lg(y)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Rg.isFocused()&&(e.networkMode==="always"||Vi.isOnline())&&e.canRun(),f=()=>Ag(e.networkMode)&&e.canRun(),p=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),o==null||o(),s.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),o==null||o(),s.reject(y))},d=()=>new Promise(y=>{var w;o=g=>{(r||u())&&y(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),b=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(p).catch(g=>{var k;if(r)return;const m=e.retry??(ya?0:3),v=e.retryDelay??Zb,j=typeof v=="function"?v(n,g):v,N=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!N){h(g);return}n++,(k=e.onFail)==null||k.call(e,n,g),Qb(j).then(()=>u()?void 0:d()).then(()=>{t?h(g):b()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:l,continueRetry:c,canStart:f,start:()=>(f()?b():d().then(b),s)}}var e2=e=>setTimeout(e,0);function t2(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=e2;const s=l=>{t?e.push(l):o(()=>{n(l)})},i=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||i()}return c},batchCalls:l=>(...c)=>{s(()=>{l(...c)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var De=t2(),nr,Vf,Og=(Vf=class{constructor(){J(this,nr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Bb(this.gcTime)&&H(this,nr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ya?1/0:5*60*1e3))}clearGcTimeout(){C(this,nr)&&(clearTimeout(C(this,nr)),H(this,nr,void 0))}},nr=new WeakMap,Vf),Gr,rr,st,or,Te,hs,sr,wt,Bt,Qf,n2=(Qf=class extends Og{constructor(t){super();
vendor: 2,651 bytes, line 131
131J(this,wt);J(this,Gr);J(this,rr);J(this,st);J(this,or);J(this,Te);J(this,hs);J(this,sr);H(this,sr,!1),H(this,hs,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,or,t.client),H(this,st,C(this,or).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Gr,o2(this.options)),this.state=t.state??C(this,Gr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Te))==null?void 0:t.promise}setOptions(t){this.options={...C(this,hs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,st).remove(this)}setData(t,n){const r=Kb(this.state.data,t,this.options);return Ee(this,wt,Bt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ee(this,wt,Bt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=C(this,Te))==null?void 0:r.promise;return(o=C(this,Te))==null||o.cancel(t),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,Gr))}isActive(){return this.observers.some(t=>Vb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ru||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>lc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Ub(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Te))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Te))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,st).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Te)&&(C(this,sr)?C(this,Te).cancel({revert:!0}):C(this,Te).cancelRetry()),this.scheduleGc()),C(this,st).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ee(this,wt,Bt).call(this,{type:"invalidate"})}
vendor: 8,718 bytes, line 131
131fetch(t,n){var u,f,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Te))return C(this,Te).continueRetry(),C(this,Te).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(d=>d.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(H(this,sr,!0),r.signal)})},s=()=>{const h=Tg(this.options,n),b=(()=>{const y={client:C(this,or),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return H(this,sr,!1),this.options.persister?this.options.persister(h,b,this):h(b)},l=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,or),state:this.state,fetchFn:s};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(l,this),H(this,rr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=l.fetchOptions)==null?void 0:f.meta))&&Ee(this,wt,Bt).call(this,{type:"fetch",meta:(p=l.fetchOptions)==null?void 0:p.meta});const c=h=>{var d,b,y,w;rl(h)&&h.silent||Ee(this,wt,Bt).call(this,{type:"error",error:h}),rl(h)||((b=(d=C(this,st).config).onError)==null||b.call(d,h,this),(w=(y=C(this,st).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return H(this,Te,Mg({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var d,b,y,w;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){c(g);return}(b=(d=C(this,st).config).onSuccess)==null||b.call(d,h,this),(w=(y=C(this,st).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,d)=>{Ee(this,wt,Bt).call(this,{type:"failed",failureCount:h,error:d})},onPause:()=>{Ee(this,wt,Bt).call(this,{type:"pause"})},onContinue:()=>{Ee(this,wt,Bt).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),C(this,Te).start()}},Gr=new WeakMap,rr=new WeakMap,st=new WeakMap,or=new WeakMap,Te=new WeakMap,hs=new WeakMap,sr=new WeakMap,wt=new WeakSet,Bt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...r2(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,rr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return rl(o)&&o.revert&&C(this,rr)?{...C(this,rr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),De.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,st).notify({query:this,type:"updated",action:t})})},Qf);function r2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ag(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function o2(e){const 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"}}var At,Kf,s2=(Kf=class extends va{constructor(t={}){super();J(this,At);this.config=t,H(this,At,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Tu(o,n);let i=this.get(s);return i||(i=new n2({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){C(this,At).has(t.queryHash)||(C(this,At).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,At).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,At).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){De.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,At).get(t)}getAll(){return[...C(this,At).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Nf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Nf(t,r)):n}notify(t){De.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){De.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){De.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},At=new WeakMap,Kf),Lt,Oe,ir,Mt,hn,Gf,i2=(Gf=class extends Og{constructor(t){super();J(this,Mt);J(this,Lt);J(this,Oe);J(this,ir);this.mutationId=t.mutationId,H(this,Oe,t.mutationCache),H(this,Lt,[]),this.state=t.state||a2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,Lt).includes(t)||(C(this,Lt).push(t),this.clearGcTimeout(),C(this,Oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Lt,C(this,Lt).filter(n=>n!==t)),this.scheduleGc(),C(this,Oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Lt).length||(this.state.status==="pending"?this.scheduleGc():C(this,Oe).remove(this))}continue(){var t;return((t=C(this,ir))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,l,c,u,f,p,h,d,b,y,w,g,m,v,j,N,k,S,_;const n=()=>{Ee(this,Mt,hn).call(this,{type:"continue"})};H(this,ir,Mg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(L,A)=>{Ee(this,Mt,hn).call(this,{type:"failed",failureCount:L,error:A})},onPause:()=>{Ee(this,Mt,hn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Oe).canRun(this)}));const r=this.state.status==="pending",o=!C(this,ir).canStart();try{if(r)n();else{Ee(this,Mt,hn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=C(this,Oe).config).onMutate)==null?void 0:i.call(s,t,this));const A=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));A!==this.state.context&&Ee(this,Mt,hn).call(this,{type:"pending",context:A,variables:t,isPaused:o})}const L=await C(this,ir).start();return await((f=(u=C(this,Oe).config).onSuccess)==null?void 0:f.call(u,L,t,this.state.context,this)),await((h=(p=this.options).onSuccess)==null?void 0:h.call(p,L,t,this.state.context)),await((b=(d=C(this,Oe).config).onSettled)==null?void 0:b.call(d,L,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,L,null,t,this.state.context)),Ee(this,Mt,hn).call(this,{type:"success",data:L}),L}catch(L){try{throw await((m=(g=C(this,Oe).config).onError)==null?void 0:m.call(g,L,t,this.state.context,this)),await((j=(v=this.options).onError)==null?void 0:j.call(v,L,t,this.state.context)),await((k=(N=C(this,Oe).config).onSettled)==null?void 0:k.call(N,void 0,L,this.state.variables,this.state.context,this)),await((_=(S=this.options).onSettled)==null?void 0:_.call(S,void 0,L,t,this.state.context)),L}finally{Ee(this,Mt,hn).call(this,{type:"error",error:L})}}finally{C(this,Oe).runNext(this)}}},Lt=new WeakMap,Oe=new WeakMap,ir=new WeakMap,Mt=new WeakSet,hn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),De.batch(()=>{C(this,Lt).forEach(r=>{r.onMutationUpdate(t)}),C(this,Oe).notify({mutation:this,type:"updated",action:t})})},Gf);function a2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Qt,bt,ms,Yf,l2=(Yf=class extends va{constructor(t={}){super();
131J(this,Qt);J(this,bt);J(this,ms);this.config=t,H(this,Qt,new Set),H(this,bt,new Map),H(this,ms,0)}build(t,n,r){const o=new i2({mutationCache:this,mutationId:++Ps(this,ms)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){C(this,Qt).add(t);const n=qs(t);if(typeof n=="string"){const r=C(this,bt).get(n);r?r.push(t):C(this,bt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,Qt).delete(t)){const n=qs(t);if(typeof n=="string"){const r=C(this,bt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&C(this,bt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=qs(t);if(typeof n=="string"){const r=C(this,bt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=qs(t);if(typeof n=="string"){const o=(r=C(this,bt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){De.batch(()=>{C(this,Qt).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,Qt).clear(),C(this,bt).clear()})}getAll(){return Array.from(C(this,Qt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>kf(n,r))}findAll(t={}){return this.getAll().filter(n=>kf(t,n))}notify(t){De.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return De.batch(()=>Promise.all(t.map(n=>n.continue().catch(yt))))}},Qt=new WeakMap,bt=new WeakMap,ms=new WeakMap,Yf);function qs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ef(e){return{onFetch:(t,n)=>{var f,p,h,d,b;const r=t.options,o=(h=(p=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:p.fetchMore)==null?void 0:h.direction,s=((d=t.state.data)==null?void 0:d.pages)||[],i=((b=t.state.data)==null?void 0:b.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=Tg(t.options,t.fetchOptions),m=async(v,j,N)=>{if(y)return Promise.reject();if(j==null&&v.pages.length)return Promise.resolve(v);const S=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:j,direction:N?"backward":"forward",meta:t.options.meta};return w(z),z})(),_=await g(S),{maxPages:L}=t.options,A=N?Yb:Gb;return{pages:A(v.pages,_,L),pageParams:A(v.pageParams,j,L)}};if(o&&s.length){const v=o==="backward",j=v?c2:Pf,N={pages:s,pageParams:i},k=j(r,N);l=await m(N,k,v)}else{const v=e??s.length;do{const j=c===0?i[0]??r.initialPageParam:Pf(r,l);if(c>0&&j==null)break;l=await m(l,j),c++}while(c<v)}return l};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Pf(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function c2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var fe,bn,jn,Yr,qr,Nn,Xr,Jr,qf,u2=(qf=class{constructor(e={}){J(this,fe);J(this,bn);J(this,jn);J(this,Yr);J(this,qr);J(this,Nn);J(this,Xr);J(this,Jr);H(this,fe,e.queryCache||new s2),H(this,bn,e.mutationCache||new l2),H(this,jn,e.defaultOptions||{}),H(this,Yr,new Map),H(this,qr,new Map),H(this,Nn,0)}mount(){Ps(this,Nn)._++,C(this,Nn)===1&&(H(this,Xr,Rg.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,fe).onFocus())})),H(this,Jr,Vi.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,fe).onOnline())})))}unmount(){var e,t;Ps(this,Nn)._--,C(this,Nn)===0&&((e=C(this,Xr))==null||e.call(this),H(this,Xr,void 0),(t=C(this,Jr))==null||t.call(this),H(this,Jr,void 0))}isFetching(e){return C(this,fe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,bn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,fe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,fe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(lc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return C(this,fe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=C(this,fe).get(r.queryHash),s=o==null?void 0:o.state.data,i=Hb(t,s);if(i!==void 0)return C(this,fe).build(this,r).setData(i,{...n,manual:!0})}
131setQueriesData(e,t,n){return De.batch(()=>C(this,fe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,fe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,fe);De.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,fe);return De.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=De.batch(()=>C(this,fe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(yt).catch(yt)}invalidateQueries(e,t={}){return De.batch(()=>(C(this,fe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=De.batch(()=>C(this,fe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(yt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,fe).build(this,t);return n.isStaleByTime(lc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(yt).catch(yt)}fetchInfiniteQuery(e){return e.behavior=Ef(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(yt).catch(yt)}ensureInfiniteQueryData(e){return e.behavior=Ef(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Vi.isOnline()?C(this,bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,fe)}getMutationCache(){return C(this,bn)}getDefaultOptions(){return C(this,jn)}setDefaultOptions(e){H(this,jn,e)}setQueryDefaults(e,t){C(this,Yr).set(us(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,Yr).values()],n={};return t.forEach(r=>{ds(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){C(this,qr).set(us(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,qr).values()],n={};return t.forEach(r=>{ds(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,jn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Tu(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===Ru&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,jn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,fe).clear(),C(this,bn).clear()}},fe=new WeakMap,bn=new WeakMap,jn=new WeakMap,Yr=new WeakMap,qr=new WeakMap,Nn=new WeakMap,Xr=new WeakMap,Jr=new WeakMap,qf),d2=x.createContext(void 0),f2=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(d2.Provider,{value:e,children:t}));/** 132 * @remix-run/router v1.23.0 133 * 134 * Copyright (c) Remix Software Inc. 135 * 136 * This source code is licensed under the MIT license found in the 137 * LICENSE.md file in the root directory of this source tree. 138 * 139 * @license MIT 140 */function fs(){return fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fs.apply(this,arguments)}var Cn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Cn||(Cn={}));const _f="popstate";function p2(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:l}=r.location;return uc("",{pathname:s,search:i,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Qi(o)}return m2(t,n,null,e)}function me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ig(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function h2(){return Math.random().toString(36).substr(2,8)}function Tf(e,t){return{usr:e.state,key:e.key,idx:t}}function uc(e,t,n,r){return n===void 0&&(n=null),fs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?mo(t):t,{state:n,key:t&&t.key||r||h2()})}function Qi(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function mo(e){let t={};if(e){let n=e.indexOf("#");n>=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 m2(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,l=Cn.Pop,c=null,u=f();u==null&&(u=0,i.replaceState(fs({},i.state,{idx:u}),""));function f(){return(i.state||{idx:null}).idx}function p(){l=Cn.Pop;let w=f(),g=w==null?null:w-u;u=w,c&&c({action:l,location:y.location,delta:g})}function h(w,g){l=Cn.Push;let m=uc(y.location,w,g);u=f()+1;let v=Tf(m,u),j=y.createHref(m);try{i.pushState(v,"",j)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;o.location.assign(j)}s&&c&&c({action:l,location:y.location,delta:1})}function d(w,g){l=Cn.Replace;let m=uc(y.location,w,g);u=f();let v=Tf(m,u),j=y.createHref(m);i.replaceState(v,"",j),s&&c&&c({action:l,location:y.location,delta:0})}function b(w){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof w=="string"?w:Qi(w);
vendor: 2,909 bytes, line 140
140return m=m.replace(/ $/,"%20"),me(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return l},get location(){return e(o,i)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(_f,p),c=w,()=>{o.removeEventListener(_f,p),c=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let g=b(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:d,go(w){return i.go(w)}};return y}var Rf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Rf||(Rf={}));function g2(e,t,n){return n===void 0&&(n="/"),x2(e,t,n,!1)}function x2(e,t,n,r){let o=typeof t=="string"?mo(t):t,s=Au(o.pathname||"/",n);if(s==null)return null;let i=Dg(e);v2(i);let l=null;for(let c=0;l==null&&c<i.length;++c){let u=_2(s);l=E2(i[c],u,r)}return l}function Dg(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,l)=>{let c={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};c.relativePath.startsWith("/")&&(me(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=On([r,c.relativePath]),f=n.concat(c);s.children&&s.children.length>0&&(me(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dg(s.children,t,f,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:S2(u,s.index),routesMeta:f})};return e.forEach((s,i)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))o(s,i);else for(let c of Fg(s.path))o(s,i,c)}),t}function Fg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=Fg(r.join("/")),l=[];return l.push(...i.map(c=>c===""?s:[s,c].join("/"))),o&&l.push(...i),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function v2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:C2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const y2=/^:[\w-]+$/,w2=3,b2=2,j2=1,N2=10,k2=-2,Af=e=>e==="*";function S2(e,t){let n=e.split("/"),r=n.length;return n.some(Af)&&(r+=k2),t&&(r+=b2),n.filter(o=>!Af(o)).reduce((o,s)=>o+(y2.test(s)?w2:s===""?j2:N2),r)}function C2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function E2(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,f=s==="/"?t:t.slice(s.length)||"/",p=Lf({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},f),h=c.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=Lf({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},f)),!p)return null;
vendor: 9,233 bytes, lines 140-149
140Object.assign(o,p.params),i.push({params:o,pathname:On([s,p.pathname]),pathnameBase:L2(On([s,p.pathnameBase])),route:h}),p.pathnameBase!=="/"&&(s=On([s,p.pathnameBase]))}return i}function Lf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=P2(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,f,p)=>{let{paramName:h,isOptional:d}=f;if(h==="*"){let y=l[p]||"";i=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[p];return d&&!b?u[h]=void 0:u[h]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function P2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ig(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function _2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ig(!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 Au(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)||"/"}function T2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?mo(e):e;return{pathname:n?n.startsWith("/")?n:R2(n,t):t,search:M2(r),hash:O2(o)}}function R2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ol(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 <Link to="..."> and the router will parse it for you.'}function A2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Lu(e,t){let n=A2(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Mu(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=mo(e):(o=fs({},e),me(!o.pathname||!o.pathname.includes("?"),ol("?","pathname","search",o)),me(!o.pathname||!o.pathname.includes("#"),ol("#","pathname","hash",o)),me(!o.search||!o.search.includes("#"),ol("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,l;if(i==null)l=n;else{let p=t.length-1;if(!r&&i.startsWith("..")){let h=i.split("/");for(;h[0]==="..";)h.shift(),p-=1;o.pathname=h.join("/")}l=p>=0?t[p]:"/"}let c=T2(o,l),u=i&&i!=="/"&&i.endsWith("/"),f=(s||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||f)&&(c.pathname+="/"),c}const On=e=>e.join("/").replace(/\/\/+/g,"/"),L2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,O2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function I2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const zg=["post","put","patch","delete"];new Set(zg);const D2=["get",...zg];new Set(D2);/** 141 * React Router v6.30.1 142 * 143 * Copyright (c) Remix Software Inc. 144 * 145 * This source code is licensed under the MIT license found in the 146 * LICENSE.md file in the root directory of this source tree. 147 * 148 * @license MIT 149 */function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ps.apply(this,arguments)}const Ou=x.createContext(null),F2=x.createContext(null),Vn=x.createContext(null),ks=x.createContext(null),Qn=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Wg=x.createContext(null);function z2(e,t){let{relative:n}=t===void 0?{}:t;go()||me(!1);let{basename:r,navigator:o}=x.useContext(Vn),{hash:s,pathname:i,search:l}=Hg(e,{relative:n}),c=i;return r!=="/"&&(c=i==="/"?r:On([r,i])),o.createHref({pathname:c,search:l,hash:s})}function go(){return x.useContext(ks)!=null}function rn(){return go()||me(!1),x.useContext(ks).location}function W2(){return x.useContext(ks).navigationType}function $g(e){x.useContext(Vn).static||x.useLayoutEffect(e)}function Iu(){let{isDataRoute:e}=x.useContext(Qn);return e?Z2():$2()}function $2(){go()||me(!1);let e=x.useContext(Ou),{basename:t,future:n,navigator:r}=x.useContext(Vn),{matches:o}=x.useContext(Qn),{pathname:s}=rn(),i=JSON.stringify(Lu(o,n.v7_relativeSplatPath)),l=x.useRef(!1);return $g(()=>{l.current=!0}),x.useCallback(function(u,f){if(f===void 0&&(f={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let p=Mu(u,JSON.parse(i),s,f.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:On([t,p.pathname])),(f.replace?r.replace:r.push)(p,f.state,f)},[t,r,i,s,e])}function Hg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Vn),{matches:o}=x.useContext(Qn),{pathname:s}=rn(),i=JSON.stringify(Lu(o,r.v7_relativeSplatPath));return x.useMemo(()=>Mu(e,JSON.parse(i),s,n==="path"),[e,i,s,n])}function H2(e,t){return B2(e,t)}function B2(e,t,n,r){go()||me(!1);let{navigator:o}=x.useContext(Vn),{matches:s}=x.useContext(Qn),i=s[s.length-1],l=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=rn(),f;if(t){var p;let w=typeof t=="string"?mo(t):t;c==="/"||(p=w.pathname)!=null&&p.startsWith(c)||me(!1),f=w}else f=u;let h=f.pathname||"/",d=h;if(c!=="/"){let w=c.replace(/^\//,"").split("/");d="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=g2(e,{pathname:d}),y=G2(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:On([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:On([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&y?x.createElement(ks.Provider,{value:{location:ps({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Cn.Pop}},y):y}function U2(){let e=J2(),t=I2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const V2=x.createElement(U2,null);class Q2 extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Qn.Provider,{value:this.props.routeContext},x.createElement(Wg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function K2(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(Ou);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Qn.Provider,{value:t},r)}function G2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=i.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);f>=0||me(!1),i=i.slice(0,Math.min(i.length,f+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<i.length;f++){let p=i[f];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(u=f),p.route.id){let{loaderData:h,errors:d}=n,b=p.route.loader&&h[p.route.id]===void 0&&(!d||d[p.route.id]===void 0);if(p.route.lazy||b){c=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((f,p,h)=>{let d,b=!1,y=null,w=null;n&&(d=l&&p.route.id?l[p.route.id]:void 0,y=p.route.errorElement||V2,c&&(u<0&&h===0?(b=!0,w=null):u===h&&(b=!0,w=p.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),m=()=>{let v;return d?v=y:b?v=w:p.route.Component?v=x.createElement(p.route.Component,null):p.route.element?v=p.route.element:v=f,x.createElement(K2,{match:p,routeC
149ontext:{outlet:f,matches:g,isDataRoute:n!=null},children:v})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?x.createElement(Q2,{location:n.location,revalidation:n.revalidation,component:y,error:d,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Bg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Bg||{}),Ki=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}(Ki||{});function Y2(e){let t=x.useContext(Ou);return t||me(!1),t}function q2(e){let t=x.useContext(F2);return t||me(!1),t}function X2(e){let t=x.useContext(Qn);return t||me(!1),t}function Ug(e){let t=X2(),n=t.matches[t.matches.length-1];return n.route.id||me(!1),n.route.id}function J2(){var e;let t=x.useContext(Wg),n=q2(Ki.UseRouteError),r=Ug(Ki.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Z2(){let{router:e}=Y2(Bg.UseNavigateStable),t=Ug(Ki.UseNavigateStable),n=x.useRef(!1);return $g(()=>{n.current=!0}),x.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ps({fromRouteId:t},s)))},[e,t])}function ej(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function tj(e){let{to:t,replace:n,state:r,relative:o}=e;go()||me(!1);let{future:s,static:i}=x.useContext(Vn),{matches:l}=x.useContext(Qn),{pathname:c}=rn(),u=Iu(),f=Mu(t,Lu(l,s.v7_relativeSplatPath),c,o==="path"),p=JSON.stringify(f);return x.useEffect(()=>u(JSON.parse(p),{replace:n,state:r,relative:o}),[u,p,o,n,r]),null}function ee(e){me(!1)}function nj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Cn.Pop,navigator:s,static:i=!1,future:l}=e;go()&&me(!1);let c=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:c,navigator:s,static:i,future:ps({v7_relativeSplatPath:!1},l)}),[c,l,s,i]);typeof r=="string"&&(r=mo(r));let{pathname:f="/",search:p="",hash:h="",state:d=null,key:b="default"}=r,y=x.useMemo(()=>{let w=Au(f,c);return w==null?null:{location:{pathname:w,search:p,hash:h,state:d,key:b},navigationType:o}},[c,f,p,h,d,b,o]);return y==null?null:x.createElement(Vn.Provider,{value:u},x.createElement(ks.Provider,{children:n,value:y}))}function rj(e){let{children:t,location:n}=e;return H2(dc(t),n)}new Promise(()=>{});function dc(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let s=[...t,o];if(r.type===x.Fragment){n.push.apply(n,dc(r.props.children,s));return}r.type!==ee&&me(!1),!r.props.index||!r.props.children||me(!1);let i={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=dc(r.props.children,s)),n.push(i)}),n}/** 150 * React Router DOM v6.30.1 151 * 152 * Copyright (c) Remix Software Inc. 153 * 154 * This source code is licensed under the MIT license found in the 155 * LICENSE.md file in the root directory of this source tree. 156 * 157 * @license MIT 158 */function fc(){return fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fc.apply(this,arguments)}function oj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function sj(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ij(e,t){return e.button===0&&(!t||t==="_self")&&!sj(e)}const aj=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],lj="6";try{window.__reactRouterVersion=lj}catch{}const cj="startTransition",Mf=lp[cj];function uj(e){let{basename:t,children:n,future:r,window:o}=e,s=x.useRef();s.current==null&&(s.current=p2({window:o,v5Compat:!0}));let i=s.current,[l,c]=x.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},f=x.useCallback(p=>{u&&Mf?Mf(()=>c(p)):c(p)},[c,u]);return x.useLayoutEffect(()=>i.listen(f),[i,f]),x.useEffect(()=>ej(r),[r]),x.createElement(nj,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i,future:r})}const dj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",fj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,He=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:i,state:l,target:c,to:u,preventScrollReset:f,viewTransition:p}=t,h=oj(t,aj),{basename:d}=x.useContext(Vn),b,y=!1;if(typeof u=="string"&&fj.test(u)&&(b=u,dj))try{let v=new URL(window.location.href),j=u.startsWith("//")?new URL(v.protocol+u):new URL(u),N=Au(j.pathname,d);j.origin===v.origin&&N!=null?u=N+j.search+j.hash:y=!0}catch{}let w=z2(u,{relative:o}),g=pj(u,{replace:i,state:l,target:c,preventScrollReset:f,relative:o,viewTransition:p});function m(v){r&&r(v),v.defaultPrevented||g(v)}return x.createElement("a",fc({},h,{href:b||w,onClick:y||s?r:m,ref:n,target:c}))});var Of;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Of||(Of={}));var If;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(If||(If={}));function pj(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:i,viewTransition:l}=t===void 0?{}:t,c=Iu(),u=rn(),f=Hg(e,{relative:i});return x.useCallback(p=>{if(ij(p,n)){p.preventDefault();let h=r!==void 0?r:Qi(u)===Qi(f);c(e,{replace:h,state:o,preventScrollReset:s,relative:i,viewTransition:l})}},[u,c,f,r,o,n,e,s,i,l])}const hj=()=>{const{pathname:e}=rn(),t=W2();return x.useEffect(()=>{t!=="POP"&&window.scrollTo({top:0,left:0,behavior:"instant"})},[e,t]),null},mj="/assets/nexus-logo-nav-NClt_dt6.png",Df=[{label:"Who We Are",href:"/who-we-are",dropdown:[{label:"Events",href:"/events"},{label:"Our Story",href:"/who-we-are#our-story"},{label:"Vision & Mission",href:"/who-we-are#vision-mission"},{label:"How We Help",href:"/who-we-are#how-we-help"}]},{label:"Connect",href:"/connect",dropdown:[{label:"Deep Tech Network",href:"/connect/deep-tech-network"},{label:"Digital Creative Network",href:"/connect/digital-creative-network"},{label:"Jawdrop Summit",href:"/connect/jawdrop"},{label:"Programmes & Roundtables",href:"/connect/programmes-roundtables"}]},{label:"Access",href:"/access",dropdown:[{label:"Innovation Map",href:"/access/innovation-map"}]},{label:"Amplify",href:"/amplify",dropdown:[{label:"Success Stories",href:"/amplify/success-stories"},{label:"Podcast",href:"/amplify/podcast"},{label:"Case Studies",href:"/amplify/testimonials"}]}],Le=()=>
158{const[e,t]=x.useState(!1),[n,r]=x.useState(null),[o,s]=x.useState(!1),i=x.useRef(null),l=rn(),c=l.pathname==="/";x.useEffect(()=>{const h=()=>t(window.scrollY>40);return window.addEventListener("scroll",h),()=>window.removeEventListener("scroll",h)},[]),x.useEffect(()=>{s(!1),r(null)},[l.pathname]);const u=h=>{i.current&&clearTimeout(i.current),r(h)},f=()=>{i.current=setTimeout(()=>r(null),150)},p=e||!c;return a.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${p?"bg-background/95 backdrop-blur-md shadow-sm":"bg-transparent"}`,children:[a.jsxs("div",{className:"container mx-auto flex items-center justify-between h-20 px-6 overflow-visible",children:[a.jsx(He,{to:"/",className:"flex items-center shrink-0 overflow-visible",children:a.jsx("img",{src:mj,alt:"Nexus Upstream London",className:"h-10 w-auto object-contain"})}),a.jsxs("div",{className:"hidden lg:flex items-center gap-8",children:[Df.map(h=>a.jsxs("div",{className:"relative",onMouseEnter:()=>u(h.label),onMouseLeave:f,children:[a.jsxs(He,{to:h.href,className:"flex items-center gap-1 py-2 text-sm font-medium text-[#f8f8f8] hover:text-primary transition-colors duration-200",children:[h.label,h.dropdown&&a.jsx(Iy,{className:`w-3.5 h-3.5 transition-transform duration-200 ${n===h.label?"rotate-180":""}`})]}),h.dropdown&&n===h.label&&a.jsx("div",{className:"absolute top-full left-0 pt-2 animate-slide-down",children:a.jsx("div",{className:"bg-popover border border-border rounded-lg shadow-lg overflow-hidden min-w-[200px]",children:h.dropdown.map(d=>a.jsx(He,{to:d.href,className:"block px-5 py-3 text-sm text-foreground/80 transition-all duration-200 hover:bg-secondary hover:text-primary hover:pl-6",children:d.label},d.label))})})]},h.label)),a.jsx(He,{to:"/join-our-community",className:"btn-magenta text-sm",children:"Join Our Community"})]}),a.jsxs("button",{className:"lg:hidden flex flex-col gap-1.5 p-2",onClick:()=>s(!o),"aria-label":"Toggle menu",children:[a.jsx("span",{className:`w-6 h-0.5 transition-all duration-300 ${p?"bg-foreground":"bg-white"} ${o?"rotate-45 translate-y-2":""}`}),a.jsx("span",{className:`w-6 h-0.5 transition-all duration-300 ${p?"bg-foreground":"bg-white"} ${o?"opacity-0":""}`}),a.jsx("span",{className:`w-6 h-0.5 transition-all duration-300 ${p?"bg-foreground":"bg-white"} ${o?"-rotate-45 -translate-y-2":""}`})]})]}),o&&a.jsx("div",{className:"lg:hidden bg-background/98 backdrop-blur-md border-t border-border animate-slide-down",children:a.jsxs("div",{className:"container mx-auto px-6 py-6 space-y-4",children:[Df.map(h=>a.jsxs("div",{children:[a.jsx(He,{to:h.href,className:"block py-2 text-foreground font-medium",children:h.label}),h.dropdown&&a.jsx("div",{className:"pl-4 space-y-1",children:h.dropdown.map(d=>a.jsx(He,{to:d.href,className:"block py-1.5 text-sm text-muted-foreground hover:text-primary transition-colors",children:d.label},d.label))})]},h.label)),a.jsx(He,{to:"/join-our-community",className:"btn-magenta inline-block text-sm mt-4",children:"Join Our Community"})]})})]})},gi=({className:e=""})=>a.jsxs("svg",{className:e,viewBox:"0 0 400 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",children:[a.jsx("path",{d:"M40 460 C40 280, 120 140, 200 100 C280 60, 340 50, 360 40",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",fill:"none"}),a.jsx("path",{d:"M340 18 L362 38 L338 52",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]}),gj=({className:e=""})=>a.jsxs("svg",{className:e,viewBox:"0 0 600 300",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",children:[a.jsx("path",{d:"M20 280 C80 200, 200 60, 350 40 C440 28, 520 30, 580 20",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",fill:"none"}),a.jsx("path",{d:"M555 0 L582 18 L558 36",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]}),xj=()=>{const[e,t]=x.useState(0);x.useEffect(()=>{const r=()=>t(window.scrollY);return window.addEventListener("scroll",r,{passive:!0}),()=>window.removeEventListener("scroll",r)},[]);const n=r=>`translateY(${e*r}px)`;return a.jsxs("section",{className:"relative min-h-screen flex items-center overflow-hidden text-white",children:[a.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInl
158ine:!0,className:"absolute inset-0 w-full h-full object-cover",src:"/videos/hero-bg.mov"}),a.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[a.jsx(gi,{className:"absolute -left-[12%] bottom-[8%] w-[480px] h-[600px] text-white opacity-[0.055]"}),a.jsx("div",{className:"absolute -left-[12%] bottom-[8%] w-[480px] h-[600px]",style:{transform:n(-.04)},children:a.jsx(gi,{className:"w-full h-full text-white opacity-[0.055] animate-[float_15s_ease-in-out_infinite]"})}),a.jsx("div",{className:"absolute -right-[6%] -top-[5%] w-[420px] h-[520px]",style:{transform:n(-.06)},children:a.jsx(gi,{className:"w-full h-full text-white opacity-[0.045] animate-[float_15s_ease-in-out_infinite_3s]"})})]}),a.jsx("div",{className:"absolute inset-0 gradient-overlay"}),a.jsx("div",{className:"absolute top-1/4 right-[10%] w-80 h-80 rounded-full bg-primary/10 blur-[100px]"}),a.jsx("div",{className:"absolute bottom-1/4 right-[20%] w-60 h-60 rounded-full bg-accent/5 blur-[80px]"}),a.jsx("div",{className:"relative z-10 container mx-auto px-6 pt-32 pb-20",children:a.jsxs("div",{className:"max-w-3xl",children:[a.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold leading-[1.1] tracking-tight mb-8 opacity-0 animate-fade-in-up text-white",children:["Curated Connections. Real Traction.",a.jsx("br",{}),"in ",a.jsx("span",{className:"text-accent",children:"Hammersmith & Fulham"}),"."]}),a.jsx("p",{className:"text-lg md:text-xl max-w-2xl mb-12 leading-relaxed opacity-0 animate-fade-in-up text-white",style:{animationDelay:"0.15s"},children:"We connect the people building the borough's future in the science, tech and digital creative sectors, from earlyâstage startups to global corporates, from researchers to community leaders."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 opacity-0 animate-fade-in-up",style:{animationDelay:"0.3s"},children:[a.jsx("a",{href:"/connect",className:"btn-magenta inline-flex items-center text-base hero-cta-3d",children:"I'm a business. Help me grow."}),a.jsx("a",{href:"/join-our-community",className:"btn-yellow inline-flex items-center text-base hero-cta-3d",children:"I want to join the community."})]})]})}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-background to-transparent"})]})},vj=[{target:1,prefix:"#",description:"Hammersmith & Fulham ranks #1 in London for investment raised per company",variant:"magenta"},{target:423,description:"Businesses supported since 2018",variant:"yellow"},{target:1500,suffix:"+",formatWithComma:!0,description:"Connections created",variant:"magenta"},{target:4255,formatWithComma:!0,description:"People in the network",variant:"yellow"}],Ff=(e,t)=>t?Math.floor(e).toLocaleString("en-GB"):Math.floor(e).toString(),yj=e=>1-Math.pow(1-e,3),wj=1800,bj={magenta:{base:"bg-primary text-primary-foreground",hover:"bg-accent text-accent-foreground"},yellow:{base:"bg-accent text-accent-foreground",hover:"bg-primary text-primary-foreground"}},jj=({stat:e,started:t})=>{const[n,r]=x.useState(!1),[o,s]=x.useState(0),i=bj[e.variant];x.useEffect(()=>{if(!t)return;let u;const f=performance.now(),p=h=>{const d=h-f,b=Math.min(d/wj,1);s(yj(b)*e.target),b<1&&(u=requestAnimationFrame(p))};return u=requestAnimationFrame(p),()=>cancelAnimationFrame(u)},[t,e.target]);const c=o>=e.target?`${e.prefix??""}${Ff(e.target,e.formatWithComma)}${e.suffix??""}`:`${e.prefix??""}${Ff(o,e.formatWithComma)}${e.suffix??""}`;return a.jsxs("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),className:`relative rounded-lg p-8 md:p-10 transition-all duration-300 ease-out cursor-default overflow-hidden 159 h-[200px] md:h-[220px] flex flex-col items-center justify-center text-center 160 ${n?i.hover:i.base} 161 ${n?"scale-[1.03] shadow-[0_12px_40px_-8px_rgba(0,0,0,0.15)]":"scale-100 shadow-[0_4px_20px_-4px_rgba(0,0,0,0.08)]"} 162 `,children:[a.jsx("svg",{className:`absolute top-3 right-3 opacity-[0.08] transition-opacity duration-300 ${n?"opacity-[0.12]":""}`,width:"40",height:"20",viewBox:"0 0 40 20",fill:"none",children:a.jsx("path",{d:"M0 10 L30 10 M22 3 L30 10 L22 17",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),a.jsx("svg",{className:`absolute bottom-4 left-4 opacity-[0.06] transition-opacity duration-300 ${n?"opacity-[0.1]":""}`,width:"30",height:"15",viewBox:"0 0 30 15",fill:"none",children:a.jsx("path",{d:"M0 7.5 L22 7.5 M16 2 L22 7.5 L16 13",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"3 4"})}),a.jsx("p",{className:"font-heading text-4xl md:text-5xl font-bold leading-none transition-colors duration-300 mb-3",children:c}),a.jsx("p",{className:"font-body text-sm md:text-base leading-snug opacity-90 max-w-[200px] transition-colors duration-300",children:e.description})]})},Nj=()=>{const e=x.useRef(null),[t,n]=x.useState(!1);return x.useEffect(()=>{const r=e.current;if(!r)return;const o=new IntersectionObserver(([s])=>{s.isIntersecting&&(n(!0),o.unobserve(r))},{threshold:.3});return o.observe(r),()=>o.disconnect()},[]),a.jsx("section",{className:"relative bg-background py-8 md:py-10 overflow-hidden",children:a.jsx("div",{className:"relative container mx-auto px-6",ref:e,children:a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
1625 md:gap-6 max-w-6xl mx-auto",children:vj.map((r,o)=>a.jsx("div",{className:"opacity-0 animate-fade-in-up",style:{animationDelay:`${.15+o*.1}s`},children:a.jsx(jj,{stat:r,started:t})},o))})})})},Xs=[{title:"Connecting the Network",body:"We broker targeted introductions across the science, tech and digital creative sectors, turning connections into collaboration.",to:"/connect",icon:zy},{title:"Accessing Opportunities",body:"We help people and organisations access the expertise and opportunities they need to build long-term partnerships.",to:"/access",icon:Wy},{title:"Amplifying Innovation",body:"We promote the innovations, stories and voices emerging from our community.",to:"/amplify",icon:Hm}],kj=()=>{const[e,t]=x.useState(0),[n,r]=x.useState(0),o=x.useRef(null),s=x.useRef([]);return x.useEffect(()=>{const i=s.current[e],l=o.current;if(i&&l){const c=l.getBoundingClientRect(),u=i.getBoundingClientRect();r(u.top-c.top)}},[e]),Xs[e].icon,a.jsx("section",{className:"relative bg-foreground pt-8 md:pt-10 pb-8 md:pb-10 overflow-hidden",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs("div",{className:"text-center mb-14 md:mb-18",children:[a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold text-[#f8f8f8] mb-4",children:"How We're Helping the Community"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full"})]}),a.jsxs("div",{className:"max-w-5xl mx-auto grid grid-cols-1 md:grid-cols-[5fr_7fr] gap-10 md:gap-12 items-start",children:[a.jsx("nav",{ref:o,className:"flex flex-col gap-1",children:Xs.map((i,l)=>{const c=e===l;return a.jsxs("button",{ref:u=>{s.current[l]=u},onClick:()=>t(l),className:`group relative text-left py-4 pl-5 transition-all duration-300 cursor-pointer rounded-r-md 163 ${c?"scale-[1.03] origin-left":"scale-100"} 164 `,children:[a.jsx("span",{className:`absolute left-0 top-2 bottom-2 w-[3px] rounded-full bg-primary transition-all duration-300 165 ${c?"opacity-100 scale-y-100":"opacity-0 scale-y-50"} 166 `}),a.jsx("span",{className:`font-heading text-xl md:text-2xl lg:text-[1.75rem] font-bold whitespace-nowrap transition-all duration-300 167 ${c?"text-[#f8f8f8]":"text-[#f8f8f8]/50 group-hover:text-[#f8f8f8]/75"} 168 `,children:i.title})]},i.to)})}),a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"hidden md:block transition-transform duration-300 ease-out",style:{transform:`translateY(${n}px)`},children:[Xs.map((i,l)=>{const c=i.icon;return a.jsx("div",{className:`transition-all duration-300 ease-out ${l===0?"":"absolute inset-0"} 169 ${e===l?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 translate-y-2 pointer-events-none"} 170 `,children:a.jsxs("div",{className:"flex items-start gap-6",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx("p",{className:"font-body text-[#f8f8f8] text-base md:text-lg leading-relaxed max-w-lg mb-8",children:i.body}),a.jsxs(He,{to:i.to,className:"inline-flex items-center gap-2 font-body text-sm font-medium text-[#f8f8f8] group/link transition-all duration-300 hover:gap-3",children:[a.jsx("span",{children:"Learn more"}),a.jsx("svg",{width:"20",height:"12",viewBox:"0 0 20 12",fill:"none",className:"text-primary",children:a.jsx("path",{d:"M0 6H16M10 1L16 6L10 11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),a.jsx("div",{className:"flex-shrink-0 w-20 h-20 rounded-2xl bg-primary flex items-center justify-center animate-[icon-pulse_3s_ease-in-out_infinite]",children:a.jsx(c,{className:"w-9 h-9 text-[#f8f8f8]",strokeWidth:1.5})})]})},i.to)}),a.jsxs("svg",{className:"absolute right-0 bottom-0 w-40 h-40 opacity-[0.04] text-[#f8f8f8] pointer-events-none",viewBox:"0 0 160 160",fill:"none",children:[a.jsx("path",{d:"M20 140 L140 20 M120 20 L140 20 L140 40",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10 120 L100 30",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeDasharray:"4 6"})]})]}),a.jsx("div",{className:"md:hidden",children:Xs.map((i,l)=>{const c=i.icon;return a.jsxs("div",{className:`transition-all duration-300 ease-out overflow-hidden 171 ${e===l?"max-h-80 opacity-100 mt-2 mb-6":"max-h-0 opacity-0"} 172 `,children:[a.jsx("div",{className:"mb-4 flex justify-end",children:a.jsx("div",{className:"w-14 h-14 roun
172ded-xl bg-primary flex items-center justify-center animate-[icon-pulse_3s_ease-in-out_infinite]",children:a.jsx(c,{className:"w-6 h-6 text-[#f8f8f8]",strokeWidth:1.5})})}),a.jsx("p",{className:"font-body text-[#f8f8f8] text-base leading-relaxed max-w-lg mb-4",children:i.body}),a.jsxs(He,{to:i.to,className:"inline-flex items-center gap-2 font-body text-sm font-medium text-[#f8f8f8] transition-all duration-300 hover:gap-3",children:[a.jsx("span",{children:"Learn more"}),a.jsx("svg",{width:"20",height:"12",viewBox:"0 0 20 12",fill:"none",className:"text-primary",children:a.jsx("path",{d:"M0 6H16M10 1L16 6L10 11",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]},i.to)})})]})]})]})})},Sj="/assets/case-study-langland-HlQFx1HC.png",Cj="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAACfCAMAAABX0UX9AAAAmVBMVEX///8YKVQAAEQ6RmkRJFEAG02LkKEVJ1MAC0bP09oAAEIAGUzExs/h4ucAHU4AEEgAFUocLFYjMlsAE0kADUcAAD8ABUUMIVD29/mZnqxTXHiRlqbX2d/LzdW1uMPz9Pbp6+7f4ea8v8musr54fpOjp7UAADpFT24yP2NpcIeCiJp6gJVlbYVCTW0pN11bY34AADIAACcAADdbMJg8AAAKoklEQVR4nO2caZeiOhOAJQaCoAGbJaiouNDSrved///jXkhYk9hzpz9cx3PqOfNhABOKSm0pmBmNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/jO2Wbre76eT2fbVkrwdaX4tWBzboRfGMR2f168W6J1Yzx2fMkyMGkxRMXm1UO/D+vRhzD/mBrVjj2Khwc/Nq6V6O8rot7FOsckV6EAI/BHZ2avU5x1eLci7YlX25+evFuNdWYeV9e1fLca7kruGQRDEvh9yL7Mvu75ainclr1JHlL1ajDdlVmnPXrxajDclqVzXfLxajHflRg2DjpNXi/GmnMqajxWgvR+RVLZngvZ+RjZnBgkh7v2MaYDLcnn1ajHelIVDDIrbTmmW7jebzTTNwJX/BcnDNohzrXU1Od7DOPS8qvuMx8d89lrh/npSTElgTMVBdkK0az4TRr3P42vF+8vZRNgNmp3GDDHecXY9Ow4DlzI8L6yXiveXs/llM6ttsRS8YR/cVpvJLMu22wSi3/dYX5tORSmqtOfCrvdnTKtuqRH+tt93KcYlxUW9chRXzuIo+eKHMiIeTO+aS6evhfymb8mH7PjfT/3f3pbnPNULOMmP5bDb47zJhpJpubXjdofz4zYeLy/57nc60DDj1hf/LtlOI8xBcld/e/P5BfYhji0b64j5u7yFp7vGXGQOrH+LqtOReJyLTfuYPqJWNpLYWi7yTf4DN4iWQsPJ/xzkNH9YKUP1F4cffn7VA/MPx3dNMXFUfNNzz6aL47IglJLicektIY995u/KZ8usEzMavlRPGRMXWC3QkodSIuNwXewjrFwR0wbz3tqvY14CiIPZsuN0K+Z2wExHEjdHLvPs++nxWI5xTFnEbT2ZdOxOmK7T7lh425R4zLfnt+VjefqIXew89I
172F/ffxAtsvfjhOCGfURudTy7ivzI372vfoerC1s+r88xLg+37xs8sSv5kPIUlxdjD+GkBCJhcF2N+/CrdZjqRUkyQ63mISn/nNeEUGnQz0+SY+xgc7yuDkulLkWDvbubZU7W1Hsam96/BW6wvbbzwsIRXV1d6s0w05aYVvcpi402Lg7e0btaSTiV+rwTCS7+NNsniQTK8DSvFf2vUNsXGz25P0KMJv2r089I5Ii5CymSjGbO2QYi7I5sXWvHLPF+XI5lxyvJ4KQK0zGFyJkXAe+Jil07LhWDMp108SNZFmZGhPr4QkNHQIeSv/os5nsg08Rt5GHT2l/F4jmxGtr0wMiRja8vnKp9DgbT3kXWz6TLOe63HT9TtokXRTCxWLxcnzD9Ye+q102XCum5fNh4pezeaVN+1hUD4tra7hwDQfPE3kyUm1xbXPza95XZRG/SzYYM2SHSOPsCasDa4+ZLavhTB05Yy9ZqHwcEBD0b8renKujCS/iS4Pomw9dzlwrYbLiZQ5PH1OvsmG0GnHDbFa7av4bz5cwRbFt28onNdzcyL0+2nv9o9E5ctSJLrSxpk1IlUC39eVId2K2pJcZwreRTIG/eWU77S4daf8xl1STVPuMuVaKasl43Mx4x8YgZT3C06ThCY0kQpdP98wrt8q1Spk0FtGvFs+ifVscUarpSe4cVp+9MsX4RpknJZ6EKkua+4H6Zcocm89EHy3/6Vade2P3mNxoiJk9GZmgpjZJeOphp2Plb8xM6zRpIKGRCddl8NSOhfbn8ml+e8Ot1Xeqjvx2T+64uiQS4No8Kb4rFye2Ody2p8iUTbRUe6YMdLA+35c8fK+zvoPfOCEnC7hW7k8cP43b2iRFPNTx3FhU8/GShhhiZM51Sc+LAd1tuZcyxZp4aCCkvnvMM0cj28azp/LvR1zjQvKoqTh75L701ckh8OQlvWOsPidSA0HNIu4vQFUb9K1AbH3pE93nImXw4JvHdalS9/kp6UXRqygPqdvnM2vmmfGxygY746cb9+KikDb7nCnKRip3JoxuH7LLejpk/WDxcMyROVLAyBA+KePONHyS79OY+J0VzMLyoe2+74v0G+qV/8W1QoV1XEWdi6xaDK6R2r8+2r5hR5cESksy+obVwHNFu2/hjtF55LjZDg4J6hVbmQa1ZVizZWkosC+Nn9plpS5jNkFI4Y7DXuFTeZyUnCyeVB2do4zu3GGbRDUPTNONDv1HrxctC7n6fNQn6j6gEQlcsow6jxl+PSOvfbqw7Ki+Xt3Jqd1sybCDJHw5PmyRMkmpdlseF2rCci2T34+wlQMSuRCqk6omcWce4RGtOVyVNNnO4tEuzPiBaN+4+WRANyNPCqqIYuPb+CjfhLdFbupom2kHvy6rTTxOh7ebpLkrjVnHyh7mwcK1NG4ydZ/sFNeR4az7R23x25GIZ9fsPqb283w60MjK7etBYUv7Ttqy59M3hfeWx9l2bXNfmznGWOTBHZL3FyULU4oPC1eZhGr2wGtb3/csK/Oe9U6qcOXr8hWv4FTzE7WJHHzFzKKQqf2zNmCdCBW9BN5HVH3Nnm1SKZOg5uKRKr5eMo3rW24CTfX2YNHwIa5MXtKZoylOF26ojV3HMia2teW6ckVfY6Vb/nSavaZotwS6mXf9XJrM9XVJA08KBpKCxoJHzza28EXsitwmww5I5rie5UxjtcvJsBQfXKU23HtatffaPh1r1AvF1Q7bCLQ+zp8uUHsOH/3aZEjdIhDtltlvGv9HvgxoeHIvujZR03HmtU8XZ0PdapyYWTvPjTGlVp05UnzQ1IYWlVex5ENWe3O62ycdS+2RWLurElkgVqxvNqhNhoikGYlHEHXJ83ZLoW6IE0v0crrPHXiWb+Ps2vaV1cgK2hQzCdV02pTuyl5tt5yYq6o91n5la/ltuE7v/EvmvkTJNpul683q6nPt1cX88O7cqbVh4YZ7jifqEnsyG7Db1YKK4MCOWXMl3R/FTXvtTVFCt9vYMuhLq7FdOJjOs/p5YlN9qVoW2sOXJ5YZy29TkMaZ9qHOcWbl5t7mwxMLVV9DEi7Q/rq8FR8G9aqKJ/ZMsV/Amr6B0Ir2X85suWab5HcSfUS5nmoKP9FcMFh3xaP1mc44RJZ3m8MH82eJYFuSHq6Bj9GjkaXcjKmheoyl7kppapLwO93uTKNlLkH93uBg+FW59yXmfvyy/errgt4+gTBUaN5j8dcXRFv7C43UBW/iGVoaSReu7ip2o2svp6/MQZytwm7zRomZAQoode6dxo5Uu+8fdqISprRbNHvgqm6IVBOZONWzZxMLVxk3mLfWNckvJ+pEyPb8Cg9F7pfOQRPklrsMpA2XuWOWfAqdTz5NLU0j8eHJV9wARcVqUBAtqx+hxiNnUfmjFj+II3zpu0cRhIpM6ac9lDWNlFh/jCOlDEuQT9Qn5FUVcWKzVJ6ricPpen/I8/ywTzN1MP+FVe0yFtpmzHZlldTWNTlbWs71xMqF1WKTytOKEY0PpOfBzw+ToYzJ2VLrhPVZepE5kU+UjmCpITM7W6rr7ZsGiUF814J//fKHFPWbROyxFSjvT9nwREaoUxzg058/54QJprZ/efJhCPAt239QUMB/VvBj0mf5FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPjP+D/JJsaCtjOrMAAAAABJRU5ErkJggg==",Mo=(e=0)=>{const t=x.useRef(null),[n,r]=x.useState(!1);return x.useEffect(()=>{const o=t.current;if(!o)return;const s=new IntersectionObserver(([i])=>{i.isIntersecting&&(setTimeout(()=>r(!0),e*120),s.unobserve(o))},{threshold:.15});return s.observe(o),()=>s.disconnect()},[e]),{ref:t,className:`transition-all duration-[400ms] ease-out ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-5"}`}},Ej=({src:e})=>{const t=x.useRef(null),[n,r]=x.useState(!1),o=x.useCallback(()=>{t.current&&(t.current.play(),r(!0))},[]);return a.jsxs("div",{className:"relative rounded-xl overflow-hidden shadow-[0_4px_20px_-4px_rgba(225,19,128,0.12)] cursor-pointer group",onClick:n?void 0:o,children:[a.jsx("video",{ref:t,src:e,preload:"none",controls:n,className:"w-full aspect-video object-cover",onEnded:()=>r(!1),onPause:()=>r(!1),onPlay:()=>r(!0)}),!n&&a.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/30 transition-opacity duration-300 group-hover:bg-black/40",children:a.jsx("div",{className:"w-16 h-16 md:w-20 md:h-20 rounded-full bg-[#1e0f4b]/90 flex items-center justify-center shadow-lg transition-transform duration-300 group-hover:scale-110",children:a.jsx(Fy,{className:"w-7 h-7 md:w-9 md:h-9 text-accent ml-1",fill:"#d5fb46"})})})]})},Pj=()=>a.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",className:"shrink-0 mt-1.5 text-[#1e0f4b]",children:a.jsx("path",{d:"M0 5H12M8 1L12 5L8 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),_j=()=>a.jsxs("svg",{className:"absolute inset-0 w-full h-full opacity-[0.06] pointer-events-none text-[#1e0f4b]",viewBox:"0 0 800 500",fill:"none",children:[a.jsx("path",{d:"M680 420 L740 390 M728 400 L740 390 L732 382",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M60 80 L100 60 M90 68 L100 60 L94 54",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeDasharray:"3 4"}),a.jsx("path",{d:"M720 60 L760 45 M750 53 L760 45 L754 40",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"}),a.jsx("path",{d:"M40 400 L70 385 M62 393 L70 385 L64 380",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeDasharray:"3 4"})]}
172),Js=({number:e,companyName:t,title:n,descriptor:r,challenge:o,helped:s,impact:i,impactStyle:l="white",reverse:c,videoSrc:u,imageSrc:f,collapsible:p=!1})=>{const[h,d]=x.useState(!p),b=x.useRef(null),[y,w]=x.useState(0),g=Mo(0);Mo(1),Mo(2),Mo(3),x.useEffect(()=>{b.current&&w(b.current.scrollHeight)},[h,o,s,i]);const m=l==="navy"?"bg-[hsl(256_68%_18%)] border-l-[3px] border-[#1e0f4b] text-[#f8f8f8]":"bg-white/10 border border-white/10 border-l-[3px] border-l-[#1e0f4b] text-[#f8f8f8]";return a.jsx("div",{...g,ref:g.ref,className:g.className,children:a.jsxs("div",{className:"relative rounded-2xl shadow-[0_4px_24px_-6px_rgba(225,19,128,0.08)] overflow-hidden bg-primary flex flex-col",children:[a.jsx(_j,{}),a.jsxs("div",{className:"relative z-10 p-8 md:p-12 lg:p-16 flex flex-col flex-1",children:[a.jsxs("div",{className:"mb-10 min-h-[10rem] md:min-h-[12rem]",children:[a.jsx("span",{className:"font-body text-xs md:text-sm font-semibold uppercase tracking-widest text-accent mb-2 block",children:t}),a.jsx("h3",{className:`font-heading text-2xl md:text-3xl font-bold text-[#f8f8f8] mb-3 ${h?"":"line-clamp-3"}`,children:n}),a.jsx("p",{className:`font-body text-sm md:text-base text-[#f8f8f8]/70 max-w-xl leading-relaxed ${h?"":"line-clamp-2"}`,children:r})]}),u&&a.jsx("div",{className:"mb-10",children:a.jsx(Ej,{src:u})}),f&&a.jsx("div",{className:"mb-10",children:a.jsx("div",{className:"rounded-xl overflow-hidden shadow-[0_4px_20px_-4px_rgba(225,19,128,0.12)]",children:a.jsx("img",{src:f,alt:n,className:"w-full aspect-video object-cover"})})}),p&&a.jsx("div",{className:"flex justify-center mt-auto",children:a.jsx("button",{onClick:()=>d(v=>!v),className:"font-body text-sm md:text-base font-semibold text-[#f8f8f8] hover:text-[#1e0f4b] cursor-pointer transition-all duration-300 ease-out hover:scale-[1.02] hover:-translate-y-[2px] mb-6 inline-flex items-center",children:h?"Read less":"Read more"})}),a.jsx("div",{ref:p?b:void 0,className:"overflow-hidden transition-all duration-[350ms] ease-out",style:p?{maxHeight:h?`${y}px`:"0px",opacity:h?1:0}:void 0,children:a.jsxs("div",{className:"space-y-8",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-heading text-lg font-semibold text-accent mb-3",children:"The Challenge"}),a.jsx("div",{className:"border-l-[3px] border-[#1e0f4b] pl-5",children:a.jsx("p",{className:"font-body text-sm md:text-[15px] text-[#f8f8f8] leading-relaxed",children:o})})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-heading text-lg font-semibold text-accent mb-3",children:"How Nexus Helped"}),a.jsx("ul",{className:"space-y-3",children:s.map((v,j)=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(Pj,{}),a.jsx("span",{className:"font-body text-sm md:text-[15px] text-[#f8f8f8] leading-relaxed",children:v})]},j))})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-heading text-lg font-semibold text-accent mb-3",children:"The Impact"}),a.jsx("div",{className:`${m} rounded-lg p-5 md:p-6`,children:a.jsxs("p",{className:"font-body text-sm md:text-[15px] leading-relaxed text-[#f8f8f8]",children:[i.text.replace(i.emphasisPhrase,""),a.jsx("span",{className:"font-semibold text-[#f8f8f8]",children:i.emphasisPhrase})]})})]})]})})]})]})})},Vg=({hideTitle:e=!1})=>{const t=Mo(0);return a.jsx("section",{className:"relative bg-background py-8 md:py-10 overflow-hidden",children:a.jsxs("div",{className:"container mx-auto px-6",children:[!e&&a.jsxs("div",{...t,ref:t.ref,className:`text-center mb-16 md:mb-20 ${t.className}`,children:[a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold mb-4 text-[#f8f8f8]",children:"Case Studies"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-[hsl(330,85%,48%)] rounded-full mb-6"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[#f8f8f8] max-w-lg mx-auto leading-relaxed",children:"Stories of collaboration, growth and measurable impact across the borough."})]}),a.jsxs("div",{className:"max-w-5xl mx-auto flex flex-col md:flex-row gap-6 lg:gap-8",children:[a.jsxs("div",{className:"flex-1 flex flex-col gap-6 lg:gap-8",children:[a.jsx(Js,{number:"Case Study 01",companyName:"Luca Health",title:"How we helped Luca Health test and validate their concussion technology",descriptor:"A Hammersmith-based concussion diagnostics startup working with schools and universities in contact sport.",challenge:"Luca needed commercial pilots, academic validation and stronger visibility within the local ecosystem.",helped:["Brokered a targeted introduction to an IPL cricket team owner to explore pilot opportunities.","Connected Luca with Imperial academics to support product development and validation.","Elevated visibility through Nexus media and ecosystem channels."],impact:{text:"Luca gained access to commercial testing opportunities, academic expertise and greater profile across the innovation ecosystem, accelerating its growth journey.",emphasisPhrase:"accelerating its growth journey."},impactStyle:"navy",videoSrc:"/videos/luca-health.mov",collapsible:!0}),a.jsx(Js,{number:"Case Study 03",companyName:"Langland",title:"How we helped Langland connect with the local innovation ecosystem",descriptor:"A White City based healthcare communications agency and part of the global Publicis Groupe network.",challenge:"Langland initially engaged with the Nexus ecosystem through a Jawdrop event. As a large global organisation, the opportunity was to explore how it could connect more deeply with the local innovation ecosystem and contribute to emerging science and health ventures in the borough.",helped:["Connected Langland to the Nexus community through the Jawdrop deep tech summit.","Supported their decision to sponsor the following Jawdrop event, strengthening their engagement with the ecosystem.","Facilitated connections with local health-tech startups, leading to pro-bono communications supp
172ort.","Introduced Langland to Imperial College London labs and researchers.","Enabled opportunities for Langland to share expertise with the community, including strategic communications advice and support for Nexus initiatives.","Helped connect Langland to local education and talent pathways, including student engagement and work experience opportunities."],impact:{text:"The collaboration has provided pro-bono expertise to startups, strengthened cross-sector connections and created new opportunities between industry, academia and the local community. Langland's initial event participation developed into a ",emphasisPhrase:"long-term ecosystem partnership."},impactStyle:"navy",imageSrc:Sj,collapsible:!0})]}),a.jsxs("div",{className:"flex-1 flex flex-col gap-6 lg:gap-8",children:[a.jsx(Js,{number:"Case Study 02",companyName:"Embargo",title:"How we helped Embargo expand beyond the borough",descriptor:"A Hammersmith-based Food & Beverage app founded by a local resident.",challenge:"Embargo was looking to test pilots, increase visibility and expand beyond the borough.",helped:["Introduced the founder to the LBHF business team to explore pilot opportunities with independent F&B outlets.","Raised profile through speaking opportunities at the 2022 Impact & Innovation launch.","Connected Embargo to regional contacts within and beyond the H&F network."],impact:{text:"Embargo secured public-sector access, strengthened its regional network and expanded operations, opening an office in Barnsley and growing beyond its local base.",emphasisPhrase:"growing beyond its local base."},impactStyle:"navy",reverse:!0,videoSrc:"/videos/embargo.mov",collapsible:!0}),a.jsx(Js,{number:"Case Study 04",companyName:"Medidata",title:"How we helped Medidata build deeper local engagement",descriptor:"A NASDAQ-listed company and leading provider of SaaS and data analytics solutions that support clinical research. Medidata is part of the global Dassault Systèmes group and has more than 300 employees based in Hammersmith & Fulham.",challenge:"Medidata initially connected with the Nexus ecosystem through speaking opportunities at deep tech events. As a global health-tech company with a strong local presence, the opportunity was to build deeper engagement with the local innovation ecosystem, including startups, academia and future talent pipelines.",helped:["Invited Medidata's SVP to speak at Nexus' first Deep Tech Network showcase, initiating the relationship.","Created opportunities for Medidata employees to participate regularly in Nexus events, including speaking at the Jawdrop Life Sciences Summit.","Connected Medidata with the Life Sciences mentorship programme, enabling employees to support early-stage startups.","Facilitated placements for Imperial biomedical students within Medidata teams.","Enabled engagement with local schools through Pathway Bond, providing work experience opportunities and career talks."],impact:{text:"Through this engagement, Medidata has supported startups, contributed expertise to the ecosystem and helped create new pathways connecting corporate talent, academia and young people in the local community. The collaboration has developed into a ",emphasisPhrase:"sustained partnership between Nexus and a global health-tech leader."},impactStyle:"navy",imageSrc:Cj,collapsible:!0})]})]})]})})},Qg="/assets/innovation-map-D5JPsOKs.jpg",zf=[{label:"1. HAMMERSMITH HOSPITAL",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"Hammersmith Hospital"}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"MRC Institute for Medical Sciences"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 mb-6 pl-2",children:[a.jsx("li",{children:"Microscopy"}),a.jsx("li",{children:"Genomics"}),a.jsx("li",{children:"MR"}),a.jsx("li",{children:"Proteomics & metabolomics"}),a.jsx("li",{children:"Transgenics & embryonic stem cells"}),a.jsx("li",{children:"Whole animal physiology and imaging (WAPI)"})]}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"The NIHR Imperial Clinical Research Facility"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80",children:"The NIHR CRF hosts experimental medicine and early-phase clinical research across all medical disciplines. Researchers using the CRF have access to all that Imperial College and Trust can provide including Principal Investigators, Imaging, Pathology and BioBanking."})]})},{label:"2. SIR MICHAEL UREN HUB",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"Sir Michael Uren Hub"}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Henry Royce Institute at Imperial College London"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 mb-6 pl-2",children:[a.jsx("li",{children:"A thin film deposition suite"}),a.jsx("li",{children:"Patterning and milling"}),a.jsx("li",{children:"Testing and characterisation"}),a.jsx("li",{children:"SPIN-lab"})]}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Biomedical Engineering (BME) Hub"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-4",children:"Advanced Biomedical Engineering Core facilities are hosted here, as part of the Department of Bioengineering at Imperial College. They include cell culture and histology lab, fluorescent microscopy (Leica hub), a bio-nanofabrication clean room, complex gate analysis platforms and high precision characterisation equipment."}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-6",children:"They are fully accessible to external partners through a flexible, by the hour and tiered booking system and relevant training."}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"MedTechONE, Imperial College"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Sir Michael Uren Hub hosts the MedTechAccelerator, a MedTechONE programme supporting the Imperial College MedTech innovators community across all faculties."}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80",children:"MedTechONE offers Quality/Regulatory, product development and funding plans expertise to help de-risk Imperial College MedTech projects."})]})},{label:"3. THE INVENTION ROOMS",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"The Invention Rooms"}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"The Advanced Hackspace"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 pl-2",children:[a.jsx("li",{children:"Electrical and mechanical engineering workshops"}),a.jsx("li",{children:"Digital modelling and fabrication spaces"}),a.jsx("li",{children:"Physical computing workspaces"})]})]})},{label:"4. I-HUB",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"I-HUB"}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Endress + Hauser"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 mb-6 pl-2",children:[a.jsx("li",{children:"Raman-based PAT and at the bioreactor"}),a.jsx("li",{children:"Kaiser Raman bioprocess analyzers (Raman Rxn2⢠and Raman Rxn4â¢)"})]}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"LONDON BIOFOUNDRY"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 pl-2",children:[a.jsx("li",{children:"Acoustic liquid handling"}),a.jsx("li",{children:"A fully automated assembly platform"}),a.jsx("li",{children:"A fully automated culture platform"}),a.jsx("li",{children:"Agilent LC-MS"})]})]})},{label:"5. WHITE CITY PLACE",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"White City Place"}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Novartis - The WestWorks"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-6",children:"The Novartis Institutes for BioMedical Research (NIBR) collaborates across scientific and organisational boundaries."}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-6",children:"Areas of interest are aspects of unmet medical needs and platform technologies to help discover therapies, digital therapeutics / technologies / biomarkers."}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"WilbeLABs - The WestWorks and The MediaWorks"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-6",children:"WilbeLABS has a 11,854 sq ft early-stage science incubator at WestWorks providing flexible, ready-to-use lab space for early-stage biotech and life sciences companies, as well as laboratory services supporting a further 24,000 sq ft of growth space at MediaWorks."}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Imperial College London White City Professional Services Hub - The MediaWorks"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80",children:"Designed as part of the Professional Services Workspaces Programme, the White City Professional Services Hub is the modern, flexible working home for more than 1200 staff across multiple Imperial divisions."})]})},{label:"6. MOLECULAR SCIENCES RESEARCH HUB",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"Molecular Sciences Research Hub"}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Agilent Measurement Suite"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 mb-6 pl-2",children:[a.jsx("li",{children:"High-end analytical and preparative chromatography and capillary electrophoresis"}),a.jsx("li",{children:"Single and triple quadrupole-LCMS"}),a.jsx("li",{children:"ICPMS"}),a.jsx("li",{children:"FTIR-Chemical Imaging"}),a.jsx("li",{children:"Seahorse analyzer"})]}),a.jsxs("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-8",children:["Get in touch:"," ",a.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Centre for Rapid Online Analysis of Reactions"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 mb-6 pl-2",children:[a.jsx("li",{children:"High-throughput robotic reactor platforms"}),a.jsx("li",{children:"In situ real-time reaction monitoring"}),a.jsx("li",{children:"Continuous flow reactors"}),a.jsx("li",{children:"Automated parallel synthesis reactors"}),a.jsx("li",{children:"uPLC-SFC-MS systems for high-throughput reaction analysis"})]}),a.jsxs("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-8",children:["Get in touch:"," ",a.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]}),a.jsx("h4",{className:"font-heading font-semibold text-lg text-[hsl(var(--foreground))] mb-2",children:"Centre for PULSE EPR"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-2",children:"Facilities include:"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 mb-6 pl-2",children:[a.jsx("li",{children:"State-of-the-art pulse EPR instrumentation operating at multiple frequencies"}),a.jsx("li",{children:"Home-built spectroelectrochemical cells"}),a.jsx("li",{children:"High-sensitivity pulsed X-band spectrometer developed with the LCN"})]}),a.jsxs("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80",children:["Get in touch:"," ",a.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]})},{label:"7. SCALE SPACE WHITE CITY",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"Scale Space White City â wet labs for growing companies"}),a.jsx("p",{className:"font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 mb-6",children:'Imperial White City Incubator: wet labs for early stage start-ups including access to a range of equipment and "rent a bench".'})]})},{label:"8. HAMMERSMITH",body:a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"text-xl md:text-2xl font-heading font-bold text-[hsl(var(--foreground))] mb-4",children:"Nearby in Hammersmith"}),a.jsxs("ul",{className:"list-disc list-inside font-body text-sm md:text-base text-[hsl(var(--foreground))]/80 space-y-1 pl-2",children:[a.jsx("li",{children:"245 Hammersmith â wet labs"}),a.jsx("li",{children:"Refinery Manbré Wharf â dry and wet labs"})]})]})}],Kg=()=>
172{const[e,t]=x.useState(0),[n,r]=x.useState(!1),[o,s]=x.useState(0),i=x.useCallback(l=>{l===e||n||(r(!0),setTimeout(()=>{s(l),t(l),setTimeout(()=>r(!1),30)},200))},[e,n]);return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"bg-primary rounded-b-xl overflow-x-auto scrollbar-hide",children:a.jsx("div",{className:"flex min-w-max",children:zf.map((l,c)=>a.jsxs("button",{onClick:()=>i(c),className:`relative px-4 py-3 font-heading text-xs md:text-sm font-semibold whitespace-nowrap transition-all duration-200 hover:scale-[1.03] ${e===c?"text-accent":"text-primary-foreground hover:text-accent"}`,children:[l.label,a.jsx("span",{className:`absolute bottom-1 left-4 right-4 h-[2px] bg-accent rounded-full transition-all duration-300 origin-left ${e===c?"scale-x-100":"scale-x-0"}`})]},l.label))})}),a.jsx("div",{className:"bg-white rounded-b-2xl shadow-[0_8px_30px_-8px_rgba(0,0,0,0.12)]",children:a.jsx("div",{className:"p-6 md:p-10",children:a.jsx("div",{className:`transition-all duration-200 ease-out ${n?"opacity-0 translate-y-4":"opacity-100 translate-y-0"}`,children:zf[o].body})})})]})},Wf=(e=0)=>{const t=x.useRef(null),[n,r]=x.useState(!1);return x.useEffect(()=>{const o=t.current;if(!o)return;const s=new IntersectionObserver(([i])=>{i.isIntersecting&&(setTimeout(()=>r(!0),e*120),s.unobserve(o))},{threshold:.15});return s.observe(o),()=>s.disconnect()},[e]),{ref:t,className:`transition-all duration-[400ms] ease-out ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-5"}`}},Tj=()=>{const e=Wf(0),t=Wf(1),n=x.useRef(null),r=x.useRef(null),[o,s]=x.useState(!1);return x.useEffect(()=>{const i=r.current;if(!i)return;const l=new IntersectionObserver(([c])=>s(!c.isIntersecting),{threshold:0,rootMargin:"-80px 0px 0px 0px"});return l.observe(i),()=>l.disconnect()},[]),a.jsxs("section",{className:"relative bg-[hsl(var(--background))] py-8 md:py-10 overflow-hidden",children:[a.jsxs("svg",{className:"absolute inset-0 w-full h-full opacity-[0.04] pointer-events-none text-primary",viewBox:"0 0 1200 800",fill:"none",children:[a.jsx("path",{d:"M1100 700 L1140 680 M1130 690 L1140 680 L1134 674",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M60 120 L90 105 M82 113 L90 105 L84 100",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeDasharray:"3 4"}),a.jsx("path",{d:"M1080 100 L1110 88 M1103 95 L1110 88 L1105 83",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round"})]}),a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs("div",{...e,ref:e.ref,className:`text-center mb-10 md:mb-12 ${e.className}`,children:[a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold text-[#f8f8f8] mb-4",children:"Where We Are â Innovation Map"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mb-6"}),a.jsx("p",{className:"font-body text-base md:text-lg font-semibold text-[#f8f8f8] max-w-2xl mx-auto leading-relaxed mb-4",children:"Based in White City. Working across Hammersmith & Fulham."}),a.jsxs("div",{className:"font-body text-sm md:text-base text-[#f8f8f8]/80 max-w-3xl mx-auto leading-relaxed space-y-4 text-left",children:[a.jsx("p",{children:"Nexus connects the people building the borough's future, from early-stage startups to global corporates, from researchers to community leaders."}),a.jsx("p",{children:"We focus on science, deep tech and digital creative industries, which are high-growth sectors that drive jobs, investment and long-term resilience. Each year, we support hundreds of organisations through curated introductions, strategic roundtables and open events designed to unlock real opportunity."}),a.jsx("p",{children:"We're more than an events programme. We're a networking asset, creating partnerships that secure investment, accelerate innovation and open pathways into talent."}),a.jsx("p",{children:"Our ambition is simple: to make Hammersmith & Fulham the UK's most connected and inclusive innovation borough, where collaboration is instinctive and growth benefits local people."})]})]}),a.jsx("div",{...t,ref:t.ref,className:`relative max-w-5xl mx-auto rounded-2xl overflow-hidden shadow-[0_8px_40px_-12px_rgba(0,0,0,0.25)] md:hover:shadow-[0_16px_50px_-10px_rgba(0,0,0,0.35)] md:hover:-translate-y-1 md:hover:scale-[1.005] transition-all duration-300 ease-out ${t.className}`,children:a.jsx("img",{src:Qg,alt:"Aerial view of White City innovation district with numbered location markers",className:"w-full h-auto block"})}),a.jsx("div",{ref:r,className:"h-0"}),a.jsx("div",{ref:n,className:`max-w-5xl mx-auto mt-0 z-30 transition-shadow duration-300 ${o?"sticky top-[var(--nav-height)] shadow-[0_4px_20px_-4px_rgba(0,0,0,0.3)]":""}`,children:a.jsx(Kg,{})})]})]})},Rj="/assets/event-dtn-oct-Cju9hfP5.png",Aj="/assets/event-dcn-feb-B3L3LP1i.png",Lj="/assets/event-dtn-may-BUolFbea.png",Mj="/assets/event-ltw-jun-gWVBf-xG.jpg",Oj=1,Ij="ecc4dbbe-b2da-4cca-aa61-5b46f56537ad",Dj="31b1
172d224-b416-4716-ac34-5d23eb87eb0e",Fj="/__l5e/assets-v1/ecc4dbbe-b2da-4cca-aa61-5b46f56537ad/event-dcnw-sep.webp",zj="a/v1/31b1d224-b416-4716-ac34-5d23eb87eb0e/ecc4dbbe-b2da-4cca-aa61-5b46f56537ad/event-dcnw-sep.webp",Wj="event-dcnw-sep.webp",$j=69030,Hj="image/webp",Bj="2026-07-27T16:39:48Z",Uj={version:Oj,asset_id:Ij,project_id:Dj,url:Fj,r2_key:zj,original_filename:Wj,size:$j,content_type:Hj,created_at:Bj},Vj=1,Qj="5fa771b6-2a6b-478b-8910-7ec4c525d1a7",Kj="31b1d224-b416-4716-ac34-5d23eb87eb0e",Gj="/__l5e/assets-v1/5fa771b6-2a6b-478b-8910-7ec4c525d1a7/event-dtn-oct21.webp",Yj="a/v1/31b1d224-b416-4716-ac34-5d23eb87eb0e/5fa771b6-2a6b-478b-8910-7ec4c525d1a7/event-dtn-oct21.webp",qj="event-dtn-oct21.webp",Xj=62248,Jj="image/webp",Zj="2026-08-06T16:00:57Z",eN={version:Vj,asset_id:Qj,project_id:Kj,url:Gj,r2_key:Yj,original_filename:qj,size:Xj,content_type:Jj,created_at:Zj},pc=[{image:eN.url,title:"Deep Tech Network - Industry Showcase",location:`Central Working - London, White City 173London, England`,date:"Wednesday, October 21 from 5:30 pm to 8:30 pm",link:"https://www.eventbrite.co.uk/e/deep-tech-network-industry-showcase-tickets-1994814241094?aff=oddtdtcreator"},{image:Uj.url,title:"Digital Creative Network West - showcase talks, drinks + networking",location:`Earls Court Project Rooms 174London, England`,date:"Wednesday, September 9 from 5:30 pm to 8:30 pm",link:"https://www.eventbrite.co.uk/e/digital-creative-network-west-showcase-talks-drinks-networking-tickets-1993330657656"},{image:Lj,title:"Deep Tech Network - Industry Showcase",location:`Central Working - London, White City 175London, England`,date:"Monday, May 11 from 5:30 pm to 8:30 pm",ended:!0},{image:Mj,title:"London Tech Week fringe event",location:`Scale Space White City 176London, England`,date:"Thursday, Jun 11 from 5:30 pm to 8:30 pm",link:"https://www.eventbrite.com/e/what-to-get-right-in-the-first-1000-days-of-a-startup-tickets-1988894135900",ended:!0},{image:Aj,title:"Digital Creative Network West - showcase talks, drinks + networking",location:`1EdCity 177London, England`,date:"Tuesday, Feb 10 from 5:30 pm to 8:30 pm",ended:!0},{image:Rj,title:"Deep Tech Network - Industry Showcase",location:`Central Working - London, White City 178London, England`,date:"Wednesday, Oct 15, 2025 from 5:30 pm to 8:30 pm",ended:!0}],tN=pc.slice(0,3),$f=(e=0)=>{const t=x.useRef(null),[n,r]=x.useState(!1);return x.useEffect(()=>{const o=t.current;if(!o)return;const s=new IntersectionObserver(([i])=>{i.isIntersecting&&(setTimeout(()=>r(!0),e*120),s.unobserve(o))},{threshold:.1});return s.observe(o),()=>s.disconnect()},[e]),{ref:t,className:`transition-all duration-500 ease-out ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`}},hc=({event:e})=>{const t=e.link?"a":"div",n=e.link?{href:e.link,target:"_blank",rel:"noopener noreferrer"}:{};return a.jsxs(t,{...n,className:"group flex flex-col rounded-xl shadow-sm hover:shadow-lg transition-all duration-300 hover:-translate-y-1 bg-card overflow-hidden h-full cursor-pointer",children:[a.jsxs("div",{className:"relative aspect-[2/1] overflow-hidden",children:[a.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-[1.03]",loading:"lazy"}),a.jsx("div",{className:"absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-foreground
178/20 to-transparent"})]}),a.jsxs("div",{className:"flex flex-col flex-1 p-5",children:[a.jsx("h4",{className:"font-heading text-lg font-bold text-foreground mb-3 leading-snug",children:e.title}),a.jsxs("div",{className:"mt-auto space-y-1 text-sm text-muted-foreground font-body mb-4",children:[e.location.split(` 179`).map((r,o)=>a.jsx("p",{children:r},o)),a.jsx("p",{children:e.date})]}),e.ended?a.jsx("span",{className:"inline-flex items-center justify-center px-5 py-2.5 rounded-full text-sm font-semibold bg-muted text-muted-foreground cursor-default select-none opacity-70",children:"Event ended"}):a.jsx("span",{className:"inline-flex items-center justify-center px-5 py-2.5 rounded-full text-sm font-semibold bg-primary text-primary-foreground transition-all duration-300 group-hover:-translate-y-0.5 group-hover:shadow-lg group-hover:shadow-primary/30",children:"Register now"})]})]})},Gg=({hideCta:e=!1})=>{const t=$f(0),n=$f(1);return a.jsx("section",{className:"relative bg-background py-8 md:py-10 overflow-hidden",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsx("div",{...t,ref:t.ref,className:`text-center mb-12 ${t.className}`,children:a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold text-[#f8f8f8] mb-3",children:` 180`})}),a.jsx("div",{...n,ref:n.ref,className:`max-w-6xl mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 ${n.className}`,children:tN.map((r,o)=>a.jsx(hc,{event:r},o))}),!e&&a.jsxs("div",{className:`mt-12 flex flex-col sm:flex-row items-center justify-center gap-4 ${n.className}`,children:[a.jsx("a",{href:"/events",className:"btn-magenta inline-block text-sm text-center",children:"Discover our events"}),a.jsx("a",{href:"mailto:[email protected]?subject=Hosting%20an%20event%20with%20Nexus",className:"inline-block text-sm text-center rounded-lg px-6 py-3 font-medium bg-accent text-accent-foreground shadow-[0_2px_8px_-2px_hsl(78_95%_63%/0.25)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:shadow-[0_10px_30px_-6px_hsl(78_95%_63%/0.45)] active:scale-[0.99] active:-translate-y-0",children:"I want to host an event"}),a.jsx("a",{href:"mailto:[email protected]?subject=Offering%20space",className:"inline-block text-sm text-center rounded-lg px-6 py-3 font-medium bg-white text-[hsl(256_68%_18%)] shadow-[0_2px_8px_-2px_hsl(0_0%_0%/0.15)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:text-primary hover:shadow-[0_10px_30px_-6px_hsl(0_0%_100%/0.6)] active:scale-[0.99] active:-translate-y-0",children:"I want to offer space"})]})]})})},nN="/assets/discover-deep-tech-ks1wmAC8.jpg",rN="/assets/discover-digital-creative-D3Wuk4JO.jpg",oN="/assets/jawdrop-summit-DDLW5XPA.jpg",Yg=(e=0)=>{const t=x.useRef(null),[n,r]=x.useState(!1);return x.useEffect(()=>{const o=t.current;if(!o)return;const s=new IntersectionObserver(([i])=>{i.isIntersecting&&(setTimeout(()=>r(!0),e*120),s.unobserve(o))},{threshold:.15});return s.observe(o),()=>s.disconnect()},[e]),{ref:t,className:`transition-all duration-[400ms] ease-out ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-5"}`}},sN=[{title:"Deep Tech Network",text:"A network bringing together deep tech founders, researchers and industry to explore ideas, share insight and build meaningful connections.",image:nN,href:"/connect/deep-tech-network"},{title:"Digital Creative Network",text:"A space for the digital creative community to connect, collaborate and strengthen relationships across creativity and technology.",image:rN,href:"/connect/digital-creative-network"},{title:"Jawdrop Summit",text:"A deep tech summit series bringing together academics, founders, investors and industry to explore emerging ideas and real-world challenges.",image:oN,href:"/connect/jawdrop"}],iN=({title:e,text:t,image:n,href:r,index:o})=>{const s=Yg(o);return a.jsx("div",{ref:s.ref,className:s.className,children:a.jsxs(He,{to:r,className:"group relative block overflow-hidden rounded-2xl aspect-[3/4] sm:aspect-[4/5] cursor-pointer transition-all duration-300 ease-out hover:-translate-y-1.5 hover:shadow-[0_12px_40px_-8px_rgba(30,15,75,0.35)]",children:[a.jsx("img",{src:n,alt:e,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-[1.02]"}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-5 md:p-7",children:a.jsxs("div",{className:"bg-[hsl(256,68%,18%)]/[0.92] rounded-lg px-5 py-4 md:px-6 md:py-5 backdrop-blur-[2px]",children:[a.jsx("h3",{className:"font-heading text-lg md:text-[1.3rem] font-bold text-[#f8f8f8] leading-tight whitespace-nowrap",children:e}),a.jsxs("div",{className:"max-h-0 opacity-0 group-hover:max-h-40 group-hover:opacity-100 transition-all duration-300 ease-out overflow-hidden",children:[a.jsx("p",{className:"font-body text-sm text-[#f8f8f8]/85 leading-relaxed mt-2.5",children:t}),a.jsx("p",{className:"font-body text-sm font-medium text-[#e11380] text-center mt-3 cursor-pointer hover:underline",children:"Read more"})]})]})})]})})},aN=()=>{const e=Yg(0);return a.jsx("section",{className:"relative bg-background py-8 md:py-10 overflow-hidden",children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsxs("div",{ref:e.ref,className:`text-center mb-16 md:mb-20 ${e.className}`,children:[a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold text-[#f8f8f8] mb-4",children:"Discover"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full"})]}),a.jsx("div",{className:"max-w-6xl mx-auto grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:sN.map((t,n)=>a.jsx(iN,{...t,index:n},t.title))})]})})},_o=(e=0)=>
180{const t=x.useRef(null),[n,r]=x.useState(!1);return x.useEffect(()=>{const o=t.current;if(!o)return;const s=new IntersectionObserver(([i])=>{i.isIntersecting&&(setTimeout(()=>r(!0),e*150),s.unobserve(o))},{threshold:.15});return s.observe(o),()=>s.disconnect()},[e]),{ref:t,className:`transition-all duration-[400ms] ease-out ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`}},lN=()=>{const e=_o(0),t=_o(1),n=_o(2),r=_o(3),o=_o(4),[s,i]=x.useState(!1);return a.jsxs("section",{className:"relative overflow-hidden pt-16 pb-28 md:pt-20 md:pb-36",style:{backgroundColor:"hsl(256, 68%, 18%)"},onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[a.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:a.jsx("div",{className:"absolute -bottom-[10%] -right-[8%] w-[500px] h-[620px] transition-transform duration-[1200ms] ease-out",style:{transform:s?"scale(1.04)":"scale(1)",maskImage:"linear-gradient(to top, transparent 0%, black 40%, black 70%, transparent 100%)",WebkitMaskImage:"linear-gradient(to top, transparent 0%, black 40%, black 70%, transparent 100%)"},children:a.jsx(gi,{className:"w-full h-full text-white opacity-[0.05]"})})}),a.jsx("div",{className:"absolute top-[10%] left-1/2 -translate-x-1/2 w-[500px] h-[400px] rounded-full bg-primary/8 blur-[120px]"}),a.jsxs("div",{className:"relative container mx-auto px-6 text-center",children:[a.jsx("div",{ref:e.ref,className:e.className,children:a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl xl:text-[3.4rem] font-bold text-white leading-tight mb-6",children:"Want to get involved?"})}),a.jsx("div",{ref:t.ref,className:t.className,children:a.jsx("div",{className:"mx-auto w-20 h-[2px] bg-primary rounded-full mb-12"})}),a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[a.jsx("div",{ref:n.ref,className:n.className,children:a.jsx("a",{href:"/connect",className:"btn-magenta inline-flex items-center text-base hero-cta-3d",children:"I'm a business. Help me grow."})}),a.jsx("div",{ref:r.ref,className:r.className,children:a.jsx("a",{href:"/join-our-community",className:"btn-magenta inline-flex items-center text-base hero-cta-3d",children:"I want to join the community."})}),a.jsx("div",{ref:o.ref,className:o.className,children:a.jsx("a",{href:"https://move-upstream.us17.list-manage.com/subscribe?u=1b30b7d546cf396dc3f26d37c&id=e275656ede",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-base font-medium rounded-lg px-6 py-3 bg-accent text-accent-foreground shadow-[0_2px_8px_-2px_hsl(78_95%_63%/0.25)] transition-all duration-300 ease-out hover:-translate-y-[4px] hover:scale-[1.02] hover:bg-primary hover:text-primary-foreground hover:shadow-[0_12px_32px_-8px_hsl(330_85%_48%/0.5)] active:scale-[0.98] active:-translate-y-0",children:"Subscribe to our newsletter"})})]})]})]})},qg="/assets/logo-founding-1-BmzFakpM.png",Xg="/assets/logo-founding-2-dg7MNr5R.png",cN="/assets/logo-supporter-arc-G4xoy_pD.png",uN="/assets/logo-supporter-mitsui-Bd9MEUp9.png",dN="/assets/logo-supporter-5-DkFJt9EK.png",fN="/assets/logo-supporter-scalespace-CninK8wN.png",pN="/assets/logo-supporter-wcid-V9ZY2KVT.png",hN=[{src:qg,alt:"Founding Organisation 1",className:"h-[12rem] md:h-[15.5rem]"},{src:Xg,alt:"Founding Organisation 2",className:"h-[12rem] md:h-[15.5rem]"}],mN=[{src:cN,alt:"ARC West London",className:"h-[13.5rem] md:h-[15.75rem]"},{src:uN,alt:"Mitsui Fudosan UK",className:"h-[13.5rem] md:h-[15.75rem]"},{src:dN,alt:"Supporter",className:"h-[13.5rem] md:h-[15.75rem]"},{src:fN,alt:"Scale Space",className:"h-[13.5rem] md:h-[15.75rem]"},{src:pN,alt:"White City Innovation District",className:"h-[13.5rem] md:h-[15.75rem]"}],Hf=({variant:e="both"})=>{const t=e==="founding"||e==="both",n=e==="supporters"||e==="both";return a.jsxs(a.Fragment,{children:[t&&a.jsxs("section",{className:"relative pt-[7.5rem] pb-[3.75rem]",style:{backgroundColor:"#1e0f4b"},children:[a.jsx("div",{className:"absolute top-0 left-0 right-0 h-px bg-[#f8f8f8]/10"}),a.jsx("div",{className:"container mx-auto px-6",children:a.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[a.jsx("p",{className:"text-[2rem] uppercase tracking-[0.25em] text-[#f8f8f8] font-bold mb-[3.75rem]",children:"Founding Organisations"}),a.jsx("div",{className:"flex flex-col md:flex-row items-center justify-center gap-10",children:hN.map((r,o)=>a.jsxs(x.Fragment,{children:[o===1&&a.jsx("div",{"aria-hidden":"true",className:"hidden md:block w-px self-stretch bg-[#f8f8f8]/50 my-8"}),a.jsx("div",{className:"transition-all duration-300 opacity-80 hover:opacity-100 hover:scale-[1.03]",children:a.jsx("img",{src:r.src,alt:r.alt,className:`${r.className} w-auto object-contain`})})]},r.alt))})]})})]}),n&&a.jsx("section",{className:"relative bg-background py-20",children:a.jsx("div",{className:"container mx-auto px-6",children:a.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[a.jsx("p",{className:"text-[2.5rem] uppercase tracking-[0.25em] text-[#f8f8f8] font-bold mb-10",children:"Supporters"}),a.jsx("div",{className:"flex items-center justify-center gap-6 flex-nowrap",children:mN.map(r=>a.jsx("div",{className:"transition-all duration-300 opacity-80 hover:opacity-100 hover:scale-[1.03]",children:a.jsx("img",{src:r.src,alt:r.alt,className:`${r.className} w-auto object-contain`})},r.alt))})]})})})]})},Me=()=>
180{const[e,t]=x.useState("");return a.jsx("footer",{className:"bg-background border-t border-[#f8f8f8]/10",children:a.jsxs("div",{className:"container mx-auto px-6 py-16",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12",children:[a.jsx("div",{children:a.jsx("p",{className:"mt-4 text-sm text-[#f8f8f8]/70 leading-relaxed",children:"Connecting Hammersmith & Fulham's innovators to build a thriving ecosystem of science, tech and creative enterprises."})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-heading text-sm font-semibold text-[#f8f8f8] mb-4 uppercase tracking-wider",children:"Quick Links"}),a.jsx("ul",{className:"space-y-3",children:["Who We Are","Connect","Access","Impact","Join Our Community"].map(n=>a.jsx("li",{children:a.jsx("a",{href:`/${n.toLowerCase().replace(/ /g,"-")}`,className:"text-sm text-[#f8f8f8]/70 hover:text-primary transition-colors duration-200",children:n})},n))})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-heading text-sm font-semibold text-[#f8f8f8] mb-4 uppercase tracking-wider",children:"Stay Connected"}),a.jsxs("ul",{className:"space-y-3",children:[a.jsx("li",{children:a.jsx("a",{href:"https://www.linkedin.com/company/moveupstream/",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[#f8f8f8]/70 hover:text-primary transition-colors duration-200",children:"LinkedIn"})}),a.jsx("li",{children:a.jsx("a",{href:"https://x.com/HelloUpstream",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-[#f8f8f8]/70 hover:text-primary transition-colors duration-200",children:"X (Twitter)"})}),a.jsx("li",{children:a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-[#f8f8f8]/70 hover:text-primary transition-colors duration-200",children:"Email"})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-heading text-sm font-semibold text-[#f8f8f8] mb-4 uppercase tracking-wider",children:"Newsletter"}),a.jsx("p",{className:"text-sm text-[#f8f8f8]/70 mb-4",children:"Stay in the loop with ecosystem updates, events and opportunities."}),a.jsxs("form",{onSubmit:n=>{n.preventDefault();const r="https://move-upstream.us17.list-manage.com/subscribe",o=new URLSearchParams({u:"1b30b7d546cf396dc3f26d37c",id:"e275656ede"});e&&o.set("MERGE0",e),window.open(`${r}?${o.toString()}`,"_blank","noopener,noreferrer")},className:"flex gap-2",children:[a.jsx("input",{type:"email",value:e,onChange:n=>t(n.target.value),placeholder:"Your email",className:"flex-1 bg-card border border-[#f8f8f8]/15 rounded-lg px-4 py-2.5 text-sm text-[#f8f8f8] placeholder:text-[#f8f8f8]/50 focus:outline-none focus:ring-2 focus:ring-primary/50 transition-all"}),a.jsx("button",{type:"submit","aria-label":"Subscribe",className:"btn-magenta px-4 py-2.5 flex items-center transition-all duration-300 md:hover:-translate-y-0.5 md:hover:scale-[1.02] active:scale-[0.98]",children:a.jsx(Oy,{className:"w-4 h-4"})})]})]})]}),a.jsxs("div",{className:"mt-16 pt-6 border-t border-[#f8f8f8]/10 flex flex-col sm:flex-row justify-between items-center gap-4",children:[a.jsxs("p",{className:"text-xs text-[#f8f8f8]/70",children:["© ",new Date().getFullYear()," Upstream Nexus. All rights reserved."]}),a.jsx("div",{className:"flex gap-6",children:["Privacy Policy","Terms & Conditions","Accessibility Statement"].map(n=>a.jsx("a",{href:"#",className:"text-xs text-[#f8f8f8]/70 hover:text-primary transition-colors duration-200",children:n},n))})]})]})})},gN=()=>a.jsx("div",{className:"relative h-0 overflow-visible pointer-events-none","aria-hidden":"true",children:a.jsx("div",{className:"absolute left-1/2 -translate-x-[60%] -translate-y-1/2 w-[700px] h-[350px]",children:a.jsx(gj,{className:"w-full h-full text-white opacity-[0.035] blur-[1px]"})})}),xN=()=>a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsx(xj,{}),a.jsx(Nj,{}),a.jsx(Hf,{variant:"founding"}),a.jsx(kj,{}),a.jsx(gN,{}),a.jsx(Gg,{}),a.jsx(Vg,{}),a.jsx(Tj,{}),a.jsx("div",{className:"bg-background py-10 md:py-14 flex justify-center px-6",children:a.jsx("a",{href:"mailto:[email protected]?subject=Tour%20request",className:"inline-block text-base text-center rounded-lg px-[1.875rem] py-[0.9375rem] font-medium bg-accent text-accent-foreground shadow-[0_2px_8px_-2px_hsl(78_95%_63%/0.25)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:shadow-[0_10px_30px_-6px_hsl(78_95%_63%/0.45)] active:scale-[0.99] active:-translate-y-0",children:"Request a tour"})}),a.jsx(aN,{}),a.jsx(lN,{}),a.jsx(Hf,{variant:"supporters"}),a.jsx(Me,{})]}),vN="/assets/connect-dcn-BxfPZlza.jpg",yN="/assets/deep-tech-5-CT5h7l2V.png",wN="/assets/who-we-are-1-BDkPBWlN.jpg",bN="/assets/connect-programmes-CkFYIXsF.jpg",jN=[{title:"Digital Creative Network",href:"/connect/digital-creative-network",
180image:vN},{title:"Deep Tech Network",href:"/connect/deep-tech-network",image:yN},{title:"Jawdrop",href:"/connect/jawdrop",image:wN},{title:"Programmes & Roundtables",href:"/connect/programmes-roundtables",image:bN}],NN=()=>a.jsxs("div",{className:"min-h-screen bg-[#1e0f4b] text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-12 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Connect"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsxs("div",{className:"max-w-3xl mx-auto px-6 pb-16 text-center",children:[a.jsx("p",{className:"font-body text-lg md:text-xl font-medium text-[#f8f8f8] mb-6",children:"Strategic connections across science, tech and digital creative sectors."}),a.jsx("p",{className:"font-body text-sm md:text-base text-[#f8f8f8]/80 leading-relaxed mb-4",children:"Nexus brings together founders, researchers, investors and partners across Hammersmith & Fulham to spark collaboration and unlock opportunity."}),a.jsx("p",{className:"font-body text-sm md:text-base text-[#f8f8f8]/80 leading-relaxed",children:"We broker targeted introductions and create focused spaces where meaningful relationships form."})]}),a.jsx("div",{className:"text-center mb-16",children:a.jsx(He,{to:"/join-our-community",className:"inline-block bg-accent text-accent-foreground rounded-lg px-8 py-3 font-heading font-semibold text-base transition-all duration-300 ease-out hover:-translate-y-1 hover:scale-[1.02] hover:bg-primary hover:text-primary-foreground hover:shadow-[0_10px_30px_-6px_hsl(330_85%_48%/0.5)] active:scale-[0.99] active:translate-y-0",children:"Join Our Community"})}),a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"font-heading text-2xl md:text-3xl lg:text-4xl font-bold text-[#f8f8f8] mb-4",children:"Our Networks & Platforms"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full"})]}),a.jsx("div",{className:"max-w-4xl mx-auto px-6 pb-24 grid grid-cols-1 sm:grid-cols-2 gap-6 md:gap-8",children:jN.map(e=>a.jsxs(He,{to:e.href,className:"group relative rounded-2xl overflow-hidden aspect-[4/3] flex flex-col items-center justify-center text-center transition-all duration-300 ease-out md:hover:-translate-y-2 md:hover:scale-[1.02] active:scale-[0.99] md:hover:shadow-[0_20px_50px_-12px_hsl(330_85%_48%/0.4)]",children:[a.jsx("img",{src:e.image,alt:"",className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-black/30 transition-colors duration-300 group-hover:bg-black/40"}),a.jsxs("div",{className:"relative z-10 px-6",children:[a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold text-[#f8f8f8] mb-4",children:e.title}),a.jsx("span",{className:"font-body text-sm font-medium text-[#f8f8f8] underline-offset-4 group-hover:underline",children:"Learn more"})]})]},e.title))}),a.jsx(Me,{})]}),kN="/assets/grow-innovation-map-BUtdB68G.png",SN=[{title:"Innovation Map",href:"/access/innovation-map",image:kN}],CN=()=>a.jsxs("div",{className:"min-h-screen bg-[#1e0f4b] text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-12 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Access"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-3xl mx-auto px-6 pb-16 text-center",children:a.jsx("p",{className:"font-body text-lg md:text-xl font-medium text-[#f8f8f8] mb-6",children:"We help organisations and people move from connection to progress â accessing the relationships, spaces and opportunities that support growth across Hammersmith & Fulham."})}),a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"font-heading text-2xl md:text-3xl lg:text-4xl font-bold text-[#f8f8f8] mb-4",children:"Explore"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full"})]}),a.jsx("div",{className:"max-w-4xl mx-auto px-6 pb-24 flex justify-center",children:SN.map(e=>a.jsxs(He,{to:e.href,className:"group relative rounded-2xl overflow-hidden aspect-[4/3] flex flex-col items-center justify-center text-center transition-all duration-300 ease-out md:hover:-translate-y-2 md:hover:scale-[1.02] active:scale-[0.99] md:hover:shadow-[0_20px_50px_-12px_hsl(330_85%_48%/0.4)]",children:[a.jsx("img",{src:e.image,alt:"",className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-primary/65 transition-colors duration-300 group-hover:bg-primary/75"}),a.jsxs("div",{className:"relative z-10 px-6",children:[a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold text-[#f8f8f8] mb-4",children:e.title}),a.jsx("span",{className:"font-body text-sm font-medium text-[#f8f8f8] underline-offset-4 group-hover:underline",children:"Learn more"})]})]},e.title))}),a.jsx(Me,{})]}),EN="/assets/event-1-D3siRU_S.jpg",PN="/assets/impact-podcast-DB2xvtDs.png",_N="/assets/impact-testimonials-BKS_0YBJ.jpg",TN=[{title:"Success Stories",to:"/amplify/success-stories",image:EN},{title:"Podcasts",to:"/amplify/podcast",image:PN},{title:"Case Studies",to:"/amplify/testimonials",image:_N}],RN=()=>{const e=Iu();return a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-8 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground",children:"Amplify"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-3xl mx-auto px-6 pb-12 text-center",children:a.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed text-primary-foreground",children:"We make innovation visible â sharing measurable outcomes and real stories that show how collaboration strengthens the borough's ecosystem."})}),a.jsx("section",{className:"container mx-auto px-6 pb-24",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:TN.map(t=>a.jsxs("div",{onClick:()=>e(t.to),className:`relative rounded-lg overflow-hidden cursor-pointer aspect-[4/3] 181 transition-all duration-300 ease-out 182 hover:scale-[1.02] hover:shadow-[0_12px_40px_-8px_rgba(0,0,0,0.3)] 183 group`,children:[a.jsx("img",{src:t.image,alt:t.title,className:"absolute inset-0 w-full h-full object-cover",style:t.title==="Podcasts"?{objectPosition:"65% center"}:t.title==="Testimonials"?{objectPosition:"left center"}:void 0}),a.jsx("div",{className:"absolute inset-0 bg-primary/65 group-hover:bg-primary/75 transition-colors duration-300"}),a.jsx("div",{className:"relative z-10 flex items-center justify-center h-full p-8",children:a.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-primary-foreground text-center",children:t.title})})]},t.title))})}),a.jsx(Me,{})]})},AN="/assets/deep-tech-1-DhKVSILx.png",LN="/assets/deep-tech-2-BvNrHYGM.png",MN="/assets/deep-tech-3-BXFIDVFC.png",ON="/assets/deep-tech-5-CT5h7l2V.png",IN="/assets/deep-tech-6-fcm_g2Lr.png",DN="/assets/deep-tech-7-19uzAzLf.png",FN="/assets/deep-tech-8-4LLyxpQG.png",zN="/assets/deep-tech-9-sU1HV9JC.jpg",WN="/assets/deep-tech-10-DJs3x1a9.jpg",$N="/assets/deep-tech-11-HtytOCTj.jpg",HN=[{heading:"What it is",body:"The Deep Tech Network connects researchers, founders, investors and industry leaders working across science, engineering and emerging technologies, with strong links to Imperial College London and the White City Innovation District.",color:"pink",icon:gu},{heading:"Who it's for",body:`Open to deep tech startups, academic researchers, corporate partners, investors and innovation teams looking to collaborate and learn from one another. 184`,color:"lime",icon:yu},{heading:"What happens here",body:"Through talks, industry showcases and investor series, the network creates opportunities to explore emerging research, share insight and support the journey from lab to market.",color:"pink",icon:vu},{heading:"How to get involved",body:"Sign up to stay informed about upcoming Deep Tech Network events and initiatives, or follow our digital channels to keep in touch with the community.",color:"lime",icon:xu}],Zs=[zN,MN,DN,WN,AN,IN,$N,FN,ON,LN],BN=()=>
184{const[e,t]=x.useState(0),[n,r]=x.useState(!1),o=Zs.length,[s,i]=x.useState(5);x.useEffect(()=>{const w=()=>{window.innerWidth<640?i(1):window.innerWidth<1024?i(3):i(5)};return w(),window.addEventListener("resize",w),()=>window.removeEventListener("resize",w)},[]);const l=[...Zs.slice(-s),...Zs,...Zs.slice(0,s)],[c,u]=x.useState(s);x.useEffect(()=>{u(s+e)},[s]);const f=x.useCallback(()=>{n||(r(!0),u(w=>w+1))},[n]),p=x.useCallback(()=>{n||(r(!0),u(w=>w-1))},[n]),h=x.useCallback(()=>{r(!1),u(w=>{const g=w-s;return g>=o?w-o:g<0?w+o:w})},[s,o]),d=x.useRef(!1);x.useEffect(()=>{const w=c-s;(w>=o||w<0)&&(d.current=!0)},[c,s,o]);const b=100/s,y=-(c*b);return a.jsxs("div",{className:"min-h-screen bg-[#1e0f4b] text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-16 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Deep Tech Network"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-5xl mx-auto px-6 grid grid-cols-1 md:grid-cols-2 gap-8 pb-16",children:HN.map((w,g)=>{const m=w.color==="pink",v=w.icon,j=g===3,N=j?"a":"div",k=j?{href:"https://move-upstream.us17.list-manage.com/subscribe?u=1b30b7d546cf396dc3f26d37c&id=57d3491bf2",target:"_blank",rel:"noopener noreferrer"}:{};return a.jsxs(N,{...k,className:`rounded-[2.5rem] p-10 md:p-12 flex flex-col items-center text-center shadow-md transition-all duration-300 ease-out md:hover:-translate-y-1.5 md:hover:scale-[1.02] active:scale-[0.99] ${j?"cursor-pointer":""} ${m?"bg-primary text-primary-foreground md:hover:shadow-[0_20px_50px_-12px_hsl(330_85%_48%/0.35)]":"bg-accent text-accent-foreground md:hover:shadow-[0_20px_50px_-12px_hsl(78_95%_63%/0.35)]"}`,children:[a.jsx(v,{className:"w-8 h-8 mb-5 opacity-80",strokeWidth:1.5}),a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold mb-4",children:w.heading}),a.jsx("p",{className:"font-body text-sm md:text-base leading-relaxed",children:w.body})]},g)})}),a.jsx("div",{className:"max-w-2xl mx-auto px-6 pb-16",children:a.jsxs("div",{className:"rounded-full bg-[hsl(256_68%_22%)] px-10 py-8 flex flex-col items-center text-center",children:[a.jsx("h2",{className:"font-heading text-lg md:text-xl font-semibold text-[#f8f8f8] mb-5",children:"Sign up for Deep Tech Network newsletter"}),a.jsx("a",{href:"http://eepurl.com/ifk9D1",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center font-medium rounded-lg px-7 py-3 text-sm bg-primary text-primary-foreground transition-all duration-300 ease-out md:hover:-translate-y-0.5 md:hover:scale-[1.02] md:hover:shadow-[0_12px_28px_-6px_hsl(330_85%_48%/0.45)] active:scale-[0.99] animate-[newsletter-glow_7s_ease-in-out_infinite]",children:"Subscribe"})]})}),a.jsx("div",{className:"max-w-7xl mx-auto px-6 pb-24",children:a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("button",{onClick:p,className:"flex-shrink-0 w-12 h-12 rounded-full bg-accent text-accent-foreground flex items-center justify-center transition-all duration-200 hover:scale-110 hover:shadow-[0_0_20px_hsl(78_95%_63%/0.4)]","aria-label":"Previous images",children:a.jsx(hu,{className:"w-6 h-6"})}),a.jsx("div",{className:"flex-1 overflow-hidden rounded-2xl",children:a.jsx("div",{className:"flex",style:{transform:`translateX(${y}%)`,transition:n?"transform 350ms ease-in-out":"none"},onTransitionEnd:h,children:l.map((w,g)=>a.jsx("div",{className:"flex-shrink-0 px-1.5",style:{width:`${b}%`},children:a.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden shadow-lg",children:a.jsx("img",{src:w,alt:"",className:"w-full h-full object-cover"})})},g))})}),a.jsx("button",{onClick:f,className:"flex-shrink-0 w-12 h-12 rounded-full bg-accent text-accent-foreground flex items-center justify-center transition-all duration-200 hover:scale-110 hover:shadow-[0_0_20px_hsl(78_95%_63%/0.4)]","aria-label":"Next images",children:a.jsx(mu,{className:"w-6 h-6"})})]})}),a.jsx(Me,{})]})},UN=[{heading:"What it is",body:"The Digital Creative Network brings together people working across TV, film, media, gaming, advertising and the wider digital creative space. It exists to convene large anchor organisations, startups and academia, and to accelerate innovation across West London.",color:"pink",icon:gu},{heading:"Who it's for",body:"Open to creatives, founders, studios, cultural organisations and partners based in West London or close enough to be part of the ecosystem.",color:"lime",icon:yu},{heading:"What happens here",body:"Through talks, drinks and networking sessions, the network creates space for connection, collaboration and idea-sharing. Events are designed to bring different parts of the digital creative ecosystem together and encourage new partnerships to form.",color:"pink",icon:vu},{heading:"How to get involved",body:"Sign up to stay informed about upcoming Digital Creative Network events and initiatives, or follow our digital channels to keep in touch with the community.",color:"lime",icon:xu}],VN=()=>a.jsxs("div",{className:"min-h-screen bg-[#1e0f4b] text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-16 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Digital Creative Network"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-5xl mx-auto px-6 grid grid-cols-1 md:grid-cols-2 gap-8 pb-16",children:UN.map((e,t)=>{const n=e.color==="pink",r=e.icon,o=t===3,s=o?"a":"div",i=o?{href:"https://gmail.us6.list-manage.com/subscribe?u=aa91c34d6e8c4d6c3cc776009&id=25f8f2de42",target:"_blank",rel:"noopener noreferrer"}:{};return a.jsxs(s,{...i,className:`rounded-[2.5rem] p-10 md:p-12 flex flex-col items-center text-center shadow-md transition-all duration-300 ease-out md:hover:-translate-y-1.5 md:hover:scale-[1.02] active:scale-[0.99] ${o?"cursor-pointer":""} ${n?"bg-primary text-primary-foreground md:hover:shadow-[0_20px_50px_-12px_hsl(330_85%_48%/0.35)]":"bg-accent text-accent-foreground md:hover:shadow-[0_20px_50px_-12px_hsl(78_95%_63%/0.35)]"}`,children:[a.jsx(r,{className:"w-8 h-8 mb-5 opacity-80",strokeWidth:1.5}),a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold mb-4",children:e.heading}),a.jsx("p",{className:"font-body text-sm md:text-base leading-relaxed",children:e.body})]},t)})}),a.jsx("div",{className:"max-w-2xl mx-auto px-6 pb-16",children:a.jsxs("div",{className:"rounded-full bg-[hsl(256_68%_22%)] px-10 py-8 flex flex-col items-center text-center",children:[a.jsx("h2",{className:"font-heading text-lg md:text-xl font-semibold text-[#f8f8f8] mb-5",children:"Sign up for Digital Creative Network newsletter"}),a.jsx("a",{href:"http://eepurl.com/hHJ3wf",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center font-medium rounded-lg px-7 py-3 text-sm bg-primary text-primary-foreground transition-all duration-300 ease-out md:hover:-translate-y-0.5 md:hover:scale-[1.02] md:hover:shadow-[0_12px_28px_-6
184px_hsl(330_85%_48%/0.45)] active:scale-[0.99] animate-[newsletter-glow_7s_ease-in-out_infinite]",children:"Subscribe"})]})}),a.jsx("div",{className:"max-w-4xl mx-auto px-6 pb-24",children:a.jsx("div",{className:"aspect-video rounded-2xl overflow-hidden shadow-lg",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube-nocookie.com/embed/h_9-L1BiIBs",title:"Digital Creative Network",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full"})})}),a.jsx(Me,{})]}),QN="/assets/jawdrop-1-Va1zI1Ok.jpg",KN="/assets/jawdrop-2-mUBmdW98.jpg",GN="/assets/jawdrop-3-r98D0XJn.jpg",YN="/assets/jawdrop-4-ac_QDyvF.jpg",qN="/assets/jawdrop-5-CVH3J21R.jpg",XN="/assets/jawdrop-7-BPHK5jOE.jpg",JN="/assets/jawdrop-8-CmYCvSQG.jpg",ZN="/assets/jawdrop-9-KH8_dLM5.jpg",ek="/assets/jawdrop-10-CbCgNQ0u.jpg",tk=[{heading:"What it is",body:"Jawdrop is a deep tech summit series that brings together academics, startups, scaleups, enterprises, investors and policymakers to explore key challenges and opportunities across science, technology and innovation.",color:"pink",icon:gu},{heading:"Who it's for",body:"Designed for people shaping the future of sectors such as life sciences, health, climate and technology, from research and industry to investment and policy.",color:"lime",icon:yu},{heading:"What happens here",body:"Each Jawdrop event features expert panels, in-depth discussions and high-quality networking, alongside showcases of groundbreaking work and emerging ideas. Topics evolve with the ecosystem, reflecting what matters most at the time.",color:"pink",icon:vu},{heading:"How to get involved",body:"Attend an upcoming Jawdrop summit to connect with peers, gain insight and be part of the conversation.",color:"lime",icon:xu}],ei=[QN,KN,GN,YN,qN,XN,JN,ZN,ek],nk=()=>{const[e,t]=x.useState(!1),n=ei.length,[r,o]=x.useState(5);x.useEffect(()=>{const d=()=>{window.innerWidth<640?o(1):window.innerWidth<1024?o(3):o(5)};return d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[]);const s=[...ei.slice(-r),...ei,...ei.slice(0,r)],[i,l]=x.useState(r);x.useEffect(()=>{l(r)},[r]);const c=x.useCallback(()=>{e||(t(!0),l(d=>d+1))},[e]),u=x.useCallback(()=>{e||(t(!0),l(d=>d-1))},[e]),f=x.useCallback(()=>{t(!1),l(d=>{const b=d-r;return b>=n?d-n:b<0?d+n:d})},[r,n]),p=100/r,h=-(i*p);return a.jsxs("div",{className:"min-h-screen bg-[#1e0f4b] text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-16 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Jawdrop"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-5xl mx-auto px-6 grid grid-cols-1 md:grid-cols-2 gap-8 pb-16",children:tk.map((d,b)=>{const y=d.color==="pink",w=d.icon,g=b===3,m=g?"a":"div",v=g?{href:"https://move-upstream.us17.list-manage.com/subscribe?u=1b30b7d546cf396dc3f26d37c&id=e275656ede",target:"_blank",rel:"noopener noreferrer"}:{};return a.jsxs(m,{...v,className:`rounded-[2.5rem] p-10 md:p-12 flex flex-col items-center text-center shadow-md transition-all duration-300 ease-out md:hover:-translate-y-1.5 md:hover:scale-[1.02] active:scale-[0.99] ${g?"cursor-pointer":""} ${y?"bg-primary text-primary-foreground md:hover:shadow-[0_20px_50px_-12px_hsl(330_85%_48%/0.35)]":"bg-accent text-accent-foreground md:hover:shadow-[0_20px_50px_-12px_hsl(78_95%_63%/0.35)]"}`,children:[a.jsx(w,{className:"w-8 h-8 mb-5 opacity-80",strokeWidth:1.5}),a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold mb-4",children:d.heading}),a.jsx("p",{className:"font-body text-sm md:text-base leading-relaxed",children:d.body})]},b)})}),a.jsx("div",{className:"max-w-2xl mx-auto px-6 pb-16",children:a.jsxs("div",{className:"rounded-full bg-[hsl(256_68%_22%)] px-10 py-8 flex flex-col items-center text-center",children:[a.jsx("h2",{className:"font-heading text-lg md:text-xl font-semibold text-[#f8f8f8] mb-5",children:"Subscribe to our newsletter"}),a.jsx("a",{href:"https://move-upstream.us17.list-manage.com/subscribe?u=1b30b7d546cf396dc3f26d37c&id=e275656ede",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center font-medium rounded-lg px-7 py-3 text-sm bg-primary text-primary-foreground transition-all duration-300 ease-out md:hover:-translate-y-0.5 md:hover:scale-[1.02] md:hover:shadow-[0_12px_28px_-6
184px_hsl(330_85%_48%/0.45)] active:scale-[0.99] animate-[newsletter-glow_7s_ease-in-out_infinite]",children:"Subscribe"})]})}),a.jsx("div",{className:"max-w-7xl mx-auto px-6 pb-24",children:a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("button",{onClick:u,className:"flex-shrink-0 w-12 h-12 rounded-full bg-accent text-accent-foreground flex items-center justify-center transition-all duration-200 hover:scale-110 hover:shadow-[0_0_20px_hsl(78_95%_63%/0.4)]","aria-label":"Previous images",children:a.jsx(hu,{className:"w-6 h-6"})}),a.jsx("div",{className:"flex-1 overflow-hidden rounded-2xl",children:a.jsx("div",{className:"flex",style:{transform:`translateX(${h}%)`,transition:e?"transform 350ms ease-in-out":"none"},onTransitionEnd:f,children:s.map((d,b)=>a.jsx("div",{className:"flex-shrink-0 px-1.5",style:{width:`${p}%`},children:a.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden shadow-lg",children:a.jsx("img",{src:d,alt:"",className:"w-full h-full object-cover"})})},b))})}),a.jsx("button",{onClick:c,className:"flex-shrink-0 w-12 h-12 rounded-full bg-accent text-accent-foreground flex items-center justify-center transition-all duration-200 hover:scale-110 hover:shadow-[0_0_20px_hsl(78_95%_63%/0.4)]","aria-label":"Next images",children:a.jsx(mu,{className:"w-6 h-6"})})]})}),a.jsx(Me,{})]})},rk="/assets/programmes-1-Bw-LkPRJ.jpg",ok="/assets/programmes-2-BfK-SP6q.jpg",sk="/assets/programmes-3-DPByEUt4.jpg",ik=[{type:"image",src:rk,alt:"Team collaboration at roundtable"},{type:"text",bg:"bg-primary",text:"text-primary-foreground",title:"What it is",body:"Our programmes and roundtables create focused spaces for organisations to come together around shared challenges, opportunities and themes."},{type:"image",src:ok,alt:"Group discussion session"},{type:"text",bg:"bg-accent",text:"text-accent-foreground",title:"Who it's for",body:"Built for founders, leaders, operators, researchers and partners who value open conversation, peer learning and collaboration."},{type:"image",src:sk,alt:"Workshop presentation"},{type:"text",bg:"bg-background",text:"text-[#f8f8f8]",title:"What happens here",body:"From invitation-only roundtables to themed programmes, these sessions encourage honest discussion, practical insight and meaningful connections that continue beyond the room."}],ak=()=>a.jsxs("div",{className:"min-h-screen bg-background text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-16 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Programmes & Roundtables"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("section",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3",children:ik.map((e,t)=>e.type==="image"?a.jsx("div",{className:"aspect-square overflow-hidden group transition-all duration-300 ease-out hover:scale-[1.02] hover:shadow-[0_16px_40px_-8px_rgba(0,0,0,0.35)] hover:z-10 relative",children:a.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-full object-cover transition-transform duration-300 ease-out group-hover:scale-105"})},t):a.jsxs("div",{className:`aspect-square ${e.bg} ${e.text} flex flex-col items-center justify-center p-8 md:p-10 text-center transition-all duration-300 ease-out hover:scale-[1.02] hover:shadow-[0_16px_40px_-8px_rgba(0,0,0,0.35)] hover:z-10 relative`,children:[a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold mb-4",children:e.title}),a.jsx("p",{className:"font-body text-sm md:text-base leading-relaxed max-w-xs",children:e.body})]},t))}),a.jsx("div",{className:"max-w-2xl mx-auto px-6 py-16",children:a.jsxs("div",{className:"rounded-full bg-[hsl(256_68%_22%)] px-10 py-8 flex flex-col items-center text-center",children:[a.jsx("h2",{className:"font-heading text-lg md:text-xl font-semibold text-[#f8f8f8] mb-5",children:"Subscribe to our newsletter to get involved"}),a.jsx("a",{href:"https://move-upstream.us17.list-manage.com/subscribe?u=1b30b7d546cf396dc3f26d37c&id=e275656ede",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center font-medium rounded-lg px-7 py-3 text-sm bg-primary text-primary-foreground transition-all duration-300 ease-out md:hover:-translate-y-0.5 md:hover:scale-[1.02] md:hover:shadow-[0_12px_28px_-6
184px_hsl(330_85%_48%/0.45)] active:scale-[0.99] animate-[newsletter-glow_7s_ease-in-out_infinite]",children:"Subscribe"})]})}),a.jsx(Me,{})]}),lk="/assets/who-we-are-1-BDkPBWlN.jpg",ck="/assets/jawdrop-1-Va1zI1Ok.jpg",uk="/assets/who-we-are-3-DMHmmEgm.jpg",dk=()=>a.jsx("section",{className:"w-full",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3",children:[a.jsx("div",{className:"aspect-square relative overflow-hidden",children:a.jsx("img",{src:lk,alt:"Jawdrop Summit keynote",className:"w-full h-full object-cover"})}),a.jsx("div",{className:"aspect-square bg-[#e11380] flex items-center justify-center p-6 md:p-8",children:a.jsxs("div",{className:"text-center text-[#f8f8f8]",children:[a.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold mb-4",children:"Our Story"}),a.jsx("p",{className:"font-body text-xs md:text-sm leading-relaxed",children:"Nexus was created to support the growth of science, technology and digital creative organisations in Hammersmith & Fulham, and to bring the people behind them closer together."}),a.jsx("p",{className:"font-body text-xs md:text-sm leading-relaxed mt-3",children:"Our story begins in 2017, when the London Borough of Hammersmith & Fulham, in partnership with Imperial College London, published its Industrial Strategy, Economic Growth for Everyone. The strategy set out a clear ambition to build an inclusive, thriving innovation ecosystem that benefits businesses, institutions and the local community."})]})}),a.jsx("div",{className:"aspect-square relative overflow-hidden",children:a.jsx("img",{src:ck,alt:"Nexus networking event",className:"w-full h-full object-cover"})}),a.jsx("div",{className:"aspect-square bg-[#d5fb46] flex items-center justify-center p-6 md:p-8",children:a.jsxs("div",{className:"text-center text-[#1e0f4b]",children:[a.jsx("p",{className:"font-body text-xs md:text-sm leading-relaxed",children:"From this vision, the Partnership for Growth and Innovation was formed, now known as Nexus. We were created as a conduit between organisations, researchers, founders, investors and partners, helping ideas, relationships and opportunities move more easily across the ecosystem."}),a.jsx("p",{className:"font-body text-xs md:text-sm leading-relaxed mt-3",children:"Since 2018, we have been connecting, supporting and shining a light on the science, tech and digital creative sectors based in Hammersmith & Fulham, while also opening the network to founders and organisations from across London and beyond. We work closely with our community to create meaningful connections, support shared challenges, and encourage collaboration and learning."})]})}),a.jsx("div",{className:"aspect-square relative overflow-hidden",children:a.jsx("img",{src:uk,alt:"WD Studios presentation",className:"w-full h-full object-cover"})}),a.jsx("div",{className:"aspect-square bg-[#f8f8f8] flex items-center justify-center p-6 md:p-8",children:a.jsxs("div",{className:"text-center text-[#1e0f4b]",children:[a.jsx("p",{className:"font-body text-xs md:text-sm leading-relaxed",children:"At the heart of Nexus is a belief that strong local networks can accelerate the growth of organisations and places. By bringing people together through events, conversations and shared experiences, we help turn ambition into action and ideas into impact."}),a.jsx("p",{className:"font-body text-xs md:text-sm leading-relaxed mt-3",children:"Nexus is a partnership between Hammersmith & Fulham Council and Imperial College London, working together to support a forward-looking ecosystem with White City at its heart."})]})})]})}),fk=()=>a.jsxs("section",{className:"w-full bg-[#1e0f4b] pt-20 md:pt-28 pb-10 md:pb-14",children:[a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold text-[#f8f8f8] text-center mb-4",children:"Our Vision & Mission"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mb-12"}),a.jsxs("div",{className:"max-w-5xl mx-auto px-6 grid grid-cols-1 md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"bg-primary rounded-[3rem] p-10 md:p-12 flex flex-col items-center text-center text-primary-foreground shadow-md md:shadow-lg transition-all duration-300 ease-out md:hover:-translate-y-1.5 md:hover:scale-[1.02] md:hover:shadow-[0_20px_50px_-12px_hsl(330_85%_48%/0.35)] active:scale-[0.99] active:transition-[transform]",children:[a.jsx(Dy,{className:"w-10 h-10 mb-6",strokeWidth:1.5}),a.jsx("h3",{className:"font-heading text-2xl md:text-3xl font-bold mb-5",children:"Vision"}),a.jsx("p",{className:"font-body text-sm md:text-base leading-relaxed",children:"Nexus's vision is for Hammersmith & Fulham to have an inclusive, thriving ecosystem of ambitious science, tech and digital creative organisations with the White City innovation district a global beacon of growth through innovation."})]}),a.jsxs("div",{className:"bg-accent rounded-[3rem] p-10 md:p-12 flex flex-col items-center text-center text-accent-foreground shadow-md md:shadow-lg transition-all duration-300 ease-out md:hover:-translate-y-1.5 md:hover:scale-[1.02] md:hover:shadow-[0_20px_50px_-12px_hsl(78_95%_63%/0.35)] active:scale-[0.99] active:transition-[transform]",children:[a.jsx(Hm,{className:"w-10 h-10 mb-6",strokeWidth:1.5}),a.jsx("h3",{className:"font-heading text-2xl md:text-3xl font-bold mb-5",children:"Mission"}),a.jsx("p",{className:"font-body text-sm md:text-base leading-relaxed",children:"We support science, technology and digital creative organisations of all sizes by connecting people, bringing communities together to solve shared challenges, creating meaningful opportunities to interact, and spotlighting innovation across the ecosystem."})]})]})]}
184),pk="/assets/how-help-1-BarMfxFo.jpg",hk="/assets/how-help-2-CG9P8ozS.jpg",mk="/assets/how-help-3-BtYW075C.jpg",gk="/assets/how-help-4-BXhwd2XA.jpg",xk=[{title:"Connecting people who need to know each other",text:"Through curated introductions, roundtables and networks like the Deep Tech Network and Digital Creative Network.",image:pk,link:"/connect"},{title:"Helping people access the opportunities that matter",text:"We create space for people to access the connections, knowledge and opportunities that help them move forward â through curated introductions, peer conversations and practical support.",image:hk,link:"/access"},{title:"Creating spaces to come together",text:"Mixers, meetups and informal moments that make it easier for relationships to form and ideas to flow.",image:mk,link:"/events"},{title:"Amplifying innovation across the ecosystem",text:"We promote the ideas, stories and voices emerging from our community through events, talks, newsletters, digital channels and ecosystem storytelling.",image:gk,link:"/amplify"}],vk=()=>a.jsx("section",{className:"w-full bg-[#1e0f4b] pt-10 md:pt-14 pb-20 md:pb-28",children:a.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[a.jsx("h2",{className:"font-heading text-3xl md:text-4xl lg:text-5xl font-bold text-[#f8f8f8] text-center mb-4",children:"How We Help"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mb-8"}),a.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-12",children:[a.jsx("p",{className:"font-body text-sm md:text-base text-[#f8f8f8]/80 leading-relaxed",children:"We help science, tech, and digital creative organisations in Hammersmith & Fulham connect, grow, and be seen."}),a.jsx("p",{className:"font-body text-sm md:text-base text-[#f8f8f8]/80 leading-relaxed mt-4",children:"We work closely with founders, teams and partners to bring the right people together, unlock knowledge and opportunities, and help ideas and innovations gain visibility across the ecosystem."})]}),a.jsx("h3",{className:"font-heading text-lg md:text-xl font-semibold text-[#f8f8f8] text-center mb-10",children:"What this looks like in practice"}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:xk.map((e,t)=>a.jsxs(He,{to:e.link,className:"group relative rounded-[2rem] overflow-hidden aspect-[3/4] cursor-pointer transition-all duration-300 hover:scale-[1.02] hover:-translate-y-1 hover:shadow-[0_12px_32px_-8px_rgba(0,0,0,0.4)]",children:[a.jsx("img",{src:e.image,alt:"",className:"absolute inset-0 w-full h-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-[#e11380]/65 transition-colors duration-250 group-hover:bg-[#e11380]/75"}),a.jsxs("div",{className:"relative z-10 h-full flex flex-col items-center justify-center text-center px-6",children:[a.jsx("h4",{className:"font-heading text-base md:text-lg font-bold text-white leading-snug transition-transform duration-250 group-hover:-translate-y-2",children:e.title}),a.jsx("p",{className:"font-body text-xs md:text-sm text-white/90 leading-relaxed mt-3 max-h-0 opacity-0 overflow-hidden transition-all duration-250 group-hover:max-h-40 group-hover:opacity-100",children:e.text})]})]},t))})]})}),yk=()=>{const{hash:e}=rn();return x.useEffect(()=>{e&&setTimeout(()=>{const t=document.querySelector(e);t&&t.scrollIntoView({behavior:"smooth"})},100)},[e]),a.jsxs("div",{className:"min-h-screen bg-[#1e0f4b] text-foreground",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-12",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8] text-center",children:"Who We Are"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4 mb-12"}),a.jsxs("div",{className:"flex items-center justify-between max-w-4xl mx-auto px-8 md:px-16",children:[a.jsx("img",{src:qg,alt:"Founding Organisation 1",className:"h-36 md:h-44 object-contain hover:opacity-100 opacity-90 transition-all duration-300 hover:scale-[1.03]"}),a.jsx("img",{src:Xg,alt:"Founding Organisation 2",className:"h-36 md:h-44 object-contain hover:opacity-100 opacity-90 transition-all duration-300 hover:scale-[1.03]"})]})]}),a.jsx("div",{id:"our-story",children:a.jsx(dk,{})}),a.jsx("div",{id:"vision-mission",children:a.jsx(fk,{})}),a.jsx("div",{id:"how-we-help",children:a.jsx(vk,{})}),a.jsx(Me,{})]})},wk=[{title:"Sponsor an event",description:"Support our community events and gain visibility across the ecosystem.",subject:"Sponsorship enquiry"},{title:"Mentor a founder",description:"Share your expertise with early-stage founders building the next big thing.",subject:"Mentorship interest"},{title:"Partner with the ecosystem",description:"Explore strategic partnerships that drive mutual growth and innovation.",subject:"Partnership opportunity"},{title:"Attend events",description:"Join our networking sessions, talks and community gatherings.",subject:"Event participation"},{title:"Support local innovation",description:"Help nurture the White City innovation district and its growing community.",subject:"Supporting local innovation"},{title:"Collaborate with Nexus",description:"Have another idea? Let's explore how we can work together.",subject:"Collaboration enquiry"}],bk=()=>
184{const[e,t]=x.useState(null),n=r=>{var s;if(!e)return;const o=((s=e.querySelector("div"))==null?void 0:s.offsetWidth)??300;e.scrollBy({left:r==="left"?-o:o,behavior:"smooth"})};return a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsx("section",{className:"pt-32 pb-10 md:pt-40 md:pb-14",style:{backgroundColor:"hsl(256, 68%, 18%)"},children:a.jsxs("div",{className:"container mx-auto px-6 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8] mb-4",children:"Join Our Community"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mb-8"}),a.jsx("p",{className:"max-w-2xl mx-auto text-base md:text-lg text-[#f8f8f8]/80 leading-relaxed mb-6",children:"If you'd like to get involved, the easiest way to start is with a conversation. Get in touch with our Stakeholder Engagement Manager to set up an introductory call and explore how you can connect with the Nexus community."}),a.jsx("p",{className:"max-w-2xl mx-auto text-base md:text-lg text-[#f8f8f8]/80 leading-relaxed",children:"We also share regular updates through our newsletters, including general Nexus news and dedicated updates for our networks and events. Subscribing is the best way to stay informed about upcoming opportunities, events and collaborations across the ecosystem."})]})}),a.jsx("section",{className:"pt-10 pb-20 md:pt-14 md:pb-28",style:{backgroundColor:"#1e0f4b"},children:a.jsxs("div",{className:"container mx-auto px-6",children:[a.jsx("h2",{className:"font-heading text-2xl md:text-3xl lg:text-4xl font-bold text-[#f8f8f8] text-center mb-4",children:"Ways to get involved"}),a.jsx("p",{className:"text-center text-[#f8f8f8]/60 mb-14 max-w-lg mx-auto",children:"Choose an option below â each one opens an email so we can start the conversation."}),a.jsxs("div",{className:"relative max-w-5xl mx-auto",children:[a.jsx("button",{onClick:()=>n("left"),className:"absolute -left-4 md:-left-6 top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full bg-white/10 border border-white/10 flex items-center justify-center text-[#f8f8f8] transition-all duration-200 hover:bg-primary hover:border-primary","aria-label":"Scroll left",children:a.jsx(hu,{className:"w-5 h-5"})}),a.jsx("div",{ref:t,className:"flex gap-5 overflow-x-auto scroll-smooth scrollbar-hide snap-x snap-mandatory px-1 py-1",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:wk.map(r=>a.jsxs("div",{className:"group flex-shrink-0 w-[calc(25%-15px)] min-w-[260px] snap-start rounded-xl border border-white/10 bg-white/[0.04] p-6 text-left transition-all duration-300 hover:border-primary/40 hover:bg-white/[0.07] flex flex-col",children:[a.jsx("h3",{className:"font-heading text-lg font-semibold text-[#f8f8f8] mb-2 group-hover:text-primary transition-colors",children:r.title}),a.jsx("p",{className:"text-sm text-[#f8f8f8]/60 leading-relaxed mb-6 flex-1",children:r.description}),a.jsx("a",{href:`mailto:[email protected]?subject=${encodeURIComponent(r.title)}`,className:"btn-magenta inline-flex items-center justify-center text-sm transition-all duration-300 md:hover:-translate-y-1 md:hover:scale-[1.02] md:hover:shadow-[0_12px_32px_-8px_hsl(330_85%_48%/0.45)] active:scale-[0.98] self-start",children:"Get in touch"})]},r.title))}),a.jsx("button",{onClick:()=>n("right"),className:"absolute -right-4 md:-right-6 top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full bg-white/10 border border-white/10 flex items-center justify-center text-[#f8f8f8] transition-all duration-200 hover:bg-primary hover:border-primary","aria-label":"Scroll right",children:a.jsx(mu,{className:"w-5 h-5"})})]})]})}),a.jsx("section",{className:"py-16 md:py-20",style:{backgroundColor:"hsl(256, 68%, 18%)"},children:a.jsxs("div",{className:"container mx-auto px-6 text-center",children:[a.jsx("h3",{className:"font-heading text-xl md:text-2xl font-bold text-[#f8f8f8] mb-3",children:"Stay in the loop"}),a.jsx("p",{className:"text-[#f8f8f8]/60 mb-8 max-w-md mx-auto",children:"Subscribe to our newsletter for updates on events, programmes and community news."}),a.jsx("a",{href:"http://eepurl.com/i-odaU",target:"_blank",rel:"noopener noreferrer",className:"btn-magenta inline-flex items-center text-base transition-all duration-300 md:hover:-translate-y-1 md:hover:scale-[1.02] md:hover:shadow-[0_12px_32px_-8px_hsl(330_85%_48%/0.45)] active:scale-[0.98]",children:"Subscribe to our newsletter"})]})}),a.jsx(Me,{})]})},jk=[{title:"Solar Coatings Group Turning Sunlight Into Clean Hydrogen",videoId:"STsG9kZJLx0",text:`In this episode, we meet Dr Andreas Kafizas, Senior Lecturer in Chemistry at Imperial College London and founder of the Solar Coatings Group. Based in White City, the team is developing solar-powered coating technology that uses sunlight to split water and produce clean hydrogen fuel. 185 186Their mission is simple and urgent: build scalable technologies that help tackle the climate crisis and move us towards a clearer, cleaner future for everyone. 187 188Solar Coatings Group is powered by a brilliant research team, including Sam A. J. Hillman, Brian Tam, George Creasey, Guangmeimei Yang, Zhipeng Lin and Paransa Alimard, with many more collaborators across the lab. 189 190Subscribe for more Start-Up Tuesday spotlights from West London's innovation community.`},{title:"Embed Biotech: The Digital Implant Transforming Orthopaedic Healing",videoId:"CVyjiljx4YY",text:`Co-Founder & CEO Dr Thomas Hall walks us through their breakthrough: an implantable bioelectronic device that sits inside orthopaedic hardware, stimulates healing on demand and provides real-time feedback to clinicians and patients. 191 192The goal? Faster recovery, smarter surgery, and a new generation of bio-active implants. 193
194Embed Biotech aims to serve the full £32 billion orthopaedic market, with clinical trials planned for 2027. 195 196Their growing team includes: 197Kenton Wong, Product Development Engineer 198Michael Drury, Embedded Electronics Lead 199Iain Blackburn, QARA Manager 200Adam Reynolds, Lead Design Engineer 201 202From digital implants to next-generation orthopaedics, Embed Biotech is a start-up reshaping how healing happens, right here in White City, West London.`},{title:"Embargo: The Loyalty & CRM Platform Powering Hospitality Growth",videoId:"9-uSJgpq8vs",text:`Co-founded by Tsewang Wangkang, Embargo is helping hospitality businesses increase repeat visits, build stronger customer relationships, and boost revenue, all through an easy-to-use loyalty wallet and smart CRM system. 203 204What makes Embargo unique? 205Simple digital loyalty card for walk-ins, delivery, and pickup 206CRM dashboard that turns customer data into growth (Embargo Portal) 2076 built-in marketing channels to increase visit frequency and retention 208Quick onboarding, live in just 2-3 days 2094.8 App Store rating from happy users 210Proven to increase customer spend and loyalty 211 212Whether you're running a cosy cafe or scaling your brand, Embargo helps you understand your customers and keep them coming back.`},{title:"How RemePhy Uses Plants to Clean Toxic Soil & Recover Metals | DeepTech & Sustainability",videoId:"nf1KgRSVsAU",text:`In this video, we spotlight RemePhy, a pioneering early-stage biotech spinout from Imperial College London. Co-founded by Dr Ion Ioannou, RemePhy is developing metal-hyperaccumulating plants to purify toxic soil and extract critical minerals, offering a sustainable solution for environmental recovery in mining, agriculture, and industrial redevelopment. 213 214We first connected with RemePhy through the Deep Tech Network, and were inspired by their mission to merge deeptech and sustainability. From tackling land degradation to strengthening the critical mineral supply chain, their innovation is quiet but impactful. 215 216Want to see how deep technology meets real-world climate challenges? 217 218Watch the full video to learn: 219What metal-hyperaccumulating plants are 220How they can be used to clean contaminated soil 221Why this matters for the future of critical minerals and land restoration`},{title:"Nuwa Wellness: Where Traditional Remedies Meet Modern Science",videoId:"8pMu20Ztp-Y",text:`Nuwa Wellness, founded by Lin Loke, is reshaping the way we think about wellness. By combining ancient Eastern wisdom with Western scientific rigour, Nuwa offers clean, vegan supplements designed to support energy, focus and overall wellbeing. 222 223What makes Nuwa Wellness different? 224100% vegan and free from gluten, dairy, and synthetic fillers 225Backed by science and rigorous testing 226Powered by clean ingredients sourced from trusted suppliers 227Designed for busy lives, to help you feel energised, focused, and balanced every day 228 229At Nuwa, the belief is simple: Productivity begins with health. Find out how they're redefining wellness for the modern world.`},{title:"Luca Health: AI-Driven Concussion Care for Safer Sport",videoId:"xg92NoumMSE",text:`Luca Health is on a mission to bring concussion diagnosis and management into the 21st century. Co-founded by Nick Greenhalgh, this sports tech startup is rethinking how we protect players, using cutting-edge AI and data science. 230 231In this video, we spotlight their innovative approach to improving safety across all levels of sport, without compromising the physical, mental and social benefits that sport provides. 232 233AI-powered concussion diagnostics 234Real-time injury management and prevention 235School and team partnerships for grassroots safety 236A British-Greek founder duo with a passion for sport and technology`}],Nk=({videoId:e})=>a.jsx("div",{className:"relative w-full aspect-video rounded-xl overflow-hidden",children:a.jsx("iframe",{src:`https://www.youtube-nocookie.com/embed/${e}`,title:"YouTube video",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full",loading:"lazy"})}),kk=({title:e,videoId:t,text:n})=>{const[r,o]=x.useState(!1),s=x.useCallback(()=>o(i=>
236!i),[]);return a.jsxs("div",{className:"rounded-2xl bg-primary overflow-hidden p-6 md:p-8 flex flex-col gap-5 h-full",children:[a.jsx("h3",{className:"font-heading text-lg md:text-xl font-bold text-[#f8f8f8] min-h-[3.5rem]",children:e}),a.jsx(Nk,{videoId:t}),a.jsx("div",{className:"flex justify-center",children:a.jsx("button",{onClick:s,className:"font-body text-sm md:text-base font-semibold text-[#1e0f4b] hover:underline cursor-pointer transition-colors duration-200 inline-flex items-center gap-1.5",children:r?"Read less":"Read more â"})}),a.jsx("div",{className:"overflow-hidden transition-all duration-[350ms] ease-out flex-1 min-h-0",style:{maxHeight:r?"300px":"0px",opacity:r?1:0},children:a.jsx("div",{className:"overflow-y-auto max-h-[300px] pr-1",children:a.jsx("p",{className:"font-body text-sm md:text-[15px] text-[#f8f8f8] leading-relaxed whitespace-pre-line",children:n})})})]})},Sk=()=>a.jsxs("div",{className:"min-h-screen bg-background text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-8 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Success Stories"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-3xl mx-auto px-6 pb-12 text-center",children:a.jsx("p",{className:"font-body text-lg md:text-xl font-medium text-[#f8f8f8]",children:"We promote the innovations, stories and voices emerging from our community."})}),a.jsx("div",{className:"max-w-6xl mx-auto px-6 pb-24 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8 items-stretch",children:jk.map(e=>a.jsx(kk,{...e},e.videoId))}),a.jsx(Me,{})]}),Ck=[{src:"https://www.buzzsprout.com/2381714/17903493?client_source=small_player&iframe=true",title:"Deep Tech Network: AI & Quantum investor panel"},{src:"https://www.buzzsprout.com/2381714/episodes/17652584-from-classroom-to-boardroom-can-entrepreneurship-be-taught?client_source=small_player&iframe=true",title:"From Classroom to Boardroom: Can Entrepreneurship Be Taught?"},{src:"https://www.buzzsprout.com/2381714/episodes/16084817-meet-deeptech-sustainability-investors?client_source=small_player&iframe=true",title:"Meet DeepTech Sustainability Investors"},{src:"https://www.buzzsprout.com/2381714/episodes/15618589-unlocking-leadership-innovation-in-tech-london-tech-week-2024?client_source=small_player&iframe=true",title:"Unlocking Leadership & Innovation in Tech â London Tech Week 2024"},{src:"https://www.buzzsprout.com/2381714/episodes/15347249-deep-tech-network-investor-panel?client_source=small_player&iframe=true",title:"Deep Tech Network Investor Panel"}],Ek=()=>a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-8 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Podcast"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx("div",{className:"max-w-3xl mx-auto px-6 pb-6 text-center",children:a.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-[#f8f8f8] mb-3",children:"White City Innovation District Podcast"})}),a.jsx("div",{className:"max-w-3xl mx-auto px-6 pb-24 space-y-6",children:Ck.map(e=>a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg",children:a.jsx("iframe",{src:e.src,loading:"lazy",width:"100%",height:"200",frameBorder:"0",scrolling:"no",title:e.title,className:"w-full"})},e.src))}),a.jsx(Me,{})]}),Pk=()=>a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-8 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Case Studies"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx(Vg,{hideTitle:!0}),a.jsx(Me,{})]}),_k=()=>a.jsxs("div",{className:"min-h-screen bg-[hsl(256,68%,18%)] text-[#f8f8f8]",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-6 text-center",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8]",children:"Innovation Map"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4 mb-8"}),a.jsx("p",{className:"font-body text-base md:text-lg text-[#f8f8f8]/85 max-w-3xl mx-auto px-6 leading-relaxed",children:"Explore our Innovation Map, highlighting key research centres, specialist facilities and innovation spaces across Hammersmith and Fulham. Discover where science, technology and industry come together, and uncover opportunities to connect, access and amplify within the local innovation ecosystem."})]}),a.jsx("div",{className:"container mx-auto px-6 pb-12 pt-8",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("div",{className:"rounded-t-2xl overflow-hidden shadow-[0_8px_40px_-12px_rgba(0,0,0,0.25)]",children:a.jsx("img",{src:Qg,alt:"Aerial view of White City innovation district",className:"w-full h-auto block"})}),a.jsx(Kg,{})]})}),a.jsxs("div",{className:"pt-10 md:pt-14 pb-16 px-6 flex flex-col items-center text-center",children:[a.jsx("p",{className:"font-body text-base md:text-lg text-[#f8f8f8]/85 max-w-2xl mx-auto leading-relaxed mb-8",children:"Want to be connected with people or organisations on this map? Ask us to connect, we know everyone."}),a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 sm:gap-6",children:[a.jsx("a",{href:"mailto:[email protected]?subject=Connection%20request",className:"inline-block text-base text-center rounded-lg px-8 py-[0.9375rem] font-medium bg-primary text-primary-foreground shadow-[0_2px_8px_-2px_hsl(330_85%_48%/0.3)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:shadow-[0_10px_30px_-6px_hsl(330_85%_48%/0.5)] active:scale-[0.99] active:-translate-y-0",children:"Ask us to connect"}),a.jsx("a",{href:"mailto:[email protected]?subject=Tour%20request",className:"inline-block text-base text-center rounded-lg px-8 py-[0.9375rem] font-medium bg-accent text-accent-foreground shadow-[0_2px_8px_-2px_hsl(78_95%_63%/0.25)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:shadow-[0_10px_30px_-6px_hsl(78_95%_63%/0.45)] active:scale-[0.99] active:-translate-y-0",children:"Request a tour"}),a.jsx("a",{href:"mailto:[email protected]?subject=Innovation%20Map%20enquiry",className:"inline-block text-base text-center rounded-lg px-8 py-[0.9375rem] font-medium bg-primary text-primary-foreground shadow-[0_2px_8px_-2px_hsl(330_85%_48%/0.3)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:shadow-[0_10px_30px_-6px_hsl(330_85%_48%/0.5)] active:scale-[0.99] active:-translate-y-0",children:"Get involved"})]})]}),a.jsx(Me,{})]}),Tk=()=>a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-20",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8] text-center",children:"Events"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsx(Gg,{hideCta:!0}
236),a.jsxs("div",{className:"bg-background pb-20 px-6",children:[a.jsx("div",{className:"flex justify-center mb-8",children:a.jsx("a",{href:"/events/all",className:"btn-magenta inline-block text-sm text-center",children:"See more events"})}),a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[a.jsx("a",{href:"mailto:[email protected]?subject=Hosting%20an%20event%20with%20Nexus",className:"inline-block text-sm text-center rounded-lg px-6 py-3 font-medium bg-accent text-accent-foreground shadow-[0_2px_8px_-2px_hsl(78_95%_63%/0.25)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:shadow-[0_10px_30px_-6px_hsl(78_95%_63%/0.45)] active:scale-[0.99] active:-translate-y-0",children:"I want to host an event"}),a.jsx("a",{href:"mailto:[email protected]?subject=Offering%20space",className:"inline-block text-sm text-center rounded-lg px-6 py-3 font-medium bg-white text-[hsl(256_68%_18%)] shadow-[0_2px_8px_-2px_hsl(0_0%_0%/0.15)] transition-all duration-300 ease-out hover:-translate-y-[3px] hover:scale-[1.02] hover:text-primary hover:shadow-[0_10px_30px_-6px_hsl(0_0%_100%/0.6)] active:scale-[0.99] active:-translate-y-0",children:"I want to offer space"})]})]}),a.jsx(Me,{})]}),Rk=()=>{const e=pc.filter(n=>!n.ended),t=pc.filter(n=>n.ended);return a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(Le,{}),a.jsxs("div",{className:"pt-32 pb-12",children:[a.jsx("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-bold text-[#f8f8f8] text-center",children:"All Events"}),a.jsx("div",{className:"mx-auto w-16 h-[3px] bg-primary rounded-full mt-4"})]}),a.jsxs("section",{className:"container mx-auto px-6 pb-20",children:[a.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-[#f8f8f8] mb-6",children:"Upcoming events"}),e.length===0?a.jsx("p",{className:"text-[#f8f8f8]/70 mb-12",children:"No upcoming events right now. Check back soon."}):a.jsx("div",{className:"max-w-6xl grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 mb-16",children:e.map((n,r)=>a.jsx(hc,{event:n},`up-${r}`))}),a.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-[#f8f8f8] mb-6 mt-8",children:"Past events"}),a.jsx("div",{className:"max-w-6xl grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:t.map((n,r)=>a.jsx(hc,{event:n},`past-${r}`))})]}),a.jsx(Me,{})]})},Ak=()=>{const e=rn();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),a.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},xt=({path:e})=>a.jsx(tj,{to:e,replace:!0}),Lk=new u2,Mk=()=>a.jsx(f2,{client:Lk,children:a.jsxs(Wb,{children:[a.jsx(Nw,{}),a.jsx(t1,{}),a.jsxs(uj,{children:[a.jsx(hj,{}),a.jsxs(rj,{children:[a.jsx(ee,{path:"/",element:a.jsx(xN,{})}),a.jsx(ee,{path:"/who-we-are",element:a.jsx(yk,{})}),a.jsx(ee,{path:"/connect",element:a.jsx(NN,{})}),a.jsx(ee,{path:"/access",element:a.jsx(CN,{})}),a.jsx(ee,{path:"/amplify",element:a.jsx(RN,{})}),a.jsx(ee,{path:"/connect/deep-tech-network",element:a.jsx(BN,{})}),a.jsx(ee,{path:"/connect/digital-creative-network",element:a.jsx(VN,{})}),a.jsx(ee,{path:"/connect/jawdrop",element:a.jsx(nk,{})}),a.jsx(ee,{path:"/connect/programmes-roundtables",element:a.jsx(ak,{})}),a.jsx(ee,{path:"/gather/deep-tech-network",element:a.jsx(xt,{path:"/connect/deep-tech-network"})}),a.jsx(ee,{path:"/gather/digital-creative-network",element:a.jsx(xt,{path:"/connect/digital-creative-network"})}),a.jsx(ee,{path:"/gather/jawdrop",element:a.jsx(xt,{path:"/connect/jawdrop"})}),a.jsx(ee,{path:"/gather/programmes-roundtables",element:a.jsx(xt,{path:"/connect/programmes-roundtables"})}),a.jsx(ee,{path:"/amplify/success-stories",element:a.jsx(Sk,{})}),a.jsx(ee,{path:"/amplify/podcast",element:a.jsx(Ek,{})}),a.jsx(ee,{path:"/amplify/testimonials",element:a.jsx(Pk,{})}),a.jsx(ee,{path:"/impact",element:a.jsx(xt,{path:"/amplify"})}),a.jsx(ee,{path:"/impact/success-stories",element:a.jsx(xt,{path:"/amplify/success-stories"})}),a.jsx(ee,{path:"/impact/podcast",element:a.jsx(xt,{path:"/amplify/podcast"})}),a.jsx(ee,{path:"/impact/testimonials",element:a.jsx(xt,{path:"/amplify/testimonials"})}),a.jsx(ee,{path:"/access/innovation-map",element:a.jsx(_k,{})}),a.jsx(ee,{path:"/gather",element:a.jsx(xt,{path:"/access"})}),a.jsx(ee,{path:"/connect/innovation-map",element:a.jsx(xt,{path:"/access/innovation-map"})}),a.jsx(ee,{path:"/join-our-community",element:a.jsx(bk,{})}),a.jsx(ee,{path:"/be-part-of-it",element:a.jsx(xt,{path:"/join-our-community"})}),a.jsx(ee,{path:"/events",element:a.jsx(Tk,{})}),a.jsx(ee,{path:"/events/all",element:a.jsx(Rk,{})}),a.jsx(ee,{path:"*",element:a.jsx(Ak,{})})]})]})]})});fm(document.getElementById("root")).render(a.jsx(Mk,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.