PageSourceSearch

https://www.seamflow.com/assets/index-BT_CWOqK.js

js seamflow.com collected 2026-10-08 02:40:28 UTC 631,145 bytes, 54 lines download raw bytes

1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`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`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function te(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ne(e,t){return te(e.type,t,e.props)}function re(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ie(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ae=/\/+/g;function oe(e,t){return typeof e==`object`&&e&&e.key!=null?ie(``+e.key):t.toString(36)}function se(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function ce(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,ce(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+oe(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ae,`$&/`)+`/`),ce(o,r,i,``,function(e){return e}
vendor: 4,829 bytes, line 1
1)):o!=null&&(re(o)&&(o=ne(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ae,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+oe(a,u),c+=ce(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+oe(a,u++),c+=ce(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return ce(se(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function le(e,t,n){if(e==null)return e;var r=[],i=0;return ce(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ue(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var T=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},E={map:le,forEach:function(e,t,n){le(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return le(e,function(){t++}),t},toArray:function(e){return le(e,function(e){return e})||[]},only:function(e){if(!re(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=E,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ee.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return te(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ee.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return te(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=re,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ue}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,T)}catch(e){T(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()}
vendor: 11,834 bytes, lines 1-3
1,e.version=`19.2.8`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,re());else{var t=n(l);t!==null&&oe(x,t.startTime-e)}}var S=!1,C=-1,w=5,ee=-1;function te(){return g?!0:!(e.unstable_now()-ee<w)}function ne(){if(g=!1,S){var t=e.unstable_now();ee=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&te());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&oe(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?re():S=!1}}}var re;if(typeof y==`function`)re=function(){y(ne)};else if(typeof MessageChannel<`u`){var ie=new MessageChannel,ae=ie.port2;ie.port1.onmessage=ne,re=function(){ae.postMessage(null)}}else re=function(){_(ne,0)};function oe(t,n){C=_(function(){t(e.unstable_now())},n)}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_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`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,oe(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,re()))),r},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=h(),n=p(),r=_();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;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.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(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 s(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 c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),ie=Symbol.for(`react.activity`),ae=Symbol.for(`react.memo_cache_sentinel`),oe=Symbol.iterator;function se(e){return typeof e!=`object`||!e?null:(e=oe&&e[oe]||e[`@@iterator`],typeof e==`function`?e:null)}var ce=Symbol.for(`react.client.reference`);function le(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ce?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case ee:return`Suspense`;case te:return`SuspenseList`;case ie:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?le(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}var ue=Array.isArray,T=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},fe=[],pe=-1;function me(e){return{current:e}}function he(e){0>pe||(e.current=fe[pe],fe[pe]=null,pe--)}function D(e,t){pe++,fe[pe]=e.current,e.current=t}var ge=me(null),_e=me(null),ve=me(null),ye=me(null);function be(e,t){switch(D(ve,t),D(_e,e),D(ge,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Hd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Hd(t),e=Ud(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}he(ge),D(ge,e)}function xe(){he(ge),he(_e),he(ve)}function Se(e){e.memoizedState!==null&&D(ye,e);var t=ge.current,n=Ud(t,e.type);t!==n&&(D(_e,e),D(ge,n))}function Ce(e){_e.current===e&&(he(ge),he(_e)),ye.current===e&&(he(ye),$f._currentValue=de)}var we,Te;function Ee(e){if(we===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);we=t&&t[1]||``,Te=-1<e.stack.indexOf(`
2    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3`+we+e+Te}var De=!1;function Oe(e,t){if(!e||De)return``;De=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 13,131 bytes, lines 3-8
3else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
4`),l=s.split(`
5`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
6`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{De=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ee(n):``}function ke(e,t){switch(e.tag){case 26:case 27:case 5:return Ee(e.type);case 16:return Ee(`Lazy`);case 13:return e.child!==t&&t!==null?Ee(`Suspense Fallback`):Ee(`Suspense`);case 19:return Ee(`SuspenseList`);case 0:case 15:return Oe(e.type,!1);case 11:return Oe(e.type.render,!1);case 1:return Oe(e.type,!0);case 31:return Ee(`Activity`);default:return``}}function Ae(e){try{var t=``,n=null;do t+=ke(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
7Error generating stack: `+e.message+`
8`+e.stack}}var je=Object.prototype.hasOwnProperty,Me=t.unstable_scheduleCallback,Ne=t.unstable_cancelCallback,Pe=t.unstable_shouldYield,Fe=t.unstable_requestPaint,Ie=t.unstable_now,Le=t.unstable_getCurrentPriorityLevel,Re=t.unstable_ImmediatePriority,ze=t.unstable_UserBlockingPriority,Be=t.unstable_NormalPriority,Ve=t.unstable_LowPriority,He=t.unstable_IdlePriority,Ue=t.log,We=t.unstable_setDisableYieldValue,Ge=null,Ke=null;function qe(e){if(typeof Ue==`function`&&We(e),Ke&&typeof Ke.setStrictMode==`function`)try{Ke.setStrictMode(Ge,e)}catch{}}var Je=Math.clz32?Math.clz32:Ze,Ye=Math.log,Xe=Math.LN2;function Ze(e){return e>>>=0,e===0?32:31-(Ye(e)/Xe|0)|0}var Qe=256,$e=262144,et=4194304;function tt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function nt(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=tt(n))):i=tt(o):i=tt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=tt(n))):i=tt(o)):i=tt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function O(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function k(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function rt(){var e=et;return et<<=1,!(et&62914560)&&(et=4194304),e}function it(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function at(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ot(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Je(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&st(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function st(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Je(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function ct(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Je(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function lt(e,t){var n=t&-t;return n=n&42?1:ut(n),(n&(e.suspendedLanes|t))===0?n:0}function ut(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function dt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ft(){var e=E.p;return e===0?(e=window.event,e===void 0?32:hp(e.type)):e}function pt(e,t){var n=E.p;try{return E.p=e,t()}finally{E.p=n}}var mt=Math.random().toString(36).slice(2),ht=`__reactFiber$`+mt,gt=`__reactProps$`+mt,_t=`__reactContainer$`+mt,vt=`__reactEvents$`+mt,yt=`__reactListeners$`+mt,bt=`__reactHandles$`+mt,xt=`__reactResources$`+mt,St=`__reactMarker$`+mt;function Ct(e){delete e[ht],delete e[gt],delete e[vt],delete e[yt],delete e[bt]}function wt(e){var t=e[ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_t]||n[ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[ht])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function Tt(e){if(e=e[ht]||e[_t]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Et(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Dt(e){var t=e[xt];return t||=e[xt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function A(e){e[St]=!0}var Ot=new Set,kt={};function At(e,t){jt(e,t),jt(e+`Capture`,t)}function jt(e,t){for(kt[e]=t,e=0;e<t.length;e++)Ot.add(t[e])}var Mt=RegExp(`^[: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]*$`),Nt={},Pt={};function Ft(e){return je.call(Pt,e)?!0:je.call(Nt,e)?!1:Mt.test(e)?Pt[e]=!0:(Nt[e]=!0,!1)}function It(e,t,n){if(Ft(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Lt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Rt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function zt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Bt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Vt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ht(e){if(!e._valueTracker){var t=Bt(e)?`checked`:`value`;e._valueTracker=Vt(e,t,``+e[t])}}function Ut(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Bt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Wt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Gt=/[\n"\\]/g;function Kt(e){return e.replace(Gt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function qt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+zt(t)):e.value!==``+zt(t)&&(e.value=``+zt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Yt(e,o,zt(n)):Yt(e,o,zt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+zt(s):e.removeAttribute(`name`)}function Jt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Ht(e);return}n=n==null?``:``+zt(n),t=t==null?n:``+zt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Ht(e)}function Yt(e,t,n){t===`number`&&Wt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Xt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+zt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Zt(e,t,n){if(t!=null&&(t=``+zt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+zt(n)}function Qt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ue(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=zt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Ht(e)}function $t(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var en=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function tn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||en.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function nn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&tn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&tn(e,o,t[o])}function rn(e){if(e.indexOf(`-`)===-1)return!1;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 an=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`
8clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function sn(e){return on.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function cn(){}var ln=null;function un(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dn=null,fn=null;function pn(e){var t=Tt(e);if(t&&(e=t.stateNode)){var n=e[gt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(qt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Kt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[gt]||null;if(!a)throw Error(i(90));qt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Ut(r)}break a;case`textarea`:Zt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Xt(e,!!n.multiple,t,!1)}}}var mn=!1;function hn(e,t,n){if(mn)return e(t,n);mn=!0;try{return e(t)}finally{if(mn=!1,(dn!==null||fn!==null)&&(xu(),dn&&(t=dn,e=fn,fn=dn=null,pn(t),e)))for(t=0;t<e.length;t++)pn(e[t])}}function gn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[gt]||null;if(r===null)return null;n=r[t];a: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 a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var _n=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),vn=!1;if(_n)try{var yn={};Object.defineProperty(yn,"passive",{get:function(){vn=!0}}),window.addEventListener(`test`,yn,yn),window.removeEventListener(`test`,yn,yn)}catch{vn=!1}var bn=null,xn=null,Sn=null;function Cn(){if(Sn)return Sn;var e,t=xn,n=t.length,r,i=`value`in bn?bn.value:bn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Sn=i.slice(e,1<r?1-r:void 0)}function wn(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 Tn(){return!0}function En(){return!1}function Dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Tn:En,this.isPropagationStopped=En,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Tn)},persist:function(){},isPersistent:Tn}),t}var On={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kn=Dn(On),An=f({},On,{view:0,detail:0}),jn=Dn(An),Mn,Nn,Pn,Fn=f({},An,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kn,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!==Pn&&(Pn&&e.type===`mousemove`?(Mn=e.screenX-Pn.screenX,Nn=e.screenY-Pn.screenY):Nn=Mn=0,Pn=e),Mn)},movementY:function(e){return`movementY`in e?e.movementY:Nn}}),In=Dn(Fn),Ln=Dn(f({},Fn,{dataTransfer:0})),Rn=Dn(f({},An,{relatedTarget:0})),zn=Dn(f({},On,{animationName:0,elapsedTime:0,pseudoElement:0})),Bn=Dn(f({},On,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Vn=Dn(f({},On,{data:0})),Hn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Un={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:`F
85`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Wn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wn[e])?!!t[e]:!1}function Kn(){return Gn}var qn=Dn(f({},An,{key:function(e){if(e.key){var t=Hn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=wn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Un[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kn,charCode:function(e){return e.type===`keypress`?wn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?wn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Jn=Dn(f({},Fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Yn=Dn(f({},An,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kn})),Xn=Dn(f({},On,{propertyName:0,elapsedTime:0,pseudoElement:0})),Zn=Dn(f({},Fn,{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})),Qn=Dn(f({},On,{newState:0,oldState:0})),$n=[9,13,27,32],er=_n&&`CompositionEvent`in window,tr=null;_n&&`documentMode`in document&&(tr=document.documentMode);var nr=_n&&`TextEvent`in window&&!tr,rr=_n&&(!er||tr&&8<tr&&11>=tr),ir=` `,ar=!1;function or(e,t){switch(e){case`keyup`:return $n.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function sr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var cr=!1;function lr(e,t){switch(e){case`compositionend`:return sr(t);case`keypress`:return t.which===32?(ar=!0,ir):null;case`textInput`:return e=t.data,e===ir&&ar?null:e;default:return null}}function ur(e,t){if(cr)return e===`compositionend`||!er&&or(e,t)?(e=Cn(),Sn=xn=bn=null,cr=!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 rr&&t.locale!==`ko`?null:t.data;default:return null}}var dr={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 fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!dr[e.type]:t===`textarea`}function pr(e,t,n,r){dn?fn?fn.push(r):fn=[r]:dn=r,t=Dd(t,`onChange`),0<t.length&&(n=new kn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var mr=null,hr=null;function gr(e){bd(e,0)}function _r(e){if(Ut(Et(e)))return e}function vr(e,t){if(e===`change`)return t}var yr=!1;if(_n){var br;if(_n){var xr=`oninput`in document;if(!xr){var Sr=document.createElement(`div`);Sr.setAttribute(`oninput`,`return;`),xr=typeof Sr.oninput==`function`}br=xr}else br=!1;yr=br&&(!document.documentMode||9<document.documentMode)}function Cr(){mr&&(mr.detachEvent(`onpropertychange`,wr),hr=mr=null)}function wr(e){if(e.propertyName===`value`&&_r(hr)){var t=[];pr(t,hr,e,un(e)),hn(gr,t)}}function Tr(e,t,n){e===`focusin`?(Cr(),mr=t,hr=n,mr.attachEvent(`onpropertychange`,wr)):e===`focusout`&&Cr()}function Er(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return _r(hr)}function Dr(e,t){if(e===`click`)return _r(t)}function Or(e,t){if(e===`input`||e===`change`)return _r(t)}function kr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Ar=typeof Object.is==`function`?Object.is:kr;function jr(e,t){if(Ar(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)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 i=n[r];if(!je.call(t,i)||!Ar(e[i],t[i]))return!1}return!0}function Mr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Nr(e,t){var n=Mr(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}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Mr(n)}}function Pr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wt(e.document)}return t}function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Lr=_n&&`documentMode`in document&&11>=document.documentMode,Rr=null,zr=null,Br=null,Vr=!1;function Hr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vr||Rr==null||Rr!==Wt(r)||(r=Rr,`selectionStart`in r&&Ir(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: 73,851 bytes, line 8
8sNode:r.focusNode,focusOffset:r.focusOffset}),Br&&jr(Br,r)||(Br=r,r=Dd(zr,`onSelect`),0<r.length&&(t=new kn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Rr)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Wr={animationend:Ur(`Animation`,`AnimationEnd`),animationiteration:Ur(`Animation`,`AnimationIteration`),animationstart:Ur(`Animation`,`AnimationStart`),transitionrun:Ur(`Transition`,`TransitionRun`),transitionstart:Ur(`Transition`,`TransitionStart`),transitioncancel:Ur(`Transition`,`TransitionCancel`),transitionend:Ur(`Transition`,`TransitionEnd`)},Gr={},Kr={};_n&&(Kr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Wr.animationend.animation,delete Wr.animationiteration.animation,delete Wr.animationstart.animation),`TransitionEvent`in window||delete Wr.transitionend.transition);function qr(e){if(Gr[e])return Gr[e];if(!Wr[e])return e;var t=Wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Kr)return Gr[e]=t[n];return e}var Jr=qr(`animationend`),Yr=qr(`animationiteration`),Xr=qr(`animationstart`),Zr=qr(`transitionrun`),Qr=qr(`transitionstart`),$r=qr(`transitioncancel`),ei=qr(`transitionend`),ti=new Map,ni=`abort auxClick beforeToggle 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(` `);ni.push(`scrollEnd`);function ri(e,t){ti.set(e,t),At(t,[e])}var ii=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ai=[],oi=0,si=0;function ci(){for(var e=oi,t=si=oi=0;t<e;){var n=ai[t];ai[t++]=null;var r=ai[t];ai[t++]=null;var i=ai[t];ai[t++]=null;var a=ai[t];if(ai[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&fi(n,i,a)}}function li(e,t,n,r){ai[oi++]=e,ai[oi++]=t,ai[oi++]=n,ai[oi++]=r,si|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ui(e,t,n,r){return li(e,t,n,r),pi(e)}function di(e,t){return li(e,null,null,t),pi(e)}function fi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Je(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function pi(e){if(50<fu)throw fu=0,pu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var j={};function mi(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.refCleanup=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 hi(e,t,n,r){return new mi(e,t,n,r)}function gi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _i(e,t){var n=e.alternate;return n===null?(n=hi(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&65011712,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.refCleanup=e.refCleanup,n}function vi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function yi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)gi(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,ge.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ie:return e=hi(31,n,t,a),e.elementType=ie,e.lanes=o,e;case y:return bi(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=hi(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case ee:return e=hi(13,n,t,a),e.elementType=ee,e.lanes=o,e;case te:return e=hi(19,n,t,a),e.elementType=te,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case ne:s=14;break a;case re:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=hi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function bi(e,t,n,r){return e=hi(7,e,r,t),e.lanes=n,e}function xi(e,t,n){return e=hi(6,e,null,t),e.lanes=n,e}function Si(e){var t=hi(18,null,null,0);return t.stateNode=e,t}function Ci(e,t,n){return t=hi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var wi=new WeakMap;function Ti(e,t){if(typeof e==`object`&&e){var n=wi.get(e);return n===void 0?(t={value:e,source:t,stack:Ae(t)},wi.set(e,t),t):n}return{value:e,source:t,stack:Ae(t)}}var Ei=[],Di=0,Oi=null,ki=0,Ai=[],ji=0,Mi=null,Ni=1,Pi=``;function Fi(e,t){Ei[Di++]=ki,Ei[Di++]=Oi,Oi=e,ki=t}function Ii(e,t,n){Ai[ji++]=Ni,Ai[ji++]=Pi,Ai[ji++]=Mi,Mi=e;var r=Ni;e=Pi;var i=32-Je(r)-1;r&=~(1<<i),n+=1;var a=32-Je(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ni=1<<32-Je(t)+i|n<<i|r,Pi=a+e}else Ni=1<<a|n<<i|r,Pi=e}function Li(e){e.return!==null&&(Fi(e,1),Ii(e,1,0))}function Ri(e){for(;e===Oi;)Oi=Ei[--Di],Ei[Di]=null,ki=Ei[--Di],Ei[Di]=null;for(;e===Mi;)Mi=Ai[--ji],Ai[ji]=null,Pi=Ai[--ji],Ai[ji]=null,Ni=Ai[--ji],Ai[ji]=null}function zi(e,t){Ai[ji++]=Ni,Ai[ji++]=Pi,Ai[ji++]=Mi,Ni=t.id,Pi=t.overflow,Mi=e}var Bi=null,M=null,N=!1,Vi=null,Hi=!1,Ui=Error(i(519));function Wi(e){throw Yi(Ti(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ui}function Gi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[ht]=e,t[gt]=r,n){case`dialog`:Z(`cancel`,t),Z(`close`,t);break;case`iframe`:case`object`:case`embed`:Z(`load`,t);break;case`video`:case`audio`:for(n=0;n<vd.length;n++)Z(vd[n],t);break;case`source`:Z(`error`,t);break;case`img`:case`image`:case`link`:Z(`error`,t),Z(`load`,t);break;case`details`:Z(`toggle`,t);break;case`input`:Z(`invalid`,t),Jt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Z(`invalid`,t);break;case`textarea`:Z(`invalid`,t),Qt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Nd(t.textContent,n)?(r.popover!=null&&(Z(`beforetoggle`,t),Z(`toggle`,t)),r.onScroll!=null&&Z(`scroll`,t),r.onScrollEnd!=null&&Z(`scrollend`,t),r.onClick!=null&&(t.onclick=cn),t=!0):t=!1,t||Wi(e,!0)}function P(e){for(Bi=e.return;Bi;)switch(Bi.tag){case 5:case 31:case 13:Hi=!1;return;case 27:case 3:Hi=!0;return;default:Bi=Bi.return}}function Ki(e){if(e!==Bi)return!1;if(!N)return P(e),N=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Wd(e.type,e.memoizedProps)),n=!n),n&&M&&Wi(e),P(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));M=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));M=df(e)}else t===27?(t=M,Qd(e.type)?(e=uf,uf=null,M=e):M=t):M=Bi?lf(e.stateNode.nextSibling):null;return!0}function qi(){M=Bi=null,N=!1}function Ji(){var e=Vi;return e!==null&&(Ql===null?Ql=e:Ql.push.apply(Ql,e),Vi=null),e}function Yi(e){Vi===null?Vi=[e]:Vi.push(e)}var Xi=me(null),Zi=null,Qi=null;function $i(e,t,n){D(Xi,t._currentValue),t._currentValue=n}function ea(e){e._currentValue=Xi.current,he(Xi)}function ta(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function na(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ta(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ta(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function ra(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Ar(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ye.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[$f]:e.push($f))}a=a.return}e!==null&&na(t,e,n,r),t.flags|=262144}function ia(e){for(e=e.firstContext;e!==null;){if(!Ar(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function aa(e){Zi=e,Qi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function F(e){return sa(Zi,e)}function oa(e,t){return Zi===null&&aa(e),sa(e,t)}function sa(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Qi===null){if(e===null)throw Error(i(308));Qi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qi=Qi.next=t;return n}var ca=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},la=t.unstable_scheduleCallback,ua=t.unstable_NormalPriority,da={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function fa(){return{controller:new ca,data:new Map,refCount:0}}function pa(e){e.refCount--,e.refCount===0&&la(ua,function(){e.controller.abort()})}var ma=null,ha=0,ga=0,_a=null;function va(e,t){if(ma===null){var n=ma=[];ha=0,ga=fd(),_a={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ha++,t.then(ya,ya),t}function ya(){if(--ha===0&&ma!==null){_a!==null&&(_a.status=`fulfilled`);var e=ma;ma=null,ga=0,_a=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ba(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var xa=T.S;T.S=function(e,t){tu=Ie(),typeof t==`object`&&t&&typeof t.then==`function`&&va(e,t),xa!==null&&xa(e,t)};var Sa=me(null);function Ca(){var e=Sa.current;return e===null?K.pooledCache:e}function wa(e,t){t===null?D(Sa,Sa.current):D(Sa,t.pool)}function Ta(){var e=Ca();return e===null?null:{parent:da._currentValue,pool:e}}var Ea=Error(i(460)),Da=Error(i(474)),Oa=Error(i(542)),ka={then:function(){}};function Aa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ja(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(cn,cn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Fa(e),e;default:if(typeof t.status==`string`)t.then(cn,cn);else{if(e=K,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Fa(e),e}throw Na=t,Ea}}function Ma(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Na=e,Ea):e}}var Na=null;function Pa(){if(Na===null)throw Error(i(459));var e=Na;return Na=null,e}function Fa(e){if(e===Ea||e===Oa)throw Error(i(483))}var Ia=null,La=0;function Ra(e){var t=La;return La+=1,Ia===null&&(Ia=[]),ja(Ia,e,t)}function I(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function za(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ba(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=_i(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=xi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===re&&Ma(i)===t.type)?(t=a(t,n.props),I(t,n),t.return=e,t):(t=yi(n.type,n.key,n.props,null,e.mode,r),I(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ci(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=bi(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=xi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=yi(t.type,t.key,t.props,null,e.mode,n),I(n,t),n.return=e,n;case v:return t=Ci(t,e.mode,n),t.return=e,t;case re:return t=Ma(t),f(e,t,n)}if(ue(t)||se(t))return t=bi(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ra(t),n);if(t.$$typeof===C)return f(e,oa(e,t),n);za(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case re:return n=Ma(n),p(e,t,n,r)}if(ue(n)||se(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ra(n),r);if(n.$$typeof===C)return p(e,t,oa(e,n),r);za(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case re:return r=Ma(r),m(e,t,n,r,i)}if(ue(r)||se(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ra(r),i);if(r.$$typeof===C)return m(e,t,n,oa(t,r),i);za(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),N&&Fi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return N&&Fi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),N&&Fi(i,h),l}function _(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),N&&Fi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return N&&Fi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),N&&Fi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===re&&Ma(l)===r.type){n(e,r.sibling),c=a(r,o.props),I(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=bi(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=yi(o.type,o.key,o.props,null,e.mode,c),I(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=Ci(o,e.mode,c),c.return=e,e=c}return s(e);case re:return o=Ma(o),b(e,r,o,c)}if(ue(o))return h(e,r,o,c);if(se(o)){if(l=se(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),_(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ra(o),c);if(o.$$typeof===C)return b(e,r,oa(e,o),c);za(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=xi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{La=0;var i=b(e,t,n,r);return Ia=null,i}catch(t){if(t===Ea||t===Oa)throw t;var a=hi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Va=Ba(!0),Ha=Ba(!1),Ua=!1;function Wa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ga(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ka(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function qa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,G&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=pi(e),fi(e,null,n),t}return li(e,r,t,n),pi(e)}function Ja(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ct(e,n)}}function Ya(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Xa=!1;function Za(){if(Xa){var e=_a;if(e!==null)throw e}}function Qa(e,t,n,r){Xa=!1;var i=e.updateQueue;Ua=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(J&p)===p:(r&p)===p){p!==0&&p===ga&&(Xa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Ua=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Kl|=o,e.lanes=o,e.memoizedState=d}}function $a(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function eo(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)$a(n[e],t)}var to=me(null),no=me(0);function ro(e,t){e=Wl,D(no,e),D(to,t),Wl=e|t.baseLanes}function io(){D(no,Wl),D(to,to.current)}function ao(){Wl=no.current,he(to),he(no)}var oo=me(null),so=null;function co(e){var t=e.alternate;D(L,L.current&1),D(oo,e),so===null&&(t===null||to.current!==null||t.memoizedState!==null)&&(so=e)}function lo(e){D(L,L.current),D(oo,e),so===null&&(so=e)}function uo(e){e.tag===22?(D(L,L.current),D(oo,e),so===null&&(so=e)):fo(e)}function fo(){D(L,L.current),D(oo,oo.current)}function po(e){he(oo),so===e&&(so=null),he(L)}var L=me(0);function mo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||sf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){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 R=0,z=null,B=null,ho=null,go=!1,_o=!1,vo=!1,yo=0,bo=0,xo=null,So=0;function Co(){throw Error(i(321))}function wo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ar(e[n],t[n]))return!1;return!0}function To(e,t,n,r,i,a){return R=a,z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,T.H=e===null||e.memoizedState===null?Bs:Vs,vo=!1,a=n(r,i),vo=!1,_o&&(a=Do(t,n,r,i)),Eo(e),a}function Eo(e){T.H=zs;var t=B!==null&&B.next!==null;if(R=0,ho=B=z=null,go=!1,bo=0,xo=null,t)throw Error(i(300));e===null||ic||(e=e.dependencies,e!==null&&ia(e)&&(ic=!0))}function Do(e,t,n,r){z=e;var a=0;do{if(_o&&(xo=null),bo=0,_o=!1,25<=a)throw Error(i(301));if(a+=1,ho=B=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}T.H=Hs,o=t(n,r)}while(_o);return o}function Oo(){var e=T.H,t=e.useState()[0];return t=typeof t.then==`function`?Po(t):t,e=e.useState()[0],(B===null?null:B.memoizedState)!==e&&(z.flags|=1024),t}function ko(){var e=yo!==0;return yo=0,e}function Ao(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function jo(e){if(go){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}go=!1}R=0,ho=B=z=null,_o=!1,bo=yo=0,xo=null}function Mo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ho===null?z.memoizedState=ho=e:ho=ho.next=e,ho}function V(){if(B===null){var e=z.alternate;e=e===null?null:e.memoizedState}else e=B.next;var t=ho===null?z.memoizedState:ho.next;if(t!==null)ho=t,B=e;else{if(e===null)throw z.alternate===null?Error(i(467)):Error(i(310));B=e,e={memoizedState:B.memoizedState,baseState:B.baseState,baseQueue:B.baseQueue,queue:B.queue,next:null},ho===null?z.memoizedState=ho=e:ho=ho.next=e}return ho}function No(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Po(e){var t=bo;return bo+=1,xo===null&&(xo=[]),e=ja(xo,e,t),t=z,(ho===null?t.memoizedState:ho.next)===null&&(t=t.alternate,T.H=t===null||t.memoizedState===null?Bs:Vs),e}function Fo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Po(e);if(e.$$typeof===C)return F(e)}throw Error(i(438,String(e)))}function H(e){var t=null,n=z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=z.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=No(),z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ae;return t.index++,n}function Io(e,t){return typeof t==`function`?t(e):t}function Lo(e){return Ro(V(),B,e)}function Ro(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(R&f)===f:(J&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ga&&(d=!0);else if((R&p)===p){u=u.next,p===ga&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,z.lanes|=p,Kl|=p;f=u.action,vo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,z.lanes|=f,Kl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Ar(o,e.memoizedState)&&(ic=!0,d&&(n=_a,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function zo(e){var t=V(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Ar(o,t.memoizedState)||(ic=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Bo(e,t,n){var r=z,a=V(),o=N;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Ar((B||a).memoizedState,n);if(s&&(a.memoizedState=n,ic=!0),a=a.queue,ds(Uo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||ho!==null&&ho.memoizedState.tag&1){if(r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,a,n,t),null),K===null)throw Error(i(349));o||R&127||Vo(r,t,n)}return n}function Vo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=z.updateQueue,t===null?(t=No(),z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ho(e,t,n,r){t.value=n,t.getSnapshot=r,Wo(t)&&Go(e)}function Uo(e,t,n){return n(function(){Wo(t)&&Go(e)})}function Wo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ar(e,n)}catch{return!0}}function Go(e){var t=di(e,2);t!==null&&gu(t,e,2)}function Ko(e){var t=Mo();if(typeof e==`function`){var n=e;if(e=n(),vo){qe(!0);try{n()}finally{qe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:e},t}function qo(e,t,n,r){return e.baseState=n,Ro(e,B,typeof r==`function`?r:Io)}function Jo(e,t,n,r,a){if(Is(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};T.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Yo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Yo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=T.T,o={};T.T=o;try{var s=n(i,r),c=T.S;c!==null&&c(o,s),Xo(e,t,s)}catch(n){Qo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),T.T=a}}else try{a=n(i,r),Xo(e,t,a)}catch(n){Qo(e,t,n)}}function Xo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Zo(e,t,n)},function(n){return Qo(e,t,n)}):Zo(e,t,n)}function Zo(e,t,n){t.status=`fulfilled`,t.value=n,$o(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Yo(e,n)))}function Qo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,$o(t),t=t.next;while(t!==r)}e.action=null}function $o(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function es(e,t){return t}function ts(e,t){if(N){var n=K.formState;if(n!==null){a:{var r=z;if(N){if(M){b:{for(var i=M,a=Hi;i.nodeType!==8;){if(!a){i=null;break b}if(i=lf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){M=lf(i.nextSibling),r=i.data===`F!`;break a}}Wi(r)}r=!1}r&&(t=n[0])}}return n=Mo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:es,lastRenderedState:t},n.queue=r,n=Ns.bind(null,z,r),r.dispatch=n,r=Ko(!1),a=Fs.bind(null,z,!1,r.queue),r=Mo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Jo.bind(null,z,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ns(e){return rs(V(),B,e)}function rs(e,t,n){if(t=Ro(e,t,es)[0],e=Lo(Io)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Po(t)}catch(e){throw e===Ea?Oa:e}else r=t;t=V();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(z.flags|=2048,os(9,{destroy:void 0},is.bind(null,i,n),null)),[r,a,e]}function is(e,t){e.action=t}function as(e){var t=V(),n=B;if(n!==null)return rs(t,n,e);V(),t=t.memoizedState,n=V();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function os(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=z.updateQueue,t===null&&(t=No(),z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ss(){return V().memoizedState}function cs(e,t,n,r){var i=Mo();z.flags|=e,i.memoizedState=os(1|t,{destroy:void 0},n,r===void 0?null:r)}function ls(e,t,n,r){var i=V();r=r===void 0?null:r;var a=i.memoizedState.inst;B!==null&&r!==null&&wo(r,B.memoizedState.deps)?i.memoizedState=os(t,a,n,r):(z.flags|=e,i.memoizedState=os(1|t,a,n,r))}function us(e,t){cs(8390656,8,e,t)}function ds(e,t){ls(2048,8,e,t)}function fs(e){z.flags|=4;var t=z.updateQueue;if(t===null)t=No(),z.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ps(e){var t=V().memoizedState;return fs({ref:t,nextImpl:e}),function(){if(G&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ms(e,t){return ls(4,2,e,t)}function hs(e,t){return ls(4,4,e,t)}function gs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _s(e,t,n){n=n==null?null:n.concat([e]),ls(4,4,gs.bind(null,t,e),n)}function vs(){}function ys(e,t){var n=V();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&wo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function bs(e,t){var n=V();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&wo(t,r[1]))return r[0];if(r=e(),vo){qe(!0);try{e()}finally{qe(!1)}}return n.memoizedState=[r,t],r}function xs(e,t,n){return n===void 0||R&1073741824&&!(J&261930)?e.memoizedState=t:(e.memoizedState=n,e=hu(),z.lanes|=e,Kl|=e,n)}function Ss(e,t,n,r){return Ar(n,t)?n:to.current===null?!(R&42)||R&1073741824&&!(J&261930)?(ic=!0,e.memoizedState=n):(e=hu(),z.lanes|=e,Kl|=e,t):(e=xs(e,n,r),Ar(e,t)||(ic=!0),e)}function Cs(e,t,n,r,i){var a=E.p;E.p=a!==0&&8>a?a:8;var o=T.T,s={};T.T=s,Fs(e,!1,t,n);try{var c=i(),l=T.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ps(e,t,ba(c,r),mu(e)):Ps(e,t,r,mu(e))}catch(n){Ps(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{E.p=a,o!==null&&s.types!==null&&(o.types=s.types),T.T=o}}function ws(){}function Ts(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Es(e).queue;Cs(e,a,t,de,n===null?ws:function(){return Ds(e),n(r)})}function Es(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:de,baseState:de,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:de},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Io,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ds(e){var t=Es(e);t.next===null&&(t=e.alternate.memoizedState),Ps(e,t.next.queue,{},mu())}function Os(){return F($f)}function ks(){return V().memoizedState}function As(){return V().memoizedState}function js(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Ka(n);var r=qa(t,e,n);r!==null&&(gu(r,t,n),Ja(r,t,n)),t={cache:fa()},e.payload=t;return}t=t.return}}function Ms(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Is(e)?Ls(t,n):(n=ui(e,t,n,r),n!==null&&(gu(n,e,r),Rs(n,t,r)))}function Ns(e,t,n){Ps(e,t,n,mu())}function Ps(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Is(e))Ls(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ar(s,o))return li(e,t,i,0),K===null&&ci(),!1}catch{}if(n=ui(e,t,i,r),n!==null)return gu(n,e,r),Rs(n,t,r),!0}return!1}function Fs(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Is(e)){if(t)throw Error(i(479))}else t=ui(e,n,r,2),t!==null&&gu(t,e,2)}function Is(e){var t=e.alternate;return e===z||t!==null&&t===z}function Ls(e,t){_o=go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ct(e,n)}}var zs={readContext:F,use:Fo,useCallback:Co,useContext:Co,useEffect:Co,useImperativeHandle:Co,useLayoutEffect:Co,useInsertionEffect:Co,useMemo:Co,useReducer:Co,useRef:Co,useState:Co,useDebugValue:Co,useDeferredValue:Co,useTransition:Co,useSyncExternalStore:Co,useId:Co,useHostTransitionStatus:Co,useFormState:Co,useActionState:Co,useOptimistic:Co,useMemoCache:Co,useCacheRefresh:Co};zs.useEffectEvent=Co;var Bs={readContext:F,use:Fo,useCallback:function(e,t){return Mo().memoizedState=[e,t===void 0?null:t],e},useContext:F,useEffect:us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),cs(4194308,4,gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){cs(4,2,e,t)},useMemo:function(e,t){var n=Mo();t=t===void 0?null:t;var r=e();if(vo){qe(!0);try{e()}finally{qe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Mo();if(n!==void 0){var i=n(t);if(vo){qe(!0);try{n(t)}finally{qe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ms.bind(null,z,e),[r.memoizedState,e]},useRef:function(e){var t=Mo();return e={current:e},t.memoizedState=e},useState:function(e){e=Ko(e);var t=e.queue,n=Ns.bind(null,z,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:vs,useDeferredValue:function(e,t){return xs(Mo(),e,t)},useTransition:function(){var e=Ko(!1);return e=Cs.bind(null,z,e.queue,!0,!1),Mo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=z,a=Mo();if(N){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),K===null)throw Error(i(349));J&127||Vo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,us(Uo.bind(null,r,o,e),[e]),r.flags|=2048,os(9,{destroy:void 0},Ho.bind(null,r,o,n,t),null),n},useId:function(){var e=Mo(),t=K.identifierPrefix;if(N){var n=Pi,r=Ni;n=(r&~(1<<32-Je(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=yo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=So++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Os,useFormState:ts,useActionState:ts,useOptimistic:function(e){var t=Mo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Fs.bind(null,z,!0,n),n.dispatch=t,[e,t]},useMemoCache:H,useCacheRefresh:function(){return Mo().memoizedState=js.bind(null,z)},useEffectEvent:function(e){var t=Mo(),n={impl:e};return t.memoizedState=n,function(){if(G&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Vs={readContext:F,use:Fo,useCallback:ys,useContext:F,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:Lo,useRef:ss,useState:function(){return Lo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){return Ss(V(),B.memoizedState,e,t)},useTransition:function(){var e=Lo(Io)[0],t=V().memoizedState;return[typeof e==`boolean`?e:Po(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:ns,useActionState:ns,useOptimistic:function(e,t){return qo(V(),B,e,t)},useMemoCache:H,useCacheRefresh:As};Vs.useEffectEvent=ps;var Hs={readContext:F,use:Fo,useCallback:ys,useContext:F,useEffect:ds,useImperativeHandle:_s,useInsertionEffect:ms,useLayoutEffect:hs,useMemo:bs,useReducer:zo,useRef:ss,useState:function(){return zo(Io)},useDebugValue:vs,useDeferredValue:function(e,t){var n=V();return B===null?xs(n,e,t):Ss(n,B.memoizedState,e,t)},useTransition:function(){var e=zo(Io)[0],t=V().memoizedState;return[typeof e==`boolean`?e:Po(e),t]},useSyncExternalStore:Bo,useId:ks,useHostTransitionStatus:Os,useFormState:as,useActionState:as,useOptimistic:function(e,t){var n=V();return B===null?(n.baseState=e,[e,n.queue.dispatch]):qo(n,B,e,t)},useMemoCache:H,useCacheRefresh:As};Hs.useEffectEvent=ps;function Us(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ws={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Ka(r);i.payload=t,n!=null&&(i.callback=n),t=qa(e,i,r),t!==null&&(gu(t,e,r),Ja(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Ka(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=qa(e,i,r),t!==null&&(gu(t,e,r),Ja(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=mu(),r=Ka(n);r.tag=2,t!=null&&(r.callback=t),t=qa(e,r,n),t!==null&&(gu(t,e,n),Ja(t,e,n))}};function Gs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!jr(n,r)||!jr(i,a):!0}function Ks(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&&Ws.enqueueReplaceState(t,t.state,null)}function qs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Js(e){ii(e)}function Ys(e){console.error(e)}function Xs(e){ii(e)}function Zs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Qs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function $s(e,t,n){return n=Ka(n),n.tag=3,n.payload={element:null},n.callback=function(){Zs(e,t)},n}function ec(e){return e=Ka(e),e.tag=3,e}function tc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Qs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Qs(t,n,r),typeof i!=`function`&&(iu===null?iu=new Set([this]):iu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function nc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ra(t,n,a,!0),n=oo.current,n!==null){switch(n.tag){case 31:case 13:return so===null?Ou():n.alternate===null&&Gl===0&&(Gl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===ka?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ku(e,r,a)),!1;case 22:return n.flags|=65536,r===ka?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ku(e,r,a)),!1}throw Error(i(435,n.tag))}return Ku(e,r,a),Ou(),!1}if(N)return t=oo.current,t===null?(r!==Ui&&(t=Error(i(423),{cause:r}),Yi(Ti(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ti(r,n),a=$s(e.stateNode,r,a),Ya(e,a),Gl!==4&&(Gl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ui&&(e=Error(i(422),{cause:r}),Yi(Ti(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ti(o,n),Zl===null?Zl=[o]:Zl.push(o),Gl!==4&&(Gl=2),t===null)return!0;r=Ti(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=$s(n.stateNode,r,e),Ya(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(iu===null||!iu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=ec(a),tc(a,e,n,r),Ya(n,a),!1}n=n.return}while(n!==null);return!1}var rc=Error(i(461)),ic=!1;function ac(e,t,n,r){t.child=e===null?Ha(t,null,n,r):Va(t,e.child,n,r)}function oc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return aa(t),r=To(e,t,n,o,a,i),s=ko(),e!==null&&!ic?(Ao(e,t,i),Ac(e,t,i)):(N&&s&&Li(t),t.flags|=1,ac(e,t,r,i),t.child)}function sc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!gi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,cc(e,t,a,r,i)):(e=yi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!jc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?jr:n,n(o,r)&&e.ref===t.ref)return Ac(e,t,i)}return t.flags|=1,e=_i(a,r),e.ref=t.ref,e.return=t,t.child=e}function cc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(jr(a,r)&&e.ref===t.ref)if(ic=!1,t.pendingProps=r=a,jc(e,i))e.flags&131072&&(ic=!0);else return t.lanes=e.lanes,Ac(e,t,i)}return gc(e,t,n,r,i)}function lc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return dc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&wa(t,a===null?null:a.cachePool),a===null?io():ro(t,a),uo(t);else return r=t.lanes=536870912,dc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&wa(t,null),io(),fo(t)):(wa(t,a.cachePool),ro(t,a),fo(t),t.memoizedState=null);return ac(e,t,i,n),t.child}function uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function dc(e,t,n,r,i){var a=Ca();return a=a===null?null:{parent:da._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&wa(t,null),io(),uo(t),e!==null&&ra(e,t,r,!0),t.childLanes=i,null}function fc(e,t){return t=Tc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function pc(e,t,n){return Va(t,e.child,null,n),e=fc(t,t.pendingProps),e.flags|=2,po(t),t.memoizedState=null,e}function mc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(N){if(r.mode===`hidden`)return e=fc(t,r),t.lanes=536870912,uc(null,e);if(lo(t),(e=M)?(e=af(e,Hi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi===null?null:{id:Ni,overflow:Pi},retryLane:536870912,hydrationErrors:null},n=Si(e),n.return=t,t.child=n,Bi=t,M=null)):e=null,e===null)throw Wi(t);return t.lanes=536870912,null}return fc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(lo(t),a)if(t.flags&256)t.flags&=-257,t=pc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(ic||ra(e,t,n,!1),a=(n&e.childLanes)!==0,ic||a){if(r=K,r!==null&&(s=lt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,di(e,s),gu(r,e,s),rc;Ou(),t=pc(e,t,n)}else e=o.treeContext,M=lf(s.nextSibling),Bi=t,N=!0,Vi=null,Hi=!1,e!==null&&zi(t,e),t=fc(t,r),t.flags|=4096;return t}return e=_i(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function hc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function gc(e,t,n,r,i){return aa(t),n=To(e,t,n,r,void 0,i),r=ko(),e!==null&&!ic?(Ao(e,t,i),Ac(e,t,i)):(N&&r&&Li(t),t.flags|=1,ac(e,t,n,i),t.child)}function _c(e,t,n,r,i,a){return aa(t),t.updateQueue=null,n=Do(t,r,n,i),Eo(e),r=ko(),e!==null&&!ic?(Ao(e,t,a),Ac(e,t,a)):(N&&r&&Li(t),t.flags|=1,ac(e,t,n,a),t.child)}function vc(e,t,n,r,i){if(aa(t),t.stateNode===null){var a=j,o=n.contextType;typeof o==`object`&&o&&(a=F(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Ws,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Wa(t),o=n.contextType,a.context=typeof o==`object`&&o?F(o):j,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Us(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Ws.enqueueReplaceState(a,a.state,null),Qa(t,r,a,i),Za(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=qs(n,s);a.props=c;var l=a.context,u=n.contextType;o=j,typeof u==`object`&&u&&(o=F(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ks(t,a,r,o),Ua=!1;var f=t.memoizedState;a.state=f,Qa(t,r,a,i),Za(),l=t.memoizedState,s||f!==l||Ua?(typeof d==`function`&&(Us(t,n,d,r),l=t.memoizedState),(c=Ua||Gs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ga(e,t),o=t.memoizedProps,u=qs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=j,typeof l==`object`&&l&&(c=F(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ks(t,a,r,c),Ua=!1,f=t.memoizedState,a.state=f,Qa(t,r,a,i),Za();var p=t.memoizedState;o!==d||f!==p||Ua||e!==null&&e.dependencies!==null&&ia(e.dependencies)?(typeof s==`function`&&(Us(t,n,s,r),p=t.memoizedState),(u=Ua||Gs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ia(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,hc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Va(t,e.child,null,i),t.child=Va(t,null,n,i)):ac(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Ac(e,t,i),e}function yc(e,t,n,r){return qi(),t.flags|=256,ac(e,t,n,r),t.child}var bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xc(e){return{baseLanes:e,cachePool:Ta()}}function Sc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Yl),e}function Cc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(L.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(N){if(a?co(t):fo(t),(e=M)?(e=af(e,Hi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi===null?null:{id:Ni,overflow:Pi},retryLane:536870912,hydrationErrors:null},n=Si(e),n.return=t,t.child=n,Bi=t,M=null)):e=null,e===null)throw Wi(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(fo(t),a=t.mode,c=Tc({mode:`hidden`,children:c},a),r=bi(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(null,r)):(co(t),wc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(co(t),t.flags&=-257,t=Ec(e,t,n)):t.memoizedState===null?(fo(t),c=r.fallback,a=t.mode,r=Tc({mode:`visible`,children:r.children},a),c=bi(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Va(t,e.child,null,n),r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,t=uc(null,r)):(fo(t),t.child=e.child,t.flags|=128,t=null);else if(co(t),sf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Yi({value:r,source:null,stack:null}),t=Ec(e,t,n)}else if(ic||ra(e,t,n,!1),s=(n&e.childLanes)!==0,ic||s){if(s=K,s!==null&&(r=lt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,di(e,r),gu(s,e,r),rc;of(c)||Ou(),t=Ec(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,M=lf(c.nextSibling),Bi=t,N=!0,Vi=null,Hi=!1,e!==null&&zi(t,e),t=wc(t,r.children),t.flags|=4096);return t}return a?(fo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=_i(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=bi(c,a,n,null),c.flags|=2):c=_i(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,uc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=xc(n):(a=c.cachePool,a===null?a=Ta():(l=da._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(e.child,r)):(co(t),n=e.child,e=n.sibling,n=_i(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function wc(e,t){return t=Tc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Tc(e,t){return e=hi(22,e,null,t),e.lanes=0,e}function Ec(e,t,n){return Va(t,e.child,null,n),e=wc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ta(e.return,t,n)}function Oc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function kc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=L.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,D(L,o),ac(e,t,r,n),r=N?ki:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dc(e,n,t);else if(e.tag===19)Dc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&mo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Oc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&mo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Oc(t,!0,n,null,a,r);break;case`together`:Oc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ac(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ra(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=_i(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_i(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ia(e))):!0}function Mc(e,t,n){switch(t.tag){case 3:be(t,t.stateNode.containerInfo),$i(t,da,e.memoizedState.cache),qi();break;case 27:case 5:Se(t);break;case 4:be(t,t.stateNode.containerInfo);break;case 10:$i(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,lo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(co(t),e=Ac(e,t,n),e===null?null:e.sibling):Cc(e,t,n):(co(t),t.flags|=128,null);co(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(ra(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return kc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),D(L,L.current),r)break;return null;case 22:return t.lanes=0,lc(e,t,n,t.pendingProps);case 24:$i(t,da,e.memoizedState.cache)}return Ac(e,t,n)}function Nc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ic=!0;else{if(!jc(e,n)&&!(t.flags&128))return ic=!1,Mc(e,t,n);ic=!!(e.flags&131072)}else ic=!1,N&&t.flags&1048576&&Ii(t,ki,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ma(t.elementType),t.type=e,typeof e==`function`)gi(e)?(r=qs(e,r),t.tag=1,t=vc(null,t,e,r,n)):(t.tag=0,t=gc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=oc(null,t,e,r,n);break a}else if(a===ne){t.tag=14,t=sc(null,t,e,r,n);break a}}throw t=le(e)||e,Error(i(306,t,``))}}return t;case 0:return gc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=qs(r,t.pendingProps),vc(e,t,r,a,n);case 3:a:{if(be(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ga(e,t),Qa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,$i(t,da,r),r!==o.cache&&na(t,[da],n,!0),Za(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=yc(e,t,r,n);break a}else if(r!==a){a=Ti(Error(i(424)),t),Yi(a),t=yc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(M=lf(e.firstChild),Bi=t,N=!0,Vi=null,Hi=!0,n=Ha(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(qi(),r===a){t=Ac(e,t,n);break a}ac(e,t,r,n)}t=t.child}return t;case 26:return hc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:N||(n=t.type,e=t.pendingProps,r=Vd(ve.current).createElement(n),r[ht]=t,r[gt]=e,Fd(r,n,e),A(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Se(t),e===null&&N&&(r=t.stateNode=pf(t.type,t.pendingProps,ve.current),Bi=t,Hi=!0,a=M,Qd(t.type)?(uf=a,M=lf(r.firstChild)):M=a),ac(e,t,t.pendingProps.children,n),hc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&N&&((a=r=M)&&(r=nf(r,t.type,t.pendingProps,Hi),r===null?a=!1:(t.stateNode=r,Bi=t,M=lf(r.firstChild),Hi=!1,a=!0)),a||Wi(t)),Se(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Wd(a,o)?r=null:s!==null&&Wd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=To(e,t,Oo,null,null,n),$f._currentValue=a),hc(e,t),ac(e,t,r,n),t.child;case 6:return e===null&&N&&((e=n=M)&&(n=rf(n,t.pendingProps,Hi),n===null?e=!1:(t.stateNode=n,Bi=t,M=null,e=!0)),e||Wi(t)),null;case 13:return Cc(e,t,n);case 4:return be(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Va(t,null,r,n):ac(e,t,r,n),t.child;case 11:return oc(e,t,t.type,t.pendingProps,n);case 7:return ac(e,t,t.pendingProps,n),t.child;case 8:return ac(e,t,t.pendingProps.children,n),t.child;case 12:return ac(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,$i(t,t.type,r.value),ac(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,aa(t),a=F(a),r=r(a),t.flags|=1,ac(e,t,r,n),t.child;case 14:return sc(e,t,t.type,t.pendingProps,n);case 15:return cc(e,t,t.type,t.pendingProps,n);case 19:return kc(e,t,n);case 31:return mc(e,t,n);case 22:return lc(e,t,n,t.pendingProps);case 24:return aa(t),r=F(da),e===null?(a=Ca(),a===null&&(a=K,o=fa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Wa(t),$i(t,da,a)):((e.lanes&n)!==0&&(Ga(e,t),Qa(t,null,null,n),Za()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,$i(t,da,r),r!==a.cache&&na(t,[da],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),$i(t,da,r))),ac(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Pc(e){e.flags|=4}function Fc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Tu())e.flags|=8192;else throw Na=ka,Da}else e.flags&=-16777217}function Ic(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(Tu())e.flags|=8192;else throw Na=ka,Da}function Lc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:rt(),e.lanes|=t,Xl|=t)}function Rc(e,t){if(!N)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 U(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zc(e,t,n){var r=t.pendingProps;switch(Ri(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return U(t),null;case 1:return U(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ea(da),xe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ki(t)?Pc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ji())),U(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Pc(t),o===null?(U(t),Fc(t,a,null,r,n)):(U(t),Ic(t,o))):o?o===e.memoizedState?(U(t),t.flags&=-16777217):(Pc(t),U(t),Ic(t,o)):(e=e.memoizedProps,e!==r&&Pc(t),U(t),Fc(t,a,e,r,n)),null;case 27:if(Ce(t),n=ve.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return U(t),null}e=ge.current,Ki(t)?Gi(t,e):(e=pf(a,r,n),t.stateNode=e,Pc(t))}return U(t),null;case 5:if(Ce(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return U(t),null}if(o=ge.current,Ki(t))Gi(t,o);else{var s=Vd(ve.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ht]=t,o[gt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Fd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Pc(t)}}return U(t),Fc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ve.current,Ki(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Bi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ht]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||Wi(t,!0)}else e=Vd(e).createTextNode(r),e[ht]=t,t.stateNode=e}return U(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ki(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ht]=t}else qi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;U(t),e=!1}else n=Ji(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(po(t),t):(po(t),null);if(t.flags&128)throw Error(i(558))}return U(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ki(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ht]=t}else qi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;U(t),a=!1}else a=Ji(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(po(t),t):(po(t),null)}return po(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Lc(t,t.updateQueue),U(t),null);case 4:return xe(),e===null&&Cd(t.stateNode.containerInfo),U(t),null;case 10:return ea(t.type),U(t),null;case 19:if(he(L),r=t.memoizedState,r===null)return U(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Rc(r,!1);else{if(Gl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=mo(e),o!==null){for(t.flags|=128,Rc(r,!1),e=o.updateQueue,t.updateQueue=e,Lc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)vi(n,e),n=n.sibling;return D(L,L.current&1|2),N&&Fi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ie()>nu&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304)}else{if(!a)if(e=mo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Lc(t,e),Rc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!N)return U(t),null}else 2*Ie()-r.renderingStartTime>nu&&n!==536870912&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(U(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ie(),e.sibling=null,n=L.current,D(L,a?n&1|2:n&1),N&&Fi(t,r.treeForkCount),e);case 22:case 23:return po(t),ao(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(U(t),t.subtreeFlags&6&&(t.flags|=8192)):U(t),n=t.updateQueue,n!==null&&Lc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&he(Sa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ea(da),U(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Bc(e,t){switch(Ri(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ea(da),xe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 31:if(t.memoizedState!==null){if(po(t),t.alternate===null)throw Error(i(340));qi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(po(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));qi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(L),null;case 4:return xe(),null;case 10:return ea(t.type),null;case 22:case 23:return po(t),ao(),e!==null&&he(Sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ea(da),null;case 25:return null;default:return null}}function Vc(e,t){switch(Ri(t),t.tag){case 3:ea(da),xe();break;case 26:case 27:case 5:Ce(t);break;case 4:xe();break;case 31:t.memoizedState!==null&&po(t);break;case 13:po(t);break;case 19:he(L);break;case 10:ea(t.type);break;case 22:case 23:po(t),ao(),e!==null&&he(Sa);break;case 24:ea(da)}}function Hc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){X(t,t.return,e)}}function Uc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){X(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){X(t,t.return,e)}}function Wc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{eo(t,n)}catch(t){X(e,e.return,t)}}}function Gc(e,t,n){n.props=qs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){X(e,t,n)}}function Kc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){X(e,t,n)}}function qc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){X(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){X(e,t,n)}else n.current=null}function Jc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){X(e,e.return,t)}}function Yc(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[gt]=t}catch(t){X(e,e.return,t)}}function Xc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Xc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Qd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cn));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fd(t,r,n),t[ht]=e,t[gt]=n}catch(t){X(e,e.return,t)}}var tl=!1,nl=!1,rl=!1,il=typeof WeakSet==`function`?WeakSet:Set,W=null;function al(e,t){if(e=e.containerInfo,zd=cp,e=Fr(e),Ir(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Bd={focusedElem:e,selectionRange:n},cp=!1,W=t;W!==null;)if(t=W,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,W=e;else for(;W!==null;){switch(t=W,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=qs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){X(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:tf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,W=e;break}W=t.return}}function ol(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:xl(e,n),r&4&&Hc(5,n);break;case 1:if(xl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){X(n,n.return,e)}else{var i=qs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){X(n,n.return,e)}}r&64&&Wc(n),r&512&&Kc(n,n.return);break;case 3:if(xl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{eo(e,t)}catch(e){X(n,n.return,e)}}break;case 27:t===null&&r&4&&el(n);case 26:case 5:xl(e,n),t===null&&r&4&&Jc(n),r&512&&Kc(n,n.return);break;case 12:xl(e,n);break;case 31:xl(e,n),r&4&&fl(e,n);break;case 13:xl(e,n),r&4&&pl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Yu.bind(null,n),cf(e,n))));break;case 22:if(r=n.memoizedState!==null||tl,!r){t=t!==null&&t.memoizedState!==null||nl,i=tl;var a=nl;tl=r,(nl=t)&&!a?Cl(e,n,(n.subtreeFlags&8772)!=0):xl(e,n),tl=i,nl=a}break;case 30:break;default:xl(e,n)}}function sl(e){var t=e.alternate;t!==null&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ct(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var cl=null,ll=!1;function ul(e,t,n){for(n=n.child;n!==null;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount==`function`)try{Ke.onCommitFiberUnmount(Ge,n)}catch{}switch(n.tag){case 26:nl||qc(n,t),ul(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nl||qc(n,t);var r=cl,i=ll;Qd(n.type)&&(cl=n.stateNode,ll=!1),ul(e,t,n),mf(n.stateNode),cl=r,ll=i;break;case 5:nl||qc(n,t);case 6:if(r=cl,i=ll,cl=null,ul(e,t,n),cl=r,ll=i,cl!==null)if(ll)try{(cl.n
vendor: 3,728 bytes, line 8
8odeType===9?cl.body:cl.nodeName===`HTML`?cl.ownerDocument.body:cl).removeChild(n.stateNode)}catch(e){X(n,t,e)}else try{cl.removeChild(n.stateNode)}catch(e){X(n,t,e)}break;case 18:cl!==null&&(ll?(e=cl,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):$d(cl,n.stateNode));break;case 4:r=cl,i=ll,cl=n.stateNode.containerInfo,ll=!0,ul(e,t,n),cl=r,ll=i;break;case 0:case 11:case 14:case 15:Uc(2,n,t),nl||Uc(4,n,t),ul(e,t,n);break;case 1:nl||(qc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Gc(n,t,r)),ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:nl=(r=nl)||n.memoizedState!==null,ul(e,t,n),nl=r;break;default:ul(e,t,n)}}function fl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){X(t,t.return,e)}}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Pp(e)}catch(e){X(t,t.return,e)}}function ml(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new il),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new il),t;default:throw Error(i(435,e.tag))}}function hl(e,t){var n=ml(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Xu.bind(null,e,t);t.then(r,r)}})}function gl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Qd(c.type)){cl=c.stateNode,ll=!1;break a}break;case 5:cl=c.stateNode,ll=!1;break a;case 3:case 4:cl=c.stateNode.containerInfo,ll=!0;break a}c=c.return}if(cl===null)throw Error(i(160));dl(o,s,a),cl=null,ll=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)vl(t,e),t=t.sibling}var _l=null;function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gl(t,e),yl(e),r&4&&(Uc(3,e,e.return),Hc(3,e),Uc(5,e,e.return));break;case 1:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&64&&tl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=_l;if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[St]||o[ht]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Fd(o,r,n),o[ht]=e,A(o),r=o;break a;case`link`:var s=Hf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Fd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Hf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Fd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[ht]=e,A(o),r=o}e.stateNode=r}else Uf(a,e.type,e.stateNode);else e.stateNode=Lf(a,r,e.memoizedProps);
vendor: 40,457 bytes, lines 8-9
8else o===r?r===null&&e.stateNode!==null&&Yc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Uf(a,e.type,e.stateNode):Lf(a,r,e.memoizedProps))}break;case 27:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),n!==null&&r&4&&Yc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),e.flags&32){a=e.stateNode;try{$t(a,``)}catch(t){X(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Yc(e,a,n===null?a:n.memoizedProps)),r&1024&&(rl=!0);break;case 6:if(gl(t,e),yl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){X(e,e.return,t)}}break;case 3:if(Vf=null,a=_l,_l=_f(t.containerInfo),gl(t,e),_l=a,yl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){X(e,e.return,t)}rl&&(rl=!1,bl(e));break;case 4:r=_l,_l=_f(e.stateNode.containerInfo),gl(t,e),yl(e),_l=r;break;case 12:gl(t,e),yl(e);break;case 31:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 13:gl(t,e),yl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(eu=Ie()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=tl,d=nl;if(tl=u||a,nl=d||l,gl(t,e),nl=d,tl=u,yl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||tl||nl||Sl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){X(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){X(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?ef(m,!0):ef(l.stateNode,!1)}catch(e){X(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,hl(e,n))));break;case 19:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 30:break;case 21:break;default:gl(t,e),yl(e)}}function yl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Xc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;$c(e,Zc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&($t(o,``),n.flags&=-33),$c(e,Zc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Qc(e,Zc(e),s);break;default:throw Error(i(161))}}catch(t){X(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ol(e,t.alternate,t),t=t.sibling}function Sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Uc(4,t,t.return),Sl(t);break;case 1:qc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Gc(t,t.return,n),Sl(t);break;case 27:mf(t.stateNode);case 26:case 5:qc(t,t.return),Sl(t);break;case 22:t.memoizedState===null&&Sl(t);break;case 30:Sl(t);break;default:Sl(t)}e=e.sibling}}function Cl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Cl(i,a,n),Hc(4,a);break;case 1:if(Cl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){X(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)$a(c[i],s)}catch(e){X(r,r.return,e)}}n&&o&64&&Wc(a),Kc(a,a.return);break;case 27:el(a);case 26:case 5:Cl(i,a,n),n&&r===null&&o&4&&Jc(a),Kc(a,a.return);break;case 12:Cl(i,a,n);break;case 31:Cl(i,a,n),n&&o&4&&fl(i,a);break;case 13:Cl(i,a,n),n&&o&4&&pl(i,a);break;case 22:a.memoizedState===null&&Cl(i,a,n),Kc(a,a.return);break;case 30:break;default:Cl(i,a,n)}t=t.sibling}}function wl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&pa(n))}function Tl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pa(e))}function El(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dl(e,t,n,r),t=t.sibling}function Dl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:El(e,t,n,r),i&2048&&Hc(9,t);break;case 1:El(e,t,n,r);break;case 3:El(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pa(e)));break;case 12:if(i&2048){El(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){X(t,t.return,e)}}else El(e,t,n,r);break;case 31:El(e,t,n,r);break;case 13:El(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?El(e,t,n,r):(a._visibility|=2,Ol(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?El(e,t,n,r):kl(e,t),i&2048&&wl(o,t);break;case 24:El(e,t,n,r),i&2048&&Tl(t.alternate,t);break;default:El(e,t,n,r)}}function Ol(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Ol(a,o,s,c,i),Hc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ol(a,o,s,c,i)):u._visibility&2?Ol(a,o,s,c,i):kl(a,o),i&&l&2048&&wl(o.alternate,o);break;case 24:Ol(a,o,s,c,i),i&&l&2048&&Tl(o.alternate,o);break;default:Ol(a,o,s,c,i)}t=t.sibling}}function kl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:kl(n,r),i&2048&&wl(r.alternate,r);break;case 24:kl(n,r),i&2048&&Tl(r.alternate,r);break;default:kl(n,r)}t=t.sibling}}var Al=8192;function jl(e,t,n){if(e.subtreeFlags&Al)for(e=e.child;e!==null;)Ml(e,t,n),e=e.sibling}function Ml(e,t,n){switch(e.tag){case 26:jl(e,t,n),e.flags&Al&&e.memoizedState!==null&&Kf(n,_l,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,n);break;case 3:case 4:var r=_l;_l=_f(e.stateNode.containerInfo),jl(e,t,n),_l=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Al,Al=16777216,jl(e,t,n),Al=r):jl(e,t,n));break;default:jl(e,t,n)}}function Nl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];W=r,Ll(r,e)}Nl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fl(e),e=e.sibling}function Fl(e){switch(e.tag){case 0:case 11:case 15:Pl(e),e.flags&2048&&Uc(9,e,e.return);break;case 3:Pl(e);break;case 12:Pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Il(e)):Pl(e);break;default:Pl(e)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];W=r,Ll(r,e)}Nl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Uc(8,t,t.return),Il(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Il(t));break;default:Il(t)}e=e.sibling}}function Ll(e,t){for(;W!==null;){var n=W;switch(n.tag){case 0:case 11:case 15:Uc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:pa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,W=r;else a:for(n=e;W!==null;){r=W;var i=r.sibling,a=r.return;if(sl(r),r===n){W=null;break a}if(i!==null){i.return=a,W=i;break a}W=a}}}var Rl={getCacheForType:function(e){var t=F(da),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return F(da).controller.signal}},zl=typeof WeakMap==`function`?WeakMap:Map,G=0,K=null,q=null,J=0,Y=0,Bl=null,Vl=!1,Hl=!1,Ul=!1,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=null,Ql=null,$l=!1,eu=0,tu=0,nu=1/0,ru=null,iu=null,au=0,ou=null,su=null,cu=0,lu=0,uu=null,du=null,fu=0,pu=null;function mu(){return G&2&&J!==0?J&-J:T.T===null?ft():fd()}function hu(){if(Yl===0)if(!(J&536870912)||N){var e=$e;$e<<=1,!($e&3932160)&&($e=262144),Yl=e}else Yl=536870912;return e=oo.current,e!==null&&(e.flags|=32),Yl}function gu(e,t,n){(e===K&&(Y===2||Y===9)||e.cancelPendingCommit!==null)&&(Cu(e,0),bu(e,J,Yl,!1)),at(e,n),(!(G&2)||e!==K)&&(e===K&&(!(G&2)&&(ql|=n),Gl===4&&bu(e,J,Yl,!1)),id(e))}function _u(e,t,n){if(G&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||O(e,t),a=r?ju(e,t):ku(e,t,!0),o=r;do{if(a===0){Hl&&!r&&bu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!yu(n)){a=ku(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Zl;var l=c.current.memoizedState.isDehydrated;if(l&&(Cu(c,s).flags|=256),s=ku(c,s,!1),s!==2){if(Ul&&!l){c.errorRecoveryDisabledLanes|=o,ql|=o,a=4;break a}o=Ql,Ql=a,o!==null&&(Ql===null?Ql=o:Ql.push.apply(Ql,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Cu(e,0),bu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:bu(r,t,Yl,!Vl);break a;case 2:Ql=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=eu+300-Ie(),10<a)){if(bu(r,t,Yl,!Vl),nt(r,0,!0)!==0)break a;cu=t,r.timeoutHandle=qd(vu.bind(null,r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,`Throttled`,-0,0),a);break a}vu(r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,null,-0,0)}}break}while(1);id(e)}function vu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:cn},Ml(t,a,d);var m=(a&62914560)===a?eu-Ie():(a&4194048)===a?tu-Ie():0;if(m=Jf(d,m),m!==null){cu=a,e.cancelPendingCommit=m(Ru.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),bu(e,a,o,!l);return}}Ru(e,t,a,n,r,i,o,s,c)}function yu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Ar(a(),i))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 bu(e,t,n,r){t&=~Jl,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Je(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&st(e,n,t)}function xu(){return G&6?!0:(ad(0,!1),!1)}function Su(){if(q!==null){if(Y===0)var e=q.return;else e=q,Qi=Zi=null,jo(e),Ia=null,La=0,e=q;for(;e!==null;)Vc(e.alternate,e),e=e.return;q=null}}function Cu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Jd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),cu=0,Su(),K=e,q=n=_i(e.current,null),J=t,Y=0,Bl=null,Vl=!1,Hl=O(e,t),Ul=!1,Xl=Yl=Jl=ql=Kl=Gl=0,Ql=Zl=null,$l=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Je(r),a=1<<i;t|=e[i],r&=~a}return Wl=t,ci(),n}function wu(e,t){z=null,T.H=zs,t===Ea||t===Oa?(t=Pa(),Y=3):t===Da?(t=Pa(),Y=4):Y=t===rc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Bl=t,q===null&&(Gl=1,Zs(e,Ti(t,e.current)))}function Tu(){var e=oo.current;return e===null?!0:(J&4194048)===J?so===null:(J&62914560)===J||J&536870912?e===so:!1}function Eu(){var e=T.H;return T.H=zs,e===null?zs:e}function Du(){var e=T.A;return T.A=Rl,e}function Ou(){Gl=4,Vl||(J&4194048)!==J&&oo.current!==null||(Hl=!0),!(Kl&134217727)&&!(ql&134217727)||K===null||bu(K,J,Yl,!1)}function ku(e,t,n){var r=G;G|=2;var i=Eu(),a=Du();(K!==e||J!==t)&&(ru=null,Cu(e,t)),t=!1;var o=Gl;a:do try{if(Y!==0&&q!==null){var s=q,c=Bl;switch(Y){case 8:Su(),o=6;break a;case 3:case 2:case 9:case 6:oo.current===null&&(t=!0);var l=Y;if(Y=0,Bl=null,Fu(e,s,c,l),n&&Hl){o=0;break a}break;default:l=Y,Y=0,Bl=null,Fu(e,s,c,l)}}Au(),o=Gl;break}catch(t){wu(e,t)}while(1);return t&&e.shellSuspendCounter++,Qi=Zi=null,G=r,T.H=i,T.A=a,q===null&&(K=null,J=0,ci()),o}function Au(){for(;q!==null;)Nu(q)}function ju(e,t){var n=G;G|=2;var r=Eu(),a=Du();K!==e||J!==t?(ru=null,nu=Ie()+500,Cu(e,t)):Hl=O(e,t);a:do try{if(Y!==0&&q!==null){t=q;var o=Bl;b:switch(Y){case 1:Y=0,Bl=null,Fu(e,t,o,1);break;case 2:case 9:if(Aa(o)){Y=0,Bl=null,Pu(t);break}t=function(){Y!==2&&Y!==9||K!==e||(Y=7),id(e)},o.then(t,t);break a;case 3:Y=7;break a;case 4:Y=5;break a;case 7:Aa(o)?(Y=0,Bl=null,Pu(t)):(Y=0,Bl=null,Fu(e,t,o,7));break;case 5:var s=null;switch(q.tag){case 26:s=q.memoizedState;case 5:case 27:var c=q;if(s?Gf(s):c.stateNode.complete){Y=0,Bl=null;var l=c.sibling;if(l!==null)q=l;else{var u=c.return;u===null?q=null:(q=u,Iu(u))}break b}}Y=0,Bl=null,Fu(e,t,o,5);break;case 6:Y=0,Bl=null,Fu(e,t,o,6);break;case 8:Su(),Gl=6;break a;default:throw Error(i(462))}}Mu();break}catch(t){wu(e,t)}while(1);return Qi=Zi=null,T.H=r,T.A=a,G=n,q===null?(K=null,J=0,ci(),Gl):0}function Mu(){for(;q!==null&&!Pe();)Nu(q)}function Nu(e){var t=Nc(e.alternate,e,Wl);e.memoizedProps=e.pendingProps,t===null?Iu(e):q=t}function Pu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=_c(n,t,t.pendingProps,t.type,void 0,J);break;case 11:t=_c(n,t,t.pendingProps,t.type.render,t.ref,J);break;case 5:jo(t);default:Vc(n,t),t=q=vi(t,Wl),t=Nc(n,t,Wl)}e.memoizedProps=e.pendingProps,t===null?Iu(e):q=t}function Fu(e,t,n,r){Qi=Zi=null,jo(t),Ia=null,La=0;var i=t.return;try{if(nc(e,i,t,n,J)){Gl=1,Zs(e,Ti(n,e.current)),q=null;return}}catch(t){if(i!==null)throw q=i,t;Gl=1,Zs(e,Ti(n,e.current)),q=null;return}t.flags&32768?(N||r===1?e=!0:Hl||J&536870912?e=!1:(Vl=e=!0,(r===2||r===9||r===3||r===6)&&(r=oo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Lu(t,e)):Iu(t)}function Iu(e){var t=e;do{if(t.flags&32768){Lu(t,Vl);return}e=t.return;var n=zc(t.alternate,t,Wl);if(n!==null){q=n;return}if(t=t.sibling,t!==null){q=t;return}q=t=e}while(t!==null);Gl===0&&(Gl=5)}function Lu(e,t){do{var n=Bc(e.alternate,e);if(n!==null){n.flags&=32767,q=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){q=e;return}q=e=n}while(e!==null);Gl=6,q=null}function Ru(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Uu();while(au!==0);if(G&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=si,ot(e,n,o,s,c,l),e===K&&(q=K=null,J=0),su=t,ou=e,cu=n,lu=o,uu=a,du=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Zu(Be,function(){return Wu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=T.T,T.T=null,a=E.p,E.p=2,s=G,G|=4;try{al(e,t,n)}finally{G=s,E.p=a,T.T=r}}au=1,zu(),Bu(),Vu()}}function zu(){if(au===1){au=0;var e=ou,t=su,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=T.T,T.T=null;var r=E.p;E.p=2;var i=G;G|=4;try{vl(t,e);var a=Bd,o=Fr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Pr(s.ownerDocument.documentElement,s)){if(c!==null&&Ir(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Nr(s,h),v=Nr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}cp=!!zd,Bd=zd=null}finally{G=i,E.p=r,T.T=n}}e.current=t,au=2}}function Bu(){if(au===2){au=0;var e=ou,t=su,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=T.T,T.T=null;var r=E.p;E.p=2;var i=G;G|=4;try{ol(e,t.alternate,t)}finally{G=i,E.p=r,T.T=n}}au=3}}function Vu(){if(au===4||au===3){au=0,Fe();var e=ou,t=su,n=cu,r=du;t.subtreeFlags&10256||t.flags&10256?au=5:(au=0,su=ou=null,Hu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(iu=null),dt(n),t=t.stateNode,Ke&&typeof Ke.onCommitFiberRoot==`function`)try{Ke.onCommitFiberRoot(Ge,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=T.T,i=E.p,E.p=2,T.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{T.T=t,E.p=i}}cu&3&&Uu(),id(e),i=e.pendingLanes,n&261930&&i&42?e===pu?fu++:(fu=0,pu=e):fu=0,ad(0,!1)}}function Hu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,pa(t)))}function Uu(){return zu(),Bu(),Vu(),Wu()}function Wu(){if(au!==5)return!1;var e=ou,t=lu;lu=0;var n=dt(cu),r=T.T,a=E.p;try{E.p=32>n?32:n,T.T=null,n=uu,uu=null;var o=ou,s=cu;if(au=0,su=ou=null,cu=0,G&6)throw Error(i(331));var c=G;if(G|=4,Fl(o.current),Dl(o,o.current,s,n),G=c,ad(0,!1),Ke&&typeof Ke.onPostCommitFiberRoot==`function`)try{Ke.onPostCommitFiberRoot(Ge,o)}catch{}return!0}finally{E.p=a,T.T=r,Hu(e,t)}}function Gu(e,t,n){t=Ti(n,t),t=$s(e.stateNode,t,2),e=qa(e,t,2),e!==null&&(at(e,2),id(e))}function X(e,t,n){if(e.tag===3)Gu(e,e,n);else for(;t!==null;){if(t.tag===3){Gu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(iu===null||!iu.has(r))){e=Ti(n,e),n=ec(2),r=qa(t,n,2),r!==null&&(tc(n,r,t,e),at(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Ul=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,K===e&&(J&n)===n&&(Gl===4||Gl===3&&(J&62914560)===J&&300>Ie()-eu?!(G&2)&&Cu(e,0):Jl|=n,Xl===J&&(Xl=0)),id(e)}function Ju(e,t){t===0&&(t=rt()),e=di(e,t),e!==null&&(at(e,t),id(e))}function Yu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ju(e,n)}function Xu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Ju(e,n)}function Zu(e,t){return Me(e,t)}var Qu=null,$u=null,ed=!1,td=!1,nd=!1,rd=0;function id(e){e!==$u&&e.next===null&&($u===null?Qu=$u=e:$u=$u.next=e),td=!0,ed||(ed=!0,dd())}function ad(e,t){if(!nd&&td){nd=!0;do for(var n=!1,r=Qu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Je(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ud(r,a))}else a=J,a=nt(r,r===K?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||O(r,a)||(n=!0,ud(r,a));r=r.next}while(n);nd=!1}}function od(){sd()}function sd(){td=ed=!1;var e=0;rd!==0&&Kd()&&(e=rd);for(var t=Ie(),n=null,r=Qu;r!==null;){var i=r.next,a=cd(r,t);a===0?(r.next=null,n===null?Qu=i:n.next=i,i===null&&($u=n)):(n=r,(e!==0||a&3)&&(td=!0)),r=i}au!==0&&au!==5||ad(e,!1),rd!==0&&(rd=0)}function cd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Je(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=k(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=K,n=J,n=nt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Y===2||Y===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ne(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||O(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ne(r),dt(n)){case 2:case 8:n=ze;break;case 32:n=Be;break;case 268435456:n=He;break;default:n=Be}return r=ld.bind(null,e),n=Me(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ne(r),e.callbackPriority=2,e.callbackNode=null,2}function ld(e,t){if(au!==0&&au!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Uu()&&e.callbackNode!==n)return null;var r=J;return r=nt(e,e===K?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_u(e,r,t),cd(e,Ie()),e.callbackNode!=null&&e.callbackNode===n?ld.bind(null,e):null)}function ud(e,t){if(Uu())return null;_u(e,t,!0)}function dd(){Xd(function(){G&6?Me(Re,od):sd()})}function fd(){if(rd===0){var e=ga;e===0&&(e=Qe,Qe<<=1,!(Qe&261888)&&(Qe=256)),rd=e}return rd}function pd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:sn(``+e)}function md(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function hd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=pd((i[gt]||null).action),o=r.submitter;o&&(t=(t=o[gt]||null)?pd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new kn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(rd!==0){var e=o?md(i,o):new FormData(i);Ts(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?md(i,o):new FormData(i),Ts(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var gd=0;gd<ni.length;gd++){var _d=ni[gd];ri(_d.toLowerCase(),`on`+(_d[0].toUpperCase()+_d.slice(1)))}ri(Jr,`onAnimationEnd`),ri(Yr,`onAnimationIteration`),ri(Xr,`onAnimationStart`),ri(`dblclick`,`onDoubleClick`),ri(`focusin`,`onFocus`),ri(`focusout`,`onBlur`),ri(Zr,`onTransitionRun`),ri(Qr,`onTransitionStart`),ri($r,`onTransitionCancel`),ri(ei,`onTransitionEnd`),jt(`onMouseEnter`,[`mouseout`,`mouseover`]),jt(`onMouseLeave`,[`mouseout`,`mouseover`]),jt(`onPointerEnter`,[`pointerout`,`pointerover`]),jt(`onPointerLeave`,[`pointerout`,`pointerover`]),At(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),At(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),At(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),At(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),At(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),At(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var vd=`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(` `),yd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(vd));function bd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ii(e)}i.currentTarget=null,a=c}}}}function Z(e,t){var n=t[vt];n===void 0&&(n=t[vt]=new Set);var r=e+`__bubble`;n.has(r)||(wd(t,e,2,!1),n.add(r))}function xd(e,t,n){var r=0;t&&(r|=4),wd(n,e,r,t)}var Sd=`_reactListening`+Math.random().toString(36).slice(2);function Cd(e){if(!e[Sd]){e[Sd]=!0,Ot.forEach(function(t){t!==`selectionchange`&&(yd.has(t)||xd(t,!1,e),xd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Sd]||(t[Sd]=!0,xd(`selectionchange`,!1,t))}}function wd(e,t,n,r){switch(hp(t)){case 2:var i=lp;break;case 8:i=up;break;default:i=dp}n=i.bind(null,t,n,e),i=void 0,!vn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Td(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=wt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}hn(function(){var r=a,i=un(n),s=[];a:{var c=ti.get(e);if(c!==void 0){var l=kn,u=e;switch(e){case`keypress`:if(wn(n)===0)break a;case`keydown`:case`keyup`:l=qn;break;case`focusin`:u=`focus`,l=Rn;break;case`focusout`:u=`blur`,l=Rn;break;case`beforeblur`:case`afterblur`:l=Rn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=In;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Ln;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Yn;break;case Jr:case Yr:case Xr:l=zn;break;case ei:l=Xn;break;case`scroll`:case`scrollend`:l=jn;break;case`wheel`:l=Zn;break;case`copy`:case`cut`:case`paste`:l=Bn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Jn;break;case`toggle`:case`beforetoggle`:l=Qn}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=gn(m,p),g!=null&&d.push(Ed(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==ln&&(u=n.relatedTarget||n.fromElement)&&(wt(u)||u[_t]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?wt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=In,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Jn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Et(l),h=u==null?c:Et(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,wt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Od,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&kd(s,c,l,d,!1),u!==null&&f!==null&&kd(s,f,u,d,!0)}}a:{if(c=r?Et(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=vr;else if(fr(c))if(yr)v=Or;else{v=Er;var y=Tr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&rn(r.elementType)&&(v=vr):v=Dr;if(v&&=v(e,r)){pr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Yt(c,`number`,c.value)}switch(y=r?Et(r):window,e){case`focusin`:(fr(y)||y.contentEditable===`true`)&&(Rr=y,zr=r,Br=null);break;case`focusout`:Br=zr=Rr=null;break;case`mousedown`:Vr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Vr=!1,Hr(s,n,i);break;case`selectionchange`:if(Lr)break;case`keydown`:case`keyup`:Hr(s,n,i)}var b;if(er)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else cr?or(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(rr&&n.locale!==`ko`&&(cr||x!==`onCompositionStart`?x===`onCompositionEnd`&&cr&&(b=Cn()):(bn=i,xn=`value`in bn?bn.value:bn.textContent,cr=!0)),y=Dd(r,x),0<y.length&&(x=new Vn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=sr(n),b!==null&&(x.data=b)))),(b=nr?lr(e,n):ur(e,n))&&(x=Dd(r,`onBeforeInput`),0<x.length&&(y=new Vn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),hd(s,e,r,n,i)}bd(s,t)})}function Ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=gn(e,n),i!=null&&r.unshift(Ed(e,i,a)),i=gn(e,t),i!=null&&r.push(Ed(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function kd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=gn(n,a),l!=null&&o.unshift(Ed(n,l,c))):i||(l=gn(n,a),l!=null&&o.push(Ed(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ad=/\r\n?/g,jd=/\u0000|\uFFFD/g;function Md(e){return(typeof e==`string`?e:``+e).replace(Ad,`
9`).replace(jd,``)}function Nd(e,t){return t=Md(t),Md(e)===t}function Q(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||$t(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&$t(e,``+r);break;case`className`:Lt(e,`class`,r);break;case`tabIndex`:Lt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Lt(e,n,r);break;case`style`:nn(e,r,o);break;case`data`:if(t!==`object`){Lt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=sn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Q(e,t,`name`,a.name,a,null),Q(e,t,`formEncType`,a.formEncType,a,null),Q(e,t,`formMethod`,a.formMethod,a,null),Q(e,t,`formTarget`,a.formTarget,a,null)):(Q(e,t,`encType`,a.encType,a,null),Q(e,t,`method`,a.method,a,null),Q(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=sn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=cn);break;case`onScroll`:r!=null&&Z(`scroll`,e);break;case`onScrollEnd`:r!=null&&Z(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=sn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Z(`beforetoggle`,e),Z(`toggle`,e),It(e,`popover`,r);break;case`xlinkActuate`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Rt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Rt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Rt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Rt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:It(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=an.get(n)||n,It(e,n,r))}}function Pd(e,t,n,r,a,o){switch(n){case`style`:nn(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?$t(e,r):(typeof r==`number`||typeof r==`bigint`)&&$t(e,``+r);break;case`onScroll`:r!=null&&Z(`scroll`,e);break;case`onScrollEnd`:r!=null&&Z(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=cn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!kt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[gt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):It(e,n,r)}}}function Fd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Z(`error`,e),Z(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Q(e,t,o,s,n,null)}}a&&Q(e,t,`srcSet`,n.srcSet,n,null),r&&Q(e,t,`src`,n.src,n,null);return;case`input`:Z(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Q(e,t,r,d,n,null)}}Jt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Z(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Q(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Xt(e,!!r,n,!0):Xt(e,!!r,t,!1);return;case`textarea`:for(s in Z(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Q(e,t,s,c,n,null)}Qt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Q(e,t,l,r,n,null)}return;case`dialog`:Z(`beforetoggle`,e),Z(`toggle`,e),Z(`cancel`,e),Z(`close`,e);break;case`iframe`:case`object`:Z(`load`,e);break;case`video`:case`audio`:for(r=0;r<vd.length;r++)Z(vd[r],e);break;case`image`:Z(`error`,e),Z(`load`,e);break;case`details`:Z(`toggle`,e);break;case`embed`:case`source`:case`link`:Z(`error`,e),Z(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Q(e,t,u,r,n,null)}return;default:if(rn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Pd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Q(e,t,c,r,n,null))}function Id(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Q(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Q(e,t,p,m,r,f)}}qt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Q(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Q(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Xt(e,!!n,n?[]:``,!1):Xt(e,!!n,t,!0)):Xt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Q(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Q(e,t,s,a,r,o)}Zt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Q(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Q(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Q(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Q(e,t,u,p,r,m)}return;default:if(rn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Pd(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 9
9for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Pd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Q(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Q(e,t,f,p,r,m)}function Ld(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Rd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Ld(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Ld(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var zd=null,Bd=null;function Vd(e){return e.nodeType===9?e:e.ownerDocument}function Hd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Ud(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Wd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gd=null;function Kd(){var e=window.event;return e&&e.type===`popstate`?e===Gd?!1:(Gd=e,!0):(Gd=null,!1)}var qd=typeof setTimeout==`function`?setTimeout:void 0,Jd=typeof clearTimeout==`function`?clearTimeout:void 0,Yd=typeof Promise==`function`?Promise:void 0,Xd=typeof queueMicrotask==`function`?queueMicrotask:Yd===void 0?qd:function(e){return Yd.resolve(null).then(e).catch(Zd)};function Zd(e){setTimeout(function(){throw e})}function Qd(e){return e===`head`}function $d(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Pp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)mf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,mf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[St]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&mf(e.ownerDocument.body);n=i}while(n);Pp(t)}function ef(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function tf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:tf(n),Ct(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function nf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[St])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=lf(e.nextSibling),e===null)break}return null}function rf(e,t,n){if(t===``)return null;for(;
vendor: 20,888 bytes, line 9
9e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lf(e.nextSibling),e===null))return null;return e}function af(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lf(e.nextSibling),e===null))return null;return e}function of(e){return e.data===`$?`||e.data===`$~`}function sf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function lf(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===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var uf=null;function df(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function ff(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function pf(e,t,n){switch(t=Vd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function mf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ct(e)}var hf=new Map,gf=new Set;function _f(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var vf=E.d;E.d={f:yf,r:bf,D:Cf,C:wf,L:Tf,m:Ef,X:Of,S:Df,M:kf};function yf(){var e=vf.f(),t=xu();return e||t}function bf(e){var t=Tt(e);t!==null&&t.tag===5&&t.type===`form`?Ds(t):vf.r(e)}var xf=typeof document>`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Kt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),A(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Kt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Kt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Kt(n.imageSizes)+`"]`)):i+=`[href="`+Kt(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Fd(t,`link`,e),A(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Kt(r)+`"][href="`+Kt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),A(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=Dt(r).hoistableStyles,a=jf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);A(c),Fd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=Dt(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=f({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),A(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=Dt(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),A(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var a=(a=ve.current)?_f(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=jf(n.href),n=Dt(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=jf(n.href);var o=Dt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},hf.set(e,n),o||Pf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Ff(n),n=Dt(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function jf(e){return`href="`+Kt(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Fd(t,`link`,n),A(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Kt(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Kt(n.href)+`"]`);if(r)return t.instance=r,A(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),A(r),Fd(r,`style`,a),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=jf(n.href);var o=e.querySelector(Mf(a));if(o)return t.state.loading|=4,t.instance=o,A(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),A(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Fd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(a=e.querySelector(If(o)))?(t.instance=a,A(a),a):(r=n,(a=hf.get(o))&&(r=f({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),A(a),Fd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Rf(r,n.precedence,e));return t.instance}function Rf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Vf=null;function Hf(e,t,n){if(Vf===null){var r=new Map,i=Vf=new Map;i.set(n,r)}else i=Vf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[St]||a[ht]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Uf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Wf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=jf(r.href),a=t.querySelector(Mf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,A(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),A(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&qf===0&&(qf=62500*Rd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Yf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var $f={$$typeof:C,Provider:null,Consumer:null,_currentValue:de,_currentValue2:de,_threadCount:0};function ep(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=it(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=it(0),this.hiddenUpdates=it(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function tp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ep(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=hi(3,null,null,t),e.current=a,a.stateNode=e,t=fa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Wa(a),e}function np(e){return e?(e=j,e):j}function rp(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=Ka(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=qa(e,r,t),n!==null&&(gu(n,e,t),Ja(n,e,t))}function ip(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ap(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}function op(e){if(e.tag===13||e.tag===31){var t=di(e,67108864);t!==null&&gu(t,e,67108864),ap(e,67108864)}}function sp(e){if(e.tag===13||e.tag===31){var t=mu();t=ut(t);var n=di(e,t);n!==null&&gu(n,e,t),ap(e,t)}}var cp=!0;function lp(e,t,n,r){var i=T.T;T.T=null;var a=E.p;try{E.p=2,dp(e,t,n,r)}finally{E.p=a,T.T=i}}function up(e,t,n,r){var i=T.T;T.T=null;var a=E.p;try{E.p=8,dp(e,t,n,r)}finally{E.p=a,T.T=i}}function dp(e,t,n,r){if(cp){var i=fp(r);if(i===null)Td(e,t,r,pp,n),wp(e,r);else if(Ep(i,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<Cp.indexOf(e)){for(;i!==null;){var a=Tt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=tt(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Je(o);s.entanglements[1]|=c,o&=~c}id(a),!(G&6)&&(nu=Ie()+500,ad(0,!1))}}break;case 31:case 13:s=di(a,2),s!==null&&gu(s,a,2),xu(),ap(a,2)}if(a=fp(r),a===null&&Td(e,t,r,pp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Td(e,t,r,null,n)}}function fp(e){return e=un(e),mp(e)}var pp=null;function mp(e){if(pp=null,e=wt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(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 pp=e,null}function hp(e){switch(e){case`beforetoggle`: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`toggle`: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 2;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`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Le()){case Re:return 2;case ze:return 8;case Be:case Ve:return 32;case He:return 268435456;default:return 32}default:return 32}}var gp=!1,_p=null,vp=null,yp=null,bp=new Map,xp=new Map,Sp=[],Cp=`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`.split(` `);function wp(e,t){switch(e){case`focusin`:case`focusout`:_p=null;break;case`dragenter`:case`dragleave`:vp=null;break;case`mouseover`:case`mouseout`:yp=null;break;case`pointerover`:case`pointerout`:bp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:xp.delete(t.pointerId)}}function Tp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Tt(t),t!==null&&op(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ep(e,t,n,r,i){switch(t){case`focusin`:return _p=Tp(_p,e,t,n,r,i),!0;case`dragenter`:return vp=Tp(vp,e,t,n,r,i),!0;case`mouseover`:return yp=Tp(yp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return bp.set(a,Tp(bp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,xp.set(a,Tp(xp.get(a)||null,e,t,n,r,i)),!0}return!1}function Dp(e){var t=wt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,pt(e.priority,function(){sp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,pt(e.priority,function(){sp(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 Op(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=fp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ln=r,n.target.dispatchEvent(r),ln=null}else return t=Tt(n),t!==null&&op(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Op(e)&&n.delete(t)}function Ap(){gp=!1,_p!==null&&Op(_p)&&(_p=null),vp!==null&&Op(vp)&&(vp=null),yp!==null&&Op(yp)&&(yp=null),bp.forEach(kp),xp.forEach(kp)}function jp(e,n){e.blockedOn===n&&(e.blockedOn=null,gp||(gp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ap)))}var Mp=null;function Np(e){Mp!==e&&(Mp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Mp===e&&(Mp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(mp(r||n)===null)continue;break}var a=Tt(n);a!==null&&(e.splice(t,3),t-=3,Ts(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}_p!==null&&jp(_p,e),vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp.forEach(t),xp.forEach(t);for(var n=0;n<Sp.length;n++){var r=Sp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Sp.length&&(n=Sp[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Sp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[gt]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[gt]||null)s=o.formAction;else if(mp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Np(n)}}}function Fp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Ip(e){this._internalRoot=e}Lp.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;rp(n,mu(),e,t,null,null)},Lp.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rp(e.current,2,null,e,null,null),xu(),t[_t]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=ft();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sp.length&&t!==0&&t<Sp[n].priority;n++);Sp.splice(n,0,e),n===0&&Dp(e)}};var Rp=n.version;if(Rp!==`19.2.8`)throw Error(i(527,Rp,`19.2.8`));E.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var zp={bundleType:0,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:T,reconcilerVersion:`19.2.8`};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{Ge=Bp.inject(zp),Ke=Bp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Js,s=Ys,c=Xs;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=tp(e,1,!1,null,null,n,r,null,o,s,c,Fp),e[_t]=t.current,Cd(e),new Ip(t)},e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Js,c=Ys,l=Xs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=tp(e,1,!0,t,n??null,r,o,u,s,c,l,Fp),t.context=np(null),n=t.current,r=mu(),r=ut(r),o=Ka(r),o.callback=null,qa(n,o,r),n=r,t.current.lanes=n,at(t,n),id(t),e[_t]=t.current,Cd(e),new Lp(t)}})),y=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=v()})),b=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(){}},x=new class extends b{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},S={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},C=new class{#e=S;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function w(e){setTimeout(e,0)}var ee=typeof window>`u`||`Deno`in globalThis;function te(){}function ne(e,t){return typeof e==`function`?e(t):e}function re(e){return typeof e==`number`&&e>=0&&e!==1/0}function ie(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ae(e,t){return typeof e==`function`?e(t):e}function oe(e,t){return typeof e==`function`?e(t):e}function se(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==le(o,t.options))return!1}else if(!T(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function ce(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ue(t.options.mutationKey)!==ue(a))return!1}else if(!T(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function le(e,t){return(t?.queryKeyHashFn||ue)(e)}function ue(e){return JSON.stringify(e,(e,t)=>me(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function T(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>T(e[n],t[n])):!1}var E=Object.prototype.hasOwnProperty;function de(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=pe(e)&&pe(t);if(!r&&!(me(e)&&me(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:E.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=de(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function fe(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function pe(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function me(e){if(!he(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!he(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function he(e){return Object.prototype.toString.call(e)===`[object Object]`}function D(e){return new Promise(t=>{C.setTimeout(t,e)})}function ge(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:de(e,t)}function _e(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function ve(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ye=Symbol();function be(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===ye?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function xe(e,t){return typeof e==`function`?e(...t):!!e}function Se(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Ce=(()=>{let e=()=>ee;return{isServer(){return e()},setIsServer(t){e=t}}})();function we(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Te=w;function Ee(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Te,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>
9{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var De=Ee(),Oe=new class extends b{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function ke(e){return Math.min(1e3*2**e,3e4)}function Ae(e){return(e??`online`)===`online`?Oe.isOnline():!0}var je=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Me(e){let t=!1,n=0,r,i=we(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new je(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>x.isFocused()&&(e.networkMode===`always`||Oe.isOnline())&&e.canRun(),u=()=>Ae(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Ce.isServer()?0:3),o=e.retryDelay??ke,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),D(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var Ne=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),re(this.gcTime)&&(this.#e=C.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ce.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(C.clearTimeout(this.#e),this.#e=void 0)}};function Pe(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Se(e,()=>t.signal,()=>n=!0)},u=be(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?ve:_e;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Ie:Fe,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Fe(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Fe(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ie(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Le=class extends Ne{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Be(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Be(this.options);e.data!==void 0&&(this.setState(ze(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=ge(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(te).catch(te):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>oe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ye||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
9Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ae(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!ie(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=be(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Pe(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=Me({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof je&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof je){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Re(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...ze(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),De.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Re(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ae(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function ze(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Be(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
vendor: 4,629 bytes, line 9
9Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var Ve=class extends b{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=we(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ue(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return We(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return We(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof oe(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!fe(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&Ge(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||oe(this.options.enabled,this.#t)!==oe(t.enabled,this.#t)||ae(this.options.staleTime,this.#t)!==ae(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||oe(this.options.enabled,this.#t)!==oe(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return qe(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(te)),t}#g(){this.#b();let e=ae(this.options.staleTime,this.#t);if(Ce.isServer()||this.#r.isStale||!re(e))return;let t=ie(this.#r.dataUpdatedAt,e)+1;this.#d=C.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(Ce.isServer()||oe(this.options.enabled,this.#t)===!1||!re(this.#p)||this.#p===0)&&(this.#f=C.setInterval(()=>{(this.options.refetchIntervalInBackground||x.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(C.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(C.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Ue(e,t),o=i&&Ge(e,n,t,r);(a||o)&&(l={...l,...Re(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=ge(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=ge(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
9Count:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:Ke(e,t),refetch:this.refetch,promise:this.#o,isEnabled:oe(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{i(this.#o=x.promise=we())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a();break}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!fe(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){De.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function He(e,t){return oe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&oe(t.retryOnMount,e)===!1)}function Ue(e,t){return He(e,t)||e.state.data!==void 0&&We(e,t,t.refetchOnMount)}function We(e,t,n){if(oe(t.enabled,e)!==!1&&ae(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Ke(e,t)}return!1}function Ge(e,t,n,r){return(e!==t||oe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Ke(e,n)}function Ke(e,t){return oe(t.enabled,e)!==!1&&e.isStaleByTime(ae(t.staleTime,e))}function qe(e,t){return!fe(e.getCurrentResult(),t)}var Je=class extends Ne{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Ye(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Me({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
9sed:!1,status:`error`}}};this.state=t(this.state),De.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ye(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Xe=class extends b{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Je({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Ze(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Ze(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Ze(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=Ze(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>
9t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){De.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>ce(t,e))}findAll(e={}){return this.getAll().filter(t=>ce(e,t))}notify(e){De.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return De.batch(()=>Promise.all(e.map(e=>e.continue().catch(te))))}};function Ze(e){return e.options.scope?.id}var Qe=class extends b{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),fe(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&ue(t.mutationKey)!==ue(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??Ye();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){De.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},$e=class extends b{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??le(r,t),a=this.get(i);return a||(a=new Le({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){De.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>se(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>se(e,t)):t}notify(e){De.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){De.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){De.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},et=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new $e,this.#t=e.mutationCache||new Xe,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=x.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Oe.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ae(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=ne(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}
9setQueriesData(e,t,n){return De.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;De.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return De.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=De.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(te).catch(te)}invalidateQueries(e,t={}){return De.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=De.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(te)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(te)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(ae(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(te).catch(te)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(te).catch(te)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Oe.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(ue(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{T(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(ue(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{T(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=le(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===ye&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},tt=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),nt=s(((e,t)=>{t.exports=tt()})),O=u(p(),1),k=nt(),rt=O.createContext(void 0),it=e=>{let t=O.useContext(rt);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},at=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,k.jsx)(rt.Provider,{value:e,children:t})),ot=O.createContext(!1),st=()=>O.useContext(ot);ot.Provider;function ct(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var lt=O.createContext(ct()),ut=()=>O.useContext(lt),dt=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?xe(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},ft=e=>{O.useEffect(()=>{e.clearReset()},[e])},pt=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||xe(n,[e.error,r])),mt=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},ht=(e,t)=>
9e.isLoading&&e.isFetching&&!t,gt=(e,t)=>e?.suspense&&t.isPending,_t=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function vt(e,t,n){let r=st(),i=ut(),a=it(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,mt(o),dt(o,i,s),ft(i);let l=!a.getQueryCache().get(o.queryHash),[u]=O.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(O.useSyncExternalStore(O.useCallback(e=>{let t=f?u.subscribe(De.batchCalls(e)):te;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),O.useEffect(()=>{u.setOptions(o)},[o,u]),gt(o,d))throw _t(o,u,i);if(pt({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!Ce.isServer()&&ht(d,r)&&(l?_t(o,u,i):s?.promise)?.catch(te).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function yt(e,t){return vt(e,Ve,t)}function bt(e,t){let n=it(t),[r]=O.useState(()=>new Qe(n,e));O.useEffect(()=>{r.setOptions(e)},[r,e]);let i=O.useSyncExternalStore(O.useCallback(e=>r.subscribe(De.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=O.useCallback((e,t)=>{r.mutate(e,t).catch(te)},[r]);if(i.error&&xe(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var xt=y(),St=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Ct=/^[\\/]{2}/;function wt(e,t){return t+e.replace(/\\/g,`/`)}var Tt=`popstate`;function Et(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function Dt(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return jt(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:Mt(t)}return Pt(t,n,null,e)}function A(e,t){if(e===!1||e==null)throw Error(t)}function Ot(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function kt(){return Math.random().toString(36).substring(2,10)}function At(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function jt(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?Nt(t):t,state:n,key:t&&t.key||r||kt(),mask:i}}function Mt({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function Nt(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Pt(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=Et(e)?e:jt(h.location,e,t);n&&n(r,e),l=u()+1;let d=At(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=Et(e)?e:jt(h.location,e,t);n&&n(r,e),l=u();let i=At(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return Ft(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(Tt,d),c=e,()=>{i.removeEventListener(Tt,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function Ft(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),A(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:Mt(t);return i=i.replace(/ $/,`%20`),!n&&Ct.test(i)&&(i=r+i),new URL(i,r)}function It(e,t,n=`/`){return Lt(e,t,n,!1)}function Lt(e,t,n,r,i){let a=on((typeof t==`string`?Nt(t):t).pathname||`/`,n);if(a==null)return null;let o=i??zt(e),s=null,c=an(a);for(let e=0;s==null&&e<o.length;++e)s=en(o[e],c,r);return s}function Rt(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,loaderData:t[n.id],handle:n.handle}}function zt(e){let t=Bt(e);return Ht(t),t}function Bt(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;A(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
9" 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 l=mn([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(A(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),Bt(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:Qt(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=rn(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of Vt(e.path))a(e,t,!0,n)}),t}function Vt(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=Vt(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function Ht(e){e.sort((e,t)=>e.score===t.score?$t(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var Ut=/^:[\w-]+$/,Wt=/^:[\w-]+/,Gt=3.5,Kt=3,qt=2,Jt=1,Yt=10,Xt=-2,Zt=e=>e===`*`;function Qt(e,t){let n=e.split(`/`),r=n.length;return n.some(Zt)&&(r+=Xt),t&&(r+=qt),n.filter(e=>!Zt(e)).reduce((e,t)=>e+(Ut.test(t)?Kt:Wt.test(t)?Gt:t===``?Jt:Yt),r)}function $t(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function en(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?nn(u,l,s.matcher,s.compiledParams):tn(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=tn({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;
9Object.assign(i,d.params),o.push({params:i,pathname:mn([a,d.pathname]),pathnameBase:gn(mn([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=mn([a,d.pathnameBase]))}return o}function tn(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=rn(e.path,e.caseSensitive,e.end);return nn(e,t,n,r)}function nn(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function rn(e,t=!1,n=!0){Ot(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,`(?:/$1)?`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function an(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return Ot(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function on(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 sn(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?Nt(e):e,a;return n?(n=pn(n),a=n.startsWith(`/`)?cn(n.substring(1),`/`):cn(n,t)):a=t,{pathname:a,search:_n(r),hash:vn(i)}}function cn(e,t){let n=hn(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function ln(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 un(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function dn(e){let t=un(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function fn(e,t,n,r=!1){let i;typeof e==`string`?i=Nt(e):(i={...e},A(!i.pathname||!i.pathname.includes(`?`),ln(`?`,`pathname`,`search`,i)),A(!i.pathname||!i.pathname.includes(`#`),ln(`#`,`pathname`,`hash`,i)),A(!i.search||!i.search.includes(`#`),ln(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=sn(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var pn=e=>e.replace(/[\\/]{2,}/g,`/`),mn=e=>pn(e.join(`/`)),hn=e=>e.replace(/\/+$/,``),gn=e=>hn(e).replace(/^\/*/,`/`),_n=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,vn=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,yn=class{status;statusText;data;error;internal;constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function bn(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function xn(e){return mn(e.map(e=>e.route.path).filter(Boolean))||`/`}var Sn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Cn(e,t){let n=e;if(typeof n!=`string`||!St.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Sn)try{let e=new URL(window.location.href),r=Ct.test(n)?new URL(wt(n,e.protocol)):new URL(n),a=on(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{Ot(!1,`<Link to="${n}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var wn=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(wn);var Tn=[`GET`,...wn];new Set(Tn);var En=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function Dn(e){try{return En.includes(new URL(e).protocol)}catch{return!1}}var On=O.createContext(null);On.displayName=`DataRouter`;var kn=O.createContext(null);kn.displayName=`DataRouterState`;var An=O.createContext(!1);function jn(){return O.useContext(An)}var Mn=O.createContext({isTransitioning:!1});Mn.displayName=`ViewTransition`;var Nn=O.createContext(new Map);Nn.displayName=`Fetchers`;var Pn=O.createContext(null);Pn.displayName=`Await`;var Fn=O.createContext(null);Fn.displayName=`Navigation`;var In=O.createContext(null);In.displayName=`Location`;var Ln=O.createContext({outlet:null,matches:[],isDataRoute:!1});Ln.displayName=`Route`;var Rn=O.createContext(null);Rn.displayName=`RouteError`;var zn=`REACT_ROUTER_ERROR`,Bn=`REDIRECT`,Vn=`ROUTE_ERROR_RESPONSE`;function Hn(e){if(e.startsWith(`${zn}:${Bn}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function Un(e){if(e.startsWith(`${zn}:${Vn}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new yn(t.status,t.statusText,t.data)}catch{}}function Wn(e,{relative:t}={}){A(Gn(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=O.useContext(Fn),{hash:i,pathname:a,search:o}=Zn(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:mn([n,a])),r.createHref({pathname:s,search:o,hash:i})}function Gn(){return O.useContext(In)!=null}function Kn(){return A(Gn(),`useLocation() may be used only in the context of a <Router> component.`),O.useContext(In).location}var qn=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Jn(){let{isDataRoute:e}=O.useContext(Ln);return e?gr():Yn()}function Yn(){A(Gn(),`useNavigate() may be used only in the context of a <Router> component.`);let e=O.useContext(On),{basename:t,navigator:n}=O.useContext(Fn),{matches:r}=O.useContext(Ln),{pathname:i}=Kn(),a=JSON.stringify(dn(r)),o=O.useRef(!1);return O.useLayoutEffect(()=>{o.current=!0}),O.useCallback((r,s={})=>{if(Ot(o.current,qn),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=fn(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:mn([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}O.createContext(null);function Xn(){let{matches:e}=O.useContext(Ln);return e[e.length-1]?.params??{}}function Zn(e,{relative:t}={}){let{matches:n}=O.useContext(Ln),{pathname:r}=Kn(),i=JSON.stringify(dn(n));return O.useMemo(()=>fn(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function Qn(e,t){return $n(e,t)}function $n(e,t,n){A(Gn(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=O.useContext(Fn),{matches:i}=O.useContext(Ln),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:`/`;a&&a.route;let c=Kn(),l;if(t){let e=typeof t==`string`?Nt(t):t;A(s===`/`||e.pathname?.startsWith(s),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`),l=e}else l=c;let u=l.pathname||`/`,d=u;if(s!==`/`){let e=s.replace(/^\//,``).split(`/`);d=`/`+u.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let f=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):It(e,{pathname:d}),p=or(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:mn([s,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?s:mn([s,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&p?O.createElement(In.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...l},navigationType:`POP`}},p):p}function er(){let e=hr(),t=bn(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return O.createElement(O.Fragment,null,O.createElement(`h2`,null,`Unexpected Application 
9Error!`),O.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?O.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var tr=O.createElement(er,null),nr=class extends O.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static contextType=An;static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=Un(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:O.createElement(Ln.Provider,{value:this.props.routeContext},O.createElement(Rn.Provider,{value:e,children:this.props.component}));return this.context?O.createElement(ir,{error:e},t):t}},rr=new WeakMap;function ir({children:e,error:t}){let{basename:n}=O.useContext(Fn);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Hn(t.digest);if(e){let r=rr.get(t);if(r)throw r;let i=Cn(e.location,n),a=i.absoluteURL||i.to;if(Dn(a))throw Error(`Invalid redirect location`);if(Sn&&!rr.get(t))if(i.isExternal||e.reloadDocument)window.location.href=a;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw rr.set(t,n),n}return O.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${a}`})}}return e}function ar({routeContext:e,match:t,children:n}){let r=O.useContext(On);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),O.createElement(Ln.Provider,{value:e},n)}function or(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);A(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:xn(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||tr,o&&(s<0&&c===0?(vr(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?O.createElement(n.route.Component,null):n.route.element?n.route.element:e,O.createElement(ar,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?O.createElement(nr,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function sr(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function cr(e){let t=O.useContext(On);return A(t,sr(e)),t}function lr(e){let t=O.useContext(kn);return A(t,sr(e)),t}function ur(e){let t=O.useContext(Ln);return A(t,sr(e)),t}function dr(e){let t=ur(e),n=t.matches[t.matches.length-1];return A(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function fr(){return dr(`useRouteId`)}function pr(){let e=lr(`useNavigation`);return O.useMemo(()=>{let{matches:t,historyAction:n,...r}=e.navigation;return r},[e.navigation])}function mr(){let{matches:e,loaderData:t}=lr(`useMatches`);return O.useMemo(()=>e.map(e=>Rt(e,t)),[e,t])}function hr(){let e=O.useContext(Rn),t=lr(`useRouteError`),n=dr(`useRouteError`);return e===void 0?t.errors?.[n]:e}function gr(){let{router:e}=cr(`useNavigate`),t=dr(`useNavigate`),n=O.useRef(!1);return O.useLayoutEffect(()=>{n.current=!0}),O.useCallback(async(r,i={})=>{Ot(n.current,qn),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var _r={};function vr(e,t,n){!t&&!_r[e]&&(_r[e]=!0,Ot(!1,n))}O.memo(yr);function yr({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return $n(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function br(e){A(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function xr({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){A(!Gn(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=O.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=Nt(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=O.useMemo(()=>{let e=on(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
9return Ot(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:O.createElement(Fn.Provider,{value:c},O.createElement(In.Provider,{children:t,value:h}))}function Sr({children:e,location:t}){return Qn(Cr(e),t)}O.Component;function Cr(e,t=[]){let n=[];return O.Children.forEach(e,(e,r)=>{if(!O.isValidElement(e))return;let i=[...t,r];if(e.type===O.Fragment){n.push.apply(n,Cr(e.props.children,i));return}A(e.type===br,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a=e.props;A(!a.index||!a.children,`An index route cannot have child routes.`);let o={id:a.id||i.join(`-`),caseSensitive:a.caseSensitive,element:a.element,Component:a.Component,index:a.index,path:a.path,middleware:a.middleware,loader:a.loader,action:a.action,hydrateFallbackElement:a.hydrateFallbackElement,HydrateFallback:a.HydrateFallback,errorElement:a.errorElement,ErrorBoundary:a.ErrorBoundary,shouldRevalidate:a.shouldRevalidate,handle:a.handle,lazy:a.lazy};a.children&&(o.children=Cr(a.children,i)),n.push(o)}),n}var wr=`application/x-www-form-urlencoded`;function Tr(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Er(e){return Tr(e)&&e.tagName.toLowerCase()===`button`}function Dr(e){return Tr(e)&&e.tagName.toLowerCase()===`form`}function Or(e){return Tr(e)&&e.tagName.toLowerCase()===`input`}function kr(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ar(e,t){return e.button===0&&(!t||t===`_self`)&&!kr(e)}var jr=null;function Mr(){if(jr===null)try{new FormData(document.createElement(`form`),0),jr=!1}catch{jr=!0}return jr}var Nr=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Pr(e){return e!=null&&!Nr.has(e)?(Ot(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${wr}"`),null):e}function Fr(e,t){let n,r,i,a,o;if(Dr(e)){let o=e.getAttribute(`action`);r=o?on(o,t):null,n=e.getAttribute(`method`)||`get`,i=Pr(e.getAttribute(`enctype`))||wr,a=new FormData(e)}else if(Er(e)||Or(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?on(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||`get`,i=Pr(e.getAttribute(`formenctype`))||Pr(o.getAttribute(`enctype`))||wr,a=new FormData(o,e),!Mr()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(Tr(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=`get`,r=null,i=wr,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}function Ir(e,t){if(e===!1||e==null)throw Error(t)}var Lr={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},Rr=/[&><\u2028\u2029]/g;function zr(e){return e.replace(Rr,e=>Lr[e])}function Br(e,t){let n=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n.pathname.endsWith(`/`)?n.pathname=`${n.pathname}_.${t}`:n.pathname=`${n.pathname}.${t}`,n}var Vr=`modulepreload`,Hr=function(e){return`/`+e},Ur={},Wr=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Hr(t,n),t in Ur)return;Ur[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Vr,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n
9)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};async function Gr(e,t){if(e.id in t)return t[e.id];try{let n=await Wr(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Kr(e){return e!=null&&typeof e.page==`string`}function qr(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function Jr(e,t,n){return $r((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Gr(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(qr).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Yr(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function Xr(e,t,{includeHydrateFallback:n}={}){return Zr(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function Zr(e){return[...new Set(e)]}function Qr(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function $r(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!Kr(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(Qr(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function ei(){let e=O.useContext(On);return Ir(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function ti(){let e=O.useContext(kn);return Ir(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var ni=O.createContext(void 0);ni.displayName=`FrameworkContext`;function ri(){let e=O.useContext(ni);return Ir(e,`You must render this element inside a <HydratedRouter> element`),e}function ii(e,t){let n=O.useContext(ni),[r,i]=O.useState(!1),[a,o]=O.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=O.useRef(null);O.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),O.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:ai(s,p),onBlur:ai(c,m),onMouseEnter:ai(l,p),onMouseLeave:ai(u,m),onTouchStart:ai(d,p)}]:[a,f,{}]:[!1,f,{}]}function ai(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function oi({page:e,...t}){let n=jn(),{nonce:r}=ri(),{router:i}=ei(),a=O.useMemo(()=>It(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?O.createElement(ci,{page:e,matches:a,...t}):O.createElement(li,{page:e,matches:a,...t})):null}function si(e){let{manifest:t,routeModules:n}=ri(),[r,i]=O.useState([]);return O.useEffect(()=>{let r=!1;return Jr(e,t,n).then(e=>{r||i(e)}
9),()=>{r=!0}},[e,t,n]),r}function ci({page:e,matches:t,...n}){let r=Kn(),i=O.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Br(e,`rsc`),i=!1,a=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?i=!0:a.push(e.route.id);return i&&a.length>0&&n.searchParams.set(`_routes`,a.join(`,`)),[n.pathname+n.search]},[e,r,t]);return O.createElement(O.Fragment,null,i.map(e=>O.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function li({page:e,matches:t,...n}){let r=Kn(),{manifest:i,routeModules:a}=ri(),{loaderData:o,matches:s}=ti(),c=O.useMemo(()=>Yr(e,t,s,i,r,`data`),[e,t,s,i,r]),l=O.useMemo(()=>Yr(e,t,s,i,r,`assets`),[e,t,s,i,r]),u=O.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,s=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];!t||!t.hasLoader||(!c.some(t=>t.route.id===e.route.id)&&e.route.id in o&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?s=!0:n.add(e.route.id))}),n.size===0)return[];let l=Br(e,`data`);return s&&n.size>0&&l.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[l.pathname+l.search]},[o,r,i,c,t,e,a]),d=O.useMemo(()=>Xr(l,i),[l,i]),f=si(l);return O.createElement(O.Fragment,null,u.map(e=>O.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),d.map(e=>O.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),f.map(({key:e,link:t})=>O.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function ui(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}var di=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{di&&(window.__reactRouterVersion=`8.3.0`)}catch{}function fi({basename:e,children:t,useTransitions:n,window:r}){let i=O.useRef(null);i.current??=Dt({window:r,v5Compat:!0});let a=i.current,[o,s]=O.useState({action:a.action,location:a.location}),c=O.useCallback(e=>{n===!1?s(e):O.startTransition(()=>s(e))},[n]);return O.useLayoutEffect(()=>a.listen(c),[a,c]),O.createElement(xr,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}function pi({basename:e,children:t,history:n,useTransitions:r}){let[i,a]=O.useState({action:n.action,location:n.location}),o=O.useCallback(e=>{r===!1?a(e):O.startTransition(()=>a(e))},[r]);return O.useLayoutEffect(()=>n.listen(o),[n,o]),O.createElement(xr,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,useTransitions:r})}pi.displayName=`unstable_HistoryRouter`;var j=O.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=O.useContext(Fn),v=typeof l==`string`&&St.test(l),y=Cn(l,h);l=y.to;let b=Wn(l,{relative:r}),x=Kn(),S=null;if(o){let e=fn(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:mn([h,e.pathname])),S=g.createHref(e)}let[C,w,ee]=ii(n,p),te=bi(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function ne(t){e&&e(t),t.defaultPrevented||te(t)}let re=!(y.isExternal||i),ie=O.createElement(`a`,{...p,...ee,href:(re?S:void 0)||y.absoluteURL||b,onClick:re?ne:e,ref:ui(m,w),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?O.createElement(O.Fragment,null,ie,O.createElement(oi,{page:b})):ie});j.displayName=`Link`;var mi=O.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=Zn(a,{relative:c.relative}),d=Kn(),f=O.useContext(kn),{navigator:p,basename:m}=O.useContext(Fn),h=f!=null&&Ai(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=on(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(y)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,w;w=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(
9Boolean).join(` `);let ee=typeof i==`function`?i(S):i;return O.createElement(j,{...c,"aria-current":C,className:w,ref:l,style:ee,to:a,viewTransition:o},typeof s==`function`?s(S):s)});mi.displayName=`NavLink`;var hi=O.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=`get`,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=O.useContext(Fn),g=Ci(),_=wi(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&St.test(s);return O.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?O.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});hi.displayName=`Form`;function gi({getKey:e,storageKey:t,...n}){let r=O.useContext(ni),{basename:i}=O.useContext(Fn),a=Kn(),o=mr();Oi({getKey:e,storageKey:t});let s=O.useMemo(()=>{if(!r||!e)return null;let t=Di(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];
9typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return n.nonce==null&&r?.nonce&&(n.nonce=r.nonce),O.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${zr(JSON.stringify(t||Ti))}, ${zr(JSON.stringify(s))})`}})}gi.displayName=`ScrollRestoration`;function _i(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function vi(e){let t=O.useContext(On);return A(t,_i(e)),t}function yi(e){let t=O.useContext(kn);return A(t,_i(e)),t}function bi(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=Jn(),d=Kn(),f=Zn(e,{relative:o});return O.useCallback(p=>{if(Ar(p,t)){p.preventDefault();let t=n===void 0?Mt(d)===Mt(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?O.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var xi=0,Si=()=>`__${String(++xi)}__`;function Ci(){let{router:e}=vi(`useSubmit`),{basename:t}=O.useContext(Fn),n=fr(),r=e.fetch,i=e.navigate;return O.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Fr(e,t);a.navigate===!1?await r(a.fetcherKey||Si(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function wi(e,{relative:t}={}){let{basename:n}=O.useContext(Fn),r=O.useContext(Ln);A(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...Zn(e||`.`,{relative:t})},o=Kn();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:mn([n,a.pathname])),Mt(a)}var Ti=`react-router-scroll-positions`,Ei={};function Di(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:on(e.pathname,n)||e.pathname},t)),i??=e.key,i}function Oi({getKey:e,storageKey:t}={}){let{router:n}=vi(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=yi(`useScrollRestoration`),{basename:a}=O.useContext(Fn),o=Kn(),s=mr(),c=pr();O.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),ki(O.useCallback(()=>{if(c.state===`idle`){let t=Di(o,s,a,e);Ei[t]=window.scrollY}try{sessionStorage.setItem(t||Ti,JSON.stringify(Ei))}catch(e){Ot(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(O.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||Ti);e&&(Ei=JSON.parse(e))}catch{}},[t]),O.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(Ei,()=>window.scrollY,e?(t,n)=>Di(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),O.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{Ot(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function ki(e,t){let{capture:n}=t||{};O.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function Ai(e,{relative:t}={}){let n=O.useContext(Mn);A(n!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=vi(`useViewTransitionState`),i=Zn(e,{relative:t});if(!n.isTransitioning)return!1;let a=on(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=on(n.nextLocation.pathname,r)||n.nextLocation.pathname;return tn(i.pathname,o)!=null||tn(i.pathname,a)!=null}var ji=`1.3.23`;function Mi(e,t,n){return Math.max(e,Math.min(t,n))}function Ni(e,t,n){return(1-n)*e+n*t}function Pi(e,t,n,r){return Ni(e,t,1-Math.exp(-n*r))}function Fi(e,t){return(e%t+t)%t}var Ii=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let n=Mi(0,this.currentTime/this.duration,1);t=n>=1;let r=t?1:this.easing(n);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=Pi(this.value,this.to,this.lerp*60,e),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)):(this.value=this.to,t=!0);t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:n,duration:r,easing:i,onStart:a,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=n,this.duration=r,this.easing=i,this.currentTime=0,this.isRunning=!0,a?.(),this.onUpdate=o}};function Li(e,t){let n;return function(...r){clearTimeout(n),n=setTimeout(()=>{n=void 0,e.apply(this,r)},t)}}var Ri=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:n=!0,debounce:r=250}={}){this.wrapper=e,this.content=t,n&&(this.debouncedResize=Li(this.resize,r),this.wrapper instanceof Window?window.addEventListener(`resize`,this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener(`resize`,this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},zi=class{events={};emit(e,...t){let n=this.events[e]||[];for(let e=0,r=n.length;e<r;e++)n[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}},Bi=100/6,M={passive:!1};function N(e,t){return e===1?Bi:e===2?t:1}var Vi=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new zi;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener(`resize`,this.onWindowResize),this.onWindowResize(),this.element.addEventListener(`wheel`,this.onWheel,M),this.element.addEventListener(`touchstart`,this.onTouchStart,M),this.element.addEventListener(`touchmove`,this.onTouchMove,M),this.element.addEventListener(`touchend`,this.onTouchEnd,M)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener(`resize`,this.onWindowResize),this.element.removeEventListener(`wheel`,this.onWheel,M),this.element.removeEventListener(`touchstart`,this.onTouchStart,M),this.element.removeEventListener(`touchmove`,this.onTouchMove,M),this.element.removeEventListener(`touchend`,this.onTouchEnd,M)}onTouchStart=e=>{let{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit(`scroll`,{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e,r=-(t-this.touchStart.x)*this.options.touchMultiplier,i=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:r,y:i},this.emitter.emit(`scroll`,{deltaX:r,deltaY:i,event:e})};onTouchEnd=e=>{this.emitter.emit(`scroll`,{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:n,deltaMode:r}=e,i=N(r,this.window.width),a=N(r,this.window.height);t*=i,n*=a,t*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit(`scroll`,{deltaX:t,deltaY:n,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},Hi=e=>Math.min(1,1.001-2**(-10*e)),Ui=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new Ii;emitter=new zi;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:n=e,smoothWheel:r=!0,syncTouch:i=!1,syncTouchLerp:a=.075,touchInertiaExponent:o=1.7,duration:s,easing:c,lerp:l=.1,infinite:u=!1,orientation:d=`vertical`,gestureOrientation:f=d===`horizontal`?`both`:`vertical`,touchMultiplier:p=1,wheelMultiplier:m=1,autoResize:h=!0,prevent:g,virtualScroll:_,overscroll:v=!0,autoRaf:y=!1,anchors:b=!1,autoToggle:x=!1,allowNestedScroll:S=!1,__experimental__naiveDimensions:C=!1,naiveDimensions:w=C,stopInertiaOnNavigate:ee=!1}={}){window.lenisVersion=ji,window.lenis||(window.lenis={}),window.lenis.version=ji,d===`horizontal`&&(window.lenis.horizontal=!0),i===!0&&(window.lenis.touch=!0),(!e||e===document.documentElement)&&(e=window),typeof s==`
9number`&&typeof c!=`function`?c=Hi:typeof c==`function`&&typeof s!=`number`&&(s=1),this.options={wrapper:e,content:t,eventsTarget:n,smoothWheel:r,syncTouch:i,syncTouchLerp:a,touchInertiaExponent:o,duration:s,easing:c,lerp:l,infinite:u,gestureOrientation:f,orientation:d,touchMultiplier:p,wheelMultiplier:m,autoResize:h,prevent:g,virtualScroll:_,overscroll:v,autoRaf:y,anchors:b,autoToggle:x,allowNestedScroll:S,naiveDimensions:w,stopInertiaOnNavigate:ee},this.dimensions=new Ri(e,t,{autoResize:h}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener(`scroll`,this.onNativeScroll),this.options.wrapper.addEventListener(`scrollend`,this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener(`click`,this.onClick),this.options.wrapper.addEventListener(`pointerdown`,this.onPointerDown),this.virtualScroll=new Vi(n,{touchMultiplier:p,wheelMultiplier:m}),this.virtualScroll.on(`scroll`,this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener(`transitionend`,this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener(`scroll`,this.onNativeScroll),this.options.wrapper.removeEventListener(`scrollend`,this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener(`pointerdown`,this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener(`click`,this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||(this.isScrolling===`smooth`||this.isScrolling===!1)&&e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent(`scrollend`,{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?`overflow-x`:`overflow-y`;return getComputedStyle(this.rootElement)[e]}checkOverflow(){[`hidden`,`clip`].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes(`overflow`)&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:`instant`}):this.options.wrapper.scrollTo({top:e,behavior:`instant`})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),n=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>n.host===e.host&&n.pathname===e.pathname&&e.hash);if(e){let t=typeof this.options.anchors==`object`&&this.options.anchors?this.options.anchors:void 0,n=`#${e.hash.split(`#`)[1]}`;this.scrollTo(n,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>n.host===e.host&&n.pathname!==e.pathname)){this.reset();return}};onPointerDown=e=>{e.button===1&&this.reset()};onVirtualScroll=e=>{if(typeof this.options.virtualScroll==`function`&&this.options.virtualScroll(e)===!1)return;let{deltaX:t,deltaY:n,event:r}=e;if(this.emitter.emit(`virtual-scroll`,{deltaX:t,deltaY:n,event:r}),r.ctrlKey||r.lenisStopPropagation)return;let i=r.type.includes(`touch`),a=r.type.includes(`wheel`);this.isTouching=r.type===`touchstart`||r.type===`touchmove`;let o=t===0&&n===0;if(this.options.syncTouch&&i&&r.type===`touchstart`&&o&&!this.isStopped&&!this.isLocked){this.reset();return}let s=this.options.gestureOrientation===`vertical`&&n===0||this.options.gestureOrientation===`horizontal`&&t===0;if(o||s)return;let c=r.composedPath();c=c.slice(0,c.indexOf(this.rootElement));let l=this.options.prevent,u=Math.abs(t)>=Math.abs(n)?`horizontal`:`vertical`;if(c.find(e=>e instanceof HTMLElement&&(typeof l==`function`&&l?.(e)||e.hasAttribute?.(`data-lenis-prevent`)||u===`vertical`&&e.hasAttribute?.(`data-lenis-prevent-vertical`)||u===`horizontal`&&e.hasAttribute?.(`data-lenis-prevent-horizontal`)||i&&e.hasAttribute?.(`data-lenis-prevent-touch`)||a&&e.hasAttribute?.(`data-lenis-prevent-wheel`)||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:n}))))return;if(this.isStopped||this.isLocked){r.cancelable&&r.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&a)){this.isScrolling=`native`,this.animate.stop(),r.lenisStopPropagation=!0;return}let d=n;this.options.gestureOrientation===`both`?d=Math.abs(n)>Math.abs(t)?n:t:this.options.gestureOrientation===`horizontal`&&(d=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||this.animatedScroll===0&&n>0||this.animatedScroll===this.limit&&n<0))&&(r.lenisStopPropagation=!0),r.cancelable&&r.preventDefault();let f=i&&this.options.syncTouch,p=i&&r.type===`touchend`;p&&(d=Math.sign(d)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+d,{programmatic:!1,...f?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
vendor: 4,830 bytes, line 9
9()}emit(){this.emitter.emit(`scroll`,this)}onNativeScroll=()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling===`native`){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling=`native`),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty(`overflow`);return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty(`overflow`,`clip`);return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(t*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:n=!1,lock:r=!1,programmatic:i=!0,lerp:a=i?this.options.lerp:void 0,duration:o=i?this.options.duration:void 0,easing:s=i?this.options.easing:void 0,onStart:c,onComplete:l,force:u=!1,userData:d}={}){if((this.isStopped||this.isLocked)&&!u)return;let f=e,p=t;if(typeof f==`string`&&[`top`,`left`,`start`,`#`].includes(f))f=0;else if(typeof f==`string`&&[`bottom`,`right`,`end`].includes(f))f=this.limit;else{let e=null;if(typeof f==`string`?(e=document.querySelector(f),e||(f===`#top`?f=0:console.warn(`Lenis: Target not found`,f))):f instanceof HTMLElement&&f?.nodeType&&(e=f),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();p-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),n=getComputedStyle(e),r=this.isHorizontal?Number.parseFloat(n.scrollMarginLeft):Number.parseFloat(n.scrollMarginTop),i=getComputedStyle(this.rootElement),a=this.isHorizontal?Number.parseFloat(i.scrollPaddingLeft):Number.parseFloat(i.scrollPaddingTop);f=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(r)?0:r)-(Number.isNaN(a)?0:a)}}if(typeof f==`number`){if(f+=p,this.options.infinite){if(i){this.targetScroll=this.animatedScroll=this.scroll;let e=f-this.animatedScroll;e>this.limit/2?f-=this.limit:e<-this.limit/2&&(f+=this.limit)}}else f=Mi(0,f,this.limit);if(f===this.targetScroll){c?.(this),l?.(this);return}if(this.userData=d??{},n){this.animatedScroll=this.targetScroll=f,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),l?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}i||(this.targetScroll=f),typeof o==`number`&&typeof s!=`function`?s=Hi:typeof s==`function`&&typeof o!=`number`&&(o=1),this.animate.fromTo(this.animatedScroll,f,{duration:o,easing:s,lerp:a,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling=`smooth`,c?.(this)},onUpdate:(e,t)=>{this.isScrolling=`smooth`,this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),i&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),l?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:n}){let r=Date.now();e._lenis||={};let i=e._lenis,a,o,s,c,l,u,d,f,p,m;if(r-(i.time??0)>2e3){i.time=Date.now();let t=window.getComputedStyle(e);if(i.computedStyle=t,a=[`auto`,`overlay`,`scroll`].includes(t.overflowX),o=[`auto`,`overlay`,`scroll`].includes(t.overflowY),l=[`auto`].includes(t.overscrollBehaviorX),u=[`auto`].includes(t.overscrollBehaviorY),i.hasOverflowX=a,i.hasOverflowY=o,!(a||o))return!1;d=e.scrollWidth,f=e.scrollHeight,p=e.clientWidth,m=e.clientHeight,s=d>p,c=f>m,i.isScrollableX=s,i.isScrollableY=c,i.scrollWidth=d,i.scrollHeight=f,i.clientWidth=p,i.clientHeight=m,i.hasOverscrollBehaviorX=l,i.hasOverscrollBehaviorY=u}else s=i.isScrollableX,c=i.isScrollableY,a=i.hasOverflowX,o=i.hasOverflowY,d=i.scrollWidth,f=i.scrollHeight,p=i.clientWidth,m=i.clientHeight,l=i.hasOverscrollBehaviorX,u=i.hasOverscrollBehaviorY;if(!(a&&s||o&&c))return!1;let h=Math.abs(t)>=Math.abs(n)?`horizontal`:`vertical`,g,_,v,y,b,x;
9if(h===`horizontal`)g=Math.round(e.scrollLeft),_=d-p,v=t,y=a,b=s,x=l;else if(h===`vertical`)g=Math.round(e.scrollTop),_=f-m,v=n,y=o,b=c,x=u;else return!1;return!x&&(g>=_||g<=0)?!0:(v>0?g<_:g>0)&&y&&b}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?`x`:`y`]}get isHorizontal(){return this.options.orientation===`horizontal`}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){return this.options.infinite?Fi(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling===`smooth`}get className(){let e=`lenis`;return this.options.autoToggle&&(e+=` lenis-autoToggle`),this.isStopped&&(e+=` lenis-stopped`),this.isLocked&&(e+=` lenis-locked`),this.isScrolling&&(e+=` lenis-scrolling`),this.isScrolling===`smooth`&&(e+=` lenis-smooth`),e}updateClassName(){this.cleanUpClassName(),this.className.split(` `).forEach(e=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))(e===`lenis`||e.startsWith(`lenis-`))&&this.rootElement.classList.remove(e)}};function Wi(){let{pathname:e}=Kn(),t=(0,O.useRef)(null);return(0,O.useEffect)(()=>{`scrollRestoration`in history&&(history.scrollRestoration=`manual`),window.scrollTo(0,0)},[]),(0,O.useEffect)(()=>{let e=new Ui({duration:.9,easing:e=>Math.min(1,1.001-2**(-10*e)),smoothWheel:!0,touchMultiplier:2});t.current=e;let n;function r(t){e.raf(t),n=requestAnimationFrame(r)}return n=requestAnimationFrame(r),()=>{cancelAnimationFrame(n),e.destroy(),t.current=null}},[]),(0,O.useEffect)(()=>{t.current?t.current.scrollTo(0,{immediate:!0}):window.scrollTo(0,0)},[e]),null}function Gi(){let[e,t]=(0,O.useState)(!1),[n,r]=(0,O.useState)(!1),[i,a]=(0,O.useState)({essential:!0,analytics:!1,marketing:!1});return(0,O.useEffect)(()=>{localStorage.getItem(`cookie-consent`)||t(!0)},[]),e?(0,k.jsx)(`div`,{className:`fixed bottom-4 right-4 z-50 max-w-sm`,children:(0,k.jsx)(`div`,{className:`bg-white border border-gray-200 shadow-lg p-5`,children:n?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(`h3`,{className:`text-sm font-bold text-black mb-3`,children:`Cookie Preferences`}),(0,k.jsxs)(`div`,{className:`space-y-3 mb-4`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`text-xs font-medium text-black`,children:`Essential`}),(0,k.jsx)(`p`,{className:`text-[10px] text-gray-500`,children:`Required for site to work`})]}),(0,k.jsx)(`div`,{className:`w-8 h-5 bg-black rounded-full relative flex-shrink-0`,children:(0,k.jsx)(`div`,{className:`absolute right-0.5 top-0.5 w-4 h-4 bg-white rounded-full`})})]}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`text-xs font-medium text-black`,children:`Analytics`}),(0,k.jsx)(`p`,{className:`text-[10px] text-gray-500`,children:`Understand site usage`})]}),(0,k.jsx)(`button`,{onClick:()=>a(e=>({...e,analytics:!e.analytics})),className:`flex-shrink-0`,children:(0,k.jsx)(`div`,{className:`w-8 h-5 rounded-full relative transition-colors ${i.analytics?`bg-black`:`bg-gray-300`}`,children:(0,k.jsx)(`div`,{className:`absolute top-0.5 w-4 h-4 bg-white rounded-full transition-all ${i.analytics?`right-0.5`:`left-0.5`}`})})})]}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-3`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`text-xs font-medium text-black`,children:`Marketing`}),(0,k.jsx)(`p`,{className:`text-[10px] text-gray-500`,children:`Personalized ads`})]}),(0,k.jsx)(`button`,{onClick:()=>a(e=>({...e,marketing:!e.marketing})),className:`flex-shrink-0`,children:(0,k.jsx)(`div`,{className:`w-8 h-5 rounded-full relative transition-colors ${i.marketing?`bg-black`:`bg-gray-300`}`,children:(0,k.jsx)(`div`,{className:`absolute top-0.5 w-4 h-4 bg-white rounded-full transition-all ${i.marketing?`right-0.5`:`left-0.5`}`})})})]})]}),(0,k.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,k.jsx)(`button`,{onClick:()=>r(!1),className:`flex-1 px-4 py-2 text-[10px] font-medium uppercase tracking-wide border border-gray-300 text-gray-600 hover:border-black hover:text-black transition-colors`,children:`Back`}),(0,k.jsx)(`button`,{onClick:()=>{localStorage.setItem(`cookie-consent`,JSON.stringify(i)),t(!1),r(!1)},className:`flex-1 px-4 py-2 text-[10px] font-medium uppercase tracking-wide bg-black text-white hover:bg-gray-800 transition-colors`,children:`Save`})]})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(`p`,{className:`text-xs text-gray-600 leading-relaxed mb-4`,children:[`We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyse website traffic. By clicking 'Accept', you agree to our website's cookie use as described 
9in our`,` `,(0,k.jsx)(j,{to:`/cookies`,className:`underline hover:text-black`,children:`Cookie Policy`}),`. You can change your cookie settings at any time by clicking "`,(0,k.jsx)(`button`,{onClick:()=>r(!0),className:`underline hover:text-black`,children:`Preferences`}),`".`]}),(0,k.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,k.jsx)(`button`,{onClick:()=>r(!0),className:`flex-1 px-4 py-2 text-[10px] font-medium uppercase tracking-wide border border-gray-300 text-gray-600 hover:border-black hover:text-black transition-colors`,children:`Preferences`}),(0,k.jsx)(`button`,{onClick:()=>{localStorage.setItem(`cookie-consent`,JSON.stringify({essential:!0,analytics:!1,marketing:!1})),t(!1),r(!1)},className:`flex-1 px-4 py-2 text-[10px] font-medium uppercase tracking-wide border border-black text-black hover:bg-gray-100 transition-colors`,children:`Decline`}),(0,k.jsx)(`button`,{onClick:()=>{localStorage.setItem(`cookie-consent`,JSON.stringify({essential:!0,analytics:!0,marketing:!0})),t(!1),r(!1)},className:`flex-1 px-4 py-2 text-[10px] font-medium uppercase tracking-wide bg-black text-white hover:bg-gray-800 transition-colors`,children:`Accept`})]})]})})}):null}function P(e){return`https://cdn.seamflow.com/landing/v2/${e}`}var Ki=220;function qi(){let e=Kn(),[t,n]=(0,O.useState)(!1),[r,i]=(0,O.useState)(!0),a=e.pathname===`/`,[o,s]=(0,O.useState)(0);(0,O.useEffect)(()=>{if(!a)return;let e=0,t=()=>{e=0,s(Math.min(window.scrollY/Ki,1))},n=()=>{e===0&&(e=requestAnimationFrame(t))};return t(),window.addEventListener(`scroll`,n,{passive:!0}),()=>{window.removeEventListener(`scroll`,n),cancelAnimationFrame(e)}},[a]);let c=a&&!t,l=t=>{e.pathname===`/`&&(t.preventDefault(),window.scrollTo({top:0,behavior:`smooth`}))},u=t=>t===`/`?e.pathname===`/`:e.pathname===t||e.pathname.startsWith(`${t}/`),d=e=>u(e)?c?`text-white`:`text-black`:c?`text-white/70 hover:text-white`:`text-neutral-500 hover:text-black`;return(0,k.jsxs)(`nav`,{style:c?{backgroundColor:`rgb(0 0 0 / ${o})`}:void 0,className:`fixed top-0 left-0 right-0 w-full z-50 border-b transition-[color,border-color] duration-300 ${c?`border-white`:`border-border-default bg-white`}`,children:[r&&(0,k.jsxs)(`div`,{className:`relative flex items-center justify-center bg-black px-8 py-1.5 text-[10px] sm:text-[11px] tracking-[0.15em] text-white font-light`,children:[(0,k.jsxs)(`a`,{href:`https://tech.eu/2026/02/11/seamflow-raises-45m-seed-round-to-develop-ai-tools-for-the-tic-industry/`,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center justify-center gap-2 transition-opacity hover:opacity-90`,children:[(0,k.jsx)(`span`,{className:`text-white/60`,children:`February 2026`}),(0,k.jsx)(`span`,{className:`text-white/60`,children:`—`}),(0,k.jsx)(`span`,{children:`Seamflow raises $4.5M Seed Round`}),(0,k.jsx)(`span`,{className:`hidden sm:inline text-white/60`,children:`—`}),(0,k.jsx)(`span`,{className:`hidden sm:inline`,children:`AI for the TIC Industry`}),(0,k.jsx)(`span`,{className:`ml-1`,children:`→`})]}),(0,k.jsx)(`button`,{onClick:()=>i(!1),className:`absolute right-3 top-1/2 -translate-y-1/2 text-white/70 hover:text-white transition-colors cursor-pointer`,"aria-label":`Dismiss banner`,children:`✕`})]}),(0,k.jsx)(`div`,{className:`w-full`,children:(0,k.jsxs)(`div`,{className:`flex justify-between items-center h-12`,children:[(0,k.jsx)(`div`,{className:`flex-shrink-0 pl-5 md:flex-1`,children:(0,k.jsx)(j,{to:`/`,onClick:l,className:`flex items-center h-12 cursor-pointer w-fit`,children:(0,k.jsx)(`img`,{loading:`eager`,src:P(`brand/logo.svg`),alt:`Seamflow Logo`,className:`h-5 w-auto`,style:c?{filter:`brightness(0) invert(1)`}:void 0})})}),(0,k.jsxs)(`div`,{className:`hidden md:flex items-center justify-center`,children:[(0,k.jsx)(j,{to:`/`,className:`px-5 py-1.5 text-[11px] tracking-[0.2em] ${d(`/`)} transition-colors duration-300 font-light`,children:`HOME`}),(0,k.jsx)(j,{to:`/about`,className:`px-5 py-1.5 text-[11px] tracking-[0.2em] ${d(`/about`)} transition-colors duration-300 font-light`,children:`COMPANY`}),(0,k.jsx)(j,{to:`/blog`,className:`px-5 py-1.5 text-[11px] tracking-[0.2em] ${d(`/blog`)} transition-colors duration-300 font-light`,children:`BLOG`})]}),(0,k.jsx)(`div`,{className:`hidden md:block flex-1`,children:(0,k.jsxs)(`div`,{className:`flex items-center justify-end mr-5`,children:[(0,k.jsxs)(`div`,{className:`flex items-center border-t border-l border-b ${c?`border-white`:`border-black`}`,children:[(0,k.jsx)(j,{to:`/careers`,className:`px-4 py-1 text-xs font-light uppercase tracking-wide border-r font-sans ${c?`text-white border-white`:`text-black border-black`}`,children:`CAREERS`}),(0,k.jsx)(j,{to:`/contact`,className:`px-4 py-1 text-xs font-light uppercase tracking-wide font-sans ${c?`bg-white text-black`:`bg-black text-white`}`,children:`BOOK A DEMO`})]}),(0,k.jsx)(`span`,{className:`w-1 bg-[#8bb7ff] self-stretch`})]})}),(0,k.jsxs)(`button`,{className:`md:hidden mr-5 flex flex-col justify-center items-center w-6 h-6 gap-1 cursor-pointer`,onClick:()=>n(!t),"aria-label":`Toggle menu`,children:[(0,k.jsx)(`span`,{className:`block w-5 h-[1.5px] ${c?`bg-white`:`bg-black`} transition-all duration-300 ${t?`rotate-45 translate-y-[3.5px]`:``}`}),(0,k.jsx)(`span`,{className:`block w-5 h-[1.5px] ${c?`bg-white`:`bg-black`} transition-all duration-300 ${t?`opacity-0`:``}`}),(0,k.jsx)(`span`,{className:`block w-5 h-[1.5px] ${c?`bg-white`:`bg-black`} transition-all duration-300 ${t?`-rotate-45 -translate-y-[3.5px]`:``}`})]})]})}),t&&(0,k.jsx)(`div`,{className:`md:hidden border-t border-border-default bg-white`,children:(0,k.jsxs)(`div`,{className:`flex flex-col py-4 px-5 gap-4`,children:[(0,k.jsx)(j,{to:`/`,onClick:()=>n(!1),className:`text-xs font-light uppercase tracking-wide ${d(`/`)} transition-colors`,children:`HOME`}),(0,k.jsx)(j,{to:`/about`,onClick:()=>n(!1),className:`text-xs font-light uppercase tracking-wide ${d(`/about`)} transition-colors`,children:`COMPANY`}),(0,k.jsx)(j,{to:`/blog`,onClick:()=>n(!1),className:`text-xs font-light uppercase tracking-wide ${d(`/blog`)} transition-colors`,children:`BLOG`}),(0,k.jsx)(j,{to:`/careers`,onClick:()=>n(!1),className:`text-xs font-light uppercase tracking-wide ${d(`/careers`)} transition-colors`,children:`CAREERS`}),(0,k.jsx)(j,{to:`/contact`,onClick:()=>n(!1),className:`text-xs font-light uppercase tracking-wide ${d(`/contact`)} transition-colors`,children:`BOOK A DEMO`})]})})]})}var Ji=(0,O.createContext)({});function Yi(e){let t=(0,O.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Xi=typeof window<`u`?O.useLayoutEffect:O.useEffect,Zi=(0,O.createContext)(null);function Qi(e,t){e.indexOf(t)===-1&&e.push(t)}function $i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ea=(e,t,n)=>n>t?t:n<e?e:n,ta={},na=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ra=e=>typeof e==`object`&&!!e,ia=e=>/^0[^.\s]+$/u.test(e);function aa(e){let t;return()=>(t===void 0&&(t=e()),t)}var F=e=>e,oa=(...e)=>e.reduce((e,t)=>
9n=>t(e(n))),sa=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},ca=class{constructor(){this.subscriptions=[]}add(e){return Qi(this.subscriptions,e),()=>$i(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},la=e=>e*1e3,ua=e=>e/1e3,da=(e,t)=>t?1e3/t*e:0,fa=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,pa=1e-7,ma=12;function ha(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=fa(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>pa&&++s<ma);return o}function ga(e,t,n,r){if(e===t&&n===r)return F;let i=t=>ha(t,0,1,e,n);return e=>e===0||e===1?e:fa(i(e),t,r)}var _a=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,va=e=>t=>1-e(1-t),ya=ga(.33,1.53,.69,.99),ba=va(ya),xa=_a(ba),Sa=e=>e>=1?1:(e*=2)<1?.5*ba(e):.5*(2-2**(-10*(e-1))),Ca=e=>1-Math.sin(Math.acos(e)),wa=va(Ca),Ta=_a(Ca),Ea=ga(.42,0,1,1),Da=ga(0,0,.58,1),Oa=ga(.42,0,.58,1),ka=e=>Array.isArray(e)&&typeof e[0]!=`number`,Aa=e=>Array.isArray(e)&&typeof e[0]==`number`,ja={linear:F,easeIn:Ea,easeInOut:Oa,easeOut:Da,circIn:Ca,circInOut:Ta,circOut:wa,backIn:ba,backInOut:xa,backOut:ya,anticipate:Sa},Ma=e=>typeof e==`string`,Na=e=>{if(Aa(e)){e.length;let[t,n,r,i]=e;return ga(t,n,r,i)}else if(Ma(e))return ja[e],`${e}`,ja[e];return e},Pa=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Fa={value:null,addProjectionMetrics:null};function Ia(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Fa.value&&Fa.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var La=40;function Ra(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Pa.reduce((e,n)=>(e[n]=Ia(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ta.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,La),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Pa.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Pa.length;t++)o[Pa[t]].cancel(e)},state:i,steps:o}}var{schedule:I,cancel:za,state:Ba,steps:Va}=Ra(typeof requestAnimationFrame<`u`?requestAnimationFrame:F,!0),Ha;function Ua(){Ha=void 0}var Wa={now:()=>(Ha===void 0&&Wa.set(Ba.isProcessing||ta.useManualTiming?Ba.timestamp:performance.now()),Ha),set:e=>{Ha=e,queueMicrotask(Ua)}},Ga={layout:0,mainThread:0,waapi:0},Ka=e=>t=>typeof t==`string`&&t.startsWith(e),qa=Ka(`--`),Ja=Ka(`var(--`),Ya=e=>Ja(e)?Xa.test(e.split(`/*`)[0].trim()):!1,Xa=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Za(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Qa={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},$a={...Qa,transform:e=>ea(0,1,e)},eo={...Qa,default:1},to=e=>Math.round(e*1e5)/1e5,no=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ro(e){return e==null}var io=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ao=(e,t)=>n=>!!(typeof n==`string`&&io.test(n)&&n.startsWith(e)||t&&!ro(n)&&Object.prototype.hasOwnProperty.call(n,t)),oo=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(no);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},so=e=>ea(0,255,e),co={...Qa,transform:e=>Math.round(so(e))},lo={test:ao(`rgb`,`red`),parse:oo(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+co.transform(e)+`, `+co.transform(t)+`, `+co.transform(n)+`, `+to($a.transform(r))+`)`};function uo(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
9a:i?parseInt(i,16)/255:1}}var fo={test:ao(`#`),parse:uo,transform:lo.transform},po=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),L=po(`deg`),mo=po(`%`),R=po(`px`),z=po(`vh`),B=po(`vw`),ho={...mo,parse:e=>mo.parse(e)/100,transform:e=>mo.transform(e*100)},go={test:ao(`hsl`,`hue`),parse:oo(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+mo.transform(to(t))+`, `+mo.transform(to(n))+`, `+to($a.transform(r))+`)`},_o={test:e=>lo.test(e)||fo.test(e)||go.test(e),parse:e=>lo.test(e)?lo.parse(e):go.test(e)?go.parse(e):fo.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?lo.transform(e):go.transform(e),getAnimatableNone:e=>{let t=_o.parse(e);return t.alpha=0,_o.transform(t)}},vo=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yo(e){return isNaN(e)&&typeof e==`string`&&(e.match(no)?.length||0)+(e.match(vo)?.length||0)>0}var bo=`number`,xo=`color`,So=`var`,Co=`var(`,wo="${}",To=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Eo(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(To,e=>(_o.test(e)?(r.color.push(a),i.push(xo),n.push(_o.parse(e))):e.startsWith(Co)?(r.var.push(a),i.push(So),n.push(e)):(r.number.push(a),i.push(bo),n.push(parseFloat(e))),++a,wo)).split(wo),indexes:r,types:i}}function Do(e){return Eo(e).values}function Oo({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===bo?i+=to(r[a]):e===xo?i+=_o.transform(r[a]):i+=r[a]}return i}}function ko(e){return Oo(Eo(e))}var Ao=e=>typeof e==`number`?0:_o.test(e)?_o.getAnimatableNone(e):e,jo=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Ao(e);function Mo(e){let t=Eo(e);return Oo(t)(t.values.map((e,n)=>jo(e,t.split[n])))}var V={test:yo,parse:Do,createTransformer:ko,getAnimatableNone:Mo};function No(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Po({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=No(s,r,e+1/3),a=No(s,r,e),o=No(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Fo(e,t){return n=>n>0?t:e}var H=(e,t,n)=>e+(t-e)*n,Io=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Lo=[fo,lo,go],Ro=e=>Lo.find(t=>t.test(e));function zo(e){let t=Ro(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===go&&(n=Po(n)),n}var Bo=(e,t)=>{let n=zo(e),r=zo(t);if(!n||!r)return Fo(e,t);let i={...n};return e=>(i.red=Io(n.red,r.red,e),i.green=Io(n.green,r.green,e),i.blue=Io(n.blue,r.blue,e),i.alpha=H(n.alpha,r.alpha,e),lo.transform(i))},Vo=new Set([`none`,`hidden`]);function Ho(e,t){return Vo.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Uo(e,t){return n=>H(e,t,n)}function Wo(e){return typeof e==`number`?Uo:typeof e==`string`?Ya(e)?Fo:_o.test(e)?Bo:Jo:Array.isArray(e)?Go:typeof e==`object`?_o.test(e)?Bo:Ko:Fo}function Go(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Wo(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Ko(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Wo(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function qo(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Jo=(e,t)=>{let n=V.createTransformer(t),r=Eo(e),i=Eo(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Vo.has(e)&&!i.values.length||Vo.has(t)&&!r.values.length?Ho(e,t):oa(Go(qo(r,i),i.values),n):(`${e}${t}`,Fo(e,t))};function Yo(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
9number`?H(e,t,n):Wo(e)(e,t)}var Xo=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>I.update(t,e),stop:()=>za(t),now:()=>Ba.isProcessing?Ba.timestamp:Wa.now()}},Zo=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Qo=2e4;function $o(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function es(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min($o(r),Qo);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:ua(i)}}var ts={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ns(e,t){return e*Math.sqrt(1-t*t)}var rs=12;function is(e,t,n){let r=n;for(let n=1;n<rs;n++)r-=e(r)/t(r);return r}var as=.001;function os({duration:e=ts.duration,bounce:t=ts.bounce,velocity:n=ts.velocity,mass:r=ts.mass}){let i,a;ts.maxDuration;let o=1-t;o=ea(ts.minDamping,ts.maxDamping,o),e=ea(ts.minDuration,ts.maxDuration,ua(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=ns(t,o),c=Math.exp(-i);return as-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=ns(t**2,o);return(-i(t)+as>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=is(i,a,s);if(e=la(e),isNaN(c))return{stiffness:ts.stiffness,damping:ts.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var ss=[`duration`,`bounce`],cs=[`stiffness`,`damping`,`mass`];function ls(e,t){return t.some(t=>e[t]!==void 0)}function us(e){let t={velocity:ts.velocity,stiffness:ts.stiffness,damping:ts.damping,mass:ts.mass,isResolvedFromDuration:!1,...e};if(!ls(e,cs)&&ls(e,ss))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*ea(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ts.mass,stiffness:i,damping:a}}else{let n=os({...e,velocity:0});t={...t,...n,mass:ts.mass},t.isResolvedFromDuration=!0}return t}function ds(e=ts.visualDuration,t=ts.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=us({...n,velocity:-ua(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=ua(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?ts.restSpeed.granular:ts.restSpeed.default,i||=v?ts.restDelta.granular:ts.restDelta.default;let y,b,x,S,C,w;if(h<1)x=ns(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let ee={calculatedDuration:p&&d||null,velocity:e=>la(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=la(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=la(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min($o(ee),Qo),t=Zo(t=>ee.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return ee}ds.applyToOptions=e=>{let t=es(e,100,ds);return e.ease=t.ease,e.duration=la(t.duration),e.type=`keyframes`,e};var fs=5;function ps(e,t,n){let r=Math.max(t-fs,0);return da(n-e(r),t-r)}function ms({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=ds({keyframes:[f.value,m(f.value)],velocity:ps(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function hs(e,t,n){let r=[],i=n||ta.mix||Yo,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=oa(Array.isArray(t)?t[n]||F:t,a)),r.push(a)}return r}function gs(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=hs(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=sa(e[r],e[r+1],n);return s[r](i)};return n?t=>l(ea(e[0],e[a-1],t)):l}function _s(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=sa(0,t,r);e.push(H(n,1,i))}}function vs(e){let t=[0];return _s(t,e.length-1),t}function ys(e,t){return e.map(e=>e*t)}function bs(e,t){return e.map(()=>t||Oa).splice(0,e.length-1)}function xs({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=ka(r)?r.map(Na):Na(r),a={done:!1,value:t[0]},o=gs(ys(n&&n.length===t.length?n:vs(t),e),t,{ease:Array.isArray(i)?i:bs(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Ss=e=>e!==null;function Cs(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Ss),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var ws={decay:ms,inertia:ms,tween:xs,keyframes:xs,spring:ds};function Ts(e){typeof e.type==`string`&&(e.type=ws[e.type])}var Es=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Ds=e=>
9e/100,Os=class extends Es{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==Wa.now()&&this.tick(Wa.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Ga.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Ts(e);let{type:t=xs,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||xs;s!==xs&&typeof o[0]!=`number`&&(this.mixKeyframes=oa(Ds,Yo(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=$o(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=ea(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==ms&&(b.value=Cs(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return ua(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ua(e)}get time(){return ua(this.currentTime)}set time(e){e=la(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ps(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Wa.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=ua(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Xo,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(Wa.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Ga.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function ks(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var As=e=>e*180/Math.PI,js=e=>Ns(As(Math.atan2(e[1],e[0]))),Ms={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:js,rotateZ:js,skewX:e=>As(Math.atan(e[1])),skewY:e=>As(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ns=e=>
9(e%=360,e<0&&(e+=360),e),Ps=js,Fs=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Is=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ls={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Fs,scaleY:Is,scale:e=>(Fs(e)+Is(e))/2,rotateX:e=>Ns(As(Math.atan2(e[6],e[5]))),rotateY:e=>Ns(As(Math.atan2(-e[2],e[0]))),rotateZ:Ps,rotate:Ps,skewX:e=>As(Math.atan(e[4])),skewY:e=>As(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rs(e){return+!!e.includes(`scale`)}function zs(e,t){if(!e||e===`none`)return Rs(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ls,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Ms,i=t}if(!i)return Rs(t);let a=r[t],o=i[1].split(`,`).map(Vs);return typeof a==`function`?a(o):o[a]}var Bs=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return zs(n,t)};function Vs(e){return parseFloat(e.trim())}var Hs=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Us=new Set([...Hs,`pathRotation`]),Ws=e=>e===Qa||e===R,Gs=new Set([`x`,`y`,`z`]),Ks=Hs.filter(e=>!Gs.has(e));function qs(e){let t=[];return Ks.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Js={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zs(t,`x`),y:(e,{transform:t})=>zs(t,`y`)};Js.translateX=Js.x,Js.translateY=Js.y;var Ys=new Set,Xs=!1,Zs=!1,Qs=!1;function $s(){if(Zs){let e=Array.from(Ys).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=qs(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Zs=!1,Xs=!1,Ys.forEach(e=>e.complete(Qs)),Ys.clear()}function ec(){Ys.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zs=!0)})}function tc(){Qs=!0,ec(),$s(),Qs=!1}var nc=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Ys.add(this),Xs||(Xs=!0,I.read(ec),I.resolveKeyframes($s))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}ks(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ys.delete(this)}cancel(){this.state===`scheduled`&&(Ys.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},rc=e=>e.startsWith(`--`);function ic(e,t,n){rc(t)?e.style.setProperty(t,n):e.style[t]=n}var ac={};function oc(e,t){let n=aa(e);return()=>ac[t]??n()}var sc=oc(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),cc=oc(()=>{try{document.createElement(`div`).animate({opacity:0}
9,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),lc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,uc={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:lc([0,.65,.55,1]),circOut:lc([.55,0,1,.45]),backIn:lc([.31,.01,.66,-.59]),backOut:lc([.33,1.53,.69,.99])};function dc(e,t){if(e)return typeof e==`function`?cc()?Zo(e,t):`ease-out`:Aa(e)?lc(e):Array.isArray(e)?e.map(e=>dc(e,t)||uc.easeOut):uc[e]}function fc(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=dc(s,i);Array.isArray(d)&&(u.easing=d),Fa.value&&Ga.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Fa.value&&p.finished.finally(()=>{Ga.waapi--}),p}function pc(e){return typeof e==`function`&&`applyToOptions`in e}function mc({type:e,...t}){return pc(e)&&cc()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var hc=class extends Es{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=mc(e);this.animation=fc(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Cs(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ic(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return ua(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ua(e)}get time(){return ua(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=la(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
9inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&sc()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),F):r(this)}},gc={anticipate:Sa,backInOut:xa,circInOut:Ta};function _c(e){return e in gc}function vc(e){typeof e.ease==`string`&&_c(e.ease)&&(e.ease=gc[e.ease])}var yc=10,bc=class extends hc{constructor(e){vc(e),Ts(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new Os({...a,autoplay:!1}),s=Math.max(yc,Wa.now()-this.startTime),c=ea(0,yc,s-yc),l=o.sample(s).value,{name:u}=this.options;i&&u&&ic(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},xc=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(V.test(e)||e===`0`)&&!e.startsWith(`url(`));function Sc(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Cc(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=xc(i,t),s=xc(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Sc(e)||(n===`spring`||pc(n))&&r}function wc(e){e.duration=0,e.type=`keyframes`}var Tc=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Ec=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Dc(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Ec.test(e[t]))return!0;return!1}var Oc=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),kc=aa(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Ac(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return kc()&&n&&(Tc.has(n)||Oc.has(n)&&Dc(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var jc=40,Mc=class extends Es{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Wa.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||nc;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Wa.now();let u=!0;Cc(e,i,a,o)||(u=!1,(ta.instantAnimations||!s)&&l?.(Cs(e,n,t)),e[0]=e[e.length-1],wc(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>jc?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ac(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new bc({...d,element:p})}catch{m=new Os(d)}else m=new Os(d);m.finished.then(()=>{this.notifyFinished()}).catch(F),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tc()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Nc(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
9e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Pc=30,Fc=e=>!isNaN(parseFloat(e)),Ic={current:void 0},Lc=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Wa.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Wa.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Fc(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new ca);let n=this.events[e].add(t);return e===`change`?()=>{n(),I.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Ic.current&&Ic.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Wa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Pc)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Pc);return da(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Rc(e,t){return new Lc(e,t)}function U(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function zc(e,t){let n=e?.[t]??e?.default??e;return n===e?n:U(n,e)}var Bc={type:`spring`,stiffness:500,damping:25,restSpeed:10},Vc=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Hc={type:`keyframes`,duration:.8},Uc={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Wc=(e,{keyframes:t})=>t.length>2?Hc:Us.has(e)?e.startsWith(`scale`)?Vc(t[1]):Bc:Uc,Gc=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Kc(e){for(let t in e)if(!Gc.has(t))return!0;return!1}var qc=(e,t,n,r={},i,a)=>o=>{let s=zc(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=la(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Kc(s)||Object.assign(u,Wc(e,u)),u.duration&&=la(u.duration),u.repeatDelay&&=la(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(wc(u),u.delay===0&&(d=!0)),(ta.instantAnimations||ta.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,wc(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Cs(u.keyframes,s);if(e!==void 0){I.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Os(u):new Mc(u)},Jc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Yc(e){let t=Jc.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Xc(e,t,n=1){`${e}`;let[r,i]=Yc(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return na(e)?parseFloat(e):e}return Ya(i)?Xc(i,t,n+1):i}function Zc(e){let t=[{},{}];
9return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Qc(e,t,n,r){if(typeof t==`function`){let[i,a]=Zc(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Zc(r);t=t(n===void 0?e.custom:n,i,a)}return t}function $c(e,t,n){let r=e.getProps();return Qc(r,t,n===void 0?r.custom:n,e)}var el=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Hs]),tl=e=>Array.isArray(e);function nl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Rc(n))}function rl(e){return tl(e)?e[e.length-1]||0:e}function il(e,t){let{transitionEnd:n={},transition:r={},...i}=$c(e,t)||{};i={...i,...n};for(let t in i)nl(e,t,rl(i[t]))}var W=e=>!!(e&&e.getVelocity);function al(e){return!!(W(e)&&e.add)}function ol(e,t){let n=e.getValue(`willChange`);if(al(n))return n.add(t);if(!n&&ta.WillChange){let n=new ta.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function sl(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var cl=`data-`+sl(`framerAppearId`);function ll(e){return e.props[cl]}function ul({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function dl(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?U(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&ul(f,t))continue;let o={delay:n,...zc(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){I.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=ll(e);if(n){let e=window.MotionHandoffAnimation(n,t,I);e!==null&&(o.startTime=e,p=!0)}}ol(e,t);let m=l??e.shouldReduceMotion;r.start(qc(t,r,i,m&&el.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>I.update(()=>{o&&il(e,o)});d.length?Promise.all(d).then(t):t()}return d}function fl(e,t,n={}){let r=$c(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(dl(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return pl(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function pl(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(fl(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Nc(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ml(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>fl(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=fl(e,t,n);else{let i=typeof t==`function`?$c(e,t,n.custom):t;r=Promise.all(dl(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var hl={test:e=>e===`auto`,parse:e=>e},gl=e=>t=>t.test(e),_l=[Qa,R,mo,L,B,z,hl],vl=e=>_l.find(gl(e));function yl(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||ia(e)}var bl=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function xl(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(no)||[];if(!r)return e;let i=n.replace(r,``),a=+!!bl.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Sl=/\b([a-z-]*)\(.*?\)/gu,Cl={...V,getAnimatableNone:e=>{let t=e.match(Sl);return t?t.map(xl).join(` `):e}},wl={...V,getAnimatableNone:e=>{let t=V.parse(e);return V.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Tl={...Qa,transform:Math.round},El={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left
9:R,inset:R,insetBlock:R,insetBlockStart:R,insetBlockEnd:R,insetInline:R,insetInlineStart:R,insetInlineEnd:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,paddingBlock:R,paddingBlockStart:R,paddingBlockEnd:R,paddingInline:R,paddingInlineStart:R,paddingInlineEnd:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,marginBlock:R,marginBlockStart:R,marginBlockEnd:R,marginInline:R,marginInlineStart:R,marginInlineEnd:R,fontSize:R,backgroundPositionX:R,backgroundPositionY:R,rotate:L,pathRotation:L,rotateX:L,rotateY:L,rotateZ:L,scale:eo,scaleX:eo,scaleY:eo,scaleZ:eo,skew:L,skewX:L,skewY:L,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:$a,originX:ho,originY:ho,originZ:R,zIndex:Tl,fillOpacity:$a,strokeOpacity:$a,numOctaves:Tl},Dl={...El,color:_o,backgroundColor:_o,outlineColor:_o,fill:_o,stroke:_o,borderColor:_o,borderTopColor:_o,borderRightColor:_o,borderBottomColor:_o,borderLeftColor:_o,filter:Cl,WebkitFilter:Cl,mask:wl,WebkitMask:wl},Ol=e=>Dl[e],kl=new Set([Cl,wl]);function Al(e,t){let n=Ol(e);return kl.has(n)||(n=V),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var jl=new Set([`auto`,`none`,`0`]);function Ml(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!jl.has(t)&&Eo(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Al(n,i)}var Nl=class extends nc{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Ya(r))){let i=Xc(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!el.has(n)||e.length!==2)return;let[r,i]=e,a=vl(r),o=vl(i);if(Za(r)!==Za(i)&&Js[n]){this.needsMeasurement=!0;return}if(a!==o)if(Ws(a)&&Ws(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Js[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||yl(e[t]))&&n.push(t);n.length&&Ml(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Js[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Js[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Pl(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Fl=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Il(e){return ra(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Ll,cancel:Rl}=Ra(queueMicrotask,!1),zl={x:!1,y:!1};function G(){return zl.x||zl.y}function K(e){return e===`x`||e===`y`?zl[e]?null:(zl[e]=!0,()=>{zl[e]=!1}):zl.x||zl.y?null:(zl.x=zl.y=!0,()=>{zl.x=zl.y=!1})}function q(e,t){let n=Pl(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function J(e){return!(e.pointerType===`touch`||G())}function Y(e,t,n={}){let[r,i,a]=q(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!J(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Bl=(e,t)=>t?e===t?!0:Bl(e,t.parentElement):!1,Vl=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Hl=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Ul(e){return Hl.has(e.tagName)||e.isContentEditable===!0}var Wl=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Gl(e){return Wl.has(e.tagName)||e.isContentEditable===!0}var Kl=new WeakSet;function ql(e){return t=>{t.key===`Enter`&&e(t)}}function Jl(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Yl=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=ql(()=>{if(Kl.has(n))return;Jl(n,`down`);let e=ql(()=>{Jl(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Jl(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Xl(e){return Vl(e)&&!G()}var Zl=new WeakSet;function Ql(e,t,n={}){let[r,i,a]=q(e,n),o=e=>{let r=e.currentTarget;if(!Xl(e)||Zl.has(e))return;Kl.add(r),n.stopPropagation&&Zl.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),Kl.has(r)&&Kl.delete(r),Xl(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||Bl(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Il(e)&&(e.addEventListener(`focus`,e=>Yl(e,i)),!Ul(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function $l(e){return ra(e)&&`ownerSVGElement`in e}var eu=new WeakMap,tu,nu=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:$l(r)&&`getBBox`in r?r.getBBox()[t]:r[n],ru=nu(`inline`,`width`,`offsetWidth`),iu=nu(`block`,`height`,`offsetHeight`);function au({target:e,borderBoxSize:t}){eu.get(e)?.forEach(n=>{n(e,{get width(){return ru(e,t)},get height(){return iu(e,t)}})})}function ou(e){e.forEach(au)}function su(){typeof ResizeObserver>`u`||(tu=new ResizeObserver(ou))}function cu(e,t){tu||su();let n=Pl(e);return n.forEach(e=>{let n=eu.get(e);n||(n=new Set,eu.set(e,n)),n.add(t),tu?.observe(e)}),()=>{n.forEach(e=>{let n=eu.get(e);n?.delete(t),n?.size||tu?.unobserve(e)})}}var lu=new Set,uu;function du(){uu=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};lu.forEach(t=>t(e))},window.addEventListener(`resize`,uu)}function fu(e){return lu.add(e),uu||du(),()=>{lu.delete(e),!lu.size&&typeof uu==`function`&&(window.removeEventListener(`resize`,uu),uu=void 0)}}function pu(e,t){return typeof e==`function`?fu(e):cu(e,t)}function mu(e){return $l(e)&&e.tagName===`svg`}function hu(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=gs(i,a,o);return t?s(r):s}function gu(e,t,n={}){let r=e.get(),i=null,a=r,o,s=typeof r==`string`?r.replace(/[\d.-]/g,``):void 0,c=()=>{i&&=(i.stop(),null),e.animation=void 0},l=()=>{let t=vu(e.get()),r=vu(a);if(t===r){c();return}let s=i?i.getGeneratorVelocity():e.getVelocity();c(),i=new Os({keyframes:[t,r],velocity:s,type:`spring`,restDelta:.001,restSpeed:.01,...n,onUp
9date:o})},u=()=>{l(),e.animation=i??void 0,e.events.animationStart?.notify(),i?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{a=e,o=e=>t(_u(e,s)),I.postRender(u)},c),W(t)){let r=n.skipInitialAnimation===!0,i=t.on(`change`,t=>{r?(r=!1,e.jump(_u(t,s),!1)):e.set(_u(t,s))}),a=e.on(`destroy`,i);return()=>{i(),a()}}return c}function _u(e,t){return t?e+t:e}function vu(e){return typeof e==`number`?e:parseFloat(e)}var yu=[..._l,_o,V],bu=e=>yu.find(gl(e)),xu=()=>({translate:0,scale:1,origin:0,originPoint:0}),Su=()=>({x:xu(),y:xu()}),Cu=()=>({min:0,max:0}),wu=()=>({x:Cu(),y:Cu()}),Tu=new WeakMap;function Eu(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Du(e){return typeof e==`string`||Array.isArray(e)}var Ou=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],ku=[`initial`,...Ou];function Au(e){return Eu(e.animate)||ku.some(t=>Du(e[t]))}function ju(e){return!!(Au(e)||e.variants)}function Mu(e,t,n){for(let r in t){let i=t[r],a=n[r];if(W(i))e.addValue(r,i);else if(W(a))e.addValue(r,Rc(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Rc(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Nu={current:null},Pu={current:!1},Fu=typeof window<`u`;function Iu(){if(Pu.current=!0,Fu)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Nu.current=e.matches;e.addEventListener(`change`,t),t()}else Nu.current=!1}var Lu=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Ru={};function zu(e){Ru=e}function Bu(){return Ru}var Vu=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=nc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=Wa.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,I.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Au(t),this.isVariantNode=ju(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&W(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Tu.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Pu.current||Iu(),this.shouldReduceMotion=Nu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),za(this.notifyUpdate),za(this.render),this.valueSubscriptions.forEach(e
9=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Tc.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new hc({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:la(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Us.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&I.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Ru){let t=Ru[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):wu()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Lu.length;t++){let n=Lu[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Mu(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Rc(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(na(n)||ia(n))?n=parseFloat(n):!bu(n)&&V.test(t)&&(n=Al(e,t)),this.setBaseTarget(e,W(n)?n.get():n)),W(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Qc(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!W(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new ca),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Ll.render(this.render)}},Hu=class extends Vu{constructor(){super(...arguments),this.KeyframeResolver=Nl}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;W(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Uu=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Wu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Gu({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function X(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ku(e){return e===void 0||e===1}function qu({scale:e,scaleX:t,scaleY:n}){return!Ku(e)||!Ku(t)||!Ku(n)}function Ju(e){return qu(e)||Yu(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Yu(e){return Xu(e.x)||Xu(e.y)}function Xu(e){return e&&e!==`0%`}function Zu(e,t,n){return n+t*(e-n)}function Qu(e,t,n,r,i){return i!==void 0&&(e=Zu(e,i,r)),Zu(e,n,r)+t}function $u(e,t=0,n=1,r,i){e.min=Qu(e.min,t,n,r,i),e.max=Qu(e.max,t,n,r,i)}function ed(e,{x:t,y:n}){$u(e.x,t.translate,t.scale,t.originPoint),$u(e.y,n.translate,n.scale,n.originPoint)}var td=.999999999999,nd=1.0000000000001;function rd(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(id(e.x,-a.scroll.offset.x),id(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,ed(e,o)),r&&Ju(
9a.latestValues)&&sd(e,a.latestValues,a.layout?.layoutBox))}t.x<nd&&t.x>td&&(t.x=1),t.y<nd&&t.y>td&&(t.y=1)}function id(e,t){e.min+=t,e.max+=t}function ad(e,t,n,r,i=.5){$u(e,t,n,H(e.min,e.max,i),r)}function od(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function sd(e,t,n){let r=n??e;ad(e.x,od(t.x,r.x),t.scaleX,t.scale,t.originX),ad(e.y,od(t.y,r.y),t.scaleY,t.scale,t.originY)}function cd(e,t){return Wu(X(e.getBoundingClientRect(),t))}function ld(e,t,n){let r=cd(e,n),{scroll:i}=t;return i&&(id(r.x,i.offset.x),id(r.y,i.offset.y)),r}var ud={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},dd=Hs.length;function fd(e,t,n){let r=``,i=!0;for(let a=0;a<dd;a++){let o=Hs[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Fl(s,El[o]);if(!c){i=!1;let t=ud[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Fl(a,El.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function pd(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Us.has(e)){o=!0;continue}else if(qa(e)){i[e]=n;continue}else{let t=Fl(n,El[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=fd(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function md(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function hd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var gd={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(R.test(e))e=parseFloat(e);else return e;return`${hd(e,t.target.x)}% ${hd(e,t.target.y)}%`}},_d={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=V.parse(e);if(i.length>5)return r;let a=V.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=H(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},vd={borderRadius:{...gd,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:gd,borderTopRightRadius:gd,borderBottomLeftRadius:gd,borderBottomRightRadius:gd,boxShadow:_d};function yd(e,{layout:t,layoutId:n}){return Us.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!vd[e]||e===`opacity`)}function bd(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(W(r[t])||i&&W(i[t])||yd(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Z(e){return window.getComputedStyle(e)}var xd=class extends Hu{constructor(){super(...arguments),this.type=`html`,this.renderInstance=md}readValueFromInstance(e,t){if(Us.has(t))return this.projection?.isProjecting?Rs(t):Bs(e,t);{let n=Z(e),r=(qa(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return cd(e,t)}build(e,t,n){pd(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return bd(e,t,n)}},Sd={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Cd={offset:`strokeDashoffset`,array:`strokeDasharray`};function wd(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Sd:Cd;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Td=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ed(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(pd(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Td)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&wd(d,i,a,o,!1)}var Dd=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Od=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function kd(e,t,n,r){md(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Dd.has(n)?n:sl(n),t.attrs[n])}function Ad(e,t,n){let r=bd(e,t,n);for(let n in e)if(W(e[n])||W(t[n])){let t=Hs.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var jd=class extends Hu{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=wu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Us.has(t)){let e=Ol(t);return e&&e.default||0}return t=Dd.has(t)?t:sl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Ad(e,t,n)}
9build(e,t,n){Ed(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){kd(e,t,n,r)}mount(e){this.isSVGTag=Od(e.tagName),super.mount(e)}},Md=ku.length;function Nd(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Nd(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Md;n++){let r=ku[n],i=e.props[r];(Du(i)||i===!1)&&(t[r]=i)}return t}function Q(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Pd=[...Ou].reverse(),Fd=Ou.length;function Id(e){return t=>Promise.all(t.map(({animation:t,options:n})=>ml(e,t,n)))}function Ld(e){let t=Id(e),n=Bd(),r=!0,i=!1,a=t=>(n,r)=>{let i=$c(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Nd(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Fd;t++){let p=Pd[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Du(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Eu(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Rd(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,ee={...w,...C},te=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in ee){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=tl(t)&&tl(n)?!Q(t,n)||y:t!==n,r?t==null?u.add(e):te(e):t!==void 0&&u.has(e)?te(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ne=v&&y;b&&(!ne||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ne&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=$c(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Nc(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=$c(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Bd(),i=!0}}}function Rd(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Q(t,e):!1}function zd(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Bd(){return{animate:zd(!0),whileInView:zd(),whileHover:zd(),whileTap:zd(),whileDrag:zd(),whileFocus:zd(),exit:zd()}}function Vd(e,t){e.min=t.min,e.max=t.max}function Hd(e,t){Vd(e.x,t.x),Vd(e.y,t.y)}function Ud(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Wd=.9999,Gd=1.0001,Kd=-.01,qd=.01;function Jd(e){return e.max-e.min}function Yd(e,t,n){return Math.abs(e-t)<=n}function Xd(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Jd(n)/Jd(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Wd&&e.scale<=Gd||isNaN(e.scale))&&(e.scale=1),(e.translate>=Kd&&e.translate<=qd||isNaN(e.translate))&&(e.translate=0)}function Zd(e,t,n,r){Xd(e.x,t.x,n.x,r?r.originX:void 0),Xd(e.y,t.y,n.y,r?r.originY:void 0)}function Qd(e,t,n,r=0){e.min=(r?H(n.min,n.max,r):n.min)+t.min,e.max=e.min+Jd(t)}function $d(e,t,n,r){Qd(e.x,t.x,n.x,r?.x),Qd(e.y,t.y,n.y,r?.y)}function ef(e,t,n,r=0){let i=r?H(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Jd(t)}function tf(e,t,n,r){ef(e.x,t.x,n.x,r?.x),ef(e.y,t.y,n.y,r?.y)}function nf(e,t,n,r,i){return e-=t,e=Zu(e,1/n,r),i!==void 0&&(e=Zu(e,1/i,r)),e}function rf(e,t=0,n=1,r=.5,i,a=e,o=e){if(mo.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=H(a.min,a.max,r);e===a&&(s-=t),e.min=nf(e.min,t,n,s,i),e.max=nf(e.max,t,n,s,i)}function af(e,t,[n,r,i],a,o){rf(e,t[n],t[r],t[i],t.scale,a,o)}var of=[`x`,`scaleX`,`originX`],sf=[`y`,`scaleY`,`originY`];function cf(e,t,n,r){af(e.x,t,of,n?n.x:void 0,r?r.x:void 0),af(e.y,t,sf,n?n.y:void 0,r?r.y:void 0)}function lf(e){return e.translate===0&&e.scale===1}function uf(e){return lf(e.x)&&lf(e.y)}function df(e,t){return e.min===t.min&&e.max===t.max}function ff(e,t){return df(e.x,t.x)&&df(e.y,t.y)}function pf(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function mf(e,t){return pf(e.x,t.x)&&pf(e.y,t.y)}function hf(e){return Jd(e.x)/Jd(e.y)}function gf(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function _f(e){return[e(`x`),e(`y`)]}function vf(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var yf=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],bf=yf.length,xf=e=>typeof e==`string`?parseFloat(e):e,Sf=e=>typeof e==`number`||R.test(e);function Cf(e,t,n,r,i,a){i?(e.opacity=H(0,n.opacity??1,Tf(r)),e.o
9pacityExit=H(t.opacity??1,0,Ef(r))):a&&(e.opacity=H(t.opacity??1,n.opacity??1,r));for(let i=0;i<bf;i++){let a=yf[i],o=wf(t,a),s=wf(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Sf(o)===Sf(s)?(e[a]=Math.max(H(xf(o),xf(s),r),0),(mo.test(s)||mo.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function wf(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Tf=Df(0,.5,wa),Ef=Df(.5,.95,F);function Df(e,t,n){return r=>r<e?0:r>t?1:n(sa(e,t,r))}function Of(e,t,n){let r=W(e)?e:Rc(e);return r.start(qc(``,r,t,n)),r.animation}function kf(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Af=(e,t)=>e.depth-t.depth,jf=class{constructor(){this.children=[],this.isDirty=!1}add(e){Qi(this.children,e),this.isDirty=!0}remove(e){$i(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Af),this.isDirty=!1,this.children.forEach(e)}};function Mf(e,t){let n=Wa.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(za(r),e(a-t))};return I.setup(r,!0),()=>za(r)}function Nf(e){return W(e)?e.get():e}var Pf=class{constructor(){this.members=[]}add(e){Qi(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&($i(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if($i(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Ff={hasAnimatedSinceResize:!0,hasEverUpdated:!1},If={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Lf=[``,`X`,`Y`,`Z`],Rf=1e3,zf=0;function Bf(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Vf(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=ll(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,I,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Vf(r)}function Hf({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=zf++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Fa.value&&(If.nodes=If.calculatedTargetDeltas=If.calculatedProjections=0),this.nodes.forEach(Gf),this.nodes.forEach(ep),this.nodes.forEach(tp),this.nodes.forEach(Kf),Fa.addProjectionMetrics&&Fa.addProjectionMetrics(If)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new jf)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ca),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=$l(t)&&!mu(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;I.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Mf(i,250),Ff.hasAnimatedSinceResize&&(Ff.hasAnimatedSinceResize=!1,this.nodes.forEac
9h($f)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||cp,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!mf(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...zc(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||$f(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),za(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(np),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vf(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Yf),this.nodes.forEach(Jf);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xf);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Zf),this.nodes.forEach(Qf),this.nodes.forEach(Uf),this.nodes.forEach(Wf)):this.nodes.forEach(Xf),this.clearAllSnapshots();let e=Wa.now();Ba.delta=ea(0,1e3/60,e-Ba.timestamp),Ba.timestamp=e,Ba.isProcessing=!0,Va.update.process(Ba),Va.preRender.process(Ba),Va.render.process(Ba),Ba.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ll.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qf),this.sharedNodes.forEach(rp)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,I.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){I.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Jd(this.snapshot.measuredBox.x)&&!Jd(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=wu(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!uf(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Ju(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),fp(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return wu();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(mp))){let{scroll:e}=this.root;e&&(id(t.x,e.offset.x),id(t.y,e.offset.y))}return t}removeElementScroll(e){let t=wu();if(Hd(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Hd(t,e),id(t.x,i.offset.x),id(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||wu();Hd(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(id(r.x,-n.scroll.offset.x),id(r.y,-n.scroll.offset.y)),Ju(n.latestValues)&&sd(r,n.latestValues,n.layout?.layoutBox)}return Ju(this.latestValues)&&sd(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=wu();Hd(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Ju(n.latestValues))continue;let r;n.instance&&(qu(n.latestValues)&&n.updateSnapshot(),r=wu(),Hd(r,n.measurePageBox())),cf(t,n.latestValues,n.snapshot?.layoutBox,r)}return Ju(this.latestValues)&&cf(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ba.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
9if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Ba.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=wu(),this.targetWithTransforms=wu()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),$d(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Hd(this.target,this.layout.layoutBox),ed(this.target,this.targetDelta)):Hd(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Fa.value&&If.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||qu(this.parent.latestValues)||Yu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=wu(),this.relativeTargetOrigin=wu(),tf(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Hd(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Ba.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Hd(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;rd(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=wu());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ud(this.prevProjectionDelta.x,this.projectionDelta.x),Ud(this.prevProjectionDelta.y,this.projectionDelta.y)),Zd(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!gf(this.projectionDelta.x,this.prevProjectionDelta.x)||!gf(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Fa.value&&If.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Su(),this.projectionDelta=Su(),this.projectionDeltaWithTransform=Su()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Su();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=wu(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(sp));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=H(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=H(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(ip(o.x,e.x,n),ip(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tf(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),op(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ff(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=wu(),Hd(f,this.relativeTarget)),c&&(this.animationValues=a,Cf(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(za(this.pendingAnimation),void 0),this.pendingAnimation=I.update(()=>{Ff.hasAnimatedSinceResize=!0,Ga.layout++,this.motionValue||=Rc(0),this.motionValue.jump(0,!1),this.currentAnimation=Of(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Ga.layout--},onComplete:()=>{Ga.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Rf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&pp(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||wu();let t=Jd(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Jd(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Hd(t,n),sd(t,i),Zd(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
9)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pf),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Bf(`z`,e,r,this.animationValues);for(let t=0;t<Lf.length;t++)Bf(`rotate${Lf[t]}`,e,r,this.animationValues),Bf(`skew${Lf[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Nf(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Nf(t?.pointerEvents)||``),this.hasProjected&&!Ju(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=vf(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in vd){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=vd[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Nf(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Jf),this.root.sharedNodes.clear()}}}function Uf(e){e.updateLayout()}function Wf(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)_f(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Jd(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Vd(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else pp(i,t.layoutBox,n)&&_f(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Jd(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Su();Zd(o,n,t.layoutBox);let s=Su();a?Zd(s,e.applyTransform(r,!0),t.measuredBox):Zd(s,n,t.layoutBox);let c=!uf(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=wu();tf(s,t.layoutBox,i.layoutBox,o);let c=wu();tf(c,n,a.layoutBox,o),mf(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Gf(e){Fa.value&&If.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Kf(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qf(e){e.clearSnapshot()}function Jf(e){e.clearMeasurements()}function Yf(e){e.isLayoutDirty=!0,e.updateLayout()}function Xf(e){e.isLayoutDirty=!1}function Zf(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Qf(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function $f(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ep(e){e.resolveTargetDelta()}function tp(e){e.calcProjection()}
9function np(e){e.resetSkewAndRotation()}function rp(e){e.removeLeadSnapshot()}function ip(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ap(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function op(e,t,n,r){ap(e.x,t.x,n.x,r),ap(e.y,t.y,n.y,r)}function sp(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var cp={duration:.45,ease:[.4,0,.1,1]},lp=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),up=lp(`applewebkit/`)&&!lp(`chrome/`)?Math.round:F;function dp(e){e.min=up(e.min),e.max=up(e.max)}function fp(e){dp(e.x),dp(e.y)}function pp(e,t,n){return e===`position`||e===`preserve-aspect`&&!Yd(hf(t),hf(n),.2)}function mp(e){return e!==e.root&&e.scroll?.wasRoot}var hp=Hf({attachResizeListener:(e,t)=>kf(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),gp={current:void 0},_p=Hf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!gp.current){let e=new hp({});e.mount(window),e.setOptions({layoutScroll:!0}),gp.current=e}return gp.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),vp=(0,O.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function yp(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function bp(...e){return t=>{let n=!1,r=e.map(e=>{let r=yp(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():yp(e[t],null)}}}}function xp(...e){return O.useCallback(bp(...e),e)}var Sp=class extends O.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Il(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Il(e)&&e.offsetWidth||0,r=Il(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Cp({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,O.useId)(),s=(0,O.useRef)(null),c=(0,O.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,O.useContext)(vp),u=xp(s,e.props?.ref??e?.ref);return(0,O.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
10          [data-motion-pop-id="${o}"] {
11            position: absolute !important;
12            width: ${e}px !important;
13            height: ${u}px !important;
14            ${_}px !important;
15            ${v}px !important;
16          }
17        `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,k.jsx)(Sp,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:O.cloneElement(e,{ref:u})})}var wp=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=Yi(Tp),d=(0,O.useId)(),f=!0,p=(0,O.useMemo)(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>u.delete(e))}),[n,u,r]);return a&&f&&(p={...p}),(0,O.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),O.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,k.jsx)(Cp,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,k.jsx)(Zi.Provider,{value:p,children:e})};function Tp(){return new Map}function Ep(e=!0){let t=(0,O.useContext)(Zi);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,O.useId)();(0,O.useEffect)(()=>
17{if(e)return i(a)},[e]);let o=(0,O.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Dp=e=>e.key||``;function Op(e){let t=[];return O.Children.forEach(e,e=>{(0,O.isValidElement)(e)&&t.push(e)}),t}var kp=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=Ep(o),f=(0,O.useMemo)(()=>Op(e),[e]),p=o&&!u?[]:f.map(Dp),m=(0,O.useRef)(!0),h=(0,O.useRef)(f),g=Yi(()=>new Map),_=(0,O.useRef)(new Set),[v,y]=(0,O.useState)(f),[b,x]=(0,O.useState)(f);Xi(()=>{m.current=!1,h.current=f;for(let e=0;e<b.length;e++){let t=Dp(b[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[b,p.length,p.join(`-`)]);let S=[];if(f!==v){let e=[...f];for(let t=0;t<b.length;t++){let n=b[t],r=Dp(n);p.includes(r)||(e.splice(t,0,n),S.push(n))}return a===`wait`&&S.length&&(e=S),x(Op(e)),y(f),null}let{forceRender:C}=(0,O.useContext)(Ji);return(0,k.jsx)(k.Fragment,{children:b.map(e=>{let v=Dp(e),y=o&&!u?!1:f===b||p.includes(v);return(0,k.jsx)(wp,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(C?.(),x(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},Ap=(0,O.createContext)({strict:!1}),jp={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Mp=!1;function Np(){if(Mp)return;let e={};for(let t in jp)e[t]={isEnabled:e=>jp[t].some(t=>!!e[t])};zu(e),Mp=!0}function Pp(){return Np(),Bu()}function Fp(e){let t=Pp();for(let n in e)t[n]={...t[n],...e[n]};zu(t)}var Ip=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Lp(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Ip.has(e)}var Rp=c({default:()=>zp}),zp,Bp=o((()=>{throw zp={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Vp=e=>!Lp(e);function Hp(e){typeof e==`function`&&(Vp=t=>t.startsWith(`on`)?!Lp(t):e(t))}try{Hp((Bp(),d(Rp)).default)}catch{}function Up(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||W(e[i])||
17(Vp(i)||n===!0&&Lp(i)||!t&&!Lp(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Wp=(0,O.createContext)({});function Gp(e,t){if(Au(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Du(t)?t:void 0,animate:Du(n)?n:void 0}}return e.inherit===!1?{}:t}function Kp(e){let{initial:t,animate:n}=Gp(e,(0,O.useContext)(Wp));return(0,O.useMemo)(()=>({initial:t,animate:n}),[qp(t),qp(n)])}function qp(e){return Array.isArray(e)?e.join(` `):e}var Jp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Yp(e,t,n){for(let r in t)!W(t[r])&&!yd(r,n)&&(e[r]=t[r])}function Xp({transformTemplate:e},t){return(0,O.useMemo)(()=>{let n=Jp();return pd(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Zp(e,t){let n=e.style||{},r={};return Yp(r,n,e),Object.assign(r,Xp(e,t)),r}function Qp(e,t){let n={},r=Zp(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var $p=()=>({...Jp(),attrs:{}});function em(e,t,n,r){let i=(0,O.useMemo)(()=>{let n=$p();return Ed(n,t,Od(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Yp(t,e.style,e),i.style={...t,...i.style}}return i}var tm=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function nm(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(tm.indexOf(e)>-1||/[A-Z]/u.test(e))}function rm(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??nm(e)?em:Qp)(t,r,i,e),c=Up(t,typeof e==`string`,a),l=e===O.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,O.useMemo)(()=>W(u)?u.get():u,[u]);return(0,O.createElement)(e,{...l,children:d})}function im({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:am(n,r,i,e),renderState:t()}}function am(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Nf(a[e]);let{initial:o,animate:s}=e,c=Au(e),l=ju(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Eu(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Qc(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var om=e=>(t,n)=>{let r=(0,O.useContext)(Wp),i=(0,O.useContext)(Zi),a=()=>im(e,t,r,i);return n?a():Yi(a)},sm=om({scrapeMotionValuesFromProps:bd,createRenderState:Jp}),cm=om({scrapeMotionValuesFromProps:Ad,createRenderState:$p}),lm=Symbol.for(`motionComponentSymbol`);function um(e,t,n){let r=(0,O.useRef)(n);(0,O.useInsertionEffect)(()=>{r.current=n});let i=(0,O.useRef)(null);return(0,O.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var dm=(0,O.createContext)({});function fm(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function pm(e,t,n,r,i,a){let{visualElement:o}=(0,O.useContext)(Wp),s=(0,O.useContext)(Ap),c=(0,O.useContext)(Zi),l=(0,O.useContext)(vp),u=l.reducedMotion,d=l.skipAnimations,f=(0,O.useRef)(null),p=(0,O.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,O.useContext)(dm);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&mm(f.current,n,i,h);let g=(0,O.useRef)(!1);(0,O.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[cl],v=(0,O.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return Xi(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,O.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function mm(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:hm(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&fm(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function hm(e){if(e)return e.options.allowProjection===!1?hm(e.parent):e.projection}function gm(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Fp(r);
17let a=n?n===`svg`:nm(e),o=a?cm:sm;function s(n,s){let c,l={...(0,O.useContext)(vp),...n,layoutId:_m(n)},{isStatic:u}=l,d=Kp(n),f=o(n,u);if(!u&&typeof window<`u`){vm(l,r);let t=ym(l);c=t.MeasureLayout,d.visualElement=pm(e,f,l,i,t.ProjectionNode,a)}return(0,k.jsxs)(Wp.Provider,{value:d,children:[c&&d.visualElement?(0,k.jsx)(c,{visualElement:d.visualElement,...l}):null,rm(e,n,um(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,O.forwardRef)(s);return c[lm]=e,c}function _m({layoutId:e}){let t=(0,O.useContext)(Ji).id;return t&&e!==void 0?t+`-`+e:e}function vm(e,t){(0,O.useContext)(Ap).strict}function ym(e){let{drag:t,layout:n}=Pp();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function bm(e,t){if(typeof Proxy>`u`)return gm;let n=new Map,r=(n,r)=>gm(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,gm(a,void 0,e,t)),n.get(a))})}var xm=(e,t)=>t.isSVG??nm(e)?new jd(t):new xd(t,{allowProjection:e!==O.Fragment}),Sm=class extends Uu{constructor(e){super(e),e.animationState||=Ld(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Eu(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},Cm=0,wm={animation:{Feature:Sm},exit:{Feature:class extends Uu{constructor(){super(...arguments),this.id=Cm++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=$c(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Tm(e){return{point:{x:e.pageX,y:e.pageY}}}var Em=e=>t=>Vl(t)&&e(t,Tm(t));function Dm(e,t,n,r){return kf(e,t,Em(n),r)}var Om=({current:e})=>e?e.ownerDocument.defaultView:null,km=(e,t)=>Math.abs(e-t);function Am(e,t){let n=km(e.x,t.x),r=km(e.y,t.y);return Math.sqrt(n**2+r**2)}var jm=new Set([`auto`,`scroll`]),Mm=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Nm(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Fm(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Am(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Ba;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Nm(t,this.transformPagePoint),I.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Fm(e.type===`pointercancel`?this.lastMoveEventInfo:Nm(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Vl(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Nm(Tm(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Ba;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Fm(s,this.history)),this.removeListeners=oa(Dm(this.contextWindow,`pointermove`,this.handlePointerMove),Dm(this.contextWindow,`pointerup`,this.handlePointerUp),Dm(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(jm.has(e.overflowX)||jm.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),I.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),za(this.updatePoint)}};function Nm(e,t){return t?{point:t(e.point)}:e}function Pm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fm({point:e},t){return{point:e,delta:Pm(e,Lm(t)),offset:Pm(e,Im(t)),velocity:Rm(t,.1)}}function Im(e){return e[0]}function Lm(e){return e[e.length-1]}function Rm(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Lm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>la(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>la(t)*2&&(r=e[1]);let a=ua(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function zm(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?H(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function Bm(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Vm(e,{top:t,left:n,bottom:r,right:i}){return{x:Bm(e.x,n,i),y:Bm(e.y,t,r)}}function Hm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Um(e,t){return{x:Hm(e.x,t.x),y:Hm(e.y,t.y)}}function Wm(e,t){let n=.5,r=Jd(e),i=Jd(t);return i>r?n=sa(t.min,t.max-r,e.min):r>i&&(n=sa(e.min,e.max-i,t.min)),ea(0,1,n)}function Gm(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Km=.35;function qm(e=Km){return e===!1?e=0:e===!0&&(e=Km),{x:Jm(e,`left`,`right`),y:Jm(e,`top`,`bottom`)}}function Jm(e,t,n){return{min:Ym(e,t),max:Ym(e,n)}}function Ym(e,t){return typeof e==`number`?e:e[t]||0}var Xm=new WeakMap,Zm=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=wu(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(Tm(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=K(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_f(e=>{let t=this.getAxisMotionValue(e).get()||0;if(mo.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Jd(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&I.update(()=>i(e,t),!1,!0),ol(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=th(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&I.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Mm(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Om(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&I.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!eh(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=zm(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&fm(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Vm(n.layoutBox,e):this.constraints=!1,this.elastic=qm(t),r!==this.constraints&&!fm(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&_f(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Gm(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!fm(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=ld(n,r.root,this.visualElement.getTransformPagePoint()),a=Um(r.layout.layoutBox,i);if(t){let e=t(Gu(a));this.hasMutatedConstraints=!!e,e&&(a=Wu(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=_f(o=>{if(!eh(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return ol(this.visualElement,e),n.start(qc(e,n,0,t,this.visualElement,!1))}stopAnimation(){_f(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){_f(t=>{let{drag:n}=this.getProps();if(!eh(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-H(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!fm(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};_f(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Wm({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),_f(t=>{if(!eh(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(H(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Xm.set(this.visualElement,this);let e=this.visualElement.current,t=Dm(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Gl(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();fm(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=$m(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),I.read(r);let o=kf(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(_f(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Km,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Qm(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function $m(e,t,n){let r=pu(e,Qm(n)),i=pu(t,Qm(n));return()=>{r(),i()}}function eh(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function th(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var nh=class extends Uu{constructor(e){super(e),this.removeGroupControls=F,this.removeListeners=F,this.controls=new Zm(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||F}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},rh=e=>(t,n)=>{e&&I.update(()=>e(t,n),!1,!0)},ih=class extends Uu{constructor(){super(...arguments),this.removePointerDownListener=F}onPointerDown(e){this.session=new Mm(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Om(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rh(e),onStart:rh(t),onMove:rh(n),onEnd:(e,t)=>{delete this.session,r&&I.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Dm(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},ah=!1,oh=class extends O.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.regist
17er&&r&&n.register(i),ah&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ff.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),ah=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||I.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Ll.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;ah=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function sh(e){let[t,n]=Ep(),r=(0,O.useContext)(Ji);return(0,k.jsx)(oh,{...e,layoutGroup:r,switchLayoutGroup:(0,O.useContext)(dm),isPresent:t,safeToRemove:n})}var ch={pan:{Feature:ih},drag:{Feature:nh,ProjectionNode:_p,MeasureLayout:sh}};function lh(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&I.postRender(()=>i(t,Tm(t)))}var uh=class extends Uu{mount(){let{current:e}=this.node;e&&(this.unmount=Y(e,(e,t)=>(lh(this.node,t,`Start`),e=>lh(this.node,e,`End`))))}unmount(){}},dh=class extends Uu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=oa(kf(this.node.current,`focus`,()=>this.onFocus()),kf(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function fh(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&I.postRender(()=>i(t,Tm(t)))}var ph=class extends Uu{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Ql(e,(e,t)=>(fh(this.node,t,`Start`),(e,{success:t})=>fh(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},mh=new WeakMap,hh=new WeakMap,gh=e=>{let t=mh.get(e.target);t&&t(e)},_h=e=>{e.forEach(gh)};function vh({root:e,...t}){let n=e||document;hh.has(n)||hh.set(n,{});let r=hh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(_h,{root:e,...t})),r[i]}function yh(e,t,n){let r=vh(t);return mh.set(e,n),r.observe(e),()=>{mh.delete(e),r.unobserve(e)}}var bh={some:0,all:1},xh=class extends Uu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:bh[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=yh(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Sh(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Sh({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Ch={inView:{Feature:xh},tap:{Feature:ph},focus:{Feature:dh},hover:{Feature:uh}},wh={layout:{ProjectionNode:_p,MeasureLayout:sh}},$=bm({...wm,...Ch,...ch,...wh},xm);function Th(e){let t=Yi(()=>Rc(e)),{isStatic:n}=(0,O.useContext)(vp);if(n){let[,n]=(0,O.useState)(e);(0,O.useEffect)(()=>t.on(`change`,n),[])}return t}function Eh(e,t){let n=Th(t()),r=()=>n.set(t());return r(),Xi(()=>{let t=()=>I.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>
17{n.forEach(e=>e()),za(r)}}),n}function Dh(e){Ic.current=[],e();let t=Eh(Ic.current,e);return Ic.current=void 0,t}function Oh(e,t,n,r){if(typeof e==`function`)return Dh(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return Ah(e,t,n,r);let i=typeof t==`function`?t:hu(t,n,r),a=Array.isArray(e)?kh(e,i):kh([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function kh(e,t){let n=Yi(()=>[]);return Eh(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function Ah(e,t,n,r){let i=Yi(()=>Object.keys(n)),a=Yi(()=>({}));for(let o of i)a[o]=Oh(e,t,n[o],r);return a}function jh(e,t={}){let{isStatic:n}=(0,O.useContext)(vp),r=()=>W(e)?e.get():e;if(n)return Oh(r);let i=Th(r());return(0,O.useInsertionEffect)(()=>gu(i,e,t),[i,JSON.stringify(t)]),i}function Mh(e,t={}){return jh(e,{type:`spring`,...t})}var Nh={some:0,all:1};function Ph(e,t,{root:n,margin:r,amount:i=`some`}={}){let a=Pl(e),o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))})},{root:n,rootMargin:r,threshold:typeof i==`number`?i:Nh[i]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}function Fh(e,{root:t,margin:n,amount:r,once:i=!1,initial:a=!1}={}){let[o,s]=(0,O.useState)(a);return(0,O.useEffect)(()=>{if(!e.current||i&&o)return;let a=()=>(s(!0),i?void 0:()=>s(!1)),c={root:t&&t.current||void 0,margin:n,amount:r};return Ph(e.current,a,c)},[t,e,n,i,r]),o}var Ih={lines:[`AI built for`,`Testing, Inspection`,`and Certification`],subhead:`Seamflow builds AI-native tools for the TIC industry, turning complex regulatory workflows into scalable operations.`},Lh=`AI built for Testing, Inspection and Certification`,Rh=[.4,0,.2,1],zh=new Set([`slow-2g`,`2g`]);function Bh(){if(window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return!1;let e=navigator.connection;return e===void 0?!0:e.saveData!==!0&&!zh.has(e.effectiveType??``)}var Vh=[{src:P(`logos/companies/amazon.avif`),alt:`Amazon`,className:`h-6 sm:h-7`},{src:P(`logos/companies/google.svg`),alt:`Google`,className:`h-6 sm:h-7`},{src:P(`logos/companies/x.svg`),alt:`X`,className:`h-6 sm:h-7`},{src:P(`logos/companies/mckinsey.svg`),alt:`McKinsey`,className:`h-6 sm:h-7`},{src:P(`logos/companies/sap.svg`),alt:`SAP`,className:`h-6 sm:h-7`},{src:P(`logos/schools/cambridge-white.avif`),alt:`University of Cambridge`,className:`h-7 sm:h-8`},{src:P(`logos/schools/oxford-white.avif`),alt:`University of Oxford`,className:`h-7 sm:h-8`}];function Hh(){let[e,t]=(0,O.useState)(null);return(0,O.useEffect)(()=>{if(!Bh())return;let e=()=>t(P(`hero/background-1080.mp4`));if(typeof requestIdleCallback==`function`){let t=requestIdleCallback(e,{timeout:2500});return()=>cancelIdleCallback(t)}let n=window.setTimeout(e,1200);return()=>window.clearTimeout(n)},[]),(0,k.jsxs)(`section`,{className:`h-screen w-full flex flex-col items-start justify-between pt-24 sm:pt-28 pb-8 sm:pb-10 px-8 sm:px-10 lg:px-16 overflow-hidden relative`,children:[(0,k.jsx)(`video`,{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:`none`,poster:P(`hero/poster.avif`),src:e??void 0,className:`absolute inset-0 w-full h-full object-cover z-0`}),(0,k.jsx)(`div`,{className:`absolute inset-0 z-[1] bg-black/45`}),(0,k.jsx)(`div`,{className:`absolute inset-0 z-[1] [background:radial-gradient(ellipse_at_center,transparent_25%,rgba(0,0,0,0.85)_100%)]`}),(0,k.jsx)(`div`,{className:`absolute inset-0 z-[1] bg-gradient-to-b from-black/55 via-transparent to-black/55`}),(0,k.jsx)(`div`,{className:`relative z-10 flex flex-1 items-center max-w-7xl w-full`,children:(0,k.jsxs)($.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:Rh},className:`text-left`,children:[(0,k.jsx)(`h1`,{className:`font-display font-bold text-white mb-9 text-[2.5rem] leading-[1] sm:text-5xl md:text-6xl lg:text-[5.5rem]`,children:Ih.lines.map(e=>(0,k.jsx)(`span`,{className:`block`,children:e},e))}),(0,k.jsx)(`p`,{className:`text-base sm:text-lg md:text-xl text-white/85 max-w-xl leading-relaxed font-sans`,children:Ih.subhead})]})}),(0,k.jsx)($.div,{initial:{opacity:0}
17,animate:{opacity:1},transition:{duration:.7,delay:.4,ease:Rh},className:`relative z-10 w-full max-w-7xl`,children:(0,k.jsxs)(`div`,{className:`flex flex-col sm:flex-row items-start sm:items-center gap-4 sm:gap-6`,children:[(0,k.jsx)(`p`,{className:`text-sm sm:text-base text-white/80 whitespace-nowrap`,children:`Built by talent from`}),(0,k.jsx)(`div`,{className:`flex flex-wrap items-center gap-6 sm:gap-8`,children:Vh.map(e=>(0,k.jsx)(`img`,{loading:`eager`,src:e.src,alt:e.alt,className:`${e.className} opacity-80 hover:opacity-100 transition-opacity`,style:{filter:`brightness(0) invert(1)`}},e.alt))})]})})]})}var Uh=[.4,0,.2,1],Wh=[{label:`Medical Devices`,caption:`MDR · IVDR · ISO 13485`,image:P(`sectors/med-device-sq.avif`)},{label:`Machinery`,caption:`Machinery Regulation · CE Marking · ISO 3834`,image:P(`sectors/machinery-site.avif`)},{label:`Aerospace and Defense`,caption:`AS9100 · AQAP 2110`,image:P(`sectors/space.avif`)},{label:`Automotive`,caption:`UNECE R155 · IATF 16949`,image:P(`sectors/automotive-plant.avif`)},{label:`Energy`,caption:`IEC 61400 · Type Certification · ISO 50001`,image:P(`sectors/wind-field.avif`)},{label:`Electrical & Electronics`,caption:`LVD 2014/35/EU · EMC Directive · IEC 62368-1`,image:P(`sectors/electronics-bench.avif`)},{label:`Food & Beverage`,caption:`HACCP · Food Contact Materials · ISO 22000`,image:P(`sectors/food-line.avif`)}];function Gh(){return(0,k.jsxs)(`section`,{className:`bg-white`,children:[(0,k.jsxs)(`div`,{className:`max-w-7xl mx-auto px-8 sm:px-10 lg:px-16 pt-20 pb-12`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-4`,children:`SECTORS`}),(0,k.jsx)(`h2`,{className:`text-4xl md:text-5xl font-bold text-gray-900 mb-6`,children:`One platform, every regulated sector`}),(0,k.jsx)(`p`,{className:`text-base text-gray-600 max-w-2xl leading-relaxed`,children:`From medical devices to machinery, Seamflow adapts to the standards, evidence, and competence rules each scope demands.`})]}),(0,k.jsx)(`div`,{className:`bg-gray-200 py-px`,children:(0,k.jsxs)(`div`,{className:`grid grid-cols-2 lg:grid-cols-4 gap-px`,children:[Wh.map(e=>(0,k.jsx)(`div`,{className:`group relative aspect-[4/5] sm:aspect-square overflow-hidden bg-black`,children:(0,k.jsxs)(`div`,{className:`absolute inset-0`,children:[(0,k.jsx)(`img`,{src:e.image,alt:e.label,loading:`lazy`,decoding:`async`,className:`absolute inset-0 w-full h-full object-cover`}),(0,k.jsx)(`div`,{className:`absolute inset-0 bg-black/10`}),(0,k.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-2/5 bg-gradient-to-t from-black/70 via-black/25 to-transparent`}),(0,k.jsxs)(`div`,{className:`absolute bottom-4 left-4 right-4`,children:[(0,k.jsx)(`h3`,{className:`text-base sm:text-lg font-medium text-white`,children:e.label}),(0,k.jsx)(`div`,{className:`mt-1 overflow-hidden`,children:(0,k.jsx)(`p`,{className:`text-[10px] uppercase tracking-[0.14em] text-white/80 translate-y-full opacity-0 transition duration-500 ease-out group-hover:translate-y-0 group-hover:opacity-100`,children:e.caption})})]})]})},e.label)),(0,k.jsx)(`div`,{className:`group relative aspect-[4/5] sm:aspect-square overflow-hidden bg-black`,children:(0,k.jsxs)($.div,{className:`absolute inset-0`,initial:{opacity:0}
17,whileInView:{opacity:1},viewport:{once:!0,margin:`-80px`},transition:{duration:.6,delay:Wh.length*.05,ease:Uh},children:[(0,k.jsx)(`div`,{className:`absolute inset-0`,style:{backgroundImage:`linear-gradient(to right, rgba(139,183,255,0.12) 1px, transparent 1px), linear-gradient(to bottom, rgba(139,183,255,0.12) 1px, transparent 1px)`,backgroundSize:`44px 44px`}}),(0,k.jsxs)(`div`,{className:`absolute bottom-4 left-4 right-4`,children:[(0,k.jsx)(`h3`,{className:`text-lg sm:text-xl lg:text-2xl font-medium text-white leading-tight`,children:`And everything else the world runs on`}),(0,k.jsx)(`p`,{className:`mt-3 text-[10px] uppercase tracking-[0.14em] text-white/70`,children:`ISO 9001 · ISO 27001 · ISO 45001`}),(0,k.jsx)(`p`,{className:`mt-1.5 text-[10px] uppercase tracking-[0.2em] text-white/50 transition-colors duration-500 group-hover:text-white/80`,children:`Every regulated sector →`})]})]})})]})})]})}var Kh=[{name:`IEC 62368`,subtitle:`AV & IT Equipment`},{name:`UL Standards`,subtitle:`Safety Certification`},{name:`CE Marking`,subtitle:`European Conformity`},{name:`ISO 17025`,subtitle:`Testing & Calibration`},{name:`ISO 9001`,subtitle:`Quality Management`}],qh=[{title:`4.1 Context of Organization`,width:`85%`},{title:`5.1 Leadership Commitment`,width:`70%`},{title:`6.1 Risks & Opportunities`,width:`90%`},{title:`7.1 Resource Management`,width:`60%`},{title:`8.1 Operational Control`,width:`75%`},{title:`9.1 Performance Evaluation`,width:`80%`},{title:`10.2 Corrective Actions`,width:`65%`}];function Jh(){return(0,k.jsx)(`div`,{className:`w-full h-full`,children:(0,k.jsxs)(`div`,{className:`relative border-t border-l border-gray-200 bg-white h-full flex flex-col`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-1.5 border-b border-gray-200 bg-white`,children:[(0,k.jsx)($.div,{className:`text-[10px] font-bold uppercase tracking-wider`,initial:{opacity:0}
17,animate:{opacity:1},transition:{duration:.4},children:`AI Analysis`}),(0,k.jsx)($.div,{className:`flex items-center gap-1`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:.1},children:[...[,,,]].map((e,t)=>(0,k.jsx)(`div`,{className:`w-1.5 h-1.5 bg-gray-300`},t))})]}),(0,k.jsx)(`div`,{className:`relative flex-1 min-h-[450px] bg-[#f5f5f5] overflow-hidden`,children:(0,k.jsx)(`div`,{className:`absolute inset-0`,children:Kh.map((e,t)=>{let n=t/(Kh.length-1),r=-22+n*18,i=-100+n*70,a=80-n*60,o=.7+n*.3,s=t===Kh.length-1;return(0,k.jsx)($.div,{className:`absolute bg-white`,initial:{opacity:0,rotate:r-25,x:`calc(-50% + ${i-60}px)`,y:`calc(-50% + ${a+80}px)`,scale:.95},animate:{opacity:1,rotate:r,x:`calc(-50% + ${i}px)`,y:`calc(-50% + ${a}px)`,scale:1},transition:{duration:.9,delay:t*.08,ease:[.16,1,.3,1]},style:{width:`280px`,height:`360px`,left:`50%`,top:`50%`,zIndex:t+1,filter:`brightness(${o})`,border:s?`1.5px solid #333`:`1px solid #d4d4d4`,boxShadow:s?`0 6px 24px rgba(0,0,0,0.1)`:`0 ${1+t*.3}px ${3+t}px rgba(0,0,0,0.04)`},children:(0,k.jsxs)(`div`,{className:`h-full p-4 flex flex-col`,style:{opacity:s?1:.6+n*.2},children:[(0,k.jsxs)(`div`,{className:`mb-2`,children:[(0,k.jsx)(`div`,{className:`text-xs font-bold uppercase tracking-wider text-gray-900 mb-0.5`,style:{fontFamily:`monospace`},children:e.name}),(0,k.jsx)(`div`,{className:`text-[8px] uppercase tracking-wider text-gray-500`,children:e.subt
17itle})]}),(0,k.jsx)(`div`,{className:`h-px w-full bg-gray-300 mb-3`}),s?(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col gap-2 overflow-hidden`,children:[qh.map((e,t)=>(0,k.jsxs)($.div,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0},transition:{duration:.5,delay:.6+t*.08,ease:[.16,1,.3,1]},className:`flex flex-col gap-0.5`,children:[(0,k.jsx)(`div`,{className:`text-[7px] font-medium text-gray-600 uppercase tracking-wide`,children:e.title}),(0,k.jsx)(`div`,{className:`h-1 w-full bg-gray-100 overflow-hidden`,children:(0,k.jsx)($.div,{className:`h-full bg-gray-300`,initial:{width:0},animate:{width:e.width},transition:{duration:1,delay:.8+t*.1,ease:[.16,1,.3,1]}})})]},e.title)),(0,k.jsx)($.div,{className:`mt-auto pt-2`,initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:1.8,ease:[.16,1,.3,1]},children:(0,k.jsx)(`div`,{className:`flex justify-end`,children:(0,k.jsx)(`div`,{className:`bg-black text-white px-3 py-1.5 text-[8px] uppercase tracking-wider font-medium cursor-pointer hover:bg-gray-800 transition-colors`,children:`Generate Report`})})})]}):(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col gap-1.5`,children:[(0,k.jsx)(`div`,{className:`h-1.5 w-full bg-gray-200`}),(0,k.jsx)(`div`,{className:`h-1.5 w-[85%] bg-gray-200`}),(0,k.jsx)(`div`,{className:`h-1.5 w-[70%] bg-gray-200`}),(0,k.jsx)(`div`,{className:`h-2`}),(0,k.jsx)(`div`,{className:`h-1.5 w-full bg-gray-200`}),(0,k.jsx)(`div`,{className:`h-1.5 w-[90%] bg-gray-200`})]})]})},e.name)})})})]})})}var Yh=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`],Xh=[20,21,22,23,24],Zh={blue:{bg:`#8bb7ff`,text:`#1e3a5f`},lightBlue:{bg:`#d4e4ff`,text:`#1e3a5f`},mint:{bg:`#d1fae5`,text:`#065f46`},amber:{bg:`#fef3c7`,text:`#92400e`},gray:{bg:`#e5e7eb`,text:`#374151`}},Qh=[{initials:`MK`,name:`M. Klein`,role:`Lead Auditor`,blocks:[{start:0,span:2,label:`ISO 9001`,client:`Axon Industries`,color:Zh.blue},{start:3,span:2,label:`ISO 14001`,client:`Vektor AG`,color:Zh.mint}]}
17,{initials:`SR`,name:`S. Rivera`,role:`Senior Auditor`,blocks:[{start:1,span:3,label:`MDR Audit`,client:`Novera Medical`,color:Zh.lightBlue}]},{initials:`JT`,name:`J. Taylor`,role:`Auditor`,blocks:[{start:0,span:1,label:`IEC 62443`,client:`Cyberion`,color:Zh.amber},{start:2,span:2,label:`ISO 17025`,client:`Calibra Labs`,color:Zh.blue}]},{initials:`AL`,name:`A. Liu`,role:`Junior Auditor`,blocks:[{start:3,span:2,label:`ISO 13485`,client:`Pulse Diagnostics`,color:Zh.lightBlue}]},{initials:`EP`,name:`E. Patel`,role:`Auditor`,blocks:[{start:0,span:2,label:`BRCGS`,client:`Harvest Foods`,color:Zh.mint},{start:4,span:1,label:`FSSC 22000`,client:`NutriCore`,color:Zh.blue}]},{initials:`NW`,name:`N. Weber`,role:`Senior Auditor`,blocks:[{start:1,span:2,label:`ISO 27001`,client:`SecureNet`,color:Zh.amber},{start:4,span:1,label:`ISO 22301`,client:`Continuity Co`,color:Zh.gray}]},{initials:`CH`,name:`C. Hansen`,role:`Auditor`,blocks:[{start:0,span:1,label:`ISO 45001`,client:`SafeWork Ltd`,color:Zh.gray},{start:2,span:3,label:`IATF 16949`,client:`AutoParts GmbH`,color:Zh.blue}]}];function $h(){return(0,k.jsx)(`div`,{className:`w-full h-full`,children:(0,k.jsxs)(`div`,{className:`relative border-t border-l border-gray-200 bg-white h-full flex flex-col`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-1.5 border-b border-gray-200 bg-white`,children:[(0,k.jsx)($.div,{className:`text-[10px] font-bold uppercase tracking-wider`,initial:{opacity:0}
17,animate:{opacity:1},transition:{duration:.4},children:`Weekly Planner`}),(0,k.jsx)($.div,{className:`text-[9px] text-gray-500`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:.1},children:`Jan 20 - 24, 2026`})]}),(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col overflow-hidden bg-[#fafafa]`,children:[(0,k.jsxs)(`div`,{className:`flex border-b border-gray-200`,children:[(0,k.jsx)(`div`,{className:`w-[100px] flex-shrink-0 px-2 py-1 border-r border-gray-200 bg-gray-50`,children:(0,k.jsx)(`span`,{className:`text-[8px] text-gray-500 uppercase tracking-wider`,children:`Auditor`})}),(0,k.jsx)(`div`,{className:`flex-1 flex`,children:Yh.map((e,t)=>(0,k.jsxs)($.div,{className:`flex-1 px-1 py-1 text-center border-r border-gray-100 last:border-r-0 bg-gray-50`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,delay:.1+t*.05},children:[(0,k.jsx)(`div`,{className:`text-[7px] text-gray-500 uppercase`,children:e}),(0,k.jsx)(`div`,{className:`text-[9px] font-medium text-gray-700`,children:Xh[t]})]},e))})]}),(0,k.jsx)(`div`,{className:`flex-1 flex flex-col`,children:Qh.map((e,t)=>(0,k.jsxs)($.div,{className:`flex-1 flex border-b border-gray-100 last:border-b-0 min-h-[32px]`,initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.5,delay:.2+t*.06,ease:[.16,1,.3,1]},children:[(0,k.jsxs)(`div`,{className:`w-[100px] flex-shrink-0 px-2 py-1 border-r border-gray-200 bg-white flex items-center gap-1.5`,children:[(0,k.jsx)(`div`,{className:`w-4 h-4 bg-black text-white flex items-center justify-center text-[5px] font-bold flex-shrink-0`,children:e.initials}),(0,k.jsxs)(`div`,{className:`min-w-0`,children:[(0,k.jsx)(`div`,{className:`text-[7px] font-medium text-gray-800 leading-tight truncate`,children:e.name}),(0,k.jsx)(`div`,{className:`text-[5px] text-gray-500 truncate`,children:e.role})]})]}),(0,k.jsxs)(`div`,{className:`flex-1 relative`,children:[(0,k.jsx)(`div`,{className:`absolute inset-0 flex`,children:Yh.map((e,t)=>(0,k.jsx)(`div`,{className:`flex-1 border-r border-gray-100 last:border-r-0`},t))}),e.blocks.map((n,r)=>(0,k.jsxs)($.div,{className:`absolute top-1 bottom-1 px-1.5 flex flex-col justify-center overflow-hidden`,style:{left:`${n.start/5*100}%`,width:`calc(${n.span/5*100}% - 3px)`,marginLeft:`1.5px`,backgroundColor:n.color.bg,color:n.color.text},initial:{opacity:0,scaleX:0},animate:{opacity:1,scaleX:1},transition:{duration:.6,delay:.4+t*.06+r*.06,ease:[.16,1,.3,1]},children:[(0,k.jsx)(`div`,{className:`text-[6px] font-medium truncate`,children:n.label}),(0,k.jsx)(`div`,{className:`text-[5px] opacity-70 truncate`,children:n.client})]},`${e.initials}-${r}`))]})]},e.initials))}),(0,k.jsx)($.div,{className:`m-2 p-1.5 bg-[#F0F6FF] border border-[#d4e4ff]`,initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:1,ease:[.16,1,.3,1]},children:(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,k.jsx)($.div,{className:`w-4 h-4 bg-[#8bb7ff] flex items-center justify-center flex-shrink-0`,animate:{opacity:[1,.7,1]},transition:{duration:2,repeat:1/0},children:(0,k.jsx)(`span`,{className:`text-[5px] text-white font-bold`,children:`AI`})}),(0,k.jsx)(`div`,{className:`text-[7px] text-gray-600 truncate`,children:`Optimize: Move Wed audit → save 45km travel`})]}),(0,k.jsx)($.div,{className:`px-2 py-0.5 bg-[#8bb7ff] text-[#1e3a5f] text-[6px] uppercase tracking-wider font-medium cursor-pointer flex-shrink-0 hover:bg-[#7aa8f0] transition-colors`,initial:{opacity:0}
17,animate:{opacity:1},transition:{delay:1.3},children:`Apply`})]})})]})]})})}var eg=[{label:`Intake`,items:3},{label:`File Review`,items:4},{label:`Final Review`,items:2},{label:`Decision`,items:1}];function tg(){return(0,k.jsx)(`div`,{className:`w-full h-full`,children:(0,k.jsxs)(`div`,{className:`relative border-t border-l border-gray-200 bg-white h-full flex flex-col`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-1.5 border-b border-gray-200 bg-white`,children:[(0,k.jsx)($.div,{className:`text-[10px] font-bold uppercase tracking-wider`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.4},children:`Workflow Overview`}),(0,k.jsxs)($.div,{className:`flex items-center gap-1.5`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:.1},children:[(0,k.jsx)(`div`,{className:`w-1.5 h-1.5 bg-[#8bb7ff]`}),(0,k.jsx)(`span`,{className:`text-[8px] text-gray-500`,children:`52 active`})]})]}),(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col overflow-hidden bg-[#fafafa] p-4`,children:[(0,k.jsx)(`div`,{className:`flex-1 flex gap-3`,children:eg.map((e,t)=>(0,k.jsxs)($.div,{className:`flex-1 flex flex-col`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2+t*.1,ease:[.16,1,.3,1]},children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between mb-2 px-1`,children:[(0,k.jsx)(`span`,{className:`text-[8px] font-medium text-gray-600 uppercase tracking-wider`,children:e.label}),(0,k.jsx)(`span`,{className:`text-[7px] text-gray-500`,children:e.items})]}),(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col gap-2`,children:[[...Array(e.items)].map((e,n)=>(0,k.jsxs)($.div,{className:`bg-white border border-gray-200 p-2`,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.4,delay:.4+t*.1+n*.05,ease:[.16,1,.3,1]},children:[(0,k.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,k.jsx)(`div`,{className:`h-1.5 bg-gray-200`,style:{width:`${60+Math.random()*30}%`}}),(0,k.jsx)(`div`,{className:`h-1 bg-gray-100`,style:{width:`${40+Math.random()*40}%`}})]}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between mt-2 pt-1.5 border-t border-gray-100`,children:[(0,k.jsx)(`div`,{className:`flex gap-1`,children:[...Array(2+Math.floor(Math.random()*2))].map((e,t)=>(0,k.jsx)(`div`,{className:`w-3 h-3 bg-gray-100`},t))}),(0,k.jsx)(`div`,{className:`w-1.5 h-1.5 ${t===3?`bg-[#8bb7ff]`:t>=2?`bg-gray-300`:`bg-gray-200`}`})]})]},n)),e.items<3&&(0,k.jsx)(`div`,{className:`flex-1 border border-dashed border-gray-200 bg-gray-50/50`})]})]},e.label))}),(0,k.jsxs)($.div,{className:`mt-3 pt-3 border-t border-gray-200 flex items-center justify-between`,initial:{opacity:0}
17,animate:{opacity:1},transition:{duration:.5,delay:.8},children:[(0,k.jsx)(`div`,{className:`flex items-center gap-4`,children:[{value:`52`,label:`Active`},{value:`137`,label:`Completed`},{value:`71`,label:`Pending`}].map(e=>(0,k.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,k.jsx)(`span`,{className:`text-[10px] font-medium text-gray-700`,children:e.value}),(0,k.jsx)(`span`,{className:`text-[8px] text-gray-500`,children:e.label})]},e.label))}),(0,k.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,k.jsx)(`div`,{className:`h-1 w-16 bg-gray-100 overflow-hidden`,children:(0,k.jsx)($.div,{className:`h-full bg-[#8bb7ff]`,initial:{width:0},animate:{width:`78%`},transition:{duration:1,delay:1,ease:[.16,1,.3,1]}})}),(0,k.jsx)(`span`,{className:`text-[8px] text-gray-500`,children:`78%`})]})]})]})]})})}var ng=[{ref:`§1`,title:`Scope`,tag:`Complete`,status:`drafted`},{ref:`§2`,title:`Background`,tag:`Complete`,status:`drafted`},{ref:`§3`,title:`Evidence reviewed`,tag:`47 sources`,status:`drafted`},{ref:`§4`,title:`Findings & analysis`,tag:`Drafting…`,status:`drafting`},{ref:`§5`,title:`Conclusion`,tag:`Queued`,status:`queued`}];function rg(){return(0,k.jsx)(`div`,{className:`w-full h-full`,children:(0,k.jsxs)(`div`,{className:`relative border-t border-l border-gray-200 bg-white h-full flex flex-col`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-1.5 border-b border-gray-200 bg-white`,children:[(0,k.jsx)($.div,{className:`text-[10px] font-bold uppercase tracking-wider`,initial:{opacity:0}
17,animate:{opacity:1},transition:{duration:.4},children:`Report · Draft`}),(0,k.jsxs)($.div,{className:`flex items-center gap-1.5`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:.1},children:[(0,k.jsx)($.div,{className:`w-1.5 h-1.5 bg-[#8bb7ff]`,animate:{opacity:[1,.4,1]},transition:{duration:2,repeat:1/0}}),(0,k.jsx)(`span`,{className:`text-[8px] text-gray-500 uppercase tracking-wider`,children:`Auto-draft`})]})]}),(0,k.jsxs)(`div`,{className:`flex-1 flex flex-col overflow-hidden bg-[#fafafa] p-4`,children:[(0,k.jsxs)($.div,{className:`flex items-start justify-between mb-3`,initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2,ease:[.16,1,.3,1]},children:[(0,k.jsxs)(`div`,{className:`min-w-0`,children:[(0,k.jsx)(`div`,{className:`text-[13px] font-bold text-gray-900`,children:`Report draft`}),(0,k.jsx)(`div`,{className:`text-[7px] text-gray-500 uppercase tracking-wider mt-0.5`,children:`Template applied · 47 sources`})]}),(0,k.jsxs)(`div`,{className:`text-[8px] text-gray-500 text-right flex-shrink-0 ml-3`,children:[`8 / 12 sections`,(0,k.jsx)(`br`,{}),(0,k.jsx)(`span`,{className:`text-gray-500`,children:`drafted`})]})]}),(0,k.jsx)(`div`,{className:`flex-1 flex flex-col gap-1.5`,children:ng.map((e,t)=>{let n=e.status===`drafting`,r=e.status===`queued`;return(0,k.jsxs)($.div,{className:`flex items-center justify-between px-2.5 py-2 border ${n?`border-[#8bb7ff] bg-[#F0F6FF]`:`border-gray-200 bg-white`}`,initial:{opacity:0,x:-10},animate:{opacity:r?.5:1,x:0},transition:{duration:.5,delay:.3+t*.1,ease:[.16,1,.3,1]},children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[n?(0,k.jsx)($.div,{className:`w-1.5 h-1.5 bg-[#8bb7ff] flex-shrink-0`,animate:{opacity:[1,.3,1]},transition:{duration:1.4,repeat:1/0}}):r?(0,k.jsx)(`div`,{className:`w-1.5 h-1.5 border border-gray-300 flex-shrink-0`}):(0,k.jsx)(`div`,{className:`w-1.5 h-1.5 bg-gray-700 flex-shrink-0`}),(0,k.jsx)(`span`,{className:`text-[8px] text-gray-600 font-mono flex-shrink-0`,children:e.ref}),(0,k.jsx)(`span`,{className:`text-[10px] font-medium text-gray-800 truncate`,children:e.title})]}),(0,k.jsx)(`span`,{className:`text-[7px] uppercase tracking-wider px-1.5 py-0.5 flex-shrink-0 ml-2 ${n?`text-[#1e3a5f] bg-[#d4e4ff]`:`text-gray-600 bg-gray-100`}`,children:e.tag})]},e.ref)})}),(0,k.jsxs)($.div,{className:`mt-3 pt-3 border-t border-gray-200 flex items-center justify-between`,initial:{opacity:0}
17,animate:{opacity:1},transition:{duration:.5,delay:.9},children:[(0,k.jsx)(`div`,{className:`text-[8px] text-gray-500 uppercase tracking-wider`,children:`8 / 12 drafted · 3 queued`}),(0,k.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,k.jsx)($.div,{className:`w-1.5 h-1.5 bg-[#8bb7ff]`,animate:{opacity:[1,.4,1]},transition:{duration:1.4,repeat:1/0}}),(0,k.jsx)(`span`,{className:`text-[8px] text-gray-500 uppercase tracking-wider`,children:`Drafting §4 · Findings & analysis`})]})]})]})]})})}var ig=[{id:1,title:`Notified Body Suite`,description:`From intake to certificate, one operational system.
18
19Not a reviewer add-on, an end-to-end platform covering intake, client portals, pre-checks, technical review, decision making, and audit trails.
20
21We model your real regulatory workflows and produce a complete, auditable record.`,Graphic:tg},{id:2,title:`Scheduling Agents`,description:`Scheduling that works like an operations team.
22
23
24• Automatically reach out to freelance auditors to confirm availability
25• Apply your own assignment and rotation rules, enforced automatically
26• Check travel routes, flight availability, and on-site feasibility
27• Match niche competence and regulatory scope
28
29
30All while enforcing competence, impartiality, and independence by default.`,Graphic:$h},{id:3,title:`Tech File Review`,description:`Tech File Review, one controlled review workflow.
31
32Not a document reader, a structured review system covering file intake, evidence mapping, gap identification, reviewer input, and final technical conclusions.
33
34We structure technical documentation against applicable requirements and produce a complete, traceable, auditable review record.`,Graphic:Jh},{id:4,title:`Report Writing`,description:`From reviewed evidence to a finished report, automatically drafted.
35
36Not a text generator, an AI drafting system that writes structured reports against your own templates and standards, section by section.
37
38We draft from the evidence and cite exactly where every conclusion comes from, so experts spend their time on judgement, not writing.`,Graphic:rg}],ag=[.33,1,.68,1];function og(){let[e,t]=(0,O.useState)(1),[n,r]=(0,O.useState)(0),i=n=>{n!==e&&(t(n),r(e=>e+1))};return(0,k.jsxs)(`section`,{className:`pt-32 pb-0 bg-white`,children:[(0,k.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mb-16`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-4`,children:`PRODUCTS`}),(0,k.jsx)(`h2`,{className:`text-4xl md:text-5xl font-bold text-gray-900`,children:`Our Platform`})]}),(0,k.jsx)(`div`,{className:`hidden lg:flex border-t border-l border-gray-200 h-[540px]`,children:ig.map(t=>{let r=e===t.id;return(0,k.jsxs)($.div,{onClick:()=>i(t.id),className:`border-r border-b border-gray-200 overflow-hidden flex ${r?`cursor-default`:`curs
38or-pointer`}`,animate:{flex:r?3:1},transition:{duration:.6,ease:ag},children:[(0,k.jsxs)(`div`,{className:`flex flex-col p-6 min-w-[240px] max-w-[320px] flex-shrink-0`,children:[(0,k.jsx)(`span`,{className:`text-sm text-gray-500 mb-4`,children:String(t.id).padStart(2,`0`)}),(0,k.jsx)(`h3`,{className:`text-xl font-bold text-gray-900 mb-4`,children:t.title}),(0,k.jsx)($.div,{className:`text-sm text-gray-600 leading-relaxed`,animate:{opacity:+!!r},transition:{duration:.4,ease:ag,delay:r?.2:0},children:t.description.split(`
39
40`).map((e,t)=>e.includes(`•`)?(0,k.jsx)(`ul`,{className:`space-y-1.5 my-3`,children:e.split(`
41`).map((e,t)=>(0,k.jsx)(`li`,{className:`text-gray-500 text-[13px] leading-snug pl-1`,children:e},t))},t):t===0?(0,k.jsx)(`p`,{className:`font-medium text-gray-800 mb-3`,children:e},t):(0,k.jsx)(`p`,{className:`text-gray-500 text-[13px] leading-relaxed mb-3 last:mb-0`,children:e},t))})]}),(0,k.jsx)(`div`,{className:`
42                    flex-1 min-w-0 mt-6 overflow-hidden
43                    ${r?`opacity-100`:`opacity-0`}
44                  `,style:{transition:`opacity 0.4s ease-out`},children:(0,k.jsx)(`div`,{className:`h-full w-full overflow-hidden`,children:(0,k.jsx)(t.Graphic,{},n)})})]},t.id)})}),(0,k.jsx)(`div`,{className:`lg:hidden border-t border-gray-200`,children:ig.map(t=>{let r=e===t.id;return(0,k.jsxs)(`div`,{onClick:()=>i(t.id),className:`border-b border-gray-200 p-6 ${r?`cursor-default`:`curs
44or-pointer`}`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between mb-2`,children:[(0,k.jsx)(`h3`,{className:`text-lg font-bold text-gray-900`,children:t.title}),(0,k.jsx)(`span`,{className:`text-sm text-gray-500`,children:String(t.id).padStart(2,`0`)})]}),(0,k.jsx)(kp,{initial:!1,children:r&&(0,k.jsxs)($.div,{initial:{height:0,opacity:0},animate:{height:`auto`,opacity:1},exit:{height:0,opacity:0},transition:{height:{duration:.4,ease:ag},opacity:{duration:.3,ease:ag}},className:`overflow-hidden`,children:[(0,k.jsx)(`div`,{className:`mb-4 mt-4 overflow-hidden`,children:(0,k.jsx)(t.Graphic,{},n)}),(0,k.jsx)(`p`,{className:`text-sm text-gray-600 leading-relaxed whitespace-pre-line`,children:t.description})]})})]},t.id)})})]})}var sg=typeof window>`u`?O.useEffect:O.useLayoutEffect,cg=[{metric:51.2,suffix:`%`,title:`Less Time Spent per Technical Assessment`,description:`Automated completeness checks, evidence structuring, and AI-assisted report drafting reduce manual effort across pre-check and review preparation, `,highlight:`lowering assessment cost per certificate.`},{metric:25.7,suffix:`%`,title:`Higher Assessment Throughput per Team`,description:`Review teams complete more assessments over time by focusing on technical judgment instead of document navigation and manual coordination, `,highlight:`increasing revenue capacity without linear headcount growth.`},{metric:20.4,suffix:`%`,title:`Higher Internal Auditor Utilization`,description:`Qualification-aware scheduling improves use of internal auditors before relying on subcontractors, without compromising independence rules, `,highlight:`improving margins by shifting work in-house.`}];function lg(e,t){return t>0?e.toFixed(1):Math.round(e).toString()}function ug({value:e,isInView:t}){let n=Mh(0,{stiffness:50,damping:30,restDelta:.001}),r=e%1==0?0:1,i=Oh(n,e=>lg(e,r)),[a,o]=(0,O.useState)(()=>lg(e,r)),s=(0,O.useRef)(!1);return sg(()=>{!t||s.current||(s.current=!0,n.set(e),o(`0`))},[t,n,e]),(0,O.useEffect)(()=>i.on(`change`,e=>{o(e)}),[i]),(0,k.jsx)(k.Fragment,{children:a})}function dg(){let e=(0,O.useRef)(null),t=Fh(e,{once:!0,margin:`-100px`});return(0,k.jsxs)(`section`,{className:`bg-black pt-20 pb-20`,children:[(0,k.jsx)(`div`,{className:`px-4 sm:px-6 lg:px-8`,children:(0,k.jsxs)(`div`,{className:`mx-auto mb-14 flex max-w-7xl flex-col gap-6 lg:flex-row lg:items-end lg:justify-between lg:gap-20`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`mb-4 text-xs uppercase tracking-wider text-white/55`,children:`OUTCOMES`}),(0,k.jsx)(`h2`,{className:`text-4xl font-bold text-white md:text-5xl`,children:`Measurable impact on operations`})]}),(0,k.jsx)(`p`,{className:`max-w-sm text-sm leading-relaxed text-white/55`,children:`Measured across deployments, against each organisation’s own pre-deployment baseline.`})]})}),(0,k.jsx)(`div`,{className:`h-px w-full bg-white/20`}),(0,k.jsx)(`div`,{className:`px-4 sm:px-6 lg:px-8`,children:(0,k.jsx)(`div`,{ref:e,className:`mx-auto grid max-w-7xl grid-cols-1 md:grid-cols-3`,children:cg.map((e,n)=>(0,k.jsxs)($.div,{initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{opacity:0,y:20},transition:{duration:.5,delay:n*.1,ease:[.4,0,.2,1]},className:`group flex flex-col gap-5 border-white/20 py-10 transition-colors duration-500 ease-out hover:bg-white/[0.03] md:border-l md:px-8 md:first:border-l-0 md:first:pl-0 md:last:pr-0`,children:[(0,k.jsx)(`span`,{className:`text-xs text-white/35 tabular-nums`,children:String(n+1).padStart(2,`0`)}),(0,k.jsxs)(`div`,{className:`flex items-baseline gap-1`,children:[(0,k.jsx)(`span`,{className:`text-5xl font-bold text-white tabular-nums md:text-6xl`,children:(0,k.jsx)(ug,{value:e.metric,isInView:t})}),(0,k.jsx)(`span`,{className:`text-2xl font-bold text-white/55`,children:e.suffix})]}),(0,k.jsx)(`h3`,{className:`text-lg font-bold text-white`,children:e.title}),(0,k.jsxs)(`p`,{className:`text-sm leading-relaxed text-white/60`,children:[e.description,(0,k.jsx)(`span`,{className:`font-medium text-white`,children:e.highlight})]})]},e.title))})}),(0,k.jsx)(`div`,{className:`h-px w-full bg-white/20`})]})}var fg=1400,pg=600,mg=P(`editorial/sector-pressure-eq.avif`),hg=P(`integrations`),gg=[{name:`SAP`,src:P(`logos/companies/sap.svg`),height:`h-[13px]`},{name:`Oracle`,src:`${hg}/integration-2.avif`,height:`h-[9px]`},{name:`Microsoft`,src:`${hg}/integration-3.avif`,height:`h-[13px]`},{name:`SharePoint`,src:`${hg}/integration-6.avif`,height:`h-[13px]`}],_g=[{name:`Quoting`,active:!1},{name:`Scheduling`,active:!1},{name:`Test planning`,active:!1},{name:`Completeness`,active:!1},{name:`TD Assistant`,active:!0},{name:`NC identification`,active:!1},{name:`Report drafting`,active:!1}],vg=[`M-10 150 H24 Q60 150 60 186 V262 Q60 292 90 292 H128`,`M286 288 H330 Q364 288 364 254 V226 Q364 196 396 196 H412`,`M638 208 H694 Q720 208 720 194 Q720 186 734 186 H752`,`M998 232 H1046 Q1078 232 1078 198 V172 Q1078 152 1098 152 H1112`],yg=`M1340 232 H1348 Q1362 232 1362 246 V304 Q1362 318 1376 318 H1400`,bg=`absolute z-[4] box-border border border-white/15 bg-[#161616] shadow-[0_24px_50px_rgba(0,0,0,.5)] transition duration-500 ease-out hover:-translate-y-2 hover:border-white/35 hover:shadow-[0_38px_74px_rgba(0,0,0,.65)]`,xg=[{title:`Integrate with Existing Systems`,description:`Seamflow joins your document management, QMS, ERP and identity stack, inside the IT and security constraints you already run.`},{title:`Model Your Certification Rules`,description:`Regulatory scopes, standards, roles, independence rules and approval flows are configured to match how your organization actually operates.`}
44,{title:`Deploy AI Where It Adds Leverage`,description:`AI is embedded into quoting, scheduling, test planning, pre-checks, technical review and reporting, supporting execution without bypassing controls.`},{title:`Human-in-the-Loop by Design`,description:`Every output is reviewable, explainable and auditable. The technical judgment and the certification decision stay with your people.`}];function Sg(){let e=(0,O.useRef)(null),[t,n]=(0,O.useState)(1);return(0,O.useLayoutEffect)(()=>{let t=e.current;if(t===null)return;n(t.clientWidth/fg);let r=new ResizeObserver(([e])=>n(e.contentRect.width/fg));return r.observe(t),()=>r.disconnect()},[]),(0,k.jsxs)(`section`,{className:`bg-black`,children:[(0,k.jsx)(`div`,{className:`px-4 pt-28 pb-14 sm:px-6 lg:px-8`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-7xl`,children:[(0,k.jsx)(`p`,{className:`mb-4 text-xs uppercase tracking-wider text-white/55`,children:`HOW WE WORK`}),(0,k.jsxs)(`h2`,{className:`text-4xl font-bold leading-tight text-white md:text-5xl`,children:[`Implementation that`,` `,(0,k.jsx)(`span`,{className:`text-accent`,children:`adapts to you`})]}),(0,k.jsx)(`p`,{className:`mt-7 max-w-3xl text-base leading-relaxed text-white/55 md:text-lg`,children:`Seamflow deploys in collaboration with your IT, operations, and quality teams, on your systems, your rules, and your real constraints, so the software generates impact from day one.`})]})}),(0,k.jsx)(`div`,{className:`hidden h-px w-full bg-white/30 lg:block`}),(0,k.jsx)(`div`,{ref:e,className:`relative hidden w-full overflow-hidden lg:block`,style:{aspectRatio:`${fg} / ${pg}`},children:(0,k.jsxs)(`div`,{className:`absolute top-0 left-0 origin-top-left`,style:{width:fg,height:pg,transform:`scale(${t})`},children:[(0,k.jsxs)(`div`,{className:`absolute inset-0 z-0 overflow-hidden`,children:[(0,k.jsx)(`div`,{className:`absolute -inset-8 bg-cover bg-[center_38%] opacity-[0.62] blur-[7px] saturate-[0.6]`,style:{backgroundImage:`url('${mg}')`}}),(0,k.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(to_bottom,rgba(0,0,0,.42)_0%,rgba(0,0,0,.55)_42%,rgba(0,0,0,.9)_66%,#000000_78%)]`})]}),(0,k.jsx)(`div`,{className:`absolute top-0 bottom-0 left-[350px] z-[2] w-px bg-white/30`}),(0,k.jsx)(`div`,{className:`absolute top-0 bottom-0 left-[700px] z-[2] w-px bg-white/30`}),(0,k.jsx)(`div`,{className:`absolute top-0 bottom-0 left-[1050px] z-[2] w-px bg-white/30`}),(0,k.jsxs)(`svg`,{viewBox:`0 0 1400 600`,width:fg,height:pg,className:`absolute inset-0 z-[3]`,fill:`none`,children:[vg.map(e=>(0,k.jsx)(`path`,{d:e,stroke:`rgba(255,255,255,.22)`,strokeWidth:1.2},e)),(0,k.jsx)(`g`,{stroke:`#8BB7FF`,strokeWidth:1.4,strokeDasharray:`16 130`,className:`animate-wire-flow`,children:vg.map(e=>(0,k.jsx)(`path`,{d:e},e))})]}),(0,k.jsxs)(`svg`,{viewBox:`0 0 1400 600`,width:fg,height:pg,className:`pointer-events-none absolute inset-0 z-[5]`,fill:`none`,children:[(0,k.jsx)(`path`,{d:yg,stroke:`rgba(255,255,255,.22)`,strokeWidth:1.2}),(0,k.jsx)(`path`,{d:yg,stroke:`#8BB7FF`,strokeWidth:1.4,strokeDasharray:`16 130`,className:`animate-wire-flow`})]}),(0,k.jsxs)(`div`,{className:`${bg} group flex w-[214px] flex-col gap-[12px] p-[14px_14px_16px] left-[72px] top-[92px]`,children:[(0,k.jsxs)(`div`,{className:`flex gap-[5px]`,children:[(0,k.jsx)(`span`,{className:`size-[5px] bg-white/30`}),(0,k.jsx)(`span`,{className:`size-[5px] bg-white/[0.18]`}),(0,k.jsx)(`span`,{className:`size-[5px] bg-white/[0.18]`})]}),(0,k.jsxs)(`div`,{className:`flex flex-col gap-[5px]`,children:[(0,k.jsx)(`span`,{className:`h-1 w-[76%] bg-white/50`}),(0,k.jsx)(`span`,{className:`h-1 w-[52%] bg-white/[0.18]`})]}),(0,k.jsx)(`div`,{className:`grid grid-cols-2 gap-[10px]`,children:gg.map((e,t)=>(0,k.jsx)(`span`,{className:`flex h-[44px] items-center justify-center border border-white/12 px-2 transition-colors duration-500 ease-out group-hover:border-accent/45`,style:{transitionDelay:`${t*70}ms`},children:(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:e.src,alt:e.name,className:`w-auto max-w-full object-contain opacity-70 brightness-0 invert transition-opacity duration-500 ease-out group-hover:opacity-100 ${e.height}`,style:{transitionDelay:`${t*70}ms`}})},e.name))}),(0,k.jsx)(`div`,{className:`flex items-center justify-center border border-accent p-[10
44px] transition-colors duration-500 ease-out group-hover:bg-accent/15`,children:(0,k.jsx)(`span`,{className:`text-[8px] tracking-[0.14em] text-accent uppercase`,children:`Your stack`})})]}),(0,k.jsxs)(`div`,{className:`${bg} group flex w-[226px] flex-col gap-[10px] p-[14px] left-[412px] top-[104px]`,children:[(0,k.jsx)(`span`,{className:`h-1 w-[58%] bg-white/50`}),(0,k.jsx)(`pre`,{className:`border-l-2 border-transparent pl-2 font-mono text-[8.5px] leading-[1.75] text-white/65 transition-colors duration-500 ease-out group-hover:border-accent group-hover:text-white/90`,children:`if scope in ["MDR", "PED",
45             "ISO 9001", "EN 1090"]
46  require:
47    - independence: true
48    - competence: level-3
49    - last_audit > 90d`}),(0,k.jsx)(`div`,{className:`flex flex-col gap-[9px] pt-[2px]`,children:[100,44,62].map((e,t)=>(0,k.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`h-[3px] w-[38px] flex-none bg-white/55`}),(0,k.jsx)(`span`,{className:`h-[3px] bg-white/15 transition-colors duration-500 ease-out group-hover:bg-white/40`,style:{width:`${e}%`,transitionDelay:`${t*90}ms`}})]},e))})]}),(0,k.jsxs)(`div`,{className:`${bg} group w-[246px] left-[752px] top-[130px]`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between p-[10px_12px]`,children:[(0,k.jsx)(`span`,{className:`h-[3px] w-[44px] bg-white/30`}),(0,k.jsxs)(`span`,{className:`flex items-center gap-[5px] border border-white/20 px-[6px] py-[3px]`,children:[(0,k.jsx)(`span`,{className:`size-1 animate-pulse bg-accent`}),(0,k.jsx)(`span`,{className:`text-[7px] tracking-[0.12em] text-white/55 uppercase`,children:`Live`})]})]}),(0,k.jsxs)(`div`,{className:`relative mx-3 h-[140px] overflow-hidden border-y border-white/10`,children:[(0,k.jsx)(`div`,{className:`absolute inset-0 flex flex-col justify-center gap-2 px-[2px]`,children:_g.map(e=>(0,k.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,k.jsx)(`span`,{className:`h-[3px] w-[34px] flex-none ${e.active?`bg-white/50`:`bg-white/30`}`}),(0,k.jsx)(`span`,{className:`text-[8px] ${e.active?`text-white/80`:`text-white/55`}`,children:e.name})]},e.name))}),(0,k.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 left-0 w-full opacity-0 transition-opacity duration-500 ease-out group-hover:opacity-100`,children:(0,k.jsx)(`div`,{className:`animate-evidence-scan h-full w-full [animation-play-state:paused] group-hover:[animation-play-state:running]`,children:(0,k.jsx)(`span`,{className:`absolute inset-y-0 left-0 w-px bg-accent shadow-[0_0_14px_2px_rgba(139,183,255,.4)]`})})})]}),(0,k.jsxs)(`div`,{className:`flex items-center justify-center gap-3.5 p-3`,children:[(0,k.jsx)(`span`,{className:`size-[22px] border border-white/[0.18]`}),(0,k.jsx)(`span`,{className:`flex size-[26px] items-center justify-center border border-accent`,children:(0,k.jsx)(`span`,{className:`size-[7px] bg-accent`})}),(0,k.jsx)(`span`,{className:`size-[22px] border border-white/[0.18]`})]})]}),(0,k.jsxs)(`div`,{className:`${bg} group flex w-[228px] flex-col gap-3 p-[14px] left-[1112px] top-[116px]`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,k.jsxs)(`div`,{className:`flex gap-[5px]`,children:[(0,k.jsx)(`span`,{className:`size-[5px] bg-white/30`}),(0,k.jsx)(`span`,{className:`size-[5px] bg-white/[0.18]`}),(0,k.jsx)(`span`,{className:`size-[5px] bg-white/[0.18]`})]}),(0,k.jsx)(`span`,{className:`h-[3px] w-5 bg-white/20`})]}),(0,k.jsxs)(`div`,{className:`flex flex-col gap-[6px]`,children:[(0,k.jsx)(`span`,{className:`h-1 w-[66%] bg-white/45`}),(0,k.jsx)(`span`,{className:`h-[3px] w-[40%] bg-white/[0.16]`})]}),(0,k.jsxs)(`div`,{className:`flex flex-col gap-[7px]`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between border border-white/[0.14] px-2 py-[7px] transition-opacity duration-500 ease-out group-hover:opacity-45`,children:[(0,k.jsx)(`span`,{className:`text-[9px] text-white/60`,children:`AI draft`}),(0,k.jsx)(`span`,{className:`text-[7px] tracking-[0.12em] text-white/35 uppercase`,children:`Ready`})]}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between border border-accent bg-accent/10 px-2 py-[7px] transition-all duration-500 ease-out group-hover:bg-accent/25 group-hover:shadow-[0_0_20px_rgba(139,183,255,.3)]`,children:[(0,k.jsx)(`span`,{className:`text-[9px] text-white`,children:`Human review`}),(0,k.jsx)(`span`,{className:`text-[7px] tracking-[0.12em] text-accent uppercase`,children:`Now`})]})]}),(0,k.jsxs)(`div`,{className:`flex items-center justify-between border border-white/[0.14] px-2.5 py-[9px]`,children:[(0,k.jsx)(`span`,{className:`text-[8px] tracking-[0.12em] text-white/55 uppercase`,children:`Decision stays human`}),(0,k.jsx)(`span`,{className:`h-[3px] w-3.5 bg-white/35 transition-all duration-500 ease-out group-hover:w-8 group-hover:bg-accent`})]})]}),(0,k.jsx)(`div`,{className:`absolute right-0 bottom-0 left-0 z-[4] grid grid-cols-4 items-start`,children:xg.map((e,t)=>(0,k.jsxs)(`div`,{className:`flex flex-col gap-[13px] px-[30px] pb-[46px]`,children:[(0,k.jsxs)(`div`,{className:`flex items-baseline gap-3`,children:[(0,k.jsx)(`span`,{className:`text-[15px] text-white/55 tabular-nums`,children:String(t+1).padStart(2,`0`)}),(0,k.jsx)(`span`,{className:`text-[17px] tracking-[-0.015em] text-white`,children:e.title})]}),(0,k.jsx)(`p`,{className:`text-[13.5px] leading-[1.62] text-white/50 text-pretty`,children:e.description})]},e.title))})]})}),(0,k.jsx)(`div`,{className:`flex flex-col gap-10 px-4 pb-20 sm:px-6 lg:hidden`,children:xg.map((e,t)=>(0,k.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,k.jsxs)(`div`,{className:`flex items-baseline gap-3`,children:[(0,k.jsx)(`span`,{className:`text-[15px] text-white/55 tabular-nums`,children:String(t+1).padStart(2,`0`)}),(0,k.jsx)(`span`,{className:`text-[17px] tracking-tight text-white`,children:e.title})]}),(0,k.jsx)(`p`,{className:`text-[13.5px] leading-relaxed text-white/50 text-pretty`,children:e.description})]},e.title))})]})}var Cg=6,wg=23,Tg=82,Eg=[{label:`Design & manufacturing`,resolvesAt:20,status:`Complete`},{label:`Risk management file`,resolvesAt:52,status:`Complete`},{label:`Clinical evaluation`,resolvesAt:74,status:`2 gaps`},{label:`Post-market plan`,resolvesAt:101,status:`Queued`}];function Dg({hovered:e}){let t=Mh(wg,{stiffness:60,damping:24,restDelta:.1}),[n,r]=(0,O.useState)(wg);(0,O.useEffect)(()=>{t.set(e?Tg:wg)},[e,t]),(0,O.useEffect)(()=>t.on(`change`,e=>r(Math.round(e))),[t]);let i=Math.round(n/100*Cg);return(0,k.jsxs)(`div`,{className:`flex h-full flex-col gap-2.5 p-4`,children:[(0,k.jsxs)(`div`,{className:`flex items-baseline justify-between`,children:[(0,k.jsxs)(`span`,{className:`text-[26px] leading-none tracking-tight text-white tabular-nums`,children:[n,`%`]}),(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.14em] text-white/55`,children:n>=Tg?`Ready for review`:`Checking`})]}),(0,k.jsx)(`div`,{className:`flex gap-[3px]`,children:[...Array(Cg)].map((e,t)=>(0,k.jsx)(`span`,{className:`h-1.5 flex-1 transition-colors duration-300 ease-out ${t<i?`bg-accent`:`bg-white/20`}`},t))}),(0,k.jsx)(`div`,{className:`flex flex-col gap-1.5`,children:Eg.map((e,t)=>{let r=n>=e.resolvesAt,i=e.status===`2 gaps`;return(0,k.jsxs)(`div`,{className:`flex justify-between transition-colors duration-500 ease-out ${t<Eg.length-1?`border-b border-white/10 pb-1.5`:``} ${r&&i?`-mx-2 bg-accent/20 px-2`:``}`,children:[(0,k.jsx)(`span`,{className:`text-[11px] transition-colors duration-500 ease-out ${r?`text-white/85`:`text-white/55`}`,children:e.label}),(0,k.jsx)(`span`,{className:`text-[9px] uppercase tracking-wider transition-colors duration-500 ease-out ${r?i?`text-accent`:`text-white/55`:`text-white/25`}`,children:r?e.status:`Pending`})]},e.label)})})]})}function Og(){return(0,k.jsxs)(`div`,{className:`flex h-full flex-col gap-2.5 p-4`,children:[(0,k.jsxs)(`div`,{className:`flex flex-col gap-2 border border-accent bg-accent/10 p-3 transition-all duration-500 ease-out group-hover:bg-accent/20 group-hover:shadow-[0_0_22px_rgba(139,183,255,0.28)]`,children:[(0,k.jsxs)(`div`,{className:`flex justify-between`,children:[(0,k.jsx)(`span`,{className:`font-mono text-[9px] text-accent`,children:`NC-01 · MAJOR`}),(0,k.jsx)(`span`,{className:`text-[9px] text-white/55`,children:`ANNEX I §10.4`})]}),(0,k.jsx)(`span`,{className:`text-[11px] leading-snug text-white text-pretty`,children:`Sterilisation validation does not cover the revised packaging configuration.`})]}),(0,k.jsxs)(`div`,{className:`mt-auto flex justify-between border-t border-white/10 pt-2.5`,children:[(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.12em] text-accent`,children:`Traced to evidence`}),(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.12em] text-white/55`,children:`CAPA drafted`})]})]})}var kg=[{label:`Scope complexity`,value:`Class IIb`},{label:`Standards applicable`,value:`11`},{label:`Est. reviewer-days`,value:`14.5`}];function Ag(){return(0,k.jsxs)(`div`,{className:`flex h-full flex-col p-4`,children:[kg.map((e,t)=>(0,k.jsxs)(`div`,{className:`flex items-baseline justify-between border-b border-white/10 py-2.5 transition-colors duration-500 ease-out group-hover:border-white/25`,style:{transitionDelay:`${t*90}ms`},children:[(0,k.jsx)(`span`,{className:`text-[11px] text-white/60`,children:e.label}),(0,k.jsx)(`span`,{className:`text-[11px] text-white/90 tabular-nums`,children:e.value})]},e.label)),(0,k.jsxs)(`div`,{className:`mt-auto flex items-baseline justify-between border-t border-accent pt-3`,children:[(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.14em] text-accent`,children:`Quoted effort`}),(0,k.jsx)(`span`,{className:`inline-block origin-right text-xl tracking-tight text-white tabular-nums transition-transform duration-500 ease-out group-hover:scale-105`,children:`€38,200`})]})]})}var jg=[94,88],Mg=[90,80,66];function Ng(){return(0,k.jsxs)(`div`,{className:`flex h-full flex-col gap-3 p-4`,children:[(0,k.jsxs)(`div`,{className:`flex items-baseline justify-between border-b border-white/15 pb-2.5`,children:[(0,k.jsx)(`span`,{className:`text-xs text-white`,children:`Assessment Report`}),(0,k.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.1em] text-white/40`,children:`V.3 · DRAFT`})]}),(0,k.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[jg.map((e,t)=>(0,k.jsx)(`span`,{className:`h-[3px] bg-white/30`,style:{width:`${e}%`}},t)),(0,k.jsx)(`span`,{className:`h-3.5 w-full border-l-2 border-accent bg-accent/25 transition-colors duration-500 ease-out group-hover:bg-accent/40`}),Mg.map((e,t)=>(0,k.jsx)(`span`,{className:`h-[3px] bg-white/30`,style:{width:`${e}%`}},t))]}),(0,k.jsxs)(`div`,{className:`mt-auto flex items-center justify-between border-t border-white/10 pt-2.5`,children:[(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.12em] text-accent`,children:`Draft generated`}),(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.12em] text-white/40`,children:`Awaiting reviewer`})]})]})}var Pg=[100,82,94,66,88,58,76];function Fg(){return(0,k.jsxs)(`div`,{className:`flex h-full flex-col gap-3 p-4`,children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,k.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.1em] text-white/40`,children:`TD-2024-118 · ANNEX II`}),(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.12em] text-white/40`,children:`138 docs`})]}),(0,k.jsxs)(`div`,{className:`relative flex flex-1 gap-3 overflow-hidden`,children:[(0,k.jsx)(`div`,{className:`flex w-2/5 flex-col justify-center gap-[7px] border-r border-white/10 pr-3`,children:Pg.map((e,t)=>(0,k.jsx)(`span`,{className:`h-[3px] bg-white/20`,style:{width:`${e}%`}},t))}),(0,k.jsxs)(`div`,{className:`flex flex-1 flex-col justify-center gap-[7px]`,children:[(0,k.jsx)(`span`,{className:`h-[3px] w-[92%] bg-white/35`}),(0,k.jsx)(`span`,{className:`h-[3px] w-full bg-white/35`}),(0,k.jsx)(`span`,{className:`h-3.5 w-full border-l-2 border-accent bg-accent/25 transition-colors duration-500 ease-out group-hover:bg-accent/40`}),(0,k.jsx)(`span`,{className:`h-[3px] w-[74%] bg-white/35`}),(0,k.jsx)(`span`,{className:`h-[3px] w-[96%] bg-white/35`})]}),(0,k.jsx)(`span`,{className:`pointer-events-none absolute inset-y-0 left-0 w-full opacity-0 transition-opacity duration-500 ease-out group-hover:opacity-100`,children:(0,k.jsx)(`span`,{className:`animate-evidence-scan absolute inset-0 [animation-play-state:paused] group-hover:[animation-play-state:running]`,children:(0,k.jsx)(`span`,{className:`absolute inset-y-0 left-0 w-px bg-accent shadow-[0_0_12px_2px_rgba(139,183,255,0.4)]`})})})]}),(0,k.jsxs)(`div`,{className:`flex justify-between border-t border-white/10 pt-2.5`,children:[(0,k.jsx)(`span`,{className:`text-[9px] whitespace-nowrap uppercase tracking-[0.12em] text-accent`,children:`Inconsistency flagged`}),(0,k.jsx)(`span`,{className:`font-mono text-[9px] tracking-[0.1em] text-white/40`,children:`§7.3 ↔ §11.1`})]})]})}var Ig=[{backdrop:P(`sectors/med-device-sq.avif`),tabs:[`Completeness`,`Scope`,`Gaps · 2`],title:`AI Completeness Check`,description:`Checks technical documentation against applicable standards and scope to identify missing evidence and readiness gaps before review.`,Graphic:Dg},{backdrop:P(`sectors/machinery-site.avif`),tabs:[`Technical file`,`Evidence`,`Cross-check`],title:`AI TD Assistant`,description:`Supports technical reviewers by navigating large technical files, cross-checking evidence, and highlighting inconsistencies during assessment.`,Graphic:Fg}],Lg=[{backdrop:P(`sectors/automotive-plant.avif`),tabs:[`Quote`,`Scope`,`Effort`],title:`AI-Supported Quoting`,description:`Supports consistent and traceable quotations by evaluating certification scope, complexity, and expected assessment effort.`,Graphic:Ag},{backdrop:P(`sectors/food-line.avif`),tabs:[`Non-conformities`,`Evidence`,`CAPA`],title:`AI Non-Conformity Identification`,description:`Identifies and structures potential non-conformities and observations with traceability to requirements, evidence, and corrective actions.`,Graphic:Og},{backdrop:P(`sectors/maritime-tanker.avif`),tabs:[`Report`,`Findings`,`Decision`],title:`AI Report Generation`,description:`Generates structured drafts for technical assessment reports and certification decisions aligned with findings and accreditation requirements.`,Graphic:Ng}];function Rg(){return(0,k.jsx)(`section`,{className:`pt-32 pb-20 px-4 sm:px-6 lg:px-8 bg-white`,children:(0,k.jsxs)(`div`,{className:`max-w-7xl mx-auto`,children:[(0,k.jsxs)(`div`,{className:`mb-12 text-center`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-4`,children:`CAPABILITIES`}),(0,k.jsx)(`h2`,{className:`text-4xl md:text-5xl font-bold text-gray-900 mb-4`,children:`The AI-native TIC platform`}),(0,k.jsx)(`p`,{className:`text-base md:text-lg text-gray-600 max-w-3xl mx-auto`,children:`Seamflow embeds AI across the entire TIC 
49workflows, accelerating every stage of regulatory review while preserving traceability and control.`})]}),(0,k.jsxs)(`div`,{className:`border-t border-l border-gray-200`,children:[(0,k.jsx)(`div`,{className:`grid grid-cols-1 lg:grid-cols-[55fr_45fr]`,children:Ig.map(e=>(0,k.jsx)(zg,{...e},e.title))}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 lg:grid-cols-3`,children:Lg.map(e=>(0,k.jsx)(zg,{...e},e.title))})]})]})})}function zg({backdrop:e,tabs:t,title:n,description:r,Graphic:i}){let[a,...o]=t,[s,c]=(0,O.useState)(!1);return(0,k.jsxs)(`div`,{className:`group flex flex-col border-r border-b border-gray-200`,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[(0,k.jsxs)(`div`,{className:`relative h-64 w-full overflow-hidden bg-[#0a0a0a] lg:h-72`,children:[(0,k.jsx)(`div`,{className:`absolute -inset-10 scale-110 bg-cover bg-center blur-[6px] saturate-[0.85] transition-transform duration-[1200ms] ease-out group-hover:scale-[1.16]`,style:{backgroundImage:`url(${e})`}}),(0,k.jsx)(`div`,{className:`absolute inset-0 bg-[#08080a]/70`}),(0,k.jsx)(`div`,{className:`absolute inset-0 opacity-[0.05]`,style:{backgroundImage:`
50              linear-gradient(to right, white 1px, transparent 1px),
51              linear-gradient(to bottom, white 1px, transparent 1px)
52            `,backgroundSize:`44px 44px`}}),(0,k.jsxs)(`div`,{className:`absolute top-10 -bottom-6 left-8 right-8 flex flex-col border border-white/20 bg-[#0d0d0d]/95 shadow-[0_30px_60px_rgba(0,0,0,0.5)] transition duration-500 ease-out group-hover:-translate-y-2 group-hover:border-white/35 group-hover:shadow-[0_40px_78px_rgba(0,0,0,0.62)]`,children:[(0,k.jsxs)(`div`,{className:`flex shrink-0 overflow-hidden border-b border-white/10`,children:[(0,k.jsxs)(`div`,{className:`relative border-r border-white/10 bg-white/5 px-3.5 py-2.5`,children:[(0,k.jsx)(`span`,{className:`absolute inset-x-0 top-0 h-0.5 bg-accent`}),(0,k.jsx)(`span`,{className:`block text-[9px] tracking-[0.1em] whitespace-nowrap text-white uppercase`,children:a})]}),o.map(e=>(0,k.jsx)(`div`,{className:`border-r border-white/10 px-3.5 py-2.5`,children:(0,k.jsx)(`span`,{className:`block text-[9px] tracking-[0.1em] whitespace-nowrap text-white/40 uppercase`,children:e})},e))]}),(0,k.jsx)(`div`,{className:`min-h-0 flex-1 pb-6`,children:(0,k.jsx)(i,{hovered:s})})]})]}),(0,k.jsxs)(`div`,{className:`p-6`,children:[(0,k.jsx)(`h3`,{className:`mb-2 text-lg font-bold text-gray-900`,children:n}),(0,k.jsx)(`p`,{className:`text-sm leading-relaxed text-gray-600`,children:r})]})]})}var Bg=[{icon:`tenancy`,title:`Single-tenant architecture`,description:`A dedicated cloud account and private network per customer, with no shared compute, storage, or data.`},{icon:`encryption`,title:`AES-256 encryption everywhere`,description:`AES-256 at rest under managed keys, TLS 1.2/1.3 in transit, and immutable write-once storage.`},{icon:`iso27001`,title:`ISO 27001:2022 certified`,description:`Independently audited security management. Certificate, policies, and pen-test reports on request.`},{icon:`gdpr`,title:`GDPR compliant`,description:`Full data sovereignty with EU hosting options and transparent data processing agreements.`},{icon:`models`,title:`Zero-retention AI`,description:`Models from OpenAI, Anthropic, and Google run under no-training, zero-retention terms.`},{icon:`access`,title:`Zero standing access`,description:`Enterprise SSO with your own MFA policies. No standing staff access, every session logged.`}];function Vg({type:e}){let t=`w-24 h-24 rounded-full bg-white/10 flex items-center justify-center`,n=`w-12 h-12 text-white`;switch(e){case`iso27001`:return(0,k.jsx)(`div`,{className:t,children:(0,k.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:`w-[80px] h-[80px]`,children:[(0,k.jsx)(`circle`,{cx:`32`,cy:`32`,r:`30`,stroke:`white`,strokeWidth:`1.5`,fill:`none`}),(0,k.jsx)(`text`,{x:`32`,y:`27`,fill:`white`,fontSize:`13`,fontWeight:`bold`,textAnchor:`middle`,dominantBaseline:`central`,children:`ISO`}),(0,k.jsx)(`text`,{x:`32`,y:`40`,fill:`white`,fontSize:`11`,fontWeight:`bold`,textAnchor:`middle`,dominantBaseline:`central`,children:`27001`})]})});case`encryption`:return(0,k.jsx)(`div`,{className:t,children:(0,k.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,className:n,children:(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z`})})});case`gdpr`:return(0,k.jsx)(`div`,{className:t,children:(0,k.jsxs)(`svg`,{viewB
52ox:`0 0 64 64`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:`w-[80px] h-[80px]`,children:[(0,k.jsx)(`circle`,{cx:`32`,cy:`32`,r:`30`,stroke:`white`,strokeWidth:`1.5`,fill:`none`}),[...Array(12)].map((e,t)=>{let n=(t*30-90)*(Math.PI/180);return(0,k.jsx)(`text`,{x:32+22*Math.cos(n),y:32+22*Math.sin(n),fill:`white`,fontSize:`6`,textAnchor:`middle`,dominantBaseline:`central`,children:`★`},t)}),(0,k.jsx)(`text`,{x:`32`,y:`33`,fill:`white`,fontSize:`10`,fontWeight:`bold`,textAnchor:`middle`,dominantBaseline:`central`,children:`GDPR`})]})});case`tenancy`:return(0,k.jsx)(`div`,{className:t,children:(0,k.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,className:n,children:[(0,k.jsx)(`rect`,{x:`1.5`,y:`3`,width:`21`,height:`18`,rx:`3`,strokeDasharray:`3 2.5`}),(0,k.jsx)(`rect`,{x:`6`,y:`7.25`,width:`12`,height:`3.75`,rx:`1`}),(0,k.jsx)(`rect`,{x:`6`,y:`13`,width:`12`,height:`3.75`,rx:`1`}),(0,k.jsx)(`circle`,{cx:`8.75`,cy:`9.125`,r:`0.6`,fill:`currentColor`}),(0,k.jsx)(`circle`,{cx:`8.75`,cy:`14.875`,r:`0.6`,fill:`currentColor`})]})});case`models`:return(0,k.jsx)(`div`,{className:t,children:(0,k.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,className:n,children:(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M6.429 9.75L2.25 12l4.179 2.25m0-4.5l5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0l4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0l-5.571 3-5.571-3`})})});case`access`:return(0,k.jsx)(`div`,{className:t,children:(0,k.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,className:n,children:[(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 2.75L19.25 5.5V11c0 4.35-2.9 7.85-7.25 9.25C7.65 18.85 4.75 15.35 4.75 11V5.5L12 2.75Z`}),(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9 12.25l2.25 2.25 3.75-4`})]})});default:return null}}function Hg(){return(0,k.jsx)(`section`,{className:`py-32 px-4 sm:px-6 lg:px-8 bg-black`,children:(0,k.jsxs)(`div`,{className:`max-w-7xl mx-auto`,children:[(0,k.jsxs)(`div`,{className:`mb-16`,children:[(0,k.jsx)(`div`,{className:`h-px bg-white/30 mb-8`}),(0,k.jsx)(`p`,{className:`text-xs text-gray-400 uppercase tracking-wider mb-4`,children:`ENTERPRISE GRADE SECURITY`}),(0,k.jsxs)(`div`,{className:`flex flex-col gap-8 md:flex-row md:items-end md:justify-between`,children:[(0,k.jsx)(`h2`,{className:`text-4xl md:text-5xl font-bold text-white`,children:`Built for regulated industries`}),(0,k.jsxs)(`a`,{href:`https://trust.seamflow.com/`,target:`_blank`,rel:`noopener noreferrer`,className:`group self-start md:self-end inline-flex items-start gap-1.5 whitespace-nowrap text-sm uppercase tracking-wide text-[#F5F5F0] hover:text-white transition-colors`,children:[`VISIT TRUST CENTER`,(0,k.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`6 6 12 12`,strokeWidth:2,stroke:`currentColor`,className:`w-2 h-2 mt-[5px] transition-transform duration-300 group-hover:translate-x-0.5 group-hover:-translate-y-0.5`,children:(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M7 17 17 7M8 7h9v9`})})]})]})]}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5`,children:Bg.map((e,t)=>(0,k.jsxs)(`div`,{className:`bg-[#18181B] p-6 flex flex-col`,children:[(0,k.jsx)(Vg,{type:e.icon}),(0,k.jsxs)(`div`,{className:`mt-6`,children:[(0,k.jsx)(`h3`,{className:`text-lg font-semibold text-white mb-2`,children:e.title}),(0,k.jsx)(`p`,{className:`text-sm text-white/70 leading-relaxed`,children:e.description})]})]},t))})]})})}function Ug(){return(0,k.jsxs)(`section`,{className:`relative w-full py-20 sm:py-24 overflow-hidden`,children:[(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:P(`editorial/image-3.avif`),alt:``,className:`absolute inset-0 w-full h-full object-cover`}),(0,k.jsx)(`div`,{className:`absolute inset-0 bg-black/30`}),(0,k.jsx)(`div`,{className:`relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`,children:(0,k.jsxs)(`div`,{className:`flex flex-col items-center text-center`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-300 uppercase tracking-wider mb-3`,children:`READY TO TRANSFORM?`}),(0,k.jsx)(`h2`,{className:`text-2xl sm:text-3xl md:text-4xl font-bold text-white mb-4 leading-tight`,children:`See Seamflow in Action`}),(0,k.jsx)(`p`,{className:`text-sm leading-relaxed mb-6 max-w-md text-[#F5F5F0]`,children:`Discover how our AI-powered platform can streamline your regulatory workflows and accelerate approvals.`}),(0,k.jsx)(j,{to:`/contact`,className:`px-6 py-3 border border-white/40 text-[#F5F5F0] text-sm uppercase tracking-wide hover:border-white hover:bg-white/10 transition-all duration-300`,children:`BOOK A DEMO`})]})})]})}function Wg({className:e}){return(0,k.jsx)(`svg`,{fill:`none`,viewBox:`6 6 12 12`,strokeWidth:2,stroke:`currentColor`,className:e,children:(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M7 17 17 7M8 7h9v9`})})}var Gg=[{label:`Home`,href:`/`,isExternal:!1},{label:`Company`,href:`/about`,isExternal:!1},{label:`Careers`,href:`/careers`,isExternal:!1},{label:`Book a demo`,href:`/contact`,isExternal:!1}],Kg=[{label:`Trust Center`,href:`https://trust.seamflow.com/`,isExternal:!0},{label:`Terms`,href:`/terms`,isExternal:!1},{label:`Privacy`,href:`/privacy`,isExternal:!1},{label:`Cookies`,href:`/cookies`,isExternal:!1}],qg=[{label:`YouTube`,href:`https://www.youtube.com/@SeamflowLtd`},{label:`LinkedIn`,href:`https://www.linkedin.com/company/seamflow/`}],Jg=`flex flex-col justify-between px-6 lg:px-8 py-10 lg:py-12 border-b border-white/15 sm:even:border-l lg:border-l lg:first:border-l-0`,Yg=`text-xs text-gray-400 uppercase tracking-wider mb-5`,Xg=`text-sm text-[#F5F5F0] hover:text-[#8bb7ff] transition-colors`;function Zg({link:e}){return e.isExternal?(0,k.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:Xg,children:e.label}):(0,k.jsx)(j,{to:e.href,className:Xg,children:e.label})}function Qg({link:e}){return(0,k.jsxs)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:`group inline-flex items-start gap-1.5 whitespace-nowrap ${Xg}`,children:[e.label,(0,k.jsx)(Wg,{className:`w-2 h-2 mt-[5px] transition-transform duration-300 group-hover:translate-x-0.5 group-hover:-translate-y-0.5`})]})}function $g({type:e}){let t=`w-14 h-14 text-white/60 hover:text-white transition-colors`;
52return e===`iso27001`?(0,k.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,className:t,children:[(0,k.jsx)(`circle`,{cx:`32`,cy:`32`,r:`30`,stroke:`currentColor`,strokeWidth:`1.5`}),(0,k.jsx)(`text`,{x:`32`,y:`27`,fill:`currentColor`,fontSize:`13`,fontWeight:`bold`,textAnchor:`middle`,dominantBaseline:`central`,children:`ISO`}),(0,k.jsx)(`text`,{x:`32`,y:`40`,fill:`currentColor`,fontSize:`11`,fontWeight:`bold`,textAnchor:`middle`,dominantBaseline:`central`,children:`27001`})]}):(0,k.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,className:t,children:[(0,k.jsx)(`circle`,{cx:`32`,cy:`32`,r:`30`,stroke:`currentColor`,strokeWidth:`1.5`}),[...Array(12)].map((e,t)=>{let n=(t*30-90)*(Math.PI/180);return(0,k.jsx)(`text`,{x:32+22*Math.cos(n),y:32+22*Math.sin(n),fill:`currentColor`,fontSize:`6`,textAnchor:`middle`,dominantBaseline:`central`,children:`★`},t)}),(0,k.jsx)(`text`,{x:`32`,y:`33`,fill:`currentColor`,fontSize:`10`,fontWeight:`bold`,textAnchor:`middle`,dominantBaseline:`central`,children:`GDPR`})]})}function e_(){return(0,k.jsxs)(`footer`,{className:`w-full bg-black pt-12 lg:pt-16`,style:{color:`#F5F5F0`},children:[(0,k.jsxs)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 border-t border-white/15`,children:[(0,k.jsxs)(`div`,{className:Jg,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsxs)(`div`,{className:`flex items-start gap-3 mb-9`,children:[(0,k.jsx)(`span`,{className:`inline-block h-2.5 w-2.5 mt-[5px] shrink-0 bg-[#8bb7ff]`}),(0,k.jsx)(`p`,{className:`text-sm`,children:Lh})]}),(0,k.jsx)(`p`,{className:Yg,children:`Contact`}),(0,k.jsx)(`a`,{href:`mailto:[email protected]`,className:`${Xg} block`,children:`[email protected]`})]}),(0,k.jsxs)(`div`,{className:`flex items-center gap-5 mt-12`,children:[(0,k.jsx)($g,{type:`iso27001`}),(0,k.jsx)($g,{type:`gdpr`})]})]}),(0,k.jsx)(`div`,{className:Jg,children:(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:Yg,children:`London`}),(0,k.jsxs)(`p`,{className:`text-sm leading-relaxed`,children:[`Gorsuch Place`,(0,k.jsx)(`br`,{}),`London E2 8`,(0,k.jsx)(`br`,{}),`United Kingdom`]})]})}),(0,k.jsx)(`div`,{className:Jg,children:(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:Yg,children:`Company`}),(0,k.jsx)(`ul`,{className:`space-y-3`,children:Gg.map(e=>(0,k.jsx)(`li`,{children:(0,k.jsx)(Zg,{link:e})},e.label))})]})}),(0,k.jsx)(`div`,{className:Jg,children:(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:Yg,children:`Legal`}),(0,k.jsx)(`ul`,{className:`space-y-3`,children:Kg.map(e=>(0,k.jsx)(`li`,{children:(0,k.jsx)(Zg,{link:e})},e.label))})]})}),(0,k.jsxs)(`div`,{className:Jg,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:Yg,children:`Follow`}),(0,k.jsx)(`ul`,{className:`space-y-3`,children:qg.map(e=>(0,k.jsx)(`li`,{children:(0,k.jsx)(Qg,{link:e})},e.label))})]}),(0,k.jsxs)(`p`,{className:`text-xs text-gray-400 mt-12`,children:[`© `,new Date().getFullYear(),` Seamflow Inc.`]})]})]}),(0,k.jsx)(`button`,{type:`button`,onClick:()=>window.scrollTo({top:0,behavior:`smooth`}),"aria-label":`Back to top`,className:`block w-full overflow-hidden pt-16 lg:pt-24`,children:(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:P(`brand/large.svg`),alt:`Seamflow`,className:`w-full h-auto -mb-[2%] opacity-90`,style:{filter:`brightness(0) invert(1)`}})})]})}function t_(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white overflow-x-hidden`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(Hh,{}),(0,k.jsx)(Gh,{}),(0,k.jsx)(og,{}),(0,k.jsx)(dg,{}),(0,k.jsx)(Sg,{}),(0,k.jsx)(Rg,{}),(0,k.jsx)(Hg,{}),(0,k.jsx)(Ug,{}),(0,k.jsx)(e_,{})]})}function n_({children:e}){return(0,k.jsxs)(`div`,{className:`relative bg-white`,children:[(0,k.jsx)(`div`,{className:`absolute left-[3%] lg:left-[5%] top-0 bottom-0 hidden w-px bg-gray-200 lg:block`}),(0,k.jsx)(`div`,{className:`absolute right-[3%] lg:right-[5%] top-0 bottom-0 hidden w-px bg-gray-200 lg:block`}),(0,k.jsx)(`div`,{className:`absolute left-3 top-0 bottom-0 hidden w-px bg-gray-200 lg:block`}),(0,k.jsx)(`div`,{className:`absolute right-3 top-0 bottom-0 hidden w-px bg-gray-200 lg:block`}),e]})}var r_={filter:`grayscale(1)`};function i_({logo:e,className:t=``}){return(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:e.logo,alt:e.name,style:r_,className:`${e.height} w-auto ${t}`})}var a_=P(`logos/schools`),o_=P(`logos/companies`),s_={name:`University of Cambridge`,logo:`${a_}/cambridge.avif`,height:`h-7 lg:h-8 xl:h-9`},c_={name:`University of Oxford`,logo:`${a_}/oxford.avif`,height:`h-9 lg:h-10 xl:h-11`},l_={name:`Wharton`,logo:`${a_}/wharton.avif`,height:`h-7 lg:h-8 xl:h-9`},u_={name:`Columbia University`,logo:`${a_}/columbia.svg`,height:`h-7 lg:h-8 xl:h-9`},d_={name:`UCL`,logo:`${a_}/ucl.avif`,height:`h-5 lg:h-6 xl:h-7`},f_={name:`London School of Economics`,logo:`${a_}/lse.svg`,height:`h-6 lg:h-7 xl:h-8`},p_={name:`Google`,logo:`${o_}/google.svg`,height:`h-5 lg:h-6 xl:h-7`},m_={name:`McKinsey`,logo:`${o_}/mckinsey.svg`,height:`h-6 lg:h-7 xl:h-8`},h_={name:`Amazon`,logo:`${o_}/amazon.avif`,height:`h-5 lg:h-6 xl:h-7`},g_={name:`X`,logo:`${o_}/x.svg`,height:`h-5 lg:h-6 xl:h-7`},__={name:`J.P. Morgan`,logo:`${o_}/jpmorgan.svg`,height:`h-4 lg:h-5 xl:h-6`},v_={name:`Bosch`,logo:`${o_}/bosch.svg`,height:`h-4 lg:h-5 xl:h-6`},y_={name:`JetBrains`,logo:`${o_}/jetbrains.svg`,height:`h-4 lg:h-5 xl:h-6`},b_={name:`SAP`,logo:`${o_}/sap.svg`,height:`h-4 lg:h-5 xl:h-6`},x_={name:`Fuse`,logo:`${o_}/fuse.avif`,height:`h-5 lg:h-6 xl:h-7`},S_=[s_,c_,l_,p_,m_,h_,g_,__],C_=[{maxWidth:`lg:max-w-4xl`,logos:[p_,m_,g_,l_,u_]},{maxWidth:`lg:max-w-5xl`,logos:[x_,h_,b_,__,d_]},{maxWidth:`lg:max-w-4xl`,logos:[s_,c_,f_,y_,v_]}],w_=[.4,0,.2,1],T_=`xl:mr-[calc(0.75rem-5vw)]`;function E_(){return(0,k.jsxs)(`section`,{className:`relative z-10 mx-[3%] lg:mx-[5%] pb-16 lg:pb-24`,children:[(0,k.jsxs)(`div`,{className:`relative pt-48 lg:pt-56 pb-5`,children:[(0,k.jsx)($.div,{initial:{opacity:0,scaleY:0}
52,animate:{opacity:1,scaleY:1},transition:{duration:.9,delay:.2,ease:w_},className:`hidden xl:block absolute inset-y-0 right-[34%] w-px origin-top bg-gray-200 ${T_}`}),(0,k.jsxs)($.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:w_},className:`px-6 lg:px-12 max-w-xl lg:max-w-2xl`,children:[(0,k.jsxs)(`h1`,{className:`font-display text-gray-900 text-[2.5rem] leading-[1] sm:text-6xl lg:text-[5.5rem] mb-10`,children:[`Built with `,(0,k.jsx)(`span`,{className:`text-[#8bb7ff]`,children:`Trust`})]}),(0,k.jsx)(`p`,{className:`text-base sm:text-lg text-gray-600 max-w-xl leading-relaxed`,children:`A team of engineers, industry veterans, and AI researchers transforming how the physical world operates.`})]}),(0,k.jsx)($.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.7,delay:.4,ease:w_},className:`mt-20 px-6 lg:px-12 text-xs text-gray-500 uppercase tracking-wider`,children:`Our Team Comes From`})]}),(0,k.jsx)($.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.7,delay:.4,ease:w_},children:(0,k.jsx)(`div`,{className:`relative left-1/2 -ml-[50vw] w-screen bg-white border-y border-gray-200`,children:(0,k.jsx)(`div`,{className:`flex flex-wrap xl:flex-nowrap items-center justify-between gap-x-8 gap-y-8 px-6 lg:px-10 py-8 lg:py-10`,children:S_.map(e=>(0,k.jsx)(i_,{logo:e},e.name))})})})]})}var D_=[.4,0,.2,1];function O_(){return(0,k.jsxs)(`section`,{className:`relative z-10 mx-[3%] lg:mx-[5%] px-6 lg:px-12 pt-10 lg:pt-12 pb-24 lg:pb-32`,children:[(0,k.jsxs)($.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-80px`},transition:{duration:.6,ease:D_},className:`max-w-4xl mx-auto text-center`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-8`,children:`Our Mission`}),(0,k.jsxs)(`p`,{className:`text-2xl md:text-3xl lg:text-4xl font-bold text-gray-900 leading-snug`,children:[`Seamflow`,` `,(0,k.jsx)(`span`,{className:`text-[#8bb7ff]`,children:`accelerates the physical world`}),`. We put the leverage of a thousand-person team behind every test, inspection and certification, so everything the world depends on arrives safer, and sooner.`]})]}),(0,k.jsx)(`div`,{className:`mt-16 lg:mt-20 aspect-[16/9] max-w-4xl mx-auto`,children:(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:P(`editorial/office.avif`),alt:`An open-plan engineering office with the team at work`,className:`w-full h-full object-cover`})})]})}function k_({src:e,alt:t,className:n=``,loading:r=`lazy`}){return e===null?(0,k.jsx)(`div`,{"aria-hidden":!0,className:`bg-[#F5F5F0] ${n}`}):(0,k.jsx)(`img`,{src:e,alt:t,loading:r,className:n})}function A_({className:e}){return(0,k.jsx)(`svg`,{className:e,fill:`currentColor`,viewBox:`0 0 24 24`,children:(0,k.jsx)(`path`,{d:`M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z`})})}var j_=[{name:`SGS`,logo:P(`logos/advisors/sgs.avif`),height:`h-7 sm:h-8`},{name:`BSI`,logo:P(`logos/advisors/bsi.avif`),height:`h-8 sm:h-9`},{name:`Bureau Veritas`,logo:P(`logos/advisors/bv.avif`),height:`h-11 sm:h-12`},{name:`Intertek`,logo:P(`logos/advisors/intertek.avif`),height:`h-8 sm:h-9`,rounded:!0},{name:`DQS`,logo:P(`logos/advisors/dqs.avif`),height:`h-8 sm:h-9`},{name:`TÜV SÜD`,logo:P(`logos/advisors/tuvsud.svg`),height:`h-11 sm:h-12`}],M_=[[{name:`Charles Ly Wa Hoi`,role:`Former EVP at SGS`,linkedin:`https://www.linkedin.com/in/charles-ly-wa-hoi-55a5aa17/`,image:P(`people/advisors/charles.avif`),description:`Led Connectivity & Products and Health & Nutrition divisions at SGS.`,offset:``}],[{name:`Luca Crisciotti`,role:`Former CEO at DNV`,linkedin:`https://www.linkedin.com/in/luca-crisciotti-b270765/`,image:P(`people/advisors/luca.avif`),description:`Led Product Assurance, Business Assurance and Supply Chain divisions at DNV.`,offset:`mt-16 lg:mt-[35rem]`}],[{name:`Calin Moldovean`,role:`Former President at Intertek`,linkedin:`https://www.linkedin.com/in/calinmoldovean/`,image:P(`people/advisors/calin.avif`),description:`Led Business Assurance, Food Services and Assuris global business lines at Intertek.`,offset:`mt-16 lg:mt-24`}],[{name:`Ingo M. Rübenach`,role:`Advisory Board QI-Digital Initiative / CEO of DQS Group`,linkedin:`https://www.linkedin.com/in/ingo-m-r%C3%BCbenach-b0a4708/`,image:P(`people/advisors/ingo.avif`),description:`Leading D
52QS with a focus on growth, people & organization, and digital transformation.`,offset:`mt-16 lg:mt-[33rem]`}]];function N_(){return(0,k.jsx)(`section`,{className:`relative z-10 mx-[3%] lg:mx-[5%] px-6 lg:px-12 pt-24 lg:pt-32`,children:(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-6`,children:`Advisory Board`}),(0,k.jsx)(`h2`,{className:`text-2xl md:text-3xl lg:text-4xl font-bold text-gray-900 leading-snug mb-8`,children:`Our advisors come from the companies that set the standard`}),(0,k.jsx)(`div`,{className:`-mx-6 lg:-mx-12 px-6 lg:px-12 py-4 flex flex-wrap sm:flex-nowrap items-center justify-between gap-x-10 gap-y-6 border-y border-gray-200`,children:j_.map(e=>(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:e.logo,alt:e.name,className:`${e.height} w-auto${e.rounded?` rounded-lg`:``}`},e.name))}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 sm:divide-x divide-gray-200 sm:border-x border-gray-200`,children:M_.map((e,t)=>(0,k.jsx)(`div`,{className:`pb-24 lg:pb-32`,children:e.map(e=>(0,k.jsxs)(`div`,{className:e.offset,children:[(0,k.jsx)(k_,{src:e.image,alt:e.name,className:`w-full aspect-[4/5] object-cover object-top mb-5`}),(0,k.jsxs)(`div`,{className:`px-4 lg:px-5`,children:[(0,k.jsxs)(`div`,{className:`flex items-center gap-2 mb-1`,children:[(0,k.jsx)(`h3`,{className:`text-lg lg:text-xl font-bold text-gray-900`,children:e.name}),(0,k.jsx)(`a`,{href:e.linkedin,target:`_blank`,rel:`noopener noreferrer`,className:`text-gray-500 hover:text-gray-900 transition-colors`,children:(0,k.jsx)(A_,{className:`w-3.5 h-3.5`})})]}),(0,k.jsx)(`p`,{className:`text-[11px] text-gray-500 uppercase tracking-wider mb-3`,children:e.role.split(` / `).map(e=>(0,k.jsx)(`span`,{className:`block`,children:e},e))}),(0,k.jsx)(`p`,{className:`text-sm text-gray-500 leading-relaxed`,children:e.description})]})]},e.name))},t))})]})})}var P_=[{name:`Nebular`,logo:P(`logos/investors/vc-5.svg`),height:`h-6 sm:h-7`,url:`https://www.nebular.vc/`},{name:`Initialized Capital`,logo:P(`logos/investors/vc-3.avif`),height:`h-6 sm:h-7`,url:`https://initialized.com/companies`},{name:`Northzone`,logo:P(`logos/investors/vc-2.avif`),height:`h-5 sm:h-6`,url:`https://northzone.com/portfolio/`},{name:`Entrepreneur First`,logo:P(`logos/investors/vc-1.avif`),height:`h-9 sm:h-11`,url:`https://www.joinef.com/portfolio/`},{name:`Transpose`,logo:P(`logos/investors/vc-4.avif`),height:`h-6 sm:h-7`,url:`https://www.transposeplatform.vc/`}];function F_(){return(0,k.jsxs)(`section`,{className:`relative z-10 mx-[3%] lg:mx-[5%] border-t border-gray-200 pt-24 lg:pt-32`,children:[(0,k.jsx)(`div`,{className:`px-6 lg:px-12`,children:(0,k.jsxs)(`div`,{className:`text-center mb-12`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-4`,children:`Our Investors`}),(0,k.jsx)(`h2`,{className:`text-2xl md:text-3xl lg:text-4xl font-bold text-gray-900 leading-snug`,children:`Backed by generational funds`})]})}),(0,k.jsx)(`div`,{className:`relative left-1/2 -ml-[50vw] w-screen border-y border-gray-200 bg-white py-10`,children:(0,k.jsx)(`div`,{className:`mx-auto flex max-w-7xl flex-wrap items-center justify-center gap-x-12 gap-y-8 px-6 lg:flex-nowrap lg:justify-between lg:gap-x-0 lg:px-12`,children:P_.map(e=>(0,k.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,children:(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:e.logo,alt:e.name,className:`${e.height} w-auto`})},e.name))})})]})}var I_=[{publication:`Tech.eu`,title:`Seamflow raises $4.5M seed round to develop AI tools for the TIC industry`,url:`https://tech.eu/2026/02/11/seamflow-raises-45m-seed-round-to-develop-ai-tools-for-the-tic-industry/`},{publication:`Tech Funding News`,title:`London’s Seamflow lands $4.5M to fix EU’s 20-month med device crunch`,url:`https://techfundingnews.com/londons-seamflow-lands-4-5m-to-fix-eus-20-month-med-device-crunch/`},{publication:`Brutkasten`,title:`4,5-Mio.-Seed-Runde: Fußballweltmeister investiert in Londoner Startup mit österreichischem Founder`,url:`https://brutkasten.com/artikel/45-mio-seed-runde-fussballweltmeister-investiert-in-londoner-startup-mit-oesterreichischem-founder`},{publication:`Trending Topics`,title:`London Startup Seamflow Raises $4.5M to Automate Global Certification Processes with AI`,url:`https://www.trendingtopics.eu/london-startup-seamflow-raises-4-5m-to-automate-global-certification-processes-with-ai/`},{publication:`Drug and Device World`,title:`Seamflow secures $4.5m to deploy AI for testing and certification bottlenecks`,url:`https://druganddeviceworld.com/2026/02/17/seamflow-secures-4-5m-to-deploy-ai-for-testing-and-certification-bottlenecks/`},{publication:`FinSMEs`,title:`Seamflow Raises $4.5M in Seed Funding`,url:`https://www.finsmes.com/2026/02/seamflow-raises-4-5m-in-seed-funding.html`},{publication:`Startup Magazine UK`,title:`Seamflow £3.3m seed boosts startup funding`,url:`https://www.startupmag.co.uk/funding/seamflow-2026-seed-funding/`},{publication:`Pulse 2.0`,title:`Seamflow: $4.5 Million Seed Funding Raised For Building AI Software For The Testing And Inspection Industry`,url:`https://pulse2.com/seamflow-4-5-million-seed-funding-raised-for-building-ai-software-for-the-testing-and-inspection-industry/`}],L_=[.4,0,.2,1],R_=P(`company/press.avif`);function z_(){return(0,k.jsx)(`section`,{className:`relative z-10 mx-[3%] lg:mx-[5%] bg-white lg:border-x border-gray-200 pt-28 lg:pt-40`,children:(0,k.jsx)(`div`,{className:`grid grid-cols-1 lg:grid-cols-[18rem_1fr] xl:grid-cols-[24rem_1fr]`,children:(0,k.jsxs)(`div`,{className:`lg:col-start-2 lg:border-l border-gray-200`,children:[(0,k.jsxs)(`div`,{className:`bg-black flex items-center gap-3 px-6 lg:px-10 pt-8 pb-6`,children:[(0,k.jsx)(`span`,{className:`inline-block h-2.5 w-2.5 bg-[#8bb7ff]`}),(0,k.jsx)(`h2`,{className:`text-lg lg:text-xl font-bold text-white`,children:`Seamflow in the Press`})]}),(0,k.jsx)(k_,{src:R_,alt:`Newspapers coming off a press`,className:`w-full aspect-[21/9] object-cover`}),(0,k.jsx)(`ul`,{className:`border-t border-gray-200`,children:I_.map((e,t)=>(0,k.jsx)($.li,{initial:{opacity:0}
52,whileInView:{opacity:1},viewport:{once:!0,margin:`-40px`},transition:{duration:.4,delay:t*.03,ease:L_},className:`border-b border-gray-200 last:border-b-0`,children:(0,k.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:`group flex items-center gap-6 px-6 lg:px-10 py-6 lg:py-7 transition-colors hover:bg-[#8bb7ff]/5`,children:[(0,k.jsxs)(`div`,{className:`flex-1`,children:[(0,k.jsx)(`p`,{className:`text-sm font-bold text-black`,children:e.publication}),(0,k.jsx)(`p`,{className:`mt-1.5 text-base lg:text-lg text-gray-600 leading-snug transition-colors group-hover:text-[#8bb7ff]`,children:e.title})]}),(0,k.jsx)(`svg`,{viewBox:`0 0 12 12`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`square`,className:`w-3.5 h-3.5 shrink-0 text-gray-300 transition-all duration-300 group-hover:translate-x-1 group-hover:text-[#8bb7ff]`,children:(0,k.jsx)(`path`,{d:`M4 1.5 L8.5 6 L4 10.5`})})]})},e.url))})]})})})}function B_(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white overflow-x-hidden`,children:[(0,k.jsx)(qi,{}),(0,k.jsxs)(n_,{children:[(0,k.jsx)(E_,{}),(0,k.jsx)(O_,{}),(0,k.jsx)(N_,{}),(0,k.jsx)(F_,{}),(0,k.jsx)(z_,{}),(0,k.jsx)(Ug,{})]}),(0,k.jsx)(e_,{})]})}function V_(e){throw Error(`Unexpected value: ${e}`)}var H_=`https://api.ashbyhq.com/posting-api/job-board/seamflow`,U_=`https://jobs.ashbyhq.com/seamflow?utm_source=741pDYJ0zo`;function W_(e){switch(e){case`FullTime`:return`Full-time`;case`PartTime`:return`Part-time`;case`Intern`:return`Internship`;case`Contract`:return`Contract`;case`Temporary`:return`Temporary`;default:return V_(e)}}function G_(e){switch(e){case`OnSite`:return`On-site`;case`Remote`:return`Remote`;case`Hybrid`:return`Hybrid`;default:return V_(e)}}async function K_(){let e=await fetch(H_);if(!e.ok)throw Error(`Ashby job board responded ${e.status}`);let{jobs:t}=await e.json(),n=new Map;for(let e of t.filter(e=>e.isListed))n.set(e.department,[...n.get(e.department)??[],e]);return[...n].map(([e,t])=>({department:e,roles:t.sort((e,t)=>t.publishedAt.localeCompare(e.publishedAt)).map(e=>({id:e.id,title:e.title,jobUrl:e.jobUrl,meta:[e.location,G_(e.workplaceType),W_(e.employmentType)]}))})).sort((e,t)=>t.roles.length-e.roles.length||e.department.localeCompare(t.department))}var q_=[.4,0,.2,1],J_=`open-roles`;function Y_(){let{data:e,isPending:t}=yt({queryKey:[`ashby-open-roles`],queryFn:K_});return(0,k.jsxs)(`section`,{id:J_,className:`relative z-10 mx-[3%] lg:mx-[5%] scroll-mt-24 px-6 sm:px-10 lg:px-20 py-24 lg:py-32`,children:[(0,k.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8`,children:[(0,k.jsx)(`h2`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 leading-tight`,children:`Open roles`}),(0,k.jsxs)(`div`,{className:`lg:self-end lg:justify-self-end inline-flex items-center border border-black w-fit`,children:[(0,k.jsx)(`a`,{href:U_,target:`_blank`,rel:`noopener noreferrer`,className:`px-4 py-1.5 text-xs font-light uppercase tracking-wide border-r border-black bg-black text-white`,children:`View job board`}),(0,k.jsx)(`a`,{href:`mailto:[email protected]`,className:`px-4 py-1.5 text-xs font-light uppercase tracking-wide text-black hover:bg-gray-100 transition-colors`,children:`Get in touch`})]})]}),t&&(0,k.jsx)(`div`,{className:`lg:border-x border-t border-gray-200 mb-16`,children:[0,1,2,3].map(e=>(0,k.jsx)(`div`,{className:`border-b border-gray-200 px-8 py-7`,children:(0,k.jsx)(`div`,{className:`h-4 w-56 bg-gray-100 animate-pulse`})},e))}),e?.map(e=>(0,k.jsxs)(`div`,{children:[(0,k.jsxs)(`div`,{className:`flex items-center justify-between gap-4 bg-black px-8 py-3.5`,children:[(0,k.jsxs)(`span`,{className:`flex items-center gap-3`,children:[(0,k.jsx)(`span`,{className:`h-3.5 w-[3px] bg-accent`}),(0,k.jsx)(`span`,{className:`text-xs uppercase tracking-[0.16em] text-white`,children:e.department})]}),(0,k.jsxs)(`span`,{className:`text-[11px] uppercase tracking-[0.12em] text-accent tabular-nums`,children:[e.roles.length,` `,e.roles.length===1?`role`:`roles`]})]}),(0,k.jsx)(`ul`,{className:`lg:border-x border-gray-200`,children:e.roles.map((e,t)=>(0,k.jsx)($.li,{initial:{opacity:0}
52,whileInView:{opacity:1},viewport:{once:!0,margin:`-40px`},transition:{duration:.4,delay:t*.03,ease:q_},className:`border-b border-gray-200`,children:(0,k.jsxs)(`a`,{href:e.jobUrl,target:`_blank`,rel:`noopener noreferrer`,className:`group flex flex-col gap-2 px-8 py-6 sm:flex-row sm:items-baseline sm:justify-between`,children:[(0,k.jsx)(`p`,{className:`text-lg lg:text-xl text-gray-700 leading-snug transition-colors group-hover:text-accent`,children:e.title}),(0,k.jsxs)(`span`,{className:`flex shrink-0 items-baseline gap-6`,children:[(0,k.jsx)(`span`,{className:`text-[11px] uppercase tracking-[0.12em] text-gray-500`,children:e.meta.join(` · `)}),(0,k.jsxs)(`span`,{className:`inline-flex items-start gap-1.5 text-xs whitespace-nowrap text-gray-500 transition-colors group-hover:text-black`,children:[`View role`,(0,k.jsx)(Wg,{className:`w-2 h-2 mt-[5px] transition-transform duration-300 group-hover:translate-x-0.5 group-hover:-translate-y-0.5`})]})]})]})},e.id))})]},e.department))]})}function X_(){return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(`div`,{className:`hidden lg:block absolute inset-y-0 left-[calc(50%+2rem)] w-px bg-gray-200`}),(0,k.jsx)(`div`,{className:`hidden lg:block absolute inset-y-0 right-12 w-px bg-gray-200`})]})}var Z_=[.4,0,.2,1];function Q_(){let{data:e}=yt({queryKey:[`ashby-open-roles`],queryFn:K_}),t=e?.reduce((e,t)=>e+t.roles.length,0);return(0,k.jsxs)(`section`,{className:`relative z-20 mx-[3%] lg:mx-[5%] px-6 lg:px-12 pt-40 pb-16 lg:pb-24 grid grid-cols-1 lg:grid-cols-2 gap-14 lg:gap-16 items-center`,children:[(0,k.jsx)(X_,{}),(0,k.jsxs)($.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:Z_},children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-8`,children:`Careers`}),(0,k.jsxs)(`h1`,{className:`font-display text-gray-900 text-[2rem] leading-[1] sm:text-4xl md:text-5xl lg:text-[4.25rem] mb-8`,children:[`Come build`,` `,(0,k.jsx)(`span`,{className:`whitespace-nowrap text-[#8bb7ff]`,children:`with us`})]}),(0,k.jsxs)(`p`,{className:`text-sm sm:text-base text-gray-600 max-w-lg leading-relaxed`,children:[(0,k.jsx)(`span`,{className:`text-gray-900 font-medium`,children:`Seamflow accelerates the physical world.`}),` `,`Cars, medicine, energy and chips all have to be proven safe before they can exist. We build the intelligence that gets them there.`]}),(0,k.jsxs)(`div`,{className:`mt-10 inline-flex items-center border border-black`,children:[(0,k.jsx)(`a`,{href:`#${J_}`,onClick:e=>{e.preventDefault(),document.getElementById(J_)?.scrollIntoView({behavior:`smooth`})},className:`px-4 py-1.5 text-xs font-light uppercase tracking-wide border-r border-black bg-black text-white`,children:t===void 0?`See open roles`:`See all ${t} open roles`}),(0,k.jsx)(`a`,{href:U_,target:`_blank`,rel:`noopener noreferrer`,className:`px-4 py-1.5 text-xs font-light uppercase tracking-wide text-black hover:bg-gray-100 transition-colors`,children:`Job board`})]})]}),(0,k.jsxs)(`div`,{className:`relative lg:translate-y-64`,children:[(0,k.jsx)($.img,{src:P(`company/join-us.avif`),alt:`A tower crane over a steel frame building at dawn`,loading:`eager`,initial:{opacity:0}
52,animate:{opacity:1},transition:{duration:.8,delay:.3,ease:Z_},className:`w-full aspect-[4/3] object-cover`}),(0,k.jsx)(`div`,{className:`hidden lg:block absolute bottom-0 -left-[100vw] -right-[100vw] h-px bg-gray-200`})]})]})}var $_=[{title:`Full ownership`,body:`We take responsibility from start to finish. If something needs doing, we step in and see it through.`,image:P(`careers/culture1.avif`)},{title:`High intensity`,body:`We move with urgency, focus deeply, and hold ourselves to a high standard.`,image:P(`careers/culture2.avif`)},{title:`High ambition`,body:`We aim beyond the obvious and take on work that can define a category.`,image:P(`careers/culture3.avif`)},{title:`High trust, no politics`,body:`We speak openly, assume good intent, and let the strongest idea win, regardless of who proposes it.`,image:P(`careers/culture4.avif`)}];function ev(){return(0,k.jsxs)(`section`,{className:`relative z-10 pb-24 lg:pb-32`,children:[(0,k.jsx)(`div`,{className:`absolute inset-0 bg-white`}),(0,k.jsxs)(`div`,{className:`relative mx-[3%] lg:mx-[5%] px-6 lg:px-12 pt-12 lg:pt-16 pb-16`,children:[(0,k.jsx)(X_,{}),(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-wider mb-6`,children:`Our Values`}),(0,k.jsx)(`h2`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 leading-tight`,children:`Core 4 principles`})]}),(0,k.jsx)(`div`,{className:`relative bg-gray-200 py-px`,children:(0,k.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-px`,children:$_.map(e=>(0,k.jsxs)(`div`,{className:`group relative aspect-[4/5] sm:aspect-square overflow-hidden bg-black`,children:[(0,k.jsx)(`img`,{src:e.image,alt:``,loading:`lazy`,className:`absolute inset-0 w-full h-full object-cover transition duration-500 group-hover:brightness-[0.28]`}),(0,k.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-black/75 via-black/30 to-transparent`}),(0,k.jsxs)(`div`,{className:`absolute inset-0 flex flex-col justify-end p-6`,children:[(0,k.jsx)(`h3`,{className:`text-base sm:text-lg font-medium text-white leading-snug`,children:e.title}),(0,k.jsx)(`div`,{className:`grid grid-rows-[0fr] opacity-0 transition-all duration-500 ease-out group-hover:grid-rows-[1fr] group-hover:opacity-100`,children:(0,k.jsx)(`div`,{className:`overflow-hidden`,children:(0,k.jsx)(`p`,{className:`pt-3 text-sm text-white/75 leading-relaxed`,children:e.body})})})]})]},e.title))})})]})}var tv=[.4,0,.2,1],nv={hidden:{},shown:{transition:{staggerChildren:.04}}},rv={hidden:{opacity:0},shown:{opacity:.7,transition:{duration:.5,ease:tv}}};function iv(){return(0,k.jsxs)(`section`,{className:`relative z-10 mx-[3%] lg:mx-[5%] px-6 lg:px-12 py-24 lg:py-32`,children:[(0,k.jsx)(`div`,{className:`absolute top-0 -left-[100vw] -right-[100vw] h-px bg-gray-200`}),(0,k.jsx)(`div`,{className:`absolute bottom-0 -left-[100vw] -right-[100vw] h-px bg-gray-200`}),(0,k.jsx)(`h2`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 leading-tight text-center mb-8 lg:mb-10`,children:`Our team comes from`}),(0,k.jsx)(`div`,{className:`flex flex-col items-center gap-y-12 lg:gap-y-14`,children:C_.map((e,t)=>(0,k.jsx)($.div,{initial:`hidden`,whileInView:`shown`,viewport:{once:!0,margin:`-80px`},variants:nv,className:`flex flex-wrap items-center justify-center gap-x-16 gap-y-8 w-full lg:justify-between lg:gap-x-0 ${e.maxWidth}`,children:e.logos.map(e=>(0,k.jsx)($.div,{variants:rv,children:(0,k.jsx)(i_,{logo:e})},e.name))},t))})]})}function av(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white overflow-x-hidden`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(Q_,{}),(0,k.jsx)(`div`,{className:`relative mx-[3%] lg:mx-[5%] px-6 lg:px-12 h-12 lg:h-64 bg-white`,children:(0,k.jsx)(X_,{})}),(0,k.jsx)(ev,{}),(0,k.jsx)(iv,{}),(0,k.jsx)(Y_,{}),(0,k.jsx)(Ug,{}),(0,k.jsx)(e_,{})]})}function ov({to:e,title:t,thumbnail:n,displayDate:r,description:i}){return(0,k.jsxs)(`article`,{className:`group flex flex-col`,children:[(0,k.jsx)(j,{to:e,className:`block`,children:(0,k.jsx)(`div`,{className:`aspect-[11/8] overflow-hidden bg-gray-900`,children:(0,k.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:n,alt:``,className:`h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-[1.03]`})})}),(0,k.jsx)(`p`,{className:`mt-6 text-sm text-gray-500`,children:r}),(0,k.jsx)(`h3`,{className:`mt-2.5 text-xl leading-snug font-semibold text-gray-900 transition-colors group-hover:text-[#8bb7ff]`,children:(0,k.jsx)(j,{to:e,children:t})}),(0,k.jsx)(`p`,{className:`mt-2.5 text-sm leading-relaxed text-gray-500`,children:i}),(0,k.jsxs)(j,{to:e,className:`mt-4 inline-flex items-center gap-2 text-sm text-gray-900 transition-colors group-hover:text-[#8bb7ff]`,children:[`Read more `,(0,k.jsx)(`span`,{"aria-hidden":!0,
52children:`→`})]})]})}function sv(e){return`text-sm transition-colors ${e?`text-gray-900 underline underline-offset-4`:`text-gray-500 hover:text-gray-900`}`}function cv({tags:e,activeTag:t,onSelect:n}){return(0,k.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-6 gap-y-2`,children:[(0,k.jsx)(`span`,{className:`text-sm text-gray-500`,children:`Filter by category:`}),(0,k.jsx)(`button`,{type:`button`,onClick:()=>n(void 0),className:sv(t===void 0),children:`All`}),e.map(e=>(0,k.jsx)(`button`,{type:`button`,onClick:()=>n(e),className:sv(t===e),children:e},e))]})}var lv=P(`social/og-image.jpg`),uv=P(`blog`);function dv(e){return`${uv}/${e}`}function fv(e){return`https://img.youtube.com/vi/${e}/maxresdefault.jpg`}var pv=[{slug:`leadership-mindset-ai-transformation-tic`,title:`What Leadership Mindset Does AI Transformation in TIC Require?`,excerpt:`AI adoption in testing, inspection, and certification starts with how leaders frame trust, rigour, and change across the organization.`,publishedAt:`2026-07-22`,displayDate:`July 22, 2026`,category:`Insights`,tags:[`Leadership`,`AI Adoption`],readTimeMinutes:5,thumbnailImage:dv(`engineering-drafting.avif`),youtubeId:`RNYgIJHKXWU`,sections:[{type:`paragraph`,text:`Testing, inspection, and certification organizations are under pressure to move faster without weakening the trust their clients and regulators depend on. AI is often presented as a technology decision. In practice, the difference between a pilot that stalls and a program that scales comes down to leadership mindset.`},{type:`heading`,text:`Treat AI as operating change, not a side project`},{type:`paragraph`,text:`Leaders who succeed view AI as a shift in how work flows through the organization. That means aligning product, operations, and technical review teams on shared outcomes: shorter cycle times, clearer evidence trails, and reviewers spending more time on judgment and less on navigation. A chat tool layered onto unchanged processes rarely delivers that.`},{type:`heading`,text:`Make trust and rigour explicit constraints`},{type:`paragraph`,text:`TIC leaders cannot afford experiments that blur the line between automated suggestion and certifier decision. The right mindset sets non-negotiables upfront: human accountability for conclusions, audit-ready records, and role-based controls. AI should compress coordination and document handling around expert work, not replace the expert sign-off that gives certification its value.`},{type:`heading`,text:`Bring reviewers in before the vendor demo`},{type:`paragraph`,text:`Transformation fails when leadership buys software and asks technical teams to adapt later. Reviewers, notified body leads, and quality managers see friction points that executives miss. Involving them early surfaces requirements around completeness checks, evidence linking, and workflow fit. Their buy-in turns AI from a top-down mandate into a tool they want to use.`},{type:`list`,items:[`Define where automation stops and human judgment begins`,`Measure success in reviewer time on substantive assessment, not raw document volume`,`Fund training and process redesign alongside the platform rollout`]},{type:`heading`,text:`Lead for the long cycle of certification`},{type:`paragraph`,text:`Certification decisions have consequences that outlast any quarterly target. Leaders with the right mindset invest patiently: pilot on a bounded workflow, prove traceability and quality outcomes, then expand. That discipline matches how TIC organizations already think about accreditation, client trust, and regulatory scrutiny.`},{type:`paragraph`,text:`We explore this leadership perspective in a short clip from our conversations with industry leaders. Watch below, or book a call if you want to discuss how Seamflow supp
52orts AI transformation in your certification workflows.`}]},{slug:`how-ai-changing-tic-customer-expectations`,title:`How AI Is Changing What TIC Customers Expect`,excerpt:`Manufacturers and device makers now expect faster updates, clearer evidence trails, and the same rigour from their certification partners.`,publishedAt:`2026-06-24`,displayDate:`June 24, 2026`,category:`Insights`,tags:[`Service Delivery`],readTimeMinutes:5,thumbnailImage:dv(`electronics-factory.avif`),youtubeId:`Za3Ka1YveyQ`,sections:[{type:`paragraph`,text:`Clients of testing, inspection, and certification organizations are not waiting for the industry to finish debating AI. They already experience instant status updates, automated checks, and digital workflows in other parts of their business. That shapes what they expect when they submit a technical file, book an audit, or ask for a certification decision.`},{type:`heading`,text:`Speed without surprise`},{type:`paragraph`,text:`Customers want shorter cycle times, but they also want predictability. A faster process that surfaces new gaps late in review erodes trust as quickly as a slow one. TIC clients increasingly expect early feedback on completeness, visible progress through each review stage, and fewer rounds of back-and-forth on missing evidence. AI makes that possible when it is wired into intake and workflow, not added as an afterthought.`},{type:`heading`,text:`Transparency they can audit themselves`},{type:`paragraph`,text:`Regulated manufacturers live under their own scrutiny from notified bodies, authorities, and internal quality teams. They expect the same from their TIC partners: clear records of what was reviewed, what was flagged, and who signed off. Customers are looking for platforms that show linked evidence, structured findings, and a defensible trail from submission to decision.`},{type:`heading`,text:`The bar on rigour has not moved`},{type:`paragraph`,text:`Faster does not mean softer. Clients still need certification decisions they can stand behind in audits and market access discussions. What has changed is intolerance for opaque delays and manual coordination that add time without adding assurance. TIC organizations that use AI to remove navigational friction while keeping human judgment central meet this expectation. Those that cut corners will not.`},{type:`list`,items:[`Proactive completeness feedback before formal review begins`,`Status visibility across review stages without chasing email threads`,`Consistent quality outcomes as submission volumes grow`]},{type:`heading`,text:`What TIC providers should prepare for`},{type:`paragraph`,text:`Customer expectations will keep rising as digital maturity spreads across manufacturing and medtech. Certification bodies and notified bodies that invest in AI-native workflows now are better positioned to win and retain clients who treat responsiveness and traceability as part of the service, not a nice-to-have. The organizations that stall risk being compared to peers who already deliver both speed and rigour.`},{type:`paragraph`,text:`We discuss this shift in a short clip from our work with TIC leaders. Watch below, or book a call to explore how Seamflow helps certification teams meet rising client expectations.`}]},{slug:`ai-efficiency-vs-service-delivery-in-tic`,title:`Will AI in TIC Boost Efficiency or Transform Service Delivery?`,excerpt:`Efficiency gains are the easy story. The deeper shift is how certification services are scoped, priced, and experienced by clients.`,publishedAt:`2026-06-03`,displayDate:`June 3, 2026`,category:`Insights`,tags:[`Service Delivery`,`Operations`,`AI Adoption`],readTimeMinutes:5,thumbnailImage:dv(`cleanroom-electronics.avif`),sections:[{type:`paragraph`,text:`Ask a TIC executive about AI and the first answer is usually efficiency: faster reviews, fewer manual steps, more throughput per reviewer. That is real, and it matters. But treating AI as purely a productivity tool understates what is happening in the industry. The organizations paying closest attention see something larger: a change in what certification service means to the client receiving it.`},{type:`heading`,text:`Efficiency is the entry point, not the destination`},{type:`paragraph`,text:`Automating document navigation, completeness checks, and report drafting saves hours on every submission. Notified bodies and certification bodies need that relief as volumes grow. But efficiency alone does not differentiate a provider in a market where clients compare turnaround times and transparency as closely as they compare fees. The gains compound when they free expert time for judgment, and when clients can see progress without chasing updates.`},{type:`heading`,text:`Service delivery changes when the client experience changes`},{type:`paragraph`,text:`Fundamental change shows up at the interface with manufacturers and device makers. Proactive completeness feedback before formal review. Visible status across review stages. Structured findings linked to evidence. Clients stop experiencing certification as a black box with periodic surprises. That shift in experience, not just internal speed, is what redefines service delivery. AI makes it possible when embedded in workflow, not bolted on as an afterthought.`},{type:`heading`,text:`Pricing and scope will follow the new model`},{type:`paragraph`,text:`When intake quality improves and review cycles shorten predictably, quoting and scoping can become more consistent and traceable. When reviewers spend less time on navigation and more on substantive assessment, capacity planning changes. Over time, providers that operate on AI-native workflows may offer service models, and price points, that legacy process cannot match. Efficiency unlocks the economics; service redesign captures the value.`},{type:`list`,items:[`Efficiency: compressing navigational and coordination work inside the organization`,`Service delivery: changing what the client sees, receives, and can rely on`,`The providers that win will pursue both, not treat AI as back-office only`]},{type:`heading`,text:`The wrong framing slows adoption`},{type:`paragraph`,text:`Organizations that define AI success only as cost per review risk underinvesting in client-facing capabilities that drive retention. Those that chase client experience without fixing internal workflow bottlenecks will promise transparency they cannot deliver. The answer to efficie
52ncy versus service delivery is not either/or. AI in TIC will do both, but only for providers that design for the full chain from submission to decision.`},{type:`paragraph`,text:`Book a call if you want to explore how Seamflow connects internal efficiency gains to the service experience your clients expect.`}]},{slug:`ai-competitive-landscape-tic-five-years`,title:`How AI Changes the Competitive Landscape in TIC Over 5 Years`,excerpt:`Capacity, client retention, and market access will increasingly favour TIC providers that operate on AI-native workflows, not those with the best demos.`,publishedAt:`2026-08-20`,displayDate:`August 20, 2026`,category:`Insights`,tags:[`Industry Outlook`,`Strategy`,`AI Adoption`],readTimeMinutes:5,thumbnailImage:dv(`maritime-ship.avif`),youtubeId:`5m7NsIIgF_0`,sections:[{type:`paragraph`,text:`Testing, inspection, and certification has always been a reputation business. Trust accrues slowly and erodes quickly. Over the next five years, AI will not replace that dynamic, but it will sharpen the gap between providers that use it to strengthen traceability and responsiveness, and those that treat it as optional. The competitive landscape will reward operational maturity, not experimentation alone.`},{type:`heading`,text:`Capacity will separate winners from laggards`},{type:`paragraph`,text:`Demand for certification continues to rise across medtech, industrial products, and regulated manufacturing. Reviewer and auditor capacity is finite. Organizations that use AI to remove navigational friction, without cutting corners on judgment, can handle more volume with consistent quality. Those that rely on manual coordination alone will face longer queues, higher cost per case, and pressure on margins that faster peers do not feel.`},{type:`heading`,text:`Clients will compare experience, not just accreditation`},{type:`paragraph`,text:`Manufacturers choose notified bodies and certification partners on fit, reputation, and turnaround. As digital maturity spreads, they will expect the same visibility they get from suppliers in other parts of their business. Providers offering proactive feedback, clear progress tracking, and audit-ready records will win renewals. Those still running on email threads and opaque review stages will lose ground, even with strong technical credentials.`},{type:`heading`,text:`Consolidation favours operators with scalable workflows`},{type:`paragraph`,text:`Large TIC groups are investing in platform consistency across geographies and service lines. AI-native workflow infrastructure makes that consolidation productive rather than chaotic: shared standards for evidence linking, completeness, and reporting travel across teams. Smaller specialists can compete by going deep on a domain with the same operational discipline. The middle, manual processes at scale, becomes the hardest place to stay.`},{type:`list`,items:[`Faster, predictable cycle times as a commercial advantage`,`Client retention driven by transparency and responsiveness`,`Platform operators outpacing manual peers on volume and margin`,`Specialists winning in niches where workflow depth beats brand alone`]},{type:`heading`,text:`Five years is enough time for gaps to become permanent`},{type:`paragraph`,text:`AI adoption in TIC is not waiting for a regulatory green light. Accredited organizations already operate under rules that require human accountability, and those rules accommodate well-designed automation around expert decision-making. The providers building that capability now will set client expectations others spend years catching up to. The competitive question is not whether AI changes the landscape. It is whether your organization is on the side that defines the new baseline.`},{type:`paragraph`,text:`We discuss how the competitive landscape shifts in a short clip from our conversations with industry leaders. Watch below, or book a call to discuss how Seamflow helps TIC organizations build the workflow foundation for that next five years.`}]},{slug:`what-excites-and-worries-tic-leaders-about-ai`,title:`What Excites and Worries Industry Leaders About AI in TIC?`,excerpt:`The same leaders who see AI unlocking capacity and faster turnaround also carry real concerns about trust, accountability, and getting adoption wrong.`,publishedAt:`2026-08-11`,dis
52playDate:`August 11, 2026`,category:`Insights`,tags:[`Leadership`,`Industry Outlook`,`AI Adoption`],readTimeMinutes:5,thumbnailImage:dv(`shipyard-drydock.avif`),youtubeId:`X5ws0eDGgl0`,sections:[{type:`paragraph`,text:`Talk to enough testing, inspection, and certification leaders about AI and a pattern emerges. The same people are genuinely excited and genuinely worried, often in the same sentence. That tension is not indecision. It reflects a clear-eyed read of an industry where trust is the product and mistakes carry regulatory weight.`},{type:`heading`,text:`What excites them: capacity and faster turnaround`},{type:`paragraph`,text:`The optimism is concrete. Leaders see AI removing the navigational and coordination work that consumes reviewer time: chasing missing documents, hunting through technical files, and drafting routine sections of reports. Freeing expert capacity matters in a market where demand for certification keeps rising and qualified reviewers are scarce. Done well, AI lets the same team handle more volume with shorter, more predictable cycle times.`},{type:`heading`,text:`What excites them: a better experience for clients`},{type:`paragraph`,text:`Beyond internal efficiency, leaders are drawn to what AI can do at the client interface: proactive completeness feedback before formal review, visible progress across review stages, and structured findings linked to evidence. That turns certification from an opaque process with periodic surprises into something clients can follow and trust. For many leaders, that improved experience is the most compelling part of the story.`},{type:`heading`,text:`What worries them: trust, accountability, and rigour`},{type:`paragraph`,text:`The concerns are just as concrete. TIC decisions must hold up under audit, and leaders worry about anything that blurs the line between an automated suggestion and a certifier's accountable judgment. They are wary of black-box outputs that cannot be traced, of automation that quietly erodes rigour to save time, and of tools that create more reconciliation work than they remove. The fear is not that AI is too powerful. It is that careless adoption damages the trust that took decades to build.`},{type:`heading`,text:`What worries them: adopting it the wrong way`},{type:`paragraph`,text:`Leaders also worry about execution. Buying software before involving reviewers, layering a chat tool onto unchanged processes, or chasing a flashy demo that never reaches production. These failure modes are familiar and costly. The anxiety is less about the technology and more about whether their organization can absorb the change without losing what makes their certification credible.`},{type:`list`,items:[`Excitement: reclaiming reviewer capacity from low-value navigation work`,`Excitement: faster, more transparent service clients can actually follow`,`Worry: preserving traceability and human accountability for every decision`,`Worry: adopting AI in a way that adds rigour instead of quietly eroding it`]},{type:`heading`,text:`The leaders who move forward hold both at once`},{type:`paragraph`,text:`The most credible TIC leaders do not resolve this tension by picking a side. They let the excitement set the ambition and the worry set the guardrails: pilot on a bounded workflow, keep human sign-off central, prove traceability, then expand. Treating both feelings as legitimate is what separates thoughtful adoption from either reckless hype or paralysed caution.`},{type:`paragraph`,text:`We explore both sides in a short clip from our conversations with industry leaders. Watch below, or book a call to discuss how Seamflow supp
52orts AI adoption that respects the rigour TIC work demands.`}]},{slug:`what-separates-successful-ai-adoption-in-tic`,title:`What Separates Organizations That Will Adopt AI Successfully?`,excerpt:`AI pilots are easy to start in TIC. Sustained adoption depends on how organizations treat data, workflows, and the people who sign certification decisions.`,publishedAt:`2026-08-03`,displayDate:`August 3, 2026`,category:`Insights`,tags:[`AI Adoption`,`Operations`,`Strategy`],readTimeMinutes:5,thumbnailImage:dv(`wind-tunnel.avif`),sections:[{type:`paragraph`,text:`Most testing, inspection, and certification organizations have run an AI proof of concept by now. Some have moved into production on a bounded workflow. Many more are stuck between demo and deployment, with promising results in a sandbox that never reach the teams doing conformity assessment every day. The gap is rarely the model. It is how the organization is set up to absorb change.`},{type:`heading`,text:`Successful adopters treat AI as infrastructure, not a feature`},{type:`paragraph`,text:`Organizations that scale AI connect it to core operating workflows: intake, completeness review, technical assessment, reporting, and client communication. They do not treat it as a standalone chat tool or a side project in innovation. That means product owners from certification operations sit alongside IT from the start, and success is measured in cycle time and reviewer experience, not in tokens processed.`},{type:`heading`,text:`Data and traceability come before ambition`},{type:`paragraph`,text:`TIC work runs on evidence chains. Organizations that fail often jump to automation before their submissions, findings, and decisions live in structured, accessible form. Successful adopters invest first in linked evidence, versioned records, and role-based access so AI outputs can be audited the same way human conclusions are. Without that foundation, every AI suggestion creates more reconciliation work, not less.`},{type:`heading`,text:`They bring certifiers into the design, not just the rollout`},{type:`paragraph`,text:`Reviewers, lead auditors, and quality managers know where shortcuts create regulatory risk. Organizations that stall treat AI as something done to technical teams. Those that succeed invite them into workflow design early, defining where automation stops, what requires human sign-off, and how exceptions are recorded. That participation turns resistance into refinement and produces tools people trust.`},{type:`list`,items:[`Executive sponsorship tied to operational outcomes, not press releases`,`Structured evidence and workflow data before broad automation`,`Reviewer and certifier involvement from design through rollout`,`Patient expansion from one bounded use case with measured results`]},{type:`heading`,text:`The organizations that wait for certainty will fall behind`},{type:`paragraph`,text:`AI in TIC is not a single switch to flip when the technology matures. It is a series of deliberate steps: pilot on a real workflow, prove traceability, expand scope, repeat. Organizations waiting for a risk-free moment will find peers already delivering faster turnaround and clearer evidence trails with the same rigour. The separator is not budget or brand. It is willingness to change how certification work actually gets done.`},{type:`paragraph`,text:`If you are evaluating where your organization sits on that path, book a call to discuss how Seamflow supp
52orts AI adoption built for conformity assessment workflows.`}]},{slug:`seamflow-raises-45m-seed-round`,title:`We Raised $4.5M to Build AI for the TIC Industry`,excerpt:`We've closed a $4.5M seed round co-led by Northzone and Initialized Capital. Here's why we started Seamflow, what we're building, and what comes next.`,publishedAt:`2026-02-11`,displayDate:`February 11, 2026`,category:`News`,tags:[`AI Adoption`,`Industry Outlook`,`Strategy`],readTimeMinutes:3,thumbnailImage:dv(`blog-seamflow-seed-round.avif`),authorName:`Konstantin`,sections:[{type:`paragraph`,text:`Today we're announcing that Seamflow has raised $4.5 million in seed funding, co-led by Northzone and Initialized Capital, with participation from Entrepreneur First, Nebular, and angel investors including Charlie Songhurst and Mario Götze. We're using this to expand our team and accelerate the platform we've been building for testing, inspection, and certification organisations.`},{type:`heading`,text:`Why we started Seamflow`},{type:`paragraph`,text:`Before a product reaches the market, a facility opens, or infrastru
52cture goes live, an independent expert has to review the evidence and say it's safe. That work (audits, technical file reviews, conformity assessments) is how global safety standards actually get enforced. It's essential, unglamorous, and completely underserved by software.`},{type:`paragraph`,text:`The people doing this work are highly skilled. They're not slow because they lack expertise. They're slow because the tools around them are. They spend hours chasing incomplete submissions, navigating unstructured files, and drafting routine sections of reports they've written dozens of times. Meanwhile, demand keeps rising and qualified reviewers remain scarce. In medical devices alone, approval timelines can stretch well beyond a year. Not because the science is hard, but because the coordination is broken.`},{type:`heading`,text:`What we're building`},{type:`paragraph`,text:`Seamflow is building AI tools for the TIC industry. We're working alongside certification organisations to help expert teams handle growing demand without compromising the rigour that makes certification credible.`},{type:`paragraph`,text:`The operational challenges are the same everywhere: expert capacity is finite, documentation is unstructured, and coordination between teams creates delays that compound. That is the problem space we're focused on.`},{type:`heading`,text:`What comes next`},{type:`paragraph`,text:`This funding lets us move faster on the platform and grow the team. If you work in TIC and want to see what Seamflow looks like in your workflows, book a call. We'd like to show you.`},{type:`paragraph`,text:`Konstantin and the Seamflow team`}]}],mv=pv;function hv(e){return pv.find(t=>t.slug===e)}function gv(e){return`/blog/${e}`}function _v(e){return e.thumbnailImage===lv?e.youtubeId===void 0?e.thumbnailImage:fv(e.youtubeId):e.thumbnailImage}var vv=[`Interviews`,`Leadership`,`AI Adoption`,`Service Delivery`,`Industry Outlook`,`Strategy`,`Operations`];function yv(e,t){return t===void 0?!0:e.includes(t)}function bv(e,t){let n=e===`interview`?`Interview`:`Article`;return t?[n,`Video`]:[n]}function xv(e){let t=new Set;for(let n of e)for(let e of n.tags)t.add(e);return vv.filter(e=>t.has(e))}var Sv=[{slug:`karine-kutrowski-future-of-ai-in-tic`,title:`The Future of AI in TIC: Karine Kutrowski`,guestName:`Karine Kutrowski`,guestRole:`Vice President of Industrial Product Certification`,organisation:`Bureau Veritas`,guestBio:`Karine Kutrowski is Vice President of Industrial Product Certification at Bureau Veritas. She leads technical service development and global certification strategy across industrial sectors, from oil and gas and renewables to manufacturing and infrastructure.`,summary:`Karine shares her view on how AI is changing testing, inspection, and certification. She covers where automation can support technical teams without weakening trust or rigour, the pressures TIC organisations face as demand grows, and what leaders should weigh when bringing AI into certification workflows.`,publishedAt:`2026-07-09`,displayDate:`July 9, 2026`,tags:[`Interviews`,`Leadership`,`Industry Outlook`],youtubeId:`Vg6_bGO9XtM`,transcript:[{speaker:`Konstantin Klingler`,text:`Hello everybody. We are currently at the TIC Summit in Brussels and I'm here with Karine, one of the leaders of the TIC industry with Bureau Veritas.`},{speaker:`Karine Kutrowski`,text:`Hello, my name is Karine Kutrowski and I'm the Vice President of Industrial Product Certification at Bureau Veritas.`},{speaker:`Konstantin Klingler`,text:`Very nice to meet you. How do you think AI changes the competitive landscape in TIC over the next 5 years?`},{speaker:`Karine Kutrowski`,text:`AI is already reshaping the way TIC companies are working. Not in a uniform way across the industry, because typically AI is already a very powerful enabler for everything data-driven, which needs support for decisions. So I believe that AI will be a great tool and will bring a lot of changes in our industry in the 5 coming years. But one thing it will not do is remove the responsibility and accountability which is extremely important, and which is at the heart of the mission of companies like Bureau Veritas. Therefore, we believe that human-in-the-loop, especially in those 5 coming years, will really be critical to partner with AI for the benefit of our industry.`},{speaker:`Konstantin Klingler`,text:`What kind of leadership mindset is required for AI transformation in TIC?`},{speaker:`Karine Kutrowski`,text:`AI without the proper governance, without the proper people, without the proper mindset will not work and especially in an industry like ours where trust is key. So I would say that the mindset we will look for in the leadership of companies using AI is a mix between not being afraid and not being blind. So it's something of disciplined adoption. It will be a balance between improving the human expertise without remov
52ing the responsibility from the system. And for me that is the only way it will work.`},{speaker:`Konstantin Klingler`,text:`Great. And where do you see risks or challenges in this adoption process?`},{speaker:`Karine Kutrowski`,text:`If the proper governance is not in place, because what we will probably see is that we will have quick gains at the beginning but with high exposure to risk, especially for companies like TIC companies. So therefore we go back to this human-in-the-loop concept. We go back to this governance principle which for me will be key in adopting responsible AI in our processes.`},{speaker:`Konstantin Klingler`,text:`Will there be a customer expectation to adopt AI in TIC?`},{speaker:`Karine Kutrowski`,text:`Yes, definitely. AI is already on its way. For me it's a revolution. It's a transformation. We are already working with it. We do it more and more, but we need to do it in a responsible way.`},{speaker:`Konstantin Klingler`,text:`I completely agree, thank you very much for taking the time and telling us about your experience.`},{speaker:`Karine Kutrowski`,text:`It's my pleasure. Thank you.`}]},{slug:`andrea-vannuccini-future-of-ai-in-tic`,title:`The Future of AI in TIC: Andrea Vannuccini`,guestName:`Andrea Vannuccini`,guestRole:`Industrial Safety Global Equipment Certification Manager`,organisation:`SGS`,guestBio:`Andrea Vannuccini is Industrial Safety Global Equipment Certification Manager at SGS. He leads global equipment certification for industrial safety, helping manufacturers meet machine safety and compliance requirements across markets and borders.`,summary:`Andrea discusses AI from the perspective of global equipment certification and industrial safety. He covers managing complex multi-country certification programs, where digital tools can reduce friction for manufacturers, and how TIC leaders can adopt AI while preserving the independence and rigour clients expect.`,publishedAt:`2026-06-11`,displayDate:`June 11, 2026`,tags:[`Interviews`,`Leadership`,`Industry Outlook`],youtubeId:`WrfkKT4NN9k`,transcript:[{speaker:`Konstantin Klingler`,text:`Hello. We are here today at the TIC Summit in Brussels, and I'm very glad to have one of the TIC industry leaders with me. Would you like to briefly introduce yourself?`},{speaker:`Andrea Vannuccini`,text:`Yeah, thank you. Andrea Vannuccini from SGS, from the industrial business of SGS. Global Equipment Certification Manager, mainly focused on notified bodies here in Europe and certification all across the world.`},{speaker:`Konstantin Klingler`,text:`How do you think AI changes the competitive landscape in TIC?`},{speaker:`Andrea Vannuccini`,text:`If you're not catching up in the coming year and a half, you will be far behind what competitors are doing. So it's really important to be able to use AI, and to also be able to certify AI in the future.`},{speaker:`Konstantin Klingler`,text:`Do you believe AI in TIC will primarily improve efficiency, or will it fundamentally change service delivery?`},{speaker:`Andrea Vannuccini`,text:`I don't think it's just efficiency at the end. I think it will change the way we are approaching certification itself, because we are changing the mindset of the people using the actual tools. It's something that is going to change everything.`},{speaker:`Konstantin Klingler`,text:`What kind of leadership mindset is required for AI transformation in TIC?`},{speaker:`Andrea Vannuccini`,text:`I think that the issue would be not using AI, because we are all users of AI. But I think it's important to consider what the risks of using AI are, and the liabilities connected to using AI. It's a powerful tool, but without monitoring the outcomes, without controlling the outputs, you're losing control of what you're delivering — and then you're losing trust.`},{speaker:`Konstantin Klingler`,text:`What excites you most about AI in TIC?`},{speaker:`Andrea Vannuccini`,text:`We will be able to deliver faster, better results, and also much deeper, because you have a powerful tool that can go deeper in the documentation.`},{speaker:`Konstantin Klingler`,text:`How will AI in TIC change customer expectations?`},{speaker:`Andrea Vannuccini`,text:`I think that what we are seeing so far is support for certifying tools, or the tools that are using AI. But at one point, when it will be quicker — something that is going to happen from the manufacturer — you want to be faster in delivering. It's a matter of resources.`},{speaker:`Konstantin Klingler`,text:`What separates organisations that will successfully adopt AI from those that won't?`},{speaker:`Andrea Vannuccini`,text:`There are bigger companies like SGS that can invest, test the systems, and use them from day zero. And there are the smaller notified bodies that are unable to test it. They do not have access to the tool because they have less resources, and then probably will have issues using the tools in the future.`},{speaker:`Konstantin Klingler`,text:`What concerns you most about AI in TIC?`},{speaker:`Andrea Vannuccini`,text:`The biggest risk, as I mentioned earlier, is the uncontrolled utilisation of AI. It's a powerful tool, but if you use it badly, then it's bad. If you use it well, then it's a really powerful and good tool.`},{speaker:`Konstantin Klingler`,text:`And your prediction — what timeline are we talking about until the TIC industry will be changed through AI?`},{speaker:`Andrea Vannuccini`,text:`I think less than three years.`},{speaker:`Konstantin Klingler`,text:`It was very nice to meet you. Thank y
52ou so much for your input.`},{speaker:`Andrea Vannuccini`,text:`Thanks. It's been a pleasure.`}]},{slug:`charles-ly-wa-hoi-future-of-ai-in-tic`,title:`The Future of AI in TIC: Charles Ly Wa Hoi`,guestName:`Charles Ly Wa Hoi`,guestRole:`former Executive Vice President`,organisation:`SGS`,guestBio:`Charles Ly Wa Hoi is former Executive Vice President at SGS. He led the Connectivity and Products and Health and Nutrition divisions, overseeing large-scale assurance operations across global markets.`,summary:`Charles draws on decades leading major SGS business lines to discuss how AI fits the TIC industry. He reflects on scaling certification capacity, maintaining quality as demand rises, and what established operators need from technology built for conformity assessment workflows.`,publishedAt:`2026-05-28`,displayDate:`May 28, 2026`,tags:[`Interviews`,`Leadership`,`Industry Outlook`],youtubeId:`DSjbkITdshM`,transcript:[{speaker:`Konstantin Klingler`,text:`Maybe before we start, Charles, could you very briefly introduce yourself and tell us a bit about your experience in the TIC industry.`},{speaker:`Charles Ly Wa Hoi`,text:`Well, I spent a long time with the TIC industry. With SGS I did a lot of things, like international business development, and for the past eight years or so I was the VP of two global business lines for SGS: Connectivity & Products, and Health & Nutrition.`},{speaker:`Konstantin Klingler`,text:`Great, well great to have you here. It's 2026, everyone is talking about AI. AI is moving every industry everywhere you go. It's also the big topic here at the TIC Summit. What do you think, with all your experience from within the industry and seeing these technological trends — how are the next 5 years and the competitive landscape going to be shaped by AI?`},{speaker:`Charles Ly Wa Hoi`,text:`Wow, 5 years is a long time these days when we talk about AI. I certainly think that it's going to really transform the industry, but it will also facilitate everything that the TIC industry is doing.`},{speaker:`Konstantin Klingler`,text:`Do you think it will be just efficiency gains, or is it going to be the delivery of the services? What impact is going to be had through AI in TIC?`},{speaker:`Charles Ly Wa Hoi`,text:`Efficiency gain obviously is going to happen, and it is needed. I think that today there's a lot of operators that are spending time in operations that are not valuable, that do not bring added value. So I think beyond the efficiency, it's a response to the market. I think today the customers of the TIC industry need to go faster. It's also about accuracy. I think the fact that we use more AI — of course assuming that the AI is performing — that will bring a lot more accuracy to what the TIC industry is doing, and avoiding some human mistakes still happening.`},{speaker:`Konstantin Klingler`,text:`And so if we believe, like lots of people here at the summit, that AI is going to have a lot of value for the TIC industry, that it's going to change a lot of the operations, especially these efficiency gains — what do you think is going to differentiate those companies that are going to be successful with their AI efforts versus those that will be a bit more behind?`},{speaker:`Charles Ly Wa Hoi`,text:`I do believe that the TIC industry has to invest more there. Of course they need to identify the right solutions, because it depends on the organisation, the structure, the culture of the company. But I believe it is a must. Again, the market expectations are here. They need to transform the way they proceed today.`},{speaker:`Konstantin Klingler`,text:`And so you mentioned something interesting here, the market expectations. What is it that the market expects — do they want a faster service? What do the customers of TIC want to see?`},{speaker:`Charles Ly Wa Hoi`,text:`TIC customers are also using AI. So they know the power of AI. They know how they use it in their own processes. So they will expect that TIC, as part of their whole supply chain, as part of their operations, also use it, and use it properly — the speed to market is something critical. Whatever the industry, whatever the customers, speed to market to put your products on the market is something absolutely critical. Turnaround time is key.`},{speaker:`Konstantin Klingler`,text:`So basically the symmetrical AI use by the customers, by the manufacturers, the brands, the retailers, is then also expected to lead to innovation on the TIC side of things. So you have the AI use and the acceleration on both sides of the equation.`},{speaker:`Charles Ly Wa Hoi`,text:`Yeah, we see the evolution of the customers' requirements or requests about big data, about how to use everything that the TIC industry has as data — and this is for the purpose of making simulations, managing risk, stuff like that. If you are not prepared as a TIC company, then I think you will expose yourself to important risk, I would say.`},{speaker:`Konstantin Klingler`,text:`And do you think — having been a leader for many years of large organisations — do you think there's now, in this new age of AI, some mindset shift necessary? Do you need to have a different perspective, or do you think AI is a continuation of similar things that have worked in the past?`},{speaker:`Charles Ly Wa Hoi`,text:`Well, it obviously needs a cultural change, and we know that change is probably the most difficult thing to address. It's a challenge. So for sure it's something that those companies will have to work on — work on their people, and make sure that everybody evolves with the technology, make sure that everybody understands the benefits of AI in their operations in their daily job.`},{speaker:`Konstantin Klingler`,text:`And so what is the challenge that is still there today? AI is out there in many industries — why is it not fully implemented in all these processes where huge efficiency gains are to be made? What is the single biggest blocker today?`},{speaker:`Charles Ly Wa Hoi`,text:`There's a cultural resistance. There's also a lot of negative message about AI: the risk of losing your job, the impact, the manipulation of the information. So all this has to be addressed, again, as a company. I think the TIC industry — and n
52ot only the TIC industry — they will have to address that with their people. I think it's important if you want to be successful.`},{speaker:`Konstantin Klingler`,text:`And is there something that concerns you with AI, or something that keeps you up at night?`},{speaker:`Charles Ly Wa Hoi`,text:`It's still a learning curve for me, but it goes so fast. So I think you really need strong expertise if you want to play there. For sure, every day I just wake up and I see that there's something new in terms of technology, in terms of utilisation. So yeah, it's a scary world. Everything is moving very fast. It is scary, but I adapt.`},{speaker:`Konstantin Klingler`,text:`And is there anything in particular that excites you a lot about it? Because now you're becoming an AI expert within the TIC industry.`},{speaker:`Charles Ly Wa Hoi`,text:`I believe that AI will make some of the operators' lives much easier. I think that they are doing a lot of redundant things they need to address. I think they are wasting a lot of time. It's a lot of energy. If you think about the people going in the field, the inspectors going in the field — if the preparation work is secured and properly done, and saves a lot of time thanks to the AI, everybody will be happy.`},{speaker:`Konstantin Klingler`,text:`Great. Thank you for your insights.`}]}],Cv=Sv;function wv(e){return Sv.find(t=>t.slug===e)}function Tv(e){return`/blog/interviews/${e}`}function Ev(e){return e.thumbnailImage===void 0?e.youtubeId===void 0?lv:fv(e.youtubeId):e.thumbnailImage}function Dv(e){return`https://www.youtube-nocookie.com/embed/${e}`}var Ov=(e,t)=>t.publishedAt.localeCompare(e.publishedAt);function kv(){return Cv.map(e=>({kind:`interview`,key:e.slug,to:Tv(e.slug),title:e.title,thumbnail:Ev(e),labels:bv(`interview`,e.youtubeId!==void 0),tags:e.tags,description:e.summary,displayDate:e.displayDate,publishedAt:e.publishedAt})).sort(Ov)}function Av(){return mv.map(e=>({kind:`post`,key:e.slug,to:gv(e.slug),title:e.title,thumbnail:_v(e),labels:bv(`post`,e.youtubeId!==void 0),tags:e.tags,description:e.excerpt,displayDate:e.displayDate,publishedAt:e.publishedAt})).sort(Ov)}function jv(){return[...Av(),...kv()]}function Mv(){let e=jv(),t=xv(e),[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(void 0),[o,s]=(0,O.useState)(`newest`),c=(0,O.useMemo)(()=>{let t=n.trim().toLowerCase();return e.filter(e=>yv(e.tags,i)&&(t.length===0||e.title.toLowerCase().includes(t)||e.description.toLowerCase().includes(t))).sort((e,t)=>Number(e.kind===`interview`)-Number(t.kind===`interview`)||(o===`newest`?t.publishedAt.localeCompare(e.publishedAt):e.publishedAt.localeCompare(t.publishedAt)))},[e,n,i,o]);return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 pt-44 pb-24 lg:pt-56`,children:(0,k.jsxs)(`div`,{className:`mx-auto max-w-[1800px] px-6 sm:px-10 lg:px-24`,children:[(0,k.jsxs)(`h1`,{className:`mx-auto max-w-4xl text-center text-4xl leading-tight font-bold text-balance text-gray-900 md:text-5xl lg:text-6xl`,children:[`News & insights from`,` `,(0,k.jsx)(`span`,{className:`text-[#8bb7ff]`,children:`Seamflow`})]}),(0,k.jsxs)(`div`,{className:`mt-20 space-y-6`,children:[(0,k.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4`,children:[(0,k.jsx)(`input`,{type:`search`,value:n,onChange:e=>r(e.target.value),placeholder:`Search news`,"aria-label":`Search news`,className:`w-full border border-gray-200 px-4 py-3 text-sm text-gray-900 placeholder:text-gray-500 focus:border-gray-900 focus:outline-none sm:w-96`}),(0,k.jsxs)(`div`,{className:`relative`,children:[(0,k.jsxs)(`select`,{value:o,onChange:e=>s(e.target.value),"aria-label":`Sort order`,className:`appearance-none border border-gray-200 py-3 pr-12 pl-4 text-sm text-gray-900 focus:border-gray-900 focus:outline-none`,children:[(0,k.jsx)(`option`,{value:`newest`,children:`Most recent`}),(0,k.jsx)(`option`,{value:`oldest`,children:`Oldest first`})]}),(0,k.jsx)(`svg`,{className:`pointer-events-none absolute top-1/2 right-4 h-3 w-3 -translate-y-1/2 text-gray-500`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,"aria-hidden":!0,
52children:(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]})]}),(0,k.jsx)(cv,{tags:t,activeTag:i,onSelect:a}),(0,k.jsxs)(`p`,{className:`text-sm text-gray-500`,children:[`Showing `,c.length,` results out of `,e.length]})]}),c.length===0?(0,k.jsx)(`p`,{className:`mt-16 text-sm text-gray-500`,children:`No results. Try a different search or category.`}):(0,k.jsx)(`div`,{className:`mt-10 grid grid-cols-1 gap-x-4 gap-y-12 sm:grid-cols-2 lg:grid-cols-3`,children:c.map(e=>(0,k.jsx)(ov,{to:e.to,title:e.title,thumbnail:e.thumbnail,displayDate:e.displayDate,description:e.description},e.key))})]})}),(0,k.jsx)(Ug,{}),(0,k.jsx)(e_,{})]})}function Nv({videoId:e,title:t}){return(0,k.jsx)(`div`,{className:`aspect-video w-full overflow-hidden border border-gray-200 bg-black`,children:(0,k.jsx)(`iframe`,{src:Dv(e),title:t,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share`,referrerPolicy:`strict-origin-when-cross-origin`,allowFullScreen:!0,className:`h-full w-full`,loading:`lazy`})})}function Pv(){return(0,k.jsx)(`footer`,{className:`w-full bg-[#8bb7ff]`,children:(0,k.jsx)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-1`,children:(0,k.jsx)(`div`,{className:`text-center text-black`,children:(0,k.jsxs)(`p`,{className:`text-[10px] leading-tight`,children:[`© `,new Date().getFullYear(),` Seamflow. All rights reserved.`]})})})})}function Fv(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 flex items-center justify-center pt-32 pb-20`,children:(0,k.jsxs)(`div`,{className:`max-w-2xl mx-auto px-6 sm:px-8 text-center`,children:[(0,k.jsx)(`p`,{className:`text-[10px] text-gray-500 uppercase tracking-wider mb-4`,children:`ERROR 404`}),(0,k.jsx)(`h1`,{className:`text-6xl md:text-8xl lg:text-9xl font-bold text-black mb-6`,children:`404`}),(0,k.jsx)(`h2`,{className:`text-2xl md:text-3xl lg:text-4xl font-bold text-black mb-6`,children:`Page Not Found`}),(0,k.jsx)(`p`,{className:`text-sm md:text-base text-gray-600 leading-relaxed mb-10 max-w-md mx-auto`,children:`The page you're looking for doesn't exist or has been moved. Let's get you back on track.`}),(0,k.jsxs)(`div`,{className:`flex flex-col sm:flex-row items-center justify-center gap-4`,children:[(0,k.jsx)(j,{to:`/`,className:`px-8 py-3 text-xs font-light uppercase tracking-wide bg-black text-white hover:bg-gray-800 transition-colors`,children:`Back to Home`}),(0,k.jsx)(j,{to:`/contact`,className:`px-8 py-3 text-xs font-light uppercase tracking-wide border border-black text-black hover:bg-gray-100 transition-colors`,children:`Contact Us`})]})]})}),(0,k.jsx)(Pv,{})]})}var Iv=`data-blog-posting`;function Lv({value:e}){let t=JSON.stringify(e).replace(/</g,`\\u003c`);return(0,O.useEffect)(()=>{let e=document.head.querySelector(`script[type="application/ld+json"][${Iv}]`);return e===null&&(e=document.createElement(`script`),e.type=`application/ld+json`,e.setAttribute(Iv,``),document.head.appendChild(e)),e.textContent!==t&&(e.textContent=t),()=>{e.remove()}},[t]),null}function Rv({tags:e}){return e.length===0?null:(0,k.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:e.map(e=>(0,k.jsx)(`span`,{className:`px-2 py-0.5 text-[10px] uppercase tracking-wider border border-gray-200 text-gray-500`,children:e},e))})}function zv({entries:e}){return e.length===0?null:(0,k.jsxs)(`section`,{className:`mt-16`,children:[(0,k.jsx)(`p`,{className:`text-xs text-gray-500 uppercase tracking-[0.2em] mb-3`,children:`Continue reading`}),(0,k.jsx)(`h2`,{className:`text-2xl md:text-3xl font-light text-black tracking-tight mb-8`,children:`More from the blog`}),(0,k.jsx)(`div`,{className:`grid grid-cols-1 gap-x-8 gap-y-14 sm:grid-cols-2 lg:grid-cols-3`,children:e.map(e=>
52(0,k.jsx)(ov,{to:e.href,title:e.title,thumbnail:e.thumbnail,displayDate:e.displayDate,description:e.tldr},e.href))})]})}var Bv=`https://www.seamflow.com`,Vv=`${Bv}/#organization`;function Hv(e){let t=`${Bv}${e.path}`;return{"@context":`https://schema.org`,"@type":`BlogPosting`,headline:e.headline,description:e.description,image:e.image,url:t,datePublished:e.datePublished,publisher:{"@id":Vv},mainEntityOfPage:{"@type":`WebPage`,"@id":t},author:e.authorName===void 0?{"@id":Vv}:{"@type":`Person`,name:e.authorName},...e.mentions===void 0?{}:{mentions:e.mentions},...e.video===void 0?{}:{video:e.video}}}function Uv(e){return Hv({headline:e.title,description:e.excerpt,image:_v(e),path:gv(e.slug),datePublished:e.publishedAt,authorName:e.authorName})}function Wv(e){if(!(e.youtubeId===void 0||e.transcript===void 0))return{"@type":`VideoObject`,name:e.title,description:e.summary,thumbnailUrl:fv(e.youtubeId),uploadDate:e.publishedAt,embedUrl:Dv(e.youtubeId),transcript:e.transcript.map(e=>`${e.speaker}: ${e.text}`).join(`
53
54`)}}function Gv(e){let t={"@type":`Organization`,name:e.organisation};return Hv({headline:e.title,description:e.summary,image:Ev(e),path:Tv(e.slug),datePublished:e.publishedAt,mentions:[{"@type":`Person`,name:e.guestName,jobTitle:e.guestRole,worksFor:t},t],video:Wv(e)})}function Kv(e){switch(e.kind){case`post`:return{href:gv(e.item.slug),title:e.item.title,thumbnail:_v(e.item),labels:bv(`post`,e.item.youtubeId!==void 0),tags:e.item.tags,displayDate:e.item.displayDate,publishedAt:e.item.publishedAt,tldr:e.item.excerpt};case`interview`:return{href:Tv(e.item.slug),title:e.item.title,thumbnail:Ev(e.item),labels:bv(`interview`,e.item.youtubeId!==void 0),tags:e.item.tags,displayDate:e.item.displayDate,publishedAt:e.item.publishedAt,tldr:e.item.summary}}}function qv(e,t){return e.filter(e=>t.includes(e)).length}function Jv(e,t,n=3){return[...mv.map(e=>({kind:`post`,item:e})),...Cv.map(e=>({kind:`interview`,item:e}))].filter(t=>t.item.slug!==e).sort((e,n)=>{let r=qv(n.item.tags,t)-qv(e.item.tags,t);return r===0?n.item.publishedAt.localeCompare(e.item.publishedAt):r}).slice(0,n).map(Kv)}function Yv({section:e}){switch(e.type){case`paragraph`:return(0,k.jsx)(`p`,{className:`text-base text-gray-600 leading-relaxed mb-6`,children:e.text});case`heading`:return(0,k.jsx)(`h2`,{className:`text-xl md:text-2xl font-light text-black mt-10 mb-4`,children:e.text});case`list`:return(0,k.jsx)(`ul`,{className:`list-disc list-inside text-base text-gray-600 leading-relaxed mb-6 space-y-2 pl-1`,children:e.items.map((e,t)=>(0,k.jsx)(`li`,{children:e},t))})}}function Xv(){let{slug:e}=Xn(),t=e===void 0?void 0:hv(e);if(t===void 0)return(0,k.jsx)(Fv,{});let n=t.heroImage??t.thumbnailImage,r=t.sections!==void 0&&t.sections.length>0,i=Jv(t.slug,t.tags);return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(Lv,{value:Uv(t)}),(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 pt-32 pb-20`,children:(0,k.jsxs)(`div`,{className:`max-w-6xl mx-auto px-6 sm:px-8 lg:px-12`,children:[(0,k.jsxs)(`article`,{className:`max-w-3xl mx-auto`,children:[(0,k.jsx)(j,{to:`/blog`,className:`inline-block text-xs font-light uppercase tracking-[0.2em] text-gray-500 hover:text-black transition-colors mb-10`,children:`← All entries`}),(0,k.jsxs)(`header`,{className:`mb-10 border-b border-gray-200 pb-10`,children:[(0,k.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 text-xs uppercase tracking-wider text-gray-500 mb-5`,children:[(0,k.jsx)(`span`,{children:t.category}),(0,k.jsx)(`span`,{className:`text-gray-300`,children:`·`}),(0,k.jsx)(`time`,{dateTime:t.publishedAt,children:t.displayDate}),(0,k.jsx)(`span`,{className:`text-gray-300`,children:`·`}),(0,k.jsxs)(`span`,{children:[t.readTimeMinutes,` min read`]})]}),(0,k.jsx)(`div`,{className:`mb-5`,children:(0,k.jsx)(Rv,{tags:t.tags})}),(0,k.jsx)(`h1`,{className:`text-3xl md:text-4xl font-light text-black tracking-tight leading-tight mb-5`,children:t.title}),(0,k.jsx)(`p`,{className:`text-base text-gray-500 leading-relaxed`,children:t.excerpt})]}),t.youtubeId===void 0?(0,k.jsx)(`div`,{className:`mb-12 aspect-[16/9] overflow-hidden border border-gray-200`,children:(0,k.jsx)(`img`,{loading:`eager`,src:n,alt:``,className:`h-full w-full object-cover`})}):(0,k.jsx)(`div`,{className:`mb-12`,children:(0,k.jsx)(Nv,{videoId:t.youtubeId,title:t.title})}),r?(0,k.jsx)(`div`,{className:`prose-seamflow`,children:t.sections?.map((e,t)=>(0,k.jsx)(Yv,{section:e},t))}):(0,k.jsx)(`p`,{className:`text-sm text-gray-500 uppercase tracking-[0.2em]`,children:`Content coming soon`}),(0,k.jsxs)(`footer`,{className:`mt-14 pt-10 border-t border-gray-200 flex flex-col sm:flex-row sm:items-center gap-6 ${t.externalUrl===void 0?`sm:justify-end`:`sm:justify-between`}`,children:[t.externalUrl!==void 0&&(0,k.jsx)(`a`,{href:t.externalUrl,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center justify-center px-6 py-2 text-xs font-light uppercase tracking-wide border border-black text-black hover:bg-black hover:text-white transition-colors`,children:`Read external article →`}),(0,k.jsx)(j,{to:`/contact`,className:`inline-flex items-center justify-center px-6 py-2 text-xs font-light uppercase tracking-wide bg-black text-white hover:bg-interactive-hover transition-colors`,children:`Book a demo`})]})]}
54),(0,k.jsx)(zv,{entries:i})]})}),(0,k.jsx)(e_,{})]})}function Zv(){let{slug:e}=Xn(),t=e===void 0?void 0:wv(e);if(t===void 0)return(0,k.jsx)(Fv,{});let n=t.youtubeId!==void 0,r=Jv(t.slug,t.tags);return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(Lv,{value:Gv(t)}),(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 pt-32 pb-20`,children:(0,k.jsxs)(`div`,{className:`max-w-6xl mx-auto px-6 sm:px-8 lg:px-12`,children:[(0,k.jsxs)(`article`,{className:`max-w-3xl mx-auto`,children:[(0,k.jsx)(j,{to:`/blog`,className:`inline-block text-xs font-light uppercase tracking-[0.2em] text-gray-500 hover:text-black transition-colors mb-10`,children:`← All entries`}),(0,k.jsxs)(`header`,{className:`mb-10 border-b border-gray-200 pb-10`,children:[(0,k.jsxs)(`div`,{className:`flex flex-wrap items-center gap-3 text-xs uppercase tracking-wider text-gray-500 mb-5`,children:[(0,k.jsx)(`span`,{children:`Interview`}),(0,k.jsx)(`span`,{className:`text-gray-300`,children:`·`}),(0,k.jsx)(`time`,{dateTime:t.publishedAt,children:t.displayDate})]}),(0,k.jsx)(`div`,{className:`mb-5`,children:(0,k.jsx)(Rv,{tags:t.tags})}),(0,k.jsx)(`h1`,{className:`text-3xl md:text-4xl font-light text-black tracking-tight leading-tight`,children:t.title})]}),t.youtubeId!==void 0&&(0,k.jsx)(`div`,{className:`mb-10`,children:(0,k.jsx)(Nv,{videoId:t.youtubeId,title:t.title})}),(0,k.jsxs)(`div`,{className:`space-y-4`,children:[(0,k.jsx)(`p`,{className:`text-base text-gray-600 leading-relaxed`,children:t.guestBio}),(0,k.jsx)(`p`,{className:`text-base text-gray-600 leading-relaxed`,children:t.summary})]}),!n&&(0,k.jsx)(`p`,{className:`mt-10 text-sm text-gray-500 uppercase tracking-[0.2em]`,children:`Video coming soon`}),(0,k.jsx)(`footer`,{className:`mt-14 pt-10 border-t border-gray-200 flex justify-end`,children:(0,k.jsx)(j,{to:`/contact`,className:`inline-flex items-center justify-center px-6 py-2 text-xs font-light uppercase tracking-wide bg-black text-white hover:bg-interactive-hover transition-colors`,children:`Book a demo`})})]}),(0,k.jsx)(zv,{entries:r})]})}),(0,k.jsx)(Pv,{})]})}function Qv(){return(0,k.jsxs)(`div`,{className:`space-y-5 m-0 p-0`,children:[(0,k.jsx)(`p`,{className:`text-[10px] text-gray-500 uppercase tracking-wider`,children:`CONTACT`}),(0,k.jsx)(`h1`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-black leading-tight`,children:`Book a Demo`})]})}var $v=`/api`,ey=async(e,t)=>{let n=t?.body instanceof FormData,r={};n||(r[`Content-Type`]=`application/json`),t?.headers&&Object.assign(r,t.headers);let i=await fetch(`${$v}${e}`,{...t,headers:r}),a=i.status===204?void 0:await i.json().catch(()=>({}));if(!i.ok)throw{status:i.status,message:i.statusText||`Request failed`,detail:a};return{data:a,status:i.status,headers:i.headers}},ty=[{code:`GB`,dialCode:`+44`,flag:`🇬🇧`,name:`United Kingdom`},{code:`DE`,dialCode:`+49`,flag:`🇩🇪`,name:`Germany`},{code:`US`,dialCode:`+1`,flag:`🇺🇸`,name:`United States`},{code:`FR`,dialCode:`+33`,flag:`🇫🇷`,name:`France`},{code:`NL`,dialCode:`+31`,flag:`🇳🇱`,name:`Netherlands`},{code:`AT`,dialCode:`+43`,flag:`🇦🇹`,name:`Austria`},{code:`IT`,dialCode:`+39`,flag:`🇮🇹`,name:`Italy`},{code:`ES`,dialCode:`+34`,flag:`🇪🇸`,name:`Spain`}],ny=[{code:`AE`,dialCode:`+971`,flag:`🇦🇪`,name:`United Arab Emirates`},{code:`AR`,dialCode:`+54`,flag:`🇦🇷`,name:`Argentina`},{code:`AU`,dialCode:`+61`,flag:`🇦🇺`,name:`Australia`},{code:`BD`,dialCode:`+880`,flag:`🇧🇩`,name:`Bangladesh`},{code:`BE`,dialCode:`+32`,flag:`🇧🇪`,name:`Belgium`},{code:`BG`,dialCode:`+359`,flag:`🇧🇬`,name:`Bulgaria`},{code:`BR`,dialCode:`+55`,flag:`🇧🇷`,name:`Brazil`},{code:`CA`,dialCode:`+1`,flag:`🇨🇦`,name:`Canada`},{code:`CH`,dialCode:`+41`,flag:`🇨🇭`,name:`Switzerland`},{code:`CL`,dialCode:`+56`,flag:`🇨🇱`,name:`Chile`},{code:`CN`,dialCode:`+86`,flag:`🇨🇳`,name:`China`},{code:`CO`,dialCode:`+57`,flag:`🇨🇴`,name:`Colombia`},{code:`CY`,dialCode:`+357`,flag:`🇨🇾`,name:`Cyprus`},{code:`CZ`,dialCode:`+420`,flag:`🇨🇿`,name:`Czech Republic`},{code:`DK`,dialCode:`+45`,flag:`🇩🇰`,name:`Denmark`},{code:`EE`,dialCode:`+372`,flag:`🇪🇪`,name:`Estonia`},{code:`EG`,dialCode:`+20`,flag:`🇪🇬`,name:`Egypt`},{code:`FI`,dialCode:`+358`,flag:`🇫🇮`,name:`Finland`},{code:`GR`,dialCode:`+30`,flag:`🇬🇷`,name:`Greece`},{code:`HK`,dialCode:`+852`,flag:`🇭🇰`,name:`Hong Kong`},{code:`HR`,dialCode:`+385`,flag:`🇭🇷`,name:`Croatia`},{code:`HU`,dialCode:`+36`,flag:`🇭🇺`,name:`Hungary`},{code:`ID`,dialCode:`+62`,flag:`🇮🇩`,name:`Indonesia`},{code:`IE`,dialCode:`+353`,flag:`🇮🇪`,name:`Ireland`},{code:`IL`,dialCode:`+972`,flag:`🇮🇱`,name:`Israel`},{code:`IN`,dialCode:`+91`,flag:`🇮🇳`,name:`India`},{code:`IS`,dialCode:`+354`,flag:`🇮🇸`,name:`Iceland`},{code:`JP`,dialCode:`+81`,flag:`🇯🇵`,name:`Japan`},{code:`KE`,dialCode:`+254`,flag:`🇰🇪`,name:`Kenya`}
54,{code:`KR`,dialCode:`+82`,flag:`🇰🇷`,name:`South Korea`},{code:`LK`,dialCode:`+94`,flag:`🇱🇰`,name:`Sri Lanka`},{code:`LT`,dialCode:`+370`,flag:`🇱🇹`,name:`Lithuania`},{code:`LU`,dialCode:`+352`,flag:`🇱🇺`,name:`Luxembourg`},{code:`LV`,dialCode:`+371`,flag:`🇱🇻`,name:`Latvia`},{code:`MT`,dialCode:`+356`,flag:`🇲🇹`,name:`Malta`},{code:`MX`,dialCode:`+52`,flag:`🇲🇽`,name:`Mexico`},{code:`MY`,dialCode:`+60`,flag:`🇲🇾`,name:`Malaysia`},{code:`NG`,dialCode:`+234`,flag:`🇳🇬`,name:`Nigeria`},{code:`NP`,dialCode:`+977`,flag:`🇳🇵`,name:`Nepal`},{code:`NO`,dialCode:`+47`,flag:`🇳🇴`,name:`Norway`},{code:`NZ`,dialCode:`+64`,flag:`🇳🇿`,name:`New Zealand`},{code:`PE`,dialCode:`+51`,flag:`🇵🇪`,name:`Peru`},{code:`PH`,dialCode:`+63`,flag:`🇵🇭`,name:`Philippines`},{code:`PK`,dialCode:`+92`,flag:`🇵🇰`,name:`Pakistan`},{code:`PL`,dialCode:`+48`,flag:`🇵🇱`,name:`Poland`},{code:`PT`,dialCode:`+351`,flag:`🇵🇹`,name:`Portugal`},{code:`RO`,dialCode:`+40`,flag:`🇷🇴`,name:`Romania`},{code:`RU`,dialCode:`+7`,flag:`🇷🇺`,name:`Russia`},{code:`SA`,dialCode:`+966`,flag:`🇸🇦`,name:`Saudi Arabia`},{code:`SE`,dialCode:`+46`,flag:`🇸🇪`,name:`Sweden`},{code:`SG`,dialCode:`+65`,flag:`🇸🇬`,name:`Singapore`},{code:`SI`,dialCode:`+386`,flag:`🇸🇮`,name:`Slovenia`},{code:`SK`,dialCode:`+421`,flag:`🇸🇰`,name:`Slovakia`},{code:`TH`,dialCode:`+66`,flag:`🇹🇭`,name:`Thailand`},{code:`TR`,dialCode:`+90`,flag:`🇹🇷`,name:`Turkey`},{code:`TW`,dialCode:`+886`,flag:`🇹🇼`,name:`Taiwan`},{code:`UA`,dialCode:`+380`,flag:`🇺🇦`,name:`Ukraine`},{code:`VE`,dialCode:`+58`,flag:`🇻🇪`,name:`Venezuela`},{code:`VN`,dialCode:`+84`,flag:`🇻🇳`,name:`Vietnam`},{code:`ZA`,dialCode:`+27`,flag:`🇿🇦`,name:`South Africa`}];ny.sort((e,t)=>e.name.localeCompare(t.name));var ry=[...ty,...ny];function iy({value:e,onChange:t,error:n}){let[r,i]=(0,O.useState)(ry[0]),[a,o]=(0,O.useState)(!1),[s,c]=(0,O.useState)(``),l=(0,O.useRef)(null),u=(0,O.useRef)(null);(0,O.useEffect)(()=>{if(e&&e.startsWith(`+`)){let t=ry.find(t=>e.startsWith(t.dialCode));t?(i(t),c(e.replace(t.dialCode,``).trim())):c(e)}else c(e)},[e]),(0,O.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&o(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]),(0,O.useEffect)(()=>{let e=u.current;if(!e)return;let t=t=>{t.stopPropagation();let{scrollTop:n,scrollHeight:r,clientHeight:i}=e,a=n===0,o=n+i>=r-1;(a&&t.deltaY<0||o&&t.deltaY>0)&&t.preventDefault()};return e.addEventListener(`wheel`,t,{passive:!1}),()=>{e.removeEventListener(`wheel`,t)}},[a]);let d=e=>{i(e),o(!1),t(e.dialCode+s,e.dialCode)};return(0,k.jsxs)(`div`,{className:`min-w-0`,children:[(0,k.jsx)(`label`,{htmlFor:`phoneNumber`,className:`block text-xs sm:text-sm font-medium text-black mb-1`,children:`Phone number`}),(0,k.jsxs)(`div`,{className:`flex min-w-0`,children:[(0,k.jsxs)(`div`,{className:`relative shrink-0`,ref:l,children:[(0,k.jsxs)(`button`,{type:`button`,onClick:()=>o(!a),"aria-expanded":a,"aria-haspopup":`listbox`,"aria-label":`Select country code`,className:`flex items-center h-full px-1.5 sm:px-2 border-r-0 border ${n?`border-border-danger`:`border-border-default`} bg-surface-input focus:outline-none focus:border-border-focus transition text-xs sm:text-sm`,children:[(0,k.jsx)(`span`,{className:`mr-1.5 text-xs leading-none`,children:r.flag}),(0,k.jsx)(`span`,{className:`hidden sm:inline text-xs`,children:r.dialCode}),(0,k.jsx)(`svg`,{className:`ml-1.5 w-3 h-3 transition-transform ${a?`rotate-180`:``}`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`,children:(0,k.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]}),a&&(0,k.jsx)(`div`,{ref:u,role:`listbox`,className:`absolute z-50 mt-1 w-48 sm:w-64 bg-white border border-border-default rounded`,style:{height:`240px`,overflowY:`scroll`,overflowX:`hidden`,WebkitOverflowScrolling:`touch`,scrollbarWidth:`thin`},children:ry.map(e=>(0,k.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":r.code===e.code,onClick:()=>d(e),className:`w-full flex items-center px-3 py-2 hover:bg-surface-hover ${r.code===e.code?`bg-surface-selected`:``}`,children:[(0,k.jsx)(`span`,{className:`mr-3 text-base`,children:e.flag}),(0,k.jsx)(`span`,{className:`flex-1 text-left text-sm`,children:e.name}),(0,k.jsx)(`span`,{className:`text-sm text-text-muted`,children:e.dialCode})]},e.code))})]}),(0,k.jsx)(`input`,{type:`tel`,id:`phoneNumber`,name:`phoneNumber`,required:!0,value:(e=>r.code===`GB`?e.length<=3?e:e.length<=6?`${e.slice(0,3)} ${e.slice(3)}`:e.length<=10?`${e.slice(0,4)} ${e.slice(4,7)} ${e.slice(7)}`:`${e.slice(0,5)} ${e.slice(5,8)} ${e.slice(8)}`:e.replace(/(\d{3,4})(?=\d)/g,`$1 `))(s),onChange:e=>{let n=e.target.value.replace(/\D/g,``);c(n),t(r.dialCode+n,r.dialCode)},className:`flex-1 min-w-0 px-3 py-1.5 border ${n?`border-border-danger`:`border-border-default`} bg-surface-input focus:outline-none focus:border-border-focus transition text-xs sm:text-sm`,placeholder:`Phone number`}),(0,k.jsx)(`input`,{type:`hidden`,name:`phoneNumberFull`,value:r.dialCode+s})]}),n&&(0,k.jsx)(`p`,{role:`alert`,className:`text-[10px] sm:text-xs text-text-danger mt-0.5`,children:n})]})}function ay(){let[e,t]=(0,O.useState)({}),[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(!1),o=bt({mutationFn:async e=>ey(`/v1/partnerships/inquiries`,{method:`POST`,body:JSON.stringify(e)}),onSuccess:()=>a(!0)}),s=e=>{let t=e.trim();return t.length<2||t.length>100||/<script|javascript:|data:|on\w+\s*=|eval\(|expression\(/i.test(t)?!1:/[a-zA-Z0-9]/.test(t)},c=e=>/^[a-zA-Z0-9\s&.,'-]{2,100}$/.test(e.trim()),l=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),u=e=>{let t=e.replace(/\D/g,``);return t.length>=8&&t.length<=16},d=e=>e.trim().length>=10&&e.trim().length<=1e3,f=n=>{e[n]&&t(e=>{let t={...e};return delete t[n],t})};return i?(0,k.jsx)(`div`,{className:`flex items-start m-0 p-0 pt-8`,children:(0,k.jsxs)(`div`,{className:`w-full space-y-4 text-center py-8`,children:[(0,k.jsx)(`div`,{className:`text-4xl`,children:`✓`}),(0,k.jsx)(`h3`,{className:`text-xl font-medium text-black`,children:`Thank you for reaching out!`}),(0,k.jsx)(`p`,{className:`text-sm text-text-secondary`,children:`We've received your inquiry and will get back to you shortly.`})]})}):(0,k.jsx)(`div`,{className:`flex items-start m-0 p-0 pt-8`,children:(0,k.jsxs)(`form`,{onSubmit:e=>{e.preventDefault();let r=new FormData(e.currentTarget),i=r.get(`name`)??``,a=r.get(`companyName`)??``,f=r.get(`workEmail`)??``,p=(r.get(`phoneNumberFull`)??n)||n,m=r.get(`message`)??``,h=r.get(`operationalConsent`)===`on`,g={};if(s(i)||(g.name=`Please enter a valid name (2-100 characters)`),c(a)||(g.companyName=`Please enter a valid company name`),l(f)||(g.workEmail=`Please enter a valid email address`),u(p)||
54(g.phoneNumber=`Please enter a valid phone number`),d(m)||(g.message=`Message must be between 10 and 1000 characters`),Object.keys(g).length>0){t(g);return}o.mutate({name:i,companyName:a,workEmail:f,phoneNumber:p,message:m,consentOperational:h,consentMarketing:!1})},className:`w-full space-y-3 m-0 p-0`,children:[o.isError&&(0,k.jsxs)(`div`,{role:`alert`,className:`w-full p-3 bg-status-error-bg border border-status-error-border text-status-error-text text-sm`,children:[(0,k.jsx)(`p`,{className:`font-medium`,children:`Failed to submit inquiry`}),(0,k.jsx)(`p`,{className:`text-xs mt-1`,children:o.error instanceof Error?o.error.message:`Please try again later or contact us directly.`})]}),(0,k.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`label`,{htmlFor:`name`,className:`block text-xs sm:text-sm font-medium text-black mb-1`,children:`Name`}),(0,k.jsx)(`input`,{type:`text`,id:`name`,name:`name`,required:!0,minLength:2,maxLength:100,onChange:()=>f(`name`),className:`w-full px-3 py-1.5 border ${e.name?`border-border-danger`:`border-border-default`} bg-surface-input focus:outline-none focus:border-border-focus transition text-xs sm:text-sm`,placeholder:`Your name`}),e.name&&(0,k.jsx)(`p`,{role:`alert`,className:`text-[10px] sm:text-xs text-text-danger mt-0.5`,children:e.name})]}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`label`,{htmlFor:`companyName`,className:`block text-xs sm:text-sm font-medium text-black mb-1`,children:`Company name`}),(0,k.jsx)(`input`,{type:`text`,id:`companyName`,name:`companyName`,required:!0,pattern:`[a-zA-Z0-9\\s&.,'-]{2,100}`,onChange:()=>f(`companyName`),className:`w-full px-3 py-1.5 border ${e.companyName?`border-border-danger`:`border-border-default`} bg-surface-input focus:outline-none focus:border-border-focus transition text-xs sm:text-sm`,placeholder:`Company name`}),e.companyName&&(0,k.jsx)(`p`,{role:`alert`,className:`text-[10px] sm:text-xs text-text-danger mt-0.5`,children:e.companyName})]})]}),(0,k.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`label`,{htmlFor:`workEmail`,className:`block text-xs sm:text-sm font-medium text-black mb-1`,children:`Work email`}),(0,k.jsx)(`input`,{type:`email`,id:`workEmail`,name:`workEmail`,required:!0,onChange:()=>f(`workEmail`),className:`w-full px-3 py-1.5 border ${e.workEmail?`border-border-danger`:`border-border-default`} bg-surface-input focus:outline-none focus:border-border-focus transition text-xs sm:text-sm`,placeholder:`Work email`}),e.workEmail&&(0,k.jsx)(`p`,{role:`alert`,className:`text-[10px] sm:text-xs text-text-danger mt-0.5`,children:e.workEmail})]}),(0,k.jsx)(iy,{value:n,onChange:(e,t)=>
54{r(e),f(`phoneNumber`)},error:e.phoneNumber})]}),(0,k.jsxs)(`div`,{children:[(0,k.jsx)(`label`,{htmlFor:`message`,className:`block text-xs sm:text-sm font-medium text-black mb-1`,children:`Message`}),(0,k.jsx)(`textarea`,{id:`message`,name:`message`,rows:3,required:!0,minLength:10,maxLength:1e3,onChange:()=>f(`message`),className:`w-full px-3 py-1.5 border ${e.message?`border-border-danger`:`border-border-default`} bg-surface-input focus:outline-none focus:border-border-focus transition resize-none text-xs sm:text-sm`,placeholder:`Type your message...`}),e.message&&(0,k.jsx)(`p`,{role:`alert`,className:`text-[10px] sm:text-xs text-text-danger mt-0.5`,children:e.message})]}),(0,k.jsxs)(`div`,{className:`flex items-start`,children:[(0,k.jsx)(`input`,{type:`checkbox`,id:`operationalConsent`,name:`operationalConsent`,required:!0,className:`mt-0.5 mr-2 w-3 h-3 border border-border-default bg-white focus:outline-none focus-visible:ring-2 focus-visible:ring-border-focus focus-visible:ring-offset-2 flex-shrink-0 cursor-pointer`}),(0,k.jsx)(`label`,{htmlFor:`operationalConsent`,className:`text-[10px] sm:text-xs text-text-secondary leading-normal cursor-pointer`,children:`Consent to receive operational communications by SMS/text messages from Seamflow at the phone number and/or email address you provided. Message and data rates may apply.`})]}),(0,k.jsx)(`button`,{type:`submit`,disabled:o.isPending,className:`w-full bg-black text-white py-2 px-6 font-medium uppercase tracking-wide hover:bg-interactive-hover transition-colors focus:outline-none text-xs sm:text-sm mt-4 disabled:opacity-50 disabled:cursor-not-allowed`,children:o.isPending?`SUBMITTING...`:`SUBMIT`})]})})}var oy=[.4,0,.2,1];function sy(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`min-h-screen flex-1 flex items-center pt-32 pb-24`,children:(0,k.jsx)(`div`,{className:`w-full max-w-7xl mx-auto px-6 sm:px-8 lg:px-12 xl:px-16`,children:(0,k.jsxs)(`div`,{className:`grid grid-cols-1 lg:grid-cols-[35fr_5fr_55fr] gap-0`,children:[(0,k.jsx)($.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1,ease:oy},children:(0,k.jsx)(Qv,{})}),(0,k.jsx)(`div`,{}),(0,k.jsx)($.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3,ease:oy},children:(0,k.jsx)(ay,{})})]})})}),(0,k.jsx)(e_,{})]})}function cy(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 pt-24 pb-20`,children:(0,k.jsx)(`div`,{className:`max-w-4xl mx-auto px-6 sm:px-8 lg:px-12`,children:(0,k.jsxs)(`div`,{className:`py-12`,children:[(0,k.jsx)(`h1`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-black mb-4`,children:`Terms of Service`}),(0,k.jsx)(`p`,{className:`text-sm text-gray-500 mb-12`,children:`Last updated January 28, 2025`}),(0,k.jsxs)(`div`,{className:`mb-12 p-6 bg-gray-50 border border-gray-200`,children:[(0,k.jsx)(`h2`,{className:`text-sm font-bold text-black uppercase tracking-wider mb-4`,children:`Table of Contents`}),(0,k.jsxs)(`ol`,{className:`text-sm text-gray-600 space-y-2 list-decimal list-inside`,children:[(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#agreement`,className:`hover:text-black hover:underline`,children:`Agreement to Terms`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#intellectual-property`,className:`hover:text-black hover:underline`,children:`Intellectual Property Rights`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#user-representations`,className:`hover:text-black hover:underline`,children:`User Representations`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#prohibited-activities`,className:`hover:text-black hover:underline`,children:`Prohibited Activities`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#user-contributions`,className:`hover:text-black hover:underline`,children:`User Generated Contributions`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#contribution-license`,className:`hover:text-black hover:underline`,children:`Contribution License`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#submissions`,className:`hover:text-black hover:underline`,children:`Submissions`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#third-party`,className:`hover:text-black hover:underline`,children:`Third-Party Websites and Content`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#site-management`,className:`hover:text-black hover:underline`,children:`Site Management`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#privacy-policy`,className:`hover:text-black hover:underline`,children:`Privacy Policy`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#term-termination`,className:`hover:text-black hover:underline`,children:`Term and Termination`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#modifications`,className:`hover:text-black hover:underline`,children:`Modifications and Interruptions`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#governing-law`,className:`hover:text-black hover:underline`,children:`Governing Law`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#dispute-resolution`,className:`hover:text-black hover:underline`,children:`Dispute Resolution`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#corrections`,className:`hover:text-black hover:underline`,children:`Corrections`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#disclaimer`,className:`hover:text-black hover:underline`,children:`Disclaimer`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#limitations`,className:`hover:text-black hover:underline`,children:`Limitations of Liability`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#indemnification`,className:`hover:text-black hover:underline`,children:`Indemnification`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#user-data`,className:`hover:text-black hover:underline`,children:`User Data`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#electronic-communications`,className:`hover:text-black hover:underline`,children:`Electronic Communications`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#miscellaneous`,className:`hover:text-black hover:underline`,children:`Miscellaneous`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#contact`,className:`hover:text-black hover:underline`,children:`Contact Us`})})]})]}),(0,k.jsxs)(`div`,{className:`prose prose-sm max-w-none text-gray-600`,children:[(0,k.jsxs)(`section`,{id:`agreement`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`1. Agreement to Terms`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`These Terms of Use constitute a legally binding agreement made between you, whether personally or on behalf of an entity ("you") and Seamflow Inc. ("Seamflow," "we," "us," or "our"), concerning your access to and use of the https://seamflow.com website as well as any other media form, media channel, mobile website or mobile application related, linked, or otherwise connected thereto (collectively, the "Site").`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`You agree that by accessing the Site, you have read, understood, and agreed to be bound by all of these Terms of Use. IF YOU DO NOT AGREE WITH ALL OF THESE TERMS OF USE, THEN YOU ARE EXPRESSLY PROHIBITED FROM USING THE SITE AND YOU MUST DISCONTINUE USE IMMEDIATELY.`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`Supplemental terms and conditions or documents that may be posted on the Site from time to time are hereby expressly incorporated herein by reference. We reserve the right, in our sole discretion, to make changes or modifications to these Terms of Use from time to time. We will alert you about any changes by updating the "Last updated" date of these Terms of Use, and you waive any right to re
54ceive specific notice of each such change.`}),(0,k.jsx)(`p`,{children:`The Site is intended for users who are at least 18 years old. Persons under the age of 18 are not permitted to use or register for the Site.`})]}),(0,k.jsxs)(`section`,{id:`intellectual-property`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`2. Intellectual Property Rights`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`Unless otherwise indicated, the Site is our proprietary property and all source code, databases, functionality, software, website designs, audio, video, text, photographs, and graphics on the Site (collectively, the "Content") and the trademarks, service marks, and logos contained therein (the "Marks") are owned or controlled by us or licensed to us, and are protected by copyright and trademark laws and various other intellectual property rights and unfair competition laws of the United States, international copyright laws, and international conventions.`}),(0,k.jsx)(`p`,{children:`Provided that you are eligible to use the Site, you are granted a limited license to access and use the Site and to download or print a copy of any portion of the Content to which you have properly gained access solely for your personal, non-commercial use. We reserve all rights not expressly granted to you in and to the Site, the Content and the Marks.`})]}),(0,k.jsxs)(`section`,{id:`user-representations`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`3. User Representations`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`By using the Site, you represent and warrant that: (1) you have the legal capacity and you agree to comply with these Terms of Use; (2) you are not a minor in the jurisdiction in which you reside; (3) you will not access the Site through automated or non-human means, whether through a bot, script, or otherwise; (4) you will not use the Site for any illegal or unauthorized purpose; and (5) your use of the Site will not violate any applicable law or regulation.`}),(0,k.jsx)(`p`,{children:`If you provide any information that is untrue, inaccurate, not current, or incomplete, we have the right to suspend or terminate your account and refuse any and all current or future use of the Site (or any portion thereof).`})]}),(0,k.jsxs)(`section`,{id:`prohibited-activities`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`4. Prohibited Activities`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`You may not access or use the Site for any purpose other than that for which we make the Site available. The Site may not be used in connection with any commercial endeavors except those that are specifically endorsed or approved by us.`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`As a user of the Site, you agree not to:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mb-4`,children:[(0,k.jsx)(`li`,{children:`Systematically retrieve data or other content from the Site to create or compile, directly or indirectly, a collection, compilation, database, or directory without written permission from us.`}),(0,k.jsx)(`li`,{children:`Trick, defraud, or mislead us and other users, especially in any attempt to learn sensitive account information such as user passwords.`}),(0,k.jsx)(`li`,{children:`Circumvent, disable, or otherwise interfere with security-related features of the Site.`}),(0,k.jsx)(`li`,{children:`Disparage, tarnish, or otherwise harm, in our opinion, us and/or the Site.`}),(0,k.jsx)(`li`,{children:`Use any information obtained from the Site in order to harass, abuse, or harm another person.`}),(0,k.jsx)(`li`,{children:`Make improper use of our support services or submit false reports of abuse or misconduct.`}),(0,k.jsx)(`li`,{children:`Use the Site in a manner inconsistent with any applicable laws or regulations.`}),(0,k.jsx)(`li`,{children:`Engage in unauthorized framing of or linking to the Site.`}),(0,k.jsx)(`li`,{children:`Upload or transmit viruses, Trojan horses, or other material that interferes with any party's uninterrupted use and enjoyment of the Site.`}),(0,k.jsx)(`li`,{children:`Engage in any automated use of the system, such as using scripts to send comments or messages.`}),(0,k.jsx)(`li`,{children:`Delete the copyright or other proprietary rights notice from any Content.`}),(0,k.jsx)(`li`,{children:`Attempt to impersonate another user or person.`}),(0,k.jsx)(`li`,{children:`Interfere with, disrupt, or create an undue burden on the Site or the networks or services connected to the Site.`}),(0,k.jsx)(`li`,{children:`Harass, annoy, intimidate, or threaten any of our employees or agents.`}),(0,k.jsx)(`li`,{children:`Copy or adapt the Site's software, including but not limited to Flash, PHP, HTML, JavaScript, or other code.`}),(0,k.jsx)(`li`,{children:`Except as permitted by applicable law, decipher, decompile, disassemble, or reverse engineer any of the softw
54are comprising or in any way making up a part of the Site.`})]})]}),(0,k.jsxs)(`section`,{id:`user-contributions`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`5. User Generated Contributions`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`The Site may invite you to chat, contribute to, or participate in blogs, message boards, online forums, and other functionality, and may provide you with the opportunity to create, submit, post, display, transmit, perform, publish, distribute, or broadcast content and materials to us or on the Site (collectively, "Contributions"). Contributions may be viewable by other users of the Site and through third-party websites.`}),(0,k.jsx)(`p`,{children:`Any Contributions you transmit may be treated as non-confidential and non-proprietary. When you create or make available any Contributions, you thereby represent and warrant that your Contributions are not false, inaccurate, or misleading, and do not violate any applicable law, regulation, or rule.`})]}),(0,k.jsxs)(`section`,{id:`contribution-license`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`6. Contribution License`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`By posting your Contributions to any part of the Site, you automatically grant, and you represent and warrant that you have the right to grant, to us an unrestricted, unlimited, irrevocable, perpetual, non-exclusive, transferable, royalty-free, fully-paid, worldwide right, and license to host, use, copy, reproduce, disclose, sell, resell, publish, broadcast, retitle, archive, store, cache, publicly perform, publicly display, reformat, translate, transmit, excerpt (in whole or in part), and distribute such Contributions for any purpose, commercial, advertising, or otherwise.`}),(0,k.jsx)(`p`,{children:`We do not assert any ownership over your Contributions. You retain full ownership of all of your Contributions and any intellectual property rights or other proprietary rights associated with your Contributions.`})]}),(0,k.jsxs)(`section`,{id:`submissions`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`7. Submissions`}),(0,k.jsx)(`p`,{children:`You acknowledge and agree that any questions, comments, suggestions, ideas, feedback, or other information regarding the Site ("Submissions") provided by you to us are non-confidential and shall become our sole property. We shall own exclusive rights, including all intellectual property rights, and shall be entitled to the unrestricted use and dissemination of these Submissions for any lawful purpose, commercial or otherwise, without acknowledgment or compensation to you.`})]}),(0,k.jsxs)(`section`,{id:`third-party`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`8. Third-Party Websites and Content`}),(0,k.jsx)(`p`,{children:`The Site may contain links to other websites ("Third-Party Websites") as well as articles, photographs, text, graphics, pictures, designs, music, sound, video, information, applications, software, and other content or items belonging to or originating from third parties ("Third-Party Content"). Such Third-Party Websites and Third-Party Content are not investigated, monitored, or checked for accuracy, appropriateness, or completeness by us, and we are not responsible for any Third-Party Websites accessed through the Site or any Third-Party Content posted on, available through, or installed from the Site.`})]}),(0,k.jsxs)(`section`,{id:`site-management`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`9. Site Management`}),(0,k.jsx)(`p`,{children:`We reserve the right, but not the obligation, to: (1) monitor the Site for violations of these Terms of Use; (2) take appropriate legal action against anyone who, in our sole discretion, violates the law or these Terms of Use; (3) in our sole discretion and without limitation, refuse, restrict access to, limit the availability of, or disable any of your Contributions or any portion thereof; (4) in our sole discretion and without limitation, notice, or liability, to remove from the Site or otherwise disable all files and content that are excessive in size or are in any way burdensome to our systems; and (5) otherwise manage the Site in a manner designed to protect our rights and property and to facilitate the proper functioning of the Site.`})]}),(0,k.jsxs)(`section`,{id:`privacy-policy`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`10. Privacy Policy`}),(0,k.jsxs)(`p`,{children:[`We care about data privacy and security. Please review our`,` `,(0,k.jsx)(`a`,{href:`/privacy`,className:`underline hover:text-black`,children:`Privacy Policy`}),`. By using the Site, you agree to be bound by our Privacy Policy, which is incorporated into these Terms of Use. Please be advised the Site is hosted in the United States. If you access the Site from any other region of the world with laws or other requirements governing personal data collection, use, or disclosure that differ from applicable laws in the United States, then through your continued use of the Site, you are transferring your data to the United States, and you agree to have your data transferred to and processed in the United States.`]})]}),(0,k.jsxs)(`section`,{id:`term-termination`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`11. Term and Termination`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`These Terms of Use shall remain in full force and effect while you use the Site. WITHOUT LIMITING ANY OTHER PROVISION OF THESE TERMS OF USE, WE RESERVE THE RIGHT TO, IN OUR SOLE DISCRETION AND WITHOUT NOTICE OR LIABILITY, DENY ACCESS TO AND USE OF THE SITE (INCLUDING BLOCKING CERTAIN IP ADDRESSES), TO ANY PERSON FOR ANY REASON OR FOR NO REASON, INCLUDING WITHOUT LIMITATION FOR BREACH OF ANY REPRESENTATION, WARRANTY, OR COVENANT CONTAINED IN THESE TERMS OF USE OR OF ANY APPLICABLE LAW OR REGULATION.`}),(0,k.jsx)(`p`,{children:`If we terminate or suspend your account for any reason, you are prohibited from registering and creating a new account under your name, a fake or borrowed name, or the name of any third party, even if you may be acting on behalf of the third party.`})]}),(0,k.jsxs)(`section`,{id:`modifications`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`12. Modifications and Interruptions`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We reserve the right to change, modify, or remove the contents of the Site at any time or for any reason at our sole discretion without notice. However, we have no obligation to update any information on our Site. We also reserve the right to modify or discontinue all or part of the Site without notice at any time.`}),(0,k.jsx)(`p`,{children:`We cannot guarantee the Site will be available at all times. We may experience hardware, softw
54are, or other problems or need to perform maintenance related to the Site, resulting in interruptions, delays, or errors. You agree that we have no liability whatsoever for any loss, damage, or inconvenience caused by your inability to access or use the Site during any downtime or discontinuance of the Site.`})]}),(0,k.jsxs)(`section`,{id:`governing-law`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`13. Governing Law`}),(0,k.jsx)(`p`,{children:`These Terms of Use and your use of the Site are governed by and construed in accordance with the laws of the State of Delaware applicable to agreements made and to be entirely performed within the State of Delaware, without regard to its conflict of law principles.`})]}),(0,k.jsxs)(`section`,{id:`dispute-resolution`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`14. Dispute Resolution`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Informal Negotiations`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`To expedite resolution and control the cost of any dispute, controversy, or claim related to these Terms of Use (each "Dispute" and collectively, the "Disputes") brought by either you or us (individually, a "Party" and collectively, the "Parties"), the Parties agree to first attempt to negotiate any Dispute informally for at least thirty (30) days before initiating arbitration.`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Binding Arbitration`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`If the Parties are unable to resolve a Dispute through informal negotiations, the Dispute will be finally and exclusively resolved through binding arbitration. YOU UNDERSTAND THAT WITHOUT THIS PROVISION, YOU WOULD HAVE THE RIGHT TO SUE IN COURT AND HAVE A JURY TRIAL.`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Restrictions`}),(0,k.jsx)(`p`,{children:`The Parties agree that any arbitration shall be limited to the Dispute between the Parties individually. To the full extent permitted by law, (a) no arbitration shall be joined with any other proceeding; (b) there is no right or authority for any Dispute to be arbitrated on a class-action basis or to utilize class action procedures; and (c) there is no right or authority for any Dispute to be brought in a purported representative capacity on behalf of the general public or any other persons.`})]}),(0,k.jsxs)(`section`,{id:`corrections`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`15. Corrections`}),(0,k.jsx)(`p`,{children:`There may be information on the Site that contains typographical errors, inaccuracies, or omissions, including descriptions, pricing, availability, and various other information. We reserve the right to correct any errors, inaccuracies, or omissions and to change or update the information on the Site at any time, without prior notice.`})]}),(0,k.jsxs)(`section`,{id:`disclaimer`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`16. Disclaimer`}),(0,k.jsx)(`p`,{children:`THE SITE IS PROVIDED ON AN AS-IS AND AS-AVAILABLE BASIS. YOU AGREE THAT YOUR USE OF THE SITE AND OUR SERVICES WILL BE AT YOUR SOLE RISK. TO THE FULLEST EXTENT PERMITTED BY LAW, WE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, IN CONNECTION WITH THE SITE AND YOUR USE THEREOF, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. WE MAKE NO WARRANTIES OR REPRESENTATIONS ABOUT THE ACCURACY OR COMPLETENESS OF THE SITE'S CONTENT OR THE CONTENT OF ANY WEBSITES LINKED TO THE SITE AND WE WILL ASSUME NO LIABILITY OR RESPONSIBILITY FOR ANY ERRORS, MISTAKES, OR INACCURACIES OF CONTENT AND MATERIALS.`})]}),(0,k.jsxs)(`section`,{id:`limitations`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`17. Limitations of Liability`}),(0,k.jsx)(`p`,{children:`IN NO EVENT WILL WE OR OUR DIRECTORS, EMPLOYEES, OR AGENTS BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, EXEMPLARY, INCIDENTAL, SPECIAL, OR PUNITIVE DAMAGES, INCLUDING LOST PROFIT, LOST REVENUE, LOSS OF DATA, OR OTHER DAMAGES ARISING FROM YOUR USE OF THE SITE, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED HEREIN, OUR LIABILITY TO YOU FOR ANY CAUSE WHATSOEVER AND REGARDLESS OF THE FORM OF THE ACTION, WILL AT ALL TIMES BE LIMITED TO THE AMOUNT PAID, IF ANY, BY YOU TO US DUR
54ING THE SIX (6) MONTH PERIOD PRIOR TO ANY CAUSE OF ACTION ARISING.`})]}),(0,k.jsxs)(`section`,{id:`indemnification`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`18. Indemnification`}),(0,k.jsx)(`p`,{children:`You agree to defend, indemnify, and hold us harmless, including our subsidiaries, affiliates, and all of our respective officers, agents, partners, and employees, from and against any loss, damage, liability, claim, or demand, including reasonable attorneys' fees and expenses, made by any third party due to or arising out of: (1) your Contributions; (2) use of the Site; (3) breach of these Terms of Use; (4) any breach of your representations and warranties set forth in these Terms of Use; (5) your violation of the rights of a third party, including but not limited to intellectual property rights; or (6) any overt harmful act toward any other user of the Site with whom you connected via the Site.`})]}),(0,k.jsxs)(`section`,{id:`user-data`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`19. User Data`}),(0,k.jsx)(`p`,{children:`We will maintain certain data that you transmit to the Site for the purpose of managing the performance of the Site, as well as data relating to your use of the Site. Although we perform regular routine backups of data, you are solely responsible for all data that you transmit or that relates to any activity you have undertaken using the Site. You agree that we shall have no liability to you for any loss or corruption of any such data, and you hereby waive any right of action against us arising from any such loss or corruption of such data.`})]}),(0,k.jsxs)(`section`,{id:`electronic-communications`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`20. Electronic Communications, Transactions, and Signatures`}),(0,k.jsx)(`p`,{children:`Visiting the Site, sending us emails, and completing online forms constitute electronic communications. You consent to receive electronic communications, and you agree that all agreements, notices, disclosures, and other communications we provide to you electronically, via email and on the Site, satisfy any legal requirement that such communication be in writing. YOU HEREBY AGREE TO THE USE OF ELECTRONIC SIGNATURES, CONTRACTS, ORDERS, AND OTHER RECORDS, AND TO ELECTRONIC DELIVERY OF NOTICES, POLICIES, AND RECORDS OF TRANSACTIONS INITIATED OR COMPLETED BY US OR VIA THE SITE.`})]}),(0,k.jsxs)(`section`,{id:`miscellaneous`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`21. Miscellaneous`}),(0,k.jsx)(`p`,{children:`These Terms of Use and any policies or operating rules posted by us on the Site or in respect to the Site constitute the entire agreement and understanding between you and us. Our failure to exercise or enforce any right or provision of these Terms of Use shall not operate as a waiver of such right or provision. These Terms of Use operate to the fullest extent permissible by law. We may assign any or all of our rights and obligations to others at any time. We shall not be responsible or liable for any loss, damage, delay, or failure to act caused by any cause beyond our reasonable control.`})]}),(0,k.jsxs)(`section`,{id:`contact`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`22. Contact Us`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`In order to resolve a complaint regarding the Site or to receive further information regarding use of the Site, please contact us at:`}),(0,k.jsxs)(`div`,{className:`bg-gray-50 p-6 border border-gray-200`,children:[(0,k.jsx)(`p`,{className:`font-semibold text-black`,children:`Seamflow Inc.`}),(0,k.jsx)(`p`,{children:`Email: [email protected]`})]})]})]})]})})}),(0,k.jsx)(Pv,{})]})}function ly(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 pt-24 pb-20`,children:(0,k.jsx)(`div`,{className:`max-w-4xl mx-auto px-6 sm:px-8 lg:px-12`,children:(0,k.jsxs)(`div`,{className:`py-12`,children:[(0,k.jsx)(`h1`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-black mb-4`,children:`Privacy Policy`}),(0,k.jsx)(`p`,{className:`text-sm text-gray-500 mb-12`,children:`Last updated June 14, 2026`}),(0,k.jsxs)(`div`,{className:`mb-12 p-6 bg-gray-50 border border-gray-200`,children:[(0,k.jsx)(`h2`,{className:`text-sm font-bold text-black uppercase tracking-wider mb-4`,children:`Table of Contents`}),(0,k.jsxs)(`ol`,{className:`text-sm text-gray-600 space-y-2 list-decimal list-inside`,children:[(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#introduction`,className:`hover:text-black hover:underline`,children:`Introduction`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#information-we-collect`,className:`hover:text-black hover:underline`,children:`Information We Collect`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#how-we-use`,className:`hover:text-black hover:underline`,children:`How We Use Your Information`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#sharing`,className:`hover:text-black hover:underline`,children:`Sharing Your Information`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#cookies`,className:`hover:text-black hover:underline`,children:`Cookies and Tracking Technologies`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#data-retention`,className:`hover:text-black hover:underline`,children:`Data Retention`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#security`,className:`hover:text-black hover:underline`,children:`Security of Your Information`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#your-rights`,className:`hover:text-black hover:underline`,children:`Your Privacy Rights`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#children`,className:`hover:text-black hover:underline`,children:`Children's Privacy`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#updates`,className:`hover:text-black hover:underline`,children:`Updates to This Policy`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#seamflow-field`,className:`hover:text-black hover:underline`,children:`Seamflow Field Mobile Application`})}),(0,k.jsx)(`li`,{children:(0,k.jsx)(`a`,{href:`#contact`,className:`hover:text-black hover:underline`,children:`Contact Us`})})]})]}),(0,k.jsxs)(`div`,{className:`prose prose-sm max-w-none text-gray-600`,children:[(0,k.jsxs)(`section`,{id:`introduction`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`1. Introduction`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`Seamflow Ltd. ("Seamflow," "we," "us," or "our") respects your privacy and is committed to protecting your personal data. This privacy policy will inform you about how we look after your personal data when you visit our website and tell you about your privacy rights and how the law protects you.`}),(0,k.jsx)(`p`,{children:`This privacy policy applies to information we collect when you use our website at https://seamflow.com (the "Site"), when you interact with us through social media, email, or otherwise.`})]}),(0,k.jsxs)(`section`,{id:`information-we-collect`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`2. Information We Collect`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Information You Provide to Us`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We collect information you provide directly to us, such as when you:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mb-4`,children:[(0,k.jsx)(`li`,{children:`Fill out a contact form or request information`}),(0,k.jsx)(`li`,{children:`Subscribe to our newsletter or mailing list`}),(0,k.jsx)(`li`,{children:`Communicate with us via email or other channels`}),(0,k.jsx)(`li`,{children:`Apply for a job or partnership opportunity`})]}),(0,k.jsx)(`p`,{className:`mb-4`,children:`This information may include:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mb-4`,children:[(0,k.jsx)(`li`,{children:`N
54ame and contact information (email address, phone number)`}),(0,k.jsx)(`li`,{children:`Company name and job title`}),(0,k.jsx)(`li`,{children:`Information about your business needs and interests`}),(0,k.jsx)(`li`,{children:`Any other information you choose to provide`})]}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Information Collected Automatically`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`When you visit our Site, we may automatically collect certain information, including:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2`,children:[(0,k.jsx)(`li`,{children:`Device information (browser type, operating system, device type)`}),(0,k.jsx)(`li`,{children:`Log information (access times, pages viewed, IP address)`}),(0,k.jsx)(`li`,{children:`Location information (based on IP address)`})]})]}),(0,k.jsxs)(`section`,{id:`how-we-use`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`3. How We Use Your Information`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We use the information we collect to:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2`,children:[(0,k.jsx)(`li`,{children:`Provide, maintain, and improve our services`}),(0,k.jsx)(`li`,{children:`Respond to your inquiries and fulfill your requests`}),(0,k.jsx)(`li`,{children:`Send you technical notices, updates, and administrative messages`}),(0,k.jsx)(`li`,{children:`Send you marketing communications (with your consent)`}),(0,k.jsx)(`li`,{children:`Monitor and analyze trends, usage, and activities`}),(0,k.jsx)(`li`,{children:`Detect, investigate, and prevent fraudulent transactions and other illegal activities`}),(0,k.jsx)(`li`,{children:`Personalize and improve your experience on our Site`}),(0,k.jsx)(`li`,{children:`Comply with legal obligations`})]})]}),(0,k.jsxs)(`section`,{id:`sharing`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`4. Sharing Your Information`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We may share your personal information in the following circumstances:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2`,children:[(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Service Providers:`}),` We may share information with third-party vendors and service providers who perform services on our behalf.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Business Transfers:`}),` We may share or transfer information in connection with a merger, acquisition, or sale of assets.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Legal Requirements:`}),` We may disclose information if required by law or in response to valid requests by public authorities.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Protection of Rights:`}),` We may disclose information to protect our rights, privacy, safety, or property, or that of our users or others.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`With Your Consent:`}),` We may share information with your consent or at your direction.`]})]})]}),(0,k.jsxs)(`section`,{id:`cookies`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`5. Cookies and Tracking Technologies`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We do not use tracking cookies, analytics cookies, or marketing cookies on our Site. We respect your privacy and do not track your browsing behavior or collect data for advertising purposes.`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`Our Site uses only essential technical features required for basic functionality, such as:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mb-4`,children:[(0,k.jsx)(`li`,{children:`Session management (temporary browser storage that is automatically cleared)`}),(0,k.jsx)(`li`,{children:`Contact form data (only information you explicitly provide)`})]}),(0,k.jsxs)(`p`,{children:[`For more information, please see our`,` `,(0,k.jsx)(`a`,{href:`/cookies`,className:`underline hover:text-black`,children:`Cookie Policy`}),`.`]})]}),(0,k.jsxs)(`section`,{id:`data-retention`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`6. Data Retention`}),(0,k.jsx)(`p`,{children:`We retain your personal information for as long as necessary to fulfill the purposes for which it was collected, including to satisfy any legal, accounting, or reporting requirements. When we no longer need your personal information, we will securely delete or anonymize it.`})]}),(0,k.jsxs)(`section`,{id:`security`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`7. Security of Your Information`}),(0,k.jsx)(`p`,{children:`We implement appropriate technical and organizational measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. However, no method of transmission over the Internet or electronic storage is 100% secure, and we cannot guarantee absolute security.`})]}),(0,k.jsxs)(`section`,{id:`your-rights`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`8. Your Privacy Rights`}
54),(0,k.jsx)(`p`,{className:`mb-4`,children:`Depending on your location, you may have certain rights regarding your personal information, including:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mb-4`,children:[(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Access:`}),` The right to request access to your personal information.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Correction:`}),` The right to request correction of inaccurate personal information.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Deletion:`}),` The right to request deletion of your personal information.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Portability:`}),` The right to receive a copy of your personal information in a structured format.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Objection:`}),` The right to object to processing of your personal information.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Withdrawal of Consent:`}),` The right to withdraw consent at any time.`]})]}),(0,k.jsx)(`p`,{children:`To exercise these rights, please contact us using the information provided below. We will respond to your request within the timeframe required by applicable law.`})]}),(0,k.jsxs)(`section`,{id:`children`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`9. Children's Privacy`}),(0,k.jsx)(`p`,{children:`Our Site is not intended for children under 18 years of age. We do not knowingly collect personal information from children under 18. If we learn that we have collected personal information from a child under 18, we will take steps to delete such information as soon as possible.`})]}),(0,k.jsxs)(`section`,{id:`updates`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`10. Updates to This Policy`}),(0,k.jsx)(`p`,{children:`We may update this privacy policy from time to time. If we make material changes, we will notify you by updating the "Last updated" date at the top of this policy and, in some cases, we may provide you with additional notice. We encourage you to review this policy periodically to stay informed about how we are protecting your information.`})]}),(0,k.jsxs)(`section`,{id:`seamflow-field`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`11. Seamflow Field Mobile Application`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`This section supplements the policy above and describes data practices specific to the Seamflow Field mobile application (the "App"), used by authorised auditors to capture field evidence.`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Information We Collect in the App`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mb-4`,children:[(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Account information:`}),` the email address and password you use to sign in. Accounts are provisioned by Seamflow; the App does not offer public self-registration.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Audit evidence you create:`}),` photographs you capture or select, and the typed observations you record against an audit. This content is linked to your account.`]})]}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We do not collect analytics, advertising identifiers, location, or device-tracking data in the App, and the App contains no third-party advertising or analytics SDKs.`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`How We Use It`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We use this information to authenticate you, to store and display the audit evidence you capture, and to operate and secure the service.`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Storage and Processing`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`Account and evidence data are stored with our infrastructure provider, Supabase, hosted in the European Union. Access is restricted to your own account.`}),(0,k.jsx)(`h3`,{className:`text-base font-semibold text-black mb-2`,children:`Retention and Deletion`}),(0,k.jsx)(`p`,{children:`We retain your account and captured evidence for as long as your account is active. You can permanently delete your account and all associated evidence at any time from within the App (Profile → Delete account); deletion is immediate and irreversible. You may also contact us to request deleti
54on.`})]}),(0,k.jsxs)(`section`,{id:`contact`,className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`12. Contact Us`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`If you have any questions about this privacy policy or our privacy practices, please contact us at:`}),(0,k.jsxs)(`div`,{className:`bg-gray-50 p-6 border border-gray-200`,children:[(0,k.jsx)(`p`,{className:`font-semibold text-black`,children:`Seamflow Ltd.`}),(0,k.jsx)(`p`,{children:`Email: [email protected]`})]})]})]})]})})}),(0,k.jsx)(Pv,{})]})}function uy(){return(0,k.jsxs)(`div`,{className:`min-h-screen flex flex-col bg-white`,children:[(0,k.jsx)(qi,{}),(0,k.jsx)(`main`,{className:`flex-1 pt-24 pb-20`,children:(0,k.jsx)(`div`,{className:`max-w-4xl mx-auto px-6 sm:px-8 lg:px-12`,children:(0,k.jsxs)(`div`,{className:`py-12`,children:[(0,k.jsx)(`h1`,{className:`text-3xl md:text-4xl lg:text-5xl font-bold text-black mb-4`,children:`Cookie Policy`}),(0,k.jsx)(`p`,{className:`text-sm text-gray-500 mb-12`,children:`Last updated January 12, 2026`}),(0,k.jsxs)(`div`,{className:`prose prose-sm max-w-none text-gray-600`,children:[(0,k.jsxs)(`section`,{className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`Our Approach to Cookies`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`We believe in transparency and respect for your privacy. Seamflow.com does not use tracking cookies, analytics cookies, or marketing cookies.`}),(0,k.jsx)(`p`,{children:`We do not track your browsing behavior, collect analytics data, or share your information with third-party advertisers.`})]}),(0,k.jsxs)(`section`,{className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`What We Don't Use`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2`,children:[(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`No Google Analytics:`}),` We don't track page views, user behavior, or demographics.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`No Marketing Cookies:`}),` We don't use cookies for targeted advertising or retargeting.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`No Third-Party Tracking:`}),` We don't embed scripts from advertising networks or social media platforms that track you.`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`No Persistent Identifiers:`}),` We don't create profiles of your browsing behavior.`]})]})]}),(0,k.jsxs)(`section`,{className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`Essential Website Functionality`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`This website uses only the essential technical features required for it to function properly:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2`,children:[(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Session Management:`}),` Temporary data stored by your browser to maintain your session while you navigate the site (automatically cleared when you close your browser).`]}),(0,k.jsxs)(`li`,{children:[(0,k.jsx)(`strong`,{children:`Contact Form:`}),` When you submit our contact form, we only store the information you explicitly provide.`]})]})]}),(0,k.jsxs)(`section`,{className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`Your Browser's Built-in Features`}),(0,k.jsx)(`p`,{children:`Your web browser may store certain technical data (like cache or connection preferences) to improve performance. This is standard browser behavior and not controlled by our website. You can manage these settings directly in your browser's privacy settings.`})]}),(0,k.jsxs)(`section`,{className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`Changes to This Policy`}),(0,k.jsx)(`p`,{children:`If we ever decide to implement cookies or tracking in the future, we will:`}),(0,k.jsxs)(`ul`,{className:`list-disc list-inside space-y-2 mt-4`,children:[(0,k.jsx)(`li`,{children:`Update this policy with full transparency`}),(0,k.jsx)(`li`,{children:`Implement a proper consent mechanism before any tracking begins`}),(0,k.jsx)(`li`,{children:`Give you clear choices about what data is collected and why`})]}),(0,k.jsx)(`p`,{className:`mt-4`,children:`We will update the "Last updated" date at the top of this policy if any changes occur.`})]}),(0,k.jsxs)(`section`,{className:`mb-10`,children:[(0,k.jsx)(`h2`,{className:`text-lg font-bold text-black mb-4`,children:`Contact Us`}),(0,k.jsx)(`p`,{className:`mb-4`,children:`If you have any questions about this Cookie Policy or our privacy practices, please contact us:`}),(0,k.jsxs)(`div`,{className:`bg-gray-50 p-6 border border-gray-200`,children:[(0,k.jsx)(`p`,{className:`font-semibold text-black`,children:`Seamflow Inc.`}),(0,k.jsx)(`p`,{children:`Email: [email protected]`})]})]})]})]})})}),(0,k.jsx)(Pv,{})]})}function dy(){return null}function fy(){return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Wi,{}),(0,k.jsxs)(Sr,{children:[(0,k.jsx)(br,{path:`/`,element:(0,k.jsx)(t_,{})}),(0,k.jsx)(br,{path:`/about`,element:(0,k.jsx)(B_,{})}),(0,k.jsx)(br,{path:`/careers`,element:(0,k.jsx)(av,{})}),(0,k.jsx)(br,{path:`/blog`,element:(0,k.jsx)(Mv,{})}),(0,k.jsx)(br,{path:`/blog/interviews/:slug`,element:(0,k.jsx)(Zv,{})}),(0,k.jsx)(br,{path:`/blog/:slug`,element:(0,k.jsx)(Xv,{})}),(0,k.jsx)(br,{path:`/contact`,element:(0,k.jsx)(sy,{})}),(0,k.jsx)(br,{path:`/terms`,element:(0,k.jsx)(cy,{})}),(0,k.jsx)(br,{path:`/privacy`,element:(0,k.jsx)(ly,{})}),(0,k.jsx)(br,{path:`/cookies`,element:(0,k.jsx)(uy,{})}),(0,k.jsx)(br,{path:`/ping`,element:(0,k.jsx)(dy,{})}),(0,k.jsx)(br,{path:`*`,element:(0,k.jsx)(Fv,{})})]}),(0,k.jsx)(Gi,{})]})}function py(){return(0,k.jsx)(fi,{children:(0,k.jsx)(fy,{})})}var my=new et({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,staleTime:3e4}}}),hy=document.getElementById(`root`),gy=(0,k.jsx)(O.StrictMode,{children:(0,k.jsx)(at,{client:my,children:(0,k.jsx)(py,{})})});hy.innerHTML.length>0?(0,xt.hydrateRoot)(hy,gy):(0,xt.createRoot)(hy).render(gy);

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.