You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
536 KiB

var 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),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},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(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 ee(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,ee(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),ee(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+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+j(a,u),c+=ee(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+j(a,u++),c+=ee(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return ee(M(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 N(e,t,n){if(e==null)return e;var r=[],i=0;return ee(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function te(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 P=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)},F={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=F,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)!T.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 E(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)T.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 E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:te}},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,P)}catch(e){P(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()},e.version=`19.2.4`})),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,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=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&&E());){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&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(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,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,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.4`})),_=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`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var ee=Symbol.for(`react.client.reference`);function N(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ee?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 T:return`Suspense`;case E:return`SuspenseList`;case k: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 D:return t=e.displayName||null,t===null?N(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return N(e(t))}catch{}}return null}var te=Array.isArray,P=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},re=[],ie=-1;function ae(e){return{current:e}}function oe(e){0>ie||(e.current=re[ie],re[ie]=null,ie--)}function I(e,t){ie++,re[ie]=e.current,e.current=t}var se=ae(null),ce=ae(null),le=ae(null),ue=ae(null);function de(e,t){switch(I(le,t),I(ce,e),I(se,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}}oe(se),I(se,e)}function fe(){oe(se),oe(ce),oe(le)}function L(e){e.memoizedState!==null&&I(ue,e);var t=se.current,n=Ud(t,e.type);t!==n&&(I(ce,e),I(se,n))}function pe(e){ce.current===e&&(oe(se),oe(ce)),ue.current===e&&(oe(ue),$f._currentValue=ne)}var me,he;function ge(e){if(me===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);me=t&&t[1]||``,he=-1<e.stack.indexOf(`
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
`+me+e+he}var _e=!1;function ve(e,t){if(!e||_e)return``;_e=!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)}else{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(`
`),l=s.split(`
`);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=`
`+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{_e=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?ge(n):``}function ye(e,t){switch(e.tag){case 26:case 27:case 5:return ge(e.type);case 16:return ge(`Lazy`);case 13:return e.child!==t&&t!==null?ge(`Suspense Fallback`):ge(`Suspense`);case 19:return ge(`SuspenseList`);case 0:case 15:return ve(e.type,!1);case 11:return ve(e.type.render,!1);case 1:return ve(e.type,!0);case 31:return ge(`Activity`);default:return``}}function be(e){try{var t=``,n=null;do t+=ye(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
Error generating stack: `+e.message+`
`+e.stack}}var xe=Object.prototype.hasOwnProperty,R=t.unstable_scheduleCallback,Se=t.unstable_cancelCallback,Ce=t.unstable_shouldYield,we=t.unstable_requestPaint,Te=t.unstable_now,Ee=t.unstable_getCurrentPriorityLevel,De=t.unstable_ImmediatePriority,Oe=t.unstable_UserBlockingPriority,ke=t.unstable_NormalPriority,Ae=t.unstable_LowPriority,je=t.unstable_IdlePriority,Me=t.log,Ne=t.unstable_setDisableYieldValue,z=null,Pe=null;function Fe(e){if(typeof Me==`function`&&Ne(e),Pe&&typeof Pe.setStrictMode==`function`)try{Pe.setStrictMode(z,e)}catch{}}var Ie=Math.clz32?Math.clz32:ze,Le=Math.log,Re=Math.LN2;function ze(e){return e>>>=0,e===0?32:31-(Le(e)/Re|0)|0}var Be=256,Ve=262144,He=4194304;function Ue(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 We(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=Ue(n))):i=Ue(o):i=Ue(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ue(n))):i=Ue(o)):i=Ue(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 Ge(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ke(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 qe(){var e=He;return He<<=1,!(He&62914560)&&(He=4194304),e}function Je(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ye(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Xe(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-Ie(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&&Ze(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ze(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ie(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Qe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ie(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function $e(e,t){var n=t&-t;return n=n&42?1:et(n),(n&(e.suspendedLanes|t))===0?n:0}function et(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 tt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function nt(){var e=F.p;return e===0?(e=window.event,e===void 0?32:mp(e.type)):e}function rt(e,t){var n=F.p;try{return F.p=e,t()}finally{F.p=n}}var it=Math.random().toString(36).slice(2),at=`__reactFiber$`+it,ot=`__reactProps$`+it,st=`__reactContainer$`+it,ct=`__reactEvents$`+it,lt=`__reactListeners$`+it,ut=`__reactHandles$`+it,dt=`__reactResources$`+it,ft=`__reactMarker$`+it;function pt(e){delete e[at],delete e[ot],delete e[ct],delete e[lt],delete e[ut]}function mt(e){var t=e[at];if(t)return t;for(var n=e.parentNode;n;){if(t=n[st]||n[at]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[at])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function ht(e){if(e=e[at]||e[st]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function gt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function _t(e){var t=e[dt];return t||=e[dt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function vt(e){e[ft]=!0}var yt=new Set,bt={};function xt(e,t){St(e,t),St(e+`Capture`,t)}function St(e,t){for(bt[e]=t,e=0;e<t.length;e++)yt.add(t[e])}var Ct=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]*$`),wt={},Tt={};function Et(e){return xe.call(Tt,e)?!0:xe.call(wt,e)?!1:Ct.test(e)?Tt[e]=!0:(wt[e]=!0,!1)}function Dt(e,t,n){if(Et(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 Ot(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 kt(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 At(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function jt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Mt(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 Nt(e){if(!e._valueTracker){var t=jt(e)?`checked`:`value`;e._valueTracker=Mt(e,t,``+e[t])}}function Pt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=jt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ft(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 It=/[\n"\\]/g;function Lt(e){return e.replace(It,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Rt(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=``+At(t)):e.value!==``+At(t)&&(e.value=``+At(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Bt(e,o,At(n)):Bt(e,o,At(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=``+At(s):e.removeAttribute(`name`)}function zt(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)){Nt(e);return}n=n==null?``:``+At(n),t=t==null?n:``+At(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),Nt(e)}function Bt(e,t,n){t===`number`&&Ft(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Vt(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=``+At(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 Ht(e,t,n){if(t!=null&&(t=``+At(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+At(n)}function Ut(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=At(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Nt(e)}function Wt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gt=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 Kt(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||Gt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function qt(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&&Kt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Kt(e,o,t[o])}function Jt(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 Yt=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`],[`clipPath`,`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`]]),Xt=/^[\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 Zt(e){return Xt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Qt(){}var $t=null;function en(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tn=null,nn=null;function rn(e){var t=ht(e);if(t&&(e=t.stateNode)){var n=e[ot]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Rt(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="`+Lt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ot]||null;if(!a)throw Error(i(90));Rt(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&&Pt(r)}break a;case`textarea`:Ht(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Vt(e,!!n.multiple,t,!1)}}}var an=!1;function on(e,t,n){if(an)return e(t,n);an=!0;try{return e(t)}finally{if(an=!1,(tn!==null||nn!==null)&&(xu(),tn&&(t=tn,e=nn,nn=tn=null,rn(t),e)))for(t=0;t<e.length;t++)rn(e[t])}}function sn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ot]||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 cn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),ln=!1;if(cn)try{var un={};Object.defineProperty(un,`passive`,{get:function(){ln=!0}}),window.addEventListener(`test`,un,un),window.removeEventListener(`test`,un,un)}catch{ln=!1}var dn=null,fn=null,pn=null;function mn(){if(pn)return pn;var e,t=fn,n=t.length,r,i=`value`in dn?dn.value:dn.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 pn=i.slice(e,1<r?1-r:void 0)}function hn(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 gn(){return!0}function _n(){return!1}function vn(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)?gn:_n,this.isPropagationStopped=_n,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=gn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=gn)},persist:function(){},isPersistent:gn}),t}var yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bn=vn(yn),xn=f({},yn,{view:0,detail:0}),Sn=vn(xn),Cn,wn,Tn,En=f({},xn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ln,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!==Tn&&(Tn&&e.type===`mousemove`?(Cn=e.screenX-Tn.screenX,wn=e.screenY-Tn.screenY):wn=Cn=0,Tn=e),Cn)},movementY:function(e){return`movementY`in e?e.movementY:wn}}),Dn=vn(En),On=vn(f({},En,{dataTransfer:0})),kn=vn(f({},xn,{relatedTarget:0})),An=vn(f({},yn,{animationName:0,elapsedTime:0,pseudoElement:0})),jn=vn(f({},yn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Mn=vn(f({},yn,{data:0})),Nn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Pn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Fn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function In(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Fn[e])?!!t[e]:!1}function Ln(){return In}var Rn=vn(f({},xn,{key:function(e){if(e.key){var t=Nn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=hn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Pn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ln,charCode:function(e){return e.type===`keypress`?hn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?hn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),zn=vn(f({},En,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Bn=vn(f({},xn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ln})),Vn=vn(f({},yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Hn=vn(f({},En,{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})),Un=vn(f({},yn,{newState:0,oldState:0})),Wn=[9,13,27,32],Gn=cn&&`CompositionEvent`in window,Kn=null;cn&&`documentMode`in document&&(Kn=document.documentMode);var B=cn&&`TextEvent`in window&&!Kn,qn=cn&&(!Gn||Kn&&8<Kn&&11>=Kn),Jn=` `,Yn=!1;function Xn(e,t){switch(e){case`keyup`:return Wn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Zn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Qn=!1;function $n(e,t){switch(e){case`compositionend`:return Zn(t);case`keypress`:return t.which===32?(Yn=!0,Jn):null;case`textInput`:return e=t.data,e===Jn&&Yn?null:e;default:return null}}function er(e,t){if(Qn)return e===`compositionend`||!Gn&&Xn(e,t)?(e=mn(),pn=fn=dn=null,Qn=!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 qn&&t.locale!==`ko`?null:t.data;default:return null}}var tr={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 nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!tr[e.type]:t===`textarea`}function rr(e,t,n,r){tn?nn?nn.push(r):nn=[r]:tn=r,t=Ed(t,`onChange`),0<t.length&&(n=new bn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function or(e){yd(e,0)}function sr(e){if(Pt(gt(e)))return e}function cr(e,t){if(e===`change`)return t}var lr=!1;if(cn){var ur;if(cn){var dr=`oninput`in document;if(!dr){var fr=document.createElement(`div`);fr.setAttribute(`oninput`,`return;`),dr=typeof fr.oninput==`function`}ur=dr}else ur=!1;lr=ur&&(!document.documentMode||9<document.documentMode)}function pr(){ir&&(ir.detachEvent(`onpropertychange`,mr),ar=ir=null)}function mr(e){if(e.propertyName===`value`&&sr(ar)){var t=[];rr(t,ar,e,en(e)),on(or,t)}}function hr(e,t,n){e===`focusin`?(pr(),ir=t,ar=n,ir.attachEvent(`onpropertychange`,mr)):e===`focusout`&&pr()}function gr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return sr(ar)}function _r(e,t){if(e===`click`)return sr(t)}function vr(e,t){if(e===`input`||e===`change`)return sr(t)}function yr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var br=typeof Object.is==`function`?Object.is:yr;function xr(e,t){if(br(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(!xe.call(t,i)||!br(e[i],t[i]))return!1}return!0}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n=Sr(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=Sr(n)}}function wr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ft(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=Ft(e.document)}return t}function Er(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 Dr=cn&&`documentMode`in document&&11>=document.documentMode,Or=null,kr=null,Ar=null,jr=!1;function Mr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jr||Or==null||Or!==Ft(r)||(r=Or,`selectionStart`in r&&Er(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ar&&xr(Ar,r)||(Ar=r,r=Ed(kr,`onSelect`),0<r.length&&(t=new bn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Or)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Pr={animationend:Nr(`Animation`,`AnimationEnd`),animationiteration:Nr(`Animation`,`AnimationIteration`),animationstart:Nr(`Animation`,`AnimationStart`),transitionrun:Nr(`Transition`,`TransitionRun`),transitionstart:Nr(`Transition`,`TransitionStart`),transitioncancel:Nr(`Transition`,`TransitionCancel`),transitionend:Nr(`Transition`,`TransitionEnd`)},Fr={},Ir={};cn&&(Ir=document.createElement(`div`).style,`AnimationEvent`in window||(delete Pr.animationend.animation,delete Pr.animationiteration.animation,delete Pr.animationstart.animation),`TransitionEvent`in window||delete Pr.transitionend.transition);function Lr(e){if(Fr[e])return Fr[e];if(!Pr[e])return e;var t=Pr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ir)return Fr[e]=t[n];return e}var Rr=Lr(`animationend`),zr=Lr(`animationiteration`),Br=Lr(`animationstart`),Vr=Lr(`transitionrun`),Hr=Lr(`transitionstart`),Ur=Lr(`transitioncancel`),Wr=Lr(`transitionend`),Gr=new Map,Kr=`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(` `);Kr.push(`scrollEnd`);function qr(e,t){Gr.set(e,t),xt(t,[e])}var Jr=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)},Yr=[],Xr=0,Zr=0;function Qr(){for(var e=Xr,t=Zr=Xr=0;t<e;){var n=Yr[t];Yr[t++]=null;var r=Yr[t];Yr[t++]=null;var i=Yr[t];Yr[t++]=null;var a=Yr[t];if(Yr[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&&ni(n,i,a)}}function $r(e,t,n,r){Yr[Xr++]=e,Yr[Xr++]=t,Yr[Xr++]=n,Yr[Xr++]=r,Zr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ei(e,t,n,r){return $r(e,t,n,r),ri(e)}function ti(e,t){return $r(e,null,null,t),ri(e)}function ni(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-Ie(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ri(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 ii={};function ai(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 oi(e,t,n,r){return new ai(e,t,n,r)}function si(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ci(e,t){var n=e.alternate;return n===null?(n=oi(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 li(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 ui(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)si(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,se.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=oi(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return di(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=oi(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=oi(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=oi(19,n,t,a),e.elementType=E,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 D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=oi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function di(e,t,n,r){return e=oi(7,e,r,t),e.lanes=n,e}function fi(e,t,n){return e=oi(6,e,null,t),e.lanes=n,e}function pi(e){var t=oi(18,null,null,0);return t.stateNode=e,t}function mi(e,t,n){return t=oi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var hi=new WeakMap;function gi(e,t){if(typeof e==`object`&&e){var n=hi.get(e);return n===void 0?(t={value:e,source:t,stack:be(t)},hi.set(e,t),t):n}return{value:e,source:t,stack:be(t)}}var _i=[],vi=0,yi=null,bi=0,xi=[],Si=0,Ci=null,wi=1,Ti=``;function Ei(e,t){_i[vi++]=bi,_i[vi++]=yi,yi=e,bi=t}function Di(e,t,n){xi[Si++]=wi,xi[Si++]=Ti,xi[Si++]=Ci,Ci=e;var r=wi;e=Ti;var i=32-Ie(r)-1;r&=~(1<<i),n+=1;var a=32-Ie(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,wi=1<<32-Ie(t)+i|n<<i|r,Ti=a+e}else wi=1<<a|n<<i|r,Ti=e}function Oi(e){e.return!==null&&(Ei(e,1),Di(e,1,0))}function ki(e){for(;e===yi;)yi=_i[--vi],_i[vi]=null,bi=_i[--vi],_i[vi]=null;for(;e===Ci;)Ci=xi[--Si],xi[Si]=null,Ti=xi[--Si],xi[Si]=null,wi=xi[--Si],xi[Si]=null}function Ai(e,t){xi[Si++]=wi,xi[Si++]=Ti,xi[Si++]=Ci,wi=t.id,Ti=t.overflow,Ci=e}var ji=null,Mi=null,V=!1,Ni=null,Pi=!1,Fi=Error(i(519));function Ii(e){throw Hi(gi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Fi}function Li(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[at]=e,t[ot]=r,n){case`dialog`:Q(`cancel`,t),Q(`close`,t);break;case`iframe`:case`object`:case`embed`:Q(`load`,t);break;case`video`:case`audio`:for(n=0;n<_d.length;n++)Q(_d[n],t);break;case`source`:Q(`error`,t);break;case`img`:case`image`:case`link`:Q(`error`,t),Q(`load`,t);break;case`details`:Q(`toggle`,t);break;case`input`:Q(`invalid`,t),zt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Q(`invalid`,t);break;case`textarea`:Q(`invalid`,t),Ut(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||Md(t.textContent,n)?(r.popover!=null&&(Q(`beforetoggle`,t),Q(`toggle`,t)),r.onScroll!=null&&Q(`scroll`,t),r.onScrollEnd!=null&&Q(`scrollend`,t),r.onClick!=null&&(t.onclick=Qt),t=!0):t=!1,t||Ii(e,!0)}function Ri(e){for(ji=e.return;ji;)switch(ji.tag){case 5:case 31:case 13:Pi=!1;return;case 27:case 3:Pi=!0;return;default:ji=ji.return}}function zi(e){if(e!==ji)return!1;if(!V)return Ri(e),V=!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&&Mi&&Ii(e),Ri(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Mi=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Mi=df(e)}else t===27?(t=Mi,Qd(e.type)?(e=uf,uf=null,Mi=e):Mi=t):Mi=ji?lf(e.stateNode.nextSibling):null;return!0}function Bi(){Mi=ji=null,V=!1}function Vi(){var e=Ni;return e!==null&&($l===null?$l=e:$l.push.apply($l,e),Ni=null),e}function Hi(e){Ni===null?Ni=[e]:Ni.push(e)}var Ui=ae(null),Wi=null,Gi=null;function Ki(e,t,n){I(Ui,t._currentValue),t._currentValue=n}function qi(e){e._currentValue=Ui.current,oe(Ui)}function Ji(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 Yi(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),Ji(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),Ji(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 Xi(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;br(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ue.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&&Yi(t,e,n,r),t.flags|=262144}function Zi(e){for(e=e.firstContext;e!==null;){if(!br(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qi(e){Wi=e,Gi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $i(e){return ta(Wi,e)}function ea(e,t){return Wi===null&&Qi(e),ta(e,t)}function ta(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gi===null){if(e===null)throw Error(i(308));Gi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Gi=Gi.next=t;return n}var na=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()})}},ra=t.unstable_scheduleCallback,ia=t.unstable_NormalPriority,aa={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oa(){return{controller:new na,data:new Map,refCount:0}}function sa(e){e.refCount--,e.refCount===0&&ra(ia,function(){e.controller.abort()})}var ca=null,la=0,ua=0,da=null;function fa(e,t){if(ca===null){var n=ca=[];la=0,ua=fd(),da={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return la++,t.then(pa,pa),t}function pa(){if(--la===0&&ca!==null){da!==null&&(da.status=`fulfilled`);var e=ca;ca=null,ua=0,da=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ma(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 ha=P.S;P.S=function(e,t){nu=Te(),typeof t==`object`&&t&&typeof t.then==`function`&&fa(e,t),ha!==null&&ha(e,t)};var ga=ae(null);function _a(){var e=ga.current;return e===null?Ll.pooledCache:e}function va(e,t){t===null?I(ga,ga.current):I(ga,t.pool)}function ya(){var e=_a();return e===null?null:{parent:aa._currentValue,pool:e}}var ba=Error(i(460)),xa=Error(i(474)),Sa=Error(i(542)),Ca={then:function(){}};function wa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ta(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Qt,Qt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ka(e),e;default:if(typeof t.status==`string`)t.then(Qt,Qt);else{if(e=Ll,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,ka(e),e}throw Da=t,ba}}function Ea(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Da=e,ba):e}}var Da=null;function Oa(){if(Da===null)throw Error(i(459));var e=Da;return Da=null,e}function ka(e){if(e===ba||e===Sa)throw Error(i(483))}var Aa=null,ja=0;function Ma(e){var t=ja;return ja+=1,Aa===null&&(Aa=[]),Ta(Aa,e,t)}function Na(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function H(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 Pa(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=ci(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=fi(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===O&&Ea(i)===t.type)?(t=a(t,n.props),Na(t,n),t.return=e,t):(t=ui(n.type,n.key,n.props,null,e.mode,r),Na(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=mi(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=di(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=fi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=ui(t.type,t.key,t.props,null,e.mode,n),Na(n,t),n.return=e,n;case v:return t=mi(t,e.mode,n),t.return=e,t;case O:return t=Ea(t),f(e,t,n)}if(te(t)||M(t))return t=di(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ma(t),n);if(t.$$typeof===C)return f(e,ea(e,t),n);H(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 O:return n=Ea(n),p(e,t,n,r)}if(te(n)||M(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ma(n),r);if(n.$$typeof===C)return p(e,t,ea(e,n),r);H(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 O:return r=Ea(r),m(e,t,n,r,i)}if(te(r)||M(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ma(r),i);if(r.$$typeof===C)return m(e,t,n,ea(t,r),i);H(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),V&&Ei(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 V&&Ei(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)}),V&&Ei(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),V&&Ei(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 V&&Ei(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)}),V&&Ei(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===O&&Ea(l)===r.type){n(e,r.sibling),c=a(r,o.props),Na(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=di(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ui(o.type,o.key,o.props,null,e.mode,c),Na(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=mi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Ea(o),b(e,r,o,c)}if(te(o))return h(e,r,o,c);if(M(o)){if(l=M(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,Ma(o),c);if(o.$$typeof===C)return b(e,r,ea(e,o),c);H(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=fi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{ja=0;var i=b(e,t,n,r);return Aa=null,i}catch(t){if(t===ba||t===Sa)throw t;var a=oi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Fa=Pa(!0),Ia=Pa(!1),La=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function za(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 Ba(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Va(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Il&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ri(e),ni(e,null,n),t}return $r(e,r,t,n),ri(e)}function Ha(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,Qe(e,n)}}function Ua(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 Wa=!1;function Ga(){if(Wa){var e=da;if(e!==null)throw e}}function Ka(e,t,n,r){Wa=!1;var i=e.updateQueue;La=!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?(zl&p)===p:(r&p)===p){p!==0&&p===ua&&(Wa=!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:La=!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),ql|=o,e.lanes=o,e.memoizedState=d}}function qa(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ja(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)qa(n[e],t)}var Ya=ae(null),Xa=ae(0);function Za(e,t){e=Gl,I(Xa,e),I(Ya,t),Gl=e|t.baseLanes}function Qa(){I(Xa,Gl),I(Ya,Ya.current)}function $a(){Gl=Xa.current,oe(Ya),oe(Xa)}var eo=ae(null),to=null;function no(e){var t=e.alternate;I(U,U.current&1),I(eo,e),to===null&&(t===null||Ya.current!==null||t.memoizedState!==null)&&(to=e)}function ro(e){I(U,U.current),I(eo,e),to===null&&(to=e)}function io(e){e.tag===22?(I(U,U.current),I(eo,e),to===null&&(to=e)):ao(e)}function ao(){I(U,U.current),I(eo,eo.current)}function oo(e){oe(eo),to===e&&(to=null),oe(U)}var U=ae(0);function so(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 co=0,W=null,lo=null,uo=null,fo=!1,po=!1,mo=!1,ho=0,go=0,_o=null,vo=0;function yo(){throw Error(i(321))}function bo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!br(e[n],t[n]))return!1;return!0}function xo(e,t,n,r,i,a){return co=a,W=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P.H=e===null||e.memoizedState===null?Rs:zs,mo=!1,a=n(r,i),mo=!1,po&&(a=Co(t,n,r,i)),So(e),a}function So(e){P.H=Ls;var t=lo!==null&&lo.next!==null;if(co=0,uo=lo=W=null,fo=!1,go=0,_o=null,t)throw Error(i(300));e===null||nc||(e=e.dependencies,e!==null&&Zi(e)&&(nc=!0))}function Co(e,t,n,r){W=e;var a=0;do{if(po&&(_o=null),go=0,po=!1,25<=a)throw Error(i(301));if(a+=1,uo=lo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}P.H=Bs,o=t(n,r)}while(po);return o}function wo(){var e=P.H,t=e.useState()[0];return t=typeof t.then==`function`?jo(t):t,e=e.useState()[0],(lo===null?null:lo.memoizedState)!==e&&(W.flags|=1024),t}function To(){var e=ho!==0;return ho=0,e}function Eo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Do(e){if(fo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}fo=!1}co=0,uo=lo=W=null,po=!1,go=ho=0,_o=null}function Oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return uo===null?W.memoizedState=uo=e:uo=uo.next=e,uo}function ko(){if(lo===null){var e=W.alternate;e=e===null?null:e.memoizedState}else e=lo.next;var t=uo===null?W.memoizedState:uo.next;if(t!==null)uo=t,lo=e;else{if(e===null)throw W.alternate===null?Error(i(467)):Error(i(310));lo=e,e={memoizedState:lo.memoizedState,baseState:lo.baseState,baseQueue:lo.baseQueue,queue:lo.queue,next:null},uo===null?W.memoizedState=uo=e:uo=uo.next=e}return uo}function Ao(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function jo(e){var t=go;return go+=1,_o===null&&(_o=[]),e=Ta(_o,e,t),t=W,(uo===null?t.memoizedState:uo.next)===null&&(t=t.alternate,P.H=t===null||t.memoizedState===null?Rs:zs),e}function Mo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return jo(e);if(e.$$typeof===C)return $i(e)}throw Error(i(438,String(e)))}function No(e){var t=null,n=W.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=W.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=Ao(),W.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]=A;return t.index++,n}function Po(e,t){return typeof t==`function`?t(e):t}function Fo(e){return Io(ko(),lo,e)}function Io(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?(co&f)===f:(zl&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===ua&&(d=!0);else if((co&p)===p){u=u.next,p===ua&&(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,W.lanes|=p,ql|=p;f=u.action,mo&&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,W.lanes|=f,ql|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!br(o,e.memoizedState)&&(nc=!0,d&&(n=da,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 Lo(e){var t=ko(),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);br(o,t.memoizedState)||(nc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ro(e,t,n){var r=W,a=ko(),o=V;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!br((lo||a).memoizedState,n);if(s&&(a.memoizedState=n,nc=!0),a=a.queue,ls(Vo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||uo!==null&&uo.memoizedState.tag&1){if(r.flags|=2048,is(9,{destroy:void 0},Bo.bind(null,r,a,n,t),null),Ll===null)throw Error(i(349));o||co&127||zo(r,t,n)}return n}function zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=W.updateQueue,t===null?(t=Ao(),W.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Bo(e,t,n,r){t.value=n,t.getSnapshot=r,Ho(t)&&Uo(e)}function Vo(e,t,n){return n(function(){Ho(t)&&Uo(e)})}function Ho(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!br(e,n)}catch{return!0}}function Uo(e){var t=ti(e,2);t!==null&&gu(t,e,2)}function Wo(e){var t=Oo();if(typeof e==`function`){var n=e;if(e=n(),mo){Fe(!0);try{n()}finally{Fe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Po,lastRenderedState:e},t}function Go(e,t,n,r){return e.baseState=n,Io(e,lo,typeof r==`function`?r:Po)}function Ko(e,t,n,r,a){if(Ps(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)}};P.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,qo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function qo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=P.T,o={};P.T=o;try{var s=n(i,r),c=P.S;c!==null&&c(o,s),Jo(e,t,s)}catch(n){Xo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),P.T=a}}else try{a=n(i,r),Jo(e,t,a)}catch(n){Xo(e,t,n)}}function Jo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Yo(e,t,n)},function(n){return Xo(e,t,n)}):Yo(e,t,n)}function Yo(e,t,n){t.status=`fulfilled`,t.value=n,Zo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,qo(e,n)))}function Xo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Zo(t),t=t.next;while(t!==r)}e.action=null}function Zo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Qo(e,t){return t}function $o(e,t){if(V){var n=Ll.formState;if(n!==null){a:{var r=W;if(V){if(Mi){b:{for(var i=Mi,a=Pi;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){Mi=lf(i.nextSibling),r=i.data===`F!`;break a}}Ii(r)}r=!1}r&&(t=n[0])}}return n=Oo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:t},n.queue=r,n=js.bind(null,W,r),r.dispatch=n,r=Wo(!1),a=Ns.bind(null,W,!1,r.queue),r=Oo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ko.bind(null,W,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function es(e){return ts(ko(),lo,e)}function ts(e,t,n){if(t=Io(e,t,Qo)[0],e=Fo(Po)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=jo(t)}catch(e){throw e===ba?Sa:e}else r=t;t=ko();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(W.flags|=2048,is(9,{destroy:void 0},ns.bind(null,i,n),null)),[r,a,e]}function ns(e,t){e.action=t}function rs(e){var t=ko(),n=lo;if(n!==null)return ts(t,n,e);ko(),t=t.memoizedState,n=ko();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function is(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=W.updateQueue,t===null&&(t=Ao(),W.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 as(){return ko().memoizedState}function os(e,t,n,r){var i=Oo();W.flags|=e,i.memoizedState=is(1|t,{destroy:void 0},n,r===void 0?null:r)}function ss(e,t,n,r){var i=ko();r=r===void 0?null:r;var a=i.memoizedState.inst;lo!==null&&r!==null&&bo(r,lo.memoizedState.deps)?i.memoizedState=is(t,a,n,r):(W.flags|=e,i.memoizedState=is(1|t,a,n,r))}function cs(e,t){os(8390656,8,e,t)}function ls(e,t){ss(2048,8,e,t)}function us(e){W.flags|=4;var t=W.updateQueue;if(t===null)t=Ao(),W.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ds(e){var t=ko().memoizedState;return us({ref:t,nextImpl:e}),function(){if(Il&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function fs(e,t){return ss(4,2,e,t)}function ps(e,t){return ss(4,4,e,t)}function ms(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 hs(e,t,n){n=n==null?null:n.concat([e]),ss(4,4,ms.bind(null,t,e),n)}function gs(){}function _s(e,t){var n=ko();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&bo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function vs(e,t){var n=ko();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&bo(t,r[1]))return r[0];if(r=e(),mo){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r}function ys(e,t,n){return n===void 0||co&1073741824&&!(zl&261930)?e.memoizedState=t:(e.memoizedState=n,e=hu(),W.lanes|=e,ql|=e,n)}function bs(e,t,n,r){return br(n,t)?n:Ya.current===null?!(co&42)||co&1073741824&&!(zl&261930)?(nc=!0,e.memoizedState=n):(e=hu(),W.lanes|=e,ql|=e,t):(e=ys(e,n,r),br(e,t)||(nc=!0),e)}function xs(e,t,n,r,i){var a=F.p;F.p=a!==0&&8>a?a:8;var o=P.T,s={};P.T=s,Ns(e,!1,t,n);try{var c=i(),l=P.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ms(e,t,ma(c,r),mu(e)):Ms(e,t,r,mu(e))}catch(n){Ms(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{F.p=a,o!==null&&s.types!==null&&(o.types=s.types),P.T=o}}function Ss(){}function Cs(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ws(e).queue;xs(e,a,t,ne,n===null?Ss:function(){return Ts(e),n(r)})}function ws(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Po,lastRenderedState:ne},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Po,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ts(e){var t=ws(e);t.next===null&&(t=e.alternate.memoizedState),Ms(e,t.next.queue,{},mu())}function Es(){return $i($f)}function Ds(){return ko().memoizedState}function Os(){return ko().memoizedState}function ks(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Ba(n);var r=Va(t,e,n);r!==null&&(gu(r,t,n),Ha(r,t,n)),t={cache:oa()},e.payload=t;return}t=t.return}}function As(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ps(e)?Fs(t,n):(n=ei(e,t,n,r),n!==null&&(gu(n,e,r),Is(n,t,r)))}function js(e,t,n){Ms(e,t,n,mu())}function Ms(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ps(e))Fs(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,br(s,o))return $r(e,t,i,0),Ll===null&&Qr(),!1}catch{}if(n=ei(e,t,i,r),n!==null)return gu(n,e,r),Is(n,t,r),!0}return!1}function Ns(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ps(e)){if(t)throw Error(i(479))}else t=ei(e,n,r,2),t!==null&&gu(t,e,2)}function Ps(e){var t=e.alternate;return e===W||t!==null&&t===W}function Fs(e,t){po=fo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Is(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qe(e,n)}}var Ls={readContext:$i,use:Mo,useCallback:yo,useContext:yo,useEffect:yo,useImperativeHandle:yo,useLayoutEffect:yo,useInsertionEffect:yo,useMemo:yo,useReducer:yo,useRef:yo,useState:yo,useDebugValue:yo,useDeferredValue:yo,useTransition:yo,useSyncExternalStore:yo,useId:yo,useHostTransitionStatus:yo,useFormState:yo,useActionState:yo,useOptimistic:yo,useMemoCache:yo,useCacheRefresh:yo};Ls.useEffectEvent=yo;var Rs={readContext:$i,use:Mo,useCallback:function(e,t){return Oo().memoizedState=[e,t===void 0?null:t],e},useContext:$i,useEffect:cs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),os(4194308,4,ms.bind(null,t,e),n)},useLayoutEffect:function(e,t){return os(4194308,4,e,t)},useInsertionEffect:function(e,t){os(4,2,e,t)},useMemo:function(e,t){var n=Oo();t=t===void 0?null:t;var r=e();if(mo){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Oo();if(n!==void 0){var i=n(t);if(mo){Fe(!0);try{n(t)}finally{Fe(!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=As.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Oo();return e={current:e},t.memoizedState=e},useState:function(e){e=Wo(e);var t=e.queue,n=js.bind(null,W,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:gs,useDeferredValue:function(e,t){return ys(Oo(),e,t)},useTransition:function(){var e=Wo(!1);return e=xs.bind(null,W,e.queue,!0,!1),Oo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=W,a=Oo();if(V){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Ll===null)throw Error(i(349));zl&127||zo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,cs(Vo.bind(null,r,o,e),[e]),r.flags|=2048,is(9,{destroy:void 0},Bo.bind(null,r,o,n,t),null),n},useId:function(){var e=Oo(),t=Ll.identifierPrefix;if(V){var n=Ti,r=wi;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=ho++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=vo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Es,useFormState:$o,useActionState:$o,useOptimistic:function(e){var t=Oo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ns.bind(null,W,!0,n),n.dispatch=t,[e,t]},useMemoCache:No,useCacheRefresh:function(){return Oo().memoizedState=ks.bind(null,W)},useEffectEvent:function(e){var t=Oo(),n={impl:e};return t.memoizedState=n,function(){if(Il&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},zs={readContext:$i,use:Mo,useCallback:_s,useContext:$i,useEffect:ls,useImperativeHandle:hs,useInsertionEffect:fs,useLayoutEffect:ps,useMemo:vs,useReducer:Fo,useRef:as,useState:function(){return Fo(Po)},useDebugValue:gs,useDeferredValue:function(e,t){return bs(ko(),lo.memoizedState,e,t)},useTransition:function(){var e=Fo(Po)[0],t=ko().memoizedState;return[typeof e==`boolean`?e:jo(e),t]},useSyncExternalStore:Ro,useId:Ds,useHostTransitionStatus:Es,useFormState:es,useActionState:es,useOptimistic:function(e,t){return Go(ko(),lo,e,t)},useMemoCache:No,useCacheRefresh:Os};zs.useEffectEvent=ds;var Bs={readContext:$i,use:Mo,useCallback:_s,useContext:$i,useEffect:ls,useImperativeHandle:hs,useInsertionEffect:fs,useLayoutEffect:ps,useMemo:vs,useReducer:Lo,useRef:as,useState:function(){return Lo(Po)},useDebugValue:gs,useDeferredValue:function(e,t){var n=ko();return lo===null?ys(n,e,t):bs(n,lo.memoizedState,e,t)},useTransition:function(){var e=Lo(Po)[0],t=ko().memoizedState;return[typeof e==`boolean`?e:jo(e),t]},useSyncExternalStore:Ro,useId:Ds,useHostTransitionStatus:Es,useFormState:rs,useActionState:rs,useOptimistic:function(e,t){var n=ko();return lo===null?(n.baseState=e,[e,n.queue.dispatch]):Go(n,lo,e,t)},useMemoCache:No,useCacheRefresh:Os};Bs.useEffectEvent=ds;function Vs(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 Hs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Ba(r);i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(gu(t,e,r),Ha(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Ba(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Va(e,i,r),t!==null&&(gu(t,e,r),Ha(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=mu(),r=Ba(n);r.tag=2,t!=null&&(r.callback=t),t=Va(e,r,n),t!==null&&(gu(t,e,n),Ha(t,e,n))}};function Us(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?!xr(n,r)||!xr(i,a):!0}function Ws(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&&Hs.enqueueReplaceState(t,t.state,null)}function Gs(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 Ks(e){Jr(e)}function qs(e){console.error(e)}function Js(e){Jr(e)}function Ys(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Xs(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 Zs(e,t,n){return n=Ba(n),n.tag=3,n.payload={element:null},n.callback=function(){Ys(e,t)},n}function Qs(e){return e=Ba(e),e.tag=3,e}function $s(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(){Xs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Xs(t,n,r),typeof i!=`function`&&(au===null?au=new Set([this]):au.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ec(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Xi(t,n,a,!0),n=eo.current,n!==null){switch(n.tag){case 31:case 13:return to===null?Ou():n.alternate===null&&Kl===0&&(Kl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Ca?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===Ca?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(V)return t=eo.current,t===null?(r!==Fi&&(t=Error(i(423),{cause:r}),Hi(gi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=gi(r,n),a=Zs(e.stateNode,r,a),Ua(e,a),Kl!==4&&(Kl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Fi&&(e=Error(i(422),{cause:r}),Hi(gi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=gi(o,n),Ql===null?Ql=[o]:Ql.push(o),Kl!==4&&(Kl=2),t===null)return!0;r=gi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Zs(n.stateNode,r,e),Ua(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`&&(au===null||!au.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Qs(a),$s(a,e,n,r),Ua(n,a),!1}n=n.return}while(n!==null);return!1}var tc=Error(i(461)),nc=!1;function G(e,t,n,r){t.child=e===null?Ia(t,null,n,r):Fa(t,e.child,n,r)}function rc(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 Qi(t),r=xo(e,t,n,o,a,i),s=To(),e!==null&&!nc?(Eo(e,t,i),Ec(e,t,i)):(V&&s&&Oi(t),t.flags|=1,G(e,t,r,i),t.child)}function ic(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!si(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,ac(e,t,a,r,i)):(e=ui(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Dc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?xr:n,n(o,r)&&e.ref===t.ref)return Ec(e,t,i)}return t.flags|=1,e=ci(a,r),e.ref=t.ref,e.return=t,t.child=e}function ac(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(xr(a,r)&&e.ref===t.ref)if(nc=!1,t.pendingProps=r=a,Dc(e,i))e.flags&131072&&(nc=!0);else return t.lanes=e.lanes,Ec(e,t,i)}return pc(e,t,n,r,i)}function oc(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 cc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&va(t,a===null?null:a.cachePool),a===null?Qa():Za(t,a),io(t);else return r=t.lanes=536870912,cc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&va(t,null),Qa(),ao(t)):(va(t,a.cachePool),Za(t,a),ao(t),t.memoizedState=null);return G(e,t,i,n),t.child}function sc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function cc(e,t,n,r,i){var a=_a();return a=a===null?null:{parent:aa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&va(t,null),Qa(),io(t),e!==null&&Xi(e,t,r,!0),t.childLanes=i,null}function lc(e,t){return t=xc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function uc(e,t,n){return Fa(t,e.child,null,n),e=lc(t,t.pendingProps),e.flags|=2,oo(t),t.memoizedState=null,e}function dc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(V){if(r.mode===`hidden`)return e=lc(t,r),t.lanes=536870912,sc(null,e);if(ro(t),(e=Mi)?(e=af(e,Pi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ci===null?null:{id:wi,overflow:Ti},retryLane:536870912,hydrationErrors:null},n=pi(e),n.return=t,t.child=n,ji=t,Mi=null)):e=null,e===null)throw Ii(t);return t.lanes=536870912,null}return lc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(ro(t),a)if(t.flags&256)t.flags&=-257,t=uc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(nc||Xi(e,t,n,!1),a=(n&e.childLanes)!==0,nc||a){if(r=Ll,r!==null&&(s=$e(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ti(e,s),gu(r,e,s),tc;Ou(),t=uc(e,t,n)}else e=o.treeContext,Mi=lf(s.nextSibling),ji=t,V=!0,Ni=null,Pi=!1,e!==null&&Ai(t,e),t=lc(t,r),t.flags|=4096;return t}return e=ci(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function fc(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 pc(e,t,n,r,i){return Qi(t),n=xo(e,t,n,r,void 0,i),r=To(),e!==null&&!nc?(Eo(e,t,i),Ec(e,t,i)):(V&&r&&Oi(t),t.flags|=1,G(e,t,n,i),t.child)}function mc(e,t,n,r,i,a){return Qi(t),t.updateQueue=null,n=Co(t,r,n,i),So(e),r=To(),e!==null&&!nc?(Eo(e,t,a),Ec(e,t,a)):(V&&r&&Oi(t),t.flags|=1,G(e,t,n,a),t.child)}function hc(e,t,n,r,i){if(Qi(t),t.stateNode===null){var a=ii,o=n.contextType;typeof o==`object`&&o&&(a=$i(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Hs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ra(t),o=n.contextType,a.context=typeof o==`object`&&o?$i(o):ii,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Vs(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&&Hs.enqueueReplaceState(a,a.state,null),Ka(t,r,a,i),Ga(),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=Gs(n,s);a.props=c;var l=a.context,u=n.contextType;o=ii,typeof u==`object`&&u&&(o=$i(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)&&Ws(t,a,r,o),La=!1;var f=t.memoizedState;a.state=f,Ka(t,r,a,i),Ga(),l=t.memoizedState,s||f!==l||La?(typeof d==`function`&&(Vs(t,n,d,r),l=t.memoizedState),(c=La||Us(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,za(e,t),o=t.memoizedProps,u=Gs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ii,typeof l==`object`&&l&&(c=$i(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)&&Ws(t,a,r,c),La=!1,f=t.memoizedState,a.state=f,Ka(t,r,a,i),Ga();var p=t.memoizedState;o!==d||f!==p||La||e!==null&&e.dependencies!==null&&Zi(e.dependencies)?(typeof s==`function`&&(Vs(t,n,s,r),p=t.memoizedState),(u=La||Us(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Zi(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,fc(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=Fa(t,e.child,null,i),t.child=Fa(t,null,n,i)):G(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Ec(e,t,i),e}function gc(e,t,n,r){return Bi(),t.flags|=256,G(e,t,n,r),t.child}var _c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vc(e){return{baseLanes:e,cachePool:ya()}}function yc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Xl),e}function bc(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:(U.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(V){if(a?no(t):ao(t),(e=Mi)?(e=af(e,Pi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ci===null?null:{id:wi,overflow:Ti},retryLane:536870912,hydrationErrors:null},n=pi(e),n.return=t,t.child=n,ji=t,Mi=null)):e=null,e===null)throw Ii(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(ao(t),a=t.mode,c=xc({mode:`hidden`,children:c},a),r=di(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=vc(n),r.childLanes=yc(e,s,n),t.memoizedState=_c,sc(null,r)):(no(t),K(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(no(t),t.flags&=-257,t=Sc(e,t,n)):t.memoizedState===null?(ao(t),c=r.fallback,a=t.mode,r=xc({mode:`visible`,children:r.children},a),c=di(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fa(t,e.child,null,n),r=t.child,r.memoizedState=vc(n),r.childLanes=yc(e,s,n),t.memoizedState=_c,t=sc(null,r)):(ao(t),t.child=e.child,t.flags|=128,t=null);else if(no(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,Hi({value:r,source:null,stack:null}),t=Sc(e,t,n)}else if(nc||Xi(e,t,n,!1),s=(n&e.childLanes)!==0,nc||s){if(s=Ll,s!==null&&(r=$e(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ti(e,r),gu(s,e,r),tc;of(c)||Ou(),t=Sc(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Mi=lf(c.nextSibling),ji=t,V=!0,Ni=null,Pi=!1,e!==null&&Ai(t,e),t=K(t,r.children),t.flags|=4096);return t}return a?(ao(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ci(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=di(c,a,n,null),c.flags|=2):c=ci(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,sc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=vc(n):(a=c.cachePool,a===null?a=ya():(l=aa._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=yc(e,s,n),t.memoizedState=_c,sc(e.child,r)):(no(t),n=e.child,e=n.sibling,n=ci(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 K(e,t){return t=xc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function xc(e,t){return e=oi(22,e,null,t),e.lanes=0,e}function Sc(e,t,n){return Fa(t,e.child,null,n),e=K(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Cc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ji(e.return,t,n)}function wc(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 Tc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=U.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,I(U,o),G(e,t,r,n),r=V?bi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Cc(e,n,t);else if(e.tag===19)Cc(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&&so(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),wc(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&&so(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}wc(t,!0,n,null,a,r);break;case`together`:wc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ec(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ql|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Xi(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=ci(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ci(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Dc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Zi(e))):!0}function Oc(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Ki(t,aa,e.memoizedState.cache),Bi();break;case 27:case 5:L(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Ki(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ro(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(no(t),e=Ec(e,t,n),e===null?null:e.sibling):bc(e,t,n):(no(t),t.flags|=128,null);no(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Xi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Tc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),I(U,U.current),r)break;return null;case 22:return t.lanes=0,oc(e,t,n,t.pendingProps);case 24:Ki(t,aa,e.memoizedState.cache)}return Ec(e,t,n)}function kc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)nc=!0;else{if(!Dc(e,n)&&!(t.flags&128))return nc=!1,Oc(e,t,n);nc=!!(e.flags&131072)}else nc=!1,V&&t.flags&1048576&&Di(t,bi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ea(t.elementType),t.type=e,typeof e==`function`)si(e)?(r=Gs(e,r),t.tag=1,t=hc(null,t,e,r,n)):(t.tag=0,t=pc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=rc(null,t,e,r,n);break a}else if(a===D){t.tag=14,t=ic(null,t,e,r,n);break a}}throw t=N(e)||e,Error(i(306,t,``))}}return t;case 0:return pc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Gs(r,t.pendingProps),hc(e,t,r,a,n);case 3:a:{if(de(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,za(e,t),Ka(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Ki(t,aa,r),r!==o.cache&&Yi(t,[aa],n,!0),Ga(),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=gc(e,t,r,n);break a}else if(r!==a){a=gi(Error(i(424)),t),Hi(a),t=gc(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(Mi=lf(e.firstChild),ji=t,V=!0,Ni=null,Pi=!0,n=Ia(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Bi(),r===a){t=Ec(e,t,n);break a}G(e,t,r,n)}t=t.child}return t;case 26:return fc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:V||(n=t.type,e=t.pendingProps,r=Vd(le.current).createElement(n),r[at]=t,r[ot]=e,Fd(r,n,e),vt(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return L(t),e===null&&V&&(r=t.stateNode=pf(t.type,t.pendingProps,le.current),ji=t,Pi=!0,a=Mi,Qd(t.type)?(uf=a,Mi=lf(r.firstChild)):Mi=a),G(e,t,t.pendingProps.children,n),fc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&V&&((a=r=Mi)&&(r=nf(r,t.type,t.pendingProps,Pi),r===null?a=!1:(t.stateNode=r,ji=t,Mi=lf(r.firstChild),Pi=!1,a=!0)),a||Ii(t)),L(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=xo(e,t,wo,null,null,n),$f._currentValue=a),fc(e,t),G(e,t,r,n),t.child;case 6:return e===null&&V&&((e=n=Mi)&&(n=rf(n,t.pendingProps,Pi),n===null?e=!1:(t.stateNode=n,ji=t,Mi=null,e=!0)),e||Ii(t)),null;case 13:return bc(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fa(t,null,r,n):G(e,t,r,n),t.child;case 11:return rc(e,t,t.type,t.pendingProps,n);case 7:return G(e,t,t.pendingProps,n),t.child;case 8:return G(e,t,t.pendingProps.children,n),t.child;case 12:return G(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Ki(t,t.type,r.value),G(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Qi(t),a=$i(a),r=r(a),t.flags|=1,G(e,t,r,n),t.child;case 14:return ic(e,t,t.type,t.pendingProps,n);case 15:return ac(e,t,t.type,t.pendingProps,n);case 19:return Tc(e,t,n);case 31:return dc(e,t,n);case 22:return oc(e,t,n,t.pendingProps);case 24:return Qi(t),r=$i(aa),e===null?(a=_a(),a===null&&(a=Ll,o=oa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ra(t),Ki(t,aa,a)):((e.lanes&n)!==0&&(za(e,t),Ka(t,null,null,n),Ga()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Ki(t,aa,r),r!==a.cache&&Yi(t,[aa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Ki(t,aa,r))),G(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Ac(e){e.flags|=4}function jc(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 Da=Ca,xa}else e.flags&=-16777217}function Mc(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 Da=Ca,xa}function Nc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:qe(),e.lanes|=t,Zl|=t)}function Pc(e,t){if(!V)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 Fc(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 Ic(e,t,n){var r=t.pendingProps;switch(ki(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fc(t),null;case 1:return Fc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),qi(aa),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zi(t)?Ac(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vi())),Fc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Ac(t),o===null?(Fc(t),jc(t,a,null,r,n)):(Fc(t),Mc(t,o))):o?o===e.memoizedState?(Fc(t),t.flags&=-16777217):(Ac(t),Fc(t),Mc(t,o)):(e=e.memoizedProps,e!==r&&Ac(t),Fc(t),jc(t,a,e,r,n)),null;case 27:if(pe(t),n=le.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ac(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Fc(t),null}e=se.current,zi(t)?Li(t,e):(e=pf(a,r,n),t.stateNode=e,Ac(t))}return Fc(t),null;case 5:if(pe(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Ac(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Fc(t),null}if(o=se.current,zi(t))Li(t,o);else{var s=Vd(le.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[at]=t,o[ot]=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&&Ac(t)}}return Fc(t),jc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Ac(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=le.current,zi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ji,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[at]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Ii(t,!0)}else e=Vd(e).createTextNode(r),e[at]=t,t.stateNode=e}return Fc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zi(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[at]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Fc(t),e=!1}else n=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(oo(t),t):(oo(t),null);if(t.flags&128)throw Error(i(558))}return Fc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=zi(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[at]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Fc(t),a=!1}else a=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(oo(t),t):(oo(t),null)}return oo(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),Nc(t,t.updateQueue),Fc(t),null);case 4:return fe(),e===null&&Sd(t.stateNode.containerInfo),Fc(t),null;case 10:return qi(t.type),Fc(t),null;case 19:if(oe(U),r=t.memoizedState,r===null)return Fc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Pc(r,!1);else{if(Kl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=so(e),o!==null){for(t.flags|=128,Pc(r,!1),e=o.updateQueue,t.updateQueue=e,Nc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)li(n,e),n=n.sibling;return I(U,U.current&1|2),V&&Ei(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Te()>ru&&(t.flags|=128,a=!0,Pc(r,!1),t.lanes=4194304)}else{if(!a)if(e=so(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Nc(t,e),Pc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!V)return Fc(t),null}else 2*Te()-r.renderingStartTime>ru&&n!==536870912&&(t.flags|=128,a=!0,Pc(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?(Fc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Te(),e.sibling=null,n=U.current,I(U,a?n&1|2:n&1),V&&Ei(t,r.treeForkCount),e);case 22:case 23:return oo(t),$a(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Fc(t),t.subtreeFlags&6&&(t.flags|=8192)):Fc(t),n=t.updateQueue,n!==null&&Nc(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&&oe(ga),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),qi(aa),Fc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Lc(e,t){switch(ki(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qi(aa),fe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pe(t),null;case 31:if(t.memoizedState!==null){if(oo(t),t.alternate===null)throw Error(i(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(U),null;case 4:return fe(),null;case 10:return qi(t.type),null;case 22:case 23:return oo(t),$a(),e!==null&&oe(ga),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return qi(aa),null;case 25:return null;default:return null}}function Rc(e,t){switch(ki(t),t.tag){case 3:qi(aa),fe();break;case 26:case 27:case 5:pe(t);break;case 4:fe();break;case 31:t.memoizedState!==null&&oo(t);break;case 13:oo(t);break;case 19:oe(U);break;case 10:qi(t.type);break;case 22:case 23:oo(t),$a(),e!==null&&oe(ga);break;case 24:qi(aa)}}function zc(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){Gu(t,t.return,e)}}function Bc(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){Gu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Gu(t,t.return,e)}}function Vc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ja(t,n)}catch(t){Gu(e,e.return,t)}}}function Hc(e,t,n){n.props=Gs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Gu(e,t,n)}}function Uc(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){Gu(e,t,n)}}function q(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Gu(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){Gu(e,t,n)}else n.current=null}function Wc(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){Gu(e,e.return,t)}}function J(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[ot]=t}catch(t){Gu(e,e.return,t)}}function Gc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Kc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Gc(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=Qt));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 Jc(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(Jc(e,t,n),e=e.sibling;e!==null;)Jc(e,t,n),e=e.sibling}function Yc(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[at]=e,t[ot]=n}catch(t){Gu(e,e.return,t)}}var Xc=!1,Zc=!1,Qc=!1,$c=typeof WeakSet==`function`?WeakSet:Set,el=null;function tl(e,t){if(e=e.containerInfo,zd=sp,e=Tr(e),Er(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},sp=!1,el=t;el!==null;)if(t=el,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,el=e;else for(;el!==null;){switch(t=el,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=Gs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Gu(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,el=e;break}el=t.return}}function nl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:_l(e,n),r&4&&zc(5,n);break;case 1:if(_l(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Gu(n,n.return,e)}else{var i=Gs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Gu(n,n.return,e)}}r&64&&Vc(n),r&512&&Uc(n,n.return);break;case 3:if(_l(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{Ja(e,t)}catch(e){Gu(n,n.return,e)}}break;case 27:t===null&&r&4&&Yc(n);case 26:case 5:_l(e,n),t===null&&r&4&&Wc(n),r&512&&Uc(n,n.return);break;case 12:_l(e,n);break;case 31:_l(e,n),r&4&&cl(e,n);break;case 13:_l(e,n),r&4&&ll(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||Xc,!r){t=t!==null&&t.memoizedState!==null||Zc,i=Xc;var a=Zc;Xc=r,(Zc=t)&&!a?yl(e,n,(n.subtreeFlags&8772)!=0):_l(e,n),Xc=i,Zc=a}break;case 30:break;default:_l(e,n)}}function rl(e){var t=e.alternate;t!==null&&(e.alternate=null,rl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&pt(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 il=null,al=!1;function ol(e,t,n){for(n=n.child;n!==null;)sl(e,t,n),n=n.sibling}function sl(e,t,n){if(Pe&&typeof Pe.onCommitFiberUnmount==`function`)try{Pe.onCommitFiberUnmount(z,n)}catch{}switch(n.tag){case 26:Zc||q(n,t),ol(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Zc||q(n,t);var r=il,i=al;Qd(n.type)&&(il=n.stateNode,al=!1),ol(e,t,n),mf(n.stateNode),il=r,al=i;break;case 5:Zc||q(n,t);case 6:if(r=il,i=al,il=null,ol(e,t,n),il=r,al=i,il!==null)if(al)try{(il.nodeType===9?il.body:il.nodeName===`HTML`?il.ownerDocument.body:il).removeChild(n.stateNode)}catch(e){Gu(n,t,e)}else try{il.removeChild(n.stateNode)}catch(e){Gu(n,t,e)}break;case 18:il!==null&&(al?(e=il,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Np(e)):$d(il,n.stateNode));break;case 4:r=il,i=al,il=n.stateNode.containerInfo,al=!0,ol(e,t,n),il=r,al=i;break;case 0:case 11:case 14:case 15:Bc(2,n,t),Zc||Bc(4,n,t),ol(e,t,n);break;case 1:Zc||(q(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Hc(n,t,r)),ol(e,t,n);break;case 21:ol(e,t,n);break;case 22:Zc=(r=Zc)||n.memoizedState!==null,ol(e,t,n),Zc=r;break;default:ol(e,t,n)}}function cl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Np(e)}catch(e){Gu(t,t.return,e)}}}function ll(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Np(e)}catch(e){Gu(t,t.return,e)}}function ul(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new $c),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new $c),t;default:throw Error(i(435,e.tag))}}function dl(e,t){var n=ul(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Xu.bind(null,e,t);t.then(r,r)}})}function fl(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)){il=c.stateNode,al=!1;break a}break;case 5:il=c.stateNode,al=!1;break a;case 3:case 4:il=c.stateNode.containerInfo,al=!0;break a}c=c.return}if(il===null)throw Error(i(160));sl(o,s,a),il=null,al=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ml(t,e),t=t.sibling}var pl=null;function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:fl(t,e),hl(e),r&4&&(Bc(3,e,e.return),zc(3,e),Bc(5,e,e.return));break;case 1:fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),r&64&&Xc&&(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=pl;if(fl(t,e),hl(e),r&512&&(Zc||n===null||q(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[ft]||o[at]||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[at]=e,vt(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[at]=e,vt(o),r=o}e.stateNode=r}else Uf(a,e.type,e.stateNode);else e.stateNode=Lf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&J(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:fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),n!==null&&r&4&&J(e,e.memoizedProps,n.memoizedProps);break;case 5:if(fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),e.flags&32){a=e.stateNode;try{Wt(a,``)}catch(t){Gu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,J(e,a,n===null?a:n.memoizedProps)),r&1024&&(Qc=!0);break;case 6:if(fl(t,e),hl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Gu(e,e.return,t)}}break;case 3:if(Vf=null,a=pl,pl=_f(t.containerInfo),fl(t,e),pl=a,hl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Np(t.containerInfo)}catch(t){Gu(e,e.return,t)}Qc&&(Qc=!1,gl(e));break;case 4:r=pl,pl=_f(e.stateNode.containerInfo),fl(t,e),hl(e),pl=r;break;case 12:fl(t,e),hl(e);break;case 31:fl(t,e),hl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 13:fl(t,e),hl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(tu=Te()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Xc,d=Zc;if(Xc=u||a,Zc=d||l,fl(t,e),Zc=d,Xc=u,hl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Xc||Zc||vl(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){Gu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Gu(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){Gu(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,dl(e,n))));break;case 19:fl(t,e),hl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 30:break;case 21:break;default:fl(t,e),hl(e)}}function hl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Gc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Jc(e,Kc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Wt(o,``),n.flags&=-33),Jc(e,Kc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;qc(e,Kc(e),s);break;default:throw Error(i(161))}}catch(t){Gu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;gl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function _l(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)nl(e,t.alternate,t),t=t.sibling}function vl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Bc(4,t,t.return),vl(t);break;case 1:q(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Hc(t,t.return,n),vl(t);break;case 27:mf(t.stateNode);case 26:case 5:q(t,t.return),vl(t);break;case 22:t.memoizedState===null&&vl(t);break;case 30:vl(t);break;default:vl(t)}e=e.sibling}}function yl(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:yl(i,a,n),zc(4,a);break;case 1:if(yl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Gu(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++)qa(c[i],s)}catch(e){Gu(r,r.return,e)}}n&&o&64&&Vc(a),Uc(a,a.return);break;case 27:Yc(a);case 26:case 5:yl(i,a,n),n&&r===null&&o&4&&Wc(a),Uc(a,a.return);break;case 12:yl(i,a,n);break;case 31:yl(i,a,n),n&&o&4&&cl(i,a);break;case 13:yl(i,a,n),n&&o&4&&ll(i,a);break;case 22:a.memoizedState===null&&yl(i,a,n),Uc(a,a.return);break;case 30:break;default:yl(i,a,n)}t=t.sibling}}function bl(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&&sa(n))}function xl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e))}function Sl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cl(e,t,n,r),t=t.sibling}function Cl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Sl(e,t,n,r),i&2048&&zc(9,t);break;case 1:Sl(e,t,n,r);break;case 3:Sl(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&&sa(e)));break;case 12:if(i&2048){Sl(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){Gu(t,t.return,e)}}else Sl(e,t,n,r);break;case 31:Sl(e,t,n,r);break;case 13:Sl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Sl(e,t,n,r):(a._visibility|=2,wl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Sl(e,t,n,r):Tl(e,t),i&2048&&bl(o,t);break;case 24:Sl(e,t,n,r),i&2048&&xl(t.alternate,t);break;default:Sl(e,t,n,r)}}function wl(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:wl(a,o,s,c,i),zc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,wl(a,o,s,c,i)):u._visibility&2?wl(a,o,s,c,i):Tl(a,o),i&&l&2048&&bl(o.alternate,o);break;case 24:wl(a,o,s,c,i),i&&l&2048&&xl(o.alternate,o);break;default:wl(a,o,s,c,i)}t=t.sibling}}function Tl(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:Tl(n,r),i&2048&&bl(r.alternate,r);break;case 24:Tl(n,r),i&2048&&xl(r.alternate,r);break;default:Tl(n,r)}t=t.sibling}}var El=8192;function Dl(e,t,n){if(e.subtreeFlags&El)for(e=e.child;e!==null;)Ol(e,t,n),e=e.sibling}function Ol(e,t,n){switch(e.tag){case 26:Dl(e,t,n),e.flags&El&&e.memoizedState!==null&&Kf(n,pl,e.memoizedState,e.memoizedProps);break;case 5:Dl(e,t,n);break;case 3:case 4:var r=pl;pl=_f(e.stateNode.containerInfo),Dl(e,t,n),pl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=El,El=16777216,Dl(e,t,n),El=r):Dl(e,t,n));break;default:Dl(e,t,n)}}function kl(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 Al(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];el=r,Nl(r,e)}kl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jl(e),e=e.sibling}function jl(e){switch(e.tag){case 0:case 11:case 15:Al(e),e.flags&2048&&Bc(9,e,e.return);break;case 3:Al(e);break;case 12:Al(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ml(e)):Al(e);break;default:Al(e)}}function Ml(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];el=r,Nl(r,e)}kl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Bc(8,t,t.return),Ml(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ml(t));break;default:Ml(t)}e=e.sibling}}function Nl(e,t){for(;el!==null;){var n=el;switch(n.tag){case 0:case 11:case 15:Bc(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:sa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,el=r;else a:for(n=e;el!==null;){r=el;var i=r.sibling,a=r.return;if(rl(r),r===n){el=null;break a}if(i!==null){i.return=a,el=i;break a}el=a}}}var Pl={getCacheForType:function(e){var t=$i(aa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $i(aa).controller.signal}},Fl=typeof WeakMap==`function`?WeakMap:Map,Il=0,Ll=null,Rl=null,zl=0,Bl=0,Vl=null,Hl=!1,Ul=!1,Wl=!1,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=null,$l=null,eu=!1,tu=0,nu=0,ru=1/0,iu=null,au=null,Y=0,ou=null,su=null,cu=0,lu=0,uu=null,du=null,fu=0,pu=null;function mu(){return Il&2&&zl!==0?zl&-zl:P.T===null?nt():fd()}function hu(){if(Xl===0)if(!(zl&536870912)||V){var e=Ve;Ve<<=1,!(Ve&3932160)&&(Ve=262144),Xl=e}else Xl=536870912;return e=eo.current,e!==null&&(e.flags|=32),Xl}function gu(e,t,n){(e===Ll&&(Bl===2||Bl===9)||e.cancelPendingCommit!==null)&&(Cu(e,0),bu(e,zl,Xl,!1)),Ye(e,n),(!(Il&2)||e!==Ll)&&(e===Ll&&(!(Il&2)&&(Jl|=n),Kl===4&&bu(e,zl,Xl,!1)),id(e))}function _u(e,t,n){if(Il&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ge(e,t),a=r?Au(e,t):X(e,t,!0),o=r;do{if(a===0){Ul&&!r&&bu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!yu(n)){a=X(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=Ql;var l=c.current.memoizedState.isDehydrated;if(l&&(Cu(c,s).flags|=256),s=X(c,s,!1),s!==2){if(Wl&&!l){c.errorRecoveryDisabledLanes|=o,Jl|=o,a=4;break a}o=$l,$l=a,o!==null&&($l===null?$l=o:$l.push.apply($l,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,Xl,!Hl);break a;case 2:$l=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=tu+300-Te(),10<a)){if(bu(r,t,Xl,!Hl),We(r,0,!0)!==0)break a;cu=t,r.timeoutHandle=qd(vu.bind(null,r,n,$l,iu,eu,t,Xl,Jl,Zl,Hl,o,`Throttled`,-0,0),a);break a}vu(r,n,$l,iu,eu,t,Xl,Jl,Zl,Hl,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:Qt},Ol(t,a,d);var m=(a&62914560)===a?tu-Te():(a&4194048)===a?nu-Te():0;if(m=Jf(d,m),m!==null){cu=a,e.cancelPendingCommit=m(Lu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),bu(e,a,o,!l);return}}Lu(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(!br(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&=~Yl,t&=~Jl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ie(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ze(e,n,t)}function xu(){return Il&6?!0:(ad(0,!1),!1)}function Su(){if(Rl!==null){if(Bl===0)var e=Rl.return;else e=Rl,Gi=Wi=null,Do(e),Aa=null,ja=0,e=Rl;for(;e!==null;)Rc(e.alternate,e),e=e.return;Rl=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(),Ll=e,Rl=n=ci(e.current,null),zl=t,Bl=0,Vl=null,Hl=!1,Ul=Ge(e,t),Wl=!1,Zl=Xl=Yl=Jl=ql=Kl=0,$l=Ql=null,eu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ie(r),a=1<<i;t|=e[i],r&=~a}return Gl=t,Qr(),n}function wu(e,t){W=null,P.H=Ls,t===ba||t===Sa?(t=Oa(),Bl=3):t===xa?(t=Oa(),Bl=4):Bl=t===tc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Vl=t,Rl===null&&(Kl=1,Ys(e,gi(t,e.current)))}function Tu(){var e=eo.current;return e===null?!0:(zl&4194048)===zl?to===null:(zl&62914560)===zl||zl&536870912?e===to:!1}function Eu(){var e=P.H;return P.H=Ls,e===null?Ls:e}function Du(){var e=P.A;return P.A=Pl,e}function Ou(){Kl=4,Hl||(zl&4194048)!==zl&&eo.current!==null||(Ul=!0),!(ql&134217727)&&!(Jl&134217727)||Ll===null||bu(Ll,zl,Xl,!1)}function X(e,t,n){var r=Il;Il|=2;var i=Eu(),a=Du();(Ll!==e||zl!==t)&&(iu=null,Cu(e,t)),t=!1;var o=Kl;a:do try{if(Bl!==0&&Rl!==null){var s=Rl,c=Vl;switch(Bl){case 8:Su(),o=6;break a;case 3:case 2:case 9:case 6:eo.current===null&&(t=!0);var l=Bl;if(Bl=0,Vl=null,Pu(e,s,c,l),n&&Ul){o=0;break a}break;default:l=Bl,Bl=0,Vl=null,Pu(e,s,c,l)}}ku(),o=Kl;break}catch(t){wu(e,t)}while(1);return t&&e.shellSuspendCounter++,Gi=Wi=null,Il=r,P.H=i,P.A=a,Rl===null&&(Ll=null,zl=0,Qr()),o}function ku(){for(;Rl!==null;)Mu(Rl)}function Au(e,t){var n=Il;Il|=2;var r=Eu(),a=Du();Ll!==e||zl!==t?(iu=null,ru=Te()+500,Cu(e,t)):Ul=Ge(e,t);a:do try{if(Bl!==0&&Rl!==null){t=Rl;var o=Vl;b:switch(Bl){case 1:Bl=0,Vl=null,Pu(e,t,o,1);break;case 2:case 9:if(wa(o)){Bl=0,Vl=null,Nu(t);break}t=function(){Bl!==2&&Bl!==9||Ll!==e||(Bl=7),id(e)},o.then(t,t);break a;case 3:Bl=7;break a;case 4:Bl=5;break a;case 7:wa(o)?(Bl=0,Vl=null,Nu(t)):(Bl=0,Vl=null,Pu(e,t,o,7));break;case 5:var s=null;switch(Rl.tag){case 26:s=Rl.memoizedState;case 5:case 27:var c=Rl;if(s?Gf(s):c.stateNode.complete){Bl=0,Vl=null;var l=c.sibling;if(l!==null)Rl=l;else{var u=c.return;u===null?Rl=null:(Rl=u,Fu(u))}break b}}Bl=0,Vl=null,Pu(e,t,o,5);break;case 6:Bl=0,Vl=null,Pu(e,t,o,6);break;case 8:Su(),Kl=6;break a;default:throw Error(i(462))}}ju();break}catch(t){wu(e,t)}while(1);return Gi=Wi=null,P.H=r,P.A=a,Il=n,Rl===null?(Ll=null,zl=0,Qr(),Kl):0}function ju(){for(;Rl!==null&&!Ce();)Mu(Rl)}function Mu(e){var t=kc(e.alternate,e,Gl);e.memoizedProps=e.pendingProps,t===null?Fu(e):Rl=t}function Nu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=mc(n,t,t.pendingProps,t.type,void 0,zl);break;case 11:t=mc(n,t,t.pendingProps,t.type.render,t.ref,zl);break;case 5:Do(t);default:Rc(n,t),t=Rl=li(t,Gl),t=kc(n,t,Gl)}e.memoizedProps=e.pendingProps,t===null?Fu(e):Rl=t}function Pu(e,t,n,r){Gi=Wi=null,Do(t),Aa=null,ja=0;var i=t.return;try{if(ec(e,i,t,n,zl)){Kl=1,Ys(e,gi(n,e.current)),Rl=null;return}}catch(t){if(i!==null)throw Rl=i,t;Kl=1,Ys(e,gi(n,e.current)),Rl=null;return}t.flags&32768?(V||r===1?e=!0:Ul||zl&536870912?e=!1:(Hl=e=!0,(r===2||r===9||r===3||r===6)&&(r=eo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Iu(t,e)):Fu(t)}function Fu(e){var t=e;do{if(t.flags&32768){Iu(t,Hl);return}e=t.return;var n=Ic(t.alternate,t,Gl);if(n!==null){Rl=n;return}if(t=t.sibling,t!==null){Rl=t;return}Rl=t=e}while(t!==null);Kl===0&&(Kl=5)}function Iu(e,t){do{var n=Lc(e.alternate,e);if(n!==null){n.flags&=32767,Rl=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Rl=e;return}Rl=e=n}while(e!==null);Kl=6,Rl=null}function Lu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Hu();while(Y!==0);if(Il&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Zr,Xe(e,n,o,s,c,l),e===Ll&&(Rl=Ll=null,zl=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(ke,function(){return Uu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=P.T,P.T=null,a=F.p,F.p=2,s=Il,Il|=4;try{tl(e,t,n)}finally{Il=s,F.p=a,P.T=r}}Y=1,Ru(),zu(),Bu()}}function Ru(){if(Y===1){Y=0;var e=ou,t=su,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=Il;Il|=4;try{ml(t,e);var a=Bd,o=Tr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&wr(s.ownerDocument.documentElement,s)){if(c!==null&&Er(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 _=Cr(s,h),v=Cr(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}}sp=!!zd,Bd=zd=null}finally{Il=i,F.p=r,P.T=n}}e.current=t,Y=2}}function zu(){if(Y===2){Y=0;var e=ou,t=su,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=Il;Il|=4;try{nl(e,t.alternate,t)}finally{Il=i,F.p=r,P.T=n}}Y=3}}function Bu(){if(Y===4||Y===3){Y=0,we();var e=ou,t=su,n=cu,r=du;t.subtreeFlags&10256||t.flags&10256?Y=5:(Y=0,su=ou=null,Vu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(au=null),tt(n),t=t.stateNode,Pe&&typeof Pe.onCommitFiberRoot==`function`)try{Pe.onCommitFiberRoot(z,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=P.T,i=F.p,F.p=2,P.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{P.T=t,F.p=i}}cu&3&&Hu(),id(e),i=e.pendingLanes,n&261930&&i&42?e===pu?fu++:(fu=0,pu=e):fu=0,ad(0,!1)}}function Vu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sa(t)))}function Hu(){return Ru(),zu(),Bu(),Uu()}function Uu(){if(Y!==5)return!1;var e=ou,t=lu;lu=0;var n=tt(cu),r=P.T,a=F.p;try{F.p=32>n?32:n,P.T=null,n=uu,uu=null;var o=ou,s=cu;if(Y=0,su=ou=null,cu=0,Il&6)throw Error(i(331));var c=Il;if(Il|=4,jl(o.current),Cl(o,o.current,s,n),Il=c,ad(0,!1),Pe&&typeof Pe.onPostCommitFiberRoot==`function`)try{Pe.onPostCommitFiberRoot(z,o)}catch{}return!0}finally{F.p=a,P.T=r,Vu(e,t)}}function Wu(e,t,n){t=gi(n,t),t=Zs(e.stateNode,t,2),e=Va(e,t,2),e!==null&&(Ye(e,2),id(e))}function Gu(e,t,n){if(e.tag===3)Wu(e,e,n);else for(;t!==null;){if(t.tag===3){Wu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(au===null||!au.has(r))){e=gi(n,e),n=Qs(2),r=Va(t,n,2),r!==null&&($s(n,r,t,e),Ye(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Wl=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ll===e&&(zl&n)===n&&(Kl===4||Kl===3&&(zl&62914560)===zl&&300>Te()-tu?!(Il&2)&&Cu(e,0):Yl|=n,Zl===zl&&(Zl=0)),id(e)}function Ju(e,t){t===0&&(t=qe()),e=ti(e,t),e!==null&&(Ye(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 R(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-Ie(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=zl,a=We(r,r===Ll?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ge(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=Te(),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}Y!==0&&Y!==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-Ie(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ke(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ll,n=zl,n=We(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Bl===2||Bl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Se(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ge(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Se(r),tt(n)){case 2:case 8:n=Oe;break;case 32:n=ke;break;case 268435456:n=je;break;default:n=ke}return r=ld.bind(null,e),n=R(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Se(r),e.callbackPriority=2,e.callbackNode=null,2}function ld(e,t){if(Y!==0&&Y!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hu()&&e.callbackNode!==n)return null;var r=zl;return r=We(e,e===Ll?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_u(e,r,t),cd(e,Te()),e.callbackNode!=null&&e.callbackNode===n?ld.bind(null,e):null)}function ud(e,t){if(Hu())return null;_u(e,t,!0)}function dd(){Xd(function(){Il&6?R(De,od):sd()})}function fd(){if(rd===0){var e=ua;e===0&&(e=Be,Be<<=1,!(Be&261888)&&(Be=256)),rd=e}return rd}function pd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Zt(``+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[ot]||null).action),o=r.submitter;o&&(t=(t=o[ot]||null)?pd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new bn(`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);Cs(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),Cs(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Z=0;Z<Kr.length;Z++){var gd=Kr[Z];qr(gd.toLowerCase(),`on`+(gd[0].toUpperCase()+gd.slice(1)))}qr(Rr,`onAnimationEnd`),qr(zr,`onAnimationIteration`),qr(Br,`onAnimationStart`),qr(`dblclick`,`onDoubleClick`),qr(`focusin`,`onFocus`),qr(`focusout`,`onBlur`),qr(Vr,`onTransitionRun`),qr(Hr,`onTransitionStart`),qr(Ur,`onTransitionCancel`),qr(Wr,`onTransitionEnd`),St(`onMouseEnter`,[`mouseout`,`mouseover`]),St(`onMouseLeave`,[`mouseout`,`mouseover`]),St(`onPointerEnter`,[`pointerout`,`pointerover`]),St(`onPointerLeave`,[`pointerout`,`pointerover`]),xt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),xt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),xt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),xt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),xt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),xt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var _d=`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(` `),vd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(_d));function yd(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){Jr(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){Jr(e)}i.currentTarget=null,a=c}}}}function Q(e,t){var n=t[ct];n===void 0&&(n=t[ct]=new Set);var r=e+`__bubble`;n.has(r)||(Cd(t,e,2,!1),n.add(r))}function bd(e,t,n){var r=0;t&&(r|=4),Cd(n,e,r,t)}var xd=`_reactListening`+Math.random().toString(36).slice(2);function Sd(e){if(!e[xd]){e[xd]=!0,yt.forEach(function(t){t!==`selectionchange`&&(vd.has(t)||bd(t,!1,e),bd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xd]||(t[xd]=!0,bd(`selectionchange`,!1,t))}}function Cd(e,t,n,r){switch(mp(t)){case 2:var i=cp;break;case 8:i=lp;break;default:i=up}n=i.bind(null,t,n,e),i=void 0,!ln||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 wd(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=mt(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}on(function(){var r=a,i=en(n),s=[];a:{var c=Gr.get(e);if(c!==void 0){var l=bn,u=e;switch(e){case`keypress`:if(hn(n)===0)break a;case`keydown`:case`keyup`:l=Rn;break;case`focusin`:u=`focus`,l=kn;break;case`focusout`:u=`blur`,l=kn;break;case`beforeblur`:case`afterblur`:l=kn;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=Dn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=On;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Bn;break;case Rr:case zr:case Br:l=An;break;case Wr:l=Vn;break;case`scroll`:case`scrollend`:l=Sn;break;case`wheel`:l=Hn;break;case`copy`:case`cut`:case`paste`:l=jn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=zn;break;case`toggle`:case`beforetoggle`:l=Un}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=sn(m,p),g!=null&&d.push(Td(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!==$t&&(u=n.relatedTarget||n.fromElement)&&(mt(u)||u[st]))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?mt(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=Dn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=zn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:gt(l),h=u==null?c:gt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,mt(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=Dd,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&&Od(s,c,l,d,!1),u!==null&&f!==null&&Od(s,f,u,d,!0)}}a:{if(c=r?gt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=cr;else if(nr(c))if(lr)v=vr;else{v=gr;var y=hr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Jt(r.elementType)&&(v=cr):v=_r;if(v&&=v(e,r)){rr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Bt(c,`number`,c.value)}switch(y=r?gt(r):window,e){case`focusin`:(nr(y)||y.contentEditable===`true`)&&(Or=y,kr=r,Ar=null);break;case`focusout`:Ar=kr=Or=null;break;case`mousedown`:jr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:jr=!1,Mr(s,n,i);break;case`selectionchange`:if(Dr)break;case`keydown`:case`keyup`:Mr(s,n,i)}var b;if(Gn)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 Qn?Xn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(qn&&n.locale!==`ko`&&(Qn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Qn&&(b=mn()):(dn=i,fn=`value`in dn?dn.value:dn.textContent,Qn=!0)),y=Ed(r,x),0<y.length&&(x=new Mn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Zn(n),b!==null&&(x.data=b)))),(b=B?$n(e,n):er(e,n))&&(x=Ed(r,`onBeforeInput`),0<x.length&&(y=new Mn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),hd(s,e,r,n,i)}yd(s,t)})}function Td(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ed(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=sn(e,n),i!=null&&r.unshift(Td(e,i,a)),i=sn(e,t),i!=null&&r.push(Td(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Dd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Od(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=sn(n,a),l!=null&&o.unshift(Td(n,l,c))):i||(l=sn(n,a),l!=null&&o.push(Td(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var kd=/\r\n?/g,Ad=/\u0000|\uFFFD/g;function jd(e){return(typeof e==`string`?e:``+e).replace(kd,`
`).replace(Ad,``)}function Md(e,t){return t=jd(t),jd(e)===t}function Nd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Wt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Wt(e,``+r);break;case`className`:Ot(e,`class`,r);break;case`tabIndex`:Ot(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Ot(e,n,r);break;case`style`:qt(e,r,o);break;case`data`:if(t!==`object`){Ot(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=Zt(``+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`&&Nd(e,t,`name`,a.name,a,null),Nd(e,t,`formEncType`,a.formEncType,a,null),Nd(e,t,`formMethod`,a.formMethod,a,null),Nd(e,t,`formTarget`,a.formTarget,a,null)):(Nd(e,t,`encType`,a.encType,a,null),Nd(e,t,`method`,a.method,a,null),Nd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Zt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Qt);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`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=Zt(``+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`:Q(`beforetoggle`,e),Q(`toggle`,e),Dt(e,`popover`,r);break;case`xlinkActuate`:kt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:kt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:kt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:kt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:kt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:kt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:kt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:kt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:kt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Dt(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=Yt.get(n)||n,Dt(e,n,r))}}function Pd(e,t,n,r,a,o){switch(n){case`style`:qt(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`?Wt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Wt(e,``+r);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Qt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!bt.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[ot]||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,``):Dt(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`:Q(`error`,e),Q(`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:Nd(e,t,o,s,n,null)}}a&&Nd(e,t,`srcSet`,n.srcSet,n,null),r&&Nd(e,t,`src`,n.src,n,null);return;case`input`:Q(`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:Nd(e,t,r,d,n,null)}}zt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Q(`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:Nd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Vt(e,!!r,n,!0):Vt(e,!!r,t,!1);return;case`textarea`:for(s in Q(`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:Nd(e,t,s,c,n,null)}Ut(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:Nd(e,t,l,r,n,null)}return;case`dialog`:Q(`beforetoggle`,e),Q(`toggle`,e),Q(`cancel`,e),Q(`close`,e);break;case`iframe`:case`object`:Q(`load`,e);break;case`video`:case`audio`:for(r=0;r<_d.length;r++)Q(_d[r],e);break;case`image`:Q(`error`,e),Q(`load`,e);break;case`details`:Q(`toggle`,e);break;case`embed`:case`source`:case`link`:Q(`error`,e),Q(`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:Nd(e,t,u,r,n,null)}return;default:if(Jt(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&&Nd(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)||Nd(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&&Nd(e,t,p,m,r,f)}}Rt(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)||Nd(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&&Nd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Vt(e,!!n,n?[]:``,!1):Vt(e,!!n,t,!0)):Vt(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:Nd(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&&Nd(e,t,s,a,r,o)}Ht(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:Nd(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:Nd(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)&&Nd(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:Nd(e,t,u,p,r,m)}return;default:if(Jt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Pd(e,t,_,void 0,r,p);for(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)&&Nd(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||Nd(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),Np(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[ft]||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);Np(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),pt(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[ft])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(;e.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]);pt(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=F.d;F.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=ht(e);t!==null&&t.tag===5&&t.type===`form`?Ts(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=Lt(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),vt(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="`+Lt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Lt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Lt(n.imageSizes)+`"]`)):i+=`[href="`+Lt(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),vt(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="`+Lt(r)+`"][href="`+Lt(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),vt(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=_t(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`);vt(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=_t(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`),vt(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=_t(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`),vt(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=le.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=_t(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=_t(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=_t(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="`+Lt(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),vt(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Lt(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~="`+Lt(n.href)+`"]`);if(r)return t.instance=r,vt(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`),vt(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,vt(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),vt(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,vt(a),a):(r=n,(a=hf.get(o))&&(r=f({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),vt(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[ft]||a[at]||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,vt(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),vt(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:ne,_currentValue2:ne,_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=Je(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Je(0),this.hiddenUpdates=Je(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=oi(3,null,null,t),e.current=a,a.stateNode=e,t=oa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ra(a),e}function np(e){return e?(e=ii,e):ii}function $(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=Ba(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Va(e,r,t),n!==null&&(gu(n,e,t),Ha(n,e,t))}function rp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ip(e,t){rp(e,t),(e=e.alternate)&&rp(e,t)}function ap(e){if(e.tag===13||e.tag===31){var t=ti(e,67108864);t!==null&&gu(t,e,67108864),ip(e,67108864)}}function op(e){if(e.tag===13||e.tag===31){var t=mu();t=et(t);var n=ti(e,t);n!==null&&gu(n,e,t),ip(e,t)}}var sp=!0;function cp(e,t,n,r){var i=P.T;P.T=null;var a=F.p;try{F.p=2,up(e,t,n,r)}finally{F.p=a,P.T=i}}function lp(e,t,n,r){var i=P.T;P.T=null;var a=F.p;try{F.p=8,up(e,t,n,r)}finally{F.p=a,P.T=i}}function up(e,t,n,r){if(sp){var i=dp(r);if(i===null)wd(e,t,r,fp,n),Cp(e,r);else if(Tp(i,e,t,n,r))r.stopPropagation();else if(Cp(e,r),t&4&&-1<Sp.indexOf(e)){for(;i!==null;){var a=ht(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ue(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ie(o);s.entanglements[1]|=c,o&=~c}id(a),!(Il&6)&&(ru=Te()+500,ad(0,!1))}}break;case 31:case 13:s=ti(a,2),s!==null&&gu(s,a,2),xu(),ip(a,2)}if(a=dp(r),a===null&&wd(e,t,r,fp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else wd(e,t,r,null,n)}}function dp(e){return e=en(e),pp(e)}var fp=null;function pp(e){if(fp=null,e=mt(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 fp=e,null}function mp(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(Ee()){case De:return 2;case Oe:return 8;case ke:case Ae:return 32;case je:return 268435456;default:return 32}default:return 32}}var hp=!1,gp=null,_p=null,vp=null,yp=new Map,bp=new Map,xp=[],Sp=`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 Cp(e,t){switch(e){case`focusin`:case`focusout`:gp=null;break;case`dragenter`:case`dragleave`:_p=null;break;case`mouseover`:case`mouseout`:vp=null;break;case`pointerover`:case`pointerout`:yp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:bp.delete(t.pointerId)}}function wp(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=ht(t),t!==null&&ap(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tp(e,t,n,r,i){switch(t){case`focusin`:return gp=wp(gp,e,t,n,r,i),!0;case`dragenter`:return _p=wp(_p,e,t,n,r,i),!0;case`mouseover`:return vp=wp(vp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return yp.set(a,wp(yp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,bp.set(a,wp(bp.get(a)||null,e,t,n,r,i)),!0}return!1}function Ep(e){var t=mt(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,rt(e.priority,function(){op(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,rt(e.priority,function(){op(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 Dp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=dp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);$t=r,n.target.dispatchEvent(r),$t=null}else return t=ht(n),t!==null&&ap(t),e.blockedOn=n,!1;t.shift()}return!0}function Op(e,t,n){Dp(e)&&n.delete(t)}function kp(){hp=!1,gp!==null&&Dp(gp)&&(gp=null),_p!==null&&Dp(_p)&&(_p=null),vp!==null&&Dp(vp)&&(vp=null),yp.forEach(Op),bp.forEach(Op)}function Ap(e,n){e.blockedOn===n&&(e.blockedOn=null,hp||(hp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,kp)))}var jp=null;function Mp(e){jp!==e&&(jp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){jp===e&&(jp=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(pp(r||n)===null)continue;break}var a=ht(n);a!==null&&(e.splice(t,3),t-=3,Cs(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Np(e){function t(t){return Ap(t,e)}gp!==null&&Ap(gp,e),_p!==null&&Ap(_p,e),vp!==null&&Ap(vp,e),yp.forEach(t),bp.forEach(t);for(var n=0;n<xp.length;n++){var r=xp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<xp.length&&(n=xp[0],n.blockedOn===null);)Ep(n),n.blockedOn===null&&xp.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[ot]||null;if(typeof a==`function`)o||Mp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[ot]||null)s=o.formAction;else if(pp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Mp(n)}}}function Pp(){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 Fp(e){this._internalRoot=e}Ip.prototype.render=Fp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;$(n,mu(),e,t,null,null)},Ip.prototype.unmount=Fp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$(e.current,2,null,e,null,null),xu(),t[st]=null}};function Ip(e){this._internalRoot=e}Ip.prototype.unstable_scheduleHydration=function(e){if(e){var t=nt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xp.length&&t!==0&&t<xp[n].priority;n++);xp.splice(n,0,e),n===0&&Ep(e)}};var Lp=n.version;if(Lp!==`19.2.4`)throw Error(i(527,Lp,`19.2.4`));F.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 Rp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:P,reconcilerVersion:`19.2.4`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var zp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zp.isDisabled&&zp.supportsFiber)try{z=zp.inject(Rp),Pe=zp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Ks,s=qs,c=Js;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,Pp),e[st]=t.current,Sd(e),new Fp(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=`modulepreload`,x=function(e){return`/PALNetworks/`+e},S={},C=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=x(t,n),t in S)return;S[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`:b,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{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)})},w=u(p(),1),T=`popstate`;function E(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function D(e={}){function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=N(e.location.hash.substring(1));return!n.startsWith(`/`)&&!n.startsWith(`.`)&&(n=`/`+n),M(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:ee(t))}function r(e,t){k(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}return te(t,n,r,e)}function O(e,t){if(e===!1||e==null)throw Error(t)}function k(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function A(){return Math.random().toString(36).substring(2,10)}function j(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function M(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?N(t):t,state:n,key:t&&t.key||r||A(),unstable_mask:i}}function ee({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 N(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 te(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=E(e)?e:M(h.location,e,t);n&&n(r,e),l=u()+1;let d=j(r,l),f=h.createHref(r.unstable_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=E(e)?e:M(h.location,e,t);n&&n(r,e),l=u();let i=j(r,l),d=h.createHref(r.unstable_mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return P(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(T,d),c=e,()=>{i.removeEventListener(T,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 P(e,t=!1){let n=`http://localhost`;typeof window<`u`&&(n=window.location.origin===`null`?window.location.href:window.location.origin),O(n,`No window.location.(origin|href) available to create URL`);let r=typeof e==`string`?e:ee(e);return r=r.replace(/ $/,`%20`),!t&&r.startsWith(`//`)&&(r=n+r),new URL(r,n)}function F(e,t,n=`/`){return ne(e,t,n,!1)}function ne(e,t,n,r){let i=ve((typeof t==`string`?N(t):t).pathname||`/`,n);if(i==null)return null;let a=ie(e);oe(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=_e(i);o=me(a[e],t,r)}return o}function re(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function ie(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;O(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Ee([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(O(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),ie(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:L(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of ae(e.path))a(e,t,!0,n)}),t}function ae(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=ae(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 oe(e){e.sort((e,t)=>e.score===t.score?pe(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var I=/^:[\w-]+$/,se=3,ce=2,le=1,ue=10,de=-2,fe=e=>e===`*`;function L(e,t){let n=e.split(`/`),r=n.length;return n.some(fe)&&(r+=de),t&&(r+=ce),n.filter(e=>!fe(e)).reduce((e,t)=>e+(I.test(t)?se:t===``?le:ue),r)}function pe(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 me(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=he({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=he({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:Ee([a,u.pathname]),pathnameBase:Oe(Ee([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=Ee([a,u.pathnameBase]))}return o}function he(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ge(e.path,e.caseSensitive,e.end),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 ge(e,t=!1,n=!0){k(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)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function _e(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return k(!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 ve(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var ye=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function be(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?N(e):e,a;return n?(n=Te(n),a=n.startsWith(`/`)?xe(n.substring(1),`/`):xe(n,t)):a=t,{pathname:a,search:ke(r),hash:Ae(i)}}function xe(e,t){let n=De(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function R(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 Se(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Ce(e){let t=Se(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function we(e,t,n,r=!1){let i;typeof e==`string`?i=N(e):(i={...e},O(!i.pathname||!i.pathname.includes(`?`),R(`?`,`pathname`,`search`,i)),O(!i.pathname||!i.pathname.includes(`#`),R(`#`,`pathname`,`hash`,i)),O(!i.search||!i.search.includes(`#`),R(`#`,`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=be(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Te=e=>e.replace(/\/\/+/g,`/`),Ee=e=>Te(e.join(`/`)),De=e=>e.replace(/\/+$/,``),Oe=e=>De(e).replace(/^\/*/,`/`),ke=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Ae=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,je=class{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 Me(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function Ne(e){return Ee(e.map(e=>e.route.path).filter(Boolean))||`/`}var z=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Pe(e,t){let n=e;if(typeof n!=`string`||!ye.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(z)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=ve(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{k(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Fe=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Fe);var Ie=[`GET`,...Fe];new Set(Ie);var Le=w.createContext(null);Le.displayName=`DataRouter`;var Re=w.createContext(null);Re.displayName=`DataRouterState`;var ze=w.createContext(!1);function Be(){return w.useContext(ze)}var Ve=w.createContext({isTransitioning:!1});Ve.displayName=`ViewTransition`;var He=w.createContext(new Map);He.displayName=`Fetchers`;var Ue=w.createContext(null);Ue.displayName=`Await`;var We=w.createContext(null);We.displayName=`Navigation`;var Ge=w.createContext(null);Ge.displayName=`Location`;var Ke=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ke.displayName=`Route`;var qe=w.createContext(null);qe.displayName=`RouteError`;var Je=`REACT_ROUTER_ERROR`,Ye=`REDIRECT`,Xe=`ROUTE_ERROR_RESPONSE`;function Ze(e){if(e.startsWith(`${Je}:${Ye}:{`))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 Qe(e){if(e.startsWith(`${Je}:${Xe}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new je(t.status,t.statusText,t.data)}catch{}}function $e(e,{relative:t}={}){O(et(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=w.useContext(We),{hash:i,pathname:a,search:o}=ct(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:Ee([n,a])),r.createHref({pathname:s,search:o,hash:i})}function et(){return w.useContext(Ge)!=null}function tt(){return O(et(),`useLocation() may be used only in the context of a <Router> component.`),w.useContext(Ge).location}var nt=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function rt(e){w.useContext(We).static||w.useLayoutEffect(e)}function it(){let{isDataRoute:e}=w.useContext(Ke);return e?Dt():at()}function at(){O(et(),`useNavigate() may be used only in the context of a <Router> component.`);let e=w.useContext(Le),{basename:t,navigator:n}=w.useContext(We),{matches:r}=w.useContext(Ke),{pathname:i}=tt(),a=JSON.stringify(Ce(r)),o=w.useRef(!1);return rt(()=>{o.current=!0}),w.useCallback((r,s={})=>{if(k(o.current,nt),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=we(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Ee([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var ot=w.createContext(null);function st(e){let t=w.useContext(Ke).outlet;return w.useMemo(()=>t&&w.createElement(ot.Provider,{value:e},t),[t,e])}function ct(e,{relative:t}={}){let{matches:n}=w.useContext(Ke),{pathname:r}=tt(),i=JSON.stringify(Ce(n));return w.useMemo(()=>we(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function lt(e,t){return ut(e,t)}function ut(e,t,n){O(et(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=w.useContext(We),{matches:i}=w.useContext(Ke),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;kt(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=tt(),d;if(t){let e=typeof t==`string`?N(t):t;O(c===`/`||e.pathname?.startsWith(c),`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 "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=F(e,{pathname:p});k(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),k(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=_t(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Ee([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Ee([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?w.createElement(Ge.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,unstable_mask:void 0,...d},navigationType:`POP`}},h):h}function dt(){let e=Et(),t=Me(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=w.createElement(w.Fragment,null,w.createElement(`p`,null,`💿 Hey developer 👋`),w.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,w.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,w.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),w.createElement(w.Fragment,null,w.createElement(`h2`,null,`Unexpected Application Error!`),w.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?w.createElement(`pre`,{style:i},n):null,o)}var ft=w.createElement(dt,null),pt=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){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=Qe(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:w.createElement(Ke.Provider,{value:this.props.routeContext},w.createElement(qe.Provider,{value:e,children:this.props.component}));return this.context?w.createElement(ht,{error:e},t):t}};pt.contextType=ze;var mt=new WeakMap;function ht({children:e,error:t}){let{basename:n}=w.useContext(We);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Ze(t.digest);if(e){let r=mt.get(t);if(r)throw r;let i=Pe(e.location,n);if(z&&!mt.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw mt.set(t,n),n}return w.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function gt({routeContext:e,match:t,children:n}){let r=w.useContext(Le);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(Ke.Provider,{value:e},n)}function _t(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);O(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??{},unstable_pattern:Ne(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||ft,o&&(s<0&&c===0?(kt(`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?w.createElement(n.route.Component,null):n.route.element?n.route.element:e,w.createElement(gt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?w.createElement(pt,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function vt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yt(e){let t=w.useContext(Le);return O(t,vt(e)),t}function bt(e){let t=w.useContext(Re);return O(t,vt(e)),t}function xt(e){let t=w.useContext(Ke);return O(t,vt(e)),t}function St(e){let t=xt(e),n=t.matches[t.matches.length-1];return O(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ct(){return St(`useRouteId`)}function wt(){return bt(`useNavigation`).navigation}function Tt(){let{matches:e,loaderData:t}=bt(`useMatches`);return w.useMemo(()=>e.map(e=>re(e,t)),[e,t])}function Et(){let e=w.useContext(qe),t=bt(`useRouteError`),n=St(`useRouteError`);return e===void 0?t.errors?.[n]:e}function Dt(){let{router:e}=yt(`useNavigate`),t=St(`useNavigate`),n=w.useRef(!1);return rt(()=>{n.current=!0}),w.useCallback(async(r,i={})=>{k(n.current,nt),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var Ot={};function kt(e,t,n){!t&&!Ot[e]&&(Ot[e]=!0,k(!1,n))}w.useOptimistic,w.memo(At);function At({routes:e,future:t,state:n,isStatic:r,onError:i}){return ut(e,void 0,{state:n,isStatic:r,onError:i,future:t})}function jt({to:e,replace:t,state:n,relative:r}){O(et(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i}=w.useContext(We);k(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:a}=w.useContext(Ke),{pathname:o}=tt(),s=it(),c=we(e,Ce(a),o,r===`path`),l=JSON.stringify(c);return w.useEffect(()=>{s(JSON.parse(l),{replace:t,state:n,relative:r})},[s,l,r,t,n]),null}function Mt(e){return st(e.context)}function Nt(e){O(!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 Pt({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,unstable_useTransitions:o}){O(!et(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=w.useMemo(()=>({basename:s,navigator:i,static:a,unstable_useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=N(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,unstable_mask:m}=n,h=w.useMemo(()=>{let e=ve(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,unstable_mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return k(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:w.createElement(We.Provider,{value:c},w.createElement(Ge.Provider,{children:t,value:h}))}function Ft({children:e,location:t}){return lt(It(e),t)}w.Component;function It(e,t=[]){let n=[];return w.Children.forEach(e,(e,r)=>{if(!w.isValidElement(e))return;let i=[...t,r];if(e.type===w.Fragment){n.push.apply(n,It(e.props.children,i));return}O(e.type===Nt,`[${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>`),O(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=It(e.props.children,i)),n.push(a)}),n}var Lt=`get`,Rt=`application/x-www-form-urlencoded`;function zt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Bt(e){return zt(e)&&e.tagName.toLowerCase()===`button`}function Vt(e){return zt(e)&&e.tagName.toLowerCase()===`form`}function Ht(e){return zt(e)&&e.tagName.toLowerCase()===`input`}function Ut(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Wt(e,t){return e.button===0&&(!t||t===`_self`)&&!Ut(e)}var Gt=null;function Kt(){if(Gt===null)try{new FormData(document.createElement(`form`),0),Gt=!1}catch{Gt=!0}return Gt}var qt=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Jt(e){return e!=null&&!qt.has(e)?(k(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Rt}"`),null):e}function Yt(e,t){let n,r,i,a,o;if(Vt(e)){let o=e.getAttribute(`action`);r=o?ve(o,t):null,n=e.getAttribute(`method`)||Lt,i=Jt(e.getAttribute(`enctype`))||Rt,a=new FormData(e)}else if(Bt(e)||Ht(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?ve(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Lt,i=Jt(e.getAttribute(`formenctype`))||Jt(o.getAttribute(`enctype`))||Rt,a=new FormData(o,e),!Kt()){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(zt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Lt,r=null,i=Rt,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Xt={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},Zt=/[&><\u2028\u2029]/g;function Qt(e){return e.replace(Zt,e=>Xt[e])}function $t(e,t){if(e===!1||e==null)throw Error(t)}function en(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&ve(i.pathname,t)===`/`?i.pathname=`${De(t)}/_root.${r}`:i.pathname=`${De(i.pathname)}.${r}`,i}async function tn(e,t){if(e.id in t)return t[e.id];try{let n=await C(()=>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 nn(e){return e!=null&&typeof e.page==`string`}function rn(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 an(e,t,n){return un((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await tn(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(rn).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function on(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 sn(e,t,{includeHydrateFallback:n}={}){return cn(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 cn(e){return[...new Set(e)]}function ln(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function un(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!nn(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(ln(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function dn(){let e=w.useContext(Le);return $t(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function fn(){let e=w.useContext(Re);return $t(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var pn=w.createContext(void 0);pn.displayName=`FrameworkContext`;function mn(){let e=w.useContext(pn);return $t(e,`You must render this element inside a <HydratedRouter> element`),e}function hn(e,t){let n=w.useContext(pn),[r,i]=w.useState(!1),[a,o]=w.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=w.useRef(null);w.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]),w.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:gn(s,p),onBlur:gn(c,m),onMouseEnter:gn(l,p),onMouseLeave:gn(u,m),onTouchStart:gn(d,p)}]:[a,f,{}]:[!1,f,{}]}function gn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function _n({page:e,...t}){let n=Be(),{router:r}=dn(),i=w.useMemo(()=>F(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?w.createElement(yn,{page:e,matches:i,...t}):w.createElement(bn,{page:e,matches:i,...t}):null}function vn(e){let{manifest:t,routeModules:n}=mn(),[r,i]=w.useState([]);return w.useEffect(()=>{let r=!1;return an(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function yn({page:e,matches:t,...n}){let r=tt(),{future:i}=mn(),{basename:a}=dn(),o=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=en(e,a,i.unstable_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.unstable_trailingSlashAwareDataRequests,e,r,t]);return w.createElement(w.Fragment,null,o.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function bn({page:e,matches:t,...n}){let r=tt(),{future:i,manifest:a,routeModules:o}=mn(),{basename:s}=dn(),{loaderData:c,matches:l}=fn(),u=w.useMemo(()=>on(e,t,l,a,r,`data`),[e,t,l,a,r]),d=w.useMemo(()=>on(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=en(e,s,i.unstable_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.unstable_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=w.useMemo(()=>sn(d,a),[d,a]),m=vn(d);return w.createElement(w.Fragment,null,f.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>w.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>w.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function xn(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}w.Component;var Sn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Sn&&(window.__reactRouterVersion=`7.14.1`)}catch{}function Cn({basename:e,children:t,unstable_useTransitions:n,window:r}){let i=w.useRef();i.current??=D({window:r,v5Compat:!0});let a=i.current,[o,s]=w.useState({action:a.action,location:a.location}),c=w.useCallback(e=>{n===!1?s(e):w.startTransition(()=>s(e))},[n]);return w.useLayoutEffect(()=>a.listen(c),[a,c]),w.createElement(Pt,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,unstable_useTransitions:n})}function wn({basename:e,children:t,history:n,unstable_useTransitions:r}){let[i,a]=w.useState({action:n.action,location:n.location}),o=w.useCallback(e=>{r===!1?a(e):w.startTransition(()=>a(e))},[r]);return w.useLayoutEffect(()=>n.listen(o),[n,o]),w.createElement(Pt,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,unstable_useTransitions:r})}wn.displayName=`unstable_HistoryRouter`;var Tn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,En=w.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,unstable_mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,unstable_useTransitions:_}=w.useContext(We),v=typeof l==`string`&&Tn.test(l),y=Pe(l,h);l=y.to;let b=$e(l,{relative:r}),x=tt(),S=null;if(o){let e=we(o,[],x.unstable_mask?x.unstable_mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Ee([h,e.pathname])),S=g.createHref(e)}let[C,T,E]=hn(n,p),D=Nn(l,{replace:a,unstable_mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,unstable_defaultShouldRevalidate:f,unstable_useTransitions:_});function O(t){e&&e(t),t.defaultPrevented||D(t)}let k=!(y.isExternal||i),A=w.createElement(`a`,{...p,...E,href:(k?S:void 0)||y.absoluteURL||b,onClick:k?O:e,ref:xn(m,T),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?w.createElement(w.Fragment,null,A,w.createElement(_n,{page:b})):A});En.displayName=`Link`;var Dn=w.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=ct(a,{relative:c.relative}),d=tt(),f=w.useContext(Re),{navigator:p,basename:m}=w.useContext(We),h=f!=null&&Un(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=ve(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(g.length)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,T;T=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let E=typeof i==`function`?i(S):i;return w.createElement(En,{...c,"aria-current":C,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(S):s)});Dn.displayName=`NavLink`;var On=w.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=Lt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m)=>{let{unstable_useTransitions:h}=w.useContext(We),g=In(),_=Ln(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&Tn.test(s);return w.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,unstable_defaultShouldRevalidate:f});h&&n!==!1?w.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});On.displayName=`Form`;function kn({getKey:e,storageKey:t,...n}){let r=w.useContext(pn),{basename:i}=w.useContext(We),a=tt(),o=Tt();Vn({getKey:e,storageKey:t});let s=w.useMemo(()=>{if(!r||!e)return null;let t=Bn(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];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return w.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${Qt(JSON.stringify(t||Rn))}, ${Qt(JSON.stringify(s))})`}})}kn.displayName=`ScrollRestoration`;function An(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jn(e){let t=w.useContext(Le);return O(t,An(e)),t}function Mn(e){let t=w.useContext(Re);return O(t,An(e)),t}function Nn(e,{target:t,replace:n,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c,unstable_useTransitions:l}={}){let u=it(),d=tt(),f=ct(e,{relative:o});return w.useCallback(p=>{if(Wt(p,t)){p.preventDefault();let t=n===void 0?ee(d)===ee(f):n,m=()=>u(e,{replace:t,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c});l?w.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var Pn=0,Fn=()=>`__${String(++Pn)}__`;function In(){let{router:e}=jn(`useSubmit`),{basename:t}=w.useContext(We),n=Ct(),r=e.fetch,i=e.navigate;return w.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=Yt(e,t);a.navigate===!1?await r(a.fetcherKey||Fn(),n,a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{unstable_defaultShouldRevalidate:a.unstable_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 Ln(e,{relative:t}={}){let{basename:n}=w.useContext(We),r=w.useContext(Ke);O(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...ct(e||`.`,{relative:t})},o=tt();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:Ee([n,a.pathname])),ee(a)}var Rn=`react-router-scroll-positions`,zn={};function Bn(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:ve(e.pathname,n)||e.pathname},t)),i??=e.key,i}function Vn({getKey:e,storageKey:t}={}){let{router:n}=jn(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=Mn(`useScrollRestoration`),{basename:a}=w.useContext(We),o=tt(),s=Tt(),c=wt();w.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),Hn(w.useCallback(()=>{if(c.state===`idle`){let t=Bn(o,s,a,e);zn[t]=window.scrollY}try{sessionStorage.setItem(t||Rn,JSON.stringify(zn))}catch(e){k(!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`&&(w.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||Rn);e&&(zn=JSON.parse(e))}catch{}},[t]),w.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(zn,()=>window.scrollY,e?(t,n)=>Bn(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),w.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{k(!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 Hn(e,t){let{capture:n}=t||{};w.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function Un(e,{relative:t}={}){let n=w.useContext(Ve);O(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=jn(`useViewTransitionState`),i=ct(e,{relative:t});if(!n.isTransitioning)return!1;let a=ve(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=ve(n.nextLocation.pathname,r)||n.nextLocation.pathname;return he(i.pathname,o)!=null||he(i.pathname,a)!=null}var Wn=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})),Gn=s(((e,t)=>{t.exports=Wn()})),Kn=u(y(),1),B=Gn(),qn=[{key:`company`,label:`Company`,to:`/company`,panelTitle:`PAL Networks`,panelDesc:`회사 소개와 비전, 연혁, 파트너십 정보를 확인할 수 있습니다.`,sections:[{title:`회사 소개`,items:[{label:`회사소개`,to:`/company/about`,desc:`기업 철학과 핵심 가치`},{label:`연혁`,to:`/company/history`,desc:`주요 실적과 성장 과정`}]},{title:`신뢰 정보`,items:[{label:`고객 및 협력사`,to:`/company/partners`,desc:`주요 고객과 협력 네트워크`},{label:`찾아오시는 길`,to:`/company/location`,desc:`위치 및 연락처 안내`}]}],featured:{eyebrow:`About Us`,title:`신뢰를 기반으로
항공·플랫폼 기술을 확장합니다.`,cta:{label:`회사소개 보기`,to:`/company`}}},{key:`uam`,label:`UAM/UATM`,to:`/uam`,panelTitle:`UAM / UATM`,panelDesc:`도심 항공 모빌리티와 통합 항공 교통 관리 기술을 소개합니다.`,sections:[{title:`기술 소개`,items:[{label:`UAM/UATM 소개`,to:`/uam/intro`,desc:`도심 항공 모빌리티 핵심 기술`},{label:`도입사례`,to:`/uam/case`,desc:`주요 도입 및 운영 사례`}]}],featured:{eyebrow:`Advanced Air Mobility`,title:`안전한 하늘길,
기술로 완성합니다.`,text:`PAL Networks의 UAM·UATM 기술은 도심 상공의 안전 운항과 통합 관제를 실현합니다.`,cta:{label:`UAM/UATM 보기`,to:`/uam`}}},{key:`business`,label:`Business`,to:`/business`,panelTitle:`Business Area`,panelDesc:`구축부터 운영까지, PAL Networks의 종합 IT 서비스 역량을 소개합니다.`,sections:[{title:`구축 · 개발`,items:[{label:`System Integration`,to:`/business/si`,desc:`맞춤형 정보시스템 구축`},{label:`R&D`,to:`/business/rnd`,desc:`연구 개발 및 기술 고도화`}]},{title:`운영 · 지원`,items:[{label:`운영 · 유지보수`,to:`/business/maintenance`,desc:`안정적인 시스템 운영과 사후 관리`}]}],featured:{eyebrow:`Core Capability`,title:`구축에서 운영까지,
끝까지 책임지는 파트너.`,text:`단순 납품이 아닌 장기 파트너십으로, 고객 시스템의 안정적 운영을 함께합니다.`,cta:{label:`사업영역 보기`,to:`/business`}}},{key:`solution`,label:`Solution`,to:`/solution`,panelTitle:`Solution & Service`,panelDesc:`산업별 솔루션과 서비스 포트폴리오를 확인하실 수 있습니다.`,sections:[{title:`운영 솔루션`,items:[{label:`비행상황관리 시스템`,to:`/solution/flight-control`,desc:`실시간 비행 상황 통합 관제`},{label:`IBE (Internet Booking Engine)`,to:`/solution/ibe`,desc:`항공 예약·발권 엔진`}]},{title:`플랫폼 · 인프라`,items:[{label:`스마트 관광 예약 플랫폼`,to:`/solution/smart-tour`,desc:`관광 예약 통합 운영 플랫폼`},{label:`KT G-cloud 인천총판`,to:`/solution/kt-gcloud`,desc:`공공 클라우드 인프라 공급`}]}],featured:{eyebrow:`Scalable Solutions`,title:`검증된 솔루션으로
비즈니스 가치를 만듭니다.`,text:`운영 노하우가 축적된 자체 솔루션과 파트너십 기반 인프라를 함께 제공합니다.`,cta:{label:`솔루션 보기`,to:`/solution`}}},{key:`contact`,label:`Contact Us`,to:`/contact`,panelTitle:`Contact Us`,panelDesc:`프로젝트 문의와 인재 채용 정보를 확인하실 수 있습니다.`,sections:[{title:`문의 및 채용`,items:[{label:`문의하기`,to:`/contact/inquiry`,desc:`프로젝트 및 협업 문의`},{label:`채용정보`,to:`/contact/recruit`,desc:`함께할 동료를 찾습니다`}]}],featured:{eyebrow:`Get in Touch`,title:`함께 만들어갈
파트너를 기다립니다.`,text:`프로젝트 협업이든 커리어든, 편하게 연락 주세요.`,cta:{label:`문의 바로가기`,to:`/contact/inquiry`}}}];function Jn(){let[e,t]=(0,w.useState)(null),[n,r]=(0,w.useState)(!1),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(!1),[c,l]=(0,w.useState)(!1),[u,d]=(0,w.useState)(null),f=(0,w.useRef)(null),p=(0,w.useRef)({}),m=(0,w.useRef)(null),h=qn.find(t=>t.key===e),g=!!(h&&!h.simple&&n);(0,w.useEffect)(()=>{let e=()=>{let e=window.pageYOffset||document.documentElement.scrollTop||0,t=document.body.classList.contains(`is-dark-hero`);s(t),a(!t&&e>80)};e();let t=new MutationObserver(()=>{e()});return t.observe(document.body,{attributes:!0,attributeFilter:[`class`]}),window.addEventListener(`scroll`,e,{passive:!0}),()=>{t.disconnect(),window.removeEventListener(`scroll`,e)}},[]),(0,w.useEffect)(()=>()=>{f.current&&clearTimeout(f.current)},[]),(0,w.useEffect)(()=>{if(c){document.body.style.overflow=`hidden`;let e=setTimeout(()=>{m.current?.focus()},50);return()=>{clearTimeout(e),document.body.style.overflow=``}}return document.body.style.overflow=``,()=>{document.body.style.overflow=``}},[c]);let _=()=>{f.current&&clearTimeout(f.current)},v=e=>{_(),r(!0),t(e)},y=()=>{_(),f.current=setTimeout(()=>{r(!1),t(null)},120)},b=()=>{r(!1),t(null)},x=()=>{l(!1),d(null)},S=()=>{b(),x()},C=()=>{l(e=>!e)},T=e=>{d(t=>t===e?null:e)},E=(e,t,n)=>{if(e.key===`ArrowRight`){let e=qn[t+1]||qn[0];p.current[e.key]?.focus()}if(e.key===`ArrowLeft`){let e=qn[t-1]||qn[qn.length-1];p.current[e.key]?.focus()}e.key===`ArrowDown`&&!n.simple&&(e.preventDefault(),v(n.key)),e.key===`Escape`&&y()};return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`header`,{className:`pal-header ${i?`is-scrolled`:``} ${g?`is-open`:``} ${c?`is-mobile-open`:``}`,onMouseEnter:_,onMouseLeave:y,children:[(0,B.jsxs)(`div`,{className:`pal-header-inner`,children:[(0,B.jsx)(`h1`,{className:`pal-header-logo`,children:(0,B.jsx)(En,{to:`/main`,onClick:S,children:(0,B.jsx)(`img`,{src:i||g||c||!o?`./images/pal_logo.png`:`./images/pal_logo_wh.png`,alt:`PAL Networks`})})}),(0,B.jsx)(`nav`,{className:`pal-gnb`,"aria-label":`Primary Navigation`,children:(0,B.jsx)(`ul`,{className:`pal-gnb-depth1`,children:qn.map((t,n)=>{let r=e===t.key;return(0,B.jsx)(`li`,{className:`pal-gnb-item ${r?`is-active`:``}`,onMouseEnter:()=>{t.simple?(_(),b()):v(t.key)},children:t.simple?(0,B.jsxs)(Dn,{to:t.to,className:`pal-gnb-link`,ref:e=>{p.current[t.key]=e},onClick:S,onFocus:()=>{b()},onKeyDown:e=>E(e,n,t),children:[(0,B.jsx)(`span`,{className:`pal-gnb-link-text`,children:t.label}),(0,B.jsx)(`span`,{className:`pal-gnb-link-line`})]}):(0,B.jsxs)(`button`,{type:`button`,className:`pal-gnb-link`,ref:e=>{p.current[t.key]=e},"aria-expanded":r,"aria-haspopup":`true`,onFocus:()=>v(t.key),onClick:()=>v(t.key),onKeyDown:e=>E(e,n,t),children:[(0,B.jsx)(`span`,{className:`pal-gnb-link-text`,children:t.label}),(0,B.jsx)(`span`,{className:`pal-gnb-link-line`})]})},t.key)})})}),(0,B.jsxs)(`div`,{className:`pal-header-util`,children:[(0,B.jsxs)(`div`,{className:`pal-header-lang`,role:`group`,"aria-label":`언어 선택`,children:[(0,B.jsx)(`button`,{type:`button`,className:`pal-header-lang-btn is-active`,"aria-pressed":`true`,children:`KOR`}),(0,B.jsx)(`button`,{type:`button`,className:`pal-header-lang-btn`,"aria-pressed":`false`,children:`ENG`})]}),(0,B.jsxs)(`button`,{type:`button`,className:`pal-header-hamburger ${c?`is-active`:``}`,"aria-label":c?`모바일 메뉴 닫기`:`모바일 메뉴 열기`,"aria-expanded":c,"aria-controls":`pal-mobile-menu`,onClick:C,children:[(0,B.jsx)(`span`,{}),(0,B.jsx)(`span`,{}),(0,B.jsx)(`span`,{})]})]})]}),(0,B.jsx)(`div`,{className:`pal-mega-panel ${g?`is-visible`:``}`,onMouseEnter:()=>{_(),r(!0)},onMouseLeave:y,children:h&&!h.simple&&(0,B.jsxs)(`div`,{className:`pal-mega-panel-inner`,children:[(0,B.jsxs)(`div`,{className:`pal-mega-panel-intro`,children:[(0,B.jsx)(`span`,{className:`pal-mega-panel-eyebrow`,children:h.panelTitle}),(0,B.jsx)(`h2`,{children:h.featured.title}),(0,B.jsx)(`p`,{children:h.featured.text}),(0,B.jsx)(En,{to:h.featured.cta.to,className:`pal-mega-panel-cta`,onClick:S,children:h.featured.cta.label})]}),(0,B.jsxs)(`div`,{className:`pal-mega-panel-content`,children:[(0,B.jsxs)(`div`,{className:`pal-mega-panel-top`,children:[(0,B.jsx)(`strong`,{children:h.panelTitle}),(0,B.jsx)(`p`,{children:h.panelDesc})]}),(0,B.jsx)(`div`,{className:`pal-mega-panel-grid`,children:h.sections.map(e=>(0,B.jsxs)(`div`,{className:`pal-mega-section`,children:[(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`ul`,{children:e.items.map(e=>(0,B.jsx)(`li`,{children:(0,B.jsxs)(En,{to:e.to,className:`pal-mega-item`,onClick:S,children:[(0,B.jsx)(`span`,{className:`pal-mega-item-title`,children:e.label}),(0,B.jsx)(`span`,{className:`pal-mega-item-desc`,children:e.desc})]})},e.label))})]},e.title))})]})]})})]}),(0,B.jsx)(`button`,{type:`button`,className:`pal-header-dim ${g?`is-visible`:``}`,"aria-label":`메뉴 닫기`,onClick:b}),(0,B.jsx)(`div`,{className:`pal-mobile-dim ${c?`is-visible`:``}`,onClick:S}),(0,B.jsxs)(`aside`,{id:`pal-mobile-menu`,className:`pal-mobile-menu ${c?`is-open`:``}`,"aria-hidden":!c,children:[(0,B.jsxs)(`div`,{className:`pal-mobile-menu-head`,children:[(0,B.jsx)(`strong`,{children:`MENU`}),(0,B.jsxs)(`button`,{type:`button`,className:`pal-mobile-menu-close`,"aria-label":`모바일 메뉴 닫기`,onClick:S,ref:m,children:[(0,B.jsx)(`span`,{}),(0,B.jsx)(`span`,{})]})]}),(0,B.jsxs)(`div`,{className:`pal-mobile-menu-body`,children:[(0,B.jsx)(`ul`,{className:`pal-mobile-nav`,children:qn.map(e=>{let t=u===e.key;return(0,B.jsx)(`li`,{className:`pal-mobile-nav-item ${t?`is-open`:``}`,children:e.simple?(0,B.jsx)(En,{to:e.to,className:`pal-mobile-nav-link`,onClick:S,children:(0,B.jsx)(`span`,{children:e.label})}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`button`,{type:`button`,className:`pal-mobile-nav-toggle`,onClick:()=>T(e.key),"aria-expanded":t,children:[(0,B.jsx)(`span`,{children:e.label}),(0,B.jsx)(`i`,{className:`pal-mobile-nav-arrow`})]}),(0,B.jsxs)(`div`,{className:`pal-mobile-submenu`,children:[e.sections.map(e=>(0,B.jsxs)(`div`,{className:`pal-mobile-submenu-group`,children:[(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`ul`,{children:e.items.map(e=>(0,B.jsx)(`li`,{children:(0,B.jsxs)(En,{to:e.to,className:`pal-mobile-submenu-link`,onClick:S,children:[(0,B.jsx)(`strong`,{children:e.label}),(0,B.jsx)(`p`,{children:e.desc})]})},e.label))})]},e.title)),(0,B.jsxs)(En,{to:e.featured.cta.to,className:`pal-mobile-featured-link`,onClick:S,children:[(0,B.jsx)(`span`,{children:e.featured.eyebrow}),(0,B.jsx)(`strong`,{children:e.featured.cta.label})]})]})]})},e.key)})}),(0,B.jsxs)(`div`,{className:`pal-mobile-lang`,children:[(0,B.jsx)(`span`,{className:`pal-mobile-lang-label`,children:`Language`}),(0,B.jsxs)(`div`,{className:`pal-mobile-lang-toggle`,role:`group`,"aria-label":`언어 선택`,children:[(0,B.jsx)(`button`,{type:`button`,className:`pal-mobile-lang-btn is-active`,"aria-pressed":`true`,children:`KOR`}),(0,B.jsx)(`button`,{type:`button`,className:`pal-mobile-lang-btn`,"aria-pressed":`false`,children:`ENG`})]})]}),(0,B.jsxs)(`div`,{className:`pal-mobile-contact-box`,children:[(0,B.jsx)(`p`,{children:`프로젝트 문의 및 협업 상담이 필요하시면 연락해 주세요.`}),(0,B.jsx)(En,{to:`/contact`,className:`pal-mobile-contact-link`,onClick:S,children:`Contact Us`})]})]})]})]})}var Yn=[{title:`COMPANY`,items:[{label:`회사소개`,to:`/company/about`},{label:`연혁`,to:`/company/history`},{label:`고객 및 협력사`,to:`/company/partners`},{label:`찾아오시는 길`,to:`/company/location`}]},{title:`UAM/UATM`,items:[{label:`소개`,to:`/uam/intro`},{label:`도입사례`,to:`/uam/case`}]},{title:`BUSINESS`,items:[{label:`System Integration`,to:`/business/si`},{label:`R&D`,to:`/business/rnd`},{label:`운영 · 유지보수`,to:`/business/maintenance`}]},{title:`SOLUTION`,items:[{label:`비행상황관리 시스템`,to:`/solution/flight-control`},{label:`IBE`,to:`/solution/ibe`},{label:`스마트 관광 예약`,to:`/solution/smart-tour`},{label:`KT G-cloud 인천총판`,to:`/solution/kt-gcloud`}]},{title:`CONTACT`,items:[{label:`문의하기`,to:`/contact/inquiry`},{label:`채용정보`,to:`/contact/recruit`}]}];function Xn(){return(0,B.jsx)(`footer`,{className:`site-footer`,children:(0,B.jsxs)(`div`,{className:`footer-inner`,children:[(0,B.jsxs)(`div`,{className:`footer-top`,children:[(0,B.jsx)(`div`,{className:`footer-brand`,children:(0,B.jsx)(En,{to:`/main`,className:`footer-logo`,children:(0,B.jsx)(`img`,{src:`./images/pal_logo_wh.png`,alt:`PAL Networks`})})}),(0,B.jsx)(`nav`,{className:`footer-nav`,"aria-label":`Footer Navigation`,children:Yn.map(e=>(0,B.jsxs)(`div`,{className:`footer-nav-group`,children:[(0,B.jsx)(`h5`,{children:e.title}),(0,B.jsx)(`ul`,{children:e.items.map(e=>(0,B.jsx)(`li`,{children:(0,B.jsx)(En,{to:e.to,children:e.label})},e.label))})]},e.title))})]}),(0,B.jsx)(`div`,{className:`footer-mid`,children:(0,B.jsxs)(`div`,{className:`footer-info`,children:[(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`span`,{className:`info-item strong`,children:`(주) PALNETWORKS`}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsx)(`span`,{className:`info-item`,children:`대표. 최현식`}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsx)(`span`,{className:`info-item`,children:`사업자등록번호. 393-81-00110`})]}),(0,B.jsx)(`p`,{children:(0,B.jsx)(`span`,{className:`info-item`,children:`인천광역시 서구 로봇랜드로 155-11 로봇랜드 14층 1401~2호`})}),(0,B.jsxs)(`p`,{children:[(0,B.jsxs)(`span`,{className:`info-item`,children:[(0,B.jsx)(`span`,{className:`strong`,children:`TEL.`}),` 032-727-5909`]}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsxs)(`span`,{className:`info-item`,children:[(0,B.jsx)(`span`,{className:`strong`,children:`FAX.`}),` 032-727-5908`]}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsxs)(`span`,{className:`info-item`,children:[(0,B.jsx)(`span`,{className:`strong`,children:`E-mail.`}),` `,(0,B.jsx)(`a`,{href:`mailto:help@palnet.co.kr`,children:`help@palnet.co.kr`})]})]})]})}),(0,B.jsxs)(`div`,{className:`footer-bot`,children:[(0,B.jsx)(`p`,{className:`footer-copy`,children:`Copyright © (주) PALNETWORKS. All rights reserved.`}),(0,B.jsxs)(`ul`,{className:`footer-policy`,children:[(0,B.jsx)(`li`,{children:(0,B.jsx)(`a`,{href:`#none`,children:`Privacy Policy`})}),(0,B.jsx)(`li`,{children:(0,B.jsx)(`a`,{href:`#none`,children:`Terms of Use`})})]})]})]})})}function Zn(){return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Jn,{}),(0,B.jsx)(`main`,{className:`main-layout`,children:(0,B.jsx)(Mt,{})}),(0,B.jsx)(Xn,{})]})}function Qn(){return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Jn,{}),(0,B.jsx)(`main`,{className:`sub-layout`,children:(0,B.jsx)(Mt,{})}),(0,B.jsx)(Xn,{})]})}function $n(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function er(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var tr={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},nr={duration:.5,overwrite:!1,delay:0},rr,ir,ar,or=1e8,sr=1/or,cr=Math.PI*2,lr=cr/4,ur=0,dr=Math.sqrt,fr=Math.cos,pr=Math.sin,mr=function(e){return typeof e==`string`},hr=function(e){return typeof e==`function`},gr=function(e){return typeof e==`number`},_r=function(e){return e===void 0},vr=function(e){return typeof e==`object`},yr=function(e){return e!==!1},br=function(){return typeof window<`u`},xr=function(e){return hr(e)||mr(e)},Sr=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},Cr=Array.isArray,wr=/random\([^)]+\)/g,Tr=/,\s*/g,Er=/(?:-?\.?\d|\.)+/gi,Dr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Or=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,kr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ar=/[+-]=-?[.\d]+/,jr=/[^,'"\[\]\s]+/gi,Mr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Nr,Pr,Fr,Ir,Lr={},Rr={},zr,Br=function(e){return(Rr=vi(e,Lr))&&Po},Vr=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Hr=function(e,t){return!t&&console.warn(e)},Ur=function(e,t){return e&&(Lr[e]=t)&&Rr&&(Rr[e]=t)||Lr},Wr=function(){return 0},Gr={suppressEvents:!0,isStart:!0,kill:!1},Kr={suppressEvents:!0,kill:!1},qr={suppressEvents:!0},Jr={},Yr=[],Xr={},Zr,Qr={},$r={},ei=30,ti=[],ni=``,ri=function(e){var t=e[0],n,r;if(vr(t)||hr(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=ti.length;r--&&!ti[r].targetTest(t););n=ti[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Ga(e[r],n)))||e.splice(r,1);return e},ii=function(e){return e._gsap||ri(ea(e))[0]._gsap},ai=function(e,t,n){return(n=e[t])&&hr(n)?e[t]():_r(n)&&e.getAttribute&&e.getAttribute(t)||n},oi=function(e,t){return(e=e.split(`,`)).forEach(t)||e},si=function(e){return Math.round(e*1e5)/1e5||0},ci=function(e){return Math.round(e*1e7)/1e7||0},li=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},ui=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},di=function(){var e=Yr.length,t=Yr.slice(0),n,r;for(Xr={},Yr.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},fi=function(e){return!!(e._initted||e._startAt||e.add)},pi=function(e,t,n,r){Yr.length&&!ir&&di(),e.render(t,n,r||!!(ir&&t<0&&fi(e))),Yr.length&&!ir&&di()},mi=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(jr).length<2?t:mr(e)?e.trim():e},hi=function(e){return e},gi=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},_i=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},vi=function(e,t){for(var n in t)e[n]=t[n];return e},yi=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=vr(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},bi=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},xi=function(e){var t=e.parent||Nr,n=e.keyframes?_i(Cr(e.keyframes)):gi;if(yr(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Si=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Ci=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},wi=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Ti=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ei=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Di=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Oi=function(e,t,n,r){return e._startAt&&(ir?e._startAt.revert(Kr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},ki=function e(t){return!t||t._ts&&e(t.parent)},Ai=function(e){return e._repeat?ji(e._tTime,e=e.duration()+e._rDelay)*e:0},ji=function(e,t){var n=Math.floor(e=ci(e/t));return e&&n===e?n-1:n},Mi=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},V=function(e){return e._end=ci(e._start+(e._tDur/Math.abs(e._ts||e._rts||sr)||0))},Ni=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=ci(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),V(e),n._dirty||Ei(n,e)),e},Pi=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Mi(e.rawTime(),t),(!t._dur||Ji(0,t.totalDuration(),n)-t._tTime>sr)&&t.render(n,!0)),Ei(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-sr}},Fi=function(e,t,n,r){return t.parent&&Ti(t),t._start=ci((gr(n)?n:n||e!==Nr?Gi(e,n,t):e._time)+t._delay),t._end=ci(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ci(e,t,`_first`,`_last`,e._sort?`_start`:0),zi(t)||(e._recent=t),r||Pi(e,t),e._ts<0&&Ni(e,e._tTime),e},Ii=function(e,t){return(Lr.ScrollTrigger||Vr(`scrollTrigger`,t))&&Lr.ScrollTrigger.create(t,e)},Li=function(e,t,n,r,i){if(eo(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!ir&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Zr!==Ma.frame)return Yr.push(e),e._lazy=[i,r],1},Ri=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},zi=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},Bi=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&Ri(e)&&!(!e._initted&&zi(e))||(e._ts<0||e._dp._ts<0)&&!zi(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=Ji(0,e._tDur,t),l=ji(s,o),e._yoyo&&l&1&&(a=1-a),l!==ji(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||ir||r||e._zTime===sr||!t&&e._zTime){if(!e._initted&&Li(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?sr:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Oi(e,t,n,!0),e._onUpdate&&!n&&_a(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&_a(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Ti(e,1),!n&&!ir&&(_a(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},Vi=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},Hi=function(e,t,n,r){var i=e._repeat,a=ci(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:ci(a*(i+1)+e._rDelay*i):a,o>0&&!r&&Ni(e,e._tTime=e._tDur*o),e.parent&&V(e),n||Ei(e.parent,e),e},Ui=function(e){return e instanceof qa?Ei(e):Hi(e,e._dur)},Wi={_start:0,endTime:Wr,totalDuration:Wr},Gi=function e(t,n,r){var i=t.labels,a=t._recent||Wi,o=t.duration()>=or?a.endTime(!1):t._dur,s,c,l;return mr(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(Cr(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},Ki=function(e,t,n){var r=gr(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=yr(s.vars.inherit)&&s.parent;a.immediateRender=yr(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new U(t[0],a,t[i+1])},qi=function(e,t){return e||e===0?t(e):t},Ji=function(e,t,n){return n<e?e:n>t?t:n},Yi=function(e,t){return!mr(e)||!(t=Mr.exec(e))?``:t[1]},Xi=function(e,t,n){return qi(n,function(n){return Ji(e,t,n)})},Zi=[].slice,Qi=function(e,t){return e&&vr(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&vr(e[0]))&&!e.nodeType&&e!==Pr},$i=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return mr(e)&&!t||Qi(e,1)?(r=n).push.apply(r,ea(e)):n.push(e)})||n},ea=function(e,t,n){return ar&&!t&&ar.selector?ar.selector(e):mr(e)&&!n&&(Fr||!Na())?Zi.call((t||Ir).querySelectorAll(e),0):Cr(e)?$i(e,n):Qi(e)?Zi.call(e,0):e?[e]:[]},ta=function(e){return e=ea(e)[0]||Hr(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return ea(t,n.querySelectorAll?n:n===e?Hr(`Invalid scope`)||Ir.createElement(`div`):e)}},na=function(e){return e.sort(function(){return .5-Math.random()})},ra=function(e){if(hr(e))return e;var t=vr(e)?e:{each:e},n=Ba(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return mr(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,or])[1],!S){for(b=-or;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===or?0:s?f*u/S-.5:r/S|0,b=0,x=or,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):dr(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&na(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=Yi(t.amount||t.each)||0,n=n&&f<0?za(n):n}return f=(p[e]-p.min)/p.max||0,ci(p.b+(n?n(f):f)*p.v)+p.u}},ia=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=ci(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(gr(n)?0:Yi(n))}},aa=function(e,t){var n=Cr(e),r,i;return!n&&vr(e)&&(r=n=e.radius||or,e.values?(e=ea(e.values),(i=!gr(e[0]))&&(r*=r)):e=ia(e.increment)),qi(t,n?hr(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=or,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||gr(t)?s:s+Yi(t)}:ia(e))},oa=function(e,t,n,r){return qi(Cr(e)?!t:n===!0?!!(n=0):!r,function(){return Cr(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},sa=function(){var e=[...arguments];return function(t){return e.reduce(function(e,t){return t(e)},t)}},ca=function(e,t){return function(n){return e(parseFloat(n))+(t||Yi(n))}},la=function(e,t,n){return ma(e,t,0,1,n)},ua=function(e,t,n){return qi(n,function(n){return e[~~t(n)]})},da=function e(t,n,r){var i=n-t;return Cr(t)?ua(t,e(0,t.length),n):qi(r,function(e){return(i+(e-t)%i)%i+t})},fa=function e(t,n,r){var i=n-t,a=i*2;return Cr(t)?ua(t,e(0,t.length-1),n):qi(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},pa=function(e){return e.replace(wr,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(Tr);return oa(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},ma=function(e,t,n,r,i){var a=t-e,o=r-n;return qi(i,function(t){return n+((t-e)/a*o||0)})},ha=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=mr(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(Cr(t)&&!Cr(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=vi(Cr(t)?[]:{},t));if(!u){for(c in n)Ya.call(s,t,c,`get`,n[c]);a=function(e){return ho(e,s)||(o?t.p:t)}}}return qi(r,a)},ga=function(e,t,n){var r=e.labels,i=or,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},_a=function(e,t,n){var r=e.vars,i=r[t],a=ar,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&Yr.length&&di(),o&&(ar=o),l=s?i.apply(c,s):i.call(c),ar=a,l},va=function(e){return Ti(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ir),e.progress()<1&&_a(e,`onInterrupt`),e},ya,ba=[],xa=function(e){if(e)if(e=!e.name&&e.default||e,br()||e.headless){var t=e.name,n=hr(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Wr,render:ho,add:Ya,kill:_o,modifier:go,rawVars:0},a={targetTest:0,get:0,getSetter:uo,aliases:{},register:0};if(Na(),e!==r){if(Qr[t])return;gi(r,gi(bi(e,i),a)),vi(r.prototype,vi(i,bi(e,a))),Qr[r.prop=t]=r,e.targetTest&&(ti.push(r),Jr[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Ur(t,r),e.register&&e.register(Po,r,bo)}else ba.push(e)},Sa=255,Ca={aqua:[0,Sa,Sa],lime:[0,Sa,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Sa],navy:[0,0,128],white:[Sa,Sa,Sa],olive:[128,128,0],yellow:[Sa,Sa,0],orange:[Sa,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Sa,0,0],pink:[Sa,192,203],cyan:[0,Sa,Sa],transparent:[Sa,Sa,Sa,0]},wa=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*Sa+.5|0},Ta=function(e,t,n){var r=e?gr(e)?[e>>16,e>>8&Sa,e&Sa]:0:Ca.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Ca[e])r=Ca[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&Sa,r&Sa,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&Sa,e&Sa]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Er),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=wa(s+1/3,i,a),r[1]=wa(s,i,a),r[2]=wa(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Dr),n&&r.length<4&&(r[3]=1),r}else r=e.match(Er)||Ca.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/Sa,a=r[1]/Sa,o=r[2]/Sa,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Ea=function(e){var t=[],n=[],r=-1;return e.split(Oa).forEach(function(e){var i=e.match(Or)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Da=function(e,t,n){var r=``,i=(e+r).match(Oa),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=Ta(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Ea(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(Oa,`1`).split(Or),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(Oa),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Oa=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Ca)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),ka=/hsl[a]?\(/,Aa=function(e){var t=e.join(` `),n;if(Oa.lastIndex=0,Oa.test(t))return n=ka.test(t),e[1]=Da(e[1],n),e[0]=Da(e[0],n,Ea(e[1])),!0},ja,Ma=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){zr&&(!Fr&&br()&&(Pr=Fr=window,Ir=Pr.document||{},Lr.gsap=Po,(Pr.gsapVersions||=[]).push(Po.version),Br(Rr||Pr.GreenSockGlobals||!Pr.gsap&&Pr||{}),ba.forEach(xa)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},ja=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ja=0,l=Wr},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),Na(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),Na=function(){return!ja&&Ma.wake()},H={},Pa=/^[\d.\-M][\d.\-,\s]/,Fa=/["']/g,Ia=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(Fa,``).trim():+c,r=s.substr(o+1).trim();return t},La=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},Ra=function(e){var t=(e+``).split(`(`),n=H[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[Ia(t[1])]:La(e).split(`,`).map(mi)):H._CE&&Pa.test(e)?H._CE(``,e):n},za=function(e){return function(t){return 1-e(1-t)}},Ba=function(e,t){return e&&(hr(e)?e:H[e]||Ra(e))||t},Va=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return oi(e,function(e){for(var t in H[e]=Lr[e]=i,H[a=e.toLowerCase()]=n,i)H[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=H[e+`.`+t]=i[t]}),i},Ha=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Ua=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/cr*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*pr((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:Ha(s);return a=cr/a,c.config=function(n,r){return e(t,n,r)},c},Wa=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:Ha(r);return i.config=function(n){return e(t,n)},i};oi(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;Va(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),H.Linear.easeNone=H.none=H.Linear.easeIn,Va(`Elastic`,Ua(`in`),Ua(`out`),Ua()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};Va(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),Va(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),Va(`Circ`,function(e){return-(dr(1-e*e)-1)}),Va(`Sine`,function(e){return e===1?1:-fr(e*lr)+1}),Va(`Back`,Wa(`in`),Wa(`out`),Wa()),H.SteppedEase=H.steps=Lr.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-sr;return function(e){return((r*Ji(0,a,e)|0)+i)*n}}},nr.ease=H[`quad.out`],oi(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return ni+=e+`,`+e+`Params,`});var Ga=function(e,t){this.id=ur++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ai,this.set=t?t.getSetter:uo},Ka=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Hi(this,+e.duration,1,1),this.data=e.data,ar&&(this._ctx=ar,ar.data.push(this)),ja||Ma.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Hi(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Na(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ni(this,e),!n._dp||n.parent||Pi(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Fi(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===sr||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),pi(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ai(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Ai(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?ji(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-sr?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Mi(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-sr?0:this._rts,this.totalTime(Ji(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),V(this),Di(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Na(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==sr&&(this._tTime-=sr)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=ci(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Fi(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(yr(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Mi(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=qr);var t=ir;return ir=e,fi(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),ir=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Ui(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Ui(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Gi(this,e),yr(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,yr(t)),this._dur||(this._zTime=-sr),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-sr:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-sr,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-sr)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=hr(e)?e:hi,a=function(){var e=t.then;t.then=null,n&&n(),hr(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){va(this)},e}();gi(Ka.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-sr,_prom:0,_ps:!1,_rts:1});var qa=function(e){er(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=yr(t.sortChildren),Nr&&Fi(t.parent||Nr,$n(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Ii($n(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return Ki(0,arguments,this),this},n.from=function(e,t,n){return Ki(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Ki(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,xi(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new U(e,t,Gi(this,n),1),this},n.call=function(e,t,n){return Fi(this,U.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new U(e,n,Gi(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,xi(n).immediateRender=yr(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,xi(r).immediateRender=yr(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:ci(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==Nr&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=ci(o%f),o===i?(d=this._repeat,c=a):(_=ci(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=ji(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:ci(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&_a(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=Vi(this,ci(r),ci(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(_a(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-sr);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||ir&&fi(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-sr:sr);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-sr)._zTime=c>=r?1:-1,this._ts))return this._start=g,V(this),this.render(e,t,n);this._onUpdate&&!t&&_a(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&Ti(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(_a(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(gr(t)||(t=Gi(this,t,e)),!(e instanceof Ka)){if(Cr(e))return e.forEach(function(e){return n.add(e,t)}),this;if(mr(e))return this.addLabel(e,t);if(hr(e))e=U.delayedCall(0,e);else return this}return this===e?this:Fi(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-or);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof U?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return mr(e)?this.removeLabel(e):hr(e)?this.killTweensOf(e):(e.parent===this&&wi(this,e),e===this._recent&&(this._recent=this._last),Ei(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ci(Ma.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Gi(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=U.delayedCall(0,t||Wr,n);return r.data=`isPause`,this._hasPause=1,Fi(this,r,Gi(this,e))},n.removePause=function(e){var t=this._first;for(e=Gi(this,e);t;)t._start===e&&t.data===`isPause`&&Ti(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)Qa!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=ea(e),i=this._first,a=gr(t),o;i;)i instanceof U?ui(i._targets,r)&&(a?(!Qa||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=Gi(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=U.to(n,gi({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||sr,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&Hi(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,gi({startAt:{time:Gi(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),ga(this,Gi(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),ga(this,Gi(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+sr)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=ci(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Ei(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Ei(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=or,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,Fi(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=ci(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;Hi(n,n===Nr&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(Nr._ts&&(pi(Nr,Mi(e,Nr)),Zr=Ma.frame),Ma.frame>=ei){ei+=tr.autoSleep||120;var t=Nr._first;if((!t||!t._ts)&&tr.autoSleep&&Ma._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ma.sleep()}}},t}(Ka);gi(qa.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ja=function(e,t,n,r,i,a,o){var s=new bo(this._pt,e,t,0,1,mo,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=pa(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(kr)||[];u=kr.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?li(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=kr.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Ar.test(r)||g)&&(s.e=0),this._pt=s,s},Ya=function(e,t,n,r,i,a,o,s,c,l){hr(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?hr(u)?c?e[t.indexOf(`set`)||!hr(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=hr(u)?c?W:co:so,p;if(mr(r)&&(~r.indexOf(`random(`)&&(r=pa(r)),r.charAt(1)===`=`&&(p=li(d,r)+(Yi(d)||0),(p||p===0)&&(r=p))),!l||d!==r||$a)return!isNaN(d*r)&&r!==``?(p=new bo(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?po:fo,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&Vr(t,r),Ja.call(this,e,t,d,r,f,s||tr.stringFilter,c))},Xa=function(e,t,n,r,i){if(hr(e)&&(e=io(e,i,t,n,r)),!vr(e)||e.style&&e.nodeType||Cr(e)||Sr(e))return mr(e)?io(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=io(e[o],i,t,n,r);return a},Za=function(e,t,n,r,i,a){var o,s,c,l;if(Qr[e]&&(o=new Qr[e]).init(i,o.rawVars?t[e]:Xa(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new bo(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==ya))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},Qa,$a,eo=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!rr,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,ee,N;if(b&&(!f||!a)&&(a=`none`),t._ease=Ba(a,nr.ease),t._rEase=x&&(Ba(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?ii(g[0]).harness:0,ee=k&&i[k.prop],S=bi(i,Jr),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?Kr:Gr),h._lazy=0),o){if(Ti(t._startAt=U.set(g,gi({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&yr(c),startAt:null,delay:0,onUpdate:l&&function(){return _a(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(ir||!s&&!p)&&t._startAt.revert(Kr),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=gi({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&yr(c),immediateRender:s,stagger:0,parent:_},S),ee&&(w[k.prop]=ee),Ti(t._startAt=U.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(ir?t._startAt.revert(Kr):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,sr,sr);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&yr(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||ri(g)[C]._gsap,t._ptLookup[C]=j={},Xr[O.id]&&Yr.length&&di(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,ee||S,t,M,v)!==!1&&(t._pt=T=new bo(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||ee)for(w in S)Qr[w]&&(A=Za(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=Ya.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(Qa=t,Nr.killTweensOf(E,j,t.globalTime(n)),N=!t.parent,Qa=0),t._pt&&c&&(Xr[O.id]=1)}D&&yo(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!N,f&&n<=0&&b.render(or,!0,!0)},to=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return $a=1,e.vars[t]=`+=0`,eo(e,o),$a=0,s?Hr(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=si(n)+Yi(u.e),u.b&&=l.s+Yi(u.b)},no=function(e,t){var n=e[0]?ii(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=vi({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},ro=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(Cr(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},io=function(e,t,n,r,i){return hr(e)?e.call(t,n,r,i):mr(e)&&~e.indexOf(`random(`)?pa(e):e},ao=ni+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,oo={};oi(ao+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return oo[e]=1});var U=function(e){er(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:xi(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||Nr,g=(Cr(t)||Sr(t)?gr(t[0]):`length`in n)?[t]:ea(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?ri(g):Hr(`GSAP target `+t+` not found. https://gsap.com`,!tr.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||xr(s)||xr(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new qa({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=$n(a),_._start=0,u||xr(s)||xr(c)){if(b=g.length,C=u&&ra(u),vr(u))for(x in u)~ao.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=bi(n,oo),y.stagger=0,T&&(y.easeReverse=T),w&&vi(y,w),S=g[v],y.duration=+io(s,$n(a),v,S,g),y.delay=(+io(c,$n(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=H.none;_.duration()?s=c=0:a.timeline=0}else if(f){xi(gi(_.vars.defaults,{ease:`none`})),_._ease=Ba(f.ease||n.ease||`none`);var E=0,D,O,k;if(Cr(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||ro(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!rr&&(Qa=$n(a),Nr.killTweensOf(g),Qa=0),Fi(h,$n(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===ci(h._time)&&yr(l)&&ki($n(a))&&h.data!==`nested`)&&(a._tTime=-sr,a.render(Math.max(0,-c)||0)),m&&Ii($n(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-sr&&!o?i:e<sr?0:e,c,l,u,d,f,p,m,h;if(!a)Bi(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=ci(s%d),s===i?(u=this._repeat,c=a):(f=ci(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=ji(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(ci(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(Li(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(_a(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&Oi(this,e,t,n),_a(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&_a(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Oi(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Ti(this,1),!t&&!(o&&!r)&&(s||r||p)&&(_a(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){ja||Ma.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||eo(this,a),o=this._ease(a/this._dur),to(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(Ni(this,0),this.parent||Ci(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?va(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ir),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Qa&&Qa.vars.overwrite!==!0)._first||va(this),this.parent&&n!==this.timeline.totalDuration()&&Hi(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?ea(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Si(r,i))return t===`all`&&(this._pt=0),va(this);for(s=this._op=this._op||[],t!==`all`&&(mr(t)&&(d={},oi(t,function(e){return d[e]=1}),t=d),t=no(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&wi(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&va(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Ki(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return Ki(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return Nr.killTweensOf(e,t,n)},t}(Ka);gi(U.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),oi(`staggerTo,staggerFrom,staggerFromTo`,function(e){U[e]=function(){var t=new qa,n=Zi.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var so=function(e,t,n){return e[t]=n},co=function(e,t,n){return e[t](n)},W=function(e,t,n,r){return e[t](r.fp,n)},lo=function(e,t,n){return e.setAttribute(t,n)},uo=function(e,t){return hr(e[t])?co:_r(e[t])&&e.setAttribute?lo:so},fo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},po=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},mo=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},ho=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},go=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},_o=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?wi(this,t,`_pt`):t.dep||(n=1),t=r;return!n},vo=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},yo=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},bo=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||fo,this.d=o||this,this.set=s||so,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=vo,this.m=e,this.mt=n,this.tween=t},e}();oi(ni+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return Jr[e]=1}),Lr.TweenMax=Lr.TweenLite=U,Lr.TimelineLite=Lr.TimelineMax=qa,Nr=new qa({sortChildren:!1,defaults:nr,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),tr.stringFilter=Aa;var xo=[],So={},Co=[],wo=0,To=0,Eo=function(e){return(So[e]||Co).map(function(e){return e()})},Do=function(){var e=Date.now(),t=[];e-wo>2&&(Eo(`matchMediaInit`),xo.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=Pr.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Eo(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),wo=e,Eo(`matchMedia`))},Oo=function(){function e(e,t){this.selector=t&&ta(t),this.data=[],this._r=[],this.isReverted=!1,this.id=To++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){hr(e)&&(n=t,t=e,e=hr);var r=this,i=function(){var e=ar,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=ta(n)),ar=r,a=t.apply(r,arguments),hr(a)&&r._r.push(a),ar=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===hr?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=ar;ar=null,e(this),ar=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof U&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof qa?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof U)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=xo.length;r--;)xo[r].id===this.id&&xo.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),ko=function(){function e(e){this.contexts=[],this.scope=e,ar&&ar.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){vr(e)||(e={matches:e});var r=new Oo(0,n||this.scope),i=r.conditions={},a,o,s;for(o in ar&&!r.selector&&(r.selector=ar.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=Pr.matchMedia(e[o]),a&&(xo.indexOf(r)<0&&xo.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Do):a.addEventListener(`change`,Do)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Ao={registerPlugin:function(){[...arguments].forEach(function(e){return xa(e)})},timeline:function(e){return new qa(e)},getTweensOf:function(e,t){return Nr.getTweensOf(e,t)},getProperty:function(e,t,n,r){mr(e)&&(e=ea(e)[0]);var i=ii(e||{}).get,a=n?hi:mi;return n===`native`&&(n=``),e&&(t?a((Qr[t]&&Qr[t].get||i)(e,t,n,r)):function(t,n,r){return a((Qr[t]&&Qr[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=ea(e),e.length>1){var r=e.map(function(e){return Po.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Qr[t],o=ii(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;ya._pt=0,r.init(e,n?t+n:t,ya,0,[e]),r.render(1,r),ya._pt&&ho(1,ya)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Po.to(e,gi((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return Nr.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ba(e.ease,nr.ease)),yi(nr,e||{})},config:function(e){return yi(tr,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Qr[e]&&!Lr[e]&&Hr(t+` effect requires `+e+` plugin.`)}),$r[t]=function(e,t,r){return n(ea(e),gi(t||{},i),r)},a&&(qa.prototype[t]=function(e,n,r){return this.add($r[t](e,vr(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){H[e]=Ba(t)},parseEase:function(e,t){return arguments.length?Ba(e,t):H},getById:function(e){return Nr.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new qa(e),r,i;for(n.smoothChildTiming=yr(e.smoothChildTiming),Nr.remove(n),n._dp=0,n._time=n._tTime=Nr._time,r=Nr._first;r;)i=r._next,(t||!(!r._dur&&r instanceof U&&r.vars.onComplete===r._targets[0]))&&Fi(n,r,r._start-r._delay),r=i;return Fi(Nr,n,0),n},context:function(e,t){return e?new Oo(e,t):ar},matchMedia:function(e){return new ko(e)},matchMediaRefresh:function(){return xo.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Do()},addEventListener:function(e,t){var n=So[e]||(So[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=So[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:da,wrapYoyo:fa,distribute:ra,random:oa,snap:aa,normalize:la,getUnit:Yi,clamp:Xi,splitColor:Ta,toArray:ea,selector:ta,mapRange:ma,pipe:sa,unitize:ca,interpolate:ha,shuffle:na},install:Br,effects:$r,ticker:Ma,updateRoot:qa.updateRoot,plugins:Qr,globalTimeline:Nr,core:{PropTween:bo,globals:Ur,Tween:U,Timeline:qa,Animation:Ka,getCache:ii,_removeLinkedListItem:wi,reverting:function(){return ir},context:function(e){return e&&ar&&(ar.data.push(e),e._ctx=ar),ar},suppressOverwrites:function(e){return rr=e}}};oi(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Ao[e]=U[e]}),Ma.add(qa.updateRoot),ya=Ao.to({},{duration:0});var jo=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Mo=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=jo(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},No=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(mr(n)&&(r={},oi(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Mo(e,n)}}}},Po=Ao.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)ir?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},No(`roundProps`,ia),No(`modifiers`),No(`snap`,aa))||Ao;U.version=qa.version=Po.version=`3.15.0`,zr=1,br()&&Na(),H.Power0,H.Power1,H.Power2,H.Power3,H.Power4,H.Linear,H.Quad,H.Cubic,H.Quart,H.Quint,H.Strong,H.Elastic,H.Back,H.SteppedEase,H.Bounce,H.Sine,H.Expo,H.Circ;var Fo,Io,Lo,Ro,zo,Bo,Vo,Ho=function(){return typeof window<`u`},Uo={},Wo=180/Math.PI,Go=Math.PI/180,Ko=Math.atan2,qo=1e8,Jo=/([A-Z])/g,Yo=/(left|right|width|margin|padding|x)/i,Xo=/[\s,\(]\S/,Zo={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},Qo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},$o=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},es=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ts=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ns=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},rs=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},is=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},as=function(e,t,n){return e.style[t]=n},os=function(e,t,n){return e.style.setProperty(t,n)},ss=function(e,t,n){return e._gsap[t]=n},cs=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},ls=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},us=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},ds=`transform`,fs=ds+`Origin`,ps=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in Uo&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=Zo[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Ms(i,e)}):this.tfm[t]=o.x?o[t]:Ms(i,t),t===fs&&(this.tfm.zOrigin=o.zOrigin);else return Zo.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(ds)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(fs,n,``)),t=ds}(a||n)&&this.props.push(t,n,a[t])},ms=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},hs=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(Jo,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=Vo(),(!i||!i.isStart)&&!n[ds]&&(ms(n),r.zOrigin&&n[fs]&&(n[fs]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},gs=function(e,t){var n={target:e,props:[],revert:hs,save:ps};return e._gsap||Po.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},_s,vs=function(e,t){var n=Io.createElementNS?Io.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):Io.createElement(e);return n&&n.style?n:Io.createElement(e)},ys=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(Jo,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,xs(n)||n,1)||``},bs=`O,Moz,ms,Ms,Webkit`.split(`,`),xs=function(e,t,n){var r=(t||zo).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(bs[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?bs[i]:``)+e},Ss=function(){Ho()&&window.document&&(Fo=window,Io=Fo.document,Lo=Io.documentElement,zo=vs(`div`)||{style:{}},vs(`div`),ds=xs(ds),fs=ds+`Origin`,zo.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,_s=!!xs(`perspective`),Vo=Po.core.reverting,Ro=1)},Cs=function(e){var t=e.ownerSVGElement,n=vs(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),Lo.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Lo.removeChild(n),i},ws=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Ts=function(e){var t,n;try{t=e.getBBox()}catch{t=Cs(e),n=1}return t&&(t.width||t.height)||n||(t=Cs(e)),t&&!t.width&&!t.x&&!t.y?{x:+ws(e,[`x`,`cx`,`x1`])||0,y:+ws(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Es=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ts(e))},Ds=function(e,t){if(t){var n=e.style,r;t in Uo&&t!==fs&&(t=ds),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(Jo,`-$1`).toLowerCase())):n.removeAttribute(t)}},Os=function(e,t,n,r,i,a){var o=new bo(e._pt,t,n,0,1,a?is:rs);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},ks={deg:1,rad:1,turn:1},As={grid:1,flex:1},js=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=zo.style,c=Yo.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||ks[i]||ks[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Es(t),(p||o===`%`)&&(Uo[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],si(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Io||!h.appendChild)&&(h=Io.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Ma.time&&!g.uncache)return si(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:Ds(t,n)}else (p||o===`%`)&&!As[ys(h,`display`)]&&(s.position=ys(t,`position`)),h===t&&(s.position=`static`),h.appendChild(zo),m=zo[u],h.removeChild(zo),s.position=`absolute`;return c&&p&&(g=ii(h),g.time=Ma.time,g.width=h[u]),si(f?m*a/d:m&&a?d/m*a:0)},Ms=function(e,t,n,r){var i;return Ro||Ss(),t in Zo&&t!==`transform`&&(t=Zo[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),Uo[t]&&t!==`transform`?(i=Ws(e,r),i=t===`transformOrigin`?i.svg?i.origin:Gs(ys(e,fs))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Ls[t]&&Ls[t](e,t,n)||ys(e,t)||ai(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?js(e,t,i,n)+n:i},Ns=function(e,t,n,r){if(!n||n===`none`){var i=xs(t,e,1),a=i&&ys(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=ys(e,`borderTopColor`))}var o=new bo(this._pt,e.style,t,0,1,mo),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=ys(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=ys(e,t)||r,m?e.style[t]=m:Ds(e,t)),l=[n,r],Aa(l),n=l[0],r=l[1],d=n.match(Or)||[],b=r.match(Or)||[],b.length){for(;u=Or.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=li(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Or.lastIndex-v.length,v||(v=v||tr.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=js(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?is:rs;return Ar.test(r)&&(o.e=0),this._pt=o,o},Ps={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},Fs=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=Ps[n]||n,t[1]=Ps[r]||r,t.join(` `)},Is=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],Uo[o]&&(s=1,o=o===`transformOrigin`?fs:ds),Ds(n,o);s&&(Ds(n,ds),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,Ws(n,1),a.uncache=1,ms(r)))}},Ls={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new bo(e._pt,t,n,0,0,Is);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},Rs=[1,0,0,1,0,0],zs={},Bs=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},Vs=function(e){var t=ys(e,ds);return Bs(t)?Rs:t.substr(7).match(Dr).map(si)},Hs=function(e,t){var n=e._gsap||ii(e),r=e.style,i=Vs(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?Rs:i):(i===Rs&&!e.offsetParent&&e!==Lo&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Lo.appendChild(e)),i=Vs(e),s?r.display=s:Ds(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Lo.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Us=function(e,t,n,r,i,a){var o=e._gsap,s=i||Hs(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==Rs&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Ts(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[fs]=`0px 0px`,a&&(Os(a,o,`xOrigin`,c,y),Os(a,o,`yOrigin`,l,b),Os(a,o,`xOffset`,u,o.xOffset),Os(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},Ws=function(e,t){var n=e._gsap||new Ga(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=ys(e,fs)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,ee,N,te,P,F,ne,re,ie;return n.svg=!!(e.getCTM&&Es(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[ds]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[ds]===`none`?``:s[ds])),r.scale=r.rotate=r.translate=`none`),S=Hs(e,n.svg),n.svg&&(n.uncache?(ee=e.getBBox(),c=n.xOrigin-ee.x+`px `+(n.yOrigin-ee.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),Us(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==Rs&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?Ko(D,E)*Wo:0,_=O||k?Ko(O,k)*Wo+m:0,_&&(p*=Math.abs(Math.cos(_*Go))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(ie=S[6],ne=S[7],te=S[8],P=S[9],F=S[10],re=S[11],l=S[12],u=S[13],d=S[14],C=Ko(ie,F),h=C*Wo,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+te*T,ee=j*w+P*T,N=ie*w+F*T,te=A*-T+te*w,P=j*-T+P*w,F=ie*-T+F*w,re=ne*-T+re*w,A=M,j=ee,ie=N),C=Ko(-O,F),g=C*Wo,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-te*T,ee=D*w-P*T,N=O*w-F*T,re=k*T+re*w,E=M,D=ee,O=N),C=Ko(D,E),m=C*Wo,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,ee=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=ee),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=si(Math.sqrt(E*E+D*D+O*O)),p=si(Math.sqrt(j*j+ie*ie)),C=Ko(A,j),_=Math.abs(C)>2e-4?C*Wo:0,y=re?1/(re<0?-re:re):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Bs(ys(e,ds)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=si(f),n.scaleY=si(p),n.rotation=si(m)+o,n.rotationX=si(h)+o,n.rotationY=si(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[fs]=Gs(c)),n.xOffset=n.yOffset=0,n.force3D=tr.force3D,n.renderTransform=n.svg?Qs:_s?Zs:qs,n.uncache=0,n},Gs=function(e){return(e=e.split(` `))[0]+` `+e[1]},Ks=function(e,t,n){var r=Yi(t);return si(parseFloat(t)+parseFloat(js(e,`x`,n+`px`,r)))+r},qs=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,Zs(e,t)},Js=`0deg`,Ys=`0px`,Xs=`) `,Zs=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==Js||l!==Js)){var x=parseFloat(l)*Go,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*Go,w=Math.cos(x),a=Ks(_,a,S*w*-v),o=Ks(_,o,-Math.sin(x)*-v),s=Ks(_,s,C*w*-v+v)}h!==Ys&&(y+=`perspective(`+h+Xs),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Ys||o!==Ys||s!==Ys)&&(y+=s!==Ys||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+Xs),c!==Js&&(y+=`rotate(`+c+Xs),l!==Js&&(y+=`rotateY(`+l+Xs),u!==Js&&(y+=`rotateX(`+u+Xs),(d!==Js||f!==Js)&&(y+=`skew(`+d+`, `+f+Xs),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+Xs),_.style[ds]=y||`translate(0, 0)`},Qs=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=Go,c*=Go,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=Go,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=si(b),x=si(x),S=si(S),C=si(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=js(f,`x`,a,`px`),y=js(f,`y`,o,`px`)),(p||m||h||g)&&(v=si(v+p-(p*b+m*S)+h),y=si(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=si(v+r/100*w.width),y=si(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[ds]=w)},$s=function(e,t,n,r,i){var a=360,o=mr(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?Wo:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*qo)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*qo)%a-~~(s/a)*a)),e._pt=u=new bo(e._pt,t,n,r,s,$o),u.e=c,u.u=`deg`,e._props.push(n),u},ec=function(e,t){for(var n in t)e[n]=t[n];return e},tc=function(e,t,n){var r=ec({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[ds]=t,o=Ws(n,1),Ds(n,ds),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[ds],a[ds]=t,o=Ws(n,1),a[ds]=c),Uo)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=Yi(c),p=Yi(l),u=f===p?parseFloat(c):js(n,s,c,p),d=parseFloat(l),e._pt=new bo(e._pt,o,s,u,d-u,Qo),e._pt.u=p||0,e._props.push(s));ec(o,r)};oi(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});Ls[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Ms(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var nc={name:`css`,register:Ss,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in Ro||Ss(),this.styles=this.styles||gs(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Qr[m]&&Za(m,t,n,r,e,i)))){if(f=typeof l,p=Ls[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=pa(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Oa.lastIndex=0,Oa.test(c)||(h=Yi(c),g=Yi(l),g?h!==g&&(c=js(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],mr(c)&&~c.indexOf(`random(`)&&(c=pa(c)),Yi(c+``)||c===`auto`||(c+=tr.units[m]||Yi(Ms(e,m))||``),(c+``).charAt(1)===`=`&&(c=Ms(e,m))):c=Ms(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in Zo&&(m===`autoAlpha`&&(d===1&&Ms(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),Os(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=Zo[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in Uo,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=ys(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=ys(e,`perspective`),T?e.style.perspective=T:Ds(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||Ws(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new bo(this._pt,o,ds,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new bo(this._pt,b,`scaleY`,b.scaleY,(_?li(b.scaleY,_+u):u)-b.scaleY||0,Qo),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(fs,0,o[fs]),l=Fs(l),b.svg?Us(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&Os(this,b,`zOrigin`,b.zOrigin,g),Os(this,o,m,Gs(c),Gs(l)));continue}else if(m===`svgOrigin`){Us(e,l,1,x,0,this);continue}else if(m in zs){$s(this,b,m,d,_?li(d,_+l):l);continue}else if(m===`smoothOrigin`){Os(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){tc(this,l,e);continue}}else m in o||(m=xs(m)||m);if(v||(u||u===0)&&(d||d===0)&&!Xo.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=Yi(l)||(m in tr.units?tr.units[m]:h),h!==g&&(d=js(e,m,c,g)),this._pt=new bo(this._pt,v?b:o,m,d,(_?li(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?ns:Qo),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=ts):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=es);else if(m in o)Ns.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){Vr(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&yo(this)},render:function(e,t){if(t.tween._time||!Vo())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Ms,aliases:Zo,getSetter:function(e,t,n){var r=Zo[t];return r&&r.indexOf(`,`)<0&&(t=r),t in Uo&&t!==fs&&(e._gsap.x||Ms(e,`x`))?n&&Bo===n?t===`scale`?cs:ss:(Bo=n||{})&&(t===`scale`?ls:us):e.style&&!_r(e.style[t])?as:~t.indexOf(`-`)?os:uo(e,t)},core:{_removeProperty:Ds,_getMatrix:Hs}};Po.utils.checkPrefix=xs,Po.core.getStyleSaver=gs,(function(e,t,n,r){var i=oi(e+`,`+t+`,`+n,function(e){Uo[e]=1});oi(t,function(e){tr.units[e]=`deg`,zs[e]=1}),Zo[i[13]]=e+`,`+t,oi(r,function(e){var t=e.split(`:`);Zo[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),oi(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){tr.units[e]=`px`}),Po.registerPlugin(nc);var G=Po.registerPlugin(nc)||Po;G.core.Tween;function rc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ic(e,t,n){return t&&rc(e.prototype,t),n&&rc(e,n),e}var ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc=function(){return ac||typeof window<`u`&&(ac=window.gsap)&&ac.registerPlugin&&ac},yc=1,bc=[],K=[],xc=[],Sc=Date.now,Cc=function(e,t){return t},wc=function(){var e=pc.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,K),r.push.apply(r,xc),K=n,xc=r,Cc=function(e,n){return t[e](n)}},Tc=function(e,t){return~xc.indexOf(e)&&xc[xc.indexOf(e)+1][t]},Ec=function(e){return!!~mc.indexOf(e)},Dc=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:r!==!1,capture:!!i})},Oc=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},kc=`scrollLeft`,Ac=`scrollTop`,jc=function(){return hc&&hc.isPressed||K.cache++},Mc=function(e,t){var n=function n(r){if(r||r===0){yc&&(sc.history.scrollRestoration=`manual`);var i=hc&&hc.isPressed;r=n.v=Math.round(r)||(hc&&hc.iOS?1:0),e(r),n.cacheID=K.cache,i&&Cc(`ss`,r)}else (t||K.cache!==n.cacheID||Cc(`ref`))&&(n.cacheID=K.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},Nc={s:kc,p:`left`,p2:`Left`,os:`right`,os2:`Right`,d:`width`,d2:`Width`,a:`x`,sc:Mc(function(e){return arguments.length?sc.scrollTo(e,Pc.sc()):sc.pageXOffset||cc[kc]||lc[kc]||uc[kc]||0})},Pc={s:Ac,p:`top`,p2:`Top`,os:`bottom`,os2:`Bottom`,d:`height`,d2:`Height`,a:`y`,op:Nc,sc:Mc(function(e){return arguments.length?sc.scrollTo(Nc.sc(),e):sc.pageYOffset||cc[Ac]||lc[Ac]||uc[Ac]||0})},Fc=function(e,t){return(t&&t._ctx&&t._ctx.selector||ac.utils.toArray)(e)[0]||(typeof e==`string`&&ac.config().nullTargetWarn!==!1?console.warn(`Element not found:`,e):null)},Ic=function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1},Lc=function(e,t){var n=t.s,r=t.sc;Ec(e)&&(e=cc.scrollingElement||lc);var i=K.indexOf(e),a=r===Pc.sc?1:2;!~i&&(i=K.push(e)-1),K[i+a]||Dc(e,`scroll`,jc);var o=K[i+a],s=o||(K[i+a]=Mc(Tc(e,n),!0)||(Ec(e)?r:Mc(function(t){return arguments.length?e[n]=t:e[n]})));return s.target=e,o||(s.smooth=ac.getProperty(e,`scrollBehavior`)===`smooth`),s},Rc=function(e,t,n){var r=e,i=e,a=Sc(),o=a,s=t||50,c=Math.max(500,s*3),l=function(e,t){var c=Sc();t||c-a>s?(i=r,r=e,o=a,a=c):n?r+=e:r=i+(e-i)/(c-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,s=i,u=Sc();return(e||e===0)&&e!==r&&l(e),a===o||u-o>c?0:(r+(n?s:-s))/((n?u:a)-t)*1e3}}},zc=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Bc=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},Vc=function(){pc=ac.core.globals().ScrollTrigger,pc&&pc.core&&wc()},Hc=function(e){return ac=e||vc(),!oc&&ac&&typeof document<`u`&&document.body&&(sc=window,cc=document,lc=cc.documentElement,uc=cc.body,mc=[sc,cc,lc,uc],ac.utils.clamp,_c=ac.core.context||function(){},fc=`onpointerenter`in uc?`pointer`:`mouse`,dc=Uc.isTouch=sc.matchMedia&&sc.matchMedia(`(hover: none), (pointer: coarse)`).matches?1:`ontouchstart`in sc||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,gc=Uc.eventTypes=(`ontouchstart`in lc?`touchstart,touchmove,touchcancel,touchend`:`onpointerdown`in lc?`pointerdown,pointermove,pointercancel,pointerup`:`mousedown,mousemove,mouseup,mouseup`).split(`,`),setTimeout(function(){return yc=0},500),oc=1),pc||Vc(),oc};Nc.op=Pc,K.cache=0;var Uc=function(){function e(e){this.init(e)}var t=e.prototype;return t.init=function(e){oc||Hc(ac)||console.warn(`Please gsap.registerPlugin(Observer)`),pc||Vc();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,o=e.debounce,s=e.preventDefault,c=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,p=e.onDragStart,m=e.onDragEnd,h=e.onDrag,g=e.onPress,_=e.onRelease,v=e.onRight,y=e.onLeft,b=e.onUp,x=e.onDown,S=e.onChangeX,C=e.onChangeY,w=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,O=e.onHoverEnd,k=e.onMove,A=e.ignoreCheck,j=e.isNormalizer,M=e.onGestureStart,ee=e.onGestureEnd,N=e.onWheel,te=e.onEnable,P=e.onDisable,F=e.onClick,ne=e.scrollSpeed,re=e.capture,ie=e.allowClicks,ae=e.lockAxis,oe=e.onLockAxis;this.target=i=Fc(i)||lc,this.vars=e,u&&=ac.utils.toArray(u),t||=1e-9,n||=0,d||=1,ne||=1,r||=`wheel,touch,pointer`,o=o!==!1,a||=parseFloat(sc.getComputedStyle(uc).lineHeight)||22;var I,se,ce,le,ue,de,fe,L=this,pe=0,me=0,he=e.passive||!s&&e.passive!==!1,ge=Lc(i,Nc),_e=Lc(i,Pc),ve=ge(),ye=_e(),be=~r.indexOf(`touch`)&&!~r.indexOf(`pointer`)&&gc[0]===`pointerdown`,xe=Ec(i),R=i.ownerDocument||cc,Se=[0,0,0],Ce=[0,0,0],we=0,Te=function(){return we=Sc()},Ee=function(e,t){return(L.event=e)&&u&&Ic(e.target,u)||t&&be&&e.pointerType!==`touch`||A&&A(e,t)},De=function(){L._vx.reset(),L._vy.reset(),se.pause(),c&&c(L)},Oe=function(){var e=L.deltaX=Bc(Se),n=L.deltaY=Bc(Ce),r=Math.abs(e)>=t,i=Math.abs(n)>=t;w&&(r||i)&&w(L,e,n,Se,Ce),r&&(v&&L.deltaX>0&&v(L),y&&L.deltaX<0&&y(L),S&&S(L),T&&L.deltaX<0!=pe<0&&T(L),pe=L.deltaX,Se[0]=Se[1]=Se[2]=0),i&&(x&&L.deltaY>0&&x(L),b&&L.deltaY<0&&b(L),C&&C(L),E&&L.deltaY<0!=me<0&&E(L),me=L.deltaY,Ce[0]=Ce[1]=Ce[2]=0),(le||ce)&&(k&&k(L),ce&&=(p&&ce===1&&p(L),h&&h(L),0),le=!1),de&&!(de=!1)&&oe&&oe(L),ue&&=(N(L),!1),I=0},ke=function(e,t,n){Se[n]+=e,Ce[n]+=t,L._vx.update(e),L._vy.update(t),o?I||=requestAnimationFrame(Oe):Oe()},Ae=function(e,t){ae&&!fe&&(L.axis=fe=Math.abs(e)>Math.abs(t)?`x`:`y`,de=!0),fe!==`y`&&(Se[2]+=e,L._vx.update(e,!0)),fe!==`x`&&(Ce[2]+=t,L._vy.update(t,!0)),o?I||=requestAnimationFrame(Oe):Oe()},je=function(e){if(!Ee(e,1)){e=zc(e,s);var t=e.clientX,r=e.clientY,i=t-L.x,a=r-L.y,o=L.isDragging;L.x=t,L.y=r,(o||(i||a)&&(Math.abs(L.startX-t)>=n||Math.abs(L.startY-r)>=n))&&(ce||=o?2:1,o||(L.isDragging=!0),Ae(i,a))}},Me=L.onPress=function(e){Ee(e,1)||e&&e.button||(L.axis=fe=null,se.pause(),L.isPressed=!0,e=zc(e),pe=me=0,L.startX=L.x=e.clientX,L.startY=L.y=e.clientY,L._vx.reset(),L._vy.reset(),Dc(j?i:R,gc[1],je,he,!0),L.deltaX=L.deltaY=0,g&&g(L))},Ne=L.onRelease=function(e){if(!Ee(e,1)){Oc(j?i:R,gc[1],je,!0);var t=!isNaN(L.y-L.startY),n=L.isDragging,r=n&&(Math.abs(L.x-L.startX)>3||Math.abs(L.y-L.startY)>3),a=zc(e);!r&&t&&(L._vx.reset(),L._vy.reset(),s&&ie&&ac.delayedCall(.08,function(){if(Sc()-we>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(R.createEvent){var t=R.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,sc,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),L.isDragging=L.isGesturing=L.isPressed=!1,c&&n&&!j&&se.restart(!0),ce&&Oe(),m&&n&&m(L),_&&_(L,r)}},z=function(e){return e.touches&&e.touches.length>1&&(L.isGesturing=!0)&&M(e,L.isDragging)},Pe=function(){return(L.isGesturing=!1)||ee(L)},Fe=function(e){if(!Ee(e)){var t=ge(),n=_e();ke((t-ve)*ne,(n-ye)*ne,1),ve=t,ye=n,c&&se.restart(!0)}},Ie=function(e){if(!Ee(e)){e=zc(e,s),N&&(ue=!0);var t=(e.deltaMode===1?a:e.deltaMode===2?sc.innerHeight:1)*d;ke(e.deltaX*t,e.deltaY*t,0),c&&!j&&se.restart(!0)}},Le=function(e){if(!Ee(e)){var t=e.clientX,n=e.clientY,r=t-L.x,i=n-L.y;L.x=t,L.y=n,le=!0,c&&se.restart(!0),(r||i)&&Ae(r,i)}},Re=function(e){L.event=e,D(L)},ze=function(e){L.event=e,O(L)},Be=function(e){return Ee(e)||zc(e,s)&&F(L)};se=L._dc=ac.delayedCall(l||.25,De).pause(),L.deltaX=L.deltaY=0,L._vx=Rc(0,50,!0),L._vy=Rc(0,50,!0),L.scrollX=ge,L.scrollY=_e,L.isDragging=L.isGesturing=L.isPressed=!1,_c(this),L.enable=function(e){return L.isEnabled||(Dc(xe?R:i,`scroll`,jc),r.indexOf(`scroll`)>=0&&Dc(xe?R:i,`scroll`,Fe,he,re),r.indexOf(`wheel`)>=0&&Dc(i,`wheel`,Ie,he,re),(r.indexOf(`touch`)>=0&&dc||r.indexOf(`pointer`)>=0)&&(Dc(i,gc[0],Me,he,re),Dc(R,gc[2],Ne),Dc(R,gc[3],Ne),ie&&Dc(i,`click`,Te,!0,!0),F&&Dc(i,`click`,Be),M&&Dc(R,`gesturestart`,z),ee&&Dc(R,`gestureend`,Pe),D&&Dc(i,fc+`enter`,Re),O&&Dc(i,fc+`leave`,ze),k&&Dc(i,fc+`move`,Le)),L.isEnabled=!0,L.isDragging=L.isGesturing=L.isPressed=le=ce=!1,L._vx.reset(),L._vy.reset(),ve=ge(),ye=_e(),e&&e.type&&Me(e),te&&te(L)),L},L.disable=function(){L.isEnabled&&(bc.filter(function(e){return e!==L&&Ec(e.target)}).length||Oc(xe?R:i,`scroll`,jc),L.isPressed&&(L._vx.reset(),L._vy.reset(),Oc(j?i:R,gc[1],je,!0)),Oc(xe?R:i,`scroll`,Fe,re),Oc(i,`wheel`,Ie,re),Oc(i,gc[0],Me,re),Oc(R,gc[2],Ne),Oc(R,gc[3],Ne),Oc(i,`click`,Te,!0),Oc(i,`click`,Be),Oc(R,`gesturestart`,z),Oc(R,`gestureend`,Pe),Oc(i,fc+`enter`,Re),Oc(i,fc+`leave`,ze),Oc(i,fc+`move`,Le),L.isEnabled=L.isPressed=L.isDragging=!1,P&&P(L))},L.kill=L.revert=function(){L.disable();var e=bc.indexOf(L);e>=0&&bc.splice(e,1),hc===L&&(hc=0)},bc.push(L),j&&Ec(i)&&(hc=L),L.enable(f)},ic(e,[{key:`velocityX`,get:function(){return this._vx.getVelocity()}},{key:`velocityY`,get:function(){return this._vy.getVelocity()}}]),e}();Uc.version=`3.15.0`,Uc.create=function(e){return new Uc(e)},Uc.register=Hc,Uc.getAll=function(){return bc.slice()},Uc.getById=function(e){return bc.filter(function(t){return t.vars.id===e})[0]},vc()&&ac.registerPlugin(Uc);var q,Wc,J,Gc,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,yl,bl,xl,Sl=1,Cl=Date.now,wl=Cl(),Tl=0,El=0,Dl=function(e,t,n){var r=Ul(e)&&(e.substr(0,6)===`clamp(`||e.indexOf(`max`)>-1);return n[`_`+t+`Clamp`]=r,r?e.substr(6,e.length-7):e},Ol=function(e,t){return t&&(!Ul(e)||e.substr(0,6)!==`clamp(`)?`clamp(`+e+`)`:e},kl=function e(){return El&&requestAnimationFrame(e)},Al=function(){return tl=1},jl=function(){return tl=0},Ml=function(e){return e},Nl=function(e){return Math.round(e*1e5)/1e5||0},Pl=function(){return typeof window<`u`},Fl=function(){return q||Pl()&&(q=window.gsap)&&q.registerPlugin&&q},Il=function(e){return!!~Jc.indexOf(e)},Ll=function(e){return(e===`Height`?vl:J[`inner`+e])||Kc[`client`+e]||qc[`client`+e]},Rl=function(e){return Tc(e,`getBoundingClientRect`)||(Il(e)?function(){return ld.width=J.innerWidth,ld.height=vl,ld}:function(){return pu(e)})},zl=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=Tc(e,`getBoundingClientRect`))?function(){return a()[r]}:function(){return(t?Ll(i):e[`client`+i])||0}},Bl=function(e,t){return!t||~xc.indexOf(e)?Rl(e):function(){return ld}},Vl=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n=`scroll`+r)&&(a=Tc(e,n))?a()-Rl(e)()[i]:Il(e)?(Kc[n]||qc[n])-Ll(r):e[n]-e[`offset`+r])},Hl=function(e,t){for(var n=0;n<ol.length;n+=3)(!t||~t.indexOf(ol[n+1]))&&e(ol[n],ol[n+1],ol[n+2])},Ul=function(e){return typeof e==`string`},Wl=function(e){return typeof e==`function`},Gl=function(e){return typeof e==`number`},Kl=function(e){return typeof e==`object`},ql=function(e,t,n){return e&&e.progress(+!t)&&n&&e.pause()},Jl=function(e,t,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);r&&r.totalTime&&(e.callbackAnimation=r)}},Yl=Math.abs,Xl=`left`,Zl=`top`,Ql=`right`,$l=`bottom`,eu=`width`,tu=`height`,nu=`Right`,ru=`Left`,iu=`Top`,au=`Bottom`,Y=`padding`,ou=`margin`,su=`Width`,cu=`Height`,lu=`px`,uu=function(e){return J.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},du=function(e){var t=uu(e).position;e.style.position=t===`absolute`||t===`fixed`?t:`relative`},fu=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},pu=function(e,t){var n=t&&uu(e)[nl]!==`matrix(1, 0, 0, 1, 0, 0)`&&q.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),r},mu=function(e,t){var n=t.d2;return e[`offset`+n]||e[`client`+n]||0},hu=function(e){var t=[],n=e.labels,r=e.duration(),i;for(i in n)t.push(n[i]/r);return t},gu=function(e){return function(t){return q.utils.snap(hu(e),t)}},_u=function(e){var t=q.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,r,i){i===void 0&&(i=.001);var a;if(!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}else for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){i===void 0&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0==r<0?a:t(r<0?n-e:n+e)}},vu=function(e){return function(t,n){return _u(hu(e))(t,n.direction)}},yu=function(e,t,n,r){return n.split(`,`).forEach(function(n){return e(t,n,r)})},bu=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},xu=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},Su=function(e,t,n){n&&=n.wheelHandler,n&&(e(t,`wheel`,n),e(t,`touchmove`,n))},Cu={startColor:`green`,endColor:`red`,indent:0,fontSize:`16px`,fontWeight:`normal`},wu={toggleActions:`play`,anticipatePin:0},Tu={top:0,left:0,center:.5,bottom:1,right:1},Eu=function(e,t){if(Ul(e)){var n=e.indexOf(`=`),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf(`%`)>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Tu?Tu[e]*t:~e.indexOf(`%`)?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Du=function(e,t,n,r,i,a,o,s){var c=i.startColor,l=i.endColor,u=i.fontSize,d=i.indent,f=i.fontWeight,p=Gc.createElement(`div`),m=Il(n)||Tc(n,`pinType`)===`fixed`,h=e.indexOf(`scroller`)!==-1,g=m?qc:n.tagName===`IFRAME`?n.contentDocument.body:n,_=e.indexOf(`start`)!==-1,v=_?c:l,y=`border-color:`+v+`;font-size:`+u+`;color:`+v+`;font-weight:`+f+`;pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;`;return y+=`position:`+((h||s)&&m?`fixed;`:`absolute;`),(h||s||!m)&&(y+=(r===Pc?Ql:$l)+`:`+(a+parseFloat(d))+`px;`),o&&(y+=`box-sizing:border-box;text-align:left;width:`+o.offsetWidth+`px;`),p._isStart=_,p.setAttribute(`class`,`gsap-marker-`+e+(t?` marker-`+t:``)),p.style.cssText=y,p.innerText=t||t===0?e+`-`+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p[`offset`+r.op.d2],Ou(p,0,r,_),p},Ou=function(e,t,n,r){var i={display:`block`},a=n[r?`os2`:`p2`],o=n[r?`p2`:`os2`];e._isFlipped=r,i[n.a+`Percent`]=r?-100:0,i[n.a]=r?`1px`:0,i[`border`+a+su]=1,i[`border`+o+su]=0,i[n.p]=t+`px`,q.set(e,i)},X=[],ku={},Au,ju=function(){return Cl()-Tl>34&&(Au||=requestAnimationFrame(ed))},Mu=function(){(!ul||!ul.isPressed||ul.startX>qc.clientWidth)&&(K.cache++,ul?Au||=requestAnimationFrame(ed):ed(),Tl||Ru(`scrollStart`),Tl=Cl())},Nu=function(){pl=J.innerWidth,fl=J.innerHeight},Pu=function(e){K.cache++,(e===!0||!el&&!ll&&!Gc.fullscreenElement&&!Gc.webkitFullscreenElement&&(!dl||pl!==J.innerWidth||Math.abs(J.innerHeight-fl)>J.innerHeight*.25))&&Yc.restart(!0)},Fu={},Iu=[],Lu=function e(){return xu(Z,`scrollEnd`,e)||Xu(!0)},Ru=function(e){return Fu[e]&&Fu[e].map(function(e){return e()})||Iu},zu=[],Bu=function(e){for(var t=0;t<zu.length;t+=5)(!e||zu[t+4]&&zu[t+4].query===e)&&(zu[t].style.cssText=zu[t+1],zu[t].getBBox&&zu[t].setAttribute(`transform`,zu[t+2]||``),zu[t+3].uncache=1)},Vu=function(){return K.forEach(function(e){return Wl(e)&&++e.cacheID&&(e.rec=e())})},Hu=function(e,t){var n;for(rl=0;rl<X.length;rl++)n=X[rl],n&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));yl=!0,t&&Bu(t),t||Ru(`revert`)},Uu=function(e,t){K.cache++,(t||!Wu)&&K.forEach(function(e){return Wl(e)&&e.cacheID++&&(e.rec=0)}),Ul(e)&&(J.history.scrollRestoration=gl=e)},Wu,Gu=0,Ku,qu=function(){if(Ku!==Gu){var e=Ku=Gu;requestAnimationFrame(function(){return e===Gu&&Xu(!0)})}},Ju=function(){qc.appendChild(_l),vl=!ul&&_l.offsetHeight||J.innerHeight,qc.removeChild(_l)},Yu=function(e){return Xc(`.gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end`).forEach(function(t){return t.style.display=e?`none`:`block`})},Xu=function(e,t){if(Kc=Gc.documentElement,qc=Gc.body,Jc=[J,Gc,Kc,qc],Tl&&!e&&!yl){bu(Z,`scrollEnd`,Lu);return}Ju(),Wu=Z.isRefreshing=!0,yl||Vu();var n=Ru(`refreshInit`);sl&&Z.sort(),t||Hu(),K.forEach(function(e){Wl(e)&&(e.smooth&&(e.target.style.scrollBehavior=`auto`),e(0))}),X.slice(0).forEach(function(e){return e.refresh()}),yl=!1,X.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?`offsetWidth`:`offsetHeight`,n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),bl=1,Yu(!0),X.forEach(function(e){var t=Vl(e.scroller,e._dir),n=e.vars.end===`max`||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),Yu(!1),bl=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),K.forEach(function(e){Wl(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior=`smooth`}),e.rec&&e(e.rec))}),Uu(gl,1),Yc.pause(),Gu++,Wu=2,ed(2),X.forEach(function(e){return Wl(e.vars.onRefresh)&&e.vars.onRefresh(e)}),Wu=Z.isRefreshing=!1,Ru(`refresh`)},Zu=0,Qu=1,$u,ed=function(e){if(e===2||!Wu&&!yl){Z.isUpdating=!0,$u&&$u.update(0);var t=X.length,n=Cl(),r=n-wl>=50,i=t&&X[0].scroll();if(Qu=Zu>i?-1:1,Wu||(Zu=i),r&&(Tl&&!tl&&n-Tl>200&&(Tl=0,Ru(`scrollEnd`)),Qc=wl,wl=n),Qu<0){for(rl=t;rl-- >0;)X[rl]&&X[rl].update(0,r);Qu=1}else for(rl=0;rl<t;rl++)X[rl]&&X[rl].update(0,r);Z.isUpdating=!1}Au=0},td=[Xl,Zl,$l,Ql,ou+au,ou+nu,ou+iu,ou+ru,`display`,`flexShrink`,`float`,`zIndex`,`gridColumnStart`,`gridColumnEnd`,`gridRowStart`,`gridRowEnd`,`gridArea`,`justifySelf`,`alignSelf`,`placeSelf`,`order`],nd=td.concat([eu,tu,`boxSizing`,`max`+su,`max`+cu,`position`,ou,Y,Y+iu,Y+nu,Y+au,Y+ru]),rd=function(e,t,n){od(n);var r=e._gsap;if(r.spacerIsNative)od(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},id=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i=td.length,a=t.style,o=e.style,s;i--;)s=td[i],a[s]=n[s];a.position=n.position===`absolute`?`absolute`:`relative`,n.display===`inline`&&(a.display=`inline-block`),o[$l]=o[Ql]=`auto`,a.flexBasis=n.flexBasis||`auto`,a.overflow=`visible`,a.boxSizing=`border-box`,a[eu]=mu(e,Nc)+lu,a[tu]=mu(e,Pc)+lu,a[Y]=o[ou]=o[Zl]=o[Xl]=`0`,od(r),o[eu]=o[`max`+su]=n[eu],o[tu]=o[`max`+cu]=n[tu],o[Y]=n[Y],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},ad=/([A-Z])/g,od=function(e){if(e){var t=e.t.style,n=e.length,r=0,i,a;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;r<n;r+=2)a=e[r+1],i=e[r],a?t[i]=a:t[i]&&t.removeProperty(i.replace(ad,`-$1`).toLowerCase())}},sd=function(e){for(var t=nd.length,n=e.style,r=[],i=0;i<t;i++)r.push(nd[i],n[nd[i]]);return r.t=e,r},cd=function(e,t,n){for(var r=[],i=e.length,a=n?8:0,o;a<i;a+=2)o=e[a],r.push(o,o in t?t[o]:e[a+1]);return r.t=e.t,r},ld={left:0,top:0},ud=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p){Wl(e)&&(e=e(s)),Ul(e)&&e.substr(0,3)===`max`&&(e=d+(e.charAt(4)===`=`?Eu(`0`+e.substr(3),n):0));var m=f?f.time():0,h,g,_;if(f&&f.seek(0),isNaN(e)||(e=+e),Gl(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),o&&Ou(o,n,r,!0);else{Wl(t)&&(t=t(s));var v=(e||`0`).split(` `),y,b,x,S;_=Fc(t,s)||qc,y=pu(_)||{},(!y||!y.left&&!y.top)&&uu(_).display===`none`&&(S=_.style.display,_.style.display=`block`,y=pu(_),S?_.style.display=S:_.style.removeProperty(`display`)),b=Eu(v[0],y[r.d]),x=Eu(v[1]||`0`,n),e=y[r.p]-c[r.p]-l+b+i-x,o&&Ou(o,x,r,n-x<20||o._isStart&&x>20),n-=n-x}if(p&&(s[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,w=a._isStart;h=`scroll`+r.d2,Ou(a,C,r,w&&C>20||!w&&(u?Math.max(qc[h],Kc[h]):a.parentNode[h])<=C+1),u&&(c=pu(o),u&&(a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+lu))}return f&&_&&(h=pu(_),f.seek(d),g=pu(_),f._caScrollDist=h[r.p]-g[r.p],e=e/f._caScrollDist*d),f&&f.seek(m),f?e:Math.round(e)},dd=/(webkit|moz|length|cssText|inset)/i,fd=function(e,t,n,r){if(e.parentNode!==t){var i=e.style,a,o;if(t===qc){for(a in e._stOrig=i.cssText,o=uu(e),o)!+a&&!dd.test(a)&&o[a]&&typeof i[a]==`string`&&a!==`0`&&(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},pd=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=Math.round(t),r}},md=function(e,t,n){var r={};r[t.p]=`+=`+n,q.set(e,r)},hd=function(e,t){var n=Lc(e,t),r=`_scroll`+t.p2,i=function t(i,a,o,s,c){var l=t.tween,u=a.onComplete,d={};o||=n();var f=pd(n,o,function(){l.kill(),t.tween=0});return c=s&&c||0,s||=i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=d,d[r]=function(){return f(o+s*l.ratio+c*l.ratio*l.ratio)},a.onUpdate=function(){K.cache++,t.tween&&ed()},a.onComplete=function(){t.tween=0,u&&u.call(l)},l=t.tween=q.to(e,a),l};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},bu(e,`wheel`,n.wheelHandler),Z.isTouch&&bu(e,`touchmove`,n.wheelHandler),i},Z=function(){function e(t,n){Wc||e.register(q)||console.warn(`Please gsap.registerPlugin(ScrollTrigger)`),hl(this),this.init(t,n)}var t=e.prototype;return t.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!El){this.update=this.refresh=this.kill=Ml;return}t=fu(Ul(t)||Gl(t)||t.nodeType?{trigger:t}:t,wu);var r=t,i=r.onUpdate,a=r.toggleClass,o=r.id,s=r.onToggle,c=r.onRefresh,l=r.scrub,u=r.trigger,d=r.pin,f=r.pinSpacing,p=r.invalidateOnRefresh,m=r.anticipatePin,h=r.onScrubComplete,g=r.onSnapComplete,_=r.once,v=r.snap,y=r.pinReparent,b=r.pinSpacer,x=r.containerAnimation,S=r.fastScrollEnd,C=r.preventOverlaps,w=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Nc:Pc,T=!l&&l!==0,E=Fc(t.scroller||J),D=q.core.getCache(E),O=Il(E),k=(`pinType`in t?t.pinType:Tc(E,`pinType`)||O&&`fixed`)===`fixed`,A=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=T&&t.toggleActions.split(` `),M=`markers`in t?t.markers:wu.markers,ee=O?0:parseFloat(uu(E)[`border`+w.p2+su])||0,N=this,te=t.onRefreshInit&&function(){return t.onRefreshInit(N)},P=zl(E,O,w),F=Bl(E,O),ne=0,re=0,ie=0,ae=Lc(E,w),oe,I,se,ce,le,ue,de,fe,L,pe,me,he,ge,_e,ve,ye,be,xe,R,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,z,Pe,Fe,Ie,Le,Re,ze,Be;if(N._startClamp=N._endClamp=!1,N._dir=w,m*=45,N.scroller=E,N.scroll=x?x.time.bind(x):ae,ce=ae(),N.vars=t,n||=t.animation,`refreshPriority`in t&&(sl=1,t.refreshPriority===-9999&&($u=N)),D.tweenScroll=D.tweenScroll||{top:hd(E,Pc),left:hd(E,Nc)},N.tweenTo=oe=D.tweenScroll[w.p],N.scrubDuration=function(e){Pe=Gl(e)&&e,Pe?z?z.duration(e):z=q.to(n,{ease:`expo`,totalProgress:`+=0`,inherit:!1,duration:Pe,paused:!0,onComplete:function(){return h&&h(N)}}):(z&&z.progress(1).kill(),z=0)},n&&(n.vars.lazy=!1,n._initted&&!N.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),N.animation=n.pause(),n.scrollTrigger=N,N.scrubDuration(l),Me=0,o||=n.vars.id),v&&((!Kl(v)||v.push)&&(v={snapTo:v}),`scrollBehavior`in qc.style&&q.set(O?[qc,Kc]:E,{scrollBehavior:`auto`}),K.forEach(function(e){return Wl(e)&&e.target===(O?Gc.scrollingElement||Kc:E)&&(e.smooth=!1)}),se=Wl(v.snapTo)?v.snapTo:v.snapTo===`labels`?gu(n):v.snapTo===`labelsDirectional`?vu(n):v.directional===!1?q.utils.snap(v.snapTo):function(e,t){return _u(v.snapTo)(e,Cl()-re<500?0:t.direction)},Fe=v.duration||{min:.1,max:2},Fe=Kl(Fe)?Zc(Fe.min,Fe.max):Zc(Fe,Fe),Ie=q.delayedCall(v.delay||Pe/2||.1,function(){var e=ae(),t=Cl()-re<500,r=oe.tween;if((t||Math.abs(N.getVelocity())<10)&&!r&&!tl&&ne!==e){var i=(e-ue)/_e,a=n&&!T?n.totalProgress():i,o=t?0:(a-Ne)/(Cl()-Qc)*1e3||0,s=q.utils.clamp(-i,1-i,Yl(o/2)*o/.185),c=i+(v.inertia===!1?0:s),l,u,d=v,f=d.onStart,p=d.onInterrupt,m=d.onComplete;if(l=se(c,N),Gl(l)||(l=c),u=Math.max(0,Math.round(ue+l*_e)),e<=de&&e>=ue&&u!==e){if(r&&!r._initted&&r.data<=Yl(u-e))return;v.inertia===!1&&(s=l-i),oe(u,{duration:Fe(Yl(Math.max(Yl(c-a),Yl(l-a))*.185/o/.05||0)),ease:v.ease||`power3`,data:Yl(u-e),onInterrupt:function(){return Ie.restart(!0)&&p&&Jl(N,p)},onComplete:function(){N.update(),ne=ae(),n&&!T&&(z?z.resetTo(`totalProgress`,l,n._tTime/n._tDur):n.progress(l)),Me=Ne=n&&!T?n.totalProgress():N.progress,g&&g(N),m&&Jl(N,m)}},e,s*_e,u-e-s*_e),f&&Jl(N,f,oe.tween)}}else N.isActive&&ne!==e&&Ie.restart(!0)}).pause()),o&&(ku[o]=N),u=N.trigger=Fc(u||d!==!0&&d),Be=u&&u._gsap&&u._gsap.stRevert,Be&&=Be(N),d=d===!0?u:Fc(d),Ul(a)&&(a={targets:u,className:a}),d&&(f===!1||f===ou||(f=!f&&d.parentNode&&d.parentNode.style&&uu(d.parentNode).display===`flex`?!1:Y),N.pin=d,I=q.core.getCache(d),I.spacer?ve=I.pinState:(b&&(b=Fc(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),I.spacerIsNative=!!b,b&&(I.spacerState=sd(b))),I.spacer=xe=b||Gc.createElement(`div`),xe.classList.add(`pin-spacer`),o&&xe.classList.add(`pin-spacer-`+o),I.pinState=ve=sd(d)),t.force3D!==!1&&q.set(d,{force3D:!0}),N.spacer=xe=I.spacer,je=uu(d),Ee=je[f+w.os2],Se=q.getProperty(d),Ce=q.quickSetter(d,w.a,lu),id(d,xe,je),be=sd(d)),M){he=Kl(M)?fu(M,Cu):Cu,pe=Du(`scroller-start`,o,E,w,he,0),me=Du(`scroller-end`,o,E,w,he,0,pe),R=pe[`offset`+w.op.d2];var Ve=Fc(Tc(E,`content`)||E);fe=this.markerStart=Du(`start`,o,Ve,w,he,R,0,x),L=this.markerEnd=Du(`end`,o,Ve,w,he,R,0,x),x&&(ze=q.quickSetter([fe,L],w.a,lu)),!k&&!(xc.length&&Tc(E,`fixedMarkers`)===!0)&&(du(O?qc:E),q.set([pe,me],{force3D:!0}),Oe=q.quickSetter(pe,w.a,lu),Ae=q.quickSetter(me,w.a,lu))}if(x){var He=x.vars.onUpdate,Ue=x.vars.onUpdateParams;x.eventCallback(`onUpdate`,function(){N.update(0,0,1),He&&He.apply(x,Ue||[])})}if(N.previous=function(){return X[X.indexOf(N)-1]},N.next=function(){return X[X.indexOf(N)+1]},N.revert=function(e,t){if(!t)return N.kill(!0);var r=e!==!1||!N.enabled,i=el;r!==N.isReverted&&(r&&(Le=Math.max(ae(),N.scroll.rec||0),ie=N.progress,Re=n&&n.progress()),fe&&[fe,L,pe,me].forEach(function(e){return e.style.display=r?`none`:`block`}),r&&(el=N,N.update(r)),d&&(!y||!N.isActive)&&(r?rd(d,xe,ve):id(d,xe,uu(d),De)),r||N.update(r),el=i,N.isReverted=r)},N.refresh=function(r,i,a,o){if(!((el||!N.enabled)&&!i)){if(d&&r&&Tl){bu(e,`scrollEnd`,Lu);return}!Wu&&te&&te(N),el=N,oe.tween&&!a&&(oe.tween.kill(),oe.tween=0),z&&z.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),N.isReverted||N.revert(!0,!0),N._subPinOffset=!1;var s=P(),l=F(),m=x?x.duration():Vl(E,w),h=_e<=.01||!_e,g=0,_=o||0,v=Kl(a)?a.end:t.end,b=t.endTrigger||u,S=Kl(a)?a.start:t.start||(t.start===0||!u?0:d?`0 0`:`0 100%`),C=N.pinnedContainer=t.pinnedContainer&&Fc(t.pinnedContainer,N),D=u&&Math.max(0,X.indexOf(N))||0,A=D,j,I,se,he,R,Ce,Ee,Oe,Ae,je,Me,Ne,Pe;for(M&&Kl(a)&&(Ne=q.getProperty(pe,w.p),Pe=q.getProperty(me,w.p));A-- >0;)Ce=X[A],Ce.end||Ce.refresh(0,1)||(el=N),Ee=Ce.pin,Ee&&(Ee===u||Ee===d||Ee===C)&&!Ce.isReverted&&(je||=[],je.unshift(Ce),Ce.revert(!0,!0)),Ce!==X[A]&&(D--,A--);for(Wl(S)&&(S=S(N)),S=Dl(S,`start`,N),ue=ud(S,u,s,w,ae(),fe,pe,N,l,ee,k,m,x,N._startClamp&&`_startClamp`)||(d?-.001:0),Wl(v)&&(v=v(N)),Ul(v)&&!v.indexOf(`+=`)&&(~v.indexOf(` `)?v=(Ul(S)?S.split(` `)[0]:``)+v:(g=Eu(v.substr(2),s),v=Ul(S)?S:(x?q.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,ue):ue)+g,b=u)),v=Dl(v,`end`,N),de=Math.max(ue,ud(v||(b?`100% 0`:m),b,s,w,ae()+g,L,me,N,l,ee,k,m,x,N._endClamp&&`_endClamp`))||-.001,g=0,A=D;A--;)Ce=X[A]||{},Ee=Ce.pin,Ee&&Ce.start-Ce._pinPush<=ue&&!x&&Ce.end>0&&(j=Ce.end-(N._startClamp?Math.max(0,Ce.start):Ce.start),(Ee===u&&Ce.start-Ce._pinPush<ue||Ee===C)&&isNaN(S)&&(g+=j*(1-Ce.progress)),Ee===d&&(_+=j));if(ue+=g,de+=g,N._startClamp&&(N._startClamp+=g),N._endClamp&&!Wu&&(N._endClamp=de||-.001,de=Math.min(de,Vl(E,w))),_e=de-ue||(ue-=.01)&&.001,h&&(ie=q.utils.clamp(0,1,q.utils.normalize(ue,de,Le))),N._pinPush=_,fe&&g&&(j={},j[w.a]=`+=`+g,C&&(j[w.p]=`-=`+ae()),q.set([fe,L],j)),d&&!(bl&&N.end>=Vl(E,w)))j=uu(d),he=w===Pc,se=ae(),we=parseFloat(Se(w.a))+_,!m&&de>1&&(Me=(O?Gc.scrollingElement||Kc:E).style,Me={style:Me,value:Me[`overflow`+w.a.toUpperCase()]},O&&uu(qc)[`overflow`+w.a.toUpperCase()]!==`scroll`&&(Me.style[`overflow`+w.a.toUpperCase()]=`scroll`)),id(d,xe,j),be=sd(d),I=pu(d,!0),Oe=k&&Lc(E,he?Nc:Pc)(),f?(De=[f+w.os2,_e+_+lu],De.t=xe,A=f===Y?mu(d,w)+_e+_:0,A&&(De.push(w.d,A+lu),xe.style.flexBasis!==`auto`&&(xe.style.flexBasis=A+lu)),od(De),C&&X.forEach(function(e){e.pin===C&&e.vars.pinSpacing!==!1&&(e._subPinOffset=!0)}),k&&ae(Le)):(A=mu(d,w),A&&xe.style.flexBasis!==`auto`&&(xe.style.flexBasis=A+lu)),k&&(R={top:I.top+(he?se-ue:Oe)+lu,left:I.left+(he?Oe:se-ue)+lu,boxSizing:`border-box`,position:`fixed`},R[eu]=R[`max`+su]=Math.ceil(I.width)+lu,R[tu]=R[`max`+cu]=Math.ceil(I.height)+lu,R[ou]=R[ou+iu]=R[ou+nu]=R[ou+au]=R[ou+ru]=`0`,R[Y]=j[Y],R[Y+iu]=j[Y+iu],R[Y+nu]=j[Y+nu],R[Y+au]=j[Y+au],R[Y+ru]=j[Y+ru],ye=cd(ve,R,y),Wu&&ae(0)),n?(Ae=n._initted,cl(1),n.render(n.duration(),!0,!0),Te=Se(w.a)-we+_e+_,ke=Math.abs(_e-Te)>1,k&&ke&&ye.splice(ye.length-2,2),n.render(0,!0,!0),Ae||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),cl(0)):Te=_e,Me&&(Me.value?Me.style[`overflow`+w.a.toUpperCase()]=Me.value:Me.style.removeProperty(`overflow-`+w.a));else if(u&&ae()&&!x)for(I=u.parentNode;I&&I!==qc;)I._pinOffset&&(ue-=I._pinOffset,de-=I._pinOffset),I=I.parentNode;je&&je.forEach(function(e){return e.revert(!1,!0)}),N.start=ue,N.end=de,ce=le=Wu?Le:ae(),!x&&!Wu&&(ce<Le&&ae(Le),N.scroll.rec=0),N.revert(!1,!0),re=Cl(),Ie&&(ne=-1,Ie.restart(!0)),el=0,n&&T&&(n._initted||Re)&&n.progress()!==Re&&n.progress(Re||0,!0).render(n.time(),!0,!0),(h||ie!==N.progress||x||p||n&&!n._initted)&&(n&&!T&&(n._initted||ie||n.vars.immediateRender!==!1)&&n.totalProgress(x&&ue<-.001&&!ie?q.utils.normalize(ue,de,0):ie,!0),N.progress=h||(ce-ue)/_e===ie?0:ie),d&&f&&(xe._pinOffset=Math.round(N.progress*Te)),z&&z.invalidate(),isNaN(Ne)||(Ne-=q.getProperty(pe,w.p),Pe-=q.getProperty(me,w.p),md(pe,w,Ne),md(fe,w,Ne-(o||0)),md(me,w,Pe),md(L,w,Pe-(o||0))),h&&!Wu&&N.update(),c&&!Wu&&!ge&&(ge=!0,c(N),ge=!1)}},N.getVelocity=function(){return(ae()-le)/(Cl()-Qc)*1e3||0},N.endAnimation=function(){ql(N.callbackAnimation),n&&(z?z.progress(1):n.paused()?T||ql(n,N.direction<0,1):ql(n,n.reversed()))},N.labelToScroll=function(e){return n&&n.labels&&(ue||N.refresh()||ue)+n.labels[e]/n.duration()*_e||0},N.getTrailing=function(e){var t=X.indexOf(N),n=N.direction>0?X.slice(0,t).reverse():X.slice(t+1);return(Ul(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return N.direction>0?e.end<=ue:e.start>=de})},N.update=function(e,t,r){if(!(x&&!r&&!e)){var o=Wu===!0?Le:N.scroll(),c=e?0:(o-ue)/_e,u=c<0?0:c>1?1:c||0,p=N.progress,h,g,b,D,O,M,ee,te;if(t&&(le=ce,ce=x?ae():o,v&&(Ne=Me,Me=n&&!T?n.totalProgress():u)),m&&d&&!el&&!Sl&&Tl&&(!u&&ue<o+(o-le)/(Cl()-Qc)*m?u=1e-4:u===1&&de>o+(o-le)/(Cl()-Qc)*m&&(u=.9999)),u!==p&&N.enabled){if(h=N.isActive=!!u&&u<1,g=!!p&&p<1,M=h!==g,O=M||!!u!=!!p,N.direction=u>p?1:-1,N.progress=u,O&&!el&&(b=u&&!p?0:u===1?1:p===1?2:3,T&&(D=!M&&j[b+1]!==`none`&&j[b+1]||j[b],te=n&&(D===`complete`||D===`reset`||D in n))),C&&(M||te)&&(te||l||!n)&&(Wl(C)?C(N):N.getTrailing(C).forEach(function(e){return e.endAnimation()})),T||(z&&!el&&!Sl?(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo(`totalProgress`,u,n._tTime/n._tDur):(z.vars.totalProgress=u,z.invalidate().restart())):n&&n.totalProgress(u,!!(el&&(re||e)))),d){if(e&&f&&(xe.style[f+w.os2]=Ee),!k)Ce(Nl(we+Te*u));else if(O){if(ee=!e&&u>p&&de+1>o&&o+1>=Vl(E,w),y)if(!e&&(h||ee)){var P=pu(d,!0),F=o-ue;fd(d,qc,P.top+(w===Pc?F:0)+lu,P.left+(w===Pc?0:F)+lu)}else fd(d,xe);od(h||ee?ye:be),ke&&u<1&&h||Ce(we+(u===1&&!ee?Te:0))}}v&&!oe.tween&&!el&&!Sl&&Ie.restart(!0),a&&(M||_&&u&&(u<1||!xl))&&Xc(a.targets).forEach(function(e){return e.classList[h||_?`add`:`remove`](a.className)}),i&&!T&&!e&&i(N),O&&!el?(T&&(te&&(D===`complete`?n.pause().totalProgress(1):D===`reset`?n.restart(!0).pause():D===`restart`?n.restart(!0):n[D]()),i&&i(N)),(M||!xl)&&(s&&M&&Jl(N,s),A[b]&&Jl(N,A[b]),_&&(u===1?N.kill(!1,1):A[b]=0),M||(b=u===1?1:3,A[b]&&Jl(N,A[b]))),S&&!h&&Math.abs(N.getVelocity())>(Gl(S)?S:2500)&&(ql(N.callbackAnimation),z?z.progress(1):ql(n,D===`reverse`?1:!u,1))):T&&i&&!el&&i(N)}if(Ae){var ne=x?o/x.duration()*(x._caScrollDist||0):o;Oe(ne+ +!!pe._isFlipped),Ae(ne)}ze&&ze(-o/x.duration()*(x._caScrollDist||0))}},N.enable=function(t,n){N.enabled||(N.enabled=!0,bu(E,`resize`,Pu),O||bu(E,`scroll`,Mu),te&&bu(e,`refreshInit`,te),t!==!1&&(N.progress=ie=0,ce=le=ne=ae()),n!==!1&&N.refresh())},N.getTween=function(e){return e&&oe?oe.tween:z},N.setPositions=function(e,t,n,r){if(x){var i=x.scrollTrigger,a=x.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}N.refresh(!1,!1,{start:Ol(e,n&&!!N._startClamp),end:Ol(t,n&&!!N._endClamp)},r),N.update()},N.adjustPinSpacing=function(e){if(De&&e){var t=De.indexOf(w.d)+1;De[t]=parseFloat(De[t])+e+lu,De[1]=parseFloat(De[1])+e+lu,od(De)}},N.disable=function(t,n){if(t!==!1&&N.revert(!0,!0),N.enabled&&(N.enabled=N.isActive=!1,n||z&&z.pause(),Le=0,I&&(I.uncache=1),te&&xu(e,`refreshInit`,te),Ie&&(Ie.pause(),oe.tween&&oe.tween.kill()&&(oe.tween=0)),!O)){for(var r=X.length;r--;)if(X[r].scroller===E&&X[r]!==N)return;xu(E,`resize`,Pu),O||xu(E,`scroll`,Mu)}},N.kill=function(e,r){N.disable(e,r),z&&!r&&z.kill(),o&&delete ku[o];var i=X.indexOf(N);i>=0&&X.splice(i,1),i===rl&&Qu>0&&rl--,i=0,X.forEach(function(e){return e.scroller===N.scroller&&(i=1)}),i||Wu||(N.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),fe&&[fe,L,pe,me].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),$u===N&&($u=0),d&&(I&&(I.uncache=1),i=0,X.forEach(function(e){return e.pin===d&&i++}),i||(I.spacer=0)),t.onKill&&t.onKill(N)},X.push(N),N.enable(!1,!1),Be&&Be(N),n&&n.add&&!_e){var We=N.update;N.update=function(){N.update=We,K.cache++,ue||de||N.refresh()},q.delayedCall(.01,N.update),_e=.01,ue=de=0}else N.refresh();d&&qu()},e.register=function(t){return Wc||=(q=t||Fl(),Pl()&&window.document&&e.enable(),El),Wc},e.defaults=function(e){if(e)for(var t in e)wu[t]=e[t];return wu},e.disable=function(e,t){El=0,X.forEach(function(n){return n[t?`kill`:`disable`](e)}),xu(J,`wheel`,Mu),xu(Gc,`scroll`,Mu),clearInterval($c),xu(Gc,`touchcancel`,Ml),xu(qc,`touchstart`,Ml),yu(xu,Gc,`pointerdown,touchstart,mousedown`,Al),yu(xu,Gc,`pointerup,touchend,mouseup`,jl),Yc.kill(),Hl(xu);for(var n=0;n<K.length;n+=3)Su(xu,K[n],K[n+1]),Su(xu,K[n],K[n+2])},e.enable=function(){if(J=window,Gc=document,Kc=Gc.documentElement,qc=Gc.body,q)if(Xc=q.utils.toArray,Zc=q.utils.clamp,hl=q.core.context||Ml,cl=q.core.suppressOverwrites||Ml,gl=J.history.scrollRestoration||`auto`,Zu=J.pageYOffset||0,q.core.globals(`ScrollTrigger`,e),qc){El=1,_l=document.createElement(`div`),_l.style.height=`100vh`,_l.style.position=`absolute`,Ju(),kl(),Uc.register(q),e.isTouch=Uc.isTouch,ml=Uc.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),dl=Uc.isTouch===1,bu(J,`wheel`,Mu),Jc=[J,Gc,Kc,qc],q.matchMedia?(e.matchMedia=function(e){var t=q.matchMedia(),n;for(n in e)t.add(n,e[n]);return t},q.addEventListener(`matchMediaInit`,function(){Vu(),Hu()}),q.addEventListener(`matchMediaRevert`,function(){return Bu()}),q.addEventListener(`matchMedia`,function(){Xu(0,1),Ru(`matchMedia`)}),q.matchMedia().add(`(orientation: portrait)`,function(){return Nu(),Nu})):console.warn(`Requires GSAP 3.11.0 or later`),Nu(),bu(Gc,`scroll`,Mu);var t=qc.hasAttribute(`style`),n=qc.style,r=n.borderTopStyle,i=q.core.Animation.prototype,a,o;for(i.revert||Object.defineProperty(i,`revert`,{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle=`solid`,a=pu(qc),Pc.m=Math.round(a.top+Pc.sc())||0,Nc.m=Math.round(a.left+Nc.sc())||0,r?n.borderTopStyle=r:n.removeProperty(`border-top-style`),t||(qc.setAttribute(`style`,``),qc.removeAttribute(`style`)),$c=setInterval(ju,250),q.delayedCall(.5,function(){return Sl=0}),bu(Gc,`touchcancel`,Ml),bu(qc,`touchstart`,Ml),yu(bu,Gc,`pointerdown,touchstart,mousedown`,Al),yu(bu,Gc,`pointerup,touchend,mouseup`,jl),nl=q.utils.checkPrefix(`transform`),nd.push(nl),Wc=Cl(),Yc=q.delayedCall(.2,Xu).pause(),ol=[Gc,`visibilitychange`,function(){var e=J.innerWidth,t=J.innerHeight;Gc.hidden?(il=e,al=t):(il!==e||al!==t)&&Pu()},Gc,`DOMContentLoaded`,Xu,J,`load`,Xu,J,`resize`,Pu],Hl(bu),X.forEach(function(e){return e.enable(0,1)}),o=0;o<K.length;o+=3)Su(xu,K[o],K[o+1]),Su(xu,K[o],K[o+2])}else Gc&&Gc.addEventListener(`DOMContentLoaded`,function t(){e.enable(),Gc.removeEventListener(`DOMContentLoaded`,t)})},e.config=function(t){`limitCallbacks`in t&&(xl=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval($c)||($c=n)&&setInterval(ju,n),`ignoreMobileResize`in t&&(dl=e.isTouch===1&&t.ignoreMobileResize),`autoRefreshEvents`in t&&(Hl(xu)||Hl(bu,t.autoRefreshEvents||`none`),ll=(t.autoRefreshEvents+``).indexOf(`resize`)===-1)},e.scrollerProxy=function(e,t){var n=Fc(e),r=K.indexOf(n),i=Il(n);~r&&K.splice(r,i?6:2),t&&(i?xc.unshift(J,t,qc,t,Kc,t):xc.unshift(n,t))},e.clearMatchMedia=function(e){X.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,n){var r=(Ul(e)?Fc(e):e).getBoundingClientRect(),i=r[n?eu:tu]*t||0;return n?r.right-i>0&&r.left+i<J.innerWidth:r.bottom-i>0&&r.top+i<J.innerHeight},e.positionInViewport=function(e,t,n){Ul(e)&&(e=Fc(e));var r=e.getBoundingClientRect(),i=r[n?eu:tu],a=t==null?i/2:t in Tu?Tu[t]*i:~t.indexOf(`%`)?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/J.innerWidth:(r.top+a)/J.innerHeight},e.killAll=function(e){if(X.slice(0).forEach(function(e){return e.vars.id!==`ScrollSmoother`&&e.kill()}),e!==!0){var t=Fu.killAll||[];Fu={},t.forEach(function(e){return e()})}},e}();Z.version=`3.15.0`,Z.saveStyles=function(e){return e?Xc(e).forEach(function(e){if(e&&e.style){var t=zu.indexOf(e);t>=0&&zu.splice(t,5),zu.push(e,e.style.cssText,e.getBBox&&e.getAttribute(`transform`),q.core.getCache(e),hl())}}):zu},Z.revert=function(e,t){return Hu(!e,t)},Z.create=function(e,t){return new Z(e,t)},Z.refresh=function(e){return e?Pu(!0):(Wc||Z.register())&&Xu(!0)},Z.update=function(e){return++K.cache&&ed(e===!0?2:0)},Z.clearScrollMemory=Uu,Z.maxScroll=function(e,t){return Vl(e,t?Nc:Pc)},Z.getScrollFunc=function(e,t){return Lc(Fc(e),t?Nc:Pc)},Z.getById=function(e){return ku[e]},Z.getAll=function(){return X.filter(function(e){return e.vars.id!==`ScrollSmoother`})},Z.isScrolling=function(){return!!Tl},Z.snapDirectional=_u,Z.addEventListener=function(e,t){var n=Fu[e]||(Fu[e]=[]);~n.indexOf(t)||n.push(t)},Z.removeEventListener=function(e,t){var n=Fu[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Z.batch=function(e,t){var n=[],r={},i=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var n=[],r=[],o=q.delayedCall(i,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),a<=n.length&&o.progress(1)}},s;for(s in t)r[s]=s.substr(0,2)===`on`&&Wl(t[s])&&s!==`onRefreshInit`?o(s,t[s]):t[s];return Wl(a)&&(a=a(),bu(Z,`refresh`,function(){return a=t.batchMax()})),Xc(e).forEach(function(e){var t={};for(s in r)t[s]=r[s];t.trigger=e,n.push(Z.create(t))}),n};var gd=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},_d=function e(t,n){n===!0?t.style.removeProperty(`touch-action`):t.style.touchAction=n===!0?`auto`:n?`pan-`+n+(Uc.isTouch?` pinch-zoom`:``):`none`,t===Kc&&e(qc,n)},vd={auto:1,scroll:1},yd=function(e){var t=e.event,n=e.target,r=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,a=i._gsap||q.core.getCache(i),o=Cl(),s;if(!a._isScrollT||o-a._isScrollT>2e3){for(;i&&i!==qc&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(vd[(s=uu(i)).overflowY]||vd[s.overflowX]));)i=i.parentNode;a._isScroll=i&&i!==n&&!Il(i)&&(vd[(s=uu(i)).overflowY]||vd[s.overflowX]),a._isScrollT=o}(a._isScroll||r===`x`)&&(t.stopPropagation(),t._gsapAllow=!0)},Q=function(e,t,n,r){return Uc.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r&&=yd,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&bu(Gc,Uc.eventTypes[0],Sd,!1,!0)},onDisable:function(){return xu(Gc,Uc.eventTypes[0],Sd,!0)}})},bd=/(input|label|select|textarea)/i,xd,Sd=function(e){var t=bd.test(e.target.tagName);(t||xd)&&(e._gsapAllow=!0,xd=t)},Cd=function(e){Kl(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||=`wheel,touch`,e.debounce=!!e.debounce,e.id=e.id||`normalizer`;var t=e,n=t.normalizeScrollX,r=t.momentum,i=t.allowNestedScroll,a=t.onRelease,o,s,c=Fc(e.target)||Kc,l=q.core.globals().ScrollSmoother,u=l&&l.get(),d=ml&&(e.content&&Fc(e.content)||u&&e.content!==!1&&!u.smooth()&&u.content()),f=Lc(c,Pc),p=Lc(c,Nc),m=1,h=(Uc.isTouch&&J.visualViewport?J.visualViewport.scale*J.visualViewport.width:J.outerWidth)/J.innerWidth,g=0,_=Wl(r)?function(){return r(o)}:function(){return r||2.8},v,y,b=Q(c,e.type,!0,i),x=function(){return y=!1},S=Ml,C=Ml,w=function(){s=Vl(c,Pc),C=Zc(+!!ml,s),n&&(S=Zc(0,Vl(c,Nc))),v=Gu},T=function(){d._gsap.y=Nl(parseFloat(d._gsap.y)+f.offset)+`px`,d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+parseFloat(d._gsap.y)+`, 0, 1)`,f.offset=f.cacheID=0},E=function(){if(y){requestAnimationFrame(x);var e=Nl(o.deltaY/2),t=C(f.v-e);if(d&&t!==f.v+f.offset){f.offset=t-f.v;var n=Nl((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+n+`, 0, 1)`,d._gsap.y=n+`px`,f.cacheID=K.cache,ed()}return!0}f.offset&&T(),y=!0},D,O,k,A,j=function(){w(),D.isActive()&&D.vars.scrollY>s&&(f()>s?D.progress(1)&&f(s):D.resetTo(`scrollY`,s))};return d&&q.set(d,{y:`+=0`}),e.ignoreCheck=function(e){return ml&&e.type===`touchmove`&&E(e)||m>1.05&&e.type!==`touchstart`||o.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){y=!1;var e=m;m=Nl((J.visualViewport&&J.visualViewport.scale||1)/h),D.pause(),e!==m&&_d(c,m>1.01?!0:n?!1:`x`),O=p(),k=f(),w(),v=Gu},e.onRelease=e.onGestureStart=function(e,t){if(f.offset&&T(),!t)A.restart(!0);else{K.cache++;var r=_(),i,o;n&&(i=p(),o=i+r*.05*-e.velocityX/.227,r*=gd(p,i,o,Vl(c,Nc)),D.vars.scrollX=S(o)),i=f(),o=i+r*.05*-e.velocityY/.227,r*=gd(f,i,o,Vl(c,Pc)),D.vars.scrollY=C(o),D.invalidate().duration(r).play(.01),(ml&&D.vars.scrollY>=s||i>=s-1)&&q.to({},{onUpdate:j,duration:r})}a&&a(e)},e.onWheel=function(){D._ts&&D.pause(),Cl()-g>1e3&&(v=0,g=Cl())},e.onChange=function(e,t,r,i,a){if(Gu!==v&&w(),t&&n&&p(S(i[2]===t?O+(e.startX-e.x):p()+t-i[1])),r){f.offset&&T();var o=a[2]===r,s=o?k+e.startY-e.y:f()+r-a[1],c=C(s);o&&s!==c&&(k+=c-s),f(c)}(r||t)&&ed()},e.onEnable=function(){_d(c,n?!1:`x`),Z.addEventListener(`refresh`,j),bu(J,`resize`,j),f.smooth&&=(f.target.style.scrollBehavior=`auto`,p.smooth=!1),b.enable()},e.onDisable=function(){_d(c,!0),xu(J,`resize`,j),Z.removeEventListener(`refresh`,j),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new Uc(e),o.iOS=ml,ml&&!f()&&f(1),ml&&q.ticker.add(Ml),A=o._dc,D=q.to(o,{ease:`power4`,paused:!0,inherit:!1,scrollX:n?`+=0.1`:`+=0`,scrollY:`+=0.1`,modifiers:{scrollY:pd(f,f(),function(){return D.pause()})},onUpdate:ed,onComplete:A.vars.onComplete}),o};Z.sort=function(e){if(Wl(e))return X.sort(e);var t=J.pageYOffset||0;return Z.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+J.innerHeight}),X.sort(e||function(e,t){return(e.vars.refreshPriority||0)*-1e6+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})},Z.observe=function(e){return new Uc(e)},Z.normalizeScroll=function(e){if(e===void 0)return ul;if(e===!0&&ul)return ul.enable();if(e===!1){ul&&ul.kill(),ul=e;return}var t=e instanceof Uc?e:Cd(e);return ul&&ul.target===t.target&&ul.kill(),Il(t.target)&&(ul=t),t},Z.core={_getVelocityProp:Rc,_inputObserver:Q,_scrollers:K,_proxies:xc,bridge:{ss:function(){Tl||Ru(`scrollStart`),Tl=Cl()},ref:function(){return el}}},Fl()&&q.registerPlugin(Z),G.registerPlugin(Z);function wd(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)(null),r=(0,w.useRef)(null),i=(0,w.useRef)(null),a=(0,w.useRef)(null),o=(0,w.useRef)(null);return(0,w.useEffect)(()=>{let s=G.context(()=>{let s=r.current;s&&(s.pause(),s.currentTime=0),G.set(n.current,{opacity:0,scale:1.12,filter:`blur(12px)`}),G.set(a.current,{opacity:0,y:54,x:0,scale:.965,filter:`blur(10px)`}),G.set(o.current,{width:`0%`}),G.set(`.fill-line`,{backgroundPosition:`100% 0%`});let c=Z.create({trigger:e.current,start:`top top`,end:`+=1400`,onEnter:()=>document.body.classList.add(`is-dark-hero`),onEnterBack:()=>document.body.classList.add(`is-dark-hero`),onLeave:()=>document.body.classList.remove(`is-dark-hero`),onLeaveBack:()=>document.body.classList.remove(`is-dark-hero`)}),l=!1;return G.timeline({scrollTrigger:{trigger:e.current,start:`top top`,end:`+=1400`,scrub:.8,pin:!0,anticipatePin:1,fastScrollEnd:!0,preventOverlaps:!0,onUpdate:e=>{G.set(o.current,{width:`${e.progress*100}%`}),s&&(e.progress>=.42&&!l&&(l=!0,s.play().catch(()=>{})),e.progress<.42&&l&&(l=!1,s.pause(),s.currentTime=0))}}}).to(t.current,{width:`100vw`,height:`100vh`,borderRadius:0,ease:`power2.out`,duration:1},.15).to(t.current,{scale:1.08,ease:`none`},.15).to(`.fill-line`,{backgroundPosition:`0% 0%`,ease:`none`,stagger:.07,duration:.55},.25).to(n.current,{opacity:1,scale:1.035,filter:`blur(0px)`,ease:`none`},1.1).to(i.current,{opacity:0,y:-34,scale:.985,filter:`blur(8px)`,ease:`none`},1.25).to(a.current,{opacity:1,y:0,scale:1,filter:`blur(0px)`,ease:`none`},1.4).to(n.current,{scale:1.095,ease:`none`},1.75),()=>{s&&(s.pause(),s.currentTime=0),c.kill(),document.body.classList.remove(`is-dark-hero`)}},e);return()=>{s.revert(),Z.getAll().forEach(e=>e.kill()),document.querySelectorAll(`[data-gsap-pin-spacer]`).forEach(e=>{let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}}),document.body.style.removeProperty(`overflow`),document.body.style.removeProperty(`padding-bottom`),document.body.style.removeProperty(`height`),document.documentElement.style.removeProperty(`overflow`),document.documentElement.style.removeProperty(`height`),document.body.classList.remove(`is-dark-hero`)}},[]),(0,B.jsx)(`section`,{className:`main-section`,ref:e,children:(0,B.jsx)(`div`,{className:`main-bg-wrap`,children:(0,B.jsxs)(`div`,{className:`main-bg`,ref:t,children:[(0,B.jsx)(`div`,{className:`main-bg-hero1`}),(0,B.jsx)(`div`,{className:`main-bg-hero2`,ref:n,children:(0,B.jsx)(`video`,{ref:r,className:`hero-video`,src:`./images/mainvideo.mp4`,muted:!0,loop:!0,playsInline:!0,preload:`auto`})}),(0,B.jsx)(`div`,{className:`main-visible-atmo main-visible-atmo1`}),(0,B.jsx)(`div`,{className:`main-visible-atmo main-visible-atmo2`}),(0,B.jsx)(`div`,{className:`main-visible-beam main-visible-beam1`}),(0,B.jsx)(`div`,{className:`main-visible-beam main-visible-beam2`}),(0,B.jsx)(`div`,{className:`main-visible-haze`}),(0,B.jsx)(`div`,{className:`main-grid`}),(0,B.jsxs)(`div`,{className:`main-text`,children:[(0,B.jsxs)(`div`,{className:`text text-fill text-left-bottom`,ref:i,children:[(0,B.jsx)(`span`,{className:`main-kicker`,children:`PAL NETWORKS`}),(0,B.jsx)(`span`,{className:`fill-line`,children:`Technology Partner for`}),(0,B.jsx)(`br`,{}),(0,B.jsx)(`span`,{className:`fill-line`,children:`Advanced Air Mobility`})]}),(0,B.jsxs)(`div`,{className:`text text-change text-center-hero`,ref:a,children:[`항공 데이터와 통합 관제 기술로`,(0,B.jsx)(`br`,{}),`안전한 하늘길을 설계합니다`]})]}),(0,B.jsx)(`div`,{className:`main-progress`,children:(0,B.jsx)(`span`,{className:`main-progress-bar`,ref:o})}),(0,B.jsxs)(`div`,{className:`main-scroll-indicator`,children:[(0,B.jsx)(`span`,{className:`main-scroll-line`}),(0,B.jsx)(`span`,{className:`main-scroll-text`,children:`SCROLL`})]})]})})})}G.registerPlugin(Z);function Td(){let e=(0,w.useRef)(null),t=(0,w.useRef)([]),n=[{step:`01`,label:`비행 검토`,title:`비행가능여부 확인`,desc:`선택한 공역에서 드론 비행 가능 여부와 제한 조건을 실시간으로 확인합니다.`},{step:`02`,label:`승인 신청`,title:`자동비행승인 신청`,desc:`복잡한 승인 절차 없이 간편하게 비행 자동 승인을 신청할 수 있습니다.`},{step:`03`,label:`비행 관제`,title:`실시간 모니터링`,desc:`드론의 위치, 비행 경로, 운항 상태를 실시간으로 확인하고 모니터링합니다.`},{step:`04`,label:`통합 관리`,title:`비행 데이터 관리`,desc:`비행 이력과 운항 스케줄 데이터를 통합 관리하여 효율적인 드론 운영을 지원합니다.`}];return(0,w.useEffect)(()=>{let r=G.context(()=>{let r=t.current.filter(Boolean);G.set(r,{yPercent:110,scale:1,opacity:1,rotateX:0,transformOrigin:`center bottom`}),G.set(r[0],{yPercent:0});let i=G.timeline({scrollTrigger:{trigger:e.current,start:`top top`,end:`+=${n.length*900}`,scrub:1,pin:!0,anticipatePin:1}});r.forEach((e,t)=>{if(t===0)return;let n=r[t-1];i.to(n,{yPercent:-18,scale:.88,opacity:.35,rotateX:8,filter:`blur(3px)`,duration:1,ease:`none`},t-.85),i.to(e,{yPercent:0,duration:1,ease:`none`},t-.85)}),i.to(r[r.length-1],{yPercent:-10,scale:.94,duration:.8,ease:`none`})},e);return()=>r.revert()},[n.length]),(0,B.jsxs)(`section`,{className:`main-utm-section`,ref:e,children:[(0,B.jsx)(`div`,{className:`main-utm-bg-glow main-utm-bg-glow--a`}),(0,B.jsx)(`div`,{className:`main-utm-bg-glow main-utm-bg-glow--b`}),(0,B.jsxs)(`div`,{className:`utm-floating-air`,"aria-hidden":`true`,children:[(0,B.jsxs)(`div`,{className:`utm-floating-drone utm-floating-drone--a`,children:[(0,B.jsxs)(`svg`,{viewBox:`0 0 64 64`,"aria-hidden":`true`,children:[(0,B.jsx)(`circle`,{cx:`18`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`18`,cy:`46`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`46`,r:`10`}),(0,B.jsx)(`path`,{d:`M25 25L39 39`}),(0,B.jsx)(`path`,{d:`M39 25L25 39`}),(0,B.jsx)(`circle`,{cx:`32`,cy:`32`,r:`3.5`})]}),(0,B.jsx)(`span`,{})]}),(0,B.jsxs)(`div`,{className:`utm-floating-drone utm-floating-drone--b`,children:[(0,B.jsxs)(`svg`,{viewBox:`0 0 64 64`,"aria-hidden":`true`,children:[(0,B.jsx)(`circle`,{cx:`18`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`18`,cy:`46`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`46`,r:`10`}),(0,B.jsx)(`path`,{d:`M25 25L39 39`}),(0,B.jsx)(`path`,{d:`M39 25L25 39`}),(0,B.jsx)(`circle`,{cx:`32`,cy:`32`,r:`3.5`})]}),(0,B.jsx)(`span`,{})]}),(0,B.jsxs)(`div`,{className:`utm-floating-drone utm-floating-drone--c`,children:[(0,B.jsxs)(`svg`,{viewBox:`0 0 64 64`,"aria-hidden":`true`,children:[(0,B.jsx)(`circle`,{cx:`18`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`18`,cy:`46`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`46`,r:`10`}),(0,B.jsx)(`path`,{d:`M25 25L39 39`}),(0,B.jsx)(`path`,{d:`M39 25L25 39`}),(0,B.jsx)(`circle`,{cx:`32`,cy:`32`,r:`3.5`})]}),(0,B.jsx)(`span`,{})]})]}),(0,B.jsxs)(`div`,{className:`main-utm-inner`,children:[(0,B.jsxs)(`div`,{className:`main-utm-head`,children:[(0,B.jsx)(`p`,{className:`main-utm-eyebrow`,children:`UTM SYSTEM`}),(0,B.jsx)(`h2`,{className:`main-utm-title`,children:`드론교통관리 (UTM)`}),(0,B.jsx)(`p`,{className:`main-utm-desc`,children:`드론 하늘길을 통제하는 관제 시스템`})]}),(0,B.jsx)(`div`,{className:`main-utm-stack`,children:n.map((e,n)=>(0,B.jsxs)(`article`,{className:`main-utm-card`,ref:e=>{t.current[n]=e},children:[(0,B.jsxs)(`div`,{className:`main-utm-card-text`,children:[(0,B.jsx)(`span`,{className:`main-utm-step`,children:e.step}),(0,B.jsx)(`p`,{className:`main-utm-label`,children:e.label}),(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`p`,{children:e.desc})]}),(0,B.jsx)(`div`,{className:`main-utm-card-visual`,children:(0,B.jsx)(`div`,{className:`main-utm-card-visual`,children:(0,B.jsx)(`img`,{className:`main-utm-img main-utm-img${n+1}`,src:`./images/main-utm-img${n+1}.png`,alt:``})})})]},e.step))})]})]})}var Ed=`/PALNetworks/assets/uam-silver-CH8KBHvx.png`;G.registerPlugin(Z);function Dd(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)(null),r=(0,w.useRef)([]),i=(0,w.useRef)(null),a=(0,w.useRef)(null),o=(0,w.useRef)(null),s=window.innerWidth<=768;return(0,w.useEffect)(()=>{let c=o.current,l=e.current,u=c.getContext(`2d`),d,f=0,p=[{freq:1.3,speed:1e-4,phase:0,yRatio:.28,amp:.18},{freq:.9,speed:7e-5,phase:2.6,yRatio:.55,amp:.15},{freq:1.6,speed:13e-5,phase:5.1,yRatio:.78,amp:.12}],m=p.map(e=>({wave:e,t:Math.random(),speed:18e-5+Math.random()*1e-4})),h=()=>{c.width=l.offsetWidth,c.height=l.offsetHeight},g=e=>{let t=c.width,n=c.height,r=t<=768;u.clearRect(0,0,t,n),p.forEach((n,i)=>{if(r&&i===2)return;let a=r?.35:.5+f*.7,o=Array.from({length:201},(r,i)=>[i/200*t,c.height*n.yRatio+Math.sin(i/200*Math.PI*n.freq+e*n.speed+n.phase)*n.amp*c.height*a]),s=f*(r?.12:.18),l=u.createLinearGradient(0,0,t,0);l.addColorStop(0,`rgba(58,64,129,0)`),l.addColorStop(.2,`rgba(58,64,129,${s})`),l.addColorStop(.5,`rgba(58,64,129,${s*1.2})`),l.addColorStop(.8,`rgba(58,64,129,${s})`),l.addColorStop(1,`rgba(58,64,129,0)`),u.beginPath(),u.moveTo(o[0][0],o[0][1]);for(let e=1;e<o.length-1;e++){let t=(o[e][0]+o[e+1][0])/2,n=(o[e][1]+o[e+1][1])/2;u.quadraticCurveTo(o[e][0],o[e][1],t,n)}u.lineTo(o[o.length-1][0],o[o.length-1][1]),u.strokeStyle=l,u.lineWidth=r?.8:1.2,u.stroke()}),m.forEach((n,i)=>{if(r&&i===2)return;n.t+=n.speed*16,n.t>1&&--n.t;let a=r?.35:.5+f*.7,o=n.t*t,s=c.height*n.wave.yRatio+Math.sin(n.t*Math.PI*n.wave.freq+e*n.wave.speed+n.wave.phase)*n.wave.amp*c.height*a,l=Math.sin(n.t*Math.PI)*f*.45;if(l<.01)return;let d=r?3.5:5.5,p=r?1.8:2.8;u.beginPath(),u.arc(o,s,d,0,Math.PI*2),u.strokeStyle=`rgba(58,64,129,${l*.35})`,u.lineWidth=1,u.stroke(),u.beginPath(),u.arc(o,s,p,0,Math.PI*2),u.fillStyle=`rgba(58,64,129,${l})`,u.fill()}),d=requestAnimationFrame(g)},_=Z.create({trigger:l,start:`top top`,end:`+=2100`,onUpdate:e=>{f=e.progress}});h(),window.addEventListener(`resize`,h),d=requestAnimationFrame(g);let v=G.context(()=>{G.set(n.current,{xPercent:100}),G.set(r.current,{scaleX:0,transformOrigin:`left center`}),G.set(i.current,{x:s?-160:-320,opacity:0,scale:1}),G.set(`.airspace-uam-content`,{opacity:0,y:36}),G.set(a.current,{opacity:0});let o=G.timeline({scrollTrigger:{trigger:e.current,start:`top top`,end:`+=2100`,scrub:1,pin:!0,anticipatePin:1}});o.to(r.current,{scaleX:1,stagger:.08,duration:.7,ease:`none`}),o.to(i.current,{x:0,opacity:1,duration:.7,ease:`none`},`<0.1`),o.to(t.current,{xPercent:-100,duration:1,ease:`none`}),o.to(n.current,{xPercent:0,duration:1,ease:`none`},`<`),o.call(()=>{i.current?.classList.add(`is-zooming`)}),o.to(i.current,{x:0,y:0,scale:s?42:52,duration:1.2,ease:`power2.inOut`}),o.to([`.airspace-uam-content`,a.current],{opacity:1,y:0,duration:.8,ease:`power2.out`},`-=0.35`)},e);return()=>{v.revert(),_.kill(),cancelAnimationFrame(d),window.removeEventListener(`resize`,h)}},[]),(0,B.jsxs)(`section`,{className:`airspace-transition-section`,ref:e,children:[(0,B.jsx)(`canvas`,{ref:o,className:`aurora-canvas`}),(0,B.jsxs)(`div`,{className:`airspace-panel airspace-panel--utm`,ref:t,children:[(0,B.jsx)(`p`,{children:`UTM SYSTEM`}),(0,B.jsx)(`h2`,{children:`드론 하늘길에서`})]}),(0,B.jsxs)(`div`,{className:`airspace-panel airspace-panel--uam`,ref:n,children:[(0,B.jsx)(`p`,{children:`UAM SYSTEM`}),(0,B.jsxs)(`h2`,{children:[`도심 항공`,(0,B.jsx)(`span`,{className:`airspace-mobile-br`,children:` `}),`네트워크로`]})]}),(0,B.jsx)(`div`,{className:`airspace-lines`,children:[0,1,2,3].map(e=>(0,B.jsx)(`span`,{className:`airspace-line airspace-line--${e+1}`,ref:t=>{r.current[e]=t}},e))}),(0,B.jsx)(`div`,{className:`airspace-moving-dot`,ref:i,children:(0,B.jsx)(`div`,{className:`airspace-dot-image`,ref:a,children:(0,B.jsx)(`img`,{src:Ed,alt:`UAM Aircraft`})})}),(0,B.jsxs)(`div`,{className:`airspace-uam-content`,children:[(0,B.jsx)(`p`,{children:`UAM NETWORK`}),(0,B.jsx)(`h2`,{children:`Urban Air Mobility`}),(0,B.jsxs)(`span`,{children:[`도심 내 버티포트, 운항 경로, 항공 교통 데이터를 `,(0,B.jsx)(`br`,{}),`하나의 네트워크로 연결해 미래형 항공 이동 환경을 구축합니다.`]})]})]})}G.registerPlugin(Z);function Od(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)([]),r=[{icon:`/PALNetworks/images/airplane.png`,label:`SOLUTION 01`,title:`비행상황관리 시스템`,desc:`운항 상태, 항로, 고도, 비행 이력을 실시간으로 확인하고 관리합니다.`},{icon:`/PALNetworks/images/cloud-network.png`,label:`SOLUTION 02`,title:(0,B.jsxs)(B.Fragment,{children:[`IBE`,(0,B.jsx)(`small`,{children:`(Internet Booking Engine)`})]}),desc:`항공 예약과 판매 흐름을 연결해 편리한 예약 환경을 제공합니다.`},{icon:`/PALNetworks/images/maps.png`,label:`SOLUTION 03`,title:`스마트 관광 예약 플랫폼`,desc:`관광 상품과 예약 데이터를 통합해 사용자 중심 서비스를 구성합니다.`},{icon:`/PALNetworks/images/cloud.png`,label:`SOLUTION 04`,title:`KT G-Cloud`,desc:`공공 클라우드 기반의 안정적인 인프라 운영 환경을 제공합니다.`}];return(0,w.useEffect)(()=>{let r=G.context(()=>{G.set(t.current,{opacity:0,y:42}),G.set(n.current,{opacity:0,y:64,scale:.96}),G.timeline({scrollTrigger:{trigger:e.current,start:`top 72%`,end:`top 28%`,scrub:1}}).to(t.current,{opacity:1,y:0,duration:.8,ease:`power2.out`}).to(n.current,{opacity:1,y:0,scale:1,stagger:.12,duration:.9,ease:`power2.out`},`-=0.35`),G.to(`.main-solution-bg-circle`,{y:120,scale:1.08,ease:`none`,scrollTrigger:{trigger:e.current,start:`top bottom`,end:`bottom top`,scrub:1}})},e);return()=>r.revert()},[]),(0,B.jsxs)(`section`,{className:`main-solution-section`,ref:e,children:[(0,B.jsx)(`div`,{className:`main-solution-bg-circle`}),(0,B.jsxs)(`div`,{className:`main-solution-inner`,children:[(0,B.jsxs)(`div`,{className:`main-solution-head`,ref:t,children:[(0,B.jsx)(`p`,{className:`main-solution-eyebrow`,children:`PAL SOLUTION`}),(0,B.jsxs)(`h2`,{className:`main-solution-title`,children:[`항공 IT`,(0,B.jsx)(`br`,{}),`서비스 솔루션`]}),(0,B.jsx)(`p`,{className:`main-solution-desc`,children:`항공 운항 관리부터 스마트 관광 예약 플랫폼, 클라우드 인프라까지 다양한 항공·모빌리티 서비스를 하나의 통합 시스템 안에서 제공합니다.`})]}),(0,B.jsx)(`div`,{className:`main-solution-grid`,children:r.map((e,t)=>(0,B.jsxs)(`article`,{className:`main-solution-card`,ref:e=>{n.current[t]=e},children:[(0,B.jsx)(`div`,{className:`main-solution-card-icon`,children:typeof e.icon==`string`&&e.icon.includes(`.png`)?(0,B.jsx)(`img`,{src:e.icon,alt:``}):e.icon}),(0,B.jsxs)(`div`,{className:`main-solution-card-body`,children:[(0,B.jsx)(`span`,{children:e.label}),(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`p`,{children:e.desc})]})]},t))})]})]})}G.registerPlugin(Z);function kd(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)([]);return(0,w.useEffect)(()=>{let r=G.context(()=>{G.set(t.current,{opacity:0,y:48}),G.set(n.current,{opacity:0,y:36}),G.timeline({scrollTrigger:{trigger:e.current,start:`top 70%`,end:`top 30%`,scrub:1}}).to(t.current,{opacity:1,y:0,duration:.8,ease:`power2.out`}).to(n.current,{opacity:1,y:0,stagger:.14,duration:.75,ease:`power2.out`},`-=0.35`)},e);return()=>r.revert()},[]),(0,B.jsx)(`section`,{className:`main-news-section`,ref:e,children:(0,B.jsxs)(`div`,{className:`main-news-inner`,children:[(0,B.jsxs)(`div`,{className:`main-news-head`,ref:t,children:[(0,B.jsx)(`p`,{className:`main-news-eyebrow`,children:`INSIDE PAL`}),(0,B.jsxs)(`h2`,{className:`main-news-title`,children:[`새로운 항공 서비스와`,(0,B.jsx)(`br`,{}),`기술 소식`]}),(0,B.jsx)(`p`,{className:`main-news-desc`,children:`항공 IT 플랫폼 구축, 서비스 운영, 기술 개발 관련 소식을 전합니다.`})]}),(0,B.jsx)(`div`,{className:`main-news-list`,children:[{date:`2025.00.00`,title:`PAL Networks, 항공 IT 서비스 고도화 추진`,desc:`항공 운항 관리와 예약 플랫폼을 연결하는 통합 서비스 환경을 확대합니다.`},{date:`2025.00.00`,title:`스마트 관광 예약 플랫폼 기능 확장`,desc:`관광 상품, 예약 데이터, 사용자 경험을 하나의 흐름으로 개선합니다.`},{date:`2025.00.00`,title:`클라우드 기반 항공 서비스 운영 환경 구축`,desc:`안정적인 공공 클라우드 인프라를 기반으로 서비스 운영 효율을 높입니다.`}].map((e,t)=>(0,B.jsxs)(`article`,{className:`main-news-item`,ref:e=>{n.current[t]=e},children:[(0,B.jsxs)(`div`,{className:`main-news-meta`,children:[(0,B.jsx)(`span`,{children:`NEWS`}),(0,B.jsx)(`em`,{children:e.date})]}),(0,B.jsxs)(`div`,{className:`main-news-content`,children:[(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`p`,{children:e.desc})]}),(0,B.jsx)(`div`,{className:`main-news-arrow`,children:``})]},t))})]})})}G.registerPlugin(Z);function Ad(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)(null),[r,i]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{let r=G.context(()=>{G.set(t.current,{opacity:0,x:-80,y:20}),G.set(n.current,{opacity:0,x:90,y:20,scale:.96}),G.timeline({scrollTrigger:{trigger:e.current,start:`top 68%`,toggleActions:`play none none reverse`}}).to(t.current,{opacity:1,x:0,y:0,duration:.9,ease:`power3.out`}).to(n.current,{opacity:1,x:0,y:0,scale:1,duration:1,ease:`power3.out`},`-=0.55`)},e);return()=>r.revert()},[]),(0,B.jsxs)(`section`,{className:`main-contact-section`,ref:e,children:[(0,B.jsx)(`div`,{className:`contact-orb contact-orb--1`}),(0,B.jsx)(`div`,{className:`contact-orb contact-orb--2`}),(0,B.jsx)(`div`,{className:`contact-orb contact-orb--3`}),(0,B.jsxs)(`div`,{className:`main-contact-inner`,children:[(0,B.jsxs)(`div`,{className:`main-contact-head`,ref:t,children:[(0,B.jsx)(`p`,{className:`main-contact-eyebrow`,children:`CONTACT US`}),(0,B.jsxs)(`h2`,{className:`main-contact-title`,children:[`프로젝트 문의를`,(0,B.jsx)(`br`,{}),`남겨주세요.`]})]}),(0,B.jsxs)(`form`,{className:`main-contact-form`,ref:n,children:[(0,B.jsxs)(`div`,{className:`main-contact-grid`,children:[(0,B.jsxs)(`label`,{children:[(0,B.jsxs)(`span`,{children:[`이름 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`input`,{type:`text`,placeholder:`이름을 입력해 주세요.`,required:!0})]}),(0,B.jsxs)(`label`,{children:[(0,B.jsxs)(`span`,{children:[`이메일 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`input`,{type:`email`,placeholder:`이메일을 입력해 주세요.`,required:!0})]}),(0,B.jsxs)(`label`,{children:[(0,B.jsx)(`span`,{children:`연락처`}),(0,B.jsx)(`input`,{type:`tel`,placeholder:`연락처를 입력해 주세요.`})]}),(0,B.jsxs)(`label`,{children:[(0,B.jsx)(`span`,{children:`홈페이지`}),(0,B.jsx)(`input`,{type:`url`,placeholder:`홈페이지 주소를 입력해 주세요.`})]}),(0,B.jsxs)(`label`,{className:`main-contact-full`,children:[(0,B.jsxs)(`span`,{children:[`제목 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`input`,{type:`text`,placeholder:`문의 제목을 입력해 주세요.`,required:!0})]}),(0,B.jsxs)(`label`,{className:`main-contact-full`,children:[(0,B.jsxs)(`span`,{children:[`내용 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`textarea`,{placeholder:`문의 내용을 입력해 주세요.`,required:!0})]})]}),(0,B.jsxs)(`div`,{className:`main-contact-form-bottom`,children:[(0,B.jsxs)(`label`,{className:`main-contact-check`,children:[(0,B.jsx)(`input`,{type:`checkbox`,required:!0}),(0,B.jsx)(`span`,{children:`개인정보처리방침에 동의합니다.`})]}),(0,B.jsx)(`button`,{type:`button`,className:`main-contact-privacy-open`,onClick:()=>i(!0),children:`개인정보처리방침 보기`})]}),(0,B.jsx)(`button`,{type:`submit`,className:`main-contact-submit`,children:`문의하기`})]})]}),r&&(0,B.jsxs)(`div`,{className:`main-contact-modal`,children:[(0,B.jsx)(`div`,{className:`main-contact-modal-dim`,onClick:()=>i(!1)}),(0,B.jsxs)(`div`,{className:`main-contact-modal-card`,children:[(0,B.jsxs)(`div`,{className:`main-contact-modal-head`,children:[(0,B.jsx)(`h3`,{children:`개인정보처리방침`}),(0,B.jsx)(`button`,{type:`button`,onClick:()=>i(!1),children:`×`})]}),(0,B.jsx)(`div`,{className:`main-contact-modal-body`,children:(0,B.jsxs)(`p`,{children:[`'주식회사 팔네트웍스'는(이하 '회사'는) 고객님의 개인정보를 중요시하며, “개인정보보호법” 및 "정보통신망 이용촉진 및 정보보호에 관한 법률”을 준수하고 있습니다. 회사는 개인정보취급방침을 통하여 고객님께서 제공하시는 개인정보가 어떠한 용도와 방식으로 이용되고 있으며, 개인정보보호를 위해 어떠한 조치가 취해지고 있는지 알려드립니다. 회사는 개인정보취급방침을 개정하는 경우 웹사이트 공지사항(또는 개별공지)을 통하여 공지할 것입니다.`,(0,B.jsx)(`br`,{}),`제 1조. 수집하는 개인정보 항목 회사는 서비스 신청, 상담, 문의 등을 위해 아래와 같은 개인정보를 수집하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 수집항목 : 성명, 회사명, 전화번호 혹은 휴대폰번호, 이메일 주소, 접속 로그`,(0,B.jsx)(`br`,{}),`나. 개인정보 수집방법 : 웹사이트(온라인 문의, 고객 관리 목적의 영업활동`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 2조. 개인정보의 수집 및 이용목적`,(0,B.jsx)(`br`,{}),`회사는 수집한 개인정보를 다음의 목적을 위해 활용합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 서비스 문의 : 정확한 문의 내용 파악 및 확인, 문의에 대한 답변 진행, 답변 발송, 문의 고객과의 원활한 의사소통`,(0,B.jsx)(`br`,{}),`나. 고객 관리 : 기술 지원 및 영업담당자 정보, 계약 정보 등의 정보 제공`,(0,B.jsx)(`br`,{}),`다. 마케팅 및 광고에 활용 : 서비스제품세미나 및 이벤트 등 광고성 정보 전달, 인구통계 학적 특성에 따른 서비스 제공 및 광고 게재, 뉴스레터 메일 발송`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 3조. 개인정보의 보유 및 이용기간`,(0,B.jsx)(`br`,{}),`회사는 개인정보의 수집 및 이용목적이 달성된 후에는 해당 정보를 지체 없이 파기합니다. 단, 다음의 정보에 대해서는 아래의 이유로 명시한 기간 동안 보존합니다.관련법령에 의한 정보보유 사유 전자상거래 등에서의 소비자보호에 관한 법률, 상법 등 법령의 규정에 의하여 보존할 필요가 있는 경우에는 회사는 관계법령에서 정한 일정한 기간 동안 회원정보를 보관하며, 이 경우 보관하는 정보를 그 보관의 목적으로만 이용하며 보존기간은 아래와 같습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가 보존 항목 : 성명, 회사명, 전화번호 혹은 휴대폰번호, 이메일 주소, 접속 로그`,(0,B.jsx)(`br`,{}),`나 보존 근거 : 이용약관 및 전자상거래 등에서의 소비자보호에 관한 법률`,(0,B.jsx)(`br`,{}),`다 보존 기간 : 5년(단, 수집일로 부터 5년이 경과하여도 계약에 관련된 정보주체의 정보는 계약 기간 동안 보존)`,(0,B.jsx)(`br`,{}),`제 4조. 개인정보의 파기절차 및 방법`,(0,B.jsx)(`br`,{}),`회사는 원칙적으로 개인정보 수집 및 이용목적이 달성된 후에는 해당 정보를 지체 없이 파기합니다. 파기절차 및 방법은 다음과 같습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 파기절차`,(0,B.jsx)(`br`,{}),`입력된 정보는 목적이 달성된 후 별도의 DB로 옮겨져(종이의 경우 별도의 서류함) 내부 방침 및 기타 관련 법령에 의한 정보 보호 사유에 따라(보유 및 이용기간 참조) 일정 기간 저장된 후 파기합니다. 별도 DB로 옮겨진 개인정보는 법률에 의한 경우가 아니고서는 보유 이외의 다른 목적으로 이용되지 않습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`나. 파기방법`,(0,B.jsx)(`br`,{}),`전자적 파일형태로 저장된 개인정보는 기록을 재생할 수 없는 기술적 방법을 사용하여 삭제합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 5조. 개인정보의 이용`,(0,B.jsx)(`br`,{}),`1. 회사가 수집하는 개인정보는 서비스의 제공에 필요한 최소한으로 하되, 필요한 경우 자세한 정보를 요구할 수 있습니다.`,(0,B.jsx)(`br`,{}),`2. 회사는 이용자의 동의 하에 개인정보를 제3자에게 제공할 수 있습니다. 이러한 경우에도 개인정보의 제3자 제공은 이용자의 동의 하에서만 이루어지며 개인정보가 제공되는 것을 원하지 않는 경우에는, 특정 서비스를 이용하지 않거나 특정한 형태의 판촉이나 이벤트에 참여하지 않으면 됩니다(단, 이 경우 별도 공지함)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 6조. 수집한 개인정보의 위탁`,(0,B.jsx)(`br`,{}),`회사가 외부업체(이하, ‘위탁 받는 업체’)에 상기 특정서비스의 제공을 위탁하는 경우, 서비스 제공에 필요한 회원의 개인정보를 회원의 동의를 받아 위탁 받는 업체에 제공할 수 있으며, 이 경우 서비스 위탁 사실을 명시 합니다. 위탁 받는 업체는 제공 받은 회원의 개인정보의 수집, 취급, 관리에 있어 위탁 받은 목적 외의 용도로 이를 이용하거나 제3자에게 제공하지 않습니다.`,(0,B.jsx)(`br`,{}),`회사는 서비스 이행을 위해 아래와 같이 외부업체에 개인정보를 위탁하여 운영하고 있습니다. 회사의 개인정보 위탁처리 기관 및 위탁업무 내용은 아래와 같습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 7조. 이용자 및 법정대리인의 권리와 그 행사 방법`,(0,B.jsx)(`br`,{}),`1. 회사는 고객의 개인정보를 보호하고 개인정보와 관련한 불만을 처리하기 위하여 아래와 같이 관련 부서 및 개인정보관리책임자를 지정하고 있습니다.`,(0,B.jsx)(`br`,{}),`가. 이용자는 회사의 개인정보 관리책임자에게 서면, 전화 또는 이메일로 연락하여 열람•수정•삭제를 요청할 수 있습니다.`,(0,B.jsx)(`br`,{}),`나. 이용자가 개인정보의 오류에 대한 정정을 요청한 경우에는 정정을 완료하기 전까지 당해 개인정보를 이용 또는 제공하지 않습니다. 또한 잘못된 개인정보를 제3자에게 이미 제공한 경우에는 정정 처리결과를 제3자에게 지체 없이 통지하여 정정이 이루어지도록 하겠습니다.`,(0,B.jsx)(`br`,{}),`다. 회사는 이용자의 요청에 의해 해지 또는 삭제된 개인정보는 제 3조에 따라 처리하고 그 외의 용도로 열람 또는 이용할 수 없도록 처리하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`2. 이용자의 개인정보를 최신의 상태로 정확하게 입력하여 불의의 사고를 예방해 주시기 바랍니다. 이용자가 입력한 부정확한 정보로 인해 발생하는 사고의 책임은 이용자 자신에게 있으며 타인 정보의 도용 등 허위정보를 입력할 경우 회원자격이 상실될 수 있습니다.`,(0,B.jsx)(`br`,{}),`3. 이용자는 개인정보를 보호 받을 권리와 함께 스스로를 보호하고 타인의 정보를 침해하지 않을 의무도 가지고 있습니다. 이용자의 개인정보가 유출되지 않도록 조심하시고 게시물을 포함한 타인의 개인정보를 훼손하지 않도록 유의해 주십시오. 만약 이 같은 책임을 다하지 못하고 타인의 정보 및 존엄성을 훼손할 시에는 「정보통신망 이용촉진 및 정보보호 등에 관한 법률」등에 의해 처벌 받을 수 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 8조. 개인정보 자동수집 장치의 설치, 운영 및 그 거부에 관한 사항`,(0,B.jsx)(`br`,{}),`회사는 귀하의 정보를 수시로 저장하고 찾아내는 '쿠키(cookie)' 등을 운용하지 않습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 9조. 기타 개인정보 취급에 관한 방침`,(0,B.jsx)(`br`,{}),`1. 개인정보보호를 위한 기술 및 관리적 대책`,(0,B.jsx)(`br`,{}),`회사는 이용자의 개인정보를 취급함에 있어 개인정보가 분실, 도난, 누출, 변조 또는 훼손되지 않도록 안전성 확보를 위하여 다음과 같은 기술적 대책을 강구하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 이용자의 개인정보는 비밀번호에 의해 보호되며, 파일 및 전송 데이터를 암호화하여거나 파일 잠금기능(Lock)을 사용하여 중요한 데이터는 별도의 보안기능을 통해 보호되고 있습니다.`,(0,B.jsx)(`br`,{}),`나. 회사는 백신프로그램을 이용하여 컴퓨터바이러스에 의한 피해를 방지 하기 위한 조치를 취하고 있습니다. 백신프로그램은 주기적으로 업데이트되며 갑작스런 바이러스가 출현할 경우 백신이 나오는 즉시 이를 제공함으로써 개인 정보가 침해되는 것을 방지하고 있습니다.`,(0,B.jsx)(`br`,{}),`다. 해킹 등 외부침입에 대비하여 각 서버마다 침입차단시스템 및 취약점 분석 시스템 등을 이용하여 보안에 만전을 기하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`회사는 이용자의 개인정보를 취급함에 있어 개인정보가 분실, 도난, 누출, 변조 또는 훼손되지 않도록 안전성 확보를 위하여 다음과 같은 관리적 대책을 강구하고 있습니다.`,(0,B.jsx)(`br`,{}),`가. 회사는 이용자의 개인정보에 대한 접근권한을 이용자를 직접 상대로 하여 마케팅 업무를 수행하는 자, 개인정보관리책임자 및 담당자 등 개인정보관리업무를 수행하는 자, 기타 업무상 개인정보의 취급이 불가피한 자로 제한하고 있습니다.`,(0,B.jsx)(`br`,{}),`나. 개인정보를 취급하는 직원을 대상으로 새로운 보안 기술 습득 및 개인정보 보호 의무 등에 관해 사내 교육을 실시하고 있습니다.`,(0,B.jsx)(`br`,{}),`나. 개인정보 관련 취급자의 업무 인수인계는 보안이 유지된 상태에서 철저하게 이뤄지고 있으며 입사 및 퇴사 후 개인정보 사고에 대한 책임을 명확화하고 있습니다.`,(0,B.jsx)(`br`,{}),`다. 회사는 이용자 개인의 실수나 기본적인 인터넷의 위험성 때문에 일어나는 일들에 대해 책임을 지지 않습니다.`,(0,B.jsx)(`br`,{}),`라. 그 외 내부 관리자의 실수나 기술관리상의 사고로 인해 개인정보의 상실, 유출, 변조, 훼손이 유발될 경우 회사는 즉각 이용자께 사실을 알리고 적절한 대책과 보상을 강구할 것입니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`2. 링크사이트 제공 방침`,(0,B.jsx)(`br`,{}),`회사는 이용자에게 다른 회사의 웹사이트 또는 자료에 대한 링크를 제공할 수 있습니다. 이 경우 회사는 외부사이트 및 자료에 대한 아무런 통제권이 없으므로 그로부터 제공받는 서비스나 자료의 유용성에 대해 책임질 수 없으며 보증할 수 없습니다. 회사가 포함하고 있는 링크를 클릭하여 타 사이트의 페이지로 옮겨갈 경우 해당 사이트의 개인정보보호정책은 회사와 무관하므로 새로 방문한 사이트의 정책을 검토해 보시기 바랍니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`3. 게시물 운영 방침`,(0,B.jsx)(`br`,{}),`회사는 이용자의 게시물을 소중하게 생각하며 변조, 훼손, 삭제되지 않도록 최선을 다하여 보호합니다. 그러나 다음의 경우는 그렇지 아니합니다.`,(0,B.jsx)(`br`,{}),`가. 스팸(spam)성 게시물 (예 : 행운의 편지, 8억 메일, 특정사이트 광고 등)`,(0,B.jsx)(`br`,{}),`나. 타인을 비방할 목적으로 허위 사실을 유포하여 타인의 명예를 훼손하는 게시물`,(0,B.jsx)(`br`,{}),`다. 동의 없는 타인의 신상공개 게시물`,(0,B.jsx)(`br`,{}),`라. 회사 또는 제3자의 지적재산권 등 권리를 침해하는 내용의 게시물`,(0,B.jsx)(`br`,{}),`마. 기타 게시판 주제와 다른 내용의 게시물`,(0,B.jsx)(`br`,{}),`바. 회사는 바람직한 게시판 문화를 활성화하기 위하여 동의 없는 타인의 신상 공개 시 특정 부분을 삭제하거나 기호 등으로 수정하여 게시할 수 있으며, 다른 주제의 게시판으로 이동 가능한 내용일 경우 해당 게시물에 이동 경로를 밝혀 오해가 없도록 하고 있습니다.`,(0,B.jsx)(`br`,{}),`사. 그 외의 경우 명시적 또는 개별적인 경고 후 삭제 조치할 수 있습니다.`,(0,B.jsx)(`br`,{}),`아. 근본적으로 게시물에 관련된 제반 권리와 책임은 작성자 개인에게 있습니다. 또 게시물을 통해 자발적으로 공개된 정보는 보호받기 어려우므로 정보 공개 전에 심사 숙고하시기 바랍니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`4. 이메일 무단수집 거부 방침`,(0,B.jsx)(`br`,{}),`회사는 게시된 이메일 주소가 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단 수집되는 것을 거부합니다. 이를 위반 시 「정보통신망 이용촉진 및 정보보호 등에 관한 법률」 등에 의해 처벌 받을 수 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`5. 광고성 정보의 전송`,(0,B.jsx)(`br`,{}),`회사는 이용자의 명시적인 수신거부의사에 반하여 영리목적의 광고성 정보를 전송하지 않습니다. 회사는 이용자가 상품정보 안내, 뉴스레터 등 전자우편 전송에 대한 동의를 한 경우, 전자우편의 제목란 및 본문란에 다음 사항과 같이 이용자가 쉽게 알아 볼 수 있도록 조치합니다.`,(0,B.jsx)(`br`,{}),`가. 전자우편의 제목란`,(0,B.jsx)(`br`,{}),`- (광고)라는 문구를 제목란에 표시하지 않을 수 있으며 전자우편 본문란의 주요 내용을 표시합니다.`,(0,B.jsx)(`br`,{}),`나. 전자우편의 본문란`,(0,B.jsx)(`br`,{}),`- 이용자가 수신거부의 의사표시를 할 수 있는 전송자의 명칭, 전자우편주소를 명시합니다.`,(0,B.jsx)(`br`,{}),`- 이용자가 수신 거부의 의사를 쉽게 표시할 수 있는 방법을 명시합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 10조. 개인정보에 관한 민원서비스`,(0,B.jsx)(`br`,{}),`회사는 고객의 개인정보를 보호하고 개인정보와 관련한 불만을 처리하기 위하여 아래와 같이 관련 부서 및 개인정보관리책임자를 지정하고 있습니다. 회사의 서비스를 이용하시며 발생하는 모든 개인정보보호 관련 민원을 개인정보관리책임자 혹은 담당부서로 신고하실 수 있습니다. 회사는 이용자들의 신고사항에 대해 신속하게 충분한 답변을 드릴 것입니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`고객서비스담당 부서: 전화번호 : 이메일: 개인정보관리책임자 성명: 전화번호: 이메일:`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`기타 개인정보침해에 대한 신고나 상담이 필요하신 경우에는 아래 기관에 문의하시기 바랍니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`1. 개인정보분쟁조정위원회 : (국번없이) 1833-6972 (www.kopico.go.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`2. 개인정보침해신고센터 : (국번없이) 118 (privacy.kisa.or.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`3. 대검찰청 : (국번없이) 1301 (www.spo.go.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`4. 경찰청 : (국번없이) 182 (ecrm.cyber.go.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 11조. 고지의 의무`,(0,B.jsx)(`br`,{}),`현 개인정보취급방침 내용 추가, 삭제 및 수정이 있을 시에는 개정 최소 7일전부터 웹사이트를 통해 고지합니다. 개인정보의 수집 및 활용, 제3자의 제공 등과 같이 이용자 권리의 중요한 변경이 있을 경우에는 최소 30일 전에 고지합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`공고일자: 2022년 05월 26일`,(0,B.jsx)(`br`,{}),`시행일자: 2022년 05월 26일`]})})]})]})]})}function jd(){return(0,B.jsxs)(`main`,{className:`main-page`,children:[(0,B.jsx)(wd,{}),(0,B.jsx)(Td,{}),(0,B.jsx)(Dd,{}),(0,B.jsx)(Od,{}),(0,B.jsx)(kd,{}),(0,B.jsx)(Ad,{})]})}var Md=(0,w.createContext)({});function Nd(e){let t=(0,w.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Pd=typeof window<`u`?w.useLayoutEffect:w.useEffect,Fd=(0,w.createContext)(null);function Id(e,t){e.indexOf(t)===-1&&e.push(t)}function Ld(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Rd=(e,t,n)=>n>t?t:n<e?e:n,zd={},Bd=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Vd(e){return typeof e==`object`&&!!e}var Hd=e=>/^0[^.\s]+$/u.test(e);function Ud(e){let t;return()=>(t===void 0&&(t=e()),t)}var Wd=e=>e,Gd=(e,t)=>n=>t(e(n)),Kd=(...e)=>e.reduce(Gd),qd=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Jd=class{constructor(){this.subscriptions=[]}add(e){return Id(this.subscriptions,e),()=>Ld(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}},Yd=e=>e*1e3,Xd=e=>e/1e3;function Zd(e,t){return t?1e3/t*e:0}var Qd=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$d=1e-7,ef=12;function tf(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Qd(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>$d&&++s<ef);return o}function nf(e,t,n,r){if(e===t&&n===r)return Wd;let i=t=>tf(t,0,1,e,n);return e=>e===0||e===1?e:Qd(i(e),t,r)}var rf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,af=e=>t=>1-e(1-t),of=nf(.33,1.53,.69,.99),sf=af(of),cf=rf(sf),lf=e=>e>=1?1:(e*=2)<1?.5*sf(e):.5*(2-2**(-10*(e-1))),uf=e=>1-Math.sin(Math.acos(e)),df=af(uf),ff=rf(uf),pf=nf(.42,0,1,1),mf=nf(0,0,.58,1),hf=nf(.42,0,.58,1),gf=e=>Array.isArray(e)&&typeof e[0]!=`number`,_f=e=>Array.isArray(e)&&typeof e[0]==`number`,vf={linear:Wd,easeIn:pf,easeInOut:hf,easeOut:mf,circIn:uf,circInOut:ff,circOut:df,backIn:sf,backInOut:cf,backOut:of,anticipate:lf},yf=e=>typeof e==`string`,bf=e=>{if(_f(e)){e.length;let[t,n,r,i]=e;return nf(t,n,r,i)}else if(yf(e))return vf[e],`${e}`,vf[e];return e},xf=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Sf={value:null,addProjectionMetrics:null};function Cf(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&&Sf.value&&Sf.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var wf=40;function Tf(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=xf.reduce((e,n)=>(e[n]=Cf(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=zd.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,wf),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:xf.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<xf.length;t++)o[xf[t]].cancel(e)},state:i,steps:o}}var{schedule:Ef,cancel:Df,state:Of,steps:kf}=Tf(typeof requestAnimationFrame<`u`?requestAnimationFrame:Wd,!0),Af;function jf(){Af=void 0}var Mf={now:()=>(Af===void 0&&Mf.set(Of.isProcessing||zd.useManualTiming?Of.timestamp:performance.now()),Af),set:e=>{Af=e,queueMicrotask(jf)}},Nf={layout:0,mainThread:0,waapi:0},Pf=e=>t=>typeof t==`string`&&t.startsWith(e),Ff=Pf(`--`),If=Pf(`var(--`),Lf=e=>If(e)?Rf.test(e.split(`/*`)[0].trim()):!1,Rf=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function zf(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Bf={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Vf={...Bf,transform:e=>Rd(0,1,e)},Hf={...Bf,default:1},Uf=e=>Math.round(e*1e5)/1e5,Wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Gf(e){return e==null}var Kf=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qf=(e,t)=>n=>!!(typeof n==`string`&&Kf.test(n)&&n.startsWith(e)||t&&!Gf(n)&&Object.prototype.hasOwnProperty.call(n,t)),Jf=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Wf);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Yf=e=>Rd(0,255,e),Xf={...Bf,transform:e=>Math.round(Yf(e))},Zf={test:qf(`rgb`,`red`),parse:Jf(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Xf.transform(e)+`, `+Xf.transform(t)+`, `+Xf.transform(n)+`, `+Uf(Vf.transform(r))+`)`};function Qf(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),alpha:i?parseInt(i,16)/255:1}}var $f={test:qf(`#`),parse:Qf,transform:Zf.transform},ep=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),tp=ep(`deg`),np=ep(`%`),$=ep(`px`),rp=ep(`vh`),ip=ep(`vw`),ap={...np,parse:e=>np.parse(e)/100,transform:e=>np.transform(e*100)},op={test:qf(`hsl`,`hue`),parse:Jf(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+np.transform(Uf(t))+`, `+np.transform(Uf(n))+`, `+Uf(Vf.transform(r))+`)`},sp={test:e=>Zf.test(e)||$f.test(e)||op.test(e),parse:e=>Zf.test(e)?Zf.parse(e):op.test(e)?op.parse(e):$f.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Zf.transform(e):op.transform(e),getAnimatableNone:e=>{let t=sp.parse(e);return t.alpha=0,sp.transform(t)}},cp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lp(e){return isNaN(e)&&typeof e==`string`&&(e.match(Wf)?.length||0)+(e.match(cp)?.length||0)>0}var up=`number`,dp=`color`,fp=`var`,pp=`var(`,mp="${}",hp=/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 gp(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(hp,e=>(sp.test(e)?(r.color.push(a),i.push(dp),n.push(sp.parse(e))):e.startsWith(pp)?(r.var.push(a),i.push(fp),n.push(e)):(r.number.push(a),i.push(up),n.push(parseFloat(e))),++a,mp)).split(mp),indexes:r,types:i}}function _p(e){return gp(e).values}function vp({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===up?i+=Uf(r[a]):e===dp?i+=sp.transform(r[a]):i+=r[a]}return i}}function yp(e){return vp(gp(e))}var bp=e=>typeof e==`number`?0:sp.test(e)?sp.getAnimatableNone(e):e,xp=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:bp(e);function Sp(e){let t=gp(e);return vp(t)(t.values.map((e,n)=>xp(e,t.split[n])))}var Cp={test:lp,parse:_p,createTransformer:yp,getAnimatableNone:Sp};function wp(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 Tp({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=wp(s,r,e+1/3),a=wp(s,r,e),o=wp(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Ep(e,t){return n=>n>0?t:e}var Dp=(e,t,n)=>e+(t-e)*n,Op=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},kp=[$f,Zf,op],Ap=e=>kp.find(t=>t.test(e));function jp(e){let t=Ap(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===op&&(n=Tp(n)),n}var Mp=(e,t)=>{let n=jp(e),r=jp(t);if(!n||!r)return Ep(e,t);let i={...n};return e=>(i.red=Op(n.red,r.red,e),i.green=Op(n.green,r.green,e),i.blue=Op(n.blue,r.blue,e),i.alpha=Dp(n.alpha,r.alpha,e),Zf.transform(i))},Np=new Set([`none`,`hidden`]);function Pp(e,t){return Np.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Fp(e,t){return n=>Dp(e,t,n)}function Ip(e){return typeof e==`number`?Fp:typeof e==`string`?Lf(e)?Ep:sp.test(e)?Mp:Bp:Array.isArray(e)?Lp:typeof e==`object`?sp.test(e)?Mp:Rp:Ep}function Lp(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ip(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Rp(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ip(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function zp(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 Bp=(e,t)=>{let n=Cp.createTransformer(t),r=gp(e),i=gp(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?Np.has(e)&&!i.values.length||Np.has(t)&&!r.values.length?Pp(e,t):Kd(Lp(zp(r,i),i.values),n):(`${e}${t}`,Ep(e,t))};function Vp(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?Dp(e,t,n):Ip(e)(e,t)}var Hp=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Ef.update(t,e),stop:()=>Df(t),now:()=>Of.isProcessing?Of.timestamp:Mf.now()}},Up=(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)})`},Wp=2e4;function Gp(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 Kp(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Gp(r),Wp);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Xd(i)}}var qp={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 Jp(e,t){return e*Math.sqrt(1-t*t)}var Yp=12;function Xp(e,t,n){let r=n;for(let n=1;n<Yp;n++)r-=e(r)/t(r);return r}var Zp=.001;function Qp({duration:e=qp.duration,bounce:t=qp.bounce,velocity:n=qp.velocity,mass:r=qp.mass}){let i,a;qp.maxDuration;let o=1-t;o=Rd(qp.minDamping,qp.maxDamping,o),e=Rd(qp.minDuration,qp.maxDuration,Xd(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Jp(t,o),c=Math.exp(-i);return Zp-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=Jp(t**2,o);return(-i(t)+Zp>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Zp+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Xp(i,a,s);if(e=Yd(e),isNaN(c))return{stiffness:qp.stiffness,damping:qp.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var $p=[`duration`,`bounce`],em=[`stiffness`,`damping`,`mass`];function tm(e,t){return t.some(t=>e[t]!==void 0)}function nm(e){let t={velocity:qp.velocity,stiffness:qp.stiffness,damping:qp.damping,mass:qp.mass,isResolvedFromDuration:!1,...e};if(!tm(e,em)&&tm(e,$p))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Rd(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:qp.mass,stiffness:i,damping:a}}else{let n=Qp({...e,velocity:0});t={...t,...n,mass:qp.mass},t.isResolvedFromDuration=!0}return t}function rm(e=qp.visualDuration,t=qp.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}=nm({...n,velocity:-Xd(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Xd(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?qp.restSpeed.granular:qp.restSpeed.default,i||=v?qp.restDelta.granular:qp.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Jp(_,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 T={calculatedDuration:p&&d||null,velocity:e=>Yd(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=Yd(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=Yd(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(Gp(T),Wp),t=Up(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}rm.applyToOptions=e=>{let t=Kp(e,100,rm);return e.ease=t.ease,e.duration=Yd(t.duration),e.type=`keyframes`,e};var im=5;function am(e,t,n){let r=Math.max(t-im,0);return Zd(n-e(r),t-r)}function om({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=rm({keyframes:[f.value,m(f.value)],velocity:am(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 sm(e,t,n){let r=[],i=n||zd.mix||Vp,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Kd(Array.isArray(t)?t[n]||Wd:t,a)),r.push(a)}return r}function cm(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=sm(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=qd(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Rd(e[0],e[a-1],t)):l}function lm(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=qd(0,t,r);e.push(Dp(n,1,i))}}function um(e){let t=[0];return lm(t,e.length-1),t}function dm(e,t){return e.map(e=>e*t)}function fm(e,t){return e.map(()=>t||hf).splice(0,e.length-1)}function pm({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=gf(r)?r.map(bf):bf(r),a={done:!1,value:t[0]},o=cm(dm(n&&n.length===t.length?n:um(t),e),t,{ease:Array.isArray(i)?i:fm(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var mm=e=>e!==null;function hm(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(mm),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var gm={decay:om,inertia:om,tween:pm,keyframes:pm,spring:rm};function _m(e){typeof e.type==`string`&&(e.type=gm[e.type])}var vm=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)}},ym=e=>e/100,bm=class extends vm{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!==Mf.now()&&this.tick(Mf.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Nf.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;_m(e);let{type:t=pm,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||pm;s!==pm&&typeof o[0]!=`number`&&(this.mixKeyframes=Kd(ym,Vp(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=Gp(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=Rd(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!==om&&(b.value=hm(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 Xd(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Xd(e)}get time(){return Xd(this.currentTime)}set time(e){e=Yd(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 am(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(Mf.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Xd(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Hp,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(Mf.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,Nf.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 xm(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Sm=e=>e*180/Math.PI,Cm=e=>Tm(Sm(Math.atan2(e[1],e[0]))),wm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Cm,rotateZ:Cm,skewX:e=>Sm(Math.atan(e[1])),skewY:e=>Sm(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tm=e=>(e%=360,e<0&&(e+=360),e),Em=Cm,Dm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Om=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),km={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dm,scaleY:Om,scale:e=>(Dm(e)+Om(e))/2,rotateX:e=>Tm(Sm(Math.atan2(e[6],e[5]))),rotateY:e=>Tm(Sm(Math.atan2(-e[2],e[0]))),rotateZ:Em,rotate:Em,skewX:e=>Sm(Math.atan(e[4])),skewY:e=>Sm(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Am(e){return+!!e.includes(`scale`)}function jm(e,t){if(!e||e===`none`)return Am(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=km,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wm,i=t}if(!i)return Am(t);let a=r[t],o=i[1].split(`,`).map(Nm);return typeof a==`function`?a(o):o[a]}var Mm=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return jm(n,t)};function Nm(e){return parseFloat(e.trim())}var Pm=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Fm=new Set(Pm),Im=e=>e===Bf||e===$,Lm=new Set([`x`,`y`,`z`]),Rm=Pm.filter(e=>!Lm.has(e));function zm(e){let t=[];return Rm.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Bm={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})=>jm(t,`x`),y:(e,{transform:t})=>jm(t,`y`)};Bm.translateX=Bm.x,Bm.translateY=Bm.y;var Vm=new Set,Hm=!1,Um=!1,Wm=!1;function Gm(){if(Um){let e=Array.from(Vm).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=zm(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)})}Um=!1,Hm=!1,Vm.forEach(e=>e.complete(Wm)),Vm.clear()}function Km(){Vm.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Um=!0)})}function qm(){Wm=!0,Km(),Gm(),Wm=!1}var Jm=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?(Vm.add(this),Hm||(Hm=!0,Ef.read(Km),Ef.resolveKeyframes(Gm))):(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])}xm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Vm.delete(this)}cancel(){this.state===`scheduled`&&(Vm.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Ym=e=>e.startsWith(`--`);function Xm(e,t,n){Ym(t)?e.style.setProperty(t,n):e.style[t]=n}var Zm={};function Qm(e,t){let n=Ud(e);return()=>Zm[t]??n()}var $m=Qm(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),eh=Qm(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),th=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,nh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:th([0,.65,.55,1]),circOut:th([.55,0,1,.45]),backIn:th([.31,.01,.66,-.59]),backOut:th([.33,1.53,.69,.99])};function rh(e,t){if(e)return typeof e==`function`?eh()?Up(e,t):`ease-out`:_f(e)?th(e):Array.isArray(e)?e.map(e=>rh(e,t)||nh.easeOut):nh[e]}function ih(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=rh(s,i);Array.isArray(d)&&(u.easing=d),Sf.value&&Nf.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 Sf.value&&p.finished.finally(()=>{Nf.waapi--}),p}function ah(e){return typeof e==`function`&&`applyToOptions`in e}function oh({type:e,...t}){return ah(e)&&eh()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var sh=class extends vm{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=oh(e);this.animation=ih(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=hm(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Xm(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 Xd(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Xd(e)}get time(){return Xd(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Yd(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:`finished`}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&&$m()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Wd):r(this)}},ch={anticipate:lf,backInOut:cf,circInOut:ff};function lh(e){return e in ch}function uh(e){typeof e.ease==`string`&&lh(e.ease)&&(e.ease=ch[e.ease])}var dh=10,fh=class extends sh{constructor(e){uh(e),_m(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 bm({...a,autoplay:!1}),s=Math.max(dh,Mf.now()-this.startTime),c=Rd(0,dh,s-dh),l=o.sample(s).value,{name:u}=this.options;i&&u&&Xm(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},ph=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Cp.test(e)||e===`0`)&&!e.startsWith(`url(`));function mh(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 hh(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=ph(i,t),s=ph(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:mh(e)||(n===`spring`||ah(n))&&r}function gh(e){e.duration=0,e.type=`keyframes`}var _h=new Set([`opacity`,`clipPath`,`filter`,`transform`]),vh=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function yh(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&vh.test(e[t]))return!0;return!1}var bh=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),xh=Ud(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Sh(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 xh()&&n&&(_h.has(n)||bh.has(n)&&yh(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Ch=40,wh=class extends vm{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=Mf.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Jm)(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=Mf.now();let u=!0;hh(e,i,a,o)||(u=!1,(zd.instantAnimations||!s)&&l?.(hm(e,n,t)),e[0]=e[e.length-1],gh(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Ch?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Sh(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new fh({...d,element:p})}catch{m=new bm(d)}else m=new bm(d);m.finished.then(()=>{this.notifyFinished()}).catch(Wd),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(),qm()),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 Th(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.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 Eh=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dh(e){let t=Eh.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Oh(e,t,n=1){`${e}`;let[r,i]=Dh(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Bd(e)?parseFloat(e):e}return Lf(i)?Oh(i,t,n+1):i}var kh={type:`spring`,stiffness:500,damping:25,restSpeed:10},Ah=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),jh={type:`keyframes`,duration:.8},Mh={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Nh=(e,{keyframes:t})=>t.length>2?jh:Fm.has(e)?e.startsWith(`scale`)?Ah(t[1]):kh:Mh;function Ph(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Fh(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Ph(n,e)}var Ih=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Lh(e){for(let t in e)if(!Ih.has(t))return!0;return!1}var Rh=(e,t,n,r={},i,a)=>o=>{let s=Fh(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Yd(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};Lh(s)||Object.assign(u,Nh(e,u)),u.duration&&=Yd(u.duration),u.repeatDelay&&=Yd(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(gh(u),u.delay===0&&(d=!0)),(zd.instantAnimations||zd.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,gh(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=hm(u.keyframes,s);if(e!==void 0){Ef.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new bm(u):new wh(u)};function zh(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Bh(e,t,n,r){if(typeof t==`function`){let[i,a]=zh(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]=zh(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Vh(e,t,n){let r=e.getProps();return Bh(r,t,n===void 0?r.custom:n,e)}var Hh=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Pm]),Uh=30,Wh=e=>!isNaN(parseFloat(e)),Gh={current:void 0},Kh=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Mf.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=Mf.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Wh(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 Jd);let n=this.events[e].add(t);return e===`change`?()=>{n(),Ef.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 Gh.current&&Gh.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Mf.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Uh)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Uh);return Zd(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 qh(e,t){return new Kh(e,t)}var Jh=e=>Array.isArray(e);function Yh(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,qh(n))}function Xh(e){return Jh(e)?e[e.length-1]||0:e}function Zh(e,t){let{transitionEnd:n={},transition:r={},...i}=Vh(e,t)||{};i={...i,...n};for(let t in i)Yh(e,t,Xh(i[t]))}var Qh=e=>!!(e&&e.getVelocity);function $h(e){return!!(Qh(e)&&e.add)}function eg(e,t){let n=e.getValue(`willChange`);if($h(n))return n.add(t);if(!n&&zd.WillChange){let n=new zd.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function tg(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var ng=`data-`+tg(`framerAppearId`);function rg(e){return e.props[ng]}function ig({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ag(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Ph(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&ig(d,t))continue;let o={delay:n,...Fh(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Ef.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=rg(e);if(n){let e=window.MotionHandoffAnimation(n,t,Ef);e!==null&&(o.startTime=e,f=!0)}}eg(e,t);let p=l??e.shouldReduceMotion;r.start(Rh(t,r,i,p&&Hh.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>Ef.update(()=>{o&&Zh(e,o)});u.length?Promise.all(u).then(t):t()}return u}function og(e,t,n={}){let r=Vh(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(ag(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return sg(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 sg(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(og(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Th(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function cg(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>og(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=og(e,t,n);else{let i=typeof t==`function`?Vh(e,t,n.custom):t;r=Promise.all(ag(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var lg={test:e=>e===`auto`,parse:e=>e},ug=e=>t=>t.test(e),dg=[Bf,$,np,tp,ip,rp,lg],fg=e=>dg.find(ug(e));function pg(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Hd(e)}var mg=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function hg(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Wf)||[];if(!r)return e;let i=n.replace(r,``),a=+!!mg.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var gg=/\b([a-z-]*)\(.*?\)/gu,_g={...Cp,getAnimatableNone:e=>{let t=e.match(gg);return t?t.map(hg).join(` `):e}},vg={...Cp,getAnimatableNone:e=>{let t=Cp.parse(e);return Cp.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},yg={...Bf,transform:Math.round},bg={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,inset:$,insetBlock:$,insetBlockStart:$,insetBlockEnd:$,insetInline:$,insetInlineStart:$,insetInlineEnd:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,paddingBlock:$,paddingBlockStart:$,paddingBlockEnd:$,paddingInline:$,paddingInlineStart:$,paddingInlineEnd:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,marginBlock:$,marginBlockStart:$,marginBlockEnd:$,marginInline:$,marginInlineStart:$,marginInlineEnd:$,fontSize:$,backgroundPositionX:$,backgroundPositionY:$,rotate:tp,rotateX:tp,rotateY:tp,rotateZ:tp,scale:Hf,scaleX:Hf,scaleY:Hf,scaleZ:Hf,skew:tp,skewX:tp,skewY:tp,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Vf,originX:ap,originY:ap,originZ:$,zIndex:yg,fillOpacity:Vf,strokeOpacity:Vf,numOctaves:yg},xg={...bg,color:sp,backgroundColor:sp,outlineColor:sp,fill:sp,stroke:sp,borderColor:sp,borderTopColor:sp,borderRightColor:sp,borderBottomColor:sp,borderLeftColor:sp,filter:_g,WebkitFilter:_g,mask:vg,WebkitMask:vg},Sg=e=>xg[e],Cg=new Set([_g,vg]);function wg(e,t){let n=Sg(e);return Cg.has(n)||(n=Cp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Tg=new Set([`auto`,`none`,`0`]);function Eg(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Tg.has(t)&&gp(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=wg(n,i)}var Dg=class extends Jm{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(),Lf(r))){let i=Oh(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Hh.has(n)||e.length!==2)return;let[r,i]=e,a=fg(r),o=fg(i);if(zf(r)!==zf(i)&&Bm[n]){this.needsMeasurement=!0;return}if(a!==o)if(Im(a)&&Im(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Bm[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||pg(e[t]))&&n.push(t);n.length&&Eg(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=Bm[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]=Bm[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Og(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 kg=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Ag(e){return Vd(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:jg,cancel:Mg}=Tf(queueMicrotask,!1),Ng={x:!1,y:!1};function Pg(){return Ng.x||Ng.y}function Fg(e){return e===`x`||e===`y`?Ng[e]?null:(Ng[e]=!0,()=>{Ng[e]=!1}):Ng.x||Ng.y?null:(Ng.x=Ng.y=!0,()=>{Ng.x=Ng.y=!1})}function Ig(e,t){let n=Og(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Lg(e){return!(e.pointerType===`touch`||Pg())}function Rg(e,t,n={}){let[r,i,a]=Ig(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(!Lg(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 zg=(e,t)=>t?e===t?!0:zg(e,t.parentElement):!1,Bg=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Vg=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Hg(e){return Vg.has(e.tagName)||e.isContentEditable===!0}var Ug=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Wg(e){return Ug.has(e.tagName)||e.isContentEditable===!0}var Gg=new WeakSet;function Kg(e){return t=>{t.key===`Enter`&&e(t)}}function qg(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Jg=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Kg(()=>{if(Gg.has(n))return;qg(n,`down`);let e=Kg(()=>{qg(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>qg(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Yg(e){return Bg(e)&&!Pg()}var Xg=new WeakSet;function Zg(e,t,n={}){let[r,i,a]=Ig(e,n),o=e=>{let r=e.currentTarget;if(!Yg(e)||Xg.has(e))return;Gg.add(r),n.stopPropagation&&Xg.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),Gg.has(r)&&Gg.delete(r),Yg(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||zg(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),Ag(e)&&(e.addEventListener(`focus`,e=>Jg(e,i)),!Hg(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Qg(e){return Vd(e)&&`ownerSVGElement`in e}var $g=new WeakMap,e_,t_=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Qg(r)&&`getBBox`in r?r.getBBox()[t]:r[n],n_=t_(`inline`,`width`,`offsetWidth`),r_=t_(`block`,`height`,`offsetHeight`);function i_({target:e,borderBoxSize:t}){$g.get(e)?.forEach(n=>{n(e,{get width(){return n_(e,t)},get height(){return r_(e,t)}})})}function a_(e){e.forEach(i_)}function o_(){typeof ResizeObserver>`u`||(e_=new ResizeObserver(a_))}function s_(e,t){e_||o_();let n=Og(e);return n.forEach(e=>{let n=$g.get(e);n||(n=new Set,$g.set(e,n)),n.add(t),e_?.observe(e)}),()=>{n.forEach(e=>{let n=$g.get(e);n?.delete(t),n?.size||e_?.unobserve(e)})}}var c_=new Set,l_;function u_(){l_=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};c_.forEach(t=>t(e))},window.addEventListener(`resize`,l_)}function d_(e){return c_.add(e),l_||u_(),()=>{c_.delete(e),!c_.size&&typeof l_==`function`&&(window.removeEventListener(`resize`,l_),l_=void 0)}}function f_(e,t){return typeof e==`function`?d_(e):s_(e,t)}function p_(e){return Qg(e)&&e.tagName===`svg`}var m_=[...dg,sp,Cp],h_=e=>m_.find(ug(e)),g_=()=>({translate:0,scale:1,origin:0,originPoint:0}),__=()=>({x:g_(),y:g_()}),v_=()=>({min:0,max:0}),y_=()=>({x:v_(),y:v_()}),b_=new WeakMap;function x_(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function S_(e){return typeof e==`string`||Array.isArray(e)}var C_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],w_=[`initial`,...C_];function T_(e){return x_(e.animate)||w_.some(t=>S_(e[t]))}function E_(e){return!!(T_(e)||e.variants)}function D_(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Qh(i))e.addValue(r,i);else if(Qh(a))e.addValue(r,qh(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,qh(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var O_={current:null},k_={current:!1},A_=typeof window<`u`;function j_(){if(k_.current=!0,A_)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>O_.current=e.matches;e.addEventListener(`change`,t),t()}else O_.current=!1}var M_=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],N_={};function P_(e){N_=e}function F_(){return N_}var I_=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=Jm,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=Mf.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Ef.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=T_(t),this.isVariantNode=E_(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&&Qh(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,b_.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:(k_.current||j_(),this.shouldReduceMotion=O_.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(),Df(this.notifyUpdate),Df(this.render),this.valueSubscriptions.forEach(e=>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&&_h.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new sh({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Yd(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Fm.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Ef.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(),t.owner&&t.stop()})}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 N_){let t=N_[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):y_()}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<M_.length;t++){let n=M_[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=D_(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=qh(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`&&(Bd(n)||Hd(n))?n=parseFloat(n):!h_(n)&&Cp.test(t)&&(n=wg(e,t)),this.setBaseTarget(e,Qh(n)?n.get():n)),Qh(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=Bh(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&&!Qh(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 Jd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){jg.render(this.render)}},L_=class extends I_{constructor(){super(...arguments),this.KeyframeResolver=Dg}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;Qh(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},R_=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function z_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function B_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function V_(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 H_(e){return e===void 0||e===1}function U_({scale:e,scaleX:t,scaleY:n}){return!H_(e)||!H_(t)||!H_(n)}function W_(e){return U_(e)||G_(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function G_(e){return K_(e.x)||K_(e.y)}function K_(e){return e&&e!==`0%`}function q_(e,t,n){return n+t*(e-n)}function J_(e,t,n,r,i){return i!==void 0&&(e=q_(e,i,r)),q_(e,n,r)+t}function Y_(e,t=0,n=1,r,i){e.min=J_(e.min,t,n,r,i),e.max=J_(e.max,t,n,r,i)}function X_(e,{x:t,y:n}){Y_(e.x,t.translate,t.scale,t.originPoint),Y_(e.y,n.translate,n.scale,n.originPoint)}var Z_=.999999999999,Q_=1.0000000000001;function $_(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&&(ev(e.x,-a.scroll.offset.x),ev(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,X_(e,o)),r&&W_(a.latestValues)&&rv(e,a.latestValues,a.layout?.layoutBox))}t.x<Q_&&t.x>Z_&&(t.x=1),t.y<Q_&&t.y>Z_&&(t.y=1)}function ev(e,t){e.min+=t,e.max+=t}function tv(e,t,n,r,i=.5){Y_(e,t,n,Dp(e.min,e.max,i),r)}function nv(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function rv(e,t,n){let r=n??e;tv(e.x,nv(t.x,r.x),t.scaleX,t.scale,t.originX),tv(e.y,nv(t.y,r.y),t.scaleY,t.scale,t.originY)}function iv(e,t){return z_(V_(e.getBoundingClientRect(),t))}function av(e,t,n){let r=iv(e,n),{scroll:i}=t;return i&&(ev(r.x,i.offset.x),ev(r.y,i.offset.y)),r}var ov={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},sv=Pm.length;function cv(e,t,n){let r=``,i=!0;for(let a=0;a<sv;a++){let o=Pm[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=kg(s,bg[o]);if(!c){i=!1;let t=ov[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function lv(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(Fm.has(e)){o=!0;continue}else if(Ff(e)){i[e]=n;continue}else{let t=kg(n,bg[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=cv(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 uv(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 dv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var fv={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if($.test(e))e=parseFloat(e);else return e;return`${dv(e,t.target.x)}% ${dv(e,t.target.y)}%`}},pv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Cp.parse(e);if(i.length>5)return r;let a=Cp.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=Dp(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},mv={borderRadius:{...fv,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:fv,borderTopRightRadius:fv,borderBottomLeftRadius:fv,borderBottomRightRadius:fv,boxShadow:pv};function hv(e,{layout:t,layoutId:n}){return Fm.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!mv[e]||e===`opacity`)}function gv(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Qh(r[t])||i&&Qh(i[t])||hv(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function _v(e){return window.getComputedStyle(e)}var vv=class extends L_{constructor(){super(...arguments),this.type=`html`,this.renderInstance=uv}readValueFromInstance(e,t){if(Fm.has(t))return this.projection?.isProjecting?Am(t):Mm(e,t);{let n=_v(e),r=(Ff(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return iv(e,t)}build(e,t,n){lv(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return gv(e,t,n)}},yv={offset:`stroke-dashoffset`,array:`stroke-dasharray`},bv={offset:`strokeDashoffset`,array:`strokeDasharray`};function xv(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?yv:bv;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Sv=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Cv(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(lv(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 Sv)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&&xv(d,i,a,o,!1)}var wv=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`]),Tv=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Ev(e,t,n,r){uv(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(wv.has(n)?n:tg(n),t.attrs[n])}function Dv(e,t,n){let r=gv(e,t,n);for(let n in e)if(Qh(e[n])||Qh(t[n])){let t=Pm.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Ov=class extends L_{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=y_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Fm.has(t)){let e=Sg(t);return e&&e.default||0}return t=wv.has(t)?t:tg(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Dv(e,t,n)}build(e,t,n){Cv(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Ev(e,t,n,r)}mount(e){this.isSVGTag=Tv(e.tagName),super.mount(e)}},kv=w_.length;function Av(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Av(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<kv;n++){let r=w_[n],i=e.props[r];(S_(i)||i===!1)&&(t[r]=i)}return t}function jv(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 Mv=[...C_].reverse(),Nv=C_.length;function Pv(e){return t=>Promise.all(t.map(({animation:t,options:n})=>cg(e,t,n)))}function Fv(e){let t=Pv(e),n=Rv(),r=!0,i=!1,a=t=>(n,r)=>{let i=Vh(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=Av(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Nv;t++){let p=Mv[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=S_(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||x_(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Iv(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,T={...w,...C},E=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 T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Jh(t)&&Jh(n)?!jv(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Vh(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Th(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Vh(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=Rv(),i=!0}}}function Iv(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!jv(t,e):!1}function Lv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Rv(){return{animate:Lv(!0),whileInView:Lv(),whileHover:Lv(),whileTap:Lv(),whileDrag:Lv(),whileFocus:Lv(),exit:Lv()}}function zv(e,t){e.min=t.min,e.max=t.max}function Bv(e,t){zv(e.x,t.x),zv(e.y,t.y)}function Vv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Hv=1e-4,Uv=1-Hv,Wv=1+Hv,Gv=.01,Kv=0-Gv,qv=0+Gv;function Jv(e){return e.max-e.min}function Yv(e,t,n){return Math.abs(e-t)<=n}function Xv(e,t,n,r=.5){e.origin=r,e.originPoint=Dp(t.min,t.max,e.origin),e.scale=Jv(n)/Jv(t),e.translate=Dp(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Uv&&e.scale<=Wv||isNaN(e.scale))&&(e.scale=1),(e.translate>=Kv&&e.translate<=qv||isNaN(e.translate))&&(e.translate=0)}function Zv(e,t,n,r){Xv(e.x,t.x,n.x,r?r.originX:void 0),Xv(e.y,t.y,n.y,r?r.originY:void 0)}function Qv(e,t,n,r=0){e.min=(r?Dp(n.min,n.max,r):n.min)+t.min,e.max=e.min+Jv(t)}function $v(e,t,n,r){Qv(e.x,t.x,n.x,r?.x),Qv(e.y,t.y,n.y,r?.y)}function ey(e,t,n,r=0){let i=r?Dp(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Jv(t)}function ty(e,t,n,r){ey(e.x,t.x,n.x,r?.x),ey(e.y,t.y,n.y,r?.y)}function ny(e,t,n,r,i){return e-=t,e=q_(e,1/n,r),i!==void 0&&(e=q_(e,1/i,r)),e}function ry(e,t=0,n=1,r=.5,i,a=e,o=e){if(np.test(t)&&(t=parseFloat(t),t=Dp(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=Dp(a.min,a.max,r);e===a&&(s-=t),e.min=ny(e.min,t,n,s,i),e.max=ny(e.max,t,n,s,i)}function iy(e,t,[n,r,i],a,o){ry(e,t[n],t[r],t[i],t.scale,a,o)}var ay=[`x`,`scaleX`,`originX`],oy=[`y`,`scaleY`,`originY`];function sy(e,t,n,r){iy(e.x,t,ay,n?n.x:void 0,r?r.x:void 0),iy(e.y,t,oy,n?n.y:void 0,r?r.y:void 0)}function cy(e){return e.translate===0&&e.scale===1}function ly(e){return cy(e.x)&&cy(e.y)}function uy(e,t){return e.min===t.min&&e.max===t.max}function dy(e,t){return uy(e.x,t.x)&&uy(e.y,t.y)}function fy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function py(e,t){return fy(e.x,t.x)&&fy(e.y,t.y)}function my(e){return Jv(e.x)/Jv(e.y)}function hy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function gy(e){return[e(`x`),e(`y`)]}function _y(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,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}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 vy=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],yy=vy.length,by=e=>typeof e==`string`?parseFloat(e):e,xy=e=>typeof e==`number`||$.test(e);function Sy(e,t,n,r,i,a){i?(e.opacity=Dp(0,n.opacity??1,wy(r)),e.opacityExit=Dp(t.opacity??1,0,Ty(r))):a&&(e.opacity=Dp(t.opacity??1,n.opacity??1,r));for(let i=0;i<yy;i++){let a=vy[i],o=Cy(t,a),s=Cy(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||xy(o)===xy(s)?(e[a]=Math.max(Dp(by(o),by(s),r),0),(np.test(s)||np.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=Dp(t.rotate||0,n.rotate||0,r))}function Cy(e,t){return e[t]===void 0?e.borderRadius:e[t]}var wy=Ey(0,.5,df),Ty=Ey(.5,.95,Wd);function Ey(e,t,n){return r=>r<e?0:r>t?1:n(qd(e,t,r))}function Dy(e,t,n){let r=Qh(e)?e:qh(e);return r.start(Rh(``,r,t,n)),r.animation}function Oy(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var ky=(e,t)=>e.depth-t.depth,Ay=class{constructor(){this.children=[],this.isDirty=!1}add(e){Id(this.children,e),this.isDirty=!0}remove(e){Ld(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ky),this.isDirty=!1,this.children.forEach(e)}};function jy(e,t){let n=Mf.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Df(r),e(a-t))};return Ef.setup(r,!0),()=>Df(r)}function My(e){return Qh(e)?e.get():e}var Ny=class{constructor(){this.members=[]}add(e){Id(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&&(Ld(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Ld(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)}},Py={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Fy={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Iy=[``,`X`,`Y`,`Z`],Ly=1e3,Ry=0;function zy(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function By(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=rg(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,Ef,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&By(r)}function Vy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Ry++,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,Sf.value&&(Fy.nodes=Fy.calculatedTargetDeltas=Fy.calculatedProjections=0),this.nodes.forEach(Wy),this.nodes.forEach($y),this.nodes.forEach(eb),this.nodes.forEach(Gy),Sf.addProjectionMetrics&&Sf.addProjectionMetrics(Fy)},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 Ay)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Jd),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=Qg(t)&&!p_(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;Ef.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=jy(i,250),Py.hasAnimatedSinceResize&&(Py.hasAnimatedSinceResize=!1,this.nodes.forEach(Qy)))})}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()||sb,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!py(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={...Fh(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||Qy(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(),Df(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(tb),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&&By(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(Jy),this.nodes.forEach(qy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Yy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Xy),this.nodes.forEach(Zy),this.nodes.forEach(Hy),this.nodes.forEach(Uy)):this.nodes.forEach(Yy),this.clearAllSnapshots();let e=Mf.now();Of.delta=Rd(0,1e3/60,e-Of.timestamp),Of.timestamp=e,Of.isProcessing=!0,kf.update.process(Of),kf.preRender.process(Of),kf.render.process(Of),Of.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,jg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ky),this.sharedNodes.forEach(nb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ef.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ef.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Jv(this.snapshot.measuredBox.x)&&!Jv(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||=y_(),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&&!ly(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||W_(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)),db(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return y_();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(pb))){let{scroll:e}=this.root;e&&(ev(t.x,e.offset.x),ev(t.y,e.offset.y))}return t}removeElementScroll(e){let t=y_();if(Bv(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&&Bv(t,e),ev(t.x,i.offset.x),ev(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||y_();Bv(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&&(ev(r.x,-n.scroll.offset.x),ev(r.y,-n.scroll.offset.y)),W_(n.latestValues)&&rv(r,n.latestValues,n.layout?.layoutBox)}return W_(this.latestValues)&&rv(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=y_();Bv(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!W_(n.latestValues))continue;let r;n.instance&&(U_(n.latestValues)&&n.updateSnapshot(),r=y_(),Bv(r,n.measurePageBox())),sy(t,n.latestValues,n.snapshot?.layoutBox,r)}return W_(this.latestValues)&&sy(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!==Of.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;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Of.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=y_(),this.targetWithTransforms=y_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),$v(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Bv(this.target,this.layout.layoutBox),X_(this.target,this.targetDelta)):Bv(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),Sf.value&&Fy.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||U_(this.parent.latestValues)||G_(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=y_(),this.relativeTargetOrigin=y_(),ty(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Bv(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===Of.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;Bv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;$_(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=y_());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Vv(this.prevProjectionDelta.x,this.projectionDelta.x),Vv(this.prevProjectionDelta.y,this.projectionDelta.y)),Zv(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!hy(this.projectionDelta.x,this.prevProjectionDelta.x)||!hy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Sf.value&&Fy.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=__(),this.projectionDelta=__(),this.projectionDeltaWithTransform=__()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=__();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=y_(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(ob));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;rb(a.x,e.x,n),rb(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ty(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ab(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&dy(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=y_(),Bv(d,this.relativeTarget)),s&&(this.animationValues=i,Sy(i,r,this.latestValues,n,u,l)),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&&=(Df(this.pendingAnimation),void 0),this.pendingAnimation=Ef.update(()=>{Py.hasAnimatedSinceResize=!0,Nf.layout++,this.motionValue||=qh(0),this.motionValue.jump(0,!1),this.currentAnimation=Dy(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Nf.layout--},onComplete:()=>{Nf.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(Ly),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&&fb(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||y_();let t=Jv(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Jv(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Bv(t,n),rv(t,i),Zv(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ny),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&&zy(`z`,e,r,this.animationValues);for(let t=0;t<Iy.length;t++)zy(`rotate${Iy[t]}`,e,r,this.animationValues),zy(`skew${Iy[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=My(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=My(t?.pointerEvents)||``),this.hasProjected&&!W_(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=_y(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 mv){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=mv[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?My(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(qy),this.root.sharedNodes.clear()}}}function Hy(e){e.updateLayout()}function Uy(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`)gy(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Jv(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;zv(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else fb(i,t.layoutBox,n)&&gy(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Jv(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=__();Zv(o,n,t.layoutBox);let s=__();a?Zv(s,e.applyTransform(r,!0),t.measuredBox):Zv(s,n,t.layoutBox);let c=!ly(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=y_();ty(s,t.layoutBox,i.layoutBox,o);let c=y_();ty(c,n,a.layoutBox,o),py(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 Wy(e){Sf.value&&Fy.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 Gy(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ky(e){e.clearSnapshot()}function qy(e){e.clearMeasurements()}function Jy(e){e.isLayoutDirty=!0,e.updateLayout()}function Yy(e){e.isLayoutDirty=!1}function Xy(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Zy(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Qy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function $y(e){e.resolveTargetDelta()}function eb(e){e.calcProjection()}function tb(e){e.resetSkewAndRotation()}function nb(e){e.removeLeadSnapshot()}function rb(e,t,n){e.translate=Dp(t.translate,0,n),e.scale=Dp(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ib(e,t,n,r){e.min=Dp(t.min,n.min,r),e.max=Dp(t.max,n.max,r)}function ab(e,t,n,r){ib(e.x,t.x,n.x,r),ib(e.y,t.y,n.y,r)}function ob(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var sb={duration:.45,ease:[.4,0,.1,1]},cb=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),lb=cb(`applewebkit/`)&&!cb(`chrome/`)?Math.round:Wd;function ub(e){e.min=lb(e.min),e.max=lb(e.max)}function db(e){ub(e.x),ub(e.y)}function fb(e,t,n){return e===`position`||e===`preserve-aspect`&&!Yv(my(t),my(n),.2)}function pb(e){return e!==e.root&&e.scroll?.wasRoot}var mb=Vy({attachResizeListener:(e,t)=>Oy(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),hb={current:void 0},gb=Vy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!hb.current){let e=new mb({});e.mount(window),e.setOptions({layoutScroll:!0}),hb.current=e}return hb.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),_b=(0,w.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function vb(e=!0){let t=(0,w.useContext)(Fd);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,w.useId)();(0,w.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,w.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var yb=(0,w.createContext)({strict:!1}),bb={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`]},xb=!1;function Sb(){if(xb)return;let e={};for(let t in bb)e[t]={isEnabled:e=>bb[t].some(t=>!!e[t])};P_(e),xb=!0}function Cb(){return Sb(),F_()}function wb(e){let t=Cb();for(let n in e)t[n]={...t[n],...e[n]};P_(t)}var Tb=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 Eb(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Tb.has(e)}var Db=c({default:()=>Ob}),Ob,kb=o((()=>{throw Ob={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Ab=e=>!Eb(e);function jb(e){typeof e==`function`&&(Ab=t=>t.startsWith(`on`)?!Eb(t):e(t))}try{jb((kb(),d(Db)).default)}catch{}function Mb(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||Qh(e[i])||(Ab(i)||n===!0&&Eb(i)||!t&&!Eb(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Nb=(0,w.createContext)({});function Pb(e,t){if(T_(e)){let{initial:t,animate:n}=e;return{initial:t===!1||S_(t)?t:void 0,animate:S_(n)?n:void 0}}return e.inherit===!1?{}:t}function Fb(e){let{initial:t,animate:n}=Pb(e,(0,w.useContext)(Nb));return(0,w.useMemo)(()=>({initial:t,animate:n}),[Ib(t),Ib(n)])}function Ib(e){return Array.isArray(e)?e.join(` `):e}var Lb=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rb(e,t,n){for(let r in t)!Qh(t[r])&&!hv(r,n)&&(e[r]=t[r])}function zb({transformTemplate:e},t){return(0,w.useMemo)(()=>{let n=Lb();return lv(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Bb(e,t){let n=e.style||{},r={};return Rb(r,n,e),Object.assign(r,zb(e,t)),r}function Vb(e,t){let n={},r=Bb(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 Hb=()=>({...Lb(),attrs:{}});function Ub(e,t,n,r){let i=(0,w.useMemo)(()=>{let n=Hb();return Cv(n,t,Tv(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Rb(t,e.style,e),i.style={...t,...i.style}}return i}var Wb=[`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 Gb(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Wb.indexOf(e)>-1||/[A-Z]/u.test(e))}function Kb(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Gb(e)?Ub:Vb)(t,r,i,e),c=Mb(t,typeof e==`string`,a),l=e===w.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,w.useMemo)(()=>Qh(u)?u.get():u,[u]);return(0,w.createElement)(e,{...l,children:d})}function qb({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Jb(n,r,i,e),renderState:t()}}function Jb(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=My(a[e]);let{initial:o,animate:s}=e,c=T_(e),l=E_(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`&&!x_(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Bh(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 Yb=e=>(t,n)=>{let r=(0,w.useContext)(Nb),i=(0,w.useContext)(Fd),a=()=>qb(e,t,r,i);return n?a():Nd(a)},Xb=Yb({scrapeMotionValuesFromProps:gv,createRenderState:Lb}),Zb=Yb({scrapeMotionValuesFromProps:Dv,createRenderState:Hb}),Qb=Symbol.for(`motionComponentSymbol`);function $b(e,t,n){let r=(0,w.useRef)(n);(0,w.useInsertionEffect)(()=>{r.current=n});let i=(0,w.useRef)(null);return(0,w.useCallback)(n=>{n&&e.onMount?.(n);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&&(n?t.mount(n):t.unmount())},[t])}var ex=(0,w.createContext)({});function tx(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function nx(e,t,n,r,i,a){let{visualElement:o}=(0,w.useContext)(Nb),s=(0,w.useContext)(yb),c=(0,w.useContext)(Fd),l=(0,w.useContext)(_b),u=l.reducedMotion,d=l.skipAnimations,f=(0,w.useRef)(null),p=(0,w.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,w.useContext)(ex);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&rx(f.current,n,i,h);let g=(0,w.useRef)(!1);(0,w.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[ng],v=(0,w.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return Pd(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,w.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function rx(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:ix(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&tx(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function ix(e){if(e)return e.options.allowProjection===!1?ix(e.parent):e.projection}function ax(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&wb(r);let a=n?n===`svg`:Gb(e),o=a?Zb:Xb;function s(n,s){let c,l={...(0,w.useContext)(_b),...n,layoutId:ox(n)},{isStatic:u}=l,d=Fb(n),f=o(n,u);if(!u&&typeof window<`u`){sx(l,r);let t=cx(l);c=t.MeasureLayout,d.visualElement=nx(e,f,l,i,t.ProjectionNode,a)}return(0,B.jsxs)(Nb.Provider,{value:d,children:[c&&d.visualElement?(0,B.jsx)(c,{visualElement:d.visualElement,...l}):null,Kb(e,n,$b(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,w.forwardRef)(s);return c[Qb]=e,c}function ox({layoutId:e}){let t=(0,w.useContext)(Md).id;return t&&e!==void 0?t+`-`+e:e}function sx(e,t){(0,w.useContext)(yb).strict}function cx(e){let{drag:t,layout:n}=Cb();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function lx(e,t){if(typeof Proxy>`u`)return ax;let n=new Map,r=(n,r)=>ax(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,ax(a,void 0,e,t)),n.get(a))})}var ux=(e,t)=>t.isSVG??Gb(e)?new Ov(t):new vv(t,{allowProjection:e!==w.Fragment}),dx=class extends R_{constructor(e){super(e),e.animationState||=Fv(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();x_(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?.()}},fx=0,px={animation:{Feature:dx},exit:{Feature:class extends R_{constructor(){super(...arguments),this.id=fx++,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`){let n=Vh(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 mx(e){return{point:{x:e.pageX,y:e.pageY}}}var hx=e=>t=>Bg(t)&&e(t,mx(t));function gx(e,t,n,r){return Oy(e,t,hx(n),r)}var _x=({current:e})=>e?e.ownerDocument.defaultView:null,vx=(e,t)=>Math.abs(e-t);function yx(e,t){let n=vx(e.x,t.x),r=vx(e.y,t.y);return Math.sqrt(n**2+r**2)}var bx=new Set([`auto`,`scroll`]),xx=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=Sx(this.lastRawMoveEventInfo,this.transformPagePoint));let e=wx(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=yx(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Of;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=Sx(t,this.transformPagePoint),Ef.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=wx(e.type===`pointercancel`?this.lastMoveEventInfo:Sx(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Bg(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Sx(mx(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Of;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,wx(s,this.history)),this.removeListeners=Kd(gx(this.contextWindow,`pointermove`,this.handlePointerMove),gx(this.contextWindow,`pointerup`,this.handlePointerUp),gx(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(bx.has(e.overflowX)||bx.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),Ef.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Df(this.updatePoint)}};function Sx(e,t){return t?{point:t(e.point)}:e}function Cx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function wx({point:e},t){return{point:e,delta:Cx(e,Ex(t)),offset:Cx(e,Tx(t)),velocity:Dx(t,.1)}}function Tx(e){return e[0]}function Ex(e){return e[e.length-1]}function Dx(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Ex(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Yd(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Yd(t)*2&&(r=e[1]);let a=Xd(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 Ox(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Dp(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Dp(n,e,r.max):Math.min(e,n)),e}function kx(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 Ax(e,{top:t,left:n,bottom:r,right:i}){return{x:kx(e.x,n,i),y:kx(e.y,t,r)}}function jx(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 Mx(e,t){return{x:jx(e.x,t.x),y:jx(e.y,t.y)}}function Nx(e,t){let n=.5,r=Jv(e),i=Jv(t);return i>r?n=qd(t.min,t.max-r,e.min):r>i&&(n=qd(e.min,e.max-i,t.min)),Rd(0,1,n)}function Px(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 Fx=.35;function Ix(e=Fx){return e===!1?e=0:e===!0&&(e=Fx),{x:Lx(e,`left`,`right`),y:Lx(e,`top`,`bottom`)}}function Lx(e,t,n){return{min:Rx(e,t),max:Rx(e,n)}}function Rx(e,t){return typeof e==`number`?e:e[t]||0}var zx=new WeakMap,Bx=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=y_(),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(mx(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=Fg(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),gy(e=>{let t=this.getAxisMotionValue(e).get()||0;if(np.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Jv(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&Ef.update(()=>i(e,t),!1,!0),eg(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=Wx(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&&Ef.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 xx(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:_x(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&&Ef.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||!Ux(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Ox(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&&tx(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Ax(n.layoutBox,e):this.constraints=!1,this.elastic=Ix(t),r!==this.constraints&&!tx(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&gy(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Px(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!tx(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=av(n,r.root,this.visualElement.getTransformPagePoint()),a=Mx(r.layout.layoutBox,i);if(t){let e=t(B_(a));this.hasMutatedConstraints=!!e,e&&(a=z_(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=gy(o=>{if(!Ux(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 eg(this.visualElement,e),n.start(Rh(e,n,0,t,this.visualElement,!1))}stopAnimation(){gy(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){gy(t=>{let{drag:n}=this.getProps();if(!Ux(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]-Dp(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!tx(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};gy(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Nx({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(),gy(t=>{if(!Ux(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(Dp(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;zx.set(this.visualElement,this);let e=this.visualElement.current,t=gx(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Wg(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();tx(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Hx(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Ef.read(r);let o=Oy(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(gy(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=Fx,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Vx(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Hx(e,t,n){let r=f_(e,Vx(n)),i=f_(t,Vx(n));return()=>{r(),i()}}function Ux(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Wx(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Gx=class extends R_{constructor(e){super(e),this.removeGroupControls=Wd,this.removeListeners=Wd,this.controls=new Bx(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Wd}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()}},Kx=e=>(t,n)=>{e&&Ef.update(()=>e(t,n),!1,!0)},qx=class extends R_{constructor(){super(...arguments),this.removePointerDownListener=Wd}onPointerDown(e){this.session=new xx(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_x(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Kx(e),onStart:Kx(t),onMove:Kx(n),onEnd:(e,t)=>{delete this.session,r&&Ef.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=gx(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Jx=!1,Yx=class extends w.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.register&&r&&n.register(i),Jx&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Py.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}),Jx=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||Ef.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(),jg.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Jx=!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 Xx(e){let[t,n]=vb(),r=(0,w.useContext)(Md);return(0,B.jsx)(Yx,{...e,layoutGroup:r,switchLayoutGroup:(0,w.useContext)(ex),isPresent:t,safeToRemove:n})}var Zx={pan:{Feature:qx},drag:{Feature:Gx,ProjectionNode:gb,MeasureLayout:Xx}};function Qx(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&Ef.postRender(()=>i(t,mx(t)))}var $x=class extends R_{mount(){let{current:e}=this.node;e&&(this.unmount=Rg(e,(e,t)=>(Qx(this.node,t,`Start`),e=>Qx(this.node,e,`End`))))}unmount(){}},eS=class extends R_{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=Kd(Oy(this.node.current,`focus`,()=>this.onFocus()),Oy(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function tS(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&&Ef.postRender(()=>i(t,mx(t)))}var nS=class extends R_{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Zg(e,(e,t)=>(tS(this.node,t,`Start`),(e,{success:t})=>tS(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},rS=new WeakMap,iS=new WeakMap,aS=e=>{let t=rS.get(e.target);t&&t(e)},oS=e=>{e.forEach(aS)};function sS({root:e,...t}){let n=e||document;iS.has(n)||iS.set(n,{});let r=iS.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(oS,{root:e,...t})),r[i]}function cS(e,t,n){let r=sS(t);return rS.set(e,n),r.observe(e),()=>{rS.delete(e),r.unobserve(e)}}var lS={some:0,all:1},uS=class extends R_{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:lS[r]};this.stopObserver=cS(this.node.current,a,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)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(dS(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function dS({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var fS={inView:{Feature:uS},tap:{Feature:nS},focus:{Feature:eS},hover:{Feature:$x}},pS={layout:{ProjectionNode:gb,MeasureLayout:Xx}},mS=lx({...px,...fS,...Zx,...pS},ux),hS={"/company":{label:`Company`},"/uam":{label:`UAM / UATM`},"/business":{label:`Business`},"/solution":{label:`Solution`},"/contact":{label:`Contact Us`}};function gS({title:e,desc:t,navItems:n}){let{pathname:r}=tt(),i=typeof e==`string`?e.split(`
`):[e];return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`section`,{className:`sh4`,children:[(0,B.jsxs)(`div`,{className:`sh4-inner`,children:[(0,B.jsx)(mS.span,{className:`sh4-label`,initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.6,ease:[.16,1,.3,1]},children:hS[`/`+r.split(`/`)[1]]?.label}),(0,B.jsx)(`h1`,{className:`sh4-title`,children:i.map((e,t)=>(0,B.jsx)(`span`,{className:`sh4-title-line`,children:e.split(``).map((e,n)=>(0,B.jsx)(mS.span,{className:`sh4-char`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.7,delay:.25+t*.18+n*.03,ease:[.16,1,.3,1]},children:e===` `?`\xA0`:e},n))},t))}),t&&(0,B.jsx)(mS.p,{className:`sh4-desc`,initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.8,ease:[.16,1,.3,1]},children:t})]}),(0,B.jsx)(`div`,{className:`sh4-deco sh4-deco--1`}),(0,B.jsx)(`div`,{className:`sh4-deco sh4-deco--2`})]}),n?.length>1&&(0,B.jsx)(`div`,{className:`sh4-nav-wrap`,children:(0,B.jsx)(`nav`,{className:`sh4-nav`,children:n.map(e=>{let t=r===e.to;return(0,B.jsxs)(En,{to:e.to,className:`sh4-nav-tab${t?` sh4-nav-tab--active`:``}`,children:[t&&(0,B.jsx)(mS.span,{className:`sh4-nav-bg`,layoutId:`sh4-pill`,transition:{type:`spring`,stiffness:380,damping:34}}),(0,B.jsx)(`span`,{className:`sh4-nav-label`,children:e.label})]},e.to)})})})]})}G.registerPlugin(Z);var _S=[{label:`회사소개`,to:`/company/about`},{label:`연혁`,to:`/company/history`},{label:`고객 및 협력사`,to:`/company/partners`},{label:`찾아오시는 길`,to:`/company/location`}],vS=[{num:2010,suffix:``,label:`설립연도`,note:`FOUNDED`},{num:50,suffix:`+`,label:`완료 프로젝트`,note:`PROJECTS`},{num:15,suffix:`+`,label:`주요 고객사`,note:`CLIENTS`},{num:10,suffix:`+`,label:`R&D 전문인력`,note:`EXPERTS`}],yS=[{idx:`01`,title:`기술 혁신`,en:`Innovation`,desc:`항공 데이터와 UTM 기술의 경계를 지속적으로 확장하며 미래 모빌리티 시대를 선도합니다.`,img:`/images/img1.jpg`},{idx:`02`,title:`신뢰와 책임`,en:`Trust`,desc:`공공·항공 분야의 핵심 인프라를 다루는 만큼 모든 서비스에 안전과 신뢰를 최우선으로 합니다.`,img:`/images/img2.jpg`},{idx:`03`,title:`파트너십`,en:`Partnership`,desc:`고객사와 장기 파트너로서 구축부터 운영·유지보수까지 전 과정을 함께합니다.`,img:`/images/img3.jpg`},{idx:`04`,title:`전문성`,en:`Expertise`,desc:`항공 IT 분야 10년 이상의 전문 인력이 SI, R&D, 솔루션 개발을 일관되게 수행합니다.`,img:`/images/img4.jpg`}],bS=[{year:`2022`,title:`인천 항공산업 선도기업 유망기업 선정`,org:`인천시 · 인천테크노파크`},{year:`2021`,title:`소프트웨어 품질인증 GS 인증 획득`,org:`한국정보통신기술협회(TTA)`},{year:`2021`,title:`기업부설연구소 인정`,org:`한국산업기술진흥협회`},{year:`2020`,title:`조달청 우수제품 지정`,org:`비행상황관제 시스템`}];function xS(e,t,n,r=1800){let i=t>100?t-4:0,a=null,o=s=>{a||=s;let c=Math.min((s-a)/r,1),l=1-(1-c)**4;e.textContent=Math.floor(i+(t-i)*l)+n,c<1&&requestAnimationFrame(o)};requestAnimationFrame(o)}function SS(){let e=(0,w.useRef)([]),t=(0,w.useRef)(!1);return(0,w.useEffect)(()=>{let n=G.context(()=>{Z.create({trigger:`.ab3-stats`,start:`top 75%`,onEnter:()=>{t.current||(t.current=!0,e.current.forEach((e,t)=>{e&&setTimeout(()=>xS(e,vS[t].num,vS[t].suffix),t*100)}))}}),G.fromTo(`.ab3-si`,{opacity:0,y:50},{opacity:1,y:0,stagger:.12,duration:.9,ease:`power3.out`,scrollTrigger:{trigger:`.ab3-stats`,start:`top 78%`}}),G.fromTo(`.ab3-phil-line`,{opacity:0,y:80},{opacity:1,y:0,stagger:.15,duration:1.1,ease:`power4.out`,scrollTrigger:{trigger:`.ab3-phil`,start:`top 65%`}}),G.fromTo(`.ab3-phil-sub`,{opacity:0,x:40},{opacity:1,x:0,duration:1,ease:`power3.out`,scrollTrigger:{trigger:`.ab3-phil`,start:`top 55%`}}),G.fromTo(`.ab3-val-row`,{opacity:0,x:-40},{opacity:1,x:0,stagger:.1,duration:.8,ease:`power3.out`,scrollTrigger:{trigger:`.ab3-vals`,start:`top 72%`}}),G.fromTo(`.ab3-awd-item`,{opacity:0,y:30},{opacity:1,y:0,stagger:.1,duration:.7,ease:`power2.out`,scrollTrigger:{trigger:`.ab3-awds`,start:`top 75%`}}),G.fromTo(`.ab3-cta-inner > *`,{opacity:0,y:40},{opacity:1,y:0,stagger:.12,duration:.9,ease:`power2.out`,scrollTrigger:{trigger:`.ab3-cta`,start:`top 75%`}})});return()=>n.revert()},[]),(0,B.jsxs)(`article`,{className:`ab3`,children:[(0,B.jsx)(gS,{title:`가치를 실천하는
항공 IT 전문기업`,desc:`팔네트웍스는 항공 데이터와 통합 관제 기술을 기반으로 안전한 하늘길을 만들어갑니다.`,navItems:_S,bgImage:`/images/hero1.png`}),(0,B.jsxs)(`section`,{className:`ab3-stats`,children:[(0,B.jsx)(`div`,{className:`ab3-stats-bg`}),(0,B.jsxs)(`div`,{className:`ab3-stats-inner`,children:[(0,B.jsx)(`p`,{className:`ab3-label`,children:`PAL Networks in Numbers`}),(0,B.jsx)(`div`,{className:`ab3-stats-grid`,children:vS.map((t,n)=>(0,B.jsxs)(`div`,{className:`ab3-si`,children:[(0,B.jsx)(`span`,{className:`ab3-si-note`,children:t.note}),(0,B.jsxs)(`strong`,{className:`ab3-si-num`,ref:t=>e.current[n]=t,children:[t.num,t.suffix]}),(0,B.jsx)(`span`,{className:`ab3-si-lbl`,children:t.label})]},t.note))})]})]}),(0,B.jsxs)(`section`,{className:`ab3-phil`,children:[(0,B.jsx)(`video`,{className:`ab3-phil-vid`,src:`/images/uam.mp4`,autoPlay:!0,muted:!0,loop:!0,playsInline:!0}),(0,B.jsx)(`div`,{className:`ab3-phil-overlay`}),(0,B.jsxs)(`div`,{className:`ab3-phil-inner`,children:[(0,B.jsxs)(`div`,{className:`ab3-phil-left`,children:[(0,B.jsx)(`p`,{className:`ab3-label ab3-label--light`,children:`Our Philosophy`}),(0,B.jsxs)(`div`,{className:`ab3-phil-words`,children:[(0,B.jsx)(`span`,{className:`ab3-phil-line`,children:`항공산업의`}),(0,B.jsx)(`span`,{className:`ab3-phil-line`,children:`기술혁신을`}),(0,B.jsx)(`span`,{className:`ab3-phil-line ab3-phil-line--accent`,children:`선도합니다.`})]})]}),(0,B.jsxs)(`div`,{className:`ab3-phil-sub`,children:[(0,B.jsxs)(`div`,{className:`ab3-phil-badge`,children:[(0,B.jsx)(`span`,{children:`2010년 설립 이후`}),(0,B.jsx)(`strong`,{children:`항공 IT 한 길`})]}),(0,B.jsx)(`p`,{className:`ab3-phil-body`,children:`팔네트웍스는 2010년 설립 이후 항공 예약 플랫폼, 비행상황관제 시스템, UTM 솔루션까지 항공 IT 분야의 핵심 기술을 꾸준히 개발해왔습니다. 인천광역시 로봇랜드에서 UAM/UATM 미래 기술을 선행 연구하고 있습니다.`})]})]})]}),(0,B.jsx)(`section`,{className:`ab3-vals`,children:(0,B.jsxs)(`div`,{className:`ab3-vals-inner`,children:[(0,B.jsxs)(`div`,{className:`ab3-vals-head`,children:[(0,B.jsx)(`p`,{className:`ab3-label`,children:`Core Values`}),(0,B.jsxs)(`h2`,{className:`ab3-vals-title`,children:[`우리가`,(0,B.jsx)(`br`,{}),`지키는 가치`]})]}),(0,B.jsx)(`div`,{className:`ab3-vals-list`,children:yS.map(e=>(0,B.jsxs)(`div`,{className:`ab3-val-row`,style:{"--val-img":`url(${e.img})`},children:[(0,B.jsx)(`div`,{className:`ab3-val-img`}),(0,B.jsxs)(`div`,{className:`ab3-val-meta`,children:[(0,B.jsx)(`span`,{className:`ab3-val-idx`,children:e.idx}),(0,B.jsx)(`span`,{className:`ab3-val-en`,children:e.en})]}),(0,B.jsx)(`h3`,{className:`ab3-val-name`,children:e.title}),(0,B.jsx)(`p`,{className:`ab3-val-desc`,children:e.desc}),(0,B.jsx)(`span`,{className:`ab3-val-arr`,children:``})]},e.idx))})]})}),(0,B.jsxs)(`section`,{className:`ab3-awds`,children:[(0,B.jsx)(`div`,{className:`ab3-awds-bg`}),(0,B.jsxs)(`div`,{className:`ab3-awds-inner`,children:[(0,B.jsxs)(`div`,{className:`ab3-awds-head`,children:[(0,B.jsx)(`p`,{className:`ab3-label ab3-label--light`,children:`Certifications & Awards`}),(0,B.jsx)(`h2`,{className:`ab3-awds-title`,children:`인증 및 수상`})]}),(0,B.jsx)(`ul`,{className:`ab3-awds-list`,children:bS.map((e,t)=>(0,B.jsxs)(`li`,{className:`ab3-awd-item`,children:[(0,B.jsx)(`span`,{className:`ab3-awd-yr`,children:e.year}),(0,B.jsx)(`div`,{className:`ab3-awd-line`}),(0,B.jsxs)(`div`,{className:`ab3-awd-body`,children:[(0,B.jsx)(`strong`,{className:`ab3-awd-name`,children:e.title}),(0,B.jsx)(`span`,{className:`ab3-awd-org`,children:e.org})]})]},t))})]})]}),(0,B.jsxs)(`section`,{className:`ab3-cta`,children:[(0,B.jsx)(`div`,{className:`ab3-cta-bg`}),(0,B.jsxs)(`div`,{className:`ab3-cta-inner`,children:[(0,B.jsx)(`span`,{className:`ab3-cta-chip`,children:`Contact Us`}),(0,B.jsxs)(`h2`,{className:`ab3-cta-title`,children:[`팔네트웍스와`,(0,B.jsx)(`br`,{}),`함께하세요`]}),(0,B.jsx)(`p`,{className:`ab3-cta-desc`,children:`파트너십 문의, 채용, 사업 협력 등 무엇이든 편하게 연락주세요.`}),(0,B.jsxs)(`div`,{className:`ab3-cta-btns`,children:[(0,B.jsx)(En,{to:`/contact/inquiry`,className:`ab3-cta-btn ab3-cta-btn--fill`,children:`문의하기`}),(0,B.jsx)(En,{to:`/contact/recruit`,className:`ab3-cta-btn ab3-cta-btn--line`,children:`채용 안내`})]})]})]})]})}function CS(e=`.sub-fade-in`,t={}){let n=(0,w.useRef)(null);return(0,w.useEffect)(()=>{let r=(n.current||document).querySelectorAll(e),i=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add(`is-visible`),i.unobserve(e.target))})},{threshold:.12,...t});return r.forEach(e=>i.observe(e)),()=>i.disconnect()},[e,t]),n}var wS=[{label:`회사소개`,to:`/company/about`},{label:`연혁`,to:`/company/history`},{label:`고객 및 협력사`,to:`/company/partners`},{label:`찾아오시는 길`,to:`/company/location`}],TS=[{year:`2024`,items:[{month:`11월`,text:`UAM 통합 교통관리 시스템(UATM) 1단계 연구개발 착수`},{month:`06월`,text:`KT G-cloud 인천 총판 계약 체결`},{month:`03월`,text:`비행상황관제 시스템 v3.0 고도화 완료`}]},{year:`2023`,items:[{month:`09월`,text:`인천광역시 로봇랜드 14층 본사 이전`},{month:`07월`,text:`스마트 관광 예약 플랫폼 제주도관광공사 구축 완료`},{month:`04월`,text:`기업부설연구소 인정 (한국산업기술진흥협회)`},{month:`01월`,text:`UTM 드론 비행 승인 시스템 실증 사업 참여`}]},{year:`2022`,items:[{month:`11월`,text:`인천 항공산업 선도기업 유망기업 선정`},{month:`06월`,text:`IBE(인터넷 부킹 엔진) v2 고도화 완료`},{month:`03월`,text:`국방부 산하 항공 운영 시스템 구축 SI 수주`}]},{year:`2021`,items:[{month:`10월`,text:`비행상황관제 시스템 조달청 우수제품 지정`},{month:`05월`,text:`소프트웨어 품질인증 GS 인증 획득 (TTA)`}]},{year:`2019`,items:[{month:`08월`,text:`인천국제공항공사 항공 운영 시스템 유지보수 계약`},{month:`03월`,text:`드론 관제 및 비행 계획 승인 시스템 프로토타입 개발`}]},{year:`2017`,items:[{month:`09월`,text:`스마트 관광 예약 플랫폼 1.0 출시`},{month:`04월`,text:`IBE(인터넷 부킹 엔진) 첫 상용화`}]},{year:`2015`,items:[{month:`06월`,text:`비행상황관제 시스템 초기 버전 개발 완료`},{month:`02월`,text:`한국공항공사 MRO 시스템 구축 참여`}]},{year:`2010`,items:[{month:`05월`,text:`주식회사 팔네트웍스 설립`},{month:`05월`,text:`항공 IT 소프트웨어 개발 전문 기업으로 사업 시작`}]}];function ES(){return(0,B.jsxs)(`article`,{ref:CS(),children:[(0,B.jsx)(gS,{label:`Company`,title:`14년의 기술 여정`,desc:`항공 IT의 기초부터 UAM/UATM 미래 기술까지, 팔네트웍스가 걸어온 발자취입니다.`,navItems:wS}),(0,B.jsx)(`div`,{className:`sub-content`,children:(0,B.jsxs)(`section`,{className:`sub-section`,children:[(0,B.jsx)(`span`,{className:`sub-section-eyebrow sub-fade-in`,children:`History`}),(0,B.jsx)(`h2`,{className:`sub-section-title sub-fade-in`,children:`연혁`}),(0,B.jsx)(`div`,{className:`history-timeline`,children:TS.map((e,t)=>(0,B.jsxs)(`div`,{className:`history-year-group sub-fade-in`,style:{transitionDelay:`${t*60}ms`},children:[(0,B.jsx)(`div`,{className:`history-year`,children:e.year}),(0,B.jsx)(`div`,{className:`history-items`,children:e.items.map((e,t)=>(0,B.jsxs)(`div`,{className:`history-item`,children:[(0,B.jsx)(`span`,{className:`history-item-month`,children:e.month}),(0,B.jsx)(`p`,{className:`history-item-text`,children:e.text})]},t))})]},e.year))})]})})]})}var DS=[{label:`회사소개`,to:`/company/about`},{label:`연혁`,to:`/company/history`},{label:`고객 및 협력사`,to:`/company/partners`},{label:`찾아오시는 길`,to:`/company/location`}],OS=[{name:`인천국제공항공사`,type:`공공기관`},{name:`한국공항공사`,type:`공공기관`},{name:`국방부`,type:`정부기관`},{name:`인천광역시`,type:`지방자치단체`},{name:`제주도관광공사`,type:`공공기관`},{name:`항공안전기술원`,type:`공공기관`},{name:`한국항공우주연구원`,type:`연구기관`},{name:`국토교통부`,type:`정부기관`}],kS=[{name:`KT`,type:`클라우드 파트너`},{name:`마이크로소프트`,type:`기술 파트너`},{name:`오라클`,type:`기술 파트너`},{name:`삼성SDS`,type:`SI 파트너`},{name:`한화시스템`,type:`방산·항공`},{name:`LG CNS`,type:`SI 파트너`}];function AS({name:e,type:t}){return(0,B.jsxs)(`div`,{className:`partner-card`,children:[(0,B.jsx)(`span`,{className:`partner-card-name`,children:e}),(0,B.jsx)(`span`,{className:`partner-card-type`,children:t})]})}function jS(){return(0,B.jsxs)(`article`,{ref:CS(),children:[(0,B.jsx)(gS,{label:`Company`,title:`함께하는 고객과 파트너`,desc:`공공·항공·국방 분야 주요 기관과의 신뢰를 바탕으로 성장해왔습니다.`,navItems:DS}),(0,B.jsxs)(`div`,{className:`sub-content`,children:[(0,B.jsxs)(`section`,{className:`sub-section`,children:[(0,B.jsx)(`span`,{className:`sub-section-eyebrow sub-fade-in`,children:`Clients`}),(0,B.jsx)(`h2`,{className:`sub-section-title sub-fade-in`,children:`주요 고객사`}),(0,B.jsx)(`p`,{className:`sub-section-lead sub-fade-in`,children:`인천국제공항공사, 국방부 등 항공·공공 분야 핵심 기관들과 장기 파트너십을 유지하며 안정적인 IT 서비스를 제공합니다.`}),(0,B.jsx)(`div`,{className:`partners-grid`,style:{marginTop:`40px`},children:OS.map((e,t)=>(0,B.jsx)(`div`,{className:`sub-fade-in`,style:{transitionDelay:`${t*50}ms`},children:(0,B.jsx)(AS,{...e})},e.name))})]}),(0,B.jsxs)(`section`,{className:`sub-section`,children:[(0,B.jsx)(`span`,{className:`sub-section-eyebrow sub-fade-in`,children:`Partners`}),(0,B.jsx)(`h2`,{className:`sub-section-title sub-fade-in`,children:`기술 협력사`}),(0,B.jsx)(`p`,{className:`sub-section-lead sub-fade-in`,children:`국내외 선도 IT 기업들과의 협력을 통해 최적의 기술 솔루션을 고객에게 제공합니다.`}),(0,B.jsx)(`div`,{className:`partners-grid`,style:{marginTop:`40px`},children:kS.map((e,t)=>(0,B.jsx)(`div`,{className:`sub-fade-in`,style:{transitionDelay:`${t*50}ms`},children:(0,B.jsx)(AS,{...e})},e.name))})]}),(0,B.jsx)(`section`,{className:`sub-section sub-fade-in`,children:(0,B.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,flexWrap:`wrap`,gap:`24px`,padding:`48px 56px`,background:`var(--color-primary)`,borderRadius:`24px`},children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{style:{margin:`0 0 8px`,fontSize:`13px`,fontWeight:700,letterSpacing:`.12em`,textTransform:`uppercase`,color:`rgba(255,255,255,.65)`},children:`Become a Partner`}),(0,B.jsxs)(`h3`,{style:{margin:0,fontSize:`clamp(22px,2.2vw,30px)`,fontWeight:800,color:`#fff`,letterSpacing:`-.03em`,lineHeight:1.25},children:[`팔네트웍스와 함께 성장할`,(0,B.jsx)(`br`,{}),`파트너를 찾습니다`]})]}),(0,B.jsx)(`a`,{href:`/contact/inquiry`,style:{display:`inline-flex`,alignItems:`center`,height:`52px`,padding:`0 28px`,background:`#fff`,borderRadius:`999px`,fontSize:`15px`,fontWeight:700,color:`var(--color-primary)`,textDecoration:`none`,whiteSpace:`nowrap`,letterSpacing:`-.01em`,flexShrink:0},children:`협력 문의하기`})]})})]})]})}var MS=[{label:`회사소개`,to:`/company/about`},{label:`연혁`,to:`/company/history`},{label:`고객 및 협력사`,to:`/company/partners`},{label:`찾아오시는 길`,to:`/company/location`}];function NS(){return(0,B.jsxs)(`svg`,{viewBox:`0 0 24 24`,children:[(0,B.jsx)(`path`,{d:`M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z`}),(0,B.jsx)(`circle`,{cx:`12`,cy:`10`,r:`3`})]})}function PS(){return(0,B.jsx)(`svg`,{viewBox:`0 0 24 24`,children:(0,B.jsx)(`path`,{d:`M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 13a19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 3.6 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 9.91a16 16 0 0 0 6.13 6.13l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z`})})}function FS(){return(0,B.jsxs)(`svg`,{viewBox:`0 0 24 24`,children:[(0,B.jsx)(`polyline`,{points:`22 17 22 11 16 11`}),(0,B.jsx)(`path`,{d:`M21.73 11l-5.73-7H2v18h12.27l5-7z`})]})}function IS(){return(0,B.jsxs)(`svg`,{viewBox:`0 0 24 24`,children:[(0,B.jsx)(`path`,{d:`M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z`}),(0,B.jsx)(`polyline`,{points:`22,6 12,13 2,6`})]})}var LS=[{icon:(0,B.jsx)(NS,{}),label:`주소`,value:`인천광역시 서구 로봇랜드로 155-11
로봇랜드 14층 1401~2호`},{icon:(0,B.jsx)(PS,{}),label:`전화`,value:`032-727-5909`,href:`tel:032-727-5909`},{icon:(0,B.jsx)(FS,{}),label:`팩스`,value:`032-727-5908`},{icon:(0,B.jsx)(IS,{}),label:`이메일`,value:`help@palnet.co.kr`,href:`mailto:help@palnet.co.kr`}],RS=[{badge:`지하철`,text:`인천 1호선 검암역 하차 → 도보 약 15분 또는 택시 5분 (로봇랜드 방면)`},{badge:`버스`,text:`검암역 환승센터에서 서구 방면 버스 탑승 → 로봇랜드 하차`},{badge:`자가용`,text:`제2경인고속도로 검단IC 진출 → 로봇랜드로 방면 직진 약 5분`}],zS=`https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3161.8!2d126.6854!3d37.5613!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x357b7f6e5a5cfc7f%3A0x0!2z7Iuc7LKc7Jy87Lanb-qzoOq1rOyGjA!5e0!3m2!1sko!2skr!4v1700000000000`;function BS(){return(0,B.jsxs)(`article`,{ref:CS(),children:[(0,B.jsx)(gS,{label:`Company`,title:`찾아오시는 길`,desc:`인천광역시 서구 로봇랜드에 위치한 팔네트웍스 본사입니다.`,navItems:MS}),(0,B.jsx)(`div`,{className:`sub-content`,children:(0,B.jsx)(`section`,{className:`sub-section`,children:(0,B.jsxs)(`div`,{className:`location-wrap`,children:[(0,B.jsxs)(`div`,{className:`sub-fade-in`,children:[(0,B.jsx)(`div`,{className:`location-map`,children:(0,B.jsx)(`iframe`,{src:zS,allowFullScreen:!0,loading:`lazy`,referrerPolicy:`no-referrer-when-downgrade`,title:`팔네트웍스 본사 위치`})}),(0,B.jsxs)(`div`,{className:`location-transport`,style:{marginTop:`28px`},children:[(0,B.jsx)(`h3`,{className:`location-transport-title`,children:`교통편 안내`}),(0,B.jsx)(`ul`,{className:`location-transport-list`,children:RS.map(e=>(0,B.jsxs)(`li`,{className:`location-transport-item`,children:[(0,B.jsx)(`span`,{className:`location-transport-badge`,children:e.badge}),(0,B.jsx)(`span`,{className:`location-transport-text`,children:e.text})]},e.badge))})]})]}),(0,B.jsxs)(`div`,{className:`location-info-card sub-fade-in`,style:{transitionDelay:`100ms`},children:[(0,B.jsx)(`h3`,{children:`(주) PALNETWORKS`}),(0,B.jsx)(`ul`,{className:`location-info-list`,children:LS.map(e=>(0,B.jsxs)(`li`,{className:`location-info-item`,children:[(0,B.jsx)(`div`,{className:`location-info-icon`,children:e.icon}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`span`,{className:`location-info-label`,children:e.label}),e.href?(0,B.jsx)(`a`,{className:`location-info-value`,href:e.href,children:e.value}):(0,B.jsx)(`p`,{className:`location-info-value`,style:{margin:0,whiteSpace:`pre-line`},children:e.value})]})]},e.label))}),(0,B.jsxs)(`div`,{className:`location-hours`,children:[(0,B.jsx)(`p`,{style:{margin:`0 0 10px`,fontSize:`11px`,fontWeight:700,letterSpacing:`.1em`,textTransform:`uppercase`,color:`rgba(17,17,17,.4)`},children:`운영 시간`}),(0,B.jsxs)(`p`,{className:`location-hours-label`,children:[`평일 09:00 – 18:00`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`span`,{className:`location-hours-text`,children:`토·일·공휴일 휴무`})]})]}),(0,B.jsx)(`a`,{href:`/contact/inquiry`,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,marginTop:`20px`,height:`50px`,background:`var(--color-primary)`,borderRadius:`12px`,fontSize:`15px`,fontWeight:700,color:`#fff`,textDecoration:`none`,letterSpacing:`-.01em`,transition:`opacity .2s`},onMouseEnter:e=>e.currentTarget.style.opacity=`.85`,onMouseLeave:e=>e.currentTarget.style.opacity=`1`,children:`문의하기`})]})]})})})]})}function VS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`UAM/UATM 소개`}),(0,B.jsx)(`p`,{children:`Urban Air Mobility & UAM Air Traffic Management`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`도심 항공 모빌리티 핵심 기술`}),(0,B.jsxs)(`p`,{children:[`안전한 도심 상공 운항과 통합 관제를 실현하는`,(0,B.jsx)(`br`,{}),`PAL Networks의 UAM/UATM 기술을 소개합니다.`]})]})})]})}function HS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`도입사례`}),(0,B.jsx)(`p`,{children:`UAM/UATM Case Studies`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`주요 도입 및 운영 사례`}),(0,B.jsx)(`p`,{children:`PAL Networks의 UAM/UATM 기술이 적용된 실제 사례를 소개합니다.`})]})})]})}function US(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`System Integration`}),(0,B.jsx)(`p`,{children:`시스템 통합 구축`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`맞춤형 정보시스템 구축`}),(0,B.jsxs)(`p`,{children:[`공공·민간 분야의 정보시스템 구축부터 운영까지`,(0,B.jsx)(`br`,{}),`전 과정을 책임지는 SI 서비스를 제공합니다.`]})]})})]})}function WS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`R&D`}),(0,B.jsx)(`p`,{children:`Research & Development`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`연구 개발 및 기술 고도화`}),(0,B.jsxs)(`p`,{children:[`항공·관제 도메인 특화 기술 연구로`,(0,B.jsx)(`br`,{}),`차세대 솔루션을 만들어갑니다.`]})]})})]})}function GS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`운영 · 유지보수`}),(0,B.jsx)(`p`,{children:`Operation & Maintenance`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`안정적인 시스템 운영과 사후 관리`}),(0,B.jsxs)(`p`,{children:[`구축 이후에도 끊김 없는 서비스 운영을 위해`,(0,B.jsx)(`br`,{}),`장기 파트너십 기반의 유지보수를 제공합니다.`]})]})})]})}function KS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`비행상황관리 시스템`}),(0,B.jsx)(`p`,{children:`Flight Situation Management System`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`실시간 비행 상황 통합 관제`}),(0,B.jsxs)(`p`,{children:[`항공기 운항 정보를 실시간으로 수집·분석하여`,(0,B.jsx)(`br`,{}),`안전한 비행 운영을 지원하는 통합 관제 솔루션입니다.`]})]})})]})}function qS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`IBE`}),(0,B.jsx)(`p`,{children:`Internet Booking Engine`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`항공 예약 · 발권 엔진`}),(0,B.jsxs)(`p`,{children:[`온라인 항공 예약과 발권을 위한 통합 엔진으로`,(0,B.jsx)(`br`,{}),`안정적이고 확장 가능한 예약 플랫폼을 제공합니다.`]})]})})]})}function JS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`스마트 관광 예약 플랫폼`}),(0,B.jsx)(`p`,{children:`Smart Tourism Booking Platform`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`관광 예약 통합 운영 플랫폼`}),(0,B.jsxs)(`p`,{children:[`관광 상품 검색부터 예약, 결제, 운영 관리까지`,(0,B.jsx)(`br`,{}),`하나의 플랫폼에서 통합 제공하는 솔루션입니다.`]})]})})]})}function YS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`KT G-cloud 인천총판`}),(0,B.jsx)(`p`,{children:`KT G-cloud Incheon Distributor`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`공공 클라우드 인프라 공급`}),(0,B.jsxs)(`p`,{children:[`KT G-cloud 인천 지역 총판 파트너로서`,(0,B.jsx)(`br`,{}),`공공기관 클라우드 인프라 도입과 운영을 지원합니다.`]})]})})]})}function XS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`문의하기`}),(0,B.jsx)(`p`,{children:`Inquiry`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`프로젝트 및 협업 문의`}),(0,B.jsxs)(`p`,{children:[`PAL Networks에 프로젝트 협업이나 기술 도입을 문의하고 싶으시다면`,(0,B.jsx)(`br`,{}),`아래 정보를 통해 편하게 연락 주세요.`]})]})})]})}function ZS(){return(0,B.jsxs)(`main`,{className:`sub-page`,children:[(0,B.jsx)(`section`,{className:`sub-visual`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h2`,{children:`채용정보`}),(0,B.jsx)(`p`,{children:`Recruit`})]})}),(0,B.jsx)(`section`,{className:`sub-content-section`,children:(0,B.jsxs)(`div`,{className:`inner`,children:[(0,B.jsx)(`h3`,{children:`함께할 동료를 찾습니다`}),(0,B.jsxs)(`p`,{children:[`PAL Networks와 함께 성장할`,(0,B.jsx)(`br`,{}),`새로운 동료를 기다리고 있습니다.`]})]})})]})}function QS(){return(0,B.jsxs)(Ft,{children:[(0,B.jsx)(Nt,{path:`/`,element:(0,B.jsx)(jt,{to:`/main`,replace:!0})}),(0,B.jsx)(Nt,{element:(0,B.jsx)(Zn,{}),children:(0,B.jsx)(Nt,{path:`/main`,element:(0,B.jsx)(jd,{})})}),(0,B.jsxs)(Nt,{element:(0,B.jsx)(Qn,{}),children:[(0,B.jsx)(Nt,{path:`/company`,element:(0,B.jsx)(jt,{to:`/company/about`,replace:!0})}),(0,B.jsx)(Nt,{path:`/company/about`,element:(0,B.jsx)(SS,{})}),(0,B.jsx)(Nt,{path:`/company/history`,element:(0,B.jsx)(ES,{})}),(0,B.jsx)(Nt,{path:`/company/partners`,element:(0,B.jsx)(jS,{})}),(0,B.jsx)(Nt,{path:`/company/location`,element:(0,B.jsx)(BS,{})}),(0,B.jsx)(Nt,{path:`/uam`,element:(0,B.jsx)(jt,{to:`/uam/intro`,replace:!0})}),(0,B.jsx)(Nt,{path:`/uam/intro`,element:(0,B.jsx)(VS,{})}),(0,B.jsx)(Nt,{path:`/uam/case`,element:(0,B.jsx)(HS,{})}),(0,B.jsx)(Nt,{path:`/business`,element:(0,B.jsx)(jt,{to:`/business/si`,replace:!0})}),(0,B.jsx)(Nt,{path:`/business/si`,element:(0,B.jsx)(US,{})}),(0,B.jsx)(Nt,{path:`/business/rnd`,element:(0,B.jsx)(WS,{})}),(0,B.jsx)(Nt,{path:`/business/maintenance`,element:(0,B.jsx)(GS,{})}),(0,B.jsx)(Nt,{path:`/solution`,element:(0,B.jsx)(jt,{to:`/solution/flight-control`,replace:!0})}),(0,B.jsx)(Nt,{path:`/solution/flight-control`,element:(0,B.jsx)(KS,{})}),(0,B.jsx)(Nt,{path:`/solution/ibe`,element:(0,B.jsx)(qS,{})}),(0,B.jsx)(Nt,{path:`/solution/smart-tour`,element:(0,B.jsx)(JS,{})}),(0,B.jsx)(Nt,{path:`/solution/kt-gcloud`,element:(0,B.jsx)(YS,{})}),(0,B.jsx)(Nt,{path:`/contact`,element:(0,B.jsx)(jt,{to:`/contact/inquiry`,replace:!0})}),(0,B.jsx)(Nt,{path:`/contact/inquiry`,element:(0,B.jsx)(XS,{})}),(0,B.jsx)(Nt,{path:`/contact/recruit`,element:(0,B.jsx)(ZS,{})})]})]})}function $S(){let{pathname:e}=tt();return(0,w.useEffect)(()=>{Z.getAll().forEach(e=>e.kill()),G.killTweensOf(`*`),document.body.style.removeProperty(`overflow`),document.body.style.removeProperty(`padding-bottom`),document.body.style.removeProperty(`height`),document.documentElement.style.removeProperty(`overflow`),document.documentElement.style.removeProperty(`height`),document.body.classList.remove(`is-dark-hero`),window.scrollTo({top:0,behavior:`instant`}),document.documentElement.scrollTop=0,document.body.scrollTop=0,Z.clearScrollMemory(),window.history.scrollRestoration=`manual`,requestAnimationFrame(()=>{Z.refresh(!0)})},[e]),null}function eC(){return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)($S,{}),(0,B.jsx)(QS,{})]})}Kn.createRoot(document.getElementById(`root`)).render((0,B.jsx)(w.StrictMode,{children:(0,B.jsx)(Cn,{children:(0,B.jsx)(eC,{})})}));